Error when using OpenCL device interface on Intel i7-920

Hi,
I have been running bempp-cl 0.1.x for a while now on a remote workstation, but as others were using the workstation I decided to perform a fresh install of 0.2.1 on my own computer. The install was fine but I encountered the following error when trying to use the OpenCL device interface:
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-1-1d1d5cfa54df> in <module>
      7 op = laplace.single_layer(space, space, space)
      8
----> 9 op.strong_form()

~/miniconda3/envs/bempp_prod/lib/python3.8/site-packages/bempp/api/assembly/boundary_operator.py in strong_form(self)
     60                 )
     61
---> 62         return self._range_map * self.weak_form()
     63
     64     def __mul__(self, other):

~/miniconda3/envs/bempp_prod/lib/python3.8/site-packages/bempp/api/assembly/boundary_operator.py in weak_form(self)
     38
     39         if not self._cached:
---> 40             self._cached = self._assemble()
     41
     42         return self._cached

~/miniconda3/envs/bempp_prod/lib/python3.8/site-packages/bempp/api/assembly/boundary_operator.py in _assemble(self)
    134     def _assemble(self):
    135         """Assemble the operator."""
--> 136         return self.assembler.assemble(self.descriptor)
    137
    138

~/miniconda3/envs/bempp_prod/lib/python3.8/site-packages/bempp/api/assembly/assembler.py in assemble(self, operator_descriptor, *args, **kwargs)
     93     def assemble(self, operator_descriptor, *args, **kwargs):
     94         """Assemble the operator."""
---> 95         return self._implementation.assemble(
     96             operator_descriptor,
     97             self._device_interface,

~/miniconda3/envs/bempp_prod/lib/python3.8/site-packages/bempp/core/dense_assembler.py in assemble(self, operator_descriptor, device_interface, precision, *args, **kwargs)
     39         # ) = select_numba_kernels(operator_descriptor, mode="singular")
     40
---> 41         mat = assemble_dense(
     42             self.domain,
     43             self.dual_to_range,

~/miniconda3/envs/bempp_prod/lib/python3.8/site-packages/bempp/core/dense_assembler.py in assemble_dense(domain, dual_to_range, parameters, operator_descriptor, device_interface)
     77         message=f"Regular assembler:{operator_descriptor.identifier}:{device_interface}"
     78     ):
---> 79         dense_assembler_dispatcher(
     80             device_interface,
     81             operator_descriptor,

~/miniconda3/envs/bempp_prod/lib/python3.8/site-packages/bempp/core/dispatcher.py in dense_assembler_dispatcher(device_interface, *args)
     30         from bempp.core.opencl_assemblers import dense_assembler
     31
---> 32         dense_assembler(device_interface, *args)
     33
     34     elif interface_type == "numba":

~/miniconda3/envs/bempp_prod/lib/python3.8/site-packages/bempp/core/opencl_assemblers.py in dense_assembler(device_interface, operator_descriptor, domain, dual_to_range, parameters, result)
    173         options["COMPLEX_KERNEL"] = None
    174
--> 175     main_kernel = get_kernel_from_operator_descriptor(
    176         operator_descriptor, options, "regular"
    177     )

~/miniconda3/envs/bempp_prod/lib/python3.8/site-packages/bempp/core/opencl_kernels.py in get_kernel_from_operator_descriptor(operator_descriptor, options, mode, force_novec)
    134
    135     vec_length = get_vector_width(precision)
--> 136     vec_string = get_vec_string(precision)
    137
    138     if not mode == "singular":

~/miniconda3/envs/bempp_prod/lib/python3.8/site-packages/bempp/core/opencl_kernels.py in get_vec_string(precision)
    174     vec_strings = {1: "novec", 4: "vec4", 8: "vec8", 16: "vec16"}
    175
--> 176     return vec_strings[get_vector_width(precision)]
    177
    178

KeyError: 2

The minimal code that reproduces the problem for me is:
import bempp.api

grid = bempp.api.shapes.regular_sphere(5)
space = bempp.api.function_space(grid, 'P', 1)

from bempp.api.operators.boundary import laplace
op = laplace.single_layer(space, space, space)

op.strong_form()

I believe the error is caused because my processor reports preferred/native vector width double as 2/2, however this option is not within the vec_strings dictionary. I have been able to get it to work by changing bempp.api.VECTORIZATION_MODE to "vec4", I assume this means that the calculations will be less efficient. My processor is an Intel i7-920.
Thank you for all your great work
Stefan

Dear Stefan,
you are right. We have not considered a vector width of 2 since AVX was released in 2011 and supports a vector width of 4. I will leave open this bug report since for this edge case we should provide a better error message.

Hello,
Thank you for your response. A more descriptive error message would be nice for anyone running older hardware. As a said in my original message, I can get the library to run by setting bempp.api.VECTORIZATION_MODE = "vec4", am I correct in thinking that this only has an effect on the efficiency of the calculations? or are there other implications which mean I should avoid this and use newer hardware?
Stefan


Track App foreground

We need to track in app insight if the user has the app in the foreground. This is to be able to detect how many active user we have for a given app.
Right now we are only tracking the initial launch of the app and not if the app is in the foreground / background.

This package is getting phased out, and we do not plan to make any improvements unless they are critical for the remaining apps. Closing this issue


How to enable mozjpeg in Sharp?

I want to optimize images, is it possible to enable mozjpeg?

This would involve some logic to be written into format.ts to allow for format-specific options to be passed.
If we were to add mozjpeg, it would open the door to go ahead and add the other format-specific parameters with some logic to ensure that a format-specific parameter is passed alongside its format (i.e. both must exist in query format=jpeg&mozjpeg)


Fixed InitialFileName for GTK-based file dialog

gtk_file_chooser_set_filename only works for existing files, so we are using gtk_file_chooser_set_current_name instead.

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


[Perf] Don't re-synthesize credits.aleo

Closes https://github.com/AleoNet/snarkVM/issues/2416.

I can reproduce this; that being said, I'm not familiar with the associated plumbing so I'm not sure what the nature of the issue is.

Hmm I can't think immediately of why this would fail. However, given that this optimization is about resynthesis of proving keys in CallStack::Execute mode, its not something validators run into (who only use CallStack::CheckDeployment), so this seems very low priority


Proposal: Introduce a Parameter Set

This proposal is intended to cover the feature request in https://github.com/deislabs/porter/issues/878, while also adding a bit more functionality in the process.
#878 requests the ability to inject secrets into parameter values (similar to what is supported for a credential today).  Here I propose accomplishing this via introducing a Parameter Set, very much like the existing Credential Set.
UX

User can designate a parameter value as sourced from one of the following:

env var
command result
path
value
secret (if supported by plugin like the Azure plugin)

Here would be an example for a parameter set file listing a parameter with a secret source:
{
  "name": "mybunz",
  "created": "2019-11-27T15:50:58.194017952-07:00",
  "modified": "2019-11-27T15:50:58.194017952-07:00",
  "parameters": {
    "name": "myparam",
    "source": {
      "secret": "myparam"
    }
  }
}

We intend to re-use the same format as is currently used for a Credential Set (or more specifically, a CredentialStrategy).
NOTE: in contrast to credentials, these (potentially secret) parameter values will be saved to the claim after a given action.  Porter's current vision is to encrypt claims as a layer of protection.

User can supply this parameter info at action runtime
porter install --parameter-set myparam-set.json

High-level work items:
Separated into sections corresponding to separate PRs.
Addition of Parameter Set

Introduce the concept of a Parameter Set, using the current Credential Set/CredentialStrategy as a model.

Any parameters that require looking up their values via a source (one of the sources listed in the UX section above) must be listed in a Parameter Set.

Parameters with raw value sources may be listed in a Parameter Set, but may also just be passed on the CLI via --param myparam=myparamvalue.  (Or via both methods; see precedence rules mentioned below.)

Add flag for all actions (porter install, etc.): -p/--parameter-set to supply the parameter set file.

Precedence for parameters: If a param is set via the CLI invocation (via --param), this value takes precedence over the same parameter value if listed in a supplied parameter set file.  (Thought: or, should it simply boil down to the last supplied flag wins?)

Interactive Parameter Set Generation

Interactive parameter set generation should be added.  A separate PR may be preferable for this work, as it may involve refactoring for reusing the existing interactive credential set generation logic.

Replace/deprecate param file

Proposal: Remove the existing --param-file functionality, to be replaced by the parameter set file.

Currently, --param-file allows only for a key=value listing for parameters
This same functionality will be retained in the parameter set file, as it has support for value source

Add Azure Plugin secret support

Add support for deriving the secret source for applicable parameters in the azure plugin edit: this already is working!

Allow mixed sources when at least one is a secret

Currently, Porter only allows all credential sources be of type secret (aligning with the use of the Azure plugin) or none
The same would apply for the proposed/forthcoming parameter sources, currently.  The work to enable mixed sources is encapsulated/tracked in https://github.com/deislabs/porter/issues/1050

💯 Let's do this!

All PRs associated with this epic have been merged; closing.


could not setbackground insteed of setIcon for buttons

Hello there
i wanna use your library for my project and i wanna setBackground for my buttons isteed of icons because icon showes my icon picture small but i wanna show them bigger

Hello, @milrad53. Readme section of this library, explains how to use it. Also, you can check example app in this repo. If you need some additional features, you're welcome to fork this lib and customize it the way you need.


[UX] Bandwidth Friendly Hashing

Problem is the name of the files. Files are already hashed, would only need switching from md5 to sha256 (which hashlib supports and conveniently it's a parameter)

get user posts - /{service}/user/{creator_id}
get user post - /{service}/user/{creator_id}/post/{post_id}

The filename is the hash. So from hexdigest(), building the path would be, f"/{hex[0:2]}/{hex[2:4]}/{hex}.{extension}" and they can be excluded.

Optimization on the above
To not have to scan everything, get the latest file date. Then when getting user posts, everything up to that post can be removed.

Optimization on the current implementation (lots of bandwidth could be saved)
right now it's downloading the full file, hashing it, then checking if it's not there to write. The server supports ranges. So we can request the first 100 bytes.
Example,

curl -r 0-100 https://n2.coomer.su/data/ab/ab/hash.mp4 | md5sum
then instead of hashing the full file locally, we can hash the start,

with open("file_source.mp4", 'rb') as fd:
    chunk = fd.read(101)

start_hash = hashlib.md5(chunk).hexdigest()

Based on my own testing in the past, the suggestion you made is not reliable. The naming convention on the target servers has changed throughout time. I don't remember all past conventions, but the current model is based on the SHA256 hash of the file. Since this was not always the case, it cannot be reliably used to know if a file has been downloaded.

See #9 for the status of constraining downloading files based on date or other criteria.

Requesting only the first N bytes to test if a file has been downloaded is good in theory, but there are important considerations. For example, enough bytes need to be downloaded to make the comparison reliable (i.e. enough to skip the file header and get a decent way into the "meat" of the file). This is still preferable over downloading potentially several GB just to have it immediately discarded as a duplicate.

I am open to check pull requests addressing parts 2 and 3. You seem to know what you're talking about, so show me what you got :)

The dev branch has implemented many changes, including what was requested here. Looking for bug testers on these new features before building a release:

Change in hashing to check for duplicates with a minimal download (part 3 of this issue).
Complete change in usage (I recommend using the --help)
Download posts in a range (including only a starting or ending offset)
Download a single post.
Download a single media.
Streamed downloads, including the usage of a .part file while downloading.
Switch to the n servers instead of the c servers for future-proofing.

@A-Coom Got busy. I'll test what you have.
I was coming to add some info. My first pass, was skipping if already existed.
Was looking and noticed all file names I saw on the platform are actually the sha256 of the file.
diff --git a/scrape.py b/scrape.py
index 436ea04..b04d5f3
--- a/scrape.py
+++ b/scrape.py
@@ -1,6 +1,6 @@
 from scraping_utils.scraping_utils import compute_file_hashes, DownloadThread, multithread_download_urls_special, IMG_EXTS, VID_EXTS, TOO_MANY_REQUESTS, NOT_FOUND, THROTTLE_TIME
 from sys import stderr, stdout, argv
-from hashlib import md5
+from hashlib import sha256
 import requests
 import os
 import re
@@ -20,7 +20,7 @@ class CoomerThread(DownloadThread):
     F_TOKEN = 'A-Coom@github'

     # Initialize this CoomerThread
-    def __init__(self, file_name, url, dst, algo=md5, hashes={}):
+    def __init__(self, file_name, url, dst, algo=sha256, hashes={}):
         DownloadThread.__init__(self, file_name, url, dst, algo, hashes)
         self.base = url
         self.server = 1
@@ -36,12 +36,20 @@ class CoomerThread(DownloadThread):
         self.server = self.server + 1
         if(self.server > self.C_SERVER_COUNT): self.server = 1

+    def already_exists(self, url_hash):
+        return url_hash in self.hashes.keys()
+
     # Perform downloading until successful, switching coom servers as "too many requests" responses are received
     def run(self):
         ext = self.base.split('.')[-1]
         name = self.base.split('/')[-1].split('.')[0]
         media = None

+        if self.already_exists(name):
+            # Already exists, setting to finished and exiting early
+            self.status = self.FINISHED
+            return
+
         try:
             while(self.status == self.STANDBY):
                 self.status = self.DOWNLOADING
@@ -108,19 +116,20 @@ def download_media(urls, include_imgs, include_vids, dst):

     if(include_imgs):
         if(os.path.isdir(pics_dst)):
-            hashes = compute_file_hashes(pics_dst, IMG_EXTS, md5, hashes)
+            hashes = compute_file_hashes(pics_dst, IMG_EXTS, sha256, hashes)
         else:
             os.mkdir(pics_dst)

     if(include_vids):
         if(os.path.isdir(vids_dst)):
-            hashes = compute_file_hashes(vids_dst, VID_EXTS, md5, hashes)
+            hashes = compute_file_hashes(vids_dst, VID_EXTS, sha256, hashes)
         else:
             os.mkdir(vids_dst)

     stdout.write('\n')

-    hashes = multithread_download_urls_special(CoomerThread, urls, pics_dst, vids_dst, algo=md5, hashes=hashes)
+
+    hashes = multithread_download_urls_special(CoomerThread, urls, pics_dst, vids_dst, algo=sha256, hashes=hashes)
     return len(hashes)

Documenting this since it helped me debug, I added this to be able to step through via the debugger,
diff --git a/scraping_utils.py b/scraping_utils.py
index 8197141..4bce195 100644
--- a/scraping_utils.py
+++ b/scraping_utils.py
@@ -210,7 +210,22 @@ def multithread_download_urls_special(Dtsc, urls, pics_dst, vids_dst, algo=hashl
     # Confirm that Dtsc is a subclass of DownloadThread (or the same class)
     if(not issubclass(Dtsc, DownloadThread)):
         return hashes
-
+
+    DEBUG = True
+    if DEBUG:
+        # Non-threaded mode for debugging
+        stdout.write("[DEBUG MODE] Running in non-threaded mode.\n")
+        for name in sorted(urls.keys(), reverse=True):
+            url = urls[name]
+            ext = url.split('.')[-1]
+            dst = pics_dst if ext in IMG_EXTS else vids_dst
+            # Simulate the run method for debugging
+            thread = Dtsc(name, url, dst, algo=algo, hashes=hashes)
+            thread.run()  # Directly call run instead of start
+            thread.print_status()
+        return hashes
+
+
     # Print the initial status box
     msg = f'Successfully downloaded media from 0/{len(urls)} URLs'
     print(f'.{"="*(len(msg)+2)}.')

I was coming to add some info. My first pass, was skipping if already existed. Was looking and noticed all file names I saw on the platform are actually the sha256 of the file.

After looking again, I realize I made a mistake. You are correct, the names of the server are the SHA-256 hash. Thank you for bringing that to my attention!
The dev branch now implements a parameter to use this method of duplicate detection. In general, those with very limited bandwidth will benefit from using --full-hash. But it does require more computing power, especially for large files. If you are happy with the implementation, this issue will be closed.
The servers have been finicky recently, so I have not been able to test very thoroughly. There will hopefully be a release before the end of the month if the servers don't get nuked.


nginx: recommended-proxy-headers.conf is included both globally and when using proxy_pass

Describe the bug
When using recommendedProxySettings, recommended-proxy-headers.conf in included in the "global" http block and in every location if proxy_pass is used.
Isn't the location include redundant?
Also, since it's included in the http I cannot figure out how to override one header. I want to override X-Forwarded-Proto. I should be able to add a "manual" location using extraConfig but since the same header is set in the http block, it's only appended and causing problems. I would have to disable recommendedProxySettings, which I don't want to do.
Steps To Reproduce
Expected behavior
Screenshots
Additional context
Notify maintainers

@fpletz
Metadata

system: "x86_64-linux"
host os: Linux 5.10.83, NixOS, 22.05 (Quokka)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.5.1
channels(root): "nixos-22.05pre346004.5aaed40d22f, nixos-unstable-22.05pre346004.5aaed40d22f"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

I ran into this too. I wrote https://github.com/NixOS/nixpkgs/commit/29de7bb539ac09d8ca568bf4dcd9342156e24fd0 before realizing that the situation was more messed up than that.
Basically the settings are applied both globally and for proxy-passing locations. This is both pointless (the specific locations are already covered by the global config) but also means that the per-location opt-out is basically useless. It can only be used as an opt-in. And if it is used as an opt-in half of the settings don't get applied because some only get applied globally.
So we should clarify what the global recommendedProxySettings means.

If it applies to all proxy configs, even those not using the nixos module's proxyPass then we need to set it globally. In that case setting recommendedProxySettings=false in a location block probably needs to undo that work.
If it only applies to the proxyPass from the module then we should probably put *all of the configs into the include file and remove the global setting.

The workaround to opt-out is something like this:
locations."/" = {
	recommendedProxySettings = false;
	extraConfig = ''
		proxy_set_header X-Forwarded-For "";
	'';
};

Of course be sure to revert every setting that you care about.

Hi all, I ran into a similar issue today. My transmission service doesn't like the recommended proxy settings so I tried to override them with the following:
services = {     nginx = {       recommendedProxySettings = true;       recommendedTlsSettings = true;       recommendedOptimisation = true;       recommendedGzipSettings = true;       virtualHosts = {         "transmission.example.com" = {           locations."/" = {             proxyPass = "http://<IP_ADDRESS>:9091";             recommendedProxySettings = false;           };           forceSSL = true;           enableACME = true;           # Use DNS Challenge.           acmeRoot = null;         }
Transmission's web UI loads as expected when the global recommendedProxySettings is set to false. I would expect that when I set recommendedProxySettings to false in the per site config that it would revert those back but that does not appear to be the case. I believe this is the behavior you mentioned in item 1 on your last post, @kevincox

Basically the settings are applied both globally and for proxy-passing locations. This is both pointless (the specific locations are already covered by the global config) but also means that the per-location opt-out is basically useless. It can only be used as an opt-in. And if it is used as an opt-in half of the settings don't get applied because some only get applied globally.

No, if you use proxy_set_header in a location, all globally defined proxy_set_header settings are ignored. That is why there is the location-specific override and by default all recommended proxy_set_header settings are duplicated in the locations. Headers are being set globally to cover locations that not being generated by the module.

I would expect that when I set recommendedProxySettings to false in the per site config that it would revert those back but that does not appear to be the case.

I agree that this is a pretty weird behavior if you don't know nginx but this is how nginx works after all. Not sure if we should change this or change the documentation. :slightly_frowning_face:

I think the most obvious path is to make the global recommendedProxySettings just a default value for the per-location recommendedProxySettings. This is of course a breaking change if people are not using the NixOS module to define some of their configs. We can either just accept this and put it in the release notes or rename the global to something like defaultRecommendedProxySettings and then users need to take manual action and understand the change.

In case someone else stumbles into this issue when diagnosing a similar problem, or if we want to add it to the documentation, this is the required config to undo the recommendedProxySettings as per the nginx documentation.
services = {
    nginx = {
      recommendedProxySettings = true;
      recommendedTlsSettings = true;
      recommendedOptimisation = true;
      recommendedGzipSettings = true;
      virtualHosts = {
        "transmission.example.com" = {
          locations."/" = {
            proxyPass = "http://<IP_ADDRESS>:9091";
            # Undo the "recommendedProxySettings"
            extraConfig = ''
                    proxy_set_header Host $proxy_host;
                    proxy_set_header Connection close;
                    proxy_set_header X-Real-IP "";
                    proxy_set_header X-Forwarded-For "";
                    proxy_set_header X-Forwarded-Proto "";
                    proxy_set_header X-Forwarded-Host "";
                    proxy_set_header X-Forwarded-Server "";
            '';
          };
          forceSSL = true;
          enableACME = true;
          # Use DNS Challenge.
          acmeRoot = null;
};


Update for new version

[Default] This plugin was built for an outdated core ABI (73). Please rebuild the plugin with the latest API (75).
on dev version
on stable it loads but annoying popup saying plugin is outdated something in those lines, can we hope for newest stable support? Thank you and have a great day

fixed by building the project urself! thank you


http://symblog.co.uk/ website is down

Hi guys,
I don't know what is going on, but I can't get to the website with the tutorial.
If hosting is issue, I can help with that, have multiple sites hosted and can take this over.

Hi @tired1 the domain is still registered but a year and a bit later, site is still down.
I've copied to wiki https://github.com/dsyph3r/symblog/wiki all 6 parts that I dug from Google cache only to discover that original documentation is here in it's own repository at https://github.com/dsyph3r/symblog-docs

@dsyph3r as you still hold the domain name you can easily use GitHub to host the site, all you have to do is to move documentation to Project pages and then use custom domain


fix(windows): clear all routes when setting new IPs

Related: #5392.

@conectado Putting this up here so we don't forget. We could maybe also remove all routes and re-add them? Not sure what exactly the patches were that you had locally.

For default route #6051 might be needed to do but I'll test if this PR is just enough and report back

For default route #6051 might be needed to do but I'll test if this PR is just enough and report back

@thomaseizinger this is the patch that I had locally

Superseded by #6051.


oem-ibm: Call PEL API when host drops event log

When IBM's hypervisor receives an event log (PEL) using the file API, it may end up discarding it, returning the reason the file was discarded in the status argument of the file ack command.  It can do this for two reasons, either it doesn't have any more room to store event logs, or the event log was malformed.
In these cases, call the HostReject D-Bus method on the PEL daemon so it can handle it. The code must convert the value of the status returned into the proper D-Bus enum value.
Without this call, the operating system was missing event logs when there were floods of them.
Tested:
API was called when system was flooded with event logs, allowing the PEL daemon to resend them as space opens up.
Change-Id: I9d3acf4e5c5f885934ef96e89ddb93dd8f9c10a3

Upstream: https://gerrit.openbmc.org/c/openbmc/pldm/+/66566


copy and paste shortcuts

This adds a copy and a paste Shortcut.
I think it would be nice to combine the shortcuts and the PopUp so that the PopUp is just displaying the available shortcuts. What do you think?

I think it would be nice to combine the shortcuts and the PopUp so that the PopUp is just displaying the available shortcuts. What do you think?

Do you mean generating shortcuts from context menu items? Sounds good.


Add more charts to metrics dashboard

Is your feature request related to a problem? Please describe.
We have a lot of metrics that are 'hidden'
Describe the solution you'd like
Add missing charts

Anything related specifically to https://github.com/ChainSafe/lodestar/issues/2468 ? Should we just keep the list of charts we want to add in there?

Repurposing this issue to track adding metrics for dashboard.

Metrics addition are best tracked with https://github.com/ChainSafe/lodestar/issues/2468


soc: npcx: setup custom MPU regions for npcx7

Hi, stumbled into this while testing MPU on npcx7. Turns out that the MPU base addresses have to be aligned with the size of the region, which is not the case with the code RAM start addresses on npcx7. This adds a static region mapping for the soc family, which should work on both 192k and 320k devices.
The resulting setup is (mentioned in the patch comment):
    - 192kB devices

      Code ram: 0x10090000 to 0x100bffff
    MPU region: 0x10080000 to 0x100bffff (256k)

    - 320kB devices

        Code ram: 0x10070000 to 0x100bffff
    MPU region 0: 0x10040000 to 0x1007ffff (256k)
    MPU region 1: 0x10080000 to 0x100bffff (256k)

(rebased and pushed again since some tests were stale, no changes)


Values list incorrectly formatted as code & other issues

The values list is incorrectly formatted as code.
Also, half of the descriptions in it fail to explain what the actual source is.
Should probably link this "RHS" thing to a page explaining what it stands for.

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

ID: 2dc30bfa-c762-4ca5-4940-fd12c4224d63
Version Independent ID: 532e4612-c864-a03c-7a08-8045ea97cc56
Content: Bug Check 0x9E USER_MODE_HEALTH_MONITOR - Windows drivers
Content Source: windows-driver-docs-pr/debugger/bug-check-0x9e--user-mode-health-monitor.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @DOMARS
Microsoft Alias: domars

@henke37 - Thanks for the input on Bug Check 0x9E. We use customer input like this as well as data on how often the bug checks occur to determine how we allocate our documentation team resources. I changed the formatting to not be code. With markdown we have limited options that allow us to publish list content like this. I also defined RHS on first mention. I added links at the bottom of the topic that point to the related error reporting and logging. The log may contain information preceding the stop code that may identify the cause that led to the failure. Without being attached to the source code in a debugger during a failure, it can be difficult to use the parameter information. Good luck with your work in cluster troubleshooting, and thanks again for this input.


Foundation: slight cleanup of FileManager+Win32 (NFC)

Use a try? with a coalescing operator to avoid a guard + return x 2.

@swift-ci please test Linux platform


Initials Avatar

Hello
Is there a way to add an Initials Avatar I mean "NB" for example instead of a picture?

@neomib Hello! I don't recommend to use this package. It was written as a learning project when I was actively learning front-end. It wasn't updated for one year. You can easily write a component like this by yourself. Sorry for inconvenience, I should've deprecated it long ago.


Use mc:edit

mc:edit allows for editable areas: http://kb.mailchimp.com/templates/code/create-editable-content-areas-with-mailchimps-template-language

@dandv can you work on this and make a pull request?

I'm just learning about this myself. https://github.com/digidem/email-templates uses mc:edit.

@dandv do you have experience with MC? I can work on it from my end, shouldn't take more than an hr (including testing). We have similar feature like hideable tag :)


chore: cleanup protocol var

I'm afraid I have to disagree with this change.  That behavior was to prevent protocol v3 from being set as v2 or v1.
That was made to prevent user error

I'm afraid I have to disagree with this change. That behavior was to prevent protocol v3 from being set as v2 or v1. That was made to prevent user error

Which user error can happen in the new code path ?

When the user uses discover and the device is version 3. The user can't change it to v1 or v2 manually. So it will require key and token

When the user uses discover and the device is version 3. The user can't change it to v1 or v2 manually. So it will require key and token

New code force the usage of the device discover protocol so in this case forces v3.
I don't see the problem honestly.

You're right. My bad, I did miss the protocol or ProtocolVersion line

I think there's a bug. If the protocol is set, it should be an int type and can not be iterable. Here's my error stack:
2024-10-08 18:06:48.079 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 462, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 537, in _handle
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 210, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin
    return await func(self, request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 222, in post
    return await super().post(request, flow_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
    return await method(view, request, data, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 128, in post
    result = self._prepare_result_json(result)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 228, in _prepare_result_json
    return _prepare_config_flow_result_json(result, super()._prepare_result_json)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 135, in _prepare_config_flow_result_json
    return prepare_result_json(result)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 52, in _prepare_result_json
    data["data_schema"] = voluptuous_serialize.convert(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous_serialize/__init__.py", line 40, in convert
    pval = convert(value, custom_serializer=custom_serializer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous_serialize/__init__.py", line 91, in convert
    "options": [(item, item) for item in schema.container],
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'int' object is not iterable

Once I modify the code to below, everything worked perfectly:
vol.Required(
    CONF_PROTOCOL,
    default=protocol or ProtocolVersion.V3,
): vol.In(
    ProtocolVersion,
),

https://github.com/wuwentao/midea_ac_lan/blob/6c325d7548c0f10353a821c796fb467907b7e877/custom_components/midea_ac_lan/config_flow.py#L848-L850
I think line L849 it's more:
[protocol] or Protocol

Can you quickly test please ?

https://github.com/wuwentao/midea_ac_lan/blob/6c325d7548c0f10353a821c796fb467907b7e877/custom_components/midea_ac_lan/config_flow.py#L848-L850
I think line L849 is more:
[protocol] or Protocol

Can you quickly test please ?

It works for my scenario. But there is another bug, the schema version is just showing "Unknown"

[protocol] if protocol else Protocol

[protocol] if protocol else Protocol

LGTM

[protocol] if protocol else Protocol

LGTM

So you confirm it works as expected ?

So you confirm it works as expected ?

Yes, please update it.


Consider an approach to allow additional claims to be supplied at login time

Perhaps some overload of SignInAsync on the SigninManager that allows additional claims to be set into the cookie.
I know our prior discussion of the security token stamp validator overwriting the claims somewhat defeats this, but given the fix for that this woul[d sill be a welcome addition.
Backstory: In short, a customer needs to capture additional context at signin time that's not in his identity DB. https://github.com/IdentityServer/IdentityServer4/issues/330

@blowdart thoughts?  Its a cheap overload, the behavior would be that we jam some additional claims on to the ClaimsPrincipal.Identities.First() from the ClaimsPrincipalFactory

Seems like a reasonable suggestion.

This is basically the same ask as https://github.com/aspnet/Identity/issues/628, using that issue to track this


Fix help strings that aren't localized

This fixes issue #1471.
I'm not sure if it's the correct way to do it, I've just re-done was removed in this commit: 73399760f987d2cdc6636792bcef95629fd83272.
It looks like it works calling _() instead of making a new macro used at compile time as the documentation for gettext says in cases like this.

Coverage remained the same at 58.712% when pulling 6fc2941ede499ca6f804e4af297de7f7d4c99886 on scompo:master into cd9d77753b85a599d3d045ca2ecb252fc1c5aeb2 on newsboat:master.

Thanks! I polished your solution just a little bit, introducing the no-op macro as the GNU manual advises. I think it does make things clearer.
I also looked through all uses of _ and _s macros to see if we committed the same mistake elsewhere. Looks like we didn't.
There is a related potential problem though: functions that return a list of keys to be displayed in the "hint bar" at the bottom of the screen hold those hints in a statically-allocated array within a function:
https://github.com/newsboat/newsboat/blob/cd9d77753b85a599d3d045ca2ecb252fc1c5aeb2/src/dialogsformaction.cpp#L75-L83
The array gets initialized when we first enter the function, so if we do that before configuring gettext, the strings won't be translated. For this to happen, we'd have to display the dialog before calling textdomain, very early in main(), which is very unlikely — such code won't pass the review :) We could also run into this in testing: if the harness doesn't configure gettext, we'd get non-localized results. But in that case, we'll notice right away (since it's tests), and will probably know where to look. I also doubt we'll have such test at all, since translations are often in flux and will be a pain to keep up with. So overall, I think keymap hints are fine.

Glad I could help.
Using a properly named macro like this makes a lot more sense than just relying on gettext to return the original string just because is called at a certain time.


Remove assert check tags

Courtesy of @Vmihajlovic
The k6-chai-js library was intentionally built for running functional testing but has proven to be very handy and useful for other types of testing. When tests is run with many vus and iterations the added assert check tags (this, actual, expected) would created a lot of metric samples or cardinality.

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


Implementation of SSCursor, and dump_packet() Fixes

Implementation of Unbuffered Cursors (SSCursor), for working with very large result sets,
or for working over slow network connections. Reads rows on-demand instead of
all-at-once.
Implementation of OKPacketWrapper, and EOFPacketWrapper classes, which wrap
around the MysqlPacket class (similar to FieldDescriptorPacket).
Use try/except:pass in dump_packet() function, to avoid throwing exceptions.

Changes as per discussion:

Renamed to SSCursor
Compatible with MySQLdb's implementation
Unit tests included in pymysql/tests/test_SSCursor.py

Okay, everything is cleaned up. I removed the things you noted, and the tests now work on MySQLdb (a whopping 4 line fix :)


BeagleBone Black Tensorflow Lite build scripts

Added build_bbb_lib.sh and targets/bbb_makefile.inc to tensorflow/tensorflow/lite/tools/make/
Build tested on Raspberry Pi 3 B+.
Static Library tested on BeagleBone Black Industrial Edition.
Once the library has been generated, rename gen/bbb_armv7l/lib/libtensorflow-lite.a to libtflite.a
and link to your gcc projects with "-ltflite -lpthread -ldl -lrt -march=armv7-a -mfpu=neon -I . -L ."
e.g.:
g++ -c main.cpp -o main.o -I .
g++ -o test.run main.o -march=armv7-a -mfpu=neon -L . -l tflite -l pthread -l dl -l rt
Please see the Tensorflow Lite documentation for more information:
https://www.tensorflow.org/lite/guide/inference#running_a_model

I signed it!

The reviewer appears to be offline from Github

Are there any more reviewers available for this pull request?

I'll leave it to you as to how you want to add this documentation into the project:
Prerequisites

These instructions target a BeagleBone Black running its latest Debian image
You may need to start some commands with sudo for them to work properly
You may need dependency packages to be installed: sudo apt-get install build-essential make

Instructions

Download the Tensorflow source code: git clone https://github.com/tensorflow/tensorflow
Change Directory into Tensorflow Lite: cd tensorflow/tensorflow/lite/tools/make/
Download the dependencies for TF Lite: sudo ./download_dependencies.sh
Build the TF Lite library for BeagleBone Black: sudo ./build_bbb_lib.sh
Copy the new static library file: sudo mv gen/bbb_armv7l/lib/libtensorflow-lite.a ./libtflite.a

To link the library with your gcc projects, copy the libtflite.a file into your project's 'lib' directory.
The following compiler/linker options may be useful to know for successful compilation:
======{-ltflite -lpthread -ldl -lrt -march=armv7-a -mfpu=neon -I . -L .}======
Example Makefile
all:
	g++ -c main.cpp -o main.o -I .
	g++ -o test.run main.o -march=armv7-a -mfpu=neon -L . -l tflite -l pthread -l dl -l rt

Written by Alastair Cota @TheMindVirus


Added English README

Thanks for your help to translate the doc, it looks good, but there are some minor issues should be settled before it can be merged into master branch.

Should be good now.

Sorry for late feedback, but the international site has decide to has a separately package instead of reuse the Chinese version, please refer to https://github.com/tencentcloud/tencentcloud-cli-intl-en


Fixed viewTop for Internet Explorer

This is a fix for #16
I extracted the viewTop conditions into a method in ./utils and expanded on them to handle window and DOM element containers differently. The conditions I added are for cross-browser compatibility extracted from a generalized window.scrollTop getter I had.
Providing a test for this specific to Internet Explorer would be kind of a drag, but I tested it manually if that's any help.

:+1:  I will test and merge this tonight!


Duplicated interface names can cause problems

Using the same interface names inside the VNF containers can lead to problems with VNFs that need to run in privileged mode, like the vTC (PF_RING).
A workaround is to modify the VNFDs to not have duplicated interface names (e.g., not have input or output twice in a service).
We should think about having a better naming scheme (e.g. include the vnf_id in the interface name). Not sure how long these names are allowed to be?
This is an issue that should be investigated after the Y1 demo.

Interface names are defined in the VNFD, and are the developer's responsability?
Maybe the best the emulator can do is to print a warning when it detects duplicated names?
We cannot change the interface names defined in the VNFD when deploying in the emulator,
it might break the VNF functionality?

Yes, thats true. Developers need to rely on their own interface name definitions. In addition, the bug only occurs with very specific VNF implementations. Maybe a simple warning message is really the best choice here.

This is also a problem when using the same interface names for two VNFs deployed using OSM r4. So the issue is still relevant!


Add a field SchedulerName to TFJob for specifying a scheduler

This commit adds a new field SchedulerName to the definition of TFJob.
The purpose of the field is specifying the scheduler name of the pods
created by tf-operator and let the scheduler (which wouldn't be the
default scheduler) handle them. It would be convenient for letting
kube-batchd (a component of kube-arbitrator) handle the pods.
/cc @jlewi this is a newer version of https://github.com/kubeflow/tf-operator/pull/398

This change is

Coverage increased (+0.1%) to 32.092% when pulling 6b621e2c93c1aa3514afcb98f59c95838c05fd95 on mitake:sched-name-tfjob into 08071b30a59a12235b1f5f9bbe58d41c047ea61c on kubeflow:master.

@gaocegege probably we don't need to define. If the field is empty, apiserver will supply the name of the default scheduler (default-scheduler) to a pod.

/ok-to-test

Why is scheduler name a property of the replica vs. a property of the job?
I was expecting this PR to enable testing of the use of kube-arbitrartor. I was expecting that to be a job level setting as opposed to a replica level setting.

I think all the TFJob's replicas will be scheduled by one scheduler, which may be kube-arbitrator. Then Job level SGTM.

I was expecting this PR to enable testing of the use of kube-arbitrartor. I was expecting that to be a job level setting as opposed to a replica level setting.

This PR provides a job level setting. The job level setting will be propagated to the replica level setting during the creation process. If I'm misunderstanding something, sorry for that and please point out.

Thanks. Looks good; must have misread it before.
Should we add a unittest to verify pod scheduler is set properly?

@jlewi @gaocegege updated for

unit test
removing the change related to tensorboard

Could you take a look?

/lgtm

You should run hack/update-codegen.sh to generate code and we should add hack/verify-codegen.sh into our test @gaocegege @jlewi

@wackxu
Thanks and I agree that. I will file an issue for it.

Probably the CI is failing because of invalid format of python files. I created another PR for the issue: https://github.com/kubeflow/tf-operator/pull/429

@ScorpioCPH @mitake This change likely conflicts with #344. Which PR should be submitted first
/hold

@mitake Thanks for your contribution! Could you rebase the master and I think we could merge it ASAP.

@gaocegege rebased on the latest master, PTAL

/lgtm

@ScorpioCPH Do you want to have another review?

I will merge it soon since there is no more review.


[Bug]: test_unary_propose_fast_path_fallback_slow_path will randomly failed

Description about the bug
As the title described, the test case test_unary_propose_fast_path_fallback_slow_path will randomly failed.
Version
0.6.1 (Default)
Relevant log output
--- STDOUT:              curp client::tests::test_unary_propose_fast_path_fallback_slow_path ---

running 1 test
2024-06-07T07:51:50.826655Z  WARN test_unary_propose_fast_path_fallback_slow_path: curp::client::unary: propose cmd(0#16819838916010368377) to server(4) error: KeyConflict(())
2024-06-07T07:51:50.826753Z  WARN test_unary_propose_fast_path_fallback_slow_path: curp::client::unary: propose cmd(0#16819838916010368377) to server(3) error: KeyConflict(())
2024-06-07T07:51:50.927001Z DEBUG test_unary_propose_fast_path_fallback_slow_path: curp::client::unary: slow round for cmd(0#16819838916010368377) succeed
test client::tests::test_unary_propose_fast_path_fallback_slow_path ... FAILED

failures:

failures:
    client::tests::test_unary_propose_fast_path_fallback_slow_path

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 112 filtered out; finished in 0.11s

--- STDERR:              curp client::tests::test_unary_propose_fast_path_fallback_slow_path ---
thread 'client::tests::test_unary_propose_fast_path_fallback_slow_path' panicked at crates/curp/src/client/tests.rs:583:5:
assertion `left == right` failed
  left: 3
 right: 5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

   Canceling due to test failure: 3 tests still running
        PASS [   0.023s] curp client::tests::test_unary_slow_round_fetch_leader_first
        PASS [   0.123s] curp client::tests::test_unary_propose_slow_path_works
        PASS [   1.910s] benchmark bench_client::test::test_new_etcd_client
        PASS [   2.092s] benchmark bench_client::test::test_new_xline_client
------------
     Summary [   2.101s] 25/345 tests run: 24 passed, 1 failed, 0 skipped
        FAIL [   0.125s] curp client::tests::test_unary_propose_fast_path_fallback_slow_path
error: test run failed
error: process didn't exit successfully: `/github/home/.rustup/toolchains/1.74.0-x86_64-unknown-linux-gnu/bin/cargo nextest run --manifest-path /__w/Xline/Xline/Cargo.toml --target-dir /__w/Xline/Xline/target/llvm-cov-target --all-features --workspace` (exit status: 100)
Error: Process completed with exit code 1.

Code of Conduct

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

This reason is located and solved in PR : #859


Adding Infosys as Member & Adopter to landscape.yml

Pls add Infosys, thanks
Signed-off-by: Rishi Pratap Singh<EMAIL_ADDRESS>Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Have you picked the single best (existing) category for your project?
[ ] If submitting a tool, is your project closed source or, if it is open source, does your project have at least 100 GitHub stars?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~10 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Thanks @singhrishipratap! The deploy preview failed for two reasons:

The logo is in .ai format. According to the procedure when submitting new logos to the landscape, these ones are required to be in SVG format only and be placed in the hosted_logos folder.

All organizations are in alphabetical order and divided between Adopter and Member. This Infosys info for Member should be added in line 227 while Adopter should be placed at line 739 within the landscape.yml file.

I'm not able to make editions to your branch. Could you please make these changes and commit them to this PR? 🙂
If you have issues, I can create a new PR with the right changes and delete this one. For this, I would need teh Infosys logo in SVG.
Thank you

Hi Ana,
I have raised another PR Adding Infosys logo in svg format. by singhrishipratap · Pull Request #145 · todogroup/ospolandscape (github.com)https://github.com/todogroup/ospolandscape/pull/145
I was able to upload logo in svg format. All PR checks were successful.
But there is an error while submitting changes in .yml file. I am not sure why Pull Request checks are failing. Pls look into this
Best Regards
-Rishi
From: Ana Jimenez Santamaria @.>
Sent: Friday, September 2, 2022 2:15 PM
To: todogroup/ospolandscape @.>
Cc: Rishi Pratap Singh @.>; Mention @.>
Subject: Re: [todogroup/ospolandscape] Adding Infosys as Member & Adopter to landscape.yml (PR #141)
[EXTERNAL EMAIL]
Thanks @singhrishiprataphttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsinghrishipratap&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828598793|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=KvcTdAkD%2FiOyYEkgy9uufbHP40h7IIj7q7RbsJfTs04%3D&reserved=0! The deploy preview failed for two reasons:

The logo is in .ai format. According to the procedurehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftodogroup%2Fospolandscape%23logos&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828755027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=QCzNviFUe5bKQz7T%2BpUvrso1lEmDt9vD03SYHB9nm0E%3D&reserved=0 when submitting new logos to the landscape, these ones are required to be in SVG format only and be placed in the hosted_logos folderhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftodogroup%2Fospolandscape%2Ftree%2Fmaster%2Fhosted_logos&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828755027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=hN5So7jlr274JvqOeMN4kcBcwj5wR6sjb1xcDGWUIBk%3D&reserved=0.
All organizations are in alphabetical order and divided between Adopter and Member. This Infosys info for Member should be added in line 227 while Adopter should be placed at line 739 within the landscape.yml https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftodogroup%2Fospolandscape%2Fblob%2Fmaster%2Flandscape.yml&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828755027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=2R8KQ%2BY1dY5PhEZHc1v8LTOY7EcPlq46uMjkn%2BtPE2I%3D&reserved=0 file.

I'm not able to make editions to your branch. Could you please make these changes and commit them to this PR? 🙂
If you have issues, I can create a new PR with the right changes and delete this one. For this, I would need teh Infosys logo in SVG.
Thank you
—
Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftodogroup%2Fospolandscape%2Fpull%2F141%23issuecomment-1235236632&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828755027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=nrZqxj8SzHMzZA0wNXhJOt7nh3yxEfLvfv5xB0W%2BUyA%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIU6PZS4BRTESKJVQIKTGIDV4G5ALANCNFSM6AAAAAAQBJLWIM&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828911258|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=nETo%2B%2FUu4fO2mVU49KowOtJAvpi0L3kG8%2BBJh9gBPhs%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hi Ana,
I would like to request, pls look into PR#145.
Best Regards
-Rishi
From: Rishi Pratap Singh
Sent: Thursday, September 8, 2022 5:06 PM
To: todogroup/ospolandscape @.>; todogroup/ospolandscape @.>
Cc: Mention @.>; Mohit Nain @.>
Subject: RE: [todogroup/ospolandscape] Adding Infosys as Member & Adopter to landscape.yml (PR #141)
Hi Ana,
I have raised another PR Adding Infosys logo in svg format. by singhrishipratap · Pull Request #145 · todogroup/ospolandscape (github.com)https://github.com/todogroup/ospolandscape/pull/145
I was able to upload logo in svg format. All PR checks were successful.
But there is an error while submitting changes in .yml file. I am not sure why Pull Request checks are failing. Pls look into this
Best Regards
-Rishi
From: Ana Jimenez Santamaria<EMAIL_ADDRESS>Sent: Friday, September 2, 2022 2:15 PM
To: todogroup/ospolandscape<EMAIL_ADDRESS>Cc: Rishi Pratap Singh<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [todogroup/ospolandscape] Adding Infosys as Member & Adopter to landscape.yml (PR #141)
[EXTERNAL EMAIL]
Thanks @singhrishiprataphttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsinghrishipratap&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828598793|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=KvcTdAkD%2FiOyYEkgy9uufbHP40h7IIj7q7RbsJfTs04%3D&reserved=0! The deploy preview failed for two reasons:

The logo is in .ai format. According to the procedurehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftodogroup%2Fospolandscape%23logos&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828755027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=QCzNviFUe5bKQz7T%2BpUvrso1lEmDt9vD03SYHB9nm0E%3D&reserved=0 when submitting new logos to the landscape, these ones are required to be in SVG format only and be placed in the hosted_logos folderhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftodogroup%2Fospolandscape%2Ftree%2Fmaster%2Fhosted_logos&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828755027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=hN5So7jlr274JvqOeMN4kcBcwj5wR6sjb1xcDGWUIBk%3D&reserved=0.
All organizations are in alphabetical order and divided between Adopter and Member. This Infosys info for Member should be added in line 227 while Adopter should be placed at line 739 within the landscape.yml https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftodogroup%2Fospolandscape%2Fblob%2Fmaster%2Flandscape.yml&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828755027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=2R8KQ%2BY1dY5PhEZHc1v8LTOY7EcPlq46uMjkn%2BtPE2I%3D&reserved=0 file.

I'm not able to make editions to your branch. Could you please make these changes and commit them to this PR? 🙂
If you have issues, I can create a new PR with the right changes and delete this one. For this, I would need teh Infosys logo in SVG.
Thank you
—
Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftodogroup%2Fospolandscape%2Fpull%2F141%23issuecomment-1235236632&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828755027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=nrZqxj8SzHMzZA0wNXhJOt7nh3yxEfLvfv5xB0W%2BUyA%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIU6PZS4BRTESKJVQIKTGIDV4G5ALANCNFSM6AAAAAAQBJLWIM&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828911258|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=nETo%2B%2FUu4fO2mVU49KowOtJAvpi0L3kG8%2BBJh9gBPhs%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hi Ana,
I think I missed marking your e-mail id. Apologies.
Pls look into PR#145. This is regarding adding Infosys as member and adopter.
Best Regards
-Rishi
From: Rishi Pratap Singh
Sent: Tuesday, September 13, 2022 6:29 PM
To: todogroup/ospolandscape @.>; todogroup/ospolandscape @.>
Cc: Mention @.>; Mohit Nain @.>; Jatinder Singh Purba @.***>
Subject: RE: [todogroup/ospolandscape] Adding Infosys as Member & Adopter to landscape.yml (PR #145)
Hi Ana,
I would like to request, pls look into PR#145.
Best Regards
-Rishi
From: Rishi Pratap Singh
Sent: Thursday, September 8, 2022 5:06 PM
To: todogroup/ospolandscape<EMAIL_ADDRESS>todogroup/ospolandscape<EMAIL_ADDRESS>Cc: Mention<EMAIL_ADDRESS>Mohit Nain<EMAIL_ADDRESS>Subject: RE: [todogroup/ospolandscape] Adding Infosys as Member & Adopter to landscape.yml (PR #141)
Hi Ana,
I have raised another PR Adding Infosys logo in svg format. by singhrishipratap · Pull Request #145 · todogroup/ospolandscape (github.com)https://github.com/todogroup/ospolandscape/pull/145
I was able to upload logo in svg format. All PR checks were successful.
But there is an error while submitting changes in .yml file. I am not sure why Pull Request checks are failing. Pls look into this
Best Regards
-Rishi
From: Ana Jimenez Santamaria<EMAIL_ADDRESS>Sent: Friday, September 2, 2022 2:15 PM
To: todogroup/ospolandscape<EMAIL_ADDRESS>Cc: Rishi Pratap Singh<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [todogroup/ospolandscape] Adding Infosys as Member & Adopter to landscape.yml (PR #141)
[EXTERNAL EMAIL]
Thanks @singhrishiprataphttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsinghrishipratap&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828598793|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=KvcTdAkD%2FiOyYEkgy9uufbHP40h7IIj7q7RbsJfTs04%3D&reserved=0! The deploy preview failed for two reasons:

The logo is in .ai format. According to the procedurehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftodogroup%2Fospolandscape%23logos&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828755027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=QCzNviFUe5bKQz7T%2BpUvrso1lEmDt9vD03SYHB9nm0E%3D&reserved=0 when submitting new logos to the landscape, these ones are required to be in SVG format only and be placed in the hosted_logos folderhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftodogroup%2Fospolandscape%2Ftree%2Fmaster%2Fhosted_logos&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828755027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=hN5So7jlr274JvqOeMN4kcBcwj5wR6sjb1xcDGWUIBk%3D&reserved=0.
All organizations are in alphabetical order and divided between Adopter and Member. This Infosys info for Member should be added in line 227 while Adopter should be placed at line 739 within the landscape.yml https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftodogroup%2Fospolandscape%2Fblob%2Fmaster%2Flandscape.yml&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828755027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=2R8KQ%2BY1dY5PhEZHc1v8LTOY7EcPlq46uMjkn%2BtPE2I%3D&reserved=0 file.

I'm not able to make editions to your branch. Could you please make these changes and commit them to this PR? 🙂
If you have issues, I can create a new PR with the right changes and delete this one. For this, I would need teh Infosys logo in SVG.
Thank you
—
Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftodogroup%2Fospolandscape%2Fpull%2F141%23issuecomment-1235236632&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828755027|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=nrZqxj8SzHMzZA0wNXhJOt7nh3yxEfLvfv5xB0W%2BUyA%3D&reserved=0, or unsubscribehttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIU6PZS4BRTESKJVQIKTGIDV4G5ALANCNFSM6AAAAAAQBJLWIM&data=05|01|rishi_singh%40Infosys.com|df2323e8556244cc352208da8cbf9b9b|63ce7d592f3e42cda8ccbe764cff5eb6|0|0|637977051828911258|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=nETo%2B%2FUu4fO2mVU49KowOtJAvpi0L3kG8%2BBJh9gBPhs%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


log response body for 400 client error

More informative logging for 400 client error
Not too sure about the versioning. Can we do 0.0.10 at all?
to @igor47 @wyao

:+1:
Yes that is valid versioning.


Notification icon

When a notif is received, the app icon on the notification shows as a grey square. I need it to show the app logo. If anyone can help that would be great

Hey @D99-1 can you please assign this to me?

@najeebkp done

is this app not compatible with iOS?

It is but as of now it is not possible to download onto ios

Hey, i tried to replicate the issue in android studio emulator. its showing me the expo icon. i dont know you are using an android physical device to test it. my android studio is hanging up entire system.
But i have solution for the problem.
in your app.json
1- you are having plugins inside splash. but expo notification docs says,

2- the documentation further says : " icon must be 96x96 all-white png with transparency."
hope this will help you.
really sorry that i couldn't help you with a PR.

Hey @najeebkp , thanks for checking it out, I will now investigate further based on your feedback. Sadly, you won't be able to mark this off as a contribution for the hacktoberfest


Added Parameter to initMeteorRedux

Hi Julian,
We forked the library and modified initMeteorRedux to take in a customReducers parameter which is just a plain combineReducers object. By this way we could combine our reducers with meteorReduxReducers and put them together into createStore function. #25
Regards,

Does combineReducers work with the default undefined? If so I'll merge.

Nevermind, it looks like redux handles this. I'll fix if we run into problems. Thanks again!

Thanks Julian.


Trend Charts Suck

Improve trend charts on mobile

I combined all the data into one chart with buttons to select the datasets. Currently supported is average heart rate, max speed and kudos tracked over time (1 w, 1 m, 6 m and 1 y).


open_basedir error in LoaderFilesystem.php

It get an open_basedir error if I'm using kirby-twig on an Plesk Onyx installation with activated open_basedir restrictions. I'm not able to change the default value of {WEBSPACEROOT}{/}{:}{TMP}{/} (role restrictions).
It works fine if I remove these lines in site/plugins/kirby-twig/src/classes/LoaderFilesystem.php:
Line 219:
$templatevariants[] = $shortname . '/' . $templatename . '.twig';
Line 229:
if (is_file($path.'/'.$templatevariant)) {
Line 335:
}

I had the same problem with uberspace

Should be fixed in 1.0.8


Limit the scaling upon pinch but why tileView auto-scroll to top boundary?

Hi, I have a tileView set to 0.1, 2.75 upon loaded but when pinch to zoom in the tileView, I need to restrict the scale to 0.75, 1.0 only.  I tried putting these codes into onZoomComplete:
tileView.setScaleToFit(false);
tileView.setScaleLimits(0.75, 1.0);
if(scaled < 0.75)
tileView.setScale(0.75);
else if(scaled > 1.0)
tileView.setScale(1.0);
it works and the scaling is limited to 0.75, 1.0 BUT the problem is, the tileView auto-scroll to the top of the boundary.  Can you advise why it behaves as such and if there's a workaround for this?  Thanks a lot.

It will scroll to the closest point available at that scale.  If you want to keep the scrolled point relative, you'll have to do some math.  Are you using relative positioning?

Hi, thank you so much for your reply.  I'm using defineRelativeBounds, is this what you mean by relative positioning?  Can it be like, after pinch, the map will stay at the position of finger down?  Please advise.  Thanks.

Yes, that's what I mean.  Since you're immediately scaling it down, the scroll position will be constrained to what's visible.  Imagine if you had an image and reduced it's size - it would not try to center around where your finger was, it'd just resize.  You can probably do what you want to do, but will need to do some math - the most basic would be to figure out the relative scroll position - like relativeScrollX = getScaledWidth() / getScrollX(), then reset that after you set the scale set the scroll relatively, like getScaledWidth() * relativeScrollX.  That's just a basic idea, and you'd need to use scrollTo and figure it out for both axes, and if you want the center point you'd have to do quite a few more calculations, and if you want the actual thumb position, even more, but that's the basic idea.
LMK if that makes sense.

HI, thanks again for the advice.  If not using my way of doing, is there any other simpler approach to achieve what I want?  Math calculation is too complicated for me.  :-)
Basically I just want to set the scale upon zoom in/out.  Please advise again.  Thanks a lot.

If you're going to have major changes to scale like that, and you want the scroll position to update based on some logic you're defining, you're going to have to use math.  Sorry :)

I see.  Noted.  Thanks for your advice and thanks for providing this great library.

np, sorry there wasn't something built in - i may consider something like this in a future release if it looks like others are looking for similar features.


Which key_index to pass to is_key_pressed with glutin backend?

Which key_index to pass to is_key_pressed with glutin backend?
is_key_pressed calls IsKeyPressed:
    // Inputs Utilities: Keyboard
    // - For 'int user_key_index' you can use your own indices/enums according to how your backend/engine stored them in io.KeysDown[].
    // - We don't know the meaning of those value. You can use GetKeyIndex() to map a ImGuiKey_ value into the user index.
    IMGUI_API int           GetKeyIndex(ImGuiKey imgui_key);                                    // map ImGuiKey_* values into user's key index. == io.KeyMap[key]
IMGUI_API bool          IsKeyPressed(int user_key_index, bool repeat = true);               // was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate

I want to check for certain key combos while certain widgets are focused.
E.g. pressing Enter on a table cell that is a text should turn it into an edit field, and Ctrl+Enter in a input_text_multiline should "submit" it etc.
Checking glutin's events directly doesn't scale for my use case, I need to check them at the point where I render each widget, that's why I need is_key_pressed. (Btw, I already have the ModifiersState, I just need to figure out how to make is_key_pressed work for normal keys like Enter.)

Btw, is there already a way to "submit" a input_text_multiline, similar to  .enter_returns_true(true) for input_text? When does InputTextMultiline::build() return true?

Ah, I had assumed I need to somehow figure out the scancode for each of Glutin's keys and convert it to imgui's codes, but I figured out this works:
	if self.modifiers == ModifiersState::CTRL
		&& ui.is_key_pressed(ui.key_index(Key::Enter))
	{
		println!("Ctrl+Enter pressed");
	}

But why does Key only have so few of the available keyboard keys?

I want to respond to Ctrl+Enter only while the cursor is active in the input_text_multiline.
But this doesn't work:
	let res = ui
		.input_text_multiline(
			im_str!("##multiline"),
			&mut self.input_arr_pattern_expr,
			[300., 100.],
		)
		.build();
	if res {
		println!("{:?}", (r, ui.is_item_focused()));
	}

is_item_focused() ALWAYS returns false. Why?

But why does Key only have so few of the available keyboard keys?

In the upstream C++ library, the key enum currently only contains the few keys it actually uses directly (for operations like copy/paste, selecting all, etc) for various reasons - although if https://github.com/ocornut/imgui/pull/2625 gets merged it will increase the number of keys significantly

Ah, I had assumed I need to somehow figure out the scancode for each of Glutin's keys and convert it to imgui's codes, but I figured out this works:

For keys outside of the imgui::Key enum that's what you have to do - note the API for this disappeared in 0.7.0 but should be back for 0.8.0; for details see https://github.com/imgui-rs/imgui-rs/issues/455 and relating PR https://github.com/imgui-rs/imgui-rs/pull/463

Because as soon as I press Ctrl+Enter, imgui apparently unfocuses the input for some reason, so is_item_active() returns false! How can I prevent this unfocusing?

I think ctrl+enter causing the widget to lose focus is default functionality of the multi-line input:
https://github.com/ocornut/imgui/blob/a1a39c632aaf2a1ab7fe09961748a2f25816fb6e/imgui.h#L947

ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 11,  // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter).

I'm not sure if there is a "good" way to disable this functionality if you want to do something custom with ctrl+enter, but you could possibly set the CtrlEnterForNewLine flag if ctrl is pressed to circumvent the behaviour - but that is pretty hacky and might do undesirable things when the enter key being passed.

This will be significantly reworked in imgui 1.87 and should simplify things (making the key handling consistent across backends):
https://github.com/ocornut/imgui/issues/4858
Shall close this issue as updates to the new API will happen via a future PR


pineapple: init at 1174

Motivation for this change
Adds pineappleEA.
Building from source proved to be too much of a hastle, so for now I've just used the provided appimage.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

:+1:
A shame things didn't work out with https://github.com/NixOS/nixpkgs/pull/84117 yet. I assume at some point in the future the plan is to build from source, right?

get a message when launching the application, not sure if this a know issue:

(Missing fuses - Missing BOOT0 - Missing BCPKG2-1-Normal-Main - Missing PRODINFO)

get a message when launching the application, not sure if this a know issue:

(Missing fuses - Missing BOOT0 - Missing BCPKG2-1-Normal-Main - Missing PRODINFO)

This is normal, running official games requires dumping the keys from a Switch so yuzu can decrypt the game files. Homebrew applications may not need this, but I'm not 100% sure about that.

👍
A shame things didn't work out with #84117 yet. I assume at some point in the future the plan is to build from source, right?

Yes, though for now i hope this is fine. Building from source has proven to be quite a bit of trouble, which i currently do not have the time to get working. I definitely plan to do this in the future.

This is normal, running official games requires dumping the keys from a Switch so yuzu can decrypt the game files. Homebrew applications may not need this, but I'm not 100% sure about that.

Homebrew applications indeed do not need this. These fuses (or keys) are used to decrypt Nintendo's propietary formats for their games. For legal reasons, they are not provided with the emulator.

@IvarWithoutBones please resolve the merge conflict.

@IvarWithoutBones please resolve the merge conflict.

Done :+1:
Also updated it to the latest version.

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

1 package built:

pineapple

@IvarWithoutBones since yuzu was merged do we still need this PR?

@IvarWithoutBones since yuzu was merged do we still need this PR?

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

1 package built:

pineapple

I've gotten in contact with the pineapple guys, and helped them out getting the early access source code available on GitHub.
Closing this PR in favour of #110810, as this builds it from source and is more up-to-date.

I've gotten in contact with the pineapple guys, and helped them out getting the early access source code available on GitHub.
Closing this PR in favour of #110810, as this builds it from source and is more up-to-date.


Remove WirePayForMessage from the mempool

Details
Currently, WirePayForMessage is not removed from the mempool, as we convert WirePayForMessage into SignedPayForMessage during the PreprocessTxs step, and the mempool's removal mechanism uses the hashes of the transactions as keys for each transaction.
While a hacky solution could be done fairly easily for the block proposer, removal from other nodes will likely require a solution with more modifications.
Proposal
Create a wrapped transaction interface type that has a method to return the original transactions hash. Simultaneously, modify the mempool to check for this wrapped transaction type upon failing to find a transaction to remove that is included in the block.
Action Items

[ ] Create Wrapped Tx type in core
[ ] Modify mempool
[ ] Wrap the SignedPayForMessage transactions and include the hash of the WirePayForMessage in it
[ ] Modify the app to unwrap the transaction

As an update, we plan on merging a temporary solution, #582 & #149, for devnet to the v0.34.x-celestia branch.
Exactly why the solution is needed to remove transactions is not yet known. The transactions should be removed from the mempool automatically when the it is updated/rechecked after committing a block that includes the tx, but this is not occuring.


/reset command not work

when type /reset i get:
Dear XXX
You need to start the bot before using it! We need to create an account for you first:
t.me/XXX_bot?start=create

is it ok?

Yes it's ok.
You need to start the bot first. (bot will make you some config files, for api setting and history file)
Then you can use /reset to reset (or clear) your history to start new conversation with bot.


Update framework conditional compilation directives

We want compilation to fail if we start targeting a framework not accounted for in the conditional compilation directives. This is an example of how to do this.
See https://github.com/aspnet/KestrelHttpServer/pull/2622/files#r191625156. We can make this change as soon as #2622 is merged into the dev branch.

I just merged #2622 into dev (5 minutes ago it was only in the release/2.1 branch) so you should really be unblocked @Tratcher.


Vulnerability in System.Data.SqlClient

Using EFCore.BulkExtensions now generates a transitive dependency vulnerability warning for our software.

We greatly appreciate this extension and would love to keep using it. Would it be possible to update the dependencies in order to fix the security vulnerability?
More information about this vulnerability can be found here:
https://github.com/advisories/GHSA-8g2p-5pqh-5jmc
Thanks in advance!

Hi Leon,
you can install can include a fixed version of System.Data.SqlClient in your project to get rid of the vulnerability.
See the transitive dependencies section for more info.

Latest version have all dependencies updated but this transitive one is still with 4.8.3.
For now try the fix @Peter-B- suggested till one of dependent packages that brings this via transition gets updated.
PS
Also to note that License is updated (more info pinned issue: 'LICENSE change notice').
Please check if you qualify for the free one.
(trying to fix the funding and make it sustainable)


Instruction getting fetched is unclear for JXX and RET

For when JXX prediction is wrong
For when there is a RET

Check jl.yo (sample file in the dropdown)

When the jump prediction is wrong, the predPC gets highlighted but it is unclear that the instruction before the predPC is the one being decoded. (cycle 9-10)

added the address field for pipeline register to show which instruction is getting processed.

added the address field for pipeline register to show which instruction is getting processed.


Slack information updates

added slack links to the about page, docs pages and readme.

Lookin' good! 👍

@zaneadix I'll try get these shipped this weekend 👍


Performance optimizations for StaticVec

The newly stabilized array::from_fn API can be used to avoid unnecessary allocations in the methods of StaticVec.

For some reason this appears to have the exact opposite effect on computation times.


Titles with apostrophes get cut short

Hovering over images in the feed displays their title. If the title has an apostrophe the title gets cut short.
Eg: "Don't miss out!" gets displayed as "Don"

This is already fixed on V1.0.0, Thanks!


RSS Feed

RSS feeds are used by a lot of people who aggregate their data into useful tools.
Having RSS would also enable us to have a slack integration that posts to the #infinityworks channel in slack.

There is one at http://engineering.infinityworks.com/feed.xml

Well, it's actually Atom, but close enough? Do we need a link to it from the site?

Well i'll be darned. Is there a link off the main page i'm missing? I guess we should try make it obvious if possible. I'll setup the Slack integration now.


[SPARTA-717]: Refactor dimension and operator modals and added typeOp attribute

Refactor operator and dimension modals in order to render them by form schema
Add typeOp attribute to dimensions and operators

Coverage decreased (-1.9%) to 50.978% when pulling e1ec713d00959e58676337a72ee8fc7f810412c4 on EvaMGC:SPARTA-717-backup into 7063789cb87c26951e9dd24cbc749b3a2ca03dbf on Stratio:master.

Changes Unknown when pulling e9e045e5e65d33a003e469308ce79fc1835732ed on EvaMGC:SPARTA-717-backup into ** on Stratio:master**.

Changes Unknown when pulling 98f2b9de17aabf7d615571ca4d467fd9ed4cd609 on EvaMGC:SPARTA-717-backup into ** on Stratio:master**.


[WIP] Jira 191 CronJob to automate image registry pruning

@coreydaley this PR needs to be rebased for us to get any kind of test coverage.
At this point I'd like to get the working bits merged so other work - like publishing metrics - is unblocked.

/retest
Looks like resource setup failed.

/retest

/retest
level=error msg="Error: ResourceLimitExceeded: Task limit exceeded"

/retest
setup errors

/retest

/assign @adambkaplan @dmage

@coreydaley the image used for the image pruner (oc) needs to be added to the image references file:
https://github.com/openshift/cluster-image-registry-operator/blob/master/manifests/image-references

@bparees how do we know which image we should reference so that the image replacement works correctly?

@adambkaplan Can i use the one(s) from here? https://github.com/openshift/cluster-samples-operator/blob/master/manifests/image-references

@coreydaley let's go with the cli image reference - don't see why that would not work.

@coreydaley another note - the image used for the pruner needs to be passed to the operator as a new env var - see https://github.com/openshift/cluster-image-registry-operator/blob/master/manifests/07-operator.yaml#L55-L56


Upgrade cheerio to 0.20.0

This fixes a regression bug in cheerio: https://github.com/cheeriojs/cheerio/issues/804

Thanks for this.  Also serves as a reminder that I need to buckle down and get the next release out.

@dbashford sure, here you go


fix: build local by allowing not signed lib

To be able to build & run it locally without re-compiling the library ourself, we can just disable the library validation while there are codesign library built.

Hi @Miaxos and thanks for the PR! I've got a few questions about it if that's OK?

What problem is being solved with it? Are you receiving some error while trying to build the code on your machine?
If this is related to the code signing of the llama/whisper shared libraries, could this be solved by me making some change on those binaries rather than disabling signing on the build?

Hey @ptsochantaris

What problem is being solved with it? Are you receiving some error while trying to build the code on your machine?

-> Couldn't compile without compiling library themself on my machine without it

If this is related to the code signing of the llama/whisper shared libraries, could this be solved by me making some change on those binaries rather than disabling signing on the build?

-> Yes I agree, it would be better to have the lib directly building instead of having them stored in the repo IMO but no time to look into it

Couldn't compile without compiling library themself on my machine without it

I see! Do you have the error message handy? I'm asking because the libraries are not signed when building, they should get signed at the time of the build itself.

dyld[59859]: Library not loaded: @rpath/libwhisper.dylib
  Referenced from: <01397007-B67B-3182-AE16-A4687570A689> /Users/miaxos/Library/Developer/Xcode/DerivedData/Emeltal-alaqaqvcjrmjlodxbaeklilogzkz/Build/Products/Debug/Emeltal.app/Contents/MacOS/Emeltal
  Reason: tried: '/Users/miaxos/Library/Developer/Xcode/DerivedData/Emeltal-alaqaqvcjrmjlodxbaeklilogzkz/Build/Products/Debug/libwhisper.dylib' (no such file), '/usr/lib/system/introspection/libwhisper.dylib' (no such file, not in dyld cache), '/Users/miaxos/Library/Developer/Xcode/DerivedData/Emeltal-alaqaqvcjrmjlodxbaeklilogzkz/Build/Products/Debug/PackageFrameworks/libwhisper.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/miaxos/Library/Developer/Xcode/DerivedData/Emeltal-alaqaqvcjrmjlodxbaeklilogzkz/Build/Products/Debug/PackageFrameworks/libwhisper.dylib' (no such file), '/Users/miaxos/Library/Developer/Xcode/DerivedData/Emeltal-alaqaqvcjrmjlodxbaeklilogzkz/Build/Products/Debug/Emeltal.app/Contents/Frameworks/libwhisper.dylib' (code signature in <A8C381D3-DAEB-3562-965D-96C6C0BFB7FF> '/Users/miaxos/Library/Developer/Xcode/DerivedData/Emeltal-alaqaqvcjrmjlodxbaeklilogzkz/Build/Products/Debug/Emeltal.app/Contents/Frameworks/libwhisper.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs), '/Users/miaxos/Library/Developer/Xcode/DerivedData/Emeltal-alaqaqvcjrmjlodxbaeklilogzkz/Build/Products/Debug/PackageFrameworks/libwhisper.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/miaxos/Library/Developer/Xcode/DerivedData/Emeltal-alaqaqvcjrmjlodxbaeklilogzkz/Build/Products/Debug/PackageFrameworks/libwhisper.dylib' (no such file), '/Users/miaxos/Library/Developer/Xcode/DerivedData/Emeltal-alaqaqvcjrmjlodxbaeklilogzkz/Build/Products/Debug/Emeltal.app/Contents/Frameworks/libwhisper.dylib' (code signature in <A8C381D3-DAEB-3562-965D-96C6C0BFB7FF> '/Users/miaxos/Library/Developer/Xcode/DerivedData/Emeltal-alaqaqvcjrmjlodxbaeklilogzkz/Build/Products/Debug/Emeltal.app/Contents/Frameworks/libwhisper.dylib' not valid for use in process: mapping process and mapped file (non-platform) have different Team IDs)

Right, sorry for the slow replies, from what I've looked at you're right, I don't think there is a currency saner solution than to just add that entitlement, so let's get your PR merged! From what I see the changes in Emeltal/EmeltalDebug.entitlements and Emeltal.xcodeproj/project.pbxproj wouldn't be needed, would they? I assume the diff can just be the two lines in Emeltal/Emeltal.entitlements? If so, can you make those tweaks? (Also: please correct me if I missed some detail there)

Hi, I'm going to close this PR as I've moved to using the actual library sources instead of dylibs - part of the reason for this is the issue you've highlighted here, so many thanks for that! Please feel free to open more PRs or issues if you spot any other issues or have suggestions!


Dockern & Appdynamics

I am trying to Build Docker images and setup id for mongodb. I am following the hygieia documentation.
But when I run mvn docker:build
I am getting the error that Hygieia/collectors/performance/appdynamics/docker does not exist
I checked there is no docker folder at this location on my mac.
How to resolve this?
@MarkRx , @nireeshT @satishc1

@MarkRx , @nireeshT @satishc1 . Any solution to resolve this error.
I built hygieia using "mvn clean install package"
before mvn docker:build

@tsr2017 PR #1674 has the changes to build docker image for appdynamics

@asg247 Has PR #1674 been merged into master? or Do I need to use different branch?

@tsr2017 PR has not been merged yet


The confirm email address page issue

In the case that the user has SignUp but an email has not been sent to her/him if the user immediately clicks on the resend button, a wrong error text will be shown to her/him.

I don't think that's an issue. It's the intended behavior.

That's fine.


List inside .appleScrollBehavior sheet is invisible

If you create a List with items inside the main content of a sheet in the .top position, the List is invisible.

Yes, like mentioned in similar issues before, I will remove appleScrollBehavior soon, because it is really buggy and messes with ScrollViews, Lists and Gestures. No support for appleScrollBehavior will be provided anymore.

This is not a bug of this library. Just try this and you will realise that a list always disappear inside of a ScrollView:
ScrollView {
    List {
        Rectangle()
            .foregroundColor(.blue)
            .frame(height: 400)
            .padding([.trailing, .leading], 20)
        Rectangle()
            .foregroundColor(.green)
            .frame(height: 400)
            .padding([.trailing, .leading], 20)
        Rectangle()
            .foregroundColor(.yellow)
            .frame(height: 400)
            .padding([.trailing, .leading], 20)
    }
}


copyStorage cheatcode

This PR introduces the copyStorage cheatcode, which copies the entire storage, original storage, and transient storage of one account into another.
Currently, the PR is missing an appropriate test.

To be merged once a test has been added.


pip install fails on arm64 based linux

I am not sure if this is covered already in any of the other 3 issues...
I am trying to pip install pynini on an arm64 linux platform. I don't have conda-forge in my case so that wouldn't be an option.
This is the error I am getting:
22.52 Collecting pynini (from -r /tmp/requirements.txt (line 1))
22.69   Downloading https://purecloud.jfrog.io/purecloud/api/pypi/pypi/packages/packages/86/63/6a720dbdf4e7358baa2ab206a51693f9c6e83d174179a95539f501bd4a34/pynini-2.1.5.tar.gz (627 kB)
23.28      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 627.6/627.6 kB 1.5 MB/s eta 0:00:00
27.61   Preparing metadata (setup.py): started
34.56   Preparing metadata (setup.py): finished with status 'error'
34.94   error: subprocess-exited-with-error
34.94
34.94   × python setup.py egg_info did not run successfully.
34.94   │ exit code: 1
34.94   ╰─> [6 lines of output]
34.94       Traceback (most recent call last):
34.94         File "<string>", line 2, in <module>
34.94         File "<pip-setuptools-caller>", line 34, in <module>
34.94         File "/tmp/pip-install-3ycml0iv/pynini_edc433c4534e4a188f49d21d890b67e3/setup.py", line 22, in <module>
34.94           from Cython.Build import cythonize
34.94       ModuleNotFoundError: No module named 'Cython'
34.94       [end of output]
34.94
34.94   note: This error originates from a subprocess, and is likely not a problem with pip.
35.04 error: metadata-generation-failed
35.04
35.04 × Encountered error while generating package metadata.
35.04 ╰─> See above for output.
35.04
35.04 note: This is an issue with the package mentioned above, not pip.
35.04 hint: See above for details.

Any advise on what to do?
Thanks,
Camiel

This is almost surely a duplicate of #30. This will be fixed in the next release via migration to pyproject.toml and such.

Yeah, I also suspected it is a duplicate, my only worry was that #30 didn't mention the arm64 linux platform.  I am saying this because I can pip install perfectly fine on an amd64 linux platform, the problem is specifically related to arm64 in my case.
By the way, do you have some kind of estimation of when the next release will be published?

Probably some time this fall. I work on it as much as I possibly can.
That said, there's an easy fix for you, I think: install Cython first: pip install cython==0.29.17 (I think) and then install this. The error is because setup.py is a Python script which imports Cython, but also installs it...so if you have already installed it, you should be good. pyproject.toml is not a Python script so whatever build system you use with it, it can resolve the dependencies before importing them.

I'm going to close this in favor of #30 but indicate there that it's not platform-specific.

Pynini 2.1.5.post1 should solve the Cython issue, though I can't guarantee your ARM machine will have enough juice to compile it (it's a big project).

Thanks Kyle!  I only got to work on this again now and I have a few questions...

I noticed that you only have 2 versions now: 2.1.6 and 2.1.5.post2. Can I use the latest for this (2.1.6)?
I was working OpenFST 1.8.0, should I use a newer version? I see the latest is 1.8.3.
Also, any advise on how to do this?  I have to say I am kind of new to all this...  What I am trying to do is:

Download the OpenFST source code and compile and install it;
Download the Pynini source code and install it;

Hi there. Re: (1) I have all major releases available here if you really need them:
https://www.opengrm.org/twiki/bin/view/GRM/PyniniDownload
Re: (2) I would always recommend just working with the newest Pynini release and the newest OpenFst release. Pynini 2.1.6 compiles against OpenFst 1.8.3 and is unlikely to work with any other release.
Re: (3), yes, that's basically it. You'd follow the instructions on openfst.org (roughly, download and decompress the OpenFst 1.8.3 tarball, navigate into the directory it creates, run./configure --enable-grm then make -j and if that's successful, sudo make install -j) then if you download and decompress (if necessary) the Pynini 2.1.6 tarball, navigate into the directory it creates and run pip install -v . Then wait---and if you're lucky you should have a working installation. Good luck!


drop support for single-user server from IPython 3.x

+1

@minrk curious if something prompted this, or is this just an "it's finally time" change?  (I ask b/c we're still on IPython 3.x on Quantopian while we're waiting for the frontend to settle down.)  cc @richafrank @TimShawver.

I saw a bug related to traitlets changes, and was surprised that this was still allowed when I looked into it.
How rough would it be for you folks to use notebook 4.0? This bump is going to happen at some point.

This will need rebase on #387

@minrk realistically speaking it's unlikely that we're going to upgrade to notebook 4.0 in the next month or so.  If this is a change that needs to happen, then you shouldn't wait up on us (though it would be nice to have a tagged release for the last version that supports the old version of the notebook.)

@ssanderson thanks. I'm working on a PR now that I think will be simpler if it requires the Jupyter base. I think it will probably make sense to cut 0.4 shortly as the last release supporting IPython 3, and then drop it for 0.5.

@ssanderson I released and tagged 0.4, so we can go ahead with this for 0.5. Let me know if there's anything I can do to help you guys update your servers to 4.0 (note: doesn't have to include updating kernels).


Run local without redis

@marcelometal: could you check the linter errors no travis ci ?

Coverage decreased (-0.6%) to 89.787% when pulling 2b0837b6368e27b110e26ec94be370a2d6af6e83 on marcelometal:sandbox into 0e5e98299942b355615ad440f303f68e668d1765 on backstage:master.

Coverage decreased (-0.6%) to 89.787% when pulling 2b0837b6368e27b110e26ec94be370a2d6af6e83 on marcelometal:sandbox into 0e5e98299942b355615ad440f303f68e668d1765 on backstage:master.

Coverage decreased (-0.6%) to 89.787% when pulling 2b0837b6368e27b110e26ec94be370a2d6af6e83 on marcelometal:sandbox into 0e5e98299942b355615ad440f303f68e668d1765 on backstage:master.

Coverage decreased (-0.6%) to 89.787% when pulling 2b0837b6368e27b110e26ec94be370a2d6af6e83 on marcelometal:sandbox into 0e5e98299942b355615ad440f303f68e668d1765 on backstage:master.

Fixed!

Thanks @marcelometal

👏👏👏👏  Good one, @marcelometal!