PIXI.glCore / WebGLTexture as a source to BaseTexture?

I noticed that the PIXI.glCore stuff exists, and must be part of the way of getting to more gl exposure... I'm curious what the plan is. Didn't see it being used directly in PIXI itself.
Wondering whether I'm just going down the wrong rabbit hole, or if I'm just misunderstanding how the pieces together, or if there's some other reason why BaseTexture doesn't use PIXI.glCore more directly. For example, being able to pass a PIXI.glCore.GLTexture.fromData() to BaseTexture.
Would be nice to generate textures at runtime without having to draw to canvas.... (I'm guessing the Graphics stuff does this somehow, but I didn't take too much of a peek there yet)

You can do that kind of operations with RenderTexture. It allows to generate textures on GPU side.
GLTexture exists per one renderer, while BaseTexture exists per many, and stores _glTextures[renderer.gl.id]

Thanks! Any more hints? renderer.render kinda brings me back full circle to needing the texture to begin with. e.g.:
var gTex = PIXI.glCore.GLTexture.fromData(gl, rgbData, canvasWidth, canvasHeight);
var rTex = PIXI.RenderTexture.create(canvasWidth, canvasHeight);
renderer.render(gTex, rTex);

I dont understand what do you want. But you can also pass canvas source to BaseTexture and then use setImageData on it, dont forget to call update() method of baseTexture after that. Anyway, if you want to manipulate rgb data with javascript, you wont be able to use it without uploading to GPU.

glCore is used by PIXI itself. If you write a plugin, new object that is somehow faster than PIXI Sprite or Mesh for some cases, you can use glCore for low-level operations.

gotcha... I guess I was getting at the difference between "The Easy Way" and "The Advanced Way" at https://goocreate.com/learn/procedural-textures/
For using canvas, I'm having trouble too... will post that on the forum though :)
(anyway I gotta call it a night soon)

ah nm got the canvas render to work :) thanks!

this guy could help? http://pixijs.github.io/pixi-examples-v2/#/basics/render-texture.js

closing for now as this seems solved! thanks @ivanpopelyshev


Document optional dependencies

https://dev.pandas.io/install.html#optional-dependencies for inspiration.
Also should include

whether it's included in a standard conda install dask
whether there's an extras for it.

Ideally we would have a CI build with all the oldest optional deps we support.
xref https://github.com/dask/dask/pull/5209

Could I take up this issue? And any ideas on how to proceed?

@pmk21 that would be great!  I'd recommend looking directly at the setup.py file:
https://github.com/dask/dask/blob/master/setup.py
You can also show dependencies with conda:
❯ conda search dask=2.5.0 --info
Loading channels: done
dask 2.5.0 py_0
---------------
file name   : dask-2.5.0-py_0.tar.bz2
name        : dask
version     : 2.5.0
build       : py_0
build number: 0
size        : 12 KB
license     : BSD 3-Clause
subdir      : noarch
url         : https://repo.anaconda.com/pkgs/main/noarch/dask-2.5.0-py_0.tar.bz2
md5         : 2df2ebb838e0aa2a58e83e1769f5d301
timestamp   : 2019-09-30 13:44:46 UTC
dependencies:
  - bokeh >=1.0.0
  - cloudpickle >=0.2.1
  - cytoolz >=0.7.3
  - dask-core 2.5.0.*
  - distributed >=2.5.0
  - fsspec >=0.5.1
  - numpy >=1.13.0
  - pandas >=0.21.0
  - partd >=0.3.10
  - python >=3.5
  - toolz >=0.7.3

https://github.com/dask/dask/blob/master/setup.py

Sorry a little lost here. The setup.py file shows all the required dependencies right? I'm not able to find the optional dependencies.

You can also show dependencies with conda:
❯ conda search dask=2.5.0 --info
Loading channels: done
dask 2.5.0 py_0
---------------
file name   : dask-2.5.0-py_0.tar.bz2
name        : dask
version     : 2.5.0
build       : py_0
build number: 0
size        : 12 KB
license     : BSD 3-Clause
subdir      : noarch
url         : https://repo.anaconda.com/pkgs/main/noarch/dask-2.5.0-py_0.tar.bz2
md5         : 2df2ebb838e0aa2a58e83e1769f5d301
timestamp   : 2019-09-30 13:44:46 UTC
dependencies:
  - bokeh >=1.0.0
  - cloudpickle >=0.2.1
  - cytoolz >=0.7.3
  - dask-core 2.5.0.*
  - distributed >=2.5.0
  - fsspec >=0.5.1
  - numpy >=1.13.0
  - pandas >=0.21.0
  - partd >=0.3.10
  - python >=3.5
  - toolz >=0.7.3

The conda output also shows the same dependencies as present in the setup.py file.
However I found quite a few dependencies in the CI files which aren't present in the setup.py file.
dependencies:
  # required dependencies
  - python=3.7.*
  - numpy=1.17.*
  - pandas=0.25.*
  # test dependencies
  - pytest
  - pytest-xdist
  - moto
  - fastparquet
  - h5py
  - pytables
  - zarr
  - tiledb-py
  - fsspec>=0.5.1
  - sqlalchemy
  - pyarrow
  # other -- IO
  - bcolz
  - blosc
  - boto3
  - botocore
  - bokeh
  - httpretty
  - chest
  - s3fs
  - cloudpickle
  - crick
  - cytoolz
  - distributed==2.0.1
  - graphviz
  - ipython
  - lz4
  - numba
  - partd
  - psutil
  - requests
  - scikit-image
  - scikit-learn
  - scipy
  - toolz
  - python-snappy
  - sparse
  - cachey
  - python-graphviz
  - pandas-datareader
  - pip
  - pip:
      - cityhash
      - mmh3
      - xxhash

And also what should be the exact format of showing optional dependencies? And should these dependencies be displayed in the install section of the docs?

I think the extra_requires are additional dependencies:
https://github.com/dask/dask/blob/13ddde5d68b4a68e3f16c8b5d4cd4ea3f8da578e/setup.py#L10-L20
Core bits of Dask can be optionally install:
pip install "dask[array]"       # Install requirements for dask array
pip install "dask[bag]"         # Install requirements for dask bag
pip install "dask[dataframe]"   # Install requirements for dask dataframe

See https://docs.dask.org/en/latest/install.html#pip
I don't think pip has an easy way to list the dependencies easily -- but dask on it's own, no array, no dataframe is only dependent on Python, I think.  What I was thinking was just listing the dependencies listed in extra_requires as optional dependencies.  @TomAugspurger may have been thinking anything which throws an ImportError.  This could, without too much trouble, be done with git grep/grep:
(dask-test) bzaitlen@dgx15:~/GitRepos/dask$ git grep -B 1 "ImportError" # -B 1 means print 1 line before match
dask/__init__.py-    from .delayed import delayed
dask/__init__.py:except ImportError:
--
dask/__init__.py-    from .base import visualize, compute, persist, optimize, is_dask_collection
dask/__init__.py:except ImportError:
--
dask/array/__init__.py-
dask/array/__init__.py:except ImportError as e:
--
dask/array/__init__.py-    )
dask/array/__init__.py:    raise ImportError(str(e) + "\n\n" + msg)
--
dask/array/core.py-    from cytoolz.curried import pluck
dask/array/core.py:except ImportError:
--
dask/array/fft.py-    import scipy
dask/array/fft.py-    import scipy.fftpack
dask/array/fft.py:except ImportError:

From the above you can see that dask has optional dependencies on cytoolz, scipy, etc.
As for the CI files, yes those will have a lot more packages listed as testing requires more infrastructure.  For example, py.test is only necessary for testing

Thanks @quasiben. I will work on it.

Closed by #5456


Ensure grpc handshake in getToken call is properly closed

See here for original question/todo: https://github.com/textileio/js-threads/pull/51/files?file-filters[]=.json&file-filters[]=.md&file-filters[]=.ts#r403431586

Fixed in master


Default generate scripts uses insecure defaults

The docs in this section, generate certs that use
Signature Algorithm: sha1WithRSAEncryption. Among other things it also sends yes "" for all answers for certificate generation input. It should use sha256 at least.
/cc @ishustava @bblincoe @bijukunjummen

Can add -sha256 to all the req commands.

covered through config_server/types package.


Every 10 or 15 mns without using the extension, it prompts me to login again when I open the To Do tab.
This is without any restart or closing vs code, it stays on for the entire time while I'm working.

When you log back in, do you have to do the full login flow that goes to your browser or are you able to pick an account in the account picker that is presumably "already logged in"?

Nope I can pick it from the picker without doing the full flow again, but it's still very bothersome 🥶

Totally. It's because of this line:
https://github.com/TylerLeonhardt/vscode-msft-todo-unofficial/blob/main/src/extension.ts#L35
The event fires every 10-15 because the auth token is being refreshed. We need to change the logic there to not clear things out:
https://github.com/TylerLeonhardt/vscode-msft-todo-unofficial/blob/main/src/clientFactories/microsoftToDoClientFactory.ts#L47-L60

It happens also to me


Add "Run at startup" Feature in group policies

Description of the new feature / enhancement
Add a group policy allowing to run PowerToys at startup
Example : Run at startup (User can choose, On, Off)
Scenario when this would be used?
When admins use ADMX for apply group policies
Supporting information
This had already been proposed by @Aaron-Junker
https://github.com/microsoft/PowerToys/issues/14008

This is a bit hard to realize for "force enabled".
We can easily implement ...

"force disabled": Exit PT Run after a GPO check, if started with an autostart parameter.
"user choice": If GPO is not configured we don't have a forced setting in the Registry that we can respect. So the user has to choose anyway.

But for "force enabled" we either have to be able to create the auto run task without starting the runner or the policy can only be applied after opening PT (settings).

Not a new toy. This is for controlling the PowerToys setting.


Video stuck but audio is working while playing the already played video in one viewcontroller tableview to second viewcontroller

I have two screens. In the first screen's table view loaded multiple videos and working properly. Now In the second screen another tableview present where I loaded selected videos which are already played on my 1st screen that means they are all in the cache. Now in the second-screen video getting stuck but the audio working properly.
Please help me.

@Barnali-Roy
Same issue I am facing any solution you have found?


I can't remove my channel from my odysee account

Bug
I can't delete my channel from odysee.
To Reproduce

Go to 'Channel page'
Click on 'Edit'
Scroll down to 'Other'
Click on 'Channel delete'
Confirm it
Error pops out

Expected behavior
I expected to be deleted from my odysee account.
Screenshots

Additional context
It says at the end (From 6.): 'Error removing your claim or endorsement'.
I also contact odysee per email since now, and I showed them the issue, and still didn't get the reply, I'm not sure, if they got my email message, I checked their email adress to make sure I didn't sent to someone else.

We'll take care of this via the help desk, please wait for a reply there.

I will, thank you for the support.


Add key string represent in json file

For Example :
"Keys": [{
"IsUppercase": false,
"Key": 67,
"StringKey": "X"
}],

I wrote on the issue that you opened that this is not required and I wouldn't do it.
Why did do it anyway? Are you using it for other needs?

Sorry about that……


how to make fuzzingdriver  support c?

when execute codeql database create who-db --language=c --command=make, it generate the error: A fatal error occurred: There's no CodeQL extractor named 'c' installed.

Hi @Ricardio609
Better to include C++ instead of C, I think CodeQL has no problem with making C programs with C++ keyword for --language.
Test it please .
Thanks.

Thanks. I tried it and the result is as you said.


added a fille for Cocoapods

add  RNZip.podspec,support Cocoapods
in podfile:
pod 'RNZIp', :path => './node_modules/react-native-zip-archive'

Cool!


ros_realtime: 1.0.25-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros_realtime to 1.0.25-1:

upstream repository: https://github.com/ros/ros_realtime.git
release repository: https://github.com/ros-gbp/ros_realtime-release.git
distro file: noetic/distribution.yaml
bloom version: 0.10.7
previous version for package: null

ros_realtime

No changes

@davefeilseifer friendly ping.

done and done

ros_realtime should specify a license in the package.xml, could you add one?
Could you also add a top level LICENSE file to the repo?
Thanks!


Gitea Actions - Follow logs

Feature Description
I would love to have the option to follow Action logs automatically when I view them while the job is running.
Screenshots
No response

I think this is a duplicate of https://github.com/go-gitea/gitea/issues/25186.
Maybe the title of this issue should be changed to include Follow logs because that's the first thing I tried to search for when looking for this feature request.

[Actions] Auto scroll feature ("Follow Logs")


allow errand configuraiton during apply-changes

Allows for errand configuration during apply changes via a configuration yaml file
Fixes https://github.com/pivotal-cf/om/issues/92
[https://www.pivotaltracker.com/story/show/161848001]
Signed-off-by: Huan Wang<EMAIL_ADDRESS>

While doing it we also created a helper function called fetchProductGUID() to fetch product guid from both staged-product and deployed-product, since products that are staged for deletion are not shown up in staged-product endpoint.
This brings up a refactor opportunity to change all the guid fetching logic to use the helper function, since there is a edge case that staged-product does not contain the guid of the product.
But we didn't spend the time doing it, as it didn't appears to a problem in the past and it does not affect the functionaility we added.

@fredwangwang @rheaton
We are about to pull this in, but we've been testing it on the command line, and couldn't get the errands to skip. Is there something missing? using the format defined in the readme.
We have the following config:
errands:
  cf:
    smoke_tests: false
    push-usage-service: false
    push-apps-manager: false
    deploy-notifications: false
    deploy-notifications-ui: false
    deploy-autoscaler: false
    test-autoscaling: false
    metric_registrar_smoke_test: false
    nfsbrokerpush: false
    smbbrokerpush: false

and run: om --env env.yml apply-changes -c config.yml, but we get output for each of the errands we thought we disabled. Is there a layer missing that just needs more documentation?

that errands config format is wrong. Here is an example (its in the issue as well):
errands:
  product1_name:
    run_pre_delete:
      errand_a: true
      errand_b: false
    run_post_deploy:
      errand_c: "default"
  product2_name:
    run_post_deploy:
      errand_a: false
    run_pre_delete:
      errand_b: "default"

we dicided to go with this because it's the format used in the api docs directly: http://docs.pivotal.io/pivotalcf/2-3/opsman-api/#triggering-an-install-process

validated. Tested. merged.


The instructions need updating to new versions of truffle as these instructions don't work any longer

Please update

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

ID: 8a001b81-9481-749c-534f-b2dd8f7e429a
Version Independent ID: 765d557a-b80e-bffb-fab3-c9a6eeed0e73
Content: Use Truffle to connect to Azure Blockchain Service - Azure Blockchain
Content Source: articles/blockchain/service/connect-truffle.md
Service: azure-blockchain
GitHub Login: @PatAltimore
Microsoft Alias: patricka

Thank you for your feedback @xtianus79 .
Could you please let us know the output of truffle version as well as the error you are seeing?
I have assigned the issue to the content author @PatAltimore  to evaluate and update as appropriate.

Hi @xtianus79,
Thanks for the feedback. The prerequisite requirements can be challenging. This had not been updated in a while. It's the same as the prereqs for https://docs.microsoft.com/en-us/azure/blockchain/service/connect-vscode. We're going to retire the article. I'll talk more about it in your other issue https://github.com/MicrosoftDocs/azure-docs/issues/50959.
Thanks,
Pat
#please-close


Disable schedule in caasp pipelines for now

If not, one hits https://github.com/SUSE/cap/issues/63

for caasp, yes. We need to trigger them manually until we fix https://github.com/SUSE/cap/issues/63 so the pipeline definitions can be flown.


fix: Retain cursor on form submit

@mountiny PR for the cursor issue.
Details

Added blurOnSubmit for the PasswordForm

Fixed Issues

$ https://github.com/Expensify/App/issues/5191
Tests

Verified focus stays on "Return" and "Enter"
Verified that S.ignin button click shouldn't retain the focus

QA Steps

Go to the Password form page
Try to enter the password
Press Enter and ensure that the input is still focused.

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web
https://user-images.githubusercontent.com/3069065/133500036-645acd3c-c8e8-4b77-8d0e-fa8fe40fb42a.mov
Mobile Web

https://user-images.githubusercontent.com/3069065/133499908-fb79ef6e-2c49-4692-86c1-333214cda45e.mov
Desktop

https://user-images.githubusercontent.com/3069065/133499747-9c5da634-ccc7-4cb9-9161-261dd49e9094.mov
iOS

https://user-images.githubusercontent.com/3069065/133499857-62172868-a4d5-4a5b-a925-f2d06cb8deda.mov
Android
https://user-images.githubusercontent.com/3069065/133500261-7f13cdd4-c724-45da-a5cc-a43df6eb53ad.mov

Hi @mananjadhav, I've placed this issue on hold as per this update, as we are prioritising issues related to a feature release scheduled for 9/24. As an apology for the delay, we will add a $100 bonus as a thank you for waiting.

Thanks for notifying @kadiealexander. Nothing to apologise for :)
Let me know if we can help in anyway for the upcoming release

Hi @mananjadhav, the n6-hold was lifted so we can go ahead with this one.
Although this PR is quite small and simple, I would prefer if we could always merge main branch to any of the n6-hold PRs and re-test. I doubt there will be any regression here, but better safe than sorry.
Thank you very much and I hope it won't take too long. Thank you for your patience 🙇

🚀 Deployed to staging by @mountiny in version: 1.1.8-10 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Editor User Settings Page?

Editor Settings (located in the same window tab containing the logout option)

Decide whether or not there is a need to develop such a page
Personally, I think this can be removed as I don't see a need for it. However, we were not able to have the necessary conversation to decide this issue.

BACKLOGGED: Ran out of time to implement; needed to focus on integrating with the backend team to set up new endpoints that worked with the new schema before deploying changes to the server.

This should be addressed and will likely result in the removal of this option from the described window tab.


Order problem of  and

BOS and EOS have the same count in the vocabulary.  The counter sort the utterances by frequency. Since BOS and EOS  have the same count in the vocabulary, the order is random. Sometimes BOS is 4 in vocabulary. Sometimes EOS is 4 in vocabulary.

That should cause a problem in a single run right?

In single run, there is no problem. It will raise some problems when reloading the model to generate text.


How to trigger ionViewDidEnter() on tab4, when i come back from another page to my supertabs page

Brief Explanation: I used supertabs in homepage and created 4 tabs. By using rootnavcontroller, I navigate to another page. When i come back to homepage (it by default lands on 4th tab from where i navigated) and I want to call ionViewDidEnter() of the page called in 4th tab.
How do i do this ?  Please help.

Any help expected ??

Hi, I'm facing the same situation, here is my solution:
Instead of trying to trigger ionViewDidEnter() on your superTab, you can simply use the ionViewDidLeave() (or willLeave) method of the view you are coming back from!
Then there are 2 cases:

the action you want to perform concern a sevice: you can simply call the same service from the other page
the action you want to perform concern the superTab component: you have to find a way to get notified by the other view ionViewDidLeave method (a solution could be to pass a Promise as a param to this view, and to resolve the promise when ionViewDidLeave is called).

I can provide you a demo if needed!


Creating a new cluster deis workflow 2.10.0 - S3 storage using iam permissions fails.

(K8s 1.4.8)
I update the storage and S3 section with helm inspect values deis/workflow | sed -n '1!p' > deis-values.yaml and use the updated file to start my cluster.
S3 permissions errors when starting
registry:
boto.exception.S3ResponseError: S3ResponseError: 403 Forbidden
<?xml version="1.0" encoding="UTF-8"?>
<Error>InvalidAccessKeyId<Message>The AWS Access Key Id you provided does not exist in our records.</Message><AWSAccessKeyId></AWSAccessKeyId><RequestId>1671A70DD29DC9DC</RequestId><HostId>0swvmNcpCG3jwdTDDxJVLb7rtYdNda3mDC5zSXD726liYjFeKMpTN+11nvGM8GUPi78sOgAGiqg=</HostId></Error>

database:
server started
wal_e.main   ERROR    MSG: AWS Access Key credential is required but not provided
        HINT: Pass "--aws-access-key-id" or set the environment variable "AWS_ACCESS_KEY_ID".
        STRUCTURED: time=2017-01-23T23:27:19.399328-00 pid=101

I have been using the s3 permissions successfully with helmc installs with deis-workflow 2.x since June 2016.
I am able to run s3 queries with the aws cli on the kubernetes nodes hosting the two failing deis components.

closed via deis/postgres#186

Actually, I'm still getting this with the latest 2.13.

can you file a report over at deis/postgres along with your logs and a sample values.yaml and the output of kubectl -n deis get po <my-postgres-pod> -o yaml so we can take a look? Thanks.


ES6 template import

Controller separated to different file and add template import with es6 syntaxis.

Personally I don't think that having controller in a separate file is a good approach.

This approach was taken in basic training. Mostly people move controller to separate file and it already became guideline for angularjs development. People expect it to be in different file.


Add retry to ssh tunnel creation

Fixes: #55

@MiroCillik https://github.com/keboola/db-extractor-common/blob/master/src/Keboola/DbExtractor/RetryProxy.php#L17


review sql cases

Pull Request Test Coverage Report for Build 1811

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.005%) to 57.222%

Files with Coverage Reduction
New Missed Lines
%

sharding-orchestration/sharding-orchestration-center/sharding-orchestration-center-apollo/src/main/java/org/apache/shardingsphere/orchestration/center/instance/ApolloInstance.java
1
59.46%

Totals

Change from base Build 883:
-0.005%

Covered Lines:
11069

Relevant Lines:
19344

💛  - Coveralls

Codecov Report

Merging #4372 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #4372   +/-   ##
=========================================
  Coverage     53.76%   53.76%
  Complexity      351      351
=========================================
  Files          1048     1048
  Lines         19344    19344
  Branches       3560     3560
=========================================
  Hits          10401    10401
  Misses         8286     8286
  Partials        657      657

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 c2ff73c...f0e549d. Read the comment docs.


mqtt_publisher does not work in atsame54_xpro board

mqtt_publisher does not work in atsame54_xpro board
After building the example using
west build -b atsame54_xpro samples/net/mqtt_publisher
The board ethernet interface link gets up and I am able to ping the board's hardcoded ip address "<IP_ADDRESS>"
But the application fails when the mqtt clients try to connect to the mqtt broker.
Zephyr v.3.0
Zephyr_sdk version 0.14.1
Platform : atsame54_xpro board ( https://docs.zephyrproject.org/2.6.0/boards/arm/atsame54_xpro/doc/index.html )
Console log :
uart:~$ *** Booting Zephyr OS build zephyr-v3.0.0-3319-g8566b00df3e1  ***
[00:00:00.255,000] <err> mdio_sam: transfer timedout MDIO
[00:00:00.510,000] <err> mdio_sam: transfer timedout MDIO
[00:00:00.765,000] <err> mdio_sam: transfer timedout MDIO
[00:00:01.020,000] <err> mdio_sam: transfer timedout MDIO
[00:00:01.020,000] <inf> eth_sam: MAC: 02:04:25:4c:b8:00
[00:00:01.020,000] <inf> eth_sam: Queue 0 activated
[00:00:01.026,000] <inf> net_config: Initializing network
[00:00:01.026,000] <inf> net_config: Waiting interface 1 (0x20000388) to be up...
[00:00:05.059,000] <inf> phy_mii: PHY (0) Link speed 100 Mb, full duplex
[00:00:05.059,000] <inf> eth_sam: Link up
[00:00:05.059,000] <inf> net_config: Interface 1 (0x20000388) coming up
[00:00:05.060,000] <inf> net_config: IPv4 address: <IP_ADDRESS>
[00:00:05.060,000] <inf> net_mqtt_publisher_sample: attempting to connect:
[00:00:08.060,000] <inf> net_mqtt_publisher_sample: mqtt_connect: -116 <ERROR>
[00:00:11.561,000] <inf> net_mqtt_publisher_sample: mqtt_connect: -116 <ERROR>
[00:00:15.061,000] <inf> net_mqtt_publisher_sample: mqtt_connect: -116 <ERROR>
[00:00:18.562,000] <inf> net_mqtt_publisher_sample: mqtt_connect: -116 <ERROR>
[00:00:22.062,000] <inf> net_mqtt_publisher_sample: mqtt_connect: -116 <ERROR>
[00:00:25.563,000] <inf> net_mqtt_publisher_sample: mqtt_connect: -116 <ERROR>
[00:00:29.063,000] <inf> net_mqtt_publisher_sample: mqtt_connect: -116 <ERROR>
[00:00:32.564,000] <inf> net_mqtt_publisher_sample: mqtt_connect: -116 <ERROR>
[00:00:36.064,000] <inf> net_mqtt_publisher_sample: mqtt_connect: -116 <ERROR>
[00:00:39.565,000] <inf> net_mqtt_publisher_sample: mqtt_connect: -116 <ERROR>
[00:00:40.065,000] <inf> net_mqtt_publisher_sample: try_to_connect: -22 <ERROR>
[00:00:45.065,000] <inf> net_mqtt_publisher_sample: attempting to connect:
uart:~$ uart:~$ *** Booting Zephyr OS build zephyr-v3.0.0-3319-g8566b00df3e1  **

But the application fails when the mqtt clients try to connect to the mqtt broker.

Which broker? Because Mosquito will not allow external connections by default.

@carlescufi
I am running mosquitto but I suspect I have wrong settings in my mosquitto.conf I will check.
In https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/net/mqtt_publisher/src/config.h#L24
define ZEPHYR_ADDR		"<IP_ADDRESS>"
#define SERVER_ADDR		"<IP_ADDRESS>"

If SERVER_ADDR is the IP address of the machine running the mosquitto broker?
Then what ZEPHYR_ADDR  is?

ZEPHYR_ADDR is the address of the device using Zephyr, but it's not really used by the sample, must've been some leftover from the past. SERVER_ADDR defaults to CONFIG_NET_CONFIG_PEER_IPV4_ADDR and that config should be set to the IP address of the host running mosquitto broker.
As for the mosquitto configuration, it's well explained in https://mosquitto.org/documentation/authentication-methods/ what needs to be enabeld (in this particular case you’re interested in unauthenticated access).

Wrong mosquitto configuration and CONFIG_NET_CONFIG_PEER_IPV4_ADDR  were the issue.
mqtt_publisher  example tested with no TLS worked ok.
Thanks @rlubos , @carlescufi


payload-file-path broken

Description
This example does not work

My action
      - name: Notify success
        if: ${{ success() }}
        uses<EMAIL_ADDRESS>        with:
          payload-file-path: "./.github/workflows/payload-success.json"

My webhook url is set at the job level
jobs:
  tests:
    runs-on: ubuntu-latest
    env:
      SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

I see this in logs
Warning: Unexpected input(s) 'payload-file-path', valid inputs are ['channel-id', 'slack-message', 'payload']

payload-file-path appears to be missing as an input here:
https://github.com/slackapi/slack-github-action/blob/main/action.yml
What type of issue is this? (place an x in one of the [ ])

[x] bug
[ ] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 1.17.0
node version:
OS version(s):
Steps to reproduce:

Create action with payload-file-path per example

Expected result:
Payload is used
Actual result:
Fails to send
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

You can see same behavior in your integration test https://github.com/slackapi/slack-github-action/runs/4789855821?check_suite_focus=true

Nice catch @rafi-fisker!
I just pushed a fix up to the main branch

Released version v1.18.0 https://github.com/slackapi/slack-github-action/releases/tag/v1.18.0


FastVectorHighlighter

(moved from https://code.google.com/p/solrnet/issues/detail?id=149 )
Support FastVectorHighlighter and its options, see http://wiki.apache.org/solr/HighlightingParameters#hl.fragListBuilder

Current issue has been closed as part of cleanup process, which is tracked in https://github.com/SolrNet/SolrNet/issues/338.
Please reopen if needed, hopefully helping bringing up to date with current code.


parallel gnomock + mssql + test fixes

- Summary

- Test plan

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Codecov Report

Merging #20 (c9f3ef0) into master (5a85985) will decrease coverage by 0.29%.
The diff coverage is 78.94%.

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
- Coverage   84.25%   83.95%   -0.30%
==========================================
  Files         159      160       +1
  Lines        5386     5398      +12
==========================================
- Hits         4538     4532       -6
- Misses        521      543      +22
+ Partials      327      323       -4

Impacted Files
Coverage Δ

config/defaults.go
100.00% <ø> (ø)

config/logger.go
93.10% <ø> (ø)

hosts/rest/admin/users/search.go
87.50% <ø> (ø)

hosts/rest/router.go
77.50% <ø> (-0.55%)
:arrow_down:

hosts/rpc/admin/codes/codes.go
91.83% <ø> (ø)

models/code/signup.go
77.77% <ø> (ø)

models/user/role.go
82.85% <ø> (+4.47%)
:arrow_up:

store/log/logger.go
100.00% <ø> (ø)

store/drivers/dialector.go
64.86% <25.00%> (-11.61%)
:arrow_down:

mail/client.go
86.93% <80.64%> (+1.09%)
:arrow_up:

... and 10 more

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 5a85985...c9f3ef0. Read the comment docs.


Please invite me to the Recode-Hive GitHub Community Organization

Name
harshline
Discord Username (if applicable)
harshline
Additional Context
I am new to GitHub and came here from your course.

Invitation sent to join the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. You can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/recodehive/people


Import: Vehicle State Only Shows as "Updating"

Describe the bug
The vehicle state, as displayed in the Grafana dashboards, only shows as "updating". Previous imported data from TeslaFi correctly shows sleeping, online, driving etc but the only data I'm getting from Teslamate is "Updating"
To Reproduce
Install latest on Raspberry Pi 4 running Raspian latest
Link to Tesla Model 3 SR+ UK
View "States" panel in dashboards
Expected behavior
I would expect Teslamate to accurately reflect the vehicle state with new data as it has with the imported TeslaFi data.
Relevant entries from the logs
https://gist.github.com/drewpost/6c7b2f29815b8378da761989e9af2cba

Screenshots

Operating environment

TeslaMate Version: 1.19.1
Type of installation: Docker
OS: Raspbian 10

v1.19.2 has resolved this issue for me. Thanks!


Add MRI 2.2 and 2.3, fix 2.0 and 2.1 to use latest.

Travis: unf_ext failed to install on ruby-head.
I think ruby-head failures should be ignored - even if there is a problem, it likely can't be fixed here. And if it can, there will be a PR for it.
Also, I think jruby-head is a better test than jruby.

@e2 oh it's okay now


What tool was used to create the anitmated gif?

I realize this is off topic / not a real issue but what tool was used to create animated gif on the home page? cc: @loranallensmith

IIRC, @loranallensmith commented on Twitter that he made it using Photoshop and After Effects.


kics: 1.5.15 -> 1.6.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Checkmarx/kics/releases.
meta.description for kics is: "Find security vulnerabilities, compliance issues, and infrastructure misconfigurations early in the development\ncycle of your infrastructure-as-code with KICS by Checkmarx.\n"
meta.homepage for kics is: "https://github.com/Checkmarx/kics"
meta.changelog for kics is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.6.0 with grep in /nix/store/hi46irc1qckxjx3ii1ya2cqgzh86ynhc-kics-1.6.0
found 1.6.0 in filename of file in /nix/store/hi46irc1qckxjx3ii1ya2cqgzh86ynhc-kics-1.6.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
kics

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hi46irc1qckxjx3ii1ya2cqgzh86ynhc-kics-1.6.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kics https://github.com/r-ryantm/nixpkgs/archive/4d21c2cca927be990db2f5607e21e66564b7f3c0.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/hi46irc1qckxjx3ii1ya2cqgzh86ynhc-kics-1.6.0
ls -la /nix/store/hi46irc1qckxjx3ii1ya2cqgzh86ynhc-kics-1.6.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

kics

Maintainer pings
cc @patryk4815 for testing.

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

1 package built:

kics


pip-compile errors

Just testing for the first time.
pip-compile

  ERROR: Cannot install mbari-pbp because these package versions have conflicting dependencies.
Discarding matplotlib==3.6.2 (from -r requirements.txt (line 15)) to proceed the resolution
  ERROR: Cannot install mbari-pbp because these package versions have conflicting dependencies.
Discarding numpy==1.23.5 (from -r requirements.txt (line 19)) to proceed the resolution
  ERROR: Cannot install mbari-pbp because these package versions have conflicting dependencies.
Discarding pandas==1.5.1 (from -r requirements.txt (line 29)) to proceed the resolution
  ERROR: Cannot install mbari-pbp because these package versions have conflicting dependencies.
Discarding seaborn==0.10.1 (from -r requirements.txt (line 47)) to proceed the resolution
  WARNING: loguru 0.7.2 does not provide the extra 'mypy'
  WARNING: loguru 0.7.2 does not provide the extra 'mypy'
  ERROR: Cannot install lifewatch-pypam and mbari-pbp because these package versions have conflicting dependencies.
Discarding scipy==1.9.3 (from -r requirements.txt (line 45)) to proceed the resolution
  WARNING: loguru 0.7.2 does not provide the extra 'mypy'
WARNING: --strip-extras is becoming the default in version 8.0.0. To silence this warning, either use --strip-extras to opt into the new default or use --no-strip-extras to retain the existing behavior.

Not seeing this issue so, just closing.


feat: preserve original ref info

Needed for https://github.com/stoplightio/json-schema-viewer/issues/125
Adds a new context property to RegularNode that lets us store auxiliary info, such as the original $ref string we need for JSV125.
LMK if this is a good place to put it, or rather it should go into meta or similar?

@P0lip it turns out that what I had wasn't enough (when yalced into JSV) because the oneOf merging was hiding the fact that one of the items were $refed.
I added some logic, which - while still not perfect - I think is an acceptable compromise: We only try to resolve $refs within oneOf items when the combiner node doesn't have any properties itself. (It's a pure { oneOf: [{}, {}] } type node.)
This works for me in JSV, but please take another look at the code as I've changed stuff around.


Not actually ChatGPT. Is it only with me?

I finished developing my application with this package when I started asking the AI questions. I quickly realised, the AI did not remember past texts like the real ChatGPT, but I thought it was just a bug, so I continued asking.
I then asked it what it's name was, where it responded with Susan. Again, I thought it was just a bug so I continued asking. Finally, I asked it this:
Me: What company were you developed by?
AI: I was developed by Amazon Web Services (AWS) as part of their suite of cloud-based services.
I just wanted to make sure if this was true for others. If not, then I guess it has something to do with me.

OpenAI does not keep a history like Chat GPT does... If you want to send a history, keep a record of the past requests and responses and send them with a new request.

No library uses ChatGPT currently. The API isn't public. The about text of this repo is lying to you to get easy GitHub stars.

As @MarkHoath mentioned ChatGPT contains added functionality on top of the OpenAI API - this library is simply a facade to this API to make it easier to create something like ChatGPT or anything else you might think of. Closing the issue on that basis - thank you!


Allow for GC of cache when CleanWindow is set

This change makes BigCache an io.Closer. When closed, the cleaning goroutine is signaled to exit. This prevents the following:

Stack leak due to goroutines not exiting.
Heap leak do to the cleaning goroutine keeping a reference to the cache.
Leak of the resources associated with maintaining the time.Ticker.

Fixes #82
As a test for this I wrote the following program:
package main

import (
	"bytes"
	"log"
	"runtime"
	"time"

	"github.com/allegro/bigcache"
)

var data = bytes.Repeat([]byte("W"), 2^24)

func main() {
	go func() {
		var stats runtime.MemStats
		for {
			runtime.ReadMemStats(&stats)
			log.Printf("HeapAlloc: %d\n", stats.HeapAlloc)
			log.Printf("StackSys: %d\n", stats.StackSys)
			log.Printf("NumGoroutine: %d\n", runtime.NumGoroutine())
			time.Sleep(3 * time.Second)
		}
	}()

	for {
		doSomething()
	}
}

func doSomething() {
	config := bigcache.DefaultConfig(10 * time.Minute)
	config.CleanWindow = time.Minute
	cache, err := bigcache.NewBigCache(config)
	if err != nil {
		log.Fatal(err)
	}
	defer func() {
		err := cache.Close()
		if err != nil {
			log.Fatal(err)
		}
	}()
	err = cache.Set("data", data)
	if err != nil {
		log.Fatal(err)
	}
}

This prints out some runtime stats every three seconds and then proceeds to create, use, and destroy a BigCache. Without the fix these were the results:
2018/05/18 17:41:40 HeapAlloc: 445304
2018/05/18 17:41:40 StackSys: 262144
2018/05/18 17:41:40 NumGoroutine: 2
2018/05/18 17:41:43 HeapAlloc:<PHONE_NUMBER>6
2018/05/18 17:41:43 StackSys: 1310720
2018/05/18 17:41:43 NumGoroutine: 267
2018/05/18 17:41:46 HeapAlloc:<PHONE_NUMBER>32
2018/05/18 17:41:46 StackSys: 1703936
2018/05/18 17:41:46 NumGoroutine: 465
2018/05/18 17:41:49 HeapAlloc:<PHONE_NUMBER>64
2018/05/18 17:41:49 StackSys: 2097152
2018/05/18 17:41:49 NumGoroutine: 645
2018/05/18 17:41:52 HeapAlloc:<PHONE_NUMBER>88
2018/05/18 17:41:52 StackSys: 2523136
2018/05/18 17:41:52 NumGoroutine: 842
2018/05/18 17:41:55 HeapAlloc:<PHONE_NUMBER>08
2018/05/18 17:41:55 StackSys: 2916352
2018/05/18 17:41:55 NumGoroutine: 1042
2018/05/18 17:41:58 HeapAlloc:<PHONE_NUMBER>12
2018/05/18 17:41:58 StackSys: 3211264
2018/05/18 17:41:58 NumGoroutine: 1184
2018/05/18 17:42:01 HeapAlloc:<PHONE_NUMBER>96
2018/05/18 17:42:01 StackSys: 3604480
2018/05/18 17:42:01 NumGoroutine: 1380
2018/05/18 17:42:04 HeapAlloc:<PHONE_NUMBER>84
2018/05/18 17:42:04 StackSys: 4063232
2018/05/18 17:42:04 NumGoroutine: 1582
runtime: out of memory: cannot allocate 327680-byte block<PHONE_NUMBER>44 in use)
fatal error: out of memory

...

It ran for 24 seconds and then crashed from OOM. The stacks grew to 4 MB with 1582 goroutines and heap grew to 505 GB. I then ran the experiment with the fix:
2018/05/18 17:56:55 HeapAlloc: 429080
2018/05/18 17:56:55 StackSys: 262144
2018/05/18 17:56:55 NumGoroutine: 2
2018/05/18 17:56:58 HeapAlloc: 135035336
2018/05/18 17:56:58 StackSys: 655360
2018/05/18 17:56:58 NumGoroutine: 2
2018/05/18 17:57:01 HeapAlloc: 343322000
2018/05/18 17:57:01 StackSys: 786432
2018/05/18 17:57:01 NumGoroutine: 2
...
2018/05/18 17:58:49 HeapAlloc: 198509072
2018/05/18 17:58:49 StackSys: 1179648
2018/05/18 17:58:49 NumGoroutine: 2
2018/05/18 17:58:52 HeapAlloc: 255337424
2018/05/18 17:58:52 StackSys: 1179648
2018/05/18 17:58:52 NumGoroutine: 2
2018/05/18 17:58:55 HeapAlloc: 416465072
2018/05/18 17:58:55 StackSys: 1179648
2018/05/18 17:58:55 NumGoroutine: 2
signal: interrupt

It ran for over a minute before I got bored and killed it. The stacks leveled off at 1 MB with 2 goroutines and heap stayed around 100-500 MB.
In my experience, growth in stacks due to goroutine leaks are usually something you see in programs running in production for weeks to months. Memory use keeps growing over time and heap dumps show no sign of where the memory is being used. This can be better demonstrated with a smaller payload so the program doesn't crash but I don't think that demonstration is needed here.

Pushed the test changes and signed the commit.

@janisz or @adamdubiel any thoughts before I merge this?

@cristaloleg Can we merge it?

@janisz LGTM (have no idea why it wasn't merged before)

@jasonkeene thanks for the contribution and sorry for a such delay 😢


grid_stat failing unit tests

I wrote some unit tests for grid_stat and they failed trying to find the correct files. Need to improve how we traverse and match files to templates. The incorrect files can be found if there is a mix of files with and without dated subdirs. Failures will also occur if a template is longer than the actual filepath.

pcp_combine and grid_stat unit tests now run successfully. I found some bugs in the string template time extraction code that is now improved.


Refactor notebook "Launch menu" items

Relevant Ticket

SPB-1502

Summary of Changes

Changed which services are available to users to interact with and run notebooks in "launch" menu with an update to the _config.yml file.
Current available services (binder and colab) will be replaced with TIKE, which is a jupyterhub  service hosted by Space Telescope (See https://timeseries.science.stsci.edu/)

To clarify: will this change automatically launch the specific Notebook the user was looking at? Or will this just add a generic link to the TIKE platform?

To clarify: will this change automatically launch the specific Notebook the user was looking at? Or will this just add a generic link to the TIKE platform?

It launches the specific notebook the user was looking at.


Update golangci linter and clean go mod cache

The goal of this PR is to fix a problem seen in https://github.com/microsoft/hcsshim/pull/1704. In that PR, it appears that the linter continuously fails with
level=error msg="Running error: 1 error occurred:\n\t* can't run linter goanalysis_metalinter: buildir: failed to load package : could not load export data: no export data for \"github.com/Microsoft/hcsshim/test/internal/require\"\n\n"

However, in that PR that package has been removed and all references to it in the repo have been updated.
We believe this is an issue with the linter's mod cache being out of date. This PR aims to address that by updating the linter version and adding an additional step beforehand to clean the mod cache.

Lol thanks for fixing the errors @helsaawy, merging :)


Pin node version in pre-commit hooks

We run pre-commit in our CI pipeline and it suddenly started failing yesterday with the following error when initializing the markdownlint-cli2 hook:
[INFO] Installing environment for https://github.com/DavidAnson/markdownlint-cli2.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/root/.cache/pre-commit/repojphqc849/node_env-default/bin/node', '/root/.cache/pre-commit/repojphqc849/node_env-default/bin/npm', 'pack')
return code: 254
stdout: (none)
stderr:
    (node:192) ExperimentalWarning: Support for loading ES Module in require() is an experimental feature and might change at any time
    (Use `node --trace-warnings ...` to show where the warning was created)
    npm warn tarball tarball data for file:/root/.cache/pre-commit/repojphqc849/ (null) seems to be corrupted. Trying again.
    npm warn tarball tarball data for file:/root/.cache/pre-commit/repojphqc849/ (null) seems to be corrupted. Trying again.
    npm error code ENOENT
    npm error syscall lstat
    npm error path /root/.cache/pre-commit/repojphqc849/arsers/jsonc-parse.js
    npm error errno -2
    npm error enoent ENOENT: no such file or directory, lstat '/root/.cache/pre-commit/repojphqc849/arsers/jsonc-parse.js'
    npm error enoent This is related to npm not being able to find a file.
    npm error enoent
    npm error A complete log of this run can be found in: /root/.npm/_logs/2024-10-17T02_41_01_730Z-debug-0.log
Check the log at /root/.cache/pre-commit/pre-commit.log

I was able to reproduce this locally as well after running pre-commit clean to get rid of the cache. In the log I noticed that node 23.0.0 is used. I am not entirely sure what causes this (I see that it is looking for arsers/jsonc-parse.js instead of parsers/jsonc-parse.js.
pre-commit hooks can specify a language_version so I propose to use this. nodeenv actually has the ability to use the LTS version so that would make it consistent with the Dockerfile:
https://github.com/DavidAnson/markdownlint-cli2/blob/da711fa8b30421506086eb2dc7ea0a6c3cb27b9f/docker/Dockerfile#L15

While I completely agree this change is appropriate, when I made it four years ago I was told very clearly by the pre-commit team that they did NOT want tools doing so and I had to revert the change. I don't agree that performance is more important than correctness, but it's their tool and people who choose to use it should play by their rules.
If that team's stance has changed in the last four years, I would love to hear that. If you can please point to documentation or reach out to one of them to confirm this is now acceptable practice, I am happy accept your PR to fix this.
Here is the relevant conversation: https://github.com/igorshubovych/markdownlint-cli/issues/157

Thank you for asking! It's clear the per-commit team still does not want tools doing this. I'm not sure where to go from here other than closing this issue/PR.
https://github.com/igorshubovych/markdownlint-cli/issues/157#issuecomment-2422673415

What is confusing to me is that I have node < 23 installed on my system, yet pre-commit downloads and uses the latest version (23.0.0). I'll open an issue with pre-commit regarding that.
I'll close this issue and the PR then.

For anyone running into this issue in CI, there are some solutions I can propose:

install node LTS via nodeenv: python -m nodeenv --node lts --python-virtualenv (assuming that there is a virtualenv)
we have a separate job that runs markdownlint-cli2 using the markdownlint-cli2 image, so we can skip the hook when running pre-commit: SKIP=markdownlint-cli2 pre-commit run --all-files

Thanks for the added info, @mschoettle!

Maybe something will change as the 'pre-commit' framework has the very same problem in it's latest commit, see the node tests in CI of https://github.com/pre-commit/pre-commit/tree/611195a088a29821961c5ddae2f4312f748f4a85.


How to solve logging for multiple db providers

I have to figure out how to use logging into database via multiple db providers.
Currently it is used Serilog - MsSql Sink, but I cannot found any official version of db Sinks for MySql and PostgreSql.
Any idea? 😊

Hi!
What do you mean "official version"? From Serilog or from Microsoft/PostgreSQL/Oracle?
PostgreSQL - Serilog.Sinks.PostgreSQL (from Serilog Wiki)
Unfortunately, they're not mentioning MySql in their wiki, but there is package Serilog.Sinks.MySql.

I meant that mssql sink is provided from official Serilog repository, but these sinks for mysql and postgresql unfortunately not. I will test these package as well. 🙂Thanks
@TomasHubelbauer - what do you think?


Mini documentation fix: Provide argument for log message in example

@raphiz Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@raphiz Thank you for signing the Contributor License Agreement!

Thanks, that is merged and back ported.


Identifiers validation failed for dataset Avifauna de los Parques Ecológicos Distritales de Montaña del Distrito Capital

Identifier validation failed for the dataset Avifauna de los Parques Ecológicos Distritales de Montaña del Distrito Capital:

Crawler attempt: 170
Publishing organization: Secretaría Distrital de Ambiente
Publishing country: COLOMBIA
Installation: Datos sobre Biodiversidad de Colombia
Number of occurrences indexed for this dataset at the time of the issue: 1296
Cause: GBIF IDs hit maximum allowed - 50%, duplicates - 100%, total records count 5464, absent records count 5464
Step metrics:

Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3042179/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Avifauna de los Parques Ecológicos Distritales de Montaña del Distrito Capital : https://doi.org/10.15472/dslemn.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

For this dataset we can continue the ingestion process, the publisher did a change in how occurrenceID are created and is not possible to recover the original information

Yes I will allow ingestion for this dataset.


Add fileSize to the consume() call

This will allow consumers such as unzip to utilize the data without needing to inspect the reader.

No longer needed.


Video Demo

Could you put a video demo or images so we know what the system looks like before we go through the process of deploying it.

That's a wonderful idea, Thanks for the suggestion. We are on it!


]tatin.UnInstallPackage returns more information than it should

It reports in detail what it is doing, but when its done it also prints a list of all packages.
It is questionable whether that makes sense, but if it does the user command should return it as a matrix, not a vector.

Fixed in 0.91.1


Allow reading github token from path

Hello!
This is an attempt at fixing #238. I had a look into urfave/cli, but it seems like the FilePath option they provide, only allows you to set default values from files, not override functionality.
I'm a little bit unsure about the error logging. The logger seems to depend on the arguments, and the arguments (would) depend on the logger. I ended up just using standard fmt commands because I don't think it's worth the complexity, trying to partially parse arguments to set up a logger and then parse the rest. I could move the action function behind the part where the logger is created, but I think it makes sense to keep it as part of the command validation.
I have not written any go code before, so if something looks weird, don't assume I had my reasons :smile:
Closes #238

I got to think about it a little bit, I am also thinking about just replacing urfave/cli.

Do you plan on letting this PR through first, or should I wait until you've replaced it?

I need some time to think about the alternative ways, I disliked already the single flag used by the GitHub app, if this gets merged the users could start using it the same way which would result in breaking changes if I change it again to a better solution. Give me some time to come back to this PR.

Thanks for you effort, I have replaced it by https://github.com/promhippie/github_exporter/pull/245 now.


Fix HdfsStorageOperator will not load the hdfs-site configured at common.properties

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Will fixed at https://github.com/apache/dolphinscheduler/pull/16141


Need package icons for each standard library

For all the standard libraries we need to have icons. These icons will be displayed when listing them in central as well as Choreo market place. These icons are part of the package. The below example is from central,

The below list is in two parts just to show that some will be listed in Choreo market place. But at the end of the day all we need is package icons for all of the libraries.
Libraries listed both in central and Choreo market place
Libraries which has a client will be listed in Choreo market place as connectors. For clients also we will be using the same icon which we have for packages.

[x] email
[x] grpc
[x] websub
[x] tcp
[x] udp

Request/Response

[x] http

Streaming

[x] websocket

Remote File

[x] ftp

Messaging

[x] nats
[x] stan
[x] kafka
[x] rabbitmq

Database

[x] sql
[x] java.jdbc
[x] mysql
[x] mssql
[x] oracledb
[x] postgresql

Libraries only listed in central

[x] io
[x] url
[x] java.arrays
[x] random
[x] regex
[x] task
[x] xmldata
[x] os
[x] xslt
[x] uuid
[x] log
[x] cache
[x] mime
[x] websubhub
[x] graphql
[x] protobuf

Time

[x] time

File

[x] file

Security

[x] jwt
[x] oauth2
[x] crypto
[x] auth

We decided to use package icon as the connector icon for connectors that do not have an icon declared in the display annotation. Therefore, it is not explicitly needed to set the icon in the display annotation for connectors in these libraries and the package level icon (set in Ballerina.toml) will be used.

This task is completed. Hence closing the issue.


Added supporting Guzzle 6

I really can't find what's changed because of tab-to-space converts in your code. but Guzzle 6 is not supported in version 1.4


Update/zuul printer output based on arguments

I created this draft PR to show my proposal for the Zuul printer, to not show the whole tenant -> project -> pipeline -> job hierarchy when only querying for jobs.
My proposal is to add a new CLI argument --complete (other naming proposals are welcome) that, when enabled, will show the whole Zuul hierarchy + the actual list of jobs when querying for jobs.
Example when enabled:
Environment: env
  System: system
    Tenant: local
      Projects:
        Project: project1
          Pipeline: check
            Job: some-job
            Job: another-job
            Total jobs found in query for pipeline 'check': 2
      Jobs:
        Job: some-job
        Job: another-job

Example when disabled:
Environment: env
  System: system
    Tenant: local
      Jobs:
        Job: some-job
        Job: another-job

The default value of the argument is False, so in order to get the Zuul hierarchy users must ask for it explicitly.

Is there a point in adding the additional --complete flag? We already have -v flag that can be used in case of more or less verbose output.  Although it defined now as
-v, --verbose         Causes Cibyl to print more debug messages. Adding multiple -v will increase the verbosity.
to be used in conjunction with
--debug, -d           turn on debug
So using -v as a standalone flag can be used in case of more/less elaborate output as well. And when -v combined with -d it will also increase the verbosity of debugging messages.
Implementation wise it is possible to do in colored.py. E.g by avoiding printing
result.add(self.palette.blue('Pipeline: '), 0)  if verbosity level is low.
P.S.
In the future, I will be nice to refactor the printers and model classes by adding to model classes an information about the color, indentation and verbosity level (by adding v/vv/vvv)  for every model class fields that are printed currently by different printers/clored.py. Similar information   about the color, indentation and verbosity level  can be specified to other messages as well (e.g. debugging messages).

That's a good idea!
The only issue I can think of is that, with the increased verbosity, the output may end up too cluttered.
I'm going to check this approach.

Closing this draft, as new proposal was opened in #495


College Board Units Review Ticket

Study Guide: https://eshaank1.github.io/csa//2024/10/09/CBUnitsOverview.html

Assignment
Points
Grade
Evidence

Pull Request (Integration)
2
1.68

Relevancy Checklist (Peer)
2
1.84
https://nighthawkcoders.github.io/portfolio_2025/csa/unit4-p1/unit4-hwquiz

Lesson (Group)
1
0.9
https://nighthawkcoders.github.io/portfolio_2025/csa/unit4-p1/unit4-1

Homework, Popcorn Hacks
1 x 8
0.9 x 8

Individual Contribution
1
0.88
https://github.com/hanlunli/portfolio_2025/commits/main/?author=eshaank1

Personal Notebooks / Blogs
1
0.9
https://eshaank1.github.io/csa/

Total
15
13.4
Definitely could have done more and gone above/beyond on the hacks, but I think my understanding and learning was good and the team teach I created/presented/graded with my team was informative

Skill
Points
Grade
Evidence

Work Habits (Analytics)
1
0.9

Team Planning (Issue)
1
0.85
https://docs.google.com/document/d/1HmLY5Y8AhCI-ywkJN--SPko2PLmuIy6ZeAN53ms-5Vw/edit?tab=t.0#heading=h.qxshvcy5zn66

Presentation Memories
1
0.9
https://nighthawkcoders.github.io/portfolio_2025/csa/unit4-p1/unit4-hwquiz

Grading and Feedback
1
0.88
https://docs.google.com/spreadsheets/d/1SLxMPSwAvMJ70X8zk0H9UwJXmyqYC2hpS6DJrjmEX2g/edit?gid=988447649#gid=988447649

Beyond Perfunctory
1
0.91
https://github.com/eshaank1/csa/commits/main/  I worked on all my hacks and homework for all the other team teaches here, I have 40 commits.  I also created my own custom theme on my blogs to reflect my personalization. https://github.com/hanlunli/portfolio_2025/commits/main/?author=eshaank1 On the team teach repository I created the homework assignment for the class and made some changes across these 2 commits.

Total
5
4.44
I think I did good but I definitely could have gone above and beyond in some portions of my team teach.  We also should have stuck to using the GitHub ecosystem and making our lesson plan in an issue instead of a Google Doc.

Lesson Review - Topic Relevancy (Student Review)

Assignment
Weightage
Grade
Comments

College Board Coverage
20
18
All College Board topics are covered and demonstrate clear knowledge

Java Examples
30
28
Examples are clear and help understand the topic and lesson better , easy to understand.

Popcorn Hack Usage
10
9
Popcorn hacks are engaging and add to the understanding of the lesson. Some are challenging

Homework
10
9
Homework is challenging, covers all topics discussed. Extra credit homework is optional

Grading Plan
10
9
All grading was done on time

Original and Creative
10
9
Fun animation, but not a lot of creativity

Total
90
81
Overall, very good team teach. Hacks were engaging. Could improve interactivity and creativity

Why would you send me to first assignment in CSP as blog memory for this unit?

hi your blog was really good and had pretty indepth learning. your i like ur study guide for csa cb units

Hi Eshaan,
Nice job getting 0.9 on your homeworks, you are getting solid scores. I like how instead of a "cheat sheet", you made a study guide organized by units.

Extensive coverage of team teaches and clear organization of the study guide through highlighting is a great way to review the content that we have covered in class.

I liked how you made yourself a study guide, and had a "more info" button. I also liked how you were able to have all the links to your homework in one place, and I think that will serve as something that you can look back on in the future.

Hi Eshaan,
I liked your study guide and how you linked the hacks for more information.

I really like how you covered all the parts of a table and I really like the different colors (and subtopic division) for the CB study guide. I really like the memories you included of you creating the homework and the bonus explanation mcs.

Your layout for the study guide was very comprehensive and looks appealing enough to go back on and learn.

Hi Eshaan,
I liked how you re-evaluated the use of Google Docs for planning, we should've used an .md or .ipynb file instead. The highlighting is also very reflective and should come in useful for planning for the AP exam.

Blog had indepth learning and went over some of the units in it. Did a homework, which had bonus explanations and bonus solutions, which could help learn iterations.  Highlighted topics he had the most struggle on. Shows what he has learned so far through the teamteaches.

I like how you had more info buttons for topics you struggled with. Your blog was very detailed overall.

I like your study guide. And how detailed everything is on your notes.

I really like your review guide that allows you to be even more prepared for the AP exam in May. Its a good way to make sure your prepared and thinking ahead.

I like how organized your blog is. The highlighting was really good and made everything stand out. Good job

Blog - bonus explanations are nice
CB and PBL (ie organized accomplishments)
Memory - nice memory in regards to improvement with the drive
Relevancy - talks about how he did hw
Beyond Perfunctory - showcases learning and development through blog

I like your AP CSA study guide that is interactive. That will definitely help you out in the future.  I like the idea of using the GitHub ecosystem instead of a google doc.


Texture broken with mipmaps enabled

Godot version
3.4 beta1
System information
W10
Issue description
I have a texture that can't be imported with mipmaps enabled. It shows this error:
 Expected data size of 1528 bytes in Image::create(), got instead 1527 bytes.
 drivers/gles3/rasterizer_storage_gles3.cpp:757 - Condition "!read.ptr()" is true.

And image format shows Lum8. The texture becomes black rectangle.
This doesn't happen with other textures, even smaller ones.
Apparently it was fine some time ago and only broke recently. Also works in 4.0.
Steps to reproduce

Copy this to your project

Enable Mipmaps in import options

Minimal reproduction project
No response

Confirmed on Jetpaca with this texture: https://github.com/KOBUGE-Games/jetpaca/blob/master/art/intro_sky_bg.png
It's a regression specific to 3.x (present in 3.4-beta1 and latest 3.x commit).

Had a couple older builds lying around, the bug is not reproduced in a69cc9f13da50ddf18452cfac2a5755624e1e971 (May 22), but it is reproducible in 83ad0dddad5da10f4917de9902c13aace2a9ae68 (July 8).
Time to bisect...

Bisected to #47854, CC @mortarroad.

Hmm, doesn't seem to be caused by my commit, just revealed by it.
The WebP unpacker returns its images as either RGB or RGBA, depending on whether the decoded image actually has transparent pixels.
However, the Texture resource loaded assumes all of its images to have the same format. It just uses the format of the first mipmap image, and copies them consecutively in memory.
https://github.com/godotengine/godot/blob/ab30437529ef0af6a96e4f2a8a92a050a09dbca0/scene/resources/texture.cpp#L582-L599
Different formats can happen, if the source image has very few transparent pixels, such that a smaller mip map ends up with no transparency.
This issue also affects the lossy WebP encoder.
A quick fix is to let WebP always decode to RGBA.
Another is to properly convert all mipmap images to the same format, before combining them.

Adding this
			if (i != 0) {
				img->convert(mipmap_images[0]->get_format()); // ensure the same format for all mipmaps
			}

right here https://github.com/godotengine/godot/blob/ab30437529ef0af6a96e4f2a8a92a050a09dbca0/scene/resources/texture.cpp#L567 (i.e. right before the line with the total_size) fixes it.
Also, while I'm here, let me reiterate how silly it is to store mipmaps on disk other than for VRAM compression formats.

Looking into 4.x, that seems to have equivalent code.
See:
https://github.com/godotengine/godot/blob/7f0a83c1291bad864fc094bec8b763986172e73e/scene/resources/texture.cpp#L369-L376
My fix is shorter though, hehe.

Converting on load is inefficient, IMO the webp decoder should be told the desired format instead with a hint.

I disagree. I estimate that a conversion happens in less than 1% of the cases and then only for the lowest mipmap levels, which are small anyway (a few pixels at worst).
However, it could make sense to store the used channels anyway, and use then when loading to save memory. That would be a new feature, however.
(Or even better, we don't store mipmaps on disk, and compute them on the fly.)
Either way, the proper fix here is to add the conversion, as in 4.x.
Looking through the code, this issue affects at least one more encoder, possibly others too:
The png encoder also encodes without alpha, if the source image has a more exotic channel layout:
https://github.com/godotengine/godot/blob/0543b71e5a7c848e7eec233c428fb2c1fb5caca8/drivers/png/png_driver_common.cpp#L155-L162

Yeah upon closer inspection you are right, this should happen so little often its not worth having a more complex workaround.

Fixed by #51555.


[test] Add a testplan file for manual ROM tests

@moidx this is what I put together for the manual tests that we discussed offline.
@timothytrippel Do we have an example for this in HW tests? I added a new file and made up a tag (manual) for these tests. Does this conflict with the testplan guidelines?
If we are happy with this approach, we can consider adding a simple utility that walks through each test point and asks y/n so that this can be added to a test suite in bazel, e.g. rom-release which runs rom-e2e, rom-manual, and maybe even rom-functests (these are TBD).

@moidx this is what I put together for the manual tests that we discussed offline.
@timothytrippel Do we have an example for this in HW tests? I added a new file and invented a tag (manual) for these tests. Does this conflict with the testplan guidelines?

By example in HW tests do you mean tests that require manual inspection of a file? If so I don't think so, but I'm not 100% sure.  (BTW, out of curiosity, is that what this "manual" testplan is describing? or is the goal to have tool that checks these sorts of things?)
As for whether this conflicts with the test plan guidelines, I don't think there are any guidelines that dictate this is not allowed, and as long as you don't include the  rom_manual_testplan.hjson in the chip_testplan.hjson file it should not disrupt the dvsim.py executed tests that are displayed on the nightly dashboard.

If we are happy with this approach, we can consider adding a simple utility that walks through each test point and asks y/n so that this can be added to a test suite in bazel, e.g. rom-release which runs rom-e2e, rom-manual, and maybe even rom-functests (these are TBD).

It turns out that bazel does not support interactive commands and this complicated things a bit. But I still think it's useful to define and run these manual test points along with our automated tests.

Also, super awesome GIF!

@timothytrippel PLMK when we can merge this, thanks! (no rush)

Rebased, should be ready to merge once CI passes.

Thanks @timothytrippel !


[DOCFIX] Update the default client jar path to hadoop

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15755/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.master.JournalShutdownIntegrationTest.multiMasterMountUnmountJournal
Test FAILed.

jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15756/
Test PASSed.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15758/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15768/
Test PASSed.


composer install using http

composer defaults to only allowing https connections, but your package is located at
http://<IP_ADDRESS>/UserCheck/PortalMain?IID=27ED9FDF-A92E-0EAC-87F7-EA6FF8423A5A&origUrl=aHR0cDovLzE0NC4yMTcuMjAzLjUzL3AvbGVhZ3VlL2ZyYWN0YWwkODk0ZDM0OWY1NjI2ZDNlNDVlNmIyNmM1NDQ0YTAzZTk0YmRjMDNkODE3OTJiZTM4NjI0MzEzMDZiODlmOTgzNy5qc29u
when calling composer require league/fractal
Could we get this updated so we don't have to turn off secure-http for composer?

I dont think we have any control over these types of things, so Im closing this for now.


hi

I'm facing the same problem. Did you solve the problem by any chance?
@FWaqidi

hi
Just Used iso-8859-1 Character set
https://www.marxists.org/admin/charsets/index.htm
Regards
On Thu, 20 Aug 2020 at 00:26, Mahmood Rasooli<EMAIL_ADDRESS>wrote:

I'm facing the same problem. Did you solve the problem by any chance?
@FWaqidi https://github.com/FWaqidi
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/markjulmar/smpp.net/issues/5#issuecomment-676718723,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAETFUKXGS6FXCG5LTVJJ2TSBQ7OTANCNFSM4HZOX65A
.

Thanks, brother. Really Appreciate the help.
Regards


Autodoc now generates class docs from init as well.

The primary class of pymbar, MBAR, has documentation components
in both the class doc and its __init__ method. The docs in
__init__ were ignored by autodoc when generating the sphinx docs,
but now we include them.

@Lnaden Can you take a look at this PR at some point?

Yeah. Ill put it on my list to handle this week

@jchodera can we force the appveyor builds to restart in any way? I think the failures are actually scholastic.

Restarted

scholastic

stochastic?

Right that one, bad spell check.


remove text search on My grants and Browse tabs

remove text search on My grants and Browse grants tab
update export csv according to designs

updated to remove actions around removing eligibility and keywords tabs as those are already covered in #1408

Removed * update export csv according to designs


mec172xevb: benchmark.kernel.core (and adc_api/drivers.adc) failing

Describe the bug
Only output from device is: "DEVICE: *** Booting Zephyr OS build zephyr-v3.2.0-2835-g6e25082db093 ***". Test fail with no console output. I verified this with twister command and also using west and checking output directly from board and nothing was there. I checked this on older commits, and output was visible.
To Reproduce
twister -p mec172xevb_assy6906 --device-testing --device-serial /dev/ttyUSB0 -T tests/benchmarks/sys_kernel/ -vv
Expected behavior
Output from board and passing test
Impact
annoyance
Logs and console output
See above.


Use minimum size for captcha widget

In this PR

Remove excess space between image and slider bar, allowing SliderCaptcha to use the minimum size required, as would be needed in a dialog
Add imageToBarPadding field to SliderCaptcha so users can specify how much space suits them
Fix nullable WidgetsBinding instance

Remove excess space between image
Add imageToBarPadding field to SliderCaptcha
Support both version 2.x.x and 3.x.x


make config pieces JSON compliant / (FR) allow to change spec parameters

I cannot get past this:
jq '.genesis.gasLimit = "0x2625A00"' config/spec/genesis/aura

and I suppose that is because the file looks like this:
    "genesis": {
        "seal": {
            "authorityRound": {
                "step": "0x0",
                "signature": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
            }
        },
        "difficulty": "0x20000",
        "gasLimit": "0x1312D00"
    },

and not like this
{   "genesis": {
        "seal": {
            "authorityRound": {
                "step": "0x0",
                "signature": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
            }
        },
        "difficulty": "0x20000",
        "gasLimit": "0x1312D00"
    }}

Could you perhaps in a future version make the separate config pieces JSON compliant? Then parameters are easier to change:
jq '.genesis.gasLimit = "0x2625A00"' ~/tmp.txt
{
  "genesis": {
    "seal": {
      "authorityRound": {
        "step": "0x0",
        "signature": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
      }
    },
    "difficulty": "0x20000",
    "gasLimit": "0x2625A00"
  }
}

And/or:
(How) can I change the genesis parameter on the commandline
DEPLOYARGS="--nodes 4 --config aura --name myaura"
NODEARGS="--geth --jsonrpc-server-threads 10 --tx-queue-size 20000 --cache-size 4096 --gas-floor-target 40000000 --tx-queue-mem-limit 0"
./parity-deploy.sh $DEPLOYARGS $NODEARGS

perhaps like this?
SPEC='.genesis.gasLimit = "0x2625A00"'
./parity-deploy.sh $DEPLOYARGS --spec $SPEC $NODEARGS

Thx!
Great tool.

My workaround for now:
sed -i 's/0x1312D00/0x2625A00/g' config/spec/genesis/aura

though not elegant nor universal

They're intended to be either 1) templated or 2) using a command line option that already exists in the parity cli since they can be added to the end of the command.

Have a look at this: https://gitlab.com/electronDLT/chainhammer/blob/master/parity.md#run-13
To change the blocktime on the fly, I am using jq to directly manipulate the spec.json AFTER having called ./parity-deploy.sh ...
sudo apt install jq
jq ".engine.authorityRound.params.stepDuration = 5" deployment/chain/spec.json > tmp; mv tmp deployment/chain/spec.json

That case would fall under "1) templated" - right?

You can also use the custom_chain.toml which is a chain spec and node config within one file. There's example in the customchain directory.
For any additional arguments just add it to the end of the ./parity-deploy.sh command and it will be used on all containers.

--config custom_chain.toml

ah, nice one. I had overlooked that until now. Might try. But my tweaking of deployment/chain/spec.json after running parity-deploy.sh ... does the trick actually. I only just want to change small pieces, like    "gasLimit": "20000000"


difficulty running with serverless 1.4.0

Hi,
When I download install and try to run this example, I get two kinds of errors:

"Please provide valid email addresses."
this one seems strange, since the addresses are valid.  here is the event.json (substituted xxxxxxx for actual gmail address:

{
"from"<EMAIL_ADDRESS>"to"<EMAIL_ADDRESS>"subject": "Hello",
"template": "welcome",
"context": {
"first_name": "Tim",
"last_name": "Tester"
}
}

"Path must be a string. Received undefined"
so I went in and commented out the email pattern check.  then I get the above error.

.env file:
EMAIL_SERVICE=Gmail
<EMAIL_ADDRESS>EMAIL_SERVICE_PASS=yyyyyyyyyyyyy
OS:                 darwin
Node Version:       4.2.4
Serverless Version: 1.4.0

same with serverless 1.3.0

Had the same problem,
I am not sure why, I am new to serverless, but had to add this code to make the code work both from serverless invoke and from aws http event
module.exports.send = (event, context, callback) => {
+  let data = event;
+  if (event.body) {
+    data = JSON.parse(event.body);
+  }
+  const mailer = new Mailer(data);
-  const mailer = new Mailer(event);

any idea why?

I have this same issue, tried your fix but I still get the same error regarding the email being invalid.  Any ideas?


CMake error for HDF4 when compiling MAJA

Hi there,
I tried to compile MAJA from source several times, however always got the following error:
CMake Error at /home/metal/MAJA/build/HDF4/stamp/HDF4-configure-Release.cmake:49 (message):
  Command failed: 1

   'env' 'CC=/usr/bin/cc' 'CXX=/usr/bin/c++' 'LD_LIBRARY_PATH=/home/metal/MAJA/install/maja/4.2.1/lib:' 'PKG_CONFIG_PATH=/home/metal/MAJA/install/maja/4.2.1/lib/pkgconfig' 'EGREP=/usr/bin/egrep' '/home/metal/MAJA/build/HDF4/source/configure' '--prefix=/home/metal/MAJA/install/maja/4.2.1' '--enable-static=no' '--enable-shared=yes' '--enable-fortran=no' '--enable-netcdf=no' '--with-jpeg=/home/metal/MAJA/install/maja/4.2.1' '--with-zlib=/home/metal/MAJA/install/maja/4.2.1'

  See also

    /home/metal/MAJA/build/HDF4/stamp/HDF4-configure-*.log

make[2]: *** [CMakeFiles/HDF4.dir/build.make:110: HDF4/stamp/HDF4-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:1536: CMakeFiles/HDF4.dir/all] Error 2
make: *** [Makefile:95: all] Error 2

Could you suggest doing something on this error?
Many thanks,
Thang

I suspect that you don't have the needed superbuild-archives for compiling Maja.
Can you show me the contents of /home/metal/MAJA/build/HDF4/stamp/HDF4-configure-*.log?
Kind regards,
Peter

Please have a look at the HDF4-configure-err.log and HDF4-configure-out.log.
I cloned the latest version of MAJA from this repository and compile MAJA.
From the HDF4-configure-err.log:
configure: WARNING: 'missing' script is too old or missing
configure: error: cannot find yacc utility
are they problems for compiling HDF4?
HDF4-configure-err.log
HDF4-configure-out.log

I am not sure if it is the same issue, but I got several errors including the HDF4 missing yacc.
I manually installed the following Ubuntu packages:
apt-get install libffi-dev
apt install mono-complete
apt-get install bison flex  # that solved the yacc issue
apt-get install libpcre++-dev
Then it compiled on Ubuntu 20.04 in Docker and a MAJA clone from today.
Bests!
Johann


init error: Datasource provider not known

Error: Schema parsing
error: Datasource provider not known: "to_be_defined".
  -->  schema.prisma:2
   |
 1 | datasource management {
 2 |   provider = "to_be_defined"
   |

Validation Error Count: 1

Thank you for raising this issue 🙏 I am able to replicate it. I'll fix this ASAP

This should now be fixed with<EMAIL_ADDRESS>Do you confirm?

The issue no longer occurs but it stucks in this step: Creating first tenant from your initial schema...
  prisma-client Prisma Client call: +14ms
  prisma-client prisma.tenant.create({
  prisma-client   data: {
  prisma-client     name: 'dev',
  prisma-client     provider: 'postgresql',
  prisma-client     url: 'postgresql://user:secret@<IP_ADDRESS>:5432/dev?schema=public'
  prisma-client   }
  prisma-client }) +2ms
  prisma-client Generated request: +0ms
  prisma-client mutation {
  prisma-client   createOneTenant(data: {
  prisma-client     name: "dev"
  prisma-client     provider: "postgresql"
  prisma-client     url: "postgresql://user:secret@<IP_ADDRESS>:5432/dev?schema=public"
  prisma-client   }) {
  prisma-client     id
  prisma-client     name
  prisma-client     provider
  prisma-client     url
  prisma-client   }
  prisma-client }
  prisma-client  +0ms
  engine {
  engine   PRISMA_DML_PATH<EMAIL_ADDRESS>  engine   PORT: '50527',
  engine   RUST_BACKTRACE: '1',
  engine   RUST_LOG: 'info',
  engine   OVERWRITE_DATASOURCES: '[]'
  engine } +0ms
  engine {
  engine   cwd: '/Users/fabio/Projects/nestjs-prisma-starter/node_modules/prisma-multi-tenant/build/cli/prisma'
  engine } +0ms
  plusX Execution permissions of /Users/fabio/Projects/nestjs-prisma-starter/node_modules/@prisma/prisma-multi-tenant/management/runtime/query-engine-darwin are fine +0ms
  engine { flags: [ '--enable-raw-queries' ] } +1ms
  engine stderr Printing to stderr for debugging +15ms
  engine stderr Listening on <IP_ADDRESS>:50527 +1ms
  engine stdout {
  timestamp: 'Apr 11 15:43:43.313',
  level: 'INFO',
  target: 'quaint::pooled',
  fields: { message: 'Starting a sqlite pool with 5 connections.' }
} +0ms
  engine stdout {
  timestamp: 'Apr 11 15:43:43.320',
  level: 'INFO',
  target: 'query_engine::server',
  fields: {
    message: 'Started http server on <IP_ADDRESS>:50527',
    'log.target': 'query_engine::server',
    'log.module_path': 'query_engine::server',
    'log.file': 'query-engine/query-engine/src/server.rs',
    'log.line': 109
  }
} +6ms

This is probably due to a new version of the migrate engine. Can you delete your management database and re-run the init command ?

Ohh right.. I think it was related with the missing version 2.0.0-beta.2 of @prisma/client.
it's working now. Thanks!


[TRT][BYOC] handling dynamism in TensorRT to support OD models

refactoring test tensort code
added comments to dynamic check wrapper
log.warn changed to logger.info
TRT codegen taking slice_mode into account
TRT codegen to handle both types of stride_mode
refactoring TRT codegen
adding a test for dynamic offload
[TRT] bug in codegen for slice_mode=end
ctx determined from target in test + io test was missing

@trevor-m  @anijain2305 @zhiics

Thanks for the comments @trevor-m.

Thanks @rohanmukh @zhiics @trevor-m This is merged


Some nodes act as junctions while they shouldn't (was: Cims dangerously U-turning on national highway)

I've enabled u-turn on junction. Nevertheless i think they should never perform a u-turn on the middle of a national highway.

definitely drunk! Does that happen regularly? TMPE only allows u-turns at junctions and transitions (where two different road types meet)

It happens all the time! Weirdly i havn't spot other locations yet. And i use quite some national roads. maybe it has something todo with the nearby (highway based) roundabout?

I removed the entire road  and railway, and rebuilt it now this stretch is ok. However somewhere down the medium road the issue is appearing now.

I've selected everything with the move-it mod so you can see the segments and nodes. The middle node is somehow behaving as a junction. cars from both directions are taking u-turns + pedestrians are crossing here towards and from the train station

Internally they are not considered as junctions but as "bent" nodes. Nodes are considered as bent by the game if the angle between the two connected road segments is not accurately straight (0°). I always assumed that labelling nodes as bent required some minimum angle between segments but I was wrong obviously. TMPE offers junction restrictions for junctions and bent nodes.
I could add two more options that control whether crossing / u-turns are allowed at bent nodes. But I don't know if any player will ever understand what those options do. xD

I tried to come up with a reason to allow cars U-turn and pedestrians crossing at "bent" nodes, but couldn't come up with one.
To create pedestrian crossing you could just use the following mod:
https://steamcommunity.com/sharedfiles/filedetails/?l=dutch&id=427258853
And U-turns on the middle of the roads, seems like madness to me? (especially in corners ;-) )
So shouldn't it just be disallowed in any case? (instead of adding options) And just act the same as "straight nodes"?

When using Move It mod to edit roads, you can enable "Snap" mode and it will snap segment curvature to achieve 0° angle at the nodes: tutorial vid
I agree with Spike82 that u-turns at bent nodes should be disabled by default (ie. no need for options in mod settings ui). Although standard behaviour could be defined by settings in xml config file?
As an end-user, my preference would be:

No u-turns at bent nodes, ever, even if "Allow u-turns" mod option enabled

Reckless drivers could still choose to do u-turns at bent nodes

Using junction restrictions tool on bent nodes:

Can toggle crossings
Can toggle "change lanes"
The UI for u-turns would not be shown (unless XML config says otherwise?)

Addendum: If "Enable highway specific rules" mod option selected, u-turns should be disabled (by default) on all junctions/nodes where a highway segment exists. User could still use lane restrictions tool to customise individual nodes.

I think that crossings at "bent" junctions should be defaulted to False as well.
So, taken together perhaps this issue can easily be resolved by changing the default states of the junction restrictions of bent nodes to not allow U-turns and do not allow crossings.


Next page icon causing postback on page

On my (aspx - asp.net webforms) page "next page icon" change correctly to next page (code behind is ok and event is firing ok) but after it causes postback on page and the grid object disapears. How can I stop the postback? Any help?
My Grid:
var grid = $('#grid').grid({
columns: [
{ field: 'LGA_Id', sortable: true, title: 'Id' },
{ field: 'LGA_AppVersion', sortable: true, title: 'Versão' }
],
dataSource: {
data: { page: 1, limit: 3, sortBy: 'LGA_Id', direction: 'desc' },
url: '/webservices/Services.asmx/RecuperaLog'
},
pager: { limit: 3, sizes: [3, 10, 50, 100, 1000] },
primaryKey: 'LGA_Id',
uiLibrary: 'bootstrap4'
});
Code behind:
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public void ResponseJson(int page, int limit, string sortBy, string direction)
{
JavaScriptSerializer js = new JavaScriptSerializer();
Context.Response.Clear();
Context.Response.ContentType = "application/json";
        ClassesSFI.AccessLog AccessLog = new ClassesSFI.AccessLog();
        var query = AccessLog.ToList();
        var total = query.Count;
        int start = ((int)page - 1) * (int)limit;
        query = AccessLog.ToList().Skip(start).Take((int)limit).ToList();
        var records = query.ToList();

        JavaScriptSerializer js = new JavaScriptSerializer();
        Context.Response.Clear();
        Context.Response.ContentType = "application/json";
        Context.Response.Write(js.Serialize(new { records, total }));
    }

Thanks in advanced!

Is the postback happening when you click on the pager buttons in the grid?

Putting the grid outside form resolve it. Thanks very much!


POC: Leptos with Workers Assets

This introduces a cargo generate template for using Leptos with Workers Assets.
Assets is not yet publicly available, but can be tested in local development.
cc @BrandonDyer64

Is Worker Assets an upcoming feature? Is there more info about it somewhere?

@avsaase - shh. It's a secret 😄  - wait till later this week.

Love it!

@kflansburg Thanks for this!
I just tried it locally with npx wrangler dev, it tries to load the wasm and js files from the wrong URLs, any idea why?:
[wrangler:inf] GET / 200 OK (2ms)
[wrangler:inf] GET /pkg/leptos_worker.js 404 Not Found (4ms)
[wrangler:inf] GET /pkg/leptos_worker.wasm 404 Not Found (3ms)
[wrangler:inf] GET /favicon.ico 200 OK (4ms)
[wrangler:inf] GET /pkg/leptos_worker.js 404 Not Found (2ms)

Btw, I had to change
[build]
command = "cargo leptos build --release && LEPTOS_OUTPUT_NAME=start-axum worker-build --release --features ssr"

to
[build]
command = "cargo leptos build --release && worker-build --release --features ssr"

to make it build on windows. but I set the env var LEPTOS_OUTPUT_NAME=start-axum in my console before running npx wrangler dev, so this can't be the reason why it's fetching the assets from the wrong URLs, right?

Can you confirm that you are using the latest version of wrangler? I think npx is supposed to do that, but I've had trouble in the past.

@kflansburg Yes, I literally just updated wrangler before running this.
I have it installed globally so I ran it without npx, but yeah I just updated it :)

Ok, I did run into something like this, I don't know how you manage node, but can you try to update to latest node / try a fresh node environment. That fixed it for me.


[request] I need to restream an RTSP stream to RTMP server

instead the camera video or local file as source, I need to re-stream an RTSP video stream (from a local server) to an RTMP server (internet or LAN). Is this possibile through this library? Thanks

No. Actually you can restream RTSP but only video using SurfaceFilterRender instead of CameraRender and get stream with a player (for this you need modify the library) but you can't get audio.
For this you need develop a RTSP player to get video and audio buffers and send it to rtsp module.


[20.03] libvorbis: fix 404'ing patch

Also use full commit for the other patch, just in case there's ever a
collision, as unlikely as that may be.
(cherry picked from commit f02e1c2878b90fa42c45465f80ad0647987ce5b0)

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

cc @veprbl -- Should 19.03 go to staging-19.03 or release-19.03, considering it's EOL? And should 19.09 go to release-19.09, or staging-19.09?

cc @veprbl -- Should 19.03 go to staging-19.03 or release-19.03, considering it's EOL? And should 19.09 go to release-19.09, or staging-19.09?

Sorry for not answering this question earlier. My understanding is that there is not much point in applying changes that cause rebuilds to those older branches. That requires extra work that is usually done by other community members. That includes actually testing these backports or making sure that the channels are not blocked or managing the staging workflow.

So, correct me if I'm wrong, this is the only necessary backport?

Yes, we want all the fixes to be backported to the current stable release. There aren't such expectations about the EOL releases.


Can we have the report in Excel?

Is it possible to generate test report in Excel? If it is, how do we do that?
Thanks

Yes, it is. The best way is to create a custom batch processor. You could follow the example in the docs. The batch processor will run after all of the tests have completed and will give you a list of stories with all of the results for the scenarios/steps. You would just need to loop through these and write them out to Excel.
Let us know if you need any more info.

Thanks, I will give it a try!

Sorry, another question, is it possible to access the seleno host in the processor class so that I can take a screenshot if a test fails?

What's the use case? Seleno takes screenshot on failures automatically.

Also, no need to be sorry. There are unfortunately not much documentation for Seleno (it's in the backlog though). We're here to answer questions anytime.

Cool, that's awesome

I tried it by intentially failing an assertion, but I couldn't find the screenshot anywhere, do I need to configure something in the SelenoHost?

@robdmoore could you shed some light on this please? Thanks.

@lchong0412 What do you mean by 'get the current running Scenario'?

Yep, you need to configure a directory to drop the screenshots into, like this: https://github.com/TestStack/TestStack.Seleno/blob/master/src/TestStack.Seleno.AcceptanceTests/Configuration/ScreenshotTests.cs#L26

@robdmoore Hi, I did this but as I stated before, the problem was the assertion failure doesn't seem to be handled by the Interceptor, it's not taking any screenshot when I just put Assert.True(1==2)

@MehdiK All I want to do is in my Dispose (teardown) method of a test class, I can check whether my current test method (scenario) is passed or failed, so that if it fails, I can take a screenshot. I know I can handle the test result in the Processor pipeline, but then I won't be able to access the SelenoHost to take the photo in there

Yep, so Seleno can only instigate a screenshot automatically from within Seleno code e.g. You try and get an element that doesn't exist.
If you want to do s screenshot for assertion errors you need to do your own try/catch and call into SelenoHost to take the screenshot.

Try putting the try/catch around the this.Bddfy call. SelenoHost should be statically available if you follow the patterns in Seleno.

@robdmoore thanks for your reply, that explains. But I'm using fluent style, so it means i will have to try catch every test method?

Yes.
Perhaps you can use AOP e.g. PostSharp or Fody.MrAdvice or there might be a way to do this with BDDfy (@mehdik?)

How about this? Code review please, it's knocked up pretty quickly :-)
Just call .BDDfyX at the end of your fluent chain instead of the normal .BDDfy.
public static Story BDDfyX(this object testObject, string scenarioTitle = null)
{
    try
    {
        return testObject.BDDfy(scenarioTitle);
    }
    catch (Exception exception)
    {
        Host.Instance.Application.Camera.TakeScreenshot();
    }
    return null;
}

Alternatively, you might consider writing a custom exception processor. I'd probably stick with the extension method....
public class SelenoExceptionProcessor : IProcessor
{
    public ProcessType ProcessType { get {return ProcessType.ProcessExceptions;} }

    public void Process(Story story)
    {
        Host.Instance.Application.Camera.TakeScreenshot();
    }
}

And set it up in your BDDfy config:
Configurator.Processors.Add(() => new SelenoExceptionProcessor());

@mwhelan Thank you, the extension method could be a solution to my problem. I also tried to implement the IProccessor, but the problem is I'm not using a static SelenoHost object, I'm using a per test class host, I got a problem trying to access the Host object in processor implementation.

We've designed SelenoHost to be a singleton because it's quite expensive to create. You don't want that overhead on every test. Is there a reason you want a new one per test? Perhaps it's to run different browsers. You can still follow the static SelenoHost approach and just have different instance properties for each browser - FireFoxInstance, ChromeInstance, etc. Would be interesting to see a test fixture....

@mwhelan Since xunit supports test class to run in parallel, I'm just creating a Host for each class so they can run in parallel.
I create a host object and call run method for each test class (in the ClassFixture). Does it sound right?

@lchong0412 would you be able to send a bit of code so we know how you're using the frameworks? We might be able to help more that way.

I personally prefer the Processor model as suggested by @mwhelan.

@lchong0412 in that case I'd use a ConcurrentDictionary and have one SelenoHost per thread.

@mwhelan Yes, I ended up having a static class with a dictionary to keep all the SelenoHost object, it works for now. Thanks you all for your helps!

Hi,
How would I embed screenshot to the end of the scenario of html report when test fail? With Michael's example above, I change the code to save image to byte array, but I still don't know how to embed to the HTML report. Thanks for your helps!