Update README URLs based on HTTP redirects

Created with https://github.com/dkhamsing/frankenstein
GitHub Corrected URLs

Was
Now

https://github.com/GoalSmashers/clean-css
https://github.com/jakubpawlowicz/clean-css

https://github.com/andrew/node-sass
https://github.com/sass/node-sass

https://github.com/remixz/dogescript
https://github.com/dogescript/dogescript

https://github.com/visionmedia/consolidate.js
https://github.com/tj/consolidate.js

https://github.com/visionmedia/ejs
https://github.com/tj/ejs

https://github.com/visionmedia/haml.js
https://github.com/tj/haml.js

HTTPS Corrected URLs

Was
Now

http://img.shields.io/coveralls/jenius/accord/master.svg?style=flat
https://img.shields.io/coveralls/jenius/accord/master.svg?style=flat

http://img.shields.io/gemnasium/jenius/accord.svg?style=flat
https://img.shields.io/gemnasium/jenius/accord.svg?style=flat

http://img.shields.io/npm/v/accord.svg?style=flat
https://img.shields.io/npm/v/accord.svg?style=flat

http://img.shields.io/travis/jenius/accord/master.svg?style=flat
https://img.shields.io/travis/jenius/accord/master.svg?style=flat

This is dope. Props to whoever made this script

:tada:


Don't change case for quoted identifiers

There is an option to change case of column and table names in SQL export wizard (Identifier case). When column or table name is quoted it transforms too. We don't need to change case for quoted identifiers.

verified

Table name changes case to upper in Advanced copy

verified


Walk through how Checkbox works in detail to explain the framework

If you understand how Checkbox works, you understand a lot about how the system is put together.

I'm going to close this and leave it up to devrel to figure out what to write.


Bump cpp to v1.4.0

Bumping version number
iirc this doesn't actually matter since these files are not exported, but good to have it match the tagged version

=> https://github.com/conan-io/conan-center-index/pull/26147


Ensure Status CI reports a failure when they occurs

Unhandled exceptions in Node Promises don't result in the script returning an error code back to the shell. Detect these errors and ensure the script still sends a Slack message when these error occurs.

Closed with #209


remove unused function LoadYamlTemplate

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

/auto-cc

/lgtm


Fix small typo in docs

Hello.
I've fixed a small typo in docs (need to check if entity has velocity component, not comp component).

I'm adding you to the list of contributors. Let me know if this is a problem.
Thanks for pointing this out. Really appreciated. :+1:

Not a problem, of course. Thanks.


feat(EasyField) Add support for computed fields

Fields with computed values based on 1 or more fields.
Eg.
export const cFullName = {
  id: 'cFullName',
  label: '氏名',
  fieldType: 'input',
  // default value makes it possible to sort in tables
  default: ({nameFamily = '', nameGiven = ''} = {}) => `${nameFamily} ${nameGiven}`,
}

Problems

how to keep the field the reactive (not the case with 'default')
how to prevent id clash when based on 1 single field and written like so:

export const clientName = {
  id: 'name', // take the 'name' value which exists
  label: '氏名',
  fieldType: 'input',
  format: val => `${val}様`
}

thoughts
Make sure computed fields can also be "triggered fields" eg. triggered once on document creation and saved, so they don't need to be calculated again and they can be indexed etc.
Don't use id field of another field just to get the value for this reason.
Perhaps work with a new EasyField property trigger or calculate or etc.
But think of necessary differentiation with format.
Make sure there is always sort-ability when used in tables.

done: https://quasar-easy-forms.web.app/computedFields


Support comments in Console

Hi all,
Would it be possible to support comments in the web console when executing queries? Right now it gives errors when putting a --, //, or # as a comment in the console and executing a query (though for the first two options, it is recognised as a comment).

Hi @bodiam
do you mean from Studio? You can use Java multi-line comments: /* a comment */
You can also highlight text and comment it with CTRL+/

Yes, that's what I mean. I don't see it working...

Ok, it seems to be a bug, I guess if you put the comment in the middle or at the end of the query it will work.
I'm flagging this as a bug
Thanks
Luigi

Are there tests for this somewhere? I don't mind creating a pull request.

Hi @bodiam
yes, you can find some tests in OConsoleDatabaseAppTest
Thanks
Luigi

Block comments seem to work fine in Studio with 2.2.11; however, line comments, "--", do not.  It would be nice to be able to use either, especially since the console is finicky about block comments, but has no issues with line comments.

Hi @SamHard
the -- is part of OrientDB grammar (see MATCH statement), so unfortunately it cannot be used for comments
Thanks
Luigi


AVPlayer subview shows black screen in output video file.

Same issue here. Do you found any solution @subinsuresh ?

Same issue here. Do you found any solution @subinsuresh ?
Sorry, Not yet.

@AmineArous Did you get any solutions or alternatives?

Any solutions or alternatives ?

Any solutions?


Implement tracking Persons attending an Event

Description
Implement tracking Persons attending an Event
Issue Type
Enhancement
Related issues: #92
Acceptance Criteria

[ ] Ensure that event can support attendees
[ ] Ensure that update can support attendees
[ ] Event is updated dynamically with a set of attendees
[ ] Serialize list of attendees and store as JSON in EventBook.json

Closed for duplicate


[js-testing] type checking for dates.js

https://github.com/airbnb/superset/issues/2851

See codeclimate error message, should we move chai, mocha, enzyme from devDependencies to project dependencies?

these codeclimate issues are strange, i haven't seen them on other branches... i think chai, mocha, enzyme (testing libs) should be included in devDependencies, not dependencies. the missing file extension for import { it, describe } from 'mocha'; is weird since it's a lib not a file, not to mention we don't require file extensions in out imports afaik. i will dig into these codeclimate issues.


Refactor xarray.conventions into VariableCoder

Building off of discussion in #1087, I would like to propose refactoring xarray.conventions to use an interface based on VariableCoder objects with encode() and decode() methods.
The idea is make it easier to write new backends, by making decoding variables according to CF conventions as simple as calling decode() on each coder in a list of coders, with encoding defined by calling the same list of encoders in the opposite order.
As a proof of concept, here I implement only a single Coder. In addition to making use of xarray's existing lazy indexing behavior, I have written it so that dask arrays are decoded using dask (which would solve #1372)
Eventually, we should port all the coders in xarray.conventions to this new format. This is probably best saved for future PRs -- help would be appreciated!

[x] Tests added / passed
[x] Passes git diff upstream/master **/*py | flake8 --diff

@shoyer I'm writing a small helper that looks very much like a decoding filter, but I'm not sure it fits the VariableCoder model.
The intent is to use CF attributes to identify coordinate variables, for example {'units': 'degrees_north'} identify a 'latitude' coordinate, and apply a set of transformations to harmonise datasets from different providers: I rename the coordinates to a known name, for example 'lat' for latitude, and convert to a known unit, for example to 'Pa' for pressure.
To my understanding some of the transformations need to be at a DataArray / Dataset level, not Variable one, because I need to manipulate the names of the coordinate variables and keep the name of the dimensions in sync, for example I'm currently using DataArray.rename a lot, but I also have an example of using DataArray.swap_dims. A simplified example is:
def harmonise_latitude(dataset):
    # (xr.Dataset) -> xr.Dataset
    for coord in dataset.coords.values():
        if 'units' in coord.attrs and coord.attrs['units'] == 'degrees_north':
            # update the other CF attributes that reference coord.name, for example 'coordinates'.
            return dataset.rename({coord.name: 'lat'})
    return dataset

Would you be open to add support for Dataset -> Dataset decoding filters similar to the Variable -> Variable?

The intent with decoders is handle the invertible transformations between a raw file on disk and xarray's data model. So we will definitely need some transformations that act on a collection of variables (e.g., to decode coordinates vs data variables), but not in the form of a Dataset yet. These decoders/encoders will probably take/return three arguments: variables (an OrderedDict of xarray.Variable objects with both coordinates and data), dims (dict of dimension names to sizes) and (global) attrs.


update to latest fauxton 1.2.6

Overview
Update Fauxton to 1.2.6
Testing recommendations

Related Issues or Pull Requests

Checklist

[ ] Code is written and works correctly
[ ] Changes are covered by tests
[ ] Any new configurable parameters are documented in rel/overlay/etc/default.ini
[ ] A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation

@garrensmith Approved once you push Fauxton to npm please: https://www.npmjs.com/package/fauxton . I don't have the rights to do this and I can't find it written down how to do so. (We probably need to document this for the PMC.)
I have the backport to 3.x already handled in #3122 .
Thanks for the help!

I've published it. You need to be logged into npm. Then in the fauxton repo:
npm publish

jenkins rebuild


Make the Data.Equality.Graph.Dot module compile again

I haven't looked at whether the generated dot files are sensible, i.e. this doesn't solve #26 yet, I only took care that the module compiles again.
More concretely:

The bounds on the Graphviz dependency fixed a very ancient version of that library. I don't know whether there was a specific reason for that, but I didn't get it to compile on modern GHCs.
Adapted the imports and the constructors to the current state of the data types.
Added additional CI which tests that you can build the Data.Equality.Graph.Dot module

I don't know if I have enough time before our meeting to implement improved dot file generation, I have to pack tomorrow :)

The CI build times for the Graphviz modules are with a cold cache. You can take a look at the build times in https://github.com/BinderDavid/hegg/pull/1 for how it looks like with a cache hit. Then it should be ~2min faster.

Excelent!
This is good incremental progress 👍, no hurries here!


Sunovels

Source name
Sunovels
Source link
Sunovels.com
Language
Arabie
Other details
A good source
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Duplicate of #130


feat: add liara init command

This command provides an interactive process to generate a basic liara.json configuration file.
The generated configuration file will include only the basic parameters to get started, such as application name, port, platform, and other necessary fields. However, any additional or advanced configurations (such as cron, healthCheck, etc.) will not be included by default and must be manually added after the file is created.

related: https://github.com/liara-cloud/cli/issues/151

IMO  :
The typeof operator gives misleading results for null:
typeof null; // "object"

Handling both null and undefined leads to verbose checks. For example, default parameter values only work with undefined. If a parameter is explicitly set to null, the default value won't apply:
function greet(name = "Guest") {
  console.log(name);
}
greet(null); // Outputs: null

Default values in object destructuring also fail with null, and using null in nested destructuring can even cause runtime errors.
These are the main reasons I avoid using null. Since @mhemrg and I have different perspectives on this, I think it’s a good idea to ask for his review on the PR to ensure future consistency.

The following pattern:
try {
  //
}
catch (error) {
  throw error;
}

Doesn't accomplish anything. You can remove them all.


alignment not correct when stdout is attached to a program

Hello! For some reason the output's alignment is not correct (since 0.30.0) when difft's stdout is attached to a program.
Is this a bug?
Thanks!

Could you attach or paste the exact files you're using?


tests: add test for app proto bittorrent-dht - v5

Previous PR: https://github.com/OISF/suricata-verify/pull/904
Changes from last PR:

Update some fields to be hex strings

Requires https://github.com/OISF/suricata/pull/7731

New test: https://github.com/OISF/suricata-verify/pull/930


salted secrets

Codecov Report

Merging #3 (d6968b6) into main (bab96bd) will increase coverage by 0.27%.
The diff coverage is 85.10%.

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
+ Coverage   54.99%   55.27%   +0.27%
==========================================
  Files          12       12
  Lines        1291     1308      +17
==========================================
+ Hits          710      723      +13
- Misses        581      585       +4

Flag
Coverage Δ

unittests
55.27% <85.10%> (+0.27%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

gluetube/command.py
18.70% <14.28%> (+0.52%)
:arrow_up:

gluetube/gluetubed.py
53.86% <92.30%> (+0.43%)
:arrow_up:

gluetube/config.py
100.00% <100.00%> (ø)

gluetube/db.py
96.01% <100.00%> (-1.32%)
:arrow_down:

gluetube/runner.py
53.33% <100.00%> (ø)

gluetube/util.py
69.38% <100.00%> (+8.86%)
:arrow_up:

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


getting this error during installation

manage_auto_update:24: no such file or directory: /Users/shammah/.axiom/interact/includes/.auto_update
Auto-update has been enabled.
Configuring your cloud account...
/dev/fd/11:626: no such file or directory: /Users/shammah/.axiom/interact/axiom-account-setup
ls: /Users/shammah/.axiom/axiom.json: No such file or directory
Adding axiom_rsa key to Packer builder
/dev/fd/11:634: no such file or directory:
mv: rename /Users/shammah/.axiom/tmp.json to : No such file or directory
/dev/fd/11:635: no such file or directory: /Users/shammah/.axiom/configs/authorized_keys
Beginning first packer build...
/dev/fd/11:683: no such file or directory: /Users/shammah/.axiom/interact/axiom-build
You may need to restart your shell: /bin/zsh

Hey @zealsham, how did you install? Can you rm $HOME/.axiom and try again using the easy install oneliner?
https://ax-framework.gitbook.io/wiki/overview/installation-guide

ive done that severally and no avail

Your Packer provosioner must be located in /Users/shammah/.axiom/images/pkr.hcl/provisioners/. Make sure to move it
meanwhile the docs says
Custom Provisioners: All Provisioners need to be stored in ~/.axiom/images/provisioners/ and should end with.json

@zealsham

ive done that severally and no avail

What OS are you using (Mac? What version?) and how are you installing? Your original post showed errors that indicate to me that ax wasn’t installed correctly. All the missing files etc. You’ll have to make sure ax configure runs without issue before building will succeed.
If all else fails, try installing in a docker container with the docker install one liner we have in the readme or spin up a fresh Ubuntu 24.04 on any cloud provider and install the controller on that.

Your Packer provosioner must be located in /Users/shammah/.axiom/images/pkr.hcl/provisioners/. Make sure to move it
meanwhile the docs says
Custom Provisioners: All Provisioners need to be stored in ~/.axiom/images/provisioners/ and should end with.json

yes I’ll fix this in the documentation. Now that we support both JSON and HCL Provisioners, your provisioner will either have to be in $HOME/.axiom/images/pkr.hcl/provisioners/ for pkr.hcl or $HOME/.axiom/images/json/provisioners/for JSON. I’ll make sure to change that in the wiki. Thanks! But before you get this far, you have to make sure ax configure worked without issue and your cloud account properly configured. Feel free to join our discord as well.

Closing this issue. If you are still experiencing problems, lmk.


As a purchasing manager, I can sort items by quantity

...so I may check which items are sufficient and which may need restocking.

Closed by #158


Output result as data

The module outputs an object to consuming modules so own reporters can be written. The CLI version should als use this data instead of the parser-stats module. However, to keep this PR small. That is a done in its own PR (not started as of the time of this writing)
To test this PR, replace the current .then in bin/fastatic with:
.then(output => {
	console.log('src:')
	Object.keys(output.src).map(key => {
		console.log(' ', key, filesize(output.src[key]))
	})
	console.log('dest:')
	Object.keys(output.dest).map(key => {
		console.log(' ', key, filesize(output.dest[key]))
	})
	console.log('');
	console.log('output:', output);
})

@jbmoelker I split the module up and return a new object as discussed


Error: 8 RESOURCE_EXHAUSTED: Bandwidth exhausted

Describe the bug:

Steps to reproduce:

index more data by import sample data button in the collections page
make data volume to 30W
there will show this error message "Error: Error: 8 RESOURCE_EXHAUSTED: Bandwidth exhausted"

Attu version: v 2.2.4
Attu log:

@weiZhenkun may I know what was the resolution for this? Because I am facing the same issue v2.2.4


check for robot optional in kick.cpp

The kick skill uses a robot optional. But it never gets checked for the case where there is no robot. This could lead to crashes so add a check.

Someone fixed this and didn't close the issue :P


[WIP] Trailing slashes and wildcard captures

https://github.com/iron/router/issues/96

I tried to find a bug in route-recognizer, but I guess it can't harm to add another testcase...


Can Single Address Field Be Used As a Data Source?

I've come across a few tax-parcel Esri REST services where the address (i.e., 123 Main Street) is in a single field.
Can this data schema be used?  Or does the street number component need to be in a separate field?

It's possible to parse a single-string address with one of the attribute functions (documented here), but it's pretty brittle and annoying to debug. We definitely prefer separated address fields.

I'm going to close this, but feel free to ask more questions here if you have them.


Store original image downsample in LabeledImageServer

Continuation of changes discussed in #25
Previously all labeledservers had downsample of 1, meaning they effectively lost any concept of the original image's resolution. This lead to an inconvenient API for the most common use cases (matched use of similar labelled and original images).
This means that running
ls = LabeledImageServer(original_server.metadata, features, downsample=2)
ls.read_region(downsample=1)

will now return an image of the size of original_server, rather than downsampled by 2.
It also seems to mean that region requests are resized to the labeledserver's downsampled coordinate space, without needing to run region.downsample_region() on every request.

Worth checking the tests I changed/added :)

Great point, thanks! I will also make this clear in the notebooks before merging

Can you have a quick look over the comment/s and see if it's clear?


Panels using Event=x instead of EventType=x

Issue: Lots of panels/searches are using Event=#### when it should be EventType=###. For example: "Most Popular Lists…"

@adrianhall are you still maintaining this project?


No Login Prompt When Using DNS

I noticed this both with NGINX and with my firewall port forwarding: when I connect to the page, I see the entire logon screen EXCEPT the actual logon prompt.  The only way I was able to get around it in NGINX was to set the URL to uptimekuma.domainname.com:8008.  Without adding that port to the DNS name, the login prompt does not appear.

When I hit F12 to inspect element, I noticed that the entire form-container element that holds the login prompt is completely missing.
Internal after making NGINX changes:

Internal without NGINX changes:

Please your reserve proxy settings
"Unlikely other web apps, Uptime Kuma is based on WebSocket. You need two more headers "Upgrade" and "Connection" in order to reverse proxy WebSocket."
https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy

RTFM, that fixed it!


Explain Django "Invalid HTTP_HOST header" log message.

Add a paragraph in the prod troubleshooting guide to explain a Django log message that suggests something needs to be added to ALLOWED_HOSTS. It's not indicating a configuration problem, it is almost certainly a potential attacker opportunistically looking for a service to exploit (and Django won't let them.)
See comments on https://github.com/zulip/zulip/pull/3753 for the original conversation.
@timabbott Is this text something like what you had in mind?

Automated message from Dropbox CLA bot
@feorlen, it looks like you've already signed the Dropbox CLA. Thanks!

Yep, this looks good; merged, thanks @feorlen!


Show human-readable error if avmRunner scripts are not available

Right now, if user haven't run npx run copy-avm-public, then he will receive and undecipherable error message from browser engine:

We must give users human-readable errors that suggest how to fix the problem. Ideally, we need to either catch this error or check avmRunner scripts availability proactively, and then show message suggesting to run copy-avm-public.

This issue no longer exists with latest JS-client.


Linter & Compatibility

Hi there,
this PR improves the compatibility against newer NetworkX versions.
Specifically, in SRW_RWF_ISRW mainly, there were outdated calls to g.node[] whereas newer versions of NetworkX changed to g.nodes[]. These calls have been fixed.
Further, code readability has been improved thanks to the Flake8 linter.
All the best

Hi @Alessi0X
Thanks for the following changes. I am merging your changes.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


adding in aws hcl for rocky and the repo core contents

Adding in initial repo content, README and gitignore.
Also dropping AWS packer builder for Rocky 8.

I am me, me lets me do, so we merge.


TLSv1 or SSLv3 required: Potential security issue?

It seems that in cordova-HTTP's current configuration, TLSv1 or SSLv3 are required. A standard apache configuration to keep things secure since the POODLE bug has been:
SSLProtocol +TLSv1.2 +TLSv1.1 -TLSv1 -SSLv3 -SSLv2
SSLCipherSuite 'ECDH+AESGCM:DH+AESGCM:ECDH+AES:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS:!3DES'
SSLHonorCipherOrder On

However, without +TLSv1 or +SSLv3 cordova-HTTP fails to connect. This means that to use a cordova-HTTP app, the server has to be setup to allow potentially vulnerable clients.
As a note, I'm working on an application that integrates with ownCloud, so many of their user's servers are enterprise ready and require the above security settings (I.E. they cannot be changed).
Is this something that can be corrected in the way cordova-HTTP is configured within the app?
Thanks in advance.

In digging deeper, I found this in https://github.com/wymsee/cordova-HTTP/blob/f9fc028546931967f3d6f2fd09ada9893bcb0b14/src/android/com/synconset/CordovaHTTP/HttpRequest.java:
SSLContext context = SSLContext.getInstance("TLS");

Could this be the culprit since it's not the default? I believe forcing TLS sets TLSv1 and SSLv3, but does not include TLSv1.1 or TLSv1.2.

It seems after further investigation, this bug may need to be pushed all the way up to the http-request library unless you have ideas I don't. Based on the following:
https://androidfarming.wordpress.com/2015/03/28/android-tlsv1-2-and-ssl-pinning/
http://stackoverflow.com/questions/16531807/android-client-server-on-tls-v1-2
It looks like a custom socket object is required to allow for higher security standards. If you don't think this is possible to correct in cordova-HTTP, let me know and I'll reference this issue at https://github.com/kevinsawicki/http-request

As you can see I've created a bug and pull-request with http-request. I will do the same for you in a few moments.

I started getting the error "SSL handshake failed". Could that be related to this? I swear this was working last week, and just stopped working. Based on what I can tell all my root certs on the device are good. Not sure if something changed on the server side?

Never mind... just figured it out. The datetime on the device was off, which was breaking the ssl.

Should be taken care of by #95.  I also want to note that this issue should have ever only affected android versions 4.1-4.4.  5.0 and above enable 1.2 by default and 4.0 and below don't support 1.1 or 1.2 at all.


Multiline search

The initial searching implementation did not add search spanning multiple lines. This PR adds it but makes a breaking change to the API. So there will probably be a major version released.  Also comments and docs need to be written

I am moving this to a new branch i.e 4.0 because I also want to add more features with a new major release


Sudoku solver program

Feature ✅
Python sudoku solver
Description

A python program to solve a Sudoku board provided by the user as input. If the board is valid it solves the board and displays the final solution, else it raises an error message that the input was invalid.
Example

Input :-

Note :- The 0 s here refer to the empty cells in the board
Output :-

Note :- The empty cells have been filled up with the correct digits, indicated in red

@pratik-choudhari I want to contribute this to the repository. The programming language would be Python. Please assign it to me. Will be happy to help.

@Swarn10 That's a great project. Place it under Projects

Can i write it in python Console application with backtracking ?

@Swarn10 PR is a terminal based too

@pratik-choudhari The program is supposed to be a terminal one only. I think I made a mistake by adding under the Projects directory. Should I add the program under the Python directory ?

@Swarn10 no its fine

@pratik-choudhari Let me clarify this that the program that I have added is just a normal Python program that solves the sudoku problem using backtracking. It is not like an application written in Python. So where should I add the program, under Python or Projects directory?

Yes @Swarn10 I got it after seeing your PR. Put it under Projects add _cli to the project folder name, so one can distinguish between cli and gui

@pratik-choudhari Ok. Sure. I got it.


Wrong timestamps when using rsync to move files to a mounted weed filesystem

Describe the bug
If using rsync -av to copy files to the mounted seaweed filesystem using weed mount there are some files that have their timestamp changed. Around 200000 files copied (500GB), 200 had the wrong timestamps, on the next rsync everything was fine, so it's probably a gRPC issue, I tried looking into it myself, but I'm too unfamiliar with the codebase.
System Setup

Weed Setup

weed -v 4 --logdir logs server --dir=data1 --filer &> logs/weed-node1-master.log &
weed -v 4 --logdir logs volume --port=18082 --dir=data2 &> logs/weed-node2.log &
weed -v 4 --logdir logs volume --port=18083 --dir=data3 &> logs/weed-node3.log &
weed -v 4 --logdir logs volume --port=18084 --dir=data4 &> logs/weed-node4.log &
sudo /home/user/bin/weed mount --filer=localhost:8888 --dir=/home/user/weedfs/

OS version: Linux Mint 20.1 (5.4.0-139-generic)
weed version: version 30GB 3.44 5b43c4bb98c5e2d83dca5414b4c902b668f91ea5 linux amd64
Used the default filer settings

Expected behavior
All files should keep their old timestamps.

The original commit that implemented mtime support seems to be https://github.com/seaweedfs/seaweedfs/commit/b597baf488fa4449d41ac2b78d421751f65f909e but it does not explain why mtimes work only sometimes now.


VS code would not debug c# project on mac

VSCode Version: 1.24.1
OS Version: Mac Os Sierra High Sierra, 10.13.5

Steps to Reproduce:

Create a .net sample project: dotnet new console -o testcshar
open VS code
open folder VS code
try Debugging pressing green error with breakpoint
nothing happens

Does this issue occur when all extensions are disabled?: Yes/No
did not try since I believe C# extension is needed

pleas file issue against C# extension.

can you let me know how to get debug log lines from vscode...

that depends on the extension your are using.
Please ask here: https://github.com/OmniSharp/omnisharp-vscode/issues

It was actually a vscode issue.... i have uninstalled (https://stackoverflow.com/questions/42603103/how-to-completely-uninstall-vscode-on-mac) and reinstalled vscode and now things work

Not necessarily a VS Code issue. If you've followed the stackoverflow link, then you have removed all installed extensions and their extension state.
Probably it would have been sufficient to just remove the C# extension and reinstall it again.
But I'm glad that you could fix the problem.


Updates vault helper and unsealer to latest version

Closes #16 #17

/ok-to-test

@JoshVanL can you look at this again?

/approve
/lgtm


WIP: add index for internal blocks

add index for internal blocks

It's based on #405.
Create index for all internal blocks in RAM with hash and address of internal blocks to avoid too many page faults when doing rbtree searches, since internal blocks are stored in mmap memory which is actually on disk . It will take about 5G extra RAM when use tmp files, but speed up the loading and syncing process, performance is similar with -z RAM option.
With 8G RAM and SSD, it will take about 7 hours to load storage, syncing is still in testing right now.

i think it's better to converge to a unique version, so without the #if defs

Those #if #def... Maybe it makes sense to remove them and just use a version with index? It is hard to check what was really changed except
`- bi

index->bi`


[REEF-674] Made IEvaluatorDescriptor and its implementation immutable.

EvaluatorRequestor was changed to call the new constructor of EvaluatorDescriptorImpl.
This also removes the FromString method from both the interface and the implementation. Its code is folded into the constructor which was the only place it was called from.
Lastly, standard ReSharper cleanup has been applied to IEvaluatorDescriptor and EvaluatorDescriptorImpl.
JIRA:
REEF-674

I will take a look.

This looks good. I'll test and merge.


Added Kenyan Holidays

Added List of Kenyan Holidays

@vamuigua Thank you for this input. I will update as advised. PR has never been merged though.


Saved schematica loads 3/4 of the file

Hi, please fix this issue here is what happened. I saved a schematica on multiplayer (which has worked before) and when I tried to load it the result is 1/4 of the schematica isn't showing. The amount of chunks in the schematica is 21.
Whats happening

Whats meant to show

Can you attach the schematic here?

Also missing at least the version number of the mod and Forge.

Version number: 1.12.2 Schematica & Lunatrius 1.12.2
Forge 1.12.2

Sorry for the rather late reply. Where did you stand when you saved the schematic? Was it right next to the area that you've saved or were you far away?

I was directly next to the red point

Could you try saving the same area again and maybe use a slightly larger area this time? It could have been a one time thing or it's a border case. A screenshot with the coordinates would be great as well.


yarn-managed monorepo, building from source, nodeLinker=node-modules: The nearest package directory doesn't seem to be part of the project

in my monorepo project:
✗ yarn install
YN0007: │ sharp@npm:0.33.2 must be built because it never has been before or the last one failed
YN0009: │ sharp@npm:0.33.2 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-4494d0f3/build.log)
/tmp/xfs-4494d0f3/build.log:
This file contains the result of Yarn building a package (sharp@npm:0.33.2)
Script name: install
sharp: Detected globally-installed libvips v8.15.1
sharp: Attempting to build from source via node-gyp
sharp: Found node-addon-api
sharp: Found node-gyp version 10.0.1
sharp: See https://sharp.pixelplumbing.com/install#building-from-source
Usage Error: The nearest package directory (/myProject/packages/lib/node_modules/sharp) doesn't seem to be part of the project declared in /myProject.

If /myProject isn't intended to be a project, remove any yarn.lock and/or package.json file there.
If /myProject is intended to be a project, it might be that you forgot to list packages/lib/node_modules/sharp in its workspace configuration.
Finally, if /myProject is fine and you intend packages/lib/node_modules/sharp to be treated as a completely separate project (not even a workspace), create an empty yarn.lock file in it.

$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] [--require #0]  ...

The error message from yarn is trying to help you - watch out for any extra or stray lockfiles - see https://github.com/yarnpkg/berry/issues/2212

Well, I thought the yarn message would help you.
If you look at the message in detail, it tells me to put a yarn.lock file in node_modules/sharp, which is not what I should do.
BTW, using version "sharp": "0.32.6" doesn't have this problem.

Please can you provide a complete, minimal repo with all the directories, package.json and lockfiles that allows someone else to reproduce.

I'm not sure how to make a minimal repo, but the issue occurs in my monorepo project Xilinota https://github.com/XilinJia/Xilinota.  If someone wants to look into it, the root dir has  yarn.lock and none of the packages have.  A simple package for someone to check that depends on sharp is packages/tools (currently set to use 0.32.6 though).

sharp: Detected globally-installed libvips v8.15.1
sharp: Attempting to build from source via node-gyp

You're building sharp from source against a globally-installed libvips. There are 3 packages within the monorepo that have a dependency on sharp. Running yarn attempts to build these in parallel.
When I run this locally I see 2 of these fail and 1 succeed, which points to a race condition within yarn and its node_modules linker.
If I change the hoisting limits configuration:
-nmHoistingLimits: workspaces
+nmHoistingLimits: dependencies

..then it installs correctly.

Thanks for the analysis.
In what ways can I keep the workspaces setting?  And what's different with 0.32.6?

@XilinJia Were you able to make progress with this?

Closing due to inactivity but please feel free to reopen with more details if further help is required.


Add setup.py file

Removes the need to append to sys.path, which is error-prone.
Instead, you can just type (in the base directory) pip install . to install the package into a local environment, then use it from any other Python module (located anywhere on your machine) with import osd.
Later, when you know which versions of the dependencies you require, you can add that information to this file.

thank you @akshayka!


Updating the documentation file for minor changes

changed wrong hive file extension from xml to hql and corrected a file name error

@riteshvaryani : Thanks for your contribution! The author, @omidm1, has been notified to review your proposed change.

#sign-off


Remove static pivot from NuGet autopkg.

This pivot seemed to be causing issues because the NuGet package thought it was actually dynamic.
Refs #107

Hmm - this is strange.
According to http://coapp.org/reference/autopackage-ref.html, static = static library; not sure what the default is but if it's dynamic, it'd try to link pugixml as DLL which it's not?
Can you clarify on what issue you're currently seeing if you keep static? The original NuGet package used static for VS2015 and it worked fine there.

I guess maybe it does not matter since the linker will correctly link in the static library regardless of what NuGet thinks, and since we only really have one option for this pivot it is probably reduntant.

Current coverage is 99.23% (diff: 100%)

Merging #109 into master will not change coverage

@@             master       #109   diff @@
==========================================
  Files             1          1
  Lines          5109       5109
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           5070       5070
  Misses           39         39
  Partials          0          0

Powered by Codecov. Last update b9d8f22...24ba24a

In the pugixml.targets file that is automatically generated it sets the linkage to dynamic, but then the conditions for linking were looking for it to be set to static. The documentation from CoApp.com is quite poor in this area :(

BTW, I put this generated package in my solution and it seemed to fix the issue!

I've uploaded pugixml 1.7.2 to nuget with this fix

@zeux Thank you for all of your assistance on this. It worked beautifully on VS 2013 Win32 - Release / Debug and x64 - Release / Debug.

Verified it works for VS2015 as well, so the Appveyor build is working well which is great. I'll keep the nuget-1.7 branch around for now in case I need to add any more VS versions/configurations. Thanks for the pull requests!

Absolutely!


Generalized camera_i2c

Hey 6by9, here's a generalized camera_i2c that supports RPi3 and Zero. I thought you might find it helpful, but I'm not sure exactly how you would want to integrate, as it requires your project:

https://github.com/6by9/rpi3-gpiovirtbuf

Thanks for the good work! -Juan

Thank you.
Simplest approach for rpi3-gpiovirtbuf is to pull a copy of the executable into this repo.
I haven't had time to fiddle with this much recently, and particularly not on a Pi3.
With Pi3 i2c0 is a big no-no, but as you have correctly set, i2c1 can be mapped to those same pins using alt2. The raspiraw app never switches to i2c1 though, so there's a little disjoin there. But anyway, this takes us one step closer to a generic solution.


PaddlePaddle IR support

https://github.com/lutzroeder/netron/pull/1400
Hello, this PR has been submitted about the display function of the new version of Paddle IR. Please review it and merge it if there is no problem. Thanks！

Duplicate #1404

Duplicate of #1407


mkindex.pl improvements

Improve index generation

Update Makefile to regenerate 'uni.md' if the 'bookindex.md' file has changed.  ( If there's a reason the Makefile is this way, let me know and I can undo this)

Improve 'mkindex.pl' to tTrack whether a code block with ``` has been seen, to avoid treating '# foo' comments within code blocks as sections to link to in indexes.  This fixes such bad index links as
"clone: Install GCC for x86_64,"

Improve 'mkindex.pl' to strip more characters that aren't legal in CSS Ids: those IDs should begin with a letter or an underscore, and should contain only letters, numbers, underscore or dash after the first char.  This fixes a few IDs that contains '?', '', '!'

Improve 'mkindex.pl' support for header sections with explicit section IDs:

If a header section includes an explicit section ID, link to that instead of generating one from the header text
Include an explicit section id, '{#everything-curl-index}', at the top of the bookindex.md file

Update 'bookindex.md' with regenerated index from above improvements to 'mkindex.pl'

Notes:

See https://stackoverflow.com/questions/448981/which-characters-are-valid-in-css-class-names-selectors for discussion of legal CSS class names
The support for explicit section IDs was motivated somewhat by work to generate working in-doc links for the PDF;  I think including the occasional explicit section ID might improve / work around errors in the HTML version of the index too, but I haven't investigated in any detail.

Can you please rebase and force-push this? I'm afraid it has a merge conflict now.

Can you please rebase and force-push this? I'm afraid it has a merge conflict now.

Fixed; let me know if you'd like other small tweaks to the PR

Thanks!


Incorrectly documented event types for phish/malware for Get-MailTrafficATPReport

Trying to pull data about zapped emails with Get-MailTrafficATPReport, but passing -EventType ZAP or -EventType "Phish ZAP" doesn't work and results in the following:
Get-MailTrafficATPReport -StartDate 06/01/2021 -EndDate 07/09/2021 -Direction Inbound,Outbound -EventType "ZAP"
Invalid input: ZAP [CustomInternalValidate, GetMailTrafficATPReport.cs:165]
    + CategoryInfo          : InvalidArgument: (:) [Get-MailTrafficATPReport], ValidationException

Checking the real time detections report in M365 Defender does show zapped emails for this time period. Running the following to get all the event types returns only a subset of what is documented:
Get-MailTrafficATPReport -Direction inbound,outbound -StartDate 06/01/2021 -EndDate 07/09/2021 | select EventType | sort-object -Property EventType -Unique

EventType
---------
Advanced filter
Anti-malware Engine
File detonation
File detonation reputation
General filter
Impersonation brand
Mailbox intelligence impersonation
Message passed
Spoof DMARC
Unknown
URL detonation
URL detonation reputation
URL malicious reputation

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

ID: ccd6fed8-6da5-310e-9773-fe2ad0b3146f
Version Independent ID: 02171fa8-5e5c-0ce9-36d0-c057961ba86f
Content: Get-MailTrafficATPReport (ExchangePowerShell)
Content Source: exchange/exchange-ps/exchange/Get-MailTrafficATPReport.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@NotAdam, I found a vast list of possible EventType values in code, and I script-o-matically threw them at the EventType parameter. I updated the topic with any value that didn't return an error.
This list is identical to the list of values that was already documented in  Get-MailDetailATPReport. Of course, my testing method can't find unknown values, so there might be some missing. And, I confirmed the value Unknown doesn't work.
I also took the opportunity to script-o-matically test the EventType parameter in the 15 other Get-*Report cmdlets and update the description with the accepted values.
Many of the older cmdlets do use a subset of the values found by Get-MailFilterListReport -SelectionTarget EventTypes . But,  newer cmdlets appear to be picking up their values from different sources (often, spaces in the value names).
Thanks for the feedback.
Closing


Code Samples Properly Initialize and Use API Object

Previously, code samples call API methods without an explicit receiver.
While such code is valid inside of the API class itself,
users cannot copy-paste it.
This commit makes code samples initialize a default instance
of the API object then call the methods through that object.

PTAL @garrettjonesgoogle

LGTM


[BEAM-1802] Call stop in SparkPipelineResult#waitUntilFinish

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @amitsela

@aviemzur the while behaviour of PipelineResult is up for refactor as it behaves weird now (in the SDK, not specifically the Spark runner).
So it is a good question if you should stop after timeout passed..  what if the user wants to wait 10 seconds or until done (whichever comes first) and then do his thing ? makes sense... so stopping is not the solution.
See BEAM-849

@amitsela Yeah that makes sense, the semantics are wait not stop, so I guess in these cases where the user wants to wait and stop they can simply call wait then call stop.
Closing this PR for now.

Coverage decreased (-0.01%) to 70.095% when pulling a3384206a04f327f8ca2098ac0ab078486633096 on aviemzur:finally-stop-spark-pipelines into 14aba812526af7981dfeb43b24cabae78301f128 on apache:master.


Can't set opus codec on iOS

react-native-audio-recorder-player 3.0.2
Look like invalid logic while setting avFormat https://github.com/hyochan/react-native-audio-recorder-player/blob/7d6e3bd6d11430ae04544cb5f0ed1e864d8f26d7/ios/RNAudioRecorderPlayer.swift#L183-L189

@Larpoux May you help out here? Since you know more about codec than me :pray:

I am not sure I can help.
The big problem that I know with Apple, is that it supports OPUS codec but it formats its data inside its own proprietary File Format CAF instead of the regular OGG format.
OPUS is really a great codec. Probably the best one, for me. But because of the Apple File format, I must convert CAF file format to OGG when recording, and OGG to CAF when playing.
This conversion is very fast and we do not loose anything because I just change the File Format without re-encoding the data with OPUS.
 This is Apple. They never want to do same as others do.

@Larpoux are you converting caf->ogg and vise versa on a device? What library are you using?

On Flutter I use Mobile FFmpeg.  I think this library is also available for React Native.
The problem is that this library is HUGE. It includes many useful libraries like LAME to encode MP3 and even LIBOPUS if you want to encode yourself the sound without using the intra OS capabilities.
Also be aware : I remember now that it was simple to convert OGG to CAF, but I had a problem to do the opposite : convert the CAF to OGG because Apple ommit to set a necessary field for OGG. (I do not remember which one).
So I had to re-encode the Apple CAF.
Apple is a terrible company for developers like us 😢

@farwayer  did you found a solution for this , I am also facing this problem

Hello everyone. I am just facing that same problem. It seems there is a lack of react native solutions for playing OGG in iOS. Has anyone solved it? @Larpoux or @abdullahrehan430 do you have some up-to-date information about this issue? Thank you guys in advance.

@valeriasilva  , I solved this by using two extra libraries .
first of all I convert the .opus to .pem using https://github.com/wix-incubator/react-native-opus-decode .
secondly play this converted files using https://www.npmjs.com/package/react-native-sound.


typo fix in debug-service.md for log level

use smaller case v for adjusting logging level

/lgtm
/approve


VMware python package not cleanly installable

The vmware python package is not cleanly installing and causing actions to fail
https://github.com/redhat-chaos/krkn/actions/runs/3198517493/jobs/5223134543

@janosdebugs I'm not sure, maybe something changed on their side. I see a lot of "fixes" using --user on the pip install line. Not sure if that's really a viable solution. Any thoughts?

Going to change the requirement to take latest tagged version rather then main  branch head.


run mnist_spark failed when increase num_ps to 2

I run mnist_spark successfully(failed when executor-memory is 2G, successed when executor-memory is 4G,  although the data is small), but when I increase the num_ps to 2, it got stucked.
Some of the worker print: "
tensorflow/core/distributed_runtime/master.cc:224] CreateSession still waiting for response from worker: /job:worker/replica:0/task:0".
And some worker print error message: "
A fatal error has been detected by the Java Runtime Environment:

SIGBUS (0x7) at pc=0x00007f4861bb7c26, pid=24018, tid=0x00007f48d1d3d740

JRE version:  (8.0_121-b13) (build )
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops)
Problematic frame:
j  java.lang.Object.()V+0"

@rockqgf Can you describe your environment?  (Note: I've created a git issue template, if you want to follow it).  I haven't seen this issue before, so it'd be useful to gather more information about your setup.

@leewyang ok, where is the template, could you please paste the link.

@rockqgf if you create a new issue you should see the template.  Feel free to close this one and just open a new issue with the template.


Replace all mentions of "targets" with "artifacts"

Description

We want to use "targets" only in three cases:

the top-level metadata role
custom target delegation or targets bin role(s)
when we mention "target files"

This is necessary as currently, we make mistakes in our code which results in messages to the user referring to "artifacts" as "targets" and the opposite. We even had some times where this happened in the same API call.
Signed-off-by: Martin Vrachev<EMAIL_ADDRESS>Additional requirements

[x] Tests have been added for the bug fix or new feature
[x] Docs have been added for the bug fix or new feature

Code of Conduct
By submitting this PR, you agree to follow our Code of Conduct.

[x] I agree to follow this project's Code of Conduct

Merging as breaking changes


feat: adding documentation describing how to configure Vault for mTLS

This is related to https://github.com/cert-manager/cert-manager/pull/6614

@wallrj , thanks for providing such detailed steps, I have merged it into the documentation, could you please have another look?


Microsoft Teams Rooms Licensing Link

The Microsoft Teams Rooms Licensing link (https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/blob/live/SfbOnline/skype-for-business-and-microsoft-teams-add-on-licensing/license-options-based-on-your-plan/skype-room-systems-v2.md) currently throws a 404.

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

ID: 05282aa8-ae14-117b-5885-7d851ee66b89
Version Independent ID: 85abe13c-d34c-f42c-e273-a69be8cd991e
Content: Deploy Microsoft Teams Rooms with Office 365
Content Source: Teams/room-systems/with-office-365.md
Product: skype-for-business-itpro
GitHub Login: @jambirk
Microsoft Alias: jambirk

Thanks for letting us know, we'll adjust the link today. That whole block of content was moved recently so most Room system links are relocated now.   @LanaChin please handle this correction


Slice and splice tool suggestion

Could you add a config setting to Change how much durability the tools in the slice n splice uses? I don't think anyone has worn down a set of axe and shears at the existing rate. Thanks.

Thank you for your suggestion. It has been added to our list or possible enhancement.
This ticket will be closed because we want the list of open tickets to reflect known issues.


Add an option to expand shortened URLs

See the service description: http://longurl.org
The feature will serve two purposes:

Know where the link will really lead you before you click it.
Speed up link access by asynchronously expanding URLs beforehand (should be configurable, when/whether/how to do this...)

I have an app installed called Unfurlr - when following a link I can choose this instead of a browser directly, and it will show me where the link goes so you can decide whether to follow the link or not. I'm sure there are other, similar apps.
So, I wonder if such already-existing functionality should be duplicated?

@marjoleink Your tool helps a lot, but for me it would be interesting to see expanded URL directly in a Timeline, without clicking a link.
I don't know if the result is worth the effort though...

It could be a lot of effort to maintain, as there are numerous shortening services, and not all give up data with a simple http 'HEAD' command (as they should). I'd suggest to leave this to the specialists. At least I don't see this as a core function for a microblogging client.
OTH, if you can "talk" to such an external tool and just use the result to replace a link in the message, that might be a good middle ground.

Why not just make an HTTP GET request, then close the connection before reading the body? Save bandwidth and get the actual, final URL

I think short URLs expanding ("unrolling") would be a killer feature. It will give users more info on links destination before even clicking on them.
That URL expansion feature could even lookup a target page title also...
@DanielHeath Thank you for the tip on implementation. You could even provide your solution as a reusable class to be integrated into AndStatus ;-)


Set postgres docker-compose port to 5432 (default)

I had trouble getting the postgres docker-compose to work. Turns out it was because the port was defaulting incorrectly (probably defaults to mysql 3306?).
Setting the port explicitly fixes the issue.

Hey, thanks! And sorry for this super late reaction. This whole discussion somehow wasn't under my radar at all.


socket.io connection through nginx

I set a nginx server to serve my static angular site and want to use sails to provide a rest api to deal with a mongo database. I set a prefix of /api to the sails server blueprints and set nginx proxy like this:
location /api/ {
                proxy_pass   http://localhost:1337;

                # the following is required for WebSockets
                proxy_redirect                off;
                proxy_set_header              Host             $host;
                proxy_set_header              Port             $server_port;
                proxy_set_header              X-Real-IP        $remote_addr;
                proxy_set_header              X-Forwarded-For  $proxy_add_x_forwarded_for;
                proxy_set_header              X-NginX-Proxy    true;
                proxy_pass_request_headers    on;
        }

the nginx server is set to http://localhost:10018 and in my client angular site i create a socket.io connection like this:
var socket = io.connect('http://localhost:10018', {
    path: '/api/socket.io'
});

The problem is that handshake is not performed and i'm getting a 404 response from the server with socket.io!!!! Is that a problem with the nginx? Or with my sails config?
PS.: I'm using sails 0.10, nginx 1.4.7 and socket.io 1.0.

just to complete @brunomacf nginx config, for socket to work in nginx, you need the config mentioned:
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

and also you need to add this to nginx.conf:
    ##
    # Virtual Host Configs
    ##
    map $http_upgrade $connection_upgrade {
        default upgrade;
        ''      close;
    }

Check https://www.nginx.com/blog/websocket-nginx/ for more info


How to customize group label?

As shown in the image, the list is grouped by country, how can I customize the group label so to make it larger then the selection items?
Plunker
I also posted a question on StackOverflow
Thanks in advance.

The answer in StackOverflow is correct. ui-select provides a css selector as .ui-select-choices-group-label.
The default font-size in the Plunker is font-size: 12px;
So,
.ui-select-choices-group-label {
  font-size: 20px;
}

would increase the size of the group label.

Thank you @arahansen

You can also modify _THEME_/choices.tpl.html
Closing as answered.


Add Hereford Sixth Form College

School Website: https://www.hereford.ac.uk/

@Stratonian First stage of verification passed, official domain is hereford.ac.uk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Stratonian Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Template-Level Subscriptions

From what I've read, the new recommendation is to create subscriptions in the Template.onCreated() callbacks using the "this.subscribe()" function. Right now it would appear that using "new MysqlSubscription()" is the only way to subscribe to MySQL publications. Is there any way to get this to work using the standard "this.subscribe()" function inside Template.onCreated()?
Relevant Meteor docs here: http://docs.meteor.com/#/full/Blaze-TemplateInstance-subscribe
Thanks

That is correct, you must subscribe using the constructor new MysqlSubscription. Since this is not using this.subscribe(), you must stop the subscription manually in the Template.onDestroyed().

what if the template is not destroyed? instead, the arguments it takes is changed by some reactive sources like sessions.
I'm facing with a "tracker exception error subscrption failed" error when im trying to make MysqlSubscription in Template.onCreated autorun passing a param from FlowRouter.getQueryParam(which is reactive).

I have the same problem using change() function. Sobetimes it work's and sobetimes I get the "Subscription failed" error.

@danielgrabowski Can you post a link to a repo containing the minimum code necessary to reproduce the issue?

As a response to @blitzlightnin - This is what I did for Template-Level Subscriptions:
Template.logEntries.created = function() {
  this.computation = Tracker.autorun(() => {
    if (this.logEntries) {
      this.logEntries.stop();
      this.logEntries = null;
    }
    var from = Session.get("logentries.from");
    var till = Session.get("logentries.till");
    this.logEntries = new MysqlSubscription('logEntries', {from: from, till: till});
  });
};

Template.logEntries.destroyed = function() {
  this.computation.stop();
  this.users.stop();
};

Template.logEntries.helpers({
  logEntries: function () {
    Session.get("logentries.from");
    Session.get("logentries.till");
    return Template.instance().logEntries.reactive();
  }
});


Make GSA-Database a submodule of GSAMain

Description

[ ] Rename the GSA-Database "gresq" package to: "gresq2"
[ ] Add the submodule: will include new and old schema.
[ ] Switch the old schema installed with GSA-Database
[ ] Remove GSAMain's src/gresq/database package

References
https://github.blog/2016-02-01-working-with-submodules/
https://git-scm.com/book/en/v2/Git-Tools-Submodules

Workflow for moving from old schema to new schema in GSAMain:

[ ] Add GSA_Database as a submodule to GSAMain
[ ] Create 2 packages inside src {for example, called gresq-old and gresq-new}
[ ] Use gresq-old for the Query and the Submit tool from GSA-Database instead of the local version of the schema
[ ] Shift from gresq-old to gresq-new in the Query tool
[ ] Shift from gresq-old to gresq-new in the Submit tool


Build out Penumbra UI theme

This PR extracts part of https://github.com/penumbra-zone/web/pull/1464, so that it can be reviewed in smaller chunks.
In this PR

Tweak the Storybook theme
Build out a theme object, and provide it via ThemeProvider, based on Sam's Figma specs. Penumbra UI components will consume this implicitly by using styled-components: when defining CSS-in-JS styles, they can consume the theme like this:

const Div = styled.div`
  color: ${props => props.theme.color.text.primary};
`

I'm a little afraid of all the fonts loading only after JS is loaded but I we can always tweak the performance later if there are any issues

hmm are the fonts usually relatively heavy enough to impact performance?

hmm are the fonts usually relatively heavy enough to impact performance?

The fonts dir in this PR is 206KB. This might be more than the sum of all JS packages we're installing


Update README.md

Added security issues comment.

holding for a moment.

reopening after verification

holding again

Why wouldn't security issues be reported as issues to this github repo?

Initial intention is to comply with Intel SDL process. we can reword it as below.
Security issues
Please report any security issues with this code to https://github.com/AVnu/libavtp/issues


BUG - open it in VSCode button in BAS

Related Feature
Feature request: that issue got somehow in with #1597
Description
If you create a 2nd controller extension then you get a popup telling you that you should enhance the existing controller extension. This popup also contains a button suggesting to open it in VSCode.
This is great except when you run it in SAP Business Application Studio.
Steps to Reproduce
Steps to reproduce the behavior:

Go to BAS
Create a Basic dev space
Import an existing ADP that uses the new tooling
Start the editor
Create two controller extensions
You see the button

Expected results
You don't see a "Open in VSCode" button if you run in BAS
Actual results
You always see the button
Screenshots
If applicable, add screenshots to help explain the problem.
Version/Components/Environment
Add any other context about the problem here
OS:

[ ] Mac OS
[ ] Windows
[x] Other

Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}

@nikmace could you please have a look at this one? It seems to have been introduced with a PR from you. The information whether we run in BAS or not can be retrieved in the middleware and should then somehow be given to the client to be aware of it.
For now, I am ok with just not showing the button in BAS but if you have a good idea to show a button that would navigate back to BAS, please, give it shot.


I  am getting error when I clicked on run checks button while troubleshooting the update agent on update management for VM

[Enter feedback here]

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

ID: c9e7b53a-a644-3ada-8363-ae4edc62f503
Version Independent ID: a5567355-2edb-d722-3a08-2217d33d9510
Content: Troubleshoot Windows update agent issues in Azure Automation
Content Source: articles/automation/troubleshoot/update-agent-issues.md
Service: automation
Sub-service: update-management
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

I am getting error when I clicked on run checks button while troubleshooting the update agent on update management for VM,
i trying to check the reason for not configured, but it failed to run the checks itself, but i am able to run the script to to verify the checks  in the VM, every thing coming as passed, not sure what is the issue for not configuring the update agent properly, please help me on this

@tjkumar Thank you for reaching out.  Please note that this channel (the Azure Docs repository) is only for driving improvements related to the Azure documentation.
Apologies for your experience , can you please share your account information to further help you troubleshoot this.  Please send an email to<EMAIL_ADDRESS>with your Subscription and azure automation details and a link to this thread so we can verify and direct the request accordingly .  We'll continue to investigate this with you directly and will update the thread and documentation with any findings that may help others. Thank you


"can't parse container" https://spoggy-test9.solidcommunity.net/workspaces/

Hi all,
playing with a pod and trying to createFile with @jeff-zucker https://github.com/jeff-zucker/solid-file-client i've lost access to
https://spoggy-test9.solidcommunity.net/workspaces/ folder .
I got a 500 Internal server error with a message 'Can't parse container'
I made a
await fc.createFile(url, JSON.stringify(this.post.data), 'application/json' )

but the url was not the url of a file but the url of the container so I think the json data has overridden /miscreated the /workspaces folder instead of creating a file within
I've tryed to delete /workspaces myself but i can't, can some admin delete https://spoggy-test9.solidcommunity.net/workspaces/ folder ?
Thxs

@scenaristeur You may have been able to delete https://spoggy-test9.solidcommunity.net/workspaces/.meta
I just renamed .meta to .meta.txt the content is json not a valid RDF (turtle)
So Your problem do not seem to be

await fc.createFile(url, JSON.stringify(this.post.data), 'application/json' )

but the following issue https://github.com/solid/node-solid-server/issues/1548 still open in NSS 5.6.1

@scenaristeur You may have been able to delete https://spoggy-test9.solidcommunity.net/workspaces/.meta
I just renamed .meta to .meta.txt the content is json not a valid RDF (turtle)
So Your problem do not seem to be

await fc.createFile(url, JSON.stringify(this.post.data), 'application/json' )

but the following issue https://github.com/solid/node-solid-server/issues/1548 still open in NSS 5.6.1

There should be an issue also in solid-file-client that did not check that the url end's with /
Well strange that the file created was .meta. This was the way POST ended to create a folder. It is finished in NSS 5.6.1 where the folder is directly created not going to .meta file.
Can you report the issue in solid-file-client.

There should be an issue also in solid-file-client that did not check that the url end's with /
Well strange that the file created was .meta. This was the way POST ended to create a folder. It is finished in NSS 5.6.1 where the folder is directly created not going to .meta file.
Can you report the issue in solid-file-client.

Well strange that the file created was .meta. This was the way POST ended to create a folde

perhaps I've tried with postFile too

Well strange that the file created was .meta. This was the way POST ended to create a folde

perhaps I've tried with postFile too

I have added the check to disallow  creation of '/foo/ ' if '/foo' exists and vice versa in next release of solid-rest. That should solve it in solid-file-client.

I have added the check to disallow  creation of '/foo/ ' if '/foo' exists and vice versa in next release of solid-rest. That should solve it in solid-file-client.

Nice @jeff-zucker but solid-file-client is not using solid-rest.

in NSS .meta is parsed to build the container triples. This implies the body is valid turtle. The check is not done actually
in SFC createFile() should fail if the URL is a folder. But the point is may be a bit different. I shall check

Nice @jeff-zucker but solid-file-client is not using solid-rest.

in NSS .meta is parsed to build the container triples. This implies the body is valid turtle. The check is not done actually
in SFC createFile() should fail if the URL is a folder. But the point is may be a bit different. I shall check

but solid-file-client is not using solid-rest.

Yes, it can use solid-rest for file:// requests.  For https:// requests, the server should return an error which takes no more resources than it would for the client to check if an error will occur, so I do not see a reason to have solid-file-client check for it in advance.  Perhaps I'm missing something.

but solid-file-client is not using solid-rest.

Yes, it can use solid-rest for file:// requests.  For https:// requests, the server should return an error which takes no more resources than it would for the client to check if an error will occur, so I do not see a reason to have solid-file-client check for it in advance.  Perhaps I'm missing something.

thxs , for me its ok, can we close this issue ?


Update v2alpha1 APIRule rule path validation

Description
Changes proposed in this pull request:

Update v2alpha1 APIRule rule path validation to allow wildcard (*) only if no other characters exist. This behaviour is documented already and also described in the ADR.
Update integration tests to use * instead of /* or /.*

Pre-Merge Checklist

[ ] As a PR reviewer, verify code coverage and evaluate if it is acceptable.

Related issues

Closing since it was only used for running integration tests


Node gets unselected immediately after selecting.

Describe the Bug
I have two components, Parent(Parent.tsx) and Child(Child.tsx). The Child component actually has the ReactFlow component:
export const Child = () => {
return (
    <div style={{ height: "700px", display: "flex" }}>
      <ReactFlow
        nodes={nodes}
        edges={edges}
        onNodesChange={onNodesChange}
        onEdgesChange={onEdgesChange}
        fitView
        nodeTypes={nodeTypes}
      >
        <Controls />
        <MiniMap />
        <Background variant={BackgroundVariant.Dots} gap={12} size={1} />
      </ReactFlow>
    </div>
  );
}

The Parent contains the Child but also needs to be aware of what node is selected in the Child:
export const Parent = () => {
const [selected, setSelected] = useState<string | null>(null);
  useOnSelectionChange({
    onChange: ({ nodes, edges }) => {
      const id = nodes
        .filter((node) => node.selected)
        .map((node) => node.id)[0];
setSelected(id)
    },
  });
return <Child/>
}

In App.tsx, parent is wrapped like this:
        <ReactFlowProvider>
          <Parent />
        </ReactFlowProvider>

When I selected a node, the node becomes selected and immediately unselected according to my logs. I know that this is because caused calling setSelected(id). When I remove that call, the node just stays selected after I click it. I don't see why this shouldn't work as it's not so different from the example here where selected nodes are kept track of: https://reactflow.dev/api-reference/hooks/use-on-selection-change. The parent component needs to know which node is selected in the child component.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

Create two components, a child and a parent
Put the react flow component in the child
Return the child component in the parent
Wrap the parent with ReactFlowProvider
Create some state in the parent `const [selected, setSelected] = useState<string | null>(null);
Use useOnSelectionChange to call setSelected(id) when a node is selected
Observe that the node gets selected and then immediately unselected

Expected behavior
I expected the node to get selected and to be able to track the id of which node is selected using useState but instead the node gets unselected when I call the state setter setSelected
Screenshots or Videos
No response
Platform

OS: macOS
Browser: Chrome
Version: 11.11.3

Additional context
No response

Could you create a codensadbox for this?
https://new.reactflow.dev

I think there's a mix of confusion with this one but revealed what I think is an issue with this hook: the arrays already contain the selected elements so there's no need of checking the selected flag. but at the same time, all of them come back as selected: false, which happened to trigger another issue on my end. looks like the event is emitted before the state of the node/edge is changed.

There is no need to collect selected nodes/ edges on your side. You can iterate over nodes / edges and get all items that are selected. If have no state management set up, you can grab the nodes from the React Flow store like:
const selectedNodes = useStore(s => s.nodes.filter(n => n.selected))

Does this help @kevincrabbe ?


[TableBody] Fix row selection re-render bug

Non-selection related table re-rendering previously caused the user's
selection to be lost because the state was being reset unnecessarily.
I took the opportunity to remove the prescient TODO comment that did
correctly predict that this might be a problem.

[ ] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

That sounds good to me. Also, it would be good to have a unit test for that issue. Thanks

Hi @oliviertassinari, I've created a test but it doesn't actually work at present: clicking the first checkbox has no effect, whereas clicking the check-all checkbox works fine.
Is there any chance this is because the test is synchronous but relies on asynchronous behaviour, or something like that?

Is there any chance this is because the test is synchronous but relies on asynchronous behaviour, or something like that?

I'm not sure what's your issue it. I would rather add more tests to the MultiSelectTable.spec.js file rather than creating a new one.

Hi @oliviertassinari,
The MultiSelectTable component doesn't re-render as a result of selection changes, so wouldn't replicate the bug in its present form. It could potentially be changed though, as I did in SelectionObservingTable?
However, that doesn't help the fact the test environment did not appear to be working as expected -- the checkboxes would not actually check as expected?

The MultiSelectTable component doesn't re-render as a result of selection changes

That could be artificialy simulated with the update API of enzyme.

However, that doesn't help the fact the test environment did not appear to be working as expected

That's most likely linked to how the test is writen.

Did this issue be fixed in 0.16.7?
Regards to https://github.com/callemall/material-ui/issues/1345
I have selected problem in latest 0.16.7. still,  thanks

Hi @dennischen, yes I can confirm it's in 0.16.7 -- I'm no longer reliant on my own fork of the code since that release came out. Maybe you're seeing a different bug?

I try to build a simple single selectable list  (without checkbox)
here is the code snippet(typescript)
export class Monitors extends WorkspaceComponent<MonitorsProps, MonitorsState> {

    onRowSelection = (selectedRows: number[] | string) => {
        if (selectedRows.length > 0 && 'string' !== typeof selectedRows) {
            let monitors = demoMonitors;

            this.props.onShowInfoRequest(monitors[selectedRows[0]].uuid);
        } else {
            this.props.onCloseInfoRequest();
        }
    }

    render() {
        let infoVisible = this.props.infoVisible;
        let monitors = demoMonitors;

        return

            <TableHeader displaySelectAll={false} adjustForCheckbox={false} >
                <TableRow>
                    <TableHeaderColumn>Name</TableHeaderColumn>
                    <TableHeaderColumn ></TableHeaderColumn>
                </TableRow>
            </TableHeader>
            <TableBody displayRowCheckbox={false} deselectOnClickaway={false} showRowHover={true}>
                {monitors.map((monitor: MonitorBean) => {
                    return <TableRow selected={this.props.monitorId === monitor.uuid} key={monitor.uuid}>
                        <TableRowColumn>{monitor.name}/{this.props.monitorId === monitor.uuid ? 'true' : 'false'}/ </TableRowColumn>
                        <UnSelectableTabelRowColumn style={colEnableStyle}>{infoVisible ?  : <Toggle toggled={monitor.enabled} />}</UnSelectableTabelRowColumn>
                    </TableRow>
                })}
            </TableBody>

    }
}

the problem is when selected changes to false , the table still kept the selection. (I printed the condition in monitor name column to compare)
it is very like issue #1345

it is very like issue #1345

Ah, I see! The fix I submitted was for a problem I was seeing. I wondered if it was maybe related to #1345 because that issue came up when I was searching for solutions to my problem, and it sounded similar. Sounds like I was wrong though 😊 .
Sorry for the confusion!

I am using the Table component of react "Material-UI v1.0.0-beta.10". In the demo, select all checkbox is working fine, But when I tried to implement it's not working. And I tried to use "multiSelectable" and "selectable" from previous version, after that too it's not working. Can you please help me fix this issue?
Below is the code:
import React from 'react';
import classNames from 'classnames';
import PropTypes from 'prop-types';
import { withStyles } from 'material-ui/styles';
import keycode from 'keycode';
import Table, {
TableBody,
TableCell,
TableHead,
TableRow
} from 'material-ui/Table';
import Toolbar from 'material-ui/Toolbar';
import Typography from 'material-ui/Typography';
import Paper from 'material-ui/Paper';
import Checkbox from 'material-ui/Checkbox';
import IconButton from 'material-ui/IconButton';
import DeleteIcon from 'material-ui-icons/Delete';
import FilterListIcon from 'material-ui-icons/FilterList';
const columnData = [
{ id: 'type', numeric: false, disablePadding: true, label: 'Type' },
{ id: 'name', numeric: true, disablePadding: false, label: 'Value' },
{ id: 'DataID', numeric: true, disablePadding: false, label: 'ID' }
];
class EnhancedTableHead extends React.Component {
constructor(props) {
super(props);
}
render() {
    const { onSelectAllClick, order, orderBy, numSelected } = this.props;

    return (
        <TableHead>
            <TableRow>
                <TableCell checkbox>
                    <Checkbox
                        indeterminate={numSelected > 0 && numSelected < 5}
                        checked={numSelected === 5}
                        onChange={onSelectAllClick}
                    />
                </TableCell>
                {columnData.map(column => {
                    return (
                        <TableCell
                            key={column.id}
                            numeric={column.numeric}
                            disablePadding={column.disablePadding}
                        >
                            {column.label}
                        </TableCell>
                    );
                }, this)}
            </TableRow>
        </TableHead>
    );
}

}
EnhancedTableHead.propTypes = {
numSelected: PropTypes.number.isRequired,
onSelectAllClick: PropTypes.func.isRequired,
order: PropTypes.string.isRequired,
orderBy: PropTypes.string.isRequired
}
const toolbarStyles = theme => ({
root: {
paddingRight: 2,
},
highlight:
theme.palette.type === 'light'
? {
color: theme.palette.secondary.A700,
backgroundColor: theme.palette.secondary.A100,
}
: {
color: theme.palette.secondary.A100,
backgroundColor: theme.palette.secondary.A700,
},
spacer: {
flex: '1 1 100%',
},
actions: {
color: theme.palette.text.secondary,
},
title: {
flex: '0 0 auto',
},
});
class EnhancedTableToolbar extends React.Component {
constructor(props) {
super(props);
}
render() {
    const { numSelected, classes } = this.props;
    return(
        <Toolbar
            className={classNames(classes.root, {
                [classes.highlight]: numSelected > 0,
            })}
        >

                {numSelected > 0 ? (
                    <Typography type="subheading">{numSelected} selected</Typography>
                ) : (
                <Typography type="title">Nutrition</Typography>
                )}

                {numSelected > 0 ? (
                    <IconButton aria-label="Delete">
                        <DeleteIcon />
                        </IconButton>
                ) : (
                <IconButton aria-label="Filter list">
                    <FilterListIcon />
                    </IconButton>
                )}

        </Toolbar>
    )
}

};
EnhancedTableToolbar = withStyles(toolbarStyles)(EnhancedTableToolbar);
const styles = theme => ({
paper: {
width: '100%',
marginTop: theme.spacing.unit * 3,
overflowX: 'auto',
},
});
class EnhancedTable extends React.Component {
constructor(props) {
super(props);
this.state = {
order: 'asc',
orderBy: 'calories',
selected: [],
selectable: true,
multiSelectable: false,
showCheckboxes: true,
enableSelectAll: false,
data: [
{
type: 'ActivityID',
id: 1,
name: 'Rating',
DataID: 1,
},
{
type: 'Content SourceID',
id: 2,
name: 'EPG',
DataID: 1,
},
{
type: 'ChannelID',
id: 3,
name: 'Web',
DataID: 1,
},
{
type: 'ModeID',
id: 4,
name: 'Customer',
DataID: 1,
},
{
type: 'RecTypeID',
id: 5,
name: 'Preference',
DataID: 1,
}
],
};
this.handleRequestSort = this.handleRequestSort.bind(this);
this.handleSelectAllClick = this.handleSelectAllClick.bind(this);
this.handleKeyDown = this.handleKeyDown.bind(this);
this.handleClick = this.handleClick.bind(this);
this.isSelected = this.isSelected.bind(this);
this.handleRowSelection = this.handleRowSelection.bind(this);
}
handleRowSelection (selectedRows) {
    console.log(selectedRows);
    this.setState({
        selected: selectedRows
    });
}

handleRequestSort(event, property) {
    const orderBy = property;
    let order = 'desc';

    if (this.state.orderBy === property && this.state.order === 'desc') {
        order = 'asc';
    }

    const data = this.state.data.sort(
            (a, b) => (order === 'desc' ? b[orderBy] > a[orderBy] : a[orderBy] > b[orderBy]),
        );

    this.setState({ data, order, orderBy });
}

handleSelectAllClick(event, checked) {
    if (checked) {
        // this.setState({ selected: this.state.data.map(n => n.id) });
        // return;
        this.setState({isSelected: true});
    }
    this.setState({ selected: [] });
}

handleKeyDown(event, id) {
    if (keycode(event) === 'space') {
        this.handleClick(event, id);
    }
}

handleClick(event, id) {
    const { selected } = this.state;
    const selectedIndex = selected.indexOf(id);
    let newSelected = [];

    if (selectedIndex === -1) {
        newSelected = newSelected.concat(selected, id);
    } else if (selectedIndex === 0) {
        newSelected = newSelected.concat(selected.slice(1));
    } else if (selectedIndex === selected.length - 1) {
        newSelected = newSelected.concat(selected.slice(0, -1));
    } else if (selectedIndex > 0) {
        newSelected = newSelected.concat(
            selected.slice(0, selectedIndex),
            selected.slice(selectedIndex + 1),
        );
    }

    this.setState({ selected: newSelected });
}

isSelected(id) {
    this.state.selected.indexOf(id) !== -1;
}

render() {
    const classes = this.props.classes;
    const { data, order, orderBy, selected, selectable, multiSelectable, showCheckboxes, enableSelectAll } = this.state;

    return (
        <Paper className={classes.paper}>
            <EnhancedTableToolbar numSelected={selected.length} />

                <EnhancedTableHead
                    numSelected={selected.length}
                    order={order}
                    orderBy={orderBy}
                    onSelectAllClick={this.handleSelectAllClick}
                    onRequestSort={this.handleRequestSort}
                    displaySelectAll={showCheckboxes}
                    adjustForCheckbox={showCheckboxes}
                    enableSelectAll={enableSelectAll}
                />
                <TableBody multiSelectable={multiSelectable}
    selectable={selectable}
        >
                    {data.map(n => {
                        const isSelected = this.isSelected(n.id);
                        return (
                            <TableRow
                                hover
                                onClick={event => this.handleClick(event, n.id)}
                                onKeyDown={event => this.handleKeyDown(event, n.id)}
                                role="checkbox"
                                aria-checked={isSelected}
                                tabIndex={-1}
                                key={n.id}
                                selected={isSelected}
                            >
                                <TableCell checkbox>
                                    <Checkbox checked={isSelected} />
                                </TableCell>
                                <TableCell disablePadding>{n.type}</TableCell>
                                <TableCell numeric>{n.name}</TableCell>
                                <TableCell numeric>{n.DataID}</TableCell>
                            </TableRow>
                        );
                    })}
                </TableBody>

        </Paper>
    );
}

}
EnhancedTable.propTypes = {
classes: PropTypes.object.isRequired,
};
export default withStyles(styles)(EnhancedTable);


Retry file status (ls) operations, which can fail with FileNotFound due to eventual consistency in S3

Fixes issue #309.

 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 2 committers have signed the CLA.:x: MarkRoddy:x: Doug DanielsDoug Daniels seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


try to make it even more paralellelellelel

doesn't seem to make a significant difference, gonna drop it


Plain text database password

Description:
https://github.com/operate-first/curator/blob/01503fcc88d578fb0b9da7a9f00d1e332bd0de38/Documentation/config/config.env#L8
The database password is passed as plain text. Considering using Secret?

We are already passing all environment variables to the config map generator and that all are converted into secrets.
Once we have the database table we will make sure over there to keep the type.


Restore from cache on startup

Motion should keep a cache of all compiled files on file system, and then compare the md5 of the files against their cached versions.
This will give us lighting fast boot times

Found this which uses a nifty library to cache:
https://github.com/runvnc/babel-changed

Done in master using a simple homecooked solution


perf(api): Optimize HTTPStatus handling

Modify the _compose_status_response() function to no longer use getattr to get
the body for HTTPStatus. This will make the code more readable and more
performant.
As part of this work, rework _compose_error_response() to no longer call
_compose_status_response(), saving a few CPU cycles in that path as well. If
we ever end up needing to duplicate this code a third time, consider factoring
out into a separate helper function at that point.

:+1:


Android: Log basic initialization performance numbers.

Summary
I need to measure React Native initialization performance on Android. On iOS, I simply pulled numbers from RCTPerformanceLogger when needed. The Android equivalent is missing.
Changelog
[Android] [Added] - Basic initialization performance logging.
Test Plan
Tests were added.

Do we need this as part of RN core? I've found creating a custom ReactMarker.MarkerListener implementation sufficient, and I can save all events, times, thread ids etc to JSON to disk and analyze with Chrome tracing as explained in http://blog.nparashuram.com/2018/11/react-native-performance-playbook-part-i.html
If you want to go ahead with what's on iOS, one difference there is RCTBridge owns RCTPerformanceLogger, so the events are focused. On Android if you have multiple ReactInstanceManagers your events will be all over the place as all ReactPerformanceLoggers would be receiving events for ReactInstanceManager they don't care about. That's where String tag, int instanceKey could be handy.

I do believe we need it in core. For context, we have high-value components that get integrated into numerous purely native apps. Some of the apps initialize React Native on app startup, when the app is idle, and some on demand. We don't want to make intrusive changes to all of these apps (we're talking ~20 apps we would have to update), I think it makes sense for React Native to log like it is done on iOS.
I'm not entirely sure about your comment about instanceKey. Can you please elaborate? When I look at the code, it seems to always pass 0 unless the marker comes from a native module.
  @DoNotStrip
  public static void logMarker(ReactMarkerConstants name) {
    logMarker(name, null, 0);
  }

We don't want to make intrusive changes to all of these apps

Won't you have to call something like reactNativeHost.getReactPerformanceLogger().getDuration() in all those apps? Is that ok?
For markers, it uses instanceKey/tag for only some of them. For example in your code you use RUN_JS_BUNDLE_END to detect script execution end, but that marker is tagged with script name: https://github.com/facebook/react-native/blob/1151c096dab17e5d9a6ac05b61aacecd4305f3db/ReactAndroid/src/main/jni/react/jni/JReactMarker.cpp#L38-L39
https://github.com/facebook/react-native/blob/664646055a3eee2a6ad031294eac4b2ec18a2cf4/ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp#L132
Maybe it does not matter if you have a single bundle and don't need to match pairs, not sure. I'll leave it up to you and maintainers. This code does not break custom ReactMarker listeners so I don't mind it.

IMHO, we dont need this in core, especially since this can be extracted in the app itself.

@axe-fb The reason I think it makes sense to have it in core is because every app will have to implement this by themselves, and all will do it a bit differently. I think it's especially valueable if you own a component that is integrated in many hybrid apps without any guarantees for how or when React Native initializes. This means you can grab the numbers yourself without asking the apps themselves to make any intrusive changes. We've had issues with this in the past in that people have been complaining about perf issues, and increases in ANR. Without these numbers, we're basically flying blind and can't help them address issues.
That said, I'm open to suggestions on any improvements or alternative solutions you might have.

I think that this can be a library ? I still don't understand how existing apps could use this data - could you please explain that ?

@tido64 Thank you for working on this PR!
I agree with @axe-fb that in this case it would be better to not include this PR into the core of RN.
React Native already exposes all the required APIs to measure performance in RN Android and our objective is to keep the Core of the framework as small as possible, exposing clear APIs that should be used or extended by ReactNative apps.
In this case recommend you to create a library that allow you to reuse this code across multiple React Native Android apps.


Refactor/diamond test naming

This PR refactors DiamondTestSetup so that all variables started with a lower case letter. The original DiamondTestSetup has variables which start with an upper case letter so it is not clear whether it is an interface or a variable.

+1 for this PR. I was also confused before as it looked as interface was called directly, eg. ILoupe.facetFunctionSelectors()


Feat/sbb timetable row presentation

Preflight Checklist

[x] I have read the Contributing Guidelines for this project.
[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the pull request tracker for a Pull Request (PR) that matches the one I want to submit, without success.

Issue
This PR Closes #
Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[ ] Build (yarn build) was run locally and any changes were pushed
[ ] Lint (yarn lint) has passed locally and any fixes were made for failures

Changes
Changes in this pull request:

Browsers
I tested the build on the following browsers:

[ ] Firefox Desktop
[ ] Chrome Desktop
[ ] Edge Desktop
[ ] Safari Desktop
[ ] Chrome Mobile
[ ] Safari Mobile

Screen readers
I tested the build on the following browsers:

[ ] JAWS Firefox Desktop
[ ] JAWS Chrome Desktop
[ ] NVDA Firefox Desktop
[ ] NVDA Chrome Desktop
[ ] VoiceOver Safari Desktop
[ ] VoiceOver Chrome Desktop
[ ] VoiceOver Safari Mobile
[ ] Android Accessibility Suite Chrome Mobile

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

Codecov Report

Merging #1331 (1e36327) into master (ab917b0) will decrease coverage by 0.48%.
The diff coverage is 65.66%.

@@            Coverage Diff             @@
##           master    #1331      +/-   ##
==========================================
- Coverage   54.85%   54.36%   -0.49%
==========================================
  Files          49       52       +3
  Lines        1659     1799     +140
  Branches      406      476      +70
==========================================
+ Hits          910      978      +68
- Misses        671      746      +75
+ Partials       78       75       -3

Impacted Files
Coverage Δ

src/components/sbb-card-badge/sbb-card-badge.tsx
88.88% <ø> (ø)

...c/components/sbb-card-product/sbb-card-product.tsx
64.19% <ø> (ø)

src/components/sbb-footer/sbb-footer.tsx
87.50% <ø> (ø)

src/components/sbb-link-list/sbb-link-list.tsx
88.23% <ø> (ø)

src/components/sbb-pearl-chain/sbb-pearl-chain.tsx
0.00% <0.00%> (-71.43%)
:arrow_down:

...n-details/sbb-timetable-transportation-details.tsx
0.00% <ø> (-63.64%)
:arrow_down:

...-timetable-row-button/sbb-timetable-row-button.tsx
41.17% <33.33%> (-24.21%)
:arrow_down:

...components/sbb-timetable-row/sbb-timetable-row.tsx
61.01% <58.18%> (-31.30%)
:arrow_down:

...c/components/sbb-toggle-check/sbb-toggle-check.tsx
66.66% <66.66%> (ø)

src/components/sbb-title/sbb-title.tsx
88.88% <84.61%> (+2.22%)
:arrow_up:

... and 7 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


vimrc

Is there a way to add custom mappings as you would in a .vimrc?
Thanks!

I'm not sure - this simple plugin is based on the Vim Mode options from CodeMirror:
https://codemirror.net/doc/manual.html#vimapi
and
https://codemirror.net/demo/vim.html
I vaguely remember seeing a way to customize settings but I don't recall directly.


Full screen on start

How can we make the video go fullscreen when the video starts playing?

Use something like screenfull and then just do:
<ReactPlayer
  url={url}
  onPlay={() => screenfull.request()}
/>

https://jsfiddle.net/t7fgpyx5/


[FEATURE] VSCode Terminal Setting - Integrated Font Family (settings.json)

Is your feature request related to a problem? Please describe.
In the current VS Code Version 1.63.2 a "bug" can occur which causes an widely spaced font setting in the Terminal window.
See: https://github.com/microsoft/vscode/issues/120004
On a fresh installation of VSCode the Terminal (Windows 10, Powershell 7) looks like this (spaced out letters):

Describe the solution you'd like
In ".vscode/settings.json"  the entry "terminal.integrated.fontFamily": "Consolas", could be added which resolves to a proper spacing:

Describe alternatives you've considered
The "letterSpacing" property mentioned in "https://github.com/microsoft/vscode/issues/120004" did not work in my case.

Removed the font setting altogether so it will just use what's on the platform.


Negative Impact Assessment Values

Hi! I downloaded the latest version of USLCI for OpenLCA as well as TRACI and I am getting negative impact assessment values. Any ideas on how to fix this?
Thanks!

@cagaua1977
USER GETTING NEGATIVE FLOWS:
This issue (having to do with allocation factors in petroleum refining) was resolved with the corrections released as of the USLCI 2020 (Summer Quarter) version. If you use the latest version of USLCI from the Federal LCA Commons, you will also need methods adapted to the Federal Elementary Flow List (FEDEFL), to which the USLCI converted in 2019. The FEDEFL and the FEDEFL-adapted methods are available on the Federal LCA Commons for download and import, e.g., into your openLCA desktop application. Please see the USLCI GitHub Support Content ([https://github.com/uslci-admin/uslci-content/wiki]) and/or the NREL USLCI Quick Help YouTube video series ([https://www.youtube.com/playlist?list=PLmIn8Hncs7bFUOyXZNGXwG4LtdoTfLz6Q]) for details on USLCI Database versioning because if you do not correctly import the new USLCI version, you will not overwrite these old errors; also, these videos have tips on: using FEDEFL-adapted methods and running calculations on USLCI in openLCA.
If you are using the Nexus-paid-for version of USLCI, you can manually implement relevant corrections from the USLCI Change Log into the Nexus paid-for verison until the updates become available from GreenDelta: [https://github.com/uslci-admin/uslci-content/blob/dev/docs/release_info/change-log.md])

I downloaded the latest JSOn files for the database together with the no flows traci file and I keep having those negative results

Hi! I downloaded the latest version of USLCI for OpenLCA as well as TRACI and I am getting negative impact assessment values. Any ideas on how to fix this? Thanks!

Was this solved for you?

Hi @Jdvillegas1 apologies for not responding to this sooner! There could be a couple of solutions to this issue - the first is to ensure that you are importing USLCI into your OpenLCA database before importing the no flows version of TRACI. The second is to make sure that an allocation method is chosen when calculating results (see attached screenshot), if the allocation method is set to "None" then results are often negative. Please let me know if these solution don't solve the issue.