Manifest v1.17 | Change log must be updated

Type of issue
Missing information
Feedback
https://github.com/OfficeDev/microsoft-teams-app-schema/releases
The manifest v1.17 related information must be updated in the change log
Page URL
https://learn.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema
Content source URL
https://github.com/MicrosoftDocs/msteams-docs/blob/main/msteams-platform/resources/schema/manifest-schema.md
Author
@surbhigupta
Document Id
7b3413f4-9ade-accf-5cb2-83fead11a32a

@AkJo , @srinidyMSFT, Charles Ji

Hi @AkJo , @srinidyMSFT - Could you please help here?

This isn't a document issue, hence removing the doc enhancement label.


Added use case for LazyLogging and StrictLogging in README.md

References #75

Hi @analytically. Can you please review this PR?


[CI] add test_ci_contrib branch for test

I need to do this because it's protected like main

solved here d2ff3bf


is there any way to merge row in datatable2?

Hi,
I have a requirement to merge row . I am using datatable2 . Please help me.

There's no capability to merge rows or columns (such as rowspan or copspan in HTML).
Though in your case you can try a workaround. E.g. if you want to merge 2 rows you can define DataRow2.specificRowHeight to be double of the height of DataTable2.headingRowHeight and add a single DataRow2 with cells containing 2 items each.

rowspan/colspan are needed for real-world business data sheet. Could you keep this open so that it can be tracked?


Improved UI/UX Fixes Issue #3

Improved the UI Interface

@Salma-101 current work done will get you 150 points, to receive full points improve UI/UX on the individual pages (back buttons especially) and follow the same colour scheme for the entire website


resolveJsonModule doesn't work with composite projects and import from node_modules

This is a regression in 3.4
Code
import metadataFullJson from "libphonenumber-js/metadata.full.json";

tsconfig:
    "composite": true,
    "module": "commonjs",
    "resolveJsonModule": true,

Expected behavior:
file compiles
Actual behavior:
error TS6307: File 'redacted/node_modules/libphonenumber-js/examples.mobile.json' is not in project file list. Projects must list all files or use an 'include' pattern.
Related Issues:
https://github.com/Microsoft/TypeScript/issues/25636

@sheetalkamat what's the intended behavior here?

We do have explicit check for json file from project reference so those should work correctly.
@mikea Please provide repro steps to be able to investigate this further and determine if its a configuration error or something we need to fix in compiler

I'm also experiencing this problem - using a monorepo with npm link'ed packages. tsc -b from the top level causes this problem. Compiling the individual packages succeed without errors. Can be an error in my setup of the composite project of course.

@thovden please share minimal repro steps so we can take further action thanks

@sheetalkamat seems like I'm not able to reproduce using tsc only but it does occur when using ts-loader with webpack in a composite project. So this may be a ts-loader problem.

https://github.com/TypeStrong/ts-loader/issues/905 - so for now typescript is not the prime suspect from my side :)

Closing this since its not an issue.


Sanitize parameter names, Add overload function generation

Added parameter name sanitation, where if a parameter is any reserved keyword (such as operator), it will not result in invalid generated code.
Strip default values from parameter signature, and instead generate overload functions. This should prevent any issue where the parameters are assigned to non-constant values or values not exposed to the C# bridge.

Here is an example of GDScript function with both a reserved keyword and a default value assignment.
func example_func(non_default_param, operator = idx):
	pass

Here is how it was generated:

Here is how it's now generated:

Thanks for the contribution 😀


[feature request] Responsiveness based on height

Right now you can only achieve responsiveness by leaving the height empty and setting the width. Would be great if the opposite would also be possible: leaving the width empty and setting the height.

What are the use cases with auto width? When height: auto, you can have canvas height more than screen height, and it will just add vertical scroll, which is ok. With width: auto the canvas width could be larger than screen width and this will add horizontal scroll, which is unwanted in most cases, or part of the canvas will be hidden offscreen.

I added this in 2.3.0 anyway. It works with new responsiveAspect option.


Assigning to Object.prototype breaks many libraries, including jQuery and React. This fix is for those scenarios.

Good catch @jzila. Thanks!

@jzila thanks for brining to light, been struggling with getting other plugins/libraries to work for 4 weeks now and this fixed the issue.
@n33 thanks for all the help and support.

No worries. For future reference, the issue is that if you assign to Object.prototype, then any time you wish to iterate over an object foo using for (var i in foo), the method you've monkey patched is iterated over like a key. Since most major libraries use this feature, they break in very confusing ways.
I only figured it out because I debugged right to the deepest part of the React stack and saw that it was iterating over addEventsListener when that had no business being anywhere :).


Fixes bug #48 that prevented usage with webpack: process.version was …

…not defined.
All tests pass on my machine.

Build passes on travis, too: https://travis-ci.org/philipstanislaus/pbkdf2/builds/167850054

LGTM,  but will wait on @calvinmetcalf

are you per-change building with a no global option that prevents process from being included ?

@calvinmetcalf you mean the travis output? No, I did activate travis after pushing, that's why it is not included yet. Let me push a small change to trigger it again.

Ammending the commit message did not help, let me open another PR, see #50

@philipstanislaus I believe @calvinmetcalf is asking is,  are you something weird that would otherwise cause process to be undefined,  since best we can tell,  webpack supports process.

You are right, I just tried to reproduce the issue in an example, and realized I had accidentally overwritten the process option with webpack.DefinePlugin. Sorry for any inconvenience this caused and thanks for your support! Closing this PR.

You are right, I just tried to reproduce the issue in an example, and realized I had accidentally overwritten the process option with webpack.DefinePlugin. Sorry for any inconvenience this caused and thanks for your support! Closing this PR.


Use prtconf to determine CPU type on AIX

for #1803

Power 9 released recently. We can include that as well.

Good point, thanks. Mind you I have no way to test this.

Thanks. Can confirm this builds for me on POWER9, and I was able to compile test_cblas_dgemm.c against this build.

Thanks - and just to confirm, your resulting library has "power9" in its name now rather than the earlier "power5" (and the build used the POWER8 target) ?


SQL DDL code generation error - empty JSON property

Given a specific (valid, albeit odd) JSON schema, kwack will generate invalid SQL, which will then lead to
java.lang.RuntimeException: Could not execute DDL: CREATE TABLE IF NOT EXISTS "my-topic" (rowkey VARCHAR NULL, "extensions" STRUCT() NOT NULL, rowinfo rowinfo)

Caused by: java.sql.SQLException: Parser Error: syntax error at or near ")"

In the SQL note the STRUCT() - this is triggered by an object without any properties.
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "extensions": {
      "$ref": "#/components/PersonSyncEventExtensions"
    }
  },
  "components": {
    "PersonSyncEventExtensions": {
      "type": "object"
    }
  }
}

That oddity is derived from a real-life, complex JSON schema (1500 lines of JSON) - so definitely a corner case, but also observed in the wild.


Icon set in browser on macOS

Hi there,
any chance we could see all browser icons replaced by your individual set?

It seems on windows it would be possible to paste the icons into C:\Program Files\Bitwig Studio\resources
But on macOS that folder doesn't hold any svg files, so not sure which one would need to be replaced.
thx

Seems like these files need to be overwritten too:
/Applications/Bitwig\ Studio.app/Contents/Resources/images/library/XXX.webp

resources.zip


Write support for systemd_loadkey

Using information from https://github.com/sddm/sddm/issues/930 and https://www.freedesktop.org/software/systemd/man/256/pam_systemd_loadkey.html

[ ] Create a nixos module which adds relevant pam entry
[ ] Also it should add relevant entry to sddm service

Theory now turns into practice - SDDM doesn't do autologin nicely, so in reality there's a bunch of faff needed to get things to be right.


Remove cfg = "data" no-op

This removes the need to use --incompatible_disallow_data_transition

I was updating our internal version of Bazel to 0.16  these errors showed up with --all_incompatible_changes enabled, so I fixed them.

@jjudd are you sure? this bazel issue seems to say that you need this setting if the attribute is called data. You also link to it in your commit to rules_scala_annex where you disable the check.

This currently breaks because our Travis runs with an older Bazel and I think this restriction Yoon was lifted in 0.15 IINM

AFAIK cfg = "data" is now a no-op AFAIK. I found that Bazel issue, but didn't realize it was out of date. I later went back to annex and added this commit https://github.com/lucidsoftware/rules_scala_annex/commit/39bb7818f67d61f94dfc159175f44674f4b59c18 which deals with this properly.
Regarding 0.15 - are we good to update to 0.16 on Travis? I'm not sure what Bazel versions y'all support.

@jjudd can you please rebase on top of master?
That will get this to green
On Wed, 15 Aug 2018 at 23:16 James Judd<EMAIL_ADDRESS>wrote:

AFAIK cfg = "data" is now a no-op AFAIK. I found that Bazel issue, but
didn't realize it was out of date. I later went back to annex and added
this commit lucidsoftware/rules_scala_annex@39bb781
https://github.com/lucidsoftware/rules_scala_annex/commit/39bb7818f67d61f94dfc159175f44674f4b59c18
which deals with this properly.
Regarding 0.15 - are we good to update to 0.16 on Travis? I'm not sure
what Bazel versions y'all support.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/pull/583#issuecomment-413321774,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF_KhGtd4GQ8Agw8uelJ2ZzL8eR_Vks5uRIGXgaJpZM4V-pJ6
.

This has been updated to master and builds are now passing.


Add a target to make 'developer-setup' runnable

Currently the Makefile provides only deps target, in spite of the Makefile in k8guard-start-from-here repo requires create-pre-commit-hooks target.
https://github.com/k8guard/k8guard-start-from-here/blob/master/Makefile#L32

thanks !


Fix compilation error

When I tried to compile shairport at Gentoo/ppc and OpenBSD/i386, I got the following error:
shairport.c:57: error: 'WNOHANG' undeclared (first use in this function)
shairport.c:57: error: (Each undeclared identifier is reported only once
shairport.c:57: error: for each function it appears in.)

In addition, a synopsis of the waitpid(2) on these systems begins with the following lines:
#include <sys/types.h>
#include <sys/wait.h>

Thanks. :)


JSDoc @this/@lends/@namespace tags are ignored inside Object

MyElement.d.ts
declare class MyElement {
    constructor(target: Element);
    target: Element
}

MyElement.js
@this on globally defined function works as expected, Ctrl+Space shows the correct type of target - Element!

@this before function in the object doesn't take into account!

@lends before the object itself is also not taken into account!

the same with @namespace

I couldn't find the way to point the correct "this" type for function in objects.
VS Code version: Code 1.42.0 (ae08d5460b5a45169385ff3fd44208f431992451, 2020-02-06T10:51:33.119Z)
OS version: Darwin x64 19.3.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 x 3600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
32.00GB (7.02GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

Any updates on this issue? I would like to know if intellisense does anything with @lends tag currently. Ie: there is a correct way to use the tag or does it just completely ignores it?

/**
 * Babel configuration
 *
 * @type {import('@babel/core').TransformOptions}
 * @see https://babeljs.io/docs/en/options
 * @see https://babeljs.io/docs/en/babel-preset-typescript
 * @copyright 2016-present Kriasoft (https://git.io/vMINh)
 */

module.exports = {
  presets: [
    [
      "@babel/preset-env",
      /** @lends {import('@babel/preset-env').Options} */ {
        targets: { node: "12" },
        useBuiltIns: "usage",
        corejs: { version: 3, proposals: true },
      },
    ],
    "@babel/preset-typescript",
  ],
};

How would you add type info for a babel plugin here?

I've installed a nightly build plugin which updated VS Code's TypeScript version to 4.0.0-dev.20200729.
It looks now @this is parsed correctly even before function definition inside an object.
Unfortunately, @lends is still ignored. @lends will allow pointing namespace for every function in the object in one place instead of pointing it before every function.

Having support for @lends would also allow us to get better IntelliSense support for class constructions via a helper method as used by frameworks like Backbone.js and described here:
var Person = makeClass(
    /** @lends Person.prototype */
    {
        /**
         * Create a `Person` instance.
         * @constructs
         * @param {string} name - The person's name.
         */
        initialize: function(name) {
            this.name = name;
        },
        /**
         * Say something.
         * @param {string} message - The message to say.
         * @returns {string} The complete message.
         */
        say: function(message) {
            return this.name + " says: " + message;
        }
    }
);


add hover to search icon

Hi,
Is anyone working on this issue I would like to give it a shot.
Is there a particular color you want the icon to be hovered to?

https://github.com/vercel/commerce/pull/1289#issuecomment-2021488910


cmd/link: ABI hash of a shared library changes if any inlineable function changes

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
Tip.
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
linux_amd64
What did you do?

Install a package containing an exported inlineable function in shared mode.
Build an executable that links against the shared library produced in step 1.
Make a minor change to the package, without changing the ABI, and re-install the shared library.
Run the executable produced in step 2.

You can reproduce this easily with the makefile in my example:
https://github.com/bryanpkc/pkgdef-example
What did you expect to see?
Correct execution of the main executable.
What did you see instead?
$./main
abi mismatch detected between the executable and libgithub.com-bryanpkc-pkgdef-example-arith.so
fatal error: abi mismatch
runtime: panic before malloc heap initialized

Proposed solution
The ABI hash of a shared library (or Go plugin) is computed as a SHA1 sum of the package hashes of all packages included in the shared library, which are in turn computed from the export data of the packages (i.e. the contents of __.PKGDEF in the corresponding package archives). Currently the export data of a package includes the ASTs of all inlineable exported functions in the package. Doing this allows cross-package inlining in the usual static compilation scenario, but also makes the ABI hashes of shared libraries unnecessarily unstable.
This can be fixed by:

When computing the ABI hash for the package, exclude the list of inlineable functions from a package's export data.
Do not allow cross-package inlining from a dynlink package archive into a dependant program. (This may already be the case today, but I am not 100% sure.)

Taking a look at this issue again, we found that merely moving code in a package and inserting blank lines would change the export data, because the export data records file names and line numbers for all exported functions (even ones that are not inlineable). This seems unnecessarily restrictive.


Add support for CoreOS's rename

The Azure/azure-docker-extension determines the driver to use based on the OS.  The OS is identified by parsing the INI file /etc/lsb-release.  The DISTRIB_ID of CoreOS recently changed from CoreOS to "Container Linux by CoreOS."  This PR adds support for the rename.

Closes #116.
/cc @colemickens

LGTM


Web component: search open by default - User tabs and reaches "Profile menu”, the search field disappears.

Detailed description
Issue: When the search field is displayed, if we reach the “Profile menu” with the tab key, the search field disappears. Again when we do shift tab from the “Profile menu”, the same appears again. This behavior confuses the user.
Expected:
When the user navigates to the next or previous control in the page, the search edit combo should not disappear.
Additional information

@wonilsuhibm @jeffchew Wanted to double-check what the consensus was; Was it that we use the close button as the only mean to close the search box, or something else? Thanks!

The fix for #4072 ended up with fixing this issue, too. Please speak up if the behavior of latest canary is not desirable.


[Extensibility Request] codeunit 7312 "Create Pick", SaveTempItemTrkgLines

Hi Team,
is it possible to change procedure SaveTempItemTrkgLines in "Create Pick" Codeunit from local to global?
we would like to call this procedure from a publisher which includes the sender, so that we can save state of global var TempTotalWhseItemTrackingLine
// Requested change
//local procedure SaveTempItemTrkgLines()
procedure SaveTempItemTrkgLines()
// --
var
    i: Integer;
begin
    if WhseItemTrkgLineCount = 0 then
        exit;

    i := 0;
    TempWhseItemTrackingLine.Reset();
    if TempWhseItemTrackingLine.Find('-') then
        repeat
            TempTotalWhseItemTrackingLine := TempWhseItemTrackingLine;
            TempTotalWhseItemTrackingLine.Insert();
            i += 1;
        until (TempWhseItemTrackingLine.Next() = 0) or (i = WhseItemTrkgLineCount);
end;

Thanks,
Christian

Hi Team,
can i get a short feedback if this change is going to be implemented? Otherwise i would try to find another solution for our app.
thanks in advance,
Christian


[path_provider] Migrate path_provider_linux to null safety.

Migrate path_provider_linux to null safety.
This PR migrates the library itself - the example & integration tests aren't ready to be migrated.
Issue: flutter/flutter#74996.

There's an existing PR for this at https://github.com/flutter/plugins/pull/3330; please comment there if you have changes to suggest.

There's an existing PR for this at https://github.com/flutter/plugins/pull/3330; please comment there if you have changes to suggest.


chore: bump sbt-tpolecat from 0.1.21 to 0.1.22

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

Files still referring to the old version number
The following files still refer to the old version number (0.1.21).
You might want to review and update them manually.
build.sbt

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

labels: sbt-plugin-update, early-semver-minor, semver-spec-patch, old-version-remains, commit-count:1

Codecov Report

Merging #163 (a5bd735) into master (60933c6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #163   +/-   ##
=======================================
  Coverage   94.77%   94.77%
=======================================
  Files          17       17
  Lines         191      191
  Branches        2        2
=======================================
  Hits          181      181
  Misses         10       10

Continue to review full report at Codecov.

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


Replaced C-style for loop with for-in loop

C-style for statements are deprecated and will be removed in a future version of Swift

Updated the code to Swift 4 with the latest pull request.


ProgressIndicatorExamples Demo Update

Overview
This overhauls the ProgressIndicatorExamples scene to include more useful examples. It also includes some minor fixes to progress indicator prefabs.
Changes

Fixes: #9970

Verification

As a reviewer, it is possible to check out this change locally by using the following
commands (substituting {PR_ID} with the ID of this pull request):
git fetch origin pull/{PR_ID}/head:name_of_local_branch
git checkout name_of_local_branch

/azp run

Small request to increase the text font size to make it a bit more readable in demo. Changing the profile to hololens so it uses a black background instead of the default skybox would also be helpful:

The CI is also emitting a lot of warnings about unassigned variables, would be good to fix those up

@Railboy I'm also not quite sure what's going on with this scene:

I also can't tell where the ProgressIndicatorDemo scripts are being used, so even though they look right I can't really verify

This is a great example of using Progress Indicator with actual scene loading. I think it would be helpful to include information text in the scene something like "This example requires ProgressIndicatorExamplesAdditiveLoad.unity scene in the Build Settings".

Adding onto Yoon's comment, I was under the impression that the example was simply to show the spinning indicator, not seeing any actual content loaded onto the earth model. I agree that clarifications on that front in both the additive scene and in the main examples scene itself would be very helpful (maybe we can rename the AdditiveLoad scene to something else or put an indicator somewhere, I feel like loading entire scenes into other scenes is a bit different from the usual developer workflow.)

small ping on updating the CI issues @Railboy

/azp run

/azp run

/azp run

/azp run

/azp run

/azp run


Tab positioning and disappearing

"this tab positioning glitch seen on the 'rage' tab and the 'other' tab
http://prntscr.com/lvsz30
also after the scrollbar update the other tabs appeared invisible when i was in the 'rage' (the 1st tab). unsure what is causing this. any help would be appreciated.
http://prntscr.com/lvt0xi"

try this in tab constructor, maybe u render scrollball first and second render childs
g_Render.SetCustomScissorRect(this->rcBoundingBox);
{
this->RenderChildObjects();
scrollBar->Render();
}
g_Render.RestoreOriginalScissorRect();

Quick fix:
Comment out:
g_Render.SetCustomScissorRect(vpCombo);
and
g_Render.RestoreOriginalScissorRect();
in
void ComboBox::Render()
in
GUI.cpp

fixed with https://github.com/Wando1423/Antario/commit/045e0f9d93bf6400ce8162284bf881de16a89f71
ty babe


fix: Changes URLRequest cache policy default

Fixes https://github.com/apollographql/apollo-ios/issues/3483.

Given that if the Apollo iOS cache store had expiration features it would obey them I can support the argument that useProtocolCachePolicy is an equivalent default more-so than returnCacheDataElseLoad. This shouldn't change the behaviour that was implemented for https://github.com/apollographql/apollo-ios/issues/3432 either

🛠 Docs Preview Building...

Configuration
{
  "repoOverrides": {
    "apollographql/apollo-ios-dev@main": {
      "remote": {
        "owner": "apollographql",
        "repo": "apollo-ios-dev",
        "branch": "fix/urlrequest-cache-policy-default"
      }
    }
  }
}

e9d5700debc919d3620657d42406e038ed333b07


Enable the unicorn/prefer-at ESLint plugin rule (PR 15008 follow-up)

Please find additional information here:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at
https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-at.md

/botio test

Did something regress here or are we just unfortunate to run into an upstream defect just now (I triggered a build in #14940 to make sure)?

Most likely, it's still https://bugzilla.mozilla.org/show_bug.cgi?id=1770088 that's the culprit here.

Thanks! Hopefully that upstream bug gets resolved soon.


Large Doenload fail: The MD5 hash of the data, as we received it, did not match the expected value, as found in the Blob/File Service

For several days i have been trying to download a VHD file but i cannot get it working.
I have restored a disk from an Azure backup that im trying to download. The file is not attached (since its retored from a backup). The file is 127GB and  take forever to download. It looks like its working but when it reached 100% the download fails and the file is removed (waited 5 hours for nothing).
The error message generated is:
2019/10/09 21:04:18 ERR: [P#0-T#0] DOWNLOADFAILED: https://xxxxxxxxx.blob.core.windows.net/xxxxxxxx/abcd?si=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&sig=-REDACTED-&sr=b&sv=2017-04-17 : 000 : the MD5 hash of the data, as we received it, did not match the expected value, as found in the Blob/File Service. This means that either there is a data integrity error OR another tool has failed to keep the stored hash up to date. When Checking MD5 hash. X-Ms-Request-Id: Dst: f:///vmname-osdisk-20191008-144059.vhd
Downloading smaller files works fine.
I have tried checking the AzCopy-checkbox in settings and tried both with and without. Same error.

Forget to mention that im running version 1.10.1

Anyone else having this issue?!?

we just released 1.11.0 yesterday.  Please try to upgrade to the new version to see if you can download.  We now use AzCopy for upload and download, which is probably different from you were using in 1.10.1.  Give it a try.  Thanks.

In the new release, there is an option to disable the MD5 hash-check. When i di that it seems to work. I will do some more testing but it looks like its working as long as I disable the the MD5 check.

Yes, that would unblock your download. I guess we'll close since you're unblocked then.


Finish implementation of the contact field

http://spaceapi.net/documentation

We have the contact field: https://github.com/coredump-ch/spaceapi-rs/blob/81d39efffcd4e5b4f4d04190ea20fa2dc7d5f3f8/src/status.rs#L46
I think this issue should be about this restriction:

You must define at least one which is in the list of allowed values of the issue_report_channels field.

At least one is difficult to verify at compile time.

No, that's in #7. Is the contact completely implemented otherwise?

Oh its not complete.

Does someone have time to review this?
Btw, we should soon derive Eq for all structs, otherwise testing nested objects becomes awkward.

Btw, we should soon derive Eq for all structs, otherwise testing nested objects becomes awkward.

Actually we can only implement PartialEq, because some of the structs contain floats and floating point numbers don't fulfill the reflexive property.

Just derive PartialEq then, at least for contact in this PR.

The PartialEq will be a separate PR. It's already on my laptop.
Is this good otherwise?

If you don't want to bother with the initialization for now I would consider it good :+1:


[Method 1] sudo not found

Additional Information
禁止SIP后,运行sudo nvram boot-args="amfi_get_out_of_my_way=1",显示sudo not found
Sonoma 14.6

下面的脚本执行,需要在禁用SIP之前在系统里执行?
脚本执行
安装
XcodeLLM:
curl -L https://raw.github.com/Kyle-Ye/XcodeLLMEligible/main/override_xcodellm.sh | bash
Apple Intelligence:
curl -L https://raw.github.com/Kyle-Ye/XcodeLLMEligible/main/override_apple_intelligence.sh | bash
卸载
XcodeLLM:
curl -L https://raw.github.com/Kyle-Ye/XcodeLLMEligible/main/override_xcodellm.sh | bash -s -- uninstall

禁止SIP后,运行sudo nvram boot-args="amfi_get_out_of_my_way=1",显示sudo not found

There is no sudo in Recovery OS. Remove 'sudo' in Recovery OS or reboot into normal OS with SIP disabled and run the command to set boot-args.

Sonoma 14.6

For Xcode LLM: You need macOS 15.0 Beta 1+
For Apple Intelligence: You need macOS 15.1 Beta+

下面的脚本执行,需要在禁用SIP之前在系统里执行?

You need to disable SIP, set boot-arg and then run the script. Or download the binary and execute it yourself.

these scripts actually need you to run after disabling SIP yet

these scripts actually need you to run after disabling SIP yet

already disabled

run the following after rebooting. not recovery mode
taozhiyu@603e5f4a42f1 ~ % cd downloads taozhiyu@603e5f4a42f1 downloads % csrutil status System Integrity Protection status: disabled. taozhiyu@603e5f4a42f1 downloads % chmod +x eligibility_util taozhiyu@603e5f4a42f1 downloads % ./eligibility_util forceDomainAnswer --domain-name OS_ELIGIBILITY_DOMAIN_GREYMATTER --answer 4 dyld[820]: Symbol not found: _os_eligibility_domain_for_name   Referenced from: <64149775-218A-397B-B3C5-49EAC1FC1032> /Users/taozhiyu/Downloads/eligibility_util   Expected in:     <ADF6A9D2-C5C3-3A9C-9302-4618D9DFAD21> /usr/lib/system/libsystem_eligibility.dylib zsh: abort      ./eligibility_util forceDomainAnswer --domain-name  --answer 4

in recovery mode without sudo

禁止SIP后,运行sudo nvram boot-args="amfi_get_out_of_my_way=1",显示sudo not found

There is no sudo in Recovery OS. Remove 'sudo' in Recovery OS or reboot into normal OS with SIP disabled and run the command to set boot-args.

Sonoma 14.6

For Xcode LLM: You need macOS 15.0 Beta 1+
For Apple Intelligence: You need macOS 15.1 Beta+

下面的脚本执行,需要在禁用SIP之前在系统里执行?

You need to disable SIP, set boot-arg and then run the script. Or download the binary and execute it yourself.

@Kyle-Ye  maybe I should upgrade to macOS 15.x before I run those commands? v14.6 is not supported?

Of course. Only macOS 15.x is supported.

Of course. Only macOS 15.x is supported.

MacOS Sequoia 1.51 beta(15.1 developer beta) or 15 beta 4(developer beta), which on should I choose? @Kyle-Ye

For Xcode LLM: You need macOS 15.0 Beta 1+
For Apple Intelligence: You need macOS 15.1 Beta+

For Xcode LLM: You need macOS 15.0 Beta 1+ For Apple Intelligence: You need macOS 15.1 Beta+

I have upgraded to 15.1 beta(24B5009I)
taozhiyu@Mac ~ % csrutil status
System Integrity Protection status: disabled.
taozhiyu@Mac ~ % sudo nvram boot-args="amfi_get_out_of_my_way=1"
Password:
taozhiyu@Mac ~ % cd downloads
taozhiyu@Mac downloads % ./eligibility_util forceDomainAnswer --domain-name OS_ELIGIBILITY_DOMAIN_XCODE_LLM --answer 4
Force domain answer successfully
it seems there is no apple intelligence  in Siri,system setting. what else should I do next?

taozhiyu@Mac ~ % curl -L https://raw.github.com/Kyle-Ye/XcodeLLMEligible/main/override_xcodellm.sh | bash
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  4361  100  4361    0     0  24603      0 --:--:-- --:--:-- --:--:-- 24638
Performing install action...
SIP is disabled.
amfi_get_out_of_my_way=1 is present in boot-args.
🎉 SIP is disabled and amfi_get_out_of_my_way=1 is present in boot-args.
Downloading eligibility_util...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:--  0:00:19 --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:20 --:--:--     0
100 1530k  100 1530k    0     0   8246      0  0:03:10  0:03:10 --:--:-- 11686
Setting XcodeLLM to eligible...
Force domain answer successfully
Setting Complete...
Checking the status...
OS_ELIGIBILITY_ANSWER_ELIGIBLE
XcodeLLM eligible override script install completed.
If you find this script helpful, please consider giving a star to the project.
🌟🌟🌟 https://github.com/Kyle-Ye/XcodeLLMEligible 🌟🌟🌟

The command you post is for unlocking Xcode LLM.
If you want to try Apple Intelligence, use OS_ELIGIBILITY_DOMAIN_GREYMATTER instead.
Please check README.md before asking :)
./eligibility_util forceDomainAnswer --domain-name OS_ELIGIBILITY_DOMAIN_GREYMATTER --answer 4

thanks for help. I have read it. still a little bit confusing for beginner.
I have pressed join waitlist button now. wait for the result.
at the moment , fail to execute curl -L https://raw.github.com/Kyle-Ye/XcodeLLMEligible/main/override_apple_intelligence.sh | bash
stil trying. I think it is connection issue

taozhiyu@Mac downloads % curl -L https://raw.github.com/Kyle-Ye/XcodeLLMEligible/main/override_apple_intelligence.sh | bash
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100 1530k  100 1530k    0     0  19316      0  0:01:21  0:01:21 --:--:-- 47350
Setting Apple Intelligence to eligible...
Force domain answer successfully
Setting Complete...
Checking the status...
OS_ELIGIBILITY_ANSWER_ELIGIBLE
Apple Intelligence eligible override script install completed.
If you find this script helpful, please consider giving a star to the project.
🌟🌟🌟 https://github.com/Kyle-Ye/XcodeLLMEligible 🌟🌟🌟

I have waited a night to join the waitlist @_@

See "Trouble Shooting" section:

Log in with a US Apple ID
Set Region to United States and English as the primary language
Set English (United States) as your Siri language

Also suggest to set global VPN with an US IP address.

See "Trouble Shooting" section:

Log in with a US Apple ID
Set Region to United States and English as the primary language
Set English (United States) as your Siri language

Also suggest to set global VPN with an US IP address.

激活以后,正常使用过程中,是否还需要美国的VPN?

See "Trouble Shooting" section:

Log in with a US Apple ID
Set Region to United States and English as the primary language
Set English (United States) as your Siri language

Also suggest to set global VPN with an US IP address.

激活以后,正常使用过程中,是否还需要美国的VPN?

yep
US VPN only

The Apple Intelligence Beta is totally US limited.

The Apple Intelligence Beta is totally US limited.

OK,thanks.


segfault in debugger -- object with non-malloc-ed drv->name

Relevant GDB session:
Thread 1 "graph_editor" hit Breakpoint 1, WidgetSelected (event=0x7fffffffd5c0) at debugger.c:334
334                             AG_LabelNewPolled(nTab, AG_LABEL_HFILL, _("Cursor driver: %s"),
(gdb) p wid
$1 = (AG_Widget *) 0x555555786f70
(gdb) p wid->drv
$2 = (struct ag_driver *) 0x100000001
(gdb) p drv
$3 = (AG_Driver *) 0x100000001
(gdb) p drv->name
There is no member named name.
(gdb) p ((struct ag_object*)(drv))
$4 = (struct ag_object *) 0x100000001
(gdb) p ((struct ag_object*)(drv))->name
Cannot access memory at address 0x100000001
(gdb)

And the back-trace
Thread 1 "graph_editor" received signal SIGSEGV, Segmentation fault.
0x00007ffff7876115 in AG_Strlcpy (dst=0x5555561ad56f "",
    src=0x100000002 <error: Cannot access memory at address 0x100000002>, dsize=112) at string.c:733
733                             if ((*dst++ = *src++) == '\0')
(gdb) bt
#0  0x00007ffff7876115 in AG_Strlcpy (dst=0x5555561ad56f "",
    src=0x100000002 <error: Cannot access memory at address 0x100000002>, dsize=112) at string.c:733
#1  0x00007ffff78759ce in AG_ProcessFmtString (fs=0x5555557b6e00, dst=0x5555561ad560 "Cursor driver: ", dstSize=128)
    at string.c:325
#2  0x00007ffff7afcf98 in DrawPolled (lbl=0x5555560ebda0) at label.c:403
#3  0x00007ffff7afca31 in Draw (obj=0x5555560ebda0) at label.c:484
#4  0x00007ffff7adee51 in AG_WidgetDraw (p=0x5555560ebda0) at widget.c:1329
#5  0x00007ffff7afaf4a in Draw (obj=0x5555560e97a0) at box.c:195
#6  0x00007ffff7ae0043 in AG_WidgetInheritDraw (obj=0x5555560e97a0) at widget.c:1723
#7  0x00007ffff7adee51 in AG_WidgetDraw (p=0x5555560e97a0) at widget.c:1329
#8  0x00007ffff7b35d8a in Draw (obj=0x55555607c730) at notebook.c:134
#9  0x00007ffff7adee51 in AG_WidgetDraw (p=0x55555607c730) at widget.c:1329
#10 0x00007ffff7afaf4a in Draw (obj=0x555555df8280) at box.c:195
#11 0x00007ffff7adee51 in AG_WidgetDraw (p=0x555555df8280) at widget.c:1329
#12 0x00007ffff7b58af4 in Draw (obj=0x555555df2fd0) at pane.c:343
#13 0x00007ffff7adee51 in AG_WidgetDraw (p=0x555555df2fd0) at widget.c:1329
#14 0x00007ffff7ae73d9 in Draw (obj=0x555555deee20) at window.c:630
#15 0x00007ffff7adee51 in AG_WidgetDraw (p=0x555555deee20) at widget.c:1329
#16 0x00007ffff7ad1772 in GLX_RenderWindow (win=0x555555deee20) at drv_glx.c:870
#17 0x00007ffff7ae34db in AG_WindowDrawQueued () at window.c:967
#18 0x00007ffff7ad45fa in GLX_EventEpilogue (es=0x55555576cac0, event=0x55555576cae0) at drv_glx.c:2079
#19 0x00007ffff7869d4f in AG_EventLoop () at event.c:1631
#20 0x000055555555642b in main (argc=1, argv=0x7fffffffe6b8) at main.c:378

See attached screenshot -- I had just clicked on the "cursors" tab. I'm not sure I know enough about Agar's internals to debug this further. This is the application I was using to test with.

This should be fixed as of r10694.


refactor: replace deprecated grpc.WithInsecure

https://github.com/longhorn/longhorn/issues/7291

@mergify backport v1.5.x v1.4.x


NSGA II Pareto is limited to 300 - Newbie Question

Hi,
Apologies if this is obvious, but the pareto front seems to cut off at 300. I have tried optimising different problems but the same keeps happening. I'm wondering if there is a parameter that I'm missing?
See output below:

Here is part of the code I'm running, thank you in advance:
    fevals = len(lb) * 5000
    popsize = 100 * len(lb)
    test_problem = MyProblem(len(ub), ub, lb, model)
    algorithm = NSGA2(
        pop_size=popsize,
        sampling=get_sampling("real_random"),
        crossover=get_crossover("real_sbx", prob=0.8, eta=20),
        mutation=get_mutation("real_pm", prob=1/len(lb), eta=20),
        eliminate_duplicates=True,
        #n_offspring=10
    )
    termination = get_termination("n_gen", 50)
    res = minimize(
        test_problem,
        algorithm,
        termination,
        seed=1,
        save_history=False,
        verbose=True,
    )
    xfront = res.X
    pfront = res.F

The maximum amount of non-dominated solutions is pop_size.  I can't see the value in your code, but I am pretty sure you are setting it to 300. You can increase the value to get more points.
As an alternative, you can use a Callback  (https://pymoo.org/interface/callback.html) to store more solutions than that in a custom data structure.


recognize() expects 2 arguments despite documentation.

Hi @xulihang,
I'm trying to use this library with "react-native-vision-camera": "^3.6.8" and "vision-camera-dynamsoft-label-recognizer": "^1.0.0"
In documentation, recognize() function only takes frame but it expects ScanConfig
And I got Frame Processor threw an error: Exception in HostFunction: java.lang.ArrayIndexOutOfBoundsException: length=0; index=1 error.

This is not the argument's problem.
You have to add pixelformat="yuv" to the vision camera.

Thank you @xulihang. This resolved the issue.
By the way, I looked into your example project,  I got an empty object from recognize() why might this happen?

Thanks @xulihang, sorry for the late reply. I'm scanning document like the example, why might not recognize anything?
My code like this;
const scanRegion: ScanRegion = {
left: 5,
top: 40,
width: 90,
height: 10,
};
const updateFrameSize = (width: number, height: number) => {
if (width !== frameWidth && height !== frameHeight) {
setFrameWidth(width);
setFrameHeight(height);
}
};
const updateFrameSizeJS = Worklets.createRunInJsFn(updateFrameSize);
const frameProcessor = useFrameProcessor(frame => {
'worklet';
updateFrameSizeJS(frame.width, frame.height);
let config: ScanConfig = {};

config.scanRegion = scanRegion;

let scanResult = recognize(frame, config);

console.log(scanResult);

}, []);

I'm trying to scan the bottom white part

Thanks a lot @xulihang.

In addition, the default license expires in one day. You need to apply for a trial license.


Ollama Model

Hello when i am choosing Ollama Models i am getting this error on terminal and Devika doesnt move forward, i have tried different ollama models but same issue, havnt tried openai or claude i want to test locally first
(devika) username@usernames-Macbook-M3-Max devika % python devika.py
24.03.22 02:28:49: root: INFO   : Booting up... This may take a few seconds
24.03.22 02:28:49: root: INFO   : Initializing Devika...
24.03.22 02:28:49: root: INFO   : Initializing Prerequisites Jobs...
24.03.22 02:28:49: root: INFO   : Loading sentence-transformer BERT models...
24.03.22 02:28:53: root: INFO   : BERT model loaded successfully.

Serving Flask app 'devika'
Debug mode: off
Token usage: 383
Exception in thread Thread-201 ():
Traceback (most recent call last):
File "/opt/homebrew/Caskroom/miniconda/base/envs/devika/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/opt/homebrew/Caskroom/miniconda/base/envs/devika/lib/python3.12/threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "/Users/username/devika/devika.py", line 56, in
target=lambda: Agent(base_model=base_model).execute(prompt, project_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/username/devika/src/agents/agent.py", line 264, in execute
plan = self.planner.execute(prompt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/username/devika/src/agents/planner/planner.py", line 70, in execute
response = self.llm.inference(prompt)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/username/devika/src/llm/llm.py", line 58, in inference
model = self.model_id_to_enum_mapping()[self.model_id]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: '7B - Q4_K_M'

same

Installing Ollama in your OS flavor solved it for me.
WIndows Ollama Docker.

Yes i have same issue in MacOS as well

I got the same error on linux

function selectModel(model) {
selectedModel = ${model[0]} (${model[1]});
localStorage.setItem("selectedModel", model[0]);
}
error is not getting when the function is like this. but ain't nothing happening

We need PR to fix this issue asap

@vishnusureshperumbavoor
Additionally you have to change the line above as well
selectedModel = ${model[0]};
This worked for me and I get answers from my local LLM.

selectedModel = model[0];
localStorage.setItem("selectedModel", selectedModel);

Worked , Thanks..

I think my above solution works only with the OLLAMA models, since the other models rely on the second parameter of the models array.
A more general and better solution is to change the server part.
Change the src/llm/llm.py to the following:
    OLLAMA_MODELS = [
        (
            model["name"],
            model["name"]
        )
        for model in Ollama.list_models()
    ]

and leave the frontend part like it was.

@vishnusureshperumbavoor Additionally you have to change the line above as well.
    selectedModel = model[0];
    localStorage.setItem("selectedModel", selectedModel);

This worked for me and I get answers from my local LLM.

perfect! thanks


maybe add lua for html5????

i think it will work

what does html5 do

play in game play in browser suff

html5 is where you can play video games on certant websites

ye no


[patch] Transform warnings state which model

Currently transform warnings to not state which model is the cause of the warning.
We've just done a 0.x -> 1.x Sails upgrade, and had a lot of nulls in places there shouldn't have been (one of the five transform warnings), but the warning does not state which model caused, just the property, which is insufficient when most models have properties like createdAt and updatedAt.

ok, fixed!

@wulfsolter 💯


[Feature] Automated backport PRs should inherit skip-changelog label

Is your feature request related to a problem? Please describe.
We have an automated backport workflow to create PRs for the backport branches. We also have a workflow to verify PRs update the changelog. However, not all PRs require a changelog entry, so the original PR will be labeled with skip-changelog if no changelog entry is needed. When the backport PR is created for these PRs, it will always fail the changelog verification workflow because it does not automatically get the skip-changelog label.
Describe the solution you'd like
The backport PRs should automatically inherit the skip-changelog label if it is present on the original PR to avoid a failing workflow on the backport PR.
Describe alternatives you've considered
Manually add the label to the backport PR.

I think this will just be a small configuration change in OpenSearch. The backport GHA already has a labels_template input that includes a "labels" data property".
I attempted to test this on my fork but the action failed due to missing GH secrets 😢

@andrross ha! worry not, labels excludes strings that match label_pattern 🥳

@kotwanikunal For those we'll just have to hope that contributors aren't tagging PRs with backport X.Y and vX.Y where the two X-Y values are different 😓
An update on this -  For the labels_template change to work correctly, a fix is needed to the backport workflow to correctly parse labels. I've made the required change in my fork but have been unsuccessful in testing it in my repo 😞


Atlanta Parcels (Fulton and Dekalb Counties)

no us/ga/dekalb in downloads, so I believe we are missing Dekalb; hopefully this fills in that hole ;)
http://gis.atlantaga.gov/dpcd/rest/services/Land/ParcelLayer/MapServer/0

Address points:  http://gis.atlantaga.gov/dpcd/rest/services/Land/AddressPointsE911/MapServer/0

do they cover Dekalb?

Good question, I'll investigate.

They appear to have disabled querying for feature count.

pyesridump manages to get the data so we'll probably have to cache it on s3.

@justinelliotmeyers Yep, the points cover both Fulton and DeKalb counties.  Looking into count differences now.

awesome - hopefully it fills a big gap in greater ATL and GA!

194,702 points
167,960 parcels


Update license.json to include entries for all SPDX 3.20 License templates

Support the latest SPDX license templates: https://github.com/spdx/license-list-data
Which were made official in this tagged release: https://github.com/spdx/license-list-data/releases/tag/v3.20

The "Delta" of missing licenses is container within this JSON file:
https://github.com/CycloneDX/sbom-utility/blob/main/docs/spdx-licenses-3-20-delta.json

It would be interesting to write a script to take the published JSON index from SPDX vX.X and produce a merged (must be a merge, not an overwrite or custom notes/annotations would be lost)license.json.  This should improve future version updates.

Please note that the MIT-equivalent "children" need a review as we have no verifiable reference to where these were found:
            "children": [
                "MIT-iOS",
                "MIT-1.0",
                "MIT-1.1",
                "MIT-2.0"
            ],

Also, along the MIT-equivalent "children" review please verify this:
       {
            "id": "",
            "name": "BSD-equivalent",
            "family": "BSD-equivalent",
            "reference": "",
            "osi": false,
            "fsf": false,
            "usagePolicy": "allow",
            "annotationRefs": [
                "APPROVED",
                "NO-SPDX-ID"
            ],
            "notes": [
                "No SPDX IDs for 18 \"BSD-equivalent\" variants listed here:",
                "BSD Facebook",
                "BSD Google Patents File",
                "BSD Antlr",
                "BSD Bootstrap",
                "BSD Bzip2",
                "BSD DOM4J",
                "BSD Eclipse Distribution License (EDL)",
                "BSD HSQLDB",
                "BSD Infozip",
                "BSD Jaxen",
                "BSD JSch",
                "BSD NetSNMP",
                "BSD OpenLayers",
                "BSD Openssl",
                "BSD Rene Nyffenegger license",
                "BSD Sqlite3-ruby",
                "BSD XStream",
                "BSD YUI"
            ]
        },

Update: Should now look to use the latest 3.21 templates


Windows/backslash auto-fix

Prior to v3, glob-parent didn't have an issue dealing with paths where the glob was part of a backslash-separated path string (it also didn't respect escaping).
This is intended to bring that capability back for basic circumstances and document the caveats. #12 shows why it won't be so simple to just tell users they're doing it wrong. I'd rather opportunistically just fix it when possible.

Coverage decreased (-2.0%) to 98.0% when pulling 20745bae58197d6f06f7c334f04ef25208731df3 on win32-quickfix into b1fd511b031225904ee83d6cb777cd6071babf7c on master.

Coverage decreased (-2.0%) to 98.0% when pulling 20745bae58197d6f06f7c334f04ef25208731df3 on win32-quickfix into b1fd511b031225904ee83d6cb777cd6071babf7c on master.

Interesting solution. Does this still allow escaping on the Windows platform?  It seems like the user can use / as separators and then \\ as the escape character.

@jonschlinkert @phated
I'll want each of you to weigh in on whether this is a good idea before proceeding, but feel free to take your time.

@phated yes that's exactly what it does, and this is called out in the readme updates

I don't like that they have to prefix with ./ but I also don't see a way around it :frowning_face:

One way is to say 🖕 to backslash users
I figure the people that need escaping are kind of a minority anyway and this is a compromise solution.

Regardless of this, many users who have had issues with parentheses will no longer have those issues even without escaping.
So we're left slightly inconveniencing users with asterisks, square brackets and the like in their file paths.

So far, we've only had 1 or 2 reports on gulp and I've explained why using path.join was wrong and it satisfied them.

Apparently gulp-watch applies this incorrect path.join methodology? (see #12)
I've seen quite a lot of this kind of thing in chokidar's issue tracker, and I really don't want to have to major bump there in order to upgrade glob-parent.

Understandable.  I definitely think we should hold off on this until @jonschlinkert is feeling better, since he has the most experience with glob intricacies and I really want his opinion.

Btw, the ./ part only applies to a pretty narrow circumstance. This is a windows user trying to specify a file or dir in cwd that has glob-relevant characters in the name and they don't want it interpreted as a glob.
Not necessary for a bare actual glob pattern like *.*

Yes, gulp-watch does resolve input paths/globs to absolute paths/globs, but that's not relevant as far as I can see.
The point is that gulp-watch tries to align as much as possible with the Chokidar API:

paths (string or array of strings). Paths to files, dirs to be watched recursively, or glob patterns.

Chokidar accepts both paths and globs in the same parameter, where "paths" can be backslash-separated Windows paths.
Accepting backslash dir separators and globs that support escaping in the same parameter seems a bit crazy, I still haven't checked how Chokidar handles such cases.
I do like the idea of auto-fixing the separators, but I'm concerned with the ambiguous cases. That may be confusing for users.
I'm considering to add an option to gulp-watch to specify whether backslashes should be treated as dir separators or escapes, so that gulp-watch itself will convert the paths/globs to an unambiguous format before passing them down to the dependencies.
I'm open to suggestions.

The support for escaping is relatively new, and I haven't yet worked out all the implications for chokidar. Chokidar has not upgraded glob-parent to 3.x yet for that reason (so keeping gulp-watch aligned with chokidar might mean following suit and staying with the simpler 2.x for now).
is-glob is used to tell the difference between regular paths and globs (is-glob is also not on the latest version in chokidar for now for similar reasons). Backslashes are not technically allowed in globs, and there is no proposal to allow backslash separators and escaping in the same string.

so keeping gulp-watch aligned with chokidar might mean following suit and staying with the simpler 2.x for now

I see, that makes sense.

and there is no proposal to allow backslash separators and escaping in the same string.

Yes, that does not seem practical nor viable. What I meant is accepting both non-glob file paths (where is-glob returns false) together with globs that support escaping in the paths array parameter. Chokidar does not support anything like that yet, right? Escaping is not supported yet as you said.

Not yet, but that's the plan. I expect we'll be able to reliably tell them apart from each other and avoid conflicts in the handling.
A backslash-separated path with escaped glob characters and no other glob magic will resolve as false with is-glob and get treated as an actual path.

@jonschlinkert - curious if you've had any chance to take a look at this one?

curious if you've had any chance to take a look at this one?

yes, I did, thanks for the ping. I'll comment inline with the code...


should move dependencies module iconv to devDependencies

only test case using iconv, so should move it， because npm install  no need this module

Could you drop us a PR for this?


Russian translation basics

added basic translation to nav/getting-started docs

People need glamourous!

By translating stuff

Thank you @IgorKonovalov! @gitpash, could you review this?


Heroku monitoring add-on

Email from Heroku:
Some of your Heroku apps, such as kronostimezoner, have significant development activity or production characteristics, but do not yet have a monitoring add-on installed. | Some of your Heroku apps, such as kronostimezoner, have significant development activity or production characteristics, but do not yet have a monitoring add-on installed.
https://elements.heroku.com/addons/categories/monitoring?c=7013A000000ia0ZQAQ&utm_campaign=Production-Check-Monitoring&utm_medium=email&utm_source=nurture&utm_content=addons&utm_term=monitoring
For more information on monitoring and available third party monitoring options, check out the Dev Center visibility and monitoring documentation.All Heroku apps on paid dynos come with Heroku Application Metrics. Heroku makes it easy for you to provision additional monitoring services to your apps via Heroku Elements, the Heroku Dashboard, or the CLI. | For more information on monitoring and available third party monitoring options, check out the Dev Center visibility and monitoring documentation.All Heroku apps on paid dynos come with Heroku Application Metrics. Heroku makes it easy for you to provision additional monitoring services to your apps via Heroku Elements, the Heroku Dashboard, or the CLI. |

I think we need a premium version of the Dyno for this to work. I might be wrong.

I wonder if the email was a requirement or a suggestion.
Add-ons and dynos seem like a sudden monthly expense.
A little expensive for the moment no?

Yeah, but free dynos are working for us right now. I'm going to close this issue for now. Let's keep monitoring the emails and see if we need to start paying.


Float16, Float32 seem to be inaccurately formatted for all styles. SAD.

let value = 1.23 as Float16
let inaccurate = value.formatted(.number) // "1.230469"

let value = -1.23 as Float32
let inaccurate = value.formatted(.number.precision(.fractionLength(0...))) // "1.2300000190734863"

Will probably limit floating point numbers to Decimal and Double, because they seem OK.

FloatingPointFormatStyle probably uses a Double internally. Im unsure of how reasonable it would be to correct this on my end, so I’ve disabled Float16 and Float32.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dependencies" workflow

AWS CodeBuild CI Report

CodeBuild project: GitHubPipelineAutoBuildProj-XK8ItpxnSow5
Commit ID: a3c33339bd93d861a2ff0d83b1755b27a6c78af3
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


conversation_name should not include newlines

Spotted this in llm logs -n 1:
    "conversation_name": "# File: my_code.py Line: 6\ndef \u2026",

Here's where that is populated: https://github.com/simonw/llm/blob/178af27d95801097485e4e28d50cd26a530eecfc/llm/models.py#L125-L132


OAuth1.0 is not working

I have created a OAuth1.0 configs but it's not working properly.
The popop window is opened only with base URL. Is there any sample for OAuth1.0?

Should be fixed in 0.9.3.


What is meant by tiling?

The comment on transforms.make_tiles indicates "there are 4 versions of each tile".  I interpreted one of two ways, and in each case I'm not exactly following.  Can you clarify?

Thought 1: the simplest explanation is that each tile is replicated 4 times in 4 orientations.  I do not see this proliferation of tiles in the output of the function -- each tile is only present once.

Thought 2: each region of data is in a different orientation in each tile it is included in.  This seems to be what the code is trying to do, BUT it does not guarantee each region will be in 4 different orientations.  The augment loop rotates tiles, but the mod%4 on tile number means orientations are dependent on how many tiles are in each row.  It's possible for data to only appear in 2 or 3 orientations.

Below is some code which demonstrates the issue, and shows a potential path to a solution by using the row number when doing the flipping.  See the various orientations of the [[18, 19], [26, 27]] region in the output.  The original code duplicates an orientation -- see the bold.
[Incidentally - is it expected for data to be transformed to float64 by this function?  If downstream code does need float64, I would expect the downstream to do be responsible for the conversion.]
import numpy as np
from skimage import util
from cellpose import transforms

data = np.arange(8*8).reshape(1,8,8)

original, _, _, _, _ = transforms.make_tiles(data, bsize=4)
print('Original')
print(original[np.array((0,1,3,4))])

def updated_tile(arr, bsize=4):
    tile_size = (arr.shape[0], bsize, bsize)
    # skimage requires a non-zero z-step, even though our window is the full shape of arr.
    tile_step = (1, bsize//2, bsize//2)

    # Use np.array to create view to a real array (with ~4x the memory footprint)
    result = np.array(util.view_as_windows(arr, tile_size, step=tile_step))

    # Need to add final tiles along x/y edge, which windows does not create if not evenly divided.

    # Even rows are flipped according to x-position mod 4
    # result[:, 1::2, 0::4] # Not flipped
    result[:, ::2, 1::4] = np.flip(result[:, ::2, 1::4], 4)
    result[:, ::2, 2::4] = np.flip(result[:, ::2, 2::4], 5)
    result[:, ::2, 3::4] = np.flip(result[:, ::2, 3::4], (4,5))

    # Odd rows are flipped similarly, but shifted by two relative to even rows.
    result[:, 1::2, 0::4] = np.flip(result[:, 1::2, 0::4], 5)
    result[:, 1::2, 1::4] = np.flip(result[:, 1::2, 1::4], (4,5))
    result[:, 1::2, 2::4] = np.flip(result[:, 1::2, 2::4], 4)
    # result[:, 1::2, 3::4] = # Not flipped

    tiles = result.shape[0] * result.shape[1] * result.shape[2]

    return result.reshape((tiles, bsize, bsize))

updated = updated_tile(data)
print('\nUpdated:')
print(updated[np.array((0,1,3,4))])

Original
[[[[ 0.  1.  2.  3.]
   [ 8.  9. 10. 11.]
   [16. 17. 18. 19.]
   [24. 25. 26. 27.]]]

 [[[26. 27. 28. 29.]
   [18. 19. 20. 21.]
   [10. 11. 12. 13.]
   [ 2.  3.  4.  5.]]]

 [[[43. 42. 41. 40.]
   [35. 34. 33. 32.]
   [27. 26. 25. 24.]
   [19. 18. 17. 16.]]]

 [[[18. 19. 20. 21.]
   [26. 27. 28. 29.]
   [34. 35. 36. 37.]
   [42. 43. 44. 45.]]]]

Updated:
[[[ 0  1  2  3]
  [ 8  9 10 11]
  [16 17 18 19]
  [24 25 26 27]]

 [[26 27 28 29]
  [18 19 20 21]
  [10 11 12 13]
  [ 2  3  4  5]]

 [[19 18 17 16]
  [27 26 25 24]
  [35 34 33 32]
  [43 42 41 40]]

 [[45 44 43 42]
  [37 36 35 34]
  [29 28 27 26]
  [21 20 19 18]]]

I think you're right, nice catch! Indeed option #2 was intended, and the wording is incorrect.
The goal was to do a different rotation depending on the 4 combinations of row%2 and column%2. Each of these corresponds  to a near complete tiling of the image (with some parts of the border only covered once or twice). We will fix the code so that this is achieved.

this has been fixed, please pip install cellpose --upgrade


[FEATURE]: [Forte] Use connector_response_reference_id as reference to merchant

:memo: Feature Description

Reference id are used to map transactions in the connector’s dashboard.
Hyperswitch manages several reference ids, such as payment_id, attempt_id, and connector_transaction_id for a single transaction.
However, merchants may encounter uncertainty when determining which ID to utilize in the connector dashboard to identify the payment.

:hammer: Possible Implementation

When we receive a response from the connector for the payment, we deserialize it and populate the response field in RouterData.
For the TransactionResponse type, we must fill the connector_response_reference_id with a corresponding reference id for the merchant to identify the transaction.
One might need to have exposure to api docs of the connector for which it is being implemented to decide what to fill in connector_response_reference_id.
You can check this PR for further reference https://github.com/juspay/hyperswitch/pull/1735

🔖 Note: All the changes needed should be contained within hyperswitch/crates/router/src/connector/
:package: Have you spent some time checking if this feature request has been raised before?

[X] I checked and didn't find a similar issue

:package: Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

:sparkles: Are you willing to submit a PR?

Hi @VedantKhairnar and @Sakilmostak ,
I'm new to this project and rust, but I'm interested in taking this on as a first issue. I'm curious where would be a good place to find connector docs to familiarize myself with this as instructed in the issue description? I've checked the crate docs, but not 100% sure, what I'm looking for. Any guidance would be appreciated, thanks!

One might need to have exposure to api docs of the connector for which it is being implemented to decide what to fill in connector_response_reference_id.

Hello @AaronTJDev ,
Thank you for getting in touch. Certainly, issue #2330 presents itself as an excellent opportunity for initiating open-source contributions.
To gain a comprehensive understanding of this matter, I would like to elucidate how it has been resolved in the context of Adyen. On examining the Adyen documentation regarding payment requests, it is evident that they accept a field known as reference within their API requests for creating a transaction. This reference serves as a means to specifically identify and reference individual payments, and thus, it can been aptly designated as a connector_response_reference_id. We have accordingly made the necessary modifications to the connector/adyen/transformer.rs file, to include reference field in both payment requests and responses. I recommend reviewing the details of these changes in this associated Pull Request.
Note: Some connectors may not necessitate a payment reference id in their payment requests. However, it is anticipated that they will provide a payment reference id in their response, which should then be mapped to the 'connector_reference_id' as specified in the issue.
For specific guidance on the Forte connector, please refer to the Forte API Docs.
I hope this information proves helpful. In case you have any further queries, you can ask them on this issue thread, or on our discord server, or on slack whichever you are comfortable with

Thanks for the thorough feedback @AkshayaFoiger , I really appreciate it! Based on that, it looks like the correct key for this would be the transaction_id. I have the code worked out, but I'll have to spend some time this week to configure my local environment to test this before I open a PR.

Thanks for the thorough feedback @AkshayaFoiger , I really appreciate it! Based on that, it looks like the correct key for this would be the transaction_id. I have the code worked out, but I'll have to spend some time this week to configure my local environment to test this before I open a PR.

Hey @AaronTJDev, that's a good news. Shall I assign you this issue ?

Hey @AaronTJDev, sure! I've assigned this to you.
In case you have any queries, you can ask them on this issue thread, or on our discord server, or on slack whichever you are comfortable with

Hey @AaronTJDev  ,
Let us know if you face any issues. Happy to help! : )

I've created a PR for this. Thank you both for your kindness and your assistance @AkshayaFoiger and @VedantKhairnar .


Add a Secure SQL ChatBot demo

The flow will look like this:

Step 1:

Step 2 (this page is only available to authenticated users, and the security identity is propagated to the WS connection once the user chooses a chatbot icon):

ContentRetriever can only be called if the user is authenticated:

I'd just like to look at some hardening updates at the Quarkus level with Martin and Michal to have some more security binding done, but overall it is looking not bad with the WS-Next security support.
Here are application.properties.
It is only HTTPS and WSS secure protocols.
I'll look at adding a custom WS Next HttpUpgradeCheck.
Perhaps an output Quardrail can be added as well
CC @geoand @cescoffier

Gonna try to run it today

Very cool @sberyozkin!

@geoand @jmartisk I've added a custom WebSockets ticket scheme just to show what users can do to make what are already secure WSS upgrade requests even more secure, and updated README with a a more complete list of security considerations.
Next, I'll to tune some of the RAG code to take the user identity into account and the demo should be ready by review once it is done

@jmartisk Jan, I did something similar to what is done in the secure fraud detection demo.
So, in addition to the Movies data support which was already available, a MovieWatcher DB is generated, where a registered movie watcher has a random preferred genre allocated.
Then, the Movie content retriever passes the genre preferred by the current user to the MovieSupport AI service which is asked to use this property to sort the movies...
Hopefully it is good enough to show how AI can use the user identity to support its work :-), have a look please
Thanks

Also added a Logout support, missing movie watcher exception support, similarly to how it is done in the secure fraud detection demo...
I'm happy enough now with what this demo can show...

@jmartisk Let me do a bit of formatting as I've reset the workspace and lost the formatting configuration, so a few sources have tabs impacting them. And a few typos in README

Should be better now...


Storage windows open in the very top left of the screen

Description
Not necessarily an 'issue' but I find it very annoying and would prefer if it spawned in the center or off to the side (as easy as just changing Open to OpenCentered or some other helper)
Furthermore, it spawns in the 'top left' of whatever the window size was when you first opened the game, so if you make the window bigger or smaller then it doesn't spawn in the top left anymore
Screenshots

Unless UI has changed much, this just requires a one line replace Open() with OpenCentered() or some other spot.

Unless UI has changed much, this just requires a one line replace Open() with OpenCentered() or some other spot.

i was going to include that in #3648 but realized that, idk it might be contentious so I'll let people discuss where the windows should open by default


Cherry pick csi-trace and csi-node uri fixes to develop

chore(bors): merge pull request #903

903: fix(csi/stage): fetch uri via REST r=tiagolobocastro a=tiagolobocastro

On a NodeStage call, it's possible that the publish_context URI is out of date. This can happen when the volume has been moved to another node, and the app pod is pinned to a node and the node restarts.
See Mayastor Issue 1781 for more details.

For this fix, we add a new option to enable rest client for the csi-node. Ideally we'd like to strictly adhere to CSI spec, and avoid doing any mayastor specific operations (effectively being a mostly generic nvme-connect csi-driver but the immutability of the publish_context makes this a bit difficult.

Anyways, we add a new flag --enable-rest which is optional, thus still allowing us to run without this layer.
This will be enabled by default on the helm chart.

We also further check for the Nexus Online/Degraded state, which should help avoid a bunch of nvme connect errors in the kernel.

With this, we can also improve a few things down the line, such as ensuring resize before publish, etc... but we should take these 1 at a time and not suddendly do everything via rest...

Co-authored-by: Tiago Castro<EMAIL_ADDRESS>Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

fix(csi-driver): trace was mistakenly added as info

Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

bors merge


RuntimeError: table-wise sharding on a single EmbeddingBag is not supported yet

I saw this error message when I was trying the EmbeddingBagSharder. I read the code and found table-wise sharding is not supported in ShardedEmbeddingBag. I believe this is a bug because although table-wise sharding is not supported, the planner still generates a plan to use table-wise sharding. I found the cause for this bug might be when EmbeddingBagSharder inherits from BaseEmbeddingSharder, it doesn't override the sharding_types() function. And table-wise sharding is supported in BaseEmbeddingSharder.sharding_types(). A possible fix is to override EmbeddingBagSharder.sharding_types() function and exclude table-wise sharding. This is my first time submitting an issue to torchrec. I would appreciate any help to confirm this case.
You can find the colab here for the code to reproduce this error.

hey @jiannanWang thanks for reporting this issue, we'll double check on that.
Just curious, is there any reason you're not using EmbeddingBagCollectionSharder? Table wise should be supported for it. This is the sharder we support the most (we haven't been developing on EmbeddingBagSharder)

@jiannanWang I think you're diagnosis of problem, and proposed fix is correct. Feel free to make a PR!

Hi YLGH,
Thank you for your quick response! I will make a PR shortly.
For your question about why not use EmbeddingBagCollectionSharder, I'm testing the torchrec APIs so I would like to try all the APIs provided. I saw EmbeddingBagSharder is tested in torchrec existing test cases, so I assume it's still a valid API.

Closing for now - agree that this is a feature gap, but not a common one. Feel free to open a PR and we'll get it landed :)


[L000261] Sen. Carl Levin

Sen. Carl Levin:
http://www.levin.senate.gov
Likely contact form URL to start with:
http://www.levin.senate.gov/contact/

YAML file lost. I am working on it.


Add data policy notice to homepage for partner preview Platform

To ensure that users of the Partner Preview Platform are aware of the data policy governing this version of the Platform, can we please add the following notice?

[ ] Add the following text:

The Open Targets Partner Preview Platform is provided exclusively to Open Targets consortium members. All data and results of queries must remain confidential and must not be shared publicly.
View our data policy

[ ] Link "View our data policy" to http://home.opentargets.org/partner-preview-platform-data-policy

[ ] Wrap the notice <div> in a border that is 2px wide, solid, and uses the primaryColor attribute (e.g. `#407253)

[ ] Update the configuration to only show this notice in the Partner Preview Platform

@LucaFumis can we please make two adjustments to the data policy implementation?

[ ] Make the "View our data policy" link bold
[ ] Adjust the link logic so that the link to http://home.opentargets.org/partner-preview-platform-data-policy opens in a new window


support/db: Add context argument to Begin() and BeginTx()

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[ ] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[ ] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[ ] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

What
Add context argument to Begin() and BeginTx() functions. This should be safe because every transaction created by horizon is either for ingestion (which is bound to the ingestion context) or during a request ( which is bound to the request's context).
Why
The support/db package contains a lot of useful out of the box metrics that can be used by soroban-rpc. If the Begin() and BeginTx() functions took context parameters that would make it a lot easier to migrate soroban-rpc to using the support/db package which would allow us to complete https://github.com/stellar/soroban-tools/issues/496 more easily.
Known limitations
[N/A]

My only concern (which you may have already checked) is that if the context is cancelled the transactions are automatically rolled back:

The provided context is used until the transaction is committed or rolled back. If the context is canceled, the sql package will roll back the transaction. Tx.Commit will return an error if the context provided to BeginTx is canceled.

If I recall properly, trying to rollback an already-rolled-back transaction causes a panic. So I think we should review the exiting rollback logic in Horizon and add test(s) forcing a context-cancellation to see that things work as expected.

There are also some linter errors (import ordering, and error checking)


Add Backup Wails Frontend

Codecov Report
Patch and project coverage have no change.

Comparison is base (c15874c) 38.01% compared to head (bfa2e25) 38.01%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #222   +/-   ##
=======================================
  Coverage   38.01%   38.01%
=======================================
  Files          12       12
  Lines         818      818
=======================================
  Hits          311      311
  Misses        470      470
  Partials       37       37

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fixed missing constructor parameter for CollectorConfig

Hey @adamw, this is a follow-up PR for the Prometheus backend.
Unfortunately my last PR left out an important commit that prevents creating a CollectorConfig with custom labels.
This PR's fixes that problem.

@adamw any chance to publish this to maven central, thanks!

Released in 2.0.10, thanks!

Sorry, 2.0.9 :)


Fixed environment import bug on play scripts

Both play scripts attempted to import an environment class that does not exist, so I've updated it to use the actual environment classes.

Thank you!


Bot crashes when saving user data

The bot crashes sometimes when the queue is enabled.
It throws an error "TypeError: Converting circular structure to JSON" which also seems to be related to the queue times function being enabled
`/home/opc/git/DaManagement/node_modules/country-code-lookup/index.js:18
throw new Error('cannot determine ISO code type')
^
Error: cannot determine ISO code type
at Object.module.exports.byIso (/home/opc/git/DaManagement/node_modules/country-code-lookup/index.js:18:9)
at Object.checkAndStoreUserRegion (/home/opc/git/DaManagement/modules/userModule.js:228:32)
at generalCommands.myregion (/home/opc/git/DaManagement/modules/commandModule.js:70:116)
at Object.parseCommands (/home/opc/git/DaManagement/modules/commandModule.js:505:25)
at Bot. (/home/opc/git/DaManagement/DaManagement.js:309:26)
at Bot.emit (events.js:400:28)
at Bot.treatCommand (/home/opc/git/DaManagement/node_modules/ttapi/src/bot.js:319:17)
at Bot.treatPacket (/home/opc/git/DaManagement/node_modules/ttapi/src/bot.js:326:17)
at Bot.onMessage (/home/opc/git/DaManagement/node_modules/ttapi/src/bot.js:336:17)
at WebSocket. (/home/opc/git/DaManagement/node_modules/ttapi/src/bot.js:110:21)
Restarting`

Unable to find a reliable way to reproduce this issue?!?

Was caused by a circular ref as the timeout function was being saved in the spamTimer, a copy of the user object is now created and that timer removed before saving


have any function for callback from rtsp?

I need to get frame when play with rtsp but i dont find any function for this?
Can you help me?
Thanks

Get frame?
If you want get the raw image data, you can use the VideoSource property.
If you want use a callback when display a frame, it is not support now, but it is easy to do it.

some callback when you load a rstp stream?
I need to use this for get frame and convert it to bitmap,
Can you show me this?
Thanks

Ummm...Maybe you can use StateChanged event.
When you load a media, player's state will be changed.
NothingSpecial -> Opening -> Buffering -> Playing.

can you show me code for this? i dont know how use statechanged function on sample wpf :(

Ummm...I have no PC now, I give you some sample next week.

VlcPlayer vlcPlayer = new VlcPlayer();
vlcPlayer.StateChanged += (o, args) =>
{
    switch (args.Value)
    {
        case MediaState.NothingSpecial:
            // VlcPlayer has initialized.
            break;
        case MediaState.Buffering:
            // Meida is buffering.
            break;
        case MediaState.Opening:
            // Meida is opening.
            break;
        case MediaState.Playing:
            // Meida is playing.
            break;
        case MediaState.Paused:
            // Meida is paused.
            break;
        case MediaState.Stopped:
            // Meida is stopped.
            break;
        case MediaState.Ended:
            // Meida is ended.
            break;
        case MediaState.Error:
            // Some error has been encountered.
            break;
    }
};

If you want to know does media is a rstp stream media.
You can check the vlcPlayer.VlcMediaPlayer.Media.Mrl.
Uri mediaMrl = null;
if (Uri.TryCreate(vlcPlayer.VlcMediaPlayer.Media.Mrl, UriKind.Absolute, out mediaMrl))
{
    switch (mediaMrl.Scheme.ToLower())
    {
        case "rstp":
            // It is a RSTP stream media.
            break;
        case "rtp":
            // It is a RTP stream media.
            break;
        case "udp":
            // It is a UDP stream media.
            break;
        case "tcp":
            // It is a TCP stream media.
            break;
        case "http":
            // It is a HTTP stream media.
            break;
        case "https":
            // It is a HTTPS stream media.
            break;
        case "file":
            // It is a local media.
            break;
        default:
            //Other meida type.
            break;
    }
}

Hi
im using videosource for get frame and use timepicker for control this


Add missing HTML tag in www_body in s_server.c

In the generated HTML document, the <pre> tag is not closed (open tag is at Line 3033). This patch also has a trivial code-style improvement, unrelated to the bug fix.

@levitte: Will you merge this?

I'll merge and cherry-pick to 1.1.0 and 1.0.2

merged to all three branches, thank you!


Failed to download model on MacOS

Failed to download pre-trained model as described in https://github.com/caffe2/caffe2/blob/master/caffe2/python/tutorials/Loading_Pretrained_Models.ipynb
$sudo python -m caffe2.python.models.download -i squeezenet
/Applications/anaconda/bin/python: No module named caffe2.python.models

Then I switched to use caffe2/python/models/download.py directly, but still failed.
$ sudo python download.py -i squeezenet
Downloading from https://s3.amazonaws.com/caffe2/models/squeezenet/predict_net.pb
Abort: Could not download model. [HTTP Error] 404: Not Found.
Cleaning up...

And digging further, I tried to use wget to download predict_net.db, failed again. Any suggestions?
$ wget https://s3.amazonaws.com/caffe2/models/squeezenet/predict_net.pb
--2017-08-09 11:09:34--  https://s3.amazonaws.com/caffe2/models/squeezenet/predict_net.pb
Resolving s3.amazonaws.com... <IP_ADDRESS>
Connecting to s3.amazonaws.com|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-08-09 11:09:37 ERROR 404: Not Found.

The same problem happened on my Linux box.

the same happened with me on Mac

The link should be https://s3.amazonaws.com/download.caffe2.ai/models/squeezenet/predict_net.pb

We just updated the download link recently, so if you reinstall caffe2 from source, the problem should be resolved.

Great. It works for me now.


improving comprehensibility of kapacitor documentation

As they say: there are 2 hard problems in computer science: cache invalidation, naming things and off by one errors.
The Kapacitor documentation currently documents 4 node types:

Stream
Batch
SourceStream
SourceBatch

Unfortunately, the correspondence between the documentation and keywords used in Tick scripts is as follows:

Stream <=> from
Batch <=> query
SourceStream <=> stream
SourceBatch <=> batch

It would be helpful if the documentation could be renamed so that the correspondence was instead:

From <=> from
Query <=> query
Stream <=> stream
Batch <=> batch

For completeness, it might also be worth refactoring the source code so that the source code names matched the documentation names.
I think this would make the documentation much easier to comprehend.

Closed in favour of https://github.com/influxdata/docs.influxdata.com/issues/384

Reopened since this is auto-generated documentation.


Add 'address copied' alert for dapp connect bottom sheet

Description
As above
Other changes
N/A
Tested
Manually
How others should test
As the repro steps in #2646
Related issues

Fixes #2646

Backwards compatibility
Yes

Hey @MuckT, We have verified above task on Latest Android Internal Release Build V1.36.0 & updated status in test rails.
Observations:

User is able to copy the address from the wallet connect screen and when user taps on Tap to Copy link "Address copied to clipboard" toast is also seen.

Test rail link:
Android 10: https://valoraapp.testrail.io/index.php?/tests/view/50671
Devices: Google Pixel XL (10.0)
CC: @kathaypacific
Thanks..!!

Hey @MuckT, We have verified above issue on Latest Android Internal Release Build V1.36.0 & updated status in test rails.
Observations:

User is able to copy the address from the wallet connect screen and when user taps on Tap to Copy link "Address copied to clipboard" toast is also seen.

Test rail link:
Android 11: https://valoraapp.testrail.io/index.php?/tests/view/51723
Device: Samsung Galaxy F41(11.0)
CC: @kathaypacific
Thanks..!!


ImportError for genai library in python on DirectML EP with 0.3.0 release

I updated the onnxruntime_genai python library to the latest 0.3.0 release and getting the following import error. This is on DirectML backend
     from onnxruntime_genai.onnxruntime_genai import *
ImportError: DLL load failed while importing onnxruntime_genai: A dynamic link library (DLL) initialization routine failed.

This is a known error. My guess is that you're using conda on Windows?
Please see this issue for more details: https://github.com/microsoft/onnxruntime-genai/issues/555
TLDR: run conda install conda-forge::vs2015_runtime should fix the issue.

Yes, this worked. Thanks!


New major version with seneca entity usage

Coverage decreased (-0.4%) to 94.31% when pulling 49e1800ca0f26c6e8540e6f9f2dda44187b2580c on seneca into ee1d9b36c79a0947a65ab26273e220d7b254e390 on master.

Coverage decreased (-0.2%) to 94.584% when pulling 0863b41caaed38f6a7bbea6a7c4b62462d5d37d4 on seneca into ee1d9b36c79a0947a65ab26273e220d7b254e390 on master.


ol.js doesn't have WebGLPointsLayer

To import WebGLPointsLayer using npm i used:
import WebGLPointsLayer from 'ol/layer/WebGLPoints';
I am trying to use ol.layer.WebGLPoints but it doesn't work, what is the correct path?

The WebGLPointsLayer is not yet part of the stable API, so it is not included in the legacy build. To use it, change your application to use the ol package instead of the legacy build (ol.js).

@Syniex, if for some reason you can not do like @ahocevar suggested, you might want to have a look to https://github.com/geoblocks/legacylib which I used at some point to generate an OL5 "full" legacy library.

@ahocevar I used npm and installed latest version (6.0.1) but, there's no WebGLPointsLayer in downloaded file. Am I missing something?

I was rather lost trying to build a replacement for the released, minified ol.js that can be included using <script src=, here is how i did it for my project:
https://github.com/wiedehopf/ol-rollup/commit/d58a62d2fcfc5d1ee6ab69f0ae79843e354df63d
It's probably a terrible approach but i don't have much npm or bundling experience so i'm glad it works and functions as a drop in replacement for the library release by OpenLayers.
That way i can start trying out the WebGLPointsLayer without having to mess with npm all the time in my project but only when i want to upgrade to a new OL version.

You might be interested to hear that the legacy build now includes the whole library - not just the supported API. See #11715.


FCs counted as having misses

Changed the CS to 2, and got 0 misses on a map. However, the program rejected the score and said I got 28. It also said there were 31 total hits when the map had 32 objects.
BPM was 300, distance was 512, and map had 32 notes.

Likely due to the score processor having cs set as const (cs 4 iirc). cs should be passed to score processor and used accordingly.

fixed


update vm-import-controller to v0.1.8

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Problem:

PR updates vm-import-controller chart to v0.1.8
Solution:

Related Issue:
Test plan:

@mergifyio backport v1.3


Vulkan 1.3 vkCreatePrivateDataSlot Bug

The vkCreatePrivateDataSlot  returned VkPrivateDataSlot* is index，please fix

This should be an AMD driver design, and the NVIDIA driver on my side returns data similar to Handle.


OAuth 2.0 device authorization grant support

Summary
I tried to use casdoor in our project, but I notice it doesn't support the OAuth 2.0 device authorization, this model is simple and powerful. This is a great feature if the casdoor can support this, see here for this model.

Casdoor supports oidc protocol to access the application, and oidc is based on oauth, you can get the relevant information in this document：https://casdoor.org/docs/how-to-connect/oidc-client/

OIDC has multiple auth models, such as implicit-grant-flow, auth-code-flow, device-code-flow. I guess the casdoor can support implicit-grant-flow and auth-code-flow, I haven't tested it, but I tried the device-code-flow, the casdoor doesn't provide the device_authorization_endpoint in .well-known/openid-configuration.

Oh you're right, casdoor doesn't support device-code-flow yet, do we need to add that? @hsluoyz

@Steve0x2a Please update #415.

@Steve0x2a Please update #415.

@nodece Thank you for your review! But totp we have discussed and feel that we still need to make some major changes, so this pr may not progress in a short time, if we continue to move forward with this pr, I will make changes according to your suggestions, thank you very much.

@Steve0x2a Could you share this discussion thread? I want to know this progress.

please assign this issue to me,i am interesting to complete it.

Done

Hi! Are there any updates on OAuth 2.0 Device Authorization Grant?


Any kind of authentication throws 500 errors if a organization uses LDAP auth and LDAP server is down

Description
Related ticket: https://github.com/CartoDB/onpremises/issues/342
Onpremise version: builder-2.1.0-pre3
Scenario
Organization1: Using local authentication
Organization2: Using LDAP authentication
Everything works fine, but as soon as we bring LDAP Server down, no matter if you use local, or any other kind of authentication, a 500 Internal server error is shown.
Error
Started POST "/sessions/create" for <IP_ADDRESS> at 2017-05-16 17:59:40 +0000
Processing by SessionsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"hooJrEQNnI5Ab9MN0I+KAExFNTVr25lP2Bf15aJtUQQ=", "google_access_token"=>"", "google_access_filled"=>"0", "email"=>"admin-saml", "password"=>"[FILTERED]"}
Completed 500 Internal Server Error in 3005.3ms

Net::LDAP::Error (Host ldap.localhost.lan was unreachable (No route to host - connect(2) for "ldap.localhost.lan" port 389)):
  app/models/carto/ldap/configuration.rb:78:in `block in authenticate'
  app/models/carto/ldap/configuration.rb:77:in `each'
  app/models/carto/ldap/configuration.rb:77:in `find'
  app/models/carto/ldap/configuration.rb:77:in `authenticate'
  app/models/carto/ldap/manager.rb:18:in `block in authenticate'
  app/models/carto/ldap/manager.rb:17:in `each'
  app/models/carto/ldap/manager.rb:17:in `authenticate'
  config/initializers/warden.rb:150:in `authenticate!'
  app/controllers/sessions_controller.rb:60:in `create'
  app/controllers/application_controller.rb:101:in `wrap_in_profiler'

Started POST "/sessions/create" for <IP_ADDRESS> at 2017-05-17 16:36:29 +0000
Processing by SessionsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"IP+yunOv1RaRjdawgZh1t3DYSmYUSHx+P7p5HkusC0k=", "google_access_token"=>"", "google_access_filled"=>"0", "email"=>"carto", "password"=>"[FILTERED]"}
Completed 500 Internal Server Error in 6.2ms

Net::LDAP::Error (Server <IP_ADDRESS> refused connection on port 389.):
  app/models/carto/ldap/configuration.rb:78:in `block in authenticate'
  app/models/carto/ldap/configuration.rb:77:in `each'
  app/models/carto/ldap/configuration.rb:77:in `find'
  app/models/carto/ldap/configuration.rb:77:in `authenticate'
  app/models/carto/ldap/manager.rb:18:in `block in authenticate'
  app/models/carto/ldap/manager.rb:17:in `each'
  app/models/carto/ldap/manager.rb:17:in `authenticate'
  config/initializers/warden.rb:150:in `authenticate!'
  app/controllers/sessions_controller.rb:60:in `create'
  app/controllers/application_controller.rb:101:in `wrap_in_profiler'

Expected result

Organization users using any kind of authentication, but LDAP, should be able to login.
Organization users using LDAP authentication, shouldn't be able to login. If possible, we might want to show a login error, instead of a 500 Internal Server one.

#SMOKES_OAUTH01

Prioritized, as it's relevant for next release. Please write down deadline needs, if any 🤗

@juanignaciosl onpremises 2.1.0 version was meant to be released by the end of May. Since this is a blocking issue, it would be great if it can be done by the beginning of the next week. Thanks.


Hardcode terminal total difficulty

What's done?

TransitionStore with compute_terminal_total_difficulty function are replaced with TERMINAL_TOTAL_DIFFICULTY configuration parameter
Adjustments to different parts of the spec that are corresponding to the above change

Rationale

Reduce the complexity of consensus client implementation caused by computed TTD, see https://github.com/ethereum/consensus-specs/issues/2603 for details.
Hardcoded TTD is a robust solution to prevent execution client from mistakenly following the contentious fork sharing the Mainnet PoW chain in the case of software misconfiguration or failure.

Dependencies

[x] The corresponding change should be made to EIP-3675 -- https://github.com/ethereum/EIPs/pull/3981
[x] Should be merged after https://github.com/ethereum/consensus-specs/pull/2581

cc @ajsutton

nice! this is definitely cleaner. re: https://github.com/ethereum/consensus-specs/pull/2599, do you think it makes sense to have a param for TERMINAL_BLOCK_HASH as well?

nice! this is definitely cleaner. re: #2599, do you think it makes sense to have a param for TERMINAL_BLOCK_HASH as well?

Yes, I think this would be the right way to implement override of a terminal block. And if transition ends up with terminal block override then consensus and execution clients will need to be released with hardcoded terminal block hash.


Add PSR-11 support

Replaces:

Interop\Container\ContainerInterface => Psr\Container\ContainerInterface
Interop\Container\Exception\ContainerException => Psr\Container\ContainerExceptionInterface
Interop\Container\Exception\NotFoundException => Psr\Container\NotFoundExceptionInterface

Updates all container-interop references in the docs.

I can see that tests fails also with lowest dependencies, maybe we should add:
    "conflict": {
        "container-interop/container-interop": "<1.2"
    },

into composer.json?

Isn't this PR a BC Break? We have now typehints for different
classes/interfaces, so if somebody extends one of our classes needs to
update his source as well. Am I wrong?

I was thinking the same after I created the PR. I'll leave it as is for the
discussion. If needed I'll revise on develop.

I can see that tests fails also with lowest dependencies, maybe we should
add...

That might fix the issue.
Op wo 15 feb. 2017 09:41 schreef Michał Bundyra<EMAIL_ADDRESS>
I can see that tests fails also with lowest dependencies, maybe we should
add:
"conflict": {
    "container-interop/container-interop": "<1.2"
},

into composer.json?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zendframework/zend-expressive/pull/450#issuecomment-279949836,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJDr8g3XjcW3ivMPWMGM-X9faVKKrtxJks5rcrpVgaJpZM4MBVxl
.

@weierophinney Rebased on develop. The docs need to be checked again.

Labeled as BC break, as anybody extending the various classes where signatures have typehints against container-interop would break — this is, of course, also why it's put in the 2.0.0 milestone.

Thanks, @xtreamwayz!


Feature request: custom icons

Allowing the use of custom, non-nerdfont fonticons like Phosphor would be great :)

Sorry for the long wait, but it should be implemented now.

Everything seems to work except the sleep button.

https://github.com/scorpion-26/gBar/assets/44733677/80764bec-ac0e-49df-b8fb-43d28fda90df

Also, being able to choose a custom icon for tray items like Discord would be nice.

Sleep button should be fixed, expected the wrong thing in code

Awesome, fixed!


Update esp-aws-iot submodule to latest

Description

Test Steps

Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This PR is included in #88


Switching from XFCE to Unity

Hi. Is there a way of doing this without having to start from scratch?

Yup, just update your chroot adding the unity target at the same time, something like:
sudo sh ~/Downloads/crouton -t unity -u
or
sudo sh ~/Downloads/crouton -t unity-desktop -u
Then to start it, do:
sudo startunity
If you have more than one chroot you may need to add -n chrootname to the above commands substituting 'chrootname' with the name of your desired chroot.

Fantastic Dennis, that did the trick, thank you!
And if I want to remove XFCE, how do I do that?
Again, thanks for your help.
Juan
On Sat, Aug 15, 2015 at 12:24 PM, DennisL<EMAIL_ADDRESS>wrote:

Yup, just update your chroot adding the unity target at the same time,
something like:
sudo sh ~/Downloads/crouton -t unity -u
or
sudo sh ~/Downloads/crouton -t unity-desktop -u
Then to start it, do:
sudo startunity
If you have more than one chroot you may need to add -n chrootname to the
above commands substituting 'chrootname' with the name of your desired
chroot.
—
Reply to this email directly or view it on GitHub
https://github.com/dnschneid/crouton/issues/2023#issuecomment-131430020.

And if I want to remove XFCE, how do I do that?

That's a more difficult task to do, you may end up removing too much and causing problems with existing packages due to inter-dependencies, etc. I would recommend ignoring it just using 'startunity'.

Will do. Thanks again mate. Cheers,
Juan
On Sun, Aug 16, 2015 at 2:50 PM, DennisL<EMAIL_ADDRESS>wrote:

And if I want to remove XFCE, how do I do that?
That's a more difficult task to do, you may end up removing too much and
causing problems with existing packages due to inter-dependencies, etc. I
would recommend ignoring it just using 'startunity'.
—
Reply to this email directly or view it on GitHub
https://github.com/dnschneid/crouton/issues/2023#issuecomment-131630409.