Possibility to define two Payloads from wich can be Choosen once the USB Cable is connected.

It would be nice if we could define two Payloads.
For Example SX OS and hekate.
And once you connect the Switch to your Phone a Popup appears and asks you wich Payload to sent.

I appreciate the suggestion, but I think this would be too much effort to implement for a relatively niche scenario.
Requiring a popup would break the "works when your phone is locked" use case.


Support win notifications

Prebid Server is accepting events as outlined in https://github.com/prebid/prebid-server/issues/800. It's also generating event ad targeting as hb_winurl and 'hb_bidid', e.g.
                    "ext": {
                        "prebid": {
                            "type": "banner",
                            "targeting": {
                                "hb_winurl": ""hb_winurl":"https%3A%2F%2Fprebid-server.rubiconproject.com%2Fevent%3Ft%3Dwin%26b%3DBIDID%26a%3D1001%26f%3Di",
                                "hb_bidid_rubicon": "4b61fbb6-d864-4a36-b3dc-ef860d104601",
                                "hb_size_rubicon": "300x250",
                                "hb_cache_id": "731bd2a2-7f84-4080-b499-550a45d4fb9e",
                                "hb_cache_path_rubicon": "/cache",
                                "hb_cache_host_rubicon": "prebid-cache-us-west.rubiconproject.com",
                                "hb_pb": "1.20",
                                "hb_pb_rubicon": "1.20",
                                "hb_cache_id_rubicon": "731bd2a2-7f84-4080-b499-550a45d4fb9e",
                                "hb_cache_path": "/cache",
                                "hb_size": "300x250",
                                "hb_bidder": "rubicon",
                                "hb_bidder_rubicon": "rubicon",
                                "hb_cache_host": "prebid-cache-us-west.rubiconproject.com"
                            },

To reduce the footprint of the ad targeting variables the proposal here is to send the whole URL only once, then for each bidder supply the BIDID. So the first two targeting variables combine.
So now it's time to have the universal creative look for the existence of hb_winurl and hb_bidid_BIDDECODE, hitting the endpoint when appropriate.
The proposed ad server representation is to add a couple of new entries: ucTagData.winurl and ucTagData.winbidid:
<script src =<EMAIL_ADDRESS><script>
  var ucTagData = {};
  ucTagData.adServerDomain = "";
  ucTagData.pubUrl = "%%PATTERN:url%%";
  ucTagData.adId = "%%PATTERN:hb_adid_BIDDERCODE%%";
  ucTagData.cacheHost = "%%PATTERN:hb_cache_host_BIDDERCODE%%";
  ucTagData.cachePath = "%%PATTERN:hb_cache_path_BIDDERCODE%%";
  ucTagData.uuid = "%%PATTERN:hb_cache_id_BIDDERCODE%%";
  ucTagData.mediaType = "%%PATTERN:hb_format_BIDDERCODE%%";
  ucTagData.env = "%%PATTERN:hb_env%%";
  ucTagData.size = "%%PATTERN:hb_size_BIDDERCODE%%";
  ucTagData.hbPb = "%%PATTERN:hb_pb_BIDDERCODE%%";
  ucTagData.winurl = "%%PATTERN:hb_winurl%%";
  ucTagData.winbidid = "%%PATTERN:hb_bidid_BIDDERCODE%%";

  try {
    ucTag.renderAd(document, ucTagData);
  } catch (e) {
    console.log(e);
  }
</script>

The proposal is that we update the renderAd() function to:

do a level of decoding on the hb_winurl (needed to be passed through the %%PATTERN%%)
Resolve the 'BIDID' macro in winurl with the value of winbidid
If there's any problem with this process but hb_winurl exists, log a warning and skip
Add the URL to an invisible image similar to the PBJS triggerpixel function in https://github.com/prebid/Prebid.js/blob/master/src/utils.js

@bretg  shouldn't the examples include hb_bidid in addition to hb_bidid_rubicon?  that's how most of the other params work, and I see that mentioned at least once in https://github.com/prebid/prebid-server/issues/800.   though I suppose it doesn't matter if the ad-server is using ucTagData.winbidid = "%%PATTERN:hb_bidid_BIDDERCODE%%";?

@harpere - the idea here is that the creative in GAM will be either specific to a bidder, in which case  the AdOps person will enter ucTagData.winbidid = "%%PATTERN:hb_bidid_BIDDERCODE%%", or the creative is using the highest bid, in which case they'll use ucTagData.winbidid = "%%PATTERN:hb_bidid%%"

FYI - I did some testing with the merged code and found a problem -- GAM won't pass a full URL with ampersands in it through to PUC. Updated the description to call for a level of unencoding. Prebid Server will be updated to encode hb_winurl.


Wrong permission request in the capture module on iOS

When using forge.capture.getImage(...) and selecting the camera on iOS devices, two permission requests for both gallery (first request) and camera (second request) are shown. This leads to our apps being rejected from Apple since December 2019 with the message:

“Specifically, tapping “Camera” calls the photo gallery modal alert, which is not appropriate.“

Device information:

Hardware: iPhone X
Operating System and Version: all iOS versions
Forge Platform version: 2.8.5

App information:

src/config.json:
{
  "config_version": "4",
  "version": "...",
  "platform_version": "2.8.5",
  "core": {
    "general": {
      "logging": {
        "level": "INFO"
      },
      "reload": true,
      "trusted_urls": ["http://*/*","https://*/*"]

    },
    "ios": {
      "device_family": "any",
      "package_name": "...",
      "disable_web_storage_backup": true,
      "webview": "WKWebView"
    }
  },
  "flags": {
    "migrate_web_storage_for_webview": false,
    "move_filescheme_storage_to_httpscheme": false,
    "android_workaround_transparent_statusbar_keyboard_bug": true,
    "ios_also_set_css_safe_area_inset_env_as_var": true
  },
  "modules": {
    ...
    "file": {
      "version": "2.24",
      "config": {
        "usage_description": "Allow to upload images or videos stored on your device, e.g. for in app posts, comments or chat messages."
      },
      "disabled": %disable_file_module%
    },
    "capture": {
      "version": "2.25",
      "config": {
        "usage_description": "Allow to upload images or videos stored on your device, e.g. for in app posts, comments or chat messages."
      }
    },
    ...
    "prefs": {
      "version": "2.2",
      "config": {}
    },
    "browsersettings": {
      "version": "1.6",
      "config": {
        "accept_cookies": true,
        "media_playback": {
          "inline_video": false,
          "autoplay_video": true,
          "enable_html5_audio": true,
          "enable_background_audio": false,
          "respect_playing_audio": true
        }
      }
    },
    ...
  }
}

To Reproduce

Call forge.capture.getImage({}, successFunc, errorFunc)
Select Camera
See permission request for gallery and camera (and accept)
Camera opens

or even do:

Call `forge.capture({source: 'camera'}, successFunc, errorFunc)``
See permission request for gallery and camera (and accept)
Camera opens

Expected behaviour

When selecting camera, you are prompted for giving access to the camera only.
Actual behaviour

When selecting camera, you are prompted for giving access to both the camera and the gallery.

This is due to a workaround for a horrible bug Apple introduced three years ago with iOS 11 as a consequence of UIImagePickerControl no longer running in-process.
What happens is that the permission request when trying to save an image taken by the Camera to the Gallery now executes AFTER we receive the completion callback from the Camera.
This, of course, means that any attempt to save the photo returned by the camera to the device gallery will fail because the user has not yet granted permissions to the gallery at the point where we receive the photo.
🤦🏼♂
This mean we have to work around it by requesting Photo Gallery permissions before presenting the Camera. (i.e. https://github.com/trigger-corp/trigger.io-file/commit/41c6329dd4b14b5283afd78cc26755913ddad384)
So, some options are:

Try to educate the reviewer about the incompatibility between what they are asking for and how Apple have designed their API's.
Try and change the usage_description description fields  to find something that lets the reviewer know what's going on. e.g. maybe for the file usage_description say something like "we need access to your gallery in order to save the photo you're about to take"  (file.usage_description is gallery, capture.usage_description is camera)
Use the permissions module to manually ask for permission to the device gallery at some point in the application flow before giving them the option to use the camera.

Thanks for this insights. We'll try and change the description and convince our reviewers.


flux bootstrap using local bare git repository using flux

What happened:
Create a local bare repository flux bootstrap git --url=/home/mayank/localrepo/mapping-with-cue.git  --path=./c
lusters/kind
✗ failed to create authentication options for /home/mayank/localrepo/mapping-with-cue.git: scheme "" is not supported
What you expected to happen:
Should reconcile flux with local git repo
How to reproduce it (as minimally and precisely as possible):
Create a bare local reposiory
Create a application config using ocm
create remote as local
afte pushing the code , run flux bootstrap git --url "local repo path"
Anything else we need to know:
Environment:
local

Hi, flux can only be bootstrapped into a local GIT repo. The repo must exist in a central / remote location already. Check out https://docs.gitops.weave.works/docs/gitops-run/get-started/. Closing this issue.


Made example work by adding /features to URI path

Also updated URI to the running public demo instance of unleash-server

Thank you!


Add Crystal libraries

Checklist

[X] I have read the How to Contribute.
[X] I have read the Builder Tool Requirements
[X] I have run yarn build after adding my changes without getting any errors.

Builder Tool addition

Title: bech32
Description: A BIP173/BIP350 compatible Bech32/Bech32m encoding/decoding library for Crystal.
Website:  https://github.com/wout/bech32
Tags:

crystal
serialization

Title: blockfrost-crystal
Description: A Crystal SDK for the Blockfrost.io API.
Website:   https://github.com/blockfrost/blockfrost-crystal
Tags:

crystal
http
sdk
serialization

Title: cardano-kit
Description: At toolkit for Crystal to ease development for the Cardano blockchain.
Website: https://github.com/wout/cardano-kit
Tags:

crystal
serialization

@rphair

I can't yet justify adding a new tag (crystal) for something I've never heard of before

Crystal is a fairly new language but it's gaining traction, especially in the Ruby community. I'm biased of course, but when Blockfrost asked which languages needed an SDK, Crystal popped up a few times on Twitter.

I believe you will want to choose 3 new images for each project

Good point. I've changed them and it looks a lot better now.
@rdlrt

The only part I am unsure about is bech32[.cr] appearing as a seperate item

Removed. I was also in doubt about it but added it anyway since IO's Haskell lib was in there. It's used in the cardano-kit shard and I'm sure other developers will be able to find it on Crystal's shard listing sites.

One thing I do find a bit wanting is the overall scope of the presented cardano-kit (again the title could possibly include crystal to keep it distinct)

It's basically a set of abstractions for common interactions with Cardano. Soon I'll push a new release containing a CLI wrapper for cardano-cli, which I wrote for the minting apps of DendroRithms and The Perfect NFT. It'll receive more updates in the coming months.
I get your concern about the scope. The reason I opted to make it a toolkit is that the individual components are often used together. And individually, many are too small to create separate Crystal shards.

Got you. I thought you meant it should not have been in there. I've now reverted the file to the last commit before I created the branch.


UI of In – app CTA's gets disturbed when user increases the display size from settings and navigates back to the Valora application

Frequency: 100%
Repro on build version: Android Internal build V:1.22.0
Repro on devices: OnePlus 7T (11.0), Google Pixel 2XL(11.0) , Redmi Note 8 (10.0), Redmi note 8 (9.0)
Does Not Repro on build version: iOS TestFlight build V:1.22.0
Does Not Repro on devices: iPhone 12 (15) , iPhone 6+(12.5.4)
Pre-condition:

User must have installed the application
User must be on homepage

Repro Steps:

Drag down the notification bar and click on settings icon
Click on display option and increase the size of the resolution
Navigate back to application and observe the CTA's by scrolling left to right & right to left

Current Behavior: The UI of In – app CTA's gets disturbed when we increase the resolution from settings
Expected Behavior: The UI of In – app CTA's should be see appropriate even after user has changed the resolution to max or min
Investigation:

If we decrease the resolution , blank space is seen besides CTA when user scrolls from right to left
If we kill the app and relaunch it then CTA's are seen properly on scrolling left to right and right to left

Impact :

Bad user experience

Attachment: inappCTA_display

https://valora.testquality.com defect D658.


FlowDirection can't be filtered on due to Grafana plugin bug

You can filter it, tho it differs between Dashboards. Some require an Int (0/1) and others a String (in/out)

This was fixed with https://github.com/monogon-dev/NetMeta/commit/bcb1058473e93b3999fdb396313b24e6293848ca


LFS 2: unable to unlock unmodified files in UE 4.20

Hi,
we are using Unreal Engine 4.20 with your git plugin.
Also we have a git repository with LFS enabled and want to lock files.
So we opened a .umap file and click on "Source Control" --> "Checkout". This works fine and it seems to be the file was locked.
Now first question: is this file locked only locally or also on remote (origin) repository?
And next: How can i unlock the file if i dont want to make any changes to this file?
Thank you!

On locking i get this message:
The following assets could not be successfully checked out from source control:
/Game/Maps/Hallway

But after this message the lock is set:

But i cannot unlock the file:

Are you using a github repository? You need Git LFS 2 support on the server!
I'll also have a look at the log file, and let you know.
To answer your questions:

Locks are supposed to be server side, but the server needs to support this!
Unlock is normally done with revert (not working for you...)

But for sure, using a server without proper git lfs 2 file locks support  should not leads to your broken situation. My bad!

@SRombauts I am using a self-hosted gitlab installation with enabled git lfs support.
I can also manually lock and unlock files with git console.

So i think git lfs is enabled and works fine on server, or?

Indeed Gitlab seems to support file locking, at long last!
So I'll check this, I think it might be a bug in the way the plugin handle locking. I was developed and tested with Github only, and might not parse the results in a generic way.

@SRombauts Thanks!

Hello, it seems like recognizing Locked files as revertable did the job for me:
GitSourceControlState.cpp:
bool FGitSourceControlState::CanRevert() const
{
	return IsModified() || LockState == ELockState::Locked; // Allow reverting locked, unchanged files.
}

It works as expected, yet I am not sure if it does not have other implications, I am looking forward to hearing from you about your insight.

Ooh, yes! This is a new thing from 4.20!
A colleague of mine changed UE4.20 to actually use CanRevert()!

@SRombauts I understand.
Thanks for that information! :)

Argh, sorry it seems like I modified the GetMissingVsExistingFiles() function as well and I forgot about it, I totally agree :)

@SRombauts Thanks for that great support!
@SRombauts How can i use the new version of plugin?
Do i have to compile it self or does UE4 already compiling the plugin itself?

@JuKu I'll release a new version of the plugin quite soon, still need some testing

@SRombauts Is there a new version out there?

Hello,
First of all, great plugin!
Sadly, I am experiencing the same issue as mentioned above.
I am using gitea, a self-hosted git server taht supports git lfs 2.0.
When using source control > checkout on a .uasset in UE's content browser,
The file actually gets locked on the server, which is great.
The problem is that I also get the error :
"The following assets could not be successfully checked out from source control:
xxx.uasset"
I am then unable to submit to source control or even revert...
When I submit to source control, the plugin prompts (in the lower right corner) No assets to check in...
I am using UE4.22
Is there any update on this? This is a roadblock for me...

Hi @alexgchap and @JuKu, I have released many versions of the plugin since this issue has been closed: if it is still not working for you, I would like you to open a new bug report, with some log to help me diagnose and think of a fix.
Also, as stated elsewhere, I am not using LFS anymore so the support is not that good on my part as I would love too, sorry.
Sébastien


Remove obsolete TORCH_SCALED_MM_SCALE_RESULT

TORCH_SCALED_MM_SCALE_RESULT was originally in place for HIP due to a bug in older PyTorch releases which required it to be present. This issue has been addressed, so the extra scaling factor can be removed.

Oh, the PR is to a branch. Ok then, for that branch it will work assuming you use torch 2.5 (2.4 from the image should also work) with hipblaslt .10


Footer V1

Footer V1
Please briefly describe the changes made in your pull request below
Added the footer component with all the social media links
If your changes made visual updates to the website, please add screenshot(s) below

I fixed suggestion 1 and 2, as for number 3, i just copied the design from the figma that marketing created at the latest meeting, we can talk with them about colors and design at the next meeting. As for suggestion 4, I just removed the return to top button as in the latest splash screen, the nav bar will always be visible if you see the footer so idk if a return to top button is needed in retrospect. I just flex-col'd everything.

I fixed suggestion 1 and 2, as for number 3, i just copied the design from the figma that marketing created at the latest meeting, we can talk with them about colors and design at the next meeting. As for suggestion 4, I just removed the return to top button as in the latest splash screen, the nav bar will always be visible if you see the footer so idk if a return to top button is needed in retrospect. I just flex-col'd everything.

Ok cool if that’s the case then I wont make another one


Bazel sandbox was refactored

In https://github.com/google/zoekt#symbol-search there is a mini-howto to build the bazel sandbox, but the code seems to have changed in bazel. I got a working binary using these steps:

Get process-tools.h process-tools.cc linux-sandbox.cc linux-sandbox.h linux-sandbox-options.cc linux-sandbox-options.h linux-sandbox-pid1.cc linux-sandbox-pid1.h linux-sandbox-utils.h from the same path.
Replace some includes: sed -i 's|src/main/tools/||' *.{cc,h}
Compile with g++: g++ -Wall -std=c++11 -o linux-sandbox linux-sandbox.cc linux-sandbox-options.cc linux-sandbox-pid1.cc process-tools.cc

The resulting linux-sandbox tool seems to work in a similar way to the old namespace-sandbox tool...

The doc is out of date. I added a custom sandbox under cmd/zoekt-sandbox.

the real solution btw is to fix https://github.com/universal-ctags/ctags/issues/1372 and use seccomp. seccomp was intended as a security mechanism, so it'll be much more effective than namespaces.

See https://gerrit-review.googlesource.com/106993,
If you can review and give  +1 , that'd be great (patrick normally does this but is on a holiday.)


Update faq.md, rust is the 2023-most-desired-language

https://survey.stackoverflow.co/2023/#section-admired-and-desired-programming-scripting-and-markup-languages

Thanks!


Keys of query params are incorrectly converted to lower case when in form of map.

When send map as query params, all the keys will be lower case.
For example:
gorequest.New().Get("http://localhost/").Query(map[string]string{"Foo": "bar", "QWE": "RTY"}).End()

It will request the url http://localhost/?foo=bar&qwe=RTY, the expected is http://localhost/?Foo=bar&QWE=RTY.
 It's a bug. Fix it please........

https://github.com/wklken/gorequest/pull/7


Adding a Script for setting the Github Actions

I think we could also add a script for setting the GitHub Actions if the user requires it. Normally the user has to go to the specified repo and enable the Actions. I will create a default YAML file which will basically create a basic Github Actions for the project.
I want to work on it asap, kindly assign this to me.

Hey there @i-am-yuvi , happy to have you here!
Just to confirm, your idea is to create a script which will create and push a sort of default Github actions workflow?
Join our slack server for further discussions - https://join.slack.com/t/githubautomat-9t49360/shared_invite/zt-1v05p5kao-UBmelVfZd6EBjGuzd_6XYg

The GSSoC'23 program managers are yet to disclose the scoring system and how to track contributions.
Don't worry, I will assign this to you once we get the instructions.

Yes @sahil-sagwekar2652, I was thinking while create a new repo a simple workflow to be created in Github Actions. What do you think?

any updates @i-am-yuvi ? Let me know or I'll have to unassign you.


Updated dependencies

Pull request only updates dependencies not covered by existing semver declared version ranges.
• Not sure why https://github.com/gruntjs/grunt-contrib-watch/pull/474 was closed as this in one of the reasons I've created this pull request.
• Also doesn't touch the Gaze dependency mentioned in https://github.com/gruntjs/grunt-contrib-watch/pull/412
The same two tests fail before and after updating the dependencies:
ERROR
>> Message: Task should have been interrupted 2 times.
>> Error: false == true
>> at Object.ok (node_modules/nodeunit/lib/types.js:83:39)
>> at /Users/netweb/dev/github-ntwb-grunt-contrib-watch/test/tasks/watch_test.js:143:12
>> at ChildProcess.<anonymous> (test/tasks/helper.js:84:7)
>> at emitTwo (events.js:87:13)
>> at ChildProcess.emit (events.js:172:7)
>> at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

>> Message: Only the last time should be working (without interruption)
>> Error: null == true
>> at Object.ok (node_modules/nodeunit/lib/types.js:83:39)
>> at /Users/netweb/dev/github-ntwb-grunt-contrib-watch/test/tasks/watch_test.js:145:12
>> at ChildProcess.<anonymous> (test/tasks/helper.js:84:7)
>> at emitTwo (events.js:87:13)
>> at ChildProcess.emit (events.js:172:7)
>> at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

Note: All tests pass on the NodeJS 0.10.x tests, just fail on the 4 and 5

Note: All tests pass on the NodeJS 0.10.x tests, just fail on the 4 and 5

The reason I closed my pull request (#474) was that the master branch has an update to use tiny-lr 0.1.4, which has the update I needed for the qs dependency.

@plynchnlm still 0.1.4 has a bad dependency version for qa which needs an update so this PR by @ntwb is just-fully opened and should be addressed.
@ntwb can you figure out why the tests fail?
I also suggest we open a PR just for tiny-lr to update solely where tests should probably pass easily. What do you think?

@shama can we get some love here? :)

I've just updated a pull request for tiny-lr https://github.com/mklabs/tiny-lr/pull/99

See also a PR for tiny-lr and qs v6.x.x https://github.com/mklabs/tiny-lr/pull/101

Thanks!

great @shama. thank you :)

@shama we should bump the version number now that you updated package.json
see my PR: https://github.com/gruntjs/grunt-contrib-watch/pull/495


Added files via upload

There is very few changes from the LCD_nav but it still took some time and I think that the beginners in arduino are gonna appreciate it.

This is the first thing I upload so I don't exactly know how the policy works if I did something wrong pls help me :)


Update the Envoy fuzz target implementation to use the new cc_fuzz_test components in this repo.

The envoy_cc_fuzz_target macro is defined here https://github.com/envoyproxy/envoy/blob/606ccbdc2ab956d0f8190e30990d3aa6643d7547/bazel/envoy_test.bzl#L73.
It creates four things:

a pkg_tar to compress the corpus. We build this for OSS-Fuzz.
a test library for the fuzz test
an engine-less binary target that just depends on the test library. We build this for OSS-Fuzz, which links in other engines.
the actual test targets: (1) linked with libfuzzer when run with --config asan-fuzzer, and (2) linked with gtest otherwise

We should be able to swap out 4.1 (libfuzzer test target) pretty soon. It would be the rule imported from here, with the test library dependency, and the launcher that would take the corpus from the macro argument. We currently don't have a launcher script equivalent, any options we pass have to be manually added like the corpus or a dictionary, so that would be a big win.
We use this target for coverage builds, there may be some complexity here, but we can chat and go over it, it may be too hard to type. The launcher script would simplify things for us greatly.
Another big win for a future iteration would be packaging the engine-less target together with the zipped corpus for a single OSS-Fuzz target to build. We currently build the targets and corpora separately https://github.com/google/oss-fuzz/blob/f743ea9d3b78879c858c21cd405d3708249756de/projects/envoy/build.sh#L86

Replace libfuzzer linked target from 4.1
Implement zip target in bazel-rules-fuzzing and replace (1) and (3)
Figure out how to deal with 4.2 (gtest linked target)

This is now fixed in envoyproxy/envoy#14834.


FIX Dictionary

Hi, I am interested in this project, and potentially collaborating. Do you have a valid FIX 4.2 Dictionary file I can use as a starting point? I cannot seem to get any to load without exceptions. Thank you.

Please try https://github.com/quickfix/quickfix/blob/master/spec/FIX42.xml

Thanks


Fix IndexExprScope in TransposesOp lowering

This patch fixes an issue about IndexExprScope in TransposesOp lowering and a function signature in RunONNXLib.cpp

Jenkins Linux ppc64le Build #9345 [push] Fix IndexExprScope in Tr... started at 09:21

Jenkins Linux s390x Build #10292 [push] Fix IndexExprScope in Tr... started at 09:18

Jenkins Linux amd64 Build #10281 [push] Fix IndexExprScope in Tr... started at 08:18

Jenkins Linux amd64 Build #10281 [push] Fix IndexExprScope in Tr... passed after 1 hr 29 min

Jenkins Linux s390x Build #10292 [push] Fix IndexExprScope in Tr... passed after 1 hr 37 min

Jenkins Linux ppc64le Build #9345 [push] Fix IndexExprScope in Tr... passed after 2 hr 12 min


Timing of the 1.0.0 stable release?

@adamwathan  thanks for tailwind.
Before upgrading to https://next.tailwindcss.com/
what is the timing of the 1.0.0 stable release?
We're afraid of doing something like this to our composer.json file
# Using npm
npm install tailwindcss@next --save-dev

# Using Yarn
yarn add tailwindcss@next --dev

What happens after 1.0.0 is released?

The latest beta is already very stable, so you could just start using that one already.
If something still changes, it will be minor things.

Will be out Monday.

@MichaelDeBoey agreed.
@adamwathan awesome, and thanks! tailwind is amazing.


[ZEPPELIN-1280][Spark on Yarn] Documents for running zeppelin on production environments.

What is this PR for?
This PR is for the documentation of running zeppelin on production environments especially spark on yarn.
Related issue is https://github.com/apache/zeppelin/pull/1227 and I got a lot of hints from https://github.com/sequenceiq/hadoop-docker.
Tested on ubuntu.
What type of PR is it?
Documentation
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1280
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

@astroshim Great work indeed! As just proof of reading spark_cluster_mode.md, I updated a few minor things in here. Could you check this one please?

@AhyoungRyu I'll update. Thank you for giving me the informations.

@felixcheung Thank you very much for detail review.:+
I'll fix them but I wonder if what spark and hadoop version should be supported in this document.

It's hard to say - I think one approach would be latest (spark 2.0 & Hadoop 2.7); another approach would be the most popular ones

Do you know what version of spark&hadoop is popular? I will test it.

Spark2.0 & hadoop2.3 is working well.

cool. hadoop versions in distributions:
CDH: 2.6.0
HDP/Azure: 2.7.1
EMR: 2.7.2
GCP Dataproc: 2.7.2

Then what about supporting latest verison(Spark2.0 & hadoop2.7)?

Docs looks great to me, thank you @astroshim !

Spark2.0 & hadoop2.7 is working well.

YARN

hdfs

as you can see test spark-submit job was successful but zeppelin job doesn't work properly.
I'll take a look at problem later.

I got a following error when I try to run zeppelin with spark2.0&hadoop2.7.
ERROR [2016-08-16 16:43:33,121] ({pool-1-thread-3} Utils.java[invokeMethod]:40) -
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:38)
        at org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:33)
        at org.apache.zeppelin.spark.SparkInterpreter.createSparkSession(SparkInterpreter.java:345)
        at org.apache.zeppelin.spark.SparkInterpreter.getSparkSession(SparkInterpreter.java:218)
        at org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:743)
        at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
        at org.apache.zeppelin.interpreter.LazyOpenInterpreter.getProgress(LazyOpenInterpreter.java:110)
        at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.getProgress(RemoteInterpreterServer.java:447)
        at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$getProgress.getResult(RemoteInterpreterService.java:1701)
        at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$getProgress.getResult(RemoteInterpreterService.java:1686)
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.yarn.conf.YarnConfiguration
        at org.apache.spark.deploy.yarn.YarnSparkHadoopUtil.newConfiguration(YarnSparkHadoopUtil.scala:71)
        at org.apache.spark.deploy.SparkHadoopUtil.<init>(SparkHadoopUtil.scala:54)
        at org.apache.spark.deploy.yarn.YarnSparkHadoopUtil.<init>(YarnSparkHadoopUtil.scala:56)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at java.lang.Class.newInstance(Class.java:383)
        at org.apache.spark.deploy.SparkHadoopUtil$.liftedTree1$1(SparkHadoopUtil.scala:414)
        at org.apache.spark.deploy.SparkHadoopUtil$.yarn$lzycompute(SparkHadoopUtil.scala:412)
        at org.apache.spark.deploy.SparkHadoopUtil$.yarn(SparkHadoopUtil.scala:412)
        at org.apache.spark.deploy.SparkHadoopUtil$.get(SparkHadoopUtil.scala:437)
        at org.apache.spark.util.Utils$.getSparkOrYarnConfig(Utils.scala:2203)
        at org.apache.spark.storage.BlockManager.<init>(BlockManager.scala:104)
        at org.apache.spark.SparkEnv$.create(SparkEnv.scala:320)
        at org.apache.spark.SparkEnv$.createDriverEnv(SparkEnv.scala:165)
        at org.apache.spark.SparkContext.createSparkEnv(SparkContext.scala:259)
        at org.apache.spark.SparkContext.<init>(SparkContext.scala:423)
        at org.apache.spark.SparkContext$.getOrCreate(SparkContext.scala:2256)
        at org.apache.spark.sql.SparkSession$Builder$$anonfun$8.apply(SparkSession.scala:831)
        at org.apache.spark.sql.SparkSession$Builder$$anonfun$8.apply(SparkSession.scala:823)
        at scala.Option.getOrElse(Option.scala:121)
        at org.apache.spark.sql.SparkSession$Builder.getOrCreate(SparkSession.scala:823)
        ... 20 more

My build command is
mvn clean package -Pspark-2.0 -Phadoop-2.7 -Dhadoop.version=2.7.2 -Pyarn -Ppyspark -Pscala-2.11 -DskipTests

but hadoop library for spark interpreter is
~/zeppelin$ ls -al ./spark/target/lib/hadoop-*
-rw-rw-r-- 1 nflabs nflabs   17385  8월 16 23:52 ./spark/target/lib/hadoop-annotations-2.7.2.jar
-rw-rw-r-- 1 nflabs nflabs   49750  8월 16 23:52 ./spark/target/lib/hadoop-auth-2.2.0.jar
-rw-rw-r-- 1 nflabs nflabs    2559  8월 16 23:52 ./spark/target/lib/hadoop-client-2.2.0.jar
-rw-rw-r-- 1 nflabs nflabs 2735584  8월 16 23:52 ./spark/target/lib/hadoop-common-2.2.0.jar
-rw-rw-r-- 1 nflabs nflabs 5242252  8월 16 23:52 ./spark/target/lib/hadoop-hdfs-2.2.0.jar
-rw-rw-r-- 1 nflabs nflabs  482042  8월 16 23:52 ./spark/target/lib/hadoop-mapreduce-client-app-2.2.0.jar
-rw-rw-r-- 1 nflabs nflabs  656365  8월 16 23:52 ./spark/target/lib/hadoop-mapreduce-client-common-2.2.0.jar
-rw-rw-r-- 1 nflabs nflabs 1455001  8월 16 23:52 ./spark/target/lib/hadoop-mapreduce-client-core-2.2.0.jar
-rw-rw-r-- 1 nflabs nflabs   35216  8월 16 23:52 ./spark/target/lib/hadoop-mapreduce-client-jobclient-2.2.0.jar
-rw-rw-r-- 1 nflabs nflabs   21537  8월 16 23:52 ./spark/target/lib/hadoop-mapreduce-client-shuffle-2.2.0.jar
-rw-rw-r-- 1 nflabs nflabs 2015575  8월 16 23:52 ./spark/target/lib/hadoop-yarn-api-2.7.2.jar
-rw-rw-r-- 1 nflabs nflabs   94728  8월 16 23:52 ./spark/target/lib/hadoop-yarn-client-2.2.0.jar
-rw-rw-r-- 1 nflabs nflabs 1301627  8월 16 23:52 ./spark/target/lib/hadoop-yarn-common-2.2.0.jar
-rw-rw-r-- 1 nflabs nflabs  175554  8월 16 23:52 ./spark/target/lib/hadoop-yarn-server-common-2.2.0.jar
-rw-rw-r-- 1 nflabs nflabs   25710  8월 16 23:52 ./spark/target/lib/hadoop-yarn-server-web-proxy-2.2.0.jar

Maybe the error occurs because different versions of the hadoop library.
I will make an PR for this.

Looks like some of the Hadoop jars are 2.2 instead of 2.7?

@felixcheung Yes 2.2, Maybe it's because my maven repo has different versions of hadoop libraries like following.
~/zeppelin$ ls -al ~/.m2/repository/org/apache/hadoop/hadoop-common/
total 36
drwxrwxr-x  9 hsshim hsshim 4096  8월 16 17:03 .
drwxrwxr-x 25 hsshim hsshim 4096  8월 17 00:22 ..
drwxrwxr-x  2 hsshim hsshim 4096  8월 16 17:04 2.2.0
drwxrwxr-x  2 hsshim hsshim 4096  6월 22 12:04 2.3.0
drwxrwxr-x  2 hsshim hsshim 4096  6월 22 00:07 2.4.0
drwxrwxr-x  2 hsshim hsshim 4096  6월 22 00:14 2.5.1
drwxrwxr-x  2 hsshim hsshim 4096  8월  4 19:54 2.6.0
drwxrwxr-x  2 hsshim hsshim 4096  8월 16 14:50 2.7.0
drwxrwxr-x  2 hsshim hsshim 4096  7월 14 16:58 2.7.2

so I fix for this on https://github.com/apache/zeppelin/pull/1335.

 I hit this issue when building zeppelin with profile yarn enabled. So please don't enable yarn profile otherwise you will get hadoop version mismatch. I have left a comment in #1301 to remove yarn profile.

@zjffdu I just tested and got success with removing the yarn profile.
I will close the https://github.com/apache/zeppelin/pull/1335 then.
Thank you.

Please merge this if there is no more discussion because I want to make document for https://issues.apache.org/jira/browse/ZEPPELIN-1279.

The jira title seems a little confusing to me. The PR is for running spark on yarn by docker, but I don't think users will use docker for production.

@zjffdu You're right, usually users don't make their production using docker.
but We have been received many question about running Zeppelin on their production environments so I think this PR gives hints users to solve their problems and making their production environments too.
Does this make sense?

It would be better to change the title to reflect the docker.  I think we should mention docker is only for small experimental enviroment rather than production environment.  Besides that, I don't know how much complicated of using docker, I would be more conservative to bring extras dependencies, especially when it is complicated and not usually needed in real environment.

I can update PR title
but This PR is one of the https://issues.apache.org/jira/browse/ZEPPELIN-1198 and
https://issues.apache.org/jira/browse/ZEPPELIN-1278 is already merged.
and If you build this PR, you can see the title on doc like Zeppelin on Spark Cluster Mode (YARN via Docker).

Thanks @astroshim, I have no other concerns.

I agree we could be more specific on the title/subject for this document.
But lots of company run production on Docker though, just FYI. Either Docker by itself on premise or in the cloud, with something like DC/OS.

So where are we on this? Can this be merged now? :)

Looks great to me.
Merging to master, if there is no further discussion


Really like this one :)


RSDK-6530: Add depth map encode decode methods to C++ SDK

From https://viam.atlassian.net/browse/RSDK-6530 :

Sean Yu wrote a deserialize_depth_map function in order to consume depth maps in cpp-land for the rgb-d-overlay module. It is best to make this a static Camera method in C++ SDK

Wait, does the run-tests action run unit tests?

yep! it's a little funky though, if one test fails in a file then often it says they all failed. Lemme know if you want any help with debugging.

Just a general feeling here, but this seems like a bit of a leaky abstraction. For instance, why are the depths uint16_t's? It feels like that's an artifact of an implementation somewhere, but is somewhat unnatural in the UX. Ditto the flat array presented with height/width. Also unclear to me where the endian-ness aspect comes in.

Just a general feeling here, but this seems like a bit of a leaky abstraction. For instance, why are the depths uint16_t's? It feels like that's an artifact of an implementation somewhere, but is somewhat unnatural in the UX. Ditto the flat array presented with height/width. Also unclear to me where the endian-ness aspect comes in.

https://github.com/viamrobotics/rdk/blob/5df6d046388e79ab499a2f476d7e2b1fcc09d9e8/rimage/depth_map_raw.go#L311
Above is the specification in RDK about our custom depth map format. I can add a similar blurb about it in camera.cpp?

@hexbabe -
I think I had sort of misunderstood the point of this review. I expected it was creating a new type like raw_image that would actually be used in the Camera api (e.g. raw_image Camera::get_image(...)). But that isn't what is going on here: the depth_map type isn't returned or consumed by Camera, and the two new functions exist only to transform a byte buffer into a depth_map and vice versa.
So, what is the flow of control here? How does the user of the SDK end up with a byte buffer which happens to contain an encoded depth map, and know that it should be passed to Camera::decode_depth_map? Or is this just a "part 1" review and subsequent changes will add methods that traffic in depth_map to Camera?

@hexbabe -
I think I had sort of misunderstood the point of this review. I expected it was creating a new type like raw_image that would actually be used in the Camera api (e.g. raw_image Camera::get_image(...)). But that isn't what is going on here: the depth_map type isn't returned or consumed by Camera, and the two new functions exist only to transform a byte buffer into a depth_map and vice versa.
So, what is the flow of control here? How does the user of the SDK end up with a byte buffer which happens to contain an encoded depth map, and know that it should be passed to Camera::decode_depth_map? Or is this just a "part 1" review and subsequent changes will add methods that traffic in depth_map to Camera?

The scope of this PR is to put decode and encode methods into the SDK as sort of util methods for depth map handling in modules and clients. For decoding, I wanted to mirror how they are handled in the Python SDK. In the Python SDK, we leave it to the client to call raw_img.bytes_to_depth_array() to decode the depth map. The goal here is to provide similar decode util for C++ SDK users. For encoding, we would expect depth camera module creators to use the encode function to convert their raw bytes into the Viam depth mime type format.
Sorry for all the confusion. My mistake was thinking that this ticket would be as simple as copying over the function I wrote for the RGB-D overlay module into Camera to be used as util functions. If I were to redo this PR, I would've communicated the requirements and thought harder about how to integrate the methods into the exiting C++ APIs.
To amend this mistake, I think we should chat briefly to discuss where it makes sense to place these functions in a less haphazard way.

@hexbabe and I met to discuss this. The plan is to move forward with this review. The depth_map type will be re-worked in terms of xtensor (either it will be an xtensor type alias, or it will wrap an xtensor). There will then be a subsequent review where the Camera interface is adjusted in order to integrate depth map information. This might look like having Camera::get_image return a variant over raw_image and depth_map, or adding a get_depth_map function that returns an Optional<depth_map>. Similar adjustments will need to be made to get_images to incorporate depth_maps.


Add a 'Noise' message type

A noise message type could be implemented that is ignored by handlers. This could then be (optionally) sent to random users to disguise your traffic. Especially useful in the case of the Duo Search relay which will likely know the recipients of offline messages. A noise message could be sent, with some padding bytes, and would be indiscernable from any other message to a spy on the network or to a message relay. This adds plausible deniability

This seems like it might be superfluous once Tor routing is enabled on the network. For users that concerned about privacy I would think they'd request more assurance than just plausible deniability.

I think there is a medium between a user who is happy with the network knowing exactly who they are talking to, and a user who wants to sit behind tor for all their transactions. Users using a web portal like duo search won't have tor access, but may still prefer that duo/the network knows as little as possible about them.

I like the idea for a NOISE message type, where we could sent messages of any size, and we'd get back a message of size that maximises obfuscation. If we really want to push obfuscation, we'll want to add random artificial latency chosen to maximise obfuscation against timing attacks.
I believe we already kinda have the NOISE message type implemented, because unhandled message types are responded to with an error (is that correct?). I guess we could just modify the error handling to add artificial noise (bytes, latency).
@hoffmabc The business assumption is that the Duo Search user has zero technical knowledge, but that still gets best-in-class privacy for free. 👍

@JustinDrake I believe an error is currently only sent as a response to an order message if validation fails. So arguably sending non-valid order messages would be a hacky method of doing this, but it leads to wasteful computation on the client trying to validate the order. I also had considered piggybacking off of the ping or error message types, as either of these can have a payload of any side which is ignored, but I feel an independent type may be preferable, especially if we want a response to be sent.

I'm not sure I really understand how this solves the problem you intend to solve. If A is the set of legit messages and B is the set of noise messages you send it is still obvious to those observing that all messages in A and B are coming from your IP. I would think your users would trust you to drop logs of them relaying messages through you and/or use Tor if they're that privacy conscious. This would be similar to Signal servers, which only store IPs in memory and do not persist them.
Can you please explain further how this would work. I'd love for @tyler-smith and @cpacia to weigh in as well on this.

I think that the issue we are trying to solve is not obfuscating user ips; and yes, we will store as little as possible. Instead the idea is to remove the ability to place a user as deliberately communicating with another user. Without noise implemented, as someone on your network, or as a relay, I can log all messages you post to IPFS, and thus know who you might be buying from or talking to. With noise, I see you sending messages but I have no evidence you are deliberately trying to contact that user. Statistical analysis might lead me to think there is an x% chance you are deliberately communicating with someone, but it removes a lot of the utility of snooping.

@hoffmabc This is not about obfuscating IP. It is about obfuscating business activity.
When peer A communicates with peer B (either directly via secio, or indirectly via offline messages), the peer ids are leaked. Peer ids in secio communications are leaked to eavesdropper (e.g. the NSA), and peer ids in offline messages are leaked publicly via the DHT pointers.
So currently an eavesdropper could apply heuristics (analysing packet size, timestamp and latency) to get a really good idea of what is going on. For example, guessing how many sales a vendor is making, and what is being sold, is relatively easy looking just at packet sizes.
Noise makes the statistical heuristics significantly less effective.

If you're using IP address obfuscation capability like Tor then there is nothing valuable about a peer ID since it's just a hash of the public key so nothing different from merchants on DNMs having their GPG key available. If you had a mapping of a peer id to ip it's not an issue in that case.

I think sophisticated attackers will get around this pretty easily. You'll have to do more than this to properly obfuscate flow.

This seems like pretty inefficient opsec to me, but if it's something people wanted to do it seems we could find some useful data to instead. E.g. distributing listings around random nodes instead of just ones that view them.
I don't really think any focus should go into this until after TOR is ready since that seems like an exponentially higher ROI to me.

Is this potentially an IPFS feature too?


Does the Bulk CSV method work for SharePoint Library / Folder Migrations

Hi Team ,
I'm working on a powershell script to help migrate folders and sub folders out of a library into various sites etc.
The structure looks something like this
Library
-----Folder
------Sub_Folder
-------Sub_Sub_Folder
-------Sub_Sub_Folder
-------Sub_Sub_Folder
-------Sub_Sub_Folder
-------Sub_Sub_Folder
Folder is a categorical division such as  Records.
Sub_folder is a customer code / Name
Sub_Sub_folder is a Document Type
When using the Bulk CSV method through the gui , my CSV works perfectly ,
When i try using the Powershell module with the same syntax in the powershell module it fails with the error message :Task GUID did NOT pass the parameter validation. the error message is 'The source library LibraryName does not exist on source site  i have tried a different library , different site , and confirmed that the library exists and that the internal SP name is being used , i even tested with a library that has not been renamed.
When i use the Migrate-all it finds the site no problem but when i am trying to specify a specific library / folder or Sub folder like
Library-->Folder A--> Folder 1 i get this error message , again using the GUI this CSV works.
So what is the difference between the GUI and the Powershell module? according to this page , i have the correct command.
Add-SPMTTask -SharePointSourceSiteUrl $item.c1 -SharePointSourceCredential $Global:SPCredential -SourceList $item.c2   -SourceListRelativePath $item.c3   -TargetSiteUrl $item.c4   -TargetList $item.c5   -TargetListRelativePath $item.c6
thank you.

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

ID: 9e801cf9-c628-db13-e90b-935d5a74d76e
Version Independent ID: 5fb69466-bfae-f263-80b0-ad585d59f0ae
Content: Add-SPMTTask (SharePointMigrationTool)
Content Source: spmt/spmt-ps/spmt/Add-SPMTTask.md
Service: spmt-powershell
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

Here is a sample of the CSV i am using.
http://SourceSharePoint2013,Library,Subfolder/SubsubFolder1,https://SPONlineDestination,Documents,SubSubfolder1
http://SourceSharePoint2013,Library,Subfolder/SubsubFolder2,https://SPONlineDestination,Documents,SubSubfolder2
http://SourceSharePoint2013,Library,Subfolder/SubsubFolder3,https://SPONlineDestination,Documents,SubSubfolder3
http://SourceSharePoint2013,Library,Subfolder/SubsubFolder4,https://SPONlineDestination,Documents,SubSubfolder4
http://SourceSharePoint2013,Library,Subfolder/SubsubFolder5,https://SPONlineDestination,Documents,SubSubfolder5
http://SourceSharePoint2013,Library,Subfolder/SubsubFolder6,https://SPONlineDestination,Documents,SubSubfolder6
http://SourceSharePoint2013,Library,Subfolder/SubsubFolder7,https://SPONlineDestination,Documents,SubSubfolder7
http://SourceSharePoint2013,Library,Subfolder/SubsubFolder8,https://SPONlineDestination,Documents,SubSubfolder8
http://SourceSharePoint2013,Library,Subfolder/SubsubFolder9,https://SPONlineDestination,Documents,SubSubfolder9

Seems this has now stopped working in the GUI as well since the update.

Hello @jasonwbaxter Jason, how are you?
I am checking this if we need to update some article, is it giving you some of the known and documented error codes?
Thanks

Hi Andres -- i am contacting the product team to help will ping you on email.

Hi Andres -- i am contacting the product team to help will ping you on email.

Many thanks Joanne.

Hello @jasonwbaxter according to the team, nothing changed about folders between versions so apparently no documentation change will be needed. As we opened an internal channel, please continue through it to get help about this.
Thank you
@yogkumgit please close.

@get-itips Thank you very much for the contribution and sharing this explanation. @JoanneHendrickson Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


added: parser & Playwright engine

@ManiMozaffar check it for type hint pep585

@ManiMozaffar check it for type hint pep585

Fixed type hinting for >py 3.10 👍


API batched query endpoints

Similar to how osv.dev allows for batched queries https://google.github.io/osv.dev/post-v1-querybatch/
Would be very nice to have a batched version of request endpoint for most of the deps.dev endpoints.

This is on our roadmap, but we don't have an ETA. (Related to issue #16.)
What's your use case? In most cases, it should be just as efficient to make all the relevant queries concurrently, but I understand that it's not always convenient to do this.

What's your use case?

We're ingesting SBOMs, parsing them, and enriching them with data from deps.dev to get source information using GetVersion

Good news! We now have experimental batch request support via the new GetVersionBatch and GetProjectBatch endpoints, as well as the PurlLookupBatch endpoint which accepts purls. You can read more about these new endpoints on our blog.


TagManagerContainerQueue Crash

Step 1: Describe your environment

Xcode version: 12.1
Firebase SDK version: 6.33.0
Installation method: CocoaPods
Firebase Component: Google Tag Manager (Firebase Analytics)

Step 2: Describe the problem
We have integrated Google Tag Manager into my codebase, We're getting crash reports from users running iOS 12 and above across models. Currently, it's the top crash in our crash list and is affecting our crash-free sessions heavily. We have not been able to reproduce the issue after multiple attempts.
Here is the raw crash log as reported in firebase Crashlytics
Crashed: TagManagerContainerQueue
0  JavaScriptCore                 0x1a328a328 llint_entry + 76968
1  JavaScriptCore                 0x1a327ac94 llint_entry + 13844
2  JavaScriptCore                 0x1a329ba98 llint_entry + 148504
3  JavaScriptCore                 0x1a329ba98 llint_entry + 148504
4  JavaScriptCore                 0x1a329d12c llint_entry + 154284
5  JavaScriptCore                 0x1a329d12c llint_entry + 154284
6  JavaScriptCore                 0x1a329d12c llint_entry + 154284
7  JavaScriptCore                 0x1a329d12c llint_entry + 154284
8  JavaScriptCore                 0x1a329b9e4 llint_entry + 148324
9  JavaScriptCore                 0x1a329d12c llint_entry + 154284
10 JavaScriptCore                 0x1a329b9e4 llint_entry + 148324
11 JavaScriptCore                 0x1a329b9e4 llint_entry + 148324
12 JavaScriptCore                 0x1a329b9e4 llint_entry + 148324
13 JavaScriptCore                 0x1a329b9e4 llint_entry + 148324
14 JavaScriptCore                 0x1a329b9e4 llint_entry + 148324
15 JavaScriptCore                 0x1a329b9e4 llint_entry + 148324
16 JavaScriptCore                 0x1a329b9e4 llint_entry + 148324
17 JavaScriptCore                 0x1a32773d4 vmEntryToJavaScript + 276
18 JavaScriptCore                 0x1a389fe64 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 488
19 JavaScriptCore                 0x1a3aaa1fc JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 164
20 JavaScriptCore                 0x1a3306008 JSObjectCallAsFunction + 656
21 JavaScriptCore                 0x1a308f82c -[JSValue invokeMethod:withArguments:] + 592
22 [AppName]                           0x1055d8440 -[TAGRuntime evaluateEvent:] + 342880
23 [AppName]                       0x1055cedf4 __29-[TAGContainer processEvent:]_block_invoke + 304404
24 libdispatch.dylib              0x19990724c _dispatch_call_block_and_release + 32
25 libdispatch.dylib              0x199908db0 _dispatch_client_callout + 20
26 libdispatch.dylib              0x19991010c _dispatch_lane_serial_drain + 580
27 libdispatch.dylib              0x199910c5c _dispatch_lane_invoke + 408
28 libdispatch.dylib              0x19991ad78 _dispatch_workloop_worker_thread + 708
29 libsystem_pthread.dylib        0x1e312c804 _pthread_wqthread + 276
30 libsystem_pthread.dylib        0x1e313375c start_wqthread + 8

Crashed: com.apple.main-thread
0  libdispatch.dylib              0x1816651f8 dispatch_async$VARIANT$mp + 160
1   [AppName]                           0x1015b7824 -[TAGHitStore onExit:] + 367308
2  CoreFoundation                 0x181951644 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
3  CoreFoundation                 0x18195168c ___CFXRegistrationPost1_block_invoke + 64
4  CoreFoundation                 0x1819509e4 _CFXRegistrationPost1 + 368
5  CoreFoundation                 0x1819506bc ___CFXNotificationPost_block_invoke + 88
6  CoreFoundation                 0x1818cd414 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1412
7  CoreFoundation                 0x18195001c _CFXNotificationPost + 1236
8  Foundation                     0x181caf974 -[NSNotificationCenter postNotificationName:object:userInfo:] + 60
9  UIKitCore                      0x185aa1a3c -[UIApplication _terminateWithStatus:] + 300
10 UIKitCore                      0x18523f218 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 124
11 UIKitCore                      0x18523eea0 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 216
12 UIKitCore                      0x185a97ba4 -[UIApplication workspaceShouldExit:withTransitionContext:] + 212
13 FrontBoardServices             0x186b658a0 -[FBSUIApplicationWorkspaceShim workspaceShouldExit:withTransitionContext:] + 84
14 FrontBoardServices             0x186b909bc __83-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:withAcknowledgement:]_block_invoke_2 + 76
15 FrontBoardServices             0x186b76bfc -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 232
16 FrontBoardServices             0x186b9094c __83-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:withAcknowledgement:]_block_invoke + 124
17 libdispatch.dylib              0x1816bb524 _dispatch_client_callout + 16
18 libdispatch.dylib              0x181664434 _dispatch_block_invoke_direct$VARIANT$mp + 224
19 FrontBoardServices             0x186bb5850 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 40
20 FrontBoardServices             0x186bb551c -[FBSSerialQueue _queue_performNextIfPossible] + 404
21 FrontBoardServices             0x186bb5a44 -[FBSSerialQueue _performNextFromRunLoopSource] + 28
22 CoreFoundation                 0x181973c18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
23 CoreFoundation                 0x181973b70 __CFRunLoopDoSource0 + 80
24 CoreFoundation                 0x1819732f8 __CFRunLoopDoSources0 + 184
25 CoreFoundation                 0x18196e328 __CFRunLoopRun + 788
26 CoreFoundation                 0x18196dce8 CFRunLoopRunSpecific + 424
27 GraphicsServices               0x18bab838c GSEventRunModal + 160
28 UIKitCore                      0x185a9c444 UIApplicationMain + 1932
29  [AppName]                           0x100374324 main + 39 (AJOrdersRemoteConfigDomain.swift:39)
30 libdyld.dylib                  0x1817f58f0 start + 4

Relevant Code:
Google Tag Manager integrates without us having to call any code.

Do you know specifically which events are being evaluated when the crash happens (i.e. are they Firebase Analytics events)?

Do you know specifically which events are being evaluated when the crash happens (i.e. are they Firebase Analytics events)?

Crashes are happening when evaluating GA events.

Crashes are happening when evaluating GA events.

Looking through the code, it's not immediately clear that this crash is caused by Tag Manager or GA.
The first crashing stack trace is in JavaScriptCore and from what I found searching around the internet this is likely to be a memory issue.
The second is a crash in dispatch_async to a nonnull queue, which again should never happen under normal circumstances and may be a symptom of underlying memory issues.

Looking through the code, it's not immediately clear that this crash is caused by Tag Manager or GA.
The first crashing stack trace is in JavaScriptCore and from what I found searching around the internet this is likely to be a memory issue.
The second is a crash in dispatch_async to a nonnull queue, which again should never happen under normal circumstances and may be a symptom of underlying memory issues.

Is this still happening with the latest versions? We'll likely need more details to help here?

Yes, we can still see a significant number of users facing this crash in the latest version of the app. Please let me know the details required.

Based on @morganchen12's comments, it could be helpful to run with diagnostics and/or Instruments to look for memory issues in the app.


Property names starting with two underscores not handled correctly

VSCode Version: 1.12.2
OS Version: Win 10

Here's the code:
"use strict";

class Profiler {
	constructor() {
		/**
		 * @type {Set<DataSource>}
		 * @private
		 */
		this.__dataSources = new Set();
	}
}

module.exports = Profiler;

@oliversalzburg is this JS or TS?

The bug is the extra underscore in the suggestion, correct?
I believe this is fixed in our current insiders builds:

Give them a try and let me know if you still see this


XMLDocument BC Online

Since .net is not supported in BC online, what alternative we have to XMLDocument?

The al language has native XML support: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-restapi-overview.


Question: fourty vs forty

Hello,
https://github.com/floraison/fugit/blob/128e2ed642b799ec9d2acb139bd58a5e7633ce01/lib/fugit/nat.rb#L57
https://github.com/floraison/fugit/blob/128e2ed642b799ec9d2acb139bd58a5e7633ce01/spec/nat_spec.rb#L173
codespell identifies fourty as a typo, but since this is production code I didn't fix it and also it looks somehow legit because there are several occurrences of forty across many repositories: https://github.com/search?q="fourty+fifty"&type=code
I'm not an expert of cron, so I'm not sure if this is a "spec" typo (like "referer" without the double r in HTML) left there for historical reasons.
Of course fixing this issue would be a breaking change, so I guess that should be deprecated and workarounded manually and probably it's not worth
Refs:

https://www.grammarly.com/blog/forty-fourty/

Hello, thanks for pointing that out. I will fix that by myself.

Thanks again.


default cellrender in firefox

Hi,
In RowRenderer.prototype.putDataIntoCell
eGridCell.innerText = value;
doesn't work properly on firefox (at least under linux, firefox 36.0.1).
Cells are empty.
eGridCell.innerHTML = value;
works for me.

thanks civic9, will investigate

reproduced in firefox & windows

SetFilter.prototype.insertRow has similar problem.
valueElement.innerText = displayNameOfValue;

Now uses innerHTML instead. Tested in Chrome and FF. Checked in (but not released to web host yet, so online demo will still reference older version, will push to web host tonight). Thanks for raising the bug. :)

Instead of innerHTML you could use textContent and, if not available (on IE<=8) innerText instead.
Replacing innerText with innerHTML is a big semantic change. Because now all users need to escape all values.
In my opinion, this is a very dangerous change because it will (and probably already did) lead to security issues. Many people won't know that they need to escape the values. And even if they now, they can easily forget to do this at some places. Depending on where the values originate, there will be an HTML injection issue.
In some cases innerHTML could be a choice if you need to style the content. But even then it's probably safer to use some framework like AngularJS to render the content or create DOM elements and use appendChild().
In my opinion textContent/innerText should be the (safe) default and innerHTML should only explicitly be switched on via the api.


[CFE-433] Update Modal component

Updates the modal component to v4.1.1

Removes custom code for click event listener, uses CSS to achieve the same effect.
No more custom code present so this is a direct upgrade.
(Allow clicking/tapping on all parts of the backdrop to dismiss the modal)
Original map file and a new utility method (from BS v4.1.1) has been added

Yup that's right. The CSS property added pointer-events takes care of that and allows the click to fall through to the backdrop to be handled.


Laravel 8.46.0 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v8.46.0 branch.
Before merging, you need to:

Checkout the shift-ci-v8.46.0 branch
Review all pull request comments for additional changes
Run composer update
Test your application (no tests?)

:warning: You are running version 4.6.0 of spatie/laravel-translatable. The latest version is 5.0.0. You should review this dependency to see if you can upgrade to the latest version.

:information_source: If you are running PHP 8 be sure to run composer update locally to ensure you have the proper versions of your dependencies to reflect your PHP 8 environment.


Spanish translation of the repository content

Hello 👋!
I've translated all text (from English) into Spanish (es_ES). The only things that weren't translated: title of the readme and link placeholders.
According to the other branches, I've created the "es_ES" branch. As I see it shouldn't be merged into "main" but instead keep it as a separate branch.

Issue corresponding to this pull request: #9.

Hi @JoseDeFreitas  Awesome!! Thanks a lot for your effort here ⭐ That is impressive!
Unfortunately I had to revert changes. The PR changed the main readme.md file.
Sorry, my fault (too fast & before first coffee), that I didn't check.. ☕ Btw, that's great because I know Spanish basics, so I had an opportunity to remind a little bit. Thanks again!
I fixed this, the Spanish version was added & given link to your repo. Is it fine for you?
Best wishes,

Hello @mbiesiad!
Thank you a lot for your comments.
About the other thing, there's no problem. It was my fault first as I created the es_ES branch from the main branch and started working but then I realized you couldn't of course merge it 🤦♂. If you want you can create the branch by yourself in your repo and just copy the text I wrote in the readme file of my es_ES. If not I can keep the repo so people can access it, no problem at all, it's fine.
As I said, thank you for your good comments. Hope you have an awesome day 😄.


eager import.meta.glob ignores conditionals

Describe the bug
Description
Trying to conditionally eager glob import a dependency like so:
if (import.meta.env.VITE_ENABLE_WDYR) {
  import.meta.glob('./wdyr.ts', { eager: true });
}

Expected behavior:
wdyr.ts is imported only when VITE_ENABLE_WDYR is true
Observed behavior:
wdyr.ts is imported regardless of the conditional being true or false
Reproduction
See the included repro link.
Note in main.js the two if statements, and confirm the console is showing both log statements, when it should only be showing one.
Check the browser console on this page.

Reproduction
https://stackblitz.com/edit/vitejs-vite-ayyvwv?file=main.js
Steps to reproduce
No response
System Info
System:
    OS: Linux 6.0 Pop!_OS 22.04 LTS
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
    Memory: 46.90 GB / 62.60 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 14.19.0 - ~/.nvm/versions/node/v14.19.0/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 8.6.0 - ~/.nvm/versions/node/v14.19.0/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 109.0.5414.74
    Firefox: 108.0
  npmPackages:
    @vitejs/plugin-basic-ssl: ^1.0.1 => 1.0.1
    @vitejs/plugin-react: ^2.2.0 => 2.2.0
    vite: ^3.2.5 => 3.2.5

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

@tomholford I don't think it's a bug. If you want to control whether to import in the if condition, it means that vite needs to know whether the if condition will be executed at runtime during the transform process. I think this is unrealistic.If want to implement dynamic import, maybe we can add an attribute to the second parameter. The value of this attribute is a key in env, and then vite decides whether to import according to the value of env during the transform process. like below：
import.meta.glob('./src/*.js', { eager: true, ignoreImport: 'a certain key in env' })

I don't know if it's worth it @sapphi-red

Yeah, I don't think it's a bug. It's documented that the eager glob's are transformed to static imports which isn't possible to exist in non top-level.
For that case, I think it's not so difficult to achieve by a plugin and IMO not worth adding an option.

Okay thanks @sapphi-red and @chenfan0, closing as not the intended behavior for this feature


Extend shell "preflist" command to show partitions.

Modifying StoreClient interface will create issues for existing implementers of this interface.
I believe StoreClient exposing getReponsibleNodes is already a bad leaky abstraction and the partition should not also be leaked in there.
I see a new pull request with more contained fix. So closing this one.


Mir update & fixes

Current coverage is 73.11% (diff: 87.50%)

Merging #33 into master will decrease coverage by 0.13%

@@             master        #33   diff @@
==========================================
  Files            25         25
  Lines          2610       2604     -6
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           1912       1904     -8
- Misses          698        700     +2
  Partials          0          0

Powered by Codecov. Last update 7373086...9835802

This is great, thanks!
I really like GLAS L1 functions in norm - I was hoping something like this would come up in Mir some day, good job! I also think we should deprecate norm - imho function like that should not reside in DCV, but rather in Mir - and now with new mir.glas.l1 api we have it!
I'll continue the #35 discussion in the issue.
Merging this! :)


React SSR handleActions  cache bug

Under React SSR, when using handleActions, the current state will be cached, causing data confusion.
export default handleActions(
  {
    [SET_PART_DESCRIPTION_INFO]: (state, action) => ({
      ...state,
      ...action.payload
    })
  },
  initialState
);

const store: any = createStore(createReducer(), null, applyMiddleware(thunkMiddleware));

// get cache state data
store.getStates();

I create a store every time, but after creation, I can get the data of the previous page through getState
When I switch to the original writing method, there is no such problem
  switch (action.type) {
    case SET_PART_DESCRIPTION_INFO:
      return { ...state, ...action.payload };
    default:
      return state;
  }

Through this method, it is found that export default handleActions should return a global method, which causes initState to be cached, but looking through the documentation.  Does not provide a return function form.
// function
export default () => handleActions(
  {
    [SET_PART_DESCRIPTION_INFO]: (state, action) => ({
      ...state,
      ...action.payload
    })
  },
  initialState
);

I can only use native methods。

I will close this issue, if it is still an issue feel free to comment and reopen it :)


Dynamically identify modules for typestub gen, address new issues

We were failing to generate a type stubs for a few modules that use synchronicity because we had a hardcoded list. I addressed a TODO to make generate the list of modules dynamically. This caused a few new typing issues to pop up; I think we might encounter a few more in CI too.

@prbot approve


💥 Dropdown updates

Attached find png of visuals and change log.
For input select

[ ] Chevron Base 800
[ ] Hover input border Base 500
[ ] Selected input border Base 500 chevron pointing up

For input select expanded section

[ ]  Box shadow: 0 0 12px 0, 10% black (Maybe we can lab with this in code to get something we like?)
[ ] Hover expanded value background Base 100
[ ] Selected value font-weight medium, FA check icon aligned right
[ ] Hover selected value background Base 100
[ ] Search bottom border Base 200

Please let me know if I missed any specifications 🥰 and if you want me to write this in a different way.
I have not specified any hover on the selected input select,  maybe that is something we could try out in code?

Addition to Dropdown update:
We added a small variant, 32px.
Do you need anymore specs on that?


IE11 doesn't actually support 'const'.

Officially it does, but there are breaking bugs. For instance, calling 'eval' on code with 'const' will throw a 'cont not defined' error.

My bad, I was missreading minified code.


Refactor object copying

This was purely meant to be a code tidying exercise, but I'm not complaining.

I don't think I agree with this change.
You'll need to explain the motivation of this change and what it achieves. It would take a fair amount of effort for me to review all these changes and convince myself that the functionality is unchanged and that the new implementation is better than the old one. Can you give me some hints? In particular, it's hard for me to see how this preserves the essence of what unsafeShallowCopy does, which is explicitly to copy only top-level keys. Also, I prefer shallowCopy() to copy(true). With copy(true), you have to look at the documentation to know what it does.

My initial motivation was twofold - (1) simplify the code and make it easier (for me) to understand, and (2) move functionality out of QPDFObjectHandle. For both of these purposes I moved the copy functionality to the QPDFValue subclasses, which know how to copy themselves.
I am not hung-up on the names. The existing QPDFValue::shallowCopy methods are true shallow copy methods (likeQPDFObjectHandle::unsafeShallowCopy). The new functionality added is to allow the whole object to be copied (like QPDFObjectHandle::shallowCopy).
I went for the option of having a parameter to control which of these behaviors is required because for all QPDFValue  types except arrays and dictionaries the code for a "unsafeShallowCopy" and a "shallowCopy" are identical.
While not necessarily anticipated, I am seeing a performance improvement of around 4%.

I had not run a performance test on this, but now I understand why you said "I'm not complaining."
I wonder whether we can better isolate the part that gives the performance gain. Can we also guarantee that we didn't lose the distinction between unsafe and regular shallowCopy?
I'll take another pass through and make specific suggestions. Thanks for the clarification. It would be helpful when you present a pull request with a bunch of changes and refactoring to provide an explanation so I have some context. Otherwise, I'm just looking at a bunch of changes out of context and having to go through the exercise of figuring out whether the changes are safe (which they usually are but I like to verify), whether I think they improve the code (which I usually think they do but not always), and what the benefit is.

Can we also guarantee that we didn't lose the distinction between unsafe and regular shallowCopy?

I have pushed up a couple of intermediate commits that I hope demonstrate that the distinction has been maintained.


SOLR-17359:Fix for 'solr start -e cloud' example on Windows

https://issues.apache.org/jira/browse/SOLR-17359

Description
Running "solr start -e cloud" fails to bring up the example cluster with below error.
Starting up Solr on port 8983 using command:
"C:\Work\Git\ApacheSolr\solr\solr\packaging\build\dev\bin\solr.cmd" start --cloud -p 8983 -s "C:\Work\Git\ApacheSolr\solr\solr\packaging\build\dev\example\cloud\node1\solr"
Invalid command-line option: --cloud
Reason is solr.cmd doesn't support Linux style long form option --cloud as sent by RunExampleTool.java
Solution
Please provide a short description of the approach taken to implement your solution.
Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
Checklist
Please review the following and check all that apply:

[ ] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[ ] I have created a Jira issue and added the issue ID to my pull request title.
[ ] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[ ] I have developed this patch against the main branch.
[ ] I have run ./gradlew check.
[ ] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

Oh awesome!


Pass class name to AlgoliaIndexer::deleteItem

It doesn't look liked item deletion was updated to work with the UUID stuff. I added the class name of the object to remove to the deleteItem method and updated calling contexts.
I added a few tests to test the return value of the method. I wasn't sure of a good way to test the queue-related functionality, as I don't have a project handy for that, and there wasn't any testing infrastructure for that type of context.

I've been trying to rewrite delete to not use the class to avoid the issue where a class name changes, ie changing page types

I'm not sure I follow. The way the class name is used here, we're just using to retrieve the object from the Silverstripe database. I don't think this would be affected by the page type changing?

Sorry was on mobile, should have checked the actual diff.


Short solution needed: "ffmpeg version" (ffmpeg)

Please help us write most modern and shortest code solution for this issue:
ffmpeg version (technology: ffmpeg)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

How to get current ffmpeg version


Robyn Python API - Internal Server Error 500 | Unable to track the logs

Project Robyn
Issue
On a linux machine, I am able to connect to the Robyn API using ! Rscript <path_to_apifile>/robynapi_call.R &. I am able to access the dummy data fine. However I am unable to run InputCollect = robyn_api('robyn_inputs',payload=payload) and it throws an Internal Server Error 500. I am unable to view the logs since there is no Robynlog.txt needed to connect to the API.
This works perfectly fine on windows machine. However I have trouble running it on Linux and unable to find the cause.
Dataset used: dummy dataset

Hi @apoorvabc,
Can you share the demo jupyter you are running? You may not be executing the correct cell.
Or can you try MAC option to use subprocess.Popen()?

# Constants
API_IP = '<IP_ADDRESS>'
TIMEOUT = 1
WAIT_TIME = 5

# Logger setup
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)

def is_port_open(port):
    command = "sudo netstat -tulpn | grep :{}".format(port)
    process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    output, _ = process.communicate()

    return process.returncode == 0 and (":{}".format(port) in output.decode())

# Example usage:

def terminate_port(port):
    # Find the process using the specified port and terminate it
    try:
        pid = subprocess.check_output(['lsof', '-ti', f':{port}']).decode().strip()
        os.kill(int(pid), signal.SIGTERM)
        print(f"Process using port {port} terminated")
    except subprocess.CalledProcessError:
        print(f"No process found on port {port}")

def linux_run_and_check_port(r_script_path, port):
    # Run R script
    print (os.getcwd())
    rscript_command = f"Rscript {r_script_path}"
    print("rscript_command is", rscript_command)
    subprocess.Popen(rscript_command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    time.sleep(WAIT_TIME)

    # Check if the port is open
    if is_port_open(port):
        print(f"R script is running on port {port}")
    else:
        print(f"Failed to start R script on port {port}")

Just an FYI I am able to run the Allocator function using the same API connection by using the saved payload  allocator_response = robyn_api('robyn_allocator', payload=payload)

@apoorvabc : Could be a API initiaitiation issue on linux. Can you append a message file to end of linux api start command and share that file?

Hello @ebyjose, I was able to extract the logs and figured out there was an issue with the nevergrad installation on the docker container. Managed to fix the installation and I am able to build the model fine. This now stands resolved.


it said that chrome detected unusual code. Please fix this as i cannot proceed to the next challenge!

Challenge Create a Form Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Click here for cat photos.

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

<input type="text" placeholder="cat photo URL">
<form action="/submit-cat-photo"></form>

@CarmenSam Following your link, I was able to reproduce the issue in Chrome 58.0.3029.81 (64-bit) on Mac OS X 10.11.6, however, I think the issue may be somewhere in that URL.

Possible fix:
Open a new tab in your browser and paste in https://www.freecodecamp.com/challenges/create-a-form-element  This appeared to resolve for me. (Tested on Chrome 58.0 and FireFox 53.0.)

@CarmenSam thanks for the issue. This appears to be a duplicate of https://github.com/freeCodeCamp/freeCodeCamp/issues/13727. So I'll be closing this.
@VitaC123 thanks for the suggest. Feel free to go to the issue I've linked and share that bit of information.

thanks for the report, and we confirm that this is a known issue, check #13727
Closing as a duplicate.


Website documentation is broken

Hello,
First of all thank you for this amazing plugin. I know it's not maintained anymore, but something annoying has happened lately, website documentation is no more usable (tabs dont work, same for demos)
Any way to look into it?

Hi @Herz3h
Thank you for the warning. I've upgraded my server recently and may have broken something.
I'll have a look soon.
Thanks for your report!
A


Fix small typo in readme

Fixing a small typo. 😄

TMYK 😉

Merged into Master, but won't be adding an NPM patch for this. It will make it into the next version 👍


Inline toolbar

Coverage increased (+0.2%) to 58.307% when pulling ccfa408758fde7c058ce93df0c3f856adec4bb02 on inline-toolbar into d4e2e459af732099aa53284d1bf48df7f571c341 on master.


M3-2608 Move Advanced Config to own Tab

Move Advanced Config to own Tab
This PR places the advanced config panes under its own tab on the Linode Details, preventing it from being buried under settings. This allows more visibility for the feature, which has been a consistent customer feedback. I moved all related files under a linodes > LinodeDetail > LinodeAdvanced and adjusted the styling and some logic since we needed to remove the accordion
Type of Change

Non breaking change ('update')

Applicable E2E Tests
N/A
Note to Reviewers
A couple unrelated things that could use improvements, but I'd like feedback to see what we need to do, and if it should be handled in a separate PR.

maybe a bug
Delete a disk, then re-add that disk and reboot your linode with it. Events seem inaccurate

Errors could use a better treatment when creating a config
create a config, fill label and Root device, you get You must select a valid Disk or Volume as your root device. which is misleading. what should happen here is to have the error above the Block Device Assignment section and scroll there. Lastly, once this is filled and the label is missing, the error will be invisible bc there is no scroll to the top of the drawer where the label is missing

@WilkinsKa1 good catch! addressed


Objects for outgoing data

Don't rely on strings. Use objects.
[02:03] <NanoSector> also, what do you think of passing objects as outgoing data instead of just strings
[02:03] <NanoSector> like
[02:03] <amunak> I mean we can just use its server for now, perhaps the application loop and stuff, and we can rewrite whatever else is left later
[02:03] <NanoSector> $this->bot->out(new IRCCommands::notify($user, $message));

We're using the Phergie Generator for this now. Closing as such.


feat: new NonLinearReading component

Contributes to #3602
The non-linear reading component (usage) provides a way to explain concepts more broadly and succinctly while allowing users to read more detail as needed without leaving their context.
What did you change?
This is a new component.
How did you test and verify your work?

[x] Migrated from Carbon v10
[x] Storybook review
[x] Design reviewers: Cameron Calder, @sdignum, Bridget Ndege.

FYI
For someone reason the previous PR #3773 was marked "waiting for author" and got lost in the shuffle. With the major SCSS changes that happened in the interim, it was too out of date to fix.

...It looks like the other N2P components in v2 need this update as well but you can add those separately

I'll make a note and update the other N2P component SCSS files after finishing the Guidebanner component.


Create dataset loader for IndQNER

NusaCatalogue: https://indonlp.github.io/nusa-catalogue/card.html?indqner

Dataset
indqner

Description
IndQNER is a NER dataset created by manually annotating 8 chapters in the Indonesian translation of Quran text. The dataset consists of 2476 named entities from 18 categories. Each named entity is labeled using BIO (Beginning-Inside-Outside) tagging format.

License
Unknown

#self-assign

#self-assign

Closed in https://github.com/IndoNLP/nusa-crowd/pull/326


[FEATURE]frida+go编译出现

github.com/frida/frida-go/frida
github.com\frida\frida-go\frida\application.go:3:10: fatal error: frida-core.h: No such file or directory
//#include <frida-core.h>
^~~~~~~~~~~~~~
compilation terminated.

Closing as there is no activity.

Take a look at #4

good resolved


CosmosDb Mongo API free tier information inaccuracy

Page says "The first 1000 RUs per second are free with Free Tier." which is not accurate.
Free tier includes only 400 RUs per second.

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

ID: 958fb2c2-c1b8-5a1b-09db-8f255bf07778
Version Independent ID: 5bf25011-d90e-8e9c-e330-7952cf0c71b0
Content: Introduction to Azure Cosmos DB API for MongoDB
Content Source: articles/cosmos-db/mongodb-introduction.md
Service: cosmos-db
Sub-service: cosmosdb-mongo
GitHub Login: @gahl-levy
Microsoft Alias: gahllevy

@steavy29 Thank you for the feedback. We are actively investigating and will get back to you soon.

@steavy29 free tier used to offer 400 RU/s and 5 GB storage earlier. This feature was updated in May and the limits were increased to 1000 RU/s and 25 GB storage. You can confirm that from the Azure portal. When creating a Mongo DB account from the portal, free tier limits are displayed.

@SnehaGunda Thanks for providing the details.
@steavy29 Please let us know if there are further questions regarding this matter, and we will gladly continue the discussion.

@SnehaGunda thank you for clarifying that. I somehow missed that update of free tier limits.
Will close this issue now.


[Feat] Add Street Search

See epic issue: https://github.com/hasadna/anyway-tasks/issues/3

Hi @BrkCoder,
So one API that returns all yishuv_name values, and
Another that receives yishuv and returns all its streets?
Did I get it right?

@ziv17 hi ziv, yes. you got it right. i will be working on the frontend. please let me know when api  is ready. thank you :)

Hi @Harduf-l,

/api/city returns all the cities
/api/streets?yishuv_symbol=154 returns all streets of yishuv
The /api/infographics-data now receives also location parameters instead of news-flash, e.g.
/api/infographics-data?street1_hebrew=דרך ששת הימים&yishuv_name=רמת גן&years_ago=3&lang=en
/api/infographics-data-by-location?yishuv_symbol=5000&street1=2426&years_ago=3&lang=he
/api/infographics-data?road_segment_id=60008&years_ago=5&lang=he
All these are already in the master branch

@ziv17 @danielsh28
thank you ziv!
when i run the queries in my url browser, it works fine.
but inside the project i get the following error:

is it possible that my user doesn't have the right access?
I do a regular axios request like that:
export const fetchCitiesList = async (): Promise => {
try {
const getCitiesUrl = '/api/city';
const response = await axios.get(getCitiesUrl);
return response.data;
} catch (error) {
console.error(error);
}
};

Hi @Harduf-l, I think it worth to try it from your browser


Error loading data when installed with pip

>>> from mil.data.datasets import musk1
>>> (bags_train, y_train), (bags_test, y_test) = musk1.load()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/mil/data/datasets/musk1.py", line 7, in load
    return load_data(current_file + './csv/musk1.csv')
  File "/usr/local/lib/python3.7/site-packages/mil/data/datasets/loader.py", line 10, in load_data
    df = pd.read_csv(filepath, header=None)
  File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 676, in parser_f
    return _read(filepath_or_buffer, kwds)
  File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 448, in _read
    parser = TextFileReader(fp_or_buf, **kwds)
  File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 880, in __init__
    self._make_engine(self.engine)
  File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 1114, in _make_engine
    self._engine = CParserWrapper(self.f, **self.options)
  File "/usr/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 1891, in __init__
    self._reader = parsers.TextReader(src, **kwds)
  File "pandas/_libs/parsers.pyx", line 374, in pandas._libs.parsers.TextReader.__cinit__
  File "pandas/_libs/parsers.pyx", line 673, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] File /usr/local/lib/python3.7/site-packages/mil/data/datasets./csv/musk1.csv does not exist: '/usr/local/lib/python3.7/site-packages/mil/data/datasets./csv/musk1.csv'

package was installed with pip.

Problem might be a linux vs windows issue, the result of the code:

from mil.data.datasets.loader import load_data

current_file = os.path.abspath(os.path.dirname(__file__))
def load():
    return load_data(os.path.join(current_file, './csv/musk1.csv'))
    ```
Isn't putting the necessary file separator between what comes out of `current_file` and the './csv/musk1.csv'

I would recommend taking out the preceding ./ and replacing the line with `return load_data(os.path.join(current_file, 'csv/musk1.csv'))`, I believe this will work.


Websockets

First working solution with WebSockets. There is definitely still some space for improvement. Take it as minimal mergeable PR :)
Each edge agent communicates with its own mediator via WebSockets. The communication from Alice to Bob goes through Bob's mediator via HTTP. Then bob gets the message from the mediator via WebSockets and vice versa.
I basically copy-pasted e2e.test.ts and mediator.ts files to e2e.ws.test.ts respective mediator.ws.ts. We could have just one mediator, maybe even one e2e test file, after we add multiple inbound transporters which I would like to do as the next step.

Thanks @TimoGlastra and @JamesKEbert for the helpful discussion and explanation of the mediation protocol in our last call. I went through the code and specs again and I understand it a little bit more. I still have some questions but also some ideas about the implementation.
First of all, I read the Aries RFC 0025: DIDComm Transports and it says:

“POST requests are considered transmit only by default. No agent messages will be returned in the response. This behavior may be modified with additional signaling.”
“Websockets are considered transmit only by default. Messages will only flow from the agent that opened the socket. This behavior may be modified with additional signaling.”

Do I understand correctly that “This behavior may be modified with additional signaling.” means Aries RFC 0092: Transports Return Route?
Regarding the implementation, we should probably solve the problem with sendAndReceiveMessage  and return_route before we do the change from socket.io to WebSocket implementation.
I implemented the current solution in a way to achieve some sort of synchronicity to establish a connection with a mediator. I realized that we can achieve the same with the same or similar concept like returnWhenIsConnected. That would mean just create and send a message and wait for the rest to be handled by the framework.
// Simplified code
const connReq = await this.connectionService.createRequest(connection.id);
await this.messageSender.sendMessage(connReq);
await returnWhenIsConnected(conn)

This change will require some changes in HttpOutboundTransporter and downloadMessages implementation. Before that, I just want to be sure I understand the DIDComm Transports and return_route correctly.
If return_route is set, then a request message sender wants to receive a response message via the same transport channel as it sent the message. It means that the mediator will send an outbound message via HTTP response for HTTP request and via the same socket ID for WebSocket connection. If the return route is not set, then an outbound message should be send according to the information from a connection DIDDoc. An agent should decide outbound transport channel based on information from the DIDDoc (http endpoint or indication to store the message in case of didcomm:transport/queue endpoint) together with current transport state in transport service (connected socket ID in case of ws transport).
An edge agent connected to a mediator can set return_route and get message response via HTTP response or as WebSocket message. If the edge agent doesn’t set return_route  the mediator just stores messages and the edge agent doesn’t get them until it sends batchPickup message with return_route.
Is my understanding correct? :)

Do I understand correctly that “This behavior may be modified with additional signaling.” means Aries RFC 0092: Transports Return Route?

Yep!

Is my understanding correct? :)

Yeah seems about right

@jakubkoci can this be closed now that we have #256?

Replaced by #250


Problems with SortingIcon when reordering columns

Describe the bug
I changed the HeaderGrid in a CollectionView for re-order the columns from there, but if i sort a specific column and then move it, when i try to sort again that column, an Exception is thrown: 'System.Runtime.InteropServices.COMException' in WinRT.Runtime.dll (No installed components were detected)

Is this with version 3.0 ?

yes, it should be version 3.0.
sry for late reply but i was on holiday ;)

This may require new sorting logic that works based on the property name, rather than the index. Since the index could change.
We will probably leave the index approach for backwards compatibility, but if you sent a working PR that solves the issue using an additional bindable property, and leave the existing ones, then you could post it for review
Here's some thoughts to get you started:

Update the SortData class to include the PropertyName instead of the index. This way, you can identify the column to sort by its property name, which remains consistent even if the columns are reordered.

Modify the CanSort method to find the column by its property name.

Update the GetSortedItems method to find the column by its property name.

// Modify the SortData class to include the PropertyName
public class SortData
{
    public string PropertyName { get; set; }
    public SortingOrder Order { get; set; }

    public SortData(string propertyName, SortingOrder order)
    {
        PropertyName = propertyName;
        Order = order;
    }
}

// Update the CanSort method
private bool CanSort(SortData? sortData)
{
    // ...
    if (sortData?.PropertyName == null)
    {
        Console.WriteLine($"Please set the {nameof(sortData.PropertyName)} of the column");
        return false;
    }
    var columnToSort = Columns.FirstOrDefault(c => c.PropertyName == sortData.PropertyName);
    // ...
}

// Update the GetSortedItems method
private IList<object> GetSortedItems(IList<object> unsortedItems, SortData sortData)
{
    var columnToSort = Columns.FirstOrDefault(c => c.PropertyName == sortData.PropertyName);
    // ...
}

// Update the SortAndPaginate method
private void SortAndPaginate(SortData? sortData = null)
{
    // ...
    if (sortData != null && CanSort(sortData))
    {
        sortedItems = GetSortedItems(originalItems, sortData);
    }
    // ...
}

// Update the TapGestureRecognizer Command in the GetHeaderCell method
var sortRecognizer = new TapGestureRecognizer
{
    Command = new Command(() =>
    {
        var order = column.SortingOrder == SortingOrder.Ascendant ? SortingOrder.Descendant : SortingOrder.Ascendant;
        SortedColumnIndex = new SortData(column.PropertyName, order);
        column.SortingOrder = order;
    }, () => column.SortingEnabled)
};

These changes may ensure that the sorting mechanism identifies the correct column to sort, even after the columns have been reordered.

Can you build a reproducible test case, and link the repository?

I link the Repo i've been working where i have this problem: https://github.com/leonianto/Test.Maui.DataGrid/tree/temp
Maybe if it could be also a feature directly implemented in your DataGrid because a lot of licensed DataGrid has this. Thanks

I believe that I just fixed this as of commit: https://github.com/akgulebubekir/Maui.DataGrid/commit/7361ece12a48c3efb2f5a93c55be2f58e73d8ba5


ibm-etag-headers bug fix

PR summary

The rule function did not account for missing required properties in parameter
objects and as a result, would crash when they were encountered. This commit
adds handling for this edge case, so that the rule will not crash.
Additionally, errors coming from the nimma package in Spectral bury the relevant info
and have been notoriously unhelpful for users and developers alike. This
commit updates the logic to parse out the helpful information and display
it in the error logs.
Resolves #616

:tada: This PR is included in version 1.4.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.4.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket: