Bug: dnf command does not work on version of public.ecr.aws/lambda/python:3.11-x86_64 publish around 2023.12.05 16:00 UTC

Description:
We've been using the image public.ecr.aws/lambda/python:3.11-x86_64 for building our Python based Lambda ZIP artifacts for use by the AWS Lambda Python 3.11 runtime. We are not using the image for building other Docker images for running a Docker based AWS Lambda runtimes (please let me know if this is not a supported use case for this Docker image). However, I believe this is an issue for also building subsequent Docker images. It seems recently the base image was updated and the deprecated yum command is no longer present and the dnf command should be used instead to install OS packages. However, when running the dnf command, results in an error.
dnf: /var/lang/lib/liblzma.so.5: version `XZ_5.2' not found (required by /lib64/librpmio.so.9)

This is preventing us from installing needed dependencies we need for performing our build but I assume it would also be needed to install any OS packages for any Docker image based off this image.
Steps to reproduce:
Start a container based on this image:
docker run --rm -it --entrypoint /bin/bash public.ecr.aws/lambda/python:3.11-x86_64

or to pin to the image where this issue was discovered:
docker run --rm -it --entrypoint /bin/bash public.ecr.aws/lambda/python@sha256:9c593e44c6936fd4335405ab3e3dea55f6a38cab5c009a43cc7e01c2e3eef81e

then try to run the dnf command:
bash-5.2# dnf --help
dnf: /var/lang/lib/liblzma.so.5: version `XZ_5.2' not found (required by /lib64/librpmio.so.9)

bash-5.2# dnf install zip
dnf: /var/lang/lib/liblzma.so.5: version `XZ_5.2' not found (required by /lib64/librpmio.so.9)

Observed result:
dnf: /var/lang/lib/liblzma.so.5: version `XZ_5.2' not found (required by /lib64/librpmio.so.9)

Expected result:
Expected dnf command to execute successfully w/o error
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
None

Another symptom: The libffi package seems to be missing when building pip packages.
#9 3.740         File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
#9 3.740         File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
#9 3.740         File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
#9 3.740         File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
#9 3.740         File "<frozen importlib._bootstrap_external>", line 940, in exec_module
#9 3.740         File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
#9 3.740         File "/tmp/pip-build-env-941f5u0c/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 27, in <module>
#9 3.740           from .macosx_libfile import calculate_macosx_platform_tag
#9 3.740         File "/tmp/pip-build-env-941f5u0c/overlay/lib/python3.11/site-packages/wheel/macosx_libfile.py", line 43, in <module>
#9 3.740           import ctypes
#9 3.740         File "/var/lang/lib/python3.11/ctypes/__init__.py", line 8, in <module>
#9 3.740           from _ctypes import Union, Structure, Array
#9 3.740       ImportError: libffi.so.6: cannot open shared object file: No such file or directory
#9 3.740       [end of output]
#9 3.740
#9 3.740   note: This error originates from a subprocess, and is likely not a problem with pip.

I'm facing the same issue.

I am getting an import issue that seems related.
curl "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{}'
{"errorMessage": "Unable to import module 'lambda_function': libffi.so.6: cannot open shared object file: No such file or directory", "errorType": "Runtime.ImportModuleError", "requestId": "52221d6d-ebcc-45ea-b6b9-0aed04af0ce1", "stackTrace": []}%

The same code works on the 3.10 image.

Same issue with my Dockerfile:
FROM public.ecr.aws/lambda/python:3.11
RUN dnf install -y gcc-c++ postgresql-devel

Running docker build . I got this:

from readelf on the symbols in liblzma.so.5 - the 5.2.2 version exists but not the 5.2 version
librpmio.so.9 seems to be linked against 5.2
in the 3.12 branch this issue is not present

Another symptom: The libffi package seems to be missing when building pip packages.

We also have the missing libffi package breaking when installing requirements on this base lambda layer public.ecr.aws/lambda/python:3.11

The python runtime team is aware of the issue, and has root caused the problem. They'll be triggering a rollback in several hours during business hours in Dublin.
For now, please utilize the previous Python3.11 image

The python runtime team is aware of the issue, and has root caused the problem. They'll be triggering a rollback in several hours during business hours in Dublin.
For now, please utilize the previous Python3.11 image

Thanks for that. Never realised that pinning to tag 3.11 would mean it is rebuilt.

public.ecr.aws/lambda/python:3.11 was built 13 HOURS ago and is 168MB

I guess we should pin to specific builds, e.g. public.ecr.aws/lambda/python:3.11.2<IP_ADDRESS> which was built 18 days ago and was 238 MB

I've linked an issue nobody will be able to read in a private project. Basically, the current 3.11 is broken due to missing shared-object files. It wasn't broken yesterday...
Does anyone know if AWS publishes list of libc compatibility, because if we can't use their image and hope they provide libc compatibility, I'm not sure if it's safe to build our own image and expect to have no possibility of errors. One of my worries is that they continue this, so we have to build including shared objects elsewhere and then that is incompatible with a version of shared library where we want to run. With the specific libffi release it's not even like we could get our code to build in-situ.

We have published an updated Python 3.11 image which addresses this issue. Our apologies for any inconvenience caused.

Hi, we have been trying to do it today without success, and we are getting this error
Status: Downloaded newer image for amazon/aws-lambda-python:3.11.2<IP_ADDRESS>
+ WORKING_DIRECTORY=/var/task
+ echo /var/task
+ dnf group install -y 'Development tools'
setup/aws_dependencies.sh: line 10: dnf: command not found

We are creating the env in a GitHub actions workflow.


Prepare-exportdatabasejobfile.ps1 Cannot specify separate paths for DB and Logs

What happened:
Used the following switches: -TargetDataPath "F:\JAFDB3" -TargetLogPath "E:\JAFDB3_logs"
"exportPath":  "F:\JAFDB3",
"newFilename":  "JAFDB.ldf"
"exportPath":  "F:\JAFDB3",   <<<<<<
"newFilename":  "JAFDB_logs.ldf"
What you expected to happen:
"exportPath":  "F:\JAFDB3",
"newFilename":  "JAFDB.ldf"
"exportPath":  "E:\JAFDB3",   <<<<<<
"newFilename":  "JAFDB_logs.ldf"
How to reproduce it (as minimally and precisely as possible):
Put separate paths.
Anything else we need to know?:
nope

The current version of the script asks for both a TargetDataPath and a TargetLogPath. Can you confirm this is still an issue or if this should be closed?


Add multihead self attn to use sdpa from core

Summary: Adding a multihead self attention that calls the spda from core so we can leverage the flash / memory efficient kernel (and also get a scriptable version)
Differential Revision: D43821987

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.18 :tada:

Comparison is base (7dec768) 64.34% compared to head (0a50585) 64.53%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #411      +/-   ##
==========================================
+ Coverage   64.34%   64.53%   +0.18%
==========================================
  Files         144      146       +2
  Lines        9767     9817      +50
==========================================
+ Hits         6285     6335      +50
  Misses       3482     3482

Impacted Files
Coverage Δ

tests/modules/layers/test_multi_head_attention.py
100.00% <100.00%> (ø)

...hmultimodal/modules/layers/multi_head_attention.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Can only add one enchantment?

Can only add one enchantment?
two
three
......Configurable

yes, i have with 4 enchants. just u need little modify

Correct, you can only have once enchant. Like glucius said if you have the know-how it's quite easy to modify the module to accept multiple enchants.


TS-4827: gcc warning xxx not explicitly initialized in the copy constructor

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/739/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/635/ for details.

ship it 👍


error when executing create_cluster.sh

What happened:
I was deploying eke-distro on my Mac Pro.
I set KOPS_STATE_STORE and KOPS_CLUSTER_NAME as guide said.
create_configuration.sh was successfully executed.
then I executed create_cluster.sh, but error happened like below.
Found multiple arguments which look like a cluster name
"xxx.xxx.com" (via flag)
"xxx.xxx.com" (as argument)
This often happens if you specify an argument to a boolean flag without using =
For example: use --bastion=true or --bastion, not --bastion true
I found below article. As I understand, it is because I already set KOPS_CLUSTER_NAME as an environment variable.
https://github.com/kubernetes/kops/issues/5967
Because there are two ways you can pass this to kops -- one is using an environment variable (which I think is the way the devs do it - hence the command returned at the end of the run doesn't have it) and the other is using the --name switch (which I do)

In short, if you have the cluster name included on an environment variable, then kops doesn't need the --name switch, if you don't have the environment variable, then you need the --name switch.

so I modified create_cluster.sh like this. then it worked.
set -eo pipefail

BASEDIR=$(dirname "$0")
source ${BASEDIR}/set_k8s_versions.sh

kops update cluster --yes

Is it right approach? or is there any other way to execute the script without error?

There is a PR out there that covers this, sorry about that. I had a hold on that because I was waiting for some other work, but I'll take the hold off https://github.com/aws/eks-distro/pull/92


Can't turn auto retries standard on

Describe the bug
I turned retries on by setting retryAfter(true)
private UnirestInstance unirest = Unirest.primaryInstance();
this.unirest.config().connectTimeout(60000).retryAfter(true);

But i get an exception
java.lang.NullPointerException: Cannot invoke "kong.unirest.core.HttpResponse.getStatus()" because "response" is null
        at kong.unirest.core.RetryStrategy$Standard.isRetryable(RetryStrategy.java:90)
        at kong.unirest.core.BaseRequest.request(BaseRequest.java:346)
        at kong.unirest.core.BaseRequest.thenConsume(BaseRequest.java:298)

Environmental Data:

OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12)
unirest-java-core 4.2.1

The retry thing is for HTTP failures that contain a "Retry-After" header. What we have here is no response at all. I'm not really sure how it managed to do that, It really should have thrown some kind ConnectException if you timed out.
You can override the RetryStrategy in the config to give it custom behavior, without any kind of response at all the current strategy can't know how long it needs to wait, but you can set that behavior. Although if you cannot connect after 60000 millies I doubt you will survive another run.
I'm going to add a null check I guess, which will simply skip the retry if there is no response at all

Yeah it makes sense what you saying about the response, but if I change retryAfter(true) to retryAfter(false) everything works fine. The same API and no other changes. In addition to this this missing response behaviour I can see across multiple different API providers. I am running odds comparison website and call around 20 different bookmakers APIs and the behaviour is the same. So it can't be the case that API is not returning the response.

I cannot recreate this. Unirest has a large suite of behavioral tests that stand up a real Javalin server and then makes requests to it. There is a suite of tests for the retry logic, which works in those conditions. If you can provide an recreateable test then we could work with that, but every attempt I made either worked, or resulted in some other IO error

Just created very basic example with one of the open bookie API:
package com.unirestissue.issue;

import kong.unirest.core.Unirest;
import kong.unirest.core.UnirestInstance;

public class Client {
    private UnirestInstance unirest = Unirest.primaryInstance();

    public Client() {
        this.unirest.config().reset().connectTimeout(60000).retryAfter(true);
    }

    public void callApi() {
        try {
            String url = "http://cache.boylesports.com/feeds/INDEX.json";
            this.unirest.get(url).thenConsume(r -> {
                int statusCode = r.getStatus();
                System.out.println(statusCode + " STATUS CODE: " + url);
            });
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

When you invoke callApi() method you get:
java.lang.NullPointerException: Cannot invoke "kong.unirest.core.HttpResponse.getStatus()" because "response" is null
        at kong.unirest.core.RetryStrategy$Standard.isRetryable(RetryStrategy.java:90)
        at kong.unirest.core.BaseRequest.request(BaseRequest.java:346)
        at kong.unirest.core.BaseRequest.thenConsume(BaseRequest.java:298)
        at com.unirestissue.issue.Client.callApi(Client.java:16)
        at com.unirestissue.issue.App.main(App.java:12)

If you change .retryAfter(true) to .retryAfter(false) you get success 200 response.
My Pom has only following dependencies:
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.11</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.konghq</groupId>
      <artifactId>unirest-java-core</artifactId>
      <version>4.2.1</version>
    </dependency>
  </dependencies>

Ah I see, you are using the .thenConsume method which fully consumed the raw response and its body and then ends up returning null, that part is the problem, it should not return null. I will get a fix in for it to return a type of response that has the basic information but no body.

4.2.3 should have the fix, might take a bit to get though all the Maven central pipelines

Roughly when should I expect this release?

Maven Central is a mystery, anywhere between 1 minute and 1 day. Nobody knows

I'm going to open a issue with Maven Central.

they showed up now. Closing this


Make 'calendar' and 'numberingSystem' open strings in es2020.intl.

Fixes #42885

@longlho please take a look and let me know whether I've missed anything.

Just as a heads up @batisteo, it looks like we won't be able to keep the change to use union types from #41880.

Thanks a lot for the quick fix! LGTM!

@typescript-bot cherry-pick this to release-4.2

And thank you for your patience and persistence - we appreciate the time to explain why a revert was the appropriate decision.

np happy to help!


Nested variables support

Hello,
I have a tmuxp profile as follows:
session_name: TEST
shell_command_before: envshell ./envars
windows:
- window_name: TEST
  layout: tiled
  panes:
    - shell_command:
      - docker exec -it $ODOOCONT /bin/bash
    - shell_command:
      - docker exec -it $ODOOCONT /bin/bash

As you can see for each pane I am loading with envshell the envars folder, which contains one variable as follows:
cat envars/ODOOCONT
test_container_19

I would like to do something like:
ODOOCONT=$ODOOCONTAINER
Where $ODOOCONTAINER is defined on my local shell session before executing tmuxp. This doesn't work but is there any other way to achieve this?
Thank you!

This is probably duplicate of issue #27

Thanks. Yes, it is the same idea. Do you want me to close it?


[FEATURE] Add refresh index as a new index operation on UI

Is your feature request related to a problem?
User have to use API to refresh index if they want to make all change since last refresh available for search immediately. It's not very convenient.
What solution would you like?
Add index refresh option to the UI so user can choose index/alias/data stream that they want to refresh and click the refresh link to trigger the refresh.
What alternatives have you considered?
No.
Do you have any additional context?
No.

Completed coding, UT and function test cases.


Support json array

Summary
Add support for JSON array format integers, including validation.
In the future, support could be added to more types.
Motivation

Currently you would setup URL parameters like this:
"filters"=>{"id"=>["1", "2"]}
When URI encoded they look like this: (much too long)
filters%5Bid%5D%5B%5D=1&filters%5Bid%5D%5B%5D=2
We could make a nice improvement if we support parsing parameters as JSON, this could be done instead:
"filters"=>{"id"=>"[1,2]"},
JSON.parse(filters['id']) and get [1,2] out of "[1,2]"
When URI encoded it ends up as this:
filters%5Bid%5D=%5B1,2%5D

We have a few use cases where the URL limit of ~10,000 characters has been reached when filtering by a long list of ids. This change should enable us to work more comfortably with arrays of ids.

Not sure what is up with angry Travis, but tests all pass locally.

@HParker had a interesting point that GET requests are capable of passing a body parameter in JSON format.
This may be able to solve some pain without any code changes to Brita
@shawnce

While true it will potentially break URI based caching, etc. since those don’t consider the body content (at least I think it is universally ignored)

@AllPurposeName

I think these changes should happen regardless. This isn’t just to solve the GET requests URL being too large, but to allow for a more intuitive filtering experience. Can that be agreed upon?

I agree with @HParker that we should be cautious about doing non-standard things.
I argue, supporting a JSON array string in the URI query parameters is more of a standard approach than using GET request body parameters. In this example: ?filters[id]=[1,2,3,4,5] (note that this is not URI encoded yet) we are still following a standard URI format that will read the value of [1,2,3,4,5] as a string. Adding support for brita to try and turn a string into an array of integers seems like a valid approach.
If we consider GET body params as an alternative, they are widely frowned upon as non-standard. https://stackoverflow.com/a/983458/2731029

If you give it meaning by parsing it on the server and changing your response based on its contents, then you are ignoring this recommendation in the HTTP/1.1 spec, section 4.3(https://tools.ietf.org/html/rfc2616#section-4.3):

Additionally many HTTP clients do not support GET body params (Postman). It isn't obvious if curl even supports it.

I should note that our network stack on iOS (our layer over the OS stack) doesn't currently support GETs with bodies. It could be added if truly needed.


Initial ICA integration

Based on gaiad integration (for host) and referencing #793 for the ice controller setup.
Closes #806
Replaces #793
This enables ICA on the default wasmd application. However, it is very unclear how to add proper icaController support.
TODO:

figure out proper icaAuth setup, or remove icaController support (see https://github.com/cosmos/gaia/blob/ica-acct-auth/docs/hub-tutorials/modules/mauth/mauth-module-tutorial.md)

Please see #839 for updates to use icaAuth

Happy for a review here.
I could also merge as is (with icaController not working) for the demo of ica integration, and add #839 later, to allow icaController once the downstream dependencies get worked out.

Removed all controller code in https://github.com/CosmWasm/wasmd/pull/837/commits/38932b7149f58518e3bf519e358f2dd7f673a6dd as we only use host mode here
Added it back in #839 as https://github.com/CosmWasm/wasmd/pull/839/commits/9b8fb98acb592f0d66ff3556bbf78379dc1d7b18 which can be used as a good start for any real controller+auth integration


Alicia should support running tests synchronously to allow for one time setup and teardown for a group of tests

Groups of tests always run synchronously in the order of their registration. Considering this as complete


Removing the HTML5 form features page

As discussed in #6300. Because it doesn't match the current way pages are done. Too broad. Specific form types/features are covered in other existing pages.

Instead of removing it I've just set "shown" to "false" for now. Also needed to remove the reference to this feature in all its sub-features. So closing this ticket as it's effectively done. :)


To find the largest prime factor

Added the code to find the largest prime factor of
800851475143

Looks good. But I'll change source file (bits/stdc++.h).

ohh yeaa I am used to using that..


fix heading level

fix issue https://github.com/kubernetes/website/issues/24850

@Arhell would you be willing to close this PR and leave that fix for someone else who has not yet worked on their first issue?
I'm keen to build up a pool of good-first-issue issues before Kubecon.
The actual changes?
/lgtm

@sftim understood, but already opened, I will keep in mind.

Page preview:
https://deploy-preview-24865--kubernetes-io-master-staging.netlify.app/docs/concepts/services-networking/network-policies/#what-you-can-t-do-with-network-policies-at-least-not-yet
I agree that it would be helpful to hold off on issues marked for first time contributors.
Thanks @Arhell.

/approve


[Bug] Adaptive width/height of legend container

Version
4.2.1
Link to Minimal Reproduction
https://codesandbox.io/s/47s59
Steps to Reproduce

Drag or minimize the resolution.
The legends present on the right side are overlapping on the graph.
There is no space between the legends and the graph.

Current Behavior
On reducing the resolution the legends on the side of the graph seem to overlap on the graph beside it, mostly in case of a pie chart. It happens both when the legends are aligned horizontally above the graph or placed vertically beside the graph.
Expected Behavior
We need our chart to adapt the height/width of the legends both vertical and horizontal type so that items doesn't overflow onto the graph area. Currently the only way is to hardcode a pixel/percentage value but it's not responsive.
Environment
- OS: Windows
- Browser: Chrome
- Framework: Angular

Any additional comments?

We would like to improve this, but it's not very clear yet how to be adaptive automatically. For example, like the case above, what is expected? A smaller size of pie series? Yes, the legend can go a little downside, but it will probably still intersect with the pie. Any idea?

We would like to improve this, but it's not very clear yet how to be adaptive automatically. For example, like the case above, what is expected? A smaller size of pie series? Yes, the legend can go a little downside, but it will probably still intersect with the pie. Any idea?

In the above case, we do not need a smaller size of the pie series. That can be done by specifying the width. We basically want it to be responsive when we reduce the resolution of the browser, the legends intersect on the pie, so we want to avoid that. And what we want is when the browser size resolution changes, we do not want the legends to intersect the pie, we want them to be at a distance as it stays when it has full browser width.

Please check the responsive design.

Please check the responsive design.

Hi Ovilia, went through the responsive design documentation and implemented the same in my code. But as soon as I add the media code for the graph options, the entire pie chart is going away(not displaying anything).

We would like to improve this, but it's not very clear yet how to be adaptive automatically. For example, like the case above, what is expected? A smaller size of pie series? Yes, the legend can go a little downside, but it will probably still intersect with the pie. Any idea?

I think what should happen in this situation is that the container grows instead of anything else getting smaller and position the legend in that space

@Syedajabeen45, the first example seems to work fine. Which one are you having trouble with?


[Request] Add Resilio Sync

Resilio Sync is a fast, reliable, and simple file sync and share solution, powered by P2P technology.
https://www.resilio.com/individuals/

Implemented in nonportable/resilio-sync-np


Added some missing fields to effect resource

Added following fields to effect resource:

initiator - user who submitted an operation resulting in an effect,
link to this operation.

It partially clos.es #80:

We still need to add information about target accounts. IMHO, the best idea to achieve this would be to denormalize history_effects and insert needed data during an import.
We can avoid joins by denormalizing history_effects table. We can surely do it because existing rows don't change and don't get deleted.

@bartekn: a couple of notes:
I think perhaps you're misunderstanding the layout of the effects table.  The account identified by a row in the effects table is the "target" of the effect... no relationship to the operation that created an effect is implied.  For example, a PathPaymentOp that gets routed through an offer will generate "trade" effects for people who are offering to trade currencies on the path used by the payment.
In that regard, it seems like just renaming initiatior to address would be best.  I'm happy to discuss, though.
Regarding denormalization... I'm definitely for it where it makes sense.  For example, the ledger close-time on effects is perfect... we want to show that data on every effect row so denormalizing it seems very straightforward.  We simply must weigh the cost to storage and memory when deciding what to denormalize and what not to.  Personally I think it should be on a case-by-case basis regarding whether we denormalize.

It's not clear to me yet whether we should add "target" information to effects that could otherwise be divined from the operation.  The trade effect includes this information because it is derived from the transaction metadata and cannot be easily queried from the operation itself.  The join involved should be quite efficient since the cardinality of matching records is always going to be quite low.  I'm happy to discuss further if you feel strongly about baking target info into the effects.

:+1:


TODO: Update docs for Mac installer

Need to write doc page mentioned here. A todo/reminder for me.

/cc @arikagoyal @jyotisingh - FYI - I need to do this.


Puppeteer Did Not Install All Necessary Components

I am trying to setup a Puppeteer app on a CENTOS 7.9 server for the first time. The app works fine in IIS, so I know the app is not the problem. I installed Node.js the typical way using cPanel and then used npm i puppeteer to install the module.
When I try to run the app Puppeteer will not run properly and instead I get a message like this in my server error log:
App 15726 output:     at Interface.helper_js_1.helper.addEventListener (/home/username/public_html/example.com/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:183:68)
App 15726 output:     at onClose (/home/username/public_html/example.com/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193:20)
App 15726 output: /home/username/public_html/example.com/app/node_modules/puppeteer/.local-chromium/linux-856583/chrome-linux/chrome: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
I have seen similar error in which people claim to have solved the problem by typing:
sudo apt-get install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
When I do that I get sudo: apt-get: command not found
Is there another way to install those missing components? It would be easier for me if I could use npm since I just used it and am not familiar with sudo.

I managed to install the components but it still will not run. My error log still says:
App 23654 output:     at Interface.helper_js_1.helper.addEventListener (/home/username/public_html/example.com/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:183:68)
App 23654 output:     at onClose (/home/username/public_html/example.com/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193:20)


安装报错

执行pip install -r requirements.txt时报错，我看安装手册里似乎没有关于tensorflow的要求

Please report issues in English.
I think the error is caused by the failure of MMCV's installation. MMCV has some cuda extension ops that need to be compiled. And I don't think the compilation support Windows.


Add license check to Intercepting Publish on server

I would like to add a license check to InterceptingPublishAsync and if the license has not been entered then reject publish to
subscribers if license is not valid. First is InterceptingPublishAsync the right place to do this, second how to tell publisher that
license needs to be entered.

I think what I need is in this article https://github.com/dotnet/MQTTnet/wiki/Server#intercepting-application-messages

You can check https://github.com/dotnet/MQTTnet/blob/master/Samples/Server/Server_Intercepting_Samples.cs as the Wiki is for version 3 only.

Yes, it is the right place.
You need to set a property of the eventArgs to true. Not sure how it's called though. Something like this:

E.g.
public void InterceptPublishAsync (PublishEventArgs args)
{
    var someLicenseCheck = true;
    if (!someLicenseCheck)
    {
        args.Publish = false;
    }
}

Thank you. That worked perfectly.

Just for reference, it's InterceptingPublishEventArgs and ProcessPublish = false. Check out https://github.com/dotnet/MQTTnet/blob/63d85184e1b79e3240c326e42bc7c7cd994ade2b/Source/MQTTnet.Server/Events/InterceptingPublishEventArgs.cs#L39.
I guess, this can be closed now.


don't strip comments

comments are used as descriptions in the older syntax and you are effectively removing all self documentation capability from GQL. I find myself wanting to use this but not being able to.

comments are used as descriptions in the older syntax and you are effectively removing all self documentation capability from GQL.  I find myself wanting to use this but not being able to.

@agnewp Just to know clear, Is it the same issue to #23? If not, can you give me a sample code to reproduce it?

this is only slighly related to issue 23, but NOT the same
to so add a comment line to any file and the post-merge result does NOT include that comment line
in a slightly older version of the GQL spec, comment lines next to the fields are used as description meta data. the spec parser i am using supports both this comment line syntax as well as what is mentioned in #23.
so to summarize, if you simply strip out comments when merging GQL files, you might actually be stripping out things that are meant to be self documentation.
does that make sense?

Sorry for the huge delay. It totally makes sense to me.
Actually, gqlmerge is using a go scanner for lexing and parsing the GraphQL SDL. So the description is tokenized as a string first. In order to resolve this, the best way is to make a custom scanner to tokenize. It will take some time to fix it.

Sorry for the huge delay, I've released a fixed version(https://github.com/mununki/gqlmerge/releases/tag/v0.2.9) that doesn't strip descriptions and comments. Can you test with v0.2.9?

As of v0.2.9, it's been fixed to not strip description and comment, so closing the issue. If you have any issues, please reopen it.


[Feature]: Optionally limit the number of rendered options in a MultiSelect

What problem does this feature solve?
Problem
The MultiSelect component causes the browser to freeze when you have several hundred or thousands of options. Specifically, this happens when you click to open the dropdown menu and it has to render all of the children.
I've confirmed that filtering by a search query (below) is fine:
const filteredOptions = useMemo(
  () => (searchQuery ? getFilteredOptions(searchQuery, reactElementChildren) : optionsAvailable),
  [searchQuery, reactElementChildren, optionsAvailable],
);

... but rendering a large number of filteredOptions causes problems. If we limit the number of rendered options to e.g. 100, the performance is fine, and the user can still search through all of the options with a query.
Use-Case
In my case, I have a dataset with a few thousand people in it, and I want to allow the user to quickly select several rows to compare in a table (see below). This might be possible with table actions by checking/unchecking rows, but I'd prefer to use a MultiSelect.
In general, it seems like MultiSelect should be able to scale to more options.

What does the proposed API look like?
I propose adding an optional prop to MultiSelect: something like limitRenderedOptions?: number.
If set by the user, only a fixed number of children are rendered in the dropdown. Effectively, the user can still search through all options but only sees the top limitRenderedOptions results.
<SelectedValueContext.Provider
  {...{ onBlur: { handleResetSearch } }}
  value={{ selectedValue: value }}
>
  { limitRenderedOptions ? filteredOptions.slice(0, limitRenderedOptions) : filteredOptions }
</SelectedValueContext.Provider>

I've tested this change locally, and it solves the issue above.

I have basically the very same issue! This proposal sounds good to me.


[Event Request page 5850 Posted Sales/Purchase Document Lines - OnFindRecordOnBeforeFind

When you use the action 'Get Posted Doc&ument Lines' on for instance the sales credit memo page, you are presented with the page page 5850 "Posted Sales Document Lines" which has four subpages pointing to the four historic sales document tables.
The problem I'm facing is that the record pointer is always set to the first record. For some of our customers that might be invoices or shipments from the year 2014 which makes no sense. They always have to scroll to the far end or use the keyboard shortcut <CTRL+END>. It would be nice to manipulate the OnFindRecord trigger in the following eight pages to get the pointer to the last record with a subscriber that does something like. You might even think this is something that would be a nice feature for the BaseApp itself so everybody in the world can benefit immediately from it.
[EventSubscriber(ObjectType::Page, Page::"Get Post.Doc - S.InvLn Subform", 'OnFindRecordOnBeforeFind', '', false, false)]
local procedure OnFindRecordOnBeforeFind(var SalesInvoiceLine: Record "Sales Invoice Line"; var Which: Text)
begin
    if Which = '=><' then
        Which := '+';
end;

"Get Post.Doc - S.InvLn Subform"
"Get Post.Doc - S.ShptLn Sbfrm"
"Get Post.Doc-S.Cr.MemoLn Sbfrm"
"Get Pst.Doc-RtrnRcptLn Subform"
"Get Post.Doc - P.InvLn Subform"
"Get Post.Doc - P.RcptLn Sbfrm"
"Get Post.Doc-P.Cr.MemoLn Sbfrm"
"Get Pst.Doc-RtrnShptLn Subform"
trigger OnFindRecord(Which: Text): Boolean
begin
    if not Visible then
        exit(false);

    OnFindRecordOnBeforeFind(Rec, Which);
    if Find(Which) then begin

[IntegrationEvent(false, false)]
local procedure OnFindRecordOnBeforeFind(var SalesInvoiceLine: Record "Sales Invoice Line"; var Which: Text)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 49745.


Move Audience to Subject

In doc.m4 move the dc_coverage list to dc_subject.
This matches the Dublin Core Metadata intent.
This will require a keyword section to be included in the article.

The course context was added to dc_subject:

Mechanics
Electricity & Magnetism
Waves & Optics
Thermal & Statistical Physics
Modern Physics
Condensed Matter Physics
Nuclear Physics
High Energy/Particle Physics
Biophysics
Chemical/Molecular Physics
Quantum Mechanics
Mathematical/Numerical Methods
Experimental Labs
Astronomy/Astrophysics
Other

dc_coverage was set to (N/A)


[Suggestion] 1.9/1.10 Add support for TESLA (Energy) API

As a lot of mdos use it already and many of the already existing mods add support for it, it would be really good if you can add support for it, too, in the newer versions of EnderIO.
If you don't know to what I'm reffering:
https://github.com/Darkhax-Minecraft/Tesla

Thank you for your suggestion. It has been added to our list or possible enhancement.
This ticket will be closed because we want the list of open tickets to reflect known issues.

Yo!
I  just wanted to show you something  really amazing,  please check  it  out here http://web.flatpennybarandgrill.com/e6lcq
Later, tomson124


aerc: substitute @SHAREDIR@ in stylesets-dirs config

Motivation for this change
Fixes #109140.
Things done

[ ] 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)
[ ] 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.

Works for me :+1:

Works for me :+1:

Resolved by #110181.


refactor: reuse the slice to optimize

ref: prometheus/tsdb#676
@bwplotka @krasi-georgiev
Signed-off-by: YaoZengzeng<EMAIL_ADDRESS>

@krasi-georgiev Also optimize seriesHashmap.del() with same way :)

@bwplotka @krasi-georgiev
After reading the code more comprehensively, I think the slice of MemPostings.Delete() should not be reused.
Because MemPostings.Get(name, value) will return the Postings for querying whose underlying slice share same memory with MemPostings.m[name][value].
If we reuse the slice in deleting, the Postings may return duplicate series ref.
seriesHashmap.del() and baseChunkSeries.Next()  could reuse the slice safely.

@krasi-georgiev @bwplotka @csmarchbanks
It's proved that reuse the slice for memPostings.Delete() is not correct and the code change has been rollbacked.
But seriesHashmap.del() and baseChunkSeries.Next() could reuse the slice safely.
PTAL.

@YaoZengzeng thanks,
I just run the BenchmarkQueries and it didn't show any difference in the allocs and total bytes.
Could you check if we have another func that shows the improvment or write one to see what are the real gains by this change.

@krasi-georgiev Maybe the referenced functions are not called frequently, so the optimization is not obvious. But reusing the slice that way is appropriate and more efficient in theory, right? :)

yep 100% correct, but sometime the theory is not what we see in practice.
It should be simple enough to write some benchmark that shows the difference and it should be useful for future tests.
Would you have the time to write it?
If yes please use only public API interfaces as these are less likely to change.

Yes, I'd like to research it in more depth :)

Thanks, Appreciated. waiting for the results.

@YaoZengzeng any progress on this?

ping @YaoZengzeng

@krasi-georgiev Sorry for the delay, but really busy these days. :joy:
I'll move on once I have time :)

@YaoZengzeng are you still busy? any chance to look into this anytime soon?

In the bug scrub, we decided to close this for lack of activity. If somebody wants to pick this up, we'll appreciate it. Next step, as discussed above, would be to verify the improvement with a benchmark.


Add soil moisture sensor

Add a soil moisture sensor to the potted plants in order to ensure over watering does not occur.

Wrong project.


refactor(proxy): General cleanup of implementation and logging

This is a subset of #241 that just clean up the implementation of the proxy and fixes some minor logging issues.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.848%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1975

Relevant Lines:
2413

💛  - Coveralls


[BUG] Error after AlphaFold v2.3 (FAILED_PRECONDITION: Couldn't get ptxas version string: INTERNAL: Couldn't invoke ptxas --version)

Describe the bug

Traceback (most recent call last):
  File "/applic/AlphaFold/current/run_alphafold.py", line 751, in <module>
    app.run(main, flags_parser=fasta_parser)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/absl/app.py", line 312, in run
    _run_main(main, args)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/absl/app.py", line 258, in _run_main
    sys.exit(main(argv))
  File "/applic/AlphaFold/current/run_alphafold.py", line 732, in main
    predict_structure(
  File "/applic/AlphaFold/current/run_alphafold.py", line 571, in predict_structure
    results, ranking_confidences, unrelaxed_prots = _predict(
  File "/applic/AlphaFold/current/run_alphafold.py", line 451, in _predict
    dev_results = Parallel(n_jobs=n_jobs, backend="multiprocessing")(
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/joblib/parallel.py", line 1085, in __call__
    if self.dispatch_one_batch(iterator):
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/joblib/parallel.py", line 901, in dispatch_one_batch
    self._dispatch(tasks)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/joblib/parallel.py", line 819, in _dispatch
    job = self._backend.apply_async(batch, callback=cb)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/joblib/_parallel_backends.py", line 208, in apply_async
    result = ImmediateResult(func)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/joblib/_parallel_backends.py", line 597, in __init__
    self.results = batch()
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/joblib/parallel.py", line 288, in __call__
    return [func(*args, **kwargs)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/joblib/parallel.py", line 288, in <listcomp>
    return [func(*args, **kwargs)
  File "/applic/AlphaFold/current/run_alphafold.py", line 395, in predict_structure_perdev
    return [
  File "/applic/AlphaFold/current/run_alphafold.py", line 396, in <listcomp>
    predict_structure_permodel(
  File "/applic/AlphaFold/current/run_alphafold.py", line 333, in predict_structure_permodel
    prediction_result = model_runner.predict(processed_feature_dict,
  File "/applic/AlphaFold/2.3/alphafold/model/model.py", line 184, in predict
    jax.random.PRNGKey(random_seed),
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/random.py", line 132, in PRNGKey
    key = prng.seed_with_impl(impl, seed)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/prng.py", line 267, in seed_with_impl
    return random_seed(seed, impl=impl)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/prng.py", line 580, in random_seed
    return random_seed_p.bind(seeds_arr, impl=impl)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/core.py", line 329, in bind
    return self.bind_with_trace(find_top_trace(args), args, params)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/core.py", line 332, in bind_with_trace
    out = trace.process_primitive(self, map(trace.full_raise, args), params)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/core.py", line 712, in process_primitive
    return primitive.impl(*tracers, **params)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/prng.py", line 592, in random_seed_impl
    base_arr = random_seed_impl_base(seeds, impl=impl)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/prng.py", line 597, in random_seed_impl_base
    return seed(seeds)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/prng.py", line 832, in threefry_seed
    lax.shift_right_logical(seed, lax_internal._const(seed, 32)))
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/lax/lax.py", line 515, in shift_right_logical
    return shift_right_logical_p.bind(x, y)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/core.py", line 329, in bind
    return self.bind_with_trace(find_top_trace(args), args, params)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/core.py", line 332, in bind_with_trace
    out = trace.process_primitive(self, map(trace.full_raise, args), params)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/core.py", line 712, in process_primitive
    return primitive.impl(*tracers, **params)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/dispatch.py", line 113, in apply_primitive
    compiled_fun = xla_primitive_callable(prim, *unsafe_map(arg_spec, args),
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/util.py", line 253, in wrapper
    return cached(config._trace_context(), *args, **kwargs)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/util.py", line 246, in cached
    return f(*args, **kwargs)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/dispatch.py", line 197, in xla_primitive_callable
    compiled = _xla_callable_uncached(lu.wrap_init(prim_fun), device, None,
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/dispatch.py", line 359, in _xla_callable_uncached
    return lower_xla_callable(fun, device, backend, name, donated_invars, False,
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/dispatch.py", line 996, in compile
    self._executable = XlaCompiledComputation.from_xla_computation(
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/dispatch.py", line 1194, in from_xla_computation
    compiled = compile_or_get_cached(backend, xla_computation, options,
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/dispatch.py", line 1077, in compile_or_get_cached
    return backend_compile(backend, serialized_computation, compile_options,
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/profiler.py", line 314, in wrapper
    return func(*args, **kwargs)
  File "/opt/conda/envs/alphafold2/lib/python3.8/site-packages/jax/_src/dispatch.py", line 1012, in backend_compile
    return backend.compile(built_c, compile_options=options)
jaxlib.xla_extension.XlaRuntimeError: FAILED_PRECONDITION: Couldn't get ptxas version string: INTERNAL: Couldn't invoke ptxas --version

Bug on which cluster?
Cluster 3
Bug on which software versions?
AlphaFold2 v2.3
This repository
alphafold --max_template_date=2022-12-27 tot.fa >> tot.log

Related software
AlphaFold2 v2.3
Additional context

My input file is like
> chain C
MASLTVKAYLLGKEDAAREIRRFSFCCSPEPEAEAEAAAGPGPCERLLSRVAALFPALRPGGFQAHYRDEDGDLVAFSSDEELTMAMSYVKDDIFRIYIKEKKECRRDHRPPCAQEAPRNMVHPNVICDGCNGPVVGTRYKCSVCPDYDLCSVCEGKGLHRGH
> n_term
RCDED

Fixed by updating permission. Sorry!


Add CI and infrastructure

Add https://github.com/BenjaminBrienen/bevy_infrastructure to this repository.

Our msrv was wrong!

The repository has 3 required statuses that don't exist in this branch.


Add support for optimism goerli etherscan api

Added chain id 420 in etherscan.ts, used https://api-goerli-optimism.etherscan.io for api url

does not look like https://api-goerli-optimism.etherscan.io is working

hmmm it worked for me on something like  npx hardhat etherscan-verify --network optimismGoerli --api-url https://api-goerli-optimism.etherscan.io

and the link itself seems to be working for me

you right, thanks @leekt !


Refactor how the Breathing modules activates

Currently we have hooks in engine/core for the Breathing module to function, when active - see #1582 which would've removed them. Rather than apply that in engine/core we should have Breathing register/activate it when it is enabled instead. Some way of using delta/override options?
In short it applies a Breather to the player and makes water unbreathable. We must be able to do that differently, although how to enhance breathing beyond water is outside the scope of this issue (such as letting fish breathe in water but not in air)

I think this done ... https://github.com/Terasology/Breathing/tree/master/deltas


❓ Transmission OpenVPN

I have configured my addon as so, with "mullvad..." located in the /config/addons_config/transmission/openvpn folder", but am receiving the error below:
TRANSMISSION_DOWNLOAD_DIR: /share/downloads
TRANSMISSION_HOME: /config/addons_config/transmission
TRANSMISSION_INCOMPLETE_DIR: /share/incomplete
TRANSMISSION_V3_UPDATE: "true"
TRANSMISSION_WATCH_DIR: /share/watch_dir
TRANSMISSION_WEB_UI: flood-for-transmission
WEBPROXY_ENABLED: "true"
OPENVPN_PROVIDER: custom
OPENVPN_CONFIG: mullvad_us_chi
[08:31:40] INFO: OPENVPN_PROVDER set to custom, will use the openvpn file OPENVPN_CONFIG : mullvad_us_chi.ovpn
[08:31:40] FATAL: Configured ovpn file : mullvad_us_chi.ovpn not found! Are you sure you added it in /config/addons_config/transmission/openvpn ?
Error : /etc/cont-init.d/99-run.sh exiting 1

Hi, from the filebrowser app it should likely be in /homeassistant/addons_config/transmission/openvpn/
Sorry I don't have much time to check for the moment


Add setting; github PAT

Description
Allow the user to specify a github PAT for use in requests to github.
Type of Change
Please delete options that are not relevant.

[X] New feature (non-breaking change which adds functionality)
[X] Documentation change (non-code changes affecting only the wiki)

Checklist

[X] My code was submitted to the nightly branch of the repository.

Not to be "that guy" but it should say GitHub instead of Github in docs

Not to be "that guy" but it should say GitHub instead of Github in docs

The one pre-existing occurrence.  ;)   Changes made.


Added footer section

Added a simple footer to the main handle bars page
(NOTE: too simple or do we need more?)

-Also added a few style changes to card section


Safari does not show the fallback component

The fallback component will not be shown untill the dynamically imported component is completely loaded on desktop and mobile Safari.
Assuming  we have an app that dynamically load the home page,  when safari loads the app first time it will not show the fallback component when it is loading the async chunks containing the home page.

@gregberge Here is a reproducible test repo. The app will show a loading component for ten seconds before it serves the request of the async chunk containing the home component which is dynamically imported.

Upd: so this issue was related to webpack-css-stuff, and not directly related to loadable components.


Calibrate MAGICC6.8 for Negative Emissions

MAGICC6.8 hasn't been calibrated to negative emissions or negative CO₂ concentration.
This issue is to calibrate the software response to a drop in CO2 concentration and negative emissions.
This issue will include calibrating the software response to a drop in CO₂ concentration per the CMIP6 tests: abrupt-0p5xCO2.
This would allow a better comparison of negative CO₂ response in order to build a rough emulation of ESMs and EMICs.
https://www.wcrp-climate.org/wgcm-cmip/wgcm-cmip6
Calibrating for large-scale negative emissions would allow quick understanding of carbon removal and identify removal parameters and conditions needed to run in an ESM or EMIC.
Although this issue isn't to calibrate MAGICC6.8 to CDRMIP, this project will try to conform or approximate CDRMIP and associated tests.
CDR reference:
https://www.wcrp-climate.org/modelling-wgcm-mip-catalogue/cmip6-endorsed-mips-article/1302-modelling-cmip6-cdrrmip

With the core sensitivity set to 3.12ºC and additional settings set to best fit HadCRUT5 2015-2020 temperature mean, ONCtests.ipynb achieves 0.0168ºC at 2662.
Positive and negative emissions tests are as follows:
Calculating ECS from abrupt-2xCO2.
Calculating TCR & TCRE from 1pctCO2.
TCR is 2.0314 kelvin, ECS is 3.1035 kelvin and TCRE is 0.002354 kelvin / C / gigametric_ton
Calculating ECS from abrupt-0p5xCO2.
Calculating TCR & TCRE from 1pctCO2-cdr.
TCR is 2.0314 kelvin, ECS is 3.1187 kelvin and TCRE is 0.002354 kelvin / C / gigametric_ton
ECS/TCR/TCRE detection build on pymagicc code is in utils.py. The new code accepts positive and negative emissions (as noted by the abrupt and -cdr idnentifiers.
Closing issue.


Prevent block decorations from mistakenly wrapping during measurements

Fixes #14743.
Before rendering block decorations, we read their heights by putting them into a special div called blockDecorationMeasurementsArea.
Previously, this div was not explicitly sized, which was causing decorations to wrap while being measured but not when actually rendering them.
This pull-request fixes this inconsistency by explicitly styling the measurement area so that it has the same width as the component scroll width.
/cc: @atom/maintainers @t9md

❤


Automatic Speech Recognition Example Request

You would like to see a new example being implemented by the Flax core team or the community? Please let us know by filling the following template.
Description of the model to be implemented
RNN-Transducer
Dataset the model could be trained on
LibriSpeech
Specific points to consider
Reference implementations in other frameworks
https://github.com/mlcommons/training/tree/master/rnn_speech_recognition/pytorch

Thanks for filing this issue! We decided that for now, we want to focus on making our core library excellent, and we are not planning to add new examples to our repo. This may change in the future, but for now I am closing this issue.
We do encourage you to let us know (e.g., through Github Discussions) when you have written examples in your own repo, and we gladly link to it!
@andsteing FYI


AttributeTable - Can't handle all field types, fails to handle null values properly

I am encountering major issues when trying to read and write values from shape files containing null values in numeric fields and real number fields just as Long ("L") fields.
I am working at a pull request to resolve that and extend the capabilities of the DotSpatial.Data.AttributeTable class according to the specifications of the dBase data format.

Sure, waiting for PR :)

There it is...
All in all I am not absolutely happy with the state. The entire structure of the AttributeTable and it's supporting classes is pretty messy and a lot of things are defined and mapped in two or three places in different ways. That does not make things easier.
I think the mapping of the different dBase field types to the .NET data types should happen in the Field class along with parsing the values. Currently some mapping happens in the Field class and some directly in the AttributeTable.

Agree, it requires good refactoring.


Error once import react-native-vector-icons with version 0.52.2

import Icon from 'react-native-vector-icons/FontAwesome';
Error :
The development server returned response error code: 500
URL: http://<IP_ADDRESS>:8081/index.delta?platform=android&dev=true&minify=false&deltaBundleId=0
Body:
{"type":"InternalError","errors":[],"message":"Metro Bundler has encountered an internal error, please check your terminal error output for more details"}
processBundleResult
BundleDownloader.java:242
access$100
BundleDownloader.java:41
onResponse
BundleDownloader.java:208
execute
RealCall.java:135
run
NamedRunnable.java:32
runWorker
ThreadPoolExecutor.java:1113
run
ThreadPoolExecutor.java:588
run
Thread.java:818

I have the same problem

i thin this error only with the latest version 0.52
i installed 0.51 and it works with me

isn't this the same?
Duplicate of #https://github.com/oblador/react-native-vector-icons/issues/626

Dup of #626
it's an RN issue https://github.com/facebook/react-native/issues/17610
Will be fixed by https://github.com/facebook/react-native/pull/17672
Workaround https://github.com/oblador/react-native-vector-icons/issues/626#issuecomment-362386341

try run command >> killall node

在项目根目录下执行命令
rm ./node_modules/react-native/local-cli/core/__fixtures__/files/package.json


.eh_frame for unwinding crate itself missing?

Hi @nbdd0121, thanks for writing this great project. I've tried to integrate this crate as the native unwinder for a riscv bare metal project. I'm kind of new to these dwarf and stack unwinding stuff. Feel free to correct me.
My current way of using this repo is: I defined a #[panic_handler] in my original project, which invokes the unwinding::panic::begin_panic(#some random payload). I found out that with this use pattern, the unwinder always fails immediately, by which I mean it can not even unwind the first stack. The call stack looks like:
panic_handler -> panic::begin_panic -> panicking::begin_panic -> _Unwind_RaiseException ->  with_context
the first stack frame unwinding is initiated from with_context. FdeFinder (in my case a static one) then tries to search for the pc within all the fde entries (i've doubled check the pc indeed falls into with_context). However, it always fails to find this exact pc.
The dumped .eh_frame section shows that the all the text address is well covered except those associated this unwinding crate. (the union of pc range from each fde entry is almost consecutive except a blob associated with unwinding is missing). Because of this, our FdeFinder always fails on the first request. Is there anything missing here or I'm totally misusing this crate.
Here is my configure:
default features are turned off, "unwinder", "panic", "fde-static", "personality" are opted in. global_allocator is provided and #[eh_personality] lang is not registered by my original project. linker script is well set up according to the README.
I'm doing cross compile, the target is riscv64gc-unknown-none-elf
rustc 1.80.0-nightly (f705de596 2024-04-30)
binary: rustc
commit-hash: f705de59625bb76067a5d102edc1575ff23b8845
commit-date: 2024-04-30
host: x86_64-unknown-linux-gnu
release: 1.80.0-nightly
LLVM version: 18.1.4

just added -C force-unwind-tables as part of rustc flags when building. The missing pieces (unwind info for unwinding crate) can be found. Any idea why by default cargo discard this part of info?

I think for riscv64gc-unknown-none-elf panic=abort is the default?

Prior to setting the rustc flags, I've tried to force panic=unwind in my Cargo.toml profile section. It is weird that this won't work

We just can not override panic-strategy compiler spec to unwind for those target only supports abort. This is built-in as part of rustc compiler. But it's alright to do it other way around (turning off unwind by setting panic=abort ).
We can custom our target if necessary, some references: compiler-dev-guide and theseus-os. There are some options relevant with unwinding to play with, for example panic-strategy, eh-frame-header.


Add more sublime syntaxes

Also fix gutenberg serve that has been broken (not
re-rendering content) for quite some time now.

@phil-opp is that what you had in mind?

I just tested it and it works great! I only miss highlighting for toml files and linker scripts. Could we add them too? I found lmno/TOML for toml and jbw3/SublimeTextLinkerSyntax for linker scripts.

TOML and Linker added!

Awesome! TOML highlighting works great, but linker script are still not highlighted. Not sure what's the problem…

that's an error in the syntax file:
file_extentions: [ld] should be file_extensions: [ld]

Good catch, it works now! I opened https://github.com/jbw3/SublimeTextLinkerSyntax/pull/1 in the upstream repo for this.
Thanks so much for all your support! You're doing awesome work here!

Merging now, I'll update the linker syntax when your PR is merged


Fix pea SP instruction bug on 68000 processor

The pea instruction adjusts SP, but the address may be SP-based. Ghidra was evaluating the effective address after adjusting SP, but the address should be evaluated before SP is changed. For example, pea (SP) should result in a pointer to the previous stack entry, rather than a pointer to itself.

Before submission, please squash your commits to using a message that starts with the issue number and a description of the changes.

I was not sure what to do for the issue number; there is no corresponding issue.

What does Status: Internal mean for a PR? It makes sense on issues but I don't understand it's use here.

What does Status: Internal mean for a PR? It makes sense on issues but I don't understand it's use here.

We have an internal process for how we review and accept PRs. It's just a tag for our team to track that means "we're working on it." outside of that you can ignore it.


Unable to suggest field name in the presence of annotation and compilation errors

Product and Version: VSCode 1.43.2
OS Version: Linux x64 5.4.28-1-MANJARO
IntelliCode Extension Version: 1.2.6
Target Platform or Language: Java
Steps to Reproduce / Scenario:

Create a class with a method and with an annotation on it. Do some syntax typo on that method.
Add a new field on the class and wait for the field name suggestion.
IntelliCode will not be able to suggest the field name.

If you comment out the annotation, it will suggest the field name just fine.

Create a class with a method without any annotation on it. Do some syntax typo on that method.
Add a new field on the class and wait for the field name suggestion.
IntelliCode will suggest the field name just fine.

Here is a gif showing the issue:

By disabling IntelliCode, I can still reproduce the issue. Suppose to be a bug in upstream project https://github.com/redhat-developer/vscode-java
Could you help open an issue there?

Hello @Eskibear!
Indeed this problem is not related to IntelliCode, I disabled the extension as well and the problem continues. I'll report this issue on vscode-java repo.
Thanks!


Microbenchmarks: Use existing benchmark tests

The existing performance benchmarks are end-to-end. This is really great.
Just like in testing, end-to-end is well supported by testing/benchmarking of smaller units.
Today, we have a few func BenchFoo(b *testing.B)  method sprinkled throughout the code base.
It would be awesome if we could pick use these benchmarks and just start running them, collecting numbers and then creating a pretty charts for them.

Pull request #70 focuses on collecting the benchmarks, running them, and saving their results. Creating charts for them will be covered by a subsequent pull request.

It would be awesome if we could pick use these benchmarks and just start running them, collecting numbers

[ ] Microbenchmarks: use existing tests #70

and then creating a pretty charts for them.

[ ] Render microbenchmarks in the UI through a table #79


How to generalize to llama series model?

Hi when I try to load vicuna-13b, but the error like this.
How can I fix this？

Simply remove all unnecessary device_map stuff worked for me :) https://github.com/akkikiki/huggingface_examples/blob/main/examples/load_vicuna.py


Consider making IFormFileCollection read-only

IFormCollection is readonly, IFormFileCollection is not.
https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNet.Http.Abstractions/IFormCollection.cs
https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNet.Http.Abstractions/IFormFileCollection.cs
This is a bit of a speedbump for fixing aspnet/Mvc#2527 and would otherwise require us to duplicate the code in FormFileCollection.

The problem is just that IFormFileCollection implements IList<IFormFile>, right? You just want something more like IReadableStringCollection?

preferably IReadOnlyList<IFormFile


Add option to install particular fonts

Right now the user needs to specify additional lines to install fonts, as in:
on: push
jobs:
  job:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: fontist/setup@v1
      - run: fontist install "Fira Code"

It would be much better if we can specify the fonts to install directly:
      - uses: fontist/setup@v1
        with:
          fonts: Fira Code

GitHub Actions arguments only support string | number | boolean so we can't use an array, but multiple fonts can be specified using semicolons or commas (since ?
      - uses: fontist/setup@v1
        with:
          fonts: Fira Code, Inter

GitHub Actions arguments only support string | number | boolean so we can't use an array, but multiple fonts can be specified using semicolons or commas (since ?

I suggest multiline strings if you do in fact do this:
      - uses: fontist/setup@v1
        with:
          fonts: Fira Code

      - uses: fontist/setup@v1
        with:
          fonts: |
			Fira Code
			Inter

There's even a core method for it: core.getMultilineInput("input-name-here") https://www.npmjs.com/package/@actions/core
Examples from actions/cache and actions/upload-artifact:
    - name: Save Primes
      id: cache-primes-save
      uses: actions/cache/save@v4
      with:
        path: |
          path/to/dependencies
          some/other/dependencies
        key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }}

- uses: actions/upload-artifact@v4
  with:
    name: my-artifact
    path: |
      path/output/bin/
      path/output/test-results
      !path/**/*.tmp

I would be cautios about this. I haven't seen any other setup-$THING action install packages or things on-the-spot when setting up. They almost always leave that to either a package.json requirements.txt or Cargo.toml or whatever OR they rely on you to package-manager install --global $THING in your script. 🤷♂ Just a thought. It'd also be shorter lol
# 3x lines
- uses: fontist/setup@v1
  with:
    fonts: Fira Code

vs
# 2x lines
- uses: fontist/setup@v1
- run: fontist install "Fira Code"

also you could shorten it even more if fontist install supported a variable number of arguments like cargo add does or npm install does or pip install does.  🤷♂
# 2x lines
- uses: fontist/setup@v1
- run: fontist install "Fira Code" "Inter" "Open Sans" "Consolas" "Arial" "Times New Roman"

vs
# lots of lines 🤷♂
- uses: fontist/setup@v1
  with:
    fonts: |
      Fira Code
      Inter
      Open Sans
      Consolas
      Arial
      Times New Roman

setup-ruby does allow installing of gems through the Gemfile using bundler:
    steps:
    - uses: actions/checkout@v4
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        bundler-cache: true # runs 'bundle install' and caches installed gems automatically

We could use manifest.yaml for the same purpose, which is already defined here:
https://github.com/fontist/setup-fontist/blob/5922aae3bf37f2c1ab7f55390d8b94d74fc16565/action.yml#L18-L20
What about something like this:
- uses: fontist/setup@v1
  with:
    manifest: true # The manifest is at manifest.y{a,}ml

As a side node, perhaps fontist.y{a,}ml would work better than manifest.y{a,}ml?


update dom-crawler version

+1 yes please. Currently conflicts with laravel 5.5

thanks @ctf0 and @anurbol


NC Statewide Issue

found Hertford County today. Is not own individual county, but part of Statewide dataset. In looking at statewide dataset, seems like there has been issues since day one ( http://results.openaddresses.io/sources/us/nc/statewide )?
can download state data here: http://data.nconemap.gov/downloads/vector/parcels/
Source: http://data.nconemap.gov/geoportal/catalog/main/home.page
**Nice quote from @Nancy von Meyer ;)

Hmm, we're hitting a service for this now:

https://github.com/openaddresses/openaddresses/blob/master/sources/us/nc/statewide.json

Which looks like the "parcel centroids" layer linked off http://data.nconemap.gov/geoportal/catalog/main/home.page (there's also a parcel polygon layer).
Is the download (http://data.nconemap.gov/downloads/vector/parcels/) different than what's in the MapServer service?