Event Hubs + Event Grid = More Expensive?

I am interested in this topic (pun? 😆) but confusion around cost remains.  If I can pipe an Event Hub straight into my Azure Function, why do I need to put Event Grid in between?  Isn't that doubling the cost of my solution?  Thank you for any additional clarification you can provide around this.

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

ID: 9ec5477a-c4b4-a37c-f853-3d517a095e93
Version Independent ID: 51b5ddf3-109d-4f9e-5d2d-afe7d46dab42
Content: Azure Event Grid and Event Hubs integration
Content Source: articles/event-grid/event-grid-event-hubs-integration.md
Service: event-grid
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

FWIW, this article is saying that Event Hubs provides functionality that is not present in Event Grid, making it seem that Event Hub -> Azure Function is the way to go:
https://medium.com/@jeffhollan/in-order-event-processing-with-azure-functions-bb661eb55428

@Mike-EEE thank you for your feedback. There are numerous reasons for using Event Grid before your Azure Function, though it will off course depend on your scenario requirements. You can definitely connect your Event Hub directly to an Azure Function as well. One of the many characteristics of Event Grid is that it simplifies event consumption and lowers costs by eliminating the need for constant polling.
Does this article helps clarify some of your questions?
https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services
Please also research on Stack Overflow for similar requests as yours. We have a great community (Microsoft and externals) helping on architecture choices there. If you open a new issue you can reply back to this thread with the link so that others may look at it as well :).
Thank you in advance!

@ShubhaVijayasarathy or @xurui203 might have some insight about when to use Event Hubs directly with Azure Functions vs. using Event Grid to facilitate events between those services.

Hello @Mike-EEE , as I explained above, it will always depend on your scenario. For example if you need to rapidly add a different third-party service to be notified whenever an event occurs, Event Grid simplifies event consumption. For costs calculation you can use https://azure.microsoft.com/en-us/pricing/calculator/ .
I will let @ShubhaVijayasarathy and @xurui203 comment on this.
Thank you.

Thank you for your continued patience and assistance here, team.  I understand that this will depend on the scenario, @sergaz-msft.  An example would be indeed a great starting point.  Please note that the intention here is not to solve the question for me in this GitHub issue, but for providing additional content for your documentation to eliminate confusion for those who are reading and analyzing your services for their own use cases.
I understand that there is an Azure calculator but that is really not helpful. What helps (as I have seen in other places in Azure) are legitimate real-world examples with hard numbers that I can easily wrap my mind around and then further provide input for my own purposes.
I am not sure if you are aware, but pricing Azure is a very confusing process and not one that I would consider straight-forward.  Getting an answer to "how much does this cost" seems to involve jumping through more hoops than it is worth.  This issue is a good example of this and another issue that I currently have open in https://github.com/MicrosoftDocs/azure-docs/issues/14389 is another.
Please note that both of these issues are after the answer "how much does this cost?" and both of these issues have not yet answered this question sufficiently, despite having input and conversation with two different teams.
From my view, having some simple examples with some real-world (or even simply made up!) numbers would be a great start here.
In this case, I think the typical user attempting to inform themselves would benefit from having the two scenarios outlined:

Event Hubs + Azure Functions
Event Hubs + Event Grid + Azure Functions

From the outset, it seems that Event Grid will add more cost to my solution, not lower it as alluded to earlier.  My driving question here is: by how much?  If you can provide simple examples where Event Grid actually lowers my cost as opposed to a basic Event Hubs -> Azure Functions, then all the better.  I have yet to encounter any sort of examples or documentation that demonstrates this, however.
Thank you again in advance for any assistance you can continue to provide here.

@Mike-EEE - here are some pricing examples for Event Grid.. As you can see, the price for Event Grid can be inexpensive (in fact the first 100,000 operations each month are free), so that might not be a big factor in your decision. Instead, I would focus on your scenario and look at the suggestions in the article that compares messaging services.

@Mike-EEE - An important factor is whether you want streaming data or discrete event data. The blog post you linked to sounds like a streaming scenario. It correctly points out that Event Grid won't work because there is no guarantee on event ordering. The Event Hubs and Event Grid integration article shows how to notify subscribers that a Capture file is ready. This is a good scenario for discrete processing with Event Grid. With Event Grid, you can send the events to any of its handlers, including a Web Hook. Whichever method you use to process the data, cost should not be a deciding factor.
Unless you have more questions, we will close this issue.
#please-close

One additional point - I am adding a link to the article that compares messaging services. That article covers most of these considerations.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me or @tfitzmac  in your reply. We will gladly continue the discussion and we will reopen the issue.


fix: Update page.tsx

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


Don't works with AMD cards.

Is it my problem, it was planned by nvidia, or it's kinda compatibility problem?

gl_vk_chopper.exe has stopped working
Happends after device initialization
Using Asus R9 270X and Xeon 1241.

Hi Sliterok.
We were unable to test on AMD hardware before the Vulkan launch as we only got access to their drivers yesterday. The sample certainly was put together with NVIDIA hardware in mind. All driver implementations have their own unique features, for example, on NVIDIA hardware we do not 'need' to change image layout like you do on other implementations, (but you do need to transition away from the VK_IMAGE_LAYOUT_UNDEFINED layout when you initially create an image resource). It is the intention that this sample would run with all implementations. As we begin to get access to the other drivers, we will make this so.
Kind Regards
Chris Hebert


pfSense+ Logo Display Errors

Looks like the CSS theme file in pfSense+ 23.01 is ever so slightly different than the one in CE. There are a couple directives to fix the logo colors and positioning in the header.
Currently, this is how the header appears on pfSense+:

Lines 226-241:
.logo-st0 {
  fill: var(--foreground);
}

.logo-st1 {
  fill: var(--foreground);
}

.logo-st2 {
  fill: var(--foreground);
}

.navbar-brand {
  padding: 5px 10px 0 10px;
  line-height: 0.3em;
}

Can be replaced with:
.logo-st0, .logo-st1, .logo-st2, .logo-st3, .logo-st4, .logo-st5 {
    fill: var(--foreground);
}

.navbar-brand {
    padding: 5px 10px 0 10px;
    line-height: .3em;
}

.factory.navbar-brand {
    padding-top: 10px;
}

This fixes the display problems:

Thanks again! Should be fixed later tonight.


Update appointment branch

Pull Request Template
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Additional Context (Please include any Screenshots/gifs if relevant)
...
Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have checked my code and corrected any misspellings
[ ] I have tagged the reviewers in a comment below incase my pull request is ready for a review

Broken commit history. Please fix.


Chinese translation

Greeting guys, we are cosmere fans from China lead by @BotanicaXu. We really like your fantastic site! It's so great!!
May we have the honor to be part of this project by contributing Chinese translation?
We are still working in progress, and here are some tasks and the progress so far.

[x] Add language router link to the menu to switch to Chinese
[x] Translate characters(20/20)
[x] Translate events(126/126)
[x] Translate locations(94/94)
[x] Translate misc(2/2)
[x] Translate UI (src/lang/zh.json)
[x] Generate Chinese textures(4/4)
[x] Mark locations in editor view
[x] Online preview site

Sorry I miss configured the github bot in my forked version. Bot configuration files shouldn't be committed. I will resolve this issue soon.

@PaleoCrafter We are ready to merge! Could you please review this PR?

@PaleoCrafter We are ready to merge! Could you please review this PR?


File renaming error reporting

OS: Win10
VSCode:1.25.1
When I use the rename function, change the file name from uppercase to lowercase, plug-in to generate the error report, and the original file is deleted.
example:
CNY.ts rename to cny.ts

@tiansin ,
Thank you for your feedback.
Please update to version 1.5.5.
Problem should be fixed.

@kdcro101
I confirm that has been fixed, thank you very much.

No problem! Thank you, again, for your feedback.


Regression: WinGet 1.5.1881 doesn't correctly handle --manifest option with --accept-source-agreements

Brief description of your issue
I've got an existing workflow that was working fine until the release of WinGet 1.5.1881. When using that release, the winget install command that was previously working is now failing with the error Both local manifest and search query arguments are provided. This happens even though no search query argument is provided. Specifically, it fails to work when used in conjunction with the --accept-source-agreements option. If I revert back to WinGet 1.5.1572, I get the expected behavior.
Steps to reproduce

Open Windows Sandbox

Run the following script to install WinGet dependencies:

$ErrorActionPreference = 'Stop'
$ProgressPreference = 'SilentlyContinue'
Set-StrictMode -Version 2.0

# Install XAML nuget package
$XAMLPackagePath = "Microsoft.UI.Xaml.2.7.0.appx"
$XAMLPackagePathZip = "Microsoft.UI.Xaml.2.7.0.zip"
$XAMLPackageSubDirectory = "Microsoft.UI.Xaml.2.7.0"

Write-Host "Downloading XAML nuget package"
Invoke-WebRequest 'https://www.nuget.org/api/v2/package/Microsoft.UI.Xaml/2.7.0' -OutFile $XAMLPackagePath

Write-Host "Expanding nuget package"
Move-Item -Path $XAMLPackagePath -Destination $XAMLPackagePathZip
Expand-Archive -Path $XAMLPackagePathZip -Destination $XAMLPackageSubDirectory

$OSArchitecture = (Get-WmiObject Win32_OperatingSystem).OSArchitecture
$XAMLPackageAppxPath = ""
Switch ($OSArchitecture) {
    "64-bit" { $XAMLPackageAppxPath = "$($XAMLPackageSubDirectory)\tools\AppX\x64\Release\Microsoft.UI.Xaml.2.7.appx" }
    "32-bit" { $XAMLPackageAppxPath = "$($XAMLPackageSubDirectory)\tools\AppX\x86\Release\Microsoft.UI.Xaml.2.7.appx" }
}

Write-Host "Installing XML Package"
Add-AppxPackage -Path $XAMLPackageAppxPath

Write-Host "Installing MS Visual C++ library"
Invoke-WebRequest -OutFile Microsoft.VCLibs.x64.14.00.Desktop.appx https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx
Add-AppxPackage Microsoft.VCLibs.x64.14.00.Desktop.appx

Install WinGet

$ErrorActionPreference = 'Stop'
$ProgressPreference = 'SilentlyContinue'
Set-StrictMode -Version 2.0

# Get metadata about the latest release of the winget CLI on GitHub
$release = Invoke-WebRequest -UseBasicParsing "https://api.github.com/repos/microsoft/winget-cli/releases/111680619" | ConvertFrom-Json
$installerAsset = $release.assets | Where-Object { $_.name -like "Microsoft.DesktopAppInstaller_*.msixbundle" }
$installerUrl = $installerAsset.browser_download_url
$licenseAsset = $release.assets | Where-Object { $_.name -like "*License*.xml" }
$licenseUrl = $licenseAsset.browser_download_url

try {
    Invoke-WebRequest -OutFile desktopAppInstaller.msixbundle $installerUrl
    Invoke-WebRequest -OutFile license.xml $licenseUrl

    # Install the App Installer (winget CLI)
    Add-AppxProvisionedPackage -Online -PackagePath desktopAppInstaller.msixbundle -LicensePath license.xml
}
finally {
    Remove-Item desktopAppInstaller.msixbundle -ErrorAction Ignore
    Remove-Item license.xml -ErrorAction Ignore
}

Enable admin setting

winget settings --enable LocalManifestFiles

Setup manifest location

mkdir test

Download existing manifest files from https://github.com/microsoft/winget-pkgs/tree/master/manifests/m/Microsoft/DotNet/Runtime/7/7.0.9 and copy them to the test directory

Install manifest

winget install --accept-source-agreements --manifest test

Expected behavior
Successful installation
Actual behavior
Error message: Both local manifest and search query arguments are provided
Environment
Windows Package Manager v1.5.1881                                                                                Copyright (c) Microsoft Corporation. All rights reserved.                                                                                Windows: Windows.Desktop v10.0.19041.3208                                                                                System Architecture: X64                                                                                Package: Microsoft.DesktopAppInstaller v1.20.1881.0                                                                                Winget Directories                                                                                -------------------------------------------------------------------------------------------------------------------------------                                                                                Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir                                                                                User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json                                                                                Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links                                                                                Portable Links Directory (Machine) C:\Program Files\WinGet\Links                                                                                Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages                                                                                Portable Package Root              C:\Program Files\WinGet\Packages                                                                                Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages                                                                                Links                                                                                ---------------------------------------------------------------------------                                                                                Privacy Statement   https://aka.ms/winget-privacy                                                                                License Agreement   https://aka.ms/winget-license                                                                                Third Party Notices https://aka.ms/winget-3rdPartyNotice                                                                                Homepage            https://aka.ms/winget                                                                                Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale                                                                                Admin Setting                             State                                                                                --------------------------------------------------                                                                                LocalManifestFiles                        Enabled                                                                                BypassCertificatePinningForMicrosoftStore Disabled                                                                                InstallerHashOverride                     Disabled                                                                                LocalArchiveMalwareScanOverride           Disabled

A dependency might come from a source that requires an agreement.
This error is incongruent with the request, as the request has no apparent search query elements - at least, no elements with 'search' or 'query' in the name. It only really makes sense if you're working from the perspective of manifest installs being wildly different from search-driven installs. While most users are working from a scripting-based perspective where source should be largely immaterial.
Especially here, where previous functionality has been blocked. Blocking changes and removal of functionality should only be made on major revisions.


don't build tests in release mode

should speed up the test suite a bit

 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.


Package installation

I am very new to Git and coding so please forgive my ignorance but I have iPhone XR with iOS 13.4 and trying to learn command/terminal and python scripting so barely treading water here. I would like to add some packages like pip or easy_install, make etc etc but I cannot seem to get any further than downloading packages via Lib’s command line so how do I locate and install them once they have been downloaded?

Use python3 -m pip install <package> to install packages using Pip. (Note that you can only install pure Python packages, no C extensions.)

How to download on termux find password wifi
Στις Τρί, 19 Μαΐ 2020, 2:01 μ.μ. ο χρήστης Ong Yong Xin <
<EMAIL_ADDRESS>έγραψε:

Use python3 -m pip install  to install packages using Pip. (Note
that you can only install pure Python packages, no C extensions.)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ColdGrub1384/LibTerm/issues/62#issuecomment-630746925,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANVB3PJPTZXW5NLS3HCVN3LRSJRHHANCNFSM4M62WVUQ
.


Collection rule service, logging, and some functional tests

Overview of changes:

Implement collection rule service for starting rules.
Add logging throughout collection rule system.
Add some functional tests for collection rule system.

Example dotnet-monitor console output with a single collection rule with startup trigger:
10:33:17 info: Microsoft.Diagnostics.Tools.Monitor.MonitorApiKeyConfigurationObserver[25]
      MonitorApiKey settings have changed. The new settings have passed validation.
10:33:17 warn: Microsoft.Diagnostics.Tools.Monitor.Startup[13]
      WARNING: Authentication has been disabled. This can pose a security risk and is not intended for production environments.
10:33:18 warn: Microsoft.AspNetCore.Server.Kestrel[0]
      Overriding address(es) 'http://localhost:52323'. Binding to endpoints defined in UseKestrel() instead.
10:33:18 info: Microsoft.Hosting.Lifetime[0]
      Now listening on: http://localhost:52323
10:33:18 info: Microsoft.Hosting.Lifetime[0]
      Now listening on: http://localhost:52325
10:33:18 info: Microsoft.Hosting.Lifetime[0]
      Application started.

Todo:

[x] Refactor rule name, options, and logger into context parameter instead of passing individual parameters.
[x] Fix dotnet-monitor hang on shutdown when using non-startup triggers.

Future changes for subsequent PRs:

Apply rule filters before starting rules (requires large refactor of IProcessInfo information into IEndpointInfo). This is called out in the CollectionRuleService class.
More functional tests to cover aspects such as action throttling, invalid rules, failing rules/actions, etc.

/azp run dotnet-monitor-ci

Test failures in the build are unrelated to the changes in this PR. The failures are:

Unable to start dotnet-monitor on MacOS: Test Output, existing issue #439
Route /processes/ hangs: Test Output, potential fix (#864) targeting main
Since these are pre-existing issues that are not exacerbated by this change, I will merge the PR without rerunning.


Refactoring global defines

Most of the #define statements are split over several files. This shall be optimized for easier handling.

Fixed with PR #20


Editor shortcuts unable to use alt+shift+any_key combination

Godot version:

3.2.3
OS/device including version:

Win 10
Issue description:

When editing Editor shortcuts it's impossible to create a combination of keys that has alt+shift+any_key you can create ctrl+shift+any_key or ctrl+alt+any_key on the other hand.  Therefore I suspect this is a bug. Editor will only accept alt+shift and won't let you add 3rd key to the mix
Steps to reproduce:
Go to editor, shortcuts and try adding as described above
Minimal reproduction project:

Any project will work including empty one.

Related to https://github.com/godotengine/godot/issues/43117.

I am trying to add a short cut of "alt shift I " to the ui_text_caret_line_end, but it's not working. Although "ctrl alt I" does work while. Are this related?

Alt + Shift keyboard shortcuts likely don't work because it's used to input special characters on Windows ("alt codes"). Alt + Shift on its own is also used to switch keyboard layouts on Windows.


Third level of window hierarchy crashes sway

Sway crashes on my machine when I try to introduce a third level of window hierarchy. The steps I need to reproduce are:

Open a terminal with $mod + d
Open a second terminal
Switch to tabbed mode with $mod + w
Switch back to the first one and hit $mod + b to create the second level.
Open a third terminal
Again, switch back to the first terminal and hit $mod +b or $mod + v to create the third level of hierarchy
Sway crashes

I haven't tested all the edge cases, probably sway crashes for other applications as well (I personally can confirm Geany). Also, I have not tried all possible combinations of vertical and horizontal splitting and/or splitting on the first or second opened application, but I can confirm that the problem is reproducable with the steps outlined above. If you're interested in some specific tests, please let me know.
sway -d &> sway.log

I could reproduce the crash by creating a tabbed layout and then constantly refocusing the first window, creating new containers in horizontal split.
Interesting enough, when I try to get a similar crash with vertical split, sway doesn't crash, but the lower windows are squashed into 0 height. Attached is the relevant log. Notice how a few containers occupy the bottom side of the output, with a height of 0.
sway.log
On another retry of reproducing the bug with horizontal split, I again managed to set visible container's width to 0, and then crash the program.
sway.log


Fix mnp and mnv invs

Add an entry to mapSeenMasternodePing when sending mnp invs in DSEG response,
otherwise we won't be able to send data in ProcessGetData later and thus
peer that asked us won't be able to clear setAskFor. Same issue with mnv in ProcessVerifyReply.

Tested this by connecting to the patched testnet node (via -connect to exclude all other nodes) and setAskFor is (finally) cleared properly now.


vimPlugins: add nvim-ts-rainbow2 and lsp-zero-nvim

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

legendary.nvim is broken by this update, I have submitted a pull request upstream: https://github.com/mrjones2014/legendary.nvim/pull/300, we can either wait for that to be merged and run another update or revert the legendary.nvim update

Removed update commit

please remove the grammar updates too

done

I think you might have accidently rebased one extra commit: https://github.com/NixOS/nixpkgs/pull/209149/commits/118dc43cf59ab4fe465af52cd0c2ba92b284d3cf

I think you might have accidently rebased one extra commit: 118dc43

yep, already on it

fixed

@ofborg eval


Evaluation Issue

Hi,
I have a similar concern with #17 for depth evaluation.
I'm using the pre-trained model for evaluation, which is provided from (2): fm_depth.pth.

And the config file is cfg_kitti_fm.py, where all configurations remain the default.
Then I got the following result:

-> Evaluating
using baseline
Scaling ratios | med: 37.681 | std: 0.061
abs_rel| sq_rel| rmse| rmse_log| a1| a2| a3|
&0.099 &0.694 &4.427 &0.184 &0.890 &0.963 &0.982 \

, which I think matches the result with trained on calibrated binocular videos in the paper.

But I cannot find the one trained on monocular videos only, with the following result mentioned in the paper:

So,

I wonder if you could provide the model pre-trained on monocualr videos only for evaluation?
Just to make sure my implementent is right. Since your depth decoder is different from Monodepth2, so your model outputs disps with resolutions of 1/2, 1/4, 1/8, 1/16, rather than 1, 1/2, 1/4, 1/8 which Monodepth2 does.

Hope to hear back from you.

I'm sorry that I don't save the model weights pre-trained on monocular videos, you might have to train the model.


Add returning a random SSN to USA provider

I removed the geographical area codes because according to this they are no longer relevant. Let me know if you'd like anything changed. Thanks!

Current coverage is 99.13% (diff: 90.90%)

Merging #94 into master will increase coverage by 0.11%

@@             master        #94   diff @@
==========================================
  Files            41         41
  Lines          1734       1741     +7
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1717       1726     +9
+ Misses           17         15     -2
  Partials          0          0

Powered by Codecov. Last update 52bc5c9...e38ee0e

@drpoggi Thanks!


Disable "Try it out" button

How can we disable the "Try It Out" button? I see elsewhere to set the supportedSubmitMethods property but I cannot figure out how to do that in this context. Thank you.

You can implement the custom CSS and JavaScript file to disable it. Can you try this way?

Am I missing the documentation or sample that shows how to do this?

Follow this doc and let us know how it goes: docs/openapi-core.md - UI customisation section


Alternative method for downloading InstructBLIP model parameters when unable to access servers

Hello！
I'm currently using your load_model_and_preprocess() function in my project to download the model parameters of blip2_vicuna_instruct. However, it seems that my server is unable to access your servers for the download.
I want to inquire if there are any alternative APIs or links available for downloading the parameters for the instructblip model. I would greatly appreciate it if you could provide me with any alternative methods or resources for obtaining the model parameters.
Thank you very much for your attention and assistance!

OK, I find the download url in LAVIS/lavis/configs/models/blip2/blip2_instruct_vicuna7b.yaml. It solves my problem.

Did you just download the model from https://storage.googleapis.com/sfr-vision-language-research/LAVIS/models/InstructBLIP/instruct_blip_vicuna7b_trimmed.pth (where the url can be find in LAVIS/lavis/configs/models/blip2/blip2_instruct_vicuna7b.yaml)?
But how did you input the model to load_model_and_preprocess()?
Thanks!

how to load pth file after download file in LAVIS/lavis/configs/models/blip2/blip2_instruct_vicuna7b.yaml   ?


"[Gitalk:http://<IP_ADDRESS>:8000/dev/] Gitalk"

http://<IP_ADDRESS>:8000/dev/
Gitalk description

miao


FileSystemModelSpec should accept model uri with the relative path to the YAML spec

For example, a yaml spec like
# s3://bucket/to/path/spec.yml
version: 1.0
model:
   uri: models/yolov5.pt
...

It should go to s3://bucket/to/path/models/yolov5.pt to find the model weights

Fixed in #220


Please change select to load to display correctly on 4.7" Simulators.

https://github.com/twostraws/CodeScanner/blob/cbe8bf4ddc084c9a23f6d9593a513b9637b24ace/Sources/CodeScanner/CodeScanner.swift#L99

I've replaced it with "Select a custom image" in 2.0.0.


Auto compiling

Could it be possible to intergrate auto compileing, like LESS and SASS has, into this extension aswell? Would be awesome not having to run a seperate program, just to compile my jade

Yes, I'd absolutely love to get a pull request :)

I could try to take a look at it. Just forked the repo

:+1:

+1
any news?

I just submitted pull request^^.

Did anyone finish this?

I made it work. Look at the pull request and you can use it too.

Awesome!


Added Arbitrum mainnet + testnet to NETWORKS

they also have to be added to hardhat-config.js @abrandec


MinMaxMetric not working in Pytorch Lightning

🐛 Bug
When using the MinMaxMetric wrapper in a LightningModule, as shown in Torchmetrics docs, it generates a ValueError: ValueError: The '.compute()' return of the metric logged as 'val/macro_jaccard' must be a tensor. Found {'raw': tensor(0.3260, device='cuda:0'), 'max': tensor(0.3260, device='cuda:0'), 'min': tensor(0.3231, device='cuda:0')}
To Reproduce
Here is a sample code to reproduce the error

Code sample
import torch
import torch.nn.functional as F
import pytorch_lightning as pl
from torchmetrics import JaccardIndex, MetricCollection
from torchmetrics.wrappers import MinMaxMetric

class LitModel(pl.LightningModule):
    def __init__(self):
        super().__init__()
        # Simple model (1 conv layer for demonstration)
        self.model = torch.nn.Conv2d(3, 2, kernel_size=3, padding=1)

        # Define train metrics and wrap them with MinMaxMetric
        self.train_metrics = MetricCollection({
            'weighted_jaccard': MinMaxMetric(JaccardIndex(task='multiclass', num_classes=2, average='weighted')),
            'macro_jaccard': MinMaxMetric(JaccardIndex(task='multiclass', num_classes=2, average='macro'))
        })

        # Clone metrics for validation
        self.val_metrics = self.train_metrics.clone(prefix='val/')

    def forward(self, x):
        return self.model(x)

    def step(self, batch):
        x, y = batch
        logits = self(x)
        loss = F.cross_entropy(logits, y)
        return logits, y, loss

    def training_step(self, batch, batch_idx):
        logits, y, loss = self.step(batch)

        # Log loss
        self.log("train/loss", loss, on_step=True, on_epoch=True)

        # Update and log metrics
        self.train_metrics(logits.argmax(dim=1), y)
        self.log_dict(self.train_metrics, on_step=True, on_epoch=True)

        return loss

    def validation_step(self, batch, batch_idx):
        logits, y, loss = self.step(batch)

        # Log validation loss
        self.log("val/loss", loss, on_step=False, on_epoch=True)

        # Update and log validation metrics
        self.val_metrics(logits.argmax(dim=1), y)
        self.log_dict(self.val_metrics, on_step=False, on_epoch=True)

        return loss

    def configure_optimizers(self):
        return torch.optim.Adam(self.parameters(), lr=1e-3)

# Simulated data for training and validation
def generate_fake_data(image_size=(3, 64, 64), num_classes=2):
    x = torch.randn(*image_size)  # Fake single image input
    y = torch.randint(0, num_classes, (image_size[1], image_size[2]))  # Fake segmentation labels
    return x, y

# Create DataLoaders
train_data = [generate_fake_data() for _ in range(100)]  # 100 batches of training data
val_data = [generate_fake_data() for _ in range(20)]     # 20 batches of validation data

train_loader = torch.utils.data.DataLoader(train_data, batch_size=16)
val_loader = torch.utils.data.DataLoader(val_data, batch_size=16)

# Initialize the model
model = LitModel()

# Initialize a PyTorch Lightning Trainer and fit the model
trainer = pl.Trainer(max_epochs=3, log_every_n_steps=10, devices=[0])
trainer.fit(model, train_dataloaders=train_loader, val_dataloaders=val_loader)

Expected behavior
It should not generate a ValueError and should log 3 metrics: the actual one, the min one, and the max one.
Environment

TorchMetrics version (if build from source, add commit SHA): 1.4.2
Python & PyTorch Version (e.g., 1.0): 3.11.9 & 2.4.0
Any other relevant information such as OS (e.g., Linux): Ubuntu VM

Additional context
If the MinMaxMetric is used outside of a MetricCollection, it generates another error. The error doesn't happen at .compute time but before, when doing .log. Here is the traceback (but maybe I should open a second issue?):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/patron/mambaforge/envs/segmentator/lib/python3.11/site-packages/pytorch_lightning/core/module.py", line 608, in log_dict
    for k, v in dictionary.items(**kwargs):
                ^^^^^^^^^^^^^^^^
  File "/home/patron/mambaforge/envs/segmentator/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1729, in __getattr__
    raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")
AttributeError: 'MinMaxMetric' object has no attribute 'items'

Hi @patrontheo, thanks for creating this issue.
I am going to refer you to this comment I made on a similar issue about logging using MetricCollection + ClasswiseWrapper, instead of MetricCollection + MinMaxMetric. Different wrapper but the issue is the same and the answer is therefore also the same.
In short, this kind of nested metric structure is not something we can support directly but that does not mean that it cannot be logged. It just requires you to log the computed value instead of the metric object. I have created PR #2772 which includes an integration test (for future reference) on how to log MetricCollection + MinMaxMetric in Lightning and I will be adding some more text to the documentation to further explain what to do in this situation

@SkafteNicki Thanks for the answer :)
I just had a quick question here about the implementation in your tests.


Closing this work item as "Won't Fix."


Split horizon

Is there any intention of implementing split horizon feature? If not, what are the reasons?

Probably not: it an feature that is easily abused, and makes debugging much
harder. It is (not always) also a sign that you are abusing the DNS and
there a probably other ways that will work better.
But having a clean implementation in a middle ware might me change my mind
😀
On 13 Sep 2016 5:48 pm, "Nagy Károly Gábriel"<EMAIL_ADDRESS>wrote:

Is there any intention of implementing split horizon feature? If not, what
are the reasons?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/miekg/coredns/issues/255, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVkW32JOfEEJHa8Cx0Vba6wTX7XRjOSks5qptPfgaJpZM4J75aG
.

Nobody is working on this, nor are there plans to do so. Closing for now.


Keep the range of the windmap consistent with the input data's bounds.

Keep the range of the windmap consistent with the input data's bounds. So that we can show the windmap of a local area, such as the windmap of  a state or a province .

this.viewerParameters.lonRange in wind3D.js represents the longitude range that camera can view, it has nothing to do with the wind data bound, that is why I name it viewerParameters.
For example, if the 'viewerParameters.lonRange' is (40.0, 50.0), it means that camera can only see particles with longitude in (40.0, 50.0), particles out of the range are invisible for the camera.
viewerParameters changes whenever user moves the camera so that almost all the particles are laid in visible area.
If you want to show the wind map on specified area, you can try to change the data bound of NetCDF data directly, or you can add extra user input parameters and user it in postProcessingPosition.frag. But anyway, I am afraid your approach is not correct.

OK, I will add extra user input parameters and user it in postProcessingPosition.frag.
I hope there are no problems.


ObserveQuery methods not called if Query is triggered twice

I encountered a particular behaviour, these are the steps to reproduce it:

Trigger the Query with args A, first invocation of the endpoint method
While the Query is still loading, trigger the query with args B, second invocation of the endpoint method
The OnSuccess/OnFailure methods (I haven't tested OnChange) are called only once for the query with args B

This occours also with QueryOptions.OnSuccess/OnFailure but woks fine (i.e. is colled once for each endpoint invocation) with EndpointOptions.OnSuccess/OnFailure.
I haven't tested endpoints with CancellationToken.
If this is the intended behaviour I suggest to specify this in the README

Yes, this is the intended behaviour, but it could probably use some more consideration (and you're right that the docs are lacking). From your question I assume you're using Trigger, which I talk about near the end of this comment.
This prompted me to look into what React Query is currently doing here, and there is some interesting discussion about why they recently removed onSuccess etc. from useQuery entirely. I think a lot of the reasoning would apply to Phetch as well, but:

Phetch doesn't encourage sharing query logic across components like RQ does (with hooks), so a lot of the concerns about callbacks happening once for each mounted component don't apply.
The concerns about using these callbacks for state syncing (e.g. that onSuccess doesn't fire when switching to an already cached query) are still valid. However, Blazor doesn't have a simple alternative to the useEffect solutions suggested in the linked discussions, so providing some fallback solution is much more important here. Something like OnDataChanged might be the best option, but I'll wait to add that until there's a compelling use-case.
It seems pretty clear that these callbacks are still useful for "mutations", and for these we probably want them to fire even on "ignored" calls (that have been superceded by a new arg, like your example). In particular,
I've been considering adding callbacks to the Trigger method for this purpose, but the more I think about it, the more I wonder whether it'd be cleaner for users to just await TriggerAsync() with a try/catch to replace the callbacks. The footgun here is that users have to make sure not to throw the exception back to Blazor.
Some other questions are:

Should the callbacks still fire after the component is unmounted? I currently decided "no", but it'd be nice for users to have the option.
Should the behaviour be the same for <ObserveQuery/>, endpoint.Use(queryOptions), and the normal events on the Query class? I think ideally yes (it is currently), but this makes the above changes more complicated.

Assuming you're using Trigger and you want the callbacks to fire every time, my recommendation for now would be to use await TriggerAsync() like described above. I'll leave this issue open until I've settled on a solution for the other problems, and I'd appreciate any input from you or others about how these things should work.

I found this doing multiple deletes on a table and wanted to show a notification on success or failure, so a data mutation as you said.
I'm ok to use await TriggerAsync(), but I don't like the "remember to catch the exception part", think I will make an extension method of Trigger to pass callbacks, play a bit with it and report feedback here.
I have an important university exame in 2 weeks so this feedback may take some time to arrive.
Code of the extension method (copied your Trigger method to don't have the "not awaited task" warning):
private static async Task TriggerAsync<TArg, TResult>(this IQuery<TArg, TResult> query, TArg arg, Action<TResult> onSuccess, Action<Exception>? onFailure = null)
{
    try
    {
        var result = await query.TriggerAsync(arg);
        onSuccess.Invoke(result);
    }
    catch (Exception ex)
    {
        onFailure?.Invoke(ex);
    }
}

public static void Trigger<TArg, TResult>(this IQuery<TArg, TResult> self, TArg arg, Action<TResult> onSuccess, Action<Exception>? onFailure = null)
{
    _ = self ?? throw new ArgumentNullException(nameof(self));
    _ = self.TriggerAsync(arg, onSuccess, onFailure);
}


Can't build with Rollup due to Circular dependencies

Circular dependencies make building for browser with rollup impossible, you will get the below error in console.
Uncaught TypeError: Cannot read property 'checkForResolveTypeResolver' of undefined

Rollup outputs the following about the circular dependency
Circular dependency: node_modules/graphql-tools/dist/generate/index.js -> node_modules/graphql-tools/dist/generate/addResolveFunctionsToSchema.js -> node_modules/graphql-tools/dist/generate/index.js
Circular dependency: node_modules/graphql-tools/dist/generate/index.js -> node_modules/graphql-tools/dist/generate/addResolveFunctionsToSchema.js -> commonjs-proxy:/Users/Corey/Documents/workspace/mkr/examples/memory/node_modules/graphql-tools/dist/generate/index.js -> node_modules/graphql-tools/dist/generate/index.js
Circular dependency: node_modules/graphql-tools/dist/generate/index.js -> node_modules/graphql-tools/dist/generate/assertResolveFunctionsPresent.js -> node_modules/graphql-tools/dist/generate/index.js
Circular dependency: node_modules/graphql-tools/dist/generate/index.js -> node_modules/graphql-tools/dist/generate/attachConnectorsToContext.js -> node_modules/graphql-tools/dist/generate/index.js
Circular dependency: node_modules/graphql-tools/dist/generate/index.js -> node_modules/graphql-tools/dist/generate/buildSchemaFromTypeDefinitions.js -> node_modules/graphql-tools/dist/generate/index.js
Circular dependency: node_modules/graphql-tools/dist/generate/index.js -> node_modules/graphql-tools/dist/generate/checkForResolveTypeResolver.js -> node_modules/graphql-tools/dist/generate/index.js
Circular dependency: node_modules/graphql-tools/dist/generate/index.js -> node_modules/graphql-tools/dist/generate/concatenateTypeDefs.js -> node_modules/graphql-tools/dist/generate/index.js

I'd accept a PR to fix this, but making this work with Rollup specifically isn't a big priority since this is (1) primarily a server-side library and (2) circular dependencies are explicitly a part of JavaScript so hopefully Rollup can one day support them.

Even better would be an automated test to check for Rollup compatibility, since this is very likely to regress in the future.

circular dependencies are explicitly a part of JavaScript so

I think this is a little too generalized. it depends on the module system (es6, cjs, amd, umd) one is using. I don't know rollup much, and not sure if the above is valid or not, but having circular dependencies sounds like code smell. it might also cause problems when graphql-tools is switching to es6 modules.

The best way to fix this would be to distribute standard modules.
If a CJS build is needed, it could be automated with rollup.
I'd be happy to make a PR for that.

It seems like the only way to get around this atm is to use commonjs instead of imports for anything related to graphql.

Is this project still active?

This is not only about rollup. This is about every module which need call this library immediately, in initialization phase.

Is this project still active & accepting pull requests?

Yes!

Should be fixed by #1320


unit test for ReflectUtils

What is the purpose of the change
#1682: Enhance the test coverage part-4 : dubbo-common/src/main/java/com/alibaba/dubbo/common/status(store|threadpoolutils) modules
Brief changelog
dubbo-common/src/main/java/com/alibaba/dubbo/common/utils/ReflectUtils.java
dubbo-common/src/test/java/com/alibaba/dubbo/common/utils/ReflectUtilsTest.java
Verifying this change
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ] Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #1898 into master will increase coverage by 0.44%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##             master    #1898      +/-   ##
============================================
+ Coverage     48.16%   48.61%   +0.44%
- Complexity     4347     4398      +51
============================================
  Files           558      558
  Lines         24364    24347      -17
  Branches       4323     4315       -8
============================================
+ Hits          11736    11837     +101
+ Misses        10791    10664     -127
- Partials       1837     1846       +9

Impacted Files
Coverage Δ
Complexity Δ

...a/com/alibaba/dubbo/common/utils/ReflectUtils.java
69.89% <66.66%> (+25.18%)
163 <0> (+51)
:arrow_up:

.../dubbo/remoting/transport/netty4/NettyChannel.java
60% <0%> (-5%)
21% <0%> (-1%)

...a/dubbo/remoting/transport/netty4/NettyServer.java
72.13% <0%> (-3.28%)
9% <0%> (-1%)

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 f4974c6...a0cc05e. Read the comment docs.


Usage of Java's LocalTime instead of Kotlinx's

Convert toLocalTime uses Java's LocalTime instead of Kotlinx's.
We should use kotlinx.datetime.LocalTime instead of java.time.LocalTime if we ever want to go multiplatform and just for general consistency.
parse uses even more java.time versions: LocalDate, LocalDateTime, LocalTime,
as well as java.time.format.DateTimeFormatter, but I'm not sure if that can be replaced.

It’s hard for me to say now why java.time is used in parser
I assume that back then kotlinx-datetime was more limited in its capabilities
And so it is necessary to save java.time in the public api, since often use it anyway, but have a similar api for kotlinx-datetime. As for internal things, yea, it would be nice to have kotlinx-datetime


bump_dev decreases the version number

Version.parse('1.2').bump_dev() returns a version equal to Version.parse('1.2.dev0'), but Version.parse('1.2.dev0') < Version.parse('1.2').

The goal of .bump_dev() is not to produce a development version number that is higher than the current one, since it doesn't know whether you want that to be e.g. 1.3.dev0 or 1.2.1.dev0. Depending on your workflow you'll want to combine it with .bump_release():
>>> Version.parse('1.2').bump_release(index=1).bump_dev()
<Version '1.3.dev0'>

If this behaviour seems surprising maybe it's worth a note in the documentation.

I see, thanks for the explanation. The docs are fine, I should have read them more thoroughly. Knowing about bump_release() it now makes more sense.
Nice and useful library by the way. Thanks again.

Thank you!


BUGFIX: Call defineMethods() when un-serailizing an object.

Was looking at __call() in 2.4, not master. This isn't needed.


More Barcode types and nftMarker struct to get NFT data

⚠ All PRs have to be done versus 'dev' branch, so be aware of that, or we'll close your issue ⚠
What kind of change does this PR introduce?

Add more support for Barcode markers 5x5 and 6x6 types and will also let loading important NFT marker informations/data.
Can it be referenced to an Issue? If so what is the issue # ?
see issues https://github.com/AR-js-org/AR.js/issues/37 and #4 and PR https://github.com/AR-js-org/artoolkit5-js/pull/17 and for what concern nftData see old PR https://github.com/AR-js-org/AR.js/pull/114
How can we test it?

In the minimal_ES6.html example change the type to marker 5x5, generate a 5x5 barcode n. 0  with https://au.gmented.com/app/marker/marker.php point your device and a cube will appear.
Test the threejs/nft.html example for the automatic repositioning.
Summary

Does this PR introduce a breaking change?
It shouldn't but i will make some test.
Please TEST your PR before proposing it. Specify here what device you have used for tests, version of OS and version of Browser
For now only tested on a desktop PC running OpenSuse.
Other information

I will add more infos this Pr in the next hours/days, but i think the most feaures are implemented. The new event will not works for the Aframe lib, for now it's better to test only under Threex.


longTap at TextField will crash on iOS14 with channel beta 1.22.0-12.1.pre

Steps to Reproduce

with iOS14 with channel beta 1.22.0-12.1.pre
longTap at TextField
crash everyTime at Debug and Release Mode

Flutter doctor
[✓] Flutter (Channel beta, 1.22.0-12.1.pre, on Mac OS X 10.15.6 19G73, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.49.0)
[✓] Connected device (3 available)

Hi @HHMedic
can you please provide the flutter run -v and flutter run --release -v?
Thanks.

Hi @HHMedic
Just tried in debug and release mode, the app doesn't crash on iOS 14 on Channel beta, 1.22.0-12.1.pre

code sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: TextField(),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel beta, 1.22.0-12.1.pre, on Mac OS X 10.15.6 19G2021, locale en-GB)
    • Flutter version 1.22.0-12.1.pre at /Users/tahatesser/Code/flutter_beta
    • Framework revision 8b3760638a (34 hours ago), 2020-09-15 17:47:13 -0700
    • Engine revision 4654fc6cf6
    • Dart version 2.10.0 (build 2.10.0-110.3.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0, Build version 12A7209
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.14.1

[✓] Connected device (3 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS 14.0
    • Web Server (web)       • web-server                • web-javascript • Flutter Tools
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 85.0.4183.102

• No issues found!

Can you please provide your flutter doctor -v your flutter run --verbose and a complete reproducible minimal code sample
Thank you

Hi @TahaTesser
with flutter run --verbose , when long tap textfield , it crash but nothing output  at console.
Then I create a new flutter project with your code，don't reproduce. 👍
Then

I delete the ios folder.
run "flutter create . " to recreate ios folder
copy the older ios code to the new one.
run in xcode12 again. don't reproduce
but run in terminal with 'flutter run', it reproduce again

now，it reproduce when run with 'flutter run',  but  run with xcode is fine.
The follow screenshot is when crash , but nothing log.

@TahaTesser
when run with xcode12, won't crash.
but the screen will frozen for a while when first focus at textField. and after about 3 seconds, it will return to normal
follow is the log.
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIWindow traitCollection]
PID: 3080, TID: 175923, Thread name: (none), Queue name: com.apple.root.user-initiated-qos, QoS: 25
Backtrace:
4   QMUIKit                             0x000000011171d234 __62+[UIWindow(QMUIUserInterfaceStyleWillChangeNotification) load]_block_invoke_3 + 92
5   UIKitCore                           0x00000001a52aab20 00EA1426-38F7-3FD2-BE01-04EBD44ECA35 + 8698656
6   UIKitCore                           0x00000001a52aae5c 00EA1426-38F7-3FD2-BE01-04EBD44ECA35 + 8699484
7   UIKitCore                           0x00000001a5274488 00EA1426-38F7-3FD2-BE01-04EBD44ECA35 + 8475784
8   libdispatch.dylib                   0x0000000112627db8 _dispatch_call_block_and_release + 24
9   libdispatch.dylib                   0x00000001126295fc _dispatch_client_callout + 16
10  libdispatch.dylib                   0x000000011263b2bc _dispatch_root_queue_drain + 788
11  libdispatch.dylib                   0x000000011263ba48 _dispatch_worker_thread2 + 152
12  libsystem_pthread.dylib             0x00000001e8624568 _pthread_wqthread + 212
13  libsystem_pthread.dylib             0x00000001e8627874 start_wqthread + 8
2020-09-18 16:29:40.782564+0800 xxx[3080:175923] [reports] Main Thread Checker: UI API called on a background thread: -[UIWindow traitCollection]
PID: 3080, TID: 175923, Thread name: (none), Queue name: com.apple.root.user-initiated-qos, QoS: 25
Backtrace:
4   QMUIKit                             0x000000011171d234 __62+[UIWindow(QMUIUserInterfaceStyleWillChangeNotification) load]_block_invoke_3 + 92
5   UIKitCore                           0x00000001a52aab20 00EA1426-38F7-3FD2-BE01-04EBD44ECA35 + 8698656
6   UIKitCore                           0x00000001a52aae5c 00EA1426-38F7-3FD2-BE01-04EBD44ECA35 + 8699484
7   UIKitCore                           0x00000001a5274488 00EA1426-38F7-3FD2-BE01-04EBD44ECA35 + 8475784
8   libdispatch.dylib                   0x0000000112627db8 _dispatch_call_block_and_release + 24
9   libdispatch.dylib                   0x00000001126295fc _dispatch_client_callout + 16
10  libdispatch.dylib                   0x000000011263b2bc _dispatch_root_queue_drain + 788
11  libdispatch.dylib                   0x000000011263ba48 _dispatch_worker_thread2 + 152
12  libsystem_pthread.dylib             0x00000001e8624568 _pthread_wqthread + 212
13  libsystem_pthread.dylib             0x00000001e8627874 start_wqthread + 8

@TahaTesser
when run with xcode12, won't crash.
but the screen will frozen for a while when first focus at textField. and after about 3 seconds, it will return to normal
follow is the log.
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIWindow traitCollection]
PID: 3080, TID: 175923, Thread name: (none), Queue name: com.apple.root.user-initiated-qos, QoS: 25
Backtrace:
4 QMUIKit 0x000000011171d234 __62+[UIWindow(QMUIUserInterfaceStyleWillChangeNotification) load]_block_invoke_3 + 92
5 UIKitCore 0x00000001a52aab20 00EA1426-38F7-3FD2-BE01-04EBD44ECA35 + 8698656
6 UIKitCore 0x00000001a52aae5c 00EA1426-38F7-3FD2-BE01-04EBD44ECA35 + 8699484
7 UIKitCore 0x00000001a5274488 00EA1426-38F7-3FD2-BE01-04EBD44ECA35 + 8475784
8 libdispatch.dylib 0x0000000112627db8 _dispatch_call_block_and_release + 24
9 libdispatch.dylib 0x00000001126295fc _dispatch_client_callout + 16
10 libdispatch.dylib 0x000000011263b2bc _dispatch_root_queue_drain + 788
11 libdispatch.dylib 0x000000011263ba48 _dispatch_worker_thread2 + 152
12 libsystem_pthread.dylib 0x00000001e8624568 _pthread_wqthread + 212
13 libsystem_pthread.dylib 0x00000001e8627874 start_wqthread + 8
2020-09-18 16:29:40.782564+0800 xxx[3080:175923] [reports] Main Thread Checker: UI API called on a background thread: -[UIWindow traitCollection]
PID: 3080, TID: 175923, Thread name: (none), Queue name: com.apple.root.user-initiated-qos, QoS: 25
Backtrace:
4 QMUIKit 0x000000011171d234 __62+[UIWindow(QMUIUserInterfaceStyleWillChangeNotification) load]_block_invoke_3 + 92
5 UIKitCore 0x00000001a52aab20 00EA1426-38F7-3FD2-BE01-04EBD44ECA35 + 8698656
6 UIKitCore 0x00000001a52aae5c 00EA1426-38F7-3FD2-BE01-04EBD44ECA35 + 8699484
7 UIKitCore 0x00000001a5274488 00EA1426-38F7-3FD2-BE01-04EBD44ECA35 + 8475784
8 libdispatch.dylib 0x0000000112627db8 _dispatch_call_block_and_release + 24
9 libdispatch.dylib 0x00000001126295fc _dispatch_client_callout + 16
10 libdispatch.dylib 0x000000011263b2bc _dispatch_root_queue_drain + 788
11 libdispatch.dylib 0x000000011263ba48 _dispatch_worker_thread2 + 152
12 libsystem_pthread.dylib 0x00000001e8624568 _pthread_wqthread + 212
13 libsystem_pthread.dylib 0x00000001e8627874 start_wqthread + 8
=================================================================

Hi @HHMedic
Not sure what do you mean by  step 3. copy the older ios code to the new one., TextField doesn't require any iOS code
Can you  flutter run --verbose and a complete reproducible minimal code sample in a repository
Thank you

I had the same problem。 longpress will  crash  on iOS14

I confirm, this issue happens on stable channel and iOS 14

Also having this issue on master channel web app with ios 14 and
Text-fileds

hi @HHMedic
Can you please provide your flutter doctor -v your flutter run --verbose in a text filed and attach in the comments and a complete reproducible minimal code sample
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

@TahaTesser  Hi, I has the bug with the same behaviour: long tap on the Textfield, the screen has been blur, it not show clipboard tool as normal
The bug happen on all text field widget: TextField, TextFormField, CupertinoTextField on iOS 14 devices, I has record the video produce the bug:
*My envirotment :

Flutter 1.22.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9b2d32b605 (8 weeks ago) • 2021-01-22 14:36:39 -0800
Engine • revision 2f0af37152
Tools • Dart 2.10.5
Build as release mode

*Video: The left phone run iOS 13 (working normally), the right phone run iOS 14 (has bug).
https://www.youtube.com/watch?v=yJjK5GGeWNo


Advent of Code 2020

Relevant Issues

Closes #522
Description

This makes difference between should this use staff leaderboard data or combined public data based on channels. When this is refreshing leaderboards, this is overwriting all current local data, because it is hard to keep track what is already cache. This sends different join codes for staff and normal users. Users will not notice big changes from last year, as UI is same. This links users with 1 leaderboard.
Additional Details

This issue MUST be merged before start of December!
Following new environment variables/changes must be set/changes made:

When we know exactly all leaderboards IDs, add them to config.
AOC_PUBLIC_JOIN_CODES -  comma separated join codes for public leaderboards, have to be in same order than point 1.
AOC_STAFF_JOIN_CODE - staff leaderboard join code.
AOC_PUBLIC_SESSION_COOKIES - comma separated session cookies for public leaderboards, have to be in same order than point 1.
AOC_STAFF_SESSION_COOKIE - staff leaderboard cookie.

Did you:

[x] Join the Python Discord Community?
[x] If dependencies have been added or updated, run pipenv lock?
[x] Lint your code (pipenv run lint)?
[x] Set the PR to allow edits from contributors?

Some of the specifications of what we want have changed. I'm working on an updated version.

This PR is ready for review again.


HTML

#HTML
User Story
As a bootcamp student
I want the rework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

CSS
As a boot camp student
I want the rework notes to be strutted on a webpage
So that I can easily find and read the information
GIVEN a Rework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

CSS
As a boot camp student
I want the rework notes to be strutted on a webpage
So that I can easily find and read the information
GIVEN a Rework Study Guide website
WHEN I view the study guide
THEN I can see the four topics I learned listed along with suggestion on what I should study first

Deployment
As a boot camp student
I want the rework notes to be strutted on a webpage
So that I can easily find and read the information
GIVEN a Rework Study Guide website
WHEN I view the study guide
THEN I can access my website from any browser


experimental multilingual support

Let's speak in multiple languages.
:smeiley:

Need to add splash page, rename to /blog

Need to add splash page, rename to /blog


fix: Resolve hostname with IPv4 first

Hey, I just made a Pull Request!
The gist of it is, there was a breaking change in NodeJS 17.x that changed the default DNS IP resolving behavior to IPv6, to fix it we need to tell the Node DNS to resolve to IPv4 first.
Fixes #19931
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Ping avoid stale.

Ping no stale.

@luchillo17 Getting back to this now. So, this PR really doesn't help anyone right, besides those who happen to contribute to the main Backstage repo and happen to have an org for whose dev machines this change is good rather than bad.
 I'm not sure that adding this in the create-app template for example will be safe, since messing with the resolution order probably has unintended consequences sometimes. What do you think? Happy for input on this

@freben It does help people, people who use Node 18.x (maybe even higher versions, haven't tested with other versions, current LTS is 20.10.x) that contribute to backstage are likely to run into this, I know I did...

@Rugvip Let's continue the thread of the review here, basically based on the conversation on #19931 and this PR, from Node 17.x up the default DNS resolve order was changed to IPv6 first, which doesn't like the localhost host, the NodeJS thread I found this information offered 2 solutions:

We change localhost for <IP_ADDRESS> loopback address, which I was told would break some currently supported dev environments like WSL2 and VMS.
We purposely tell NodeJS to revert back to old behavior to resolve DNS by IPv4 first, which is the main change of this PR.

@luchillo17 can we do a lookup upfront and substitute localhost for whichever of <IP_ADDRESS> and ::1 that we can successfully connect to? I'm assuming still that this is something people will run into if they try to use the kubernetes plugin in dev?

Dunno, and at the moment I can't sign my commits, as of today I don't work for VMware anymore 🥲


Upgrade to grahql-java 15.0

graphql-spqr is not yet compatible with latest graphql-java 15.0.
java.lang.NoSuchMethodError: graphql/schema/GraphQLType.getName()Ljava/lang/String;
        at io.leangen.graphql.generator.TypeCache.<init>(TypeCache.java:19)

Same problem with graphql-java 14.0, getName doesn't exist anymore.
Somebody know when 0.12 (compatible with 14.0 and maybe so on) will released ?

@cblanche34 if you really need to use 14 jitpack works with it. The patch is in the source already. No work has been done for 15 so not sure.

This also blocks using apollo federation with SPQR because we need to upgrade to graphql-java version 15 in order to exclude directives from being exported in schema. references https://github.com/leangen/graphql-spqr/issues/290

@kaqqao any update on releasing 0.10.2-SNAPSHOT version as release?

I also just ran into this issue. The GraphQL-Java Spring Boot MVC Starter supports either 12 or 15. Makes it rather interesting.

Same problem here. cannot use latest version of micronaut and  micronaut-graphql because this issue.

Also ran into this issue. https://github.com/graphql-java/graphql-java-spring webflux version 2.0 also requires GraphQL 15.

Same problem using micronaut 2.0+ which has graphql as transitive dependency.

SPQR v0.11.0 shipped with graphql-java v16.1.
Major graphql-java releases are not backwards compatible, so never assume you can change the version that SPQR is using, even if it compiles successfully.

SPQR v0.11.0 shipped with graphql-java v16.1.
Major graphql-java releases are not backwards compatible, so never assume you can change the version that SPQR is using, even if it compiles successfully.


OLS-1090 - Adding operator e2e tests pipeline

Description

Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

/lgtm

/override "Red Hat Konflux / ols-enterprise-contract / bundle"
/override "Red Hat Konflux / ols-enterprise-contract / test-bundle"
/override "Red Hat Konflux / ols-ui-tests-416 / test-bundle"


This application's bundle identifier does not match its code signing identifier

Summary
Getting "This application's bundle identifier does not match its code signing identifier
" error while running the application. Installed the framework using carthage.
Steps to Reproduce
Install framework using Carthage and build the application

How did you add the framework?
What ZIPFoundation/Carhage/Xcode versions are you using?
Did you manually drag ZIPFoundation.framework to the "Embedded Binaries" section of your main app's target settings?
Maybe this helps: https://stackoverflow.com/a/34652134/100848
Another thing you could try is to integrate the framework via cartage update --no-build and manually add the ZIPFoundation.xcodeproj to your workspace.


Bug: npm install fails, node-sass unable to find python, Apple M1

Steps to reproduce the problem
On M1 Macbook Pro (2021), proceed through "Getting Started" on platypus README file. After completing pre-requisites steps, run npm install in platypus.
The install fails with error: python: No such file or directory.
What is the current behavior?
A long error message upon execution, with install unsuccessful. Seems to be a device-specific problem, particularly to new Apple M1 laptops.
3246 error 2 warnings generated.
3246 error env: python: No such file or directory
3246 error make: *** [Release/sass.a] Error 127
3246 error gyp ERR! build error
3246 error gyp ERR! stack Error: `make` failed with exit code: 2
3246 error gyp ERR! stack     at ChildProcess.onExit (/<...>/platypus/node_modules/node-gyp/lib/build.js:194:23)
3246 error gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
3246 error gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
3246 error gyp ERR! System Darwin 21.6.0
3246 error gyp ERR! command "/usr/local/bin/node" "/<...>/platypus/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
3246 error gyp ERR! cwd /<...>/platypus/node_modules/node-sass
3246 error gyp ERR! node -v v16.18.0
3246 error gyp ERR! node-gyp -v v7.1.2
3246 error gyp ERR! not ok
3246 error Build failed with error code: 1
3247 verbose exit 1
3248 timing npm Completed in 171232ms

What is the expected behavior?
Successful execution of npm install while in platypus directory.
Screenshots
No response
Device
MacBook Pro, 2021, M1 Max chip
OS
macOS Monterey
Browser
No response
Additional information
https://github.com/sass/node-sass/issues/3033 (Shows similar issue for M1 devices and sass execution)
The problem is fixed by manually removing "node-sass": "^6.0.0" line from package.json file in platypus directory, then executing the following.
rm -rf node_modules

npm install

npm install --save-dev node-sass@npm:sass

This repository is no longer maintained. It has been superseded by IBM Quantum Learning.


feat: updates react native docs

Description

feat: updates react native docs
feat: updates collect and reveal guides

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[x] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

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


Multiple Modbus RTU Slaves using the same port pon Raspberry Pi

Hi, I'm working on a IIOT demostration module and using a Raspberry Pi 3+ for running Node-Red, I already communicated with a CFW500 Drive using a USB-RS485 converter and the modbus nodes (everything using Modbus RTU BUFFERED). But now I'm trying to communicate with a M2M Analyzer (with modbus) using the same USB port (and the same converter) connecting the 2 cables from M2M in parallel with the cables from the CFW500 and it's not working.
I already configured the 2 clients (CFW500 and M2M) with their respective Modbus ID (CFW500: 3, M2M: 2).
I have proved the connection separately with both devices and I'm sure the wiring is correct because I can read the registers but when I use the modbus nodes with both Clients configured
in the same port (/dev/ttyUSB0) one of them just doesn't connect.
I think it's because the nodes can't access to the same usb port so I need some guidelines to make it work. Thanks
Support/Advice
Support for connecting multiple slaves with RTU.
Problem
Can't work with multiple modbus slaves connected to the same modbus rtu network.
Your Environment
Running on Raspberry Pi3+
Node.js version 10.16.0
Node Red version 0.20.5

maybe an issue #125 duplicate

The port should only be used once (1 client connector) because it is serial and then it should work over the UnitID via Modbus if they have different (i read 2, 3 here)


When Glonass svid defaults to FCN instead of OSN the program halts

Hello, I am converting android GNSS raw logs to RINEX for RTK postprocessing.
The problem is when the program finds a svid > 50, in the Glonass defaulting to FCN case, it says it skips that satellite but really what happens is that the program halts and doesn't output any RINEX at all instead of resuming its course until outputting the RINEX file.
The answer might be in some of the command gnsslogger_to_rnx options but there is no documentation about  those options.
Any help appreciated thanks.

Hi, @anumerico , can you share a sample file we could try?
In the meantime, you could try our online service (https://jason.rokubun.cat) to convert the data to RINEX or even process it with PPK. You just need to register.
Best
Miquel

Yes, that file for example.
I want to use the tool as part of a pipeline.
At the moment im looking at the filter-mode to see if i can filter out those "bad" svids.
Btw thanks Miquel.
gnss_log_2020_04_25_20_24_34.txt

Are you doing any preprocessing of the raw file in your servers before feeding it to gnsslogger_to_rnx ?

No, we just feed that file in our converter as-is to generate the Rinex. Are you asking for any particular reason?

Right now I'm thinking of 3 options:
a)Preprocess the file.
b)Find the right flag on the command line tool to filter those "bad" svids.
c)Find the bug in the software that makes the program halt.

Ah ok, we need to add a patch to the tool (which we will try to do in the following days). The converter tool used in the online service uses a different package (which is written in C), hence the difference. Ideally we'd like to use the same libraries but then we would need to add a dependency to the package, which we are a little reluctant to do...

Thanks, that would be really helpful. :)

Ok. So far i have managed to postprocess my gnsslogger file with the RINEX produced by your servers and comparing it to a reference geodesic vertex where the logs where taken the precision is good enough.. Now I'd like to do it producing the rinex file with the android_rinex tool, so far looking at awk, at the filter option (Could you explain a bit what is the sync filter option for?) and/or modfiying a bit your code..

That fork solves the issue:
https://github.com/dmiralles2009/android-rinex
Thanks.

I also encounter this question although I use the example data.

Hi,
This issue has been fixed in commit e3051892a3902ad9e7753cd679dad986ce1e081f
Thank for using the tool

I solved it using the @dmiralles2009 branch, got to say that @alexlopezc is a nice and elegant solution for that issue, also and what's weirding me out is that now commit https://github.com/rokubun/android_rinex/tree/cf7d9ce25833a1b51c9eb65d54c537a3fdb88f1c is working with the same test example i uploaded, so must have been something on the ubuntu 20.04 side and its libraries.
Also wondering, why are last @dmiralles2009 changes not being commited to the main branch?


Error when trying to get capabilities

Hello,
I've been trying to use your crate unsuccessfully. When trying to get the capabilities of my screen, I get this error :
The unwrap returns thread 'main' panicked at 'called Result::unwrap() on an Err value: Failed to read capabilities string
And the detail is : An error occurred while transmitting data to the device on the I2C bus. (os error -1071241854)'
I'm on Windows, and I don't understand why it's having an error about I2C, while it's supposed to be using winapi to communicate with the screen (and the display.info.backend value indeed is"winapi").

I also have this problem, For the i2C error it was from the NVIDIA-API side for me but it's not problematic in my context.
The thing I don't understand is that display.update_capabilities() is never used in ddcset-rs except for winapi but it's implemented in all ddc api. Every time I use this function I get an error saying Failed to read capabilities string.
So my final question, is why and how we should use the update_capabilities method ?


Question: Accessing form data outside of form?

Hi,
Is there a way to access the form data outside of the form?
The docs mention using an external state manager, this project is using redux, but I'd like to keep this form data in the component, not in redux.
So far I've set something up that looks like this:

saveFormState = (data) => {
  this.setState({formData: data})
}

render() {
return(
  <Form
    saveState={data => this.saveFormState(data)}
    onSubmit={values => console.log(values)}
  >
  {({onSubmit}) => {
    <form onSubmit={submitForm}>
      {//form elements dynamically generated from api}
    </form>
  }}
)
}

I'm not sure if there's a better way to do this.
Thanks.

@GoldenRust you may set ref on the form, and access it's state object. that allows you to access everything

@thg303 is right. Closing for now.


[UX]: Designs for model registration workflow

WHAT

Create UX mockups for model registration workflow.
HOW

Explore design options and create UX mockups for them.
Review the designs with stakeholders including the UX team and CCS.

DONE

Design artifact that includes information about design iterations, feedback, final or latest designs, etc.
UX team, content, and stakeholder review and acceptance.

Guidelines
The following steps should be adhered to:

The final, proposed design ideas must align with PatternFly design components.
When sharing final design details, include links to PF components used in designs, and describe component behavior in the context of the use case. Also, include the final microcopy if needed.

Final mockup 1: https://docs.google.com/document/d/1fouVoKhfg-LhHy7Vdigsqm8_HjARfatkIMU8GxIXXtQ/edit#bookmark=id.xqvg9wm1s10k

Copied to issue: https://issues.redhat.com/browse/RHOAIUX-14


Flash of protected routes before redirect in beforeLoad

Describe the bug
Im attempting to protect all my routes except for the login page, but I seem to be getting a flash of the protected routes before it redirects to the login page.
In the docs it states

If you throw an error in beforeLoad, none of its children will attempt to load.

Does that also apply to throw redirect ? or am I missing something with my setup.
Your Example Website or App
https://stackblitz.com/edit/github-v3z5us?file=src%2Fmain.tsx
Steps to Reproduce the Bug or Issue
On first load of the repo you will see a flash of the protected components.
Clicking the link to / will also show a flash.
Expected behavior
All protected/child routes shouldnt load when beforeLoad throws a redirect
Screenshots or Videos
No response
Platform

OS: Linux
Browser: Chrome
Version: 119.0.6045.105

Additional context
No response

I'm experiencing this issue too. Queries in protected pages start to be executed too. Doesn't look good as the recommended way to do authentication is via this method. Worth nothing that this doesn't happen in development for me, only in production.

Having the same problem. It's a blocker for me due to the end users experience.

This seems to have been fixed. https://stackblitz.com/edit/github-v3z5us-s6atqh?file=package.json,src%2Fmain.tsx

It's still happening for me

@alexcloudstar please open a new issue and please provide a minimal complete example by forking one of the examples on stackblitz.


zerotierone: 1.14.0 -> 1.14.0-unstable-2024-07-31 (fix build against rust 1.80)

Description of changes
related to #332957
depends on #300532

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

https://github.com/NixOS/nixpkgs/pull/335676 is an alternative without having to touch the importCargoLock and eat the world rebuiild, probably a good intermediate solution until then.

@Mic92 can you rebase this PR?

I believe this is obsolete.


Remove use of custom protobuf.bzl

At the next protobuf release (post 3.2.0), where we gain the benefit of https://github.com/google/protobuf/pull/2508, we no longer need to rely on https://github.com/htuch/protobuf.git and the protobuf_bzl repository in bazel/repositories.bzl to be able to use arbitrary CC/CXX/LD_LIBRARY_FLAGS. We should remove this adhoc import of protobuf at this time.

Fixed in #1311.


Can't really make it work with ESLint

First of all, thanks for the massive efforts around reviewdog. It's in plain sight the amount of work you poured in for everybody to enjoy.
I have been trying to set reviewdog in my CI on Github Actions and I only managed to get reports in the PR like this:

But never to get code comments/suggestions.
This is my current action file:
name: reviewdog
on: [pull_request]
jobs:
  eslint:
    runs-on: ubuntu-latest

    name: runner / eslint

    steps:
      - uses: actions/checkout@v2
        with:
          submodules: recursive
          token: ${{ secrets.CI_ACCESS_TOKEN }}

      - uses: reviewdog/action-setup@v1
        with:
          reviewdog_version: latest

      - uses: reviewdog/action-eslint@v1
        env:
          REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          reporter: github-pr-review
          level: error
          filter_mode: added

      - uses: reviewdog/action-suggester@v1
        with:
          tool_name: eslint

Is there anything I'm missing?
In my understanding the reviewdog/action-eslint@v1 action will output the result and the reviewdog/action-suggester@v1 will print it as comments/suggestions. But really can't manage to make this work 🤷🏻♂
Thank you so much for any help.

It's pretty unclear how we're to use reviewdog effectively.
from my mere mortal peasant point of view, it looks like  :
 - run: `eslint --fix`
 - uses: reviewdog/action-suggester@v1
        with:
          tool_name: eslint

I say this because it says in the README.md :

...which suggests any code changes based on diff ...

The image look like Annotation, not a review comment.
reviewdog uses Annotation if the GitHub token has no permission for writing you pull request.
(e.g. pull request from forked repository)
https://github.com/reviewdog/reviewdog/blob/f297ab3e3857d7b5639b65824b9c6d646b3c120a/cienv/github_actions.go#L110-L120
ref. https://github.com/reviewdog/reviewdog/issues/1210


[CentOS 7.9] can't run yt-dlp_linux

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.07.18 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
hello,
i download yt-dlp from "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux" to server in CentOS 7.9 x64 and failed to run. i still can run normal version "yt-dlp 	Platform-independent zipimport binary. Needs Python (recommended for Linux/BSD)"
Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
[root@centos-16gb-fsn1-3 ~]# ./yt-dlp -Uv
[debug] Command-line config: ['-Uv']
DeprecationWarning: Support for Python version 3.6 has been deprecated. See  https://github.com/yt-dlp/yt-dlp/issues/3764  for more details.
                    You will no longer receive updates on this version! Please update to Python 3.7 or above
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out UTF-8, error UTF-8, screen UTF-8
[debug] yt-dlp version 2022.07.18 [135f05e] (zip)
[debug] Python 3.6.8 (CPython 64bit) - Linux-3.10.0-1160.42.2.el7.x86_64-x86_64-with-centos-7.9.2009-Core (glibc 2.3.4)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: avconv -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] Checking exe version: avprobe -bsfs
[debug] exe versions: none
[debug] Optional libraries: sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.07.18, Current version: 2022.07.18
yt-dlp is up to date (2022.07.18)

[root@centos-16gb-fsn1-3 ~]# ./yt-dlp_linux
[32643] Error loading Python lib '/tmp/_MEI20JUOj/libpython3.10.so.1.0': dlopen: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /tmp/_MEI20JUOj/libpython3.10.so.1.0)

See pinned issue

Actually, PRs to "fix" this is welcome. See https://github.com/yt-dlp/yt-dlp/issues/3764#issuecomment-1166499925. So I'll keep the issue open

@pukkandan so, the CentOS 7 can only run the yt-dlp in version python 3.6, right?

ModuleNotFoundError: No module named '_ssl'

The python seems to be built without the ssl module which yt-dlp needs

@jazz1611 https://stackoverflow.com/questions/5128845/importerror-no-module-named-ssl might be helpful, although I haven't tested any of it's solutions

OP should be fixed by https://github.com/yt-dlp/yt-dlp/pull/5423


[IOS] Subscribing promoted/introductory subscription

Version of react-native-iap :
4.5.2
Version of react-native :
ejected expo SDK38 0.62.2
Platforms you faced the error :
IOS only
Expected behavior
As already mentioned by closed issue #978 , it is not clearly stated if it is possible or not and how one can activate promoted subscriptions offer (not product, but subscription based offer).
Reference : https://developer.apple.com/app-store/subscriptions/#offer-types
_Note for Android : even if the topic is iOS here, for Android, it's easy to setup on Play Store an intro offer (free trial period), it is well activated with iap without any additional configuration. 👍 _
Actual behavior
When I list subscriptions, I have in the record a discounts entry including an offer that matches the one I've setup in AppStoreConnect : here an annual subscription with 1 month of trial
[ {
    productId: 'com.XXX.sdk38.annual',
    subscriptionPeriodUnitIOS: 'YEAR',
    description: 'Activate Premium features on XXX',
    introductoryPrice: '',
    title: 'Annual',
    introductoryPriceSubscriptionPeriodIOS: '',
    introductoryPriceNumberOfPeriodsIOS: '',
    discounts:
     [ { localizedPrice: '€0,00',
         numberOfPeriods: '1',
         type: 'SUBSCRIPTION',
         identifier: 'com.XXX.sdk38.tryannual',
         paymentMode: 'FREETRIAL',
         price: '0',
         subscriptionPeriod: 'MONTH' } ],
    type: 'Do not use this. It returned sub only before',
    localizedPrice: '€54,99',
    introductoryPricePaymentModeIOS: '',
    price: '54.99',
    currency: 'EUR',
    subscriptionPeriodNumberIOS: '1'
 }

If I try to activate the subscription with "com.XXX.sdk38.tryannual", it tells me that productID does not exists.
If I activate with "com.XXX.sdk38.annual", it buys the subscription but without the trial period.
If I setup an introductory offer and activate with "com.XXX.sdk38.annual", it buys the subscription with the trial period.
Tested environment :
Real device iPhone 6S 13.x, sandbox account
Steps to reproduce the behavior
Ouch ! Maybe it just need a documentation update or clarification ;)

Was wondering the same thing, I have 2 renewable subscriptions with introductory offer and discount (launch discount + free trial).
I noticed there is a method available to purchase with offers:
export declare const requestPurchaseWithOfferIOS: (sku: string, forUser: string, withOffer: Apple.PaymentDiscount) => Promise<void>;
But withOffer requires some kind of signing:
 * @param {Apple.PaymentDiscount} withOffer The offer information
 * @param {string} withOffer.identifier The offer identifier
 * @param {string} withOffer.keyIdentifier Key identifier that it uses to generate the signature
 * @param {string} withOffer.nonce An UUID returned from the server
 * @param {string} withOffer.signature The actual signature returned from the server
 * @param {number} withOffer.timestamp The timestamp of the signature

I was having the same issue and for the "withOffer" object you need to get your signed from your backend.
first, you need to follow this steps to get your key and  privatekey
https://help.apple.com/app-store-connect/#/dev689c93225
and when you get this values, you need to follow this tutorial, is an example with nodejs at the backend
https://developer.apple.com/documentation/storekit/in-app_purchase/subscriptions_and_offers/generating_a_subscription_offer_signature_on_the_server
cheers.


IdP doc updates

http://<IP_ADDRESS>:8000/identity-and-access-management/guides/identity-federation/claims-idp/
Update the advanced claim mappings - scenario 2 - not clear
Alias - not clear

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


[OSCI] Add new author brianzheng

Description
Added brianzheng.markdown
Issues Resolved
N/A
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

Just did! Ty!


Chrome re-opens with window slightly higher than zone boundary

Microsoft PowerToys version
0.58.0  (continues to be issue with 0.59.0)
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
Open Chrome.  Place into zone.  Close and reopen Chrome.
✔ Expected Behavior
Chrome snapped to zone when reopened.
❌ Actual Behavior
Chrome opens roughly in the zone but it's slightly higher out of the actual zone boundary.  Pic included showing before and after.  Notice the upper left corner of the Chrome window.  Note:  The bottom corner is offset as well.  It's as if there's a pixel shift occurring.
If I close/reopen Powertoys, then rezone Chrome, it will then proceed to launch into the zone correctly, however after restarting the PC the issue returns.
Interesting note:  After the restart, Chrome starts in this offset location before FancyZones even seems to load fully (the zones do not show when holding shift while dragging).  But once it does load, if I rezone Chrome, closing and reopening will result in same offset behavior.

Other Software
No response

Debug created immediately after reproducing the issue.  Attached.
PowerToysReport_2022-06-06-14-23-30.zip
.

Update.  I've seen other applications reportedly doing the same and some have noted that if Powertoys is closed and reopened, the issue is fixed, at least temporarily until restart.
I have verified that if I close/reopen Powertoys, it does correct the issue, but I have yet to restart to validate that second piece.  Will update.

Updated to note that 0.59.0 continues to present this issue.

After some more testing, it appears this is a multi issue (one not even fancy zone related).  If I disable fancy zones entirely and move my Chrome window somewhere, then close it, when I reopen it, it opens where it last closed.  However, if I put it in the location I really want (where the zone would be), which is near the middle of my screen with the bottom of the window docked against the taskbar, then close it and reopen, it does not open in that same location.  It instead opens the same amount of pixels shifted upwards.
With that said, it appears the window repositioning is an issue with either Chrome or Windows itself.
With that said, it seems the issue with Fancy Zones, is it will not automatically re-snap Chrome back to its place.

OK.  Now I feel embarrassed.  I just realized that I did not have the option to move newly created windows back to last known zone.  I know I had this enabled when I first submitted this, but not on the new pc I guess.
Please close this for now.