math v2.5 results

test: https://arkenfox.github.io/TZP/tests/math.html
results: https://arkenfox.github.io/TZP/tests/mathdata.html

BROWSER LIST
Windows 7 64bit (machine no.1)

[x] TB60 64+32bit
[x] TB68 64+32bit
[x] TB78 64+32bit
[x] ESR60-68-78, FF60-82 64bit
[x] ESR60-68-78, FF60-82 32bit
[x] Chrome 72/85 64+32bit

Windows 7 64bit (machine no.2)

FYI: I have a colleague with a Win7 64bit Ultimate PC, AMD (just like mine)

he gets a different result to mine (on the original TZP cos tests)
I will take my portable FF's and TB's over and test everything I did on my machine

[ ] see machine no.1 list

Windows 7 32bit (VM)

[ ] TB60 32bit
[ ] TB68 32bit
[ ] TB78 32bit
[ ] ESR60-68-78, FF60-82 32bit
[ ] Chrome 85 32bit

Windows 10 64bit

[ ] spot check against windows 7 64bit results: it should be the same

Android (aarch64)

[x] TB68
[x] FF68, Fenix78+
[x] Chrome

macOS

[x] FF78+
[x] TB68 and/or TB78
[x] Safari
[x] Chrome 85

Linux 64bit (we'll list them as we get them)

[x] Fedora (32): FF80
[x] Debian (Buster): FF78
[x] Mint (19.3) 64bit: FF78
[x] Manjaro (20.1): FF80

Linux 32bit (we'll list them as we get them)
...

Preliminary analysis
🔹 So far...

I'm not seeing any more entropy than my original TZP tests

within FF: detecting other engines is easy

on windows there are a minimum two factors for four results

mingw vs winsdk x 32bit vs 64bit builds = 4 results
so we can detect build architecture but not OS architecture: except that a 64bit build must be on a 64bit OS
non windows OSes don't have a difference between TB vs FF (no mingw vs winsdk)

on windows there is another variable but I don't know what causes it

this is windows machine no.2 which I know is different for at least some FF results
I'll be testing that in a few days

linux

linux 64bit has at least three buckets (I don't think you can run a 32bit build on a 64bit linux)

I wonder what is different about the OSes in each bucket: e.g. Ubuntu vs Mint vs Debian: the libm?

linux 32bit + 32bit build obviously = different again (but only one OS tested: mint)

without more testing (if they even exist) e.g. 32bit Ubuntu vs 32bit Debian vs 32bit Mint, I cannot say if 32bit builds on Linux create as many buckets as 64bit builds

🔹 Entropy
Since we can't hide the major OS (linux, windows, etc) and we can't hide TB vs FF (and we're not trying to), it seems, so far, that the worst entropy (so far) is

4 buckets on windows (the two in results so far with machine no.2 to reveal 2 more)
4 on linux
1 on android (IANAE on android architecture: there may be more)
1 on macOS

🔹 Conclusion

chrome is consistent (so far) across all OSes and bit builds

they clearly bundle their own same math stuff

if mozilla did what chrome does, this would eliminate math entropy

but I'm guessing that's pretty involved

if audio then hooked into the new bundled math, this should eliminate audio entropy

FWIW I do not believe audio entropy can be any worse than math entropy (audio math uses a much more limited value range and a limited set of math functions - as per what paul adenot noted)

Not fun (took over 2hrs) .. upgraded my Win10 (Home) vm from 1709 to 1909 and retested everything (no changes). FYI, that's why the EdgeHTML was version 17. Updated MS's browser to Edge85 and added that (to be expected: matches chromium based browsers)

@abrahamjuliot - I only have a single android result (for 78+: it should be the same since 68) .. but I see you have three android results there: are you holding out on me, bro?
https://github.com/abrahamjuliot/creepjs/commit/37b303bd183d664f0d509bfea90b298880b6d755#diff-471a0a2ce0a9a8cdc24687296beba69bR817-R822

Lol, I do have a secret weapon. Actually, I obtained b and c on a trail run at browserstack and by using a custom server to auto collect the hash and userAgent. FF Android results seem to jump around. I narrowed it down to 3. I plan to test more. I might start subbing to browserstacks 1 month/annually to gather in hashes.
[a] - Android 8.1 on Chromebook
[c] - Android 4.4, 6 and 9 (browserstacks)
[b] - Android 8, 7.1, 10 (browserstacks)

Thx. I updated the link. TZP index home page looks really nice.

 I hope so
I'm not a mobile expert, and of course limited access. I had an android 5 (32bit for sure) until about a year ago, now I have an android 9 (64bit I think - did I say I'm not a mobile expert). - both of those stayed the same with my current math (the eight cos tests) - so super stable from 68 to 83 - but now we're testing more functions
And I'm wondering about the v2.5 tests. Are those browserstack tests from roms/vms or real devices. That said, exploring the results of combos of droid OS versions + droid hardware/devices + droid architecure is just part of the real world results. Nailing down what causes the differences would be interesting
For me it's not about being able to correctly guess the OS. It doesn't affect my tests:

the math test metric is the hash: what's displayed is an OS "guess" and if "new" it says so
I do use a separate engine math, but only to confirm blink to decide to include it for two noise results

For me, it's getting the full results to see how many buckets it creates, and there may be some equivalency. I guess that will come if and when I can ever get tzp to a state where it can send back a full FP data set to a backend
I'll come back to this to decide what to do with those results. I think I need to only include real devices. I'm wondering how to leverage mozillians

Sounds good. BrowserStack uses 2000+ real devices (so they say). There's just 1 new engine on certain devices running Android 5, 6, 7, 7.1, 8, 8.1, 9 and matches my device running 8.1.

There's just 1 new engine on certain devices running Android 5, 6, 7, 7.1, 8, 8.1, 9 and it matches my device running 8.1.

So this is new hash not in my tiny engine code hash check - for Firefox? I don't use this for isFF but I do for blink. And this matches your actual real android device, right - in which case that's a confirmed new FF hash to add to math v2.5 (and the engine for completeness sake). Or am I misinterpreting what you said?
So what is your 8.1 device? 64bit, 32bit, something else .. IDK (not a hardware person) - not essential but may shed some light if/when we get lots of droid hashes

So this is new hash not in my tiny engine code hash check - for Firefox?

This is correct. Here's the data.
 Don't worry about too much about the comments - the detailed info is in the first post (and a local spreadsheet).  If you want to double check the entries for the five new android ones (I had to go on your screenshots), that would be cool (I edited your post to add the short code). If we ignore obsolete FF's .. we can get away with 57 tests as a maximum -and that can probably be reduced as well. I will build something down the track to programmatically determine the minimum set to maintain entropy
I am yet to finish the webpage: some cosmetic stuff, outputting the unique test numbers for various (FF68+ vs all)

android 4.4 must be using v68 .. I assume the others were Fenix (78+) .. right?

@abrahamjuliot just a FYI should you need to do anything with creepy - https://github.com/arkenfox/user.js/issues/1234 - RFP math mitigations landed: it doesn't affect our my engine math check. I've already patched TZP - note: I'm using my old small set and only missing out on android polyfill entropy AFAICT, not the large monsta you are: I do plan to upgrade the math test in the future though to catch those extra android results
bugzilla: 531915

note:
removing sin/cos/tan from Firefox android results

assuming the patch makes all android the same with sin/cos/tan
buckets in android should drop from 7 to 4

F20: nothing, it's the control

F21 + F24
 cbrt: 1p1
 cosh: 0, 0p1
expm1: 0p1
 sinh: 0p1

F22 + F23 + F25
 cosh: 0, 0p1
expm1: 0p1
 sinh: 0p1

F26
 cbrt: 1p1

homework for abraham: calculate Pi to 62.8tn decimal places for max entropy

interesting article calculator forensics
reminds me of how old-timey passports were checked in Russia .. American passports used stainless steel staples, Russian ones didn't ... a check for rust masks could unearth a paradox  .. oh noes, it's the gulag for you! I have to admit I'm a bit of a fan of old-timey spycraft, most is still relevant today .. OpSec vs Meatware

https://bugzilla.mozilla.org/show_bug.cgi?id=1775254 - @abrahamjuliot keep an eye when this lands to see if it affects your math stuff

yup, changes all 8 pow test results in my windows: my windows was F1 the control
https://arkenfox.github.io/TZP/tests/math.html

this is windows 64bit (no RFP)

looking at the math data, pow (all nine) were a factor in FP diffs in FF prior to FF68, but not since. So if this still holds true (same results on all platforms), it doesn't change entropy, just some values

@abrahamjuliot FYI
omg ... https://bugzilla.mozilla.org/show_bug.cgi?id=1784111 ... I've pinged tjr, let's hope they never add any FP webcompat site overrides, let alone go down a slippery slope of specially modifying results like math (which can change for a number of reasons, libraries/compression) - if they do it for bet365, then I bet (pun intended) it happens for other FP scripts using various pow calculations - you know like creep - see above pic :)

yikes, fpjs uses math pow pi -100. I imagine that throws a monkey wrench in their heuristics.
I went ahead and switched over to error lengths for engine detection (needs improvement though).

yeah, I want to move away from math (except as a single FP measure) - a change in compression altered FF68+, a change in libraries (see that Pow change), diff libraries in geckoview vs gecko? ... so I don't want to rely on math to detect global vars
I've always had a pretty robust gecko (and if math failed for gecko I always had it hardened), and gonna has used non-math for a while.
Current state is

mini ten test for isFF
if we get more than 5 then isFF is true and isEngine is gecko - and in that same logic, if 53 fails but 54 passes then it's goanna (this does not affect waterfox)

I chose > 5 (out of 10) as an arbitrary figure. None of these should ever get tampered with, and I get alerts on TZP display if any fail (e.g. say due to gecko code changes, which I can then recode)

later we call isEngine and it instantly returns if isFF. And here is where I use math, and if math is an unknown I check chrome in window for at least getting blink

So yeah, after the isEngine page, I was wanting to do something more robust for blink/webkit. trident should fail to run on TZP, so I don't know what else is left?

so one thing I have observed, is using the console you can check what is valid by typing the first letter

e.g. console.log(k will reveal different results in gecko vs blink

So KeyEvent = function in gecko and undefined/reference-error in blink/webkit. I think we should enumerate these and run a universal script to find unique items per engine. IDK non gecko releases very well, e.g. what can be flipped by settings or when they were added/removed - e.g. older versions

I consider this finished: new math is https://github.com/arkenfox/TZP/pull/192/commits/1aa30edf71fbe5f8b4fb5fba4813c3be055529ba

interesting read

https://news.ycombinator.com/item?id=34368597
https://jvns.ca/blog/2023/01/13/examples-of-floating-point-problems/


when will most_updated_sheet have binary features?

When might the binarisaiton ripple out to the most updated sheet?

I merged the branch editing the gb20.txt and made a PR with the updated sheet.

Thanks!


s3fs kwarg unexpected keyword argument in AioSession

Might be related to #204
I'm trying to use the cache_type kwarg for s3 [source], but this causes issues down the line when the file is accessed:
>>> import upath
>>> url =  "s3://codeocean-s3datasetsbucket-1u41qdg42ur9/39490bff-87c9-4ef2-b408-36334e748ac6/nwb/ecephys_620264_2022-08-02_15-39-59_experiment1_recording1.nwb"

>>> path = upath.UPath(url, cache_type="first")
>>> path
S3Path('s3://codeocean-s3datasetsbucket-1u41qdg42ur9/39490bff-87c9-4ef2-b408-36334e748ac6/nwb/ecephys_620264_2022-08-02_15-39-59_experiment1_recording1.nwb')

>>> path.exists()
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "c:\Users\ben.hardcastle\github\npc_io\.venv\Lib\site-packages\upath\core.py", line 711, in exists
    return self.fs.exists(self.path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\ben.hardcastle\github\npc_io\.venv\Lib\site-packages\fsspec\asyn.py", line 118, in wrapper
    return sync(self.loop, func, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\ben.hardcastle\github\npc_io\.venv\Lib\site-packages\fsspec\asyn.py", line 103, in sync
    raise return_result
  File "c:\Users\ben.hardcastle\github\npc_io\.venv\Lib\site-packages\fsspec\asyn.py", line 56, in _runner
    result[0] = await coro
                ^^^^^^^^^^
  File "c:\Users\ben.hardcastle\github\npc_io\.venv\Lib\site-packages\s3fs\core.py", line 1035, in _exists
    await self._info(path, bucket, key, version_id=version_id)
  File "c:\Users\ben.hardcastle\github\npc_io\.venv\Lib\site-packages\s3fs\core.py", line 1302, in _info
    out = await self._call_s3(
          ^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\ben.hardcastle\github\npc_io\.venv\Lib\site-packages\s3fs\core.py", line 341, in _call_s3
    await self.set_session()
  File "c:\Users\ben.hardcastle\github\npc_io\.venv\Lib\site-packages\s3fs\core.py", line 502, in set_session
    self.session = aiobotocore.session.AioSession(**self.kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AioSession.__init__() got an unexpected keyword argument 'cache_type'

upath: 0.2.2
python: 3.11.5

Hi @bjhardcastle
Please note the difference between storage options for AbstractFileSystems and options for the their open() methods:
S3FileSystem class
https://github.com/fsspec/s3fs/blob/efbe1e4c23a06e65b3df6a82f28fc49bab0dbd78/s3fs/core.py#L273-L297
The UPath constructor gathers all keyword arguments under **storage_options and uses those to instantiate the specific filesystem class.
S3FileSystem._open() method
https://github.com/fsspec/s3fs/blob/efbe1e4c23a06e65b3df6a82f28fc49bab0dbd78/s3fs/core.py#L611-L625
If you want to pass specific options down to the filesystem specific AbstractBufferedFile implementation, you would use the following in your case:
import upath
upath.UPath("s3://mybucket/myfile.txt").open(cache_type="first")

If you want to set this on the Filesystem level for s3fs you can do:
import upath
p = upath.UPath("s3://mybucket/myfile.txt", default_cache_type="first")
...
p.open()  # will use the default_cache_type

Let me know if that helps! It would be wonderful, if you could tell me how I could improve the text in the README to make this more intuitive. PRs are super welcome too!
Cheers,
Andreas :smiley:

Hi Andreas,
Thank you very much for explaining in detail. That of course fixed it!
I don't think it was a problem with the README in this case, but the wording for the open() method (which I assumed came from pathlib):

Because it says "as the built-in does", I never would have thought to pass it config for the fsspec-related operations.
One of the reasons I use upath is so I don't need to set-up anything manually, it just handles whatever I throw at it! Now I'm trying to use different configurations I'll refer to the documentation more and let you know if any parts aren't clear.
Cheers,
ben


WHMCS v7

I am testing the module in the whmcs v7, i did the connection with button console in the servers area, that works ok, next when i tried to link the server in the customer area i couldn't see anything about the server.
I moved the clientarea.tpl file from online's folder to my custom template folder (control theme for whmcs) but didn't work.
I don't know what i am missing, do you have any idea?
Thanks.

Thank you for the feedback and I apologize for the delays. This module was last released when WHMCS v5 was around, so I'm not sure if it is compatible with WHMCS v7. Does enabling Smarty PHP Tags as explained in https://github.com/GiovanniMounir/onlinenet-module/issues/4 fix the issue? It is possible that online.net has changed their API methods, so the code might not be functioning properly anymore.
I no longer use WHMCS unfortunately, but I would appreciate assistance if you write in PHP and can fix the issues - please feel free to open a pull request and I will be happy to merge the changes if that is the case.

Hey Giovanni,
Thank you for reply.
Now i don't have the knowledge and skills to change it.
But if this change in future, i will.
Have a nice day.
El sáb., 20 abr. 2019 a las 13:29, Giovanni Mounir (<
<EMAIL_ADDRESS>escribió:

Thank you for the feedback and I apologize for the delays. This module was
last released when WHMCS v5 was around, so I'm not sure if it is compatible
with WHMCS v7. Does enabling Smarty PHP Tags as explained in #4
https://github.com/GiovanniMounir/onlinenet-module/issues/4 fix the
issue? It is possible that online.net has changed their API methods, so
the code might not be functioning properly anymore.
I no longer use WHMCS unfortunately, but I would appreciate assistance if
you write in PHP and can fix the issues - please feel free to open a pull
request and I will be happy to merge the changes if that is the case.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GiovanniMounir/onlinenet-module/issues/12#issuecomment-485149392,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHN5RZNQ4FADWKB3FP4NJGDPRNOKJANCNFSM4G66LQ4A
.


remove Parallel_Clusters.md?

Is this file: https://github.com/hytest-org/hytest/blob/main/essential_reading/ParallelProcessing/Parallel_Clusters.md
Redundant to the Start_Dask_Cluster scripts in here: https://github.com/hytest-org/hytest/tree/main/environment_set_up
If so can we delete?
We may want to have a helper script for working locally - that is the only piece I see missing.

As far as I can tell, it is not used by other documents for links and whatnot.
If you think it doesn't add value or if it is distracting/confusing for readers, we can delete.  Or can move to deprecated folder, as was done with the HPC information.

I just want to minimize any duplicate content that may become out of sync. I opened a PR that adds the local dask setup - so if we delete this file, no content will be lost as far as I see.

I just want to minimize any duplicate content that may become out of sync. I opened a PR that adds the local dask setup - so if we delete this file, no content will be lost as far as I see.


Run the return/confirm callbacks on an executor thread

https://stackoverflow.com/questions/57234770/with-spring-amqp-whats-the-best-way-to-send-a-message-to-rabbitmq-from-inside/57235777#57235777

See latest comment on SO answer.


Better usage documentation

As a developer, I rely on clear and concise usage documentation when installing and (properly) using a package. The example in the readme is great, but, there should be clear documentation on setting up the serverless.yml file to properly utilize this package as a layer.
Also, unless the binaries shipped with this package are added to the package:exclude serverless.yml section, then the Lambda function still contains a massive binary. This should be made clear to other developers in the documentation, along with what else can be excluded from your package to optimize Lambda size.
As a starting point, here is what I did to get this package working for myself:

Put built layer zip into a folder in your project:

Setup Lambda layer in serverless.yml to use zip:

layers:
  chrome:
    path: layer

Add new layer to the function you need it in:

functions:
  yourFunctionName:
    ...
    layers:
      - {Ref: ChromeLambdaLayer}

Tell serverless not to include it in your actual Lambda function:

package:
  exclude:
    - node_modules/chrome-aws-lambda/bin/**

I'd also like to share the process I used, as I went with a slightly different deployment scheme than @SaltedBlowfish, and it did take a bit of playing around for me to get it all working.
I chose to create my lambda layer separately (via the console) as I didn't want it connected directly to my serverless deployment, since I plan to re-use the layer in other stacks.

Followed the AWS Lambda Layer instructions to create the chrome_aws_lambda.zip file.
Used the AWS console to create a new layer using that zip file
Added that layer by ARN to the function I needed it in:

functions:
  yourFunctionName:
    #...
    layers:
      - <layer ARN here>

I'm also using webpack, so I had to add puppeteer-core and chrome-aws-lambda to my webpack externals configuration to avoid errors in my build process:

module.exports = {
  //...
  externals: ["puppeteer-core", "chrome-aws-lambda"]
};

@mrweir This is great! Thanks for adding those details.

@SaltedBlowfish
It seems like you're looking for documentation regarding integration with serverless framework.
Personally, I use Terraform to manage my stack.
Like me, there are other people who prefer to use any of the following frameworks (in JS land alone):

Apex
Up
SAM
Claudia
...

I simply cannot provide support/documentation for all of them.


Bioimageio Model Creation

(WIP) Added a draft script for building the model for biomageio modelzoo

Overview
https://gist.github.com/oeway/06af06feafe48717753d1e15ed0f9245#file-test_bioengine_sam-py
Interactive Training
Relevant links for bioimageio related functionality:

https://github.com/imjoy-team/imjoy-interactive-segmentation/blob/master/imjoy_interactive_trainer/models/__init__.py
https://github.com/imjoy-team/imjoy-interactive-segmentation/blob/master/imjoy_interactive_trainer/models/interactive_cellpose.py

Pending https://github.com/bioimage-io/spec-bioimage-io/pull/521


{Service Connector} fix postgres command error

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.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Service Connector

@kairu-ms Could you help merge the PR?


Check redux saga

https://github.com/redux-saga/redux-saga
This may help with chained actions, used for data requests.

It is now being used.


AppLink is not working when come from play store

Hi,
We are generated the app link URL like
https://play.google.com/store/apps/details?id={{APP ID HERE}}&referrer={{REFERRAL ID HERE}}.
and it's goes to via play store app or browser then install and open to the app, I can't get the REFERRAL ID.

I think this is impossible to achieve with this lib

Do you have any other idea to achieve this? @kateile

bumping this for visibility
@kateile

bumping this for visibility
@kateile

You need to use the market scheme like:
Suggestion: use your app id (com.example.app) to name your scheme.
Link
market://details?id=[YOUR APP ID]&url=[YOUR CUSTOM SCHEME]%3A%2F%2F[YOUR CUSTOM HOST]&referrer=[YOUR REFERRAL ID]

AndroidManifest.xml
<intent-filter>
  <action android:name="android.intent.action.VIEW" />
  <category android:name="android.intent.category.DEFAULT" />
  <category android:name="android.intent.category.BROWSABLE" />
  <data
      android:scheme="[YOUR CUSTOM SCHEME]"
      android:host="[YOUR CUSTOM HOST]" />
  </intent-filter>

@ManuLpz4 what do you need to do in the flutter code in order to get the referrer?

Try leading here may be you may get some tips here

The article you linked to mentions:

referrer will trigger a com.android.vending.INSTALL_REFERRER Broadcast once the app is installed.

How do we read this using uni_links?

Hi there, I am also investigating how to read the full referrer from the stores (including utm links), but I don't seem to be able to determine if this package can do that. Your help will be much appreciated :)


Connect the load balancer backend pool to the VM availability set

You create a load balancer with a backend pool and you create an availability set for the VMs but you don't tie the two together.

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

ID: d6a7a232-6e5d-ae1d-3b57-71fb75740fb4
Version Independent ID: 1573ac54-ab15-2649-cccd-2dd64c640fc1
Content: Create a VM cluster with Terraform and HCL
Content Source: articles/terraform/terraform-create-vm-cluster-with-infrastructure.md
Service: virtual-machines-linux
GitHub Login: @TomArcher
Microsoft Alias: tarcher

@CapKenR Thanks for the feedback, Ken. I'll work with the product group to improve this.

@CapKenR Apologies for not getting back to you sooner. I've forwarded this issue to the product team, and am working with them to determine the appropriate next action. Thanks for your patience!

@CapKenR I spoke with the Terraform team, and we are in agreement that we believe the article does what it states it will cover per the intro paragraph. Please let me know what exactly you're looking for, and we discuss. Thanks!

Interesting... I completely missed the load_balancer_backend_address_pools_ids option both here and in the Terraform documentation. I'll give it a try.

@CapKenR I'm glad you found what you needed. If you feel that this option can be better called out so that the next person finds what they need faster, please let me know.

This is what worked for me, the doc should at least update the proper approach:


Markdown table support

Hey,
is there an support for an markdown table like f.e.
| Tables   |      Are      |  Cool |
|----------|:-------------:|------:|
| col 1 is |  left-aligned | $1600 |
| col 2 is |    centered   |   $12 |
| col 3 is | right-aligned |    $1 |

This should look like this (thx to github-markdown rendering)

Tables
Are
Cool

col 1 is
left-aligned
$1600

col 2 is
centered
$12

col 3 is
right-aligned
$1

I can create an table with inline html, but it's not easy to read for a markdown writer.
Is there any support for that in caddy?
I use the latest  version of caddy on a Windows 7 x64 machine (prebuild binary from the caddy website)
Thanks in advance
Tonka

Caddy can support this. We just need to enable that extension in the renderer.
While we're at it, any others you'd like to see enabled by default? https://godoc.org/github.com/russross/blackfriday#pkg-constants -- scroll down to the second list, with all the constants prefixed with EXTENSION_ -- and let me know what you think would be useful to everyone.

Caddy can support this. We just need to enable that extension in the renderer.

Can i activate that in the caddyfile or is it only possible in golang code itself?

While we're at it, any others you'd like to see enabled by default? https://godoc.org/github.com/russross/blackfriday#pkg-constants -- scroll down to the second list, with all the constants prefixed with EXTENSION_ -- and let me know what you think would be useful to everyone.

I think it is easier with an testsite and so i've upload my markdown testpage. The page contains the markdown command which i regularly use and you can see how github render it. Mostly i write markdown with atom, it would be nice when caddy has this features activated by default.
btw: caddy is extrem cool, i like the idea. good job :+1:

Can i activate that in the caddyfile or is it only possible in golang code itself?

We'll have to change the code. As a user, you shouldn't have to worry about these minutia IMO.
Thanks for your test file! I'll use it to enable some extensions for the next release.

I've enabled tables, fenced code blocks, and strikethrough for the next release. It renders the test page as expected.
Great suggestion - thanks!

We'll have to change the code. As a user, you shouldn't have to worry about these minutia IMO.

No problem, i've clone your repo and build the lastest master (which is easy because caddy has no dependecies :smile:  ). Works perfect. The code syntax highlighting does not work, but thats a nice to have feature - but that's a different issue :wink:

Thanks for your test file! I'll use it to enable some extensions for the next release.

no problem. I have to thank you for such an great application.

Code highlighting is actually enabled in the rendered markup, but for now we're leaving it up to the user to provide styling via a template or the css property.
Thanks for the compliment, and the feedback!

hmm, the problem is that my converted html code does not contain any tags/classes to style it. Only the "main"-tag has a class
Here is my example
var a = 1;
function foo(){

}

Here is my converted html code segment build from the javascript code block:

var a = 1;
function foo(){

}

If have a little python3 script which use markdown and pygments to create the html code which look like ...

var a = 1;
function foo(){

}

Here i can style my code.
Did you get an different result?

Why use a python script? Just use something like highlight.js to do syntax highlighting.

The python script is my old custom markdown to html converter - has nothing to do with caddy, it was only for comparison.
I will give highlight.js a try.

Thanks for enabling tables in next version. Also would be nice when markdown extensions/profiles can be configurable in some next version.

I pull the latest code. Still not working. Is there configuration to be set?

name
age

Tom
18

Nope, it should just work.


Allow schemas to be written in YAML format as well

Writing JSON by hand is a painful experience. YAML is much better for that. Hence, this PR allows schema definitions to be written in YAML as well. The code first checks for the JSON definition and uses YAML as a fall-back.

cc @wikimedia/services

s/js/json done


When multiple crate nodes are listed in the connection string, only one is actually used

When checking the monitoring for our crate clusters (v0.49.4) I have noticed that only one of the crate nodes listed in the jdbc connection string is actually being utilized. We have nodes which only act as clients (no master and no data) and the heap usage for one of them shows lots of usage and GC and the others show a nearly constant level of usage. I suspect that only the first client listed is used unless it is down, then the next one is used. I would expect the jdbc driver to round-robin in order to spread the load across nodes.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27063026-when-multiple-crate-nodes-are-listed-in-the-connection-string-only-one-is-actually-used?utm_campaign=plugin&utm_content=tracker%2F2398677&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2398677&utm_medium=issues&utm_source=github).

The jdbc driver client actually works correctly. It delegates a list of hosts from the connection string and queries to the internal crate client which spreads the load across nodes by randomly choosing a node from a cluster state. There might be another issue. Could you force garbage collection on the node which shows the high heap usage and report the outcome?

I doubt that forcing a GC would make any difference. The graph above shows the stereotypical sawtooth pattern of memory usage and large GC, but only one one of the nodes. All of the others have nearly static memory usage. The one is the graph of a JVM doing work, the other is a JVM just idling.
I'm not sure from your description that the driver is doing the correct thing. It sounds like you're saying that the jdbc driver connects to a client host and lets that client and the crate cluster farm out the query as needed. This is fine if you only have 1 client node but we have 4 in this case. If the jdbc driver always sends its requests to one client then the other clients never do anything, as they have no data on them.

Another important point is that this is with crate 0.49.4.

Looking through the code myself, assuming all is working properly, TransportClientNodesService appears to loop through the nodes it has in its local list sequentially each time it is executing a statement. However, all of the sampler and retry code below is too complicated for me to verify that it is doing what I expect at a glance.

@reversefold, why we're asking to trigger GC manually and see what's happening ist that it might be possible that the jdbc client has a memory leak and we're trying to look at this. the random selection of clients seems to work correctly. i think you can do it via commandline using JMX. i don't know how by heart, but could look it up if that helps.

So you're asking for GC on the node using jdbc? The graph attached above is for the crate client nodes, not the nodes connecting via jdbc. It's not the memory usage of the jdbc driver itself I'm pointing out here, it's the heap usage of the crate client nodes.

All of the monitoring for the client nodes backs up this conclusion, by the way. CPU usage, thread count, and network usage all show the same pattern, one node is much higher than all the rest and the others basically stay static at a steady/idle, state.

we were asking for gc on the node that shows that behaviour. and just being curious, if you modify the connection string (e.g. removing that node from the connection string) another machine shows the same behaviour?

Well, I feel sheepish. I looked again at our configuration and which nodes were showing the increased heap usage. I'm not sure if we shared this explicitly before but we are separating our client nodes into 3 "pools", one for "real-time" read usage, one for writing, and one for scheduled reporting. According to one set of configuration (the one I was looking at when I opened this issue) the 3 nodes with high usage are spread across all 3 "pools", hence my conclusion. Looking at a second set of configuration, though, which is the one that our systems actually use when configuring the clients, the 3 high usage nodes are the read nodes, which get the most queries and traffic.
In other words, I was wrong and your conclusions are validated. Thanks much for looking through this with me.

phew :) good news. thanks


Use different icon for "Global" settings

Description of bug
Any settings, which do not affect current site only in a multi tenant DNN installation, gets marked with a special icon, currently a globe icon. However, in a multilingual site, this could be misinterpreted to affect special regions or languages only. I suggest to use a different icon, which is not connotated to regions or languages
Steps to reproduce
List the steps to reproduce the behavior:
Login as Admin or Superuser, enter e.g. Server > Server Settings > SMTP Server.
Current result
Note the icon to the left of most settings, when in host mode. This looks like a globe.
Expected result
use an icon, which cannot be misunderstood to be language or region specific.
Affected version

[x] 9.2.2
[x] 9.2.1
[x] 9.2
[x] 9.1.1
[x] 9.1
[x] 9.0

Affected browser

[x] Chrome
[x] Firefox
[x] Safari
[x] Internet Explorer
[x] Edge

I'll try to submit a PR

I like both the icon ideas, however to put a twist on the subject matter here how about a globe icon for the languages with the first character of three different supported commonly used but completely different languages, and the globe can stay with a www instead of the three other characters.
Or a World icon for the languages and leave the globe for the websites.  The globe is website symbol and the World in international in my mind.
Languages Icon free to use( Aጰﻱ type letters on top if needed for more clarity):

or

Websites could this one ( www on top if needed for more clarity)

:

Nevermind I see what you are saying
replacing the World Globe here:

It is such a small icon.
https://fontawesome.com/icons/share-alt?style=solid
A version of this icon above maybe best to represent it is global.
I can create something if I know what the required best format would be for the project.

This icon usually represents "Share", I would go more like a server icon or some such


Statement->fetchAll(\PDO::FETCH_OBJ) returns arrays

Hi,
the following query should returns an array of anonymous objects
$items = $database->table("any_table")->limit(3)->fetchAll(\PDO::FETCH_OBJ);

Instead, it is returning an array of arrays. Using the fetchAll directly as:
$q = $pdo->query("select * from any_table limit 3");
$items = $q->fetchAll(\PDO::FETCH_OBJ);

works as expected.
Apache/2.4.46 (Win64) OpenSSL/1.1.1g PHP/7.4.10

OK, I've found the problem, in SelectQuery:fetchAll we have no args:
   public function fetchAll(): array
    {
        $st = $this->run();
        try {
            return $st->fetchAll();
        } finally {
            $st->close();
        }
    }

So it always gets the default which is FETCH_ASSOC.
   public function fetchAll(int $mode = Statement::FETCH_ASSOC ): array
    {
        $st = $this->run();
        try {
            return $st->fetchAll($mode);
        } finally {
            $st->close();
        }
    }

should do the tricky. If that's ok I can create a pull request for that.

We'll appreciate PR for that.


pod install failed

Installing Realm (0.97.0)
[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup
core is not a symlink. Deleting...
Downloading dependency: core 0.95.5
Downloading core failed. Please try again once you have an Internet connection.

cocoapods-0.39.0
xcode7.2

Are you possibly attempting to download Realm from China? If so, we're tracking some issues with that in #2713, and note some possible workarounds such as using a VPN or downloading a release from GitHub.

I get a similar issue;
[!] /usr/local/bin/bash -c
set -e
sh build.sh cocoapods-setup

core is not a symlink. Deleting...
Downloading dependency: core 0.95.5
Downloading core failed. Please try again once you have an Internet connection.

@worchyld Are you possibly attempting to download Realm from China? If so, we're tracking some issues with that in #2713, and note some possible workarounds such as using a VPN or downloading a release from GitHub.

sadly i am not sure if i am downloading it from china, all i do is put in the podfile command and enter pod install.

@worchyld are you, yourself in China? If so, you're likely experiencing #2713 and should try one of the workarounds I've mentioned. Have you tried one of my suggestions yet?

Same thing here, trying to install from Poland.
Installing Realm (0.96.3)
[!] /bin/bash -c
set -e
sh build.sh cocoapods-setup

core is not a symlink. Deleting...
Downloading dependency: core 0.95.4
Downloading core failed. Please try again once you have an Internet connection.

I solved my issue by downloading realm from Github and manually installing it

@GaborWnuk asking the obvious: were you connected to the Internet when running pod install? Have you tried again since? When you visit https://static.realm.io/downloads/core/realm-core-0.95.4.tar.bz2 in your web browser, does the file download successfully?

I am working in VPN, but I still get this issue

I'm closing this as there's no actionable steps for us to take. Downloads will occasionally fail, there's not much we can do about that. The error message being printed is accurate. We are taking steps to improve the situation in China, however: #2713.


No export member 'TWrapMiddleware'

Just installed deno (version 1.13.0) on a new VM, made a test folder, created an app.ts file and copied the first example from 'Usage' section in the Nhttp documentation to it. When I run it with the following command:
deno run --unstable --allow-net --allow-read app.ts

I get the following error:
error: TS2305 [ERROR]: Module<EMAIL_ADDRESS>has no exported member 'TWrapMiddleware'.

Please let me know if I'm doing something wrong.

Thanks for created this issue... i will fix ASAP in the next release...

fix in new version 1.0.0
import { NHttp } from<EMAIL_ADDRESS>

Thank you for the quick response.


Will too much lager log lead to CPU arise？

Recently，I have a erlang gateway project in rancher. One pod' CPU arise, alive, can't be accessed in.
Last year, I have used tsung to test it, one lager log cause -66%, two -82%.
Is there any idea or infomation? thank you.

Writing to the console is generally more CPU intensive than writing to disk files so make sure you’re not logging to the console.
That being said, depending on the quantity of log messages there can be an overhead that is measurable - you may want to consider logging messages at a higher severity level or removing log messages that are no longer necessary for general operation of the application

Writing to the console is generally more CPU intensive than writing to disk files so make sure you’re not logging to the console.
That being said, depending on the quantity of log messages there can be an overhead that is measurable - you may want to consider logging messages at a higher severity level or removing log messages that are no longer necessary for general operation of the application

Thankyou.  I'm logging to the /logs/console.log. I will send log to elk later and try to resolve that issue.


Change the way buffers are allocated (Buffer.alloc() iso new Buffer()).

Please update the library, since the usage of new Buffer is deprecated.

@OSjoerdWie Thanks for the PR! Can you update the code so that it passes CI?

Coverage remained the same at 69.714% when pulling a2e69c3ee9a1d9d3d5f067e57ef31896a0a199c1 on OSjoerdWie:buffer_alloc into a0699e21be2d2dab80fb356bb67cf2244c33ea52 on node-ffi-napi:master.

Apologies. Seem to have overlooked the test while applying the same to ref-struct-di.

Thanks, published in v1.2.2! :)


Nested routers does not work

Or at least there is no clear example on how to do this....
I'm loading a widget within an ng-view placeholder. and that widget is loading an html that has a ui-view element.
For that widget I defined a route with a controller, that shows some table content on the ui-view....for a little while. after that, it all disapears. even the content of the ng-view dissapears...
I have only one microapp, but I want that microapp to manage its own routes....Am I doing something wrong ? do I have to load the dependencies in a different way ? It seems like a change on a state on the ui-router is affecting the external view....please advice.
This is the dom structure when I load the widget. the "main" state is defined and has a controller and a template (no errors when loading the template, and controller code executes normally)
<ng-view ng-if="appReady" class="ng-scope">

        <ng-widget src="src" options="options" delay="1" class="ng-isolate-scope">

                Information

                <ui-view class="ng-scope"></ui-view>

        </ng-widget>

</ng-view>

It appears to be a know issue when you try to consume a ui-route inside in another ui-route.....
So the unique workaround is use ng-route and inside a ui-router.... any ideas to fix this?

Sorry, I could understand whether you are using ng-route or ui-route for the external router. There is an example in this repo which shows a working demo for using ui-route inside ng-route so you can take a look...  Using ui-route as the external router is currently not supported.


panic at  etcd-client-0.12.4/src/client.rs:103:18

Can you give more details about the panic?

Sorry, no more details, only the follows:

@aishen944 If you can share the code you write that hits this panic, it would be helpful. For example, setups, steps, etc.


build(deps): bump mocha from 8.0.1 to 8.4.0

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


Push notifications don't work on Andnroid Marshmellow

When upgrading to the new Android version suddenly the push notifications weren't received.

Could be an issue in the underlying plugin and not the wrapper. Which push plugin wrapper are you using? And are there any open issues on the Cordova plugin page about Marshmellow?

This is wrapper I've used.
http://ngcordova.com/docs/plugins/pushNotifications/

@Zeladgolan You should use $cordovaPushV5 for notifications, because previous version is deprecated. Look at available methods here https://github.com/driftyco/ng-cordova/blob/master/src/plugins/push_v5.js

Thanks @vitaliy-bobrov, Should I just replace the js file or install the whole plugin?
cordova plugin rm
cordova new_plugin add?

@Zeladgolan here a bit of tested code:
angular.module('myApp', ['ngCordova'])
        .run(function ($cordovaPushV5) {
            var pushConfig = {
                android: {
                    senderID: "_YOUR_ID_"
                },
                ios: {
                    alert: "true",
                    badge: "true",
                    sound: "true"
                },
                windows: {}
            };
            document.addEventListener("deviceready", function () {
                $cordovaPushV5.initialize(pushConfig)
                        .then(function (push) {
                            push.on('notification', function (notification) {
                                // WHAT TO DO ON PUSH NOTIFICATION?
                                // CHANGE FOLLOWING CODE ACCORDING TO YOUR NEEDS
                                alert(JSON.stringify(notification));
                            });
                        });
                   $cordovaPushV5.register().then(function (result) {
                    // Success
                    alert("Successfully registered for PUSH NOTIFICATION: " + result);
                }, function (err) {
                    // Error
                    alert("Error registering for PUSH NOTIFICATION: " + err);
                });
            });

        });


BLE support?

I got your dasher setup working beautifully on my rpi2, with auto-startup.
I'm new to github so pardon if this is the wrong place. Was wondering, with the rpi3 out now, if you've considered using BLE with node to expand the project. I've been reading on the Misfit Flash/Link (recently on sale from manufacturer for $5/ $3) and thinking with the ability for multiple functions (single press, double press, etc) that it would be an excellent next expansion/evolution for this project.

Thanks for the suggestion! But the project probably won't be expanding outside of dash buttons.


I cant watch youtube

[Enter feedback here] I cant watch youtube because they say its blocked😒

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

ID: a0dff9d4-34da-5563-4b34-ca5ef03ade06
Version Independent ID: 55519333-e802-ec65-1b49-8fe64fe04825
Content: Change DevTools placement (Undock, Dock to bottom, Dock to left) - Microsoft Edge Developer documentation
Content Source: microsoft-edge/devtools-guide-chromium/customize/placement.md
Service: microsoft-edge
Sub-service: devtools
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

plsssswsxs

This repository is specific to Edge developer documentation.
Can you please send your feedback again by using the browser's feedback mechanism? Here's how:

Click Settings and more (the ... button in the top-right corner of the browser).
Click Help and feedback.
Click Send feedback.

Thank you for your understanding.


SASS Variable Inheritance

Looks like the inheritance of the variables in the SCSS files is backwards.  Too much less on the brain, I suppose.

This was corrected in 8eef4dfc4427324dfd02e6e5ca48fc3fc2abccd4, and released in v1.2.1.


Possibilities of adding side features?

Hi,  Thanks for constantly maintaining this repo.  I understand that this paper mainly focuses on the situation without side information, but in the experiments, IGMC seems to outperform many other models with side features.  If we do have some side information (say, we have user features but not item features), can we add those features in a meaningful way to IGMC?  Or could you recommend some other recent works in this regard (inductive recommendation w/ some side features)?  Thanks in advance!

Yes, you can use side features in IGMC. I have tried several ways (such as only using the target user and item's features) but they do not work better, though I didn't go into it deeply. You can check how I leverage side features in this block of code. Uncomment/comment the True/False to switch between different ways. And you also need to append "--use-feature" to your command. You may also need to modify the GNN code to adapt to process features with different shapes.


Fix RITE Launcher image

@pauls4GE Duplicate to #40? Closing this (as duplicate) & commenting 40 with details.


hyperlink and wording fix

Changed AnalyticsTracker to AnalyticsRetriever, since that is what the topic was discussing.
Fixed the bottle.py hyperlink, since it was trying to link relative instead of the bottlepy.org webpage.

Thanks for doing this @rhaarm, can you make a new pull request merging against the develop branch?


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/105538

TagBot fix

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/105538

Triggering TagBot for merged registry pull request

TagBot fix


ROX-26380: Add hook to allow management of column visibility

Description
As titled. This hook will allow us to pass a table id and column configuration, and provide state and functions to manage the data in local storage.
// eg
const tableId = 'a-really-great-table';
const defaultColumns = {
    cve: {
        title: "CVE",
        isShownByDefault: true,
    },
    severity: {
        title: "Severity",
        isShownByDefault: false,
    },
};

const { columns, toggleVisibility, setColumns } = useManagedColumns(tableId, defaultColumns)l

This PR does not include implementation in the product, but the behavior is validated via unit tests.
User-facing documentation

[x] CHANGELOG is updated OR update is not needed
[x] documentation PR is created and is linked above OR is not needed

Testing and quality

[x] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[ ] CI results are inspected

Automated testing

[x] added unit tests
[ ] added e2e tests
[ ] added regression tests
[ ] added compatibility tests
[ ] modified existing tests

How I validated my change
npm run test

Awesome addition! One suggestion: maybe we consider adding analytics to toggleVisibility? It could be beneficial to see how many users utilize column management and better understand what columns they care most about.

@bradr5 Analytics is a good idea. Given how the PF modal works, we would likely track every available column each time the settings were changed for a table. I wonder what actions we could take based on this information? Possibly hiding columns by default that are frequently hidden by the user?

@dvail Yeah that was kind of my thought  – see what columns users frequently hide and consider hiding them by default. We could also just get a better feel for how often users are using column management which might encourage us to implement this on older tables, or even consider storing table preferences in our db.


Problem with converting

Hi! I have some problems while trying to use your script. Can you help me to find why it doesn’t work?
Traceback (most recent call last):
 File “C:\Users\freemanvrn\Desktop\convert\convert.py”, line 13, in
 e = ET.parse(file_path).getroot()
 File “C:\Python27\lib\xml\etree\ElementTree.py”, line 1182, in parse
 tree.parse(source, parser)
 File “C:\Python27\lib\xml\etree\ElementTree.py”, line 656, in parse
 parser.feed(data)
 File “C:\Python27\lib\xml\etree\ElementTree.py”, line 1653, in feed
 self._raiseerror(v)
 File “C:\Python27\lib\xml\etree\ElementTree.py”, line 1517, in _raiseerror
 raise err
ParseError: reference to invalid character number: line 53, column 5242
Thanks!

Please check similar issues #7 #11 #12


Fill handle feature

Describe the new feature being added
Implement a fill handle
How will this feature improve this extension
There may be times when you need to copy the content of one cell to several other cells in your data table. You could copy and paste the content into each cell, but this method would be time-consuming. Instead, you can use the fill handle to quickly copy and paste content to adjacent cells in the same row or column.
Describe alternatives you've considered
N/A
Additional context
N/A

Possible UX for the fill handle feature

Figma Prototype Link


Document how to get started

As a newbie to C# and Unity (and obviously HoloLens) I took some wrong turns that led me down the path of importing HoloToolkit as a Git submodule rather than as a Unity package. As a result I raised a couple of invalid issues here (#89 and #90).
This Getting Started guide is intended to prevent others making the same mistakes (and for me to have your team review my approach to ensure I got it right this time).
Fixes #89 and #90

Hi @rgardler, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

This would also resolve #94. I think we should update the portion on dealing with the unsafe code to suggest copying the *.rsp files contained in the HoloToolkit-Unity/Assets directory instead of asking users to create their own.

@rgardler, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

If user's use it as a package either creating one themselves or from the Unity asset store, then do we still need to specify the *rsp dependency?

It looks like it'll work fine as long as the package includes the *rsp files. If we have directions on creating their own package we should note that things outside of Assets/HoloToolkit are required.

Agreed. Ross please add that information in here as well.

I already made the change relating to *.rsp files after a colleague tested on a new project. See the most recent commit - https://github.com/Microsoft/HoloToolkit-Unity/pull/91/commits/e580d7afe5866d0f45b5b5ebe2623a4a1412a96b

Oh... wait, I should have checked that commit before saying I'd already done it. Looks like I forgot to save the file after the last edit. Will update momentarily.

The steps outlined do look to include everything in the toolkit, so I'm good here.


Wrong mode when accept lsp candidate within dartls

Make sure you have done the following

[X] I have updated to the latest version of blink.cmp
[X] I have read the README

Bug Description
nvim enter wrong mode when accept from lsp candidate within dartls, select mode is the expected mode, but there is still in insert mode when I accept lsp candidate within dartls, following is the demo:

Relevant configuration
{
  'saghen/blink.cmp',
  event = { 'LspAttach' },
  dependencies = 'rafamadriz/friendly-snippets',
  version = 'v0.*',
  opts = {
    keymap = {
      ['<TAB>'] = {
        'select_next',
        'snippet_forward',
        'fallback',
      },
      ['<S-TAB>'] = {
        'select_prev',
        'snippet_backward',
        'fallback',
      },
      ['<C-e>'] = {
        'hide',
        'fallback',
      },
      ['<CR>'] = {
        'accept',
        'fallback',
      },
      ['<C-b>'] = { 'scroll_documentation_up', 'fallback' },
      ['<C-f>'] = { 'scroll_documentation_down', 'fallback' },
    },
    nerd_font_variant = 'mono',
    windows = {
      documentation = {
        auto_show = true,
        auto_show_delay_ms = 50,
      },
    },
  },
  opts_extend = { 'sources.completion.enabled_providers' },
}

neovim version
NVIM v0.11.0-dev-4352+g0e2f92ed79-Homebrew Build type: Release LuaJIT 2.1.1731601260
blink.cmp version: branch, tag, or commit
v0.5.1

Much of the accept code has been reworked in v0.6.0, can you try replicating the issue there? If you're still running into the issue, it would also be helpful if you could test on nvim v0.10

Much of the accept code has been reworked in v0.6.0, can you try replicating the issue there? If you're still running into the issue, it would also be helpful if you could test on nvim v0.10

Yeah, I retry the latest version v0.6.1 and neovim stable version v0.10, but unfortunately, none of them worked.😥

You'll want to report this upstream to neovim since we're using vim.snippet.expand internally for this. Using ${0:placeholder} seems quite odd though


refactor: Update profiles for refactored http export with secret header

close
Signed-off-by: lenny<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
Unable to override SecretHeader value in InsecureSecrets as the header name is used as the key in the TOML.
Issue Number: #197
What is the new behavior?
Now able to override SecretHeader value in InsecureSecrets as the key in the TOML is not the header name and the key can remain as specified in the ASC profiles allowing it's value to be overridden as with any other values in the TOML.
Does this PR introduce a breaking change?

[x] Yes
[ ] No

BREAKING CHANGE: Parameters have changed for HTTP Post/Put with SecretHeader
Are there any new imports or modules? If so, what are they used for and why?
no
Are there any specific instructions or things that should be known prior to reviewing?
Other information

recheck


About the Reinforce algorithm of the RAM model

Hi, I'm reading the code of the RAM model you implemented in the rnn package example. And I'm kind of confused of the loss function of the model.

loss = nn.ParallelCriterion(true)
:add(nn.ModuleCriterion(nn.ClassNLLCriterion(), nil, nn.Convert())) -- BACKPROP
:add(nn.ModuleCriterion(nn.VRClassReward(agent, opt.rewardScale), nil, nn.Convert())) -- REINFORCE

In the paper http://papers.nips.cc/paper/5542-recurrent-models-of-visual-attention.pdf, see the formula at the bottom of page 4, the author mentioned M samples si,

si’s are interaction sequences obtained by running the current agent πθ for i = 1 . . . M
episodes.

So where is the M variable present in the previous loss function?
Many thanks.

M is the number of iterations in the epoch, i.e. the number of samples in the dataset. This is handled by the sizeAverage attribute of most criterions in nn.

@nicholas-leonard Oh, thanks a lot. It helps. :p

@nicholas-leonard To be clear, I think M is the number of samples per batch here, right?

Yes.
Nicholas Léonard
917-741-7570
On Tue, Mar 22, 2016 at 9:41 PM, vyouman<EMAIL_ADDRESS>wrote:

@nicholas-leonard https://github.com/nicholas-leonard To be clear, I
think M is the number of samples per batch here, right?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Element-Research/rnn/issues/175#issuecomment-200120677

Thanks a lot. Let's close the issue. :p


Add appt command and appt view

Notable changes:

resolves #45
resolves #43
splits the view into two (person & appointments)

Note that we use addappt instead of add appt because the current parser implementation can only take in one-word commands.


Build failure: ollama (ROCm)

Steps To Reproduce
Steps to reproduce the behavior:

Enable ROCm in build
build ollama 0.1.31

Build log
https://gist.github.com/nonetrix/10fdd65e4e3e756a56b9053a96f9acf8
Additional context
Using RX 6800
Notify maintainers
@abysssol @dit7ya @elohmeier
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
~
♥ ❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.5, NixOS, 24.05 (Uakari), 24.05.20240412.cfd6b5f`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"home-manager, nixos"`
 - nixpkgs: `/nix/store/yy5l09gfsagkv8rswblknmsjc2gyr20d-source`

Add a :+1: reaction to issues you find important.

I believe that this should be fixed by #304736, if it's the same problem (which I think it is). It'll take a few days for that to get into an unstable release.


Redirect URL error

now, i have a domain, pogisle-unban.tk, what should be the redirect URL? i already deployed the website to that domain

The redirect error should be https://pogisle-unban.tk/.netlify/functions/oauth-callback


add deploy docker images workflow

Add a workflow to build and deploy docker images

could this workflow be set to build and push image when tag a new version?

could this workflow be set to build and push image when tag a new version?

Yes, the workflow can be set to run when pushing commits with a tag. see https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags
Should we set a tag like release or something?

yeah, we'd better trigger this workflow when tag a new version

yeah, we'd better trigger this workflow when tag a new version

I modify the workflow. Now this workflow is triggered by tag v[0-9]+.[0-9]+.[0-9]+ like v0.2.0, and the images' tag can be extracted from it. see action in my repo https://github.com/qsliu2017/train-ticket/actions/runs/1115806761

LGTM


Corruption when loading old micro:bit PXT script to new PXT release

Hi
I have strange results while testing  PWM features on new PXT release
microbit-Radio-Tx-P0M2.zip
.
I have loaded to the new PXT, three hex files created on 28 Dec 2016.

The first Receiver script loaded into PXT editor correctly.  It had an analogue out pin 1 that I really wanted to be pin 8 so I edited the change. It compiled and was flashed to the 1st micro:bit correctly and its LEDs behaved as expected.  Testing pin 8 with a LED it is certainly variable in brightness so without using a scope I would say PWM is working on pin 8. (I have no Kitronik Breakout board until next week to test properly using the 'scope).

The problems occurred when I tried to load the two 28/12/16 transmitter hex files to the PXT editor.  In both cases the JavaScript was highly corrupted  see image of screen below when I converted to block code.  When loaded as block code the group and power blocks were missing.  It seemed like the On Start block had been dropped. I was about to report this as a serious error when I decided to close the PXT editor and start a fresh instance of it.  To my surprise the main block code appeared correctly (it was not visible on the old now closed instance of PXT)  However there was some greyed out code that obviously was missing an On Start block.  I pulled out  an On Start block and slotted the start detail blocks into it.  The script then compiled and was flashed to a second micro:bit where it started interacting correctly with the previous flashed receiver script micro:bit.

So I repeated this sequence with the second (slightly different) transmitter 28/12/16 hex file and got the same corruption using the new PXT editor.  I closed this editor down and opened a new editor and the block script appeared but with the grayed out start sequence. So I added its On Start block and it compiled, was flashed and worked as expected.
I have attached one of the original 28/12/16 transmitter hex files for you to try.  And below is the first screen after loading the same hex file.  The second image was taken immediately after the first but from a new instance of the PXT editor.
David Booth
Inline images 1
Inline images 2

@pelikhan  any update on this P1 issue?

The microbit issues have moved to https://github.com/Microsoft/pxt-microbit repo.
If this is still an issue please open the issue in that repo or let us know, we will reopen in that repo.


v1.12 backports 2023-02-18

[ ] #23763 -- envoy: Avoid empty typeURL for all resources (@sayboras)

Once this PR is merged, you can update the PR labels via:
$ for pr in 23763; do contrib/backporting/set-labels.py $pr done 1.12; done

/test-backport-1.12

/test-1.17-4.9

/test-backport-1.12

Were there any conflicts?

Yup :(, I need to drop a couple of changes as those files are not available in 1.12 :(

/test-1.20-4.9

runtime test failed https://jenkins.cilium.io/job/Cilium-PR-Runtime-net-next/5091/ due to the below test cases. I can't find any existing issue, re-run to confirm if it's flake.
	 [10:45:22] START: route_linux_test.go:234: RouteSuitePrivileged.TestListRules
	 [10:45:22] Inside new network ns
	 [10:45:22] route_linux_test.go:235:
	 [10:45:22]     testListRules4(c)
	 [10:45:22] route_linux_test.go:487:
	 [10:45:22]     c.Errorf("expected len: %d, got: %d\n%s\n", len(wantRules), len(rules), diff)
	 [10:45:22] ... Error: expected len: 3, got: 5
	 [10:45:22]   []netlink.Rule{
	 [10:45:22]   	{
	 [10:45:22] - 		Priority: -1,
	 [10:45:22] + 		Priority: 9,
	 [10:45:22]   		Family:   0,
	 [10:45:22] - 		Table:    255,
	 [10:45:22] + 		Table:    2004,
	 [10:45:22] - 		Mark:     -1,
	 [10:45:22] + 		Mark:     512,
	 [10:45:22] - 		Mask:     -1,
	 [10:45:22] + 		Mask:     3840,
	 [10:45:22]   		Tos:      0,
	 [10:45:22]   		TunID:    0,
	 [10:45:22]   		... // 12 identical fields
	 [10:45:22]   	},
	 [10:45:22] + 	s"ip rule 10: from all to all table 2005",
	 [10:45:22] + 	s"ip rule 100: from all to all table 255",
	 [10:45:22]   	{Priority: 32766, Table: 254, Mark: -1, Mask: -1, ...},
	 [10:45:22]   	{Priority: 32767, Table: 253, Mark: -1, Mask: -1, ...},
	 [10:45:22]   }
	 [10:45:22]
	 [10:45:22]
	 [10:45:22]
	 [10:45:22] Closed new network ns
	 [10:45:22] Set back to previous network ns
	 [10:45:22] Inside new network ns
	 [10:45:22] Closed new network ns
	 [10:45:22] Set back to previous network ns
	 [10:45:22] FAIL: route_linux_test.go:234: RouteSuitePrivileged.TestListRules

/test-runtime

The above flake is tracked in https://github.com/cilium/cilium/issues/23869


Error getting plugin with webworks

When using
webworks plugin add cordova-plugin-preventsleep
I get the error:
{ [Error: getaddrinfo ENOTFOUND] code: 'ENOTFOUND', errno: 'ENOTFOUND', syscall:
'getaddrinfo' }
I'm using webworks 2.2, the proxy settings are set up correctly, and other plugins appear to install correctly

cordova-plugin-preventsleep is on NPM, not the old cordova registry. WebWorks 2.2 is quite old now and doesn't know about the move to NPM for plugins. There's a bunch of details on that here: http://devblog.blackberry.com/2015/09/cordova-5-x-for-blackberry-10/
If you want the right plugin for WebWorks 2.2, without going through an update of your environment, use "com.blackberry.display". That's the version that was posted to the cordova registry.
Note that while the registry is still live at this time, it's well past it's planned shut down, and could be gone at any point now.


add contributors

Added myself and MG to the list to keep it up to date in the app.
Let me know if I should add others or if you have any tweaks/suggestions.

@jashot7 add Monique please.

I think there are some other people that have contributed code, but I'm not sure what a fast way to find them is.

@jjeffryes Added Monique and the mobile contractors Daniel Zheng and Jiting Song.
@drwasho Can you just confirm those names are correct?

I do believe this is now ready for merge, @jjeffryes or @rmisio.

@jjeffryes let's merge this bad boy!


Update Boost Context

I've been looking over the version in this repo vs the upstream and there is a few issues i'm finding compared to the latest version, plus we'd probably get apple silicon support which would be nice: https://github.com/boostorg/context/commit/1c763c9796681fccf173ec69fa6da182dba77493
Here are some of the commits that should certainly be applied regardless looking over everything:
https://github.com/boostorg/context/commit/50ebf5bd1160623cbbf169f6a5d7ddff04e9d1ef
https://github.com/boostorg/context/commit/002ed389531e31a24d16edc280a6ac01a6166375

I'd prefer to keep it as a fork. (one of the reasons I forked it was that the boost context API kept changing). That said, we can definitely port their fixes. Apple silicon shouldn't be too hard to add, since we already have ARM for elf. MachO uses sysv calling convention as well. So the only difference between elf and macho asm files is some calling macros

i mean to be fair the fcontext api hasn't changed at all since you forked it as far as i can tell: https://github.com/boostorg/context/commits/develop/include/boost/context/detail/fcontext.hpp
And development over time on the project has been trending downwards since then:

Another option is using maybe this fork which while isn't fully up-to-date with the current boost context, it's a lot newer and has all of the backends functional atleast.

That's an interesting option. It's got some decent stars and is used by some facebook research project. I don't like the API change, but I'm also curmudgeonly. I'll live


chore(build): add browser build

This PR adds a browser build.  It will be used in online editors (jsFiddle, Codepen, etc.) for bug reports.  We may also find use for this build in v2 of the doc site.

Current coverage is 98.74% (diff: 100%)

Merging #518 into master will increase coverage by <.01%

@@             master       #518   diff @@
==========================================
  Files           106        107     +1
  Lines          1753       1754     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1731       1732     +1
  Misses           22         22
  Partials          0          0

Powered by Codecov. Last update 5564d44...45eac5a

Released in<EMAIL_ADDRESS>


Ability to control the USB recorder on the mixer

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
Not related to a problem.
Describe the solution you'd like
It would be nice to have the ability to control the on board USB recorder with Home Assistant.
Describe alternatives you've considered
I have not considered or know of any alternative.
Additional context
We upgraded to x32 Rack digital mixer and put it in a locked rack cabinet (because some users  don't know what they are doing) and only provided On/Off switches for the users to turn on/off mixer and amps. With the help of this godsend of an integration, we are also able to let users load "scenes" from the mixer on a tablet running home assistant app. Scene switching takes care of fader levels and muting/un-muting of channels & buses etc without giving them full access to x32edit.
The need of recorder controls in home assistant app arises when we need to record audio on a USB on special occasions. The idea is that x32 Rack mixer stays locked away from people who don't know what they are doing while giving them very minimal set of controls through home assistant.

I'm glad you find the integration useful.  I also have a mixer card (https://github.com/wrodie/mixer-card) for HA Dashboards to control faders/mutes that might be useful to give your users the ability to change faders easily within HA.
In terms of what you are looking for with the USB recorder, would it purely be start/stop recording? or do you need to play back etc.

Purely to start / stop recordings. I can't think of a use-case to play/pause recordings from home assistant at the moment. It would be icing on the cake if there was an indicator to know when it is safe to pull the USB out.

It doesn't look like the Behringer API supports any kind of notification on when the USB is safe to remove.

meh that's ok, I guess users can be trained to not unplug the USB stick while USB indicator is lit.

I've just released a new version that has a couple of new features

You can now see the current USB filename being recorded to
The 'tape' status field. This shows the current status of the recorder.  This is a select element that can then be changed to RECORD, STOP etc.

Hopefully this works for you, let me know if it doesn't.


Create first-class Gradle plugin for Obevo, similar to Maven plugin

Following this. @shantstepanian  thank you for the great tool. Do you know if their is a time frame for this ?

We do have an alternative to use in the meantime - https://goldmansachs.github.io/obevo/gradle-api.html
Though I would much prefer the native plugin, as mentioned here.
Haven't had this requested in a while, but it seems like relatively quick once I figure out the Gradle plugin API (which I haven't dealt with before). I can potentially consider this within the next 3 months if it would be a big benefit for you.


Automated cherry pick of #11837

Cherry pick of #11837 on release-7.7.
/cc  @koox00
NONE

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: c83ef655d9095d0074535a0c9de2025bccf96204


Unable to background chroot in Acer Chromebook 13 [CB5-311]

In my old Samsung ARM Chromebook I was able to background the ChromeOS shell, exit to CROSH, and exit the CROSH shell, then use shift+ctrl+alt + left|right arrows to switch between Ubuntu and ChromeOS.
On the Acer Chromebook 13 I am unable to do this.
Backgrounding the chroot causes the loss of ability to switch between ChromeOS and Ubuntu views.
Any hints on how to properly do this?
Thanks much,
-KenD

It should still work when using xmethiod 'xorg'.
I run mine in the background (-b) regularly and am still able to switch back and forth using the shift+ctrl+alt+left|right arrows.

I had the same issue and it was due to some problem with xiwi and updates. I had to uninstall xiwi by running sudo sh -e crouton -u -n trusty -t x11  from the directory where the crouton script is saved (\Downloads)


Register Aten Custom Ops

Hi, I'm trying to quantize and compile a PyTorch model with some Aten operations not supported by Vitis-AI yet. Specifically, I'm deploying the model (quantizing the model with test mode) but some errors occured:
[VAIQ_NOTE]: Quant config file is empty, use default quant configuration

[VAIQ_NOTE]: Quantization test process start up...

[VAIQ_NOTE]: =>Quant Module is in 'cpu'.

[VAIQ_NOTE]: =>Parsing RotatedSegmentDetector...

[VAIQ_NOTE]: Start to trace model...
/opt/vitis_ai/conda/envs/vitis-ai-pytorch/lib/python3.7/site-packages/torch/nn/functional.py:2359: UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor').
  _verify_batch_size([input.size(0) * input.size(1) // num_groups, num_groups] + list(input.size()[2:]))

[VAIQ_NOTE]: Finish tracing.

[VAIQ_NOTE]: Processing ops...
██████████████████████████████████████████████████| 403/403 [00:00<00:00, 2273.19it/s, OpInfo: name = return_0, type = Return]

[VAIQ_WARN]: The quantizer recognize new op `aten::mul_` as a float operator by default.

[VAIQ_WARN]: The quantizer recognize new op `aten::group_norm` as a float operator by default.

[VAIQ_WARN]: The quantizer recognize new op `aten::clamp_` as a float operator by default.

[VAIQ_WARN]: The quantizer recognize new op `clamp` as a float operator by default.

[VAIQ_NOTE]: =>Doing weights equalization...
/opt/vitis_ai/conda/envs/vitis-ai-pytorch/lib/python3.7/site-packages/nndct_shared/optimization/commander.py:454: RuntimeWarning: divide by zero encountered in true_divide
  scale = np.where(sqrt_of_ranges != 0, range_0 / sqrt_of_ranges, scale)
/opt/vitis_ai/conda/envs/vitis-ai-pytorch/lib/python3.7/site-packages/nndct_shared/optimization/commander.py:454: RuntimeWarning: invalid value encountered in true_divide
  scale = np.where(sqrt_of_ranges != 0, range_0 / sqrt_of_ranges, scale)

[VAIQ_NOTE]: =>Quantizable module is generated.(/workspaces/PheNet_Vitis-AI/quant_model/RotatedSegmentDetector.py)

[VAIQ_NOTE]: =>Get module with quantization.

[VAIQ_NOTE]: =>Converting to xmodel ...
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0328 02:17:35.101768 21213 tool_function.cpp:171] [UNILOG][WARNING] The operator named RotatedSegmentDetector__RotatedSegmentDetector_MobileNetV3_backbone__InvertedResidual_layer1__SELayer_se__ConvModule_conv2__HSigmoid_activate__20467, type: aten::clamp_, is not defined in XIR. XIR creates the definition of this operator automatically. You should specify the shape and the data_type of the output tensor of this operation by set_attr("shape", std::vector<int>) and set_attr("data_type", std::string)
W0328 02:17:35.176827 21213 tool_function.cpp:171] [UNILOG][WARNING] The operator named RotatedSegmentDetector__RotatedSegmentDetector_RotatedFCOSHead_bbox_head__ConvModule_cls_convs__ModuleList_0__GroupNorm_gn__input_309, type: aten::group_norm, is not defined in XIR. XIR creates the definition of this operator automatically. You should specify the shape and the data_type of the output tensor of this operation by set_attr("shape", std::vector<int>) and set_attr("data_type", std::string)
W0328 02:17:35.193320 21213 tool_function.cpp:171] [UNILOG][WARNING] The operator named RotatedSegmentDetector__RotatedSegmentDetector_RotatedFCOSHead_bbox_head__22828, type: cast, is not defined in XIR. XIR creates the definition of this operator automatically. You should specify the shape and the data_type of the output tensor of this operation by set_attr("shape", std::vector<int>) and set_attr("data_type", std::string)
W0328 02:17:35.193936 21213 tool_function.cpp:171] [UNILOG][WARNING] The operator named RotatedSegmentDetector__RotatedSegmentDetector_RotatedFCOSHead_bbox_head__22831, type: clamp, is not defined in XIR. XIR creates the definition of this operator automatically. You should specify the shape and the data_type of the output tensor of this operation by set_attr("shape", std::vector<int>) and set_attr("data_type", std::string)
F0328 02:17:35.193950 21213 wrapper.cpp:111] [UNILOG][FATAL][PYXIR_INVALID_DATA_TYPE][] Unsupported data type!
*** Check failure stack trace: ***
Aborted (core dumped)

Here is the script i run to quantize and deploy the model:
from mmcv import collect_env
collect_env()

# Check MMRotate installation
import mmrotate
print(mmrotate.__version__)

# Check MMDetection installation
import mmdet
print(mmdet.__version__)

# Check mmcv installation
from mmcv.ops import get_compiling_cuda_version, get_compiler_version
print(get_compiling_cuda_version())
print(get_compiler_version())

# from utils.postprocess import *
import glob
import os.path as osp
import shutil
import os
from tqdm.notebook import tqdm

import mmcv
from mmcv.runner import load_checkpoint

from mmdet.apis import inference_detector, show_result_pyplot
from mmrotate.models import build_detector
import torch
import numpy as np

from pytorch_nndct.apis import torch_quantizer, dump_xmodel
from icecream import ic
import sys
import argparse
import cv2
from utils.preprocess import preprocess
from utils.data import load_data
import glob
from tqdm import tqdm

from pytorch_nndct.apis import Inspector

def parse_args():
    parser = argparse.ArgumentParser(description='Testing config for the Implementation')
    parser.add_argument('-q',  '--quant_mode', type=str, default='test',
                        choices=['calib','test'], help='Quantization mode (calib or test). Default is calib')
    parser.add_argument('-cf',  '--model_config', type=str, default='')
    parser.add_argument('-c',  '--checkpoint', type=str, default='')
    parser.add_argument('-o',  '--out_model_dir', type=str, default='')
    parser.add_argument('-n',  '--num_data', type=int, default=100)
    args = parser.parse_args()
    return args

def calculate_size(model):
    size = 0
    sl = 0
    for name , param in model.named_parameters():
        ic(name, param.dtype)
        size += sys.getsizeof(param.storage())/1024**2
        sl += param.numel()

    print(f"model size : {size:.3f} MB")
    print(f"sl param : {sl} ")

if __name__ == '__main__':
    args = parse_args()
    output_dir = args.out_model_dir
    mode = args.quant_mode
    num_data = args.num_data

    ### Loading model
    # Choose to use a config and initialize the detector
    config = args.model_config

    # Setup a checkpoint file to load
    checkpoint = args.checkpoint

    # Set the device to be used for evaluation
    # device='cuda:0'
    device='cpu'

    # Load the config
    config = mmcv.Config.fromfile(config)
    # Set pretrained to be None since we do not need pretrained model here
    config.model.pretrained = None

    # Initialize the detector
    model = build_detector(config.model)

    # Load checkpoint
    checkpoint = load_checkpoint(model, checkpoint, map_location=device)

    # Set the classes of models for inference
    model.CLASSES = checkpoint['meta']['CLASSES']

    # We need to set the model's cfg for inference
    model.cfg = config

    # Convert the model to GPU
    model.to(device)
    # Convert the model into evaluation mode
    model.eval()

    # Specify a target name or fingerprint you want to deploy on
    # target = "DPUCAHX8L_ISA0_SP"
    # # Initialize inspector with target
    # inspector = Inspector(target)

    ### Export model
    model.forward = model.forward_dummy
    images = glob.glob \
    ('/workspaces/PheNet_Vitis-AI/data/slot_data_256_with_angle/valid/images/*.png')[:num_data]
    dummy_input = torch.randn([1, 3, 256, 256])

    # inspector.inspect(model, (dummy_input,), device=torch.device(device), output_dir="inspect", image_format="png")

    with torch.no_grad():
        quantizer = torch_quantizer(mode, model, (dummy_input), output_dir=output_dir, device=torch.device("cpu"))

    quantized_model = quantizer.quant_model
    quantized_model.eval()

    # val_loader, _ = load_data(
    #     images,
    #     subset_len=num_data,
    #     batch_size=64,
    #     sample_method='random',
    # )

    # for iteraction, images in tqdm(
    #   enumerate(val_loader), total=len(val_loader)):
    #     output = quantized_model(images)

    output = quantized_model(dummy_input)

    # for path in tqdm(images):
    #     input_tensor = file2tensor(path)
    #     output = quantized_model(input_tensor)

    if mode == 'calib':
        quantizer.export_quant_config()
    else:
        quantizer.export_xmodel(deploy_check=False, output_dir=output_dir)

with the command:
python test_code/inference_pth.py -q test \
-cf /workspaces/PheNet_Vitis-AI/models/multihead/rotated_fcos_kld_mbnv3_fpn_1x_dota_le90.py \
-c /workspaces/PheNet_Vitis-AI/models/multihead/multihead.pth \
-o /workspaces/PheNet_Vitis-AI/quant_model

I'm using Vitis-AI 2.5 for stability.
I read the docs about Register Custom Operation but I don't know how to apply this workflow to register these custom Aten ops. Could someone show me how?
Many thanks.

It turns out that I can modify these ops by using torch functions rather than tensor's functions and register these. The problem is solved!

It turns out that I can modify these ops by using torch functions rather than tensor's functions and register these. The problem is solved!
This is just a temporary fix and not applicable to other ops. I wonder if there is a better work around.

It turns out that I can modify these ops by using torch functions rather than tensor's functions and register these. The problem is solved!

This is just a temporary fix and not applicable to other ops. I wonder if there is a better work around.

@dungng27

It turns out that I can modify these ops by using torch functions rather than tensor's functions and register these. The problem is solved!

Can you elaborate a little more on this with a dummy example? I'd really appreciate it.

Did you manage to add validation for quantized model from MMEngine? Can you share please?

I'm also stumped on this, with the specific operators:
aten::meshgrid
aten::split_with_sizes

Hello，i also encounter the same problem as yours,i want to know if you have solved it?
Thirsty for your reply!

Hi, you have to replace these operations in your model definition with supported ones.

Hi, you have to replace these operations in your model definition with supported ones.

Thanks for your kind reply!
But i still have a problem that i have found meshgrid in make_anchors function,but i can't catch where the split_with_sizes is , could you tell me where aten::split_with_sizes is used?
Thanks.

Well, not sure which model and repository version are you using. Perhaps in PyCharm try "Find in Files" option with just "split_with_sizes".
In my case, I used RTMDet-Ins in MMdetection, but "split_with_sizes" occurred in post-processing, which quantizer anyhow  doesn't put in the model. So, everything after the model forward function, you'd have to implement yourself.

Well, not sure which model and repository version are you using. Perhaps in PyCharm try "Find in Files" option with just "split_with_sizes". In my case, I used RTMDet-Ins in MMdetection, but "split_with_sizes" occurred in post-processing, which quantizer anyhow doesn't put in the model. So, everything after the model forward function, you'd have to implement yourself.

fully thanks!
Actually i am using vitis-ai to quantize yolov8 model , i will try to find the op in post-processing.


Updated error messages and log config for automation

Changes included:

display the msbuild errors in the check result
shorten the log prefix in the config
use the short link for .net teams channel
remove the faq from the individual message as it has been printed in the first comment of the SDK automation check

Testing PR:
https://github.com/test-repo-billy/azure-rest-api-specs/pull/3421/checks?check_run_id=28345315280

/azp run

/azp run net - core - ci

/check-enforcer override


[improve-#13201] update pid during running

Purpose of the pull request

this close #13201
update pid during running

Brief change log
update pid during running
Verify this pull request

This pull request is code cleanup without any test coverage.
this close :#13201

Codecov Report

Merging #13206 (7f5e9b3) into dev (be81b22) will increase coverage by 0.15%.
The diff coverage is 4.34%.

@@             Coverage Diff              @@
##                dev   #13206      +/-   ##
============================================
+ Coverage     39.37%   39.52%   +0.15%
- Complexity     4276     4288      +12
============================================
  Files          1066     1072       +6
  Lines         40479    40551      +72
  Branches       4661     4667       +6
============================================
+ Hits          15937    16028      +91
+ Misses        22755    22742      -13
+ Partials       1787     1781       -6

Impacted Files
Coverage Δ

...duler/plugin/task/api/AbstractCommandExecutor.java
0.00% <0.00%> (ø)

...hinscheduler/plugin/task/api/AbstractYarnTask.java
0.00% <0.00%> (ø)

...phinscheduler/plugin/task/chunjun/ChunJunTask.java
0.00% <0.00%> (ø)

...ache/dolphinscheduler/plugin/task/dvc/DvcTask.java
65.21% <0.00%> (ø)

...phinscheduler/plugin/task/hivecli/HiveCliTask.java
45.28% <0.00%> (ø)

...he/dolphinscheduler/plugin/task/java/JavaTask.java
59.18% <0.00%> (ø)

...phinscheduler/plugin/task/jupyter/JupyterTask.java
62.85% <0.00%> (ø)

...olphinscheduler/plugin/task/linkis/LinkisTask.java
0.00% <0.00%> (ø)

...olphinscheduler/plugin/task/mlflow/MlflowTask.java
59.20% <0.00%> (ø)

...olphinscheduler/plugin/task/python/PythonTask.java
9.72% <0.00%> (ø)

... and 104 more

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

cc @SbloodyS @caishunfeng @zhuangchong @ruanwenjun

@SbloodyS @caishunfeng @zhuangchong @ruanwenjun


Ignore ConditionalCheckFailedException when updating

notification server and time in records. This error will appear after we try to update a record
that was already upated by a different zts server.

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

was the AWSCLIV2.pkg checked in by error?

Yes it was :)


Significantly increase Email Alert API latency alerts

Trello: https://trello.com/c/il1TsI3e/658-tweak-alert-latency-thresholds-for-email-alert-api-sidekiq-queues
In the past these alerts have been prone to alerting when the system is
busy, yet healthy, resulting in it being unclear whether a support engineer
should take any action. This has lead to these alerts being largely
ignored.
This commit changes the tolerance of latency to be significantly
greater. We chose these numbers by considering what the effects to users
are and what could cause the alert. The numbers are purposely high to
reduce the risk, as much as possible, that these alerts go off when the
system is busy yet otherwise healthy. We reflected, as there are no
guarantees or assurances of the time frame that emails would be sent in,
that in most cases getting an email delayed by hours is not a big concern.
Thus these alerts are based around the concern of what happens if these
queues get so big that the system is perpetually backed up. This is why 24
hours was chosen as a critical level as reaching this point would indicate
that the queue has not been worked through even when the system is quiet
(night time and/or out of office hours).
As there is a high priority queue, and that we expect work on that to be
completed quicker, the warning alert for that is much lower than
the other queues. This is so that we find out quicker for this queue than
there is significant latency. Three hours was chosen as this seemed a
reasonable amount of time to allow for a lot of email to send. We know
in the past that this queue can become quite backlogged if there is a
lot of concurrent Travel Advice publishing, so this is chosen to
hopefully cater for most regular publishing scenarios.
These changes were due to be made as part of a broader strategy to
evolve the Email Alert API alerting, however these unfortunately have
been paused due to the team being paused. The changes in this commit
were intended to be paired with much closer monitoring of individual
workers for failures, so that these alerts only act as a secondary
layer once systemic failure is ruled out. Since that hasn't occurred
it means this leaves the system alerting is somewhat vulnerable to not
alerting quickly if there is systemic failure. However, I'm not sure the
previous iteration of these alerts helped this much.

Really thorough explanation ⭐. One minor suggestion: could we link to the ADR somewhere, to give context when we say "broader strategy"?

Oh yes, good point. I've added that in.


replace ERO:immunoassay with OBI term & remove ERO from imports

Closes #313.

I replaced 'patient screening' with 'assay' in one axiom. The other ERO references were removed.


Updated gradle version to gradle 6

Summary

replaced findbugs with spotbugs as its no longer supported.
changed setting Directory variables of Jacoco to use setFrom as syntax has been changed in latest update

Pull Request Test Coverage Report for Build 1405

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 89.437%

Totals

Change from base Build 1401:
0.0%

Covered Lines:
3937

Relevant Lines:
4402

💛  - Coveralls


Inventory the Incubation Process Checklist and Confirm Task Ownership

https://www.apereo.org/content/apereo-incubation-process
Review Checklist
Confirm missing items with Benito/Blake

The Incubation Process has been reviewed and necessary tasks added to the project status report and /or Git Hub.  A draft of the Incubation Proposal has been drafted and will be submitted upon finalization of the name for the project.


Essence Dungeons Charts don't show chance of size/element

The charts displayed for essences in the Elemental Dungeons factor in the amount of essence dropped.
For the data below, I get the following chart. Note 1 Water Low drop vs 2 Water Mids.

Additionally in this data, mids dropped more often than lows, but because more total lows dropped, they get more chart.
Changing drop_count to Count('pk') in the following line:
https://github.com/PeteAndersen/swarfarm/blob/a3cd9656f9a989bad26376c27269b6a22b2aa520/sw_parser/views.py#L1098
I get a chart with percentages I would expect:

As it currently stands, levels that drop more mids per drop will have an equal chart size as levels that drop mids more often.
My instinct was that the charts showed the percentage likeliness of a drop of lows/mids (regardless of how many dropped) and that the "Per Run" column would factor in the average amount dropped.

I feel that it would be misleading to classify a higher frequency of dropping as 'more' in the chart. The goal is to represent where you can get the most essences per run, which is accurately represented by quantity, not frequency.
Drop frequency could be added as a different chart, but I would like quantity chart to remain the main focus of the reports.

Yeah, that's fair enough. I though that's what the "Per Run" column was though.
I've thrown some more columns into the table, how's it look?

The reason I am looking for % drop rather than % makeup is, sometimes I am 1 or 2 mids away from away from awakening a mon I don't really care where I'm going to get the most per run, I just want the least time until any drop.
A contrived example would be, where would you rather farm for 2 mids?

A: 30% chance of 1 mid
B: 10% chance of 3 mids

The current charts and numbers will have these appear equal, but if the number of runs to do to have a 90% chance of at least 1 drop is 7 for A and 22 for B. Even looking for 2 mids would be around 12 runs of A.

I like it. The Per Run column is drop_chance * avg_per_drop and giving those numbers in the report is nice. Do you want to submit a PR with those changes?

Closed with #68


Instant panic on init

When calling ffmpeg-next::init a panic is called if the dll aren't available.
This seems counter intuitive since a result is returned but ignored.
This is a simple example.
fn main() {
    if let Err(e) = ffmpeg_next::init() {
        panic!("Error initializing ffmpeg: {}", e);
    }
}

this would panic with error: process didn't exit successfully: 'target\debug\ffmpeg-testing.exe' (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND)
Ffmpeg version: Version: 6.0-full_build
ffmpeg-next: "6.0.0"

if the dll aren't available.

can you expand on this? I think I am seeing it too. Where does the DLL need to be? In the same directory? What "DLL"?


Add flag for setting a summary to the start/stop commands

When tracking a time entry via track you can already specify an entry summary, e.g.:
klog track '1h washing dishes' chores.klg

In analogy to that the start and stop subcommands should also allow this. In contrast to track, however (where the entry text is mandatory) we must use named flags here, because otherwise there would be multiple optional positional arguments: <summary> and <filename>.
So for start it could be:
klog start --summary 'this and that' foo.klg

stop should be equivalent – however, the question is how klog should deal with an entry summary that is already present, e.g.:
2000-01-01
    15:00 - ? Foo bar baz

For the "stop" summary, I feel the most logical behaviour would be to append the summary to what's there already. If you overwrite it then there's a danger of accidental data loss. And if the user intends to replace the original summary, they can always use the right wording in the new summary, and do edits in a text editor.