Update install-biztalk-accelerator-for-hl7.md

If the default host is not configured as a file receive handler, the HL7 installation will show popup "Error while creating receive location for outbound batching" and will not create the receive location (even though installation will succeed).

Docs Build status updates of commit fba6007:
:warning: Validation status: warnings

File
Status
Preview URL
Details

biztalk/core/event-hubs-adapter.md
:warning:Warning
View
Details

biztalk/adapters-and-accelerators/accelerator-hl7/install-biztalk-accelerator-for-hl7.md
:bulb:Suggestion
View
Details

biztalk/core/event-hubs-adapter.md

Line 13, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'plarsen' is not a valid Microsoft alias.
Line 59, Column 5: [Suggestion-duplicate-alt-text] Alt text 'Endpoint properties' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 114, Column 5: [Suggestion-duplicate-alt-text] Alt text 'Endpoint properties' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.

biztalk/adapters-and-accelerators/accelerator-hl7/install-biztalk-accelerator-for-hl7.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 24, Column 0: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text. NOTE: This Suggestion will become a Warning in late September, 2020.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit fba6007:
:warning: Validation status: warnings

File
Status
Preview URL
Details

biztalk/core/event-hubs-adapter.md
:warning:Warning
View
Details

biztalk/adapters-and-accelerators/accelerator-hl7/install-biztalk-accelerator-for-hl7.md
:bulb:Suggestion
View
Details

biztalk/core/event-hubs-adapter.md

Line 13, Column 12: [Warning-ms-author-invalid] Invalid value for 'ms.author', 'plarsen' is not a valid Microsoft alias.
Line 59, Column 5: [Suggestion-duplicate-alt-text] Alt text 'Endpoint properties' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 114, Column 5: [Suggestion-duplicate-alt-text] Alt text 'Endpoint properties' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.

biztalk/adapters-and-accelerators/accelerator-hl7/install-biztalk-accelerator-for-hl7.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.
Line 24, Column 1: [Suggestion-column-header-missing] Column headers are required for tables. Add appropriate header text. NOTE: This Suggestion will become a Warning on 1/29/21.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 2aefde9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/adapters-and-accelerators/accelerator-hl7/install-biztalk-accelerator-for-hl7.md
:white_check_mark:Succeeded
View

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


This is inadequate as this error occurs in much more complex situations where it is impossible to understand why it occurs

Here is an example:
I have a function defined as follows:
static int sbThreadJoin(sbThread t, void** statusPP, int* errorP)
{
...
}
and later it is called thus:
rc = sbThreadJoin(threadInfo[t].tid, (void **)NULL, (int *)NULL);
which gives the cryptic error:
error C2120: 'void' illegal with all types
Much googling has not yielded any useful explanation of why the compiler is complaining about this or how to resolve the issue.
This code (of course) compiles fine on Linux and macOS...

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

ID: 6a10f869-bab6-436e-0abb-04269859ba7d
Version Independent ID: 2d9d1f8e-6af6-42d8-4d2e-1ad844c58c6e
Content: Compiler Error C2120
Content Source: docs/error-messages/compiler-errors-1/compiler-error-c2120.md
Product: visual-cpp
Technology: cpp-diagnostics
GitHub Login: @corob-msft
Microsoft Alias: corob

@ChrisJ60
Sorry you're running into trouble. If other compilers are happy with code that MSVC doesn't like, it's often because of differences in headers, or different diagnostic options. The first thing I'd do is turn on the /diagnostics:caret option to find out what symbol the compiler is complaining about. (In the IDE, it's found in your project's Property Pages dialog, under Configuration Properties > C/C++ > General, in the Diagnostics Format property.) I'd then use IntelliSense in the editor to see what the compiler thinks that symbol is (just hover the pointer over it). It might be something unexpected. If that's true, then there's your explanation. I'd note that use of C-style casts can be a problem, especially with things that might look like the Most Vexing Parse to the compiler. I'm not saying that's the issue here, it's just common.
I built some minimal repro code using the compiler defaults, and couldn't reproduce your issue:
// issue998.cpp
// test of C2120

#include <vector>

struct sbThread {};
struct threadinfo_t
{
	sbThread tid;
};

static int sbThreadJoin(sbThread t, void** statusPP, int* errorP)
{
	return 42;
}

int main()
{
	std::vector<threadinfo_t> threadInfo;
	sbThread sb;
	threadinfo_t ti{ sb };
	threadInfo.push_back(ti);
	size_t t = 0;
	int rc = 0;

	rc = sbThreadJoin(threadInfo[t].tid, (void**)NULL, (int*)NULL);
}

C:\Users\corob\Source\Repos\Project8\Project8>cl /EHsc /W3 /diagnostics:caret issue998.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27030.1 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

issue998.cpp
Microsoft (R) Incremental Linker Version 14.16.27030.1
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:issue998.exe
issue998.obj

If you think the compiler is misbehaving, the thing to do is report it via Developer Community. There are comprehensive instructions in How to report a problem with the Visual C++ toolset.
I'm closing this issue, but don't consider this the last word. If it turns out you've found a new kind of case that triggers C2120, something that doesn't look like you're applying void to another type, get back to us and reopen this issue, and we'll add something about it to the documentation. There's no way for us to enumerate every possible way to generate each error, so we try to cover the base cases, and rely on developer detective work to see how their situation applies.


undefined method `property_is_set?'

Cookbook version
4.1.1
Chef-client version
14.0.190
Platform Details
Vagrant bento/centos-7.3
Scenario:
Trying to use docker_service resource and get the above error in Test Kitchen. Test Kitchen version is  1.17.0
Steps to Reproduce:
Test Kitchen yml is something like as follows:
---
driver:
  name: vagrant

provisioner:
  name: chef_zero
  client_rb:
    environment: kitchen

verifier:
  name: inspec

platforms:
  - name: test
    driver:
      box: bento/centos-7.3
      network:
        - ["private_network", { type: "dhcp" }]
      provider: virtualbox
      ssh:
        keep_alive: true

The docker_service resource i am trying to use is something like:
docker_service 'default' do
  install_method 'package'
  package_name 'docker-engine'
  version <version>
  storage_driver 'overlay'
  action [:create, :start]
end

Expected Result:
Test Kitchen should run without errors
Actual Result:

docker_service[default] action create
     ================================================================================
     Error executing action `create` on resource 'docker_service[default]'
     ================================================================================

     NoMethodError
     -------------
     undefined method `property_is_set?' for #<#<Class:0x00000000034f1e58>:0x0000000004eb8508>

     Cookbook Trace:
     ---------------
     /tmp/kitchen/cache/cookbooks/docker/libraries/docker_service.rb:47:in `validate_install_method'
     /tmp/kitchen/cache/cookbooks/docker/libraries/docker_service.rb:95:in `block in <class:DockerService>'

Then we release some version with the fix?


Task-101 Blinky - needs updating

Video needs updating to show the use of shared libraries
https://github.com/UniversityOfPlymouth-Electronics/Embedded-Systems/blob/master/getting_started/software-testing.md#task101---blinky

Resolved


Stuck when try to combine

Hello there, I'd like to tell you that I have an issue when I tried to combine chapters or a chapter from a particular plaform (L*****), smartstitch stuck and it won't goes up any higher. Can you fix this issue? Thank you

can you give the images that have that problem? because for me it works.

I feel bad for closing this, but since there is no response from the original poster in 22 days, there is not much I can do. I hope version 2.0, fixes some of the issue you are facing.


Can't build agda2hs with recent GHC version(s)

I am trying to install agda2hs following the tutorial and failed no matter which way I tried:

doing cabal install agda2hs
cloning and building it locally
using GHC 9.8.2, 9.6.3, 9.6.6
within or without nix shell
at master or at tag v1.3

The error I get is
[147 of 433] Compiling Agda.Syntax.Parser.Parser ( dist/build/Agda/Syntax/Parser/Parser.hs, dist/build/Agda/Syntax/Parser/Parser.o, dist/build/Agda/Syntax/Parser/Parser.dyn_o )

dist/build/Agda/Syntax/Parser/Parser.hs:8298:12: error: [GHC-76037]
    Not in scope: ‘Prelude.null’
    Suggested fixes:
      • Perhaps use one of these:
          ‘Prelude.all’ (imported from Prelude),
          ‘Prelude.not’ (imported from Prelude),
          ‘Prelude.sum’ (imported from Prelude)
      • Perhaps you want to remove ‘null’ from the explicit hiding list
        in the import of ‘Prelude’
        (dist/build/Agda/Syntax/Parser/Parser.hs:41:1-30).
     |
8298 |         if Prelude.null catch_frames_new
     |            ^^^^^^^^^^^^

dist/build/Agda/Syntax/Parser/Parser.hs:8309:13: error: [GHC-76037]
    Not in scope: ‘Prelude.null’
    Suggested fixes:
      • Perhaps use one of these:
          ‘Prelude.all’ (imported from Prelude),
          ‘Prelude.not’ (imported from Prelude),
          ‘Prelude.sum’ (imported from Prelude)
      • Perhaps you want to remove ‘null’ from the explicit hiding list
        in the import of ‘Prelude’
        (dist/build/Agda/Syntax/Parser/Parser.hs:41:1-30).
     |
8309 |             Prelude.null (Prelude.filter (\(HappyCons _ (HappyCons h _),_) -> EQ(st,h)) catch_frames)
     |             ^^^^^^^^^^^^

What am I doing wrong?

This seems to be a problem with installing the Agda prerequisite of agda2hs, not agda2hs itself. Probably the problem is the bad release of happy-2.1.1, as reported in https://github.com/agda/agda/issues/7585. Since this version has now been deprecated, I think it would be sufficient to do a cabal update so Cabal knows not to install it?

I honestly did not thought about cabal update as the error seemed to point to something from Prelude and I thought this could be an issue with base package and ghc versions.

So it goes over the aforementioned issue, but then fails with
[429 of 429] Compiling Agda.Main        ( src/full/Agda/Main.hs, dist/build/Agda/Main.o, dist/build/Agda/Main.dyn_o )
Installing library in /Users/arnaudbailly/.cabal/store/ghc-9.6.6/incoming/new-83847/Users/arnaudbailly/.cabal/store/ghc-9.6.6/Agd-<IP_ADDRESS>-ce06ac54/lib
Generating Agda library interface files...
dist/build/agda/agda: readCreateProcess: posix_spawnp: does not exist (No such file or directory)
Error: [Cabal-7125]
Failed to build Agda-<IP_ADDRESS> (which is required by exe:agda2hs from agda2hs-1.2). See the build log above for details.

It seems to be complaining that it cannot find an agda executable in dist/build/agda (despite the fact that it should just have installed it there), weird. Which version of Cabal are you using? Also, please try installing agda2hs 1.3 (instead of 1.2) since that relies on Agda <IP_ADDRESS> which might include some fixes relative to <IP_ADDRESS>.

I am using the following versions:
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.6.6
Mac-mini:agda2hs arnaudbailly$ cabal --versio
cabal-install version <IP_ADDRESS>
compiled using version <IP_ADDRESS> of the Cabal library

Checking-out tag v1.3 worked, thanks for the help @jespercockx

I still don't understand why a change in happy broke compilation of some Haskell code in Agda codebase though 🤔


[stdlib] Add nonmutating rotated and concatenated collection prototypes

What's in this pull request?
This request adds two new wrapping collections as standard library prototypes:

a concatenated collection that maintains the traversal properties of its two inner collections, and
a rotated collection view that uses concatenated subsequences of its base collection internally.

Resolved bug number: n/a

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

This one is based on ConcatenatedCollection, which concatenates
two collections with the same element type.

Is there a reason this isn’t part of the Algorithms prototype?  It seems like there will be some interaction(?)

@swift-ci Please test

Was there a swift evo proposal for this? I don't like the idea of having the collection type as one of the generic parameters - it means you will get chains like: 'ConcatenatedCollection<ConcatenatedCollection<Array, ContiguousArray>, Array>', which is not very Swift.
I'd prefer we wait until generics are more fleshed out, so we can represent this as an abstract "CollectionOf" without leaking details of what types were used to construct it.

on Mon Jul 18 2016, karwa <notifications-AT-github.com> wrote:

Was there a swift evo proposal for this?

No, prototypes don't require evolution proposals.

I don't like the idea of having the collection type as one of the
generic parameters - it means you will get chains like:
'ConcatenatedCollection<ConcatenatedCollection<Array,
ContiguousArray>, Array>', which is not very Swift.

Actually it is very Swift.  That's exactly how reversed(), joined(),
and other similar algorithms are implemented.

I'd prefer we wait until generics are more fleshed out, so we can
represent this as an abstract "CollectionOf" without leaking
details of what types were used to construct it.

While that exposes nice simple type names, it's much less optimizable.
We probably won't be going that way until and unless our compilation
model changes drastically.
--
Dave

Nate, why isn’t it better to flatten a CollectionOfTwo than to expose ConcatenatedCollection?

Nate, why isn’t it better to flatten a CollectionOfTwo than to expose ConcatenatedCollection?
I think the only benefit is that we don't have a random-access flattened collection, since the number of sub-collections is unknown. For the rest it seemed easier to implement all the RotatedCollections the same way.

Is there a reason this isn’t part of the Algorithms prototype?
I used a separate file because this seemed like an alternative implementation of some of the ideas in Algorithms.swift. Would you prefer it all together? I can use a prefix or something so the rotated methods don't collide.

on Tue Jul 19 2016, Nate Cook <notifications-AT-github.com> wrote:

Nate, why isn’t it better to flatten a CollectionOfTwo than to expose ConcatenatedCollection?
I think the only benefit is that we don't have a random-access
flattened collection, since the number of sub-collections is
unknown.

You can do it if the size of the sub-collections is uniform, or,
technically, if the number of sub-collections is a constant.  I guess
when there are two we fall into the latter case.  Okay.

For the rest it seemed easier to implement all the RotatedCollections
the same way.

Makes some sense.

Is there a reason this isn’t part of the Algorithms prototype?
I used a separate file because this seemed like an alternative
implementation of some of the ideas in Algorithms.swift. Would you
prefer it all together? I can use a prefix or something so the
rotated methods don't collide.

I thought we agreed that you were improving on some of the things
implemented there.
--
Dave

@swift-ci Please test

Thanks for your work on this, Nate!


You have not unlocked the tactic 'generalizing' yet!

In the level mul_left_cancel (level 9 | advanced multiplication world) we need to start the proof (as suggested by the hint) with:
induction b with h hd generalizing c

and the game emits the following warning:
You have not unlocked the tactic 'generalizing' yet!

Thanks for the report! This is indeed already fixed and will be in the live version when updating that to lean v4.6.0 at the end of the month.

Should be fixed in the version online, since a few weeks ago. Please reopen if you still experience any issues!


[Bug]: Screencast failing with "Cannot call write after a stream was destroyed"

Minimal, reproducible example
import puppeteer from 'puppeteer';

const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));

const browser = await puppeteer.launch({ headless: "new" });
const page = await browser.newPage();
await page.setViewport({ width: 2000, height: 2000 });

const url = "https://ord-mirror.magiceden.dev/content/5aac901599912536b05c983818bf8406e2154780b61b73deebda225fd929219di0";
await page.goto(url);
await page.waitForSelector('use', { waitUntil: 'networkidle0' });
const recorder = await page.screencast({ path: `./videos/test.webm` });

await sleep(2_000);
await recorder.stop();
console.log('Done', url)

await browser.close();
process.exit(0)

Error string
ffmpeg failed to write: Cannot call write after a stream was destroyed.
Bug behavior

[x] Flaky
[ ] PDF

Background
I have an M1 Mac and I installed ffmpeg via asdf
Expectation
I expected it to generate a video
Reality
It's just failing
Puppeteer configuration file (if used)
No response
Puppeteer version
21.5.1
Node version
20.5.1
Package manager
npm
Package manager version
9.8.0
Operating system
macOS

The "reproducible" code is the one I am using locally.

@jrandolf PTAL

Btw, I am unable to reproduce with
ffmpeg version N-112324-g9240035c0e-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1<IP_ADDRESS>)

Can you provide a stack trace?

Happy to, could you tell me how can I do that? this is all it shows me when it fails

Here is my version if it helps:
$ ffmpeg -v
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.3 (clang-14<IP_ADDRESS>.1)
  configuration: --prefix=/Users/douglasmak/.asdf/installs/ffmpeg/6.0
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100

Btw, I am unable to reproduce with
ffmpeg version N-112324-g9240035c0e-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1<IP_ADDRESS>)

Here is my version if it helps:
$ ffmpeg -v
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.3 (clang-14<IP_ADDRESS>.1)
  configuration: --prefix=/Users/userA/.asdf/installs/ffmpeg/6.0
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100

@tansanDOTeth could you try if it works with a static build for MacOS https://evermeet.cx/ffmpeg/ ?

you can use puppeteer-screen-recorder.check this


enable using tokens

off by default, but with --use_tokens=1, each user is assigned a token.

[x] I need to get the tests working to verify that this works before merging.

closes #256

Tested and works.

Nice! You'll need to rebase since I merged the networks PR.

@rgbkrk thanks, rebased and added the token to /api/spawn, which I had forgotten about.

Thanks!


MarketId should be long instead of int

/// Gets or sets the order identifier.
///
/// The identifier.
[DataMember(Name = "id")]
public new long Id { get; set; }
added this to the "EveLib.EveCrest\Models\Resources\Market\MarketOrder.cs" file.
Without this he tries to get using a 'normal' int and doesnt work.

Fixed.


Can't use dot in key

My translation key looks like 'a.b.c.d'. It doesn't translate properly, it always show 'translation:a.b.c.d', tried debug it and see a 'keySeparator' property in getResource and addResource functions and it defaults to '.' is there a way to pass a parameter in to change default separator to something else?
Thanks

Dots can be used in keys, but your resourceStore must be a nested object.
E.g. if your key is foo.bar, your resource store should look like this:
{
  foo:  {
    bar: 'buzz'
  }
}


Note: Should display new lines

#551  Bug
Expected behavior
Then the user uses a text input to store text across multiple lines and it should render in the note component with new lines.
Actual behavior
example:
Hello
World

is rendered as
Hello World

We have a fix here:
https://github.com/ps-dev/assessment-tools/pull/452/files
but we thought that css might belong in the component.
Related packages

<EMAIL_ADDRESS>
Environment

OS - MacOS 10.12
Browser version - Chrome v76

Team triage:
Rich text formatting is quite variable (eg, plain text with newlines, html or markdown).  The Note expects this and is flexible to take any node.  You can put anything renderable there.
To keep your data format (plain text with newlines) and render multilines as you want, your current solution is great (ie, using className on Note).  You could also just pass a div with that className to the message prop.
Another recommendation from the team is to consider rending html <p> instead of just using the newlines for better semantics on this structure.
Closing with nothing to do in DS here.  Please keep relying on your current solution.  Please continue to engage with more context if you feel our reasoning in response is flawed.  Thanks!


Suddenly unable to login to Gitea via the web interface ONLY, ssh is fine.

Description
Hi there,
I've had my instance up for about 14 months now (in docker), and everything was just perfect until last night, I attempted to log into the web interface to check something. When I log in (with the correct credentials) I am redirected back to the homepage, and not logged in. I can attempt to log in using invalid credentials, and I am warned that the credentials are incorrect, so I don't see this as a fundamental problem. The current running version I have is; 1.22.2.
In testing, there is very little being logged except for;
2024/10/04 10:21:42 ...eb/routing/logger.go:102:func1() [I] router: completed GET / for MY-IP:56012, 200 OK in 4.5ms @ web/home.go:32(web.Home)
2024/10/04 10:21:47 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/login?redirect_to=%2f for MY-IP:56012, 200 OK in 3.9ms @ auth/auth.go:164(auth.SignIn)
2024/10/04 10:21:50 ...eb/routing/logger.go:102:func1() [I] router: completed POST /user/login for MY-IP:56012, 303 See Other in 94.4ms @ auth/auth.go:196(auth.SignInPost)
2024/10/04 10:21:50 ...eb/routing/logger.go:102:func1() [I] router: completed GET / for MY-IP:56012, 200 OK in 6.5ms @ web/home.go:32(web.Home)
I last logged into the front end on 03/09/2024.
As part of troubleshooting I've rolled back my docker VM to the most recent backup I have available (13/09/24) and the problem persists.
I've also set the version of gitea that the docker container runs to various combinations of older 1.22.x builds and the most recent nightly builds.
I tended to have set up Gitea and not needed to intervene before so I quite happily left it running and updating.
I saw various similar posts here and elsewhere over the years whilst I googled, but nothiing recently or any suggestions that have worked for me in this instance.
Any idea of any changes in the last month that I need to be aware of?
Gitea Version
1.22.2
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Docker 26.1.4, on  Ubuntu 24.04.1 LTS
How are you running Gitea?
Docker 26.1.4, on  Ubuntu 24.04.1 LTS
Database
MySQL/MariaDB

Can you try clean your web browser cache and try again?

I've done that, used two different browsers on two machines and a mobile phone :( in incognito mode too :(

Based on the description, is your issue the same as #29451?

"Unable to login" usually means some cookie problem (>99% cases)
For example, as charles7668  said, using "https" means "https-only cookie", then it doesn't work with http.
So you could try to figure out what happens to the login procedure by using browser's console.

https://github.com/go-gitea/gitea/issues/29451?
No it wasn't this one, I did look at it when searching. Mine refused to work via IP or DNS name.
I got it working again, but I'm not entirely sure. There are two possibilities, the first and more unlikely one, is permissions on the directory of the data for the container. The second and most likely (and I will check this if it comes up again) is that I'd previously specified an email server. I took this email server out of service. Luckily, it was a Poste docker container so I re-instate it, and the associated DNS record for it. Gitea worked. I've since shut down the container, but kept the DNS records, it's all good.
I intend, at some point, to remove the email configuration from Gitea's config, but for now, I'm just happy it's working.


calling hosted fields create without callback throws an error

SDK version: 3.9

Hi, the documentation state that if you call hosted fields create function without a callback, it will resolve as a promise instead (and I assume also reject will an error).
However, when I try calling it without a callback I get the following error:
{   "name": "BraintreeError",   "code": "CALLBACK_REQUIRED",   "message": "create must include a callback function.",   "type": "MERCHANT" }
Please advice. Thanks.

That functionality was added in version 3.11.0. Just upgdrade from 3.9.0 to 3.11.0 or higher and you should be all set.


AndroidX incompatibilities

The project build failed cause by AndroidX incompatibilities

@glodanif how can i fixed it?

Hi @Carlos2927, do you have this line android.useAndroidX=true in your gradle.properties file?


Support ophyd-async v0.6.0

Fixes #509
Updates panda to use SeqTable.row

CI won't pass until dodal support is also done


Group Finder and Code Splitting

@johnthepink this needs a lot more work. Before its done, can you help me go through and rebase / squash commits correctly?

@johnthepink leaving this as note, before the next app deploy, we will need to verify the code splitting didn't mess anything up on the app code


[POC] Implement caching of .build for unit-tests

Motivation:
Faster tests. Less CI time / costs.
Not sure if this is what you would want at all, but if you do, I think this (possibly with minor fixes) should work properly.
Modifications:
Add an option to swift_matrix to do caching of .build.
For now, enable this caching in unit-tests.
Result:
Faster tests. Less CI time / costs.

@FranzBusch WDYT?

We have intentionally not adopted caching yet since it trades potential time saving for cost. I am going to kick-off the CI here since I want to see what the timing impact actually is and see if the trade off in time vs cost is worth it.

@FranzBusch are you referring to GitHub costs?
Since our org at work used to use GitHub Actions Runners and caching, and we did have to pay for our usage, my off-hand guess would be it'll actually decrease costs. Caching .build has a noticeable effect on run times, and as far as I can see caching is free for up to 10GB in GitHub (in my experience it actually tolerates and allows for more usage), and exceeding that limit will just delete the oldest cache.
Furthermore, you can use an S3 bucket for caching with runs-on/cache.
Like i've mentioned before, I'd even highly recommend moving the runners to RunsOn-managed runners. It'll be a MASSIVE (5x-10x+) cost saver as well as a pretty nice time-cut from the CIs. It'll run everything on your own AWS account, and is pretty easy to set up.
To be clear I have no affiliation with RunsOn 😅.
The only reason I can rationalize you-all not wanting to use RunsOn, is organizational approvals that you might need to have, and perhaps security checks that RunsOn might need to go through. I think RunsOn has a 1500$ yearly plan which gives you access to their full code, so that might be helpful.

@MahdiBM Can we make re-runs work. Then I can trigger the CI again to see the impact

@FranzBusch there you go

I keep seeing this in the logs

Failed to save: Unable to reserve cache with key unit-tests-swift-nio-build-nightly-6.0-Linux-307731ca0421d5a69a068b62a5d04c4356279abcf0cfd0d71aa719a762bef5a7, another job may be creating this cache. More details: Cache already exists. Scope: refs/pull/2874/merge, Key: unit-tests-swift-nio-build-nightly-6.0-Linux-307731ca0421d5a69a068b62a5d04c4356279abcf0cfd0d71aa719a762bef5a7, Version: 71ee539a69b4092a757e60e07a31650a220dbc09d2d02876da35435f74632221
Warning: Cache save failed.

Any idea @MahdiBM?

So it appears that for swift-nio, it decreases the nightly unit-tests runs from 4m40s to 4m20s. A pretty low difference.

That's kinda what I expected tbh. The time it takes to push and download the cache vs just running a build is too minimal.

If you're considering maintaining standardized swift reusable workflows for public users, caching will be necessary IMO in such a workflow.

These workflows for now are really only intended to be used by library packages in the swiftlang, apple and swift-server organization. So at this time I think we can hold off adding the caching. Though I appreciate you taking the time to create this PR to show the impact of it!

@FranzBusch Without the cache-save step which shouldn't be usually triggered, there will be a 30s more time cut, at which point it might be worth it (50s cut in this repo for nightly debug builds for unit tests).
If there is something that uses release builds, caching can have a bigger impact on those as well.
I generally think 50s-60s of a time cut is "good" considering the whole CI doesn't take 5 mins usually, but you should still decide if it's worth it, or if you want to just have this anyway and test how it works out.
I figured out why the cache-save is hit at all, when it shouldn't be.
Before the restore step, we haven't yet checked-out the package.
So ${{ hashFiles('./Package.resolved') }} resolves to just an empty string.
Then the restore-cache step will return cache-hit=false.
And that's why the cache-save step is triggered when it shouldn't (based on the steps.restore-cache.outputs.cache-hit != 'true' condition on the cache-save step.)
Now, we can check out the package and everything will be fine, but the problem is this repository does not commit the Package.resolved, which means hashFiles('./Package.resolved') will still resolve to an empty string, and we won't have a proper way to know when we should refresh the .build cache. Instead, we can use the base branch's commit sha like I mentioned in a comment in the code.

@FranzBusch TLDR; The cache-save step should no longer be triggered now, if the cache save is going to fail anyways.
You can give it another try if you want.


Update MD file on new branch 2017-11-13_16-27-32

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Enhancing Dataset representation to consider mutiple buckets & filtered list of tables

Is your feature request related to a problem? Please describe.
We have a few databases currently in production use with 30+ tables where each of those tables point to a different S3 bucket.
Additionally the same logical dataset could be split across multiple tables & s3 buckets, this could be done to enhance performance (there are limits to read/writes that a particular bucket/prefix can handle) or make them easier to manage.
For example a click metrics dataset with hourly table & aggregated daily table (i.e. 2 tables & 2 separate s3 buckets) and a display metrics dataset with just one table and bucket.
Currently data.all's dataset representation is based on the idea of one s3 bucket and 1 glue database with all tables in that database pointing to this bucket.
The data as described earlier does not lend well to importing and sharing in data.all, for example which bucket out of the 30 would you specify as the dataset bucket and the complete database does not be part of the dataset only specific tables.
Describe the solution you'd like
When importing a database the user should be able to select or filter the list of tables being imported from a particular database & specify the list of buckets that would be imported as part of the dataset.

Adding support for multiple buckets in a dataset and making them available as a sharable item as part of the dataset.
Adding support for filtering of tables that are imported as part of a dataset
Check crawler, profiling and sharing for modifications now that a database spans multiple datasets

Describe alternatives you've considered
Creating a new logical construct "dataset group" which contains multiple datasets and sharing support on the level of the group, Based on the previous example click hourly & click daily would be two datasets in the click dataset group.
P.S. Please Don't attach files. Add code snippets directly in the message body instead.

@dlpzx @blitzmohit I think at the moment this issue is too wide and we should open separate more specific items. I propose we close this one out.

Merged and released with v2.1.0 🚀


Add CreateOrUpdateOrganization

In order to make managing organizations a little easier I have added support for the Create or Update Organization endpoint: https://developer.zendesk.com/rest_api/docs/core/organizations#create-or-update-organization

@eggman64 saw you had a recent commit here so figured I would ping you for a review.

Thanks for your contribution! :)
I've left one comment, please fix. Also, if you could squash your contribution into a single commit, that would be appreciated.

@eggman64 thanks, will adjust and reopen.


Promoted posts re-appearing?

Just had this on my iPhone. Promoted (ad) posts reappearing when I was searching on Twitter, even with use of Control Panel (this app) and Mullvad VPN's ad blocker.
Can anyone replicate this? Until this get fixed I'm not getting on Twitter at the moment, this is unacceptable. Especially from an account that I use focused on Japanese stuff but getting non-Japanese (in other words: 'localized' - based on location, maybe IP?) ads that are irrelevant (my account is based in the US, unfortunately).

I can confirm that I just started seeing ads by gold checkmark accounts in my timeline today. I am using the website, twitter.com, and the Chrome Browser on a Chromebook.

Can confirm per rcanada - gold checkmarked ads are appearing when using the website - twitter.com - on Firefox/macOS

Twitter have reverted a change they made to their timeline in June - tracking the fix in #408

Sorry, this was not fixed. More and more Ads are appearing again


Scheduled action to check for new images

With 584cc41 the build is running daily.
If the build only pushes a new image once the base image is updated than everything should be OK

Done in f2a003b 👍


Update docker in hub.docker

https://hub.docker.com/r/rancher/rio-dashboard/tags
🙄

Sarcastic emojis aren't helpful, and the docker image hasn't changed.  The actual UI source is loaded from CDN and updated whenever something is merged here.

Maybe add build in dashboard?


GetPasswdX: interface to specify output port

The problem:
A program may want to prompt the user for a password using stderr, while producing useful output in stdout.
This fails with the current implementation, because the output from GetPasswd will be forcefully written to stdout, mixing with program output and becoming invisible when stdout is redirected in the shell.
The ugly workaround is to temporarily set os.Stdout to point to the desired writer while prompting for the password, which is (besides ugly) unsafe for concurrent operations.
This patch extends the interface to support this usecase.
It adds a writer argument to the getPasswd implementation and a new extended interface to expose this argument to clients.
It also removes the aforementioned workaround in the test, taking advantage of the writer argument to collect output.

Note that the name for the function is not great, but I run out of ideas; feel free to suggest a better name.

How about GetPasswdWriter?

Perhaps.
@howeyc opinions? Let's just change it once.

How about GetPasswdRW? or...GetPasswdPrompt? I had someone send me an issue a while back that suggested the prompt should be output in the library AFTER terminal is set to no-echo mode.
GetPasswordPrompt(prompt string, maskInput bool, in io.Reader, out io.Writer)
GetPasswdPrompt should work for everyone and we could deprecate the existing function and call the new function.... GetPasswdPrompt("", false, os.Stdin, os.Stdout) for backwards compatibility.
If this sounds okay, @vyzo feel free to do it, or I can.

Sure, I can do GetPasswordPrompt, it sounds like the right general solution.
The input port argument will have to be an *os.File though, as access to the file descriptor is needed to set the terminal mode.
Re: setting the terminal in no-echo mode before outputing the prompt: I don't know if this is a good idea, what is the argument for it?

Thinking a bit more about the prompt output before no-echo, I guess there is a very short window for a race condition (user typing while no-echo mode being set).

Last commit implements GetPasswdPrompt, with a narrow FdReader interface for input (io.Reader + Fd).
The prompt (if not empty), is output after the terminal is set to no-echo mode.

actually, getCh doesn't need the Fd method, will refine this further.

Thank you.


Update Getting Started link in README.md

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you for reporting this - it has now been fixed


Update run.md

Updated the known issues link to use the right label for PowerToys Run issues. It was still referring to PowerToys Launcher which is not used anymore and does not yield any results.

@tomverhoeff : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks @tomverhoeff ! Great catch!


[SPARK-5760][SPARK-5761] Fix standalone rest protocol corner cases + revamp tests

The changes are summarized in the commit message. Test or test-related code accounts for 90% of the lines changed.

Test build #27331 has started for   PR 4557 at commit ea48f65.

This patch merges cleanly.

Test build #27335 has started for   PR 4557 at commit d82d971.

This patch merges cleanly.

Test build #27331 has finished for   PR 4557 at commit ea48f65.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27331/
Test PASSed.

Test build #27335 has finished for   PR 4557 at commit d82d971.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait DataFrame extends RDDApi[Row] with Serializable

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27335/
Test PASSed.

Test build #27363 has started for   PR 4557 at commit b4dc980.

This patch merges cleanly.

Test build #27363 has finished for   PR 4557 at commit b4dc980.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27363/
Test PASSed.

Alright merging into master and 1.3.


Feature: Add From trait impl for derived struct

where each field of the derived struct is Some(original_struct.field) or the field itself if field is option and rewrap is not specified. Turn on/off with the new from keyword

Thank you for this great addition!
I made a few small changes.


Document release process and installation for unified install for PyAnsys

🐞 Problem
At the moment, all PyAnsys libraries to be included within the unified install can be installed through the pyansys metapackage. The process from developing to installing needs to be documented:

[ ] Document how teams working on PyAnsys libraries should develop when a new version for the unified install approaches
[ ] Document for users how the unified install, Ansys products and PyAnsys libraries fit together.

Pinging here @pyansys/pyansys-core for additional comments on this topic.

Would you like to take this issue, @chadqueen?

Happy to give support here when needed regarding the pyansys metapackage


react-scripts build fails with Module not found: Error: Can't resolve '../../helpers/esm/typeof'

Describe the bug
After upgrading react-scripts to latest 5.0.0 (was: 4.0.1) I cannot build my project because I get this:
Module not found: Error: Can't resolve '../../helpers/esm/typeof' in '/Users/ickata/Work/Galaxy/node_modules/@babel/runtime/helpers/esm'
Did you mean 'typeof.js'?
BREAKING CHANGE: The request '../../helpers/esm/typeof' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

Did you try recovering your dependencies?
Yes, no success.
Which terms did you search for in User Guide?

"Module not loaded"
"react-scripts build"

Environment

MacOS Monterey (12.1)
NodeJS v14.17.5

Environment Info:

  current version of create-react-app: 5.0.0
  running from /Users/ickata/.npm/_npx/39396/lib/node_modules/create-react-app

  System:
    OS: macOS 12.1
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
  Binaries:
    Node: 14.17.5 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.14 - /usr/local/bin/npm
  Browsers:
    Chrome: 97.0.4692.99
    Edge: 87.0.664.75
    Firefox: 96.0.2
    Safari: 15.2
  npmPackages:
    react: ^17.0.1 => 17.0.1
    react-dom: ^17.0.1 => 17.0.1
    react-scripts: ^5.0.0 => 5.0.0
  npmGlobalPackages:
    create-react-app: Not Found

Steps to reproduce
No exact steps, however I am not able to reproduce the issue w/ a fresh CRA install.

Based on https://github.com/mui/material-ui/issues/23290, you need babel-runtime 7.12.0 or newer for it to work with webpack 5.

But I don’t see it in the dependency list of the generated package.json, even if I create a fresh new app.

I am having a similar error with<EMAIL_ADDRESS>

Just for those coming back to this with the same issues.
here's my solution: https://github.com/mui/material-ui/issues/23290#issuecomment-1333868837


fix: Remove package name from new blob

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

v1.1.0
GitHub release

Your semantic-release bot :package::rocket:


Aborted test is sometimes reported as a passed test

It seems that tmt-abort sometimes does not work as expected when used with the virtual provision plugin and reports the abort test with a pass. Here's a simple config:
/plan:
    provision:
        how: virtual
    discover:
        how: fmf
    execute:
        how: tmt

/test:
    /1:
        test: /bin/true
    /2:
        test: tmt-abort
    /3:
        test: /bin/true

Report then looks like this:
report
    how: display
        pass /test/1
        pass /test/2
        pass /test/3
    summary: 3 tests passed

Adding some sleep after the tmt-abort command seems to make it working. But didn't have more time to investiage more properly. @pfdaly, could you possibly have a look?

Interesting. @psss I'll start looking into this issue now.

I performed some investigatory testing of this functionality, using the fmf file layout above for testing.
Successful execution of the tmt-abort per environment was the following:

local: 10/10
container: 10/10
virtual: 5/10

I updated the tmt-abort script to include a 'sleep 15' and also added a print statement into execute/internal.py to ensure that the correct test command was indeed being executed, which based on the output it is indeed.
Test Command: set -eo pipefail; tmt-abort
Upon successful execution abortion, I can see that the total test time is approximately equal to that of the sleep within the tmt-abort script.
Checking for abort file for test: /test/2
                00:00:14 errr /test/2 (on default-0) (aborted) [2/3]
        warn: Test /test/2 aborted, stopping execution

In instances where the test was not aborted, I can see that the total test time is zero.
Checking for abort file for test: /test/2
                00:00:00 pass /test/2 (on default-0) [2/3]

This led me to believe that following the transfer of the scripts to the test environment with rsync that the data had not been written to disk by the time the script was called during test execution. As such, I added an execution of the sync command for each script into provision/init.py:GuestSsh.push() and a sleep of 10
Workdir '/var/tmp/tmt/run-224/plan/execute/default-0' created.
        Copy '/usr/lib/python3.11/site-packages/tmt/steps/execute/scripts/tmt-abort' to '/usr/local/bin/tmt-abort' on the guest.
        ##### About to sync system
        ##### destination: /usr/local/bin/tmt-abort
        Execute command 'export TMT_PLAN_DATA=/var/tmp/tmt/run-224/plan/data; export TMT_TREE=/var/tmp/tmt/run-224/plan/tree; export TMT_VERSION=1.28.dev33+gf108f2b5; sync -d /usr/local/bin/tmt-abort' on guest '<IP_ADDRESS>'.
            cmd: sync -d /usr/local/bin/tmt-abort
        ##### Sleep value: 10

However, tmt-abort still occasionally does not abort successfully, and again the total runtime is incorrect.
cmd: tmt-abort
                out: Shared connection to <IP_ADDRESS> closed.
        Copy '/var/tmp/tmt/run-224/plan/execute/data/guest/default-0/test/2-2' from the guest to '/'.
        Extract results of '/test/2'.
        tmt-report-results file '/var/tmp/tmt/run-224/plan/execute/data/guest/default-0/test/2-2/data/restraint-result' does not exist.
        Checking for abort file for test: /test/2
                00:00:00 pass /test/2 (on default-0) [2/3]

I know the sync command is being executed on the test environment, as I checked that by adding in a call to the 'uname -a' command and confirmed it is indeed different to my localhost.
out: Linux default-0 6.2.9-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 30 22:32:58 UTC 2023 x86_64 GNU/Linux
Before this, I had tried to just add a sleep into a bash script which only calls the tmt-abort command and then sleeps for 10, but the tmt-abort once again failed to execute during execution.
cmd: ./test.sh
                out: Shared connection to <IP_ADDRESS> closed.
        Copy '/var/tmp/tmt/run-231/plan/execute/data/guest/default-0/test/2-2' from the guest to '/'.
        Extract results of '/test/2'.
        tmt-report-results file '/var/tmp/tmt/run-231/plan/execute/data/guest/default-0/test/2-2/data/restraint-result' does not exist.
        Checking for abort file for test: /test/2
                00:00:00 pass /test/2 (on default-0) [2/3]

If the tmt-abort command had of failed then I would have expected the runtime to be 10 on account of the subsequent sleep in the script.
Honestly, I'm unsure as to what is causing this issue.

I've been able to reproduce the behavior. I added a couple of -vvv to involved SSH commands, but so far no sign of the cause.

I finally started to looking into this one

Hm, interesting, I've tried this three times and I always get:
report
    how: display
        pass /test/1
        pass /test/2
        pass /test/3
    summary: 3 tests passed

Hm, I was able to reproduce with virtual as well and on the guest the 'abort' file is not created.
However adding '-x' to the tmt-abort script and changing the reproducer to tmt-abort &> /tmp/ABORT made me unable to reproduce the problem again :/

Hm, could this possibly be related to #2998?

Confirmed, reproduced with provision -h local which runs faster, works nicely with the latest main.


How to subscribe to zed-ros-interfaces topic Object?

Hi, i want to subscribe to the topic Object. So i started by running the zed_obj_det_sub node but nothing happens!
And when i runthe command "rostopic list", the topic Object doesn't exist.

Hi @Momofaiz
please refer to the online documentation.


feat: Exposed experimental_protocolConfig provider method

It is a follow up on the new experimental method in nearcore JSON RPC: https://github.com/near/nearcore/pull/3919

@vgrichina This is future and backward compatible implementation for EXPERIMENTAL_protocol_config API. I don't think we need nearcore release to support this scenario. /cc @bowenwang1996


chore(deps): update common-dev-assets digest to 4e2516c

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
e735fa7 -> 4e2516c

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline


no-noninteractive-tabindex should not fire if the value of role is an expression

This should pass
<div
  role={role}
  tabIndex={tabindex}
/>

Why?
If the goal of the rule is to have certainty about a11y, then dynamic values should be forbidden by default.

The goal is to deliver certainty when we can. It's unreasonable to forbid dynamic values. Dynamic values will need to be checked at runtime. Linting isn't a solution that provides 100% coverage; it's just a layer of protection.

We forbid dynamic values of button type attributes by default - I don't find it unreasonable.
I agree it doesn't have to provide 100% coverage - that's what override commands and options are for.

@ljharb I recommend we eliminate the ambiguous signal first. Options to make the linter more strict can be layered in later.

My preference is that the defaults should always be strictest, and options used to loosen.

@ljharb except the reality I'm seeing in my codebase is that developers are putting suppression comments for this case. I don't want to train developers to just suppress these rules because they lose trust in their quality. Strict rules in an ambiguous case just create mistrust and developers will learn to ignore the rule entirely.

Addressed in #606


How to set protocol

I set up the new object as follows,
var options = {connectionTimeout: 1000};
var reconnectingWebSocket = new ReconnectingWebsocket('wss://localhost:9090', null, options);

but in the Chrome console, it showed:
Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received
I don't have any idea to fix it. Can someone help me? Thanks.

Do you have the same issue using a regular WebSocket?

I'm having the same issue. Actually here is a pretty small test case:
import WebSocket from 'reconnecting-websocket'
let ws = new WebSocket('wss://echo.websocket.org', null)

According to the spec, the second argument must be a string or an array of strings:
https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
If you don't want to set it, use undefined
Test here:
http://requirebin.com/?gist=d5d5e8aa7a31de1a4e4810a055c6c46d


i18n (Internationalisation)

Amazon Echo is going on sale on the 26th of october.
I'm already on translation the utterances files and will open a PR once I have the Echo and got it testing.
But I bet theres a whole lot to do about exporting all of Alexas responses into a seperate file rather than having them hard coded in the main wsgi.py file.
I'm nowhere near capable of doing this change or suggest any way to program this, but I will be able to translate Alexas responses into German.
I'm attaching Amazon provided documentation on this Topic:

https://developer.amazon.com/public/community/post/Tx2XUAQ741IYQI4/How-to-Build-a-Multi-Language-Alexa-Skill
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/developing-skills-in-multiple-languages

I had a look at these docs but also had a look at python and i18n in general. Does anything speak against using python gettext and .pot .po and .mo files like outlined here https://wiki.maemo.org/Internationalize_a_Python_application ? I'm willing to have a go at this but admittedly aren't a highly skilled programmer, so could do with some starting points.

I haven't commented on this not because I don't think it's worthwhile, but simply because I haven't had the time/energy/desire yet to tackle thinking it through.  Internationalization is one of those problems that's always bigger than it appears at first, so I want to set aside time to get it right.

I've been having a go at this using standard python gettext and _() mechanism.
Please have a look at this commit and leave comments.
Initial Release of i18n using gettext
I've been using this with what I would call great success over the weekend.

That's essentially how to go about it, yes.
My primary concern is maintenance of it all.  With separate utterance files and response files for every language, it adds a fair amount of extra effort (namely testing) for each new command added, changed, etc.
I'm OK with this personally if we just determine that new features are added with English first and other languages are allowed to lag behind.  By that, I mean if I add a new command, I will only make the changes for the English language files and will not wait for other languages to catch up before release of the feature.  I would expect that if someone cares about the other languages that they will step up with a catch-up PR.
This means that for a period, small or large, there would not be feature parity amongst the different languages.  Which will probably mean forum posts to reply to, but the only way to get around it would be to hold all PRs until contributors show up with translations.
In the long-term, something like Transifex could really help here.. but given that this is purely hobby for me, I don't really want to be the guy that sets all that up and maintains it.. I already spend more time fiddling with my home automation systems than enjoying them, much to my family's chagrin ;)
One other thing:  could you please make a branch with the changes instead of adding them to master?  When I get around to looking it over I'd just pull your branch down.

Maintenance for i18n will always be a pain I do realise, but, oooh, it adds so much feel :) Me I wouldn't talk English in my home, and I'm sure the french wont either once they get their Alexa.
When it comes to translating new strings I also had to do "in between merges" from upstream and then continue, so I would expect this to be normal for a project this size. I've not looked at transiflex, but thought it to be "not free", as in money.
As for German translations, I'm willing to do the translation duties for a fair time to come. I guess this skill is a hobby thing for all the current devs working on it right? Me too I have to worry about https://en.wikipedia.org/wiki/Wife_acceptance_factor , which means that native language is an absolute must have. :D
I've setup a new branch.
https://github.com/ausweider/kodi-alexa/tree/i18n
I haven't done a PR on purpose as, even with limited skills, I do realise that "those two globals" will put a few devs off of this. Anyway, I'm pleased about how this is progressing.

It's not really a question of whether it will happen -- it will.  The questions are:

Who will maintain what?
Do current developers have time for this right now?  If not, does anyone else?

As you suggested, yes, this is just a hobby project for us.  I don't mind doing the review and pulling this in, but a big part of a PR is dealing with the aftermath.  It will undoubtedly generate support requests.  So, if I'm the one doing the review and merge, I'd really like to wait until I have some free time to allocate to it.
At a glance, one thing I don't like (but still might be the best way to handle it) is using the English strings as IDs for the actual strings.  It's more legible when browsing the code (vs say, giving them numeric IDs), but it means changes in two places.
Granted, you could only make the change in the translation files, but eventually the string IDs in the sources might not match those in the translation files, which I think will end up being confusing.  Particularly if the change is the exact opposite of the original ("Ok, sure I can do that" -> "Sorry, I can't do that", for instance).  I'd avoid doing that, but I'm just trying to illustrate the point.

@ausweider: I'm wondering if you can help with the translation for v2.5. It's on the flask-ask branch. I did some Google translate for the card and voice responses, but I'm sure it's trash. If it's okay with you, I'd like to use some of your utterances as well. But I'll need more translations too if you're up for it.

Sure. See #96

Thanks for doing that so quickly! I merged it into my branch and it will be merged to master soon.


sysprof: 3.31.1 -> 3.30.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/sysprof/versions.
meta.description for sysprof is: '"System-wide profiler for Linux"'.

Checks done (click to expand)

built on NixOS
/nix/store/q4wwzgg7pzqwbcc8l47spz9glc3i9h02-sysprof-3.31.90/bin/sysprof passed the binary check.
/nix/store/q4wwzgg7pzqwbcc8l47spz9glc3i9h02-sysprof-3.31.90/bin/sysprof-cli passed the binary check.
/nix/store/q4wwzgg7pzqwbcc8l47spz9glc3i9h02-sysprof-3.31.90/bin/.sysprof-wrapped passed the binary check.
/nix/store/q4wwzgg7pzqwbcc8l47spz9glc3i9h02-sysprof-3.31.90/bin/.sysprof-cli-wrapped passed the binary check.
4 of 4 passed binary check by having a zero exit code.
2 of 4 passed binary check by having the new version present in output.
found 3.31.90 with grep in /nix/store/q4wwzgg7pzqwbcc8l47spz9glc3i9h02-sysprof-3.31.90
directory tree listing: https://gist.github.com/ba1f959bc61d645b2dcf3c24695a56e6
du listing: https://gist.github.com/48872d9eb95c312f0d21c365a205e88f

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)
2 package rebuild(s)
2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
gnome-builder
sysprof

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/q4wwzgg7pzqwbcc8l47spz9glc3i9h02-sysprof-3.31.90 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A sysprof https://github.com/r-ryantm/nixpkgs/archive/011483f6522e47e4569b8879f230001c2739276f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/q4wwzgg7pzqwbcc8l47spz9glc3i9h02-sysprof-3.31.90
ls -la /nix/store/q4wwzgg7pzqwbcc8l47spz9glc3i9h02-sysprof-3.31.90/bin

Yeah this totally shouldn't be this version.

I've fixed that.


[mesheryctl] system update fails on Kubernetes with stable channel subscription

See mesheryctl Command Tracker for current status of commands.
Current Behavior
➜  ~ mesheryctl system status
A new release of mesheryctl is available: v0.5.24 → v0.5.25
https://github.com/layer5io/meshery/releases/tag/v0.5.25
Check https://docs.meshery.io/guides/upgrade#upgrading-meshery-cli for instructions on how to update mesheryctl

NAME            	READY	STATUS 	RESTARTS	AGE
meshery         	1/1  	Running	0       	4m15s
meshery-broker  	2/2  	Running	0       	3m5s
meshery-consul  	1/1  	Running	0       	4m15s
meshery-cpx     	1/1  	Running	0       	4m15s
meshery-istio   	1/1  	Running	0       	4m15s
meshery-kuma    	1/1  	Running	0       	4m14s
meshery-linkerd 	1/1  	Running	0       	4m14s
meshery-meshsync	1/1  	Running	4       	4m14s
meshery-nsm     	1/1  	Running	0       	4m14s
meshery-operator	2/2  	Running	0       	4m14s
meshery-osm     	1/1  	Running	0       	4m14s
meshery-traefik 	1/1  	Running	0       	4m14s

Meshery endpoint is http://localhost:9081

➜  ~ mesheryctl system update
A new release of mesheryctl is available: v0.5.24 → v0.5.25
https://github.com/layer5io/meshery/releases/tag/v0.5.25
Check https://docs.meshery.io/guides/upgrade#upgrading-meshery-cli for instructions on how to update mesheryctl

downloading manifest files from https://github.com/layer5io/meshery/tree/v0.5.25/install/deployment_yamls/k8s
Updating Meshery...
applying the manifests to Kubernetes cluster...
Error: invalid adapter meshery-istio specified. Please check /Users/lee/.meshery/config.yaml file
Usage:
  mesheryctl system update [flags]

Flags:
  -h, --help         help for update
      --skip-reset   (optional) skip checking for new Meshery manifest files.

Global Flags:
      --config string    config file (default location is: /Users/lee/.meshery/config.yaml)
  -c, --context string   (optional) temporarily change the current context.
  -v, --verbose          verbose output
  -y, --yes              (optional) assume yes for user interactive prompts.

➜  ~ mesheryctl system context view

Current Context: k8s

endpoint: http://localhost:9081
token: Default
platform: kubernetes
adapters:
- meshery-istio
- meshery-linkerd
- meshery-consul
- meshery-nsm
- meshery-kuma
- meshery-cpx
- meshery-osm
- meshery-traefik-mesh
channel: stable
version: latest

➜  ~ mesheryctl version
      	VERSION    	GITSHA
Client	v0.5.24    	33d82c8f
Server	edge-latest	b7908ce3

Checking for latest version of Meshery...

  Unable to check for latest version of Meshery.

➜  ~ kubectl describe -n meshery deploy meshery-istio
Name:                   meshery-istio
Namespace:              meshery
CreationTimestamp:      Mon, 21 Jun 2021 12:46:36 -0500
Labels:                 io.kompose.service=meshery-istio
Annotations:            deployment.kubernetes.io/revision: 1
                        kompose.cmd: kompose convert -f ../docker-compose.yaml
                        kompose.version: 1.17.0 ()
Selector:               io.kompose.service=meshery-istio
Replicas:               1 desired | 1 updated | 1 total | 1 available | 0 unavailable
StrategyType:           RollingUpdate
MinReadySeconds:        0
RollingUpdateStrategy:  25% max unavailable, 25% max surge
Pod Template:
  Labels:           io.kompose.service=meshery-istio
  Service Account:  meshery-server
  Containers:
   meshery-istio:
    Image:        layer5/meshery-istio:stable-latest
    Port:         10000/TCP
    Host Port:    0/TCP
    Environment:  <none>
    Mounts:       <none>
  Volumes:        <none>
Conditions:
  Type           Status  Reason
  ----           ------  ------
  Progressing    True    NewReplicaSetAvailable
  Available      True    MinimumReplicasAvailable
OldReplicaSets:  <none>
NewReplicaSet:   meshery-istio-77678ddbdd (1/1 replicas created)
Events:          <none>

Desired Behavior
mesheryctl system update should pull the latest versions of the docker images with the :stable-latest tag and restart Meshery pods.
Environment

Host OS: Mac
Meshery Server Version: stable-v0.5.25
Meshery Client Version: stable-v0.5.25
Platform: Kubernetes

Contributor Resources

mesheryctl Contributing Guide
Beginner's guide to contributing to Meshery and mesheryctl
mesheryctl Command Tracker
Meshery CLI Commands and Documentation
Layer5 Community Slack

hello  can you assigned me this issue ?

Yes, I would love to… I think you missed this one by only 30 minutes or so. The v0.5.31 release was just made and includes a fix for this very bug.
@fallmor, it would be great if you could verify this fix though. ..

I was able to successfully upgrade after the associated fix in v0.5.31 released.

@leecalcote I think I am able to update with stable-latest with Kubernetes...

Is there something I missed while reproducing this issue?

@fallmor is this something that you can look into?

@fallmor is this something that you can look into?

hello @leecalcote  i am not able to reproduce the promblem on my macbook

hello @leecalcote  i am not able to reproduce the promblem on my macbook

It seems to be working for me as well. Ok, thanks for giving this a look, @fallmor 👍

It seems to be working for me as well. Ok, thanks for giving this a look, @fallmor 👍


Explain rolling nature of editions

https://www.reddit.com/r/rust/comments/8t5cas/rust_2018_an_early_preview/e1568c1/ for some context
Essentially we should make it clear(er) that editions are not a fixed point but we can add to them over time (as we have to 2015 edition).

We recently merged https://github.com/rust-lang-nursery/edition-guide/pull/47 and https://github.com/rust-lang-nursery/edition-guide/pull/49, does that address this maybe?

Not quite -- the text as I read it currently doesn't talk about how the 2018 edition will continue to receive new features -- it mentions it in passing for the 2015 edition, but I think we can do more to clarify this.

@Centril asked me to clarify some here. We have "People using Rust 2015 will continue to see improvements as new stable releases are made" but that may imply to users that 2018 (being separate from 2018) is different and a fixed point; if we change that to "People using any edition of Rust" or something like that I'd consider this closed.


Improve positioning when opening file at line

Issue or RFC Endorsed by Atom's Maintainers
https://github.com/atom/atom/issues/12253
Description of the Change
Prior to this change, when you opened a file at a specific line, Atom would scroll to the given line number, but only enough so that the line is visible at the bottom of the editor. #12253 describes the problem with this behavior as follows:

plugins like JSHint that are displayed at the bottom will cover the desired line number. Therefore, the user still has to scroll the content to view the line number, defeating the entire purpose of this feature.

With the changes in this pull request, when opening a file at a specific line, Atom will:

Attempt to scroll the editor as needed so that the specified line is centered vertically
If the file is already open and the requested line is hidden by a fold, unfold so that the line is visible

Alternate Designs
In response to the problem that "plugins like JSHint that are displayed at the bottom will cover the desired line number," #12253 suggests scrolling the requested line to the top of the editor.
We could scroll the line to the top of the editor. However, centering the line vertically also resolves the stated problem. In addition to that, it has a couple advantages over scrolling the line to the top of the editor:

It's often useful to see a few lines of context above the current line. (For decades, diff tools have made us accustomed to seeing a few lines of context above and below a given line. 😇👴) If we scroll the line to the top of the editor, we lose the context of the preceding lines.
Centering the line restores Atom's originally-intended behavior, as it existed prior to the regression described in https://github.com/atom/atom/issues/12253#issuecomment-237252806.

Possible Drawbacks
None that I'm aware of.
Verification Process
The following steps use a file named package.json as the test file. At the time of this writing, package.json contains 285 lines.

[x] Open the file at a specific line and verify that Atom scrolls to that line

[x] atom package.json:100 - Places cursor on line 100 and centers line 100 vertically in the editor
[x] atom package.json:285

[x] Places cursor on line 285 and centers line 285 vertically in the editor when editor.scrollPastEnd is set to true
[x] Places cursor on line 285 and renders line 285 at bottom of the editor when editor.scrollPastEnd is set to false

[x] atom package.json:10000

[x] Places cursor on line 285 and centers line 285 vertically in the editor when editor.scrollPastEnd is set to true
[x] Places cursor on line 285 and renders line 285 at bottom of the editor when editor.scrollPastEnd is set to false

[x] atom package.json:1 - Places cursor on line 1 and renders line 1 at top of editor

[x] When package.json is already open in Atom with the cursor on line 1 and the viewport scrolled so that you can only see lines 250-285, running atom package.json:100 places cursor on line 100 and centers line 100 vertically in the editor
[x] When package.json is already open in Atom and line 100 is hidden by a fold, running atom package.json:100 places cursor on line 100, unfolds the fold, and centers line 100 vertically in the editor
[x] Open file at specific line via URI handler, and verify that Atom scrolls to that line and centers it vertically in the editor (atom://core/open/file?filename=%2FUsers%2Fme%2Fgithub%2Fatom%2Fpackage.json&line=100)

Release Notes

When opening a file at a specific line number, if Atom needs to scroll down in order to show the requested line, Atom will attempt to center the line vertically in the editor so that you can quickly find the line and see its surrounding context.

Before and After
Before

After

@nathansobo @rafeca: Would either of you be up for offering a code review for these changes?

Looks like @rafeca left a decently thorough review, so I'll skip it unless you really really want my eyes on this.


User failing to get the second directory chooser

Reported on Steam via Destination Sol ... yeah maybe we should get a Steam OAuth set up for the forum, heh :-)
User is seemingly using the latest version yet is consistently failing to get the second directory picker. Seems similar to older issues like #319
http://steamcommunity.com/app/342980/discussions/0/481115363867675994/
One of the four logs posted:
22:48:50.366 [JavaFX Application Thread] INFO o.t.launcher.TerasologyLauncher - TerasologyLauncher is starting
22:48:50.370 [JavaFX Application Thread] DEBUG o.t.launcher.TerasologyLauncher - Java: 1.8.0_60 Oracle Corporation C:\Program Files (x86)\Java\jre1.8.0_60
22:48:50.371 [JavaFX Application Thread] DEBUG o.t.launcher.TerasologyLauncher - Java VM: Java HotSpot(TM) Client VM Oracle Corporation 25.60-b23
22:48:50.371 [JavaFX Application Thread] DEBUG o.t.launcher.TerasologyLauncher - Java classpath: C:\Users\Justin\Documents\TerasologyLauncher\TerasologyLauncher\lib\TerasologyLauncher.jar
22:48:50.372 [JavaFX Application Thread] DEBUG o.t.launcher.TerasologyLauncher - OS: Windows 7 x86 6.1
22:48:50.372 [JavaFX Application Thread] DEBUG o.t.launcher.TerasologyLauncher - Max. Memory: 259522560 bytes
22:48:50.373 [JavaFX Application Thread] DEBUG o.t.launcher.TerasologyLauncher - Launcher version: [buildNumber=15, buildId=15, buildTag=jenkins-TerasologyLauncherStable-15, buildUrl=http://jenkins.terasology.org/job/TerasologyLauncherStable/15/, jobName=TerasologyLauncherStable, gitBranch=master, gitCommit=580e69f81e4836baf0da2135412d3dd92da08245, dateTime=2015-05-09T18:01:48Z, displayVersion=2.0.2-0]
22:48:50.373 [JavaFX Application Thread] DEBUG o.t.launcher.TerasologyLauncher - Language: en
22:48:50.778 [Thread-4] DEBUG o.t.launcher.LauncherInitTask - Operating system: WINDOWS_7
22:48:50.779 [Thread-4] DEBUG o.t.launcher.LauncherInitTask - Launcher directory: C:\Users\Justin\AppData\Roaming\TerasologyLauncher
22:48:50.779 [Thread-4] DEBUG o.t.launcher.LauncherInitTask - Download directory: C:\Users\Justin\AppData\Roaming\TerasologyLauncher\download
22:48:50.781 [Thread-4] DEBUG o.t.launcher.LauncherInitTask - Temp directory: C:\Users\Justin\AppData\Roaming\TerasologyLauncher\temp
22:48:50.783 [Thread-4] DEBUG o.t.launcher.LauncherInitTask - Launcher Settings: org.terasology.launcher.LauncherSettings[{gameDirectory=, userJavaParameters=-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=20 -XX:ParallelGCThreads=10, saveDownloadedFiles=false, closeLauncherAfterGameStart=true, job=TerasologyStable, buildVersion_Terasology=-1, initialHeapSize=NOT_USED, lastBuildNumber_TerasologyStable=, maxHeapSize=NOT_USED, lastBuildNumber_Terasology=, searchForLauncherUpdates=true, locale=en, buildVersion_TerasologyStable=-1, userGameParameters=, gameDataDirectory=}]
22:49:45.526 [Thread-4] DEBUG o.t.launcher.LauncherInitTask - Game directory: C:\Users\Justin\AppData\Roaming\Terasology

I may have a look at this later this week. The fix for #319 is part of the stable build in use, so there must be something different. I'll try to reproduce the problem on my Win7 laptop…

Sounds good, although I have a bad feeling this might be tricky to reproduce.
User later reported on Steam that even trying to run the game without the launcher still hit issues. The x86 exe was taken out by Norton and the x64 failed to find a valid Java. Wonder if a Java 7 or some bundled Windows thing is getting tangled with the PATH or something.

I'm not able to reproduce this issue, neither on Win7 laptop nor on Win8 Desktop...
If there's not more information or if nobody else can reproduce it this issue can be closed.

Yeah I'll close it. User stopped responding on Steam and there were issues on the system of some sort.


WIP: Solana integration

Description
This PR adds level 1 support for Solana blockchain; namely the following features:

deposit SOL and SPL tokens into ZetaChain as ZRC20
deposit and call zEVM contract from Solana
withdraw SOL and SPL tokens from ZRC20

On the Solana network a program (smart contract) manages authentication, custody, and remote call:
https://github.com/zeta-chain/protocol-contracts-solana
Closes:
Tasks

[x] Initialize the Gateway contract on localnet e2e test Solana blockchain
[x] Deposit SOL into ZRC20
[ ] Withdraw SOL from ZRC20
[ ] Deposit SPL Token into ZRC20
[ ] Withdraw SPL Token from ZRC20
[ ] Desposit SOL and call (swap Ether?)
[ ] Deposit SPL Token and call (swap Ether?)
[ ] Unit tests
[ ] Remove all hardcoded localnet settings in generic code paths

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.

[x] Tested CCTX in localnet
[ ] Tested in development environment
[x] Go unit tests
[x] Go integration tests
[ ] Tested via GitHub Actions

Checklist:

[ ] I have added unit tests that prove my fix feature works

@brewmaster012 what is cmd/solana/main.go? Is it the logic that simulate what ZetaClient should do?

yes, just for experimentation.

Closing as withdraw and deposit have been implemented


Stream crashes while viewing live in Apple Home app

Describe the bug
Stream crashes while viewing live in Apple Home app
To Reproduce
When getting a notification that there is an activity noticed, the stream crashes after a couple of seconds
Expected behavior
The stream needs to keep going :)
Logs
I'm not sure if this is exactly what is causing the problem, but I'm seeing a lot of this logging:
birdy-two: FFmpeg prebuffer process exited with error!  -

Screenshots
If applicable, add screenshots to help explain your problem.
Environment

Node.js Version: v16.13.2
Camera UI Version: v5.0.16
Operating System: Raspbian GNU/Linux 10 (buster)
Browser: N/A

can you post your config.json pls


Add support for recording from Bluetooth devices

Setting this option allows microphone input from Bluetooth devices (such as Airpods). Tested locally by editing build files in XCode.
Apple Documentation

Since our timezones seem to be different, if you end up accepting/merging this, could I also request a release? That way we won't have to temporarily fork!

Thanks! Small publishing issue, it got picked up at 1.1.16 https://www.npmjs.com/package/@siteed/expo-audio-stream .


chore(main): release 2.0.3

:robot: I have created a release beep boop
2.0.3 (2024-11-24)
🐛 Bug Fixes

specify packageManager (#453) (826a22c)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.0.3
:sunflower:


Overriding paramer type in Swagger document

I have the following query class that I use to bind the query string parameters for an endpoint:
public class Query
{
    public ConnectionKind? Kind { get; set; }

    public string? Type { get; set; }
}

Where ConnectionKind is defined as follows:
public enum ConnectionKind
{
    Source = 0,
    Destination = 1
}

When I generate the Swagger document, the documentation for the Kind property is generated correctly as an enum
"parameters": [
  {
    "name": "Kind",
    "in": "query",
    "description": "The kind of connection to filter by. Cannot be used in conjunction with Type.\n            ",
    "schema": {
      "nullable": true,
      "oneOf": [
        {
          "$ref": "#/components/schemas/ConnectionKind"
        }
      ]
    }
  },
  ...
]

With ConnectionKind declared as follows:
"ConnectionKind": {
  "type": "string",
  "description": "",
  "x-enumNames": ["Source", "Destination"],
  "enum": ["source", "destination"]
},

So far everything is good. My issue comes in with the Type property on my Query class. As you can see, on the C# side this is a string. So, in the Swagger document it is declared as follows:
{
  "name": "Type",
  "in": "query",
  "description": "The type of connection to filter by. One of:\n- CONTENTFUL\n- KENTICO\n- NOTION\n- SANITY\n- WEBFLOW\n- WORDPRESS\nCannot be used in conjunction with Kind.\n            ",
  "schema": {
    "type": "string",
    "nullable": true
  }
}

Strictly speaking, this is correct. However, it can be a limited set of values. So, as far as the Swagger document is concerned, I don't want the schema type simply declared as "string". I want to override the type for the Swagger document and also generate it as an enum - same as the case for the Kind property.
Is this possible?

maybe in conjunction with a schema processor, you might be able to optimize the above operation processor.

@jerriep i updated the op processor above and it seems to get the job done. no need for a schema processor as i suggested before.


Option to choose browser

As we use Microsoft Edge, which ist also chromium based, it would be nice to have an option to select the browser.

As a workaround, I put Google Chrome in a subfolder underneath /Applications as the used lib checks some paths in a fix order. https://github.com/go-rod/rod/blob/main/lib/launcher/browser.go#L203-L212
This also means that it is not possible to select the browser as long as the library is used for starting or the author of the library provides the option to select the browser.

Sorry, but I'm reluctant to change the current behaviour and override the "decision" of the library. Opening the browser window was always the most unstable part of the app. The switch to the library improved stability a lot. So changing it would put that at risk.
If this is important, please ask the authors of rod to add better support for Microsoft Edge. They have the means to properly test this in all environments.


Validation PHP

Added custom validation attributes for the greek language

I have been using this package for the past couple of days and I noticed that the Greek language was missing the custom attributes array, unlike its Bulgarian counterpart.

@teofanis, please transfer the file to the folder with the desired location. The validation.php file is now in the root of the project.

Ops, sorry my bad, I will make a new one


Upgrade V5 to V6 into svelte

Describe the bug
I have upgraded my project to vite 6 and I can't start on dev my project, I have few errors on some libs like :
bwip-js / @zerodevx/svelte-toast svelte-tel-input ..
Error :
  This error came from the "onResolve" callback registered here:

    node_modules/vite/node_modules/esbuild/lib/main.js:1150:20:
      1150 │       let promise = setup({

Or
runnerError: Error: RunnerError
      at reviveInvokeError (file:node_modules/vite/dist/node/module-runner.js:545:18)
      at Object.invoke (file:node_modules/vite/dist/node/module-runner.js:628:15)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async SSRCompatModuleRunner.getModuleInformation (file:node_modules/vite/dist/node/module-runner.js:1200:73)
      at async ESModulesEvaluator.runInlinedModule (file:node_modules/vite/dist/node/module-runner.js:1053:5)
      at async SSRCompatModuleRunner.directRequest (file:node_modules/vite/dist/node/module-runner.js:1279:61)
      at async SSRCompatModuleRunner.directRequest (file:node_modules/vite/dist/node/chunks/dep-BcnkIxro.js:30612:23)
      at async SSRCompatModuleRunner.cachedRequest (file:node_modules/vite/dist/node/module-runner.js:1174:76)
}
09:26:41 [vite] (ssr) Error when evaluating SSR module /src/routes/(dashboard)/+page.ts:
|- Error: Failed to resolve entry for package<EMAIL_ADDRESS>
Thanks
Reproduction
localhost:3000
Steps to reproduce
yarn add vite@latest
yarn dev
System Info
System:
    OS: Linux 6.8 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
    CPU: (16) x64 AMD Ryzen 7 5700X 8-Core Processor
    Memory: 17.43 GB / 31.26 GB
    Container: Yes
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 20.17.0 - ~/.nvm/versions/node/v20.17.0/bin/node
    Yarn: 1.22.22 - /usr/bin/yarn
    npm: 10.8.2 - ~/.nvm/versions/node/v20.17.0/bin/npm
    pnpm: 9.12.3 - ~/.local/share/pnpm/pnpm
  Browsers:
    Chrome: 131.0.6778.85
    Chromium: 131.0.6778.85
  npmPackages:
    vite: ^6.0.1 => 6.0.1

Used Package Manager
yarn
Logs
No response
Validations

[X] Follow our Code of Conduct
[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] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[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.

I guess you need to upgrade vite-plugin-svelte, but not sure without a reproduction.


Better Document the --secrets option

From struggling myself to get this tool working, and reading through many, many GH issues about similar issues, it turns out that my problem was that I wasn't using '--secrets=true', so it literally wasn't binding to the proper ip address, even though secrets were in the build.yml.
Maybe

Automagically turn on secrets when secrets are in build.yml?
Update docs to document that feature a bit clearer  (Btw, can you point me to where I can submit a PR for docs, specific to habitus?)

Thanks for a great tool!

Hi @naemono,
Yes we changed the behaviour of secrets. Will update the documents.
Thanks!
Daniel.


[WFRP4e System] Blast spell and apply Damage

I try to apply the damage of my Blast but the only option given to me is "Oppose with Targets" which makes an error log in the console.
I did put the zone on the MAP, which selected 2 monsters.From<EMAIL_ADDRESS>4.1.0wfrp4e-core: 2.1.0wfrp4e-rnhd: 2.1.0

This works fine for me, I'm guessing there's some issue with that particular test's context involving opposed rerolling. Try rolling a brand new test and see if it works.

Same, we can see that the message ids do not match

I admit that the way to reproduce the bug is complicated. I think it's related to "/terror 3" which after being applied on a character created a lot of bugs on his rolls afterwards, as if all the rolls were automatically opposed against him and in some cases it's not possible to make opposed rolls at all with him.

This is the example where I can no longer make an opposite roll with Lirrian.
By the way, is it normal that the game when I do everything right the number of success to cast the spell does not offer me the area of effect?
It appears only if I make 2 SL

This bug comes maybe because the application of the terror crashes, which created bugs on the following rolls ?

You can see that after the application of the terror, all my following throws are in opposition.

Moreover, even the throw of calm against terror launches an opposition

All I can make of this is that this has nothing to do with terror, you just have some oppose data on that character that doesn't seem to go away when rolled against, I'm assuming there's some error when trying to do so, do you see anything after the roll?

Well, I have passed on each of my characters
actor.data.flags.oppose = false
So that they don't get stuck in an oppose roll anymore.
I applied a roll of "/terror 3" on the whole group.
I could see that here no roll was made in opposition (which is normal)

Then I tried to launch a Blast.
You can see that the Blast is in opposition for no reason and I have the same bug if I click on "oppose with targets".

You are right, this is not from terror.
In fact, if you start an opposition roll between 2 characters and delete the chat, all the rolls from the 2nd character will be stuck in opposition.


Updated Turkish podcast/screencast list

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists  in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Followup

Check the output of Travis-CI for linter errors!

we already have a turkish screencasts list, which is why you have merge conflicts. Could you integrate that list? thanks.


Create regional calibration scripts

Creates individual python files for each region to run calibrate subnationally (e.g. amhara.py)

Issues with naming differences between regional files and region names set in calibration scripts (e.g. Addis Ababa vs addis_ababa).
Additional logic added to address this issue for three regions: Addis Ababa, Benishangul-Gumuz, and Dire Dawa
Convert the region name to the format used in your data
if region == 'addis_ababa' or region == 'dire_dawa':
   formatted_region = region.replace('', ' ').title()  # Replace underscore with space and capitalize each word
elif region == 'benishangul_gumuz':
   formatted_region = region.replace('', '-').title()  # Replace underscore with dash and capitalize each word
else:
   formatted_region = region.title()  # Capitalize each word

Issue Closed: PR #319


feat: [EMI-1753] artwork screen partner offer button behavior

This PR resolves EMI-1753
Description
This PR changes the behavior of the purchase button when a partner offer is available. It was a little tricky because the button is also used in our partner offer notification panel.
I started out by following the patterns we used in artsy/force#13647 and its followup PRs, but ran into some typing issues due to the re-use of the button and the need to add our own checkout link (gravity attaches one to the notification which is separate from the object we are querying here). What I ended up with was a usePartnerOfferOnArtwork(me) hook that:

Requests the complete partner offer data from its own query fragment
Creates a timer which self-updates with a mostly logical recalculation strategy (I could not find an equivalent of force's useTimer but this is an attempt at that)
loads the timer and checkout href into the partner offer for one single object

We could reuse this in other areas on the same screen, or it might make sense to just have it at some high level where it can be passed around.
WIP while i do the checklist below
PR Checklist

[ ] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Add feature-flagged partner offer checkout to artwork screen purchase button when available

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Dev changes (Add feature-flagged partner offer checkout to artwork screen purchase button when available)

  Generated by :no_entry_sign: dangerJS against 7fcf0c85d40974e2459f24635fc89c8a0e6a0b79

Thanks for the early feedback @damassi - on this point:

We don't need a usePartnerOffer hook at all, since all we're doing with it is passing the return value of that into a BuyNowButton prop

I'm in favor of reworking and simplifying - really the only reason for the hook was to combine the timer with the PO object. The reason for it (and why i dont know if it should be moved directly into the button) is two fold:

Notification panel borrows the BuyNowButton component from artwork and passes a different object than the normal PartnerOffer type here.
There are other parts of the artwork screen that have to adjust in the presence of a partner offer, particularly those in flight for #10085. Since we are dealing with a connection type that needs to become a single optional value and the offer may expire while the user is on the screen I thought keeping this logic somewhere would be best.

My thinking was that the hook would encapsulate this logic. I'll work with Sultan to get it sorted out asap.

Notification panel borrows the BuyNowButton component from artwork and passes a different object than the normal PartnerOffer type

This is fine! There's a few different options here:

If we're on a different type of screen its ok to allow for an optional partnerOffer argument on the button.
If that is found, we skip the fragment request on me, similar to the following

...BuyNowButton_me @relay(skip: $shouldSkipForSomeReason)

Another option is to add a "me enabled" wrapper around the BuyNowButton:

const CollectorBuyNowButton = ({ me }) => {
  const meData = useFragment(..., me)
  const partnerOffer = ...

  return <BuyNowButton partnerOffer={partnerOffer} ... />
}

The link posted from here is a good example of only doing only whats strictly necessary. From what I can tell here, this is what's needed for a partner offer. Three props, two from relay, one an href. Perfect. In this PR there's vastly more code, more types, more everything. Yes, a timer is present, but that's just another prop on the partnerOffer being passed in. Is timer a necessary property of a partner offer? If not, separate it, simplify up and down. A timer isn't a partner offer. We don't need to spread hooks and so on and so forth if all that's actually needed is endAt, isAvailable and href.  Pass those in. Stick to what is strictly necessary 😉.
Sorry for being a bit fussy here about this, and happy to help out. (Again, would suggest tackling a second pass of this in a new branch.)


question about code

God Work! I hava some questions, tgt_units is discrete speech token generated by e Hidden-unit BERT? Do you think this kind of text hiddenstate directly upsamples to non-autoregressive to get speech token and anygpt this kind of Expanding Vocabulary to integrate speech discrete token.
Which method has more potential for representations into LLM?

Yes. The speech code we use is the discrete unit generated by HuBERT. Our model architecture and SpeechGPT/AnyGPT follow two different technical approaches. I believe that the latter, which is a native multimodal model, has a higher potential ceiling if sufficient data and training resources are available. However, in resource-constrained environments, our approach can achieve better results at a lower training cost.

Thank you for your reply, because the length of your hiddenstate should be the same as the text token length. When streaming inference, how to determine the Chunk Size so that the token it truncates is a complete text? Does this need to be considered?

Thank you for your question. Currently, we are using the simplest fixed chunk size, and the results are still acceptable. If you want to further reduce the occurrence of speech being cut off in the middle of words, one of the simplest possible methods might be to only input the current chunk into the vocoder for synthesis when the corresponding text token represents the end of a word. Perhaps you could give it a try.


Switch to Headless Chromium for integration tests

Apparently, phantomJs' maineainer is stepping down and it seems that Headless Chromium might take its place.
Let's try to switch to a headless chromium WebDriver. Details here

re-enable it cases once this is fixed

done


Setting (global-tree-sitter-mode) in config.el causes warning on Emacs startup

Adding (global-tree-sitter-mode) in my config.el causes the following warning to be thrown:
error No language registered for major mode 'fundamental-mode'
Shouldn't this just be a no-op for fundamental-mode.  The entire purpose of (global-tree-sitter-mode) is so that I don't need to add my own hooks for each and every mode.

For me it actually breaks startup; I'm using the doom emacs configuration, with fold enabled. fold triggers (ts-fold-mode +1) which triggers a tree-sitter--handle-dependent macro. That macro runs this:
         (progn
           (tree-sitter--error-protect
               ;; Make sure `tree-sitter-mode' is enabled before MODE.
               (progn
                 (unless tree-sitter-mode
                   (tree-sitter-mode))
                 ,setup)
             ;; Setup failed. Clean things up, leave no trace.
             (setq ,mode nil)
             ,teardown) ...

For whatever reason, this unwind-protect isn't working; running doom with fold and tree-sitter enabled results in an init error, and running it with --debug-init gives me the trace that led me here.
Doom is 3.0.0-pre
tree-sitter-mode is at 02fe7b8