Unclear on how to use -filterregex

I have tried using -filterregex in various forms but it seems no matter what I'm doing, it's not filtering out channels:
This doesn't seem to work:
./telly-linux-amd64 -file tv_channels_.com_plus.m3u -filterregex Arabic -filterregex French -filterregex Latino -filterregex Germany -filterregex NHL -filterregex MLB -filterregex CBN -filterregex Indian -filterregex African -filterregex Polish -filterregex Portuguese -logrequests
This also doesn't seem to work:
./telly-linux-amd64 -file tv_channels_.com_plus.m3u -filterregex Arabic French Latino Germany NHL MLB CBN Indian African Polish Portuguese -logrequests
and I've tried this:
./telly-linux-amd64 -file tv_channels_.com_plus.m3u -filterregex Arabic, French, Latino, Germany, NHL, MLB, CBN, Indian, African, Polish, Portuguese -logrequests
Any help would be appreciated.

What you're looking to do is use Regex, so none of them will work. You're mostly looking for the pipe operator - I recommend using something like regex101 to check.
Using @cesalo 's as an example - you should be able to decipher what you're looking for from this:
-filterregex' Latino|United States|Premium Movies|Sports|United Kingdom'

How would this:
"-filterregex' Latino|United States|Premium Movies|Sports|United Kingdom'"
change when using Windows?

I would like some more examples on how to use this if possible. Is it just searching each line by line?
As an example, my file contains:
#EXTINF:-1 tvg-id="aande.us" tvg-name="A&E" tvg-logo="http://static.iptv-epg.com/us/AandE.us.png" group-title="US Entertainment",A&E
What I want to do is simply filter it where group-title is "US Entertainment" and "USA Movie Networks"
I've attempted -filterregex "US Entertainment" although it throws back 27k channels when I know there are only 115


[DOC] Port Documentation wrong (9250 for CCS)

What do you want to do?

[x] Request a change to existing documentation
[ ] Add new documentation
[x] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
https://opensearch.org/docs/latest/install-and-configure/install-opensearch/index/#network-requirements
Lists 9250 as required Port for Cross Cluster Search. IMHO CCS uses 9300.
I think the error comes from this doc: https://opensearch.org/docs/1.1/security-plugin/access-control/cross-cluster-search/
There 9250 got listed but gets mapped internally to 9300.
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

I believe you are right, @HenryTheSir. Do you want to create a PR that updates the doc?

Hi,
I linked a PR which removes 9250 and adds CCS to 9300.
best regards

9250 port in network requirement is defintinely wrong. Thanks for fixing this.
Just wanted to clarify, In the cross cluster search documentation, the 9250 port is mapped to 9200 port of 2nd node(i.e. opensearch-ccs-node2). Not really related to cross cluster search as such.

9250 port in network requirement is defintinely wrong. Thanks for fixing this.
Just wanted to clarify, In the cross cluster search documentation, the 9250 port is mapped to 9200 port of 2nd node(i.e. opensearch-ccs-node2). Not really related to cross cluster search as such.

@ankitkala - Are the port numbers here correct?

9250 port in network requirement is defintinely wrong. Thanks for fixing this.
Just wanted to clarify, In the cross cluster search documentation, the 9250 port is mapped to 9200 port of 2nd node(i.e. opensearch-ccs-node2). Not really related to cross cluster search as such.

@ankitkala - Are the port numbers here correct?

The port numbers are correct as per the include sample docker configuration.


HEI-131 [FEATURE] Chi2 Test in AATest

added chi2 criterio in AATest

Great job. Please add also K-S test in tutorials.


gfakluge doesn't parse optional fields

This library still doesn't parse optional fields in the S/L/C/a/x lines. Several optional fields are defined in the 1.0 spec, so they're going to have to go in at some point.

Resolved by 3da11f23da2e74eecba2123818bbf2d41fca379d


Text cursor is vertically misaligned

I think it would look better if the text cursor was vertically aligned with respect to the chips. Right now it appears top-aligned:

@viridia I've checked here and it's might happen due some css styles that is been applied using ::shadow

Will be delivered on the next scheduled release:
https://github.com/WebPaperElements/paper-input-autocomplete-chips/issues?utf8=✓&q=milestone%3A"Next+February+Release"+


Your twitter account

Hello Kevin, I went to follow you on twitter but your account @kevinfaveri_ doesn’t exist! Do you have a new one?

Yes! kevcode_art


fix: miss key warning & hydration failed errors

A environment bug in dev mode

Hydration failed because the initial UI does not match what was rendered on the server.

use the next/dynamic method according to https://juejin.cn/post/7156221012768456718

The bug has fixed, which is caused by the inconsistent data management between server and client.


Have to pass another option since we have some jobs to build regardless if the last build succeeded.

ie: rats sams data copy jobs from production to dev and uat need to build regardless the last build succeeded or not. Created force_rebuild option to force rebuilds of the same branch even if the branch was built before.

Thanks!


Can I use Reporting API

As the new reporting API is currently in draft, it would be great to check when the first browsers support it.

What API are you referring to?

The upcoming W3C Reporting API 1.0:
https://w3c.github.io/reporting/

This is coming in Chrome, currently behind a flag.
More details:

Report-to header: https://developers.google.com/web/updates/2018/09/reportingapi
ReportingObserver: https://developers.google.com/web/updates/2018/07/reportingobserver

+1

+1

At least partially covered via MDN now: https://caniuse.com/?search=Reporting API, esp. https://caniuse.com/mdn-api_reportingobserver

Tangentially related to #2315.
https://caniuse.com/mdn-http_headers_report-to
MDN data on ReportingObserver via mdn/browser-compat-data#6189, Report-To header via mdn/browser-compat-data#3550.
More extensive discussion ongoing at mdn/browser-compat-data#10925.


C implementation of bounter

Includes:

3 algorithms of CMS completely in C (conservative, log1024, log8)
hashtable algorithm with pruning in C
merging
update() API
tests for hashtable

Missing:

tests for CMS
docs & examples

I'm worried about a namespace collision for the C extensions (htc actually already exists on pip: https://pypi.python.org/pypi/htc/0.0.1). If it's not too much effort to put them under the bounter package that would be much preferred.

test_ht_quality.py should probably be test_htc_quality.py

All major comments have been addressed, except for the unicode Py3 problem, where we need to reach a consensus.
I'll try to summarize:
In Python 3, strings are stored as unicode objects which are distinct from bytes objects:
u'foo' == b'foo'  # False in Python 3 but True in Python 2
Dictionary (and Counter) behave consistently with python equality and count these as distinct objects in Python 3 but same objects in Python 2.
I wrote both bounter.CountMinSketch and bounter.HashTable as structures which can store strings only. They both internally use the utf-8 representation of the string's bytes and calculate hash from those. The python3 C api automatically converts bytes and string objects to the same representation for me with the "s#" option.
That means that the current assumption of bounter is: convert everything to string utf-8 bytes, then work with those.
These are our options:

Preserve current assumption (treat bytes / string / unicode objects as the same if their (utf-8) bytes are the same)
PROS: most convenient and efficient API, needn't worry about expensive python conversions
CON: not consistent with Counter() in Python3

Disallow bytes objects in Python3: Fail fast if bytes object is provided.
PROS: Prevents any errors.
CON: Bytes input need to be manually converted to string objects before being processed, potentially expensive

Distinguish bytes objects from string objects with extra flag.
PROS: Mimics Py3 Counter behavior for bytes vs. strings
CON#1: Memory overhead for HashTable, Time overhead for CMS and Hashtable for ALL operations, even when bytes objects are not used.
CON#2: Py2 behavior would be either inconsistent with Py2 counter or with Py3 bounter.

How about doing it the other ways round? Supporting only bytes, not strings. Bytes is a more simple / powerful / flexible structure that a string (string => bytes can always be done; bytes => string not possible with extra information = the encoding).

I and Filip had a lengthy discussion about bytes/unicode today. Here's the summary.
Problems:

HashTable.items() now always returns str (i.e. bytes in Py2 and unicode in Py3). While this may look logical, it's actually inconvenient for incorporating into code that's supposed to work in both Py2 and Py3 (such as gensim) since it would require constructions like:

if python2:
   # process bytes
else:
   # process unicode

In addition, there's potentially confusing implicit type conversion. In Py2, if user inserts unicode objects, they get byte objects back from items() method and vice versa in Py3.

Discussed solutions:

Only support bytes (Radim's suggestion): Not ideal. If the user works with unicode they would need to convert all their data to bytes. Potentially a lot of encode calls => performance problem.
Only support unicode: Too restrictive. The user may have bytes that cannot be easily converted to unicode. Plus, similar performance problem as above if the user works with bytes.
items() to always return bytes; if unicode input received, convert to bytes (either use utf-8 or take encoding as __init__ param): Potentially confusing "unicode in, bytes out". The "bytes out" inconvenient if user works with unicode; not a performance problem though (the "out" is only the dictionary, not the whole corpus). Not a very nice solution but may be good enough while requiring little dev effort.
User decides if they want to store unicode or bytes, so it's either unicode-in/unicode-out or bytes-in/bytes-out. (Note: We would still always store bytes anyway, but that's an implementation detail hidden from the user; i.e. if unicode-in/unicode-out, we simply convert at the touch points.)
4a. Passing the opposite type (e.g. bytes to unicode storage) raises an exception: +Simple. +Safe (user likely doing something they don't intend). -Maybe too strict, especially in Py2.
4b. Passing the opposite type causes implicit type conversion: +Less strict. -Requires an extra __init__ parameter = encoding to be used for bytes<->unicode conversion (or document that utf-8 is always used). -Controversy when invalid bytes inserted to unicode storage (should fail immediately or only when iterating).
Note: Also discussed setting the type to str = depends on Python version. The rationale is that ht.increment("word") would work as expected in Py2 and Py3 (i.e. store bytes in Py2 and unicode in Py3). Filip thinks there's value in this. I don't quite agree.

This PR got too large, merging.
Please finish the outstanding issues in a separate PR -- the bounter function, conclude the unicode etc.


New setting pointing to custom Model

The built in Signals (in models.py) don’t work with a custom Hook model because they are hard coded to use the built in model.
Seems like the right way to handle this is to add an optional setting pointing to the custom model, and then use the value of that setting instead of hardcoded references to models.Hook.

@erikcw If you have time to open a PR with this I would be happy to take a look and merge it in.

Merged but not published on PyPI


Rename Bpf to Ebpf and BpfLoader to EbpfLoader

I have fixed the following issues!
https://github.com/aya-rs/aya/issues/334

@vadorovsky
Message editing completed.

@ken109 There are some clippy errors to fix, where you are still using Bpf:
error: use of deprecated type alias `aya::Bpf`
  --> aya-log/src/lib.rs:76:5
   |
76 |     Bpf, Pod,
   |     ^^^
   |
   = note: `-D deprecated` implied by `-D warnings`

error: use of deprecated type alias `aya::Bpf`
  --> aya-log/src/lib.rs:87:27
   |
87 |     pub fn init(bpf: &mut Bpf) -> Result<BpfLogger, Error> {
   |                           ^^^

error: use of deprecated type alias `aya::Bpf`
  --> aya-log/src/lib.rs:94:19
   |
94 |         bpf: &mut Bpf,
   |                   ^^^

After fixing that, I think it will be ready to merge. :smile:

@vadorovsky
Fixed. I apologize for any number of things we have not done.

@vadorovsky
Fixed.

Replaced by #528


Move bootstrap and jquery into webpack

Since rails 6 moved js out of sprockets into webpack, using gems to include them is no longer best practice, and in this case, doesn't seem to work.
Building on #22, used yarn to add jquery, popper and bootstrap npm packages and added configuration to get it all working. Note that the bootstrap css is still served via sprockets which is capable of finding the css under node_modules/.
A couple of other notes:

Looks like the require_tree and require_self sprockets directives were inadvertently removed in 2e5899b. Restored here.
I'm not sure what authenticated.scss is doing; seems to have a lot of custom css that is overriding some bootstrap. ~I've commented it out here and most things still seem to work~. It's still being pulled in via require_tree and overriding bootstrap css. We'll need to clean it up i think.
Alert/notice messages can now be closed.
The Toggle Sidebar button still doesn't work, but the js snippet in _sidebar is firing, so i think this is a bug with the implementation.

At some point, we may consider also moving font-awesome out of sprockets into webpack.

Ok, awesome, @exbinary !
I did have bootstrap and font-awesome working this way (followed gemfile instructions), but happy to change to best practice!
Removing unauthenticated only changed one thing, so, yeah, we're good on removing it. I'd stubbed out the sidebar/navbar/page frame with it and hadn't yet verified it could all go.

Going to merge and push to heroku. Thanks again, @exbinary !

Removing unauthenticated only changed one thing, so, yeah, we're good on removing it. I'd stubbed out the sidebar/navbar/page frame with it and hadn't yet verified it could all go.

So because i put require_tree back in there, authenticated is currently still loading. If i actually remove the file, the sidebar breaks horribly.
I would like to clean up authenticated.scss because it overrides a lot of styles globally and it will be hard to know what's coming from bootstrap and what's coming from the styles defined there. LMK if you have ideas for how to reconcile. Down to talk it through if that's easier.

Yeah, I def didn't want to leave it in there either, @exbinary. I can work on that tonight.


Function arguments autocompletion

For IDE's (such as Intellij) there should be a way to autocomplete function arguments.
That's what we want to have completed automatically.
itemBuilder: (BuildContext context, int index) {}

See Stackoverflow

Miss function arguments autocomplete so much!

Just show me some colors, it will be so much easier!

+1

+1

@pq implemented this initially in e0c178b38e632b6af1b18c63285034a7a5eab600


WIP: add depsBuildHost depsHostTarget

https://github.com/NixOS/nixpkgs/issues/28327
https://github.com/NixOS/nixpkgs/issues/227327
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

CI should be green now.


Check if gantt has rendered after data changes

api.core.on.rendered is called when the chart is fully rendered the first time only. How can I know if the chart has finished rendering after the data changes? Currently, api.data.on.change fires before the new data is rendered.

wrap the implementation of api.data.on.change listener in a $timeout call.
It will be called during the next $digest cycle, after rendering of the data. That's exactly the way we do to implement api.core.on.rendered, based on api.core.on.ready, and there's no more clean solution in AngularJS.

@spinningarrow Does this solve your issue ?

Yes it does; thanks!


[Bug] Incompatible with last version of spatie/laravel-medialibrary

Bug report
What I did
I create a new project with  "spatie/laravel-medialibrary": "^11.0.0"
What I expected to happen
Install this pacakge and use medialibrary + backpack
What happened
This pagages is only compatible with version ^10.7

What I've already tried to fix it
For now i don't install this package because i don't want to downgrade spatie/laravel-medialibrary
Context to replicate the bug - Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
### PHP VERSION:
PHP 8.2.1 (cli) (built: Jan 13 2023 10:42:44) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.1, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.1, Copyright (c), by Zend Technologies

### LARAVEL VERSION:
<IP_ADDRESS>

### BACKPACK PACKAGE VERSIONS:
backpack/basset: 1.2.3
backpack/crud: 6.6.3
backpack/generators: v4.0.3
backpack/pro: 2.1.7
backpack/theme-tabler: 1.2.0

It should now support v 11.3 (where Laravel v11 support was added).


A user's guide for Super Mario Paint would be useful

Instructions on how to use sharps, flats, double sharps/flats, the bass clef (if there is one, because there's a sprite in the files), etc. would be quite useful to both new users and experienced users.

Sounds like a pretty good suggestion. I'll copy over the instructions that I made on the release notes somewhere into the main download folder.

https://docs.google.com/document/d/1zLSkC-clCSxvVUnbYQAxImmJA-QSwSSyzuC62enLiLc/edit
The MPH Discord has helped to make a user guide


toggle the drawer state

hello! is there any way to change the drawer's mode (opened to closed/closed to opened) by a button or touchable opacity?

Not currently but that is a nice feature. I will work on it or anyone else can put a PR in.

Not currently but that is a nice feature. I will work on it or anyone else can put a PR in.

hello! is there any way to change the drawer's mode (opened to closed/closed to opened) by a button or touchable opacity?

Its on the way and I created pull request

wow thank you @matinzd !! can you notify me when the request is approved?

Would be nice if this gets implemented, really want to add functionality to a button so i can open/close the drawer

Would be nice if this gets implemented, really want to add functionality to a button so i can open/close the drawer

Fork my repo and use it

Would be nice if this gets implemented, really want to add functionality to a button so i can open/close the drawer

Fork my repo and use it

I forked your repo but i dont know how to use it.
Would you mind posting an example?

Would be nice if this gets implemented, really want to add functionality to a button so i can open/close the drawer

Fork my repo and use it

I forked your repo but i dont know how to use it.
Would you mind posting an example?
@matinzd

Just create reference from component and then use these methods as you want ..
  setDrawerState(state) // Can be accessed by BottomDrawer.DOWN_STATE or BottomDrawer.UP_STATE

  toggleDrawerState()

  openBottomDrawer()

  closeBottomDrawer()

@matinzd thanks i will check your repository.

@matinzd No, it is not working. i am getting error  - toggleDrawerState or other all function is undefined.

@matinzd No, it is not working. i am getting error - toggleDrawerState or other all function is undefined.

Please provide me your code

         ```

 Welcome to React Native!
{
                    this.drawer.closeBottomDrawer();
                }} title="Toggle" />
                 this.drawer = ref} containerHeight={200} offset={49}>
                     Get directions to your location

```

i am having the same issue as above

Hello. Did anyone have any luck? I am using the great bit if code within a functional component not a class, so 'this' can't be used. Thanks.

If anyone is still looking for alternatives for this library, since this one seems to have been abandoned
https://github.com/osdnk/react-native-reanimated-bottom-sheet
this one works pretty well and provides a lot more control


[Bug] az artifacts universal download fails

Referencing issue from Azure CLI extension repo
https://github.com/Azure/azure-cli-extensions/issues/554

@fadnavistanmay and @owenhuynMSFT, did you guys look at the bug mentioned above?

Any updates on this?

Closing due to inactivity, please reopen if the issue is still occurring.

This issue is definitely still occurring
virzak@vBurst:~/NoviView$ az pipelines runs artifact download --run-id 462 --project NoviView --artifact-name drop --path .
Command group 'pipelines runs artifact' is in preview. It may be changed/removed in a future release.
Encountered an unexpected error.
Microsoft.VisualStudio.Services.Common.VssServiceException: TF400813: The user<EMAIL_ADDRESS>is not authorized to access this resource.
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.SendAsync(HttpRequestMessage message, HttpCompletionOption completionOption, Object userState, CancellationToken cancellationToken)
   at Microsoft.TeamFoundation.Build.WebApi.BuildHttpClientCompatBase.SendAsync[T](HttpRequestMessage message, Object userState, CancellationToken cancellationToken, Func`3 processResponse)
   at Microsoft.TeamFoundation.Build.WebApi.BuildHttpClientCompatBase.SendAsync[T](HttpMethod method, IEnumerable`1 additionalHeaders, Guid locationId, Object routeValues, ApiResourceVersion version, HttpContent content, IEnumerable`1 queryParameters, Object userState, CancellationToken cancellationToken, Func`3 processResponse)
   at ArtifactTool.Commands.PipelineArtifactDownloadCommand.ExecuteAsync() in d:\a\1\s\src\ArtifactTool\Commands\PipelineArtifacts\PipelineArtifactDownloadCommand.cs:line 36
   at ArtifactTool.Commands.CommandBase.OnExecuteAsync() in d:\a\1\s\src\ArtifactTool\Commands\CommandBase.cs:line 105
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.InvokeAsync(MethodInfo method, Object instance, Object[] arguments) in C:\projects\commandlineutils\src\CommandLineUtils\Conventions\ExecuteMethodConvention.cs:line 77
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext context) in C:\projects\commandlineutils\src\CommandLineUtils\Conventions\ExecuteMethodConvention.cs:line 62
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<<Apply>b__0>d.MoveNext() in C:\projects\commandlineutils\src\CommandLineUtils\Conventions\ExecuteMethodConvention.cs:line 25
--- End of stack trace from previous location where exception was thrown ---
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass126_0.<OnExecute>b__0() in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.cs:line 505
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args) in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.cs:line 611
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute[TApp](CommandLineContext context) in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.Execute.cs:line 57
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync[TApp](CommandLineContext context) in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.Execute.cs:line 145
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync[TApp](IConsole console, String[] args) in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.Execute.cs:line 130
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync[TApp](String[] args) in C:\projects\commandlineutils\src\CommandLineUtils\CommandLineApplication.Execute.cs:line 112

@samuelkoppes this is definitely still an issue.
Please reopen.

This looks like a Build Artifact issue

Info:
azure-cli                         2.13.0

core                              2.13.0
telemetry                          1.0.6

Extensions:
azure-devops                      0.18.0

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\REMOVED\.azure\cliextensions'

Python (Windows) 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy

I ran the following command after running az devops login with a newly created full access token.
az artifacts universal download --organization "https://dev.azure.com/REMOVED/" --feed "REMOVED" --name "REMOVED" --version "REMOVED" --path . --verbose

Creating connection with personal access token.
Failed to update Universal Packages tooling.
 Access Denied: The Personal Access Token used has expired.
Command ran in 1.250 seconds (init: 0.135, invoke: 1.115)
Suppress exception:
Traceback (most recent call last):
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-w2r544p3\azure\cli\__main__.py", line 60, in <module>
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-w2r544p3\azure\cli\__main__.py", line 53, in <module>
SystemExit: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-c8n8j8wo\azure\cli\core\_profile.py", line 494, in get_current_account_user
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-c8n8j8wo\azure\cli\core\_profile.py", line 503, in get_subscription
knack.util.CLIError: Please run 'az login' to setup account.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-c8n8j8wo\azure\cli\core\decorators.py", line 74, in _wrapped_func
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-c8n8j8wo\azure\cli\core\decorators.py", line 57, in _decorator
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-c8n8j8wo\azure\cli\core\telemetry.py", line 502, in _get_user_azure_id
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-c8n8j8wo\azure\cli\core\_profile.py", line 496, in get_current_account_user
knack.util.CLIError: There are no active accounts.

Suppress exception:
Traceback (most recent call last):
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-w2r544p3\azure\cli\__main__.py", line 60, in <module>
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-w2r544p3\azure\cli\__main__.py", line 53, in <module>
SystemExit: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-c8n8j8wo\azure\cli\core\decorators.py", line 74, in _wrapped_func
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-c8n8j8wo\azure\cli\core\telemetry.py", line 512, in _get_azure_subscription_id
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-c8n8j8wo\azure\cli\core\_profile.py", line 520, in get_subscription_id
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-unpacked-wheel-c8n8j8wo\azure\cli\core\_profile.py", line 503, in get_subscription
knack.util.CLIError: Please run 'az login' to setup account.

If i run az login and then the original download command again, I get:
An error occurred on the service. TF400813: The user 'GUID REMOVED\USERNAME REMOVED' is not authorized to access this resource.
Command ran in 2.721 seconds (init: 0.133, invoke: 2.588)

az artifacts universal publish     --organization https://sisgesimp.visualstudio.com/     --feed TestArtifact     --name my-first-package     --version 0.0.1     --description "Welcome to Universal Packages"     --path Packages.zip
Encountered an unexpected error.
Microsoft.VisualStudio.Services.Common.VssServiceException: TF400813: The user<EMAIL_ADDRESS>is not authorized to access this resource.
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.HandleResponseAsync(HttpResponseMessage response, CancellationToken cancellationToken)


Not able to type anything on terminal

I am getting this warning after clicking on okay, I can't type anything I also tried restarting my PC, still nothing works.

How this suddenly happened? I have no idea.
If you show some warning, also give some doc to resolve it.
There is still issue open for the same on github having no effective solution.

Edition	Windows 10 Home Single Language
Version	20H2
Installed on	Sun 25-10-2020
OS build	19042.685
Experience	Windows Feature Experience Pack 120.2212.551.0

/dup #4448 there is so, so much info about this problem, including a fix, in this thread. Don’t disable system services. The warning says “if you disable this service, you won’t be able to type in Terminal”, and you have reported that you read the warning and now cannot type in Terminal.

@DHowett  Unfortunately couldn't find anything there, maybe I was in rush. I downloaded .bat file from here http://batcmd.com/windows/10/services/tabletinputservice/ after downloading and executing. It is working.
Did not get any help from above mentioned issue, thanks.

Sorry, thanks for the additional info!


Update Display Name for MSI

Summary
Update Display Name to Mattermost Desktop to reflect the real name. Sorry don't know where to change the exe builder :/
NONE

Thanks @JtheBAB, I'm not sure this one is necessary though. I think the app name (at least on Windows) is still Mattermost.

I find it just strange as everywhere it is Mattermost Desktop. But there not. But up to you guys :)

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

@devinbinnie Feel free to give approval so that I can merge :)

@wget Before I approve, and forgive my ignorance because I'm not super familiar with MSI building myself other than what I've had to work with, but is there any risk in changing the name here? Does that change the name of any shortcuts? Would notifications be affected (since Windows bases their existence off of some ID)?

@devinbinnie I don't pretend to know everything about msi myself either, but what matters most (:yum: ) is the Product Id and UpgradeCode attribute, not the name :) In the past, that name was usually changed depending on the version used to make it look different in the Add/Remove program control panel element.
So yes, the Name doesn't matter here. That name was important for Chocolatey for example when we hadn't any msi installer yet, chcolatey relied on it to grab the Uninstall string from the registry. Now with msi installer, they use the ID.
I checked by myself and an upgrade process is working flawlessly between a 5.2.2 and a 5.3.0-develop (with the new name).
Before:

After:

In the installer GUI (the name is also changed everywhere else, but I'm not gonna do screenshots for all of them :P ):

Seems like this is something everyone wants, so I shall approve and merge. Thanks @JtheBAB and @wget :)


Support for DCAP Libraries for Windows added to Openenclave

DCAP dependencies and libraries are added to the Open Enclave flows for Windows (addresses some bullets in #1043 ).
Default build for Windows is still OE_LIBSGX=OFF i.e. the AESM/non-FLC flows.
Windows ACC VM with the DCAP dependencies can be built manually using #1320 , #1417 , #1617 (tedious) OR   in an automated way using ansible and oe-engine (will be documented in our Wiki).

bors try

@johnkord @andschwa - Please review

All review comments have been incorporated. @CodeMonkeyLeet - Please review.

bors r+


Automated cherry pick of #2873: fix: fail to update reserved ip notes

Cherry pick of #2873 on release/2.12.
#2873: fix: fail to update reserved ip notes

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@5298346). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.12   #2876   +/-   ##
==============================================
  Coverage                ?   7.17%
==============================================
  Files                   ?     474
  Lines                   ?   75073
  Branches                ?       0
==============================================
  Hits                    ?    5390
  Misses                  ?   69232
  Partials                ?     451

Flag
Coverage Δ

#aFlag
7.17% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/reservedips.go
11.68% <0%> (ø)

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 5298346...4cd2f4d. Read the comment docs.

/approve
/lgtm


What should the value of backport_fast_active_record_connection_lookup be for Rails 5?

I noticed that in the 6.5 agent release, there's a recommendation to set the value of backport_fast_active_record_connection_lookup to false. However, I've also seen this is because of a patch that's getting fixed in Rails 6. Our app is currently on Rails 5.1. What should the value of this be, and should we flip it once we upgrade our app to Rails 6? Thanks!

This configuration takes inspiration from how Rails 6 passes the connection info to notification subscribers to avoid looping through all connections to find the right one when instrumenting.  The value of this setting is ignored for Rails 6+ apps as it is not needed and essentially ignored.
The recommendation to set the value to false by default stems from various external gems that alter or prepend the ActiveRecord notification, thereby breaking instrumentation of ActiveRecord.  The CHANGELOG suggests testing in development environment to ensure other gems your project may depend on are not breaking the instrumentation.  Thus, users must opt-in to this performance enhancement.
If you have other questions or concerns, please feel free to reach out directly to support, who can help you with configuring your environment optimally and answer any other questions you may have.

Is there a list of commonly used gems that this setting would conflict with?


Topic: Setting Up Continuous Deployment with ArgoCD on Kubernetes

Describe the types of DevOps topics you'd add in HelpOps-Hub Resource pages
Include comprehensive guides on CI/CD, containerization, infrastructure as code, monitoring and logging, cloud platforms, and DevOps best practices.
How many and what types of DevOps tools are you adding?

Kubernetes
ArgoCD

How many years of experience do you have in the DevOps field?
3 months
Could you share some screenshots or a video of your previous DevOps work?
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[ ] I'm DevOps professional
[X] Soon, I'll complete it and create a Pull Request.
[X] I'm a beginner in DevOps, but I'll try to contribute the best resources with hands-on experience.

@mdazfar2
Kindly assign me this issue

@Aditi22Bansal As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.


[bug]Changing acceleration doesn't work

I'm sure LinearMouse doesn't work, because in contrast, I can successfully turn off the acceleration with CursorSense.

You may need to provide additional information to help troubleshoot this problem. Your macOS version and the pointer device you're using, for example. Also, the logs from when you turned off the acceleration might be useful.
BTW, CursorSense and LinearMouse are incompatible. It's possible that one of them doesn't work correctly if both are installed.

macOS 12.4
trackpad
I tried uninstalling CursorSense and SteerMouse and re-selected accessibility options, but it still doesn't work.

Duplicate of #65.
For the time being, LinearMouse is only for mice and will not affect trackpads.

Also, the logs from when you turned off the acceleration might be useful.
I've checked the Console. However, when I change the acceleration and speed options, there are no new logs, but only some logs at startup, such as:
默认	13:42:40.396939+0800	LinearMouse	SetFrontProcess: asn=0x0-0x55c55c options=1
默认	13:43:40.499237+0800	LinearMouse	SetFrontProcess: asn=0x0-0x55c55c options=1
默认	13:44:33.372448+0800	LinearMouse	Entering exit handler.
默认	13:44:33.372467+0800	LinearMouse	Exiting exit handler.
默认	13:44:35.931972+0800	LinearMouse	Received configuration update from daemon (initial)
默认	13:44:35.935945+0800	LinearMouse	CHECKIN: pid=82717
默认	13:44:35.948321+0800	LinearMouse	CHECKEDIN: pid=82717 asn=0x0-0x641641 foreground=0
默认	13:44:35.951226+0800	LinearMouse	FRONTLOGGING: version 1
默认	13:44:35.951261+0800	LinearMouse	Registered, pid=82717 ASN=0x0,0x641641
默认	13:44:35.955384+0800	LinearMouse	BringForward: pid=82717 asn=0x0-0x641641 bringForward=0 foreground=0 uiElement=1 launchedByLS=1 modifiersCount=1 allDisabled=0
默认	13:44:35.955625+0800	LinearMouse	BringFrontModifier: pid=82717 asn=0x0-0x641641 Modifier 0 hideAfter=0 hideOthers=0 dontMakeFrontmost=0 mouseDown=0/0 seed=0/0
默认	13:44:35.956191+0800	LinearMouse	Current system appearance, (HLTB: 1), (SLS: 0)
默认	13:44:35.958904+0800	LinearMouse	No persisted cache on this platform.
默认	13:44:35.961993+0800	LinearMouse	Post-registration system appearance: (HLTB: 1)
错误	13:44:36.022955+0800	LinearMouse	Error: Serving updates without an EdDSA key and only using Apple Code Signing is deprecated and may be unsupported in a future release. Visit Sparkle's documentation for more information: https://sparkle-project.org/documentation/#3-segue-for-security-concerns
默认	13:44:36.027988+0800	LinearMouse	NSApp cache appearance:
-NSRequiresAquaSystemAppearance: 0
-appearance: (null)
-effectiveAppearance: <NSCompositeAppearance: 0x600002931e00
(
"<NSAquaAppearance: 0x600002931f80>",
"<NSSystemAppearance: 0x60000292d280>"
)>
默认	13:44:36.081542+0800	LinearMouse	Registering for test daemon availability notify post.
默认	13:44:36.081686+0800	LinearMouse	notify_get_state check indicated test daemon not ready.
默认	13:44:36.081759+0800	LinearMouse	notify_get_state check indicated test daemon not ready.
默认	13:44:36.081999+0800	LinearMouse	notify_get_state check indicated test daemon not ready.
默认	13:44:36.090801+0800	LinearMouse	Recieved DFR status change 0. status = 0x1
默认	13:44:36.091799+0800	LinearMouse	Recieved DFR status change 1. status = 0x1
默认	13:44:36.095626+0800	LinearMouse	SignalReady: pid=82717 asn=0x0-0x641641
默认	13:44:36.096901+0800	LinearMouse	SIGNAL: pid=82717 asn=0x0x-0x641641
默认	13:44:36.118535+0800	LinearMouse	Reacting to DFR status change 0. status = 0x1
默认	13:44:36.123020+0800	LinearMouse	Shortcuts Contextual Actions enabled
默认	13:44:36.123491+0800	LinearMouse	Reacting to DFR status change 1. status = 0x1
默认	13:44:43.429475+0800	LinearMouse	SetFrontProcess: asn=0x0-0x641641 options=1
默认	13:44:53.720163+0800	LinearMouse	LSExceptions shared instance invalidated for timeout.

Duplicate of #65.
For the time being, LinearMouse is only for mice and will not affect trackpads.

Oh, I see.

I've checked the Console. However, when I change the acceleration and speed options, there are no new logs, but only some logs at startup [...]

It seems that you haven't enabled debug messages. Debug messages are not displayed by default.
Anyway, I think we'll now close this issue and track this feature in #65.
Thank you for your feedback!


Ensure all VSTS builds have four-part versions

Builds from the master branch were being categorized as "release"
builds, and GitVersioning was emitting the official version number as a
three-part version like 15.5.42-preview, which broke automated
releases, which need the four-part version number for the ExternalAPIs
package.
@AndyGerlicher this should unbreak the automated ingestions.

@dotnet-bot test Windows_NT Build for Full please

@dotnet-bot test this please

@dotnet-bot test mono


[Prisma 5] Impossible to use emitOnly properties

Describe the Bug
When I use the property : emitOnly it failed on generation
To Reproduce

Use property emitOnly on schema.prisma
Generate prisma client

Expected Behavior
To works
Logs
https://github.com/flexper/starter-api/actions/runs/5604765614/job/15184208755?pr=329
Environment (please complete the following information):

OS: Github Action Ubuntu
Node 18.X
typegraphql-prisma version [e.g. 0.11.1] : 0.27.0
Prisma version [e.g. 2.18.0] : 5.0.0
TypeScript version (e.g. 4.2.2) : 5.1.6

Additional Context
ref https://github.com/flexper/starter-api/pull/329

Have you changed your syntax to array-based?
https://prisma.typegraphql.com/docs/advanced/emit-blocks

Thanks I didn't see the syntax have been changed !


Mask does not work with variable size

Hello!
Congrats! This is the best mask lib I've found 👍
I'm having a problem with this pattern: (\\d{5,6})-(\\d{1})
It is supposed to always put the - char (if there are more than 1 char on the UITextField) but when I satisfy the first group of the pattern (i.e. when I input at least 5 characters) it removes the - char.
I need something that works with ####-# and #####-#. It is never supposed to be like ##### (5 chars without spliting the last with the -).
I've tried to make it works but I can't until now u.u. Maybe for you it is clearer what we need to do to accomplish that.
Can you help me, please?
Thanks in advance!

@filipealva the framework doesn't check for backwards compatibility.
Have you tried using two masks, one for 5 digits and another for 6 digits in the first group, and swapping them by checking the string length? I know it's not the optimal fix, but I believe it will work

@fjcaetano thanks for answering!
I ended up implementing the mask by myself with UITextFieldDelegate for this case.


Mojo::UserAgent sends useless "Content-Length" header for GET request

This is how default GET request from Mojo::UserAgent looks like:
GET / HTTP/1.1
Content-Length: 0
Accept-Encoding: gzip
User-Agent: Mojolicious (Perl)
Connection: keep-alive
Host: www.google.com

The HTTP/1.1 specification is not very clear about GET request and Content-Lngth header. This is what I found:

The presence of a message-body in a request is signaled by the
inclusion of a Content-Length or Transfer-Encoding header field in
the request's message-headers. A message-body MUST NOT be included in
a request if the specification of the request method (section 5.1.1)
does not allow sending an entity-body in requests.

The logic is: GET request doesn't allow body (?), so Content-Length header shouldn't be specified.
Anyway, I have example of the server which sends 403 for me when Content-Length: 0 is in the request and 200 when there is no Content-Length specified. This is how I found this bug (?). Furthermore I didn't see that any popular user agent sends Content-Length header for GET request.

I wouldn't consider this a bug. A server that responds with a 403 just because a GET request has content-length: 0, however, that sounds like a bug.

why should we keep a useless header? I notice this exists for a long time

I was wrong. It responses with 404.
use Mojo::UserAgent;

my $ua = Mojo::UserAgent->new();
warn Mojo::UserAgent->new->get('http://www.raiffeisen.ru/')->res->code;

@olegwtf  the worse thing I cann't remove this header when I want to
use Mojo::UserAgent;
my $ua = Mojo::UserAgent->new();
my $tx = $ua->build_tx(GET=>'http://www.raiffeisen.ru/');
$tx->req->headers->remove('Content-Length');
print $tx->req->to_string;

I agree it seems like an useless header to send on get requests. I don't think it's a big deal, and that raiffeisen.ru server seems broken for returning a 404, but I'm still in favor of dropping the useless overhead.

If minimal message size is a goal, then this patch might make sense.
diff --git a/lib/Mojo/Message.pm b/lib/Mojo/Message.pm
index 56d5cd9..cebe161 100644
--- a/lib/Mojo/Message.pm
+++ b/lib/Mojo/Message.pm
@@ -99,8 +99,8 @@ sub fix_headers {
   my $headers = $content->headers;
   if ($content->is_multipart) { $headers->remove('Content-Length') }
   elsif ($content->is_chunked || $headers->content_length) { return $self }
-  if   ($content->is_dynamic) { $headers->connection('close') }
-  else                        { $headers->content_length($self->body_size) }
+  if ($content->is_dynamic) { $headers->connection('close') }
+  elsif (my $size = $self->body_size) { $headers->content_length($size) }

   return $self;
 }
diff --git a/t/mojo/request.t b/t/mojo/request.t
index fd838f2..22d0b40 100644
--- a/t/mojo/request.t
+++ b/t/mojo/request.t
@@ -1248,7 +1248,6 @@ is $req->url->to_abs, 'http://example.com/demo', 'right absolute URL';
 is $req->headers->connection, 'Upgrade',     'right "Connection" value';
 is $req->headers->upgrade,    'websocket',   'right "Upgrade" value';
 is $req->headers->host,       'example.com', 'right "Host" value';
-is $req->headers->content_length, 0, 'right "Content-Length" value';
 is $req->headers->sec_websocket_accept, 'abcdef=',
   'right "Sec-WebSocket-Key" value';
 is $req->headers->sec_websocket_protocol, 'sample',
@@ -1276,7 +1275,6 @@ is $req->url->to_abs, 'http://example.com/demo', 'right absolute URL';
 is $req->headers->connection, 'Upgrade',     'right "Connection" value';
 is $req->headers->upgrade,    'websocket',   'right "Upgrade" value';
 is $req->headers->host,       'example.com', 'right "Host" value';
-is $req->headers->content_length, 0, 'right "Content-Length" value';
 is $req->headers->sec_websocket_accept, 'abcdef=',
   'right "Sec-WebSocket-Key" value';
 is $req->headers->sec_websocket_protocol, 'sample',
@@ -1292,7 +1290,6 @@ is $clone->url->to_abs, 'http://example.com/demo', 'right absolute URL';
 is $clone->headers->connection, 'Upgrade',     'right "Connection" value';
 is $clone->headers->upgrade,    'websocket',   'right "Upgrade" value';
 is $clone->headers->host,       'example.com', 'right "Host" value';
-is $clone->headers->content_length, 0, 'right "Content-Length" value';
 is $clone->headers->sec_websocket_accept, 'abcdef=',
   'right "Sec-WebSocket-Key" value';
 is $clone->headers->sec_websocket_protocol, 'sample',
@@ -1319,7 +1316,6 @@ is $req->url->to_abs, 'http://example.com/demo', 'right absolute URL';
 is $req->headers->connection, 'Upgrade',     'right "Connection" value';
 is $req->headers->upgrade,    'websocket',   'right "Upgrade" value';
 is $req->headers->host,       'example.com', 'right "Host" value';
-is $req->headers->content_length, 0, 'right "Content-Length" value';
 is $req->headers->sec_websocket_accept, 'abcdef=',
   'right "Sec-WebSocket-Key" value';
 is $req->headers->sec_websocket_protocol, 'sample',
diff --git a/t/mojo/response.t b/t/mojo/response.t
index 7a75c2b..e8db698 100644
--- a/t/mojo/response.t
+++ b/t/mojo/response.t
@@ -671,7 +671,6 @@ is $res->code,        '404', 'right status';
 is $res->message,     'Not Found', 'right message';
 is $res->version,     '1.1', 'right version';
 is $res->headers->date, 'Sun, 17 Aug 2008 16:27:35 GMT', 'right "Date" value';
-is $res->headers->content_length, 0, 'right "Content-Length" value';

 # Build HTTP 1.1 response start-line with minimal headers (strange message)
 $res = Mojo::Message::Response->new;
@@ -684,7 +683,6 @@ is $res->code,        '404', 'right status';
 is $res->message,     'Looks-0k!@ ;\':" #$%^<>,.\\o/ &*()', 'right message';
 is $res->version,     '1.1', 'right version';
 is $res->headers->date, 'Sun, 17 Aug 2008 16:27:35 GMT', 'right "Date" value';
-is $res->headers->content_length, 0, 'right "Content-Length" value';

 # Build HTTP 1.1 response start-line and header
 $res = Mojo::Message::Response->new;
@@ -698,7 +696,6 @@ is $res->message,     'OK', 'right message';
 is $res->version,     '1.1', 'right version';
 is $res->headers->connection, 'keep-alive', 'right "Connection" value';
 is $res->headers->date, 'Sun, 17 Aug 2008 16:27:35 GMT', 'right "Date" value';
-is $res->headers->content_length, 0, 'right "Content-Length" value';

 # Build full HTTP 1.1 response
 $res = Mojo::Message::Response->new;
@@ -879,8 +876,7 @@ is $res->message,     'Switching Protocols', 'right message';
 is $res->version,     '1.1', 'right version';
 is $res->headers->connection, 'Upgrade', 'right "Connection" value';
 is $res->headers->date, 'Sun, 17 Aug 2008 16:27:35 GMT', 'right "Date" value';
-is $res->headers->upgrade,        'websocket', 'right "Upgrade" value';
-is $res->headers->content_length, 0,           'right "Content-Length" value';
+is $res->headers->upgrade, 'websocket', 'right "Upgrade" value';
 is $res->headers->sec_websocket_accept, 'abcdef=',
   'right "Sec-WebSocket-Accept" value';
 is $res->headers->sec_websocket_protocol, 'sample',
@@ -902,7 +898,6 @@ $res2->parse($res->to_string);
 ok $res2->is_finished, 'response is finished';
 is $res2->code,        404, 'right status';
 is $res2->version,     '1.1', 'right version';
-is $res2->headers->content_length, 0, 'right "Content-Length" value';
 ok defined $res2->cookie('foo'),   'cookie "foo" exists';
 ok defined $res2->cookie('bar'),   'cookie "bar" exists';
 ok defined $res2->cookie('baz'),   'cookie "baz" exists';
diff --git a/t/mojolicious/static_lite_app.t b/t/mojolicious/static_lite_app.t
index 5df2f01..17b962e 100644
--- a/t/mojolicious/static_lite_app.t
+++ b/t/mojolicious/static_lite_app.t
@@ -173,8 +173,7 @@ $t->get_ok('/asset' => {'Range' => 'bytes=3-5'})->status_is(206)

 # Empty file
 $t->get_ok('/hello4.txt')->status_is(200)
-  ->header_is(Server           => 'Mojolicious (Perl)')
-  ->header_is('Content-Length' => 0)->content_is('');
+  ->header_is(Server => 'Mojolicious (Perl)')->content_is('');

 # Partial empty file
 $t->get_ok('/hello4.txt' => {Range => 'bytes=0-0'})->status_is(416)

As far as i can see it is compliant with RFC 7230.

It might also make sense to omit Connection: keep-alive in some cases, i do not have a patch for that though.

A user agent SHOULD send a Content-Length in a request message when
no Transfer-Encoding is sent and the request method defines a meaning
for an enclosed payload body.  For example, a Content-Length header
field is normally sent in a POST request even when the value is 0
(indicating an empty payload body).  A user agent SHOULD NOT send a
Content-Length header field when the request message does not contain
a payload body and the method semantics do not anticipate such a
body.

Will it send Content-Length: 0 for POST with empty body after this patch?

@olegwtf No, doing so would be very complicated, and it is just a SHOULD.

@kraih doesn't that mean that the server can't tell there's no body unless the client closes the connection after sending, or am I missing something?

@shadowcat-mst Which section of the spec are you referring to? As far as i can see without a Content-Length header there simply can't be a message body.

I don't care very much about this change, both versions are spec compliant. But there is no cost and i do like the flexibility of being able to create messages without Content-Length header, as well as manually adding Content-Length: 0.

19:59  for a keep-alive connection Content-Length: 0 will be implicit
20:00  but if the connection gets closed, the message will be terminated
by EOF
20:00  http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.4
20:01  I don't see anything about implicit CL there
20:02  i don't use the old spec anymore
20:05  3.3.3 of 7230 says the same thing
20:06  > 7.  Otherwise, this is a response message without a declared
message body length, so the message body length is determined by
the number of octets received prior to the server closing the
connection.
20:08  sri: I can't see anything in section 6 of 7230 either
20:08  is there a bit of the standard I'm missing that says 'for a
keep-alive connection Content-Length: 0 will be implicit' ? I
can't find it :/
20:11  i don't remember if it was actually written down somewhere like
that
20:16  ok, so as far as I can see, omitting it on responses isn't valid
20:16  might work for some clients, but 3.3.3 7 indicates it's incorrect
unless I'm misreading it

I'm afraid the change caused problems with Chrome and had to be reverted. https://github.com/kraih/mojo/commit/139938c8d80b8dfc97b266dad84a3bf22a5343c6

Given chrome's heavy use of persistent connections, I'm sadly unsurprised.

Setting Content-Length 0 does not work against asp.net core - the server rejects that
/cc @dfowler


woud like to provide feedback for doc.microsoft article

Hi, I would like to provide feedback for article, (https://docs.microsoft.com/en-us/partner-center/faq-about-new-billing-features). Some figures might need to be corrected to deliver the correct information. May I know how I can go about doing that?

It's not clear on the sites that don't have the feedback enabled, but https://github.com/MicrosoftDocs/feedback/issues is probably a better place to file an issue for a content issue

thanks! I will submit a new issue over there

Feedback is disabled in some doc areas where the team is not ready to triage the feedback, or where automated systems produce the reference content. You can see the contributors names at the top of the article, and start an issue with them individually I suppose. For example, @MaggiePucciEvans could point you in a direction on that article.  Thanks, Jason


Some address could not be displayed

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
After updated to 1.28.3, some of the address in Drivers could not be displayed.

Expected Behavior
Previously, if the address is not in geofence, the address will be displayer as strees, building number, etc.
Steps To Reproduce
No response
Relevant log output
teslamate-teslamate-1  | 2024-02-20 10:39:33.663 [info] POST https://auth.tesla.cn/oauth2/v3/token -> 200 (248.294 ms)
teslamate-teslamate-1  | 2024-02-20 10:39:33.664 [info] Refreshed api tokens
teslamate-teslamate-1  | 2024-02-20 10:39:33.670 [info] Scheduling token refresh in 6 h
teslamate-teslamate-1  | 2024-02-20 10:39:33.673 [info] Running TeslaMateWeb.Endpoint with cowboy 2.10.0 at :::4000 (http)
teslamate-teslamate-1  | 2024-02-20 10:39:33.674 [info] Access TeslaMateWeb.Endpoint at http://<IP_ADDRESS>
teslamate-teslamate-1  | 2024-02-20 10:39:33.855 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles -> 412 (179.215 ms)
teslamate-teslamate-1  | 2024-02-20 10:39:33.855 [warning] TeslaApi.Error / %{"error" => "Endpoint is only available on fleetapi. Visit https://developer.tesla.cn/docs for more info", "error_description" => "", "response" => nil}
teslamate-teslamate-1  | 2024-02-20 10:39:33.855 [warning] Could not get vehicles: :unknown
teslamate-teslamate-1  | 2024-02-20 10:39:33.860 [warning] Using fallback vehicles:
teslamate-teslamate-1  |
teslamate-teslamate-1  | [
teslamate-teslamate-1  |   %TeslaApi.Vehicle{
teslamate-teslamate-1  |     id:
teslamate-teslamate-1  |     vehicle_id: 1
teslamate-teslamate-1  |     vin: ",
teslamate-teslamate-1  |     tokens: [],
teslamate-teslamate-1  |     state: "unknown",
teslamate-teslamate-1  |     option_codes: [],
teslamate-teslamate-1  |     in_service: false,
teslamate-teslamate-1  |     display_name: "棋棋的小黑",
teslamate-teslamate-1  |     color: nil,
teslamate-teslamate-1  |     calendar_enabled: nil,
teslamate-teslamate-1  |     backseat_token: nil,
teslamate-teslamate-1  |     backseat_token_updated_at: nil,
teslamate-teslamate-1  |     api_version: nil,
teslamate-teslamate-1  |     charge_state: nil,
teslamate-teslamate-1  |     climate_state: nil,
teslamate-teslamate-1  |     drive_state: nil,
teslamate-teslamate-1  |     gui_settings: nil,
teslamate-teslamate-1  |     vehicle_config: nil,
teslamate-teslamate-1  |     vehicle_state: nil
teslamate-teslamate-1  |   }
teslamate-teslamate-1  | ]
teslamate-teslamate-1  | 2024-02-20 10:39:33.860 [info] Starting logger for '棋棋的小黑'
teslamate-teslamate-1  | 2024-02-20 10:39:33.926 [info] MQTT connection has been established
teslamate-teslamate-1  | 2024-02-20 10:39:33.967 [info] Repairing drive #1788 ...
teslamate-teslamate-1  | 2024-02-20 10:39:34.111 car_id=1 [info] Start / :asleep
teslamate-teslamate-1  | 2024-02-20 10:39:37.331 [info] tzdata release in place is from a file last modified Fri, 22 Oct 2021 02:20:47 GMT. Release file on server was last modified Thu, 01 Feb 2024 18:40:48 GMT.
teslamate-teslamate-1  | 2024-02-20 10:39:38.614 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "socket closed" (3143.901 ms)
teslamate-teslamate-1  | 2024-02-20 10:39:38.614 [warning] Address not found: "socket closed"
teslamate-teslamate-1  | 2024-02-20 10:39:39.853 [info] Tzdata has updated the release from 2021e to 2024a
teslamate-teslamate-1  | 2024-02-20 10:39:43.243 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "socket closed" (3125.010 ms)
teslamate-teslamate-1  | 2024-02-20 10:39:43.244 [warning] Address not found: "socket closed"
teslamate-teslamate-1  | 2024-02-20 10:39:43.244 [info] OK
teslamate-teslamate-1  | 2024-02-20 10:39:43.244 [info] Repairing drive #1787 ...
teslamate-teslamate-1  | 2024-02-20 10:39:47.885 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "socket closed" (3137.379 ms)
teslamate-teslamate-1  | 2024-02-20 10:39:47.885 [warning] Address not found: "socket closed"
teslamate-teslamate-1  | 2024-02-20 10:39:52.531 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "socket closed" (3143.116 ms)
teslamate-teslamate-1  | 2024-02-20 10:39:52.531 [warning] Address not found: "socket closed"
teslamate-teslamate-1  | 2024-02-20 10:39:52.532 [info] OK
teslamate-teslamate-1  | 2024-02-20 10:39:52.532 [info] Repairing drive #1786 ...
teslamate-teslamate-1  | 2024-02-20 10:39:57.168 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "socket closed" (3132.809 ms)
teslamate-teslamate-1  | 2024-02-20 10:39:57.168 [warning] Address not found: "socket closed"
teslamate-teslamate-1  | 2024-02-20 10:40:00.445 [info] GET /settings
teslamate-teslamate-1  | 2024-02-20 10:40:00.472 [info] Sent 200 in 27ms
teslamate-teslamate-1  | 2024-02-20 10:40:01.802 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "socket closed" (3130.883 ms)
teslamate-teslamate-1  | 2024-02-20 10:40:01.802 [warning] Address not found: "socket closed"
teslamate-teslamate-1  | 2024-02-20 10:40:01.802 [info] OK
teslamate-teslamate-1  | 2024-02-20 10:40:01.802 [info] Repairing drive #1785 ...
teslamate-teslamate-1  | 2024-02-20 10:40:01.802 [info] OK
teslamate-teslamate-1  | 2024-02-20 10:40:01.802 [info] Repairing drive #1784 ...
teslamate-teslamate-1  | 2024-02-20 10:40:01.803 [info] OK
teslamate-teslamate-1  | 2024-02-20 10:40:01.803 [info] Repairing drive #1783 ...
teslamate-teslamate-1  | 2024-02-20 10:40:01.803 [info] OK
teslamate-teslamate-1  | 2024-02-20 10:40:01.803 [info] Repairing drive #1782 ...
teslamate-teslamate-1  | 2024-02-20 10:40:01.803 [info] OK
teslamate-teslamate-1  | 2024-02-20 10:40:01.803 [info] Repairing drive #1781 ...
teslamate-teslamate-1  | 2024-02-20 10:40:01.803 [info] OK
teslamate-teslamate-1  | 2024-02-20 10:40:01.809 [info] Repairing charging process #204 ...
teslamate-teslamate-1  | 2024-02-20 10:40:01.809 [info] OK
teslamate-teslamate-1  | 2024-02-20 10:40:05.314 [info] GET /
teslamate-teslamate-1  | 2024-02-20 10:40:05.320 [info] Sent 200 in 6ms
teslamate-teslamate-1  | 2024-02-20 10:40:19.062 [info] GET /settings
teslamate-teslamate-1  | 2024-02-20 10:40:19.073 [info] Sent 200 in 11ms
teslamate-teslamate-1  | 2024-02-20 10:40:33.050 [notice]     :alarm_handler: {:set, {:addr_fuse, :fuse_blown}}
teslamate-teslamate-1  | 2024-02-20 10:42:44.089 [info] GET /drive/1788/gpx
teslamate-teslamate-1  | 2024-02-20 10:42:44.262 [info] Sent 200 in 172ms

Screenshots

Additional data
No response
Type of installation
Docker
Version
v1.28.3

Sorry, after checking the logs, I found that it is caused by the proxy. Through my proxy, openstreemap could not be reached. Now I changed the proxy, the issue has been fixed.

Sorry, after checking the logs, I found that it is caused by the proxy. Through my proxy, openstreemap could not be reached. Now I changed the proxy, the issue has been fixed.

Sorry to bother you, but how are you able to have the teslamate traffic going through your proxy? I add the following line (httpProxy=http://<IP_ADDRESS>:8080) to the teslamate service block in the docker-compose file but to no vail. Will you share with me your configurations? Thank you.

Sorry, after checking the logs, I found that it is caused by the proxy. Through my proxy, openstreemap could not be reached. Now I changed the proxy, the issue has been fixed.

Sorry to bother you, but how are you able to have the teslamate traffic going through your proxy? I add the following line (httpProxy=http://<IP_ADDRESS>:8080) to the teslamate service block in the docker-compose file but to no vail. Will you share with me your configurations? Thank you.

I put the teslamate server in my home and I have 2 gateways, 1 for normal use, 1 for proxy (to pass the great fire wall). Normally you could use openwrt to do this at home.

Sorry, after checking the logs, I found that it is caused by the proxy. Through my proxy, openstreemap could not be reached. Now I changed the proxy, the issue has been fixed.

Sorry to bother you, but how are you able to have the teslamate traffic going through your proxy? I add the following line (httpProxy=http://<IP_ADDRESS>:8080) to the teslamate service block in the docker-compose file but to no vail. Will you share with me your configurations? Thank you.

I put the teslamate server in my home and I have 2 gateways, 1 for normal use, 1 for proxy (to pass the great fire wall). Normally you could use openwrt to do this at home.

Got. Thank you very much!


policies.md

/kind documentation  Some Typos Fixed in policies.md

@kamleshjoshi8102 Can you please rebase and address the statements in the PR review? If we don't see activity soon we will close this request out due to inactivity.

Thank you for your contributions!

My Pleasure.!


Add Zoom links

[x] Add links to Subject
[x] Add links to Firestore
[x] Add links to Period.getInfo
[x] Make links selectable
[x] Make links clickable

Fixed with 0991f0d979e65a16668ae9be25573d719291ca96


uif-contextual-menu - address issues introduced by the angular 1.4.9

Recent angular update introduces additional checks on mandatory directives' properties. This broke tests for contextual menu and needs to be addressed.

merged => #140


Why can't I change the color of the columns by clicking?

Expected behavior
By clicking on one of the columns, all but not active should change color.
Current behavior
Now everyone is changing the color.
Reproducible sample
https://codesandbox.io/s/angry-hodgkin-7hmn6?file=/App.tsx
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
4.0.1
Browser name and version
Chrome
Link to your project
No response

This is currently working as expected with your code. You shouldn't set the options onto the models directly. I think you should change the options on the dataset config object directly. To specify the colours for individual bars you can either use an array or a function.
I'm not sure what the best way to configure this in react-chartjs-2 is.

Closing as unresponsive


Correct query for many to one relation.

Hello there. If have the following two tables
create table levinsapp.trade
(
	date timestamp not null,
	venue varchar(50) not null,
	id serial not null
		constraint trade_id_pk
			primary key
)
;

and
create table levinsapp.delta
(
	humanamount integer,
	currency char(3),
	amount integer,
	id serial not null
		constraint delta_id_pk
			primary key,
	trade_id integer
)
;

I now want to send a GraphQL query that gets me all trades and for each trade an array with all the deltas in one go. So something like this join:
SELECT *
FROM levinsapp.trade
LEFT OUTER JOIN levinsapp.delta
ON trade.id=delta.trade_id;

I understand that a one to many relation can automagically be resolved (if the trades would have a reference to one delta and one delta could be referenced multiple times) but I have the opposite scenario. How would a query look like? Thanks a lot.
Disclaimer: I am learning Postgresql and GraphQL at the same time. A somewhat steep learning curve.

Just saw that I forgot the reference. Will reopen later if I still have issues.

Works both ways. I finally used this query:
{
  allTrades {
    edges {
    	node {
        date,
        Deltas: deltasByTradeId {
          edges {
            node {
		humanamount
            }
          }
        }
      }
    }
  }
}


Added my developer file

@ardagokce Please include a link to the issue this is for, by using the hashtag+id for example, #1


Exception ("Could not find an appropriate analysis package") on OSX10.13 Guest VM

I ran a .dmg file from the Objective-See ( KeRanger->Transmission.dmg) website and I run into the error
Exception ("Could not find an appropriate analysis package") on the guest machine.
Any help ?

Can you post the full content of logs including analysis.log and cuckoo.log?