Regional settings

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Word andPhrases Score
CorrectnessScore
Scorecard
Processed

globalization/internationalization/punctuation-separators.md
91
100
100
link
:white_check_mark:

globalization/locale/addresses.md
96
100
91
link
:white_check_mark:

globalization/locale/calendars.md
83
100
56
link
:white_check_mark:

globalization/locale/currency-formats.md
95
100
100
link
:white_check_mark:

globalization/locale/date-time-formats.md
88
100
70
link
:white_check_mark:

globalization/locale/language-settings.md
73
100
43
link
:white_check_mark:

globalization/locale/measurement-units.md
95
100
78
link
:white_check_mark:

globalization/locale/number-formatting.md
84
100
76
link
:white_check_mark:

globalization/locale/numeric-notation.md
88
100
43
link
:white_check_mark:

globalization/locale/paper-size.md
100
100
100
link
:white_check_mark:

globalization/locale/regional-settings.md
80
100
100
link
:white_check_mark:

globalization/locale/telephone-numbers.md
90
100
76
link
:white_check_mark:

globalization/locale/time-zones.md
88
100
100
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-czech.md
67
100
39
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-dutch.md
66
100
19
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-french.md
71
100
22
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-german.md
63
95
22
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-hungarian.md
70
100
58
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-italian.md
82
100
87
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-japanese.md
93
100
100
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-korean.md
85
100
100
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-polish.md
78
100
56
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-portuguese-brazil.md
71
100
29
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-portuguese-portugal.md
75
100
44
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-russian.md
73
100
70
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-sim-chinese.md
78
100
72
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-spanish-neutral.md
67
100
28
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-spanish-spain.md
68
100
29
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-swedish.md
67
95
23
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-trad-chinese.md
78
100
64
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Word andPhrases Score
CorrectnessScore
Scorecard
Processed

globalization/internationalization/punctuation-separators.md
91
100
100
link
:white_check_mark:

globalization/locale/addresses.md
96
100
91
link
:white_check_mark:

globalization/locale/calendars.md
83
100
56
link
:white_check_mark:

globalization/locale/currency-formats.md
95
100
100
link
:white_check_mark:

globalization/locale/date-time-formats.md
88
100
70
link
:white_check_mark:

globalization/locale/language-settings.md
73
100
43
link
:white_check_mark:

globalization/locale/measurement-units.md
95
100
78
link
:white_check_mark:

globalization/locale/number-formatting.md
84
100
76
link
:white_check_mark:

globalization/locale/numeric-notation.md
88
100
43
link
:white_check_mark:

globalization/locale/paper-size.md
100
100
100
link
:white_check_mark:

globalization/locale/regional-settings.md
80
100
100
link
:white_check_mark:

globalization/locale/telephone-numbers.md
90
100
76
link
:white_check_mark:

globalization/locale/time-zones.md
88
100
100
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-czech.md
67
100
39
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-dutch.md
66
100
19
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-french.md
71
100
22
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-german.md
63
95
22
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-hungarian.md
70
100
58
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-italian.md
82
100
87
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-japanese.md
93
100
100
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-korean.md
85
100
100
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-polish.md
78
100
56
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-portuguese-brazil.md
71
100
29
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-portuguese-portugal.md
75
100
44
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-russian.md
73
100
70
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-sim-chinese.md
78
100
72
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-spanish-neutral.md
67
100
28
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-spanish-spain.md
68
100
29
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-swedish.md
67
95
23
link
:white_check_mark:

globalization/localization/ministyleguides/mini-style-guide-trad-chinese.md
78
100
64
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx


Use a min heap to sort out-of-order encoders

cc @robskillington
Use a min heap to sort out-of-order encoders in buffer buckets for O(nlogk) runtime with small memory overhead, where n is the number of total datapoints and k is the number of encoders. If it turns out to be memory inefficient to allocate the heap, can either pool those or switch to linear scanning iterators.
Also moved the temporary buffer outside the encoder struct and made them a temporary variable so we don't need to allocate heap space for them.

Coverage decreased (-0.3%) to 71.395% when pulling 865bec186791e6fcd60fbf5ba179a8c47dc89e53 on xichen-better-sorting into eabf6294a425e632dc5454ffdfb750df7e4aa806 on master.

This looks good, can we perhaps put it in a Reader somewhere so we can use this for client reads too?  We could perhaps add it to the iterator code so iterator takes an array of io.Reader and if there's more than one element it does this under the hood.

Yea we should reuse code if possible, although I'd rather not put this inside the existing iterator implementation because for now the iterator only need to deal w/ a single stream, which is conceptually simple. Otherwise, the iterator needs to keep track of a list of iterators internally, which is a bit strange.
Instead, I can create a MultiStreamIterator that also implements the iterator interface and uses a heap of iterators internally to decode things in order, which IMO provides better separation of concerns.
Sounds good?

For sure, sounds good. It will end up also implementing the Iterator interface yeah?

yup

Yeah that looks like a reasonable set of interfaces.  Multi pools required indeed... thankyou lack of generics..

Cool cool.
Also want to understand the use case a bit more before digging into the implementation. Are you considering using the MultiReaderIterator to decode the result of FetchRawBatch? If so, it seems we can  wrap the segments inside a ReaderSliceReader and pass that to an iterator to decode them.
MultiReaderIterator is useful if the datapoints in different encoded streams may interleave in time, but the segments returned from FetchRawBatch are always ordered in time, which makes ReaderSliceReader a perfect fit. If that's the case, perhaps we don't need to complicate the iterator implementation until the need arises? Or are you thinking about some other use cases?

Yeah essentially we need to return something like the following:
readers := [][]io.Reader{
  []io.Reader{singleInOrder1400to1600Stream},
  []io.Reader{outOfOrder1600to1800Stream0, outOfOrder1600to1800Stream1, outOfOrder1600to1800Stream2},
  []io.Reader{singleInOrder1800to2000Stream},
}

And be able to read them.

Coverage decreased (-0.8%) to 70.847% when pulling b018acefb0ab679044ee38683601b67cce7eb83d on xichen-better-sorting into eabf6294a425e632dc5454ffdfb750df7e4aa806 on master.

LGTM


Skip testWindowMaximizeBeforePageVisit when using xvfb

Needed when minkphp/driver-testsuite#10 gets merged.

I updated it as per your remark

Merging, thanks @peterrehm .

Thanks. 👍


Node's prefix contains characters and a slash

Fixed an issue that happens when a node's prefix contains both characters and a slash

@husobee Thank you for merging!
I'm wondering if you had time to dig into the cause? ... I'm not sure if I fixed the actual issue, or if the issue is happening when the route is added (and I fixed a side-effect of that).


How to implement video splitting in the demo version

Every time I upload a video from examples, an error occurs or no segmentation results are displayed.

Please provide more details, thanks a lot!


(🎁) dataclasses: set keyword_only to False

NOTICE
We're currently in the process of rewriting pydantic in preparation for V2, see
https://pydantic-docs.helpmanual.io/blog/pydantic-v2/.
Please see https://github.com/orgs/pydantic/projects/1 for the major tasks required for this migration.
To avoid wasting your time, it would be best if you only created significant PRs related to that project.
Thank you for your interest in pydantic, and your patience. :pray:
Note: if you're making a pull request to fix pydantic v1.10, please make it against the 1.10.X-fixes branch.

I think this conflicts with and/or is the same as #5120 which is a little more complete.

but thanks for suggesting.


Zookeeper path seems to be ignored

In my kafka-mesos.properties, I have configured:
storage=zk:/mesos-kafka
However, nodes like 'brokers' are created at the root of zookeeper, and while a '/mesos-kafka' node is created, it is empty.

that property is for where the scheduler stores it's state, not the zookeeper ensemble for your kafka brokers (fyi). It might be empty from a child znode perspective but should have meta data in the znode if you do a get on the /mesos-kafka znode you have set. To set the kafka brokers zookeeper cluster set the  zk=

Thanks for clarifying, this makes complete sense. :)


Running terraspace using shell script

Hey!!
I wanted to know is it possible to run terraspace using shell scripts like taking the input variable from shell script command and deploying the services? my main intention of using terraspace is for deploying multiple modules at once.
This is possible while using terraform. but terraspace i am not getting it.

Terraspace currently uses the -input=false when it calls out to terraspace commands. IE:
terraform apply -input=false

So it's not currently possible without a bunch of effort. This is currently done because it terraspace uses popen to call terraform so it can have more control over stdin and stdout.


installer and instructions doesn't work

The MSI_64 doesn't work.  the reg key is not pointing to the right teams installer folder.
%programfiles% = points to program files but the installer is copied to %programfiles(x86)%

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

ID: b2f71d9c-6b35-72c9-dd94-7f62319c1656
Version Independent ID: 86172986-6cc8-eee5-1309-704d9de0dcd0
Content: Install Teams using Microsoft Endpoint Configuration Manager - Microsoft Teams
Content Source: Teams/msi-deployment.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@sevenlas thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Missing typechecks for results of Divide

Whenever we perform a Division with an unknown type and a known integer, the typer assumes the result of the division will always be an integer and guards are not inserted before the result is used an integer.
Consider:
select substring("abcdefg", 0, pop / 10000) from zips

yields the logical plan
Typechecked:
Invoke(Squash)
╰─ Let('__checku0)
   ├─ Read(/zips)
   ╰─ Typecheck(Obj(Map[], Some(Top)))
      ├─ Free('__checku0)
      ├─ Let('__checku1)
      │  ├─ ObjectProject(Free('__checku0){"pop"})
      │  ╰─ Typecheck(Int)
      │     ├─ Free('__checku1)
      │     ├─ Invoke(Substring)
      │     │  ├─ Str("abcdefg")
      │     │  ├─ Constant(Int(0))
      │     │  ╰─ Invoke(Divide)
      │     │     ├─ Free('__checku1)
      │     │     ╰─ Constant(Int(10000))
      │     ╰─ Constant(NA)
      ╰─ Constant(NA)

Note Invoke(Substring) is invoked with the unguarded result of the division, even when we don't know the result will be an integer or a decimal/floating point
      │     ├─ Invoke(Substring)
      │     │  ├─ Str("abcdefg")
      │     │  ├─ Constant(Int(0))
      │     │  ╰─ Invoke(Divide)
      │     │     ├─ Free('__checku1)
      │     │     ╰─ Constant(Int(10000))

The typechecker works properly with literals in the query:
select substring("abcdefg", 0, 10 / 10000) from zips

results in
Quasar error: [You provided a constant value Dec(0.001) where we expected a Int...]

(ellipsis mine)
This is affecting Mongo since version 3.4. 3.4 introduced $substrCP and deprecated $substr. The latter would automatically truncate a decimal before performing obtaining the substring. $substrCP is not as tolerant and simply throws an error.
This isn't blocking new Mongo since there's a principled workaround for queries that no longer work due to a lack of magical truncation:
select substring("abcdefg", 0, trunc(pop / 10000)) from zips

Branched off #2667.

Here seems to be the issue, after talking about it with @alissapajer.
Exhibit A:
https://github.com/quasar-analytics/quasar/blob/aeab8f8e92362699aeb3715dba32e0200f39c7e0/frontend/src/main/scala/quasar/std/math.scala#L255
This line of the untyper suggests that if we know the result of a division is an integer, we know both arguments are integers.
Exhibit B:
https://github.com/quasar-analytics/quasar/blob/aeab8f8e92362699aeb3715dba32e0200f39c7e0/frontend/src/main/scala/quasar/std/math.scala#L244
This line of the untyper suggests that if we know that two integers are constants, we do not produce an integer by dividing them. So Exhibit A must be incorrect.
Exhibit C:
https://github.com/quasar-analytics/quasar/blob/5624a1c0a23df962646ebf9060b0edaab048757c/frontend/src/main/scala/quasar/std/library.scala#L78
This line of the non-constant part of the typer says we can produce integers from division, if both arguments have been inferred as integers. This is inconsistent with Exhibit B for the same reason.
Both arguments will be inferred as integers, however. This is because working backwards, we infer the argument of substring to be an integer, walk back through the untyper to learn that both arguments of the division must be integers through Exhibit A, then check (with the typer) that two integer argument types give us an integer result type. And that's exactly what Exhibit C does.
The fix seems to be correcting Exhibits A and C by removing numericWidening from the typer and making the untyper stop pretending we can return Int from Divide. I don't know exactly how numeric coercion works in the compiler, but this is my best guess.

@edmundnoble and I just verified that his branch, coherent-stdlib-types, correctly handles the workaround query mentioned above.

To clarify, the workaround query actually does not typecheck on master right now, because there's a feature missing from the typer.

@edmundnoble that's interesting. I'm sure that query was working when I opened this issue. I wonder if any other changes affected this.

Oh actually, I'm miscommunicating. The fix to the Divide problem makes the workaround query not work. It just required a further fix.


Port new updates in apps chatflow to 3Bot chatflow in 3Bot deployer

We have to port the new updates in apps chatflow in 3bot chatflow.

We have to port the new updates in apps chatflow in 3bot chatflow.

what are these updates?

We have to port the new updates in apps chatflow in 3bot chatflow.

what are these updates?

This changes from app chatflow review: https://github.com/threefoldtech/js-sdk/pull/797/files

I think the changes are already there since they are in the parent class

Close because of all changes in the base.


what is bootstrap bootstrap_extensions used for？

If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via emailing
<EMAIL_ADDRESS>where the issue will be triaged appropriately.
Title: One line description
what is bootstrap bootstrap_extensions used for？Description:

Describe the issue.
I don't know what is the config usage.the doc don't explain ,anybody knows?
[optional Relevant Links:]
Any extra documentation required to understand the issue.

Specifies optional bootstrap extensions to be instantiated at startup time. Each item contains extension specific configuration.

https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/bootstrap/v3/bootstrap.proto.html?highlight=bootstrap_extensions
there are a couple of existing extensions listed there (wasm/vcl)
im sure this is an area that could have better documentation


Fix up phpstan baseline.

Afterwards we should
vendor/bin/phpstan -b

Codecov Report

Merging #1851 (a180c25) into master (94069d2) will decrease coverage by 2.93%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1851      +/-   ##
============================================
- Coverage     87.75%   84.82%   -2.94%
+ Complexity     7761     7760       -1
============================================
  Files           282      282
  Lines         21291    21287       -4
============================================
- Hits          18684    18056     -628
- Misses         2607     3231     +624

Flag
Coverage Δ

5-max
84.82% <100.00%> (-2.94%)
:arrow_down:

7.4
84.82% <100.00%> (-2.94%)
:arrow_down:

agnostic
66.92% <100.00%> (+<0.01%)
:arrow_up:

mysql
?

pgsql
?

sqlite
66.87% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/Propel/Generator/Builder/DataModelBuilder.php
89.32% <100.00%> (+0.10%)
:arrow_up:

src/Propel/Generator/Config/GeneratorConfig.php
96.87% <100.00%> (ø)

src/Propel/Generator/Reverse/PgsqlSchemaParser.php
0.00% <0.00%> (-86.62%)
:arrow_down:

src/Propel/Generator/Reverse/MysqlSchemaParser.php
0.00% <0.00%> (-86.24%)
:arrow_down:

src/Propel/Runtime/Adapter/Pdo/PgsqlAdapter.php
2.94% <0.00%> (-50.00%)
:arrow_down:

src/Propel/Runtime/Adapter/Pdo/MysqlAdapter.php
41.30% <0.00%> (-36.96%)
:arrow_down:

.../Propel/Generator/Reverse/AbstractSchemaParser.php
44.44% <0.00%> (-22.23%)
:arrow_down:

.../ActiveQuery/QueryExecutor/InsertQueryExecutor.php
59.37% <0.00%> (-21.88%)
:arrow_down:

src/Propel/Generator/Platform/PgsqlPlatform.php
81.42% <0.00%> (-13.63%)
:arrow_down:

...e/ActiveQuery/SqlBuilder/DeleteQuerySqlBuilder.php
87.87% <0.00%> (-12.13%)
:arrow_down:

... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 94069d2...a180c25. Read the comment docs.


Article does not contain content

This page in the live environment does not match the content in GitHub.

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

ID: a4a90c18-81d3-0ae4-0abb-a4fa9c331f4b
Version Independent ID: bbfcc73a-2696-527e-8e6d-95b5bc8b7f17
Content: SharePointServer
Content Source: sharepoint/sharepoint-ps/sharepoint-server/sharepoint-server.md
Product: sharepoint-2016-powershell
GitHub Login: @techwriter40
Microsoft Alias: kirks

@officedocsbot assign @yogkumgit

It seems that on this one @kenwith can help us, do you know maybe why the live version of the article does not contain content but the version in the repo does contain content? maybe rendering issue?
Thank you

Could be 2 things I have seen.

docs.microsoft.com pulls from the Live branch of the repo. So someone has to remember to go and merge master branch to live branch.
If there is a formatting error in the Markdown the docs.microsoft.com site won't render it properly.

I will merge master to live now. So within 30 minutes or so that should be fixed. If still an issue then it is likely #2.

https://github.com/MicrosoftDocs/office-docs-powershell/pull/3582

Thank you @kenwith let's wait and see

Hello @kenwith
It seems that it is the 2nd option because the article looks the same, I reviewed the markdown and could not find the issue, also, put it in a markdown checker and it looks ok, is there a way we can access the rendering logs somehow?
What we know is that it successfully renders this line and stops
The following cmdlet references are for SharePoint Server.
which is present in the md file.
Thanks

I will ask the Azure team that owns the platform and see what they say.

@kenwith Thank you


🐛 python-xpybutil has been removed from arch repos but flashfocus depends on it

branch
testing
Architecture
x86_64
Description
$ sudo pacman -S flashfocus
resolving dependencies...
warning: cannot resolve "python-xpybutil", a dependency of "flashfocus"
:: The following package cannot be upgraded due to unresolvable dependencies:
      flashfocus

python-xpybutil has been removed from manjaro package repos with latest testing update: https://gitlab.manjaro.org/-/snippets/933#LC1678
Reproduction steps
1. `sudo pacman -Rsun flashfocus` - if you have `flashfocus` and `python-xpybutil` installed. Make sure to have a backup of `python-xpybutil` - probably there is one in `/var/cache/pacman/pkg/`.
2. `sudo pacman -S flashfocus`

Screenshots
No response
Logs
No response

That's sad.

I guess fixing up the pkgbuild and not installing python-xpybutil is fine for now. I would accept both, a PR switching to the minimal bash solution, as well as glimmer. It looks a bit different and I like it.

ah, damn. glimmer doesn't seem to be suported on sway: https://github.com/moustacheful/glimmer/pull/7
We could try that as a patch tho.

The patched version seems to work just fine.


feat(connlib): add placeholder for Internet Resource

In preparation for #2667, we add an internet variant to our list of possible resource types. This is backwards-compatible with existing clients and ensures that, once the portal starts sending Internet resources to clients, they won't fail to deserialise these messages.
The portal will have a version check to not send this to older clients anyway but the sooner we can land this, the better. It simplifies the initial development as we start preparing for the next client release.q

cc @AndrewDryga for visibility.


What is the format of the Fields property of ConversationCreateRequest?

It's a list of strings, and the endpoint takes a list of objects for that property, so I tried the contents of a JSON object...
var req = new ConversationCreateRequest
{
	MailboxId = mbId,
	Type = ConversationType.Email,
	Subject = "last, first SO# 12345",
	Customer = new Customer
	{
		Email =<EMAIL_ADDRESS>	},
	Status = ConversationStatus.Active,
	Fields = new List<string> { "\"id\":20879,\"value\":\"3\"" },
	Threads = new List<ThreadCreateRequest>
	{
		new ThreadCreateRequest{
			Type = ThreadType.Customer,
			Text = "ay dis broked",
			Customer = new CreateConservationThreadCustomer
			{
				Email =<EMAIL_ADDRESS>			}
		}
	}
};

But I get a HelpScoutException with message "Errored status:BadRequest" and this in the errors -
{
  "logRef": "",
  "message": "Error parsing request body into JSON",
  "_embedded": {
    "errors": []
  },
  "_links": {
    "about": {
      "href": "http://developer.helpscout.net/mailbox-api/overview/errors#invalid-json"
    }
  }
}

Is that Fields property supported and what should be the format of its strings?

Seems like a bug to me.
Shouldn't it be a IList<CustomField> instead of IList<string>?
Speaking of fields, I also don't see any method to update a conversation's custom fields


Import-Module Error

When attempting to use "Import-Module PSHunt", I receive the below:
`import-module : The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
At line:1 char:1

import-module PSHunt

  + CategoryInfo          : NotSpecified: (:) [Import-Module], FileLoadException
  + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.ImportModuleCommand`

Module folders \Lib\Posh-VirusTotal and \Lib\PSReflect were empty for me after unzipping.
Manually downloaded the files and extracted to their respective folders.
https://github.com/darkoperator/Posh-VirusTotal
https://github.com/mattifestation/PSReflect
The module imported without error after that.

Realized I have no idea what I'm doing with nested submodules.  I removed the 16000 entry and made them standard commits.  I'll update Posh-VirusTotal and PSReflect manually when those projects are updated until I figure out how to make this easier to distribute submodules.


Implement net.Listener

This adds support for incoming connections through the net.Listener interface, as required by Pat to support inbound P2P sessions (la5nta/pat#369).
It required a fair amount of structural changes and also led to some refactoring.
Changes include:

Keep cmdConn and dataConn alive throughout the Modem type's lifecycle.
Handle concurrent access by multiple goroutines.
Improved connection teardown and modem teardown (conn.Close() and Modem.Close())

Resolves #28.

Implement Modem.Listen()

Resolves #21.

There are still some TODOs remaining, but they are mostly related to edge cases. I've done a fair amount of off-air testing using two TNCs coupled acoustically, and the results are promising. It would be great to get some help testing this on-air as well.

Pat branch vara-listener is linked against this PR for anyone willing to test 🙂

Would this mean a version upgrade from 1.0.x to 1.1.0?

On May 14, 2023, at 5:38 AM, Martin Hebnes Pedersen @.***> wrote:
This adds support for incoming connections through the net.Listener interface, as required by Pat to support inbound P2P sessions (la5nta/pat#369 https://github.com/la5nta/pat/issues/369).
It required a fair amount of structural changes and also led to some refactoring.
Changes include:
Keep cmdConn and dataConn alive throughout the Modem type's lifecycle.
Handle concurrent access by multiple goroutines.
Improved connection teardown and modem teardown (conn.Close() and Modem.Close())
Resolves #28 https://github.com/n8jja/Pat-Vara/issues/28.
Implement Modem.Listen()
Resolves #21 https://github.com/n8jja/Pat-Vara/issues/21.
There are still some TODOs remaining, but they are mostly related to edge cases. I've done a fair amount of off-air testing using two TNCs coupled acoustically, and the results are promising. It would be great to get some help testing this on-air as well.
You can view, comment on, or merge this pull request online at:
https://github.com/n8jja/Pat-Vara/pull/37
Commit Summary
fe16ed1 https://github.com/n8jja/Pat-Vara/pull/37/commits/fe16ed1c496c4df0eafd0ba9c5570a5d574b0a80 Keep TCP conns alive while modem is idling
ba10728 https://github.com/n8jja/Pat-Vara/pull/37/commits/ba10728eb2cbe59660c72721bd5a386c88b142a0 Implement net.Listener
82a7d2a https://github.com/n8jja/Pat-Vara/pull/37/commits/82a7d2a807eedb937ae96a833cf5aa3c2d2b345d Cleanup and handle race in conn.Close
da321e9 https://github.com/n8jja/Pat-Vara/pull/37/commits/da321e998c3fe98fec47480338237535e968afc9 Support subscribing to state changes concurrently
3bf6f0a https://github.com/n8jja/Pat-Vara/pull/37/commits/3bf6f0a1d7b4587c19c5d45c49e081bce499a10d Fix remaining race conditions
40402a0 https://github.com/n8jja/Pat-Vara/pull/37/commits/40402a0ca7e04adc15f795e2d5b4df596869b108 Improve handling of loss of connection with modem
a167e89 https://github.com/n8jja/Pat-Vara/pull/37/commits/a167e89acbb64d610d374881f253f03351664480 Cleanup
92ac010 https://github.com/n8jja/Pat-Vara/pull/37/commits/92ac01025eefd6c63d8950acf76fb8dfb7ad8f5f Less aggressive cmd read timeout
549ae75 https://github.com/n8jja/Pat-Vara/pull/37/commits/549ae75e5969705209d1aa6a85a33a0336f2037a Ignore LINK (UN)REGISTERED command
File Changes (6 files https://github.com/n8jja/Pat-Vara/pull/37/files)
A vara/addr.go https://github.com/n8jja/Pat-Vara/pull/37/files#diff-6318208fedbeb5d06bff0f5f83da24fa7b5e8e805e7e66441fb81164371e4b97 (6)
M vara/conn.go https://github.com/n8jja/Pat-Vara/pull/37/files#diff-7f3c8a2567beb7d1f118cf109c1f6d5c7097ce9e9dce5e69053ae9065c6408ee (104)
M vara/listener.go https://github.com/n8jja/Pat-Vara/pull/37/files#diff-7e018e6fe6f1fb16c279051ab41815824d2038558fcf16fb588a261e2f6c0528 (61)
A vara/pubsub.go https://github.com/n8jja/Pat-Vara/pull/37/files#diff-75840762be74f0a93ae92acce6814d0e72661e2f5596fc1e2fb93e49b40e28e8 (74)
M vara/transport.go https://github.com/n8jja/Pat-Vara/pull/37/files#diff-dcfbe62325acb1e5f8315c63cd5137ddbc69488402b303f1c5e0daf984de0411 (66)
M vara/vara.go https://github.com/n8jja/Pat-Vara/pull/37/files#diff-b0676c0b2e5b556c5aa020b5c11efa280fe96e45295ebc4e883e201d55011b10 (209)
Patch Links:
https://github.com/n8jja/Pat-Vara/pull/37.patch
https://github.com/n8jja/Pat-Vara/pull/37.diff
—
Reply to this email directly, view it on GitHub https://github.com/n8jja/Pat-Vara/pull/37, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUTNBDKBOJ6N66QDJNIYOBLXGCR2JANCNFSM6AAAAAAYBBQTTE.
You are receiving this because you are subscribed to this thread.

Yes 😊

MINOR version when you add functionality in a backward compatible manner

https://semver.org/


Clickable links and onRow not working well together.

I have a clickable link in a column. I am handling row selection using onRow. On clicking the link, the onRow is also triggered. Is there any way to prevent onRow from being triggered for certain columns?

I would need a little example to tell any better. I have something going on here.
Why is triggering onRow an issue? You should not have any direct logic that gets executed when it's called but you can attach things like row level onClick handlers there for dealing with selection.

The recording below shows the problem that I am facing.

On selecting the rows, I am displaying the detail of the row above. That works fine. I have a checkbox column to the right. The checkbox column is for selecting multiple rows to perform delete. While selecting the row via checkboxes, the detail continues to change. I prefer the detail not to change while selecting via checkboxes. In the contrived example, this is not a problem. For the project that I am working on, detail makes an API call. If select the checkbox, API calls are being made which I want to avoid.
The source code can be found in https://github.com/vijayst/reactabular-select-demo

Okay. So if I'm understanding right, clicking on "select" checkbox cascades to row selection as well. What if you stopped the event bubbling? You could try something like this:
handleIdChange(e) {
  e.preventDefault(); // Stop bubbling

  // ... do your thing
}

The first event that is being handled is the onRow. After onRow completes, checkbox event is being handled!

Alright, figured it out. You can do a check like this:

onRow(row, { rowIndex }) {
  console.log('on row');
  return {
    className: row.selected && 'selected-row',
    onClick: (e) => this.onSelectRow(e, row, rowIndex)
  };
}

onSelectRow({ target: { tagName } }, row, rowIndex) {
  // Skip selecting if clicked on input
  if (tagName === 'INPUT') {
    return;
  }

  const { rows } = this.state;
  const { id, name, age } = row;
  console.log('select row');
  this.setState({
    id,
    name,
    age,
    rowNumber: rowIndex + 1
  });
}

It has something to do with the way DOM has been specified. It gives you target to check against. If you detect it's input, you can skip the default behavior.

Thanks @bebraw. It is very helpful.


Constant config syncing is creating lag spikes for non-host players

Title pretty much says it all. The constant syncing of the config from host to players is creating lagspikes ofr the non-host players. A fix could possibly be to onlay syny the config when a new player joins and when the host updates the config.
Me and my friends tested this while being on the ship on  a fresh save. We confirmed it is your mod.

Title pretty much says it all. The constant syncing of the config from host to players is creating lagspikes ofr the non-host players. A fix could possibly be to onlay syny the config when a new player joins and when the host updates the config. Me and my friends tested this while being on the ship on a fresh save. We confirmed it is your mod.

It's already the case
Send me logs
The sync is supposed to happen each time a player is joining

no answer, i close the issue.


add time param replacement

In schedule job, parameters based on current time are very common, like a daily job consumes a file named /tmp/from/${time:-1day,yyyyMMdd}.txt, and ${time:-1day,yyyyMMdd} will be replaced into 20150915 if the day it execute is September 16, 2015, i.e. the real file name passed to the job will be /tmp/from/20150915.txt. Although technically a job can do this itself, it  would be a great convenient.
This patch enable time parameters in job configures, the grammar is ${time:<delta period>,<time format>}. The format is following ISO8601,  and the unit of delta period could be year, month, day, hour, minute and second.

Cleaning up unattended / old PRs


FromResult error when namespace ends in .Task

Description
Receive a "The type or namespace name 'FromResult' does not exist in the namespace 'project namespace' error when the project name/namespace ends with .Task
Error comes from GeneratedFunctionMetadataProvider.g.cs
Minimal Example
https://github.com/jruelnurses/TaskBug.Task
Steps to reproduce
Create a new Azure Function project targeting .net8 with the project name ending with .Task, try to run the function.

Code produced by the function metadata code generator calls Task.FromResult intending for System.Threading.Tasks.Task.FromResult. This will introduce namespace ambiguation if the project namespace ends with .Task or references another project with a common prefix and ends with .Task.
public Task<ImmutableArray<IFunctionMetadata>> GetFunctionMetadataAsync(string directory)
{
    // ...
    return Task.FromResult(metadataList.ToImmutableArray());
}

This should be fixed by using fully qualified namespace instead. I may contribute in a few days.
- return Task.FromResult(metadataList.ToImmutableArray());
+ return global::System.Threading.Tasks.Task.FromResult(metadataList.ToImmutableArray());

By the way this is the third time I've seem similar namespace ambiguity issues caused by code generation in this repo. I think I've seen this type of problems being reported against System.Text.Json code generator as well. Seems to me like a common pitfall that is worthy of some guidelines from the .NET team.


Sounddevice records too much noise

Hello,
I'm trying to record audio with sounddevice library (latest version) on RaspberryPi 3 model B v1.2 with raspbian installed and updated.
I'm using usb sound card for microphone input.
Here is the simple script for recording: sound.zip
My problem is that sounddevice records so much noise, that it hurts my ears when I listen to the recorded file. Sometimes after fresh RPi boot, the first recording works ok, but when I try to record second time, then it records the noise.
Other times (most of the time), it records the noise even after fresh boot.
I don't think its because of the usb sound card, because the script I'm using works ok with that card on my desktop pc (arch linux) and with the same version of the sounddevice.
I've tired recording with arecord program, which uses alsa and it works ok every time and I've also tried recording with audacity, which uses portaudio library and it also works ok.
Do you have any idea why is this happening?
Thanks

Are there any messages on the terminal?

There is "input overflow" message every time. I did not investigate this, because it gives me the same message on my desktop pc and the recording is working fine there.

Whenever there is an overflow message, your recording is potentially ruined. You shouldn't take those lightly.
Make them go away and your noise will go away.

Could you paste a minimal version of your program that reproduces the
problem? I can't get to the zip on my phone.
Hard to say without a further description of the noise. It could simply be
that the way you've saved or are playing back the audio is ill formatted.
On Aug 14, 2017 10:08 AM, "pajpax"<EMAIL_ADDRESS>wrote:

There is "input overflow" message every time. I did not investigate this,
because it gives me the same message on my desktop pc and the recording is
working fine there.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/spatialaudio/python-sounddevice/issues/97#issuecomment-322248979,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAaVHEXMlkzTzlRV91nxPG3yHtF5XtURks5sYH7zgaJpZM4O1y5n
.

Yes, it's possible that I'm using the library in the wrong way. mgeier suggested that I should get rid of the "input overflow" problem, but I didn't get to it yet - and I don't know what is causing this yet.
Here is the code from the .zip:

import sys
import time
import queue

import sounddevice as sd
import soundfile as sf

RECORD_TIME = 10

q = queue.Queue()
rec_start = int(time.time())

dev_info = sd.query_devices(2, 'input')
# samplerate = int(dev_info['default_samplerate'])
samplerate = 48000

def data_callback(input_data, frames, time, status):
    if status:
        print(status, file=sys.stderr)
    q.put(input_data.copy())

with sf.SoundFile('test.wav', mode='x', samplerate=samplerate, channels=2) as file:
    with sd.InputStream(samplerate=samplerate, device=2, channels=2, callback=data_callback):
        rec_time = int(time.time()) - rec_start

        while rec_time <= RECORD_TIME:
            file.write(q.get())
            rec_time = int(time.time()) - rec_start

well one thing that could be the cause is that I believe the default 'subtype' for wav is pcm_16 whereas the default sounddevice encoding is float32. try specifying subtype as 'float' for the audio file

My guess is that PortAudio simply doesn't choose good default values for this particular hardware/driver.
@pajpax You should experiment with different values for latency and blocksize. I think it is very likely that if you use something like blocksize=2048, your problem goes away.

@tgarc Setting the subtype as 'float' didn't help.
@mgeier Setting the blocksize=2048 also didn't help, but when I set the blocksize to 18000 and above, it's working fine and I don't get any "input overflow" messages.

@pajpax I'm glad that you found a value that works! It seems quite big to me, but I don't have any experience with RaspPi, so I don't know if that's normal or not.
Can you please try what blocksize you need for the wire.py example?
You can also try to keep the default blocksize=0 and play around with different latency values.
Since you said that it works with Audacity, can you please check which buffer/latency settings you are using in Audacity?
There might also be some "virtual" devices available with different capabilities, can you please show the list of devices (sd.query_devices()) for your RaspPi?

@pajpax
Can you characterize the noise at all? When you say "it's so loud it hurts my ears" that makes me think you have an encoding problem, unless your audio is already very close to clipping levels, which is why I suggested that your subtype could be wrong.
Could you show the dtype of the InputStream along with the subtype of the SoundFile in your above example? Also showing the details of the device that you selected as mgeier suggested would be helpful.
Also, just to check this isn't due to pilot error...can you verify that you're running the exact same code on your raspi as on your host computer? (There must be at least one difference - the device index is most likely different between the two versions.) There's no reason I know of that would point to the raspi being the culprit.

Output of sd.query_devices():
0 bcm2835 ALSA: - (hw:0,0), ALSA (0 in, 2 out)
1 bcm2835 ALSA: IEC958/HDMI (hw:0,1), ALSA (0 in, 2 out)
2 USB Audio Device: - (hw:1,0), ALSA (2 in, 2 out)
3 USB Audio Device: #1 (hw:1,1), ALSA (0 in, 2 out)
4 sysdefault, ALSA (0 in, 128 out)
5 default, ALSA (0 in, 128 out)
6 dmix, ALSA (0 in, 2 out)
Audacity settings (all the settings of recording I could find):
Sample rate: 48000
Sample format: 32-bit float
Audio to buffer: 100ms
Latency correction: -130ms
Sample recording with noise: noise.zip
@mgeier
I was testing wire.py. I was running it like this: ./wire.py -i 2 -s 48000. I did not set any blocksize and it was behaving very strange. At one run of the script, it was working fine and at another run of the script it was recording the noise again. This behaviour was random.
After that, I was setting blocksize to higher values, the latency of audio playback was getting bigger and the recording of noise was still random, just like when I didn't set any blocksize. When I set blocksize to 18000, the playback wasn't working at all and the script was not responding to "Return" key.
After this, I tested my script again, but didn't set the blocksize so it was default value (0). And this time it was behaving exactly like wire.py. Working at one run, and recording noise at another run - I don't know what to think of this anymore.
@tgarc
I've uploaded 10s recording so you can hear the noise with your own ears.
Here is the information you requested. It's output from the same script as I've posted before, except I've set subtype='float' parameter to SoundFile() (and still recording the noise).
subtype of soundfile: FLOAT
dtype of InputStream: float32
And yes, I'm sure I'm using the same code on RaspPi and on my desktop pc. The only difference in the code is the device index just like you said.

Wow, you got yourself some impressive noise there!
I totally didn't expect that, I thought you mean some clicking artifacts or dropouts or something ...
There's something going very wrong here.
One might get a similar noise when misinterpreting the data type of the audio samples, but in your code everything seems fine, and you say that happens only some of the times ...
I think you should descent to C realms for further testing, in order to check if it's a problem with PortAudio itself. You have a compiler on your RaspPi, right?
You can try a file like this, named wire.c:
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <portaudio.h>

PaDeviceIndex device = 2;
PaTime latency = 0.1;
unsigned long blocksize = 0;
double samplerate = 48000.0;
PaSampleFormat format = paFloat32;
int channels = 1;

int callback(const void *input, void *output, unsigned long frame_count
  , const PaStreamCallbackTimeInfo* t, PaStreamCallbackFlags f, void* u)
{
  const float* in = input;
  float* out = output;
  for (int i = 0; i < frame_count; i++) { out[i] = in[i]; }
  if (f) { printf("xrun\n"); }
  return paContinue;
}

int main()
{
  PaError err = Pa_Initialize();
  if (err != paNoError) {
    printf("PortAudio error (init): %s\n", Pa_GetErrorText(err)); return 1;
  }
  PaStreamParameters out = { device, channels, format, latency, NULL };
  PaStreamParameters in = { device, channels, format, latency, NULL };
  PaStream* s = NULL;
  err = Pa_OpenStream(&s, &in, &out, samplerate, blocksize, 0, callback, NULL);
  if (err != paNoError) {
    printf("PortAudio error (open): %s\n", Pa_GetErrorText(err)); return 1;
  }
  err = Pa_StartStream(s);
  if (err != paNoError) {
    printf("PortAudio error (start): %s\n", Pa_GetErrorText(err)); return 1;
  }
  sleep(5);
  return 0;
}

And a Makefile:
LDLIBS = -lportaudio

wire:

Then you can run
make
./wire

... and check if the same thing happens.
You can play around with the settings in the code (and don't forget to re-compile!).

When I compile and run that code, it gives me this output:
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.front.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround40.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround71.0:CARD=0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

I managed to find simillar problems like this and it could be that these are only warning messages about wrong alsa configuration files for devices.
Any idea how to get rid of these messages? Recording is not working, btw.

Yes, those messages can be ignored. And yes, I do know a way to silence them, because I did it for the sounddevice module: #12. But that's really not the point here.

Recording is not working, btw.

This isn't supposed to record anything, it's supposed to pass the input through to the output, just like the wire.py example.
Do you hear anything?
Any noise?
At least there are no "xrun" messages. If you reduce the blocksize/latency, those should appear at some point.

Im sorry, I was not clear enough. By "not recording" I simply ment that I dont hear any sound. I know its supposed to work exactly like wire.py.

The reason why I didn't hear anything was because I had my headphones connected to RPi audio output jack, not the usb sound card output jack. Wire.py was using RPi audio output.
The C program using portaudio library is behaving exactly like wire.py. Working fine at one run and "recording" noise at another run.
So this is either portaudio problem or RPi problem.

pretty unique problem you have there! the white noise is even further confounding.
So does setting the blocksize to 18000 fix your problem permanently?
And I'm assuming that you have no issues with other audio devices?
But you also say that this issue doesn't occur when using audacity? That's curious because audacity uses Portaudio as the backend...

@tgarc

With blocksize set to 18000, I get the noise (and "input overflow" message) in one out of 5 runs of my script. When I go higher (20k or 24k), I get no "input overflow" messages and recording is fine - I've run it many times - but that doesn't mean it fixed the problem permanently.

I'm not using any other audio devices, only headphones and there is just a little cracking noise when playing sound on the RPi, but that is a known RPi issue - probably not connected with my recording noise problem.

No, this doesn't happen in audacity. I've made like 15 recordings in audacity and not a single one of them recorded that noise.

Thank you for all your help. I'm closing this, since it's not a sounddevice issue.

If you could, let us know what you find out!

Just try to reduce the volume of recording audio 80% or less

I was having the same issue,  noice while recording.  I tried everything looking for it, after a while i figured out that it was me looking for it that generated it.   I was running my code under the debugger, even do I was using multiple processes, the debugger stopping one may cause the other processes to wait too.  Running the code without debugger removed all noice from my audio


Use ViewModelScope for KMMViewModels

KMMViewModels contain a ViewModelScope that is bound to the main dispatcher. We should use that one instead of the default CoroutineScope to make sure that suspend functions are called and will update the state on the main thread.

Support for KMM-ViewModel has been added in v1.0.0-ALPHA-4.


How to setup so it only uploads when file/save is done by VsCode

Is your feature request related to a problem? Please describe.
The extension works great with both user auth and ssh-keys. Ssh-keys is what I was looking for.  But unlike the previous Extension we were using, this one uploads all the files that change regardless thet they were actually saved in VsCode.
Describe the solution you'd like
I understand the current automatic upload can be useful. But is there a way to deactivate it so that the only time the upload is done is when the use does CTRL-S (Save) on his file within VsCode.
Something like setting autosave=true, but autosynch=false.
Currently if I change branch in my repo, the extension automatically updates all the remote files. We don't want this to be automatic.
Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.

Hi,
You can disable auto uploading by setting "uploadOnSave" to false. You can also manually upload by pressing "alt+u" (default shortcut).


Cargo no longer runs/loads

ulrich@p0:/opt/gupu/rusty-wam$ cargo run
 Downloading prolog_parser v0.7.11
warning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: static.crates.io)
warning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: static.crates.io)
error: unable to get packages from source

Caused by:
  [6] Couldn't resolve host name (Could not resolve host: static.crates.io)
ulrich@p0:/opt/gupu/rusty-wam$ ping static.crates.io
PING d19xqa3lc3clo8.cloudfront.net (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from server-52-85-131-245.iad53.r.cloudfront.net (<IP_ADDRESS>): icmp_seq=1 ttl=239 time=55.8 ms

So I can ping it, but somehow the name cannot be resolved by cargo. (Currently, at cisco)

With rogers everything is fine again....


Update Ace Libs

Ace libs in addon are outdated as of pre-8.1 patch.

It would appear that while the Ace libs packages were dated newer upon review, no actual changes were made to the code therein.  the only real change was done to LibDbIcon and libstratafix written by the paste author for Interface 6.x.  It may not even be necessary now, but there is no interest in unwarranted rewrites of any part of Paste code if it isn't broken.


[beta] Fix  formatting for "Regular Expressions: Find Characters with Lazy Matching"

Challenge find-characters-with-lazy-matching has an issue.
As shown in the image below, the final sentence is formatted as <code>.

Fix this by moving the <code> tag to come just after ["titani"] and before the .
This should be updated to something like this:
<code>["titani"]</code>. It finds the (...)

@Greenheart I'll do this..


Proof.fromJSON() for times in a process, failed with : RangeError: offset is out of bounds

I hv a zkProgram named JoinSplitProver and its Proof is JoinSplitProof.
after compiling  JoinSplitProver  in the same process, I try to deserialize a json obj to JoinSplitProof for almost twenty times, and failed with 'RangeError: offset is out of bounds'.
code as below:

error stack as below:

I often meet this during circuit execution(witness calc, proof gen), but first time to meet it at Deserialization

This seems to be related to the wasm memory leak problem. Similar to executing the proof generation multiple times in a process, the wasm memory will continue to be consumed and not released in time.

Hey @coldstar1993, can you share the full ZkProgram, please? It'd be helpful for chasing down this bug :pray:


The "seek" and "tell" audio methods aren't working in compatibility mode

It seems that "seek" and "tell" methods of "Love2D" audio objects are out of order on HTML5 in compatibility mode. I implemented music loop from specific point in samples units taking method from this link: https://love2d.org/forums/viewtopic.php?t=81670. On PC and Android they work perfectly, but not here. Music file simply goes to the end and starts again. Has it been mentioned yet by anybody? And more importantly, is there any chance to fix it by myself without exclusion of compatibility mode?

Thanks for your answer.

Still doesn't work. Any plans to fix this some day?


make install commands easier to highlight

Long snippets are sometimes difficult to fully select in a Web browser. Hard wrapping snippets to make them easier to grab.

Describe the details of your PR ...

Merged, thanks.


Test report failures as log records

@freva

15:46:17 [ERROR] Failures:
15:46:17 [ERROR]   TestRunnerHandlerTest.returnsCorrectLog:99 expected: <{
...


update fw policy

update variables and add option to main that can be uncommented for use

ready to merge


HBASE-24667 Rename configs that support atypical DNS set ups to put them in hbase.unsafe

This is a cherry-pick of #2542

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 15s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 53s
branch-2 passed

+1 :green_heart:
checkstyle
1m 56s
branch-2 passed

+0 :ok:
refguide
7m 40s
branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

+1 :green_heart:
spotbugs
3m 31s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 11s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 37s
the patch passed

-0 :warning:
checkstyle
0m 24s
hbase-common: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

-0 :warning:
checkstyle
1m 15s
hbase-server: The patch generated 11 new + 46 unchanged - 1 fixed = 57 total (was 47)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  1s
The patch has no ill-formed XML file.

+0 :ok:
refguide
7m 31s
patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

+1 :green_heart:
hadoopcheck
12m 47s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
3m 58s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 32s
The patch does not generate ASF License warnings.

57m 21s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2632/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2632

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle refguide xml

uname
Linux 098c9c0da8dd 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 38512e6f38

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2632/1/artifact/yetus-general-check/output/branch-site/book.html

checkstyle
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2632/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-common.txt

checkstyle
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2632/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2632/1/artifact/yetus-general-check/output/patch-site/book.html

Max. process+thread count
84 (vs. ulimit of 12500)

modules
C: hbase-common hbase-server hbase-rest U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2632/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=3.1.12

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 14s
Docker mode activated.

-0 :warning:
yetus
0m  6s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 40s
branch-2 passed

+1 :green_heart:
compile
2m  7s
branch-2 passed

+1 :green_heart:
shadedjars
7m 32s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 28s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 19s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 27s
the patch passed

+1 :green_heart:
compile
2m  6s
the patch passed

+1 :green_heart:
javac
2m  6s
the patch passed

+1 :green_heart:
shadedjars
7m 22s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 27s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
2m  6s
hbase-common in the patch passed.

+1 :green_heart:
unit
193m 24s
hbase-server in the patch passed.

+1 :green_heart:
unit
4m  8s
hbase-rest in the patch passed.

234m 50s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2632/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2632

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux cedeb4e06bb3 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 38512e6f38

Default Java
AdoptOpenJDK-11.0.6+10

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2632/1/testReport/

Max. process+thread count
2703 (vs. ulimit of 12500)

modules
C: hbase-common hbase-server hbase-rest U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2632/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


⚠ Nebulance has degraded performance

In 3f2a187, Nebulance ($NBL) experienced degraded performance:

HTTP code: 200
Response time: 2028 ms

Resolved: Nebulance performance has improved in 15ef817.


Detecting static and prepared statements

We were thinking if this library could help us to get statistics on how many static statements vs prepared statements are executed by the software (like the query count statistics). As prepared statements give a good performance boost to the database server (hard vs soft parsing in oracle) it would be very helpful if a query execution listener could detect whether the underlying query is a static query or a prepared statement.
Our first thought was to implement the query listener and check if the getQueryArgsList() map is empty, but later came across some half cooked use cases which could turn this logic false like
select emp_name from employee where emp_id = 24 and emp_type = ?

Now this would be termed as a prepared statement but since it has the emp_id parameter value hard coded it is not completely a prepared statement. The database server would still have to do hard parsing for this.
I would like to start this as a discussion and get your experience to brainstorm if there is a better logic for this use case. Our goal is to let developers know that they should revise the queries being executed by their feature.
Thanks !
P.S - Looking at the query transformer interface, I am keen on knowing what are some of the real world use cases of it. Please share them.

Hi @shahamit
Is this about detecting query execution between java.sql.Statement vs java.sql.PreparedStatement?
If so, now(v1.3) ExecutionInfo contains statementType which indicates whether it was an invocation of statement, prepared statement, or callable statement.
I think that can be used to update your statistics based on type.
If you use the query count statistics, the QueryCount also contains number of queries by type(statement, prepared, callable).
Or, is it something specific to database(oracle)? Retrievable from JDBC API or driver(db vender) specific API?
Regards,

No, it won't be a check between between java.sql.Statement vs java.sql.PreparedStatement. In the example that I mentioned earlier
select emp_name from employee where emp_id = 24 and emp_type = ?

This would be a PreparedStatement but the emp_id parameter is hard coded. So its not a PreparedStatement practically.

I’m not sure about the definition of the static statement.
So, when there is a hardcoded parameter(“key=value”) in where clause, it is a static statement regardless of executed as PreparedStatement??
sample1:
Statement stat = conn.createStatement();
stat.execute("SELECT * FROM employee WHERE id = 100”);

static statement since it’s Statement

sample2:
PreparedStatement ps = conn.prepareStatement("SELECT * FROM employee WHERE id = 100 and type=’sales'”);
ps.execute();

static statement because there is no parameters even though it is PreparedStatement ??

sample3:
PreparedStatement ps = conn.prepareStatement("SELECT * FROM employee WHERE id = 100 and type=?”);
ps.setString(1, “sales”);
ps.execute();

static statement because there is “id=100” even though PreparedStatement and type=? ??

sample4:
PreparedStatement ps = conn.prepareStatement("SELECT * FROM employee WHERE id = ? and type=?”);
ps.setInt(1, 100);
ps.setString(1, “sales”);
ps.execute();

not static statement

Is my assumption correct??

Yes, your assumption is right. Is it possible to distinguish between these static and prepared statements in the code?

It's kinda workaround check but how about this?
private boolean isStaticStatement(ExecutionInfo execInfo, String query) {
    StatementType statType = execInfo.getStatementType();
    if (StatementType.STATEMENT.equals(statType)) {
        return true;
    } else if (StatementType.PREPARED.equals(statType) && !query.contains("?")) {
        return true;
    }
    return false;
}

This wouldn't catch "sample 3" from your initial reply which is the main problem. It would mark sample 3 as a Prepared Statement when it is not completely a Prepared Statement

ah, you're right.
hmm, then i think it needs to parse the query to find hardcoded "key=value" unless oracle jdbc driver has a way to say it's a static query or not...

Since the detection of static statement requires analyzing the query, datasource-proxy can be a starting point to trigger such  logic, but is not planning to have the logic itself in datasource-proxy.
Thanks for raising the issue, now I'm closing this.


Maybe the indentation format of the YAML file can be optimized

The suggested syntax for YAML files is to use 2 spaces for indentation，So I add this to .vimrc
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
It work,  but I'm not sure if this is the best way

This is great, thank you 🙏


Runtime error on cuda

`bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
cuda:0
CNNMnist(
(conv1): Conv2d(1, 10, kernel_size=(5, 5), stride=(1, 1))
(conv2): Conv2d(10, 20, kernel_size=(5, 5), stride=(1, 1))
(conv2_drop): Dropout2d(p=0.5)
(fc1): Linear(in_features=320, out_features=50, bias=True)
(fc2): Linear(in_features=50, out_features=10, bias=True)
)
/opt/conda/lib/python3.6/site-packages/torchvision/datasets/mnist.py:43: UserWarning: train_labels has been renamed targets
warnings.warn("train_labels has been renamed targets")
Traceback (most recent call last):
File "main_fed.py", line 113, in
w, loss = local.train(net=copy.deepcopy(net_glob).to(args.device))
File "/code/models/Update.py", line 48, in train
loss = self.loss_func(log_probs, labels)
File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/loss.py", line 904, in forward
ignore_index=self.ignore_index, reduction=self.reduction)
File "/opt/conda/lib/python3.6/site-packages/torch/nn/functional.py", line 1970, in cross_entropy
return nll_loss(log_softmax(input, 1), target, weight, None, ignore_index, None, reduction)
File "/opt/conda/lib/python3.6/site-packages/torch/nn/functional.py", line 1790, in nll_loss
ret = torch._C._nn.nll_loss(input, target, weight, _Reduction.get_enum(reduction), ignore_index)
RuntimeError: Expected object of backend CUDA but got backend CPU for argument  'weight'`
I get the above error, only when trying to run it on CUDA.

Sorry for the delay. This issue should be fixed after previous updating.


update metrics infrastructure docker compose cmd

Close #188

This has already been updated for the latest version of docs. Thank you for your attention to detail.


How to skip the plugin

Is there a way to skip execution of the plugin via a maven command line option?

Have you tried to add <skip>true</skip> to your plugin configuration, or adding -Dproguard.skip=true when calling?

Thanks.  That link doesn't seem to be on the home page


Ubuntu 16.04 Checkboxes

Running the latest 16.04 beta build of Ubuntu and gave Flatabulous a shot for the first time. Radial and regular checkboxes seem to be broken. Verified working with default theme.

Works fine for me.

Argh... Thought I had grabbed the latest DEV branch, I was still on master :( Anyway gorgeous theme!

My link is a fork, you should grab anmoljagetia/Flatabulous.


question

Support Question
how to disable one selection when use dateGrid ?

how to disabled one selection when useing dataGrid ?

Please submit your question to our Support Center (https://devexpress.com/sc) and describe the issue in greater detail. We will be happy to help you resolve this issue.


new series banner

replace WEEK BEFORE THE CROSS banner.

This is also slightly the wrong size. In the future it should be 1400x500. 😀

The program I use has a resize button that is super helpful so that I don’t don’t have to re-create every single element when I go from presentation size to banner size. Only downfall is they don’t let you customize the size, they have a list to choose from. :-(
If you think it’s worth it, I’ll go the extra mile and re-create each time?? What do you think?
Sent from my iPhone

On Mar 30, 2018, at 8:43 AM, Adam Garrett-Harris<EMAIL_ADDRESS>wrote:
This is also slightly the wrong size. In the future it should be 1400x500. 😀
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

No, that's fine. We can just switch to 1500x500 from now on.


OSSM-2053 Don't remove configured (but out-of-date) members from SMMR.status.configuredMembers [maistra-2.2]

After an SMCP is updated, the previously configured members should never disappear from the SMMR.status.configuredMembers list, since this causes istiod to push empty configs to the proxies. These namespaces should still be considered configured, even though they might not be up-to-date with the SMCP until the member controller reconciles them.
Here, we ensure that a namespace that was previously configured successfully, but is now out-of-date with regard to the SMCP, appears in both the configuredMembers and the pendingMembers list.

/test istio-operator-unit-2-2

2.2 is failing until https://github.com/maistra/istio-operator/pull/1009 gets merged

I updated the test case so it will pass.

/test istio-operator-unit-2-2

/retest


Add SequenceDiagram for EditExpenditureCommand

Codecov Report

Merging #276 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #276   +/-   ##
=========================================
  Coverage     37.57%   37.57%
  Complexity      339      339
=========================================
  Files           109      109
  Lines          1932     1932
  Branches        172      172
=========================================
  Hits            726      726
  Misses         1155     1155
  Partials         51       51

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f1c004b...f3ac47c. Read the comment docs.


Unicode Codepoint operator

Create an expression Codepoint x that takes an integer and returns a string which is a single Unicode character with the codepoint that is that value.
Tasks:

amend Flabbergast language spec
amend KWS VM spec
add to compiler and all implementations
briefly document in manual

Change of plans: this should be done using #31 in a library.


refactor(HtmlEncoder.php): reduce cyclomatic complexity

The code is now more readable.
Resolves #26, Resolves https://github.com/ericfortmeyer/polar/security/code-scanning/6

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

14 of 14 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 96.231%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
383

Relevant Lines:
398

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

14 of 14 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 96.231%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
383

Relevant Lines:
398

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

14 of 14 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 96.231%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
383

Relevant Lines:
398

💛  - Coveralls


Feature: Scenario outline with examples in the title

The problem
Hello @vitalets, I was trying to set up an example within the scenario title, but unfortunately it is not working.
Example:
Scenario Outline:  A <some> step is <result>
   When ....
   Then .....
Examples:
   | some    | result     |
   | passing | passed  |
   | failing   | skipped |

Is this possible to be implemented, or maybe I am doing something wrong?

Hi @NikkTod !
What is expected output for your example?
Is it something like this:
test.describe(`A <some> step is <result>`, () => {

    test(`A passing step is passed`, ...);
    test(`A failing step is skipped `, ...);

});

Currently we have an special comment syntax to customize test titles for examples. E.g.:
Scenario Outline:  A <some> step is <result>
   When ....
   Then .....

# title-format: A <some> step is <result>
Examples:
   | some    | result     |
   | passing | passed  |
   | failing   | skipped |

But looking at your code I've realized that we can also use scenario title as a test title template. In simple cases it's more straightforward than special comments.

@vitalets thanks, the special comment syntax helps me have it. The # makes it a bit like a comment, but it did the trick :)

Released in v5.6.0. Now scenario outline title will serve as a template for examples.
Please re-check on your side and report if there are any issues.

Hi!
is it possible to disable/skip original scenario outline title in the report?
before update, 5.5.0:

after update, 5.6.0:

I'd like to get rid of Win Result: different sides, side <side>

@alescinskis so the expected report is the following?
TopCard: Win Result -> Win Result: different sides, side 1
TopCard: Win Result -> Win Result: different sides, side 2
TopCard: Win Result -> Win Result: different sides, side 3

Technically scenario outline is a separate describe block, that's why we have this title in the Playwright HTML report.
It was done to avoid duplicate test titles like Example #x and also to apply tags to Scenario outline itself.
We can add some logic or flag to skip generation of this extra describe block for cases when user defined Scenario outline template assuming it ensures test title uniqueness. But I think this adds extra complexity to the whole test generation process and can lead to bugs in the future.
My suggestion is to follow another direction. Currently I'm working on the next big feature in playwright-bdd - support of Cucumber reporter that is designed to display BDD reports. For example: https://github.com/vitalets/playwright-bdd/issues/67#issuecomment-1795361618 There we will have just scenario outline title and examples as a table - that is native way of displaying examples. And there is no need to struggle with examples test title.

Hi @vitalets, as you probably already saw, playwright new version now supports tags :)
New syntax for adding tags to the tests (@-tokens in the test title are still supported):
test('test customer login', {
tag: ['@fast', '@login'],
}, async ({ page }) => {
// ...
});
Use --grep command line option to run only tests with certain tags.
npx playwright test --grep @fast

@NikkTod Yes, that's good news! Created a separate issue for tracking that https://github.com/vitalets/playwright-bdd/issues/98

Wrapping it into #122


No longer working with newest version

I've been using this a while but I'm now running Unity 2021.1.19f1 and input system 1.0.2 and it doesn't seem to work at all anymore

I tried it on 2020.3.18f1 LTS and have the same issue. So it seems more like the input system update broke it.
It may even be a windows 11 issue. I forgot I had upgraded to the beta since I last tested the dualsense in unity...


On mobile pull refresh ui screen render multiple time showing same ui multiple time in react material ui

On mobile pull refresh ui screen render multiple time showing same ui multiple time.
Find many solution but not working.
desktop working find but in mobile ui break multiple time.
any solution please let me know.
Search keywords:

@vaishaligour2016 Can you please explain more or add a reference for the above issue.

@KumarNitin19
when we refresh in mobile view same ui getting multiple time in every screen. not able to understand why it getting multiple time in some mobile phone.
I think this may be css issue.
using "@mui/material": "^5.14.9",
"react-router-dom": "^6.22.1",


Update tf.lite to use ai_edge_litert

Update the following test scripts from using tf.lite to use ai_edge_litert

canceling this pull for now, will create another one for the move


Conflict with slop

Steps to reproduce:

Start xborders
Start slop in terminal
Single click on a window

Expected behavior: slop should return a window geometry (like 1690x675+20+50)
Sad reality: slop can't see past (or pre, not sure) root window and returns full display geometry (3440x1440+0+0 for me)
Issue disappears when you kill xborders

Hmm I'm also noticing this with xprop. Not sure how we can get around it


Obfuscated crashes with debug files uploaded

Platform:

[ ]  Dart
[X]  Flutter Android or iOS
[ ]  Flutter Web

split-debug-info and obfuscate (Flutter Android or iOS) or CanvasKit (Flutter Web):

[X]  Enabled
[ ]  Disabled

Platform installed with:

[X] pub.dev
[ ] GitHub

Output of the command flutter doctor -v below:
➜ flutter doctor -v
[✓] Flutter (Channel keyboard_fix, 2.0.5-0.0.pre.3, on Linux, locale
    en_US.UTF-8)
    • Flutter version 2.0.5-0.0.pre.3 at /home/david/fvm/versions/master
    • Framework revision 4ac95e94c6 (3 weeks ago), 2021-04-04 10:33:36 +0200
    • Engine revision 2dce47073a
    • Dart version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /extra_drive/home/david/Android/Sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_SDK_ROOT = /extra_drive/home/david/Android/Sdk
    • Java binary at: /usr/lib64/jvm/java-1.8.0-openjdk/bin/java
    • Java version OpenJDK Runtime Environment (IcedTea 3.18.0) (build
      1.8.0_282-b07 suse-1.4-x86_64)
    • All Android licenses accepted.

[✓] Linux toolchain - develop for Linux desktop
    • clang version 11.0.1
    • cmake version 3.19.7
    • ninja version 1.8.2
    • pkg-config version 1.7.3

[!] Android Studio (not installed)
    • Android Studio not found; download from
      https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup
      for detailed instructions).

[✓] VS Code (version 1.55.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.21.0

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Linux

! Doctor found issues in 1 category.

The version of the SDK (See pubspec.lock):
5.0.0

I have the following issue: Android Dart stack traces are obfuscated in the dashboard but debug symbols have been uploaded.
The description goes here: The tests we did for obfuscation with Android + Sentry worked great when we tested it locally on release builds, but for some reason, the production version we released recently is giving out unsymbolicated symbols even though the debug files are correctly uploaded with sentry-cli.
I have to note that our deployment involves 2 builds for the app, an open beta and the production one. We uploaded the beta after the production, so the debug symbols did upload in that order as well. Can that confuse the dashboard because of multiple versions at the same time?
Another question I have is if there is any way to download the Dart stacktrace from the dashboard. I tried to symbolicate it myself with flutter symbolize but the raw trace in the dashboard has some null lines in there that prevent to obtain the source code location.
And last question: While testing Sentry I noticed that if an stacktrace is sent obfuscated and there are no debug symbols for that build, it will stay obfuscated in the dashboard forever, even after uploading the debug files. Events that come after, get symbolicated fine. (This was on our local release builds)
Thanks in advance!

@davidenwang thanks for reporting.
wondering if that's the case https://docs.sentry.io/platforms/flutter/troubleshooting/#known-limitations
which links to https://flutter.dev/docs/deployment/obfuscate#caveat
are we talking about only Dart stack traces, Java, or C/C++ stack traces?
Can you link me to a Sentry's issue with and without symbolication? so I can double-check the metadata.
Sentry converts stack traces to Sentry's StackTrace protocol, so I don't think you'd be able to use flutter symbolize ootb unless you convert back the way symbolize needs.
Ordering of uploading symbols does not matter, but obviously, you should have uploaded the correct symbols, that's important, wondering if you were running to a sort of caching if you just compiled one after the another.

@marandaneto You pinged someone else :sweat_smile:

@marandaneto These are all Dart traces.
Symbolicated issue: https://sentry.io/organizations/skilldevs/issues/2329914330/?project=1728432&query=is%3Aunresolved&statsPeriod=14d
Unsymbolicated issue: https://sentry.io/organizations/skilldevs/issues/2354816996/?project=1728432&query=is%3Aunresolved&statsPeriod=14d
I doubt is a caching issue, we have a flutter clean step at the very beginning

@davidmartos96 can you check those options in your project? https://docs.sentry.io/platforms/android/using-ndk/
specifically android:extractNativeLibs="true" or android.bundle.enableUncompressedNativeLibs=false, are they set?

@marandaneto You pinged someone else 😅

ups sorry

@marandaneto Thanks for the pointers!
So a difference between the builds in release mode we tested locally and the production ones is that the production builds are app bundles and we don't have the options you mention set.
I see that it is mentioned as needed in the docs when using AABs. Does that apply as well for symbolicating Dart stack traces?

@davidmartos96 yes because split-debug-info and obfuscate compile to native code anyway, please give it a try and let us know :)

@marandaneto Will do, thanks!
I guess a new release if in the Play Store would be needed right? Or is there another way?

you can test an app bundle too, https://developer.android.com/guide/app-bundle/test but that's out of my scope here :)

@davidmartos96 can you check those options in your project? https://docs.sentry.io/platforms/android/using-ndk/
specifically android:extractNativeLibs="true" or android.bundle.enableUncompressedNativeLibs=false, are they set?

This ended up doing the trick. Thanks again!
Do you think it would be worth mention it in the docs related to Flutter? I have only seen it mentioned in the Android NDK docs which may be overseen by many people.
Feel free to close this!

@davidmartos96 nice.
actually, when you go to https://docs.sentry.io/platforms/flutter/upload-debug/#uploading-for-android-ndk it links to https://docs.sentry.io/platforms/android/using-ndk/ but indeed, one has to open and read it, we can make it a bit more visible.
thanks for the suggestion, will do.


[BUG] Socket timeout or read ECONNRESET

Describe the bug
Im running 2xx api calls from python to flowise1.8.3. running on macOS. after some time (10mins) or so, i received now once an ECONNRESET error and once a Socket timeout. upon resending the api call, the service behaves normally
To Reproduce
Steps to reproduce the behavior:
running some 100 api calls in a loop
Expected behavior
i would expect, that the api call would be automatically triggered again after the failures.
service logs
[llm/error] [1:chain:LLMChain > 2:llm:ChatOpenAI] [78.86s] LLM run errored with error: "read ECONNRESET\n\nError: read ECONNRESET\n    at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20)"
[chain/error] [1:chain:LLMChain] [78.87s] Chain run errored with error: "read ECONNRESET\n\nError: read ECONNRESET\n    at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20)"
2024-07-02 22:03:33 [ERROR]: read ECONNRESET
Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20)
2024-07-02 22:03:33 [ERROR]: [server]: Error: Error: read ECONNRESET
Error: Error: read ECONNRESET
at buildFlow (/usr/local/lib/node_modules/flowise/dist/utils/index.js:493:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async utilBuildChatflow (/usr/local/lib/node_modules/flowise/dist/utils/buildChatflow.js:227:36)
at async Object.buildChatflow (/usr/local/lib/node_modules/flowise/dist/services/predictions/index.js:9:28)
at async createPrediction (/usr/local/lib/node_modules/flowise/dist/controllers/predictions/index.js:48:33)

[llm/error] [1:chain:LLMChain > 2:llm:ChatOpenAI] [972.24s] LLM run errored with error: "Socket timeout\n\nError: Socket timeout\n    at TLSSocket.onTimeout (/usr/local/lib/node_modules/flowise/node_modules/agentkeepalive/lib/agent.js:350:23)\n    at TLSSocket.emit (node:events:531:35)\n    at Socket._onTimeout (node:net:590:8)\n    at listOnTimeout (node:internal/timers:573:17)\n    at process.processTimers (node:internal/timers:514:7)"
[chain/error] [1:chain:LLMChain] [972.24s] Chain run errored with error: "Socket timeout\n\nError: Socket timeout\n    at TLSSocket.onTimeout (/usr/local/lib/node_modules/flowise/node_modules/agentkeepalive/lib/agent.js:350:23)\n    at TLSSocket.emit (node:events:531:35)\n    at Socket._onTimeout (node:net:590:8)\n    at listOnTimeout (node:internal/timers:573:17)\n    at process.processTimers (node:internal/timers:514:7)"
2024-07-02 19:21:06 [ERROR]: Socket timeout
Error: Socket timeout
at TLSSocket.onTimeout (/usr/local/lib/node_modules/flowise/node_modules/agentkeepalive/lib/agent.js:350:23)
at TLSSocket.emit (node:events:531:35)
at Socket._onTimeout (node:net:590:8)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
2024-07-02 19:21:06 [ERROR]: [server]: Error: Error: Socket timeout
Error: Error: Socket timeout
at buildFlow (/usr/local/lib/node_modules/flowise/dist/utils/index.js:493:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async utilBuildChatflow (/usr/local/lib/node_modules/flowise/dist/utils/buildChatflow.js:227:36)
at async Object.buildChatflow (/usr/local/lib/node_modules/flowise/dist/services/predictions/index.js:9:28)
at async createPrediction (/usr/local/lib/node_modules/flowise/dist/controllers/predictions/index.js:48:33)
Flow
sample Chatflow.json
Setup

Installation [npx flowise start]
Flowise Version [1.8.3]
OS: macOS, Windows, Linux]
running api calls from a jupyter notebook
Browser [safari] <-- shouldn't matter

✨✨ Here's an AI-assisted sketch of how you might approach this issue saved by @AsharibAli using Copilot Workspace v0.22
Topic

Is the API call automatically retried after an ECONNRESET or Socket timeout error? 🔄

Before

No, the API call is not automatically retried after an ECONNRESET or Socket timeout error. The code in packages/server/src/utils/buildChatflow.ts does not include any retry logic for these errors.
Errors like ECONNRESET and Socket timeout are logged but not handled for retries in packages/server/src/utils/buildChatflow.ts at lines 227 and 493.
The createPrediction function in packages/server/src/controllers/predictions/index.ts does not implement any retry mechanism for ECONNRESET or Socket timeout errors.
The current implementation only logs the errors and throws an InternalFlowiseError without retrying the API call.

After

Yes, the API call is now automatically retried after an ECONNRESET or Socket timeout error. 🔄
Added retry logic in utilBuildChatflow function in packages/server/src/utils/buildChatflow.ts to handle ECONNRESET and Socket timeout errors.
The retry mechanism attempts the API call up to 3 times with a delay of 2 seconds between each attempt.
Updated createPrediction function in packages/server/src/controllers/predictions/index.ts to utilize the retry logic for ECONNRESET and Socket timeout errors.
Errors are now logged, and if retries are exhausted, an InternalFlowiseError is thrown.

Plan

packages/server/src/utils/buildChatflow.ts (CHANGE)

Add retry logic in utilBuildChatflow function to handle ECONNRESET and Socket timeout errors
Implement retry mechanism to attempt the API call up to 3 times with a delay of 2 seconds between each attempt

packages/server/src/controllers/predictions/index.ts (CHANGE)

Update createPrediction function to utilize the retry logic for ECONNRESET and Socket timeout errors

Sketch of implementation

View the changes
Details

Code analyzed at 90558ca688298ccba83b18d0b41c5d1a89e10916

this looks like an issue with SocketIO, we are in the process of changing to Server Side Event that hopefully can solve the issue

this looks like an issue with SocketIO, we are in the process of changing to Server Side Event that hopefully can solve the issue

alright @HenryHengZJ ✨

Updated to use SSE! Closing


More tree samples

Added the remaining tree samples. Added a generic reloadable component.

I think we can do better on the instructions for these to describe what they do.  Also, let's consider changing the order.  For example, it seems like 'Presentation Tree' is the simplest of the new group so it should probably come first.

I updated the way the scrollbar looks to be consistent with the tree scrollbar. It also matches much better with the dark theme of the components and sample gallery.


Investigate adding quick fix buttons in the UIs in error / warn state

I noticed that the tomcat configuration, when in error has the following:

Clicking fix, then takes you to the place you need to be:

Notice it also has a context aware helper attached to the fix button for quick fixes.

If we don't have one already, we should have a bug to enable this
deployment tab, so the user can select multiple appengine modules to run at
the same time.
On Thu, Apr 27, 2017 at 4:11 PM, Etan Shaul<EMAIL_ADDRESS>wrote:

I noticed that the tomcat configuration, when in error has the following:
[image: image]
https://cloud.githubusercontent.com/assets/1735744/25502266/f3985682-2b63-11e7-9da8-6e2700f9157a.png
Clicking fix, then takes you to the place you need to be:
[image: image]
https://cloud.githubusercontent.com/assets/1735744/25502296/172142b2-2b64-11e7-80df-b65a4d629217.png
Notice it also has a context aware helper attached to the fix button for
quick fixes.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-intellij/issues/1384,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HZSBj7nRdyUrqM0RLPeIkQhyVg9Tks5r0PZ6gaJpZM4NKtdi
.

couldn't find one, so made https://github.com/GoogleCloudPlatform/google-cloud-intellij/issues/1385

Thanks!
On Thu, Apr 27, 2017 at 4:43 PM, Etan Shaul<EMAIL_ADDRESS>wrote:

couldn't find one, so made #1385
https://github.com/GoogleCloudPlatform/google-cloud-intellij/issues/1385
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-intellij/issues/1384#issuecomment-297833744,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HQP3aQFkndr2aa5Er9Re5Mxf9xU_ks5r0P32gaJpZM4NKtdi
.


[revocation] Integrate OCSP and CRL support

Pre-requisite:

https://github.com/notaryproject/notation-core-go/issues/124
https://github.com/notaryproject/notation-core-go/issues/125

Tasks

[ ] Abstract OCSP and CRL check behind a separate module.
[ ] Call the above module based on spec and trust-policy config.

Closing as completed.


Structured output of CLI commands

Make Protostar output JSON instead of human-readable text if -o json CLI flag is passed.

https://github.com/software-mansion/protostar/discussions/1123

We now support --json for:

call
invoke
deploy-account
declare
and @Arcticae will soon add deploy

These commands are also reworked, but deliberately stayed with human output only:

build
format

test command is big and separate issue has been created: #1172
Other commands are considered legacy and are not worth investing time.


Build docker images and remove them again

And now from within pybuilder.

You can try:
$ pyb docker_build

$ pyb docker_rmi


Highlight messages for user's nick

Currently, a user can direct a message at you with @nickname, but it can easily get lost in the spam. These messages should be visually distinguished so it's easier to follow a conversation in a busy channel.

Oh, apparently someone already did this in #26. I think using CSS styles is a better way of handling this, though.

+1

@ToastyStoemp Nice catch, thanks!


Usage and Setup

I'm new to programming and this field.  Could you provide detailed instructions on how to set up and run the dashboard using dashboard-run.py?

We will update related documents as soon as possible.


fix: address delete trigger js error

closes #169

chore: whitelist word
feat: add pageerror handler and attach page errors to test results.
fix: navigate back to trigger tab before deleting

Changes successfully run 100 times in a row locally without an occurrence of error.
playwright-report.zip


Article history (revisions), search, etc.

Hi again!
As you library seems to be the only available library for Java (there are one or two apart, but those are not being updated more) when we talk about MediaWiki API (i.e., not through database dump), I did keep testing you library.
Are you thinking to introduce a way to work with the revisions?
Search for Wikitext in various pages? Seems that now they introduced the CirrusSearch and its able to do search with regular expressions (see http://www.mediawiki.org/wiki/Thread:Help_talk:CirrusSearch/Regular_expressions), but I don't known ifs available through the rest API.
Those features would be interesting for example, in the area of anti-vandalism.

@eldur What's the status on getting old revisions of an article? I suppose it should be implemented by adding a support for rvendid and rvstartid API request parameters into the GetRevision -- or perhaps by adding a similar class dedicated only to getting specific revisions (i.e. having a List<SimpleArticle> as its primary return type). The query itself seems to look like this: /api.php?action=query&prop=revisions&titles=TitleOfTheArticle&rvprop=timestamp|user|comment|content&rvendid=OLDER_REVISION&rvstartid=NEWER_REVISION (switching the older and newer revisions if rvdir=newer is given as well).

@ZeroOne3010 if something is missing here send a pull request