Script/endpoint to aggregate coverage of sources across sources

BASE, openarchives, and others have a listing of their "sources". I plan to write a script which aggregates all of these into a single list.

Save yourself some work. Took me a week to gather and clean them all, back in August :)

@Jurnie how many sources does this include? Is there a list we can enumerate?
BASE has around 85,000,000 documents and ~4,000 sources (we're trying to find the ones which are missing). You can browse the list here: http://www.base-search.net/about/en/about_sources_date_dn.php?menu=2
cc: @pietsch

Just look at the URL path.

@Jurnie, sorry which url path? I am trying to see a list of which sources (institutions) JURN has covered, the total number of sources are included, and how many documents are available.
Is this the list of sources? http://www.jurn.org/jurn-listoftitles.pdf or this http://www.jurn.org/directory/?
Thanks for your help

Ah, instructions required :) Ok. Go to the GRAFT link URL, the one that runs the search.  MouseOver it.  See that URL path, pointing to the HTML source that Google is using to power the on-the-fly CSE?  Copy and load it.  Right-click, View page source

Here's a group test of GRAFT, running it against the other public repository search tools.  Albeit on a very hard search, so not many results for any of them.

Is this the link you're talking about?
https://cse.google.com/tools/makecse?url=http%3A%2F%2Fwww.jurn.org%2Fgraft%2Findex4.html

Nearly. If this were a simple little test, re: if I should join your project or not, you wouldn't be doing very well at this point :)  http://www.jurn.org/graft/index4.html and right-click, View source. All known repository URLs A-Z (bar archive.org and a couple of other mega-positories that would clutter results), up-to-date and thoroughly cleaned. Enjoy.

@Jurnie thanks, that worked. This is a great list, thanks for your efforts. It looks like there's just over 4,000 sources here. Would it be helpful for us to check this against BASE to see if there are any missing sources for you to add?

Of the 85 M, most seem to be not full text documents but metadata records.
Does anyone know how many full text documents are there?
On 1/29/16 7:11 PM, Michael E. Karpeles wrote:

@Jurnie how many sources does this include? Is there a list we can enumerate?
BASE has around 85,000,000 documents and ~4,000 sources (we're trying to find the ones which are missing). You can browse the list here: http://www.base-search.net/about/en/about_sources_date_dn.php?menu=2
cc: @pietsch

Reply to this email directly or view it on GitHub:
https://github.com/OpenJournal/central/issues/9#issuecomment-177027412

@cleegiles Detecting which records correspond to full texts is a very interesting challenge (beyond the existing classification based solely on the metadata itself). Could the CiteSeerX crawler do that? Basically using the URLs stored in BASE as seed list, I guess?

It's probably not that hard. The crawler just looks for pdf files and
hopefully associated metadata
only on those sites and nowhere else. Some sites prohibit crawling,
however, with their
robots.txt.
On 1/30/16 12:30 AM, Antonin wrote:

@cleegiles Detecting which records correspond to full texts is a very interesting challenge (beyond the existing classification based solely on the metadata itself). Could the CiteSeerX crawler do that? Basically using the URLs stored in BASE as seed list, I guess?

Reply to this email directly or view it on GitHub:
https://github.com/OpenJournal/central/issues/9#issuecomment-177075087

If we can get a list of the urls, we and AI2's Semantic Scholar will
crawl for PDFs.
How do we go about getting it?
Best
Lee
On 1/30/16 12:30 AM, Antonin wrote:

@cleegiles Detecting which records correspond to full texts is a very interesting challenge (beyond the existing classification based solely on the metadata itself). Could the CiteSeerX crawler do that? Basically using the URLs stored in BASE as seed list, I guess?

Reply to this email directly or view it on GitHub:
https://github.com/OpenJournal/central/issues/9#issuecomment-177075087

That would be awesome! @cleegiles, I recommend getting in touch officially with BASE via their contact form to request their data. @pietsch, what do you think? I am happy to help with generating the list, with your permission of course.
@cleegiles, I have no idea how your pipeline works, but ideally it would be good if you could keep track of the relation between BASE's metadata and each PDF you download. The reason is that in my experience, BASE's metadata is cleaner than what you can extract from the PDF using heuristics.
BASE already includes CiteSeerX metadata, so of course we need to filter out these records first.

Hi @cleegiles, if all you need is a list of the URLs in BASE, there is no need to use the contact form. As you can see in https://github.com/ipfs/archives/issues/3, BASE has already released a data dump containing all URLs via IPFS. Unfortunately, all IPFS copies of this dump were destroyed. BASE is preparing a fresh, larger dump right now. It will be available in about a week. You can either wait for it, or I can prepare a list containing URLs only.

Does each URL point to a unique document?
Does it point directly to a PDF?
How many URLs are there? 85M?
On 1/31/16 10:55 AM, Christian Pietsch wrote:

Hi @cleegiles, if all you need is a list of the URLs in BASE, there is no need to use the contact form. As you can see in https://github.com/ipfs/archives/issues/3, BASE has already released a data dump containing all URLs via IPFS. Unfortunately, all IPFS copies of this dump were destroyed. BASE is preparing a fresh, larger dump right now. It will be available in about a week. You can either wait for it, or I can prepare a list containing URLs only.

Reply to this email directly or view it on GitHub:
https://github.com/OpenJournal/central/issues/9#issuecomment-177532387

@cleegiles Each of these URLs belongs to one document. There may be duplicates if authors uploaded a document to several repositories. Many URLs point to an HTML landing page, others point to a PDF document, a few point to other document types. Based on a fresh dump, it should be 87M URLs. /cc @wetneb

Size will be about 100G or less?
I assume it will be compressed?
On 1/31/16 11:08 AM, Christian Pietsch wrote:

@cleegiles Each of these URLs belongs to one document. There may be duplicates if authors uploaded a document to several repositories. Many URLs point to an HTML landing page, others point to a PDF document, a few point to other document types. Based on a fresh dump, it should be 87M URLs. /cc @wetneb

Reply to this email directly or view it on GitHub:
https://github.com/OpenJournal/central/issues/9#issuecomment-177537636

I think I recall it being <275GB?

Uncompressed?
If necessary, we can put it on our Amazon storage.
On 1/31/16 4:13 PM, Michael E. Karpeles wrote:

I think I recall it being <275GB?

Reply to this email directly or view it on GitHub:
https://github.com/OpenJournal/central/issues/9#issuecomment-177612116

I believe it's compressed. @pietsch?

@cleegiles @mekarpeles The previous dump was more like 26 GB (gzipped XML, 79M records). So the new dump will still be smaller than 30 GB (compressed). Of course, if you just need a list of URLs, then the file will be tiny in comparison.

@cleegiles I re-sent an invitation to you to join to the Archive Labs slack channel -- several of us chat on there regarding OpenJournal in the #scholar channel.

Do we just ftp or rsync to download?
On 1/31/16 5:12 PM, Christian Pietsch wrote:

@cleegiles @mekarpeles The previous dump was more like 26 GB (gzipped XML, 79M records). So the new dump will still be smaller than 30 GB (compressed). Of course, if you just need a list of URLs, then the file will be tiny in comparison.

Reply to this email directly or view it on GitHub:
https://github.com/OpenJournal/central/issues/9#issuecomment-177632286


Use private_key parameter when creating certificate

Pull Request (PR) description
Use private key created before, not the default value.
This Pull Request (PR) fixes the following issues
Fixes #185

I am still not sure if we want to allow direct private key passing into the certificate. CSRs exist for exactly this reason. The regression for no longer allowing directly passing keys into certs and using CSRs instead was made specifically for this reason.
To be clear: I am not against allowing passing the private key directly, I just would like to get a good reason to do so
I may also be completely wrong here, been a while since I made those changes

@zilchms the point here is not that the user passes a key, but that the path to the key created before by x509_request is used.

In the simplest case without CA we need some private key to sign the certificate. So openssl is invokeg with -signkey:
https://github.com/voxpupuli/puppet-openssl/blob/dcd89b5b529a2ab1f74c8b4869d8ba2a155131ca/lib/puppet/provider/x509_cert/openssl.rb#L84
with the private key as parameter. And if we don't pass the private key generated earlier, default value would be used.

From @zilchms : I am still not sure if we want to allow direct private key passing into the certificate. CSRs exist for exactly this reason. The regression for no longer allowing directly passing keys into certs and using CSRs instead was made specifically for this reason.

Just hit this issue as well, I'm a bit of two minds on this. On one hand this bug currently prevents using the key/csr/cert parameters in order to control their naming convention. Plus if these parameters are not used, then the key is indeed passed to the certificate for signing anyway, with the correct name this time so no failure happens. So in the current state of things it doesn't appear to me that this fix should necessarily be blocked short term.
On the other hand I take your point about CSR, and for those that use a CA to then sign the certificates, maybe the right solution would be to allow creating the CNF + KEY + CSR without the certificate, and let that be generated by the CA?
At least in my setup I am working on, I get the certificate because its generated by default, but I dont use it and instead create signed versions from the CSR and my CA to then be uploaded. I could totally use an option to turn of cert generation off since those files are not necessary to me.
Any thoughts?

It looks like the PR needs a rebased. Running through the comments very quickly, I don't see any objections, so once it can be cleanly merged, we should be able to do so.

Actually, @zilchms might be opposed. Can you clarify?

No further objections, feel free to merge after rebasing and passing CI :) At some point I will write some tests and refactor a bit of this module, so bugs/regressions like this dont sneak in unnoticed/without discussion beforehand

Rebased and passed CI

@vasilevalex sorry, but we've been working on this module today and that introduced another merge conflict. Good news is that we should have acceptance tests now so it should be easier to add an acceptance test to it.

I took the liberty to rebase your PR.


To avoid data loss,if library cant determine int types exactly, let caller side handle it

Thanks for fix #13,but match_id  is not the only one need fix,i am sure match_seq_num(IDOTA2Match_570/GetMatchHistory) is int64 type too.
In my understanding,there is no offical doc for those data2 api,right? so we have to guess what is the right one,and test/verify them manually,i think it so hard for you to test them all,and they may changed in the future.
In my opinion,the library dont have to map data types (in fact,int types) strictly,let caller handle it,this is can be done by the follow workaround:

avoid different data type between pojos/resquest-interfaces(e.g. account_id is long type in Dota2GamePlayer ,but int type in Dota2FantasyProPlayerInfo and Dota2Fantasy.getPlayerOfficialInfo)
if we cant makesure the right data type,use a 'larger' type,e.g. use long foraccount_id,last_update_time,time_joined instead of int,let caller chose what should send to server,if server side accept it ,it works,if not,caller should make change,not the library.
if library have to do type conversion in some case,especially a narrowing primitive conversion ,libaray should check (or report) for data loss,who convert who check ,right?

what you think of this idea?
Thank again for share this awesome project,cheers .

sorry for the late reply.
You have raised some valid points. Initially the pojos were auto-generated by a third party tool where most of the numeric properties you have mentioned have defaulted to int types, so clearly there are still some remaining that needs to be identified and refactored for consistency.
I will keep this open until I have managed to identify the rest (any help would also be greatly appreciated as I am stuck between projects right now).


DevSecOps reference melumatlar?

https://github.com/devsecops/awesome-devsecops

https://github.com/dev-sec
https://www.inspec.io

https://www.slideshare.net/42crunch/owasp-api-security-top-10-austin-devsecops-days

https://web.stanford.edu/class/cs253/


Cloudflare blocking access to sites using Thorium

I am using Ubuntu 22.04
Thorium Version 119.0.6045.214 (Official Build) stable, built on Linux (64-bit)
I am having a challenge with Cloudflare blocking access to a site. It is stating:
Your browser is out of date! Update your browser to view this website correctly
This may be a continuation of the bug listed here but my reading of that indicated to me it was resolved.
I tried a pseudo-solution of a user agent switcher but setting any of those to Firefox or Chrome did not resolve the issue.

Hi @dwlamb
Try again with latest Thorium M120.

When will 120  for SSE3 for Linux be available?
I've only had success with SSE3 for Linux versions.  I tried 120 and it wouldn't open.  Starting it from the command-line:
$ thorium-browser
Illegal instruction (core dumped)

It's there via https://github.com/Alex313031/thorium/releases/tag/M120.0.6099.235
https://github.com/Alex313031/thorium/releases/download/M120.0.6099.235/thorium-browser_120.0.6099.235_SSE3.deb for example. I use it myself :)

I tried visiting the same site with Version 120.0.6099.235 (Official Build) stable, built on Linux (64-bit). Still blocked by Cloudflare stating the browser is out of date

If a site blocks an ~ one month old browser, it's IMO not an issue of the browser itself.

I experienced the same even when logging into cloudflare dashboard (user account).
What I tried next worked for me:

Disable adblockers
Clear all cookies & cache
Log in to Cloudflare Dashboard (turning off ublock did that for me then)

That did the job for me for chatgpt,
whereas another page would still say "unsupported browser"
And again turning ublock off also solved that one and after initial page load everything is smooth sailing


[AMBARI-23609] Credential store is not working (dsen)

What changes were proposed in this pull request?
Added population of the credential store info to new stomp command
How was this patch tested?
Manually + UT
End to end testing still pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1907/
Test PASSed.

Done the testing, everything is working as expected


Add information about hiding API keys to "Third party APIs" article

URL(s)

https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Third_party_APIs
Request type

[ ] New documentation
[x] Correction or update

Details

Issue https://github.com/mdn/learning-area/issues/308 makes a good point, that it is bad practice to have your third-party API keys publicly displayed in your code — people can steal them and do bad thing with them, so a way must be found to hide them.
Our article https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Third_party_APIs contains no explanation of this, so an explanation should be added to show how to do it in a "vanilla" way, and then also make some reference to how it is done in frameworks, tools like webpack, etc.

Issue moved to mdn/content #1455 via ZenHub

Issue moved to mdn/content #1455 via ZenHub


WebGL error when zooming in Editor

To repro:

Load this scene: https://playcanvas.com/editor/scene/1044803
Open JS console
Mouse wheel zoom in and out

You should see this:

editor.js 55426 line
renderer.boneTextureSizeId.setValue([boneTexture.width, boneTexture.height]);
should be:
renderer.boneTextureSizeId.setValue([boneTexture.width, boneTexture.height, 1.0/boneTexture.width, 1.0/boneTexture.height]);

thanks @weilichuang , awesome job, fix incoming


Maintain Export Modifier when Refactoring to ES6 Class #18435

Fixes #18435
Check modifiers when doing the conversion refactor and ensure the export modifier is included in the resulting class.

You might also want to look at this other related issue:
export function f() { }
f.prototype.m = async function m() { await 2; }

converts to:
class f {
    constructor() { }
    m() { await 2; }
}

and not:
class f {
    constructor() { }
   async m() { await 2; }
}

@mhegazy PR Opened for that related issue: #19092


docs(showcase): add "nzPlaceHolder" in nz-input

PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[X] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the new?
add "nzPlaceHolder" in nz-input
Does this PR introduce a breaking change?
[ ] Yes
[X] No

Coverage remained the same at 40.752% when pulling fd3062af4d98b0318cdfc1ff7d8160b127e68986 on tigercosmos:input into cf83c96423f1bcfc8e5b147f8bac9ce3201a74a6 on NG-ZORRO:master.

Coverage remained the same at 40.752% when pulling cd2466e29ead77a45853278dbc97498561df3eec on tigercosmos:input into cf83c96423f1bcfc8e5b147f8bac9ce3201a74a6 on NG-ZORRO:master.


cannot use if as in original version

Thank for great work.
What is this feature about (expected vs actual behaviour)?
I cannot use
if ($html->find('tag')) {
    echo "Tag exists";
} else {
    echo "Tag not exists";
}

it is everytime TRUE even when tag not exists
Does it take minutes, hours or days to fix?
I Do not know

please use findMultiOrFalse() or findOneOrFalse() (since version 4.7.x)

Please may you put it to README.md it is quite important change :-)

It's updated 👍
Happy Coding!


Including DigitalOcean in the CloudProviders list

Related: #1879
The DO Logo was downloaded from the press section of their site https://www.digitalocean.com/press/

This adds the provider configuration to the provider README - https://github.com/pulumi/pulumi-digitalocean/pull/42


Support variable clock frequency in SYSINFO

Is your feature request related to a problem? Please describe.
I am implementing NEORV32 in my own project, where the core starts up with a low frequency crystal generated clock, i.e. 12 MHz, configures an external IC to generate a faster clock and then (through a wishbone register connected via XBUS) switches the clock source from the slow to the fast one.
At the moment the CLOCK_FREQUENCY parameter is a synthesis constant. This causes the timing related peripherals and HALs to work correctly only at one of the two speeds (i.e. UART, delay). I have created my own uart_setup function to account for this, but it is not optimal to change all the HAL functions
Describe the solution you'd like
In my specific case, the various clock frequencies are known at synthesis time, so it would be nice to be able to specify the frequency as a signal instead of as a generic, to be changed at clock switch, so that the code always knows the correct clock frequency.
Describe alternatives you've considered
Modifying/duplicating the HALs to have a variable clock frequency.

In my specific case, the various clock frequencies are known at synthesis time, so it would be nice to be able to specify the frequency as a signal instead of as a generic, to be changed at clock switch, so that the code always knows the correct clock frequency.

That sounds like a good idea. :+1:
So implementing SYSINFO's CLK as actual read/write register should solve this problem, right?

So implementing SYSINFO's CLK as actual read/write register should solve this problem, right?

For my specific use case is more than needed (it would be enough to be able to just change it in hardware directly) but actually your solution is equivalent, with the difference that it would be changed by firmware rather than in hardware... Not a problem either way :+1:

it would be enough to be able to just change it in hardware directly

I am not quite sure what you mean with this. 🤔
If you want to change the value in the CLK register during runtime the only option (I see) is to make it an actual register that can be overridden by the application software.

Modifying/duplicating the HALs to have a variable clock frequency.

I also like this idea.  Adding an actual 32-bit register to it would increase the hardware utilization.

If you want to change the value in the CLK register during runtime the only option (I see) is to make it an actual register that can be overridden by the application software.

I actually have a signal that drives a the clock switch instance. That same signal could drive a mux that assigns to the CLOCK_FREQUENCY signal the corresponding clock frequency.
But that's an oddly specific and little useful use case.
Actually working at HAL level is what STM32 does with their own cores, if I'm not mistaken they have a static variable used by all HALs and set by the clock config routine.
The only downside, then, is that the actual CLOCK_FREQUENCY register would be a little misleading due to the fact that it would not reflect the system state

I actually have a signal that drives a the clock switch instance. That same signal could drive a mux that assigns to the CLOCK_FREQUENCY signal the corresponding clock frequency.

That would mean that we need to convert the CLOCK_FREQUENCY generic into an actual input port, right?

Actually working at HAL level is what STM32 does with their own cores, if I'm not mistaken they have a static variable used by all HALs and set by the clock config routine.

That's a nice solution!

The only downside, then, is that the actual CLOCK_FREQUENCY register would be a little misleading due to the fact that it would not reflect the system state

That's also a good point.
So I think I would prefer to turn SYSINFO's CLK into an actual register that can be overridden by the application software. What do you think?

I thought about this again. Basically, we have three options:
Option 1
Add the clock speed as another argument to all clock-related HAL functions, e.g. configuring the UART baud rate.
Pros/Cons:

✔ no hardware modification, no additional hardware overhead
❌ HAL is not backwards-compatible
❌ harder to use, might be error-prone

Option 2
Use a global variable to store the (current) clock frequency and consume that by all clock-related functions. This variable could be initialized by the crt0 start-up code using the NEORV32_SYSINFO->CLK registers(and thus, the CLOCK_FREQUENCY generic). Application software can override this variable at any time.
Pros/Cons:

✔ no hardware modification, no additional hardware overhead
✔ HAL stays unchanged
❌ easy to use; but might be non-transparent for the user

Option 3
Make NEORV32_SYSINFO->CLK an actual read/write register that can be overriden by the application software.
Pros/Cons:

❌ hardware modification with additional hardware overhead
✔ HAL stays unchanged
✔ easy to use

Hi @stnolting sorry for the delay.

Option 1 - Clock speed as additional functions argument

This one I like the least, mainly because of HAL incompatibility, plus I suspect not many people would need to change the core clock frequency, so it would add a lot of noise to the function signatures.

Option 2 - Global variable for clock speed

This is IMO the best one, because it respects the readonly nature of a sys INFO register (I would say that information registers shouldn't be editable, by their definition, as you also have noticed). Plus anyone that has used ARM cores should be more or less familiar with this method.
The drawback I didn't think about is actually not being thread safe, but I also think that is is minor, since I expect the change of clock frequency to be a delicate operation performed in a setup phase, when thread safety should not be that much of a concern.

Option 3 - Make NEORV32_SYSINFO.CLK writable

I like this less, as I said, because I expect info registers not to be editable. (Also for HW usage if you target small FPGAs) But other than that it is not that different than a static variable somewhere in RAM (at least from a user perspective), so for me both option 2 and 3 are great!

sorry for the delay.

No worries!

Option 1 - Clock speed as additional functions argument

This one I like the least, mainly because of HAL incompatibility, plus I suspect not many people would need to change the core clock frequency, so it would add a lot of noise to the function signatures.

I agree. Let's try not to break backwards compatibility. :wink:
Now how about options 2 and 3... I'm not sure which option is the better one.
A global variable is nice because it does not add any further hardware overhead while providing advanced features. But besides being not thread-safa, this variable is hard to protect when you run a secure RTOS (e.g. you would need a single PMP entry to protect this variable).
Furthermore, where do we initialize this variable? Do we need to call a dedicated setup function right at the beginning of main? Do we add a specific constructor for that? Or do we initialize it from crt0?
If we just define another (volatile) global variable, will the compiler trim that if no function is referencing it?
Option 3 would be the easiest to implement. But yes, I agree that SYSINFO register should be read-only as the are intended to reflect static configuration (via generics) only.


Enable data validation on all AvaloniaProperty types

What does the pull request do?
Data Validation is current only available on DirectProperty. This PR generalises the system to AvaloniaProperty, thus allowing StyledProperty to also use it. This change is a pre-requisite for #9944.
Checklist

[x] Added unit tests (if possible)?
[x] Added XML documentation to any related classes?
[x] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes
None

You can test this PR using the following package version. 11.0.999-cibuild0030116-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

I got lost pretty quickly when trying to fix that test. I'll leave this PR alone until you have time to add the new infrastructure needed.
Instead I'll move ahead with the refactoring, but avoiding any properties which need data validation.

Ok, I'll branch off from this branch as you've already done the foundations, and open a new PR shortly.


Switch to Pivotal API v5

Switch to Pivotal API v5.
Pivotal API v3 has been deprecated earlier this year.
💀 Not sure if someone still uses this lib though since no single issue was created. 😄
And last update was in 2013.
Here is a migration guide.
https://www.pivotaltracker.com/help/articles/migrating_api/
I didn't test all the endpoints carefully, but brief check proves that at least projects and tickets endpoints do work.

Closing the PR since the project feels completely dead anyway. 🤪


Add Release Troubleshooting Documentation

When a release fails , but the artifacts make their way to sonatype. Write up documentation to detail how to proceed with the release manually.

Discussed with @jabrah about the release documentation. What I had written down from the previous release no longer applies with new updates to the GH actions.


Custom SAM Model

How to use custom SAM model trained on custom medical segmentation data?

heyy, were you able to figure it out?

you can pass the model path to ckpt_path argument here https://github.com/luca-medeiros/lang-segment-anything/blob/cfb29a6144a7aca72e6184795f78262fe429e43b/lang_sam/lang_sam.py#L9
Not tested with SAM2.1 release.

Thank you Lucas, Wanted to check where do we get the checkpoint for the "sam2.1_hiera_small" model

@ajaidevanath
For the original models from Meta you don't need to download the models lang-sam does it internally. You only need to use ckpt_path if you are using a custom model.

ok got it , Thanks for the help :-)


core: make coredns.Server a caddy.GracefulServer

We needed to also implement the Address() method.
Fixes: #519

Codecov Report

Merging #520 into master will decrease coverage by -0.02%.

@@            Coverage Diff             @@
##           master     #520      +/-   ##
==========================================
- Coverage   38.89%   38.88%   -0.02%
==========================================
  Files         120      120
  Lines        5993     5995       +2
==========================================
  Hits         2331     2331
- Misses       3477     3479       +2
  Partials      185      185

Impacted Files
Coverage Δ

core/dnsserver/register.go
5.45% <ø> (ø)
:white_check_mark:

core/dnsserver/server.go
0% <ø> (ø)
:white_check_mark:

Continue to review full report at Codecov.

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

Local test:
% ./coredns -conf ~/Corefile -log stdout -dns.port=1053
brik.:1053
flo.:1053
.:1053
raspberrypi.:1053
higgs.:1053
libreelec.:1053
gluon.:1053
2017/02/10 19:49:07 [INFO] CoreDNS-005
CoreDNS-005
<IP_ADDRESS> - [10/Feb/2017:19:49:11 +0000] "MX IN miek.nl. udp 37 false 4096" NOERROR<PHONE_NUMBER>39ms
2017/02/10 19:49:30 [INFO] SIGUSR1: Reloading
2017/02/10 19:49:30 [INFO] Reloading
2017/02/10 19:49:30 [INFO] Reloading complete
<IP_ADDRESS> - [10/Feb/2017:19:49:33 +0000] "MX IN miek.nl. udp 37 false 4096" NOERROR<PHONE_NUMBER>41ms
<IP_ADDRESS> - [10/Feb/2017:19:49:36 +0000] "MX IN miek.nl. udp 37 false 4096" NOERROR 170 109.615µs
2017/02/10 19:49:37 [INFO] SIGUSR1: Reloading
2017/02/10 19:49:37 [INFO] Reloading
2017/02/10 19:49:37 [INFO] Reloading complete
<IP_ADDRESS> - [10/Feb/2017:19:49:43 +0000] "MX IN miek.nl. udp 37 false 4096" NOERROR 246 98.083188ms


Exchange abandoned http-interop/http-factory with psr/http-factory

This pull request will exchange the abandoned dependency http-interop/http-factory with the recommended psr/http-factory.

Thanks for your work. I'd like to do more changes before release the new version with psr/http-factory (that would be 2.0 due breaking changes). But I'm going to accept this, that serves as the basis for these other changes.


pre-commit: PR110484

Link: https://github.com/llvm/llvm-project/pull/110484
Requested by: @nikic

/close


Stale file contents executed on multiple import and execution of Jupyter notebooks

Expected behaviour
If the user imports a .ipynb to .py, executes cells without saving the .py, closes the .py file, imports a new .ipynb to .py, code lenses and the results of executing any cells in the new .py should be based on the new file contents.
Actual behaviour
Code lenses and the resultant execution are based on the old file contents.
Steps to reproduce:

On master, start the extension development host
Import a .ipynb into .py
Execute at least one cell so it shows up in the interactive window
Close the imported .py file and import a different .ipynb into .py
Execute some cells
The executed cells are from the previous .py file, and codelenses are rendered based on the previous file as well

Was this what was showing during your demo? Yeah, that's bad. I'll look at it quick.

Yeah, this happens with my demo and with importing Jupyter notebooks in general. My fix in #6589 was to dispose the codewatcher when the document is closed. The alternative was to special case if the file is untitled and there's an existing codewatcher for an untitled file in CodeLensProvider.matchWatcher and compare the code in the document to be absolutely certain that they're the same file, but we'd have to expose the document property on the ICodeWatcher interface to access the text.

@joyceerhl already has a fix :)


Refactor GameOptionsDialog constructor

A few minor concerns with this implementation:

String constants are in file instead of in a string config file
Window size is statically defined instead of dynamically calculated based on window content
Button position has to manually enumerated, could be dynamically generated.

Assign to me, I'll take a crack at this.

Agreed on all points. Happy to have you take a look.

Closing out as the PR is merged


RTL bug

The next and previous buttons are on the opposite side . when testing on device with RTL language.

@radzio https://github.com/TangoAgency/material-intro-screen/pull/81/files


Devel css - v4beta

https://github.com/Eonasdan/bootstrap-datetimepicker/blob/development/build/css/bootstrap-datetimepicker.css#L3

Hmm probably @Eonasdan forgot to rebuild the css files after updating the version number. Should be taken care on the next release. Thanks for noticing!


WASM: shipping the runtime module

Compiled-to-wasm contracts depend on a runtime.wasm module for execution. This module is implemented in another language (currently AssemblyScript, see /runtimes/assemblyscript). The module has to be shipped as part of the qcert opam package.
Currently, we use a dune to

build runtime.wasm in the runtime tree
copy runtime.wasm to the compiler tree
translate the binary file to a OCaml hex-encoded string in wasm_runtime.ml
(after compilation) read the binary wasm module from Wasm_runtime.runtime_wasm OCaml module

The rules looks like this
(rule
  (target runtime.wasm)
  (deps ../runtimes/assemblyscript/assembly/index.ts)
  (mode (promote (into wasm)))
  (action
    (progn
      (system "cd ../../../runtimes/assemblyscript && npm run asbuild:untouched")
      (with-stdout-to runtime.wasm
        (system "cat ../../../runtimes/assemblyscript/build/untouched.wasm"))
    )
  )
)

(rule
  (target wasm_runtime.ml)
  (deps runtime.wasm)
  (action
    (with-stdout-to wasm_runtime.ml
      (progn (echo "let runtime_wasm = \"")
             (run ../tools/binary_to_string.exe runtime.wasm)
             (echo "\"\n")
      )
    )
  )
)

Practical, but not particularly nice.
Dune (recently?!) added support for shipping additional files and locate/load them at runtime. It's marked experimental in the dune documentation. As soon as there is a stable API, we might consider replacing the above mechanism with the new.

The first rule navigates the file system with relative paths. This does not work if qcert is symlink into another project.
Additionally, the use of npm breaks opam build.
Idea: move the too rules into the assemblyscript dir, create the ml file there, add dune file and create library. Dune will figure out the locations for us

For reference, error when doing opam install .
### output ###
# Use Stdlib instead.
# [...]
# If you need to stay compatible with OCaml < 4.07, you can use the
# stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "compiler/dune", line 34, characters 0-253:
# 34 | (rule
# 35 |   (target wasm_runtime.ml)
# 36 |   (deps runtime.wasm)
# ....43 |     )
# 44 |   )
# 45 | )
# Error: No rule found for compiler/runtime.wasm

Progress in 48bfd7f.


Make GCC 7.1.1 happy

Fix https://github.com/grpc/grpc/issues/11376 and several other warnings:
src/core/lib/security/credentials/jwt/jwt_verifier.c: In function ‘pkey_from_jwk’:
src/core/lib/security/credentials/jwt/jwt_verifier.c:483:10: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
       rsa->n =
          ^~
make: *** [Makefile:2496: /home/cholerae/cxcode/grpc/objs/opt/src/core/lib/security/credentials/jwt/jwt_verifier.o] Error 1
[cholerae@x240s grpc]$ vim src/core/lib/security/credentials/jwt/jwt_verifier.c
[cholerae@x240s grpc]$ make
[MAKE]    Generating cache.mk
[C]       Compiling src/core/lib/security/credentials/jwt/jwt_verifier.c
src/core/lib/security/credentials/jwt/jwt_verifier.c: In function ‘pkey_from_jwk’:
src/core/lib/security/credentials/jwt/jwt_verifier.c:484:25: error: ‘r’ undeclared (first use in this function)
       if (!RSA_set0_key(r, bignum_from_base64(exec_ctx, validate_string_field(key_prop, "n")), NULL, NULL)) {
                         ^
src/core/lib/security/credentials/jwt/jwt_verifier.c:484:25: note: each undeclared identifier is reported only once for each function it appears in
src/core/lib/security/credentials/jwt/jwt_verifier.c:493:10: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
   if (rsa->e == NULL || rsa->n == NULL) {
          ^~

See https://github.com/openssl/openssl/issues/1491
src/core/tsi/ssl_transport_security.c: In function ‘tsi_create_ssl_client_handshaker_factory’:
src/core/tsi/ssl_transport_security.c:1285:3: error: ‘TLSv1_2_method’ is deprecated [-Werror=deprecated-declarations]
   ssl_context = SSL_CTX_new(TLSv1_2_method());
   ^~~~~~~~~~~
In file included from /usr/include/openssl/opensslconf.h:42:0,
                 from /usr/include/openssl/ct.h:13,
                 from /usr/include/openssl/ssl.h:61,
                 from src/core/tsi/ssl_transport_security.c:45:
/usr/include/openssl/ssl.h:1629:1: note: declared here
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */
 ^
src/core/tsi/ssl_transport_security.c: In function ‘tsi_create_ssl_server_handshaker_factory_ex’:
src/core/tsi/ssl_transport_security.c:1393:7: error: ‘TLSv1_2_method’ is deprecated [-Werror=deprecated-declarations]
       impl->ssl_contexts[i] = SSL_CTX_new(TLSv1_2_method());
       ^~~~
In file included from /usr/include/openssl/opensslconf.h:42:0,
                 from /usr/include/openssl/ct.h:13,
                 from /usr/include/openssl/ssl.h:61,
                 from src/core/tsi/ssl_transport_security.c:45:
/usr/include/openssl/ssl.h:1629:1: note: declared here
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */
 ^
At top level:

src/core/tsi/ssl_transport_security.c:118:22: error: ‘openssl_thread_id_cb’ defined but not used [-Werror=unused-function]
 static unsigned long openssl_thread_id_cb(void) {
                      ^~~~~~~~~~~~~~~~~~~~
src/core/tsi/ssl_transport_security.c:110:13: error: ‘openssl_locking_cb’ defined but not used [-Werror=unused-function]
 static void openssl_locking_cb(int mode, int type, const char *file, int line) {
             ^~~~~~~~~~~~~~~~~~

Don't know why.
src/core/ext/transport/cronet/transport/cronet_transport.c: In function ‘create_grpc_frame’:
src/core/ext/transport/cronet/transport/cronet_transport.c:652:10: error: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
   *p++ = (flags & GRPC_WRITE_INTERNAL_COMPRESS) ? (uint8_t)(1) : (uint8_t)(0);
          ^

I'm using fedora 26 and GCC 7.1.1.
Signed-off-by: Cholerae Hu<EMAIL_ADDRESS>

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.
After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

One or more commits are not associated with a GitHub user. The email used in the Git commit must match a verified email address in a GitHub user profile. For more information, please see https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/

Regards,
CLA GitHub bot

due to our transition from .c files to .cc files, this PR would need updating. As that seems as quite a bit of work, I'll close this. Original PR can still be used as a reference when fixing.
(when fixing build for newer compilers, a build for given compiler should also be added to the portability suite to prevent breaking again)


How to access images?

How to access images in src/assets? I'm experimenting with the snippets file and want to include an image. How can I access them, it always says 404 when I import them via src="assets/images/logo.png.

Since you don't reference these specific assets from js/css vite can't know about them and so they are just normal kirby assets. So you can handle them just how you would handle assets without vite.
See https://github.com/arnoson/kirby-vite-multi-page-kit/issues/10 and https://github.com/arnoson/kirby-vite-basic-kit/issues/2

Thanks for the answer - now it works. Such a good kit!


[BUG] Not possible to create AD monitors

What is the bug?
It's not possible to create a trigger for an AD monitor the UI shows an error "Failed to Load..." while the network tab shows BadRequest on http://ose-dashboards:5603/api/alerting/detectors/u5gchpIBOU-wiD8XajaL/results?startTime=1728380244166&endTime=1728985044167&preview=true
{
"statusCode": 400,
"error": "Bad Request",
"message": "[request query.startTime]: definition for this key is missing"
}
How can one reproduce the bug?
Steps to reproduce the behavior:

Go to Alerting
Select Create Monitor
Select "Per query monitor" + "Anomaly detector"
Select an existing detector
See error
Repeat with "Remove Trigger" + "Add Trigger"

What is the expected behavior?

OS: Macos 15x
Version 2.17.1

Plugins:

<EMAIL_ADDRESS><EMAIL_ADDRESS>
Do you have any additional context?
Im new to the plugin source code and need confirmation before working on a PR.
commit 9c4dfb0034bfb8213441887bfedd5780e56d51d6
changed the query schema from schema.any() to query: createValidateQuerySchema(dataSourceEnabled)
now the /.../startTime&endTime do not seem to be allowed.
All of the following fixes the issue and its possible to create a AD trigger

removing the validator
schema.any()
a schema loosely based on the observed query works

{
    startTime: schema.number(),
    endTime: schema.number(),
    preview: schema.boolean(),
 }

This does not seem to be https://github.com/opensearch-project/alerting-dashboards-plugin/issues/149
as I have tried with detectors having enough results.

[Catch All Triage - 1, 2]


[AzCopyV10][Feature] Add support for CPK-N and CPK-V

Clients making requests against Azure Blob storage have the option to provide an encryption key on a per-request basis.
Including the encryption key on the request provides granular control over encryption settings for Blob storage operations.
Customer-provided keys can be stored in Azure Key Vault or in another key store.

Public Documentation - 1
Public Documentation - 2

Closing since you have a new PR.


IIncrementalGenerator vs ISourceGenerator

I maintain a list of Roslyn Source Code Generators at ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
However, the source generators have been deprecated in favor of the new incremental generators , that allows better performance
See<EMAIL_ADDRESS>However this means passing from ISourceGenerator to IIncrementalGenerator
Could you do that ?
Thanks
Andrei

Hi,
I will in the next few days.
Thanks for pointing that out.


Old Lonewolf tournaments

Any plans to upload older seasons prior to Lonewolf#4 or are the sheets lost forever?

We have access to the sheets from Seasons 2 and 3, but haven't gotten around to trying to import/fix them yet.

The older lonewolf didn't use formulas for any of the data fields, it was all copy/paste. So I'm 99% certain that they are as correct as is necessary to import them.  The only concern will be any formatting/layout differences.

I know Lonewolf 3 has a bunch of issues. I tried importing it the same way as #4 but the standings were completely wrong. For example, my round 1 game isn't listed on the round 1 sheet. My plan (that I never got around to implementing) was to get the results from the standings sheet and only use the pairing sheets to get the gamelinks.

Interesting.  Have you run into other problems? that one looks like a user input error that happened at some point after the original pairing was finished.  We should be able to go back and copy/paste each worksheet from the last day of the round.
I guess using the wallchart/standings sheet works too.

Lonewolf 3 is now up on the site: https://www.lichess4545.com/lonewolf/season/3/summary/

Lonewolf 2 is also up now: https://www.lichess4545.com/lonewolf/season/2/summary/


Missing cost for ECS Service when task definition is used from a module and family is used instead of ARN

I was able to reproduce this and made a sample in https://github.com/anitakrueger/infracost-test
It comes down to infracost not being able to make the link between the ecs service and the task definition when the task definition is in a module and the task_definition parameter is set to the family instead of the arn.
This does seem to work when the task definition and ecs service are in the same terraform. Then switching to the family, infracost can still make the link.
In our case we set the task definition as family because we want the latest revision in terraform
resource "aws_ecs_service" "service" {
  name                               = "infracost-test"
==> WORKS  task_definition                    = module.task.arn
  cluster                            = aws_ecs_cluster.ecs_cluster.arn
  platform_version                   = "LATEST"
  launch_type                        = "FARGATE"
  propagate_tags                     = "TASK_DEFINITION"
  desired_count                      = 1
  deployment_maximum_percent         = 100
  deployment_minimum_healthy_percent = 0
  network_configuration {
    subnets          = ["subnet-0f6c2ff31a59db1d3"]
    assign_public_ip = false
  }
}

resource "aws_ecs_service" "service-nocost" {
  name                               = "infracost-test"
==> BREAKS  task_definition                    = module.task.family
  cluster                            = aws_ecs_cluster.ecs_cluster.arn
  platform_version                   = "LATEST"
  launch_type                        = "FARGATE"
  propagate_tags                     = "TASK_DEFINITION"
  desired_count                      = 1
  deployment_maximum_percent         = 100
  deployment_minimum_healthy_percent = 0
  network_configuration {
    subnets          = ["subnet-0f6c2ff31a59db1d3"]
    assign_public_ip = false
  }
}

The cost output shows 2 estimated resources, but there is only cost for one of them:
infracost-test % infracost breakdown --path . --show-skipped
Evaluating Terraform directory at .
  ✔ Downloading Terraform modules
  ✔ Evaluating Terraform directory
  ✔ Retrieving cloud prices to calculate costs

Project: github.com/anitakrueger/infracost-test.git

 Name                     Monthly Qty  Unit  Monthly Cost

 aws_ecs_service.service
 ├─ Per GB per hour               0.5  GB           $1.62
 └─ Per vCPU per hour            0.25  CPU          $7.39

 OVERALL TOTAL                                      $9.01
──────────────────────────────────
4 cloud resources were detected:
∙ 2 were estimated
∙ 2 were free:
  ∙ 1 x aws_ecs_cluster
  ∙ 1 x aws_ecs_task_definition

The debug log from infracost shows this:
time="2022-07-27T00:54:03+01:00" level=debug routine=15 project_name= provider=terraform_dir block_name=module.task.aws_ecs_task_definition.task project_path=. attribute_name=memory msg="could not create references for expression type: &{{{{{} %!s(cty.primitiveTypeKind=78)}} %!s(*big.Float=&{512 0 0 1 false [9223372036854775808] 10})} modules/task-def/main.tf:6,30-33}"
time="2022-07-27T00:54:03+01:00" level=debug provider=terraform_dir block_name=module.task.aws_ecs_task_definition.task project_path=. attribute_name=id routine=15 project_name= msg="could not create references for expression type: &{{{{{} %!s(cty.primitiveTypeKind=83)}} 61f3e378-ae79-4cc0-b41c-d3430a90ad3e} :0,0-0}"
time="2022-07-27T00:54:03+01:00" level=debug block_name=module.task.aws_ecs_task_definition.task project_path=. routine=15 project_name= provider=terraform_dir attribute_name=arn msg="could not create references for expression type: &{{{{{} %!s(cty.primitiveTypeKind=83)}} arn:aws:hcl::4606465e-883c-4faf-987a-e6d71fb48652} :0,0-0}"
time="2022-07-27T00:54:03+01:00" level=debug provider=terraform_dir block_name=module.task.aws_ecs_task_definition.task attribute_name=cpu project_path=. routine=15 project_name= msg="could not create references for expression type: &{{{{{} %!s(cty.primitiveTypeKind=78)}} %!s(*big.Float=&{512 0 0 1 false [9223372036854775808] 9})} modules/task-def/main.tf:5,30-33}"

I've added a fix for this specific case in #1917.
This fixes it for cases where the user specifies the family:
resource "aws_ecs_service" "my_service" {
  ...
  task_definition = "<family>"
  ...
}

but it doesn't work if the user also specifies a revision, i.e:
resource "aws_ecs_service" "my_service" {
  ...
  task_definition = "<family>:<revision>"
  ...
}

Fixing this final bit will probably require a bit of a refactor with how we handle references, so will be a more involved task.

@anitakrueger this is now fixed in the v0.10.9 release, so you can update your action to point to the infracost/actions/setup@v2 again now.
Thanks for your help debugging this issue 🙏. It was one of the best formed bug reports we have received since it had a fully reproducible example we could clone.


crash on keyFunMoveDown

runtime.startpanic at panic.go:588
runtime.throw at panic.go:615
runtime.mapassign at hashmap.go:519
github.com/goki/ki.(*Signal).Connect at signal.go:120
github.com/goki/gi.(*Node2DBase).ConnectToViewport at node2d.go:449
github.com/goki/gi.(*WidgetBase).PushBounds at widget.go:343
github.com/goki/gi/giv.(*TextView).RenderCursor at textview.go:1874
github.com/goki/gi/giv.TextViewBlink at textview.go:1824
runtime.goexit at asm_amd64.s:2361

Not seen recently - closing


Updated Readme file

Suggest any changes that have to be made or revoked and they will be done as per your priorities

Have done what has been mentioned.
Great project to be a part of although minor ;).


kafkactl: 3.0.1 -> 3.0.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/deviceinsight/kafkactl/releases.
meta.description for kafkactl is: Command Line Tool for managing Apache Kafka
meta.homepage for kafkactl is: https://github.com/deviceinsight/kafkactl
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.0.2 with grep in /nix/store/mj0lbl61cbmpnmf8gqakazwjljny9g1s-kafkactl-3.0.2
found 3.0.2 in filename of file in /nix/store/mj0lbl61cbmpnmf8gqakazwjljny9g1s-kafkactl-3.0.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
kafkactl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mj0lbl61cbmpnmf8gqakazwjljny9g1s-kafkactl-3.0.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kafkactl https://github.com/r-ryantm/nixpkgs/archive/783c88bfb44d1935d11cea04206870989f249932.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mj0lbl61cbmpnmf8gqakazwjljny9g1s-kafkactl-3.0.2
ls -la /nix/store/mj0lbl61cbmpnmf8gqakazwjljny9g1s-kafkactl-3.0.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

kafkactl

Maintainer pings
cc @GRBurst for testing.

Result of nixpkgs-review pr 213732 run on aarch64-darwin 1

1 package built:

kafkactl


feat(AST): Spread operator

From feature request: #645
Supported syntax:
<div>
  <!-- spread object literal -->
  <el prop.bind="{ ...{ one: 1 } }"></el>

  <!-- spread object accessed by key -->
  <el prop.bind="{ ...someObject }"></el>

  <!-- spread literal array -->
  <el prop.bind="[...[5,6,7, someValue]]"></el>

  <!-- spread array value accessed by key -->
  <el prop.bind="[...someArray]"></el>

  <!-- Call function with spread literal array -->
  <el prop.bind="getValue(...[5,6,7, someValue])"></el>

  <!-- Call function with spread accessed by key -->
  <el prop.bind="getValue(...someArguments)"></el>
</div>

Observation strategy

Only the accessed name is observed. Not every property of the object or array is observed automatically.

Demo

@jdanyow What other tests should be in 😄 ?
@davismj @jdanyow Did I miss any usage of spread operator ?

@bigopon nice work. As far as the implementation goes, it looks pretty good to me.
I'm worried about adding something like this without being able to support common scenarios.  I'm afraid it will cause a lot of confusion when simple things like foo.bind="{ ...myArray }" doesn't update when the array mutates or when foo.bind="[ ...myObj ] doesn't update when a property is added.
Today we have a almost entirely clean distinction between property observation and collection mutation observation.  Adding something like this is either going to fall short of expectations or force us to mix property observation and collection observation with a healthy dose of dirty-checking to cover all the scenarios.

Re: distinction between prop / collection: what was your solution / or there seemed to be no good clear solutions so we stop mixing them ?
About spread: if we cannot overcome the language limitation and have to add dirty checking, then that's more of educating users than a concern, I think. But having restricted usage should be healthy for Aurelia. So we close this ?

What I meant regarding the prop/collection observation was in aurelia collection observation never happens automatically... you have to opt-in by using the repeat or the binding engine directly. This has been really nice for performance.
Well... almost never... we have a pain-in-the-neck feature where we support ${myArray} printing the contents of the array and observing the array for changes.  This is the one exception where we look at the value of a property, see that it's an array, and add on array observation. The code for this is here, it's gotten a lot simpler since we added the @connectable decorator. This is from the very early days, when binding was rapidly evolving and we were trying to accommodate tons of feature requests. https://github.com/aurelia/framework/issues/77
Anyways, it seems to me that doing rest/spread "right" would require us to start automatically observing collections.  Maybe thats ok if we do it only in the context of the spread AST node's connect method. Not sure... I don't want to cause confusion where the binding system behaves unpredictably when it comes to collection observation.  In the past we've resisted requests to do things like this. Discussion here: https://github.com/aurelia/binding/issues/309#issuecomment-183105155
Thoughts?
cc @EisenbergEffect

I think only observing in the context of Spread is good. But I'm not sure if it will make anything unstable. We can still create a plugin to have automatic collection observation if needed anyway. Does a plugin sound good ? @jdanyow @EisenbergEffect

The previous was not clear, I meant we can create a plugin and do automatic array observation there, so if anyone wants to trade performance for dev experience, they can use the plugin. In that case, just need to export some Ast utility functions.

@EisenbergEffect Would be nice if you could input some thoughts here too

For what its worth, I was mostly trying to get a discussion going to see if this was a good idea in the first place. I think the discussion here has mostly proved that it isn't.


网站Api倒了）

ERRLOG
08-31 15:52:15 [ERROR] nonebot | Failed to import "maimaidx"
Traceback (most recent call last):
File "/root/mai-bot/bot.py", line 37, in
nonebot.run(app="bot:app")
File "/root/mai-bot/lib/python3.9/site-packages/nonebot/init.py", line 227, in run
get_driver().run(host, port, *args, **kwargs)
File "/root/mai-bot/lib/python3.9/site-packages/nonebot/drivers/fastapi.py", line 170, in run
uvicorn.run(app or self.server_app,
File "/root/mai-bot/lib/python3.9/site-packages/uvicorn/main.py", line 386, in run
server.run()
File "/root/mai-bot/lib/python3.9/site-packages/uvicorn/server.py", line 49, in run
loop.run_until_complete(self.serve(sockets=sockets))
File "/root/mai-bot/lib/python3.9/site-packages/uvicorn/server.py", line 56, in serve
config.load()
File "/root/mai-bot/lib/python3.9/site-packages/uvicorn/config.py", line 308, in load
self.loaded_app = import_from_string(self.app)
File "/root/mai-bot/lib/python3.9/site-packages/uvicorn/importer.py", line 20, in import_from_string
module = importlib.import_module(module_str)
File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/root/mai-bot/bot.py", line 28, in
nonebot.load_plugins("src/plugins")
File "/root/mai-bot/lib/python3.9/site-packages/nonebot/plugin/init.py", line 981, in load_plugins
result = context.run(_load_plugin, manager, plugin_name)

File "/root/mai-bot/lib/python3.9/site-packages/nonebot/plugin/init.py", line 929, in _load_plugin
module = manager.load_plugin(plugin_name)
File "/root/mai-bot/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 154, in load_plugin
return importlib.import_module(f"{self.namespace}.{name}")
File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "/root/mai-bot/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 221, in exec_module
super().exec_module(module)
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/root/mai-bot/src/plugins/maimaidx.py", line 9, in
from src.libraries.maimaidx_music import *
File "/root/mai-bot/src/libraries/maimaidx_music.py", line 149, in
obj = requests.get('https://www.diving-fish.com/api/maimaidxprober/music_data').json()
File "/root/mai-bot/lib/python3.9/site-packages/requests/models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Service Recovered, Closing the issue


Question: Why does this library require Node >= 16.x.x?

Tl;Dr - why does this library need Node >= 16.x.x?.
Hi,
I am currently working on a VS Code extension for DVC. To give you some context DVC is a CLI for (not just) Data Version Control in Machine Learning Projects. The CLI is written in Python and the extension is written in Typescript then bundled and run inside of VS Code (which is an Electron app). I am currently looking to improve the integration between the CLI and the extension.
At the moment we use execa to create child_processes which run the CLI as a black box and return JSON. We then parse that JSON and feed it through the extension.
Not being able to access the internals of the Python project has started to become an issue so we have been looking for alternatives. This looks like a solid library but unfortunately, the VS Code Electron app runs on Node 14.17.0 and as far as I am aware there are no plans to change this in the short to medium term.
What would need to be done to make this library compatible with an earlier version of Node? Is that even possible?
Thanks,
Matt

in #33:

I believe the main issue with node 14 was with the javascript pip package where the event emitter handling code changed in node 15/16 causing the behavior on the Python side to be different. It was fixed with a patch here. I don't think the issue is present on the pythonia package as we don't do event emitter handling there, so yeah doesn't seem like there's any other blocking issue for node 16.

so once we merge that we can probably do a release if everything looks good

Thank you both.

Fixed in #33 and released as 0.2.13

Thanks, I'll come back and let you know how everything goes.


Merge multiple requests with different @PathVariable into same EndPoint

Why do you submit this issue?
[ x ] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question
[Summary]
Is it possible to merge multiple requests with different @PathVariable into same EndPoint?
[Detail]
There are some requests which share a part of common path. These requests are only different in the last URL parameter.
eg.
/app/method/1001
/app/method/1002
/app/method/1003
my target:
I wonder if they can all be logged in endpoint /app/method.

We have supported this in SpringMVC plugin, if you set the annotation as /app/method/{id} in spring annotation.

We also meet this problem like  @galaxyyao


REST API PR pipeline should check that preview API version date is strictly after GA API version date

The Azure versioning policy disallows a preview API version with the same date as a GA API version. Unfortunately, this restriction is not well known in service teams and routinely violated. The latest example is:
https://github.com/Azure/azure-rest-api-specs/pull/29716
The PR pipeline should check for this case and flag it as a versioning error, blocking PR merge until the situation is corrected.

Another instance:
https://github.com/Azure/azure-rest-api-specs/pull/29585


(resource): CSS paint API: Being predictably random

In this Pull Request

[x] Added the resource "CSS paint API: Being predictably random".
[x] Tested link to the article.
[x] Tested link to the author (Twitter profile in this case).

Preview

Thank you!


feat: alice lmax environment updates

PR-Codex overview
This PR adds support for Alice environment addresses and introduces new contracts related to Alice in the environment package.
Detailed summary

Added ALICE protocol in protocols.ts
Introduced AlicePositionLib and AlicePositionParser contracts
Updated deployment addresses for Alice on testnet, Polygon, and Ethereum

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

/snapshot

/snapshot


add check run url as an action output

Failed integration test not coming from my changes.
It seems that the integration script don't get the correct number of arguments.
See https://github.com/Azure/container-scan/runs/2746141236 and https://github.com/Azure/container-scan/blob/96b52e8d7dbd3e27911408133c21be347328d115/.github/workflows/integration-tests.yml#L19.
I suppose some variables/secrets are not set and therefore empty?
I also can see the token in the workflow output! I suggest to use environment variables here instead of script arguments.

@sundargs2000 Can you take a look at the failing test?

Integration tests currently fail for PRs raised from forks, as confirmed by @sundargs2000. Merging this PR, and will raise one to port this to release/v0 where integration tests can also be triggered.


random mask generation

the link for the script for random mask generation does not work

Is this issue actually resolved?

Not really I guess. So when I hit the link under Inference / 2. Prepare images and masks / OR prepare your data: / You can use the script for random masks generation, it links to the project home page

@cohimame Alex, could you please have a look at this?


Add Requeue logic for Job Style resources till completion

Adds a check on the status of the job style resource objects and requeues till completion.
Pending:
Currently, Tested Manually. Integ Tests for completion status and sync assertions are coming up

I will resolve these conflicts once other changes are final in this PR.

Please note that while this commit message summary says that this PR adds requeue logic, there's nothing in the PR that does that. Instead, it simply sets the ConditionTypeSynced condition to either True or False depending on the overall status of the job creation.


Updated Spectator View for Mobile for MRTK V2.

Adding spectator view mobile support for V2 with basic doc.

Is this available in the mrtk release branch? will it work with hololens gen 1?

Right now this code is in feature/spectatorView. We are anticipating to have the code integrated into the mrtk_development and mrtk_release branches by the end of March.
The spectatorView functionality currently works with the original HoloLens. We are in the process of building support for HoloLens 2 but it will take longer to release. There may end up being some differences in functionality around marker detection, but the bulk logic for setting up the shared coordinate system should remain the same.

Thanks @chrisfromwork
I just tried to move the MixedRealityToolkit.Extensions folder from feature/spectatorView into a local copy of mrtk_developement. There were a couple of namespace conflicts, but apart from that I managed to test it on HoloLens 1. It connected to both an Android and an iPhone each showing a marker on the screen, but it didn't go past the 'locating marker' step.

If the HoloLens is attempting to locate markers, it sounds like your network connection is working. Did you build the OpenCV plugin dlls for marker detection and include them in your Unity project? These dlls are only used on the HoloLens, but without them, you won't be able to detect markers.
See the feature/spectatorView branch in the MixedRealityToolkit repo:
https://github.com/Microsoft/MixedRealityToolkit/tree/feature/spectatorView/SpectatorViewPlugin
(Note: there are some instructions on the landing page provided above that should help with the steps related to building the needed OpenCV plugin)
We are in the process of updating documentation for this new spectator view refactor. We do currently have a few wiki pages related to the code. They will likely migrate to our GitHub documentation portal but can be found here:
https://github.com/Microsoft/MixedRealityToolkit-Unity/wiki/Spectator-View-Setup
https://github.com/Microsoft/MixedRealityToolkit-Unity/wiki/Spectator-View-Architecture
https://github.com/Microsoft/MixedRealityToolkit-Unity/wiki/Spectator-View-Debugging

Thanks for the documentation @chrisfromwork
I added the generated DLLs to Assets\MixedRealityToolkit.Extensions\SpectatorView\Plugins\WSA\x86 but based on the Setup doc you shared, it seems I should've created a Plugins folder in the root of the Assets folder. I'll try again.

Hm, if you added the dlls to any folder named "Plugins", I think Unity will include them in your visual studio build (for more information see https://docs.unity3d.com/Manual/SpecialFolders.html). If you look at the directory created when building your Unity app for visual studio and see the SpectatorViewPlugin.dll and its dependencies in there, things have likely worked correctly.
There should be some error logging in the visual studio debug output console that might be able to better identify what is going wrong. It should generate errors if the dlls aren't resolved correctly. It may also be that you are hitting an unexpected boundary case when setting up the HoloLens PV camera for capturing images. If you can share a Unity log file from both your HoloLens and one of the mobile devices, we can try and help identify what is going wrong.

Spectator view is moving to a separate repo. closing this here.

Link to spectator view repo: https://github.com/Microsoft/MixedReality-spectatorview


how to apply custom positioner to a chart?

Basically, I want to access Chart.defaults.positioners to  make my custom tooltip to render on top left side.
As mentioned in chart.js documentation, customer positioner can be used to make this happen.

Relevant section in the docs:
https://www.chartjs.org/docs/latest/configuration/tooltip.html#position-modes

@bharatgupta99 seeing as chart.js is a peer dependency, you could always import the constructor directly and add your custom positioner:
import { Chart } from 'chart.js'

Chart.Tooltip.positioners.custom = function(elements, eventPosition) {...};

Closing this for now. Please re-open it of you discover that this approach does not work for you. (preferably with a code example)


TypeError: 'EnumTypeWrapper' object is not callable when trying to play a tune

Hi,
I'm trying to play a tone on my system but I'm getting this error (TypeError: 'EnumTypeWrapper').  As per the TuneDescription and SongElement documentation, I've made the below code. Can anybody let me know why the below code isn't working.
#!/usr/bin/env python3

import asyncio
from mavsdk import System
from mavsdk.tune import (TuneDescription,SongElement,TuneError)
import traceback

async def run():

    drone = System(mavsdk_server_address="localhost", port=50041)
    await drone.connect()

    print("Waiting for drone to connect...")
    async for state in drone.core.connection_state():
        if state.is_connected:
            print(f"Drone discovered with UUID: {state.uuid}")
            break

    id_info = await drone.info.get_identification()
    print(id_info)
    await asyncio.sleep(1)

    song_elem = []
    song_elem.append(SongElement.NOTE_G)
    try:
        tone1 = TuneDescription(song_elem,100)
        await drone.tune.play_tune(tone1)
    except Exception:
        print(traceback.print_exc())

    print("Tone played")

if __name__ == "__main__":
    loop = asyncio.get_event_loop()
    loop.run_until_complete(run())

Output:
Waiting for mavsdk_server to be ready...
Connected to mavsdk_server!
Waiting for drone to connect...
Drone discovered with UUID: 0
Identification: [hardware_uid:<PHONE_NUMBER>00353236353038510a001c002c]
Traceback (most recent call last):
  File "play_tone.py", line 28, in run
    await drone.tune.play_tune(tone1)
  File "/home/aifi/.local/lib/python3.8/site-packages/mavsdk/tune.py", line 460, in play_tune
    tune_description.translate_to_rpc(request.tune_description)
  File "/home/aifi/.local/lib/python3.8/site-packages/mavsdk/tune.py", line 261, in translate_to_rpc
    rpc_elem = tune_pb2.SongElement()
TypeError: 'EnumTypeWrapper' object is not callable
None
Tone played

Sounds like a bug here. Feel free to have a look if you can, otherwise I'll do it when I have time :blush:.

It would be very helpful if you can give some direction/solution. Been wrecking my head over this for quite some time now.
Thanks anyways for letting me know that its a bug at the sdk side.

Getting fixed in #324. @hashimK would you have a way to test it? Either with your sample code above or with the example I added in examples/tune.py :blush:.


⚠ Samsung has degraded performance

In 100d064, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2868 ms

Resolved: Samsung performance has improved in c84618c.


Update lens engine minimum to ^5.1.0

After this is fixed: https://github.com/lensapp/lens/issues/3404
The extension does not work properly in prior versions of Lens 5.

Now tracking with https://mirantis.jira.com/browse/PRODX-24554


Addition of the tag: tag_electricity_storage_types.yaml

Some variables have common features.
That is the case of:
- Maximum Storage|Electricity|Hydro|Reservoir:
- Maximum Storage|Electricity|Hydro|Pumped Storage:
- Maximum Storage|Electricity|Energy Storage System:
- Maximum Storage|Electricity|Energy Storage System|Lithium-Ion:
- Maximum Storage|Electricity|Energy Storage System|Redox Flow:
- Maximum Storage|Electricity|Energy Storage System|Compressed Air:

In this sense, I suggest the addition of the tag tag_electricity_storage_types.yaml to be concise and standardize all the possible characteristics of the storage because I have found that some storage does not have defined some of their characteristics.
@sandrinecharousset, @danielhuppmann, @arght, @loeffko, What do you think?
If you agree, I can deal with ordering and creating this tag.

@erikfilias it is not exactly the case....
They do have some common variables but not so many and they do have a lot of different ones.....
Hydro|* do have Capacity , Variable Cost, Capital Cost....
Hydro|Pumped Storage has efficiency
The energy storage system variables do not have those features
They have Charge/discharge, roundtrip coefficient, levelysed costs
So I would suggest not to do that.....

@erikfilias I think we have different categories of variables
1/ those for assets in {electricity input} ; electricity input covers all assets that produce electricity, including Hydro but not energy storage system
2/ assets in {energy storage system} which covers assets which are storage but not producing electricity
3/ Hydro which is specific as it both produces electricity and stores energy
Regarding the variables specific to storage we have:

maximum storage,  for Hydro|Reservoir, Hydro|Pumped Storage and Energy Storage System|*
minimum storage  for Hydro|Reservoir, Hydro|Pumped Storage , not for ESS but could be
maximum charge/ maxium discharge for Hydro|Pumped Storage and ESS , not for Reservoir but could be (even if Reservoir usually does not have pumping, but it could happen anyway)
seasonality, for all

Then some variables where we need to decide sth:
Pumping / Turbine efficiency for Reservoir and Pumped Storage / Roundtrip coefficient for ESS => these could be merged . Seems Roundtrip efficiency=pumping afficiency * turbine efficnecy , so I would keep 3 variables but perhaps with a different name such as charge efficiency / discharge efficiency / roundtrip efficiency ? What do you think?
And finally we have Inflows for Reservoir and Pumped Storage. In plan4EU we also can use Inflows for ESS, but usually it is negative Inflows (it is named 'demand' in the model as it represents an external demand that the battery faces); We could maybe keep Inflows and add Demand for both Hydro and ESS?
Then there is this Maximum Energy Charge|Electricity|Energy Storage System:
description: This is the upper bound that energy storage system could charge energy
at time "t". I do not fully understand the difference with Maximum Charge (maximum charge is in GW , not GWh but this is equivalent, no? and I cannot fully understand how the charge at time t can be defined without ambiguity, given that the timestep duration would be missing....; I would delete this variable but you may need it
And there is 'Spillage' which for me should be Maximum Spillage (as in power-plant we are not listing the variables for describing the operation, but the variables which caracterize the power plants; and for me it should be in GW, not GWh, for the same reason as above
In summary, all the above variables could be summarized with a Electricity Storage tag, yes.

@sandrinecharousset,
1/ the third variable related to the efficiency could be defined as you suggested: charge efficiency and discharge efficiency. I think it works well for our purposes.
2/ In openTEPES, we have 'inflows' and 'outflows'. The inflows are defined as yours and our outflows cover exactly the 'external demand' as you defined. In this sense, I would define the outflows for both hydro and ESS, but I think 'External Demand' should be more readable. Thus, I suggest this last one. What do you think?
3/ About the 'Maximum Charge'. Yeah, we need it since it is part of the main variables for ESS/PSH management. It is a parameter like 'Maximum Active Power' in 'MW', but 'Maximum Charge' is related to how much active power can charge the 'Storage Unit' as maximum. Perhaps, I should change the definition and the unit. What would you like to suggest about it?/ 4
4/ About the spillage. Yeah, I also agree. I can modify it. Do you think that all these changes should be in the same PR?
Thanks for the comment :)

1/ the third variable related to the efficiency could be defined as you suggested: charge efficiency and discharge efficiency. I think it works well for our purposes.
	OK !
2/ In openTEPES, we have 'inflows' and 'outflows'. The inflows are defined as yours and our outflows cover exactly the 'external demand' as you defined. In this sense, I would define the outflows for both hydro and ESS, but I think 'External Demand' should be more readable. Thus, I suggest this last one. What do you think?
	I would keep Inflows and outflows, i think it is very easy to understand (Inflows come in, Outflows come out…..) ; We could add in the description of the outflows that it can be eg an ‘external demand’ (but for the hydro could also be many different things)
3/ About the 'Maximum Charge'. Yeah, we need it since it is part of the main variables for ESS/PSH management. It is a parameter like 'Maximum Active Power' in 'MW', but 'Maximum Charge' is related to how much active power can charge the 'Storage Unit' as maximum. Perhaps, I should change the definition and the unit. What would you like to suggest about it?
	We already have Maximum Charge and Maximum Discharge, unit GW or MW , but there is also Maximum Energy Charge which I find useless and difficult to understand as it deals with the duration of a timestep, which is not explicit in the dataformat….. My suggestion was to keep Maximum Charge and Maximum Discharge but to remove Maximum Energy Charge
4/ About the spillage. Yeah, I also agree. I can modify it.
	Good
Do you think that all these changes should be in the same PR?
	Yes, won’t be too big…..
@erikfilias I think we can start the PR, right?

1/ the third variable related to the efficiency could be defined as you suggested: charge efficiency and discharge efficiency. I think it works well for our purposes.  OK !
2/ In openTEPES, we have 'inflows' and 'outflows'. The inflows are defined as yours and our outflows cover exactly the 'external demand' as you defined. In this sense, I would define the outflows for both hydro and ESS, but I think 'External Demand' should be more readable. Thus, I suggest this last one. What do you think?  I would keep Inflows and outflows, i think it is very easy to understand (Inflows come in, Outflows come out…..) ; We could add in the description of the outflows that it can be eg an ‘external demand’ (but for the hydro could also be many different things)
3/ About the 'Maximum Charge'. Yeah, we need it since it is part of the main variables for ESS/PSH management. It is a parameter like 'Maximum Active Power' in 'MW', but 'Maximum Charge' is related to how much active power can charge the 'Storage Unit' as maximum. Perhaps, I should change the definition and the unit. What would you like to suggest about it?  We already have Maximum Charge and Maximum Discharge, unit GW or MW , but there is also Maximum Energy Charge which I find useless and difficult to understand as it deals with the duration of a timestep, which is not explicit in the dataformat….. My suggestion was to keep Maximum Charge and Maximum Discharge but to remove Maximum Energy Charge
4/ About the spillage. Yeah, I also agree. I can modify it.  Good Do you think that all these changes should be in the same PR?  Yes, won’t be too big…..
@erikfilias I think we can start the PR, right?

I'll modify it in #196 .


fix: make delete cluster

Description

Reverse the order of deleting namespace and cluster
Update README

Related Issues

Closes #653

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[2.0.0-preview1] Update dotnet-ef to netcoreapp2.0

I have no idea how much of this will even work since it's blocked on NuGet/Home#4396. I've filed #8280 to follow up with testing after that gets fixed.

FYI when you merge, some downstream repos might fail to build if they have a DotNetCliToolReference to dotnet-ef. I looked through Universe build and commented out most instances until we get https://github.com/dotnet/sdk/pull/1128. See https://github.com/aspnet/Universe/issues/506

Found and fixed one downstream repo in Universe that wasn't commented out.


[Backport 2.x] Add cluster state stats

Description
Backport https://github.com/opensearch-project/OpenSearch/commit/54e74a84437238c6154b0a15d209a9a1ecbaa4bb from https://github.com/opensearch-project/OpenSearch/pull/10670.
Related Issues
Resolves #10669

Gradle Check (Jenkins) Run Completed with:

RESULT: FAILURE ❌
URL: https://build.ci.opensearch.org/job/gradle-check/28954/
CommitID: 3c5c076
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green.
Is the failure a flaky test unrelated to your change?

2 Flaky testSkipDuplicates  https://github.com/opensearch-project/OpenSearch/issues/10798
Flaky testWriteBlobWithRetries  https://github.com/opensearch-project/OpenSearch/issues/7934
Flaky testDelayWithALargeAmountOfShards  https://github.com/opensearch-project/OpenSearch/issues/10558


Use the PR origin repo in integration tests

fix issue with testing in upstream repos

/test-integration

/lint


Design a Developer Environment Adapter interface

As previously discussed offline, we should design an interface that acts as an adapter between the different Solidity Development Environments (e.g. Hardhat, Truffle, Brownie, Foundry, Remix, repl.it's solidity support, etc) and the LS.
I'm creating this issue so that we can publicly document our ideas and get feedback from DE authors.

This was designed and implemented by @antico5!


Add to official documentation?

Hi,
I just saw in https://github.com/bigbluebutton/bigbluebutton.github.io/pull/282 that one can have a mention of playbooks available for installing BBB... Perhaps you also want to add a patch to the docs?

But this role is already linked there.
https://github.com/bigbluebutton/bigbluebutton.github.io/blob/master/_posts/2.3/2021-05-01-install.md
Or did I miss something?

Sorry, I didn't see/realize that the "n0emis" Link actually points here. So it's rather a question whether "eBBBa" wants more visibility... But as the role is already linked, I'll close this issue now.


Class & Function Selector Doesn't Work

Description
What steps will reproduce the problem?

The Class & Function Selector does not work for files that reside in directories that have __init__.py files.
 Notice that Class & Function Selector works for files in directories that do not have __init__.py files and does not work do have __init__.py files. Note also that command completion is unaffected.
class_selector.zip

I think this is related to PR #14058. Could you checkout the last merge before that one (which would be commit a31205d58c54bfc77d9555ffee691ba4b304481f) and try again?

Issue manifests beginning with 54178cc8f854d7180bdc40ef5a0abe80ee084b60.
Looks like it is caused by https://github.com/palantir/python-language-server/pull/879.
Also looks like this issue may already be resolved by https://github.com/palantir/python-language-server/pull/881

I'll close this issue. If https://github.com/palantir/python-language-server/pull/881 doesn't resolve, I'll reopen

I'll close this issue. If palantir/python-language-server#881 doesn't resolve, I'll reopen

An update to our subrepo with this fix will be merged in PR #14019.


Game server admin API

An API that makes certain server specific information and actions available. Needs to require some form of authentication.
This would allow for a way for things like banning someone on one server to kick them from other servers, or banning someone from SS14.Admin to kick them from servers. Also would allow a dashboard to be created to let admins see things like which servers currently have no admins.
Available information

[ ] Round number
[ ] Connected players
[ ] Active admins
[ ] Active game rules
[ ] Active game preset
[ ] Active map
[ ] MOTD
[ ] Panic bunker status

Available actions

[ ] End/restart round
[ ] Kick player
[ ] Add/remove game rule
[ ] Set game preset
[ ] Set map
[ ] Set MOTD
[ ] Set panic bunker status

Explicitly unavailable actions/information
This is stuff that probably shouldn't be done through the API since it can be done some other way, so it should probably not be available through the API

Anything you can get from the database

Bans
Notes
Playtime
Logs
Permissions

Anything you can do from the database

Ban
Note

If we had an API, could we use it for cross server commiunication? That could be useful for vouchers and playtime proof.

Working on this

If we had an API, could we use it for cross server commiunication? That could be useful for vouchers and playtime proof.

Federation in a nutshell


Rake task to add a heroku deploy hook

@loopj what's the status of getting the event-server to support this?

I actually merged https://github.com/bugsnag/bugsnag-event-server/pull/24 but never fully tested it.

was it ever deployed?

Yes, I think I deployed it but not 100% sure since it was a while ago
On Fri, Jan 2, 2015 at 3:38 PM, Simon Maynard<EMAIL_ADDRESS>wrote:

was it ever deployed?
—
Reply to this email directly or view it on GitHub
https://github.com/bugsnag/bugsnag-ruby/pull/167#issuecomment-68573387.

--
James Smith
Bugsnag https://bugsnag.com Co-founder & CEO
loopj.com | @loopj https://twitter.com/loopj | github.com/loopj

This is ready for review/merge. This has been tesed with production event-server and a couple of Heroku apps.
We'll also need to merge https://github.com/bugsnag/bugsnag-notifier-api/pull/8 at the same time.


Update release and test scripts to include unmanaged-cluster plugin

What this PR does / why we need it
Updates release and test scripts to include unmanaged-cluster plugin
Details for the Release Notes (PLEASE PROVIDE)
NONE

Which issue(s) this PR fixes
Fixes: #2867
Describe testing done for PR
Tested in my Linux Dev environment and everything looked fine for the Linux build that I tried out. Pipeline of PR is ~stuck though, due to #2870~ passing now 😁
Special notes for your reviewer
None

I did a make release on your branch @karuppiah7890 and it looks like it works for me. @joshrosso can you try a full rebuild using make release?

yup, works great for me.
sorry about that, must have been my environment!


PE-402: tar.gz files get the wrong content-type

Implements a wrapper for the lookupMimeType function to support tar.gz files as well (already reviewed at #557).
This is the approach we've decided after noticing that the Dart PR might take some time to be delivered. See the pull request at: https://github.com/dart-lang/mime/pull/66

Already approved https://github.com/ardriveapp/ardrive-web/pull/557


QAT heartbeat fail

Good morning.
Thank you for helping me develop the QAT project today.
Earlier I asked you about the question of Openssl 1.1.0 f + QAT ASYNC,
I have another question today.
Symptoms :  /proc/icp_dh895xcc_dev0/heartbeat fail
driver = Intel qatmux.l.2.6.0-60
openssl= openssl-1.0.1m-async patch version
Confirmation result
lspci | grep QAT
03:00.0 Co-processor: Intel Corporation DH895XCC Series QAT (rev ff)
cat /proc/icp_dh895xcc_dev0/heartbeat
ERROR: Qat is not responding. Please restart the device
syslog
Oct 24 13:45:12 AISVA-Naju1 kernel: [2260339.545137] icp_qa_al err: put_msg_sync: Failed to receive an admin response from AE.
Oct 24 13:45:12 AISVA-Naju1 kernel: [2260339.545179] [error] QatCtrl_SendSyncMsg() - : AE failed to respond to admin cmd 7, status:-1
Oct 24 13:45:12 AISVA-Naju1 kernel: [2260339.545182] [error] QatCtrl_SendHeartbeat_dh895x() - : Send Heartbeat message SYNC failed.
Oct 24 13:45:12 AISVA-Naju1 kernel: [2260339.545184] [error] QatCtrl_Heartbeat() - : Heartbeat failed.
Oct 24 13:45:12 AISVA-Naju1 kernel: [2260339.545184]
Oct 24 13:45:12 AISVA-Naju1 kernel: [2260339.545185] [error] QatCtrl_Heartbeat() - : Device needs to be restarted.
special note
1.
It didn't happen from scratch,
Every month, every 2 days ... Irregular occurrence...

No SSL data sent to QAT

heartbeat cycle time : 1~2 seconds
If you don't settle for ./adr_ctl reset,
Is that a problem with hardware?
Thank you !

Hi @duadbsgh,
A heartbeat failure is usually caused by a hang in the QAT Acceleration Device firmware/hardware. As you have found a reset usually resolves the issue. This hang could be caused by a hardware issue, it could be caused by a bug in the device firmware, or it could be caused by the QAT Driver passing invalid memory addresses down to the device. It is pretty much impossible for me to tell which of those is causing the issue in your case. My suggestions would be if possible swap in a second card and see if that behaves the same. If it does it is probably not the hardware itself that is causing the issue.
Are you aware that you can build the QAT Driver to automatically reset when a heartbeat failure is detected?
The details are in Section 4.9 of the Intel® Communications Chipset 8925 to 8955 Series Software - Programmer's Guide. You need to build the QAT Driver with the ICP_AUTO_DEVICE_RESET_ON_HB compile flag. This may help you recover when this situation occurs.
Problems of this nature with the QAT Acceleration Device itself are probably outside of the realms of what we can support in this forum which is focused on helping people integrate their OpenSSL based applications with the QuickAssist Hardware. I would suggest that if you manage to get a repeatable scenario that always causes a hang then you report it through the normal Intel support channels.
Kind Regards,
Steve.

Hi @stevelinsell
Thank you.
With the ICP_AUTO_DEVICE_RESET_ON_HB flag
There was no effect, so I concluded that it is a hardware aware problem.

Hi @duadbsgh,
That is strange that using the flag does not seem to have an effect.
Can you confirm how you are using the heartbeat feature. Are you doing a:
cat /proc/icp_dh895xcc_dev0/heartbeat
only after your traffic stops working or are doing it on a regular cadence, say every 30 seconds via a script/daemon?
When you say the flag has no effect, do you get a message in the system log saying that the device is being restarted? If the flag is working you should get an additional message after the:
kernel: [2260339.545185] [error] QatCtrl_Heartbeat() - : Device needs to be restarted.
Something along the lines of:
ERROR: QAT is not responding and it will be restarted.
Do you see anything like this?
Kind Regards,
Steve.


[Feature Request] Roleplay notes/integration with monks journals

Would be really cool if when you are having a conversation if a small not pad could show up next to each character for the GM and display some roleplay notes. These notes could be typed in manually or pulled from somewhere on the monks enhanced journal sheets.

I have added the option to link a journal entry to each participant from a conversation. When creating/editing a participant, you will be able to see a dropdown with all the journal entries in the world, simply select one and you will be able to see an additional button during active conversations which will open the selected sheet (MEJ entries are supported as well so you should be able to link any journal entry you want).

Initially I wanted to display the notes inside the conversation itself, however that would never have worked due to the limited amount of space (as I am trying to make the module compatible for smaller screens as well). As such, having a separate popup for the linked sheet was the only feasible solution that I could find. Hopefully this works for you.


add LSP type setter

need this is to allow setting of a desired logical switch port type, e.g., localnet

It is simple and straightforward so I just merged it.
I am not really sure if this will be used at all because it requires a separate transaction after the LSP is created. We need to find a way to support "namedUUID" so that create and update can be done in separate APIs but still can be executed in the same transaction.

@hzhou8 thanks for merging. all points you made bothered me as well, but I could not see a cleaner option - needed a 'localnet' port type, no API, didn't want to change signature of the existing methods. So, adding a simple setter sounded like a compromise - better than exec'ing ovn-nbctl to set type after everything else is done via go-ovn. I wish we had a common signature for methods that will take an attributes map (or entity-specific struct) where we can do any sorts of entity's columns manipulation by adding code to the method's body rather then multiply API methods for each and every attribute.

@vgozer sorry, I take it back. Actually I forgot that since the API is using port "name" instead of "uuid", the user can just call LSPAdd() and then LSPSetType(), and execute the returned commands together in a single transaction, something like:
cmd1, _ = ovndbapi.LSPAdd("ls1", "lsp1")
cmd2, _ = ovndbapi.LSPSetType("lsp1", "localnet")
ovndbapi.Execute(cmd1, cmd2)


Add option "forceCopyTemplates"

I added an option "forceCopyTemplates" which enables copying templates for static servers. If the option is enabled, everything inside the template and parent templates of the group will be copied to the static server before starting. This does not mean that the other files will be deleted - it just means that the files that are present in the template will be replaced.

What exactly should I put inside the convert method? Because the line with the option gets automatically added to the group json files. Or should I "manually" add it in the convert method for every group file?

Because the line with the option gets automatically added to the group json files

Have you tested this? I thought that this won't work.

Yes I tested it. The line gets automatically added. I think it's because when it isn't found in the json file it just assumes false for a default value and then when saving the file it gets added.

Thanks, I will merge this then! 👍


Changelog v1.13.2

as title ... need some fine tuning ...

Looks like the backport label is missing for #14530


[ace.js] Fix location of tooltip when hovering on error\info in line number column

For some reason, ace_tooltip was really far from the actual mouse (it supposed to appear next to the mouse cursor)
Here's how the problem looks:

Since the tooltip position is changed dynamically based on the cursor's position, I couldn't fix this by simply forcing top and left on the tooltip.
I used the following css to fix this problem:
.ace_tooltip {
	transform: translate(-84px, -146px);
}

This compensates for the distance, while allowing the tooltip to still move with the cursor.
Here's how the result looks like:

Seems like this it needs a more robust solution.
This bug seems to happen because of the draggable property of the side bar.
If you change the sidebar width, the tooltip for ace.js changes as well.
Needs some more investigation.

This might be because the header and sidebar. maybe ace.js should be position: absoluteed so everything in it will be relative to it?

This doesn't happen anymore with the new layout implementation.


x64 binary hotfix

This fixes Intercept not being able to find the game state pointer on latest x64 binaries.
Intercept can now automatically search and find the game state. No need to fix these offsets anymore.

There is one more change coming which will add signing for the core binaries.