Question: what determines the order of activitie?

Hi,
I’m trying to understanding how does the plug-in determine the order of activities? The order neither follows the configuration, nor the order in Harmony. It’s also not sorted alphabetically, hence the question…
sorry didn’t mean to create a bug.

There is a new option in latest version to better handle that.

Hi @nicoduj
Thanks for the new version, but looks like it doesn't work fully. Setting sortInput=1 works however setting sortInput=3 doesn't seem to work for me. Anything I should check in log to troubleshoot the issue? Thanks!

Hi, you can post your log at startup and config .

Hi @nicoduj
Please kindly find the log and configuration below:
Logs (looks like the sorting order follows Harmony):
[4/10/2022, 10:05:46 PM] [Living Room Media Center] Restarting Process... [4/10/2022, 10:05:47 PM] [Living Room Media Center] Launched child bridge with PID 20387 [4/10/2022, 10:05:47 PM] Registering platform 'homebridge-harmony.HarmonyHubWebSocket' [4/10/2022, 10:05:47 PM] [Living Room Media Center] Loaded homebridge-harmony v1.6.0 child bridge successfully [4/10/2022, 10:05:47 PM] Loaded 2 cached accessories from cachedAccessories.0EF888EFD9A6. [4/10/2022, 10:05:47 PM] [Living Room Media Center] HarmonyPlatform Init [4/10/2022, 10:05:47 PM] [Living Room Media Center] DidFinishLaunching [4/10/2022, 10:05:47 PM] [Living Room Media Center] (Living Room Media Center)INFO - Loading activities... [4/10/2022, 10:05:47 PM] Homebridge v1.4.0 (HAP v0.10.0) (Living Room Media Center) is running on port 42296. [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - Adding Accessory : Living Room Media Center-TV [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - configuring Main TV Service [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - Creating TV Service [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - Creating Input Service - Movie in position 1 [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - Creating Input Service - Music in position 2 [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - Configuring Main Activity IP Radio [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - Creating TV Speaker Service [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - Creating Input Service - IP Radio in position 3 [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - Creating Input Service - Game in position 4 [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - Creating Input Service - FM Radio in position 5 [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - setupFoundAccessories - TV accessory added as external accessory [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - Loading devices... [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - Discovered Device : Light Controller [4/10/2022, 10:05:49 PM] [Living Room Media Center] (Living Room Media Center)INFO - Discovered Device : LED Candles [4/10/2022, 10:05:49 PM] Living Room Media Center-TV 25AA is running on port 41643.
Configuration:
        {             "name": "Living Room Media Center",             "hubIP": "192.168.1.XXX",             "DELAY_BEFORE_RETRY_AFTER_NETWORK_LOSS": 60000,             "HUB_CONNECT_TIMEOUT": 10000,             "HUB_SEND_TIMEOUT": 30000,             "cleanCache": false,             "publishAllTVAsExternalAccessory": true,             "TVAccessory": true,             "sortInput": 3,             "mainActivity": "IP Radio",             "activitiesToPublishAsInputForTVMode": [                 "FM Radio",                 "Music",                 "IP Radio",                 "Game",                 "Movie"             ],             "playPauseBehavior": true,             "numberOfCommandsSentForVolumeControl": 2,             "remoteOverrideCommandsList": [                 {                     "ActivityName": "IP Radio",                     "CommandsList": [                         {                             "CommandName": "ARROW_RIGHT",                             "NewCommand": "AV Receiver;NextPreset"                         },                         {                             "CommandName": "ARROW_LEFT",                             "NewCommand": "AV Receiver;PrevPreset"                         },                         {                             "CommandName": "ARROW_UP",                             "NewCommand": "AV Receiver;Net/UsbUp"                         },                         {                             "CommandName": "ARROW_DOWN",                             "NewCommand": "AV Receiver;Net/UsbDown"                         },                         {                             "CommandName": "SELECT",                             "NewCommand": "AV Receiver;Net/UsbSelect"                         },                         {                             "CommandName": "BACK",                             "NewCommand": "AV Receiver;Net/UsbReturn"                         },                         {                             "CommandName": "PLAY",                             "NewCommand": "AV Receiver;Mute"                         },                         {                             "CommandName": "PAUSE",                             "NewCommand": "AV Receiver;Mute"                         }                     ]                 },                 {                     "ActivityName": "FM Radio",                     "CommandsList": [                         {                             "CommandName": "ARROW_RIGHT",                             "NewCommand": "AV Receiver;NextPreset"                         },                         {                             "CommandName": "ARROW_LEFT",                             "NewCommand": "AV Receiver;PrevPreset"                         },                         {                             "CommandName": "PLAY",                             "NewCommand": "AV Receiver;Mute"                         },                         {                             "CommandName": "PAUSE",                             "NewCommand": "AV Receiver;Mute"                         }                     ]                 },                 {                     "ActivityName": "Music",                     "CommandsList": [                         {                             "CommandName": "PLAY",                             "NewCommand": "Stereo Amplifier;Mute"                         },                         {                             "CommandName": "PAUSE",                             "NewCommand": "Stereo Amplifier;Mute"                         }                     ]                 },                 {                     "ActivityName": "Movie",                     "CommandsList": [                         {                             "CommandName": "INFORMATION",                             "NewCommand": "Kodi Player;M"                         },                         {                             "CommandName": "PLAY",                             "NewCommand": "Kodi Player;Space"                         },                         {                             "CommandName": "PAUSE",                             "NewCommand": "Kodi Player;Space"                         }                     ]                 },                 {                     "ActivityName": "Kodi Music",                     "CommandsList": [                         {                             "CommandName": "PLAY",                             "NewCommand": "Kodi Player;Space"                         },                         {                             "CommandName": "PAUSE",                             "NewCommand": "Kodi Player;Space"                         },                         {                             "CommandName": "ARROW_RIGHT",                             "NewCommand": "Kodi Player;SkipForward"                         },                         {                             "CommandName": "ARROW_LEFT",                             "NewCommand": "Kodi Player;SkipBackward"                         },                         {                             "CommandName": "ARROW_UP",                             "NewCommand": "Kodi Player;Rewind"                         },                         {                             "CommandName": "ARROW_DOWN",                             "NewCommand": "Kodi Player;FastForward"                         }                     ]                 },                 {                     "ActivityName": "Foobar2000 Music",                     "CommandsList": [                         {                             "CommandName": "PLAY",                             "NewCommand": "Kodi Player;Space"                         },                         {                             "CommandName": "PAUSE",                             "NewCommand": "Kodi Player;Space"                         },                         {                             "CommandName": "ARROW_RIGHT",                             "NewCommand": "Kodi Player;SkipForward"                         },                         {                             "CommandName": "ARROW_LEFT",                             "NewCommand": "Kodi Player;SkipBackward"                         },                         {                             "CommandName": "ARROW_UP",                             "NewCommand": "Kodi Player;Rewind"                         },                         {                             "CommandName": "ARROW_DOWN",                             "NewCommand": "Kodi Player;FastForward"                         }                     ]                 }             ],             "addAllActivitiesToSkippedIfSameStateActivitiesList": true,             "devicesToPublishAsAccessoriesSwitch": [                 "Light Controller;Red",                 "LED Candles;PowerOn/PowerOff"             ],             "showCommandsAtStartup": false,             "_bridge": {                 "username": "0E:F8:88:XX:XX:XX",                 "port": 42XXX             },             "platform": "HarmonyHubWebSocket"         }
Thank you for looking into it in advance!

Hi @nicoduj, just want to let you know I tried to remove the accessory and add it again but still the sorting doesn't work for me. I have more activities in Harmony but I only want to include 5 in HomeKit, could that be the cause?

Hi, this should be fixed in 1.6.1 . Sorry for that.

Hi, this should be fixed in 1.6.1 . Sorry for that.

Thanks a lot! I can confirm 1.6.1 works flawlessly, very much appreciated!


Edits

Category

[X] Content updates

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

File
Status
Preview URL
Details

Community/TOC.md
:white_check_mark:Succeeded
View

Community/how-to-share-org-wide-communications-in-microsoft-365.md
:white_check_mark:Succeeded
View

Community/index.yml
:white_check_mark:Succeeded
View

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


Configure "NULL" output in export resultset

When I export resultset data null values are shown as "[NULL]" in the output file. I wish for the output format to be configurable so that I can output i.e. no data instead of "[NULL]".

If you mean CSV export then this is already implemented ("NULL string" option on Export Settings page of wizard).

Sorry for poor explanation.
Your suggestion solves the problem for export, but same feature would also be useful for copy / pasting. Would it be possible to set the appearance directly in the table? E.g. "[NULL]" -> "" (empty string)?

You can use Advanced Copy + value format "Editable".


iOS PWA from Store

Hi, thank you for the great library. Integration was super easy.
We have deployed our application to AppStore as PWA.
But we cannot login -> after signing in Google -> app is stucked at "Moment" page .

Do you know, if there should by any additional permissions in PWA?

I am also facing the same issue can any one help to over through this issue

HI, any updates?


Updates/Removes recordings to use Proxy

Description
Updates tests to use test proxy. Removeso old tests.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

/azp run java - servicebus - tests

/azp run java - servicebus - tests


Replace tdigest from crick with pyarrow's implementation

Replaces tdigest use from crick's implementation to pyarrow.compute.tdigest
Spawning from at https://github.com/dask/dask/pull/10530#issuecomment-1737031576 and internal discussions.

Can one of the admins verify this patch?
Admins can comment ok to test to allow this one PR to run or add to allowlist to allow all future PRs from the same author to run.

Regarding timing, not sure if this warrants a full A/B test as the initial comparison seems negligible and if anything a bit faster w/ pyarrow:
In [1]: import timeit
   ...: import dask
   ...: import dask.dataframe as dd
   ...: import pandas as pd
   ...: import numpy as np
   ...:
   ...:
   ...: print(f"Dask Version: {dask.__version__}")
   ...:
   ...: df = pd.DataFrame({"A": np.random.randint(0, 1000, size=100_000)})
   ...: df = dd.from_pandas(df, npartitions=8)
Dask Version: 2023.9.2+39.g97275dcd9

In [2]: %%timeit
   ...: df.A.quantile(method='tdigest')
   ...:
   ...:
2.35 ms ± 550 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

And latest release with crick==0.0.3
In [1]: import timeit
   ...: import dask
   ...: import dask.dataframe as dd
   ...: import pandas as pd
   ...: import numpy as np
   ...:
   ...:
   ...: print(f"Dask Version: {dask.__version__}")
   ...:
   ...: df = pd.DataFrame({"A": np.random.randint(0, 1000, size=100_000)})
   ...: df = dd.from_pandas(df, npartitions=8)
Dask Version: 2023.10.1

In [2]: %%timeit
   ...: df.A.quantile(method='tdigest')
   ...:
   ...:
3.17 ms ± 284 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)


Enable source account name and key in blob copy

Fix https://github.com/Azure/azure-cli/issues/1414


Update cell properties in existing Excel file / sheet

Is it possible to change the properties of a cell?
I'm working on a import script and before importing the data I would like to check if the data already exists in the database. Writing the code to open a sheet with data and loop trough the rows isn't the problem.
Excel::selectSheets( 'Sheet with data' )->load( $uploadedFile, function ( $excelSheetReader )
		{

			# Loop trough each row on the sheet
			$excelSheetReader->each(function($rowData)
			{

                                // Just as an example
				if ( $rowData->name exists )
				{
					$rowData->setBackground( '#FF0000' );
				}

			});

		} )->store('xls', $this->testOutputFolder);

But how can I, for example, set the background color of a cell to red is the data in that cell already exists? I can't figure this out when reading trough the documentation.

Modying a sheet works the same as creating a sheet. You have to select the right sheet by name or index, and inside that sheet closure, you can use all methods you would use when creating a file.
Excel::selectSheets( 'Sheet with data' )->load( $uploadedFile, function ( $excelSheetReader )
        {

          // Select the right sheet
           $excelSheetReader->sheet('Sheet with data', function($sheet) {

                 // Select the right cell (or range of cells)
                 $sheet->cell('A1', function($cell) {
                        $cell->setBackground('#FF0000');
                });
           });

        } )->store('xls', $this->testOutputFolder);

Doesn't seem to work. The excel file that is being stored on the server doesn't contain any colored cells. Also my other sheets disappeared.
In the example code you gave, the sheet is selected twice, is this really necessary? You should be already working in that sheet by the selector on line 1?

The selectSheets on line 1, I copied from your code because I thought you put it there intentionally. But indeed when you select sheets with that method, it will exclude the others from the export.
Try if the following works:
$sheet->getStyle('B2')->applyFromArray(
    array(
        'fill' => array(
            'type' => PHPExcel_Style_Fill::FILL_SOLID,
            'color' => array('rgb' => '000000')
        )
    )
);

I'm currently working on a different approach. In stead of trying to change the upload file I build op a new array with all the required data which I use to create a new file.
When creating the new file, your previously provided example does work!

Found a way to get it working, will be added to the next release.


Preserve spaces between inline elements, "captureSpacesBetweenElements"

😯 Problem to Solve
Currently xliff contents don't keep the spaces between inline elements.
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
    <file source-language="en-US" datatype="plaintext" original="ng2.template" target-language="de-DE">
        <body>
            <trans-unit id="5478462691360784268" datatype="html">
                <source><x id="PH" equiv-text="fileName1"/> <x id="PH_1" equiv-text="fileName2"/> + 1 other</source>
                <target state="final"><x id="PH" equiv-text="fileName1"/> <x id="PH_1" equiv-text="fileName2"/> + 1 weitere</target>
            </trans-unit>
        </body>
    </file>
</xliff>

Is converted to: {$PH}{$PH_1} + 1 weitere
While the expected behaviour is that the space between the first & second tag is preserved, resulting to: {$PH} {$PH_1} + 1 weitere
💁 Proposed Solution
As suggested in one of the github issues in xliff library, the method xliff12ToJS, now supports an option captureSpacesBetweenElements : https://github.com/locize/xliff/issues/55
since version xliff v6.1.0
My suggestion is to pass captureSpacesBetweenElements: true as default option to xliff12ToJs.
I can create a PR.
📋 Tasks

[ ] This is a subtask of the feature. (It can be converted to an issue.)
-->

This fix should now be available in version 1.1.4.


[runtime] Add support for dumping ProtocolDescriptor/ProtocolDescript…

…orFlags.
This is only enabled when the runtime is compiled with assertions. This will
make it easier to debug the runtime.
rdar://34222540

@swift-ci smoke test and merge

@swift-ci smoke test and merge


Remove inline styles from frontend markup

During implementation of #8 I noticed there are a couple of inline styles in form of a CSS grid. The problem with these are that they have the highest possible CSS selector specificity as they are inline and are therefore difficult to overwrite by plugin users. In addition, they are currently not optimized for smaller screens. It's just one big CSS grid.
Kirby encourages plugin authors to not include custom CSS or scripts to the frontend, that's why it doesn't come with an API to include CSS files (instead of WordPress, which will clutter your frontend with slow scripts and CSS files as more and more plugins get installed).
I therefore would suggest removing all inline styles and leave it up to the developer to style the form completely from scratch. Alternatively, you could provide a CSS file which can then manually be included via css() function.

I agree, the grid class and inline styles should be removed. I would also recommend removing the width field from the default customfields.yml blueprint.

@samnabi thanks for your input. It's done in Release V2.0:

Inline styles removed
width-field removed
(And many other things)


Taz Wanted terrible framerate that wont go above 5 with game assets being rendered.

Describe the bug

Framerate is far too low at an average of 2 frames per second
remix-0.4.1-release
RTX 4090
GPU driver version: 551.61
Game version 1.0 installed off an official retail CD using Elishacloud's directx wrapper: https://github.com/elishacloud/dxwrapper

Attach files!
Log and Config FIles.zip
To Reproduce
Steps to reproduce the behavior:

launch the game
skip the opening intro video's
let the opening cutscene play or skip it and try to interact with the title screen

Expected behavior

The framerate probably should not be that low on higher end hardware.

Screenshots

I cannot get a screenshot with the framerate ui displaying my apologies

Hello! Will you please test this on the latest release and let us know if the issue persists? Thank you!

Hey i am so sorry i managed to get mixed up because i have 2 tickets open and forgot to update this one.
On remix 5.0 the game just flat crash's on launch here are the log files for it:
Remix 0.5.0 TazWanted Logs.zip
Updating to 0.5.1 yesterday i could swear it launched fine but today it just crash's on launch as well so here are the logs:
Remix 0.5.1 TazWanted First launch Log.zip

REMIX-3139 for tracking


Spouts improvements

What is the goal / desired outcome?
Discussion issue where we list the features that we'd like to include in the next rev of spouts.
Current Candidates:

Spouts API/SDK: https://github.com/pachyderm/pachyderm/issues/4068
Allow spouts to take inputs: https://github.com/pachyderm/pachyderm/issues/3977
Add state tracking to spouts: https://github.com/pachyderm/pachyderm/issues/4070

#4115

and #4135

#4136


Approximately Icon

Icon name
Approximately
Use cases
Approximately is a pretty handy symbol when working with computed values specially in the Bitcoin world where the value of the bitcoin is always an approximation in a given currency.
Design ideas

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
[X] I have searched existing icons to make sure it does not already exist and I didn't find any.
[X] I am not requesting a brand logo and the art is not protected by copyright.
[X] I am not requesting an icon that includes religious, political imagery or hate symbols.
[X] I have provided appropriate use cases for the icon(s) requested.

Open lucide studio

Open lucide studio

That seems like a perfect solution to me. :)

That seems like a perfect solution to me. :)

Thank you :-)
How do I go about adding this icon?
I am new to this.

Open lucide studio

That seems like a perfect solution to me. :)

Thank you :-)
How do I go about adding this icon?
I am new to this.


WIP: ZooKeeper digest authentication support

Based on #3777
Follow-up of #3096

[x] use correct ACL
[x] integration test
[ ] rebase onto master as soon as #3777 is merged

@sttts Thanks. LGTM!
Will wait for the other PR to get merged.

@sttts please rebase

Rebase done. You can merge when tests are green.

Thanks!!


Change compressing format for tar archives

Description
We have detected differences in size between RPM and DEB packages. The packages generated by the tools implemented in

#58

are larger than those generated before the fork.
A brief investigation showed up that the tar files use different formats. Pre-fork tools use tar.xz format to generate tarball, while fork tools use tar.gz format. This increase in size is propagated to the RPM and DEB packages, which use the tarball as part of the bundle.

Changed the format used in the base and the RPM generator. Can confirm that the difference in size beteween the packages generated with tar.gz and tar.xz files is minimal.

We observeda big difference in size of the pre-fork tools generated packages and the fork tools generated packages, but the cause is not the compress format. Further investigation is needed.

Comparing the size of a package made with the pre-fork tools and the post-fork tools, the difference is a lot bigger

Analyzed the package with the pkgdiff tool, getting this output (is an HTML file that can be opened in any browser). The first package is the pre-fork and the second is the post-fork.
The next step will be inspecting that file to seek the origin of the size difference.

Which command did you use compress in xz format?

@AlexRuiz7 I used tar -cJf for that. The difference in size is visible between .tar.gz and .tar.xz base files.

LGTM!


Upgrade to C# 8.0 and disable NRT during type generation

Upgrade to C# 8.0 so that the new switch expression can be used in project
Disable NRT in type generation

WebView isn't compatible with monaco 0.23+, I'm closing this PR.

Hey @hez2010 sorry I've been quiet on this for so long, been heads down at work. My plan is to investigate splitting apart the main generated parts to .NET so we can shim on top of different WebView/2 projections for different frameworks.
Is there an issue open on the Monaco repo about the broken Edge support? They don't call it out in their readme, only IE.
I know there's an open issue about AddHostObjectToScript, so I'm hoping that'll come soon, though I'd still want to support UWP for another year, so I think we may have to stay back on the Monaco version.

I've generated full bindings for monaco editor using TypedocConverter and applied some modifications to it, also implemented relevant methods for Uri, Token and etc.
https://gist.github.com/hez2010/3d3e493f8e434f1dc758438c4a2c9dab

Hey @hez2010 sorry for the delay in getting back to this. Was finally trying to take a stab at it.
I did see there were come conflicts with the new type definitions since they changed ResolveCompletionItem. I do plan after the next update to start looking at splitting the Monaco API parts out to a .NET standard library instead of being part of the component somehow.
I was trying to re-generate the typings myself with your updates, but was running into this:
Warning: No compiler options set. This likely means that TypeDoc did not find your tsconfig.json. Generated documentation will probably be empty.
Warning: Unable to locate entry point: I:/code/monaco-editor-uwp/GenerateMonacoTypings/.temp/monaco.ts

It was still generating a json file, but it was mostly empty, and then the C# files weren't being generated. Any thoughts on what I may be missing?
Thanks!

Also hit an issue with trying to run test app with 0.22.3 on Win 10 19042.

Points to this place in editor.main.js:
ae.replace(/(\p{Ll})(\p{Lu})/gmu,"$1_$2").replace(/([^\b_])(\p{Lu})(\p{Ll})/gmu,"$1_$2$3").toLocaleLowerCase()

Tried reverting back to 21.3 instead and that seems to be working great so far.

I've got this PR integrated into my local copy of my #46 PR along with the updates to bring us up to compatibility with 0.21.3 of Monaco tested out with all the examples in the Sample app.
Would be nice to at least fix the type-generation script though so it can be run locally. Feel like there's been updates to TypeScript and typedoc which aren't playing nice with the current script's configuration?

Feel like there's been updates to TypeScript and typedoc which aren't playing nice with the current script's configuration

A tsconfig.json is needed to generate json from TypeScript.

Thanks @hez2010, do you have the one that you've been using locally? It'd be great if we can commit it, so we can just run npm install again.

Typedoc introduced a bug (https://github.com/TypeStrong/typedoc/issues/1637) recently which mis-interprets property delegates as method signatures. To workaround, typedoc version should be fixed at 0.20.* (TypeScript 3.9~4.2).
I'm working on a PR to make it work again.

Done. #57


Max add option

We removed the old Maximize option after refactoring to explicit SDK Proportional handlers.
It was using calculateProportionalAmounts helper form the SDK which does not work nicely with the explicit SDK Proportional handlers (as they expect exact bpt out instead of tokens in).
Users can always maximize  clicking the wallet icon, although the amounts will go over the balance if they click the wrong one.
This ticket is about exploring better UX for maximizing (check the old optimize code in useProportionalInputs for ideas).

cc @uiuxxx


Improve scaled overlays.

Overlay annotations at scales other than the base image could show eccentric tile layers.

@naglepuff This should look much better with superpixels generated at scales other than the base image scale.


fix api key issue with ollama

#88

By the way, you can just pass any api-key and it will be safely ignored for that argument. All OpenAI-API compatible interfaces have that limitation unfortunately


Track the Product&Version Change in swagger.json

We are updating the product/version in swagger.json from "Kubernetes/1.15.0" to "Arktos/0.2.0", as in https://github.com/futurewei-cloud/arktos/pull/246.
However, there are lots of kubernetes titles and version in our current repo remained unchanged. The versions are used to see if they support other components and plugins or build images. This issue is created to track it.

no regression reported. closed this issue.


Blindspin Dependency breaks installation in CI/CD

Attempting to install the test container breaks due to blindspin.
All our build started failing now
[2020-12-11T07:08:36.725] + pip3 install -r common/test-containers.txt

[2020-12-11T07:08:37.292] Collecting testcontainers==3.1.0

[2020-12-11T07:08:37.292]   Downloading testcontainers-3.1.0.tar.gz (15 kB)

[2020-12-11T07:08:37.866] Requirement already satisfied: wrapt in /usr/local/lib/python3.6/dist-packages (from testcontainers==3.1.0->-r common/test-containers.txt (line 1)) (1.12.1)

[2020-12-11T07:08:37.866] Collecting blindspin

[2020-12-11T07:08:37.866]   Downloading blindspin-2.0.1.tar.gz (2.2 kB)

[2020-12-11T07:08:38.130]     ERROR: Command errored out with exit status 1:

[2020-12-11T07:08:38.130]      command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4qbykvrm/blindspin_3af84003b4474b10bf0bafb7094e3fa8/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4qbykvrm/blindspin_3af84003b4474b10bf0bafb7094e3fa8/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-4b6cz5at

[2020-12-11T07:08:38.130]          cwd: /tmp/pip-install-4qbykvrm/blindspin_3af84003b4474b10bf0bafb7094e3fa8/

[2020-12-11T07:08:38.130]     Complete output (7 lines):

[2020-12-11T07:08:38.130]     Traceback (most recent call last):

[2020-12-11T07:08:38.130]       File "<string>", line 1, in <module>

[2020-12-11T07:08:38.130]       File "/tmp/pip-install-4qbykvrm/blindspin_3af84003b4474b10bf0bafb7094e3fa8/setup.py", line 7, in <module>

[2020-12-11T07:08:38.130]         readme = f.read()

[2020-12-11T07:08:38.130]       File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode

[2020-12-11T07:08:38.130]         return codecs.ascii_decode(input, self.errors)[0]

[2020-12-11T07:08:38.130]     UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 189: ordinal not in range(128)

Should be fixed in 3.2.0 (out later today, see #125).

Thank You !!


Order of atttibutes/attribute profiles cannot be changed

I cannot change the order.

@sstenchlak Does the backend and core-v2 preserve the ordering? In other words is it possible to change the order of attributes just by changing the array, or should we rather introduce a new property?


[Task]: Eliminate google-python-cloud-debugger dependency in base_image_requirements

What needs to happen?
google-python-cloud-debugger has been deprecated and will be shutdown by May 31,2023. https://cloud.google.com/debugger/docs/release-notes
We need to eliminate this dependency in our container image by that time.
The tasks involves the investigation how this dependency works currently (beam does not use it directly) and either remove it or find alternatives.
Issue Priority
Priority: 2
Issue Component
Component: sdk-py-harness

It sounds like we don't actually support integration with cloud debugger and this dep is a dead weight.


problem when I want to install angular-cli

i have problem with angular/cli when i try to install ,some help pleas

I'm sorry, but we don't understand the problem you are reporting.
If the problem persists, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use ng new repro-app to create a new project where you reproduce the problem.


Update: Add npm publish to build script

Updating npm run patch, npm run minor, and npm run major to also publish to npm (so we don't forget).
CR @j3tan @FredKSchott @mattwiller

Verified that @nzakas has signed the CLA. Thanks for the pull request!


Alert on lack of updates (release tweets)

There's one monitoring gap which I'd like to close: alert if there's suspicious silence on the twitter feed as the ultimate end-to-end test as it integrates across pretty much the whole processing chain (except build triggers).

This could be as simple as running a twitter search since:2022-03-26 from:SwiftPkgUpdates (via the API, I guess) and ensure there are results.

It would, but I guess that's effectively covered by our analysis metrics + alerts. I.e. we do get alerts already when there's been a "release gap". (I need to check what the actual alert is but I'm pretty sure it's set up in the dashboard. It certainly is for build gaps.)
Here, I'd like to specifically plug the gap of the release notification channel on Twitter to notice:

issues with Twitter auth preventing posting
account issues (locked out, banned etc)

Then this is the perfect solution! 🚀

This should be feasible with the Mastodon API, where we can easily fetch the most recent posts and can check that they aren't older than the latest release.


[Event Request] Table 5870 "BOM Buffer" - OnAfterGetItemCost

Hello. In Table 5870 "BOM Buffer", I think that it would be really great to have more events. There are few, but more are needed.
`procedure GetItemCosts()
var
Item: Record Item;
UOMMgt: Codeunit "Unit of Measure Management";
begin
TestField(Type, Type::Item);
Item.Get("No.");
    "Unit Cost" := Item."Unit Cost";
    "Single-Level Material Cost" := "Unit Cost";
    "Rolled-up Material Cost" := "Single-Level Material Cost";

    if "Qty. per Parent" <> 0 then
        "Single-Level Scrap Cost" := "Single-Level Material Cost" * "Scrap Qty. per Parent" / "Qty. per Parent";
    if "Qty. per Top Item" <> 0 then
        "Rolled-up Scrap Cost" := "Rolled-up Material Cost" * "Scrap Qty. per Top Item" / "Qty. per Top Item";
    RoundCosts(UOMMgt.GetQtyPerUnitOfMeasure(Item, "Unit of Measure Code") * "Qty. per Top Item");
    **OnAfterGetItemCosts(Rec,Item);**
end;`

Integration Event definition:
[IntegrationEvent(false, false)]
local procedure OnAfterGetItemCosts(var BOMBuffer:Record "BOM Buffer";Item:Record Item)
begin
end;
Thank you for your work.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Representing non-ts assets for compilation

Search Terms
watch, non-ts, files, not, typescript, .ts,
Suggestion
I'm trying to create a solution builder that lets me preprocess markdown imports, (parse the markdown and serialize them into TypeScript files, which are used in the final compilation). Without this ability, I have to create an additional watch process to trigger the creation of new source files, and then clean and rebuild. This isn't ideal; if possible, I'd like to reuse the watch process spawned by createSolutionBuilderWithWatch. I guess the difficult question here then becomes: how does a non-ts source file look? This is probably a pretty big change... and begins to blur the line between compiler and packager. For the time being, how do community and team members feel about the following?:
Example Usage:

add a new compilerOptions field:

{
  ...
  "includeForeignAssets": "true",
  ...
}

specify includes as we currently do.
the compiler would produce a new kind of SourceFile (dumbed down); this SourceFile could contain many of the same fields pos, end, flags, kind, text, fileName, ...
non-ts assets would be copied over, without necessarily being transformed.

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

Oh, and—incase you celebrate—happy Thanksgiving!

I think this is probably the domain of compiler plugins https://github.com/microsoft/TypeScript/issues/16607 rather than the TypeScript compiler increasing its scope

@orta watch mode will not detect changes in non-ts files. Therefore, users––who want to manipulate non-ts files via a plugin––would need to create a parallel watch process that modifies the builder program. This is not only slow, but also breaks incremental builds. Putting all of that aside, I don't believe there's a way to enable this functionality via transforms alone. IMHO, the best path forward would enable users to process their non-ts assets via transforms; this would allow users to integrate their build tasks into the TypeScript compiler's process.

https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

[Do not] provide an end-to-end build pipeline. Instead, make the system extensible so that external tools can use the compiler for more complex build workflows.

What you want to do is very much the domain of "external tools".

@fatcerberus it's a tough line to draw, but I agree with you. Enabling seamless integration with packaging tools vs. turning into a packaging tool... well, one way or the other, hopefully the two root problems can be addressed (without breaking away from the design goals):

Users cannot modify the behavior of the watch process (without a custom fork or monkeypatch).
Incremental building only accommodates files which map directly to a corresponding output file; if a transform creates a new SourceFile instance based on another (or a non-ts file), there's no way to specify the branching (input(s) > output(s)) for incremental building to work as desired.

Could a given transform communicate with the incremental build system incase it has side-effects which update the dependency graph? And do you & others feel that these problems are worth addressing?

The line gets blurrier than with most compilers because tsc works at the directory level, rather than directly taking a list of source files as input—and produces multiple files as output, reconstructing the original directory structure as it goes.  It’s been a bit of a challenge for me too, integrating TS with my Cell build system, because of that.

Just to clarify, you're saying that users should have more control over output destination?
Would this be a fixed mapping, where the compiler takes care of rewriting imports relative to oneanother?:
tsconfig.json
  ...
  "destBySrc": {
    "./src/index.ts": "./dest/a/b/c/d/e/f/g/h"
  }
  ...

Or would it be more dynamic? For instance, a function which receives the SourceFile instance and returns a new path or paths (incase you want to write the given file to more than one place)... or undefined (incase you want to prevent a file from being written).
get-destination.ts
import ts from "typescript";

export default function(sourceFile: ts.SourceFile) {
  let destination;
  // determine `destination`
  return destination
  // return [destinationA, destinationB]
  // return undefined
  // return null
  // return false
}

tsconfig.json
  ...
  "getDestination": "./get-destination.ts"
  ...

This problem is tangential to the branching problem I described above. Part of me thinks that adding plug-ability for these inessential steps would be a mistake. Probably best to revisit this if / when the programatic API is in a more solid form (and documented ;).
I think the point of friction here is that incremental builds & watch mode could also be considered as in the domain of "external tools". Their focus is much more on workflow than on the language itself. As time goes on, I get the sense that it'll be hard to maintain this separation.

No, I didn’t mean to suggest any particular solution - was just pointing out that tsc working at the level of entire directory structures (as opposed to—here’s your list of input files, here’s the list of output files, and here’s the options—like other CLI compilers) often creates friction when attempting to integrate it into larger build systems.  It was a general statement to highlight the seeming contradiction between the goal of “we want to be composable” vs. how tsc actually seems to behave “we want to be the entire build system for this directory”

Looking back at this issue now. @fatcerberus your concerns are absolutely correct: any attempt to enable processing of non-ts assets would likely conflict with design goals. Thank you for the feedback!


⚠ ClamAV has degraded performance

In 4dfe091, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 17 ms

Resolved: ClamAV performance has improved in ec20a23.


Buffered Register has Depth 1

I'm seeing this in RegNew x368 from - SrcCtx: DiagonalBanking.scala:27:10 in DiagonalBanking.  It is written to in one stage of the a pipeline and read from in the next stage, but its depth is still 1

There aren't even any Sched.Pipe outer pipes in this app.  This bug is probably fixed by now but either way this is not the right app to check it.


Ability to enable admin API on a separate listener

Proposal
To enable the the admin API, it requires Prometheus to be started with a command line arg and the API is available through the standard HTTP listener.
This makes it challenging to turn on and off when required, especially when working with a large Prometheus instance that takes a long time to start due due to WAL replay.
It would be helpful if the admin API could optionally be exposed through a separate listener, then administrators could choose to leave it enabled at all times but only available on localhost and thus not exposed to externally with other features of the HTTP listener.

Hello from the bug scrub!
This could be implemented as part of https://github.com/prometheus/exporter-toolkit/issues/260 .
We feel that we shouldn't solve this for the admin endpoint specifically, but have a solution that allows users to route endpoints differently (e.g. /pprof is an often discussed topic).
Closing this as it is covered by https://github.com/prometheus/exporter-toolkit/issues/260 .


cannot create volume due to S2D configuration issue

after running the script we got
000010b8.00000540::2021/12/08-19:34:02.433 INFO  [Provider {29d1f3ee-dbcf-44e9-b0cc-085bfa362499}] StoragePoolEventInterpreter::ProcessPoolTransactionEvents - Wrote HealthDataStore at key:{xxxxxxxxx}:SP:{xxxxxx} name:StoragePoolFailureEventData with value<PHONE_NUMBER>25620000, EventStatus:3221226593. -- > STATUS_DISK_RESOURCES_EXHAUSTED The physical resources of this disk have been exhausted

Thanks for letting us know about your issue. We will test the lab over the next few days and follow up.

Hi, can you clarify which script you ran that caused this error? If possible, please attach an image of the entire PowerShell window with the command you executed and the resulting error. Thanks!

Hello Eleanor,
This was done by someone else and they opened a ticket with CSS MS.
They went through the steps which the article intended to be for multiple times, but they always experienced the S2D error that does not have enough space to create a volume.
Could not have time to repro, but if you could not most probably its a customer error.
However wanted to highlight in case was not tested.
Thanks
Feras.
From: Eleanor Cohen @.>
Sent: Tuesday, January 4, 2022 8:14 PM
To: Azure/AzureStackHCI-EvalGuide @.>
Cc: Ferasshehadeh @.>; Author @.>
Subject: Re: [Azure/AzureStackHCI-EvalGuide] cannot create volume due to S2D configuration issue (Issue #70)
Hi, can you clarify which script you ran that caused this error? If possible, please attach an image of the entire PowerShell window with the command you executed and the resulting error. Thanks!
—
Reply to this email directly, view it on GitHubhttps://github.com/Azure/AzureStackHCI-EvalGuide/issues/70#issuecomment-1005137206, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN6CRDM5AEHZM7BCQSETLDLUUNIH7ANCNFSM5KQDF63Q.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Hi Feras,
Yes, sorry I was not able to repro the issue. I reran the lab this week and successfully created a volume. I would recommend that the customer redeploy their cluster and try again. Let me know if they continue running into errors.
Thanks,
Ellie


Allow nested monad return

Make return in monad to be desugarized according to sample of inner-most monad.

@icidasset Could you review this?

Well hello again @jechol 👋
Yeah, this totally makes sense. Thanks for catching that special case 😁

P.S. Thanks for all the PRs, and apologies again for the delays from the existing maintenance team. We're both actually at the same, super intense startup, so pretty much all other projects have been falling by the wayside.
We are looking for more maintainers; you're already doing a great job. Please let me know if you'd be interested having higher rights to this repo.

I'm interested in having higher rights. Wanna contribute more.

@Trevoke this has been sitting in my backlog forever now — invite with higher rights sent!

@expede I believe you meant to ping @trevorite :D

@Trevoke haha indeed! Apologies; I was fooled by GH autocomplete

@expede I can't find the invitation. Could you please re-invite me? (I've changed my Github id from jechol to trevorite)

Sent!

It appears to be expired. Could you re-invite me?


protoc-gen-go: generates empty // import "" comment

If you've got a go_package option with just a package (no import path), protoc-gen-go adds an empty // import "" comment to the package line, which is obviously wrong.

oh noes!


Command log does not tolerate object of type Date

Steps to reproduce:
Add in any command cmd.log(new Date());

Expected:
Wed Feb 14 2018 09:51:14 GMT+0000 (GMT Standard Time)

Actual:
Empty line

Good catch @VelinGeorgiev!


Windows json output pipe to file no longer working

cvemap version: 0.0.3
Current Behavior:
In version 0.0.2 when you did something like
cvemap.exe -poc=true ... -json > file.json
You would get a nice json file with the complete output.
In version 0.0.3 however, cvemap.exe will output the json content to console and the file itself will be empty.
Expected Behavior:
Like in 0.0.2 it should be possible to redirect the output to a file.
Steps To Reproduce:
Use version 0.0.2 with:
cvemap.exe -json > file.json
See that the json file is correctly created and contains valid json data. There is no screen output.
Use the newest version 0.0.3 and do the same.
You will see the json being outputted to the screen. An empty json file is created.
Anything else:

@LuemmelSec thanks for flagging this, now fixed in latest release - https://github.com/projectdiscovery/cvemap/releases/tag/v0.0.4


Section 4

I finished doing all of the section 4 and now the 3ds was supposed to boot but all I am getting is an error.
Then I tried doing the 9.2.0 ctrtransfer as was said in the tutorial but I cant boot into Decrypt9 by holding  X and powering on. Am I doing something wrong?

https://github.com/Plailect/Guide/wiki/Troubleshooting#ts_sys_a9lh


Set tutorial card z index above block fields

Fixes microsoft/pxt-minecraft/issues/1104

Nvm I see it elsewhere in the file


Issues with some inlays inside the parameters of the procedures on the file demo.odin .

Following the discussion on the discord of Odin Programming Language.
Please Droaz forget every thing that I told you that was not working I have striped the file of demo.odin to the minimal and it still not working for the majority of the code, but then I did the following and the majority or all the code has comments I will review evry line of the 2500 line of code of the file and come back to you in a momento.
The prroblem was in the ols.json
This those not work with the tilda.
{
    "$schema": "https://raw.githubusercontent.com/DanielGavin/ols/master/misc/ols.schema.json",
    "collections": [
        { "name": "core", "path": "~/odin/Odin/core" },
        { "name": "shared", "path": "~/odin_proj/demo" }
    ],
    "enable_semantic_tokens": false,
    "enable_document_symbols": true,
    "enable_hover": true,
    "enable_snippets": true,
    "enable_inlay_hints": true
}

But work well with this:
{
    "$schema": "https://raw.githubusercontent.com/DanielGavin/ols/master/misc/ols.schema.json",
    "collections": [
        { "name": "core", "path": "/home/joaocarvalho/odin/Odin/core" },
        { "name": "shared", "path": "/home/joaocarvalho/odin_proj/demo" }
    ],
    "enable_semantic_tokens": false,
    "enable_document_symbols": true,
    "enable_hover": true,
    "enable_snippets": true,
    "enable_inlay_hints": true
}

I will see if it works with all procedures inside demo.odin line by line.
defer delete() doesn't work:
line 207    some_map := map[string]int{"A" = 1, "C" = 9, "B" = 4}
line 208    defer delete(some_map)

This one in variadic_procedures() is best described with a screen shot:

In explicit_procedure_overloading() it's is also problematic.

In this case with templates new_entity and the new are also problematic:

The last image didn't show the last line:

While printing the last field off this fmt.println() it is problematic:

While receiving the address to an argument with a  pointer, it is problematic:

new() and free() don't show nothing:

alloc() doesn't work correctly:

make(), type_of() , max() don't work correctly,
and so doesn't work this template make_slice()

put() doesn't work correctly:

All this have templates or generics, so they render badly:

append() in a vector doesn't work

O thread.pool_init() e o thread.poll_start() nãom funcionam:

If it is inside a compile time assert thje size_of() function doesn't show it's inlay:

Inside a Parametric polymorphic checks
in the where of the type the intrinsics.type_is_numeric() doest show but i don't know if this is supposed to show?

In function parameters overloading with generic parameters for the function it doesn't work:

make() doesn't work:

IMPORTANT:
I correct what I just said, make works because the first parameter is the type!
soa_zip() and soa_unzip() doesn't work:

runtime.default_context()   doesn't work:

big.gcb_lcm() doesn't show correctly:

hadamard_product() for matrixes doesn't show correctly:

And that all the cases inside demo.odin from the Odin language repositorio!
Thank you,
Best regards
João Carvalho

Correction:
runtime.default_context() doesn't have parameters so it is working correctly.

Think all of them are fixed. If you still find some not, make one issue each for each problem. It's hard to keep track of all in one issue.


How to use Delegate for CPU and GPU

Hello, I am looking for documentation or a better understanding on how the delegate works for GPU and CPU.  e.g.
gestureRecognizer = await GestureRecognizer.createFromOptions(vision, {
baseOptions: {
modelAssetPath:
"https://storage.googleapis.com/mediapipe-models/gesture_recognizer/gesture_recognizer/float16/1/gesture_recognizer.task",
delegate: "GPU"
},
});
What I am noticing is that on some machines (all with a GPU) if you use delgate of CPU the models load very quickly. If you use GPU, it takes around 30 seconds (using face, hands, pose) to load the models.  But once loaded, CPU is slightly reduced and GPU is engaged.
If you don't pass a delegate, it seems to always default to CPU (tested on Macs w/ M2 and M3 processors).
What is the expected behavior of not passing a delegate? Should it use the best option? Would be great to have more info here and understand why load time can be so slow when forcing GPU.
Thanks.

Hi @nskaiser,
Both the CPU and GPU are used for the GPU delegate. To check if the GPU is being used, compare the model's performance. Models that use the GPU should be significantly faster. For more details, visit https://github.com/google/mediapipe/issues/4711.
Thank you!!

Thanks. Can you explain more on what this actually does?  And what happens if I don't pass any delegate? I'm trying to better understand this.  I'd say from my experience using GPU makes the model run faster, but it also makes it load much slower.  I saw #4711 but it didn't answer these questions either. Thanks.

Hi @nskaiser,
By default, the system will use the CPU version. If the system supports a GPU and it is available, the GPU will be used instead.
Regarding your second query, could you please provide more details or raise a new issue with complete information? Please close the current issue and that will make it easier for community members to search and address the issue.
Thank you!!

Thanks, I will do that!  But one last question to just confirm here... Let's say I am on a PC with an available GPU.  If I pass delegate=GPU , that should technically be the same as if not passing a delegate at all because the system will see I have a GPU available and try that.  Is that correct?
Conversely, what if I pass delegate=GPU but a user w/ an unavailable GPU is running the app? Will the system detect this and revert to CPU?
So what is best practice here if you just want best performance across all systems, GPU or not.  To not pass a delegate?
Thanks again.

Hi @nskaiser,
Yes, you are correct. The performance will be the same regardless of whether you pass the delegate or not. If a GPU is available, it will be used by default, so there should be no concern.
Thank you!!


problem with last openfl?

I get this error with last openfl
/usr/lib/haxe/lib/advanced-layout/git/layout/item/TextSize.hx:42: characters 2-38 : Float should be Null<Int>
/usr/lib/haxe/lib/advanced-layout/git/layout/item/TextSize.hx:42: characters 2-38 : Float should be Int

Apparently they switched to integer-based text size. This should now be fixed.

yes  works with openfl and also with nme

Hi that's still happening to me, and I think I have latest version from openfl:
advanced-layout: [0.4.1]
layout: [1.2.1]
openfl: 3.0.1 3.0.2 3.0.6 3.0.8 3.3.1 [3.3.3]

I hadn't actually uploaded this fix to Haxelib. Try updating it now.


How about promisfying the APIs?

Duplicate of #171
As recommended in #171, https://www.npmjs.com/package/dockerode-promise

Got it. I think this can be noted somewhere. Thanks anyway!

Just pushed to the repo a promise based interface, check it out :)

@apocas Great work! Thank you!
Em... In some cases, I prefer another promise library instead of the native one, e.g. bluebird. Could you enable users to plug in their favourite promise library?
I think that can be achieved like this:
Users pass their promise library to Docker:
const docker = new Docker({
  socketPath: '...',
  Promise: require('bluebird')
})

then the constructer can save it in the Modem instance
Docker() {
...
  this.modem.Promise = opts.Promise || global.Promise
...
}

After that, just replace return new Promise() with return new this.modem.Promise().

Humm, interesting :)
Yes this is a good idea.

Done :)
Thanks for the feedback!

@apocas Great! I can't wait for its publication to NPM!


Handle paths with whitespace.

The missing quotation marks are usually a problem for local Windows accounts when the user entered its name e.g. "John Doe" during account creation.
I don't know if this problem may exist on non-Windows operating systems, but IMHO it's better to be safe than sorrow.

This was a lifesaver of a commit!

@javiercn  this bug was reintroduced in the "Angular and ASP.NET Core (Preview) template on Visual Studio 2022. 17.5.2


{{submitButtonAtts}} not working in custom form template?

i use quickForm with a template attribute, my own form template has just a template for the main form, not for any afForm types.
it seems {{submitButtonAtts}} is ignored. The defined buttonClasses attribute from quickForm is not added.
Here is my jade-template:
  +quickForm collection="Events" id="insertEventForm" type="insert" class="event_add pure-form" buttonContent="Speichern" buttonClasses="pure-button pure-button-primary" template="pureCSS"

and this is the template file
<template name="quickForm_pureCSS">
  {{#autoForm this.qfAutoFormContext}}
  <fieldset>
    {{> afQuickFields id-prefix=idPrefix}}
    {{#if qfShouldRenderButton}}
    <div class="pure-control-group">
      <button type="submit" {{submitButtonAtts}}>
        {{#with ../atts.buttonContent}}
        {{this}}
        {{else}}
        Submit
        {{/with}}
      </button>
    </div>
    {{/if}}
  </fieldset>
  {{/autoForm}}
</template>

Any hints?

If you copy from a built in template, you have to copy any template helpers, too. For example, https://github.com/aldeed/meteor-autoform/blob/master/templates/plain-fieldset/plain-fieldset.js
Or you can inherit them if using aldeed:template-extension package.

many thanks @aldeed


feat: add issue template for FEATURE_REQUEST

Currently the feature_request.yaml contains a copy of bug_report.yaml.
Replace all the content of feature_request.yaml with the one available here and make necessary changes

Hi @samyabrata-maji ,
The replacement content link which you have provided is an invalid link. Can you provide the correct link.

Hi @samyabrata-maji , The replacement content link which you have provided is an invalid link. Can you provide the correct link.

check this

Sorry @SuryanshuTomar
I changed the project name and hence the link wasn't working.
Here's the updated link.
https://github.com/samyabrata-maji/magnificent-seven/blob/main/.github/ISSUE_TEMPLATE/Feature.yml


Implement Listener Hostnames and associated TLS mode on matching TLSRoutes

Listener includes an optional core Hostname field. When present, Routes must have a hostname set that intersects with the Listener hostname (cardinality 1) set to associate with that Listener.
Because the TLS mode is set by Listener.TLS association with a specific Listener is the only way to specify a TLS mode (terminate or passthrough). We must use parentRefs to set the Kong route protocol (ignoring the hack method of setting it using the protocol annotation).
This probably requires some review of how we determine which Listener to match and what we do if there is ambiguity about which Listener matches. There's probably some stuff in the spec that clarifies how that sorts out and/or what ambiguities are impermissible.
Per conversation with other Gateway API implementers, Listeners permitting only a single Hostname is by design, because matching logic gets way overcomplicated otherwise. While a single match is sufficient, I think this may raise some confusing situations where a single TLSRoute matches multiple Listeners that specify different configurations, e.g. I think it's valid to have:
TLSRoute.Hostnames: foo.example, bar.example, baz.example

ListenerA: Hostname=foo.example, TLS.Mode=Terminate
ListenerB: Hostname=bar.example, TLS.Mode=Passthrough

If that is permitted by the spec (again, need to read it more closely to be certain), which routes do we create? Relevant spec language states that:

"It is valid to reference multiple distinct sections within the same parent resource, such as 2 Listeners within a Gateway." from CommonRouteSpec.
"If both the Listener and TLSRoute have specified hostnames, any TLSRoute hostnames that do not match the Listener hostname MUST be ignored." from TLSRoute.Hostname.

This suggests that we should create separate routes for foo.example and bar.example, and do nothing for baz.example. I'm not sure then whether we indicate that the TLSRoute is only partially available (and if so, how) or if we reject it altogether.

https://github.com/Kong/kubernetes-ingress-controller/pull/2555 handles the Listener/Hostname stuff and various different types of conflicts. It does not handle TLS mode, which has moved to https://github.com/Kong/kubernetes-ingress-controller/issues/2662


Bug fix: filter _source field in search model api

Signed-off-by: Bhavana Ramaram<EMAIL_ADDRESS>Description
"_source field" to be recognized in search model api.
This PR fixes the bug reported in the issue https://github.com/opensearch-project/ml-commons/issues/419
Test api request and response with '_source' field:

Without specifying '_source' field:

Issues Resolved
https://github.com/opensearch-project/ml-commons/issues/419
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #445 (8b2878b) into 2.x (125b163) will decrease coverage by 0.06%.
The diff coverage is 86.66%.

@@             Coverage Diff              @@
##                2.x     #445      +/-   ##
============================================
- Coverage     91.43%   91.36%   -0.07%
- Complexity      528      530       +2
============================================
  Files            59       59
  Lines          1529     1540      +11
  Branches        122      125       +3
============================================
+ Hits           1398     1407       +9
- Misses           89       90       +1
- Partials         42       43       +1

Flag
Coverage Δ

ml-commons
91.36% <86.66%> (-0.07%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

.../java/org/opensearch/ml/utils/RestActionUtils.java
88.46% <85.71%> (-4.88%)
:arrow_down:

...org/opensearch/ml/rest/AbstractMLSearchAction.java
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Deduping with multiple containers

I'm running multiple instances of this container as I host a bunch of different Valheim worlds for friends.
I was curious if there was a way to share assets between all the servers/containers since they're all the same textures & such.
It seems like everything in the data/ folder MIGHT be common but I was worried about downloads, for instance.  Would sharing the download folder (in data/dl/server/steamapps/) confuse multiple containers or would NOT sharing that confuse them as they'd be unaware another instance was downloading a file? Then again, they should be downloading the same file so maybe it doesn't matter?
Anyway, this is the type of things I'm curious about. Is there a mount-point where we're comfortable that everything is common? Is there some other way to share the data?

you could symlink all references of folder X to a master folder X somewhere to only have one copy.

That's the plan on HOW to share the files.  I'm just trying to figure out which files I can do that with.


Altered logic to set all accepted values of overflow for Box

But to be more specific, I merged a PR last week that uses auto for the forms panel


Write tests for Tarallo implementation

[ ] Write some tests to check the Tarallo implementation is working correctly in every possible case, i.e: the disk is already in the DB, the disk is not in the DB but is corrupted, the disk is not in the DB and is in working conditions, etc...

[ ] Bonus:
Make a "tests" directory which contains some small virtual disks (they need to be uploaded to GitHub, so <25MB!), e.g. made with VirtualBox, for testing.

Interesting way to create virtual block devices, to be investigated: https://news.ycombinator.com/item?id=28422519
May be a good way to inject errors and test the badblocks part on a "bad" disk


values.schema.json breaks airgapped installs

The Helm chart version
Since Commit 2236b78 netbox-5.0.0-beta.133
Environment Versions
All airgapped environments

Custom chart values
postgresql:
  enabled: false

Current Behavior & Steps to Reproduce
Pulled: registry.local/netbox-5.0.0-beta.141/netbox:5.0.0-beta.141
Digest: sha256:c034cb66e9e6c4b8269db90ad436547291b3efc147e1139f298d94c056163d1b
Error: UPGRADE FAILED: values don't meet the specifications of the schema(s) in the following chart(s):
netbox:
Get "https://raw.githubusercontent.com/bitnami/charts/master/bitnami/postgresql/values.schema.json": dial tcp <IP_ADDRESS>:443: i/o timeout
Expected Behavior
Not try to validate values from internet source (specialy not for disabled items)
NetBox Logs
None, not even getting there

Thanks for filing this issue, @sscjascha.
As explained in #409 already, simply use the option --skip-schema-validation when using Helm install/upgrade command.

Thanks for the reply, i looked for this option in my helm install, but it just appeared on Helm v3.16.0, so if you cannot find it you have to upgrade to a newer helm.


App Deeplinking issue on New Teams

Type of issue
Feature doesn't work (bug)
Feedback
https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-link-application?tabs=teamsjs-v2#configure-deep-link-manually-using-your-app-id
This app deeplinking option not works well now Teams now shows popup with "Switch to new teams" option. When pressing that button, it navigates to v2 url and don't remember the app.
Page URL
https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-link-application?tabs=teamsjs-v2
Content source URL
https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/concepts/build-and-test/deep-link-application.md
Author
@v-npaladugu
Document Id
059b1a94-8235-8801-b9e0-ac6fbc485a7c

Hello @venkatx5 - Thanks for raising your query.
We will look into it and let you know the updates.

Hello @surbhigupta12
Could you please help here in document get updated as suggested?

Hi @venkatx5 - Is this issue happening for you in Teams classic client? If my understanding of issue is correct, could you please let us know if this is the issue you are encountering?
1.You are using this deeplink (https://teams.microsoft.com/l/app/<your-app-id>?tenantId=<tenantId>) to navigate to app in Teams classic
2.On clicking of the button, it shows you the message saying, "Switch to new teams" and on clicking that its not opening the desired app
Please let me know if my understanding is correct or not


getUpdates ETELEGRAM 409 Conflict: terminated by other getUpdates request;

 {"code":"ETELEGRAM","message":"ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running"}

I'm getting this error some times on restart bot.
Does somebody know more information or how to check running instances?
I see more people catch the same error, but nobody can response.
#488

I think that the session is not properly terminated, so getUpdates continue get updates after CTRL-C or similar, you can solve it by terminate process maybe.
Can you provide server, platform and other infos?

Do you mean, session as running instance of bot?
I think so, because this error appear not every time.
How terminate session correctly, or how can I catch getUpdates events to see what happens, if it is possible.
Of course, I use a dev bot on my laptop (Ubuntu 17.04) and another for prod on physical server (Ubuntu 16.04.4 LTS) for prod.

That error means: "There are two or more bots that listen updates at same bot token"
So i think you can check process list in your server, what system you use to keep bot alway on? (for example i use pm2)
To print all exception use:
process.on('uncaughtException', function (error) {
	console.log("\x1b[31m", "Exception: ", error, "\x1b[0m");
});

process.on('unhandledRejection', function (error, p) {
	console.log("\x1b[31m","Error: ", error.message, "\x1b[0m");
});

But ETELEGRAM means an error printed by telegram server, you can't get other infos.

Thank for you response.
I use pm2, but i will check processes for bot instance.
Okay. I will add methods and see more info and add here.
thank you again.

@sidelux Unfortunately, I can't catch
`process.on('uncaughtException', function (error) {
console.log("\x1b[31m", "Exception: ", error, "\x1b[0m");
});
process.on('unhandledRejection', function (error, p) {
console.log("\x1b[31m","Error: ", error.message, "\x1b[0m");
});`
, but the ETELEGRAM 409 Conflict: is still persist. I will try again to check processes after stoped running instance. Thanks.

@sidelux as Telegram only allow on instance can listen for updates, then how can we scale that instance service what happen if that process handle large messages requests

@vjrj Should I have 2 index.js for 2 bot and 2 pm2 start ?

@saeedhei Yes.
I have the same code base that I pull from my github repo in two different directories and different settings.json on each with bot credentials, and sensible API data, etc.
I recommend you to play with pm2 startetc with two simple hello world apps.
Also, I don't use it, but maybe this yeoman generator is useful for you:
https://github.com/ashneo76/generator-telegram-bot

@vjrj Is this process.yml ok for 2 bot?
apps:
  - script   : src/index1.js
    instances: 1
    exec_mode: cluster
  - script   : src/index2.js
    instances: 1
    exec_mode: cluster

I guess telegram engineers didn't want to make complex API with message balancing or synchronization tokens, or whatever.
If you want to run several node.js instances in one node.js cluster, I'd recommend polling events in master process and sending them to workers in process.send()
If you want to run your bot on several servers, I would recommend creating a lightweight balancing proxy (possibly, with a failover instance waiting nearby) that sends updates to workers. You could do balancing on your own, or use some job queue, like RabbitMQ.
The idea stays the same, basically =)

This can be caused by manual startPolling() calling, due to polling start automatically if you passed {polling: true} when creating a bot

Hi, everybody. It was fixed. Maybe it can be temporarily, but I have mistakes stopped:
#https://github.com/benjick/meteor-telegram-bot/issues/37#issuecomment-389669310

Hi, everybody. It was fixed. Maybe it can be temporarily, but I have mistakes stopped:
#benjick/meteor-telegram-bot#37 (comment)

Mine didn't stop. Still have the same problem.

This can be caused by manual startPolling() calling, due to polling start automatically if you passed {polling: true} when creating a bot

tyvm I commented the startPolling() line and it worked!

Had the same problem. The first bot listener was running in the background. Solved it with task manager (Ctr + Shift + Esc) -> "Python" process -> right click -> remove the task

I solved it by manually starting and ending my pooling once my function starts and ends (and removed: { polling: true } option from the bot object instantiation). I also did a check to stop the polling if by any reason its active before we're trying to start a new poll.
eg.
`if(bot.isPolling()) {
await bot.stopPolling();
}
await bot.startPolling();
[SOME CODE]
awiat bot.stopPolling();`

i after millions of hits. I decided to php the bot

Hi there.
It looks like you try running the bot with token that is already in use.
I solved it when changed token value, created new one bot for development and testing, because previous bot had already been working in production.
const token = 'SET YOUR ANOTHER TOKEN HERE';
const telegramBot = new TelegramBot(token, { polling: true });
then, it should work

I understand it's quite a late reply to this thread, in my case (and I think for most others) the issue is, pm2 tries to start  loadbalancer with  instances: 'max' , and when more than 1 (pm2) instance is possible then, for polling on both the instances telegrams complains this error which is logical.

I understand it's quite a late reply to this thread, in my case (and I think for most others) the issue is, pm2 tries to start  loadbalancer with  instances: 'max' , and when more than 1 (pm2) instance is possible then, for polling on both the instances telegrams complains this error which is logical.

That error means: "There are two or more bots that listen updates at same bot token"
So i think you can check process list in your server, what system you use to keep bot alway on? (for example i use pm2)
To print all exception use:
process.on('uncaughtException', function (error) {
	console.log("\x1b[31m", "Exception: ", error, "\x1b[0m");
});

process.on('unhandledRejection', function (error, p) {
	console.log("\x1b[31m","Error: ", error.message, "\x1b[0m");
});

But ETELEGRAM means an error printed by telegram server, you can't get other infos.

How can I see what bot is using my commands

“ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running”
Maybe you are running your local bot project, and the telegram think that is 2 bot instance...so you need to close that and then vist the https://api.telegram.org/bot....../getUpdates

Great this solved my issue thanks.
Just created a new bot and new token.
I have nodered with telegram bot on 1 linux server and another on windows docker. Shame we can't use the same bot though.

Had the same problem. The first bot listener was running in the background. Solved it with task manager (Ctr + Shift + Esc) -> "Python" process -> right click -> remove the task

Do you know what process called on a Linux system? I have stopped all my scripts by I'm still getting this error. Which process do I have to kill?

The Telegraf examples section on github has a piece of code that can solve this problem for me.
// Enable graceful stop
process.once('SIGINT', () => bot.stop('SIGINT'))
process.once('SIGTERM', () => bot.stop('SIGTERM'))

Works with nodemon in my case. Separate build process used with tsc -w to dist folder.
package.json
{
  "scripts": {
    "start:w": "NODE_ENV=development nodemon --signal SIGQUIT -w dist dist/index.js"
  }
}

index.ts

let telegramBot: TelegramBot | null = null;

async function start(token: string): Promise<void> {
  telegramBot = new TelegramBot(token);
  await telegramBot.startPolling({ restart: true });
}

async function stop(): Promise<void> {
  if (telegramBot != null) {
    await telegramBot.stopPolling({ cancel: true });
    telegramBot = null;
  }
}

start();
process.on('exit', async () => await stop());

Pusing bot

I also have this error when I use a Telegram bot extending from LongPollingTelegram.
My bot is written in SpringBoot version 2.6.4, java version 1.8.0_271, which is deployed on tomcat version 9.0.56 under linux.
I used the following dependencies for the Telegram bot :
`
org.telegram
telegrambots-spring-boot-starter
5.6.0

	<dependency>
		<groupId>org.telegram</groupId>
		<artifactId>telegrambots</artifactId>
		<version>5.6.0</version>
	</dependency>`

I use the following code to initialize my bot :
 @EventListener({ContextRefreshedEvent.class})     public void init() throws TelegramApiException{         consoleLogger.info("Start initializer MediaBot .");         TelegramBotsApi telegramBotsApi = new TelegramBotsApi(DefaultBotSession.class);         try{             BotSession session = telegramBotsApi.registerBot(bot);             bot.setSession(session);         } catch (TelegramApiException e) {             consoleLogger.error("Error occurred: " + e.getMessage());         }     }
And my bot has the following PreDestroy method to close and release all resources:
 @PreDestroy     public void preDestroy(){         consoleLogger.info("Stop bots session .");         this.onClosing();         this.getSession().stop();         consoleLogger.error("Bot session was stopped .");     }
But when I deploy my bot from tomcat, I get the following error : "409 Conflict: completed by another getUpdates request;".
And this error repeats every second. What am I doing wrong? I can't figure it out.
The support of Telegram is not answer for my email.

The way I was see it, the reason was using the telergambots-spring-boot-starter dependency. It automatically does telegram bot registration and if you try to create TelegramBotApi to register bot in the code - you actually do bot registration twice and end up with two bots with one token.
And second - using this dependency I can't figure out how I can get BotSession (this is only for LongPollingBot) for closing my bot correctly and I got a memory leak error when removing my application from tomcate.
Solution: I use the org.telegram.telegrambots dependency and then I can make my bot register by creating TelegramBotApi and as a result I get access to ExecutorService to release the executor resources and plus for LongPollingBot i get access to BotSession  for close the session correctly.

Same problem, any fix?

I solved the problem using 'BotFather.' I went into the menu, requested my bot's token, updated the token, and the issue disappeared

`const TelegramBot = require('node-telegram-bot-api');
// Use environment variables for the token and webhook URL
const token = process.env.TELEGRAM_TOKEN;
const url = process.env.WEBHOOK_URL;
const bot = new TelegramBot(token, {webHook: {port: process.env.PORT || 443}});
// Set the webhook to the URL provided by Render
bot.setWebHook(${url}/${token});
bot.on('message', (msg) => {
const chatId = msg.chat.id;
bot.sendMessage(chatId, 'Received your message');
});`
This code is work,when I deploy code on www.render.com

Finally, I found the cause of this problem in my situation. I created the telegram bot service and initialized it there. I used it in my Telegram bot service constructor and in the application service (injected it). Because of this, it was initialized twice when the application was launched. It was my mistake. I also tried telegraf.js and grammy.js, there also appeared this conflict error message. You should initialize TelegramBot once and in another file from service file. I hope it will be useful.

This code is work,when I deploy code on www.render.com
index.js
const TelegramBot = require('node-telegram-bot-api');

// Use environment variables for the token and webhook URL
const token = process.env.TELEGRAM_TOKEN;
const url = process.env.WEBHOOK_URL;

const bot = new TelegramBot(token, {webHook: {port: process.env.PORT || 443}});

// Set the webhook to the URL provided by Render
bot.setWebHook(`${url}/${token}`);

bot.on('message', (msg) => {
  const chatId = msg.chat.id;
  bot.sendMessage(chatId, 'Received your message');
});

Hey, do you have more information on this? How do we set up the web hook for render?

This code is work,when I deploy code on www.render.com
index.js
const TelegramBot = require('node-telegram-bot-api');

// Use environment variables for the token and webhook URL
const token = process.env.TELEGRAM_TOKEN;
const url = process.env.WEBHOOK_URL;

const bot = new TelegramBot(token, {webHook: {port: process.env.PORT || 443}});

// Set the webhook to the URL provided by Render
bot.setWebHook(`${url}/${token}`);

bot.on('message', (msg) => {
  const chatId = msg.chat.id;
  bot.sendMessage(chatId, 'Received your message');
});

Hey, do you have more information on this? How do we set up the web hook for render?

show my code here ...
https://github.com/Cosmits/test-telegram-bot

one reason is to instantiate the class twice, make sure you create the instance as singleton
let instance1 =  new Telegram(this.token, { polling: true });

// in another place
let instance2 =  new Telegram(this.token, { polling: true });

 {"code":"ETELEGRAM","message":"ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running"}

Recibo este error algunas veces al reiniciar el bot. ¿Alguien sabe más información o cómo comprobar las instancias en ejecución? Veo que más personas detectan el mismo error, pero nadie puede responder. #488

 {"code":"ETELEGRAM","message":"ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running"}

Recibo este error algunas veces al reiniciar el bot. ¿Alguien sabe más información o cómo comprobar las instancias en ejecución? Veo que más personas detectan el mismo error, pero nadie puede responder. #488

Hola, asegurate que en tu archivo que creaste package.json, haga referencia en main hacia el archivo creado manuelmente bot.js.
Esa fue mi solución. Saludos.

 {"code":"ETELEGRAM","message":"ETELEGRAM: 409 Conflict: terminated by other getUpdates request; make sure that only one bot instance is running"}

I'm getting this error some times on restart bot. Does somebody know more information or how to check running instances? I see more people catch the same error, but nobody can response. #488

=>> The main issue lies in the fact that you are initializing the bot (new TelegramBot) multiple times, but you should only initialize it once for each bot_token

bot.on('polling_error', (error) => {
bot.startPolling();
console.log('bot pollling error: ' + error);  // Print the error to the console
});
bot.startPolling();  after i added this line the error stopped


The computer was slow for the first few seconds when I clicked on the StartRecording

The computer was slow for the first few seconds when I clicked on the StartRecording.
OS:Windows 7 x64
CPU:quad-core
RAM:4G

The main reason is that recording audio is enabled.
Is there any solution for this?
help me...plz

Does this happen only for the first recording after launching the app or all recordings?
The audio libraries when recording for the first time which might be the cause for the delay.

As you might expect this happen only for the first recording after launching the app.


Dashboard navigation not working for All devices by default

At the moment, if device is having type property then only navigation working for all devices. It should work irrespective of type field configured.

Fix released in 1.0.8 for navigation on devices/assets without 'type' configured.


Sensor issues: GYK 1724912 (87414)

6/10/22 @9:50 am – Gateway sending data to the tech dashboard consistently

Cover 1 – 40 cm sensor not sending any data

Sending data strings this morning (6/13), which looked weird and similar to other broken sensor

String of data had …65535 ~ 1260 ~ 32660…

Cover 2 – 10 cm sensor not sending any data

Sending data strings this morning (6/13), which looked weird and similar to other broken sensor

String of data had …65535 ~ 1567 ~ 326105…

Both sensors were pulled up, and the tines were straightened out. This appeared to fix the problem.

Bare 1 - 10 cm sensor sending -999
Pulled the sensor up and straightened the tines, which appears to have fixed the issue

Gateway stopped communicating with the gateway on 6/13/22 @12:03 pm

Reset the system

7/7/2022 briefly connected no transmission since. Signal strength is poor on all nodes and no signal indication in the chart for the gateway. Reception Issue? Is it printing data?

@kldriver I don't believe it's a cell reception issue. It was sending data reliably until we had to reset the system when we reset the system back in early June, after that it has been spotty. The nodes and gateway are collecting data.


Apache - log file per site

It would be good to separate the log files for each site, currently they all go to the default log location.
When installing cdev local you're asked for a default docroot, is it possible to create a logs directory in here and separate project directories - perhaps using the domain name as the dir name

Addressed in https://github.com/jamiesykescreode/cdev-environment-local/pull/23

Looks fine, merged in.


FIX: Fixed Rollout CRDs for configmaps

Description
This PR fixes the issues with app-metrics or envoy configmap not being able to be mounted or configmaps and secrets not being able to be applied as data-volume
Type of change

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

How Has This Been Tested?

[x] Tested on K8s cluster 1.22
[x] Tested on K8s cluster 1.21

Checklist:

[x] The title of the PR states what changed and the related issues number (used for the release note).
[ ] Does this PR require documentation updates?
[ ] I've updated documentation as required by this PR.
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have tested it for all user roles

Fixes #1017


Uichange7th

Added 'creating body' input field - does that need more back end work?
improved confirmation and dashboard page

Sorry, just saw your question about adding seriesDescription to the backend.
You're right, we'll need to add the field to the API and then pass the value from the controller to the API. Could you add a Trello card to remind us to do it?
How urgent is it? Is the create series page mostly just for show at the moment, or are you testing it with users?

Thank you Suzanne!
It is not urgent, mostly just to get the interface right. User Testing focuses on selecting an exisitng series reference for now. I have created a new card in Trello for it - and put 'not urgent' in the comments as well.


how to request  search results after minimum 3 characters?

Getting Help
Before doing this, did you:

Read the documentation
Read the source code

You can get someone's help in three ways:

Ask on StackOverflow with a google-maps tag or use react-google-maps as a keyword
Ask in the chat room
Create a Pull Request with your solutions to your problem

Please, be noted, no one, I mean, no one, is obligated to help you in ANY means. Your time is valuable, so does our contributors. Don't waste our time posting questions like “how do I do X with React-Google-Maps” and “my code doesn't work”. This is not the primary purpose of the issue tracker. Don't abuse.

@Ankul007 you need to use debounce pattern to send requests only after user stopped typing (delay 300ms)
BTW The repo of this project is unmaintained more than a year, and we had build new version https://www.npmjs.com/package/@react-google-maps/api
We had rewrite it to TypeScript, and updating it frequently: https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api
You can enjoy autocomplete.
You can see our docs: https://react-google-maps-api-docs.netlify.com/
Also a lot of examples: https://react-google-maps-api-gatsby-demo.netlify.com/ https://github.com/JustFly1984/react-google-maps-api/tree/master/packages/react-google-maps-api-gatsby-example/src/examples
The bundle size is much smaller: https://bundlephobia.com/result?p=<EMAIL_ADDRESS>Our Spectrum community: https://spectrum.chat/react-google-maps
Enjoy!


Sap master

 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.1 out of 3 committers have signed the CLA.:white_check_mark: nemanjapopovic:x: ig-sap:x: smahr

 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.1 out of 3 committers have signed the CLA.:white_check_mark: nemanjapopovic:x: ig-sap:x: smahr


CSS comments should not be stripped

MailChimp uses comments on the CSS to identify dynamic sections and such like so...
/*
	@tab Page
	@section background style
	@tip Set the background color and top border for your email. You may want to choose colors that match your company's branding.
	@theme page
	*/
		body,#bodyTable{
			/*@editable*/background-color:#dee0e2;
		}
	/*
	@tab Page
	@section background style
	@tip Set the background color and top border for your email. You may want to choose colors that match your company's branding.
	@theme page
	*/
		#bodyCell{
			/*@editable*/border-top:4px solid #BBBBBB;
		}
	/*
	@tab Page
	@section email border
	@tip Set the border for your email.
	*/
		#templateContainer{
			/*@editable*/border:1px solid #BBBBBB;
		}
	/*
	@tab Page
	@section heading 1
	@tip Set the styling for all first-level headings in your emails. These should be the largest of your headings.
	@style heading 1
	*/
		h1{
			/*@editable*/color:#202020 !important;
			display:block;
			/*@editable*/font-family:Helvetica;
			/*@editable*/font-size:26px;
			/*@editable*/font-style:normal;
			/*@editable*/font-weight:bold;
			/*@editable*/line-height:100%;
			/*@editable*/letter-spacing:normal;
			margin-top:0;
			margin-right:0;
			margin-bottom:10px;
			margin-left:0;
			/*@editable*/text-align:left;
		}

The current build process kills the comments. I'm uploading the compiled HTML to MailChimp.
I'll see if there's some flag that can be set to preserve the comments.

Awesome, I don't have time to sort this myself but if you can work it out and make a PR I'm quite happy to merge :)

Actually this doesn't make sense with inlining because the inline will always override the customizations made in MailChimp UI.


export SetIP function

On my cloud server, the automatically obtained IP is a local LAN IP rather than a public IP, causing message delivery failures to cloud server form devices. I need a method to expose this setIP functionality for manual IP configuration.

@dwdcth this will be probably deprecated. Tell me why are you not using
WithClientHostname().
This is only where is this used as a backup.

Ok, Thank you.


chore: upgrade flutter version to 3.10.3

Description

Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[x] ✅ Build configuration change
[ ] 📝 Documentation
[x] 🗑 Chore

please accept this PR, it updates the GitHub workflow, and also migrates de project to flutter 3.10.3


fix: specify the color for right separator of the status modules to be the same as text bg color and fix space among windows

Before

When a right separator for status module is specified then the color of the foreground is not same as the text background color.
There's no space between the windows when the status style is rounded making it look awkward

After the change

I have a few questions here:

For the space between windows, what is wrong with window-status-separator?
This will break other people's configurations, can you achieve the same thing by modifying your own config?
Does setting @catppuccin_status_right_separator "#[fg=#{@_ctp_module_text_bg}]\uE0B4" not work?

Good questions. Let me answer respectively.

For the space between windows, what is wrong with window-status-separator?

If you see the windows under Before heading are squished together and don't look as mentioned in the documentation, and also is different from how it looked previously. Please have a look at the attached screenshots below (look at the red circle).
Actual

Documentation

This will break other people's configurations, can you achieve the same thing by modifying your own config?

Can you please explain how will it break other people's configurations? It can be done but it's a too low-level configuration for the user in my opinion. At least it should look like the example configuration.

Does setting @catppuccin_status_right_separator "#[fg=#{@_ctp_module_text_bg}]\uE0B4" not work?

It will work (haven't tried it) but isn't the expectation would be that the right separator should be of the same color as the text background. Same as how the left separator has the fg set, the right separator fg has to be set.

Good questions. Let me answer respectively.

For the space between windows, what is wrong with window-status-separator?

If you see the windows under Before heading are squished together and don't look as mentioned in the documentation, and also is different from how it looked previously.

Yep I can see that. If you add set -g window-status-separator ' ' in your config does the same thing happen? See the philosophy doc on orthogonality of features; I don't want to add a feature that already exists in tmux itself.

This will break other people's configurations, can you achieve the same thing by modifying your own config?

Can you please explain how will it break other people's configurations? It can be done but it's a too low-level configuration for the user in my opinion. At least it should look like the example configuration.

Does setting @catppuccin_status_right_separator "#[fg=#{@_ctp_module_text_bg}]\uE0B4" not work?

It will work (haven't tried it) but isn't the expectation would be that the right separator should be of the same color as the text background. Same as how the left separator has the fg set, the right separator fg has to be set.

I made the decision to not do this to increase flexibility. You can have a space or text as the right separator if desired. This change means that those configs will break.
Tmux is generally quite difficult to configure and style. There are things like tmux-powerilne that make it easier at the cost of flexibility. I would prefer to expose only primitive styling in this plugin, with the hope that other things can be built on top of it. For example I'd love to see a "catppuccin powerline" repo somewhere that someone made

Yep I can see that. If you add set -g window-status-separator ' ' in your config does the same thing happen? See the philosophy doc on orthogonality of features; I don't want to add a feature that already exists in tmux itself.

I think this makes sense and setting the window-status-separator works the same way. Good call. I'll remove this change.

Does setting @catppuccin_status_right_separator "#[fg=#{@_ctp_module_text_bg}]\uE0B4" not work?

This doesn't work or may be I'm doing something wrong.

I made the decision to not do this to increase flexibility. You can have a space or text as the right separator if desired. This change means that those configs will break.

Wouldn't you expect the same color for the separator even if it's a space? For the text something like #[fg=#00000]Text can be added as the separator value.

Does setting @catppuccin_status_right_separator "#[fg=#{@_ctp_module_text_bg}]\uE0B4" not work?

It works if we make the following change in status_module.conf

If you have a disagreement with the proposed changes then please make the change in my last comment and I'll close this PR. Thanks a lot for your work.


Find a way so that a user can first register/login and then connect to spotify

switched to session storage in f8180d27c4bd059c2984722d4b73538826989a1c and final fix in 214d3c5032052498569609f5206f88188be97f63


External API - same results different models

Hi, I noticed that when I use the following I get the same results even with different models of different families.
    lm = HFLM(pretrained=model_path, peft=model_path, trust_remote_code=True, batch_size=4)
    task_manager = lm_eval.tasks.TaskManager()
    res=lm_eval.simple_evaluate(
        model=lm,
        tasks=task,
        num_fewshot=n_fewshot,
        use_cache=cache_path,
        task_manager=task_manager
        )

where, model_path is the huggingface model ID, model_path is the local peft path.
whereas, I get better i.e. different results when I simply pass the hf as the model:
    task_manager = lm_eval.tasks.TaskManager()
    res=lm_eval.simple_evaluate(
        model="hf",
        model_args = f"pretrained={model_id},tokenizer={model_id},peft={model_path}",
        tasks=task,
        num_fewshot=n_fewshot,
        use_cache=cache_path,
        task_manager=task_manager
        )

Best,

Hi! Which model were you testing and how much was the difference?

closing now but feel free to open


unable to disable " for accept"

My config as shown below doesn't work, i.e., when I click the tab key, auto suggestion is still accepted.
May I ask if my config is correct?
    use {
        'Exafunction/codeium.vim',
        config = function ()
            vim.g.codeium_disable_bindings = true
            vim.g.codeium_no_map_tab = true
            vim.keymap.set('i', '<c-g>', function() return vim.fn['codeium#Accept']() end, { expr = true })
            vim.keymap.set('i', '<c-/>', function() return vim.fn['codeium#CycleCompletions'](1) end, { expr = true })
            vim.keymap.set('i', '<c-;>', function() return vim.fn['codeium#CycleCompletions'](-1) end, { expr = true })
            vim.keymap.set('i', '<c-x>', function() return vim.fn['codeium#Clear']() end, { expr = true })
        end
    }

Can you try using 1 and  0 instead of true and false for the vim.g.* values you set there. 🤔

Can you try using 1 and 0 instead of true and false for the vim.g.codeium_* values you set there. 🤔

Thanks.
I changed "true" to "1" for the first two settings, i.e., to "disable default bindings" and "no map tab". However, tab key still accept suggestion...

Can you try using 1 and 0 instead of true and false for the vim.g.codeium_* values you set there. 🤔

... the following is my keymap in insert mode, checked with :imap, and obviously tab is still mapped for codeium accept, even if I have disabled the rest keymaps, leaving only vim.g[ "codeium_no_map_tab" ] = 1:

Ok, seems "uninstall and reinstall" codeium.vim can solve the issue I reported here earlier.


Run tox on more Python versions

Setup Tox to run tests for Python versions

Set aPython version & target code thus forth..