[BUG] cant use macros in conditions

Describe the bug
here is the code:
$if (resist.effect.$(effect_type):@s[type=!player] == true) {

and here is the error:
JMCValueError
In src/code/arthealth/combat.jmc:91:10
Unrecognized condition 'resist.effect.$' at line 91 col 10.
90 |
91 |    $if (resist.effect.$(effect_type):@s[type=!player] == true) {
             ^^^^^^^^^^^^^^^
92 |      $effect.resist = true;
Consider using one of the following: biome, block, blocks, data, dimension, entity, function, loaded, predicate, score.

To Reproduce
try using a macro thats not wrapped in quotes in a condition
Desktop

windows os
latest jmc build from github as of this day

Additional context
after some testing its actually the extra bracket in the macro reference that causes this issue.

This is a duplicate of https://github.com/WingedSeal/jmc/issues/98

This is a duplicate of #98

Personally I would've closed #98 and kept this one open, since #98 is a more specific version of this one.


Postman Quickstart needs refreshing

This page is outdated in a few regards:

Some links are broken, eg. the one to the now removed PostmanBeta repo
The screenshots of Postman are very outdated, and instructions might be different today.

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

ID: 94cbc73e-6e15-1f64-9454-ac7755422878
Version Independent ID: 9bbdcfc1-5832-2be3-31dd-466942a32263
Content: Quickstart PlayFab REST API collection for Postman - PlayFab
Content Source: playfab-docs/sdks/postman/postman-quickstart.md
Product: playfab
GitHub Login: @nathankong-microsoft
Microsoft Alias: timcra

This is good feedback, thank you.

PostmanBeta continues to exist, but it's private. We should probably add some instructions about requesting access via the forums.
Yes, the look and feel of Postman has changed dramatically since this guide was written, and could use an update.

@Structed Thanks for reporting and apologies for the lack of response. The page was updated after you submitted this issue, but we wanted to check if that addresses your concern or more updates are required.

Broken links have been updated, no further update planned unless there are specific issues that get reported, which we're very happy to look at.


Plugins response added

It seems fine to me. Tested Put/Get/Delete of Plugins and Drivers through Swagger.


Exclude DerivedData from linting

Should fix this kind of failure (when Xcode / CL tools use local DerivedData folder): https://github.com/matrix-org/matrix-rich-text-editor/actions/runs/6584730655/job/17890374579?pr=850

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9d60d40) 87.77% compared to head (9b1d470) 89.43%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #853      +/-   ##
============================================
+ Coverage     87.77%   89.43%   +1.66%
============================================
  Files           163       84      -79
  Lines         18635    15231    -3404
  Branches        976        0     -976
============================================
- Hits          16357    13622    -2735
+ Misses         2025     1609     -416
+ Partials        253        0     -253

Flag
Coverage Δ

uitests
?

uitests-android
?

uitests-ios
?

unittests
89.43% <ø> (+3.38%)
:arrow_up:

unittests-android
?

unittests-ios
?

unittests-rust
89.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 79 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Kaiwa can't connect on my ejabberd

Hi all,
I setting up a Kaiwa Client for use with my ejabberd server but, when I try to logging in, I have for a few second the connexion page (Connexion...) and it's redirect me on the login page. I tryed with Firefox and Chrome.
My ejabberd log's shows nothing.
kaiwa config :
{
"isDev": true,
"http": {
"host": "courstream.unice.fr",
"port": 8000
},
"session": {
"secret": "shhhhhh don't tell anyone ok?"
},
"server": {
"name": "Kaiwa",
"domain": "courstream.unice.fr",
"wss": "wss://localhost:5281/websocket/",
"muc": "conference.courstream.unice.fr",
"startup": "groupchat/room%40conference.courstream.unice.fr",
"admin": "admin"
}
}
ejabberd running on the same server as kaiwa.
Thanks you in advance for your help.

Hi,
I got Kawai running with ejabberd.

Make sure, you have websockets enabeled in your ejabberd.yml

    port: 5284
    module: ejabberd_http
    certfile: "/etc/ejabberd/ejabberd.pem"
    tls: true
    web_admin: true
    http_poll: true
    http_bind: true
    request_handlers:
       "/websocket": ejabberd_http_ws

Configure Kawai through dev_config.json

{
    "isDev": true,
    "http": {
        "host": "yourpublicIP",
        "port": 8000
    },
    "session": {
        "secret": "someverysecretsecrets"
    },
    "server": {
        "domain": "yourdomain.com",
        "wss": "wss://yourdomain.com:5284/websocket"
    }
}

Above configuration should set up server and Kawai client. Try to login through Firefox. This browser is unreliable, login often fails, but with Chrome I had no success at all.
Cheers


Distribution solution and "single process" operation mode for client hardware

The SCB needs to be shippable with the app platform. For this reason, we need to be able to compile and distribute an executable for multiple platforms. We also can't use Docker as the default process management solution. This solution remains a sensible default for those running the SCB as a server-side application.
The solution:

Write an entry point for the application that spins up all of the SCB modules in a single process. If we can achieve this, it will be much much simpler than trying to manage processes from a clients machine with PM2 or similar.
Bundle our application with https://github.com/zeit/pkg for major platform targets. This package definitely appears to be the best in class for the cross-platform distribution of NodeJS applications
Get Jenkins to cross-compile all build targets on develop, master and PRs. We can just cache the artifiacts on Jenkins for now, and handle the hook in to GH on release at  a later stage.
Run the SCB E2Es on Jenkins against both the docker stack and the new process management solution to ensure both remain functional

Implementation #81


No update

Replaces workflow dropping OXCGRT records with update phrases with a workflow labelling them as "not of interest" and who_code == 10.

Also adds phrase "no change" to config.

Closes #68 and #73.


I just installed proxmox 6.1 via pxe with this script.

Hi,
I want to let you know that this script works on proxmox 6.1 too. I just installed using your script to  convert iso.
Thanks
I used lpxeboot.0 with the following config:
menu label ^7) Proxmox 6.1
LINUX http://server/proxmox61/linux26
append initrd=http://server/proxmox61/initrd.iso.img vga=791 video=vesafb:ywrap,mtrr ramdisk_size=16777216 rw

Thanks for your hint!

Hi,
i used it to day for installing Proxmox 6.2.1 over pxe script works really fine .. thanks for this, on my "old" HP Prolian ML115 G5 is just had to use the following PXE Entry:
label proxmox-install-hp
menu label Proxmox 6.2.1
kernel proxmox/linux26
append initrd=proxmox/initrd.iso.img vga=791 video=vesafb:ywrap,mtrr ramdisk_size=166777216 linux ext4 maxroot=4 swapsize=4 splash=verbose
because with the other entry you mentioned i got a kernel-panic ..


Web - App displays waypoint address page briefly on click on 'Go back to Home page'

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the app
Open request money
Click on distance
Click on Start/Finish
Copy the URL
Modify number in the end of URL and send it to any chat (this is to trigger 'Hmm its not here' page)
Click on link, it should display 'Hmm its not here' page
Click on 'Go back to Home page' and observe that it displays waypoint address page in transition

Expected Result:
App should not display any other page on click on 'Go back to Home page'
Actual Result:
Waypoint page is briefly displayed when clicking on 'Go back to Home page'
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/c951721c-0844-4a82-b069-ca1a9c4da75c
https://github.com/Expensify/App/assets/93399543/11757bad-853c-45d7-8f15-b7490af073b9
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693910663601209
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
App displays waypoint page in 'Go back to home page' transition
What is the root cause of that problem?
https://github.com/Expensify/App/blob/5c138163049ef0f036d46c4359c51fcde673066f/src/pages/iou/WaypointEditor.js#L166
When clicking going back, the isFocused in shouldShow condition will be false, then shouldShow will be false and the content inside it will appear.
The isFocused is added here to fix an issue appeared unexpectedly and not related to the PR here https://github.com/Expensify/App/pull/25977#issuecomment-1699909081

"when deleting a waypoint, the Not Found screen became visible for a few milliseconds during the animation"

And it fixed by isFocused, and it fixed correctly, but the fix not cover this case.
What changes do you think we should make in order to solve the problem?
We need to remove isFocused from shouldShow condition and it will work fine.
We will replace isFocused with a new fix for:

"when deleting a waypoint, the Not Found screen became visible for a few milliseconds during the animation"

When start deleting, we will save state and use it in shouldShow to prevent showing Not found page.
// define state
const [didDelete, setDidDelete] = useState(false);

// set it here
const deleteStopAndHideModal = () => {
    setDidDelete(true);
    ...
};
//and here
const onSubmit = (values) => {
  ...
  // Allows letting you set a waypoint to an empty value
  if (waypointValue === '') {
      setDidDelete(true);
      ...
  }
}

// use it here
<FullPageNotFoundView
  shouldShow={(Number.isNaN(parsedWaypointIndex) || parsedWaypointIndex < 0 || parsedWaypointIndex > waypointCount - 1) && !didDelete}>

Now if this part parsedWaypointIndex > waypointCount - 1 return true, the new part && !didDelete will prevent it
What alternative solutions did you explore? (Optional)
N/A

Proposal by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693910663601209
Proposal
Please re-state the problem that we are trying to solve in this issue.
We are solving the problem of app displaying waypoint page in transition of go back to home page
What is the root cause of that problem?
Currently we have isFocused check in shouldShow check of FullPageNotFoundView of WaypointEditor page. When we click on 'Go back to home page' on waypoint page, it removes focus from address field making isFocused false
What changes do you think we should make in order to solve the problem?
We cannot keep the focus on address field on 'Go back to home page' click as we are using native component for that part. Ideally, we can remove isFocused condition to solve the issue.
We can do that by changing the code here
<FullPageNotFoundView shouldShow={(Number.isNaN(parsedWaypointIndex) || parsedWaypointIndex < 0 || parsedWaypointIndex > waypointCount - 1)}>

What alternative solutions did you explore? (Optional)

@thesahindia could you review the proposals here?

@thesahindia
Steps to reproduce:

Click fab icon > request money > distance.
Click add stop.
Open the last stop "in the video case it is the finish stop".
Click the three dots on the header and delete this stop.

Notice while navigation back animation the Not found page appear for mills.
https://github.com/Expensify/App/assets/41129870/bbc76d49-2f0b-4b73-bc95-43aad7648924

@thesahindia Confirm you delete the isFocused before test it.

Bump @thesahindia

Bump on this @chiragsalian :)

I've assigned @ZhenjaHorbach to keep this one moving :)

@thesahindia could you work on the checklist for this one?

Payment summary:

Bug reporter: @dhanashree-sawant $50
Contributor: @ZhenjaHorbach $500
Contributor+: @thesahindia $500

Bump @thesahindia for the checklist: https://github.com/Expensify/App/issues/27106#issuecomment-1743427282

Great, I added the QA test request. Closing.

$500 payment approved for @thesahindia based on BZ summary.


Fix: make TaggedData data field optional

Description of change
Without this change it fails to parse payloads where the data field is optional
dacite.exceptions.UnionMatchError: can not match type "dict" to any type of "payload" union: typing.Union[iota_sdk.types.payload.TaggedDataPayload, iota_sdk.types.payload.TransactionPayload, iota_sdk.types.payload.MilestonePayload, NoneType]

Type of change

Bug fix (a non-breaking change which fixes an issue)

How the change has been tested
from iota_sdk import Client, HexStr, Utils, OutputType

client = Client(nodes=['https://api.testnet.shimmer.network'])

transaction_id = HexStr(
    "0xe08103c471a1ccbd65b248a1bf0929b9b9c5e12bb219f3971aadf95b870a1ed4")
pub_key_hash = Utils.bech32_to_hex(
    "rms1qpe9sae0jc5ra0xfrxtcqkstftxf3jpa859mr0y3nccewjake656yu2k3pk")
amount = 1_000_000_000

block = client.get_included_block(transaction_id)

for output in block.payload.essence.outputs:
    if output.type == OutputType.Basic:
        if len(output.unlockConditions) == 1 and output.unlockConditions[0].type == 0:
            if output.unlockConditions[0].address.pubKeyHash == pub_key_hash and int(output.amount) == amount:
                print(f"{pub_key_hash} got {int(amount)}")

Draft for now, maybe we can find a better way (without requiring the type in the TaggedDataPayload init)


Added branch variable

Ability to opt in to different branches of a steamgame, e.g. iwillbackupmysave branch from Project Zomboid. To us this you have to add a variable named "branch" to your gameserverscript.

Seems cool, but would also require a branch variable to all game script :)

Yep, but for the future I think it´s the way to go. Many games use different branches (e.g. Project Zomboid, Arma3, Natural Selection 2, ...).
Maybe some sort of check if the variable is present could be feasible?

Just thinking about that, wouldn't it be better to rename the variable to "steambranch" to avoid any confusion with "gitbranch" ?


Remix Support

How do I get instant search working with Remix, is it possible with the current version?

I don't see why it couldn't work. It shouldn't be any different to implement than on a regular react project. At least for my understanding of remix.
Did you try it out?
Here is an example of implementation: https://github.com/Haroenv/remix-plus-react-instantsearch.
Here: https://github.com/Haroenv/remix-plus-react-instantsearch/blob/main/app/routes/index.tsx you just need to use instantMeilisearch instead of algoliasearch and it should work.

I figured it out, I had issue with process.env being used in client side code which was failing to load any javascript on the client.


Add support for golden testing of whole files and directory trees

I have project that generates a bunch of files, so I was looking for a library to do golden testing but not for small outputs but whole files, or even whole trees.
For now I just implemented a hacky ad-hoc golden testing to check for whole directory trees and individual files, but it would be nice to use something more standard and less hacky.
This is actually the only Python golden testing library I found that looks legit, so I was wondering if there is any interest in supporting this use case. If so, I might even prepare and submit a PR eventually, but I will only dedicate this extra effort if the feature is welcome :)
Thanks!

Hm interesting. At first I imagined that the overlap between the functionality of writing YAML files and writing directory trees is so little, but maybe it can be done in a good way. I don't know. Actually seems like a great idea now, just that I'm a picky reviewer :(

In case you are curious about the use case: https://github.com/frequenz-floss/frequenz-repo-config-python/blob/v0.x.x/tests/integration/test_cookiecutter_generation.py
(it's basically testing generation of templates using cookiecutter)

For more context, I used also golden testing in Flutter, to test whole rendering of visual objects. In that case what you normally do is export the rendering of an app as a PNG and then compare the generated PNGs to make sure you didn't screw your interface when introducing some changes. Using YAML to store blobs doesn't seem very practical either, so this could be another use case for this.

Check out this other project
https://twitter.com/15r10nk/status/1720350727178965154


Build failure with clang/libc++ on Linux

libvdpau-va-gl-0.4.0 fails to build with clang with the following error:
/home/armin/src/libvdpau-va-gl-0.4.0/src/api-device.cc:60:14: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>,       std::__1::allocator<char> >'
The fix for this is to add #include <string> to the mentioned file.

Thanks for report! Added in 416416d0e247d3ca57e093d977050450038ded71.

v0.4.1 now have this commit included.


Fixed #445: Update doc links

Fixes #445

@mroiter-larus Please do a rebase, you still have Travis in your repo


Where can a client monitor an OTA Job progress?

Describe the bug
I would like to know where should the OTA Job progress messages be visible for a client as the Job runs. I'd like to know when a job changes states from IN PROGRESS to SUCCEED or FAILED. I have tried subscribing to the topics provided in the firmware and a wildcard for those, but I do not see anything come out of the Job Status update topic ($aws/things/<thingName>/jobs/<jobID>/update). Am I missing something? How can I monitor this progress?
System information

Which hardware board or part numbers? - ESP32
IDE used - Eclipse
Operating System - MacOS
Version of FreeRTOS (run git describe --tags to find it) - modified version from 202002.00
Project - Custom Appkication
If your project is a Custom Application, please add the relevant code snippet in the section Code to reproduce the bug.

Expected behavior
The OTA agent in Freertos provides us with a list of different topics used to accomplish OTA Jobs such as:
static const char pcOTA_JobsGetNextAccepted_TopicTemplate[] = "$aws/things/%s/jobs/$next/get/accepted";
static const char pcOTA_JobsNotifyNext_TopicTemplate[] = "$aws/things/%s/jobs/notify-next";
static const char pcOTA_JobsGetNext_TopicTemplate[] = "$aws/things/%s/jobs/$next/get";
static const char pcOTA_JobStatus_TopicTemplate[] = "$aws/things/%s/jobs/%s/update";
static const char pcOTA_StreamData_TopicTemplate[] = "$aws/things/%s/streams/%s/data/cbor";
static const char pcOTA_GetStream_TopicTemplate[] = "$aws/things/%s/streams/%s/get/cbor";

If a client or someone would like to see the status updates the firmware gives to the Job Status topic, they should be able to do that by subscribing to $aws/things/<thingName>/jobs/<jobID>/update or even possibly subscribing to $aws/things/#. However, subscribing on the console or another MQTT client with full access to the broker does not get any visibility or messages from that particular topic. I am expecting messages like this to come through the status update topic:
{"status":"IN_PROGRESS","statusDetails":{"receive":"320/360"}}

and
{"status":"FAILED","statusDetails":{"reason":"rejected: 0x22000000"}}

I can only see two initial messages when the firmware receives the job at $aws/things/%s/jobs/$next/get/accepted and $aws/things/%s/jobs/notify-next posting the the general information about the job in question.
Can a client not see the messages coming through those topics? Should they be looking through a different topic? Are there special permission AWS puts to these reserved topics under the hood? How can I client get visibility of an OTA Job Update in real time?
Basically, the use case would be that we would like the client to be aware of an OTA Job's failure (with reason) or success for managing update purposes.
Screenshots or console output
At the time of updating the job with IN PROGRESS every X blocks:
1269 52215 [OTA Agent Task] [prvUpdateJobStatus_Mqtt] Msg: {"status":"IN_PROGRESS","statusDetails":{"receive":"320/360"}}
1270 52216 [OTA Agent Task] [INFO ][MQTT][522160] (MQTT connection 0x3fff5120) MQTT PUBLISH operation queued.
1271 52216 [OTA Agent Task] [prvUpdateJobStatus_Mqtt] 'IN_PROGRESS' to $aws/things/BCDDC2CB4C88/jobs/AFR_OTA-v-0-1-8-OTA-Update/update

At the time of updating the job to FAILURE:
138 1459 [OTA Agent Task] [prvUpdateJobStatus_Mqtt] Msg: {"status":"FAILED","statusDetails":{"reason":"rejected: 0x22000000"}}
139 1460 [OTA Agent Task] [INFO ][MQTT][14600] (MQTT connection 0x3fff25c4) MQTT PUBLISH operation queued.
140 1461 [OTA Agent Task] [INFO ][MQTT][14610] (MQTT connection 0x3fff25c4, PUBLISH operation 0x3fff4dfc) Waiting for operation completion.
141 1467 [OTA Agent Task] [INFO ][MQTT][14660] (MQTT connection 0x3fff25c4, PUBLISH operation 0x3fff4dfc) Wait complete with result SUCCESS.
142 1467 [OTA Agent Task] [prvUpdateJobStatus_Mqtt] 'FAILED' to $aws/things/BCDDC2CB4C88/jobs/AFR_OTA-v-0-1-8-OTA-Update/update
143 1468 [OTA Agent Task] [prvResetDevice] Attempting forced reset of device...

To reproduce
Steps to reproduce the behavior:

Enable OTA Agent
Subscribe through the console or any MQTT client to all Job reserved topics
There will be no output coming from the subscription to $aws/things//jobs//update`

Code to reproduce the bug
N/A - We are using our custom application, but I can assume that the OTA demo could serve for this purpose.
Additional context
Add any other context about the problem here.
Thank you!

Hi @tgsong - thank you for your prompt answer!
I can't seem to find the includeJobExecutionState flag in the OTA files I've looked (aws_iot_ota_agent_config.h, aws_iot_ota_agent.h, aws_iot_ota_agent_internal.h, aws_iot_ota_mqtt.c). Would you please give me some guidance on where to find this configuration to enable job execution state to test?
Thank you so much in advance!

Yes, that key is not used in our OTA library code, you need to add it. The status update message is constructed in this function, https://github.com/aws/amazon-freertos/blob/4d8b6543b9bd8c4a6be938804a9ec1c497911e2b/libraries/freertos_plus/aws/ota/src/mqtt/aws_iot_ota_mqtt.c#L426
Basically you just need to modify the pcOTA_JobStatus_ReceiveDetailsTemplate string (defined at here) to include the includeJobExecutionState key.

Hi @rrivadeneira-rsc, I'm closing this issue for now. Please feel free to reopen this if you have any further questions.


Update to Nim 2.0

Please update to Nim 2.0. Won't compile.

Please update to Nim 2.0. Won't compile.

Maybe one day. I'm not actively maintaining this. PRs are welcome 😄


Error during make

Introduce the problem:
I am trying to build this project for the first time. I have cloned this repo and updated the submodule as instructed.
However when I run make. I get this error:
make: *** no rule to make target 'build/obj//root/Git/lv_port_frame_buffer/lvgl/src/draw/sw/blend/neon/lv_blend_neon.o', needed by 'default'.  Stop.
Any help with this issue would be appreciated.

I've just updated to project to LVGL v9 and the Makefile is really not working. However I tested it with CMake an it workes well with it.

Thanks,
I noticed the new README, followed it and got demo compiling and running. The output to framebuffer works well but I am now finding it difficult to use evdev for touchscreen input. Is there a comprehensive guide you could point me to?

I haven't tried it out, but lv_evdev_create should work.

Could you comment in some of these old Forum post about the new method?


ESP32: Optimize the time taken by esp32 workflows

Problem

Some jobs in esp32 takes huge time for compilation.
All clusters app and temperature measurement app was getting build for all sdkconfig*.defaults present.

Change overview

Performed the analysis on the difference between all sdkconfig*.defaults present in all-clusters-app and temperature measurement app and kept the sdkconfig*.defaults which is a superset.
Added the job for ipv6 only app.

Testing

Successful CI.

@sweetymhaiske Please remove sdkconfig_devkit.defaults from all-clusters-app as well as temperature-measurement-app as they are not required now

@sweetymhaiske Please remove sdkconfig_devkit.defaults from all-clusters-app as well as temperature-measurement-app as they are not required now

Done.

Could you please check that after these changes
./scripts/build/build_examples.py --platform esp32 build

still works?
I would like to keep it stable until we get to use it in our vscode/CI builds.

./scripts/build/build_examples.py --platform esp32 build
Yes, it works fine.

@andy31415 @bzbarsky-apple PTAL

Can we merge this?


Landing improvements

Changes

How to test these changes?

Related issues

react_devtools_backend.js:4026 Warning: Received NaN for the `height` attribute.

Code block overflows on smaller screen

Cards on mobile screen have different height (screenshot is done without mouse hovering)

Cards on mobile screen have different height (screenshot is done without mouse hovering)

Fixed.


Update Deploy scripts to create new Content centers

Hi @jameseccles
Some great new updates to the Syntex Samples repo - I have just tried to deploy the site templates using the included deploy scripts.
The scripts say that they will create a new content centre but there is no New-PnPTenantSite command used to actually create the site. I have adapted the script to create the content centers and then used it to deploy both content center and contract management site termplates.
Thanks
Leon

Thanks for checking out the latest samples @LeonArmston !
I don't think that step is necessary. The team and I have done a fair bit of testing with the scripts "as is" and there is no issue with a new site being created.
Did you get an error with the scripts as they are during your testing?

Everyday is a learning day - I had no idea that you could use -Parameters @{"SiteUrl"=$SiteUrl} on Invoke-PnPTenantTemplate and it would create the site. Have now tested and it works!
On the PC I'm on the execution policy for PowerShell is set to restricted so I was running the script line by line and thought that's never going to work so made changes!
Thanks @jameseccles

Glad it works for you.
Do let me know if you also have any feedback on the templates themselves.


Ordering of LayerWidget's can break popup functionality

I've noticed that if you put a PolylineLayerWidget or PolygonLayerWidget AFTER a PopupMarkerLayerWidget it breaks the popup functionality of the popup marker. Layers will still show correctly but nothing happens when you click on a marker and no error/exception is thrown so you don't know you're doing something wrong.
Sorry if this is in the documentation somewhere and it's known behaviour but I suspect it's not so I'm mentioning it.

I've noticed that if you put a PolylineLayerWidget or PolygonLayerWidget AFTER a PopupMarkerLayerWidget it breaks the popup functionality of the popup marker. Layers will still show correctly but nothing happens when you click on a marker and no error/exception is thrown so you don't know you're doing something wrong.
Sorry if this is in the documentation somewhere and it's known behaviour but I suspect it's not so I'm mentioning it.

Hmm interesting I have to admit I haven't tried! If it's causing you problems and you'd like to share a minimal example I'm happy to have a look.

@bmason8 I'm going to close this for now but if you or someone else continue to have issues and can provide a minimal example I'll be happy to check it out!

@rorystephenson
I too am experiencing this now. I have been using this repo for over a year and had many both MarkerLayerOptions together with other types of layers as both LayerOptions and Widgets in FlutterMap. Never had any issues as long as I ordered them logically.
However, now having to update various components due to the LatLong/LatLong2 issue I am having serious issues with the popups in version 2.0.0. Basically, if I add anything to a nonRotatedLayer the popup functionality stops working. Let's say I add lat_long_grid_plugin in a nonRotatedLayer, then popups stop working. It doesn't matter if I place the nonRotatedLayer before or after nonRotatedChildren, as layers are always rendered on top of the widgets.

Working example
import 'package:flutter/material.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:flutter_map_marker_popup/flutter_map_marker_popup.dart';
import 'package:latlong2/latlong.dart';
import 'package:lat_lon_grid_plugin/lat_lon_grid_plugin.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Map Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Map Demo'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(

          title: Text(widget.title),
        ),
        body: Center(
          child: Container(
            height: MediaQuery.of(context).size.height,
            child: FlutterMap(
              options: MapOptions(
                center: LatLng(0, 0),
                plugins: [
                  MapPluginLatLonGrid(),
                ],
              ),
              nonRotatedLayers: [
                // Comment/uncomment MapPluginLatLongGridOption below to hide/show
                // the latlong grids and notice how popup of the marker is
                //not working the the grids showing

                // MapPluginLatLonGridOptions(
                //   lineColor: Colors.grey,
                //   textColor: Colors.white,
                //   lineWidth: 1,
                //   textBackgroundColor: Colors.grey,
                //   showCardinalDirections: true,
                //   showCardinalDirectionsAsPrefix: true,
                //   textSize: 12.0,
                //   showLabels: true,
                //   rotateLonLabels: true,
                //   placeLabelsOnLines: true,
                //   offsetLonTextBottom: 20.0,
                //   offsetLatTextLeft: 20.0,
                // ),
              ],
              nonRotatedChildren: [
                PopupMarkerLayerWidget(
                    options: PopupMarkerLayerOptions(
                        popupBuilder: (BuildContext context, Marker marker) {
                          return Text("Test popupmarker");
                        },
                        markers: [
                      Marker(
                          point: LatLng(0, 0),
                          builder: (BuildContext context) {
                            return Icon(Icons.location_on);
                          })
                    ]))
              ],
            ),
          ),
        ));
  }
}

Thanks for the example code @Swepilot, I've had a look and this is caused by the fact that flutter_map doesn't allow you to put children/non-rotated children on top of layers and the lat lon grid plugin doesn't support being added as a widget. I'm going to close this here and comment on the issue you opened in the flutter_map repository since I think it belongs there.


live not updating automatically

Docs Build status updates of commit a0e3e6e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/Contributing.md
:white_check_mark:Succeeded

docs/data-markup/structured-data-markup.md
:white_check_mark:Succeeded
View

docs/docfx.json
:white_check_mark:Succeeded

docs/media/archive/skills/cortana-design-guidelines.md
:white_check_mark:Succeeded
View

docs/media/archive/skills/cortana-samples.md
:white_check_mark:Succeeded
View

docs/media/archive/skills/cortanas-persona.md
:white_check_mark:Succeeded
View

docs/skills/adaptive-cards.md
:white_check_mark:Succeeded
View

docs/skills/adding-speech.md
:white_check_mark:Succeeded
View

docs/skills/audio-streaming.md
:white_check_mark:Succeeded
View

docs/skills/authentication.md
:white_check_mark:Succeeded
View

docs/skills/building-hybrid-user-interfaces.md
:white_check_mark:Succeeded
View

docs/skills/cards.md
:white_check_mark:Succeeded

docs/skills/configure-connected-account.md
:white_check_mark:Succeeded
View

docs/skills/cortana-channel-data.md
:white_check_mark:Succeeded
View

docs/skills/cortana-device-type.md
:white_check_mark:Succeeded
View

docs/skills/cortana-invocation-guidelines.md
:white_check_mark:Succeeded
View

docs/skills/cortana-support.md
:white_check_mark:Succeeded
View

docs/skills/design-principles.md
:white_check_mark:Succeeded
View

docs/skills/faq.md
:white_check_mark:Succeeded
View

docs/skills/get-started.md
:white_check_mark:Succeeded
View

docs/skills/get-user-profile-context.md
:white_check_mark:Succeeded
View

docs/skills/index.yml
:white_check_mark:Succeeded
View

docs/skills/known-issues.md
:white_check_mark:Succeeded
View

docs/skills/launch-apps-from-skills.md
:white_check_mark:Succeeded
View

docs/skills/mva21-setup.md
:white_check_mark:Succeeded
View

docs/skills/mva22-hello-world.md
:white_check_mark:Succeeded
View

docs/skills/mva31-understanding-conversations.md
:white_check_mark:Succeeded
View

docs/skills/mva32-building-conversations.md
:white_check_mark:Succeeded
View

docs/skills/mva41-streaming-audio.md
:white_check_mark:Succeeded
View

docs/skills/mva42-visual-ux.md
:white_check_mark:Succeeded
View

docs/skills/mva43-client-code.md
:white_check_mark:Succeeded
View

docs/skills/mva51-profile-data.md
:white_check_mark:Succeeded
View

docs/skills/mva52-using-profile-data.md
:white_check_mark:Succeeded
View

docs/skills/mva61-authentication.md
:white_check_mark:Succeeded
View

docs/skills/mva71-share-skill.md
:white_check_mark:Succeeded
View

docs/skills/mva72-publish-skill.md
:white_check_mark:Succeeded
View

docs/skills/overview.md
:white_check_mark:Succeeded
View

docs/skills/performance-guidelines.md
:white_check_mark:Succeeded
View

docs/skills/privacy-policy-guidelines.md
:white_check_mark:Succeeded
View

docs/skills/pub-default-settings.md
:white_check_mark:Succeeded
View

docs/skills/pub-developer-settings.md
:white_check_mark:Succeeded
View

docs/skills/pub-test-settings.md
:white_check_mark:Succeeded
View

docs/skills/pub-world-settings.md
:white_check_mark:Succeeded
View

docs/skills/publish-skill.md
:white_check_mark:Succeeded
View

docs/skills/show-progress.md
:white_check_mark:Succeeded
View

docs/skills/skill-review-guidelines.md
:white_check_mark:Succeeded
View

docs/skills/speech-synthesis-markup-language.md
:white_check_mark:Succeeded
View

docs/skills/supported-locales.md
:white_check_mark:Succeeded
View

docs/skills/terms-of-use.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Update composer requirements

This changes the composer requirements to match those in: https://github.com/blade-ui-kit/blade-icons-template/blob/main/composer.json
It fixes an error I get on the current main branch, when I run this command in my laravel (^9.11) project:
$ composer require ublabs/blade-simple-icons:*
[...]
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - ublabs/blade-simple-icons[dev-feature/update-icons, dev-main, 0.1.0, ..., 0.37.0] require illuminate/contracts ^8.0 -> found illuminate/contracts[v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires ublabs/blade-simple-icons * -> satisfiable by ublabs/blade-simple-icons[dev-feature/update-icons, dev-main, 0.1.0, ..., 0.37.0].

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Hi @luttje Thank you for your work. ❤


401 - Unauthorized (many IP addresses)

Hi, I'm getting a 401 when posting to /loq/device_id. Normally this would indicate an IP address ban, but I wanted to get your thoughts on it:
I was using an older version of the API (my own code) a few hours ago, and it was setting stories using my auth-token that I've had for about 2 months. I tried logging into another account, but it seems that they now require you to update the app to create new sessions. I didn't feel like reversing the new auth method, so I stumbled upon your library (great work by the way). All of my requests were routed through a VPN which changes the IP address every time I connect to it. Snapchat returns a 401 using your library, but the same IP addresses were working a few hours ago using the old API. Either they have a separate banned IP list for clients connecting to the new API or it was simply a coincidence?
I've tried connecting with 10+ IP addresses, and they all don't work.
Does this have anything to do with the Google authentication that they added?
Thanks guys.
Debug output:
REQUEST TO: https://feelinsonice-hrd.appspot.com/loq/device_id

Sent Request info: POST /loq/device_id HTTP/1.1
User-Agent: Snapchat/<IP_ADDRESS> (HTC One; Android 4.4.2#302626.7#19; gzip
Host: feelinsonice-hrd.appspot.com
Accept: */*
Accept-Language: en
Accept-Locale: en_US
Content-Length: 98
Content-Type: application/x-www-form-urlencoded

DATA: timestamp=1428362053031&req_token=930706578f71cba86eae11ebfcafa27433e04d86195bba8429b49214dec51f8b
RESULT:
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>401 UNAUTHORIZED</title>

Error: UNAUTHORIZED

I'm getting the same error.

I've been getting this for a long time. I was using IPV6 as suggested by @Spurlex on a digital ocean droplet but after one day I started getting this error. I tried making a clone of the droplet with a different IP but no cigar.

@Cheater912 What host are you using. Test it locally on an IP you know wont be banned.
Hosts like DigitalOcean have majority of there IP's banned. Im pretty sure most if not all there current IPV4 IP's are banned along with some of there IPV6's.

It's going through a VPN. Don't want to mention the name just in case they
look here. The VPN company has over 100,000 addresses around the world, so
I doubt they blocked all of them during the time I switched libs.
On Apr 6, 2015 11:08 PM, "Michael"<EMAIL_ADDRESS>wrote:

@Cheater912 https://github.com/Cheater912 What host are you using. Test
it locally on an IP you know wont be banned.
Hosts like DigitalOcean have majority of there IP's banned. Im pretty sure
most if not all there current IPV4 IP's are banned along with some of there
IPV6's.
—
Reply to this email directly or view it on GitHub
https://github.com/mgp25/Snap-API/issues/70#issuecomment-90331947.

Have you tried changing https://github.com/mgp25/Snap-API/blob/master/src/snapchat.php#L195 to one of the emails from https://tekno.pw/snapchat_password.php

Since it's failing on getDeviceToken() I don't think getAuthToken() is even being executed. All of that comes after the device token, no?

@Cheater912 your host/server its blocked. You can set a proxy doing this:
https://github.com/mgp25/Snap-API/wiki/Snap-API-Documentation#setting-a-proxy
Regards

@mgp25 so getDeviceToken() still works for you? I highly doubt they blocked my ips, I tried a few different ones, even my mobile connection. The official app still works. Does that mean they only block 3rd party ones?

@rpw98 yes.

Sorry, yes means it still works for you or they only block 3rd party apps? :P

It works for everyone, Snapchat only blocked your IP because of using third party apps, use auth and remain logged in, thats it.

I know using auth still like works. Problem for me is I logged in from the official app, so the auth needs to be updated. Then I can't login any more from the script. I just want to confirm if this is an ip issue or code issue. Are you still able to getDeviceToken()? I just want to confirm. Thanks.

@rpw98 sniff your auth from you device so you can use it in your device and it the API at the same time, think easy.

So login() will not work then?


[backport 23.05]: toot: 0.42.0 -> 0.47.0

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

@Aleksanaa what is the policy here? I assume we don't backport to 24.05 then?

@Aleksanaa what is the policy here? I assume we don't backport to 24.05 then?

No strict policy here. Just ensure that your backported stuff does work and not breaking anything else. You just add term-image commit in this case.

Rebased to latest release-24.05.


[CupertinoActionSheet] Layout of content section

Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.
List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] I followed the breaking change policy and added Data Driven Fixes where supported.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

(PR triage): Hey @dkwingsmt is this PR still on your radar?

I'm closing it for now since the issue is too complicated and subtle for a high priority.


Default JWT locations in JwtProvider does not overrides by explicit from_cookie location. v1.21.0

In the extensions.filters.http.jwt_authn.v3.JwtAuthentication confing I have a extensions.filters.http.jwt_authn.v3.JwtProvider config like the followin:
                        cookie_jwt_provider:
                          issuer: "issuer"
                          local_jwks:
                            filename: /my/path/key.txt
                          forward: true
                          forward_payload_header: "my-claims"
                          from_cookies:
                            - my_jwt_cookie
        #                  from_headers:
         #                   - name: workaround

When I run config with such provider on Envoy 1.21.0 I see that Envoy accepts authorization via my_jwt_cookie, but it also accepts authorization via default locations (query param access_token and HTTP header Authorization with Bearer  prefix.
It looks like a bug, and the only way for me to reject authorization via default locations is to explicitly define a non-empty list of from_headers or/and from_params locations.
For instance: with config as above Envoy will expect JWT in any of these 3 locations (my_jwt_cookie cookie, Authorization header and access_token query param).
If you uncomment config tail then Envoy will expect JWT only in 2 locations (my_jwt_cookie cookie and workaround header).

It is a bug,  this code
only check from_headers and from_params.  it did not check from_cookies
I will send out a pr


After jupyter remote server is shutdown, can no longer open the interactive window

Create jupyter server
Open VS code
Set as the server as the remote connection in VS code
Kill server
Start interactive window

Get a message like so:

@rchiodo I've tried this and I cannot replicate this at all.
I'm getting a different error message.
Please could you provide the output from the console window to show where things fall over reading split.

That one doesn't repro for me anymore either. I was getting a different error this morning. I think it's random based on where the failure occurs.

See the other bug for what's happening to me now. It's like completely random when it will fail.

Should be fixed in the latest insiders. Closing for verification

In web after connecting a remote Jupyter server to the IW, closing the IW, killing the server, and creating a new IW, I get this

Minor nits:

Instead of having 'Failed to fetch' in the detail, could we have the title be 'Failed to connect to the remote Jupyter server.', and the detail be 'Verify the server at  is running and reachable.'?
'Select a different Kernel' -> 'Select a Different Kernel' to be consistent with the capitalization in the other actions


Rotation breaks the layout

In my app I have a UISplitViewController as the base. Now, when I present a UIViewController as a card on top of it, the view will look like this.

However, when I rotate the device and then rotate back, the layout breaks and it will look like this.

When I then rotate once more and once more back, the app will crash, throwing this:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Multiplier is not finite!  That's illegal.  multiplier:-inf'
*** First throw call stack:
(
0   CoreFoundation                      0x000000010759a6fb __exceptionPreprocess + 331
1   libobjc.A.dylib                     0x0000000106b3eac5 objc_exception_throw + 48
2   CoreFoundation                      0x000000010759a482 +[NSException raise:format:arguments:] + 98
3   Foundation                          0x000000010658c927 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
4   Foundation                          0x000000010679255e -[NSLayoutConstraint _setMultiplier:] + 336
5   Foundation                          0x000000010679949f +[NSLayoutConstraint constraintWithAnchor:relatedBy:toAnchor:multiplier:constant:] + 575
6   DeckTransition                      0x000000010319992b $s14DeckTransition0A22PresentationControllerC29updateSnapshotViewAspectRatio33_71FA53A27BEAE2D482201C2CF371A196LLyyF + 1931
7   DeckTransition                      0x000000010319a09a $s14DeckTransition0A22PresentationControllerC31containerViewWillLayoutSubviewsyyF + 298
8   DeckTransition                      0x000000010319a644 $s14DeckTransition0A22PresentationControllerC31containerViewWillLayoutSubviewsyyFTo + 36
9   UIKitCore                           0x0000000111070905 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1229

Any ideas as to what could be causing this? I have a feeling it's a layout issue in the library, but I have no clue where to start looking...

Please try https://github.com/iDevelopper/PBPopupController

Dude, it’s pretty rude to go posting links to your own library in issues at similar libraries. Yours might be great, but I just wanted to state this.

Not very similar because of the popup bar, but I remove it.

Sorry for the late response. Just scanning the crashlog and the bug seems related to the snapshot view. I’m planning to get rid of that entirely in an upcoming release which should fix the issue, but in the meantime it’d be great to have a minimally reproducible example based on the project’s Example app so I can confirm that the bug is indeed getting fixed with the changes.

Any solution for rotation ?


fix(android, uniqueId)!: remove get uniqueId from startup constants

Description
accessing ANDROID_ID (the underlying system information behind getUniqueId) prior to getting consent from users violates policy in some app stores, this removes it from the startup constants so that users may be informed prior to accessing the information
Fixes #1427
Compatibility

OS
Implemented

iOS
✅❌

Android
✅❌

Windows
✅❌

Checklist

[ ] I have tested this on a device/simulator for each compatible OS
[ ] I added the documentation in README.md
[ ] I updated the typings files (privateTypes.ts, types.ts)
[ ] I added a sample use of the API (example/App.js)

@fengqingyun2008 do you have time this week to make the suggested changes or do you need some help here?


Error when calling ReadAllRiskPredictors: BOT is not a valid EnumPredictorType

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
PingOne Terraform provider Version

v0.16.0
Terraform Version

N/a
Affected Resource(s)

pingone_risk_policy
pingone_risk_predictor

Terraform Configuration Files
# Copy-paste your PingOne related Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

# Remember to replace any account/customer sensitive information in the configuration before submitting the issue

# (As in example on the registry)

Debug Output

        Error: Error when calling `ReadAllRiskPredictors`: BOT is not a valid EnumPredictorType

          with pingone_risk_predictor.eusfyihcrf,
          on terraform_plugin_test.tf line 7, in resource "pingone_risk_predictor" "eusfyihcrf":
           7: resource "pingone_risk_predictor" "eusfyihcrf" ***

Panic Output

N/a
Expected Behavior

Successful configuration of the resource
Actual Behavior

Error as shown
Steps to Reproduce

terraform apply

Important Factoids

References

Resolved in #449


Consider and Utilize Parallax Theme Colors

Since this is destined to be a "Parallax" branded development environment (company-centric rather than product-centric), we'd like to carefully consider color palette for it's skin.
We have a Parallax "theme" color palette that we use on our website and many product materials and we'd like to apply this where appropriate to this IDE.  Variations may be discussed, considered and applied depending on the overall effectiveness of the below color scheme.
Here are the hex and RGB equivalents.
Main blues:
Navy Blue (#002942) R:0 G:41 B:66
Medium Blue (#1474B7) R:20 G:116 B:183
Gray options:
Dark (#333333) R:51 G:51 B:51
Medium (#666666) R:102 G:102 B:102
Lighter (#999999) R:153 G:153 B:153
Lightest (#EEEEEE) R:238 G:238 B:238
Additional colors used on the eCom site:
Yellow (#F5D63E) R:245 G:214 B:62
Orange (#FF9900) R:255 G:153 B:0
Red (#E1261C) R:225 G:38 B:28
Green (#8BBD49) R:139 G:189 B:73

Parallax IDE will execute branding to meet corporate guidelines while optimizing user experience and accessibility. This palette can be used as input for the design process.

@PropGit Thanks this wasn't apparent to me. I'll utilize these colors in  the UI mockups!


Tombstone branch_9x

This commit tombstones branch_9x - wipes all files and updates the readme to point to more modern branches.
Not much point looking at the files changes. Maybe just update to the branch and confirm what u expect to see. E.g.
$ ls -la
total 16
drwxr-xr-x   5 chegar  staff   160 10 Oct 12:32 .
drwxr-xr-x   9 chegar  staff   288 10 Oct 12:28 ..
drwxr-xr-x  14 chegar  staff   448 10 Oct 12:32 .git
-rw-r--r--   1 chegar  staff   432 10 Oct 12:30 .gitignore
-rw-r--r--   1 chegar  staff  1051 10 Oct 12:30 README.md
$
$
$ cat README.md
<!--
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    the "License"); you may not use this file except in compliance with
    the License.  You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
 -->

# `branch_9x` is no longer used for development

9.12 was the last minor release of the 9.x series.

You may still push bug fixes to `branch_9_12`. However, features and
enhancements should now go to the `main` and `branch_10x` branches.

LGTM


fix: specs example of zones

The specs example of zones has different data type (string currently), change it to array of strings.

See https://github.com/ga4gh/task-execution-schemas/issues/203 and https://github.com/ga4gh/task-execution-schemas/pull/204


failed to start stream server

Hi, I cannot start the server.

Docker Setting:
Docker version 20.10.24+dfsg1, build 297e128
  stremio-docker:
    container_name: stremio-docker
    volumes:
      - /home/ddd/app/stremio:/root/.stremio-server
    ports:
      - 7000:8080/tcp
      - 13470:12470/tcp
    restart: unless-stopped
    image: tsaridas/stremio-docker:latest

System:
    ,g$$$$$$$$$$$$$$$P.       ------------------
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) x86_64
 ,$$P'              `$$$.     Kernel: 6.1.0-26-amd64
`d$$'     ,$P"'   .    $$$    Packages: 2017 (dpkg)
 $$P      d$'     ,    $$P    Shell: bash 5.2.15
 $$:      $$.   -    ,d$$'    Terminal: /dev/pts/0
 $$;      Y$b._   _,d$P'      CPU: Intel Pentium 4415U (4) @ 2.300GHz
 Y$$.    `.`"Y$$$$P"'         GPU: Intel HD Graphics 610
 `$$b      "-.__              Memory: 2879MiB / 15915MiB

When trying to attach to docker:
service "stremio-docker" is not running

Thank you.

cab you post the logs ?

it shouldn't try to get https certificate. are you sure compose file looks like that ?
  stremio-docker:
    container_name: stremio-docker
    volumes:
      - /home/ddd/app/stremio:/root/.stremio-server
    ports:
      - 7000:8080/tcp
      - 13470:12470/tcp
    restart: unless-stopped
    image: tsaridas/stremio-docker:latest


Correct Markdown header and list syntax

Hello, this is a custom markdown used by mkdocs to build a tabbed view. But thanks for the PR


Invalid Discord invite link

Describe the problem that you experienced
When I try to join, it shows that the invite was expired.
Enter the URL of the topic with the problem
No response
Describe what you were looking for in the documentation
No response
Describe the actions that led you to experience the problem
No response
Describe what you want to experience that would fix the problem
No response
Add a screenshot if that helps illustrate the problem
No response
If the problem is browser-specific, please specify the device, OS, browser, and version
No response
Provide any additional information here in as much as detail as you can
No response

This link works for me!

Excellent! Thank you!

Hmm, strange. The invite link had no expiration and unlimited usage, so should be ok. The only thing I see is that a verified email address is required - it won't let me select no restrictions- could that be why you're not able to access?

Strange, I was able to join by copying the link and pasting it to the discord application.
Thanks!

Excellent! Strange, but glad you were able to join! Welcome!


Add DFImageDecoding protocol; Factory method for constructing decoders etc

Add DFImageDecoding protocol
Add factory method for constructing decoders
Add dependency injector to decoder

Done


chore: Stabilise UI performance host

Pull Request Template
Use this template to quickly create a well written pull request. Delete all quotes before creating the pull request.

Description

Please include a summary of the changes and which issue has been fixed. Please also include relevant motivation
and context. List any dependencies that are required for this change.

Fixes # (issue)

if no issue exists, please create an issue and ask the maintainers about this first

Type of change

Please delete options that are not relevant.

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

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce.
Please also list any relevant details for your test configuration.

Test A
Test B

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/ok-to-test sha=5e4e5ac

/ok-to-test sha=adb10df

/ok-to-test sha=293b64f

/ok-to-test sha=293b64f

/ok-to-test sha=4e1726f

/ok-to-test sha=55bde06

/ok-to-test sha=825d792

/ok-to-test sha=2e21244

/ok-to-test sha=2e21244

/ok-to-test sha=2e21244

/ok-to-test sha=2e21244

/ok-to-test sha=2e21244

/ok-to-test sha=2e21244

/ok-to-test sha=2e21244

/ok-to-test sha=2e21244


SyntaxError: Unexpected token < in JSON at position 0

Could not load edit details
Error: FormatException: SyntaxError: Unexpected token < in JSON at position 0
Please fill in the following:
Name of package being migrated (if public): win32
What I was doing when this issue occurred: updating entries after migrate tool had inserted @required into my code
Is it possible to work around this issue:
Has this issue happened before, and if so, how often: no
Dart SDK version: 2.11.0-203.0.dev
Additional details:
Clicked on required here:

Stacktrace: auto populated by migration preview tool.
FormatException: SyntaxError: Unexpected token < in JSON at position 0
    at Object.b (http://<IP_ADDRESS>:59406/Users/timsneath/git/me/win32/test/wincreds_test.dart?offset=258&line=12&authToken=2IriOlO32p0%3D:303:3)
    at Object.BS (http://<IP_ADDRESS>:59406/Users/timsneath/git/me/win32/test/wincreds_test.dart?offset=258&line=12&authToken=2IriOlO32p0%3D:1877:9)
    at by.pW (http://<IP_ADDRESS>:59406/Users/timsneath/git/me/win32/test/wincreds_test.dart?offset=258&line=12&authToken=2IriOlO32p0%3D:5102:5)
    at http://<IP_ADDRESS>:59406/Users/timsneath/git/me/win32/test/wincreds_test.dart?offset=258&line=12&authToken=2IriOlO32p0%3D:3144:15
    at Gs.a (http://<IP_ADDRESS>:59406/Users/timsneath/git/me/win32/test/wincreds_test.dart?offset=258&line=12&authToken=2IriOlO32p0%3D:1550:72)
    at Gs.$2 (http://<IP_ADDRESS>:59406/Users/timsneath/git/me/win32/test/wincreds_test.dart?offset=258&line=12&authToken=2IriOlO32p0%3D:4516:23)
    at WM.$1 (http://<IP_ADDRESS>:59406/Users/timsneath/git/me/win32/test/wincreds_test.dart?offset=258&line=12&authToken=2IriOlO32p0%3D:4508:30)
    at Ji.bv (http://<IP_ADDRESS>:59406/Users/timsneath/git/me/win32/test/wincreds_test.dart?offset=258&line=12&authToken=2IriOlO32p0%3D:4781:25)
    at rq.$0 (http://<IP_ADDRESS>:59406/Users/timsneath/git/me/win32/test/wincreds_test.dart?offset=258&line=12&authToken=2IriOlO32p0%3D:4709:11)
    at Object.HZ (http://<IP_ADDRESS>:59406/Users/timsneath/git/me/win32/test/wincreds_test.dart?offset=258&line=12&authToken=2IriOlO32p0%3D:1598:39)

I'll do my darn'dest to mail something today.

I cannot reproduce this after fixing https://github.com/dart-lang/sdk/issues/43751. I'll close this for now, and if we can reproduce another way, then it would still be a high priority bug.

I forked this package https://github.com/DirectMyFile/console.dart and got the same warning.

@mzdm can you give some details?

What did you click on?
What commit of console.dart are you looking at?
What version of Dart are you running?

I changed the version in pubspec.yaml from 2.12.0 to 2.10.0) and ran dart migrate command. Then this pop-up appeared, however does not block from looking at migration changes (can be just closed)
It's the latest master branch so https://github.com/DirectMyFile/console.dart/commit/9d75fd4457831075c746c27bc3a2bbbc504ef4db
Dart version: 2.13.0-77.0.dev

FormatException: SyntaxError: Unexpected token < in JSON at position 0
    at Object.b (http://<IP_ADDRESS>:54981/C:/Users/matej/FlutterProjects/forked/console.dart?authToken=rWGfanTo2-0%3D:311:3)
    at Object.BS (http://<IP_ADDRESS>:54981/C:/Users/matej/FlutterProjects/forked/console.dart?authToken=rWGfanTo2-0%3D:1898:9)
    at by.pW (http://<IP_ADDRESS>:54981/C:/Users/matej/FlutterProjects/forked/console.dart?authToken=rWGfanTo2-0%3D:5247:5)
    at http://<IP_ADDRESS>:54981/C:/Users/matej/FlutterProjects/forked/console.dart?authToken=rWGfanTo2-0%3D:3138:15
    at Gs.a (http://<IP_ADDRESS>:54981/C:/Users/matej/FlutterProjects/forked/console.dart?authToken=rWGfanTo2-0%3D:1572:72)
    at Gs.$2 (http://<IP_ADDRESS>:54981/C:/Users/matej/FlutterProjects/forked/console.dart?authToken=rWGfanTo2-0%3D:4670:23)
    at WM.$1 (http://<IP_ADDRESS>:54981/C:/Users/matej/FlutterProjects/forked/console.dart?authToken=rWGfanTo2-0%3D:4662:30)
    at Ji.bv (http://<IP_ADDRESS>:54981/C:/Users/matej/FlutterProjects/forked/console.dart?authToken=rWGfanTo2-0%3D:4937:25)
    at rq.$0 (http://<IP_ADDRESS>:54981/C:/Users/matej/FlutterProjects/forked/console.dart?authToken=rWGfanTo2-0%3D:4865:11)
    at Object.HZ (http://<IP_ADDRESS>:54981/C:/Users/matej/FlutterProjects/forked/console.dart?authToken=rWGfanTo2-0%3D:1620:39)

Sorry I cannot reproduce this. :(

checkout DirectMyFile/console.dart@9d75fd4.
pub get
change sdk: '>=2.12.0 <3.0.0' to sdk: '>=2.10.0 <3.0.0' (By the way this is not a good idea.)
(do not run pub get again?)
dart migrate
load the URL printed in Chrome.
The website loads OK.

Just tried it again and it shows every time on my machine 😃. But I guess it is not a big deal because it seems like it is just a warning (or?)

I have same issue. This will happen every time if you have package name(and project directory name) like something.dart(with .dart in name).
If you rename(or clone) it to something_dart this error will not appear.

Since this issue has been closed for 18 months, please open a new issue, @dutsky if you are seeing this bug on a recent version of Dart, like 2.16.0, with steps to reproduce. (Maybe having a directory named foo.dart is all you need, just make sure to include that).


Unable to install

Migration and seeding not working with php arstisan october:up is not working

@raakesh Can you share the errors here?

@triasrahman
The system isn't detecting octommerce plugin
This is what i'm getting when i use php artisan october:up
`$ php artisan october:up
Migrating application and plugins...
System

Nothing to migrate.
Backend
Nothing to migrate.
Cms
Nothing to migrate.
Flynsarmy.Menu
Nothing to update.
Mja.Forms
Nothing to update.
Mohsin.Carousel
Nothing to update.
NetSTI.SEO
Nothing to update.
October.Demo
Nothing to update.
October.Test
Nothing to update.
RainLab.Blog
Nothing to update.
RainLab.Builder
Nothing to update.
RainLab.Pages
Nothing to update.
RainLab.Twitter
Nothing to update.
RainLab.User
Nothing to update.
Raviraj.Rjsliders
Nothing to update.
`

I thought you run git clone https://github.com/octommerce/octommerce.git instead git clone https://github.com/octommerce/octommerce.git octommerce/octommerce in plugins directory. Make sure this plugin in the correct path which is plugins/octommerce/octommerce.

Here snapshot of project folder structure

@raakesh Have you installed required plugins? Since it's not published yet on OctoberCMS marketplace, you should install plugin dependencies manually. They are:

RainLab.User
RainLab.Location
Responsiv.Currency
Responsiv.Pay

I think it can solve your problem :)
Goodluck!

@triasrahman
Thanks. Its working now.
Missed these two plugins

Responsiv.Currency
Responsiv.Pay

are there any suggested theme for this ?

I have the same problem and I installed all dependencies before, is there a new dependency not listed here that would block the install ?

I think RainLab.Notify is also a dependency

@dbrw Noted, let me check it.

@dbrw You will need RainLab.Notify because of RainLab.UserPlus has a dependency on RainLab.Notify. It's actually not required by this plugin.

@dbrw You will need RainLab.Notify because of RainLab.UserPlus has a dependency on RainLab.Notify. It's actually not required by this plugin.

Noted. Thanks!


It has not been updated for a long time, I wonder if the author is okay now?

I'm ok, it's just a month behind


Overhaul model of global and contextualised access rights

Rights on hosts are represented via Control and UserTW attributes, where UserTW can represent anonymous access or, if associated with a Process, access with the rights of that process. These rights are contextualised, so attacks that acquire rights do so only in the context where the attack takes place. This context is linked to a physical location and/or the host being connected to a specific network.
There are numerous threats to other processes and data stored on a host that can arise in any context. Until recently, to model this explicitly would have needed one threat per context, adding a significant number of extra threats per system model. To avoid creating large numbers of threats, separate 'global' TW attributes were used. The sequence then is:

each threat that compromises (say) control of a host would affect a contextualised Control attribute plus the global Control attribute,
each threat to stored data given control of the host would be caused by the global Control attribute.

The problem is that this 'global' attribute looks like it could be used as a risk calculation input, signifying that the system modeller user believes that the host may already be compromised. But that isn't what the global attribute means, because there are no threats that propagate its TW level to each context. If they did, attacks in one context would once again have consequences in another, which would defeat the purpose of having contextualised control and access rights.
To get around this, we introduced 'External Control' and 'External User TW' attributes specifically for use as risk calculation inputs. These cannot be caused by any threats, but they cause threats that propagate their levels to all contexts. While their presence mean users can model situations where they are suspicious about a host or process, their presence does not mean users won't appreciate that the global attributes cannot be used for this. That may lead to a user thinking the suspected compromise doesn't matter, when really it does.
The population modelling enhancements to system-modeller mean we now have extra node types, which can allow for a better solution:

[ ] threats that affect the 'contextualised' attributes should not now affect the 'global' attributes
[ ] new threats should be introduced to 'global' attributes, caused by the most trustworthy of the contextualised attributes (using a 'necessary' node to include access context assets in the threat)
[ ] threats to 'contextualised' attributes that are currently caused by the 'External' attributes should now be caused by the 'global' attributes
[ ] threats caused by the 'global' attributes should now be caused by the least trustworthy of the 'contextualised' attributes (using the new 'sufficient' node to find the context assets)

The first two changes means the 'global' attribute will express the highest TW level in any context rather than the lowest. The third means it also acts as an upper limit on the trustworthiness in any context, so it can be used as a risk calculation input. The last change ensures that we still get threats to hosted processes and data that depend on the lowest TW level in any context, but now without going via the 'global' TW level, and (because the contexts match a non-unique node) without adding extra threats.

Sounds good, but this doesn't quite work.
Yes - it means that system modeller users can reduce the TW level for 'Control' or 'UserTW' to represent an intrusion by unknown means. But it also means that users cannot specify an impact level for 'Loss Of Control' or 'Loss Of User TW' because those 'global' behaviours will have a likelihood coming from the least affected context. If a phone is safe at home, but easily hacked when outside the home, the global 'Loss Of Control' would have negligible likelihood.
This may not be a big deal. System modeller doesn't just find threats - it finds threat paths leading to undesirable effects. If the real issue is confidentiality of data stored on the phone, the high impact level should be specified for that, and not for a hack that might be a means to that end.
In most situations, devices are what ISO 27005 terms 'secondary' assets, which do not contribute directly to the system goals or purpose. Their contribution is to support other 'primary' assets directly related to the system goals or purpose, which are usually information assets or information processing assets. In ISO 27005, impact levels for 'secondary' assets are mainly based on how a compromise would affect the primary assets. With SPYDERISK system modeller, threat path analysis determines how the primary assets would be affected, so one only needs to specify direct impact levels for primary assets.

If users might need to specify impact levels for a Loss of Control (or User TW), it would be possible to support this. This could be done as follows for the 'Control' TWA and associated effects:

rename the current behaviour 'Loss of Control as 'Loss of Local Control', which undermines the TWA 'Control'
introduce a new behaviour 'Loss of Control' which is not linked to any TWA
add a threat caused by the worst case 'contextualised' Loss of Local Control, and causing the 'global' Loss of Control.

The 'Loss of Local Control' behaviour, and the associated 'Control' TWA would represent breaches in a specific context. The 'global' versions would reflect the least badly affected context. If the system modeller user lowers the TWL for the global 'Control' TWA, it would therefore drive down the TWL in all contexts, modelling the case where a device is believed to be compromised by unknown means.
The separate 'Loss of Control' attribute would only apply in the 'global' context, and should reflect the worst affected context. This would be the 'visible' behaviour at a host, and the one on which the system modeller user could specify an impact level if needed.
A similar approach could be used for 'User TW', by renaming the effect 'Loss of User TW' to 'Loss of Local User TW' that applies in each context, and introducing a new version of 'Loss of User TW' that represents the global worst case.

Now fixed and tested on a couple of scenarios. Commit tagged as v6a3-1-1.


Issue resolved with android naugat

Issue 185 has been resolved

Is this going to be merged? Currently facing the same issue.

@JonasLaux for me its working perfectly in live project also, i don't know whether they are going to merge it or not, but in my opinion they should do it because now major devices are having naugat and may be in next year oreo also.

Would be useful for a project that we're running. For now, we'll need to use your fork @ravirupareliya - Thanks!

@ravirupareliya looks good!
Could you please resolve conflicts?

@jgcmarins Can you please look into it again? I have resolve this conflict from mobile, so not sure whether i have done anything wrong or not.

@ravirupareliya it has some indentation problems, but looks good.
Thanks \o/

No activity. Closing this PR!


MINOR Fix typo and change some fields of PR template

What is this PR for?

Fix typo
Change the list of types so that users can delete others easily

What type of PR is it?
[Documentation]
Todos

[x] - Fix typo
[x] - Change the list of types

What is the Jira issue?
N/A
How should this be tested?

Make a new PR :-)

Screenshots (if appropriate)
Questions:

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

LGTM

Thank you. Let me merge it.


Selecting branches during creation pull request or adding new branch in Android Studio

During creation new pull request from Android Studio target branch is set to master by default while the totally different branch is set to default in VSTS.
During creation from browser default branch is selected by default.
The same we can see while creating a new branch for the work item in Android Studio.
Could you change this, please?

Yes, this is annoying... any chance of this getting fixed?

The plugin should remember the last used branch and also change the title when selecting a different branch. I have to select develop as target branch on every PR and remove "to master" from the title.


Error during running of Autoencoder

I installed tensorflow 2.0 and keras 2.2.4 on my ubuntu 16.04.
However, when I run the toy code:
clf = AutoEncoder(epochs=30, contamination=contamination)
clf.fit(X_train)
Error shows:
AttributeError: module 'tensorflow' has no attribute 'get_default_graph'
This maybe due to the tensorflow and keras version.
After I change your code of Autoencoder imports to:
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Dropout
from tensorflow.keras.regularizers import l2
from tensorflow.keras.losses import mean_squared_error It works.
So, I suggest there is a version specified requirements, of which the existed one is not clear enough.

Noted. Thanks for reporting this.
I read through some posts here: https://github.com/keras-team/keras/issues/12379 and guess it is a discrepancy between keras and tensorflow.
Indeed, we forced the keras (and tensorflow) version before, but installing with pip may mess up users local installation. Some users reported and complained about this before... That is why we said users are responsible for keras and xgboost (similar reason) installation.
For now, keras 2.2.4 and 1.14.0 should work. Hope this is helpful.


output from regression results is mangled- missing newline somewhere

compare what. gets put into the object with what gets shown on screen pin the notebooks from results.summary()
There is a missing newline after "Covariance Type:          nonrobust"

at the bottom of this page:
https://www.statsmodels.org/dev/_modules/statsmodels/iolib/table.html#SimpleTable.as_html
is a lit of default html formats, maybe their is something we cna add as a parameter

or add newline to file after line 95 in utils.py


Finalize types to be extensible

After the research, POCs and measurements, finalize which types must be extensible.

During further discovery during the POC, it was decided that a better approach is to drive type extensibility as needed by related features.   This is a more efficient approach.


Connection filter interface for IP Bans

I'm doing an integration with an application server (Quarkus). Due to some legacy support requirements, we do need to leave some endpoints rather open to abuse, so we are monitoring client connections, message counts and payloads to watch for DoS attempts.
If their message count for a given topic far exceeds a normal threshold, or their payloads balloon in size, or they start sending us garbage, I'd like to ban the clients by IP. This is a shot at making an interface similar to the IAuthenticator interface for vetoing client connections.
Suggestions welcome. It is currently possible for me to work around the need for this using dependency injection, but that creates a circular dependency between the broker (Server::listConnectedClients) and the IAuthenticator.

Also, to the authors: It would also be helpful if I had a function to kick an active client off the broker somehow. I did not attempt that here.

Take a look at InterceptConnectMessage class - may be this is a more desired way to block particular client for your case? In this case you will need just to override the interceptor for your instance locally - there is no changes required on the broker side. Blocking entire IP is not always a good solution, you know.

Take a look at InterceptConnectMessage class - may be this is a more desired way to block particular client for your case? In this case you will need just to override the interceptor for your instance locally - there is no changes required on the broker side.

Thank you for your reply.
I have an InterceptHandler class implemented already. Please note, that in the Javadoc of the InterceptHandler class, it states:
The events can act only as observers
All interceptor methods:

Return void
Do not define what behavior is when throwing an exception.

All InterceptConnectMessage methods return immutables or effectively immutable references. This is not a pattern for acting on events, merely their observation. This is useful, but not sufficient for proper access control, and the policing of misbehaving clients.

Blocking entire IP is not always a good solution, you know.

I am aware.  An IP ban will be an escalation with a relatively short TTL. I am additionally seeking lighter means of action before this, such as kicking the client ID a few times, looking for things like many clients per IP that exhibit bad behavior, etc before even instituting an IP ban. But please understand that we have an internet-reachable broker up maybe a few months where we already see behaviors clearly identifiable as malicious brute force attempts where it just doesn't make sense to entertain any connections from these addresses for at least a few minutes/hours/days.
Additionally we are looking at updating our clients (IoT devices, the ones we can reach) to be more secure, but as mentioned cannot easily make changes server-side that will break the ability of legacy clients to connect. Those client rely on messaging to be notified of the updates we are trying to distribute.
Thanks again.

The events can act only as observers
Of course, this should be used to identify the problem but not to elimitate it. I'm just trying to push the thoughts to the bit different direction - instead of relying on very low level of networking it might be desirable to identify a problem connection and, for example, to disconnect it and to lock its authorization.

We have accumulated a huge negative experience of banning by IP as a first shot - there are a lot of instances running on clouds or using dynamically allocated gateways to reach the broker. So, I just warned you to be honest. Never mind.

We have accumulated a huge negative experience of banning by IP as a first shot - there are a lot of instances running on clouds or using dynamically allocated gateways to reach the broker. So, I just warned you to be honest. Never mind.

Understandable. And its preferable to avoid banning good clients using legitimate services, VPNs, etc. I don't think its bad advice at all.
We do currently lack the ability to disconnect a client, something I noticed your PR does try to address. Thank you!

FYI #744  has been merged into the main

FYI #744 has been merged into the main
@andsel
Thanks. Let me know if there's anything of value in this PR you'd like me to isolate, alternatively I can close this.

Also- any idea when a new release will roll out?

Hi @kazetsukaimiko
first of all thank's for your interest in the project and sorry for late resp0nse.

Also- any idea when a new release will roll out?

We have some minor PRs such as #699  and #630, plus I have the idea to create a DSL to simplify the creation of  the server configuration (instances of IConfig) to make embedding smoother.
Then I'll cut the 0.17 branch that at this point should be pretty stable, because I also want to move the next phase (MQTT5 support) into main and not keep for long the feature branch mqtt5_development.

Let me know if there's anything of value in this PR you'd like me to isolate,

I see value in this feature, have to check carefully the PR, because adding another argument to the startServer makes the method complicated. Maybe a builder class would help in this, positional arguments, when more than 3 and some are optional so implies a null makes the usage little bit harder.

I see value in this feature, have to check carefully the PR, because adding another argument to the startServer makes the method complicated.

Then perhaps solve the DSL and config builder problems first, and I'll resolve any conflicts after, would be my proposition.
Also, switch to Optional where appropriate.


/v3/droplets should return the buildpacks used to stage a kpack lifecycle app

Issue
In cf-for-k8s, Apps manager would like to display which buildpacks were used to produce app images via the kpack lifecycle type on the droplet.
Context
Since user provided buildpacks are getting converted into docker images by kpack - at the droplet level lifecycle type is shown as docker.
Steps to Reproduce

Push an app to cf-for-k8s, specifying a buildpack to use in the manifest.
Inspect the current droplet for the app with GET /v3/apps/:app-guid/droplets/current

Expected result
...
"lifecycle": {
      "type": "kpack",
      "data": {
         "buildpacks": [
            "tanzu-buildpacks/nodejs"
         ]
     }
 }

Current result
...
 "lifecycle": {
      "type": "docker",
      "data": {}
  },

cc @reid47

Apparently the lifecycle.data key in the response has been hardcoded to be {} for a long time:
https://github.com/cloudfoundry/cloud_controller_ng/blob/a0402f489186c436781247c6433c3f80d59cc15d/app/presenters/v3/droplet_presenter.rb#L19
I think you actually might want this to be in the buildpacks array on a Droplet?
That is also missing on a kpack droplet, so this issue is still relevant. Just want to clarify the ask.
Example kpack droplet:
{
   "guid": "3ad8f43d-cae9-4720-9a15-9a88d3fbac23",
   "created_at": "2020-10-19T23:35:42Z",
   "updated_at": "2020-10-19T23:37:03Z",
   "state": "STAGED",
   "error": null,
   "lifecycle": {
      "type": "kpack",
      "data": {}
   },
   "checksum": null,
   "buildpacks": null,
   "stack": null,
   "image": "gcr.io/cf-capi-arya/cf-workloads/aa1edbd2-3b82-493b-aa41-6d421c33959f@sha256:d37551c225ce80c54a2380806e13c9ff0d8199a707fb9879ba9b14fba3f95485",
   "execution_metadata": null,
   "process_types": {
      "web": "bundle",
      "worker": "bundle"
   },
   "relationships": {
      "app": {
         "data": {
            "guid": "aa1edbd2-3b82-493b-aa41-6d421c33959f"
         }
      }
   },
   "metadata": {
      "labels": {},
      "annotations": {}
   },
   "links": {
      "self": {
         "href": "https://api.tim.k8s.capi.land/v3/droplets/3ad8f43d-cae9-4720-9a15-9a88d3fbac23"
      },
      "app": {
         "href": "https://api.tim.k8s.capi.land/v3/apps/aa1edbd2-3b82-493b-aa41-6d421c33959f"
      },
      "assign_current_droplet": {
         "href": "https://api.tim.k8s.capi.land/v3/apps/aa1edbd2-3b82-493b-aa41-6d421c33959f/relationships/current_droplet",
         "method": "PATCH"
      },
      "package": {
         "href": "https://api.tim.k8s.capi.land/v3/packages/dcdfddbb-daa4-48c3-9cd7-784480ef3613"
      },
      "download": {
         "href": "https://api.tim.k8s.capi.land/v3/droplets/3ad8f43d-cae9-4720-9a15-9a88d3fbac23/download"
      }
   }
}

Oh, yeah that works too! (And is consistent with how buildpacks are listed on other droplets, rather than apps.) I think the main thing is we want to be able to read a list of buildpacks off of a kpack-produced droplet. I don't think we feel strongly about where exactly it appears in the JSON.

closing since cf-for-k8s is no longer under active development


Mitigate CVE-2019-11255

What this PR does / why we need it:
Mitigate CVE-2019-11255 by bumping external-provisioner, external-snapshotter and external-resizer image versions.
Release note:
Mitigate CVE-2019-11255 by bumping external-provisioner image version to v1.2.2, external-snapshotter to v1.2.2, external-resizer to v0.3.0. CVE announcement: https://groups.google.com/forum/#!topic/kubernetes-security-announce/aXiYN0q4uIw

@zuzzas could you please bump those version tags in csi-manila's helm chart here https://github.com/kubernetes/cloud-provider-openstack/blob/master/examples/manila-csi-plugin/helm-deployment/values.yaml too?

@gman0
It is done.

@zuzzas thank you!

/lgtm

/ok-to-test
Thanks!!!!!

@zuzzas This needs to be fixed in other branches as well

@zuzzas sidecars are being updated to latest versions in this PR, https://github.com/kubernetes/cloud-provider-openstack/pull/822 , which should include the security fix as well.
PR might be useful for release branch 1.16

@zuzzas Please open PR against release-1.16 branch
/close


Network path is not accessible for IPU drivers

Hello Team,
I am working on to implement Llama2 on AMD Ryzen laptop. However, I am facing an error as " Path not found" for the shared network drive.
Can you help me to download IPU drivers, so that I can able to run the demo.
Thanks,

Hi
You should be able to download NPU driver from the link of this page: https://ryzenai.docs.amd.com/en/latest/inst.html#prepare-the-system


feat:  add tableselector to dataset creation page

SUMMARY
This pr adds the database selector to the leftpanel for the new dataset creation page.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
after

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

This looks really nice. Put in a couple of thoughts, one question though re: spacing. The padding in the table section looks a bit wonky, is that what it was on the figma?

/testenv up

It looks like Antonio had the same error: https://github.com/apache/superset/pull/21213#pullrequestreview-1087206807
Potentially could be solved with a rebase?

/testenv up

/testenv up


No animations in this scene + Specified file not found

Hello everyone, I've recently installed Manim and after playing a little on Eulertour, i decided to create my own scenes.
I created a python file "bidule.py" in the main Manim folder with a "Test" scene inside but 2 problems occur :

When I enter manim bidule.py Test -w in the terminal, it spits out :
Media will be written to ./media\. You can change this behavior with the --media_dir flag. No animations in this scene Played 0 animations
Which is unexpected onsidering my code (I'll put it at the end)
When I enter manim bidule.py Test -pl, it spits out :

Media will be written to ./media\. You can change this behavior with the --media_dir flag.
No animations in this scene
Played 0 animations

Traceback (most recent call last):
  File "c:\users\tvasi\appdata\local\programs\python\python37-32\lib\site-packages\manimlib\extract_scene.py", line 151, in main
    open_file_if_needed(scene.file_writer, **config)
  File "c:\users\tvasi\appdata\local\programs\python\python37-32\lib\site-packages\manimlib\extract_scene.py", line 35, in open_file_if_needed
    os.startfile(file_path)
FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable: 'C:\\Manim\\manim_12_2019\\videos\\bidule\\1440p60\\Test.mp4

I think I need to first create the video in order to read it, but from what i've managed to undestand, -pl also creates/edits the video file if I'm not wrong... So there is a real problem going on. Is there a problem with my packages or ffmpeg ? I don't see where it is. I've seen other people struggling with similar problems, but their solutions did not work. Thanks in advance for your help.
Here is my python file :
from manimlib.imports import *

class Test(Scene):
    def contruct(self):
        text = TextMobject(r"Bonjour, ceci est du \Latex")
        self.play(Write(text))
        self.wait()`

You've misspelled the word "construct" in the Test() class.
It's just a typo.  -_-
Ok thank you very much, I'll test to see if there are any other problems as soon as I can
Thx again

No issues. Just close this issue if there are no problems. There are way too many dead issues that haven't been closed ;)

Ok Everything's fine now.
I close the issue.
Thx again for your time !

Is there anyway the error could point to the line that caused the problem? in this case the line
def construct(self):


Unable to cleanly exit from containers using NFS volumes created by podman volume create

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Based on our reading of the 1.6.0 changelog, podman volume create can now "create and mount volumes with options, allowing volumes backed by NFS." When we try to exercise this feature and create an NFS-backed volume and attach it to a container, we're then unable cleanly exit from that container.
Documentation covering NFS volumes is non-existent, so if this is user error, please advise. Either way, expanding the Examples section of podman-volume-create.1.md and podman-run.1.md with more examples, including several NFS ones, would be helpful.
Steps to reproduce the issue:

Create a volume backed by an NFS filesystem (guessing at the invocation here... again, there are no NFS examples in the documentation to reference).

$ podman volume create --opt type=nfs --opt o=addr=<IP_ADDRESS>,rw --opt device=:/exports/test test_nfs_vol
test_nfs_vol

Confirm that podman is aware of the volume.

$ podman volume inspect --all
[
     {
          "Name": "test_nfs_vol",
          "Driver": "local",
          "Mountpoint": "/home/testuser/.local/share/containers/storage/volumes/test_nfs_vol/_data",
          "CreatedAt": "2019-10-12T20:25:25.000893895-07:00",
          "Labels": {

          },
          "Scope": "local",
          "Options": {

          }
     }
]

Try to run a container with the volume attached:

$ podman run --rm --interactive --tty --volume test_nfs_vol:/mnt/test test_container

Exit the container:

[root@0452086601a2 /]# exit
exit
ERRO[1085] Error removing container<PHONE_NUMBER>a208847ae52d4a224d4779e435249159118f6da06b1fa5ae11d3dd: error cleaning up container<PHONE_NUMBER>a208847ae52d4a224d4779e435249159118f6da06b1fa5ae11d3dd: error unmounting container<PHONE_NUMBER>a208847ae52d4a224d4779e435249159118f6da06b1fa5ae11d3dd storage: error unmounting volume test_nfs_vol for container<PHONE_NUMBER>a208847ae52d4a224d4779e435249159118f6da06b1fa5ae11d3dd: error unmounting volume test_nfs_vol: invalid argument

Describe the results you received:
The container exits with ERRO[1085] and a long run-on error message stating "Error removing container [...]: error cleaning up container [...]: error unmounting container [...] storage: error unmounting volume test_nfs_vol for container [...]: error unmounting volume test_nfs_vol: invalid argument"
Describe the results you expected:
The container exits cleanly; no error message printed.
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
$ podman version
Version:            1.6.1
RemoteAPI Version:  1
Go Version:         go1.12.9
OS/Arch:            linux/amd64

Output of podman info --debug:
$ podman info --debug
debug:
  compiler: gc
  git commit: ""
  go version: go1.12.9
  podman version: 1.6.1
host:
  BuildahVersion: 1.11.2
  CgroupVersion: v1
  Conmon:
    package: conmon-2.0.1-1.fc30.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.0.1, commit: 4346fbe0b2634b05857973bdf663598081240374'
  Distribution:
    distribution: fedora
    version: "30"
  MemFree:<PHONE_NUMBER>6
  MemTotal:<PHONE_NUMBER>6
  OCIRuntime:
    package: runc-1.0.0-93.dev.gitb9b6cc6.fc30.x86_64
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc8+dev
      commit: e3b4c1108f7d1bf0d09ab612ea09927d9b59b4e3
      spec: 1.0.1-dev
  SwapFree:<PHONE_NUMBER>4
  SwapTotal:<PHONE_NUMBER>4
  arch: amd64
  cpus: 8
  eventlogger: journald
  hostname: host0
  kernel: 5.2.18-200.fc30.x86_64
  os: linux
  rootless: true
  slirp4netns:
    Executable: /usr/bin/slirp4netns
    Package: slirp4netns-0.4.0-4.git19d199a.fc30.x86_64
    Version: |-
      slirp4netns version 0.4.0-beta.2
      commit: 19d199a6ca424fcf9516320a327cedad85cf4dfb
  uptime: 3h 28m 18.42s (Approximately 0.12 days)
registries:
  blocked: null
  insecure: null
  search:
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.access.redhat.com
  - registry.centos.org
store:
  ConfigFile: /home/testuser/.config/containers/storage.conf
  ContainerStore:
    number: 1
  GraphDriverName: overlay
  GraphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: fuse-overlayfs-0.6.3-2.0.dev.git46c0f8e.fc30.x86_64
      Version: |-
        fusermount3 version: 3.6.2
        fuse-overlayfs: version 0.6.3
        FUSE library version 3.6.2
        using FUSE kernel interface version 7.29
  GraphRoot: /home/testuser/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: xfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 2
  RunRoot: /run/user/1000
  VolumePath: /home/testuser/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
$ rpm -q podman
podman-1.6.1-2.fc30.x86_64

Additional environment details (AWS, VirtualBox, physical, etc.):
Fresh minimal install of Fedora 30 with yum -y install vim nfs-utils podman buildah.
Exports are visible to host:
$ showmount -e <IP_ADDRESS>
Export list for <IP_ADDRESS>:
/exports/test  <IP_ADDRESS>/24

Exports can be mounted outside of podman using mount <IP_ADDRESS>:/exports/test /mnt/test.

This is completely expected when the volume fails to unmount. The container will be successfully removed, but we will report errors that occurred along the way.

The error that causes the failure to unmount will be handled in #4248


vmray: escape characters

raw:
<deref type="str" value="SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs"/>

parsed feature currently:
call 354: RegOpenKeyExA(SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs, 0, 131097)

should unescape the \\ and other similar items

ugh, I think rule caching got me again here... it all works now

@mike-hunhoff, can you do a sanity check for me here...?
does https://github.com/mandiant/capa-rules/pull/938/files work for you with https://github.com/mandiant/capa-testfiles/blob/tests/add-data/dynamic/vmray/86d8257ae56e5d8220a4e3f8396d944b5e9e41732b58ad7472276d78aea232fa_min_archive.zip

I think this may be where we need to improve String feature extraction:
https://github.com/mandiant/capa/blob/591a1e8fbbdc42d526ad159386bb4d8e1e5be0c3/capa/features/extractors/vmray/call.py#L30

Yes, appears to be a bug in the string extraction. Updating the rule to use /SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\RecentDocs/i works. I'll push a fix.

raw summary JSON vs. XML
❯ grep "SOFTWARE" -C2 7244847/logs/summary_v2.json
      ],
      "original_reg_key_names": [
        "HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs"
      ],
      "reg_key_name": "HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs",
      "verdict": "clean",
      "ref_gfncalls": [

❯ grep "SOFTWARE" -C2 7244847/logs/flog.xml
		<param name="hKey" type="void_ptr" value="0xffffffff80000001"/>
		<param name="lpSubKey" type="ptr" value="0x5b490ff544">
			<deref type="str" value="SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs"/>
		</param>
		<param name="ulOptions" type="unsigned_32bit" value="0x0"/>

I think this may be where we need to improve String feature extraction:
https://github.com/mandiant/capa/blob/591a1e8fbbdc42d526ad159386bb4d8e1e5be0c3/capa/features/extractors/vmray/call.py#L30

adding param.deref.value.replace("\\\\", "\\") does the trick here for me