Docker Registry Pull and Push Error since Version 1.18

Description
Hello,
at first i wanna thank all of you for this great pice of software!
Since I upgraded my Gitea - Docker Container to the latest version, there are problems with the Docker Registry.
I can neither push nor pull into the registry, as it keeps retrying until the process finally fails. Unfortunately, I don't know what could be causing this at the moment.
Is it possible to downgrade?
Gitea Version
1.18.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
https://gist.github.com/NiclasPe/d0d7e4e45e9c28014150fdc37ff52ba3
Screenshots

Git Version
2.36.3, Wire Protocol Version 2 Enabled
Operating System
ubuntu 22.04.01
How are you running Gitea?
I run the offical Gitea - Container from DockerHub in an k3s Cluster with Traefik as an Reverse Proxy in front of it. The K3s Nodes all run on ubuntu 22.04.01 an the gitea Data is stored in PVC´s over NFS.
Database
MySQL

Could you try docker logout and docker login again?

Where is the package data stored? Looks like there is a problem:
Error whilst copying content to response: write tcp <IP_ADDRESS>:3000-><IP_ADDRESS>:54118: write: connection reset by peer
The push however looks more like a proxy not passing all the data.

Where is the package data stored? Looks like there is a problem:
Error whilst copying content to response: write tcp <IP_ADDRESS>:3000-><IP_ADDRESS>:54118: write: connection reset by peer
The push however looks more like a proxy not passing all the data.

The Data is stored in on an NFS Share and will get to the container over an Kubernetes PVC (Persistent Volume Claim).
Yesterday I’d tried it on my old Docker Swarm Cluster with Nginx as Reverse Proxy and ist work, but as I will go backwards to K3S the problem appears again. After that I tried the same Nginx Proxy with the same configuration from the Docker Swarm on Kubernetes, but no change. So I think it’s an problem with the cluster networking?!
I will try it on an Cluster created by DigitalOcean to check if it works there and report it here.

Could you try docker logout and docker login again?

My CI/CD Pipeline dose that on every push, but it failed as well.

I tried it on digital Ocean, and it work, so i isn’t an gitea Issue.
Sorry for the Trouble.
I will close this Issue.


Bump [compat] AbstractPloting -> 0.14

Closes #5

Hmm, wonder if I broke CI. Let's try as a fresh PR and see.


Make project titles links

Some CSS changes to remove default anchor tag styles so that no
changes are visible between this commit and the previous.

Relacionado a #12


Feature/add protocol owned liquidity contract

Protocol owner liquidity contract
Implemented according to specifications in https://github.com/balancednetwork/balanced-java-contracts/issues/21

@nightowl121
I merged your latest changes to make use of score-lib and test-lib. Great stuff. I got an issue after the merge though, which I can't quite understand. When running ./gradlew optimizedJar I get the following Errors, which I find is wierd since I don't use any  of those methods. Any clues what is going on?

@nightowl121
I'm not sure how you have decided to handle testing when it comes to cross-contract calls. Which methods do you want me to write tests for, and how do you want it done? My first thought was to have all the relevant contracts deployed in the unit tests, but they are not available at this point.
Perhaps, at least test that the more critical methods that are restricted adhere to those restrictions, and mock the cross-contract calls for those methods (E.g. unstakeLPTokens, withdrawLiquidity) .
I tried testing all liquidity related methods manually, but I can not provide liquidity on the testnet dex for some reason. I think it might have built up a lot of LP reward distributions (IIRC LP functionality is locked while rewards are distributing).

I have been mocking the methods and have no response from those contracts. If you think that mocking would not be suitable, it would be better to do those tests in integration test. Deploying all contracts for unit tests is not recommended, use mock or switch to integration test.
This was suggestion from anton regarding mocking of other contracts.
https://github.com/balancednetwork/balanced-java-contracts/pull/54#discussion_r837790125

@nightowl121 This one is ready for review. Would be much appreciated if you could review it or assign someone to do it.


Jj abrams

This is a fix for #678. It basically register the library version on the app initializer instead of relying on an external file.

This doesn't work as it till register the library after the installed libraries and versions have been printed to the log so that ESA will never appear in that list


AUR Sync

So the only way Manjaro can be stable is by literally forking all the Arch related repositories including the AUR and keeping them in sync.

I'm not sure this is technically correct. Can't it be stable if you don't use the AUR, like they ship it? Most people might end up using it, but there are some alternatives, if your after desktop programs.

Yes, but the programs might still rely on some specific libraries with the
latest versions.
AppImages or similar formats and static binaries would be alright since
they have no dependencies.
At the end of the day, everything could be solved by building from source
but is it feasible everytime?
On Tue, 25 Jan, 2022, 5:46 pm Kolja Lampe, @.***> wrote:

So the only way Manjaro can be stable is by literally forking all the Arch
related repositories including the AUR and keeping them in sync.
I'm not sure this is technically correct. Can't it be stable if you don't
use the AUR, like they ship it? Most people might end up using it, but
there are some alternatives, if your after desktop programs.
—
Reply to this email directly, view it on GitHub
https://github.com/arindas/manjarno/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF43BC2CGMMGUES6XJ3H76LUX2IAVANCNFSM5MYC3WOQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Probably not, especially with devices, that are differently powered.

AppImage, Flatpak and Snap should be fine, since they should deliver the needed libs or depend on other flatpak/snap images delivering these libs.
But AUR would be definitely broken, if the AUR-package author doesn't specify the needed minimal lib dependency from the repo correctly.

Sorry, what I said referenced if building from source would be feasible.
And what you mention is what I hinted at with alternatives above.


hub open

Add a new command for opening browser with Github Repo URL

git browse already does this!

Just learned about git web--browse. It's super confusing to configure. Something like open that just works is more appreciated for hub.

@mohsen1 apologies for being unclear! Hub has it's own custom version of this command, which just works.
Info ehre: https://hub.github.com/hub.1.html


Move the lint configuration into the Cargo.toml file

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.29%. Comparing base (57cbf7e) to head (eefe2e9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #181      +/-   ##
==========================================
- Coverage   90.35%   90.29%   -0.06%
==========================================
  Files          34       34
  Lines        1907     1907
==========================================
- Hits         1723     1722       -1
- Misses        184      185       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


The plugin does not start after restarting the raspberry pi

Hi all! Great job Stanislav!
I have such a problem.
The plugin works perfectly but,  after a power outage or restart from Domoticz or console or reboot raspberry pi, the plugin does not start.
I have to enter the devices (in Domoticz) and manually  disable and enable the plugin, then it starts working again.
Additional information
Zigbee2MQTT version: 1.6.0.
Python version: 3.7.3
Domoticz version: V4.10717
Plugin version: 0.19

Hi, I've got the same problem. I reboot my Raspberry 03:00 AM and after that the plugin doesn't work anymore. The log starts with a long list of mqtt errors. When I disable and enable the plugin it reads the devices correctly from mqtt and enables all devces without any errors.

Most likely it happens because your MQTT server starts after Domoticz initialize plugin. Could you please try to start Domoticz after MQTT server and check if everything is ok?

You're right. If I run domoticz after mosquitto, everything is OK.

Hello, I've got the same problem. How can I modify the order of starting MQTT server and domoticz plugin initialization ? Thank you and sorry for my english !!

I have the same problem. Every reboot the zigbee2mqtt is not working with domoticz...must be restarted the domoticz.service. What can i do?

Please make sure you have such order of starting services: MQTT -> zigbee2mqtt -> Domoticz

First start it is Domoticz and after mqtt,but i don't know how to change the stratup order. If mqtt server started first everyfing works fine.

Faced the same problem this week. I run zigbee2mqtt, mosquitto, and domoticz via LXC so maybe the details will differ a bit.
Do a 'systemctl edit domoticz' and save the following:
[Unit] After = zigbee2mqtt
This will override the After option from the original domoticz service file to start after zigbee2mqtt.
@stas-demydiuk IMHO this should be handled by the plugin. In this scenario, mosquitto and zigbeee2mqtt run on the same host. This is not applicable when someone has f.e. a dedicated pi-mosquitto broker running on the local LAN. Is trying to reconnect (for X nr of times) plugin wise an option?

Agree, would be great if someone create PR to add such behavior

I have the same problem. Modifying the service start order does not solve it in my setup. I suspect the real problem is that even if the zigbee2mqtt service is started, it might still be waiting for the ZigBee usb controller to connect/start.
Would be great if the plugin recognizes this state and reconnects when zigbee2mqtt is actually ready.

I have the same problem. Modifying the service start order does not solve it in my setup. I suspect the real problem is that even if the zigbee2mqtt service is started, it might still be waiting for the ZigBee usb controller to connect/start.
Would be great if the plugin recognizes this state and reconnects when zigbee2mqtt is actually ready.

This is not plugin problem. This is Domoticz problem...

Some solution ?

Hi Stanislav,
I have the same problem. After rebooting the Pi, domoticz is unable to connect to the Zigbee2MQTT devices. changing the startup order does not solve this. When I simply change the 'Zigbee pairing' setting in the hardware setting of the Zigbee2MQTT device, all devices can be reached.
A domoticz
domoticz.txt
log file is attached that shows the behaviour.

this help https://domoticz.com/forum/viewtopic.php?t=30846 :)
sudo nano /etc/init.d/domoticz.sh
locate the line that starts with DAEMON_ARGS="$DAEMON_ARGS -daemonname $NAME
insert this after that line (20 is an example)
DAEMON_ARGS="$DAEMON_ARGS -startupdelay 20"
save the file and do sudo systemctl daemon-reload

this help https://domoticz.com/forum/viewtopic.php?t=30846 :)
sudo nano /etc/init.d/domoticz.sh
locate the line that starts with DAEMON_ARGS="$DAEMON_ARGS -daemonname $NAME
insert this after that line (20 is an example)
DAEMON_ARGS="$DAEMON_ARGS -startupdelay 20"
save the file and do sudo systemctl daemon-reload

Hi Kevin, this seems to do the trick!


Exception: Cannot fetch the page from Google Scholar.

Hi,
I tried all possible way, but still, I am getting the error Exception: Cannot fetch the page from Google Scholar
Is there a latest trick to solve the error?

Perhaps use proxies.
Default setting seems to run perfectly fine on Colab:
https://colab.research.google.com/drive/1kkrSvC3f9RisGpgHZ2ryx5F0SOaxHocg?usp=sharing


Switch HMAC implementation to SwiftNIO's BoringSSL?

Is your feature request related to a problem? Please describe.
As we all know SwiftNIO switched its underlying TLS implementation from OpenSSL and LibreSSL to BoringSSL. Thanks to this change OpenSSL doesn't have to be installed on Linux machines that host SwiftNIO servers. Since aws-sdk-swift-core still uses OpenSSL for creating the HMAC on Linux I propose the following:
Describe the solution you'd like
Instead of linking against OpenSSL, I would add a dependency to swift-nio-ssl on non Darwin systems and import the CNIOBoringSSL library. This dependency is probably loaded anyway since the AsyncHTTPClient will use it as well. We could then drop the CAWSSDKOpenSSL target.
Describe alternatives you've considered
Everything stays as is.
Additional context
Having as few dependencies on the hosting system as possible will make aws-sdk-swift more approachable for more users.
If the maintainers think this is something worth investigating I would be more than happy to look into this and build up a pr.

Swift NIO’s version of BoringSSL is considered internal to nio and we’ve been told we shouldn’t use it.
Can’t find the related link at the moment, but here is

Okay. I didn’t know that.
To bad. I would really like to get the OpenSSL dependency out. But I’ll close the issue for now.

Oh god I've been trying to get rid of it in various ways. Don't need it on mac or iOS but Linux there is currently no other option. I would prefer something that was cross platform as the current solution has different setups for Linux and the apple OS's

Would it be an option to just copy and paste the hmac implementation from https://github.com/krzyzanowskim/CryptoSwift. I would just compile it if CommonCrypto is not available. But we would get rid of OpenSSL.

Not sure replacing C versions of crypto functions with swift versions is very sensible from a performance point of view.

Took me a bit, but here's the convo about not depending on BoringSSL from within NIO:
https://github.com/swift-aws/aws-sdk-swift-core/pull/72#discussion_r314334006


Investigate replacing Cython with numba

Numba has come a long way since I last played with it. Anaconda has made installing numba a non-issue and we already recommend it as the preferred way of getting dependencies for Fatiando.
I think it's time to investigate replacing some of our Cython code with numba. The usage is so much simpler and would greatly reduce the barrier to contributing high-performance code. It would also remove the compile step from installing Fatiando. This is usually the cause of bug reports for Windows users.
For the change to work, the target code should be covered by tests and benchmarked.

@leouieda I saw the problem with cython in windows and I see your concern. But although not perfect cython makes wavefd simulation code viable for more reasonable grid sizes (the very ones we want to play to compare with real seismic). So I want to follow this closely.

@eusoubrasileiro the idea is not to have the code slower, but see if numba
can match the speeds we have. If it does, I think it would be worth the
effort of switch. It's a lot easier to use.
On Feb 27, 2015 6:31 PM, "André"<EMAIL_ADDRESS>wrote:

@leouieda https://github.com/leouieda I saw the problem with cython in
windows and I see your concern. But although not perfect cython makes
wavefd simulation code viable for more reasonable grid sizes (the very
ones we want to play to compare with real seismic). So I want to follow
this closely.
—
Reply to this email directly or view it on GitHub
https://github.com/fatiando/fatiando/issues/169#issuecomment-76475538.

Made a prototype implementation of tesseroid forward modeling using numba and a pure Python version: http://nbviewer.ipython.org/gist/leouieda/f2824b0062a4446a6e24

Current Cython version: 0.252985 s
Pure Python: 13.533715 s
Numba: 0.214360 s
Multiprocessing parallel by splitting computation grid (4 jobs): 0.119183 s

Looks promising! And much easier to implement.
A problem I had: can't pass callbacks to numba.jit'ed functions. Graham Markall suggested using closures:
https://groups.google.com/a/continuum.io/forum/#!msg/numba-users/KTZxkOl2mK8/_V3HCj2jH3gJ

So far getting slower execution with closures. Maybe numba was inlining the compiled kernels before.


@conda-forge-admin, please add user @diogomart

Additional comment:
Hi Simon,
Thank you for putting Vina on conda-forge! I'm one of the developers.

Great, very glad to add you as a maintainer.

Thank you!


Installation Problems

I would like to try text-sed, but my programmer and I were not able to install it.  It would be good if you had a requirements.txt file for it. For example:
Will it only work with CUDA 11.6 ?
Is Slurm required?
Is openmpi required?
I don't normally use any of those. I have done a lot of work with LLMs and image diffusion models and I understand all the concepts in your paper, I just would like to get the program working.

My programmer and I both get the same errors when trying to run train.sh . I am using Google Colab (CUDA 11.2) and he is using his local GPU. The errors are:
/content/text-sed/train.sh: line 16: module: command not found
/content/text-sed/train.sh: line 17: module: command not found
/content/text-sed/train.sh: line 18: /opt/intel/mpi/latest/env/vars.sh: No such file or directory
/content/text-sed/train.sh: line 47: scontrol: command not found
/content/text-sed/train.sh: line 48: scontrol: command not found
ERROR: ld.so: object '/opt/nccl/build/lib/libnccl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/content/text-sed/train.sh: line 50: scontrol: command not found
ERROR: ld.so: object '/opt/nccl/build/lib/libnccl.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Node Count: 0
Host Names:
/content/text-sed/train.sh: line 62: .env/bin/activate: No such file or directory

@ericborgos the package should now be installable through pip on colab:
https://colab.research.google.com/drive/14KYyvYWtmVKITMltiIMn9zUjQ1ya6t9_?usp=sharing
Closing now but feel free to re-open if you have any other issues. Thanks for reporting!

Your Colab notebook does not work. It installs the program, but won't actually run it.
When I run it like this:
!torchrun --nproc_per_node=1 train.py
it downoads the weights and data but then gives an error:
wandb: (1) Create a W&B account
wandb: (2) Use an existing W&B account
wandb: (3) Don't visualize my results
wandb: Enter your choice: 3
wandb: You chose 'Don't visualize my results'
wandb: Tracking run with wandb version 0.13.7
wandb: W&B syncing is set to offline in this directory.
wandb: Run wandb online or set WANDB_MODE=online to enable cloud syncing.
Downloading: 100% 29.0/29.0 [00:00<00:00, 23.0kB/s]
Downloading: 100% 762/762 [00:00<00:00, 582kB/s]
Downloading: 100% 213k/213k [00:00<00:00, 241kB/s]
Downloading: 100% 436k/436k [00:01<00:00, 390kB/s]
Downloading: 100% 1.34G/1.34G [00:21<00:00, 60.9MB/s]
Some weights of the model checkpoint at bert-large-cased were not used when initializing BertModel: ['cls.predictions.decoder.weight', 'cls.predictions.transform.LayerNorm.bias', 'cls.predictions.transform.dense.weight', 'cls.predictions.transform.LayerNorm.weight', 'cls.seq_relationship.weight', 'cls.seq_relationship.bias', 'cls.predictions.transform.dense.bias', 'cls.predictions.bias']

This IS expected if you are initializing BertModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
This IS NOT expected if you are initializing BertModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
Downloading and preparing dataset roc_stories/default to /root/.cache/huggingface/datasets/roc_stories/default/0.0.0/363ad38daea2588d19e4a72feb9440eff44f119a6df4e4e94beeb8f72f745d01...
Downloading data files:   0% 0/2 [00:00<?, ?it/s]
Downloading data:   0% 0.00/13.1M [00:00<?, ?B/s]
Downloading data:   0% 52.2k/13.1M [00:00<00:34, 374kB/s]
Downloading data:   2% 311k/13.1M [00:00<00:10, 1.24MB/s]
Downloading data:  10% 1.36M/13.1M [00:00<00:02, 4.07MB/s]
Downloading data:  36% 4.69M/13.1M [00:00<00:00, 13.3MB/s]
Downloading data:  54% 7.06M/13.1M [00:00<00:00, 16.0MB/s]
Downloading data: 100% 13.1M/13.1M [00:00<00:00, 16.4MB/s]
Downloading data files:  50% 1/2 [00:01<00:01,  1.55s/it]
Downloading data:   0% 0.00/14.5M [00:00<?, ?B/s]
Downloading data:   0% 54.3k/14.5M [00:00<00:38, 374kB/s]
Downloading data:   2% 322k/14.5M [00:00<00:11, 1.23MB/s]
Downloading data:   9% 1.36M/14.5M [00:00<00:03, 3.91MB/s]
Downloading data:  35% 5.14M/14.5M [00:00<00:00, 12.6MB/s]
Downloading data:  63% 9.21M/14.5M [00:00<00:00, 18.0MB/s]
Downloading data: 100% 14.5M/14.5M [00:00<00:00, 16.4MB/s]
Downloading data files: 100% 2/2 [00:03<00:00,  1.59s/it]
Extracting data files: 100% 2/2 [00:00<00:00, 1209.95it/s]
Dataset roc_stories downloaded and prepared to /root/.cache/huggingface/datasets/roc_stories/default/0.0.0/363ad38daea2588d19e4a72feb9440eff44f119a6df4e4e94beeb8f72f745d01. Subsequent calls will reuse this data.
100% 89/89 [00:10<00:00,  8.15ba/s]
0% 0/200000 [00:00<?, ?it/s]You're using a BertTokenizerFast tokenizer. Please note that with a fast tokenizer, using the __call__ method is faster than using a method to encode the text followed by a call to the pad method to get a padded encoding.
0% 0/200000 [00:00<?, ?it/s]
Traceback (most recent call last):
File "train.py", line 306, in
train(
File "train.py", line 84, in train
with torch.amp.autocast(
File "/usr/local/lib/python3.8/dist-packages/torch/amp/autocast_mode.py", line 225, in init
raise RuntimeError('Current CUDA Device does not support bfloat16. Please switch dtype to float16.')
RuntimeError: Current CUDA Device does not support bfloat16. Please switch dtype to float16.
wandb: Waiting for W&B process to finish... (failed 1).
wandb: You can sync this run to the cloud by running:
wandb: wandb sync /content/text-sed/wandb/offline-run-20221229_123141-ifyezkl7
wandb: Find logs at: ./wandb/offline-run-20221229_123141-ifyezkl7/logs
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 505) of binary: /usr/bin/python3
Traceback (most recent call last):
File "/usr/local/bin/torchrun", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/elastic/multiprocessing/errors/init.py", line 346, in wrapper
return f(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/run.py", line 762, in main
run(args)
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/run.py", line 753, in run
elastic_launch(
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/launcher/api.py", line 132, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "/usr/local/lib/python3.8/dist-packages/torch/distributed/launcher/api.py", line 246, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
============================================================
train.py FAILED

Failures:
<NO_OTHER_FAILURES>
Root Cause (first observed failure):
[0]:
time      : 2022-12-29_12:33:00
host      : 7212dfdccc1b
rank      : 0 (local_rank: 0)
exitcode  : 1 (pid: 505)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html

If I instead run it like:
!python train.py
I get this error:
Traceback (most recent call last):
File "train.py", line 184, in
slurm.init_distributed_mode(args)
File "/content/text-sed/text_sed/slurm.py", line 83, in init_distributed_mode
args.local_rank = int(os.environ["LOCAL_RANK"])
File "/usr/lib/python3.8/os.py", line 675, in getitem
raise KeyError(key) from None
KeyError: 'LOCAL_RANK'


server-test-utils: render() returns Cheerio not string (d.ts)

Version
1.0.0-beta.29
Reproduction link
https://codesandbox.io/s/4xvk5l7mo9
Steps to reproduce
index.d.ts declares render() as returning string while the documentation states that it is indeed "CheerioWrapper" (Cheerio) - the latter is also what can be observed when inspecting the result.
(f3dfb1e81f43c05d8ae871dba9184d83a3b3548e, for #571, may have been an impediment for this in the past but is long fixed.)
What is expected?
render() type definition declares Cheerio return value.
What is actually happening?
render() type definition declares string return value.

We created a hack around this using @types/cheerio.

Thanks for the bug report, would you like to make the change to the types file—https://github.com/vuejs/vue-test-utils/blob/dev/packages/server-test-utils/types/index.d.ts?


feature: ignore limite and offset query with count

Make sure these boxes checked before submitting your pull request.

[x] Do only one thing
[x] No API-breaking changes
[x] New code/logic commented & tested

For significant changes like big bug fixes, new features, please open an issue to make an agreement on an implementation design/plan first before starting it.
What did this pull request do?
So far if we run a command like below, we will get an error:
if err := DB.Model(&User{}).Limit(1).Offset(2).Count(&count).Error; err != nil {
       t.Errorf("Not error should happen, but got %v", err)
 }

It is because if we run Count with Offset, we will get an empty data set.
This branch is ported from ignoreOrderQuery, use a new tag ignoreLimitAndOffsetQuery to skip the limitAndOffsetQuery

@jinzhu hi, could you help me review this? by the way, I think the test failed should not cause by this change? https://app.wercker.com/Jinzhu/gorm/runs/build/5f4b0d377e9968000806135d?step=5f4b0d9816cb6b0007b0f1bd

Hello, we will only accept new features on GORM V2, for GORM V1, only accept bug fix pull request.
Thank you for your PR.


TRAN - EDW Data design issue

Describe the issue
Problem w using Azure Data Factory front-end, Databricks as main engine (Spark for Azure)
Additional context
Initial TRAN configure of Databricks service giving errors in Azure.  Databricks is the Azure service offering a Hadoop clustered data analytics as a service (run through a Microsoft 3rd party and offered in Canada Central region - except for some integrated links to Azure based ML services)
Review of TRAN's data analytics architecture should be primary as Databrick setup can be very specific depending on how TRAN wants to use it.  It's setup\use will also have ramifications on how best to set up networking for this and how they want to communicate with on-prem resources (databases in this case).
Definition of done

Review with TRAN their current solution plan and the various data analytics components involved
Get Microsoft's opinion on it as per any upcoming Databrick capability updates or best practices
Solve Databricks issue
Refactor TRAN solution arch if necessary to enable a better, more cloud focused data architecture

Group periodically coming back for issues they are experiencing but most of been found to do with the services being tested themselve.  One was viewed as possibly a wider issue around Integration Runtime connectability with Azure Data Factory (front end to their main Azure Databricks use), so a ticket with MS was opened for it and managing that for now

The communication issue for the Data Brick's service Integrated Run VM's is resolved for now and was due to a misconfiguration of a URL during set up that was not noticed.  Will meet with EDW group shortly to get review of solution and confirm issue resolved for ticket closing

The connection issue was resolved between the Integrated Runtime VM servers and the Azure Data Factory instance.  Will open additional tickets where necessary for any other technical issue that comes up.  Closing ticket


Cannot use strings in the @Input key, only SvgIcons type

I'm submitting an issue with the key input of svg-icon component. It does not allow me to use strings, requires a type of SvgIcons to be used. I was using version 4.x.x until now, so I know that it worked back then

[ x] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
Using strings as inputs in the key input of svg-icons component is not allowed
Expected behavior
Allowing strings to be used in the key input of svg-icons component

Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?

Environment

Angular version: X.Y.Z

Browser:
- [ x] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version: v16.17.0
- Platform:  Mac

Others:

Reproduce on stackblitz, please

I thought I had hit this same issue on a fresh project using 7.0.0, but it turned out that key accepts strings just fine - it was the capitalization of SvgIcons type and the original SVG file names that was the issue for me. Adding this in case anyone else sees this behavior.

I didn't "reproduce" this per se, as Stackblitz won't let me run scripts from package.json in their Angular templates, but I added the SVG and generated icon to this instance: Stackblitz
I hit this same behavior recently, and in the course of generating the Stackblitz realized that the problem went away if I renamed my source SVG files to use all lowercase letters in the filename (Fire.svg -> fire.svg).
I ran the following commands on macOS and it resolved all my issues:
$ brew install rename
$ rename -fc /path/to/svgs/*

# I use yarn in my current project, but however you launch package.json scripts
$ yarn run svg

After the above the SvgIcons type used lowercase strings, which matched the lowercase strings for the name property in generated TS icon files.


UnknownError using tesla_custom.api

Can't seem to get any tesla_custom.api service calls to work.
Both the above examples return an UnknownError immediately. I imagine i'm doing something wrong, but not sure what. I grabbed the vehicle_id from teslafi - it should always be the same, right?
Version of the custom_component

版本
core-2022.2.5

安装类型
Home Assistant Container

开发版
false

Supervisor
false

Docker
true

用户
root

虚拟环境
false

Python 版本
3.9.7

操作系统系列
Linux

操作系统版本
4.19.0-14-amd64

CPU 架构
x86_64

时区
Asia/Shanghai

-->
Configuration
Describe the bug
A clear and concise description of what the bug is.
Debug log
2022-02-10 16:53:42 DEBUG (MainThread) [teslajsonpy.controller] 320 endpoints loaded
2022-02-10 16:53:42 DEBUG (MainThread) [teslajsonpy.connection] Token expiration in -19034 days, 7:06:18
2022-02-10 16:53:42 DEBUG (MainThread) [teslajsonpy.connection] Oauth expiration detected
2022-02-10 16:53:42 DEBUG (MainThread) [teslajsonpy.connection] Refreshing access token with refresh_token
2022-02-10 16:53:42 DEBUG (MainThread) [teslajsonpy.connection] Saved new auth info {'access_token': '8Awy40BhR4loGGH4Z6FmAHy7D9DBmKo3vzynnWkh0QozHy09D6x5JafbsE5ca9vMHFgdB3K8FDsTxW_yAdq3F12czP8yi83yECS1V-ec-kt-n8Z1o7i9', 'refresh_token': '', 'expires_in':<PHONE_NUMBER>}
2022-02-10 16:53:42 DEBUG (MainThread) [teslajsonpy.connection] Exchanging bearer token with access token:
2022-02-10 16:54:13 INFO (MainThread) [teslajsonpy.controller] Backing off get_vehicles(...) for 0.6s (httpx.ConnectError: All connection attempts failed)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 203, in async_init
flow, result = await task
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 221, in _async_init
flow = await self.async_create_flow(handler, context=context, data=data)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 740, in async_create_flow
raise data_entry_flow.UnknownHandler
homeassistant.data_entry_flow.UnknownHandler
2022-02-10 16:54:46 ERROR (MainThread) [teslajsonpy.controller] Giving up get_vehicles(...) after 2 tries (httpx.ConnectError: All connection attempts failed)
2022-02-10 16:54:46 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/anyio/_core/_sockets.py", line 127, in try_connect
stream = await asynclib.connect_tcp(remote_host, remote_port, local_address)
File "/usr/local/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 1518, in connect_tcp
await get_running_loop().create_connection(StreamProtocol, host, port,
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1056, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
sock = await self._connect_sock(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
return await fut
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 537, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
TimeoutError: [Errno 110] Connect call failed ('<IP_ADDRESS>', 443)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/httpcore/_exceptions.py", line 8, in map_exceptions
yield
File "/usr/local/lib/python3.9/site-packages/httpcore/backends/asyncio.py", line 101, in connect_tcp
stream: anyio.abc.ByteStream = await anyio.connect_tcp(
File "/usr/local/lib/python3.9/site-packages/anyio/_core/_sockets.py", line 184, in connect_tcp
raise OSError('All connection attempts failed') from cause
OSError: All connection attempts failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
yield
File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 308, in handle_async_request
resp = await self._pool.handle_async_request(req)
File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection_pool.py", line 244, in handle_async_request
raise exc
File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection_pool.py", line 228, in handle_async_request
response = await connection.handle_async_request(request)
File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection.py", line 86, in handle_async_request
raise exc
File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection.py", line 63, in handle_async_request
stream = await self._connect(request)
File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection.py", line 111, in _connect
stream = await self._network_backend.connect_tcp(**kwargs)
File "/usr/local/lib/python3.9/site-packages/httpcore/backends/auto.py", line 23, in connect_tcp
return await self._backend.connect_tcp(
File "/usr/local/lib/python3.9/site-packages/httpcore/backends/asyncio.py", line 101, in connect_tcp
stream: anyio.abc.ByteStream = await anyio.connect_tcp(
File "/usr/local/lib/python3.9/contextlib.py", line 137, in exit
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.9/site-packages/httpcore/_exceptions.py", line 12, in map_exceptions
raise to_exc(exc)
httpcore.ConnectError: All connection attempts failed
The above exception was the direct cause of the following exception

Add your logs here.

No way, I use Ping connection https://auth.tesla.cn The connection was successful.
The same token can also log in to teslamate

I'm not here to argue with you. I'm pointing out what the logs say. You're welcome to self debug it if you know better.

Dupe of #72. We provide no support for use of tesla_custom.api as it's a dev feature.

For use in China, please turn off any network proxy, because Tesla certification seems to detect the country where the IP is located, and Chinese users can only log in with a Chinese IP address for certification

There is no network proxy.


Feature minimal prototype

first commit

Refactor all api classes.

code cleanup

add minimal demo with launch error.

refactor project structure

refactor project structure, dependency graph, plugin applier

remove build-plugins, move into separated repository

remove demo project, move into separated repository

update kotlin script files.

update dependencies

correct project structure, impl modules on root level moved.

event pattern implemented

fixed sonar task execution,update gradle.kts.update wrapper version

change workflow run condition

update api module:
add new exceptions,
refactor base api,
refactor event api
refactor management api.

update impl modules:
add new exceptions,
refactor base api,
refactor event api
refactor management api.

add first test for api

fixed build

fixed static analysis issues.

fixed after rebase from main


Add information about the application

How to use it and where data are fetched

Create a minimum layout to display basic information of the application, as data procedence, or how to use it

@chermidap as you suggested, we can use an action bar, transparent, with only one button for the info.

Merged


Thanks for your sharing! Do you have the model of ECA-resnet18

We did not experiment on resnet18.


feature: Migrate Prometheus Middleware to Contrib

TODO:

Add config struct
Add support for response/request size metrics
Refactor metrics to match native golang
Update README
Simplify usage of Middleware
Make Prometheus built-in collectors configurable via config. Example the GoRuntime collector.

Original middleware created and contributed by https://github.com/ansrivas/fiberprometheus

@gaby is it ready for review ?

@gaby is it ready for review ?

This weekend :-)

Hello! Is there any update on a timeframe to merging this?

@Fesaa Hopefully soon, I did some changes upstream that need to be merged here. I also wanted to simplify the middleware a bit.
The other thing I wanted to probably do is add an option for exporting Host metrics using this https://github.com/prometheus/node_exporter

@Fesaa Now that I thinj about maybe initial release is as it is right now. For next release I can do changes/features. That way we can get this released soon

With the recent changes in https://github.com/ansrivas/fiberprometheus/pull/221 I have to migrate those to this PR and it should be ready to merged.
For v3 we can change the interface to match the other middlewares.


Implement equivalent of cut function from base R

@jseabold suggested a solution like this on the ML
# make some age variables 15-70
age = np.random.randint(15, 71, size=100)

# bin them into groups 15-24, 25-34, 35-70.
bin_idx = np.digitize(age, [25, 35, 71])

# make dummy variables
import scikits.statsmodels.api as sm
age_dummy, labels = sm.categorical(bin_idx, drop=True, dictnames=True)


Feature/grids

Made a PR to make feedback easier but work not done.
If I could have your comments on 2 issues I am facing :

Some labels at some zoom level doesn't appeared to be centered inside the UTM zone. At some zoom level, it even appears twice and sometimes it's broken.

At zoom level 11 for example, it takes longer to display the labels as it's looping a lot. Would there be a better way to optimize the computation ?

The only thing i noticed that seemed wrong from a quick look at the code is that the loop that adds the labels, line 842, is inside the loop thats started on line 769, Maybe thats causing the duplicated labels?

I have this issue where even if I check before drawing if the labelPt coordinate is inside the map screen - It still draws way too many points. Like on the pictures, it's supposed to show 12 waypoints but instead 156 points are drawn (and not all of them are visible which is weird).
I did try to console.log almost everything I could to do the math but didn't find what causes it.

I think this is ready to get reviewed.
Next step :

Integrate it to gaiacloud /map
Integrate it to the map print

@alex-outdoor I changed the base on this master, because the whole thing needs to be reviewed, not just your changes

There's a file that looks like it doesnt belong DuplicateLabels.jpg

It looks like maybe a rounding issue with the labels for the dms grid at zoom 15. the labels say 59" and 29" instead of 0" and 30"

I think the Grid spacing for MGRS might need to be shifted by 1 level, at zooms 14 and 17 I only get one or 2 squares on screen.

This closes #1


[Backend Configuration IIa] Add dataset identification tools

replaces #555
~80 changes to source code (debugs/refactoring of iterator)
~200 additions to source code
~500 lines of tests
This is the main bulk of complexity related to this feature, which required debugging over a large number of test cases compared to the original conception of the method in #475
In a nutshell, the non-private method that is exposed to tools.nwb_helpers scans an in-memory NWBFile and identifies all the primary fields that could become datasets in the file when it is written; these are instantiated as the models in the previous PRs using default compression/filter/chunking/buffer options, and which would then be passed back to the user for confirmation before any final configuration of the datasets is performed (in follow-up PRs)

add test cases for dataset config parsing on common extensions such as ndx-events
as well as compass directions

What do you think? Are there some drawbacks of this approach that I am missing?

It's a good idea, but this PR is already massive enough and we need to start drawing some lines. I'd say raise an issue with this idea to migrate logic from a private method to a class method on the models and leave as a TODO follow-up that is 'nice' but not required to proceed along this chain
Also keep in mind some of those model designs may change once we get the Pydantic V2 ban lifted upstream, so I wasn't going to perfect them too much until that time
Otherwise the one publicly exposed function that forms the basis of this PR and its tests (get_default_dataset_io_configurations) is the only thing I'd focus on ATM

This makes sense. I agree.

@h-mayorquin I think all issues and next steps should be addressed now

Ah, yes also, you changed the name of the function that finds the location but the attribute in the DatasetInfo is still caled like that. I don't know if that something that we should change as well.

I don't know if that something that we should change as well.

Given that class was introduced two prior PRs back, I'd rather scope such a refactor to it's own PR
At this far downstream it takes a lot to go back and adjust things, and again this PR is quite a lot
I only updated the part of this PR that interacts with it and would be happy to do a top-down rename to location_in_file in a follow-up

I don't know if that something that we should change as well.

Given that class was introduced two prior PRs back, I'd rather scope such a refactor to it's own PR
At this far downstream it takes a lot to go back and adjust things, and again this PR is quite a lot
I only updated the part of this PR that interacts with it and would be happy to do a top-down rename to location_in_file in a follow-up

Follow-up is great.


Black screen appears while loading the Production Keys for Forgerock KM

Description:
Black screen appears when trying to load production keys of the application under Forgerock Key Manager.
Steps to reproduce:

Create an External KM for Forgeock
Try to navigate to Forgerock Km tab under Production Keys

Affected Product Version:
4.0

Testing of the following issue blocked by this issue
https://github.com/wso2/product-apim/issues/10935

Is this only reproducible for Forgerock km?

It was not reproducible for resident key manager. Tried only forgerock as the external KM , so may be thats common to external KM

Following error is found in the browser console

This is reproducible for PingFederate KM as well

Reproducible for KeyCloak as well

Reproducible for KeyCloak as well

Yes this is reproducible for other external KMs except WSO2 IS and Auth0.


Fix Spanner integration tests

Spanner integration tests are failing frequently:
https://travis-ci.org/GoogleCloudPlatform/google-cloud-java/jobs/207562209

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.122 sec <<< FAILURE! - in com.google.cloud.spanner.it.ITLargeReadTest
com.google.cloud.spanner.it.ITLargeReadTest  Time elapsed: 0.01 sec  <<< ERROR!
com.google.cloud.spanner.SpannerException: NOT_FOUND: io.grpc.StatusRuntimeException: NOT_FOUND: Database has been deleted
	at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:476)
	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:455)
	at com.google.cloud.spanner.spi.DefaultSpannerRpc.get(DefaultSpannerRpc.java:398)
	at com.google.cloud.spanner.spi.DefaultSpannerRpc.commit(DefaultSpannerRpc.java:376)
	at com.google.cloud.spanner.SpannerImpl$TransactionContextImpl$1.call(SpannerImpl.java:1235)
	at com.google.cloud.spanner.SpannerImpl$TransactionContextImpl$1.call(SpannerImpl.java:1232)
	at com.google.cloud.spanner.SpannerImpl.runWithRetries(SpannerImpl.java:198)
	at com.google.cloud.spanner.SpannerImpl$TransactionContextImpl.commit(SpannerImpl.java:1230)
	at com.google.cloud.spanner.SpannerImpl$TransactionRunnerImpl.run(SpannerImpl.java:1148)
	at com.google.cloud.spanner.SpannerImpl$SessionImpl.write(SpannerImpl.java:704)
	at com.google.cloud.spanner.SessionPool$PooledSession.write(SessionPool.java:201)
	at com.google.cloud.spanner.DatabaseClientImpl.write(DatabaseClientImpl.java:31)
	at com.google.cloud.spanner.it.ITLargeReadTest.setUpDatabase(ITLargeReadTest.java:111)
Caused by: io.grpc.StatusRuntimeException: NOT_FOUND: Database has been deleted
	at io.grpc.Status.asRuntimeException(Status.java:545)
	at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:442)
	at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:56)
	at com.google.cloud.spanner.spi.SpannerErrorInterceptor$1$1.onClose(SpannerErrorInterceptor.java:100)
	at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:56)
	at com.google.cloud.spanner.spi.WatchdogInterceptor$MonitoredCall$1.onClose(WatchdogInterceptor.java:190)
	at io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:56)
	at com.google.cloud.spanner.GceTestEnvConfig$GrpcErrorInjector$1$1.onClose(GceTestEnvConfig.java:119)
	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.close(ClientCallImpl.java:481)
	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.access$600(ClientCallImpl.java:398)
	at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:513)
	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:52)
	at io.grpc.internal.SerializingExecutor$TaskRunner.run(SerializingExecutor.java:154)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

It looks like there are multiple concurrent runs using the same instance, and they are tripping over each other. Could that be the case?
If so, we either need to update the test code to make database names unique to a run, or update the test runner to use separate instances.

The test code has randomization built in so that the database names are unique. It might be possible that there is at least one test where the randomization isn't working, or it might be possible that there is another type of entity that needs randomization.

OK. If you look in the activity log for the project that runs these tests, you should be able to see what user/process deleted the database, which could be helpful for debugging.

This was fixed by #1711

I'm seeing a similar issue in that, if I delete a DB, then recreate it using the same name, operations on it fail with "io.grpc.StatusRuntimeException: NOT_FOUND: Database has been deleted".  This is in a web app, and I'd been assuming that the single instance of SpannerOptions could be reused, but it appears that, each time the database is dropped, a new instance is required; e.g.
this.spannerOptions = SpannerOptions.newBuilder().build();

Is this expected?

Yes a new instance of SpannerOptions would need to be created. This is because the client internally maintains a session pool and that session pool is keyed against the database name. So if you give it the same database name, it will try to use the existing pool keyed against that name. But all the sessions in that pool are now invalid since the database got deleted.

Ok.  Thanks for clarifying that for me, and so quickly!


Need to add full working solutions to 47 challenges in the Front End Libraries section

With a quick search, I found there are currently 47 challenges in the Responsive Web Design section that are missing a full working solution.  I wan to use this issue to help track who wants to work on adding these and when the PRs get merged.
Please make sure to remove the // solution required and make sure to surround the solutions using html instead of js (see below for example).
```html
solution code goes here
```

Make sure to add full code (original challenge seed plus any changes needed to pass challenge) for all challenges in a section.  Please create a separate PR for each set of section challenges to make the review process faster.  I have listed the sections below with the applicable challenge file paths.  Before creating each PR, please test that all solutions pass by testing them locally using npm run test:curriculum.
Notes:

Only do the English files, because we can copy the solutions over to the other languages in one PR once all have been added to the English version.
Instead of write Closes #this-issue-number, just write Related to issue  when creating the actual PR.  We will close this issue once all solutions for all sections have been merged.

PR created:

[ ] Bootstrap (23challenges) - needs a volunteer
[ ] jQuery (17 challenges) - needs a volunteer
[ ] Sass (7 challenges) - needs a volunteer

PR merged:

[ ] Bootstrap
[ ] jQuery
[ ] Sass

Bootstrap

apply-the-default-bootstrap-button-style.english.md
call-out-optional-actions-with-btn-info.english.md
create-a-block-element-bootstrap-button.english.md
create-a-bootstrap-row.english.md
create-a-class-to-target-with-jquery-selectors.english.md
create-a-custom-heading.english.md
create-bootstrap-wells.english.md
ditch-custom-css-for-bootstrap.english.md
give-each-element-a-unique-id.english.md
house-our-page-within-a-bootstrap-container-fluid-div.english.md
label-bootstrap-buttons.english.md
label-bootstrap-wells.english.md
line-up-form-elements-responsively-with-bootstrap.english.md
make-images-mobile-responsive.english.md
responsively-style-checkboxes.english.md
responsively-style-radio-buttons.english.md
split-your-bootstrap-row.english.md
style-text-inputs-as-form-controls.english.md
taste-the-bootstrap-button-color-rainbow.english.md
use-a-span-to-target-inline-elements.english.md
use-comments-to-clarify-code.english.md
use-responsive-design-with-bootstrap-fluid-containers.english.md
warn-your-users-of-a-dangerous-action-with-btn-danger.english.md

jQuery

change-the-css-of-an-element-using-jquery.english.md
clone-an-element-using-jquery.english.md
delete-your-jquery-functions.english.md
disable-an-element-using-jquery.english.md
learn-how-script-tags-and-document-ready-work.english.md
remove-an-element-using-jquery.english.md
remove-classes-from-an-element-with-jquery.english.md
target-a-specific-child-of-an-element-using-jquery.english.md
target-elements-by-class-using-jquery.english.md
target-elements-by-id-using-jquery.english.md
target-even-elements-using-jquery.english.md
target-html-elements-with-selectors-using-jquery.english.md
target-the-children-of-an-element-using-jquery.english.md
target-the-parent-of-an-element-using-jquery.english.md
target-the-same-element-with-multiple-jquery-selectors.english.md
use-appendto-to-move-elements-with-jquery.english.md
use-jquery-to-modify-the-entire-page.english.md

Sass

apply-a-style-until-a-condition-is-met-with-while.english.md
create-reusable-css-with-mixins.english.md
extend-one-set-of-css-styles-to-another-element.english.md
nest-css-with-sass.english.md
split-your-styles-into-smaller-chunks-with-partials.english.md
store-data-with-sass-variables.english.md
use-if-and-else-to-add-logic-to-your-styles.english.md

I'll take care of the Bootstrap and jQuery challenges.

I can do the Sass ones.

Looks like this one is completed! 🎉


Feature/application remove organization member

Q
A

Bug fix?
no

New feature?
yes

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed tickets
#148

License
MIT

Doc PR
Before merge this PR it has to be merged the PR #157

@benatespina Requires rebase


[#5356] Delete GPG keys with user deletion

Had the same issue with my instance. The following code fixed it for me, it extends the actual behavior of the existing functions.

Codecov Report

Merging #5357 into master will increase coverage by 0.01%.
The diff coverage is 35.29%.

@@            Coverage Diff             @@
##           master    #5357      +/-   ##
==========================================
+ Coverage   37.35%   37.36%   +0.01%
==========================================
  Files         312      312
  Lines       46436    46453      +17
==========================================
+ Hits        17344    17355      +11
- Misses      26604    26608       +4
- Partials     2488     2490       +2

Impacted Files
Coverage Δ

models/user.go
44.37% <18.18%> (-0.28%)
:arrow_down:

models/gpg_key.go
55.45% <66.66%> (+0.21%)
:arrow_up:

models/repo_list.go
64.55% <0%> (+1.26%)
:arrow_up:

modules/process/manager.go
81.15% <0%> (+4.34%)
:arrow_up:

Continue to review full report at Codecov.

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

I think this also needs migration to delete gpg keys for already deleted users

Hi @JohnnyLeone thanks for your PR and issue reporting.  I think #5429 replaces this, does that solve your issue? If so I think we can close this pr.

@JohnnyLeone can you fix requested changes or you need help with this?

Isn't this fixed by #5429?

@zeripath yes looks like it is, thanks, closing


Fix for ASAN holding memory in fork loop

I'm currently working with a fuzzer based on Angora and noticed that when fuzzing with a binary that has been sanitized with ASAN the performance of the fuzzer (wrt execution of the instrumented binary) would drop significantly over time. The issue lies with the allocation of the buffers that are used to write to the fuzzer as ASAN holds on to this memory until execution stops. Directly writing the data through the socket fixes this issue.

@jbn605 Thank you for your contribution.


Switch language / syntax mode of current document

This is an update of @JakeStoeffler's PR #4276.  It's merged up with the latest master and addresses the main code review comments I made there.  I also added some simple unit tests.
I still have two concerns about merging this immediately, though:
1) The dropdown UI doesn't look great. It uses a native <select>, which is just hard to style... and the way the statusbar is laid out makes it look misaligned in this case:

It would look nicer if we used an HTML popup like code hints, context menus, and the Recent Projects dropdown... but it would definitely add a bunch more work here.  So maybe we can skate by with the current <select>-based UI for now.  @larz0, any thoughts?
2) This foregrounds all the bugs in #2911 a lot more.  I added a checklist of issues there.  Are there any that are prominent enough to act as blockers here?  (JS code hints seems like it might be the most glaring issue, but unfortunately that's one of the harder ones to fix too).

Hey what is the status on this i was just thinking about making a extension to auto save the untitled doc to my temp folder so i could use highlighting. If this is coming soon i wont waste my time. Thanks for all the awesome work you guys are doing!

This has been merged a while ago. Secondly it doesn't deal with untitled files.


Create a simplified vocabulary for naming projections.

Creating Projection objects is actually somewhat annoying -- especially for AlignmentRecord.  We should create "standard projections" for commonly-used schemas, which are named and described in an appropriate way, that can be used and combined rather than simply creating a new custom projection for every use of a Parquet file.
E.g. is there a projection for when you only need the names and metadata about reads? for when you need the full alignment?  For when you do (or don't) care about the mate- (or paired-end-) fields?

Closing unless we have a concrete proposal.


[BUG] report - Fix routing issue

Prior Issues
Are there any existing issues or PRs that relate to this problem? If so, link them here.
#2 #65 #3 #5 #6 #7 #8
What is the current behavior?
The pages are not linked to the correct routes

I think we should have a separation of concern regarding the routing between pages, and I have an idea on how to make things easier as the routing kind of confuse me and took me some time to figure out something about this project, what do you think

What do you suggest ?

I suggest we should have a route file that only specifies the routes and their components, and a file that only loops through the array of routes and displaying them, that way we can have room for improvements if time comes and it will be easy to update just like the screenshot below


Update Lambda examples to use node 20.x

Is your feature request related to a problem? Please describe.
There are multiple samples which uses Lambda Node.js versions which are end-of-life

nodejs16.x https://github.com/search?q=repo%3Aaws-samples%2Fserverless-coffee-workshop+"Runtime%3A+nodejs16.x"&type=code

Deprecation is on Jun 12, 2024 and function create will be blocked on Feb 28, 2025

nodejs14.x https://github.com/search?q=repo%3Aaws-samples%2Fserverless-coffee-workshop+"Runtime%3A+nodejs14.x"&type=code

Function create was blocked on Jan 9, 2024

Lambda Supported Runtimes https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
Describe the solution you'd like
Update Lambda examples to use node 20.x, which was made available on Nov 15, 2023
Describe alternatives you've considered
N/A

Hi @trivikr , the runtime has been upgraded to nodejs20.x, for details see #63


Update Helm to v3.3.4 and K8s to v1.18.9

Checklist

[x] Update changelog in CHANGELOG.md.

Being dependabot because it's broken. Bad 🤖
Going with a ping.


Flac file a ES background music

ES is already linked with libflac. It would be great to have an option to use flac files as background files. I tried
if (extension == ".mp3" || extension == ".ogg" || extension == ".flac" )
in es-core/src/AudioManager.cpp (line 159) but it does not work.

It actually does... I am writing a PR for that. FLAC decoding is done through SDL2 Mixer. What file didn't work for you @mistepien ?


Linearize_Point_to_Point may produce the wrong matrix size for MeshMapData%dM%m_uD

Bug description
The m_uD matrix produced by Linearize_Point_to_Pointfor a load mesh transfer is a square matrix based on the number of nodes in the Dest argument mesh. This matrix relates the change in moment at the destination mesh nodes to the change in displacement of the destination mesh nodes which is used in the dUdy matrix. When the destination load matrix has a different number of nodes than the destination displacement matrix, the assembly of m_uD into the global dUdy could overwrite data from other modules.
To Reproduce

Run the StC_test_OC4Semi_Linear_Tow regression test in the debugger
Set a breakpoint in FAST_Lin.f90 on lines 1912 and 3104 (dev) where the mesh linearization is performed and the m_uD matrix is used for the SrvD%y%TStCLoadMesh(j) and u_ED%TowerPtLoads.
The tower structural controller load and displacement meshes have one node. The TowerPtLoads mesh has 20 nodes, and the TowerLn2Mesh has 22 nodes. The m_uD matrix has shape (60 x 60) corresponding to the three directions in the TowerPtLoads mesh for each node.

Expected behavior
Since m_uD relates how changes in destination displacement affect the destination moments, it seems like the matrix should have size (60 x 66) based on the number of nodes in the destination load mesh (rows) and the destination motion mesh (columns). Unless it is assumed that the load mesh and motion mesh will have the same number of nodes or there is another matrix that m_uD should be multipled by which would affect its size.
OpenFAST Version

Latest version in dev branch.
 **************************************************************************************************
 OpenFAST

 Copyright (C) 2024 National Renewable Energy Laboratory
 Copyright (C) 2024 Envision Energy USA LTD

 This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY.
 See the "LICENSE" file distributed with this software for details.
 **************************************************************************************************

 OpenFAST-HEAD-HASH-NOTFOUND
 Compile Info:
  - Compiler: GCC version 11.3.0
  - Architecture: 64 bit
  - Precision: double
  - OpenMP: No
  - Date: Feb 13 2024
  - Time: 19:04:37
 Execution Info:
  - Date: 02/13/2024
  - Time: 19:11:46+0000

System Information (please complete the following information):

OS: macOS 13.6.4
Compiler: GFortran 11.3.0
Compiler settings: DOUBLE_PRECISION=ON BUILD_TESTING=ON

@andrew-platt @jjonkman @bjonkman I went ahead and created a github issue for the mesh linearization question so we can all comment on it.

During a follow-up discussion, we found where this was handled for BeamDyn when MESH_FE was used (https://github.com/OpenFAST/openfast/blob/main/modules/openfast-library/src/FAST_Lin.f90#L2677).  Note that this code piece isn't currently in use as the BD mesh load and motion are both defined at the trapezoidal quadrature points.
So something similar to this should have been done with the StC linearizations, but I didn't realize that at the time.  @deslaughter  is looking into how to automate the addition of the intermediate missing mapping to include in the m_ud calculation and following SetBlockMatrix call.

We also concluded that in the example given here, the m_uD matrix size being 60x60 instead of 60x66 is probably not going to change results very much.  The TowerLn2Mesh mesh includes two extra points at the very end of the node list for the base and top (nodes 21 & 22) in the above example, but is otherwise identical to the TowerPtLoads mesh (almost like a sibling mesh).  The 20 nodes in the TowerPtLoads mesh correspond exactly to the first 20 nodes in the TowerLn2Mesh mesh, so the linearization of the mapping puts all the correct motions to load mappings for those loads.
The ED blades are similarly mapped.  Since in both cases the load mesh is smaller than the motion mesh, there is no danger of overrunning the designated section of the dUdy matrix.  These two mesh sets and the BD mesh set referenced in my previous comment are the only ones we could find where this might be an issue (in the case of BD, the mesh points would not correspond, so the extra logic would be necessary there for the correct m_uD matrix).
However, despite there not really being an issue in this particular case, we feel for future maintainability this should be corrected (preferably in an automated way within the Linearize_X_to_Y routines).

@andrew-platt So this is just a problem with how the StC linearization was done?

I think so.  Though I'm not convinced it really makes any difference given the observation in the comment above about what would get written into dUdy.

@andrew-platt, thanks for the comments, I think they clearly explain what happened and why it shouldn't affect the results. I'm going to add some checks in the new code to verify that sibling meshes are being used for the load mesh transfers and linearization and use the BeamDyn method linked above if they aren't sibling meshes. This should help us catch/prevent this kind of issue going forward.

@bjonkman  To check that meshes are siblings or cousins without using the pointers, would it be sufficient to verify that  that Position, RefOrientation, ElementTable(i)%nelem, ElementTable(i)%maxelem, and ElementTable(i)%XElement are the same between the meshes?

@bjonkman, Thanks! I'll check the element nodes like you mentioned. This check is only performed during initialization and shouldn't take much time.


Select freeform character improvements

Built on top of https://github.com/lewish/asciiflow/pull/213
Thanks @ade-sede!

Fixes https://github.com/lewish/asciiflow/pull/223


fix: pass nodatatimeout

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

v1.6.2
v1.6.2
GitHub release

Your semantic-release bot :package::rocket:


Manual: add Kotlin version to subcommands example app

Codecov Report

Merging #1210 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1210      +/-   ##
============================================
+ Coverage     94.30%   94.32%   +0.01%
  Complexity      455      455
============================================
  Files             2        2
  Lines          6676     6663      -13
  Branches       1795     1793       -2
============================================
- Hits           6296     6285      -11
+ Misses          102      101       -1
+ Partials        278      277       -1

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/picocli/CommandLine.java
94.16% <0.00%> (+0.01%)
314.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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

Merged. Thank you for the contribution.
Not sure when I can push the rendered HTML, bit hectic now...


Package request: SSVOpenHexagon (clone of "Super Hexagon", game)

Project description
C++20 FOSS clone of "Super Hexagon". Depends on SSVStart, SSVEntitySystem, SSVLuaWrapper, SSVMenuSystem, JSONcpp, SFML2.0. Features JSON/LUA customizable game files, a soundtrack by BOSSFIGHT, pseudo-3D effects.
Metadata

homepage URL: https://openhexagon.org/
source URL: https://github.com/vittorioromeo/SSVOpenHexagon
license: afl
platforms: linux, darwin

Duplicate of https://github.com/NixOS/nixpkgs/issues/223292

Oh no, thanks for pointing to that issue.
Not found that before opening this request, so sorry.


Confilict with ABP vNEXT

.dropdown-menu {
max-height: 186px;
overflow: auto;
}
should not restrain the max height.

@zhongfang2018 fixed will be released next version


rune: add support for DI via env

Like #516, I think this should happen outside of #454.

For context: this will serve as a means of DI in Runes (for instance, injecting a custom logger, or runtime client)... perhaps a rune-ified paritytech/zones#20 (although may have a very different API, we shall see).

Perhaps our DI approach can satisfy the use case of #706: consumers of pattern libs could hook into parts of the pattern's execution at pattern-dev-defined waypoints.

Idea for this feature:
// 1. Define a key, to be used for applying to the placeholder.
const userId = Symbol()

// 2. Define a rune containing a placeholder(s) (the output of the `Rune._` factory).
const free = System.Account
  .value(Rune._(userId))
  .unhandle(undefined)
  .access("data", "free")

// 3. Apply a value/rune to the placeholder at any point in the tree.
const alexaFree = free.apply(userId, alexa.publicKey)

It's worth noting that in step 2, the type of Rune._ is inferred from its context (in the 1st param position of the value method call). Typing this could prove convoluted, as we'd need to ensure that the same key cannot placehold items of different types.
This feature will be especially useful for the injection of custom lifecycle handlers into patterns. Consider the virtual multisig pattern: currently, this pattern is a black box. It creates many pure proxies, submits existential deposits, performs ownership swaps and more. In the future, this pattern can expose symbols to be used for (optionally) applying callbacks to hook placeholders.
await VirtualMultisigRune
  .deployment(chain, {
    founders: [alexa.publicKey, billy.publicKey, carol.publicKey],
    threshold: 2,
  })
  .signed(signature({ sender: alexa }))
  .apply(onOwnershipSwap, (events) => { /* ... */ })
  .run()

The root Rune's run method would be this-typed as containing no placeheld items, unless they're typed as unioned with undefined. This would ensure that devs didn't accidentally .run() their Runes without having applied required types.


Seg fault on np.stack() of empty list

import numpy as np

#pythran export test(int)
def test(ii):
    mat=[]
    for u in range(ii):
        mat.append(np.zeros(10))
    return np.stack(mat,axis=0)

Try this with ii = 0. I get a segfault on the mac, latest version of pythran. To be fair, numpy issues a value error...

Fixed by #1453


Setting Stage / Host from the task

Hello ,
Just got to know about this project, it makes my life easier , its awesome !!!
i think it would be a good idea to set a task's stage or host from the config , so you do not need to add host when running the task i.e dep {{task}} .

thanks ,
something like this
task(‘do:task’, function () {
})->withStage($stage);
Where $stage is a string , … and we invoke the task with  ‘dep do:task’ , ... which would tell the task to run the application with stage $stage
i hope i am able to explain well

If I'm not mistaken this should work with $task->select() and/or $task->addSelector() but I don't know how it works. @antonmedv do you have an example how to use it? select() is the 7.0 implementation for https://deployer.org/docs/tasks.html#filtering is it?

I’m still need to find time to write new docs for v7. Will add select docs.

Ohh, I need that one too. Coz it's difficult to understand how to run prod, dev, staging tasks if I use the YAML configuration.
If I'm right, I have to use labels instead of roles, stage, host...
btw @lorisleiva  has written the awesome article about how to use deployer v7.  I've got many tricks from that. Perhaps he could help with the documentation.
For me, it would be enough to take a look at an example deploy.yaml with these filters...
@antonmedv would you public examples of deploy.yaml that show secrets of phpdeployer v7

Leave this here. @lorisleiva I LOVE YOU! <3<3 Thanks for taking the time to make it clear how this works!
https://lorisleiva.com/deploy-your-laravel-app-from-scratch/create-your-own-deployer-recipes#labelling-hosts-and-filtering-tasks

TL;DR:
host have labels, e.g.
host('example.org')
    ->set('labels', [
        'stage' => 'stage',
        'type' => ['db', 'web', 'something']
    ]);

And then you can set certain tasks to only run on these labels, e.g.
task('deploy:symlinks')->select('type=web'); // already defined tasks, the task is only filtered but NOT changed
task('something:new', function() {
    echo 'do something';
})->select('stage=stage,type=something');

Unfortunately, this doesn't work for YAML configuration (
`config:
application:  'app'
remote_user:  'deployer'
repository:   'git@bitbucket.org:wsp/app.git'
branch:       'master'
shared_dirs:
- uploads
writable_dirs:
- log
- cache
hosts:
app-prod-host1:
hostname:    app-host1
deploy_path: '/var/www/{{application}}.ru'
labels:
stage: prod
app-prod-host2:
hostname:    app-host2
deploy_path: '/var/www/{{application}}.ru'
labels:
stage: prod
app-stage:
hostname:    app-host3
deploy_path: '/var/www/{{application}}.ru'
labels:
stage: staging
tasks:
deploy:
- deploy:prepare
- deploy:vendors
- app:env
- app:build
- app:setup
- app:migrate-db
- app:clear-cache
- deploy:publish
app:clear-cache:
script: 'cd {{release_or_current_path}} && make clear-cache'
app:build:
script: 'cd {{release_or_current_path}} && make build-frontend'
app:setup:
script: 'cd {{release_or_current_path}} && make setup-app'
I need to launch app:migrate-db only for stage=prod
On the staging host this isn't needed
cmd: dep deploy 'stage=prod'
app:migrate-db:
script: 'cd {{release_or_current_path}} && make migrate-db'
select: stage=prod
after:
deploy:failed: deploy:unlock
`

@yakimov I have no clue about the Yaml configuration, but you can set a breakpoint into \Deployer\Executor\Master::run and into \Deployer\Task\Task::select and check what your configuration is doing. In theory select() should get stage=prod and the run should get an array ['=', 'stage', 'prod']

@Schrank yes, you are right. I wanted to do it the nearest weekend.


Create static validator set contract

Placeholder for the upcoming Proxy Contract.
See https://github.com/poanetwork/poa-bridge-contracts/blob/master/contracts/upgradeable_contracts/BaseBridgeValidators.sol for the interface

Design:
One ValidatorProxy.sol contract for the chain, represents the state of the validator set on-chain.
One BridgeValidators.sol contract that provides the api functions necessary to the bridge regarding validators, this allows us to not modify the bridge and have to deal with forking the poabridge repo. This also allows us to have a clean ValidatorProxy.sol contract not related to the bridge but useable by anyone wishing to get the validator set on chain.


ARROW-10178: [CI] Remove patch to fix Spark master build

Spark master branch has been updated for Arrow 1.0.1, the patch to fix Java compilation can be removed.

@ursabot crossbow submit test-conda-python-3.8-spark-master

I think we might have to add a patch to fix that nested timezone problem from earlier in #7804 , but lets see how the integration run goes

Spark needs to be patched again to handle structs with timestamps, adding the patch here and it can be removed after SPARK-32285 is complete.

@ursabot crossbow submit test-conda-python-3.8-spark-master

@kszucs the Spark integration tests are passing for master branch with this change, could you take a look? Thanks!

Spark needs to be patched again to handle structs with timestamps, adding the patch here and it can be removed after SPARK-32285 is complete. This is due to the changes in #7816

Was this patch necessary before?  I thought we should be running Spark in a backwards compatibility mode that doesn't honor the TZ info. (maybe this got dropped from the patch?)

Oh, I didn't see there was a backwards compatible setting. I ran the tests locally and obviously failed without it. Let me remove the patch and run again here.

@ursabot crossbow submit test-conda-python-3.8-spark-master

Thanks Bryan!


Add equations for landmark cost function.

@pifon2a PTAL ;)
We started doing experiments with landmarks and I thought this might be useful as a reference.

@MichaelGrupp Thank you for doing this!

Changed it, now it looks like this:

Much better! Thanks!

Merge requested by authorized user pifon2a. Merge queue now has a length of 1.

"Verify Pull Request"?


Failed to reload nginx on CentOS7

Now run "sudo /etc/init.d/nginx reload" when capistrano-unicorn-nginx reload nginx.
but this command was failed on CentOS7.
because "/etc/init.d/nginx" is not exist on CentOS7.
I want to run this command for nginx reload.
sudo service nginx restart
Can I modified this reload task ?
  task :reload do
    on roles :web do
      sudo nginx_service_path, 'reload'
    end
  end

I fixed this issue.
I merged these changes.
https://github.com/capistrano-plugins/capistrano-unicorn-nginx/pull/45
https://github.com/capistrano-plugins/capistrano-unicorn-nginx/pull/85


Pod-network-latency and Pod-network-corruption fail with the same error: CONTAINER RUNTIME ERROR make sure you are running as root and the runtime has been started: context deadline exceeded

Tried using RBACs for both litmus-admin and the experiment test corresponding sa + RBAC

Using v3.0.0-beta6 operator and experiments and the latest CRDs
I referred https://github.com/litmuschaos/litmus/issues/1538 but I see the solution is particular to container-kill
BTW there is a open question from the same issue "Is there a separate LIB_IMAGE I should be using for the other experiments (as below) please?"
Thank you

ah sorry.
We use cri-o
Everything works!


Delete device from the settings does not work: wrong password

Looks like a bug, to investigate

It's working today. Big fingers?


Add new Tuya repeater link

In place of a repurposed link which now goes to a water leak sensor lol
There are more in AliExpress nowadays, but this is the one I'm buying since it's currently the cheapest to Brazil.

Thanks


Implement QueryException for missing module in Filter Repository

          Should we implement a QueryException? When we fire a request without a specific module, we will get an exception that we accessed uninitialized variables. Maybe we should check for that a throw a specific exception?

Originally posted by @Katalam in https://github.com/innobraingmbh/laravel-onoffice-adapter/issues/13#issuecomment-2405801864

Closed by #15


Fix select() timeout format

For certain ARM architectures, select returned the following errno for tv_usec >= 1 second:

EINVAL The value contained within timeout is invalid.

Build status:

Linux
Windows


Info on control brightness in vm or vga out

Hi
I would like to know if your soft can also be able to control the output or the overall bright/dimm of a session ? Like if we run xrdp, can it be possible to have it dim ..
Also, while i did install your app over arch EndeavourOs , on a hp microserver Gen8 with a vga port, it don't do anything. not quite sure..  xrandr --current do give all rez possible ..  but will try over a nuc later.
thanks

Hi docop,

I would like to know if your soft can also be able to control the output or the overall bright/dimm of a session

My software does control brightness/session over a session.

Like if we run xrdp, can it be possible to have it dim

This is a very good question and I hadn't considered this a remote-access scenario. My guess is it should be able to because the screen is dimmed on a software level. If you happen to test it, please let me know the results. Although it sounds like you already have and it did not work according to your next piece of info.

Also, while i did install your app over arch EndeavourOs , on a hp microserver Gen8 with a vga port, it don't do anything

There's a lot of layers to this situation. Could you provide more details? Would the tray app show, but it wouldn't dim? If you run $ screendimmer in console, do you see any tracebacks/errors?
Thank you for reaching out with these details.

Hi  so while i did got an issues i guess with the hp, over a nuc, all did run. As for the remote session.. no. Perhaps it need to be link to the color or display setting of xorg in order to adjust virtual session or so.


feat(dashboard): add JWT secret editor modal

Preview URL: https://dashboard-staging-git-feat-custom-jwt-secret-nhost.vercel.app

Codecov Report

Merging #1453 (7766624) into main (378a668) will not change coverage.
 Consider uploading reports for the commit 898a7c8 to get more accurate results

@@           Coverage Diff           @@
##             main    #1453   +/-   ##
=======================================
  Coverage   85.92%   85.92%
=======================================
  Files          83       83
  Lines        9236     9236
  Branches      498      498
=======================================
  Hits         7936     7936
  Misses       1300     1300

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


Linux Server

I'm making a Minecraft Server with Linux but when trying to start it on the newest version I'm getting this error
[BDSX] MD5 Hash does not Matched
[BDSX] pdbcache.bin MD5 = BB083ED658B78C019D4F71F05C504AC0
[BDSX] bedrock_server.exe MD5 = 957723FFF53698D13A26B07573F26FE5
[BDSX] Please use 'npm i' to update it
Exited with code 255
Even when running 'npm i' it still doesn't work and the same error appears
Environment

OS: Linux 20
node.js Version 10.19.0
npm Version 6.14.4
git Version 2.25.1

Please provide a reproducible way at least.
The latest BDSX is launching correctly now.
Without knowing the exact context, I can only guess.

replaced with the wrong version of BDS.
using modified bedrock_server.exe by the other mod.
the computer virus modified bedrock_server.exe.

Please provide a reproducible way at least. The latest BDSX is launching correctly now.
Without knowing the exact context, I can only guess.

replaced with the wrong version of BDS.
using modified bedrock_server.exe by the other mod.
the computer virus modified bedrock_server.exe.

I downloaded the version just before I setup the server yesterday, <IP_ADDRESS> BDS
Its the file from the folder
there is nor antivirus or anything, I bought the server just before I tried to setup the minecraft server

I tried Reinstalling BDSX and BDS and both things don't work
Just ask me for any information you need


Fix null point crash

Description

Thread 12 (Thread 0x7fc4fe7fc700 (LWP 19462)):
#0  0x00007fc5446e74b9 in waitpid () from /lib64/libc.so.6
#1  0x00007fc544664f62 in do_system () from /lib64/libc.so.6
#2  0x00007fc544665311 in system () from /lib64/libc.so.6
#3  0x00007fc545183edf in print_core (signum=11, info=0xc000f89bf0,
    secret=0xc000f89ac0, oldact=<optimized out>)
    at /kindling/probe/src/cgo/catch_sig.cpp:37
#4  <signal handler called>
#5  0x0000000000ab7e20 in github.com/Kindling-project/kindling/collector/pkg/model.(*AttributeMap).ToStringMap ()
#6  0x000000c005118eb8 in ?? ()
#7  0x000000c0038f52c8 in ?? ()
#8  0x0000000000874de5 in (*jsonEncoder).safeAddString ()
#9  0x000000c002fb2000 in ?? ()
#10 0x0000000001ae0d73 in type:* ()
#11 0x000000c0004d3d00 in ?? ()
#12 0x000000c0023f6e40 in ?? ()
#13 0x0000000000788a22 in encoding/json.(*Encoder).Encode ()
#14 0x000000c000d8e0a0 in ?? ()
#15 0x0000000000000006 in ?? ()
#16 0x000000000000015b in ?? ()
#17 0x0000000001a808a0 in type:* ()
#18 0x00007fc5140f3278 in ?? ()
#19 0x000000000040d12d in runtime.getitab ()
#20 0x0000000000000050 in ?? ()
#21 0x000000c000f80000 in ?? ()
#22 0x000000c003bcd4f0 in ?? ()
#23 0x000000c0038f5348 in ?? ()
#24 0x0000000000874897 in (*jsonEncoder).addKey ()
#25 0x000000c002fb2000 in ?? ()
#26 0x0000000001b4bec1 in go:string.* ()
#27 0x000000c0038f5310 in ?? ()
#28 0x0000000000ab7ff9 in github.com/Kindling-project/kindling/collector/pkg/model.(*AttributeMap).String ()
#29 0x0000000000000000 in ?? ()

Related Issue

Motivation and Context

How Has This Been Tested?

Although this check is fair to make, I don't think it is the root cause of the issue. A nil of *AttributeMap shouldn't call this function.
What is the context of this error? Did you modify the code ever? Could you attach the crash stack printed by Go? It contains more valuable information to figure out the root cause.

After me add this check, this error has gone.

Yes, it will fix the current null pointer issue. But if we know which line of code calls the ToStringMap method and cause this issue, we can know why the *AttributeMap is nil and prevent the issue from the source.

我不确定是哪里导致的，堆栈中输出的信息比较有限。我其它地方也改了些代码，但更多的只是加了些日志输出，应该不影响。


Update rocPRIM to v0.3.2 prerelease.

0.3.2 prerelease happened earlier today and full release is scheduled for Friday. This release fixes some bugs and hopefully will allow me to enable more TF cub kernels on ROCm. Let's see what the CI has to say to the current state.

Looks like there are regressions w/ rocPRIM 0.3.2 (checkpoint_op)

I cannot reproduce this issue locally.
Jenkins: retest this please

@iotamudelta Now we have a check mark on a 2nd run. I guess the test might be flaky. Could you help try run it for multiple times on your local setup? Please refer to: https://stackoverflow.com/questions/44744493/how-can-i-ask-bazel-to-rerun-a-cached-test

I've run the this test 600 times on my machine in a loop using a simple script (couldn't get bazel to DTRT). No failures.


Feature to support ObjLoader Zbrush MRGB

https://forum.babylonjs.com/t/feature-for-obj-loader-zbrush-mrgb-support/53190/3

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15636/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15636/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15636/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15636/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15636/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15636/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15636/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15636/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15636/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15636/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15636/merge/testResults/webgpuplaywright/index.html


docs(root): update back to top guidance

Updated back to top guidance and accessibility tabs to include icon only variant, added new Figma images

Summary of the changes
Added new text to accessibility tab, added description of icon variants and new Figma images to guidance tab.
Related issue
Tell us the issue number. If suggesting an improvement or component, please discuss it with us in an issue first.
Checklist

[x] I have manually accessibility tested any changes, if relevant.
[x] I have raised this pull request against the develop branch

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

Happy with new content from design perspective


Use the clear buffer on fail option. Not using it is now deprecated.

Reasons are detailed in https://issues.apache.org/jira/browse/HBASE-9521
This makes errors simpler to understand: without this setting, the failed insertions are retried when we close the connection to HBase.

Thanks for the contribution! sorry for the lag.

I'm pleased to see that you now have the commit bit, Sean :-)


Re-add webpack dashboard

Readme refers to webpack dashboard, but it looks like it was yanked, according to the change history.
Any specific recommendations or plan for re-adding?

Webpack dashboard was removed for two reasons:

It prevents other information to show such as the listening port.
It prevents the output to be streamed to other pipe lines. For example if server.js is integrated to some other tool, the output should be plain text.

Since Rekit creates the most general project, so the plugin isn't suitable enough. You can add it back for the created project very easy as you see in the change history.
I've removed it also from readme, sorry for the confusion,


Whitelist of reported CVEs instead of suppressions

Is there any way to whitelist a reported CVEs with a mitigation (or explanation why the CVE is not in scope), so that the CVE is still reported in the output list (not like suppression where it is completly removed from the output) e.g. using whitlist in risk gate threshholds.

Suppression is not removed from the output, but moved to a (default collapsed) section of the report.


Inline workers does not work in Edge Legacy anymore

Operating System: Windows 10
Node Version: 12.14.0
NPM Version: 6.13.4
webpack Version: 4.44.2
worker-loader Version: 3.0.3

Expected Behavior
Inline worker should execute in Edge Legacy
Actual Behavior
Inline worker does not execute in Edge Legacy
Code
// webpack.config.js
let HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
	entry: './index.js',
	plugins: [new HtmlWebpackPlugin()]
};

// index.js
import TestWorker from 'worker-loader?inline=no-fallback!./worker';

let worker = new TestWorker();
console.log(worker);

// worker.js
console.log('Log from worker');

How Do We Reproduce?
The code should write "Log from worker" into the console. However, it does not work in Edge Legacy browser (tested on version 18.18363). The worker is created successfully, but its contents are not executed, so nothing gets logged into the console.
I have looked at the worker-loader code and found out that the problem is in URL.revokeObjectURL(objectURL); line in inline.js. When I commented out that line, Edge executed the worker contents. Wrapping the call in setTimeout with 1000ms delay worked as well, but that solution seems quite hacky.
This issue is not present in worker-loader 2.0.0

Feel free to send a fix:
if (URL.revokeObjectURL) {
  URL.revokeObjectURL(objectURL);
}

Should be easy

No, Edge Legacy actually supports URL.revokeObjectURL, but it does not like when the Blob URL is revoked "too quickly".

inline workers stopped working for me after upgrading to 3.x and changing inline: true to inline: 'no-fallback'

Investigating network shows a script with contents:
importScripts('http://localhost:4000/[object%20Module]');

@mpk Can you create reproducible test repo?

@Rush It is not you problem, please provide reproducible test repo, I will help

@evilebottnawi Sure, here you go: https://github.com/mpk/worker-loader-edge

@mpk to be honestly I can't reproduce :confused:

I'm having a similar issue with Chrome (87.0.4280.88) and Edgium (87.0.664.55) on worker-loader v3.0.6 with webpack v5.10.0.
It is worth noting that the worker loads fine on Firefox.
Definitely seems like a race condition because if I put a breakpoint at inline.js line 31 and continue after half a second then the worker loads correctly but if I disable the breakpoint then it does not load.
In light of this, the root cause appears to actually be a Chrome bug however I haven't found anything in their bug tracker.

I could reproduce this issue consistently on IE 11. Definitely revoking the object url immediately is issue. If I tried below code its working fine.
import TestWorker from 'worker-loader?inline=no-fallback!./worker';
let tmp = URL.revokeObjectURL;
URL.revokeObjectURL = function() {};
let worker = new TestWorker();
URL.revokeObjectURL = tmp;
console.log(worker);

Can you check revokeObjectURL is exist?

yes its there

Weird, it should work, no errors?

yeah, no errors

Looks bug in browser...

I'm also running into this issue with inline workers in IE11. Changing the URL revocation in inline.js to the following fixes it in my use case:
setTimeout(function() { URL.revokeObjectURL(objectURL) });

Very very very weird, somebody can provide versions and steps to reproduce, I am not against to fix it using setTimeout, but I want to investigate it

Can you clarify?

Here is pseudo code to reproduce.
// inline-worker.js
self.addEventListener('message', ({ data }) => {
  // (IE bug) this line is not work when inlineWorkerUrl was revoked.
  const url = Object.createObjectURL(new Blob(['something']));

  self.postMessage({ url });
});

// main.js
const objectUrl = URL.createObjectUrl(inlineWorkerBlob);
const worker = new Worker(objectUrl);

worker.addEventListener('message', () => {
  URL.revokeObjectUrl(objectUrl);
});

setTimeout(() => {
  // // expect to success, actual also succeed.
  worker.postMessage(1);
}, 1000);
setTimeout(() => {
  // expect to success, actual will fail because of bug
  // objectUrl was revoked at first callback event
  worker.postMessage(2);
}, 2000);

I don't understand...

Okay, maybe I'll capture some video stub with example repo for your understand.

What are you trying to achieve? I don't understand at all, here is a browser problem and that's it. We need search approach to fix it.

Oh, I was lost completely.
I was telling you what's the issue is.
So, back to how to fix it.
Maybe we got 2 options.

Give up self-closing and delegate revoking to the author who people using it.
Putting some codes to revoke when it closed. perhaps we need some special message for this and it will need to change original behavior.

// Inject stub if worker launched inline worker. (but we can't determine that at compile-time.)
// maybe here? https://github.com/webpack-contrib/worker-loader/blob/22275e9cb0b67bc008ea2b008542303493eede18/src/utils.js#L84
var origTerminate = worker.terminate;
worker.terminate = () => {
  URL.revokeObjectURL(objectUrl);
  return origTerminate.call(worker);
};
worker.addEventListener('message', ({ data }) => {
  if (data === ''$specialMessageForClosing'') {
  }
});

var origClose = self.close;
self.close = () => {
  self.postMessage('$specialMessageForClosing');
  origClose.call(self);
}

I think option-1 is reasonable.

If you forget to run URL.revokeObjectURL, you will have memory leak, If this problem is so complex I would rather say that we do not support workers in Edge Legacy browsers due bug in browsers and you can write workaround on application side.
If you need deeply help, please create reproducible repo, provide version of browser(s) and os information. I will write to Microsoft and ask them how we can fix it.

What about adding new option for manual revoke? Is this too complicated?
I'll post reproducible repo anyway.

I want to avoid new options if we can solve it on code level

I attached reproducible link and test results.
Also, I'm not used webpack or worker-loader on this testbed intentionally for simplifying the issue.
https://elasim.github.io/test/ie-inline-worker-bug

Browser version
Result

Win11 IE 11
X

Edge 15
X

Edge 16
X

Edge 17
X

Edge 18
X

hm, we can add window.navigator.msSaveOrOpenBlob check and if it is true we should always run https://github.com/webpack-contrib/worker-loader/blob/master/src/runtime/inline.js#L39

there are security error with using data-uri.
temporal URL.revokeObjectURL patching isn't useful with core-js is used.
app side workaround isn't acceptable with some use-case because of heavy workload.

by the way, we probably can merge PR #316 and write caveat about this issue on document or just close that. I'll respect your decision.

there are security error with using data-uri.

What is the problem? Do you mean CORS?

What is the problem? Do you mean CORS?

Umm.. It was script5022: securityerror. and it seems like a restriction rather than CORS.
https://docs.microsoft.com/en-us/previous-versions//cc848897(v=vs.85)?redirectedfrom=MSDN
Also, It could be CORS. After some investigation, I've found the information about spec for data-uri and same-origin-policy from stackoverflow. (https://stackoverflow.com/a/23895830)
It said same-origin-policy was changed for data-uri and that wasn't applied to data-uri before.

But this problem should be same with blob too

But this problem should be same with blob too

I agree that too. But spec and implementation does.
(IE is annoying and frustating always does 🤣)
Back to solution.
I want to suggest spliting loader with two parts.
first is child compiler which output will be string.
second is code injector which output will be same as current implements.
and if you don't want to make any breaking changes, Perhaps I need to make fork version of this.

What is webpack version you are use?

I'm using 5.

You need this loader only for inline? Because webpack 5 support worker out of box without this loader

Yes. This is the only loader can do apply babel-loader for inline-worker as far as I know.
By the way, I'm afraid bothering you because of this. If you are busy or it's annoying you, I'll handle this issue own myself.

Honestly because webpack v5 supports workers out of box I think we need new loader, which covert module code to blob, so you can built-in new Worker('./file.js', import.meta.url) feature without this loader.
I think we need deprecate it in near future in favor new Worker('./file.js', import.meta.url), more abilities, more options, better support.


construction-insert-material-entity appears instead of actual construction examine text.

Description
See screenshot.
Screenshots

Additional context
This can be seen by examining the particle accelerator at roundstart.

should go in #4213


LSP semantic tokens dont work

I have semantic tokens working in vscode (LSP protocol circa 3.16+). It doesn't appear working in Monaco. All other LSP messages, such as hover, folding, etc are fine in both products.
The playground example (url=https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-semantic-tokens-provider-example) implements highlighting at the client side, but the provideDocumentSemanticTokens method should clearly get the info from LSP call.

I have semantic tokens working in vscode (LSP protocol circa 3.16+). It doesn't appear working in Monaco. All other LSP messages, such as hover, folding, etc are fine in both products.
The playground example (url=https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-semantic-tokens-provider-example) implements highlighting at the client side, but the provideDocumentSemanticTokens method should clearly get the info from LSP call.

@Vadimtro The Monaco editor in its out-of-the-box form does not support the language server protocol. How are you connecting your language server with the Monaco editor?

https://github.com/TypeFox/monaco-languageclient

https://github.com/TypeFox/monaco-languageclient
I have modified example/client.ts to open websockets connection to language server. I presume the aforementioned semantic tokens provider example can be adopted to be fed from language server messages.

You should open an issue in the TypeFox/monaco-languageclient repository then.


An invisible newline after the password is accepted in password qlineedit

The account created with invisible chars in password caused by copy/paste, is not accessible when the password is typed manually...
We need to trim extra spaces or \n or \t in passwords...

fixed in 7642f639ef1ae7b178def73e070171e188db3c10