feat!: Allow project to be installable

This reworks the cmake build of the project to add install targets for uvwasi. This will make it possible for pkg-config or cmake build pipelines to discover globally installed uvwasi.
To install uvwasi, you'd run cmake --install out after you build.
I also removed the WITH_SYSTEM_LIBUV option because we should be using the globally installed libuv if it can be found. If people are very against this change, I can introduce a flag to disable this behavior.
I've tested this against a local branch of wasm-micro-runtime and it seems to be working. My plan is to add that build to CI once they accept my changes.
Closes #199

I'm definitely no expert in this stuff, so happy to take any feedback.


Remove implemented beginner task

Remove #723 as beginner task on the landing page, as it's (almost) fully implemented

Codecov Report

Merging #1455 (81e0de4) into unstable (6a3dd9f) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           unstable    #1455   +/-   ##
=========================================
  Coverage     74.58%   74.59%
=========================================
  Files           359      359
  Lines         11442    11442
  Branches        532      532
=========================================
+ Hits           8534     8535    +1
+ Misses         2908     2907    -1

Impacted Files
Coverage Δ

...he/io/annotations/parser/CommentPreprocessor.scala
93.97% <0.00%> (ø)

.../forsyte/apalache/tla/pp/ConstSimplifierBase.scala
97.64% <0.00%> (+1.17%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6a3dd9f...81e0de4. Read the comment docs.


test: add test cases for utils.go

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

Project coverage is 90.20%. Comparing base (7e31bb7) to head (61becbd).

:exclamation:  There is a different number of reports uploaded between BASE (7e31bb7) and HEAD (61becbd). Click for more details.
HEAD has 5 uploads less than BASE

Flag
BASE (7e31bb7)
HEAD (61becbd)

6
1

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #163      +/-   ##
==========================================
- Coverage   96.75%   90.20%   -6.55%
==========================================
  Files          27        7      -20
  Lines        3079      970    -2109
==========================================
- Hits         2979      875    -2104
+ Misses         77       73       -4
+ Partials       23       22       -1

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


Cannot read properties of undefined (reading 'getDocument')

Configuration:

Node 16.13.1
PDF.js version: 3.0.279

I would like to parse a PDF on a node server, but PDFJS crashes. Here is the process I've followed:

download the latest official build of PDFJS (3.0.279).
add the PDFJS folder to the node project (not as a node module, but as proper folder)
import PDFJS, call PDFJS.getDocument("pathOfPDF")
It crashes with the following error:

TypeError: Cannot read properties of undefined (reading 'getDocument')

The code is yet simple:
import PDFJS from "./pdfjs-3.0.279-dist/build/pdf.js";

public async parsePDF(pdfPath: string) {
    const doc = await PDFJS.getDocument(pdfPath);
    for (let i = 1; i <= doc.numPages; i++) {
      const page = await doc.getPage(i);
      this.parsePage(page);
    }
    doc.destroy();
    return await this.getParsedPDF();
  }

The PDFJS folder looks like this:

build

pdfj.js
pdf.js.map
pdf.sandbox.js
pdf.sandbox.js.map
pdf.worker.js
pdf.worker.js.map

web (all files also in web folder)

How to fix this? Thank you!
EDIT: I've also tried to use the legacy build (2.16.105-legacy-dist and 3.0.279-legacy-dist)

download the latest official build of PDFJS (3.0.279).

Do you mean using https://mozilla.github.io/pdf.js/getting_started/#download, or something else?
Please note that we distribute the core package (without e.g. the full viewer) via NPM, see https://www.npmjs.com/package/pdfjs-dist, which might be more appropriate in your use-case.

The code is yet simple:
import PDFJS from "./pdfjs-3.0.279-dist/build/pdf.js";
...

I'm not sure if that import format works correctly, please refer to the following Node.js usage examples: https://github.com/mozilla/pdf.js/tree/master/examples/node

Do you mean using https://mozilla.github.io/pdf.js/getting_started/#download, or something else?
Yes.

https://www.npmjs.com/package/pdfjs-dist, which might be more appropriate in your use-case.
I can't install the package.  I have the error node-pre-gyp ERR! install response status 503 Egress is over the account limit. It also says ERR! find Python You need to install the latest version of Python..  Will I need to include Python on my node server to run PDFJS?

I can't install the package. I have the error node-pre-gyp ERR! install response status 503 Egress is over the account limit. It also says ERR! find Python You need to install the latest version of Python.. Will I need to include Python on my node server to run PDFJS?

Those errors seem to be Node.js/NPM related, rather than anything specifically connected to the PDF.js library; hence we unfortunately can't help with that.

Also, you definitely need to use a legacy build in Node.js since otherwise there's no guarantee that things will work.
Did you try just changing the import format, following the examples linked in https://github.com/mozilla/pdf.js/issues/15685#issuecomment-1312456507, to use require instead?
const pdfjsLib = require(/* path to the legacy/pdf.js file */);
pdfjsLib.getDocument(...);
...

I've downloaded the legacy build 2.16.105 from the release/assets tabs, and imported it as such:
const PDFJS = require("./pdfjs-2.16.105-legacy-dist/build/pdf.js");
The server doesn't compile because of the following error:

Cannot find module 'dommatrix/dist/dommatrix.js'

The folder structure is straightforward:

pdf

pdfjs-2.16.105-legacy-dist
index.ts (this file imports const PDFJS = require("./pdfjs-2.16.105-legacy-dist/build/pdf.js");)

Sorry, but in order to use the PDF.js library in Node.js environments it's unfortunately going to be necessary to install it from NPM since that's the only way that the necessary dependency management will work. (In general, using Node.js without being able to access any NPM packages seem quite difficult.)
The only possible work-around would be for you to manually provide polyfills for the following functionality, however doing so without being able to use NPM seem difficult
https://github.com/mozilla/pdf.js/blob/2d1b1e79685bc9c432395c612b6562dc76898486/src/shared/compatibility.js#L41-L57
I realize that this is troublesome in your particular case, however please keep in mind that the PDF.js library is developed primarily for use in browsers and the Node.js support thus assume a fully working Node.js/NPM setup unfortunately.

I installed the package and still getting this error:
import pdfjsLib from 'pdfjs-dist';

export async function GET(request: Request) {
  const { searchParams } = new URL(request.url);
  const downloadUrl = searchParams.get("downloadUrl");
  try {
  const doc = await pdfjsLib.getDocument(downloadUrl || '').promise;
  const page = await doc.getPage(1);
  const textContent = await page.getTextContent();
  const pageText = textContent.items.map((item) => item.str).join(' ');

  return new Response(downloadUrl);

  } catch (e) {
    return new Response(JSON.stringify({ error: e.message }))
  }

this error im getting : {"error":"Cannot read properties of undefined (reading 'getDocument')"}
 "pdfjs-dist": "^3.8.162",
node -v: v20.4.0

@elirangoshen I am also getting the same error. Did your error get resolved or any other alternatives?
Thanks!

@elirangoshen @Saicharan0662 I am facing the same error in react when trying to use the package pdfjs-dist

@elirangoshen @Saicharan0662 @KDDeveloper
import { getDocument } from 'pdfjs-dist/legacy/build/pdf.mjs';

export async function GET(request: Request) {
  const { searchParams } = new URL(request.url);
  const downloadUrl = searchParams.get("downloadUrl");
  try {
    const doc = await getDocument(downloadUrl || '').promise;
    const page = await doc.getPage(1);
    const textContent = await page.getTextContent();
    const pageText = textContent.items.map((item) => item.str).join(' ');

    return new Response(downloadUrl);
  } catch (e) {
    return new Response(JSON.stringify({ error: e.message }))
  }
}

When importing the function directly this way I stopped getting this error. Didn't test it much further, just stopped getting the error.


EverythingMe/overscroll-decor is bug with google CollapsingToolbar

EverythingMe/overscroll-decor is bug with google CollapsingToolbar
on the first item of recyclerview there is a bug when i pull up on Collapsing IDLE mode (a half on tool bar) for hide toolbar and while the appbar is half I pull down, I can't pull the appbar show because bouncy effect is working.
how to fix it or how to disable bouncy effect I try to recyclerview.setOverScrollMode(View.NAVER) is not work. do you have solution I like you library but i want to know how to disable

Hey, thanks for the submission!
There must be a touch-event handling mixup between the collapsing toolbar and the overscroll effect. I'll have to dig deeper and see for myself.

Facing the same issue. Any solution?

still no fix?


buffer filled, pausing addition of binaries until space is made

Describe the bug
Speech recognition, speech synthesis fails every now and then. The error buffer filled, pausing addition of binaries until space is made comes up as a response. Not been able to debug this.
To Reproduce
The bug is quite random. But 1 out of 5 times this comes up.  Especially longer conversations.
Expected behavior
The application seems to be crashing when it's synthesizing or when it's recognizing audio
Version of the Cognitive Services Speech SDK
Platform

browser
JavaScript
happens on multiple browsers
it can happen even if there is only 1 user using the system. we have ~100 DAU, and have done tests of upto 40-60 concurrent users trying the service.

Additional context
I am not sure if i have a similar problem
buffer filled, pausing addition of binaries until space is made

This is the error that is coming up. This issue comes up on two cases

When an audio is generated using text to speech
When an audio is recognized using speech to text.

I am not able to debug this. Is there a way i can add a fail safe mechanism to reset this myself.
is there a way to retry this?
is there an event handler which i can listen to when this issue happens? right now the error phase does not retrieve this data

Help is appreciated

@albseb511 Thank you for using JS Speech SDK, and writing this issue up. Could you provide sample code for single user reproduction? This error should only occurs during speech synthesis, and it's an audio output error in the SDK caused by a sourceBuffer.appendBuffer throw, but unfortunately the SDK eats the original error message (which could help us understand why the appendBuffer failed) and replaces it with that "buffer filled" message.

I am using this in a react app.
its a big large to share the entire thing

i have made this into 2-3 hooks. one for audioRecognition, speechSynthesis
here is a general workflow
once we start recording, we use audioRecognition hook, to take the data, and then convert it
then we make an api request to get an output, and the output is now synthesized

The following is a sample code which is used for audio synthesis
const startSpeechRecognition = async () => {
    const audioConfig = sdk.AudioConfig.fromDefaultMicrophoneInput();

    if (!config) {
        const { token, region } = (await getAuthTokenAzure()) ?? {};
        if (!token || !region) return console.error(`Error getting token or region`);
        setConfig({ t: token, r: region });
    }

    const speechConfig = sdk.SpeechConfig.fromAuthorizationToken(config?.t, config?.r);
    speechConfig.speechRecognitionLanguage = 'en-US';
    recognizerRef.current = new sdk.SpeechRecognizer(speechConfig, audioConfig);

    setLoading.on();

    recognizerRef.current.recognizing = handleRecognizing;
    recognizerRef.current.recognized = handleRecognized;
    recognizerRef.current.canceled = handleCanceled;
    recognizerRef.current.sessionStopped = handleSessionStopped;

    recognizerRef.current.startContinuousRecognitionAsync(
        () => {},
        (err) => {
            recognizerRef.current?.close();
            setLoading.off();
        }
    );
};

const handleRecognizing = (s, e) => {
    if (!isAiSpeaking) setAnswer(e.result.text);
};

const handleRecognized = (s, e) => {
    if (e.result.reason == sdk.ResultReason.RecognizedSpeech) {
       // logic
    } else if (e.result.reason == sdk.ResultReason.NoMatch) {
       // logic
    }
};

const handleCanceled = (s, e) => {
    if (e.reason == sdk.CancellationReason.Error) {
        console.error("Error in speech recognition:", e.errorDetails);
    }
    recognizerRef.current?.stopContinuousRecognitionAsync();
};

const handleSessionStopped = (s, e) => {
    recognizerRef.current?.stopContinuousRecognitionAsync();
};

we have seen system breaking while we are speaking and while synthesizing as well. But let me double check that for you, since i am guessing you are talking about the audio data is getting pushed into the array buffer only happens during synthesis. I will try to see when i am speaking the issue comes up again.
In the meanwhile, This is for speech synthesis part
const startTextToSpeech = async (text: string, cancelEndCallback?: boolean): Promise<() => void> => {
        // Creates an audio instance.
        if (playerRef.current?.id) {
            playerRef.current?.pause()
            playerRef.current?.close()
            audioConfig.current?.close()
            playerRef.current = null
        }
        const player = new sdk.SpeakerAudioDestination()
        playerRef.current = player

        player.onAudioEnd = () => {
            // handle response
        }
        audioConfig.current = sdk.AudioConfig.fromSpeakerOutput(player)
        if (!config) {
            const { token, region } = (await getAuthTokenAzure()) ?? {}
            if (!token || !region) return console.log(`Error getting token or region`)
            setConfig({ t: token, r: region })
            const speechConfig = sdk.SpeechConfig.fromAuthorizationToken(token, region)
            speechConfig.speechSynthesisVoiceName = voice
            speechSythesizerRef.current = new sdk.SpeechSynthesizer(speechConfig, audioConfig.current)
        } else {
            const speechConfig = sdk.SpeechConfig.fromAuthorizationToken(config?.t, config?.r)
            speechConfig.speechSynthesisVoiceName = voice
            speechSythesizerRef.current = new sdk.SpeechSynthesizer(speechConfig, audioConfig.current)
        }

        // Receives a text from console input and synthesizes it to speaker.
        try {
            speechSythesizerRef.current.speakTextAsync(
                text,
                (result) => {
                    if (result) {
                        // debug statement with description
                        speechSythesizerRef.current?.close()
                        audioConfig.current?.close()
                        speechSythesizerRef.current = null
                        return result.audioData
                    }
                },
                (error) => {
                    console.log(error)
                    speechSythesizerRef.current?.close()
                    audioConfig.current?.close()
                    speechSythesizerRef.current = null
                }
            )
            speechSythesizerRef.current.synthesisStarted = () => {
                // debug statement
            }
        } catch (err) {
            toast({
                title: 'Error',
                description: 'Error with text to speech',
                status: 'error',
                duration: 5000,
                isClosable: true,
            })
        }
        return () => {
            console.log(`closing player`)
            playerRef.current?.pause()
            playerRef.current?.close()
            audioConfig.current?.close()
            playerRef.current = null
            speechSythesizerRef.current?.close()
            speechSythesizerRef.current = null
            event.current?.close()
        }
    }

@albseb511 Thanks for including sample code. Before you assign to any "Ref.current" variable, please make sure the existing Ref.current has been closed and nulled. This could easily be a memory leak (or just non-optimally disposing of resources) where an existing recognizer/synthesizer instance loses its assignment to a Ref.current without being closed.
Example of what should be added:
        if (!!speechSynthesizerRef.current) {
        	speechSynthesizerRef.current.close();
             speechSynthesizerRef.current = null;
        }
        if (!config) {
            const { token, region } = (await getAuthTokenAzure()) ?? {}
            if (!token || !region) return console.log(`Error getting token or region`)
            setConfig({ t: token, r: region })
            const speechConfig = sdk.SpeechConfig.fromAuthorizationToken(token, region)
            speechConfig.speechSynthesisVoiceName = voice
            speechSythesizerRef.current = new sdk.SpeechSynthesizer(speechConfig, audioConfig.current)
        } else {
            const speechConfig = sdk.SpeechConfig.fromAuthorizationToken(config?.t, config?.r)
            speechConfig.speechSynthesisVoiceName = voice
            speechSythesizerRef.current = new sdk.SpeechSynthesizer(speechConfig, audioConfig.current)
        }

Could you add that (and for the speechRecognizer as well) and see if that helps?

I think we do manage this. But let me see again If this is an issue.
And we have noticed that it breaks for the first time. So there wouldn't have been other instances for this.

I think there was a miss of this at the beginning like you mentioned. we do cleanups, but only on failure or other cases, on change. i think it makes sense to have it at the start as well.
We will test it with live users, and get back to you.

@glharper @yulin-li
Thanks so much, i think most of the issues are sorted. i should have asked this earlier, this seemed to have been a miss for a while.
Although we have observed 1-2 cases breaking, but i am assuming its due to some other reason.
A bit off topic, i had two more follow up questions

i had observed sometimes latency in responses from the service. sometimes even upto 30 seconds. is that something that can happen? are there rate limits for subscription level?
Are there any concurrent request limit on the service? would it be able to handle 1000 concurrent users for speech synthesis and recognition. I was looking at the docker containers, and it

If you can guide me on the right resources also it will be great.

@albseb511 Here is the quota and rate limit info for Azure subscriptions. It does appear that 1000 concurrent users may run into issues on a S0 subscription.


Update Get-SPContentDeploymentPath.md

Fix formatting

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Get-SPContentDeploymentPath.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Format Output

Add format output helper function and if output more than 2000 chars or 20 lines then send to emkc snippets.
Upload output to emkc snippet

Too long to upload to emkc snippets

Have a few merge conflicts and need to implement this in the from_shell.py will do that :)

Mentioned the required changes @SuperMaZingCoder!

I will be closing this PR, as we have decided not to implement this, we should keep all the output within the shell, so the user doesn’t have to leave it.
Secondly if someone writes some code to output something huge, the end lines aren’t really needed, say a while True:print("Hello, World!"). So they can scroll to the bottom any ways.


update micro-frontend links

update micro-frontend links

Currently no plane for podcasts and meetups, but feel free for useful contents in other sections in the micro-frontend


Revert "Merge pull request #30024 from Azoy/calling-metadata-accessor…-from-swift"

Revert #30024.
This reverts commit 5fd6e98b2fede01b57ae5f2c7b3de501c6decae7, reversing
changes made to 3aee49d9d0d1aad2afdc3359fbebf61718e9a898.
Revert "XFAIL test/Interpreter/metadata_access.swift on arm64e"
This reverts commit 8fe216b00447ac4fe9b0186b52e955732da8a922.
Revert "XFAIl test on os stdlib bots"
This reverts commit aea5fa48424443a0738ac35de863e5043529829a.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 048e78ef79ef28fba6e2fe90c282a38e51379524

@swift-ci Please test os x

Build failed
Swift Test OS X Platform
Git Sha - 048e78ef79ef28fba6e2fe90c282a38e51379524

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 048e78ef79ef28fba6e2fe90c282a38e51379524

@swift-ci Please test os x

Build failed
Swift Test OS X Platform
Git Sha - 048e78ef79ef28fba6e2fe90c282a38e51379524

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 048e78ef79ef28fba6e2fe90c282a38e51379524

@swift-ci please test linux


Number label for level label

Specify number label for level label instead of "more" or "less".

That's a great idea. Thanks for the contribution. :)


[Bug]: Not getting selected iterate node on react_google_charts Treemap

Would you like to work on a fix?

[X] Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior
Hi ,I am using react_google_charts Treemap in the project component . But not getting the selected iterated node from the package .
Issue reproduce-->  https://user-images.githubusercontent.com/50401674/170448907-c8c6d7b9-ddec-4a63-a41f-a7211d0d7b3a.mp4
Uncaught Error: Invalid row index 84. Should be in the range [0-4].Getting this error while trying to get the node of iterated graph node.
Codesandbox link - https://codesandbox.io/s/tender-chebyshev-xyg6cx
Please suggestion on this issue would be very helpful.
Reproduction
https://codesandbox.io/s/tender-chebyshev-xyg6cx
react-google-charts version
^4.0.0
Possible solution
No response

Your example works with latest react-google-charts > 4


Impact from deprecation of VS load test?

I was wondering if the deprecation of web performance and load test functionality in Visual Studio (https://github.com/MicrosoftDocs/visualstudio-docs/issues/2032) will impact Availability Tests in any way since both are essentially based on Web Tests? Or, are there any plans to support tests written in other frameworks?

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

ID: 10858323-1827-1c73-b93a-7c133bae54ba
Version Independent ID: 3ed5fda4-c916-dcb0-a3b2-a0bb534d8bdb
Content: Monitor availability and responsiveness of any web site
Content Source: articles/azure-monitor/app/monitor-web-app-availability.md
Service: application-insights
GitHub Login: @lgayhardt
Microsoft Alias: lagayhar

@Blackbaud-ChrisBlythe Thanks for the question! We're investigating this and will get back to you shortly.

A similar question was asked recently and was addressed by the PM who owns availability monitoring here:
https://github.com/MicrosoftDocs/azure-docs/issues/26050#issuecomment-468814101
adding @morgangrobin for awareness.

@mrbullwinkle Indeed, thanks for the pointer!
@Blackbaud-ChrisBlythe Hope the above information helps and addresses your question. We will now proceed to close this thread as resolved, but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


use new conda-index syntax

conda index not longer requires that the subdir be specified.

Looks like #103 already has this.


Raw timestamp

Is there a way to set raw timestamp in Hex values? Right now when we set the command set timestamp raw it shows in ns I believe.

I assume you're using JSON as you mentioned this in your other issue. Unfortunately the original timestamps from the json file are converted to nanoseconds early on in the trace parsing process and the original value is is lost. AFAIK we have no plans to persist it through to the UI, and JSON support is best-effort anyway.
The purpose of the "raw" format is to show timestamps exactly as they are represented in the underlying SQL tables, which happens to be nanoseconds.
We could in theory add a hex representation of the nanosecond values, but I assume this is not what you're looking for, and it would be a very low priority for us anyway.
Hex timestamps are quite a niche use-case, mind if I ask what you're using it for?


Use relative paths by default?

Similar to using import as the default declaration keyword (#118), I think we should consider using relative paths by default since that is the standard way of doing things. Using non-relative paths requires a tool like webpack to be configured in specific ways and should also probably require additional configuration for Import-JS. What do you think?

Sounds good!
On Sunday, 31 January 2016, Joe Lencioni<EMAIL_ADDRESS>wrote:

Similar to using import as the default declaration keyword (#118
https://github.com/trotzig/import-js/issues/118), I think we should
consider using relative paths by default since that is the standard way of
doing things. Using non-relative paths requires a tool like webpack to be
configured in specific ways and should also probably require additional
configuration for Import-JS. What do you think?
—
Reply to this email directly or view it on GitHub
https://github.com/trotzig/import-js/issues/186.


Exec tachikoma update<PHONE_NUMBER>0219

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io

Coverage remained the same when pulling e92695b134961eb4abc1ce6f3ce17a2fcd675115 on tachikoma/update-20150102150219 into 4de64d66b66bebb5bca0dde129cebbc34dfa4485 on master.


add libffi-dev in order for wal-e to compile allright

Wal-e was failing to compile due to missing dependencies (at least latest). Adding libffi-dev fixes the problem.

Thank you!


item-action event not working in FF and Edge with Angular (seed-app)

Event is also not declared in -api.json
Chrome handles it and works fine, however current implementation seems to be not enough for FF or Edge.
The only thing I have found in code is -action-column.html line 252:
this.dispatchEvent(new CustomEvent('item-action', {
bubbles: true,
composed: true,
detail: {
item: actionItem,
action: actionId
}
}));

Verified, can reproduce as well. This is not related to Angular, I've set up a simple glitch that demonstrates it.
https://px-data-grid-bug-check.glitch.me/

I can confirm this is happening, anyone from san ramon that can help us fix this?

@sebastiantb I'll ask for time to fix this next sprint (starting this Thurs).

Working on this now.

Quick update:
This looks like it might be an issue with the ShadyDOM polyfill, specifically with composed events. The composed flag should ensure that events propagate through shadow DOM boundaries, but this isn't working reliably.
On Firefox, removing the web components polyfill and enabling native custom elements/shadow DOM support through flags remedies this problem. On Chrome. forcing the ShadyDOM polyfill on causes this same bug to emerge.
Implementing a workaround is simple - I can just dispatch the event at the root px-data-grid/px-data-grid-paginated element. But I'm keen to dig into this a bit more and either address the root cause or get a clean JS fiddle together that reproduces this issue so I can raise an issue on webcomponentsjs.
Either way, I'll raise a PR in the next couple days.

thanks for your help, using shadow dom, will be very expensive and the app runs slow on ie already slow.
We implemented a work around  by  setting the listener   inside the component   px-data-grid-action-column, but the resulting  query selector is very ugly XD

v1.0.9 has been released to address this, and I've added tests for this issue (passing everywhere, including IE11). Please reopen if you continue to experience issues after upgrading.


Introduce table coding system for program memory savings

If the message is compatible, the DSDL compiler generates a table which describes its structure. If enabled in libcanard, an interpreter is then used to follow the table description and encode or decode the message. This occupies substantially fewer bytes per message as the table is much smaller than the C function previously used. This translates to a large reduction in program memory usage, especially if many different message types need to be coded.
The table can describe any structure of message supported by DSDL, however the quantities and sizes of specific aspects are limited by the datatypes chosen; see the code for details. Requires https://github.com/dronecan/dronecan_dsdlc/pull/30 to actually generate the tables.
On top of Ardupilot master (a560f89b3), this system saves over 9K flash on Cube Orange, over 5K flash on Pixhawk1-1M, and 250-2000 bytes across MatekL431-based peripherals. DroneCAN-enabled bootloaders do not seem to profit however, so this should be disabled for them. No performance testing has been done yet, suggestions about how to go about it would be appreciated if deemed necessary. Also not sure if any of this needs to be documented further than already done, it is mostly invisible to the user.
Tested using the dronecan_dsdlc test scripts and Ardupilot SITL. Testing on real hardware remains to be done.

Removed fallthroughs that clang was whining about. Tested and GCC can optimize them anyway.

Still have some minor cleanups and polishing to do but I figure that will come after the first round of reviews.


Gunicorn worker gets terminated due to signal 9 (low memory)

Is this a new bug?

[X] I believe this is a new bug
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Gunicorn worker gets terminated due to signal 9 (low memory),  however, I have 29 gb space in RAM available to use. As soon as I send request to my server hosted on render, the worker gets killed. But things are working fine in my local space as I have a system with some good specs. How much should I scale the server or is there any other way around by which I can solve this issue
Expected Behavior
I expected that things will work fine as it is working fine locally.
Steps To Reproduce
Just try running spladeEncoder stuff on render or replit.
Relevant log output
No response
Environment
- **OS**:
- **Language version**:
- **Pinecone client version**:

Additional Context
No response

Hi @Beamerboyyyy
Running the spladeEncoder is using a small, distilled model link this model should run <8G ram
you can see that this library unittests - https://github.com/pinecone-io/pinecone-text/blob/main/tests/test_splade.py is running on ubuntu-latest with 7G ram see here
It will be hard to debug this issue without more details. My intuition is that when loading the model on render/replit the model is loaded multiple times on different processes, thus causing the machine to fail. Try to check and see if there's a parallelism factor and try setting it to 1 and see if the issue reproduces.

@Beamerboyyyy I had the same issue un Kubernetes and the root cause was that Torch do not releases memory allocated for the tensors. I fixed it this way and now my ingestion container runs smoothly with around 900MB RAM memory allocated during the whole process without deadly spikes.
def _encode(self, texts: Union[str, List[str]]) -> Union[SparseVector, List[SparseVector]]:
       """
       Args:
           texts: single or list of texts to encode.

       Returns a list of Splade sparse vectors, one for each input text.
       """
       with torch.no_grad():
           inputs = self.tokenizer(
               texts,
               return_tensors="pt",
               padding=True,
               truncation=True,
               max_length=self.max_seq_length,
           ).to(self.device)

           logits = self.model(**inputs).logits
           del inputs  # Explicitly delete the inputs tensor

           inter = torch.log1p(torch.relu(logits))
           token_max = torch.max(inter, dim=1)
           del inter, logits  # Explicitly delete intermediate tensors

           nz_tokens_i, nz_tokens_j = torch.where(token_max.values > 0)

           output = []
           for i in range(token_max.values.shape[0]):
               nz_tokens = nz_tokens_j[nz_tokens_i == i]
               nz_weights = token_max.values[i, nz_tokens]
               output.append({"indices": nz_tokens.cpu().tolist(), "values": nz_weights.cpu().tolist()})

           del token_max, nz_tokens_i, nz_tokens_j  # Explicitly delete tensors

       return output[0] if isinstance(texts, str) else output

Probably not the best solution but hope it helps. If someone has better ideas please share.


TypeError: Cannot read properties of undefined (reading 'mask')

Hi,
am facing to following issue:
    import EmojiConvertor from 'emoji-js';

    const emojiConvert = (sanitizedHTML: string, emojiSet?: string): string => {
        const emojiConvertor = new EmojiConvertor();
        const msgHtml = sanitizedHTML.replace(/\n$/,'');
        emojiConvertor.img_sets.google.sheet = '/emoji-data/sheet_' + emojiSet + '_64.png';
        emojiConvertor.use_sheet = false;

        emojiConvertor.replace_mode = 'img';
        emojiConvertor.img_set = emojiSet;
        emojiConvertor.include_title = true;

        return emojiConvertor.replace_colons(msgHtml);
    }

And when I call function
emojiConvert('hello :alien:');

I get following error:
TypeError: Cannot read properties of undefined (reading 'mask')
Screen here: https://ctrlv.cz/gpcx
I am using emoji-js version 3.6.0
Some tips?

I can't get as far as you to check, because I don't know what toolchain and VM you're using (this is typescript, so how are you compiling it and where are you running it?).
My guess would be that you're passing an invalid value to .img_set and so it's failing to find all the information it needs to initialize. What happens if you call emojiConvert('hello :alien:', 'apple'); instead?

I am sorry, my mistake. I passed emojiSet undefined.
@iamcal thanks

The errors should be less confusing!
I've just landed PR #156 on master which in future will throw an exception in this situation, explaining what is wrong.


How to make an input file for solving structural problem

I am trying to develop a program for solving non-linear structural mechanics problems using the concepts of Finite element and optimisation as part of my research. Previously I was using Matlab for prototype making. Since I'm a beginner in C++ and computational science, I couldn't understand how to use Vtk or other type of mesh format in a structural engineer's perspective., i.e how to input nodes, elements, loading (distributed loads and nodal loads) and boundary conditions (dof). Could anyone please show me an example of an input file which contain quadrilateral plane stress element and load and B.C ?

Hello,
I would recommend looking at Example 2 which can solve linear elastic problems on both 2D and 3D meshes. For example, you can try the following sample run:
./ex2 -m ../data/beam-quad.mesh

The mesh file ../data/beam-quad.mesh is a 2D beam mesh of quadrilaterals - see http://mfem.org/mesh-formats for a description of the mesh format. The load and B.C. are specified inside the code, see steps 6 (b.c.) and 7 (load).
Hope this helps,
Veselin


Different root for specific user roles

Hey there,
I would like to know how can I set root directory for file manager for different user roles.
For instance, we have admin and employee user role. My folder structure looks like this
public        // main root
----users
-------employee
-----------bob          // bob's root
-----------frank
-------admin
-----------admin1
-----------admin2
----other
......
I want for instance Bob to be able to see just his folder and everything in that folder. And Admins to see everything from main root
I tried to create on-demand filesystem like this:

But it saved media to database with "default" disk which i don't have (I am using public) and path relative to bob's root. I need every image to be saved relative to main root.
Any ideas ?
Thanks in advance.

Hi,
The on-demand filesystem feature on the file manager saves the disk name as default as your disk wouldn't actually have a name, you need to apply your same business logic when you'll need to retrieve the assets from the disks.
Otherwise you'll need to create those disks in filesystems.php with specific names and then reuse that name with Storage::disk() if you want ease of access to the assets.
Regards
Charaf

You may add a method on your user model which provides the disk instance. So you will be able to configure the filemanager and also retrieve the user's files
<?php

namespace App\Models;

use Illuminate\Contracts\Filesystem\Filesystem;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Oneduo\NovaFileManager\Casts\Asset;

class User extends Authenticatable
{
    protected $fillable = [
        'role',
        'slug',
        'avatar',
        'name',
        'email',
        'password',
    ];

    protected $casts = [
        'avatar' => Asset::class,
    ];

    public function storage(): Filesystem
    {
        return Storage::build([
            'driver' => 'local',
            'root' => storage_path("app/public/pouzivatelia/{$this->role}/{$this->slug}"),
            'url' => config('app.url')."/storage/pouzivatelia/{$this->role}/{$this->slug}",
        ]);
    }

    // this is an example on how to use the custom filesystem
    public function avatarExists(): bool
    {
        if (!$this->avatar) {
            return false;
        }

        return $this->storage()->exists($this->avatar->path);
    }
}

You may configure the field like this :
<?php

use Laravel\Nova\Http\Requests\NovaRequest;
use Oneduo\NovaFileManager\FileManager;

class User extends Resource
{
    // ...

    public function fields(NovaRequest $request): array
    {
        return [
            // ... any other fields
            FileManager::make(__('Avatar'), 'avatar')
                ->filesystem(fn(NovaRequest $request) => $request->user()->storage()),
        ];
    }
}


WFCORE-4949 Expose the original task in RequestController.QueuedTask

JIRA: https://issues.redhat.com/browse/WFCORE-4949
The proposed fix allows the caller of request controller to have access to the original task submitted to the request controller, in order to gain more context data that is otherwise hidden by the wrapper Runnable used in request controller QueuedTask.
This change is needed for fixing
WFLY-13357 Execution of concurrent batch jobs containg partitioned steps causes deadlock

Core - Full Integration Build 9606 outcome was FAILURE using a merge of a9e7a59e78de4ff998ba8f0f2dbfcafde020da22
Summary: Exit code 1 (Step: Build & test full (Maven)) (new) Build time: 00:01:51

Core - Full Integration Build 9590 outcome was FAILURE using a merge of a9e7a59e78de4ff998ba8f0f2dbfcafde020da22
Summary: Exit code 1 (Step: Build & test full (Maven)) (new) Build time: 00:02:03

Core - Full Integration Build 9607 outcome was FAILURE using a merge of a9e7a59e78de4ff998ba8f0f2dbfcafde020da22
Summary: Exit code 1 (Step: Build & test full (Maven)) Build time: 00:01:33

Core - Full Integration Build 9591 outcome was FAILURE using a merge of a9e7a59e78de4ff998ba8f0f2dbfcafde020da22
Summary: Exit code 1 (Step: Build & test full (Maven)) Build time: 00:02:05

Core - Full Integration Build 9608 outcome was FAILURE using a merge of a9e7a59e78de4ff998ba8f0f2dbfcafde020da22
Summary: Exit code 1 (Step: Build & test full (Maven)) Build time: 00:01:53

retest this please

Core - Full Integration Build 9592 outcome was FAILURE using a merge of a9e7a59e78de4ff998ba8f0f2dbfcafde020da22
Summary: Exit code 1 (Step: Build & test full (Maven)) Build time: 00:02:56

Core - Full Integration Build 9609 outcome was FAILURE using a merge of a9e7a59e78de4ff998ba8f0f2dbfcafde020da22
Summary: Exit code 1 (Step: Build & test full (Maven)) Build time: 00:03:43

@chengfang thanks


2.5.2 broke Oculus

Describe the bug
You get the error:
Library\PackageCache\com.microsoft.mixedreality.toolkit.foundation@2.5.2\Providers\Oculus\XRSDK\MRTK-Quest\Scripts\Input\Controllers\OculusHand.cs(186,30): error CS0102: The type 'OculusHand' already contains a definition for 'IsInPointingPose'
I looked at the file in the MRTK-release branch and it also has a duplicate definition so I don't think I updated MRTK wrong.

@rogpodge Might be a good reason to raise the priority of #8129

Should be fixed with our 2.5.3 hotfix, closing for now


tx.c2b: MSISDN validation leak

Ensure that validation fn always resets the _validMSISDN and _isValidMSISDN prop so as to not leave ghost values.

Fixed on commit bcaa178


[TELEGRAM] sendSticker()  AND Sendfile by FILE_ID Urgent request to implent this method [URGENT]

Hi, I hope you will include some basict telegram functions like sendSticker and sendfile by file_id.
I can't get my bot to send files by file_id .
This is the only thing my bot, is lacking after moving from the official telegram php sdk.

Wow...seems like this is urgent, huh?
...
You now have access to the low level request methods to call your own API methods:
Example:
$botman->hears('BotMan is...', function($bot){
    $bot->sendRequest('sendSticker', [
        'sticker' => 'CAADAQADIgADPdfTAWSju9Jr9M6PAg'
    ]);
});

This way, you can call all the APIs you need.

Yes. This is all my bot needs, thanks for your prompt response btw.
My telegram bot is known as @the_eleventh_bot, and it uses this lib, check it out when you have time.

Method [sendRequest] does not exist. in /app/vendor/mpociot/botman/src/Mpociot/BotMan/BotMan.php:487

You need to load the lates version of BotMan. It is a new method.

ooh, ok.

I've just switched to dev master branch
 Mar 15 11:19:43 pacific-shore-14311 app[web] info [15-Mar-2017 08:19:43 UTC] PHP Fatal error:  Uncaught Error: Class 'Log' not found in /app/vendor/mpociot/botman/src/Mpociot/BotMan/Drivers/TelegramDriver.php:235
Mar 15 11:19:43 pacific-shore-14311 app[web] info Stack trace:
Mar 15 11:19:43 pacific-shore-14311 app[web] info #0 /app/vendor/mpociot/botman/src/Mpociot/BotMan/BotMan.php(389): Mpociot\BotMan\Drivers\TelegramDriver->sendRequest('sendSticker', Array, Object(Mpociot\BotMan\Message))
Mar 15 11:19:43 pacific-shore-14311 app[web] info #1 /app/index.php(110): Mpociot\BotMan\BotMan->sendRequest('sendSticker', Array)
Mar 15 11:19:43 pacific-shore-14311 app[web] info #2 [internal function]: {closure}(Object(Mpociot\BotMan\BotMan))
Mar 15 11:19:43 pacific-shore-14311 app[web] info #3 /app/vendor/mpociot/botman/src/Mpociot/BotMan/BotMan.php(279): call_user_func_array(Object(Closure), Array)
Mar 15 11:19:43 pacific-shore-14311 app[web] info #4 /app/index.php(132): Mpociot\BotMan\BotMan->listen()
Mar 15 11:19:43 pacific-shore-14311 app[web] info #5 {main}
Mar 15 11:19:43 pacific-shore-14311 app[web] info   thrown in /app/vendor/mpociot/botman/src/Mpociot/BotMan/Drivers/TelegramDriver.php on line 235
Mar 15 11:19:43 pacific-shore-14311 app[web] info <IP_ADDRESS> - - [15/Mar/2017:08:19:39 +0000] "POST /index.php HTTP/1.1" 500 - "-" "-

Fixed it

Ok, let me try.

It worked!
Thanks.

But I don't know if being on the dev branch is a good idea ?

If you want to use that feature and can not wait until I tag a new release, it's probably a good idea

Ok, i'm working on a telegram bot that listens on two api.ai agents.So far it works fine.
I use the hears function without any input string so it catches all the messages.
After retrieving the message it forwards it to api.a agent 1, which checks the message for commands that trigger any of my custom webhooks. It then stores the response in a string and grabs the vars.
After this execution goes into an if loop which check if some parameters were triggered by the first agent, if they were then it woun't execute the 2 agent which is just a chatting bot, if they were triggered it executes it and modifys the response message.
Unfortunately I could not find a way of using only 1 agent if it's just  chatting, which means I have to ignore the first agents response.

I haven't worked on the chat intent's, i'm considering converting aiml files and importing them into api.ai so the response is much more relative.


fix(reactivity): ref as a reactive parameter should return (#6358)

fix: https://github.com/vuejs/core/issues/6358

The title of this PR is currently a bit misleading. It refers to an earlier iteration of the code, but the code has changed significantly since then.

Some notes for reviewers...
There's another PR, #6376, that attempts to fix the same problem. They take very different approaches, so I've written a brief comparison here.
The original problem occurs with this code:
import { reactive, ref, effect } from 'vue'

const a = reactive(ref(1))

effect(() => {
  console.log(a.value)
})

a.value++

The effect ends up with 3 dependencies, so when the value changes to 2, it will trigger the effect 3 times. The dependencies are:

The value property of the ref.
The value  property of the reactive proxy.
The _value property of the reactive proxy.

The approach in #6376 is to remove the proxy before accessing _value. That avoids dependency 3 in the list above, so the effect is only triggered twice.
The approach in this PR is a bit different. It skips tracking in the proxy if the underlying value is a ref. That avoids dependencies 2 and 3 from the list above, so the effect is only triggered once.
This does also mean that the proxy will no longer track any other properties of the ref, not just value and _value. Why would a ref have other properties? I don't know, but I also don't know why a ref would be wrapped with reactive in the first place, so I find it difficult to speculate about what the expected behaviour would be.


OSLCode doc issue

I can't scons docs right now because the UsingTheOSLCodeNode tutorial is trying to load .oso files out of /home/john. I attempted to fix that here, though I'm not sure what @johnhaddon will think of the approach.
Note that at IE I'm still not happy with this, because I'm getting red-error images for the tutorial instead of the proper stripe-y images. Oddly, when I run gaffer env ./generate.sh directly from my terminal I do get the right images output... is this something about the config/ie/options file?

I also have one test failing, which seems to also be failing on master... maybe more IE osl setup issues?
======================================================================
ERROR: testSource (GafferOSLTest.OSLCodeTest.OSLCodeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/andrewk/apps/gaffer/<IP_ADDRESS>dev/cent7.x86_64/cortex/9/gaffer/python/GafferOSLTest/OSLCodeTest.py", line 279, in testSource
    oslShader.loadShader( shader )
RuntimeError: Exception : File "/tmp/gafferTests0x1SP/test" could not be found.

----------------------------------------------------------------------

Oh... this will explain it
testSource (GafferOSLTest.OSLCodeTest.OSLCodeTest) ... /tmp/gafferTestpM7xx8/test.osl:2: error: error: could not find include file: GafferOSL/ObjectProcessing.h

FAILED /tmp/gafferTestpM7xx8/test.osl
ERROR

Pushed b02ab89 which fixes the failing test, but I'm still getting red images for my local doc build...

Thanks for catching that one - your fix looks good to me. I've added a test case and merged manually.
There's one other thing I should have mentioned before; the GAFFEROSL_CODE_DIRECTORY environment variable is set by the bin/gaffer wrapper, but since we bypass that at IE and use our own wrapper, it'll currently be falling back to the default. We should get it set up to something more appropriate at IE - maybe even something that is shared between users?
I've just run the doc generation from scratch here after blowing away my GAFFEROSL_CODE_DIRECTORY, and it went through fine, so the red shaders thing does seem peculiar to the IE environment. I haven't got any bright ideas about why that might be though I'm afraid - I'd suggest starting in firstOutputParameter() inside AppleseedShaderAdaptor.cpp to try to track things down.

Do you think we need to be setting GAFFEROSL_CODE_DIRECTORY here? Or its just optional if we want to share .oso files between users? Other than sharing, what's the use of setting it to something other than /tmp (aside from not filling up your tmp dir)?

It'll just avoid recompiling the same shader on each of the farm machines, and each of the workstations. Maybe that's not a big deal though, and local disk is more appropriate for this stuff anyway?


Expanded Functional Group starts moving down on canvas after each vertical flip

Steps to Reproduce

Open Ketcher
Add Functional Group ( e.g. Boc ) on canvas
Expand it and select
Start pressing Vertical Flip button above selection

Actual behavior
Expanded Functional Group starts moving down on canvas after each vertical flip
Expected behavior
Expanded Functional Group only flip without moving down or other direction.
Screenshots
https://github.com/epam/ketcher/assets/62464241/c7722d48-8f95-40fa-956c-91cd34ae95b8
Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version 112.0.5615.138 (Official Build) (64-bit)

Ketcher version
Version 2.12.0-rc.1

Simplified issue reproduction:
First has problem, second doesn't:

Reason of the issue: we get the Bounding box center, and based on it we flip the coordinates for the atoms.
But bounding box is not connected with atom positions, it's connected to text labels about atoms - so that's why we have issue. It atoms have same Text balance (half of vertical size) - they flipped correctly.

Even more simpler @Zhirnoff
The wrong behaviour for flip for two simple moleculas:
https://github.com/epam/ketcher/assets/6398891/cbac9604-00b1-41de-b753-5601a0761047
Incorrect rotate tool for:

Horizontal flip
Vertical flip

Additional issue with rotation center (fixed in the PR #2827, reasons of issue: #2739 and #2467 )
https://github.com/epam/ketcher/assets/6398891/523fdd84-0ac3-45d5-8e78-301ec81483c2


CI: Migrate to from macOS 12 to 13 test runners

refs #1133

macOS 13 images no longer have CPython 2.7. PyPy 2.7 is there, and might be worth exploring in the future. For now I'm dropping the macOS Python 2.7 jobs. Linux CI jobs will have to carry the Python 2.x testing torch


shorten URL in VmTemplateDetail and refactor TemplateSource

Fixes #217
Shortens url. The href and tooltip contain the original url.
Transformations:
base url: http://merlin.fit.vutbr.cz/mirrors/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso

base url: http://fit.vutbr.cz/mirrors/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso

base url: http://merlin.fit.vutbr.cz/CentOS-7-x86_64-Minimal-1810.iso?a=5#here

One disadvantage is that the elipsis can appear 3 times:  ...sub.hostname.end/.../final-part...
The last bit for parameters.
@andybraren What do you think?

Pull Request Test Coverage Report for Build 668

51 of 54 (94.44%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.008%) to 87.117%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/TemplateSource/TemplateSource.js
20
21
95.24%

src/components/Details/Url/Url.js
26
28
92.86%

Totals

Change from base Build 665:
-0.008%

Covered Lines:
2110

Relevant Lines:
2314

💛  - Coveralls

Nice! I think the first "..." for the http/https:// part and the last "..." for the parameters can both be removed entirely. Compared to the base URL and filename they're unimportant and don't need to be hinted at.

I am ok with removing the parameters but IMO the first part is not so unimportant. I think it might be beneficial to user to hint that there are other subdomains and the protocol.

Ah you’re right, I agree that hinting at additional subdomains is important and the “...” should be kept in that case.
Are protocols other than http/https (ftp/sftp/smb) supported? If yes then the protocol is probably important enough to show at all times, despite the increased length. If no then I would still lean toward being able to hide http/https entirely without a “...”, but I defer to your judgment in this context.
So my proposal:
https://...sub.domain.com/filename.iso (additional subdomains stripped, but protocol is kept because we decide it’s important)
sub.domain.com/.../filename.iso (we decide the protocol is not important)
...sub.domain.com/.../filename.iso (we decide the protocol is not important, so the starting “...” only represents additional subdomains)
Another consideration - are there situations where port numbers would be included in the URL? If so, that number should probably be shown too.


Add logging tip to README

For debugging, I found it useful to be able to access logs (https://forum.image.sc/t/opening-private-omero-within-qupath/54419/23)
To help myself and others do this easier in future, adding the tip to the README.

@joshmoore Thanks, Done. See https://github.com/will-moore/omero-web-docker/tree/add_logging_tip_to_README

Thanks, @will-moore


Quickcheck test corresponding to CloseIsSafe theorem

The PR introduces a property based test that makes sure that makes sure that the spec clients respect the theorem located in CloseSafe.thy

Observed test failures with the default quickcheck-max-ratio. Increasing the value for example cabal run test:marlowe-spec-test -- --quickcheck-max-ratio=100 makes the test pass reliably.

Could you elaborate on the last command? what failed and how?

This is now part of https://github.com/input-output-hk/marlowe/pull/167


firewall: logging for NAT rules

leftover from https://github.com/opnsense/core/issues/1494 see https://github.com/opnsense/core/commit/c6df560fa6133c781a6588e64a364c616903da08

Thanks... wanted to talk about that when you have some time

found it while going through the diffs

As per @sjorge we do not seem to support "nat" as well, although "rdr" already works:

It's probably best to assume "rdr" and "nat" are the same class (colour) of traffic.

@fichtner is there still work left for me here? it looks finished within the options available, or am I wrong?

The label parsing is wrong, nat and rdr and the firewall block pass have sequential numbers that overlap...

ok, rdr/nat/... don't support labels, suppressing is no prblem, useful labels might be challenging

ok, just something slightly more useful than XXX maybe then? :)

I have an idea, not sure if it works.

doesn't work, to provide meaningful descriptions you would need to reverse engineer the parsing logic of pfctl.... the contents of /tmp/rules.debug never add up ;(

MAybe just a stub then such as "NAT rule" ?

yep, that will be it, together with a filter on the labels fetched from the rulest


The control display is incomplete, It is recommended to use TControllist.

https://img.picui.cn/free/2024/11/05/6729bc0a74632.png

Has been replaced with ControlList, plus many other improvements.
Please try again, I hope it works better now.

The control still displays incompletely.

Ok.
I cannot replicate the issue, even when I increased the Windows text size beyond 100%, it appeared fine.
So I just fixed that link label's font size, please try it again.

Any news?


album.artists?.first?.images is always nil

album.artists?.first?.images seems to always be a nil value, as does playlist.owner?.images. For every album/playlist I try, my view is unable to fetch the artist's/playlist owner's image. I saw that in the documentation it says that Artist.images is "Only available for the full artist object." Am I running into this issue here?
let collection: Any
@State var artistImage = Image(systemName: "music.mic")
@State var cancellables: [AnyCancellable] = []

var body: some View {
    if let album = collection as? Album {
        HStack {
            artistImage
                .resizable()
                .aspectRatio(contentMode: .fit)
                .onAppear {
                    album.artists?.first?.images?.first?.load().sink(receiveCompletion: { _ in }, receiveValue: { image in
                        artistImage = image
                    }).store(in: &cancellables)
                }
            ForEach(album.artists ?? [Artist(name: "No Artist")], id: \.id) { artist in
                Text(artist.name)
                    .font(.title2)
                    .fontWeight(.semibold)
            }
        }

    } else if let playlist = collection as? Playlist<PlaylistItemsReference> {
        HStack {
            artistImage
                .resizable()
                .aspectRatio(contentMode: .fit)
                .onAppear {
                    playlist.owner?.images?.first?.load().sink(receiveCompletion: { _ in }, receiveValue: { image in
                        artistImage = image
                    }).store(in: &cancellables)
                }
            Text(playlist.owner?.displayName ?? "Unknown Owner")
                .font(.title2)
                .fontWeight(.semibold)
        }
    }
}

Please post the code that initializes collection. Try making the requests outside a SwiftUI view. The playlist owner is a Spotify user who usually does not have an image.

Album.artists returns the simplified artist objects, so album.artists.images returns nil.


Tweaks to the table layout in the combos.

I found a bug where a long tag in the variant can break the layout. This patch adds a wrapper class to be used when a select2 tag input is used in a flex container, which will prevent it from growing beyond the size of the container.
This also has a few small tweaks to the combo table that will even out the columns a bit.
Long tag before:

Long tag after:

Tweaked combo table:

Closing this for now, it can be applied later to master as only a patch to fix the variant overflow, and the other changes removed.


[DATA-995] Empty string check in multiselect

Oh wait did you manually update the lockfile? not seeing the same version upgrade in the package.json file

Oh wait did you manually update the lockfile? not seeing the same version upgrade in the package.json file

hmm I'll update the package.json, but it was automatic when I ran npm I?


WMS ID 10001

Add here your WMS ID
WMS ID 10001
Post OCW, there were some suggestion around user friendliness for labs. Incorporate those changes.  Added few emcli commands and corresponding images. Please approve the pull request.
Thanks,
Romit

Hi @arabellayao
Yes, the files changed/modified has descriptive alternative texts.
Thanks,
Romit

@arabellayao
Hi Arabella,
Looks like there is some write access issue, as we are encountering this message.
This branch cannot be rebased due to conflicts
Only those with write access to this repository can merge pull requests.
Can you approve this PR.
Thanks,
Romit

This branch cannot be rebased due to conflicts


cannot find examples/echo.cpp

Hi,
I cannot find your example files:
https://github.com/Manoharan-Ajay-Anand/coros/blob/main/examples/echo.cpp

I am sorry. I moved them here: https://github.com/Manoharan-Ajay-Anand/coros-framework/blob/main/examples/echo.cpp.


500 when using the Doppelgänger function in the Django Admin

In some cases, we're getting a 500 when using the Doppelgänger function on user accounts. Apparently, this happens whenever a user has not been activated yet.
Here's an example traceback:
Traceback:

File "/usr/local/lib/python3.8/site-packages/django/contrib/auth/__init__.py" in login
  111.         backend = backend or user.backend

During handling of the above exception ('AnonymousUser' object has no attribute 'backend'), another exception occurred:

File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py" in inner
  34.             response = get_response(request)

File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py" in _get_response
  115.                 response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py" in _get_response
  113.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/usr/local/lib/python3.8/site-packages/django/utils/decorators.py" in _wrapped_view
  142.                     response = view_func(request, *args, **kwargs)

File "/usr/local/lib/python3.8/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
  44.         response = view_func(request, *args, **kwargs)

File "/usr/local/lib/python3.8/site-packages/django/contrib/admin/sites.py" in inner
  223.             return view(request, *args, **kwargs)

File "/usr/src/ep2021/assopy/admin.py" in create_doppelganger
  436.         auth.login(request, user)

File "/usr/local/lib/python3.8/site-packages/django/contrib/auth/__init__.py" in login
  117.             raise ValueError(

Exception Type: ValueError at /admin/auth/user/xxxx/login/
Exception Value: You have multiple authentication backends configured and therefore must provide the `backend` argument or set the `backend` attribute on the user.

SO suggests adding a backend parameter: https://stackoverflow.com/questions/45961459/multiple-authentication-backends-configured-and-therefore-must-provide-the-back, however, it's possible that we simply need to just return an error saying that the user has not been activated yet, so the Doppelgänger function doesn't work.

Hi i am interested in this project.
i would like to work on this issue
kindly let me know if this is still open

Hi there! Thank you for the offer, we do appreciate it. The issue is still open so if you had interested in working on it, please go ahead :-)


Relax and/or Improve Checks in Makers’ isSupportedOnCurrentPlatform()

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
Makers in v6 for rpm & deb (and perhaps others) assume that those artifacts can only be built on linux systems as opposed to checking for the required tooling (rpm, dpkg, fakeroot) or doing no check at all, meaning that they unnecessarily prevent the developer from—say—building on macOS. Ex:
$ which rpmbuild
/usr/local/bin/rpmbuild
$ yarn make --platform=linux
...
An unhandled rejection has occurred inside Forge:
Cannot make for linux and target rpm: the maker declared that it cannot run on darwin
Error: Cannot make for linux and target rpm: the maker declared that it cannot run on darwin
    at /path/to/project/node_modules/@electron-forge/core/src/api/make.ts:122:13
    at Generator.next (<anonymous>)
    at step (/path/to/project/node_modules/@electron-forge/core/dist/api/make.js:42:221)
    at _next (/path/to/project/node_modules/@electron-forge/core/dist/api/make.js:42:409)
...

which is caused by:
  isSupportedOnCurrentPlatform() {
    return this.isInstalled('electron-installer-redhat') && process.platform === 'linux';
  }

The preference here may be either to (1) not perform the platform check at all (which here would cause electron-installer-redhat to throw an error around its attempt to call rpmbuild if it is not available), or to (2) confirm the existence of some executable reachable at—again as an example—rpmbuild.
Note that currently at least maker-squirrel does not perform a platform check nor perform some more complex test for either windows or wine and mono, but goes for option 1.

It's worse than that, they even claim they cannot run on some linux distributions (alpine for example).

Cannot make for linux and target deb: the maker declared that it cannot run on linux


Fix Swift and JavaScript code imports.

Ah, man. I was just about to do that. We need to figure out what the appropriate label is for swift. It should be in this file: https://github.com/algorithm-archivists/highlight.js/blob/master/src/languages/swift.js (I think)

Hmm yeah, I try to solve it... Sorry for your PR!

As a note: once we get these tags fixed, I was planning on pushing to the github pages repo. No rush, though. I cannot even do that until I get home tonight anyway.


Allow the same version to compile in both Xcode 9 and 10.

We have a client with a dependency on swift-wisdom that would like to be able to compile their codebase in both Xcode 9 and 10 simultaneously while they transition.
This conditionally compiles a handful of methods based on either Xcode 10's version of Swift 4.1 (4.1.50) or the existing 4.1.
In Swift 4.1 classic, a separate method signature is required for CountableRange because it is its own type.
In Swift 4.1.50, CountableRange is aliased to Range, so a separate method causes a compile time issue.
Unfortunately there's no way to specify only the additional method in Swift 4.1 classic because the swift version selector only accepts >, not <, which results in a small amount of duplicated code.

          1 Message

:book:
Executed 174 tests, with 0 failures (0 unexpected) in 0.527 (0.643) seconds

  Generated by :no_entry_sign: Danger

Ah, we experimented with similar changes in PR #155 and #153 , but never (as far as I remember) hit upon the existence of Swift 4.1.50, and therefore never could get it to work right.
I think that this change is good, but we'll want to update Intrepid.podspec to either 0.10.3 (my preferred option) or to 0.11.0.  Worth discussing with the other code reviewers.
I'm also taking the liberty of adding @jpmendel to the Reviewers list because of his work on #155

Oh, also need to update the "Swift Versions" section of README.md

Yeah, that sounds good to me. Version 0.10.3 can be the one that can compile in XC 9 and 10, and then we can move to 0.11.0 for full Swift 4.2 support.

swift(>=4.1.50) definitely looks like the key to the earlier problems we encountered trying to solve this. Have you seen this - https://github.com/apple/swift-evolution/blob/master/proposals/0212-compiler-version-directive.md . In the Motivation section it looks like you'd need to use #if swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0)) if we have any concerns that someone might try to use the Swift 4 compiler in version 3 compatibility mode. Also note the new compiler directive. I don't think we need to worry about it here but it looks like it was implemented in Swift 4.2

@aspitz-intrepid Actually, we do explicitly state which Pod versions are compatible with which Swift versions in the README, and 0.9.0 and above does not support Swift 3.
Given that this will (hopefully) be a very short-lived change, I'd like to avoid over-complicating it. Any objections to just leaving it as is with a check only for swift(>=4.1.50)?

@bobgilmore I bumped the podspec version but didn't update the README because this change doesn't actually affect Swift version compatibility. Let me know if I'm misinterpreting something.

          1 Message

:book:
Executed 174 tests, with 0 failures (0 unexpected) in 0.449 (0.582) seconds

  Generated by :no_entry_sign: Danger

@nivektric I'd like to somehow indicate that 0.10.3 is the one to add Swift 4.1.50 (Xcode 10) support.  So maybe something like...
Swift 4.1.50 (Xcode 10 Compatible) -> 0.10.3
Swift 4.0 -> 0.9.0 through 0.10.x
Swift 3.2 (Xcode 9 Compatible) -> 0.8.3 through 0.8.4
Swift 3 -> 0.6.1 through 0.8.1
Swift 2 -> anything through 0.5.2

@bobgilmore @jpmendel @aspitz-intrepid Any other comments? If not, could I get some approvals?


chore: Author should include JSDoc

Closes #2718
The author should do the following, if applicable

[ ] Add tests
[ ] Run tests
[ ] bun run format:fix && bun run lint:fix to format the code
[ ] Add TSDoc/JSDoc to document the code

@fzn0x
Thanks! Merging.


[Bug] Controller windows can get stuck under topbar and sidebar

Yes, same for me.
Snapping could fix this.

After this update, some previews are very large.( e.g.: ControNet Preprocessor preview, and stage 2 KSampler live preview )
I was testing this workflow a few minutes ago, because of other issues (https://github.com/chrisgoringe/cg-controller/issues/263#issuecomment-2458436317), but this was not happening:

That's because the maximum height for the images has been removed now we have the pin. Click the pin and they will shrink back down.

Yeah, but there is another problem:
If the icon is white, now I can manually scale the image, beyond the limits of the Controller, so that part of the image is hidden (like in these images).
There is no break for the "resize" handle.

Yes, that is the expected behaviour.
Previously there was a size limit, so that it was easy to maximise the image without hiding any of it.
Now that can be done with the pin, so there is no reason to prevent someone making the image bigger if they want to.
I use this to look at detail quite often. I don't see the problem :).

I use this to look at detail quite often.

If we're also able to click and drag the image to pan, it would be awesome !

I use this to look at detail quite often.

If we're also able to click and drag the image to pan, it would be awesome !

Added as #298


Update README.md

add postcss plugin example

Hi @Grawl
Thanks for the PR.
The documentation in the README is intended to be as simple as possible without much example. Most of the examples are in the recipes folder.
I would prefer to add your example as a recipe, for example a new "add-postcss-plugin" recipe.
Thanks,
Patrick

In fact, just remembered there is already this recipe for postcss plugins: https://github.com/gsoft-inc/craco/blob/master/recipes/extends-post-css-plugins/craco.config.js

Adding PostCSS plugins is the reason I'm here. I think it will be good to remove recipe and show this in Config Overview


在iOS上tableView Component 滑动异常的问题

用tableView作为Component时滑动时会超出边界范围 滑动时会在js设置的范围外继续滑动一段距离
请问这个应该如何解决？

有效果截图没

同求，我也遇到这个问题。同组的安卓没有这个问题。

This PR/issue doesn't received response since Weex migrated to Apache two years ago and this repository is no longer active yet.
Feel free to ask question in new repository and thanks for your contribution.

This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.


Update README.md

fetch can return a arraybuffer...

Can you also update the actual fetch example page and preferably squash to a commit with a message like "update XHR demo"

Rewrote the commit in d01e10c3f21482c87a42b56dc02e215f9ee78c30 but credited it to the same email / tz from the PR (so GH should show you as a contributor)


ubiquity_motor: 0.5.1-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository ubiquity_motor to 0.5.1-0:

upstream repository: https://github.com/UbiquityRobotics/ubiquity_motor.git
release repository: https://github.com/UbiquityRobotics-release/ubiquity_motor-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.5.23
previous version for package: 0.5.0-0

ubiquity_motor
* Reduce flakey-ness of the tests
* Try to get firmware version, throw after 10 tries
* Code cleanup
* Use fixed sized arrays (not vectors) where they make sense
* Use a seperate shared_queue class
* Performance improvements
* Contributors: Rohan Agrawal

Holding for sync...


CommonResourcesCustomResourcesCustomResourceUuid64E7CCAD failed to create

Hi,
I am using "(SO0023) - Serverless Image Handler. Version v6.2.3"
And When I deploy the stack, I get this error  CREATE_FAILED for the resource CommonResourcesCustomResourcesCustomResourceUuid64E7CCAD

Any thoughts on How does one go about getting more error details on why this resource failed to create?

Hi @agenthunt,
I'm going to close this for now, let me know if you run into any more issues.
Simon


Other structures (non stem-loop) for barcodes

Currently, barcodes can only be stem-loop with a constant loop. Currently, you can add a polyA (not part of barcode) or random single stranded region (part of barcode) to the 5' end. We could add the option for other barcode types, eg completely single stranded, non-interacting barcode which would be nice if the user did not have as much space for the longer stem-loop barcode-type. This would likely need the minimum edit distance feature. #3

Done, user can simply specify --barcode_numbp 0 if they want unfolded.


SWARM-1133: Add test for SWARM-1133.

Motivation
Add tests to verify SWARM-1133 fix is working in future.
Modifications
Following a similar approach as in fraction-metadata, FractionUsageAnalyzerTest class, added a simple JUnit test with an MDB to check if right messaging fraction was actually added
Result
After these tests, they would only fail if SWARM-1133 is removed some day in future, keeping that feature safe.

[X] Have you followed the guidelines in our Contributing document?
[X] Have you created a JIRA and used it in the commit message?
[X] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[X] Have you built the project locally prior to submission with mvn clean install?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I'm not sure in which module this should be. The existing tests similar to this are in the fraction-metadata module, which then depends on the jaxrs fraction; here, the test is in the fraction module depending on fraction-metadata, so I'm slightly worried if there's a dependency cycle somewhere?

Ok @Ladicek I finally thought this would be the best place, but that you said makes sense. I am going to try adding this into test-messaging meanwhile...

Labelling as HOLD until you give the all-clear.

Moved to test-messaging here: https://github.com/wildfly-swarm/wildfly-swarm/pull/489
Thanks!


question: write byte buffer to RAR file

Hi
I have a byte buffer filled of all bytes that represent the contents of a RAR file like this:
var buffer = new byte[length];
Those contents in the buffer are read from a custom big file which has RAR files inside it (a sort of custom container).
Is there a way I can write this buffer to a RAR file using sharpcompress or how should I do this?
If I do this (without using any library):
File.WriteAllBytes(filename, buffer);
Then WinRAR says the file has "unknown format or is damaged".
But the buffer is successfully written and the file has exactly the amount of bytes from the buffer.
Thanks

I found it, closed.


test: Try to improve Docker Desktop reliability with docker desktop restart

The Issue
Reliability of Docker Desktop, especially on Windows WSL2 but also on macOS, has always been a problem.
How This PR Solves The Issue
Docker has recently added command-line control with docker desktop start/stop/restart, so we have a more reliable way of controlling it.

There's nothing wrong with this, but it doesn't stop the Docker Desktop/WSL2 problem, because what happens is WSL2 blows up and crashes, and there's no recovery possible, so the cleanup() doesn't get run, etc. I might take a look and see if there might be a way to restart docker desktop and wsl2 distro from windows side.

I guess I'll return to this if the upstream problem gets solved. Closing for now.


Dependagames 20th Nov

Description

<EMAIL_ADDRESS>— regression fix
<EMAIL_ADDRESS>— typing updates
<EMAIL_ADDRESS>— small bugfixes
posthog-js — small updates
<EMAIL_ADDRESS>— small patches
@axe-core/react - small patch
@commitlint x 3 - minor update
@hookform/resolvers - minor updates, used in forms eg newsletter sign up
@hubspot/api-client - minor update
@mdx-js/loader - minor update
@mux/mux-player-react - minor update, used for videos
@netlify/edge-functions - minor update to netlify types
@netlify/plugin-nextjs - a few minor updates, if deployment breaks this could be the culprit
@next/bundle-analyzer - small patches
@percy/cli - small patch, if percy breaks this could be the cuplrit
@react-aria/aria-modal-polyfill - small patches, this would affect modals when using a screen reader (I'm not sure where we have any modals to test if this breaks them)
@sanity/asset-utils - small patch but no release notes, used to get urls for sanity assets

Testing notes
...

Thanks @jack-skerrett-oak setting to automerge!

:tada: This PR is included in version 1.637.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


the influence of detector

the performance of human AP from the 57.2 to 62.9  increase extra 1%  in human pose,  will you release the result of 62.9 human detection result for analyze the  importance of detector?

3Q. the conclusion may seems conflict in paper about the influence of detector.  Besides , the  nms thr is set one?

The detector has a greater but still limited impact on test-dev dataset which we found later. Soft-nms is applied in the given detection result.

the resnet50 var name seems not completely  same as tf website, the weight is trained by youself or transform from tf?

sorry, its weight same with tf resnet50.

In the report, the batchsize also is important. Do you try implement BN cross-gpus and related experiment ?


edupont04 from OPS portal: Merge from master to live

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

File
Status
Preview URL
Details

dynamics-gp/TOC.md
:white_check_mark:Succeeded
View

dynamics-gp/installation/ProfServicesToolsLibrary.md
:white_check_mark:Succeeded
View

dynamics-gp/web-components/introduction.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 72402fe:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-gp/TOC.md
:white_check_mark:Succeeded
View

dynamics-gp/installation/ProfServicesToolsLibrary.md
:white_check_mark:Succeeded
View

dynamics-gp/web-components/introduction.md
:white_check_mark:Succeeded
View

dynamics-gp/web-components/tenant-services-basics.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 5bdbc20:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-gp/TOC.md
:white_check_mark:Succeeded
View

dynamics-gp/installation/ProfServicesToolsLibrary.md
:white_check_mark:Succeeded
View

dynamics-gp/web-components/introduction.md
:white_check_mark:Succeeded
View

dynamics-gp/web-components/tenant-services-basics.md
:white_check_mark:Succeeded
View

dynamics-gp/web-components/tenant-services-config-admin.md
:white_check_mark:Succeeded
View

dynamics-gp/web-components/tenant-services-installation.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[obj_name] column is too short to contain the results

When I execute the sp_sizeoptimiser stored procedure against my database I get the following error message:
...
Check 15 - Inefficient indexes
Msg 50000, Level 16, State 30, Procedure dbo.sp_sizeoptimiser, Line 1209 [Batch Start Line 1245]
String or binary data would be truncated.

Debugging the code I found that the [obj_name] columns were using sysname.  I increased the size of the [obj_name] columns to NVARCHAR(1024) and it fixed the problem.

Thanks for opening an issue!
Could you also try with NVARCHAR(400)?
It looks like the that column needs to be able to hold schema name + obj name + index name which would be 384 chars (128 * 3) in addition to to formatting characters, which we can round up to 400.

NVARCHAR(400) worked as well.

Thanks @runamuk0!

Please be sure to fix it in the following places as well:
CREATE TABLE #DuplicateIndex ...
CREATE TABLE #OverlappingIndex ...


Bug: #482 - Address book Custom transactions Recipient validation

Closes #482

Travis automatic deployment:
https://pr577--safereact.review.gnosisdev.com

I have a few issues with this feature

In the custom tx when you search by name or hash it shows all the people in you address book, even those who are not valid addresses and those can be chosen even. If you finish the Tx form at the end it will tell you that the tx failed but still, the main issue remains, that non valid addresses can be picked.

What it is working is the validation when you copy/paste and address that's not valid
@Agupane Let me know if what I wrote is out of the scope of this ticket.

Travis automatic deployment:
https://pr577--safereact.review.gnosisdev.com

Travis automatic deployment:
https://pr577--safereact.review.gnosisdev.com

I made a comment approving the pr in github.
@mikheevm @germartinez we need your technical approval of the pr

Yes, I forgot to run prettier locally sorry, now should be ok :) @mikheevm

Travis automatic deployment:
https://pr577--safereact.review.gnosisdev.com

Travis automatic deployment:
https://pr577--safereact.review.gnosisdev.com

@mikheevm, @francovenica changes in place, PR is ready to be re-checked.

Travis automatic deployment:
https://pr577--safereact.review.gnosisdev.com

@mikheevm It worked fine for me. Can you merge it?


Voice Segmentation

Hi there,
Is there a possibility to perform voice segmentation (extract different samples) based on an audio file with two (or more) different voices?
Thanks in advance
Alex

Not out-of-the-box...
I'd suggest having a look at the projects listed here (probably you already know them, but...)
https://en.wikipedia.org/wiki/Speaker_diarisation
Cheers
Amaury


[ES-52] Simplify logging

Use a single log handler to avoid duplication; add context.failure to debug logging

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


feat: add multilingual navbar

Fixes: https://github.com/RatanShreshtha/DeepThought/issues/11

@Guileas Add few screenshots as well, rest all looks good to me.

@RatanShreshtha I've modified my PR to fix some issues I had for multiple translations.
I've added the language code to the navbar_items array to make everything work but no more default navbar if the user add a language code and forgot to add a translation in the navbar_items array for this language.


Batch the backtest with variation in parameters, result in CSV (new pull request from develop branch)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
This extension launch many times a back test, with different parameters.
All the results are added in a CSV file. It's easy to try different parameters values for the same data, or
to check a strategy in a sliding windows.
See config.lab in sample-config.js
To start, check the backtest
node gekko --config <...> --backtest
then use
node labgekko --config <...> --backtest

config.lab={
  enabled:true,
  file:"labs/"+config.tradingAdvisor.method+".csv",
  // Fields to add in CSV. Can be omitted or reorders
  fields:[
    "method", "exchange","currency","asset",
    "candleSize","historySize",
    "patchs",
    "startTime","endTime","timespan",
    "startPrice","endPrice","market","trades",
    "startBalance","balance","profit",
    "relativeProfit", "relativeResult"
  ],
  // Lists of modification to apply in config.
  patchs:[
    {
      path: "MACD.short",
      loop: ["5", "<= 15", "+ 5"], // Normal:10
    },
    {
      path: "MACD.long",
      loop: ["16", "<= 26", "+ 5"], // Normal:21
    },
    {
      path: "MACD.signal",
      loop: ["8", "<= 10", "+ 1"], // Normal:9
    },
    {
      path:"backtest.daterange",
      exloop:[
        'config.{}={from:"2016-01-01", to: "2016-04-01"}',
        'moment(config.{}.to).isBefore("2017-12-15")',
        'slidingWindow(config.{},1, "month")',
        '// require nothing in global scope',
      ],
    },
  ],
}

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Other information:

@askmike do you have plans to merge this PR anytime soon?


sync data between pcs

Test fresh install
Test upgrade from previous version
Save version to local storage only

Working pretty good for me.  I have it on two pc's so far and they seem to be syncing.

@atheistics but also things like widgets you have chosen would be synced, and also in future number columns, and colors/themes


load lightconv.glu.wmt17.zh-en fail  with TypeError: expected str, bytes or os.PathLike object, not NoneType?

I try
zh2en = torch.hub.load('pytorch/fairseq', 'lightconv.glu.wmt17.zh-en', tokenizer='moses', bpe='subword_nmt')
as  in  https://github.com/pytorch/fairseq/tree/master/examples/pay_less_attention_paper/pay_less_attention_paper/README.md
and get error
Traceback (most recent call last):
File "", line 1, in
File "/home/jingmouren/miniconda3/lib/python3.7/site-packages/torch/hub.py", line 369, in load
model = entry(*args, **kwargs)
File "/home/jingmouren/.cache/torch/hub/pytorch_fairseq_master/fairseq/models/fairseq_model.py", line 255, in from_pretrained
**kwargs,
File "/home/jingmouren/.cache/torch/hub/pytorch_fairseq_master/fairseq/hub_utils.py", line 56, in from_pretrained
kwargs['data'] = os.path.abspath(os.path.join(model_path, data_name_or_path))
File "/home/jingmouren/miniconda3/lib/python3.7/posixpath.py", line 80, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
How to fix the problem?

Excuse me, have you solved the probliem? I met it, too...

What is the solution for this?


Table Copy and Paste with Data

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Copy paste tables with data like Navicat
In this feature when you select table to copy and paste in another database the table structure created, and all table data will be inserted
Describe alternatives you've considered
No alternative
Additional context
No any additional data

Hello @mohsenomidi,
Have you considered using the data transfer feature?
https://github.com/dbeaver/dbeaver/wiki/Data-migration

Data transfer is the complex feature to do the advanced data migration but the table copy paste is some rules for basic operations. Now we have copy paste table from one db to another db(with same engine, like mysql to mysql) it just execute ddl to create table. In this operation data will not transferred but with "copy with data" the data also automatically goes to target db
There is some points like copy paste tables, the target db shouldn't have copied table object with that name, and source and target database should be the same(mysql<=>mysql, oracle<=>oracle, ...)

We don't want to provide a way to transfer data from one table to another just by copying it. This is an expensive operation that will be hidden under a single button.
Data transfer is designed for migrating data, and it can create new tables if necessary.
Potentially, we can just prefill the data transfer wizard after copying a table with data. We will need to discuss UX.

this is a great idea !

Hi @mohsenomidi,
I'm sorry for the late response.
You can try to copy data with Advanced copy (Ctrl+Shift+С) and then paste it to another database with Advanced paste (Ctrl+Shift+V or Ctrl+V).

Please let me know if your issue is solved.

Hi @arhayka
I know this feature you mentioned, but my request is about copy paste more than 1 table with data, this feature already exists in navicat software, this is the scenario:
1- you already have a db with some tables
2- for example you want to copy and paste 40 tables with all data and relations to another database
In other db explorer like navicat you can select tables from table tree view and copy the tables and paste it to another database
In this operation all tables created with all relations and foreign keys created as well, and all table data comes with the simple Ctrl+C, Ctrl+P keys.
Also all relations has been created for example if the copied table had relation to another table the relation automatically created.

![https://user-images.githubusercontent.com/11021263/104491486-8bdaf900-558f-11eb-87d0-2c0f5a56b0be.png]
I want a UI for it something like this, shown in HeidiSQL

This is the common feature in many database editors : cosy copy paste table with data in Navicat

Please vote for the issue with 👍 under the issue description to promote it to a higher priority, not under the comment asking to vote 😊

Hello @mohsenomidi,
Have you considered using the data transfer feature?
https://github.com/dbeaver/dbeaver/wiki/Data-migration

where is this transfer function? looking to basically just copy a table as a different name in the same database quickly

@msingh0101 it's all described in that article. https://github.com/dbeaver/dbeaver/wiki/Data-migration#step-1-define-the-data-source

@msingh0101 it's all described in the article. https://github.com/dbeaver/dbeaver/wiki/Data-migration#step-1-define-the-data-source

thank you. i ended up just simply scripting most of this. it's not too bad.  Would definitely be a nice to have a 1 or 2 click option though in DB Weaver.


Custom converters broken in 1.1.1 update

We were using custom converters to handle simple objects that don't fit well into the SQL relational tables model. For example, our API sends objects with a UNIX time and Set<String> which we need to persist to compare the times for caching purposes. So I created custom converters that stored the data as a JSON string. Using a separate table and relation for each string set seemed seriously overkill.
Now in 1.1.1, we're seeing a hard compile-time error like the following because Requery sees the custom Objects when generating entities and assumes they need a missing relation to work correctly. I do not know any way to tell the library otherwise. That's what I thought the custom converter accomplished.

Error:(26, 17) error: Entity reference missing relationship annotation

Any advice to resolve this situation with Requery or to handle this model better?

That's an interesting case, this was added to catch some common errors. Will suppress this error if the attribute has a converter assigned to it.


license

This is the first project I found, that controls my Idasen desk correctly :raised_hands: Thank's for making this public :rocket:
I would like to create a simple HTTP server for my smart home system and was wondering what license this project is under and if I could take some of your code to use it in my server implementation?
Adding a license to this project would be great :raised_hands:
Best regards,
Max

Hey, glad it works it for you!
Added MIT License, do what you want 🚀


drivers: gnss add ephemeris message parse.

Add novatel ephemeris message parse;
Remove unused files;

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


Allow edit records from a query

SQL Operations Studio Version: sqlops 0.30.6
It would be great to be able to edit the records obtained from a query

Have you tried the Edit Data feature? If you right-click on a table/view in the Servers tree you can choose to edit data. This gives you an editable grid, and you can use the "Show SQL Pane" to edit the query used for getting the data and add in WHERE clauses.

The behavior of "Show SQL Pane" is almost what I want, but I think it has two incovenients:

There are too many steps: Tables -->Look for specified table  --> Right clic in Edit tables  --> Clic in "Show SQL Panel"
On "Show SQL Panel" you can only edit rows from the originally targeted table. if you want edit another table you should do above step

For these reasons, I would prefer "Show SQL Panel" funcioanality to be available on query editor.