Building mediapipe android archive (aar) solutions fail

Platform building: MacOS (M1)
mediapipe version: v0.10.1
Goal: Build a full body pose tracking model with landmark detection and segmentation-  integratable into android java project.
I had made a working mediapipe pose tracking aar before, like a year ago, so I remember some struggles with bazel and python versions, but this one is different.
Error I got when building latest mediapipe aar:
ERROR: /private/var/tmp/_bazel_vladimirshetnikov/6b16643d934c388a706226c5a442e578/external/XNNPACK/BUILD.bazel:3480:19: Compiling src/amalgam/gen/neonfp16arith.c failed: (Exit 70): clang failed: error executing command (from target @XNNPACK//:neonfp16arith_amalgam_microkernels) external/androidndk/ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang '-D__ANDROID_API__=21' -isystemexternal/androidndk/ndk/sysroot/usr/include/arm-linux-androideabi -target ... (remaining 67 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
fatal error: error in backend: Cannot select: 0x7fb278b831a8: v8f16 = bitcast 0x7fb278b7fe68, external/XNNPACK/src/amalgam/gen/neonfp16arith.c:51:28
  0x7fb278b7fe68: v8i16,ch = ARMISD::VLD1DUP<(load 2 from %ir.17)> 0x7fb27ff42ab8, 0x7fb278b83008, Constant:i32<2>, external/XNNPACK/src/amalgam/gen/neonfp16arith.c:51:50
    0x7fb278b83008: i32 = add nuw 0x7fb278b806f0, Constant:i32<2>, external/XNNPACK/src/amalgam/gen/neonfp16arith.c:51:50
      0x7fb278b806f0: i32,ch = load<(load 4 from %fixed-stack.0, align 8)> 0x7fb27ff42ab8, FrameIndex:i32<-7>, undef:i32
        0x7fb278b80688: i32 = FrameIndex<-7>
        0x7fb278b801a8: i32 = undef
      0x7fb278b82fa0: i32 = Constant<2>
    0x7fb278b82fa0: i32 = Constant<2>
In function: xnn_f16_avgpool_minmax_ukernel_9p8x__neonfp16arith_c8
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
Android (5220042 based on r346389c) clang version 8.0.7 (https://android.googlesource.com/toolchain/clang b55f2d4ebfd35bf643d27dbca1bb228957008617) (https://android.googlesource.com/toolchain/llvm 3c393fe7a7e13b0fba4ac75a01aa683d7a5b11cd) (based on LLVM 8.0.7svn)
Target: armv7-none-linux-android
Thread model: posix
InstalledDir: external/androidndk/ndk/toolchains/llvm/prebuilt/darwin-x86_64/bin
clang: note: diagnostic msg: PLEASE submit a bug report to https://github.com/android-ndk/ndk/issues and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/folders/qr/yj2tl88s6zzc1wzmbrmf422r0000gn/T/neonfp16arith-cdeac3.c
clang: note: diagnostic msg: /var/folders/qr/yj2tl88s6zzc1wzmbrmf422r0000gn/T/neonfp16arith-cdeac3.sh
clang: note: diagnostic msg: Crash backtrace is located in
clang: note: diagnostic msg: /Users/vladimirshetnikov/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
clang: note: diagnostic msg:

********************
Target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/build_aar_pose:mediapipe_pose_tracking.aar failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 195.856s, Critical Path: 112.66s
INFO: 634 processes: 154 internal, 480 darwin-sandbox.
 Build actually went until [5,921 / 6,276] and in the last minute it gave an error. Previously I build the aar archive with the command that has less flags (I tried it too, didn't work):
bazel build -c opt --strip=ALWAYS --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --fat_apk_cpu=arm64-v8a,armeabi-v7a mediapipe/examples/android/src/java/com/google/mediapipe/apps/build_aar_pose:mediapipe_pose_tracking
Matter of factly, I tried building face_detection aar as described in the example here:
google_mediapipe_doc, but it didn't work too!
Let me know if I need to provide any more info.
Thank you.

Update:
Building an iOS posetracking framework from the latest mediapipe release works like a charm, so I do not think the issue is in my bazel config, and it is primarily ndk configuration as the error suggests

@V-m1r,
Thanks for the highlighting this. This issue is known to us. Please allow us sometime to provide the possible solution work fix.

Hello @V-m1r,
Could you try to replace the --fat_apk_cpu=arm64-v8a,armeabi-v7a  with --fat_apk_cpu=arm64-v8a as below:

bazel build -c opt --strip=ALWAYS --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --fat_apk_cpu=arm64-v8a mediapipe/examples/android/src/java/com/google/mediapipe/apps/build_aar_pose:mediapipe_pose_tracking

Please update the status, If this works for you. Thank you!


Better project author, fixes #17.

@peterbe r?

I guess we can't put just "Mozilla" there because it'll screw up search-and-replace on the LICENSE file.
I personally don't like the word "Corporation" since it excludes the foundation and it might make people out there think it's tied to a corporate license or something.
How about something fun like "Mozilla Webdev"?

IIRC the guidance has always been to use "Mozilla Foundation" instead of Corporation since it wholly owns the corporation.

I guess we can't put just "Mozilla" there because it'll screw up search-and-replace on the LICENSE file.

Nope, since @Osmose changed the generation script we can use whatever we want. I copied what you had in #18 but we can go with something else. I prefer Mozilla Foundation too, updating.

r+

By the way, after 4 years here it was news to me that the foundation owns the corporation.

@peterbe: https://www.mozilla.org/en-US/foundation/about/

woohoo


solved problems in se3-mds. also solved hidden issues in utils

dunno the error in mds-se3 (seems to be a connection error, not mds-native), --> solved and incorporated batched mds in af2
solved hidden issues in utils

Build fails bc the utils.py now needs sidechainnet installed to get the unique atom ids for the embeddings, but the af2-mds works.

@hypnopump man, on :fire:


fix: claims

Changes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#673
#672  👈
#671
#670
#669
#668
#667
#641
#635
#633
#632 : 1 other dependent PR (#662 )
#628 : 1 other dependent PR (#629 )
#613
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MasterPtato and the rest of your teammates on  Graphite


Deploy on Candle

Candle  is a leading replacement for Russia’s Ethereum.

We don't plan to integrate Candle in the near future


Issue with odd error: RbVmomi::Fault: NotFound (duplicate of #68 )

Issue #68 was closed last July, but the reporter is still experiencing it and I am hitting it as well.
I am hitting this issue as well. When I attempt to build a new VM using a text ESX host with datastore01 build on local storage, there is no issue at all. However, when I move this into one of the production environments, I get:
CannotAccessVmConfig: Unable to access the virtual machine configuration: Unable to access file [datastore-odd-01] RHEL6Template/RHEL6Template.vmtx
In the command string, I define the template using:
--template "RHEL6Template"
Running a "knife vsphere template list", I get:
Template Name: RHEL6Template

Hi, thanks for reporting this bug and updating #68. Is that datastore-odd-01 accessible from all hosts? Is it possible we're scheduling the clone on a host that can't access the datastore?

It looks like that's the root of the problem.  This datastore is only accessible to a single cluster within the datacenter.  It looks like knife-vsphere uses "--resource-pool" to specify the cluster, which isn't very intuitive.  It would be great to break that off into a "--cluster" flag.  It would also be nice to capture this error message and output something telling the user to verify datastore accessibility from a given host / cluster within the specified datacenter.

Ah, yea, I see what you mean. The API expects a pool which is probably the origin of this oddball naming. I think for now I will update the docs to point out this odd case.
I like the idea of offering better hints when things go wrong, thanks for the suggestion!


Safari requestPermission() Promise not supported.

Hello,
According to the MDN, Safari does not support the requestPermission().then() Promise version.
Reference: https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission#Browser_compatibility
So when Push.Permission.request() is called in Safari users get the following error:
undefined is not an object (evaluating 'this._win.Notification.requestPermission().then')

Due to this block: https://github.com/Nickersoft/push.js/blob/master/src/classes/Permission.js#L34-L39
Cheers,
Andrew

Hey @Nickersoft any update on this?

Hi @ellisio! Sorry, I've been busy lately! You're totally right... I'll see if I can get a fix out by the end of the week. I think if the browser supports the promises API it throws a depreciation warning, so some extra logic will need to be added to prevent that. It's actually surprising, as Safari is one of the browsers testing this library on BrowserStack and all tests pass... maybe the permission tests need to be revisited.

This looks ... promising
https://github.com/Nickersoft/push.js/issues/120

Looks like the official Safari web documentation uses a callback for the requestPermission function.
https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/LocalNotifications/LocalNotifications.html#//apple_ref/doc/uid/TP40012932-SW1

Very helpful @basiclines.
I'm still testing, but I opened this PR https://github.com/Nickersoft/push.js/pull/124.

So this PR (https://github.com/Nickersoft/push.js/pull/124) works and is tested against Chrome, Safari, and Firefox.
The Fix: Checking for Safari first means that it uses the callback method instead of the promise-based method which errors out. Assuming that it removes webkitNotifications entirely like Chrome did, the promise-based method will be used on a Safari update.
Also worth writing here that Safari is currently listed as having "No support" for promise-based Notifications.
https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission

@Nickersoft Thoughts?

@n3il I went ahead a merged your PR (sorry I've been so busy lately.. taken me awhile to get around to it). I like your idea of a support table. I'll see if I can put one together and post it on pushjs.org.

@Nickersoft Thanks. I think we can close this ticket out then. Looking forward to it 👍

Cool beans :) Thanks for the contribution @n3il!

I'm also getting this error:
undefined is not an object (evaluating 'this._win.Notification.requestPermission().then')
Looks like you committed some code to fix it. Are you planning on releasing 1.0.5 soon?
Thanks!

Hi !
I'm getting this error on safari too:
undefined is not an object (evaluating 'this._win.Notification.requestPermission().then')
any news about the status of this issue? I'll be glad to help if there's anything more to do to fix this problem.
Thanks!

It seems the thinking here was that the webkitNotification API with callback-based permissions would be kept to support older Safari. The assumption was that Safari would not drop the deprecated webkitNotification API without also updating to the modern Notification/promise-based permissions API.
That didn't happen. :(
Safari (in Mojave, at least) dropped the webkit prefix but also still used the old callback-based permissions API.

this is still broken on last package version, can you release a new version?

Also not working in last version package.

Any updates on this issue?

 Forward this issue to Apple they must fix one

this is working for me
if (Notification.permission === "granted") {
console.log('allow', result);
return true;
}
if (!Notification.requestPermission()) {
return true;
}
Notification.requestPermission().then(function (result) {
if (result === 'denied') {
console.log('denied', result);
return;
}
if (result === 'granted') {
console.log('allow', result);
}
}


Fix nightly integration tests

Previously we were passing the --blockchain-node flag for all integration tests. The ff init fabric subcommand does not support this flag though, so it fails to create the test stack.
Here is an example of a failed run where this happened: https://github.com/hyperledger/firefly/actions/runs/4189374980/jobs/7261623960#step:6:139
ff -v --ansi never init fabric --prometheus-enabled --database sqlite3 firefly_e2e 2 --blockchain-node fabric --token-providers erc20_erc721 --manifest ../../manifest.json --sandbox-enabled=false --multiparty=true
Error: unknown flag: --blockchain-node

Codecov Report

Merging #1190 (5734b68) into main (90b46b8) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main     #1190   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          305       305
  Lines        20057     20057
=========================================
  Hits         20057     20057

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


Resampling, attenuation, and 2022 support to er2 module

Enhancements to the er2 module have been added to:

Support the 2022 hdf files, including merging of Ku- and Ka- specific files
Resample CRS and EXRAD data onto the HIWRAP grid with the resample_ref argument
Support CRS ice attenuation correction with resample_ref and optional temperature (i.e., from HRRR) arguments

An example notebook testing these changes on 2020 and 2022 data is located in ../src/impacts_tools/tests/test_radar_2022.ipynb.

Thanks Joe! Sorry for the delay merging that in.


Consider migration from .NET Framework 4.8 to .NET X

Not clear which .NET version is better in terms of stability. This is the reason .NET Framework was chosen as a project basis.

One huge advantage of .NET X is a drastically increased testability, e.g. one liner dotnet test.

As a reminder... Tried to upgrade, tests didn't work and Core project didn't compile.

The project will not be migrated at this stage, maybe sometime later.


Add item location map

Resolves #74

Implementation note: Leaflet needs the div containing the map to have a id. However, using the same idea in both small and large screen views doesn't work (because it's not unique, obviously) so we did a work-around for now: Rendering the map twice, using two different ids.
We think this hacky solution is only necessary because in show.html.erb, this happens:
  <%= render "item_largescreen" %>
  <%= render "item_smallscreen" %>

This probably goes against the Bootstrap philosophy so it might make sense to solve this problem first.
@konrad-gerlach It looks like you introduced this change. Is there a way to do only render things once?


Using v3.2 results in "fatal: could not read Username for 'https://github.com': No such device or address"

When I attempt to use v3.2 of the action, I receive this as an error:
Pushing synced data to target branch.
fatal: could not read Username for 'https://github.com': No such device or address

Looking through past issues, I found #32 and saw the fix applied made it into v3.0 with the issue creator using v3.0 in their repo currently. Switched to v3.0 and no longer see the above error message. That said, v3.0 gives me this error:
fatal: refusing to merge unrelated histories

This error seems related to #37 where the fix was applied to v3.2 of the action. I'm stuck between two errors currently.
If it helps, here is the configuration for the action I am using.
Let me know if there are any other details I can provide.
Thank you.

same issues

same

If privacy is not an issue, could someone please link their workflow logs?

@sprak3000
For v3.0 failure

Your checkout depth is 1 by default when using github checkout action.
Try to add fetch-depth: 0 to the checkout step to make sure you have a full history for merging. (You can probably remove this after the first successful run.)
Additionally, you can add upstream_pull_args: '--allow-unrelated-histories' to the sync step and try that.

Not sure on v3.2, haven't had a chance to sit with it.

@aormsby
Looks like those commands might have done the trick. The most recent scheduled attempt passed, but there were no updates from upstream. I'm going to leave this open a bit longer to see what happens when there are updates, but the initial outlook is promising.

I was facing the same error here(private repo), I used you suggest, and now it's fine. Thanks @aormsby
Lines included:
fetch-depth: 0
upstream_pull_args: '--allow-unrelated-histories'
the message error still but now the action could identify new commits/ No new commits

Cool, thanks for the updates 👍

Ran into this same issue on 3.2 and it appears that the fix that made it into 3.0 was removed in 3.2 again.
This was the fix in 3.0: https://github.com/aormsby/Fork-Sync-With-Upstream-action/commit/aa1ee5d4f968eff69802e9a63faebcac1734e273?diff=split
but if we look at the current push_updates.sh file in main or 3.2 then that change is undone: https://github.com/aormsby/Fork-Sync-With-Upstream-action/blob/v3.2/run/push_updates.sh
I didn't comb through the whole history to find why that commit was undone, but it seems like the fix for 3.2 would be to just re-apply this same old fix aa1ee5d4f968eff69802e9a63faebcac1734e273 ?

Hmm, I really don't remember. 😐


Power BI Report in SharePoint Team Site

Thank you for your work with this Power BI client react. We want implement a Power BI dashboard, during provisioning Team Site on SharePoint. Our business case is that we need to include/create Power BI report (web part or iFrame). How to add the report on a Client Site Page during provisioning the site template.
The challenge is to include Power BI reports, that incorporate SharePoint lists and/or excel files - add Power BI reports with relative URL provisioned site as data source for the reports.
Would appreciate tips if this is possible, and how we're able to do this!

Issue is not related to powerbi-client-react component, please visit Power BI Support page. Closing as this is not relevant for this github page context,


Phantomjs 2.0 crashed

Im using Phantomjs 2.0 and I can't find any symbol file for it ,so I chose 1.98 version for crash report.
I posted the attach file at:
https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!topic/phantomjs/FRT_PpQZZAU
Anyone can help me?

You can't use symbol files from different version. You'll get completely wrong stack trace info.

@Vitallium
But the official website didn't provide the latest symbol file of the 2.0 version,so I tried the 1.98version

@soulrenger Yeah, we know the symbol files are missing, we're working on it.  That doesn't change the fact that the 1.98 symbol file will produce a completely meaningless stack trace if applied to a 2.0 crash dump.
It would actually be more helpful if you could provide a test case - ideally, a self-contained single .js file that, when run, produces the bug.  You can use the WebServer module to serve HTML snippets to localhost.

Hello!
You have a new message, please read http://myphamchatluong.info/proposed.php?gu2oo
<EMAIL_ADDRESS>


display model specifications in model info popup

I also think it's important (for us non-computer folks) to be clear that the model can't identify not-X (as in, it will always ID to one of the species in the model, however low the %. If the species you are trying to identify isn't within the model, it can't tell you that.

No longer will display in a popup, info will be shown when selecting another model. #39


Support passing contextPath parameter to Nacos client

[x] I have registered the PR changes.

Ⅰ. Describe what this PR did
Support passing contextPath parameter to Nacos client
Ⅱ. Does this pull request fix one issue?

fixes #5110 #5012
Ⅲ. Why don't you add test cases (unit test/integration test)?
I provided  some screenshots of the test
Ⅳ. Describe how to verify it
Use nacos as discovery center and config center,and set the value of contextPath.
Ⅴ. Special notes for reviews

https://github.com/seata/seata/blob/develop/server/src/main/resources/application.example.yml

done

Codecov Report

Merging #5111 (6ec0f42) into develop (3e5af28) will decrease coverage by 0.01%.
The diff coverage is 25.00%.

:exclamation: Current head 6ec0f42 differs from pull request most recent head a7f0967. Consider uploading reports for the commit a7f0967 to get more accurate results

@@              Coverage Diff              @@
##             develop    #5111      +/-   ##
=============================================
- Coverage      49.35%   49.33%   -0.02%
+ Complexity      4145     4143       -2
=============================================
  Files            737      737
  Lines          26190    26198       +8
  Branches        3232     3232
=============================================
+ Hits           12925    12926       +1
- Misses         11881    11887       +6
- Partials        1384     1385       +1

Impacted Files
Coverage Δ

...igure/properties/config/ConfigNacosProperties.java
58.33% <25.00%> (-4.17%)
:arrow_down:

...e/properties/registry/RegistryNacosProperties.java
42.22% <25.00%> (-1.69%)
:arrow_down:

...erver/storage/file/session/FileSessionManager.java
49.04% <0.00%> (-0.64%)
:arrow_down:


Remove the bench-test-full-crypto-feature GHA & GitLab jobs

As per the discussion on Matrix, the experiment is over.

What is about the gha job?

Done.


remove echo test job

I don't see how is this useful and it just filling up the reports screen so removing for now and for checking real prow components status can revisit again.
Signed-off-by: Krasi Georgiev<EMAIL_ADDRESS>

:+1:


Support for multiple middle-wares

When tried to use multiple middle-wares with a query it failed with the errors below.
/Users/user/Desktop/example/node_modules/graphql-middleware/dist/validation.js:20
                    throw new MiddlewareError(`Expected ${type}.${field} to be a function but found ` +
                    ^

MiddlewareError: Expected Query.secured to be a function but found object
    at /Users/user/Desktop/example/node_modules/graphql-middleware/dist/validation.js:20:27
    at Array.forEach (<anonymous>)
    at /Users/user/Desktop/example/node_modules/graphql-middleware/dist/validation.js:15:43
    at Array.forEach (<anonymous>)
    at Object.validateMiddleware (/Users/user/Desktop/example/node_modules/graphql-middleware/dist/validation.js:9:29)
    at addMiddlewareToSchema (/Users/user/Desktop/example/node_modules/graphql-middleware/dist/middleware.js:19:42)
    at normalisedMiddlewares.reduceRight.schema.schema (/Users/user/Desktop/example/node_modules/graphql-middleware/dist/middleware.js:52:87)
    at Array.reduceRight (<anonymous>)
    at applyMiddlewareWithOptions (/Users/user/Desktop/example/node_modules/graphql-middleware/dist/middleware.js:51:79)
    at applyMiddleware (/Users/user/Desktop/example/node_modules/graphql-middleware/dist/middleware.js:78:12)

const {
    GraphQLServer
} = require('graphql-yoga')

const typeDefs = `
  type Query {
    open: String!
    secured: String!
    me: Me!
  }

  type Me {
    name: String!
    surname: String!
    age: Int!
  }
`

const code = 'supersecret'
const isLoggedIn = async (resolve, parent, args, ctx, info) => {
    // Include your agent code as Authorization: <token> header.
    const permit = ctx.request.get('Authorization') === code

    if (!permit) {
        throw new Error(`Not authorised!`)
    }

    return resolve()
}

+ const log = async (resolve, parent, args, ctx, info) => {
+     console.log('Aqwertyuiop');
+     return resolve()
+ }

const resolvers = {
    Query: {
        open: () => `Open data, everyone's welcome!`,
        secured: () => `Personal diary - this is for my eyes only!`,
        me: () => ({}),
    },
    Me: {
        name: () => 'Ben',
        surname: () => 'Cool',
        age: () => 18,
    },
}

// Middleware - Permissions

const permissions = {
    Query: {
+        secured: [log, isLoggedIn],
-        secured: isLoggedIn,
    },
    Me: isLoggedIn,
}

// Server

const server = new GraphQLServer({
    typeDefs,
    resolvers,
    context: req => ({
        ...req
    }),
    middlewares: [permissions],
})

server.start(() => console.log('Server is running on http://localhost:4000'))

Is there any support for multiple middle-wares?
There can be an utility function or in-build support for multiple middleware.

This can be easily solved by an utility function
const combineMiddlewares = (...middlewares) => async (resolve, parent, args, ctx, info) => {
    if (middlewares.length === 0) return resolve();
    const middleware = middlewares.pop();
    const next = () => combineMiddlewares(...middlewares)(resolve, parent, args, ctx, info);
    return await middleware(next, parent, args, ctx, info);
}

So, now it works
const permissions = {
    Query: {
        secured: combineMiddlewares (log, isLoggedIn),
        secured: isLoggedIn,
    },
    Me: isLoggedIn,
}

Sorry, I realised that this is wrong repo for this issue. Closing this here.


Resource apstra_configlet uses the wrong doc category

Should be docCategoryDesign
https://github.com/Juniper/terraform-provider-apstra/blob/4a303b059066967d222f331c5fe8055d22b85295/apstra/resource_configlet.go#L34C29-L34C29

Closed by #495


Add Ruby 3.0 to CI build

Draper merged support for Ruby 3 kwargs a few months ago, so I added it to the CI build, along with a couple related housekeeping changes.
Fixes #970 #981 #988
The build is failing for Rails 4.2, but that is due to the last PR that was merged in so I'll create a separate issue for that.

i should also mention that I've been running Ruby 3 all year with no issues using the development version of Draper containing the code in the most recent release. Ruby 3 support is assured at this point.


Update utils.lua

This update should fix #9

Just added your fix to my local... it works. Thank you :)


Adding header file core/method_bind_ext.gen.inc enables more than 5 parameters?

Without much c++ knowledge and Godot-module development, I noticed this comment:
https://github.com/Gramps/GodotSteam/blob/c55f8aced864da7624566ef44ce45484a94e2a7e/godotsteam/godotsteam.cpp#L4553
Could this be the explanation?
"There is a parameter limit of 5 in C++ modules for things such as subclasses. This can be raised to 13 by including the header file core/method_bind_ext.gen.inc."
https://docs.godotengine.org/en/stable/development/cpp/custom_modules_in_cpp.html

@easypeet yes, I think #include "core/method_bind_ext.gen.inc" in GodotSteam/godotsteam/godotsteam.cpp should fix it, unless there's some specific reason why it cannot be done.

@easypeet Oh man!  Thank you so much!  I've been trying to find that for a long time now but oddly had no success doing various searches; surprisingly things like "more than 5 arguments" or "argument limit in c++ module" didn't find this.  I don't know how I didn't find it in the docs.
@Xrayez I think that should work.  I'll implement it for the next update which means I have a whole lot of other fixes I can include now.
Thanks again!

I've been trying to find that for a long time now but oddly had no success doing various searches

@Gramps perhaps it simply wasn't documented back in the days, I recall stumbling upon the same limitation. I've actually asked Godot core devs to increase the limit at least by 1 in godotengine/godot-proposals#1229, but no success. 😛

It must not have been.  I can't remember where I saw it; I want to say a Github issue.  I'm not sure why this limit isn't much higher by default instead of having to include this file, but it's all good.  I can work with this.

@Gramps Glad to help :)

OK, the file is now included in the godotsteam.h and everything is good to go!  Thanks again for the help!


Failed to initialize NVML: Driver/library version mismatch

I have this driver's version installed on the host :
[root@ops-k1n01g ~]# nvidia-smi
Mon Dec 19 10:43:16 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.48.07    Driver Version: 515.48.07    CUDA Version: 11.7

And when installing it via the script, it doesn't prompt any error but when opening the terminal and typing
moscardo@jupyter-moscardo:/$ nvidia-smi
Failed to initialize NVML: Driver/library version mismatch

moscardo@jupyter-moscardo:/$ uname -m && cat /etc/*release
x86_64
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

moscardo@jupyter-moscardo:/$ gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

looks like I had the cuda installed from OS package and conda at the same time, removing os packages would work


script

When I download the dataset, I have some trouble in finding script_pick_annotations.py. Anyone who meets the same problem?

Please check if script_pick_annotations.py is in your ROOT/Data/v-coco/ path. If not, you can go to https://github.com/s-gupta/v-coco to download it.


change the link to consensus.py to right one

fix issue https://github.com/bigchaindb/bigchaindb/issues/1069

Current coverage is 96.75% (diff: 100%)

Merging #1070 into master will not change coverage

@@             master      #1070   diff @@
==========================================
  Files            48         48
  Lines          2128       2128
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2059       2059
  Misses           69         69
  Partials          0          0

Powered by Codecov. Last update 3344fdf...ef4bc69


AspNetCore Identity Custom Storage Provider Inquiry

Quoting the docs:

Customize the user class
When implementing a storage provider, create a user class which is equivalent to the IdentityUser class.
At a minimum, your user class must include an Id and a UserName property.
The IdentityUser class defines the properties that the UserManager calls when performing requested operations. The default type of the Id property is a string, but you can inherit from IdentityUser<TKey, TUserClaim, TUserRole, TUserLogin, TUserToken> and specify a different type. The framework expects the storage implementation to handle data type conversions.

My inquiry:
When implementing a user class, are there any AspNetCore functionalities that require the naming of the properties in my custom ApplicationUser class to be the same as in the IdentityUser class? Since I am implementing a custom UserStore:IUserStore<ApplicationUser> and thus providing custom getters and setters.. like
 GetNormalizedEmailAsync(ApplicationUser user, CancellationToken cancellationToken)
or
GetUserIdAsync(ApplicationUser user, CancellationToken cancellationToken))
... My properties in ApplicationUser don't have to conform to any other naming besides the properties of IdentityUser, right?
Apologies for the confusion.
Thanks for any insight.

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

ID: 54b3ef64-9e17-3aab-0b75-57726d906cb6
Version Independent ID: 8152896e-6969-d992-4877-6d6bbf4772a3
Content: Custom storage providers for ASP.NET Core Identity
Content Source: aspnetcore/security/authentication/identity-custom-storage-providers.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @ardalis
Microsoft Alias: riande

My properties in ApplicationUser don't have to conform to any other naming besides the properties of IdentityUser, right?

Correct


Trello ticket 622 - UX Refactor | Update Breadcrumb appearance

https://trello.com/c/YTGvnrfP

 UX Refactor | Update Breadcrumb appearance |1| [v0.3.0]


MIDIINCAPS szPname problem

Hi,
When I get a midiIn device properties using the midiInGetDevCaps function, szPname randomly comes back with extra characters at the end like the following:
Keystation 61 MK3Ǿ㧡搪Ǿ㨡搪Ǿ㩡搪Ǿ
MIDIIN2 (Keystation 61 MK3)콱掣Ǿ
However when I change the szPname function in structs.g.dart like the following, it comes back properly all the times:
  String get szPname {
    final charCodes = <int>[];
    for (var i = 0; i < 32; i++) {
      charCodes.add(_szPname[i]);
      if (_szPname[i] == 0) break; //added this line
    }
    return String.fromCharCodes(charCodes);
  }

If this is the right way of fixing it, can you please fix the szPname functions in structs.g.dart?

What a great catch! I think I've fixed this in the above commit (along with tests to make sure it doesn't regress). Thank you!


Add Broker APB source to project

Currently, the broker-apb and the broker are loosely coupled. They are not specifically tied together, except the broker-apb using latest by default. In the future, we want a couple of things for our broker and broker-apb:

Test the broker using the broker-apb in CI (also testing the broker-apb provision/deprovision)
Have a means to build a broker-apb that can reliably provision/deprovision a specific version of the broker

Allowing the broker-apb source to live with the broker project gives us more flexibility going forward as changes are introduced to either 1) the way the broker is deployed (CRDs as a recent example) 2) the broker itself.
Fixes: #912 #931

Here is the run after doing make deploy. I don't think this EXIT_CODE line is correct:
EXIT_CODE=$(${CMD} get pod -n ${APB_NAME} "${APB_NAME}" -o go-template="{{ range .status.containerStatuses }}{{.state.terminated.exitCode}}{{ end }}")

Here is the output of make deploy
[jesusr@speed3 ansible-service-broker{djzager-add-apb}]$ make deploy
env GOOS=linux go build -i -ldflags="-s -s" -o "/home/jesusr/dev/src/github.com/openshift/ansible-service-broker/build"/broker ./cmd/broker
env GOOS=linux go build -i -ldflags="-s -s" -o "/home/jesusr/dev/src/github.com/openshift/ansible-service-broker/build"/migration ./cmd/migration
env GOOS=linux go build -i -ldflags="-s -s" -o "/home/jesusr/dev/src/github.com/openshift/ansible-service-broker/build"/dashboard-redirector ./cmd/dashboard-redirector
docker build -f "/home/jesusr/dev/src/github.com/openshift/ansible-service-broker/build"/Dockerfile-localdev -t docker.io/ansibleplaybookbundle/origin-ansible-service-broker:latest "/home/jesusr/dev/src/github.c
om/openshift/ansible-service-broker/build"
Sending build context to Docker daemon 90.01 MB
Step 1/15 : FROM centos:7
 ---> e934aafc2206
Step 2/15 : MAINTAINER Ansible Service Broker Community
 ---> Using cache
 ---> 2de87dd187a6
Step 3/15 : ENV USER_NAME ansibleservicebroker USER_UID 1001 BASE_DIR /opt/ansibleservicebroker
 ---> Using cache
 ---> 138ad5341aa3
Step 4/15 : ENV HOME ${BASE_DIR}
 ---> Using cache
 ---> d2e884286852
Step 5/15 : RUN mkdir -p ${BASE_DIR} ${BASE_DIR}/etc  && useradd -u ${USER_UID} -r -g 0 -M -d ${BASE_DIR} -b ${BASE_DIR} -s /sbin/nologin -c "ansibleservicebroker user" ${USER_NAME}  && chown -R ${USER_NAME}:0 $
{BASE_DIR}  && chmod -R g+rw ${BASE_DIR} /etc/passwd
 ---> Using cache
 ---> ccd3a4270e2f
Step 6/15 : RUN yum -y update  && yum -y install epel-release centos-release-openshift-origin  && yum -y install origin-clients net-tools bind-utils  && yum clean all
 ---> Using cache
 ---> 45d5a615ab45
Step 7/15 : RUN mkdir /var/log/ansible-service-broker     && touch /var/log/ansible-service-broker/asb.log     && mkdir /etc/ansible-service-broker
 ---> Using cache
 ---> 72a86a407603
Step 8/15 : COPY entrypoint.sh /usr/bin/
 ---> Using cache
 ---> 78ad4d458a1c
Step 9/15 : COPY broker /usr/bin/asbd
 ---> Using cache
 ---> fbca146f90b3
Step 10/15 : COPY migration /usr/bin/migration
 ---> Using cache
 ---> 23514e020eac
Step 11/15 : COPY dashboard-redirector /usr/bin/dashboard-redirector
 ---> Using cache
 ---> 262eefedbad2
Step 12/15 : RUN chown -R ${USER_NAME}:0 /var/log/ansible-service-broker  && chown -R ${USER_NAME}:0 /etc/ansible-service-broker  && chmod -R g+rw /var/log/ansible-service-broker /etc/ansible-service-broker
 ---> Using cache
 ---> 135c05ee30ae
Step 13/15 : USER ${USER_UID}
 ---> Using cache
 ---> e16e0c7b2a8b
Step 14/15 : RUN sed "s@${USER_NAME}:x:${USER_UID}:@${USER_NAME}:x:\${USER_ID}:@g" /etc/passwd > ${BASE_DIR}/etc/passwd.template
 ---> Using cache
 ---> 4b1468a790dd
Step 15/15 : ENTRYPOINT entrypoint.sh
 ---> Using cache
 ---> d0aef343fdbe
Successfully built d0aef343fdbe

Remember you need to push your image before calling make deploy
    docker push docker.io/ansibleplaybookbundle/origin-ansible-service-broker:latest
docker build -f apb/Dockerfile -t docker.io/ansibleplaybookbundle/automation-broker-apb:latest apb
Sending build context to Docker daemon 69.63 kB
Step 1/7 : FROM ansibleplaybookbundle/apb-base:canary
 ---> fba19a3f7e67
Step 2/7 : LABEL "com.redhat.apb.spec" "LS0tCnZlcnNpb246IDEuMApuYW1lOiBhdXRvbWF0aW9uLWJyb2tlci1hcGIKZGVzY3JpcHRpb246IGRlcGxveXMgYXV0b21hdGlvbiBicm9rZXIgZm9yIHRoZSBzZXJ2aWNlLWNhdGFsb2cKYmluZGFibGU6ICJGYWxzZSIKYXN
5bmM6IG9wdGlvbmFsCm1ldGFkYXRhOgogIGRpc3BsYXlOYW1lOiBBdXRvbWF0aW9uIEJyb2tlciAoQVBCKQogIGxvbmdEZXNjcmlwdGlvbjoKICAgIEFuIEFQQiBmb3IgbWFuYWdpbmcgdGhlIGF1dG9tYXRpb24gYnJva2VyIGluIGEgY2x1c3RlcgogIGRlcGVuZGVuY2llczogW1
0KICBwcm92aWRlckRpc3BsYXlOYW1lOiAiUmVkIEhhdCwgSW5jLiIKcGxhbnM6CiAgLSBuYW1lOiBtYWluCiAgICBkZXNjcmlwdGlvbjogTWFuYWdlIHRoZSBhdXRvbWF0aW9uIGJyb2tlciBpbiBhIGNsdXN0ZXIKICAgIGZyZWU6ICJUcnVlIgogICAgbWV0YWRhdGE6CiAgICAgI
GRpc3BsYXlOYW1lOiBEZWZhdWx0CiAgICAgIGxvbmdEZXNjcmlwdGlvbjoKICAgICAgICBUaGlzIHBsYW4gZGVwbG95cyB0aGUgYXV0b21hdGlvbiBicm9rZXIKICAgICAgY29zdDogJDAuMDAKICAgIHBhcmFtZXRlcnM6CiAgICAgIC0gbmFtZTogYnJva2VyX25hbWUKICAgICAg
ICB0aXRsZTogTmFtZSBvZiB0aGUgYnJva2VyCiAgICAgICAgdHlwZTogc3RyaW5nCiAgICAgICAgZGVmYXVsdDogYXV0b21hdGlvbi1icm9rZXIKICAgICAgLSBuYW1lOiBicm9rZXJfbmFtZXNwYWNlCiAgICAgICAgdGl0bGU6IE5hbWVzcGFjZSBvZiB0aGUgYnJva2VyCiAgICA
gICAgdHlwZTogc3RyaW5nCiAgICAgICAgZGVmYXVsdDogYXV0b21hdGlvbi1icm9rZXIKICAgICAgLSBuYW1lOiBicm9rZXJfaW1hZ2UKICAgICAgICB0aXRsZTogQ29udGFpbmVyIGltYWdlIGZvciB0aGUgYnJva2VyCiAgICAgICAgdHlwZTogc3RyaW5nCiAgICAgICAgZGVmYX
VsdDogYW5zaWJsZXBsYXlib29rYnVuZGxlL29yaWdpbi1hbnNpYmxlLXNlcnZpY2UtYnJva2VyOmxhdGVzdAo="
 ---> Using cache
 ---> dacf8ae83496
Step 3/7 : ADD playbooks /opt/apb/actions
 ---> Using cache
 ---> 6b769c22b717
Step 4/7 : ADD . /opt/ansible/roles/automation-broker-apb
 ---> Using cache
 ---> d57095915eb6
Step 5/7 : RUN yum -y install epel-release openssl && yum clean all
 ---> Using cache
 ---> 4585c2ee7d77
Step 6/7 : RUN chmod -R g=u /opt/{ansible,apb}
 ---> Using cache
 ---> 8c91047a8478
Step 7/7 : USER apb
 ---> Using cache
 ---> 5c5f20c9830f
Successfully built 5c5f20c9830f
APB_IMAGE=docker.io/ansibleplaybookbundle/automation-broker-apb:latest BROKER_IMAGE=docker.io/ansibleplaybookbundle/origin-ansible-service-broker:latest ACTION="provision" ./scripts/deploy.sh
/home/jesusr/bin/kubectl
---
apiVersion: v1
kind: Namespace
metadata:
  name: automation-broker-apb

---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: automation-broker-apb
  namespace: automation-broker-apb

---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
  name: automation-broker-apb
roleRef:
  name: cluster-admin
  kind: ClusterRole
  apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
  name: automation-broker-apb
  namespace: automation-broker-apb

---
apiVersion: v1
kind: Pod
metadata:
  name: automation-broker-apb
  namespace: automation-broker-apb
spec:
  serviceAccount: automation-broker-apb
  containers:
    - name: apb
      image: docker.io/ansibleplaybookbundle/automation-broker-apb:latest
      args: [ "provision", "-e create_broker_namespace=true", "-e wait_for_broker=true", "-e broker_image=docker.io/ansibleplaybookbundle/origin-ansible-service-broker:latest" ]
      imagePullPolicy: IfNotPresent
  restartPolicy: Never
namespace "automation-broker-apb" created
serviceaccount "automation-broker-apb" created
clusterrolebinding "automation-broker-apb" created
pod "automation-broker-apb" created
PLAY [automation-broker-apb provision] *****************************************
TASK [automation-broker-apb : Determine cluster type] **************************
changed: [localhost]
TASK [automation-broker-apb : Set facts] ***************************************
ok: [localhost]
TASK [automation-broker-apb : Check for service catalog] ***********************
changed: [localhost]
TASK [automation-broker-apb : Fail if service-catalog not installed] ***********
skipping: [localhost]
TASK [automation-broker-apb : Set broker namespace state=present] **************
changed: [localhost]
TASK [automation-broker-apb : Get the broker namespace] ************************
ok: [localhost]
TASK [automation-broker-apb : Set broker objects state=present] ****************
changed: [localhost] => (item=broker.service.yaml)
changed: [localhost] => (item=broker.serviceaccount.yaml)
changed: [localhost] => (item=broker.clusterrolebinding.yaml)
changed: [localhost] => (item=broker.configmap.yaml)
changed: [localhost] => (item=broker-auth.clusterrole.yaml)
changed: [localhost] => (item=broker-auth.clusterrolebinding.yaml)
changed: [localhost] => (item=broker-client.serviceaccount.yaml)
changed: [localhost] => (item=broker-client.secret.yaml)
changed: [localhost] => (item=broker-client.clusterrolebinding.yaml)
changed: [localhost] => (item=broker-access.clusterrole.yaml)
TASK [automation-broker-apb : Broker auth secret state=present] ****************
skipping: [localhost]
TASK [automation-broker-apb : include_tasks] ***********************************
included: /opt/ansible/roles/automation-broker-apb/tasks/dao_crd.yaml for localhost
TASK [automation-broker-apb : Use kubectl to create cluster resource definitions] ***
changed: [localhost] => (item=bundle.crd.yaml)
changed: [localhost] => (item=bundlebindings.crd.yaml)
changed: [localhost] => (item=bundleinstances.crd.yaml)
TASK [automation-broker-apb : include_tasks] ***********************************
included: /opt/ansible/roles/automation-broker-apb/tasks/generate_certificate.yaml for localhost
TASK [automation-broker-apb : Create directory for cert] ***********************
skipping: [localhost]
TASK [automation-broker-apb : Create cert] *************************************
skipping: [localhost]
TASK [automation-broker-apb : Create tls secret] *******************************
skipping: [localhost]
TASK [automation-broker-apb : Register certificate related facts for broker] ***
skipping: [localhost]
TASK [automation-broker-apb : Get the cluster ca] ******************************
changed: [localhost]
TASK [automation-broker-apb : Register certificate related facts for broker] ***
ok: [localhost]
TASK [automation-broker-apb : Set broker_client_secret fact] *******************
ok: [localhost]
TASK [automation-broker-apb : Set broker deployment object state=present] ******
changed: [localhost]
TASK [automation-broker-apb : Set route state=present] *************************
changed: [localhost]
TASK [automation-broker-apb : Template out cluster service broker object] ******
changed: [localhost]
TASK [automation-broker-apb : Use kubectl to create cluster service broker object] ***
changed: [localhost]
TASK [automation-broker-apb : Wait for clusterservicebroker to become available] ***
FAILED - RETRYING: Wait for clusterservicebroker to become available (60 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (59 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (58 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (57 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (56 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (55 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (54 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (53 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (52 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (51 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (50 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (49 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (48 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (47 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (46 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (45 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (44 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (43 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (42 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (41 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (40 retries left).
FAILED - RETRYING: Wait for clusterservicebroker to become available (39 retries left).
changed: [localhost]
PLAY RECAP *********************************************************************
localhost                  : ok=17   changed=11   unreachable=0    failed=0
namespace "automation-broker-apb" deleted
serviceaccount "automation-broker-apb" deleted
clusterrolebinding "automation-broker-apb" deleted
pod "automation-broker-apb" deleted
./scripts/deploy.sh: line 28: exit: <no: numeric argument required
make: *** [Makefile:101: deploy] Error 2

This is how I brought up my cluster using these commands in a simpleup script:
#oc cluster up  --enable=service-catalog,router,registry,web-console,persistent-volumes
oc cluster up --routing-suffix=<IP_ADDRESS>.nip.io --public-hostname=<IP_ADDRESS> --base-dir=/tmp/openshift.local.clusterup --tag=latest --image=docker.io/openshift/origin-\${component}:\${version} --enable=service-catalog,template-service-broker,router,registry,web-console,persistent-volumes,sample-templates,rhel-imagestreams
oc login -u system:admin
oc new-project ansible-service-broker
#cat template-sample-broker.yaml | oc process -n samplebroker -f - | oc create -f -

Nevermind. I was able to recreate. working on a fix.

 Update broker-apb with dashboard-redirector


Automate creation of docs site with CI

So people don't have to generate docs themselves.

Progess so far

[x] update CI in template
[ ] Update Tutorial / setup instructions for github pages
[ ] Test


Tail Call Optimization

Implements tail call optimization in codegen
InlineJoin will now inline when the continuation for a call or select is "trivial". That is the continuation only returns its arguments in the same order as they were passed or jumps to another trivial funclet, passing to the target the callers' input arguments. All other joins are serialized.
As before, it is expected that a funclet only has at most one InlineJoin and that is the join for the tail edge. No such assumption is used for serialized joins.
Serialized join always serializes

I want to talk about the semantics tomorrow before we merge.  The code looks fine to me though

I want to talk about the semantics tomorrow before we merge. The code looks fine to me though

Resolved by our earlier discussion, there is an assert that pending_inline_join.is_none() which will go off if there are multiple inline joins in a single funclet


Provable Authn Error at brave broswer

I use brave 1.34.80, when selecting an account, show this error and can't read the state from the emulator.
But chrome 97 has no problem.
Error below
 Error: INVARIANT Encode Message From Provable Authn Error: timestamp must be defined
    at Object.exports.invariant (/app/node_modules/@onflow/util-invariant/dist/util-invariant.js:1:48)
    at Object.encodeMessageForProvableAuthnSigning (/app/node_modules/@onflow/fcl/dist/fcl.js:1:35985)
    at __WEBPACK_DEFAULT_EXPORT__ (/app/.next/server/pages/api/prove-authn.js:71:170)
    at Object.apiResolver (/app/node_modules/next/dist/server/api-utils.js:102:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Server.handleApiRequest (/app/node_modules/next/dist/server/next-server.js:1064:9)
    at async Object.fn (/app/node_modules/next/dist/server/next-server.js:951:37)
    at async Router.execute (/app/node_modules/next/dist/server/router.js:222:32)
    at async Server.run (/app/node_modules/next/dist/server/next-server.js:1135:29)
    at async Server.handleRequest (/app/node_modules/next/dist/server/next-server.js:325:20)

I wasn't able to replicate using Brave 1.34.80.
What version of FCL are you using in your app?

I wasn't able to replicate using Brave 1.34.80. What version of FCL are you using in your app?

<EMAIL_ADDRESS>

Had the same issue in firefox 96 and chromium 97.0.4692.99. Fore some reason, fcl did not add a timestamp to the body of the POST request to /api/prove-authn.
Upgarding to<EMAIL_ADDRESS>solved the issue for me.


feat: InteractionsLoader implementation for redstone-sw-gateway

Implement InteractionsLoader interface using the redstone gateway (https://github.com/redstone-finance/redstone-sw-gateway) REST API.
Constructor params:

base url (currently https://d1o5nlqr4okus2.cloudfront.net/)
[optional param] skipOrphans (default false - to be backwards compatible with current behaviour - we'll ofc. encourage projects to switch this to "true" - and maybe at some point set "true" as default).

Implementation:

Rename ContractInteractionsLoader to ArweaveGatewayInteractionsLoader
New class should be named RedstoneGatewayInteractionsLoader
use interactions gw endpoint - eg. <baseUrl>/gateway/interactions?contractId=<contractId>&from=<fromBlockHeight>&to=<toBlockHeight>&page=<current_page>
if skipOrphans is set, add param confirmationStatus=confirmed
interactions are loaded in pages - max. paging.limit per page. Use paging object from the response to iterate over pages.

{"paging":{"total":"9796","limit":500,"items":500,"page":1,"pages":20}

implement in a separate branch asiaziola/redstone-gateway
unit tests - Jest framework, mock the API responses.
regression tests - TBD
SmartWeave instance configuration - TBD

Alternatively the "skipOrphans" could be a part of the EvaluationOptions object - can't decide which one will give better devex...


add support for pip dependencies

I think this would be very useful for this tool (we'd be able to cover major package managers for JS, Java and Python if we do this and Maven) + it'd give a larger scope and project pool to the thesis' experiments

Sounds great!


Error when the parameter name conatins -

Seeing following error while invoke-plaster:
VERBOSE: Performing the operation "Expand template file" on target "temp file for 'ReadMe.md'".
Invoke-Plaster : Exception calling "Replace" with "4" argument(s): "PowerShell expression failed execution. Location:
templateFile 'src\ReadMe.md.txt'. Error: The expression '$PLASTER_PARAM_repo-name' is invalid or threw an exception.
Error: Exception calling "Invoke" with "0" argument(s): "At line:1 char:20
+ $PLASTER_PARAM_repo-name
+                    ~~~~~
Unexpected token '-name' in expression or statement.""
At line:1 char:1
+ Invoke-Plaster -TemplatePath .\z_PipelineTemplate\ -DestinationPath t ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Invoke-Plaster], MethodInvocationException
    + FullyQualifiedErrorId : RuntimeException,Invoke-Plaster

Looks like caused by the parameter name has -.
It works fine without -.
Eg: what's in the plasterManifest.xml,
  <parameters>
    <parameter name = 'Pipeline_repo-name'  type = 'text'  prompt = 'the name the repo'></parameter>
  </parameters>

Thanks!

The value of the parameter name must be a valid PowerShell parameter name.  Not sure that this worth changing.  We could look at making the schema limit the characters allowed in the name attribute's value.  Then you would get an error that the manifest is not valid and it should point out that the name attribute has a value that violates the schema.

Ah that makes sense. Thanks a bunch for the quick update.
Would be great to get the error during the schema validation.  👍


fix: prevent content section shrinking on page change

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 62.903%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1255

Relevant Lines:
1741

💛  - Coveralls


loss become Nan without Fsdp

I delete the code “model.prepare_for_distributed_training()  ” in dinov2/train.train.py
then  my loss become Nan after I train this model after only 1 iter.
I don't know why， I just changed an operation regarding distributed training😣
please help me if you know the reason, thanks a lot!!!

If your batch size is 1 you might get a Nan loss because of the koleo loss used in the dino training, which is calculated using the smallest Euclidian distance between samples inside the batch to encourage a uniform span of the features within the batch.
If you can't increase the batch size you can try setting koleo_loss_weight=0, or adding an exception to the code where the koleo loss is calculated.


Changed how validate work, also added required validator

Adds more tests
Fixes a problem when validation objects and they were empty
Made it possible to return a string when something is invalid for better feedback
Made the default validate function log the error and exit the process, the old behavior is under a new function

Kudos for tests :) Just some minor stuff with naming things.


Fixed file checkpointing tests and added crate tests to CI

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (64923fc) 90.25% compared to head (8ed3b25) 90.32%.
Report is 2 commits behind head on main.

Files
Patch %
Lines

argmin/src/core/executor.rs
92.72%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #396      +/-   ##
==========================================
+ Coverage   90.25%   90.32%   +0.06%
==========================================
  Files         141      141
  Lines       19869    19915      +46
==========================================
+ Hits        17933    17988      +55
+ Misses       1936     1927       -9

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


Handle touchcancel

In the current code, for filtered touches, if a touch is started and the the touchcancel event is fired by the browser (very easy to do by just opening the top and bottom menus in iOS), no touchend event will be fired (only tested on iOS 8). Since no touchend is fired, the filtered touch will not be cleared and the touchstart logic will not take place when the user touches again. This pull changes the code such that touchcancel acts functionally as a touchend event.

thanks for the PR! :+1:

pushed to 1.1.3


Add prepared_stmt_count metrics to mysql integration

What does this PR do?

Add following metrics:

mysql.performance.prepared_stmt_count
mysql.performance.max_prepared_stmt_count

Motivation

mysql.performance.prepared_stmt_count is to get the current number of prepared statements.
https://dev.mysql.com/doc/refman/8.0/en/server-status-variables.html#statvar_Prepared_stmt_count
mysql.performance.prepared_stmt_count is to get the total number of prepared statements in the server.
https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_prepared_stmt_count
Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

@justiniso
I appreciate your review!

let me know if there was a reason you went with COUNTs.

I set it as COUNT by getting from the name of metric(prepared stmt "count") since I actually was not sure how to decide a metric type. Now, I understand why I should've set it as GAUGEs.

Thanks @kei6u, I went ahead and merged this. You can expect it to go out in agent version 7.35.0.


subclass Query with a class that retries queries

test plan?

how should we test this?
I can write a dag that fails to test that retries don't occur for the failed task.
I can tune the timeouts and "see what happens".
I can write a unit test... maybe? I'm not sure what one would even look like.
do you have any thoughts on an effective test strategy here?

Another test:
up the retry count and nuke the postgres pod during a test dag run.

Went through and made sure the code lined up with the feedback here and with the comments in default_airflow.cfg


Added links to user docs inside About popup

Summary of the Pull Request
Added links to "Getting Started", "Documentation", and "Release Notes" in the About section.

References
#1576

PR Checklist

[x] Closes #1576
[x] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed
Clicked the links and they all work.
TODO
The hover color is too dark to read when using dark theme.

Should we make those link not selectable?

OK Kayla didn't move the last URI. But I did. And if the CI is good, then this is good. So automerge.


Adds updatePhoneNumber method to Android SDK

I think there might be some update in the response type, make sure you test it again after the feature is merged. Thx a ton 🙏


MFW extremes

Michael F. Wehner? 😉

@mfwehner your name may have been raised here

Yes, I'll be putting MFW's code in here for us to chip away at.   We'll get him in the loop!

@mfwehner see updated code with print statements to track down error:
https://github.com/PCMDI/pcmdi_metrics/blob/534_pjg_mfw_extremes/src/python/devel/extremes/scripts/driver_extrema_longrun_pentad.py
Compare with execution below ... I suspect the slab.shape should be ~365 but its the entire timeseries...
(pmp_0808_py2.7) bash-4.1$ python -i driver_extrema_longrun_pentad.py
starting annual y1 y2 and time.shape  61   205   (145,)
t1 and t2 beg end  53288.5   53289.5   53288.5   53289.5
b e tim[b] and tim[e]  0   -1   0.5   53289.5
time to read year and slab shape  61.3138439655   (53290, 90, 144)
before while ii<ndays

On Sep 10, 2018, at 4:35 PM, gleckler1<EMAIL_ADDRESS>wrote:
Compare with execution below ... I suspect the slab.shape should be ~365 but its the entire timeseries...

Yes, let me take a look. But I have some python execution problems of my own at NERSC. I think a lib changed and I don’t believe anything…
m
Michael Wehner
<EMAIL_ADDRESS>https://crd.lbl.gov/departments/computational-science/ccmc/staff/staff-members/michael-wehner/

Senior Staff Scientist, Lawrence Berkeley National Laboratory

US DOE Policy 411.2A: When expressing opinions on policy matters to the public and media, research personnel must make it clear when they are expressing their personal views, rather than those of the Department, the U.S. Government, or their respective institutions. Public representation of Government or DOE positions or policies must be cleared through their program management to include DOE headquarters. In accordance with this policy, any material in this email should be considered the opinion of the sender and not necessarily that of the US Dept. of Energy, the University of California or the Lawrence Berkeley National Laboratory.


e2e fix: SpiderSubnet and SpiderIPPool resource subnet overlap.

Thanks for contributing!

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #2832
Special notes for your reviewer:

good


Coordinate searches returning the wrong objects

As described in https://github.com/astrocatalogs/supernovae/issues/140.

Bug should now be fixed in https://github.com/astrocatalogs/OACAPI/commit/4b22f17edfdc9ae1adbc6a3f2de005e5736de80d, had not cleared a names array between reloads, causing a column mismatch. CC @rrgupta.


Update vpn-gateway-vnet-vnet-rm-ps.md

Missing "-Name $GWIPconfName5 -Subnet $subnet5 -PublicIpAddress $gwpip5" in step 7, $gwipconf5 line.   Fails without this.

Hi @gnomehole, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@cherylmc - Could you review this proposed update from @gnomehole in the public repo?

Looks good. @Tysonn, can you please merge? @gnomehole, Thank you for catching that and letting us know! - Cheryl


CC: Review support ticket analysis and improve CC docs

https://docs.google.com/spreadsheets/d/1_AnptZdld3YCIfgkx35j4_IeU5ElmLNvOkjIjrA9gis/edit?usp=sharing

Confirmed that all actionable CC-related issues have been captured as GH issues.


Domain activation is Failed — "Something went wrong"

App Id: dmm4nahokt30t
Region: us-west-2
Step: Domain activation
Status: Failed
Issue/question

I've tried activate domain for the Amplify deployment, but the activation completed with errors.

SSL creation — success
SSL configuration — success
SSL verification — success
Domain activation — failure
Error message
"Something went wrong. Please refer to our troubleshooting guide below to diagnose the issue. After fixing the issue, choose retry below. If retrying fails, please create an issue in our GitHub issue tracker.
Error message: One or more of the CNAMEs you provided are already associated with a different resource."
Additional information

Retried several times — didn't help.
Went to Route 53, deleted all associaeted CNAMEs, then retried — didn't help.
Deleted all associated buckets for the domain, then retried — didn't help.

I've tried https://docs.aws.amazon.com/amplify/latest/userguide/custom-domain-troubleshoot-guide.html — I don't see my case there.

It seems it was a CloudFront distribution associated with domains.


Remote LSP projects

In some languages (like C, rust,...) you can't have a LSP on single file, you need to find the repo root and then execute some code according to that.
For example in C you need a compile_command.json, and the file contains a lot of absolute paths.
Is it possible to use the remote filesystem for this, or would you need a mirror of the remote repository on the local side just to have the correct file structure ?

So the big issue with LSPs right now is that they are external processes (IE, they live outside the neovim process). This means that netman doesn't have direct control of how the LSPs see the remote filesystem.
Additionally, the underlying file isn't actually presented to external processes. The external processes will see the URI of the file instead of the underlying file name.
This is on my list of stuff to deal with, I just haven't fleshed out a great solution yet. I am absolutely open to ideas though!
Please note though, getting LSPs to play nice is definitely a backlog item. I need to get Async completed (and probably finalize the neo-tree integration) before I feel comfortable looking deeper into this issue.
That said, I am more than happy to accept PRs :)

I suppose I didn't really answer your question, just dumped some general info about why netman and LSPs don't play super great together.
To the actual question, in order to make the LSP scenario described above work, there needs to be some way for the external LSP process to "read" the remote file system. That doesn't necessarily mean the a duplicate of the remote needs to exist locally, just that the process can query a directory like structure that presents itself like the remote structure.
Fuse is a great option for this, and I'm currently exploring how that would look but it's a bit complicated and thus relegated to the backlog for now. Fuse also is a Linux only thing (I assume it works on Mac too so maybe it's a unix thing?) So I'd need to consider an option to work with Windows, as I do eventually want to make this thing work there too.
Anyway the long short, any kind of in-depth LSP stuff is a ways off from functioning with netman:/

Yeah I guessed that LSP was not ready at all, but I wanted to have some clarifications on what would and would not be supported right now

Supported? Nothing at this time.
What can you get working? Single file LSP support (stuff like what python, java, JavaScript, etc provide) probably works but I wouldn't rely on it.
It's on my list :)

Thank you very much for the clarifications! It was not imposing any kinds of expectations, just intersted in the plugin & what I can do with it today!

I didn't read it as such :) If you have further questions, please let me know! I am still working through updating the documentation and I understand it can be a bit daunting looking at it.
I am keeping this issue open as the technical request (Remote LSP Projects) is one that does need addressing eventually. I've added it to the backlog and maybe someday before the heat death of the universe, I will be able to get around to it :)


[multistage] add test for LiteralValueOperator

Super quick and easy test :)

Codecov Report

Merging #9796 (910b2b7) into master (daab972) will decrease coverage by 44.97%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #9796       +/-   ##
=============================================
- Coverage     70.17%   25.20%   -44.98%
+ Complexity     5407       44     -5363
=============================================
  Files          1956     1944       -12
  Lines        104975   104622      -353
  Branches      15892    15854       -38
=============================================
- Hits          73669    26369    -47300
- Misses        26157    75546    +49389
+ Partials       5149     2707     -2442

Flag
Coverage Δ

integration1
25.20% <ø> (-0.08%)
:arrow_down:

integration2
?

unittests1
?

unittests2
?

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

Impacted Files
Coverage Δ

...in/java/org/apache/pinot/spi/utils/BytesUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...java/org/apache/pinot/spi/trace/BaseRecording.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...java/org/apache/pinot/spi/trace/NoOpRecording.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ava/org/apache/pinot/spi/config/table/FSTType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ava/org/apache/pinot/spi/config/user/RoleType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ava/org/apache/pinot/spi/data/MetricFieldSpec.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ava/org/apache/pinot/spi/stream/StreamMessage.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...java/org/apache/pinot/common/tier/TierFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...a/org/apache/pinot/spi/config/table/TableType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../org/apache/pinot/spi/data/DimensionFieldSpec.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 1418 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Using HAML templates

Does anyone know a good solution for including haml into the workflow? Should I generate .mustache from .haml with external compiler? And is it a good idea to mix these templating languages under patternlab?

is there by chance a step-by-step guide that shows how to add haml processing in pattern lab?

@dan-nl -
sorry, not yet. on the list but just haven't had a chance to get to it. life hasn't quite slowed down yet. or when it does it's because i've been sick.

@dmolsen ,
ah, okay. thanks for the quick response. i'll see if i can sort it out and post back here if i find a possible solution. do you have happen to have a preferred version of php haml?

@dan-nl -
I have a preferred version of Haml and pattern lab that this would work with ;) Was writing up detailed instructions for you and realized I was missing an event for you to properly hook into in PL2 to make this happen. I'm going to address that and get back to you with the full thing. If you want to hack at this in PL1 I think MTHaml is best but YMMV.

@dan-nl -
I've updated PL2 to support this feature. PL2 is not quite ready for prime-time but I think this feature would be much easier to implement there even as a proof-of-concept than it would be in PL1. Depending on how familiar you are with Composer, dependency management and "modern" PHP the directions might be a bit overwhelming or a piece-of-cake. Want me to dive into it with you?

@dmolsen,
if you don’t mind, it would be great to dive into it for myself and probably for others as well.

@dan-nl -
I'll follow-up on this on Saturday. I broke a convention when implementing front-end plugins in PL2. Might as well embrace the change in the rest of PL so I'm going to make a few more tweaks. Once that's done I'll write out the instructions.

@dmolsen,
fyi, after some experimentation with haml templates we decided not to use them and to instead integrate the mustache templates in our project.

Actually it's also possible to compile every element say search-form.haml or search-form.jade to search-form.mustache. Then you're using syntax of your choice and PL eats .mustache as it likes.


⚠ Bofrost.lu has degraded performance

In c6371c8, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1339 ms

Resolved: Bofrost.lu performance has improved in 20fb851 after 13 minutes.


Avoid duplicate code in fork options validation

Extracted duplicate behaviour into a factory method containing additional validations for consistency, i.e. the executable exists and is not a directory.
Fixes: #22023
See also: #21758
Co-authored-by: @jbartok
NOTE: This PR will remain a draft until https://github.com/gradle/gradle/pull/22108 is merged in and then needs to be adapted to those changes.

@bot-gradle

Sorry I don't understand what you said.
Currently, the following commands are supported:
@bot-gradle test <BuildTrigger1> <BuildTrigger2> ... <BuildTriggerN>

A trigger is a special build for this PR on TeamCity, common triggers are:

SanityCheck/CompileAll/QuickFeedbackLinux/QuickFeedback/PullRequestFeedback/ReadyForNightly/ReadyForRelease
Shortcuts: SC/CA/QFL/QF/PRF/RFN/RFR
Specific builds:

BD: BuildDistributions/BuildDocs so that you can preview the generated docs/distribution.
PT: PerformanceTest, all performance tests for Ready For Nightly stage.
APT: AllPerformanceTest, all performance tests, including slow performance tests.
AST: AllSmokeTestsPullRequestFeedback
AFT: AllFunctionalTestsPullRequestFeedback
ASB: AllSpecificBuildsPullRequestFeedback
ACC: AllConfigCacheTestsPullRequestFeedback
ACT: AllCrossVersionTestsReadyForNightly
AFTN: AllFunctionalTestsReadyForNightly
ACTR: AllCrossVersionTestsReadyForRelease
AFTR: AllFunctionalTestsReadyForRelease

@bot-gradle test and merge

queues this PR for testing and merges if all tests pass by:

Creating a merge commit from your PR branch HEAD and the target branch
Running a ReadyForNightly build against the merge commit
When it passes, fast-forward the target branch to this merge commit (i.e. merge the PR)

The merge commit is called a pre-tested commit, which means that it fully tests the integration
of your branch HEAD and latest master, instead of only testing your branch HEAD.
@bot-gradle cancel

cancel a running pre-tested commit build or remove it from queue

@bot-gradle clean

clear the conversation history

@bot-gradle help

display this message

To run a command, simply submit a comment.  For detailed instructions see here.

@bot-gradle test qfl

OK, I've already triggered the following builds for you:

QuickFeedbackLinux build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test QLF

Sorry I don't understand what you said.
Currently, the following commands are supported:
@bot-gradle test <BuildTrigger1> <BuildTrigger2> ... <BuildTriggerN>

A trigger is a special build for this PR on TeamCity, common triggers are:

SanityCheck/CompileAll/QuickFeedbackLinux/QuickFeedback/PullRequestFeedback/ReadyForNightly/ReadyForRelease
Shortcuts: SC/CA/QFL/QF/PRF/RFN/RFR
Specific builds:

BD: BuildDistributions/BuildDocs so that you can preview the generated docs/distribution.
PT: PerformanceTest, all performance tests for Ready For Nightly stage.
APT: AllPerformanceTest, all performance tests, including slow performance tests.
AST: AllSmokeTestsPullRequestFeedback
AFT: AllFunctionalTestsPullRequestFeedback
ASB: AllSpecificBuildsPullRequestFeedback
ACC: AllConfigCacheTestsPullRequestFeedback
ACT: AllCrossVersionTestsReadyForNightly
AFTN: AllFunctionalTestsReadyForNightly
ACTR: AllCrossVersionTestsReadyForRelease
AFTR: AllFunctionalTestsReadyForRelease

@bot-gradle test and merge

queues this PR for testing and merges if all tests pass by:

Creating a merge commit from your PR branch HEAD and the target branch
Running a ReadyForNightly build against the merge commit
When it passes, fast-forward the target branch to this merge commit (i.e. merge the PR)

The merge commit is called a pre-tested commit, which means that it fully tests the integration
of your branch HEAD and latest master, instead of only testing your branch HEAD.
@bot-gradle cancel

cancel a running pre-tested commit build or remove it from queue

@bot-gradle clean

clear the conversation history

@bot-gradle help

display this message

To run a command, simply submit a comment.  For detailed instructions see here.

OK, I've already triggered the following builds for you:

QuickFeedbackLinux build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

OK, I've already triggered a build for you.


chore(e2e): Add a new E2E test for sync service configuration

👋 we've been working the last month on a rebuild of the Electric server over at a temporary repo https://github.com/electric-sql/electric-next/
You can read more about why we made the decision at https://next.electric-sql.com/about
We're really excited about all the new possibilities the new server brings and we hope you'll check it out soon and give us your feedback.
We're now moving the temporary repo back here. As part of that migration we're closing all the old issues and PRs. We really appreciate you taking the time to investigate and create this improvement!


SkillsMatter Video not Downloading

Youtube-dl version I'm using:
$ youtube-dl --version
2015.07.07

I'm trying to download a video from skillsmatter. But it's not getting downloaded. Skillsmatter internally uses Vimeo.
Video URL: https://skillsmatter.com/skillscasts/4251-lenses-compositional-data-access-and-manipulation
$ youtube-dl --verbose https://skillsmatter.com/skillscasts/4251-lenses-compositional-data-access-and-manipulation
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://skillsmatter.com/skillscasts/4251-lenses-compositional-data-access-and-manipulation']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.07.07
[debug] Python version 2.7.6 - Linux-3.16.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 11.3, avprobe 11.3, rtmpdump 2.4
[debug] Proxy map: {}
[generic] 4251-lenses-compositional-data-access-and-manipulation: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 4251-lenses-compositional-data-access-and-manipulation: Downloading webpage
[generic] 4251-lenses-compositional-data-access-and-manipulation: Extracting information
ERROR: Unsupported URL: https://skillsmatter.com/skillscasts/4251-lenses-compositional-data-access-and-manipulation
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 1092, in _real_extract
    doc = parse_xml(webpage)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 1562, in parse_xml
    tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 22, column 312
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 654, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 273, in extract
    return self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 1663, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL:
https://skillsmatter.com/skillscasts/4251-lenses-compositional-data-access-and-manipulation

FYI: SkillsMatter is not supported yet.

@yan12125 SkillsMater uses Vimeo.

Logging in is not implemented yet, and seems video URLs are available only if logged in.


Increase the timeout of diagnoser job completion to 180 sec

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

connectedk8s


Dashboard update must overwrite current dashboard.

Mainly as current state backend not support more custom update strategy so we add more native way for user manage the grafics and dashboard state on next iteration.
So for now as yous suggest @peersky Add report be Manage Dashboard and it's be overwrite full dashbord object.

was resolved in #477


Support symbol-based indexing and well-known symbols

Background
ES6 adds supports for symbols, a kind of key that can be used to access object properties with a unique value.  Symbols do not collide with each other or other names, making them useful as a special property name.
In this proposal, we recommend adding support for symbols to TypeScript by typing the well-known symbols.  This proposal also treats all user-defined types as a Symbol type, rather than tracking each new symbol as its own type (as this drastically increases the complexity of the type system).
Proposal
ES6 supports a handful of well-known symbols, which are used to unlock additional functionality.
(Taken from the ES6 draft specification)

Name
Purpose

Symbol.hasInstance
A method that determines if a constructor object recognizes an object as one of the constructor’s instances. Called by the semantics of the instanceof operator.

Symbol.isConcatSpreadable
A Boolean value that if true indicates that an object should be flatten to its array elements by Array.prototype.concat.

Symbol.isRegExp
A Boolean value that if true indicates that an object may be used as a regular expression.

Symbol.iterator
A method that returns the default iterator for an object. Called by the semantics of the for-of statement.

Symbol.toPrimitive
A method that converts an object to a corresponding primitive value. Called by the ToPrimitive abstract operation.

Symbol.toStringTag
A String value that is used in the creation of the default string description of an object. Called by the built-in method Object.prototype.toString.

Symbol.unscopables
An Object whose own property names are property names that are excluded from the with environment bindings of the associated objects.

A Symbol interface should be added to lib.d.ts for each of the above, so that they can be used as unique keys.  Additionally, we need to add a new indexer that works with Symbols to compliment the numeric and string indexers that objects already support.
The Symbol interface also contains a call signature, allowing users to create Symbols.  As mentioned above, these would not be unique types, but instead would be a common symbol type.
@JsonFreeman writes:
There are three kinds of ES Symbols:

Built in Symbols (Symbol.iterator)
Registered Symbols (Symbol.for("foo"))
Unregistered Symbols (Symbol("foo"))

The following proposal is to support built-in symbols only. Below it I have a suggestion to also support registered Symbols.
-- A keyword called "symbol" for the Symbol type
-- Symbol indexer works just like string and number indexers, but has no relation to either of them (Right now a property of type "any" is assumed to correspond to the number indexer, not sure what to do about "any" here).
-- Apparent properties of symbol are the properties of Symbol
-- symbol is assignable and subtype to Symbol
-- typeof support in type guards (typeof x === "symbol")
-- Coercive operators will give type check errors if their operands are symbols
-- Known symbol properties are of the form Symbol., where  is any identifier name.
-- Allow known-Symbol computed properties in interfaces, object type literals, and class property declarations (including ambients). These are places where dynamic computed properties are not allowed.
-- An index expression with a known symbol (the expression Symbol. of type symbol) will get the corresponding property from the target type.
-- If a Symbol-keyed class property is initialized, it will be moved to the constructor. We are assuming that it is okay to access Symbol.iterator in the constructor instead of in the class function closure.
-- Symbol-keyed properties will be type checked like this:

The key has to be of type symbol
The Symbol identifier has to resolve to the global variable Symbol (although I think we should make it a const).
The name must be a property of the global Symbol object's type (note that Symbol.prototype is of type Symbol, not symbol).
-- The property is treated just like any other property with respect to assignability, inference, etc.
-- Symbol properties do get emitted into .d.ts.

As a possible extension, we could support registered Symbols. The identities of these Symbols are statically knowable if they are referenced as Symbol.for("name literal"). This creates a Symbol with the specified key, and all further calls with the same key will get the same Symbol.
This would work exactly like the built in Symbols. We would allow it in interfaces and ambient contexts too. The one question is whether the naive emit would be acceptable for class properties:
class C {
    [Symbol.for("foo")]: string; // Call does not get emitted
    [Symbol.for("bar")] = ""; // Call gets emitted in the constructor
}

Suggestions are also welcome for unregistered Symbols, although I think they are much lower priority.
Note that the main limitation of these proposals is that they do not handle aliased Symbols. They also do not traffic types for Symbols, so you cannot cast an unknown Symbol to a known Symbol.

I've updated the proposal above with my thoughts. Github still tells you that @jonathandturner still wrote it, but I have just appended to what he originally wrote.

Upon closer inspection of the ES6 spec, there is indeed a Symbol primitive type and a Symbol object type. So I think we may have to make a keyword for it.

I've updated the plan above to include a keyword for symbol. This is because otherwise, Symbol is effectively interchangeable with Object. In other words, the following would be allowed:
var s: Symbol = { p: "hello" };
console.log("" + s); // Crashes at runtime

I'm not sold in the need for a new keyword. I think you can solve the problem by adding a private tag property to the Symbol class, effectively making it impossible to create instances other than by the declared API.

@ahejlsberg it is an interface, not a class.

@JsonFreeman Then make it a class.

Then it can't have a call signature.

Why is it bad to have a new keyword?

Then we should fix the call signature problem. It's an issue for the other built-in types as well because we don't allow you to derive from them.
A new keyword is overkill and doesn't bring any real value.

Also, we have to have special rules in the compiler that disallow various things, like string concat on a symbol:
var s = Symbol("foo");
console.log("" + s); // Crashes

We allow this for object types, but it is a TypeError for symbols.
All these checks are easier done if there is a TypeFlag for symbols, which is already very standard for primitive types, not standard for types that we have to look up.

The confusion between symbol and Symbol is not different from the confusion between number and Number, string and String. The issue is that ES6 actually specifies that there are two types: a Symbol primitive, and a Symbol object type. Use of the latter is an error.

Also, the following would be very intuitive if we made a lowercase name for this type:
var str: string = "";
var num: number = 0;
var sym: symbol = Symbol();

console.log(typeof str); // "string"
console.log(typeof num); // "number"
console.log(typeof sym); // "symbol"

I actually think it is less confusing if symbol works the same way as number and string.

Are you sure "" + s crashes? From my reading of the spec it returns a string that describes the symbol.
I understand how we could have a global Symbol object that isn't a type and a built-in symbol keyword that represents the type, but I don't see how that makes anything clearer. Quite the opposite. We don't have keywords for Date and RegExp, and by the same token we shouldn't have a keyword for Symbol. The fact that typeof returns a different string for symbol isn't really a justification, it returns different strings for DOM elements as well.

I think the difference between Symbol and Date/RegExp/HTMLElement is that TypeScript actually has to account for many differences between symbols and objects, whereas the others behave far more similarly to objects. I think an argument could be made for making Date and RegExp primitive types with keywords, but a very weak argument. Conversely, an argument could be made for String and Number not being primitive types, but they had enough special treatment in the language that we made them primitives. Symbol feels to me more like string and number than it does to Date or RegExp.
I admit though, that the typeof behavior is not a strong justification.
Here's what happens when you do "" + s, from the ES6 spec:
...
7. Let lprim be ToPrimitive(lval).
...
9. Let rprim be ToPrimitive(rval).
...
11. If Type(lprim) is String or Type(rprim) is String, then
     a. If Type(lprim) is Symbol or Type(rprim) is Symbol, then throw a TypeError exception.
     b. Return the String that is the result of concatenating ToString(lprim) followed by ToString(rprim)

That is from https://people.mozilla.org/~jorendorff/es6-draft.html#sec-addition-operator-plus-runtime-semantics-evaluation

When I follow that link I see nothing about throwing if an argument is Symbol.

Oops, I guess they changed it. It still throws an exception though. If you look at 11.a and 11.c, they call ToString on lprim and rprim, which in turn throws an exception on Symbol
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tostring


feat: Expand environment variables in api spec_files and profile headers

This PR adds support to use environment variables in spec_files and profile headers in ~/.restish/apis.json.
Being able to use environment variables for the spec_files makes it easy to share apis.json between team-members or workstations and being able to use environment variables for headers makes it possible to use secure environment stores (like envchain), minimizing the risk of credentials leaking from config files secured only by file permissions.
If you can think of more places where being able to use environment variables would be beneficial please let me know I'm happy to extend this PR.
Example apis.json:
{
  "example": {
    "base": "https://api.example.net",
    "spec_files": ["$HOME/path/to/spec_file.yml"],
    "profiles": {
      "default": {
        "headers": {
          "ACCESS_TOKEN": "$MY_EXAMPLE_ACCESS_TOKEN"
        }
      }
    }
  }
}

This is awesome, thanks! :+1:

Thank you for reviewing and merging this PR, @danielgtaylor. And thanks for the amazing restish utility, such an excellent tool to have in the toolbelt! 👌
Apologies for not responding sooner, I seem to have missed the email notification for your response here :)


Parameterise loop unrolling for profiles

When creating a new profile, a set of pipeline tuning options are generated. This allows for enabling/disabling loop unrolling. These should be parameterised.

To the extent possible, this is parameterised. Code found here: https://github.com/qir-alliance/qat/blob/main/qir/qat/Generators/LlvmPassesConfiguration.hpp


Fix modules with no callbacks

Introduced a bug with #260.
This fixes it and adds a regression test.

@trentmwillis @rwjblue I'm seeing a bizarre error that appears to be caused by #260. I run my whole suite, and a few modules towards the end of the suite fail because module is undefined in beforeEach. I put in some logging, and before is not being called for these module. I can see beforeEach() being called for each test (with module=undefined), and after being called, but `before is not getting called.
I'm trying to dig in more to zero in on the cause, but I'm kinda unfamiliar with this code. Any guidance or help would be much appreciated. If either of you have time, you can also hit me up on Ember Community Slack.
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

I put in some logging, and before is not being called for these module.

@bendemboski - Definitely seems unexpected. Can you open up a new issue so we can have somewhere to work with you on tracking it down?
@trentmwillis - Is there anything special about the way before is called in QUnit?  Any possible issues with multiple modules using the same name or something like that?

I don't think so. Basically, there is an internal module object that has an array of tests and sub-modules. Whenever a test is run, it checks with the module it is registered with to determine which hooks should fire.
A reproduction would be immensely helpful here as the QUnit hooks are pretty well tested.

#268 -- I'll work on getting more info and/or a repro that I can share.

Turns out this is a bug in QUnit triggered when the first or last test in a module is skipped. I opened a PR with a fix over there.


[Dubbo-8172]Not shuwdown ExecutorService when DefaultFuture. closeChannel()

消费者端ExecutorService在运行期间不应该shutdown
复现了 #8172 的的一种场景
1，启动3个提供者
2，启动1个消费者，开始服务调用
3，kill -9 提供者1，会发现消费者全局ExecutorService被CLOSE，后续服务调用使用SHARED_EXECUTOR
4，kill -9 提供者2，会发现SHARED_EXECUTOR被CLOSE
5，后续服务调用，报错及堆栈基本同issue描述
分析：提供者非正常下线（如netty先关闭，注册中心服务尚未下线），消费者端netty触发AbstractChannelHandlerDelegate.disconnected，从而触发futureExecutor.shutdownNow()。
而消费者端服务调用线程池是全局共享，在运行期间不应该被shutdown。
Brief changelog
DefaultFuture. closeChannel时，不关闭ExecutorService。

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #8188 (b893b95) into master (21b08f0) will decrease coverage by 0.43%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #8188      +/-   ##
============================================
- Coverage     61.19%   60.75%   -0.44%
+ Complexity      490      455      -35
============================================
  Files          1090     1090
  Lines         43951    43903      -48
  Branches       6419     6386      -33
============================================
- Hits          26894    26673     -221
- Misses        14076    14257     +181
+ Partials       2981     2973       -8

Impacted Files
Coverage Δ

...dubbo/remoting/exchange/support/DefaultFuture.java
80.00% <ø> (-7.18%)
:arrow_down:

...e/dubbo/registry/consul/ConsulRegistryFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...g/apache/dubbo/registry/consul/ConsulRegistry.java
0.00% <0.00%> (-60.00%)
:arrow_down:

...bo/rpc/cluster/support/FailbackClusterInvoker.java
52.45% <0.00%> (-18.04%)
:arrow_down:

...nfig/configcenter/nop/NopDynamicConfiguration.java
62.50% <0.00%> (-12.50%)
:arrow_down:

.../apache/dubbo/rpc/protocol/AsyncToSyncInvoker.java
62.06% <0.00%> (-10.35%)
:arrow_down:

...o/remoting/transport/ChannelHandlerDispatcher.java
60.00% <0.00%> (-10.00%)
:arrow_down:

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <0.00%> (-7.50%)
:arrow_down:

...ting/exchange/support/header/HeartbeatHandler.java
85.71% <0.00%> (-7.31%)
:arrow_down:

...ng/transport/dispatcher/all/AllChannelHandler.java
82.75% <0.00%> (-6.90%)
:arrow_down:

... and 46 more

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 21b08f0...b893b95. Read the comment docs.


tflite conversion - GPU/XNNPACK fails

Hi!
Thanks for great repo!
I have converted the EfficientFormer model to tflite. However, applying both XNNPACK and GPU delegates fail.

GPU delegate created.
INFO: Initialized TensorFlow Lite runtime.
INFO: Created TensorFlow Lite delegate for GPU.
Failed to apply GPU delegate.
Benchmarking failed.

XNNPACK delegate created.
INFO: Initialized TensorFlow Lite runtime.
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
Failed to apply XNNPACK delegate.
Benchmarking failed.

Do you know what could be the issue? Im using latest tensorflow version for conversion.

thanks, however, LayerNorm works. i believe the problem is with FullyConnected layers

You mean the Dense layers? If you can help confirm a model like mm = efficientformer.EfficientFormerL1(num_classes=0) without output Dense layers works, I think we can have a function like convert_dense_to_conv2d.

Similar issue solved in Converting EfficientFormer into tflite doesn't work #137.


Add RGB column to README table

You can use online tools such as https://www.rapidtables.com/convert/color/hex-to-rgb.html.
Please send a Pull request.

Added by https://github.com/BaseMax/PersianColors/pull/2


Feature Request: Add compatibility for Windows 10 Groove Music

Was wondering if it would be possible to add compatibility for Windows 10's music player, Groove Music.

Microsoft does not support any sort of API for Groove Music and there is no known way to hack something together to support it. If you see another app that adds support for it let me know and I can try to add support but as it stands right now this is not possible.


Show how to use a different connection string based on MVC route

I need to be able to specify which database will be used as part of the URL/route in a controller. How can I configure the database name part of the connection string in a controller either after the DbContext instance has been loaded or by injecting a factory or similar that can do it for me?

Thanks for contacting us. We believe that the question you've raised have been answered. If you still feel a need to continue the discussion, feel free to reopen it and add your comments.


Implement Paginated methods and get/drop/delete methods using GAPIC stub

Implement the following methods:

listInstances, listInstanceConfigs, listDatabases
getInstance, getInstanceConfigs, getDatabase, getDatabaseDdl
dropDatabase, deleteInstance

Thank you all!


Test against coveralls dev

Configure repo to send coverage to coveralls dev env.

My bad, @zgoda. Mistakenly created this PR to your repo rather than my fork.

No probs.


Problem with the scroll bar in docs side menu

The scroll bar doesn't let you scroll below "auto-scaling"

Done. Coming in v0.17.0