macOS: voiceover does not read ARIA alert anymore

Environment Details:
Application Name: Azure Data Studio
Application Version: 1.9.0 (user setup)
Commit: 78a42e1
Electron: 3.1.8
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.18362
Additional Details:
MAC 10.14.6
MAS 1.3.1
Tools : Voice over
Voiceover doesn't read toast details when popped up.  Possibly upstream to Electron?

Please file issue against SQL extension.

The toast is being produced by our (Azure Data Studio) call to vscode.window.showWarningMessage(), this should point you in the right direction.

Assigning first to @bpasero since he owns the notifications
Though it makes sense to me that the Notification is read out as an "alert" since it is exactly that at the end of the day.

Sounds upstream to me, notification toasts have been calling into aria.alert() since day 1.
@isidorn is there a known issue already that macOS voice over does not read out our aria.alert()?

@bpasero no, there is no known issue. What might be happening here is that the alert gets read out quickly and then something else gets read out becuase the focus automatically moves?
Try doing the alert with some timeout just as an experiment to test my theory.

From the screenshot it looks like that there is a WebView involved...

This is broken for me everywhere, unrelated to notifications, e.g. also explorer:

This works fine for me with latest out of source. Maybe the latest electron fixed it, thus closing.
@Benjin if you still see this with latest vscode insiders let us know and we can reopen


Cannot upgrade to 2.x

I've read the breaking changes a few times, did have to make a few adaptions, but still couldn't get anywhere. I've simplified my code down to the following (a helper in the form of a Hapi plugin that returns "my logger" which gets used throughout my app). If I JUST npm install<EMAIL_ADDRESS>and test again, all is well. With any version of 2 I've tried (4 so far), my tests fail without error so it seems something is hanging up, but I rely on Winston heavily for error reporting so I've got an issue troubleshooting when it is the issue. Any reason you'd think the following code shouldn't work in 2.x?
module.exports = function(server, options) {
	var	helpers = {
		getLogger: function() {
			var winston = require('winston'),
				logger = new(winston.Logger)({ //Winston setup
					transports: [
	            		new(winston.transports.Console)()
		        	]
				});
				return logger;
			},
		}
	return helpers;
}

This code definitely works in<EMAIL_ADDRESS>the same as<EMAIL_ADDRESS>Can you share your test code that is failing?

Well, it definitely doesn't. As I said, I install 2.x and my app fails (without logging because Winston isn't loading), but doing nothing but switching to 1.x fixes it. It's really that simple. I thought I made that pretty clear and I wish I could provide more info, but since my logging is completely dependent on Winston (which isn't loading). I can't troubleshoot further in context.
I guess closing this (and ignoring) makes sense at this point, but I will update if I ever discover the issue or get more clues.

This code works for me in<EMAIL_ADDRESS>and in<EMAIL_ADDRESS>

This code absolutely works. My test harness is:
index.js
// your code verbatim is in helpers.js
var helpers = require('./helpers.js')();
var logger = helpers.getLogger();
logger.info('hi');

Usage is as follows:
npm install<EMAIL_ADDRESS>node index.js
info: hi

npm install<EMAIL_ADDRESS>node index.js
info: hi


Allow subpath on GET for GetterWithOptions

Allows REST consumers to build paths like:
/api/v1beta3/namespaces/foo/webhookresource/<name>/<encodedsecretinurl>

which is something OpenShift needs in order to unify our remaining handlers
into gorestful.
Also fixes parameter exposure for subresources (was only fixed for
v1beta3). @brendandburns

LGTM, thanks!


IGAPP-1137: Maps attribution

OpenStreetMaps attribution will now be displayed for web and native
Requirements are fulfilled (https://www.openstreetmap.org/copyright)

show correct text: © OpenStreetMap contributors (https://wiki.osmfoundation.org/wiki/Licence/Attribution_Guidelines)
provide link to: https://www.openstreetmap.org/copyright

Note: To show the attribution icon for mobile web, i had to reposition the geocontrol button. I did it same way as on native to reposition if bottom action sheet changes. Additionally i hided the unneeded NavigationControl on mobile since you zoom with your fingers
Additionally i deleted MapPopup since its not used since long time

Copyright not visible in web mobile. (seems to be below BottomActionSheet) Also link seems to be missing in web desktop. (Tested on Safari)
Native is fine :)

@sarahsporck
What do you mean by link seems to be missing?
Works fine for me on safari desktop
I also tested the geocontrol on safari mobile view and its slow but working. I guess this is due to the emulator and gonna test it on my iPhone
https://user-images.githubusercontent.com/37902063/220652554-cc2e6378-3ae8-4ecb-ba81-1d5896dc2b7e.mov


help: Module '"vue-sanity"' has no exported member 'useSanityClient'.

📚 What are you trying to do? Please describe.
When using the vie-sanity client inside a Vite + TS project, useSanityClient doesn't seem to be exported from the package.
import { useSanityClient } from 'vue-sanity'

Module '"vue-sanity"' has no exported member 'useSanityClient'.ts(2305)

🔍 What have you tried?
N/A
ℹ Additional context
"vue": "^3.0.5",
"vue-sanity": "^0.10.6"

@vphilot Apologies for the long delay. Would you check with 0.11.0?

@danielroe  works like a charm!! thank you! :)


The package "modules.packages.exe" start function raised an error: Unable to execute the initial process, analysis aborted.

When I execute a .exe it raise this error:

Analysis failed: The package "modules.packages.exe" start function raised an error: Unable to execute the initial process, analysis aborted.

But with others .exe all work, I try use pythonw and python as admin and then don't raise this error but startup don't found. With others .exe when it need admin privileges Windows show a dialog window for confirm, but in this case only raise a error.

Is it a valid executable? Can you run it in the VM normally? (E.g., without using Cuckoo).
Alternatively try submitting it with the free=yes option which doesn't inject the Cuckoo monitor, in case that gives a problem.

Yes, in VM normally run without error (with hardening in VM as in VM of Cuckoo). With free=yes option all is same without Cuckoo monitor injection.

So to clarify, with free=yes does the sample run successfully or crash as well?

Crash as well. With free=yes in report say the same error.

That's quite odd. What is the error and what kind of sample do you have?

Yes, I send you a sample by email, and error is:

Analysis failed: The package "modules.packages.exe" start function raised an error: Unable to execute the initial process, analysis aborted.

It is launched from:

   if not p.execute(path=path, args=args, suspended=suspended):
       raise CuckooPackageError("Unable to execute the initial process, "
                                "analysis aborted.")

And analusis.log is:

2015-05-08 12:49:34,907 [root] DEBUG: Starting analyzer from: C:\wpmgveiy
2015-05-08 12:49:35,517 [root] DEBUG: Storing results at: C:\CpVnyMOVZM
2015-05-08 12:49:35,538 [root] DEBUG: Pipe server name: \.\PIPE\DzebXAKx
2015-05-08 12:49:35,538 [root] DEBUG: No analysis package specified, trying to detect it automagically.
2015-05-08 12:49:35,538 [root] INFO: Automatically selected analysis package "exe"
2015-05-08 12:49:37,450 [root] WARNING: Cannot execute auxiliary module Disguise: [Error 5] Access is denied
2015-05-08 12:49:37,450 [root] DEBUG: Started auxiliary module Disguise
2015-05-08 12:49:37,460 [root] DEBUG: Started auxiliary module Human
2015-05-08 12:49:37,470 [root] DEBUG: Started auxiliary module Screenshots
2015-05-08 12:49:37,500 [modules.auxiliary.screenshots] WARNING: Python Image Library is not installed, screenshots are disabled
2015-05-08 12:49:37,519 [lib.api.process] ERROR: Failed to execute process from path "C:\Users\John\AppData\Local\Temp\Iminent.exe" with arguments "None" (Error: 740)
2015-05-08 12:49:37,519 [root] ERROR: Traceback (most recent call last):
File "C:\wpmgveiy\analyzer.py", line 723, in
success = analyzer.run()
File "C:\wpmgveiy\analyzer.py", line 573, in run
"error: {1}".format(package_name, e))
CuckooError: The package "modules.packages.exe" start function raised an error: Unable to >execute the initial process, analysis aborted.
Traceback (most recent call last):
File "C:\wpmgveiy\analyzer.py", line 723, in
success = analyzer.run()
File "C:\wpmgveiy\analyzer.py", line 573, in run
"error: {1}".format(package_name, e))
CuckooError: The package "modules.packages.exe" start function raised an error: Unable to >execute the initial process, analysis aborted.

Is it a 64-bit binary you're trying to execute on a 32-bit VM?  Or an executable with a static import of a DLL not present in the VM?

Not and not. Target machine is Intel 386 or later processors and compatible processors then 64-bit or 32-bit not is a problem. In VM normal don't run but with hardening run good manually.

I've replied to your email with my report.json. The sample you have provided runs just fine under the latest development version of Cuckoo (i.e., the monitor branch), so I consider this issue resolved.
Maybe you're missing library.. or are you running Windows 7?

@jbremer thanks for your response, and I was use Windows 7 for analysis, I when read your email try with Windows XP and in XP run good. The XP and W7 machine have same Python versión, same agent.py, same installation, etc; and is same Cuckoo installation.
In principle, the sample is compatible with W7 because run in it manually. The installation and libraries that I have installed is same that in book Cuckoo Malware Analysis of Packs Publishing and I check that all lib in requirements.txt is installed. Also, I am using branch master with all last commits for testing it (not a stable version).

Just tested your sample against Windows 7 with the monitor branch - works! The Iminent installation thing comes up so should be good to go. Closing this issue, please test for yourself as well ;)

Thanks, I will try it, I hopefully that 1.3 with new monitor and monitor branch will be finish soon, look so good.

@jbremer excuse me for reopen it but I checkout to monitor and try to use W7 machine, and:

ERROR: Analysis failed: The package "modules.packages.exe" start function raised an error: Unable to execute the initial process, analysis aborted.

I need merge amster to monitor for try, or other configuration?

Then you're probably missing something in the VM, I'm not really sure..

agent.py is same? I use the same machine and only checkout cuckoo local repo. Machine only has python 32-bit, agent.pyw and PIL.

Agent is the same, yes.

I will try to reinstall all in new W7 machine and comment here the result

Yes, monitor branch work fine, only a little bugs in behavior analysis. Thanks.

Ok. Do you have details on said bugs?

I am opening other issue with fail, is because:

def cleanup_value(v):
"""Cleanup utility function, strips some unwanted parts from values."""
v = str(v)
if v.startswith("\??\"):
v = v[4:]
return v
In v = str(v) fail.

And, I try now with other sample, and has same error that this issue :( I don't understand why still fail with some samples.

The new monitor uses behavior2, therefore behavior is disabled by default in the monitor branch..

Thanks, then is my conf not update. But the same error with modules.packages.exe I don't understand why still raise error

@jbremer in #572 @ajaybabu91 has same error, I think this not is 100% solved and is possible that the error not all raise but they are more cases of this error.


Adjust floating window under current line

Hi,
I want know whether there is any approach to put the floating window under current line.
Looks like the default config is above the current line.
  ...
  floating_window = true, -- show hint in a floating window, set to false for virtual text only mode

  floating_window_above_cur_line = true, -- try to place the floating above the current line when possible Note:
  -- will set to true when fully tested, set to false will use whichever side has more space
  -- this setting will be helpful if you do not want the PUM and floating win overlap

  floating_window_off_x = 1, -- adjust float windows x position.
  floating_window_off_y = 1, -- adjust float windows y position.
  ...

Thanks

Because the autocomplete will popup below the current line in most cases, it would be good to put the floating windows above the current line.
floating_window_above_cur_line will further ensure it is above the current line unless the space is not large enough.
Why you would want it below the current line?

Because the autocomplete will popup below the current line in most cases, it would be good to put the floating windows above the current line. floating_window_above_cur_line will further ensure it is above the current line unless the space is not large enough. Why you would want it below the current line?

Ah, it makes sense and thanks for replying.

Great plugin! :sunglasses:
It would be useful to have a floating_window_below_cur_line in opposition to floating_window_above_cur_line.
Usually when you write a function you're variables are defined above the current line and it's useful to have them in plain sight when using them as arguments.
Here's a screenshot where the pop-up hides the code necessary to write the command even though there's plenty of space below the current line (23 lines of code till end of view).

I also have this issue as I've been centering the cursor on the screen via
let &scrolloff=999-&scrolloff


Import AGROVOC terms relating to fieldbook

May need AGROVOC terms to resolve #62
Notes:

Terms in English only

Terms mapped to Agrovoc: https://github.com/KrishnaTO/biomappings/blob/curate-agro-agrovoc-mappings/src/biomappings/resources/mappings.tsv
Need to determine method of import


[GEP-7] Properly handle migration and restoration of BackupEntry

How to categorize this PR?

/area control-plane-migraton
/kind bug
What this PR does / why we need it:
This PR makes it so that the handling of migration/restoration for the extensions.BackupEntry resources is handled by the BackupEntry controller in the gardenlet.  Additionally, the core.BackupEntry resource is no longer reconciled multiple times in a row.
Which issue(s) this PR fixes:
Fixes #3838 and  #3672
Part of #1631
Special notes for your reviewer:
As part of #3672:

The BackupEntry.Status.ObservedGeneration is updated to equal BackupEntry.Metadata.Generation near the start of the operation instead of at its end.
The reconciliation logic checks if the gardener finalizer already exists in the BackupEntry resource before attempting to add it.
If the finalizer does not exist, the reconciliation will add it and then return without error. The addition of the finalizer will automatically requeue the BackupEntry for reconciliation (similar to how it is done for the Shoot).
I have kept the logic that removes the gardener.cloud/operation annotations at the end of the reconcile and migrate operations as their presence does not cause multiple reconciliations in a row since we do not update the BackupEntry.Metadata field during those operations (apart from the finalizers, but that is already covered in 3.).

Release note:

Migration and restoration of `extensions.gardener.cloud.BackupEntry` resources is now handled by the BackupEntry controller in the `gardenlet`.

The `core.gardener.cloud.BackupEntry` resource is no longer reconciled multiple times in a row.

/invite @rfranzke @stoyanr @kris94

Does it make sense to split the changes into multiple commits to ease and speed-up the review process? Ref https://github.com/gardener/documentation/blob/master/CONTRIBUTING.md#contributing-bigger-changes

@rfranzke yep I will split them up.

@rfranzke I rebased and split the changes into multiple commits.

Thank you @plkokanov, will try to check asap.
/assign

Rebased and applied review comments.


Analyzer does not reject some incorrect cases of "class A<X extends FutureOr>" assigning

Dart SDK Version: 2.1.0-dev.7.1
OS: Windows 10 (64 bit)
Please try to compile and run the following dart source code example:
import "dart:async";

typedef F<X> = void Function<Y extends X>();
F<X> toF<X>(X x) => null;

class A<X extends FutureOr<X>> {}
class B<X extends List<X>> {}

main() {
  A source;
  var fsource = toF(source);
  F<A<FutureOr<dynamic>>> target = fsource;

  F<A<dynamic>> target1 = fsource;                               //# 01: compile-time error
  F<A<FutureOr<FutureOr<dynamic>>>> target2 = fsource;           //# 02: compile-time error
  F<A<FutureOr<FutureOr<FutureOr<dynamic>>>>> target3 = fsource; //# 03: compile-time error

  // ----------------------------------------------------

  B sourceb;
  var fsourceb = toF(sourceb);
  F<B<List<dynamic>>> targetb = fsourceb;

  F<B<dynamic>> target1b = fsourceb;                    //# 04: compile-time error
  F<B<List<List<dynamic>>>> target2b = fsourceb;        //# 05: compile-time error
  F<B<List<List<List<dynamic>>>>> target3b = fsourceb;  //# 06: compile-time error
}

Dart does not throw any errors here because of the known issue #34623 (seems like it was fixed 6 days ago, but still the fix is not in the recent stable build dev.7.1 released 7 days ago).
Analyzer throws compile errors for the cases #04, #05, #06 and silently passes with the cases #01, #02, #03.
Seems like it should throw compile errors for all the 6 cases, i.e.  class A<X extends FutureOr<X>> and  class A<X extends FutureOr<X>> should be processed by the analyzer in similar manner.

I do not think type equality has been specified explicitly, but we do have something which is a very good candidate for being the official notion of equality among types: S == T iff S <: T and T <: S. Certainly, that would suffice for soundness, and it is certainly consistent with our treatment of other topics related to subtyping (and assignability is a concept in the area of subtyping).
As a counterpoint, we want to maintain that Object and void is not the same thing in some situations, but we use other mechanisms to handle that. E.g., we have special checks applied to expressions of type void, and they certainly do not consider void and Object to be the same thing. So we'll leave it to some future 'voidness preservation' mechanism (lint?) to catch things like F<FutureOr<Object>> x = null as F<FutureOr<void>>; and then concentrate on subtyping here.
With that, we have dynamic == FutureOr<dynamic> == FutureOr<FutureOr<dynamic>> == ..., which makes cases 1–3 OK. So I think the analyzer is right here.
The front end, via dart (Dart VM version: 2.1.0-edge.3039fb00311eab16a45694d9366034a4994cb737 (Thu Oct 18 06:17:57 2018 +0000) on "linux_x64") crashes:
Crash when compiling null,
at character offset null:
Stack Overflow
#0      _TopSubstitutor.lookup (package:kernel/type_algebra.dart:421:3)
#1      TypeParameterType.accept (package:kernel/ast.dart:731:31)
#2      MappedListIterable.elementAt (dart:_internal/iterable.dart)
#3      ListIterable.toList (dart:_internal/iterable.dart:219:19)
#4      _TypeSubstitutor.visitInterfaceType (package:kernel/type_algebra.dart:540:55)
#5      InterfaceType.accept (package:kernel/ast.dart:4629:34)
#6      ClosedWorldClassHierarchy.getTypeAsInstanceOf (package:kernel/class_hierarchy.dart:501:31)
#7      SubtypeTester.isSubtypeOf (package:kernel/type_environment.dart:475:21)
#8      SubtypeTester.isSubtypeOf (package:kernel/type_environment.dart:458:14)
#9      SubtypeTester.isSubtypeOf (package:kernel/type_environment.dart:501:14)
#10     SubtypeTester.isSubtypeOf (package:kernel/type_environment.dart:459:11)
#11     SubtypeTester.isSubtypeOf (package:kernel/type_environment.dart:501:14)
#12     SubtypeTester.isSubtypeOf (package:kernel/type_environment.dart:459:11)
...

so that would be the focus of this issue. Added some labels for that.


[22.05] qemu: fix CVE-2022-35414

Description of changes
(cherry picked from commit b2d221795b355b6646c046077f3a58aedb1efa82)
Partial backport of #182834. cc @globin

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Don't think this really warrants going to staging, but guess it's not the end of the world.

nixpkgs-review happy, macos 10.15

Don't think this really warrants going to staging

Agreed.

Fair, rebased.


Where is "Trademark" (tm)?

I cannot find trademark. It is a very common symbol. Can you put it in there somewhere?
Perhaps mapping of shift on the number keys will give you more characters.

In Quick Accent in PowerToys v0.74.1 (the new home of PowerAccent), ™ is under the t.


feat: change values of "ui" in turbo.json

Description
It was mentioned that "ui": false doesn't make much sense. We replace that in this PR with "tui" for the rich terminal output and "stream" for the non-TTY behavior.
Testing Instructions
Updated migration and unit tests. Quick manual check on a test repo.

Is there an equivalent cli flag to enable tui, i don't want to set it as default in turbo.json ?


Re-land "Migrate some benchmarks to NNBD (75023)"

Reverts flutter/flutter#75053
The underlying issue was in flutter_driver, which has been fixed in #75175.

Blocked on https://github.com/flutter/flutter/pull/75269.

Looks like this made the tree red.


想问下有应用到项目中吗？

因为公司最近也有类似的需求
想了解下有没有什么坑。
之前是使用极光推送的，在集成华为部分的时候，有个别机型是需要单独处理的好像。文档里好像没有提到？

几年前的了,已经过时了,oppo和华为已经改得不像样了

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.500k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @Garfield550, @Linjj, @wab301, @boxbox2, @lkgGitHub, @piper55, @chengzichen, @dudajump, @WillCup, @smile963, @zhaoxiong123, @fc13240, @Lynzabo, @crazyaguai, @maxisacoder, @yangji721, @random-walk-cs, @hippieZhou, @gongchao, @NileZhou, @ykhub, @actors315, @csharp35, @juufuu, @zhao-jun, @gofreehj, @vitawt, @lantingx7, @kivan, @btcexapi, @gaoweibupt, @SpikeXy, @YogaChen, @yueqianzhang, @mckelvin, @lin-N, @imzeali, @shohi, @jerrwy, @linbaoji, @zuoerfeng, @ChowSings, @t-tojima, @JAs0nTseNg, @jiusanzhou, @hoveyfafa, @bigfishhub, @FR15, @treasure-lau, @cryer

来信已收到，会尽快回复 = = 谢谢！      -- 李圣杰


fix: reserve property order in NumberFixedObjectTypeAdapter

Codecov Report

Merging #189 (8470644) into master (930b43b) will not change coverage.
The diff coverage is 100.000%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files

@@             Coverage Diff             @@
##              master      #189   +/-   ##
===========================================
  Coverage     47.867%   47.867%
  Complexity      1105      1105
===========================================
  Files            179       179
  Lines           8979      8979
  Branches        2036      2036
===========================================
  Hits            4298      4298
  Misses          3908      3908
  Partials         773       773

Flag
Coverage Δ

unittests
47.867% <100.000%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ain/kotlin/com/itangcent/common/utils/GsonUtils.kt
70.714% <100.000%> (ø)

Continue to review full report in Codecov by Sentry.

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


openssl header files and library can no longer be found

Description
During the past few weeks we started getting the following error when compiling our Haskell project:
Failed to build HsOpenSSL-<IP_ADDRESS>. The failure occurred during the configure
step.
Build log (
C:\cabal\logs\ghc-9.8.1\HsOpenSSL-<IP_ADDRESS>-0a7bd5da69f3c85a05f579d7c0da36dc20e9641b.log
):
[1 of 2] Compiling Main             ( D:\a\cardano-node\cardano-node\dist-newstyle\tmp\src-1627\HsOpenSSL-<IP_ADDRESS>\dist\setup\setup.hs, D:\a\cardano-node\cardano-node\dist-newstyle\tmp\src-1627\HsOpenSSL-<IP_ADDRESS>\dist\setup\Main.o )
[2 of 2] Linking D:\\a\\cardano-node\\cardano-node\\dist-newstyle\\tmp\\src-1627\\HsOpenSSL-<IP_ADDRESS>\\dist\\setup\\setup.exe
Configuring HsOpenSSL-<IP_ADDRESS>...
Error: setup.exe: Missing dependencies on foreign libraries:
* Missing (or bad) header file: openssl/asn1.h
* Missing (or bad) C libraries: ssl, crypto
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.If
the library files do exist, it may contain errors that are caught by the C
compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.
If the header file does exist, it may contain errors that are caught by the C
compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.

Error: cabal-<IP_ADDRESS>.exe: Failed to build HsOpenSSL-<IP_ADDRESS> (which is
required by threepenny-gui-<IP_ADDRESS>, lobemo-backend-ekg-<IP_ADDRESS> and others).
See the build log above for details.

What needs to be done to access the openssl headers and libraries?
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
Current runner version: '2.316.0'
Operating System
  Microsoft Windows Server [2](https://github.com/IntersectMBO/cardano-node/actions/runs/8868069188/job/24347267478?pr=5786#step:1:2)022
  10.0.20348
  Datacenter
Runner Image
  Image: windows-2022
  Version: 20240421.1.0
  Included Software: https://github.com/actions/runner-images/blob/win22/20240421.1/images/windows/Windows2022-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20240421.1
Runner Image Provisioner
  2.0.[3](https://github.com/IntersectMBO/cardano-node/actions/runs/8868069188/job/24347267478?pr=5786#step:1:3)69.1

Is it regression?
yes 2.315.0
Expected behavior
It should be possible to access openssl headers and libraries.
Actual behavior
The openssl headers and libraries cannot be found.
Repro steps
Re-run this job: https://github.com/IntersectMBO/cardano-node/actions/runs/8868069188/job/24347267478?pr=5786

See https://github.com/msys2/MINGW-packages/issues/20763

Hello @newhoggy . We will take a look on this but its very strange behavior since we have pinned ssl version (see toolset and installation script .

Yeah, I think we use pacman to install the latest openssl.  Seems to break with version 3.3.0.

Glad to hear that you find that. I am closing issue as not runner-image related but feel free to reach me out if you have additional questions.

So two issues opened on the same problem, and now both are closed, without a solution. Why is that?


Contract Factory gets confused with Factory Childs

The Curve Gauge Factory at 0xB9fC157394Af804a3578134A6585C0dc9cc990d4 imports the typings of one of the child Gauges 0x99fb76F75501039089AAC8f20f487bf84E51d76F
Is missing deploy_gauge function, and adds a add_reward that's not in the factory contract

adding a new example on this, 0x21b1FC8A52f179757bf555346130bF27c0C2A17A has only 1 event and should be NewAutomatedVault, nontheless, the sdk client is bringing the interface of the children, instead of the factory


建议为必要组件添加自定义 loading icon 功能

Clear and concise description of the problem
建议为必要组件添加自定义 loading icon 功能
比如 button 按钮等
Suggested solution
https://element-plus.org/zh-CN/component/button.html#加载状态按钮
https://element-plus.org/zh-CN/component/message-box.html#个性化
Alternative
No response
Additional context
No response
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

https://www.naiveui.com/zh-CN/os-theme/components/button#loading.vue


Move some Agent Core owned packages to internal folders

What does this PR do?

Move the following folders to internal:
github.com/DataDog/datadog-agent/pkg/aggregator/tags    -> github.com/DataDog/datadog-agent/pkg/aggregator/internal/tags
github.com/DataDog/datadog-agent/pkg/dogstatsd/mapper   -> github.com/DataDog/datadog-agent/pkg/dogstatsd/internal/mapper
github.com/DataDog/datadog-agent/pkg/serializer/stream  -> github.com/DataDog/datadog-agent/pkg/serializer/internal/stream
github.com/DataDog/datadog-agent/pkg/util/hostname/file -> github.com/DataDog/datadog-agent/pkg/util/hostname/internal/file
github.com/DataDog/datadog-agent/pkg/metadata/gohai     -> github.com/DataDog/datadog-agent/pkg/metadata/internal/gohai
github.com/DataDog/datadog-agent/pkg/metadata/resources -> github.com/DataDog/datadog-agent/pkg/metadata/internal/resources

Motivation

Reduce public API surface to make it easier to modularize Datadog Agent codebase. See here for explanation of internal packages.
Additional Notes

No-op, detected by this WIP tool.
Possible Drawbacks / Trade-offs

None: it can be reverted if needed. However, if you know that you want any of these packages to be part of the public API of your folder, maybe it doesn't make sense to merge (all of) this.
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

I guess it's just a bit strange to see a single particular provider (hostname/file) be isolated into the internal package out of a big group but LGTM as it does move us closer to better-isolated packages.

That's fair. I think it ultimately depends on if you think providers should be internal to the hostname package or not? If they 'should' be internal, then I agree this is a step in the right direction.

I think it ultimately depends on if you think providers should be internal to the hostname package or not? If they 'should' be internal, then I agree this is a step in the right direction.

That's my thought here - I would expect that all of the specific hostname providers to eventually be opaque in the internal package so it's definitely a step forward IMO 👍

@mx-psi : LGTM sorry for my late answer.


Canonicalize local path for URL consumption

Hi,
could you please consider fix for #38.
What is happening here is that local Windows paths creep in in the URL  which the browser does not treat as path separators. The fix is to convert any system path separators to forward slashes (so this should have no effect on Linux, convert \\ to / on MS-Windows, and support any unknown separators introduced in the future).
I've bundled a test for this now that there is a test suite 🎉 Needed to upgrade babashka.fs to latest version to pick up the with-temp-dir api call.
I've also removed and git ignored the .nrepl-port which I believe it was included by mistake.
All test pass both on MS-Windows and Linux, and also have managed to convert to static all tests in clerk-demo (under MS-Windows).
Feel free to scrutinize the patch.
Thanks,

I guess for these tests to be really useful it would be great to also run them on windows…

I guess for these tests to be really useful it would be great to also run them on windows…

Do you mind I setup an additional job to test on MS-Windows in the existing github workflow? This will be separate PR.
Otherwise,  it is more for Windows users to discover possible breaks by running the test suit on their local machine. Still useful but not as good as with the workflow integration.

@ikappaki thanks a lot for this!


Update qos tutorial after migration from arguments to ros parameters

Update after https://github.com/ros2/demos/pull/398.

@jacobperron I updated the PR after checking the deployed tutorial, PTAL.


Remove relayer specific code from the modules crate

Note that this will probably be breaking (e.g. removing public items), so should be probably be done right before 1.0.0.

Note: we should also remove unused dependencies from Cargo.toml


Owlinals

Owlinals: First BRC333 Ordinals Collection.
The BRC333 standard for dynamic and interactive art collections that utilize recursive inscriptions to lower the cost of inscribing imagery on Bitcoin using the Ordinals protocol. Like its inspiration–BRC69, this standard supports on-chain features, such as pre-mint and on-chain reveals. This is accomplished by drawing the image canvas within the Ordinals explorer, without the need for inscribing trait images or additional action.
https://l1f.discourse.group/t/brc333-introduction-to-brc333-a-recursive-pixelation-protocol-for-ordinals-collections/342

By the way, there is no fixed attributes because it is dynamic and the art associates with factors such as time, moon phase, etc.


poetry-plugin-up: init at 0.2.1

Description of changes
A plugin to update dependencies to latest even if pyproject.toml says not to.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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

[x] 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/)
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

[x] Fits CONTRIBUTING.md.

Use pytestCheckHook to run the tests.

Tests won't run because we don't have a Poetry.

Applied all the style fixes.

Tests won't run because we don't have a Poetry.

Add poetry to checkInputs, disable doCheck, import the package itself, create an override in passthru.tests á la poetry-plugin-up.overridePythonAttrs (_: { doCheck = true; })

That's still not going to work because Poetry doesn't propagate its dependencies (see #209534).

Rebased to catch the nativeCheckInputs change.

The reason I went with a double wrapper here is mostly to avoid rebuilding poetry itself, which is not particularly slow but also kinda slow.

The reason I went with a double wrapper here is mostly to avoid rebuilding poetry itself, which is not particularly slow but also kinda slow.

That does make sense indeed. I guess I could copy the double wrapper in my approach if that's preferred.
I still think having poetry.plugins is a bit cleaner and makes sure all plugins use the same versions of all Python packages.

Cleaner than what? Sorry, might be missing something...

Cleaner than what? Sorry, might be missing something...

You're right, your approach is almost the same in this regard. So never mind.

#213914 looks simpler and is the more python-native approach using packageOverrides for the package set and overridePythonAttrs to propagate plugins into the poetry package.
I think I prefer it also because it relies less on a bespoke wrapping logic, like is the case here.
The downside of the override approach is that you get to rebuild poetry, which takes a minute on my desktop due to five very slow tests. We could however also just disable tests on the overridden derivation to get that penalty out of the way.

I definitely like the packageOverrides approach and probably would have done the same thing if I remembered it existed at the time (lol). I'm still not 100% convinced on the wrapper versus adding inputs part, but it's also definitely not a blocker and either way should be fine.

We could however also just disable tests on the overridden derivation to get that penalty out of the way.

That's a good compromise.

I'm still not 100% convinced on the wrapper versus adding inputs part

The advantage of adding inputs is that it's going to be correct in the future even if wrapPython's logic changes. We also won't have to change the wrapper if files are addded to poetry's $out/share or whatever.

Then I'm just going to close this in favor of https://github.com/NixOS/nixpkgs/pull/213914.


Icon display is not normal

I'm sorry to bother you
This is my configuration
`let g:spaceline_git_branch_icon=' '
let g:spaceline_seperate_style = 'curve'
let g:spaceline_colorscheme = 'space'
let g:spaceline_custom_vim_status =  {"n": " ","V":" ","v":" ","<C-v>": "ףּ ","i":"👴 ","R":" ","s":"ﴣ ","t":"ﴪ ","c":" ","!":"SE"}
`

I suggest that use galaxyline .it's fast than spacline.


Add dependabot

This would result in 10 PR’s opened by Dependabot:
https://github.com/sebastiaanspeck/refined-github/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc

I'm good thank you

That's not what I want, but I know I don't want dependabot


docs: update changelog for #24

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[x] Other, please describe: docs

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch, not the main branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[x] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
I wrote a changelog for #24 PR.

Coverage remained the same at 100.0% when pulling c9cac10c9033be8d60ceb58e72ecb50c8f815614 on noname0310:docs/changelog into 2209d5d2505796c810325cfbc6cb1396abd772d4 on js-sdsl:dev.


CERT-22 - Add CSR feature

What type of PR is this?

What does this do?

Which issue(s) does this PR fix/relate to?

Related Issue #22
Resolves #22

Have you included tests for your changes?
Yes.

Did you document any new/modified features?
Yes

Notes

@nyagamunene What's the status with this one?

@nyagamunene What's the status with this one?

There is still some issues with tests which am currently addressing.


PLSS app - define review process

PLSS: Public Lands Survey System
Benefit
Once a PLSS monument record is submitted through the Utah PLSS app, define the next steps to occur within the app for county and UGRC staff to review and ultimately publish the submitted monuments.
Acceptance Criteria
A plan for the next development cycle to fulfill the review process.
Notes
Old Miro board
Risks

Clearly defining the review steps
Keeping the review process simple to make development manageable
Time among other duties

ref: #445

Adding the process states and mockups lucid documents.
Adding some notes from August

Plan is to move forward with the states up until the blm inclusion with a url like plss-review.ugrc.utah.gov or monument-review.ugrc.utah.gov

show the submissions
allow them to be selected to view the pdf and place on the map
allow them to be approved or rejected with app status update
send them to the counties with status update
after 10 days move them to public location and edit feature service with status update

We’re now waiting for pi planning around october 1 with possible manual run throughs sooner


vitess: 21.0.0 -> 21.0.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/vitessio/vitess/releases.
meta.description for vitess is: Database clustering system for horizontal scaling of MySQL
meta.homepage for vitess is: https://vitess.io/
meta.changelog for vitess is: https://github.com/vitessio/vitess/releases/tag/v21.0.1
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 21.0.1 with grep in /nix/store/5ww53ly5v6r1zqpl1xw5sxqb8whb9jwn-vitess-21.0.1
found 21.0.1 in filename of file in /nix/store/5ww53ly5v6r1zqpl1xw5sxqb8whb9jwn-vitess-21.0.1

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

vitess

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/94c1dcc912ae654b21278ba7411298b224a3ad26#vitess

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

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

x86_64-linux

:white_check_mark: 1 package built:

vitess

Maintainer pings
cc @urandom2 for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 362944

aarch64-darwin

:white_check_mark: 1 package built:

vitess


False positive: vlscppe.microsoft.com

This is required for downloading Windows ISOs from Microsoft. If this URL can't be reached, a session for downloading the ISO can't be created and it will error.
https://www.microsoft.com/software-download/windows11/

Thank you for this @he3als.
We don't list the domain vlscppe.microsoft.com.
Closing.


implement add block to block index and get uncommitted tip view

Current dependencies on/for this PR:

feature/proof-of-stake

PR #649

PR #686

PR #705

PR #706

PR #707   👈

This comment was auto-generated by Graphite.


Implement ability to limit how many hops away we want to see the graph

Is your feature request related to a problem? Please describe.
In the Hamilton UI, with large DAGs can be overwhelming. One way to get over this, is to show less.
Describe the solution you'd like

It would be nice to limit what is shown, based on the number of hops away from the current node in question. One could then gradually expand this as needed.
Could also potentially start off with a very high level module view instead when a DAG is above a certain node count?

Describe alternatives you've considered
N/A
Additional context
Should be self-explanatory. Can use https://github.com/DAGWorks-Inc/hamilton/blob/main/examples/hamilton_ui/notebook.ipynb to work off of.

Suggestion: a great navigation UX would be to allow Alt + Mouse wheel (or another key) to increase / decrease the number of hops away from the currently selected node


EraseUserData.bat not found

I am new to this and need help,i dont know what i am doing wrong. I see the (.sh) version of the EraseUserData.bat file but cant find the (.bat) i have looked all over for it.please help...Is there another way of doing it?

@chainlinkchicken - You've either downloaded the wrong file, or you have this setting - https://www.techadvisor.com/article/734213/how-to-show-or-hide-file-extensions-in-windows-10.html

Closing due to inactivity.


Hitting enter at the end of a comment does not continue the comment on the next line

Before:

After I hit enter/return:

expected:
// I have the [height] state in the widget,
//
class MovingTextState extends State {

Maybe this should only apply to doc comments?

Didn't expect it to, especially because I added a comma at the end of the line.

When I originally wrote the text handling for triple slash comments, I thought about applying it to line comments iff the line was long. So if the user had written a very long line comment, hitting return would continue the comment on the next line, and probably auto-wrap the comment at 80-chars as well.

@devoncarew this behaviour is not really compatible with https://www.dartlang.org/effective-dart/documentation/#do-make-the-first-sentence-a-standalone-paragraph that advices to make the first sentence a standalone paragraph.

Not sure how? We currently extends /// comments to the next line. This feature request is to add that behavior to // as well.

oops, sorry for the noise


[Batch] Update Batch API

add to S168

With the new azdev setup those tests will only record the old help text until the CLI is actually released. Don't think its really needed anymore as well.

@qwordy Should be good for merge unless there are any new CLI steps we missed

@qwordy Should be good for merge unless there are any new CLI steps we missed

Done


Implement workaround for wrong coverage reporting

As discussed in:
https://github.com/blue-yonder/pyscaffold/pull/194#discussion_r209830873

@FlorianWilhelm if we manage to have the coverage reporting done well with tox, do you think we can avoid doing the second run before submitting to coveralls?

@abravalheri, absolutely! I only introduced it because in the Travis WebGui there was no way anymore to click on the file and see which lines are covered. Thus I had to add the additional py.test run. I we could avoid that without too much hassle, that's cool.

Coverage remained the same at 97.947% when pulling 78e8a5e5b32d2864d5d2d33f43953cbfcbd98ea3 on abravalheri:converage-in-tox into 849ad43ec32d901379faaa4079efedd86b562065 on blue-yonder:master.

@abravalheri I am not sure about this compromise. What would happen if a user adds cov-report=term-missing later on without knowing about this issue? Would it then suddenly stop working at all? I know you put a lot of effort into this workaround but isn't it actually a problem that one needs to fix upstream in pytest-cov? You mentioned the issue pytest-dev/pytest-cov#130 and the PR pytest-dev/pytest-cov#142 seems to have solved it already and will be included in pytest-cov 2.6 as it seems. So we could keep our minimal workaround of running py.test again until pytest-cov 2.6 is released. What do you think?

Hi @FlorianWilhelm, actually, based in the tests I have run manually, the worse that can happen is coverage.py printing the report twice in a row, the first time without merging the corresponding paths (and therefore with the wrong coverage), and the second time as one would expect (the CLI arguments are not "overridable", the first time they appear is what really counts, but no error is raised if you repeat any of them).
Basically the setup proposed in the tox file is not incompatible just very verbose, since currently pytest-cov cannot handle things internally (it would still work after the new versions, as long pytest/coverage APIs doesn't change).
But I imagine that, since it is nothing serious, we could just wait for the new release (it is just a pity that PyScaffold devs/users might see the fragmented coverage log in the terminal).
Regarding running the tests twice. That is not necessary, we could basically do:
if [[ "$COVERAGE" == "true" ]]; then (coverage combine .coverage && coveralls) || echo "failed"; fi

This way, despite of the report with the wrong files being printed in the terminal, coveralls would get the right one.

Umm, weird. I will investigate this a little bit more. Thanks Florian

Hi @FlorianWilhelm, I saw that in .coveragerc, the [paths] section is not configured for the tree related to this commit. I will check if with the correct setup it works.
(Maybe I was not clear in one of my previous comments, the configuration of the paths in .coveragerc is important for the combine to work properly)

Here we go:
https://github.com/blue-yonder/pyscaffold/commit/8c4320b0b4bbad555b87bdd09d11bf91b59e0b56
https://travis-ci.org/blue-yonder/pyscaffold/jobs/419070168
https://coveralls.io/jobs/39531469
I think now it should be fine :)

Should we close this PR?

Okay, will close it.


xi-mac crash

mac high sierra 10.13.4

xi-mac version 8e6f47f303b24ac965e1594a4e261e2bfbd7183
xi-editor version 83ba52a28479f6ad0256641995974c3194eeae8b

both is the lastest version.
rustc 1.27.0 (3eda71b00 2018-06-19)

Okay, thanks, I see the problem, will get a fix up in a sec.
In the future, if you could copy the text of the crashlog that would  be easier than a screenshot, but thanks for the report!


Ios 17 TextField Binding Issue

Description
From Swift UI to TCA
Failed to configure membership logic.
While configuring the logic of TextField for phone number configuration
I've confirmed that it works fine on iOS 16 and below, and it doesn't work from 17.
`
// SignUpFeature
case let .contactChanged(phones):
let clean = phones.filter { $0.isNumber }
let result = TextValid.TextValidate(phones, caseOf: .phoneNumber)
print("sss")
// // state.user.contact = phones
state.user.contact = formatPhoneNumber(clean)
state.contactValid = result
return .none
/// View
VStack (alignment: .leading) {
Text(Const.SignUpView.contact.title)
TextField(
Const.SignUpView.contact.placeHolder,
text: $store.user.contact.sending(.contactChanged)
)
.modifier(DefaultTextFieldViewModifier())
}
.padding(.horizontal, 30)
`
The code was configured as above.
However, contrary to expectations, TextField only reflects the value entered by the user and does not reflect the value that goes through my logic.
For testing, simply
state.contactValid = " NONE "
Even when you say that, NONE is reflected only in the beginning
After that, it's not reflected.
How do I solve this problem?
Checklist

[ ] I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
[ ] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
The Composable Architecture version information
1.10.4
Destination operating system
iOS 16, 17
Xcode version information
Xcode 15.3
Swift Compiler version information
No response

Hi @Little-tale, this is not an issue with the library, but rather just how SwiftUI works. You cannot make modifications to the state powering a TextField binding in the willSet/didSet. SwiftUI will just ignore those changes.
This issue has come up a lot, so I recommend searching the discussions for possible workarounds. Here is is the most recent time that it came up.
Since this isn't an issue with the library I am going to convert it to a discussion. Please feel free to continue the conversation over there!


Roadmap section issue

Anyone has made changes in the code of the roadmap section, kindly fix it

i can assign  under GSSoC Extended and Hactoberfest 2024

ok

Image should change on clicking the desired button on home page in roadmap section

images are already there in the repo

I can integrate the respective images with each button click, along with the transition which matches the button's transition.
Please assign the issue to me.
Thanks!


com.apple.mobile.house_arrest Sidekick

Hi,
I am using Sidekick to develop an app. I have deployed to two test iPhones. Both are added to the provisioning profile. The app works fine on one of the devices. On the second device the app throws error while starting. Sidekicks reports "unable to start com.apple.mobile.house_arrest.
Any help is appreciated
Thanks

Google is your friend and points to this


fix: add support for deserialize a class extending ArrayList

Codecov Report

Merging #8 into master will decrease coverage by 0.08%.
The diff coverage is 71.42%.

@@             Coverage Diff              @@
##             master       #8      +/-   ##
============================================
- Coverage     72.75%   72.66%   -0.09%
- Complexity     1044     1045       +1
============================================
  Files            64       64
  Lines          5512     5505       -7
  Branches        681      675       -6
============================================
- Hits           4010     4000      -10
- Misses         1289     1290       +1
- Partials        213      215       +2

Impacted Files
Coverage Δ
Complexity Δ

.../com/google/cloud/firestore/CustomClassMapper.java
77.46% <71.42%> (-0.11%)
110.00 <0.00> (+1.00)
:arrow_down:

...oogle/cloud/firestore/v1/FirestoreAdminClient.java
55.97% <0.00%> (-1.50%)
38.00% <0.00%> (ø%)

...n/java/com/google/cloud/firestore/Transaction.java
85.10% <0.00%> (-0.32%)
11.00% <0.00%> (ø%)

...rc/main/java/com/google/cloud/firestore/Query.java
87.74% <0.00%> (-0.19%)
120.00% <0.00%> (ø%)

...rc/main/java/com/google/cloud/firestore/Watch.java
91.55% <0.00%> (-0.12%)
56.00% <0.00%> (ø%)

...restore/collection/ImmutableSortedMapIterator.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

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 c25dca3...927228e. Read the comment docs.


Hyper starts bu does not show command prompt

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Ubuntu 18.04 LTS
Hyper.app version: hyper-3.0.2-x86_64.AppImage
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/karsibali/624b5901f79b11f94fb4a8c1a401573f
Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): N/A
The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue
I am using the hyper AppImage on a Ubuntu 18.04 LTS system.
When I start the hyper terminal I see the hyper window but the command line is not displayed as seen on the screenshot given below:

If I press Ctrl-C then the command line shows up like this:

I listed the running process tree before hitting Ctrl-C. Here is the screenshot of htop output:

As you can see there are three sub-processes spawn by hyper. These three processes are blocking hyper to start completely. After I hit Ctrl-C these three processes get killed and hyper then displays the command line. The three processes that use high CPU and block hyper are:
cat /dev/urandom
tr -dc a-zA-Z0-9
fold -w 24

Hyper seems to have started the /bin/bash --login process and then bash spawns those blocking processes, you should check your .bash_profile and .bashrc to see if these are started from there.

It turned out to be McFly reverse history script. When I comment out the mcfly script from my .bashrc file Hyper works OK.
What I don't understand here is, normally this is not a blocking process the line in the mcfly.bash script, which spawns these processes is as follows:
export MCFLY_SESSION_ID=$(cat /dev/urandom | env LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 24 | head -n 1)

This should normally end without any problem. But for whatever reason the last part of the command (head -n 1) does not work. So it becomes a blocking process.
Do you have any idea?

Looks like a known issue in McFly, it's closed so maybe you need to update it?
https://github.com/cantino/mcfly/issues/32
https://www.unix.com/unix-for-advanced-and-expert-users/271649-cmd-cat-dev-urandom-not-closing-cleanly.html

as the problems seems to be unrelated to hyper, you can close this issue

Thanks a lot...

@karsibali
What ended up being the solution for your McFly issue?

I left a comment on McFly github page. There is no comments on that yet.
Currently I simply I disabled McFly from my .bashrc file.

I upgraded McFly to the latest version. It seems to be fixed with this version (v0.3.5).


Make getSupportedCodeFixes on LS so it can be proxied by plugins

Fixes #28966
This should also help with #51713 so that getSupportedCodeFixes can be proxied by plugins esp with our module conversion ts.getSupportedCodeFixes cannot be overriden.

Most plugins use this hack and would need to update their code but i am assuming many were using vscode proxy so it might not impact as many. But if we are anyways going to need plugins to update their code, then its better to get updated to new API than hack.


an integer is required (got type str)

Hi,
I try to use your module but I got a error:
In [39]: read_roi_zip('11692a_x40_06_nuclei.tif.zip')

TypeError                                 Traceback (most recent call last)
<ipython-input-39-8b081d0c8add> in <module>()
----> 1 read_roi_zip('11692a_x40_06_nuclei.tif.zip')

/home/pi/Programs/anaconda2/envs/bioformats/lib/python2.7/site-packages/read_roi/_read_roi.pyc in read_roi_zip(zip_path)
    304     zf = zipfile.ZipFile(zip_path)
    305     for n in zf.namelist():
--> 306         rois.update(read_roi_file(zf.open(n)))
    307     return rois

/home/pi/Programs/anaconda2/envs/bioformats/lib/python2.7/site-packages/read_roi/_read_roi.pyc in read_roi_file(fpath)
    124
    125     magic = get_byte(data, list(range(4)))
--> 126     magic = "".join([chr(c) for c in magic])
    127
    128     # TODO: raise error if magic != 'Iout'

TypeError: an integer is required

11692a_x40_06_nuclei.tif.zip
The roi file was created by ImageJ, can you give me some hint where is the problem?

Your roi file works well on my machine. What Python version do you use ? Did you get the last read_roi version ?

Ok I checked and on python=3.5 everything work well. Error occurs if in environment is only python 2.7.
Now I see there is Python > 2.7 and > 3.4 not OR:)
Thanks!

I only use Python 3.4 and above. I will change the README to reflect that. Any chance for you to use Python 3 ?

Any chance for you to use Python 3 ?

yes of course, there is no problem:)

Thank you.

If anyone else is trying to make it work with Python 2, you just need to add the line:
data = map(ord, data)
in the function read_roi_file.
https://github.com/cxrodgers/read-roi/commit/4418cfe834a2d2973fda43294420d0689d4a88c0


Fixed many warnings/errors & other enhancements

Several warnings and errors were addressed

Issues Fixed #12, #22, #24, #26
PyTorch 1.8.1, Python 3.8, & Cuda 10.2 has been tested
PyTorch 0.4.1, Python 3.7, & Cuda 9.2 should still work

However, this hasn't been verified due to test computer unable to run Cuda 9.2
It appears that the graphics card is too new for Cuda 9.2

Inference no longer requires gt images #12, #22, #26
Added if __name__ == '__main__': to main.py to resolve #24
optimizer.step() was added prior to lr_scheduler.step()

Failure to do this will result in PyTorch skipping the first value of the learning rate schedule. See more details Here

Added align_corners=True parameter to nn.functional.grid_sample in flow_pwc.py since that was the behavior for PyTorch 0.4.1.

This behavior was changed in PyTorch 1.3.0 from True to False. See more details Here

Windows cannot have a colon in a filename.

Changed filenames with date time from YYYY-MM-DD hh:mm:ss to YYYY-MM-DDThhmmss per ISO 8601

Changed log.txt and config.txt files to have the time added to them so that each new run will have a new file. Especially handy for a --resume
n_frames_per_video increased from 100 to 200 in order to take full advantage of all of the frames in the training datasets.
Images are no longer saved by default during test phase of epoch.

There was no way to disable with a switch prior to this change
Can be enabled with --save_images option

Now gives an estimate of completion time for the current epoch and all epochs

1st training session estimate does not include the 1st test session duration for the 1st epoch.
When using --resume --load, start time will be recalculated based on the prior elapsed times

PDF plots no longer created during 1st epoch due to lack of data

L1, HEM, & Total Loss plots are now combined in one plot instead of 3
PSNR plot no longer has a legend since it was blank

Inference will handle border situations like this

For a video with 5 frames [1, 2, 3, 4, 5] it will use a list of frames [3, 2, 1, 2, 3, 4, 5, 4, 3]
Previous handling of the same clip would produce a singe frame [3]
The new result will be frames [1, 2, 3, 4, 5] with all 5 frames being deblurred

@csbhr (Haoran Bai), I want to thank you for the excellent work you have done on this paper and the code you have written. I tried your pretrained convergence model on a video I had which has a lot of motion blur due to a shaky camera and it did about as well as "Dynamic Video Deblurring using a Locally Adaptive Linear Blur Model" but much faster of course.
I did make many changes due to running on Window 10 and a newer video card but it seems to work well. I wanted to see if training it with a larger data set would improve the quality of the output. I'm running it on the below datasets combined into one. It makes for 333 videos with 31,549 frames.

DeepVideoDeblurring dataset (71 videos)
GOPRO_Large dataset (22 videos)
REDS Blur + Compression (240 videos)

After the first 2 epochs it is already at a PSNR of 27.540. I'm not sure how you defined convergence. I guess when it stops improving after a few epochs. If I have to run it for 1,000 epochs it will take more than a year. I'm guessing it will converge a long time before that but I have to admit that I do not know much about neural networks.
This is just a hobby for me. I'm a PL/SQL developer but I have some familiarity with several programming languages.
If you have any feedback about my changes I would love to hear it.
Thanks,
@Etienne66 (Steven Wilson)

I've made too many changes to be merged back to this repository

I've made too many changes to be merged back to this repository


NuGet client version '2.8.1' or above, but the current NuGet version is '2.7.40911.287'

I got the error NuGet client version '2.8.1' or above, but the current NuGet version is '2.7.40911.287'
I upgraded Visual Studio 2013 to Visual Studio 2013 Update 2 and the error disappeared.
We should probably mention Visual Studio 2013 Update 2 as a pre-requisite instead of Visual Studio 2013

now updated with support of VS 2017


How do I implement Tempered_softmax in C？

Dear authors,
I used your loss function as my loss function, it work well! Now I need to complete further effects on C, but the implementation of Tempered_softmax seems to be non-real-time, so how do I implement it in C?

Sorry. I maybe misunderstood the implementation of Tempered_softmax .


Add chessai to author and copyright fields

@chessai I thought it would be fair to list you in this fields. Is that ok? Would you prefer to real name to be listed there?

thanks very much, this looks good


After github login, the engine needs to be restarted but there's no direction for this

What's your CLI version?
0.86.25
Description & steps to reproduce
After doing a github login I retried my private package but got another failure. After talking with @tedim52 on Slack, it looks like the engine needs to be restarted.
Desired behavior
The github login process walks me through everything that I need to do, including restarting the engine. Ideally, I even have the option to restart the engine right then as part of the github login flow.
What is the severity of this bug?
Painful; this is causing significant friction in my workflow.
What area of the product does this pertain to?
CLI: the Command Line Interface

This PR solves this by automatically restarting the engine after successful login: https://github.com/kurtosis-tech/kurtosis/pull/2193


Fixes DHCPD yaml

Description
Adds a oneshot DHCP call when hook starts
Why is this needed
This ensures that networking configuration exists BEFORE services start.

Fixes: #
How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:
I have:

[ ] updated the documentation and/or roadmap (if required)
[ ] added unit or e2e tests
[ ] provided instructions on how to upgrade

Can you give this PR a title that will make sense for future release notes?


Change existing VMs to use trusted boot

Hi,
the page currently states:
https://docs.microsoft.com/en-us/azure/virtual-machines/trusted-launch#how-can-i-convert-existing-vms-to-trusted-launch
For Generation 2 VM, migration path to convert to trusted launch is targeted after general availability (GA).
The feature is now GA, when can I expect to be able to change my existing (gen2) VMs to use trusted launch?
Greetings
Klaas

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

ID: cedc5fc7-5576-f22f-9c9a-a2977ad93607
Version Independent ID: e7cda6ea-acd1-b56f-9d81-92d6fde31921
Content: Trusted launch for Azure VMs - Azure Virtual Machines
Content Source: articles/virtual-machines/trusted-launch.md
Service: virtual-machines
Sub-service: trusted-launch
GitHub Login: @khyewei
Microsoft Alias: khwei

@Klaas- Thank you for your question!  We've assigned this to the document author for further review.

@Klaas- Thanks for the feedback! You should be able to update existing Gen 2 VMs to use Trusted Launch. The docs were updated for GA with how to update\change the settings, but the overview didn't link back to that part of the how-to article. I've made some updates that should be live after 3:00 PST today :)
#please-close

@cynthn I can not find updated docs on how to enable it for existing VMs. Could you maybe point me towards them?

@aktifit You can't update an existing VM to be a Trusted Launch VM. There is no path to convert the VM. I believe you need to delete the VM and re-create it as a Trusted Launch VM.
If you have a VM that was created as a Trusted Launch VM, you can make changes to the vTPM and secure boot settings after it has been created. But, you can't make an existing VM a Trusted Launch VM.

Closed via https://github.com/MicrosoftDocs/azure-docs/commit/56a53a0735f87c30a45a5fcdbb6627635e7433c6

it's GA now: https://azure.microsoft.com/en-us/updates/upgrade-your-existing-azure-gen2-vms-to-trusted-launch/


Efficient Application of Bias Correction

xclim version:
Python version:
Operating System:

Description
I am trying to use xclim to bias correct precipitation from ECCC's GEPS product (ensemble NWP) and correcting it against CaPA data. The NWP model has 20 ensemble members and 16 lead times in the forecast. The data is applied to N different watersheds (each with a single timeseries and not gridded data). Through some research it was determined that each GEPS lead time has a slightly different bias. The EQM method was selected and parameters for EQM are pre-computed. The current code takes quite a bit of time to run and I would like to know if there are ways to speed it up. Particularly around the nested for loops. Is there a built in xarray function or xclim function?
What I Did
Assume we start with a bit of house keeping, imports, identifying folders, etc.
def process_each_lead_time(leadtime_length,ini_time,geps_fcst,path_eqm_par_folder,path_output_geps,realizations,stations):

    # define the time slot for this leadtime
    ltime_start = ini_time + np.timedelta64(leadtime_length*i_ltime, 'h')  + np.timedelta64(1,'h')
    ltime_end = ini_time + np.timedelta64(leadtime_length*(i_ltime+1), 'h')

    #select geps dataset within the time slot
    geps_fcst_ltime = geps_fcst.sel(time=slice(ltime_start, ltime_end)).copy(deep=True)

    # read eqm parameters for this lead time
    eqm_pars = xr.open_dataset(os.path.join(path_eqm_par_folder,"Leadtime_"+str(i_ltime + 1) + "_EQM.nc"))
    eqm_pars.close()

    # correct geps for each station and realization
    for i_stations in range(0,len(stations)):
        i_station = stations[i_stations]
        geps_fcst_ltime_station = geps_fcst_ltime.sel(stations=i_station)

        stn = station_names[i_station]
        with open("../../Export/GEPS_FCST2/log.txt", "a") as f:
            print("INFO: processing station", i_station, "or", stn, ",at leadtime ",i_ltime, file=f)
            # print(i_station, file=f)
        for i_ens in range(0,len(realizations)):

            i_en = realizations[i_ens]

            # select parameter for this station and this realization
            idx = i_stations*22 + i_ens
            EMQ_par = eqm_pars.sel(station_ens = idx)

            geps_ltime_uncorrect = geps_fcst_ltime_station.sel(realization = i_en)["PC_NWP"]

            #create EMQ model based on this parameter
            QM_model = sdba.EmpiricalQuantileMapping.from_dataset(EMQ_par)

            # correct geps forecast
            geps_ltime_corrected = QM_model.adjust(geps_ltime_uncorrect,extrapolation="constant", interp="linear")
            geps_ltime_corrected = geps_ltime_corrected.fillna(0)
            geps_ltime_corrected = xr.where((geps_ltime_corrected>1000),0,geps_ltime_corrected)

            # assign forecast to the dataset
            geps_fcst["PC_NWP_CORR"].loc[dict(time=slice(ltime_start, ltime_end),realization = i_en,stations = i_station)] = geps_ltime_corrected.values

    return geps_fcst

#loop for lead times
for i_ltime in range(0,n_leadtimes):

    start_time = time.time()

    geps_fcst = process_each_lead_time(leadtime_length,ini_time,geps_fcst,path_eqm_par_folder,path_output_geps,realizations,stations)

    print("Total time for each leadtime is ",time.time() -  start_time)

geps_fcst["PC_NWP_CORR"].attrs['long_name'] = 'PC_NWP_CORR'
geps_fcst["PC_NWP_CORR"].attrs['ensemble'] = 'GEPS_CORR'
geps_fcst["PC_NWP_CORR"].attrs['units'] = 'mm'
geps_fcst = geps_fcst.drop_vars("PC_NWP")
geps_fcst.to_netcdf(path_output_geps)

geps_fcst.close()

What I Received
This function works and provides the expected results. With the parallel code modified below it takes ~25 min to run. This process applied to ~150 sites with only a 14 day forecast lead time.
from joblib import Parallel, delayed

output_ncs = Parallel(n_jobs=4)(delayed(process_each_lead_time)(leadtime_length,ini_time,geps_fcst,path_eqm_par_folder,path_output_folder,realizations,stations,i_ltime) for i_ltime in range(0,n_leadtimes))

Hi @kckornelsen!
There are multiple levels to answer your question.
1. Vectorize the computation
xclim is based on xarray and it already knows how to apply an operation over a given dimension but at the same time over all the other dimensions. You don't need to explicitly iterate over stations and realization, as long as your calibration data is the same shape as the simulation data (except for the 'time' axis). which it should be if you used xclim to generate it.
All sdba adjustment method will take a group argument that  indicates over which dimension is the process applied. In your case, I assume a simple group='time' was passed? Even if you were using the moving window feature (time.dayofyear), the answer below would stay the same.
Here's a rewrite of your code that drops the explicit for loops. I did not test this and I might have overlooked specificities of your data. But  I can try to improve the example if you have specific errors. I added comments prefixed with PB: .
def process_each_lead_time(leadtime_length,ini_time,geps_fcst,path_eqm_par_folder,path_output_geps,realizations,stations):

    # define the time slot for this leadtime
    ltime_start = ini_time + np.timedelta64(leadtime_length*i_ltime, 'h')  + np.timedelta64(1,'h')
    ltime_end = ini_time + np.timedelta64(leadtime_length*(i_ltime+1), 'h')

    #select geps dataset within the time slot
    geps_fcst_ltime = geps_fcst.sel(time=slice(ltime_start, ltime_end)).copy(deep=True)

    # read eqm parameters for this lead time
    # PB: I am assuming the trained data has the same shape as the simulated data (except for the time dimension of course)
    eqm_pars = xr.open_dataset(
        os.path.join(path_eqm_par_folder,"Leadtime_"+str(i_ltime + 1) + "_EQM.nc"),
    )

    geps_uncorrect = geps_fcst_ltime["PC_NWP"]

    #create EMQ model based on this parameter
    QM_model = sdba.EmpiricalQuantileMapping.from_dataset(EMQ_pars)

    # correct geps forecast
    geps_corrected = QM_model.adjust(geps_uncorrect, extrapolation="constant", interp="linear")
    geps_corrected = geps_corrected.fillna(0)
    geps_corrected = xr.where((geps_corrected > 1000), 0, geps_corrected)

    # assign forecast to the dataset
    geps_fcst["PC_NWP_CORR"] = geps_corrected
    return geps_fcst

The issue could be RAM usage. You said you have 150 stations and 20 members. GEPS is usually 2 weeks long, isn't ? With 3-hourly data, that's 112 timesteps.  112 x 150 x 20 x float64 ~ 2.5 MB. That's extremely small. Xclim has been used on datasets larger than 10 GB, with success.
I also see that your trained data doesn't have the same shape than what I expected. Was it generated with xclim?
In that case, the logic is the same.
As you can see, this had the side effect of removing the logging. Hopefully, it will be fast enough and you won't need it?
2. Parallelism
A second answer to your question is : best performance is achieved using dask.  xclim was created with large datasets in mind and sdba even more so. We decided to follow the steps of xarray and make  dask the core module for parallelism and lazy computation.
Quickly : dask operates transparently with xarray and numpy. The idea is to divide the data into "chunks". Each time an operation is requested on a xarray DataArray, the operation is done in parallel on each chunk. Moreover, the computation is not actually done unless requested. So after a few xarray operations, what you have is a graph of operation and chunks. Upon computation (ds.load() or ds.to_netcdf(...) for example), dask will try to optimize this graph and run the operation in parallel, as efficiently as possible, efficient in speed as well as memory usage.
I invite you to read some tutorials about using xarray and dask (for example this one) and look at the examples in the xclim doc.
In your case, using dask might not even be useful, as the data is so small. I usually recommend using chunks between 10 and 20 MB.
Here's another version using dask:
import dask
from dask.diagnostics import ProgressBar

# PB: set dask's configuration, 4 processes.
# PB: The default method uses as many _threads_ as there are cpu cores on the machine
# PB: This is a bit annoying, but _threads_ are not optimal for some of the operation sdba uses, so we switch to _processes_
dask.config.set(num_workers=4, scheduler='processes')

# PB: For the example, I am chunking the data along the stations dimension.
# PB: Choosing the optimal chunks is not easy. For sdba you should never chunk along "time".
geps_fcst = xr.open_dataset(
    path_to_geps
    chunks={'stations': 1}
)

def process_each_lead_time(leadtime_length,ini_time,geps_fcst,path_eqm_par_folder,path_output_geps,realizations,stations):

    # define the time slot for this leadtime
    ltime_start = ini_time + np.timedelta64(leadtime_length*i_ltime, 'h')  + np.timedelta64(1,'h')
    ltime_end = ini_time + np.timedelta64(leadtime_length*(i_ltime+1), 'h')

    #select geps dataset within the time slot
    geps_fcst_ltime = geps_fcst.sel(time=slice(ltime_start, ltime_end)).copy(deep=True)

    # read eqm parameters for this lead time
    # PB: I am assuming the trained data has the same shape as the simulated data (except for the time dimension of course)
    eqm_pars = xr.open_dataset(
        os.path.join(path_eqm_par_folder,"Leadtime_"+str(i_ltime + 1) + "_EQM.nc"),
        chunks={'stations': 1}  # PB: so the chunks fit the ones on "geps".
    )

    geps_uncorrect = geps_fcst_ltime["PC_NWP"]

    #create EMQ model based on this parameter
    QM_model = sdba.EmpiricalQuantileMapping.from_dataset(EMQ_pars)

    # correct geps forecast
    geps_corrected = QM_model.adjust(geps_uncorrect, extrapolation="constant", interp="linear")
    geps_corrected = geps_corrected.fillna(0)
    geps_corrected = xr.where((geps_corrected > 1000), 0, geps_corrected)

    with ProgressBar():
        # PB: the computation will be done here.
        geps_corrected.load()

    # assign forecast to the dataset
    geps_fcst["PC_NWP_CORR"] = geps_corrected
    return geps_fcst

3. Vectorize along lead times too
If solution 1 works well, you might be able to vectorize along the lead times as well, instead of iterating. I mean we will extract all lead times and stack them over a new dimension before adjusting, and then we'll unstack each lead times. We have helpers in xclim for this kind of data restructuration, but it was meant for applying adjustment daily data on moving multi-year windows, so it might not be ideal. It also uses more xarray magic, so it looses points on the "readability" side.
I'll try to put an example with this later.

Hi @aulemahal  @kckornelsen , this is supper interesting~!!!. We obtained EQM parameters for each station and realization one by one and then combined them into one nc file. This is why you see the parameter file has a different structure from the GEPS forecast data.
We want to follow your instruction and apply the code in ( [1] Vectorize the computation).
The problem I have is that I am unsure how to properly create an EQM parameter file with the same structure as the forecast data.
Would you please provide me a simple example that creates the EQM parameter across different dimensions?
Thank you in advance~!
Ming
PS:
The following is the EQM parameter file I have. The dimension "station_ens" is created by unique combination of stations and realizations.
Dimensions:      (quantiles: 20, station_ens: 3255, month: 12)
Coordinates:
  * quantiles    (quantiles) float32 0.025 0.075 0.125 ... 0.875 0.925 0.975
  * month        (month) int64 1 2 3 4 5 6 7 8 9 10 11 12
  * station_ens  (station_ens) int32 0 1 2 3 4 5 ... 3404 3405 3406 3407 3408
Data variables:
    af           (station_ens, month, quantiles) float64 ...
    hist_q       (station_ens, month, quantiles) float64 ...
Attributes:
    group:               time.month
    group_compute_dims:  time
    group_window:        1
    _xclim_adjustment:   {"py/object": "xclim.sdba.adjustment.EmpiricalQuanti...
    adj_params:          EmpiricalQuantileMapping(group=Grouper(name='time.mo...

Hi @aulemahal, I modified the existing xclim examples and tested the Vectorize approach in [1]. It seems to have worked. Here is the example code. Would you please let me know if you notice something wrong with this example code?
Thanks
Ming
t = xr.cftime_range("2000-01-01", "2030-12-31", freq="D", calendar="noleap")
vals = np.random.randint(0, 1000, size=(t.size,2,2)) / 100
vals_ref = (4 ** np.where(vals < 9, vals / 100, vals)) / 3e6
vals_sim = (
    (1 + 0.1 * np.random.random_sample((t.size,2,2)))
    * (4 ** np.where(vals < 9.5, vals / 100, vals))
    / 3e6
)
pr_ref = xr.DataArray(
    vals_ref, coords={"time": t,"realization":[1,2],"lat":('station',[2,3])}, dims=("time","realization","station"), attrs={"units": "mm/day"}
)
pr_ref = pr_ref.sel(time=slice("2000", "2015"))
pr_sim = xr.DataArray(
    vals_sim, coords={"time": t,"realization":[1,2],"lat":('station',[2,3])}, dims=("time","realization","station"), attrs={"units": "mm/day"}
)
pr_hist = pr_sim.sel(time=slice("2000", "2015"))

sim_ad, pth, dP0 = sdba.processing.adapt_freq(
    pr_ref, pr_sim, thresh="0.05 mm d-1", group="time"
)
QM_ad = sdba.EmpiricalQuantileMapping.train(
    pr_ref, sim_ad, nquantiles=15, kind="*", group="time"
)
scen_ad = QM_ad.adjust(pr_sim)


Empty fields disabled in edit mode - record list block with Inline record editor

In edit mode, the record list block (with "Inline record editor" set to YES) allows editing of fields with non-empty values (e.g., name1), but fields with empty values cannot be edited and are disabled.
However, when accessing the record page of the field module, editing the field is possible.

version : 2023.9.7

Cant seem to replicate this, double check you have the latest 2023.9.7 version, please.
Otherwise could be due to permissions but I'm not sure.

I can confirm that the problem was resolved by pulling the 2023.9.7  image again.
Old :

New:


Added more detail for how to check if a joined cluster is ready.

Added some detail to let end user check Status.Conditions for
cluster info.

/lgtm


[Xcodeproj] Add "CLANG_ENABLE_OBJC_ARC = YES" as default

Some frameworks are contains ObjC target. And these are almost requires ARC.

Thanks, LGTM. Just needs a test case :)

@swift-ci please test

@ddunbar @abertelrud  can either of you take a quick look?

@swift-ci please test


Document how to check binary RPMs with Testing Farm

Follow up to https://github.com/packit/packit.dev/issues/601
Blocked on:

https://gitlab.com/testing-farm/general/-/issues/65
https://issues.redhat.com/browse/TFT-1574

rpminspect allows analyzing binary RPMs and that's how it runs on dist-git. Let's document how to do this with Packit and Testing Farm once the RPM files are available in the testing environment.
(we could download them ourselves in theory but if this is what TF is meant to do, let's do it the right way)

The latest release of TF should now unblock this, so we can test this out and document it.

Also, one thing to consider. How about making these tests reusable so that they can be imported? E.g.:
plan:
    import:
        url: https://github.com/packit/packit
        name: /rpmlint

Good point from @LecrisUT about the shared "library" for such tests.


How to fix a number of variables in predicted equations

Could you tell me, How to fix a number of variables in predicted equations?  For example, I'm giving 5 variables as input, I need an equation with these 5 variables.
At present, I'm getting a number of equations, which is good, but not with all variables.
Thank you.
You have provided a detailed example in Python, Please provide a detailed example in Julia also.
Thank you

Hi @MrBenzWorld,
I think this post has the same question: https://github.com/MilesCranmer/PySR/issues/44. Basically, you can't (by default). You could try to program this yourself, though, by modifying the function eval_loss to punish an expression for not using one of the five variables.
The Julia example is shown here: https://github.com/MilesCranmer/SymbolicRegression.jl#quickstart - many of the options are the same as in PySRRegressor, although sometimes they have different names.
Best,
Miles


tags missing on response of Azure Resource Management REST API

This issue is transfered by https://github.com/MicrosoftDocs/feedback/issues/657 from @Qq20180503
Describe the bug
I filter Azure Resource Management REST call on tags. However, the response is just displaying the filtered resources not including "tag".
To Reproduce
Steps to reproduce the behavior:

Go to Resources - List. https://docs.microsoft.com/en-us/rest/api/resources/resources/list
Click on 'Try it'
Scroll down to Add the $filter parameter with values tagname eq 'abc' and tagvalue eq '123' .
Screenshot1
See the response just show the filtered resource not include specified "tag".
Screenshot2

Expected behavior
The response should be filtered resources including "tag".
Screenshots
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Triaged and removing my assignment.

For reference, link to original question in StackOverflow: https://stackoverflow.com/questions/52111528/how-to-filter-azure-resource-management-rest-call-on-tags
@marstr thanks for looking into the issue. Could you help me to understand what triaged means, and any ideas about when this could be fixed?

Howdy @haschdl,
This repository is a landing spot for about 100 teams at Microsoft. My team curates the repository and the issues deposited here, but doesn't have the capacity to change server-side behavior. By labeling it as related to ARM, we have some automation that will add this issue to the service team's internal bug-tracker.

Any updates on this issue?
We need to make a separate call again for getting the tags for several resources.
Any ETA on this one?

Without oData filter

With oData filter

Hi all - we are actively working on a solution set to rollout shortly. In the meantime, our REST API documentation has been updated to specify that resource tags are not returned when querying by tags themselves - thanks!

@tim-nguyen-cs Is there an open work item we can follow to get updates when this is fixed?

Hi @KalyanChanumolu-MSFT - I can re-open this issue intermittingly and update you when this change has been rolled out and is successful.


CIV-000 Hmc demo branch v2

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

https://github.com/hmcts/civil-service/pull/3004 updated PR here


Regions in ~/.aws/config and ~/.okta/profiles are overwritten

Describe the bug
Regions that are set in ~/.aws/config are overwritten with the default region when creating a new profile. Likewise, regions set in ~/.okta/profiles are overwritten when renewing credentials.
To Reproduce
Steps to reproduce the behavior:
Overwriting ~/.aws/config

Create a new profile in ~/.aws/config with a region other than default
Call okta-aws and setup a profile of the same name
Open ~/.aws/credentials to see the profile's region set to the default

Overwriting ~/.okta/profiles

Call okta-aws and setup a new profile
Edit ~/.okta/profiles and ~/.aws/credentials to set the region of that profile to a different region
Let the credentials expire
Renew the credentials by calling okta-aws using the profile
Open ~/.aws/credentials and ~/.okta/profiles to see the profile's region set back to the default

Expected behavior
When creating a profile, okta-aws should preserve the region of an existing profile set in ~/.aws/config.
Similarly, renewing credentials for an existing profile should not overwrite the region as defined in ~/.okta/profiles.
Additional context
I believe this issue was supposedly fixed with #91 but I can't seem to get okta-aws to retain the region set in ~/.aws/config

Looks like this was actually fixed by using #331
Closing now


Fetching User_id from Http Get request!!

Rasa Core version:
0.12.3
Python version:
3.6.7
Operating system (windows, osx, ...):
Ubuntu 18.04
Issue:
Hi guys! So I have created a bot for my web app and uploaded it on AWS so that my web app can send a GET request and get the response from the rasa_core. But for a specific user i need to pass an id in the GET request. like :
http://my_ip_.amazonaws.com:5005/conversations/27/respond?q='who is online today?'
So i want to track this 27 in my action file so that i can make an api call using this id as a parameter.
OR
IF you can  suggest a way that I can get the user_id in the start of conversation when my user opens the bot widget. I tried to set as user_id = tracker.get_slot('recipient_id')  but this doesn't work!
Any help is appreciated. I'm stuck on this issue for 2 days!
#1 See my GET request: http://my_amazon_ip:5005/conversations/27/respond?q=hello
so 27 here is a unique user_id that i want to fetch.
#2 My response
[{"recipient_id":"27","text":"Hey! What can I do for you?"}]
so now I want to track that id 27 and use it inside a custom function for calling the APIs. Please respond and help :(  @akelad @JustinaPetr
Content of domain file* (if used & relevant):

Please ask these kind of questions in our forum

Please ask these kind of questions in our forum

I tried there for 3 days. No one responded on my question. :(


Avoid mentioning Ergo by name; cross v1/v2 compatibility.

Ergo was PHP namespaced between its v1 and v2. Avoid mentioning it by name, so that Relax can work with either version.
Depends on these Ergo PRs which remove type hints (type requirements, really):

https://github.com/99designs/ergo/pull/22 (ergo v1)
https://github.com/99designs/ergo/pull/23 (ergo v2)

In lieu of CI:
root@8f05deab0e9e:/relax# vendor/bin/phpunit
PHPUnit 3.7.10 by Sebastian Bergmann.

The Xdebug extension is not loaded. No code coverage will be generated.

.............................

Time: 0 seconds, Memory: 7.50Mb

OK (29 tests, 53 assertions)


Secrets concepts page engineering review

Regarding the Secrets concept page:

[ ] Is the doc representative of the facts? Are the topics covered on the page accurate?
[ ] Are there features of this topic not covered in the guide? Is there anything missing?
[ ] Are there features listed in the guide that no longer exist?
[ ] Are we covering the right concepts and providing relevant use cases/ examples?

Some things that should be updated as I was reading through the page:

https://github.com/pulumi/pulumi-hugo/blob/ec2b6fed8fd7c58cc8d397ac1fed3f20ec170f79/themes/default/content/docs/concepts/secrets.md?plain=1#L82-L83
- Setting `configuration.${KEY}.Secret: true` when reading a value from the config.
- Calling `Fn::Secret` to construct a secret from an existing value.

Should be
- Setting `config.${KEY}.secret: true` when reading a value from the config.
- Calling `fn::secret` to construct a secret from an existing value.

https://github.com/pulumi/pulumi-hugo/blob/ec2b6fed8fd7c58cc8d397ac1fed3f20ec170f79/themes/default/content/docs/concepts/secrets.md?plain=1#L179-L181
configuration:
  mySecretValue:
    secret: true

Should be:
config:
  mySecretValue:
    type: string
    secret: true

https://github.com/pulumi/pulumi-hugo/blob/ec2b6fed8fd7c58cc8d397ac1fed3f20ec170f79/themes/default/content/docs/concepts/secrets.md?plain=1#L236
Similarly, if our program attempts to print the value of `dbPassword` to the console-either intentionally or accidentally-Pulumi will mask it out:

I don't know if we want to get into it at all, but it may be worth noting in a note that only config values marked as secrets are masking out. Marking a secret via pulumi.secret("foo") isn't going to mask out "foo" from log console output unless the value "foo" was also a secret config value. I've seen folks be confused over this.

https://github.com/pulumi/pulumi-hugo/blob/ec2b6fed8fd7c58cc8d397ac1fed3f20ec170f79/themes/default/content/docs/concepts/secrets.md?plain=1#L610
With Pulumi ESC, you can manage secrets wherever they live. [...]

Should we have "Pulumi ESC" link to a main page on ESC that explains what it actually is? Maybe https://www.pulumi.com/docs/concepts/environments/ ?


Make SendResult more general to use

Currently SendResult's messageId is a String , in my case ,message id is a object with custom field ,i wonder if it can be a generic type like SendResult<T> ? Thanks for you time
public interface SendResult {
    /**
     * The unique message id related to the {@code SendResult} instance.
     *
     * @return the message id
     */
    String messageId();
}

@aCoder2013 Yes, welcome to do that~