content saving to front end but not back end

Problem Description
I've created a custom Divi module with code here: https://pastebin.com/VbqkqE9M
It's a simple module.
I can save the content, and it appears on the front end, but it will not reload on the backend. i.e. the front end can read the content, but the back end cannot.
Steps To Reproduce

create Module with code https://pastebin.com/VbqkqE9M
create a Banner with Right Text module, enter content, save module, save page.
when page reloads, the module content will not be there, but it will be on the front end.

QA Checklist
Reporter

[ ] Helpful title used

Helpful title format: Scope(s) :: One Sentence To Describe The Issue
Example: VB :: Floating Toolbar :: Jumps To Top Of Page

[x] Detailed description
[x] Steps to reproduce included
[ ] Support Ticket URL included
[ ] Image and/or gif

Developer

[ ] Steps to reproduce proven solved
[ ] Test included and coverage acceptable and all Tests passing?
[ ] PR description has layman's description of problem and solution and "Areas Affected" listed/explained?
[ ] PR branch includes latest commits from master branch (at the time of checking)?
[ ] Estimated points on issue
[ ] Proper code documentation and conventions?
[ ] Proper RTL appearance
[ ] i18n used if applicable
[ ] Ajax/Form used? Nonce used? Perms checked? All user input sanitized and validated? Intentional unsanitized/unescaped functions used?
[ ] Database saved/updated? Data sanitized and validated?
[ ] Variable output properly escaped and validated?

Peer Review

[ ] PR branch includes latest commits from master branch (at the time of checking)?
[ ] Steps to reproduce proven solved
[ ] Affected areas are tested and ok
[ ] Proper code documentation and conventions
[ ] Proper RTL appearance
[ ] i18n used if applicable
[ ] Test(s) included and coverage acceptable
[ ] Ajax/Form used? Nonce used? Perms checked? All user input sanitized and validated? Intentional unsanitized/unescaped functions used?
[ ] Database saved/updated? Data sanitized and validated?
[ ] Variable output properly escaped and validated?

Quality Assurance

[ ] All tests passed on CircleCI.
[ ] Steps to reproduce passed, the fix works.
[ ] No errors in console or output
[ ] Affected areas are tested and ok
[ ] The fix does not change a customer's website in any surprising or unintended way

[ ] If Divi's design is adjusted, settings are migrated gracefully and invisibly

Design Review

[ ] UI is to spec
[ ] UX is to spec
[ ] Design is to spec
[ ] No surprising visual changes to a customer's website will be experienced after updating

[ ] Any/all visual changes are migrated gracefully

Dev Review

[ ] Test(s) included and coverage acceptable
[ ] Ajax/Form used? Nonce used? Perms checked? All user input sanitized and validated? Intentional unsanitized/unescaped functions used?
[ ] Database saved/updated? Data sanitized and validated?
[ ] Variable output properly escaped and validated?
[ ] i18n used if applicable
[ ] Implementation acceptable, DRY, Scaleable, future safe
[ ] Best practices used, cleverness and grokage, ES6 use, etc.

This is working now for some reason, after rebooting my PC.


Android app not compilable with AGP >= 8.0.0

Describe the bug
The app cannot be compiled when using AGP version 8.0.0 and higher.
To Reproduce
Create a new Flutter project, and update your classpath in the app gradle file to:
classpath 'com.android.tools.build:gradle:8.0.2'

and update your gradle wrapper to:
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip

Expected behavior
App should compile
Screenshots

Please complete the following information:

Device: Emulator API 33
OS version: Android 13
Version of freeRASP: 6.1.0

Additional context
The libs Android project should probably be updated to AGP 8.0.0, and use a namespace instead of  applicationId

Hello @HE-LU ,
thank you for reporting the issue, we will look at it!
Kind regards,
Talsec team

Hi @HE-LU,
You are right. I've managed to reproduce this issue. We will release a new version with the fix soon. In the meantime, you can apply the fix yourself.
Just navigate to the freeRASP folder in your dependencies (in Android Studio, you can find it in External dependencies -> Flutter plugins -> freerasp-6.1.0).

In the library root folder (freerasp-6.1.0), navigate to android -> build.gradle file. In this file, add namespace 'com.aheaditec.freerasp' at the beginning of the android section like shown here:

It's a small change. I hope it will help you.
Best regards,
Talsec Team

@yardexx Hey, the namespace is there now. But there is still one more issue:
Incorrect package="com.aheaditec.freerasp" found in source AndroidManifest.xml: /home/helu/.pub-cache/hosted/pub.dev/freerasp-6.2.0/android/src/main/AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Recommendation: remove package="com.aheaditec.freerasp" from the source AndroidManifest.xml: /home/helu/.pub-cache/hosted/pub.dev/freerasp-6.2.0/android/src/main/AndroidManifest.xml.

I tried it locally, and it is still required to remove package="com.aheaditec.freerasp" from the Manifest file. After that, it is working fine ;)


lnd loses connection to tor controlport

Background
We noticed that incoming connections were failing to resolve our onion address. Checking on tor using nyx, we noticed that lnd was not connected to the controlport, only bitcoind. We have found that some other nodes are unreachable on their onion addresses, while they are online and making outgoing connections.
We have moved to manual configuration of the onion address in torrc to prevent this from reoccurring.
Your environment

version of lnd
0.13.1
which operating system (uname -a on *Nix)
linux x64
version of btcd, bitcoind, or other backend
bitcoind
any other relevant environment details

Steps to reproduce
Restart tor while lnd is running
Expected behaviour
lnd reconnects to tor controlport to advertise onion address
Actual behaviour
lnd is not connected to tor controlport

Related: https://github.com/lightningnetwork/lnd/issues/5166

Gonna close in favor of #5166 as that precisely describes what needs to be fixed here.


Parameter "active" in mta.yaml is ignored

MBT Version: Cloud MTA Build Tool version 1.0.5
OS Version: Ubuntu 18.04.3 LTS
If possible, provide a link to the project.

Steps to Reproduce:

Add a parameter "active: false" to a resource in mta.yaml
Build an mtar file (mbt build --mtar output.mtar)
In the resulting mtar, META-INF/mtad.yaml does not contain the "active" parameter

This happens regardless of the _schema-version specified in mta.yaml (2.0, 3.1.0, 3.2.0)

Hi,
The issue was fixed, please check with mbt version 1.0.6.

@dstork I am closing the issue as fixed.
Please re-open in case the problem is still reproducible with the new version.
Regards
Natalia


Make it work with Godot 4.2.2

Hi there! We've been adapting the script to make it work properly on Godot 4.2.2. Here are the changes we had to introduce to make it work for us.

Fixed the SERVER_INFO packet parsing (it was just picking the port and ignoring address and peer name).
Changed remaining calls from listen (not present anymore in Godot 4.2.2) to bind.
Closed sockets before signaling hole_punched, so if a new socket starts immediately afterwards, there won't be any problems with the port being in use.
Made sure that both server_udp and peer_udp are closed before emitting hole_punched.

Hope this is useful!

I'd really like to try this to get seamless working multiplayer in Godot 4 stable! +1 for this PR


[Bug] The master branch cannot build docker image

Search before asking

[X] I searched in the issues and found nothing similar.

Version
master
Minimal reproduce step
mvn clean install -DskipTests
mvn package -Pdocker,-main -am -pl docker/pulsar-all -DskipTests

What did you expect to see?
Build docker image successfully
What did you see instead?
Error:  DOCKER> Unable to build image [pulsar] : "The command '/bin/sh -c sed -i \"s|http://archive\\.ubuntu\\.com/ubuntu/|${UBUNTU_MIRROR:-mirror://mirrors.ubuntu.com/mirrors.txt}|g\" /etc/apt/sources.list      && echo 'Acquire::http::Timeout \"30\";\\nAcquire::ftp::Timeout \"30\";\\nAcquire::Retries \"3\";' > /etc/apt/apt.conf.d/99timeout_and_retries      && apt-get update      && apt-get -y dist-upgrade      && apt-get -y install --no-install-recommends netcat dnsutils less procps iputils-ping                  python3 python3-kazoo python3-pip                  curl ca-certificates wget apt-transport-https' returned a non-zero code: 100"  ["The command '/bin/sh -c sed -i \"s|http://archive\\.ubuntu\\.com/ubuntu/|${UBUNTU_MIRROR:-mirror://mirrors.ubuntu.com/mirrors.txt}|g\" /etc/apt/sources.list      && echo 'Acquire::http::Timeout \"30\";\\nAcquire::ftp::Timeout \"30\";\\nAcquire::Retries \"3\";' > /etc/apt/apt.conf.d/99timeout_and_retries      && apt-get update      && apt-get -y dist-upgrade      && apt-get -y install --no-install-recommends netcat dnsutils less procps iputils-ping                  python3 python3-kazoo python3-pip                  curl ca-certificates wget apt-transport-https' returned a non-zero code: 100" ]

Anything else?
I did the test in Azure self-hosted runner and Github hosted runner, after the apt mirror removed from Dockerfile, the image can be built successfully.
The mirror is imported in this PR https://github.com/apache/pulsar/pull/14095
@lhotari Could you take a look at this?  It seems that the mirror is unstable and I think It's better to use the official apt source.
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

error code 100 is timeout from ubuntu pkg registry IIRC.

This issue can be closed as we can use UBUNTU_MIRROR to point the right one.


Data_Aug

Hi,
I have a question that after I used the MedicalTransform model to augment the image, I printed the effect image and found that the label of the image has not changed: the first line is the image and label when the image is not augmented, and the second line is the augmented image And labels.Is it right?

Best,
Jiang

Is that mean you use MedicalTransform to your own code?
My code does not rotate the image 90 degrees to the left.
I need full code when printing these 4 images.

Thanks for your reply, and this is the code I Used to print:
img_size = (512, 512)
transform = None
dataset = KiTS19(data_path, stack_num=3, spec_classes=[0, 1, 2], img_size=img_size,
use_roi=None, roi_file='roi.json',
train_transform=transform, valid_transform=transform)
img = dataset[288]['image']
img = img.numpy()
img = img.transpose(2, 1, 0)
transform2 = MedicalTransform(output_size=img_size, roi_error_range=15, use_roi=True)
dataset2 = KiTS19(data_path, stack_num=3, spec_classes=[0, 1, 2], img_size=img_size,
use_roi=True, roi_file='roi.json',
train_transform=transform2, valid_transform=transform2)
img2 = dataset2[388]['image']
img2 = img2.numpy()
img2 = img2.transpose(2, 1, 0)
plt.subplot(221)
plt.imshow(img)
plt.subplot(222)
plt.imshow(label)
plt.subplot(223)
plt.imshow(img2)
plt.subplot(224)
plt.imshow(label2)
plt.show()

I don't see where "label" and "label2" you get in your code.
But I write a similar code and can get the correct augmented image and label image.
from dataset import KiTS19
from dataset.transform import MedicalTransform
import matplotlib.pyplot as plt

data_path = 'data'
img_size = (512, 512)
transform = None
dataset = KiTS19(data_path, stack_num=3, spec_classes=[0, 1, 2], img_size=img_size,
use_roi=True, roi_file='roi.json',
train_transform=transform, valid_transform=transform)

data = dataset[388]
img = data['image']
img = img.numpy()
img = img[1]
label = data['label']
label = label.numpy()

transform2 = MedicalTransform(output_size=img_size, roi_error_range=15, use_roi=True)
dataset2 = KiTS19(data_path, stack_num=3, spec_classes=[0, 1, 2], img_size=img_size,
use_roi=True, roi_file='roi.json',
train_transform=transform2, valid_transform=transform2)

data2 = dataset2[388]
img2 = data2['image']
img2 = img2.numpy()
img2 = img2[1]
label2 = data2['label']
label2 = label2.numpy()

plt.subplot(221)
plt.imshow(img)
plt.subplot(222)
plt.imshow(label)
plt.subplot(223)
plt.imshow(img2)
plt.subplot(224)
plt.imshow(label2)
plt.show()

wow! I know where I was wrong!!!!!! Thanks very much for your contribution and your patience.


upgrading elasticsearch to 5.x.

Bring back the previous elasticSearch using embedded es server.

Updated the mapping based on comments.


Eager load routes (fixes failing test)

@vinistock noticed the test route location returns the location for a valid route was failing if run in isolation.

After a little digging I found that if you call ::Rails.application.routes.named_routes then it's not populated. The reason the test was passing intermittently was because ::Rails.application.routes.routes calls ::Rails.application.reload_routes_unless_loaded that as a side-effect.
I've updated the implementation to call that.
I'm wondering sure if this should be considered a bug in Rails...
dummy(dev)> ::Rails.application.routes.named_routes
=>
#<Rails::Engine::LazyRouteSet::NamedRouteCollection:0x000000011d515518
 @path_helpers=#<Set: {}>,
 @path_helpers_module=#<Module:0x0000000101291ce0>,
 @routes={},
 @url_helpers=#<Set: {}>,
 @url_helpers_module=#<Module:0x0000000101291d80>>
dummy(dev)> ::Rails.application.reload_routes_unless_loaded
=> true
dummy(dev)> ::Rails.application.routes.named_routes
=>
#<Rails::Engine::LazyRouteSet::NamedRouteCollection:0x000000011d515518
 @path_helpers=
  #<Set:
   {:rails_mailers_path,
    :rails_info_properties_path,
    :rails_info_routes_path,
    :rails_info_notes_path,
    :rails_info_path,
    :archive_users_path,
    :users_path,
    :new_user_path,

(I'll need to verify this against Rails 7)


Hacktoberfest 1/4

Starting off with HacktoberFest by Digital Ocean, this is the first pull request I am creating

After going through the code again, I found some of the li tags where tags were not indented properly. I fixed the indentation.


Use InventoryHolder on SellGUI instead of manually caching the menu

Merge #90 before merging this

Thank you ever so much for the pull request, I will be certain to credit you in the update log for the upcoming version! :)


Revert "Merge pull request #869 from github/edoardo/windows-11-error"

This reverts commit faa9ba73632fb4da04c4029e886c783459dbcc66, reversing changes made to 71112ab35de01202ecda3b2722caa7982547335e.
The last few versions of the CodeQL CLI have emitted errors about tracing incompatibility with Windows 11, so there is no need for the Action to continue to emit these. In addition, the CodeQL CLI will soon be compatible with Windows 11, so if we still had the error here in place when that happens we would be stopping users from using CodeQL on Windows 11 for no good reason.
Merge / deployment checklist

[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.
[x] Confirm the changelog has been updated if necessary.

I thought about this, but I don't think it's necessary:
These users would have to pin an old version of the CLI in their workflow, but use the codeql-action from v1/main. I think that's sufficiently uncommon to not keep this code around, as it's pure tech debt for us.
Especially as the code is relying on a hand-written list of which languages are traced and which are not, without querying the CLI.

I'm inclined to agree. We already have so many version flags in the Action, if we can avoid adding another one that seems preferable.

Makes sense 👍


feat: modified uri output

encoded URI's to base64
modified test to base64  encode and decode URI's

#152

@tahpot,
i have been able to fix all merge conflicts and also ensured all tests passed.

@tahpot,
the errors I got from the following tests show that the  verifiableCredential.credentialSubject.didJwtVc value is different from the config.CREDENTIAL_DATA.didJwtVc property value that's the cause why those tests are failing
These are the test cases failing

Verify Credential JWT was created correctly
Issue an encrypted credential
Retrieve Credential data from URI using a different account

@tahpot
i have made requested changes

@tahpot @cmcWebCode40 I think the current test data in config.ts is not the actual data that credentials-issuer-demo and vault-mobile are using. That's the reason why unit tests are running smoothly but we still have blockers in credentials-issuer-demo and vault-mobile. Can we try to use the real payload which the apps are using, not "social/contact/" type of schema?

@tahpot @cmcWebCode40 I think the current test data in config.ts is not the actual data that credentials-issuer-demo and vault-mobile are using. That's the reason why unit tests are running smoothly but we still have blockers in credentials-issuer-demo and vault-mobile. Can we try to use the real payload which the apps are using, not "social/contact/" type of schema?

@pkhien95 Can you create a new issue and branch with a unit test using a payload that isn't working?
You will need to include exact steps to replicate your payload from the credentials-issuer-demo and make sure that project has the latest verida-js library.


[Idea/Suggestion] Playing Direct Links

Would it be possible for Media Player to support direct urls, such as direct mp4/avi etc links through Copy or Dropbox? It just seems to me that if it can support actual services, it would be able to support barebones web videos.
If not, could you tell me why I'm horrifically wrong <:^)

Direct web links are supported for a few different media types like png, jpg, gif, and webm. However, not all codecs are supported by Awesomium which is why mp4/avi isn't available. They probably won't ever be available in GMod because they're proprietary formats which require licensing.


Send stream error of RefusedStream instead of Conn Error of ProtocolError when exceeding streams capacity

Sending a RST frame of refused stream error here does nothing, because we need to send a conn error for closed streams when receiving headers/data frames. So a client will send headers followed by data without waiting for any frame (they don't know a RST frame error is coming), and then get an RST frame followed by a GoAway + connection close.
Keeping track of first refused stream and resetting when a stream is finally open won't do, because a quick refuse+open alternation will only work for the last refused stream, and the client may sometimes get RST frames and sometimes GoAway frames.
We could keep track of last N refused streams in a queue, and avoid GoAways for those. The other way around of keeping opened streams won't work because we need to ensure we send GoAway for actually closed streams always if we get headers/data for those.
Sending GoAways instead of RST frames is always allowed by the spec.

Closing because I didn't intent to "fix" this. This issue was merely for the record.


fix: Fixing pipeline, updated pre-commit-config

This PR is included in version 1.0.0 :tada:

This PR is included in version 1.0.0 :tada:


providing of checksum files and signatures for released jf binaries

Is your feature request related to a problem? Please describe.
Currently all jf binaries released at this location https://releases.jfrog.io/artifactory/jfrog-cli/v2-jf/ can not be verified as a checksum and signature it missing.
In order to mitigate supply chain attacks it is necessary to verify if a downloaded binary matches the checksum of the binary at build time.
This way a bad actor would not be able to change the binary without access to the private key which is used for the signature.
In an event of a compromised instance of releases.jfrog.io it would be possible to upload a malicious binary without any chance to verify the integrity of this binary.
Describe the solution you'd like to see

directly after the binary (for each platform and arch) has been build the checksum of this binary will be created.
all checksums for each binaries will be signed (cosign, GPG, openssl, ...)
binaries, checksums and signature will be published
Using a pre-published public key the signature can be verified and therefore the checksum of the downloaded binary

Describe alternatives you've considered
None, as the creation of checksums and signing need to be done at build time

I'd also like to point out that the package distributions of the jfrog CLI (at least the RPMs, I didn't check the others) are signed with a GPG key with a very insecure signature (DSA1024/ELG2048). This was the default in 2009 from my brief research. The key reports it was created or signed in 2013.
All-in-all, this seems like a very suspect situation. At the very least the checksums for all of this stuff should be published in an independent location like in the GitHub release (which is very common). You can retrieve the SHA256 by appending .sha256 to the file downloaded from Artifactory, but it's not clear if this improves security in any way since it's stored in the same location as the file itself and (presumably) just auto-generated based on whatever bits are uploaded into that location.


zh-TW translations corrections

Some of the translations are zh-HK translated country names.
This PR changed those zh-HK translations to zh-TW translations.
Reference source:  Ministry of Foreign Affairs of Taiwan

Hi,
Is there any reason why this PR can't be merged?
Should I do anything to make it better?
Thank you.

FTR: I've created a fork with this PR merged, so that we can make use of it (https://github.com/thewca/i18n-country-translations).
@hanwu85 thanks, and sorry I haven't noticed this sooner!

Thank you! @jonatanklosko


Fix FieldDefinitions to preserve comments when autocorrecting

Currently, FieldDefinitions when autocorrects, does not preserve the comments. This PR fixes that.
Also, tests are failing for rubocop 1.0 because when autocorrecting, some extra new lines are present in one version, but not the other. Wdyt about dropping rubocop < 1.50, for example?

I'm in for dropping the old Rubocop 🙂

Would you do that or should I?

merged that one, thank you 🤩

Rebased, ready to be merged.


Action CI broken since {:duckdbex, "0.2.3"}

Fails to produce release assets for Linux, like duckdbex-nif-2.16-x86_64-linux-gnu-0.2.3.tar.gz

this should be resolved with pr #20

I'm closing the ticket, because starting from v0.3.2 the issue was fixed.

Thanks to willfore


Additional info about crash in webhooks

Describe the solution you'd like
More info about crash in webhook. Even just a crash group will be great.
Describe alternatives you've considered
No alternatives, I have to open each crash from Slack separately.
Additional context
Example list of notifications that are completely useless.

@ufna thanks for the feature request! What type of additional information would you like to see in the webhook? We don't have immediate plans but this is something we hope to improve in the future.

@winnieli1208 , most valuable addition will be crash group, f.e.:

FPhysXSimEventCallback::onContact(physx::PxContactPairHeader const&, physx::PxContactPair const*, unsigned int) PxBase.h line 189`

Got it, thanks for the additional details. I'll monitor this thread for community support and comment here if I have any updates.

We migrated recently to AppCenter and integrated the crash Webhooks into slack. We were also a bit surprised to only see this little information. It would be great if you can make it more detailed  like mentioned above. This way we could immediately send the new crash to the right team in a lot of cases.


Avoid coercing parameter with multiple types to an empty Array

If an optional parameter has multiple types (e.g. [File, String]) and a
nil parameter is passed, Grape would previously coerce the value to an
empty Array. This can break certain APIs that treat nil values
differently from an empty Array.
Closes #2018

Looks like a bug, thanks for the fix! Move the changelog entry and I'll merge.

See rubocop offense, I'll merge on green.


Fix play anywhere, add option for tag prefix

https://github.com/sharkusmanch/playnite-pcgamingwiki-metadata-provider/issues/24


Check return code of mbedtls_mpi_fill_random

Add MBEDTLS_MPI_CHK to check for error value of mbedtls_mpi_fill_random.
Reported and fix suggested by guidovranken in #740

Needs to be back-ported to mbed TLS 1.3 and 2.1

Reviewed, approved, tested and merged into development.


txn: check data constraint after lock

Signed-off-by: youjiali1995<EMAIL_ADDRESS>
What problem does this PR solve?
Problem Summary:
Should check data constraint when no lock exists, otherwise it can report an error when there is a lock belonging to a committed transaction which deletes the key.
What is changed and how it works?
Cherry pick https://github.com/tikv/tikv/pull/8921 to release-4.0
What's Changed:
Change the order between checking data constraint and lock.
Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test

Release note

Fix the issue that reports a key-exist error when a key is locked and deleted by a committed transaction.

/merge


make does not work

Hi @jkjung-avt . I am trying to run make command in plugins directory but I am receiving following error .  Can you please advice me on this ? Thank you
Makefile:20: "compute=75" is for GeForce RTX-2080 Ti.  Please make sure CUDA compute is set correctly for your system in the Makefile.
g++ -shared -o libyolo_layer.so yolo_layer.o -L"/usr/local/cuda/lib64" -L"/usr/local/TensorRT-<IP_ADDRESS>/lib" -L"/usr/local/lib" -Wl,--start-group -lnvinfer -lnvparsers -lnvinfer_plugin -lcudnn -lcublas -lcudart_static -lnvToolsExt -lcudart -lrt -ldl -lpthread -Wl,--end-group
/usr/bin/ld: cannot find -lnvparsers
/usr/bin/ld: cannot find -lnvinfer_plugin
collect2: error: ld returned 1 exit status
Makefile:45: recipe for target 'libyolo_layer.so' failed
make: *** [libyolo_layer.so] Error 1

/usr/bin/ld: cannot find -lnvparsers
/usr/bin/ld: cannot find -lnvinfer_plugin

This means "ld" was not able to find your TensorRT libraries ("libnvparsers.so" and "libnvinfer_plugin").  You should check your TensorRT installation.

Sure , I thought the same. Thank you Bro. I will look in to it.

It was tensorrt installation fault . It's been resolved

It was tensorrt installation fault . It's been resolved

Hello @Myron1996, having the same issue when trying to install in Google Colab .. Could you tell me what was your fix? Where is tensorrt located? Thanks :)

Hi @rafaelbate . I actually used a docker image which has all the dependency's installed .I was working on local machine.
You can check following repo. It will show you how to install the docker image. I hope it helps
https://github.com/GeekAlexis/FastMOT/blob/master/README.md

Thanks @Myron1996, I got it running using WSL2 and docker as you mentioned :)


Video: Fix query breaking on a channel result

Fixes #297

Update video.py

There appears to be an issue with the YouTube Data API that is causing
it to return channel results from the /search API. Added a filter to
the returned API data to filter out all non-video results.
See: https://stackoverflow.com/questions/45527041/youtube-api-video-only-search-returning-a-channel-object
The above issue is only encountered on some queries and not all, for example "sia videos" would return a channel result while "eminem videos" would not.

1 down, 3 to go.. https://hacktoberfestchecker.herokuapp.com/?username=oddurad


r.sun error when trying to save batch file - 3.4.8-Madeira and latest 3.6.3

2019-06-21T18:32:11     WARNING    Traceback (most recent call last):
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis-ltr/./python/plugins\processing\gui\BatchPanel.py", line 224, in save
widget = wrapper.wrappedWidget()
AttributeError: 'NoneType' object has no attribute 'wrappedWidget'

Hi @faustoarch ,
This is a QGIS application issue, hence should be raised in the application issue tracker with more details on what you did.
This repository is dedicated to QGIS Website issues, hence I'm closing.
Thanks.


Adds support for swift 3

Fixes #5

@ranunez awesome! could you, please, resolve the conflict and update the PR? 🙇

Thanks!


Multiple VideoViewer is same page

Can I use multiple VideoViewer and Trimmer in same page?
I have more than one video loaded with PageView.builder
I tried couple ways to develop but failed.
Looking forward to your advice.

Though I have not yet tried this, I believe there would be an issue with the multiple controllers and it would also be very memory hungry.
One suggestion is, you can load multiple videos on the page but keep one Trimmer. Then switch between videos to show the Timmer accordingly.
If you can provide more info on your implementation, I may help better.


bevy_ptr works in no_std environments

Objective
bevy_ptr works just fine without std. Mark it as no_std. This should generally be useful for non-bevy use cases, but it also marginally speeds up compilation by allowing the crate to compile without loading the std-lib.
Solution
Replace std with core. Added #![no_std] to the crate and to the crate's tags.
Also added a missing #![warn(missing_docs)] that the other crates have.

Still missing a A-Pointer label :(


v0.57.2 and v0.58 are not GitHub Releases

Provide a description of requested docs changes
For some reason the last two versions are not visible under GitHub Releases of this repository. They are listed in Tags tab, they have notes and downloads attached, and when you click on Notes it takes you to the release page, same as previous releases had.
They just aren't visible on the Releases list. This causes other UX issues:

people observing this repository for Releases aren't notified
the latest release shown on the repo page is not valid as seen below

I just noticed that too, because my v57.2 doesn't see v58. @crutkas Might this be intentional to "prevent" a flood of issues with the installer?

This is pretty weird. The release is there indeed if we link directly through it.
I'm not aware of any retraction, but if it's the case I don't know why 0.57.2 would have been retracted. I'll see what I can do.

I've reinstated 0.57.2. Trying to check if this happening to 0.58.0 was intentional or not.

x-ref: #18081

Looking at GitHub APIs, I don't see weird data attached to the releases. They should be showing.
I'm guessing some weird blip?
Reinstating 0.58.0 as well.

Reinstating 0.58.0 as well.

Honestly, I would not do this (myself) because we know there are serious issues. I would wait until there are hotfixes available.

0.57.2 wouldn't have been intentional, though.
Regarding the issues, these seem to be related to installing winappsdk, incompatible software (GPU-wise, it seems) and UAC being always on. Getting more data on it is useful as well ;)

Honestly, I would not do this (myself) because we know there are serious issues.

Of course. This one is on me ;)


Updated question message for clarity.

Fixes #117.

@rmariuzzo Thanks for helping out! One thing we have to do here is get our language crystal clear. The bot asks "What day will you be back?" when collecting endDate, which means if we are reporting "and  your last day of vacation will be..." then it would be endDate - 1 :)
Let's update the text to instead be more accurate:
 your first day of vacation will be {{vars.startDate.fancy}} and you will return on {{vars.endDate.fancy}}

@ryanchartrand I was a little bit naive and blind as I thought it was just a simple text replacement. And it is a text replacement, however I should have spend a few seconds analyzing the sense of it.
I have updated this PR with the changes requested.

Looks great! @jacekelgda can you review?

Looks good +1


Should azd describe the minimum and individual required permissions per command?

Related / Contex issue: https://github.com/Azure-Samples/azure-search-openai-demo/issues/848
Azd doesn't currently provide a granular list of required Azure permissions for running each command.
The documentation makes reference to some general roles (like Subscription-contributor/owner/admin) as what it is required for using azd.
However, for someone who wants to be very specific, or needs to create a custom role containing only the minimum required permissions to run commands, like creating a custom role for each azd-command which is given to users depending on what the user will be able to run, there are no documentation from azd about how to do this.
Opening this issue for Team's consideration about bringing and maintaining such specific documentation per command.

The nodejs-mongo-aks template has this:

This templates requires Owner or User Access Administrator role to provision successfully

All templates that use RBAC should include this statement.


Update relational type mapping

This change updates the relational type mapping code such that:

Specifying store types (e.g. nvarchar(128)) are recognized and parameters are created appropriately
Specifying MaxLength is recognized and used in Migrations and in parameters
DbType is only specified where needed--for example for DateTime2 on SQL Server

The update pipeline and Migrations use the type mapping. Query does not use it yet--it just creates ad-hoc parameters)
SQL Server has been fully tested. SQLite is not yet tested.
Using provider-specific type enums is not supported--we'll do that if we find a case that needs it.
Type conversions are not yet supported--the ADO.NET provider has to be able to work with your property type and your store type without going through an intermediate CLR type.

:shipit:

:shipit:


[camera] Allow to control fps and bitrate of recorded video

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
Enable fps and bitrate control of recorded video.
Allow users to more control over recorded video size.
Create CameraPlatform.createCameraWithSettings method.
Proposal
Example of code:
await camera.createCameraWithSettings(
  const CameraDescription(
    name: 'Test',
    lensDirection: CameraLensDirection.back,
    sensorOrientation: 0),
  const MediaSettings(
    resolutionPreset: ResolutionPreset.low,
    fps: 15,
    videoBitrate: 200000,
    audioBitrate: 32000,
  ),
);

Related PRs

[camera] MediaSettings parameter for createCameraWithSettings #3586
[camera] MediaSettings parameter for createCameraWithSettings #4139


DPI

I think the DPI graphics are in the wrong order.
If all the images have the same size (200 x 150 px), then the images become smaller with rising display sharpness (DPI) and not bigger.
BR,
Gregor

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6893b273-ed23-a3b7-ccc8-1cf335df36f6
Version Independent ID: 6b3732d4-6e7d-6867-9f5e-d8b6fb047d4c
Content: WPF Graphics Rendering Overview
Content Source: docs/framework/wpf/graphics-multimedia/wpf-graphics-rendering-overview.md
Product: dotnet-framework
Technology: dotnet-wpf
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

I don't think so, not in this case. This paragraph is talking about how automatic scaling works and points out that the scaling in WPF is not handled like most applications are.

WPF supports automatic scaling by using the device independent pixel as its primary unit of measurement, instead of hardware pixels; graphics and text scale properly without any extra work from the application developer. The following illustration shows an example of how WPF text and graphics are appear at different DPI settings.

This is why the image scales along with the text. So yes, in a traditional application something set to screenpixels of 200x100 would appear smaller as soon as you raise the DPI, in WPF things are not set in pixels but in device-independent pixels, which scales like text elements do.
I'm going to close this issue. Please let me know if it makes sense. Thanks!


warn if usePost is undefined (close #613)

Sorry about before, this patch should hopefully be better.

@chrissherlock has signed the Individual Contributor License Agreement. Thanks so much

Agree with @chuwy - we won't add warnings into a production tracker. Debug mode is the way to go.

This has been superseeded by eventMethod and it is no longer possible to get into a situation where usePost is undefined.


Implement Dedicated Error Page for Incorrect URLs

Currently, when users hit an incorrect URL or navigate to a non-existent page, they are presented with the default browser error page. To improve user experience and provide clear guidance, it's important to create a dedicated error page that informs users about the incorrect URL and offers options to navigate back to a valid page or take other relevant actions.

Will add UI here

Very few occurrences of this issue were observed. Hence closing, will create if needed in future.


Remove restriction to run tests on a single core

Motivation
CI was slow ~30 minutes
Closes #2925
Changes
Removed the restriction in make test to run tests on a single core. This seems to equate to a roughly 30% reduction in CI runtime.
Test Plan
I opened this PR and let CI run.
DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors try

bors try

@piersy I've wanted to do the same for a long time. It won't work without fixing the tests first. Unfortunately, some of them use the same system resources like a hardcoded network port...

Hey @poszu, it seems to just be one test now, just Test_multipleCPs is failing

#4001

@piersy what's the reason closing this? seems a worthy endeavor...

@countvonzero, I just moved to a different branch and closed this to reduce clutter because I realised that I wouldn't be finishing this particularly soon.


Merge multiwallet dependency changes

Coverage remained the same at 33.57% when pulling 55e1086d67bc17cf5815d7a3d882a5e84ff20720 on mwupdate into 99e559ba5aacebc2117c3a4e9728af3beb2fa664 on master.


feat: support fedimint-0.2

Closes https://github.com/fedimint/ui/issues/316

Oh nice you updated docker images as well 👍. Just occurred to me that we probably forgot that!

Yep, might want to add a script for updating the hash since it's in so many places.


Getting Input type (c10::Half) and bias type (float) should be the same error when calling Replicate.run

It was working all well, but suddenly this error is getting thrown at every request I send:
Prediction failed: Input type (c10::Half) and bias type (float) should be the same
    at Replicate.wait (/workspace/node_modules/replicate/index.js:379:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Replicate.run (/workspace/node_modules/replicate/index.js:154:18)

Version "replicate": "^0.28.1"
Let me know if I can provide with more info.

Hi @raulmabe-labhouse. This looks like an error produced by the model. If you go to replicate.com, you should see a failed prediction on your dashboard. If you share the prediction ID, I can take a look.

The prediction ID is ohjm643bfvhphu4shrpjruz45u.
It must have to do with a NSFW prompt I tested (hitler ultra hyperreslistic close up) before this request... All requests after the NSFW one were producing this exact error, but all requests made before were working perfectly...


The model size does not change

When I follow this https://www.deepspeed.ai/tutorials/model-compression/#2-tutorial-for-zeroquant-efficient-and-affordable-post-training-quantization run the zero_quant.sh or (quant_activation.sh and quant_weight.sh), the model size still is 418mb as the bert-base.

the clean_model weight still save as float32? Can u help me ? Thanks.

Not just that, inference time does not improve either, nor does peak memory. I did not do this tutorial, but am experiencing the same results after applying zero quant to a bert uncased trained with MRPC. Is there a tutorial that shows improvements?

Same for me...

same for me too


Visually refactor the extension

Why:

The codebase was messy with a lot of random styles and cluttered code.

This change addresses the need by:

Adding styled-components.
Refactoring most of the shared code into separate components.
Applying consistent styles, sizes and spacings across components.

Closing due to changing focus to Fractal Wallet


Error: doesn't work with "do shell script" in an AppleScript

Example (AppleScript for language identification):
set theLanguage to (do shell script /usr/local/bin/trans -no-ansi -identify " & quoted form of theText)
That doesn't work, I only get: error "Application got an error: /usr/local/bin/trans: line 4738: gawk: command not found" number 127
I assume it's because AppleScript uses the sh, and trans wants zsh or bash. When I run the command directly in my zsh, or in bash, or from within a shell script, everything's fine, because /usr/local/bin is in my path system wide, and I have installed gawk.
I tried adding "bash -c" to the beginning of the above do shell script line… didn't work. Also tried adding "export PATH='/usr/local/bin;$PATH';" to the beginning of the do shell script line… didn't work either. When adding just "export PATH='/usr/local/bin';" the AppleScript does run the trans command, but eventually has errors too, e.g. "sh: rev: command not found" and "sh: hexdump: command not found".
Any way out of this AppleScript/sh mess?
PS: Of course I can always symlink gawk from the Cellar into /usr/bin, and then it also works with AppleScript, but that's not an elegant solution. Want to keep the extra binaries in /usr/local/bin.

Okay, you can lock the issue. Found the solution myself. The problem is that in sh the export PATH command needs a slightly different syntax than in bash or zsh. Run an AppleScript command like this, and everything seems to work fine:
do shell script "export PATH="/usr/local/bin:$PATH";/usr/local/bin/trans -no-ansi -show-original n -identify " & quoted form of theText
Maybe there's yet a different way to do it—if yes, please post it here—, but the above works well for me.

Or you could just close the issue yourself: )
I had no experience with AppleScript at all, so if someone (perhaps using
trans with AppleScript on a daily basis) can take some leisure time to
write up a wiki page, that would be very welcome.
On Mon, Feb 22, 2016 at 10:23 AM, JayBrown<EMAIL_ADDRESS>wrote:

Okay, you can lock the issue. Found the solution myself. The problem is
that in sh the export PATH command needs a slightly different syntax than
in bash or zsh. Run an AppleScript command like this, and everything seems
to work fine:
do shell script "export PATH="/usr/local/bin:$PATH";/usr/local/bin/trans
-no-ansi -show-original n -identify " & quoted form of theText
Maybe there's yet a different way to do it—if yes, please post it here—,
but the above works well for me.
—
Reply to this email directly or view it on GitHub
https://github.com/soimort/translate-shell/issues/104#issuecomment-187088528
.

I've quickly edited a wiki page incl. and example
https://github.com/soimort/translate-shell/wiki
https://github.com/soimort/translate-shell/wiki/AppleScript

Cool :+1: , thanks!

No, sir, we must thank you for this great software. :)


Implemented Target.createCDPSession tests

closes #56
added functionality required for tests:

Session.DetachAsync
Coverage

Coverage.StartJSCoverageAsync
Coverage.StopJSCoverageAsync - without returning reports since they aren't needed yet.

@kblok ready

the test PuppeteerSharp.Tests.Puppeteer.PuppeteerLaunchTests.UserDataDirArgument failed 😢
System.Net.WebSockets.WebSocketException : The 'System.Net.WebSockets.InternalClientWebSocket' instance cannot be used for communication because it has been transitioned into the 'Aborted' state.
---- System.Threading.Tasks.TaskCanceledException : A task was canceled.

That tends to be an erratic error, rebuilding


Doesn't work I THINK.

I have tried DebugView with filter GTA5_FSR nothing comes up same with no filter.
I don't use ENB.
Can someone tell me what I am doing wrong?

i downgraded to 1.64 but it has like so much aliasing bruh

https://github.com/alessandromrc/D3D-HIjacker
Read the "How to use", he mentioned it in an earlier issue, read other issues first before you open the same one!
https://github.com/NarutoUA/gta5_fsr/issues/101


Stackprof profiling

This PR is a new episode in the "stackprof profiling" series (after https://github.com/ruby-rdf/rdf/pull/382).
It consists in multiple changesets, each with small refactors from allocation-intensive code found by profiling the following code:
# frozen_string_literal: true
require 'stackprof'

require 'json/ld'
require 'rdf/ntriples'

$json = {
  '@id' => 'uuid:aymeric',
  '@type' => 'pmcore:Person',
  'rdfs:label' => 'Aymeric Brisse',
  'pmcore:date' => ['2010-05-29'],
  'pmcore:dateTime' => '2010-05-29T14:17:39+02:00',
  'pmcore:string' => '2010-05-29',
  'pmcore:int' => '2010',
  'pmcore:literal' => nil,
  'pmcore:relation' => [],
  'pmcore:otherRelation' => [{
    '@id' => 'kb:Agent',
    'pmcore:float' => '42.42'
  }],
  'pmcore:blankRelation' => {
    'rdfs:label' => 'Label',
    'pmcore:anotherRelation' => {
      '@id' => 'kb:Marc'
    }
  }
}

def load_graph_file(*args, format: :ntriples)
  file = File.join(File.dirname(__FILE__), args)

  RDF::Repository.new.tap do |repository|
    RDF::Reader.for(format).open(file) do |reader|
      repository << reader.statements
    end
  end
end

def parsing(json)
  json['@context'] = {"rdf"=>"http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdfs"=>"http://www.w3.org/2000/01/rdf-schema#", "pmmodel"=>"http://www.perfect-memory.com/ontology/pmmodel/1.1#", "pmcore"=>"http://www.perfect-memory.com/ontology/pmcore/1.1#", "pmbroadcast"=>"http://www.perfect-memory.com/ontology/pmbroadcast/1.1#", "pmmultimedia"=>"http://www.perfect-memory.com/ontology/pmmultimedia/1.1#", "pmright"=>"http://www.perfect-memory.com/ontology/pmright/1.1#", "showroom"=>"http://www.perfect-memory.com/ontology/showroom/1.1#", "tmp"=>"http://www.perfect-memory.com/profile/tmp/resource/", "wisdom"=>"http://www.perfect-memory.com/ontology/wisdom/1.1#", "wisdom-kb"=>"http://www.perfect-memory.com/profile/wisdom/kb/", "kb"=>"http://www.perfect-memory.com/profile/showroom/kb/", "uuid"=>"http://www.perfect-memory.com/profile/showroom/resource/", "rdfs:label"=>{"@language"=>"en"}, "pmcore:date"=>{"@type"=>"http://www.w3.org/2001/XMLSchema#date"}, "pmcore:dateTime"=>{"@type"=>"http://www.w3.org/2001/XMLSchema#dateTime"}, "pmcore:string"=>{"@type"=>"http://www.w3.org/2001/XMLSchema#string"}, "pmcore:int"=>{"@type"=>"http://www.w3.org/2001/XMLSchema#int"}, "pmcore:literal"=>{"@language"=>"en"}, "pmcore:float"=>{"@type"=>"http://www.w3.org/2001/XMLSchema#float"}, "pmcore:blankRelation"=>{"@language"=>"en"}, "pmcore:anotherRelation"=>{"@language"=>"en"}}

  g = RDF::Graph.new.tap do |graph|
    ::JSON::LD::API.toRDF(json) do |statement|
      graph << statement
    end
  end
end

def dumping(graph)
  framing = {"@context"=>{"rdf"=>"http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdfs"=>"http://www.w3.org/2000/01/rdf-schema#", "pmmodel"=>"http://www.perfect-memory.com/ontology/pmmodel/1.1#", "pmcore"=>"http://www.perfect-memory.com/ontology/pmcore/1.1#", "pmbroadcast"=>"http://www.perfect-memory.com/ontology/pmbroadcast/1.1#", "pmmultimedia"=>"http://www.perfect-memory.com/ontology/pmmultimedia/1.1#", "pmright"=>"http://www.perfect-memory.com/ontology/pmright/1.1#", "showroom"=>"http://www.perfect-memory.com/ontology/showroom/1.1#", "tmp"=>"http://www.perfect-memory.com/profile/tmp/resource/", "wisdom"=>"http://www.perfect-memory.com/ontology/wisdom/1.1#", "wisdom-kb"=>"http://www.perfect-memory.com/profile/wisdom/kb/", "kb"=>"http://www.perfect-memory.com/profile/showroom/kb/", "uuid"=>"http://www.perfect-memory.com/profile/showroom/resource/"}, "@embed"=>"@always", "@id"=>"http://www.perfect-memory.com/profile/showroom/resource/cfa95511-5320-4fb8-a0bd-e7738d1fcea3"}

  json = JSON::LD::API.fromRdf(graph, useNativeTypes: true) do |expanded|
    JSON::LD::API.frame(expanded, framing)
  end

  json['@graph']
end

def processing(_i)
  [].tap do |memo|
    10.times.each do
      memo << parsing($json.dup).class
    end
    memo << dumping(load_graph_file('repository.nt')).class
  end
end

# speed
require "benchmark"
Benchmark.bmbm do |bm|
  bm.report('current code') do
    (1..100).each do |i|
      processing(i)
    end
  end
end

# stackprof
memo = {}
#StackProf.run(mode: :cpu, out: 'tmp/stackprof-myapp.dump', interval: 1000) do
StackProf.run(mode: :object, out: 'tmp/stackprof-myapp.dump', interval: 1) do
  (1..100).each do |i|
    memo[i] = processing(i)
  end
end
memo

I first profiled the #parsing method with great success (for 1000 iterations, I dropped number of allocated objects from 2.992 to 1.95 million (even if 640k objects were due to a change introduced by one of my recent work on rdf, which I will fix in a separate PR there). Then I profiled the #dumping method with less impressive results (I think that I optimized that code a couple years ago already).
Can you review each changeset and tell me if you like them?
The bundle exec rake spec passes with all my changes, same as on the develop branch.

Coverage increased (+0.2%) to 89.213% when pulling<PHONE_NUMBER>fcc433ae1c8c4f0d46b8852bf41fff on PerfectMemory:stackprof-profiling into 99c300205b6ac3b378fca3004587b283d747ea92 on ruby-rdf:develop.

All good changes, thanks.

@gkellogg would it be possible to cut a new minor release of rdf 3.0.x , with these performance improvements? Thank you in advance.


Add a "Take a photo of the ingredients in XXX" button

On the ingredient page, add a "Take a photo of the ingredients in XXX" button if the product doesn't have an ingredient photo in the locale of your phone.
Example:

product in French, phone in Dutch, showing "Take a photo of the ingredients in Dutch"
uploading and selecting the photo as ingredients_nl

I can work on this.

You can go ahead. Actually you can use the same style as when there's no ingredient picture at all (with the + camera icon).
This also requires tweaking the network call.

I understand, and yes, the same prompt can be used. I'll look into it. Thank you for the suggestion.


Exclude NT AUTHORITY\SYSTEM changes from Mailbox Permission Export in Get-OspreyTenantExchangeLogs

Currently the export gets changes from NT AUTHORITY\SYSTEM which are not helpful and creates extra noise.

If I cant figure this out by the time im ready for 1.0 to launch I'm going to cut it out and save it for 1.1 cause this is really sucking.

ok prehaps the changes planned in #22 can actually assist with this...

This is done!! I also export an unfiltered version just in case.


How to preload (cache) longer sequentes

Emby loads content when looking into the cache on the device.
how can I achieve that more is cached?
I think it will be limited by Plexdrive as it won't download anymore.

My settings:
-v 2 --root-node-id=xy --refresh-interval=1m --chunk-check-threads=16 --chunk-load-threads=16 --chunk-load-ahead=3 --max-chunks=256
Which value do I have to increase?
I have a 10G network and 128GB Ram, so enough power. However, I don't know what Google allows for a maximum download either.
Thanks for Help!

There is no connection between how much the Emby client caches and how much load-ahead is set in plexdrive. As soon as the Emby server reads more data, plexdrive will read ahead as many chunks from the requested position.
To simplify: The Emby client has its own cache that is independent of the cache in plexdrive.
There may be a way to increase the cache size in the configuration of the Emby client. For example the Plex Media Player allows to set its own cache up to 500 MB.


Add roles declarations to allow safe coercions

This allows terms of type Nullable a to be coerced to type Nullable b when Coercible a b holds, hence allowing the zero cost coerce to introduce and eliminate newtypes under nullable values for instance.

I’m not sure whether we want to introduce this or expect that users convert to Maybe first (we’ve intentionally kept this module restricted as it’s supposed to just be a thin layer over the FFI).
But I think @garyb or @hdgarrood may be better able to approve or close this than me as they have more context on that front.

I could go either way on this one, for that same reason (that you're not really supposed to do much with Nullable values on the PureScript side). I think I'm leaning towards approving adding this instance, since I don't think it violates any expectations or laws from the type class (unlike the Functor hierarchy instances for Nullable, which do violate laws).

@JordanMartinez do you mind merging main and updating the hash on this branch so it builds successfully?


Calculate sourced in pfstate

:books: Documentation preview :books:: https://portfolyo--50.org.readthedocs.build/en/50/

Codecov Report

Merging #50 (633ca92) into develop (c903f8d) will not change coverage.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff            @@
##           develop      #50   +/-   ##
========================================
  Coverage    76.81%   76.81%
========================================
  Files           49       49
  Lines         2700     2700
========================================
  Hits          2074     2074
  Misses         626      626

Impacted Files
Coverage Δ

portfolyo/core/pfstate/pfstate.py
71.71% <100.00%> (-0.57%)
:arrow_down:

portfolyo/core/pfstate/pfstate_helper.py
97.29% <100.00%> (+0.15%)
:arrow_up:

Already included in other PR


Update Installation VM

Updated the

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


Add new function, idea #notIssue #feature-request

I don't know how to write posts on github, make hashtags, sorry. But I will try to present my idea.
Hi, I recently learned about a mule dump script, thanks a lot for the development. I have several accounts on which I play, and when there is a lot of potion on them, I need to distribute them in a daily quest for different accounts. (3 potions in 1). Jacquebox, can you please update the mule dump by adding a preview of the daily bonus potions. I'd love to see this feature! And I'm sorry if I wrote something wrong, I used google translate.

To do something similar to this, where the life potion is, you can output: mark / potions. (select in settings)
You can also add a menu, it will look like regular chests, but this will be a daily quest mode. He will display all the quests on the account for today. I did it in photoshop, for an idea of the big picture of this update

The first screenshot: shows you all the quests that have not yet been completed. (all quests)

Second screenshot: minimalism mode.  Potions mode will be very handy.


Having problems on trial account

is this applicable for 7 days trial accounts? im getting
ERROR    Username or email not found! Please try again.
I'm pretty sure i have the correct inputs

same issue here

Not working !

I have the same problem.
Is the problem exists only for the trial accounts or not working at all?

looks like developers bailed on this.

Check #60 pull request ;)


rescript-tools: do not override flags for static linking

Fixes #1006.

I ran DUNE_PROFILE=static opam exec -- make locally on my linux machine and calling file ./_build/default/tools/bin/main.exe now gives:
main.exe: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=605ca79a225725810f29e03d1df972cb0abaa4d8, for GNU/Linux 4.4.0, with debug_info, not stripped

I assume running the same command in ci (using alpine image) should have similar results.
Thanks for your efforts!

@woeps releasing this in 0.6.3.


Add support inline custom HTML.

Add support for both:
{% asset src %}
  <img src="{{ asset.prefixed_digest_path }}" />
{% endasset %}

And
{% asset src %}

This would be too complex right now.  Maybe in 3.1.


Can we get some examples for AZURE_ADLS_GEN2_FILESYSTEM_PATH and how to use it in documentation please

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Trying to setup acls with gen2 storage, and struggling to get azd up to run without failure.
Requesting that there are some specific examples of what AZURE_ADLS_GEN2_FILESYSTEM_PATH should look like. Should it be "https://something.blob.core.windows.net/gptkbcontainer/" or not / or /* or am I completely missing the point? Sorry, I have tried a few and sort of punching in the dark now.
Also do not understand why prepdocs is looking for the old index gptkbindex and not the new gen2 index gptkbcontainer
Am I missing a step where I need to remove all the old index in the old storage before I can use the new gen2 storage. Sorry I little bit lost on where to go to understand how to correctly setup gen2 storage. Sorry if it is obvious as well.

Any log messages given by the failure

running azd up ....
(-) Skipped: Didn't find new changes.
Loading azd .env file from current environment...
Creating Python virtual environment "app/backend/.venv"...
Installing dependencies from "requirements.txt" into virtual environment (in quiet mode)...
Updating redirect URIs for client app ID 72821f3c-7d06-4dba-84ec-5692490d8d46...
Application update for client app id 72821f3c-7d06-4dba-84ec-5692490d8d46 complete.
Loading azd .env file from current environment...
Creating Python virtual environment "app/backend/.venv"...
Installing dependencies from "requirements.txt" into virtual environment (in quiet mode)...
Running "prepdocs.py"
Using Data Lake Gen2 Storage Account: stradpglobal
Ensuring search index gptkbindex exists
Search index gptkbindex already exists
Traceback (most recent call last):
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/./app/backend/prepdocs.py", line 494, in
loop.run_until_complete(main(ingestion_strategy, setup_index=not args.remove and not args.removeall))
File<EMAIL_ADDRESS>line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/./app/backend/prepdocs.py", line 225, in main
await strategy.run()
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/app/backend/prepdocslib/filestrategy.py", line 82, in run
async for file in files:
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/app/backend/prepdocslib/listfilestrategy.py", line 144, in list
async for path in self.list_paths():
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/app/backend/prepdocslib/listfilestrategy.py", line 134, in list_paths
async for path in filesystem_client.get_paths(path=self.data_lake_path, recursive=True):
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/.venv/lib/python3.11/site-packages/azure/core/async_paging.py", line 142, in anext
return await self.anext()
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/.venv/lib/python3.11/site-packages/azure/core/async_paging.py", line 145, in anext
self._page = await self._page_iterator.anext()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/.venv/lib/python3.11/site-packages/azure/core/async_paging.py", line 94, in anext
self._response = await self._get_next(self.continuation_token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/.venv/lib/python3.11/site-packages/azure/storage/filedatalake/aio/_list_paths_helper.py", line 162, in _get_next_cb
process_storage_error(error)
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/.venv/lib/python3.11/site-packages/azure/storage/filedatalake/_deserialize.py", line 221, in process_storage_error
exec("raise error from None")   # pylint: disable=exec-used # nosec
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1, in
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/.venv/lib/python3.11/site-packages/azure/storage/filedatalake/aio/_list_paths_helper.py", line 154, in _get_next_cb
return await self._command(
^^^^^^^^^^^^^^^^^^^^
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/.venv/lib/python3.11/site-packages/azure/core/tracing/decorator_async.py", line 77, in wrapper_use_tracer
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/.venv/lib/python3.11/site-packages/azure/storage/filedatalake/_generated/aio/operations/_file_system_operations.py", line 512, in list_paths
map_error(status_code=response.status_code, response=response, error_map=error_map)
File "/Users/douglasross/Documents/Apps/github/com.adaptovategpt.au/.venv/lib/python3.11/site-packages/azure/core/exceptions.py", line 164, in map_error
raise error
azure.core.exceptions.ResourceNotFoundError: The specified path does not exist.
RequestId:5e577784-101f-0000-5871-a00c90000000
Time:2024-05-07T11:28:17.3814454Z
ErrorCode:PathNotFound
ERROR: failed running post hooks: 'postprovision' hook failed with exit code: '1', Path: '/var/folders/0l/3qv4b5j962sg3xbqlkr642vc0000gn/T/azd-postprovision-366134142.sh'. : exit code: 1
ERROR: error executing step command 'provision': failed running post hooks: 'postprovision' hook failed with exit code: '1', Path: '/var/folders/0l/3qv4b5j962sg3xbqlkr642vc0000gn/T/azd-postprovision-366134142.sh'. : exit code: 1
Expected/desired behavior

azd up to finish without error
OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Latest macosx

azd version?

run azd version and copy paste here.
Latest 1.8.2

Versions

Latest from Main branch
Mention any other details that might be useful

Thanks! We'll be in touch soon.

@mattgotteiner Can you share your example environment setup? I haven't yet setup an environment using ADLS2 for ingestion.

Hi, have tried the following as well using what I get from Gen2 storage:
<EMAIL_ADDRESS>gptkbcontainer is what the code creates I believe and <storage_name> is the name of my Gen2 storage set up with Hierarchies.
Sorry still struggling...
Doug

@mattgotteiner:  Most recent errors in azd up with Gen2 storage setup. Based on the code, I think that my filesystem path is completely wrong... or maybe something else? Thanks in advance for any help, examples etc. of the format of the path and anything else.
Gen 2 environment variables being used:
AZURE_ADLS_GEN2_FILESYSTEM="gptkbcontainer"
<EMAIL_ADDRESS>AZURE_ADLS_GEN2_STORAGE_ACCOUNT=""
ERROR running azd up:
Provisioning Azure resources (azd provision)
Provisioning Azure resources can take some time.
Subscription: xxxxxxxx
Location: xxxxxxxx
(-) Skipped: Didn't find new changes.
Loading azd .env file from current environment...
Creating Python virtual environment "app/backend/.venv"...
Installing dependencies from "requirements.txt" into virtual environment (in quiet mode)...
Updating redirect URIs for client app ID xxxxxxxxxx...
Application update for client app id xxxxxxxxx complete.
Loading azd .env file from current environment...
Creating Python virtual environment "app/backend/.venv"...
Installing dependencies from "requirements.txt" into virtual environment (in quiet mode)...
Running "prepdocs.py"
Using Data Lake Gen2 Storage Account:
Ensuring search index gptkbindex exists
Search index gptkbindex already exists
Traceback (most recent call last):
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/./app/backend/prepdocs.py", line 494, in
loop.run_until_complete(main(ingestion_strategy, setup_index=not args.remove and not args.removeall))
File<EMAIL_ADDRESS>line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/./app/backend/prepdocs.py", line 225, in main
await strategy.run()
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/app/backend/prepdocslib/filestrategy.py", line 82, in run
async for file in files:
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/app/backend/prepdocslib/listfilestrategy.py", line 145, in list
async for path in self.list_paths():
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/app/backend/prepdocslib/listfilestrategy.py", line 135, in list_paths
async for path in filesystem_client.get_paths(path=self.data_lake_path, recursive=True):
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/.venv/lib/python3.11/site-packages/azure/core/async_paging.py", line 142, in anext
return await self.anext()
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/.venv/lib/python3.11/site-packages/azure/core/async_paging.py", line 145, in anext
self._page = await self._page_iterator.anext()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/.venv/lib/python3.11/site-packages/azure/core/async_paging.py", line 94, in anext
self._response = await self._get_next(self.continuation_token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/.venv/lib/python3.11/site-packages/azure/storage/filedatalake/aio/_list_paths_helper.py", line 162, in _get_next_cb
process_storage_error(error)
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/.venv/lib/python3.11/site-packages/azure/storage/filedatalake/_deserialize.py", line 221, in process_storage_error
exec("raise error from None")   # pylint: disable=exec-used # nosec
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1, in
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/.venv/lib/python3.11/site-packages/azure/storage/filedatalake/aio/_list_paths_helper.py", line 154, in _get_next_cb
return await self._command(
^^^^^^^^^^^^^^^^^^^^
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/.venv/lib/python3.11/site-packages/azure/core/tracing/decorator_async.py", line 77, in wrapper_use_tracer
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/.venv/lib/python3.11/site-packages/azure/storage/filedatalake/_generated/aio/operations/_file_system_operations.py", line 512, in list_paths
map_error(status_code=response.status_code, response=response, error_map=error_map)
File "/Users/douglasross/Documents/Apps/github/com.adaptovate.ai/.venv/lib/python3.11/site-packages/azure/core/exceptions.py", line 164, in map_error
raise error
azure.core.exceptions.ResourceNotFoundError: The specified path does not exist.
RequestId:xxxxxxxxx
Time:2024-05-09T23:31:50.3695368Z
ErrorCode:PathNotFound
ERROR: error executing step command 'provision': failed running post hooks: 'postprovision' hook failed with exit code: '1', Path: '/var/folders/0l/xxxxxxxxxx/T/azd-postprovision-3648054177.sh'. : exit code: 1

Worked out simply that AZURE_ADLS_GEN2_FILESYSTEM_PATH="/"

Can you share the process with me how to change from the old blob storage to data lake gen 2? I need to implement that to run it as a production. Thanks! :)

Can you share the process with me how to change from the old blob storage to data lake gen 2? I need to implement that to run it as a production. Thanks!


Proposed fix for WW-4971 (broken includes for non-UTF8 content).

Adds a config flag to make all s:include tags use response page encoding.
Adds an encoding override property to the s:include tag (flexibility).
Adds a warning log output to FastByteArrayBuffer when decoding has errors.

Coverage increased (+0.02%) to 46.842% when pulling 6d16cb9e9a7f03fae9fd3e0bc40b0bf78bb282e1 on JCgH4164838Gh792C124B5:localS2_2_5_x_Branch into f4d7dbe88e3dfd5e3ebe908e6543d09b6f89efce on apache:struts-2-5-x.

@JCgH4164838Gh792C124B5  I've run your tests in old version of Struts and all of them succeed. Can you include some test that fails with current version?

@JCgH4164838Gh792C124B5 I've run your tests in old version of Struts and all of them succeed. Can you include some test that fails with current version?

Hello @aleksandr-m.  Unfortunately the only way I could find to demonstrate the failure was interactively (with a parent page in ISO-8859-1 using s:include on a child page with ISO-8859-1 high-ASCII accented characters).  The unit tests that were added were primarily to demonstrate the proposed changes to Include and FastByteArrayBuffer  don't break any existing functionality.
The FastByteArrayBufferTest.testISO8859_1WriteToUTF8 unit test demonstrates the truncation failure that can occur when input is considered "isMalformed" by the decoder, and causes the log warning to be produced now in that circumstance.  Although the test will pass in older Struts 2.5.x or 2.3.x versions the failure is "silent" in the older versions (can only be noticed by noting the result is truncated visually in the case of an s:include for instance).
Unfortunately I couldn't figure out a mock-test that would pass with the proposed fix, but fail in previous versions.  However I was able to demonstrate it interactively (truncation on older 2.5.x, but success using the appropriate encoding override with the fixed version).  Do you think there's another angle we could use in this scenario ?

Hello @aleksandr-m.
I've attempted to create a simple reproducer app (WAR) demonstrating this issue using Struts 2.5.18.  For some reason Github doesn't like it as an attachment (even with a .zip extension), so the reproducer was added to the WW-4791 Jira issue instead.
In my case the reproducer demonstrates the issue in this environment: Windows 10 (64-bit), Java 1.7.0_79 (32-bit), Tomcat 7.0.91.  Hopefully it will demonstrate the issue on other environments as well, please let me know how it behaves for you.

It is the encoding of response that matters. I don't see point in having different encoding in the s:include. Is there any?

The proposed fix attempts to preserve the current 2.5.x behaviour

It is 2.6 we can break some things. :)

Yeah... it would be better to target 2.6 (the master branch) instead of 2.5.x

Hello again.
Having an override available in the s:include tag provides targeted flexibility (sometimes you can encounter weird encoding/decoding scenarios with source/destination and a localized override can get things to "just work" for such outlier cases).
As far as 2.5.x vs. 2.6 consideration, applications using 2.5.x won't necessarily be able to move to 2.6.x right away due to various factors.  Since the current (non-patched) behaviour of 2.5.18 (and I believe 2.3.36) for s:include isn't working in the identified scenario I think there's value in fixing it in 2.5.x at least.  :)
The proposed s:include fix (or variant thereof) could be applied to 2.5.x (2.5.19) and either forward-ported to 2.6 master as-is or as a "stripped-down" version (apply response encoding if available/valid, then fallback to default encoding, then fallback to system encoding).
Thanks for your consideration.

Ok, looks good to me. We can release one more version of 2.5.x :)

@JCgH4164838Gh792C124B5 Would it be possible to include some parts of your reasoning into the commit comment? IMHO this would be the best place for later reference.
@lukaszlenart Not sure how you handle this for the project.

@lukaszlenart I don't mean the cherry-picking. With "include some parts of your reasoning into the commit comment" I intend to enrich the implicit documentation of each commit as to be found under 7. Use the body to explain what and why vs. how.

Ach... you meant JCgH4164838Gh792C124B5's comment - it would be better to put it in the issue on JIRA but it can stay here as well. There is a direct reference in the issue back to this PR.
https://issues.apache.org/jira/browse/WW-4971

Well, we can merge this into 2.5.x branch but that means additional work in 2.6, if we want to make it properly. Deprecation of constant and attribute in tag, etc.
As I see it, it is just a bug that needs to be fixed. Using different encoding than in http response seems to be meaningless and leads to errors.

sometimes you can encounter weird encoding/decoding scenarios with source/destination and a localized override can get things to "just work" for such outlier cases

@JCgH4164838Gh792C124B5 Can you think of any real world scenarios where it is applicable?

Hi @aleksandr-m and @lukaszlenart.
The only definite "real-world" scenario I can provide would be isolating change (only applying an override to single problematic s:include minimizes change risk for existing apps to a single JSP).  However since there are concerns about the value/utility of that feature, it could certainly be omitted.
Taking into consideration your comments about how having the tag-based override making things more complicated for inclusion in 2.6, I have a suggestion for a possible way forward:

I could attempt another 2-part update (logic change, then typo cleanup) that drops the tag override and only implements the configuration-setting option (usePageEncoding) fix for 2.5.x.  As before, it would be false by default (opt-in) to avoid inadvertently impacting/breaking existing 2.5.x apps.
The logic in 1), if accepted, could be pulled into 2.6 and then updated to invert the usePageEncoding initial state (i.e. have usePageEncoding set true by default, but allow a user to revert to defaultEncoding by setting the flag to false in struts.xml configuration).

The above strategy might be sufficient to mitigate the concerns @aleksandr-m outlined, while still providing a relatively safe and flexible solution for both 2.5.x and 2.6 users.  If you think it's reasonable then I will go ahead and attempt the steps outlined in 1) above.  Please let me know what you think.

@JCgH4164838Gh792C124B5 I think that is better. Maybe we should rename usePageEncoding to useResponseEncoding. Wdyt?

I think we are good to merge this, right?

@lukaszlenart Already done. :) Cherry picked it to master and changed useResponseEncoding in Include to true.

@aleksandr-m osm!!!


Upgrade controller to Leap 15.4

We still use Leap 15.2 as default on the controller.

Already done.


Revert "make ready to deploy on vercel"

Reverts hackclub/blot#841

This breaks the build system and prevents any development of the website, @recursiveforte please take another look!


[firebase_admob] AdRequestBuilderFactory.java uses or overrides a deprecated API.

flutter build apk
Running "flutter pub get" in plants_price_flutter_app... 20.0s
You are building a fat APK that includes binaries for android-arm, android-arm64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64 --split-per-abi
Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Initializing gradle... 11.7s
Resolving dependencies... 128.4s (!)
Running Gradle task 'assembleRelease'...

Note: /home/cirrus/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+7/android/src/main/java/io/flutter/plugins/firebaseadmob/AdRequestBuilderFactory.java uses or overrides a deprecated API.
flutter doctor -v
[✓] Flutter (Channel unknown, v1.9.1+hotfix.5, on Linux, locale en_US.UTF-8)
• Flutter version 1.9.1+hotfix.5 at /home/cirrus/sdks/flutter
• Framework revision 1aedbb1 (4 days ago), 2019-10-17 08:37:27 -0700
• Engine revision b863200c37
• Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /opt/android-sdk-linux
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• ANDROID_HOME = /opt/android-sdk-linux
• ANDROID_SDK_ROOT = /opt/android-sdk-linux
• Java binary at: /usr/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~18.04.1-b10)
• All Android licenses accepted.

[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/setup/#android-setup for detailed instructions).

[!] Connected device
! No devices available

https://github.com/FirebaseExtended/flutterfire/issues/1215

Did you solve it? @kw2019ltd

no flutter team should solve it
On Tue, Nov 19, 2019 at 8:58 AM HumbleCarl<EMAIL_ADDRESS>wrote:

Did you solve it? @kw2019ltd https://github.com/kw2019ltd
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FirebaseExtended/flutterfire/issues/1313?email_source=notifications&email_token=ALJEI6RK6SVI6VWW5NYX6Y3QUOE75A5CNFSM4JE6U7NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEENCT3A#issuecomment-555362796,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALJEI6RJ6GJNVZFVTUPOS6TQUOE75ANCNFSM4JE6U7NA
.

Oooh it is still a bug.

Hi
I had this issue and logged with Flutter but was closed with comment to solve by Firebaseflutter.
Here are the complete log and issue details - https://github.com/flutter/flutter/issues/56234

The firebase_admob plugin will be deprecated in April 2021 in favor of Google Mobile Ads SDK for Flutter.
Google Mobile Ads SDK for Flutter is a new Flutter plugin that supports more Ads formats than firebase_admob does. Google Mobile Ads SDK for Flutter currently supports loading and displaying banner, interstitial (full-screen), native ads, and rewarded video ads across AdMob and AdManager. It also supports displaying banner and native ads as Widgets as opposed to being overlayed over all app content.
We're now recommending projects currently using firebase_admob migrate to Google Mobile Ads SDK for Flutter following the instructions outlined here.
Issues with migrating or with using the new package should now be raised over on the Google Mobile Ads SDK for Flutter repository.


[ADD]: COUNTRIES DATA VISUALIZATION WITH CUSTOM FILTERS JS PROJECT💡

Describe the project you want to add with tech stack

This project is about visualizing the countries data from json data using various custom filter to get the matching country.
We have three types of custom filters and along with that we have created a seperated search mechanism to get query matching country.
This project is primarily built with HTML5, CSS3 & ES6 Principles
This project is build with mobile first workflow, so we can assure that the site is fully responsive for all types of devices.

Screenshots (optional)

Please assign this issue to me @TusharKesarwani, @pranjay-poddar, @Saurabh-kumar09 & @MohitGupta121.


Document what we do and don't understand about hypercore

... so that we can ask @mafintosh for clarification

I can take this issue

Some questions from tonight's discussion to include in the document:
Q: If feed1 contains blocks A, B, C, D and then I create feed2 that adds blocks E, F G, does feed2 have a reference to feed1 or does it just reference all of the blocks it cares about?  In other words, does feed2 look like [feed1, E, F, G] or does it look like [A, B, C, D, E, F G] with no reference to feed1?
Q: How do we represent updating an existing row or deleting an existing row? What does that look like in the DAG? Is the notion of "add row", "update row x" or "delete row x" something that we should put into the JSON inside of blocks, or is there a way to manipulate the feed so that it's clear that a specific row has been updated or deleted?

We had a great discussion with mafintosh. Here's the recording on YouTube and the  event page
The questions that @clamorisse put together:
https://docs.google.com/document/d/1Pv5rZoxd2HboIJkX0VtMM94QySTuuvljmvt98KMoFME/edit?usp=sharing
Also check out the very useful diagrams that help clarify discussions about blocks & feeds


Added difficulty level to the game

Fixes #126
Important ** Implemented difficulty effects:**
- Easy: Aliens move 20% slower and spawn at 80% of the normal rate
- Medium: Normal speed and spawn rate (unchanged)
- Hard: Aliens move 20% faster and spawn at 120% of the normal rate**
-
Changes Implemented

Modified Alien.js:

Added difficulty variable and setDifficulty function
Implemented getDifficultyMultiplier function
Updated Alien class constructor to use difficulty multiplier
Modified spawnAliens function to adjust alien count based on difficulty
Updated initGame and startGame functions to incorporate difficulty settings

Updated index.html:

Added level select dropdown to game controls:

Enhanced Alien.css:

Styled the level select button to match the game's UI:

Added hover and focus effects for better user interaction

Ensured proper positioning and visibility of game controls

Gameplay Adjustments:

Implemented difficulty effects:

Easy: Aliens move 20% slower and spawn at 80% of the normal rate
Medium: Normal speed and spawn rate (unchanged)
Hard: Aliens move 20% faster and spawn at 120% of the normal rate

UI Improvements:

Positioned game controls (including level select) on the left side of the screen
Ensured visual consistency between level select and other game buttons

Type of change

Bug fix (non-breaking change which fixes an issue)
Chore (refactoring code, technical debt, workflow improvements)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update

How should this be tested?

[x] Test A
[x] Test B

Mandatory Tasks

[x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

@YadavAkhileshh please have a check and let me know for any further changes


Ho simulation simple scenario

Hi folks,
Please take a look at this notebook and let me know what you think. It affects our story for the first part of the work. This is what I wanted to discuss with you all ideally on a call before Sunday, if we can't discuss this by email.

@hassanobeid1994 can you add a jupytext integration to your notebooks and linking it to a markdown file so it can be easy to add comments to specific lines of code? Not a priority but can be done after today's call


Report problem in vscode with not exists in visual studio 2022 (Ambiguity between...)

I have a bunch of erro in vscode with Ambiguity between class and methods. Like image bellow:

I created a branch in my repository to isolate that problem: https://github.com/liphvf/anisync/tree/isolete-omnisharp-problem
Just build or run. That problem appears.
I don`t have any problem in visual studio 2022.
Vscode Version: 1.65.0.
Dotnet Version:   6.0.200
For more help, my repository has a log in https://github.com/liphvf/anisync/blob/isolete-omnisharp-problem/omnisharpLog.txt  and readme describe all information i have.
Thanks for all.

@liphvf Something is off for sure. In particular this error in the omnisharpLog.txt.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.\\r\\nMethod 'get_MetadataToken' in type 'Microsoft.CodeAnalysis.CodeGeneration.CodeGenerationArrayTypeSymbol' from assembly 'Microsoft.CodeAnalysis.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.

There is no reason for anything to have loaded Roslyn 3.8.0. O# does not reference 3.x Roslyn nor does it ship in the .NET 6 sdk. Having cloned and opened your repo I am unable to reproduce these error.
Have you made any modification to your dotnet sdk or omnisharp install directories? My current recommendation is to uninstall and reinstall the dotnet sdk as well as the VS Code C# extension.
If these issues persist, perhaps you can also share a list of your installed VS Code extensions.

Hi @JoeRobich.
1- I uninstall all .NET SDK except Microsoft .NET SDK 6.0.200 (x64) from Visual Studio and install .NET 6 SDK 6.0.200.
2- Disable all extensions with use C# in vscode and uninstall C# and install again.
Unfortunately, i has same erros. That is a new log Error: https://github.com/liphvf/anisync/blob/isolete-omnisharp-problem/omnisharpLogAfterReinstall.txt.
If help, bellow has a list of extensions installed now:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Tomorrow i will test in another machine and go back to comment.
Thanks for your attention.

@liphvf Ok, taking a look at the new log and I notice:
[info]: OmniSharp.OmniSharpWorkspace
        Adding analyzer reference: C:\Users\liphv\.nuget\packages\strawberryshake.codegeneration.csharp.analyzers\12.6.2\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Workspaces.dll
[info]: OmniSharp.OmniSharpWorkspace
        Adding analyzer reference: C:\Users\liphv\.nuget\packages\strawberryshake.codegeneration.csharp.analyzers\12.6.2\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.dll
[info]: OmniSharp.OmniSharpWorkspace
        Adding analyzer reference: C:\Users\liphv\.nuget\packages\strawberryshake.codegeneration.csharp.analyzers\12.6.2\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Workspaces.dll
[info]: OmniSharp.OmniSharpWorkspace
        Adding analyzer reference: C:\Users\liphv\.nuget\packages\strawberryshake.codegeneration.csharp.analyzers\12.6.2\analyzers\dotnet\cs\Microsoft.CodeAnalysis.dll

I find it unexpected that an analyzer is shipping it's own copy of Roslyn. Looking at the tag for the release you are using and sure enough here is the source of the 3.8.0 Roslyn - https://github.com/ChilliCream/hotchocolate/blob/12.6.2/src/StrawberryShake/SourceGenerator/src/CodeGeneration.CSharp.Analyzers/StrawberryShake.CodeGeneration.CSharp.Analyzers.csproj
I will have to check around to find out what our expected load behavior should be in this case.
If you could try updating your reference to use version 13.0.0-preview.9 and see if you have better luck.

HI @JoeRobich ,
I am testing change StrawberryShake to 13.0.0-preview.9 and 13.0.0-preview.11. In this version, the application won`t build because ambiguous erros appears.
Same result in another machine.
BUT, after update dotnet SDK to version 6.0.201. All errors disappear.  😄
Thanks for all.

For no how reason.  That erros appear again. I use that issue to report StrawberryShake. Thanks for all.

When i report that erro for StrawberryShake, I noticed that:
Sometimes, after build another obj folder outside of project folder has created with 2 files GraphQlClient.code and GraphQlClient.GraphQlClient.CSharp.md5 .


Going open source ? MIT license ?

There have been some discussion about making this project open source, and maybe adding a MIT license.
The bad news is that I want to keep the copyrights on all the levels that I've written. Which means that you can make a local copy of those levels, you can fork those levels, but you can't redistribute it. I see it as a "book" that I wrote, I hope that I can inspire people writing similar "books", but I don't want people to just copy and redistribute my "book" without asking me for permission.
The good news is, that I want to make the (geogebra) template where I builded this levels in open source. And besides that I would like to develop a very easy framework, so that teachers/math geeks or whoever can really easily build similar levels. This framework I would like to see with a MIT license, and any contribution would be automatically MIT as well. Note that this framework uses Geogebra of course, and geogebra has it own license. So the framework I'm talking about, you could see as some geogebra add-on.
What I see could also be part of this "framework" is for example a login system that tracks your progress, but also tracks other statistics. For example getting points for the amount of steps you needed. Or getting points because you were going hardcore and only used circles and lines.
If you want to provide "content" in this framework, which means creating new levels, you can choose which license you want to put on it. If you want it to be copyrighted, If you want your name to visible, etc.
I see also another way of providing content, which would be, something like creating a new "campaign". For example, a non-euclidean geometry campaign, or hyperbolic geometry, etc. I would say that I'm the author of this campaign, and therefore I will decide in the end how the levels look, and if I use levels of other contributors.


Material Theme broken on feat/material-theme branch

Issue type
I'm submitting a ...  (check one with "x")

[x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Issue description
The material-theme branch is not correctly importing the material theme and controls are not displaying properly. Upon checkout of the feat/material-theme branch and running npm install and ng serve the material theme throws a console warning.

When navigating to the /forms/inputs section to verify, the form controls are missing the styles.

This is also the case when going to the public demo page: https://www.akveo.com/ngx-admin/pages/forms/inputs
Current behavior:
Material Theme is not applying styles
Expected behavior:
Material Theme style should be imported and applied to controls and other material items.
Steps to reproduce:
Go to https://www.akveo.com/ngx-admin/pages/forms/inputs and see the issue
OR

Checkout latest from feat/material-theme
Run npm install
Run ng serve
Navigate to Forms > Form Inputs
You will see the material theme is not showing the dropdowns, inputs, and other controls properly.

@denStrigo tagging for visibility.


Merge issue-15

I tested it, and it's working just fine! 😃

In order to keep this consistent (and align with Python best practices), we may want to use spaces and not tabs for indentation.

Could we merge this and then run the linter/syntax formater since we're working on #18 this week?


[GHSA-3p86-xgrq-m6p6] Improper Neutralization of Input During Web Page Generation in Apache Tomcat

Updates

Affected products
References

Comments
Add four more patch links related to CVE-2011-0013.

Hey @sunSUNQ, can I ask that you share those links in the thread as well?

Sure, I have submitted four patch links that are related to the current vulnerability.
https://github.com/apache/tomcat/commit/493ba610a8973efec6e5ca5c02d8cc9c323d4d5f
https://github.com/apache/tomcat/commit/c8a9a43183e061f09eb5cf7cd5443cecd8699462
https://github.com/apache/tomcat/commit/1930114c4122f2b6f45d6b92e7790288b17e2ad2
https://github.com/apache/tomcat/commit/fce861ba7f6ed5e11f839759f1c855370c43b8d3

Hello, I'm looking forward to your response.

👋 This pull request has been marked as stale because it has been open with no activity.  If you do nothing this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details.


Use sysbox container runtime for rootless docker-in-docker

sysbox (now part of Docker inc.) enforces rootless containers: https://github.com/nestybox/sysbox
allows docker-in-docker, systemd,..
No privileged feature, mounting docker daemon socket required
Tested with Debian Bullseye and Ubuntu 22.04

Linux Kernel < 5.12 require shiftfs kernel module (preinstalled on Ubuntu). On Debian, the shiftfs module is built.

Could you elaborate a bit more what problems the current solutions has and why the proposed changes are useful and how this is done?

The current solution for Docker-in-Docker (DinD) has the drawback that it requires a container running with the "--privileged" flag for running the Docker command and spawning containers. The "--privileged" flag disables isolation features:

enables all process capabilities
access to all host devices
read/write procfs and sysfs

E.g. from within a privileged container the host system could be rebooted, new hostname could be set, ..
In a completely trusted environments with trusted workload using "--privileged" might be ok, but should be avoided completely in my opinion.
Using sysbox as container runtime has the following advantages:

Allows running system programs inside the container (e.g. docker, systemd) without the "--privileged" flag.

This is achieved by OS virtualization techniques (virtualized procfs, sysfs, ..)

rootless containers by default

root user in the container is mapped to a uid different to 0 on the host system (Linux user-namespace)

Reduces complexity

No separate container required for spawning docker containers

Additional reading:

https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/
https://www.trendmicro.com/en_us/research/19/l/why-running-a-privileged-container-in-docker-is-a-bad-idea.html
https://blog.nestybox.com/2019/11/20/syscont-security.html
https://www.linux.com/audience/devops/lazy-privileged-docker-containers/
https://brauner.github.io/2019/02/12/privileged-containers.html
https://blog.nestybox.com/2019/09/13/system-containers.html
https://blog.nestybox.com/2019/09/29/jenkins.html
https://github.com/nestybox/sysbox#introduction

Sounds useful. My question is, shouldn't we first update to Ubuntu 22.04 because we then get sysbox easier? Or should we change from docker to podman and get the rootless features for free?

Updating to Ubuntu 22.04 definitely makes sense (newer Kernel) but the installation steps are the same. Sysbox is not in the Ubuntu package repository.
Supported Linux distros: https://github.com/nestybox/sysbox/blob/master/docs/distro-compat.md
I also checked for podman-in-podman solutions. In my opinion, it's to early to switch to podman:

podman and podman-compose are still not 100% compatible to docker and docker-compose (depending on the Linux distribution). I had to install pre-release of podman-compose to get the containers running.
sysbox in not yet compatible to podman
rootless containers come for free, but to establish podman-in-podman the isolation needs to be weakend: https://www.redhat.com/sysadmin/podman-inside-container


(BOLT-1403) Separate bolt-server JSON schemas for targets

Splits the SSH and WinRM target JSON schemas into their own dedicated
files, so that other bolt-server request schemas besides the existing
task schema can reuse them.
This is intended to support the future addition of new endpoints in bolt-server that allow for running commands and scripts and uploading files, in addition to running tasks.

CLA signed by all contributors.

Now that I'm looking further ahead into the "allow for other actions besides run_task" epic, I'm seeing that there's probably a better way to do this -- I think I'll close this PR for now and open a new one with a different approach.


feat(): add MySQL tutorial

@Lordnoname  in work

@gilgda Please change the usernames in picture 3 and 4.

Got a LGTM from @DevVersion

Fixed with  SHA 97ab053ff56fec33a76cfda079d12da68e8ffd48