Relations with manuel:viewmodel

I am not sure if this is a problem with Viewmodel or Astronomy, but I made a repo for debugging:
https://github.com/arggh/mvissue

I publish a composite, which includes the Budget-object, it's childrens (budget groups) and budget groups' childrens, called the expenses.
I subscribe for the composite publication on the main template, from where I pass the data to other templates.

Everything works If I pass the context along like this:
{{#each group in groups}}
    {{>budget_group group=group}}
{{/each}}

and then, in Budget Group Viewmodel:
Template.budget_group.viewmodel({
    expenses() {
        return this.group().expenses();
    }
}

and in Budget Group template:
{{#each group.expenses}}
 ....
{{/each}}

However, if I try to pass the context like this:
{{#each groups}}
    {{>budget_group}}
{{/each}}

and change the Budget Group Template like this:
{{#each expenses}}
...
{{/each}}

it still works and renders the expense-child objects like it's supposed to. However,
if I try to access  in Budget Group Viewmodel
Template.budget_group.viewmodel({
    someRandomFunction() {
        console.log(this.expenses());
    }
});

it all goes haywire with this sort of error message:

Exception from Tracker afterFlush function: debug.js:41 TypeError: Class.getRelation is not a function at ViewModel.prototypeMethods.getRelated (http://localhost:3000/packages/jagi_astronomy-relations.js?31f87e1c7380aa4c61a6a9d20d6738ecdfe31b8f:46:24) at ViewModel.methods.(anonymous function) [as expenses] (http://localhost:3000/packages/jagi_astronomy-relations.js?31f87e1c7380aa4c61a6a9d20d6738ecdfe31b8f:149:23) at ViewModel.Template.budget_group.viewmodel.allPaid (http://localhost:3000/client/budget_calculator/budget_group.js?16ae5fa99e0e3b5d65d548576309a68260e7b94f:11:25) at getValue (http://localhost:3000/packages/manuel_viewmodel.js?4fa94bc281850c2cbc1a78f4271fe4288c705243:665:37) at Object.getVmValue (http://localhost:3000/packages/manuel_viewmodel.js?4fa94bc281850c2cbc1a78f4271fe4288c705243:685:14) at http://localhost:3000/packages/manuel_viewmodel.js?4fa94bc281850c2cbc1a78f4271fe4288c705243:1348:20 at fun (http://localhost:3000/packages/manuel_viewmodel.js?4fa94bc281850c2cbc1a78f4271fe4288c705243:411:18) at http://localhost:3000/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:1872:20 at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:3671:12) at http://localhost:3000/packages/blaze.js?9391df93ba5076c2cfc61ee68724eb79b65f00d9:1870:29 debug.js:41 Exception from Tracker afterFlush function:

Example application is too complex to investigate it. I would take me to much time to understand everything. Description of the problem is also not detailed enough. Please, try preparing as minimal reproduction as possible.

Hi Jagi,
sorry about the complexity, I had to keep some inheritance structure to show the problem. But I think it's more about Viewmodel than Astronomy, since the creator of Viewmodel already seems to have cracked the problem:

Here's what's happening. The expenses method added by Astronomy expects its context to be an Astronomy object. It uses "this" expecting it to be an Astronomy object. When you let budget_group inherit from the Astronomy object, it just copies the expenses function. When you run "this.expenses()" the expenses method executes with the view model as context, not the Astronomy object, and thus it breaks. I have to think about this one because I'm not sure I want to use the inherited object as context for the inherited functions (from that object). Say that three times fast... I'll think about it in the next few days.

@arggh oh ok that's good that he found the problem. So I can't probably help with that one as Astronomy method needs this context to be an Astronomy document.

Here's his input on the issue from viewmodelboard.meteor.com, since I have a feeling quite a few newcomers to combination of Astronomy+Viewmolde might fall for this:

Okay, after a lot of thought, I'm going to leave things as they are. The problem here is that you're mixing your model (capital M in MVC) with the view model (the code that drives the V in MVC). The way I see it your model should have absolutely no notion of the view. The view on the other hand can use your models, but they're two separate entities.
Why do I mention all that yada, yada? Take a look at the following model:
{
  firstName: 'Alan',
  lastName: 'Brito'
}

Now let's say you're using a package like Astronomy which extends your models, and you add the function:
fullName() {
  return this.firstName + ' ' + this.lastName;
}

Out the bat, if a view model inherits from that object, it will not work as expected. That's because this in fullName represents the view model, not the object itself. So this.firstName returns a function, not the value of firstName.
The solution we were toying with was to set the context of functions to be the inherited objects and not the view model. At first glance this seems to be a viable solution because fullName would return Alan Brito. So far so good, until you change firstName in the view model to something like Bran. You then have a problem because fullName keeps returning Alan Brito, not Bran Brito. If you update the model you then lose reactivity. (can't win for loser huh?)
The problem is that you end up with two sources of truth. The model and the view model. The solution is to do what you've done on the route that works. Keep your models and their extended functions separate from the view model and its properties.
So, in our example, if you use fullName on the view then create a mixin for the person object with a function that returns the full name. It's pretty much the equivalent of extending the person model, but you're doing it for the view instead. If you're going to use a model and its extended properties then treat it as an immutable object. Pass the object as a part of a property, not the context itself. This is what you do in:
  {{#each groups}}
    {{>budget_group2 group=this}}
  {{/each}}

Here you're not letting a group (a model with extended methods) be the context of budget_group2, instead it's a property of the context.

Oh that explains everything, thanks.


app agent

Be sure to add your {"app": "agent/version"} element in the json_metadata field of the reply comment when your bot votes. :D

Thanks! Great to hear from the original drotto creator! I have added this in this commit: https://github.com/MattyIce/postpromoter/commit/aaaf1fd11d7fc16fd48673b5d1c3031bc785a2bd
Please let me know if you have any other feedback!


vue-cli · Failed to download repo

command: vue init https://github.com/yang*****/test.git test
error:     vue-cli · Failed to download repo https://github.com/yang*****/test.git: Response code 404 (Not Found)

from the readme:

If you would like to download from a private repository use the --clone flag and the cli will use git clone so your SSH keys are used.

I have tried the following command, but still failed.
command: vue init --clone https://github.com/yang*****/test.git test1
error: Failed to download repo vuejs-templates/test1: 'git clone' failed with status 128
Can you show me the correct usage of this command？

It's on the readme


ebml schemas should redundantly define void and crc-32

@mbunkus updated, please re-review

Thanks.


Advanced_settings assoc for google refresh

EMS needs advanced_settings association for creating InventoryCollection named advanced_settings.
Used in Google (GCE cloud_manager's) graph refresh

cc @Ladas @agrare please review


Document 'heroku:16' vs 'heroku:16-build' docker images

The recent Heroku-16 blog post and the Heroku-16 stack / Container Registry and Runtime devcenter pages just mention the heroku/heroku:16 docker image.
However the docker hub tags page lists two variants, 16 and 16-build.
From reading #53 (not yet merged), 16-build is the image that contains all of the development headers, so is more likely the image that people will need when developing locally, rather than the base 16 image.
Could the docs be updated to clarify this? (The two deventer pages, this repo's readme, and the docker hub description.)
Many thanks :-)

@tt any thoughts on this? :-)

Our documentation should definitely be updated.
The build variant is what we use for our build system. We need more packages to build things than to run them.
It's true that for building things locally, you need the build variant too but Docker's multi-stage builds will let you still produce small runtime images.
FROM heroku/heroku:16-build as build
...

FROM heroku/heroku:16
COPY --from=build <path> .
...

I tried building two internal apps in various configurations:
App A:

Before multi-stage
After multi-stage
After multi-stage with build stack

Cedar-14
1.84 GB
1.61 GB
N/A

Heroku-16
1.31 GB
1.09 GB
698 MB

App B:

Before multi-stage
After multi-stage
After multi-stage with build stack

Cedar-14
1.72 GB
1.5 GB
N/A

Heroku-16
1.19 GB
982 MB
593 MB

I've updated the heroku-16 documentation to mention the build image, without promoting it across dev center. I don't agree that the build variant is what most customer will need, as they are typically installing one or two packages from apt:
https://devcenter.heroku.com/articles/heroku-16-stack#heroku-16-docker-image

It's true that for building things locally, you need the build variant too but Docker's multi-stage builds will let you still produce small runtime images.

Yeah great idea - thank you!

I don't agree that the build variant is what most customer will need, as they are typically installing one or two packages from apt

I wasn't suggesting that the build image necessarily be promoted over the other - just that it at least be explained somewhere so people could decide themselves, which has now been done - thank you :-)
I think also that we're approaching this from different use-cases. My issue was filed about using these images for local development parity with heroku (rather than say for use with the container registry and runtime) - which also means we also have to emulate the buildpack compile that runs under the build image.
For example our Python project needs libmysqlclient-dev, libmemcached-dev and zlib1g-dev, just to successfully run the pip install performed during buildpack compile. Now we could of course use the smaller runtime heroku-16 image, and manually install the development header packages ourselves, however there's no guarantee that our image will match heroku:16-build (for example it could contain different versions depending on when it was updated), and so a safer option would be to use the build image itself - ideally via the multi-stage build method mentioned above.
That said, the build image is a whopping 334 MB / 855 MB uncompressed (compare this to the base ubuntu:16.04 image's 47 MB / 119 MB uncompressed), so takes an age to pull as part of a Travis CI run (where caching options are limited) - so even we're considering ditching it in favour of the runtime image. On that topic, I've spotted a few size wins for both the runtime and build heroku-16 images that I'll open an issue about soon.


On Arduboy flashing fails with "Cannot open" or mid-flash inconsistently

Arduboy is a tiny gameboy-like device, based around the Arduino Leonardo. My dev kit has just arrived. It runs and flashes fine with the Arduino IDE, but with avrgirl-arduino I just couldn't get it to flash the generated hex.
It usually doesn't work, simply fails to access the device:
MacBooks-MacBook-Air:avrgirl-arduino flaki$ node bin/cli.js flash -f ~/Data/ArduBreakout/examples/ArduBreakout/ArduBreakout.cpp.leonardo.hex -a leonardo -v
found leonardo on port /dev/cu.usbmodem1411
resetting board...
Failed to connect: # 1
reset complete.
[Error: Cannot open /dev/cu.usbmodem1411]
MacBooks-MacBook-Air:avrgirl-arduino flaki$

(fwiw, the board does reset on every run of the above command, consistently).
Sometimes it then seems to work, but amidst flashing an error is thrown, and the device flash is left in a garbled state (that is, flashing overwrote some of the installed data, so the device wouldn't "start"). Reflashing with a separate tool (like Arduino IDE) "fixed" the state of the flash, so at least it doesn't brick the device or anything like that:
MacBooks-MacBook-Air:avrgirl-arduino flaki$ node bin/cli.js flash -f ~/Data/ArduBreakout/examples/ArduBreakout/ArduBreakout.cpp.leonardo.hex -a leonardo -v
found leonardo on port /dev/cu.usbmodem1411
resetting board...
Failed to connect: # 1
Failed to connect: # 2
reset complete.
connected
flashing, please wait...
/Users/flaki/Data/avrgirl-arduino/node_modules/chip.avr.avr109/chip.avr.avr109.js:156
        throw err;
              ^
Error: TODO: Start Linear Address Record
    at /Users/flaki/Data/avrgirl-arduino/node_modules/chip.avr.avr109/node_modules/intelhex/index.js:57:28
    at Array.forEach (native)
    at /Users/flaki/Data/avrgirl-arduino/node_modules/chip.avr.avr109/node_modules/intelhex/index.js:11:11
    at process._tickCallback (node.js:355:11)
MacBooks-MacBook-Air:avrgirl-arduino flaki$

Hmm! Apparently the error is generated in chip.avr.avr109, but originates in intelhex.
According to the ARM knowledge base

The Start Linear Address Record can appear anywhere in hex file. In most cases this record can be ignored because it does not contain information which is needed to program flash memory"

Commenting out the line does indeed fix it and avrgirl-arduino successfully flashes the hex.
The intermittent reset problem is still there, though. :confused:

Oh dear I'm such a doofus! Thanks for the quick acting, but as it turns out I had a typo in the code! With the typo fixed, it should be working.
Also, re: intel-hex, avr-arduino does use intel-hex over intelhex, but pulls in /tmpvar/chip.avr.avr109, which still uses intelhex. I'll open an issue and try reworking it to use intel-hex instead. Also intelhex is pinned on 0.0.1 version, which is why I manually had to change that for it to pull in the new release (that's when I realized I made a typo...).

Thanks @flaki ! Excited that you gave the Arduboy a go with avrgirl, and also I am jealous you have the dev kit!
I'm refactoring the leonardo reset script this week, and it's possible that the work will fix this intermittent issue. Are you up for testing this in a pre-flight branch for me once I'm done? A colleague might have also backed the Arduboy, I'll check in to see if I can get my hands on one so I can test it out with you.

Hey @noopkat! Absolutely, just let me know when you need anything tested!

@flaki thanks so much! I just pushed up a POC branch (needs cleaning up but the functionality is there) called leo-reset-dtr https://github.com/noopkat/avrgirl-arduino/tree/leo-reset-dtr
npm install && node bin/cli.js flash -a leonardo -f <file> -v within the cloned repo (as it looks like you've been doing) should be a good test.
You may need to still have the intelhex patch in place, as looks like the bugfix hasn't been merged and published yet.
Out of curiosity - are you working with OSX Mavericks, Yosemite, or El Capitan? This'll help me look for similar kinks with my other leonardo boards I have here.

@noopkat most welcome! BTW I'm on El Capitan. ;)
Also I've just checked out the experimental branch (and erm.. checked out the experimental branch :relaxed: ). Good news: this works like a charm! Five out of five times it flashes the board without any issues!
Excellent work, thank you!
If you need any more testing done with the Arduboy, feel free to let me know anytime.
MacBooks-Air:avrgirl-arduino flaki$ node bin/cli.js flash -a leonardo -f ../arduboy-rund-ino/rund/rund.ino.leonardo.hex -v
found leonardo on port /dev/cu.usbmodem1411
resetting board...
reset complete.
connected
flashing, please wait...
flash complete.

thanks so much for your help @flaki, really appreciate it. I'll get this change published soon.
I'll also document in the README that although it's not directly supported, the Arduboy will work if you use leonardo as the board type.


 That's incorrect.

This seems fixed. Might have been fixed in #5 implementation.


[superset 0.23.2] bug no default charts position in dashboard, dashboard is empty

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.23.2
Expected results
when create a new dashboard with some slice, we can view the slice(charts) in dashboard without addtional position json configuration like this:
[
    {
        "col": 1,
        "row": 0,
        "size_x": 8,
        "size_y": 3,
        "slice_id": "49"
    },
    {
        "col": 5,
        "row": 3,
        "size_x": 8,
        "size_y": 3,
        "slice_id": "50"
    }
]

Actual results
However in superset 0.23.2 version,  the dashboard is totally empty after adding some slice(charts) in the dashboard. And if I fill in the position json in dashboard edition page as above, the slices could be shown.
Steps to reproduce
install superset 0.23.2
create a dashboard, add some slices and click into the newly added dashboard, you will see nothing.

+1

Would suggest passing on 0.23.* at this point. Hopefully we can get back to some good stable releases. It's been harder since the maintainer cutting the releases (me) doesn't have direct access to a big user base anymore :/
Hoping we can get back on solid grounds with 0.24.0. Please try the rc1 tag if you can

@mistercrunch: Wish I knew this sooner. Wasted a good 4 hours trying to debug the issue.

Sorry as we're ironing out our release process. Part of the Apache process will force us to come up with steady solid releases. It probably won't make you feel better but I spent much more than 4 hours working on trying to come up with solid releases lately :(

Knowing that 0.24.0rc1 is better than 0.23.* and the unlikelyhood of the community to really test and RC at this point (I'm assuming that the processes just aren't in place externally), maybe I should just launch it as 0.24.0.

+1 for stable release as we're evaluating Superset and initially discouraged when basic dashboard functionality is nonfunctional.

Wish I knew this sooner. Wasted a good 4 hours trying to debug the issue.
@napjon
Me too. I would recommend not to upgrade superset too rough. LOL

Sorry as we're ironing out our release process. Part of the Apache process will force us to come up with steady solid releases. It probably won't make you feel better but I spent much more than 4 hours working on trying to come up with solid releases lately :(

No need to apologize! Bug happens. Probably a good principle to sort through GitHub issues after spending 1 hour debugging cryptic bug.
Thank you for your hard work on creating such an immensely useful tool. Been using it to speed up all of my report/summary.

Agree with @napjon on appreciating all the hard work thats been put into tool.  We're hoping this will help our data discovery teams.

0.24.0 is out, closing


ONE PIECE BURNING BLOOD [PCSB00893]

App summary

App name: ONE PIECE BURNING BLOOD
App serial: PCSB00893
App version: 1.00

Vita3K summary

Version: v0.1.9
Build number: 3423
Commit hash: https://github.com/vita3k/vita3k/commit/23d02897
CPU backend: Dynarmic
GPU backend: Vulkan

Test environment summary

Tested by: Poco F4 128/6
OS: Android
CPU: Snapdragon 870
GPU: Adreno 650
RAM: 6 GB

Issues

Dont have text
It can crashes

this repo is not for android


[Story] AD app registration created when new workspace is created

Description
As a TRE administrator
I want to create workspaces without providing identity provider parameters such as application id
So that I don't have to bother our cloud admin asking her to create the application registration for me first.
Acceptance criteria

[ ] Azure AD application registration created for a new workspace by the composition service when no identity parameters are sent in the new workspace request.
[ ] App registration (naming, roles, etc) should be the same as when executed with the script by cloud admin. #211
[ ] App registration deleted when the workspace is deleted (Terraform is a good option for creation/deletion)
[ ] Documentation updated with environment variable and permissions for automatic app registration

Design
Workspace templates must only change resources it itself creates. Changes done to management/core services such as Azure Firewall, Shared Service such as source mirror, Azure Active Directory etc. must be delegated.
Support for alternative identity providers other than Azure Active Directory for application registration must also be supported. It should be configurable which identity provider is used at TRE creation time (not part of this Story). Meaning the same identity provider will be used in all Workspaces within the same TRE instance.
Therefore, the responsible for creating application registrations is implemented into the TRE management API.
Permissions
To be able to automatically create app registration the Application.ReadWrite.All permission must be granted to the TRE management API Service Principal
Azure AD is managed via the Microsoft Graph API.
Changes to setup
A new environment variable auto_app_registration = [TRUE|FALSE] (default=FALSE) indication if automatic app registration is enabled when setting up a TRE instance.
If the environment variable is set to true, then the Application.ReadWrite.All permission must be granted.
Changes to the TRE API
Currently the following parameters are required in the REST API to create a Workspace
{
  "workspaceType": "tre-workspace-vanilla",
  "properties": {
    "display_name": "the workspace display name",
    "description": "workspace description",
    "app_id": "9d52b04f-89cf-47b4-868a-e12be7133b36"
  }
}

The app_id should be made optional, but only if the auto_app_registration variable is set to TRUE.
The abstraction over identity provider is implemented in the AccessService class. This class must be extended to include an application registration method.
Incorporate and reuse as much as possible from the manual app registration script.
Use the AAD API to create the app registration (Create application - Microsoft Graph v1.0 | Microsoft Docs)

@Lybecker Thanks/ The bigger challenge is around how we create the app registrations and delete them. This needs to be done in a clean way otherwise we end up with lots of "orphaned" Azure AD resources.
I actually think the easiest way is for cases where we need it automatically generating we have an auth provider json schema that doesn't require an app registration ID - then the user isn't prompted. We extend the base workspace with terraform using the Azure AD TF provider to add the app registration, and using the bundle output write back mechanism write the app_id back into the cosmos database. We already have TF to do this in another repo.
Thoughts?

Ideally the Service Principal executing the Porter bundle executor (Resource Processor) should have as limited permissions as possible and only touch Azure resources within the Workspace. I see these benefits:

Separation of concerns - Workspace Templates only changes their own Azure resources
Security review of Workspace Templates is easier
Workspace Templates can be reused with different Identity Providers
Potentially all the Workspaces could be in a separate subscription. Then we contributor rights to the Resource Processor only has permissions to modify anything Workspace related.

The system should not leave orphaned Azure resources.


Learn.md

Learn repos should have a LEARN.md file to teach student how to build your project step by step. You can explain how to build your project with text, code snippets, images, or even short (5 minute) long video lessons. As the maintainer of a Learn repo, the LEARN.md file requires you to think critically about how to explain the building of your project and how to also make it engaging. We don't expect you to be an expert teacher, but we would like you to reflect on how difficult it was to get to your level of knowledge, and then provide friendly guidance to help other students to learn.
Reference -

Contributing: https://github.com/Girlscript-WOB/Guidelines/blob/main/Project Admins/Contributing.md
Learn: https://github.com/Girlscript-WOB/Guidelines/blob/main/Project Admins/Learn.md
PROPOSAL: https://github.com/Girlscript-WOB/Guidelines/blob/main/Project Admins/PROPOSAL.md

Go ahead

@Swarnendu0123 can u assign me this issue wanna work under Wob'24

@Sibam-Paul go ahead.


passdetective: init at 1.0.7

Description of changes

Added PassDetective, it scans command history to detect mistakenly written passwords, API keys, and secrets
https://github.com/aydinnyunus/PassDetective
Related to https://github.com/NixOS/nixpkgs/issues/81418
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Kinda icky that the binary is not lowercase but hey, that's what upstream provides.

We could adjust it. For go365 I'm doining this:
  postInstall = lib.optionalString (!stdenv.isDarwin) ''
    mv $out/bin/Go365 $out/bin/$pname
  '';

Result of nixpkgs-review pr 280760 run on x86_64-linux 1

1 package built:

passdetective


fix(heartbeat-bar): cleanup css styling and minor syntax issues

Improved margins of the healthbar
Minor eslint fixes for healthbar syntax

Padding left/right look great, but I prefer to keep the original padding top/bottom.

Padding left/right look great, but I prefer to keep the original padding top/bottom.

I kept the top padding the same. You mean you want to increase the top padding to equal the bottom padding? Or do you want to keep the same height of the div (increase the top padding slightly and decrease the bottom padding)?


fix bug blocking empty values being passed down to state.val

This updates the componentWillReceiveProps check for new value being passed down from if(nextProps.value) to if(nextProps.hasOwnProperty("value")) as former blocks empty strings from being passed down to state.
Follows up on #13

Good catch. LGTM!

Heh, easy to miss. Nice work! :shipit:


[draft] Upgrade libp2p to 0.49.0

Resolves https://github.com/paritytech/substrate/issues/12267 and pulls in https://github.com/libp2p/rust-libp2p/pull/2846 to support fallback Kademlia protocol names (see https://github.com/paritytech/substrate/issues/7746).
The main change is that NetworkBehaviourEventProcess was deprecated, so the event processing previously taking place in Behaviour popped up to NetworkWorker.
Note: libp2p-0.49.0, needed by this PR due to https://github.com/libp2p/rust-libp2p/issues/2879, was not released yet, so the CI is failing and the PR has draft status.

This upgrade also removes an unmaintained dependency from being pulled in (a few levels down) so I would love to see this landed.

nice +1 what's blocking you from finishing this?

@melekes There is a blocking bug in libp2p-0.48 with NetworkBehaviour derive macro that was fixed in master and is going to be released with 0.49. So we are waiting for the next release of libp2p.

Once we've done this PR, we should do another PR to bump kvdb-rocksdb to 0.16 (like https://github.com/paritytech/substrate/pull/11144/files ) as the current version is also dependent on the unmaintained crate. That second PR should reduce the pulling in of multiple crate versions that this PR will create. (feel free to ping me to do it if you don't want to, just want to make sure it gets done.)

+1
Hope these dependencies bumping can be included in coming polkadot-v0.9.30

Pulled the changes from master in, but still waiting for libp2p-0.49.0 to be released...

bot merge


Could not load file or assembly 'Microsoft.AspNet.Security.DataProtection'

I'm opening this case so that other people who search for this error will hopefully encounter this and discover the solution!
In this particular case, I was using SignalR and had already exhaustively searched my entire hard drive for ANY remaining trace of any reference to "Microsoft.AspNet.Security.DataProtection".  After finally reading through about half the source code to DataProtection, I discovered that the reference to the class name had been cleverly hidden in an ENCRYPTED portion of an XML file stashed away in my %APPDATA% directory.
FileNotFoundException: Could not load file or assembly 'Microsoft.AspNet.Security.DataProtection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
System.Type.GetType(String typeName, Boolean throwOnError)
Microsoft.AspNet.DataProtection.KeyManagement.XmlKeyManager.ParseKeyElement(XElement keyElement)
Microsoft.AspNet.DataProtection.KeyManagement.XmlKeyManager.GetAllKeys()
Microsoft.AspNet.DataProtection.KeyManagement.KeyRingProvider.CreateCachedKeyRingInstanceUnderLock(DateTime utcNow, CachedKeyRing existingCachedKeyRing)
Microsoft.AspNet.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRing()
Microsoft.AspNet.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] unprotectedData)
Microsoft.AspNet.SignalR.Infrastructure.DataProtectionProviderProtectedData.Protect(String data, String purpose)

This took me about 4 hours to track down the cause of!
When upgrading to the new version with the new assembly name, you MUST delete the contents of the directory: %APPDATA%\Local\ASP.NET\keys-BETA or you will end up with this error!  The xml file in this directory contains an encrypted representation of the assembly-qualified classname of the decryptor, which will be using the old "Security.DataProtection" assembly instead of the new one.
In order to mitigate the impact of this, I STRONGLY encourage the developers of DataProtection to include a guard that will prompt users to do this if the classname of the decryptor cannot be found, so nobody else needs to repeat my pain!

For the sake of cross-referencing, here's the SO question/answer: http://stackoverflow.com/questions/28756390/could-not-load-file-or-assembly-microsoft-aspnet-security-dataprotection
@GrabYourPitchforks this is resolved with the changes in https://github.com/aspnet/DataProtection/commit/e4db4b1189f89e6737da7975581ddd4cf2a10d46, right?

Yes. Dupe of https://github.com/aspnet/DataProtection/issues/53.

This doesn't actually seem like a dup of #53 since it's not resolved by updating "DataProtection, MVC, Security, and Identity references to latest" versions.  But it looks like e4db4b1 will fix it.

Updating to latest included that commit when I made that comment. :)

Fair enough! :)


Inconsistency in adding tweets to nodes

I can not duplicate it, but sometimes the tweets are not added to the nodes. I do everything and it seems to be added, but there is nothing in tweets. At other times it adds the tweet.

Request errors will be logged into the console of the web browser to see the details of the error including exception, request code, etc...
If this problem occurs again, please comment to this issue with the console log.


Weird lines from overlay???

I am currently on the latest version of Runelite and I am having this weird graphical thing where a line comes straight down from the top of the screen. It happens when I hover my mouse over something in my inventory, over the map, over the XP ball thing on top and sometimes when I click on a monster or NPC. I am on windows 10. I am unaware if this is a settings or a bug. If not a bug can someone provide me with a way to disable it? Thanks. Also attached is a video of what I am explaining. https://www.youtube.com/watch?v=-6KTuVLza70&feature=youtu.be

Are you running with hardware acceleration on? (default) If so, try following this and see if it still happens: https://github.com/runelite/runelite/wiki/Disable-Hardware-Acceleration

After about 10 minutes the problem came back again. This was not happening on my other PC that died unfortunately. Any other ideas would be greatly appreciated.

Could you post an unscaled still image of the bug? The youtube compression makes some details difficult to see.

Any chance your graphic drivers are out of date? I've seen this problem before and I don't know what exactly causes it.

I checked that and they are all up to date. I have made sure that Runlite is up to date. I also tried re installing my drivers and Runlite itself and still having this issue. I have disabled hardware acceleration. Still persisting. On my desktop which sadly died I didn't have these but on a laptop if that makes a difference it is there and it is annoying, although still playable. Just seeing if this is a bug with the update or if others have had this issue and had a fix to it. I have looked around and not found anything like this. Only thing close was a bug to where things would duplicate but for me no duplication is happening. I am lost.

Nope still having the issue. I think I just noticed why it is happening though. I moved stuff around on my overlay and it started happening again. I wonder if it has something to do with that in the recent update. I will restart and not mess with it to see what happens

Still doing it. Oddly I found a way to remove it temporarily by hitting my windows key then clicking back into game. I is definitely with the overlay though. I'm assuming a bug with being able to move the overlay around now. I will check back to see if anyone has recommendations but for now this is not solved.

Okay weird but hitting the windows key fixed it for some reason. But that is only temporary.

This looks like bug with your graphic card/JVM and not RuneLite, I dont think we can do anything about that.

I have tried other launchers, not going to mention names here and this is not a problem in those and I have no issue with any other games so it leaves me to believe it is a bug with Runelite. It wasn't happening until the overlays were movable. Had my graphics card checked today to make sure it is working correctly and they said it was working perfectly. I even had them go through and make sure the drivers were correctly installed and no errors were occurring and they said their were none. and I have the latest version of Java so it is not on my end. If I'm not mistaken someone above stated someone else was having the same issue. As of Runelite version <IP_ADDRESS> this is a bug.

This was definitely not caused by movable overlays. And the .exe is not using your PC installed JVM. This is still nothing we can solve on our side, so idk what to do with this.

I've seen a similar bug in Konduit, and since it looks like this is a java2d bug, whatever their fix was may be pertinent to us as well.

I dont think Konduit ever had fix for this as well

Still receiving same issue on Konduit/Runelite

Some questions for those experiencing this bug:
What OS are you on?
Did you use the exe or jar version of RuneLite?
If you use the jar version what version of java do you have installed on your system?
If you use the exe version what launcher version do you have? (It says in the info panel)
What GPU do you have, and what driver version are you running? (dxdiag will say this)
What date/version did this start happening?

I am on Windows 10
I have tried the exe and the jar version of runelite and still an issue both latest versions
GPU: Intel (R) hd graphics with latest drivers confirmed from intel and my manufacture website.

Does this still happen on the latest release of RuneLite?

Does this still happen on the latest release of RuneLite?

Does this still happen on the latest release of RuneLite?

Not that I am aware of. Although I cannot give a definitive answer because I do not use that laptop anymore nor do I have it. I will say before I got rid of that laptop I didn't notice it happening and that was a few months ago so either it stopped or I just got so used to it that it just because invisible to my eyes.

Does this still happen on the latest release of RuneLite?

Not that I am aware of. Although I cannot give a definitive answer because I do not use that laptop anymore nor do I have it. I will say before I got rid of that laptop I didn't notice it happening and that was a few months ago so either it stopped or I just got so used to it that it just because invisible to my eyes.


Add .profile script support

This PR has been separated out from #13.  It only implements a feature already part of the Heroku buildpack spec, so should hopefully be less contentious.
The buildpack API spec at Heroku says:

Scripts in .profile.d/ should only be written by buildpacks. Customers intending to perform application specific initialization tasks at the time a dyno boots should use .profile scripts, which are guaranteed to run after the scripts in .profile.d/.

https://devcenter.heroku.com/articles/buildpack-api#profile-d-scripts
The droplet launcher already has support for .profile.d/ scripts. This commit adds support for sourcing the .profile script as well.

Hey @jandubois our apologies for the long wait. We'd like to merge this change with the addition of a pull request into the https://github.com/cloudfoundry/docs-dev-guide repo, our recommendation for the doc structure and location is below:

A new document titled "Pre-runtime hooks" in the https://github.com/cloudfoundry/docs-dev-guide repo
Adding a link to the doc from in the "Deploying and Managing Applications" of https://docs.cloudfoundry.org/devguide/
Adding a link to the doc from the main page https://docs.cloudfoundry.org/ under the "Develop and Manage Application" heading
Adding a link to the doc from the https://docs.cloudfoundry.org/devguide/deploy-apps/ in the "Additional information" section

We're pending documentation before going forward with the merge. Please let us know when you're ready!

@jandubois any update on the possibility of putting the pull requests into the docs repo? We would like to merge this change but are pending docs creating at this time. Thank you!

@Dannyzen I've created some commits that add all the links you requested as well as a small page about Pre-runtime hooks:
https://github.com/jandubois/docs-dev-guide/commit/f89b8a888f97ca8c8c59702129d181977db31e1f
https://github.com/jandubois/docs-book-cloudfoundry/commit/29e9f8b2db917e600605d6213e50750e745be199
The actual doc page feels quite spartan compared to other pages in the same hierarchy, but I'm not sure what else to write.
Let me know if you have ideas on how to improve this, or if I should file a PR for the docs changes as-is!

Hello, @jandubois and @Dannyzen! This is Ben over at Docs. Thanks so much for these contributions, and for the PRs. The new topic proposed by @jandubois on "Pre-runtime Hooks" is a bit too small to warrant an entire topic, so we would propose incorporating this material into the existing topic "Deploy an Application" (http://docs.cloudfoundry.org/devguide/deploy-apps/deploy-app.html). What do you two think?

Hi @bentarnoff! I completely agree (see my comment above about the page feeling too spartan to me).
And I assume the code change should be landed before the doc change to make sure the feature is actually available when the doc changes are published. But I leave that to @Dannyzen and you to determine/coordinate.

Great, thanks, @jandubois!
@Dannyzen, let me know if you agree, and if so, we can push this change to the Docs whenever the new CF with the feature gets cut. Thanks!

@bentarnoff @jandubois  :+1:
@ematpl would you mind lettings us know when the story is accepted so we can push docs?

Sure thing, I'm waiting for https://github.com/cloudfoundry-incubator/diego-release/commit/7bc414032e94f6820ad22a9beab6fd160a80c5b0 to get to the release-candidate branch, and then I can do acceptance. Not sure why this PR isn't auto-closed, since its commit is on master: may have been that @jenspinney and @cwlbraa rebased the PR commit onto master.
Thanks,
Eric

Story accepted! This PR was merged via https://github.com/cloudfoundry-incubator/buildpack_app_lifecycle/commit/d4c2c11b1d25b69b623a1767a905b63e5d77eea3. Diego 0.1474.0 will contain the updated buildpack-app-lifecycle launcher binary.


feat: add apply step to seq models

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

Current dependencies on/for this PR:

main

PR #587

PR #591   👈

This stack of pull requests is managed by Graphite.

Merge activity

Dec 20, 3:28 PM: @@MartinBernstorff merged this pull request with Graphite.


requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.binance.com', port=443): Max retries exceeded with url: /api/v3/ping (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000000306BFA9340>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

hi how are you
i have a error to request to binance but i request with colab google have not error and ok .
thank you very much for reply me about error
i search very much in multiple website
good luck
god willing

Hi @knowledgecomputer2018, at first this seems to be network issue at your end, maybe caused by firewall.
However, if it's still happening, you can share your code example so we can see if we can replicate and investigate further.

hi
my code is ping to website binance by API_KEY,SECRET_KEY.my code is correct because i run code over colab google is good but i run my system this is my problem . i  turn off my firewall no different and i change port 9443 to open port but not change .
good luck
god willing

Hi @knowledgecomputer2018, please share the steps to reproduce this on our side, at the moment we don't have enough details to help you further.

Hi @knowledgecomputer2018 since there's no further updates, allow me to close the issue for now, but please feel free to re-open if necessary.


Some fixes related with server_side checks

was this really needed within the model? Thought that you fixed this within the wrapper.


Update index.js

Added remote to get BrowserWindow to be compatible inside the renderer.

Hi,
thanks for the PR :+1:
Could you squash the last 3 commits into one and fix xo checks?
After that I´m happy to merge :)

Merged it manually with 750101139c0094db626ea69028a6e570b0719107


CTRL-6 stopped working after #742

I have noticed that the CTRL-6 command to change buffer stopped working in the GUI mode.
After bisecting the repo I found this started as of d9c3c62ea which was introduced by #742.
Can this be corrected?
I am using OS X High Sierra 10.13.6.  I understand that when running in a Terminal it is necessary to press CTRL-SHIFT-6 to switch buffers.  CTRL-6 however used to work in the GUI.
cc: @ichizok

I was just wondering recently when that bug got introduced recently so thanks for bisecting it. I'll look into it.


Networks are not RNG-safe

It looks like none of the networks are multi-RNG safe, and some of them (e.g. RandomNet) use random numbers inside a Numba-jitted function, which means that it wouldn't be using even Numpy's random number generator.
We need to fix, but suggest holding off until we finalize our "RNG strategy" (e.g. #336).

Largely fixed by #428


Add port to validation

Description:
:point_up: 16. August 2016 10:18
Related issue (if applicable): fixes #
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

Closing this one in favor of https://github.com/home-assistant/home-assistant/pull/2854 because it applies the port validation to some schemas.


New component MudEyedropper, and MudColorPicker enhancement

Feature request type
New component
Component name
MudEyedropper/MudColorEyedropper
Is your feature request related to a problem?
For my websites I offer users the ability to customize various colors, I think it would be nice to have a built in color eyedropper tool. I have provided rough demos of what the component would be like. It is using MudBlazor/JSinterop/Browser eyedropper api.
Describe the solution you'd like
Ideas/Wants:
A standalone eyedropper that would allow you to pick a color on the screen, display that color in a small square, then output the color to text with a copy button.
(Rough draft - placement and other things WIP)

I would also like for MudColorPicker to be enhanced to have the option of having a MudEyedropper.
(Rough draft - placement and other things WIP)

Eyedropper documentation:

https://wicg.github.io/eyedropper-api/#eyedropper-interface
https://developer.mozilla.org/en-US/docs/Web/API/EyeDropper

Considerations:

As of this post, Firefox does not support the eyedropper api (https://developer.mozilla.org/en-US/docs/Web/API/EyeDropper#browser_compatibility)
Eyedropper api is in a draft/experimental state

I am also looking into making a Blazor wrapper for the eyedropper api.
Have you seen this feature anywhere else?
Any digital painting software, browser extensions, PowerToys,...
PowerToys color picker: https://learn.microsoft.com/en-us/windows/powertoys/color-picker
Describe alternatives you've considered
Due to the state of the eyedropper api, this component may be better off in a community extension package or a standalone one. I would love to hear the community's and maintainers options on this.
Pull Request

[X] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Looks interesting, but I would avoid anything that doesn't work on major browsers aka firefox and safari, therefore it would be better to be an extension than in core.
@henon last word.

Agree, this is out of scope. What we could do, would be to add the necessary hooks if someone wants to implement it outside of MudBlazor using our color picker, like a render fragment in color picker so that you can put the pipette button in there etc.


since installing god mode chat gpt no longer works on godmode or on my browser

since installing god mode chat gpt no longer works on godmode or on my browser no more searches are possible
I really don't know what to do anymore and I really need it for my work

if you really need it for your work, why don't you create a new account? or use https://www.typingmind.com/ with openai or https://openrouter.ai/ api key? :) it might be a coincidence that chatgpt stopped working, but one way or another there are other ways accessing it

As for the account I don't have another phone number but I'm going to try to see if it works with another account and for the rest I admit I don't know enough about it to know how to use both tools that you sent me

@lordboun have you been able to access your ChatGPT account yet? I agree with @lgandecki that it might just be an unfortunate coincidence.
I'm going to close this issue since I don't think there's anything product-related we can do to resolve, but feel free to re-open if you have more information indicating GodMode is somehow connected to the account issue.

I tried to change accounts etc and this came from my installation of godmod

can you help me please I really need gpt chat on my pc

If you don't know how to use typingmind, use perplexity.ai instead, you can select "writing" mode that will not search through the web. It's basically the same as gpt-4. I don't think anyone will be able to help you more here, as the issue is not related to this package at this point. I'm sorry.
This is a free and open source project and you use it without any guarantee, having said that, many people use this software and no-one got blocked as far as we know, so it seems really unlikely GodMode was the cause here. You can also contact the help.openai.com as the error message suggests. To be honest using GodMode shouldn't even cause any problems in terms of not complying with their conditions.


Lab 06 Level 4

Hello just wanted to ask how did you guys implement gameOfLife()? I used Stream.iterate() and it passes all cases but I'm trying to implement the method without Stream.iterate() and I cannot figure out how to do it

It does seem like Stream.iterate() in order to pass this specific test case since the one of the input is an UnaryOperator. I think it is possible to do a range(0, n) and use x and run them individually, however this will be very inefficient and difficult to implement.

This method generates a stream of strings representing the successive generations of the Game of Life. It starts with the initial population, applies the given rule for each generation, and limits the stream to n generations. Each integer in a generation is mapped to either "." or "x" based on whether it represents a dead or living cell, respectively. These mappings are then joined into a single string for each generation.

amongst all the methods in stream, only iterate takes in a UnaryOperator, so im not too sure also

I believe that if you want to implement it with just a pipeline, Stream.iterate(f) is certainly the best as it returns x, f(x), f(f(x)), … which is what is desired by level 4.
Overall, I think the pipeline is quite clean by using iterate.

initially did recursion and ended up with "check with your tutor"  in codecrunch despite getting the desired crosses and dots LOL

I used map, reduce and boxed, not sure how Stream.iterate() really works out here but I guess as long as it works it works.

I hope it all worked out @hanlinnnnn...
If you can solve this issue, you might want to close this issue to help declutter the forum. Thanks!


add gh action for unit test and coverage

Which problem is this PR solving?

Short description of the changes

Codecov Report

Merging #3 (72b4fd5) into master (88e9a70) will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   95.05%   95.11%   +0.05%
==========================================
  Files         213      213
  Lines        9492     9492
==========================================
+ Hits         9023     9028       +5
+ Misses        391      387       -4
+ Partials       78       77       -1

Impacted Files
Coverage Δ

plugin/storage/integration/integration.go
77.90% <0.00%> (+0.55%)
:arrow_up:

...lugin/sampling/strategystore/adaptive/processor.go
100.00% <0.00%> (+0.92%)
:arrow_up:

cmd/query/app/server.go
90.16% <0.00%> (+1.63%)
:arrow_up:

Continue to review full report at Codecov.

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


Add an ability to set a custom "from" email address

Important Notice:
I understand this PR might not be ready for a direct merge and could require some additional changes. For example, if the MAIL_FROM variable is left empty, we might consider using the MAIL_USER_EMAIL as a fallback for sending emails. However, the primary aim of this contribution is to showcase the core idea.
The case I'm addressing:
In my specific scenario, I need to send emails from an address that isn't associated with a user account but rather a Google Group email address. Google's platform supports this functionality, allowing the use of my personal email address and app password for authentication purposes. The only requirement is adjusting the from (and potentially the replyTo) fields to the desired email address. This PR implements these changes, serving as a proof of concept for this approach.

This feature was added in #98. Closing this PR


Making visit(...) public.

In my code I needed a way to parse an incoming GraphQL request and retrieve the AST. I do not need to execute it.
This PR makes the visit(...) function public so that I can call it to parse the incoming requests and analyse the results in it's closures.

Looks great, thanks for the contribution @drekka!


x/website: incorrect redirect https://blog.golang.org/feed.atom -> https://golang.google.cn/feed.atom

What is the URL of the page with the issue?
https://blog.golang.org/feed.atom
What is your user agent?
curl
Screenshot
N/A
What did you do?
# curl -v https://blog.golang.org/feed.atom
*   Trying 2607:f8b0:400b:80c::2011:443...
* Connected to blog.golang.org (2607:f8b0:400b:80c::2011) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=misc-sni.google.com
*  start date: Jul 26 01:54:16 2021 GMT
*  expire date: Oct 18 01:54:15 2021 GMT
*  subjectAltName: host "blog.golang.org" matched cert's "*.golang.org"
*  issuer: C=US; O=Google Trust Services; CN=GTS CA 1O1
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x5613c310a560)
> GET /feed.atom HTTP/2
> Host: blog.golang.org
> user-agent: curl/7.74.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 302
< content-type: text/html; charset=utf-8
< location: https://golang.google.cn/feed.atom
< x-cloud-trace-context: 4234c1a044db68dc8c6987ad8c463075
< date: Sun, 22 Aug 2021 19:17:02 GMT
< server: Google Frontend
< content-length: 57
< alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
<
Found.

* Connection #0 to host blog.golang.org left intact

What did you expect to see?
# curl -v https://blog.golang.org/feed.atom
*   Trying 2a00:1450:400e:802::2011:443...
* TCP_NODELAY set
* Connected to blog.golang.org (2a00:1450:400e:802::2011) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=misc-sni.google.com
*  start date: Jul 26 01:54:16 2021 GMT
*  expire date: Oct 18 01:54:15 2021 GMT
*  subjectAltName: host "blog.golang.org" matched cert's "*.golang.org"
*  issuer: C=US; O=Google Trust Services; CN=GTS CA 1O1
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x5600bb86f860)
> GET /feed.atom HTTP/2
> Host: blog.golang.org
> user-agent: curl/7.68.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 301
< content-type: text/html; charset=utf-8
< location: https://go.dev/blog/feed.atom
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< x-cloud-trace-context: 7d929a66861ebdf27a7c0b4fd80485f2
< date: Sun, 22 Aug 2021 19:19:14 GMT
< server: Google Frontend
< content-length: 64
< alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
<
Moved Permanently.

* Connection #0 to host blog.golang.org left intact

What did you see instead?
Fetching the RSS feed https://blog.golang.org/feed.atom from a Linode VM redirects to https://golang.google.cn/feed.atom instead of https://go.dev/blog/feed.atom.
Do the same operation from a different location, for example Digital Ocean or a Home connection, and you will be redirected to the correct location.
https://golang.google.cn/feed.atom returns a 404 Page Not Found.

Duplicate of #47808


Add support for UIFramework attribute

Introducing a new UIFramework attribute for ToolboxItems and/or Items in the manifest solves problem of distinguish between the platforms like, WPF,UWP, WinForms etc.

Can you please also mention the UIFramework attribute in documents\toolbox-population.md? Maybe just add a sentence to step 1 of Getting Started.

We should mention the UIFramework attribute in https://docs.microsoft.com/en-us/nuget/guides/create-ui-controls as well. It's in a different repo though.


arch: riscv: always set CONFIG_ARCH to 'riscv'

Note that the dual ARCH in RISC-V is causing issues in HWMv2, hence this cleanup. Also, it didn't make much sense, since we already have CONFIG_64BIT.
Changes should be squashed to preserve bisectability, just split changes to ease the review process.

note: CI issue unrelated, will rebase once fixed.

mmmh, you sure about this? We did exactly the opposite with ARM because we had several problems keep the two together and now we are going in the opposite direction with RISCV?

ARM32 and ARM64 are arguably two different architectures.
Differences between RISCV32 and RISCV64 are much much smaller.

and, of course, CI failure in LPC, which has nothing to do with risc plaforms, is being invoked in twister... sigh

and, of course, CI failure in LPC, which has nothing to do with risc plaforms, is being invoked in twister... sigh

We need TwisterGPT

last push: fixed some syntax errors, also updated patch set to be bisectable.

@carlescufi we settle for 3.7 for this right?


Add prepend and append strategy

Im currently working on HTTPlug bundle and I will soon be in need for prepending a strategy to the existing ones. That is why I need a getter.

Why do you need a getter? Wondering about valid usecases, because strategies are internal thing, we shouldn't rely on them.

I have an idea (work in progress). The HTTPlug's web toolbar shows all requests made by registered clients. But if a third party library uses discovery to find a client, that request will not be logged in the toolbar.
My plan in to prepend the current list of strategies with a custom one made for HTTPlug. It would be a strategy of registered clients. I think I can make that work... Anyhow I need to do something like this:
$currentStrategies = HttpClientDiscovery::getStrategies();
$strategies = array_unshift($currentStrategies, CustomStrategy::class);
HttpClientDiscovery::setStrategies(strategies);

For that, I would rather suggest something like prependStrategy method. (You can also add appendStrategy)

Would you prefer to merge and release 0.9.x or you wait for 1.0 in the HttplugBundle PR?

Let's wait a couple of days.. Ill reference this PR in a larger one in HttplugBundle

Okay, let's wait with the tag, but is this ready? Can it be merged?

Yes. I believe so.


Export-SqlLogin outputs incorrect results

When exporting multiple logins, the results script is incorrect
Export-SqlLogin -SqlServer server -Logins login1, login2
Create Database user commands look duplicated for the same user

Can you provide more details around version of SQL Server, and possible an example for each login you were trying to export?
As well, how was the outputted script incorrect, just the fact that it appeared duplicated?

I can verify this issue. I tried on SQL 2012 with 3 logins on my test machine. The problem is around the code block that creates the CREATE USER statement. It would always print the CREATE USER statement for the first alphabetically listed login for me.
Pretty sure the problem is around line 325 and the lop that follows it.
if ($databases.length -eq 0) { $databases = $sourcelogin.EnumDatabaseMappings() }
The first time through, $databases is -eq 0 so it does the enumeration and populates $databases for the first login. For the next user, $databases is no longer -eq 0 so it uses the same $databases as the first login for each remaining user. I was able to resolve this by adding a $databases = $null after line 377. This ensures that $databases is re-populated for each iteration of that loop.
I don't think this should have any other impact but I'm not sure. I'm sure Chrissy will take a look at it as well. HTH

Maybe I'm missing something, but it seems this is the only line $databases is set.
Why is the if ($databases.length -eq 0) needed?
As @cjsommer says, the first iteration $databases.length is 0, the next iterations it is not.
I think the if statement can be removed.
If it shouldn't be, if ($databases) would be simpler, and as @cjsommer suggested, setting it to $null also solves the problem. But I do prefer this just before the real assignment, instead of the end of the foreach block.

if ($databases) is not only simpler, but prettier. Unfortunately, I haven't found it to work as expected across every environment, so I tend to be more explicit and specify length. Also, not comment on the databases part because I don't have time to look today. Carry on, please ;)

@PowerDBAKlaas I thought about that after I posted my first look into this. I also thought it might make sent to take the if ($databases.length -eq 0) check out completely. I just didn't know if that had any other impact at the time.

This should be fixed in #339 if it is merged.


[OpenAI GPT3] Did not get any response or notification from the extension.

Extension
https://www.raycast.com/simicvm/openai-gpt3
Description
did not get any response or notification from the extension.
Steps To Reproduce
I have already pasted the API keys and I am sure it is correct.
I loaded a random example from the menu and hit 'command+enter' to send the prompt.
A green prompt has lit up at the bottom of the window indicating that the message has been sent. But nothing is coming back on the screen after a long time.
Current Behaviour

Expected Behaviour
get an answer from openAI

@raycastbot close this issue resolved.


[Feature] Allow specifying the HTTP protocol version and version policy

Allow specifying the HTTP protocol version and version policy
Allow specifying the HTTP protocol version and version policy when retrieving documents from eg. discovery endpoints.
Description
The PR allows users of HttpDocumentRetriever (for example the ConfigurationManager) to specify the HTTP version and version policy used when sending HTTP requests.
The version and policy can bei either specified explicitly via properties on HttpDocumentRetrieve or implicitly via HttpClient.
When using .NET 6 and no explicit values have been set, the default version and policy from the HttpClient is used.
This allows users of OpenID connect authentication to easily setup the HTTP version and policy by configuring the HttpClient of the Backchannel.
Fixes #2808

@microsoft-github-policy-service agree

Also fixes #1980


stable/goldpinger: Make goldpinger chart look more like project manifests

Is this a new chart
No

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
This PR tries to make the chart look more like the k8s manifests in the project repo. We had some issues with this chart when we wanted to do updates with helm. This PR also fixes these issues
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ X] DCO signed
[ X] Chart Version bumped
[ X] Variables are documented in the README.md
[ X] Title of the PR starts with chart name (e.g. [stable/mychartname])

Hi @kristoflemmens! Thank you for the PR.
I've left some comments during a review.


Fix CI

CI need to be fixed.
A dev-requirements.txt file is missing.

This file is present in master branch not in develop branch.

This repository is deprecated now, with its code and future development moved to https://github.com/datapackages/datapackage-py. This issue isn't relevant anymore then.


Update source map path overrides path

Fix path per: https://github.com/Microsoft/vscode-recipes/tree/master/vuejs-cli

Thank you! This is a duplicate of a PR that was just merged. Appreciated though!


view and save depth map after retrieveMeasure

I want to view the depth map, so referring to a previous issue I wrote this:
sl::Mat depthIm; zed->retrieveMeasure(depthIm, sl::MEASURE_DEPTH); cv::Mat tmp_cv; tmp_cv = cv::Mat(depthIm.getHeight(), depthIm.getWidth(), CV_32FC1, depthIm.getPtr<sl::uchar1>(sl::MEM_CPU));  cv::imshow("View2", tmp_cv);
is it correct ?
and then in order to save the video, what shall I do ?
cv::VideoWriter *video_writer = new cv::VideoWriter(<output_path>, int(CV_FOURCC('M',4','S','2'), (int)zed->getCameraFPS(), cv::Size(zed->getResolution().width, zed->getResolution().height)); video_writer->write(tmp_cv2);
am I doing anything wrong above ?

Hey,
refer to the OpenCV sample if you have any doubts for the 1st part.
https://github.com/stereolabs/zed-opencv/blob/master/src/main.cpp
I think you code is correct, why don't you test it yourself? Maybe scale the tmp_cv because it has values between 0 and 20+ and it should be between 0 and 1 for cv::imshow.
Second part is not related to ZED, but OpenCV.

Hi,
Depending on what you want to do, but purely for visualizing the depth map you should use retrieveImage(depthIm, sl::VIEW_DEPTH). It will output a normalized (i.e. scaled) 8-bit 1C depth image. Please note that your cv::Mat should be a CV_8UC1 in that case.
Your code seems correct otherwise.

@WASCHMASCHINE @adujardin thanks for your replies. Is there a way to save these images in a video or images ? well as it seems the videoWriter doesnt support 32 bits in a single channel and when I saved images with openEXR format, they were only 640bits in size which doesn't make sense. Also, I couldn't open the images with the tool IrfanView which supports openEXR format. @adujardin yes I could visualize the data, but that's not what I want. I need the 32bit depth data.

well some of the images were saved properly  with size around 3 MB, but they were still 3 channel images and had only 2 values, either 255 in all three channels or 0 in all three channels. Mostly 255. But retrieveImage() shows me a decent visualization of the depth map. I'm not sure what to do :(

Hi there, any idea why the error: error: no matching function for call to ‘sl::Camera::retrieveMeasure is failing? This is for the deep sensing example.
/home/bpinaya/Documents/gitrepos/zed-examples/depth sensing/src/main.cpp: In function ‘void run()’: /home/bpinaya/Documents/gitrepos/zed-examples/depth sensing/src/main.cpp:108:85: error: no matching function for call to ‘sl::Camera::retrieveMeasure(sl::Mat&, sl::MEASURE, sl::MEM, int&, int&)’              zed.retrieveMeasure(point_cloud, MEASURE_XYZRGBA, MEM_GPU, width, height);                                                                                ^ In file included from /home/bpinaya/Documents/gitrepos/zed-examples/depth sensing/src/main.cpp:32:0: /usr/local/zed/include/sl/Camera.hpp:641:20: note: candidate: sl::ERROR_CODE sl::Camera::retrieveMeasure(sl::Mat&, sl::MEASURE, sl::MEM)          ERROR_CODE retrieveMeasure(Mat &mat, MEASURE measure = MEASURE_DEPTH, MEM type = MEM_CPU);                     ^ /usr/local/zed/include/sl/Camera.hpp:641:20: note:   candidate expects 3 arguments, 5 provided CMakeFiles/ZED_Depth_Sensing.dir/build.make:86: recipe for target 'CMakeFiles/ZED_Depth_Sensing.dir/src/main.o' failed make[2]: *** [CMakeFiles/ZED_Depth_Sensing.dir/src/main.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ZED_Depth_Sensing.dir/all' failed make[1]: *** [CMakeFiles/ZED_Depth_Sensing.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

Hi @bpinaya,
You should update your ZED SDK to 2.1
You're probably using 2.0 and the size option with the retrieve functions was introduced later.


IDP Management REST API patch operations are inconsistent

Describe the issue:
The patch operations for some attributes are inconsistent. The responses and functionality is not uniform across certain operations.
For example,

JWKS URI update

PATCH REPLACE of non existent property returns 200 OK
PATCH ADD of existing property returns 400 and error code IDP-65005 - this is expected
PATCH REMOVE of non existent property returns 400 and error code IDP-65005

Certificate update

PATCH REPLACE of non existent property returns 400 and error code IDP-60025
PATCH REPLACE of existing property returns 200 - this is expected
PATCH REPLACE of existing property but of certificate index > 0 ("path":"/certificate/certificates/1") returns 400
PATCH ADD of existing property returns 200
PATCH ADD of certificate index > 1 ("path":"/certificate/certificates/2") returns 400 (i.e. it is not possible to add more than 2 certificates via the API)
PATCH REMOVE of certificate index > 0 returns 400

Following PATCH operations are work as expected.

PATCH REPLACE of existing property but of certificate index > 0 ("path":"/certificate/certificates/1") returns 400
PATCH ADD of certificate index > 1 ("path":"/certificate/certificates/2") returns 400 (i.e. it is not possible to add more than 2 certificates via the API)
PATCH REMOVE of certificate index > 0 returns 400


Add the option for assigning a specific SSH key to a node.

I personally prefer to store key as a named value in my ~/.ssh/ directory, but the configs have no way of allowing for that (or at least I wasn't able to find any) - this should account for it, and only set it when that variable has been specified.
It was my first time editing jinja templates, so I hope it's fine - it works a-okay on my end.

I made a few changes, otherwise looks good. Thanks!


add aws-sdk-cpp as sub-module

Please read through our contribution guide prior to
creating your pull request.

Note that there is a section on requirements related to adding a new DataPipe.

Fixes #{issue number}
This is the second follow-up task among https://github.com/pytorch/data/issues/349
Changes

Add aws-sdk-cpp as sub-module

Before I land the PR, could you please do a rebase to master so I can verify everything is fine with your PR?


Error during local clone

Obtaining database...
Unzip wp-config.php from backup .zip-file to get DB_NAME-value ...
Archive:  backup.zip
inflating: /var/www/html/.ddev/.downloads/db/wp-config.php
Unzipping .sql from backup .zip-file ...
Archive:  /var/www/html/backup.zip
caution: filename not matched:  .sql
Pull failed: Failed to exec # set -x   # You can enable bash debugging output by uncommenting
set -eu -o pipefail
pushd "/var/www/html/${DDEV_DOCROOT}" >/dev/null
mkdir -p /var/www/html/.ddev/.downloads/db
echo "Unzip wp-config.php from backup .zip-file to get DB_NAME-value ..."
unzip -j "${backupfile}" "wp-config.php" -d /var/www/html/.ddev/.downloads/db
pushd /var/www/html/.ddev/.downloads/db >/dev/null
echo "Unzipping $(sed -n "s/define( 'DB_NAME', '([^'])'./\1/p" wp-config.php).sql from backup .zip-file ... ";
unzip -j "/var/www/html/${DDEV_DOCROOT}${backupfile}" "$(sed -n "s/define( 'DB_NAME', '([^'])'./\1/p" wp-config.php).sql" -d .
echo "Rename and gzip the .sql file to let DDEV handle the db import ..."
mv "$(sed -n "s/define( 'DB_NAME', '([^'])'./\1/p" wp-config.php).sql" db.sql
gzip -cvf /var/www/html/.ddev/.downloads/db/db.sql > /var/www/html/.ddev/.downloads/db.sql.gz
on web: exit status 11

Hey there,
the pull script could not get parse the setting for DB_NAME in wp-config.php of backup.
My script currently only supports single quotes in wp-config.php:
define('DB_NAME', 'my-db-name');

(I documented this here as well:
https://github.com/mandrasch/ddev-pull-wp-scripts#database-dump-doesnt-work---only-single-quotes-are-supported-in-wp-configphp )
Please change your wp-config.php to single quotes for all db values and try again.
Cheers, Matthias

Fixed via https://github.com/mandrasch/ddev-pull-wp-scripts/pull/5


ci: fix ci/kokoro/install/opensuse-tumbleweed

This build does not have a PR check (because it failed too often), so we
missed it in a previous PR.

This change is

Codecov Report

Merging #162 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #162      +/-   ##
==========================================
+ Coverage   95.62%   95.64%   +0.01%
==========================================
  Files          81       84       +3
  Lines        3935     3975      +40
==========================================
+ Hits         3763     3802      +39
- Misses        172      173       +1

Impacted Files
Coverage Δ

google/cloud/tracing_options.cc
96.29% <0%> (ø)

google/cloud/tracing_options_test.cc
100% <0%> (ø)

google/cloud/tracing_options.h
100% <0%> (ø)

Continue to review full report at Codecov.

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


onChange event delivers old value

Hey,
its me again ;)
I think i found a bug. I'm listenign on events on a form with a select. The first time i choose something, the value emitted in the onChange is null, the second time i   ##choose something, the value is the first value and so on.

After updating the bug is gone

@JBusch No problem. Appreciate your effort! 👍