az returns stack trace from Powershell but works from cmd

Describe the bug
az returns stack trace when executed from Powershell but works for the command prompt.
Errors:
\# az --version
Traceback (most recent call last):
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-dsvrkf2x\azure-cli\azure\cli\__main__.py", line 33, in <module>
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-dsvrkf2x\azure-cli-core\azure\cli\core\__init__.py", line 515, in get_default_cli
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-dsvrkf2x\azure-cli-core\azure\cli\core\azlogging.py", line 30, in <module>
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-dsvrkf2x\azure-cli-core\azure\cli\core\commands\__init__.py", line 28, in <module>
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-dsvrkf2x\azure-cli-core\azure\cli\core\extension\__init__.py", line 16, in <module>
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-dsvrkf2x\knack\knack\config.py", line 39, in __init__
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-dsvrkf2x\knack\knack\util.py", line 41, in ensure_dir
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\os.py", line 210, in makedirs
    makedirs(head, mode, exist_ok)
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\os.py", line 220, in makedirs
    mkdir(name, mode)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'Y:\\\\'

This directory "C:\Users\VSSADM~1" does not exist.
vs.
C:\Users\jlarrow\Documents>az --version
azure-cli                         2.0.65

acr                                2.2.7
acs                                2.4.2
advisor                            2.0.0
ams                                0.4.6
appservice                        0.2.20
backup                             1.2.4
batch                              4.0.1
batchai                            0.4.9
billing                            0.2.1
botservice                         0.2.1
cdn                                0.2.3
cloud                              2.1.1
cognitiveservices                  0.2.5
command-modules-nspkg               2.0.2
configure                         2.0.23
consumption                        0.4.3
container                         0.3.17
core                              2.0.65
cosmosdb                          0.2.10
deploymentmanager                  0.1.0
dla                                0.2.5
dls                                0.1.9
dms                                0.1.3
eventgrid                          0.2.3
eventhubs                          0.3.6
extension                          0.2.5
feedback                           2.2.1
find                               0.3.3
hdinsight                          0.3.4
interactive                        0.4.4
iot                                0.3.9
iotcentral                         0.1.6
keyvault                          2.2.15
kusto                              0.2.2
lab                                0.1.7
maps                               0.3.4
monitor                           0.2.14
natgateway                         0.1.0
network                            2.5.0
nspkg                              3.0.3
policyinsights                     0.1.3
privatedns                         1.0.1
profile                            2.1.5
rdbms                             0.3.11
redis                              0.4.3
relay                              0.1.4
reservations                       0.4.2
resource                          2.1.14
role                               2.6.2
search                             0.1.1
security                           0.1.1
servicebus                         0.3.5
servicefabric                     0.1.19
signalr                            1.0.0
sql                                2.2.4
sqlvm                              0.1.1
storage                            2.4.2
telemetry                          1.0.2
vm                                2.2.21

Extensions:
resource-graph                     0.1.8

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\jlarrow\.azure\cliextensions'

Python (Windows) 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

Unable to check if your CLI is up-to-date. Check your internet connection.

To Reproduce:
I think this is only my system but I can't determine the difference in environment between Powershell and cmd.
[C:\Users\jlarrow\Documents] [15:32:03]
# get-command az | fl

Name            : az.cmd
CommandType     : Application
Definition      : C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd
Extension       : .cmd
Path            : C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd
FileVersionInfo : File:             C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd
                  InternalName:
                  OriginalFilename:
                  FileVersion:
                  FileDescription:
                  Product:
                  ProductVersion:
                  Debug:            False
                  Patched:          False
                  PreRelease:       False
                  PrivateBuild:     False
                  SpecialBuild:     False
                  Language:

[C:\Users\jlarrow\Documents] [15:32:07]
# get-command python | fl

Name            : python.exe
CommandType     : Application
Definition      : C:\Program Files\Python37\python.exe
Extension       : .exe
Path            : C:\Program Files\Python37\python.exe
FileVersionInfo : File:             C:\Program Files\Python37\python.exe
                  InternalName:     Python Console
                  OriginalFilename: python.exe
                  FileVersion:      3.7.3
                  FileDescription:  Python
                  Product:          Python
                  ProductVersion:   3.7.3
                  Debug:            False
                  Patched:          False
                  PreRelease:       False
                  PrivateBuild:     False
                  SpecialBuild:     False
                  Language:         Language Neutral

... and from cmd:
C:\Users\jlarrow\Documents>where az
C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd

C:\Users\jlarrow\Documents>where python
C:\Program Files\Python37\python.exe

Expected Behavior
az will work in Powershell
Environment Summary
Windows-10-10.0.17763-SP0
Python 3.6.6
Shell: cmd.exe

azure-cli 2.0.65

Extensions:
resource-graph 0.1.8

Additional Context
Recent installs include:

upgrade to 1809
VS2019

I uninstalled the python pack from VS2019 thinking there was version interference.
I'd be grateful for any help in narrowing down what may be the issue.
Thanks,
Jody

If you run where az on CMD and get-command az.bat on Powershell, are they pointing to the same path?

There is no at.bat ...
# get-command az.bat
get-command : The term 'az.bat' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ get-command az.bat
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (az.bat:String) [Get-Command], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand

... as initially reported in this issue, az from either shell does show the same path "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd".

I'm a bit confounded, @jlarrow! It says it's failing to find an empty file in the Y: drive, did you ever have anything mounted there? Any possibility that you are setting an environment variable in your PowerShell Profile that isn't being set in Command Prompt?

@marstr, Thanks for pointing this out!  I didn't realize what that line was telling me.  You were correct — I looked at all occurrences of "Y:" in my environment and it turns out $env:HOME was the issue.  Now I just have to trace down where it's getting set incorrectly.  THANK YOU so much for helping me get this sorted out!

I'm glad I could help, @jlarrow! :)

Program 'az.cmd' failed to run: The system cannot find the file specifiedAt line:1 char:1

az --version

At line:1 char:1

az --version

  + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
  + FullyQualifiedErrorId : NativeCommandFailed

i am facing this error , not getting how to fix it , as i am using windows 10 machine ,powershell 3.10 is installed

@gyalamanch, seems to be another issue. Let's work on https://github.com/Azure/azure-cli/issues/19202.


Fix TextLine.GetCharacterHitFromDistance for mixed buffers

What does the pull request do?

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

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

Breaking changes

Obsoletions / Deprecations

Fixed issues

You can test this PR using the following package version. 11.0.999-cibuild0038062-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]


Prepare for 7.3.1 release

Fix invalid 7.3 build time

@bot-gradle test and merge

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


Trigger Lint Action on PR comment ?

I was trying to trigger this action when a specific comment is made on the PR. However I got the following error
Error: lint-action does not support "issue_comment" GitHub events
So, I would like to know which github events are supported by this action and how could I go about solving my use case ?

Only push, workflow_dispatch, pull_request, and pull_request_target events are supported, see here.
Could you explain why you need to run the action on issue_comment?

@ocean90 thanks for the reply. I wanted to the action to run on issue_comment so that the lint does not run on each push of the pull request and can just be run when a dev wants to lint his PR (for ex: before putting it up for review).
Here is the way I am currently using it
name: Lint (auto fix)
on:
  issue_comment:
    types: [created]

jobs:
  check-comment:
    if: github.event.issue.pull_request
    name: Check Comment
    runs-on: ubuntu-latest
    outputs:
      status: ${{ steps.check.outputs.triggered }}
      pr: ${{ steps.get-pr.outputs.result }}
    steps:
      - uses<EMAIL_ADDRESS>        id: check
        with:
          trigger: '@run-lint'
          reaction: eyes
        env:
          GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
      - uses<EMAIL_ADDRESS>        id: get-pr
        with:
          retries: 2
          script: |
            return github.rest.pulls.get({
              pull_number: context.issue.number,
              owner: context.repo.owner,
              repo: context.repo.repo,
            })

  run-linters:
    needs: check-comment
    name: Run linters
    runs-on: ubuntu-latest
    if: needs.check-comment.outputs.status == 'true'
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          ref: ${{ fromJson(needs.check-comment.outputs.pr).data.head.ref }}

      - name: Set up Node.js
        uses: actions/setup-node@v1
        with:
          node-version: 14.17.6

      - name: Install Node.js dependencies
        run: npm ci

      - name: Run linters
        run: npm run format && (npm run lint:fix || true) # Ideally I would want to use lint-action for the individual status checks for prettier / eslint

      - name: Commit changes
        uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: Lint Fixes
          branch: ${{ fromJson(needs.check-comment.outputs.pr).data.head.ref }}

The reason for not using lint with auto_fix: true on PRs / Push is that I don't want to create potential extra commits in the PR when I am in make the code work phase.

I see. Please feel free to submit a PR that adds support for the issue_comment event.

Sure, I will take this up in this or the next week. I am assuming the only change that needs to happed is to add support in this function https://github.com/wearerequired/lint-action/blob/640cbd3acbeb113f05067c41db28f1836e1861ce/src/github/context.js#L68-L82 by using some equivalent of this code from my workflow file
return github.rest.pulls.get({
  pull_number: context.issue.number,
  owner: context.repo.owner,
  repo: context.repo.repo,
})

Hi @ocean90 can I use the @actions/github package or is the Rest API call (to fetch the repo branch from PR) made manually. The package does provide a Github client and context which should make the task easier and maybe even the current context fetching function and related logic can be done using this ?

Hi @ocean90 any update on this ?


Add unit tests for job and mapping

Coverage increased (+38.6%) to 38.627% when pulling e252a626c6b2a9f9d2e2581ff37ed873d3590ca3 on tests into a4737a93382d368a3b30165e95c7b70c7900c8c7 on master.

Coverage increased (+38.6%) to 38.627% when pulling ec7bdfd741a71a1de97cc3cd2c45fbfb69f50acf on tests into a4737a93382d368a3b30165e95c7b70c7900c8c7 on master.

Coverage increased (+55.6%) to 55.6% when pulling 1710ef330f12bef90fb4e1f887e6e50c0b48d3f0 on tests into 20a138b12e9820013196544cb3617e52f215c40f on master.

Coverage increased (+55.6%) to 55.6% when pulling 0923a4a6a44b17f267476bc191a665487010f91f on tests into 20a138b12e9820013196544cb3617e52f215c40f on master.

Coverage increased (+73.2%) to 73.2% when pulling 87bae1b6b02aa0159f8fdd380f5027366bced580 on tests into 20a138b12e9820013196544cb3617e52f215c40f on master.

Coverage increased (+73.2%) to 73.2% when pulling 303b39229fc51ea4f604ec0b6b24540dc0dd67ee on tests into 20a138b12e9820013196544cb3617e52f215c40f on master.

Coverage increased (+83.2%) to 83.2% when pulling 3c5eace7e417201ccdb3e32d879666d5357fdbc7 on tests into 20a138b12e9820013196544cb3617e52f215c40f on master.


Incorrect delegate creation of generic methods

Expected
No error, empty string in console.
Actual
Uncaught TypeError: T is not a constructor
Steps To Reproduce
using Bridge.Html5;
using System;

namespace Bridge.Test
{
	public class App
	{
		[Ready]
		public static void Main()
		{
			var foo = new Action(Foo<string>);
			foo();
		}

		private static void Foo<T>() where T: new()
		{
			Console.WriteLine(new T().ToString());
		}
	}
}

Steps To Workaround
Use lambdas instead of method groups:
var foo = new Action(() => Foo<string>());

instead of
var foo = new Action(Foo<string>);

The issue is not reproduciable with latest code

That's strange. Here is solution in which I can reproduce it:
https://github.com/Dia6lo/Bridge_1722

Your solution uses Bridge 1.14, I meant that the issue is not reproduciable with latest code (from git repository)

We will add a test case into our Client tests and then close the issue.

A client test added to ensure the issue will not re-appear again.


Changelog 8th July

I added a few things here. And fixed the setup

These points about superorg shouldn't be public facing

Manual assignment of a child org to a super org. (Clients need to contact us and we do this for them)
An endpoint to return the list of child orgs, and their data.
Frontend connection to this endpoint, being able to see superorg details in console.
Billing of child orgs, counting as superorg usage. This means our customers dont need to buy separate plans for each child org, and can handle their own billing.
Logs and summary of child org usage. (This is not connected to frontend at the moment, as we are lacking the design and fe engineers)
Child orgs not being able to see super org details, usage or credits.
Blocking routes per child org, blocking their access to some resources.


Spooky Treasure Chest

What kind of RPG mod would Spooky Time be if it didn't have fun loot chests?
The Spooky Treasure Chest is a new block. When clicked, it displays a fun animation and then drops loot.
Visuals:
1/3 of a block big, centered in the middle bottom. I'm thinking it could have a BER and slowly float up and down.
Spawning:
The Spooky Treasure Chest spawns in dungeons & structures and under certain land formations (trees, rocks, brush). They can also be found in caves underground.
Technical:
When clicked, the chest is replaced by a Treasure Chest Entity at the same location (which is disguised by a burst of smoke). A spooky laugh sound is played to all nearby players.  After floating ~2 blocks upwards, the chest faces whoever opened it, and then drops loot.
Potential Drops:

Pumpkin pool
Candy pool
Block pool (soul sand, cobweb, mod blocks)
Bones
Spookium and other mod resources
Mod tools (rare)
Vanilla resources (diamonds, emeralds, gold)

nice

Nice


No asset of type 'Drawable.Bound.Composite.Fragment.Drawable.Dictionary' found! error

Hello, my problem is that when I click the auto-create button in the Archetype section, it gives the error in the photo. can you please help

Firstly, github is for issues, not help, so please, use discord "help" channels to get help.
Second, you need to show your hierarchy, because that error not gonna help a lot, but i can tell you straight, that you didn't create Drawable, but i can be wrong, because there is no much information that can be helpful....

Firstly, github is for issues, not help, so please, use discord "help" channels to get help. Second, you need to show your hierarchy, because that error not gonna help a lot, but i can tell you straight, that you didn't create Drawable, but i can be wrong, because there is no much information that can be helpful....

I'm sorry I did not know. Thank you very much for your reply.


Fix: support correct saving for scaled displays

In #78 it was discussed that master did not support scaled displays. The way screenshotting works is that screencopies are requested in logical regions (so after scaling, a pixel is not a real world pixel), but they're actually saved as "physical" regions (before scaling, aka the unit is 1 real world pixel). Some issues that I fixed were:

We created the final image as a "logical" size. So when someone took a screenshot of a 4K screen that was scaled 200%, the picture in memory would be 4K but we would create a 1080p size output file. A 4K output file would now be created.
Following the previous step, we need to convert the "logical" region to a "phyiscal" region, aka scale it as well.

But how and where do we scale? From all of the outputs, we take the maximum scale and make sure to scale all other outputs the same amount. This makes sure that our final image will lose the least amount of information. I'm having a hard time explaining this so I'll give some examples in hopes that it makes sense:

1x 1080p + 1x 4K @ 100% -> neither will be resized.
1x 1080p + 1x 4K @ 200% -> the 1080p one will be scaled 200%.
1x 4K @ 100% + 1x 4K @ 200% -> the 4K @ 100% will be scaled 200%.

This seemed the most logical default scaling to me. We could technically make it configurable, though the way it's setup now is that it assumes it will never scale it down.
Still have to do some testing when attaching multiple monitors, but it should work. ™ I am working on my desk setup so it might take me a while to have more than 1 monitor, I'd appreciate someone else testing it with 2 screens and different scaling.
Note: this PR does not fix the freeze overlaying. I actually removed it even because the changes wouldn't allow for it and it needs to be fixed in another PR.

The upscale policy seems acceptable to me. The code from a preliminary view looks fine to me! I don't have a dual monitor system at the moment.
@Decodetalkers Would you mind testing the PR?

Note: this PR does not fix the freeze overlaying. I actually removed it even because the changes wouldn't allow for it and it needs to be fixed in another PR.

Pardon me, I seem to be losing track due to the large changes recently, what overlaying issue is being discussed here? Is it the image that decode posted in the earlier pr which was due to us not scaling the overlay buffer to physical size?

Note: this PR does not fix the freeze overlaying. I actually removed it even because the changes wouldn't allow for it and it needs to be fixed in another PR.

Pardon me, I seem to be losing track due to the large changes recently, what overlaying issue is being discussed here? Is it the image that decode posted in the earlier pr which was due to us not scaling the overlay buffer to physical size?

There are still two issues with overlaying:

Hyprland rotation problem, will need to look into it further and either fix or report a bug.
Overlaying in general has not worked yet on a scaled output because this will require one of the newer wlr protocols that allows you to specify that a surface is fractional scaling aware. On a scaled display, it won't overlay correctly afaik because of this. I haven't looked into it much, though we might not even need the special protocol, I'm unsure. Anyhow, overlaying during a freeze is not scaled properly so does not cover the entire output.

Primarily referring to 2 here.

Emm. you should resize in freeze stage, not in finally picture output stage

Maybe you can add a option, for if it is preview image or not, preview image will always resize

Emm. you should resize in freeze stage, not in finally picture output stage, so I think you just need resize the picture you get in freeze is enough, and maybe this pr is not needed

We should not need to resize at all for a freeze as we'd lose quality. We already have a pixel perfect screenshot we simply need to overlay properly.
Also, we would not be able to anyhow. Freezing is done using the  same buffer as the screenshot and resizing would mean reading it from there which would make the freeze noticeably lag behind the startup.

no, the fix induced many problem, so I create another pr. the size is still not right

@Decodetalkers can you please explain the issues? You created a PR without any information. When looking at the PR you are doing exactly what I said in my previous comment will cause noticeable lag:

Freezing is done using the same buffer as the screenshot and resizing would mean reading it from there which would make the freeze noticeably lag behind the startup.

You are allocating reading from the existing buffer which takes a lot of time, resizing it, and then writing it to a new buffer. This will lose quality as well and resizing is not at all needed because we have a pixel perfect version of the output in the existing buffers.
Could you explain the issues or possibly point out where my logic is incorrect?

no, the fix induced many problem

Hi @Decodetalkers, can you kindly enumerate the problems induced so we can improve the PR? From what I can tell, apart from the buffer scale setter function which only accepts integers and not fractionally scaled surfaces -- other things look fine.

Also, we would not be able to anyhow. Freezing is done using the same buffer as the screenshot and resizing would mean reading it from there which would make the freeze noticeably lag behind the startup.

And this matters heavily as we ideally want the least amount of time from binary invocation to overlay display -- scaling would make us lag behind due to increased allocations.

@Decodetalkers can you please explain the issues? You created a PR without any information. When looking at the PR you are doing exactly what I said in my previous comment will cause noticeable lag:

Freezing is done using the same buffer as the screenshot and resizing would mean reading it from there which would make the freeze noticeably lag behind the startup.

You are allocating reading from the existing buffer which takes a lot of time, resizing it, and then writing it to a new buffer. This will lose quality as well and resizing is not at all needed because we have a pixel perfect version of the output in the existing buffers.
Could you explain the issues or possibly point out where my logic is incorrect?

Emmm. I have test your pr, but the size of picture is not correct, the overlay image become too big when the scale is 1.2

you not not adjust the picture on the overlay , I found it still be the size of picture, it will not fully show over the screen. at the beginning, what I concerned is that. the picture size by the wlr-screencopy won't be the size of the screen , so it need to resize to place on the whole screen

https://github.com/waycrate/wayshot/blob/0a8e69d5b8c7bf95735df2b615261774a5cac775/libwayshot/src/lib.rs#L475-L478
I mean the size will always not  be the size of the screen, so this is my problem

I see, this pr is not about freeze overlay, so we are solving two problems

Emm. but without this pr, when use different scale, what will happened? @AndreasBackx I think it will works fine. only I concerned is that the pciture will not cover the screen, the picture shoted will be wrong

oh, I see, the logic you use will make the picture be best resized, greate work

I'd like to merge this PR. Before I do so, can anyone confirm that this works on multiple monitor system? I do not have access to one sadly.

it is ok, I will merge it


new group: RA Group

host location
http://pa32ymaeu62yo5th5mraikgw5fcvznnsiiwti42carjliarodltmqcqd.onion
group name
RA Group
group information
Hey,
I checked beforehand and it seems not to be covered yet by the Ransomwatch. That's a new cyber threat actor called RA group and they already count several victims, hope it will be useful. Thank you for your service!
host
v3 (onion)
parser
No response

hi! thanks for the contribution. ragroup has already been added, you can view it here https://ransomwatch.telemetry.ltd/#/profiles?id=ragroup. i will close this for now

crazy fast! I've been literally searching by the victims and the .onion address itself, got no related results. Thank you and sorry for bothering 🤯


Is a warning really necessary when using a session with local mode?

What is the expected feature or enhancement?
Currently if one uses a session with a fake backend in local mode, qiskit-ibm-runtime triggers a warning:
https://github.com/Qiskit/qiskit-ibm-runtime/blob/4c00d409fcfdab00fa0128f44d9c66b38a381aa1/qiskit_ibm_runtime/session.py#L157-L159
I've wondered: is this warning really necessary?  Or, what constructive action would we expect a user to take upon seeing this warning?
For instance, the following code taken directly from https://docs.quantum.ibm.com/api/migration-guides/local-simulators will trigger it:
from qiskit_aer import AerSimulator
from qiskit.circuit.library import RealAmplitudes
from qiskit.circuit import QuantumCircuit, QuantumRegister, ClassicalRegister
from qiskit.quantum_info import SparsePauliOp
from qiskit.transpiler.preset_passmanagers import generate_preset_pass_manager
from qiskit_ibm_runtime import Session, SamplerV2 as Sampler

# Bell Circuit
qc = QuantumCircuit(2)
qc.h(0)
qc.cx(0, 1)
qc.measure_all()

# Run the sampler job locally using AerSimulator.
# Session syntax is supported but ignored because local mode doesn't support sessions.
aer_sim = AerSimulator()
pm = generate_preset_pass_manager(backend=aer_sim, optimization_level=1)
isa_qc = pm.run(qc)
with Session(backend=aer_sim) as session:
    sampler = Sampler(session=session)
    result = sampler.run([isa_qc]).result()

In the circuit-knitting-toolbox, I am rephrasing our tutorials to use Qiskit Runtime with fake backends in local mode and will ideally demonstrate the use of Batch so that one can simply swap the backend for a hardware backend and have everything work optimally.  However, then there will always be this warning in the notebook when it is run without change.
For this reason I ask: Is it truly necessary?
I'll note in passing that because this warning doesn't have the stacklevel set, it is displayed as a UserWarning from the above line of qiskit-ibm-runtime rather than from the user's code.  One could perhaps set stacklevel=2, but this still wouldn't point to the correct line when the user creates a Batch rather than a Session; in that case stacklevel=3 would be needed to get to user code (Batch.__init__ is an extra function on the stack).
Acceptance criteria
I suggest clarifying why the warning is believed to be beneficial and possibly changing it to a message at INFO log level.

I think we can remove the warning since that example already has a comment explaining that local mode doesn't support sessions and it's also mentioned in the execution modes faq https://docs.quantum.ibm.com/run/execution-modes-faq


State target gen progress

This PR should ideally close #28.
Here's what this PR entails:

Updates to the state-details.js page that pulls in data from the graphql queries (similarly to how Dylan set up buildings and vehicles)
a new file in components called WindSolarChart.js that details progress towards our target generation numbers for each state

One language & data choice that I made. I opted to keep the data centered on installed capacity rather than number of solar or wind farms. I have two reasons for this, I'll summarize them quick...

This is how experts talk about this. I couldn't find anyone else who was trying to accurately calculate even a ballpark number for solar panels & wind turbines needed. Plus with assumed improvements to technology over time, it feels like too much of a moving target.
This makes our math SOOOO much easier - and I feel stronger about the results.

Here's a screenshot of the addition:

@derekeder @nofurtherinformation @vkoves
this fixes my last PR with all of the merge conflicts - just a heads up!

Hey @swatland610 - just took a look at the tests are failing due to Alaska and Hawaii missing in the data.
Plugging in dummy data, it seems to be fine, so the rest of the PR is good to go. I'd suggest putting in a placeholder rows for them and doing a conditional check to see if the data exists to render the new parts of the state details component!

Thanks @swatland610 ! I just did a quick lint run to fix the formatting issues our linter picked up, and we should be good to go!


DQ Bugfix.

Reversion - changes required to adjust for four servers.

Requires work given the additional knowledge regarding the servers.

Merging of requests.


Computing mPA

Hi,
I was wondering if you could explian that why you compute the mPA only for 200 first frames of the test video?
Do not we need to compute it for all frames of all test videos?
Thanks

Hi,
I cannot understand your questions here. For mAP calculation, we use all videos in the test set to compute the mAP. not the first 200 videos/frames.

Closed due to inactivity


Unexpected COSMO-1E data

This may be due to my misunderstanding but some of the COSMO-1E data seems to be linked at an incorrect URI:
In the Stac-browser, accessing the  https://radiantearth.github.io/stac-browser/#/external/poc.meteoschweiz-poc.swisstopo.cloud/root/collections/cosmo-1e_grib2
I'm selecting the URI
COSMO-1E - GRIB2 - 03 - 002 - T_2M
I'm assuming the components of the URI mean:

03 : Time of calculation of the forecast is 03:00 AM
002 : Leadtime is 2 hours, i.e. looking 2 hours into the future
T_2M : Temperature 2 meters above the ground is forecast

There are 11 datasets under this URI. I'm assuming this is the ensemble of 11 forecasts.
However, all 11 datasets are labeled with:
Acquired = 10/1/2022, 12:00:00 PM UTC
That is, the acquired time is midnight and not 3 AM as assumed given the URI.
Moreover, the acquired time seems to be the same for all of:

COSMO-1E - GRIB2 - 00 - 002 - T_2M
COSMO-1E - GRIB2 - 03 - 002 - T_2M
COSMO-1E - GRIB2 - 06 - 002 - T_2M
COSMO-1E - GRIB2 - 09 - 002 - T_2M
COSMO-1E - GRIB2 - 12 - 002 - T_2M
COSMO-1E - GRIB2 - 15 - 002 - T_2M
COSMO-1E - GRIB2 - 18 - 002 - T_2M
COSMO-1E - GRIB2 - 21 - 002 - T_2M

Moreover, the data also seems to be exactly the same between those datasets (I checked this only for 00 and 12).
Is my understanding of the URI wrong or is there really something wrong with the linking of the data?

@p1d1d1 afaik the data is sent all three hours... so there seems an issue in the delivery into the endpoint

We have an issue here and need to investigate the cause


Support API Key Authentication

API Keys are a way to authenticate without needing a principal. This is convenient for first time users, who often get tripped up by Google's crazy authentication schemes.
https://cloud.google.com/docs/authentication/api-keys-use

[x] Introduce ApiKey support

[x] Add an ApiKeyOption
[x] Set x-goog-api-key headers over gRPC
[x] Update guac.dox to mention API Key authentication

[x] Set x-goog-api-key over REST.

We cannot have an integration test. To my knowledge, none of the REST based services currently support API keys.
[x] Make sure we censor API keys in any logs/telemetry we produce. https://github.com/googleapis/google-cloud-cpp/blob/2cb2c7439bb0ffb8984eb730969ff8a03004a295/google/cloud/internal/curl_wrappers.cc#L190

[x] Add a sample like this in Python.

Looks like it'd be nice to have one that creates an API key using our apikeys client too.
We will have to clean up any leaked keys too. these are dangerous.

This is done.


Updated authentication method

Credit to @bneiluj for helping with this.
The existing authentication method has been deprecated
This updates the authentication method to use public/private key-pair verification, using SHA1.
Here's details on the new way of authentication webhook notifications from Travis CI:
https://docs.travis-ci.com/user/notifications#Verifying-Webhook-requests

👍

Wow, thanks for the awesome work @damnhipster and @bneiluj. I haven't been using this lately so I wasn't even aware of the authentication change.
I'll publish a new version right away!


Add docs to dist projects

From<EMAIL_ADDRESS>on January 08, 2014 08:03:49
Only RA dist has docs, add to others as well
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=293

From<EMAIL_ADDRESS>on January 21, 2014 06:39:29
Fixed, problem was probably due to errors in how_to_release
Status: Fixed


Footer Social buttons issue

Description
The Socials in the footer is not responsive. Please assign me this issue
Screenshots

Go for it! For support join our discord community: https://discord.com/servers/codein-community-831388874118660156


Rubocop: add parser

SAST tool for Ruby

gem install rubocop
rubocop -f json > report.json

See:

https://rubocop.org/
https://docs.rubocop.org/

@StefanFl I will add the entry in the settings for de-duplication.
=> For the corrected flag, I made some tests and I'm unable to produce them. When I fix a finding, they just disappear from the report.


Examples for service discovery and registration?

The sample app doesn't perform these operations. I'm stumbling around the ZookeeperServiceDiscovery class, but this isn't obvious how to proceed.

It does.  This line does the registration.  This line shows the use of the LoadBalancerClient.  You can also use RestTemplate and Feign as load balancer clients.

Ahhh, ok. It is asking for an instance of itself. I get it now. Thanks.


there may be some bugs in function Mhook_Unhook

In function Mhook_SetHook, *ppSystemFunction is assigned to pTrampoline->codeTrampoline.
In Mhook_Unhook, *ppSystemFunction is passed to TrampolineGet, by comparing with pCurrent->pHookFunction to get owned pTrampoline.
In my test, unhook always return FALSE because TrampolineGet always return NULL.

I have just tested your code, it didnot happen.
this bug exists in https://github.com/martona/mhook not here.


Modify CI and Codecov link in index.md for Github pages

Resolve #113

Codecov Report

Merging #114 (311a042) into master (9df5a4e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #114   +/-   ##
=========================================
  Coverage     63.66%   63.66%
  Complexity      394      394
=========================================
  Files            78       78
  Lines          1390     1390
  Branches        148      148
=========================================
  Hits            885      885
  Misses          462      462
  Partials         43       43

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


Error heatmap in the dashboard

Hi,
i have create a map, with the type heatmap in the dashboard failed:
Uncaught IndexSizeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The source height is 0. (10.0.0../bundles/kibana.bundle.js?v=14438:51)
Version: 5.0.0
Build: 14438
Error: Uncaught IndexSizeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The source height is 0. (10.0.0../bundles/kibana.bundle.js?v=14438:51)
at window.onerror (10.0.0../bundles/commons.bundle.js?v=14438:69:13503)
Thanks

Are you still seeing this problem? What are the step taken to reproduce the error? Do you have a sample data set? I have been unable to produce such an error.

I have not heard any response so I am closing. Please reopen if the issue still exists.

Just saw someone has reported the same error on the original tile map.  I'll leave it here for reference so we can see if someone can figure out how to reproduce consistently.  https://github.com/elastic/kibana/issues/9478


Render universities/colleges distinctly from schools

Colleges (amenity=college) and universities (amenity=university) are tagged differently than schools, and they play different roles in the community fabric. They're often larger, sometimes with extensive campuses, and therefore serve both as major destinations themselves and as very important locations for city-wide orientation, sometimes defining the character of a city region or even a whole town.
As of https://github.com/ZeLonewolf/openstreetmap-americana/pull/689, colleges and universities are rendered the same as all other schools, including preschools, which may prove confusing. It would make sense to render them similarly to schools, but a distinct icon could also work. One idea could be to a "C" or "U" inside the school building, similarly to how some of the map samples in #78 differentiate elementary/middle/high schools. Other possibilities include a larger building with multiple flags (also shown in #78) or some sort of mortarboard cap icon (a common higher education signifier, e.g. in iD). Samples welcome!
I think it would also make sense for them to appear at much lower zoom than schools do (currently z15), since they are often major landmarks and thus deserve to be shown at a city-wide scale. Just from eyeballing, I think z11 or z12 would be appropriate. Due to their often-large extent, it might be appropriate to consider an area rendering as well.

I like the idea of the mortarboard. It's a pretty distinctive shape and a "C" or "U" in the building box may be harder to  translate for those who read different scripts. While mortarboards come out of a particular cultural context, doing image searches shows them to be pretty broadly applied around the world:

China
Indonesia
Iran
Bolivia
Egypt
Mozambique
Estonia

Also note the distinction between American usage of "college" (in particular "liberal arts colleges" --> amenity=university or "college of medicine" --> faculty=*) and the British usage of the term "college" which is a step between secondary and university -- sort of like if everyone going to university got an associates at a community college first before beginning their bachelor's degree at a university. See https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcollege for more.
What I'm not sure about is if amenity=college would actually be better handled like amenity=school, but with a second flag, or if it should be more like a university. It's been about 20 years since I did a semester in Scotland and I'm not remembering the details friends related. Probably a good question for British folks in the community forums.

In my area, I often see community colleges tagged as amenity=college, and in fact as the predominant use of that tag. Is that usage common elsewhere in the US? If that's the case, my opinion would be that they're closer in function to universities than to high schools, and so rendering with a university-style symbol would be the less confusing choice of the two (and hey, they get mortarboard graduation caps too).


[Custom]: Updation Of Contributing.md

💡 Custom Issue
📝 Description
The contributing.md looks empty and not in a structured manner. Also some sections are missing.
🎯 Expected Outcome
I can update it in a well structured manner with proper details and some additional sections also that will make the contributors easier to contribute. Please can you assign me this task?
📸 Screenshots or Additional Information

Please assign this task to me.


[Feature Request]: Wizard Steps be available independently

Description
I think would by nice if we have the opportunity to use the below component independently of everything else that comes within Wizard component.

The use case is to display some data that runs in some type of workflow, so the user will have more undestanding where his process is at, and which will be the next steps of it.
What do you think?
Thanks!
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate requests

Hi @mfabricanti,
thanks for reaching out.

to display some data that runs in some type of workflow

Is the workflow not interactive?
Can you use ProgressBar? https://cloudscape.design/components/progress-bar/

Thanks for suggestion @YueyingLu ... for my current use case I was able to follow your suggestion, and use ProgressBar.
It would be nice if we have a component to make a page like AWS Step Functions, that shows a executed workflow:

Closing due to inactivity. Currently we have no plans on such standalone component. For now you need to implement it on your own


[Ask De𝖋i --Wallet  Expert] What is De𝖋i --Wallet  Support number

➡ For help with Defi Support Phone Number, reach out to our support team anytime at 📲 +1{707}.868.5198. We're available 24/7 to assist with installation.
➡ For DefiPhone Support, please feel free to contact our support team at 📲 +1{707}.868.5198We can assist with installation, setup, and troubleshooting.
➡𝐅𝐨𝐫 𝐡𝐞𝐥𝐩 𝐰𝐢𝐭𝐡 Defi Support, 𝐫𝐞𝐚𝐜𝐡 𝐨𝐮𝐭 𝐭𝐨 𝐨𝐮𝐫 𝐬𝐮𝐩𝐩𝐨𝐫𝐭 𝐭𝐞𝐚𝐦 𝐚𝐧𝐲𝐭𝐢𝐦𝐞 𝐚𝐭 (📲 +1{707}.868.5198). 𝐖𝐞'𝐫𝐞 𝐚𝐯𝐚𝐢𝐥𝐚𝐛𝐥𝐞 𝟸𝟺/𝟽 𝐭𝐨 𝐚𝐬𝐬𝐢𝐬𝐭 𝐰𝐢𝐭𝐡 𝐢𝐧𝐬𝐭𝐚𝐥𝐥𝐚𝐭𝐢𝐨𝐧, 𝐬𝐞𝐭𝐮𝐩, 𝐚𝐧𝐝 𝐭𝐫𝐨𝐮𝐛𝐥𝐞𝐬𝐡𝐨𝐨𝐭𝐢𝐧𝐠.
➡𝐅𝐨𝐫 𝐡𝐞𝐥𝐩 𝐰𝐢𝐭𝐡 Uphold, 𝐫𝐞𝐚𝐜𝐡 𝐨𝐮𝐭 𝐭𝐨 𝐨𝐮𝐫 𝐬𝐮𝐩𝐩𝐨𝐫𝐭 𝐭𝐞𝐚𝐦 𝐚𝐧𝐲𝐭𝐢𝐦𝐞 𝐚𝐭 📲 +1{707}.868.5198. 𝐖𝐞’𝐫𝐞 𝐚𝐯𝐚𝐢𝐥𝐚𝐛𝐥𝐞 𝟸𝟼/𝟽 𝐭𝐨 𝐚𝐬𝐬𝐢𝐬𝐭 𝐰𝐢𝐭𝐡 𝐢𝐧𝐬𝐭𝐚𝐥𝐥𝐚𝐭𝐢𝐨𝐧, 𝐬𝐞𝐭𝐮𝐩, 𝐚𝐧𝐝 𝐭𝐫𝐨𝐮𝐛𝐥𝐞𝐬𝐡𝐨𝐨𝐭𝐢𝐧𝐠.
➡For help with ❞Defi Support Number❞, reach out to our support team anytime at 📲 +1{707}.868.5198 We're available 24*7 to assist with installation.
➡ For DefiSupport, please feel free to contact our support team at 📲 +1{707}.868.5198We can assist with installation, setup, and troubleshooting

Closing this issue as spam.


Build servers with no public static ip

I have a build server in the office that is not publically addressable.
To make it receive bitbucket web hooks I can use ngrok.
Does this sound like a good idea for your project ?

I am not sure if this project allows publishing web hooks or just consuming them :)

Sure, you can set up webhook to serve the hooks on your build machine, and then use (ngrok)[https://ngrok.com/docs#expose] to expose the webhook outside :-)

To be clear, this project consumes webhooks.

Thanks. That clears it up for me.
I will try out mating it with ngrok. Should work
On Sat, 12 Mar 2016, 14:29 Cameron Moore<EMAIL_ADDRESS>wrote:

To be clear, this project consumes webhooks.
—
Reply to this email directly or view it on GitHub
https://github.com/adnanh/webhook/issues/68#issuecomment-195742550.


reduces package size

What's this PR do?

reduces the package size from 556KB to 6KB
removes lodash (couldn't reduce package size with it less than 104KB)
adds minification and gzip
adds peer dependencies

Where should the reviewer start?
package.json, webpack.config.js
How should this be manually tested?
compare build sizes on master and this branch
Any background context you want to provide?

lodash util functions were substituted with custom ones hence they need testing added.

What are the relevant tickets / issues?
#2
Screenshots (if appropriate)

Looks great!


HUDI-8399 - Upgrade protobuf version to 3.25.5 to fix CVE-2024-7254

Change Logs
Describe context and summary for this change. Highlight if any code was copied.
Upgrade protobuf version to 3.25.5 to fix CVE-2024-7254
Impact
Describe any public API or user-facing feature change or any performance impact.
protobuf version 3.17.* is having vulnerability  CVE-2024-7254
Risk level (write none, low medium or high below)
If medium or high, explain what verification was done to mitigate the risks.
High
Documentation Update
Upgrade protobuf version to 3.25.5 to fix CVE-2024-7254
Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@bhasudha @yihua Could you please review this PR

/validate-pr

@hudi-bot run azure


Add in support for a global and user specific config

move the wcfactory boolean settings into .wcfactory directory files that could easily be utilized / ignored.
.wcfactoryconfig - user specific, applied after global, could be left out of VC
wcfactoryconfig/global - initial, then could be in VC
something like that

.wcfconfig/user stores a json blob when you initially create a conglomerate for managing your factories and products. This stores user, copyright and license currently and sets the stage for global / user level configuration above everything else.


Makefile: increase tests timeout to allow Travis finish job

@SamuelMarks current timeout of 600s is equal to travis's timeout on task inactivity;
now the coverage tests finish below that threshold.
NB: both tests are still failing due an issue fixed in another PR, #222 .


Bucket of Yellorium issues

So first off, if you pour a bucket of yellorium on the ground, when you pick it back up with a bucket, it magically turns into water.
Secondly, I am not sure if it is because a bucket of yellorium is not being properly registered as a fluid or what, but you cannot set a fluid filter with a bucket of yellorium like you can with all other buckets of materials. I am wanting to setup a filtering system for my metals using pipes, however being unable to set a filter for yellorium means that I am unable to include it in my design at this time.

how did you get this bucket of yellorium?!
yellorium turns into liquid inside a reactor and pulling the liquid out is unheard of!

if you smelt yellorium in a Tinkers Construct smeltry, you get molten yellorium. you can then place a bucket in the casting table, and fill it with said molten yellorium

sigh
The Yellorium fluid isn't meant to ever be outside of the reactor itself, however it seems that the partial implementation of the fluid is causing problems. @erogenousbeef has to fully implement the yellorium fluid.

Another complication is that if you store your liquid yellorium in your ME network via ExtraCells2, there is no way to get it out.  You have no option but to replace your expensive storage cell. :(

Or make it not to be placed in world.


Retry #239 trying to debug GH runner problems

Retry of #239 to see if the macos runner will unstick itself

The mac runner is stuck for this PR too, closing.

Hey Dave - I don't know if you've seen b/306710195, but this appears to be a widespread problem. The team has been working to address it.


Move kafka-src to kafka/source folder

Movtivation:
In 0.7.0 we wanna move channels to this (to be renamed) repo. since the repo is named eventing-contrib IMO it does not make sense to nest all the bits underneath the contrib folder.
Proposal:
Move Kafka Source to kafka/source folder.
NOTE: the kafka channel would live in kafka/channel

Any thoughts on this structure suggestion @Harwayne, @n3wscott ?

@n3wscott I've updated this PR ...

@Harwayne @n3wscott @nachocano I've updated this PR, to move kafka to up,
so that we can easily put the new Channel CRD in the same folder

@lberk said same!
On Fri 7. Jun 2019 at 23:08, Ignacio Cano<EMAIL_ADDRESS>wrote:

@nachocano commented on this pull request.
In kafka/source/cmd/controller/main.go
https://github.com/knative/eventing-contrib/pull/426#discussion_r291755382
:

@@ -19,8 +19,8 @@ package main
import (
"log"

"github.com/knative/eventing-sources/contrib/kafka/pkg/apis"
controller "github.com/knative/eventing-sources/contrib/kafka/pkg/reconciler"

"github.com/knative/eventing-sources/kafka/source/pkg/apis"

now that the repo is called eventing-contrib, should all these imports be
changed to point to github.com/knative/eeventing-contrib?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/knative/eventing-contrib/pull/426?email_source=notifications&email_token=AABGPTXCRQ6GF3JLWNHSMCTPZLE6PA5CNFSM4HNW6HXKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB26ZZMQ#pullrequestreview-247307442,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABGPTU22DGGHSEAVRA3L7TPZLE6PANCNFSM4HNW6HXA
.

--
Sent from Gmail Mobile

This one is getting in https://github.com/knative/eventing-contrib/pull/452, with the import changes.
Might be easier to create a new one after 452 gets in? Up to you, thanks!!!

@nachocano is it possible, that prow/CI for this is still checking out knative/eventing-sources ?
I had IDE complaints as well, when the folder was named -sources, locally

/test pull-knative-eventing-contrib-build-tests

/lgtm
/approve


fontique: Loading fonts from fs

We should be able to load a font from the file system or scan a directory for fonts, rather than only having FS access via system. (We should be able to let the text stack memory map arbitrary font files without having to load them into a blob.)
In fontdb, this is easy to do by using Database::load_font_file or Database::load_font_dir.
In font-kit, this can be done with the sources::fs::FsSource.

I was wrong about part of the above. Blob works with memmap2 so that you aren't loading the whole thing. But the other stuff is still true, I think.

Having register_fonts take a Blob instead of Vec<u8> would be one step in this direction. We could add register_fonts_from_path to solve the rest, but we’d want to consider whether these should be fully loaded or just parsed and added to a source path map to be lazily loaded later.
Also, since memory mapping is considered generally unsafe in Rust, we should offer the option to disable it, even for system collections.


bug in ode_oed_case_1_scipy.py

In the example, the parameters of simulate function should be the following to run without error
simulate(ti_controls, tv_controls, model_parameters, sampling_times)

Thanks, the simulate signatures are now updated to what they should be.

The order for the simulate arguments is now: ti_controls, tv_controls, sampling_times, model_parameters.
tv_controls, sampling times are now optional.
if sampling_times is passed, it is a dynamic system. if tv_controls passed, sampling times must be passed in as well.

Pydex published in PyPI is not up-to-date yet. Just merged in a new pydex with semi-bayesian features. Will update pydex in PyPI.


Update how-to-create-labeling-projects.md

The teams and people management component is not their in the Azure ML labeling. I updated the documentation accordingly removing the parts mentioned the said feature.

@haritha91 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@sdgilley
Could you review the proposed changes to your article?
Thanks!

#sign-off


Update property to read when handling keyboard events

When determining what key was pressed in keyboard event handlers, we examine various properties:

which is used by drop-down, input-text and typeahead
keyCode is used by input-time

Both of these are now deprecated, so they should all be switched to use the key property - info
Thanks to: https://github.com/Day8/re-frame-10x/issues/231

Some additional info, in case it would be useful:
keyCode is supported by all browsers. (According to caniuse.com)
key not as much.
https://caniuse.com/#search=keyboardevent.key


[DSEC-888] Add support for IAP authentication

Add support for IAP token authentication to Zap scanning.
This adds to new types to the scan types enum to support IAP UI scans and IAP API scans. New functionality for fetching the IAP token from google and adjusted the functionality for setting cookies. Both beehive and Sherlock have been scanned in dev successfully with the new scan types.

@sarahgibs thank you!


Failure to build on powerpc64le

Hi,
When trying to build your gem on powerpc64le, I get the following error:
Configuring libmemcached.
env CFLAGS='-fPIC  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimp$
icit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat  -fPIC   -fPIC' LDFLAGS='-fPIC -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/usr/local/rv$
/rubies/ruby-2.2.2/lib' ./configure --prefix=/usr/local/rvm/gems/ruby-2.2.2/gems/memcached-1.8.0/ext --libdir=/usr/local/rvm/gems/ruby-2.2.2/gems/memcached-1.8.0/ext/lib --without-memcached --disable-shared --disable-utils --disab$
e-dependency-tracking CC="gcc"  2>&1
checking build system type... config/config.guess: unable to guess system type

This script, last modified 2009-04-27, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (config/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to<EMAIL_ADDRESS>in order to provide the needed
information to handle your system.

config.guess timestamp = 2009-04-27

uname -m = ppc64le
uname -r = 4.2.0-30-generic
uname -s = Linux
uname -v = #35-Ubuntu SMP Fri Feb 19 13:50:54 UTC 2016

/usr/bin/uname -p =
/bin/uname -X     =

hostinfo               =
/bin/universe          =
/usr/bin/arch -k       =
/bin/arch              =
/usr/bin/oslevel       =
/usr/convex/getsysinfo =

UNAME_MACHINE = ppc64le
UNAME_RELEASE = 4.2.0-30-generic
UNAME_SYSTEM  = Linux
UNAME_VERSION = #35-Ubuntu SMP Fri Feb 19 13:50:54 UTC 2016
configure: error: cannot guess build type; you must specify one
*** extconf.rb failed ***

I think this is because of the version of libmemcached you bundle: if you upgrade the bundled version to the latest (1.0.18) or use the system version if it's available, it should fix things. I can provide a pull request to bundle the latest version if that helps.

Are you building the gem from rubygems or from master?

I was building from rubygems, I've just tried building from master and I get the same message. (I also tried building libmemcached by itself, and verified that any version short of 1.0.18 fails with an outdated config.{sub,guess}.)

i'm having this issue now for ubuntu on M1 (via multipass). the correct system type is aarch64-unknown-linux-gnu and with newer config.guess and config.sub (e.g. /usr/share/automake-1.16/config.guess) the extension build works, but i'm not sure how to pass the type into the extension build from gem install. is this possible?

ended up switching to dalli

Having same issue.


BatchingBolt tuple list contains heartbeat tuple

I found this unexpected. When viewing the list of tuples received in process_batch, I see a tuple of the form Tuple(id=u'<ID>', component=None, stream=u'__heartbeat', task=-1, values=[]).
I have to test for and process this tuple differently for my application to function correctly. This is in a simple BatchingBolt instance with no group key.
Is this considered normal? I don't recall performing such heartbeat-checks when developing a Storm application in Java.

I am unable to reproduce this with the word-count example provided with Streamparse, so I think there is something specific to my own topology that causes this. I will try to construct a minimum working example that reproduces this.

This behaviour appears only in Storm 0.9.4. Specifically, [org.apache.storm/storm-core "0.9.2-incubating"] does not exhibit this issue, but [org.apache.storm/storm-core "0.9.4"] does.
I was able to replicate this with the following simple topology derived from the bootstrap word-count example (only modified files shown below):
src/bolts/wordcount.py (replace Bolt with BatchingBolt)
from __future__ import absolute_import, print_function, unicode_literals

from collections import Counter
from streamparse.bolt import BatchingBolt

class WordCounter(BatchingBolt):

    def initialize(self, conf, ctx):
        pass

    def process_batch(self, key, tups):
        for tup in tups:
            if tup.task < 0:
                self.log('BUG: ' + str(tup))

project.clj (replace Storm 0.9.2 with Storm 0.9.4)
(defproject topo "0.0.1-SNAPSHOT"
  :source-paths ["topologies"]
  :resource-paths ["_resources"]
  :target-path "_build"
  :min-lein-version "2.0.0"
  :jvm-opts ["-client"]
  :dependencies  [[org.apache.storm/storm-core "0.9.4"]
                  [com.parsely/streamparse "0.0.4-SNAPSHOT"]
                  ]
  :jar-exclusions     [#"log4j\.properties" #"backtype" #"trident" #"META-INF" #"meta-inf" #"\.yaml"]
  :uberjar-exclusions [#"log4j\.properties" #"backtype" #"trident" #"META-INF" #"meta-inf" #"\.yaml"]
  )

The logged tuples in the BatchingBolt can be viewed via sparse run -n wordcount -d -t 10 -p 1 | grep BUG. This is the output I get (there is none if the Storm version is reverted to 0.9.2-incubating):
8657 [Thread-19] INFO  backtype.storm.task.ShellBolt - ShellLog pid:7102, name:count-bolt BUG: Tuple(id=u'-7826088584294372901', component=None, stream=u'__heartbeat', task=-1, values=[])
8662 [Thread-21] INFO  backtype.storm.task.ShellBolt - ShellLog pid:7103, name:count-bolt BUG: Tuple(id=u'-6590647871663387193', component=None, stream=u'__heartbeat', task=-1, values=[])

Looks like this has been addressed in https://github.com/Parsely/streamparse/issues/82 and should appear in a future Streamparse release.
It would be helpful for the documentation to explicitly mention the most recent Storm version that each release of Streamparse is compatible with.


Documentation for MQTT has moved

Instruction for setting up MQTT Discovery have moved to here: https://www.home-assistant.io/integrations/mqtt/#mqtt-discovery.  Readme needs to be updated.

Readme updated


ci: add lcov to Docker image.

This provides genhtml, which is needed for Bazel native coverage report
generation.
Signed-off-by: Harvey Tuch<EMAIL_ADDRESS>

CC @oschaaf this gives us full e2e coverage in CI.


Filter for available media on Jellyfin

Description
Hey, recently i've changed disk for my server and im starting to upload to new movies without old ones saved in jellyseerr, but I cant check what Jellyseerr currently says is available in one click.
Desired Behavior

Available media on Jellyfin (filter)
Massive remove of availability data from jellyseer.

Additional Context
The only thing I am missing is this feature, if I could filter media from my jellyfin and clean it up and make a scan, would be great :)
Code of Conduct

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

Once the availability sync job gets merged it should clean up automatically when something is unavailbel

Once the availability sync job gets merged it should clean up automatically when something is unavailbel

I tried but removed things are still shown up as available, I re-sync library and scanned it and they are still there, I would have to manually clean it up, Am I missing something?

yes. as I mentioned before:

one the availability sync job gets merged

#522


Addition of Federated Identity Account page

Addition of the account page FederatedIdentity
Addition of stories for the account pages:

Authenticator
Log

Use of Meta from storybook instead of ComponentMeta
Correction of import path on Log.tsx
Correction on comma seperation on realmRolesAvailable on Applications.tsx
Correction of types on account KcContext and removal of sessions property on Common Type

Let's go @giorgoslytos! 🚀
Thank you very much! I'm very happy you did this.
I recently implemented all the missing login pages (not merged yet) this is a step toward the full completion 😊
Best

My pleasure!
Thank you for the lightning response! ⚡


Throw error when a VM description field gets overriden by an existing field

I went through an error where I had a isPending vm field not working, because viewmodel instance had its own isPending.

Sorry for the extremely late reply. This one fell through the cracks. ViewModel doesn't use a property called isPending (you can search the repo).


Wanted to know about Timeout and Rate Limit

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Hi!
I am running the command  yt-dlp.exe --dump-single-json --skip-download "https://www.youtube.com/c/ATNNewsLive/videos?view=2&sort=dd&live_view=501&shelf_id=0"
What I am trying to do is to get top live videos of that channel. And if there are more then just break it once 5 videos are collected. What I have observed is that, In case there are no videos it keeps on looking for it and never returns. How can I handle this case?

One way could be add timeout if it takes more than 10 seconds, Then return the currently collected results. How can I do this?
Break the process if threshold eg: 5 Limit has reached and return the results.
I will be running this command every 30 mins, Is there any Rate Limiting implemented from YT's side, Since I am scraping Channel Live Video's Title and Desc.

Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
NA

try with yt-dlp "https://www.youtube.com/c/ATNNewsLive/videos?view=2&sort=dd&live_view=501&shelf_id=0" --playlist-end 5
it will only download the 5 videos.

Yes I tried that flag as well, Forgot to mention that it doesnt scrape live videos then but all the upcoming VOD.

scrape live videos

how about limit the number of videos processed ?? - https://www.reddit.com/r/youtubedl/comments/p9jqvv/limit_number_of_videos_processed/

Yes I tried that flag as well, Forgot to mention that it doesnt scrape live videos then but all the upcoming VOD.

how about limit the number of videos processed ?? - https://www.reddit.com/r/youtubedl/comments/p9jqvv/limit_number_of_videos_processed/

I don't fully understand your question.

What I have observed is that, In case there are no videos it keeps on looking for it and never returns.

Can you elaborate on this part, preferably showing verbose log of it


Fix Gateway become unavailable for ZHA/Z2M modes

I have two lumi.gateway.mgl03 gateways with custom firmware 1.5.4
FIRMWARE........: 1.5.4_0090 #20220509
Both devices become unavailable sometimes, ZHA/Z2M also not working, but telnet available and port 8888 is open.
Reboot gateway help to solve problem shortly, but sooner or later connection lost again.
Debug info and some CLI output attached, with "netstat -anp | grep "8888"", /var/log/messages, /var/log/miio_client.log, var/log/openmiio.log content and "ps".
Is there any other info exist I can provide to help debug this issue?
cli_history.txt
config_entry-xiaomi_gateway3-c50d57db82fc35693dabcfa88451dfa4.json.txt
home-assistant_2023-03-17T22-56-54.751Z.log

I hope this will be fixed in next release. You can try latest master version

https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v3.2.0

It's not network issue and device is not offline in fact, and telnet
opening fine at same time, but integration able to connect to gateway only
after gateway reboot


Missing Information on "Setup Policy" setting for "Installed Apps"

This page has no information on the Installed apps  setting ( See below)
the only documentation seems to be in the admin portal, where developers will not be able to find this.
from the TaC https://admin.teams.microsoft.com/policies/app-setup/....
Installed apps
Choose which apps you want installed for your users. They can still install other apps that they want by setting up those apps in permission policies.

possible good to add a cross-ref to : https://docs.microsoft.com/en-us/MicrosoftTeams/teams-app-setup-policies

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

ID: 6f91604a-35b0-dfbb-55b2-b601cb0841b0
Version Independent ID: 84bcd0d7-b4ed-f13e-c84b-2ec6a7661ae9
Content: Manage app setup policies in Microsoft Teams - Microsoft Teams
Content Source: Teams/teams-app-setup-policies.md
Service: msteams
GitHub Login: @cichur
Microsoft Alias: v-cichur

Hello @Josverl Jos, how are you?
Please let me know if I understood you well, however, I am seeing references to installed apps in the article you opened the issue for:

To install apps for users, do the following tasks:
Under Installed apps, select Add apps.
In the Add installed apps pane, search for the apps you want to automatically install for users when they start Teams. You can also filter apps by app permission policy. When you've chosen your list of apps, select Add.

Thanks

hmm, you are correct.
somehow I did not see that when I was looking for the information.
seems like this is moot then 🤐


os/mac/utils/bottles: support ARM bottles.

This will be eventually needed for Big Sur.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

On Linux (and generic) the order of this two-tuple is CPU_OS.
https://github.com/Homebrew/brew/blob/1ff10f90540d47e6b116e31682ea7b2ab714f29e/Library/Homebrew/utils/bottles.rb#L8-L10
Should macOS use this same order for consistency?

I'm fine with whatever.

Opened PR https://github.com/Homebrew/brew/pull/7942


Add Levenshtein distance util

Adds Levenshtein distance util functions which can be used to provide helpful errors when a query fails.

bors r+

bors r+


1 add testing support with nodejs + webpack

the Sass example is absurdly bad, but otherwise this patch gets the job done

Approving your own merge request is a vulgar display of power.


Add Idris2 LSP

Describe your changes
Add Idris2 LSP.
Issue ticket number and link
Closes #3934
Old PR: #4009
Checklist before requesting a review

[ ] I have successfully tested installation of the package.
[ ] I have successfully tested the package after installation.

Screenshots

(Marked as draft as I haven't been able to properly install the LS in a while now)

Hey and thanks for the PR (and sorry for late review)! Custom build scripts are being deprecated because of difficulty in maintaining them over time and their common reliance on system dependencies that Mason cannot detect. You can always host your own registry if you'd like to manage it through Mason, see https://github.com/williamboman/mason-registry-playground/ for a starting point


Fix a bug when client reconnect

Add reconnection lock to control only one thread can can reconnect method.
This will avoid problem in this case:
Thread A reconnecting, and success, then send msg.
Thread B reconnecting but invoke disconnect. Then the Thread A will send msg fail because of Thread B's disconnecting call.
The issue is here:
https://github.com/apache/incubator-dubbo/issues/944

Codecov Report

Merging #2135 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #2135      +/-   ##
============================================
- Coverage     54.16%   54.15%   -0.02%
+ Complexity     5092     5089       -3
============================================
  Files           559      559
  Lines         24935    24940       +5
  Branches       4442     4443       +1
============================================
- Hits          13507    13506       -1
- Misses         9392     9394       +2
- Partials       2036     2040       +4

Impacted Files
Coverage Δ
Complexity Δ

...pache/dubbo/remoting/transport/AbstractClient.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...rpc/protocol/dubbo/telnet/InvokeTelnetHandler.java
51.89% <0%> (-3.8%)
11% <0%> (-2%)

.../dubbo/remoting/transport/netty4/NettyChannel.java
65% <0%> (-1.25%)
22% <0%> (-1%)

...onfig/spring/extension/SpringExtensionFactory.java
85.71% <0%> (+10.71%)
10% <0%> (ø)
:arrow_down:

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 3eae624...d5ec676. Read the comment docs.

It looks good to me

There has sth wrong about my describe of this pr.
This is one optimize when two thread call reconnect.
In old way:
Thread A call reconnect.
Thread B call reconnect. This case maybe make twice connect and twice disconnect.
In new way:
Thread A call reconnect, Thread B wait for the lock.
After Thread A finishing reconnect, Thread B will not do connect and disconnect. Because of that Thread A finish connect, this client is connected, it dose not need to reconnect again.


Allow orgs with leading numbers in name in GitRemote

What's your motivation?

Fixes https://github.com/openrewrite/rewrite/issues/4726

Anyone you would like to review specifically?
@tylervangorder-8451

You're welcome! You did just miss the release we did today, but I imagine you're comfortable running snapshot versions if needed. All the best!


Missing vmware_vm_disk_* metrics for some vms

Hi,
I can't seem to have the following metrics in prometheus on all VMs :

vmware_vm_disk_read_average
vmware_vm_disk_write_average
vmware_vm_disk_usage_average

In my environment, when I query another metric like vmware_vm_cpu_usage_average, you can see there is 2075 time series :

But with the metric vmware_vm_disk_read_average, only 45 time series :

Is this normal ? In what case vmware_exporter doesn't show the disk_read/write metrics on a vm ?
Thanks a lot.
Julien

Actually #116 talks about it, sorry just saw it.

Re-opening this I can't re-open issue 116

Re-opening this one since I can't re-open issue 116

I have the same issue with:

vmware_vm_guest_disk_free
vmware_vm_guest_disk_capacity

The exporter only reads 44 values, how can I change this setting?
Regards.
Fernando.

@fernandogarciaferna those metrics are only gathered if you have vmware tools on your VMs

All VMS have VMware Tools. But the vmware_vm_guest_disk_free vmware_vm_guest_disk_capacity are empty.
Exporter version: v0.11.1
vSphere version: 6.7U3
Any suggestions?

Hi:
I have the next scenario:

vSphere 6.7
vmware_exporter v0.16.1 (dockerhub image)
Next config File:

default:
    vsphere_host: "xxx.xxxx.xxx"
    vsphere_user<EMAIL_ADDRESS>    vsphere_password: "xxx"
    ignore_ssl: True
    specs_size: 50000
    fetch_custom_attributes: True
    fetch_tags: False
    fetch_alarms: True
    collect_only:
        vms: True
        vmguests: True
        datastores: True
        hosts: True
        snapshots: True

And I have missing metrics to, not only disk, vmware_vm_boot_timestamp_seconds too for example (the VM is UP). Here i can see the metric where vmware tools are in the VM but the exporter doesn't get all metric. Here an example:
vmware_vm_guest_tools_running_status{cluster_name="ClusterC",dc_name="Stratio.com",host_name="esx01c.int.stratio.com",tools_status="toolsOk",vm_name="AppsInt-private12"} 1.0
vmware_vm_power_state{cluster_name="ClusterC",dc_name="Stratio.com",host_name="esx01c.int.stratio.com",vm_name="AppsInt-private12"} 1.0
vmware_vm_num_cpu{cluster_name="ClusterC",dc_name="Stratio.com",host_name="esx01c.int.stratio.com",vm_name="AppsInt-private12"} 10.0
.
.
.
vmware_vm_net_droppedTx_summation{cluster_name="ClusterC",dc_name="Stratio.com",host_name="esx01c.int.stratio.com",vm_name="AppsInt-private12"} 0.0

But the metric vmware_vm_boot_timestamp_seconds isn't there. Any idea if this is a bug or a bad configuration?
Thanks.


Initialize webpack and ogl

Here is the initialisation of the project with the gl lib and a webpack

In the end we are using three


Add TextField variant prop support

This PR adds variant prop support, so the type of input can be controlled between InputBase & FilledInput.

Thanks for contributing @zberkom! Can you please add that property to the README?

@alexplumb Done 👍


[BUG] The temperature of Mac Mini M4 is null

General description of bug:

What happened: The temperature of Mac Mini M4 is null
What should happen: Get the correct temperature
Fastfetch version used: fastfetch <IP_ADDRESS> (aarch64)

Often helpful information:

It's not supported. We have to wait someone find the keys.
See also https://github.com/exelban/stats/issues/2249


Add nose dependency to requirements.txt

Given its reference in readme, we should list it in requirements, otherwise readme setup fails

DataMade now prefers pytest. updated README.


[RELAY][VM] Add shape_of instruction

This PR adds a VM instruction ShapeOf to get the shape of a tensor at runtime. This instruction is always executed on CPU as there is no computation required.
cc @icemelon9 @jroesch @wweic

cc @mbrookhart

I feel we should treat ops like vm.shape_of as a dialect for vm. Therefore the conversion from relay ops to vm dialect ops should not be inside the manifest memory pass, but a separate pass.
@jroesch @tqchen What's your thoughts on this?

@tqchen could you please take another look?


[TreeView] provide reason to onNodeToggle and onClick

[x] I have followed (at least) the PR section of the contributing guide.

This is related to #19953.
Note:
I have also prevented an unnecessary call to onNodeToggle in expandAllSiblings
I have reversed the order onNodeToggle and setExpandedState in expandAllSiblings to be consistent with toggleExpansion
expandAllSiblings
if (diff.length > 0) { //prevent unnecessary call
      const newExpanded = [...expanded, ...diff];

      if (onNodeToggle) {
        onNodeToggle(event, newExpanded, 'Keyboard');//reversed order
      }

      setExpandedState(newExpanded);//reversed order
    }

Could someone explain the failing test_static.

Is it because I added jsdoc to the prop types ?

sandbox using the new onNodeToggle to allow expansion only for icon ( or label ) click.

I don't like overloading DOM APIs since this requires specialized knowledge for Material-UI.

Ok, then could just remove the reason from onClick.

If we allow onLabelClick and onIconClick. You could call event.preventDefault in onLabelClick and we would start respecting event.defaultPrevented in our handleClick. Would this work for you too?

This is a better solution for facilitating #19953 compared to labelProps spreading.
The advantages with this method compared to onLabelClick / onIconClick preventDefault:
Logic related to controlling expansion is in one place.
Probably not important but when a margin is clicked neither onLabelClick or onIconClick will handle.
Advantages of onLabelClick / onIconClick
You can perform other operations unrelated to expansion/collapse.
Although highly unlikely you could have different toggle behaviour on a per TreeItem basis.
Happy to proceed with onLabelClick / onIconClick though.  I assume that you want both the TreeView and TreeItem to have the props ?

I assume that you want both the TreeView and TreeItem to have the props ?

Does the TreeView render an icon or label? I thought only TreeItem is responsible for rendering those.

Yes TreeItem renders but if you were to be using onIconClick or onLabelClick solely for preventDefault then you would need to pass the handler to each TreeItem.  By providing on TreeView can pass through context.
Alternatively a wrapper TreeItem would need to be created.

Do you want a demo of using onLabelClick / onIconClick for specialized click toggle behaviour ?

Alternatively a wrapper TreeItem would need to be created.

That is the way of React. Customization happens by composition not with a Provider. If you see a common pattern emerge then you abstract that into a separate component. I don't see how this component cannot use this pattern.

Ok

If we allow onLabelClick and onIconClick. You could call event.preventDefault in onLabelClick and we would start respecting event.defaultPrevented in our handleClick.

Are you saying that the default being prevented is the toggle ?
TreeItem.js
const handleClick = (event) => {
    //...

    // ******************************
    if (expandable && !(multiple && isExpanded(nodeId)) && !event.preventDefault) {
      toggleExpansion(event, nodeId);
    }

    //....
  };

I decided that preventDefault prevent toggling parent node and I created a new pull request #20657


Feature Request: Allow/Disallow Explicit songs from preferences

Hello,
I am exporting playlists that are going to be played over a stream and it would be helpful to have it setup so that when I am importing playlists, the explicit songs as marked by google music, won't be added because of the explicit. Is there a way to check this in the ImportList.py or add a setting in preferences.py?

you can see if explicit info is one of the details that can be exported by adding -dDEBUG to the command line.  it'll tell you the available track details you can set in preferences.py   if explicit is available you can open the output file in a spreadsheet program and filter out the explicit tracks that way.

The song that is used to figure out what track details are available is not an explicit song which probably won't work for seeing if explicit info is available, change line 62 of common.py to an explicit song and see if that exposes additional track details that can be used for explicit songs.


Update master to new release of OT

OpenTelemetry api and sdk v0.13b were released yesterday. Updating code to reflect breaking changes.

Codecov Report

Merging #117 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #117   +/-   ##
=======================================
  Coverage   91.88%   91.88%
=======================================
  Files          21       21
  Lines        1196     1196
  Branches      149      149
=======================================
  Hits         1099     1099
  Misses         70       70
  Partials       27       27

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 3d0f048...f1c34c5. Read the comment docs.


integration: Add the re-usable "retry" helper.

Retry was kind of extracted from wait_until_reachable. The goal is to be
able to wait for a command to succeed, or fail if it doesn't succeed
after a defined number of attempts.
Indirectly improve the error logging: the output of the retry command
won't show up unless it constantly failed.
Signed-off-by: Andrea Luzzardi<EMAIL_ADDRESS>

/cc @jimmyxian
Can you verify that the integration tests all work on your side with this PR?

/cc @vieux This should remove all those annoying messages.

LGTM

LGTM as well, waiting to hear back from @jimmyxian ;)

@aluzzardi @abronan @vieux
Great! I will try to use it..


Adding Google Suggest to search bar

I m interested in adding google suggest to the search bar so that when user add a query they can have some help it they dont know the exact spelling of what they are search for.
Can you let me know where the google suggest code might be put into place ?
Thanks

close for now, if you have more issue related to codebase you can open an new issue.


Add docs for Space default env variables

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

folowed-up (internal) by https://github.com/huggingface/spaces-app-manager/issues/487


Region

In my case the dialog shows me Your data is stored in 44944209aa3d4304b1a2e0960c1e1xyz-api.analysis.windows.net.
So what region should this be?
How can the region be adjusted so the "Azure Connections" feature can be activated?

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

ID: fe99dcd3-62d6-0f11-3b13-031eb65c426c
Version Independent ID: c0dc599b-c84c-ae09-42a0-5c28bb635810
Content: Where is my Power BI tenant located? - Power BI
Content Source: powerbi-docs/admin/service-admin-where-is-my-tenant-located.md
Service: powerbi
Sub-service: powerbi-admin
GitHub Login: @kfollis
Microsoft Alias: kfollis

Hi @robertZaufall , I am sorry about the VERY long delay. I think this is more of a support question than it is a docs question. I suggest you try support, if you've got it: https://support.powerbi.com/, or the community: https://community.powerbi.com/


Change Resource Checkins table name

For the Silver Dragon exercise we are repurposing the resources table to handle reporting of tasks completed and hazards.

[ ]  So if we could change the name of the table on the "View Checkins" page to "Field Reported Data" that would be great.

[ ] On the "Volunteer Home" page if we could change the title "Checkin a New Organization Resource" to "Report New Data"

Pull request #496 completes both of the tasks for this issue.


AttributeError: 'NoneType' object has no attribute 'dict' when running launch.sh

Saw someone reported this issue in another thread, but got no response, so opening new issue:
Their error:
I ran this instruction "python .\opt.py .\nerf_synthetic\ship\ -t ckpt/res", but there is a error "if self.basis_type != BASIS_TYPE_MLP and imrend_fn_name in _C.dict and not torch.is_grad_enabled() and not return_raylen: AttributeError: 'NoneType' object has no attribute 'dict' ", can you tell me how to do then? Thanks in advance.
I'm getting this exact same error when running the launch.sh. AttributeError: 'NoneType' object has no attribute 'dict'
Here's additional info from log trace, pointing to line 1159 of svox2.py
Selecting random rays
Eval step
^M 0%| | 0/6 [00:00<?, ?it/s]^M 0%| | 0/6 [00:00<?, ?it/s]
Traceback (most recent call last):
File "opt.py", line 471, in
eval_step()
File "opt.py", line 406, in eval_step
rgb_pred_test = grid.volume_render_image(cam, use_kernel=True)
File "/home/pccross38/miniconda3/envs/plenoxel/lib/python3.8/site-packages/svox2/svox2.py", line 1159, in volume_render_image
if self.basis_type != BASIS_TYPE_MLP and imrend_fn_name in _C.dict and not torch.is_grad_enabled() and not return_raylen:
AttributeError: 'NoneType' object has no attribute 'dict'
Any thoughts why dict might be empty?

@pccross I have the same issue, do you now have this fixed?


Open union validation

Differentiate open union where values are exhaustive at a point in type
How to differentiate an open union where certain emitters might know the whole set of values and want a more precise type
We estalished that when dealing with union of values that might return different values in the future to an existing API version we should always use an open union
union Open {"a", "b", string }

This is an accurate representation of the API.
If a service can guarantee that the values will never change then they can use a closed union or an enum
union Closed {"a", "b"}
enum Closed { a, b }

Problem
Some emitters however would like to represent the more accurate type as they might know all the values and are the ones controlling it(Service) or just want a more precise type that won't affect the runtime(TypeScript client)
And we currently wouldn't be able to differentiate between an union that is open because it might change in the future and an union that currently allows extra values.
union CurrentValues {"a", "b", string }
union WithKnownValues {"a", "b", string }

Ideas
Opt-in decorator
If a service is using this pattern to represent union that might change in the future it is probably the 99% case that those open union represent the set of current values and doesn't actually allow any values at the latest version. So having a decorator to opt-in to a more precise type would be very tedious as you'd most likely have to apply to to every union.
@exhaustiveAtVersion
union CurrentValues {"a", "b", string }
union WithKnownValues {"a", "b", string }

However if a service doesn't actually care about this - control both end(client and service) or maybe even went and did the work to guarantee that values defined at a version never change(showhow) then the decorator above does seem like a good idea as if they actually use union WithKnownValues {"a", "b", string } it most likely mean they accept the extra values.
Opt-in service and opt-out decorator
An alternative would be to opt-in a service to this behavior using a decorator on the service namespace
@useExhaustiveOpenUnion
namespace MyService;

union CurrentValues { "a", "b", string }
@allowsUnknownValues
union WithKnownValues { "a", "b", string }

The emitter could be the one deciding to opt-in to this behavior with a flag as well
options:
  my-emitter:
    open-union-handling: exhaustive | open

namespace MyService;

union CurrentValues { "a", "b", string }
@allowsUnknownValues
union WithKnownValues { "a", "b", string }

model Foo {
  @pattern("[a-z]+")
  name: string;
}

Usage scenarios

If a single service version will only ever accept or return a fixed set, use fixed union, adding new values in new service versions is not a breaking change.

enum OnlyOutput {a, b, @added(v2) c }
// In this case the service does guarantee that in v1 c would never get returned

If a single service version might return a new value in the future, use an extensible union, adding new values in new service versions is not a breaking change.

enum OnlyOutput {a, b, @added(v2) c, string }
// in v1 we might get c

If a single service version validates today that an input is inside a fixed set of known values, but may allow new values in the future, use a fixed union. Accepting new values in the future is not a breaking change.

enum OnlyUsedAsInput {a, b, @added(v2) c }
// sending c in v1 is invalid

If a single service version has an input AND output type that it validates on input but may accept and return new values in the future... I think this is the issue we are talking about.

enum InputAndOutput {a, b, @added(v2) c, string }
// in v1 we might get
// but we want to validate at this point only "a", "b", "c" can be sent

Treat open union as an exhaustive list for validation and TypeScript emitter by default
Decorator to opt-out
Emitter flag to disable validation/behavior

If we have extends, could it be
enum Closed { a, b } for values that never change.
union CurrentValues extends string {"a", "b"} for values that is exhaustive currently, but can change in future. <-- it would be SDK emitter's job to decide whether it going to generate open enum.
union WithKnownValues extends string {"a", "b", string} for values that include known values and unknown values.


test: behaviors-message_on_lock_failure (2024-03-04 17:39:13.319990+00:00)

automatic test cleanup


Convert View into a concrete type

There will be a single View implementation, hence
View is converted into a concrete type. This model also
is compatible with the Java client.
Renamed GetViewByName given views can only be retrieved
by name and the function performs a look-up to find
a view in the registry.
Moved some view related functions under View to be
methods.
Added some more godoc and made a few style improvements.

@zombiezen, let's take a look at these changes together later today.


Add support timeZoneName

Adding the timeZoneName="long" or timeZoneName="short" attribute adds the current timezone representation to the text visible to the user.
This is useful for situations in which the UI needs to make explicit to the user that the time is rendered in their own local timezone, rather than an arbitrary one determined by the server.
This is a simpler take at #65
/cc @stoe

Maybe out of scope for this PR, but we should support property aliases on all this time formats so el.timeZoneName = writes to the attribute.

On Nov 25, 2016, at 9:05 AM, Mislav Marohnić<EMAIL_ADDRESS>wrote:
@mislav commented on this pull request.
In test/local-time.js:

@@ -66,4 +66,12 @@ suite('local-time', function() {
}
assert.include(['1969', '1970'], root.children[0].textContent)
})

;('Intl' in window ? test : test.skip)('displays time zone name', function() {
var time = document.createElement('local-time')
time.setAttribute('datetime', '1970-01-01T00:00:00.000Z')
time.setAttribute('minute', '2-digit')
time.setAttribute('timeZoneName', 'short')
I would be most in favor for timezone="short" attribute, since timezonename or time-zone-name could be a mouthful. What do you think?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

we should support property aliases on all this time formats so el.timeZoneName = writes to the attribute.

Declaring those properties on the element (if I understood you correctly) is a good idea. However, if the attribute name for this is timezone (that maps to timeZoneName parameter of DateTimeFormat), should the property name on the element be timezone or timeZoneName?

I like using timeZoneName as the property and time-zone-name as the attribute. That maintains a consistent mapping between camelcase and dasherized names.

On Nov 25, 2016, at 1:12 PM, Mislav Marohnić<EMAIL_ADDRESS>wrote:
we should support property aliases on all this time formats so el.timeZoneName = writes to the attribute.
Declaring those properties on the element (if I understood you correctly) is a good idea. However, if the attribute name for this is timezone (that maps to timeZoneName parameter of DateTimeFormat), should the property name on the element be timezone or timeZoneName?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

For reference, dataset's DOMStringMap https://html.spec.whatwg.org/multipage/dom.html#domstringmap


[GHSA-hhpm-5cp2-hg4x] Deserialization of Untrusted Data in Jenkins

Updates

Affected products
References
Source code location

Comments
Add some patch links related to CVE-2018-1000861.

Hey @sunSUNQ, I'm not sure I see how all of these commits are related to the advisory. Can you step me through the logic?

I apologize, there was an issue with the submission, and only 76e0e69e91b85dd72f8fac53d547dcdc4ff1d90c is relevant to the current vulnerability.

I'm still not seeing the linkage. How does it relate to stapler/core/src/main/java/org/kohsuke/stapler/MetaClass.java?

CVE-2018-1000861 is mentioned in the official advisory as related to SECURITY-595. In https://github.com/advisories/GHSA-hhpm-5cp2-hg4x, only https://github.com/jenkinsci/jenkins/commit/47f38d714c99e1841fb737ad1005618eb26ed852 is provided. However, I believe the following five commits are also relevant.
https://github.com/jenkinsci/jenkins/commit/90b6d47af7ff0ae33f4ff816a0d9ca36223769b0
https://github.com/jenkinsci/jenkins/commit/db5defdf2f3c8efa4c8fb5a04502ebbccec96504
https://github.com/jenkinsci/jenkins/commit/3353e66082cd275b7bf55da7b2423d6ca11a1e2d
https://github.com/jenkinsci/jenkins/commit/19698a82624ca4d62525bf7add2f807ce3b4a9f3
https://github.com/jenkinsci/jenkins/commit/76e0e69e91b85dd72f8fac53d547dcdc4ff1d90c

Hello, I'm looking forward to your response.

👋 This pull request has been marked as stale because it has been open with no activity.  If you do nothing this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details.


[#82] Add email and password pair analyzer

My first PR, please let me know if I am missing something.

Pull Request Test Coverage Report for Build 105

21 of 22 (95.45%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.6%) to 59.57%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pastepwn/analyzers/tests/emailpasswordpairanalyzer_test.py
14
15
93.33%

Totals

Change from base Build 96:
0.6%

Covered Lines:
775

Relevant Lines:
1301

💛  - Coveralls

Great work. Will have a closer look tonight! Thank you.


readme shows incredible demo, but checked in demo missing rich content

thanks for this library, very cool.
problem
blessed is giving me a hard time. in trying to replicate layouts and events as shown in the readme, i want to consult how it was done by the author
discussion
the demo is missing all of the key details. for example, <Jobs /> is more or less empty. is there a rich example available?

Hello @cdaringe. The example shown by the readme's gif stands here. But be aware that it was made on a rather ancient version of the lib. Else I remember that there exists some react-blessed version of SQL db uis somewhere that could help you find rich examples.

Awesome thank you!


Broken website link fix in ReadME

Problem: Link under Website: ourzora.com gives a 404. It directs to the site: https://github.com/ourzora/zora-contracts/blob/master/ourzora.com.
Solution: Fixed with full link: http://ourzora.com

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Armory crate

Greetings,
Armory crate Entry showing on Stock default install of the shell and Armory crate not installed/active on the PC not sure how to remove it
System is a ROG Strike g614jI
also import 'imports/develop.nss' not showing

Armory crate Entry showing on Stock default install of the shell and Armory crate not installed/active on the PC not sure how to remove it
explain more, add screenshot

also import 'imports/develop.nss' not showing
if import 'imports/develop.nss' exist in shell.nss check shell.log

When I install the Nilesoft shell, I have not made any modifications yet so its a stock base install from using "winget"
in the right click menu there is an entry for Armory crate but I currently have that uninstalled/disabled. is there anyway to remove that entry

remove(find='ArmouryCrate' type='desktop')

method 2:
https://youtu.be/ZFArnVX_G9w?si=2Ph4q3Sx_M62rYbp&t=42

Not sure where to put remove(find='ArmouryCrate' type='desktop')
but method 2 seems to have worked... so thank you


Renaming spree

I've renamed files and classes, fixed includes according to the "includes what you use" paradigm, and changed header guards accordingly.
Later I'll be implementing the tests you requested on origin/master.

Thank you for this!
I think that naming is one of the most difficult and important issues when designing big libraries.
On that topic: why did you choose the naming convention: 'ClassBase' instead of 'BaseClass' ?
From what I see in other well developed libraries, 'BaseClass' is the way to go, see for instance stan-dev/stan, scikit-learn, and most of the google-research github project. 'ClassBase' instead is something I read in Javascript codes.
I think the main advantages of going for 'BaseClass' are:

we adapt to what other people are doing, so it would be easier for other people to use this library
Searching 'Base' over the repository lets you immediately understand what are the main classes that the library depends on.

Also 'CollectorMemory' seems misleading as it looks like it's collecting memory.
Please let me know what is your opinion on that

I knew I should've asked first...
I was wondering if I should use BaseClass or ClassBase. The two kind of felt like equivalent to me. I eventually went with ClassBase because it made the most logical sense to me. It follows the "general, then particular" pattern which is usually better in naming conventions (outside of class naming, that is). I asked some collagues and they made the same choice as I did.
About the CollectorMemory thing, if one understands that the naming scheme of the library is "general, then particular", then they also understand that CollectorMemory is a collector of type "memory".
I still have no strong feelings about either, so I'm willing to switch if it is for the best.

I think we should do what other do...
Still, if you are aware of ML / CS libraries that use the other convention, we can keep it like this. If not I should switch to BaseClass, if it's not too much work!

I do not know of any libraries with this scheme, and I'm too lazy to check the ones I know. Also finding one would probably be slower than switching anyways, so I'll just do that. It's not that I am particularly busy these days...