[Windows] Fixes UDS integration & caches socket domain

Commit Message:
The PR aims to fix UDS integration tests on Windows. To that end the following changes were made:

Fix domain function usage on Windows by caching the domain from the socket creation and passing down to the io_handler.
Adds the correct length for UDS on Windows.
Enables the test.

Risk Level: Low
Testing: Existing tests
Docs Changes: N/A
Release Notes: N/A

cc: @envoyproxy/windows-dev

/wait
For defaults resolution

@wrowe marking it as a draft to query some full builds in the CI to figure out which consumers are setting the default value for domain and see why this is the case

@wrowe i expect the ci to go green and it should be ready for review

clang-tidy fails due to https://github.com/envoyproxy/envoy/issues/13162 that is coming from upstream

@envoyproxy/senior-maintainers can I also get a review from you.

Looks like clang-format is not happy with the new changes. My working hypothesis is that it has some trouble with the following functions
absl::optional<uint32_t> maybeGetPacketsDroppedFromHeader(
#ifdef SO_RXQ_OVFL
    const cmsghdr& cmsg) {
  if (cmsg.cmsg_type == SO_RXQ_OVFL) {
    return *reinterpret_cast<const uint32_t*>(CMSG_DATA(&cmsg));
  }
#else
    const cmsghdr&) {
#endif
  return absl::nullopt;
}

and Address::InstanceConstSharedPtr maybeGetDstAddressFromHeader(const cmsghdr& cmsg,                                                              uint32_t self_port, os_fd_t fd) {
working in simplifying the #ifeds

If it forces it and is a bug in the formatter don't worry about it.

Actually it is easy to fix if you simplify the functions above so it might be an overall win. I just transformed the #ifdefs into some constexpr functions.
Verifying my changes and pushing another commit

WDYT of the changes in 509d1c3f83636dbf08988845bda561f7a411347f? Locally it fixes my clang-format.

/retest

/retest

@mattklein123 the CI all green again. feel free to take a look at the last 2 commits when you get some time.


"buffer don't have enough space" - hasEnoughPackets() function

Hello,
I keep getting "buffer don't have enough space" when running recv + process threads. (Btw. there is a typo in SDK, it says "processLiarPacket" instead of "Lidar" :).
Anyway, while debugging, I noticed this part of code in pandarGeneral_internal.h

inline bool hasEnoughPackets() {
return ((m_iterPush - m_iterCalc > 0 ) ||
((m_iterPush - m_iterCalc + 36000 > 0 ) && (m_buffers.end() - m_iterCalc < 1000) && (m_iterPush - m_buffers.begin() < 1000)));
}

Can you please tell me why the additional checks for 1000 packets at the beginning and the end?
When I remove that part, it seems to work fine.
Thanks!

Actually that wasn't enough. I think incrementing push iterator when function might return on "full" was wrong.
I changed class functions to this:

typedef struct PacketsBuffer_s {
PktArray m_buffers{};
PktArray::iterator m_iterPush;
PktArray::iterator m_iterCalc;
bool m_startFlag;
inline PacketsBuffer_s() {
m_iterPush = m_buffers.begin();
m_iterCalc = m_buffers.begin();
m_startFlag = false;
}
inline int push_back(PandarPacket pkt) {
if (!m_startFlag) {
*m_iterPush = pkt;
m_startFlag = true;
return 1;
}
PktArray::iterator nextIter = m_iterPush + 1;
if (nextIter == m_buffers.end())
  nextIter = m_buffers.begin();

if (nextIter == m_iterCalc) {
  printf("Buffer don't have space!, %ld\n", m_iterPush - m_buffers.begin());
  return 0;
}

m_iterPush = nextIter;
*m_iterPush = pkt;

return 1;

}
inline bool hasEnoughPackets() {
return (
(m_iterPush - m_iterCalc > 0 ) ||
((m_iterPush - m_iterCalc + 36000 > 0) && (m_iterPush - m_iterCalc != 0))
);
}
inline PktArray::iterator getIterCalc() { return m_iterCalc;}
inline void moveIterCalc() {
m_iterCalc++;
if (m_buffers.end() == m_iterCalc) {
m_iterCalc = m_buffers.begin();
}
}
} PacketsBuffer;


Blog - Open source

I had added my blog - How to contribute to open source.

@naveeramesh It will be great if you can add this in README.md itself instead of a separate file!!

@pra17dod I had made the change you can review once.


fix: remove fixed width for edit plugin popup (=> autowidth)

The edit plugin popup as a fixed width of 850px whereas the new plugin popup adapt width to the viewport.
This PR just make same popup width for edit popup
Description
Remove fixed with of edit plugin popup

Related resources

#7336

Checklist

[x] I have opened this pull request against develop
[x] I have added or modified the tests when changing logic
[x] I have followed the conventional commits guidelines to add meaningful information into the changelog
[x] I have read the contribution guidelines  and I have joined #workgroup-pr-review on Slack to find a “pr review buddy” who is going to review my pull request.

The failing backend tests are not due to the PR. But the failing frontend test is. @fabien-michel: I think it's the trailing commas the frontend is complaining about. Can you remove them? See GitHub Action's comments here: https://github.com/django-cms/django-cms/pull/7337/files. IMHO after these changes this is ready to merge!

Oh sorry didn't notice that. I've fixed the trailing commas.

@fabien-michel Changes in develop need merging in to get the tests to pass. Then we can get this merged.

Developer bounty: @NicolaiRidani


How to mock navigator.cookieEnabled

How do you mock the navigator.cookieEnabled  ?
Because Cloudflare is checking this to send the Captcha page
var a = function() {try{return !!window.addEventListener} catch(e) {return !1} },
I20210809-18:28:34.415(8)?       b = function(b, c) {a() ? document.addEventListener("DOMContentLoaded", b, c) : document.attachEvent("onreadystatechange", b)};
I20210809-18:28:34.415(8)?       b(function(){
I20210809-18:28:34.415(8)?         var cookiesEnabled=(navigator.cookieEnabled)? true : false;
I20210809-18:28:34.415(8)?         if(!cookiesEnabled){
I20210809-18:28:34.415(8)?           var q = document.getElementById('no-cookie-warning');q.style.display = 'block';
I20210809-18:28:34.415(8)?         }
I20210809-18:28:34.415(8)?       });
I20210809-18:28:34.416(8)?   //]]>

globalThis.navigator = globalThis.navigator || {}
navigator.cookieEnabled = true

globalThis.navigator = globalThis.navigator || {}
navigator.cookieEnabled = true

Please tell me what  is the  globalThis

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis

Thank you for the explaining .  But the navigator is not set on the fetch request
const response = await fetch(url, { } )
I'd like to modify the navigator of the fetch to bypass Cloudflare page. It doesn't work when I tried to access the url from Node fetch but working fine from Puppeteer

NodeJS is nothing like puppeteer that runs in an actual browser
node-fetch use different headers.
if you emulate exactly what the browser would normally send with request headers then you might get around it.
even then they could have some client side validation.


[edn/csrng/rtl] fixes #5941

The module enable is used for halt the edn and csrng such that is acts like a reset.

Hey Mark, thanks for this PR. You may want to rebase this PR, looks like it includes previous commits.

thanks @cindychip that seemed to help

Right, this one is tough for inspection. We need to test some of these functions for all of the holes, this is most likely one of them.

This PR got 3 approving reviews and all questions have been answered. I am thus merging it.


Error in Instructions

The environment variable specified in the readme uses $docker-root and not $docker_root.

@mpgough Hi - the $docker-root is just a documentation place holder to signify that the users should use "whatever their docker container system path" is.
Where are you seeing $docker_root?
Thanks.

Closing issue due to inactivity - please re-open if you have any more info.


The cursor moves in reverse

When I move the slider, it moves in the opposite direction, the emulator language is Arabic but when I switch the language back to English, everything works fine.
React native [0.73.4]
Android API [34]
react-native-awesome-slider [2.5.3]
https://github.com/alantoa/react-native-awesome-slider/assets/165002902/dbac982e-9d85-4ce5-9853-3ad624939407

i have same issue

can you plz add a example code for that?

oh sorry, I haven't added RTL support yet.

@alantoa Hello, I hope you are great. How long does it take to add the RTL support?

I'll try, man!

https://github.com/alantoa/react-native-awesome-slider/releases/tag/v2.8.0
just added in v2.8.0, check it out!


feat: Enable use of EnergyResultProducedV2

[x] Create EnergyResultProducedV2  in contracts
[x] Connection EnergyResultProducedV2 to the flow (so V2 events are published)
[x] Remove integration event (v1)
[x] Update version and release notes for Contracts package (bump minor since v1 was never used, so v2 is just an addition).
[ ] Update Event catalog: https://energinet.atlassian.net/wiki/spaces/D3/pages/555581556/Event+catalog

Part of: https://app.zenhub.com/workspaces/mandalorian-5fd22a1a59e4740018f5ab5a/issues/gh/energinet-datahub/team-mandalorian/35

When review is completed (meaning we are sure which types exists), then I will update the Event Catalog: https://energinet.atlassian.net/wiki/spaces/D3/pages/555581556/Event+catalog


How can I keep the history data when migration variant type

why I change the variant type like :
int age -> String age
my history age data will be cleaned , how can I keep the data when change the variant type?

This is not possible as ObjectBox can not change the type of the data you have already stored. As an alternative you might want to add a differently named field and get data from the old field when accessing it:
int age;
String ageText;

As for what is possible regarding renaming entities and properties, see the ObjectBox Data Model Updates documentation.
-ut

ok, thank you


Upgrade to new zondax project/repo structure

This is on-hold until Ledger releases current codebase that is under review.

done


Issue with merging MNVs within the same codon

Hi all,
I've used this merge_mnp.py script previously with great success, but now, I encountered an issue on certain positions, I found this:
grep "chr19:54574902"  codons.chr19.hg38.txt
chr19:54574902  NM_001290271-Codon639
chr19:54574902  NM_006866-Codon639
chr19:54574902  NM_001130917-Codon371
chr19:54574902  NM_001290270-Codon358

grep "chr19:54574903"  codons.chr19.hg38.txt
chr19:54574903  NM_001290271-Codon639
chr19:54574903  NM_006866-Codon639
chr19:54574903  NM_001130917-Codon372
chr19:54574903  NM_001290270-Codon358

In this part of code:
with open(codon_file, 'rt') as fp:
    for line in fp:
        line_contents = line.rstrip().split('\t')
        self.codon_dict[line_contents[0]] = line_contents[1]

This key will be overwritten, since one position contains multiple codons, and for transcript: NM_001130917 they shouldn't be merged, for all other they should be merged.
This is a subset of my VCF:

#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	Sample1
chr19	54574871	.	C	T	101.64	PASS	AC=1;AF=0.5;AN=2;BaseQRankSum=0.671;DP=25;ExcessHet=0;FS=5.566;MLEAC=1;MLEAF=0.5;MQ=55.81;MQRankSum=-3.886;QD=4.84;ReadPosRankSum=0.289;SOR=2.303	GT:AD:DP:GQ:PL:PS	0|1:16,5:21:99:109,0,483:54240560
chr19	54574902	.	G	C	331.64	PASS	AC=1;AF=0.5;AN=2;BaseQRankSum=0;DP=22;ExcessHet=0;FS=4.2;MLEAC=1;MLEAF=0.5;MQ=55.33;MQRankSum=-3.277;QD=15.07;ReadPosRankSum=0.434;SOR=1.863	GT:AD:DP:GQ:PGT:PID:PL:PS	0|1:13,9:22:99:0|1:54574902_G_C:339,0,519:54240560
chr19	54574903	.	G	A	331.64	PASS	AC=1;AF=0.5;AN=2;BaseQRankSum=0;DP=22;ExcessHet=0;FS=4.2;MLEAC=1;MLEAF=0.5;MQ=55.33;MQRankSum=-3.277;QD=15.07;ReadPosRankSum=0.535;SOR=1.863	GT:AD:DP:GQ:PGT:PID:PL:PS	0|1:13,9:22:99:0|1:54574902_G_C:339,0,519:54240560
chr19	54574907	.	T	C	331.64	PASS	AC=1;AF=0.5;AN=2;BaseQRankSum=0;DP=22;ExcessHet=0;FS=4.2;MLEAC=1;MLEAF=0.5;MQ=55.33;MQRankSum=-3.277;QD=15.07;ReadPosRankSum=0.568;SOR=1.863	GT:AD:DP:GQ:PGT:PID:PL:PS	0|1:13,9:22:99:0|1:54574902_G_C:339,0,519:54240560

Thanks a lot for your help!
Luka

Also, one thing I would add to the script is possibility to read compressed codons files:
import os

class merge_by_codon:

    codon_dict = {}
    ignore_INDELs = False

    def __init__(self, codon_file, ignore_INDELs=0):
        self.ignore_INDELs = bool(int(ignore_INDELs))
        # load the codon file and create a dictionary of all loci and the codon they belong to
        # the codon file is a tab separated list of locus\tCodonID
        codons_name = os.path.basename(codon_file)
        if codons_name.endswith('.gz'):
            with gzip.open(codon_file) as fp:
                for line in fp:
                    line_contents = line.rstrip().split('\t')
                    self.codon_dict[line_contents[0]] = line_contents[1]
        else:
            with open(codon_file, 'rt') as fp:
                for line in fp:
                    line_contents = line.rstrip().split('\t')
                    self.codon_dict[line_contents[0]] = line_contents[1]

Hi Luka,
Glad this has been working well for you!
A difficulty with this request is that merge_by_codon is not setup to handle overlapping codons. What output would you expect to be produced at 54574902-54574903 for your example case?
If we decide to merge by NM_001130917, the variants at 54574902 and 54574903 would not be merged and the tool would output two separate records:
chr19 54574902 . G C 331.64 PASS AC=1;AF=0.5;AN=2;BaseQRankSum=0;DP=22;ExcessHet=0;FS=4.2;MLEAC=1;MLEAF=0.5;MQ=55.33;MQRankSum=-3.277;QD=15.07;ReadPosRankSum=0.434;SOR=1.863 GT:AD:DP:GQ:PGT:PID:PL:PS 0|1:13,9:22:99:0|1:54574902_G_C:339,0,519:54240560
chr19 54574903 . G A 331.64 PASS AC=1;AF=0.5;AN=2;BaseQRankSum=0;DP=22;ExcessHet=0;FS=4.2;MLEAC=1;MLEAF=0.5;MQ=55.33;MQRankSum=-3.277;QD=15.07;ReadPosRankSum=0.535;SOR=1.863 GT:AD:DP:GQ:PGT:PID:PL:PS 0|1:13,9:22:99:0|1:54574902_G_C:339,0,519:54240560

With any of the other transcripts, the tools outputs an MNP and annotates the original records with a MERGED FILTER field:
chr19 54574902 . GG CA 331.64 PASS ...
chr19 54574902 . G C 331.64 MERGED AC=1;AF=0.5;AN=2;BaseQRankSum=0;DP=22;ExcessHet=0;FS=4.2;MLEAC=1;MLEAF=0.5;MQ=55.33;MQRankSum=-3.277;QD=15.07;ReadPosRankSum=0.434;SOR=1.863 GT:AD:DP:GQ:PGT:PID:PL:PS 0|1:13,9:22:99:0|1:54574902_G_C:339,0,519:54240560
chr19 54574903 . G A 331.64 MERGED AC=1;AF=0.5;AN=2;BaseQRankSum=0;DP=22;ExcessHet=0;FS=4.2;MLEAC=1;MLEAF=0.5;MQ=55.33;MQRankSum=-3.277;QD=15.07;ReadPosRankSum=0.535;SOR=1.863 GT:AD:DP:GQ:PGT:PID:PL:PS 0|1:13,9:22:99:0|1:54574902_G_C:339,0,519:54240560

We could potentially output all three records with a FILTER or INFO field describing the codon used for the record. Would that be useful?
-Don

Happy to consider compressed codon files as well. I'll see if I can test your changes soon.

Hi @DonFreed , thanks for looking into this. I know that these scripts aren't main tools of Sentieon toolkit, but I found them very useful.
I am also investigating possibility to avoid loading whole codons file to a memory as the latest transcript file crate codons file around 250 GB. I am trying to subset it on the fly to mutations of interest, will let you know if I found something which can improve runtime. I tested it on 10 mutations only and it lasted 1.5h.

Great. Please let us know if you are able to find any runtime improvements.
Do you have any thoughts on the type of output you would like to see? The current merge_by_codon code cannot handle overlapping transcripts, and it's not clear how to represent both merged and unmerged variants in the same VCF.

Actually, only idea I have that in these cases we keep filter of merged mutations to: PASS instead of MERGED. That way, user who annotates these VCFs later will have both separate mutations and MNV with their effect. I don't have any other ideas tbh.

One solution would be to output both merged and unmerged variants as PASS and annotate the corresponding transcript(s) in an INFO field. This is probably something that we can do, but it may take awhile before I get around to it.


Feature to close an arbitrary window on your computer

Someone should take some time to figure out the terminal command to close any window based on it's program name, so we can close any arbitrary window, even if it's not active.

For OSX, see Issue #9


BUG: frontend dockerimage fails

=> ERROR [frontend build 7/7] RUN BACKEND_API_URL=http://localhost:8000     REACT_APP_SOURCES=local,youtube,wiki,s3     LLM  8.0s
------
 > [frontend build 7/7] RUN BACKEND_API_URL=http://localhost:8000     REACT_APP_SOURCES=local,youtube,wiki,s3     LLM_MODELS=diffbot,openai-gpt-3.5,openai-gpt-4o     GOOGLE_CLIENT_ID=""     BLOOM_URL=https://workspace-preview.neo4j.io/workspace/explore?connectURL={CONNECT_URL}&search=Show+me+a+graph&featureGenAISuggestions=true&featureGenAISuggestionsInternal=true     TIME_PER_CHUNK=4     CHUNK_SIZE=5242880     ENV=DEV     LARGE_FILE_SIZE=5242880     CHAT_MODES=""     yarn run build:
0.843 yarn run v1.22.22
0.896 $ tsc && vite build
7.880 src/components/QuickStarter.tsx(44,15): error TS2322: Type '{ openSettingsDialog: () => void; isSettingPanelExpanded: boolean; closeSettingModal: () => void; closeOrphanNodeDeletionModal: () => void; showOrphanNodeDeletionModal: boolean; openOrphanNodeDeletionModal: () => void; }' is not assignable to type 'IntrinsicAttributes & { isSettingPanelExpanded: boolean; closeSettingModal: () => void; openSettingsDialog: () => void; }'.
7.880   Property 'closeOrphanNodeDeletionModal' does not exist on type 'IntrinsicAttributes & { isSettingPanelExpanded: boolean; closeSettingModal: () => void; openSettingsDialog: () => void; }'.
7.880 src/utils/Utils.ts(190,92): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
7.880   Type 'undefined' is not assignable to type 'string'.
7.880 src/utils/Utils.ts(205,14): error TS2339: Property 'labels' does not exist on type 'Node'.
7.880 src/utils/Utils.ts(205,52): error TS2339: Property 'labels' does not exist on type 'Node'.
7.880 src/utils/Utils.ts(205,89): error TS2339: Property 'labels' does not exist on type 'Node'.
7.880 src/utils/Utils.ts(209,92): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
7.880   Type 'undefined' is not assignable to type 'string'.
7.880 src/utils/Utils.ts(217,68): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
7.880   Type 'undefined' is not assignable to type 'string'.
7.923 error Command failed with exit code 2.
7.923 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
------
failed to solve: process "/bin/sh -c BACKEND_API_URL=$BACKEND_API_URL     REACT_APP_SOURCES=$REACT_APP_SOURCES     LLM_MODELS=$LLM_MODELS     GOOGLE_CLIENT_ID=$GOOGLE_CLIENT_ID     BLOOM_URL=$BLOOM_URL     TIME_PER_CHUNK=$TIME_PER_CHUNK     CHUNK_SIZE=$CHUNK_SIZE     ENV=$ENV     LARGE_FILE_SIZE=${LARGE_FILE_SIZE}     CHAT_MODES=$CHAT_MODES     yarn run build" did not complete successfully: exit code: 2

from GPT4o:
The errors in your TypeScript build seem to be related to type mismatches and property issues. Here’s a detailed analysis and potential fixes for each error:

Error TS2322:
Property 'closeOrphanNodeDeletionModal' does not exist on type 'IntrinsicAttributes & { isSettingPanelExpanded: boolean; closeSettingModal: () => void; openSettingsDialog: () => void; }'.

This error indicates that closeOrphanNodeDeletionModal is being passed as a prop to a component that does not expect it. You need to ensure that closeOrphanNodeDeletionModal is a valid prop for the component. Check the definition of the component being used at src/components/QuickStarter.tsx:44 and add closeOrphanNodeDeletionModal to its props type if needed.
Example fix:
interface QuickStarterProps {
  isSettingPanelExpanded: boolean;
  closeSettingModal: () => void;
  openSettingsDialog: () => void;
  closeOrphanNodeDeletionModal?: () => void;
  showOrphanNodeDeletionModal?: boolean;
  openOrphanNodeDeletionModal?: () => void;
}

Error TS2345:
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.

This error appears multiple times, indicating that some functions are expecting a string but are receiving a string | undefined type. Ensure that the argument being passed is always a string, possibly by providing a default value or by adding a type guard.
Example fix:
function exampleFunction(arg: string | undefined) {
  if (typeof arg === 'undefined') {
    throw new Error('Argument cannot be undefined');
  }
  // Proceed with the function using `arg`
}

// Or provide a default value
const arg: string = potentiallyUndefinedValue ?? '';

Error TS2339:
Property 'labels' does not exist on type 'Node'.

This error indicates that the labels property is being accessed on a Node object which does not have this property. Ensure that the Node type includes labels or use a type assertion or type guard.
Example fix:
interface Node {
  labels?: string[];
}

function processNode(node: Node) {
  if (node.labels) {
    // Safe to use node.labels
  }
}

If the Node type is from a third-party library, you might need to extend it:
interface ExtendedNode extends Node {
  labels?: string[];
}

Error TS2339 and TS2345 in src/utils/Utils.ts:
Check lines 190, 205, and 217 for the following issues:

Ensure that the variables potentiallyUndefinedValue and node (or similar variables) are properly type-checked before accessing their properties or passing them to functions.
For node.labels, ensure the Node type includes labels or use type guards/assertions as shown above.

Here's a consolidated example to handle these issues:
// src/utils/Utils.ts

function processString(arg: string | undefined) {
  if (typeof arg === 'undefined') {
    throw new Error('Argument cannot be undefined');
  }
  // Safe to use arg as string
}

interface Node {
  labels?: string[];
}

function processNode(node: Node) {
  if (!node.labels) {
    throw new Error('Node labels are undefined');
  }
  // Safe to use node.labels
}

// Example usage
const exampleNode: Node = { labels: ['label1', 'label2'] };
processNode(exampleNode);

const exampleString: string | undefined = 'someString';
processString(exampleString);

Summary

Ensure proper prop types: Add missing props to the component's prop type definition.
Type Guards: Add type guards to check for undefined before using the values.
Extend Types: If needed, extend the third-party types to include missing properties.

Apply these changes to your codebase to resolve the TypeScript errors and then attempt to rebuild your project.

see also https://github.com/neo4j-labs/llm-graph-builder/issues/541


[chat] use official transformers and fix some errors

📌 Checklist before creating the PR

[x] I have created an issue for this PR for traceability
[x] The title follows the standard format: [doc/gemini/tensor/...]: A concise description
[ ] I have added relevant tags if possible for us to better distinguish different PRs

🚨 Issue number

Link this PR to your issue with words like fixed to automatically close the linked issue upon merge
e.g. fixed #1234, closed #1234, resolved #1234

Close #4116.
📝 What does this PR do?

Summarize your work here.
if you have any plots/diagrams/screenshots/tables, please attach them here.

💥 Checklist before requesting a review

[x] I have linked my PR to an issue (instruction)
[x] My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
[x] I have performed a self-review of my code
[x] I have added thorough tests.
[ ] I have added docstrings for all the functions/methods I implemented

⭐ Do you enjoy contributing to Colossal-AI?

[ ] 🌝 Yes, I do.
[ ] 🌚 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.

⚠ This PR is not done yet.
The effect of removing prepare_llama_tokenizer_and_embedding hasn't been carefully examined.

Commit 7f7ecba solves #3123.


fix(*): change vaults,keys title

Summary

Checklist

[ ] The Pull Request has tests
[ ] There's an entry in the CHANGELOG
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

[Implement ...]

Issue reference

Fix #[issue number]

Any reason for this change? Could we have a explain?

@raoxiaoyan Please update the description of this PR to include the reason why this change is being made.

This is older than a month so closing out. Please re-open if you wish to pursue it.


get_response_with_auth wrong on cpp?

Hi,
This method seems wrong:-
  virtual pplx::task<std::shared_ptr<http_call_response>> get_response_with_auth(         _In_ const std::shared_ptr<XBOX_LIVE_NAMESPACE::user_context>& userContext,         _In_ http_call_response_body_type httpCallResponseBodyType = http_call_response_body_type::json_body,         _In_ bool allUsersAuthRequired = false         ) = 0;
It takes as a parameter a user_context that is only forward declared in types.h, therefore you can't call std::make_shared with an xbox_live_user.
Am I missing something?
The WinRT version allows you to pass a User and works fine.
Thanks

https://github.com/Microsoft/xbox-live-api/pull/206
should fix it and will be in soon

Awesome, thanks for the fix.

Actually I think its broken with many errors like this:-
1>e:\xbox-live-api-master\source\shared\http_call_impl.h(263): error C3668: 'xbox::services::http_call_impl::get_response_with_auth': method with override specifier 'override' did not override any base class methods (compiling source file E:\xbox-live-api-master\Build\Microsoft.Xbox.Services.140.UWP.Cpp\..\..\Source\Services\Achievements\achievement.cpp)
I'm compiling in 2015 update 3

Oops, fixing incoming

Fixed now https://github.com/Microsoft/xbox-live-api/pull/207


LinkRef can't be recognized when the reference name contains an underscore and there is a "*" in front

[x] Parser

To Reproduce
Create a java project adding flexmark dependency and run the following code.
package flexmark_linkref_bug;

import com.vladsch.flexmark.util.ast.Node;
import com.vladsch.flexmark.parser.Parser;
import com.vladsch.flexmark.test.util.AstCollectingVisitor;
import com.vladsch.flexmark.util.data.DataSet;

public class App {
    public static void main(String[] args) {
        Parser parser = Parser.builder(new DataSet()).build();
        Node document
            = parser.parse("Note:a [INVALID_PARAMETER] error is generated.");
        System.out.println("====Good case if there is no '*'====");
        System.out.println(new AstCollectingVisitor().collectAndGetAstText(document));

        document
            = parser.parse("Note*: [INVALID_PARAMETER] error is generated.");
        System.out.println("====Bad case: LinkRef is not recognized if there is a '*' in front====");
        System.out.println(new AstCollectingVisitor().collectAndGetAstText(document));

        document
            = parser.parse("*Note*: [INVALID_PARAMETER] error is generated.");
        System.out.println("====Bad case: LinkRef is not recognized when using bold text which has a pair of '*'s====");
        System.out.println(new AstCollectingVisitor().collectAndGetAstText(document));

        document
            = parser.parse("Note:* [INVALID] error is generated.");
        System.out.println("====Good case: LinkRef is recognized without underscore in the enum value====");
        System.out.println(new AstCollectingVisitor().collectAndGetAstText(document));

        document
            = parser.parse("This is a test\n" + "\n" +"Note:* [Error.INVALID_PARAMETER] error is generated.");
        System.out.println("====Good case: LinkRef is recognized when there is sentence followed with an empty line====");
        System.out.println(new AstCollectingVisitor().collectAndGetAstText(document));

        document
            = parser.parse("This is a tes\n" + "\n" +"Note:* [Error.INVALID_PARAMETER] error is generated.");
        System.out.println("====Bad case: LinkRef is not recognized when the first sentence is too short====");
        System.out.println(new AstCollectingVisitor().collectAndGetAstText(document));

        document
            = parser.parse("This is a tes\n" + "\n" +"Note:* [INVALID_PARAMETER] error is generated.");
        System.out.println("====Good case: LinkRef is recognized after removing the 'Error.'====");
        System.out.println(new AstCollectingVisitor().collectAndGetAstText(document));
    }
}

Resulting Output :
====Good case if there is no '*'====
Document[0, 46]
  Paragraph[0, 46]
    Text[0, 7] chars:[0, 7, "Note:a "]
    LinkRef[7, 26] referenceOpen:[7, 8, "["] reference:[8, 25, "INVALID_PARAMETER"] referenceClose:[25, 26, "]"]
      Text[8, 25] chars:[8, 25, "INVAL … METER"]
    Text[26, 46] chars:[26, 46, " erro … ated."]

====Bad case: LinkRef is not recognized if there is a '*' in front====
Document[0, 46]
  Paragraph[0, 46]
    Text[0, 46] chars:[0, 46, "Note* … ated."]

====Bad case: LinkRef is not recognized when using bold text which has a pair of '*'s====
Document[0, 47]
  Paragraph[0, 47]
    Emphasis[0, 6] textOpen:[0, 1, "*"] text:[1, 5, "Note"] textClose:[5, 6, "*"]
      Text[1, 5] chars:[1, 5, "Note"]
    Text[6, 47] chars:[6, 47, ": [IN … ated."]

====Good case: LinkRef is recognized without underscore in the enum value====
Document[0, 36]
  Paragraph[0, 36]
    Text[0, 7] chars:[0, 7, "Note:* "]
    LinkRef[7, 16] referenceOpen:[7, 8, "["] reference:[8, 15, "INVALID"] referenceClose:[15, 16, "]"]
      Text[8, 15] chars:[8, 15, "INVALID"]
    Text[16, 36] chars:[16, 36, " erro … ated."]

====Good case: LinkRef is recognized when there is sentence followed with an empty line====
Document[0, 68]
  Paragraph[0, 15] isTrailingBlankLine
    Text[0, 14] chars:[0, 14, "This  …  test"]
  Paragraph[16, 68]
    Text[16, 23] chars:[16, 23, "Note:* "]
    LinkRef[23, 48] referenceOpen:[23, 24, "["] reference:[24, 47, "Error.INVALID_PARAMETER"] referenceClose:[47, 48, "]"]
      Text[24, 47] chars:[24, 47, "Error … METER"]
    Text[48, 68] chars:[48, 68, " erro … ated."]

====Bad case: LinkRef is not recognized when the first sentence is too short====
Document[0, 67]
  Paragraph[0, 14] isTrailingBlankLine
    Text[0, 13] chars:[0, 13, "This  … a tes"]
  Paragraph[15, 67]
    Text[15, 67] chars:[15, 67, "Note: … ated."]

====Good case: LinkRef is recognized after removing the 'Error.'====
Document[0, 61]
  Paragraph[0, 14] isTrailingBlankLine
    Text[0, 13] chars:[0, 13, "This  … a tes"]
  Paragraph[15, 61]
    Text[15, 22] chars:[15, 22, "Note:* "]
    LinkRef[22, 41] referenceOpen:[22, 23, "["] reference:[23, 40, "INVALID_PARAMETER"] referenceClose:[40, 41, "]"]
      Text[23, 40] chars:[23, 40, "INVAL … METER"]
    Text[41, 61] chars:[41, 61, " erro … ated."]

Additional context
The bug was initially reported in the heremaps/gluecodium project: https://github.com/heremaps/gluecodium/issues/1542. After debugging, it's found that the issue is actually in the flexmark library.

This diff seem to be working. However, I feel it might not be the correct fix. The problem is that the function isStraddling tries to find out a delimiter inside the brackets. However, it's unclear to me why if the delimiter is not matching, the LinkRef detection would be skipped later. It's actually quite possible that the link section contains some underscores.
diff --git a/flexmark/src/main/java/com/vladsch/flexmark/parser/core/delimiter/Bracket.java b/flexmark/src/main/java/com/vladsch/flexmark/parser/core/delimiter/Bracket.java
index 89e5050c4..e172d8cb6 100644
--- a/flexmark/src/main/java/com/vladsch/flexmark/parser/core/delimiter/Bracket.java
+++ b/flexmark/src/main/java/com/vladsch/flexmark/parser/core/delimiter/Bracket.java
@@ -92,7 +92,15 @@ public class Bracket {
         // first see if we have any closers in our span
         int startOffset = nodeChars.getStartOffset();
         int endOffset = nodeChars.getEndOffset();
-        Delimiter inner = previousDelimiter == null ? null : previousDelimiter.getNext();
+
+        Delimiter inner = null;
+        if (previousDelimiter != null) {
+            inner = previousDelimiter.getNext();
+            if (inner != null && inner.getDelimiterChar() != previousDelimiter.getDelimiterChar()) {
+                // If the delimiter chars are not matching then we are not straddling
+                inner = null;
+            }
+        }
         while (inner != null) {
             int innerOffset = inner.getEndIndex();
             if (innerOffset >= endOffset) break;


Implement data generation and loader interfaces for CrateDB.

Summary of the changes / Why this is an improvement
The pull request contains the implementation of tsbs interfaces that would enable generation of data for the tsbs devops benchmark use case and loading it into CrateDB.
There are few things that have to be done, like use partitioned tables as metrics tables and support of multiple workers by load.Processor implementation (if needed). I will open those pull request after implementation queries generation interfaces.
Checklist

[x] CLA is signed

@kovrus shall we fix the build as part of this PR?


[dub] remove cfg related to stdx

the source path source/stdx no longer exists and allocator and checkedint have been moved out of there  so this configuration at best does nothing. If we want to re-sub-package phobos we should do that from scratch.

Passes tests, and sets the stage for Phobos3. LGTM

Phobos as it pertains to editions. Not a fork.

But what does this mean?

@TurkeyMan Good question, this document has some of the answer you are seeking: https://github.com/LightBender/PhobosV3-Design/blob/main/Design.md
For the purposes of the question as it pertains to this particular change, we'll be starting to develop Phobos 3 alongside Phobos 2 (current) in the same repo. The design calls for both to ship side-by-side.

Awesome, thanks!
Sorry, odd place for a discussion! Just spotted it out the corner of my eye...
I'm concerned that any work on phobos3 without move semantics implemented (work was started like 5 years ago, but seems to have stalled), will lead to bad design that needs to be reworked again some time in the future.
I've started a small project recently trying specifically to depend on phobos, and the experience is profoundly terrible. I've thought about forking my own standard library so many times. An actual phobos 3 is a huge opportunity.

No worries, and Phobos 3 is a massive opportunity. Which is why we're trying to be at least a little more deliberate about it. And V3 still has a while to cook, it's not due out until the first edition, and that does not even have a date yet.

I posted a nag on the forum about rval ref's; if phobos 3 doesn't have a container library after all this time, then I am will to declare D officially dead ;)

There is a ton of discussion about containers specifically going on in the Discussions area of that repo. It is the hot topic, but there are some hang-ups that need to get sorted out in the language first. I don't know if they'll be ready for V3, but probably V4.

move semantics, that's basically it. is walter just stopped what he's doing and implemented an rvalue reference, then this whole thing would be history 10 years ago.


Move out AddMetric(s) methods from MetricAPI

The majority of the code doesn't need to be able to AddMetric(s) to the metric API, since normal queries aren't allowed to modify the index (they can only read it).
"UI" has been renamed to "web" for clarity.
"Query" has been replaced with "console" for clarity, and no longer uses liner. This removes this dependency from MQE.

LGTM

Just made some changes to the Cached API that are worth looking at before final merge.

Few comments, otherwise LGTM


Some suggestions

Hi everybody!
First of all I want to say I'm loving brackets. It is a great project and a really nice editor.
Secondly I'm not sure if this is the right place to put suggestions as I'm new, but this seemed to be the most appropriate place.
Thirdly, my suggestions:

a disable/enable extensions option, just like google chrome extensions for example.
I find it rather annoying to have remove extensions and restart if I want to figure out which extensions might conflict. Then having to search them again and installing again etc (well you got the point)

an option to turn off auto indent and/or an option to turn off auto indent for every child of the body tag. I don't know if i'm the only one, but I don't like to waste horizontal space for just an intendation for every tag after the body tag (though I must admit it looks cleaner).

Third suggestion is also kinda a question:

What's the easiest way to get brackets plus all my extensions on a new computer or after I format my system? Writing down all the extensions? Copying the folders to an external storage/dropbox?
Maybe something to keep it in the cloud with an account would be nice too?
Thank you for reading.
Kind regards and keep up the good work,
a newbie to programming and web development

@workpants
Disable/enable extensions: Please upvote Enable / Disable Individual Extensions on our feature backlog.  Until then you can disable extensions manually.
Auto indent in HTML: Once your cursor is more deeply nested than the top level, indent should work fine.  But if you want to turn off auto-indent entirely, you can set the smartIndent preference to false.
Migrating to new computer: Choose Help > Show Extensions Folder, and copy this folder to the same location on a new computer.  Then go up one level and copy brackets.json and keymap.json to the same location on the other computer too.  (Note: it's best to do this when Brackets is not running).  For a smoother workflow, please upvote Sync extensions from one computer to another and Settings/Preferences Synchronization across Brackets copies.

@peterflynn
Thank you for answering. Still not sure if this is the right place for my questions, as trello seems more appropriate, so excuse me but I can't post there :)
Anyways, I upvoted that suggestion in the Icebox.
Yes, auto indent works fine. But that extra option would be nice, or maybe I'm just a weird newbie with a rare preference ;).
And yup, I upvoted those last two suggestions too.
Thanks again!

If you make a free account on Trello, you can comment & vote there.  But the best place for Q&A is probably the brackets-dev forum.
When you say "that extra option would be nice" are you thinking of something that goes beyond the existing smartIndent preference?

I don't want to turn off auto-indent intirely. I just don't want it to work on the child elements of body.
So with auto-indent, I always have to backspace to get my elements at the beginning of the line. So I want my child elements of body to be on the same height, which is totally left. But only the child elements of body, not the descendent elements.
It may be an odd style, I admit. The reason is that you only have one body tag so why waste all the horizontal space inside the body for just that one body element? If that makes sense to you. Plus to me it just looks odd, to have a tab space on all those element, though the indent after body looks neater. But you don't have that problem, but only at the opening and closing tag of body, so why bother.
I think my explanation might be vague, for some reason I don't manage to explain this well in English i think.
Here's what I want:

It's a lil silly but okay :)

Ok.  I'll clarify the title to reflect that's the remaining open issue here.  You might be able to write an extension that does this by reconfiguring the CodeMirror mode Brackets uses for HTML, playing with the doNotIndent option...  But my guess is you'd need to patch Brackets core to really do this, since modes don't give you a way to change their settings once created.

Alright thanks again! May be I'm not the only one and then it's not a bad suggestion hehe. Cheers!


docs: add Layer0 deployment guide

Layer0 is an all-in-one platform to develop, deploy, preview, experiment on, monitor, and run your headless frontend. It is focused on large, dynamic websites and best-in-class performance through EdgeJS (a JavaScript-based Content Delivery Network), predictive prefetching, and performance monitoring. Layer0 offers a free tier.

This has no razzle related deployment instructions

@fivethreeo  the Layer0 CLI automatically detects if the project is razzle, and adds all the required things to get it going.
Alternative description could be:
"
Layer0 is an all-in-one platform to develop, deploy, preview, experiment on, monitor, and run your headless frontend. It is focused on large, dynamic websites and best-in-class performance through EdgeJS (a JavaScript-based Content Delivery Network), predictive prefetching, and performance monitoring. Layer0 offers a free tier. Get started in just a few minutes by following Layer0's guide to deploying Razzle.
"


RegistrationForm handleOnSuccess fired twice

Using 1.3.4 handleOnSuccess is fired once but with 2.0.0 is fired twice but onSubmit is fired only one time.

I hacked it this way:
handleOnSuccess = (e, next) => {     if (!this.submitSuccess) {       this.submitSuccess = true;       next();       this.props.onNext();     }   }

Thanks @varun2508 , I also just noticed the same thing.  We'll get this fixed.


Allow v2 and v3 of doctrine for PHP 8 compat

Release 1.1.1 added PHP 8 support but also added the minimum requirement for ^3.0 of doctrine/dbal due to compatibility issues.
Unfortunately, laravel/nova has PHP 8 support but does not yet support v3 of doctrine/dbal  (https://github.com/laravel/nova-issues/issues/3088) and is some time away from that being changed.
This is currently my road block to upgrading to PHP 8.
v2.12.0 of doctrine/dbal added support for PHP 8. I changed this packages requirement to:
doctrine/dbal: "~2.12|^3.0"

I hope you are willing to accept this change so I can continue upgrading to PHP 8 🥳

Thanks!


Problem using client with AWS MSK cluster

I am attempting to set up a process to be run in a lambda with an MSK cluster. As long as I run everything locally, things work well. I use Docker to set up a Kafka instance, I then set up a REST endpoint to talk to it and I am able to produce and consume without issue. When I try to deploy this to AWS, I am facing issues.
I am attaching a copy of the code that I am testing with. As long as I leave out the Confluent.Kafka part, things work well. Once I add those parts in though it appears that I am unable to connect to the MSK instance. Any attempts just time out. Of note is the fact that the AWSSDK.Kafka that I am using does not have an issue in connecting which makes me think that it is not a permissions/ACL/connectivity issue.
The cluster is running v2.8.1 of kafka. The code is being run in an AWS lambda with a .NET core 3.1 runtime. I am working on trying to get logs - but I am new to the entire AWS environment and I haven't figured out how to collect detailed logs as of yet.
I will keep working on that.
There isn't possibly some way of using the AWS ARN to connect instead of the broker URI's? I would imagine not but thought I would ask.
SimpleTest.zip

Okay, I am going to close this ticket. On further researching the matter, it appears to be a mis-configuration issue. I have discovered that the same code run on an EC2 instance does work, so it has something to do with the interaction between the lambda and the MSK instance.


Incorrect resolved url when the FeignClient.path is set and the base url is defined in the properties file

Describe the bug
When the FeignClient.path is set and a url is defined in the properties file, then the incorrect url is constructed. So the call fails with an exception
Steps to reproduce

Set up the target host in the properties file

spring.cloud.openfeign.client.config.withPathAndUrlFromConfigClient.url=http://localhost:7777

Set up the FeignClient.path (which is a common prefix according to the its javadoc)

@FeignClient(name = "withPathAndUrlFromConfigClient", path = "/common")
interface WithPathAndUrlFromConfigClient {

	@GetMapping("/test")
	UrlTestClient.UrlResponseForTests test();

}

Call the test() method.

Actual result: the exception is thrown
java.lang.IllegalArgumentException: target values must be absolute.

	at feign.RequestTemplate.target(RequestTemplate.java:504)
	at feign.Target$HardCodedTarget.apply(Target.java:101)
	at feign.SynchronousMethodHandler.targetRequest(SynchronousMethodHandler.java:126)
	at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:91)
	at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:70)
	at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:96)
	at org.springframework.cloud.openfeign.$Proxy187.test(Unknown Source)
	at org.springframework.cloud.openfeign.NonRefreshableFeignClientUrlTests.shouldInstantiateFeignClientWhenUrlFromPropertiesAndPathInTheFeignClientAnnotation(NonRefreshableFeignClientUrlTests.java:93)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

Expected result: the url http://localhost:7777/common/test is called.
Note: when I hardcode the url into the FeignClient.url then it works fine.
Spring Cloud Open Feign version: 4.0.4
Sample
https://github.com/spring-cloud/spring-cloud-openfeign/pull/924 demonstrates the issue

Hi @AlexElin - thanks for reporting the issue.

Closed with commits:

502613bb740957e9d96feec99077c6ccc0e75351
bd5701d564662d9c04b20ae87290666b636a63bc
44657956422bd30deeb4881bf73901a7b906894a
c99923bec2fbd8222eeb131f06d720064a708e5f
5ccec848a6634295a2950c80c952b8b0c88595b5


i cant press anything after going into someones profile

also i dont know who floppyfishh is so idk how i keep going into his levels (the keyboard works but not the mouse for some reason)
https://github.com/user-attachments/assets/05f969ce-4cbf-4ee2-b0a2-8ec95b75223d
idk if the video shows or not

is this still an issue on the latest version?

i dont think it happens anymore i think its fixed

closing then, reopen the issue if it happens again


Add XSS Headers to the code

The code should have XSS headers or anyone can run scripts on the webpage and easily steal information and the whole venture will go for waste as it is already open source so this security has to be ensured.

Description

Resolves #(issue number)
What does your PR belong to?

[ ] Questions / Answers
[ ] Website
[ ] General / Things regarding the repository (like CI Integration)

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (non-breaking improvement of a question)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have checked that the changes are working properly
[ ] I have checked that there isn't any PR doing the same
[ ] I have read the CONTRIBUTING document.

This pull request needs to be opened as an issue since there is no new code being submitted


Feature/autocomplete non js fallback

A new property customNonJSComp is added to Autocomplete component to resolve the performance issue experienced for SD and PS journey.

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

Project coverage is 100.00%. Comparing base (cbca8ba) to head (28703f7).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff               @@
##           release/1.1.0      #661   +/-   ##
===============================================
  Coverage         100.00%   100.00%
===============================================
  Files                 85        85
  Lines               1580      1585    +5
  Branches             555       556    +1
===============================================
+ Hits                1580      1585    +5

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


partners: add xAI chat integration

lgtm aside from serialization comments (note will need to rerun unit tests with snapshot update make test_watch to generate snapshots)

Support for grok-vision-beta?


Support INVALID opcode

See: https://github.com/ethereum/EIPs/issues/141

Yes, this is the opcode I want (to prioritise) ! :)

Superceded by REVERT (I believe)

This is trivial to implement - already happens implicitly, we just need to add it.

Merged, see https://github.com/hyperledger/burrow/pull/757


Could the AccordionItem heading be a div instead of a button?

Describe in detail the issue you're having.

The heading of the AccordionItem is a <button>.  I think in some browsers, when you click inside a button, it just counts as clicking on the button instead of clicking on the specific element.  I know it is like this in Firefox, but not Chrome - I am not sure about other browsers.
Could it be changed to a <div> so that we can click on specific items inside of the header?
See here: https://codesandbox.io/s/6j2njyj7pz

Is this issue related to a specific component?

AccordionItem

What browser are you working in?

Chrome/Firefox

Hi 👋 thank you for reporting! If I understand your concern correctly, clicking of an inner-element causes click event firing on the inner-element as well as the outer-element, regardless of <div> vs. <button> (ref). That said, you may want to try onSpanClick = evt => { evt.stopPropagation(); } if it was your intent?

I think in Firefox, clicking a <button>'s inner element causes the click event to fire ONLY on the <button>.  The onSpanClick function is never called.

I see thank you for clarifying @kevinkbender! I see you need to hook the event on the <button> with Firefox. Given I believe <button> tag choice is for expressing the context of the expando - Are you interested in explaining your motivation to use <div> there?

We're trying to put some options with checkboxes inside the body of the AccordionItem.  We also want to put a checkbox in the heading of the AccordionItem, which you can use to check/uncheck all the checkboxes in the body.

@aagonzales @designertyler Do you think check box in accordion heading is something that makes sense as Carbon design? Thanks!

Going to close this as a duplicate of #1178. Feel free to move the conversation over there!


UWP app

Hello is here any possibility to run your code on .net core? I tried to install alea into my UWP project via nuget but I failed. Can you help me with this? I am working on my master thesis to school it's AI tool for Universal Windows platform.

Dear Jan
I regret that we do not have the capacity to support you in this matter. .NET core is on our list but currently there are different commercial interests.
Alea TK is not further developed anymore. As it is open source you are welcome to explore the options and provide a pull request.
I am not sure how well the underlying compiler Alea GPU would run on .NET core as we do not yet support it. Also .NET core is not a priority here either
I am sorry to disappoint you.
Best regards, Daniel
From: Ján Janušek<EMAIL_ADDRESS>Sent: Sunday, July 30, 2017 11:38 PM
To: quantalea/AleaTK<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [quantalea/AleaTK] UWP app (#11)
Hello is here any possibility to run your code on .net core? I tried to install alea into my UWP project via nuget but I failed. Can you help me with this? I am working on my master thesis to school it's AI tool for Universal Windows platform.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/quantalea/AleaTK/issues/11, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADUAU-xnaYeqAUEsgOkjum49pwm3EQXRks5sTPe0gaJpZM4OnwRH.


Can not create a sprite image

I'm trying to create a sprite file, I've tried so many task cases here is the one of them :
gulp.task('sprite:build',function() {         var spriteData = gulp.src(path.src.imgSprite)         .pipe(spritesmith({             imgName: 'icons-sprite.png',             cssName: 'icons-sprite.scss',             imgPath: path.build.imgSprite + 'icons-sprite.png'         }));         console.log('output folder : ' + path.build.imgSprite);         return (spriteData.pipe(gulp.dest(path.build.imgSprite)));     });
It doesn't create any file. neither css nor img file.

It sounds like there are no images being found by gulp.src. Can you verify path.src.imgSprite is correct?
https://github.com/twolfson/gulp.spritesmith/blob/6.2.1/lib/gulp-spritesmith.js#L108-L112

here is my gulpfile : http://jsbin.com/rizaqoyise/edit?js
the directory is really exists
7 Nis 2016 20:41 Perşembe tarihinde Todd Wolfson<EMAIL_ADDRESS>şöyle yazdı:

Closed #85.—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Everything looks fine, I suggest using gulp-debug to verify the input files are being found:
https://www.npmjs.com/package/gulp-debug

Here is the output after I've implemented gulp-debug :
[10:12:23] Using gulpfile C:\Bitbucket\jumanji\Jumanji.Assets\Gulpfile.js
[10:12:23] Starting 'sprites'...
[10:12:23] Finished 'sprites' after 33 ms
[10:12:23] files: Static\src\img\sprite-icons\ico-arrow-down-black.png
[10:12:23] files: Static\src\img\sprite-icons\ico-arrow-left-black.png
[10:12:23] files: Static\src\img\sprite-icons\ico-close-white.png
[10:12:23] files: Static\src\img\sprite-icons\ico-horoscope-capricon.png
[10:12:23] files: Static\src\img\sprite-icons\ico-search.png
[10:12:23] files: Static\src\img\sprite-icons\ico-social-account.png
[10:12:23] files<EMAIL_ADDRESS>[10:12:23] files: 7 itemsProcess terminated with code 0.
Here is the task :
gulp.task('sprites', function () {        gulp.src('Static/src/img/sprite-icons/**/.')        .pipe(debug({ title: 'files:' }))        .pipe(spritesmith({            cssName: '_sprites.scss', // CSS file            imgName: 'sprites.png' // Image file        }))        .pipe(gulpif('.png', gulp.dest('Static/dist/img/sprite')))        .pipe(gulpif('.scss', gulp.dest('Static/dist/img/sprite')))    });
I still have same issue :(
9 Nis 2016 7:25 Cumartesi tarihinde Todd Wolfson<EMAIL_ADDRESS>şöyle yazdı:

Everything looks fine, I suggest using gulp-debug to verify the input files are being found:https://www.npmjs.com/package/gulp-debug—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

In the latest task, it's missing a return so gulp doesn't know to wait for the pipe to finish before exiting. Here's a fixed task:
gulp.task('sprites', function () {
    return gulp.src('Static/src/img/sprite-icons/**/*.*')
        .pipe(debug({ title: 'files:' }))
        .pipe(spritesmith({
            cssName: '_sprites.scss', // CSS file
            imgName: 'sprites.png' // Image file
        }))
        .pipe(gulpif('*.png', gulp.dest('Static/dist/img/sprite')))
        .pipe(gulpif('*.scss', gulp.dest('Static/dist/img/sprite')))
});

It is still a nightmare :/
here is its output :
[10:11:41] Using gulpfile C:\Bitbucket\jumanji\Jumanji.Assets\Gulpfile.js[10:11:41] Starting 'sprites'...[10:11:41] files: Static\src\img\sprite-icons\ico-arrow-down-black.png[10:11:41] files: Static\src\img\sprite-icons\ico-arrow-left-black.png[10:11:41] files: Static\src\img\sprite-icons\retina\ico-arrow-down-black@2x.png[10:11:42] files: 7 items
Process terminated with code 0.
12 Nis 2016 1:13 Salı tarihinde Todd Wolfson<EMAIL_ADDRESS>şöyle yazdı:

In the latest task, it's missing a return so gulp doesn't know to wait for the pipe to finish before exiting. Here's a fixed task:gulp.task('sprites', function () {
return gulp.src('Static/src/img/sprite-icons/**/.')
.pipe(debug({ title: 'files:' }))
.pipe(spritesmith({
cssName: '_sprites.scss', // CSS file
imgName: 'sprites.png' // Image file
}))
.pipe(gulpif('.png', gulp.dest('Static/dist/img/sprite')))
.pipe(gulpif('.scss', gulp.dest('Static/dist/img/sprite')))
});—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

It's possible there's an error in your images although the exit code should be non-zero. Can you try another image like:
https://github.com/twolfson/gulp.spritesmith/blob/6.2.1/test/test-files/sprite1.png

I need your help :(
12 Nis 2016 10:14 Salı tarihinde Murat Dogan<EMAIL_ADDRESS>şöyle yazdı:

It is still a nightmare :/
here is its output :
[10:11:41] Using gulpfile C:\Bitbucket\jumanji\Jumanji.Assets\Gulpfile.js[10:11:41] Starting 'sprites'...[10:11:41] files: Static\src\img\sprite-icons\ico-arrow-down-black.png[10:11:41] files: Static\src\img\sprite-icons\ico-arrow-left-black.png[10:11:41] files: Static\src\img\sprite-icons\retina\ico-arrow-down-black@2x.png[10:11:42] files: 7 items
Process terminated with code 0.
12 Nis 2016 1:13 Salı tarihinde Todd Wolfson<EMAIL_ADDRESS>şöyle yazdı:

In the latest task, it's missing a return so gulp doesn't know to wait for the pipe to finish before exiting. Here's a fixed task:gulp.task('sprites', function () {
return gulp.src('Static/src/img/sprite-icons/**/.')
.pipe(debug({ title: 'files:' }))
.pipe(spritesmith({
cssName: '_sprites.scss', // CSS file
imgName: 'sprites.png' // Image file
}))
.pipe(gulpif('.png', gulp.dest('Static/dist/img/sprite')))
.pipe(gulpif('.scss', gulp.dest('Static/dist/img/sprite')))
});—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

I'm trying to help you. My last comment was to establish a program that we know works (sanity check). What was the result of using 1 of our images as your gulp.src?


[FLINK-33470] Implement restore tests for Join node

What is the purpose of the change
Implement restore tests for Join node

Adds a clearData method to clean up the TestValuesFactory between RestoreTests.

Verifying this change
This change added tests and can be verified as follows:

Added restore tests for Join node which verifies the generated compiled plan with the saved compiled plan

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

This PR adds back the JoinRestore tests (https://github.com/apache/flink/pull/23680) which were reverted (https://github.com/apache/flink/pull/23861) after CI failures.
The issues was that other tests using the same factory name in the TestValuesFactory were reused between tests and the RestoreTestBase was not cleaning them up.
This PR adds a method to clean up the TestValuesFactory between tests.  This should be sufficient as long as multiple RestoreTests are not run concurrently.


Removed manual request of portrait screen orientation in Application class (no related issue)

Screen orientation is already set to portrait in AndroidManifest.xml
Since this is only a very minor change I skipped the creation of a dedicated issue

Description

Currently, the app only supports portrait mode. Since #738, the screen orientation is now requested via the AndroidManifext.xml (See l. 41,  l. 51,  l. 56).
The only exception is CaptureActivity which uses fullSensor as seen in  l. 61.
@SebastianWolf-SAP - could you clarify on how the CaptureActivity should behave*? Neither before my change, nor after the change, the Capture Screen rotates to landscape (nor any other orientation). However, since the orientation is not locked via the application class's onActivty anymore, the CaptureActivity now should orient itself but it stays in portrait mode.
*Latest change in L61 was made by you, so I assume you are the best person to ask.

We are switching our branching approach, dev is going to be deleted, to do this there can't be any open PRs against it. I'm switching this PR to master, before merging this PR switch it to a fitting target release branch, i.e. release/1.X.Y

@d4rken it would be appreciated if someone would take a look at the pull
request. The fitting release branch would be "whatever comes after the
review". My work here is done ;)
Matthias Urhahn<EMAIL_ADDRESS>schrieb am Mo., 21. Sept. 2020,
10:25:

We are switching our branching approach, dev is going to be deleted, to
do this there can't be any open PRs against it. I'm switching this PR to
master, before merging this PR switch it to a fitting target release
branch, i.e. release/1.X.Y
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/corona-warn-app/cwa-app-android/pull/779#issuecomment-695974262,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAM6YFDGTU52TEXOH6ZAXHDSG4EXJANCNFSM4OKP5XLA
.

Will close this. See Follow-Up PR #1272

Thanks.
Mert Safter<EMAIL_ADDRESS>schrieb am Do., 1. Okt. 2020, 14:04:

Closed #779 https://github.com/corona-warn-app/cwa-app-android/pull/779.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/corona-warn-app/cwa-app-android/pull/779#event-3829094923,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAM6YFEYQUQ3LUHB2RBH4E3SIRV6PANCNFSM4OKP5XLA
.


Logrotate custom schedule

Hi,
I dont like mixing singularity logrotate configs with my system logrotate configs, because some directives are outside of file scope, and that affects other config files in the folder. So I set that singularity executor creates logrotate configs in separate directory.
But how and when executor runs logrotate? How to control it? Is there a way to set it globally or per deploy?

A few configurable parameters here:
On the SingularityExecutorConfiguration (i.e. defaults shared for al executors on a host) there is a property called logrotateConfDirectory, which is the directory that the logrotate files will be written to. There are a few others in there as well to control the default directory to rotate things to, number to keep, etc.
On the SingularityDeploy there is a field in executorData.logrotateFrequency which controls the timing. MONTHLY, WEEKLY, and HOURLY settings all just trigger a logrotate conf file to be written, and logrotate takes care of the rest (except for a manual logrotate when the task is shutting down). An HOURLY setting will additionally write a cron file to run logrotate since not all logrotate versions support hourly rotation

Thanks for answer.
It would be nice if we can choose logrotateFrequeny in UI deploy page.

Will reopen this so we remember to add that field in the deploy form 👍

Hi,
this seems to be forgotten?

@kwm4385 will be shepherding the PR above to master sometime this week.


Add end-to-end tests

I deleted the existing end-to-end tests when switching to headless Chrome. I should add some new ones.

It's not exactly end-to-end[1], but 69e1244187130f49eced1a4c900fd6f7ce514d22 added a test that calls parseTimeline on a few saved DOM files and checks the resulting output against golden files. This will hopefully make it easy to see parsing changes.

What would that mean? Running a web server that serves a bunch of different HTML and JS files?

It's not exactly end-to-end[1], but 69e1244187130f49eced1a4c900fd6f7ce514d22 added a test that calls parseTimeline on a few saved DOM files and checks the resulting output against golden files. This will hopefully make it easy to see parsing changes.

What would that mean? Running a web server that serves a bunch of different HTML and JS files?


Installing from LuaRocks does not work

The command luarocks install --server=http://luarocks.org/dev nfd from https://luarocks.org/modules/alloyed/nfd doesn't seem to work.
➜  ~ luarocks install --server=http://luarocks.org/dev nfd

Error: No results matching query were found.

System information
➜  ~ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.11.5
BuildVersion:	15F34

➜  ~ luarocks --version
/usr/local/bin/luarocks 2.3.0
LuaRocks main command-line interface

Hi! I was surprised somebody tried installing nfd this early in development. The reason luarocks couldn't find the build I uploaded was because at the time I had only written up a buildscript for Linux systems. If you're still interested, I've just pushed an updated script for Mac OSX that seems to work after a tiny bit of preliminary testing. You can try this one out using:
$ luarocks install https://raw.githubusercontent.com/Alloyed/nativefiledialog/master/lua/nfd-scm-1.rockspec


Dask not properly supported when creating binaries with PyInstaller

What happened?
I was trying to do a binary from a library but an error throws, once the executable file is already created:
ValueError: unrecognized chunk manager dask - must be one of: []
There is an issue already created Issue 7856 but is marked as closed. There, they talk about the implementation between array and dask, which seems to be the problem. Anyway, I can run the minimal complete example (and the library too) perfectly in my computer but then, once the library is created is seems to not be correctly handled.
What did you expect to happen?
That after creating the binary the executable file works like in the computer when I run it.
In the minimal example, I've used the code from the original bug. The only thing, though, is that afterwards I create a binary with it: >python -m PyInstaller my_file.py (and follow the instructions for the my_file.spec).
After creating the binary, the executable file doesn't work anymore.
Minimal Complete Verifiable Example
import numpy as np
import pandas as pd
import xarray as xr

t_size = 800
t = np.arange(t_size)
var = xr.Variable(dims=("T",), data=np.random.randn(t_size)).chunk()

MVCE confirmation

[X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[X] Complete example — the example is self-contained, including all data and the text of any traceback.
[ ] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[X] New issue — a search of GitHub Issues suggests this is not a duplicate.
[ ] Recent environment — the issue occurs with the latest version of xarray and its dependencies.

Relevant log output
Traceback (most recent call last):
  File "my_file.py", line 8, in <module>
  File "xarray\core\variable.py", line 1250, in chunk
  File "xarray\core\parallelcompat.py", line 93, in guess_chunkmanager
ValueError: unrecognized chunk manager dask - must be one of: []
[PYI-5828:ERROR] Failed to execute script 'my_file' due to unhandled exception!

Anything else we need to know?
I'm not sure if the bug is on your side or the handling of the dependencies on the PyInstaller side, I'm sorry if it s not relevant for you (but the previous bug seems to make it a little similar to it).
Environment

INSTALLED VERSIONS
commit: None
python: 3.12.6 (tags/v3.12.6:a4a2d2b, Sep  6 2024, 20:11:23) [MSC v.1940 64 bit (AMD64)]
python-bits: 64
OS: Windows
OS-release: 11
machine: AMD64
processor: Intel64 Family 6 Model 85 Stepping 7, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: ('English_United Kingdom', '1252')
libhdf5: 1.14.3
libnetcdf: 4.9.2
xarray: 2023.7.0
pandas: 2.2.2
numpy: 1.26.4
scipy: 1.14.1
netCDF4: 1.7.1.post2
pydap: None
h5netcdf: 1.3.0
h5py: 3.11.0
Nio: None
zarr: 2.18.2
cftime: 1.6.4
nc_time_axis: 1.4.1
PseudoNetCDF: None
iris: None
bottleneck: 1.4.0
dask: 2024.8.1
distributed: 2024.8.1
matplotlib: 3.9.2
cartopy: None
seaborn: 0.13.2
numbagg: 0.8.1
fsspec: 2024.6.1
cupy: None
pint: None
sparse: None
flox: 0.9.10
numpy_groupies: 0.11.2
setuptools: 73.0.1
pip: 24.2
conda: None
pytest: 8.3.3
mypy: 1.11.2
IPython: None
sphinx: None

Hi @uriii3 - I'm not sure exactly what is going on here, but are you completely sure that PyInstaller is installing dask and everything it needs? Normally this error basically just means that dask is not installed.

Hello, thanks a lot for the quick response. I'm not that sure, I also created an issue in their repo (here). Definitely looks like a problem on the libraries, although because of this issue I thought that it might still have something to do with your library or that you could maybe point me in a closer direction to the solution.
If it is something about the libraries I'll keep fighting with them, no worries and thank you very much.


Investigate expansion of SubscriptionFilter to allow non-simplistic filtering

Currently the SubscriptionFilter input allows direct value comparisons. Since we are going to route of in-memory subscription filtering this can be expanded to be more aligned with the model filter input in the findBy query.
NoteFilter
input NoteFilter {
  id: IDInput
  title: StringInput
  opened: BooleanInput
  likes: IntInput
  completedPercentage: FloatInput
  and: [NoteFilter!]
  or: [NoteFilter!]
  not: NoteFilter
}

NoteSubscriptionFilter
input NoteFilter {
  id: ID
  title: String
  opened: Boolean
  likes: Int
  completedPercentage: Float
}

Will it be straightforward to implement this advanced filtering on subscriptions?
What operators should be used? All the same as in findBy?
Can we reuse the same filter input, or should the SubscriptionFilter? Depends on answer to 2.

If we were to use simpliar filters to findBy (see description), exclude relationship filtering, and AND/OR/NOT operators from subscription filtering, the complexity and of an in-memory subscription filter would be O(n^³).
It would actually be much simpler to implement than the database layer query mapping, because it would operate directly on the data, whereas the Mongo and Knex query mappers have to build a query from the filters.
Here is how the filter would look:
const filter = {
  id: {
    gt: 10,
    lt: 100
  },
  title: {
    startsWith: 'hello'
  },
  likes: {
    gt: 100
  },
  enabled: {
    eq: true
  }
}

return withFilter(asyncIterator, (payload: any) => {
  const subscriptionPayload = payload[subscriptionName]

  for (const [filterFieldName, operators] of Object.entries(filter)) {

    const subscriptionFieldValue = subscriptionPayload[filterFieldName]

    for (const [operatorKey, filterValue] of Object.entries(operators)) {
      const matchesValue: boolean = operatorMap[operatorKey](subscriptionFieldValue, filterValue)

      if (!matchesValue) {
        return false
      }
    }
  }

  return true
})

I think if we are to add this level of filtering to the subscriptions, any more (AND/OR/NOT/Relationships) would further increase complexity and might impact performance.
cc @wtrocki @machi1990

@craicoverflow missed this somehow. I was thinking maybe we could build the Predicate, by composing operators matchers upon the reception of subscription and pass the resulting filter to the withFilter(..) fn.
So building the Predicate filter could be a one off thing and the rest will be just operating on it.

What it is doing on master is wrapping withFilter:
return withSubscriptionFilter(() => asyncIterator, filter, subscriptionName)()

...

export function withSubscriptionFilter(asyncIterator: ResolverFn, filter: any, subscriptionName: string): ResolverFn {
  if (!filter) {
    return asyncIterator
  }

  return withFilter(asyncIterator, (payload: any) => {
    const subscriptionPayload = payload[subscriptionName]

    for (const key of Object.keys(filter)) {
      if (!subscriptionPayload[key] || subscriptionPayload[key].toString() !== filter[key].toString()) {
        return false
      }
    }

    return true
  })
}

But we might not need to use withFilter at all if we simply implement all of the filtering logic in a custom AsyncIterator wrapper, like described in graphql-subscriptions. Is this something like what you had in mind?

What it is doing on master is wrapping withFilter:
return withSubscriptionFilter(() => asyncIterator, filter, subscriptionName)()

...

export function withSubscriptionFilter(asyncIterator: ResolverFn, filter: any, subscriptionName: string): ResolverFn {
  if (!filter) {
    return asyncIterator
  }

  return withFilter(asyncIterator, (payload: any) => {
    const subscriptionPayload = payload[subscriptionName]

    for (const key of Object.keys(filter)) {
      if (!subscriptionPayload[key] || subscriptionPayload[key].toString() !== filter[key].toString()) {
        return false
      }
    }

    return true
  })
}

But we might not need to use withFilter at all if we simply implement all of the filtering logic in a custom AsyncIterator wrapper, like described in graphql-subscriptions. Is this something like what you had in mind?

I was thinking of using withFilter but instead of going iterating the filter object every time an item needs to be sent, I was hoping we could do a one off construction of a Predicate.

I think if we are to add this level of filtering to the subscriptions, any more (AND/OR/NOT/Relationships) would further increase complexity and might impact performance.
cc @wtrocki @machi1990

+1 on starting small and improve later on.


Split up micro images even further into explicit "curl" and "scm" variants

Documentation in https://github.com/docker-library/docs/pull/140

cc @proppy

LGTM

On a slightly related note, we should drop meta packages (like build-essential) and install things explicitly (maybe even with --no-install-recommends).

Ah, I don't know if the definition of build-essential has changed, or if I just never looked into it deeply enough (because it was my understanding that it was supposed to be just the essential packages required to compile basic software), but it clearly isn't, and is more specific to Debian packaging: (https://packages.debian.org/sid/build-essential)

This package contains an informational list of packages which are considered essential for building Debian packages. This package also depends on the packages on that list, to make it easy to have the build-essential packages installed.

Clearly not at all what we're after, and thus I agree with replacing it with more specific deps.  I'm not 100% sold on --no-install-recommends in the base Dockerfiles, but I'd be interested what packages we lose by doing so such that we can make an informed decision either way.


Error building.

---> Running in ed364571ebf7
--2021-03-28 09:57:17--  https://github.com/cachethq/Cachet/archive/2.3.18.tar.gz
Resolving github.com... <IP_ADDRESS>
Connecting to github.com|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/CachetHQ/Cachet/tar.gz/2.3.18 [following]
--2021-03-28 09:57:17--  https://codeload.github.com/CachetHQ/Cachet/tar.gz/2.3.18
Resolving codeload.github.com... <IP_ADDRESS>
Connecting to codeload.github.com|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-03-28 09:57:18 ERROR 404: Not Found.
ERROR: Service 'cachet' failed to build: The command '/bin/sh -c wget ${archive_url} &&     tar xzf ${cachet_ver}.tar.gz --strip-components=1 &&     chown -R www-data:root /var/www/html &&     rm -r ${cachet_ver}.tar.gz &&     php /bin/composer.phar global require "hirak/prestissimo:^0.3" &&     php /bin/composer.phar install -o &&     rm -rf bootstrap/cache/*' returned a non-zero code: 8

Hi try this !!
cachet:
    build:
      context: .
      args:
        - cachet_ver=v2.3.18

Thanks for the comment, I have since moved on to other projects. I will close this as no other user has reported the same issue.


website needs improvement in texts and adding some visual items

Can I work on this?

yes, @anubhav1206.

please assign to me #gssoc24

Hey @1Shubham7, I would like to work on this issue, Kindly Assign this to me

Can you please assign this issue to me?

Can you please assign this issue to me?

can you please assign this to me!and mark it for GSSOC

@1Shubham7 I can add some fantastic fonts and also adding some background images will look better. I am interested in working on this issue.

@1Shubham7 please assign this issue to me.

@1Shubham7 , if its still open please assign this issue to me under the tage hacktoberfest,thank you


fix: CE-1266

https://env-ceds.atlassian.net/jira/software/c/projects/CE/boards/4?selectedIssue=CE-1266

Thanks for the PR!
Deployments, as required, will be available below:

Frontend
Backend

Please create PRs in draft mode.  Mark as ready to enable:

Analysis Workflow

After merge, new images are deployed in:

Merge Workflow

@nayr974 the second issue seems to work but the first one still does not:
1. Find two complaints with no outcome

2. Close one as a duplicate of the other

3. Close the other one as "No Action Required" (validation error preventing it)

@afwilcox Fixed

@afwilcox

@nayr974 the second issue seems to work but the first one still does not:
1. Find two complaints with no outcome

2. Close one as a duplicate of the other

3. Close the other one as "No Action Required" (validation error preventing it)

Fixed


Update chronos marathon.json with updated image

Need this to work with latest mesos

a version update like this would require a dcos version update... so this would increment chronos dcos version from 0 to 1.. and add an entry in the index.
Is that something you can add to this PR or should I create another and close this one?

i think i have done this correctly. Is there something I am missing?

first glance it looks correct.  I'll comb thru and test now.

and thx!

LGTM and tested!  Thanks for the help!


Folder configurations not effective

Actual behaviour:
I have the following cypress-image-diff-html-report.config.js (located in project root)
import { defineConfig } from 'cypress-image-diff-html-report'
export default defineConfig({
// config options
reportJsonDir: 'reports',
outputDir: 'reports',
baseDir : 'reports'
})
But the generated reports are written to
<project-root>/cypress-image-diff-html-report
Expected behaviour:
The configured folders have any effect, so that I can customize the file locations.

@tester-at-bmi should be cypress-image-diff.config.js and cypress-image-diff-html-report.config.js, in .js extension
@jamesdiener I did some investigation about this situation. It turns out that you have provided the wrong path to the source report json, instead of exit and throwing an error, the plugin actually proceeds with the default config, which is unintentional. I'll create a pull request for this bug shortly.
However, as long as you provide a valid directory to the source json, everything should be fine.
In your case, <project-root>/reports seems to not exist. I don't know what you have in your cypress-image-diff.config.js file, but you should specify REPORT_DIR, this is to tell cypress-image-diff where to spit out the json, and reportJsonDir in cypress-image-diff-html-report.config.js is to tell where to pick it up. You should have them both stated.
Note: baseDir should be removed from your setup. baseDir is there to only specify the relative difference in hierarchy between the roots of  cypress-image-diff-html-report and cypress-image-diff, refer to this docs. Therefore, I find people rarely in need of using it, only in the case where you want all your tests in one place and reports in another place that is hierarchically different. Maybe baseDir is not a precise choice of word for this variable, we'll rename it in the next breaking change.


Update changelog

Description of Changes
Update the changelog for a new release
Please check that the PR fulfills these requirements

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
[x] Add a changelog entry (for non-trivial bug fixes / features)
[x] CI passes

Log Files
Logs / Second
CPU Avg (%)
CPU Avg Δ (%)
Memory Avg (MB)
Memory Avg Δ (MB)

1
1000
3.0862517
-0.7413602
35.606544
-0.052131653

1
5000
9.207072
+0.53425026
46.13335
+0.61691666

1
10000
16.172844
-1.3794498
57.3917
-1.2807121

1
50000
73.89982
+2.3461075
225.08742
+34.521545

1
100000
146.52834
+1.8835144
303.6957
+2.6462708

10
100
5.413923
+0.3620906
32.525593
-1.0405426

10
500
10.845001
-0.48286438
42.62042
-2.6493835

10
1000
19.328423
-0.63723755
56.816273
-1.410965

10
5000
81.08801
+2.6216888
192.15073
-9.781662

10
10000
154.23456
+1.6372986
304.33392
-17.592133


how to add raw data callback to camera in server code

Hello
I want to use RegRawDatacallback in server.
there are both of RegDataCallback & RegSubDataCallback but not RegRawDatacallback .
according your codes for two above exited callbacks, I add codes for RegRawDatacallback .
but I do not know how to implement Camera::RawDataHandler1(RawFrame& frame) .
Please help me to complete this method.
Thanks

i am sorry, you need write new class for get the encoded data and use VPlay to decode the frame.

Can I get decoded frame in Cameraimpl.hpp in method Camera::DataHandler1(VideoFrame& frame) ?
If I want to show decoded frame in this method, Can I convert parameter (VideoFrame& frame) to cv::mat to see frame in window ?
thanks for your attention


#488 - Added resolution/quality support for webcam capture

Hey, are you back d3agle? :)
Thanks for this, did you test it as I don't have a webcam?

Yep I'm back with some free time! xD
I tested with multiple video sources and to the best extent I could, everything is working great.
This revision of the AForge API doesn't support frame rate, but the frame rate seems to be adjusted with the resolution/quality of the video device (lower resolution = higher frame rate).

Okay cool. :+1:
Do you think we should update the included AForge classes?

I'm not 100% which revision is included, but it appears to be the latest (v2.2.5 - 07/16/2013) after cross referencing the included classes with the 2.2.5 AForge source files.


add function to find the surface area of a cube

#1930
What's being changed:
This returns the surface area of a cube based on the passed-in surface area of each side

Sorry but issue #1930 has already been assigned to someone else

Sorry but issue #1930 has already been assigned to someone else

Guess there was a mixup, but that's alright moving on to other issues.


Fixed bug: all objects with a specific label cannot be displayed if a…

…t least one tag with the label exist

Motivation and context
Resolve #2418
How has this been tested?
Manual testing
@dvkruchinin Hi, could you please write a test to check this issue?
Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[x] I have linked related issues (read github docs)
[x] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Hi. Yes, of course. I will write a test to test this fix.

Coverage remained the same at 62.831% when pulling 926d19b51a4ec3d899d679694a6cb713ec29a0c7 on bs/fixed_issue_2418 into a9b28175626768305811a63fcbebd3d9baf6553a on develop.


Support RTL

Hi, I'm using react virtual grid columns and rows to build a table, when switching to RTL it doesn't render in opposite direction, I have solved this issue by changing the transformX to render from end to start, but the overscan for columns will leave the table empty on scrolling, the only way to solve it by making overscan a huge number to display all columns or they will disappear on scrolling, this makes the performecr so slow on rtl direction, any solution? Thanks

@piecyk @petersendidit @mogelbrod @oskarhane no support for RTL?

We'll try and fit this into v3.

As version 3 is released now, any improvements on this issue?

@tannerlinsley still having trouble with rtl in horizontal mode. any plans on this?


Tic-Tac-Toe

Hi @HarshwardhanPatil07 ,I want to add  Tic-Tac-Toe game HTML so please assign this issue to me with hacktoberfest label.
Thanks !

@vishwajeetfate already exists

Hi @HarshwardhanPatil07, I checked repository I am not able to find TIC-TAC-TOE game in repository, kindly check it once .
Thanks!


Add EP device type(s) in Endpoint list

Hello,
That would be nice if we had device type(s) in Endpoint list.
This would avoid having to open the EP to see the associated device type(s).
https://github.com/home-assistant-libs/python-matter-server/blob/bf49ef4e96e81efe39c60dd47bb73f27fa573d3f/dashboard/src/pages/matter-node-view.ts#L61-L80

We already have this in the matter-endpoint-view.ts:
https://github.com/home-assistant-libs/python-matter-server/blob/bf49ef4e96e81efe39c60dd47bb73f27fa573d3f/dashboard/src/pages/matter-endpoint-view.ts#L71-L81
I'll look into how to make this addition.
Regards

Here's what I'd like it to look like:

Fixed by

#942


Compiling issue of libHalf.so

/usr/bin/ld: CMakeFiles/mapping_tests.dir/mapping.cpp.o: undefined reference to symbol '_ZN4half5_eLutE'
/usr/bin/ld: /lib/x86_64-linux-gnu/libHalf.so.24: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

This may help: https://github.com/lucasw/vdb_mapping/tree/ubuntu_2304

Hey Michael, hey Lucas,
your changes should already be merged into the main branch by your previous pull request and it should work by now. At least I tested it on a 20.04 and 22.04 system. Did you pull the latest Version of the core library?

Oh and thinking about it, which OpenVDB Version is currently installed on your system? I haven't run it with the apt version on 20.04 for a long time and it might be necessary to install a newer version.

Yes, It is the apt version vdb (I think it's 6.2) that actually fails. I upgraded it to 9.1.0 through the official website and now it works. But to make the 9.1.0 version work on ubuntu 20.04. I also need to upgrade the BOOST to 1.73.0

Okay good to know, I always used the 9.0 version on my 20.04 and didn't had any further problems with boost or anything else (Currently i have 1.71 on my system). However not sure yet if and how to keep the compatibility to older VDB versions.

I have libopenvdb-dev 10.0.1-1ubuntu1 on 23.04

Fixed in https://github.com/fzi-forschungszentrum-informatik/vdb_mapping/pull/6


HLS missing plugins

Also see nixpkgs#168064. Causes srcSpanToRange error, and stylish-haskell formatting not working.

PR meant to fix this in nixpkgs#187284, merged to master but not yet in channels.


Enable Cosmos emulator test

Cosmos emulator test is disabled now for PR validation. Cosmos team has fixed emulator issue now.
PR is to enable emulator test as part of PR validation.

Can one of the admins verify this patch?


UX improvements

Required for https://github.com/silverstripe/silverstripe-cms/pull/1221

The icon for the "bulk actions" looks a little squashed.

It looks a bit better

With position: relative; top: 1px; it looks a bit more lined up. ;D

Weird - it doesn't look misaligned for me...
I'll add the positioning anyway :)

The button is 1px lower and 1px higher than the "add new" link.

Fixed in the CMS PR

Updated with @scott1702 panel styling.

I've fixed the test case at https://github.com/open-sausages/silverstripe-framework/commit/99bc9877284d5cb6348fadd6a9fe15042b3ffe61

At the moment CMS behat tests are failing due to this change; Am working on a fix locally.

Behat tests won't pass until this is merged... I've tested these locally and behat is fine.


v18.2.0 Release Process

v18.2.0 Release Process

[ ] Update translations, see translation_process.md.
[x] Update manpages, see gen-manpages.sh.

Before every minor and major release:

[x] Update bips.md to account for changes since the last release (@thephez).
[x] Update version in configure.ac (don't forget to set CLIENT_VERSION_IS_RELEASE to true)
[x] Write Release Notes
[x] Update src/chainparams.cpp nMinimumChainWork with information from the getblockchaininfo rpc.
[x] Update src/chainparams.cpp defaultAssumeValid with information from the getblockhash rpc.
[ ] This update should be reviewed with a reindex-chainstate with assumevalid=0 to catch any defect that causes rejection of blocks in the past history.
[ ] Ensure that sentinel is not affected by any changes, and no changes to sentinel are required.

Tag the Release

[x]     Tag v18.2.0 and push

Check CI

[x]     Validate that CI passes

Do Gitian Build (for unsigned binaries) and create PRs

[x]     Pasta Gitian Build
[x]     Udjin Gitian Build
[x]     Thephez Gitian Build
[ ]     Kittywhiskers Gitian Build
[x]     Knst Gitian Build

Create Windows/OS X detached signatures (note: it might be decided skip signed binaries for RCs)
Only once the Windows/OS X builds each have 3 matching signatures may they be signed with their respective release keys.

[x]     Pasta creates windows detached signature and commits
[x]     pasta/quantum creates OS X detached signature

Update Gitian Builds with signed binaries (note: it might be decided skip signed binaries for RCs)

[x]     Pasta Gitian Build
[x]     Udjin Gitian Build
[x]     Thephez Gitian Build
[ ]     Kittywhiskers Gitian Build
[x]     Knst Gitian Build

After 3 or more people have gitian-built and their results match:

[x]     Create SHA256SUMS.asc for the builds
[x]     GPG sign each download / binary
[x]     Upload zips and installers, as well as SHA256SUMS.asc from last step, to github as github draft release.
[x]     Validate SHA256SUMS.asc and all binaries attached to github draft release are correct
[ ]     Notarize OS X binaries
[x]     Release on github
[ ]     Update website
[ ]     Ensure that docker files are up to date

Announce the release:

[ ]      Release on Dash forum: https://www.dash.org/forum/topic/official-announcements.54/
[ ]      Optionally Discord, twitter, reddit /r/Dashpay, ... but this will usually sort out itself
[ ]      Celebrate

After the release

[ ]     Submit patches to BTCPay to ensure they use latest / compatible version see https://github.com/dashpay/dash/issues/4211#issuecomment-966608207

Additional Items

[ ] Prepare release blog post (necessary so we have a permalink to use on twitter, reddit, etc.)
[ ] Prepare product brief (major versions only?)
[ ] Prepare a release announcement tweet
[ ] Follow-up tweets with any important block heights for consensus changes
[ ] Update website download links
[ ] Post on reddit
[ ] Update docs (readme and RTD)
[ ] Update sigs on website and verify
[ ] Test Docker build runs without errors in Dashmate
[ ] Verify sentinel works
[ ] Verify insight works
[ ] Verify p2pool works

@PastaPastaPasta There was a change related to BIP-61 support here, but that commit included an update to the BIPs file. I'm not aware of any other BIP changes.

@UdjinM6 can you please do the task " Update manpages, see gen-manpages.sh."?

@PastaPastaPasta For the "Update docs" item can you make it Update docs (readme and RTD) - including download links?


Use SWR in place of react-async and use-interval

It combines the functions of both, does page visibility and debouncing in a much more robust way, and works in IE11 where react-async didn't.

@phildarnowsky I've melded this together with a revert of the revert on master. Will merge when/if tests pass.


samples/common_defs.cmake

samples/common_defs.cmake
find_package(JsonCpp QUIET)
should be:
find_package(jsoncpp QUIET)

?

Yeah indeed,will fix that


TestProject

Demo de la utilizacion de DevOps
AB#3594

Hi @GianFernandez, we didn't get your ask, Could you please provide more info?


Fix bug about array

Hello!

Type: bug fix
Link to issue: #1140 #1159

In raising this pull request, I confirm the following:

[x] I have checked that another pull request for this purpose does not exist
[x] I wrote some tests for this PR
[ ] I updated the CHANGELOG

Small description of change:
Thanks

@sergeyklay Please help check.

Thank you!


Update setup.py

fix a typo in find_packages exclusion, otherwise it would install a package called "test" at top level, only "tests" is excluded (which does not exist).

Thanks 👍

It compiles fine now, thanks.
Final Ebuild for 0.8.0 is in https://github.com/onkelbeh/HomeAssistantRepository/blob/master/dev-python/aiohwenergy/aiohwenergy-0.8.0.ebuild


Added uniform integration scheme to Cones

Added uniform integration scheme to Cones #368

Additionally also closed the issue: arctan in namespace (functions.py) #284

Coverage remained the same at 92.513% when pulling 9b33cf31f0f455eda9b44eb54921298296f7bc13 on scdivi:scdivi into 1114510f375067c9c37cc0e2594f2789deb264b2 on nutils:master.

split in #370 and #371


Integrated terminal automatically sends 'Y' when terminating node batch script

Thank you so much for looking into this 🙏 !
Issue Type: Bug
~ > npm run concurrently \"script-1.js\" \"script-2.js\"
~ > [ type >> ctrl + c]
~ > Terminate batch job (Y/N)? Y (this character is automatically sent, but only terminates first script, putting remaining output in prompt on next line)
~ > [0] node script-name
~ > [type >> enter]
~ >                                                   y (character is still present, with spaces prepended)
~ > y : The term 'y' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name,
or if a path was included, verify that the path is correct and try again.
At line:1 char:1

The character y is never typed.
This does not happen in Windows Terminal. ctrl + c works as expected.

VS Code version: Code 1.64.0 (5554b12acf27056905806867f251c859323ff7e9, 2022-02-03T04:22:20.678Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info

Item
Value

CPUs
AMD Ryzen 9 3900X 12-Core Processor             (24 x 3793)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.93GB (22.74GB free)

Process Argv
C:\Users\steph\OneDrive\Documents\GitHub\robi --crash-reporter-id bc47a489-a287-44e8-9f71-a241e2b29255

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

es6-string-css
bas
0.1.0

python
ms-
2022.0.1786462952

vscode-pylance
ms-
2022.2.0

jupyter
ms-
2022.1.1001775990

remote-wsl
ms-
0.64.2

powershell
ms-
2021.12.0

LiveServer
rit
5.7.4

es6-string-html
Tob
2.12.0

vscode-todo-highlight
way
1.0.5

es6-string-javascript
zjc
1.0.1

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392cf:30425750
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30433059
pythonvs932:30410667
wslgetstartedc:30433508
vscop940:30404999
vsrem710:30416614
vscop841:30430977

You can fix this by setting the value of terminate hatch job within terminal.integrated.autoReplies to null

@meganrogge, Thank you so much! I should have checked if this was a setting first. Just curious - is this a new setting/behavior? Just started happening with 1.64.

This is still a bug.
This happens for me too. Every time I type CTRL+C it autoresponds Y. Now every time I type anything in the terminal after this, it writes Y after it:

Y : The term 'Y' is not recognized as the name of a cmdlet, function, script file, or operable progr
am. Check the spelling of the name, or if a path was included, verify that the path is correct and t
ry again.
At line:1 char:1
+ Y
+ ~
    + CategoryInfo          : ObjectNotFound: (Y:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

If I type any command that gives a prompt, it stops autoresponding with Y. It also seems that writing git commands in the terminal somehow stops the Yautoresponse.

Updating to Windows 11 might workaround this as I've never hit this issue. The theory is that something running in the terminal is triggering conpty (the backend component) to reprint the screen which would re-output the match text.

Thanks for the report, I'm going to disable it by default to be safe. We also had an idea for later on to allow the feature to be discovered intuitively when the user responds manually.

meganrogge, Thank you so much! I should have checked if this was a setting first. Just curious - is this a new setting/behavior? Just started happening with 1.64.

This indeed is new with 1.64, see the release notes for details.

Yes on older versions of Windows this is less reliable as the terminal emulation provided by Windows ends up reprinting the screen, causing the phrase to show up again.

Shouldn't this be fixed for Windows 10 too though? It's still supported by Microsoft and VSCode, right?

So is the conclusion just "Not supported you gotta disable it on Windows 10 yourself" and case closed? Doesn't seem right.

Ok I see you disabled it by default in a merge request. So the state is now "this isn't supported on Windows 10"?
How about this:
Currently it seems to go "if (buffer.Contains(trigger)) send(reply);"
So what if instead it goes "if (buffer.Contains(trigger) && !buffer.Contains(trigger+reply)) send(reply);"
You know, just check if the line that was found already has a reply?


Adding compile switch to enable/disable code for optional MEASUREMENT…

…S request/response.
Signed-off-by: Kong, Richard<EMAIL_ADDRESS>

The code looks good.
Any collection on size difference?

I'm not seeing much diff on the measurement change. I'll have to take a closer look.

Optimization
Baseline
Cert
Chal
Meas

requester (text+rodata)
37126
32790
34694
37126

responder (text+rodata)
43846
40198
40934
43558

These code size measurements were done on VC++ x64 release build. Requester doesn't have measurements code unless you add in the function calls to generate a request. Responder has a few hundred bytes (spdm_responder_lib\measurements.c)