grafana_client.client.GrafanaClientError: Client Error 404: Not found

Describe the bug
I have started looking at the Grafana Client python library. Whatever the method I try from Grafana Client, I get the 404 error.
Error
Traceback (most recent call last):
  File "D:\Nandan\PythonScripts\Grafana API Calls.py", line 19, in <module>
    print(grafana.datasource.list_datasources())
  File "D:\Python\Python39\lib\site-packages\grafana_client\elements\datasource.py", line 144, in list_datasources
    r = self.client.GET(list_datasources_path)
  File "D:\Python\Python39\lib\site-packages\grafana_client\client.py", line 156, in __request_runner
    raise GrafanaClientError(
grafana_client.client.GrafanaClientError: Client Error 404: Not found

Expected behavior
I am able to make these calls from Postman Web Agent and I am successful in getting the response back.
Versions

Grafana: [V9.2.4]
grafana-client: [API]
Authentication: [Token]

Additional context
print(grafana.datasource.list_datasources())
Above is the simple method I am using the get the response.

Hi,
thank you for writing in. May I ask how you are creating your GrafanaApi instance? Most probably, you will have to address your Grafana instance properly. Otherwise, grafana-client will attempt to connect to localhost.
Examples
grafana = GrafanaApi(host="daq.example.org", port=3000)
grafana = GrafanaApi.from_url("https://daq.example.org/grafana/")

I hope this helps.
With kind regards,
Andreas.

Hello,
Below is my complete code . I have hidden the TokenAuth in the below code
for security reasons.
from grafana_client.api import GrafanaApi
from grafana_client.client import GrafanaClientError, HeaderAuth, TokenAuth
grafana = GrafanaApi.from_url(
"http://belix-grafana-dev.imerysnet.com:3000/api/",
credential=TokenAuth(token='XXXXXXXXXX'))
print(grafana.url)
print(grafana.datasource.list_datasources())
Output:
D:\Python\Python39\python.exe "D:/Nandan/PythonScripts/Grafana API Calls.py"
http://belix-grafana-dev.imerysnet.com:3000/api/
Traceback (most recent call last):
File "D:\Nandan\PythonScripts\Grafana API Calls.py", line 20, in
print(grafana.datasource.list_datasources())
File
"D:\Python\Python39\lib\site-packages\grafana_client\elements\datasource.py",
line 144, in list_datasources
r = self.client.GET(list_datasources_path)
File "D:\Python\Python39\lib\site-packages\grafana_client\client.py",
line 156, in __request_runner
raise GrafanaClientError(
grafana_client.client.GrafanaClientError: Client Error 404: Not found
Thanks
Nandan Chapa
Industrial IT - Global Data & Architecture
Office : +1<PHONE_NUMBER> Mobile : +1<PHONE_NUMBER>
https://www.surveymonkey.com/r/BMR8H92?Employee_ID=[NandanChapa]
On Tue, Feb 7, 2023 at 4:34 AM Andreas Motl @.***>
wrote:

Hi,
thank you for writing in. May I ask how you are creating your GrafanaApi
instance? Most probably, you will have to address your Grafana instance
properly. Otherwise, grafana-client will attempt to connect to localhost.
Examples
grafana = GrafanaApi(host="daq.example.org", port=3000)
grafana = GrafanaApi.from_url("https://daq.example.org/grafana/")
I hope this helps.
With kind regards,
Andreas.
—
Reply to this email directly, view it on GitHub
https://github.com/panodata/grafana-client/issues/72#issuecomment-1420465544,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4IA2DNGG75CFOJLWRLLHXLWWIJJDANCNFSM6AAAAAAUTBXNNA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
The contents of this email message and any attachments are intended solely
for the addressee*(s). It m**ay contain confidential and/or privileged
information and may be legally protected from further disclosure. If you
are not the intended recipient of this message or their agent, or if this
message has been addressed to you in error, please immediately alert the
sender by reply email and then delete this message and any attachments. If
you are not the intended recipient, you are hereby notified that any use,
dissemination, copying, or storage of this message or its attachments is
strictly prohibited and may be unlawful. *

Hi Nandan,
thanks for your response. It looks like the endpoint at http://belix-grafana-dev.imerysnet.com:3000/api/ is responding with 404 Not Found? Are you absolutely sure that a Grafana instance is listening at this address?
Maybe it is related to that the authenticated user does not have permissions to access the corresponding endpoint to inquire the list of data sources?
What happens if you just inquire the Grafana server version like this?
from grafana_client.api import GrafanaApi
grafana = GrafanaApi.from_url(...)
print(grafana.version)

With kind regards,
Andreas.

Andreas,
I am able to use Postman to make these calls successfully with the same
Authentication Token. Do you suspect anything wrong with installation of
Grafana Client ?
[image: image.png]
Output to Print Version of Grafana:
D:\Python\Python39\python.exe "D:/Nandan/PythonScripts/Grafana API Calls.py"
http://belix-grafana-dev.imerysnet.com:3000/api/
Traceback (most recent call last):
File "D:\Nandan\PythonScripts\Grafana API Calls.py", line 20, in
print(grafana.version)
File "D:\Python\Python39\lib\site-packages\grafana_client\api.py", line
92, in version
grafana_info = self.health.check()
File
"D:\Python\Python39\lib\site-packages\grafana_client\elements\health.py",
line 15, in check
r = self.client.GET(path)
File "D:\Python\Python39\lib\site-packages\grafana_client\client.py",
line 156, in __request_runner
raise GrafanaClientError(
grafana_client.client.GrafanaClientError: Client Error 404: Not found
Thanks
Nandan Chapa
Industrial IT - Global Data & Architecture
Office : +1<PHONE_NUMBER> Mobile : +1<PHONE_NUMBER>
https://www.surveymonkey.com/r/BMR8H92?Employee_ID=[NandanChapa]
On Tue, Feb 7, 2023 at 11:44 AM Andreas Motl @.***>
wrote:

Hi Nandan,
thanks for your response. It looks like the endpoint at
http://belix-grafana-dev.imerysnet.com:3000/api/ is responding with 404
Not Found? Are you absolutely sure that a Grafana instance is listening
at this address?
Maybe it is related to that the authenticated user does not have
permissions to access the corresponding endpoint to inquire the list of
data sources?
What happens if you just inquire the Grafana server version like this?
from grafana_client.api import GrafanaApigrafana = GrafanaApi.from_url(...)print(grafana.version)
With kind regards,
Andreas.
—
Reply to this email directly, view it on GitHub
https://github.com/panodata/grafana-client/issues/72#issuecomment-1421084059,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4IA2DKIESMKKTUS2GYAWP3WWJ3VDANCNFSM6AAAAAAUTBXNNA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
The contents of this email message and any attachments are intended solely
for the addressee*(s). It m**ay contain confidential and/or privileged
information and may be legally protected from further disclosure. If you
are not the intended recipient of this message or their agent, or if this
message has been addressed to you in error, please immediately alert the
sender by reply email and then delete this message and any attachments. If
you are not the intended recipient, you are hereby notified that any use,
dissemination, copying, or storage of this message or its attachments is
strictly prohibited and may be unlawful. *

Hi Nandan,
thanks a again for your quick response. I will investigate the code base to check if I can discover any potential flaw in that area. In the meanwhile, can I humbly ask you to check two things?

Omit the trailing slash on the url argument. Will probably make no difference, just for checking/completeness.
Run a request to the URL using a command line tool like curl or HTTPie, to check if you can spot any anomaly. I am looking at eventual proxy settings, or other differences to your successful use of Postman here.

With kind regards,
Andreas.

Andreas,
That works. Thanks for your help. Much appreciate it
Thanks
Nandan Chapa
Industrial IT - Global Data & Architecture
Office : +1<PHONE_NUMBER> Mobile : +1<PHONE_NUMBER>
https://www.surveymonkey.com/r/BMR8H92?Employee_ID=[NandanChapa]
On Tue, Feb 7, 2023 at 12:58 PM Andreas Motl @.***>
wrote:

Hi again,
I've explored the space a bit, and I think url="
http://belix-grafana-dev.imerysnet.com:3000/api/" is the wrong address.
You should use url="http://belix-grafana-dev.imerysnet.com:3000/"
instead, omitting the /api suffix.
With kind regards,
Andreas.
—
Reply to this email directly, view it on GitHub
https://github.com/panodata/grafana-client/issues/72#issuecomment-1421218506,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4IA2DP7OD2T4WVBRJKA2ADWWKEL7ANCNFSM6AAAAAAUTBXNNA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
The contents of this email message and any attachments are intended solely
for the addressee*(s). It m**ay contain confidential and/or privileged
information and may be legally protected from further disclosure. If you
are not the intended recipient of this message or their agent, or if this
message has been addressed to you in error, please immediately alert the
sender by reply email and then delete this message and any attachments. If
you are not the intended recipient, you are hereby notified that any use,
dissemination, copying, or storage of this message or its attachments is
strictly prohibited and may be unlawful. *

Excellent. Closing this. Enjoy!


Add a wlr_output_set_subpixel()

drmModeConnector.subpixel doesn't seem to detect subpixel order on many displays (especially laptops). Allow subpixel order to be manually set.
My plan is to make a corresponding PR for sway that adds a subpixel output option. Then https://github.com/swaywm/sway/issues/3163 will be fixed.
I'm very unfamiliar with the wlroots codebase so it's quite likely I made a mistake in this PR.

I'm a little sad to see subpixel becoming a dynamic thing. Also I'm not sure how Wayland clients will handle this (some will probably completely ignore the updated value).

I don't know how they implement it, but macOS & Windows both allow changing subpixel hinting without restarting anything. On both platforms, some apps pick up the new hinting immediately while others require relaunching.
I managed to get the same behavior with this PR + the Sway one. Thanks to your suggestions, it's fewer total lines of code.

Thanks!


A better way to automate tab clicking

Describe the bug
This is an extension to #511
To Reproduce
please follow the steps in #511
Additional context
Is there a better way to auto clicking on tabs, as opposed to what was discussed in #511? especially in a where there is no tab labels but only icons.
please advise,
thanks in advance,
rey malahay

Duplicated of #1544


[GAL-3240] PFP components Web

Changes

Add new components (Default PFP, PFP stacked and NFT Selector)
User able to add/remove profile pictures in Profile and Onboarding

Components
Default PFP and Stacked PFP

NFT Selector

Demo
Profile
https://github.com/gallery-so/gallery/assets/4480258/6750660d-3bc0-4a79-aafa-79b7a624a9ca
Onboarding Flow
https://github.com/gallery-so/gallery/assets/4480258/063f11bd-f807-49b3-a9df-0331d873f985
ENS
https://github.com/gallery-so/gallery/assets/4480258/9d20d310-a5cf-4814-b258-23b4251f6a77

pushed a small change to make the dropdown options in the different filters consistent with each other!
before

after


Use CETL's polymorphic RTTI

Now CETL's polymorphic RTTI casting is in use at cetl::detail::base_storage.
Extended unit tests TestXxx helper types with virtual what() method - to test polymorphic RTTI casting.
Added compile tests to verify several static_assert-s at cetl::any (related to Footprint fitting).

Also:

Reduced code duplication at unit tests TestXxx helper types.
Fixed incorrect applying of -fno-exceptions to C flags - should be C++ flags.
Addressed several unit tests todo-s. No todo-s anymore at production cetl::any code.
Added verification that there will be no value moved out of source any in case of bad cast attempt.

This change was also made, but decided to revert (for now) and save it as patch (for future reference):

Added new CETLVAST_DISABLE_CPP_RTTI configuration parameter. OFF by default.
CETLVAST_DISABLE_CPP_RTTI.patch

I think it's fine overall but there's one case that should be working but it's not; there's a missing remove_cv somewhere:
#include <cetl/any.hpp>
#include <iostream>
#include <string>

namespace cetl
{
template <>
constexpr type_id type_id_value<int> = {1,2,3,4,5};
template <>
constexpr type_id type_id_value<std::string> = {1,2,3,4,6};
}

int main()
{
    cetl::any<64> any;
    any.emplace<std::string>("hello");
    std::cout << *cetl::any_cast<std::string>(&any) << std::endl;
    std::cout << *cetl::any_cast<const std::string>(&any) << std::endl;  // here
}

>should be working but it's not
I'll take a look at this


Fragmentate deposit market&fee account unspents

This adds the possibility for the operator to fragment unspents deposited to the market.
DepositMarket RPC updated to accept new argument NumOfAddresses added to support fetching of multiple addresses for one market.
This adds the possibility for the operator to fragment unspents deposited to the fee account.
DepositFeeAccount RPC updated to accept new argument NumOfAddresses added to support fetching of multiple addresses for the Fee account.

Once operator invokes "depositmarket" command using CLI, an ephemeral address will be generated which needs to be funded with base and quote assets, once address is printed in console, crawler will be started which will watch for utxo's related ephemeral address.
When crawler notice that both assets are funded it will stop watching and it will craft transaction with 2 inputs (base & quote asset) and 23 outputs, 11 for base, 11 quote asset and one for fee which will be deducted from biggest base output.
11 outputs (base&asset) are calculated based on hardcoded fragment map(number of fragments utxo/percentage of main utxo) of  which is defined in task.
var fragmentationMap = map[int]int{
	1: 30,
	2: 15,
	3: 10,
	5: 2,
}

It closes #184
@tiero @altafan please review.

@sekulicd This is impossible to me to test with nigiri. I have a suspect is the "asset registry" used by chopsticks which is a json file.
Can you try it with a plain docker-electrs without Nigiri?
https://github.com/vulpemventures/nigiri/blob/master/resources/docker-compose-regtest-liquid.yml


Adding sonar design sketch

Simply adding graphml sketch and png.  Sketch generated with yEd.

Maybe we should not have a docs directory in this repository.  How about if we have a directory in the Wiki repository instead.  This way it is easier to link to graphs from the Wiki and adding content does not need peer review.  Also, please add a Makefile for building the graph, see Makefile in dave.wiki/drawings.

I put the drawings there (dave.wiki) first, but it it is tough to browse them via the web.  Is there a way to see the drawings directly in a web browser?  A view similar to this...
https://github.com/Field-Robotics-Lab/dave/blob/docs/docs/sonar_dev_arch.png

I see.  For direct browser navigation, it needs to be on the repository side.  I'm fine with a separate "dave_doc" repository or as is.


Depend on ghc so shelly can find ghc-pkg

Resolves #127

This PR adds GHC for everyone, even for people who are not using Haskell, which is not desirable.
Is not adding p: [p.ghc] to the extraPackages option of JupyterWith enough to make this work? This should be equivalent.

This PR adds GHC for everyone, even for people who are not using Haskell, which is not desirable.

Oh yeah that's true.

Is not adding p: [p.ghc] to the extraPackages option of JupyterWith enough to make this work? This should be equivalent.

Yeah I agree. The fix for this issue should be in kernels/ihaskell/default.nix.


K8 sps 244 custom config auto pods restart

@Bndrs21 CHANGE DESCRIPTION*
Problem:
Short explanation of the problem.
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
CHECKLIST
Jira

[ ] Is the Jira ticket created and referenced properly?
[ ] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[ ] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[ ] Is an E2E test/test case added for the new feature/change?
[ ] Are unit tests added where appropriate?

Config/Logging/Testability

[ ] Are all needed new/changed options added to default YAML files?
[ ] Are the manifests (crd/bundle) regenerated if needed?
[ ] Did we add proper logging messages for operator actions?
[ ] Did we ensure compatibility with the previous version or cluster upgrade process?
[ ] Does the change support oldest and newest supported PS version?
[ ] Does the change support oldest and newest supported Kubernetes version?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: tplavcic:white_check_mark: hors:white_check_mark: inelpandzic:x: aaserviceYou have signed the CLA already but the status is still pending? Let us recheck it.


release notes for .net sdk

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: \ release notes for .net sdk
Jira/GitHub Issue numbers (if any): \FFM-11813
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[X] Successful preview build.
[X] Code owner review.
[X] No merge conflicts.
[X] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66a8e4c6fdca2b1298790b3b--harness-developer.netlify.app


New Rule: Link to auto-downloaded zip containing suspicious file types

We might want to change the name of this one, I'm not the best writer.
Will post results of a hunt when it completes.

No results either way (TPs or FPs).

Closing, no evidence to suggest Qakbot uses links in body.


Refactor control flow analysis to track predecessors and postdecessors

Currently we track control flow with the assistance of the Jumps pass, which analyzes which statements sometimes or always jump away, and then we have ad hoc logic using that elsewhere in other passes.
The ad hoc nature of the analysis is making it hard to do certain things well, including these issue tickets:

Bugs related to buggy control flow analysis: #55, #58
Features waiting for better control flow analysis: #29

We need to have a better way of analyzing control flow that is more explicit, more centralized, and more complete.

We need a new compiler pass called Flow which will generate a data structure for each function that can answer at a minimum the following questions for those later passes which consume that data structure:

Given two AST nodes A and B, is A always evaluated before B?
Given two AST nodes A and B, is A sometimes evaluated before B?

Further it would be nice to also be able to answer questions like this:

Given an AST node A, which flow control condition expressions must hold true in order to execute A (for example, if node A resides inside two nested if blocks, this would return the AST nodes for the two if)

This latter question will need further thinking about if/how we want to represent "necessary" vs "sufficient" conditions. We need to know more about how this part will be used before we can decide those. But I want this general idea to inform the data structure choices we make when implementing this.

As a baseline starting idea, I'd like to have something similar in spirit to LLVM's Dominator Trees
However, I don't want to exactly mimic how they do it. My current thinking on implementation is something like this:

A control flow block is defined as representing a series of AST nodes whose execution is mutually guaranteed. That is, if the first AST node in a block executes, then it is guaranteed that all other AST nodes marked as being in the same block will also execute. This may or may not exactly correspond to lexical control flow blocks in the program.

Mark each AST node with two properties: the control flow block it belongs to and its index within the control flow block.

Track which blocks precede which others and the AST nodes that determine which block is taken when forking between blocks happens conditionally.

Together this information should be sufficient to answer the basic questions this data structure needs to answer.

I didn't end up following this exact plan, but I did roughly what needed doing by adding a new Flow pass which analyzes control flow in terms of predecessors, and a new Local pass which uses that flow analysis to analyze safety of local variables.
This of course may end up being refined and extended further in the future, but I think what I have now is meeting the basic needs implied by this ticket, so I'm going to close it now.


Update watchModePatterns.test snapshot

Summary
$ yarn test e2e/__tests__/watchModePatterns.test.ts was faild so update snapshot.

Result (was faild)
$ yarn test e2e/__tests__/watchModePatterns.test.ts
 FAIL  e2e/__tests__/watchModePatterns.test.ts
  ✕ can press "p" to filter by file name (2053 ms)
  ✕ can press "t" to filter by test name (2132 ms)

  ● can press "p" to filter by file name

    expect(received).toMatchSnapshot()

    Snapshot name: `can press "p" to filter by file name 1`

    - Snapshot  - 7
    + Received  + 3

    -
    + "
      Pattern Mode Usage
       › Press Esc to exit pattern mode.
       › Press Enter to filter by a filenames regex pattern.

    -  pattern ›
    -  pattern › b
    -  pattern › ba
    -  pattern › bar
    -
    +  pattern ›  pattern › b pattern › ba pattern › bar

    -
    + "

      53 |
      54 |   // contains ansi characters, should not use `wrap`
    > 55 |   expect(stdout).toMatchSnapshot();
         |                  ^
      56 |   expect(results).toHaveLength(2);
      57 |   results.forEach(({rest, summary}) => {
      58 |     expect(wrap(rest)).toMatchSnapshot('test results');
      at Object.toMatchSnapshot (e2e/__tests__/watchModePatterns.test.ts:55:18)

  ● can press "t" to filter by test name

    expect(received).toMatchSnapshot()

    Snapshot name: `can press "t" to filter by test name 1`

    - Snapshot  - 5
    + Received  + 3

    -
    + "
      Pattern Mode Usage
       › Press Esc to exit pattern mode.
       › Press Enter to filter by a tests regex pattern.

    -  pattern ›
    -  pattern › 2
    +  pattern ›  pattern › 2

    -
    -
    + "

      73 |
      74 |   // contains ansi characters, should not use `wrap`
    > 75 |   expect(stdout).toMatchSnapshot();
         |                  ^
      76 |   expect(results).toHaveLength(2);
      77 |   results.forEach(({rest, summary}) => {
      78 |     expect(wrap(rest)).toMatchSnapshot('test results');

      at Object.toMatchSnapshot (e2e/__tests__/watchModePatterns.test.ts:75:18)

 › 2 snapshots failed.

Test plan

This test currently passes on CI (and my machine) while your changes fail on CI. Not sure what's up, but there seems to be some issue with your local environment rather than the test?

Hmmm... I just forked and cloned this repo, but there's something wrong with my local environment as you say.


[BUG] Yeta wrench duplicates Compact Storage chests

The bug
Right-clicking a chest from the Compact Storage mod with the Yeta wrench will rotate the chest, drop all its contents as items, and drop a perfect duplicate of the chest as an item.
To Reproduce
Steps to reproduce the behavior:

Install EnderIO and Compact Storage mods.
Make a Compact Storage chest and place it in the world.
Put some items into the chest.
Make a Yeta wrench.
Right-click the chest with the wrench.

Expected behavior
The chest should rotate WITHOUT dropping its contents or a duplicate of itself.
Version information:

OS: Ubuntu Linux 22.04 LTS
Java version <IP_ADDRESS>, Oracle Corporation
Minecraft version 1.20.1
EnderIO version 6.0.23-alpha [EnderIO monolithic version]
Compact Storage version 5.1.2-1.20.1
Mod loader: Forge v47.2.19

Additional Notes
Well, that's the darndest thing I've seen in a little while....
Issue MAY affect other modded chests, but not vanilla chests or chests from Sophisticated Storage OR Iron Chests.

Looks like the problem is with the Compact Storage mod instead. The problem also happens when using the wrench from Supplementaries. I'll report it to them. Sorry for the bother.


[Bug] Android editor freezes on a Vulkan mobile project

Tested versions
Reproducible in master build of the Android editor: v4.3.dev.custom_build [8ff821670]
System information
Tested on a Samsung Tab S8 running Android 14
Issue description
Opening the attached MRP project causes the Android editor to freeze with the following error visible in logcat (keeps continuously printing):
<gsl_ldd_control:553>: ioctl fd 89 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
16:36:54.657 Adreno-GSL            W  <log_gpu_snapshot:461>: panel.gpuSnapshotPath is not set.not generating user snapshot
16:36:54.657 godot                 E  USER ERROR: Condition "err != VK_SUCCESS" is true. Returning: FAILED
16:36:54.658 godot                 E     at: command_queue_execute (drivers\vulkan\rendering_device_driver_vulkan.cpp:2188)
16:36:54.658 godot                 E  USER ERROR: Condition "err != VK_SUCCESS" is true. Returning: FAILED
16:36:54.658 godot                 E     at: fence_wait (drivers\vulkan\rendering_device_driver_vulkan.cpp:2014)

Steps to reproduce

Open the attached MRP project in the Android editor
If that doesn't cause a freeze, run the project and navigate through it using the instructions on the screen; this usually causes a freeze as well.

Minimal reproduction project (MRP)
Terrain3D_demo2.zip

@DarioSamo Here's a screen recording of the issue.
https://github.com/godotengine/godot/assets/914968/e98fd339-7567-4088-a961-5f45ca8ada24

This seems to rely on a Terrain3D add-on right? Is there any possibility the add-on relies on RD code that hasn't been updated yet?
I realize this has been marked as a regression, but on which version did this run properly exactly?

Unable to reproduce.
I get a lot of errors in output when using the MRP as is on an Android Editor build (Samsung Galaxy S21 Mali-G78 Android 13):
USER SCRIPT ERROR: Parse Error: Could not find type "Terrain3D" in the current scope.
2024-02-19 11:08:12.454 10128-10169 godot                   org.godotengine.editor.v4.debug      E     at: GDScript::reload (res://addons/terrain_3d/editor/editor.gd:11)
2024-02-19 11:08:12.454 10128-10169 godot                   org.godotengine.editor.v4.debug      E  USER SCRIPT ERROR: Parse Error: Could not find type "Terrain3DEditor" in the current scope.
2024-02-19 11:08:12.454 10128-10169 godot                   org.godotengine.editor.v4.debug      E     at: GDScript::reload (res://addons/terrain_3d/editor/editor.gd:16)
2024-02-19 11:08:12.454 10128-10169 godot                   org.godotengine.editor.v4.debug      E  USER SCRIPT ERROR: Parse Error: Identifier "Terrain3DEditor" not declared in the current scope.
2024-02-19 11:08:12.454 10128-10169 godot                   org.godotengine.editor.v4.debug      E     at: GDScript::reload (res://addons/terrain_3d/editor/editor.gd:27)

I'm able to navigate around the environment and launch it, although I imagine the tiled textures are not intended as they don't match the OP's visuals at all. Am I missing something in regards to what setup I must do to launch this project?

I tested with the APK build of 4.2.1 from the Godot website and tried loading the project both with the included binary of the add-on and the 0.9.1-beta of Terrain3D. Neither seem to load the project successfully even after repeated attempts, as I get an error for "Cannot get class Terrain3DSurface".
Running around the incomplete scene hasn't triggered any error for me in master so it seems I'm at a dead end when it comes to debugging this further.

Closing the issue as I'm no longer able to reproduce it.


Store leaderboard for some challenging testbeds

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue

How Has This Been Tested (if it applies)

Checklist

[x] The documentation is up-to-date with the changes I made.
[x] I have read the CONTRIBUTING document and completed the CLA (see CONTRIBUTING).
[x] All tests passed, and additional code has been covered with new tests.

@AnMoreau FYI, with this I'll automatically keep track of the best inputs for Photonics and ARCoating, hopefully we can push some numbers

very cool idea


s4704935 3D Improved UNet

Marking

Good/OK/Fair Practice (Design/Commenting, TF/Torch Usage)
Good design and implementation.
Spacing and comments.
Header blocks.
Recognition Problem
Good solution to problem.
Driver Script present.
File structure present.
Good Usage & Demo & Visualisation & Data usage.
Module present.
Commenting present.
No Data leakage found.
Difficulty : Hard. UNet3D (Hard Difficulty)0
Commit Log
Good Meaningful commit messages.
Good Progressive commits.
Documentation
Readme :Good.
Model/technical explanation :Good.
Description and Comments :Good.
Markdown used and PDF submitted. PDF checked.
Pull Request
Successful Pull Request (Working Algorithm Delivered on Time in Correct Branch). On time submission.
No Feedback required.
Request Description is missing. -2
TOTAL-2

Marked as per the due date and changes after which aren't necessarily allowed to contribute to grade for fairness.
Subject to approval from Shakes

Ryuto Hisamoto

Segmentations not one hot encoded -2 additionally

Good work!


Appstore Apps Not Downloading

I’m having lots of trouble downloading apps from the appstore? i’m on 12.1.2 and I can’t download any apps. I’ve signed out of my icloud and signed back in, killed appstore in cocoatop and even restarted and tried to download in an unjailbroken state but still won’t download?

You have the passbook deamon turned off in icleaner


Error compiling for board NodeMCU 1.0 (ESP-12E Module)

facing issue following error while compiling
Using library DallasTemperature-3.8.0 at version 3.8.0 in folder: C:\Program Files (x86)\Arduino\libraries\DallasTemperature-3.8.0
Error
Error compiling for board NodeMCU 1.0 (ESP-12E Module)
IDE1.8.12
NodeMCU Board Version 2.0.6

Can you compile the example sketches that are provided with the library?

No one is going to be able to help you if you do not show more code or expand the console panel to see what could happened.

@milesburton
As no more info in 35+ days the issue is probably solved, so it can be closed

solved,


Adding My "Name" in README.md

Adding My Name "Ravindra Kumar" in This README.md file

#adding square bracket before my name


Testing on different environments

Fixes #8917
cc: @seshenoy

Can you provide an internal review topic? It's really challenging to review these changes in isolation

Yes, sorry about that @javiercn ...
https://review.docs.microsoft.com/en-us/aspnet/core/test/integration-tests?view=aspnetcore-2.1&branch=pr-en-us-9060

@javiercn It was the first thing that came to mind: The app loads whatever services and pipeline config it requires for whatever environment it finds itself in depending on its environment (dev, staging, test, prod) ... in the normal way ... in the way that we clearly document in the App startup and Multiple environments topics, then the dev sets the environment for testing using the env var or by setting it in code in the test project the way that I show. That's super-easy to understand and comports well with what we current document about running apps in various environments.

The pattern mentioned above (calling plain ConfigureServices and using services.TryAdd in your startup code is the recommended approach to follow when you want to register services that you might need to override for testing).

Even now just reading that, it's not super clear to me, so I'll think it over this weekend.

@guardrex Also for environment specific setups you can do Configure<>Services in your startup and setup the environment in the WebHostBuilder. Those two approaches are better than relying on ConfigureTestServices

WRT Configure{Environment}Services ... we do document it, but I'm concerned about showing devs too many ways of handling environments (i.e., not being opinionated enough). The current thrust of doc samples and content is to use if logic. Actually, I have a better idea for this section now that we've discussed it. Let's just punt the reader (via link) over to the Multiple environments topic for that bit. We don't need it here. We just need to point to what we currently have.
WRT controlling the environment for tests, are you just saying to strip out the piece that explains how to set it explicitly in ConfigureWebHost and WithWebHostBuilder? ... just tell the reader to set the environment on the testing server with the env var and leave it at that? If so, that's easy. Then if they prefer to use ConfigureWebHost and/or WithWebHostBuilder approaches, they're welcome to discover them on their own (i.e., IntelliSense).

@javiercn How about this (on the last commit) ...

### Set the environment
If the SUT requires special testing configuration when tests are executed:
* Specify the environment on the test system (for example, set the `ASPNETCORE_ENVIRONMENT` environment variable to a value that reflects a staging or testing environment, such as `Staging` or `Test`).
* Provide code in [Startup](xref:fundamentals/startup) that loads services and configures the request pipeline based on its environment.
For more information, see <xref:fundamentals/environments>.

Specify the environment on the test system (for example, set the ASPNETCORE_ENVIRONMENT environment variable to a value that reflects a staging or testing environment, such as Staging or Test).

Why would you do this instead of just calling webhostbuilder.UseEnvironment?

Why would you do this instead of just calling webhostbuilder.UseEnvironment?

Wouldn't calling UseEnvironment be hard-coding the environment into the app? ... unless you meant in CustomWebApplicationFactory or WithWebHostBuilder ... that's what I did on the 1st commit (but I had the impression that you didn't want to mention those approaches).
Suppose that I configure the app based on its environment in ConfigureServices and Configure based on Development, Staging (testing), and Production. The app reacts to whatever environment it's in. All I have to do is set the environment in the testing environment (i.e., set the ASPNETCORE_ENVIRONMENT env var and call CreateDefaultBuilder). That seems super-simple to understand.
Alternatively, I could have set the environment for the app based on what I showed in the first commit ... builder.UseEnvironment("Staging") (with CustomWebApplicationFactory) or builder.UseSetting("Environment", "Staging"); (WithWebHostBuilder). I tested this approach, and it worked.

@javiercn Should I close this PR? I have other issues to address on the topic, so we can move on to the next one if there's no need to address the environment-related issue (#8917).


UPN for user RBAC does not work

The rbac-aad-user.yaml still says UPN or objecId but only objectId works. This closed issue https://github.com/MicrosoftDocs/azure-docs/issues/28105 seems to indicate that this document would be fixed but that is not the case.

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

ID: a47c6df7-5103-1336-eb0b-68f95155e6c8
Version Independent ID: f4420b08-9b57-f581-fcb4-f069afdd5b0c
Content: Integrate Azure Active Directory with Azure Kubernetes Service - Azure Kubernetes Service
Content Source: articles/aks/azure-ad-integration.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

If we're using a user within our tenant we would be expected to specify UPN. If we're granting permissions to a user outside our tenant but still within AAD, we would specify ObjectId. For groups, continue to use ObjectId.

This use case is for "With in the tenant user." scenraio  I am not sure  when you say we are expected to provide UPN for within the tenant user.  This document clearly says you can use UPN or objected.  My testing indicates that UPN does not work and ObjectId does.  Can you please look at the issue 28105 (linked above) and comment?  Groups scenario is not applicable for this test case.

@mlearned @zr-msft Can you please help with this document update, it looks like there are multiple issues open for the same update needed.
https://github.com/MicrosoftDocs/azure-docs/issues/29153
https://github.com/MicrosoftDocs/azure-docs/issues/28105

Thank you @rajnemani for the feedback.
The following article replaces the original article you provided feedback on:
https://docs.microsoft.com/azure/aks/azure-ad-integration-cli
#please-close


Fix to provide php v8.1 compatibility

Provided: Avoid deprecation User Deprecated: Method "Countable::count()" might add "int" as a native return type declaration in the future. Do the same in implementation "Ratchet\RFC6455\Messaging\Message" now to avoid errors or add an explicit @return annotation to suppress this message.

Please merge 👍

These changes have been made in the v0.4 branch for #60


用外网ip访问不到的?

Bad Request - Invalid Hostname
HTTP Error 400. The request hostname is invalid.
用外网ip访问不到的?

The host header on the incoming request must match the listener hostname you supply in the constructor.  Otherwise, you can use *, +, or <IP_ADDRESS> as the listener hostname, but this will require you to run with administrative privileges.


Format to print client ID

Change data type to print client ID.
Signed-off-by: Jaeyun<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #79. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


How does Oink Deal with Threads?

Sorry for opening an issue to ask a general question.
How does Oink deal with threaded webservers? For example if i'm running puma with 5 threads and each start serving a request A,B,C,D, & E. If Oink is measuring memory by wrapping the request for A and then in the middle B gets hit with a REALLY expensive endpoint, if you're taking process memory it might look like A was at fault. Does Oink handle that well? Does it use statistics to see what requests consistently use more memory?
Thanks for your work on this gem and in for working in the Ruby memory space.

As far as I see Oink measure memory of process (based on PID), so it does not support measuring separate threads


(Chore) Don't call ZoOm server directly

Description

remove direct call of Zoom server to issue session token
call own backend endpoint instead

About #2081
Checklist:

[x] PR title matches follow: (Feature|Bug|Chore) Task Name
[x] My code follows the style guidelines of this project
[x] I have followed all the instructions described in the initial task (check Definitions of Done)
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have added reference to a related issue in the repository
[x] I have added a detailed description of the changes proposed in the pull request. I am as descriptive as possible, assisting reviewers as much as possible.
[ ] I have added screenshots related to my pull request (for frontend tasks)
[ ] I have pasted a gif showing the feature.
[x] @mentions of the person or team responsible for reviewing proposed changes

Please don't merge once corresponding GoodServer's PR won't be ready

what are these snapshot changes that the build fails over?

those changes are coming from the @react-navigation package
so it's seems some version was updated during latest npm install i performed


fix/wrong denominator linearcompumethod

Fixes a bug in _parse_compu_scale_to_linear_compu_method() to set the denominator correctly.
Currently the denominator is always set to 1, even if it was parsed correctly before.

@JoSglch: what is the status here?

#148 is based on this PR, includes a few fixes and has just been merged. closing...


UDP Listener uses one thread CPU on 100%

Hi!
Why are you using recvfrom_nonblock?
In my case, it causes infinity loop which uses 100% CPU of one thread. Locally I resolved it by changing @udp.recvfrom_nonblock(9000) to @udp.recvfrom(9000)
https://github.com/logstash-plugins/logstash-input-ganglia/blob/4d494c9fb6836b5d92010932d8fe13a9cbf35c04/lib/logstash/inputs/ganglia.rb#L61

thanks for the headsup @aleksprusov - I am not sure simply using recvfrom is the best fix. I think it may potentially cause hanging problems at shutdown for example.
In any case, I think the best here would be to unify the UDP read strategy with the udp input plugin or better yet, use the udp input and move the parse_packet logic into a codec?


Add checking for availability of more Journeyman zones

@Veracity0 what do you think about exposing isCurrentlyAccessible to the script runtime?

I think that is a fine idea, especially considering that there are scripts which try to reproduce this functionality. And CanAdv has disappeared off sorceforge?
I'll make a "Feature" request so that people can tell us what we're missing. :)
I already know that we are missing the Cola Battlefield zones - level 4 or 5 and have returned Fernswarthy's Key the first time.
Considering that I can envision a potentially heft test suite for this functionality, it deserves another PR.

I think that is a fine idea, especially considering that there are scripts which try to reproduce this functionality. And CanAdv has disappeared off sorceforge?
I'll make a "Feature" request so that people can tell us what we're missing. :)
I already know that we are missing the Cola Battlefield zones - level 4 or 5, have ascended at least once, and have returned Fernswarthy's Key for the first time.
I'll add the function, but I can envision a potentially heft test suite - especially when people start reporting issues - and that should be another PR.

A perfect approach IMO

Is there an historical reason why AdventurePool has int X, String X_ID and sometimes both?

Yes. The id field of a KoLAdventure is a String. If it is adventure.php, it is the string representation of the snarfblat parameter - an integer - but not all KoLAdventures are adventure.php


p.typekit.net braking vmf.com

When p.typekit.net is blocked vmf.com is unable to load in properly and the website doesn't load displaying an empty blue page, with it not blocked, the website is able to properly load in. It's a website that's used for Mortgages so I wouldn't call it critical but wanted to report it nonetheless since it's a bit more important.
Thanks for the responses and generally the time that's spent on maintaining the filter.

Thank you for this @0ABDL0.
The domain p.typekit.net comes to us from upstream, via the Adaway list.
@jawz101 may I ask you to look into this domain? Thank you, as always.

removed.  thanks

Thanks @jawz101!
@0ABDL0 this will reflect in the next release, coming shortly.


Document how to contribute Chainblocks tutorials

Pitch
As a Chainblocks game developer, I want to know how to contribute Chainblocks tutorials so that I may be able to contribute tutorials to the Chainblocks community.
Acceptance criteria
A step-by-step guide on how to contribute Chainblocks tutorials, tutorial submission guidelines, and acceptance criteria.
Additional context
Document should be hosted at https://docs.fragcolor.xyz/how-to/contribute-tutorials.

Please add your planning poker estimate with ZenHub @Kryptos-FR


Remote Assets sync breaks when sync' metadata has a custom namespace

Required Information

[X] AEM Version, including Service Packs, Cumulative Fix Packs, etc: 6.x
[X] ACS AEM Commons Version: 4.2.2
[X] Reproducible on Latest? yes

Expected Behavior
REmote Assets can sync in asset metadata that use custom JCR namespace (ie. ./metadata/foo:bar)
Actual Behavior
Remore Assets throws an exception and fails to sync the asset.
com.adobe.acs.commons.remoteassets.impl.RemoteAssetsNodeSyncImpl Unexpected error sync'ing remote asset nodes
org.apache.sling.api.resource.PersistenceException: Unable to commit changes to session.
javax.jcr.RepositoryException: Invalid namespace prefix ..

Steps to Reproduce
Add a custom namespace to the remote DAM that does not exist on the consumer AEM.
Add metadata properties that use this custom namesapce to an asset to be sync'd
Sync the asset.
Watch the logs on the consumer AEM instances.
Links
Report via Disqus:
https://adobe-consulting-services.github.io/acs-aem-commons/features/remote-assets/index.html#comment-4551452437

What is the desired fix for this?  One could argue that the local environment should be manually set up with the custom namespace as part of using the feature.  However, just blowing up when that hasn't happened isn't great either :)
Potential Solutions:

Build in a sync of custom metadata schema configs?
Simply skip unsupported metadata schema fields, logging that they are skipped?
Auto-create a simple custom metadata schema w/no details when a property is detected, allowing users to later fill in the details of the schema?
Other?

As far as I know replication process creates missing namespaces in the target instance as part of the process. Would be nice to have something similar.
At least we should not terminate all the sync process with all already processed assets but just skip asset or metadata with appropriate message in log.

As @KulshaPavel points out it's not unprecedented for AEM to make namespaces on the fly; IIRC the other time it does this is on XMP metadata extraction when it encounters a property w/ a undeclared NS.
I personally think it should just register the schema; ultimately the source Remote DAM should be the canonical source for assets. If that DAM has determined the NS is OK, then it should be OK for subservient instances.
Of course, this could be configurable too if there is no consensus.

Sounds good - if it's something AEM does in other cases I don't see why not to do it here - agreed that the remote DAM is the canonical source.  I'll take a look at this when I get some time, but if someone wants to beat me to a PR I'd be more than happy to review it.
Just to confirm, configuring the namespace on the target instance is a valid workaround, and thus this is not urgently blocking anyone, correct?

As @davidjgonzalez said, I would also register the missing namespaces on the fly, though I don't see any "nice" solution of the overall process runs with a user session in the first place.
You either retry a failed import with an admin session. Or you check the imported but not yet saved asset for unknown namespaces, register them with an adminsession first and the do the commit of the asset with the usersession.

the process runs as a service user, so I dont think there should be an issue automating the add of a missing namespace, right?

@HitmanInWis not in that case, true. You just need to add the proper privilege (jcr:nameSpaceManagement) to the service user.
See https://jackrabbit.apache.org/oak/docs/security/privilege/mappingtoitems.html

so my main concern with adding the namespace would be knowing what URL goes with the namespace.  Node sync is happening using the default .1.json selctor/extension, which does not include namespace definitions.
Option 1: Fetch /path/to/asset/jcr:content/metadata.docview.xml and dig the namespace definition out of the XML

This could be thwarted if the remote server has the default XML renderer turned off

Option 2: Fetch /jcr:system/rep:namespaces.1.json from the remote server

This requires either the admin user or another user given special permissions to read this.  Unsure of security implications.

Option 3: Simply register the namespace with a URL of "unknown" or "remoteasset" or something else.  This would be similar to the OOTB rep namespace with a URL of "internal"
Any opinions?

@HitmanInWis I don't like Option 3, because once a bad namespace mapping leaks into a repository, its going to be difficult for namespace collisions to be prevented if developers are involved in preparing migration packages. If you can't get the namespace uris with options 1 or 2, it would probably be better to avoid setting the properties with unknown prefixes during the sync.

so maybe try option 1, then option 2, and if both fail then blow up with a meaningful exception?  Or do we just skip the namespaced properties with WARN statements?

@HitmanInWis wouldn't it be possible to check for each property which RemoteAssets is trying to persist if it requires a namespace and create it if it's not existent? If you give the serviceuser the proper privilege it could be done quite efficient.

@joerghoh I agree with you that the actual checking of namespace and creation of a missing one is pretty trivial.  However, the challenge is knowing what URL to assign the namespace to when creating it.  Since the attributes are fetched via the default JSON exporter, there is no namespace definition included in the retrieved data.  Hence my post above asking for opinions on different options (1, 2, 3) for getting the namespace URL.


Can't import Go libraries with names containing [^A-Za-z0-9_]

How to import libraries when its path contains "." ?
For example, I can import "github.com/labstack/echo" in pure go by
import "github.com/labstack/echo"

In grumpy, I can import it like
from __go__.github.com.labstack.echo import New

But it will be compiled to something like this
import "github/com/labstack/echo"

Anyway to correct this issue?

I think long term I'll need an alternative import syntax for Go imports, like:
from go import "github.com/labstack/echo"
But unfortunately that's not workable at the moment since I'm using the ast module for Python parsing and it won't accept this kind of syntax.
In the short term, perhaps something like:
New = goimport("github.com/labstack/echo", "New")
I'll put something together.

Very dirty but, couldn't you temporarily hack grumpc to just detect .com and don't replace it with a /.
I am not familiar with ast, so I am going through the grumpc code now.
but yes , best would be from __go__ import "github.com/labstack/echo"

golang.org does not include .com, I would suggest putting "github.com" and "golang.org" as special case for the time being.


迁徙图动画不流畅问题

General Questions

Issue Type

[ ] I have a question to ask about how to use ECharts to ...；我想提问如何使用 ECharts 实现某功能
[ ] I have a bug to report；我想要报 bug
[ ] I have a feature to request, e.g.: I'd like a new feature that ...；我需要一个新功能
[x ] I have a feature to enhance, e.g.: The current feature should be improved in the way that ...；我希望改进某个功能
[ ] There's something wrong with the documents；文档有些问题
[ ] Others, or I'm not sure which issue types to choose here；其他，或我不知道应该选什么类型

Issue Details

迁徙图特效会出现不连续现象

Expected Behavior

Current Behavior

Online Example

Topics

Anything Else We Need to Know

Environment

ECharts version；ECharts 版本: {DESCRIBE_HERE}

[ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题，请提供相应环境信息：{BROWSER_VERSION_OR_OS_INFORMATION_HERE}

@saojun1024  I am not sure how you make line trail, maybe you use customized symbol in effectLine layer.
An enhancement in effect line has been included in master branch, which can be tested in next release. you guys can have a try, thanks.
hence close the issue, if any issue still exist, feel free to reopen it.


last update broke rssnotifier

Hi,
the recent update to rssnotifier cog is broken. As soon as I updated the cog, the minute after, it pinged the roles which were subscribed for all rss feeds added in 2 servers even when there were no updates to feeds.

thanks ♥


Fix commit refactoring marker by moving it to the separate column

The hack with replacing table renderer for String in order to display labels for commits with detected refactorings does not work since the 2020.3 release. This commit replaces the hack using the new api for custom columns. Refactoring labels are displayed in a separate column which can be enabled from the "Show Columns" menu.
Fixes #64

@juliabeliaeva, cool, thank you!


chore(Dependencies) : update sbt to 1.4.6

Updates org.scala-sbt:sbt from 1.4.5 to 1.4.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-patch

@mvillafuertem I noticed that you changed the title of this PR. Have seen that you can customize the title and commit message via .scala-steward.conf. See https://github.com/scala-steward-org/scala-steward/blob/a2e45829ba6b0093d232ef298236f39676401109/docs/repo-specific-configuration.md for documentation about this.

@fthomas I had no idea about this. Thanks for explaining this to me.


Move markdown help to a frontend template without hardcoded rendered markdown

Our markdown help file templates/zerver/app/markdown_help.html, has a bunch of copied HTML in it, which isn't a robust/maintainable strategy.  We have a frontend markdown processor, we should be able to just have a much simpler file HTML containing the raw markdown, and then JavaScript that does extracts the code from each preserve_spaces element and installs the rendered markdown based on that in the right column.
Tagging as a priority since this seems like a pretty high-value code cleanup.

@zulipbot claim

@zulipbot claim

hello! I am contributing for the first time to open source. Can someone please tell me where I can start on this project and what all it is about?

@khushboogupta13 You can go through  Contributing guidelines and to get help or chat with zulip community check out zulip community.

@timabbott where would I find the markdown processor? From what I understand, you want to use the markdown processor to render the raw HTML, instead of specifying it manually.

static/js/markdown.js; see also https://zulip.readthedocs.io/en/latest/subsystems/markdown.html.  We can use the frontend processor for this.

@zulipbot claim

@zulipbot abandon

@timabbott I would like to work on this issue? Please show me where to begin. Thanks!

@timabbott Is this issue already fixed? Would like to collaborate.

This has not been fixed, and the issue description as well as my other comments here should explain what you need to know.

@zulipbot claim

@zulipbot claim

@zulipbot abandon

I am working on this one.


add cabot3-s2 config and fix in odriver_s1_node and cabot2/3-remote for cabot3-s2

Closed this PR to create another PR


Question: How to get coordinations?

In order to draw some stuff on sheets, I need coordinates of the found values.
Are there any ways to handle it right now?

Hi @muhammadmnorouzi,
I've seen people use Paint or some image editor to get exact pixel positions. I personally use --setLayout option and do a few trials on actual images.
I hope you got your answers on the discord server. If not, please share more details and feel free to reopen.


KostiantynSokoliuk/HW5

Completed 5th lesson homework

Fixed what you asked, I tried your code, was impressed how concise it can be, but still, used my variant


view files for files in &backupskip

With
backupskip=/tmp/*,/tmp/*,*.tmp,*~

vim-stay still creates a view file for the file /tmp/mutt-linux-5msm-1000-2981-5594735571973679250, that is there is a file
.local/share/vim/view/=+tmp=+mutt-linux-5msm-1000-2981-5594735571973679250=

This happens von Vim 8.03 compiled with +wildignore and with glob2regpat() available.

This is perhaps solved by https://github.com/zhimsel/vim-stay/pull/33 ?

Correct! Thanks!


[v2] Routes fire twice with pushState enabled

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: 2.0.10

Platform and Target: Chrome

Live Link or JSFiddle: Can't use pushState with jsFiddle?

What you did
Opened kitchen sink example, enabled pushState
Expected Behavior
Calls to async in routes should only fire once
Actual Behavior
Calls to async in routes fire twice
MODIFY APP.JS
// Dom7
var $ = Dom7;

// Init App
var app = new Framework7({
	id: 'io.framework7.testapp',
	root: '#app',
	routes: [
		// Index page
		{
			path: '/',
			//url: './index.html',
			//name: 'home',
			async: function (routeTo, routeFrom, resolve, reject) {
				console.log('/ routeTo', routeTo);

				resolve({
					url: './index.html'
				});
			}
		},
		// About page
		{
			path: '/about/',
			//url: './pages/about.html',
			//name: 'about',
			async: function (routeTo, routeFrom, resolve, reject) {
				console.log('/about/ routeTo', routeTo);

				resolve({
					url: './pages/about.html'
				});
			}
		}
	],
	view: {
		pushState: true,
		xhrCache: false
	}
});

OPEN URL
https://www.mysite.com/kitchen-sink/index.html#!/about/
Console output
/about/ routeTo {query: {…}, hash: undefined, params: {…}, url: "/about/", path: "/about/", …}
/about/ routeTo {query: {…}, hash: undefined, params: {…}, url: "/about/", path: "/about/", …}

It happens because:

you have enabled push state for all views
there are 2 views in kitchen sink (one more in right panel)
this is why it will try to load the page / restore state in both views


SQLx SQLite driver should release the savepoint when rolling back

Bug Description
SQLx SQLite driver uses ROLLBACK TO for rolling back savepoint here. Per SQLx semantics it should also immediately RELEASE the savepoint to remove it from the transaction stack; otherwise savepoint leak would occur. See SQLite docs.

see rusqlite for how to handle it properly

I started writing a reply refuting this report when I realized there was an important distinction I was missing.
On the surface, it doesn't appear necessary to RELEASE savepoints after rolling back. There's nothing in the linked docs that explicitly suggests that is necessary. On the contrary, see the emphasized part:

The ROLLBACK TO command reverts the state of the database back to what it was just after the corresponding SAVEPOINT. Note that unlike that plain ROLLBACK command (without the TO keyword) the ROLLBACK TO command does not cancel the transaction. Instead of cancelling the transaction, the ROLLBACK TO command restarts the transaction again at the beginning. All intervening SAVEPOINTs are canceled, however.

If we look at the SQLite code that interprets transaction bytecode instructions, we find this block that destroys savepoints in both the RELEASE and the ROLLBACK TO case: https://github.com/sqlite/sqlite/blob/6e53f67c63771b72d5419265038f428c34fa99d5/src/vdbe.c#L3897-L3904
It is clear here that savepoints are stored in a linked list, and this routine is pruning the list from the front (the most recent savepoint) backwards toward the designated savepoint.
However, what it doesn't do is release the actual savepoint that was rolled back to.
Because of SQLx's API design, the savepoint cannot be accessed again and beginning another nested transaction will create a new, redundant savepoint. Even though we reuse savepoint names, this merely shadows the old savepoint. This effectively leaks the savepoint.
If this is the point you were trying to make, you could have gone into a little more detail here and saved me a bunch of digging, although I might have done it anyway as you'll see shortly.
Savepoints cannot be permanently leaked though, because they're destroyed anyway when the parent transaction/savepoint is committed or rolled back, so while this is suboptimal, it's unlikely to cause any real issues unless many, many savepoints are created and then rolled back to in the same transaction.

While looking at Postgres to compare what it does, I realized that we likely have the same bug in all the database drivers, because both MySQL and Postgres have the same semantics as SQLite in this case: ROLLBACK TO rolls back to a savepoint but does not release it.
In MySQL, this doesn't strictly result in redundant savepoints because creating a savepoint with the same name as an existing one overwrites it: https://dev.mysql.com/doc/refman/8.4/en/savepoint.html

If the current transaction has a savepoint with the same name, the old savepoint is deleted and a new one is set.

So the savepoint is only leaked until you call .begin() again.
Postgres documents its behavior as an explicit deviation from the standard (see "Compatibility"): https://www.postgresql.org/docs/current/sql-savepoint.html

SQL requires a savepoint to be destroyed automatically when another savepoint with the same name is established. In PostgreSQL, the old savepoint is kept, though only the more recent one will be used when rolling back or releasing. (Releasing the newer savepoint with RELEASE SAVEPOINT will cause the older one to again become accessible to ROLLBACK TO SAVEPOINT and RELEASE SAVEPOINT.) Otherwise, SAVEPOINT is fully SQL conforming.

This sounds identical to what SQLite does.
Digging through the Postgres source code, there's an argument to be made for not releasing savepoints unless necessary, because it requires non-trivial work: https://github.com/postgres/postgres/blob/a43567483c617fb046c805b61964d5168c9a0553/src/backend/access/transam/xact.c#L5096-L5205
This is on top of the work that was already done to roll back to the savepoint: https://github.com/postgres/postgres/blob/a43567483c617fb046c805b61964d5168c9a0553/src/backend/access/transam/xact.c#L5211-L5362
Same as in SQLite, releasing a savepoint is non-trivial, though most of the work is also done by ROLLBACK TO.

At the end of the day, I believe most of the use-cases for savepoints involve rolling back to them and then trying identical changes again from that same point. Thus, it doesn't make a whole lot of sense to release a savepoint just to create another.
Instead, I think we should treat an immediate begin() following a rollback() on a savepoint to be a no-op and reuse the same savepoint that already existed. Ultimately, that's less work for the database and is more in-line with how savepoints were intended to be used.
The question becomes, what do we do if the user doesn't call begin() again before executing another statement? If we don't release the savepoint then, it's still effectively leaked. If we do release the savepoint, that's arguably executing a command the user didn't expect.
I think in this case it's fine to release the savepoint at the beginning of the next command, because to the user, the side-effects are almost the same. It may just retain resources for a little longer.


VectorInput is broken

VectorInput, in addition with not dispatching "change" events for Vec3Input, has a broken behaviour.
Currently, the inference for VectorInput is based on the number of keys when value is an object or length if an array. The advantage of these "light" checks is that Fragment can build a VectorInput by forcing prop type to be a vec3 if you have a color-like kind of object like { r: 0, g: 244, b: 200 }.
Inputs should whenever possible (so not primitives like number or string) modify the source value so changes can be reflected on the object without any addition to the sketch code e.g:
export let props = {
  direction: {
    value: { x: 0, y: 0, z: 0 },
  }
};

export let update = () => {
     console.log(props.direction.x); // should reflect changes from the UI
};

When an input dispatches a change,  the value sent by the event should be the same type as the value received, or in case of an object, just send back the reference to the value and not a shallow/deep copy of the object.
This should be valid for vectors as arrays (like [0, 0, 0]), and for upper-level abstractions of vectors broadly used like THREE.Vector3();
This would also be a good time to add support for Vec4 inputs.

Solved in #19


adding support for port ranges on --expose

Addresses #1834
Signed-off-by: Srini Brahmaroutu<EMAIL_ADDRESS>

Is it possible to also do this from the Dockerfile?
EXPOSE 3300-3310

@dkirrane yes, you can do EXPOSE 3300-3310 from Dockerfile


Unable to send or receive any email

I am unable to send or receive any email. The server is at: blastfm.email and the SMTP settings are:
`smtp:
Specify an SMTP server that can be used to send messages from the Postal management
system to users. You can configure this to use a Postal mail server once
your installation has been set up.
host: mail.blastfm.email
port: 25
username: blastfm-ltd-internet-radio-stations/blastfm-ltd-central-email-server
password:
from_name: mail.blastfm.email
from_address<EMAIL_ADDRESS>I get the error message:
`Error: Net::SMTPAuthenticationError (530 From/Sender name is not valid
)
SMTP Host: mail.blastfm.email
SMTP Port: 25
SMTP Username: blastfm-ltd-internet-radio-stations/blastfm-ltd-central-email-server
SMTP Password:`
I have tried all combinations of from/sender name I can think of.
I have not received an email yet either, I have made several attempts to send email to the server and as far as I know, the domains/SMTP endpoints are right.
Can anyone help me get this server working please?

The domain you have added to blastfm-ltd-internet-radio-stations/blastfm-ltd-central-email-server, is it mail.blastfm.email or blastfm.email?

I don't have a domain setup for blastfm.email as I thought I wouldn't need that. I have other domains setup to test the system and they are passing all the checks.

Postal will only send email for domains it has added to it so you need to set up a server within postal using blastfm.email or add blastfm.email to the central email server you have created a credential in.

I have blastfm.email for the server name and credential name, the credential name has now gone active for the first time so something must have worked somewhere but the error message is still the same:

Error: Net::SMTPAuthenticationError (530 From/Sender name is not valid
)

SMTP Host: mail.blastfm.email
SMTP Port: 25
SMTP Username: blastfm-ltd-internet-radio-stations/blastfm-ltd-central-email-server
SMTP Password: HIDDENPASSWORD

BlastFM Ltd Internet Radio Stations → Domains actually has no domains in it, do I need to add one? and if so, what should it be please?

Thanks for that. I have added the domain blastfm.email to the organisation and verified that the DNS passes all checks, that's the good news, the bad news is, I now have a new error message:
Message was not delivered successfully to SMTP server.
Error: EOFError (end of file reached)
SMTP Host: mail.blastfm.email
SMTP Port: 25
SMTP Username: blastfm-ltd-internet-radio-stations/blastfm-ltd-central-email-server
SMTP Password: HIDDEN

I have also now secured the site with SSL (apache). Does postal need to know where the certificates are?

Is anyone able to offer any assistance?

In order to make proper configuration of postal you should provide your postal.yml and DNS settings or give access to mail server and DNS control panel. How can we get in contact?

I'm not sure how you've involved apache in this?
the SMTP server will need to know your certificates if you wish to enable TLS. See the following postal.yml settings:
smtp_server:
  port: 25
  tls_enabled: false
  tls_certificate_path: # Defaults to config/smtp.crt
  tls_private_key_path: # Defaults to config/smtp.key

Hi, I am happy to give access to the server and DNS, we manage our own DNS settings.
Thanks Will for the TLS settings, I will try them.
I can also give SSH access if required.

I'll be back in an hour. You may email me at<EMAIL_ADDRESS>

As the first step please check your dns settings regarding to my last post here https://github.com/atech/postal/issues/301

Thanks, I have updated the DNS to match your settings from your post #301.
dns:
mx_records:
- mail.blastfm.email
smtp_server_hostname: mail.blastfm.email
spf_include: spf.mail.blastfm.email
return_path: rp.mail.blastfm.email
route_domain: routes.mail.blastfm.email
track_domain: track.mail.blastfm.email
dkim_identifier: psrp
domain_verify_prefix: psrp-verification
custom_return_path_prefix: psrp

Good. Have you made proper DNS records in addition to yours that you sent here earlier?

I think they are right yes

Ok, please check that you have added these four records:
spf.mail.blastfm.email TXT v=spf1 ...
rp.mail.blastfm.email TXT v=spf1 include:spf.mail.blastfm.email ~all
rp.mail.blastfm.email A <IP_ADDRESS>
rp.mail.blastfm.email AAAA ...

They are there but I'm not sure about the first one: spf.mail.blastfm.email TXT v=spf1 ...
What should this be? Thanks.

Well this is the main SPF record. It defines only those ip addresses or hosts that have permission to send emails from your domain. And you must correct your previosly set record for main domain:
'spf.mail.blastfm.email TXT v=spf1 a mx -all'
'blastfm.email TXT v=spf1 include:spf.mail.blastfm.email ~all'

I have received your message. Will check your configuration in an hour.

You are doing a great job. Thank you :)

Glad you got this resolved :slightly_smiling_face:

Thanks for all the help so far:
I am using up a lot of hard disk space and I'm not sure why, it looks like a lot of it is SQL database stuff, does Postal require large database sizes or is it something else?

And this is the real truth. All the data like messages or webhooks, certificates or any other useful for postal service information is stored in MySQL. As to me I have mentioned that my MySQL server uses 1.5 GB of RAM as well.

It appears that df -h and webmin were reporting the disk space wrongly, I upgraded the server disk space and it is now only using about 5% so it was probably ok before if it had been reporting the correct amount of available disk space.
Postal is not too heavy at all on disk space.

All messages are stored in the MySQL database. You can expect your disk usage to be almost exactly the size of your retained messages. In order to keep disk usage accountable and prevent fragmentation, Postal creates a separate MySQL database for each mail server, and within that it created a separate table for each day's messages. Therefore by using the "du" tool on the mysql data directory, you should be able to see exactly where the space is being used. You can also easily adjust the disk space requirement by changing the message retention on a per-mailserver basis.

I have the same issue. this is kinda confusing for me. so, let me explain how I understood it:
I install Postal on a domain, that would be my primary SMTP domain for use in apps. in this case the server domain is mail.kamva-files.com whilst postal is accessible from postal.kamva-files.com
there are a few places you can add domains. there is one in Organization -> Domains and one in Mail Server -> Domains

I want to use this server in camva.ir app. where should I add camva.ir as domain?
What is the difference between Mail Server domains and Organization domains?

Please open a new issue rather than commenting on closed ones.


Add support for discriminated Union types

Union present a particular challenge during deserialization as the type can only be inferred at runtime. Moreover, Json does not include a spec for the type of the object being deserialized and must often be inferred.
The suggestion is to leverage discriminated unions and attempt to deserialize in runtime the objects. In order to integrate this strategy seamlessly with bonsai, an operator must be added that filters/convert each object in the collection to a specific given type thus allowing for polymorphic deserialization but maintaining the sequence data type.

@bruno-f-cruz we should confirm whether pydantic discriminated unions generate OpenAPI 3 compatible schemas. It looks like they should according to this PR: https://github.com/pydantic/pydantic/issues/619
This is important because OpenAPI 3 discriminators are what is supported by NJsonSchema according to their wiki: https://github.com/RicoSuter/NJsonSchema/wiki/Inheritance
Assuming this is the case, adding support for discriminators might still require a bit of work, since we ultimately need to support both JSON and YAML serialization. It looks like in both cases this will require generating additional helper code to help marshal types around:

JsonInheritanceConverter and corresponding attribute (NJsonSchema)
https://github.com/aaubry/YamlDotNet/issues/343

After further analysis there now seems to be an easier (in terms of infrastructure) option for YamlDotNet polymorphic deserialization: https://github.com/aaubry/YamlDotNet/pull/774
As for Newtonsoft.Json the best option for leveraging infrastructure would be to leverage JsonSubTypes. This would require consumers to take in an extra dependency, but it seems to be the default choice as reusable infrastructure helper to implement discriminator based deserialization (40M+ downloads and long maintenance history).


Preview template outside admin

Anyone can provide example project with upload preview template like in admin (tests folder)?
And give error message if failed...
Thanks...

I have found the answer here.
I also created an example of it.


[ENG-1119] Show full doi url for registration doi

Ticket: ENG-1119

Purpose
Instead of showing just the DOI for registration DOIs, show the full URL
Summary of Changes

Use the doi url property instead of the doi property

Screenshot(s)

Side Effects
No, this is isolated

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.302%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5385

Relevant Lines:
7338

💛  - Coveralls


Add discovery of Yeelight devices

This pull request makes it possible to discover multiple Yeelight devices and store additional information such as id, firmware version etc.

It's been a long time, I think I can close this PR


See followers usernames from public profile

Hi everyone,
Is there any way i can get the username of the followers of an public instagram?

It work. Thanks

There is a catch though.
After retrieving ever ~1000 followers of a profile, Instaloader waits for 10 minutes (Error: 429 - Too many requests) as a cool down period to not overload the Instagram servers with too many request. If there are a million followers to query this could take a very long time!
When I looked into the Profile.get_followers() method, it is basically making a Graph API call to get one user at a time, I think via a generator. I know the hash code for getting followers data is 37479f2b8209594dde7facb0d904896a. Since I am new to Graph API itself, can someone please help me construct a GET request that would fetch me all the followers data in one request? Is this even possible?

@Thammus still getting an error instaloader.exceptions.ConnectionException: Login error: JSON decode fail, 400 - Bad Request. after logging in. If you can help. I think my ip is being blocked

IF YOu have any luck in getting followers in one go please let me know

Thanks! @Thammus


New package: Microsoft.PCManager.Beta version <IP_ADDRESS>

Pull request has been created with komac v2.2.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:
(Automated response - build 877.)

Automatic Validation ended with:

Is an installer switch avaiable to bypass this and complete the install silently?

With my last commit it should install bypassing that popup

@wingetbot run

Hi @vikingnope,
I wasn't able to navigate from the PublisherUrl to the InstallerUrl. Is there another URL that has this link?

@stephengillie, it should be updated now

This package installs and launches normally on a Windows 10 VM.


GUI Client brainstorming

Features needed

An easy way to copy-paste resource URLs
A way to check whether we're connected to a Gateway for a given Resource
A way to get the version
A way to set the API URL, auth base URL, and log filter
A way to sign in, sign out, and quit

All possible Linux frameworks

Tauri 1
Tauri 2
Iced
Floem
GTK+
Qt
Copperspice
FLTK
TUI
CLI

CLI Proposal
Because GUIs are so bad.
We'll install /usr/bin/frz since "frz" is short to type in the Alt+F2 launcher.
GUI-style commands
These are intended for use with an Alt+F2 launcher, so they don't exit immediately.

frz about prints the version and waits for Enter
frz settings opens a settings menu
frz res shows a list of Resources and the user can search or type a number to select a Resource, as if traversing the GUI tray menu
frz quit stops Firezone, waits for IPC response, and waits for Enter
frz sign-out clears the token, stops Firezone, and waits for Enter
frz sign-in opens a web browser tab for sign-in

CLI commands
These exit immediately, so they only work if you already have a terminal open.

frz --version prints the version
frz settings set log-filter debug sets the log filter to debug
frz res find github finds all Resources with github in the name, address, or description.
frz res uuid abcd finds all Resources with abcd in their UUID
frz res open github opens the best-matching Resource with github in the name, address, or description.
frz res copy github copies the URL of the best-matching Resource to the clipboard
frz open is an alias for frz res open
frz copy is an alias for frz res copy

All possible Linux frameworks

Another approach would be to expose a D-Bus service and integrate with that from other places. For example, Gnome Shell extensions can easily talk to D-Bus AFAIK.
Having the D-Bus service would also allow community-driven projects for integrations into other DEs.
I think it is also possible to ship shell extensions as part of regular packages so we don't necessarily have to distribute via https://extensions.gnome.org

I think you mentioned it before @ReactorScram: Splitting tray menu into a separate process.
It appears that "tray menu" is such a desktop-environment specific thing that it may justify a separate process. One could imagine that we e.g. have a CLI as well in addition to the/a GUI and that we can package the various binaries together, depending on the OS.
For example:

Tray-integration with Gnome (one binary)
Tray-integration with KDE (one binary)
Tray-integration with Windows (one binary)
Cross-platform GUI app (iced, floem, xilem, Tauri?) that just displays the login / settings screen
Cross-platform CLI with feature-parity of the GUI

I haven't had any trouble between GNOME and KDE. It's just that the tray-icon crate attacks other GUI frameworks on sight and only wants to play along with GTK in our process

I haven't had any trouble between GNOME and KDE

So our tray-icon looks nice on KDE? That is cool! So one less dimension we need to care about.

Yep looks fine on my old KDE Plasma VM

I need to fix the icon on the window titlebar, I'm probably just not setting it


Schedule existing message

Can I schedule an existing message? For example a auxiliary service unavailable and just want to postpone this message for 5 mins. Message deferral unfortunately I don't like because I need to care about SequenceNumber

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

ID: 034f7b39-4f6b-87c4-5dfa-a09ea0235b6e
Version Independent ID: 6987bbec-c4e9-573f-89c5-aa316af045f9
Content: Azure Service Bus message sequencing and timestamps
Content Source: articles/service-bus-messaging/message-sequencing.md
Service: service-bus-messaging
GitHub Login: @clemensv
Microsoft Alias: spelluru

@aslanovsergey Thank you for posting your question! We will investigate and get back to you with our findings.

@clemensv any thought on this?


Master-Detail relationship for a chain of collections

I have four collections one under the other (page scrolls) at
http://gallery.trafilm.net
I'm using IFRAMEs mostly because I would need Javascript to include them all at the same HTML page, plus since if I had multiple ones in same page would be an issue which one controls the URL bookmark/hashbang part (the part after # I mean)
To come to the real issue there, I would like to do Master-Detail behaviour, where if one does some selection at the top (Films) collection using the filters resulting to an array of items, I would use their "Reference Id" facet values (those are same as the Id value of an item btw) as a filter for the "Film Reference Id" facet at the 2nd collection (without clearing anyother existing filters there most probably). Those "Conversations" (their "Reference Id" values) from the 2nd collection that appear thus in the view would cascade to the 3d collection (L3ST-instances) and be values for the filter "Conversation Reference Id" it has (clearing any values previously selected at that facet's filter, but most probably keeping anyother facet filters [haven't thought what would be best]). Same goes for the 4th nested collection, the L3TT-instances.
The idea is that Film has multiple Conversations which have multiple L3ST-instances (appearance of a third language [apart from source one and translated one] in Source text of a film) which have multiple L3TT-instances (third language in Translated text / Dubbed audio)
So I need some event to tell me that the View's items (the current selection) have changed and a way to get an array of values from them giving a facet name (say "Reference Id").
Then I need some method to tell a collection to set a facet's filter (say "Film Reference Id") to an array of values (select those values in that facet's filter), first clearing the previous values for that facet filter and with probably an extra option to clear all other facet filters too (most probably to keep it simple, one method to clear all filters would be ok to call first, then apply the given values to the requested facet filter)
So doing a selection / filtering manually at one collection would update all collections under it (its children) too
Do you have any hints on what I could use in the code to do this ([1] set up the event to get selected items and then one specific facet value [single value facet] for all those items, [2] tell a pivotviewer to clear filters, [3] tell pivotviewer to select given array of values at specific facet filter).
Not sure if HTML/Javascript allows me to call methods on a page hosted at an IFRAME, but could probably play with its URL (say pass to the Conversation [2nd in order] collection this: http://gallery.trafilm.net/conversation/#{"filters"%3A{"Film Reference Id"%3A{"values"%3A["OceansEleven"%2C"LoveActually"]%2C"dataType"%3A"String"}}%2C"search"%3Anull%2C"sortBy"%3A"Film Reference Id"%2C"view"%3A"grid"}) , in which case I don't need [2] amd [3] and I only need some info on how to do [1](get event on each change of selected items [resulting after some filter action or after visit a certain URL] and get value of a certain facet for each one of them). Regarding doing [2] and [3] via the URL hashbang part, is there some utility function to construct that URL that I could reuse?

One might suggest that if I can get some event from the IFRAME itself that its URL has changed (from the PivotViewer in the HTML it hosts), I could parse the hashbang part and keep only the "Reference Id" from the filter, then pass it on to the 2nd level etc., but the issue there is that the hashbang part has the FILTERS, not the RESULT OF THE FILTERING (which could give a huge URL anyway). So I definitely need some event to get the center view's items every time it gets updated with more/different ones

Have implemented top to bottom Master-Detail chaining at http://gallery.trafilm.net. Haven't done the other way too (bottom to top) yet since I need to implement loop breaking. Can see the code of the main page (hosts four iframes, one for each pivotviewer).
Added a "getActiveItems" method but that is not really needed, can "calculate" those items. In fact my implementation of getActiveItems might be causing issue in Internet Explorer cause I don't clone the items array and it can't be passed from iframe to parent as it seems in IE11's engine (but can in Edge's). Need to do some more testing on that one with IE11 to reach a final conclusion on whether I should recalculate the active items every time or just pass the internal array (or maybe clone it)


Add array list dyanmic

i followed the documentation step by step and it's working perfectly
but i can only pass static images and here's my code :
slideShow.setImageInputs([AFURLSource(urlString: "https://mylink.com/image.jpg")!, AlamofireSource(urlString: "https://mylink.com/image2.jpg")!, AlamofireSource(urlString: "https://mylink.com/image3.jpg")!])
But i need to get the images url from JSON array dynamically and pass it to slideshow like that :
var jsonArray:NSarray = [String]
slideShow.setImageInputs([jsonArray])
any idea how can i do that ?

var jsonArray = InputSource
slideShow.setImageInputs(jsonArray)
I think it should be work

thank you dear.
On 21-May-2018 3:42 PM, "dickychan810"<EMAIL_ADDRESS>wrote:

var jsonArray = InputSource
slideShow.setImageInputs(jsonArray)
I think it should be work
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zvonicek/ImageSlideshow/issues/246#issuecomment-390612885,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQfbEXRJYgo1CevGSrkV_Ssnl7moBjJ2ks5t0pMngaJpZM4T87wo
.


fix(anta.cli): Fix minor glitches and cleanup

fix(anta.cli) refactor collect_commands(). Fix output_directory input var
fix(anta.cli) Remove no_args_is_help for 'anta nrfu table' and 'anta nrfu json' otherwise env var are not considered
fix(anta.cli): remove default value of inventory, check if file exists and is readable
clean(scripts): remove unused scripts that are now implemented as a CLI entrypoint
clean(anta.inventory): Remove paramiko library

waiting for #168 to merge


Fix bug in  #351

完善了Inferno Tank中倒计时初始值不正确的问题。

Click here

I will just close this PR, because para_change is not scored as a "real-task"


[RFC]  How to add a label in TextareaAutosize?

What's the problem? 🤔
No response
What are the requirements? ❓
No response
What are our options? 💡
No response
Proposed solution 🟢
No response
Resources and benchmarks 🔗
No response

@oguuiholiv hi! Are you referring to the TextareaAutosize from Base UI? Please provide more information so I can help you.

import { TextareaAutosize } from "@mui/material";
https://mui.com/base-ui/react-textarea-autosize/components-api/#textarea-autosize
It is this materialUi component, according to the documentation there is no way to add a label to the component

The TextareaAutosize component you can import from Material UI comes from Base UI, our unstyled component library. Material UI reexports the component for convenience.
If you want to add a label to Base UI's unstyled TextareaAutosize, you use Base UI's FormControl. Here's a CodeSandbox example of how to do this: https://codesandbox.io/s/serene-benz-2kkgjs?file=/Demo.tsx.
If you want to add a label to a Material UI text area with auto size, you can provide the multiline and label props to the TextField component without setting the rows prop. Here's a CodeSandbox example of how to do this: https://codesandbox.io/s/38821-material-ui-text-field-with-label-9ktsy7?file=/Demo.js
Does this cover your use case?

@ooguuiholiv Alternatively, if you prefer a basic label, you can use the label HTML element and link it to the textarea: https://stackblitz.com/edit/stackblitz-starters-ob3pbr.
I think we can close this issue.


Prepare 1.1.7 release

@mkristian Just trying to make things easier for you, so that you only have to gem build + gem push :)

sweet - my problem is more that I can not do this from my work laptop . . . but I heard the plea :)

push 1.1.7 to rubygems.org

Awesome, thanks so much!


[SUPPORT] How to config  optimistic locks in flink connector

Tips before filing an issue

Have you gone through our FAQs?

yes

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>

If you have triaged this as a bug, then file an issue directly.

Describe the problem you faced
Hudi has supportted optimistic locks to control multiple writers, however, I didn't find any palces to config it in hudi flink sql connector options.
I need to config it in flink sql to avoid multiple writter conflicts.
A clear and concise description of the problem.
To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.
Environment Description

Hudi version : 0.10.0

Spark version :

Hive version :

Hadoop version :

Storage (HDFS/S3/GCS..) :

Running on Docker? (yes/no) :

Additional context
Add any other context about the problem here.
Stacktrace
Add the stacktrace of the error.

Flink does not support optimistic locks yet.

Flink does not support optimistic locks yet.

Thanks for your replying.
Any plan to support flink optimistic locks?

Flink does not support optimistic locks yet.

Thanks for your replying. Any plan to support flink optimistic locks?

The optimistic lock can be supported if we make the state-based index as a builtin index impl for Hudi.


Move over to using release assets

Right now, all the artifacts from a release are sent over to a gh-pages branch. It would be better if we could use a release asset format instead of needing to maintain this directory. Right now, our approach needs to use git-lfs in order to handle the artifacts. Using releases would drastically simplify this.
However, we still want to preserve the index.yaml file. We simply want to move the artifact location to be as github assets.

This looks really promising: https://github.com/helm/chart-releaser-action


Sync YouTube subscriptions over to Odysee automatically

Is your feature request related to a problem? Please describe.
I have seen some people in the comments on Odysee that they like Odysee itself, but they can't find videos from creators they like on Odysee.
Using the API, it would be possible to allow users to move over all their YouTube subscriptions to Odysee with one click. I know, not every creator is on Odysee, but this could still be pretty good for people that are coming over and have subscribed to channels that are actually on Odysee.
This addon already can do it, so maybe it's not even required to implement it into Odysee itself, but just link to it somewhere in the settings to let people know that this is a possible way, or is this already a thing and I have just missed it? 😅

We don't plan to support this because we can't authenticate every single YouTube user, we have a limit on our API. This API works only with the user's key, and not ours, so they'd need to sign up for API access.

Oh I see, then that's not possible I guess.


make audit_log_enabled configurable

This fixes https://github.com/spiffe/helm-charts-hardened/issues/239
Added auditLogEnabled to spire-server/values.yaml.
Updated spire-server configmap.
Generated new documentation.
Tested manually against kind cluster.

Actually, there is one problem. The DCO needs to be fixed.

Yeah, just noticed. Will fix and repush. Thanks.