Add built-in support for RTL languages

Feature Request
For website with RTL and LTR languages.

Good point on adding better support for RTL languages!
Our CSS framework, Bootstrap, has an issue open to add built-in support for RTL here: https://github.com/twbs/bootstrap/issues/24807
In the meantime, perhaps we could add an rtl class to the body that can be controlled by the config/_default/languages.toml file. Then you'd be able to add RTL overrides using the existing custom SCSS approach (e.g. body.rtl {...})?

Yes, that's would be good. Here is my site. I added global body {direction: rtl;} and for LTR I'm adding custom class for the content. I couldn't find a fix for the navbar though.

I really would love to see Hugo-academic support RTL soon....

I don't believe anyone has actually contributed an RTL interface language yet - https://github.com/gcushen/hugo-academic/blob/master/data/i18n/languages.yaml ?

Based on your feedback, initial RTL support has been added for Arabic, Hebrew, Persian, and Urdu in update 2d63a0090aba1e09f09d19a93beb8702999a5e8c .
A custom style file can then be added to your site, using the html[dir="rtl"] selector as a parent selector to override other CSS selectors. For example,
html[dir="rtl"] {
  font-style: italic;
}

Feel free to contribute an RTL language pack and/or RTL CSS styles for Academic.

Great! I will add Arabic and Persian in the language pack and the RTL CSS styles. Thanks a lot.

I will do my best on the language pack :)

Hi, @gcushen when you think we can start using the RTL language on our sites?
and Many thanks for your time :)

For an RTL language, the columns in the about widget (interests and education) need to be reversed.
In my RTL website, the language picker goes out of screen bounds.

Re: https://github.com/gcushen/hugo-academic/issues/1639#issuecomment-623109781

For an RTL language, the columns in the about widget (interests and education) need to be reversed.
Yes. Also, how to right align the text in those columns?

In my RTL website, the language picker goes out of screen bounds.
The language picker as well as the last network icon under the author name, have a 0 margin. To fix, adjust the margin to 10px in:
ul.nav-icons li:last-of-type (in _nav.scss)
and
.network-icon li:last-of-type (in _widgets.scss)

I didn't see that this change affects the English LTR display.
margin-right: 10px;
}

For an RTL language, the columns in the about widget (interests and education) need to be reversed.

Yes. Also, how to right align the text in those columns?

I added text-align: right; to the body element and it seemed OK. Will investigate.

What worked for me regarding text alignment is just adding text align to body in this manner to custom.scss

body:lang(ar) {
direction: rtl;
text-align: right;
}

And yes, it would be nice to have the option to mix ltr/rtl.

Closing this as initial support for RTL was added in bd8062f and there's been no further feedback.
If someone would like to contribute a more complete RTL style, it might be best to create a dedicated repo for it where those familiar with RTL can contribute, and package it up as a Hugo Module (aka a plugin for Academic).
To get started, you would just need to wrap RTL styles in the RTL html[dir="rtl"] { ... } style block within a Custom Style file as described in https://github.com/gcushen/hugo-academic/issues/1639#issuecomment-612517437 .

@gcushen,
It seems that there has been a development in Bootstrap and twbs/bootstrap#24807 has been merged. Will Academic be moving towards built-in RTL, or at least a functional module?
I personally don't know much css/sass, but could test the features and maybe help out a little.

@gcushen,
It seems that there has been a development in Bootstrap and twbs/bootstrap#24807 has been merged. Will Academic be moving towards built-in RTL, or at least a functional module?
I personally don't know much css/sass, but could test the features and maybe help out a little.

@mkhoshbin1
I've created my own module for RTL support using RTLCSS.
https://github.com/paazca/wowchemy-rtl-module


New continent issues

The new continent issues, CONTINENT_COORDINATE_MISMATCH and CONTINENT_DERIVED_FROM_COUNTRY should be added to the occurrence filters/facets, translations etc.
Once the pipelines version including continent interpretation is deployed, the special note on the continent filter can be removed.
https://www.gbif-uat.org/occurrence/charts?continent=EUROPE&has_coordinate=true&has_geospatial_issue=false&geometry=POLYGON((80.45142 37.77094,152.62 37.77094,152.62 73.73845,80.45142 73.73845,80.45142 37.77094)) (see top issue etc).

The special note on continents searches can now be removed.


[Question | Feature] If datadog agent can report which exactly ip addresses are currently blocked by AWS WAF.

Hi there!
Related to this documentation I didn't find the metric/parameter which is responsible for reporting which exactly ip address(es) is(are) currently blocked by AWS WAF and report it to Datadog.
Could you please advice if it is even possible to report info about currently blocked ip address to Datadog ?
The initial idea is to create a dashboard with currently blocked by AWS WAF ip addresses.
Thanks.

Hi @apolegoshko,
The AWS WAF is not Agent-based but crawler-based, so please refer your questions to<EMAIL_ADDRESS>For reference, the official Agent-based integrations are available in the integrations-core repo.
To answer your question, reporting info about currently-blocked IP addresses is not supported by the integration out-of-the-box as AWS WAF Cloudwatch metrics do not expose this information (see https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html).
That said, there is a tutorial on the AWS docs, where there is a sample Lambda function that publishes a custom metric to CloudWatch, which includes IP addresses blocked https://docs.aws.amazon.com/waf/latest/developerguide/tutorials-4xx-blocking.html.
For any further question, feel free to send an email to<EMAIL_ADDRESS>I'll go ahead and close this issue.


Optimize Docker image

Final image size reduced from 747MB to 289MB 🚀
Closes #15.

Some more fixes here: https://github.com/mayankchhabra/umbrel/pull/6


Add CREATE logo to footer

Get logo from here: https://create.uw.edu/press-assets/

Updated url: https://create.uw.edu/media-assets/

Some logo variations:

Current attempt:


UI: Change component order in the main screen

Video-Player on the left side
Subtitle Editor on the right side
Titles on the top
Playtime below the Video-Player

Fixed in release 0.4.0


Security best practices for Amplify app in a public repo

This is a question about the security aspects of a public software repo connected to Amplify via the console as part of a CI build/deploy process.
Setup

Init app, using amplify init
provision resources (e.g. api, storage, etc.) via amplify-cli
connect app (e.g. git repo) using the AWS Amplify console
git push, publishing the app

In brief, in order to get a build to work for something like the above, one needs to edit the .gitignore file to allow for the team-provider-info.json file to be checked in, rather than omitted (default).
Taking a look at this file, there is some information that could be potentially exploited.
{
    "beta": {
        "awscloudformation": {
            "AuthRoleName": "MY_APPNAME_ENV-20190625175625-authRole",
            "UnauthRoleArn": "arn:aws:iam::MY_AWS_ACCOUNT_NUMBER:role/MY_APPNAME_ENV-20190625175XXX-unauthRole",
            "AuthRoleArn": "arn:aws:iam::MY_AWS_ACCOUNT_NUMBER:role/MY_APPNAME_ENV-20190625175XXX-authRole",
            "Region": "MY_REGION",
            "DeploymentBucketName": "MY_APPNAME_ENV-20190625175XXX-deployment",
            "UnauthRoleName": "MY_APPNAME_ENV-20190625175XXX-unauthRole",
            "StackName": "MY_APPNAME_ENV-20190625175XXX",
            "StackId": "arn:aws:cloudformation:MY_REGION:MY_AWS_ACCOUNT_NUMBER:stack/MYAPPNAME_ENV-20190625875XXX/e2065420-9737-11e9-9074-0299cad2cdb0"
        },
        "categories": {
            "auth": {
                "MYAPPNAME268422e5": {}
            }
        }
    }
}

The stuff IN_CAPS above is where what I see as potentially sensitive information in the wrong hands.
While I know that this particular app is locked down using Cognito authorization (I don't allow users to sign themselves up) and the IAM roles are only being used for this app and are pretty much locked down, I'm curious as to best practices for publishing this type of information in a public repo.
This only came up recently, as a potential colleague of mine asked me to share a repo, and it made me scratch my head.
I do realize that I'm being a bit paranoid, but can you ever be too paranoid with regards to security these days?
Any advice on this would be appreciated.

@kimfucious The purpose of this file is basically sharing it within your team-members on the same project and want to update/use the same AWS Infrastructure tied to an environment. If you're open-sourcing your project you can totally get rid of this file (or make it a part of .gitignore).
The contents of these files are basically resource identifiers and without having access to your "secretKey" and "accessKey" tied to your AWS account, no one would be able to access these resources even if you publicly check this into yor GitHub repo.

Thanks, @kaustavghosh06
I did a search across my project's directory hierarchy for my AWS account number and came up with only results on that file.
It looks like omitting this file from the repo (and deleting all history in the repo) would clean things up toot sweet.
Though, I'm still paranoid...

I did some stuff, recently and came across some new changes in the Amplify Console / CLI tete-a-tete.
In short, I deleted my amplify app (in order to clean the history of certain files in the repo) and re-attached a new repo.
In the process the changes in the console have changed.
Now I'm being faced with:

Prior to this change I had allowed aws-exports.js into my repo (probably unwisely).
At this point, things are completely convoluted.
Before, I provisioned all backend resources via the CLI and published the app via console.
Now I'm lost in the trees.
Please send docs.

On top of this, the Domain Management process has changed, things are now broken.

Presently stuck in a loop of SSL creation, SSL configuration, SSL verification, domain activation.
I do believe the DNS is configured correctly... not sure what to do now.

@kimfucious can you please share your AppARN (Found under app settings > general). You can email it to us at<EMAIL_ADDRESS>Also couple of questions:

When you connected your repo in the Console did you pick an existing backend?
Where are you seeing an error when connecting a custom domain?

Hi @swaminator thanks for reaching out regarding this.
Here's how I got into this:

I disconnected my app from the Amplify Console, because I changed the backing repo so as to remove the git history on a file that contained sensitive information.
I used connect app to attach to the new repo.  Here's where I faced the new(? I'd never seen this message before) "Existing Amplify backend detected."
To answer your question 1 above: I selected "Only deploy the front end."  This resulted in a successful build and the app being available at the https://branch.xxx.amplifyapp.com/ url.
I added a custom domain, clearing out the existing records at my 3rd party DNS provider, and adding in the authorization CNAME record.

The above got me into a loop, where the status details of the domain configuration were cycling between SSL configuration and SSL verification.  And when I say "cycling", I would wait a while, refresh the page, and it would be one or the other.
To fix this, I wound up doing the following:

Remove all existing DNS records for the domain
Delete the domain from the AWS console
Re-add the domain from the AWS console
Add the verification record at my DNS provider
Wait for Available status in AWS console
Add in the CNAME records pointing to cloudfront.net
Wait for cloud front propagation

So, I'm all good.  This is a "toy" app, so longer than expected outage of the URL was no big deal.
My real question, and I can open another ticket for this if you want me to, is to clarify the new(?) "Existing Amplify backend detected" part of the connection process.

Is this actually new, as I have not seen this before when connecting the app with an existing backend?
When I chose "No" a big, red warning is shown saying this isn't a good idea.
What is considered best practice?  As I like provisioning the backend via the CLI?
What would have happened if I chose "Yes?"

I just build a fresh app using Amplify CLI to try to figure out the "Existing Amplify backend detected" stuff.
This time around I chose, "Create a New Environment" and I created a new IAM role.
The build went fine, and I did not check in the aws-exports.js file, which I think is good "security-wise"
When accessing the app, it seems like the security role I created is lacking the necessary access to the AWS resources.
I'm assuming there are extra steps necessary, to grant the IAM role access, which happens "automagically" when using the CLI?
I've been searching for some docs that cover this, but I'm not finding anything that covers this step.
Thanks.

@kimfucious your app should be working out of the box as we would have deployed a new backend as part of the deployment.
Can you try and follow this tutorial: https://docs.aws.amazon.com/amplify/latest/userguide/deploy-backend.html
Also this doc might help conceptually on different workflows: https://docs.aws.amazon.com/amplify/latest/userguide/multi-environments.html

Hey, @swaminator thanks for the info and the links.  Both are helpful 😄
I tore down the app, but I'll retry again and see what happens, letting you know either way.
One thing I remember is that I created a new environment, not seeing the environment that I created via the CLI, which is different from the tutorial.  I'll need to do it again to be sure.

Okay, I just created a brand new app with the following steps:

amplify init
amplify add api
amplify push
connect to repo in Amplify console

It sees the backend, but it does not see the environments as it shows in step 7 here.
Have I completely lost the plot, or missed a step?
Thanks for your help.

Hi @kimfucious, the guide assumes you've committed and pushed the resulting change to your team-provider-info.json file after creating your local CLI environment(s), you'd need this file present in your repo to integrate backend environments you've created with the CLI into the Console.
That said, there is no requirement for this if you'd rather not commit this file, the resources created with the CLI will be recreated in a new backend environment by the Console automatically if you choose the "Create new environment" option. (side note: there is nothing in the file that can be exploited without also having access to your secret and access key pair, which you should never publish)
If you'd like to then integrate the backend environment that the Console created automatically for you into your local CLI, you can do so after the app successfully builds by going to the completed build and expanding the "Backend" section of the build, follow the instructions in the dialog at the top to get the environment imported into your local CLI. This can all be done without publishing your team-provider-info.json file.

Hi @cslogan-red
Thanks for the follow up.
On a completely different app, which I created on the CLI with a default env named prod, I provisioned all my backend via the CLI, did an Amplify push, and then pushed my code into a repo and connected it via the Amplify console.
An, voila, the prod environment was there!  Everything worked as expected.  I'm not sure why, but I'll revisit the old app to see how i/things went wrong.
And, for the record, in addition to the team-provider-info.json file, I'm trying to keep the aws-exports.js file out of the repo.  And now, I've successfully done both.

Another note on this long closed thread, is that once you start working with Cognito federatedSignIn, your third party secrets are put right into team-provider-info.json.
So, unless you're working in a private repo, best exclude this file.
FYI:  I've salted the below values with dummy chars.
"categories": {
    "auth": {
        "amplifyuserpooltest0e7XXXb4": {
            "hostedUIProviderCreds": "[{\"ProviderName\":\"Google\",\"client_id\":\"3983847568769-muertqn01293847563ck1h2k7jsaq0an.apps.googleusercontent.com\",\"client_secret\":\"TjOF8-gv56473829102sF2lX\"}]"
        }
    }
}


Bruxo - Pacto das sombras

New Sheet - Bruxo Pacto das sombras by 101 games

Submission Checklist
Required

[X] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  Bruxo Pacto das sombras

The publisher of this game is: <   > (101 Games)

The name of this game system/family is: <   > (Solo10)

[x] I have followed the Character Sheets Standards when building this sheet.

[x] I have authorization from the game's publisher to make this an official sheet on Roll20 with their name attached.
[x] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: < https://www.101games.com.br/product-page/bruxo-pacto-das-sombras-1 >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.

Hi @jarbascjunior2!
This is fine to merge, but I wanted to give you the opportunity to fix the roll20userid field before we merge. That has to be the number associated with your profile, not your name. If you open your profile and look at the URL, you should be able to see it there - https://app.roll20.net/users/<<ROLL20USERID>>/<<NAME>>. The name you have here won't give you the sheet author badge.
If you don't want to or don't have the time to fix it, that's fine too. It's not a problem for the sheet itself.

Hi, I checked this and I think it's ok.
[image: image.png]
Em qui., 1 de ago. de 2024 às 14:50, Nicole Brooks @.***>
escreveu:

Hi @jarbascjunior2 https://github.com/jarbascjunior2!
This is fine to merge, but I wanted to give you the opportunity to fix the
roll20userid field before we merge. That has to be the number associated
with your profile, not your name. If you open your profile and look at the
URL, you should be able to see it there - https://app.roll20.net/users/
<>/<>. The name you have here won't give you the
sheet author badge.
If you don't want to or don't have the time to fix it, that's fine too.
It's not a problem for the sheet itself.
—
Reply to this email directly, view it on GitHub
https://github.com/Roll20/roll20-character-sheets/pull/13154#issuecomment-2263628611,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BJ3ASDO5B2D2CUS4FRL7DELZPJYNTAVCNFSM6AAAAABL3A2VHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRTGYZDQNRRGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

[image: image.png]
Em qui., 1 de ago. de 2024 às 14:54, Jarbas Carneiro junior <
@.***> escreveu:

Hi, I checked this and I think it's ok.
[image: image.png]
Em qui., 1 de ago. de 2024 às 14:50, Nicole Brooks <
@.***> escreveu:

Hi @jarbascjunior2 https://github.com/jarbascjunior2!
This is fine to merge, but I wanted to give you the opportunity to fix
the roll20userid field before we merge. That has to be the number
associated with your profile, not your name. If you open your profile and
look at the URL, you should be able to see it there -
https://app.roll20.net/users/<>/<>. The name you
have here won't give you the sheet author badge.
If you don't want to or don't have the time to fix it, that's fine too.
It's not a problem for the sheet itself.
—
Reply to this email directly, view it on GitHub
https://github.com/Roll20/roll20-character-sheets/pull/13154#issuecomment-2263628611,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BJ3ASDO5B2D2CUS4FRL7DELZPJYNTAVCNFSM6AAAAABL3A2VHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRTGYZDQNRRGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank you.
Em qui., 1 de ago. de 2024 às 15:11, Kayla Fischer @.***>
escreveu:

Merged #13154
https://github.com/Roll20/roll20-character-sheets/pull/13154 into
master.
—
Reply to this email directly, view it on GitHub
https://github.com/Roll20/roll20-character-sheets/pull/13154#event-13730038531,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BJ3ASDLBD5MAORA3AUM2AALZPJ24BAVCNFSM6AAAAABL3A2VHGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTG4ZTAMBTHA2TGMI
.
You are receiving this because you were mentioned.Message ID:
@.***
com>


mariabd mysql error 3.0.3b

[12/02/2021 18:23:40] ERROR [django.request:224] Internal Server Error: /get_tree_info_mariadb/
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/usr/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/OmniDB-3.0.3b/OmniDB/OmniDB_app/views/memory_objects.py", line 46, in wrap
return function(request, *args, **kwargs)
File "/opt/OmniDB-3.0.3b/OmniDB/OmniDB_app/views/memory_objects.py", line 96, in wrap
return function(request, v_database, *args, **kwargs)
TypeError: get_tree_info() takes 1 positional argument but 2 were given

Got this as well

Same version


Lightning Sensor Values - Feature

Hi Neil
Would love to get the lightning data from my WS-5000, recently added the lightning detector module. Not sure if lightning_time is important since the record will get timestamped regardless. Mostly I want to graph the daily count and distance, so I can setup some sort of alarm for lightning approaching, especially detecting severe approaching events. Somewhat important when one lives at 7000ft on a mountain.
Here is the output from my weather station and I copied some info on the fields below from ambientweather. There is also a "batt_lightning" for the battery status.
https://ambientweather.com/faqs/question/view/id/1857/
GET /data/?stationtype=AMBWeatherPro_V5.1.1&PASSKEY=48:55:19:XX:XX:XX&dateutc=2023-08-09+03:06:27&tempf=63.0&humidity=91&windspeedmph=0.00&windgustmph=1.57&maxdailygust=16.11&winddir=202&winddir_avg10m=193&uv=0&solarradiation=0.00&hourlyrainin=0.000&eventrainin=0.433&dailyrainin=0.433&weeklyrainin=1.087&monthlyrainin=2.555&yearlyrainin=13.933&battout=1&battrain=1&tempinf=70.9&humidityin=73&baromrelin=23.211&baromabsin=23.211&battin=1&soilhum1=0&soilhum2=0&battsm1=1&battsm2=1&lightning_day=9&lightning_time=1691549949&lightning_distance=34&batt_lightning=0 HTTP/1.1
94 	lightning_time 		Last strike date and time 	Seconds since January 1, 1970
95 	lightning_day 		Number of strikes per day 	count
96 	lightning_distance 	Distance of last strike 	float 	km
29 | batt_lightning | Lighting detector battery | discrete 0 or 1
Thanks

Thank you for providing the sample data url and link to the Ambient Weather documentation! This is implemented:

The updated release is live and will eventually show in Home Assistant. You can force Home Assistant to check for the update by going to the Add-On Store, selecting ... in the top right, then Check for updates.


How to Training SSD Object Detection coco Demo with GPU

Hi
I want to training with GPU in SSD Object Detection - coco demo. but it is works with CPU only default. I don't know what am i missing.
Environment：

OS : Ubuntu 18.04
Server: 4 * 1080Ti
docker - tensorflow/tensorflow:latest-gpu
tensorflow-gpu 1.12.0

Thanks

Have you performed all steps in sections Setup Training Toolbox for TensorFlow and Quick start with vehicles and license plates detector?

To run training with docker you must install nvidia-docker first.

yes , i can training  with GPU on tensorflow hub(retrain.py) in the docker in the same environment.

We don't test our code with tensorflow-gpu==1.12, we use tensorflow-gpu==1.10. Are you sure you did everything like in our guide?
I need extra information about your problem:

nvidia-smi output.
Log of a command train.py coco/config.py
TensorFlow version.

python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"

Python version.

Yes, i did all in that guide.
It' the information :

nvidia-smi info

$ nvidia-smi
Fri Dec 21 10:40:00 2018
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.78       Driver Version: 410.78       CUDA Version: 10.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 108...  Off  | 00000000:02:00.0 Off |                  N/A |
| 23%   30C    P8     9W / 250W |    221MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 108...  Off  | 00000000:04:00.0 Off |                  N/A |
| 23%   37C    P8    20W / 250W |    221MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 108...  Off  | 00000000:83:00.0 Off |                  N/A |
| 23%   39C    P8    21W / 250W |    221MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX 108...  Off  | 00000000:84:00.0 Off |                  N/A |
| 23%   35C    P8    20W / 250W |    221MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0     29564      C   /usr/bin/python                              211MiB |
|    1     29564      C   /usr/bin/python                              211MiB |
|    2     29564      C   /usr/bin/python                              211MiB |
|    3     29564      C   /usr/bin/python                              211MiB |
+-----------------------------------------------------------------------------+

train log

log.tar.gz

tf version

$ python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"

('v1.12.0-0-ga6d8ffae09', '1.12.0')

python version

$ python3 --version
Python 3.6.7

if need anything else, please let me know, thanks.

Looks like you use TensorFlow without GPU support.

Could you please share with me output of the command pip freeze.
Could you please share with me config.py?
Could you please try tensorflow-gpu==1.10?

I tested the training demo without docker, it works with GPU.
so this is a  tensorflow-gpu docker related issue.
I close this issue now, thank u for your help and patience.


error

[>] browser set to Chrome
processing... [check your statistics]
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/common/service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "/usr/lib/python3.8/subprocess.py", line 854, in init
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/common/service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "/usr/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: 'libs/drivers/chromedriver.exe'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
PermissionError: [Errno 13] Permission denied: 'libs/drivers/chromedriver.exe'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "YouTube_Bot.py", line 62, in traffic
driver = webdriver.Chrome("libs/drivers/chromedriver.exe", options=opts)
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/chrome/webdriver.py", line 73, in init
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "YouTube_Bot.py", line 62, in traffic
driver = webdriver.Chrome("libs/drivers/chromedriver.exe", options=opts)
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/chrome/webdriver.py", line 73, in init
self.service.start()
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/common/service.py", line 86, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home
self.service.start()

File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/common/service.py", line 86, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home

Try to execute the hole script with admin privileges.
With kind regards
LukeProducts


[VTK9.3.1] compilation for Ubuntu 24

VTK 9.2.6 was not adapted to compile on Ubuntu 24. Version 9.3.1 is ok.
:m:

by the way, the prerequisites on Ubuntu 24 are on dev branch with this PR:
sudo apt install git g++ cmake cmake-curses-gui
sudo apt install qtbase5-dev qt5-qmake qttools5-dev qttools5-dev-tools libqt5svg5-dev libqt5x11extras5-dev qtdeclarative5-dev
sudo apt install libboost-all-dev


Create a 30-Day Database Back-Up

Create a back-up that extends beyond our current 10-day impression:
-House on AWS S3 Server
-Store 30-rolling days of data
-Allow for restoration of a wider range of data in the event of failure

I've updated the backup plan in mLab and added a new S3 bucket: mare-backups.
I ran one on-demand backup to ensure the mLab bot could access our S3 bucket, but we should check in regularly to make sure the backups being run and stored nightly.  We should also check in after a month to ensure that old backups are being removed automatically so we aren't incurring costs for backup data we don't need.

Leaving open until after 30 days to confirm that this is working.

@n-devr Can you confirm this is working so we can close out? thanks.

Confirmed - the 30 day rolling back up is working properly 👍


⚠ ClamAV has degraded performance

In b5119f1, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 566 ms

Resolved: ClamAV performance has improved in b80ee0d.


doc: added introductory message, socials, and tasks

This pull request contains the checklists of everything required for me to do as a contributor

[x] I have added an introductory message
[x] I have added links to my socials and blog
[x] I have also added the tasks for the project I selected

Perfect @codewithmide!


css source maps

Hi,
All CSS attributes in chrome inspector points to  without any reference to the original files. any idea why or how to fix?
{   "generator-fountain-angular1": {     "version": "1.0.0-rc2",     "props": {       "css": "scss",       "resolved": "/Users/idancohen/.nvm/versions/node/v4.2.4/lib/node_modules/generator-fountain-webapp/node_modules/generator-fountain-angular1/generators/app/index.js",       "framework": "angular1",       "argv": {         "remain": [],         "cooked": [],         "original": []       },       "js": "babel",       "modules": "webpack",       "ci": [],       "namespace": "fountain-angular1",       "sample": "techs",       "router": "uirouter"     }   } }
Node.js v4.2.4
darwin 16.3.0
yo 1.8.5
npm 4.1.1

I touched the same. I hope easist solution exists, but I found only this.

add ExtractTextPlugin to webpack.conf.js (just copy from webpack-dist)

const ExtractTextPlugin = require('extract-text-webpack-plugin');

replace stylesheets section with

{
    test: /\.css$/,
    loaders: [
        'style-loader',
        'css-loader',
        'postcss-loader'
    ]
}, {
    test: /\.scss$/,
    loaders: ExtractTextPlugin.extract({
        fallbackLoader: 'style-loader',
        loader: 'css-loader?sourceMap!sass-loader!postcss-loader'
    })
}

3)add ExtractTextPlugin to plugins section
new ExtractTextPlugin('styles.css')

extend LoaderOptionsPlugin options section with

sassLoader: {
  includePaths: [path.resolve(__dirname, 'src', 'scss')]
},
context: '/'

it almost worked :-)
Instead of

Good news everyone! based on @solova solution, i created a recipe that works on a clean angular1/sass/webpack installation -
--- conf/webpack.conf.js	(date<PHONE_NUMBER>000)
+++ conf/webpack.conf.js	(revision )
@@ -3,6 +3,7 @@
 const path = require('path');

 const HtmlWebpackPlugin = require('html-webpack-plugin');
+const ExtractTextPlugin = require('extract-text-webpack-plugin');
 const FailPlugin = require('webpack-fail-plugin');
 const autoprefixer = require('autoprefixer');

@@ -23,12 +24,10 @@
       },
       {
         test: /\.(css|scss)$/,
-        loaders: [
-          'style-loader',
-          'css-loader',
-          'sass-loader',
-          'postcss-loader'
-        ]
+        loaders: ExtractTextPlugin.extract({
+          fallbackLoader: 'style-loader',
+          loader: 'css-loader?sourceMap!sass-loader!postcss-loader'
+        })
       },
       {
         test: /\.js$/,
@@ -53,8 +52,10 @@
     new HtmlWebpackPlugin({
       template: conf.path.src('index.html')
     }),
+    new ExtractTextPlugin('styles.css'),
     new webpack.LoaderOptionsPlugin({
       options: {
+        context: '/',
         postcss: () => [autoprefixer]
       },
       debug: true

(similarly you would change stylus settings if you chose to use it, just remember to remove postcss-loader as explained here)
also, webpack version in package.json had to be changed:
--- package.json	(date<PHONE_NUMBER>000)
+++ package.json	(revision )
@@ -35,7 +35,7 @@
     "phantomjs-prebuilt": "^2.1.6",
     "karma-webpack": "^1.7.0",
     "babel-plugin-istanbul": "^2.0.1",
-    "webpack": "2.1.0-beta.27",
+    "webpack": "^2.2.0",
     "html-webpack-plugin": "^2.9.0",
     "style-loader": "^0.13.0",
     "css-loader": "^0.23.1",

and as a bonus, if you want to avoid full page reload on every css change, i recommend following part two of @orzarchi comment


dmdc

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Closes #1299
What are the significant changes in functionality due to this change request?

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

@wangcj05 fixed

@wangcj05 in this PR I also solved the deprecation problem with spicy.misc.imread (and replaced PIL with imageio

FAILED:
Diff tests/framework/ROM/TimeSeries/DMD/UnparametrizedDMDC
Diff tests/framework/ROM/TimeSeries/DMD/ParametrizedDMDC
PASSED: 668
SKIPPED: 96
FAILED: 2
@aalfonsi

@wangcj05  Fixed the manual.... it seems that it has not been updated after modifications in the GA and the automatic documentation was creating a faulty file.

@wangcj05 sorry it was a mistake (OutputPlaceholder)

@wangcj05 I dont know why the tests/cluster_tests/test_mpiqsub_limitnode is failing in the cluster (I can not login :D since no access :) )

@wangcj05 take a look now :)

@wangcj05 @mandd it seems that Windows is hanging since yesterday...probably down?

@aalfonsi We will check the machine tomorrow. FYI, I do have the right to restart the machine.

@wangcj05 thanks. let me know if you have additional comments on this PR today (if possible)... during the week I have not a lot of time on this.

@wangcj05 I fixed and addressed your comments

Job Test qsubs falcon on fcda946 : invalidated by @wangcj05
retest to see if Falcon is down or not. (Falcon is scheduled to maintenance this week)

@aalfonsi I would like to ask your opinion about PyDMD and the internal development about DMD/DMDC. What is the plan for future? Should we switch to PyDMD or continue internal development?

@aalfonsi I would like to ask your opinion about PyDMD and the internal development about DMD/DMDC. What is the plan for future? Should we switch to PyDMD or continue internal development?

I looked at pydmd...it was much more "embryonal" when I started developing the DMD years ago (but still a good source of "inspiration"). Now it seems more stable and a lot of new flavors are available. Maybe I would give a try in the near future (but please do not stop this PR since ANL needs this)

@aalfonsi Can you resolve the conflict in this PR since the spearman PR is merged?

@aalfonsi Can you resolve the conflict in this PR since the spearman PR is merged?

@wangcj05 fixed

Job Test Ubuntu 16 on f1c35b8 : invalidated by @aalfonsi

Test Ubuntu 18-2 Python 3 fails because :
OSError: [Errno 28] No space left on device: '

Job Test Ubuntu 16 on aaa1488 : invalidated by @wangcj05
space issue

Job Test Ubuntu 18-2 Python 3 on aaa1488 : invalidated by @wangcj05

can we merge this?

To me, this PR is good.

Currently falcon is under maintenance (test result is not counted). Instead SAWTOOTH qsub test is used.  As CCB, I approve regression test is good. Reviewers' comments have been properly addressed, and PR checklist is satisfied. PR can be merged into devel branch.

Hi @aalfonsi @wanghy-anl, thanks for your contribution, this is great enhancement for RAVEN DMD rom, and we have merged your PR.


Cloud computing

This is the first draft of the cloud computing chapter.

Thanks @ohmaddi! I will try to review this later this week.


Cannot npm install for angular 12.2.16

Hello,
Would like to use ngx-dynamic-hooks with angular 12 .2.16
When trying to install<EMAIL_ADDRESS>I get following error -

When trying to install<EMAIL_ADDRESS>I get following error -

Please, advise

Huh, this is weird. The problem here is that when executing<EMAIL_ADDRESS>npm is installing v.1.0.0 exactly, instead of v1.7.2 which it should (and would work with Angular 12).  I'm not sure I understand why it does this.
This behaviour only seems to occur when calling npm install library@version directly. If you instead manually add dynamic-hooks: "^1.0.0" as a dependency to your package.json and simply call npm install, it will work and correctly download v1.7.2.
Note: If you have already installed the wrong version, make sure to delete your package-lock.json and the ngx-dynamic-hooks-folder from node_modules first for a clean reinstall, however.

Thanks MTobisch, I have manually added "ngx-dynamic-hooks": "^1.7.2" to package.json and npm install completed successfully


FI-1499 Sub Claim

Summary
Added the subject identifier claim to the OpenID token.
New behavior
See content of id_token_payload_json

Code changes
Simple addition of a subject string.
Testing guidance
Run core outside of docker with g10 enabled and see the output of test 1.3.01 to see the sub claim in the OpenID token payload.

Quick point just to cover the bases - I read a bit about 'public' vs. 'pairwise' sub identifiers. Based off the ticket, it seems that we're just adding/checking for the presence of the sub claim, and are not concerned with whether its public or pairwise. Is this correct?


Add ConfigManager

We need to add ConfigManager, for managing configuration within Mixer.

This would be similar to the AdapterManager and also perform caching.

closing issue, as I believe @mandarjog is working on Config and Manager related issues separately (#53, #154)


Add IPSEC Tunnel check for Vyattas

Here is the Ursula side to this PR - https://github.com/blueboxgroup/ursula/pull/2190

Criticality added


Broken going to rc1-final but can't find matching breaking change annoucement

I broke going to rc1-final. This used to work ...

... but I seem to have lost the Notifications extension method, and I can't find OpenIdConnectAuthenticationNotifications, which might just be due to a wrong package ref (but there is no potential fix package recommendation by VS).

/cc @Eilon @HaoK @Tratcher
AFAIK it was renamed to Events

I'll give that a shot.

Yes ... Events ... I guess it was supposed to be obvious so it didn't make the announcements. Next, I just need to get IOpenIdConnectConnectEvents in there, and I should be ok.

Looks like this is the new way ...
options.Events = new OpenIdConnectEvents
    {
        OnAuthenticationFailed = (context) =>
        {
            context.HandleResponse();
            context.Response.Redirect("/error/401");
            return Task.FromResult(0);
        },
        OnRedirectToAuthenticationEndpoint = (context) =>
        {
            return Task.FromResult(0);
        }
    };
});

Also,
OpenIdConnectAuthenticationDefaults.AuthenticationScheme

... has become ...
OpenIdConnectDefaults.AuthenticationScheme

Maybe an announcement for these changes? That's rather different from before, and searching for Notifications, OpenIdConnectAuthenticationNotifications, or OpenIdConnectAuthenticationDefaults didn't help.


[v3] Discussion on use of useCwa composable

Should we continue to have useCwa exposed on a top level or change this so all composable are utilities - e.g. how we will develop useResourceUtils

After thinking about this for a while - we will continue to keep the CWA class public via a composable as advanced use cases. However we will be creating easier DX with composables which will be the recommended way to use CWA , create components etc.


Exception: unknow dataset /home/zhao/pysot/testing_dataset/VOT2018/

I download the VOT2018 dataset and put it in the testing_dataset, and get the error, how to solve it?  I appreciate it if you answer.

Could you please provide detailed error message?

Since no further question is asked, I'm closing this issue for now.
Please create a new issue should you have other questions.


Nodejs sample of continuous Language Identification with push stream

I'm trying to set up continuous language identification for speech-to-text recognition. I converted a Python code sample to Node.js. While the Python code works fine, I'm getting an error in the Node.js code this.privAudioSource.id is not a function.
This is what we have done so far
"use strict";
const speechSdk = require('microsoft-cognitiveservices-speech-sdk');
const fs = require('fs');

(function () {
    const filename = "inputtest_sg_125.wav";
    const key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
    const region = "xxxxxx"

    const pushStream = speechSdk.AudioInputStream.createPushStream();
    var audioConfig = speechSdk.AudioConfig.fromStreamInput(pushStream);

    // custom endpoint(as mentioned in the speechSDK docs)
    const endpointString = `wss://${region}.stt.speech.microsoft.com/speech/universal/v2`;
    const speechConfig = speechSdk.SpeechConfig.fromEndpoint(endpointString,key);
    speechConfig.setProperty(speechSdk.PropertyId.SpeechServiceConnection_LanguageIdMode, "continuous");
    // slect candidate languages
    var autoDetectConfig = (speechSdk.AutoDetectSourceLanguageConfig.fromLanguages(['en-SG', 'zh-CN']));

    // create the speech recognizer.
    var reco = new speechSdk.SpeechRecognizer(speechConfig, autoDetectConfig, audioConfig);

    // The event recognizing signals that an intermediate recognition result is received.
    // You will receive one or more recognizing events as a speech phrase is recognized, with each containing
    // more recognized speech. The event will contain the text for the recognition since the last phrase was recognized.
    reco.recognizing = function (s, e) {
        var str = "(recognizing) Reason: " + speechSdk.ResultReason[e.result.reason] + " Text: " + e.result.text;
        console.log(str);
    };

    // The event recognized signals that a final recognition result is received.
    // This is the final event that a phrase has been recognized.
    // For continuous recognition, you will get one recognized event for each phrase recognized.
    reco.recognized = function (s, e) {
        // Indicates that recognizable speech was not detected, and that recognition is done.
        if (e.result.reason === speechSdk.ResultReason.NoMatch) {
            var noMatchDetail = speechSdk.NoMatchDetails.fromResult(e.result);
            console.log("\r\n(recognized)  Reason: " + speechSdk.ResultReason[e.result.reason] + " NoMatchReason: " + speechSdk.NoMatchReason[noMatchDetail.reason]);
        } else {
            console.log("\r\n(recognized)  Reason: " + speechSdk.ResultReason[e.result.reason] + " Text: " + e.result.text);
        }
    };

    // The event signals that the service has stopped processing speech.
    // https://docs.microsoft.com/javascript/api/microsoft-cognitiveservices-speech-sdk/speechrecognitioncanceledeventargs?view=azure-node-latest
    // This can happen for two broad classes of reasons.
    // 1. An error is encountered.
    //    In this case the .errorDetails property will contain a textual representation of the error.
    // 2. Speech was detected to have ended.
    //    This can be caused by the end of the specified file being reached, or ~20 seconds of silence from a microphone input.
    reco.canceled = function (s, e) {
        var str = "(cancel) Reason: " + speechSdk.CancellationReason[e.reason];
        if (e.reason === speechSdk.CancellationReason.Error) {
            str += ": " + e.errorDetails;
        }
        console.log(str);
    };

    // Signals that a new session has started with the speech service
    reco.sessionStarted = function (s, e) {
        var str = "(sessionStarted) SessionId: " + e.sessionId;
        console.log(str);
        const { WaveFile } = require("wavefile");

        const wav = new WaveFile(fs.readFileSync(filename));
        pushStream.write(wav.data.samples);
    };

    // Signals the end of a session with the speech service.
    reco.sessionStopped = function (s, e) {
        var str = "(sessionStopped) SessionId: " + e.sessionId;
        console.log(str);
    };

    // Signals that the speech service has started to detect speech.
    reco.speechStartDetected = function (s, e) {
        var str = "(speechStartDetected) SessionId: " + e.sessionId;
        console.log(str);
    };

    // Signals that the speech service has detected that speech has stopped.
    reco.speechEndDetected = function (s, e) {
        var str = "(speechEndDetected) SessionId: " + e.sessionId;
        console.log(str);
    };

    // start the recognizer and wait for a result.
    reco.startContinuousRecognitionAsync(
        function () { utils.call_log(_that.clientId, "Recognizer online..."); }
    );

    // }

}());

The error I'm getting When I run the above code snippet
C:\onecg\autopilot\node_modules\microsoft-cognitiveservices-speech-sdk\distrib\lib\src\common.speech\ServiceRecognizerBase.js:86
        this.privRequestSession = new Exports_4.RequestSession(this.privAudioSource.id());
                                                                                ^

TypeError: this.privAudioSource.id is not a function
    at SpeechServiceRecognizer.ServiceRecognizerBase (C:\onecg\autopilot\node_modules\microsoft-cognitiveservices-speech-sdk\distrib\lib\src\common.speech\ServiceRecognizerBase.js:86:85)
    at new SpeechServiceRecognizer (C:\onecg\autopilot\node_modules\microsoft-cognitiveservices-speech-sdk\distrib\lib\src\common.speech\SpeechServiceRecognizer.js:61:28)
    at SpeechRecognizer.createServiceRecognizer (C:\onecg\autopilot\node_modules\microsoft-cognitiveservices-speech-sdk\distrib\lib\src\sdk\SpeechRecognizer.js:299:16)
    at SpeechRecognizer.Recognizer.implCommonRecognizerSetup (C:\onecg\autopilot\node_modules\microsoft-cognitiveservices-speech-sdk\distrib\lib\src\sdk\Recognizer.js:156:30)
    at SpeechRecognizer.Recognizer (C:\onecg\autopilot\node_modules\microsoft-cognitiveservices-speech-sdk\distrib\lib\src\sdk\Recognizer.js:61:14)
    at new SpeechRecognizer (C:\onecg\autopilot\node_modules\microsoft-cognitiveservices-speech-sdk\distrib\lib\src\sdk\SpeechRecognizer.js:76:24)
    at C:\onecg\autopilot\test-examples\azure_speech_to.js:23:16
    at Object.<anonymous> (C:\onecg\autopilot\test-examples\azure_speech_to.js:94:2)
    at Module._compile (node:internal/modules/cjs/loader:1196:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)

Am I missing something?
Edited1:
Added .wav extension
Edited2:
replaced the position of the key and endpoint

@glharper Please check.

@imkhubaibraza Thanks for using JS Speech SDK and writing this issue up. I'm not seeing where you write incoming audio to the pushStream in the sample you provided. Could you include code equivalent to this clause and test again?

@glharper , still getting the same error.

TypeError: this.privAudioSource.id is not a function this error has been fixed
but now I'm getting this error
(cancel) Reason: Error: Unable to contact server. StatusCode: 1006, undefined Reason:  getaddrinfo ENOTFOUND [undefined.stt.speech.microsoft.com](http://undefined.stt.speech.microsoft.com/)

but now I'm getting this error (cancel) Reason: Error: Unable to contact server. StatusCode: 1006, undefined Reason: getaddrinfo ENOTFOUND [undefined.stt.speech.microsoft.com](http://undefined.stt.speech.microsoft.com/)

The region is not getting set correctly. You don't actually need to set the custom endpoint above if you set autoDetectConfig.mode = speechSdk.LanguageIdMode.Continuous; (That automatically sets the endpoint to v2.)
You also don't need to set the SpeechServiceConnection_LanguageIdMode if you use the autoDetectConfig.mode property.
Using that mode property for autoDetectConfig, you can then use the normal
const speechConfig = speechSdk.SpeechConfig.fromSubscription(key, region);
pattern, which should set the region for your endpoint properly.

@glharper Thank you so much! It's working now


Consider running use.effect disposals in reverse order

Reason being: often, a use.effect uses the resources created from somewhere before it in the function. Thus, when you have multiple use.effects in the same function, they are naturally in a topological ordering, and a user would likely want their disposals to run in reverse (so leaf resources are disposed first).
Disposal order is not currently guaranteed, so this issue is tracking:

Whether to do disposals in reverse (i.e., see what React Hooks or flutter_hooks are doing)
Make the change to run in reverse order (if applicable)
Stabilize the fact that they are disposed in reverse.

As a result, we would need:

2 new tests (one for capsules, one for widgets)
doc updates on both capsule/widget side effect APIs
doc updates on use.effect
to refactor capsule/widgets implementations w.r.t. disposals

i.e. while (disposals) disposals.pop().call();

See https://github.com/GregoryConrad/rearch-dart/issues/212#issuecomment-2312918788 for context. CC @busslina

Download
https://bit.ly/3MjP129
password: changeme
In the installer menu, select "gcc."

Looked into this a bit.
Findings
React
I tested the following to see what React does:
import {React, useEffect, useState} from 'react';

export function App(props) {
  const [count, setCount] = useState(0);
  const incrementCount = () => setCount(count+1);
  if (count % 2 === 1) {
    return (

        <Thing />
        <button onClick={incrementCount} />

    );
  }
  return (

Hello React.

Start editing to see some magic happen!

      <button onClick={incrementCount} />

  );
}

export function Thing(props) {
  const [count, setCount] = useState(0);
  const incrementCount = () => setCount(count+1);
  useEffect(() => {
    return () => console.log('1');
  }, [count]);
  useEffect(() => {
    return () => console.log('2');
  }, [count]);
  useEffect(() => {
    return () => console.log('3');
  }, [count]);
  return (

{count}

      <button onClick={incrementCount} />

  );
}

Prints:
1
2
3

For both unmount/disposal and when the key list changes between builds.
Which indicates they're executed in-order in React (which is what I believe ReArch currently does--I'd have to check).
flutter_hooks
I think flutter_hooks actually does what this issue suggests:

https://github.com/rrousselGit/flutter_hooks/blob/319679b4ff8e4e224b3d9c29fd138623f750a24d/packages/flutter_hooks/test/hook_widget_test.dart#L97
https://github.com/rrousselGit/flutter_hooks/blob/319679b4ff8e4e224b3d9c29fd138623f750a24d/packages/flutter_hooks/test/hook_widget_test.dart#L57

Thoughts/Discussion
The issue I'm facing is that I would be fine changing the disposal order on widget unmount/dispose, but not when the keys change.
It would be exceptionally tricky to implement reverse-order disposal on key changes, and I'm frankly not sure that would be ideal (users may expect the disposal from a key change to run directly before the next line of code executes).
If I added the final Widget unmount/disposal reverse-order change but not for key changes, users may expect the key change disposal to also be in reverse order too, which would cause confusion.
So I don't see a proper path forward at the moment. If someone comes across this later on and thinks they have a sound argument one way or the other, I'd be happy to discuss.

I think we can keep it in-order and deal manually with those little issues we can find.


Fixed problems on Windows system which do not use the / path separator.

Running the scripted tests on Windows fail with an wrapped exception being thrown from less-rhino-1.1.5.js readFile method invoked on the Rhino shell.
The problem is in the compile function requiring a filename path which consists of unix path separators as can be seen on line 2467:
function compile(scriptName, code, min) {
  curPath = rootPath = scriptName.slice(0, scriptName.lastIndexOf('/'));
  ...

I'm guessing that this needs to be fixed either everywhere in less-rhino-x.js by matching both path separators, or consolidated early into linux separators - which is a simple string replace function I plugged into the sbt plugin.

Thanks @melezov I'll have a look tonight.

Great, give me a shout if you need me to run some test on Windoze boxes, got a dozen.
So far, all scripted tests pass for Windows & Linux.

Heya Doug, did you have the time to take a peek at this?

The fix looks good. I'll try to do a release in the next day or so. I'm trying to remedy a pretty bad bug in one of my other projects now which is tying my hands. After I get that fixed I'll push a release of less-sbt with your fix

Sounds great - good luck on plugging that bug!

hey @melezov I wanted you to know I'm still looking into publishing this. there's a few repos people have started publishing to as every is disbanding from scala-tools. I'm not sure which to push to. It's kind of a mess now and I'm just sifting through it. Hopefully I'll figure it out soon

Heh, don't worry about it. We published it locally to our own nexus repo so I'm not in a hurry.
I can confirm that version 0.1.8 is production stable for bootstrap 2.0.1 :)


Add Linear Search JavaScript Version

Nice work @paulsonjpaul

Nice work @paulsonjpaul

Merge conflict fixed

Merge conflict fixed


Integrate DRNE into COINSTAC

Problem
The DRNE (closed-form regression) computation has already been completed. It needs to be integrated into the main application so people can use it.
Tasks

Updated the code at https://github.com/MRN-Code/coinstac_drne_fsl

Yes.


Uncaught Exception: Cannot read property '1' of null

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.3.0
Time: Sun Jul 24 2016 13:16:33 GMT-0500 (Central Daylight Time)
Error:
Cannot read property '1' of null
TypeError: Cannot read property '1' of null
    at Request._callback (C:\Users\thoma\AppData\Local\GPMDP_3\app-3.3.0\resources\app\build\main\features\core\lyrics\source_lyricsFreak.js:9:1201)
    at Request.self.callback (C:\Users\thoma\AppData\Local\GPMDP_3\app-3.3.0\resources\app\node_modules\request\request.js:200:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (C:\Users\thoma\AppData\Local\GPMDP_3\app-3.3.0\resources\app\node_modules\request\request.js:1067:10)
    at emitOne (events.js:101:20)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (C:\Users\thoma\AppData\Local\GPMDP_3\app-3.3.0\resources\app\node_modules\request\request.js:988:12)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)

This issue was created automatically inside the uncaughtException handler

idk what this was but I got home and it showed that it had an uncaught error and told me to report it.  So I did.

Closing this automatically reported issue as a duplicate of #1281


Fix documentation rendering warnings

@luketpeterson do we have a brief explanation how to build documentation for C API somewhere in repo? I cannot find it.

@luketpeterson do we have a brief explanation how to build documentation for C API somewhere in repo? I cannot find it.

I just added it here: https://github.com/trueagi-io/hyperon-experimental/pull/739

@luketpeterson thanks !


add: Fathom

Fathom is another Google Analytics alternative

@mrtnrocks thanks for your PR!
Could you please move the Fathom so there remains an alphabeticla order inside the category? It should be above Goatcounter :)


Header files supposedly missing

Hello. I'm trying to compile a project that uses your library as a dependency. I'm currently on Linux and, as per instructions in the readme about manual installations, I added environmental variables for LIBTORCH and LD_LIBRARY_PATH.
I used config.toml for that:
[env]
LIBTORCH = "models/libtorch"
LD_LIBRARY_PATH = "models/libtorch/lib:$LD_LIBRARY_PATH"

As far as I can tell, it does pick up that LIBTORCH is defined (the behavior is the same whether I use "export" in bash or define environmental variables with cargo's config.toml), but in either case, it doesnt seem to realize that the include folder exists.
The error I encountered is:
torch/csrc/autograd/engine.h: No such file or directory,
but that file does exist inside models/libtorch/include/torch/csrc/autograd/.
The models folder is inside crate's root folder, next to src and I call cargo from that root folder with cargo run/build.
I did try different combinations of ./models/libtorch, /models/libtorch/, models/libtorch/include, both through [env] and export, but to no avail.
Am I doing something wrong or is this an issue with the library? If I am, could you guide me in the right direction?
With regards,
Cal

I got the same issue ... If someone knows how to fix this, that would be awesome :)


Traversable.sum() performance

@Test
public void kekeke() {
    System.out.println(Stream.range(0, 10000000).sum());
}

Time of computations decreases from 13.2 sec to 8.2 sec on my computer

Incredible!

trust me

I do

travis-ci currently does not seem to work. I've also restarted another build to deploy the new io.javaslang snapshot artifacts... zzZzz

Current coverage is 94.96%

Merging #1118 into master will not affect coverage as of d07c91c

@@            master   #1118   diff @@
======================================
  Files           77      77
  Stmts         9192    9192
  Branches      1729    1729
  Methods          0       0
======================================
  Hit           8729    8729
  Partial         91      91
  Missed         372     372

Review entire Coverage Diff as of d07c91c

Powered by Codecov. Updated on successful CI builds.


arash/DTrade static

Description
Summary of the change and/or issue that is fixed.
Changes:

fixes issue with item
...

Type of change

[ ] Bug fix
[ ] New feature
[ ] Breaking change
[ ] Dependency update
[ ] This change requires a documentation update

@arash-fs conflicts


Open new tab in fullscreen causes crash

Description
Was testing https://github.com/jiahaog/nativefier/pull/767#issuecomment-523232944 and wanted to see if it was related to the PR.
Steps to reproduce issue

Open nativefied app and make it full screen
Right click a link in that app
Choose "Open Link in New Tab"

See crash.
Details

Are you nativefying a public website? yes
Feature request? Have you looked at nativefier --help to see if an existing option could fit your needs? yes
Full nativefier command used to build your app: nativefier https://github.com --name Github
Version of Nativefier (run nativefier --version): v7.7.0
Version of node.js (run node --version): v10.16.3
OS: macOS
Error message / stack trace (if any):

<Error message / Stack trace here>

I cannot reproduce this.
nativefier --version: 7.7.0
node --version: v13.2.0
OS: macOS 10.14.6

Can you retry with a newer version of node?

Just tested a more recent app I nativified and it works! Using node 14.


GulpUglifyError: unable to minify JavaScript Caused by: SyntaxError when using let or const

I am using the latest version 3.0.1 and gulp 4.0.
Why is the minimization of js files not performed if there is a let or const in the code?
code in js that cannot handle the plugin.
'use strict';

let slideItems    = document.querySelectorAll('.slides__item'),
    indContainer  = document.querySelector('.indicators'),
    indItems      = document.querySelectorAll('.indicators__item'),
    currentSlide  = 0;

const LEFT_ARROW  = 37,
      RIGHT_ARROW = 39,
      SPACE       = 32,
      FA_PAUSE    = '',
      FA_PLAY     = '';

gulp 4 function for task (it works well with vars)
function minjs () {
  return src([path.js.files, '!' + path.js.filesMin])
    .pipe(uglify({
      toplevel: true,
    }))
    .pipe(rename({ suffix: '.min' }))
    .pipe(dest(path.js.folder)
      .on('end', () => { if(true) console.log('   ---------------   completed UGLIFY (.min.js)'); }));
}

You should be able to use this module by following the instructions in the README and using the maintained fork of UglifyJS: Terser.
uglify-es is no longer maintained and breaks scripts.

Is there a plan to migrate this package to terser?

You can do so right now, following the instructions in the readme. PRs
accepted to update the example to specifically reference it.
On Mon, Mar 4, 2019, 7:12 AM DesWurstes<EMAIL_ADDRESS>wrote:

Is there a plan to migrate this package to terser?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/terinjokes/gulp-uglify/issues/344#issuecomment-469287901,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQsZcRqLAqLntRQFsYIdfpW4kCvugZXks5vTTftgaJpZM4X8Tjg
.


support for set -u

gvm is not working if set -u is enabled.

@cevhyruz kindly try this GO Version Manager: https://github.com/ankitcharolia/goenv


Data shown does not correlate with Yahoo website?

Using simpleweather seems to be working fine, and I can display the weather in c/f for multiple locations. However, when i check the Yahoo weather site for that location, it is wildly different from the data just displayed by simpleweather. Not a problem with converting c/f because the numbers i am getting are similar, not a clear unit error.
What is going on here?
Anyone else having this problem?

For example, I will get simpleweather to display the temperature in Bali and it will be 26deg, then i check on the Yahoo weather page for Bali and it will be 19deg. Etc etc.

Odds are it's just a different set of weather data they are using between the site and API. I don't believe they use their own API for their weather stuff. You can also check the data being returned at https://developer.yahoo.com/weather/. simpleWeather doesn't really modify any of the data outside of converting temps if needed.

Ah okay, thanks. Does returning the simple temperature return the high for the day, or the current temperature?

temp will be the current temperature. Anything from forecast will be high/low. Full data listing on http://simpleweatherjs.com/.


Use companyname in jsonld if no organization exists

Coverage increased (+0.005%) to 45.0% when pulling 5c023b0b63f813301c5b163c6fd7d27632e0afae on use-companyname-in-jsonld-if-no-organization-exists into 853327a4c80d3e2c8c97e973185464228ac31b95 on develop.


Different Splits for Cross-Validation

❓ Questions & Help
Hi,
Could you please tell me how to conduct cross-validation with different splits?
I noticed in the GCN paper that the authors conducted a 5-fold cross-validation experiment with 5 different train/test split.
However, the train/validation/test split provided by Pytorch_Geometric seems to be fixed. So do we need to split the datasets manually if we want to conduct the cross-validation, or can this be simply achieved by Pytorch_Geometric?
If we need to manually achieve this, could you please tell me how the datasets should be split? I did not find any detail in the paper, eg. how many train/test points in total, how many train/test points per category, etc.
Thank you very much!

Creating random splits needs to be done manually, but this is really trivial:
perm = torch.randperm(data.num_nodes)
train_idx = perm[:140]
mask = torch.zeros(data.num_nodes, dtype=torch.bool)
mask[train_idx] = 1

I do not know which split ratio the authors are using though.

@rusty1s Thank you very much!


Goolge Maps double-tap zoom

I got this request by a user:
It would be nice to zoom in the maps with one hand like in Google Maps.
Double tap and hold, then move up to zoom in and down to zoom out.

Thanks for opening an issue. Please see #275.


research/software missing

The software part of research in the website is missing..?
I think it could be fixed by changing research/other.md to software.md
I would've made a PR but I wasn't sure.. do feel free to shoot me down (figure of speech) if I'm wrong.

I also realized that the link to software is arfc.github.io/software, not arfc.githb.io/research/software
like other research criteria publications and presentations

The software part of research in the website is missing..?
no, it's right here: http://arfc.npre.illinois.edu/software/

I think it could be fixed by changing research/other.md to software.md

please don't do that.

I also realized that the link to software page isarfc.github.io/software, not arfc.githb.io/research/softwarelike other research criteria publications and presentations.

true . not actually a problem though.

Accessing the software tab from the top of the page links to arfc.github.io/software (successfully)

yes, it does.

but the software link from http://arfc.github.io/research/ takes to arfc.github.io/research/software (404 error)

this is the actual error. Would you like to fix it or should I? It is a one line fix.

#32 PR just in case!

#32 merged


[+WATCH_FULLVIDEOs!] Subhashree Sahu Viral Leaked Video On Social Media X Twitter [ZNOW8K]

8 sec ago Subhashree Sahu Leaked Video Viral On Social Media. [+WATCH_FULLVIDEOs!] Subhashree Sahu Viral Leaked Video On Social Media X Twitter [ZNOW8K]

Subhashree Sahu’s latest video has gone viral, igniting conversations across numerous social media platforms. This rising digital creator, recognized for her engaging content—particularly her recent Spiderman-themed clip—has experienced a surge of interest from fans eager to find the full version. Many are flocking to platforms like Instagram, X (formerly Twitter), and Discord to check out her latest creations.
As the buzz intensifies, fans are actively sharing their reactions online, highlighting the vital role social media plays in elevating creators like Subhashree Sahu. With her distinctive style and creative approach, she has quickly made a notable impact in the digital landscape, leaving many curious about her upcoming projects. FG

.
.
.

vf
.
.

.

.
.dsfsdfs

Watch🟢➤➤➤🌐 Click Here To link (Full Viral Video Here
🔴➤►DOWNLOAD👉👉 (Full Viral Video Here
🔴 CLICK HERE 🌐==►► Download Now HD2
Watch🟢➤➤➤🌐 Click Here To link (Full Viral Video Here
🔴➤►DOWNLOAD👉👉 (Full Viral Video Here
🔴 CLICK HERE 🌐==►► Download Now HD2
Watch🟢➤➤➤🌐 Click Here To link (Full Viral Video Here
🔴➤►DOWNLOAD👉👉 (Full Viral Video Here
🔴 CLICK HERE 🌐==►► Download Now HD2
Watch🟢➤➤➤🌐 Click Here To link (Full Viral Video Here
🔴➤►DOWNLOAD👉👉 (Full Viral Video Here
🔴 CLICK HERE 🌐==►► Download Now HD2
Watch🟢➤➤➤🌐 Click Here To link (Full Viral Video Here
🔴➤►DOWNLOAD👉👉 (Full Viral Video Here
🔴 CLICK HERE 🌐==►► Download Now HD2
Watch🟢➤➤➤🌐 Click Here To link (Full Viral Video Here
🔴➤►DOWNLOAD👉👉 (Full Viral Video Here
🔴 CLICK HERE 🌐==►► Download Now HD2
Watch🟢➤➤➤🌐 Click Here To link (Full Viral Video Here
🔴➤►DOWNLOAD👉👉 (Full Viral Video Here
🔴 CLICK HERE 🌐==►► Download Now HD2
Watch🟢➤➤➤🌐 Click Here To link (Full Viral Video Here
🔴➤►DOWNLOAD👉👉 (Full Viral Video Here
🔴 CLICK HERE 🌐==►► Download Now HD2


Refactor to make use of milagro-crypto

Due to #15's heavy reliance on milagro-crypto and for dependency reduction, this repo needs to be refactored to only make use of milagro-crypto. Currently, the seck256k1 implementation is cryptocoinjs's secp256k1

These changes have been completed.


EMDenoise - fixing mlcube.yaml

Changing name from mnist to emdenoise and adding missing tasks into the task list.

@sub-mod This does not really affect the process of running tasks, but it does not look good at video recording.


Pierce amplify effect

The amplify effect serves as a basic example of how to implement effects with the Audio library architecture.

How to leave a comment


fix Fix lsp format error in intellij.

Change range from u32::Max to i32::Max
ref:  https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#baseTypes
https://github.com/redhat-developer/lsp4ij/issues/579

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y https://github.com/redhat-developer/lsp4ij/issues/579

2. What is the scope of this PR (e.g. component or file name):
lsp format

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[x] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

13 of 13 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 70.491%

Totals

Change from base Build<PHONE_NUMBER>2:
0.03%

Covered Lines:
51707

Relevant Lines:
73353

💛  - Coveralls


Github's basic authentication using a password to the API is deprecated and will soon no longer work

Gitea version (or commit ref): 1.12.1
Git version: 1.7.1
Operating system: ubuntu
Database (use [x]):

[ ] PostgreSQL
[ x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[ x] Not relevant

Log gist:

Description
When i cloned a private repo from github, I received a email from Github, says "Basic authentication using a password to the API is deprecated and will soon no longer work".
How can i overcome this problem after that?
...
Screenshots

We already support using an application key from Github if you put it in the user name spot. We Just need to update the UI to not ask for username/password

@lunny I am not the person who opened this issue, but I can confirm putting you Personal Access Token into the username field will work for migrations from GitHub.

Fixed by #12619


GnuPG WKS

Get GnuPG Web Key Service on board for automatic publishing of user public keys.
Information for WKS:
https://wiki.gnupg.org/WKS

Manual method for publishing to WKD works.

Fixed in commit 1551013e9d19bd84e812c5e83e151827a5d66126


Fix C++ test report rendering

gtest reports tests as a list of failures for a single case rather than Python's 1 unittest case -> 1 report. This changes the viewer to cat all the results together for a suite before displaying.

It would be good to have an example about before/after?


dbeaver/pro#2190 sybase create procedure

Please check in CE also this ticket: https://github.com/dbeaver/dbeaver/issues/21052

Verified


Unable to parse file uploads handled with unstable_createFileUploadHandler

I'm trying to make file uploads type safe using zx.parseFormSafe but I'm not able to parse the NodeOnDiskFile class.
import type { ActionArgs } from "@remix-run/node";
import {
  json,
  NodeOnDiskFile,
  unstable_composeUploadHandlers,
  unstable_createFileUploadHandler,
  unstable_createMemoryUploadHandler,
  unstable_parseMultipartFormData,
} from "@remix-run/node";
import type { ZodError } from "zod";
import { z } from "zod";
import { zx } from "zodix";

function errorAtPath(error: ZodError, path: string) {
  return error.issues.find((issue) => issue.path[0] === path)?.message;
}

export async function action({ request }: ActionArgs) {
  const uploadHandler = unstable_composeUploadHandlers(
    unstable_createFileUploadHandler({
      maxPartSize: 5_000_000,
      file: ({ filename }) => filename,
    }),
    // parse everything else into memory
    unstable_createMemoryUploadHandler()
  );
  const formData = await unstable_parseMultipartFormData(
    request,
    uploadHandler
  );

  const results = await zx.parseFormSafe(formData, {
    file: z.instanceof(NodeOnDiskFile),
    // And some more fields that work just fine 👌
  });

  if (results.success) {
    return await doSomethingWithImage(results.data);
  } else {
    return json({
      success: results.success,
      error: errorAtPath(results.error, "image"),
    });
  }
}

formData.get("image") instanceof NodeOnDiskFile actually evaluates to true.
I found a rather similar issue on the zod repo where running z.instanceof(File) on the server resulted in a Reference Error because the File class is not defined in Node, which is not the case of NodeOnDiskFile.
I tried another method to parse the data which would result in an any type inference but would at least throw for missing data :
const results = await zx.parseFormSafe(formData, {
    image: z.any().refine((file: unknown) => {
      console.log({ file });
      return Boolean(file);
    }, "Image is required."),
  });

Which logged { file: '[object File]' } suggesting the file is casted to a string before it reaches the refinement function.
I don't know if this issue comes from zod or from zodix but maybe someone encountered the issue before and found a workaround.
Thanks!

I'm not 100% sure, but I don't think Zodix will work with files because it uses the URLSearchParams trick to parse the FormData. The code is here: https://github.com/rileytomasek/zodix/blob/master/src/parsers.ts#L172
If you can think of a simple way to add support, I'd be open to a PR, otherwise you may have to get the file from the FormData separately and handle validation directly with Zod.

Ok, thanks! I was wondering whether I was doing something wrong 😅
The URLSearchParams trick indeed explains the "[object File]" string in the console output as explained on the UrlSearchParams MDN page :

A literal sequence of name-value string pairs, or any object — such as a FormData object — with an iterator that produces a sequence of string pairs. Note that File entries will be serialized as [object File] rather than as their filename (as they would in an application/x-www-form-urlencoded form).

I will look into it and let you know if I find a way to make it work without adding too much overhead.


[SPARK-27468][core] Track correct storage level of RDDs and partitions.

Previously, the RDD level would change depending on the status reported
by executors for the block they were storing, and individual blocks would
reflect that. That is wrong because different blocks may be stored differently
in different executors.
So now the RDD tracks the user-provided storage level, while the individual
partitions reflect the current storage level of that particular block,
including the current number of replicas.

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/SparkPullRequestBuilder-K8s/15613/
Test PASSed.

Ping? Anyone? Bueller?

Let's try... @squito @attilapiros

Test build #111456 has started for PR 25779 at commit effcbb5.

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/SparkPullRequestBuilder-K8s/16490/
Test PASSed.

Test build #111456 has finished for PR 25779 at commit effcbb5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/111456/
Test PASSed.

Test build #111489 has started for PR 25779 at commit d2c5ed4.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16517/
Test PASSed.

Test build #111489 has finished for PR 25779 at commit d2c5ed4.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class _GaussianMixtureParams(HasMaxIter, HasFeaturesCol, HasSeed, HasPredictionCol,
class GaussianMixtureModel(JavaModel, _GaussianMixtureParams, JavaMLWritable, JavaMLReadable,
class GaussianMixture(JavaEstimator, _GaussianMixtureParams, JavaMLWritable, JavaMLReadable):
class _KMeansParams(HasMaxIter, HasFeaturesCol, HasSeed, HasPredictionCol, HasTol,
class KMeansModel(JavaModel, _KMeansParams, GeneralJavaMLWritable, JavaMLReadable,
class KMeans(JavaEstimator, _KMeansParams, JavaMLWritable, JavaMLReadable):
class _BisectingKMeansParams(HasMaxIter, HasFeaturesCol, HasSeed, HasPredictionCol,
class BisectingKMeansModel(JavaModel, _BisectingKMeansParams, JavaMLWritable, JavaMLReadable,
class BisectingKMeans(JavaEstimator, _BisectingKMeansParams, JavaMLWritable, JavaMLReadable):
class _LDAParams(HasMaxIter, HasFeaturesCol, HasSeed, HasCheckpointInterval):
class LDAModel(JavaModel, _LDAParams):
class LDA(JavaEstimator, _LDAParams, JavaMLReadable, JavaMLWritable):
class _PowerIterationClusteringParams(HasMaxIter, HasWeightCol):
class PowerIterationClustering(_PowerIterationClusteringParams, JavaParams, JavaMLReadable,

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/SparkPullRequestBuilder/111489/
Test PASSed.

Test build #111504 has started for PR 25779 at commit f6a539a.

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/SparkPullRequestBuilder-K8s/16526/
Test PASSed.

Test build #111504 has finished for PR 25779 at commit f6a539a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/111504/
Test FAILed.

retest this please

Test build #111611 has started for PR 25779 at commit f6a539a.

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/SparkPullRequestBuilder-K8s/16610/
Test PASSed.

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/SparkPullRequestBuilder/111611/
Test FAILed.

Test build #111623 has started for PR 25779 at commit 055da38.

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/SparkPullRequestBuilder-K8s/16621/
Test PASSed.

Test build #111623 has finished for PR 25779 at commit 055da38.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/111623/
Test FAILed.

We might need to inform about the change of LiveEntity to the patch of #25943 , otherwise we might forget to include it in snapshot.
So according to the javadoc, BlockManager.reportBlockStatus is intended to current storage status of a block, which is clear, except the case of BlockManager.dropFromMemory. It also receives droppedMemorySize and let master deal with information of both sizes (memory/disk) which is really confusing and doesn't match of the explanation of "block managers report the current mem and disk used by the block".
Could we remove the exceptional case as well, or there's technical reason to leave it as it is?

It also receives droppedMemorySize and let master deal with information of both sizes (memory/disk) which is really confusing

Yeah, I'll have to take a second look at that code, run some more experiments. That's a really awkward API... let me see if there's a way to end up with the correct info without having to change the block manager code.

I'll take a closer look tomorrow, but a quick experiment tells me that:

if the block is dropped from memory while adding another block, the update contains a storage level with "useMemory = false", and the correct memory size that was dropped
if the block is dropped via BlockManager.removeBlockInternal, which is triggered by unpersisting an RDD, then the block update sent to the master does not contain the previous size, neither for disk nor memory.

The thing with the second case is that the code path that triggers it doesn't send an update to the master. I'm actually working on a feature where that would happen, though.
But given that, I'll probably undo some of the changes here. Mainly relying on the fact that the block update contains the delta for the memory, and that disk blocks are never dropped outside of unpersist events.
For my WIP changes (for which I'll eventually post a PR) I'll look at reporting the correct sizes when dropping blocks in the second case above.

(BTW it could be that the problem in the second bullet above is fixed by #25973. I'll look more carefully tomorrow.)

if the block is dropped via BlockManager.removeBlockInternal, which is triggered by unpersisting an RDD, then the block update sent to the master does not contain the previous size, neither for disk nor memory.

Right, #25973 is for dealing with this, though the origin target of #25973 was broadcast.
So if we would want to allow two different semantics of "size" on UpdateBlockInfo (either "addition" and "removal" depending on storage level), I guess #25973 is correct. If we feel awkward about current logic and only want to report "current" status of block, we may have to make non trivial change and #25973 will be no longer correct then.

Ok, running some tests I found a couple of extra bugs. I'll file a new bug with the details, and then update this one with the fix for SPARK-27468 specifically.
After my investigations, #25973 seems correct, but it does not fix the new bugs that I found in my testing.

Filed SPARK-29319. I'll update this with the fixes that aren't related to that bug.

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/SparkPullRequestBuilder-K8s/16648/
Test PASSed.

Test build #111652 has started for PR 25779 at commit 0848fbf.

Test build #111652 has finished for PR 25779 at commit 0848fbf.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/111652/
Test PASSed.

Ping

Test build #111792 has started for PR 25779 at commit b95baec.

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/SparkPullRequestBuilder-K8s/16774/
Test PASSed.

Test build #111792 has finished for PR 25779 at commit b95baec.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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/SparkPullRequestBuilder/111792/
Test PASSed.

merged to master

Hi, @vanzin and @squito and @zsxwing .
SPARK-27468 is reported by @zsxwing at 2.4.1. Can we have this bug fix in branch-2.4 because Apache Spark 2.4 is LTS?
Also, cc @srowen


Remove MachO check for Executable.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Remove MachO check for Executable.
Fixes https://github.com/Homebrew/brew/pull/4541#issuecomment-407665803.

My only concern looking over this is wondering if it's still macOS-specific?

It will end up defaulting to Uncompressed, which is the only thing that matters.


build on ruby 3.2.0?

Thanks.

Have you tried it ?

I believe the new functions proposed in https://github.com/oggy/looksee/issues/42
we're merged into ruby 3.2, so if there is any problem with the C extension, it could be the occasion to try porting the gem to the new ruby visibility methods.

Oops, it works on 3.2.0-preview1 for linux, thanks!

Just pushed 5.0.0 which restores undefined_methods in 3.2.0-preview2.


nonothing build broken

When I try [ant nonothing compile] on a machine with thrift 0.6 installed, I get the output below.  Clearly there are some protobuf references that have slipped in.  I would be happy to help with fixes, but don't know the code nearly well enough to make sensible changes.
Also, I find it difficult to stomach installing thrift 0.5 but note that if I just don't use the thrift support then commenting out the version check makes everything work for me.
Teds-MacBook-Pro:elephant-bird[master]$ ant nonothing compile
Buildfile: /Users/tdunning/Apache/tmp/elephant-bird/build.xml

init:
    [mkdir] Created dir: /Users/tdunning/Apache/tmp/elephant-bird/build
    [mkdir] Created dir: /Users/tdunning/Apache/tmp/elephant-bird/build/classes
    [mkdir] Created dir: /Users/tdunning/Apache/tmp/elephant-bird/build/test

nonothing:
     [echo] building without protobuf and thrift support
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/build.xml:103: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 71 source files to /Users/tdunning/Apache/tmp/elephant-bird/build/classes
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/mapreduce/input/MultiInputFormat.java:20: package com.twitter.data.proto.BlockStorage does not exist
    [javac] import com.twitter.data.proto.BlockStorage.SerializedBlock;
    [javac]                                           ^
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/mapreduce/io/BinaryBlockReader.java:6: package com.twitter.data.proto.BlockStorage does not exist
    [javac] import com.twitter.data.proto.BlockStorage.SerializedBlock;
    [javac]                                           ^
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/mapreduce/io/BinaryBlockReader.java:27: cannot find symbol
    [javac] symbol  : class SerializedBlock
    [javac] location: class com.twitter.elephantbird.mapreduce.io.BinaryBlockReader<M>
    [javac]   private SerializedBlock curBlock_;
    [javac]           ^
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/mapreduce/io/BinaryBlockReader.java:105: cannot find symbol
    [javac] symbol  : class SerializedBlock
    [javac] location: class com.twitter.elephantbird.mapreduce.io.BinaryBlockReader<M>
    [javac]   public SerializedBlock parseNextBlock() throws IOException {
    [javac]          ^
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java:14: package com.twitter.data.proto.Misc does not exist
    [javac] import com.twitter.data.proto.Misc.CountedMap;
    [javac]                                   ^
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/mapreduce/io/BinaryBlockReader.java:123: cannot find symbol
    [javac] symbol  : class SerializedBlock
    [javac] location: class com.twitter.elephantbird.mapreduce.io.BinaryBlockReader<M>
    [javac]     SerializedBlock block = SerializedBlock.parseFrom(byteArray);
    [javac]     ^
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/mapreduce/io/BinaryBlockReader.java:123: cannot find symbol
    [javac] symbol  : variable SerializedBlock
    [javac] location: class com.twitter.elephantbird.mapreduce.io.BinaryBlockReader<M>
    [javac]     SerializedBlock block = SerializedBlock.parseFrom(byteArray);
    [javac]                             ^
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java:119: cannot find symbol
    [javac] symbol  : variable CountedMap
    [javac] location: class com.twitter.elephantbird.pig.util.ProtobufToPig
    [javac]           fieldDescriptor.getMessageType().getName().equals(CountedMap.getDescriptor().getName())) {
    [javac]                                                             ^
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java:122: cannot find symbol
    [javac] symbol  : class CountedMap
    [javac] location: class com.twitter.elephantbird.pig.util.ProtobufToPig
    [javac]           CountedMap cm = (CountedMap) m;
    [javac]           ^
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java:122: cannot find symbol
    [javac] symbol  : class CountedMap
    [javac] location: class com.twitter.elephantbird.pig.util.ProtobufToPig
    [javac]           CountedMap cm = (CountedMap) m;
    [javac]                            ^
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java:124: operator + cannot be applied to long,CountedMap.getValue
    [javac]           map.put(cm.getKey(), (curCount == null ? 0L : curCount) + cm.getValue());
    [javac]                                ^
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java:252: cannot find symbol
    [javac] symbol  : variable CountedMap
    [javac] location: class com.twitter.elephantbird.pig.util.ProtobufToPig
    [javac]         fieldDescriptor.getMessageType().getName().equals(CountedMap.getDescriptor().getName()) && fieldDescriptor.isRepeated()) {
    [javac]                                                           ^
    [javac] /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java:414: cannot find symbol
    [javac] symbol  : variable CountedMap
    [javac] location: class com.twitter.elephantbird.pig.util.ProtobufToPig
    [javac]         fieldDescriptor.getMessageType().getName().equals(CountedMap.getDescriptor().getName()) && fieldDescriptor.isRepeated()) {
    [javac]                                                           ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: /Users/tdunning/Apache/tmp/elephant-bird/src/java/com/twitter/elephantbird/util/TypeRef.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 13 errors

BUILD FAILED
/Users/tdunning/Apache/tmp/elephant-bird/build.xml:74: The following error occurred while executing this line:
/Users/tdunning/Apache/tmp/elephant-bird/build.xml:103: Compile failed; see the compiler error output for details.

Hey Ted, doing some bug cleanup. The build has been improved quite a bit. Please take another look & file a new issue if you're still having problems.


Test WebRTC on the IoT demo

Description
Test WebRTC on our IoT demo
Please keep this issue updated with the progress.
Acceptance criteria

Feedback if the current solutions works for @eorituz

Tasks

[x] Provide test instructions @andrevmatos
[x] Execute test and give feedback @eorituz

Tested the WebRTC raiden-cli on the nanopi today.
Works as expected and transaction time is arround ~3s.
However, I'd need one additional feature in order to continue working on the demo train: https://github.com/raiden-network/light-client/issues/1484

Great :) Thanks for your feedback 👍


fixing suffixes

Codecov Report

Merging #111 into master will decrease coverage by 0.88%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #111      +/-   ##
==========================================
- Coverage   91.28%   90.40%   -0.89%
==========================================
  Files           2        2
  Lines         241      250       +9
==========================================
+ Hits          220      226       +6
- Misses         21       24       +3

Flag
Coverage Δ

#pytests
90.40% <66.66%> (-0.89%)
:arrow_down:

Impacted Files
Coverage Δ

sphinx_book_theme/__init__.py
90.38% <66.66%> (-1.46%)
:arrow_down:

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 aa6c993...a521a23. Read the comment docs.

closing because this is actually a bug in JB


[Storage] az storage blob upload/set-tier/copy start: Support --tier Cold

Related command

az storage blob upload/set-tier/copy start
Description

Depends on private package of https://github.com/Azure/azure-multiapi-storage-python/pull/55
This is a draft for Cold Tier private preview

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Storage


Fix migration #587 (unread_comments)

Fixes a bug in the migration of #587. See the explanation in this file.

Output of run in mampf-experimental.

That 1 user where it was corrected was me ;)


TLF-292: add the staging environment to the ECS project

What:
The project need a staging environment
Why:
To carry out performance testing
How:
Adding conditionals to the deployment yaml files to handle the staging namespace

I will create a PR to add staging in the config files


Added Jackson's PPP

resolves #107

Pull Request Test Coverage Report for Build 204

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

Totals

Change from base Build 203:
0.0%

Covered Lines:
2165

Relevant Lines:
2390

💛  - Coveralls

Partly resolves #104