Getting a blank view controller when performing segue

override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        if segue.identifier == SEGUES.SegueLobbyToProfile {
            if let child = segue.destinationViewController.contentViewController as? ProfileViewController{
                self.animator = ZFModalTransitionAnimator(modalViewController: child)
                self.animator!.bounces = true
                self.animator!.transitionDuration = CGFloat(0.8)
                self.animator!.direction = .Right
                self.animator!.setContentScrollView(child.scrollView)

                self.animator!.dragable = true
                child.modalPresentationStyle = .Custom
                child.transitioningDelegate = self.animator

            }
        }

    }

Is this the correct way to attach the animator to the segue? My segue is "present modally" , with everything on default.
When the animator appears, it comes from Bottom (instead of Right), and the screen is completely white.  I can drag the animator down to close it.

+1

swift version
https://github.com/dimohamdy/ZFDragableModalTransitionSwift


Max: Fix the malfunctioning issue in Max Scene loader

Changelog Description
Fix https://github.com/ynput/ayon-core/issues/152
Additional info
Please test with different loaders.
Testing notes:

Launch Max
Load the asset with the same name
Load the same asset again
And set versions for the assets
Should update and load accordingly.

I have run several tests and all seems working fine.
Loading multiple assets and also the same ones multiple times and updating / setting its versions.
All fine.

have you tried with different loaders?


Respect additional environment variables when executing IDEA run configurations

Environment variables should be passed alongside the classpath when retrieving a run configuration, so the client can apply them when compiling.

Closed by #64.


lib.{or,and} -> lib.{bor,band}

Using or requires a special and hacky case on nix parser (because or
is also a keyword), which isn't worth the pain, given that this function
is hardly used in all of nixpkgs.
I can't certify that I replaced every occurence of the or and and functions
because I couldn't find any better way of tracking them than grep, which in
this case is pretty useless.

I also tried to parse all the nix files in nixpkgs with a modified nix whose parses do not accept or as a variable name, and − apart for a couple of unrelated failures −, everything parsed fine, so I assume all uses of or as a variable or attribute name have been removed.

cc @edolstra as you introduced those

I don't really see a strong reason to mess with these names. Also the names band and bor are super ugly. The parsing ambiguity can be avoided by using lib.or.

The reasons are here and here − and the fact that external tools such as hnix do not treat this corner case.
I agree that band and bor are ugly (maybe land and lor are better, this is what is used eg. in latex), but given that each one seems to be used only at one place in nixpkgs, their definition can be inlined in the worst case, which solves the naming problem.
And using lib.or don't really solve the problem, as it still requires the same hacks in the parser.


[WIP] Sema: F-bounded polymorphism (Part 1)

This PR lays groundwork toward resolving SR-10239 and supporting F-bounded polymorphism in Swift by breaking relevant cycles and ultimately unlocking recursive superclass requirements.
With this change, 2 cases remain on the follow-up list:

Witnessing  associated types with rec. superclass bounds — associatedtype X: Foo<X>. This is only a small piece of a far more extensive issue: an associated type superclass bound containing any other dependent member will not let you witness the type requirement.
Recursive generic signature validation involving archetypes that are recursive through their superclass bounds — class Foo<T: Foo<T>>.

@swift-ci Please smoke test macOS

@swift-ci Please test source compatibility release

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)


Unable to connect with SSL

How can I connect secure connection for socket?
WSS = "wss://test.com:9092"

You are likely using the wrong library, it does not support websockets.


Enable MRB_METHOD_T_STRUCT by default on 32bit GUN/Linux

Hello,
We can't also use the highest 2 bits of function pointers on 32bit GNU/Linux same as https://github.com/mruby/mruby/pull/4948.
How about we decide whether 32bit architecture by using MRB_32BIT?

I am not sure MRB_32BIT is a correct predicate. It sounds OK but not for sure. If we see any problem, we will revert the change.

I see.


Any plans to update the udt source?

Hi,
Are there any plans to update the UDT source with the changes included in the latest iOS CDM?
Regards,
Anders

Yes we will be updating it shortly in the next few weeks.


How to use with express 4.x

I'm trying to get this up and running but don't see how I can use app.dynamichelpers with express 4.x?

I did away with:
if (semver.gte(express.version, '3.0.0'))
app.locals({ CDN: CDN() });
else
app.dynamicHelpers({ CDN: CDN });
and changed to res.locals and implemented as follows. Seems to work, though not sure if this is the correct way to go about this
app.use(function(res, req, next){
res.locals({ CDN: CDN() }));
next();
});


feature: A battle playground for DSA

Feature
A Battle playground for solving DSA problem where a user create a room and share with his/here friends and they can join and solve some given problem within a timeframe but the user who created the room, can create a user based on problem difficulty. Also we can have a chat interface so that they can discuss their approach.

Hey @hkirat @devsargam please do let me know, if you guys are gonna build this, I really want t work on this problem.

Really interesting tbh


TextBox control hides content when the number of characters in the control passes certain threshold

Describe the bug

TextBox control hides content when the number of characters in the control passes certain threshold.
Steps to reproduce the bug

Steps to reproduce the behavior:

Go to "Store" and download the "Notepads" app.
Copy a large body of text into a new file.
Notice that once the number of characters in the control passes a certain threshold, the content disappears completely.

Expected behavior

The content in the control should not disappear regardless the size of the file.
Screenshots

Version Info

NuGet package version:

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop

Mobile

Xbox

Surface Hub

IoT

Additional context

Related to GPU/XAML maximum texture sizes on a single element? Used to be quite common back on Windows Phone, though it's maximum size was a lot lower.
I ran into this a few days ago too and had to split the content in my TextBlocks to work around it.


Deprecate contrib package.

This pull request can't be merged before backports will be actually implemented in separate repositories.

Fails

:no_entry_sign:
Only issue marked as backward incompatible is allowed to have breaking changes

  Generated by :no_entry_sign: dangerJS against 70adb7936bc64f7b7291cc255c3779576533a088

Installation page in the documentation should mention additional packages.

Screenshots on the why page should be hosted in dedicated repository.

Superseded by #627


HDH-303-investigate-ds-3-5-1-build-warnings-errors

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

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

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

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

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

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

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


Bug va-file-upload still coming out

[https://github.com/epicmaxco/vuestic-admin/issues/749]
After uploading same error comes out.
<va-file-upload
          dropzone
          v-model="advancedList"
          file-types  =".xls,.xlsx"
        />

Here is the console output:
vue.esm.js:628 [Vue warn]: Error in v-on handler: "TypeError: files.filter is not a function"

Please reopen if it persists.


no such table/view exists in source: storage.buckets

problem reading : Config File "hasura-storage" Not Found in "[/]"
time="2024-04-28T13:38:32Z" level=info msg="storage version 0.2.3"
time="2024-04-28T13:38:32Z" level=debug msg=parameters bind=":8000" debug=true hasura-endpoint="http://host.docker.internal:8080/v1" hasura-metadata=true postgres-migrations=false s3-bucket=default s3-endpoint="http://host.docker.internal:9000" s3-region=no-region s3-root-folder=default trusted-proxies="[]"
time="2024-04-28T13:38:32Z" level=info msg="applying hasura metadata"
time="2024-04-28T13:38:33Z" level=error msg="problem applying hasura metadata: problem adding metadata for the buckets table: status_code: 400\nresponse: {\"internal\":[{\"definition\":{\"schema\":\"storage\",\"name\":\"buckets\"},\"reason\":\"Inconsistent object: no such table/view exists in source: \\\"storage.buckets\\\"\",\"name\":\"table storage.buckets in source default\",\"type\":\"table\"}],\"path\":\"$.args\",\"error\":\"Inconsistent object: no such table/view exists in source: \\\"storage.buckets\\\"\",\"code\":\"invalid-configuration\"}"

This may mean hasura-storage migration in deeplinks didn't run or failed.


Order Dependencies

This PR should fix this issue https://github.com/NuGet/NuGetGallery/issues/3550
The change is only added in the view-logic and this partial-view is used on the upload-verify page and the display package page. These are the only two sites that are able to list dependencies, so with this PR everything should be ordered the same way on the website.
Some dependencySets (e.g. .NET 4.5 Framework) only have on "null" empty in it, so I needed to split those with dependencies and those with the null dependency - thats why I inserted the if/else stuff.
The result of this PR. Lets take a example from this package: https://www.nuget.org/packages/NLog/5.0.0-beta06
The order is pretty random on all levels:

With this PR:

The verify upload page is ordered the same way:

Another example (the AutoMapper package) with the PR:

Thanks for the PR @robertmuehsig , much appreciated!
One comment: can you please move the sorting logic to DependencySetsViewModel? This will allow us to have UTs on the code, and increase code coverage.
We had a team discussion about this here: https://github.com/NuGet/NuGetGallery/pull/3638  and decided that any logic is better placed in the view model, so we can UT.

Ah - sure. Will update this PR tonight.

Ok - I moved the logic in the viewmodel. I had to reorder the resulting Dictionary at the end of the process, because the used "friendly" names are only known at the end of the process.


[Feat]: new login and sign up form created

What feature?
new login and sign up form
Show us the magic with screenshots
https://github.com/OSCode-Community/OSCodeCommunitySite/assets/114687502/6dec1b63-549d-4c24-9726-c66b1738f9b4
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

@Vaishnavi-Patil2211 have a loo!!!!!!!!

@Vaishnavi-Patil2211 have a look!!!!!


Unable to resolve Module 'React' after upgrading to 0.61.4

I am getting this issue after upgrading to 0.61.4 in ios
Unable to resolve module React from ios/Pods/React/Libraries/react-native/react-native.js: React could not be found within the project or in these directories:
node_modules
I tried npm start -- -- reset-cache, clearing derived data. clean project etc.
tried replacing
var ReactNative = Object.assign(Object.create(require('React')), {
with
var ReactNative = Object.assign(Object.create(require('react')), {
in /ios/Pods/React/Libraries/react-native/react-native.js
But the issue exists in the file react-native.js

React Native version:
System:
OS: macOS Mojave 10.14.4
CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
Memory: 172.62 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.0 - /usr/local/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.11.3 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
IDEs:
Xcode: 11.2/11B52 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: ^0.61.4 => 0.61.4
npmGlobalPackages:
react-native-cli: 2.0.1
Steps To Reproduce

Run project from Xcode
The app starts with this red screen with error

Likely a caching issue, most probably watchman. Please run watchman watch-del-all and then yarn start --reset-cache again.

I dont even have watchman installed.
So watchman watch-del-all gives command not found error in terminal

Likely a caching issue, most probably watchman. Please run watchman watch-del-all and then yarn start --reset-cache again.

Oh, I see it now. Metro tries to resolve ios/Pods/React/Libraries/react-native/react-native.js but there shouldn't be React pod in your pods, it should be taken from node_modules.
Remove ios/Pods and run pod install again. Also make sure your Podfile is valid and looks like this one: https://github.com/facebook/react-native/blob/0.61-stable/template/ios/Podfile

Oh Thanks. The error screen is gone. But now the app is stuck with a white screen. But no breakpoints in Xcode . Just white screen.

Various things could happen. Turn off debugger, turn it on again. Uninstall the app and install again on the device/emulator. Should work then :) If not, open Debugger and set "pause on exceptions" to see if some JS fails to run. Anyway, not a RN issue.

Oh, I see it now. Metro tries to resolve ios/Pods/React/Libraries/react-native/react-native.js but there shouldn't be React pod in your pods, it should be taken from node_modules.
Remove ios/Pods and run pod install again. Also make sure your Podfile is valid and looks like this one: https://github.com/facebook/react-native/blob/0.61-stable/template/ios/Podfile

as per the reference link you provided ( https://github.com/facebook/react-native/blob/0.61-stable/template/ios/Podfile), there is React pod in Podfile. Even if I remove that from Podfile, I still get the same error. I upgraded to react-native 0.62.2 and react 16.13.1

@krishnadas89
I've got the same error.
Steps I've done:

rm -rf ios/Pods
rm -rf node_modules
Changed pod 'React', :path => '../node_modules/react-native' to pod 'React', :path => '../node_modules/react-native/' in Podfile.
npm cache clean --force
npm install
npm install redux
cd ios && pod install
Bulit project in Xcode
Run app in Xcode

And it worked. 👍


Add support to de-emphasize debuggers in run list

This PR supports hiding debuggers in VS Code similar to the when clause. If this field is set to true, it will hide the debuggers in the list.
Example usage in package.json to hide the debugger selection if the C# Dev Kit is installed.
    "type": "coreclr",
    "whenDemphasise": "dotnet.debug.serviceBrokerAvailable",
    "label": ".NET 5+ and .NET Core",

Before:

After:

Fixes: #184457

I find the name hard to understand. Did you consider alternatives such as hiddenWhen?

I find the name hard to understand. Did you consider alternatives such as hiddenWhen?

I agree hiddenWhen captures the intent of this. I'll switch it to that.

.diff


[e2e]: generic push branch1 default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/8274855673
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Thu Mar 14 03:10:50 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/8290727852
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Fri Mar 15 03:10:15 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/8304897236
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Sat Mar 16 03:10:28 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/8312536765
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Sun Mar 17 03:08:42 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/8320676442
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Mon Mar 18 03:18:05 UTC 2024
Tests are passing now. Closing this issue.


[1|CBH & HR - UGC & Banned words Dashboard] Breadboard

 🍰 Appetite 🍰

Property
Value

Points
3 points

Difficulty rating
★★☆☆☆

Maximum Assignees
2 person

🤔 Problem Statement
Make a breadboard for each screen in the fat-marker sketch. Every place and affordance should be accounted for, but don't focus on making it look pretty. This should be essentially a bare HTML file, with no JS, and only CSS if required for basic layouts. Implement fake navigation and interactions using normal <a> tags. This purely for getting an interactive "skeleton" up, and seeing in real life whether this design would work, or has any major problems.
Please see this page for more info on what your breadboard should be like (and, if you want understand the fat-marker sketch and places affordances drawing better, please see this page).

Make it so that only the user who logged in as CBH can see the button to go to the Report Dashboard and the button to add an article on behalf of CBH.

🧪 Required Tests
None (but the Code Wizard will review whether or not your code warrants some tests! Review the Code & Testing Guidelines for more info)
⚠ Careful about:
🤖 Technologies focused on in this feature

React
Tailwind
Shadcn

Hi! I would like to work on this.

I would like to work on this one as well @puma

@raunaq0911 @ViniOkamoto Ok, you're on it!

@raunaq0911 are you here? Please come see me.

I want to work here! @puma

@raunaq0911 are you here? Please come see me.

Hi, I felt a little sick in the morning so I couldn't come in person today. I'll try reaching there soon.

I'll come in person when the phase 3 building starts.

Am I able to work on this??? @puma I'm already doing some work on the first piece


[FEATURE ⭐] Optional param to intentionally throttle frame capture

It would be nice to have a feature where I could limit capturing the frame capture so that I'm not analyzing every single frame but rather every nth frame.
This library is great to use for grabbing things from the screen while gaming but I'm noticing that it is affecting my FPS to a fairly noticeable degree (10-20% drop). Being able to throttle the frame capture would help reduce my CPU usage and boost my frame rate in the actual game while still letting me achieve my goals with my script.

There is no way to control the capture frame rate with the existing capture method, because the video frames are called back by the Windows system at the refresh rate.
But if you want to control the capture rate at the application level, you can use a texture that is used as a cache for the output of the capture, and then you can manually fetch the cached frames from the texture yourself by, for example, sleeping at regular intervals.
This is very efficient if you use the Direct3D interface directly, without software copying, because the copying of frames takes place in the GPU.
For example, you can refer to my example: https://github.com/mycrl/hylarana/blob/main/capture/src/win32/screen.rs#L219
But for the situation you describe, where capturing the screen causes the game frame rate to drop, I'm not sure if it's a problem with the library itself or your application layer implementation that's causing it, you might want to need to describe in detail what's going on on your end.
The default usage of this library is not efficient, it will copy the texture from the GPU to CPU memory, which is a relatively high overhead behaviour, and this can also cause the screen's texture to be locked for too long (Direct3D texture for write or copy operations many times also incorporate mutex or read/write locking mechanisms).


feat: getrandom() for DragonFlyBSD

Add getrandom() for DragonFlyBSD:

man page: https://leaf.dragonflybsd.org/cgi/web-man?command=getrandom
defs for those 3 constants: https://github.com/search?q=repo%3ADragonFlyBSD%2FDragonFlyBSD GRND_NONBLOCK&type=code

ref upstream Rust issue: Latest nightly 1.78.0-nightly (7065f0ef4 2024-03-12) is broken in DragonFlyBSD

The Linux docker CI error does not seem related: https://github.com/rust-lang/libc/actions/runs/8306308876/job/22734242295?pr=3621

#3618 already addresses this

Sorry for opening a duplicate PR


Refactor separated documents logic to support inter-document cross-references

Context :
Currently, s2m supports all-in-one document (.asString) or 3 (overview+paths+definitions) documents (.intoFolder() ).
Some extra options (.withSeparatedDefinitions, withSeparatedPaths) create "supplementary" documents without impact on others documents.
Functional :
I'd like cross-references to become inter-documents cross-references, when I generate multiple documents.
This way, AsciiDoc will continue to work as currently when 3 documents are included in a single one. But the links will work too when documents will be independently rendered as multiple HTMLs files.
Problem :
Generated cross-references can only address one generation model at a time :

all-in-one : all cross-refs are local
3 documents : cross-refs to definitions are Xrefs to ./definitions.adoc
separated definitions : cross-refs to definitions are Xrefs to each generated definition file

Proposal :
For consistency, when using separated files (withSeparatedDefinitions or withSeparatedPaths), we should not generate original paths.adoc and definitions.adoc files, and Xrefs are always inter-document XRefs to each definition file.
If you want to generate the 3 docs too, you'll have to relaunch the builder with different options.
Corollary:
When using Markdown output, all Xrefs should be disabled in all modes except the all-in-one mode (.asString() ) because Markdown does not support inter-documents Xrefs.

Sounds great. That's fine with me.

In fact, AsciiDoc[tor] automatically transforms inter-document cross-references to cross-references if it detects the target document has been included.
The point here is that inter-document cross-references is an AsciiDoctor extension to original AsciiDoc spec, I don't know what will be the result with the Python AsciiDoc implementation, for example.

Let's focus on AsciiDoctor's AsciiDoc features and GitHub Flavored Markdown features :)

ok ..


Is it possible to support Young tableau?

 \usepackage{tikz}
 \usepackage{amsmath,amssymb}
 \usepackage{ytableau}
 \begin{document}
\begin{ytableau}
       \none[2] &  &  & \none \\
  \none[1]  &  &  &  \\
  \none & \none[1] & \none[2] & \none[3]
\end{ytableau}
 \end{document}

It seems that this does not work.

would like that too!


How does ve-bar sort?

Ve-bar gets data on how to go from small to large or from large to small

Ve-bar gets data on how to go from small to large or from large to small

是下面这个例子的意思吗？
https://jsfiddle.net/vue_echarts/m1hdcmf4/12/

yes,thank you!! The problem has been settled


Add support for ContentSizeFitter

As the title says, I think it would be very useful if we could have support ContentSizeFitter.

+1, can't use this asset for this reason

Found a workaround: you can calculate content size programmatically. For example, for vertical layout it will be looks like this:
...
        private const float PaddingW = 25f;
        private const float PaddingH = 25f;
        [SerializeField] private RectTransform _content;
        [SerializeField] private RectTransform scrollViewTransform; // to get max scroll content width

...
        public void SetContent(IReadOnlyCollection<TItem> content)
        {
            CleanContent();
            float contentHeight = 0f;
            float maxContentWidth = scrollViewTransform.sizeDelta.x;
            float currentContentWidth = 0f;
            foreach (TItem itemViewModel in content)
            {
                ItemUIView<TItem> itemView = CreateItemView(itemViewModel);

                float widthAddition  = itemView.GetComponent<RectTransform>().sizeDelta.x + PaddingW;
                currentContentWidth += widthAddition;
                float remainWidth = maxContentWidth - currentContentWidth;
                if (remainWidth < widthAddition)
                {
                    contentHeight += itemView.GetComponent<RectTransform>().sizeDelta.y + PaddingH;
                    currentContentWidth = 0f;
                }

            }
            _content.sizeDelta = new Vector2(0f, contentHeight);
        }
...

Hey @asger60, thanks for the report. I agree that this should be fixed, it's super useful for text and image to be laied out according to their content size.
In the Yoga part of things, I think we need to hook measure functions for this to work properly.
Also, I think ContentSizeFitter will want to relayout the element after FlexLayout does, so we'd likely have to use ILayoutElement.preferedHeight/preferedWidth for measuring instead of using ContentSizeFitter at all.


[Request] Adding possibility to made a block Wither Proof

Hello, I wonder if you can add Field to set a block Wither Proof in Vanilla Factory... I Want to make Somes Blocks for made Wither Farm in my modpack, but we have no Wither Proof blocks for now and I don<t want to add a mod just for that ;).
Thank's
Fireztonez

All ya have to do is change the hardness...

That isn't true.

Added by #156


Could not initialize class com.microsoft.cognitiveservices.speech.SpeechConfig

Install the Speech SDK
Configure RHEL/CentOS 7
All the steps above the two links I've done and I was seeking the same issues on github all of them i've been try to but all of them didn't work on me.
I've been trying to solve this problem for almost 2 days.
On my local server it worked but It didn't work on centos 7 server.
system: CentOS 7.9.2009 x86_64(Py3.7.9)
error:

java.lang.NoClassDefFoundError: Could not initialize class com.microsoft.cognitiveservices.speech.SpeechConfig
java.lang.UnsatisfiedLinkError: com.microsoft.cognitiveservices.speech.SpeechConfig.setTempDirectory(Ljava/lang/String;)V

step: Configure RHEL/CentOS 7

step:Install the Speech SDK

@yangman92 Your screenshots show errors while trying to build gcc 7.5.0 and runtimes, therefore newer C/C++ runtime libraries required by the Speech SDK were not installed. Looks like you may have already tried to run a build before the screenshots, so it's best to start anew with a clean build. I just verified that instructions in https://learn.microsoft.com/azure/ai-services/speech-service/how-to-configure-rhel-centos-7#cc-compiler-and-runtime-libraries still work on an up-to-date CentOS 7.9.2009 system. Please do not run any commands blindly - check and verify that they complete successfully, otherwise investigate why they failed.
For Java on CentOS 7, see https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/1769 for an earlier similar question. (Regarding the Speech SDK version used in the example, note that the current latest is 1.37.0.)
Please note that CentOS 7 will reach end of life on June 30, 2024: https://www.redhat.com/en/topics/linux/centos-linux-eol
The Speech SDK support for it will be dropped shortly after.

@pankopon Hi. This time I am sure that I correctly done the 2 steps.
# Build GCC 7.5.0 and runtimes and install them under /usr/local
curl https://ftp.gnu.org/gnu/gcc/gcc-7.5.0/gcc-7.5.0.tar.gz -O
tar -xf gcc-7.5.0.tar.gz
mkdir gcc-7.5.0-build && cd gcc-7.5.0-build
../gcc-7.5.0/configure --enable-languages=c,c++ --disable-bootstrap --disable-multilib --prefix=/usr/local
make -j$(nproc)
sudo make install-strip

These commands were executed successfully. The info was so long to print.
But it still did not work.
I don't know what I can do else.
All the same issues I tried to understand but I am still confusing.

I can provide more information you want to see.

@yangman92 Here's a command-line example from scratch, presuming you have all dependencies already in place.
Verify that the new compiler (and therefore also the updated C/C++ runtime libraries) is indeed installed:
# which gcc
/usr/local/bin/gcc
# gcc --version
gcc (GCC) 7.5.0

Clone and prepare the Speech SDK sample repository:
# git clone https://github.com/Azure-Samples/cognitive-services-speech-sdk
# cd cognitive-services-speech-sdk/samples/java/jre/console/
# sed -i 's/1\.34\.0/1.37.0/g' pom.xml
# git diff
diff --git a/samples/java/jre/console/pom.xml b/samples/java/jre/console/pom.xml
index 56059d2..de8de3a 100644
--- a/samples/java/jre/console/pom.xml
+++ b/samples/java/jre/console/pom.xml
@@ -56,7 +56,7 @@
     <dependency>
       <groupId>com.microsoft.cognitiveservices.speech</groupId>
       <artifactId>client-sdk</artifactId>
-      <version>1.34.0</version>
+      <version>1.37.0</version>
     </dependency>
     <dependency>
       <groupId>jakarta.json</groupId>

Try for example the case with wav file input.
Edit the source file src/com/microsoft/cognitiveservices/speech/samples/console/SpeechRecognitionSamples.java and find continuousRecognitionWithFileAsync() in that file and replace "Your..." strings with your subscription key, service region, and some wav file path.
In the following, mvn was downloaded from https://maven.apache.org/download.cgi (apache-maven-3.9.6-bin.zip).
(CentOS 7 has only a very old version of mvn, like many other programs.)
Extract the package under /opt and add /opt/apache-maven-3.9.6/bin to PATH like
# export PATH=/opt/apache-maven-3.9.6/bin:$PATH
# mvn --version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /opt/apache-maven-3.9.6
Java version: 1.8.0_402, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-1.8.0-openjdk-<IP_ADDRESS>2.b06-1.el7_9.x86_64/jre

You can use Java 8 or newer, but make sure both java and javac have the same version and you don't have multiple versions conflicting with each other:
# yum list installed | grep jdk
copy-jdk-configs.noarch                 3.3-11.el7_9                   @updates
java-1.8.0-openjdk.x86_64               1:<IP_ADDRESS>2.b06-1.el7_9        @updates
java-1.8.0-openjdk-devel.x86_64         1:<IP_ADDRESS>2.b06-1.el7_9        @updates
java-1.8.0-openjdk-headless.x86_64      1:<IP_ADDRESS>2.b06-1.el7_9        @updates

# java -version
openjdk version "1.8.0_402"
OpenJDK Runtime Environment (build 1.8.0_402-b06)
OpenJDK 64-Bit Server VM (build 25.402-b06, mixed mode)

# javac -version
javac 1.8.0_402

Now build, verify that the correct Speech SDK version is used, and run the sample:
# mvn clean package
...
[INFO] BUILD SUCCESS

# mvn dependency:tree
...
[INFO] SpeechSDKDemo:SpeechSDKDemo:jar:0.0.1-SNAPSHOT
[INFO] +- com.microsoft.cognitiveservices.speech:client-sdk:jar:1.37.0:compile

# export LD_LIBRARY_PATH=/usr/local/lib64:$LD_LIBRARY_PATH
# java -jar ./target/SpeechSDKDemo-0.0.1-SNAPSHOT-jar-with-dependencies.jar
 1. Speech recognition with microphone input.
 2. Speech recognition with microphone input and detailed recognition results
 3. Speech recognition in the specified language.
 4. Speech recognition using customized model.
 5. Speech continuous recognition using events with file.
...
Your choice (0: Stop): 5

    Session started event.

RECOGNIZING: Text=what's the weather
RECOGNIZING: Text=what's the weather like
RECOGNIZED: Text=What's the weather like?
CANCELED: Reason=EndOfStream

    Session stopped event.

If this really doesn't work for you then it seems your CentOS 7 installation/environment is somehow different from what is should be.

It is not easy to deploy on a centos system.
You need to do 3 steps.
Some issues did not clearly show what the problem is or less steps.
Install the Speech SDK
Configure RHEL/CentOS 7
Download and extract the Speech SDK
My friend helped me today to deploy. It worked now.

Thank you for the update. I will close the issue now since it seems like the discussion reached its conclusion. Feel free to open this issue again if there is some more questions related to this topic.

在 centos 系统上部署并不容易。 你需要做 3 步。 有些问题没有清楚地显示问题是什么或步骤较少。
安装语音 SDK 配置 RHEL/CentOS 7 下载并解压语音 SDK
今天我的朋友帮我部署了。现在可以正常工作了。

是哪一个环节出了问题？我检查了以上步骤都执行了，仍然没有解决？

在centos 系统上安装并不容易。 你需要做3步。 有些问题没有明确表明问题是什么或步骤较少。
安装语音SDK 配置 RHEL/CentOS 7 下载并解压语音SDK
今天我的朋友帮我安装了。我们现在收到了。

请问是哪个环节出了问题？我检查了以上步骤都执行了，仍然没有解决

在centos 系统上安装并不容易。 你需要做3步。 有些问题没有明确表明问题是什么或步骤较少。
安装语音SDK 配置 RHEL/CentOS 7 下载并解压语音SDK
今天我的朋友帮我安装了。我们现在收到了。

请问是哪个环节出了问题？我检查了以上步骤都执行了，仍然没有解决

我用的是宝塔面板，如果使用面板上的启动是会有问题，加载不到sdk，我使用了另外一种方法，使用命令行启动程序。nohup java -jar -Xmx1024M -Xms256M /www/wwwroot/java/project.jar --server.port=8088 > /home/project.txt 2>&1 &


Specifying a repeating event

Hi guys,
is there a way to set up a repeating event?
It'd be quite convenient to have an option to quickly create repeating "allday" events like birthdays etc.

+1


Add Chatty and feedbackd

Motivation for this change
Use this amazing application from Librem
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Some screenshots:

Right now Chatty is built without any libpurple plugin and only works as a xmpp client. I'm not sure if we want to do something similar to pidgin-with-plugins. What do you think?

When this PR is merged the package calls can be update to latest version cc/ @craigem @lheckemann

Do you want to review this PR @jtojnar @flokli ? :)

@jtojnar  Fixed :)

Yeah, agree that we will need chatty-with-plugins. Also likely a module for feedbackd.

Also likely a module for feedbackd.

What do you mean?

Since it is a daemon, it probably requires installing by setting systemd.packages, services.dbus.packages NixOS options or something like that. NixOS module could handle that.

Added chatty-with-plugins. Successfully tested the following ones:
plugins = [ pkgs.pidgin-carbons pkgs.purple-lurch pkgs.telegram-purple ];

Looks like feedbackd does not seem to compile gsettings schemas. And also it does have a dbus service so it will not work without being installed globally (e.g. using a module).

Looks like feedbackd does not seem to compile gsettings schemas. And also it does have a dbus service so it will not work without being installed globally (e.g. using a module).

Working on a module + fixing gsettings!

Result of nixpkgs-review pr 94820 run on x86_64-linux 1

1 package failed to build:

chatty

1 package built:

feedbackd

chatty:
src/meson.build:60:0: ERROR: Dependency "libhandy-0.0" not found, tried pkgconfig

@masipcat Are you still interested in working on this?

Feedbackd is now packaged. Jordi did not seem to respond on their other Librem related PR so feel free to revive chatty in a new PR.

closing in favor of https://github.com/NixOS/nixpkgs/pull/122373


chore: update scaffolder-backend-module-regex wrapper

Description
Please explain the changes you made here.
Which issue(s) does this PR fix

Fixes: https://issues.redhat.com/browse/RHIDP-4773

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

/retest

/test e2e-tests

/retest


Allow importing definitions without vhost

And override vhost regardless if a specific vhost is chosen to import to

When exporting specific vhost definitions, we still include the vhost name, rabbitmq does not..


Remove "-Djava.security.egd=file:/dev/./urandom"

Setting the source of entropy is deprecated and not required anymore with any supported JDK version.

@jochenchrist Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@jochenchrist Thank you for signing the Contributor License Agreement!


Clear story-review process/life-cycle

This issue is to spell out Protocol 3: Lifecycle of a Story.

Attempt 1 (one)
Protocol 3: Lifecycle of a Story
There are 7 stages to the development of stories for The Timeline. Each one can be repeated, and you can always revisit previous steps. You are also encouraged to develop stories (i) with the help of others and (ii) by creating an issue using the "lightbulb moments 💡" template.
Step 1: Idea generation
This is where you can put your most creative self to work. There are at least two approaches to idea generation:

Top-down idea generation means thinking big and whittling down. You might be curious about the warring states period in Ancient China, or perhaps evolutionary psychology, or anything! From this broad interest of your own, the goal is then to establish an event that has a clear link to a question for research ethics.
Bottom-up idea generation is about starting with an event or concept you are aware of, and then studying the broader historical context in which that phenomenon originated. The link between the historical event and topic for research ethics can be established through the process of studying the historical context.

Step 2: Compiling Resources
You are encouraged to employ diverse sources of information when at the idea generation stage. Once an idea becomes clearer, you should draw on sources that adhere to Protocol 5.
Step 3: Finding coherent narratives
With the general idea and the vast quantity of resources you have found, it is finally time to establish the outline of the story and any philosophical arguments to be put forth. Protocol 4 can help you structure your thoughts.
Also, don't be afraid to discard academic papers, articles or books that become irrelevant. The story must be clear and coherent. This is not to say you should adjust evidence to your own narrative (that would be deeply unethical), but that you must focus on clear arguments and not lead readers astray by introducing too many topics or events.
Step 4: Draft and re-draft the story
And re-draft again and again and again!
Step 5: Pre-Publication Peer Review
I find GitHub terribly exclusionary. For this reason, stories, once drafted, are placed in this online document (as described in issue #5). Drafts are maintained there for a pre-publication quarantine period of anything between nine and 15 days, the last day of which will always be a Saturday.
During this time, the HackMD document is re-shared publicly and people are encouraged to contribute and help improve the drafts.
Step 6: Publish on GitHub
On the day after the end of the pre-publication peer review, the new story is revised one last time and given a file in the Stories folder following the relevant template.
Step 7: Publish on tiki-toki
@Ismael-KG can now go ahead and publish new stories on the tiki-toki platform, as he has the admin rights.

[ ] Add the step of creating an issue for Sunday publications


Initialize auro-nav component

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes: #1
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.
Create the auro-nav component with examples and documentation.
Type of change:
Please delete options that are not relevant.

[x] New capability
[ ] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

./docs/partials/useCases.md needs to be completed.

/docs/partials/desription.md needs to be completed.

This was committed without a build run so several compiled files were not updated:
readme.md
docs/api.md
demo/apiExamples.md
demo/demo.md

There are many references to auro-breadcrumb throughout the repo that need to be updated to auro-nav.

Build is failing on the rollup command.

Test file is still named auro-breadcrumb.test.js.

This ticket is blocked until the Auro team discusses the current architecture of the component and whether or not there should be a refactor.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Boxen update via get.sh fails - curl not parsing latest release tag

When attempting to update Boxen from v0.0.1 to v0.0.2, get.sh fails with the following error:
christopher@ubuntu-vm:~$ bash -c "$(curl -sL https://raw.githubusercontent.com/carlmontanari/boxen/main/get.sh)"
No help topic for 'version'
A newer boxen  is available. Release notes: https://containerlab.srlinux.dev/rn/
You are running containerlab  version
Proceed with upgrade? [Y/n]: Y
Downloading https://github.com/carlmontanari/boxen/releases/download//boxen__linux_amd64.tar.gz
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Failed to install boxen
        For support, go to https://github.com/carlmontanari/boxen/issues
christopher@ubuntu-vm:~$

We can see in this output that the TAG_WO_VER is set to an empty string. This is set here:
        if type "curl" &>/dev/null; then
            local latest_release_url=$(curl -s $REPO_URL/releases/latest | cut -d '"' -f 2)
            TAG=$(echo $latest_release_url | cut -d '"' -f 2 | awk -F "/" '{print $NF}')
            # tag with stripped `v` prefix
            TAG_WO_VER=$(echo "${TAG}" | cut -c 2-)

If we run this manually on my machine, I see the following output:
christopher@ubuntu-vm:~$ curl -s https://github.com/carlmontanari/boxen/releases/latest | cut -d '"' -f 2
christopher@ubuntu-vm:~$ curl -s https://github.com/carlmontanari/boxen/releases/latest
christopher@ubuntu-vm:~$

I'm not positive, but I think we should be curling api.github.com, not the GUI. In fact, with the wget option, that's precisely what we do:
        elif type "wget" &>/dev/null; then
            # get latest release info and get 5th line out of the response to get the URL
            local latest_release_url=$(wget -q https://api.github.com/repos/$REPO_NAME/releases/latest -O- | sed '5q;d' | cut -d '"' -f 4)
            TAG=$(echo $latest_release_url | cut -d '"' -f 2 | awk -F "/" '{print $NF}')
            TAG_WO_VER=$(echo "${TAG}" | cut -c 2-)

I'll try to put together a PR that fixes this.

Nice catch @ChristopherJHart ! All sounds reasonable to me, will close this and merge that PR! You rock!


Move Node/Comment fetching to a queue

To address #1964, requests for nodes and comments should add them to a request queue. The goal being to not request the same node(s) twice, or in #1964's case, dozens of times.
The queue needs to work asynchronously.

#1887


Ensure compatibility with PHP 7.x

By adding some  backward compat macros. This has been tested with PHP 7.0.0 and PHP 7.1.0 in debug mode without any problems.

Sweet!


[SPARK-25556][SPARK-17636][SPARK-31026][SPARK-31060][SQL][FOLLOW-UP] Avoids changing test utils and minimizes the diff

What changes were proposed in this pull request?
This PR proposes to minimize the diff at https://github.com/apache/spark/pull/27728. Basically it addresses the comments https://github.com/apache/spark/pull/27728#discussion_r397655390, and my own comment in another PR at https://github.com/apache/spark/pull/28761#discussion_r446761037
Basically most of changes are back before #27728 by combining withNestedDataFrame and withParquetDataFrame.
Why are the changes needed?
To make the minimised the diff and make it easier to review and maintenance. Also to keep the less depths.
Does this PR introduce any user-facing change?
No, dev-only.
How was this patch tested?
Manually tested.

cc @viirya, @dbtsai, @MaxGekk, @cloud-fan

Test build #124647 has started for PR 28955 at commit 7a36dd3.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29264/
Test PASSed.

Test build #124647 has finished for PR 28955 at commit 7a36dd3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124647/
Test FAILed.

retest this please

Test build #124690 has started for PR 28955 at commit 7a36dd3.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29302/
Test PASSed.

Test build #124690 has finished for PR 28955 at commit 7a36dd3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124690/
Test FAILed.

retest this please

Test build #124700 has started for PR 28955 at commit 7a36dd3.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29311/
Test PASSed.

Oh sure @dongjoon-hyun. Let's use a new JIRA ID. But just to give you a bit of more contexts, I said "minimize the diff" because it will minimize the diff at https://github.com/apache/spark/pull/28761#discussion_r446761037, and if other codes match.
I was thinking about backporting this, @dongjoon-hyun to remove the unnecessary diff when you backport. It's a test-only PR so I guess it's fine to backport.
This isn't related to any internal branch stuff :-). it's just from https://github.com/apache/spark/pull/28761#discussion_r446761037.

BTW @dbtsai, let's block PRs even the comments are from tests in particular when the releases are close. Seems like it can be an issue in this case, and I definitely want to avoid such current situation that complicates backporting and matching with other codes.

BTW @dbtsai, let's consider to block a PR even when the comments are from tests in particular when the releases are close. Seems like it can be an issue in this case, and I definitely want to avoid such current situation that complicates backporting and matching with other codes.

Thank you for updating.

Test build #124700 has finished for PR 28955 at commit 7a36dd3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124700/
Test PASSed.

Thank you guys. Merged to master and branch-3.0.


Train with multiple GPUs

As in your code, you set "if det_annos is not None and rank == 0 " to process the distributed training mode in train_utils_ssl.py, but this means you can get dual_threshold value only in rank 0. All the other ranks, the dual_threshold will always be None type.  So in pv_rcnn_ssl.py, you have to process the condition that dual is None for example in line 98. This is not reasonable, why?

Thanks for your waiting.
After obtaining the dual thresholds in the main thread, they are broadcasted to other threads, so that each thread obtains the same dual thresholds and there will be no situation where the dual thresholds of a certain thread are None. The purpose of rank==0 is to gather the results (det_annos and aug_det_annos) in the main thread when calculating the dual thresholds.

Thanks for your waiting. After obtaining the dual thresholds in the main thread, they are broadcasted to other threads, so that each thread obtains the same dual thresholds and there will be no situation where the dual thresholds of a certain thread are None. The purpose of rank==0 is to gather the results (det_annos and aug_det_annos) in the main thread when calculating the dual thresholds.

Thanks for your reply.
I train the model as follows:

and add the "print code" in train_utils_sst.py and  pv_rcnn_ssl.py:

the results as follows:

does this mean the dual thresholds value in ranks == 1 always be None type ? maybe my understanding is wrong, you can try it

Sorry for the mistake, you are right.
I will recheck the code when I'm free.

Sorry for the mistake, you are right. I will recheck the released code when I'm free. The following simple operation may solve this problem.

ok, thanks a lot, I'll try it.

Closed. Feel free to reopen it if you have any further questions or concerns.


GEOMESA-1180 Added Kafka command line tools

Added common, accumulo, and kafka packages to the geomesa-tools module.
Added a geomesa-kafka script to geomesa-tools.
Added create, describe, list, listen, and removeschema commands for Kafka.

Signed-off-by: Alex Tatusko<EMAIL_ADDRESS>

@Afterglow375 do you have a jira issue for this? Please create one if not and update your comment to reference it.

@Afterglow375 I realized the lib folder change requires that the install-* scripts be updated as well. Could you take care of that?

taking a look through again now

77a676462b99f060b178aa27e055709a455c3c25


Support azure iot hub device SDK?

For connection with azure iot hub, I find getting-started, which demos simple connection over MQTT. For complete function, do you have a plan to support azure iot hub device SDK?

Got it. Many thanks for your information.


addVisualQueryService

Good afternoon,
I really like the option to add VQ to the connectors!
I am playing around with it and I have 4 questions, hopefully you can help me with this.

How can I enable the 'observed link' (LOB1)? I tried it in a few ways but I didn't get it working.

addVisualQueryService(
  // https://i2group.github.io/analyze-connect-node-sdk/guide/visual-query.html
  {
    id: 'visual-query-example',
    name: 'Visual query test',
    description: 'Visual query test...',
    config: {
      // allow camera ET7 and vehicle ET3 and observed link LOB1
      paletteItemTypes: { mode: 'ALLOW', itemTypeIds: ['ET3', 'ET7']},
      operatorUsageRules: [],
      constraints: {
        // Can users specify which record types they want in results?
        outputSelectionSupported: true,
        // How many items in the query structure can have count conditions?
        maximumCountConditions: 1,
        // How many query links can appear in the query structure?
        maximumQueryLinkCount: 10,
        // How many query entities can have the 'Any' type?
        maximumAnyEntityTypeSupported: 0,
        // How many query links can have the 'Any' type?
        maximumAnyLinkTypeSupported: 2,
      },
    },
  },
  // eslint-disable-next-line @typescript-eslint/require-await
  async ({ visualQuery, result }) => {
    console.log('VQ', visualQuery);
    console.log('result', result);
  }
);

The example contains still 2 typescript errors. I am also not a typescript expert so it would be nice if the examples are correct;)

Is it possible to define default values in the VQ? In my case that I search for vehicle color = red AND observed by a camera in a specified geospatial area?

How can I apply the Visual Query to the result? Should I go through all the conditions or is there a build in function to filter the result based on the VQ?

  // eslint-disable-next-line @typescript-eslint/require-await
  async ({ visualQuery, result }) => {
    const anpr_data = getAnprData();
    console.log('VQ', visualQuery);
    console.log('result', result);
    //console.log('anpr', anpr_data);

    if (anpr_data !== undefined){
      anpr_data.forEach((cam) => {
        if (cam !== undefined){
          addSurveillanceCamera(cam, result);
        }
      });
    }
  }

This gives the logging below.

Hi  @sdorresteijn88
I will see if I can get someone from development to help you here.
Cheers

Sorry for the delay! I have set up a new connector using the snippets you have provided and have used the law enforcement schema as the connector schema. This will be the basis for my replies for reference.

I have copied the code you have provided and it looks like you have not included the 'LOB1' id in the list of itemTypeIds. When adding this it enabled me to draw a link accordingly.

addVisualQueryService(
  {
    id: 'visual-query-example',
    name: 'Visual query test',
    description: 'Visual query test...',
    config: {
      // allow camera ET7 and vehicle ET3 and observed link LOB1
      paletteItemTypes: { mode: 'ALLOW', itemTypeIds: ['ET3', 'ET7', 'LOB1'] },
      operatorUsageRules: [],
      constraints: {
        // Can users specify which record types they want in results?
        outputSelectionSupported: true,
        // How many items in the query structure can have count conditions?
        maximumCountConditions: 1,
        // How many query links can appear in the query structure?
        maximumQueryLinkCount: 10,
        // How many query entities can have the 'Any' type?
        maximumAnyEntityTypeSupported: 0,
        // How many query links can have the 'Any' type?
        maximumAnyLinkTypeSupported: 2,
      },
    },
  },
  ({ result, visualQuery }) => {
    console.log('VQ', visualQuery);
    console.log('result', result);
  }
);

I was not able to reproduce the unsafe call issue or the in point 2, nor the require await eslint issue.
It could potentially be related to cached types of an older DK version if the IDE hasn't been reloaded following updating the package for example. I would note the latter will not be an issue once because once fully implemented as there will be async operations within the function (details here).

We do not currently have support for a default VQ structure as described but I can log the request internally.

We provide the structure that has been drawn in a raw form but turning that into a request against a source system is the implementors responsibility.
This is done by forming a query to run against the source system, e.g. looping through the elements in the visualQuery and generating a SQL query matching the structure and conditions.
Once the data is returned the results can be constructed.
You typically would not bring the entire source data into the connector and post process it which it looks like the snippet is doing.

Good morning @Jonny-Cornwell-i2,
Thanks for your extensive answer.

I tried it but maybe I forgot to reload the plugin. Any way it works now:)
Thanks for your explanation.
This would be nice and helpful in my opinion. Or maybe the option to use saved VQs in a connector.
Clear, I wanted to be sure before I spent a lot of time on it and afterwards it would turn out that it could be done easier:)


Add simple single VM provisioning

In addition to PVC provisioned clusters, we need a way to provision a simple single VM.
Input:

image
flavor
public IP (static or auto)
security group rules for external firewall
life-time
volumes (optional)

Options:

use PVC to provision only master, need some work on PVC
create a custom provisioning driver based on PVC/openstack_api_wrapper
create a custom provisioning driver based on Ansible

Implemented in PVC fa59c982ee55d746afbdb6cc1ec5933426202697


fix: remove ".ts" from import statement in Unit Testing guide

Describe this PR
Doing import { createUser, updateUsername } from '../functions-without-context.ts' results into the following error error:
error TS2691: An import path cannot end with a '.ts' extension. Consider importing '../functions-without-context' instead.
Changes
Remove .ts from the import statement
What issue does this fix?
Fixes #4557

Fixed in https://github.com/prisma/docs/pull/4622


add more tests for app-sync.js

~Needs #423 to be merged first~

Happy to review once conflicts are solved

Happy to review once conflicts are solved

Done :)

Thanks!


New logi/icon

Hi, I am a graphic designer, I want to help others in graphic design.
After I reviewed your project, your logo on this project not attractive and generic . Therefore I want to contribute to this project by creating a new logo / icon. what do you think?

That'd be awesome! I'd love to see it <3 I ended up getting this one from 99designs and messing around with it, but any help would be greatly appreciated.

I have design icon for this project. what do you think ? do you like it ?

sorry for a long time.


IOS image not showing in React Native 0.62.2

I was having issue with image not working in ios in RN 0.62.2
Here is the diff that solved my problem:
diff --git a/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m b/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
index 21f1a06..d106e1b 100644
--- a/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
+++ b/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
@@ -273,9 +273,11 @@ - (void)displayDidRefresh:(CADisplayLink *)displayLink
 - (void)displayLayer:(CALayer *)layer
 {
   if (_currentFrame) {
-    layer.contentsScale = self.animatedImageScale;
-    layer.contents = (__bridge id)_currentFrame.CGImage;
-  }
+  layer.contentsScale = self.animatedImageScale;
+  layer.contents = (__bridge id)_currentFrame.CGImage;
+ } else {
+  [super displayLayer:layer];
+ }
 }

 #pragma mark - Util

This issue body was partially generated by patch-package.

Closed as invalid (not following the issue template)


Broken path to asset

Recently purchased Impact pro, but this issue seems common in both versions.
File:  src/dashboard/scss/core/vendors/_fullcalendar.scss
Line: 161, 164, ...
background-image: url('../img/calendar/january.jpg');
background-image: url('../img/calendar/february.jpg');
background-image: url('../img/calendar/march.jpg');
I can't find these jpg files
@zoltanszogyenyi Can you please look into this on priority? I am unable to use your product

@timcreative Can you please look into?

Hello @sagarsoni7. We're on it now and will provide a solution & update shortly. Thanks.

@sagarsoni7 those images, as far as I can see, aren't used anywhere. So I would say that it's safe to delete those background-image url's. In fact, the "data-calendar-month" doesn't exist as an attribute when searching for the markup. We'll remove these lines in the v1.1.1 update

FYI just released a small v1.1.1 update which will be available to download on the Creative Tim dashboard. Just a few fixes here and there. If you find other problems, we'll try patching them until we make the larger Bootstrap 5 update in Q3. Thank you.


fix: Process only unprocessed tags in recursion

Regression from #101

@samlown I've tested our case with this code & it works OK (apart from #102), so I'd love to get a release after the PR is merged

@samlown is there any chance of review this week?

@samlown could you also create a tag/release?


weak DNS propagation for CNAME record seems to cause a failure in renewal

Hi,
certbot and acme-dns-certbot.py work well to get certificates for several domains, wildcard or not.
I have a problem to renew one wildcard TLS certificate (foo.org,*.foo.org)
IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: foo.org
   Type:   dns
   Detail: During secondary validation: DNS problem: NXDOMAIN looking
   up TXT for _acme-challenge.foo.org - check that a DNS record
   exists for this domain

   Domain: foo.org
   Type:   dns
   Detail: DNS problem: NXDOMAIN looking up TXT for
   _acme-challenge.foo.org - check that a DNS record exists for
   this domain

The only cause I can see is a limited propagation of the CNAME record for _acme-challenge.foo.org (with a value like 47fc-****.auth.acme-dns.io.):
Only cloudflare shows the expected resourced record while other domain names are propagated on all main nameservers (cloudflare opendns  yandex quad9 google).
1/ Have you experienced such problem?
2/ Can you check if some settings could be done on auth.acme-dns.io. to improve propagation ?
3/ Is here an option to force using a nameserver which is known to deliver the expected CNAME record?
Side question: is running one's own instance of acme-dns (with the go program, etc. instead of using auth.acme-dns.io.) is known to improve this issue?
Thanks.
EDIT
I could have the DNS cache flushed for google, etc.
Now _acme-challenge.foo.org has correct CNAME record.
But stil the following errors
 - The following errors were reported by the server:

   Domain: foo.org
   Type:   dns
   Detail: DNS problem: NXDOMAIN looking up TXT for
   _acme-challenge.foo.org - check that a DNS record exists for
   this domain

   Domain: foo.org
   Type:   dns
   Detail: DNS problem: NXDOMAIN looking up TXT for
   _acme-challenge.foo.org - check that a DNS record exists for
   this domain

then simply:
- The following errors were reported by the server:

  Domain: foo.org
  Type:   dns
  Detail: DNS problem: NXDOMAIN looking up TXT for
  _acme-challenge.foo.org - check that a DNS record exists for
  this domain

or again and mainly the 2 items error.
I don't understand why there is a "DNS problem: NXDOMAIN looking up TXT for  _acme-challenge.foo.org" because there is a CNAME record for _acme-challenge.foo.org to ****.auth.acme-dns.io. where 2 TXT records are generated with a TTL of 1 s.
Is it an incorrect message from cerbot ?

Cause: there was a misconfiguration of NS. That's why the CNAME was poorly propagated on name servers.
Suggestion: what about checking that CNAME record for _acme-challenge.foo.org to ****.auth.acme-dns.io. is CORRECT instead of a cryptic "Detail: DNS problem: NXDOMAIN looking up TXT for  _acme-challenge.foo.org - check that a DNS record exists for this domain" because these TXT records are managed by auth.acme-dns.io.

@MdeLv Please close the issue


Always running in single file mode

I have been unable to get roslyn.nvim running over a project or solution. Instead, it will always run in single file mode.
I have tried specifying the solution file name in choose_sln and specifying the root directory in the config section, but these steps did not change anything.
I can confirm that vim.g.roslyn_nvim_selected_solution is set to the expected solution path: C:/Users/me/code/test/test.sln
:LspInfo prints the following

LSP configs active in this buffer (id=1)
Language client log: ~\AppData\Local\nvim-data\lsp.log
Detected filetype: cs
1 client(s) attached to this buffer
Client: roslyn (id: 1, bufnr: [1])
filetypes:
root directory:  Running in single file mode.
cmd:  ~\code\test\source<function>
autostart: false

OS: Windows 11
Current commit: 11168911d35ea276b1fbd8fa33f7564325b6c624

Are you sure that it doesn't work over the entire solution and just LspInfo is wrong?

On further inspection, this was caused by the on_attach function that sets the keybinds not being called in my configuration. Apologies for the false alarm.


LeanCopilot + MathLib

Hello team and thank you for the wonderful project!
I am trying to get LeanCopilot running alongside MathLib. I suspect the issue is with version compatibility.
For example, if I start with this project and then follow this guide to add MathLib to an existing project, everything fails.
I noticed that installing MathLib automatically updates lean-toolchain from leanprover/lean4:v4.11.0 to leanprover/lean4:v4.13.0-rc3 and the latter is not supported by LeanCopilot.
Is there an easy fix for this?
Again, awesome project and apologies for annoying questions!

I just updated LeanCopilot to support v4.14.0 and v4.15.0-rc1. Can you try again and see if the issue still persists?


Drop Spring Boot Batch parts

Situation
With #701 we moved the synchronous execution outside the running Spring Batch job in another Thread to close its transaction.
The execution process was the last remaining part why we used Spring Batch here. We do not need it any longer and it is just a unnecessary complexity.
Wanted
Change call mechanism, so we can completely remove Spring Batch.
This will also avoid situations like #499 which was only because of internal Spring Batch changes.
Solution

Instead of starting a Spring Batch job the scheduler shall directly call the SynchronSecHubJobExecutor which was introduced with #701.
After this has been done, remove any Spring Batch part. This includes not only code but also the existing Spring Batch database tables!
Update architecture diagrams and documentation

Remark:
There have been multiple changes done in #1526 which are related to this.
For example: abandonable and its dedicated exception were already removed.


Make ManagedNumberField.handleFocus set 'focused' and 'focusedVal' correctly

Fixes #475. The main problem was that handleFocus wasn't setting "focused" to true if the value was nonzero, so it would only show the rounded value even if the user invisibly enters a number with more than 2 decimal places.  In addition, the function wasn't setting "focusedVal" to the value on focus, which is especially important if switching from one box to another on the same row.

Awesome! We'll test it out tonight!


fix(logger): logs fail to be printed to stdout and the process is not terminated for fatal errors before logging is initialized

https://github.com/apache/incubator-pegasus/issues/1807
Implement dsn_log interface for screen_logger in case that there is
not any logging message being printed and the process is not terminated,
while invalid values for the options loaded from configuration file are found,
or some other errors occur that would make assertions fail.

Remove DEFINE_TASK_CODE(LPC_AIO_IMMEDIATE_CALLBACK, TASK_PRIORITY_COMMON, dsn::THREAD_POOL_DEFAULT) due to following duplicate definition for LPC_AIO_IMMEDIATE_CALLBACK(it has been defined as MAKE_EVENT_CODE_AIO(LPC_AIO_IMMEDIATE_CALLBACK, TASK_PRIORITY_COMMON)):
Run export LD_LIBRARY_PATH=`pwd`/thirdparty/output/lib:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server
  export LD_LIBRARY_PATH=`pwd`/thirdparty/output/lib:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server
  ulimit -s unlimited
  ./run.sh test --onebox_opts "$ONEBOX_OPTS" --test_opts "$TEST_OPTS" -m dsn.rep_tests.simple_kv
  shell: sh -e {0}
  env:
    ONEBOX_OPTS: disk_min_available_space_ratio=5
    TEST_OPTS: disk_min_available_space_ratio=5,throttle_test_medium_value_kb=10,throttle_test_large_value_kb=25
Test start time: Wed Dec 20 12:25:18 Asia 2023
test_modules=dsn.rep_tests.simple_kv
====================== run dsn.rep_tests.simple_kv ==========================
zookeeper-bin cannot be found under /__w/incubator-pegasus/incubator-pegasus/.zk_install, thus try to find an existing one
zookeeper-bin is found under current work dir /__w/incubator-pegasus/incubator-pegasus, just use this one
TARGET_PATH zookeeper-bin has existed, thus do not try to download apache-zookeeper-3.7.0-bin
ZooKeeper JMX enabled by default
Using config: /__w/incubator-pegasus/incubator-pegasus/.zk_install/zookeeper-bin/bin/../conf/zoo.cfg
Starting zookeeper ... STARTED
Zookeeper started at port 22181
/__w/incubator-pegasus/incubator-pegasus/build/latest/bin/dsn.rep_tests.simple_kv /__w/incubator-pegasus/incubator-pegasus
./dsn.rep_tests.simple_kv case-000.ini case-000.act
Chosen stacktrace method is libgcc
Supported methods:
* generic_fp
* generic_fp_unsafe
* libgcc
* null

Use TCMALLOC_STACKTRACE_METHOD environment variable to override
F2023-12-20 12:25:21.367<PHONE_NUMBER>367233381 264) : assertion expression: [spec->type == type] 3 vs 2 task code LPC_AIO_IMMEDIATE_CALLBACK registerd for TASK_TYPE_COMPUTE, which does not match with previously registered TASK_TYPE_AIO
./run.sh: line 30:   264 Aborted                 (core dumped) ${bin} ${prefix}.ini ${prefix}.act
rm: missing operand
Try 'rm --help' for more information.
run case-000 failed, return value = 134
Error: Process completed with exit code 1.

Actually logging_provider::dsn_logv is useless thus could be dropped.I'll open another pull request to do this.


bad code show case

Try export onnx file

Preparing review...

PR Analysis

🎯 Main theme: The PR seems to be an attempt to add a new feature for exporting a model into ONNX format.
📝 PR summary: The PR introduces a new class SubTreeExtractor and a function ddd. It also adds a line to export the SubTreeExtractor model into ONNX format. However, the function ddd seems to be incomplete and the usage of PyTorch's torch.onnx.export function seems incorrect.
📌 Type of PR: Enhancement
🧪 Relevant tests added: No
⏱ Estimated effort to review [1-5]: 2, the PR is relatively small and the changes are straightforward, but there are some issues with the new code that need to be addressed.
🔒 Security concerns: No security concerns found

PR Feedback

💡 General suggestions: The PR could benefit from some cleanup and correction. The function ddd seems to be incomplete and its purpose is unclear. The usage of torch.onnx.export is incorrect and needs to be fixed. It would also be helpful to add some comments explaining the purpose of the new class and function.


Unicorn approved link is down.

Owner closed his account.

That was fixed in https://github.com/sindresorhus/chalk/commit/acf38095ea62abc090289db66dc7df87d8f81059 but just didn't make it to npm yet.


webView: Fix generatedEs3.js is not updated with js.js.

466329641c026807b0f0f497ed7a02830e0c1fa3 updated the js.js but
forgot to generate webview js file. Thanks to travis for pointing out
that generatedEs3.js is not updated with js.js.

Ah indeed, thanks @jainkuniya -- merged!


Add option to disable bluetooth

Together with pausing music playback, also disabling bluetooth would be great. When the alarm in the morning hits through my bluetooth speaker it's quite an unpleasant start of the day.
Unfortunately my phone has no setting for where the alarm should be played. I have found no explicit "bluetooth sleep timer" app. Maybe I'll look into controlling bluetooth from termux.
Anyway, thanks for the app, the implemented features work great on my Android 11 phone.

Hi @tysino, thanks for the feedback, unfortunately this would require too much work and would go against the purpose of this project which aims to be minimalistic and to not provide any piece of user interface. Everything is controled by Android's System UI.
But you are welcome to fork this project if you want to.

Hey @SimonMarquis, I was trying to make this work, but it's a hassle for me (whereas you already know what you're doing and have the setup, etc). Do you think I could commission this change to you? We can figure out the details if you are up for it! :)

Hi @filipesmedeiros, unfortunately I wont be able to work on this. And as I said earlier, this would require some amount of work and would go against the "simplicity" of this app. For example, we can't simply "disable" bluetooth, otherwise it would stop any other bluetooth device connected, and that will be counter productive. I hope this makes sense for you.

Hey @SimonMarquis, thank you for the response! Just to clarify, I don't mind comissioning a fork. You wouldn't need to alter the current version in this repo. I am basically just asking for your help for coding a feature I would like to have on my fork, and paying you for it ahah
As a side note, I personally wouldn't mind turning off bluetooth completely, it would save energy by avoiding my speaker being on the whole night, and the phone having BT on all night as well. I suppose a lot of people would agree.
But I understand if you don't want to use time on this feature. And I thank you for the awesome simple app :)


⚠ SceneTime has degraded performance

In af1663d, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1288 ms

Resolved: SceneTime performance has improved in e611b1f after 12 minutes.


Deafult size is way to big

Something like this might be more reasonable

I'm personally more partial to the more margin-y default size of right now, but I guess it's got a lot more wasted space


Can't paste into jupyter widget text cell (continued)

Opening this instead of the closed  #15154.
I have the same issue.

Using latest vscode on Mac using the remote extension.

It works on my Linux (Ubuntu) machine (also using remote extension).

Tried ipywidgets 8 as well as downgrading to 7, with no effect.

To answer the last question in the thread:
          ok, that's exactly what I see in the logs as well.

Feels like a long shot, but can you open the developer tools and watch for any errors in the console when you try to paste into either of those fields: Developer: Toggle Developer Tools
Originally posted by @amunger in https://github.com/microsoft/vscode-jupyter/issues/15154#issuecomment-1934607795
I am not seeing any warnings or errors in the console when trying to paste. It works fine in the HTML widget:
from IPython.display import HTML
HTML('<input type="text" placeholder="Enter your name" /><')

There is a warning when creating the widget (edit: but this seems unrelated --- if I create the widget differently the warning disappears, but pasting still does not work):
Extension Host] warn 14:58:31.356: Jupyter Extension: Unable to find a cell that owns the model 2bf20d706afa42e6a725686c8326a9d7

tracking through https://github.com/microsoft/vscode-jupyter/issues/15787


Check for signals.tsv

Given it's an optional step - need to check for signals file for ag1000gsweepsDE in checkINputs.py

implemented


Cache label BitMapText objects in a map

This commit adds a map to the time-graph-state component as a cache for the state labels. The cache is implemented as a map with the text scaling value (display width / full label width) as the key and the PIXI.BitMapText object as the value. With this change, the timeline-chart can reuse display objects if they were not changed, or if they were created recently.
The size of the cache is fixed, determined by the LABEL_CACHE_SIZE constant. When updating the cache, the timeline-chart will remove the oldest entry in the map. The reasoning behind this is that users are more likely to zoom in/out contiguous zoom levels.
This commit improves the loading time when zooming in and out of the timeline-chart.
Signed-off-by: Hoang Thuan Pham<EMAIL_ADDRESS>

I ran a simple test. 10000 states, all with the same name.
2023-01-11T22:28:07.167Z root INFO Hit rate 0 / 1000
2023-01-11T22:28:08.456Z root INFO Hit rate 0 / 2000
2023-01-11T22:28:08.457Z root INFO Hit rate 0 / 3000
2023-01-11T22:28:09.869Z root INFO Hit rate 0 / 4000
2023-01-11T22:28:09.870Z root INFO Hit rate 0 / 5000
2023-01-11T22:28:12.693Z root INFO Hit rate 0 / 6000
2023-01-11T22:28:12.694Z root INFO Hit rate 0 / 7000
2023-01-11T22:28:13.843Z root INFO Hit rate 0 / 8000
2023-01-11T22:28:18.411Z root INFO Hit rate 0 / 9000
2023-01-11T22:28:19.564Z root INFO Hit rate 0 / 10000
2023-01-11T22:28:21.425Z root INFO Hit rate 0 / 11000
2023-01-11T22:28:22.910Z root INFO Hit rate 0 / 12000
2023-01-11T22:28:27.448Z root INFO Hit rate 0 / 13000
2023-01-11T22:28:28.765Z root INFO Hit rate 0 / 14000
2023-01-11T22:28:31.175Z root INFO Hit rate 0 / 15000
2023-01-11T22:28:32.501Z root INFO Hit rate 0 / 16000
2023-01-11T22:28:36.181Z root INFO Hit rate 0 / 17000
2023-01-11T22:28:37.447Z root INFO Hit rate 0 / 18000
2023-01-11T22:28:38.234Z root INFO Hit rate 0 / 19000
2023-01-11T22:28:40.478Z root INFO Hit rate 0 / 20000
Maybe check the key, that it's the same?

Thank you guys, I will take a look at your comment.

I tried moving the cache into the chart level with the intention of reusing the BitMapText objects for all states that share the same label (so if 5 states have the same label, I would use a single display object). However, each BitMapText when displayed has a different coordinate in the canvas, so (to the best of my knowledge) we do need to have separate objects for separate labels (due to the XY-coordinate differences).
@bhufmann WDYT? Do you have another approach that you have in mind?

I tried moving the cache into the chart level with the intention of reusing the BitMapText objects for all states that share the same label (so if 5 states have the same label, I would use a single display object). However, each BitMapText when displayed has a different coordinate in the canvas, so (to the best of my knowledge) we do need to have separate objects for separate labels (due to the XY-coordinate differences).
@bhufmann WDYT? Do you have another approach that you have in mind?

That's very true that a text object cannot be shared by states. Text objects with the same text would have to have a pool of objects that would be cached. I'm not clear at the moment if that approach would gain performance improvement, @MatthewKhouzam any suggestions on how to proceed?


How to get the double-hashed value in solidity?

I use this lib to generate multi proof for MerkleProof.sol use and it works fine!
However, I found out that the hashLeaf function is to double hash the value, so I try to do it in solidity like this
keccak256(abi.encodePacked(keccak256(abi.encodePacked("Test")))));

but the result is not the same as that from hashLeaf function on @openzeppelin/merkle-tree lib.
If I want to generate double hash value in solidity, how do i do?
keccak256(abi.encodePacked(keccak256(abi.encodePacked("Test"))))) : 0x2380b87d3868c7b4fc9c6fbdf21c5410bbfc6486bf5b478c89e77880c5dd5919
tree.hashLeaf(["Test"]) : 0x45584dfe70323c546d4297daadcceb9c657174eb3f24c2f8857cbaaf861bf1ba

Sorry, I found the solution on README
keccak256(bytes.concat(keccak256(abi.encode("Test"))))

Glad you found it. I added leafHash which was missing from the API docs and included the Solidity snippet in there as well.


Prefix option?  Just like Import-PSSession -Prefix "Exo"

I like to add a prefix (e.g. Get-ExoMailbox, Get-ExoCasMailbox, Get-ExoOrganizationRelationship) to my EXO PowerShell sessions.  This allows me to connect to Exchange on-premises at the same time, without worrying about the commands from each session conflicting.
I see there is already a -PSSessionOption parameter but I'm having trouble figuring out if this might be the means to accomplish setting a prefix.  Can you please provide guidance for the -PSSessionOption parameter?  Depending on if it does or doesn't enable setting a prefix, I will go and do the UserVoice feature suggestion.

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

ID: 65e527db-a4c2-782e-5a5f-ad8b3159a977
Version Independent ID: f2de1272-5e37-c59f-fcb9-34fa66b0d268
Content: Connect to Exchange Online PowerShell using multi-factor authentication
Content Source: exchange/docs-conceptual/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell.md
Service: exchange-online
GitHub Login: @chrisda
Microsoft Alias: chrisda

@JeremyTBradshaw it would probably be easier to use -Prefix on your connection to the on-premises Exchange server.

You know, agreed.  That is a perfect solution, with the only drawback being me having to break a habit 😁.
Thanks.  Feel free to close but if an explanation of when and how to use the PSSessionOption was available, just in case, that would be bonus points!


Scan runs all simulators with same name

It makes builds unstable, falling with timeout or because number of maximum open files reached.
I run scan like this:
      scan(
        workspace:          workspace,
        scheme:             test_scheme,
        configuration:      "Debug",
        clean:              clean,
        sdk:                "iphonesimulator#{sdk}", ##{os}", # build sdk
        device:             "#{device} (#{os})", # run simulator
        output_directory:   reports_path,
        buildlog_path:      logs_path,
        derived_data_path:  $derived_data_path,
        output_types:       output_types,
        output_style:       output_style,
        open_report:        false,
        skip_build:         true,
      )

Here is the log of simulators run:
[15:05:34][Building & Running the tests] [15:05:34]: ▸ 2017-11-21 15:05:34.222 xcodebuild[27499:143299]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[15:05:34][Building & Running the tests] [15:05:34]: ▸ /var/folders/0q/f4_895m546q5f_8xqxlv1wgr0000gn/T/com.apple.dt.XCTest/IDETestRunSession-AF6392D6-C521-4F72-B059-8A426BF34753/BPUITests-631F05B2-F71D-4300-882C-DB4292BD5F12/Session-BPUITests-2017-11-21_150534-70YQrr.log
[15:05:34][Building & Running the tests] [15:05:34]: ▸ 2017-11-21 15:05:34.222 xcodebuild[27499:142939] [MT] IDETestOperationsObserverDebug: (AA1A6C19-1C82-4FF1-998F-3807C2BA81C1) Beginning test session BPUITests-AA1A6C19-1C82-4FF1-998F-3807C2BA81C1 at 2017-11-21 15:05:34.222 with Xcode 9A235 on target <DVTiPhoneSimulator: 0x7faf6dcbcd50> {
[15:05:34][Building & Running the tests] [15:05:34]: ▸ SimDevice: iPhone 5s (757E03EB-E9C0-473B-AE40-A03ACF13F15D, iOS 11.0, Booted)
[15:05:34][Building & Running the tests] [15:05:34]: ▸ } (11.0 (15A372))
[15:05:34][Building & Running the tests] [15:05:34]: ▸ 2017-11-21 15:05:34.434 xcodebuild[27499:143348]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[15:05:34][Building & Running the tests] [15:05:34]: ▸ /var/folders/0q/f4_895m546q5f_8xqxlv1wgr0000gn/T/com.apple.dt.XCTest/IDETestRunSession-A3910B9F-7C9E-47EC-ADEE-E4DBCE0A6359/BPUITests-04D1DA1C-7C6F-4739-9DC0-D8DB710EF6BE/Session-BPUITests-2017-11-21_150534-uno2oK.log
[15:05:34][Building & Running the tests] [15:05:34]: ▸ 2017-11-21 15:05:34.435 xcodebuild[27499:142939] [MT] IDETestOperationsObserverDebug: (D4E01F74-4811-4B66-BDD9-627C4553B7E7) Beginning test session BPUITests-D4E01F74-4811-4B66-BDD9-627C4553B7E7 at 2017-11-21 15:05:34.435 with Xcode 9A235 on target <DVTiPhoneSimulator: 0x7faf71d128b0> {
[15:05:34][Building & Running the tests] [15:05:34]: ▸ SimDevice: iPhone 5s (557C9B17-6817-4C45-B8C3-B7019E3C7FB2, iOS 11.0, Booted)
[15:05:34][Building & Running the tests] [15:05:34]: ▸ } (11.0 (15A372))
[15:05:34][Building & Running the tests] [15:05:34]: ▸ 2017-11-21 15:05:34.693 xcodebuild[27499:143347]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[15:05:34][Building & Running the tests] [15:05:34]: ▸ /var/folders/0q/f4_895m546q5f_8xqxlv1wgr0000gn/T/com.apple.dt.XCTest/IDETestRunSession-F614AD9C-5AFC-45D2-8A36-E39C061CE816/BPUITests-939308A1-1E2C-424D-900B-8EA4DA5613CA/Session-BPUITests-2017-11-21_150534-1U62TG.log
[15:05:34][Building & Running the tests] [15:05:34]: ▸ 2017-11-21 15:05:34.693 xcodebuild[27499:142939] [MT] IDETestOperationsObserverDebug: (B3A8CEFA-BE66-454B-8E68-205CBCF11A0C) Beginning test session BPUITests-B3A8CEFA-BE66-454B-8E68-205CBCF11A0C at 2017-11-21 15:05:34.693 with Xcode 9A235 on target <DVTiPhoneSimulator: 0x7faf71d1e3d0> {
[15:05:34][Building & Running the tests] [15:05:34]: ▸ SimDevice: iPhone 5s (248BE07E-46CD-4F58-9006-73858534A6CB, iOS 11.0, Booted)
[15:05:34][Building & Running the tests] [15:05:34]: ▸ } (11.0 (15A372))
[15:05:35][Building & Running the tests] [15:05:35]: ▸ 2017-11-21 15:05:35.334 xcodebuild[27499:143295]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[15:05:35][Building & Running the tests] [15:05:35]: ▸ /var/folders/0q/f4_895m546q5f_8xqxlv1wgr0000gn/T/com.apple.dt.XCTest/IDETestRunSession-99DCE143-FE82-460C-9762-C159F7957E6D/BPUITests-682F9585-4EAF-4A29-8216-AACE168C8D0C/Session-BPUITests-2017-11-21_150535-wrM49c.log
[15:05:35][Building & Running the tests] [15:05:35]: ▸ 2017-11-21 15:05:35.334 xcodebuild[27499:142939] [MT] IDETestOperationsObserverDebug: (BB4C1206-8158-481F-8281-62DD987465D3) Beginning test session BPUITests-BB4C1206-8158-481F-8281-62DD987465D3 at 2017-11-21 15:05:35.334 with Xcode 9A235 on target <DVTiPhoneSimulator: 0x7faf71d1ed70> {
[15:05:35][Building & Running the tests] [15:05:35]: ▸ SimDevice: iPhone 5s (D3398562-EA17-4683-8EB4-7A2B3273970B, iOS 11.0, Booted)
[15:05:35][Building & Running the tests] [15:05:35]: ▸ } (11.0 (15A372))
[15:05:35][Building & Running the tests] [15:05:35]: ▸ 2017-11-21 15:05:35.580 xcodebuild[27499:143299]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[15:05:35][Building & Running the tests] [15:05:35]: ▸ /var/folders/0q/f4_895m546q5f_8xqxlv1wgr0000gn/T/com.apple.dt.XCTest/IDETestRunSession-43A6603D-3091-4A83-8B74-0898A215CDB9/BPUITests-C69568F8-E9F4-4D63-917D-CF7B4432BB03/Session-BPUITests-2017-11-21_150535-OlhJFr.log
[15:05:35][Building & Running the tests] [15:05:35]: ▸ 2017-11-21 15:05:35.580 xcodebuild[27499:142939] [MT] IDETestOperationsObserverDebug: (F835389C-D2C1-47A1-AB52-618441EFB45B) Beginning test session BPUITests-F835389C-D2C1-47A1-AB52-618441EFB45B at 2017-11-21 15:05:35.581 with Xcode 9A235 on target <DVTiPhoneSimulator: 0x7faf71d1f670> {
[15:05:35][Building & Running the tests] [15:05:35]: ▸ SimDevice: iPhone 5s (D77F6070-DAF2-4033-86BC-8947ADA586ED, iOS 11.0, Booted)
[15:05:35][Building & Running the tests] [15:05:35]: ▸ } (11.0 (15A372))
[15:05:35][Building & Running the tests] [15:05:35]: ▸ 2017-11-21 15:05:35.942 xcodebuild[27499:143346]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[15:05:35][Building & Running the tests] [15:05:35]: ▸ /var/folders/0q/f4_895m546q5f_8xqxlv1wgr0000gn/T/com.apple.dt.XCTest/IDETestRunSession-0962DAE7-B61F-41D8-8C0B-10C802162B3E/BPUITests-E4FA315D-00B1-4C86-A37B-34244A13DF9B/Session-BPUITests-2017-11-21_150535-e3YCx9.log
[15:05:35][Building & Running the tests] [15:05:35]: ▸ 2017-11-21 15:05:35.942 xcodebuild[27499:142939] [MT] IDETestOperationsObserverDebug: (07093FAA-A874-49F3-B4A5-67F62A273E8C) Beginning test session BPUITests-07093FAA-A874-49F3-B4A5-67F62A273E8C at 2017-11-21 15:05:35.942 with Xcode 9A235 on target <DVTiPhoneSimulator: 0x7faf71d20290> {
[15:05:35][Building & Running the tests] [15:05:35]: ▸ SimDevice: iPhone 5s (CCD3E006-7127-4491-825C-917E76B06C5C, iOS 11.0, Booted)
[15:05:36][Building & Running the tests] [15:05:35]: ▸ } (11.0 (15A372))
[15:05:36][Building & Running the tests] [15:05:36]: ▸ 2017-11-21 15:05:36.328 xcodebuild[27499:142943]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[15:05:36][Building & Running the tests] [15:05:36]: ▸ /var/folders/0q/f4_895m546q5f_8xqxlv1wgr0000gn/T/com.apple.dt.XCTest/IDETestRunSession-D14A1662-07D4-419B-AB67-7255C0851C7D/BPUITests-4B899649-9AFB-4E86-BC11-A364E30C2636/Session-BPUITests-2017-11-21_150536-RCgMAV.log
[15:05:36][Building & Running the tests] [15:05:36]: ▸ 2017-11-21 15:05:36.329 xcodebuild[27499:142939] [MT] IDETestOperationsObserverDebug: (CD00D2D3-F9F1-4060-BDF9-3E5B2D289214) Beginning test session BPUITests-CD00D2D3-F9F1-4060-BDF9-3E5B2D289214 at 2017-11-21 15:05:36.329 with Xcode 9A235 on target <DVTiPhoneSimulator: 0x7faf71d35970> {
[15:05:36][Building & Running the tests] [15:05:36]: ▸ SimDevice: iPhone 5s (C690862F-F95B-4F24-93A6-E6DA226466DB, iOS 11.0, Booted)
[15:05:36][Building & Running the tests] [15:05:36]: ▸ } (11.0 (15A372))
[15:05:38][Building & Running the tests] [15:05:38]: ▸ 2017-11-21 15:05:38.001 xcodebuild[27499:143338]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[15:05:38][Building & Running the tests] [15:05:38]: ▸ /var/folders/0q/f4_895m546q5f_8xqxlv1wgr0000gn/T/com.apple.dt.XCTest/IDETestRunSession-7BF4B57F-E71A-49E0-997B-C8A175B70419/BPUITests-B7FD6180-A14A-40BC-BCC9-4A69E99B03FC/Session-BPUITests-2017-11-21_150538-3Dvr5N.log
[15:05:38][Building & Running the tests] [15:05:38]: ▸ 2017-11-21 15:05:38.002 xcodebuild[27499:142939] [MT] IDETestOperationsObserverDebug: (EA7D8B16-DE0F-47FE-9B2C-523418A35B95) Beginning test session BPUITests-EA7D8B16-DE0F-47FE-9B2C-523418A35B95 at 2017-11-21 15:05:38.001 with Xcode 9A235 on target <DVTiPhoneSimulator: 0x7faf71d36960> {
[15:05:38][Building & Running the tests] [15:05:38]: ▸ SimDevice: iPhone 5s (9EA87BB8-2376-42FF-A775-D4E4BAF04E43, iOS 11.0, Booted)
[15:05:38][Building & Running the tests] [15:05:38]: ▸ } (11.0 (15A372))
[15:05:39][Building & Running the tests] [15:05:39]: ▸ 2017-11-21 15:05:39.471 xcodebuild[27499:142945]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[15:05:39][Building & Running the tests] [15:05:39]: ▸ /var/folders/0q/f4_895m546q5f_8xqxlv1wgr0000gn/T/com.apple.dt.XCTest/IDETestRunSession-C59A9174-F9EF-4CD9-89AB-BBAEEAAD5652/BPUITests-B3CE3871-E250-4901-9AB5-9D3F8712016C/Session-BPUITests-2017-11-21_150539-SbVTTO.log
[15:05:39][Building & Running the tests] [15:05:39]: ▸ 2017-11-21 15:05:39.472 xcodebuild[27499:142939] [MT] IDETestOperationsObserverDebug: (9A8D8366-C733-47FC-8A64-9BDD303DEB5A) Beginning test session BPUITests-9A8D8366-C733-47FC-8A64-9BDD303DEB5A at 2017-11-21 15:05:39.471 with Xcode 9A235 on target <DVTiPhoneSimulator: 0x7faf71d37740> {
[15:05:39][Building & Running the tests] [15:05:39]: ▸ SimDevice: iPhone 5s (9984D61C-F31A-4EB6-8B16-14FCD484F652, iOS 11.0, Booted)
[15:05:39][Building & Running the tests] [15:05:39]: ▸ } (11.0 (15A372))
[15:05:40][Building & Running the tests] [15:05:40]: ▸ 2017-11-21 15:05:40.501 xcodebuild[27499:142939] [MT] IDETestOperationsObserverDebug: (0AC44507-44BC-4223-B0B5-3165417D24BC) Beginning test session BPUITests-0AC44507-44BC-4223-B0B5-3165417D24BC at 2017-11-21 15:05:40.499 with Xcode 9A235 on target <DVTiPhoneSimulator: 0x7faf71d38520> {
[15:05:40][Building & Running the tests] [15:05:40]: ▸ SimDevice: iPhone 5s (9DDF17B9-5A70-4FB1-A700-AD5D77F7B7EB, iOS 11.0, Booted)
[15:05:40][Building & Running the tests] [15:05:40]: ▸ } (11.0 (15A372))
[15:05:40][Building & Running the tests] [15:05:40]: ▸ 2017-11-21 15:05:40.553 xcodebuild[27499:143358]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[15:05:40][Building & Running the tests] [15:05:40]: ▸ /var/folders/0q/f4_895m546q5f_8xqxlv1wgr0000gn/T/com.apple.dt.XCTest/IDETestRunSession-63FD36A3-F9F7-4804-982C-C2863C4E44AE/BPUITests-CB75E70F-A343-424F-B8F9-744BB8298FD0/Session-BPUITests-2017-11-21_150540-gMkicl.log
[15:05:42][Building & Running the tests] [15:05:42]: ▸ 2017-11-21 15:05:42.009 xcodebuild[27499:142945]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[15:05:42][Building & Running the tests] [15:05:42]: ▸ /var/folders/0q/f4_895m546q5f_8xqxlv1wgr0000gn/T/com.apple.dt.XCTest/IDETestRunSession-98671A5D-9A10-4004-81CE-4E8F8B7EFD21/BPUITests-2CFCF777-490E-4E99-B365-27D68AE27F4E/Session-BPUITests-2017-11-21_150542-MJQo9O.log
[15:05:42][Building & Running the tests] [15:05:42]: ▸ 2017-11-21 15:05:42.009 xcodebuild[27499:142939] [MT] IDETestOperationsObserverDebug: (CC57F420-6AD6-4228-843E-70039DBA5D2C) Beginning test session BPUITests-CC57F420-6AD6-4228-843E-70039DBA5D2C at 2017-11-21 15:05:42.009 with Xcode 9A235 on target <DVTiPhoneSimulator: 0x7faf71d39310> {
[15:05:42][Building & Running the tests] [15:05:42]: ▸ SimDevice: iPhone 5s (AEACAD84-15D4-441E-BCD9-A3B858E6008E, iOS 11.0, Booted)
[15:05:42][Building & Running the tests] [15:05:42]: ▸ } (11.0 (15A372))

Here are the simulator devices on that machine:
iPhone 5s (11.0) [9EA87BB8-2376-42FF-A775-D4E4BAF04E43] (Simulator)
iPhone 5s (11.0) [D3398562-EA17-4683-8EB4-7A2B3273970B] (Simulator)
iPhone 5s (11.0) [757E03EB-E9C0-473B-AE40-A03ACF13F15D] (Simulator)
iPhone 5s (11.0) [557C9B17-6817-4C45-B8C3-B7019E3C7FB2] (Simulator)
iPhone 5s (11.0) [248BE07E-46CD-4F58-9006-73858534A6CB] (Simulator)
iPhone 5s (11.0) [C690862F-F95B-4F24-93A6-E6DA226466DB] (Simulator)
iPhone 5s (11.0) [D77F6070-DAF2-4033-86BC-8947ADA586ED] (Simulator)
iPhone 5s (11.0) [9DDF17B9-5A70-4FB1-A700-AD5D77F7B7EB] (Simulator)
iPhone 5s (11.0) [AEACAD84-15D4-441E-BCD9-A3B858E6008E] (Simulator)
iPhone 5s (11.0) [CCD3E006-7127-4491-825C-917E76B06C5C] (Simulator)
iPhone 5s (11.0) [9984D61C-F31A-4EB6-8B16-14FCD484F652] (Simulator)

I'm going to remove all but one now.
But it would be nice to have such support in Fastlane.

So you told the command to run "iPhone 5s (11.0)" (How exactly?) and it ran all of the simulators named that way?


Incomplete mirror

Ubuntu has iw version 4.14, but you don't have such tag.

yep, source you mirror from CONTAINS these tags.

@Distrotech @gregnietsky @Malose @unterro: +1

https://git.sipsolutions.net/iw.git/

@socketpair: +1
@Distrotech @gregnietsky @Malose @unterro: Can you look?

https://git.sipsolutions.net/iw.git/

https://koji.fedoraproject.org/koji/buildinfo?buildID=2470372 seems to be the latest version available – iw-6.9-1.


add-context --help :  #example is not working

when you do :
sqlcmd config add-context --help .
It will show following example :
sqlcmd config add-context --name context-name .
But this doesnot work , as gives following error :
Error : Endpoint required to add context. Endpoint '' doesnot exist. Use --endpoint flag.
Expected Output : Example should be intuitive with all required fields.

Fixed in #240


ENH: Switch Azure Pipelines Linux environment version

Switch Azure Pipelines Linux environment version to ubuntu-20.04.
Fixes:
Warning
The ubuntu-18.04 environment is deprecated, consider switching to ubuntu-20.04(ubuntu-latest),
or ubuntu-22.04 instead.
For more details see https://github.com/actions/virtual-environments/issues/6002

reported for example at:
https://dev.azure.com/itkrobotlinux/ITK.Linux/_build/results?buildId=8765&view=results
PR Checklist

[X] No API changes were made (or the changes have been approved)
[X] No major design changes were made (or the changes have been approved)

Maybe we should think of using latest for all environments, as otherwise we are forced to do this for 40+ repositories every once in a while.

Looks like the Azure ubuntu-20.04 environment is missing some Python library:
https://dev.azure.com/itkrobotlinux/ITK.Linux/_build/results?buildId=8785&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=5494183b-801e-5084-3b4b-5451c6a14ee1&l=16
Other ITK-related CIs using ubuntu-20.04 with GHA do not have this issue.

Using latest might make sense in remote modules. We should use pinned versions for this repo, software guide and examples repo.

Considering that ubuntu-22.04 is also available and is stable according to its docs, I had assumed that latest would be mean lowest stable (something similar happens with macOS). So the label latest seems to be unclear/misleading (unless I have missed some documentation).
But anyways, if only 3 of the repositories are affected, the job is doable.

@mathstuf @bradking this PR is blocked by ghostflow too.