Add Chinese translation

CATEGORY
Choose one

[ ] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[x] Documentation

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS

Codecov Report

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

@@           Coverage Diff           @@
##           master    #7477   +/-   ##
=======================================
  Coverage   65.42%   65.42%
=======================================
  Files         435      435
  Lines       21323    21323
  Branches     2347     2347
=======================================
  Hits        13950    13950
  Misses       7257     7257
  Partials      116      116

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 51fd43a...5ce7ccf. Read the comment docs.

messages.json is generated from .po file right? you don't have to commit .json file.

@graceguo-supercat i see


Failed to download from NPM Registry

This packages seem to have been broken When i try to download it using npm install  html2pdf.js
it results into the following

Hi @makuzaverite I can't replicate this issue locally, but I suspect it's due to an interaction between your local config and the way jsPDF 1.5.3 loads file-saver as a GitHub dependency instead of an npm dependency.
For the time being, you can probably resolve this by adding GitHub to your list of authorized SSH hosts.
jsPDF also removed their dependency on file-saver in 2.0.0, so if I update the dependency in html2pdf.js it would probably resolve the issue as well. I haven't had much time to maintain this project lately unfortunately.

I try to add openssh and git in Dockerfile, it works
FROM node:lts-alpine as build-stage
WORKDIR /app

# add
RUN apk add --update --no-cache openssh git

COPY package.json ./
COPY npm-shrinkwrap.json ./

RUN npm i

I try to add openssh and git in Dockerfile, it works
FROM node:lts-alpine as build-stage
WORKDIR /app

# add
RUN apk add --update --no-cache openssh git

COPY package.json ./
COPY npm-shrinkwrap.json ./

RUN npm i

Hello, I have encountered similar problems, but I don't know what the  Dockerfile you mentioned is.   Can you elaborate on it?

https://github.com/kempsteven/vue-html2pdf/issues/38#issuecomment-723412348


XMMv2 download page - fix typo

Description / Motivation

Fix tiny typo on XMMv2 download page

How Has This Been Tested?

tested in localhost:3000

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[X] Documentation update (non-breaking change; modified files are limited to the /data directory or other markdown files)

Checklist:

[X] I have read the Contributing guide.
[X] My code/comments/docs fully adhere to the Code of Conduct.
[ ] My change is a code change.
[X] My change is a documentation change and there are NO other updates required.
[ ] My change has new or updated images which are stored in the /public/images folder that need to be migrated to Sitecore DAM

Ready to publish to Main please. A silly typo. Fixed and tested in Vercel Preview. Thanks!


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4233

Questions ?
Please refer to the Backport tool documentation


Clicking on map places two vias

Steps to reproduce:

Open http://map.project-osrm.org
Click somewhere on the map
Observe that start and target are filed in and map zooms to resulting trivial route

This was fixed.


added the ability to write data in the file dbf

this is a version still alpha, but accordingly to the Erwin Kooi original classes, i have added the code to manage friting in DBF files.
Hope it's a good start :wink:

Great, thanks for the update :)
I haven't included it originally because I didn't had the time to test it properly, since I was not using it on my proejct. I'll merge in case anyone need the feature.

I have already made some changes, for integrate the repository into a laravel project.
Soon I will test it heavily so I will try to optimize the code as you did


The latest version of this package is empty

See here: the latest flag is applied to this -node-support.0 test version, not the 1.0.0 version.
Suggestion:
npm dist-tag add<EMAIL_ADDRESS>latest

Will fix the install for most people.

Solved in https://github.com/bohdanbirdie/vitest-launchdarkly-mock/pull/4


Pi network

Please my pi network is not working again help me

My pi network is not working again help me please


Benchmark random levels end early

Hey,
Not sure if this repo is still being maintained, but I'm having some trouble with the benchmarking  of the randomly generated levels, e.g., append-still. For some reason the episodes end after 1, 2, or 3 steps with a score of 0. I think something is triggering the `done' flag in the benchmark environments too early.
To reproduce this I installed locally and simply ran
./start-training.py testAgent
This occurs with and without wandb.
Training seems to work fine, so this is likely related to the time limit for benchmark levels or the way the benchmark levels are run.
Any help is massively appreciated!

Hmm, I'm not able to reproduce by running ./start-training.py testAgent. It might be worthwhile to drop the video interval all the way down to 1 so that you can get a clearer view of what's actually happening, and after that you can always set a breakpoint and step through the code to see what's going on. Remember that you can print the board state to the terminal which can help in debugging. Sorry that that's not more helpful!
Could you tell me the details of your setup? Everything compiled ok, presumably? Let me know if you're not able to figure this out tomorrow and I'll try to look into it in more detail.

Thanks for the help!
I've managed to track down the issue to the fixed benchmark levels in the npz file.
They load ok, and seem to look fine but are returning as done straight away. If I replace the benchmark levels with randomly generated ones using the validation seed then it works as expected.
This suits me  better as I was hoping to evaluate on randomly generated levels.
I imagine this might be the result of different versions of numpy or something like that? But at the same time, the levels look normal.
For reference I'm running on Ubuntu 20.04, with python 3.9.


Chrome detection as userscript

For me, the userscript/addon detection didn't work. In tampermonkey + chrome, it passed the original check:
function isAddon() {
  return typeof chrome !== "undefined"
}

It however worked fine when I changed it to:
function isAddon() {
  return typeof chrome !== "undefined" && chrome.runtime
}

You're right, I've only tested the add-on on Chrome and Firefox, and the userscript on Tampermonkey/Firefox. Apparently I should have been more thorough.
Thanks a lot for reporting the bug and figuring out what caused it! The issue should be fixed now, let me know if you encounter any more problems. :)


Update README to reflect GPU validation

Update ROCWMMA_VALIDATE_WITH_ROCBLAS default value

Can you also please have a quick look at the docs/ folder:
Linux_install_guide.rst has a reference, but is also prefixed with WMMA instead of ROCWMMA


Improve lost connection detection

E.g. using this lib on a smartphone, you may lose the connection.
Related issues:
#471
#180

Looking for some input here!
I implemented a check with a timer.
It sends pings in a definied interval (default: 30s)
If there was an error sending this ping, the websocket gets closed
You can deactivate this check setting the interval below 1.
Check out the code here
Did I miss something?
Should I add anything?
Greetings
marci4

Hello @marci4
In my opinion, it's not enough to detecting the disconnection just sending ping.
For example, one client was shut down suddenly, without sending closeframe or closing the connection,  the server could still send message to this disconnected connection without any errors due to the tcp retransmission. Drop all outgoing packages from client side using iptables can simulate this scenario:
iptables -A OUTPUT -p tcp --sport {CLIENT_PORT} -j DROP

So it's necessary to check whether the corresponding pong was received. But this would bring more pressure to server when there are plenty of clients

Ok I added a check for the pong response.
Default check interval is 30 seconds, is this to often?
Could you please check if for you this is working as well?
Greetings
marci4

Hey @marci4, i've tested it and it works :+1:
30s is okay i think since pong arrived within hundreds of milliseconds in general.

Hello @zhoulifu,
thx for your feedback.
Gonna leave this issue open and not yet merch any changes.
Just to give other users time to give feedback as well!
Greetings
marci4

Merged changes into master branch.
Closing issue.
Greetings
marci4

wiki article https://github.com/TooTallNate/Java-WebSocket/wiki/Lost-connection-detection

Could you create an example that uses this lost detection connection? Im trying to follow the wiki and My Server that extends WebsocketServer doesn't recognize the method myServer.setConnectionLostTimeout(15). The wiki is pretty short so I'm not exactly sure where I'm going wrong

Lost connection is not yet released as a jar. It will come with the version 1.3.4 (no release date planned sorry)
You can also use the master branch which already includes the lost connection detection!
Greetings
marci4

Thanks for the quick reply, maybe examples on what methods to call in the js client and what methods in the server and to put it all in an example. Even if 1.3.4 was released the wiki is unfortunately so short I would not have understood the example(The same with trying to do wss, had alot of problems trying to make that work. As for me, Im forced to use 1.3.3 for now, so Im trying to implement the ping/pong thing myself. What is not clear for me from the wiki what ping and pong are exactly, strings, objects etc? also some kind of interaction diagram would be handy. So right now im unsure what to send to the client from the server and what method to use. Im guessing I could use websocket.send(String) but maybe thats not ideal because of the overhead.
Greetings,
Q

Im using a javascript client and am wondering how to check for pings from a server in a regular interval there. Did you use JS also and have found a solution? JS does not appear to have multithreading

Hello @qhchen2,
I am gonna extend the wiki a bit more then (Sorry, for me these things are pretty clear ;) )
Let me explain some stuff for you!
A ping is specified by https://tools.ietf.org/html/rfc6455#section-5.5.2
A pong is specified by https://tools.ietf.org/html/rfc6455#section-5.5.3
If an endpoint recieves a ping frame it must respond with a pong frame. That is the basic idea behind this feature!
If you are using a valid endpoint implementing the spec correctly (what you can assume from modern browsers), you don't have to do anything (most modern browser don't even show ping/pong frames).
Greetings
marci4

Hey marci, just a quick question on some code I found in AbstractWebSocket class in the master, namely
/**
* Attribute for the lost connection check interval
*/
private int connectionLostTimeout = 60;
/**
 * Get the interval checking for lost connections
 * Default is 60 seconds
 * @return the interval
 */
public int getConnectionLostTimeout() {
    return connectionLostTimeout;
}

Is this your code that is not part of 1.3.3, or is it code that has been part of the project for a long time? cause now it seems I can just use these builtin functions and variables to makethe pingpong work.
Greetings,
Q

Hello @qhchen2,
the code is part of my connection lost detection!
The master branch is always a representation of the current development status!
Greetings
marci4

@marci4 on Android we are getting reason: The connection was closed because the other endpoint did not respond with a pong in time. For more information
Cleint:
Request is done from android webview level web-socket as client.
say if setConnectionLostTimeout(30secs), Server will auto detect and wait for message from cleint?
Thanks
Nithin


explore proxmox terraform provider

Since looking at it several months ago, there have been a lot of improvements with the terraform-provider-proxmox.
Explore using this instead of the bespoke shell scripts to create VMs for k8s nodes.  See proxmox instructions for what needs to be done today.

See also this blog post and this repo

Finishing via #6


[FR] Select images and add them in one file

Is it possible to select images and add all the selected images to one file?  Just like I do when selecting images, then tag them all at once.

when you have multiple images selected the context menu has an option to copy image links. These are copied in the embeded format, so if you paste them into a note they should all embed in said note.
Alternatively you can put the names of the images into the 'name:' section of a gallery block separated by commas and as long as 'exclusive:' is not set to true it should list them all out. I've been thinking of adding a context menu option to expedite this.

What do you mean by 'into a single file'?
Do you mean you want those images to be moved to a new location on disc? The 'Move Images' option does this.
Do you mean to have a single note that has a gallery with just those images in it? Cause that is the option I have been thinking about adding to the context menu that I described above.

I don't think I'm going to implement the album like functionality you are describing as a hotkey. I am providing several ways to take a group of images in the gallery and copy paste them to a note. Further work on this kind of functionality just isn't in scope right now.


Data elements with option sets show only a blank drop down list with no labels.

I am currently using DHIS version 2.22 revision 21763.

Fixed.


Added a global required organization option

In our case here at @ContaAzul, we run our own mention-bot to support
our private repos.
In that case, it would be great to set a required organization globally
instead of configuring it for each repo (we have lot's of them).
This PR should fix that, don't know if it's the best way of doing this,
though.
I din't found any tests for requiredOrgs, so I leave it as is.

Sounds good thanks :)

Thanks!


upgrade flutter version 3.13.7

Upgrade Flutter version 3.13.7 from scratch
some quick fixing of the widget
some start from scratch at that time folder needs to change like package:flutter_app but I have changed in path location for more benefit
only changes in local.properties for minSdkVersion and compileSdkVersion are no longer defined on the build.grade
android/local.properties

sdk.dir=C:\\Users\\Bhargav\\AppData\\Local\\Android\\sdk
flutter.sdk=C:\\src\\flutter
flutter.minSdkVersion=19
flutter.compileSdkVersion=33
flutter.buildMode=debug
flutter.versionName=0.1.0

@agordn52

Hi @bhargavraviya,
Thanks for the PR but there are a few changes in this that can't be merged.
I've recently released 5.7.0 which contains a lot of these changes.
Thanks for your effort 🔥

Hi @bhargavraviya,
Thanks for the PR but there are a few changes in this that can't be merged. I've recently released 5.7.0 which contains a lot of these changes.
Thanks for your effort 🔥

Hi @bhargavraviya,
Thanks for the PR but there are a few changes in this that can't be merged. I've recently released 5.7.0 which contains a lot of these changes.
Thanks for your effort 🔥

I working on v5.7 changes
I will create a PR  then you are merged, it is okay ?
@agordn52


no way of reading matsim experienced plans

MATSim currently outputs "output_experienced_plans.xml.gz" that do not include person attributes. As we have currently set upo the pam.read.read_matsim function we will not be able to get it to read these plans with person attributes.
We need to be able to pass the expereinced plans path and also the regular plans from which person attributes can be read.

163


<EMAIL_ADDRESS>

#Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/create
Operating System: macos
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

No description of the issue. Closing.


Responsive Design not works after Production

After deployed on production, preview in device laptop and mobile are not Responsive.

Need to solve that problem about responsive

already solve, tailwind not work on layouts directory


endpoints to receive/forward hq invites

Spec
Ticket

@calellowitz Please let me know if this is good to go.

@calellowitz Thanks for the review, I have followed up.

@calellowitz I have addressed your feedback, please have a look. I think the CodeQL failure is incorrect as it is not able to detect the trusted URL check that is added.

@calellowitz Bumping for review please.

Thanks @calellowitz please also review the corresponding HQ PR https://github.com/dimagi/commcare-hq/pull/34967/files#diff-dc2c79b556e950acc7dea90175fd5febba22bf9fa4faaba1b61c3b3d5acdc9e9


Use Cucumber + Playwright to run functionnal test in browsers

Regardless of the technology used to create our components, we need to set up a way to test them in browsers. The functional requirements are all the same but each individual implementation needs to setup its own environment.
To achieve that we plan to use :

Cucumber to describe our tests with Gerkins syntax
Playwright to drive browsers while running the tests

We expect some difficulties when it will come to implement Cucumber steps for each components technologies but we will manage this in dedicated issues.
Here we want to track:

[ ] Cucumber installation
[ ] Cucumber basic setup
[ ] Playwright installation
[ ] Playwright basic setup
[ ] One basic test running

Note that CucumberJS is node ESM compliant yet: https://github.com/cucumber/cucumber-js/pull/1649

CucumbreJS is currently lock to version 7.2.0 to have a minimum support for ESM (which makes our life way easier). Let's keep that issue open to track full ESM support by CucumberJS in the next couple of weeks/month. If it takes too long we will open with a new issue to avoid blocking our MVP.


Can we publish this as a Bower Package as well?

Following up from #1, it just seems a little more convenient to be on bower as well.

Totally agree. Angular libraries should be in bower.
@adamalbrecht could you set it up?

+1
would be awesome to get the package via bower

+1

Hi, in case anyone else is wondering, it seems that the package is already on bower. Install it via
bower install ngOnboarding

(note the case)

@bobbypriambodo you are absolutely correct. Thanks for pointing it out.


[FLINK-12484][runtime] synchronize all mailbox actions

What is the purpose of the change

Synchronize all mailbox actions, so there is no need to acquire checkpoint lock in any code that is executed by the main task thread. This will further allow to drop getCheckpointLock() method from StreamTask

Brief change log

introduce ExecutionDecorator field in StreamTask, MailboxProcessor, MailboxExecutor
use SynchronizedExecutionDecorator as a value for now
later (another PR) only SourceStreamTask will use it. All other tasks will use a decorator which just executes the action directly

Verifying this change
This change is covered by a new StreamTaskExecutionDecorationTest, as well as existing tests: SourceStreamTaskTest, StreamTaskTest.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
-- code available through @PublicEvolving is modified: AbstractStreamOperator.getContainingTask.getCheckpointLock is dropped
The serializers: no
The runtime per-record code paths (performance sensitive): yes (coarser lock granularity for SourceStreamTask)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

@flinkbot run travis

@flinkbot run travis

Test failure was unrelated (https://issues.apache.org/jira/browse/FLINK-15047). Merging. First for the contribution @rkhachatryan and review @AHeise .


Add CHAOS dataset

This is the dataset from the CHAOS challenge - for segmentation of abdominal organs in CT and MRI scans.

This dataset is ready and GTG from my side!


pkg doctor

Describe feature should add to template
A clear and concise description of any features you've considered.

check package build before publish
and auto fill some message with git history
forbbien import dev depencies - https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-extraneous-dependencies.md
check no unused depencies

It should be eslint rule or standalone tools


CUDA problems with v1

@lhnguyen102, I'm having trouble with the Diffusion model algorithm in CUDA on version 1. I haven't really dug into my code to see if there are any mistakes, but I wanted to mention the issue here so we have a record of it.
You can find the code I'm using in my forked version of cuTAGI: diffuser_v1.py. To run it, just use this script: diffusion_v1.py.
The code works fine on the CPU (MSE about 0.3), but the results with CUDA don't make sense (MSE stucked around 1.0). I use the exact same code but just changed: self.network.to_device("cuda")
I might have made some mistakes, so don't worry too much about it for now. I'll keep you posted on whether I figure it out or not.

@miquelflorensa I am really glad that you tried out the newest version :) I am currently debugging this version as well. Your thought is valid, it must not have that different. I'll take a look at this problem asap. In the meantime, let me know if you find anything

@miquelflorensa I found the bug. Could you please replace this line  by?
cu_obs->to_device();

// Reset delta to zero
cu_delta_states->reset_zeros();

The issue was  because of cu_output_states->to_device(); loading output_states initial data onto the device, so overriding the forward pass calculations already on the device, as these were not moved back to the host during the forward pass. I've tested your code. It should work now

@lhnguyen102 I still get the same result. Did you try to run my diffusion_v1.py code? Do you remember if the output of it was around 0.34?
Because I changed that line and compiled again but still getting a result around 1, which is not correct.

Yes I debugged on diffusion_v1.py and Yes, this is what I've got. So, MSE is round 0.34. I will run it again and will post some screenshot here

@miquelflorensa I confirmed it reach an MSE around 0.3007. Make sure you compile the code changed. Here is my command to run you code
cd pytagi/pytagi_v1
python diffusion_v1.py

Thank you @lhnguyen102 ! Now it works, I was having some trouble with my current conda environment, but I just created another one and now it works :)


Removed lazy transform copy logic

Frames are no longer transformed lazily and secretly the moment you ask for a frame.  They are only transformed under two conditions.  They are transformed right after the frame has been obtained from the service.  They are transformed if the user specifically asks that a transform take place.  This should ensure that maximum performance is possible with explicit control over when a transform takes place.
Frame events have been added to the provider to allow scripts to listen for a frame that they know is correctly transformed (since it just happened).  HandController has been updated to use this method.  If a user feels like moving the camera, they will need to make sure to either move it intelligently, or re-transform the frame before accessing positional information.
I also went through the scenes and made sure to de-parent the hands from the head.  All models are now a child of a 'HandModels' empty that is in camera-rig space.  I also made sure that all service providers were linked with the temporal warping script, and that settings were correct.
To test:

[ ] Make sure that all affected scenes work properly and that there are no errors
[ ] Create a script that moves the camera rig really fast and verify the hands don't get jacked up
[ ] Create a script that also places a sphere at the position of the index finger, in addition to moving the script.  Make sure to call ReTransformFrames() before accessing the data.  Verify that the sphere does indeed follow the finger correctly even when the camera rig is moving at high speeds.

@jo3w4rd
@protodeep

Issues:
There was a Missing Script on the CameraRig in Leap_Hand_Demo_VR.unity (this must have been your testing scene); I fixed this one since it was easy.
Testing Notes (not issues):
Made a script to move the camera around in Update;

hands look fine when HandModels are parented to the CameraRig (which is the default)
hands look bad when HandModels are deparented from the Rig (where the rig is moved in Update)
hands look fine when HandModels are deparented from the Rig and it is moved in FixedUpdate (before the Frame gets transformed)

Calling ReTransformFrames in Update does nothing for the hand because the hands positions are set independently of this call, so that's expected.
Using LeapServiceProvider.ReTransformFrames(); works as expected; finger sphere is off when camera is moved in Update, but it sticks reliably to the hand when ReTransformFrames is called before setting its position in Update.
Overall, it looks good.
Overall, it looks good; merging.


Artisan command test doesn't seem to commit created DB record

Laravel Version: tried with v8.83.27 and v9.48.0
PHP Version: 8.1.14
Database Driver & Version: Sqlite3 (SQLite Library => 3.37.2) and MySQL

Description:
When my Artisan command is run, it creates a model record in the database. die & dumping the table count() after the create show one record, but asserting table count in the test gives zero.
Tried with mysql and sqlite : in mysql I could workaround the problem with adding a DB::commit() just after the create (the assert then passes), but in sqlite, it had no effect.
Steps To Reproduce:
Create a simple artisan command, that tries to Create a model :
<?php

namespace App\Console\Commands;

use App\Models\RegisteredApplication;
use Illuminate\Console\Command;

class RegisterApplication extends Command
{

    protected $signature = 'register:application';
    protected $description = 'Register a new application to the signature service.';

    public function handle()
    {
        $registerd = RegisteredApplication::create(["name"=> "a name"]);

        return true;
    }
}

Create the model and the migration with php artisan make:model -mf RegisteredApplication
Create a test that runs this command :
<?php

namespace Tests\Feature;

use App\Models\RegisteredApplication;
use Tests\TestCase;
use Illuminate\Foundation\Testing\RefreshDatabase;

class ArtisanTest extends TestCase
{
    use RefreshDatabase;

    /** @test  */
    public function ItCreatesAnApplicationRecord()
    {
        $artisan = $this->artisan("register:application");
        $this->assertDatabaseCount("registered_applications",1);
    }
}

Run the test : the assertDatabaseCount fails.
Github repo to illustrate the issue : https://github.com/Adesin-fr/LaravelArtisanTest
PS : as I suspect, it seems to be artisan "mockery" : replacing the line $artisan = $this->artisan("register:application"); with Artisan::call("register:application"); makes the test pass, but I can't interact with inputs...
PS2 : I had to open a new issue since the previous was closed and locked so quickly that I couldn't argue !

You need to invoke the execute() method. Otherwise, the command won't run (only run when destructing the object, check PendingCommand for more refs)
$this->artisan("register:application")->execute();

Yes, that did the trick.
The doc should be updated to mention this, since there is no mention of this execute() method !

Thanks @sethsandaru. We'd appreciate a PR to the docs 👍


Sould not exit textWithParams if locale is not available

https://github.com/javisperez/vuetranslate/blob/master/src/vue-translate.js#L79
Since the input string is used anyways, (return t) the code should not leave, but take t and do the replacing anyways.

fixed in https://github.com/javisperez/vuetranslate/pull/19

https://github.com/javisperez/vuetranslate/pull/19 is now merged, thanks for the PR! closing this now.


Dev

[ ] I signed JFrog's CLA.
[ ] All tests passed. If this feature is not already covered by the tests, I added new tests.
[ ] This pull request is on the dev branch.
[ ] I used gofmt for formatting the code before submitting the pull request.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 7 committers have signed the CLA.:x: barbelity:x: RobiNino:x: liron-shalom:x: eyalbe4:x: Or-Gabay:x: eyalb4doc:x: yahaviYou have signed the CLA already but the status is still pending? Let us recheck it.


Check if Canary has been deployed recently

What
At the moment, the canary could have been deployed once and then fail
thereafter. Kubernetes will keep it up despite it further attempts to
re-deploy it. This means we cannot rely on the ping only.
The /metrics endpoint exposes the timestamp of when the canary has
been deployed.
We can read that entry and attempt to find out if it has been deployed
in the past N minute slot. That will assure us, that it has in fact been
re-deployed.
How to review

Run the above command locally pointing to a live canary
Expect exit 0
Change the command to do -ge comparison instead
Expect exit 1

@chrisfarms I'm not sure I understand. If you happen to break the registry, the pipeline will already fail at the point of pushing the docker image - the idea of canary in the first place.
I was under the impression, that this needs to in fact be testing the step later, which is kill the existing canary, bring up the new one. - https://github.com/alphagov/gsp/blob/master/charts/gsp-cluster/templates/04-main-team-pipelines/cd-smoke-test-pipeline.yaml#L111
Let's talk more if you think I misunderstood things.

Nothing in the "deployer" pipeline deploy job will currently trigger a canary to be deployed... The Canary (cd-smoke-test) pipeline is on an independent loop... So I think something (either before or after deploy) needs to kill the Canary so that this test can be sure it is testing a newly build/deployed canary


Extend @edx/typescript-config in the tsconfig.json files

We recently published https://github.com/openedx/typescript-config (@edx/typescript-config) as a new NPM package to be the standard base TypeScript config (IIRC we borrowed it pretty much verbatim from the existing tsconfig.json in Paragon).
Now, that it exists, we should use it in this repository. There are 2 tsconfig.json files in this repo; they should likely extend @edx/typescript-config at this point and buy into any future changes to the base config.

PR: https://github.com/openedx/paragon/pull/2309


Make array power faster

Simply re-use our power implementation instead of calling out to Numpy C helpers. This is especially important on array expressions such as x ** 2, which these changes make x5 faster.

whoa, nice!

[Current coverage][cc-pull] is 87.47%

Merging [#1888][cc-pull] into [master][cc-base-branch] will decrease coverage by -<.01%

@@             master      #1888   diff @@
==========================================
  Files           292        292
  Lines         52198      52188    -10
  Methods           0          0
  Messages          0          0
  Branches       5395       5394     -1
==========================================
- Hits          45668      45651    -17
- Misses         5608       5615     +7
  Partials        922        922

File .../targets/npyfuncs.py was modified. more

Misses +7
Partials 0
Hits -7

Powered by Codecov. Last updated by [f433205...46acd42][cc-compare]
[cc-base-branch]: https://codecov.io/gh/numba/numba/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/numba/numba/compare/f43320550e8987e0ce064729049760bef1c0e55c...46acd42aa69f769163d0229ccc3a574d892ae9a1
[cc-pull]: https://codecov.io/gh/numba/numba/pull/1888?src=pr


How to provide custom locations

Hello,
I would like to provide custom location directives such as below but I do not understand how to provide them within the environment variable LOCATIONS. Would you have a small example?
location / {
  proxy_pass http://node:3000/;
}

Thanks!

Like this:
-e LOCATIONS="location / { proxy_pass http://node:3000; }"

Perfect thanks!


V.CYC. - Variables are not recognized

unlike the V.L variables, the V.CYC. variables are not recognized

It looks like the CYC part is missing in the ncParser.ts line 377ff.

I missed these type of variables when reading the documentation. V.CYC variables are added in the grammar now which also includes them in Go To Definition/References.
Thanks for reporting.
Closed with https://github.com/isg-stuttgart/vscode-isg-cnc/pull/123


Dataset Generation

Thank you for your open-source code of Auto3D, it's a useful tool for drug discovery.
I'm a new researcher for neural network potential development and have some questions regarding dataset generation. You described the workflow for the nonequilibrium conformation sampling by DFN2-xTB and energy calculation by B97-3c.
"We carried out the nonequilibrium conformation generation process using GFN2-XTB molecular dynamics at 400 K for 20 ps. The optimized structures were selected for energy calculations with the B97-3c composite scheme in ORCA."
Does the non-equilibrium conformation sampled from the simulation trajectory need to optimize geometry by B97-c before calculating the single-point energy? Or directly calculate the single point energy using non-equilibrium conformations sampled from trajectories?
If the geometric optimization is applied before the single-point energy calculation, do constraints need to be added during geometric optimization? For example, dihedral constraints.
Looking forward to your reply. Thank you very much.

Hello, thanks for your interest!
The non-equilibrium conformation was directly used in B973c for SPE and forces calculation, without optimization. This is desired as the NNP needs to learn the energy and forces for non-equilibrium structures. Each NNP of the ANI series and AIMNet series uses different datasets, but the general dataset generation process is similar. The ANI-1 data as well as the general preparation process is available in this paper: https://www.nature.com/articles/sdata2017193
@isayev please correct me if my understanding is wong

Thank you very much!


Custom weights

Changes

Added custom weights, so the user can provide a weights matrix as a text file.
Added command line option -w, --weighted to specify the file with the weights matrix.
Added Math section to README with a description of the matrices.

Test Plan

[x]  check if the tests run with python2, still --> they don't :(

not ready, yet

not ready, yet


math infinity -> number infinity

These are Number values, not mathematical values.

thank you! but can you explain what's the difference of these two values?

They're just different types, the same way the Number 0 and the BigInt 0n are different types. The spec has a third kind of numeric value, "mathematical values", which it generally uses internally and then converts to Number or BigInt values when they get exposed to code. That is, when the spec talks about the length of an empty list being zero, that means the actual concept of zero, not the floating-point number 0; same deal here.
(When dealing with the two infinities we say "extended mathematical values", since those extra two points are not real numbers.)
There's some description in this section.


Error in training

This is a great project! Finally a great repo on multi-label classification with BERT. I am trying to train the bert model. I get the following error while reading the config file:
File "/home/rgaonkar/context_home/rgaonkar/virtualenv/label_env_new/lib/python3.6/site-packages/pytorch_transformers/modeling_utils.py", line 177, in from_pretrained     config = cls.from_json_file(resolved_config_file)   File "/home/rgaonkar/context_home/rgaonkar/virtualenv/label_env_new/lib/python3.6/site-packages/pytorch_transformers/modeling_utils.py", line 206, in from_json_file     text = reader.read()   File "/home/rgaonkar/context_home/rgaonkar/virtualenv/label_env_new/lib/python3.6/codecs.py", line 321, in decode     (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte
I am struggling to solve this issue. Any help is highly appreciated!

There are unicode characters in your file, either remove them as part of data cleansing activity or convert to utf-8 like
with open('your file name', 'w', encoding='utf-8') as f:
    print(r['body'], file=f)

HTH


Update Composer dependencies (2021-09-14-00-07)

Visual regression test passed!
View the visual regression test report


Can't generate an access token after it expires

I use Laravel 4.2, so I've installed LaravelFacebookSdk 1.2 branch.
What I want to achieve is to get the posts from my facebook page and it works with this:
Facebook::object($my_app_id.'/posts')->fields('message')->get()
So here I have a section called My Apps where I can see my App ID and my App Secret which I use here:
Facebook::setAppCredentials($my_app_id, $my_app_secret);
On this page I generate an Access Token which I use here:
Facebook::setAccessToken($access_token);
Everything goes well until now, but my access_tocken expres after a while and I can't find a way to generate it again. Curently I store this token into the database because I use it every day.
I tried this:
    try {
        $token = Facebook::getTokenFromRedirect();
        print "success";
        print_r($token);die();
    }
    catch (FacebookQueryBuilderException $e)
    {
        // Failed to obtain access token
        echo 'Error:' . $e->getMessage();
    }

And on the screen I get only the success message printed without any access token. Can you help me with this please?
I added a stackoverflow question also regarding this.
I do all of this in my controller and I also added this line:
use SammyK\FacebookQueryBuilder\FacebookQueryBuilderException;

Just answered on StackOverflow.


New recipe/diagnostic: recipe_deangelis_for_gmdpart4.yml for Axels GMD Paper

Short description of the diagnostic
Recipe: recipe_deangelis15nat.yml
Diagnostics: deangelis15nat/deangelisf1b.py
deangelis15nat/deangelisf2ext.py
deangelis15nat/deangelisf3f4.py
Reproducing figure 1b, 2, 3, 4 and extended data figure 1 and 2 from DeAngelis et al. (2015).
DeAngelis, A. M., Qu, X., Zelinka, M. D., and Hall, A.: An observational radiative constraint on hydrologic cycle intensification, Nature, 528, 249, 2015.
This paper compares models with different schemes for water vapor short wave absorption with the observations. Schemes using pseudo-k-distributions with more than 20 exponential terms show the best results.
Branch and pull request
Draft pull request #1576

just a very general remark - maybe we should encourage developers (you guys here too) to include the actual physical process(es) that the recipes perform in their names, like here De Angelis makes me think of either the Formula 1 driver (Elio De Angelis) or the champagne (Angeli) :grin: - something for the @ESMValGroup/esmvaltool-developmentteam to debate+decide I reckon

I though we were supposed to name recipes based on the paper? But I was wondering if this is always a good idea, too. Not that much here, since I didn't know Elio De Angelis (sorry!), but the other recipe I'm working on I actually called "recipe_drought_events.yml", although the name following the paper would be "recipe_martin18.yml". But I think "Martin" is a really too frequent name?

Recipe reproducing (part of) the analysis of a given paper are named like the paper itself.
I think we should not change this now that our papers are about to be finalized.
In the future, we might think about grouping the recipes by topics in subdirectories.
I think there is already an issue with such suggestion or something along this line.

cool, makes sense then, but at least the diagnostics the recipes execute should have phenomenological names - it would be very useful to change these abstract paper-motivated recipe names once the paper gets published :beer:

apologies for trying to reinvent the wheel here - do we also have a list of recipes each diagnostic is run by? Ie in the diagnostic script itself, in its docstring


hotfix - Fix addToCommunity and getcommunityData endpoint

Signed-off-by: Arthur<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.544%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
228

Relevant Lines:
255

💛  - Coveralls


Removes delta function for the derived type administrativeUnit

Fixes https://github.com/microsoftgraph/msgraph-metadata/issues/276
This PR:

Removes the delta function of type Collection(graph.administrativeUnit).
Adds a test to validate this.

I think that once we remove it for that type, the next type (alphabetically) will fail too, we probably need to remove it for all types that derive from directory object (either directly or indirectly), what do you think?

Since the base type probably has several derived types, I think it will be better having the duplicate path generation issue fixed in the conversion lib. Otherwise, it will require identifying all the derived types and applying their fixes.

Since the base type probably has several derived types, I think it will be better having the duplicate path generation issue fixed in the conversion lib. Otherwise, it will require identifying all the derived types and applying their fixes.

Agreed that it'll scale better and ease up the maintenance. The question the generation is now blocked. How soon can we get the fix out to unblock it if we want to skip the XSLT fix?

Since the base type probably has several derived types, I think it will be better having the duplicate path generation issue fixed in the conversion lib. Otherwise, it will require identifying all the derived types and applying their fixes.

Agreed that it'll scale better and ease up the maintenance. The question the generation is now blocked. How soon can we get the fix out to unblock it if we want to skip the XSLT fix?

I'll work on it ASAP.

Closing since the fix is implemented in the conversion lib now.


Fix for finding RCCL that works on 5.1 and 5.2

With the various ROCm libs moving around once fix got added that wasn't backward compatible with ROCm 5.1.
This fixes the TF2.7 build on 5.1 and works on 5.2. (assuming we're finally settled on lib and include locations)

jenkins: retest Ubuntu-GPU-single

jenkins: retest Ubuntu-GPU-single please

jenkins: retest Ubuntu-GPU-single please

jenkins: retest Ubuntu-GPU-multi please

jenkins: retest Ubuntu-GPU-single please

jenkins: retest Ubuntu-GPU-multi please

jenkins: retest Ubuntu-GPU-multi please

jenkins: retest Ubuntu-GPU-multi please

jenkins: retest Ubuntu-GPU-multi please

jenkins: retest Ubuntu-GPU-multi please

jenkins: retest Ubuntu-GPU-multi please

jenkins: retest Ubuntu-GPU-multi please

jenkins: retest Ubuntu-GPU-multi please

jenkins: retest Ubuntu-GPU-multi please

jenkins: retest Ubuntu-CPU please

jenkins: retest Ubuntu-GPU-multi please

jenkins: retest Ubuntu-sanity please

jenkins: retest Ubuntu-CPU please

jenkins: retest Ubuntu-GPU-single please

jenkins: retest Ubuntu-GPU-multi please

jenkins: retest Ubuntu-GPU-single please

jenkins: retest Ubuntu-GPU-multi please

jenkins: retest Ubuntu-CPU please

jenkins: retest Ubuntu-GPU-multi please


[SplashScreen] No imaging component suitable to complete this operation was found

Extension name
SplashScreen
Bug Description
Crash: No imaging component suitable to complete this operation was found
Happens in https://github.com/darklinkpower/PlayniteExtensionsCollection/blob/f83bf487885032651d5f5f9a68f09de6be785fc6/source/Generic/SplashScreen/Views/SplashScreenImage.xaml.cs#L30
To Reproduce
No idea. No one has reported it.
Extensions log
19-02 11:33:10.161|ERROR|PlayniteApplication:Unhandled exception occured.
System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException: The component initialization has failed. (Exception from HRESULT: 0x88982F8B)
   at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at System.Windows.Media.Imaging.BitmapImage.EndInit()
   at System.Windows.Media.Imaging.BitmapImage..ctor(Uri uriSource, RequestCachePolicy uriCachePolicy)
   at SplashScreen.Views.SplashScreenImage..ctor(SplashScreenSettings settings, String splashImagePath, String logoPath) in C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Generic\SplashScreen\Views\SplashScreenImage.xaml.cs:line 30
   at SplashScreen.SplashScreen.<>c__DisplayClass19_0.<CreateSplashImageWindow>b__0() in C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Generic\SplashScreen\SplashScreen.cs:line 307
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

Screenshots
No response

Fixed


Make generated automatic feed block error messages more user-friendly

@hakonhall please review
@kkraune please review quality™ of new message syntax
Feed block messages are generated centrally by the cluster controller and pushed to content nodes as part of a cluster state bundle; the distributors nodes merely repeat back to the clients what they have been told. This changes the cluster controller feed block error message code to be less ambiguous and to include a URL to our public documentation about feed blocks.
Example of old message:
disk on node 1 [storage.1.local] (0.510 > 0.500)

Same feed block with new message:
disk on node 1 [storage.1.local] is 51.0% full (the configured limit is 50.0%).
See https://docs.vespa.ai/en/operations/feed-block.html

Mention which content cluster this is in the message?

Mention which content cluster this is in the message?

Will add this in a follow-up since this information isn't part of the message today


Notification & Profile outside the Window

Hey,
when install the demonstration and open it in a browser the Notification & the Profile Menu ist outside the window (For more information look at the screenshot)

Hello
Something changed with the recent version of Vuetify. I will have a look soon.


ngclient requestsfetcher result when length > max_length

If RequestsFetcher downloads a URL and the content is longer than max_length, RequestFetcher does not raise but returns max_length bytes.
This is not a fatal issue but leads to a strange situation where the TargetFile.verify_length_and_hashes() actually succeeds the length check (because it got exactly max_length bytes) and only fails the hashes check.
I think RequestsFetcher should either

raise when the content is longer than max_length or
not try to return exactly max_length so that Fetcher itself can raise if length is incorrect. This would mean

RequestsFetcher: not doing the read_amount = min(self.chunk_size, max_length - bytes_received) thing
RequestsFetcher: not checking if bytes_received >= max_length in the end of the loop
Fetcher: moving the DownloadLengthMismatchError check in download_file() so it happens inside the loop

I only a had a quick look but 2 seems like the better solution: less code, more correct implementation, and only a maximum of chunk_size more downloading if the length is incorrect?

By our own definition fetch "Ensures the length of the downloaded data is up to 'max_length'." Meaning that if we implement 2 we are not complying with our own API. Or we can update the API too.


Preselection Issue. isChecked seems to fail

I wrote an app with several simple dropdown selections inside ng-repeat loop. The population of options works very well and the count of preselected items also. I use async request to achieve that. But the preselected Items are not marked as preselected. So I think it has something to do with the isChecked() function. Is that possible?

http://plnkr.co/edit/nIPGhEghkTff1iJZ0uRu?p=preview

Please update isChecked function like this
$scope.isChecked = function (id) {
if ($scope.singleSelection) {
if($scope.selectedModel === undefined)
{
$scope.selectedModel={};
}
return $scope.selectedModel !== null &&    angular.isDefined($scope.selectedModel[$scope.settings.idProp]) && $scope.selectedModel[$scope.settings.idProp] === getFindObj(id)[$scope.settings.idProp];
}
if($scope.selectedModel === undefined)
{
$scope.selectedModel=[];
}
return _.findIndex($scope.selectedModel, getFindObj(id)) !== -1;
};

I can change the selection from outside of the directive as you can see in this plunker.
I'm going to close this issue. If you have any other issues don't hesitate to comment and I'll see what I can do.


feat! Added autoGenerate support for TigrisPrimaryKey for schema

Codecov Report

Merging #85 (ff93935) into main (b7b0f45) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #85   +/-   ##
=========================================
  Coverage     74.51%   74.51%
  Complexity      382      382
=========================================
  Files            54       54
  Lines          1389     1389
  Branches        107      107
=========================================
  Hits           1035     1035
  Misses          330      330
  Partials         24       24

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 b7b0f45...ff93935. Read the comment docs.


Add image layer pull

This adds support for layer pulls on OCI images. OCI images have two artifact types that have to be pulled: manifests and layers. This adds support for pulling layers into local writers.
I am still working on this, but need help with one particular thing having to do with whether to use tokio::io::AsyncWrite or std::io::Write. Left a note inline.
The rest is not yet ready for review. Still need:

[ ] ~A high-level pull() function~
[ ] ~A way to describe where/how to store the full image~

UPDATE: To keep this from blocking other work, I have pared it back down to the minimum. I have addressed almost all of @rylev 's comments, but have reached out to him for a follow-up PR on the AsyncWrite in the loop.
Signed-off-by: Matt Butcher<EMAIL_ADDRESS>

@rylev Okay, I switched to using tokio::io::AsycWriteExt, and that seems to work fine. There may still be a more elegant solution. But this one appears to at least be non-blocking as-is.


Add Microsoft Clarity support

Add support for Microsoft Clarity

I'm not sure if it makes sense to add support for every single tracking service.
Clarity is also one of the services, that I don't know. Don't most companies load such scripts through Google Tag Manager? Never seen anyone using Clarity and not sure if this makes sense for the demo website and if there is so much usage or demand / interest, that it would be useful.
What issue does this PR resolve?

Most users will probably extend the header template.

I do agree that adding support for every tool does not make sense; I followed the example already provided for the other Analitycs tools.
I am not sure how to modify the header template; You mean adding something like customJS like here https://github.com/ribice/kiss/blob/master/layouts/partials/header.html#L18 ?
I could close this PR and open another one for that;

Normally you would copy and modify the header partial or use something like the customcss setting.
If we add something for js, it should be one for head and one for body, if this makes sense.


Country feature does not show real country

When I load in a large list of proxies from a provider it only shows the country of the server ip rather than the actual country of origin based off the real exit node. For example a checked list will only show all in one country despite the actual public facing ips being from many countries of origin.

Project uses public geoIP lite database, if you can, you can buy enterprise for $1360 year. How you can check IPs at only client side?
'the actual country of origin based' - Your Ips 100% contain only EU (Netherlands/France). Many GeoIP providers detect the same.

From maxmind site:
GeoLite2 databases are free IP geolocation databases comparable to, but less accurate than.
IP Geolocation Usage
IP geolocation is inherently imprecise. Locations are often near the center of the population. Any location provided by a GeoIP database should not be used to identify a particular address or household.
Use the Accuracy Radius as an indication of geolocation accuracy for the latitude and longitude coordinates we return for an IP address. The actual location of the IP address is likely within the area defined by this radius and the latitude and longitude coordinat

Let me clarify. My list of proxies looks like this.
<IP_ADDRESS>:20003
<IP_ADDRESS>:20004
<IP_ADDRESS>:20005
Same ip different ports but all of the Link to another node.

I have taken the time to read it again, and I understand it a bit more. I believe you are saying to use the api that would perform this feature would cost money. However You shouldn't need to do this, you could easily grab the ip via connecting to the proxy and connecting to an api. example: http://checkip.amazonaws.com/ is free. Then you could use that to geolocate.

About:
<IP_ADDRESS>:20003
<IP_ADDRESS>:20004
<IP_ADDRESS>:20005
Just filter through: https://openproxy.space/filter, checker has no feature (filter only unique IPs), at current time.
About other:
You saying about distorting proxies. This is real country of IP, because checks only entry IP, not out. This is different things. Need parse forwarded IPs chain and check latest IP at country, checker has no this feature, g.

@assnctr
hi, sorry for bumping it up.
first of all thanks for the damn great piece of software!
second , i am having the same issue, i was about to open a thread but saw this so i am bumping it up.
let me clarify  what he ment (and what i have)
this ip <IP_ADDRESS> is just a relay.
the port will determine what the end node will be.
for example.
<IP_ADDRESS> = USA , BUT
<IP_ADDRESS> port 50000 will send u to ITALY
however <IP_ADDRESS> on port 50001 will send u to UK
and so on.
lots of proxy services works like this.
since UNFX proxy check DO connect to these socks ip/servers (to see if they are availble/alive) , by connecting to them.
next check should be to see what the end node is, take for example this site. https://ifconfig.co/country
a simple fetch with the socks ip&port to https://ifconfig.co/country will determine which country u really received.
if u enter https://ident.me  manually with socks4/5 u will receive the endip

@Aeroverra so,
i found a way to do that,
i spoke with @assnctr  and unfortunately he dont want to add this little feature, which is a big plus to this software.
however, i found a way to do that myself.
u just need to find an domain that send back the country the end node using.
i have tried multiple domains, however it seems that some domains blocks the proxy ips.
i've some research and i found this.
http://extreme-ip-lookup.com/csv/
add this domain to a judge , and put a filter on it. (regex)
meaning if the REGEX is NOT true it will show it as offline,
in my case i wanted to know which end node is a certain country for example france.
so as a string i put france, if the server response does not contain france it will show it as offline, so ONLY server respond with france will show as online note that other port etc, might work properly . but that the filter/regex does.

May be later.


Stop vendoring

I'd prefer this to be split out from #873 (currently both commits are here) but I'm definitely in favor of doing this.

For sure; I'll rebase before I merge; just wanted to avoid conflicts so had it as my upstream


Counters not working correctly.

@rexyagami please help.
Counters not working correctly which I need help fixing.
I fixed the top heading by centering it & also fixed the icons which were very big.

I have worked on this issue please assign it to me

@gautamnaman Look for this section in the HTML, you will find some wrong value placed in there, enter those values according to the label value. Good Luck

@rexyagami @pranjalBhadu Fixed it:) Thanks.


[AIRFLOW-116] Add a version view to display airflow version info

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-116

There is a new Version view under the About category.

If you click on the version link, it will take you to

If you click on the Git Commit Tree link, it will take you to

I like the way version is handled now (I didn't like depending on pip for it). The git stuff makes me nervous, though. I think if we want to include git checksums, we have to back the checksum into the package when it's built--we can't depend on the Airflow instance having a git repo in its source tree.

I've been thinking about this and I think the right time to get a git SHA is at build time (so in setup.py). After that you can't assume that the python files are in a Git repo. They're most likely in a  virtualenv or /usr/lib, in which case there's no git repo info.

 What happens for the vast majority of people who are using pip to install? I'm not familiar with what happens during the Pypi creation process, but @aoen are you ensuring that a git hash file is created at that time?
cc @mistercrunch

Thinking about the build-time commit hash a bit. A (hacky) way of doing this would be to just add a subproc call in setup.py that runs:
git log --pretty=format:'%H' -n 1 > CHECKSUM_LOCATION

And then making sure that setup.py bundles the file in the package appropriately.
A more elegant solution would be to use the git library that Sid is using in setup.py.

In my initial comment:

One idea is to show the hard-coded airflow version plus have a version file generated by setup-tools if this is possible

I meant something like @criccomini mentioned (although more along the lines of git rev-parse HEAD or using something like this https://github.com/pyfidelity/setuptools-git-version , I'm OK with either)

I'm moving ahead with moving the "git code" above to setup.py.

It looks like this (infrequent releases and getting a git hash at setup time) is a problem others have discussed as well : https://github.com/Lasagne/Lasagne/issues/574

@aoen I tried https://github.com/pyfidelity/setuptools-git-version, the link you posted above. Where is the git version written for setup.py develop and install?

I don't think it is unfortunately, this small function on SO might be helpful though (taking the output of that and writing it to a file):
http://stackoverflow.com/questions/17812164/embed-git-hash-into-python-file-when-installing

@aoen What about python setup.py develop? That would helpful as well

Agreed, that would be quite useful too.

I could write to a file I include in package info : http://stackoverflow.com/questions/2058802/how-can-i-get-the-version-defined-in-setup-py-setuptools-in-my-package

SGTM

I have it working with python setup.py develop
Currently, writes out : .dev0+b8b5ff2bc8bc737b4fa14a8c9ec0d715a5830bc2.dirty

@aoen Here's a preview. I might do a little clean up tonight.

http://i.imgur.com/5CVAvmu.webm


Cannot read property 'isValid' of undefined

There's a report file (in csv) available, however the data.items is always empty (see it after putting some logging in place), and it throws this error.
Cannot read property 'isValid' of undefined.
It happens in the very first condition of for loop.
      for (const item of data.items) {         if (item.status.match(REPORT_AVAIL_PATTERN)) {           const reportDate = item.dateRange.endDate;           if (reportDate in lookbackDates) {             reportFiles[item.id] = item;             delete lookbackDates[reportDate]; // remove found dates           }           latestDate = DateTime.fromFormat(reportDate, DATE_FORMAT);         }       }
What are we missing here?

Could you confirm that this is indeed the case even on commit https://github.com/google/argon/commit/8b65acc9354ae809db220aabeca978c87de7e6ad?

Yes, that's correct.
On Fri, Mar 29, 2019, 14:48 Arvind Chembarpu<EMAIL_ADDRESS>wrote:

Could you confirm that this is indeed the case even on commit 8b65acc
https://github.com/google/argon/commit/8b65acc9354ae809db220aabeca978c87de7e6ad
?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/argon/issues/3#issuecomment-478003928, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AP3omcejDKi-IY4cPTmDbJA5BlMgkb5Dks5vbhm1gaJpZM4cP-1B
.

This issue should be fixed in https://github.com/google/argon/commit/df4635f3bb47745202130cdb372b28b23f3554d1. Could you confirm?

Improved logging indeed, but It still skips reading/parsing the actual reports in DCM. I will send you logs separately.

Closing, as the code-related issue has been fixed.


Portfolio page - display total profit

Table should have:

Ticker
Total value
Total amount
Avg price*
Position profit/loss*

The list of orders is on the Orders page now


Feature request: Add switches problematically

Hi,
it would be very nice if we would be able to define all switches in a config with there names, default value and notes.
That way, we would have in all our environments  (dev / stage / prod) the same switches.
Currently I add them manually over the admin. Which is of course a nice feature but not a good solution for constancy.
What do you think about that?

You can do that now with a data migration.

Is this documented somewhere? It do you have an exaple?

It's not documented in this app, but here are the official Django docs: https://docs.djangoproject.com/en/5.0/topics/migrations/#data-migrations. use migrations.RunPython.
Feel free to open a pull request if you think others might benefit from documentation.

Related to #50


update topic on paginated queries

add info PageableQuery and its methods
show a Blazor pagination example

A Blazor example belongs in a demo app, which is outside scope of this issue. There was already content on PageableQuery, but it needed a heading a little bit more content to flesh it out

A Blazor example belongs in a demo app, which is outside scope of this issue. There was already content on PageableQuery, but it needed a heading a little bit more content to flesh it out


⚠ Bofrost.be has degraded performance

In 1f87eb0, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 999 ms

Resolved: Bofrost.be performance has improved in 48b32d7.


bazel: remove unused helper functions

Signed-off-by: Keith Smiley<EMAIL_ADDRESS>

im surprised buildifier didn't catch this on CI?

im surprised buildifier didn't catch this on CI?

im not a 100% how we are running it atm - i would like to address this


Pdi 19886 excel template streaming

:white_check_mark: Build finished in 13m 17s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/excel/core

:ok_hand: All tests passed!
Tests run: 110, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 8m 23s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/excel/core

:ok_hand: All tests passed!
Tests run: 110, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 11m 52s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/excel/core

:ok_hand: All tests passed!
Tests run: 110, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 14m 57s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/excel/core

:ok_hand: All tests passed!
Tests run: 110, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 13m 5s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/excel/core

:ok_hand: All tests passed!
Tests run: 112, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 9m 58s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/excel/core

:ok_hand: All tests passed!
Tests run: 112, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 12m 49s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/excel/core

:ok_hand: All tests passed!
Tests run: 112, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 14m 45s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/excel/core

:ok_hand: All tests passed!
Tests run: 112, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message


Add .make for simpler usage

This PR makes it easier to get moving with NxtHttpClient. You often need a simple one-off client, and constructing a base class and all the attendant baggage isn't worth it. Now this is possible:
client = NxtHttpClient::Client.make do
  configure do |config|
    config.base_url = 'www.httpstat.us'
    config.request_options.deep_merge!(
      followlocation: true
    )
  end
end

client.get('200')

I think going with required inheritance wasn't the best idea, as it complicates the usage (encourages inheritance hell, higher entry barrier), as well as the design and maintenance (we always have to consider unexpected mutations/shared state, internals are part of the API), but it's too late to overhaul that. This is a nice in-between.
BE-46

It's a great convenience feature, but I'm not sure that I see value in this in the context of our services. If there's need for a client to an external system, I think it's better to define it as a separate class. Can you please provide some current examples where we need one-off clients?

Sure.

Needed a simple client for the Aircall API here.
Other places where we use an ad hoc client (example)

But overall, why require inheritance? HTTP clients are not shining examples of OOP. You just end up with unnecessary proliferation of classes.

Oh, I forgot to mention: nothing in this approach precludes one from having custom client classes as before. You can simply do @client = NxtHttpClient::Client.make .... No harm done, and no spurious inheritance required.

Thanks for the examples. I'm personally not satisfied with this gem's design, so I'm going to approve this since refactoring the whole thing and nxt_clients will be tedious. I just hope this doesn't get abused and we stick to defining shared clients in actual domain logic - for one-off rake tasks this is fine. Could you please mention this in the README or somewhere else?

@Aerdayne I already have this in the README:

This is good when you need a one-off client to make some quick API calls.
However, you can go further by creating custom client classes with shared configuration,
and customizing them as needed.

How's that?

I'd swap the 2 paragraphs, so that the first one is for inheritance-based method and the following is about the inline one. Feel free to disregard.


Fix a couple of errors descovered by coverity

Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

@mheon @baude @giuseppe @vrothberg @TomSweeneyRedHat PTAL

Found in:
https://bugzilla.redhat.com/show_bug.cgi?id=1721394

LGTM assuming happy tests

LGTM, but I'd like a nod from @giuseppe before merge

LGTM

/lgtm


Use Markdown for readmes (just examples directory)

It is like this big PR https://github.com/apache/incubator-nuttx-apps/pull/337, but just one directory, for easier review. Divide and conquer approach.
I have checked these changes few times, so from my side, it is ready to be merged.
Again, despite git mv GitHub shows the files as deleted and created https://github.com/apache/incubator-nuttx-apps/commit/14b40d7df66b6b6748818162810cdc98cff5f93b. So it is not very helpful for the review. One need to use some desktop tool or these links:

examples/tcpblaster/README.md
examples/flash_test/README.md
examples/camera/README.md
examples/json/README.md
examples/bastest/README.md
examples/flowc/README.md
examples/pdcurses/README.md
examples/telnetd/README.md
examples/README.md

Note: git log shows that history is preserved, so it is just an issue with GitHub. You might want to check again, just in case.

Again, despite git mv GitHub shows the files as deleted and created 14b40d7. So it is not very helpful for the review.

You might need to use -M to let git autodetect the moved file when diffing.

You might need to use -M to let git autodetect the moved file when diffing.

Hi Greg, my git and other tools seems to be fine. It is just about GitHub not showing the diff, so it is difficult to do proper review here.

@w8jcik @patacongo, you can review the individual patch from 'Commits' tab:
https://github.com/apache/incubator-nuttx-apps/pull/339/commits/c3295a6359ebbfb046c76d0d0e5c04e5ada42a7b
The 'Files Changed' always show the final result which isn't smart as git in the complex case.


How to make the popup open on hover rather than on click in Angular leaflet

I want to open the popup in Angular Leaflet as a hover and not on click.
I have a markers array initialized and an overlay of a layer on top of the base layer.
I am trying to create a layer where buses and bus stops belong to each other. So each layer belongs to the same type in the overlays.
I am using the code
markers = [];
markers.push(
{ layer : layername,
lat : latitude,
lng : longitude,
message: busNames(data),
icon :{....}
}
});
I have another push marker set on the same layer which builds busStop data.
Now how do I display the popups when mouse is moved over them as hover instead of showing them on click
P.S - I am new to coding and hence please help me with proceeding further.

First, you have to include  'leafletData' to your controller, after that add 'mouseover' and 'mouseout' events to your Marker.
angular
.module('myapp')
.controller("EventsController", [ '$scope', 'leafletData', function($scope, leafletData) {

  $scope.$on('leafletDirectiveMarker.mouseover', function(event, args){
      console.log('I am over!');
      var popup = L.popup({ offset: L.point(0, -28)})
                  .setLatLng([args.model.lat, args.model.lng])
                  .setContent(args.model.message)
      leafletData.getMap().then(function(map) {
         popup.openOn(map);
      });
  });

  $scope.$on('leafletDirectiveMarker.mouseout', function(event){
    leafletData.getMap().then(function(map) {
      map.closePopup();
    });
  });
}]);


Implementing dashboard authorization filter.

Unifying authentication and authorization mechanism like the Hangfire dashboard!

Hey @mo-esmp,
Love the idea of going with the Hangfire authorization style! 🤗 I'm not sure when but I'll try to read and review the PR as soon as possible 😉
(fyi, I'm going onwards with the integration test pr - I just need to complete elastic ones and a small mongo-test refactor to merge that part. I'll write you about it when I complete it 😄)

@followynne Please send your PR to this one, setup-ci  branch needs more work. I need to figure out how run tests that need Docker in GitHub environment.

@mo-esmp yep, all good 🛩
I opened #67 to merge the chore on this branch (then you can merge it), let me know if anything else 😃


Procedure of adding the templates  for Openstack

Procedure of adding the templates  for Openstack should be documented for Apache TomEE

Hi @kwodzynski
find my answer in https://github.com/servicecatalog/development/issues/845
Just refer to the OpenStack Integration Guide.
The documentation for TomEE is in progress.  However, the respective UI feature is quite application server agnostic.
Check-out chapter 5.6 "Providing Templates for the Provisioning of Resources". There is extensive description how to proceed, same valid for TomEE.


Sort lines of text logical

What feature or new tool do you think should be added to DevToys?
Sort lines of text logical
Why do you think this is needed?
Sort lines of text logical
Solution/Idea
https://learn.microsoft.com/en-us/windows/win32/api/shlwapi/nf-shlwapi-strcmplogicalw
Comments
No response

Hi,
You can already do this in DevToys <IP_ADDRESS> :-)

Not Alphabetize.
20string
2string
3string
st20ring
st2ring
st3ring
string2
string20
string3

Logical sort is:
2string
3string
20string
st2ring
st3ring
st20ring
string2
string3
string20


Prims [JavaScript]

This issue is about Prims

[x] Issue Title is in form Algo/DS Name [Language].
[x] I searched or browsed the repo’s other issues to ensure this is not a duplicate.
[x] This Algo/DS is worth adding to this repository.
[x] Assign this issue to me (I want to work on this).

[x] I ensure that I am not already assigned to 2 or more issues.

[x] I will send my PR only after I'm assigned to this issue by any maintainer.
[x] I understand that I will be unassigned from this issue if I fail to send a PR for this within a week.

The contributors most likely able to help are:
@Monal5031
Possible duplicate or related issues are:

#345: Gradient Descent [Python]
#478: Algo/largest_sum_contiguous_subarray [C++]
#428: Add badges to README.md
#328: Issue template has a unnecessary tabpsace in point 5.
#391: Shell Sort [Java]

@singhpratyush Could you please add the Hacktoberfest label to the issue?

@Batschkoto: Done :)


Integrate MediaTek APU Support on mt6873, mt6885 and mt6853

Support init cache feature
Support uint8/int16/float16 inference type
Support preemption
Support Deconv2D, FullyConnected, Mul, MaxPooling, Activation, PRelu, Pad operators

Thanks for your contribution!


Update blood-and-gold.md

Just a couple more layout edits

I've already made some tweaks to this, so I'm going to ignore for now. Will be updated shortly.


Add step count

Changes
Add stepCount to useWizard hook context values. Holds the total number of steps.
I have added tests and updated documentation/examples accordingly.
Motivation
Useful for displaying progress, like Step 1 of 4.
One could keep track of the step count outside the wizard, but it's cumbersome to calculate/pass around. Feels like a natural part of a wizard and fits well into the rest of the context values.
Remaining
I've gone ahead and prepared (and verified) the playground/ and examples/ as well. However, the examples/ need to update to the new version of react-use-wizard whenever available.
Closes #87

It's your call, but I would argue against it. I'd say it's pretty standard. E.g. see https://stackoverflow.com/questions/3742650/naming-conventions-for-number-of-foos-variables.
Since it's an array, length could work as well, but I prefer count.

Do you want me to squash the commits or will you do it on merge?

Just wonderful, thanks for this PR!
Just a nit remark: I would go with the variable name amountOfSteps instead of stepCount

Moreover, I think count aligns pretty well with React.Children.count.

@devrnt let me know if you need anything more from me here.

@devrnt any chance we'll merge this during the weekend, you think?

It's your call, but I would argue against it. I'd say it's pretty standard. E.g. see https://stackoverflow.com/questions/3742650/naming-conventions-for-number-of-foos-variables.

This really shouldn't be an argument to shape this api, but let's go with stepCount

2.1.0

It's your call, but I would argue against it. I'd say it's pretty standard. E.g. see stackoverflow.com/questions/3742650/naming-conventions-for-number-of-foos-variables.

This really shouldn't be an argument to shape this api, but let's go with stepCount

Well, the intention was to show you that it's a pretty common convention in the wild. I think sticking to conventions should definitely be considered when shaping an API. That was just one example. I can you provide more references, if you'd like.

Regarding the README and VS Code settings:

I'm pretty sure I added it to the README, was it lost in the merge commit from main?
I can't recall seeing any .vscode/ in my diff. Did that come from the merge commit as well?

Anyways, thanks for merging! 🙏

You're the one that did the hard work, thanks again!


CI on master does not run properly

While on PRs Kokoro CI works correctly, there seem to be an issue when PRs are merged and CI should start on master.
The problem is that on the latest merges (e.g. https://github.com/SymbiFlow/symbiflow-arch-defs/commit/a6eb1c1d8cb450ca30566e6d571b51034e237dd7 or https://github.com/SymbiFlow/symbiflow-arch-defs/commit/ff71ca792f7620a6d61558056e4565c01bed3f91), Kokoro seem to be stuck.

Duplicate of https://github.com/SymbiFlow/symbiflow-arch-defs/issues/1826

@litghost All right. One thing I do not understand though is that, if kokoro CI do fail on master, they should still show up being red, so to inspect the log files, etc. I am unsure why it is not happening in this case (e.g. in this merge commit https://github.com/SymbiFlow/symbiflow-arch-defs/commit/a6eb1c1d8cb450ca30566e6d571b51034e237dd7 only the GH actions red CI is listed)


Fix Python Issues Flagged by pre-commit

🗣 Description
.github Changes
Integrate .env file into test_python job in backend.yml. This enables us to remove the public/private keys in mitmproxy_sign_requests.py and test_mitmproxy_sign_requests.py.
Note: this is a test RSA private key and not used in any deployed environment.
Other Changes

Remove private/public keys from mitmproxy_sign_request.py and mitmproxy_sign_request.py
Add error handling and timeout to get requests in cities.py and counties.py
Configure bandit to skip rule B101, "assert used", for test files
Configure flake8 to skip checking for docstrings in test files
Add docstrings to all other python modules and functions
Remove unused imports and variables
Organize/alphabetize libraries in requirements.txt files and imports.
Add types-requests to additional_dependencies for mypy.
Update Scrapy to address security vulnerability.

💭 Motivation and context
Closes issue #77
All python-related pre-commit hooks now pass.

🧪 Testing
Unit tests pass.
The following pre-commit checks pass:

bandit
black
flake8
isort
mypy
pyupgrade
requirements-txt-fixer

✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All future TODOs are captured in issues, which are referenced
in code comments.
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[x] Tests have been added and/or modified to cover the changes in this PR.
[x] All new and existing tests pass.

✅ Pre-merge checklist

[ ] Revert dependencies to default branches.
[ ] Finalize version.

✅ Post-merge checklist

[ ] Create a release.

@dav3r Of Course!


package install failed

npm install -g micro-gallery
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "install" "-g" "micro-gallery"
npm ERR! node v6.6.0
npm ERR! npm  v3.10.3
npm ERR! path /usr/local/lib/node_modules/micro-gallery/dist/bin/gallery.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/micro-gallery/dist/bin/gallery.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/micro-gallery/dist/bin/gallery.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:

I didn't include the "dist" folder. I will fix.

@dotcypress
I've published a new version. Let me know if there are any problems.


window.name transport data formatting

Response data via the window.name transport seems to have a different format than in owf7.
For example: the widget_launcher data gathered in owf7 responds as so:
<!DOCTYPE html>

window.name Transport

		Value in window.name is {"id":156,"namespace":"owf","path":"widget_launcher","value":"{\"favStore\":[]}","user":{"userId":"testAdmin1"}}

		HTTP Status Code is 200

whereas in the latest ozp-rest here is an example getUserPreference on an arbitrary test preference:
<!DOCTYPE html>
<title>Windowname transport</title>

The value of window.name in the latest ozp-rest should be escaped and wrapped in the following:
{
    status : <statusCode>,
    data: <escaped payload>,
    [message]: <Error message (opt.)>
}

This only effects the use of window.name, if same-domain, AJAX responses are propper

Was addressed in #98, But digging deeper in to endpoints I found that some endpoints now double wrap the {data: {}, status:200} wrapper, /listUserAndGroupWidgets in particular.
Perhaps this is due to the windowName notation being handled by individual route's writers, but a possible test would be to move the windowNamePrelude & windowName Postlude stream writing from the AbstractWindownameWriter:
https://github.com/ozone-development/ozp-rest/blob/master/src/java/marketplace/hal/AbstractWindownameWriter.java#L70
to the LegacyPreferenceRepresentationWriter:
https://github.com/ozone-development/ozp-rest/blob/master/grails-app/providers/marketplace/rest/writer/LegacyPreferenceRepresentationWriter.groovy#L36

This needs to be addressed additionally for the /prefs/person/whoami endoint


Update redirect.md to prevent XSS

If the code is used as is, it can cause Cross Site Scripting vulnerability. Added escape() function to prevent XSS.
Secure code :+1:

Opening PR with the account (nerrorsec) registered with hacktoberfest.


[trivial] fix mempool comment (outdated by BIP125)

[trivial] Comment in txmempool.h was outdated by BIP 125 and is now incorrect. This PR fixes that comment.

ACK


feat: add exporter rbac

What type of PR is this?

[ ] bug
[x] feature
[ ] enhancement

What problem(s) does this PR solve?
Issue(s) number:

fix #200

Description:
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc:

So the operator has permission to create rbac? Is this appropriate?


Can't restart a container

Doing:

start a container, everything is fine
stop the container
start the container again

expectation:

container starts like the first time

what happens:

the container can't start because of useradd: user 'collectd-docker-collector' already exists

Seems like this line in the start-script isn't fine.
I guess it will be all fine if the script checks for the existing user.

Pull-Request is provided. Please take a look.

Thanks!


Common naming convention for test builds

As we maintain various test builds across multiple Jenkins, it would be better if we have a common naming convention for all test builds. This will help users to navigate and triage.
The proposed format:
Test_openjdk<JDK_VERSION>_<JDK_IMPL>_<TARGET>_<ARCH_OS>_<SUFFIX>
For example,
Test_openjdk11_hs_sanity.openjdk_ppc64le_linux
Test_openjdk8_j9_extended.system_x86-64_linux_xl
Test_openjdk11_hs_extended.external_tomcat_x86-64_linux // tomcat is the subfolder
SUFFIX can be empty or BUILD_TYPE (i.e., Nightly, Release, etc). BUILD_TYPE is used in OpenJ9 Jenkins. For details, please see https://github.com/eclipse/openj9/issues/5210
If additional information is needed in the test build name in the future (i.e., vendor info), we can add it later.
fyi @ShelleyLambert @sophia-guo @Mesbah-Alam

Given https://github.com/AdoptOpenJDK/openjdk-tests/pull/1047 and https://github.com/AdoptOpenJDK/openjdk-build/pull/1125 were merged and new jobs have been generated (see https://github.com/AdoptOpenJDK/openjdk-tests/issues/1168), this can be closed.


In a where clause, the equals operator doesn't work well for basic queries.

11.7-alpine version exhibits this strange behaviour:
# select '[' || lis_lis || ']' from imalis where lis_lis like 'PME_USU_00';
   ?column?
--------------
 [PME_USU_00]
(1 row)

whereas:
# select '[' || lis_lis || ']' from imalis where lis_lis = 'PME_USU_00';
 ?column?
----------
(0 rows)

Non-Docker Postgres 11 shows consistent results with exactly the same data (rsync'ed), i.e., 1 row of results for both selects.
lis_lis is a varying char(20) column that is the primary key of the table.
Using:

amd64
Docker version 19.03.6-ce, build 369ce74
Host is Amazon Linux.

Version 11.6-alpine also has same bug.

Do you know if it does this in the non-Alpine variant too?

I cannot test because the debian variant doesn't support the es-ES.UTF-8 locale.

Confirmed that Debian variant works ok.

Yeah it doesn't seem like something we can change at our level, probably have to file it upstream somewhere
https://github.com/docker-library/docs/tree/master/postgres#postgresversion-alpine

The main caveat to note is that it does use musl libc instead of glibc and friends, so certain software might run into issues depending on the depth of their libc requirements.

Seems related to https://github.com/docker-library/postgres/issues/327


Add test for missing labels

@KalmanMeth here's a test that clarifies the behaviour that IMO we should keep, wrt to missing labels and https://github.com/netobserv/flowlogs-pipeline/pull/460

@jpinsonneau that was related to this ticket https://github.com/netobserv/flowlogs-pipeline/issues/464 where the proposed fix was to ignore counting records for metrics when there are missing labels, but that would have broken a bunch of things, hence this added test to write in stone the expected behaviour here.
Thanks for the review!
/approve


Error

Error - https://pastebin.com/vEP7heg6
Magic 7.7.4-fd3f986
git-Paper-83 (MC: 1.14.2)
An error occurs when I add a parameter
add_examples:

survival
stars

Have you tried it without "survival" in the list? Survival is already included by default so it may be trying to add it twice.

Please re-open if this is still an issue.


Add more granular set of APIs for the semantic model

Description:
Some suggestions:
Symbols Related:

[x] visibleSymbols(fileName, linePosition)
[ ] visibleSymbols(fileName, linePosition, symbolKind)
[x] symbol(fileName, linePosition)
[x] moduleLevelSymbols()
[ ] moduleLevelSymbols(fileName, linePosition)

Diagnostic related:

[x] diagnostics()
[ ] diagnostics(fileName)
[ ] diagnostics(diagKind)
[ ] diagnostics(fileName, diagKind)
[x] diagnostics(lineRange)
[ ] diagnostics(lineRange, diagKind)

Provide another API for filtering out symbols based on the context. May have to consider providing a public API for Types. For example, for an assignment statement, providing suggestions for completion in the RHS. To filter out symbols based on the expected type in the LHS, need to be able to basically type check the symbol types against the expected type.

We are no longer considering above requirement.


Making powershell run in definitely non-interactive mode

By default powershell would run a script and will NOT quit, waiting for user's commands. Which means powershell process will never quit.
Adding "powershell.exe -InputFormat None" resolves that issue
Also added it on top, so that it's more visible

I never encountered this issue when testing it with Rackspace Cloud Windows servers.
Is it possible this can be some how set on a global level and that's a default value on Rackspace Cloud Windows servers?
Edit: I just checked the docs about this switch and it says:

-InputFormat {Text | XML}
Describes the format of data sent to Windows PowerShell. Valid values are "Text" (text strings) or  "XML" (serialized CLIXML format).

It doesn't seem None is even a valid value.

I had this hanging issue all the time with PowerShell 2 on Windows 2008. The solution to use
"-InputFormat None" is from this solution on MS site: https://connect.microsoft.com/PowerShell/feedback/details/572313/powershell-exe-can-hang-if-stdin-is-redirected
I tested it and it indeed worked.

Sorry for the delay.
Looks like this is an un-documented feature and haven't had the time to test it yet.
On a (maybe) related note - @dzimine originally encountered some issue with winexe hanging which was resolved by also also passing handle to stdin to the winexe process, but this looks like a different issue.

Tried -NonInteractive - it doesn't help

I didn't encounter this issue myself and I couldn't reproduce it, but I trist @kirilstrax's testing so I will merge it.

Merged, thanks.


Update manage users designs

Update manage users designs per feedback from design+dev
Figma:
https://www.figma.com/file/NPSPM5SBzQ7Ra3mmr9M9cB/SimpleReport-Public-Site?node-id=3972%3A13760
Facilitators:
Victor
Updates
09.20.21: Got feedback from design team. Need to work on those designs before getting feedback from devs.
Action items

[ ] X

Leslie/Emma/Victor/Ashton to pair on ticket creation here next week.

@Rebecca-LM

Made some copy changes and added a few design suggestions in the Figma for @vz3 and @ashton-skylight.

Added to Figma too, but @ashton-skylight Ashton Tu here's some explainer text you can use after you move the pword reset button. (If devs are able to remove the password recovery question from the pword flow, simply delete the second sentence and remove the period from the first sentence).
"Send a link to reset user password. Users must answer a password recovery question to access their account."

@ashton-skylight @vz3 any support info that will need to be updated on the static site to reflect these changes?

Modals have been updated, so designs are complete here.


[chore] update vite-plugin-svelte

Fixes #720
May address #2612 if experimental.prebundleSvelteLibraries works. I've tested this in a local production repo and it's working flawlessly.
vite-plugin-svelte also dropped support for node 12.
Before submitting the PR, please make sure you do the following

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

Waiting for https://github.com/sveltejs/vite-plugin-svelte/pull/202 before it's ready


Website [Universal banner] Add page for Universal banner

Task

Add a new page to Carbon for IBM.com documenting the general usage guidance of Universal banner.
Design and add a thumbnail of the component to Component overview page

Useful resources

Design page mockup using Gatsby theme resources
Create images strictly using Image production guidelines. Find sketchfiles from same link above
Create thumbnail image on the Components overview page - use the master Sketch work file here to get started.
For general contribution - Please visit the Contributing page for information and process detail.
For how to create and submit PR - Please visit the Submitting a Pull Request section to learn more.
For Markdown best practices - Please visit the Production guideline to learn more.

The mock-up for the page is uploaded here: https://ibm.box.com/s/hg710nlpm2oi6zvqetipdcohl916rvta