Update zh.json

Translated by YBY
I am a Warhammer Fantasy player and GM from Taiwan, and I would love to let more players know about this awesome game through translation the character sheet.
Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[N] Does the pull request title have the sheet name(s)? Include each sheet name.
[N] Is this a bug fix?
[N] Does this add functional enhancements (new features or extending existing features) ?
[N] Does this add or change functional aesthetics (such as layout or color scheme) ?
[N] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[N] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Hello @boyiad2110 ! Your Pull Request includes changes to translation files. We will not deny your Pull Request, but we would prefer sheet contributors use Crowdin for translations. Please email Cassie at<EMAIL_ADDRESS>and she will get you an invite to our Crowdin. Be sure to include the languages you would like to translate, and please use Crowdin for future translation updates! Thanks for all you do!

@mperes OK, but do I need to translate this file on Crowdin again?


semantic css files not available

I used the following npm command to install semantic
npm install ng-semantic --save
But i couldn't find css/scss/less files downloaded inside node_modules/ng-semantic folder.
As a result my dropdown is not themed at all.

Semantic CSS are not provided by ngSemantic. You need to install semantic it self. It is possible with bower:
bower install semantic

Thank you. i have downloaded the stylesheets. Looks like still the styling is not applied properly. I am using the select component. Please refer the attached images

My Apologies. I missed this import
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.2/semantic.min.js"></script>
This solved the issue.


Basic user authentication and authorisation

We can support basic authentication with minimal permission-based rule enforcement that can be read from a file in the Optimus server. The file could be stored locally, stored in a k8s config map, GCS, etc for the server to fetch.
[
  {
     "username": "foo",
     "password": "bar",
     "perms": ["*"]
  },
  {
     "username": "optimus",
     "password": "$2a$10$fKRHxrEuyDTP6tXIiDycr.nyC8Q7UMIfc31YMyXHDLgRDyhLK3VFS",
     "perms": ["deploy:t-data", "deploy:g-data"]
  },
  {
     "username": "prime",
     "password": "pass",
     "perms": ["deploy:*", "register:project", "register:secret"]
  }
]

Passwords can be cleartext or bcrypt encrypted hashes. Each permission is mapped as action:entity and * is used as a wildcard for all. To avoid authentication with internal clients(airflow docker images), we can break the optimus API into two parts, public and internal both exposed to different ports, and only public will be served to external users.
From the cli we can either

Use a .netrc file to store user credentials.
Users while running the command will provide these credentials in their .optimus.yaml file(auth method and username can only be configured in file, password will be either passed as flag or asked from user in stdin).

Currently, decided to keep authentication & authorization outside of the system.


Back to the host application

Hello.
How I can back to the host application from which occurred sharing?
Thanks.

Resolved for me, but I'm not sure that it's right way.
I modified ShareMenuModule.m this way:
static NSExtensionContext* extContext;  // new variable
and implement method which set extension context:
+(void) setContext: (NSExtensionContext*) context {   extContext = context; }
also I added invokeToTheProxyApp bridge method:
RCT_EXPORT_METHOD(invokeToTheHostApp) {   [ extContext completeRequestReturningItems: @[] completionHandler: nil ]; }
ShareMenuModule.h:
+(void) setContext: (NSExtensionContext*) context; // new line
After I set up context in the ShareViewController.m:
[ShareMenuModule setContext: self.extensionContext];
Now I can use NativeModules.ShareMenuModule.invokeToTheHostApp in the js application.

Looks good. @ahmednasserswe, anything to add here?

Can you please re-open this issue on https://github.com/meedan/react-native-share-menu ?

@caiosba Look like I can't create issue for fork...

Oh yes you're right... I asked the iOS maintainer to look at it :)

Thanks!

Thanks @dimapaloskin - merged your pull request - that is a great add :)


Wrong information in the memo area, need help

Instead of using the numerical number provided I put in transfer to coinbase instead. How do I go about correcting this error and retrieving my deposit? any help with this would be greatly appreciated, thank you.

https://medium.com/stellar-community/help-i-forgot-my-stellar-memo-8c04f613eb96


Optimization for ValueListOutput

There are many cases where a ValueListOutput is used when the amount of returned values is known
like com.lambdaworks.redis.RedisCommandBuilder.zrange(K, long, long) will have stop-start and
com.lambdaworks.redis.RedisCommandBuilder.hmget(K, K...) will have keys.length
For that we could add a second constructor that takes an additional capacity argument for the array list. backwards compatible would be to use "10" as capacity.
what do you think?

I think there's some potential to improve. Redis array responses contain the size in their header. When using streaming, outputs don't really require an eager initialization with ArrayList because the result is streamed to a Subscriber interface instead of the list.
It would make sense to distinguish and have a late initialization that either initializes ArrayList with the response size as soon as we receive the response or, for streaming, do not create ArrayList instances at all.

Good idea, the latter is what I did for our use case already as soon as I discovered it. I really like the layered API of lettuce, so I can easily choose convenience or maximum control and performance.

Together with a few other optimizations (Returning Collections.emptyList() if array response is empty) we end up with the following benchmark:
4.4
Benchmark                                                     Mode  Cnt    Score    Error  Units
ValueListOutputBenchmark.measure100Elements                   avgt   40  444,795 ± 11,781  ns/op
ValueListOutputBenchmark.measure100ElementsWithResizeElement  avgt   40  568,426 ± 11,864  ns/op
ValueListOutputBenchmark.measure16Elements                    avgt   40   66,082 ±  1,858  ns/op
ValueListOutputBenchmark.measure16ElementsWithResizeElement   avgt   40  131,118 ±  2,453  ns/op
ValueListOutputBenchmark.measureSingleElement                 avgt   40   12,097 ±  0,482  ns/op
ValueListOutputBenchmark.measureZeroElement                   avgt   40    0,278 ±  0,005  ns/op

4.3
Benchmark                                                     Mode  Cnt    Score    Error  Units
ValueListOutputBenchmark.measure100Elements                   avgt   40  641,254 ± 58,630  ns/op
ValueListOutputBenchmark.measure100ElementsWithResizeElement  avgt   40  661,805 ± 51,144  ns/op
ValueListOutputBenchmark.measure16Elements                    avgt   40  144,651 ± 24,637  ns/op
ValueListOutputBenchmark.measure16ElementsWithResizeElement   avgt   40  144,673 ± 36,781  ns/op
ValueListOutputBenchmark.measureSingleElement                 avgt   40   13,783 ±  2,029  ns/op
ValueListOutputBenchmark.measureZeroElement                   avgt   40    6,893 ±  1,297  ns/op

Done.

Quite a nice speedup :-)


Add something to make images scale for inspection

For example:
https://hugodocs.info/hosting-and-deployment/hosting-on-netlify/#create-a-netlify-account
May be able to get away with a transform/scale CSS declaration.
cc @digitalcraftsman

FWIW, I used featherlight in the previous design....


jit (arm64): support for empty function

is what I'm trying to achieve 😄

ok cool now I succeed to simply jump into the native code, save the return address, and return back to the Go code. The tests passed!

whew both arm64/darwin (my local machine) and arm64/linux (on ci) passed 👯

@codefromthecrypt could you take a quick look?

ok merging, I will do the doc backfills in a follow-up one!


Dev flow

Very much WIP and open to suggestions!

Great comments & suggestions, thanks! let's finish this off on Monday! :-)

Needs re-review

👍


Add OAuth2/OIDC support to Kafka pubsub

Description
This change leverages Sarama's support for bearer tokens to support OAuth2/OIDC authentication
to access a Kafka broker. It utilizes the client_credentials flow as the most appropriate for machine-to-machine
connections.
Additionally, I found the sarama logs were useful in debugging so I've added a bridge from the sarama logger to
the dapr debug logger. This can be dropped since it isn't part of OIDC support.
Issue reference
Please reference the issue this PR will close: #1084
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[X] Code compiles correctly
[X] Created/updated tests
[X] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#1882

I've updated the E2E test to include both mTLS and OAuth2 authentication. I think the linters should also pass now, but will make any additional updates required after the gate runs are approved.

Please git rebase master branch.

I ran the full certification suite locally and golangci-lint, so I think the changes are ready for the CI workflows. Would like to try and get this in for 1.6 so we can use it downstream.
@daixiang0

@sthussey LGTM overall, let's wait the test result.

I looked at the certification CI failure. It is likely caused by the Kafka brokers losing their data on container stop/start. I refactored them to use volumes rather than writing to the container root. The CI agent hosts must be configured differently than my local docker.

I'll respond to the comments above. I'm a bit perplexed about the CI failure for the certification test since the same commit passes running against my fork. I'll see if I can find something that would cause it to fail here.
https://github.com/sthussey/components-contrib/runs/4520833263?check_suite_focus=true

I'll respond to the comments above. I'm a bit perplexed about the CI failure for the certification test since the same commit passes running against my fork. I'll see if I can find something that would cause it to fail here.
https://github.com/sthussey/components-contrib/runs/4520833263?check_suite_focus=true

This might be a flaky test. I re-ran the checks.

@pkedy can you do a quick pass here? you're the de-facto Dapr Kafka expert :)

I adjusted a bit of the Kafka config back to defaults. I ran it a few times on my fork and CI passed each time. Could we try a re-run here to see if CI is passing now?

Thanks for the great contribution @sthussey.

Thanks for all the support getting this done. Dapr is a great project we look forward to utilizing downstream. I'll work on getting the docs PR finished.


fix: allow delete profile with balance

Description of change
This change allows the user to delete a profile without balance, as it removes the unnecessary calls to delete each account within a profile before deleting the account.
Links to any relevant issues
Fixes #2035
Type of change
Choose a type of change, and delete any options that are not relevant.

Fix (a change which fixes an issue)

How the change has been tested
Describe the tests that you ran to verify your changes.
Tested thoroughly, unfortunately there is still a bug after deleting which we are waiting for a response from the wallet team on.

[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that my latest changes pass CI tests
[ ] New and existing unit tests pass locally with my changes

Ready for review as the issue #1674 is independent and likely a bug or misuse of wallet.rs that is out of scope for this task.


feat: facilitate #fragment linking inside pages

There should be name or id attributes in the HTML output.
For example, https://ziglang.org/learn/overview/ . It should be possible to link directly to the figure called 19-generics.zig, or at least to the heading Generic data structures and functions.

It is already possible, one just needs to specify the id property of a content directive inside of supermd, it was just not done for that page in particular.


TextBox in AppBarButton.Flyout cannot get input focus

Describe the bug
like below, the textbox cannot get input focus when flyout is shown
Steps to reproduce the bug
        <AppBarButton Content="Flyout">
            <AppBarButton.Flyout>
                <Flyout>
                    <TextBox Width="100" />
                </Flyout>
            </AppBarButton.Flyout>
        </AppBarButton>

Expected behavior
No response
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response

In your AppBarButon, you need to add AllowFocusOnInteraction="True" for your TextBox to automatically get focus when you open the Flyout.
If you don't want it to automatically get focus and require the user to click into the TextBox first, you would add AllowFocusOnInteraction="True" to your TextBox instead.

In your AppBarButon, you need to add AllowFocusOnInteraction="True" for your TextBox to automatically get focus when you open the Flyout. If you don't want it to automatically get focus and require the user to click into the TextBox first, you would add AllowFocusOnInteraction="True" to your TextBox instead.

Thanks for the anser,get it!


Error white turning on Settings Sync. No authentication providers are available (Windows 11)

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.95.0-insider
OS Version: Windows 11 26100.1882

Steps to Reproduce:

File -> Preferences -> Backup and Sync Settings

Can you please check following

Go to Extensions view and type @builtin auth and check if GitHub Authentication and Microsoft Account are enabled?
If they are enabled, can you please share the following log while you reproduce the issue

F1 > Open View... > Window
F1 > Open View... > Shared

They are enabled. Both outputs are empty while I try to enable settings sync and receive that error.

They are enabled but not activated.
@TylerLeonhardt Any insights why they are not activated?

Apparently I can't reproduce the issue because after 5 days it works as expected.

Manually disabling and enabling authentication providers (Microsoft and Github) solves the issue immediately.


PySpark: Method saveAsBigQueryTable does not exist

Hi, I can't run the example in PySpark, because I get the error in title.
sc = SparkSession.builder \
    .appName("PySpark To BigQuery: Publication test") \
    .getOrCreate()

sqlContext = SQLContext(sc)

bigquery = sc._sc._jvm.com.samelamin.spark.bigquery

# Prepare the bigquery context
bq = bigquery.BigQuerySQLContext(sc._wrapped._jsqlContext)
# bq.setGcpJsonKeyFile(KEY_FILE)
bq.setBigQueryProjectId(BQ_PROJECT_ID)
bq.setGSProjectId(BQ_PROJECT_ID)
bq.setBigQueryGcsBucket(STAGING_BUCKET)
bq.setBigQueryDatasetLocation(DATASET_LOCATION)

df...

BigQueryDataFrame = bigquery.BigQueryDataFrame(df._jdf)
BigQueryDataFrame.saveAsBigQueryTable("{0}:{1}.{2}".format(BQ_PROJECT_ID, BQ_DATASET_ID, BQ_TABLE_NAME))

py4j.Py4JException: Method saveAsBigQueryTable([class java.lang.String]) does not exist

This sounds like you do not have the jar in the path, just make sure it is before running it

I can see it in logs:
18/02/09 18:01:18 WARN org.apache.spark.deploy.yarn.Client: Same path resource file:/root/.ivy2/jars/com.github.samelamin_spark-bigquery_2.11-0.2.3.jar added multiple times to distributed cache.

Hmmm strange you can try adding it to the python path. But it's easier if
you import ipdb and user the debugger to understand what's happening.
I'll create a fresh environment this weekend and see if I can replicate
On Fri, 9 Feb 2018 at 18:02, Mauro Foti<EMAIL_ADDRESS>wrote:

I can see it in logs:
18/02/09 18:01:18 WARN org.apache.spark.deploy.yarn.Client: Same path resource file:/root/.ivy2/jars/com.github.samelamin_spark-bigquery_2.11-0.2.3.jar added multiple times to distributed cache.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/samelamin/spark-bigquery/issues/54#issuecomment-364510733,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEHLm_7NwF8gMKJynCuTiI3InxYQgyuxks5tTIhIgaJpZM4SACuz
.

I couldnt replicate this issue


Federated Learning Teams Update

Currently on the development teams page, we still have the Grid Team and Web and Mobile Team listed, however these have been incorporated into the newly formed Federated Learning Team.
The Federated Learning Team only has a brief description: "The Federated Learning Team is a new team which combines the Web & Mobile Team, the Grid Team, and two new teams: Workers Team, and RecSys Team. More details are coming soon, but in the meantime contact the team lead below for more information."
But what we need is the full Federated Learning Team info (like all of the other teams), which should include information about the sub-teams mentioned above.

@4mber here you go!
Federated Learning
Building federated learning into the OM ecosystem through libraries available in Kotlin, Swift, Javascript, and Python. Manages a series of worker libraries in multiple languages and modalities, as well as the PyGrid central server for federated learning and remote data science.
Team Lead: Patrick Cason
Team Members: No current list
Team Roadmap: Data-centrc (coming soon) and Model-centric
Good First Issues: PyGrid, syft.js, KotlinSyft, SwiftSyft, Threepio
Requirements/Recommendations to Join:

You have already merged at least 1 pull request to an OpenMined GitHub repository (see Good First Issues above), particularly a Javascript-related issue
You have contributed before to OpenMined's numerous repos
You have experience working with Javascript
You have experience working with socket servers
You have experience working with WebRTC
You have experience with dev ops, including cloud deployment, scaling, and load-balancing
You have experience working in native mobile development including the Kotlin, Java, Swift, and Objective-C languages

Accepting New Members: YES
Application to Join

Thanks @cereallarceny !! Could you change the markdown file here, and submit as a PR please? Thanks! :)

Done.


Issues while connecting from a separate vuejs app using laravel-echo

Hi, I know people have already asked this question. But I could not find anything helpful regarding this. The main idea is to connect to my websocket server from anywhere. For now I have successfully setup my websocket server, which is working fine. But I have not been able to connect to it from other apps. I have another laravel project with vuejs at the moment and I'm using laravel-echo with pusher to connect to this websocket server (as mentioned in most of the articles). But so far not successful. Here is my code from bootstap.js of my other app.
import Echo from 'laravel-echo';

window.Pusher = require('pusher-js');

window.Echo = new Echo({
    broadcaster: 'pusher',
    key: '{pusher key that I defined in my websocket app}',
    wsHost: '{ websocket app url}',
    wsPort: 6001,
    disableStats: false,
    forceTLS: false
});

This basically fails while authentication with  {MyOtherApp}/broacasting/auth 404 error.
And to overcome this when I add authEndpoint to above config it just throws CORS policy issue.
I'm busting my head over here and I don't want to implement this from scratch. Any help would be highly appreciated.

Closing this issue as I was able to resolve CORS issue through my apache2 vhost configuration.


[GSSoC'21] Create a separate file containing only Hindi Text after removal of POS tags using python script.

Aim
To remove all the POS tags from hindi text file using python script and domain NLP.
Details
To have a separate hindi text file without POS tags.
@avinashkranjan @kaustubhgupta   I am a GSSoC'21 participant and I think this is an interesting python script of NLP domain. Kindly allow me to work on this issue and contribute to this project!

@zaverisanya assigned to you


Error in file locking backend with python 3

File ".../lib/python3.4/site-packages/django_cron/backends/lock/file.py", line 20, in lock
f = open(lock_name, 'w+', 0)
ValueError: can't have unbuffered text I/O
For python3, should change line 20 to f = open(lock_name, 'wb+', 0) and line 37 to  f.write(bytearray(str(os.getpid()), 'utf-8'))

I did the same except I changed the line 37 to:
f.write(bytes(str(os.getpid()), 'UTF-8'))
Tested and works.

Resolved in https://github.com/Tivix/django-cron/pull/110


CRYPTO_secure_malloc_init: Do not dump region support for FreeBSD.

BTW, is this a 1.1.1 fix or a master fix, or both?

Ok. Do you know if this is applicable for the other popular BSDs as well? Considering how much cross pollination there is between Open-, Net- and FreeBSD, I wouldn't be surprised...

On OpenBSD there is is similar feature but in mmap level, usual approach is to use this flag and define to 0 for all other platforms.

Good question well if it can apply to both would be great :-)

Good question well if it can apply to both would be great :-)

It seems you just did :wink:

This pull request is ready to merge

If I can make a suggestion, the commit title currently reads like "Don't add dont_dump support" :)  Mabe put the  commit title like "Add FreeBSD support for secure-mallc dont-dump-region" or similar.

Merged to master. Thank you for the contribution.
Unfortunately this will not cherry-pick cleanly to 1.1.1 so please create a new PR against 1.1.1 if you want this to be merged there as well.


[8pt] Hydrotable with row with hydroID but mostly nulls after it

HydroVIS detected this and for now, it was only detected on one huc and one row in a hydrotable, but it is suspected to be happening more.
The Question:

In a Hydrotable, it is acceptable to have a row in there with a hydroid but mostly nulls after it? Or is this a bug in our code?
Is it a quick fix?  Should we do a scan of other ones?  What is the effort / reward on this fix. PS. I have a way from the HV side to get all records where this can be happening if it is needed, but only if it has value to this problem.

The case found:

This is an image of a HydroVIS join table. If we check the huc and hydroID against our hydrotables, will we see some nulls in that row and should there be any?
HydroVIS has hardcoded put in a temp emergency fix with Derek's blessing to just drop all records when it see's that fix.
At a min, if we can figure out if it is a bug or just an acceptable condition, we can update HydroVIS code to put in a note of why it might happen. If we get a fix and when they get new code, we can tell them to drop that temp hardcoded fix in their code.
More details: Part of a redmine ticket and also recorded in HydroVIS isssue 950.

This is definitely coming from our side, the number of cells is zero all the way down, so somehow this is a catchment with no pixels?


Error on compiling from source

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux archlinux 5.3.11-arch1-1 x86_64 GNU/Linux

TensorFlow installed from (source or binary): source

TensorFlow version: commit hash: 872b1ab23f0aac182d5b2051f45d5d003963bfe3

Python version: 3.7.5

Installed using virtualenv? pip? conda?: conda

Bazel version (if compiling from source): bazel 0.29.1- (@non-git)

GCC/Compiler version (if compiling from source): gcc (GCC) 9.2.0

CUDA/cuDNN/TensorRT version: 10.1.243-2/<IP_ADDRESS>-1/<IP_ADDRESS>-1

GPU model and memory: nVidia RTX 2080 8GB

Describe the problem
Compiling with bazel fails:
ERROR: /home/jaaq/.cache/bazel/_bazel_jaaq/c463894dd2648fc5b64eeed02cc022b5/external/grpc/BUILD:507:1: C++ compilation of rule '@grpc//:gpr_base' failed (Exit 1)
Provide the exact sequence of commands / steps that you executed before running into the problem
git clone repo
cd tensorflow
source /opt/anaconda/bin/activate
conda activate python375env
./configure (Yes on XLA JIT, CUDA, TensorRT, clang)
bazel build //tensorflow/tools/pip_package:build_pip_package

Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
ERROR: /home/jaaq/.cache/bazel/_bazel_jaaq/c463894dd2648fc5b64eeed02cc022b5/external/grpc/BUILD:507:1: C++ compilation of rule '@grpc//:gpr_base' failed (Exit 1)
external/grpc/src/core/lib/gpr/log_linux.cc:43:13: error: ambiguating new declaration of 'long int gettid()'
static long gettid(void) { return syscall(__NR_gettid); }
^~~~~~
In file included from /usr/include/unistd.h:1170,
from external/grpc/src/core/lib/gpr/log_linux.cc:41:
/usr/include/bits/unistd_ext.h:34:16: note: old declaration '__pid_t gettid()'
extern __pid_t gettid (void) __THROW;
^~~~~~
external/grpc/src/core/lib/gpr/log_linux.cc:43:13: warning: 'long int gettid()' defined but not used [-Wunused-function]
static long gettid(void) { return syscall(__NR_gettid); }
^~~~~~
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 89.815s, Critical Path: 22.19s
INFO: 1215 processes: 1215 local.
FAILED: Build did NOT complete successfully

Having the same error, did you manage to solve it?

Not yet. See also: https://www.reddit.com/r/archlinux/comments/e2e5s8/error_compiling_tensorflow_20/?utm_source=share&utm_medium=web2x

The error seems to be due to the same symbol definitions (of gettid) introduced in GCC 9.0+ extant in grpc. https://github.com/grpc/grpc/issues/20043
The folks at grpc have patched the problem in newer releases.
https://github.com/grpc/grpc/pull/20048
However, during the build process, TensorFlow downloads a cached version of an older commit from the TensorFlow mirror. At this point, I do not know which commit from the grpc repository fixes the issue in particular (I tried the latest one, it has some problem with upb_proto_library). Therefore, the best course of action, as I found from other sources (https://gist.github.com/kmhofmann/e368a2ebba05f807fa1a90b3bf9a1e03) is to patch the grpc commit downloaded using a patch file.
If the patch in https://gist.github.com/kmhofmann/e368a2ebba05f807fa1a90b3bf9a1e03 doesn't work I would suggest cloning the grpc source from github, checkout the commit 4566c2a29ebec0835643b972eb99f4306c4234a3. Edit the following files -

src/core/lib/gpr/log_linux.cc
src/core/lib/gpr/log_posix.cc
src/core/lib/iomgr/ev_epollex_linux.cc

Just change every instance of the term gettid to sys_gettid in these three files and generate a patch for yourself using git diff and use that patch.

Thanks @shantanu-gontia for documenting this - just ran into it as well. The linked patch works fine for me.
Of course, it would be nice if the TF source could be fixed :-)

same here
ERROR: /home/user/.cache/bazel/_bazel_userbest/89310458958e3aedfc736fc503a62f52/external/grpc/BUILD:507:1: C++ compilation of rule '@grpc//:gpr_base' failed (Exit 1)
external/grpc/src/core/lib/gpr/log_linux.cc:43:13: error: ambiguating new declaration of 'long int gettid()'
   43 | static long gettid(void) { return syscall(__NR_gettid); }
      |             ^~~~~~
In file included from /usr/include/unistd.h:1170,
                 from external/grpc/src/core/lib/gpr/log_linux.cc:41:
/usr/include/bits/unistd_ext.h:34:16: note: old declaration '__pid_t gettid()'
   34 | extern __pid_t gettid (void) __THROW;
      |                ^~~~~~
external/grpc/src/core/lib/gpr/log_linux.cc:43:13: warning: 'long int gettid()' defined but not used [-Wunused-function]
   43 | static long gettid(void) { return syscall(__NR_gettid); }
      |             ^~~~~~
ERROR: /home/user/.cache/yay/tensorflow-git/src/tensorflow/tensorflow/python/tools/BUILD:312:1 C++ compilation of rule '@grpc//:gpr_base' failed (Exit 1)
INFO: Elapsed time: 1012.293s, Critical Path: 30.58s
INFO: 3168 processes: 3168 local.

    Aborting...
Error making: tensorflow-git

Arch Linux

Yes the error seems to still be there. A patch for grpc exists and is included in the Arch Build System build: https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/tensorflow
I recommend to use that in the meantime.

This works for me on ArchLinux to build JAX. GCC 9.2.1 works well after this modification.

Edit the following files -

src/core/lib/gpr/log_linux.cc
src/core/lib/gpr/log_posix.cc
src/core/lib/iomgr/ev_epollex_linux.cc

Just change every instance of the term gettid to sys_gettid in these three files and generate a patch for yourself using git diff and use that patch.

I have ran into this issue as well and I am not sure how to apply the patch. Would someone be able to give me some incite?

I'm with @IceCryptonym: clearer directions would be greatly appreciated!
Perhaps the source has changed, but I don't see any linked patch file or even much mention patching at the page described by @shantanu-gontia (https://gist.github.com/kmhofmann/e368a2ebba05f807fa1a90b3bf9a1e03).    Nor does the Arch-Linux repo mentioned by @Mithrandir2k18 seem to make any mention of gprc, rather it's all about mkl.
But I followed @shantanu-gontia's instructions, and have posted a patch file here:  https://gist.github.com/drscotthawley/8eb51af1b4c92c4f18432cb045698af7
It can be applied by going to the main grpc directory and running
$ git apply grpc.patch

Whats still not clear is where this should be applied, i.e. where does Tensorflow or Bazel put grpc?  I see tensorflow/third_party/grpc/ but it's empty except for a zero-length file called BUILD.
There's also tensorflow/tensorflow/contrib/cmake/patches/grpc/, but that only contains the file rand.h
Anybody know what to do once we've got the patch?

The grpc.patch should be applied in
tensorflow/bazel-tensorflow/external/grpc/src

Could you explain how the patch flow works?
For instance, do we first launch bazel - get it to fail, then go to tensorflow/bazel-tensorflow/external/grpc/src and then perform the patch application through either git apply  or patch -p1 <  ?

@Mithrandir2k18,
Is this still an issue?
Could you please update TensorFlow to the latest stable version v2.4.1 and check if you are facing the same error. Thanks!

@amahendrakar
I won't have time to test this in the nearer future and also currently don't have a need to use the extra efficiency I'd get from compiling myself. I'll come back to this in a few months probably, but then I may as well open a new issue and maybe reference this one.


Support for MaTouch_ESP32-C3 (ESP32C3SPI35)

Will the code work with Makerfabs-ESP32-C3-SPI-TFT-with-Touch boards?
Mike

Hi @phpbbireland!
FreetouchDeck should work on any ESP32 that has WiFi and BLE. I haven't tested it. But you should be able to change the User_Setup.h for your screen and board. And also change some #defines in the main *.ino sketch. Let me know if it works out!

Thanks, will try some more...

This issue is still open... did you make any progress?

Sorry, real busy, forgot to close this...
Haven't got a chance to test but the extra info should  suffice...

You can always reopen this issue if you make some progress and show it to other interested in doing the same thing! 👍


Fix semiannually and semimonthly period calculations

"semiannualy" and "semimonthly" periods were calculated incorrectly, this pr fixes those.
For "semiannualy", previous code would produce an incorrect period if you are at 2nd or 4th quarters currently:
  [RECURRENCE_TYPE.SEMIANNUALY]: (date, offset) => ({
    start: date
      .clone()
      .subtract(2 * offset, "quarters")
      .startOf("quarter"),
    end: date
      .clone()
      .subtract(2 * offset, "quarters")
      .endOf("quarter")
  }),

Example input: date = 30 October ( It shouldn't start from Octobers or Aprils, only 1 Jan or 1 July)

For "semimonthly", it is also incorrect, same input date, it misses first half of the months completely:

Fixed versions' behaviour:

Semimonthly => (1st - 14th) -> (15th - end of Month)
Semiannualy => (1 Jan - 30 June ) -> ( 1 July - 31 December)

User changes

Users now can see correct periods when there are "semiannualy" and "semimonthly" assessment periods

Super User changes

Admin changes

System admin changes

[ ] anet.yml needs change
[x] db needs migration
[ ] documentation has changed
[ ] graphql schema has changed

Checklist

[X] Described the user behavior in PR body
[X] Referenced/updated all related issues
[ ] commits follow a repo#issue: Title title format and these 7 rules
[X] commits have a clean history, otherwise PR may be squash-merged
[x] Added and/or updated unit tests
[ ] Added and/or updated e2e tests
[ ] Added and/or updated data migrations
[ ] Updated documentation
[X] Resolved all build errors and warnings
[ ] Opened debt issues for anything not resolved here

I will write a couple of unit tests for semimonthly and semiannually, as they are the most complicated ones.

Obviously anet.yml doesn't need change, but anet-dictionary.yml does (we need to update the PR template)


Added support for NZXT Hue+ and KrakenX

List any issues that this PR fixes: fixes # , etc...
Fixes #132
This pull request proposes the following changes:

Adds support for the Hue+ lighting controller and the KrakenX line of CPU coolers

Known issues/To do:

Currently follows keyboard keys for the lighting. It would be ideal to have it as its own independent device in the device rewrite. I'm not sure what the best way would be to add support for it now, as adding 80 device options and/or keys and a layout doesn't seem practical.
Causes flickering, cause is currently unknown. Might be a result of sending too many updates. Should probably not merge until this is fixed as it may cause hardware problems.

Also thanks @akmadian for his help :)

Devices could be broken down from physical devices like a whole Hue+ or KrakenX to individual channels, or even (would take a fair amount more coding work) individual strips/ fans, and even (if you want to go that far) individual LEDs. The support for this is already in NZXTSharp, it would just be up to you to figure out exactly how that implementation might work, and if you're up for doing all the work that would come with it.

Also, since you have support for channel 1, I'm not sure why you couldn't add support for both? Should be just a matter of applying the effect to HuePlus.Both instead of HuePlus.Channel1

Is there any reason that you have the UpdateValueAt method instead of just assigning to that index like arr[index] = value?

Wibble suggested that method. It makes it so any changes to the array cause the update to the hardware to be sent. if the array of colors stays the same, it doesnt update the device.

Ahhh, yeah that's actually pretty clever ;)


kubectl port-forward broken pipe

Description
portforward cannot correctly handle some known errors (EPIPE, ECONNRESET), causing kubectl port-forward to exit abnormally.
For detailed questions, please see: https://github.com/kubernetes/kubernetes/issues/74551#issuecomment-1514794473
https://github.com/containerd/containerd/pull/8418 fixed this problem once, but due to the merge of https://github.com/containerd/containerd/pull/9254, the problem reappeared. (Fortunately, this problem does not exist in the latest v1.7.x and v1.6.x)
I am promoting the merge of https://github.com/kubernetes/kubernetes/pull/117493. When it is merged, we need to update the dependency of the main branch on the k8s.io/kubelet version to complete the repair.
Steps to reproduce the issue
https://github.com/kubernetes/kubernetes/issues/74551#issuecomment-490988621
Describe the results you received and expected
For these two known errors (EPIPE, ECONNRESET), we need to reset the stream and log it just like https://github.com/containerd/containerd/pull/8418.
What version of containerd are you using?
main
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response

Can any gentleman please assign it to me, I will update the dependency on k8s.io/kubelet in containerd after merging https://github.com/kubernetes/kubernetes/pull/117493

/assign @sxllwx


ZXing.Net.Mobile2.4.1

Type: Incorrect
Summary:
ZXing.Net.Mobile2.4.1
Details:
NuGet "license info" link gets a 404:https://raw.githubusercontent.com/Redth/ZXing.Net.Mobile/master/License.md.  Newer packages specify "MIT."
Resolution:
Author confirmed they intend the older packages with 404 license link to be under MIT: https://github.com/chromaui/chromatic-cli/issues/154#issuecomment-652792169
Affected definitions:

ZXing.Net.Mobile 2.4.1

Wrong component


[BUG] val_strategy='bootstrap' does not create .json file for the bootstrapped split to be referenced later

Description
.json file is not created with splits = /file/to/bootstrap_split.json
To Reproduce
boot_train,boot_val = train_dataset.split(
val_strategy='bootstrap',
val_fraction=0.2,
labels='progressor',
splits='/mnt/data/PROJECTS/HNSC_PREMAL/splits/bootstrap_split.json'
)
Expected behavior
k-fold splits are saved appropriately but boostrapped splits are not

This is actually intended behavior, as bootstrap validation involves random partitioning of data into training/validation, and these random partitions are never reused.


Bump-up Sarama library

Description
Bump-up Sarama library
Type of change

Bump-up dependent library (no changes in the code)

Testing steps
To be done on CI.
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
Patch and project coverage have no change.

Comparison is base (b43dad2) 69.23% compared to head (0ac48b8) 69.23%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #378   +/-   ##
=======================================
  Coverage   69.23%   69.23%
=======================================
  Files          14       14
  Lines        1180     1180
=======================================
  Hits          817      817
  Misses        342      342
  Partials       21       21

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


Build on version 0.9 doesn’t work

Hi,
I did a checkout on tag 0.9 and tried to build the associated Sword Xcode project, but
the build failed due to missing source files on Sword/Utils/ folder: Imageable.swift and Options.swift. The second one is on git though, but is not included in the xcodeproj.
Output error from Xcode(10.2.1): error: Build input files cannot be found: '/Users/<user>/Developer/Sword/Sources/Sword/Utils/Imageable.swift', '/Users/<user>/Developer/Sword/Sources/Sword/Types/Options.swift'

Also worth mention that I already tried swift build and swift package update from the terminal but got an unresolvable dependency graph issue on both situations with the same output:
Updating https://github.com/daltoniam/Starscream.git
Updating https://github.com/Azoy/Sodium
Updating https://github.com/vapor/sockets.git
error: dependency graph is unresolvable; found these conflicting requirements:

Dependencies:
    https://github.com/Azoy/Sword @ 0.9.0..<1.0.0

Don't use 0.9, it has been broken for over a year. Use master or, preferably, rewrite.

Thanks for the info, but rewrite branch also gives me issues to compile at the moment. Master seems fine, but wasn't sure if it is stable or not, that's why I chose a tagged version.

Hi, sorry about this! I’ve gone ahead and published 0.9.1 to hopefully solve this and future issues. If you still have trouble let me know!


fix(filter-header-row): alphabetically sort dropdowns when filtering

Closes #
Summary
Sort the dropdowns when filtering in table components such that it is case in-sensitive and is alphabetical.
Change List (commits, features, bugs, etc)
src/components/Table/TableHead/FilterHeaderRow/FilterHeaderRow.jsx
Added a memoized function to alphabetically sort the options list.
Acceptance Test (how to verify the PR)
In your local dev environment, add options in the constant "selectData" in Table.story.jsx
View the table component and see that the options are now sorted alphabetically.
Before:

After:

:tada: This PR is included in version 2.43.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update tenant management links to tenant virtualization

Updated the documentation to point to "tenant virtualization" paths for tenant management and isolation features. This ensures all references align with the latest structure of the documentation.

Wow, thank you Vijay. This is awesome.


merge upstream

Using #493 because it allows us to make commits and fix merge conflicts if we use a branch in our repo.


.dbg for a 64 bit executable

I converted a .dbg file for a 64 bit executable to .pdb. The .pdb is 32 bit (DBI-Stream Machine = 332).
I guess this is why AMD uProf does not load the .pdb file. Does cv2pdb always create 32 bit .pdb from a .dbg file? Can a .dbg file be 64 bit? Could you please add an option to force the creation of a 64 bit .pdb?

BTW, thank you very much for this software!

The .dbg file is 64 bit. The values at the offset 4 are 0x64 0x86 (as in file).

I don't know much abiout DBG files, support for these has been added by @AlexWhiter. Maybe he can comment on 64-bit versions? Maybe only this line needs to be adapted: https://github.com/rainers/cv2pdb/blob/master/src/cv2pdb.cpp#L71

It seems hdr64 is never set in https://github.com/rainers/cv2pdb/blob/master/src/PEImage.cpp#L309 so that isX64() returns false. Would any of have time to look into this?

@tim-lebedkov
Could you please try to change DbiStreamHeader.Machine value in your PDB manually to check if uProf would load it?

The machine type should now be set in the PDB as found in the DBG.


Firefox: can’t switch input devices.

Say you have two cameras. One internal, and one USB-connected for example. When you access Jitsi, you need to give permission to a cam and a mic. You can see your face fine, it’s working.
But then, you want to use your other cam.
So you go in Settings, there’s a dialog to select devices. Both your cameras are listed there. You click on the other one:

It doesn’t select it. And you stay with the same camera you started with.
 The option is “greyed out”.
Console output:

https://community.jitsi.org/t/firefox-cant-switch-input-devices-in-meet-jit-si/20222

I have the exact same issue, on top of this microphone input can't be switched either.


Need Demo

hi,
This  workflower is great but do you have a future plan to write a simple demo? I still feel confused after reading the quick start guide..

+1

hi!,
@liudamu  @dinghua  did you find any quick-demo ?
thanks

hi
I'am interested on use this library in my company @hidenorigoto  Is there any quick-demo example ?
have e nice day

yes please explain more

Hi!
So in my company i would like use this library! but I dont know where starts to learn! I have saw the quick doc but is not enough i think so!
But with a funcional quick-demo it's possible to learn quickly

I will volunteer to create a tutorial.

Any new tutorial?


esy run results in blank screen on Wayland

I'm running ArchLinux with sway 1.2 as my WM. With SDL_VIDEODRIVER=wayland I can esy build just fine but when I esy run I get a blank light blue window:

However if I run it with SDL_VIDEODRIVER=x11 I get what I believe is the correct output:

SDL is supposed to natively support Wayland. Not sure why this doesn't work, but thought I'd mention it.

This should have been fixed in https://github.com/revery-ui/revery/pull/751. I've just updated the quick start to the latest version of Revery, which includes this fix. So if this is still an issue, the issue is most likely upstream and I would recommend testing Revery directly and if it occurs there as well, post an issue on the Revery repo.


1.8v in high voltage mode

Hi joric,
I follow your wiki made a board by myself, when use your bootloader, I found that in high voltage mode it can only output a signal of 1.8v. What should I do to output a 3.3v signal ?

https://github.com/joric/nrfmicro/wiki/Archive#power-switch-issues

Ok, So I'm using your nrf52 QMK branch, should I insert the code in QMK codebase somewhere is ok?

Unless you have a few years of spare time I don't recommend using wireless QMK, there are no maintainers. Try ZMK first.

Okay, thanks for your suggestion, although I have been trying on qmk for a long time, I will try zmk

Thanks again for the suggestion! ZMK has solved a lot of the problems I had on QMK. It was really cool!

By the way, I would like to refer mikoto as the first PCBA version, do you have any suggestion on the nrf52840 PCBA?


update(image): Updating the litmus-go image

Signed-off-by: shubhamchaudhary<EMAIL_ADDRESS>
we are going to use the litmus-go experiment if the LIB is set to litmus.
for the powerfulseal we will still use the ansible-runner image(this can be changed to litmus-go in future scope)

fixes: litmuschaos/litmus#1586

Any embedmd steps pending  ?

Any embedmd steps pending ?

No new changes in engine or RBAC.


drawercontroller stop at tint screen on both open and close drawer

When drag or click icon to open drawer, drawer didn't open but the screen were tinted.  I can then drag out the drawer.
When trigger Navigator.pop(context); The drawer closed but the screen remind tinted, need extra tap to clear.

Tested in android device and emulator, drawerCallback simply updated a variable
Code in
Scaffold(
drawer: DrawerController(child: DrawerOnly(), alignment: DrawerAlignment.start, drawerCallback: drawerCallback),

instead of (this works)
drawer: DrawerOnly(),

What are the steps to reproduce? What code?
Please add the output of flutter doctor -v.

// Here are the full test program, see you can reproduce it
import 'package:flutter/material.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
title: 'Flutter Test',
theme: new ThemeData(
primarySwatch: Colors.blue,
),
home: new MyHomePage(title: 'Flutter Test Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => new _MyHomePageState();
}
class _MyHomePageState extends State {
bool drawerOpen = false;
DrawerCallback drawerCallback(bool status) {
setState(() {
drawerOpen = status;
});
}
@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(title: new Text(widget.title)),
drawer: DrawerController(
child: DrawerOnly(),
alignment: DrawerAlignment.start,
drawerCallback: drawerCallback),
body: ListView(),
);
}
}
class DrawerOnly extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Drawer(
child: ListTile(
leading: Icon(Icons.account_balance),
title: Text('Screen Two'),
onTap: () {
Navigator.pop(context);
Navigator.push(
context,
new MaterialPageRoute(
builder: (BuildContext context) => screenTwo()));
},
));
}
}
class screenTwo extends StatefulWidget {
const screenTwo({Key key}) : super(key: key);
@override
_screenTwoState createState() => new _screenTwoState();
}
class _screenTwoState extends State {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: new Text('Screen Two')),
body: ListView(),
);
}
}

As the document said, there were no use case for this extension. For my case, I was investigating a work around on the problem of the open drawer is not on top of the screen (ie. drawer options were covered by admob banner). Not sure which team should be responsible for that. Anyhow, I can work around that problem. For here, I just drop in a note for the developer on this issue.

I assume there is currently no way to prevent admob banners from covering Flutter widgets.
They are built as native views which are always shown on top of all other content.
See also #17075, #14222
Not sure if https://github.com/flutter/flutter/issues/19030#issuecomment-416671533 changes this and allows to build such plugins that they behave like Flutter widgets.

Hi,I want to you can try this.
  bool drawerOpen;

  void setDrawerOpened(bool isOpen) {
    drawerOpen = isOpen;
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      drawer: new DrawerWidget(
        callback: setDrawerOpened,
      ),
    );
  }

class DrawerWidget extends StatefulWidget {
  DrawerCallback callback;

  DrawerWidget({this.callback});

  @override
  _DrawerWidgetState createState() => _DrawerWidgetState();
}

class _DrawerWidgetState extends State<DrawerWidget> {

  @override
  void initState() {
    widget.callback(true);
    super.initState();
  }

  @override
  void dispose() {
    widget.callback(false);
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Drawer(
      child: Text("SS"),
    );
  }
}

@oberon168 The original issue you were seeing [the extra grey tint/layer] is because you essentially have two DrawerController's stacked above each other.
When you place an item in the Scaffold's drawer [or endDrawer] slot, it wraps that widget in a DrawerController (see scaffold.dart#L1728 and scaffold.dart#1750L)
So when you are doing this:
 drawer: DrawerController(
          child: DrawerOnly(),
          alignment: DrawerAlignment.start,
          drawerCallback: drawerCallback),

You end up with a pair of nested DrawerControllers.

So What is the solution now? Even If I omit the Drawer class from DrawerController child I get the same behavior. No one is talking about this issue anywhere on the entire internet except in your repo.

@oberon168
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/678. Any further collaboration will be done there.

Since firebase_admob issues require work on the Flutter side as well as the plugin side these issues will remain open here as well until resolved.

@anasred have you find the solution for your problem, even I am phasing the same problem

I am not using any firebase or admob and I am getting the same error with DrawerController. I don't know why I am getting this...

What it have to do with firebase? õ.O
Have anyone found the solution?

For those who haven't found the solution. You don't have to user DrawerController. As it was mentioned before, Scaffold will wrap it in another DrawerController. But if you need to keep track of drawer changes, Scaffold itself has two callbacks onDrawerChanged ad onEndDrawerChanged. They both accept a boolean with "open" state. That's it


Multiple values are missing

Example:
For AU option - configure automatic updates:
https://learn.microsoft.com/en-us/windows-server/administration/windows-server-update-services/deploy/4-configure-group-policy-settings-for-automatic-updates#configure-automatic-updates
You're missing option 7: Notify for install and notify for restart ( windows server 2016 and later)
https://learn.microsoft.com/en-us/windows/deployment/update/waas-wu-settings#configuring-automatic-updates-by-editing-the-registry
You should probably revise the document as there probably other option that change other than that.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 4d9a7aaf-447d-a2dd-d7f6-828f277a00ea
Version Independent ID: c3dd7389-454f-870d-5502-46544d6336dc
Content: Step 4 - Configure Group Policy Settings for Automatic Updates
Content Source: WindowsServerDocs/administration/windows-server-update-services/deploy/4-configure-group-policy-settings-for-automatic-updates.md
Product: windows-server
Technology: wsus
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

Hello @OursonBleu,
Thanks for contacting Microsoft. We value your feedback.
Documentation changes have been made to address this and other issues and are now live.
Thank you again and have a most pleasant day.
#please-close


Feature request: dark theme follow the system

Hi guys!
Now the nostros theme looks like a night theme, it would be perfect if it had a day theme and support to follow the system to automatically switch the theme.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Add a day theme, and support to follow the system to automatically switch two theme.
Describe alternatives you've considered
Additional context

Hi! Light theme is on the roadmap, well.onvlude it eventually 🙂 cc @FrontendCrypto

Hi! Thank you for light theme suggestion. Yes, I have to solve a couple of things first but light theme is the third.
In fact it is created but I need to test it before implementing.


Unify alert popup titles for WebUI

Description:
Alert popup titles are missing in webUI.
Let's use same strings on Web as we are using in mobile apps.
Example:

QA passed


Algebird integration

Once Algebird is on 2.10, look into how easy it would be to integrate Spire into it (and also, to provide Spire type class instances for all its exciting data types).

Algebra is doing this work now!


TypeScript integration issue due to wrong declarations

Link to TypeScript file here:
https://github.com/mozilla/pdfjs-dist/blob/5f07d5a4159bb99eee2f6143d1297f03b45bba58/types/web/pdf_find_controller.d.ts#L56
Configuration:

PDF.js version: 3.5.141
TypeScript version: 5.0.4

The following generated TypeScript declaration prevents calling of PDF.js API.
https://github.com/mozilla/pdfjs-dist/blob/5f07d5a4159bb99eee2f6143d1297f03b45bba58/types/web/pdf_find_controller.d.ts#L56
element?: null | undefined;

Here the property element is restricted to the types null or undefined.
The pdf_find_controller.d.ts declaration file is generated by
https://github.com/mozilla/pdf.js/blob/3e08eee511b04e127fcd41d2a1d07dd3b5a68a92/gulpfile.js#L1514
A possible fix would be to declare the type like:
element?: any;

This would be the case when calling TSC without --strict option:
https://github.com/mozilla/pdf.js/blob/3e08eee511b04e127fcd41d2a1d07dd3b5a68a92/gulpfile.js#L1507
// Remove --strict option and generate type declarations with
gulp types

Example snippet which uses the PDF.js TypeScript API:
import { EventBus, PDFLinkService, PDFFindController } from "pdfjs-dist/web/pdf_viewer";

const pdfFindController = new PDFFindController({
	eventBus: new EventBus(),
	linkService: new PDFLinkService(),
	updateMatchesCountOnProgress: true
});

// TSC compiles TypeScript code successful
pdfFindController.scrollMatchIntoView({ element: null });
pdfFindController.scrollMatchIntoView({ element: undefined });

// TSC compilation error due to wrong declaration in pdf_find_controller.d.ts
pdfFindController.scrollMatchIntoView({ element: "non null" });
pdfFindController.scrollMatchIntoView({ element: document.getElementById("testId") });

API can't be called with a real object and leads to following compilation issues:
ERROR in snippet.ts(14,41)
      TS2322: Type 'string' is not assignable to type 'null'.

ERROR in snippet.ts(25,41)
      TS2322: Type 'HTMLElement' is not assignable to type 'null'.

Steps to reproduce the problem:

Compile above TypeScript snippet with TSC.
See compilation issues

What is the expected behavior? (add screenshot)
Calling of PDF.js TypeScript API is possible.
What went wrong? (add screenshot)
Compilaton of TypeScript code with TSC.

Thanks for the quick reply and your proposed solution. Would be great if you can expose the API with the appropriate JSDoc.
https://github.com/mozilla/pdf.js/blob/f1b005d7b805e38e731d929b47d78b125765aabe/web/pdf_find_controller.js#L520

Would be great if you can expose the API with the appropriate JSDoc.

https://github.com/mozilla/pdf.js/issues/16307#issuecomment-1511694758 should be seen as an invitation for you to help out with fixing this ;-)

Please note that the primary reason for this library existing is to develop the built-in Firefox PDF Viewer, and the generated type-definitions were added since lots of TypeScript-users repeatedly asked for it.
However, it's unfortunately turned out to be very difficult to get TypeScrupt-users (as a group) to actively help with maintaining this and it usually ends up with contributors (such as myself) having to try and fix the type-definitions without really knowing anything about TypeScript.


Is there a detailed SIF installation and usage tutorial for beginners?

Are there any more detailed tutorials, ranging from installing a soidity compiler to using sif?

Thanks for the suggestion. I will make a starter's tutorial soon.


[doc] Create a debugging documentation for dataproc-templates

Document to describe how to debug and/or scale templates.

Hi Nilo Freitas , Could you please update the progress of the issue , Thanks in Advance

Hi Nilo Freitas , Could you please update the progress of the issue , Thanks in Advance

I am unassigning myself for now

Hey Nilo Freitas , if you have already done some work for the aforementioned documentation kindly let me know :)

Hey Nilo Freitas , if you have already done some work for the aforementioned documentation kindly let me know :)

I did not Raevat, sorry :/

I am unassigning myself for now , as discussed with Clementine

hey, can i take a look into this i think i can help!


Figma Integration to Storybook

Currently we use Storybook as our style-guide. However I feel that there's a disconnect between the dev workflow and the design workflow such that there's many times were we have to comb through some Figma designs to see if the component fits the design exactly. And it's easy to miss certain things especially when design is changed slightly after the component/feature has already been developed. 😄
One way to eliminate or reduce this is to have an workflow which integrates our Storybook and Figma designs. This way we always have a go-to place to check if our designs match the current implementation of the component. 😄
On this regard I would like to suggest adding an add-on on top of Storybook to integrate to Figma. My quick investigation suggests the following two add-ons meet out needs.

Designs AddOn - This is a simple add-on and it seems to just view the Figma design and the Storybook design side by side so that we could visually see what's going on. This is free and open source. More info can be found here; https://medium.com/storybookjs/storybook-figma-addon-7a399f094a0a 😄

Contrast - This is not free but seems to give a diff between the Figma design and the Storybook components. Seems to be more advanced in terms of capabilities than the first. More info and rational behind this is explained at, https://www.contrast.app/posts/how-to-connect-storybook-figma-toppling-the-great-divide

I am okay with integrating either one but let me know your thoughts. Just thought I'd mention both in case if anyone has any preferences on this. 😄
cc: @Betree @opencollective/core-developers @opencollective/design

Designs AddOn looks great, and matches what we were talking about last time  - simply to have Figma & implementation displayed in the same place.
I don't think our Styleguide/Design system is mature enough to justify the use of Contrast. A lot of our components are far from being pixel-perfect.


Error: redirect_uri_mismatch

The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.
Please confirm the following:

I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue.
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki

Full steps to reproduce the issue:

create new account - follow all instructions
Run any gam command in terminal
Follow "Continue to authorization" instructions - press "c"
Go to following link your browser: https://goo.gl/3B9xx
Always produces this error:

400. That’s an error.

Error: redirect_uri_mismatch

The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be used by a Client ID for native application. It is not allowed for the WEB client type. You can create a Client ID for native application at https://console.developers.google.com/apis/credentials/oauthclient

The operable ID is a web application:
OAuth 2.0 client IDs

Hal	Dec 1, 2016	Web application<PHONE_NUMBER>80-hv8m5u90sg62fxxxxxxxxxx4bhal84m1heogo.apps.googleusercontent.com

I have added a redirect URI for http://localhost (I haven't reallly a clue what this should be).
{
    "installed": {
        "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
        "auth_uri": "https://accounts.google.com/o/oauth2/auth",
        "client_id": "104459654880-hv8m5u9xxxxxxxxxx4bhal84m1heogo.apps.googleusercontent.com",
        "client_secret": "xxxx",
        "project_id": "gam-project-hmh-7cn-yua",
        "redirect_uris": [
            "urn:ietf:wg:oauth:2.0:oob",
            "http://localhost"
        ],
        "token_uri": "https://accounts.google.com/o/oauth2/token"
    }
}

Expected outcome (what are you trying to do?):
Use gam, particularly to manage google calendars for a google apps for business domain.
Actual outcome (what errors or bad behavior do you see instead?):
See above.

Hal,
When you were setting up your project, there were these instructions:

Click the blue "Create credentials" button. Choose "OAuth client ID".

Click the blue "Configure consent screen" button. Enter "GAM" for
"Product name to show to users".

Leave other fields blank. Click "Save" button.

Choose "Other" and click the blue "Create" button.

Copy your "client ID" value.

It looks like you my have chosen Web application instead of Other in step
3.GAM is not a Web application.
Delete client_secrets.json and ouath2.txt and do: gam create project
Ross
On Thu, Dec 1, 2016 at 6:25 AM, Hal Burgiss<EMAIL_ADDRESS>wrote:

The issue tracker is for reporting product deficiencies. "How do I?"
questions should be posted to the discussion forum at
https://groups.google.com/group/google-apps-manager. When in doubt, start
at the discussion forum and return here only when instructed to do so.
Please confirm the following:

I have upgraded to the latest GAM release from
https://git.io/gamreleases and I still have this issue.
I am typing the command as described in the GAM Wiki at
https://github.com/jay0lee/gam/wiki
https://github.com/jay0lee/gam/wiki

Full steps to reproduce the issue:

create new account - follow all instructions

Run any gam command in terminal

Follow "Continue to authorization" instructions - press "c"

Go to following link your browser: https://goo.gl/3B9xx

Always produces this error:

That’s an error.

Error: redirect_uri_mismatch
The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be used by a Client ID for native application. It is not allowed for the WEB client type. You can create a Client ID for native application at https://console.developers.google.com/apis/credentials/oauthclient
The operable ID is a web application:
OAuth 2.0 client IDs
Hal	Dec 1, 2016	Web application<PHONE_NUMBER>80-hv8m5u90sg62fxxxxxxxxxx4bhal84m1heogo.apps.googleusercontent.com
I have added a redirect URI for http://localhost (I haven't reallly a
clue what this should be).
{
"installed": {
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"client_id": "104459654880-hv8m5u9xxxxxxxxxx4bhal84m1heogo.apps.googleusercontent.com",
"client_secret": "xxxx",
"project_id": "gam-project-hmh-7cn-yua",
"redirect_uris": [
"urn:ietf:wg:oauth:2.0:oob",
"http://localhost"
],
"token_uri": "https://accounts.google.com/o/oauth2/token"
}
}
Expected outcome (what are you trying to do?):
Use gam, particularly to manage google calendars for a google apps for
business domain.
Actual outcome (what errors or bad behavior do you see instead?):
See above.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/353, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIU8Ly2H4mx8TaHuoSP0GElkjJv27qr-ks5rDtjVgaJpZM4LBc5X
.

--
Ross Scroggs
<EMAIL_ADDRESS>

Oops, missed that "Other", and assumed I'd be at least partially in a browser.
In any case, THANK YOU!  xoxoxox

http://adwordsapi.blogspot.in/2011/03/concurrency-management-in-adwords-api.html


The deleted blobs disappear after deleting it from 'Active and deleted blobs' for one attached blob container with soft delete enabled

Storage Explorer Version: 1.4.0
Platform/OS Version: Windows 10/MacOS High Sierra/ Linux Ubuntu 16.04
Architecture: ia32/x64
Build Number: 20180724.4
Commit: 2605f1c9
Regression From: Not a regression
Steps to Reproduce:

Expand one account then enable soft delete for the 'Blob Containers'.
Attach one blob container which contains one blob at least using SAS under the account.
Expand the Local & Attached > Storage Accounts > (SAS-Attached Services) > Blob Containers nodes and open the attached blob container.
Switch to 'Active and deleted blobs' on the opened editor -> Delete one blob then check whether it displays with strikethrough.

Expected Experience:
The deleted blob displays with strikethrough.
Actual Experience:
The deleted blob disappear and it will display well after refreshing the editor.

Yes, this is an unideal behavior. However, we can't make it update according to the delete policy because a SAS attached blob container has no permission to fetch the delete policy for the storage account it belongs to. We won't fix this for the 1.4.0 but we will collaborate with the platform team if the users blame us for this.

This issue has been fixed on build 20190927.10. So close it.


Cleaning and rework

The discussion started here. This issue is here to share thoughts and plan a small rework to clean up the repository.
The plugin is actually a bit messy because of the background. The most annoying things (making it hard for a user to understand what to use and when) is that, at the beginning of the project, some actions and probes meant to be high-level. This is also why the project still contains unnamespaced actions and probes. Also, as I mentioned in the PR linked above, some functions have the same prefix but don't work with the same resources (cf. microservice_available_and_healthy function which looks for a deployment vs. microservice_is_not_available which looks for pods). Finally, some of them may be a bit redundant.
As you can see, the actions and probes included recently are namespaced per resource (pod and node actually).
Here are two things I think we should do for now:

namespace the high-level functions to be consistent with the newly added ones
rename the high-level functions to have a clear name of the resource they are working with (for instance, do not use microservice_ prefix anymore since it does not relate to a Kubernetes resource)
remove/deprecate redundant functions and opt it for more flexible ones to cover more use cases and keep it clear

We should still keep backward compatibility with existing functions and mark them as deprecated to remove them in a next release.

Hi Joris,
Thanks a lot for kicking the discussion and work on cleaning this extension. As discussed in that PR's comment, indeed, this extension is our oldest and it reflects a level of uncertainty we had about the right level for probes/actions back then.
The structure that seems widespread in other extensions is to have subdirectories per resource types (for instance ec2, ecs on AWS). So we started with pod, but we should have a  service and deployment directory.
Then in each, have one or many probes.py and actions.py modules.
One thing I dislike very much also is the mistake I made for the label_selector default value in many places. We should have am ore sensible one or none.
Does this make sense?

I started to work on a draft PR. I'll split the rework in multiple commits to make it easier to review since it'll be a big change.
You can take a first look at what I've pushed.


chore: update helm charts

Description
What this PR does / why we need it:

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Prepare release 1.2.2
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Helm Chart Change (any edit/addition/update that is necessary for changes merged to the main branch)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] Does the affected code have corresponding tests?
[ ] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ] Do all new files have appropriate license header?

Post Merge Requirements

[ ] MAINTAINERS: manually trigger the "Publish Package" workflow after merging any PR that indicates Helm Chart Change

thankyou @junczhu, once release 1.2.2 is available, would you be able to update the testing section of this PR?

Sure

thankyou @junczhu, once release 1.2.2 is available, would you be able to update the testing section of this PR?

test done


Couldn't run FLAUI tests on disconnected VM

I am running my flaui test on a VM by taking RDP.
But if I execute my tests and then close or disconnect the VM. Then my tests are getting failed.
So is there any way that I can run my FLAUI tests on a VM in disconnected mode?

If you still want to use RDP:
Follow the steps here in the section "Disconnect via a Batch File" and always disconnect using this batch file.

When you close a Remote Desktop session on a remote computer, it locks out the computer, displaying the logon screen. In the locked mode, the user session on the computer does not have GUI, and any GUI tests on that computer will fail.
To avoid problems with GUI tests, use the tscon utility to disconnect from Remote Desktop. tscon returns the control to the original local session on the remote computer, bypassing the logon screen. All programs on the remote computer continue running normally, including GUI tests.
To disconnect from Remote Desktop, run the following command on the remote computer (in the Remote Desktop window) as an Administrator:
%windir%\System32\tscon.exe RDP-Tcp#NNN /dest:console


Button lost it's style after first run

Desktop (please complete the following information):
ttkbootstrap Version: 1.10.1
OS:windows 10
Describe the bug
I tried to run the following demo code in a jupyter notebook:
import ttkbootstrap as ttk
from ttkbootstrap.constants import *

root = ttk.Window()

b1 = ttk.Button(root, text="Solid Button", bootstyle=SUCCESS)
b1.pack(side=LEFT, padx=5, pady=10)

b2 = ttk.Button(root, text="Outline Button", bootstyle=(SUCCESS, OUTLINE))
b2.pack(side=LEFT, padx=5, pady=10)

root.mainloop()

It works well in the first run:

However, after I click the close button and rerun the demo, the buttons lost their styles.

To Reproduce
No response
Expected behavior
No response
Screenshots
No response
Additional context
No response

Same problem on mac,  except first ttk.Window(), later window will lost button style.


cleanup: Update MultiRegional and Regional to Standard

This fixes #3044

This change is

google/cloud/storage/benchmarks/storage_file_transfer_benchmark.cc, line 93 at r1 (raw file):
Previously, coryan (Carlos O'Ryan) wrote…
Instead, change this to say .set_location_type(gcs::location_type::Regional()) hmmm... if we do not have the location_type helpers we should probably add them.

I don't find a setter for location_type, is this intentional?

google/cloud/storage/benchmarks/storage_file_transfer_benchmark.cc, line 93 at r1 (raw file):
Previously, manish-qlogic wrote…
I don't find a setter for location_type, is this intentional?

and current values for location_type are region, dual-region and multi-region as shown in following documentation
https://cloud.google.com/storage/docs/storage-classes
I presume, we should have helper functions with the same names.

google/cloud/storage/benchmarks/storage_latency_benchmark_go.go, line 100 at r1 (raw file):
Previously, coryan (Carlos O'Ryan) wrote…
Same here, though I am not sure how this is represented in the golang library.

LocationType as mentioned here
https://github.com/googleapis/google-cloud-go/blob/b9197a057a6cb1129f29cd21ca11d1bb043666d1/storage/bucket_test.go#L407


Sign message

Codecov Report

Merging #1244 (f1cd81c) into master (ee035ef) will decrease coverage by 0.69%.
The diff coverage is n/a.

:exclamation: Current head f1cd81c differs from pull request most recent head 98390e2.  Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Unable to continue training of MetricGAN+ from the saved checkpoint

Hi,
I'm training MetricGAN+ on my own dataset. Training was OK for more than 200 epochs but then failed due to some reason.
I tried to re-run it from the latest saved checkpoint but got a strange error. When I tried to re-run it from previously saved checkpoint (best wrt. PESQ) the error repeated.
The log of error is below:
.... speechbrain.utils.epoch_loop - Going into epoch 203 Discriminator training by current data...   0%|          | 0/100 [00:00<?, ?it/s] speechbrain.core - Exception: Traceback (most recent call last):   File "train_v2m.py", line 616, in <module>     se_brain.fit(   File "/mnt/asr/home/korenevsky/anaconda3/envs/py38/lib/python3.8/site-packages/speechbrain/core.py", line 1129, in fit     self._fit_train(train_set=train_set, epoch=epoch, enable=enable)   File "/mnt/asr/home/korenevsky/anaconda3/envs/py38/lib/python3.8/site-packages/speechbrain/core.py", line 960, in _fit_train     self.on_stage_start(Stage.TRAIN, epoch)   File "train_v2m.py", line 374, in on_stage_start     self.train_discriminator()   File "train_v2m.py", line 389, in train_discriminator     self.fit(   File "/mnt/asr/home/korenevsky/anaconda3/envs/py38/lib/python3.8/site-packages/speechbrain/core.py", line 1129, in fit     self._fit_train(train_set=train_set, epoch=epoch, enable=enable)   File "/mnt/asr/home/korenevsky/anaconda3/envs/py38/lib/python3.8/site-packages/speechbrain/core.py", line 985, in _fit_train     loss = self.fit_batch(batch)   File "train_v2m.py", line 318, in fit_batch     self.d_optimizer.step()   File "/mnt/asr/home/korenevsky/anaconda3/envs/py38/lib/python3.8/site-packages/torch/optim/optimizer.py", line 109, in wrapper     return func(*args, **kwargs)   File "/mnt/asr/home/korenevsky/anaconda3/envs/py38/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context     return func(*args, **kwargs)   File "/mnt/asr/home/korenevsky/anaconda3/envs/py38/lib/python3.8/site-packages/torch/optim/adam.py", line 157, in step     adam(params_with_grad,   File "/mnt/asr/home/korenevsky/anaconda3/envs/py38/lib/python3.8/site-packages/torch/optim/adam.py", line 213, in adam     func(params,   File "/mnt/asr/home/korenevsky/anaconda3/envs/py38/lib/python3.8/site-packages/torch/optim/adam.py", line 255, in _single_tensor_adam     assert not step_t.is_cuda, "If capturable=False, state_steps should not be CUDA tensors." AssertionError: If capturable=False, state_steps should not be CUDA tensors.
Please advice how to overcome this and proceed training
P.S. my code is completely the same as original except data preparation

This looks like an issue created by Pytorch 1.12 see. As a verification, could you try to downgrade to PyTorch 1.11 and start again ?

If the problem was adam-related,  this has been resolved with pytorch 1.12.1
On Wed, Aug 10, 2022, 4:56 AM Parcollet Titouan @.***>
wrote:

This looks like an issue created by Pytorch 1.12 see
https://github.com/pytorch/pytorch/issues/80809. As a verification,
could you try to downgrade to PyTorch 1.11 and start again ?
—
Reply to this email directly, view it on GitHub
https://github.com/speechbrain/speechbrain/issues/1532#issuecomment-1210370530,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEA2ZVXM6TFITN63GSRIJFDVYNVE5ANCNFSM55U6P2WQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you very much, upgrading pytorch to 1.12.1 helps!


Set JEKYLL_ENV to development (for now)

When using<EMAIL_ADDRESS>the environment JEKYLL_ENV=production is set. However, this produces meta properties og:image with relative paths. This in turn leads to blank twitter cards. (see #185)
Signed-off-by: Eduard Itrich<EMAIL_ADDRESS>

It's never a good idea to run something in development mode on publicly accessible locations.

While I generally agree, the potential harm of static HTML content doesn't seem to be that worrying. I'm still investigating on a bug and the development environment won't stay here for long (as the title points out).


PoolPairInfo.customRewards is nullable?

What happened:
PoolPairInfo.customRewards appears to be optional when testing in DeFiCh/whale, but they are not optional in jellyfish?
/area jellyfish-api-core
/triage accepted
/priority urgent-now
/assign @canonbrother to investigate this, thanks

Yes poolpair.customeRewards should be nullable
https://github.com/DeFiCh/ain/blob/7a430185fd3029e9ee8974fde4e65c715fb9db04/src/masternodes/rpc_poolpair.cpp#L51-L59


[enhancement] support @connection directive to write coincise schema for relay

Check graphql-java-kickstart
type Query {
    users(first: Int, after: String): UserConnection @connection(for: "User")
    organizations(first: Int, after: String): OrganizationConnection @connection(for: "Organization")
}

type User {
    id: ID!
    name: String
}

type Organization {
    id: ID!
}

As mentioned above, we have added support for this. Please refer to the docs for usage: https://netflix.github.io/dgs/advanced/relay-pagination/


Transform the data fetched from Arbeit API

We need a function that takes the data that we received from a third party and transforms it (changes it) into the shape and structure that we use for NYF.
Most likely, the data we get back from 3rd parties will contain lots of fields that we don't need so we need a way to normalise and simplify jobs data.
This function should exist in it's own file, e.g. transformData.js
The input to the function is the data from the 3rd party api.
The return from the function is the type of data that NYF uses

@ali1373107 remember to review this with the team to swap things around maybe if you unable to work on this ticket for a couple of days :).

Hi @OlushoreOdude and @SanaAsaf. Should we assign this ticket to you guys as me and @ali are working on front-end at the moment?

@Meysam-Arshadi @ali1373107 reassigned and closed with pull request #153


OneSignal appId hardcoded in template

Hi, testing your template today I found this in templates/partials/base.html.twig :
<script>   var OneSignal = window.OneSignal || [];   OneSignal.push(function() {     OneSignal.init({       appId: "903d3d9b-668e-4e2c-9e99-3a547e6aa5a7",     });   }); </script>
Can you fix this?
Thank you in advance.

I will push an update by tomorrow that will abstract the appId & wrap the entire OneSignal script in a conditional to make the integration optional.
Thanks, good catch!

Just committed a fix, which should be picked up by GPM momentarily: https://github.com/jtbray/brilliant-resume/commit/83ba2d8eaf518f795b3c1e7084d69dd3f95d8c11
Let me know if you find anything else!
JTB


K8SSAND-1735 ⁃ operator not using credentials from superuserSecretRef secret

temp2.txt

What happened?
When starting a new cassandra cluster with a superuserSecretRef secret, the operator does not create the default k8ssandra-superuser secret, and it also does not use the credentials supplied by the secret. Cannot connect to cassandra using cqlsh & the customised credentials. Gives following error:
Connection error: ('Unable to connect to any servers', {'<IP_ADDRESS>:9042': AuthenticationFailed('Failed to authenticate to <IP_ADDRESS>:9042: Error from server: code=0100 [Bad credentials] message="Provided username testuser and/or password are incorrect"')})

Did you expect to see something different?
On supplying a superuserSecretRef secret, we should be able to connect to the cluster using cqlsh & the credentials provided.
How to reproduce it (as minimally and precisely as possible):
Environment

K8ssandra Operator version:
k8ssandra/k8ssandra-operator:v1.2.0

* Kubernetes version information:
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.5", GitCommit:"c285e781331a3785a7f436042c65c5641ce8a9e9", GitTreeState:"clean", BuildDate:"2022-03-16T15:58:47Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"linux/amd64"}Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.7", GitCommit:"b56e432f2191419647a6a13b9f5867801850f969", GitTreeState:"clean", BuildDate:"2022-03-06T21:07:35Z", GoVersion:"go1.16.14", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:

kind cluster

Manifests:
Secret

apiVersion: v1
kind: Secret
metadata:
  name: superuser
  namespace: k8ssandra-operator
type: Opaque
data:
  username: dGVzdHVzZXIK
  password: dGVzdHdvcmQK

Deployment
apiVersion: k8ssandra.io/v1alpha1
kind: K8ssandraCluster
metadata:
  name: k8ssandra
  namespace: k8ssandra-operator
spec:
  cassandra:
    superuserSecretRef:
      name: superuser
    datacenters:
      - metadata:
          name: linode-mumbai
        racks:
          - name: rack-1
        size: 1
        storageConfig:
          cassandraDataVolumeClaimSpec:
            storageClassName: standard
            accessModes:
              - ReadWriteOnce
            resources:
              requests:
                storage: 5Gi
        serverVersion: "4.0.4"
        mgmtAPIHeap: 64Mi
        config:
          cassandraYaml:
            trickle_fsync: true
            endpoint_snitch: "GossipingPropertyFileSnitch"
            num_tokens: 4
            allocate_tokens_for_local_replication_factor: 2
          jvmOptions:
            heapSize: 1Gi

K8ssandra Operator Logs:

Attaching logs as text file, because it is too long
[temp2.txt](https://github.com/k8ssandra/k8ssandra-operator/files/9338749/temp2.txt)

Anything else we need to know?:
┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1735
┆priority: Medium

Is this still a problem? I took a look at the logs you provided. The operator was able to finish reconciling the K8ssandraCluster. Note this log statement:
1.6605824321632798e+09  INFO    controller.k8ssandracluster     Finished reconciling the k8ssandracluster       {"reconciler group": "k8ssandra.io", "reconciler kind": "K8ssandraCluster", "name": "k8ssandra", "namespace": "k8ssandra-operator", "K8ssandraCluster": "k8ssandra-operator/k8ssandra"}
Before the operator reaches this point it makes CQL calls to Cassandra to check replication settings of system keyspaces. We therefore know the operator is able to connect to Cassandra.


storage,plugins: delegate allow zone-wide volume migration check and access grant check to storage drivers

Description
Following checks have been delegated to storage drivers as not all managed storage drivers may require storage migration when volumes are in zone-wide pool,

For volumes on zone-wide storage, whether they need storage migration when VM is migrated
Whther volume required grant access

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✖ el7 ✖ el8 ✖ el9 ✖ debian ✖ suse15. SL-JID 8887

@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan package

@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8909

@blueorangutan test

@shwstppr a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan test ol8 kvm-ol8

@rohityadavcloud [SL] unsupported parameters provided. Supported mgmt server os are: centos7, centos6, suse15, alma8, ubuntu18, ubuntu22, ubuntu20, rocky8, alma9. Supported hypervisors are: kvm-centos6, kvm-centos7, kvm-rocky8, kvm-alma8, kvm-alma9, kvm-ubuntu18, kvm-ubuntu20, kvm-ubuntu22, kvm-suse15, vmware-55u3, vmware-60u2, vmware-65u2, vmware-67u3, vmware-70u1, vmware-70u2, vmware-70u3, vmware-80, vmware-80u1, xenserver-65sp1, xenserver-71, xenserver-74, xcpng74, xcpng76, xcpng80, xcpng81, xcpng82

@blueorangutan test alma8 kvm-alma8

@borisstoyanov a [SL] Trillian-Jenkins test job (alma8 mgmt + kvm-alma8) has been kicked to run smoke tests

@blueorangutan test matrix

@borisstoyanov a [SL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-9493)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42107 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8762-t9493-xenserver-71.zip
Smoke tests completed. 129 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

[SF] Trillian test result (tid-9492)
Environment: kvm-alma8 (x2), Advanced Networking with Mgmt server a8
Total time taken: 46908 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8762-t9492-kvm-alma8.zip
Smoke tests completed. 129 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

[SF] Trillian test result (tid-9494)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 47847 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8762-t9494-vmware-67u3.zip
Smoke tests completed. 127 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_02_balanced_drs_algorithm
Error
428.16
test_cluster_drs.py

test_02_list_cpvm_vm
Failure
0.04
test_ssvm.py

test_04_cpvm_internals
Failure
0.04
test_ssvm.py

test_12_destroy_cpvm
Error
6.31
test_ssvm.py

[SF] Trillian test result (tid-9495)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 51950 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8762-t9495-kvm-centos7.zip
Smoke tests completed. 128 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_02_trigger_shutdown
Failure
336.64
test_safe_shutdown.py

LGTM, merging based on review, manual tests and smoketests.


Ensure job-scheduler can be a drop-in replacement for job-scheduler working in ODFE 1.13 and ES 7.10.x for v1.0.0

Coming from https://github.com/opensearch-project/OpenSearch/issues/671 and https://github.com/opensearch-project/opensearch-plugins/issues/12.

[x] Renaming Rest APIs
[x] Renaming Settings
[x] Renaming Indices
https://github.com/opensearch-project/job-scheduler/blob/f2c4874d328cb80fc6148d5a0704421097a6d05d/spi/src/main/java/com/amazon/opendistroforelasticsearch/jobscheduler/spi/utils/LockService.java#L70
[x] Renaming Namespaces (E.g. com.amazon.opendistroforelasticsearch to org.opensearch)
[x] Renaming Classes, Methods, Variables
[x] Renaming all remaining identifiers (E.g Opendistro to OpenSearch).
[ ] 100% Backward compatibility with ES v.?
[ ] Drop in replacement for Opendistro plugins with OpenSearch plugins

I will take care of this today.

@tlfeng are we done here? close if so

Hi dB, I think it can be closed. Although you found the 'rc1' qualifier is not declared in the CI workflow (https://github.com/opensearch-project/job-scheduler/issues/32), it doesn't impact the compatibility of the plugin. We can also close after that is resolved.


I installed the operator, but not able to see the banner icon to use it.

Summary
I installed the operator, but not able to see the banner icon to use it.  Ref:https://cloud.redhat.com/blog/announcing-the-general-availability-of-the-openshift-web-terminal-operator-1.5
Relevant information

Fixed after refreshing the browser

Fixed after refreshing the browser

Fixed after refreshing the browser


⚠ Vote (prod) has degraded performance

In 3cafcae, Vote (prod) (https://vote.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 11532 ms

Resolved: Vote (prod) performance has improved in 307db07.


dmod: Make more robust when used outside default folders

The snippet expansion is now split into two distinct parts: the namespace and the module name.
The namespace expansion looks for a lib|test|spec folder and uses any folder below that as the namespace, joined by dots. If no lib|test|spec folder can be found, no namespace will be generated.
The module name is generated through the TM_FILENAME_BASE, and is basically the same as it was before. But this allows us to generate a defmodule Config module in config/config.exs.
Before
Expanding dmod in lib/foo/bar/baz.exs would result in:
defmodule Foo.Bar.Baz do

end

But expanding dmod in config/foo/bar/baz.exs would result in:
defmodule <path to project>/config/foo/bar/baz.exs do

end

Which is certainly unexpected.
After
Expanding dmod in lib/foo/bar/baz.exs would result in:
defmodule Foo.Bar.Baz do

end

And expanding dmod in config/foo/bar/baz.exs would result in:
defmodule Baz do

end

Which is not as nice as the lib version above but at least a usable module name. 🙂

W⦿‿⦿t!

published!
Thank you @sascha-wolf ❤
also added a new one iins ;)


LLama 3 : can't load the hugging face state dict

Hello,
I am trying to get familiar with the qlora single device recipe with LLama3.
I have been able to download the weights from hugging face without any problem.
I am then running the following simple setup code (similar to the qlora single device recipe):
from torchtune.modules.peft.peft_utils import (
    get_adapter_params,
    get_merged_lora_ckpt,
    set_trainable_params,
    validate_missing_and_unexpected_for_lora,
)
from torchtune.models.convert_weights import hf_to_tune, meta_to_tune
from torchtune.models.llama3 import qlora_llama3_8b, lora_llama3_8b
from torchtune.utils import FullModelMetaCheckpointer, FullModelHFCheckpointer

import torch
from torchtune import config, modules, utils
MY_DTYPE = torch.bfloat16

_device = utils.get_device(device="cuda")
with utils.set_default_dtype(MY_DTYPE), _device :
    lora_model = lora_llama3_8b(lora_attn_modules=['q_proj', 'v_proj', 'k_proj', 'output_proj'], quantize_base=True).to(MY_DTYPE)

adapter_params = get_adapter_params(lora_model)
set_trainable_params(lora_model, adapter_params)

checkpointer = FullModelHFCheckpointer("./meta-llama/Meta-Llama-3-8B/",
                                       checkpoint_files=["./meta-llama/Meta-Llama-3-8B/pytorch_model-00001-of-00002.bin",
                                                         "./meta-llama/Meta-Llama-3-8B/pytorch_model-00002-of-00002.bin",
                                                        ],
                                       model_type="llama3",
                                      output_dir="../../logs/")

base_model_state_dict = checkpointer.load_checkpoint()

base_missing, base_unexpected = lora_model.load_state_dict(
            base_model_state_dict["model"], strict=False
        )

I can't load the base model state dict into the the lora model because there seem to be shape mismatches:
RuntimeError: Error(s) in loading state_dict for TransformerDecoder:
	size mismatch for tok_embeddings.weight: copying a param with shape torch.Size([32000, 4096]) from checkpoint, the shape in current model is torch.Size([128256, 4096]).
	size mismatch for layers.0.attn.k_proj.weight: copying a param with shape torch.Size([4096, 4096]) from checkpoint, the shape in current model is torch.Size([1024, 4096]).
	size mismatch for layers.0.attn.v_proj.weight: copying a param with shape torch.Size([4096, 4096]) from checkpoint, the shape in current model is torch.Size([1024, 4096]).
	size mismatch for layers.0.mlp.w1.weight: copying a param with shape torch.Size([11008, 4096]) from checkpoint, the shape in current model is torch.Size([14336, 4096]).

Could you tell me what I did wrong ?
Thank you very much for your help

Thanks for opening this issue!
Hmm, this seems like you're maybe loading the wrong checkpoint files? I don't see any .bin files in the repo? I only see safetensors files which is also in the Meta format. Here's how this works with the consolidated.00.pth file. You should be able to replace this with the safetensor files without changing the checkpointer. Just make sure you point to the right path.
Another hint for you're loading the wrong checkpoint is the shape of the tensor. Llama3 has a vocab of 128256, but your checkpoint has 32000 which maps to llama2 :) Hope this helps!

Thanks, sorry for the dumb question, it seems that I mixed up llama2 and llama3 with a wrong copy paste...
tune download meta-llama/Llama-2-7b-hf --output-dir meta-llama/Meta-Llama-3-8B


[material-ui][IconButton] Fix disableRipple behaviour when disableRipple is set in MuiButtonBase theme

This PR does following things

revert logic in https://github.com/mui/material-ui/pull/43271
retain tests from https://github.com/mui/material-ui/pull/43271
Add tests and logic for https://github.com/mui/material-ui/issues/43617

closes https://github.com/mui/material-ui/issues/43617
check https://github.com/mui/material-ui/issues/43617#issuecomment-2342590811 for more context
before: https://codesandbox.io/embed/p2smlj?module=/src/Demo.tsx
after: https://codesandbox.io/embed/g7kd38?module=/src/Demo.tsx

[ ] I have followed (at least) the PR section of the contributing guide.

(I have reverted old PR logic and updated new logic in same PR, let me know if this has to be split in seperate PR's)

Hey @sai6855, thanks for working on this. In the "Before" demo, the hover style is broken:
https://github.com/user-attachments/assets/df494061-15bf-4cd1-a8f6-03f9e2f10fe2
I don't know how https://github.com/mui/material-ui/pull/43271 tests are passing 🤔

@DiegoAndai I'm not sure why before and after sandboxes isn't getting updated, can you paste below in these following demos to test the fix
before: https://mui.com/material-ui/react-button/#icon-button
after: https://deploy-preview-43714--material-ui.netlify.app/material-ui/react-button/#icon-button
import * as React from 'react';
import IconButton from '@mui/material/IconButton';
import Stack from '@mui/material/Stack';
import DeleteIcon from '@mui/icons-material/Delete';
import AlarmIcon from '@mui/icons-material/Alarm';
import AddShoppingCartIcon from '@mui/icons-material/AddShoppingCart';
import { ThemeProvider, createTheme } from '@mui/material/styles';

export default function IconButtons() {
  return (
    <Stack direction="row" spacing={1}>

      <ThemeProvider
        theme={createTheme({
          components: {
            MuiButtonBase: {
              defaultProps: {
                disableRipple: true,
              },
            },
          },
        })}
      >
      <IconButton aria-label="delete">
        <DeleteIcon />
      </IconButton>

      </ThemeProvider>

    </Stack>
  );
}

the hover style is broken

Hmm, what do you mean by this 🤔 ? i tried clicking on icons in this demo, everything seems to be fine
https://github.com/user-attachments/assets/c15443f8-7bcc-4f7c-bb5a-61a1cd874882

@sai6855 I found the issue and committed it: https://github.com/mui/material-ui/pull/43714/commits/34eeaec026659d40d3bfcd6bb968a4b028177a91
Let's wait for @siriwatknp's review to merge this

Thanks for working on this @sai6855