ANT+ Support

https://www.thisisant.com/

[ ] Extend GUI to be able to choose between devices
[ ] new Architecture to support multiple RR Interval Devices
[ ] Implement Band with new Architecture
[ ] Implement ANT+ with new Architecture


RISCV builds for databroker-cli

uses the same pattern as datbaroker to build CLI. As a result it als emits RISCV binaries (glibc ones due to limitations in the ecosystem currently)
Hint: On a linux system with qemu-user-static (or similar) package installed the system can run/test any of the ocntainers, e.g.
docker run --rm -it --net=host --platform linux/riscv64 ttl.sh/kuksa.val/kuksa-databroker-cli-1924d6d3a814e19efd84ec1cd210dabc6fc6a387
Currently supported platforms are linux/amd64 , linux/arm64, linux/riscv64

Part of #666


Link list is loading very slow in regions with a lot of content

Describe the Bug

Steps to Reproduce

Go to https://cms-test.integreat-app.de/muenchen/analytics/linkcheck/invalid/
Wait for 20s
See page

Expected Behavior

The linkcheck list should load in a couple of seconds (maybe a maximum of 5s for really large regions?)
Actual Behavior

It's considerably slower
Additional Information

After this is fixed, the linkcheck row can be shown again in the dashboard:
Revert https://github.com/digitalfabrik/integreat-cms/pull/2538/commits/1f9be5876b79710490580d88800e0c3377b688e7

I tried to reproduce this by creating one page with ~750 different valid urls and another page with ~750 different invalid urls. Then I made 32 copies of each page.
However, the relevant code of the dashboard ran in about 300-500 ms for me. I also noticed that the example link (https://cms-test.integreat-app.de/muenchen/analytics/linkcheck/invalid/) loads in about 7 seconds, which seems a lot better than 20 seconds. Could it be that this issue has already been fixed?
Apart from that, one simple way to improve the performance for the dashboard would be to specify prefetch_content_objects=False in the call to filter_urls. This roughly halves the time required on my pc.

Adding the blocked label because it is hard to reproduce without #2516

Is this maybe an infrastructure topic/problem as well?


[Thread] SSO Auth Tracking

Feature Description
External auth was initially implemented in gitea with the intention of providing an alternate, parallel method for user login to cloud services (eg. GitHub, OpenID, etc.), and has subsequently been extended to include enterprise services, like Azure AD, Okta, etc.
There are a number of issues in the current implementation that don't work when configuring gitea for integration with a single sign-on tool for provisioning users with access control. These range from quality of life to potential security issues if not properly mitigated. Some of these already have associated issues/PRs, but some do not. The goal here should be to enable Gitea accounts to be fully managed from an external auth provider, which is a requirement for most enterprise applications.
This issue serves as a tracking thread for "SSO compatibility" for Gitea. I will start by drafting a list here of related issues and then linking them to existing issues or creating new issues if they don't exist.

[ ] Option to hide login form

https://github.com/go-gitea/gitea/issues/16674
https://github.com/go-gitea/gitea/issues/13606

[ ] Check external auth for all user interaction

Currently, users can generate an auth token for their account (in fact they will need to if they have an account provisioned from an SSO tool). Their token is not validated for access against their SSO provider, so even if access is revoked from SSO, the user can continue to operate using their access tokens.

[ ] SCIM or other "push" based account management

Currently, if an account is removed from OIDC/LDAP it will remain in gitea
Any other changes in user account from external auth tool should be mirrored in gitea, not just on account creation

[x] https://github.com/go-gitea/gitea/issues/23392
[ ] Remove ability to add/reset password, add/change email, (or any other options that should be overwritten with SSO)

I think this is partially addressed with #20549, but I'll need to look closer
https://github.com/go-gitea/gitea/issues/16852

[ ] Map user to admin role with OIDC

There is also #7056, #21672

This issue is also related #14270.

I believe this PR https://github.com/go-gitea/gitea/pull/31572 is the last feature needed to effectively close this issue. There are some other issues I linked to in here, but the are more tangential + additional capability.
We should now have everything we need to set up Gitea w/ SSO identity provider.


make a hexbin sticker

Create a node-tap sticker and submit as a PR to https://github.com/maxogden/hexbin and also link here so that I can buy some and put them on laptops.

@isaacs if you want some @stickermule store credit let me know.


[BUG] from . import AnonymousSchemaX breaks types (?)

Describe the bug.
So with --pyDantic, the CLI generates models like:
from . import AnonymousSchema15

class AnonymousSchema13(BaseModel):
  command: Optional[str] = Field(default=None)
  meta: Optional[AnonymousSchema15.AnonymousSchema15] = Field(default=None)

with
class AnonymousSchema15(BaseModel):
  whatever: str = Field()

But when I try to use the models I end up with the unhelpful message:

...
/opt/homebrew/Cellar/python@3.12/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/typing.py:415: in _eval_type
return t._evaluate(globalns, localns, type_params, recursive_guard=recursive_guard)
/opt/homebrew/Cellar/python@3.12/3.12.4/Frameworks/Python.framework/Versions/3.12/lib/python3.12/typing.py:938: in _evaluate
eval(self.forward_code, globalns, locals_to_pass),
:1: in
???
../.venv/lib/python3.12/site-packages/pydantic/_internal/_model_construction.py:237: in getattr
raise AttributeError(item)
E   AttributeError: AnonymousSchema15

The import seems to break the types for pydantic. It works fine when I go with from .AnonymousSchema15 import AnonymousSchema15 and then Optional[AnonymousSchema15].
This seems to be some deep crappy typehinting black magic eff-up.
So the fix might just be to adjust the import + the usage.
Expected behavior
Nested models should work out of the box.
Screenshots

How to Reproduce

Have a message with allOf:

      payload:
        allOf:
          - $ref: "#/components/schemas/Base"
          - $ref: "#/components/schemas/SomethingOnTop"

asyncapi generate models python asyncapi.yaml --pyDantic
Try to use the generated model(s)

🥦 Browser
None
👀 Have you checked for similar open issues?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

Are you willing to work on this issue ?
None

This is probs rather a modelina issue.

I'll move this to modelina.


invalid signature for browser.tabs.query

Describe the bug
Current signature expects 1 argument, browser API waits for two (options and cb)
Reproduction
const tab = await new Promise<chrome.tabs.Tab>((resolve, reject) => {
  browser.tabs.query({ active: true, currentWindow: true }, (tabs) => {
    if (tabs.length === 0) {
      reject(new Error('No active tab found'));
    } else {
      resolve(tabs[0]);
    }
  });
});

returns
App.tsx:91 Error starting recording:  Error: Expected at most 1 argument for query(), got 2
trying to call it with one arg, no matter which, will also result in error
Steps to reproduce
No response
System Info
does not matter?

System:
    OS: macOS 13.4.1
    CPU: (8) arm64 Apple M1
    Memory: 118.77 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
    Yarn: 1.22.21 - ~/.nvm/versions/node/v18.18.0/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm
    pnpm: 9.3.0 - ~/.nvm/versions/node/v18.18.0/bin/pnpm
    bun: 1.1.13 - ~/.bun/bin/bun
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 125.0.6422.176
    Safari: 16.5.1
  npmPackages:
    wxt: ^0.18.6 => 0.18.6

Used Package Manager
yarn
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

webextension-polyfill expects you to use the MV3 promise based API, not the old MV2 callback style.
So do this instead:
export async function getActiveTab() {
  const tabs = await browser.tabs.query({
    active: true,
    currentWindow: true,
  });
  if (tabs.length === 0) throw new Error('No active tab found');

  return tabs[0];
}

Hmmm. Yes indeed, you're correct here. Thank you and sorry :)
one more thing (if you don't mind: calling browser.tabCapture.capture(params, stream => ...) inside popup part of code will trigger this on popup window (which is considered part of chrome window) and always fail, but it's not present in other connecting apis (content/background)... What is the best approach here?


Cleanup #1314: Replace PUPed raw arrays in src/ with std::vector

Original date: 2019-05-07 17:34:02
Original PR: https://charm.cs.illinois.edu/gerrit/4922

Skipped:
src/libs/ck-libs/amr.C
Arrays of pointers to individually-allocated objects
CkReduction
Deferred:
src/ck-ldb/
Change-Id: Ia19da4147841ad2fe7989aaa27b3f52976c618ee

Needs another review


How to insert KV pairs into an empty APEX

Hi,
I try to skip the bulk load and insert some KV pairs into an empty index, but the program seems to enter an endless loop.
The modifications are as follows.

I set the "skip_bulkload“ in src/benchmark/main.cpp to true
I run the "run.sh" with single thread
the benchmark gets stuck after printing some information. The CPU utilization is 100%.

found flag keys_file = longitudes-200M.bin.data
found flag keys_file_type = binary
found flag keys_type = double
found flag init_num_keys = 0
found flag workload_keys = 10000
found flag total_num_keys = 10000
found flag operation = insert
found flag insert_frac = 0
found flag lookup_distribution = uniform
found flag theta = 0.99
found flag using_epoch = 1
found flag thread_num = 1
found flag index = apex
found flag random_shuffle
found flag sort_bulkload = 1
The key type is double
The epoch is used
creating a new pool
pool opened at: 0x7f4480000000
Intial allocator: 1
Recover/Initialize time (ms) = 162.361

I try to insert data to an empty ALEX and it works.
Hope the author could fix the problem. Thanks a lot!

Thanks for pointing this out. I will take a look at how to fix it and come back to you soon.
Baotong


Terminal links working inconsistently

/duplicate https://github.com/microsoft/vscode/issues/232830


test(connector-corda): fix flaky watchBlocksAsyncV1 corda v4.8

Describe the bug
The test in the file below is flaky:
packages/cactus-plugin-ledger-connector-corda/src/test/typescript/integration/monitor-transactions-v4.8.test.ts
Probably related to or the same race condition that was causing #1995
To Reproduce
Run the CI enough times that it eventually fails instead of succeeding.
Expected behavior
Test passes consistently in all environments.
Logs/Stack traces
2023-04-06T21-20-36_connector-corda-monitor-transactions-v4.8-crash.log
Cloud provider or hardware configuration:
GitHub/BuildJet
Operating system name, version, build:
Ubuntu-20.04
Hyperledger Cactus release version or commit (git rev-parse --short HEAD):
main
Hyperledger Cactus Plugins/Connectors Used
Corda
cc: @outSH

Hello @petermetz Can you assign me on this one? I would like to work on this. Thank you

Hello @petermetz I cannot seem to replicate the issue. Because I tried to run the CI 10 times on my fork and I still got this test file passing:
packages/cactus-plugin-ledger-connector-corda/src/test/typescript/integration/monitor-transactions-v4.8.test.ts

@aldousalvarez Gotcha, let's just leave this one closed for now and if the issue happens again we can re-open. In the meantime please book in the time you've spent on the testing/verification on your personal fork. If you don't yet have permission to edit the project estimates you can ask @jagpreetsinghsasan to do the updates. In the meantime I'm working on adding everyone to the HL GH org so permissions are coming soon.

@petermetz Got it. Thanks for the update. will update the time spent on the testing and verification.


📃: Amazon Clone

🔴 Title : Amazon Clone
🔴 Tech stack : HTML , CSS , JS
🔴 Objective : to create a look alike of amazon website
📸 Screenshots : NA

✅ Details to Include When Taking the Issue:
Name : Riya Rane
Participant Role : GSSOC, Hacktoberfest

Happy Contributing! 🚀
Wishing you all the best on your open source journey. Enjoy! 😎

the project has already there


feat(lsp): additional reference keymaps

After getting rid of vim-illluminate, we lost the keymaps <a-n> and <a-p> for reference jumping. This might be a personal preference but I miss these mappings as they are easier to spam/repeat compared to [[ and ]].
EDIT: Future note: With illuminate, pressing <a-n> while on the last reference, it would jump to the first one. This was a nice feature that is not supported by the lsp.words.jump method. Would be nice to have it.

I've refactored the underlying code a bit and implemented those keymaps with cycling.
Thanks!


Common errors

I would like to see some common errors in VS (such as intellicode errors)

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

ID: 5fc5c36c-d8ef-6b2d-2c62-5243d1ac2ce1
Version Independent ID: 91c57e20-c75c-3c8d-e31f-727fa1e2af29
Content: Repair Visual Studio
Content Source: docs/install/repair-visual-studio.md
Product: visual-studio-windows
Technology: vs-installation
GitHub Login: @anandmeg
Microsoft Alias: meghaanand

@galastiaos, thanks for your feedback. We will take your suggestion into consideration.
Meanwhile here are some resources:
Intellicode errors are covered in the troubleshoot  section of the Intellicode for Visual Studio overview doc.
Here are some other resources for Visual Studio related errors:

Search for your error message in the Visual Studio Developer Community. Other members of the community might have found a solution or workaround to your problem.
Known Issues section of our release notes.
Provide feedback or request a feature.

Thanks again!


Q: can I set TrailingStopRiskManagementModel for each symbol in MultipleSymbolConsolidationAlgorithm.cs?

Suppose my algorithm is trading both QQQ and TQQQ, using:
https://github.com/QuantConnect/Lean/blob/master/Algorithm.CSharp/MultipleSymbolConsolidationAlgorithm.cs#L81
public override void Initialize() {
    ...
    SetRiskManagement(new TrailingStopRiskManagementModel(maximumDrawdownPercent));

}

Looks like this is a global property that I can set only once, i.e. QQQ & TQQQ will use the same percentage as trailing stop.
I would like to set different trailing stop percentage for different symbols.
Is this possible?

Hi @mingwugmail ,
Could you please use the Community Forum to ask how Lean Framework Models work?
Answering your question: yes, this model assumes the same maximum drawdown percent to define the trailing stop. If you want to set different values for different securities, you will need to create a custom risk management model. Please check out the docs for more details.


Option to redownload entire series

This is due to an issue Where I originally had a series download to a network drive but in the library it set all future downloads instead to c/user/novel-grabber-series. I don't know why this happened or if I just forgot to do something. Now comes the issue: Even if I set up it correctly now every series up to till will be missing chapters in the original location. So I either need a way to re-download the entire series or the program needs to be able to scan a folder and see what is missing.
Also there seem to be some folder bug: when a new chapters were added it created to folders. Ex: for Martial God Asura there was one 'Martial" folder and a 'Martial God Asura" folder. Martial had the actual chapters and the other pictures. Overgeared did not have this issue so I assume its a bug with more than one word

I really don't understand the first part. The whole point of NG is to download a complete "series". Whats stopping you from going to the automatic tab and grabbing the complete novel? NG won't be able to scan for missing files because it was never designed to work with multiple files in the first place, the core functionality is to create a single ebook file with all chapters combined.
All downloads from the library auto grabbing is saved at the location you mentioned by default, you can change it by clicking on the gear icon of the novel in the library and adjusting the -path argument (see CLI commands).
The one word folder naming was a bug from 2.8.0 and is fixed in 2.8.1. So it's probably just an old folder.

It looks like if there is a space in the folder name "Chinese Novels" it
can't figure it out and will create a new "Chinese" folder
On Wed, Jul 15, 2020, 7:38 PM Flameish<EMAIL_ADDRESS>wrote:

I really don't understand the first part. The whole point of NG is to
download a complete "series". Whats stopping you from going to the
automatic tab and grabbing the complete novel? NG won't be able to scan for
missing files because it was never designed to work with multiple files in
the first place, the core functionality is to create a single ebook file
with all chapters combined.
All downloads from the library auto grabbing is saved at the location you
mentioned by default, you can change it by clicking on the gear icon of the
novel in the library and adjusting the -path argument (see CLI commands).
The one word folder naming was a bug from 2.8.0 and is fixed in 2.8.1. So
it's probably just an old folder.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Flameish/Novel-Grabber/issues/42#issuecomment-659069706,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKDLZTU3UDWC75F6FJMZK3DR3Y4VXANCNFSM4O3CNUVA
.

It can't work with spaces in the path variable right now, that's why all created folder have "-" in them.


Ce.actions.map is not a function

TypeError: Ce.actions.map is not a function
at <anonymous> in src/vs/workbench/contrib/extensions/browser/extensionEditor.ts:1377:26
at Array.map (<anonymous>)
at $e.bc in src/vs/workbench/contrib/extensions/browser/extensionEditor.ts:1376:16
at <anonymous> in src/vs/workbench/contrib/extensions/browser/extensionEditor.ts:1000:11

Go to Errors Site

This is no longer valid as the features are now rendered as contributions.


vm detail labels and values are not aligned well

the details are aligned a bit higher

Fixed by https://github.com/matobet/ovirt-ui-components/pull/28


broot: 0.18.0 -> 0.18.1

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

/nix/store/bmiyqvy147nbi0xxl0qjsm79xjnkv1wg-broot-0.18.0	  37.6M
/nix/store/83gyqi45y1yp49vsy101rxbvv2cdhp2w-broot-0.18.1	  37.6M

Thanks!


[#2657] improvement: Skip signing for publishToMavenLocal.

What changes were proposed in this pull request?
Skip signing when execute ./gradlew publishToMavenLocal without gpg key.
If developer wants to generate signed file locally, it still can be generated by setting the env GPG_ID, GPG_PRIVATE_KEY and GPG_PASSPHRASE.
Why are the changes needed?
Publish to local Maven repository should succeed even without signing a signature.
Fix: #2657
Does this PR introduce any user-facing change?
N/A
How was this patch tested?
./gradlew publishToMavenLocal

Thank you for your contributions, @yijhenlin.


Avoid users to boost many times the same note

I love this concept.

Already fixed on https://github.com/vitorpamplona/amethyst/commit/857a31faf0afbd01118c021a4750864e7c5cde8d

So you can still boost after 5 minutes?


[Engine][Storage-WAL]Storage system support K-V storage

Abstract
WAL (Write Ahead Logging) is generated due to the requirement of master node data storage persistence. We need to use the file system to complete the node data persistence.
The node data is a KV key-value pair, and the stored data can only be queried in full. The data is usually in kb-mb size. Direct storage of KV based on the file system itself is a heavyweight operation, and concurrent writing is not supported for some file systems. , but in order to ensure efficiency, we will use batch writing, and how to ensure data accuracy, we use the WAL method.
##WAL's core idea
Usually called write-ahead log, it is a common method to prevent memory corruption and ensure that data is not lost.
Outline Design
WAL structure
We will define a WalEntry as follows
class WalEntry{
  byte[] key
  byte[] value
  Type EntryType
}

When there is data to write, we will encapsulate the data (single) into a WalEntry, and then encode it. In addition to the above fields, the encoded data will also add a CRC value (CRC32 cyclic redundancy check technology, Use 8 bytes to save, so that it can be validated when reading),
Read and write design
For higher performance, we use continuous append writes to improve performance, and use a double buffer mechanism, that is, read and write separation, each with a buffer.
calss ReadBuffer
class WriterBuffer

The written data is first recorded in WAL, and then written to the memory memtable (the memtable will eventually be flushed into the storage system in batches)
The size of the WAL file is related to the capacity of the memtable bound to it. The memtable will have a threshold, and it will be closed when it is full, and the WAL will not accept new writes at this time, so the capacity of the WAL file usually does not expand infinitely . After the data in the memtable is flushed to disk by a background thread, and no other errors occur, the WAL can be safely deleted.
When SeaTunnel starts, we will fully load the data in the WAL and restore the full disk.
All write operations are performed in the memtable. When the memtable space is insufficient, a new memtable will be created to continue to receive write operations. The original memory will be marked as read-only mode, waiting to be flushed.
WAL brush strategy
When data is written to the WAL file, we need to manually call flush to complete it.
There are usually three strategies in the industry,
Since we can't stand data loss, we only use one strategy - instant flushing, but also configurable time period flushing.
How to utilize an existing filesystem
We will split the previous FileStorage, and third-party file system instances (such as Hdfs) will be split for reuse.
    public HdfsStorage(Map<String, String> configuration) throws CheckpointStorageException {
        this.initStorage(configuration);
    }

init storage will be independent for other business calls,
And checkpoint will be used as a storage business type of storage.

I will add the flow chart later

How to recover wal log when k8s deploy seatunnel?
Wal log useing local filesystem storage, how to handle wal log missing after node move to other host?

Do you have more detailed design information？


import nearest context

add a method to repository to find the path to the nearest _.context.ts file
calculate the path to _.context.ts file
create the root _.context.ts file if it does not exist
remove obsolete ContextCoder and ContextTypeCodeer
unit tests for creating root _.context.ts file
changeset for fixing _.context.ts

fixes #746

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 67 (100.0%)  changed or added relevant lines in 3 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.007%) to 86.138%

Files with Coverage Reduction
New Missed Lines
%

src/typescript-generator/script.js
2
95.29%

Totals

Change from base Build<PHONE_NUMBER>:
0.007%

Covered Lines:
2759

Relevant Lines:
3252

💛  - Coveralls

This is a really good set of changes. I've gotten lots of positive feedback from my demos, but the regular question is why all the empty context files. This helps a lot.


hot_deploy

Thanks for making this cartridge! I tried adding the hot_deploy marker, but it doesn't reload the node server. Maybe you could add this functionality?

That is the point of the hot_deploy...? hot_deploy says upload the new code, but don't start/stop/restart the server.
If you are looking for zero downtime deployments I would suggest scaling your cartridges to at least 2 gears. There is still some lingering problems with this method, but has worked for the most part for me

Ok I thought hot_deploy was for zero downtime deployment. What's the point of it if it doesn't restart the server?

It works for some languages / applications, but I don't think it works very well with node.
IIRC you could combine hot_deploy with pm2 instead of forever.
I went down that path awhile ago, and it ended up just being easier using multiple gears.

Seems like there are no more node processes running. Could there be any other process running on that port?
[*.rhcloud.com asdfkjlsadjfksjadf]\> killall -9 node
node: Kein Prozess abgebrochen

Which is German for "no process killed".


Azure AD responses 401 when accquiring access token using the client_secret_jwt client authentication method

I have passed the case Access token request with a certificate using private_key_jwt client authentication method, but I can not find any document about client authentication using client_secert_jwt, it should be mimic with private_key_jwt client authentication method. I follow the doc OAuth2 Client Authentication with Azure DA, but I got the 401 response.
I propose there's section Fifth case: Access token request with a secret key in https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow, it will use the client_secert_jwt client authentication method to authenticate the client.
Doc Details:

Content: Microsoft identity platform and the OAuth 2.0 client credentials flow
Content Source: v2-oauth2-client-creds-grant-flow

moarychan, Thanks for the update. Much appreciate the follow-up.


AMWG output files not viewable on the web

In my most recent test (/p/cscratch/acme/golaz1/20170915.beta2.A_WCYCL1850S.ne30_oECv3_ICG.edison/input/run.cfg), AMWG appears to have run successfully, but the output files are not accessible from the web.
The link provided by acme_processflow is:
https://acme-viewer.llnl.gov/golaz1/20170915.beta2.A_WCYCL1850S.ne30_oECv3_ICG
but the full address should be
https://acme-viewer.llnl.gov/golaz1/20170915.beta2.A_WCYCL1850S.ne30_oECv3_ICG.edison/amwg/0001-0010
However, the files are not viewable. I first thought it was a permission issue, so I fixed them using
cd /var/www/acme/acme-diags/golaz1
find 20170915.beta2.A_WCYCL1850S.ne30_oECv3_ICG.edison -type d -print0 | xargs -0 chmod 755
find 20170915.beta2.A_WCYCL1850S.ne30_oECv3_ICG.edison -type f -print0 | xargs -0 chmod 644

But that did not fix the issue. I think the real problem is that the files under /var/www/acme/acme-diags/golaz1 are symbolic links to files on /p/cscratch/acme. I would not be surprised if the web server (for security reason) did not follow symbolic links.
Another problem is that I have two sub-directories for the same years:
cd /var/www/acme/acme-diags/golaz1/20170915.beta2.A_WCYCL1850S.ne30_oECv3_ICG.edison/amwg
ls -1
0001-0010
0001-0010_b3acccc3

Are the figures I'm looking for under 0001-0010 or 0001-0010_b3acccc3?

When you run a job with the same experiment name as one that already exists, instead of over writing the plots I just added a random string to the end. I think it would be better if instead of random characters it was the date you ran it, this would remove the confusion of which one was run when. Alternately I could just let the user overwrite their output, but I thought it would be better to error on the side of safety.

Still not working. The files are not viewable on the web. Did you try yourself?

This was working for me on Friday, but its something thats been giving me trouble for a while. I had a run last week that didnt get its output hosted, but I thought I had fixed the issue. What version are you running?

processflow               0.3.17                    devel    acme/label/nightly

Looking through your run log I'm seeing something wonky is going on with the amwg hosting. I'll focus on this issue today.

You were right when you said the symlinks might lead to permissions issues, which is one of the problems here. All the amwg plots you ran should be available now, but I havent fixed the underlying issue yet.
https://acme-viewer.llnl.gov/golaz1/20170915.beta2.A_WCYCL1850S.ne30_oECv3_ICG.edison/amwg/0001-0010/index.html

Fixed in the new nightly.

Reopening because unfortunately this is still not working with the latest version: 0.3.20-devel

Here is what I do to manually fix the permissions after the fact:
cd /p/cscratch/acme/golaz1
find 20170915.beta2.A_WCYCL1850S.ne30_oECv3_ICG.edison -type d -print0 | xargs -0 chmod 755
find 20170915.beta2.A_WCYCL1850S.ne30_oECv3_ICG.edison -type f -print0 | xargs -0 chmod 644
cd /var/www/acme/acme-diags/golaz1
find 20170915.beta2.A_WCYCL1850S.ne30_oECv3_ICG.edison -type d -print0 | xargs -0 chmod 755


Guys im really need a help

How to sign admin dashboard someone help me plsss

@Harmogu in development, you can access it at http://localhost:3100/admin


added iOS notes about PWA and related

This is VERY important for those who wants to create a PWA with camera access.
Sources:

https://stackoverflow.com/questions/46228218/how-to-access-camera-on-ios11-home-screen-web-app
https://github.com/webrtc/samples/issues/933

Implementation: https://minhahavan.com

This data was added to the wrong table. Please ignore.


lastIndex for NodeRemovedEvent

added z-index of 999 to prevent right click menu from being coveredd by other elements
implemented lastIndex as second parameter of NodeRemovedEvent (#111)
fixed null pointer in positionInParent() for top level node

@motabass Sorry, for being silent so long - will review your RP ASAP (have lots of work at my job).

@motabass I've cherry-picked your commit and it is already in develop branch (added there couple tests and changed the commit message according to Angular Guidelines)
https://github.com/valor-software/ng2-tree/commit/0db681c1738429892696b29114ae1c8a5e244a9a


Is it currect or normal that I can't visit each POD or Service by Pod ip or Cluster ip with Istio0.7 installed?

Hello , I installed Istio0.7 and prometheus and I found that prometheus can't visit each pod by pod ip with istio enabled , so is it currect that we can't visit pod by pod ip with Istio enabled?

you mean it is correct that i can't acces pod by pod ip with istio enabled. @ymesika

You should be able to access the service by its ClusterIP but not a pod by its ClusterIP.


Update to new SteamKit Version

It looks like support for the new Steam does not yet work for matterbridge.
The library that matterbridge uses (https://github.com/Philipp15b/go-steam) needs to be updated with the current SteamKit version.
Updating go-steam to a new SteamKit version:
Go source code is generated with code in the generator directory. Look at generator/README.md for more information on how to use the generator.
Then, after generating new Go source files, update go-steam as necessary.
The most recent SteamKit version is: https://github.com/SteamRE/SteamKit/releases/tag/2.3.0-beta.2
This was released only 11 days ago!

I can't update as upstream go-steam is broken currently
./social.go:159:38: undefined: EMsg_ClientChatGetFriendMessageHistoryForOfflineMessages
./social.go:159:97: undefined: CMsgClientChatGetFriendMessageHistoryForOfflineMessages
./social.go:311:18: cannot use avatar (type []byte) as type string in argument to protocol.ValidAvatar
./social.go:323:19: cannot use avatar (type []byte) as type string in argument to protocol.ValidAvatar
./social.go:324:25: cannot use avatar (type []byte) as type string in argument to s.Friends.SetAvatar
./social.go:342:19: cannot use avatar (type []byte) as type string in argument to protocol.ValidAvatar
./social.go:343:24: cannot use avatar (type []byte) as type string in argument to s.Groups.SetAvatar
./social.go:415:47: cannot use info.GetShaAvatar() (type []byte) as type string in argument to s.Groups.SetAvatar
./social.go:601:14: undefined: CMsgClientChatGetFriendMessageHistoryResponse

Feel free to report this issue on go-steam. Going to close this for now.


Display Database Content and Run SQL Queries

Tutorial URL: https://developers.sap.com/tutorials/abap-display-data-queries.html
Please specify the step you are referring to: Step 2 - Select a database table
The table specified in the tutorial - snwd_so_inv_item - doesn't seem to be filled via transaction SEPM_DG documented here: The NetWeaver Enterprise Procurement Model - An introduction. How about using one of the tables actually filled with generated data instead?
As an aside: the link to the documentation as shown in the tutorial - https://archive.sap.com/documents/docs/DOC-31458 - ends with a "document not found" message.

Hi Baerbel,
Again, SEPM_DG_OIA_NEW or report RS_EPM_DGC_HANA_NEW should work.
I'll fix the link.
Is it ok if I close this?
Thanks Julie.

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


On the dev branch of basalt os.pullEvent in threads doesn't support filters

Describe the bug
When you use os.pullEvent in a thread the filter is ignored.
To Reproduce
local basalt = require("basalt")

local main = basalt.createFrame():setTheme({FrameBG = colors.lightGray, FrameFG = colors.black})
local thread = main:addThread()
thread:start(function()
  while true do
    print(textutils.serialize({os.pullEvent("key_up")}))
  -- Now I'm not sure if this code would work
  -- Just because the basalt event handler isn't running when I try to start this thread
  -- but my point still stands
  -- if it does work, this will error. It will instead catch one of the basalt events, one that has functions in the table returned therefor crashing the program.
  end
end)

basalt.autoUpdate()

Expected behavior
The example above wouldn't crash, because it would only ever resume on "key_up" events
Screenshots
N/A
Additional context
N/A
Checklist
[ ] I am running the latest version.
Tick the box if you are running the latest version!
I am running the DEV branch, from when you told me to update it

Thank you, i actually really forgot to add filters for threads, i will implement it this weekend.

Hello the missing filters for threads got added in 153f082 - currently only available in the dev branch.


Can I still upload a file from code in Rails?

I use this gem for file uploads from our UI. But I have a use case for grabbing files from a remote SFTP server and creating them as Uploads (Upload is an AR object).
Upload mounts an Uploader object like so:
  mount_uploader :text_file_name, TextFileUploader

Then I try this:
upload = user.uploads.new
upload.text_file_name = File.open('myfile.csv')
upload.save!

I was always getting:
ActiveRecord::RecordInvalid (Validation failed: Text file name is invalid. )

like that. So I turned off filename formatting in the initializer:
  CarrierWave.configure do |config|
    config.validate_filename_format = false        # defaults to true

Now my upload works, but the file name is being changed to text_file_name.
I'm not sure why the validation step is being used to set the file name. I'm worried that turning this off will also screw up the names  in  the UI upload.
UPDATE
Yeah that's not going to work either. It saves the file with no name on S3. Here is an example download link:
https://mybucket.s3.amazonaws.com/upload/text_file_name/upload/text_file_name?X-Amz-Expires=600&X-Amz-Date=20200703T135637Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJJ5W4XTT5QFTXMWA%2F20200703%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=29ce0453757d69a13eb4090907347875734acfe475f0b4fc4b170f62f2054e3d

Now this download link DOES work. I'm not sure how, because there's no file name. Here's what a "healthy" link using S3 looks like:
https://mybucket.s3.amazonaws.com/upload/text_file_name/ca85e094-189d-48a2-835b-d3ae0e50b15d/<file-name.csv>?X-Amz-Expires=600&X-Amz-Date=20200703T135817Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJJ5W4XTT5QFTXMWA%2F20200703%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=556c3ce5fce7c994c611623745bf5c36b3dfff86aa9c5b3660e743434246466b

The area after text_file_name holds the S3 key normally.

I figured it out by observing the behavior of the form.
filename = 'myfile.csv'
upload = user.uploads.new
key = upload.text_file_name_key.gsub('${filename}', filename)
upload.text_file_name = File.open(filename)
upload.text_file_name_key = key
upload.save!

Works!


Added tags pull step to drone config to show correct version hashes (#6836)

Backport #6836

Make lg-tm work


Elasticsearch collector unmarshalling error

The Elasticsearch collector consistently fails under the linux-386 build due to a JSON unmarshalling error.
elasticsearch: json: cannot unmarshal number<PHONE_NUMBER>331 into Go value of type int

I believe this occurs as a result of using the int type where int64 is required.  E.g. The timestamp fields returned by the elastic _nodes/_local/stats endpoint are too large to fit into 32 bits allowed by the interface timestamp in 32-bit builds.
scollector version: 0.5.0rc3
elastic version: 2.2.0

Same-ish error:
error: interval.go:64: elasticsearch: json: cannot unmarshal string into Go value of type []string

scollector version 0.5.0-rc4
elastic version 5.0.0-rc1

same error:
error: interval.go:64: elasticsearch: json: cannot unmarshal string into Go value of type []string

scollector version 0.5.0
elastic version 5.0.1
Have you got any good solutions to the problem?Please help me. @StianOvrevage @neilfordyce

I don't recall finding a solution to this, sorry.

I am unsure of the cause, but that looks different to issue I experienced.  My issue did not occur in scollector-linux-amd64 v0.5.0 with elastic v2.2.0, so I would hazard a guess it's related to compatibility with Elastic 5.

Thanks for your replay!


Update to CLDR 29 and improve efficiency

Unicode has updated their CLDR language data several times since we last updated the langcodes data, including an overhaul of language matching.
Now that CLDR has gone from supporting 32 languages to supporting 196 of them, some efficiency improvements become essential. Language objects now cache values that have to be parsed or looked up in the database, and the new Language.make factory makes sure that only one object representing each language code needs to exist.
Some API tweaks: the LanguageData class name is being phased out and replaced with Language, you can look up multi-part names such as "Brazilian Portuguese", and you can do so with the find method, which has a shorter function signature than find_name.
The hard part of language matching has been moved into another file (distance.py), which includes a Python reimplementation of the unwieldy language-matching data that Unicode provides

GitHub's view of this PR seems to be stuck on the previous (huge) version. Closing and trying again.


Issue 1

It is showing an error that “Failed to save the assignment: #”
Determine why this error message shows up, and fix this error so that it doesn’t occur when clicking on “New Late Policy” in “due date” tab.
Add a test case that verifies the error doesn’t occur.

Updated the files to fix this issue. Test cases are needed to be setup

Aatman and Shaival added the test cases


Remove reselect dev dep

📝 Description
Remove reselect dev dep added in the past as a workaround for one sdk bug

Sure

/lgtm

/lgtm


Add prompt to user about features turned on/off

@rupisure,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Bugs

when I have tried to deploy new wvd I have faced many issues and here is my fixes

Thanks @anasmohana for the PR! Can you do a PR without commits 25a8c1d and f078ed2 with belong to a different feature? thanks/Cheers
Arnaud

that was my fault I have pushed the first two commit to master without a branch, and when I have created a new branch for the bugs it includes these commits also :(
we can await this pull until we merge the first two commits :)


when setting optimization.providedExports to false, outputModule wouldn't generate export statement

Discussed in https://github.com/webpack/webpack/discussions/17902

Originally posted by hardfist December 28, 2023
I'm not sure whether it's by design or bug, it seems outputModule relys on setting optimization.providedExports to true, otherwise it wouldn't generate the export statement
you can reproduce here https://github.com/web-infra-dev/rspack-repro/tree/esm-output

optimization.providedExports=true

const external_react_namespaceObject = x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_react__["default"] });
;// CONCATENATED MODULE: ./src/index.js

console.log({React: external_react_namespaceObject["default"]});

var __webpack_exports__React = __webpack_exports__._;
export { __webpack_exports__React as React };

optimization.providedExports = false

var __webpack_exports__ = {};

;// CONCATENATED MODULE: external "react"
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
var y = x => () => x
const external_react_namespaceObject = x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_react__["default"] });
;// CONCATENATED MODULE: ./src/index.js

console.log({React: external_react_namespaceObject["default"]});
// missing the export statement

```</div>

@hardfist Feel free to send a PR

I found that the issue has always existed since version 5.41.0 which add EcmaScript modules support.
I'm willing to fix this issue, and I've spent some time looking at it.
The problem I found is that when renderStartup in ModuleLibraryPlugin moduleGraph.getExportsInfo(module).exports equals to [] which caused by optimization.providedExports: false.
https://github.com/webpack/webpack/blob/6842c9a2c9b70e760143188ffa5baa19a72799cb/lib/library/ModuleLibraryPlugin.js#L80
I have a solution that when library === module and  providedExport === false we also flag exportsInfo by FlagDependencyExportsPlugin but only for the entry module. Not sure if this is the optimal solution, but I tested it and it is indeed feasible.
But I also feel that doing so violates the meaning of providedExport. If you accept it, I will send PR to fix this issue.

@hai-x yeah, feel free to send a pr


Migrating from fullaxx/biglybt to biglybt-extreme

I am currently using the regular biglybt container [https://hub.docker.com/r/fullaxx/biglybt/], and want to switch to use the biglybt-extreme container.  I tried to setup both containers to match each other.
When I launch the biglybt-extreme container, most of my pre-existing torrents are missing (except for some magnets that are still trying to find metadata).  But it appears the same configuration is used, so at least something is working.
I also tried restoring the backup from biglybt, and the torrents are still missing.
What else can I try so I can migrate

Sorry for the horrible delay. The 2 images are not compatible (to my knowledge) and I'm not sure I have a good answer for you. You might be able to find your torrent files under the /in/torrents directory and copy them over to the extreme container?


Unable to view sprite atlas in Dive

I have installed Facets to be used in a jupyter notebook and followed the instructions on the github page. I tried to load the provided notebook, Dive_demo.ipynb, but I am unable to view any data points (although clicking on different areas inside the image does display information on the right hand side).

This same visualization displays properly on the facets website https://pair-code.github.io/facets/.

Is there any additional setup I must complete to view the default sprite atlas?

Interesting problem. Do you see any errors in the developers console for the browser when you run the cell that renders the visualization (control-shift-i and then click on the console tab, if using chrome)?
Seems like it might be web-gl related as web-gl is used to render the sprites in the visualization.

Hmm yes I do see web-gl related messages in the developers console:

How might I be able to fix that?

Do you not see these same errors if in the same browser you go to the facets website and view Facets Dive?

Yes now that I am looking the website shows the same thing. When I was looking at the website earlier I was using my local browser but I actually want to be able to view this in my VM, which is where I am seeing these errors.

... I actually want to be able to view this in my VM, which is where I am seeing these errors.

That makes sense. To make WebGL work with a VM, there are different steps for different VM providers, graphics drivers and guest OSs. It sounds like you may need to troubleshoot WebGL + your VM setup first before using Dive.

Closing this issue as it is a problem with using webGL with a VM, outside the scope of Facets


Missing example code

Hi. While working on CDF integration for Soundsensing and writing an extractor from our API I had a look at the extractor-utils. It seems that it would be useful to handle batching, and selecting the right time-frame of data to sync, etc automatically.
But based on the API reference documentation it was a bit hard to understand just how the library is supposed to be used,
as there is mostly description of each piece, not the overall usage.
So in the end I wrote the extractor with just the Python SDK and did the batching etc manually.
I think short example of typical usage would really help for this. This could be a complete example .py file that shows a simple usecase, or something like the Quickstart section in the Python SDK documentation.

Hi 🙂 We do have some publicly available example extractors here: https://github.com/cognitedata/python-extractor-example One that reads CSV files and uploads them to CDF Raw, and one that reads data from the public APIs of the Norwegian Meteorological Institute and uploads weather data as time series to CDF.
The docs contains a quickstart, although I guess it's more a tour of core features than a quickstart.
Though, this issue demonstrates that the example repo is not intuitive to find - I'll make sure to add a link to the readme.


Add support for OpenBMC

Must include:
power functions
user credential operations

@zevweiss does the OpenBMC we're shipping expose redfish endpoints? atleast it seemed like it based on some of your work here https://github.com/bmc-toolbox/bmclib/pull/167/files

Yeah, it's got both redfish and ipmi available, though there may be gaps in their respective implementations regarding certain operations -- I'm pretty sure power control should be available via both, but I've never tested user/password management operations.


Custom API JSON example

I am not seeing anywhere what the json response for a custom api is supposed to be.

Hi @alexrabin, you can see the json response modeled in the ApiVersioning class and its fromJson method.
The expected format is:
{
"minimumIosVersion": "0.0.0",
"minimumAndroidVersion": "0.0.0"
}

If you'd like to use a different response format, you can implement your own MinimumVersioningService using the DefaultApiVersioningService as an example.

Thank you!


arstisan block step 4/5

I want generate module
but artisans stay block at step 4
the commande optimizeLaravel didn't work.
Have you an idea ?
Sorry for my english, i'm french.
Thanks

I've found where it came from, if the app is in debug, we need to use --force flag and it works.


Can I use shorter training and testing utterances?

I notice that both training and testing utterances are 4seconds long and the inference is "the evaluation utterances are first chunked to 4-second segments and processed by the network, with 2-second overlapping between consecutive segments."
If I want to shink the input of the network, Is there any chance I can use them in shorter audio, say 200ms long?
Can I use 4-seconds for training and 200ms for inference?
If not, Can I use 200ms for training and 200ms for inference?

You can try. But I think 200ms may be not a good choice for training/inference, as context is not enough for the neural network to learn/predict.

I notice that both training and testing utterances are 4seconds long and the inference is "the evaluation utterances are first chunked to 4-second segments and processed by the network, with 2-second overlapping between consecutive segments."

Note: this is for SpatialNet, not for online SpatialNet


Malformed utf-8 error thrown when decrypting large tokens encrypted in Python

I encrypted some data using Fernet from Cryptography Python package.  I was able to decrypt some short messages, but for larger messages I got a "Error: Malformed UTF-8 data" error raised from Object.stringify in crypto-js core.js.
As a workaround I had to abandon the fernet.js library and wrote a decrypt function myself.  Its totally untested, but seems to decrypt.  I tried to follow the pattern outlined in Python's implementation.  For anyone else working around the same issue here is a gist with my node Fernet decrypt function

Had the exact same issue when decrypting larger chunks..
your gist code worked perfectly.


feat: status.im theme

Signed-off-by: Mike<EMAIL_ADDRESS>

Still not ready to merge!

Hello, thanks for the update.
I will merge the PR and fix the little issue reported by Travis.
I will then split the different theme in separate files to be able to compare then more easily.
Benoît

Thanks, Benoît.


why not use MakeMint?

@fabcotech followed up on this in https://github.com/fabcotech/rchain-token/issues/4#issuecomment-737997438


[Feature Request]: keep device from falling asleep

What feature would you like to see added to TallyArbiter?
I want this feature! I saw this available on a similarly tally program that was no longer maintained. Where there was something on the page that would allow you to designate to your phone not to fall asleep while the window was open. Not sure how this all works, but would be awesome to have integrated so our guys didn’t have to shut the sleep function off on their phone every time they’re on

That's a great idea!
Out of curiosity what was the other tally project called?

This is supposed to be working already: the implementation is here and it is started here
What phone are you using? Maybe it's just an issue because I don't think WakeLock is supported on all browsers.
Or, and that is probably more likely the problem, we're not initializing it correctly. As stated in the readme of nosleep.js, it needs to be wrapped in a event handler which I cannot find in our UI code.
That is probably very easy to fix.

Just another reason we need a native TA iOS app :)

https://github.com/designshift/atem-tally-lite
And of course, @MatteoGheza has already worked with it 😂
https://github.com/MatteoGheza/TallyArbiter-AtemTallyLite-Bridge


Prototype routing

App now routes properly between login and the sgonks platform
Dashboard's buttons are now working
Made styling amends to buttons since styling was broken when button was replaced with Link tag

That bot isn't going to be happy with the JS formatting until you completely screw it up by the looks of things.

That bot isn't going to be happy with the JS formatting until you completely screw it up by the looks of things.


ActivitySurrogateSelector gadget fixed in DotNet 4.8+

It appears that Forshaw's SurrogateSelector gadget has been fixed in newer versions of DotNet. The patch notes are here for reference. I have yet to dig into exactly what has been corrected, but my guess would be some sort of type filtering to prevent the serialization of arbitrary objects.
Attempting to generate a payload on a host with 4.8 installed will produce the following error:
ysoserial.exe -g ActivitySurrogateSelector -f BinaryFormatter -o base64 -c none --test

Unhandled Exception: System.ArgumentException: obj
   at System.Workflow.ComponentModel.Serialization.ActivitySurrogateSelector.ObjectSurrogate.GetObjectData(Object obj, SerializationInfo info, StreamingContext context)
   at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
   at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
   at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph)
   at ysoserial.Generators.PayloadClass.GetObjectData(SerializationInfo info, StreamingContext context) in C:\ysoserial.net\ysoserial\Generators\ActivitySurrogateSelectorGenerator.cs:line 117
   at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
   at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)
   at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph)
   at ysoserial.Generators.GenericGenerator.Serialize(Object cmdobj, String formatter, Boolean test) in C:\ysoserial.net\ysoserial\Generators\GenericGenerator.cs:line 37
   at ysoserial.Generators.ActivitySurrogateSelectorGenerator.Generate(String cmd, String formatter, Boolean test) in C:\ysoserial.net\ysoserial\Generators\ActivitySurrogateSelectorGenerator.cs:line 143
   at ysoserial.Program.Main(String[] args) in C:\ysoserial.net\ysoserial\Program.cs:line 135

Would the preferred "fix" simply be a note in the help text for the time being?

My hunch was correct, I have just validated that a fix was inserted into the GetObjectData method of the ObjectSurrogate class. There is now a type white list (ActivityBind or DependencyObject) that will apply unless an application flag is set.
private sealed class ObjectSurrogate : ISerializationSurrogate
{
	public void GetObjectData(object obj, SerializationInfo info, StreamingContext context)
	{
		if (!AppSettings.DisableActivitySurrogateSelectorTypeCheck &&
			!(obj is ActivityBind) && !(obj is DependencyObject))
		{
		   throw new ArgumentException("obj");
		}
		// ...
	}
}

Interesting! thanks for sharing! Since you are providing a fix in a PR, will close this issue.
Thanks!


[SPARK-12524][Core]DagScheduler may submit a task set for a stage even if there are another active tast set for this stage is active which can cause the spark context exit.

What changes were proposed in this pull request?
when task finished from failed stage ,it shouldn't. remove from pending rdd partition list.
How was this patch tested?
manual tests
when executor lost DagScheduer may submit one stage twice even if the first running taskset for this stage is not finished,because the finished's task from the failed stage should not remove from the pending partition list.

Can one of the admins verify this patch?

https://issues.apache.org/jira/browse/SPARK-14658

@seayi Could you provide a proper title to the PR, this should contain the JIRA ticket, the Spark component and descriptive title. Something like this: [SPARK-14658][Core] Resubmit tasks on failure
Manual test are typically not sufficient. Please think of a way of capturing this in a test.

is this related to #12436 ?

Yes I think this PR should be closed, and discussion merged to https://github.com/apache/spark/pull/12436

thanks for your attention ,but i think it is not the same,the 14649 jira is running duplicate tasks, but this jira is submit a task set for a stage even if there are another active tast set for this stage is active which can cause the spark context exit.

@hvanhovell  thanks for your attention, ok i will try to write the test

can you refer this, and have a look, https://github.com/apache/spark/pull/8927

Can one of the admins verify this patch?

@seayi any progress on this ? Would be good to add this in if consistently reproducible.

Per my comment on the JIRA, I believe that this is not a duplicate of #12436 as was originally suggested, so I'd propose that we revive discussion and review of this.
@mridulm, I have logs from a reproduction which occurred on a Spark 2.1.0 production cluster, which I posted on the JIRA (https://issues.apache.org/jira/browse/SPARK-14658). I'm still not entirely sure what's happening here, but one clue comes from the fact that it's the third submission of the task set which is failing. My hunch is that there's an invariant regarding overlapping original attempts and re-attempts which is violated when a re-attempt itself fails and is re-attempted again.
/cc @kayousterhout and @markhamstra for review of this scheduler-related patch.

@JoshRosen  I haven't tried to walk through the logs in your JIRA comment, but it wouldn't surprise me at all if this is the same issue that we've been working through in https://github.com/apache/spark/pull/16620

@JoshRosen This is interesting : thanks for the details !
On the face of it, I think @markhamstra's comment about #16620 should apply - but given the additional details, it might possible to reproduce it consistently ?
I am hoping we can create a repeatable test to trigger this : which should greatly speed up the debugging. The earlier case was not reproducible when I tried, but we have more info now ...

I just closed the PR as a duplicate and agree with @markhamstra that this duplicates #16620 (let's move discussion about whether this is a duplicate to the JIRA so it's recorded)

Also, the approach in this PR was discussed and rejected in #16620 (see https://github.com/apache/spark/pull/16620#issuecomment-279125227 for a description of why; the approach here will also fail the DAGSchedulerSuite unit tests).

Can you update the PR description here to have the JIRA number (SPARK-14658), not the PR number?

@seayi -- can you close this PR, since it's a duplicate of #16620?


PTT Remains engaged and Audio/Serial Devices crash on Linux and Mac

Whenever I transmit using a UV-5R and an Explorer QRZ-1, the AIOC seems to crash, making the audio and serial devices disappear and sticking the PTT on permanently.
Unplugging and plugging it back in works just fine, but I can't transmit at all.
This happens in both classic serial PTT and CM108 PTT modes.
Direwolf throws this at me:
ioctl HIDIOCGRAWINFO failed for /dev/hidraw0. errno = 0.
Audio input device 0 error code -19: No such device
...
Audio input device 0 error code -19: No such device
Terminating after audio input failure.

I haven't tested on windows yet, but I have tested with a Mac, a Pi, and a linux laptop.
I opened a ticket last year about this, but never got back around to trying any of the fixes recommended.

Can you have a look at this issue?
https://github.com/skuep/AIOC/issues/11
There have been some problems in the past regarding with EMI issues. Maybe you can find a workaround there

Ah, I gave it a glance and thought it didn't have anything to do with me, but reading closer there are some things I haven't tried yet.
I don't have the same issues on Windows (completely different issues, haha), but it's similar enough that it's worth trying. Thanks!
I'll give some of it a try and update.

Ah sorry, you are right. I should close that one.
I meant to say this issue:
https://github.com/skuep/AIOC/issues/22

I assume your problem is solved or you found another solution and I am going to close this issue. Feel free to reopen if you need more help.

I just haven't had any free time to look at it. Ha! I'll get to it eventually, and reopen if necessary, thanks!


Feature request: Change generic constraint for createForm

Current state
When providing an interface without the index signature (example below), the TypeScript compiler fails on createForm with the following error:
Type 'LoginRequest' does not satisfy the constraint 'Record<string, unknown>'.
  Index signature is missing in type 'LoginRequest'.

The LoginRequest itself looks like this.
export interface LoginRequest {
	email?: string;
	password?: string;
}

Code that throws the error:
const { form, data, errors } = createForm<LoginRequest>({
	onSubmit: (values) => console.log(values.email, values.password),
});

I could add the index accessor to the interface (they are generated based on our API), but this would reduce the type safety when using keyof or similar expressions in TypeScript.
Expected state
The interface should be usable without compiler errors. svelte-forms-lib solves this by defining a default value for the type constraint, see https://github.com/tjinauyeung/svelte-forms-lib/blob/master/lib/index.d.ts#L6-L12.

Giving a default value for the type does not seem to resolve the issue. What does it for svelte-forms-lin is the fact that they're using Record<string, any> instead of Record<string, unknown>, I am not actually sure why that happens but if you use type LoginRequest = ... instead of interface it does work without any issues.
I'll look more into this but I am open to switch this to Record<string, any> if I find no drawbacks to it.

Adding to this, this behaviour seems to be intended by the TS compiler according to this: https://github.com/Microsoft/TypeScript/issues/15300#issuecomment-332366024

@pablo-abc Thanks for the hints! Converted the generated code so it uses type LoginRequest = ... now, everything works as expected!
By the way, I really enjoy using felte so far, great work 👍

That really means a lot! Thank you ☺ I'm glad you're finding it useful!
In the end I'll change it to use any. Accepting interfaces can be useful and as long as you pass a type to the function it should be type safe. I think it's safe to assume that if someone doesn't specify a type they don't really care about type safety. 😅

It doesn't look like Obj was ever changed to Record<string, any> which sounds like a plausible solution. I currently cannot use a type as I import classes from a different package to use for validation. If changing the type of Obj does not have any drawbacks, it seems like the best option to allow interfaces or classes.


Request: Support for vectorised environments

Hi All
Is it possible to run MeltingPot with vectorised environments? I am using CleanRL + Shimmy to run MeltingPot but when i try to sue concat_vec_envs_v1 I get error: 'TypeError: cannot pickle dmlab2d.dmlab2d_pybind.Lab2d object. Is there any other way? Any advice would be appreciated.

I need to train faster as I have limited compute walltime and the easiest way is vectorised environments. Any other ways for optimisation?

Maybe try raising this on the issues page for the underlying engine: dmlab2d

I have done so but have received no response


build: saucelabs verbose logging

In order to be able to observe stability of Saucelabs, I want to see the verbose output immediately instead of deferred.

Note: Currently looking why the API rate limit even fails while being authenticated. Not to mix up with the actual browser rate limit (read more)

I feel like the verbose option causes even more tunnel startup flakiness. Closing...


Create mesh shape generation functions.

Create functions similar to drawing functions to only generate vertices and indices instead of directly drawing. This would enable modifying the vertices before drawing them.

Done.
Need to update the drawing code now.


Parse new package updates

Fixes https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/pull/1535
6 dependencies have changed:
~ swift-tools-support-core main -> swift-tools-support-core Revision(identifier: "d318eaafe60f20be0f0bbc658793f64bf83847d8") main
+ swift-collections 1.0.2
~ fluent-postgres-driver 2.2.2 -> fluent-postgres-driver 2.2.3
~ swift-driver main -> swift-driver Revision(identifier: "a034b0bc0cc1366e289e25e00b3e0b21089c98fe") main
~ swift-argument-parser 1.0.2 -> swift-argument-parser 1.0.3
~ SwiftPM main -> SwiftPM Revision(identifier: "658654765f5a7dfb3456c37dafd3ed8cd8b363b4") main
Failed to parse results from package update.

Please file an issue with the the output above.

@MarcoEidinger , I've just fixed an issue where release-notes would fail to parse the output if there's a new package in the update. Does your workflow pick up new releases (or rather main branch revisions) automatically or do you need to make changes? Should I tag releases?

Ok, looks like the revision is pinned and needs changes:
Cloning into '_swift-release-notes'...
(https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/runs/5093479042?check_suite_focus=true#step:2:50)
Note: checking out '2fdf8b0c46fd08dfd70ce8466487b8fa06261b53'.
(https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/runs/5093479042?check_suite_focus=true#step:2:51)

(from a manually triggered run after merging this change in release notes: https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/runs/5093479042?check_suite_focus=true)

Yeah, it’s pinned. Will update the GitHub action with new revision in the next ~ 2 hours. Thanks for the info

Great, thank you!

That seems to get picked up as expected:
2022-02-07T16:07:28.0383318Z Step 7/10 : RUN git clone -b  $SWIFT_RELEASENOTES_BRANCH $SWIFT_RELEASENOTES_REPOSITORY _swift-release-notes     && cd _swift-release-notes     && git checkout 64331d380c37d5e39d76708c563919612b018b8b     && make install     && cd

However, in the output I'm still getting:
2022-02-07T16:10:05.2103025Z   body: 6 dependencies have changed:
~ swift-driver main -> swift-driver Revision(identifier: "a034b0bc0cc1366e289e25e00b3e0b21089c98fe") main
+ swift-collections 1.0.2
~ swift-argument-parser 1.0.2 -> swift-argument-parser 1.0.3
~ SwiftPM main -> SwiftPM Revision(identifier: "658654765f5a7dfb3456c37dafd3ed8cd8b363b4") main
~ fluent-postgres-driver 2.2.2 -> fluent-postgres-driver 2.2.3
~ swift-tools-support-core main -> swift-tools-support-core Revision(identifier: "d318eaafe60f20be0f0bbc658793f64bf83847d8") main
Failed to parse results from package update.

Which seems to be my bug. I tested that parsing works with this exact set of changes on macOS. The only thing I can imagine going wrong is that the Linux output (which is where this is actually running) is slightly different and fails to parse.
I'll need to take another look.
Is there a way for you to track releases without having to pin revisions?

Which seems to be my bug. I tested that parsing works with this exact set of changes on macOS. The only thing I can imagine going wrong is that the Linux output (which is where this is actually running) is slightly different and fails to parse.
I'll need to take another look.

Okay, I'll wait to move v2 tag.

Is there a way for you to track releases without having to pin revisions?

I changed main branch of MarcoEidinger/swift-package-dependencies-check to pick up changes from main branch of SwiftPackageIndex/ReleaseNotes.
Example how to use:
uses: MarcoEidinger/swift-package-dependencies-check/.github/workflows/reusableWorkflow.yml@main

For releases on the GitHub action I will still pin to commits (or if you create them: tags/releases) of SwiftPackageIndex/ReleaseNotes.

I've just run it in a docker container against the same revision where the parse failed and it's succeeding with the updated swift release-notes:
6 dependencies have changed:
~ swift-tools-support-core main -> swift-tools-support-core Revision(identifier: "d318eaafe60f20be0f0bbc658793f64bf83847d8") main
~ swift-argument-parser 1.0.2 -> swift-argument-parser 1.0.3
~ swift-driver main -> swift-driver Revision(identifier: "a034b0bc0cc1366e289e25e00b3e0b21089c98fe") main
~ SwiftPM main -> SwiftPM Revision(identifier: "6e8c81c03326c9b6e53221c788bf07d9533e74e3") main
~ fluent-postgres-driver 2.2.2 -> fluent-postgres-driver 2.2.3
+ swift-collections 1.0.2

Release notes URLs (updating from):
https://github.com/apple/swift-tools-support-core/releases (main)
https://github.com/apple/swift-argument-parser/releases (1.0.2)
https://github.com/apple/swift-driver/releases (main)
https://github.com/apple/swift-package-manager/releases (main)
https://github.com/vapor/fluent-postgres-driver/releases (2.2.2)
swift-collections (new package)
root@34a02b7a4a48 /w/spi-server (auto-update-test)#

🤔 Must be something env specific that perhaps influences the swift package update --dry-run output.

One weird thing I see in the raw logs of the run and which I don't quite understand is the following:
2022-02-08T03:39:37.5365378Z Creating working copy for https://github.com/apple/swift-collections.git
2022-02-08T03:39:37.5367380Z Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.2
2022-02-08T03:39:37.5367978Z Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.0.3
2022-02-08T03:39:37.5368603Z Working copy of https://github.com/vapor/fluent-postgres-driver.git resolved at 2.2.3
2022-02-08T03:39:37.5369414Z Working copy of https://github.com/apple/swift-driver.git resolved at main
2022-02-08T03:39:37.5369996Z Working copy of https://github.com/apple/swift-package-manager.git resolved at main
2022-02-08T03:39:37.5370629Z Working copy of https://github.com/apple/swift-tools-support-core.git resolved at main
2022-02-08T03:39:37.7321237Z ##[group]Run peter-evans/create-pull-request@v3
2022-02-08T03:39:37.7321549Z with:
2022-02-08T03:39:37.7321784Z   commit-message: Package update
2022-02-08T03:39:37.7322089Z   branch: updatePackageDepedencies
2022-02-08T03:39:37.7322371Z   delete-branch: true
2022-02-08T03:39:37.7322603Z   title: Package update
2022-02-08T03:39:37.7323814Z   body: 6 dependencies have changed:
~ fluent-postgres-driver 2.2.2 -> fluent-postgres-driver 2.2.3
~ swift-driver main -> swift-driver Revision(identifier: "a034b0bc0cc1366e289e25e00b3e0b21089c98fe") main
+ swift-collections 1.0.2
~ swift-argument-parser 1.0.2 -> swift-argument-parser 1.0.3
~ swift-tools-support-core main -> swift-tools-support-core Revision(identifier: "d318eaafe60f20be0f0bbc658793f64bf83847d8") main
~ SwiftPM main -> SwiftPM Revision(identifier: "6e8c81c03326c9b6e53221c788bf07d9533e74e3") main
Failed to parse results from package update.

Please file an issue with the the output above.

It seems as if the swift package update --dry-run was cut off after Working copy of https://github.com/apple/swift-tools-support-core.git resolved. If that's in fact the input to swift release-notes then it's unsurprising that it's failing. But I'm not sure if this is the real output or some logging artefact.
Raw logs here: https://pipelines.actions.githubusercontent.com/8gSpUYYn2yLiXm9OtIrgygCWaoz1YKaNeE87jtNyKJiwoAqGuC/_apis/pipelines/1/runs/4302/signedlogcontent/2?urlExpires=2022-02-08T03%3A44%3A29.6913820Z&urlSigningMethod=HMACV1&urlSignature=ZwihzChWntSZ6RsaVYlZSO1bfGvK%2BEawY9yMJg%2Fgvgs%3D

One last thing that I've just done is to make the parser resilient to any stray output before the actual summary block. That's the only thing I can see causing an issue here, if it's not some output truncation of what's passed into swift release-notes.
I've tagged this as 0.0.5, revision 7a2ea33cc4731e93797f8447fb430ffe20b6afed

Thanks, Marco!

I retested it, it's fixed now. Thanks again!

https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/pull/1545


Water labels are under roads

Draw ordering should be adjusted so that this doesn't happen to water labels:

Specifically, this affects point features (ponds, swimming pools), but not linear features like rivers, which were addressed in #199. Ideally, there would be a way to distinguish such small bodies of water to avoid labeling them or to set their labels in really small font.

Duplicated by #507 and fixed by #509


Adds an interactive prompt for forming proposals from Celo registry contracts and functions

Description
Adds an --interactive mode to governance:propose
Tested
[WIP] suggestions for more rigorous testing welcome
See slack for demo video
Other changes
Adds InteractiveProposalBuilder to contractkit governance module
Related issues
Touches #2658
Backwards compatibility
No conflict

👀


Why .getDynamicLink(intent) is required?

Why would you even need FirebaseDynamicLinks.getInstance().getDynamicLink(intent) if, at the end, the only link that hits the app is a deeplink and not the Firebase short link?
Ex:

The App is installed. The user clicks on a short dynamic link. The link got resolved by the browser and intent with a deep link is being thrown.
The App is not installed. The user clicks on a short dynamic link. Play Store flow, app is installed, the link is resolved/rethrown internally (by android MarketDeepLinkHandlerActivity) and your app is being opened with a deeplink again.

Did I miss anything? If app is handling deeplink anyway, why call getDynamicLink?
Thank you.

@Ghedeon really sorry about the slow response here.  The getDynamicLink() method lets you examine the link that opened your app (if any).  If you're satisfied with just the app being opened to the right place then you're correct, there's nothing you need to do.

@samtstern sorry for digging this old thread out again, but would deeplink tracking still work without calling Firebase.dynamicLinks.getDynamicLink(intent)?

And: would the deeplink routing and tracking still work if the user didn't have the app installed when clicking on the dynamic link?

@ubuntudroid as far as I know all of that will still work without calling getDynamicLink, but it's been a while since I played with these flows so I can't say I am 100% positive

@samtstern I just closely inspected the code and it looks like tracking won't work (at least not everything) when not calling getDynamicLink(). What I'm doing now: I call it in onCreate(), but don't handle it in any way and let default Android Intent handling and Navigation Components do the routing thing instead. That should do the trick.


System message for scheduled submit says Concierge submitted the report, though the system message is from the user

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @JmillsExpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1703613580569359
Action Performed:

Create a Collect policy on OldDot, with daily scheduled submit enabled
Invite user A as an employee. Invite user B as a “manager” for submit/approve.
Have user A create an expense/report on NewDot (do not submit anything)
Log in as user B on NewDot the next day, find the workspace chat for user A
Open the workspace chat for user A, click into the report from step 3.

Expected Result:
The system message uses the appropriate NewDot syntax, e.g. %displayName% submitted %reportAmount%
Actual Result:
The system message contradicts itself, coming from the user but then says that Concierge took the action.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

struggling to reproduce this, as I'm only able to split. I'm not sure why, reached out to Greg for an assist.

@greg-schroeder I sent you a DM when you were OoO last week. Could you take a look?

@greg-schroeder friendly bump here!

Struggling to reproduce this, just set another one and waiting for a day.

hmmm, I only have the option to split, I can't seem to request money. Chatting with Greg to figure out where I'm going wrong.

Ok I figured out to request, but I cannot create an expense/report without submitting it.

We thought this was the policy not being on the Collect Workspace Chat beta, but no luck. I'm also not able to submit on my own account to the NewDot test workspace, so maybe the issue is with my account. Reached out to Jenna to check.
This is a pretty minor issue so will keep pushing it along.


Unable to read ONT data correctly.

Hello!
Your software is useful, I am trying to assemble a diploid genome using PECAT.
The data I use is ONT and the size is 146G.
I can run PECAT correctly using the your test data, but when I use my own ONT data, an error will appear. It seems that reading the data failed.

What is the cause of this situation? How should I solve it?
I saw other people asking similar questions in the NECAT software questions, but they did not solve my problem.
https://github.com/xiaochuanle/NECAT/issues/52
cfgfile_1.txt
log_pecat.txt

Hi，@xujialupaoli
There are errors in the file Dof_ont.fasta.gz, such as it contains non-ACGT characters. Or the file format is not fasta format.


Fix top output, indentation for #7020

Previously load stats were stored outside of the printloop, but with the refactoring to save memory state was reset and used in the first loop before the actual load calculations were valid.
Fixed by moving the summary info to the bottom of the top printout after everything is computed. Also restructured the callback to not depend on a line counter and fixed astyle glitches.

@bkueng Can you review?

Looks good now, thanks!


Update Phased AMM Deployment and Fair Price Discovery.md

Update to keep document current with latest available information and consistent with documentation found and communicated elsewhere.
Adding updates for details regarding the AMM Initiation Phase and AMM Balancing Phase. This includes updating to align with adjustments found in MRC09 and also to provide a note about the AMM Initiation Phase outcome that wETH exceeded MOR and thus Scenario 1 as outlined was the result to be followed.

Thanks.


Update is-buffer and mocha

npm v3 tries to dedupe the dependencies by default, and keeping dependencies up-to-date helps better deduplication.

Sorry for the delay. I released v2.1.0 with your changes.

No problem. Thanks for the new release.


FEATURE: Improve authentication screen

Is your feature request related to a problem? Please describe.
Improving the authentication screen.
Describe the solution you'd like
Remove the navbar and sidebar from the authentication screen and style the inputs.

Release note: https://github.com/roderiano/django-boot/releases/tag/v0.5.1


Provide guidance for misconfigured config

The first time I tried to import an unnamed enum it took a while, because I hadn't realized it was a different config entry, and I tried various attempts with both enum and global before finding the right part of the docs. In general, it's tricky to debug a mistake because failures are basically silent, and can be caused by lots of different things (wrong element type, typo, wrong header, etc.)
Of course we can't figure out every problem at runtime, but I wonder if we could add some simple heuristics to give feedback. E.g.,:

For globals, enums, and unnamed-enums, if an inclusion or exclusion doesn't match anything, try it with the other two types and if it would match something that way, print a message suggesting that it may be in the wrong place.
Keep track of any symbol within a Hamming distance of one or two of a non-wildcarded pattern of the same type, and if that list is non-empty and that pattern didn't match anything, suggest that it may be a typo and print the close value(s)

The best place to insert this logic would be to modify the DeclarationFilters class so that each of its methods count matches (or maybe add a DeclarationFiltersMixin that the subtypes of DeclarationFilters can use).


Improve field caption in results screen

Because the field provides a date rather than a time,
Account created at: should be changed to Account created on:
Solution:

[ ] Amend /scripts/components/renderUser/index.js

Done.


Max_history parameter should be carried over to the featurizer definition in TEDPolicy

If you have your configuration defined like this, with the featurizer defined explicitly:
  - name: TEDPolicy
    max_history: 5
    featurizer:
      - name: MaxHistoryTrackerFeaturizer
        state_featurizer:
          - name: LabelTokenizerSingleStateFeaturizer

The max_history parameter won't get carried over to the MaxHistoryTrackerFeaturizer. This is kind of strange behaviour, because if you specify the policy like this:
  - name: TEDPolicy
    max_history: 5

The policy loads up MaxHistoryTrackerFeaturizer internally with max_history: 5.
See forum post for source of confusion: https://forum.rasa.com/t/running-oom-in-tedpolicy-with-900-stories-1-10-0/28230/6

Is this rather an issue for @RasaHQ/production-squad or for research squad?

@Ghostvv Does it actually make sense to do this when we use Genie's featurizer for everything? If this should still be done, then I think we can handle this + I think it's even good if we can get our feet wet with easier issues like this one.

it still makes sense to do, we'll have max_history parameter anyhow

Me and some friends where working on this issue and wue found that this behavior happens because when creating a featurizer it is instantiated as a TrackerFeaturizer  and when no featurizer is instantiated, it is created as a MaxHistoryTrackerFeaturizer. this code shows this:

So the only way to make max_history be inside the featurizer is by don't instantiating one.
we tought about make a change by our own to try to fix this but as we don't know what is wanted for this issue( e.g.  if we could make a non-instanciated featurizer just became a TrackerFeaturizer or make a intanciated one became a MaxHistoryFeaturizer ), we came ask for some directioning.
@akelad @Ghostvv @wochinge @chkoss

@wochinge IMO, the fix here does not solve the problem correctly but is more of a hack. It passes the specified max_history parameter to the policy and relies on the policy to set the max_history of tracker.
An easier and more full proof fix of this would be to do this inside get_featurizer_from_dict function in ensemble.py. The real issue is that get_featurizer_from_dict assumes that the dictionary (policy) passed to it contains information for all attributes including max_history. However, for that assumption to be correct from_dict function should add the max_history parameter if specified to the dictionary constructed here. This would simplify the constructor and load methods of policies.
What do you think? Should I reopen this issue and put it in enable's inbox?

However, for that assumption to be correct from_dict function should add the max_history parameter if specified to the dictionary constructed here.

You mean using something like setdefault to avoid overriding any given max_history param? Makes absolutely sense for me 👍🏻

Also, please let research team know once the issue is closed as there are bits of code in policies which will simplify once this is in place.


Replace NTP packets decoding / encoding with Kotlin implementation

This is quite a risky change It seems. I'll have to take a closer look but I wont have time till to end of the week or the next. Would that work for you @arturdryomov ?

@buildbreaker, sure thing, I’m all in for careful reviews!

@buildbreaker, 🏓


TabNine makes shady requests

OS version: OSX Catalina
Editor: VSCode
Programming language: Any
TabNine extension version: Latest

TabNine tried to send some data towards serene-waters-6626.morning-tundra-7160.herokuspace.com. I'm fine with your requests to api.tabnine.com but this...

Hi @uyouthe,
Thank you for reporting this, the host that you reported is just where api.tabnine.com is hosted (on Heroku).
You can validate this with running "nslookup api.tabnine.com"
I wonder, where did you bump into this explicit hostname? can you please elaborate?

Firewall alerts.


chore(main): release 2.19.0-pre

:robot: I have created a release beep boop
2.19.0-pre (2024-09-04)
Features

add try me functionality nomad (#170) (a68f8c1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ai4os/ai4-dashboard/releases/tag/v2.19.0-pre :sunflower:


[Question] is there vnoremap?

Hi,
In order to quickly switch to normal and insert modes from visual mode, I have placed the following two lines in my .vindrc:
vnoremap <esc> to_edi_normal
vnoremap i to_insert

-- but I am getting an error: E: not command (L:2)
What am I doing wrong?

In win-vind, there are two each for Normal and Visual, so explicitly add g or e to the beginning.
(ref. https://pit-ray.github.io/win-vind/cheat_sheet/keywords/#mode-prefix)

Mode
noremap
map

GUI Normal
gnnoremap
gnmap

GUI Visual
gvnoremap
gvmap

EDI Normal
ennoremap
enmap

EDI Visual
evnoremap
evmap

Thanks.

I see.
This makes good sense, but I am wondering if you should add a default vnoremap for those who assume it exists (though here a problem arises, since it might not default to the "right" mode assumed by the user. Perhaps you can make it "dynamic"? I.e., to default to the last active normal? Or is that too complicated? Just a thought).

Thanks for the idea.
It is useful to make vnoremap dynamic or to define vnoremap as an alias for gvnoremap and/or evnoremap, etc., but explicitly restricting it would be better for readability.
I'll leave it to pull requests for now.
Thanks.


Unable to deploy NIM via KServe

When deploying NIM via KServe, KServe sets the mounted PVC to read-only, which will cause the model download to fail.
    - mountPath: /mnt/models
      name: kserve-pvc-source
      readOnly: true

error:
ADDITIONAL INFORMATION: Meta Llama 3 Community License, Built with Meta Llama 3.
A copy of the Llama 3 license can be found under /opt/nim/MODEL_LICENSE.
Traceback (most recent call last):
  File "/usr/local/bin/nim-llm-check-cache-env", line 8, in <module>
    sys.exit(check_cache_dir())
  File "/usr/local/lib/python3.10/dist-packages/vllm_nvext/utils/caches.py", line 29, in check_cache_dir
    raise RuntimeError(f"Unable to write to NIM_CACHE_PATH ({cache_path})")
RuntimeError: Unable to write to NIM_CACHE_PATH (/mnt/models/cache)

https://github.com/kserve/kserve/issues/3687
Currently the implementation for PVC model stores here expects that a PV containing model files is always mounted to a ServingRuntime as ReadOnly.

Yes, I noted this in the updated documentation.
Working with the KServe community to add a RW version here and we are considering improving the docs on cache creation and creating an init container or some other mechanism to pre-download the models.


Make recipe public

Public recipes can be loved by other people and comment.
So maybe we need to add interractions ! loving, hating , commenting .
Some sort of a "social" layer .
Ideas are welcome.

Nice idea!


Create policies for OpenShift

Deloyment on OpenShift requires some policies to be adjusted, namely:

PodPolicy
ClusterPolicy

This post has more details: http://adam.younglogic.com/2017/08/deploying-kubevirt-on-origin-master/
This card is about identifying what needs to be provided for OCP, and provide the relevant patches.

@fabiand Would you like me to add Openshift's SecurityContextConstraints manifests to this repo? (it can be added to manifests/openshift)

I think it makes sense, yes.

Done with #1005 and other PRs.


cloned repo

Your PR isn't descriptive enough please. Could you be more explicit? I'll close this for now.


What is the DTAP? DATP?

I searched DTAP in "microsoft-azure-strategy-and-implementation-guide"
The guide was written that DTAP is Development, Testing, Acceptance, Production.
Is it Right?
And DATP was written Defender Advanced Threat Protection.
DTAP and DATP are mixed and written in Readme.
So I am confused. Please explain.😂

Kisec, you're our hero! Thank you for pointing out this typo. I've fixed this typo immediately.
Obviously, we as hackers stay away from DTAP - that's something for developers. We meant to say DATP - Defender Advanced Threat Protection.
Unfortunately, also this name is by now outdated, as the platform now is called "MDE - Microsoft Defender for Endpoint". In the next round of updates, we might replace DATP by MDE.
Have a great day.


DNN Blog does not allow to save new posts or comments

We upgraded DNN from 6 to 9.1.1. The Blog module was upgraded to 6.00.5, then to 6.3.0, then to 6.04.01. Now the blog shows the posts and comments, but does not allow to create new posts or comments.
Error message:
ModuleId:454
ModuleDefId:123
FriendlyName:
ModuleControlSource:DesktopModules/Blog/PostEdit.ascx
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:db57f36e-cd6f-4541-a389-dc26f122f9e6
AssemblyVersion:9.1.1
PortalId:0
UserId:24
TabId:88
RawUrl:/El-Blog/ctl/PostEdit/mid/454/Post/323
Referrer:************El-Blog/ctl/PostEdit/mid/454/Post/323
UserAgent:Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
ExceptionHash:EpWiJC2IEM7+2eVutsX4Ugr8ANo=
Message:Object reference not set to an instance of an object.
StackTrace:
InnerMessage:Object reference not set to an instance of an object.
InnerStackTrace:
at DotNetNuke.Modules.Blog.Integration.NotificationController.PostPendingApproval(BlogInfo objBlog, PostInfo objPost, Int32 portalId, String summary, String title) at DotNetNuke.Modules.Blog.PostEdit.cmdSave_Click(Object sender, EventArgs e)

@Yagun what version of the Blog module was used in Dnn 6 before you started upgrades?


(maint) Update to more recent webmock and vcr

Update to more recent version which don't dropped support for ruby 1.9
Rewrite tests to use stub_request with request headers, basic_auth,
and use built-in functionality for stubbing responses. It also means
we can drop allow|expect_any_instance_of(Net::HTTP).
Due to the way webmock is configured, the stubs act like expectations,
because webmock will raise an exception if a request is made that
doesn't match the stub.
Drop unneeded VCR cassettes for Connection#request_* methods.

CLA signed by all contributors.

Going to retarget for 6.4.x


Flutter fragment.onPostResume() causes the app bar to hide under status bar

hi,
I am using Flutter add-to-app implementation. I have a MainActivity that extends AppCompatActivity . it has two fragments, a native fragment, and a Flutter fragment. App theme is currently set to noActionBar. I have a custom app bar in the layout_main.xml
adding flutterFragment.onPostResume() causes the app bar to partially hide under the status bar.
A single line change removing flutterFragment.onPostResume() makes the app work as expected .

Hi @Kabilan21
Can you please provide your flutter doctor -v & a minimal complete reproducible code sample in a repository
Thank you

Hi @TahaTesser
You can find the app here .In MainActivity you can find onPostResume() .
Initially, flutter fragment is loaded, it contains a button to navigate to the native fragment .
I placed the appbar inside fragment.xml , the issue is same if the appbar is placed inside the activity_main.xml layout.
By clicking "Navigate to native" button you can navigate to native fragment . It has a App bar but it is hidden in presence of the code flutter.onPostResume();
Without the presence of the flutterfragment.onPostResume() ,sometimes if the app is opened and in the memory for a long time, and the app is opened again, it crashes. I am not sure the crash is due to not handling of  flutterfragment.onPostResume().

Hi @Kabilan21
Thanks for the code sample, I can reproduce the issue
https://user-images.githubusercontent.com/48603081/128337129-bcd44c22-5ab6-4c8f-a172-01f8da70cd62.mp4

stable
master

❌
❌

Check flutter doctor -v outputs for each channel below

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 12.0 21A5294g darwin-x64, locale en-GB)
    • Flutter version 2.2.3 at /Users/tahatesser/Code/flutter_stable
    • Framework revision f4abaa0735 (5 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/tahatesser/Code/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/tahatesser/Code/SDK
    • Java binary at: /Users/tahatesser/Code/openjdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_292-b10)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode-beta.app/Contents/Developer
    • Xcode 13.0, Build version 13A5201i
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] VS Code (version 1.58.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.25.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • def0ad20 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos    • darwin-x64     • macOS 12.0 21A5294g darwin-x64
    • Chrome (web)           • chrome   • web-javascript • Google Chrome 92.0.4515.131

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.5.0-2.0.pre.181, on macOS 12.0 21A5294g darwin-x64, locale en-GB)
    • Flutter version 2.5.0-2.0.pre.181 at /Users/tahatesser/Code/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e40d7e6ef4 (4 hours ago), 2021-08-05 14:15:04 +0800
    • Engine revision c3739afe0a
    • Dart version 2.14.0 (build 2.14.0-377.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/tahatesser/Code/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/tahatesser/Code/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode-beta.app/Contents/Developer
    • Xcode 13.0, Build version 13A5201i
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.58.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.25.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • def0ad20 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos    • darwin-x64     • macOS 12.0 21A5294g darwin-x64
    • Chrome (web)           • chrome   • web-javascript • Google Chrome 92.0.4515.131

• No issues found!

✅: No Issue ❌: Issue reproduced

cc @blasten

嗨@Kabilan21
感谢您提供代码示例，我可以重现该问题
Screenrecorder-2021-08-05-13-36-45-881.mp4
stable master
❌	❌
检查flutter doctor -v下面每个通道的输出
颤振医生 -v
✅： 没有任何问题 ❌: 问题转载

I also encountered the same problem in the project. If this method is not called, the problem will not occur when the app enters the foreground.
How can I solve this problem? If I don't call onpostresume, will it cause other problems?

hi,
I am using Flutter add-to-app implementation. I have a MainActivity that extends AppCompatActivity . it has two fragments, a native fragment, and a Flutter fragment. App theme is currently set to noActionBar. I have a custom app bar in the layout_main.xml
adding flutterFragment.onPostResume() causes the app bar to partially hide under the status bar.
A single line change removing flutterFragment.onPostResume() makes the app work as expected .

I have found a solution, which can be solved by overriding the onpostresume method and calling setsystemuivisibility again

hi @Rempage,
can you share the solution in code? specifically the onPostResume() override.

hi @Rempage,
can you share the solution in code? specifically the onPostResume() override.

@Override
protected void onPostResume() {
    super.onPostResume();
    if (mainFrag != null) {
        mainFrag.onPostResume();
    }
    getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
}

You can try it.
You can set other enumeration parameters.