bridge, macvlan, others? do not set the gateway on the route

First raised in https://github.com/coreos/rkt/issues/862
bridge does correctly sets the IP on on the bridge (if isGateway is true) but not on the route.

This is actually per current spec:
gateway is the default gateway for this subnet, if one exists. It does not instruct the CNI plugin to add any routes with this gateway: routes to add are specified separately via the routes field.
However this will cause a lot confusion and needs to be changed.

I suggest we add a field isDefaultGateway that causes an additional route with <IP_ADDRESS>/0 for IPv4 for now. The default for this field shall be true since that's what most people expect as you already pointed out.


ExportReportObjects.cs accumulating report pages when looping through multiple .pbixs

Observing cases where the ReportObjects_Visuals.txt from using "Method 2" for multiple .pbix results in all of the pages from the first report also being associated to the second.  Then all those pages also being associated to the third report.  Then all those pages also being associated to the fourth and so on.
No issue with Method 1 for a single .pbix.
This is an incredibly helpful tool but may create confusion when using across multiple .pbixs.
TE version 2.16.1.
Example: Created 3 .pbixs each having one page.  First .pbix shows the one page correctly, but subsequent reports scanned repeat the report + page listed previously.

Thanks for reporting. This is fixed in v1.0.6 (https://github.com/m-kovalsky/Tabular/blob/master/ExportReportObjects.cs).


regular expression is not case sensitive although configured like this in code

Describe the bug
when defining a regular expression for PR body, it should be case insensitive (according to this line of code: const regex = new RegExp(regexString, 'mi') ) , however , in actual it is case sensitive.
To Reproduce

define a workflow with the following regex: (relat|fix|resolv|clos)(e)*(s|d)* Vorlon-inc\/etc#\d+
create a PR with the following content in body: closes Vorlon-inc/etc#999 - check will pass
update the PR body to : closes Vorlon-Inc/etc#999 - check should pass as well but fails

Expected behavior
regex should be case insensitive.
Additional context
in general , it might be a better option to make the regex flags configurable (either by a parameter or as part of the regex itself [remove the flags from declaration and let them be part of the string i.e - /(relat|fix|resolv|clos)(e)*(s|d)* Vorlon-inc\/etc#\d+/mi ]

Hi @shimonelbaz thanks for filing this! I have tried to reproduce in a private repo without success so far, and I tried adding a unit test on a local branch for this but the test passes. I'll make one or two more passes at the repro but if you have a public one to point me to, that may help.

hey @mtfoley , we are using an org repo but it is private.
thank you for the rapid response! i will try and do it with some more specific procedure and update here.

Hi,
i am closing this issue , seems like i made a mistake and the content was HTML formatted and that is why the regex did not catch it, not because of case sensitivity. the actual content was a url which of course has a different format.

Got it. Please don't hesitate to file an issue if you come across bugs or features you feel would be appropriate 😀 you may have some opinions on #311, since right now it would work differently (if at all) on private repos.


Long issue & PR backlog

This is a meta-issue. As of 2015-07-21, there are 215 open issues and 96 (!) open PRs. @chjj, are you interested in community help with maintaining marked? Some good first steps might be setting up the repo on CI to attach test pass/fail reports to PRs, triaging open issues / PRs, closing old issues, and asking for more eyes and hands. I'm happy to help with any of the above if you'd like.

Hey @jden, see #618.

@rgbkrk thanks :) I'll close this as a dupe.


docs(fcm): add documentation for localized strings in notifications

Description
Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change.
Related Issues
#2436
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (melos run analyze) does not report any problems on my PR.
[ ] I read and followed the Flutter Style Guide.
[ ] I signed the CLA.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[X] No, this is not a breaking change.

@kevinthecheung Can you check this change please?

@kevinthecheung Thanks for your suggestions, I've updated the PR :)


WindowsError: [Error 183] : 'D:\code\mitmproxy\venv/tcl/tcl8.5'

Steps to reproduce the problem:

open  win 7 64bit cmd.exe
neweast mitmporoxy
run dev.bat. happen error:

Traceback (most recent call last):
  File "d:\tools\python27\lib\runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "d:\tools\python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "D:\tools\Python27\Scripts\virtualenv.exe\__main__.py", line 9, in <module>
  File "d:\tools\python27\lib\site-packages\virtualenv.py", line 711, in main
    symlink=options.symlink)
  File "d:\tools\python27\lib\site-packages\virtualenv.py", line 924, in create_environment
    site_packages=site_packages, clear=clear, symlink=symlink))
  File "d:\tools\python27\lib\site-packages\virtualenv.py", line 1136, in install_python
    copy_tcltk(prefix, home_dir, symlink)
  File "d:\tools\python27\lib\site-packages\virtualenv.py", line 1077, in copy_tcltk
    copyfileordir(srcdir, dstdir, symlink)
  File "d:\tools\python27\lib\site-packages\virtualenv.py", line 327, in copyfileordir
    shutil.copytree(src, dest, symlink)
  File "d:\tools\python27\lib\shutil.py", line 177, in copytree
    os.makedirs(dst)
  File "d:\tools\python27\lib\os.py", line 157, in makedirs
    mkdir(name, mode)
WindowsError: [Error 183] : 'D:\\code\\mitmproxy\\venv/tcl/tcl8.5'

What is the expected behavior?
INSTALL  mitmproxy on win7
What went wrong?
venv.. tcl
Any other comments? What have you tried so far?
already install ActiveTcl<IP_ADDRESS>.299124-win32-x86_64-threaded . Still can't run this command。

Mitmproxy Version:  master ..  commit hash.. ccf4723505935f759c1bff5c5cc7d6d986726422
Operating System: win7+cygwin

This looks like an error with your Python/pip/virtualenv version, unrelated to mitmproxy. Can you reinstall Python and try again?

already reinstall pip and python


old ibridge and post-me community update and migration guides

Make sure that we

deprecate old repos in favor of this one
deprecate post-me npm package in favor of this one
provide links from those old places into this one
perhaps migrate issues from the old repos to this one
create migration guides from old ibridge and post-me into new ibridge

On the post-me side the only thing that is left to do is to deprecate the published npm package (I'll do it as soon as we publish the first release post merge).
All other items were done automatically when I transferred the ownership of the github repo to the new organization.


compiling failed with vs2019

i was able to resolve NuGet Package version by looking on past issues but after this, i can't compile the code.

i was able to resolve the first 2 errors that where related to the output metadata by using this solution:
https://stackoverflow.com/questions/1421862/metadata-file-dll-could-not-be-found
but i'm still not able to solve the issue of the not existing tags in the XML..

Latest master is the alpha 4.x version. It requires .NET core 3.1 with ASP.NET and WPF modules.


Servant activating NP on the first wave despite script saying otherwise

Intended Output: Wipe the first wave with face cards (takes 3-4 turns), clear the second wave with Nitocris's NP and some more face cards (2-3 turns), and then finally clear the 3rd wave with Gil.
My Output: For some reason, Nitocris activates her first two skills (a,b), then unleashes her NP on the second turn on the first wave despite the script not wanting that. I have set Cast Noble Phantasm to none, so there shouldn't be any unexpected NPs.
This is my setup: (support is a waver)

0,0,0,0,0,#,ab4,x11,#,afeihg1d1jkt14

See #462


Docker containers does not start on docker run

Now in the context of using your Docker container in container platforms like OpenShift or in a orchestration platform like Kubernetes, this is a bit of a no-no.
I'm proposing to add another CMD layer that would be used by container platforms to tell the container to start instead of dropping to the shell, which would cause a back off in OpenShift/Kubernetes,
This is doable in CPU but GPU would need some special configuration, which makes it a bit unachievable at the moment.

A copy of my response from PR:
Our dockerfiles are primarily made for development usage — i.e. you can start the container, attach to a shell inside of it, run some scripts (training, metrics, etc). Your change makes it very specific, suitable only for production deployment, so I think we can't accept it right now.
If you want to run it in your favorite environment, you'd better set the docker run command (like in https://github.com/lukalabs/cakechat/blob/master/README.md#quick-start) or write your own Dockerfile which includes our docker image by making use of FROM statement and build it.
So I'm closing the issue for now.


Replacement for IPluralizationService

I'm trying to convert a site from Entity Framework 6 to Entity Framework Core. In my database context, I have some code like this:
// Remove "Model" suffix for models ("ProjectModel" -> "projects")
var pluralizationService = DbConfiguration.DependencyResolver.GetService<IPluralizationService>();
modelBuilder.Types().Configure(config =>
{
	var cleanName = config.ClrType.Name.Replace(MODEL_SUFFIX, string.Empty).ToLowerInvariant();
	config.ToTable(pluralizationService.Pluralize(cleanName));
});

Is there a replacement for IPluralizationService? After reading #3060, my understanding is that pluralisation is no longer done automatically by Entity Framework. However, is the previous implementation of IPluralizationService available as a standalone project? In my cases I could just append an "s", I'd really like to use a proper pluralisation library though, and the one included with EF6 worked very well for my use cases.
Thanks!

@Daniel15 There is no replacement in EF Core and we don't plan to add one at this time or make the previous one available standalone. Rowan's post here: https://romiller.com/2017/02/10/ef-core-1-1-pluralization-in-reverse-engineer/ uses an external pluralization service. Maybe you could use this for your needs?

Thanks @ajcvickers! It turns out I don't even need this due to the fact that EF Core uses the DbSet property name as the table name by default (#4688).


Stop supporting OSes that don't support themselves

Currently GAM runs on:
Windows 7 (maybe even Windows XP still?)
MacOS 10.12 Sierra
Ubuntu 12.04
these operating systems are no longer receiving updates from their vendors. This leaves them vulnerable to hacking.
GAM is an extremely powerful application that has direct access to perform G Suite admin actions and access end user data including mail, calendar and drive files.
For the safety and security of GAM users (and their organizations and users), GAM should require the admin to run on an OS that is receiving (at least) security updates from it's vendor.
Steps that can be taken now:

Stop building GAM on MacOS 10.12 Sierra
Stop building GAM on Ubuntu 12.04

TBD:

Can GAM detect if it's running on an abandon OS version and either refuse to run or nag the user to upgrade? This will likely be necessary for Windows and the legacy Linux build since they offer compatibility to very old OS versions.
Can GAM warn a user if the OS they are running is approaching vendor abandonment? (e.g. MacOS 10.13 will EoL in Sept, warn users to consider upgrading now.

@taers232c FYI, I'd recommend your GAM versions perform similar actions, while we generally strive to make GAM run everywhere compatibility should not take a higher priority than security.

I just realized Ubuntu 14.04 Trusty is EOL also. Working to get it removed from builds.

IMO it's not the application's place to tell the user where to run it. If the user is running an EOL OS then these are issues that GAM is both unable and unsuitable to try and fix.
In particular, this sort of custom behavior also impedes the ability of GAM to adopt a more standard packaging approach (such as a setup.py as noted in #1140).

To clarify, I of course am not saying that the application should support every OS version there is - GAM certainly must define a minimum requirement. However, it's not within the scope of the application to manage complaints about the OS environment within the application itself. By utilizing e.g. setuptools to standardize the installation, you can specify the python requirements, which is what GAM should be managing. If the user is using an outdated OS but with updated Python libs/dependencies, then the user either has a reason for doing so or has much bigger problems than GAM can possibly hope to fix.

Agreed that it's not the apps job but it is an apps duty to report obvious, egregious security issues where it can.
GAM won't be able to go so far as confirming the OS has the latest patches or in the case of Linux, even confirming it's not EOL (unlike Windows and MacOS, there's no central authority on which distro vesions are EOL). However where we see obvious issues here we can provide guidance to the admin that if followed will improve their security posture.
None of this work should interfere with setup.py / pip-installable work though in some cases such as installing GAM on a very old version of Linux (that somehow has a modern enough Python) the install may succeed but GAM warn the user about old versions.
FYI I intend to have this work similar to how the check for GAM updates currently works. If an old OS is found then GAM will warn the user but the user can always override by creating a file like nooscheck.txt.

There's a fundamental issue of GAM overstepping its bounds. GAM is a useful tool, like ls or vim. Imagine if all of these tools had their own OS checker, update checker, and custom installers. It'd be pure madness! GAM need only worry about creating installations that are common to the Python ecosystem (e.g. setuptools) and then work on improving the program itself. Anything more than than and it's an unwise use of time at best and an unmaintainable security problem at worst.

Thanks for the input @zingyb but I think we'll just disagree here.

Extended security updates for Windows 7 last until 2023. Should GAM run on a computer running Windows 10 if it doesn't have the latest security updates? What if it is missing a patch that allows remote code execution, but that patch has only existed for one day? The situation gets even more complex on Linux where OS version is a generalization. What if you are running Ubuntu with some packages from 14.04 and some packages from 16.04? What if you are running under OpenVZ where your kernel version does not match your VM's OS version? What about chroots?

You can give a warning to a user but surely it shouldn't be up to GAM to decide when a user needs to upgrade.
Besides, and I could be wrong, but GAM has had (not tried it since) a big flaw for years. I mentioned this at work years ago but nothing was ever done.
Once GAM is setup on a users machine their account is now essentially fulnerable. If anyone is able to get on that machine and copy the GAM folder to their machine. They now have full admin access to do as they wish with that account via GAM and never need to actually know what the users password is. I did a video about this a few years back.

Gam should not try to guess what is or is not a supported operating system.
Plebean support for windows 7 is long gone, but many big companies can get MS to support it for years afterwards. Ubuntu's LTS releases expire, but you can pay them for extended security maintenance in which case you are still getting patched.
Gam would have no idea which case you fall into, so it shouldn't bother trying. All it should care is can it run, e.g. are the packages it needs available.

In general here:

GAM supports a lot of operating systems and install methods. It's a lot of surface area for Ross and I to keep up with and it's very common for GAM to break in some strange and confusing way on some segment of installations. When we can reduce scope by removing support for an OS that is no longer supported by it's vendor that reduces our burden also and allows us to focus on making GAM working well on legitimate platforms.
In many cases we don't have much choice here anyway. GAM dependencies such as GitHub Actions, Python and OpenSSL remove support for the old OS.
I understand everyone won't like that GAM is opinionated about what OS versions it supports and I'm OK with that. Generally GAM isn't actively blocking itself from running on old versions, it's just built / tested on newer OS versions which may break backwards compatability. As such admins who really wish to run GAM on an old OS may be able to do so by installing an old Python version and running the GAM source there.


Fix minor typo in GCE Ingress controller FAQ

This change is

Coverage increased (+0.03%) to 44.687% when pulling 30469b54865c2bd713c605ab7c8ab9c8d37723ff on mbssaiakhil:patch-13 into 8332f7318696ee1a38d4b1ff41edc043dd778f56 on kubernetes:master.

/lgtm

@mbssaiakhil thanks!


RFC for std::mem::map()

This RFC provides a function std::mem::map() which can be used to replace a mutable borrow to a new value by consuming the current value.
Note: Example implementation provided, I think it works. Let me know if it is better left out of the RFC.

What happens if the function panics? Can't you observe the uninitialized data from outside?

This is unsound, due to unwinding.

It's a dup of https://github.com/rust-lang/rfcs/pull/1736, which is sound. Implementation is also ready here with tests and documentation.

@ticki Yup you're right. I didn't see that but it is a fully-baked version of this.


How we could check if the organization has already issued an ImmutableID

The documentation says: "If you have already issued an ImmutableID claim for user accounts, set the value of $immutableIDAlreadyIssuedforUsers in the script to $true."
So, how we could check if our client has already issued an ImmutableID?. I have two clients, those clients want to enabled Hybrid Azure AD Join. The Azure AD Connect did not created the claims, so we must configure hybrid azure ad join for federated domains manually.
I must check if my clients has already issued an immutableid

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

ID: 8c829209-9559-6ae3-b57a-8c2f109b4ab7
Version Independent ID: 89269c6f-76d7-5d9d-0f81-56683941054d
Content: Configure hybrid Azure Active Directory joined devices manually
Content Source: articles/active-directory/devices/hybrid-azuread-join-manual.md
Service: active-directory
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@ycedillos Thank you for your feedback . We will investigate an update this thread.

@ycedillos You can check the "Office 365 Identity Platform" relying party trust on the ADFS server for the claim rules if ImmutableId is being issued. You can use the following Powershell cmdlet and run it on the ADFS server to obtain that information.
Get-AdfsRelyingPartyTrust -Identifier "urn:federation:MicrosoftOnline" | Select-Object -ExpandProperty IssuanceTransformRules | Out-File IssuanceTransformRules.txt
In the output file , please search for immutableId because this will provide the information contained in the rule. Alternatively , You can logon to the ADFS server and check the O365 relying party trust for the Issuance Transform rules . You should find this info within the first two rules.
Hope this helps.

@ycedillos We will now close this issue. In case you have any further query feel free to tag me to your reply.
Thank you.


FYI: there is working alternative already

For those who stepped in here in searching for updated and actually working RN PDB solution - the guy contributed recently a lot and fixed issues with sync and attachments:
https://dev.to/craftzdog/hacking-pouchdb-to-use-on-react-native-1gjh

The above link is perfect. I ended up coming to almost the exact same conclusion as @craftzdog and have been using PouchDB with RN successfully this way. The only issue I'm encountering is the database not getting fully destroyed by the time db.destroy() resolves, resulting in unpredictability next time you go to create it if it's unknowingly still there.
In addition to his article, you can read more about the performance issues with pouchdb-react-native here: https://github.com/stockulus/pouchdb-react-native/issues/118

@cjroth How do you deal with .destroy issue?
In my project I'm going to implement destroy as simple way to purge all db docs, are there any issues with creating the same name db after "destroy" old one?

@greenais I haven't really found a good solution yet. I use .destroy when a user logs out, purging all data - similar to you. I've tried generating a random database name each time so that there's never a conflict between old and new data, but even that seems to result in weird, unpredictable behavior (which is extremely weird and worth looking into deeper). I'm thinking a short term fix will be wrapping the destroy method in a promise that just waits for 5-10 seconds and then using something like https://github.com/djhr/react-native-background-execution-ios or https://github.com/ivanzotov/react-native-begin-background-task to ensure that the app has a few extra seconds to finish destroying.
Oddly I had the same issue with the AsyncStorage adapter for pouch too. Maybe it's coincidence or maybe it's a PouchDB-core issue.

@cjroth Did you try to deploy PDB on 64-bit android real device? Unexpectedly (on the edge of release, gosh) I bumped into the fact that in debug mode it works (on device), but once assebled in release apk PDB stops replication with totally uninformative error like:
' !!! PDB _pullDocs ERR: ', { [Error]
  line: 132,
  column: 7285,
  sourceURL: 'index.android.bundle',
  result:
   { ok: false,
     start_time: '2019-10-19T10:35:28.640Z',
     docs_read: 0,
     docs_written: 0,
     doc_write_failures: 0,
     errors: [],
     status: 'aborting',
     end_time: '2019-10-19T10:35:28.657Z',
     last_seq: 0 } }

The same code on same device, how it could be possible?
32-bit version works with no issues though.
Almost smashed my head in the wall googling, trying, failing..

Nope I haven't gotten a chance to try it on Android yet.
On Sat, Oct 19, 2019 at 10:44 Alexander<EMAIL_ADDRESS>wrote:

@cjroth https://github.com/cjroth Did you try to deploy PDB on 64-bit
android real device? Unexpectedly (on the edge of release, gosh) I bumped
into the fact that in debug mode it works (on device), but once assebled in
release apk PDB stops replication with totally uninformative error like:
' !!! PDB _pullDocs ERR: ', { [Error]
line: 132,
column: 7285,
sourceURL: 'index.android.bundle',
result:
{ ok: false,
start_time: '2019-10-19T10:35:28.640Z',
docs_read: 0,
docs_written: 0,
doc_write_failures: 0,
errors: [],
status: 'aborting',
end_time: '2019-10-19T10:35:28.657Z',
last_seq: 0 } }
The same code on same device, how it could be possible?
32-bit version works with no issues though.
Almost smashed my head in the wall googling, trying, failing..
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stockulus/pouchdb-react-native/issues/121?email_source=notifications&email_token=AAEOD4RCCZV7C7HOHE2FVHDQPMMOPA5CNFSM4HDZGN6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBXSCKA#issuecomment-544153896,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEOD4WWEXF66AYGXIFELM3QPMMOPANCNFSM4HDZGN6A
.

--
Chris Roth
cjroth.com http://www.cjroth.com


Plugin throwing unnecessary error when build result has errors

When a build result contains errors it also doesn't include the metafile object in it, which makes the plugin throw an Expected metafile, but it does not exist. error.
This is quite annoying because every time there's a mistake in code in watch mode it pollutes the entire console with this error, instead of showing only the actual code error.
I think a simple solution would be to simply return early if result.errors.length is truthy, and then if there are no errors but still metafile is missing we can throw that error.
After such change it shows only the code error as expected.

Thanks for reporting @eddiemf. Starting with v0.6.0 this should be fixed now.


fix: set asset name, fix  (#3028)

Description
Some time we need get bundle asset name when create a plugin, this PR set asset name, to fix  (#3028)
What is the purpose of this pull request?

[X] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[X] Read the Contributing Guidelines.
[X] Read the Pull Request Guidelines and follow the Commit Convention.
[X] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[X] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

LGTM
Note: I think this may count as a feature and not a fix, as the name is not strictly needed, and plugins are going to start being able to rely on it.

Maybe you're right, i'm  replacing webpack with vite for ruby on  rails,  i found vite manifest can't  work well with the backend. Now, the manifest format like this:
{
  "application.js": {
    "file": "assets/application.b94988c9.js",
    "src": "application.js",
    "isEntry": true,
    "assets": [
      "assets/hg.db495701.png",
      "assets/1.098465ec.png"
    ]
  }
}

if we want to use hg.png or other image in html page(eg: index.html.erb in rails) like this
index.html.erb
<img src="<%= vite_asset_path('images/hg.png') %>" />

There is no way to find the image relationship for hg.png, so i want to generate my custom manifest file with custom format .
{
  "application.js": {
    "file": "assets/application.b94988c9.js",
    "src": "application.js",
    "isEntry": true,
  },

  "images/hg.png": "assets/hg.db495701.png",
  "images/icon/1.png":  "assets/1.098465ec.png"
}

then we can find the image relationship and use the image in html page. That is  the reason  why i need to get asset name.
But i found only use basename is not very useful, i'll close the PR and thonght another way to get set asset name like images/hg.png or images/icon/1.png, thanks.


🐛 Fix compile/runtime Sequin.Redis

#785  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Can't authenticate

Hi there,
I have the following issue when starting mopidy :

ERROR    2024-01-16 10:34:23,040 [8033:QobuzBackend-3 (_actor_loop)] pykka
  Unhandled exception in QobuzBackend (urn:uuid:b33adaaa-53fe-43fd-87da-b58f93b65ab6):
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 186, in _actor_loop
    self.on_start()
  File "/home/studio/.local/lib/python3.10/site-packages/mopidy_qobuz/backend.py", line 35, in on_start
    self._client.login(config["username"], config["password"])
  File "/home/studio/.local/lib/python3.10/site-packages/mopidy_qobuz/client/__init__.py", line 68, in login
    self._auth(email, password)
  File "/home/studio/.local/lib/python3.10/site-packages/mopidy_qobuz/client/__init__.py", line 81, in _auth
    raise AuthenticationError(_get_message(response))
mopidy_qobuz.client.AuthenticationError: Invalid username/email and password combination
ERROR    2024-01-16 10:34:23,040 [8033:MainThread] mopidy.commands
  Actor died: QobuzBackend (urn:uuid:b33adaaa-53fe-43fd-87da-b58f93b65ab6) stopped before handling the message

I have a valid account, my user name is like<EMAIL_ADDRESS>and my password has numbers and uppercase letters.

I close.


cannot get the events sent to application insights

Is there a way for me to call Flush() in order to send the events to Application Insights? Right now, I'm not seeing any show up even though I have the proper key set in the configuration.

Hi Jeff,
the AI sink is merely a very thin wrapper around the official Microsoft API and it sends the log messages your application writes to serilog to AI all non-exception events as event telemetries (see MS documentation) and exception ones as exception telemtries.
I've just updated the sync to use the latest released & stable version of the AI client API but as this was just a bump fromn 1.2.0 > 1.2.3 I assume this won't change anything.
Could you check your AI portal / sub-section for your AI key whether the (custom) events do show up as events there?
Moreover, while the sink itself does not provide any buffering / flushing logic (unless you've wrapped it inside such a serilog sink), AI itself DOES buffer and send at times of its own choosing (see https://azure.microsoft.com/en-us/documentation/articles/app-insights-api-custom-events-metrics/#flushing-data) you might have to wait 'a little' and short-lived applications that end their process before the AI client API sent them over may not send at all - but again, that's MS implementation logic and nothing the sink does or can really influence (at the moment / as-is).
So basically the two important pieces of information for you might be: this sink sends the logged data as events or exceptions to AI and the AI client API used under the hood 'may' delay sending them over.
Let me know if this helped / you did find your events in the AI portal..
Cheers,
-Jörg

Hi Jorg,
I was able to get it to try to send the telemetry but the Application Insights endpoint is returning bad request. I think it is because the TimeStamp is not set properly. When I call Application Insights on my own it works because I can specify the TimeStamp.

And thank you!

Sure thing Jeff - and that's interesting.. digging a little deeper into that. However, I've been using the sink myself for a couple months now and do get events all just fine. Is there anything 'particular' about the logged data (i.e. particularly large messages, maybe some special encoding/character sets etc)?

My console outputs this for one of the events:
Application Insights Telemetry: {"name":"Microsoft.ApplicationInsights.Dev.myKey.Event","time":"0001-01-01T00:00:00.0000000+00:00","iKey":"myKey","data":{"baseType":"EventData","baseData":{"ver":2,"name":"Starting transfer processing task.","properties":{"LogLevel":"Information","LogMessage":"Starting transfer processing task.","LogTimeStamp":"01/09/2016 15:33:55 -05:00","DeveloperMode":"true"}}}}

Notice the time is 0. Not sure why it is doing this. No special encoding or large messages.

Yes that does seem odd - I'll fiddle with it and let you know what I've found / fixed.

Alright Jeff, I've updated the telemetry creation code to include a timestamp for both telemetry types and the package has been built & been published (2.0.27).. nuget.org might take a few minutes to include it in the index but could you give it a try then whether it fixes the problem now?

Works spectacularly well! Thank you Jörg!

Perfect, thanks for reporting it and glad I could help!


chore(client): load bootstrap locally

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.

Quick question, is this our version from the freeCodeCamp CDN, I remember it having some customisations done to its build.

Quick question, is this our version from the freeCodeCamp CDN, I remember it having some customisations done to its build.

Yes, it is from https://github.com/freeCodeCamp/cdn


Loading npy files with 1d data

Is loading of 1D data from an npy file supposed to work like this?
In [33]: from SurfaceTopography import open_topography

In [34]: import numpy as np

In [35]: arr = np.arange(0,10)

In [36]: np.save("test.npy", arr)

In [37]: r = open_topography("test.npy")

In [38]: r.topography(physical_sizes=(10,))
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-38-9ad2a6e19994> in <module>
----> 1 r.topography(physical_sizes=(10,))

~/miniconda3/envs/topobank/lib/python3.7/site-packages/SurfaceTopography/IO/NPY.py in topography(self, channel_index, physical_sizes, height_scale_factor, info, periodic, subdomain_locations, nb_subdomain_grid_pts)
    112                 heights=self.mpi_file.read(
    113                     subdomain_locations=subdomain_locations,
--> 114                     nb_subdomain_grid_pts=nb_subdomain_grid_pts),
    115                 physical_sizes=physical_sizes,
    116                 periodic=periodic,

~/miniconda3/envs/topobank/lib/python3.7/site-packages/NuMPI/IO/MPIFileIO.py in read(self, subdomain_locations, nb_subdomain_grid_pts)
    286             # number of blocks  : length of data in the non-contiguous
    287             # direction
--> 288             nb_subdomain_grid_pts[iy],
    289             # length of block : length of data in contiguous direction
    290             self.nb_grid_pts[iy]

IndexError: tuple index out of range

This seems to be a bug in NuMPI - @AntoineSIMTEK any thoughts?

I wrote it only with 2D in mind. I should at least state this in the docstring.
Could we simply fall back to numpy in the serial case ?

Okay, we should probably make the NuMPI reader more general at some point.

I open an issue. This could be a task for a HiWi

Sounds good

So we'll revert here to the serial reader

I open an issue. This could be a task for a HiWi
https://github.com/IMTEK-Simulation/NuMPI/issues/49


feat: compare accounts and address str

What I did
fixes: #261
Allow address string comparison with accounts.
How I did it
Override __eq__ for AddressAPI to allow comparison with address str.
How to verify it
Before:
contract = owner.deploy(project.ticket)
receipt = contract.mint(receiver, 0, sender=owner)

assert contract.ownerOf(0) == receiver.address

After:
assert contract.ownerOf(0) == receiver == '0xc89D42189f0450C2b2c3c61f58Ec5d628176A1E7'

Checklist

[ ] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)

I didn't include work for comparing ENS strings with AddressAPI but can either open a second issue or wait to merge and add it to this PR. Thoughts?

I didn't include work for comparing ENS strings with AddressAPI but can either open a second issue or wait to merge and add it to this PR. Thoughts?

2nd PR

Not sure where we were talking about this, but the conversion of "1 gwei" to int would be valuable for things like specifying gas prices, as well as comparisions to account balances e.g. assert contract.balance == "1 ether"


[Android] Keystrokes for music are not work

I'm using android ver of tic. When I go to sfx and music editor, I can not use ZSXDCVGBHNJM on the soft keyboard(on screen keyboard) to make sound or enter note. Please fix thanks.

There is an issue open for this already. Closing to avoid duplicate
https://github.com/nesbox/tic.computer/issues/106


Feature/radix UI popovers improvements

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?
Improves styling of popovers
Notifications Center

User Menu Popover:

Closes #244


Fix and cleanup unit tests for aggregation functions

There were 2 assertAggregation functions. One of them can do automatic splitting up to exercise and verify the correctness of combine functions. The other can't. This commit removes all external calls to the latter.

looks good


docs: add rfc for e2e type safety

Description
Please read the RFC for more details here or in the PR.
Type of Change
[ ] Bug Fix
[ ] New Feature
[ ] Breaking Change
[ ] Refactor
[x] Documentation
[ ] Other (please describe)
Checklist

[x] I have read the contributing guidelines
[x] Existing issues have been referenced (where applicable)
[x] I have verified this change is not present in other open pull requests
[x] Functionality is documented
[x] All code style checks pass
[x] New code contribution is covered by automated tests
[x] All new and existing tests pass

@Tehsmash Would you like me to change something in this RFC or can I merge it and can we plan it in the future?


Add documentation URL to README

I always have to search for the documentation link so I was thinking it would be good to add it to the README

good idea


Write a code to check Regular sequence bracket.

@shravan2524 please assign me this i would like to contribute


Problem

The debug command mentioned on the website runs through.
my npm start command gives me:
 λ npm start

><EMAIL_ADDRESS>start /home/serapath/workspace/friends
> npm run build-css && electron index.js 2>&1 | silence-chromium

><EMAIL_ADDRESS>build-css /home/serapath/workspace/friends
> mkdirp dist && stylus -u nib css/app.styl -o dist/ -c

  compiled dist/app.css
[26951:0430/234441:ERROR:browser_main_loop.cc(171)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
/home/serapath/workspace/friends/node_modules/electron-prebuilt/dist/electron --type=renderer --force-device-scale-factor=1 --no-sandbox --enable-deferred-image-decoding --lang=en-US --node-integration=true --enable-pinch-virtual-viewport --enable-delegated-renderer --num-raster-threads=2 --disable-accelerated-video-decode --channel=26951.1.2078180821: symbol lookup error: /home/serapath/workspace/friends/node_modules/leveldown/build/Release/leveldown.node: undefined symbol: _ZN2v89Signature3NewEPNS_7IsolateENS_6HandleINS_16FunctionTemplateEEEiPS5_

But I'm stuck with a window that opens and has a white background and nothing loads.
How can i debug the problem?

I think what you need is npm run rebuild-leveldb first

Yep, leveldb needs to be rebuilt for electron as they forked V8
https://github.com/moose-team/friends#building
https://github.com/atom/electron/blob/master/docs/tutorial/using-native-node-modules.md

thx, that did the job :-)

:sparkles:


Adding support for BnA, Add+Relu, AddN+ReluGrad fusions

This PR adds support for the following fusions

BatchNorm+Activation (inference)
The implementation leverages the fused BnA inference kernel provided by the MIOpen fusion API. Currently only the float datatype is supported. Support for BnA (training) and for fp16 datatype, will be added once the same becomes available in the MIOpen fusion API.

Add+Relu
The implementation leverages a custom HIP kernel, and is available for the float and fp16 datatypes.

AddN+ReluGrad
The implementation leverages a custom HIP kernel, and is available for the float and fp16 datatypes.

Set the env var TF_ROCM_FUSION_ENABLE=1 to enable the fusion.
Currently fusion related VLOG messages will get printed by default, when fusion is enabled. This will be disabled in the near future.

@deven-amd The PR looks a bit too big. Is it possible to break into 2?

BnA
"Add+Relu" + "AddN+ReluGrad"

@deven-amd , is this PR feature-complete to test?

closing out this PR.
will separate ones instead as suggested by @whchung
BnA one will come first. The second will follow once the first one is merged.


Secure TLS-Connection for new MP-SPDZ Version

In #15, the MP-SPDZ Version is changed to v0.2.8 which introduces TLS-secured communication between MP-SPDZ Clients (=ephemeral) and the MP-SPDZ Process.
The way the PR adds this is really rudimentary and insecure (e.g. the option InsecureSkipVerify is set to bypass certificate validation).
	tlsConfig := &tls.Config{
		Certificates:       []tls.Certificate{cert},
		InsecureSkipVerify: true,
	}

We will need to think about some points regarding the TLS connection:

Who will create certificates (and re-created them when expired)?
Types of connections

Ephemeral <-> MP-SPDZ Process (for transmitting secret shares/results)
Cross-Cloud MP-SPDZ instances (for computation)

Will we continue using self-signed certificates or have a way to provide certifactes signed by CAs?
Can we provide certificate using e.g. K8s Secrets instead of baking them into the base-image (do some parts of our infrastructure like Istio/Knative already provide some functionality for this here?)

As discussed on Discord, the way to go is to make TLS channels optional in upstream MP-SPDZ and have authenticated channels implemented via Istio mechanisms.


forge/core: AST macros not capturing (preserving?) syntax location in definitions

Paste in and run:
#lang forge/core
(define Node (rel '(univ) 'univ "Node"))
(set ([x Node]) (in x (-> Node Node)))

The arity mismatch in the third line produces an error but with no highlighting. The syntax loc captured is:
#(struct:srcloc forge-core-mod #f #f #f #f). In contrast, the same expression entered in the interactions window produces proper error highlighting. Likewise, a similar error in forge (Alloy syntax) produces highlighthing.
Is this really specific to definitions in forge/core only?

This is caused by the reader for forge/core using read, not read-syntax.


Can sort resources by group?

The se-core-fragments and raw-resources (in the red rectangle) are in a mixed subgroup, doesnot in it's own subgroup.
Can sort it like SE does (in the green rectangle)?

Thanks, will fix this over the coming weeks. I will track in a centralized issue board: https://github.com/brevven/bz/issues/68


Couch request to /_design/pages/_view/private_corpuses not working on local dev setup?

Couch request to /_design/pages/_view/private_corpuses not working on local dev setup?

I'm closing this issue because  /_design/pages/_view/private_corpuses requests DO work, it's just that my dev setup was not right.


Post render

If the framework where the app is being deployed to contains a configmap that has a name like some-name-postrender (the postrender being present is the important part), the contents of that config map will be applied to the apps helmchart before being deployed.
The config map itself should contain a kustomization.yaml key with its corresponding contents as the value, and any other needed yaml files (e.g. patch.yaml) as keys with the contents as the value. These yamls should be under the configmap's data key.

Looks awesome!

@stinkyfingers if it works for you, let's approve it and merge, I can't approve this PR because it was opened by me


[RFC] Design- for showing the Progress Update details

We are planning to take daily updates from the developer about the progress they have made so far on their task. Currently this is behind dev flag.
It looks something like this:

Currently when we click on any of the updates, nothing is shown.
There are two ways we can achieve this:

We can either have a modal, like we have for extension request on my site:

Or we can have a collapsible list, like we have for members site:

Here is the rough wireframe of proposed solution:

I would like Developers to comment on which would be a better option in this case, Thank you!

According to me, the first option would be better because as per the design of the task detail page accordion style would not fit. As an end user, I would like to see lists of updates, not the accordion-style lists where I will have to do 1 or 2 extra clicks. Generally, accordions are used for FAQ pages. and if we include the accordion then we will have to show task updates lists in the same which may be possible that a user scroll event occurs.

Prefer a modal as well. But we will also have to consider having a seamless experience on phones. We need to consider how we are rendering text (importantly quantity. We don't want to show jam packed text).
Also are we going to always let the user select and filter based on the date and the kind of update (blocker, completed, and planned)? If yes, then preferably rendering the update and showing the filter should be done within the same modal screen. This would be an easier experience.

Also are we going to always let the user select and filter based on the date and the kind of update (blocker, completed, and planned)? If yes, then preferably rendering the update and showing the filter should be done within the same modal screen. This would be an easier experience.

Currently there is no filter as such.. we show all the updates the user has given in desc order of date.
Also, we show completed, blocked and planned as a kind of a single form. We do not filter based on them.


Modules fail if the "state" parameter is not provided

When the state attribute isn't provided, the state variable is set to None because the second clause of the if matches. The third clause never matches and even if it did, I don't see why you would want to set state to True.
https://github.com/fortinet-solutions-cse/ansible_fgt_modules/blob/dfed70ded3e3ec5dc103831cb8130b926a2885d0/v6.0.6/system/fortios_system_interface.py#L2058-L2078

hi Louis,
Thanks for the issue.
we have the policy for modules added in later than 2.8: the state migrated to the outer as top-level parameter.
that's to say:

for modules added in 2.8, state co-exists as outer and inner parameters and both of them are marked as required = false
for modules added later in 2.9 and since,  state is only top-level parameter and marked as required = true

that's why we have the code to select the actual state:

for modules added in 2.8, outer state parameter is always preferred.  if outer state is not present, then inner state is queried. if inner one is not given either, a value must be assigned to variable state  and module fails gracefully.  if we don't specify state = True, there will be a runtime syntax error here.  As a matter of fact, the value of state can be anything other than present or absent.

for modules added later than 2.8.  you always have a state because it's mandatorily inputed.  things are getting much simpler as you can see: https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/network/fortios/fortios_vpn_ssl_web_realm.py#L238

this is a legacy issue we encountered during migrating fields.
Louis, could you please consider closing it. ?
again thanks for filing this issue.
also cc @frankshen01 @mamunozgonzalez

as for the fix, I will make a patch in generator first to make it clear the second clause is querying the inner parameter state:
if 'state' in data and data['state']:
     state = data['state']
 elif 'state' in data['system_interface'] and data['system_interface']['state']:
     state = data['system_interface']['state']
 else:
     state = True

for modules added in 2.8, state co-exists as outer and inner parameters and both of them are marked as required = false

Then why does it fail when it is not specified anywhere? If it's not required, it shouldn't fail when it isn't provided.

Hi,
I answered in the PR (please check https://github.com/fortinet-solutions-cse/ansible_generator/pull/18#issuecomment-572998971)
If there are other different failures after the fix (due to "else: state = True") please feel free to open another issue/PR


Added icons for Twitch and Hackmd

This makes a more beautiful footer of the RSHour website.
Slight disadvantage is that the minima social icons file had to be included in the assets to overwrite the default icon file.

This is great!  I had wanted this, but didn't have time to figure out how to do it properly.  What tools did you use to this?
Would you want to also submit it to upstream Minima?  I'm not even sure about policies on external service icons like this, but it seems they have plenty of others so I guess it's OK.  Of course, it seems Minima hasn't released in a while... so we embed other stuff, too.  I guess we'll have to embed this as well.

Thank you! I used only a text editor (geany) for this. I was lucky to find both icons as single path svg files and could simply copy the paths to the minima-social-icons.svg and add some <symbol> stuff that I copied from the other logos in the file. I did some manual testing with jekyll serve locally to see whether the sizes and margins are correct.
Logos are from

Twitch: https://seeklogo.com/vector-logo/274042/twitch
Hackmd: https://github.com/encharm/Font-Awesome-SVG-PNG/blob/master/black/svg/file-text.svg

I guess, I could submit one pull request per icon to minima. But it looks like their response time is relatively low at the moment, so I don't know when it would be included. There are some open pull requests for other icons (tumblr and goodreads).

Thanks for the info on how this works.
Let's take this, and I can try to remember to re-submit to upstream sometime later, once it seems to be useful to do.  I'll credit you and this PR.  Do you agree to the Minima license?

Yes, sure, I agree to the Minima license. MIT is my favourite license 😉
Thanks for accepting 😃


Backup script keeps running continuously

Hello,
It seems like something is causing the add-on's backup script to run continuously, it keeps outputting this, and doesn't seem to ever stop on its own without me manually stopping it. I don't think this is expected behavior, so wanted to submit this issue.
Home Assistant OS 8.1
Supervisor supervisor-2022.05.2
Here's a snippet of the start of what this looks like in the log (but it appears to continue on like this forever):
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun amazon-s3-backup (no readiness notification)
s6-rc: info: service legacy-services successfully started
[08:31:37] INFO: Starting Amazon S3 Backup...
[08:31:39] INFO: Will delete all the oldest local backups except the '3' newest ones.
[08:31:39] INFO: Finished Amazon S3 Backup.
[08:31:39] INFO: Starting Amazon S3 Backup...
[08:31:40] INFO: Will delete all the oldest local backups except the '3' newest ones.
[08:31:40] INFO: Finished Amazon S3 Backup.
[08:31:40] INFO: Starting Amazon S3 Backup...
[08:31:42] INFO: Will delete all the oldest local backups except the '3' newest ones.
[08:31:42] INFO: Finished Amazon S3 Backup.
[08:31:42] INFO: Starting Amazon S3 Backup...

Hey, thanks for giving it out a try and taking time for creating the issue.
Can you share a screenshot of your backup configuration, automation, and addon screen of the S3 Backup (Please make sure that you do not share any secrets)? That would be very helpful.

I'm seeing similar behaviour

I am sorry for not coming back earlier. For some reason i did not notice the notifications :(
The configuration looks good. I am using different bucket region, but that should not be a problem.
This is what the protocol looks like for me:

Could you post your protocol maybe? Make sure to redact any possible confidential information (like s3 bucket).

Weird, just saw the protocol again you posted in your initial issue.
Automation also looks ok for me at first look.
For reference, these are my automations:
- id: backup_create_full_backup
  alias: Create a full backup every day
  trigger:
    - platform: time
      at: 04:00
  action:
    - service: hassio.backup_full
      data:
        name: "{{as_timestamp(trigger.now)|timestamp_custom('%Y%m%d%H%M', true)}}_automated-backup"
- id: backup_upload_to_s3
  alias: Upload to S3
  trigger:
    - platform: time
      at: 04:30
  action:
    service: hassio.addon_start
    data:
      addon: 1244bd6e_amazon-s3-backup

I changed the docker file to run the service script directly and it worked as I think is expected (the addon exits). I think the script is being continuously run as it expects the service to be continuously running.
TLDR: add CMD [ "/run.sh" ] to the docker file and move the script out of the services directory. Happy to do a PR if it helps?

Same behaviour for me running HA 2022.11.2.

Same on the following version. Pretty much makes this unusable.
Home Assistant 2023.1.7
Supervisor 2022.12.1
Operating System 9.4
Frontend 20230110.0 - latest

Same here, on version:

Home Assistant 2023.2.5
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230202.0 - latest

@HarryEMartland's fix should work, are you open to PRs?

Hey, thanks for giving it a try and sorry that you having issues with it.
Yes I would appreciate a PR. I tried to reproduce it on my side but I couldn’t. It still works for me without any issues. So, yes! Would love to get PRs with a fix

Can someone explain to me why it’s working for me but not for all of you? @atrepca @HarryEMartland ?

Forked the repo, added CMD and the add-on works fine now, here's my changes: https://github.com/thomasfr/hass-addons/compare/main...atrepca:hass-addons:main?expand=1.
The Dockerfile doesn't have CMD or ENTRYPOINT, and at least one of them needs to be present, according to the docs - maybe this is causing it?

Dockerfile should specify at least one of CMD or ENTRYPOINT commands.

Just in case it's needed, add-on logs from the successful run from my automation last night:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun amazon-s3-backup (no readiness notification)
s6-rc: info: service legacy-services successfully started
[02:30:01] INFO: Starting Amazon S3 Backup...
[02:30:01] INFO: Starting Amazon S3 Backup...
upload: ../../../../backup/a042b24b.tar to s3://<removed>/a042b24b.tar
upload: backup/a042b24b.tar to s3://<removed>/a042b24b.tar
[02:30:45] INFO: Will delete all the oldest local backups except the '3' newest ones.
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Fixed in v1.2.2

Confirming version 1.2.2 works as expected, thanks @thomasfr!


NPE in DualValue.isPotentialCyclingValue while using recursive comparison

Summary
java.lang.NullPointerException
	at org.assertj.core.api.recursive.comparison.DualValue.isPotentialCyclingValue(DualValue.java:225)
	at org.assertj.core.api.recursive.comparison.DualValue.hasPotentialCyclingValues(DualValue.java:218)
	at org.assertj.core.api.recursive.comparison.RecursiveComparisonDifferenceCalculator$ComparisonState.pickDualValueToCompare(RecursiveComparisonDifferenceCalculator.java:100)
	at org.assertj.core.api.recursive.comparison.RecursiveComparisonDifferenceCalculator.determineDifferences(RecursiveComparisonDifferenceCalculator.java:200)
	at org.assertj.core.api.recursive.comparison.RecursiveComparisonDifferenceCalculator.determineDifferences(RecursiveComparisonDifferenceCalculator.java:188)
	at org.assertj.core.api.RecursiveComparisonAssert.determineDifferencesWith(RecursiveComparisonAssert.java:970)
	at org.assertj.core.api.RecursiveComparisonAssert.isEqualTo(RecursiveComparisonAssert.java:159)

It looks like we should check if java.lang.Class#getCanonicalName is null as well. According to the java doc this can be the case, see javadoc.
https://github.com/joel-costigliola/assertj-core/blob/a64f3fb4e942d85a671fedc98eca3d8e262772ff/src/main/java/org/assertj/core/api/recursive/comparison/DualValue.java#L221-L226
I will add a sample later on.
Example
<add example here>

good catch, my bad!

yep, a bugfix release would be great.
thx!

I'm curious if you experienced the error from a real test case.
I have added the test for local classes but not yet anonymous ones, it feels a bit of an edge case but that needs to be fixed anyway

Yes, it is from a real test.
a sample to reproduce it might be
  enum TEST {
    A1 {
      @Override
      boolean test() {
        return false;
      }
    };

    abstract boolean test();
  }

  class C {
    TEST t = TEST.A1;
  }

  @Test
  public void testB() {
    C actual = new C();
    C expected = new C();

    assertThat(actual).usingRecursiveComparison().isEqualTo(expected);
  }

I will have a look at the other test cases failing due to this one later on, most likely I can share another example later on today.

@epeee I have created https://github.com/joel-costigliola/assertj-core/pull/1868 to fix this issue and added you as a reviewer.
Feel free to push more commits if you find more test to add.

@joel-costigliola thx!
I was able to track all the failing test cases down to the samples you already added in the newly added test case.

3.16.1 released, should be available in a few hours in maven central

works like a charm.
thx for the fast turnaround!


Complete rewrite of the Jupyter notebook for better workshop support

Issue #, if available: N/A
Description of changes: Each section of the mlops notebook is rewritten to provide better explanations of the core concepts and processes behind the safe MLOps pipeline, with the goal of making this notebook easier to use in customer workshops. Changes include:

A new, more detailed architecture diagram
Additional screenshots for visualization
Minor changes to data visualization for a better look and a smoother story
A complete rewrite of every section of the notebook

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

👌🏻 The SM is upgraded at the top of the notebook anyway, but does require
a user to restart to have that take effect. So there might be some value to
keep it.
On Wed, 11 Nov 2020 at 1:52 pm, Sara Moose<EMAIL_ADDRESS>wrote:

@moose-in-australia commented on this pull request.
In notebook/mlops.ipynb
https://github.com/aws-samples/amazon-sagemaker-safe-deployment-pipeline/pull/24#discussion_r521052463
:

@@ -4,28 +4,57 @@
"cell_type": "markdown",

I would probably keep it for another year. There will likely be customers
who don't switch to version 2 right away even though they should.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aws-samples/amazon-sagemaker-safe-deployment-pipeline/pull/24#discussion_r521052463,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACX7MBOAD4G3EHVEKGWZ4LSPH35BANCNFSM4TOT7JGQ
.


NTR: Macrophage polarization and regulation terms

Dear GO editors,
It looks like the ontology is not describing the process of macrophage polarization to produce M1 or M2 macrophages that have at least different functions and cytokine expression patterns. The process is described in the following reviews: PubMed=22025054 and PubMed=29455468. I am not sure if it should be a child of macrophage activation/GO:0042116 or macrophage differentiation/GO:0030225 or regulation of macrophage cytokine production/GO:0010935.
PubMed=28471450, for instance, shows that PJA2 regulates this process.
Thanks for your help.
Best regards.
Lionel

Hi @lbreuza
Can you list the exact terms you'd like, definitions and parent?
Thanks, Pascale

Added synonyms:

macrophage activation = macrophage polarization
regulation of macrophage activation= regulation of macrophage polarization
negative regulation of macrophage activation= negative regulation of macrophage polarization
positive regulation of macrophage activation = positive regulation of macrophage polarization
macrophage activation involved in immune response =  macrophage polarization involved in immune response

Thanks, Pascale


Use #[link(cfg(..))] in preparation for libstd

In preparation for rust-lang/rust#37545 this is adding the appropriate
directives to libc to get included.

@alexcrichton: no appropriate reviewer found, use r? to override

@bors: r+

:pushpin: Commit f9323d1 has been approved by alexcrichton

:hourglass: Testing commit f9323d1 with merge 106fbed...


Add IMDB-WIKI dataset

Add IMDB-WIKI dataset to app.activeloop.ai with the correct version.
For more information regarding creating and uploading a dataset please see the Hub documentation.

@kzuri you can find some examples of dataset loading and uploading here: https://github.com/activeloopai/Hub/tree/master/examples

@kristinagrig06 Should I combine both IMDB and WIKI photos and labels ?

@kzuri Yes, I think samples from datasets will be useful.

Hi, @kzuri ! Hope this finds you well. Dropping a note to check in on you an ask if you need a hand with uploading the dataset. Feel free to ask us in the GitHub Discussions (we have beta access!) or our dedicated Slack channel. Thanks a mil!

Closing this due to inactivity, will reopen if theres widespread interest.


Offline callback

Hi
If i go to offline mode and come back online , Real Time service can detect what data inserted or updated or ... when i was offline ??

@dshukertjr We already have the app cycle check for auth, do we want to add connection check for stream as well or is that too much?

@Vinzent03
Did you have anything in particular what this could look like?

@dshukertjr  I don't have the time to implement this myself, but I thought about listening to the connection and if the app reconnects we refetch the table from postgrest and start listening to realtime again.

Just wanted to come back to this issue. Currently, Supabase's real-time feature requires an internet connection in order to provide real-time data. If the device goes offline, any data that was sent to the client from the server is lost. This is a known limitation of Supabase, and we do have some attempts to solve it like this one. Until we find a proper fix for it across all Supabase producets, Supabase will remain to have a stable internet connection as a requirement. With this, I will close this issue for now.Just wanted to come back to this issue. Currently, Supabase's real-time feature requires an internet connection in order to provide real-time data. If the device goes offline, any data that was sent to the client from the server is lost. This is a known limitation of Supabase, and we do have some attempts to solve it like this one. Until we find a proper fix for it across all Supabase producets, Supabase will remain to have a stable internet connection as a requirement. With this, I will close this issue for now.

@dshukertjr I think you have some text twice in your comment.

😂


K3s hardened profiles fail checks 4.2.1, 4.2.2 and 4.2.3 on etcd node for multi node cluster

Further details are available in https://github.com/rancher/rancher/issues/37493#issuecomment-1269938970.
On a K3s multi node (1 etcd, 1 cp, 1 worker) hardened cluster, checks 4.2.1, 4.2.2 and 4.2.3 will fail on the etcd node, because they are checking for apiserver specific configurations and the apisever is disabled on K3s etcd node. See the images below for extra details.

Affected profiles:

k3s-cis-1.6-hardened
k3s-cis-1.20-hardened
k3s-cis-1.23-hardened

@macedogm Can we add more environment details and CIS chart version used to reproduce this issue please?

At this point 1.23 should only be run against k8s 1.25+, as it checks for PSA rather than PSP

Just a note, the reported failures also happen with k3s-cis-1.6-hardened and k3s-cis-1.20-hardened and they are related to etcd.

@macedogm Can you please review the PR if it fixes the issue https://github.com/rancher/security-scan/pull/96

/backport v2.6.9

/backport v2.6.10

This can be tested when this Charts PR is merged in https://github.com/rancher/charts/pull/2149

Validated on rancher v2.7-head(0dcfd16)
Steps followed:

Provisioned k3s hardened cluster -> v1.24.6+k3s1 (1-cp, 1-e, 1-w)
Installed CIS benchmark 3.0.0-rc7 chart.
Ran k3s-cis-1.23-profile-hardened scan.

Result:

Scan passed successfully:


Toolkit Basemap Gallery doesn't display the Thumbnails properly

I am developing an application with MAUI.

Product: ArcGIS Maps SDK for .NET
Version: 200.2
Project template: ArcGIS Maps SDK .NET MAUI App (Esri)
Framework: .NET 7.0
Toolkit Basemap Gallery widget

When I run de app by using "Samsung Galaxy Tab A SM-T510" and "Samsung Galaxy Tab A SM-T580", Toolkit Basemap Gallery widget doesn't display the Thumbnails properly.

After creating a Esri Case, Esri recommend me submit a new Issue.

@LuisRguezEsriSpain Would you be able to share a small sample that reproduces the issue>

I share a small sample.
PoCDrones.zip

Thank you. Were you only seeing this on Android, or only on certain Android devices? I see the basemaps both on Windows and on my Android:

Hi Morten,
I only see Thumbnails on certain Android devices.
Por example:

I see Thumbnails on mobiles Miui 10 and Samsung Galaxy A52s
I don't see Thumbnails on tablets "Samsung Galaxy Tab A SM-T510" and "Samsung Galaxy Tab A SM-T580"

It looks like it is hitting this fallback:
https://github.com/Esri/arcgis-maps-sdk-dotnet-toolkit/blob/8e5bc024f51beea413b3f11541ed662854e38323/src/Toolkit/Toolkit.Maui/BasemapGallery/ByteArrayToImageSourceConverter.cs#L34
That data should be coming from here:
https://github.com/Esri/arcgis-maps-sdk-dotnet-toolkit/blob/8e5bc024f51beea413b3f11541ed662854e38323/src/Toolkit/Toolkit/UI/Controls/BasemapGallery/BasemapGalleryItem.cs#L100
Since I can't reproduce, would you be able to debug what is happening on your specific Android devices and see why the thumbnails fail to load?

Hi Morten,
This is the debug's result.
at RuntimeCoreNet.GeneratedWrappers.CoreImage.GetEncodedBuffer() at Esri.ArcGISRuntime.UI.RuntimeImage.GetEncodedBufferAsync(CancellationToken cancellationToken) at PoCDrones.BasemapGallery.BasemapGalleryItem.LoadImage() in C:\LuisRodriguez\Proyectos\ENAIRE\200_2\Incidencia\PoCDrones\PoCDrones\BasemapGallery\BasemapGalleryItem.cs:line 107

Thank you for the detailed screenshots. [InvalidProgramException] sounds like something went wrong in .NET or the compilation: https://learn.microsoft.com/en-us/dotnet/api/system.invalidprogramexception?view=net-7.0
Is your .NET up to date? Any chance you could also try with the latest .NET 8?

Hi Morten,
I don't see how to create a ArcGIS Maps SDK .NET MAUI project using .NET.

I also don't see a way to change an existing project's .NET Framework.

.NET 8 shipped as final yesterday. If you update your visual studio to latest, you should now see it in your dropdown (before this you needed the preview release)

Hi Morten,
I've installed the latest versión of visual studio.

I've also installed ArcGIS_Maps_SDK_DotNet_Templates_200_3_0.vsix.
In project propertiens I cannot choose either "Target Android Framework" or "Minimum Target Android Framework".

In addition to this issue I have others issues:

When I change content of appicon.svg and appiconfg.svg I get this error when the project is built.

In Android app I cannot see svg icons as souce if ImageButton
In Android app I cannot change IsEnabled property of "Frame" Maui controls by code

@LuisRguezEsriSpain are you able to build a normal .NET MAUI app targeting .NET 8? Most of the settings you refer too are easiest set in the .csproj file directly.

@dotMorten I've done this workaround in BasemapGalleryItem class and work properly:
    private async Task LoadImage()
    {
        IsLoadingThumbnail = true;
        try
        {
            await (Thumbnail?.LoadAsync() ?? Task.CompletedTask);

            if (Thumbnail?.LoadStatus == LoadStatus.Loaded)
            {
                var stream = await Thumbnail.GetEncodedBufferAsync();
                var buffer = new byte[stream.Length];
                await stream.ReadAsync(buffer, 0, (int)stream.Length);
                ThumbnailData = buffer;

#if WINDOWS_XAML
ThumbnailBitmap = await Thumbnail.ToImageSourceAsync();
#endif
}
_hasLoaded = true;
}
catch (Exception ex)
{
await LoadImageAux();
}
finally
{
IsLoadingThumbnail = false;
}
}
    private async Task LoadImageAux()
    {
        try
        {
            HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, Thumbnail.Source);
            HttpClient client = new HttpClient(new HttpClientHandler());
            var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead).ConfigureAwait(false);
            var content = response.EnsureSuccessStatusCode();
            var streamRes = await content.Content.ReadAsStreamAsync();
            byte[] buffer = new byte[16 * 1024];
            using (MemoryStream ms = new MemoryStream())
            {
                int read;
                while ((read = await streamRes.ReadAsync(buffer, 0, buffer.Length)) > 0)
                {
                    ms.Write(buffer, 0, read);
                }
                ThumbnailData = ms.ToArray();
            }
        }
        catch (Exception ex2)
        {
        }
    }


standard_init_linux.go:219: exec user process caused: exec format error

Hi,
I just did a clean install on a Raspbian PI4 system with following commands:
git clone https://github.com/stefanprodan/dockprom
cd dockprom

Changed the port 3000 to 3333 in the docker-compose.yml, as 3000 is already used on the system and then ran:
docker-compose up -d

This lead to a bunch of containers being started:
pi@raspberrypi:~ $ docker ps
CONTAINER ID   IMAGE                              COMMAND                  CREATED        STATUS                          PORTS                                                                                NAMES
0208b7155d85   prom/node-exporter:v1.1.2          "/bin/node_exporter …"   20 hours ago   Up 16 hours                     9100/tcp                                                                                nodeexporter
79756da83655   caddy:2.3.0                        "caddy run --config …"   20 hours ago   Up 16 hours                     80/tcp, 443/tcp, <IP_ADDRESS>:3333->3333/tcp, <IP_ADDRESS>:9090-9091->9090-9091/tcp, 2019/tcp, <IP_ADDRESS>:9093->9093/tcp   caddy
4f4486d68f09   prom/prometheus:v2.26.0            "/bin/prometheus --c…"   20 hours ago   Up 16 hours                     9090/tcp                                                                                prometheus
50410b80f571   gcr.io/cadvisor/cadvisor:v0.39.0   "/usr/bin/cadvisor -…"   20 hours ago   Restarting (1) 11 seconds ago                                                                                cadvisor
f940b962f12e   prom/alertmanager:v0.21.0          "/bin/alertmanager -…"   20 hours ago   Up 16 hours                     9093/tcp                                                                                alertmanager
24faab9b3b12   prom/pushgateway:v1.4.0            "/bin/pushgateway"       20 hours ago   Up 16 hours                     9091/tcp                                                                                pushgateway
84e4d29a6a68   grafana/grafana:7.5.5              "/run.sh"                20 hours ago   Up 16 hours                     3000/tcp, 3333/tcp                                                                                grafana

Unfortunately, as you can already see the cadvisor container is in a loop of restarting. The logs give only one ever repeating error message:
pi@raspberrypi:~ $ docker logs 50410b80f571
standard_init_linux.go:219: exec user process caused: exec format error

Any help to solve this would be appreciated.

Duplicate #185
Sorry


Fix deployment to hardware device.

Fix #178
please kindly accept it, thanks : D

:+1: Cool, I've just pushed this for Specta too


313 notebook debug

Fixes #313
Overview
Adds the debug command, with some small changes to (Owen's?) new Python docker code.
Testing
I ran the command successfully locally.

:books: Documentation preview :books:: https://garden-ai--324.org.readthedocs.build/en/324/

My change to not force the client to pull an image breaks a new test, which of those things is to be changed is up to the reviewer.

no major gripes but let's hold off on merging this one until my current PR is in -- I might split off what I have so far into its own PR so you can build on top of it. specifically, I've got the new helper to build the baked/planted/etc container done, and I think the debug command should put users in that container rather than a base image

Codecov Report

Merging #324 (e4a66fe) into main (1624532) will increase coverage by 0.38%.
Report is 2 commits behind head on main.
The diff coverage is 51.68%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #324      +/-   ##
==========================================
+ Coverage   78.15%   78.54%   +0.38%
==========================================
  Files          43       41       -2
  Lines        2303     2116     -187
==========================================
- Hits         1800     1662     -138
+ Misses        503      454      -49

Files
Coverage Δ

garden_ai/__init__.py
100.00% <100.00%> (ø)

garden_ai/app/completion.py
61.90% <ø> (-9.07%)
:arrow_down:

garden_ai/app/console.py
100.00% <ø> (ø)

garden_ai/app/main.py
90.00% <ø> (-0.91%)
:arrow_down:

garden_ai/mlmodel.py
95.23% <100.00%> (+3.57%)
:arrow_up:

tests/cli/test_console.py
100.00% <ø> (ø)

tests/conftest.py
93.27% <ø> (-0.67%)
:arrow_down:

tests/test_completion.py
100.00% <100.00%> (ø)

tests/test_containers.py
100.00% <100.00%> (ø)

tests/test_local_db.py
100.00% <ø> (ø)

... and 9 more


No power between CN105 pin 2(GND) and pin 3 (5V) ?

I've just connected things up for the first time and I KNOW I didn't short anything because I went above and beyond to prevent that, but I get nothing.
I used pre-crimped wires and I have not connected pin 1 on purpose as I didn't want to risk 12v going anywhere it shouldn't. I've used a RJ45 socket at the other end of the cable to prevent shorts and I tested for continuity on each pin end to end and confirmed there were no shorts (before I even opened up the Mitsubishi).

Has anyone come across this sort of problem and were you able to solve it?

I had left an rj12 plug protruding from the back hope to get back to this at some stage and I just plugged in the device, as before... and now it works perfectly!
What changed?! I didn't do anything.
I mean I'm glad it's working, but I'm also baffled..


update the compatibility on Openmodelica platform

On the main page of MDD, the compatibility on OpenModelica(OM) is about OM 1.10.0, but the current release of OM is 1.17.0, I didn't find the coverage information of MDD on OpenModelica coverage test page, but based on #319, MDD works on OM 1.16.0, so why not update the information.

Hm, the present text identifies the first OM release known to partially work with MDD. Since that OM release is some time ago one could also simply write that OM partially supports the library. However, I'm not in favor in listing all releases since v1.11.0 Beta 1, I also usually don't systematically test with new OM releases. Such tests would be nice, but somebody would need to do them or write a CI testing code which automatizes such tests.


Lastest template failed to run

I'm not sure perhaps I did something wrong but if I execute following commands:
dotnet new -i "cloudscribe.templates::*"
dotnet new cloudscribe -D NoDb -S a -L true
dotnet restore
then I got following errors:
error NU1605: Detected package downgrade: Microsoft.EntityFrameworkCore.Tools from 2.1.1 to 2.1.0. Reference the package directly from the project to select a different version.
error NU1605:  Blog -> Microsoft.AspNetCore.App 2.1.1 -> Microsoft.EntityFrameworkCore.Tools (>= 2.1.1 && < 2.2.0)
error NU1605:  Blog -> Microsoft.EntityFrameworkCore.Tools (>= 2.1.0)

If I put Version="2.1.0"  to

then it works

this should be fixed in version 1.0.41
https://www.nuget.org/packages/cloudscribe.templates/1.0.41

Fixed


Fix section with zero problems in PieChart

Summary
This pull request addresses issues related to #697, #817 and #1632.
Changes Made

Removed the filter that excluded sections with a value of 0 in PieChartData.
Ensured that calculateSectionsAngle does not return NaN values.
Skipped the rendering of sections with a value of 0.
Created a custom badgeWidgetPaint function to skip the rendering of the badgeWidget for sections with a value of 0.

Good job, please update the branch and conflicts. Please do this carefully (as it is related to this topic)

Super!
Thanks for your contribution!


Support packages with different folder names

I have a package that I want to call pysignald because it is a client for signald, but I want the module to actually be available under signald. I called the module signald in my package, and called the package itself pysignald in the pyproject.toml, but poetry refuses to build it because it can't find a package with the same name.
This seems like an unnecessary precaution, no? I would like to name my package something other than what people can use to import it, it seems to me that this use case should be supported.

Isn't the packages section what you want: https://poetry.eustace.io/docs/pyproject/#packages
Basically you would have:
[tool.poetry]
name = "pysignald"
# ...
packages = [
    {include = "signald"}
]

That fixed it, thank you! I didn't realize this was possible with packages.


Extends overrides section of base config

It was overwritten before

Coverage remained the same at 96.33% when pulling 75ce667ac06ec42b5356def35fb9f022a603dc12 on arikon:feature/extends-overrides into 12811e797a264f323b920b314db965b8adcb207e on jshint:master.

Coverage remained the same at 96.33% when pulling 75ce667ac06ec42b5356def35fb9f022a603dc12 on arikon:feature/extends-overrides into 12811e797a264f323b920b314db965b8adcb207e on jshint:master.

Thanks for the pull request! Could you add a test for this?

@jugglinmike There are no tests for extends at all. Could you spot me, where to add it?

https://github.com/jshint/jshint/blob/master/tests/cli.js . That file currently uses extends on lines 45 through 48 for use in later tests, although a new test would probably be appropriate.

Coverage remained the same at 96.33% when pulling cbcc959caeb04b6f6cb5bdf5fa6c18e9ba8b7f63 on arikon:feature/extends-overrides into 12811e797a264f323b920b314db965b8adcb207e on jshint:master.

@jugglinmike Done.
I've replaced underscore with lodash because:

it is a bit faster
it has _.merge() function for deep object extending (less code to extend configs and so to maintain)

And added two more tests.

https://github.com/jshint/jshint/commit/928f19dbf3378734ef2119689dc51acfa37edfc2

@rwaldron :+1:

@rwaldron @jugglinmike Could you please npm publish<EMAIL_ADDRESS>

All set


ln: last argument can be LINK_NAME when -n and -f are used together

ln can be used to overwrite a link like so: ln -sfn target link_name, because:
ln [OPTION]... [-T] TARGET LINK_NAME

Here's a minimal reproducer:
$ mkdir a b; ln -s a mylink # setup
$ readlink mylink # verify setup
a
$ ../../../gnu/src/ln -sfn b mylink # demonstrate that GNU works
$ readlink mylink # verify success
b
$ rm mylink; ln -s a mylink; readlink mylink # reset and verify
a
$ cargo run -q ln -sfn b mylink
ln: Could not update 'mylink': Not a directory (os error 20)
$ echo $? # fails according to stderr, but actually works
0
$ readlink mylink # also, it did the right thing
b

Originally reported by Luana. Apparently this affects NixOS adversely.

Apparently this affects NixOS adversely.

Indeed it does, haha!
Thanks for your help earlier btw :D


[Spark] Add tests for implicit cast in INSERT to delta table

Description
Add tests covering implicit casting when inserting into a Delta table.
Covers various insert API:

Dataframe V1, V2, SQL, streaming
Append vs. Overwrite
Position-based vs. name-based

Changes:

Move test abstraction to run insert using various APIs out of TypeWideningInsertSchemaEvolutionSuite and into its own trait to allow reusability.
Add streaming write to the set of insert APIs that are covered by that abstraction.
Add implicit casting tests for insert.

How was this patch tested?
Test-only
Does this PR introduce any user-facing changes?
No

Tests covering streaming insert assume https://github.com/delta-io/delta/pull/3443 is merged, these will fail until that change is actually merged and will succeed afterwards.


ExtendedSplashScreen crashes if no ProgressRing

Current behavior
If there is no ProgressRing in the LoadingContentTemplate, the extended splash screen remains active even if page is loaded. The prevent any interaction with the page below.
Expected behavior
We can put whatever we want in the template.
How to reproduce it (as minimally and precisely as possible)
In the Uno.chefs project, in App.xaml replace the style of the ExtendedSpalshScreen by:
			<Style TargetType="utu:ExtendedSplashScreen"
				   BasedOn="{StaticResource DefaultExtendedSplashScreen}">
				<Setter Property="LoadingContentTemplate">
					<Setter.Value>
						<DataTemplate>
                            <!--<ProgressRing Height="32"
                                          HorizontalAlignment="Center"
                                          VerticalAlignment="Bottom"
                                          Margin="0, 0, 0, 200"
                                          IsActive="True" />-->
							<TextBlock Text="Loading ..." />
						</DataTemplate>
					</Setter.Value>
				</Setter>
			</Style>

Run the app and observe that nothing can be clicked (the splash screen remains active)
Nuget Package:
Package Version(s):
Affected platform(s):

[ ] WebAssembly
[ ] Android
[ ] iOS
[ ] macOS (AppKit)
[ ] Mac Catalyst
[x] Skia

[x] WPF
[ ] GTK (Linux)
[ ] Linux Framebuffer
[ ] Tizen

[x] Windows

Anything else we need to know?
I didn't validate, but this might also be an error in the Uno.Extensions.Navigation @nickrandolph

This should be fixed in latest dev builds as we've set the splash and loading content to IsHitTestVisible = false


How to implement operation record

I know how to use a DTO to implement the update field diff.
I know that the controller uses decorator tag operations to record actions.
I know that interceptors are used global to commit operation records to the database.
How do you determine the request context and the operational user?
I designed the request context service class to bind a request ID,
use { scope: Scope.REQUEST }
get request: Request user
Is there a better implementation?
update-user.dto.ts
class UpdateUserDto {
     @DiffField('username')
     name: string;
}

user.controller.ts
class UserController {
    @Put(':id')
    @UpdateRecordLog(
      'update user ${entity.name}',
      'user ${entity.name} update field ${patch.name} form ${patch.origin} to ${patch.current}'
    )
    update(@Param('id', ParseIntPipe) id: number, @Body() dto: UpdateUserDto) {
      return this.UserService.update(id, dto);
    }
}

user.service.ts
class UserService {
     constructor(
      private userRepository: UserRepository,
      private requestContext: RequestContext
    ) {}
    update(id: number, dto: UpdateUserDto) {
      const result =  this.userRepository.update(id, dto);
      this.recordContext.put(result);
      return result;
    }
}

request-context.ts
const map: Map<string, Record<string, unknown>> = new Map();

@Injectable({ scope: Scope.REQUEST })
export class RequestContext {
  static setRecordKeyForRequest(request: Request) {
    request[RecordContextMetadataKey] = uuid.v1();
  }

  static getRecordKeyForRequest(request: Request): string | undefined {
    return request[RecordContextMetadataKey];
  }

  static get(recordKey: string) {
    const value = map.get(recordKey);
    map.delete(recordKey);
    return value;
  }

  constructor(@Inject(REQUEST) private request: Request) {}

  put(data) {
      const recordKey = RequestContext.getRecordKeyForRequest(this.request);
      if (recordKey == null) {
       throw new Error('recordKey is not defined');
     }
     map.set(recordKey, data);
  }
}

record.interceptor.ts

@Injectable()
export class RecordInterceptor implements NestInterceptor<unknown> {
  constructor(
    @Inject(LoggerService) private readonly loggerService: LoggerService
  ) {}

  intercept(
    context: ExecutionContext,
    next: CallHandler<unknown>
  ): Observable<unknown> {
    const call$ = next.handle();

    const record_meta = Reflect.getMetadata(RECORD_META, context.getHandler());

    // Logs do not need to be reported
    if (record_meta == null) {
      return call$;
    }

    const { request } = ExpressContext(context);
    // bind  request ID to request context
    RequestContext.setRecordKeyForRequest(request);
    return call$.pipe(
      map((data: unknown) => {
        // record to database
        // request.user to operator
        return data;
      })
    );
  }
}

Based on my experience, if the provider scope is set to request and the request scope provider is injected to another provider. Then, other providers will be forced to request scope too.
So, if you inject the request scope provider into every provider (in the service layer), that will decrease your application performance.
Definition of request Scope from nestjs official doc

A new instance of the provider is created exclusively for each incoming request. The instance is garbage-collected after the request has completed processing.

Maybe you should try this approach

Cons RequestId will undefined in exception filter.

UserService, remove the request context

class UserService {
     constructor(
      private userRepository: UserRepository,
    ) {}
    update(id: number, dto: UpdateUserDto) {
      const result =  this.userRepository.update(id, dto);
      return result;
    }
}

UserController, i don't really know what happen with @UpdateRecordLog. I assume the @UpdateRecordLog is decorator group between RecordInterceptor and RECORD_META

class UserController {
    @Put(':id')
    @UpdateRecordLog(
      'update user ${entity.name}',
      'user ${entity.name} update field ${patch.name} form ${patch.origin} to ${patch.current}'
    )
    update(@Param('id', ParseIntPipe) id: number, @Body() dto: UpdateUserDto) {
      return this.UserService.update(id, dto);
    }
}

Record Interceptor, you do not need RequestContext

@Injectable()
export class RecordInterceptor implements NestInterceptor<unknown> {
  constructor(
    @Inject(LoggerService) private readonly loggerService: LoggerService
  ) {}

  intercept(
    context: ExecutionContext,
    next: CallHandler<unknown>
  ): Observable<unknown> {
    const call$ = next.handle();

    // ! set request id here
    const requestId = uuid.v1();

    const record_meta = Reflect.getMetadata(RECORD_META, context.getHandler());

    if (record_meta == null) {
      return call$;
    }

    return call$.pipe(
      tab(async (data: unknown) => {
        // !data is response from controller
        // !you can insert the record in this

        await this.loggerService.put(requestId , data);
        return data;
      })
    );
  }
}

For the next, try to put the RequestId in middleware and then put the RequestId into RequestContext from express.
Ex: look src/common/middleware/request-id.middleware.ts from this project
Do not forget to read the https://docs.nestjs.com/faq/request-lifecycle. This doc will (maybe) help you

Thank you for your reply.
I want to make an operation log feature，record user actions, creation, modification, and deletion.
Each record needs to have an operator.
For the modification action, the modified field and the value before the modification and the value after the modification are required.
Developers can customize the format output record content.

Ohh, I see...
I can only recommend that you try using the interceptor pre and interceptor post instead of injecting request context into every service provider.
Hope you got the new insight.

I know，Interceptor is the best choice.
It was a pleasure talking to you. Thank you very much.
I'll show you when I write the code.


navbar all most imposible to style

Bootstrap use !important way to much, this make it incurable hard to style. And should be fixed. I can offer my help to make this, (found many bugs and preferments problem in the code) Anyways so should bootstrap update the grid witch a more custom-able navbar

Can't help you much with such a vague issue. We use !important on our utilities only; everything else is styled with classes wherever possible.

found many bugs and preferments problem in the code

Please do list them or open new issues and we can resolve them.

Anyways so should bootstrap update the grid witch a more custom-able navbar

Grid isn't attached to the navbar, not sure what you're looking for here.


Warning: could not locate requested Python version 3.11, reverting to version 3.11

Hello
I've got a problem with lunching py script in clearml-agent. The error is:
Warning: could not locate requested Python version 3.11, reverting to version 3.11
Agent is working in cmd with admin rights. Windows 10 with Python 3.11. And the agent needs 3.11...

Thank you! It's the same machine where I've started the experiment and lunched the agent. Without env for python. So the same python version 3.11.4 Agent version is 1.5.2

Hi
I have the same problem
I have python in 3.11.6
any idea ?


How to add DistributedHyperOpt.jl is not obvius

The example script juliacon_2023_distributedhyperopt.jl uses DistributedHyperOpt.jl, which is not included in the Project.toml, and can neither be added via Pkg.add(DistributedHyperOpt.jl).
The script or Project.toml or DistributedHyperOpt.jl should be modified such that adding and using this package is possible. Otherwise the user has a hard time finding this package and can only guess it is one of the ThummeTo-repos.

Correct, it's not registrated for now.


doc and docx documents do not have header and footer data

When reading Office documents, I can't extract the headers and footers. Is this configurable, or is there an interface that can achieve this?

This is a configuration parameter.  See the programming guide.

I'm using the C language SDK, but I haven't found any related settings. Is there a documentation link

Yes, and the equivalent parameter is available in C.  See the programming guide for C.  We support C, C++, Java, .NET and Python, and all of the programming guides can be found here.

I carefully checked the C API documentation link you provided, but I can't access it. Could you check if the address has a problem? Also, does the C SDK prior to version 24.4 not support extracting header and footer data from documents? Additionally, if I want to implement a new parser myself, is there a complete tutorial available? Thank you for your help!

Ah sorry, I have now corrected the deep link.  The parameter you need is KVF_HEADERFOOTER.  The link for the complete set of guides is correct.
If you're looking to detect or filter a currently undetected or unfilterable format, the first port of call would be to discuss it with the technical support team by raising a support ticket.  There may already be upcoming plans in place to implement it, or this might be the additional customer request that gets what you need prioritised.


Fix missing parseCPUInfo func on unknown architectures

Add a dummy function, so it doesn't fail to build.
Also group same files into one.
It's tested by:
 for i in `go tool dist list|grep linux|cut -d'/' -f2`; do GOARCH=$i go build .; done;

I think we might prefer to fail build rather than return a dummy. It seems like the only thing we're currently missing is a riscv64 function.

Though I'm not sure if there are real people using this library(or even Go) on other architectures, there is gccgo which supports more than gc. And they maybe don't need to use CPUInfo func, they just need to use other functions in this library.
Anyway adding a riscv64 function is also great.

To address the concern for "whether the platform is supported", parseCPUInfoDummy can be changed to return nil, errors.New("not implemented")

Yes, returning errors.New("not implemented") would be preferred. That sounds fine for the dummy function.

Thanks!


🐛 BUG:  Uncaught ReferenceError: chance is not defined when using javascript-obfuscator

Which Cloudflare product(s) does this pertain to?
Wrangler
What version(s) of the tool(s) are you using?
3.83.0
What version of Node are you using?
18
What operating system and version are you using?
Mac big sur
Describe the Bug

Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

Thanks for reporting this! Would you be able to provide a reproduction repo that demonstrates the issue?

hi @umesh-gsynergy :)  we haven't heard from you in a while, so we’re going to close this issue for now. if this is still a problem, please feel free to open a new issue referencing this one. please be sure to include an updated summary and repro and we will revisit and investigate further. thanks!


Duplicate SSH Firewall Rule is Created by Installer

The ssh firewall rule created by the installer is almost the same as the default ssh rule, except it's targeted to the service account and higher priority.
Also, the deny-all created by the installer also seems be the same as the implied deny ingress rule.
After discussing with @ahoying, the default firewall rules in the project should be removed.
https://cloud.google.com/vpc/docs/firewalls

Deleted default firewall rules for testing, was able to run Forseti and SSH into the client/server VM. Seems functionality doesn't change by deleting default rules. Going to add a method to delete default firewall rules from the project to avoid any confusion thereby making concepts clearer for the users. Will add an FAQ as well.


Add The Undefined Block

Resolves
Fixes #756
Proposed Changes
If a block is invalid it will create a undefined block
Reason for Changes
So projects with invalid blocks are not immediately broken when loaded

Looks like this was accidentally closed by the merge/05-24 (the commit that "fixes" this was targeting an issue in google/blockly, not the issue with the same ID in LLK/scratch-blocks.)

@TheBrokenRail I think we are going to handle this in the project parser / validator rather than in the blocks to avoid the fatal exception.


hash_join panic in backwards compat test

See compute node logs in https://buildkite.com/risingwavelabs/main-cron/builds/1145#018bd497-981d-4ac5-be67-459c89247f68
thread 'risingwave-streaming-actor' panicked at src/stream/src/executor/managed_state/join/join_entry_state.rs:51:13:
pk [0, 128, 0, 0, 0, 85, 165, 162, 158, 0, 0, 0, 0] should be in the cache
thread 'risingwave-streaming-actor' panicked at /risingwave/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/buf/buf_impl.rs:289:9:
assertion failed: self.remaining() >= 1
thread 'risingwave-streaming-actor' panicked at src/storage/src/mem_table.rs:368:49:
internal error: entered unreachable code: memtable update should always be paired with a storage key
stack backtrace:
2023-11-15T20:37:24.363039515Z ERROR risingwave_stream::task::stream_manager: actor exit actor=184 error=Executor error: Storage error: MemTable error: Inconsistent operation
  backtrace of `StreamExecutorError`:
   0: from
             at ./src/stream/src/executor/error.rs:39:10
   1: into<risingwave_stream::executor::error::ErrorKind, risingwave_stream::executor::error::Inner>
             at /rustc/249624b5043013d18c00f0401ca431c1a6baa8cd/library/core/src/convert/mod.rs:757:9
   2: from
             at ./src/stream/src/executor/error.rs:173:34

Good main-cron commit: https://github.com/risingwavelabs/risingwave/commit/e46151bdcb5427ddc7306015d2729a7edda312ce
Bad main-cron commit: https://github.com/risingwavelabs/risingwave/commit/1327bb237b079967da35603b684aae9b857a8629

Compare the changes here: https://github.com/risingwavelabs/risingwave/compare/e46151b...1327bb2

First bad commit https://github.com/risingwavelabs/risingwave/commit/3997e2683e858ac65daca52c5a8ab6c24301206b

I tried to revert possible executor schema change (actually unchanged) in https://github.com/risingwavelabs/risingwave/pull/13389, and the test still fails, on nexmark_q101 more precisely. Then I realizes that this is very likely to be exactly the case that I just mentioned in https://github.com/risingwavelabs/risingwave/issues/13559#issuecomment-1820945754, which is a compatibility issue of https://github.com/risingwavelabs/risingwave/pull/13376. So the first bad commit may be https://github.com/risingwavelabs/risingwave/commit/0020507edbc4010b20aeeb560c7bea9159315602 rather than https://github.com/risingwavelabs/risingwave/commit/3997e2683e858ac65daca52c5a8ab6c24301206b. I started two tests again, let's see.

https://buildkite.com/risingwavelabs/pull-request/builds/35836
https://buildkite.com/risingwavelabs/pull-request/builds/35838

Confirmed: https://buildkite.com/risingwavelabs/pull-request/builds/35838#018bf23d-717c-4b10-9e25-d64c72412e1e, https://github.com/risingwavelabs/risingwave/commit/0020507edbc4010b20aeeb560c7bea9159315602 also fails. And the failing queries are nexmark q7 and q101, both having a max function call.