Downloads directory ownership is lost

name: trusty
encrypted: yes, locked
Unmounting /mnt/stateful_partition/crouton/chroots/trusty...

When I open trusty, the "Downloads" folder is not accessible, Linux says I am not the owner. This is the only folder I can use as a bridge between Chrome-OS files and Linux's, plus is where all the info I download is stored (I work with biological data bases). Could this be related to a new update of Chrome-OS?.
Two days ago my Chromebook flagged an alert to restart the system so it can be updated. Last time the Chome-OS was updated I remember there were some twitches to be fix with Crouton to get Linux fully operative again (I don't remember exactly what was the issue but I found the solution here in those threads). Help, anyone?
When I open trusty I get some errors: the output is large. I don't know where to start with.
Entering /mnt/stateful_partition/crouton/chroots/trusty...
awk: run time error: redirection not allowed in sandbox mode
FILENAME="" FNR=0 NR=0
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-97-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.8.11 #1 SMP Fri Feb 2 17:11:57 PST 2018 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2539520 verity payload=PARTUUID=22cd8242-8cce-874d-9542-91939ecfa17d/PARTNROFF=1 hashtree=PARTUUID=22cd8242-8cce-874d-9542-91939ecfa17d/PARTNROFF=1 hashstart=2539520 alg=sha1 root_hexdigest=98cd89a8e2cc0400f8d40ed7fd5924d5bde22779 salt=fb0bb7c6fc2e5ec6fb19f3f767ec47a66c83ab49eab697895071e1d7b113011d" noinitrd vt.global_cursor_default=0 kern_guid=22cd8242-8cce-874d-9542-91939ecfa17d add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3
Build Date: 13 October 2017  01:59:06PM
xorg-server 2:1.15.1-0ubuntu2.11 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Fri Mar  2 20:42:54 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
Error org.freedesktop.DBus.Error.UnknownMethod: Method "ReleaseDisplayOwnership" with signature "" on interface "org.chromium.LibCrosServiceInterface" doesn't exist
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
crouton: version 1-20171109145451~master:35a16889
release: trusty
architecture: amd64
xmethod: xorg
targets: x11,extension,audio,keyboard,touch,xorg,xiwi,unity
host: version 10176.68.0 (Official Build) stable-channel peppy
kernel: Linux localhost 3.8.11 #1 SMP Fri Feb 2 17:11:57 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Cannot open /sys/class/tty/tty0/active: No such file or directory
Error: target STRING not available
(II) AIGLX: Suspending AIGLX clients for VT switch
Error org.freedesktop.DBus.Error.UnknownMethod: Method "TakeDisplayOwnership" with signature "" on interface "org.chromium.LibCrosServiceInterface" doesn't exist
THANKS!

@rhodotherm,
The error:

Error org.freedesktop.DBus.Error.UnknownMethod: Method "ReleaseDisplayOwnership" with signature ""

was first reported in Aug. 2017 here: Can't Initialize ubuntu with crouton #3375
This issue was fixed in Sep. 2017 here: Use updated dbus method calls #3378
Since your croutonversion of Nov. 2017 looks to be newer: Update contributors, I guess...
it seems strange that you're still getting that error.
However, since your chroot is a bit out of date it probably wouldn't hurt to update it and then see if you're still having this issue.
Hope this helps,
-DennisLfromGA

Thans Dennis!
I'm stepping into a new problem now; the command
sudo sh ~/Downloads/crouton -u -n trusty
does not find crouton.
I tried
chronos@localhost / $ sudo sh ~/mnt/stateful_partition/crouton -u -n trusty
but again it does nothing (sh: 0: Can't open /home/chronos/user/mnt/stateful_partition/crouton)

I think I solved it with another of your entries
Thanks a lot Dennis!

Solved!

@rhodotherm,
Awesome!
-DennisLfromGA

I also saw:
chronos@localhost / $ sudo enter-chroot
Entering /mnt/stateful_partition/crouton/chroots/xenial...
awk: run time error: redirection not allowed in sandbox mode
        FILENAME="" FNR=0 NR=0

And noticed that the Downloads folder is no longer unified. I tried
sudo sh ~/Downloads/crouton -u -n trusty
And also saw, as @rhodotherm did,
sh: 0: Can't open /home/chronos/user/Downloads/crouton

Just chiming in, i'm now following https://github.com/dnschneid/crouton/issues/2844

@jywarren,
Please read: https://github.com/dnschneid/crouton/issues/2844#issuecomment-255253154
Hope this helps,
-DennisLfromGA

Many thanks, I figured it out with your help!


Prevent sample hocons from being added to jar file

This would make the jar slightly smaller for Kinesis Enrich, ES Sink, and S3 Sink.

Sounds wise

Moving these files will cause links to the example configuration will break. But I think it's still worth it - if we leave them in src/main/resources it looks as though they are meant to go in the final jar. I think we should give each subproject a directory named "examples" and move the corresponding example hocon there.
The alternative is to configure sbt not to include them, using something like unmanagedResourceDirectories in Compile := Nil.

Completely agree - I think it's odd having example files in resources...

I have split this into #2566, #2567, and #2568.


Run shell inline on remote machine, with docker-compose fails the build on regular docker-compose output

I'm running a docker-compose command on a remote server using the remote shell script task, and it looks  like very line docker-compose output to the console is tagged as an error by the Shell script Task in VSTS

The probles in with docker-compose output some of the messages to stderr. I will close this


Fix agent update version

Pip install command is missing the '=='  to execute successfully

Hi @achaiah,
Thanks for your contribution!
Actually, the current implementation has its rational - it allows you to specify both exact versions (by setting CLEARML_AGENT_UPDATE_VERSION="==1.2.3" as well as other constraints (e.g. CLEARML_AGENT_UPDATE_VERSION="<=1.2.3")

Hmm... this is an "interesting" solution as I wouldn't have expected this format when providing an ENV variable. What's worse, it doesn't really produce any errors when you simply provide the version without the "==" which is what threw me for a loop in the first place.
I expected to be able to provide just the version number.  Is this behavior documented anywhere? I had to dig through the source code to figure it out but I'm new to ClearML.

I'm not sure it's documented, but maybe the best thing to do is to simply add the option to provide a simple version as well (for example testing if the string is in "d.d" or "d.d.d" format and if so, append "=="?

Ok I think your suggestion would work. Please take a look at the regex that I added.

Ugh..lol yeah, the regex gets more complicated but I think I got it


Notion fails to launch (cookies.json)

Hi
When I install and lunch I get the following error:
2020-11-09 13:37:26.805] [info] Checking for update [2020-11-09 13:37:26.857] [info] Error reading /home/james/.config/notion-desktop/cookies.json Error: ~/.config/notion-desktop/cookies.json: ENOENT: no such file
The notion-desktop folder exists and contains other folders but not cookies.json

hmm can you try deleting the whole folder ~/.config/notion-desktop and see if it gets recreated?

It does get recreated but doesn't generate cookies.json
On Mon, 9 Nov 2020, 16:37 David Bailey<EMAIL_ADDRESS>wrote:

hmm can you try deleting the whole folder ~/.config/notion-desktop and
see if it gets recreated?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/davidbailey00/notion-deb-builder/issues/14#issuecomment-724127895,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABD32QGB3T2L2MYNXDO54MLSPALDZANCNFSM4TPL6ITQ.

It actually looks like the error is caused by the app not finding wget as somewhere it's hardcoded at /usr/bin/wget my system isn't FHS and wget exists elsewhere.

I've made some progress but now get:
Checking for update 22:28:26.811 › Error reading /home/james/.config/notion-desktop/assets.json Error: ENOENT: no such file or directory, open '/home/james/.config/notion-desktop/assets.json' 22:28:26.811 › Error reading /home/james/.config/notion-desktop/headers.json Error: ENOENT: no such file or directory, open '/home/james/.config/notion-desktop/headers.json'
and
Error: Error: Cannot find channel "latest-linux.yml" update info: HttpError: 404  "method: GET url: https://desktop-release.notion-static.com/latest-linux.yml?noCache=1emnhvrj2\n\nPlease double check that your authentication token is correct. Due to security reasons actual status maybe not reported, but 404.\n"

@jrobinson-uk If you can run Docker and Earthly, you can probably make this work the way you want: https://github.com/davidbailey00/notion-deb-builder/pull/15

I currently have it running via steam-run which seems to be providing a suitable enviroment

@jrobinson-uk Could you elaborate a little on your solution for others who have the same issue?
I've also a countered this issue with cookies.json

I happen to have steam installed, which comes with a utility called steam-run which can wrap binaries in a FHS environment. Whatever it is doing, it is meeting some dependency of notion's that I seem to be missing

@OllieJT @jrobinson-uk Can you try the latest release and see if this is still an issue?

closing since this issue has gone stale, and is likely fixed with the latest releases and/or is an issue with an uncommon system configuration - let me know if this is still an issue


Using multiple endorsers in a chain code

Hi,
I'm trying to have a setup such that there are 5 endorsing nodes involved in a particular channel (called ch1), where 5 endorsing nodes belong to 5 different physical machines, and whenever a client invokes a chain code action within this channel ch1, all 5 endorsing nodes should endorse it. But when a client invokes a chain code action, it seems that only a single endorser endorses it. My setup commands were as follows:
[Machine 1~5]:   // start a replica in each of 5 machines
$ ./startReplica.sh
[Machine 1]:  // start the front-end in Machine 1
$ ./startFrontend.sh 1000 10 9999
[Machine 1]:  // generate a genesis block in Machine 1
$ build/bin/configtxgen -profile SampleSingleMSPBFTsmart -channelID initialChannel -outputBlock genesisblock
[Machine 1]:   // start an orderer in Machine 1
$ build/bin/orderer start
[Machine 1~5]:   // start endorsing peers in all 5 machines
$ ./build/bin/peer node start
[Machine 1]:   // generate a configuration file for creating a new channel ch1
$ build/bin/configtxgen -channelID ch1 -outputCreateChannelTx ch1.tx -profile SampleSingleMSPChannel
[Machine 1]:   // generate a configuration file for updating anchor peers
$  ./build/bin/configtxgen -profile SampleSingleMSPChannel -outputAnchorPeersUpdate ch1-SampleOrg-anchor.tx -channelID ch1 -asOrg SampleOrg
[Machine 1]:   // create channel ch1
$ ./build/bin/peer channel create -o ${Machine1_IP_Address}:7050 -c ch1 -f ch1.tx
[Machine1 manually sends ch1.block (channel ch1's genesis block) to Machine 2, 3, 4, 5]
[Machine 1~5]:   // join channel ch1
$ ./build/bin/peer channel join -b ch1.block ;
[Machine 1~5]:   // install the chain code in all 5 machines
$ ./build/bin/peer chaincode install -n ch1 -v 1.0 -p github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02
[Machine 1]:   // client in Machine 1 instantiates a new chain code cc1 in channel ch1
$ build/bin/peer chaincode instantiate -o ${Machine1_IP_Address}:7050 -C ch1 -n cc1 -v 1.0 -c '{"Args":["init","a","100","b","200"]}'
[Machine 1]:   // client in Machine 1 invokes an action on chain code cc1
$ build/bin/peer chaincode invoke -C ch1 -n cc1 -v 1.0 -c '{"Args":["invoke","a","b","0"]}'
After I run the last command above (/build/bin/peer chaincode invoke -C ch1 -n cc1 ...), a new block gets created immediately, and this block contains only 1 endorsement signature. But I want this chaincode action to be endorsed by all 5 machines, and thereby to contain 5 endorsement signatures. How can I enforce this? (Possibly some of my commands above are wrong...)
Ronny

I noticed that you did not specified any endorsement policy when you instantiate the chaincode. Try specifying a policy when instantiating the chaincode as described here: https://hyperledger-fabric.readthedocs.io/en/release-1.1/endorsement-policies.html

Thanks for the great link teaching how to create endorsement policies.
But just one thing I am still unsure is how to identify each channel member's MSP ID & ROLE. For example, suppose that Machine 1 creates a new channel ch1 by running the following two commands:
$    ./build/bin/configtxgen -channelID ch1 -outputCreateChannelTx ch1.tx -profile SampleSingleMSPChannel ;
$ ./build/bin/peer channel create -o '${Machine 1's IP}':7050 -c ch1 -f ch1.tx ;
Now Machine 1 shares ch1.block with all other Machines.
And suppose that a new member joins this channel by running the following three commands:
$   ./build/bin/configtxgen -profile SampleSingleMSPChannel -outputAnchorPeersUpdate SampleOrg-anchor.tx -channelID ch1 -asOrg SampleOrg ;
$   ./build/bin/peer channel join -b ch1.block ;
$   ./build/bin/peer channel update -o ${Machine 1's IP}:7050 -c ch1 -f SampleOrg-anchor.tx
====== SampleOrg is defined in configtx.yaml as follows: ==============
Organizations:
- &SampleOrg
Name: SampleOrg
ID: DEFAULT
MSPDir: msp
AdminPrincipal: Role.ADMIN
AnchorPeers:
- Host: <IP_ADDRESS>
Port: 7051
In this case, what is the newly joined member's MSP ID & ROLE? I think the MSP ID id 'DEFAULT'. But what is this member's ROLE?

The MSP ID is defined in the ID field, which is set to DEFAULT. As for the role of the peer and signatures from the same organization, I have to admit I am not sure how it is supposed to work either. The lion share of our work in Fabric was dedicated to implement this ordering service and evaluating it under heavy loads, so we never got to configure a real network with Fabric. I would advise you to take these questions to the official fabric's mailing list or to their chat.

It seems that if we set the endorsement policy to be AND(DEFAULT.member, DEFAULT.member, DEFAULT.member), this policy will require endorsements from 3 different principals from DEFAULT organization.
However, the following command wouldn't collect endorsement signatures from multiple endorsers:
$ build/bin/peer chaincode invoke -C ch1 -n cc1 -v 1.0 -c '{"Args":["invoke","a","b","0"]}'
Instead, we need to use "--peerAddresses" flag to add all endorser addresses inside the above command. (Refer to: https://github.com/hyperledger/fabric/blob/ad8f4c4cb50b1a565924c7b2d51bc8cbe022aa46/examples/e2e_cli/scripts/script.sh#L220-L267)
However, "--peerAddresses" seems to be supported only in the development version (and hopefully as of Hyprledger Fabric v1.2).


Warning from Symantec Endpoint Protection Download Insight running jdk8 java.exe

When running the AdoptOpenJDK Java 8 builds on Windows, Symantec Endpoint Protection Download Insight identifies java.exe as a 'Security Risk' and pops up a Window claiming that it is

'Unproven': There is little evidence that this file is trustworthy
I am unable to suppress the pop ups because the Symantec settings are set by my employer.
Is there something which can be added to the build to make java.exe 'trustworthy'?

so this is how the code signing works, Microsoft now needs more than just codesigning to trust files (it also relies on quantity of downloads) Hopefully this will stop being an issue soon!
See https://github.com/AdoptOpenJDK/openjdk-build/issues/161 for a solution

Presumably that means that the number of downloads will start from zero for each new (e.g. nightly) build?

no it's actually about the number of times that certificate is found on Windows machines so in time it will be more trusted

With the latest build download I now just get one popup with a count of many times the 'risk' has occurred many popups which is much more manageable.  Closing this issue.


New Release - x64 vs x86

Greetings,
Received the email notification about the fix for Windows 10 (and other issues).  Great job and many thanks!
Please let me know if the fix applied to the x64 version, x86 version, or both versions.
I'm excited to finally start using my Ledger Nano S!  Appreciate your help.
Scott

This is a fresh release for all platforms and architectures (x86 / 32bits  and x64 / 64bits).


How to set no prompting for version update

How to set no prompting for version update

Hi @milkboylyf
Please post questions on our subreddit at https://www.reddit.com/r/codeserver/
You can pass in --disable-updates for versions prior to 3.3.0 as we've removed updates since then.
Pass --help for the full set of flags.


HPP terrain tessellation sample reports wrong statistics

The terrain tessellations sample displays statistics using a pipeline statistics query:

The HPP version of that sample does the same, but displays wrong values:

When debugging, I can see the correct values in the HPP ones after getting the query pool results, but they seem to get lost between this and the display. I wasn't able to find out why.
Maybe you can take a look at this @asuessenbach?

I'm sorry, but I can't repro this issue. The statistics look correct on my end.

Thanks for testing this. I can actually also reproduce this on Android with my Pixel 4a. While the non hpp version displays proper statistics, the hpp one always shows the same (probably wrong) values.

As noted in #832 this issue is still present.
It only happens in the hpp version and for two completely different setups:

My old setup with an RTX 2060 and Windows 10
My new setup with an RTX 4070 and Windows 11

I expect a sync/timing problem, as it seems to be more visible with hight framertates. On another setup with an integrated Intel GPU where I can't get vsync to disable I always see correct values.

As already noted, I can't repro this issue.
If anybody else could check on his setup and report here?

Just to rule out anything related to my setup: I can also reproduce this on my Google Pixel 4a. It's actually even a bit different there: The HPP version of the sample always displays the same (wrongs) values that never change, no matter where i look, whereas the non-HPP version works fine:

This is still happening for me, even with the recent change that limits gui updates.


deployment is not deleted after DeleteTarget in symphony-api standalone mode

Current symphony-api standalone mode relies on job manager poll process to queue a new job. If the target was deleted in deleteTarget call, the next polling cannot find the previous target, then it cannot generate the clean up job, which will cause the deployment left.

This is related to how to delete the target.
If we use direct=true, it only deletes the target state.

In apiclient.go, we will always set direct=true in apiclient.deleteTarget.
This will cause below symphony-api tests fail to clean up the deployments.
https://github.com/eclipse-symphony/symphony/blob/main/api/pkg/apis/v1alpha1/utils/symphony-api_test.go#L161
We need to fix the test.


[Bug] I installed all in one,bug there's some problerm with me

Internal error occurred: failed calling webhook "vresourcequota.kb.io": failed to call webhook: Post "https://warden.kubecube-system.svc:8443/validate-core-kubernetes-v1-resource-quota?timeout=10s": service "warden" not found

Please check out if there is service warden in specified ns by kubectl get svc -n kubecube-system, once not found, we should check out kubecube logs, search keywords warden.

thanks,it's resolved

Please check out if there is service warden in specified ns by kubectl get svc -n kubecube-system, once not found, we should check out kubecube logs, search keywords warden.

thanks,it's resolved


Update composer.json

Pass namshi/jose from v2 to v5

Hi, what are the benefits of the version 5 over 2 ? Are you sure it doesn't introduce any BC break ?


Update vue-pileup to show centerline

Thanks Anders!  The center line looks great.  I've added you as a write collaborator to this repo, so feel free to check in directly to gene.iobio.vue if you want to.


Add multiplatform support

which platforms to support?

Tests switched to kotest. It has jvm and js support.

Yes I know it is not a problem to implement synchronization analog. I can event simply drop all synchronization away, as kstatemachine classes are not intended to be thread-safe. I used synchronization in some cases just to prevent from common possible mistakes..
I am not sure about what platforms it might be useful to support. I don't have a project where is might be necessary in practice. Tell me if you have one?)

We would like to use multiplatform for Android and iOS, but I can't see really a usecase for synchronization beside the one you mentioned: prevent from common mistakes ;-).

Removed JVM synchronisation primitives in 0.10.0. It seems that now KStateMachine should be compatible to Kotlin multi-platform.
I am going to check it...

Current status: library itself successfully builds for jvm, js and possibly other targets. Kotest used as testing framework supports running tests on jvm and js. Mockk used for mocks supports only jvm.
I think I will add mutiplatform plugin to gradle files, so users will be able to build library for targets they need theirselves.

Here are some mocking libraries with multiplatfrom support.
https://github.com/kosi-libs/MocKMP
https://github.com/mockative/mockative

I think I will add mutiplatform plugin to gradle files, so users will be able to build library for targets they need theirselves.

I've switched few of my libraries to KMP and it was painful. A lot of issues with various gradle configs, plugins (especially maven-publish). Having reference project where it was already done helps a lot.
I would also suggest adding targets for ios*Arm64 and macos*Arm64, this is M1 stuff. I have recently created a PR for this for kotlin-result, which I also used as a sample while porting my libs to KMP, perhaps you would find it useful too (also all useful kmp-targets can be found there):
https://github.com/michaelbull/kotlin-result

@dimsuz cool, thank you!

This is done finally! https://github.com/nsk90/kstatemachine/releases/tag/v0.22.0 KStateMachine has moved to Kotlin Multiplatform
I will add more platforms soon..


Error downloading file from sandbox

When trying to download a file from the sandbox like this:
file : str = "path/to/file/in/sandbox/"
content_file = sandbox.files.read(file)
with open(local_file_path, 'wb') as f:
f.write(content_file)
I get an error that specifies:
a bytes-like object is required, not 'str'
Meaning that content_file i.e. the output of sandbox.files.read() is a string, instead of a bytes-like object as the documentations treats it like.

Sorry about this, we fixed the docs. Thanks for letting us know.


Support DISTINCT for SUM

Thanks for the PR @Boruch28 .  Had a look at the PR and added some comments.
I fear that the data for mid term evaluation ended by June 27 UTC.  The PR submission was late in my opinion and also the engagement with the community or with the mentor was very less. May be if we had an initial patch some time back it would have been easy for us to guide you thro and then the further patches could have already addressed the comments I had specified here. I would welcome you to continue with the patch based on your time and see if we can take it to closure. Thanks once again @Boruch28 .


fix(designer): Added timeDifference template Function

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
bug fix
What is the current behavior? (You can also link to an open issue here)
https://github.com/Azure/LogicAppsUX/issues/2800
What is the new behavior (if this is a feature change)?
added template function
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
no
Please Include Screenshots or Videos of the intended change:

The intellisense for datetimedifference is not showing up correctly in your video


Fixed wrong font color issue of Drawer nav item

Fixes # .

Changes proposed in this Pull Request:

updated itemFontColor .

Screenshots / Screen Recording (if applicable)

Before:

After:

To Test:

Any specific feedback you are looking for?

Looks good

Looks good, what's that underline below account and notification on 1st screenshot? @KomalGDhere-eaton

@shubham-eaton  please ignore that .


Update helpers/timeblocks.js

To align with newer documentation from Eduard on what are valid time blocks.
NB: he still has bugs in his code ... but I've made my detection match what he's publicly described.
NB: also works out what the theme regex needs to be.

Closing, as David has merged the changes.


test: fix svelte-query test

Codecov Report

:exclamation: No coverage uploaded for pull request base (v5@91b1656). Click here to learn what that means.
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@          Coverage Diff          @@
##             v5    #4937   +/-   ##
=====================================
  Coverage      ?   90.29%
=====================================
  Files         ?      105
  Lines         ?     3760
  Branches      ?      952
=====================================
  Hits          ?     3395
  Misses        ?      338
  Partials      ?       27

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Warning: "crypto:rand_bytes/1 is deprecated and will be removed in a future release;"

When compiling:

remote: ==> swoosh
remote: Compiling 21 files (.ex)
remote: warning: crypto:rand_bytes/1 is deprecated and will be removed in a future release; use crypto:strong_rand_bytes/1
remote:   lib/swoosh/adapters/local/storage/memory.ex:120
remote:
remote: Generated swoosh app

PR for this: https://github.com/swoosh/swoosh/pull/102


[win7-64bit,Anaconda,tensorflow 1.2.0,chrome]Tensorboard : No scalar was found

I can't see any data. It turned out to be : No scalar
was found
when I run the tensorboard ,there is no error or warning
Environment info
Windows 7 64-bit
Anaconda Python 3.5
Tensoflow installed from binary pip package
tensorflow version:1.2.0
Browser: Chrome 58
About the code
I just run the example code mnist_with_summries.py
it is in D:\Anaconda\Lib\site-packages\tensorflow\examples\tutorials\mnist\mnist_with_summaries.py
What have you tried?
I can see a log file called events.out.tfevents.*  in the folder I set. The file is about 16Mb big.
I call tensorboard --logdir=/tmp/tensorflow/mnist/logs/mnist_with_summaries --debug and I can verify the log dir is correct.
On the browser I can't see any data or graph is shown.
If I call tensorboard --inspect --logdir=/tmp/tensorflow/mnist/logs/mnist_with_summaries  It shows how  the tfevent file contains.

This is a question better asked on the tensorboard repository:
https://github.com/tensorflow/tensorboard/issues


implement graph save

Need to enable graphing save/restore, to improve ability to demonstrate the ability

For an Orient-backed installation, writes should be saved by Orient automatically. The same is also close to true, if memory serves, for a RexsterGraph in front of a TinkerGraph - when Rexster shuts down, it flushes the TinkerGraph. We could add a button to save the graph currently in view as a file.


Bug / counterintuitive behaviour in normalize_chunks when dict input doesn't cover all axes

Describe the issue:
When you pass a dict[<axis number>, <chunks_along_axis>] to dask.array.core.normalize_chunks that doesn't have an entry for every axis in the array, the resulting normalized chunks ignore the previous_chunks kwarg that I would have thought they are supposed to fall back to.
This behaviour isn't really wrong in the sense that the expected behaviour is not clearly documented, but I found it quite counter-intuitive, and the source of a subtle bug in xarray (see https://github.com/pydata/xarray/pull/9286#discussion_r1694019269).
Minimal Complete Verifiable Example:
In [1]: from dask.array.core import normalize_chunks

In [2]: normalize_chunks({0: 1, 1: 2}, shape=(3, 4))
Out[2]: ((1, 1, 1), (2, 2))

In [3]: normalize_chunks({0: 1}, shape=(3, 4))
Out[3]: ((1, 1, 1), (4,))

In [4]: normalize_chunks({0: 1}, shape=(4, 6), previous_chunks=((2, 2), (2, 2, 2)))
Out[4]: ((1, 1, 1, 1), (6,))

I would have thought the result of the last call should have been
Out[4]: ((1, 1, 1, 1), (2, 2, 2))

i.e. dimensions not supplied in the dict fall back to use the available entry in previous_chunks.
This comes up in xarray a fair amount because we support users asking to chunk along only one dimension (i.e. chunks={'lat': 10} when the array has dims=['lat', 'lon']), and our previous_chunks might be the previous chunking of the array or preferred chunks as arranged on-disk.
(Note this is different from wanting auto-chunking via 'auto'.)
If this were fixed then xarray could pretty much just use normalize_chunks out of the box for all its auto-chunking needs, but right now we have to have some weird little workarounds, and more exposure to bugs.
Anything else we need to know?:
n/a
Environment:

Dask version: 2024.7.1
Python version:
Operating System:
Install method (conda, pip, source):

This might also be related to https://github.com/dask/dask/issues/10603#issuecomment-1783813170

Currently previous_chunks is never used unless auto_chunks is used (which only happens if 'auto' is present somewhere. I think the fix could be to add a reference to previous_chunks if present on this line https://github.com/dask/dask/blob/main/dask/array/core.py#L3073.
    if -1 in chunks or None in chunks:
        chunks = tuple(s if c == -1 or c is None else c for c, s in zip(chunks, shape))

cc @TomAugspurger

(I'm happy to submit a fix for this if you agree with the desired behaviour)

IIUC, the desire is to fill in unspecified dimensions in the rechunk dict with values from previous_chunks?
I'd be a bit hesitant to change when previous_chunks is used without better understanding the ramifications. I suppose most users probably aren't passing chunks without auto and previous_chunks (since previous_chunks is only documented to have an effect when auto rechunking) but that's hard to say.
It looks like https://github.com/dask/dask/blob/main/dask/array/rechunk.py#L338-L346 is what you want. Maybe a new keyword argument to normalize_chunks, which applies that on the input dictionary, would be the safest option.

IIUC, the desire is to fill in unspecified dimensions in the rechunk dict with values from previous_chunks?

Exactly.

It looks like https://github.com/dask/dask/blob/main/dask/array/rechunk.py#L338-L346 is what you want.

Amazing, thanks @TomAugspurger ! By copying that little snippet into my xarray PR I was able to get the behaviour I wanted (i.e. a chunk normalization function that can deal with any chunking selection thrown at it).

Maybe a new keyword argument to normalize_chunks, which applies that on the input dictionary, would be the safest option.

I'm not sure whether it's worth changing code in dask.array.core.normalize_chunks to cover this case, but it's certainly a bit less important to me now that I know I can deal with it in xarray.

Glad to hear you got things working. FWIW, I'm coming around a bit to your perspective that previous_chunks should... use the previous chunks. I think on balance I'd prefer to keep things as they are (where previous_chunks only applies if there are any auto chunks), but I could be persuaded if others feel strongly.


build is long and slow

CI takes about 30 mins to run, primarily one step. I don't believe this uses cgo, so what could it be building? We should see what it is doing, and if there are ways to speed it up.

I did some digging into this. What I am seeing is that the vast majority of build steps take at most a few seconds, often less than a second.
A few steps take longer:

go mod download for native platform, ~24 seconds.
go mod download for alternate platform, i.e. under qemu, ~3 mins.
go build for native platform, ~4 mins.
go build for alternate platform, i.e. under qemu, 17-20 mins

Total time for the above: 17-20 mins +3 mins + 4 mins + 24 seconds = 24.5-27.5 mins
Clearly, the biggest issue is qemu emulated build. This isn't too surprising, given qemu speed. However, given that we are compiling a single go binary with CGO_ENABLED=0, we should be able to get a major performance boost by cross-compiling using go on the native platform, and using qemu only to assemble the final image. That should get our build to be closer to 10 mins. Not exactly clear how the actions support that, but we can look into it.
Once that is in place, it is worth questioning why the native go build takes 4 minutes. I assume it is because it needs to compile all of the library dependencies for the first time, whereas when running locally, I have all of the pkg dependences already compiled, and just the actual CPEM code needs to be compiled again.

#260 now is open to handle the cross-compiling natively. After that, we can shave a few minutes off by caching the go mod download.

Fixed by #260


Tutorial: pagination

see https://github.com/meilisearch/documentation/issues

see https://github.com/meilisearch/documentation/issues

You meant https://github.com/meilisearch/documentation/issues/561 ?
@CaroFG you already have some good material there. Let's not close the one in the documentation repo yet.
@bidoubiwa : FYI, we created it here since this will not go on the documentation doc, or we are not sure yet if it will be on the blog or not. Our way of managing those and the subtle difference was explained during the follow-up meeting where @react-learner spoke about the reorganization of the doc, but we will make all those things public, hopefully during Q1 where we have a lot of writing to do about how we operate as a team!

You meant https://github.com/meilisearch/documentation/issues/561 ?
@CaroFG you already have some good material there. Let's not close the one in the documentation repo yet.
@bidoubiwa : FYI, we created it here since this will not go on the documentation doc, or we are not sure yet if it will be on the blog or not. Our way of managing those and the subtle difference was explained during the follow-up meeting where @react-learner spoke about the reorganization of the doc, but we will make all those things public, hopefully during Q1 where we have a lot of writing to do about how we operate as a team!

I think a pagination guide would be great for the docs site, so I'm following this.

I think a pagination guide would be great for the docs site, so I'm following this.

MeiliSearch was not made for pagination. The idea is that you never have to "go to page 2". We don't want to encourage pagination, so we won't make a tutorial about it.


Change the appearance of navbar

-Change the color and design
-Make it look more standard

Can you assign me

Can you assign me

Sure!


ARROW-4741: [Java] Add missing type javadoc and enable checkstyle

This change:

Enables a check style rule on all public, protected and package visible classes/enums.
Adds missing javadocs to make the rule pass
Adds some private constructors to static method utility classes (some of these are  little bit short, and in some cases especially flight some of the purposes of classes was a littler hard to infer).
Cleans up redundant public qualifier on interfaces when found.

@emkornfield
Thanks a ton for doing this, couple gandiva classes looks like are failing with some checkstyle issues. Once we fix, we should be good to go.

@praveenbingo Build is green.

@BryanCutler did you want to take a look before I merge?

Merged to master


What is the status on the project?

Hi, @polygonplanet I looked at your module and seems to be a great work, but not compatible with latest ECMA specs. And some open tickets.
What is the plan with this module? Could I expect an refreshment of the module or should I look around for other options such as Acorn and Esprima?

Thanks!
I will fix bugs and support async/await at least.
Chiffon is different with Acorn and Esprima, to tokenized by regular expression, so I know that compatibility of ECMA-262 specification 100% can not be support.
Generic (often used) syntax will not be a problem.
I'm glad if you use this module, but I recommend Acorn or Esprima.


ego-vehivcle

Detected agent being stuck. Move for frame:  0
Detected agent being stuck. Move for frame:  1
Detected agent being stuck. Move for frame:  2
Detected agent being stuck. Move for frame:  3
Detected agent being stuck. Move for frame:  4
Detected agent being stuck. Move for frame:  5
Detected agent being stuck. Move for frame:  6
Detected agent being stuck. Move for frame:  7
Detected agent being stuck. Move for frame:  8
Detected agent being stuck. Move for frame:  9
Detected agent being stuck. Move for frame:  10
Detected agent being stuck. Move for frame:  11
Detected agent being stuck. Move for frame:  12
Detected agent being stuck. Move for frame:  13
Detected agent being stuck. Move for frame:  14
WARNING: attempting to destroy an actor that is already dead: Actor 3565 (vehicle.audi.tt)
Destroying ego-vehicle!
WARNING: attempting to destroy an actor that is already dead: Actor 3832 (vehicle.tesla.model3)
Destroying ego-vehicle!
WARNING: attempting to destroy an actor that is already dead: Actor 3833 (vehicle.audi.tt)
Destroying ego-vehicle!
Trying to remove a non-existing actor id 3565
WARNING: attempting to destroy an actor that is already dead: Actor 3568 (vehicle.audi.tt)
Destroying ego-vehicle!
Trying to remove a non-existing actor id 3568
Detected agent being stuck. Move for frame:  0
Detected agent being stuck. Move for frame:  1
Detected agent being stuck. Move for frame:  2
Detected agent being stuck. Move for frame:  3
Detected agent being stuck. Move for frame:  4
Detected agent being stuck. Move for frame:  5
Detected agent being stuck. Move for frame:  6
Detected agent being stuck. Move for frame:  7
Detected agent being stuck. Move for frame:  8
Detected agent being stuck. Move for frame:  9
Detected agent being stuck. Move for frame:  10
Detected agent being stuck. Move for frame:  11
Detected agent being stuck. Move for frame:  12
Detected agent being stuck. Move for frame:  13
Detected agent being stuck. Move for frame:  14
Error during the simulation:

trying to operate on a destroyed actor; an actor's function was called, but the actor is already destroyed.

Traceback (most recent call last):
File "/home/zizhen/work/TransFuser/leaderboard/leaderboard/leaderboard_evaluator_local.py", line 352, in _load_and_run_scenario
self.manager.run_scenario()
File "/home/zizhen/work/TransFuser/leaderboard/leaderboard/scenarios/scenario_manager_local.py", line 136, in run_scenario
self._tick_scenario(timestamp)
File "/home/zizhen/work/TransFuser/leaderboard/leaderboard/scenarios/scenario_manager_local.py", line 164, in _tick_scenario
self.scenario_tree.tick_once()
File "/home/zizhen/.conda/envs/transfuser/lib/python3.7/site-packages/py_trees/behaviour.py", line 158, in tick_once
for unused in self.tick():
File "/home/zizhen/.conda/envs/transfuser/lib/python3.7/site-packages/py_trees/composites.py", line 578, in tick
for node in child.tick():
File "/home/zizhen/.conda/envs/transfuser/lib/python3.7/site-packages/py_trees/composites.py", line 578, in tick
for node in child.tick():
File "/home/zizhen/.conda/envs/transfuser/lib/python3.7/site-packages/py_trees/behaviour.py", line 249, in tick
new_status = self.update()
File "/home/zizhen/work/TransFuser/scenario_runner/srunner/scenariomanager/scenarioatomics/atomic_criteria_local.py", line 2000, in update
location = self._actor.get_location()
RuntimeError: trying to operate on a destroyed actor; an actor's function was called, but the actor is already destroyed.

Stopping the route
Resetting ego-vehicle!

Hi, I encountered this issue. I can't find the code where the ego-vehicle is destroyed or reset. Could you help me?

I think the ego vehicle gets created here.

Thanks


vscode crash and break my file.

the vscode crash down and recover automatically, then I find my file opened before is broken. it say '此文件是二进制文件或使用了不支持的文本编码，无法在编辑器中显示。' now. In English maybe like 'This file is a binary file or uses an unsupported text encoding and cannot be displayed in the editor.'
here is my broken file , there should be only Chinese and English characters in it. does anyone can fix it... :(

That seems not encoding but hot-exit related.


Add unwrap_err  method to Result

Combining Result types with require statements is a bit clunky currently.
Rust has this method, and it would allow me to do the following:
let my_result = func_that_returns_result();
require(my_result.is_ok() && my_result.unwrap() == 42, my_result.unwrap_err());

Something like:
  /// Returns the contained `Err` value or a provided default.
    ///
    /// ### Examples
    ///
    /// ```
    /// enum Error {
    ///     Default: (),
    /// }
    ///
    /// let y: Result<u64, Error> = Result::Err(Error::Default);
    /// require(y.is_ok(), y.unwrap_err());
    ///
    /// ```
    pub fn unwrap_err(self) -> E {
        match self {
            Result::Ok(v) => {
                log("Failed to unwrap err from an Ok value");
                revert(0);
            },
            Result::Err(e) => e,
        }
    }

I'm still not sure about the best way to handle the Ok variant though.
cc @mohammadfawaz

Sounds fair, although still looks a bit clunky.  Would a assert_ok<T>(res: Result<T>) be useful too?
Do we not already have a Result::unwrap() of some sort which will log the error and revert if it's an Err?
If we had closures you could have a require_ok<T, F: FnOnce(T) -> bool>(res: Result<T>, pred: F) which unwrapped and checked the result in one go.   One day.

We currently have an is_ok() method and an unwrap() method.
unwrap() reverts with 0 on an Err; There's no way atm to revert with the inner error until we can land the generic revert (blocked by conditional compilation).
The unwrap_err() method proposed is a workaround; it would revert and log the inner error using the require function, which the SDK already supports and surfaces the inner error for the user.

Regardless of whether there's a better solution that's less clunky, I think adding this is reasonable given that Rust has it.

Probably just reverting with a special FAILED_RESULT_UNWRAP would be enough, as it would almost certainly be a bug in the user's code.  They should be checking Result::is_err() before trying to unwrap it.  Logging the Ok probably wouldn't be that informative.


Missing authenticator in react-native

It looks like Authenticator is not exported with the react-native module.
To reproduce:
import { Authenticator } from 'aws-amplify-react-native';
= Authenticator does not exist...

@digitaledge did you link the libraries for react-native? See here:
https://github.com/aws/aws-amplify/blob/master/media/quick_start.md#react-native-development

Yes, i did.. auth is even working when using the HOC.
Just the Authenticator to custom the auth screens does not import.

I just had a deeper look in to your code and figured out that the export statement for the Authentificator is missing in aws-amplify-react-native/src/index.js.
Right now it can be imported like this:
import { Components } from 'aws-amplify-react-native';
const { Authenticator } = Components;
I will create some pull request this afternoon.


Publish 08/23/2021, 10:30 AM

Docs Build status updates of commit 1ad897d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Enable-ComplianceTagStorage.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-ComplianceTag.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-ComplianceTagStorage.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-ComplianceTag.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-InformationBarrierPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Remove-ComplianceTag.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-ComplianceTag.md
:white_check_mark:Succeeded
View (exchange-ps)

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

close/reopen to effect build

close/reopen to effect build

Docs Build status updates of commit 1ad897d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Enable-ComplianceTagStorage.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-ComplianceTag.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-ComplianceTagStorage.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-ComplianceTag.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-InformationBarrierPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Remove-ComplianceTag.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-ComplianceTag.md
:white_check_mark:Succeeded
View (exchange-ps)

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 1ad897d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Enable-ComplianceTagStorage.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-ComplianceTag.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-ComplianceTagStorage.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-ComplianceTag.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-InformationBarrierPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Remove-ComplianceTag.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-ComplianceTag.md
:white_check_mark:Succeeded
View (exchange-ps)

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Fix High severity vulnerabilities

Version
4.5.15
Environment info
N/A

Steps to reproduce
Run yarn audit
What is expected?
That no vulnerabilities of High severity is found
What is actually happening?
57 vulnerabilities found, 36 Moderate severity, 21 High severity

This is also the case for version v5.0.0-rc.2

@inghylt Can you copy and paste the high severity vulnerabilities here. Npm audit is known to have false positives. and some of them may not be coming from vue cli or even relevant

@prog-rajkamal Sure! Not sure how much details you would like but I have attached a file with the output from yarn audit with only the high severity vulnerabilities. Let me know if that's what you are after or if you need anything else
yarn-audit-high-severity.txt

Vue CLI has been abandoned, forget about it.
Quite ugly what's being done with this once great community...

@inghylt  I looked into the issues and there were only 5 unique issues. and they all can be fixed by updating versions.
The problem is that these are all nested dependencies, so a PR needs to be sent to the intermediate dependency, and then vue cli needs to update to higher versions of its dependencies.
Unique issues:
https://www.npmjs.com/advisories/1005154
high           Regular expression denial of service
Package        glob-parent
Patched in     >=5.1.2
Dependency of  @vue/cli-plugin-unit-mocha
Path           @vue/cli-plugin-unit-mocha > mochapack > glob-parent
More info      https://www.npmjs.com/advisories/1005154
https://www.npmjs.com/advisories/1006865
high           Exposure of sensitive information in follow-redirects
Package        follow-redirects
Patched in     >=1.14.7
Dependency of  chromedriver
Path           chromedriver > axios > follow-redirects
More info      https://www.npmjs.com/advisories/1006865
https://www.npmjs.com/advisories/1006883
high           Inefficient Regular Expression Complexity in marked
Package        marked
Patched in     >=4.0.10
Dependency of  verdaccio
Path           verdaccio > @verdaccio/readme > marked
More info      https://www.npmjs.com/advisories/1006883
https://www.npmjs.com/advisories/1006884
high           Inefficient Regular Expression Complexity in marked
Package        marked
Patched in     >=4.0.10
Dependency of  verdaccio
Path           verdaccio > marked
More info      https://www.npmjs.com/advisories/1006884
https://www.npmjs.com/advisories/1006899
high           node-fetch is vulnerable to Exposure of Sensitive
Information to an Unauthorized Actor
Package        node-fetch
Patched in     >=2.6.7
Dependency of  verdaccio
Path           verdaccio > verdaccio-audit > node-fetch
More info      https://www.npmjs.com/advisories/1006899

@prog-rajkamal Yes, seems like that's the case. Do you have the time/possibility to reach out to the intermediate repositories? Seems like verdaccio, chromedriver and mochapack should be sufficient right?
Btw, I also saw in this comment that create-vue is recommended for new projects andpnpm audit does not report any vulnerabilities in this repo so maybe it makes sense to try to make a shift to that. Not sure if that's a task that can be highly prioritized in the current project I'm involved in though. Do you know if it's fairly straightforward to make the change and if create-vue is mature enough for it to make sense?

Hi any expected time for a new official version that includes the fix for follow-redirects ?

Hi any expected time for a new official version that includes the fix for follow-redirects ?

Perhaps the freshly released @vue/cli 5 fixed these? Haven't tried yet...

@lorand-horvath  thanks for the tip. just checked it. and there is no high severity issue.
@inghylt I ran "yarn audit" on vue cli v5.0.1 and got a single moderate vulnerability (repeated twice, due to two install paths) only:
Hence this issue can be closed

@prog-rajkamal The vulnerability is caused by shortid, which has been deprecated for quite some time now, but uses nanoid under the hood anyways https://www.npmjs.com/package/shortid
shortid is deprecated, because the architecture is unsafe. we instead recommend [Nano ID](https://github.com/ai/nanoid/), which has the advantage of also being significantly faster than shortid
So I guess @vue/cli dependencies should be updated to using nanoid directly...

@lorand-horvath shortid may be deprecated, but the vulnerability is coming from nano id (last in dependency chain)

@prog-rajkamal Yes it looks like they have all been fixed in v5.0.1! Very nice.
When I run yarn audit on v5.0.1 I actually get 14 vulnerabilities reported but they are all of moderate severity so I will close this issue


Typings not working

Problem description
typings error  -

Cannot find namespace 'ReactUWP'.

 "typeRoots": [       "./node_modules/@types",       "./node_modules/react-uwp" // add to here.     ],     // ....     "include": [       "./node_modules/react-uwp/index.d.ts" // or add to here.     ]
both the above methods not working

React-UWP:1.1.8
React: 16.2.0
Browser: Chrome

@michaelspeed hi, the readme is wrong example, this is the correct setting.
{
  "compilerOptions": {
    "typeRoots": [
      "./node_modules/@types"
    ],
    "filesGlob": [
      "**/*.ts",
      "**/*.tsx"
    ],
    "files": [
      "node_modules/react-uwp/index.d.ts" // add to here.
    ]
  }
}

I also faced the same error  @pboymt  @michaelspeed @myxvisual

Has anyone managed to resolve this issue I am also receiving the "Cannot find namespace 'ReactUWP'." error with the suggested config. @michaelspeed @RohitLuthra19   @myxvisual  @pboymt


fix(batch): handle OriginalDataNotAvailable case

Contributor checklist

[ ] Bug fixes include regression tests
[ ] Features include unit/acceptance tests

Hi @zachdaniel Yes, we do use this feature in a project where we stream millions of data from CSV into our postgres DB. The bulk version feature improved the performance a lot! Here is a small bug fix for an issue that occurred in our project.

🚀 Thank you for your contribution! 🚀


Remove DirectiveIRNode from the IR document after the default directi…

…ve classifier has run
@NTaylorMullen @rynowak
This pass has the order DefaultDirectiveClassifierOrder = 2900 which runs after any custom directive classifier which will have the order DirectiveClassifierOrder = 2100. So it should be safe the remove the nodes here.

🆙 📅


Creating exe-file with pyinstaller not possible

Which version are you running? The lastest version is on Github. Pip is for major releases.
pandas-ta                 0.2.75b0
pyinstaller               4.3
pyinstaller-hooks-contrib 2021.1
Upgrade.
allready done - see above
Describe the bug
I want to create an exe-file using pyinstaller
The py-file is very-simple (and runs when i start it in vscode or from the terminal)
import pandas_ta as ta print("It works!")
I create the exe-file with:
pyinstaller --onefile temp5.py

also tried:
pyinstaller --onefile --hidden-import pandas_ta temp5.py

(with the same result)
(the building of the the exe-file works fine without errors)
But when i start the exe-file it get this error message:
Traceback (most recent call last):
  File "temp5.py", line 3, in <module>
    import pandas_ta as ta
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller\loader\pyimod03_importers.py", line 540, in exec_module
  File "pandas_ta\__init__.py", line 10, in <module>
  File "pkg_resources\__init__.py", line 466, in get_distribution
  File "pkg_resources\__init__.py", line 342, in get_provider
  File "pkg_resources\__init__.py", line 886, in require
  File "pkg_resources\__init__.py", line 772, in resolve
pkg_resources.DistributionNotFound: The 'pandas_ta' distribution was not found and is required by the application
[17468] Failed to execute script temp5

To Reproduce
py-file:
import pandas_ta as ta
print("It works!")`

compiling with pyinstaller:
pyinstaller --onefile temp5.py

or:
pyinstaller --onefile --hidden-import pandas_ta temp5.py

Expected behavior
Working exe-file without error when running
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Thanks for using Pandas TA!

Hello @Rapid1898-code,
Pandas TA uses multiprocessing, "frozen" issue... then you need to fix your temp5.py to include:
import pandas_ta as ta
if __name__ == '__main__':
    freeze_support()
    print(f"executable created")

The "freeze_support()" line can be omitted if the program is not going to be frozen to produce an executable.
This might help also: Freezing your Code
Google Search of pyinstaller frozen importlib
Have also you tried this?
Please let me know if any works so we can help others with this issue.
Kind Regards,
KJ


MINIFICPP-1858 Quick fixes to the clang-tidy CI job

If you modify any cpp files in extensions not enabled in the ubuntu-20.04-clang CI job, the clang-tidy check will fail, as it is not able to compile these files.  As a quick workaround, I have disabled clang-tidy on these extensions.  A better fix would be to detect which extensions are enabled, and only run clang-tidy on those.

The clang-tidy check is very slow, and it can exceed the 2 hour timeout we have set.  As a quick workaround, I have increased the timeout to 3 hours.  A better fix would be to parallelize the clang-tidy checks.

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically main)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file?
[ ] If applicable, have you updated the NOTICE file?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI results for build issues and submit an update to your PR as soon as possible.

We should probably switch to the cmake internal clang-tidy support eventually. It runs clang-tidy alongside the compiler and reports any warnings as usual.
https://cmake.org/cmake/help/latest/prop_tgt/LANG_CLANG_TIDY.html#lang-clang-tidy


Skips a line and makes a line at the end??

This is some weird, weird stuff going on. I'm too tired to explain it right now, that's why I started this repo to show the bare basics of what the problem I'm facing is.
The expected outcome of running test.js is that in output.txt (it will create it when you run the script, don't worry) there will be 17,885 lines -- two more than the 17,883 of Log.txt, and the cause of that are two empty lines on :17150 and :17885. Those are obviously not supposed to be there.
Node version: 8.11.2
line-by-line version: 0.1.6

I found this issue too, but by performing a different task. When reading a large file where each line is a JSON object, the parser complained with a parse error due to receiving an empty line.
We are still analyzing the issue but apparently the line wasn't skipped, nor reordered, it simply fired a empty online event in between lines.


Link to latest push gateway spec in README

Hi @aaronraimist,
Thanks for this update. We need you to sign off (https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.rst#sign-off) your PR before accepting it.

Done


Calendar overflows off the screen

Their should be an prop that centers the calendar with the input box. Right now it is aligned left. When I center the Datepicker, so that the input is centered, when I open up the calendar it leaks off the page. It would be nice if the calendar would be centered with the input, that way there is no page overflow

This may be related to this: https://github.com/onesine/react-tailwindcss-datepicker/issues/12


Update Bolt logo assets

Summary
Updates Bolt logos
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

Picture of header:


Quantification Improvement

Suggestion by @JuliaS92 for the LFQ optimisation:

It would be great if one could longterm include an option to provide lists of proteins to use as absis for this normalization, e.g. with unspecific binders to sepharose beads used in IPs, to accurately use the background for normalization.

Now part of discussions as #336


Validate English and French text for ORE

en: https://canada-ca.github.io/ore-ero/open-source-code-schema.html
fr: https://canada-ca.github.io/ore-ero/code-source-ouvert-schema.html

Validate text and description of fields on the page and align translations on French and English page.
Par exemple, on utilise "release" sur la page en français.

This needs to be done for the whole site

I updated the texts and translations used for the open source code schema and form.  Will close this issue since there is not a lot of other texts.  We can open a new issue for further review.


[Bug]: When using klipper lb proxy protocol for nginx should be turned off

Description
When enabling klipper lb and you don't manually patch the nginx values to disable proxy protocol the services will not be reachable through ingress. Disabling proxy protocol when using klipper needs to be done automatically when klipper is enabled and nginx is used as the ingress controller.
When you manually specify the nginx_values it works but this should be done by default.
Kube.tf file
nginx_values = <<EOT
controller:
  watchIngressWithoutClass: "true"
  kind: "DaemonSet"
  config:
    "use-forwarded-headers": "true"
    "compute-full-forwarded-for": "true"
    "use-proxy-protocol": "false"
  service:
    annotations: {}
  EOT

Screenshots
No response
Platform
Mac

Thanks for noticing that @thecodeassassin! Please do not hesitate to submit a PR, it's always appreciated.


on_call callback does not have its own entry

Maybe due the fact that's it's a room callback, or simply forgotten, but on_call is not mentioned anywhere except for CallRoomScript entry. Perhaps it may be added to "Predefined global script functions" with a note that it should be placed in a room rather than a regular script module.

I added a brief entry for it on here and mentioned it on here.


Normalized datasets fail during parsing

For datsaets like tmVar v2.0, pubtator fails due to the presence of the "RSID: xxxxxxxxx" at the end of the annotations. Example file here: https://www.ncbi.nlm.nih.gov/CBBresearch/Lu/Demo/tmTools/download/tmVar/tmVar.Normalization.txt

Which PMID does not work?

Fixed it in 2.0.post4.


docs: document -hasroot suffix for root on raid

The initramfs will only start raid arrays with -hasroot. Without this the root partition cannot be found.

@bgilbert you mentioned wanting to document this. This is pretty minimal. Do you think we should document more (e.g. why we need to do this) and if so where; none of the existing docs seemed like a good place and I'm not sure it warrants its own section. There's https://coreos.com/ignition/docs/latest/boot-process.html but it seems much higher level than this.

I don't think this belongs in the CT spec, since it's a feature of the OS and not of CLCs or Ignition configs per se.  I'd suggest creating a guide to root-on-RAID, probably as a section in a larger document about configuring storage.  Unfortunately there are no great candidates:

This is in the Ignition docs rather than the OS docs.
This is in the CLC docs and is really for introductory examples.
This is the right type of document but is scoped to data volumes.

Maybe this needs a new document scoped to configuring the root filesystem.  Root-on-LVM and root-on-LUKS could also go there once they work.

I think that we should have a note here about it (although not go in depth why). CLCT is for CL specifcally, so I don't see an issue with adding a note about it. It is, in a way, part of the spec in that if you don't adhere to it you won't generate a valid (i.e. bootable) config. We make note that the filesystem field in the files section must correspond to filesytem in the filesystems section. Here we're stating something similar: that the root parition needs to be on a raid array suffixed with -hasroot

I don't agree.  Your files example is a requirement imposed by Ignition, but the -hasroot suffix is essentially a configuration setting accepted by the OS.  There are plenty of documents on the site that detail how to configure the OS, using CLCs, in ways that can't be derived from first principles.  Most of that material is out of scope for the document that defines the semantics of a CLC.
Better example: if you're recreating the root filesystem, you must label it ROOT or CL won't boot.  We don't mention that in the spec either.

I'd argue perhaps we should add a note about the ROOT label as well, but I don't really feel that strongly about it. Either way, what do you think about adding a section for special root partitions in the Mounting Storage docs?

Basically none of the material in the introductory section of Mounting Storage applies to this case, which implies that it's not the right doc.  Downsides to a separate document?

Seperate doc is probably the best option. Maybe put it after the mounting doc under the "setting up a cluster" docs?

Or under "uncategorized docs" even.  We need a section for CL docs that aren't necessarily cluster-related, but we don't have that right now.

SGTM, closing this.


Make MetaAddr.addr a private field

Motivation
In PR #2276, we make sure that all SocketAddrs are canonical in the MetaAddr and MetaAddrChange constructors.
But other code can still make the addr field non-canonical, because it's pub(crate).
Solution

[ ] Add a MetaAddr::addr() method
[ ] Make the MetaAddr.addr field private, replacing accesses with the method

Alternatives
If we don't make this change, we risk future bugs where Zebra connects multiple times to the same canonical peer address, because it is storing different variants of that address in the address book.

Obsoleted by #2364.


current-build minRevision with minrevision will timeout if there is no active build

This is the intention.  It just needs to be better documented.

Done.


SyntaxError: missing ) after argument list, When using async

Why am I getting this error When I use async?
Is there any way to use async/await in node.js 6?
My Code:
bot.onText(/\/start/, async  msg => {
  const opts = {
    parse_mode: 'Markdown' ,
    reply_markup: JSON.stringify({
      keyboard: StartKeyboard,
      resize_keyboard: true,
      one_time_keyboard: true
    })
  };
  await bot.sendMessage(msg.chat.id, 'Hi', opts);
});

Error:
bot.onText(/\/start/, async  msg => {
                      ^^^^^
SyntaxError: missing ) after argument list

I'm using node.js v6.11.0 with "dependencies":
{ "babel-polyfill": "^6.23.0",
  "cheerio": "^1.0.0-rc.2",
  "dotenv": "^4.0.0",
  "firebase": "^4.1.2",
  "firebase-admin": "^5.0.0",
  "node-telegram-bot-api": "^0.27.1",
  "request": "^2.81.0" },

As far I know Node 6.11.0 doesn't have support for async / await. Use newer version.
http://node.green/#ES2017-features-async-functions

Is there any module to solve that? I Mean I need to use node.js 6 and async. Someone  Said me to use babel.

As @yagop says, Node.js v6 does not support async. You may use babel to transpile your asyncs: https://babeljs.io/docs/plugins/syntax-async-functions.


Also export the strategy to .Strategy

Most strategies I've encountered do this, so much so that I made an assumption and it was a little weird that this didn't.
(mostly pointless) test included
(this is literally the same as https://github.com/jaredhanson/passport-github/blob/master/lib/index.js, and many other strategy packages)

Right on, thanks!

Could you please push this to npm? My code was breaking because of the different strategy but when I manually changed the code in oauth2.js to the ones merged in here it worked!

Done, latest is now 0.1.6. Thanks for pushing me to do that @VanessaHenderson.


SQA_scraper (issue #136)

@ormiret, @JackGilmore, @KarenJewell
This is the first draft of the scraper for the Scottish Qualifications Authority. It currently lacks information about the licences, since I did not find anything about it on their webpage. I'll write them an email and ask about the licences.
Are there any changes you would like me to apply?
Btw, the scraper is not yet called in Github actions, so it needs to be added there or in main.py (depending on what is added first to the main branch).

looks great!
3 things from me:

Description is empty although, I'm not really sure what we can put in it either!
DateCreated is rendering weird for me when viewing the output csv in excel. Might need treatment here.
I'm not sure of the dataset titles 🙃 the way you've got it will generate 639 distinct datasets (i.e. one ODS listing per file) and it is technically accurate. But now I'm not sure what a grouping should be. SQA have it as multiple qualifications per year (i.e. 1 year = 1 dataset, each qual is an asset), but I wonder if the more intuitive way of grouping it should be by qualification (i.e. 1 qualification = 1 dataset, each year is an asset) this leans a bit into a definition of what a "dataset" is. Hypothetically, if a publisher adds a new year of data - is that a new dataset or an extension to an existing dataset?

So far I've been mainly thinking about 3). The grouping according to qualification sounds to me definitely like the most viable option. However, am I getting it right, that currently export2jkan.py, line 86 defines a dataset, when both the page_url and the title match? Thus, for this source this approach would not work, since page_url for each year differs from the other years for the same title. Means, this would require is workaround depending on the owner.
If that is fine with you, I can try to code it. Otherwise, grouping datasets according to year, as done on the SQA webpage, is the alternative.
I will also look into your first and second point.

Catching up on outstanding items - you're right, JKAN groups datasets by pageURL + title combo. The JKAN base assumption being that a dataset is one set of values in multiple file formats. Whereas we're seeing different interpretations from publishers also, e.g. the choice to split a large dataset into multiple volumes is very valid.
I think for now, grouping by year as SQA have done makes best progress. The "right" approach takes us to a whole bigger discussion about what defines a dataset.

@KarenJewell, I changed the title and added a (very general) description to fit the grouping by year. This will create 26 datasets (if I counted correctly), one for each year, and many download links for each year. This should match what we discussed above.
In case, that these are too many links for each dataset, I just got the idea, that we could use the <h2> headings (like 'Annual Statistical Report', 'Progression Tables 2021' and so on) to create more datasets for each year. But have a look at it, first.
Is the DateCreated still rendering weird?

Hi @KarenJewell, I think I addressed all the issues you rightfully raised. For the pipeline I will create a separate PR to include the new SQA scraper :)

Looks fantastic. Thanks for this @nutcracker22!


Continue Showing Same Tooltip On Dynamic Graph (Until Mouse Moves)

One-line summary [问题简述]
Is there a simple way to continue showing the same tooltip on a dynamic graph (until the mouse moves)?
Version & Environment [版本及环境]

ECharts version [ECharts 版本]: 4.1.0 (via vue-echarts 3.1.3)
Browser version [浏览器类型和版本]: Chrome 69.0.3497.100
OS Version [操作系统类型和版本]: OSX High Sierra (10.13.6)

Expected behaviour [期望结果]
I have a graph that adds one new data point to a series every second. I can highlight any of those points, and the tooltip shows up just fine:

However, when the graph updates the data after the next second, the tooltip moves on to the next point (because that point is now highlighted).
This makes it difficult to read any tooltip data.
Is there an easy way to keep showing the first tooltip, preferably until the mouse moves (to signal that another tooltip should be shown)?
NOTE: I have tried using the alwaysShowContent option, and that works somewhat. However, the tooltip shows for the currently selected point, and then changes to show for the next point in the series. After that happens, the tooltip does stay on the screen.
ECharts option [ECharts配置项]

option = {
    tooltip: {
        trigger: 'axis'
    }
    ...
    xAxis: {
       type: 'category'
   }
}

Other comments [其他信息]

A similar issues appears on the Dynamic Graph example on the official docs page: https://ecomfe.github.io/echarts-examples/public/editor.html?c=dynamic-data2
However, here, the tooltip usually disappears entirely (because no point is highlighted at all).

sorry，I don't fully understand what you mean. Maybe you can add markPoint in your series, like this http://echarts.baidu.com/examples/editor.html?c=line-marker

My graph updates every second, and when it does, the cursor is no longer hovering over the same data point, so the shown tooltip changes (or disappears, depending on how the graph moves).
I want the tooltip to stay visible, until I move the mouse.

Can you try with tooltip.alwaysShowContent?

Is there a fix or workaround planned for this ?

Is there any fix or workaround? I am also stuck with tooltip.alwaysShowContent solution suggested by @Ovilia but as @adamtLICOR said it blocks the hideTip action from getting dispatched. Thus looking for a discrete solution

In detail workaround as suggested by @adamtLICOR set tooltip.alwaysShowContent to false. After this you have to set the chart options which will reset tooltip property of alwaysShowContent thus it won't suppress hideTip dispatchAction


Serialization test for LSTM model

[Short description explaining the high-level reason for the pull request]
Additions
One new Jupyter notebook to show how to serialize the LSTM model, to deserialize into another model instance and to check that model outputs are identical.
Removals

Changes

Testing

Screenshots
Notes

Todos

Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows project standards (link if applicable)
[x] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[x] Visually tested in supported browsers and devices (see checklist below :point_down:)
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist
Target Environment support

[ ] Windows
[ ] Linux
[ ] Browser

Accessibility

[ ] Keyboard friendly
[ ] Screen reader friendly

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Flexible from small to large screens
[ ] No linting errors or warnings
[ ] JavaScript tests are passing

@peckhams I think this PR was opened for the wrong repository, this should go the NOAA-OWP/lstm, right?

Yes, my mistake.  Doing too many things at once.
Ignore that one and I'll do it again.
Best,
Scott
On Tue, Sep 21, 2021 at 3:15 PM Jonathan Frame @.***>
wrote:

@peckhams https://github.com/peckhams I think this PR was opened for
the wrong repository, this should go the NOAA-OWP/lstm, right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NOAA-OWP/cfe/pull/16#issuecomment-924389343, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB2T4L54P2GRG4G3J65VVE3UDDYVVANCNFSM5EPVTJWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Womanium Final Assignment - Shamarita Deb

PR Description

Some notes

[x] Please make sure that you placed the files in an appropriate folder

[ ] And that the files have indicative names.

[ ] Please note that Classiq runs automatic code linting, which may minorly alter some files.

[ ] If you're familiar with pre-commit, you may run pre-commit install, and then at each commit, your files will be altered in a similar way

Good job!
Score: 8/10


Will the .NET API Browser for Xamarin.Forms > Latest ever get updated to 3.6+ at some point?

Hi,
I hope this is the right place.  If not, please steer me in the right place if you would.  Thanks.
I've been trying to use the .NET API Browser > Xamarin.Forms > Latest but it never seems to be...the latest.  Is there a definitive location I can go to for up to date APIs?  Is there such a place?  Or do we have to bookmark version release blog posts forever more?  Cuz I'd rather have up-to-date API docs than announcement blog posts.  Trying to find details on the new Xamarin.Forms.Visual, but nope....

https://docs.microsoft.com/en-us/dotnet/api/xamarin.forms?view=xamarin-forms was updated to Xamarin.Forms 3.6.0 last night.


docs: re-add Create AsyncAPI document

resolves https://github.com/asyncapi/website/issues/1861
adding https://www.asyncapi.com/docs/tutorials/create-asyncapi-document to v3
there was some text to change here and there so yeah, you have to review entire doc. Feel free to change whatever you want. Technically accurate with v3

/rtm


HBASE-25691 Test failure: TestVerifyBucketCacheFile.testRetrieveFromFile

Please see some analysis in
https://issues.apache.org/jira/browse/HBASE-25691?filter=-1

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 34s
Docker mode activated.


[TF2.0] [Support] TPU training code Breaks after 2 steps of Training

I'm training a model on TPU, however the code execution breaks after exactly after 2 steps. I'm using tf.distribute.experimental.TPUStrategy for the training.
After running exactly two steps inside experimental_run_v2(), it breaks.
The execution doesn't even come out of experimental_run_v2() (I'm logging every microstep (forward passing, loss calculation, applying gradients, etc) to keep a note of the steps).
the trainer code is located here: https://github.com/captain-pool/GSOC/blob/90980a1bbfd9753fbba5e189a1329f84ba86b448/E3_Distill_ESRGAN/libs/train.py#L200-L245
Stack Overflow Question: https://stackoverflow.com/questions/57274370/tpu-training-code-breaks-after-2-steps-of-training
Here's the error log:
I0730 14:25:03.909630<PHONE_NUMBER>48352 train.py:247] Starting Adversarial Training
I0730 14:25:04.162598<PHONE_NUMBER>48352 train.py:259] Start Train
I0730 14:25:09.262624<PHONE_NUMBER>48352 api.py:512] Student Fake
I0730 14:25:34.609512<PHONE_NUMBER>48352 api.py:512] Teacher fake
W0730 14:25:43.462079<PHONE_NUMBER>48352 deprecation.py:323] From /home/rick/.local/lib/python3.5/site-packages/tensorflow_core/python/ops/nn_impl.py:183: where (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
I0730 14:25:43.486022<PHONE_NUMBER>48352 api.py:512] student_ra
I0730 14:25:44.305178<PHONE_NUMBER>48352 api.py:512] teacher_ra
I0730 14:25:44.322464<PHONE_NUMBER>48352 api.py:512] disc_loss
I0730 14:25:44.415445<PHONE_NUMBER>48352 api.py:512] gen_loss
I0730 14:25:45.656436<PHONE_NUMBER>48352 api.py:512] gen gradient
I0730 14:25:46.245677<PHONE_NUMBER>48352 api.py:512] disc gradient
W0730 14:25:51.213224<PHONE_NUMBER>48352 deprecation.py:323] From /home/rick/.local/lib/python3.5/site-packages/tensorflow_core/python/distribute/values.py:878: BaseResourceVariable.constraint (from tensorflow.python.ops.resource_variable_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Apply a constraint manually following the optimizer update step.
I0730 14:25:52.171965<PHONE_NUMBER>48352 api.py:512] gen apply
I0730 14:26:03.028684<PHONE_NUMBER>48352 api.py:512] disc apply
I0730 14:26:10.171932<PHONE_NUMBER>48352 api.py:512] Student Fake
I0730 14:26:10.637515<PHONE_NUMBER>48352 api.py:512] Teacher fake
I0730 14:26:11.779316<PHONE_NUMBER>48352 api.py:512] student_ra
I0730 14:26:12.462838<PHONE_NUMBER>48352 api.py:512] teacher_ra
I0730 14:26:12.480808<PHONE_NUMBER>48352 api.py:512] disc_loss
I0730 14:26:12.508683<PHONE_NUMBER>48352 api.py:512] gen_loss
I0730 14:26:13.662986<PHONE_NUMBER>48352 api.py:512] gen gradient
I0730 14:26:14.201171<PHONE_NUMBER>48352 api.py:512] disc gradient
I0730 14:26:15.363607<PHONE_NUMBER>48352 api.py:512] gen apply
I0730 14:26:16.708091<PHONE_NUMBER>48352 api.py:512] disc apply
Traceback (most recent call last):
  File "main.py", line 129, in <module>
    train_and_export(**vars(FLAGS))
  File "main.py", line 89, in train_and_export
    trainer.train_adversarial(student_generator)
  File "/home/rick/GSOC/E3_Distill_ESRGAN/libs/train.py", line 260, in train_adversarial
    train_step(image_lr, image_hr)
  File "/home/rick/.local/lib/python3.5/site-packages/tensorflow_core/python/eager/def_function.py", line 445, in __call__
    return self._stateless_fn(*args, **kwds)
  File "/home/rick/.local/lib/python3.5/site-packages/tensorflow_core/python/eager/function.py", line 1730, in __call__
    return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
  File "/home/rick/.local/lib/python3.5/site-packages/tensorflow_core/python/eager/function.py", line 665, in _filtered_call
    self.captured_inputs)
  File "/home/rick/.local/lib/python3.5/site-packages/tensorflow_core/python/eager/function.py", line 778, in _call_flat
    ctx, args, cancellation_manager=cancellation_manager)
  File "/home/rick/.local/lib/python3.5/site-packages/tensorflow_core/python/eager/function.py", line 471, in call
    ctx=ctx)
  File "/home/rick/.local/lib/python3.5/site-packages/tensorflow_core/python/eager/execute.py", line 67, in quick_execute
    six.raise_from(core._status_to_exception(e.code, message), None)
  File "<string>", line 3, in raise_from
tensorflow.python.framework.errors_impl.InternalError: Assigned device '/job:worker/replica:0/task:0/device:TPU:0' does not have registered OpKernel support for _Arg
	 [[{{node rrdb_student_conv2d_conv2d_rrdb_student_conv2d_kernel_139950763791080_handle_inputs_0}}]] [Op:__inference_train_step_44255]

CC: @srjoglekar246 , @vbardiovskyg

Any insight on this issue even though you closed it out? Had the same issue today on the TPU v3-8 nightly with the tf-nightly-2.0 tensorflow build.

Hey Samuel, the code breaks because I was placing the Distributed Dataset on "/job:worker" but forgot to place the trainer code on it, instead I was placing it on the CPU. Moving the trainer code inside the scope of "/job:worker" fixed the issue.
The error message was not clear at all, so that was making it extremely difficult to Debug.

@captain-pool Awesome, that worked for me! Thanks for the bit. Don't fully understand the mechanics of adding the "/job:worker" inside the scope but it seems to have fixed the issue.


Uint8List.fromList show throw range errors

Currently, Uint8List.fromList will silently swallow values that are outside of the allowed range.
Should throw: RangeError
Example:
var lst = Uint8List.fromList([1, 2, 257]);
print(lst); ///[1, 2, 1]

Typed lists truncate on assignment to an element.  Uint8List.fromList is consistent with operator[]=.
var lst = Uint8List.fromList([1, 2, 257]);
print(lst); ///[1, 2, 1]

lst[0] = -1;
lst[1] = 260;
print(lst); ///[255, 4, 1]

We went with truncation rather than error for a bunch of reasons:

We found it was basically impossible to implement the check you desire when compiling to JavaScript without taking a big performance hit.
Typed lists are often used for handling large amounts of data (otherwise you might as well use a regular list).  If you put the checks in, it is hard to always remove them and convert copying loops to block copies.
It is sometimes convenient.  The world you desire requires you to truncate yourself, e.g. lst[i] = b & 255.
You can still check yourself, e.g. assert(items.every((e) => 0 <= e && e <= 255)).
There is Uint8ClampedList, which is used in browsers to access image data. It has built in a different conversion (clamping rather than truncation). That makes no sense if you must manually clamp. We avoid this pain.
If the user must do manual truncation, then Float32List is a problem since there is no (other) truncation to convert from double (float64) to float32 (where e.g. 1e40 becomes +Infinity)

I can totally respect the reasoning behind it. I guess in my instance it was a surprise. Perhaps add doc comments (for all typed lists) to indicate that values will be truncated to appropriate sizes with this constructor?

@lrhn

Fixed


Minutor & Minutor Nightly crash immediately upon loading certain 1.14.4 worlds.

As the title says. I can provide the worlds if needed but they're quite big to upload and not sure if they are needed.

Replacing Nightly with a fresh copy seems to have fixed it for now.


bin: Add a very simple rustfmt-format-diff.

This patch introduces a super-simple format-diff tool, that allows you to do:
git diff | rustfmt-format-diff -p 1

To format your current changes.
For now it doesn't accept too much customisation, and it basically calls rustfmt
with the default configuration, but more customisation can be added in the
future if needed.

Also, note that this is pretty much useless without #1836 and #1841, but hopefully those land soon enough :)

Awesome, thank you!

This is really really late @emilio but I wanted to say thanks for building the thing I wanted to build from way back in #434 and #1007. :-)

Is there a reason why this is a seperate binary, rather than a rustfmt command line argument, e.g. rustfmt --git-diff?


Add configuration option for application root URL

What does this PR do?

This pull request adds the setting PathBase to the BaGet configuration and applies this setting on startup. The PathBase option allows an ASP.NET Core application to run under a different root URL than it was designed for.
Motivation

I want to operate a BaGet server with a URL like https://example.com/baget and reach the API index at https://example.com/baget/v3/index.json. With this change I don't have to write complex rewrite rules for this scenario which might not work at all.
Additional Notes

Deal with path base and proxies that change the request path on Microsoft Docs

Looks great! I left some minor comments, I'll merge once you've addressed them :)

This PR will take longer than expected. I experienced problems with the configuration as some URLs are kind of hard-coded and are not adjusted by changing the PathBase. I'll write another comment when this is fixed.

The API can now be configured to run under a different PathBase. I only had to change the manual URLs generation.
For the web UI it is not that easy to configure the base path as the site is served as static content. Two ways to resolve this problem:

We could change the links to Baget.UI.xyz instead of /Baget.UI.xyz
We create a new controller for the web UI which replaces these variables and serves the files. With a memory cache we won't loose performance but I don't want to implement this major change myself.

Ah I see. Today, the frontend's API endpoints are hardcoded in the code base. I'd like to make the backend's endpoint configurable at build time which should unblock you. My recommendation for you:

Make a temporary fork of BaGet
Update the URIs in the frontend:
a. DisplayPackage.tsx#L55
b. DisplayPackage.tsx#L112
c. SearchResults.tsx#L71
d. SearchResults.tsx#L72
Build the frontend using these instructions

This is a short-term solution that should let you host BaGet in a different root URL. I'll work on improving the frontend's setup soon.

Is there anything missing to merge this PR or do you want to wait until the frontend will work with a different root URL?

Your changes look good. I moved some things around after you opened this pull request - would you mind applying your changes on the latest master? I'll go ahead and merge after :)

I just merged your changes into my fork.

Thank you :)

Hello,
I'm trying to use this, but it is not working right now.
appsettings.json:
{ [...]   "PathBase": "/nuget", [...] }
Can u help me to understand, how I've to set this option?
Thx in advance.

The PathBase option only affects the API which is served by ASP.NET Core. You should be able to access http://localhost:5000/nuget/v3/index.json. Visual Studio should work with this path base as expected.
However, the Web UI does not work as mentioned above.

Is there any solution for having BaGet incl. UI behind a proxy? I got the feeling I'm missing something obvious here.
Thx for ur help.

There is currently no way to run BaGet's web UI with a different root URL.
@loic-sharma recommend to change the hard-coded URLs in one's own fork (see above).

I haven’t played around with this, but you should be able to add the homepage setting to the package.json file to support your need. See: https://facebook.github.io/create-react-app/docs/deployment

After trying different things imcluding homepage, basename etc. I've to say, that i'm not making any progress. I need to take a look at this topic again. Thank you for your effort and your help so far.


README - custom PHP - update php_socket variable.

README update - custom PHP - update php_socket variable. Without it Ansible raise FAILED error {"changed": false, "msg": "AnsibleUndefinedVariable: 'php_socket' is undefined"}

Hello @wiktor2200 , sorry I missed the notification for the PR.
thank you. :smile:


Virus Detected

What is this? Is this repo a scam?

Hello bro, that is a false positive, unfortunately I do not have the money to sign the application, and an unsigned application is falsely detected as malware.
But my application is OpenSource, If you have the knowledge, you can download the source code and build StrelyClener yourself.
If you have any other questions, I will be happy to help.


Add terra2testnet to chain-registry

This change adds terra2testnet (pisco-1) to chain-registry.
The information was obtained from the following sources:

https://github.com/terra-money/testnet/tree/main/pisco-1
https://github.com/terra-money/core/releases/v2.1.0-beta.1
https://docs.terra.money/full-node/run-a-full-terra-node/join-a-network#join-a-public-network
https://raw.githubusercontent.com/terra-money/testnet/master/pisco-1/genesis.json
https://polkachu.com/testnets/terra/peers

let's do this through https://github.com/cosmos/chain-registry


muteLocalAudioStream() returns throws: AgoraRtcException(-4, null)

Describe the bug
When muteLocalAudioStream(true) is called, AgoraRtcException 4 is thrown
To Reproduce
Steps to reproduce the behavior:

Create basic flutter app
Create file for agora functionality (code below)
Create basic flutter view and initialize on startup, and make a button that calls "toggleMic()"
See error

Expected behavior
the local audio should be muted, the listener on the other end of the call not be able to hear them. Also, the exception should not be thrown.
My code
import 'package:agora_rtc_engine/agora_rtc_engine_web.dart';
import 'package:agora_rtc_engine/agora_rtc_engine.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'dart:developer';

class AgoraService {
  final String agoraAppId;
  final int uid;
  AgoraService({required this.agoraAppId, required this.uid}) {
    _initEngine();
  }

  RtcEngine? _engine;
  List<int> remoteUids = [];
  bool muted = false;

  void _initEngine() async {
    _engine = await createAgoraRtcEngine();

    if (_engine == null) {
      log("engine not initialized");
    }
    await _engine!.initialize(RtcEngineContext(
        appId: "" //hardcode appId
        ));

    await _engine!.enableAudio();
    await _engine!.enableLocalAudio(true);
    await joinChannel(""); //hardcode channel id
  }

  Future<void> joinChannel(String channelId) async {
    if (_engine == null) {
      _initEngine();
    }
    ChannelMediaOptions mediaOptions = await const ChannelMediaOptions(
        clientRoleType: ClientRoleType.clientRoleBroadcaster,
        channelProfile: ChannelProfileType.channelProfileLiveBroadcasting);
    await _engine!.joinChannel(
        token: "", channelId: channelId, uid: uid, options: mediaOptions);
  }
  void toggleMic() async {
    try {
      await _engine!.muteLocalAudioStream(true);
    } catch (e) {
      log("Error during toggle Mic: $e");
    }
  }
}

Additional context
I am trying to create the basic Agora functionality of calling, muting, and joining a channel. I am running into issues when it comes to muting, and the encryption solution provided by https://api-ref.agora.io/en/voice-sdk/flutter/6.x/API/enum_errorcodetype.html doesn't work.

Which platform you are testing on?

If I understand you correctly, I am running it as a web app on Chrome on my Windows PC.

Only a subset of APIs are implemented on agora_rtc_engine web at this time.
Relative:
https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/issues/1471
https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/issues/1454


[Next.js] TypeError: Cannot convert undefined or null to object

import React from 'react'
import { View } from 'moti'

export default function Test() {
  return <View />
}

This code produces the following error:

My best guess is some use of Object.keys in useAnimatedStyle is breaking. Not sure.

@cmaycumber would it be hard to test up a nextjs example like we have for Dripsy here?

I tried everything from https://github.com/software-mansion/react-native-reanimated/issues/1090 but no luck.

I can put one together! It should be the exact same as the Dripsy one

Perfect. I'm using the next branch rn by the way

Perfect. I'm using the next branch rn by the way.
Thanks for the quick help here!

Should be able to get this in today!

@cmaycumber Awesome!

I think I figured this out, mentioned it here: https://github.com/software-mansion/react-native-reanimated/issues/1090#issuecomment-774155665
Pushing example to next branch shortly.

Sweet sorry this took so long, got busier than I expected.

No worries!

Fixed in 0.0.7!
yarn add moti


heading

Description

Types of changes

[ ] Bug fix or improving code quality
[ ] New language
[ ] New feature

Checklist:

[ ] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.

changed pull

done

done okay


Jira status and ticket update for threading and pipeline update

Change description
Jira status and ticket update for threading and pipeline update
Jira checks will now show with 2 headers, one for jira overall status and one for tickets
Each check will contain a RAG status for quick review
Checklist

[x] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)
[ ] Does this PR introduce a breaking change

example output:


Updating FAQ with better

Description
Proposed Changes

Rework FAQ with better design, change Static Text and Rework images
Update typography and spacing
Add visual feedback for user interactions(optional)
"Zurück zur Startseite" Button

Technical Requirements

Update FAQView.vue styling
Implement new component structure
Add transitions/animations

Discussion
No response
Motivation
No response
Details
No response

I would like to to this

Due to another class I had to leave the room, so I couldn't wait for assignment of the issue. Feel free to add/change the Issue when needed.