DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_55ad6fb5-6345-4b90-ba94-b33e90abb5c6/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_55ad6fb5-6345-4b90-ba94-b33e90abb5c6.git

Docs Build status updates of commit 3fa7b16:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Security update

Set CSRF_FROM_SESSIONS to True.

Codecov Report

Merging #68 (50f8365) into prep-release (e686553) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@               Coverage Diff                @@
##           prep-release      #68      +/-   ##
================================================
+ Coverage         47.87%   47.89%   +0.01%
================================================
  Files               113      113
  Lines              3726     3727       +1
================================================
+ Hits               1784     1785       +1
  Misses             1942     1942

Impacted Files
Coverage Δ

src/fullctl/django/settings/default.py
96.15% <100.00%> (+0.15%)
:arrow_up:

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


GameID database not retrieved properly

GameID and AppID conversion database should be retrieved from http://royalgamer06.ga/sgdb.json, but it doesn't seem to be able to have or access this data when using the hidden manager.

The database is being retrieved fine for me. Maybe whatever was causing the issue for you was already fixed. Let me know if v8.3.8 fixes it when I release it.

Ok, the new version is out, let me know if it's fixed.

It is still not finding thousands of games from my database:
Retrieving app ids from SteamGifts (5730 left)...
It should only do that if the game does not exists in my database, right?

Do you have permissions granted for revadike.ga in the settings menu? This is so odd. Can you watch the network tab when this happens to see which app ids it's retrieving from SteamGifts and manually check if it's present in your database?
Did you ever get something like "Updating the cache..." when hiding the games?

I cancelled it (only 1k left), but now when I try again, it's at 5K+ again. I guess it doesn't save intermediate results.
That aside, it does seem these appids are not in my database, but 9/10 of these don't exist in steamgifts either (No results found).

So yeah, the problem is that it keeps looking for these missing apps. Every time I want to sync, I have to do 5K+ requests...

Ah ok, so I need to add a check if the game doesn't exist.

This is the response:
{"html":"

No results were found.<\/div><\/div>"}

https://github.com/gsrafael01/ESGST/commit/e369f9810b4193edf12b803d135bfdc520f047cb


fix falco host path mount of /sys/module

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If this PR will release a new chart version please make sure to also uncomment the following line:

/kind chart-release

Any specific area of the project related to this PR?
The current setting blocks my Falco 0.34.1 deployment in EKS, I manually modified the mounting path to /sys/module and it works.

Uncomment one (or more) /area <> lines:

/area falco-chart

/area falco-exporter-chart

/area falcosidekick-chart

/area event-generator-chart

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

Fixes #
Falco was mounted on directory /sys/module/falco, since the directory doesn't exist. Kubelet need to create the directory falco under /sys/module. However, /sys/module is a virtual filesystem, normal directory creation doesn't work in that directory, even with root user.  Hence, mount on /sys/module instead of /sys/module/falco.
Special notes for your reviewer:
The current setting blocks my falco 0.34.1 deployment in EKS. After I modified the host path mount to /sys/module, it works.
Checklist

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] CHANGELOG.md updated

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Kaizhe
Once this PR has been reviewed and has the lgtm label, please assign issif for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

The /sys/module/falco is needed by Falco to configure kernel buffers, and we are mounting only the falco folder. We do not want to mount the whole /sys/module in the Falco container.
The /sys/module/falco folder is available once the kernel module is loaded, so we assume that Falco container is started only if the falco-driver-loader init container has successfully loaded the kernel module. Even in the case when you are not using the falco-driver-loader init container you would need to load the kernel module by other means. So if the kubelet is refusing to start the Falco pod than it means that the kernel module is not loaded in the system. The patch is just postponing the failure of the Falco pod. Once it is up, it will attempt to start the capture using the kernel module, but will fail since the kernel module is not loaded.


feat: exec program capi

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

re #1676

feat: exec program capi

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

0 of 177 (0.0%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.1%) to 70.488%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

kclvm/src/lib.rs
0
7
0.0%

kclvm/src/capi.rs
0
170
0.0%

Files with Coverage Reduction
New Missed Lines
%

kclvm/src/lib.rs
1
0.0%

kclvm/tools/src/LSP/src/compile.rs
1
84.47%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.1%

Covered Lines:
51437

Relevant Lines:
72973

💛  - Coveralls


Interactive API docs theme for Nextra

Public API is a core part of almost any online service.
Nextra is missing an API docs theme that is interactive and sleek, just like the Docs theme.
Here's an example of what I'm talking about:
https://preview.readme.io/reference/post_ankr-getaccountbalance?url=https%3A%2F%2Fsanjose.api.ankrscan.io%2Fdocs%2Fswagger.json
We were able to embed a non-interactive API ref via Redocly: https://www.ankr.com/docs/advanced-api/specification/
It's still missing a lot of things, from interactivity, when you can click "Try it" and send a live request, getting a live response, to a matching theme.
Would be amazing to have some interactive API docs theme in Nextra, one that can eat a full .json/.yaml API spec file and render interactive API docs from it.

@B2o5T here you go.

Nextra is missing an API docs theme that is interactive and sleek, just like the Docs theme.

It can be done via custom themes for Nextra, but it should not be included in the current nextra-theme-docs. Because the purpose of the docs theme is to describe documentation and not add a Playground for REST or GraphQL API.

Public API is a core part of almost any online service.

Public REST API / swagger API is outside of the context of the docs theme

Look into Rapidoc. They're web components and so they currently can't be SSR, but the number of features makes it the best choice for us. We're building a new dev center, here's a prototype:
https://deploy-preview-4--bigcommerce-dev-center.netlify.app/api-specs/management-apis/customers/brands/post#get-/catalog/brands

@markcmurphy
Could I find you Telegram maybe to consult with concerning the API docs you mentioned? My handle there is @raproid
The example looks like something I can showcase to my PM and persuade him not to move our API docs to readme.io but o integrate them into our existing docs on Nextra.
What I'm failing to understand and want to know is the mechanics of your integration.
I can see the "api-specs" path in https://deploy-preview-4--bigcommerce-dev-center.netlify.app/api-specs/management-apis/customers/brands/post#get-/catalog/brands but I cannot find in the main branch of https://github.com/bigcommerce/dev-docs to see the source code and understand how you integrated Rapidoc into Nextra.

@markcmurphy or could you simply point me to the branch and the file where I can see the integration? So I can try to do it similarly.

I think we can find a good swagger UI library for React and use it in Nextra directly. What's the blocker?

https://openapi.tools/ here's a full list of available tools for OAPI.

Is this still a valid issue? Any ways to integrate public APIs into nextra?

I had the exact same question, and I see that this issue is still open. Pity.

The rendered content may not need to be interactive. Do we have something similar to npm/docusaurus-plugin-openapi-docs for Nextra?

npm/docusaurus-plugin-openapi-docs

This would be really good!

@raproid How did you added the non-interactive API? 👀

@raproid How did you added the non-interactive API? 👀

I am also looking into doing the same. It would be great if you could explain or link to your repo for this work @raproid. Thanks


Weird behavior with parameters chain_width and use_small_heuristics

I've experienced an odd behavior with rustfmt parameter chain_width.
I'm using the following rustfmt.toml file:
use_small_heuristics = "Off"

When invoking the command cargo fmt on the following code:
struct Foo {
    bar: String,
}

impl Foo {
    fn new(bar: &str) -> Self {
        Self {
            bar: bar.to_string(),
        }
    }

    fn test1(&self) -> &Self {
        self
    }
    fn test2(&self) {
        println!("{}", self.bar);
    }
}

fn main() {
    // The following line is actually uncommented
    // Foo::new("Hello world! This is just a loooooooong string.").test1().test2();
}

Then the line Foo::new("Hello world! This is just a loooooooong string.").test1().test2(); doesn't get changed.
However, if I add chain_width = 60 to the rustfmt.toml file and invoke cargo fmt again, the line gets modified to:
Foo::new("Hello world! This is just a loooooooong string.")
        .test1()
        .test2();

This is odd to me since, according to the documentation (see here), 60 is the default value for the parameter chain_width. So I was expecting to get the same result but that's not the case. Am I missing something? Is the documentation updated?
From my quick investigation, I narrowed down the problem to what seems a conflict between the parameters use_small_heuristics and chain_width. When I comment out the line use_small_heuristics = "Off" in my rustfmt.toml file, explicitely setting the chain_width value to 60 or not specifying it at all gives the same result, which seems to me like a normal behavior.
This happens whether I'm using cargo fmt and cargo +nightly fmt. I have the following rustfmt versions:
$ cargo fmt --version
rustfmt 1.7.1-stable (f6e511ee 2024-10-15)
$ cargo +nightly fmt --version
rustfmt 1.8.0-nightly (b91a3a0560 2024-11-07)

@0hDEADBEAF thanks for reaching out. I can totally understand the confusion, and I think it might be helpful to improve the documentation around use_small_heuristics=Off.
Setting use_small_heuristics=Off disables the width settings by setting chain_width to usize::Max, and that's why the chain doesn't get wrapped.
https://github.com/rust-lang/rustfmt/blob/777e25a8c91af9923ad356eb4448ac2ed15167a9/src/config/config_type.rs#L519
https://github.com/rust-lang/rustfmt/blob/777e25a8c91af9923ad356eb4448ac2ed15167a9/src/config/options.rs#L256-L267
However, when you explicitly set chain_width=60, that overrides the use of use_small_heuristics=Off for the chain_width setting.


Notfound page

Fixes #152
Replace issue_no with the issue number which is fixed in this PR
Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change:
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

Screenshots:

@Subham142 good job, but we actually went through a UI redesign and the links to new UI designs are available in the readme file, please go through those designs once and see if you can create a 404 page similar to the new designs and colour theme.

@kunaljain0212  can you please tell me how to set up the backend locally.I want to read the whole project and I'll make the changes accordingly.
is there a .env file?
I can't find the documentation for that

@Subham142 make the PR of error 404 . But later you need to make another PR if we need UI enhancements. And Bout thne .env file . See I have set the project in a way that if you wait a little bit it will connect to the heroku server to get its env files. It has the secret password key which is not a good thing to push to the repo.


NEW Use x.y-release branch instead of detached head

New release branch
When performing a new minor release, cow will now create your new minor branch and the release branch. It will then add commits to that branch instead of creating them in a detached head for tagging.
e.g. if releasing 4.12.0-beta1 cow will:

create a 4.12 branch
create a 4.12-release branch
create a commit on the new 4.12-release branch updating composer dependencies from 4.x-dev to ~4.12.0@beta
push the 4.12-release branch up to the remote
tag the 4.12-beta1 release
push the new tag
finally, push the 4.12 branch up to the remote

Note that actual numbers here may differ depending on the actual version of the recipe or module being released (e.g. 4.12 would be 1.12 for recipe-blog).
New merge up command
Running cow release:mergeup will merge the release branch up to the minor branch, and the minor branch up to the major branch, updating the constraints as it goes. You can optionally pass --delete-release-branch and the x.y-release branch will be deleted on the remote afterward.
e.g. after releasing 4.12.0 stable, running cow release:mergeup --delete-release-branch will:

Make a commit updating composer dependencies from ~4.12.0@stable to 4.12.x-dev
Merge 4.12-release to 4.12 and push to github
Make a commit updating composer dependencies from 4.12.x-dev to 4.x-dev
Merge 4.12 to 4
Delete the 4.12-release branch from github

Note that actual numbers here may differ depending on the actual version of the recipe or module being released (e.g. 4.12 would be 1.12 for recipe-blog).
Parent issue

https://github.com/silverstripeltd/product-issues/issues/565

No unit tests?

Most of cow doesn't have unit tests.... when do we write tests for this and when do we not?
I'm not even sure how to write a test for this new behaviour. Certainly there's no precedent for testing actual git steps with the existing unit tests.


[WIP] add carto to tile providers

This adds the CARTO positron and Dark Matter map tilesets, borrowed from cartodb/basemap-styles.

oh and also the voyager tileset.

Can you take a look at https://github.com/darribas/contextily/pull/66/ ?
That also adds CARTO and a lot more.

Coverage increased (+0.2%) to 91.154% when pulling a22919ae68e5dadfa316815bee81aaf9121301d4 on ljwolf:add-carto into d7db0ef2d13a242182fbd872c62aa75028f11d9a on darribas:master.

Closing in favor of making #66 work fully.


Release Checklist 1.53

Issues in Release

[ ] #4494 @devincowan
[ ] #4482 @pkdash
[ ] #4488 @sblack-usu
[ ] #4265 @alvacouch
[ ] #4497 @hyi
[ ] #4459 @pkdash
[ ] #4489 @devincowan
[ ] #4490 @devincowan

Beta Deployment

[ ] Diff RC to master to identify and manually make changes in the following files:

hsctl
config/hydroshare-config.yaml
nginx/config-files/hydroshare-ssl-nginx.conf.template
scripts/templates/docker-compose.template

[ ] Changes in hydroshare/local_settings.py need to be coordinated for manual update
[ ] Deployed to Beta
[ ] check_resource beta results match current www results
[ ] Review the search and discovery pages
[ ] Create a new user and update profile
[ ] Create iROD account, test connection and delete iROD account
[ ] Create a new resource, check sharing/permission settings, delete new resource
[ ] Developers test around issues
[ ] QA testing around issues
[ ] Stakeholders approval

Production Deployment

[ ] Deployed to Production

Make manual changes to files identified in Beta Deployment

[ ] Maps API key is correct and maps are displaying correctly
[ ] check_resource www results match pre-deployment www results
[ ] Review the search and discovery pages
[ ] Create a new user and update profile
[ ] Create iROD account, test connection and delete iROD account
[ ] Create a new resource, check sharing/permission settings, delete new resource
[ ] Developers test around issue

Notes relevant to deployment

[Enter Notes here]

I'm still putting together this release checklist.  The PRs are currently linked and need to be updated to issues.  Sorry, lots of things in flight right now and working on this as I get the time.  Thanks for bringing those issues to my attention.


metal: Qualified use cleanup

Some items are imported in scope with as _ and then again referenced using fully-qualified syntax.  Clean that up, and drop the use objc2_metal as metal rename while at it.
Turns out Mac's aren't good at pushing code after all because this was scheduled to be part of the previous PR, but somehow missed out.

and drop the use objc2_metal as metal rename while at it.

Could do the same in the example and docs probably?

and drop the use objc2_metal as metal rename while at it.

Could do the same in the example and docs probably?

Would be nice, all of the structs in objc2_metal start with MTL anyway to disambiguate them.

start with MTL anyway to disambiguate them.

I was thinking of that more as a reason for importing them in scope rather than renaming the (optional) qualification. The as metal rename would make it easier to convert away from the metal-rs crate, but there are so many renames that it's not very helpful anyway :)


-Add links to recent teamprops and latest litreview

You misspelled teamprop2 as temprop2!
(The build failed due to TravisCI having a connection error. This YAML validates fine other than you're spelling error)

/me decides to manually fix


Remove sudo: required.

This is a followup to #48.
It seems nothing is using sudo in trust, removing this line will default to sudo: false. This means, trust will run on Travis container infrastructure, which has faster boots and probably faster builds.
My testing showed that my repos run fine without sudo. I furthermore verified:

The docker service is brought up, even without sudo: enabled, so we are good there.
sudo apt-get no longer works since there is no sudo. But apt packages can be installed using the apt addon. (Example how this looks).

@japaric The failures on travis look transitional to me. Could you consider this PR?

rebased to retrigger CI.

@japaric Jorge, the same tests that fail CI also fail on master. I think this is clean to go in and will speed up starting CI by ~60secs.

closing for inactivity.

You triage your own opened PRs?

@fenollp I wonder why you ask? Here are my thoughts: I close inactive PRs I've sent for two reasons.

PRs are a promise to address comments and invest time going forward, as soon as I feel that I cannot afford to do this anymore, I close them. Open PRs get more costly to me over time:  they bit rot, my analysis for them has been done when I opened the PR and over time I loose context and the analysis goes out of sync because the world in which it was done changes. (Case in point: empirically it seems travis VM's boot now much faster, even with sudo=required).

I need to look at https://github.com/pulls roughly 20 times per day, every time I see all open PRs. I curate this list by closing the ones I feel no longer make any progress.

Just to clarify: I do not think it is terrible when a PR is not merged. That is very normal in a life cycle of a project. It is my personal level of investment I can provide that make me close old ones.


fixed issue https://github.com/Microsoft/TypeScript/issues/3486

Hi @ShyykoSerhiy, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

:+1:

Hi there @ShyykoSerhiy, thanks for the PR - does this fully fix #3486, or only partially?
Additionally, in the future, could you give a descriptive title and link to the issue with the pound sign (#) followed by the issue number? For instance, here I might have written this issue with the following title and body:

Make TypeScript compliant with strict mode
Fixes issue #3486.

Hi, It fully fixes #3486. I've also checked other files:

tsc.js
tsserver.js
typescript.js
too, so TypeScript should be compliant with strict mode

Great - thanks @ShyykoSerhiy!


Broken package MockingJ

http://<IP_ADDRESS>:8080/packages/8010F85D-D099-43AA-876E-BE05FB69BD45
{"error":true,"reason":"Something went wrong."}

And http://<IP_ADDRESS>:8080/packages/E8DB6B7D-5127-4509-8C7B-CD09B87A0143 and probably more

Ok, can repro with my local prod copy

Oh, right, these are packages that don't have the new version format. They're still saved as
{"tag": {"build": "", "major": 0, "minor": 2, "patch": 0, "preRelease": ""}}

instead of
{"tag": {"semVer": {"build": "", "major": 3, "minor": 1, "patch": 1, "preRelease": ""}, "tagName": "3.1.1"}}

Not great to fail like that but also not sure if we want to try and recover. We could create tagName from semVer but that will break in subtle ways further down the line if the actual name was v0.2.0.
This will all shake itself out once we reset the schema and also once all records are reprocessed. I think the issue here was that the package is in the state metadata_request_failed and didn't get an update.
I found this package via a search and I'm wondering if we should filter on status = ok in search (would need an update for the search view and query for that).

Actually, I don't think we want that filter. If for some reason, like for instance due to a rate limit generating errors, we log a lot of packages in a temp error state we'd pull them all from search.

Not great to fail like that but also not sure if we want to try and recover. We could create tagName from semVer but that will break in subtle ways further down the line if the actual name was v0.2.0.

Yea I think this is fine for now since the database is going to get a full reset.

This will all shake itself out once we reset the schema and also once all records are reprocessed. I think the issue here was that the package is in the state metadata_request_failed and didn't get an update.

I think this is the bug! Is there a reason why packages in the metadata_request_failed state are not getting updates?

But it's certainly been longer than the ingest time interval since that change went live? I think the interval is an hour and that change was days ago, wasn't it?

Yes, but we've been hitting the rate limit towards the tail end of every hour. I'll need to adjust more processing settings.
I'll verify these links again later tonight or tomorrow and also look further into the processing settings. I'll hold of squashing the schema for now.

Ok, these are still broken and we're not hitting rate limits anymore. Checking now!

Ok, MockingJ is a 404: https://github.com/JuanjoArreola/MockingJ

The second one, https://github.com/tadija/AECli, exposes an interesting bug:

when trying to update the package status at the end of ingestion, the update statement fails, because the join with versions fails due to the incompatible field
this leads to the package not being moved out of metadata_request_failed state to ok
which keeps it eternally failing due to bad data

A couple of things to fix:

make updatePackage fail safe against bad data
I was expecting the error from the failed write to be logged but for some reason it doesn't bubble up correctly

Just to follow up: after schema squashing both packages are correctly excluded from search


[Suggestion] allow cultivation of vishrooms for praecantatio essence

With netherwarts now giving alkimia the previous common source of praecantatio is gone. Sure you can centrifuge it from it, but i'd much rather have vishrooms spreading like a mushroom, maybe even give them a "big mushroom" variant :]

This issue was moved to Azanor/thaumcraft-suggestions#159


PostgreSQL - possibility to create "character varying" column without limit

This change in the PostgreSQL adapter allows you to create a "character varying" column without a limit. Otherwise, even if we set the limit to "null" it still takes this default.

@dereuromark @othercorey  Changes looks good. Can we merge it?

@MasterOdin Can you check this?


Cannot read property 'set' of undefined

I'm trying to edit the min value of an existing picker on my page. I'm using
 $('#FromDate').pickadate('picker').set('min', true);
        $('#ToDate').pickadate('picker').set('min',true);

When putting the code in my document.ready I get the following error
Cannot read property 'set' of undefined
Placing the code in an $(window).on('load', function ()) works, but then the changes are not always applied to the datepicker Q.Q.
What am I missing here?

Placing the code in an $(window).on('load', function ())

Well, the code and libraries are initialized after documentready so this is expected and normal.

So what is the right approach for setting a value once the pickadate has been initialised if not tin the $(document).ready(function() {)); block?


Create 37i9dQZF1EM7eDloxVsvKO

@squope, as far as I can tell, the "Your Top Songs 2020" playlist is unique to each user. To prevent confusion, can you please create an alias for this playlist containing your username? You can do so by adding this line to the file:
Your Top Songs 2020 (@squope)

@squope, as far as I can tell, the "Your Top Songs 2020" playlist is unique to each user. To prevent confusion, can you please create an alias for this playlist containing your username? You can do so by adding this line to the file:
Your Top Songs 2020 (@squope)

Maybe I'll just create a copy of the playlist with a different name and create another pull request.

Closing this PR since the new playlist was added in https://github.com/mackorone/spotify-playlist-archive/pull/205


Is there way to open Dropcode SolidJS code to develop in browser

I want to run Dropcode front end code as part of normal web dev so go to http://localhost:3000 and then any change I make in src will be hot reloaded.
Would be very nice to have. I had this setup with https://wails.io but new to Tauri so not sure.

The code is already hot reloaded when you make changes, the dev server (power by Vite) is started at http://localhost:1420 when you run pnpm tauri dev


generate service name as per kubernetes

Describe what this PR does
kubernetes doesnt allow to have any special chars other than - in the names, we need to replace all special chars that we allow with - for service names.
Related issues
Fixes: #88

/hold working on different log to generate names for resources

/hold working on different log to generate names for resources

not require, we don't need to hold this as its required in any case


(v3.6.0) Prefetching still does not work

Hey, thanks for contributing to Koel! To save time for both of us, please make sure these checkboxes are checked before submitting the issue:

[x] Is associated with a version. Or better yet, a commit.
v3.6.0

[x] Is as detailed as possible (ahem... OS, browser, steps to reproduce, maybe?)
From (https://github.com/phanan/koel/issues/550) Yes, it seems to be fetching twice for me, and there is delay between songs. I am running on the client on Chrome 56 on Windows 8, the server is running on ubuntu 14.04. Also using php sendfile()

[x] Includes the error output if it's a bug/error report ("Whoops!" is not very helpful, you know)
N/A

[x] Is in English, 因为我不说中文。
Yup!

As stated in the wiki, PHP streaming is very limited and not encouraged. If you can, consider using another method. I will consider this a WNF for now.


Improve Sounding Plot Functions

I first want to say that I have very limited experience working with packages. I've only used python for statisitcs/data analysis before, so I've only ever intalled pandas, numpy, seaborn, etc, and called it a day. However, sounderpy looks awesome so I'm trying to install it.
When installing sounderpy, this error message appears:
ERROR: Could not find a version that satisfies the requirement sounderpy
ERROR: No matching distribution found for sounderpy
I don't know if this is something trivial or not, but I couldn't really find any online help of where to go from here.
Thanks!

Thanks for reaching out! Glad you would like to use SounderPy.
Do you know what version of Python you have? SounderPy requires Python 3.10 or greater.

Hmmm, that could have been the problem. It’s been a while since I ran up
Python on my computer so I’ll have to check it out. Thanks!
On Thu, Jul 20, 2023 at 11:32 PM Kyle J Gillett @.***>
wrote:

Thanks for reaching out! Glad you would like to use SounderPy.
Do you know what version of Python you have? SounderPy requires Python
3.10 or greater.
—
Reply to this email directly, view it on GitHub
https://github.com/kylejgillett/sounderpy/issues/3#issuecomment-1644935891,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBMN2SLTTFA5E5JPSTICN6DXRHZ6FANCNFSM6AAAAAA2Q3BJ3Y
.
You are receiving this because you authored the thread.Message ID:
@.***>

Awesome, let me know if that works!

Good evening,
Apologies for taking so long to respond. I just got back to trying this
again, and this time it worked! When I previously tried, I did it on a
Jupyter Notebook and ran into trouble. I've been switching my Python
operations over to PyCharm and installing it there was a piece of cake!
When I generate a sounding, some of the wording and information seems more
cluttered than it should be and overlaps. How would I fix that?
Thanks,
Ethan Kerr
[image: image.png]
On Sun, Jul 23, 2023 at 10:05 AM Kyle J Gillett @.***>
wrote:

Awesome, let me know if that works!
—
Reply to this email directly, view it on GitHub
https://github.com/kylejgillett/sounderpy/issues/3#issuecomment-1646848661,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBMN2SJVB5L2P67SBELGYX3XRUVQ7ANCNFSM6AAAAAA2Q3BJ3Y
.
You are receiving this because you authored the thread.Message ID:
@.***>

Glad you got it working!
As to the plot titles: yes that is something I have realized to be a bit of an issue with specific models; that not everything fits in the title line like it should. The fix in that regard lies within the source code. One option you may consider is creating a plot yourself using MetPy's plotting functions examples. I am working on a new MetPy sounding plot example that can be found here: https://github.com/Unidata/MetPy/issues/2460#issuecomment-1661174128.
You should be able to rather easily convert this example into one that works with SounderPy data. For example, this section of code in the MetPy example that gets observed data:
col_names = ['pressure', 'height', 'temperature', 'dewpoint', 'direction', 'speed']

df = pd.read_fwf(get_test_data('may4_sounding.txt', as_file_obj=False),
                 skiprows=5, usecols=[0, 1, 2, 3, 6, 7], names=col_names)

# Drop any rows with all NaN values for T, Td, winds
df = df.dropna(subset=('temperature', 'dewpoint', 'direction', 'speed'
                       ), how='all').reset_index(drop=True)

p = df['pressure'].values * units.hPa
T = df['temperature'].values * units.degC
Td = df['dewpoint'].values * units.degC
wind_speed = df['speed'].values * units.knots
wind_dir = df['direction'].values * units.degrees
u, v = mpcalc.wind_components(wind_speed, wind_dir)

could be converted too:
clean_data = spy.get_bufkit_data('HRRR', 'KMOP', 0)

p = clean_data['p']
T = clean_data['T']
Td = clean_data['Td']
u = clean_data['u']
v  = clean_data['v']

then, after applying the actual plot code that I provide in that MetPy issue, you could make something like this:
My eventual plan is to implement a more advanced plot much like the one below into SounderPy. Hopefully that is soon!

Alright, that sounds easy enough. Thank you!
On Thu, Aug 10, 2023 at 2:37 PM Kyle J Gillett @.***>
wrote:

Glad you got it working!
As to the plot titles: yes that is something I have realized to be a bit
of an issue with specific models; that not everything fits in the title
line like it should. The fix in that regard lies within the source code.
One option you may consider is creating a plot yourself using MetPy's
plotting functions examples. I am working on a new MetPy sounding plot
example that can be found here: Unidata/MetPy#2460 (comment)
https://github.com/Unidata/MetPy/issues/2460#issuecomment-1661174128.
You should be able to rather easily convert this example into one that
works with SounderPy data. For example, this section of code in the MetPy
example that gets observed data:
col_names = ['pressure', 'height', 'temperature', 'dewpoint', 'direction', 'speed']
df = pd.read_fwf(get_test_data('may4_sounding.txt', as_file_obj=False),
skiprows=5, usecols=[0, 1, 2, 3, 6, 7], names=col_names)
Drop any rows with all NaN values for T, Td, winds
df = df.dropna(subset=('temperature', 'dewpoint', 'direction', 'speed'
), how='all').reset_index(drop=True)
p = df['pressure'].values * units.hPa
T = df['temperature'].values * units.degC
Td = df['dewpoint'].values * units.degC
wind_speed = df['speed'].values * units.knots
wind_dir = df['direction'].values * units.degrees
u, v = mpcalc.wind_components(wind_speed, wind_dir)
could be converted too:
clean_data = spy.get_bufkit_data('HRRR', 'KMOP', 0)
p = clean_data['p']
T = clean_data['T']
Td = clean_data['Td']
u = clean_data['u']
v  = clean_data['v']
then, after applying the actual plot code that I provide in that MetPy
issue, you could make something like this:
My eventual plan is to implement a more advanced plot much like the one
below into SounderPy. Hopefully that is soon!
[image: 255392709-a56a2fdb-dd10-4513-aaf9-9fdc204369b0]
https://user-images.githubusercontent.com/100786530/259839012-f948513f-7176-4d36-8aa9-c8399c7983a5.png
—
Reply to this email directly, view it on GitHub
https://github.com/kylejgillett/sounderpy/issues/3#issuecomment-1673719395,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBMN2SJMUK2NFUNMO3337HDXUUS6LANCNFSM6AAAAAA2Q3BJ3Y
.
You are receiving this because you authored the thread.Message ID:
@.***>

Improved plotting functions for both the Skew-T and hodograph have been developed and will be implemented into the next release of SounderPy.
Here is an example of the new plot:

Good evening,
I've been using Sounderpy lately, and I'm getting a better hang of things. I love how easy and quick it is to make a sounding. My only issue is that I still can't figure out for the life of me how to prevent all the text from being jumbled up. Any suggestions?
Thanks,
Ethan Kerr

Hold up, I literally just came across a tweet that answered my question. That's kind of crazy. Thanks for answering my question via some random tweet!

hey @ethankerrwx !
Thanks again for using SounderPy -- I love that so many folks are finding it useful!
I am glad you came across that tweet haha! It turns out that displaying the plot inline can cause some formatting issues on smaller screens.
In case anyone comes across this in the future, the fix for this issue will be saving the plot to a file -- then the dimensions and formatting will be correct.
use the method='save' kwarg:
metpy_sounding(clean_data, method='save', filename="some_filename")


The diff editor doesn't work well when clicking the change in REFACTOR PREVIEW panel

Version: 1.45.0-insider (user setup)
Commit: b83339a3a7bd8e3ec8a8b79deda9c37e0d91f094
Date: 2020-04-21T05:41:11.873Z
Electron: 7.2.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
Steps to Reproduce:

Install Java Language Support extension.

Clone https://github.com/spring-projects/spring-petclinic, and open it in VS Code.

Wait for the Java extension to be ready. There is an icon at the right bottom corner, 👍 means ready.

Go to file explorer, select the file src\main\java\org\springframework\samples\petclinic\vet\Specialty.java, and rename it to Specialty1.java.

The java extension will compute the update, and trigger the preview panel. See the screenshot below. You can see the correct diff summary at the preview panel, but when you click the child edit to open the diff editor, it doesn't render the diff texts correctly. When you check all edits and apply the refactoring, the changes can be applied correctly. This looks like it's a VS Code bug.

Share more background about Java implementation. When renaming a file, the Java extension will generate a workspace edit with needConfirmation property enabled, then call workspace.applyEdit API to trigger the preview panel.

// @jrieken

This looks like it's a VS Code bug.

This is the design. The diff editor shows a preview of what is going to happen when pressing apply and changes that aren't selected are not previewed (because they will not happen)


Bump node-sass to 3.0.0

Allows installation on io.js > 1.2

There was a bunch of breaking changes in 3.0, I addressed them in https://github.com/dlmanning/gulp-sass/pull/207

Right, I should've taken a look at changelog sorry for spam.


RFE - List installed, third-party packages in the Explorer View (with ability to add/remove/update, etc)

From @DonJayamanne on August 9, 2017 13:8

Ability to detect packages installed while vs code is running
Ability to detect packages installed but not listed in requirements & vice versa

Copied from original issue: DonJayamanne/pythonVSCode#1153

From @ghost on August 10, 2017 3:39
As in python packages like in PyCharm? Wow.. As long as it works with conda and pip will be amazing.

Closing as this takes us into IDE territory.


[v5.1]  JTAG memory region collision when CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM is true (IDFGH-10220)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.1-dev-4900-g56677dabe8
Operating System used.
Linux
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
What is the expected behavior?
No assertions, no memory region collision
What is the actual behavior?
Panic abort caused by overlapping memory regions during heap init
Steps to reproduce.

Enable JTAG as Data Destination 1, keep TRAX tracing disabled
Enable Reserve parts of SRAM1 for app IRAM (WARNING, read help before enabling)
build and flash

Build or installation Logs.
I (395) cpu_start: App cpu up.
I (425) cpu_start: Pro cpu start user code
I (425) cpu_start: cpu freq: 240000000 Hz
I (425) cpu_start: Application information:
I (430) cpu_start: Project name:     [redacted]
I (434) cpu_start: App version:      4da13c1-dirty
I (440) cpu_start: Compile time:     May 23 2023 12:49:18
I (446) cpu_start: ELF file SHA256:  7d7c660b8281e1ae...
I (452) cpu_start: ESP-IDF:          v5.1-dev-4900-g56677dabe8-dirty
I (459) cpu_start: Min chip rev:     v3.0
I (464) cpu_start: Max chip rev:     v3.99
I (468) cpu_start: Chip rev:         v3.0

assert failed: s_prepare_reserved_regions memory_layout_utils.c:94 (reserved[i + 1].start > reserved[i].start)

Backtrace: 0x40081c62:0x3ffe32f0 0x40095201:0x3ffe3310 0x4009bad5:0x3ffe3330 0x400d415a:0x3ffe3460 0x400d41f5:0x3ffe3490 0x400d3caf:0x3ffe3800 0x400d3037:0x3ffe3be0 0x400d337e:0x3ffe3c00 0x40081a6e:0x3ffe3c40 0x4007941e:0x3ffe3c90 |<-CORRUPTED

More Information.
I'm using an ESP32-WROVER-E module.
I did some digging around and found that in the linker script for the ESP32 family and the c file memory_layout.c contain some errors. The commit in question is 34fea0d38faec37df4492835e7d4ebf6aee55b8a
memory.ld.in:
#if CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM
#define SRAM1_IRAM_LEN 0xA000
#else
#define SRAM1_IRAM_LEN 0x0
#endif

MEMORY
{

  /* IRAM for PRO cpu. Not sure if happy with this, this is MMU area... */
  iram0_0_seg (RX) :                 org = 0x40080000, len = 0x20000 + SRAM1_IRAM_LEN

  . . .

  _sram1_iram_start = 0x400A0000;
  _sram1_iram_len = ( _iram_end > _sram1_iram_start) ? (_iram_end - _sram1_iram_start) : 0;
  _heap_end = ALIGN(0x40000000 - _sram1_iram_len - 3, 4);

  #if CONFIG_ESP32_TRACEMEM_RESERVE_DRAM != 0
  _heap_end = 0x40000000 - CONFIG_ESP32_TRACEMEM_RESERVE_DRAM;
  #endif

  . . .

}

if SRAM1_IRAM_LEN is 0xA000, _sram1_iram_len will be:
_sram1_iram_len = 0x40080000 + 0x20000 + 0xA000 - 0x400A0000
_sram1_iram_len = 0xA000
and so:
_heap_end = ALIGN(0x40000000 - 0xA000 - 3,4)
_heap_end = 0x3FFF5FFC
But when JTAG is enabled (without TRAX) tracemem_reserver_dram is 0x8000 bytes (32KB). which mean _heap_end will be redefined as:
_heap_end = 0x40000000 - 0x8000
_heap_end = 0x3FFF8000
It seems like that line doesn't take into account the offset caused by the _sram1_iram_len so I changed that part of the linker script to:
_sram1_iram_start = 0x400A0000;
_sram1_iram_len = ( _iram_end > _sram1_iram_start) ? (_iram_end - _sram1_iram_start) : 0;
_heap_end = 0x40000000 - _sram1_iram_len;

#if CONFIG_ESP32_TRACEMEM_RESERVE_DRAM != 0
_heap_end -= CONFIG_ESP32_TRACEMEM_RESERVE_DRAM;
#endif

I'm not sure why an ALIGN was added in that same commit, as both sram1_iram_len and 0x40000000 are already 32bit aligned, and I'm also not sure why it wasn't  also used for the _heap_end assignment when CONFIG_ESP32_TRACEMEM_RESERVE_DRAM != 0. In my case I just didn't use ALIGN, but it might be a mistake on my part.
Then I had to redefine the memory regions for tracemem in the memory_layout.c file of the esp32 taking that offset into account.
Before:
#if CONFIG_ESP32_MEMMAP_TRACEMEM
#if CONFIG_ESP32_MEMMAP_TRACEMEM_TWOBANKS
SOC_RESERVE_MEMORY_REGION(0x3fff8000, 0x40000000, trace_mem); //Reserve trace mem region, 32K for both cpu
#else
SOC_RESERVE_MEMORY_REGION(0x3fffc000, 0x40000000, trace_mem); //Reserve trace mem region, 16K (upper-half) for pro cpu
#endif
#endif

After:
#if CONFIG_ESP32_MEMMAP_TRACEMEM
#if CONFIG_ESP32_MEMMAP_TRACEMEM_TWOBANKS
#if CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM
SOC_RESERVE_MEMORY_REGION(0x3ffee000, 0x3fff6000, trace_mem); //Reserve trace mem region, 32K for both cpu
#else
SOC_RESERVE_MEMORY_REGION(0x3fff8000, 0x40000000, trace_mem); //Reserve trace mem region, 32K for both cpu
#endif
#else
#if CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM
SOC_RESERVE_MEMORY_REGION(0x3fff2000, 0x3fff6000, trace_mem); //Reserve trace mem region, 16K (upper-half) for pro cpu
#else
SOC_RESERVE_MEMORY_REGION(0x3fffc000, 0x40000000, trace_mem); //Reserve trace mem region, 16K (upper-half) for pro cpu
#endif
#endif
#endif

Here's a diagram that helped me visualize the sram segments:

@AntoineSX Thanks for reporting this!
We'll take a look at it.

Any update ?

Sorry for the delay! We'll prioritize closing this one next week.

Unfortunately I dont think the proposed change will work, since as far as I can see the trace memory blocks on ESP32 are fixed, so just reserving a different memory are wont work.
I think the fix will be to not allow these to be used together (like we already did for ESP32_TRAX)


Upload not working due to old fastlane tool

We are currently receiving errors when trying to upload builds using this step since it uses an old version of Fastlane and Apple changed something. See https://github.com/fastlane/fastlane/issues/12577 for details. There's a fix though in the newest release 2.96.0, could you please update this to the latest version of fastlane?

Hey @Dschee !
The step uses the version you've set. Set the desired version in the fastlane_version or leave latest of you want that. It should do the trick. Please let me know if it helps.

Heyyyyy 👋 Version 2.96.0 doesn't technically fix the problem but only shows a prettier error for the solution 🙃 Older versions of fastlane should still work but you just need to do this step - https://github.com/fastlane/fastlane/issues/12577#issuecomment-390811299 (this is what 2.96.0 informs users of)

Cool thanks, didn't know one could specify a specific version. I'd like to specify something like latest though, which I did by manually adding a script that runs gem install fastlane before the deploy step. That's working like expected.
And while you @joshdholtz are of course technically right, I'd like to disagree: It does fix the problem since my CI is now telling me how I can fix it which wasn't the case before. Regarding a CI, for me this is a fix. But that's discussable of course. :)

Thanks @Dschee for getting back. Also @joshdholtz and @viktorbenei for the info.
Closing this issue now as it seems not to be an exact issue with the step itself. Feel free to re-open if you still encounter issues regarding to the step.


Correct the error message shown for invalid regex errors

There is currently only one error variant for ProcfileParsingError, an error that only occurs if it was not possible to compile the regex used to parse a Procfile.
This regex is buildpack-supplied, so if such an error occurs, it's always an internal buildpack error.
However previously a user-facing error message was shown, that told the user to check their Procfile was valid, which has no bearing on whether the regex will compile.
I believe part of the reason for this confusion over error messages is that the error message handling was split across multiple files due to the use of thiserror meaning that the display representation could be leant upon, without actually looking closely at what was being displayed.
As such, I've removed thiserror, since I think the error handling is easier to reason about without it.
Fixes #74.
GUS-W-11318868.

Superseded by #77.


Access control

Summary
Adds authorization models and implements authorization on some routes.
Future routes to come in successive PRs
Test Plan
Tests WIP. Manual tests all passed

[ ] PR has an associated issue: #
[x] make check passes
[x] make test shows 100% unit test coverage

@CircArgs I pulled this down and ran it locally. It's working great! The only issue I noticed is when access validation fails and raises a DJException, it needs to use HTTPStatus.FORBIDDEN instead of HTTPStatus.UNAUTHORIZED because otherwise this snippet below in the dj exception handler will get triggered and will clear the jwt and basically force a logout. So when I tweaked it to test how the UI responds, it would just log you out on the next click.
    # If unauthorized, clear out any DJ cookies
    if exc.http_status_code == HTTPStatus.UNAUTHORIZED:
        response.delete_cookie(AUTH_COOKIE, httponly=True)
        response.delete_cookie(LOGGED_IN_FLAG_COOKIE)

Also about the UI, we'll need to make some changes there to respond to these access errors and provide some sort of "access denied" visual. Definitely doesn't need to be part of this PR but thought I'd mention it here.


Static class members named 'constructor'

TypeScript Version:  3.7.0-dev.20190831

Search Terms: class, constructor, static, computed, quoted
Code
class A { static constructor() {} }
class B { static "constructor"() {} }
class C { static ["constructor"]() {} }

Expected behavior:
Even though it may be confused with non-standard extensions like #265, I think treating all cases equally would be less confusing, because unlike non-static ["constructor"] there is no difference at runtime.
Actual behavior:
A and B (with #31949) get a 'static' modifier cannot appear on a constructor declaration.  diagnostic.
Playground Link:
http://www.typescriptlang.org/play/#code/MYGwhgzhAECC0G9oQC5hQS2NYB7AdqgE4CuwKuRAFAJSIC+09AUKJDAEKLJqbYBEeQilLlK-WgyatwUaAGFuqdFmgBtQQWJkKRfgF1JCRiyA
Related Issues: #31020, https://github.com/eslint/eslint/pull/12110

I don't understand your expected behaviour here. Do you expect an error on all 3 or no errors at all?
As far as I understand, none of these 3 examples declares an actual constructor. Am I correct on that?

I don't understand your expected behaviour here. Do you expect an error on all 3 or no errors at all?

I think anything consistent would be fine. I personally prefer no errors, since, even if it's a bit confusing, all 3 cases are valid JS and disallowing confusing code better fits linter.

As far as I understand, none of these 3 examples declares an actual constructor. Am I correct on that?

Yes, all these 3 cases are equivalent to Class.constructor = function() {}.


Closing previous window without exit all application

im currently trying Jetpack Compose Desktop but my question is how to close/dismiss/dispose the first window and calling the second window without shutting the whole program down
https://user-images.githubusercontent.com/56662976/113516593-aa102e00-95ad-11eb-8101-10c1fb960c77.mp4

I found my answer, at the second Window "AppManager.windows[0].close()" will close the first window

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Nullable typehinted parameters raise error if not the last mandatory parameter

Allowing a type-hinted to be null uses the same syntax as making a parameter optional, which confuses phan into reporting an error if followed by non-optional parameters:
/**
 * @param DateTime|null $d
 * @param int $i
 */
function foo(DateTime $d = null, int $i){}
//ParamError required arg follows optional

In the case of a type-hinted parameter as above, this error should probably be suppressed.

Thanks @therealgaxbo. I'll take a look as soon as I can.


Add date of registration to taken names

When I search for a name that is already registered, I should see the date that it was registered.
Expected

Current

You want the date registered or the date it can be released?

Added date of registration in this commit: https://github.com/status-im/ens-usernames/pull/32/commits/b4f3d09010796554e86f6be4085b6aca84258a4e

Yes date of registration 👍🏼

Ok, it's in the PR.  The one issue is it will only be available on names that were registered using the most recent registry, for it to be available on names registered when stateofus.eth was owned by another registry the username has to moved to the new registry and we don't expose that method in our UI.

If we transfer stateofus.eth to another registry contract that we deploy in the future, all names registered on the original contract will be impacted. On launch, having only one contract ever for registrations on mainnet will have no impact.

Makes sense. Will keep mental note of that.


Fix failing jest tests with constructor

This PR adds a constructor to the Icon react class. This allows Jest unit tests to pass. We had an issue where our unit tests would fail unless we patched this class.

hey @cranesandcaff
Thanks for your contribution 👍🏼
Could you please give a more detailed explanation of the issue you had with running your unit tests? Did you try to mock that file?

https://github.com/GeekyAnts/NativeBase/issues/2657
https://github.com/oblador/react-native-vector-icons/issues/1046
https://stackoverflow.com/questions/55530292/cannot-read-property-default-of-undefined-while-testing-application-with-jest
We could mock the icon but this will fix it for many people and save a lot of mental energy around using the project with no downsides.

Any thoughts on this? Seems like a low or no risk & high reward merge..

That's another way to fix these fails #1157


Removing object/blank dependency

@fidelisrafael I'd like to test with a sample application. You've any ideas?

@lucasgomide Maybe we can start to remove ActiveSupport as whole, this is the first step!
Try this application: https://github.com/fidelisrafael/nifty_services-sinatra_example

of course !!!
Can tell me how test with that application to coverage everything ?

@lucasgomide Maybe point to your current path in Gemfile, gem 'nifty_services', path: '/your/nifty_services/path', or using bundle: bundle config local.nifty_services /path/to/nifty_services, it's the simpler way for this.

txs

@fidelisrafael the tests has been executed successfully using nifty_services-sinatra_example

@lucasgomide Thanks for submitting this, I've commented in some parts of code, I think we can work in this and probably merge this after resolving!

@fidelisrafael can you review it  ?

@lucasgomide Awesome! This is ready to merge!


query set to empty array instead of null to avoid error

setting query equal null throws error later on in function

this is fixed now.


BLA add a USTrace learning parameter

A simple way of ensuring at least some learning at time of US is to add a USTrace learning param:
tr = USTrace * (input now at US) + (1-USTrace) * syn.Tr

should help make BLA learning more robust to changes over goal pursuit -- potentially useful regardless of #281 changes.

This works in initial eboa testing to allow curiosity-driven learning to acquire CS associations.


[Bug]-issues with text in most severe accidents widget PNG

To Reproduce
Download the png for most severe accidents table widget. The text in the downloaded png has issues with spacing between words and text direction. At least on macOs.
Expected behavior
PNG should match original widget on the app.
Screenshots

fix by #259
Not supported by Safari

Looks fine on safari. There are bugs in some of the other widgets that I will open issues for.


Use NCEPLIBS-bufr version 11.7.1 in development templates and as default version

This PR changes the NCEPLIBS-bufr version to 11.7.1 in the development templates, as well as in the default common/packages.yaml configuration.
I not completely sure I've got updated version number in all of the correct files - please double check this.
Please note that jcsda-internal/ioda-converters/pull/1006 is good with version 11.7.0, and it is subsequent PRs that require 11.7.1. If we already have 11.7.0 in the test containers, then we are good for PR 1006. However, if we don't have 11.7.0 in the test containers, then we might as well wait and update to 11.7.1.
Fixes #289

@srherbener I merged the spack PR, new hash is eadf6a3. Please revert .gitmodules and update the spack submodule pointer.

I also verified that the CI tests are building the new<EMAIL_ADDRESS>version and not the older version.

@srherbener I also built the entire jedi-ufs-all package on my macOS using label run-macos-dom, and it went through.

@srherbener I merged the spack PR, new hash is eadf6a3. Please update the spack submodule pointer.

I've updated the submodule pointer so I think everything is ready (as long as the tests pass). Thanks for testing on your Mac. I tested with my M1 Mac and bufr 11.7.1 built successfully.


local_name empty

My blu has not local name so all scripts are not working....
Whats the way to rename the local_name of blu device?
Regards

Hi
I'm ussing the follow example:
`/**

This script uses the BLE scan functionality in scripting
Will look for Shelly BLU devices fingerprints in BLE advertisements
Prints device name and address
*/

// Shelly BLU devices:
// SBBT - Shelly BLU Button
// SBDW - Shelly BLU DoorWindow
let ALLTERCO_DEVICE_NAME_PREFIX = ["SBBT", "SBDW"];
let ALLTERCO_MFD_ID_STR = "0ba9";
let BTHOME_SVC_ID_STR = "fcd2";
let SCAN_DURATION = BLE.Scanner.INFINITE_SCAN;
let ACTIVE_SCAN = true;
let SHELLY_BLU_CACHE = {};
function scanCB(ev, res) {
if (ev !== BLE.Scanner.SCAN_RESULT) return;
// skip if there is no service_data member
if (typeof res.service_data === 'undefined' || typeof res.service_data[BTHOME_SVC_ID_STR] === 'undefined') return;
// skip if we have already found this device
if (typeof SHELLY_BLU_CACHE[res.addr] !== 'undefined') return;
//if (typeof res.local_name !== 'string') return;
let shellyBluNameIdx = 0;
console.log(res);
for (shellyBluNameIdx in ALLTERCO_DEVICE_NAME_PREFIX) {
if (res.local_name.indexOf(ALLTERCO_DEVICE_NAME_PREFIX[shellyBluNameIdx]) === 0) {
console.log('New device found:');
console.log('Address: ', res.addr, ' Name: ', res.local_name);
SHELLY_BLU_CACHE[res.addr] = res.local_name;
}
}
}
BLE.Scanner.Start({ duration_ms: SCAN_DURATION, active: true }, scanCB);`
Local name is empty always
Note that i commented the line that checks local_name

From what device you are receding this data?
Update the device to latest beta firmware version.

Hello @taulfsime
in  "SNGW-BT01","gen" : 2,"fw_id" : "20240425-141307/1.3.0-ga3fdd3d", "ver" : "1.3.0", + Shelly BLU Door Window version 20240408-184602/V1.0.16@716b307b
local name doesn't work either used the https://github.com/ALLTERCO/shelly-script-examples/blob/main/ble-shelly-scanner.js

Hi @taulfsime,
I am getting undefined local name, too, when scanning for Bluetooth devices. I used shelly plus 1pm and 2pm as gateway, in version 1.3.2 and 1.2.2, both getting no local_name, which I use for forwarding to openhab. Firmware on BLU-Device D/W and Motion is also 1.0.16 but also tried with older version 1.0.9-rc
How to fix it or is there a working version, on which I can downgrade?

@sciestep can you post the output of Shelly.GetConfig here?

Hi @taulfsime,
here is the output of http://<IP_ADDRESS>/rpc/Shelly.GetConfig
{   "ble": {     "enable": true,     "rpc": {       "enable": true     },     "observer": {       "enable": true     }   },   "cloud": {     "enable": true,     "server": "shelly-80-eu.shelly.cloud:6022/jrpc"   },   "cover:0": {     "id": 0,     "name": "Rolladen Arbeitszimmer EG",     "motor": {       "idle_power_thr": 2,       "idle_confirm_period": 0.25     },     "maxtime_open": 60,     "maxtime_close": 60,     "initial_state": "stopped",     "invert_directions": false,     "in_mode": "dual",     "swap_inputs": false,     "safety_switch": {       "enable": false,       "direction": "both",       "action": "stop",       "allowed_move": null     },     "power_limit": 2800,     "voltage_limit": 280,     "undervoltage_limit": 0,     "current_limit": 10,     "obstruction_detection": {       "enable": false,       "direction": "both",       "action": "stop",       "power_thr": 2503,       "holdoff": 1     }   },   "input:0": {     "id": 0,     "name": null,     "type": "button",     "enable": true,     "invert": false,     "factory_reset": true   },   "input:1": {     "id": 1,     "name": null,     "type": "button",     "enable": true,     "invert": false,     "factory_reset": true   },   "mqtt": {     "enable": false,     "server": null,     "client_id": "shellyplus2pm-80646fc7a8d4",     "user": null,     "ssl_ca": null,     "topic_prefix": "shellyplus2pm-80646fc7a8d4",     "rpc_ntf": true,     "status_ntf": false,     "use_client_cert": false,     "enable_rpc": true,     "enable_control": true   },   "script:2": {     "id": 2,     "name": "script_2",     "enable": false   },   "script:1": {     "id": 1,     "name": "oh-blu-scanner.js",     "enable": true   },   "sys": {     "device": {       "name": "Rolladen Arbeitszimmer EG",       "mac": "80646FC7A8D4",       "fw_id": "20240522-112837/1.3.2-g34c651b",       "discoverable": true,       "eco_mode": true,       "profile": "cover",       "addon_type": null     },     "location": {       "tz": "Europe/Berlin",       "lat": 48.9075,       "lon": 9.1371     },     "debug": {       "level": 2,       "file_level": null,       "mqtt": {         "enable": false       },       "websocket": {         "enable": true       },       "udp": {         "addr": null       }     },     "ui_data": {},     "rpc_udp": {       "dst_addr": null,       "listen_port": null     },     "sntp": {       "server": "time.google.com"     },     "cfg_rev": 27   },   "wifi": {     "ap": {       "ssid": "ShellyPlus2PM-80646FC7A8D4",       "is_open": true,       "enable": false,       "range_extender": {         "enable": false       }     },     "sta": {       "ssid": "Vodafone-3984",       "is_open": false,       "enable": true,       "ipv4mode": "static",       "ip": "<IP_ADDRESS>",       "netmask": "<IP_ADDRESS>",       "gw": "<IP_ADDRESS>",       "nameserver": null     },     "sta1": {       "ssid": null,       "is_open": true,       "enable": false,       "ipv4mode": "dhcp",       "ip": null,       "netmask": null,       "gw": null,       "nameserver": null     },     "roam": {       "rssi_thr": -80,       "interval": 60     }   },   "ws": {     "enable": false,     "server": null,     "ssl_ca": "ca.pem"   } }

Thanks, @sciestep.
Could you please open the web page of the device, disable the ble gateway option, reboot the device and check again?

Yeah, as for now you can not change the default scan stared by the firmware which is used to forward the packets to the cloud. If you need only packets from some devices, you can make a map in the script for each bluetooth device as Mac address and its type. furthermore its not good running always active scan because this will drain the battery of the device faster.

@ayasystems Please check the conversation above, I know that probably this isn't the answer you were looking for, but this is how it works for now. Let's close the issue, as it isn't related to the script directly. Thank you.


Bug on RunTweaksForRegistry function that breaks Windows Update

File: ./scripts/all-in-one-tweaks.ps1
Description: Some RunTweaksForRegistry code makes the Windows Update unable to download or install the updates.
In some cases it gets 100% installed, but gives an error message in the final.
Cases:

1: Sometimes it shows a Repeat button, but nothing solves
2: Before downloading anything returns a message to Enable Wi-Fi to download, but it is in a wired connection.
3: Clicking the Download button don't download anything in some cases.

The solution was to go to Network & Internet > Ethernet (Or Wi-Fi if using laptop) > Select Ethernet and Disable Define as metered connection.
Other part of the solution was to remove block-telemetry.ps1 and reset the Hosts file, this was causing an issue to Windows Update, anyway, at least this part is included on the script.

The solution was to go to Network & Internet > Ethernet (Or Wi-Fi if using laptop) > Select Ethernet and Disable Define as metered connection.
Other part of the solution was to remove block-telemetry.ps1 and reset the Hosts file, this was causing an issue to Windows Update, anyway, at least this part is included on the script.


[FLINK-19147] Support CliClient AutoClose interface

What is the purpose of the change
Since JDK7, using try-with-resources to process exceptions. When the resource implement AutoClose interface it could release automatic.
Brief change log
(for example:)

The TaskInfo is stored in the blob store on job creation time as a persistent artifact
Deployments RPC transmits only the blob storage reference
TaskManagers retrieve the TaskInfo from the blob cache

Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (100MB)
Extended integration test for recovery after master (JobManager) failure
Added test that validates that TaskInfo is transferred only once across recoveries
Manually verified the change by running a 4 node cluser with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@twalthr This seems like a legit improvement, right?
@darionyaphet The build is failing because of problems with checkstyle: https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=6270&view=logs&j=52b61abe-a3cc-5bde-cc35-1bbe89bb7df5&t=54421a62-0c80-5aad-3319-094ff69180bb&l=13354

@twalthr This seems like a legit improvement, right?
@darionyaphet The build is failing because of problems with checkstyle: https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=6270&view=logs&j=52b61abe-a3cc-5bde-cc35-1bbe89bb7df5&t=54421a62-0c80-5aad-3319-094ff69180bb&l=13354

Hi  @aljoscha thanks for your help. As a new hand, actually I don't find the CI website.
Could you show me the link? thanks a lot

@darionyaphet You can find the instructions how to set up your CI here:
https://cwiki.apache.org/confluence/display/FLINK/Azure+Pipelines
under https://cwiki.apache.org/confluence/display/FLINK/Azure+Pipelines

@darionyaphet You can see the CI report from the post that the flinkbot does. Where it says "CI report" you will see "SUCCESS", or "PENDING", or "FAILED". You can click that link to see the logs and see where the problem is.


net/http: panic "slice bounds out of range" while reading chunked response body

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.8.3 linux/amd64
Does this issue reproduce with the latest release?
unknown
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"

What did you do?
A HTTP service proxies it's request to an upstream HTTP service. The upstream sends back a chunked encoded response.
What did you expect to see?
The service is expected to proxy the response from the upstream back to the downstream client.
What did you see instead?
The process sporadically panics with a runtime error: slice bounds out of range message in the bufio.(*Reader).ReadSlice.
panic: runtime error: slice bounds out of range

goroutine 134054 [running]:
bufio.(*Reader).ReadSlice(0xc4204e17a0, 0xa, 0x92e7e8, 0xc4206dd940, 0xc4206dd930, 0xc420718680, 0xc420b2a850)
    /usr/local/go/src/bufio/bufio.go:316 +0x258
bufio.(*Reader).ReadLine(0xc4204e17a0, 0xc4201185a0, 0x90, 0x90, 0x8fc0e0, 0xc420b2a8b8, 0xc4206dda08)
    /usr/local/go/src/bufio/bufio.go:367 +0x37
net/textproto.(*Reader).readLineSlice(0xc4206ddaf8, 0x0, 0xc4206dda30, 0x40fdb8, 0x90, 0x8fc0e0)
    /usr/local/go/src/net/textproto/reader.go:55 +0x5f
net/textproto.(*Reader).ReadLine(0xc4206ddaf8, 0xc4201185a0, 0xc4207a3520, 0x0, 0x0)
    /usr/local/go/src/net/textproto/reader.go:36 +0x2f
net/http.ReadResponse(0xc4204e17a0, 0xc4200bcb00, 0xc4206ddb80, 0x5f916d, 0xc420314440)
    /usr/local/go/src/net/http/response.go:148 +0xca
net/http.(*persistConn).readResponse(0xc420554a20, 0xc4200bcb00, 0xc420a38300, 0x0, 0x0, 0xc420a381e0, 0xc420b2a150, 0xc420686870, 0x0, 0x0)
    /usr/local/go/src/net/http/transport.go:1649 +0x57
net/http.(*persistConn).readLoop(0xc420554a20)
    /usr/local/go/src/net/http/transport.go:1489 +0x12c0
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35

Running the service with the race detector enabled shows a data race between net/http.(*body).readLocked()/bufio.(*Reader).ReadSlice() and net/http.(*persistConn).readLoop()/bufio.(*Reader).Peek() that is likely related:
==================
WARNING: DATA RACE
Read at 0x00c42088e508 by goroutine 169:
  bufio.(*Reader).ReadSlice()
      /usr/local/go/src/bufio/bufio.go:316 +0x5f
  net/http/internal.readChunkLine()
      /usr/local/go/src/net/http/internal/chunked.go:122 +0x4a
  net/http/internal.(*chunkedReader).beginChunk()
      /usr/local/go/src/net/http/internal/chunked.go:48 +0x5c
  net/http/internal.(*chunkedReader).Read()
      /usr/local/go/src/net/http/internal/chunked.go:93 +0x229
  net/http.(*body).readLocked()
      /usr/local/go/src/net/http/transfer.go:761 +0xbf
  net/http.(*body).Read()
      /usr/local/go/src/net/http/transfer.go:753 +0x131
  io.copyBuffer()
      /usr/local/go/src/io/io.go:390 +0x116
  io.CopyBuffer()
      /usr/local/go/src/io/io.go:371 +0xa5
  REDACTED http handler
  net/http.serverHandler.ServeHTTP()
      /usr/local/go/src/net/http/server.go:2568 +0xbc
  net/http.(*conn).serve()
      /usr/local/go/src/net/http/server.go:1825 +0x71a

Previous write at 0x00c42088e508 by goroutine 8:
  bufio.(*Reader).fill()
      /usr/local/go/src/bufio/bufio.go:88 +0x561
  bufio.(*Reader).Peek()
      /usr/local/go/src/bufio/bufio.go:129 +0x131
  net/http.(*persistConn).readLoop()
      /usr/local/go/src/net/http/transport.go:1474 +0x2b5

Goroutine 169 (running) created at:
  net/http.(*Server).Serve()
      /usr/local/go/src/net/http/server.go:2668 +0x35f
  REDACTED main func

Goroutine 8 (running) created at:
  net/http.(*Transport).dialConn()
      /usr/local/go/src/net/http/transport.go:1117 +0xc07
  net/http.(*Transport).getConn.func4()
      /usr/local/go/src/net/http/transport.go:908 +0xa2
==================

A short investigation points to a data race between the Peek call by readLoop on the connection's bufio.Reader and the chunked body reader. It appears that the EOF signal, forwarded by the bodyEOFSignal reader, is forwarded once the body reader returns an EOF but not necessarily before all body data has been read from the bufio.Reader. The Peek(1) call does not grab the persistConn's lock, and bufio.Peek may call bufio.fill, which can rearrange the backing slice. My guess is that this only seems to show up with chunked responses because small reads (smaller than the buffer size) are performed when the chunk size is small.

Thank you for the report. Do you have a minimal reproduction that we can run?

@dsnet not yet, i'm still working on one but it's proving to be quite tricky to trigger. I'll update the ticket as soon as I have a reproduction.

\cc @tombergan

Can you say more about "REDACTED http handler", specifically, what the copy is copying?

Does the error occur with 1.9?

The handler is running a modified version of httputil.ReverseProxy, and the io.CopyBuffer comes from the ReverseProxy.copyResponse method, which still calls io.CopyBuffered directly.
I'm only able to trigger the panic & data race in a production environment where running 1.9/tip is not an option. If I'm able to reproduce it locally I will be sure to test with go1.9 and tip.

This program reproduces the data race: https://play.golang.org/p/QztsfgNHNr
It looks like the data race is triggered by a 304 response that has a chunked encoded empty body.  go1.9 and tip also hit the data race.

I'm not really following this thread (still on leave), but of note: a 304 response never has a body.
https://tools.ietf.org/html/rfc7230#section-3.3.3 says:

Any response to a HEAD request and any response with a 1xx
(Informational), 204 (No Content), or 304 (Not Modified) status
code is always terminated by the first empty line after the
header fields, regardless of the header fields present in the
message, and thus cannot contain a message body.

If Go is processing a server saying:
"HTTP/1.1 304 NOT MODIFIED\r\nConnection: keep-alive\r\nTransfer-Encoding: chunked\r\n\r\n0\r\n\r\n"
It would stop after the first \r\n\r\n and start reading 0\r\n\r\n as the next response, which may not be ready yet.
Any server sending such a response is buggy, but I agree that Go shouldn't have a data race when handling an invalid response, if that's indeed what's happening here. (I haven't looked.)

@benburkert, I realize now you said the exact same thing. I had looked at your play.golang.org snippet, came back to comment, and never read your very next sentence. Sorry.

@bradfitz no worries, thanks for digging up the relevant section of the RFC so quickly!

Is there anything else to fix here?


Search members

Hello,
It would be nice to search source members by text(equivalent of F17 in SEU) and to order them by change date (equivalent of F15 in SEU).
Thanks
Giovanni

By text, do you mean the member text/description or the text/content of the member itself?

Hi Barry,
I mean the member text/description

VS Code has a way to search TreeViews, it'd be nice to include the description that search.
See here: https://github.com/microsoft/vscode/issues/162954


Bumping golang version to v1.20.3

What this PR does / why we need it:
Bumping golang version to v1.20.3 to get rid of CVE's in golang 1.19.6
Which issue(s) this PR fixes:

Fixes #
Does this PR introduce a user-facing change?

Additional Notes for your reviewer:
Review Checklist:

[ ] Follows the developer guidelines
[ ] Relevant tests are added or updated
[ ] Relevant docs in this repo added or updated
[ ] Relevant carvel.dev docs added or updated in a separate PR and there's
a link to that PR
[ ] Code is at least as readable and maintainable as it was before this
change

Additional documentation e.g., Proposal, usage docs, etc.:

Duplicate


Add different codepoint for unicode 13.0

New codepoints are added in unicode 13.0, but not exist in unicode 12.1.
Close https://github.com/NVIDIA/spark-rapids/issues/6752
Signed-off-by: Gary Shen<EMAIL_ADDRESS>

build


Fix support for proxying devices that switch interface altsettings

Even though #6 added basic support for devices that switch between interface altsettings, it might not work properly in certain cases: the endpoint handling threads might fail to be joined, as they might be blocked on libusb or Raw Gadget transfers.
Interrupting Raw Gadget transfers is simple: just send any signal to the endpoint threads via pthread_kill and add a no-op handler for this signal (but perhaps a signal other than SIGINT, as USB Proxy already uses this signal internally).
However, interrupting the libusb transfers is a problem.
A simple solution would be use the timeout argument of the libusb sync I/O API, but unfortunately libusb has a bug that makes sync I/O ignore the timeout argument.
We need to either switch to using async libusb I/O or figure out another way to interrupt libusb transfers (without fully resetting the device, as done in #14).

Ah, actually libusb timeouts work as expected, it's just that receive_data zeroes out timeout.


[WIP]: NGPHistoryParser and medtronic600Simulator code complete

NGPHistoryParser and medtronic600Simulator code complete.
Added unit tests and some extra documentation.
Sorry for the uber-commit @gniezen!

 Medtronic 6 History Message - Basals <ux:0 dev:3 tst:5>

I've made some more comments, but I think we should get this PR merged asap as it's getting pretty unwieldy, and any changes to be put in a new PR.


Fix LoadScriptAsync to reject with proper error

See https://forum.babylonjs.com/t/importasyncmesh-on-server-side-without-scene/34151/39

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/13415/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13415/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13415/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13415/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13415/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13415/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13415/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13415/merge#BCU1XR#0


Azure SQL Database

[Enter feedback here]
Does this apply to the Azure SQL Database?  I had cx with SR<PHONE_NUMBER>04015. If yes please provide the sample with the Azure SQL database.
I was looking for the sample on the below link. I did not see the server or DB parameters.
https://docs.microsoft.com/en-us/sysinternals/downloads/procdump
Hiten Bhavsar

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

ID: 346dae71-6538-ebae-cfc8-9b0503c0dff5
Version Independent ID: 0f4aa0e6-ffc2-bf4c-a49f-0cc821b16787
Content: Get Full Memory Dump to troubleshoot SSMS - SQL Server Management Studio (SSMS)
Content Source: docs/ssms/troubleshoot/get-full-memory-dump.md
Product: sql
Technology: ssms
GitHub Login: @markingmyname
Microsoft Alias: maghan

@hiten004 -- Hiten, thank you for your question.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@markingmyname -- Mark, please look into this issue.

@hiten004
Thank you for your suggestion and request. We're on it. This will be discussed with the parties involved.

@hiten004 -- Hiten, thank you for your question. Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@markingmyname -- Mark, please look into this issue.

@WilliamAntonRohm I have checked all those resources but no luck with Azure SQL

@hiten004
I see where the confusion is, especially since the "applies-to" shows that it should.
We are looking into this to be more clear.
Thank you for your patience.

@hiten004
The memory dump runs on the workstation where your SSMS is installed and will dump the memory contents regardless if SSMS is connected to a specific engine or is completely disconnected.
It does work whether SQL Server or Azure SQL.
Thank you.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion, and we will reopen the issue. To see what the community is wanting, please visit the SQL Server User Feedback site.


Allow constructing Update messages with key-value pairs in StatusDetails

statusDetails is an optional field that can be used to update the Job status with additional details that can be used during verification step.
Please refer the usage of statusDetails field in the documentation: https://docs.aws.amazon.com/iot/latest/apireference/API_iot-jobs-data_UpdateJobExecution.html#iot-iot-jobs-data_UpdateJobExecution-request-statusDetails
Can you add the support to append key-value pairs in status details and statusDetails field when a job update message is sent?
Few example of such message:
{"status":"FAILED","statusDetails":{"self_test":"ready","updatedBy":"0x1e240"}} -> to notify that download is complete and device will go in self-test mode
{"status":"FAILED","statusDetails":{"self_test":"accepted","reason":"v1.0.0"}} ->to notify that new image was committed.
The APIs should provide an interface to construct such messages because these were provided by older ota agent to notify the ota progress and were very helpful

Hello Priya,
Thank you for requesting the feature. I'll forward this to the team. If you would like to get this sooner, we do accept PR request and may merger it, accelerating the feature release time.
Thank you,
Best Regards,
AR

There are a few ways to go about it, but ultimately I think taking in a pre-formatted StatusDetails string to the function. See  https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk/issues/101 for more.

Closing this as https://github.com/aws/Jobs-for-AWS-IoT-embedded-sdk/pull/105 is merged. This will allow you to send any arbitrary JSON key-value structure.


[KOGITO-5590] Supporting http cloud events on multi addon

Removing empty constructor for DefaultEventMarshaller (using injected mapper if no instance is available, which happens for DMN without processes examples)
Adding support for Http cloud events on multi addon
Restoring changes that breaks http cloud events
Please note that CloudEvent modules is already being registered if addon (quarkus or springboot) is enabled.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

jenkins run examples tests

jenkins run optaplanner tests

The (build) Apps check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

jenkins run examples tests

jenkins run optaplanner tests

The (build) Optaplanner check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

jenkins run examples tests

Build finished. 2122 tests run, 4 skipped, 0 failed.

Let's wait for the CI to finish

jenkins run examples tests

The (build) Examples check has failed. Please check the logs.

jenkins run examples tests


intellisense cannot find module "@path/to" custom alias paths

I can compile the project and it works fine, but I always get error in vs code intellisense telling me cannot find module<EMAIL_ADDRESS>tsconfig.json :
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist",
"module": "es2015",
"target": "es6",
"lib": [
"es2015",
"es2015.promise",
"dom"
],
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"sourceMap": true,
"noImplicitAny": true,
"noImplicitThis": true,
"esModuleInterop": true,
"strictNullChecks": false,
"allowJs": false,
"types": [
"reflect-metadata",
"jest",
"vue"
],
"paths": {
"@components/": [ "src/components/" ],
"@views/": [ "src/views/" ],
"@models/": [ "src/models/" ]
}
}

from https://www.typescriptlang.org/docs/handbook/module-resolution.html:

Please notice that "paths" are resolved relative to "baseUrl". When setting "baseUrl" to another value than ".", i.e. the directory of tsconfig.json, the mappings must be changed accordingly. Say, you set "baseUrl": "./src" in the above example, then jquery should be mapped to "../node_modules/jquery/dist/jquery".

from the issue template:

🚨 The issue tracker is not for questions 🚨
If you have a question, please ask it on https://stackoverflow.com/questions/tagged/visual-studio-code.


Project.toml: update HDF5 compat

Hi, I needed compatibility with a newer HDF5 version and updated the compat. Tests run through normally and nothing seems awry with the new version.

Thanks!


Segmentation fault when running test/nn/conv/test_agnn_conv.py

Hi,
I encountered Segmentation fault (core dumped) when running test/nn/conv/test_agnn_conv.py.
I used conda virtual environment, and installed cudatoolkit-dev. The pytorch version is 1.0, and the cuda version is 10.0.
I've checked cuda nvcc and pytorch version. They are matched.
Thank you!

It has been solved.
I would like to record how to install these extensions in a conda virtual environment. It is a little bit more complex than common installation.
create a enviroment: conda create -n my_env python=3; and enter it source activate my_env
install gcc compiling tools with conda: conda install gcc_linux-64 gxx_linux-64
then the gcc is in ~/miniconda3/envs/my_env/bin/x86_64-conda_cos6-linux-gnu-gcc. add a soft symbol in the dir:
ln -s x86_64-conda_cos6-linux-gnu-gcc gcc
ln -s x86_64-conda_cos6-linux-gnu-g++ g++
install cuda development toolkit: conda install cudatoolkit-dev
install pytorch: conda install pytorch
install the extensions with source code:
python setup.py build;
python setup.py install
python setup.py test

I was getting segfaults as well and conda installing a new version of gcc and then updating my LD_LIBRARY_PATH to include my conda environment's x86_64-conda_cos6-linux-gnu/lib folder solved the problem. However, when you install gcc with anaconda, it sets various environment variables for you (CXX, GCC, etc.), so you shouldn't need to change the symbolic links for gcc or g++. In fact, changing the gcc link is probably a bad idea because it means you'll end up using your conda environment's compiler instead of your system compiler when you use gcc in other contexts.


Stream video via ffmpeg

Hello
I've done everything with API.
But i have one main problem yet - i can not stream video to periscope. Ffmpeg connects to server, streams video - i see black screen in browser or fatal error in android application.
Video codec: h264
Audio codec: AAC
I have tried "-f flv" and "-f mpegts" - same result at all.
May be someone already solved this problem...
Thanks

I have a similar problem on #6. To fix the black screen error you should do -c copy. But still I get fatal error on my smartphone. If you've found the fix please share it.

Man can i know how u auth to ur acc? Thx

So, looks like api useless?

@Enelar looks like so. Actually, it's not about the API, the problem is about the stream. Either you should include special headers in it or a video itself should be encoded somehow specially.

@zvedenyuk if you patch ffmpeg to attach wowza-specific metadata to the rtmp stream it stops crashing on android so that's a start. It's still crashing on iOS for me however which is very peculiar.
here is the system log attached to the crash:
Last Exception Backtrace:
0 CoreFoundation 0x23b1f866 0x23a2a000 + 0xf5866 // __exceptionPreprocess + 0x7a
1 libobjc.A.dylib 0x3521edfa 0x35218000 + 0x6dfa // objc_exception_throw + 0x22
2 CoreFoundation 0x23b25030 0x23a2a000 + 0xfb030 // -[NSObject(NSObject) doesNotRecognizeSelector:] + 0xb8
3 CoreFoundation 0x23b22c8a 0x23a2a000 + 0xf8c8a // ___forwarding___ + 0x2ba
4 CoreFoundation 0x23a522b4 0x23a2a000 + 0x282b4 // _CF_forwarding_prep_0 + 0x14
5 CoreFoundation 0x23a3a9e2 0x23a2a000 + 0x109e2 // -[__NSCFNumber compare:] + 0x66
6 Periscope (*) 0x000da844 0x00014000 + 0xc6844

@MichaelZaporozhets thank you for sharing! Hope that eventually, we'll find a solution.


Export log file from build/import VM

Add functionality to define 1 - many log files that will be copied to GCS bucket before failing or completing the workflow.
Windows tools such as Sysprep and DISM log to separate log files, and retrieving logs requires modifying the workflow to save the build/import disk. It would be more convenient to save logs containing the errors so that they can be investigated.

How should log files to be copied to GCS be specified?
Are file names fixed or they can have a variable part? What about paths?
Will the number of log files be variable or fixed (e.g. will logging of a single tool be spread of multiple files)?

It would be helpful to have a concrete example.

We run Sysprep at the end of an image build, that logs to C:\Windows32\Sysprep\Panther. If there is an error during Sysprep, this is documented in this txt log file. Nothing is sent to the serial console or to another centralized logging facility. The only way to determine what is happening is to RDP into the instance while it build and view the log. This requires you to watch the build for ~3 hours and log in at the appropriate time.
I would like to be able to specify a log file location (absolute path) and have that file sent to a GCS bucket of my choice. This happens somewhat frequently, CBS is another example - Windows Update, uses at lease 2 log files in different filepaths to record errors.
I can simply modify our PowerShell files to copy the files using gsutil, but I thought adding this functionality would be worthwhile.
Regarding the other questions:
Log files are specified by absolute paths
File names are fixed, no variables
The number of log files is variable


No need to cache npm installs anymore + use npm ci

We have a single dependency that's faster to install than to cache lol
Also, use npm ci, which is a subset of npm install that only reads into
the lockfile and doesn't do any user-facing adjustments.


Add a more structured AttestationResult.

Add a more structured implementation of AttestationResults.
Note: at the moment not all fields are properly populated. This requires
a more intrusive reimplementation and will be done in a future commit.

One small thing: have you run a make check in the docs/api/challenge-response folder? I am asking because it's not run automatically -- we should add the rule and tooling to the CI...

Whoops,  nope, haven't done that. Will do so, and apply any necessary fixes.


Support configuring sa annotations for query/rule/compact/receive/store

ref: https://github.com/stolostron/backlog/issues/19217
Signed-off-by: clyang82<EMAIL_ADDRESS>

/lgtm
/approve

/retest

/retest

/lgtm


Elemental-interface ignores solver-state

During some test-like CQP-solving, it occured to me, that the Elemental-wrapper
always returns with optimal, no matter what happens during solving.
A simple example would be:
import numpy as np
import cvxpy as cvx

x = cvx.Variable(1)
constraints = [x >= 1, x <= 0]                  # infeasible
objective = cvx.Minimize(cvx.sum_entries(x))
problem = cvx.Problem(objective, constraints)

print('ECOS')
problem.solve(solver=cvx.ECOS)
print(problem.status)

print('ELEMENTAL')
problem.solve(solver=cvx.ELEMENTAL)
print(problem.status)

which outputs:
ECOS
infeasible
ELEMENTAL
Uncaught exception
Uncaught exception
Process 0 caught error message:
Reached maximum number of iterations, 1000, with rel. error 5.18727e+13 which does not meet the minimum tolerance of 0.000102648

optimal

It looks to me the original author was aware of that:
results_dict = {'info': {'exitFlag': 0, 'pcost': local_c.dot(local_x)},
            'x': local_x, 'y': local_y, 'z': local_z}

Elemental is also printing out a problem-description, everytime there is something wrong.
But of course this does not follow cvxpy's flag-based approach closely.
Now i'm not sure:

how important this is for people
how suited Elemental's code including the python-wrapper is to change it

(did not find status/flags on first search; looks heavily exception-driven to me)

I think there should be some kind of warning (at least in the docs or the wrapper-code) that
it's deviating a bit here.

Unrelated to cvxpy (Elemental-only question targeting author)
I'm just pinging @poulson here and take this opportunity to ask him about some unrelated other stuff:
While trying to implement a robust CQP-IPM, i did some prototype-like testing of it against alternatives on the Maros/Meszaros set and looked too at other solvers including yours which looks nice and massive (in terms of different methods and features; even ignoring the core-feature of Elemental.
Can you give some idea about how you estimate the robustness of your Direct/Affine Mehrotra-style
QP-solvers? Did you check them against the above dataset or more using the tasks you / your users
are trying to solve?
I'm asking because some preliminary results (not scientific, not very significat yet) indicate that it's having some trouble, even compared to my own possibly broken method (augmented; LU; path-following) and the more general ECOS (remark: i tested the QP-solvers directly and the SOCP-solver using cvxpy), often complaining about the very first system to solve (minimum tolerance not reached). It might also be possible that a classic Mehrotra-style initial-point works more robust (again; everything preliminary).
What source is this solver based on? cvxopt is mentioned, but you also seem to use quasi-definite solvers (and regularization). I think, as indicated somewhere, your references-file is not complete there (and code-comments only talk about init vs. cvxopt i think).
I'm just trying to learn and do understand that the above findings are just broad and scratching the
surface. Also some instances from this set are probably very ugly.
Thanks!

Hi sschnug,
Yes, the solvers in HEAD are not very robust. I was almost done with a rewrite in the lp_data branch that was trying to achieve HOPDM performance over the netlib LP suite in addition to similarly fast convergence for Delsarte bounds (which often require thousands of bits of precision and break most heuristics): https://github.com/elemental/Elemental/tree/lp_data/src/optimization/solvers
I never finished and merged this rewrite, for various reasons. The main one being that Elemental was originally an MPI-only project, and so many of its algorithmic and architectural choices are regrettable given that very few people use any of the MPI features. For example, the dparse direct solvers I built use nested dissection since this is scalable to distributed architectures, while Approximate Minimum Degree orderings are not (though they are much better for most on-node KKT systems).
So the interior point method work ended up a victim of the larger project starting to buckle under its own weight.
I would recommend just disabling the Elemental wrappers.


iOS fix

Fix https://github.com/bubkoo/html-to-image/issues/420
Description
Motivation and Context
Safari on iOS takes time to render
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Enhancement (changes that improvement of current feature or performance)
[ ] Refactoring (changes that neither fixes a bug nor adds a feature)
[ ] Test Case (changes that add missing tests or correct existing tests)
[ ] Code style optimization (changes that do not affect the meaning of the code)
[ ] Docs (changes that only update documentation)
[ ] Chore (changes that don't modify src or test files)

Self Check before Merge

[x] My code follows the code style of this project.
[] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

https://github.com/bubkoo/html-to-image/pull/423