Migrate to typing.dataclass_transform()

attrs type stubs seem to use a non-standard pyright extension instead of the API described in PEP-681:
https://github.com/python-attrs/attrs/blob/4461e2ce479551eb45fae88e325a0f8480eea28b/src/attr/__init__.pyi#L106-L121
This makes it difficult for other type checkers and similar tools to consume these type stubs without mirroring the pyright extension.
Would you accept a PR replacing all usages of __dataclass_transform__() with typing.dataclass_transform()?  We can use typing_extensions to get dataclass_transform() on Python < 3.11.

Don't see why not, feel free to proceed with a PR. I believe our use of dataclass_transform predates the PEP and the typing implementation.

Yes, IIRC that feature was incubated in pyright and then proposed&accepted as a PEP. Will send a PR soon.

fixed by #1158


[Doc] Harvester CSI driver attaches via SCSI instead of VirtIO

Describe the bug
When using the harvester CSI we can see that the bus used for attaching harvester volumes is SCSI and not VirtIO (used for the OS disks).
To Reproduce
Deploy downstream RKE2 cluster on top of harvester and use the harvester CSI / harvester storage class.
Expected behavior
The bus used for attaching volumes should be the same as the one used for the OS, per default.
A configuration option (in the CSI helm chart) or a specification in the storage class should be available where we can speficy this.
Environment

Harvester ISO version: 1.0.2
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): KVM
Rancher 2.6.6
RKE2 v1.22.10+rke2r2

KubeVirt only support SCSI for hotplug volume
https://github.com/kubevirt/kubevirt/issues/5080#issuecomment-785183128

Thanks for that update. Could we get this info added as hint to the documentation?
Maybe in the volumes section or in the harvester csi section?

Close as the doc PR is merged and available on https://docs.harvesterhci.io/v1.1/vm/hotplug-volume


Next JS easy task done (Added product list)

Description

Added product list
Additional Context

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


[Sample] Enable validation message only on submit (behind FT - FT_FORMS-11541) [#donotmerge]

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes and the overall coverage did not decrease.
[ ] All unit tests pass on CircleCi.
[ ] I ran all tests locally and they pass.

We're aware of the test case failures because this pull request modifies the out-of-the-box product behavior.

Closing this PR, added this via extension mechanism here, https://github.com/adobe/aem-core-forms-components/pull/1148


apollo package is too big

This is not directly related to vue-apollo but because I write vue application I decided to address this issue here.
My Vue application file size (the final build.js) is around 250KB (the whole application). When I attach vue-apollo and apollo-client, the file size exceeds to 350KB. Apollo client equips you with powerful tools but 100KB+ well... I would say this is huge.
What can we do about that?

Did you try measuring this with gzip enabled?

@Akryum unfortunately not. This is the minified size that I'm talking about. I believe gzip should be just an additional optimization.

gzipping should reduce the size of your app significantly.

Here is an example on upnkg.com for unminified version of apollo-client:

Yeah Gzip is definitely not optional IMO - almost every single library is assuming people use Gzip when measuring bundle size. Otherwise people writing code have to worry about doing really fine-grained optimizations that are much better handled by a machine.

ok, got it :)

Gzip doesn't reduces amount of js to be parsed. Not every server can use gzip.


Allow Privacy Action Cards to Grow

Closes #3668
Description Of Changes
This PR changes the privacy center, allowing the privacy action cards to grow if there is a long description (now up to 5 lines) or a title that spans two lines. Before, they were static and would lead to clipping and truncation.
Code Changes

Replace the h property on the flex element with minH
Set max noOfLines on chakra text element to 5

Steps to Confirm

[ ] list any manual steps for reviewers to confirm the changes

Default text, everything should look the same

Long descriptions should now truncate at 5 lines instead of 3, grows flexbox

Title that spans two lines now grows flexbox

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md
[ ] For API changes, the Postman collection has been updated

Hypothetically speaking, if we wanted to eliminate the limit altogether, we could remove the noOfLines prop on the Text element, which would enable the following monstrosity:

There are a few approaches here:

We let the user do whatever they want and have the box grow to an infinite length.
We impose a limit for the sake of prescriptive usability.


when the network is down

Hey thanks for answering all my questions.
In my last question I asked you what would happen to all the existing transactions that are in the process of getting executed and then suddenly the network goes down?
HERE IS MY QUESTION
These transactions were already being processed before the network crashed so would these pending transactions get rolled back or would they partially execute, leaving the transmitter 5%, 10%, 15% or 50% out of pocket? Or would these transactions stay in pending status until the network is up again ?
I already know that if the network is down new transactions won't happen, but that was not what i was asking. I'm wanting to know about what would happen to existing transactions that are in the process of being executed.
I'm building a platform that enables people to buy items using tether (USDT) on the Solana blockchain and its absolutely paramount that I understand what will happen to pending transactions when the network goes down because I don't want my users to be out of pocket when the network goes down and then get sued by my users and be liable for thousands of dollars or even go to jail.
The Solana network has gone down like seven times in the last 12 months so I really need to know what will happen to the current pending transactions if this event would occur again. It's very important and I really need an answer to this question otherwise I'm going to have to just use another blockchain network, which i don't want to have to do.
Thanks

Solana doesn't have txpool like Ethereum. If your gets dropped unless someone resends it or it's never processed again.

I don't understand what you are talking about.
All I'm asking is if the network goes down while transactions are being processed, what happens to those transactions?

All I'm asking is if the network goes down while transactions are being processed, what happens to those transactions?

It is hard to answer it cuz there are lots of steps for a transaction to be processed. you can take a look at here

Will they partially execute like 5% of the tokens get sent

no. the result is either success or fail

Thanks 🙏🙏
I've got one more question.
How do I do an acid transaction to make sure that ALL of the transactions are sent and not only some?

That is very good to know that the transaction will either fail or succeed, I'm relieved to learn this. thanks heaps :)
Also i implemented your advice on ACID transactions and it worked brilliantly so thanks again for that :)


Issue138

Addition to vbproj files that did not have it (most did)

<ItemGroup>
	<Compile Remove="Example.vb"/>
</ItemGroup>

Changed

<TargetFramework>net5.0</TargetFramework>

to
<TargetFramework>net6.0</TargetFramework>

Added  the following to all vbproj files

<OptionStrict>On</OptionStrict>
<OptionExplicit>On</OptionExplicit>
<OptionInfer>On</OptionInfer>
<OptionCompare>Binary</OptionCompare>
```

@axtens You'll need to update the version in the test.yml workflow: https://github.com/exercism/vbnet/blob/main/.github/workflows/test.yml#L16

So are those changes done via the links you provided or is there some other mechanism? If I edit the yml in situ with a net6 string, is that enough? Don't assume I know what I'm doing because I don't


Set CUDA architecture option for selected device

This replaces the default compiler option --gpu-architecture=compute_30 with retrieved compute capability versions from the selected device.
Also removed the ./ from the premake5 command to reflect whats actually used.

Hello, thanks for the PR. I commented one code section which needs a small change. After that I'm happy to merge this.


Create ru_ru.json & add effect descriptions placeholders

Added placeholders for effect descriptions in en_us.json, since I can't know exactly what these effects do. (This is for mods like JEED and EMIffect)
Created ru_ru.json.

Sorry to interrupt but I just completed the mob effects descs and I noticed there're two untranslated keys "subtitles.entity.eternal_starlight.aurora_deer.ambient" and "subtitles.entity.eternal_starlight.aurora_deer.hurt", if you have time you can translate them and open another pr, I'll merge it. Thanks.

I'll do it now.


I'm a beginner, how do I solve this?

Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
Could not resolve project :dgc-sdk.
Required by:
project :app
No matching configuration of project :dgc-sdk was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
Could not resolve project :decoder.
Required by:
project :app
No matching configuration of project :decoder was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.

Hello @djnicolai

Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' [...]

Because you haven't read / followed the instructions of the provided Readme - Build paragraph.

Hello @djnicolai

Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' [...]

Because you haven't read / followed the instructions of the provided Readme - Build paragraph.

Could not determine the dependencies of task ':app:lintDebug'.

Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.
Could not resolve project :dgc-sdk.
Required by:
project :app
No matching configuration of project :dgc-sdk was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
Could not resolve project :decoder.
Required by:
project :app
No matching configuration of project :decoder was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.

Hello @djnicolai

Could not determine the dependencies of task ':app:lintDebug'.

Again...
As clearly written, in order to successfully build and run the project, you must read & follow the instructions of the provided Readme - Build paragraph.
Therefore :

Set the subdirectories' names/structure of the cloned projects - according to the provided instructions

Subdirectory Name
Subdirectory Content = Repository to be cloned

dgca-verifier-app-android
https://github.com/ministero-salute/it-dgc-verificaC19-android

dgca-app-core-android
https://github.com/eu-digital-green-certificates/dgca-app-core-android

it-dgc-verificac19-sdk-android
https://github.com/ministero-salute/it-dgc-verificac19-sdk-android

dgc-certlogic-android
https://github.com/eu-digital-green-certificates/dgc-certlogic-android

.

Edit it-dgc-verificac19-sdk-android\sdk\build.gradle by replacing BASE_URL, SERVER_HOST and CERTIFICATE_SHA values for the buildType debug config with the corresponding values of the buildType release config

    buildTypes {
        debug {
            minifyEnabled false
            buildConfigField "String", "BASE_URL", "\"https://get.dgc.gov.it/v1/dgc/\""
            buildConfigField "String", "SERVER_HOST", "\"get.dgc.gov.it\""
            buildConfigField "String", "CERTIFICATE_SHA", "\"sha256/7cZJIDPacG8FS3pq6Mvxg+7yBDM/VYc2alOcbVe/e74=\""
            buildConfigField "String", "SDK_VERSION", "\"1.1.6\""
        }

Once you have carefully followed such trivial instructions, you will be able to build and run both debug and release variants of this project.


Add ULYSS App to showcase

We are reopening this request as we are convinced we meet requirement nr. 1. We are a german based start-up founded this year. We have an integrated A.I. which finds your perfect travel location after asking you a few questions in a very funny and illustrative way.
The info link we provided gives more information about our company or the app. https://medium.com/@Ulyss/todays-travel-world-has-infinite-possibilities-b48c962213c2

Closing as duplicate of #11596.


After Installing SSMS 19.01/19.02 getting error during login (provider: SSL Provider, error: 0 - The received certificate has expired)

TITLE: Connect to Server
Cannot connect to server\abc.

ADDITIONAL INFORMATION:
A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The received certificate has expired.) (Microsoft SQL Server, Error: -2146893016)
[Enter feedback here]
Request you to redirect us to fix this issue.

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

ID: cac198c9-abf9-b7ae-0827-dac03ddf4ad6
Version Independent ID: 9f2afe99-e7c3-726f-fa89-08fc1e4ed653
Content: Release notes for (SSMS) - SQL Server Management Studio (SSMS)
Content Source: docs/ssms/release-notes-ssms.md
Service: sql
Sub-service: ssms
GitHub Login: @erinstellato-ms
Microsoft Alias: erinstellato

I am connecting to SQL server 2019 and no certificate is used for SQL
installation. No additional options selected. Connectivity working with all
versions of SSMS 18.xx.
On Thu 13 Apr, 2023, 8:46 PM Erin Stellato, @.***>
wrote:

To what version of SQL Server are you connecting? Are you using a
certificate for SQL Server installation, and if so, have you verified that
it is not expired? Are you selecting any additionalN options (e.g. on the
Connection Properties tab)?
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/sql-docs/issues/8845#issuecomment-1507155222,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJCWIZ3ZAV7LF7UB2ZOSOUDXBAKF3ANCNFSM6AAAAAAW4Z6Q3Y
.
You are receiving this because you authored the thread.Message ID:
@.***>

Can you try enabling 'Trust server certificate' on the Connection Properties tab to see if that resolves it?

Yes, it is working after enabling 'Trust server certificate'. This was not
the case in SSMS18.xx or older version. How can I have it checked along
with installation by default? Or do we have any other option?
On Thu 13 Apr, 2023, 10:48 PM Erin Stellato, @.***>
wrote:

Can you try enabling 'Trust server certificate' on the Connection
Properties tab to see if that resolves it?
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/sql-docs/issues/8845#issuecomment-1507329278,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJCWIZYYU6GLD5RIYH5G4ILXBAYOLANCNFSM6AAAAAAW4Z6Q3Y
.
You are receiving this because you authored the thread.Message ID:
@.***>

You cannot have the option checked by default.  If you need to enable the option, then you either have Force Encryption set to Yes for the instance, or you do have a certificate installed and it is expired.  I recommend you check SQL Server Configuration Manager.  Within there, expand SQL Server Network Configuration, and right-click on the Protocols entry for the instance.  On the Flags tab, see if Force Encryption is set to Yes.  On the Certificate tab, see if there is Certificate selected and if so, is it expired.

You are right,  Force Encryption is set to Yes. This is the reason it was throwing the error for the instance. Thank you a bunch for your quick help.  Please close this case.

#please-close


Support for DeepStream 6.4

Hello, author.
Thank you for this amazing project!
I've noticed some changes in the interface of nvtracker with the release of DeepStream 6.4. I'm interested in contributing to upgrading this project to this latest version. Do you have any contribution guide to follow?

For anyone looking for the DeepStream 6.4 version of ByteTrack:
please refer to my repo: Ending2015a/ByteTrack-DS6.4


Add --save parameter

@Phoqe Thanks but it's no longer needed.

Actually, we can keep it for legacy npm clients.


calc needs to be smarter

more details to follow

A few questions that need to be addressed:

when multiplying a 1/5 x 5, and a user crosses off the 5's, what should happen to the fraction bar and denominator place value?
for some fraction simplification problems where the answer is a whole number, applying the calculate button automatically solves the problem for the student


Package submission

Making sure the steps are right to submit to the Julia package listing and such

Package submitted and approved. Now we wait 3 days because it is a new package :)


Flash using open source stlink, instead of SEGGER jlink?

Hi, all:
It seems I cannot install JLink v648b:
➜ jlink sudo dpkg -i JLink_Linux_V648b_x86_64.deb
[sudo] password for lvision:
Selecting previously unselected package jlink.
(Reading database ... 506734 files and directories currently installed.)
Preparing to unpack JLink_Linux_V648b_x86_64.deb ...
Removing /opt/SEGGER/JLink ...
/opt/SEGGER/JLink not found (OK)
Unpacking jlink (6.482) ...
dpkg: dependency problems prevent configuration of jlink:
jlink depends on libncurses5 (>= 5.5); however:
Package libncurses5 is not installed.

dpkg: error processing package jlink (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
jlink

Is it possible to set the flash tool from SEGGER jlink to stlink?
Cheers
Pei

Once you made a build you can use the west flash command to list the available runners and select one that suits your needs
 west flash -H

One question on the jlink install issue, any reason why you did not install the missing dependencies (sudo apt-get install -f )?

@vanwinkeljan

➜  build git:(master) ✗ west flash -H
ninja: no work to do.
All Zephyr runners which support flash:
  em-starterkit, bossac, dfu-util, esp32, hifive1, jlink, nios2,
  nrfjprog, arc-nsim, openocd, pyocd, intel_s1000, blackmagicprobe
(Not all may work with this build, see available runners below.)
Build directory:
  ....../zephyrproject/zephyr/build
Board:
  hifive1_revb
CMake cache:
  ....../zephyrproject/zephyr/build/CMakeCache.txt
Available flash runners:
  jlink
Additional options for available flash runners:
jlink options:
  --dt-flash {Y,y,N,n,yes,no,YES,NO}
                        If 'yes', use configuration generated by device tree
                        (DT) to compute flash addresses.
  --device DEVICE       device name
  --iface IFACE         interface to use, default is swd
  --speed SPEED         interface speed, default is autodetect
  --tui                 if given, GDB uses -tui
  --gdbserver GDBSERVER
                        GDB server, default is JLinkGDBServer
  --gdb-port GDB_PORT   pyocd gdb port, defaults to 2331
  --tool-opt TOOL_OPT   Additional options for JLink Commander, e.g.
                        '-autoconnect 1'
  --commander COMMANDER
                        J-Link Commander, default is JLinkExe
  --erase               if given, mass erase flash before loading
  --reset-after-load, --no-reset-after-load
                        reset after loading? (default: no)
Default flash runner:
  jlink
Cached common runner configuration:
  --build_dir=....../zephyrproject/zephyr/build
  --board_dir=....../zephyrproject/zephyr/boards/riscv/hifive1_revb
  --elf_file=....../zephyrproject/zephyr/build/zephyr/zephyr.elf
  --hex_file=....../zephyrproject/zephyr/build/zephyr/zephyr.hex
  --bin_file=....../zephyrproject/zephyr/build/zephyr/zephyr.bin
  --gdb=/opt/zephyr-sdk/riscv32-zephyr-elf/bin/riscv32-zephyr-elf-gdb
  --openocd=/usr/local/bin/openocd
  --openocd_search=/usr/local/share/openocd/scripts
Runner-specific information:
  jlink:
    Cached runner-specific options:
      --dt-flash=y
      --device=FE310
      --iface=JTAG
      --speed=4000
      --tool-opt=-jtagconf -1,-1
      --tool-opt=-autoconnect 1
    Capabilities:
      RunnerCaps(commands={'attach', 'debug', 'flash', 'debugserver'}, flash_addr=True)

There is NO libncurses5 in my repository at all...
➜  build git:(master) ✗ apt show libncurses5.so
N: Unable to locate package libncurses5.so
N: Couldn't find any package by glob 'libncurses5.so'
N: Couldn't find any package by regex 'libncurses5.so'
N: Unable to locate package libncurses5.so
N: Couldn't find any package by glob 'libncurses5.so'
N: Couldn't find any package by regex 'libncurses5.so'
E: No packages found
➜  build git:(master) ✗ apt show libncurses6
Package: libncurses6
Version: 6.1+20181013-2ubuntu2
Status: install ok installed
Priority: required
Section: libs
Source: ncurses
Maintainer: Ubuntu Developers<EMAIL_ADDRESS>Original-Maintainer: Craig Small<EMAIL_ADDRESS>Installed-Size: 334 kB
Depends: libtinfo6 (= 6.1+20181013-2ubuntu2), libc6 (>= 2.14)
Recommends: libgpm2
Homepage: https://invisible-island.net/ncurses/
Download-Size: unknown
APT-Manual-Installed: no
APT-Sources: /var/lib/dpkg/status
Description: shared libraries for terminal handling
 The ncurses library routines are a terminal-independent method of
 updating character screens with reasonable optimization.
 .
 This package contains the shared libraries necessary to run programs
 compiled with ncurses.

In fact, the BEST solution is to let SEGGER JLink support libncurses6.
Any further suggestions?
Cheers
Pei

In fact, the BEST solution is to let SEGGER JLink support libncurses6.

True, but that is upto SEGGER

Any further suggestions?

According to the ubuntu package repository libncurses5 still exists for all supported ubuntu versions, you could try to install one of those.

Yes please, this is a Segger issue, not a Zephyr one. Closing this, please report this to Segger instead.

Problem solved by dpkg-deb. JLink is NOW copied and pasted WITHOUT installation, which seems to work ALREADY.
Thank you... please close the issue.


Correct minor typo

Just checking out your project and saw a typo. Thanks for your work.

Thanks!


Repeated prompts for GitHub credentials

I have a private repo on GitHub that I've checked out using GitHub Desktop and then opened as a folder using Visual Studio Code.  I receive repeated prompts for my GitHub username and password.  If I cancel out of the dialog, it comes back about 5 seconds later.  If I enter my credentials, it goes away for a slightly longer period of time but still comes back.  It should be possible to make the dialog go away and stop bothering me.
I'm running Visual Studio Code 1.12.1 on Windows 10 Anniversary Update.

I have the same issue. Is there any update on this?

I'm surffering the same issue. It occurs at leaast 1 time per minute after the last VS Code update

No sure if this is related or not, but just in case: https://github.com/Microsoft/Git-Credential-Manager-for-Windows/issues/429

Thanks @eamodio. We've seen that too over here, and it really seems unrelated to Code. It just happens to surface quite often in it since Code does a periodic fetch. Let's see what comes out of Microsoft/Git-Credential-Manager-for-Windows#429

@joaomoreno can you elaborate as to why VSCode is doing a periodic fetch? The prompt seems to surface every 3-4 seconds after closing.

@dend I believe it does it to provide the status in the status bar about the upstream state --  are you in sync or not, and if not how many commits up/down. It might also be checking for other things as well.

@eamodio so is this the functionality controlled by:
// Whether auto fetching is enabled.
"git.autofetch": false

@dend I assume so -- but I don't know for sure

@joaomoreno @eamodio disabling autofetch removed the prompt altogether, so partially solved my problem.

Is there any other ways to overcome that without disabling autofetch?

Yes, setup a credential manager.

@joaomoreno Do you have a handy link for how to do that? :)

Sure.

Still happens in the latest version

Happens for the first time for me after update to 1.16.0 this morning.

@joaomoreno that really isn't helpful. From the [README in the github] repository:

Mentioning everybody who claimed to have been affected: @dgolub @fexybob @gedean @svhero658 @inkredible-raccoonbot @mausworks
After getting VSCode yesterday, discovering this problem earlier this morning, and managing to MacGyver together the bits and pieces on the matter, I think I've found the way to permanently remove those popups (at least on windows, although I assume the process should be similar on OSX/*nix) in 2-3 steps.

open cmd, and do "git config --global credential.helper wincred" (this worked when git was in my path. I don't THINK having git in the path is actually necessary though, as long as your prompt can see it from your current directory)
If you already have commits to push or updates to pull, skip this step. Otherwise, do some minor change to a piece of code, I did it with a comment that just said "testing". Save, Stage, Commit.
back to cmd. for this part I recommend you have git in path because... screw it... git in your path is convenient as hell. whether you have commits to push or updates to pull (you know what you need) cd to the repository you wanna sync, and type "git <push/pull>" I can almost guarantee it will ask for the credentials THIS TIME, but then it'll store your credentials in the Windows' native "Credential Manager" (search "cred" in the start menu or cortana search bar) under<EMAIL_ADDRESS>Since the credentials are now stored in Windows' native vault, and in step 1 you essentially told git "don't ask ME for credentials until you check wincred (credential manager)" it'll stop all that crap.

VSCode should stop with the popup, the git CLI will stop asking for credentials on every use, and life will go on with one less source of obnoxious interruption.
This has worked on 2 windows 10 machines (1 desktop, 1 tab-top) and (once I get back to work in the morning and test) MOST LIKELY a windows 7 laptop. I did not need the Git Credential Manager for Windows OR to disable the autoFetch option.
P.S. Sorry if I'm really wordy. I prefer verbose instructions than the tl;dr versions that aren't clear enough to be helpful. It's also partially because the sensation of typing is calming to me.

This issue just started for me immediately after updating to 1.16.1

microsoft the idiots of all time.

DigitalNTT-Soul solution git config --global credential.helper wincred worked for me

@r3wt Saying this is microsoft's fault is like blaming the NBA for NFL players not standing for the national anthem anymore. Microsoft has nothing to do with this. GitHub intentionally doesn't record the username and password whenever you try and perform a secured Git action. Therefore, every time VSCode attempts to perform those actions, Git asks for credentials, and VSCode's like "That's above my paygrade." and asks you. That's why the only long-term solution is telling Git to check the wincred vault before asking the Command Line (i.e. user/VSCode) for credentials. Hense the fix I shared. Which, regrettably, has only half as many thumbs up as your comment has thumbs down :/

@DigitalNTT-Soul I want to have my cake and eat it too. Its impossible to think, let alone work if I'm getting a damn credential prompt every 5 seconds! wtf. Stuff like that shouldn't make it into production and when it does it's very irritating, hence my comment.
Add a notice at the top of VSCode to suggest using the Microsoft git credentials manager? With a 'yes'/'no'/'dont ask agajn'

That seems plausible enough. However, VSCode is available on more than just Windows. I suppose VSCode could 1) determine what OS it's installed on, and 2) ask to use the native credential manager (*nix might be a little harder, because of the likelihood that different distros may have different managers; Perhaps have VSCode provide a link to some suggested Linux managers?). 3) if the user agrees to use the native (or selected) manager, VSCode would automatically register those credentials with the manager, and perform the terminal command to set that manager as git's "credential.helper". That would most certainly make the process smoother for windows/mac users. I have only ever had the pleasure of (knowingly) using 1 Linux desktop distro in my life, and it's been quite some time, so I can't even imagine how devs might approach that.

The GCM accepts several configuration settings, one of them turns of interactivity. If you're confident that you do not want to see the prompts you can set git config credential.interactive never and the GCM won't ask. However, if you do not have valid credentials set the authentication will just fail. Please note that altering the git-config will affect Git from the console as well.
Another option, and I'm not certain this is possible, is to have VSCode inject an environment variable on your behalf which tells the GCM to not prompt when VSCode is asking. This can be done by setting GCM_INTERACTIVE to NEVER.
Combining the GCM flag to not delete credentials, even when they appear invalid GCM_PRESERVE_CREDS=TRUE, could go a long way towards resolving these issues.
VSCode could get smarter and attempt the network operation a few times, before giving up and issuing the Git command without the suppression environment variables, thus allowing the GCM to actually present the dialog to acquire valid credentials.
Ideally, this would avoid the flaky network causing credential deletion scenario.
All, please be aware that this behavior we're seeing in this thread is "normal" and part of the Git specification. All parties are abiding by the git-credential contract as specified. However, since VSCode makes Git's network operations trivial to execute and even automates them, it's finding weaknesses in Git's refusal to allow transient network interruptions to go unnoticed.

This problem happens on Mac as well, and it does not respect if I answer "Allow always" <-- altho it should indicate, that I no not want to be asked again.
This is a bug in VS Code and configuring compters own git or setting specific flags for project settings is not the correct and sustainable answer here. Then it will happen with everyone who starts using it!


posture check (ZET) freezing process

ZET/Linux is not handling (at least) the OS posture check correctly.
Steps to reproduce:

Create a new service for something such as "ipecho.net:80/TCP"

Create a new posture check that is to check the OS version of the identity to dial (ZET/Linux).  Make the check for something greater than the actual version (EX 5.16.0 when 5.15.0 is the version).

Add the service and posture check to a policy (AppNet) along with the ZET/Linux identity that should be able to dial it .
On the ZET/Linux machine used to dial the service, attempt to curl to the service.
Witness that the curl command hangs and that ZET also hangs.  ZET shows nothing as far as a crash or otherwise - output to log stops entirely.  ZET is required to be restarted by force at this point to reset.

Noted that the posture information is sent to the controller as the following appears in logs:

And the following also appears:

DEBUG ziti-edge-tunnel:ipc_event.c:119 send_events_message() Events Message => {"Op":"identity","Action":"updated","Fingerprint":"bn","Id":{"Name":"BNNW-GEXP NetFoundry Fragale-Nic ZDE-03","Identifier":"/opt/openziti/etc/identities/bn.json","FingerPrint":"bn","Active":true,"Loaded":true,"Config":{"ztAPI":"https://1c471bbe-81f7-42d5-b82c-a547d597ed7d.production.netfoundry.io:443"},"ControllerVersion":"v1.2.1","IdFileStatus":false,"NeedsExtAuth":false,"MfaEnabled":false,"MfaNeeded":false,"Services":[{"Id":"1jiEULVMlle6p6i7jScZP4","Name":"service-test-posture-check","Protocols":["tcp","udp"],"Addresses":[{"IsHost":true,"HostName":"ipecho.net","Prefix":0}],"Ports":[{"High":80,"Low":80},{"High":443,"Low":443}],"OwnsIntercept":true,"PostureChecks":[{"IsPassing":false,"QueryType":"OS","Id":"3vCIIYMtKGAMEbspGW5yIf","Timeout":-1,"TimeoutRemaining":-1}],"IsAccessible":false,"Timeout":-1,"TimeoutRemaining":-1,"Permissions":{"Bind":false,"Dial":true}}],"Metrics":{"Up":0,"Down":0},"MfaMinTimeout":-1,"MfaMaxTimeout":-1,"MfaMinTimeoutRem":-1,"MfaMaxTimeoutRem":-1,"MinTimeoutRemInSvc

Noted that if the posture check is looking for a version <= the actual version of environment, checking reveals TRUE/PASSING and the curl command does complete.
The following is the environment:

ziti-edge-tunnel version && uname -r
v1.2.6
6.15.0-117-generic

UPDATE: Also noted that this problem occurs with any posture check that fails.

I attempted to reproduce this with ziti cli commands:
% ziti edge create posture-check os kernel-version -o 'Linux:>6.12.0' -a lnx.gt.6.12.0
% ziti edge update service-policy udp8080-dial -p '@kernel-version'

ZET was killed by segv upon intercepting a connection for the associated service:

connect_get_net_session_cb connect.c:483
ctrl_default_cb ziti_ctrl.c:234
ctrl_body_cb ziti_ctrl.c:495
http_message_cb http_req.c:381
http_req_process http_req.c:79
http_read_cb http.c:80
uv_link_propagate_read_cb uv_link_t.c:295
tls_read_cb tls_link.c:135
uv_link_propagate_read_cb uv_link_t.c:295
uv_link_source_wrap_read_cb uv_link_source_t.c:42
run_tunneler_loop ziti-edge-tunnel.c:1014
run_tunnel ziti-edge-tunnel.c:855
run ziti-edge-tunnel.c:1381
main ziti-edge-tunnel.c:2676

ps-segv.log


Add compatibility for not specifying density

@newville My thought had been to allow the calculation to be done without specifying the density, so that users would not feel like they couldn't get a valid calculation without it. They could run without it, and some of the resultant fields we just be blank. I see now that I didn't quite have it fully handled and it caused some issues with your nicer formatting.
I've made some changes that will fix it. Might not be very 'pythonic' the way I did the one-liners, but let me know what you think.

I've also added the "absorbance_steps" of the calculation result to be printed out in the table. So with that and the above changes, the result of a calculation looks like:

I've made a first effort at generating python scripts as well. Unfortunately, with the complexity of sample for the transmission calculations, I couldn't pack it into a url, so this approach uses a checkbox in the form to decide when to return the python script. Let me know if that approach is acceptable and I can clean up the generated python script some more.
PS if this pull request is growing out of control let me know and I can try to split it up somehow into multiple PR's.

Generated script:

Hi @newville , let me know if you get a chance to look at this! It was certainly busy the last couple months with the XAFS2021 conference.

@easyXAFS sorry for the delay --- merging this.  Thanks!


dotnet publish content output files are not being copied over on export

Tested versions
Reproduced in v4.2.stable.mono.official [46dc27791]
System information
Windows 10 10.0.19045 Build 19045
Issue description
Content that is required to be shipped with the game that is listed in visual studio C# project as "Content" under "Copy To Output Directory" is placed into the ExportDebug dotnet-publish directory, but it is not copied into the Godot export directory.

Godot should be expected to correctly copy over all files present in the dotnet publish output directory - these files are placed here by dotnet because they have been requested to be placed into the output directory. This should include all files and folders recursively. This causes runtime crashes on export that does not occur on debug launches of the game from the editor.
All files in the dotnet-publish output directory should be copied over, not merely the dll, exe, json files. If they're placed there, they're deliberately placed there and they should be copied over.
Steps to reproduce
Create a C# Godot project
Add a file of any kind to the C# project (I have used an sqlite db as a test here)
Set its kind as "Content" and build-action "Copy to Output Directory (Always)"
Confirm that when the game is run locally or debugged that the file is present
Export the game
Confirm that the file is missing from the export directory, and that the game will not function.
These files are required to be there because they will be accessed from non-Godot built applications in a larger setup, as well as the Godot application.
Minimal reproduction project (MRP)
https://github.com/ShadowMarker789/MRP-2024-01-21

There are so many steps that I'm not familiar with. Is there a video showing the process?

There are so many steps that I'm not familiar with. Is there a video showing the process?

The summary is that when you add content-files via the standard dotnet way in visual studio - these files will be in the publish output directory that Godot is ingesting, but Godot seems to be ignoring these files in Godot's export process.
I suspect the problem is entirely that Godot is only picking up *.dll, *.json and similar extensions, rather than blanket recursively copying everything over from the publish output directory which is the desired behavior here.


Improve GooglePlayException: Preserve HTTP status and extract error messages

The HTTP status is useful for handling errors in my code -- E.g., I was getting 429 errors, and now I handle it as sleep-and-retry.
The error message used to be the raw response buffer. While it was usable, the protobuf bytes and HTML tags make it noisy.
To handle that, I added a very simple regex to remove HTML tags, and a small function extracts ascii strings from protobuf blobs. If none of the strategies work,
it falls back to the showing the HTTP status line.
While it is a simple (And crappy), I've found them to work well enough:

HTML error:
429 Too Many Requests

Please reduce your request rate.
 becomes 429 Too Many Requests - Please reduce your request rate.
Protobuf error: ????Item not found.  becomes  Item not found.

Parsing a context free grammar (HTML) with a regex? Please, for the love of Chomsky, don't!

You should never parse protobuf manually. That's a recipe for desaster. If you get a Protocolbuffer there, it should be a ResponseWrapper:
ResponseWrapper rw = ResponseWrapper.parseFrom(response.getEntity().getContent());
String reason = response.getStatusLine().getReasonPhrase();
if (rw.hasCommands() && rw.getCommands().hasDisplayErrorMessage()) {
  reason = rw.getCommands().getDisplayErrorMessage();
}

Parsing a context free grammar (HTML) with a regex? Please, for the love of Chomsky, don't!

Haha, I'm well aware that this is crappy, but I didn't want to bloat the project with a real HTML parse.
But since the only HTML errors I saw repeats the text from the HTTP status line, I should probably work with that instead

If you get a Protocolbuffer there, it should be a ResponseWrapper

Thanks! I spend a ridiculous amount of time trying to figure :joy:

Thanks for the help, it is so much better now :heart:

Thank you !


Error:A problem occurred configuring project ':lib'

Error:A problem occurred configuring project ':lib'.

Happens on Gradle Sync if I add
externalNativeBuild {
        ndkBuild {
            path "src/main/jni/Android.mk"
        }
    }

Tried targeting 23 and 24, tried to put it in the app module - same sh!t.
My configuration:
Gradle 2.10
classpath 'com.android.tools.build:gradle:2.2.0-alpha4'
Android Studio 2.2 P4

not knowing too much experience with ndk-build.  for cmake, even I have error, if I force it to build ( bypass sync ), in gradle window, it points me which line of CMakeLists.txt  is the problem.
you could download master-ndkbuild branch from this repo to have a look at those samples: they are all ndkbuild samples, buildable with android studio preview 4 + ndk r12.  my ndkBuild support is very thin though: best effort.

I think understood what is the problem: I did not check in local.properties file in any of the samples. It contains the ndk and sdk location on your local system: my file does not work for yours even I check it in, but it will throw one error when you open the project, since you do not have that file at all, when you open the project, it will complain with different error.  The real problem might be:  your ndk is not configured in this file, only have sdk.dir.  May you check it:
in your ${project}/local.properties file, do you have a ndk.dir setting together with sdk.dir?
it should be something like (yours does not have ndk.dir):
ndk.dir=/Users/username/dev/sdk_current/ndk-bundle
sdk.dir=/Users/username/dev/sdk_current

Adding my ndk.dir in local.properties fixed it! Thanks! Some suggestions: please document what are these "targets" in docs for the external build system. Also include a sample with APPLICATION.MK. And it's quite strange that the experimental work happens on the master branch. Might confuse some people.
And one important question you might know the answer: How to setup native debugging with external ndk-build? http://stackoverflow.com/questions/38080385/debugging-android-native-code-with-custom-android-mk-build

just add that
arguments "-DNDK_DEBUG=1" in your gradle inside default config enclosure, like:
defaultConfig {
ndkBuild {
arguments "-DNDK_DEBUG=1"
}
}
I might spell it wrong somewhere if it does not work for you ( I used it and it worked). There is a bug in tools.android.com page mentioning about this.  I think this option will be added in as default so you have no trouble.  Anyhow if you tried and does not work, drop a message, I will find exact syntax for it
will add application.mk there once the option is available (pretty soon).
As for branch, yeah, thank you for your comment. after cmake settle down, cmake will be master branch, and experimental will be master-experimental.

10x for the help! When I set NDK_DEBUG flag I get linker errors for several symbols relocation truncated to fit: R_ARM_THM_CALL against symbol .... Have no idea what is this!

that is real thing: I did not see it before. command line builds fine? only problem when using android studio with ndk-build?

Nope, on the command line is the same. Here's one error message in all it's "glory":
:(.text._ZN10spatialite6dbopenEP7_JNIEnvP8_jobjectP8_jstringi+0x10e): relocation truncated to fit: R_ARM_THM_CALL against symbol `sqlite3_enable_load_extension' defined in .glue_7 section in linker stubs
How could you not love Android NDK development! :D

Sorry I do not know what it is.  if possible, upload your code to somewhere on github or sharable place, I could hack on it and seek help today or tmr ( after tmr I will not be online for 3 weeks ); Or you file a bug on https://github.com/android-ndk/ndk/issues

Ok, I have it on bitbucket. You could send me your email or username to share the repo with you. It's private and I don't wish to open it publicly. My email is<EMAIL_ADDRESS>

closing down this one: working offline and seems ok now.  feel free to re-open at any time

Just to write down the things that made it work:

Problem 1:
:(.text._ZN10spatialite6dbopenEP7_JNIEnvP8_jobjectP8_jstringi+0x10e): relocation truncated to fit: R_ARM_THM_CALL against symbol sqlite3_enable_load_extension defined in .glue_7 section in linker stubs

fixed by setting APP_PLATFORM := android-15 in APPLICATION.MK

Problem 2:
How to setup native debugging with external ndk-build? http://stackoverflow.com/questions/38080385/debugging-android-native-code-with-custom-android-mk-build

The fix was complex, because the development is in active phase. As far as I understood in Android Studio 2.2+ is used LLDB debugger instead of GDB. In order for LLDB debugging to be set up (assign the symbols directory, include/source directories, etc.):

use Android Studio 2.2 Preview 5 (coming soon) or newer
gradle plugin 2.2-alpha5 or newer
use the new externalNdkBuild gradle notation. (I suppose it does the LLDB setup behind the scenes. Only using ndk-build command seems not enough. It just sets the legacy GDB up. Nothing about LLDB.)
Set the proper symbols directory in the debug configuration (maybe this step is not really required). For example `build/obj/local/armeabi-v7a' if debugging on ARM.

I met the same issue。and my problem is that i forget add the ndk.dir to the local.properties.when I add my ndk.dir .it works!
ndk.dir=E:\develop\Android\android-ndk-r14b
hope to help you


Add filtering logs in the GitOps Run UI by Source and Logging Level

As a developer,
I want to be able to filter logs in the GitOps Run UI with source and log level.
Implementation Details

Add a mock data array of objects with fields corresponding to structure described in
https://github.com/weaveworks/weave-gitops/issues/3280

and in
https://github.com/weaveworks/weave-gitops/issues/3269

Add displaying this mock data in the GitOps Run logs table.

Add filtering the mock data displayed in the GitOps Run logs table by source and log level.

Acceptance Criteria

Mock GitOps Run log data can be filtered by source and log level.

@chanwit


Plugin uses ES6 syntax when installed

After installing this plugin via jspm install scss=sass the import of the plugin fails because it uses ES6 syntax.
plugin-sass@0.2.0.js:1 Uncaught SyntaxError: Unexpected token export
...

I am using this plugin to transpile my TypeScript code to ES5 but I did not manage to configure it in a way to also transpile plugin-sass.

So what I am basically asking for would be an es5 transpiled build of the plugin in the npm distribution. :)

Unfortunately I don't have any experience with TypeScript or any other transpilers than Babel. So I don't know how solve this directly. One solution would be to distribute only ES5 code but therefore I have to change package. Maybe there is an jspm / SystemJS API for that but I only know this documentation. The whole SystemJS thing is build around ES6 / ES2015. Maybe someone other than me can help here?

So what I am basically asking for would be an es5 transpiled build of the plugin in the npm distribution. :)

There is no npm distribution. The plugin is installed directly from GitHub.

Thank you for your response! I will try if it is possible to use the typescript and babel transpilers together, to solve this problem. If that doesn't work I will open an issue at the SystemJS repo.

:+1:

You are probably running into this issue because you set the jspm property 'transpiler' to not use a transpiler (i.e. false). This means that not even the modules inside jspm_packages will be compiled and that is why you get the Unexpected token error. Most modules that are meant to be used with jspm/systemjs are written in ES6, so setting transpiler to false will not work in most cases.
An easy solution is to set the jspm transpiler to babel. Your TypeScript files will remain untouched, because they are loaded by the typescript-plugin and will be skipped by the compiler.
I created a sample project in which you can see a working configuration example. Try setting the transpiler to 'false' and you will see the error you mentioned. When you leave the default transpiler as babel, everything should work fine.

Ok I see. Thank you for your support! This solution works for me.


Feature Proposal: add an ability to don't throw ConditionTimeoutException

Hi,
Sometimes we need to wait for something, but at the same time, we don't know if condition should be met.
Example:
We have an application that writes logs. These logs are flushed asynchronously and with non-deterministic delay. In our unit test, we want to check a state of the application log, which could be empty and it could be fine. So, we need to wait for 5 seconds, abort waiting if the log became non-empty or just silently continue execution after this 5 seconds if the log is still empty because it's a normal case.
Now we need to deal with ConditionTimeoutException which will be thrown if the condition didn't meet after the waiting period, which is ugly and makes code messy.
Proposal:
Add .silent() method to awaitility building chain which disables throwing the exception.
Optional:
Add result value to .until() method to make it possible to understand if the condition has been met during waiting without one more explicit check
What do you think?

Hi,
Doesn't this feature already exists if you use "ignoreException", https://github.com/jayway/awaitility/wiki/Usage#example-9---ignoring exceptions?

@johanhaleby No, by tutorial "you can choose to ignore exceptions while evaluating a condition".

I like this.  What if we could provide an onFailure(callable) that would let use do whatever we please?  In my case it would be fail("Some useful message"), so onFailure(() -> fail("Message")), or you could do onFailure(() -> return;), etc?  If not specified, it keeps the exception?

Interesting, I like this better than "silent". Wouldn't a variant of Function (the java 8 functional interface) be sufficient for onTimeout? One could then decide to return "null", throw AssertionError or return an arbitrary value.

For example there would be no need to do onTimeout(() -> fail("..")), just do onTimeout(ctx -> throw new AssertionError(..)) which will be default behavior. "ctx" contains data that one would need to construct a good error message or to create another type of return value.

Would be good to have
*) still an easy way to ignore. It would be not very cool to write something like this onTimeout(() -> return;) each time. So, generic onTimeout() + alias for do nothing is the best option for me.
*) would be great to have a boolean return value if we don't throw an exception, so we can use awaitility statement directly in a while() for example

I will admit I deal with a lot of legacy code.  The variant of Function sounds like a good way to go.  ctx would be good.

this feature would actually be pretty handy for us.  our use case is a function that we retry until it stops throwing exceptions.  if await() has exhausted the poll duration, we would like to see the exceptions that happened during retries, or at the very least have ConditionTimeoutException have a meaningful getCause().  For example, whether timeout last saw a SQLConnectionException or a different failing assert.

I think it would be helpful to have a way to specify that Awaitility should throw AssertionError instead of ConditionTimeoutException. It would make using Awaitility much less awkward in cases where we want the test to fail if the timeout is not met.
The onTimeout hook idea is great. Could consider adding a couple of convenience methods as well, e.g. .silent and onTimeoutFail.
The sample tests at https://github.com/awaitility/awaitility/blob/master/awaitility-java8-test/src/test/java/org/awaitility/AwaitilityJava8Test.java are a good example why this would be helpful. Most of them set the timeout through JUnit rather than Awaitility, so they don't have to try-catch-convert-to-AssertionError ConditionTimeoutException. This has the same issue as using e.g. @Test(expected=...) would, namely that you can't set the timeout locally to one condition, you have to set it for the entire test, and if the test fails you don't get useful feedback on the failed condition (e.g. "condition value was x, expected y").

Hi guys,
Is there any chance that this feature will be implemented? It would be really nice to be able to specify your own callback for timeout with, for example, sensible output to log.

Looks like it's requested by several people so I suppose it's something
that we should look into.
On Fri, Feb 8, 2019 at 9:59 AM desember<EMAIL_ADDRESS>wrote:

Hi guys,
Is there any chance that this feature will be implemented? It would be
really nice to be able to specify your own callback for timeout with, for
example, sensible output to log.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/awaitility/awaitility/issues/48#issuecomment-461734418,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALalbaDyB6oFOgTDpap0vRL3mUcW5sRks5vLTyMgaJpZM4Ioiej
.

I've found Awaitility in the context of JUnit tests to be the most salient use-case, so I think natively supporting configuration to throw AssertionError instead of ConditionTimeoutException would be incredibly useful.  Supporting .onTimeout might be a generic solution, but I suspect an explicit configuration (i.e. .throwAssertionErrorOnFailure or similar) would be welcome :)

Hi
Hmmm... the above mentioned commit is from 2018... Any chance to get this into master soon? Would be great!
Regards
Oliver

I'm just working on a case where I need to poll for some time and NOT fail at the end.
I'd like to have a custom onTimeout(Supplier) handler  :)

2 years later...

@iklimchuk I heard they accept contributions

2023 ...

2024 still use try catch


Move Sprint 11 issues to Sprint 12 board

Description
Move Sprint 11 issues to Sprint 12 board and add to critical path.
Tasks

[x] Set up new Sprint kanban board.
[x] Define this week's KPI (Key Performance Indicator).~~
[x] Move sprint issues to new current sprint board.
[x] Close previous sprint board.

Done


Add BEL graph writer

Closes #29

I've released PyBEL v0.14.4 which has all of the updates needed for this PR, but we're still waiting for discussion about PTMOD (which one? always phosphorylation? BEL doesn't have a way to write a generic PTM, so this will have to lose granularity), about REACTION, and about CATALYSIS

I don't know if this will help you, but these edges were extracted from the STRING db. (9606.protein.actions.v11.0.txt.gz in https://string-db.org/cgi/download.pl?species_text=Homo+sapiens)
Unfortunately the doc of the file, does not give a detailed explaination of the action modes: https://string-db.org/help/faq/#what-does-the-columns-in-proteinsactions-file-mean
I've tried checking what PTM is meant by ptmod manually and I am by no means an expert, but I think it is not only phosphorylation.
F.e. One edge in the graph is https://string-db.org/cgi/network.pl?taskId=s9XIuCkkHRQm. A click on the connections -> button "show" besides Post-translational modification, reveals that this edges is a "... Methylation of NDUFS2 by NDUFAF7"

@nomisto thanks for the links. I guess they're using text mining for PTMs since the kind is only in free text. That means that we can use it to infer the "regulates" edge in BEL, but no more.
Now that I'm aware that you're including predicted binding information in your network, I would suggest discontinuing import of that information for any link prediction task, as it would conflate the previously used prediction method with whatever link prediction task is being evaluated.
From what it said, I think reaction is also a superclass of directed binding interactions, so I'll make a BEL export based on that. Will mark for review soon!

Looks good!

Now that I'm aware that you're including predicted binding information in your network, I would suggest discontinuing import of that information for any link prediction task, as it would conflate the previously used prediction method with whatever link prediction task is being evaluated.

That's a good point. STRING, for example, creates these predictions through:

NLP
Transferred from other species
Computed from genomic features

The last point could be problematic.
I'll talk with @matthias-samwald about this.

Perhaps a good idea to make a new issue. It won't have any effect on the BEL export, so I wouldn't say it blocks this PR


Feature/beacon

Adds a system level plugin that will broadcast details of the ROV to the local subnet every 5 seconds.
Details include

Hostname
Battery Voltage
Internal Pressure
Rate of Pressure Change
IP address of unit

This works for all series TOVs and gracefully degrades by not sending details if they are not available.
This is intended to provide a means for clients to dynamically discover the ROV when it is on the same subnet (such aa a router or when the phone is used as a tethering device).
Clients that listen to this UDP beacon don’t have to actually establish a connection to the ROV report on the details listed above.

LGTM, taking into account that we should figure out exactly what information/triggers are desired for pressure feedback (absolute triggers, rate triggers, whether or not to use a moving average, etc).


Attempted Weird Linux Bug-Fix

I'm not sure if this is related to #250 but my issue is very similar.  This is not yet ready for merge because there are still issues with the wieldables, and likely other things I haven't noticed yet.
Goal here is to figure out the issue with some Linux systems being unable to load the latest build of Cogito.  Using 4.3 but should be no difference in versions, afaik.
What I did:

Re-forked the current Cogito repo
Cloned that and then deleted almost everything
copied over an older build of Cogito I had
Copied over only the new code, leaving Assets empty
Copied over godot.project to see if issues arose
Copied over almost every asset

I'm going to try copying over assets I haven't replaced yet to further narrow down the potential issue, but my only issue currently is the Wieldables don't seem to know how to reference their animations anymore.  If you can look at that, I'm very confused.  Anyone else on Linux who can't load the project, try this branch and see if you can load into it.
From what I'm finding, it's something in the Assets folder crashing, specifically a model but I can't figure out what.

Wieldable animations are a known issue with Cogito in Godot 4.3, reported here https://github.com/Phazorknight/Cogito/discussions/247
Cogito hasn't been updated to 4.3 yet, so I'd suggest using 4.2.2 for now to help narrow down the issue your encountering

I've tried it with 4.2.1, 4.2.2 and 4.2.3.  I almost thought it was a system issue until I started playing around with it more.  Unfortunately my logs and running it with --verbose doesn't tell me anything I don't already know.
Hoping some other Linux users can play around with it in here.
Thanks for pointing me to that issue I probably wouldn't have noticed it and continued trying to decipher what I did wrong on my own, lol.  I'll look into that on my own time then and double check it in Godot 4.2 when I wake up.

So Cogito works just fine on my linux laptop:
Godot Engine 4.2.1 stable
Fedora Linux 40
I would definitely advice against using Cogito with Godot 4.3 yet as it has not been tested or ported for it yet at all.

Yeah and showing from #201 and from my own personal experience, that's not every Linux machine.  Something is borked somewhere for some users and that's what I wanted to figure out.
But alright man.  I'll just go back to another project and wait.

@ZeroHanekoma

that's not every Linux machine. Something is borked somewhere for some users and that's what I wanted to figure out.

For sure, and I'm curious what the issue exactly is. I provided of what I know on how Cogito runs on my end to narrow down sources of errors. The first step would always be to confirm the version of Cogito and Godot.
If the issue is with a specific asset, then making a new blank Godot project and importing just the Assets from the Cogito project might provide further insight.


drone login (to gitlab) returns "The redirect URI included is not valid"

@Bugagazavr can you pls comment the following error I found on the following configuration? any idea?
When I try to LogIn the Drone, I will get: "The redirect URI included is not valid" on an Gitlab page.
https://git.lab.ci/oauth/authorize?client_id=7a72db7cb5d74f6870c5d279a96bbf50420db9a84aa8c7d5c1525349dae138e2&redirect_uri=https%3A%2F%2Fdrone.lab.ci%2Fauthorize&response_type=code&scope=api&state=drone

drone log:
 [GIN] 2015/10/06 - 15:12:38 | 200 |     231.362µs | <IP_ADDRESS>:43077 |   GET     /login
[GIN] 2015/10/06 - 15:12:40 | 303 |     112.659µs | <IP_ADDRESS>:43077 |   GET     /authorize

CLIENT="7a72db7cb5d74f6870c5d27xxxx"
SECRET="54575e0053a1dcfa6a6916xxxx"

REMOTE_DRIVER="gitlab"
REMOTE_CONFIG="https://git.lab.ci?client_id=$CLIENT&client_secret=$SECRET&skip_verify=true&open=false"

Drone 0.4.0 (tested with .deb and builded from source, today)
GitLab 8.0.4
GitLab Shell 2.6.5
GitLab API v3
Ruby 2.1.5p273
Rails 4.1.12

Looks like your redirect URL is incorrect. I see https://git.lab.ci/oauth/authorize instead of https://git.lab.ci/authorize
Feel free to ask questions in gitter.im/drone/drone prior to logging issues

can you also add logs from GitLab? I'm sure @Bugagazavr will ask for those as well

also, can you confirm you registered the redirect url in gitlab? For example, in GitHub I need to register https://git.lab.ci/authorize as the redirect url, and if it doesn't perfectly match, GitHub gives a similar error

@epcim you need have the same URL's in your oauth application and real drone https://dronehost.com/authorize, double check your url and schema.

thanks, works now (tl;dr - I upgraded old gitlab from 7x to 8x and forgot the configuration steps, where the redirect uri changed on drone side)


SSH blog entry

Added link to Youtube video and readthedocs

I think you included a few image files that should not be there?

I think you included a few image files that should not be there?

You are totally right, my bad!


As a user I should be able to specify slippage boundaries in contracts so I don't unexpectedly take massive slippage (contract only)

Background
Important to have a way for users to specify slippage boundaries so they don't unexpectedly take massive slippage. Doing this in xcall is straightforward, but doing so on execute necessarily involves creating a way for the users funds to escape without hitting the AMM (i.e. withdrawing local asset)
Linked Issues & Documentation

See comments in #1080
Another consideration point -- how should the force execute work into the execute flow with the routers and sequencers? Ideally, user should be able to submit a overriding forceLocal flag, which emits an event, which routers can track in their bids

Definition Of Done
User should be able to specify slippage boundaries for the entire transfer on xcall. On execute, these funds should be able to be withdrawn in the local asset if the AMM does not have favorable slippage for an extended period.
Tasks

[x] Update CallParams to include slippage percentages as well as an optional agent who can interact in addition to the relayer on the destination chain
[x] Update xcall to enforce inbound slippage
[x] Update execute to enforce outbound slippage
[x] Update IConnextHandler to include an forceExecuteLocal
[x] Implement forceExecuteLocal

Broke out offchain and UI work per convo. This is good to complete for contract only


The second of three horizontal bond overlaps backbone connection line

Steps to Reproduce

Go to Macromolecules mode - Snake mode
Load from file: The second of three horizontal bond overlaps backbone connection line.zip

Actual behavior
The bottom horizontal bonds does not shift if there is an overlap

Expected behavior
No overlapping happens
Versions

Ketcher Version 2.23.0-rc.1 Build at 2024-07-02; 08:57:41
Indigo Toolkit Version 1.22.0-rc.1.0-g2bef0ce6c-wasm32-wasm-clang-19.0.0
Windows 10 Pro
Chrome Version 126.0.6478.127 (Official Build) (64-bit)

Issue found while testing - https://github.com/epam/ketcher/issues/3532

Issue is reproduced

Versions:
Ketcher Version 2.23.0-rc.2 Build at 2024-07-10; 19:39:22
Indigo Version 1.22.0-rc.2.0-ga21fb5d8f-wasm32-wasm-clang-19.0.0
Chrome Версия 126.0.6478.127 (Официальная сборка), (arm64)
MacOs Sonoma 14.5

Implemented side connection overlapping over the backbone connection as on screenshot above from @AnnaKosol
Shifting lines to prevent overlapping at all is postponed for now.
Moving to refined backlog.


rsq_train is low and in some iterations of output is negative

Project Robyn
Describe issue
rsq_train is negative or has values like 0.13 or 0.32. How should we interpet when rsq is so low?
Provide dummy data & model configuration
Environment & Robyn version
R version (R --version)
Please make sure you're using the latest Robyn version

rsq_train can have a negative value when the selected model does not follow the trend of the data, therefore leading to a worse fit than the horizontal line. And very low rsq_train values mean that it wasn't possible to create a good fit for the time series. Check your data granularity, randomness, hyperparameters constraints, etc.

How many iterations and trials? Is it converging? Do you have enough variance in your time series? Try adding more context variables to help the model understand what's happening with your data.

2000 iterations ; 5 trails - mean of the revenue column is 9M ; SD is 2.4M. I have visits/ promo as organic_vars too. There are around 20 sales channels.

You seem to be using an old version of Robyn (given that plot's theme). Can you please update and let us know if you still have the same issue? Also, try adding more context variables to help the model understand what's happening with your data.


ruby-duration raise error when used with activesupport >= 4.2

I've encountered error when used with latest activesupport (>= 4.2).
% ruby -v
ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32]

% bundle exec ruby sample.rb
DL is deprecated, please use Fiddle
C:/Ruby21/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/core_ext/module/deprecation.rb:21:in `deprecate': uninitialized constant ActiveSupport::Deprecation (NameError)
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/core_ext/class/delegating_attributes.rb:26:in `<class:Class>'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/core_ext/class/delegating_attributes.rb:6:in `<top (required)>'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/core_ext/class.rb:2:in `require'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/core_ext/class.rb:2:in `<top (required)>'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/core_ext.rb:2:in `require'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/core_ext.rb:2:in `block in <top (required)>'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/core_ext.rb:1:in `each'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/core_ext.rb:1:in `<top (required)>'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ruby-duration-3.2.0/lib/duration.rb:3:in `require'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ruby-duration-3.2.0/lib/duration.rb:3:in `<top (required)>'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ruby-duration-3.2.0/lib/ruby-duration.rb:2:in `require'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/ruby-duration-3.2.0/lib/ruby-duration.rb:2:in `<top (required)>'
        from sample.rb:1:in `require'
        from sample.rb:1:in `<main>'

As for minimum code for reproduce, please refer my gist.

Can confirm this, happens to me as well.

Just added a PR that fixes the issue for me, though I didn't dive too deeply into it.

Thank you very much! v3.2.1 released.

Awesome, thanks!


Support for : Expanded Enderchest

I would love to be able to access the bigger inventory from: https://modrinth.com/mod/expanded-enderchest

https://modrinth.com/mod/clickopener/version/2.1.0+1.20.1

Awesome 🥳


Always getting an error - Could not connect to Google Storage bucket.

Hi guys,
Your plugin is what I need, but I always get below error:
WP-Stateless is not active due to following errors:
Could not connect to Google Storage bucket. Please, be sure that bucket with name 'my-bucket' exists.
I'm using WP 4.6.1 (multisite) and also it seems Google has added roles (and permissions?) into the service account. I tried different settings - with storage roles and without, with permissions and without, but I always get the same error. My bucket exists and I use the same name for bucket as for service account. I enabled WP_DEBUG and in Settings/Media Debug section I can see correct bucket name and content of JSON file, but not sure how to debug it further.
I was looking into get_client() in class-bootstrap.php - what is the best way to obtain more detailed erorr report?
Thank you.

Hello.
Try to check your user account and JSON credentials one more time.
Regards.

Bucked name is correct and JSON credentials were copy/pasted from bucket when I created service account. I also found the detailed error message (I'm trying to access it from Google compute Engine):
{
"error": {
"errors": [
{
"domain": "global",
"reason": "forbidden",
"message": "Forbidden"
}
],
"code": 403,
"message": "Forbidden"
}
}
Can I see somewhere in the cloud console why is it forbidden?

Account which you have do not have access to that bucket. Try to re-create your account.

Mashenka - thank you very much, it seems it is starting to work :) :+1:

Can you give steps for other users who will have similar issue how to fix that?
Thanks.

It seems to me google added new field called "role" into Service account creation screen. When you do not select any role, then account is not added into "IAM" list. It seems storage-object-creator and storage-object-viewer are the ones to go for. Also be careful when you create service account with different name than bucket - then don't mistake with with another when configuring wp-stateless ;)

Thanks for feedback.

Hi,
WP-Stateless is showing an error all the time. I adjusted the roles and settings in GCS Console (There's not much settings to play around in the plugin itself-which I say is amazing-keep it simple), but it shows the same error all the time:
"WP-Stateless is not active due to following errors: Could not connect to Google Storage bucket."
I found a couple of threads that talk of the same problem, but the solutions provided there (even the one mentioned here) did not work for me.
Some Additional Info: I am still on a development server (localhost), could that be the reason for not being able to connect to the GCS bucket?
Warm regards,
Bles

This is a resolved issue, but anyone who may come across this thread during research should update to the latest version and review the manual configuration instructions at https://github.com/wpCloud/wp-stateless/wiki/Manual-Setup

My problem was that i had some empty lines in JSON private key field. Made me crazy, but this message might save your time

@markusila thank you for the feedback. We appreciate it.


How to calculate the square root in CKKS?

Describe the feature
I am trying to rewrite a calculation that uses the function numpy.sqrt(x) with CKKS.
Does Pyfhel currently support the functionality of a square root?
Is this feature related to a project/objective? Please describe briefly
I am currently working on implementing the Pearson correlation coefficient with CKKS.

Add that, its real application is actually in finding a similarity score of BCCA (https://academic.oup.com/bioinformatics/article/25/21/2795/227776?login=true); another biclustering algorithm :) @ibarrond

You have two main alternatives:

Compute a polynomial approximation of the sqrt function, requiring several multiplications to get a good precision. CryptoDL can be a good source to find the suitable polynomial approximations.
Avoid the square root altogether by modifying your formula. To calculate the Pearson correlation coefficient you could compute the squared Pearson correlation coefficient in the encrypted domain (square the numerator, skip the square root in the denominator), and then perform the square root once you decrypt the result, over the plaintext value.


Sync update and metadata with package flag (sparse checkout)

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

[ ] N
[ ] Y

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

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

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

This PR is made to sync and make the subcommands update and metadata with the new package flag.
4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[ ] N
[ ] Y

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

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

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

1 of 3 (33.33%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.003%) to 40.639%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/client/client.go
1
3
33.33%

Totals

Change from base Build<PHONE_NUMBER>2:
-0.003%

Covered Lines:
3178

Relevant Lines:
7820

💛  - Coveralls

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

1 of 3 (33.33%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.003%) to 40.639%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/client/client.go
1
3
33.33%

Totals

Change from base Build<PHONE_NUMBER>2:
-0.003%

Covered Lines:
3178

Relevant Lines:
7820

💛  - Coveralls

There are still changes that need to be done. I haven't updated update command. I am working on it.


No Allocated details in get_srp() function

HI,
Solutions Enabler (SE) reports about SRP with Allocated details:
symcfg -sid SID list -srp -detail -tb
                           STORAGE RESOURCE POOLS
Symmetrix ID  : SID
                                                 C A P A C I T Y
-------------------------------- --- -------------------------------------------
                                 Flg     Usable  Allocated       Free Subscribed
Name                             DR        (TB)       (TB)       (TB)       (TB)
-------------------------------- --- ---------- ---------- ---------- ----------
SRP_1                            FX      293.40     241.16      52.23     676.31
                                     ---------- ---------- ---------- ----------
Total                                    293.40     241.16      52.23     676.31

provisioning.get_srp('SRP_1') function for some reason returns usable_total_tb and usable_used_tb, but usable_used_tb is less than Allocated from SE output, so it's not the same.
performance.get_array_stats(metric='ALL',start_time,end_time) returns both AllocatedCapacityTB and Used_Usable_CapTB.
Question - is it possible to get AllocatedCapacityTB with a help of get_srp() or I have to use performance.get_array_stats for that as there is no other way how to get it?

What array model are you using, the figues returned will be different e.g. 8500/2500 will return
"fba_srp_capacity": {
"provisioned": {
"provisioned_tb": 24.72,
"effective_capacity_tb": 229.78,
"provisioned_percent": 11
},
Here you have provisioned TB value which is what is provisioned to user applications, details on all the values are in the unisphere help will break out by array model and microcode.d

We use AFA 450F and PMAX2000 with 5978.711.711 and they have the same output for get_srp(). There is no AllocatedCapacityTB in output, only usable_used_tb which does not include System Used and Temp Used which Unisphere is reporting about.

Yes the numbers are different on V3 you will have numbers like the following
"srp_capacity": {
"subscribed_allocated_tb": 0.53,  >>I believe this is the metric you need, Subscribed Allocated Capacity represents how much of the logical capacity of the SRP is allocated.
"subscribed_total_tb": 77,
"snapshot_modified_tb": 0,
"snapshot_total_tb": 241.93,
"usable_used_tb": 1.49,
"usable_total_tb": 48.9,
"effective_used_capacity_percent": 1

"subscribed_allocated_tb": 0.53, >>I believe this is the metric you need, Subscribed Allocated Capacity represents how much of the logical capacity of the SRP is allocated.

Not really, subscribed_allocated_tb is how much capacity presented to host(s), but we want to know how much really used.
usable_used_tb gives not whole picture about it.
If you login to Unisphere and check Usable Capacity for array as on attached screenshot above you'll see that usable_used_tb is User Used. But where Unisphere gets System Used and Temp Used data from?
AllocatedCapacityTB = User Used (usable_used_tb) + System Used + Temp Used

AFIK, Temp used should not be counted towards allocated capacity, this is space from SRP temporarily used and will be returned to the allocated pool.  The numbers we have available in PyU4V are those that are reported by the API and Unipshere, TEMP was never exposed and it causes confusion I agree.  I posted a blog on the numbers some time ago.
https://rawstorage.wordpress.com/2019/09/18/where-does-unisphere-get-its-powermax-efficiency-numbers-and-how-can-i-get-them-from-cli-rest-and-unisphere/
To add based on discussions I've had in the past on Temp .  Temp space is just that – temp. Some of it is ABC  data (Activity Based Compression data not currently reduced), There is no impact to the data reduction commitment, since temp should not be considered. It is being borrowed while the array is not full. It is not consumed space. Which is why the data reduction numbers use the efficiency reporting and not the SRP (temp) detail reporting.
Hope this helps.

The numbers we have available in PyU4V are those that are reported by the API and Unipshere, TEMP was never exposed and it causes confusion I agree.
So from where Unisphere gets "Temp Used" metric if it's not exposed via U4V?
It's visible on attached above screenshot.

To add based on discussions I've had in the past on Temp . Temp space is just that – temp. Some of it is ABC data (Activity Based Compression data not currently reduced), There is no impact to the data reduction commitment, since temp should not be considered. It is being borrowed while the array is not full. It is not consumed space.
I agree that Temp can be ignored when array is not really used, but when array is utilised up to 70% and Temp Used is more than 10% of Usable Capacity it starts to play significant role when you need to decide how much capacity you still can present to hosts.
Real example:

symcfg -sid<PHONE_NUMBER>11 list -tb -demand -v

Symmetrix ID                :<PHONE_NUMBER>11
Array Usage
  User Subscribed (TB)      :  724.86
    Allocation (%)          :  61
    Non Shared (TB)         : 444.56
    Shared     (TB)         :   0.00
  System Subscribed (TB)    :   1.21
  Snapshot Capacity (TB)    :   23.47
    Modified (%)            :  67
    Non Shared (TB)         :  14.83
    Shared (TB)             :   0.82
  Usable Capacity (TB)      : 293.40
    Used (%)                :  70
    Used Capacity (TB)      : 205.34
      User Used (TB)        : 204.13
      System Used (TB)      :   1.21
    Temp Used (TB)          :  30.07
  Encapsulated (TB)         :   0.00
Meta Data Usage
  System (%)                :  78
  Replication (%)           :   6
  Frontend (%)              :  36
  Backend (%)               :  67

So from where Unisphere gets "Temp Used" metric?
We just want to collect it either to take right decision about left capacity for new provisionings.

Hi, It can appear that way but the Temp capacity is  still available to you for provisioning operations, this was a confusing metric and is no longer presented.  The remaining capacity for user allocations is still 30% however  a lot of customers only ever provision arrays up to a certain point saving space for other operations and snapshot capacity growth.  I suggest a conversation with you account SE, the metrics available are presented by the API and PyU4V, any decision you  make on your capacity allocation model should be possible based on the available metrics without Temp.   Temp space will always be available for user data if it is required by the system so should be disregarded in any calculation.

closing issue as this is with API and not PyU4V specifically,


"As a first step, navigate into your project directory that contains the package.json file."

found here: https://www.prisma.io/docs/getting-started/setup-prisma/add-to-existing-project/relational-databases-typescript-postgres
These are the official docs for how to setup prisma, but anybody in a repo with multiple package.json files can't follow this instruction. This is literally one of the first sentences in the entire guide -- not a good omen for things to come as I read through the guide

So where does prisma go? Can we stick it in the front end layer? Or the backed layer? Or some other layer?


Rename Microsoft.EntityFrameworkCore.Attributes to Microsoft.EntityFrameworkCore.Abstractions

Part of https://github.com/aspnet/EntityFrameworkCore/pull/11206

I'm going to approve this, but pleas wait until next week to merge so that we don't risk breaking the ASP.NET build, since work is currently on-going to get a good build out of "master" using prodcon.

Looks like we need a matching submodule update. PR checks are failing


relocate argparse and click packages

This makes the dropins for argparse and click submodules. I placed them currently in argparse2tool/dropins, but maybe they could also go to argparse2tool directly.
The intended use is then always PYTHONPATH=$(argparse2tool_check_path) python examples/example.py --generate_cwl_tool

Do you some project using click? I would like to add a test in travis and see if the new usage works in practice also for click.

Sure, I can add a test case for that.

Sure, I can add a test case for that.

Cool.
Do you think we should drop the dropins/ subdir?

I'm fine with it, less likely to cause issues later if they're sequestered in their own directory.

(.venv) (topic/dropins✱) [hxr@mk:~/arbeit/galaxy/argparse2tool]$ PYTHONPATH=$(argparse2tool -) python examples/example-click.py --generate_cwl_tool
Traceback (most recent call last):
  File "examples/example-click.py", line 1, in <module>
    import click
  File "/home/hxr/arbeit/galaxy/argparse2tool/argparse2tool/dropins/click/__init__.py", line 73, in <module>
    class Arg2CWLCommand(Arg2CWLMixin, click.Command):
AttributeError: 'NoneType' object has no attribute 'Command'
(.venv) (topic/dropins✱) [hxr@mk:~/arbeit/galaxy/argparse2tool]1$ PYTHONPATH=$(argparse2tool -) python examples/example-click.py --generate_galaxy_xml
Traceback (most recent call last):
  File "examples/example-click.py", line 1, in <module>
    import click
  File "/home/hxr/arbeit/galaxy/argparse2tool/argparse2tool/dropins/click/__init__.py", line 73, in <module>
    class Arg2CWLCommand(Arg2CWLMixin, click.Command):
AttributeError: 'NoneType' object has no attribute 'Command'

click doesn't work as far as I can tell? weird.

Oh, I was missing the click package.

Looks good from my side. If you like we can have another release and I can continue on the bioconda integration https://github.com/bioconda/bioconda-recipes/pull/23347 .. (I see no better possibility than having a pypi release first)

Cool, sounds good. Feel free to bump in setup and tag appropriately.


Use .prettierrc path relative to .eslintrc.js

The path argument of fs.readFileSync is relative to the working directory, so linting in Atom was broken for mono-repos (as eslint is not executed from the project root).

Coverage remained the same at 100.0% when pulling 241d996ad5267d28a7730f8f252d2f79fc37389f on abeMedia:patch-1 into 98f5c0e5bc54a5540466515e38dea9e9cb752019 on react-boilerplate:dev.


Throw illegal state exception instead of NPE in zk-cache when no session available

Motivation
Small enhancement to avoid throwing NPE when session is not available.

retest this please

retest this please

retest this please

@merlimat any updates on this one? is it required for 2.1?

moved to 2.2 release. if it is critical for 2.1, feel free to move it back.


Tests: extend request body tests with case for issue #142

While here, adjusted request body tests for flawless parallel execution.

@zimmerle @victorhora I marked corresponding tests as TODO in order to avoid breaking of the whole suite - FYI. Those are being passed with https://github.com/SpiderLabs/ModSecurity/pull/1978 applied. We should remove TODO once the library is fixed.

Merged! Thanks!


[SPIKE] Supported Kubernetes CNI plugins comparison

Is your spike related to a problem or idea? Please describe.
We want to minimize the number of CNI plugins supported by the Epiphany as it is hard to test right now multiple options and the functionality doubles between the plugins.
Describe the outcome you'd like
We want to compare CNI plugins supported by Epiphany also in the context of cloud provider.
What is the reason or source for the spike
We want to deprecate some CNI plugins and this task should be a base for making the decision about deprecation plan, because functionalities of some are doubling between them.
Additional context
None.

DoD checklist

[ ] Reader is able to understand the results of spike
[ ] The results of the spike are presented in a table (to show simply what are compared or researched parameters) / not applicable
[ ] Each value / cell in the results table is described more deeply below
[ ] Demo of the spike (automated as much as possible)
[ ] Design doc updated

Not going todo anymore spikes for Epiphany.


Timer Remove command, and Request for Long Break distinction

Hello again!
I noticed that there was commands to add a specific amount of time, and set the clock to a specific time, but I would also like a command to reduce the clock by a specific amount (secs, and also xx:xx).
Also, I would like to have more distinction between short and long breaks. Currently, they both receive the same automatic break label and break msg. I treat my short and long breaks differently, so it would be useful if I could create more distinction both in the label and in the message in chat, so that the difference was better communicated!
thank you so much moh <3,
fox

For sure fox, I added additional configs for the long break (label, chat message and sound). For the !timer sub xx:xx command was not in the documentation, so I added it there


nearest_valid_timecode_rate in lieu of access to the list in Python

Added useful function nearest_valid_timecode_rate in lieu of access to the list of valid timecode rates in Python.
Example situation:
You've for some reason lost a significant figure on a frame rate: 23.97602397602397
is_valid_timecode_rate(23.97602397602397) returns False
nearest_valid_timecode_rate(23.97602397602397) returns 23.976023976023978

This looks useful and clear. Could you add a test and a doc string for the new function?

Could you add test cases for the common "abbreviated" NTSC rates. Specifically, 29.97, 23.98, 23.976 to ensure that those snap to the desired NTSC rate. Those truncated rates often appear in text fields, labels, etc. so they might find their way into this function.

29.97, 23.98 and 23.976 are already in the valid timecode rates list.
Did you mean a test which checks e.g. 29.971 snaps to 29.97?

Ahh, right. I think this is a place where we might want to apply the Robustness Principal - we want to be permissive in what we accept (slightly rounded SMPTE rates are okay), but make our functions yield the technically correct SMPTE rates.

Ok, so I guess I could make a separate array of the standards, and an array of acceptable roundings, then the nearest_ function uses the former array?

ok, sweet. I'll do that.

Just a thought. Would it make sense to have a type like RationalRate to accurately represent a drop frame rate like 3000 / 1001 with the numerator and denominator?

Moving RationalTime to be a true rational number is something we've discussed, #190 has some more detail.
@ssteinbach and @meshula are spearheading some work to rigorously define OTIO's underlying mathematical framework. I suspect once that solidifies a bit we'll focus on discussing "RationalTime 2" - we'd certainly love to hear your perspectives!

Yes, we have defined some rigorous math, and we have a prototype implementation that correctly (according to the unit tests at least) implements an integer rational number class that guarantees a certain precision, and tells you when you will lose precision by combining rates.
We've also got documentation under way to nail down nomenclature, so that we can all mean the same thing when we use terms of art, such as pull down, and so on.
All of this will show up at a tsc and the github repo during the course of this year, I expect.


Add formatter for Caddyfile

It would be nice to have a Caddyfile formatter support. It is included in caddy itself.
To format stdin to stdout:
$ caddy fmt -

caddy itself can be fetched from Github Releases, e.g. 2.6.1 Linux AMD64 tar archive, which directly includes the caddy binary.

You're more than welcome to review the guide and submit your own :)

I can surely try :) My problem is that I'm not a user of apheleia yet, I'm patiently waiting for doom-emacs integration, but I can still submit a PR.


Automated Unit Testing / Continuous Integration

It would be really nice to have automated unit testing.
That could be realised with a gitlab docker image and a continuous integration tool into this repo.
The idea behind that is to avoid bugs like #85

I like this idea. A lot.
I don't think I'll have issues generating a key on the fly (http://stackoverflow.com/questions/23640961/gitlab-api-how-to-generate-the-private-token). The issue would be finding a service like appveyor that supports docker images. I wouldn't want to restrict PSGitLab development to users who understand docker and I would like to make sure that all commits run against this sort of testing.

I recommend using Travis CI. That service allows using docker see here.
I recommend that we first wait until PowerShell 6 is released. It supports also Linux...

I got to use Travis CI lately for some Ansible roles I've built. Pretty slick. I was able to get the latest version of PowerShell installed on Ubuntu Trusty using the following .travis.yml file.
I've been looking into this issue further and currently have a roadblock. GitLab no longer configured with a default username and password. I need a way to set credentials on a brand new instance. Once that is done I think I'm close.

useful snippet
$URI = 'http://<IP_ADDRESS>:10080//api/v4/session?login=root&password=Pass1word!'
$Body = @{
    login='root'
    password='Pass1word'
<EMAIL_ADDRESS>}
$Session = Invoke-RestMethod -Uri $URI -Method Post

$Headers = @{
    'PRIVATE-TOKEN'= $($Session.private_token)
}

Invoke-RestMethod -Uri 'http://<IP_ADDRESS>:10080/api/v4/projects' -Headers $Headers

Building on GitLab and using GitLab CI also lets you use docker images, fwiw.

docker rmi docker images | awk '{ print $3; }'

https://docs.gitlab.com/omnibus/docker/README.html#pre-configure-docker-container

@TerrapinStation asked offline if he could contribute to this and I say I'm all for it. Here is my to-do list.

[x] Set Access Token to a known value to bypass first-time user prompts.
[ ] Skip integration tests when running Pester locally ( need to rework the Invoke-Build task )
[ ] Only run Integration tests in CI env but should support running by hand if the developer wants
[ ] Successfully run the Get-GitlabUser integration test found here

Please track all work against the travis branch as that is where I'm keeping the work. Until it is ready for production.


Differentiating comment types in Rmd

It would be ideal to get "Toggle Line Comment, Control+/" to differentiate comment types between inside and outside of R code chunks.
---
# This is an YAML comment.
---

<!-- This is an in-text comment -->

```{r}
# This is a code-chunk comment
```

@jooyoungseo Thank you for reporting. I'm almost positive this used to work. There may have been a regression at some point.

It was probably working when #269 was merged.

@andycraig, thank you very much!

Let's keep this open as the problem still exists. I'm pretty sure the problem occurred somewhere between #269 (about a year ago) and now. I'll investigate.

I would like to bump this one as I stumbled across is multiple times in the recent days. Especially if one writes an article in an Rmd, having this working (again) would be great :)

It seems work now.


Feature

updated Inspect component
added Evolve Item component

Integrated into version 2.5.0
Thank you for your contribution!


Add an option to collect latency medians every epoch

This allows us to gather per second median latencies and has been useful in some recent performance experiments.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,952,584      Total (=)      1,952,584

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,665,704      Total (<)     10,665,713

 No significant differences in binary sizes

[microbenchmarks] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,952,584      Total (=)      1,952,584

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,665,710      Total (>)     10,665,703

 No significant differences in binary sizes

[microbenchmarks] No significant performance differences

[trickle] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,633      Total (=)      1,955,633

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,844,445      Total (<)     10,844,451

 No significant differences in binary sizes

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,633      Total (=)      1,955,633

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,844,442      Total (<)     10,844,449

 No significant differences in binary sizes

[microbenchmarks] No significant performance differences

[microbenchmarks] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,633      Total (=)      1,955,633

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,844,434      Total (<)     10,844,445

 No significant differences in binary sizes

[microbenchmarks] No significant performance differences