Allow autocomplete suggestions while filling out code snippet placeholders

Issue Type: Feature Request
When filling out code snippet placeholders (e.g. ${arg}), autocomplete suggestions do not work. If I'm inserting an if snippet in Python for example, I do not get autocomplete suggestions as I type variable names.
Lets say I have the following
var1 = 1
var2 = 2

When I start to type if, the snippet suggestion for that code snippet shows and I hit TAB to confirm it so I get the following:
if expression:
    pass

as I start typing in the expression field, I would like to still see autocomplete suggestions. E.g. when I start to type var, I should see suggestions for var1 and var2. The only time that autocomplete suggestions should not show is if the code snippet template is having the user fill in placeholders within a comment. In code snippets of actual code, autocomplete should still work.
I'm not sure if this is a bug, but this feature doesn't exist so I marked it as a feature request.
VS Code version: Code 1.43.1 (fe22a9645b44368865c0ba92e2fb881ff1afce94, 2020-03-18T07:01:20.184Z)
OS version: Windows_NT x64 10.0.18362

"editor.suggest.snippetsPreventQuickSuggestions": false,

/needsMoreInfo


Navigation : Give the option to display more than 25 Entries per page

On what page are you talking about?

All that contain a table.
So far :

Devices
Clients
Locations
Events
Account - invoices
Account - History
Account - Access
Account - Inventory

The option used to be there. You're welcome to figure out why it's gone. There was an upgrade to the table recently, I sis of the option was changed.

Happy days!

I just added it back to the audit section. Might be able to do a global find replace ;)

This should be resolved. Have not checked each page though.


Enable git.promptToSaveFilesBeforeCommit by default

I regularly stumble on this and just discovered that there is an option to enable this warning prompt. Is there any reason not enabling this by default? If it's on by default, then the prompt could have an additional button to make it easy to disable it in case people don't like it.
I found two other cases where people were unaware this option existed:
https://github.com/Microsoft/vscode/issues/60538
https://github.com/Microsoft/vscode/issues/58896

That's actually a great question.


"Wrong" file encoding throws path not found error

If the file is encoded with UTF-8 (no BOM) or ANSI or ISO 8859-1, the batch converter cannot find the file and throws:
Das System kann den angegebenen Pfad nicht finden (System cannot find path)

Tested with:

 XML Editor 19.1, build<PHONE_NUMBER>
Batch Converter 1.1.1
JSON2XML conversion

@xephon2 could you also attached a zipped JSON file? I tried this with a JSON file containing some Japanese characters in the values but it seems to work for me.

strings.zip


Add update by & updated on fields in every view page

To make sure who have updated the info of that record

hfxdfdf


[Bug] AddItem Stepper 1 next button stays "red" after successful validation as well

Describe the bug
On filling in the correct details for the first stepper, the next button should turn "red" (as it does in the second stepper), but it is not
To Reproduce
Steps to reproduce the behavior:

Add *
Fill in the first stepper sucessfully
Observe that the "next" button is still red

Expected behavior
It should turn green (as is the case in stepper 2)

Done in #112


fix: give melt more memory

Coverage: 85.147%. Remained the same when pulling 2da20ce59c95f10e5b04393264fc1aef814668ce on fix-increase-melt-memory into e489d93064956976af311bb6efb53d3335816fcd on main.


hpx::promise has some problems

I've having problems with my code that disappear when I change the implementation of the "channel" class I am using from using a promise/future pair to using a semaphore. When using the promise/future implementation, I get unexpected hangs, crashes, and other problems, but when I use the semaphore implementation, these problems go away  (the code still hangs during output and at startup sometimes but I think that is a different issue). The promise/future implementation of the channel class is here:
https://github.com/dmarce1/FVFMM/blob/master/src/channel.hpp
and the new implementation that seems to get rid of problems is
#ifndef CHANNEL_HPP_
#define CHANNEL_HPP_

#include "defs.hpp"

template<class T>
class channel {
private:
	hpx::lcos::local::counting_semaphore signal;
	T data;
	std::atomic<bool> full;
public:
	channel() : full(false){
	}
	~channel() = default;
	channel(const channel&) = delete;
	channel(channel&& other ) = delete;
	channel& operator=(channel&& other ) = delete;

	template<class U>
	void set_value( U value ) {
		assert(!full);
		data = std::move(value);
		full = true;
		signal.signal();
	}

	T get() {
		signal.wait();
		assert(full);
		full = false;
		return data;
	}

};

#endif /* CHANNEL_HPP_ */

Using the promise/future implementation seems to have also called problems for other calls to the future class functions, even on futures not produced from a promise. For instance, calls to future::wait_for and future::wait_until would act weird, issuing timeouts as if the timing had started when the program was initiated rather than when wait_for/until was called - and for futures not created with a promise. These problems disappeared when I changed channel implementations.
I will try and reproduce the problem with a smaller code.

I think I was wrong on this one. I get hangs and crashes even with the semaphore version of my channel, and the trap I had written to detect if the promise/future channel had a bug in it, itself, had a bug. I've also determined the problem with wait_for occurs even in a simple test code.


[SwiftCompilerSources] Require very recent Swift compiler in HOSTTOOLS mode

To use new C++ interop features in SwiftCompilerSources, we need a very recent Swift compiler when building with host tools.
This does not affect non-HOSTTOOLS builds.

@swift-ci please smoke test Linux

@swift-ci please smoke test

Merging this to unblock other work, but I'm happy to discuss this change post-merge.

How much does this increase the build time?


The new Davros (0.24) still does not sync with Webdav Clients

I have purchased the ExpanDrive, which can connect to both Nextcloud and Webdav (among others). However, when I try to upload a file, it appears in the Sandstorm web intrface as a zero-byte file. ExpanDrive loops as if it uploads, but I didn't see it finished.
The new version however, seems to do good with gvfs (for example Thunar, although copy/paste files in a davs:// folder raises an error. I would not write about this issue, if I didn't like the way Davros is conceived.
Greetings to the developers.

@nukedone I know that Davros is no longer compatible with Nextcloud/ownCloud clients specifically. Did you look at the updated configuration instructions in 0.24? Are you getting any sort of error message either on ExpanDrive or in Davros' grain debug log?

As I said, when I connect the Davros Grain as a WebDAV folder, and try to copy something into it, the ExpanDrive says it is uploading the file (infinitely) and the Davros Web Interface displays a zero-byte file in the list of files.

I would like to assist you by providing logs or any beahavior from both Expandrive and Davros on my sandstorm server.

Warning: SandstormPermissions.grainPermissions() took 564 milliseconds to complete for the vertex {"grain":{"_id":"CApomwxxNCkJFZuyr93Lew","accountId":"ZwsyqK3RBper7gfnw"}}
Warning: SandstormPermissions.grainPermissions() took 853 milliseconds to complete for the vertex {"grain":{"_id":"pvmrE2srxr23BCWzs9Q7Ld","accountId":"ZwsyqK3RBper7gfnw"}}
Warning: SandstormPermissions.grainPermissions() took 852 milliseconds to complete for the vertex {"grain":{"_id":"o9sADSbdLxcYdxqjJyGWrc","accountId":"ZwsyqK3RBper7gfnw"}}
Warning: SandstormPermissions.grainPermissions() took 895 milliseconds to complete for the vertex {"grain":{"_id":"H2ueNZfJjRfWHzAXXc9J9m","accountId":"ZwsyqK3RBper7gfnw"}}
capnp/rpc.c++:145: info: returning failure over rpc; exception = kj/async-inl.h:1192: failed: PromiseFulfiller was destroyed without fulfilling the promise.
stack: 4803a0 6bcf90

2020-02-28T16:58:13.638Z - info: stdio: EXPANDRIVE_DATACACHE:/tmp/gdrive-5wxrjbk4
2020-02-28T16:58:13.639Z - info: stdio<EMAIL_ADDRESS>2020-02-28T16:58:13.668Z - info: stdio: host=https://api-d916f9317890deeb6728faaf90478917.rbib.sandcats.io:7443
2020-02-28T16:58:13.668Z - info: stdio: cacheLocation=/tmp
2020-02-28T16:58:13.668Z - info: stdio: remotePath=/remote.php/webdav/
2020-02-28T16:58:13.668Z - info: stdio: username=test3
2020-02-28T16:58:13.669Z - info: stdio: -f
2020-02-28T16:58:13.669Z - info: stdio: exfs=true
2020-02-28T16:58:13.669Z - info: stdio: name=test3
2020-02-28T16:58:13.669Z - info: stdio: type=webdav
2020-02-28T16:58:13.670Z - info: stdio: id=2zqpz675
2020-02-28T16:58:13.672Z - info: stdio: EXPANDRIVE_CLAIM_MOUNTPOINT:13739:/home/borivoje/ExpanDrive/test3
2020-02-28T16:58:13.677Z - info: stdio: outstanding ops updated successfully
2020-02-28T16:58:13.677Z - info: stdio: EXPANDRIVE_DATACACHE:/tmp/webdav-2zqpz675
2020-02-28T16:58:13.677Z - info: stdio: EXPANDRIVE_AUTH_PASSWORD:test3

This is the grain log

Debug log: test3

...7.896 ms - -
PROPFIND /remote.php/webdav/ 207 40.923 ms - -
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
PUT /remote.php/webdav/Bash%20Script - - ms - -
_http_outgoing.js:470
    throw new ERR_HTTP_HEADERS_SENT('set');
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at setHeadersFromObject (/opt/app/node_modules/on-headers/index.js:94:16)
    at ServerResponse.setWriteHeadHeaders (/opt/app/node_modules/on-headers/index.js:122:5)
    at ServerResponse.writeHead (/opt/app/node_modules/on-headers/index.js:30:36)
    at /opt/app/node_modules/jsDAV/lib/DAV/handler.js:902:47
    at /opt/app/node_modules/jsDAV/lib/shared/asyncEvents.js:82:13
    at handler (/opt/app/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:371:33)
    at handler (/opt/app/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:146:21)
    at Object.next (/opt/app/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:451:13)
    at exports.Generator.next (/opt/app/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:144:20)
** HTTP-BRIDGE: App server exited with status code: 1
** SANDSTORM SUPERVISOR: App exited with status code: 1
** SANDSTORM SUPERVISOR: Starting up grain.  Use os.tmpdir() instead.

PUT /remote.php/webdav/LibreOffice%20Document%20in%20Serbian%20%28Latin%29.odt - - ms - -
_http_outgoing.js:470
    throw new ERR_HTTP_HEADERS_SENT('set');
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at setHeadersFromObject (/opt/app/node_modules/on-headers/index.js:94:16)
    at ServerResponse.setWriteHeadHeaders (/opt/app/node_modules/on-headers/index.js:122:5)
    at ServerResponse.writeHead (/opt/app/node_modules/on-headers/index.js:30:36)
    at /opt/app/node_modules/jsDAV/lib/DAV/handler.js:902:47
    at /opt/app/node_modules/jsDAV/lib/shared/asyncEvents.js:82:13
    at handler (/opt/app/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:371:33)
    at handler (/opt/app/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:146:21)
    at Object.next (/opt/app/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:451:13)
    at exports.Generator.next (/opt/app/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:144:20)
** HTTP-BRIDGE: App server exited with status code: 1
** SANDSTORM SUPERVISOR: App exited with status code: 1
** SANDSTORM SUPERVISOR: Starting up grain. Sandbox type: userns
[info] jsDAV cannot load plugin 'codesearch': Cannot find module 'gnu-tools'
[info] jsDAV cannot load plugin 'filelist': Cannot find module 'gnu-tools'
[info] jsDAV cannot load plugin 'filesearch': Cannot find module 'gnu-tools'
Mounting webdav from data dir /var/davros/data
Storing temporary files in /var/davros/tmp
Davros started in 351ms, listening on port 8000
(node:5) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
PUT /remote.php/webdav/LibreOffice%20Document%20in%20Serbian%20%28Latin%29.odt 500 120015.229 ms - -
PROPFIND /remote.php/webdav/ 207 81.404 ms - -
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
PROPFIND /remote.php/webdav/ 207 41.061 ms - -
PUT /remote.php/webdav/LibreOffice%20Document%20in%20Serbian%20%28Latin%29.odt 500 120004.562 ms - -
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
PUT /remote.php/webdav/LibreOffice%20Document%20in%20Serbian%20%28Latin%29.odt 500 120066.549 ms - -
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
PROPFIND /remote.php/webdav/test/ 207 39.220 ms - -
PUT /remote.php/webdav/LibreOffice%20Document%20in%20Serbian%20%28Latin%29.odt 500 120007.678 ms - -
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
** SANDSTORM SUPERVISOR: Grain no longer in use; shutting down.
** SANDSTORM SUPERVISOR: Starting up grain. Sandbox type: userns
[info] jsDAV cannot load plugin 'codesearch': Cannot find module 'gnu-tools'
[info] jsDAV cannot load plugin 'filelist': Cannot find module 'gnu-tools'
[info] jsDAV cannot load plugin 'filesearch': Cannot find module 'gnu-tools'
Mounting webdav from data dir /var/davros/data
Storing temporary files in /var/davros/tmp
Davros started in 366ms, listening on port 8000
(node:5) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
** SANDSTORM SUPERVISOR: Grain still in use; staying up for now.
GET /changelog 200 18.824 ms - -
PUT /remote.php/webdav/LibreOffice%20Document%20in%20Serbian%20%28Latin%29.odt 500 120016.435 ms - -
GET /api/publish/info 200 73.684 ms - 2

It seems now that EpanDrive only errors when the file is inputted thought the file manager (Thunar). When I use ExpanDrive Interface, files seem to copy to Davros well.

Yet it seems that the cat is in ExpanDrive's yard. I will close the issue report with this comment.


chore: bdd-spring-1586305414 to 0.0.1

chore: Promote bdd-spring-1586305414 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Determine evaluation result type without evaluating

I have a use-case where it would be highly beneficial if there would be a possibility to determine the result type an expression will yield (if executed successfully).
Is this already possible with the existing API? I tried to use the AST API but could not find a way.

For expressions that have no IF and now also SWITCH function, it should be possible.
It could be done externally, using the AST by more or less using the logic in evaluateSubtree().
Instead of executing the calculation, the result would just be the data type.
One would have to take care of some special cases, like adding strings to numbers or durations to date-times etc.
Another (more cleaner) way would require to change the function and operator interfaces, adding a method e.g. determineResultDataType().
Rest would be the same as above, but it would have the advantage of determine the data type would be also in the function/operator class.


Fix network setup

Previously dhclient would daemonize after not getting any offers, and it would not start up for other interfaces. This adds flags to dhclient to only try once before exiting (-1), not daemonizing (-d) and setting a 15 second timeout.
This also fixes an error in the conditional that is supposed to break the loop if we get a DHCP offer on one interface, as well as fixes a small error where we try to exclude loopback by doing grep -v lo0 when it's actually named lo.
@roymarantz @byxorna @Primer42 @maddalab

LGTM

:100:

I like it. LGTM :cake:


docs: fix improperly indented code block

Code block in docstring isn't indented properly so it isn't rendering correctly in web docs http://day8.github.io/re-frame/api-re-frame.core/#subscriptions.

Thanks @msladecek 👍


inventory: no "current software" version displayed on mender interface

Probably due to some enhancements of mender, the "Current software" version is no more displayed on the Devices tab of the mender interface. See screenshot below.

The update of deployment api at #68 was intended to fix this, but it's not enough.
This issue need to be analyzed.

@joelguittet The "Current software" information shown by the UI, both here in the devices table but also in the "Software" tab for the device pane (click on any device), is coming from the inventory.
Previously this was the "artifact_name", but this changed long time ago - I cannot tell exactly but for sure not in the last months.
Anyway, if you want to see here the information that you used to have, you can submit an inventory key value like "rootfs-image.version=something".
You were not that far off when suspecting the "provides" feature. For the Linux client, by default we ship an inventory script that calls "mender-update show-provides" (see source here). So in effect it is the same information but it is not saved from the deployments/next API call but submitted separately.
To experiment with this, I recommend that you just spin up a demo server with a virtual client (clone this repo, then ./demo --client up) and modify the inventory script to see how the UI will behave. Then you can implement the desired changes in the MCU client :+1:
When implementing this, feel free to ping me in the PR :smiley:

@lluiscampos thanks so much for all those details!
I just tested a bit this, with rootfs-image.version I'm able to display the software version. I see rootfs-image.checksum can also be used.
For the moment I will simply ensure the display is correct so duplicating the information from the artifact_name value in the mender MCU client. I see my RaspberryPi device have rootfs-image.version = artifact_name.
Pull Request will be opened quickly, and thanks for your help on this topic :-) I really appreciate.

Fixed with #72


Added AST node type NoAliasAttr. Fixes #769

Fixes #769

This change is

Reviewed 4 of 4 files at r1.
Review status: :shipit: complete! all files reviewed, all discussions resolved

Comments from Reviewable


New documentation: Account management

Documentation supporting subscription and licensing management.
Removed "Overview" from overview sections for navigation brevity.

@amyblais, @TQuock, @rbradleyhaas I think this is ready for a final pass. :)


Registration of node-red

I have completed the first 4 steps of documentation successfully. In the 5th step, while trying to register the node-red it is showing an error like this. Please help me to resolve it ASAP. Thankyou

You might be missing a step during the deployment of the network.
It seems like required certificates couldn't be found in the directory. You might have problem with storage as well.

You might be missing a step during the deployment of the network.
It seems like required certificates couldn't be found in the directory. You might have problem with storage as well.

Could you please help to resolve the issue by suggesting the necessary steps I have to perform.

I would suggest destroy the cluster and start from the beginning. Be careful to check if you face any warning or error.


Same fingerprint

I have tested multiple version of chrome, but i see same fingerprint.
using the following website: https://tls.browserleaks.com/json
test chrome_108: "ja3_hash":"53ff64ddf993ca882b70e1c82af5da49"
test chrome_105: "ja3_hash":"53ff64ddf993ca882b70e1c82af5da49"
test chrome_103: "ja3_hash":"53ff64ddf993ca882b70e1c82af5da49"
the purpose of this library was to change fingerprint and replicate real browser. is there anything wrong i am doing ?
self.client = tls_client.Session(
            client_identifier=self.chrome_version
        )

resp = self.client.get('https://tls.browserleaks.com/json',proxy=self.settings['proxies'],headers=self.headers)

print(resp.text)

You need to change ciphers and curves.

there is nothing close to golang when changing tls fingerprinting. which is disappointing.

 Join the good side of internet.

ah mr @VichyGopher I was already wondering why there are no projects on your old github. I thought the whole discord gen stuff made you quit

Invalid issue. Chrome_107, Chrome_108, and Chrome_109 has the same hash on https://github.com/bogdanfinn/tls-client. Open your issue there if this is a concern.
Chrome_110 has a different hash of e24e68fc49dc73dd4f132c7bdeb5bcc8

there is nothing close to golang when changing tls fingerprinting. which is disappointing.

This library itself uses a DLL compiled from Go. It should be possible to expose the ja3-string in this library.

 Join the good side of internet.

There are genuine use cases for both language. Don't pollute the reputation of Go developers as arrogant annoyances.

there is nothing close to golang when changing tls fingerprinting. which is disappointing.

This library itself uses a DLL compiled from Go. It should be possible to expose the ja3-string in this library.

 Join the good side of internet.

There are genuine use cases for both language. Don't pollute the reputation of Go developers as arrogant annoyances.

thanks for the response. i will check further. Good work though on starting this project here, discord just does not stop upgrading their security.

btw could u also, help with discord server join ? Im able to join server but i do get unknown message 50% of the time.

Hey, so the initial issue is sorted correct?
I sadly can't help you with specific use cases of the client. However if its a clients issue, feel free to let me know and I'll look into it.

yes everything good. thank you. u can close it


[BUG] Compiler crash in AnalyseExpressionsTransform parsing "if v1 in h1:" where h1 is a cython array.

Bug Trace
Compiling solve_utils.pyx because it changed.
[1/1] Cythonizing solve_utils.pyx

Error compiling Cython file:
------------------------------------------------------------
...
        print("True")
    else:
        print("False")

    v1 = 1
    if v1 in h1: pass  # h1 is a cython array of int
         ^
------------------------------------------------------------

solve_utils.pyx:30:10: Compiler crash in AnalyseExpressionsTransform

ModuleNode.body = StatListNode(solve_utils.pyx:3:0)
StatListNode.stats[0] = CFuncDefNode(solve_utils.pyx:5:5,
    args = [...]/2,
    modifiers = [...]/0,
    outer_attrs = [...]/2,
    visibility = 'private')
File 'Nodes.py', line 396, in analyse_expressions: StatListNode(solve_utils.pyx:7:4,
    is_terminator = True)
File 'Nodes.py', line 6785, in analyse_expressions: IfStatNode(solve_utils.pyx:30:4)
File 'Nodes.py', line 6831, in analyse_expressions: IfClauseNode(solve_utils.pyx:30:7)
File 'ExprNodes.py', line 651, in analyse_temp_boolean_expression: PrimaryCmpNode(solve_utils.pyx:30:10,
    operator = 'in',
    result_is_used = True,
    use_managed_ref = True)
File 'ExprNodes.py', line 12927, in coerce_to_boolean: PrimaryCmpNode(solve_utils.pyx:30:10,
    operator = 'in',
    result_is_used = True,
    use_managed_ref = True)

Compiler crash traceback from this point on:
  File "C:\Users\jm\AppData\Local\Programs\Python\Python39\lib\site-packages\Cython\Compiler\ExprNodes.py", line 12927, in coerce_to_boolean
    if self.is_pycmp:
AttributeError: 'PrimaryCmpNode' object has no attribute 'is_pycmp'
Traceback (most recent call last):
  File "C:\Users\jm\Dropbox\Work\Python\test\setup.py", line 25, in <module>
    ext_modules = cythonize(["solve_utilsi.py", "solve_utils.pyx"],
  File "C:\Users\jm\AppData\Local\Programs\Python\Python39\lib\site-packages\Cython\Build\Dependencies.py", line 1116, in cythonize
    cythonize_one(*args)
  File "C:\Users\jm\AppData\Local\Programs\Python\Python39\lib\site-packages\Cython\Build\Dependencies.py", line 1283, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: solve_utils.pyx

Process finished with exit code 1

Expected behavior
I expected it not to crash
Environment (please complete the following information):

OS: Windows 10
Python version 3.9.7
Cython versions 0.29.24 and 3.0.0a9

Additional context
Add any other context about the problem here.

Could you clarify: do you mean h1 is typed as cdef cython.view.array h1, or something else?

Hi David, sorry it took so long for me to reply.
cdef int h1[16]
Interestingly, Cython crashes when checking for the presence of a value in the array and not when iterating over an array.
for v in h1:
Compiles fine and produces good C code.
Thanks

any update on this topic?
i get the same error when using the "in" keyword to check for the presence of a value in an array when using cython.


Reinforce SHA1 against collisions

https://github.com/cr-marcstevens/sha1collisiondetection

Err… Hello?

What do you mean under "Reinforce SHA1 against collisions"?
SHA1 is defined by FIPS 180-4 and its algorithm can't be changed.

@rhash It is known how to compute collisions for SHA-1 and these already exist https://shattered.io/, MD5 is even ridiculous weak to collisions. To protect against collisions it is advised to use a secure hash function like SHA-2 or SHA-3.
Although MD5 is really considered insecure, SHA-1 can be strengthened using sha1collisiondetection:

This library and command line tool were designed as near drop-in replacements for common SHA-1 libraries and sha1sum. They will compute the SHA-1 hash of any given file and additionally will detect cryptanalytic collision attacks against SHA-1 present in each file.

The library does not change the SHA-1 algorithm, but provides an additional warning flag whether an input file was created with a cryptanalytic collision attack.
This can warn users of suspect files.
Additionally there is a special safe-hash mode that always returns the real SHA-1 hash when no collision attack was detected, yet returns a different safe hash when a collision attack was detected.
Note that the sha1collisiondetection library is currently the default SHA-1 implementation for git and GitHub, since git relies on SHA-1 to protect the integrity and authenticity of git repositories.

@cr-marcstevens, thank you for explanation.
I think this feature could be implemented to be turned on by a separate option.
But since I'm permanently overloaded by rl, the only chance to get it in is via a PR.

Although the feature looks useful, it is not planned due to my shortage of time.
Closing the issue.


UIPickerViewController show once, the toast never show again-----iOS

如题

https://www.jianshu.com/p/8c44251babed

I have the same problem on ios, it is called a few times and then no longer responds.

same issue on IOS.

when I pod install, it will install failed,can you give me some suggeston?

It's been fixed.


update privacy policy

Replacing old privacy policy provided by AgID with new policy provided by PagoPA as data controller for processing of developers' personal data.
Closed the stylesheet tag that prevented from loading applicable css rules. Introduced additional style rules to allow indented unordered list.
Attaching screenshots providing preview of code for browsers, tablets and mobile.
This is my first PR so feedback is welcome.

@balanza @CaraDune
Take in consideration that the site is served from the gh-pages branch that is currently not aligned with master.

thank you @francescopersico , I added you as a reviewer to collect your input on the task regarding alignment of gh-pages branch with master

Do we have any blocker for this?

@balanza

Do we have any blocker for this?

yes and no:
not blocking (substantially) because the task is to update the content of the policy, which is something we will achieve with the merge.
blocking (aesthetically) because if we don't align gh-pages branch with master as @francescopersico noted, css style rules will not be visible (I attributed this to an open style tag, but it was not the case) and policy will be displayed in a messy/ugly fashion.
is there someone who can proceed to such alignment after merge or guide me in doing so? cc @gunzip

@CaraDune @balanza we can merge this and apply the changes also to the gh-pages branch.

Sorry I don't understand. Are those files published from the gh-pages branch? If so, isn't more correct to merge this PR against such branch instead of against master?

Sorry I don't understand. Are those files published from the gh-pages branch? If so, isn't more correct to merge this PR against such branch instead of against master?

IMO it's always better/easier to merge a PR to the branch it was detached from. Branch created from master return to master.
The main problem here is that the gh-pages branch contains a not updated version of the files. For example, this PR https://github.com/pagopa/io-developer-portal-backend/pull/83 is not included, instead, it's included in master.
Use the way you want just be sure that at the end both master and gp-pages branches contain the updated version of the files.

Congrats on your first PR @CaraDune , it's a great achievement!

So I'd just merge this and make another PR against gh-pages


More easy build and compiler.

Run python build.py cann't successful because of network connecting,Can you afford a python build script for build local,no network connecting,thank you very much!

Hi @kickTec, unfortunately Google only supports a network-based build at this type.

Actually, you can build locally.  It requires you to install the offline version of the closure compiler, but that's all.  Here's a gist with instructions on how to do an offline build of the vertical version of scratch-blocks.
Note that if you're just trying to tweak the library you may not need the compressed version to check your changes.  In that case you can just use tests/vertical_playground.html for testing, which uses blockly_vertical_uncompressed.js.  Changes that you make to the JS files will be reflected when you reload the page.


Add a missing CHECK to a FileCheck test

@swift-ci Please smoke test and merge

@DougGregor seems like it isn't working after all. :(
/Users/buildnode/jenkins/workspace/swift-PR-osx-smoke-test/branch-master/swift/test/Generics/requirement_inference.swift:422:11: error: expected string not found in input
// CHECK: Generic signature: <T where T : P29, T : P30, T.X : P31, T.X == T.X>
          ^
<stdin>:2472:49: note: scanning from here
requirement_inference.(file).sameTypeNameMatch1@SOURCE_DIR/test/Generics/requirement_inference.swift:423:6
                                                ^
<stdin>:2481:1: note: possible intended match here
Generic signature: <T where T : P29, T : P30, T.X : P31>

I pulled this commit into https://github.com/apple/swift/pull/12321, which fixes the issue so we can add the proper CHECK: line.


Error on goto defnition

Goto defnition is erroring out with following error
2024-04-25 17:25:31.292 [info] (gitlab) Error processing textDocument/definition: /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/uri-0.13.0/lib/uri/generic.rb:770:in `check_path': bad component(expected absolute path component): app/finders/crm/contacts_finder.rb (URI::InvalidComponentError)
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/uri-0.13.0/lib/uri/generic.rb:816:in `path='
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/uri-0.13.0/lib/uri/generic.rb:192:in `initialize'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/uri-0.13.0/lib/uri/generic.rb:136:in `new'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/uri-0.13.0/lib/uri/generic.rb:136:in `build'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/ruby-lsp-0.16.5/lib/core_ext/uri.rb:18:in `from_path'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/ruby-lsp-0.16.5/lib/ruby_lsp/listeners/definition.rb:88:in `block in handle_method_definition'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/ruby-lsp-0.16.5/lib/ruby_lsp/listeners/definition.rb:82:in `each'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/ruby-lsp-0.16.5/lib/ruby_lsp/listeners/definition.rb:82:in `handle_method_definition'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/ruby-lsp-0.16.5/lib/ruby_lsp/listeners/definition.rb:45:in `on_call_node_enter'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/prism-0.24.0/lib/prism/dispatcher.rb:1369:in `block in visit_call_node'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/prism-0.24.0/lib/prism/dispatcher.rb:1369:in `each'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/prism-0.24.0/lib/prism/dispatcher.rb:1369:in `visit_call_node'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/prism-0.24.0/lib/prism/node.rb:2493:in `accept'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/prism-0.24.0/lib/prism/dispatcher.rb:65:in `dispatch_once'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/ruby-lsp-0.16.5/lib/ruby_lsp/requests/definition.rb:79:in `perform'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/ruby-lsp-0.16.5/lib/ruby_lsp/server.rb:599:in `text_document_definition'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/ruby-lsp-0.16.5/lib/ruby_lsp/server.rb:70:in `process_message'
	from /Users/username/.asdf/installs/ruby/3.2.3/lib/ruby/gems/3.2.0/gems/ruby-lsp-0.16.5/lib/ruby_lsp/base_server.rb:128:in `block in new_worker'

2024-04-25 17:25:31.293 [info] (gitlab) [Error - 17:25:31] Request textDocument/definition failed.
2024-04-25 17:25:31.293 [info] (gitlab) TypeError: Cannot read properties of null (reading 'errorClass')
	at ws.benchmarkMiddleware (/Users/username/.vscode/extensions/shopify.ruby-lsp-0.5.19/out/extension.js:44:64379)
	at async h.provideDefinition (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:95765)

Ruby lsp version: 0.16.5

Thank you for the report. This seems to relate to the new functionality added in https://github.com/Shopify/ruby-lsp/pull/1961.


Add saleor version to OpenTracing

What I'm trying to achieve
I would like to be able to know which version of Saleor is X trace associated to.
Describe a proposed solution
Whether being build through a tag for releases or git hash for master.
This could be easily achievable through CircleCI when building the latest docker version. Suggestions would be nice to have.

Hi 😊😊👋👋

Done.


Add Job Config Description and Worker Hostname Information to job cli

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

@calvinjia: Added a comment for where I may want feedback from.

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

oops I previously forgot to code that actually addresses the feedback.

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

Merged build finished. Test PASSed.

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

Forgot to write that feedback has been addressed.

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

Failed tests:
alluxio.collections.LockPoolTest.parallelInsertTest(alluxio.collections.LockPoolTest)
Run 1: LockPoolTest.parallelInsertTest:117 expected:<16> but was:<15>
Run 2: LockPoolTest.parallelInsertTest:117 expected:<16> but was:<15>

jenkins, test this please.

Merged build finished. Test FAILed.

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

jenkins, test this please

Merged build finished. Test PASSed.

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

@calvinjia: ping?

@calvinjia: Feedback addressed. Btw, I plan to delete that file you feedbacked on soon since we don't have journaling for job service.

Merged build finished. Test PASSed.

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

rebased from upstream/master

Merged build finished. Test PASSed.

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

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

alluxio.client.fs.FreeAndDeleteIntegrationTest.deleteDir(alluxio.client.fs.FreeAndDeleteIntegrationTest)
Run 1: FreeAndDeleteIntegrationTest.deleteDir:145 » TestTimedOut test timed out after...
Run 2: FreeAndDeleteIntegrationTest.deleteDir:145 » TestTimedOut test timed out after...

jenkins, test this please.

Merged build finished. Test FAILed.

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


refactor QueryTokenManager: move threadlocal as QuerySession

I move the threadLocal jobId out of OpenedFilePathsManager and QueryTokenManager, and put it into a class QuerySession.
Notice, this PR is for modifying branch aggregate, because the branch has too many modifications already..

@little-emotion  please have a look, and if there is no problem, merge it into your branch. :)


add 2 new ebuilds: river-luatile and owm

added ebuilds for river-lutatile-0.1.3, river-luatile-9999 and owm-9999 (since it doesn't have version tags at the moment)
both packages provide the ability to create your own layouts in river.
i would also like to take over maintainership of these packages if it is possible.

Looks good! Thanks for the PR.


fix paths with os.path.expanduser()

This PR is a simple bugfix of something I missed in my previous PR.
I was a little confused about how os.expanduser() was working, hopefully I've got it right now...
Perhaps you could confirm @ahussaini821 ?
So we want wgs-reads and wgs-results to be in the users home directory, right? I think therefore we want to omit root from those paths so that os.expanduser("~/wgs-reads") would just be /home/user/wgs-reads`?
Also could you confirm that run_pipeline(), line 35 is correct @ahussaini821? Not sure if root/nextflow/nextflow` would be the correct path for nextflow in the docker container? This was just left in from what the code had before...

Closing this PR as it had mistakes which are being rectified in a new PR.


Easily clone other private repos during a build

It would be great to be able to inject a pre-defined SSH key into containers.
As part of our build process, we pull down dependencies that are in private GitHub repos. Currently there's no (easy) way of accessing these repos from Drone. This could be resolved by adding the ability to generate an SSH key that's used by containers (copied to ~/.ssh/id_rsa), which we could then add as the deploy key for our dependencies.

Official support for updating your repository keys via rest:
http://readme.drone.io/api/repos/put/
Along with support for updating keys via the command line utility:
drone set-key github.com/foo/bar ~/.ssh/id_rsa

we are going to experiment with a new idea here.  We are going to add a .netrc file to the build environment with the access token, similar to the comment by @gdborton
this would not apply to public (open source) repositories for security reasons.
this should work well for GitHub and GitLab. I'm sure we can get something working with Gogs as well. Bitbucket seems like a lost cause, but you never know ...

take a look https://github.com/blog/1957-git-2-3-has-been-released for new GIT_SSH_COMMAND

I am having issues with Github SSH and Drone.
Originally, I was using a deploy key from Drone on my repo and everything was peachy. However, we soon ran into a problem where we needed to clone a private repo in our npm install. I made a machine user on Github that I added the keys for on my machine and on the machine user, and added that machine user to our orgs on GH. I could clone everything just fine from the machine, all the access rights were correct.
When drone would build, however, it wouldn't pull in this key and use another key (presumably the deploy key) to try and clone this repo we were using in npm.
So I used the REST API to update the public and private keys on Drone to be that of our user, it worked properly and on the web interface it showed my repo as having that public key.
I then tried to use the drone set-key github.com/foo/bar ~/.ssh/id_rsa command with our url instead (obviously) to make sure the instance was using the right private key. I got this error:
panic: runtime error: assignment to entry in nil map

goroutine 16 [running]:
runtime.panic(0x8d8e60, 0xe11293)
	/usr/local/go/src/pkg/runtime/panic.c:279 +0xf5
net/textproto.MIMEHeader.Set(0x0, 0x96c1d0, 0xe, 0xc20804c0d0, 0x4)
	/usr/local/go/src/pkg/net/textproto/header.go:22 +0xb5
net/http.Header.Set(0x0, 0x96c1d0, 0xe, 0xc20804c0d0, 0x4)
	/usr/local/go/src/pkg/net/http/header.go:31 +0x4f
github.com/drone/drone/client.(*Client).run(0xc20800fa40, 0x948f10, 0x3, 0xc2080d0930, 0x29, 0x7bb640, 0xc208040f40, 0x0, 0x0, 0x0, ...)
	/var/cache/drone/src/github.com/drone/drone/client/client.go:83 +0x594

Now I can't even get Drone to clone my repo in the first place since the keys for that are now wrong, and I basically took two steps backward.
@bradrydzewski am I doing something completely wrong? I now have a broken Drone instance with no way to reset the keys. Are there any workarounds here?

@MattyKuzyk you can reset key pair of any of your repo via command drone set-key. see this comment. it works for me when using latest drone cli.

closing in favor of #1090 which is implemented in 0.4 branch (upcoming release). We use a .netrc file to authorize cloning the https url. This means you can go get or npm install other private repos

Hi @bradrydzewski , could you show an example of use with the .netrc
In the proyect I'm working in, I have a public repo that uses a private for build. So I'm not sure I can use this approach
also, can not find an example of use for the identity flag
thanks in advance!

@jgermade the netrc file is only injected into private build environments for security reasons. Exposing a netrc file or ssh key for a public repository would make it susceptible to theft by issuing a malicious pull request.
You are more than welcome to use secrets to provide a GitHub token or credentials to your build environment, but secrets won't be injected into your build environment for pull requests for the same security reasons mentioned above.
You can read more about secrets at http://readme.drone.io/usage/secrets/

thanks @bradrydzewski for support!!
finally got it working combining token in secret and sed replace the bower.json dependence


relative and absolute paths on Android

Hey All,
I'm having an issue with loading a g3dj with relative links to texture files.  It seems that android, specifically wants texture files in the same directory as the model.  Desktop accepts relative links without issue.
For example, the following works on Desktop (OSX), not on Android.
// snippet from g3dj file
"textures": [
                      {
                           "id": "Texture.005",
                           "filename": "../materials/miami-hurricanes-tiled.jpg",
                           "type": "DIFFUSE"
                      }
                 ]

I have tried both relative and absolute path format
Relative: "../materials/miami-hurricanes-tiled.jpg" // should navigate one up from current directory
Absolute: "/materials/miami-hurricanes-tiled.jpg"  // should navigate from top level of assets folder
Here is my assets directory hierarchy:

The error from LogCat reports:
05-28 15:16:45.243: E/AndroidRuntime(2681): com.badlogic.gdx.utils.GdxRuntimeException: com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load dependencies of asset: models/../materials/miami-hurricanes-tiled.jpg
What DOES work, is having the texture file in the same directory as the g3dj file.

AFAIK (I might be wrong), this is directly related to
https://github.com/libgdx/libgdx/issues/2617
with workaround being to use
public String normalize(String filenameWithDots) {
    return new URI( file.parent().child( filenameWithDots ).path() ).normalize().getPath();
}
```
e.g. in the g3dj loader (https://github.com/libgdx/libgdx/blob/master/gdx/src/com/badlogic/gdx/graphics/g3d/loader/G3dModelLoader.java#L216), like
jsonTexture.fileName = normalize(jsonTexture.fileName)

I ended working around the problem for the time being.  My models and materials are in different directories.  So, I load geometric data from /models with a simple material.
After the model loads, I'm loading more complex materials with linked maps in the same directory.  That works for now.  I'll backtrack and fix this if I have some time left.
Let's call this a duplicate and close for now.  Thanks for the link!


Update changelog for 0.4.0

What about fixes to charts or disabled druid?

I trusted the current contents of the changelog to be up to date, but it seems it was not updated in every PR. I've pushed bbe0ed6f with the things you mentioned and the tab reordering.


docs: remove parameter from Sign page (box/box-openapi#489)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 54.252%

Totals

Change from base Build<PHONE_NUMBER>6:
-0.01%

Covered Lines:
8505

Relevant Lines:
16352

💛  - Coveralls


_fixed_process don't work

Godot version:
7f1265b41fc52def42c433e5d324070bc6454d6b
OS/device including version:
Manjaro Linux
Issue description:
_fixed_process(delta) don't get called and there is no set_fixed_process(true) function only set_physics_process(true) but setting it don't work
Minimal reproduction project:
func _ready():
	set_physics_process(true)

func _process(delta):
	print("process")

func _fixed_process(delta):
	print("fixed_process")

Just process gets printed

[x] I searched the existing GitHub issues for potential duplicates.

Shouldn't that be _physics_process(delta) instead of _fixed_process(delta)?
http://docs.godotengine.org/en/latest/learning/features/physics/physics_introduction.html?highlight=_process#fixed-process-callback

Closing: as @brainsick  says, function has been renamed to _physics_process(delta)


Validate tossups heard

[ ] Game TUH should be nonnegative (except in the case of a forfeit)
[ ] Each player TUH should be ≤ game TUH. 0 could be permitted*, but probably doesn't mean
anything, so it should at least incur a strong warning. Negative should never be permitted.
[ ] Each player TUH should add up to ≥ (powers + tossups + interrupts)
[ ] Player TUH on each side should add up to ≤ (players per team at a time) * (game TUH)

*For instance, in formats with lightning rounds, a player might be subbed in for the lightning rounds and subbed backed out after.

Duplicate of #24, now that I wrote that all out


Dashrews/ROX-16157 remaining capacity metric

Description
A metric to provide available storage for Postgres when NOT using managed services.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
~- [ ] Evaluated and added CHANGELOG entry if required~
~- [ ] Determined and documented upgrade steps~
~- [ ] Documented user facing changes (create PR based on [openshift/openshift-docs]~(https://github.com/openshift/openshift-docs) and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
started a cluster and ran debug dumps and diagnostic bundles to see the metric is recorded.

/retest

/test gke-postgres-nongroovy-e2e-tests


Possible to hide line numbers but keep collapsible sections?

The title pretty much says it all. I've tried to do this by messing with the line number styling but it appears it also effects the collapsible buttons too.
Thanks! Keep up the great work. This package is amazing.

Hey!
There is no interface to justify your needs yet. If you fork the repo, you can hide line numbers column by changing the GutterWidget in lib/src/gutter.dart.

@cosmotek thanks for the suggestion, we will do it.

Soft rename LineNumberStyle to GutterStyle.
Add GutterStyle.showLineNumbers as bool.

Is this released?


Deprecate setCameraType for dynamic scene update

Set camera type should be deprecated and scene update should be used instead (https://github.com/tangrams/tangram-es/issues/650)

MapController API
Tangram API

Closed by #679

EraserMap code will also have to make this change.
cc. @ecgreb @sarahlensing


Add configuration setting for fail-fast matching/mapping

This is a marker. We'll wait and see if there's interest in this...
By default ModelMapper will not throw an exception if destination members are unmapped unless validate is called. A fail-fast configuration setting can be added to allow this behavior.

What is the way to achieve this with validate?..

I think the idea behind this issue was that we would automatically run validate before the first ModelMapper.map attempt for some TypeMap which would cause the map attempt to fail if some destination properties are unmapped. Each time the TypeMap changes, we'd need to flag it for validation again the next time ModelMapper.map is called.

That's a good idea, actually. Need help to implement that?

I'll leave it to @chhsiao90 to consider implementation since he owns the project now. I just wanted to at least share what I was (probably) thinking when I wrote this :)

Recently I'm a little busy at my side project, I'm not sure that I have time to pick this up. PR is welcome😄 .
Is that we can describe this issue with Adds a configuration flag, maybe called validateEveryTime, and when we enabled this flag, the modelMapper will validate the map and the destination every time when a mapping action happened.

I hope the implementation doesn't need to validate every time, just after the TypeMap changes, if that makes sense? Maybe validateBeforeMap for the configuration name?

Got it, that makes sense!


Add table of contents to some resource files

CHA resource could use a table of contents - it's very long.  Is it possible to have it hyperlinked more?

Can definitely do in the ones displaying on github, but may not be able to do in app. Same with the collapsible section issue - may have to change renderer in the app which may break things. Be good to develop a list of htings that we want like this so that when we look for the other renderer and try it it has all the features we want.


Password protection not working?

Hello,
I'm trying to create a password protected ZIP file, but I keep getting that the password is not correct when I try to unzip the contents:
var params1 = new ZipParameters();
params1.setEncryptionMethod(EncryptionMethod.ZIP_STANDARD);
params1.setCompressionLevel(CompressionLevel.NORMAL);
params1.setCompressionMethod(CompressionMethod.DEFLATE);
params1.setEncryptFiles(true);
params1.setFileNameInZip("file1.csv");
params1.setEncryptFiles(true);

var params2 = new ZipParameters();
params2.setEncryptionMethod(EncryptionMethod.ZIP_STANDARD);
params2.setCompressionLevel(CompressionLevel.NORMAL);
params2.setCompressionMethod(CompressionMethod.DEFLATE);
params2.setEncryptFiles(true);
params2.setFileNameInZip("file2.csv");
params2.setEncryptFiles(true);

var zip = new ZipFile("MY_ZIP.zip", "hello".toCharArray());
zip.addStream(s1, params1);
zip.addStream(s2, params2);

zip.getFile();
// Check the file...

This issue seems related: https://github.com/srikanth-lingala/zip4j/issues/6, but I'm using version 2.1.0, so it should be fixed now?
I'll report if I find anything else.
Thank you.

I can confirm that without a password, it's working just fine. The problem is when setting a password

out of curiosity: Does it work fine with AES encryption?

I added to both params1 and params2:
setEncryptionMethod(EncryptionMethod.AES);

Then I tried extracting with 7z, and only the first file could be extracted? The rest were marked as: ERROR: Wrong password
Could it be due to the fact I'm adding multiple streams with multiple ZipParameters? I can try with one file and STANDARD encryption.

 I forgot to remove the EncryptionMethod.STANDARD from all files.
To reply to your question: YES, it does work with AES encryption, so it's something to do with standard encryption that's failing.

I just tried to reproduce this issue. And yes, I agree with your findings: ZipFile.addStreams() works with AES encryption and not with ZipStandard.
I have also identified the problem, and will include a fix soon.

Thank you @srikanth-lingala

Fixed in v2.1.1 which is released today


Customer role is not retrieved from Backend while loging in as user0

#354 is related this,

This task is resolved in #354
PR linj: https://github.com/devonfw/my-thai-star/pull/992


Porting Reference LSTM Op from Lite to Micro

This issue is to track efforts to port the reference LSTM kernel from TF Lite to TFLM.

following instructions in https://github.com/tensorflow/tflite-micro/blob/main/tensorflow/lite/micro/docs/porting_reference_ops.md

What is the current status of the implementation? The unidirectionalSequenceLSTM is still missing in all_ops_resolver.cc ?


Change the PDFViewerApplication.open method to only accept objects

If this method was added today, I really can't imagine that we'd support anything except objects. Unfortunately we cannot just remove this now, since the code has existed since "forever", however we can deprecate this and limit it to only the GENERIC build.
Furthermore, we can avoid a redundant PDFViewerApplication.setTitleUsingUrl call in the Firefox PDF Viewer since the title has already been set previously in that case.

/botio integrationtest

Thank you for doing this!


Fixed #32993 -- Added AutocompleteJsonView.obj_to_dict().

Added AutocompleteJsonView.obj_to_dict() to enable customization of the fields of the results objects inside JsonResponse.
See https://code.djangoproject.com/ticket/32993

@tim-mccurrach, thank your for the review and attention to detail! I applied the suggestions and moved the advice to override serialize_result() into the docstring of get() where it is perhaps more relevant. Can this be improved further?

@mrts Thanks for this patch :+1: We should add a test for a custom AutocompleteJsonView.serialize_result() to the tests.admin_views.test_autocomplete_view.AutocompleteJsonViewTests, e.g.
def test_serialize_result(self):
    class AutocompleteJsonSerializeResultView(AutocompleteJsonView):
        def serialize_result(self, obj, to_field_name):
            return ...

        ...
        response = AutocompleteJsonSerializeResultView.as_view(**self.as_view_args)(request)
        ...

@mrts Thanks for this patch 👍 We should add a test for a custom AutocompleteJsonView.serialize_result() to the tests.admin_views.test_autocomplete_view.AutocompleteJsonViewTests, e.g.

Done - thanks for bringing this up and pointing me in the right direction!

@mrts Thanks :+1: Welcome aboard :boat:
I pushed minor edits.

Thank you!


Changing signature schemes without rotating the keys

Description of issue or feature request:
This PR added support for using pkcs#1v1.5 signature scheme for RSA keys.
Key-id represents a hash of keytype, key_value and scheme values (def _get_keyid) which now allows us to use one same key with multiple signature schemes.
If we just want to change signature schemes we need to do a key rotation (although private keys didn't change), which can be tricky in some cases.
For e.g. (rotating a root keys - changing schemes)
We have 3 root keys with scheme rsassa-pss-sha256:

123
456
789

Now we need to add same keys with different scheme rsa-pkcs1v15-sha256:

321
654
987

NOTE: Key id 123 and 321 both have the same private key!
If root threshold is set to 2 (num of keys - 1), someone will be able to use just one key and to sign metadata file twice (with different schemes) with that key. Increasing a threshold to 3 solves this problem, but should we add a feature to change signature schemes without rotating the keys?
Does scheme value still make sense to be used when calculating key-id hash?

The current implementation:

does not require or check canonical keyids (although it still uses them via securesystemslib key creation and import interfaces)
checks signature thresholds based on unique keyids only (see @jku's 48b58d9be984ee578e58c64ab1921daecff00f0c)

This means keyids no longer depend on the used signature scheme and metadata owners are responsible to choose the keyid<->key mappings such that thresholds can not be subverted.

For context, while both items above go against the current spec...
(wrt 1)

Clients MUST calculate each KEYID to verify this [the canonical form] is correct for the associated key

(wrt 2)

Clients MUST ensure that for any KEYID represented in this key list and in other files, only one unique key has that KEYID

... this strategy does align with the general direction of the spec (see the recently accepted TAP 12).


POWR2 - massive amounts of PTR requests

Hi,
I have a massive amount of PTR requests at my Pi-hole of the POWR2 device. I think it is since the last update of this integration but I am unsure.
It is one request every second.
Which logs could help here?
Thanks
Hyper

It just stopped spamming PTR and I have no clue why 🤷♂


#107 process table

Linked issue

Closes ducanhpham0312/zeevision-private#107

Description

Basic struct of process table with GORM tags in backend/internal/storage/storage_test.go

Database's environment variables in backend/internal/environment/environment.go

ConnectDb & CreateProcessTable functions in backend/internal/storage/database.go

Connect & create table in backend/cmd/zeevision/main.go

Unit test for connecting & creating table in backend/internal/storage/storage_test.go (which is not work cause the network of database is internal)

Testing

Run zeebee-test-bench docker compose, it is fine even postgres image is broken cause we just need the kafka exporter right now.
Run docker-copmose up -d
Access pgadmin, instruction in backend README
On the right menu dropbox, choose Servers/zeevision_db/Databases/zeevision_db/Shemas/public/Tables

If there is processes table that has columns as gorm struct, this branch is well working

Are any comments on the way I structuring DSN? I am not prettier sure is it clean or not.

I also fail backend/lints with Error: G101: Potential hardcoded credentials (gosec) as I search cause the database user & password are coded in environment.go which should instead store in env file or something.


KAFKA-7021: Reuse source based on config

This PR actually contains two changes:

leverage on the TOPOLOGY_OPTIMIZATION config to "adjust" the topology internally to reuse the source topic.

fixed a long dangling bug that whenever source topic is reused as changelog topic, write the checkpoint file for the consumed offset, this is done by union the ackedOffset from the producer, plus the consumed offset from the consumer, note we will priori ackedOffset since the same topic may show up in both (think about repartition topic), by doing this the consumed offset from source topics can be treated as checkpointed offset when reuse happens.

added a few unit and integration tests with / wo  the reusing, and make sure the restoration, standby task, and internal topic creation behaviors are all correct.

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@abbccdda @Ishiihara
@vvcephei @mjsax @bbejeck

I left a few comments, and I was also curious about several of @mjsax 's concerns, but assuming you hash those out, I'm +1 overall.

@guozhangwang Build failed with checkstyle error

Found the issue with failed system test, filed another PR: https://github.com/apache/kafka/pull/5170

Thanks for the reviews, I've merged it to trunk.
Will provide a separate PR for upgrade docs, and have separate PRs for older branches.

Cherry-picked to 2.0


does seaweedfs filer support redis cluster?

Hi.
I'm trying to use filer.
When I upload a file, filer returns 500 error with "(error) MOVED ..." message.
I guess the message is returned by redis and it means that key will be stored on other redis server.
So, I'm curious whether filer supports redis cluster.
If supports, how can I configure?
BR
Byungjo

Not now.
Need a redis cluster to develop this on.

yes now


[Question] Does this only look at prod listings

Hello,
I've tried to locate this information within the documents available and within the issues and been unsuccessful.
I think I already know the answer, but I'd like confirmation to ensure It is what I think and not a bug/misconfig.
Question, does this only support/look at production store listing on Android/iOS. I have an app which is still in development and therefore isn't yet available in prod - only TestFlight & Open Beta tracks.
When running locally, I encounter the following console error message
Required app information could not be fetched
Tom

Hi @0xRenshaw,
Yes, as far as I know, there must be at least one prod version.
If the prod version is available, you can test with internal app sharing: https://developer.android.com/guide/playcore/in-app-updates/test
Best release the first app version without this plugin and add it afterwards.


Fix package main

The current package.json main points to src/index.js which includes ES2015 syntax. This causes a problem in older browsers like Safari 9.  It really boils down to one let _id = 0; in services/idGenerator.js`

👍 thanks @toneplex


create-data-object: Fix waitForSuccess for objects with generateName

What this PR does / why we need it:
To be able to waitForSuccess of objects that have generateName set, the
created object needs to be returned by the CreateDo method. Tests are
added to ensure that waitForSuccess for objects with generateName works.
Which issue(s) this PR fixes:
Fixes #174
Release note:

None

/cc @opokornyy

/retest

/lgtm
/approve


Added colorScheme option and customClasses options for blocks

Added support for easy theming. colorScheme option is available in PluginOptions with primaryColor, secondaryColor and quaternaryColor as string props to add hex color codes to override the default color scheme.
Added support for easy customization of blocks. customClasses option available in PluginOptions with blocks prop which handles the customClasses for blocks. This prop contains vector prop to wrap the svg element with a div element with the class provided as the string value. text prop handles custom class for the label div wrapper. class prop can be used to apply custom class on the parent div wrapper for the block. The classes of block prop are applied on all the blocks to make all blocks share the same class which can be used to easily customize their look and feel.
index.html demonstrates how to use the new plugin options

Hi,
Thanks for reaching out. Unfortunately I can't merge these changes as is.

you should probably use custom blocks to add your own custom classes when you need more customization. I could agree to an option, but the current design needs a lot of work since it is unclear that vector === media and class === attributes.class. Again, probably easier to just use custom blocks on your end.

I can't merge the theme changes since it is a breaking change. I'm not a fan of removing the useCustomTheme option and replacing it with something else. Perhaps we can extend it by also allowing an object to be passed down such as:

useCustomTheme: {
    primaryColor?: string,
    secondaryColor?: string,
    quaternaryColor?: string
},

Sure @DRoet, I understand your concerns and we can surely extend the useCustomTheme option.
Also, regarding the blocks I want to provide options to easily add custom classes to the default blocks. Since it's easier for users to customize the existing blocks with look and feel of their choice rather than creating every block as a custom block. Apart from that, I am also thinking to add options to easily customize the svg icons of the default blocks which can be a great timesaver for the developers.

Yeah this can't be merged due to issues already mentioned by @DRoet


Update documentation / templates

Update repository documentation and templates

@tlbueno are you still working on this issue?

I think this one can be closed.


[DC-1901] [CircleCI] Run a nightly job to remove stale test environment datasets

This is for removing stale datasets. Removing stale buckets is done in (https://github.com/all-of-us/curation/pull/1025).

@nishanthpp93
Because of the new configuration, the integration tests' dataset naming rule changed for my execution.
The datasets used to be created like:
all_of_us_curation_hm_dc_1901_delete_stale_datasets_xyz
But with this configuration, the datasets are named like:
all_of_us_hiro_mishima_hm_dc_1901_delete_stale_datasets_xyz
Since the dataset names got longer, the integration tests are failing for me now. As a workaround, I will rename my branch from hm/dc_1901_delete_stale_datasets to hm/dc_1901. It might force me to close this pull request and create a new pull request with the new branch. FYI!


Design decisions

Ninth section of the documentation to be done
See https://docs.arc42.org/section-9/ for more info

First version of part 9 finished -> a5355b0


hwi enumerate taking 20 seconds on Windows

Every once in a while hwi enumerate will take 20 seconds on my Windows 10 machine.
In such cases, this timeout gets hit for both trezor and keepkey, adding up to 20 second duration.
@nopara73 @lontivero Do you guys ever see this?
Thoughts on lowering the timeout? (cc @prusnak)

It makes sense to lower the timeout to 1 second here: https://github.com/bitcoin-core/HWI/blob/master/hwilib/devices/trezorlib/transport/udp.py#L88
Another option is to not use UDP transport at all as this is needed only for the emulator. And the inclusion of the UDP transport could be hidden behind a command-line option for example.

I'm the real G.O.A.T
On Fri, Oct 18, 2019, 7:42 PM Andrew Chow<EMAIL_ADDRESS>wrote:

Closed #269 https://github.com/bitcoin-core/HWI/issues/269 via #270
https://github.com/bitcoin-core/HWI/pull/270.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bitcoin-core/HWI/issues/269?email_source=notifications&email_token=ANAQ6OKFD75ISVCODB42S6TQPJJXBA5CNFSM4JCDZX42YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUKCNL3Y#event-2726614511,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANAQ6OOCLRO7ANGTNVC4D4DQPJJXBANCNFSM4JCDZX4Q
.


[question] How can I get current-context

I created a connection to remote K8s server with username and password. How can I get current-context like using command: "kubectl config current-context"

@hoangphuocbk  you can use config.list_kube_config_contexts()[1] to get the current context.

Thank @nurus ^^

How to select specific context?

To select specific context:
kubernetes.config.load_kube_config(
            config_file=os.environ['KUBECONFIG'],
            context="my-context")

This will set configuration for kubernetes.client. It won't change your kubectl context, just internally for that specific object of kubernetes.client.

How does this work for load_incluster_config()?   From what I can tell, it doesn't.  If that's so, I'd appreciate a generic solution that works within and without.

I was also looking for a way to change context when using load_incluster_config() until I realized that doesn't make sense. Why? Context is the combination of cluster, namespace and user. So @adubkov has the right answer - always use load_kube_config() if you want to the ability to specify the context to use.


Error: native promise missing on Download Settings

🐛 Describe the bug
There is an error during "Download Settings" which is shown via notification message:

notificationsAlerts.ts:41 Sync : Error Logged In Console

Meta:
🌴 Visual Studio Code Version : 1.26.1
🌴 Code Settings Sync Version : 3.1.0
🌴 Operating System : Windows 7 x64
🌴 Occurs On: Download
🌴 Proxy Enabled: No
🌴 Gist Id: [ ID_HERE ]
📰 To Reproduce
Steps to reproduce the behavior:

Update the extension to the newest version (3.1.0)
Command Palette: "Sync: Download Settings"
See the error

💪 Expected behavior
Without an error?
📺 Console Error Log
[Extension Host] Error: native promise missing, set fetch.Promise to your favorite alternative
	at fetch (%USERPROFILE%\.vscode\extensions\shan.code-settings-sync-3.1.0\node_modules\node-fetch\lib\index.js:1313:9)
	at request (%USERPROFILE%\.vscode\extensions\shan.code-settings-sync-3.1.0\node_modules\@octokit\rest\lib\request\request.js:42:10)
	at restRequest (%USERPROFILE%\.vscode\extensions\shan.code-settings-sync-3.1.0\node_modules\@octokit\rest\lib\request\index.js:8:10)
	at %USERPROFILE%\.vscode\extensions\shan.code-settings-sync-3.1.0\node_modules\before-after-hook\lib\register.js:38:12
	at <anonymous>

📺  Additional context
Upd: The same for Upload.

I have updated the extension, Reset extension Settings can you uninstall the extension, reload code - install extension

I am not sure about all of these steps, but the new version (3.1.1) works without errors now.
So I guess that I don't have to reset its settings.

I am getting this error on 3.1.2, can we reopen this? I reset everything, reinstalled VSCODE, etc.

Same error. Ver - 3.1.2 Clean installation and new clean Windows

Same, insiders 1.29.0


Mark the swift_wrapper attribute as inheritable

(as it should have been all along)
This prevents a crash in the case where someone happened to redeclare the typedef later, and then different Swift compilation contexts treated the typedef differently.
rdar://problem/31935341

@adrian-prantl or @devincoughlin, mind reviewing this Clang change for the 4.0 branch, since Michael (and Doug) are both pretty swamped?

Based on my (limited) understanding of clang's AST this change seems safe/reasonable to me.

Thanks, both!


New feature: Microsoft.Bot.Builder.AI.TextTranslator assembly to accelerate localized Bots

A new assembly to accelerate creation localized Bots using Microsoft Translator or Deepl (best results for German language). My Class is TextTranslator which returns the translated text from a ITurnContext or string. The whole assembly is build using the same styles and principles as the other AI assemblies.
A Microsoft.Bot.Configuration.TextTranslatorService class was also added to support encrypted .bot files. Impcat on BotEmulator etc. has not been verified.
Extensions for the future could be a Middleware which translates the communication flow automatically.
Please feel free to integrate it into the framework.
PS: Node.js Version of TextTranslator is not planned by me.
Have a nice day.

@lolochristen This is a very fascinating pull request.
We've had a number of translations in this product area over the last 24 months, all of which had pros and cons. We ended up deciding - at the product level - this is something we're deliberately holding off on for now.
I would STRONGLY suggest you add this to the BotBuilder-Community repo.


Separate lib file for the subset of es2023.array methods implemented in Node 18 and 19

⚙ Compilation target
es2022
⚙ Library
["es2023"]
Missing / Incorrect Definition
See this issue https://github.com/tsconfig/bases/issues/217. @tsconfig/node18 should be able to include findLast and findLastIndex while avoiding the copying methods unavailable in Node 18.
Sample Code
If tsconfig.json contains "extends": "@tsconfig/node18", code using toReversed(), toSorted(), etc. shouldn't compile but it does.
Documentation Link
No response

There's no way to tractably do this in a way that accounts for all possible runtimes' variations of support levels. If something doesn't support the full 2023 suite yet, it should be set to 2022.

Could a config use its own files in lib? That would solve the problem as well.

I see https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/#supporting-lib-from-node_modules, maybe that can work for them.


Update 22.06 changelog to include new commits [skip ci]

Signed-off-by: Peixin Li<EMAIL_ADDRESS>include new merged commits of branch-22.06

build


Dose the UWP out-of-process background task support async?

Describe the bug
The sample in the microsoft documentation exactly write an async "Run()" function in the background class.I copied these codes to my program but I got this manifest error when i tried to run it.
"error 80080204: App manifest validation error: Line 33, Column 12, Reason: If it is not an audio background task, it is not allowed to have EntryPoint="PixivCSTest.UWPBackgroundTask" without ActivatableClassId in windows.activatableClass.inProcessServer.	PixivCSTest	I:\PixivCSTest\PixivCSTest\bin\x64\Debug\AppxManifest.xml"
I searched on google and found this answer from visualstudio developer community:
"After some more digging, I can confirm that 'async' isn't supported in this case.
The AppxManifest generation harvests data from the related winmds to populate the InProcessServer nodes; the platform doesn't recognize async implementations and so never registers the entry point."
Here is the link: https://developercommunity.visualstudio.com/content/problem/606866/uwp-solution-with-timer-backgroundtask-no-longer-b.html
To Reproduce
Steps to reproduce the behavior:

Create a UWP project.
Follow the documentation"Create and register an out-of-process background task" to create the "UWPBackgroundTask" class.
Create a timetrigger object and write registered function in MainPage class.
Declare the background task in the app manifest.
Run the application in debug and get the error.

Desktop:

OS Version: Windows 10 18363.836
IDE: Visual Studio 2019 version 16.6.0
Project Target Version: 10.0 18362
Project Min Version: 10.0 17134

Additional context
The documentation link:
https://docs.microsoft.com/en-us/windows/uwp/launch-resume/create-and-register-a-background-task
Declaration in the package.appmanifest:
<Extensions>
    <Extension Category="windows.backgroundTasks" EntryPoint="PixivCSTest.UWPBackgroundTask">
      <BackgroundTasks>
        <Task Type="timer"/>
      </BackgroundTasks>
    </Extension>
</Extensions>

@YukinoShary Please submit feedback by clicking on the button at the doc's bottom.


Flaky Test: istio.io/istio/tests/integration/mixer/policy.TestRateLimiting_RedisQuotaFixedWindow

https://testgrid.k8s.io/istio-postsubmits-master#integration-k8s-tests&sort-by-flakiness=
https://prow.k8s.io/view/gcs/istio-prow/logs/istio-integ-k8s-tests-master/233

Don't see this as flaky in https://testgrid.k8s.io/istio-postsubmits-master#integ-mixer-k8s-postsubmit-tests&sort-by-flakiness=. But the number of results are really less to make a proper decision.
Will wait for a day or two more to close this bug.

The Postsubmit page is missing entries because of a missing JUnit report
creation step. There might still be some failures. While not as clean as
the postsubmit, presubmit is showing some failures:
https://testgrid.k8s.io/istio-presubmits-master#integ-mixer-k8s-presubmit-tests&sort-by-flakiness=
On Thu, Jun 13, 2019 at 4:25 PM Nupur Garg<EMAIL_ADDRESS>wrote:

Don't see this as flaky in
https://testgrid.k8s.io/istio-postsubmits-master#integ-mixer-k8s-postsubmit-tests&sort-by-flakiness=.
But the number of results are really less to make a proper decision.
Will wait for a day or two more to close this bug.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/14494?email_source=notifications&email_token=AECHYIYOIPJ6UGHLMF7KQVTP2LJNFA5CNFSM4HR6AQ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXVJPNQ#issuecomment-501913526,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AECHYI5RPDOODU2ZHZQEPVTP2LJNFANCNFSM4HR6AQ5A
.

Closing as fix is in...


provide an package client error to match for non existing database.

Provide some official string constants as client error code.
Current behavior:
The query method of influxdb client returns an error, but there is not stable way of determining its type other than string matching.
Desired behavior:
Provide some official error code, or just some sting contants that we can use to determine the error type.
Use case
Some monitoring clients (promethus remote storage adaptor) needs to create database in influxdb if database not exist.
https://github.com/prometheus/prometheus/pull/3542#pullrequestreview-98503220
here is one example how this is handled in the standard os package
https://golang.org/pkg/os/#IsNotExist

I agree this would be helpful, but a workaround at the moment is just to always create the database. It's an idempotent operation so you can do it as much as you want.

got it thanks.


Feature: Use modify api for fabric slices.

Ensure that fabric can add nodes without having to destroy a slice.
Ensure that fabric can delete nodes without having to destroy a slice.

@xi-yang
Had to patch fabric extensions. Raised PR extension and PR has been merged by Komal.
Completed:

done for slices with nodes only
done for slices with L2 networks and nodes ...
Need to test slices with L3 networks ...

@xi-yang
We are able to modify slices with L3VPN/L2VPN by adding nodes and deleting them. The only thing that is missing right now is the ability to
create a slice with 0 nodes with an L3VPN. Komal is on it.


java: package fi.helsinki.cs.tmc.edutestutils does not exist

User reported following error with W8, jdk8 2016-nodl. first exercise:
java: package fi.helsinki.cs.tmc.edutestutils does not exist

Should be fixed by 457030dca1cee51ff60a26bad919014b603a1a27.


fix ReadTheDocs configuration

closes #71

Looks like docs/source/conf.py and possibly other related doc infrastructure also need updating.

Something still isn't right. Somehow it ended up trying to build with a very old Sphinx v1.8.5 even though it initially found modern Sphinx v7

Is this really necessary?
https://github.com/spacetelescope/stsci.skypac/blob/3a8d671fd2c25677fbb9014af2082399e53fb3fa/docs/source/conf.py#L207

I think it finally installed and trying to build the docs but has problem finding the namespace packages.
* ModuleNotFoundError: No module named 'stsci.tools'
* AttributeError: module 'stsci' has no attribute 'skypac'

ugh, another namespace issue. I'll take a look at this today

Thanks!

this is so odd
❯ python -c "import stsci.tools"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'stsci.tools'

Looks like RTD had not built successfully for 2 years for this package. Probably have to clean up a bunch of tech debt first.

So looking at one of the warnings:
WARNING: Failed to import stsci.skypac.parseat.
Possible hints:
* ModuleNotFoundError: No module named 'stsci.tools'
* AttributeError: module 'stsci' has no attribute 'skypac'

And the actual content of docs/source/parseat.rst:
===========================================================
Utility functions for parsing user catalog files for skypac
===========================================================

.. moduleauthor:: Mihai Cara<EMAIL_ADDRESS>
.. currentmodule:: stsci.skypac.parseat

.. automodule:: stsci.skypac.parseat
   :members:

I feel like possible hints might be red herring. My hunch is you have to tweak either currentmodule, automodule, or both. At this point, try to build the doc locally with different tweaks until this warning goes away, and then apply similar patches to the other API docs.
p.s. moduleauthor is unnecessary and probably can be removed.


feat: Check if signing fails when revoked key is used

Hey @stbrody It is draft, because I am really not sure if the code is all right, and fits the whole test suite.

@stbrody addressed all the comments.

That's a good point @stbrody.
@ukstv Can you make sure we capture a story for the test Spencer suggested (no need to implement in this sprint).

This is captured in https://github.com/3box/ceramic-integration-tests/issues/62


[v2.1.0] SpatialAwareness/SpatialAwarenessGettingStarted.md

diff --git a/Documentation/SpatialAwareness/SpatialAwarenessGettingStarted.md b/Documentation/SpatialAwareness/SpatialAwarenessGettingStarted.md
index e73754d42..cd92fa4e9 100644
--- a/Documentation/SpatialAwareness/SpatialAwarenessGettingStarted.md
+++ b/Documentation/SpatialAwareness/SpatialAwarenessGettingStarted.md
@@ -2,66 +2,70 @@

 ![Spatial Awareness](../../Documentation/Images/SpatialAwareness/MRTK_SpatialAwareness_Main.png)

-The Spatial Awareness system provides real-world environmental awareness in mixed reality applications. When introduced on Microsoft HoloLens, spatial awareness provided a collection of meshes, representing the geometry of the environment, which allowed for compelling interactions between holograms and the real-world.
+The Spatial Awareness system provides real-world environmental awareness in mixed reality applications. When introduced on Microsoft HoloLens, Spatial Awareness provided a collection of meshes, representing the geometry of the environment, which allowed for compelling interactions between holograms and the real-world.

-## Getting Started
-
-Adding support for spatial awareness requires two key components of the Mixed Reality Toolkit: the spatial awareness system and a supported platform provider.
+> [!NOTE]
+> At this time, the Mixed Reality Toolkit does not ship with Spatial Understanding algorithms as originally packaged in the HoloToolkit. Spatial Understanding generally involves transforming Spatial Mesh data to create simplified and/or grouped Mesh data such as planes, walls, floors, ceilings, etc.

-1. [Enable](#enable-spatial-awareness) the spatial awareness system
-2. [Register](#register-observers) and [configure](#configure-observers) one or more spatial observers
-3. [Build and deploy](#build-and-deploy) to a platform that supports spatial awareness
+## Getting Started

-### Enable Spatial Awareness
+Adding support for Spatial Awareness requires two key components of the Mixed Reality Toolkit: the Spatial Awareness system and a supported platform provider.

-The spatial awareness system is managed by the MixedRealityToolkit object (or another [service registrar](xref:Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar) component). The steps below are not necessary for users of the default profile (DefaultMixedRealityToolkitConfigurationProfile) which has this system already enabled. The following steps presume use of the MixedRealityToolkit object. Steps required for other service registrars may be different.
+1. [Enable](#enable-the-spatial-awareness-system) the Spatial Awareness system
+2. [Register](#register-observers) and [configure](ConfiguringSpatialAwarenessMeshObserver.md) one or more spatial observers to provide mesh data
+3. [Build and deploy](#build-and-deploy) to a platform that supports Spatial Awareness

-> [!NOTE]
-> The spatial awareness system is disabled by default on the default HoloLens 2 profile (DefaultHoloLens2ConfigurationProfile), and the intent of this is to avoid the visual overhead of calculating and rendering the meshes.
+### Enable the Spatial Awareness system

-1. Select the MixedRealityToolkit object in the scene hierarchy.
+The Spatial Awareness system is managed by the MixedRealityToolkit object (or another [service registrar](xref:Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar) component). Follow the steps below to enable or disable the *Spatial Awareness system* in the *MixedRealityToolkit* profile.

-![MRTK Configured Scene Hierarchy](../../Documentation/Images/MRTK_ConfiguredHierarchy.png)
+The Mixed Reality Toolkit ships with a few default pre-configured profiles. Some of these have the Spatial Awareness system enabled OR disabled by default. The intent of this pre-configuration, particularly for when disabled, is to avoid the visual overhead of calculating and rendering the meshes.

-2. Navigate the Inspector panel to the Spatial Awareness System section and check *Enable Spatial Awareness System*
+| Profile | System Enabled by Default |
+| --- | --- |
+| [DefaultHoloLens1ConfigurationProfile](https://github.com/microsoft/MixedRealityToolkit-Unity/blob/mrtk_development/Assets/MixedRealityToolkit.SDK/Profiles/HoloLens1/DefaultHoloLens1ConfigurationProfile.asset) | False |
+| [DefaultHoloLens2ConfigurationProfile](https://github.com/microsoft/MixedRealityToolkit-Unity/blob/mrtk_development/Assets/MixedRealityToolkit.SDK/Profiles/HoloLens2/DefaultHoloLens2ConfigurationProfile.asset) | False |
+| [DefaultMixedRealityToolkitConfigurationProfile](https://github.com/microsoft/MixedRealityToolkit-Unity/blob/mrtk_development/Assets/MixedRealityToolkit.SDK/Profiles/DefaultMixedRealityToolkitConfigurationProfile.asset) | True |

-![Enable Spatial Awareness](../../Documentation/Images/SpatialAwareness/MRTKConfig_SpatialAwareness.png)
+1. Select the MixedRealityToolkit object in the scene hierarchy to open in the Inspector Panel.

-3. Select the Spatial Awareness System implementation
+    ![MRTK Configured Scene Hierarchy](../../Documentation/Images/MRTK_ConfiguredHierarchy.png)

-![Select the Spatial Awareness System Implementation](../../Documentation/Images/SpatialAwareness/SpatialAwarenessSelectSystemType.png)
+1. Navigate to the *Spatial Awareness System* section and check *Enable Spatial Awareness System*

-### Register observers
+    ![Enable Spatial Awareness](../../Documentation/Images/SpatialAwareness/MRTKConfig_SpatialAwareness.png)

-Before the spatial awareness system can provide applications with data about the real-world, at least one spatial observer must be registered. Spatial observers are generally platform specific components that may vary in the type(s) of data (ex: meshes) provided.
+1. Select the desired Spatial Awareness system implementation type. The [`MixedRealitySpatialAwarenessSystem`](xref:Microsoft.MixedReality.Toolkit.SpatialAwareness.MixedRealitySpatialAwarenessSystem) is the default provided.

-1. Open or expand the Spatial Awareness System profile
+    ![Select the Spatial Awareness System Implementation](../../Documentation/Images/SpatialAwareness/SpatialAwarenessSelectSystemType.png)

-![Spatial Awareness System Profile](../../Documentation/Images/SpatialAwareness/SpatialAwarenessProfile.png)
-
-2. Click "Add Spatial Observer"
-3. Select the Spatial Observer implementation
+### Register observers

-![Select the Spatial Observer Implementation](../../Documentation/Images/SpatialAwareness/SpatialAwarenessSelectObserver.png)
+Services in the Mixed Reality Toolkit can have [Data Provider services](../Architecture/SystemsExtensionsProviders.md) that supplement the main service with platform specific data and implementation controls. An example of this is the Mixed Reality Input System which has [multiple data providers](../Input/InputProviders.md) to get controller and other related input information from various platform-specific APIs.

-> [!NOTE]
-> Users of the default profile (DefaultMixedRealitSpatialAwarenessSystemProfile) will have the spatial awareness system pre-configured to use the [WindowsMixedRealitySpatialMeshObserver](xref:Microsoft.MixedReality.Toolkit.WindowsMixedReality.SpatialAwareness.WindowsMixedRealitySpatialMeshObserver) from the Mixed Reality Toolkit Windows Mixed Reality Provider package.
+The Spatial Awareness system is similar in that data providers supply the system with mesh data about the real-world. The Spatial Awareness profile must have at least one Spatial Observer registered. Spatial Observers are generally platform specific components that act as the provider for surfacing various types of mesh data from a platform specific endpoint (i.e HoloLens).

-#### Configure observers
+1. Open or expand the *Spatial Awareness System profile*

-Once the spatial observer(s) have been registered with the system, they can be configured to provide the desired data. When configuring a spatial observer, many implementations will auto-populate the observer's configuration profile with common default values.
+    ![Spatial Awareness System Profile](../../Documentation/Images/SpatialAwareness/SpatialAwarenessProfile.png)

-1. Open or expand the Spatial Observer profile
+1. Click the *"Add Spatial Observer"* button
+1. Select the desired *Spatial Observer implementation type*

-![Spatial Mesh Observer Profile](../../Documentation/Images/SpatialAwareness/SpatialAwarenessMeshObserverProfile.png)
+    ![Select the Spatial Observer Implementation](../../Documentation/Images/SpatialAwareness/SpatialAwarenessSelectObserver.png)

-2. Configure the desired options
+1. [Modify configuration properties on the observer](ConfiguringSpatialAwarenessMeshObserver.md) as necessary

-The illustration in the previous step shows the configuration profile for a spatial mesh observer. Please see [Configuring the Spatial Awareness Mesh Observer](ConfiguringSpatialAwarenessMeshObserver.md) for more information pertaining to the specific settings available to mesh observers. Other observers may have similar settings.
+> [!NOTE]
+> Users of the [DefaultMixedRealityToolkitConfigurationProfile](https://github.com/microsoft/MixedRealityToolkit-Unity/blob/mrtk_development/Assets/MixedRealityToolkit.SDK/Profiles/DefaultMixedRealityToolkitConfigurationProfile.asset) will have the Spatial Awareness system pre-configured for the Windows Mixed Reality platform which uses
+the [`WindowsMixedRealitySpatialMeshObserver`](xref:Microsoft.MixedReality.Toolkit.WindowsMixedReality.SpatialAwareness.WindowsMixedRealitySpatialMeshObserver) class.

 ### Build and Deploy

-Once the spatial awareness system is configured with the desired observer(s), the project can be built and deployed to the target platform.
+Once the Spatial Awareness system is configured with the desired observer(s), the project can be built and deployed to the target platform.
+
+> [!IMPORTANT]
+> If targeting the Windows Mixed Reality platform (ex: HoloLens), it is important to ensure the [Spatial Perception capability](https://docs.microsoft.com/en-us/windows/mixed-reality/spatial-mapping-in-unity) is enabled in order to use the Spatial Awareness system on device.

 > [!WARNING]
 > Some platforms, including Microsoft HoloLens, provide support for remote execution from within Unity. This feature enables rapid development and testing without requiring the build and deploy step. Be sure to do final acceptance testing using a built and deployed version of the application, running on the target hardware and platform.
@@ -69,5 +73,8 @@ Once the spatial awareness system is configured with the desired observer(s), th
 ## See Also

 - [Spatial Awareness API documentation](xref:Microsoft.MixedReality.Toolkit.SpatialAwareness)
-- [Configuring the Spatial Awareness Mesh Observer](ConfiguringSpatialAwarenessMeshObserver.md)
-- [Spatial Object Mesh Observer](SpatialObjectMeshObserver.md)
\ No newline at end of file
+- [Configuring Observer for Device](ConfiguringSpatialAwarenessMeshObserver.md)
+- [Configuring Observer for Editor](SpatialObjectMeshObserver.md)
+- [Creating a custom Observer](CreateDataProvider.md)
+- [Spatial Mapping Overview WMR](https://docs.microsoft.com/en-us/windows/mixed-reality/spatial-mapping)
+- [Spatial Mapping in Unity WMR](https://docs.microsoft.com/en-us/windows/mixed-reality/spatial-mapping-in-unity)

#62 で対応しています


4.0.0-RC2 does not support Oracle 12C connection configuration

Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:

Searched open and closed GitHub issues.
Read documentation: ShardingSphere Doc.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
4.0.0-RC2
Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-JDBC
Expected behavior
Actual behavior
When using Oracle 12c, the URL configuration is as follows:
Jdbc: oracle: thin:@<IP_ADDRESS>:11521/camp2.xxx.com
ShemaName gets the error value camp2
Reason analyze (If you can)
The OracleDataSourceMetaData class needs to be modified to support the configuration of oracle12c service name
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Example codes for reproduce this issue (such as a github link).
private final Pattern pattern = Pattern.compile("jdbc:oracle:(thin|oci|kprb):@(//)?([\w\-\.]+):?([0-9]*):/", Pattern.CASE_INSENSITIVE);

@timchan1011 Can you submit a pull request?

@timchan1011  This pr is related with #2949. We can discuss there.

你好：
由于之前在github上没提交过代码，很多操作不熟悉，希望多指导下。
我在本地编译是没问题的

为什么push上去就报错呢？
------------------ 原始邮件 ------------------
发件人: "Liang<EMAIL_ADDRESS>发送时间: 2019年9月1日(星期天) 下午5:14
收件人<EMAIL_ADDRESS>抄送: "陈悌宇"147312525<EMAIL_ADDRESS>主题: Re: [apache/incubator-shardingsphere]  4.0.0-RC2 does not supportOracle 12C connection configuration (#2911)
@timchan1011  This pr is related with #2949. We can discuss there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

For english only @timchan1011

Expired


Google Calendar and Trello integrations for project pages

When a project's page is first created, a Google Calendar and a Trello board are automatically created and embedded. Contributors should be able to assign tasks to themselves and change a task's status. Project leaders should be able to assign and change tasks and their statuses.
The embedded Google Calendar should be editable by anyone.
The Trello board should be automatically generated when the project is created (whose account should this belong to?) and should be visible to everyone.

Rough diagram of project page


Extension issue

Issue Type: Bug
Extension Name: LiveServer
Extension Version: 5.6.1
OS Version: Darwin arm64 20.6.0
VS Code version: 1.59.0

:warning: We have written the needed data into your clipboard. Please paste! :warning:

While going live my server is opening but its reloading many times ..I need a fix for this urgent as its frustrating while doing codes