Microsoft.AspNetCore.SignalR.Client is not working with Xamarin.Mac application

Describe the bug
Cannot build HubConnection due to exception:
System.MissingMethodException: Method not found: int System.Text.Encodings.Web.TextEncoder.FindFirstCharacterToEncodeUtf8(System.ReadOnlySpan`1<byte>)
  at System.Text.Json.JsonEncodedText.EncodeHelper (System.ReadOnlySpan`1[T] utf8Value, System.Text.Encodings.Web.JavaScriptEncoder encoder) [0x00000] in <90ed82de44024ca1bc6b68be1a1a7e32>:0
  at System.Text.Json.JsonEncodedText.TranscodeAndEncode (System.ReadOnlySpan`1[T] value, System.Text.Encodings.Web.JavaScriptEncoder encoder) [0x00033] in <90ed82de44024ca1bc6b68be1a1a7e32>:0
  at System.Text.Json.JsonEncodedText.Encode (System.ReadOnlySpan`1[T] value, System.Text.Encodings.Web.JavaScriptEncoder encoder) [0x00014] in <90ed82de44024ca1bc6b68be1a1a7e32>:0
  at System.Text.Json.JsonEncodedText.Encode (System.String value, System.Text.Encodings.Web.JavaScriptEncoder encoder) [0x00014] in <90ed82de44024ca1bc6b68be1a1a7e32>:0
  at Microsoft.AspNetCore.SignalR.Protocol.JsonHubProtocol..cctor () [0x00000] in <98d61c04d1b44672b33d354f73c63eae>:0

To Reproduce

Create a new Xamarin.Mac application with Target Framework = Xamarin.Mac 2.0 (Modern)
Add Microsoft.AspNetCore.SignalR.Client NuGet package
Add this code to AppDelegate:

using AppKit;
using Foundation;
using Microsoft.AspNetCore.SignalR.Client;

namespace SampleApp
{
    [Register("AppDelegate")]
    public class AppDelegate : NSApplicationDelegate
    {
        public override void DidFinishLaunching(NSNotification notification)
        {
            var connection = new HubConnectionBuilder()
                .WithUrl("http://localhost:5000/")
                .Build();
        }
    }
}

Further technical details
.NET Core version:
.NET Core SDK (reflecting any global.json):
 Version:   3.1.100-preview3-014645
 Commit:    b32d27f4b3

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.14
 OS Platform: Darwin
 RID:         osx.10.14-x64
 Base Path:   /usr/local/share/dotnet/sdk/3.1.100-preview3-014645/

Host (useful for support):
  Version: 3.1.0-preview3.19553.2
  Commit:  13f35c3d86

.NET Core SDKs installed:
  3.0.100 [/usr/local/share/dotnet/sdk]
  3.1.100-preview3-014645 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.0-preview3.19555.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.0-preview3.19553.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

VS for Mac version: Visual Studio Enterprise 2019 for Mac Version 8.3.10 (build 2)
Xamarin.Mac version: Xamarin.Mac <IP_ADDRESS> (d16-3 / 08809f5b)
Microsoft.AspNetCore.SignalR.Client NuGet version: 3.1.0

Looks like System.Text.Json is not working in Xamarin.Mac? @ahsonkhan @marek-safar any thoughts from your respective sides here?
(Since it came up in Triage, the .NET Core version info isn't necessarily relevant here because this is a Xamarin.Mac app using the SignalR Client via NuGet. Just in case any other viewers of this issue get worried by the "preview3" branding references)

I'm going to move this to dotnet/runtime for now. It looks like this is an issue in System.Text.Json on Xamarin.Mac and not specific to ASP.NET Core SignalR


Demo Playback Issue - Can't Focus on One Player

What problem is this solving
Hello Akiver,
I recently noticed an issue when watching demos by rounds. The camera often fails to focus on me and instead shifts to other players. For example, in some rounds where I die, the console shows spec_lock_to_accountid "my steam ID". However, in other rounds, it shows spec_lock_to_accountid 0, causing me to lose my view.
Is this due to the latest CS2 update? I believe this is a valuable feature from CSGO that should be retained in the CS2 demo manager.
Thank you, and all the best!
Proposed solution
Is there any way to solve this problem so the camera can stay focused on the selected player?
Describe alternatives you've considered
No response

Hi,
This is probably the same issue as https://github.com/akiver/cs-demo-manager/issues/775.
It could be a CS2 bug and as a workaround you can use a secondary Steam account (see #775).

However, in other rounds, it shows spec_lock_to_accountid 0, causing me to lose my view.

It happens when you watch players highlights?
Is it a valve demo? It has been reported that it happens only with non valve demos.
Could you upload an affected demo and steps to reproduce the issue

Thanks

Hi Akiver,
Just a heads up, I'm still experiencing issues with maintaining focus on a single player; it remains random. I've also tried watching some HLTV and FACEIT demos (professional demos, not mine). Also, this issue didn't occur before the last update. Could it be related to this update: feat(playback): allow focusing camera on other players after initial focus https://github.com/akiver/cs-demo-manager/issues/813?
Sometimes, during certain rounds, I can switch to another player's view even though I've selected to watch just one player's view.
Thanks!

Sometimes, during certain rounds, I can switch to another player's view even though I've selected to watch just one player's view.

Since v3.5.3 the camera is unlocked a few seconds after calling spec_lock_to_accountid xxx.
It allows users to focus on other players if they want to and mimic the CSGO behavior (that's the goal of https://github.com/akiver/cs-demo-manager/issues/813).

Closing for https://github.com/akiver/cs-demo-manager/issues/775


New dataset: Sudan Blue Nile CEO 2020

Add Sudan Blue Nile CEO 2020 data

Reset the dataset.dvc file to ensure the new split is created. See updated instructions here: https://github.com/nasaharvest/crop-mask/wiki/3.-Adding-labeled-data

Will approve one all processing is done


Can't copy or move shortcuts

Description
It doesn't copy shortcuts when trying.
Steps To Reproduce

Create a short cut on file
Copy or cut shortcut
Go to new directory
Paste shortcut
See it doesn't. (if there a previous copied file it pastes that instead)

Expected behavior
Should copy short cut
Files Version
2.0.12
Windows Version
10.0.19043.1202
Relevant Assets
debug.log
debug_fulltrust.log

Broke in #6028

This issue should be resolved with #6109.


Emmet selection in CDATA

Issue Type: Bug
Selecting a section of text within CDATA in XML leads to the entire CDATA content being selected upon Wrap with Abbreviation.
VS Code version: Code 1.55.2 (3c4e3df9e89829dce27b7b5c24508306b151f30d, 2021-04-13T09:37:00.942Z)
OS version: Windows_NT ia32 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (8 x 1896)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.86GB (5.64GB free)

Process Argv
--folder-uri file:///c%3A/Brightwave/Bitbucket/kpg284 --crash-reporter-id 63fdc12f-ac50-49e9-aba4-73f222b47484

Screen Reader
no

VM
0%

Extensions (12)

Extension
Author (truncated)
Version

bracket-pair-colorizer
Coe
1.0.61

xml
Dot
2.5.1

auto-close-tag
for
0.5.10

beautify
Hoo
1.5.0

vscode-peacock
joh
3.9.1

open-all-files
log
0.0.8

debugger-for-chrome
msj
4.12.12

debugger-for-edge
msj
1.0.15

copy-file-name
nem
1.2.0

synthwave-vscode
Rob
0.1.8

vscode-multiclip
sle
0.1.5

open-in-browser
tec
2.0.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt678:30270856
pythonvspyt602cf:30294773
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvsnew554cf:30291488
pythontb:30283811
pythonvspyt551cf:30291415
vspre833:30267464
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30286553

I'm probably misunderstanding what you're doing, but here's a screencap showing how I wasn't able to reproduce your issue:

I'm wondering if you can attach more specific repro steps, or record a screencap (e.g. using https://gifcap.dev)?

Ok, I reproduced your issue in the following case:

Add the line <![CDATA[<message>sample text</message>]]> to an XML file.
Place the cursor on the opening message tag.
Run the "Emmet: Wrap with Abbreviation" command.
🐛 The entire CDATA node is selected.

Is this the issue you're seeing?

Hello,
Here are a couple of screengrabs to illustrate:
@.***D74326.E4F21E90]
…but Wrap with Abbreviation now selects the whole CDATA’d content:
@.***D74326.E4F21E90]
Fairly sure this is a new thing…
Hope you can help!
Cheers,
Dan
From: Raymond Zhao @.>
Sent: 06 May 2021 22:38
To: microsoft/vscode @.>
Cc: Bibby, Dan (Capita Learning) @.>; Author @.>
Subject: Re: [microsoft/vscode] Emmet selection in CDATA (#123136)
Ok, I reproduced your issue in the following case:

Add the line <message>sample text</message> to an XML file.
Place the cursor on the opening message tag.
Run the "Emmet: Wrap with Abbreviation" command.
🐛 The entire CDATA node is selected.

Is this the issue you're seeing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/123136#issuecomment-833885141, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AT7EB2G3KSISCFVGL5VE2NLTMMD2ZANCNFSM44HEFVEA.
This email is security checked and subject to the disclaimer on web-page: https://www.capita.com/email-disclaimer.aspx

Hey sure, so for example:

Lorem

Lorem [HIGHLIGHT START HERE]Text to select[HIGHLIGHT END HERE]

Lorem

Then Emmet: Wrap with Abbreviation will modify the highlighted area to:

        [HIGHLIGHT START HERE]

Lorem

Lorem Text to select

Lorem

[HIGHLIGHT END HERE]

Which is super annoying!
Any insight would be most appreciated!
Cheers,
Dan
From: Raymond Zhao @.>
Sent: 07 May 2021 15:48
To: microsoft/vscode @.>
Cc: Bibby, Dan (Capita Learning) @.>; Author @.>
Subject: Re: [microsoft/vscode] Emmet selection in CDATA (#123136)
I'm unable to see the screengrabs; I think they got filtered out.
Can you paste specific examples of snippets and cursor/selection positions that cause the bug for you?
For example,
<m|essage>sample text</message> results in the entire CDATA being selected for me, whereas
|<message>|sample text</message>, or selecting the entire opening tag, is fine.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/123136#issuecomment-834474498, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AT7EB2DJJMELM3YLJZ33B5DTMP4RDANCNFSM44HEFVEA.
Click herehttps://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ== to report this email as spam.
This email is security checked and subject to the disclaimer on web-page: https://www.capita.com/email-disclaimer.aspx

Verifier: see https://github.com/microsoft/vscode/issues/123136#issuecomment-842173371


Add a L0 fits for other TM using GenericProduct

Tries to create fits files based on the parameter only works for simple TM e.g TM(5,x)

Codecov Report

Merging #128 (08e38df) into master (4b8832d) will decrease coverage by 1.32%.
The diff coverage is 25.25%.

@@            Coverage Diff             @@
##           master     #128      +/-   ##
==========================================
- Coverage   81.44%   80.11%   -1.33%
==========================================
  Files          47       47
  Lines        4101     4185      +84
==========================================
+ Hits         3340     3353      +13
- Misses        761      832      +71

Impacted Files
Coverage Δ

stixcore/processing/LBtoL0.py
17.56% <0.00%> (ø)

stixcore/products/product.py
59.60% <14.45%> (-22.01%)
:arrow_down:

stixcore/io/fits/processors.py
76.03% <100.00%> (+0.33%)
:arrow_up:

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 4b8832d...08e38df. Read the comment docs.


O365 Opening Hours Synchronization

Supports syncing opening hours from Outlook Calendar.
Opening hours for resources that are linked to an outlook calendar are
managed by creating meetings called "Varattavissa Varaamo" in Outlook
calendar.

Consider moving keystring "Varattavissa Varaamo" to easily configurable location. For instance through django admin panel. Also key strings should be constants

@aceViilee Would it be OK to make it configurable through the .env file? I don't think it is something we will be changing a lot.

Consider moving keystring "Varattavissa Varaamo" to easily configurable location. For instance through django admin panel. Also key strings should be constants

@aceViilee Would it be OK to make it configurable through the .env file? I don't think it is something we will be changing a lot.

.env file is ok. Logic can be rewritten at some point, but as of now ok


Truncated is missing

As can be seen from the code below in labelImg.py we can't select Truncated as an option only we can select difficult *

*But this issues is not platform dependent!

OS: MAC
PyQt version: Qt5 + python3.6

Related issues : #102 , #206


Source request: Rule34comic

Source name
Rule 34 Comic
Source link
https://rule34comic.party/
Source language
English
Other details
18+/NSFW=yes
Seems like a relatively straightforward site. site loads without JS, and while images don't display without JS, image urls are sent in the HTML in img tags which are just class="hidden"
Acknowledgements

[X] I have checked that the extension does not already exist by searching the extension listing and verified it does not appear there.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a meaningful title with the source name.
[X] I will fill out all of the requested information in this form.

Seems like a relatively straightforward site.

This is the default and not particularly noteworthy. Combined with the lack of contributors there's around ~3 extensions that doesn't use a well-known theme that gets added monthly.
Not to say it won't be added, but rather to keep your expectations in check.


Upgarade tokio & async-lock

Upgrades:
async-lock
tokio
Description
Please include a summary of the changes and the related issue. Please also
include relevant motivation and context.
Fixes # (issue)
Type of change
Please delete options that aren't relevant.

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

How Has This Been Tested?
Please also list any relevant details for your test configuration
Checklist

[x] Updated documentation if needed
[x] Tests added/amended
[x] bazel test //...  passes locally
[x] PR is contained in a single commit, using git amend see some docs

This change is

[target.aarch64-pc-windows-msvc]
rustflags = [
"-C", "target-feature=+crt-static", # Static CRT for 64-bit ARM Windows
"-C", "link-arg=/NODEFAULTLIB:libcmt" # Avoid automatic dynamic CRT linking
]
[target.x86_64-pc-windows-msvc]
rustflags = [
"-C", "target-feature=+crt-static", # Static CRT for 64-bit x86 Windows
"-C", "link-arg=/NODEFAULTLIB:libcmt" # Avoid automatic dynamic CRT linking
]

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


Issue with VSCode not picking up methods.

From @DanJ210 on June 16, 2017 15:27

VSCode Version: Code 1.13.1 (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:21:47.485Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions:

Extension
Author
Version

html-snippets
abusaidm
0.1.0

npm-intellisense
christian-kohler
1.3.0

vscode-eslint
dbaeumer
1.2.11

githistory
donjayamanne
0.2.0

jquerysnippets
donjayamanne
0.0.1

python
donjayamanne
0.6.5

tslint
eg2
0.15.0

vscode-npm-script
eg2
0.2.0

php-debug
felixfbecker
1.10.0

php-intellisense
felixfbecker
1.3.0

php-pack
felixfbecker
1.0.1

vscode-npm
fknop
3.3.0

auto-close-tag
formulahendry
0.4.2

auto-rename-tag
formulahendry
0.0.12

code-runner
formulahendry
0.6.20

docthis
joelday
0.4.4

format-php
Kasik96
1.1.2

mssql
ms-mssql
1.0.0

cpptools
ms-vscode
0.11.4

csharp
ms-vscode
1.10.0

PowerShell
ms-vscode
1.3.2

debugger-for-edge
msjsdiag
0.4.1

vscode-docker
PeterJausovec
0.0.16

vscode-icons
robertohuertasm
7.9.0

addDocComments
stevencl
0.0.8

theme-tinaciousdesign
tinaciousdesign
0.2.6

JavaScriptSnippets
xabikos
1.4.0

html-css-class-completion
Zignd
1.7.0

Steps to Reproduce:

Very hard to reporoduce. I'm using a repository interface and one of the methods was telling me it wasn't found nor would intellisense find it even though it debugs without issue. In VS2017 I see no error at all and it does find the method with intellisense as well. I took screenshots to show... First shows the error method in question. Second shows when I selected the error and typed 'CTRL+.' the VSCode suggestion was to generate the method in the interface so I clicked it and the error then changed to 'You already have a method with the exact same name and parameters' and the screenshot shows the method I had declared and the new one VSCode declared which are the exact same things...

So after that, deleting one of them took the error away in the original file but I still feel like you guys/girls should know about this. Hope it helps.

Copied from original issue: Microsoft/vscode#28898

Unable to reproduce this with the current release.


Investigate how grayscale affects quality of text recognition with tesseract ocr

It is assumed that converting image to grayscale improve recognition quality of tesseract. need to do small research on this assumption.

Converting an image to grayscale does not greatly improve OCR results. It is necessary to conduct research with improved image pre-processing and look for new ways to find the necessary records.


Update .NET 8 images to support preview 7

Closing this as done.
No changes are required as new releases become available. Going through the pipeline/build process should be enough to pick up the latest available previews/RCs


What I'm Looking for in Manas

I was asked to share some thoughts on what I would like out of Manas. Hopefully this helps.

Number 1 is PERFORMANCE. As a rust server, Manas has the potential to blow everything else out of the water. Seeing some performance tests and how it scales based on number of requests would be awesome.
Easy configurability: This will come with maturity, but I'd love to be able to fine tune many options including whether or not it's deployed with an IDP.
Some architecture considerations. CSS and ESS both have some architectural problems that prevent it from doing authenticated search (a feature that I would LOVE to have). I'd love to discuss this with you if you have the time.
Lack of bugs: This will just come with time as well. I'll try to test apps I build on Manas too to see if I encounter bugs
Shardability: When I can't scale up, I want to scale out. Can we run multiple servers of Manas as the same instance?
ISO 27001 compliance: If this server had all the technical requirements under ISO 27001, so that a client of mine just needs to worry about the organizational requirements, I would pick Manas over any other server in an instant.

Thanks a lot!.

Number 1 is PERFORMANCE:
Indeed it is priority. Note that, as storage server is io intensive than computation intensive, much of the performance story depends on how efficiently it translates resource operations to backend operations. Manas was designed to take full advantage of backend capabilities. For eg.  it uses naive range request capability of backends when supported. It also reuses list metadata from object stores. Thus container rep can be computed from 1 request instead of 1 + n requests in case of fs backend. Many such optimal usage patterns. And architecture supports to add any augmented indices as well.

Easy configurability: Soon multi pod provisioning, notifications, etc are landing. Then the proper config schema will be finalized. There is a plan to create an interactive config generator too.

Authenticated searches:
Solid protocol currently doesn't standardize a query interface. TPF, QPF support provided by ESS is also global, and multi tenant. For an app i am building, this is also a consideration. I am actively exploring the space. See also: https://github.com/Telicent-io/public-rdf-abac
Lack of bugs:
Manas is written in a type driven way following Ghost of departed proofs paradigm. Thus ** a lot** many bug possibilities are , as invalid states are made not representable in rust. Along with that rigorous test suite is in progress.

Shardability:
Yes, horizontal scalability is project's stated aim. Architecture took lot of care to made that possible. Once notifications support is landed, a proper guide, and devop helpers will be created.

It will be improving very much regularly.
Along with that, your apps can also be packaged as native apps. Tauri support will be landed this week.
Thanks for feedback.


Fix listing reports

All

[x] Fix N+1 problem in listing reports
[x] Hide edit/delete/copy link if user does not own the report

Reports page (/reports)

[x] Remove set_reports and set_search_word. It needs only index action
[x] Fetch 25, which was default, reports in index and search. 30 reports in index or 15 reports in search was fetched before. I just unified them.
[x] Filter reports by a practice even if there is a search word

Before

After

Practice page (/practices/xxxx)

[x] Remove 全てを見る link. The page has already fetched all reports
[x] Replace チュートリアル with プラクティス
[x] Sort reports by updated_at

Before

After

Sorry, this PR is a little big..

@rono23 Looks good!
I wonder if pay some money to you. 🤔


RE: player_api ?

More just a thought for discussion of the mt-mods team.
the player_api is just about integral to any basic game which someone may wish to create which revolves around having some form of 3d in game avatar - I'm being very general there :).
At the moment the player_api mod is bound/stuck with the mtg game which is currently under a maintenance only fix status. Numerous people (myself included) have tried to make changes to the base mtg player model which results in a bit of dependency hell when it comes to working out which other mods support which features. Not at all suggesting extra animations be added to player_api but more basic run of the mill items - Bell07 had a go at merging all base characters into an updated player_api but then hit a wall when MTG got placed into maintenance only mode:

Support for the MC 1.8 skin format (essentially double layer skin which gives you that extra layer to add hair whisps or clothing pieces too - skinsdb currently adds this but it would seem to belong in the base player_api as an option.

I know 3 pixel wide arms have also been discussed but not sure anyone has progressed anything not sure if part of that might not be because player_api is stuck in maintenance only mode?

Some as yet unforeseen feature could come along in the base engine and it would not be possible to add new functionality to the player_api mod to make use of that, at least not in a centralised semi-coordinated way.

Just sort of flagging this issue here as I don't know where else to note it, just seems like player_api is fairly important mod but there's no real way for anyone to feed improvements into the mod now. Might be out of scope for the mt-mods team but as mentioned above player_api just seems a little stuck in development limbo at the moment. MTG could easily pickup new versions of player_api in the future if it continues to be distributed with MT
@Bell07 - Just tagging you as I know you have an interest in this space as well :)

not mentioned here, player_api's licensing issue, it is licensed LGPLv2.1+ which is a viral license, forcing devs to use its license or higher, instead of something like mit, bsd, etc which is better for imbedding in other projects as it doesnt infect the project

not mentioned here, player_api's licensing issue, it is licensed LGPLv2.1+ which is a viral license, forcing devs to use its license or higher, instead of something like mit, bsd, etc which is better for imbedding in other projects as it doesnt infect the project

This is in the license conditions:

c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License.

I'm not a lawyer, does this mean if you embed this, for example, as a submodule in your game that your game has to be licensed under the same license too? :thinking:
In any case: i don't think anyone would be opposed to fork that under the mt-mods umbrella :+1:

Didn't even think of the licence issue very good point wsor4035. BuckarooBanzay would clause 5 in LGPLv2.1 be applicable in this case ie player_api is referenced as a library as it's not compiled as part of the exe?
Could C55 agree to change the licence terms for the code to say MIT or would we need all contributors to agree? I have no clue how that works....maybe found this? - https://github.com/PHPOffice/PhpSpreadsheet/issues/140
Either way it would be nice to get it under the mt-mods umbrella :)

For reference: my work is at https://github.com/bell07/minetest-player_api_modpack. Basically I enhanced the player_api for common skinning tasks, (Skin definition including per-player model, skins-list, and skins modifier API) to allow all skin related mods work proper together in a compatible way. The repo contains mods I ported to the new enhancements and removed all "if skinmod1, elseif skinmod2..." hacks.
MC 1.8 skin format is optional in mod multiskin_model, but required for 3d_armor and clothing.
I archived the work since https://github.com/minetest/minetest_game/pull/2122 was rejected with no reason and another PR https://github.com/minetest/minetest_game/commit/6623dec5674c4738aaa623783bf413a581c74233 was merged, and I lost motivation to update my fork.

NAL, but if your linking player api as a submodule into your game, the game repo itself for example could be MIT, but the package if listed on cdb would have to be lgplv2.1+ or higher since that actually includes it.

Package license requirement is not really that clear and some say it has to do with what would be seen as linking while most do not see any problem with compiled packages (like CDB or any other installers that include software with all libraries).
https://www.gnu.org/licenses/gpl-faq.en.html#LGPLStaticVsDynamic (there meaning of "linking" is what causes troubles with packaging script-like languages that you wont normally compile into object or binary form and that's what makes it controversial)
Packaging itself and license requirements for package is controversial topic, even leading Linux distribution projects cannot come to agreement on that issue with some open source licenses but I think most read it as non issue when it comes to combining with LGPLv2+.

NAL, but if your linking player api as a submodule into your game, the game repo itself for example could be MIT, but the package if listed on cdb would have to be lgplv2.1+ or higher since that actually includes it.

Found this stackoverflow question: https://softwareengineering.stackexchange.com/questions/240633/is-licensing-an-issue-for-git-submodules
doesn't look like linking (in the sense of hyperlinking) or using as a submodule should be a license issue

using a mod and even overriding its behavior doesn't violate the AGPL which is much more restrictive than LGPL. those who repeat that are victims of google propaganda.


displayed image is bigger than it should be (scaled up when it shouldn't)

Describe the bug
I notice the displayed image appears to be scaled up, so the text on it becomes blurry, makes it very noticeable.
Native window, not web.
example code modified from examples/image
use eframe::egui;

fn main() -> Result<(), eframe::Error> {
    env_logger::init(); // Log to stderr (if you run with `RUST_LOG=debug`).
    let options = eframe::NativeOptions {
        viewport: egui::ViewportBuilder::default().with_inner_size([1600., 900.]),
        ..Default::default()
    };
    eframe::run_native(
        "Image Viewer",
        options,
        Box::new(|cc| {
            // This gives us image support:
            egui_extras::install_image_loaders(&cc.egui_ctx);
            Box::<MyApp>::default()
        }),
    )
}

#[derive(Default)]
struct MyApp {}

impl eframe::App for MyApp {
    fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
        let img = egui::Image::new("file:///path/to/test.png");
        egui::CentralPanel::default().show(ctx, |ui| {
            egui::ScrollArea::both().show(ui, |ui| {
                ui.add(img.fit_to_original_size(1.));
            });
        });
    }
}

Cargo.toml:
[package]
name = "asdf"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
eframe = "0.24.1"
egui_extras = { version = "0.24.1", features = ["all_loaders"] }
env_logger = "0.10.1"

[patch.crates-io]
egui = { git = "https://github.com/emilk/egui", branch = "master" }
# if you're using eframe:
eframe = { git = "https://github.com/emilk/egui", branch = "master" }

To Reproduce
Steps to reproduce the behavior:

prepare a not so big image so its easy to fit in one screen
use the above code to display
run

Expected behavior
image looks the same as being viewed by other normal image viewer like feh
Screenshots

I put them side by side so its obvious that its scaled up.
Desktop (please complete the following information):

OS: ArchLinux
Browser: Firefox, but not relevant here

Additional context
I feels like it is because I have setup my global display to be 112.5% in system display setting. If I pass fit_to_original_size(1./1.125) the image looks normal.

However I don't remember seeing this behavior in other image viewer I use.

This is intended behavior - the default image size in ui points is the same as its pixel size.
This is the behavior you want if zooming the UI with cmd+Plus should zoom every part of the UI equally, including images.
If you want to have one image pixel = one monitor pixel you'll have to manually set the image ui size to the image size in pixels divided by pixels_per_point


Grapvhiz native in Windows: JSON format not supported.

When using the GraphvizCmdLineEngine on Windows with a JSON as output, the following error appears:
Format: "json" not recognized. Use one of: bmp canon cmap cmapx cmapx_np dot emf emfplus eps fig gd gd2 gif gv imap imap_np ismap jpe jpeg jpg metafile pdf pic plain plain-ext png pov ps ps2 svg svgz tif tiff tk vml vmlz vrml wbmp xdot xdot1.2 xdot1.
=> It seems that the JSON output format is not supported on Windows machines.

Maybe updating dot could help.
But otherwise, what should happen other than an exception to be thrown?
Or does this break a test?

Indeed, there are tests that do not run on Windows.
Since now the native dot engine is used first, all the tests that use Format.JSON fail on Windows...
I have Graphviz 2.38 installed, which is the latest stable version if I'm correct :-/

For MacOS, there is 2.40.1 available 😁
I'm going to change the tests so that they use JS instead.


Feature request: [CLA consistency of inputs]

I think is good to keep some consistency with the inputs in optimizers. For example, the CLA optimizer needs np arrays as inputs while others can take pandas data frames. I think would help users to smooth their pipelines. For example, if one wants to estimate a covariance matrix from Risk models the output is a pandas dataframe. CLA would not accept this as input unless converted to an array.

@msh855
CLA works with dataframes – I've just tested the below
import yfinance as yf
import matplotlib.pyplot as plt
import pandas as pd
from pypfopt import risk_models, expected_returns, CLA
import numpy as np

tickers = ["MSFT", "AMZN", "KO", "MA", "COST"]
prices = yf.download(tickers, period="max")["Adj Close"].dropna(how="all")

mu = expected_returns.mean_historical_return(prices)
S = risk_models.sample_cov(prices)

cla = CLA(mu, S)
cla.max_sharpe()

> OrderedDict([('AMZN', 0.11612112215328058),
             ('COST', 1.4675421303524718e-17),
             ('KO', 0.13420360217688765),
             ('MA', 0.5242791383646173),
             ('MSFT', 0.22539613730521454)])

Best,
Robert

Yes, my mistake sorry. The problem was that I passed a vector of returns, not the mean returns.


it is not available on xcode 6.3.2

it is not available on xcode 6.3.2.

I've forked and fixed it. https://github.com/cjcoax/CodePilot. Later I'll do a pull request.

@Ewenlong03 Should be ok now. Fixed in #39 :+1:  thanks for reporting!


Quick start actions don't follow the standard

The Start, Restart, and Continue buttons on the bottom of the quick start cards are located in different places than the buttons on typical quick starts in other programs.
The existing buttons:

The expected placement for the buttons:

This issue has been resolved


the custom size of column width not working

The following width setup with the latest version isn't working as expected.
    gb.configure_default_column(suppressMovable=True, filter=False, width=30)

BTW: I saw there's an auto column size feature here: https://github.com/PablocFonseca/streamlit-aggrid/blob/main/st_aggrid/frontend/src/AgGrid.tsx#L270-L276 (not sure whether it is relevant.)

Indeed it was the auto size feature.
I'm changing the autoSize behaviour to be less confusing. Meanwhile you may use minWidth and maxWidth as a workaround.

@PablocFonseca But the workaround is at the expense of disabling freely-adjusted width in the UI.


Action sampling in random policy

In policies.jl, the action function calls rand(rng, action_space). Can we have it call rand(rng, action_space, a) instead. The action a is pre-allocated in this case, so the call is more efficient and is consistent with the rest of the calls to rand.

updated


mlx.core.array.sum crashes when dtype is int64

Ran into an issue with the sum function when using int64.
the following runs ok
import mlx.core as mx
y = mx.ones((70), dtype=mx.int32)
mx.sum(y)

the following crashes every time on my MacBook Pro M3 Pro / 18GB
import mlx.core as mx
y = mx.ones((70), dtype=mx.int64)
mx.sum(y)

with error message "libc++abi: terminating due to uncaught exception of type std::runtime_error: [Reduce::eval_gpu] Does not support int64"
can you confirm this is intended behaviour? or if it something that is planned for a future version?

Yes, int64 is not yet supported in our reductions, that's expected. It's definitely possible to add, but not the highest priority at the moment. Happy to take a contribution for this though if someone is interested in adding it!

@awni we can close this now.

Thanks @vj-krish !!

Fixed in #569.


KeyError: 'USE_ISTIO' when using Microk8s

Describe the bug
Wizard at /install-istio throws KeyError: 'USE_ISTIO' error.
To Reproduce
Steps to reproduce the behavior:

Run GUI app with debug mode
Choose Install or Generate settings
Follow the wizards up to /install-istio (don't forget to choose MicroK8s as deployment architecture)
See error mentioned above after submitting the form

This error also thrown when using Minikube


Could not find any downloads that satisfy the requirement docker-registry-driver-gcs

Hello there,
I got :
$ pip install docker-registry-driver-gcs
Collecting docker-registry-driver-gcs
  Could not find any downloads that satisfy the requirement docker-registry-driver-gcs
  No distributions at all found for docker-registry-driver-gcs

I could fix this with :
sudo pip install https://github.com/dmp42/docker-registry-driver-gcs/archive/master.zip

This driver is deprecated.
Google took over maintenance of it: https://github.com/GoogleCloudPlatform/docker-registry-driver-gcs
I'm going to make that clear in the readme.

Yes I just saw that too lately.
You should delete it !
http://googlecloudplatform.blogspot.fr/2015/01/secure-hosting-of-private-Docker-repositories-in-Google-Cloud-Platform.html

I updated the README to reflect this - I would rather not delete it though, though definitely sending people to the google re-adopted version.
Thanks anyhow.
Best.


contributing.md out of date?

I'm trying to figure out how to build this repo in the dev branch. It seems the build and watch scripts have been removed from package.json. Is building no longer necessary? What should I run after a git pull? just npm install?
An update of contributing.md seems necessary.

Hey. Yes there is no longer any build step necessary. Just ensure node version is above 8.0.0 👻

Also PR welcome for updating contribution docs. Thanks for pointing to this.


BestQuote() fails upon bad response from a miner

It's possible that if a miner has been incorrectly configured, or the API becomes unavailable that BestQuote() will not fall back to working API and will fail.

Thanks @Fletch153
Feel free to submit a PR - I'll be circling back on this issue next week ;)

Cool thanks. I'll try to submit PRs where I can. In the meantime, I'll raise any issues I come across.


Use nsenter to launch kubelet

RE: https://github.com/kubernetes/kube-deploy/pull/214
I don't know what that PR is about, but it seems like it would affect us too.
This is another case where kube-deploy and kubernetes-anywhere are drifting...

Container isolation causes a couple of problems when running kubelet in container. e.g. persistent storage is not working in OpenStack, because Cinder drivers are missing in hyperkube container. In most deployments kubelet is installed as binary on host. In this PR I kind-of do the same by merging host file system with container file system. BTW: works surprisingly well

We might want to just use the debian  pacakges

Can this issue be closed?

Thanks for closing


docs: fix broken link in executor_tutorial/tutorial.rst

Description
Minor documentation fix. Link was broken in 9b012394eb793a38a4c0752766f3da991a255674
QC

[x] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[x] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

thanks!


Click on the image. Using standard syntax, clicking does not work

Click on the image. Using standard syntax, clicking does not work.
Like this link:
[![markdown](https://www.mdeditor.com/images/logos/markdown.png "markdown")](https://www.mdeditor.com/images/logos/markdown.png)

Hello @lanhuaguizha !
Most likely the reason is MovementMethod. Markwon applies one if it is missing, but sometimes it is not enough. Can you please try setting MovementMethod explicitly, like this (before applying markdown):
textView.setMovementMethod(LinkMovementMethod.getInstance());

final String md = "[![markdown](https://www.mdeditor.com/images/logos/markdown.png \"markdown\")](https://www.mdeditor.com/images/logos/markdown.png)";
final Markwon markwon = Markwon.builder(this)
        .usePlugin(ImagesPlugin.create())
        .build();
markwon.setMarkdown(textView, md);

Thank you very much. It worked


Unban me group

Unban me group in telegram @PHP_Telegram_Bot_Support

There must be a good reason why you got banned.
Also you didn't even care to give use your @username, we are not wizards.

There must be a good reason why you got banned.
Also you didn't even care to give use your @username, we are not wizards.

Asked a question about make poll in telegram
my username in telegram @daprdev

You're not on the banlist.
You might've been banned by Telegram itself for spamming.

You're were banned by bot for not completing captcha.
You will have one more try.

thanks for the unban


Using an enum in a Model

I am trying to save a Model that has an enum property assigned to a parameter/property of the Model. If I remove this enum logic the saving works fine, but when I try to add the enum logic it fails. I tried adding additional helpers to the Model as listed in #526 but that doesn't seem to resolve my issue.
The Model with its enum logic is here:
part 'ticket.g.dart';

enum Status {
  open,
  closed,
}

@HiveType(typeId: 10)
class Ticket extends HiveObject {
  @HiveField(0)
  final Geofence geofence;
  @HiveField(1)
  final BeaconsInRange beacons;
  @HiveField(2)
  final bool canEdit;
  @HiveField(3)
  final Status status;
  @HiveField(4)
  final String timeStarted;
  @HiveField(5)
  final String ticketId;
  @HiveField(6)
  final String deviceId;
  @HiveField(7)
  final String timeEnded;

  Ticket({
    @required this.geofence,
    @required this.beacons,
    @required this.status,
    @required this.ticketId,
    @required this.timeStarted,
    @required this.deviceId,
    this.canEdit,
    this.timeEnded,
  })  : assert(geofence != null),
        assert(beacons != null),
        assert(status != null),
        assert(ticketId != null),
        assert(deviceId != null),
        assert(timeStarted != null);

  @override
  String toString() => '${geofence.name}';

  String enumToString(Status value) {
    return value.toString().split('.').last;
  }

  Status stringToEnum(String value) {
    return <String, Status>{
      'open': Status.open,
      'closed': Status.closed,
    }[value];
  }
}

The error when saving is:
Unhandled Exception: HiveError: Cannot write, unknown type: Status. Did you forget to register an adapter?
What am I missing here, in order to save my enum?
Version

Platform: Android
Flutter version: 1.22.6
Hive version: ^1.4.4+1

If I remember correctly you need to also generated an adapter just as with another object

Hey @zachisit! To store it that way, you would have to create a HiveType for the  Status enum. Following the line of thought we had in the other issue, I'd say changing the type of the status to String and using the helper methods to convert to and from the Status enum would require less effort.
// Instead of
@HiveField(3)
final Status status;

// it would look like this
@HiveField(3)
final String status;

// Make `enumToString` an extension getter of Status:

extension StatusX on Status {
  String get valueAsString => toString().split('.').last;

  // Or as a function
  String asString() => toString().split('.').last;
}

// The instantiation of the class would look like this:
final ticket = Ticket(status: Status.open.valueAsString);
/*
  Or
  final ticket = Ticket(status: Status.closed.asString());
*/

Then to use the enum:
final ticket = Ticket(status: Status.closed.asString());
print(ticket.stringToEnum(ticket.status);

To remove a bit of the boilerplate, you could make status private and have a status getter that already does the toEnum  conversion:
class Ticket {
  Ticket({Status status}) : _status = status;

  String _status;

  // If you want to set it from outside of the constructor
  set status(Status value) => _status = value.valueAsString;

  // You can extract the logic to another method if the enum has more fields
  Status get status => _status == 'open' ? Status.open : Status.closed;
}

If build runner complains about the getter and setter, do the generation without them and add them later.
I haven't tested it with Hive but I'm pretty sure it works.
Sorry for the late reply


Is it possible to monitor UI changes?

I've got my extension appending a DOM element when a thread is opened, but I'm trying to have it be removed when the user exits the thread view, so if they go back to the inbox it should remove the DOM element. I've seen gmail.check.is_inside_email() and gmail.get.current_page() but these don't listen for UI page changes, and if possible I'd like to avoid using gmail.observe.register() - would appreciate if someone could point me in the right direction! Thanks!

I believe the simplest way to monitor this is to check when the URL query/hash changes.
That’s what I do in my extension.


Fix enabled status

This PR fixes a bug that caused the Ray::$enabled property not to be persisted across multiple creations of the Ray class.  As a result, Ray was sending data to the Ray app even when the class was "disabled" and should not have been attempting to send the payloads.

Thank you!


fix: change check_external_emergency_heartbeat false

Signed-off-by: Shumpei Wakabayashi<EMAIL_ADDRESS>Description
Because of this PR, if there is no ~/input/external_emergency_stop_heartbeat, the ego vehicle cannot engage.
Possible solutions with our current system are

set check_external_emergency_heartbeat: false
publish ros2 topic pub /api/external/set/command/remote/heartbeat tier4_external_api_msgs/msg/Heartbeat "{stamp: { sec: 0, nanosec: 0}}"

This PR adopts solution 1.
The reasons why check_external_emergency_heartbeat: false would be conceptually reasonable by default are as follows:

check_external_emergency_heartbeat: false means that the communication with remote controller is monitored on a regular basis, and since there is no such communication in AWSIM, it should be false.
check_external_emergency_heartbeat: false makes sense if you interpret the emergencies sent by RViz plug-ins as "internal" emergency stops.

Step to reproduce
You can easily reproduce this problem with the latest AWSIM.
Related links
TIER IV internal discussion 1
TIER IV internal discussion 2
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

If PR2155 is not urgent, how about revert once, resolve this issue, and then submit another PullRequest?

After discussing @.yukkysaito, we two agreed to set false.
However, we are thinking about changing this parameter name.
Let's discuss it on the new PR I will create.

I updated the parameter name to check_external_emergency_heartbeat.
Also, I updated this PR description about why this change is reasonable.

After merging this PR, I will cherry-pick https://github.com/autowarefoundation/autoware_launch/tree/galactic branch with https://github.com/autowarefoundation/autoware_launch/commit/ba52539bfdfca0ecf734510c95ccf12370705ec1 .

@yukkysaito  friendly ping


Adds Proof of Concept Module Test for New Testing API

Module Testing API Proof of Concept
This adds a super-basic test for KinematicsConfiguration. The test isn't really testing the module so much as showing off the new API introduced in #727.

@KipHamiltons It seems that the CI passed, does that mean that #736 is fixed?

@CMurtagh-LGTM i guess???? Seems good

The test passed! That means that the API is basically done. I will add a couple of tests for the API, but this test is a model for using the API.
This test is brittle and ugly and dumb because it just checks one value which is hardcoded, but that doesn't matter for now :sweat_smile:
Thank you @CMurtagh-LGTM for fixing filewatcher

BTW the failed CI is a segfault in director tests I haven't touched. This stuff passes 😄


Offer to Maintain

I'd be happy to take over maintenance of the package. I'm currently using this package in a production environment, so it's actually quite critical to my needs.

Sorry, @mootpointer took over. He just hasn't removed the notice yet.


w: Format time and get cmdline

This change allows w to display time in a similar way to the original procps w. Additionally, w now fetches the cmdline for each entry.
Later, the fetch_cmdline and possibly format_time functions could be seperated out into a shared library for future applications, such as ps or top.

nice, could you please add a test? thanks

nice, could you please add a test? thanks

No problem, I've added a unit test for each new function. I did this instead of testing the actual output, because it is bound to change in the future and the unit tests may be helpful if/when these function are moved into a different location.

Sure and thanks  but could you please add integration test in tests/ too? Thanks

Sure and thanks but could you please add integration test in tests/ too? Thanks

I went ahead and removed the unit tests and added integration tests into tests/ instead. It might be a good idea to treat them as public functions from the start and then move them into a library or separate file, when it is time.

Please keep the function tests in the same file.
Add tests on the binary like
test_no_header

Please keep the function tests in the same file. Add tests on the binary like test_no_header

I've put the unit tests where they should be and I've added an integration test in tests/ that checks the current output of w.


RIG is not set in the run directory

A few weeks ago when running rig, the working directory was set to the run directory, now rstudio starts in the home directory.
rstudio version:

I am not entirely sure what you mean. Maybe this is a duplicate of #134?

Hi gaborcsardi,

I am working in the directory {D:\Proyectos\GIT\R}, rstudio was previously started with this same directory. But now it starts in the home directory.

Bye "previously" previously, do you mean a previous version of rig, or a previous version of RStudio? I suspect the latter.

thanks, I just reinstalled version 2022.07 - Spotted Wakerobin and it works correctly. On the other hand, one of the interesting things about using version 2022.12 is: Highlight R function calls.

I fixed this on Windows, but so far could not find a way to set the working directory on macOS and Linux.

OK, now works on all OSes, with newer RStudio versions (>= 2023.06.0).


Great Work!!! Need clarification for calculating the R@1 for retrieval

Hi Authors,
Can you please clarify or provide the code for reproducing the number of Table 5.
I wanted the analyse the performance of the images tokens on retrieval head on [Img 0]----------------[IMG N]

Hi, for table 5, you can reproduce the results by using the VIST eval script from the Fromage code. You probably need to edit some of the model calls to be suitable for GILL, but it should be fairly similar. Hope that helps!


Don't hardcode requests version in dependencies

Don't pin the exact (and very, very old) version of the requests library
in requirements.txt. Pinning is something that is considered best
practice for applications, but not libraries that other code may depend
on. Don't put any upper bound on permitted versions, because user code
will want to use the latest possible version (and sixpack-py seems to
work with the current 2.6.0 version without issues). Making the
requirement be explicitly >=0.13.7 seems pointless given that version's
age, so just put "requests" there for now. Should an incompatibility
with some old version be found, this should be replaced with a >= test.
Fixes #5.

We definitely want limit the upper bound. If the API for requests 3.0 changes drastically (as it did in 1, and 2) we don't want to break the library. If you update this to pin to 2.6.x I can merge it in.

If the API for requests 3.0 changes drastically (as it did in 1, and 2) we don't want to break the library.

If being the key word. Neither v1 nor v2 broke sixpack-py. Case in point: You had it pinned at 0.13. Two years later, the very same sixpack-py code still works with the current 2.6 version. Don’t you think it proves your worry about fwd compatibility moot with abundance?
If a new version of requests introduces a non-trivial breakage that can’t be fixed trivially with a sixpack-py update, then it would be appropriate to upper-bound the version. Until then, the only effect is a negative one.

If you update this to pin to 2.6.x I can merge it in.

As I tried to explain above (apparently with little success), pinning library dependencies is a very bad practice that causes real problems. Case in point: this very PR and #5 are completely artificial headaches.
See what some prominent folks from Python community say on the subject: http://nvie.com/posts/pin-your-packages/ ("WARNING: Don’t pin by default when you’re building libraries! Only use pinning for end products.”) or https://caremad.io/2013/07/setup-vs-requirement/ (“While a library tends to want to have wide open ended version specifiers an application wants very specific dependencies.”) Heck, just look at setup.py dependencies of a few library packages at PyPI to see what the best practices are!
Pinning it would solve nothing: a month or two down the road, #5 could be reopened again. If you’re worried about accidental breakages, the appropriate place to pin the requests version is in the application that uses sixpack-py, not in the library itself.

I would say to pin to anything between 0.13.7 and less than 3.x, which would be a safe move. We can - more or less - assume that 2.x will be bc-compatible with itself, and the interface could change with a 3.x. If/When 3.x is released, we can test against it and be open to that version as well, but I think this is a good compromise.

There's a lot of unnecessary snark in that comment for something that boils down to a difference in opinion. Let's try to keep open source a happier place :smile:.
I'm :+1: on @josegonzalez's suggestion of pinning between 0.13.7 and 3.x.

There's a lot of unnecessary snark

Huh? Even re-reading my reply, I see facts, not “snark”. I intended no such thing and I’m certainly sorry that my poor wording derailed you to react to assumed emotions behind my reply instead of addressing the IMNSHO valid points I made about why pinning, in any form, is bad in a library.

difference in opinion

I suppose you could say that, but my point is that it’s a difference of opinion between sixpack-py maintainers and the consensus of overwhelming majority of the Python community.

@vslavik Your usage of requests should be fixed by #13. While I agree that it would be nice not to pin, it's actually been an issue internally for us where the version of requests has caused issues for something as "simple" as requests.get, so I will err on the side of caution.
Thanks for bringing the issue to our attention. Should the current implementation not work for you - it's been a long day at the office for me, I may have flubbed the requirements.txt syntax - let us know and I'll revise it :)
Thanks again for the initial PR!


Create home.md

Here's the homepage,I moved the benefits above the application guide, what do you think about the current layout?

Looks good. I merge this PR. Thanks


fix(c/driver/postgresql): Allow ctest to run benchmark

Previously the add_benchmark CMake function would create the benchmark which could be invoked directly without issue. However, the ctest invocation would not yield results

I'm going to be a little delayed in reviewing things this week, sorry

@lidavidm not a problem - there is no rush


reset values of mstatus.mpp and mstatus.spp

Is there a specific requirement for the reset values of mstatus.mpp and mstatus.spp? I found in the Spike code that during initialization, if the U mode exists, mstatus.mpp is set to 0. However, would directly setting it to 2b11 also comply with the specifications?
https://github.com/riscv-software-src/riscv-isa-sim/blob/a2dcf1fd70f359e2cf0a953986c9fe222a6d53c2/riscv/csrs.cc#L566-L577

See https://github.com/riscv/riscv-isa-manual/blob/main/src/machine.adoc#reset for the reset requirements.

It seems that there are indeed no strict requirements...


Panics with "unreachable resource trampoline"

I have a few components that run properly with wasmtime but panic with jco.
Easiest way to reproduce, build https://github.com/sunfishcode/hello-wasi-http
then run
jco serve target/wasm32-wasip1/release/hello_wasi_http.wasm

Panics here: https://github.com/bytecodealliance/jco/blob/main/crates/js-component-bindgen/src/transpile_bindgen.rs#L879

This sounds like a bug, thanks for sharing, will look into it when I can.

Managed to track this one down, fix released in 1.7.2. Thanks for the clear replication.


Playlists in search result not playing

trying to start any youtube playlist silently fails... no idea why but the url of the playlists clearly shows the playlist itself and not the video site that actually plays the songs.

Can you provide an example?

searching for "Melodic Death Metal playlist 2014 / 2015" gives you https://www.youtube.com/playlist?list=PLfDNq6JIpILwL-R6gXb30g6pcKPZnowWl which is just the list of songs and youtube-viewer doesn't know what to do with that url.
you really want https://www.youtube.com/watch?v=YvAOk-M_MiM&list=PLfDNq6JIpILwL-R6gXb30g6pcKPZnowWl

To play a given playlist, there is the -pp=ID option:
youtube-viewer --pp 'PLfDNq6JIpILwL-R6gXb30g6pcKPZnowWl'

or to list a given playlist in youtube-viewer, we have -p=ID:
youtube-viewer -p 'PLfDNq6JIpILwL-R6gXb30g6pcKPZnowWl'

Does this solves the issue?

not really, because i'm trying to use the gui.

This is possible as well.
See the attached screenshot:

Instructions:

select Playlists from the Search for: menu
search for Melodic Death Metal playlist 2014 / 2015
double-click the first result
bellow it will display the videos from that playlists which can be played by double-clicking them

but it can't play the playlist automatically? it's not really useful if i have to click on each song separately.

awesome! :)

Added support to right-click a given playlist and select Play this video in a terminal and will play all videos from that playlists in a new terminal, using youtube-viewer.

just tried it, but it doesn't work. i've seen that you are the maintainer of the aur package. could you probably rename "gtk-youtube-viewer" package to "gtk-youtube-viewer-git"?

Thank you @trizen
This works for me on Ubuntu Gnome 16.04  However I have set VLC as my default video player and when I click "Run in Terminal" the playlist videos open with MPV.
Is there a way to fix this?

@onedrawingperday - the CLI version of youtube-viewer uses a different configuration file, so you will have to set VLC as the default player in ~/.config/youtube-viewer/youtube-viewer.conf as well.
In addition to this, starting with version 3.2.4, we can specify command-line arguments to the instance of CLI youtube-viewer that is executed by gtk-youtube-viewer (in ~/.config/youtube-viewer/gtk-youtube-viewer.conf):
youtube_viewer_args  => ['--player=vlc'],

@eNTi make sure the value of terminal_format is correct for the selected terminal.
See also: https://github.com/trizen/youtube-viewer/issues/158
I'm closing this now, as the feature works as expected with a correct terminal configuration.


feat(Data/HashMap,RBSet): minimal implementations needed for linarith

These are minimal implementations of some functions that I need for linarith.
Presumably at some point these will be done properly in Std.

All of these functions should exist in Std already, except for RBSet.union which was added just now, and HashMap.add which I think should not be a definition directly on hashmaps and instead the f.mergeWith (fun _ => (.+.)) g. expression should be inlined wherever you need it in linarith.


Kinesis Data Analytics doesn't appear to recognise one of the jars in the generated fat jar

Hi, when Flink runs, it suggests that it can only find one of the jars within the fat jar. If I switch back to using individual jar files (running Flink locally) it's fine.
Apologies but I'm a Python person - I'm wondering if something (e.g. a pom.xml) needs to be added to the PyFlink app to tell it that the jar is a fat one?

Closed as no longer required


Confirmation fails with emails that include a plus sign

When a user signs up using an email that includes a plus sign (like jaimeiniesta+25@gmail.com), the password confirmation link fails - when it looks for the user on the DB, it removes the plus sign:
[info] GET /confirm
[debug] Processing by Rocket.PageController.confirm/2
  Parameters: %{"email" =><EMAIL_ADDRESS>"key" => "2W07KNzO30VAnocM..."}
  Pipelines: [:browser]
[debug] SELECT u0."id", u0."name", u0."email", u0."password_hash", u0."role", u0."confirmed_at", u0."confirmation_token", u0."confirmation_sent_at", u0."reset_token", u0."reset_sent_at", u0."inserted_at", u0."updated_at" FROM "users" AS u0 WHERE (u0."email" = $1) ["jaimeiniesta<EMAIL_ADDRESS>OK query=13.1ms queue=0.2ms
[info] Sent 302 in 15ms
[debug] Rocket.PageController halted in :action/2
[info] GET /login
[debug] Processing by Rocket.PageController.login/2
  Parameters: %{}
  Pipelines: [:browser]
[info] Sent 200 in 7ms

It looks like the plus sign is being wiped out here:
https://github.com/elixircnx/openmaize/blob/master/lib/openmaize/confirm/base.ex#L52
iex(1)><EMAIL_ADDRESS>"jaime<EMAIL_ADDRESS>


Style/TopLevelMethodDefinition false positives

I'm seeing a lot of false positives on the Style/TopLevelMethodDefinition cop when upgrading to version 1.31.2. It seems to be complaining about any top level method call.
Expected behavior
It should not report issues in the scenarios below.
Actual behavior
It reports errors on top-level method calls.
Steps to reproduce the problem
require "action_cable"

Output
app/channels/application_cable/channel.rb:1:1: C: Style/TopLevelMethodDefinition: Do not define methods at the top-level.

It also, oddly, reports on static HAML files when running with haml-lint:
%h1 New Account

Output
app/views/accounts/new.html.haml:1 [W] RuboCop: Style/TopLevelMethodDefinition: Do not define methods at the top-level.

You can see the issue on this PR (build here)
RuboCop version
1.31.2 (using Parser <IP_ADDRESS>, rubocop-ast 1.18.0, running on ruby 3.1.2 x86_64-linux)
  - rubocop-rails 2.15.2
  - rubocop-rspec 2.12.1

Looks same of https://github.com/rubocop/rubocop/pull/10796 👀

Ah, yep! I looked at the issues and not the PRs.


Can not deploy

Describe the bug
Can not deploy.
The application is being deployed. Let me check the deployment status.
Something went wrong while creating your site on Netlify.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-ctccrt
Steps to reproduce
The application is being deployed. Let me check the deployment status.
Something went wrong while creating your site on Netlify.
Expected behavior
It should deploy
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/<IP_ADDRESS>
performance.memory = {
  "totalJSHeapSize": 240307404,
  "usedJSHeapSize": 234080860,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = clintonyorke
Chat ID = 3ef51342558d

Additional context
Error:
Something went wrong while creating your site on Netlify.

@clintonyorke thanks for the report, seems like something is up with our Netlify endpoint! I have escalated to engineering and updates will come in issue #1483

Update: We have identified the core issue and fixed it. Happy coding!


Internal: use docker-credential-gcr on Linux too

Description
This is just like https://github.com/GoogleCloudPlatform/ops-agent/pull/964, but for Linux instead of Windows. All the same reasons for doing it still apply.
Related issue
b/255601283
How has this been tested?
automated tests.
Checklist:

Unit tests

[X] Unit tests do not apply.
[ ] Unit tests have been added/modified and passed for this PR.

Integration tests

[X] Integration tests do not apply.
[ ] Integration tests have been added/modified and passed for this PR.

Documentation

[X] This PR introduces no user visible changes.
[ ] This PR introduces user visible changes and the corresponding documentation change has been made.

Minor version bump

[X] This PR introduces no new features.
[ ] This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
[ ] This PR bumps the version.

The only failure is an unrelated flake (Windows).


Issue with mismatched glibc versions when cross compiling.

I recently followed the tutorial for building Linux Debian for the De10-Nano and am trying to cross compile a program using CMake to run on it. I am running into a issue where glibc appears to have 2 different and I am unsure how this should be fixed. I am new to cross compiling and linux in general and I am unsure how to set it to the glibc version the device is using or if I should update glibc on the device itself.
The current error I get when running the program on the device:
./dolphin-emu-nogui: /lib/arm-linux-gnueabihf/libpthread.so.0: version `GLIBC_2.30' not found (required by ./dolphin-emu-nogui) ./dolphin-emu-nogui: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.29' not found (required by ./dolphin-emu-nogui) ./dolphin-emu-nogui: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by ./dolphin-emu-nogui) ./dolphin-emu-nogui: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by ./dolphin-emu-nogui)
The CMake tool chain I am using:
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)

#set(SYSROOT_PATH /home/rainbain/rootfs)
#set(CMAKE_SYSROOT "${SYSROOT_PATH}")

set(CROSS_COMPILE /home/rainbain/Documents/Flipper/Software/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/bin/)

#message(STATUS "ARM GCC TOOLCHAIN Location: ${CROSS_COMPILE}")
#message(STATUS "Root Filesystem:"${SYSROOT_PATH})
set(CMAKE_AR                        ${CROSS_COMPILE}arm-none-linux-gnueabihf-ar${CMAKE_EXECUTABLE_SUFFIX})
set(CMAKE_ASM_COMPILER              ${CROSS_COMPILE}arm-none-linux-gnueabihf-gcc${CMAKE_EXECUTABLE_SUFFIX})
set(CMAKE_C_COMPILER                ${CROSS_COMPILE}arm-none-linux-gnueabihf-gcc${CMAKE_EXECUTABLE_SUFFIX})
set(CMAKE_CXX_COMPILER              ${CROSS_COMPILE}arm-none-linux-gnueabihf-g++${CMAKE_EXECUTABLE_SUFFIX})
set(CMAKE_LINKER                    ${CROSS_COMPILE}arm-none-linux-gnueabihf-ld${CMAKE_EXECUTABLE_SUFFIX})
set(CMAKE_OBJCOPY                   ${CROSS_COMPILE}arm-none-linux-gnueabihf-objcopy${CMAKE_EXECUTABLE_SUFFIX} CACHE INTERNAL "")
set(CMAKE_RANLIB                    ${CROSS_COMPILE}arm-none-linux-gnueabihf-ranlib${CMAKE_EXECUTABLE_SUFFIX} CACHE INTERNAL "")
set(CMAKE_SIZE                      ${CROSS_COMPILE}arm-none-linux-gnueabihf-size${CMAKE_EXECUTABLE_SUFFIX} CACHE INTERNAL "")
set(CMAKE_STRIP                     ${CROSS_COMPILE}arm-none-linux-gnueabihf-strip${CMAKE_EXECUTABLE_SUFFIX} CACHE INTERNAL "")

set(CMAKE_C_FLAGS                   "" CACHE INTERNAL "")
set(CMAKE_CXX_FLAGS                 "${CMAKE_C_FLAGS}" CACHE INTERNAL "")

set(CMAKE_C_FLAGS_DEBUG             "-Os -g" CACHE INTERNAL "")
set(CMAKE_C_FLAGS_RELEASE           "-Os -DNDEBUG" CACHE INTERNAL "")
set(CMAKE_CXX_FLAGS_DEBUG           "${CMAKE_C_FLAGS_DEBUG}" CACHE INTERNAL "")
set(CMAKE_CXX_FLAGS_RELEASE         "${CMAKE_C_FLAGS_RELEASE}" CACHE INTERNAL "")
set(ENABLE_GENERIC)

set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

I also tried playing around with changing the system root path for cmake and that seemed to be on the right path but it fails being able to find the correct includes and librarys and that is the point I hit a brick wall as to how to fix it from here.
I really thank you for the super well structured tutorial. I been using the De10 Nano for a while and never liked messing with the HIPS system to any amount and this has greatly helped.

I only have a basic understanding of cmake. But at first glance, the path to CROSS_COMPILE appears incorrect to me.
If you see this section, the approach for setting up the variable CROSS_COMPILE is to give the prefix of the compiler, not the path of the bin folder.
Which is why I set up the CROSS_COMPILE as follows:
export CROSS_COMPILE=$DEWD/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-

Maybe you can modify it and try compiling again?
Another alternative is to just copy the entire source code to your de10-nano and just run the cmake there. Then you don't have to muck around with cross compiling.

Alright I fixed the CROSS_COMPILE to be that as well as fixing the rest of my toolchain to match that and it compiles but gives the same error on the device.Also tried the new compiler path with setting the root filesystem this time and the CMake test program linked but the build itself was still unable to locate basic libc part.
For now so that I can test the software I been statically linking it tho that should definitely not be considered a final solution to it. Its been very glitching and inconsistency with linking it with this setting as well. Tho for now I am going to develop the software with static linking and then try and compile it on the device itself at some point tho it may prove difficult. My laptop is struggling to compile it all at once with compiler heap size.
A final solution to this issue is definitively a good idea but for now I am going to work with what I have. Been having to do this with other larger parts of this project anyways.

Sorry for the slow reply. I don't have my de10-nano set up right now to be able to help out with this. But at least you are able to make progress which is a good thing. If I may ask, are you trying to compile some readily available package or is it something of your own? If it's the former, maybe you can share the link and I'll try and see if I can help out when I get some time.

Yes, its dolphin GameCube emulator. Been making some modifications to it to work on hardware emulation. At its current state of it will compile and run on the De10 nano but you can't really test it without a video platform. My modification has its own if you need that. Just have not pushed the changes yet because it is sped across 3 computers.

Sorry - that looks way too complicated for me to be able to help with  :). I'll need to start with learning how cmake works first :).

In regards to the original error.

./dolphin-emu-nogui: /lib/arm-linux-gnueabihf/libpthread.so.0: version GLIBC_2.30' not found (required by ./dolphin-emu-nogui) ./dolphin-emu-nogui: /lib/arm-linux-gnueabihf/libm.so.6: version GLIBC_2.29' not found (required by ./dolphin-emu-nogui) ./dolphin-emu-nogui: /lib/arm-linux-gnueabihf/libstdc++.so.6: version GLIBCXX_3.4.26' not found (required by ./dolphin-emu-nogui) ./dolphin-emu-nogui: /lib/arm-linux-gnueabihf/libc.so.6: version GLIBC_2.33' not found (required by ./dolphin-emu-nogui)

It looks like your dolphin-emu-nogui program is searching for a graphics library it can use inside arm-linux. The graphics library may exist on linux, but it may not have been ported to ARM (yet). Keep in mind that ARM is a microcontrol with a Reduced Instruction Set. This does not mean what you are trying to do can't be done, but it will not be easy.
I have some experience working with compiling and using freeglut graphics library, but not for targeting ARM as the platform. Here is a forum post of someone trying to get GLIBC_2.29 on the Raspberry Pi (which is also an ARM processor).

In regards to the original error.

./dolphin-emu-nogui: /lib/arm-linux-gnueabihf/libpthread.so.0: version GLIBC_2.30' not found (required by ./dolphin-emu-nogui) ./dolphin-emu-nogui: /lib/arm-linux-gnueabihf/libm.so.6: version GLIBC_2.29' not found (required by ./dolphin-emu-nogui) ./dolphin-emu-nogui: /lib/arm-linux-gnueabihf/libstdc++.so.6: version GLIBCXX_3.4.26' not found (required by ./dolphin-emu-nogui) ./dolphin-emu-nogui: /lib/arm-linux-gnueabihf/libc.so.6: version GLIBC_2.33' not found (required by ./dolphin-emu-nogui)

It looks like your dolphin-emu-nogui program is searching for a graphics library it can use inside arm-linux. The graphics library may exist on linux, but it may not have been ported to ARM (yet). Keep in mind that ARM is a microcontrol with a Reduced Instruction Set. This does not mean what you are trying to do can't be done, but it will not be easy.
I have some experience working with compiling and using freeglut graphics library, but not for targeting ARM as the platform. Here is a forum post of someone trying to get GLIBC_2.29 on the Raspberry Pi (which is also an ARM processor).

What library do you think its referencing to cause this? I had disabled all of them except the /dev/fb access including controller library. Sorry if I'm not supper up to date on this been working on other parts of the project's DSPs.

I agree. It seems to be looking inside a multithreading library for a graphics library. The error message is showing /lib/arm-linux-gnueabihf/libpthread.so.0 and it couldn't find GLIBC_2.30. It looks like its going through a list of all the things it could possible use that might possibly be in there.
I haven't heard of GLIBC before, but im assuming the G stands for graphics. This error message reminds me of a graphics project I did last year. I have a video from last year where I compile .so. libraries from source.
https://youtu.be/XYiwt2NP1KM?t=612 (link includes time stamp)
If you can track down the source, you could try to compile it with the cross compiler. Then add it with your mutlithreading and libstd libraries.

I agree. It seems to be looking inside a multithreading library for a graphics library. The error message is showing /lib/arm-linux-gnueabihf/libpthread.so.0 and it couldn't find GLIBC_2.30. It looks like its going through a list of all the things it could possible use that might possibly be in there.
I haven't heard of GLIBC before, but im assuming the G stands for graphics. This error message reminds me of a graphics project I did last year. I have a video from last year where I compile .so. libraries from source.
https://youtu.be/XYiwt2NP1KM?t=612 (link includes time stamp)
If you can track down the source, you could try to compile it with the cross compiler. Then add it with your mutlithreading and libstd libraries.
Alright I am finally and had some time to asses some if this issue with some of the info I have as well as a few things I have tryed.
GLIBC is the GNU foundations C slandered library. Very useful if you wish for your program to do anything because it contains functions like printf() and malloc().

When analyzing the issue it seems to be that the other very common librarys like pthread (POSIX threads) and libstdc++ are all trying to link to different versions of glibc. Now I would normally relate this sort of issue with having precompiled libraries from too many different sources but when checking my toolchain all its libraries are pulled from a copy of the DE10 Nano's rootfs. This leads me to believe the issue may be contain with how the rootfs was created. This will take some more testing, I had used the rootfs created in the linux Debian build not using yocto making me thing there is a possibility of mismatched glibc versions whiten how those where created.
Going agents that theory, if programs using pthread and the other standard library can compile from the system itself, some work I have had good luck with and seen work in the past, it leves me back to believing this is not a issue whiten how the librarys are whiten the rootfs but rather back to how the toolchain gets these librarys from the system.
Most of my toolchain is created and based of how other systems, like the beagle bone black had set theirs up, to do the same thing. I believe the larger part of this issue comes from what library should be sourced from the rootfs and and what should come from the compiler itself, like glibc and crt.
I have tried getting a new rootfs from the operational system while basing all my toolchain and environment of the one made when using the beagle bone black. Still I ether run into a issue with mismatched librarys when running the software or it not finding the library on build.
As always and help is really appreciated in getting cross platform building to work here as the static linking has proven to be quite inefficient and ineffective. I am not a often user of cmake myself and I almost always avoid cross compiling, so if there is anything your assuming I had to of done right feel free to ask the obvious questions as everything is fair game at this point since ive spent so long trying to get it to work.


Update http4s-blaze-client, ... to 1.0.0-M10

Updates

org.http4s:http4s-blaze-client
org.http4s:http4s-blaze-server
org.http4s:http4s-circe
org.http4s:http4s-dsl
org.http4s:http4s-twirl

from 1.0.0-M4 to 1.0.0-M10.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-pre-release

Codecov Report

Merging #204 (c1ccd38) into master (bdae63e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #204   +/-   ##
=======================================
  Coverage   14.94%   14.94%
=======================================
  Files          55       55
  Lines        2047     2047
  Branches       26       26
=======================================
  Hits          306      306
  Misses       1741     1741

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 bdae63e...c1ccd38. Read the comment docs.

Codecov Report

Merging #204 (c1ccd38) into master (bdae63e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #204   +/-   ##
=======================================
  Coverage   14.94%   14.94%
=======================================
  Files          55       55
  Lines        2047     2047
  Branches       26       26
=======================================
  Hits          306      306
  Misses       1741     1741

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 bdae63e...c1ccd38. Read the comment docs.

Superseded by #210.

Superseded by #210.


[Enhancement] Termdebug: Make source code line auto unfold to visible

Good idea, I'll include it.


Can't get responses for an async request?

Hi, I tried sttp to send some asynchronous request, but it can't get response and timeout at last.
My code is:
package my

import com.softwaremill.sttp._
import com.softwaremill.sttp.asynchttpclient.future.AsyncHttpClientFutureBackend

import scala.concurrent.Future
import scala.util.{Failure, Success}

object HttpClientDemo2 extends App {

  import scala.concurrent.ExecutionContext.Implicits.global

  implicit val backend: SttpBackend[Future, Nothing] = AsyncHttpClientFutureBackend()
  val query = "http language:scala"
  val request = sttp
    .get(uri"https://api.github.com/search/repositories?q=$query")
  println("send request!")

  request.send().onComplete {
    case Success(response) =>
      println("--------------- async response ----------------")
      println(response.header("Content-Length"))
      println(response.unsafeBody)
      backend.close()
    case Failure(e) => e.printStackTrace()
  }
}

and my sbt dependencies is:
scalaVersion := "2.12.4"

sbtVersion := "1.0.4"

libraryDependencies ++= Seq(
  "com.softwaremill.sttp" %% "core" % "1.1.2",
  "io.netty" % "netty-handler" % "4.0.54.Final",
  "io.netty" % "netty-codec-http" % "4.0.54.Final",
  "org.asynchttpclient" % "netty-resolver" % "2.0.38",
  "org.slf4j" % "slf4j-nop" % "1.7.25",
  "com.softwaremill.sttp" %% "akka-http-backend" % "1.1.2",
  "com.softwaremill.sttp" %% "json4s" % "1.1.2",
  "org.reactivestreams" % "reactive-streams" % "1.0.2",
  "org.asynchttpclient" % "async-http-client" % "2.0.38",
  "com.softwaremill.sttp" %% "async-http-client-backend" % "1.1.2",
  "com.softwaremill.sttp" %% "async-http-client-backend-future" % "1.1.2",
  "org.scalatest" %% "scalatest" % "3.0.4" % "test"
)

Could you help where is wrong in my code? I also search sttp document and found there is an akka backend demo, which has the same problem in my computer. Thanks!

I changed my dependencies versions to following, and it works:
"com.softwaremill.sttp" %% "core" % "1.1.2",
  "io.netty" % "netty-handler" % "4.0.54.Final",
  "io.netty" % "netty-codec-http" % "4.0.54.Final",
  "org.asynchttpclient" % "netty-resolver" % "2.0.37",
  "org.slf4j" % "slf4j-nop" % "1.7.25",
  "com.softwaremill.sttp" %% "akka-http-backend" % "1.1.2",
  "com.softwaremill.sttp" %% "json4s" % "1.1.2",
  "org.reactivestreams" % "reactive-streams" % "1.0.2",
  "org.asynchttpclient" % "async-http-client" % "2.0.37",
  "com.softwaremill.sttp" %% "async-http-client-backend" % "1.1.2",
  "com.softwaremill.sttp" %% "async-http-client-backend-future" % "1.1.2",
  "org.scalatest" %% "scalatest" % "3.0.4" % "test"

The differences are:
"org.asynchttpclient" % "netty-resolver" % "2.0.37",
"org.asynchttpclient" % "async-http-client" % "2.0.37",

That's quite weird... As I understand updating the async-http-client dependency to 2.0.38 is the problem. I bumped the dependencies in the projects and all tests pass (which of course includes doing asynchronous requests).
Maybe you disabled transitive dependencies (and that's why you list them all), and not all dependencies of async-http-client have been updated?


Update schedule to 1.1.12

https://github.com/ioBroker/ioBroker.scheduler/issues/240

https://github.com/ioBroker/ioBroker.scheduler/pull/259


Un-ellipsis placeholder and use ES6 template

I'm not sure what I was thinking in https://github.com/thelounge/lounge/pull/832 but I am really annoyed by the looks of it in practice.
Plus that way there is a bit of extra room in case screen isn't wide enough. Very unlikely, but if it happens, that would be a few missing chars at best, so why not.
Also hey, first ES6 feature on the client right there.

If reviewer is happy with it, feel free to merge and add to v2.2.0 as it's a minor improvement over a feature introduced in v2.2.0. Heck, this PR doesn't even deserve a change log entry if it makes it to v2.2.0.


Need to add the differentiation of cancelling the renewal and cancelling the subscription

The first sentence on this page is misleading: “If your subscription ends—either because it expires, or because you decide to CANCEL […] go through multiple states before the subscription is fully turned off, or deprovisioned.” If you CANCEL SUBSCRIPTION users will lose access immediately. It’s not enough to mention at the end of this page that one phase will be skipped if I cancel! The key issue is, there are two ways of cancelling: 1. Cancelling the renewal (and what happens after that event) 2. Cancelling the subscription (and what are the consequences). I suggest to re-phrase the instructions to make them more clear and more precise for both cancelling options. It has a deep impact on direct to CSP conversion experience. Happy to work with you on the resolution.

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

ID: 0721ffec-3115-1479-a73f-e74706d41410
Version Independent ID: d34d5bdf-4380-e2e0-fa47-10057f7ef0ea
Content: What happens to my data and access when my subscription ends?
Content Source: Office365-Admin/subscriptions-and-billing/what-if-my-subscription-expires.md
Service: o365-administration
GitHub Login: @cmcatee-MSFT
Microsoft Alias: cmcatee

@artekartian Thank you for your feedback. Can you please share in detail what should be added so that I can see and help to make document to reflect the accurate information.

@artekartian - We would like to follow up. Can you please respond to the query of joinimran?
Thank you.

Thanks for reminder. I will be back to you tomorrow. Just holidays.
Pozdrawiam,
Sebastian

From: Joyce Y<EMAIL_ADDRESS>Sent: Thursday, January 2, 2020 11:22:31 PM
To: MicrosoftDocs/OfficeDocs-O365ITPro<EMAIL_ADDRESS>Cc: Arte Kartian<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-O365ITPro] Need to add the differentiation of cancelling the renewal and cancelling the subscription (#851)
@artekartianhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fartekartian&data=02|01||1fbddea2550643a6900b08d78fd242f3|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637136005532286126&sdata=%2FquHiTpfuaaGDru2VSQeKMvCemppx7qmkifPI4RLmJg%3D&reserved=0 - We would like to follow up. Can you please respond to the query of joinimran?
Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-O365ITPro%2Fissues%2F851%3Femail_source%3Dnotifications%26email_token%3DANS4PASLL2KW5MU67MUFB33Q3ZSKPA5CNFSM4JTN6YK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH7UERQ%23issuecomment-570376774&data=02|01||1fbddea2550643a6900b08d78fd242f3|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637136005532286126&sdata=xohGve%2BPmv6ycmop71WXv5Eb0%2BOOQ5ofLkx6i6h%2F%2BE8%3D&reserved=0, or unsubscribehttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANS4PAQKUBQ2R4JJOGNGCWDQ3ZSKPANCNFSM4JTN6YKQ&data=02|01||1fbddea2550643a6900b08d78fd242f3|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637136005532296131&sdata=9pcNUEy44qf6DUTlxDrM4MjWgEWBdH%2BM6MVhn0pbs6w%3D&reserved=0.

Hi All,
I’m referring the first sentence in the docs article:
https://docs.microsoft.com/en-us/office365/admin/subscriptions-and-billing/what-if-my-subscription-expires?view=o365-worldwide
If your subscription ends—either because it expires, or because you decide to cancel—your access to Office 365 services, applications […]
This is misleading and customers expect a different behavior if they cancel a monthly direct subscription.
I propose to make a better distinction of cancelling a monthly and an annual direct subscription. AND you need to explain WHEN the first stage STARTS in each scenario.
You need to describe all 3 scenarios:

If your subscription expires -> Then it goes thru following stages: Expired / Disabled / Deprovisioned. The stage “Expired” starts directly after the subscription reach to its end date.
If you cancel the renewal of you annual subscription (direct subscription from Microsoft) > Then it goes thru the same stages as expired subscription and the first stage starts at the anniversary of the annual subscription (not at the date of cancelling the subscription renewal) > Expired / Disabled / Deprovisioned
But if you cancel the monthly subscription (direct subscription from Microsoft) > then is will be disabled immediately (at the date of cancellation) – which means your users will lost the access the Office 365 assets immediately and only admins will get access to the data for next 90 days and described in the subscription cancellation and expiration table.
Hope, it helps a bit.

Regards,
Sebastian
From: ImranHabib<EMAIL_ADDRESS>Sent: Sunday, December 22, 2019 6:08 PM
To: MicrosoftDocs/OfficeDocs-O365ITPro<EMAIL_ADDRESS>Cc: Arte Kartian<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-O365ITPro] Need to add the differentiation of cancelling the renewal and cancelling the subscription (#851)
@artekartianhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fartekartian&data=02|01||3df42b5c72544648600c08d787018aeb|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637126312996125470&sdata=9S3NngvPhBTOVyYF2rc0LubEuxvXQwNsmadLq57k1K0%3D&reserved=0 Thank you for your feedback. Can you please share in detail what should be added so that I can see and help to make document to reflect the accurate information.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-O365ITPro%2Fissues%2F851%3Femail_source%3Dnotifications%26email_token%3DANS4PASA5TN7KY66DZ5J26LQZ6NIFA5CNFSM4JTN6YK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHPU6LA%23issuecomment-568282924&data=02|01||3df42b5c72544648600c08d787018aeb|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637126312996125470&sdata=JDC6enTdwm23v37cnYHeMF2bqMtWDFq8XNOhWxVcrT0%3D&reserved=0, or unsubscribehttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANS4PASDBIK5DGDIR47EZS3QZ6NIFANCNFSM4JTN6YKQ&data=02|01||3df42b5c72544648600c08d787018aeb|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637126312996135480&sdata=LW%2BNOws4Xchr5bFSELQQoQN7GbgmOslLWtNeEInTuME%3D&reserved=0.

@artekartian Thanks for your feedback. The article has been updated.

Thanks a lot! Nice to see the docs updated. 👍👍👍
Pozdrawiam,
Sebastian

From: Cern McAtee<EMAIL_ADDRESS>Sent: Tuesday, January 14, 2020 8:19:55 PM
To: MicrosoftDocs/OfficeDocs-O365ITPro<EMAIL_ADDRESS>Cc: Arte Kartian<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-O365ITPro] Need to add the differentiation of cancelling the renewal and cancelling the subscription (#851)
@artekartianhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fartekartian&data=02|01||f10b73929d764cfb53f708d79926bced|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637146264051549833&sdata=3th1Ll7R2ByWfxiNVHd%2F2rE%2FAJA0fb3%2FPILV6mRQXyY%3D&reserved=0 Thanks for your feedback. The article has been updated.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-O365ITPro%2Fissues%2F851%3Femail_source%3Dnotifications%26email_token%3DANS4PAU6LBBPRNKR4MY246TQ5YF5XA5CNFSM4JTN6YK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI5ZJ6Y%23issuecomment-574330107&data=02|01||f10b73929d764cfb53f708d79926bced|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637146264051559842&sdata=iMsFaz%2FCsAV2tCFZCGA%2BMkFLSYqXs7OC2h7RWKX7n18%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANS4PAQ7SXTUWJJTKVZOBVTQ5YF5XANCNFSM4JTN6YKQ&data=02|01||f10b73929d764cfb53f708d79926bced|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637146264051559842&sdata=K7x66d26fEd%2FScon6m9JmHQ482DSW%2F6GCCPGh8end%2Bc%3D&reserved=0.


Allow blurring by CSS selector

I want to always blur a section of a specific site, and I know the QuerySelector for the element.

Duplicate of #10


chore(main): release frontend 1.0.3

:robot: I have created a release beep boop
1.0.3 (2024-06-23)
Bug Fixes

update dockerfile (498bb4e)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

frontend-v1.0.3
:sunflower:


Parse structure of a saved PyTree checkpoint

Hi,
Is there a way to parse structure of a saved PyTree checkpoint?
I found that there is AbstractCheckpointer.structure, but it is deprecated.

CONTEXT:
I have a checkpoint saved with orbax's PyTreeCheckpointHandler, it contains sharded jax.Array-s. I am trying to load a checkpoint on a CPU device, so orbax fails to load a checkpoint, because sharding requires 8 devices, while I have only 1 device -- CPU.

Here is where it fails:
>>> checkpoint_manager.restore(checkpoint_manager.latest_step(), items={"state" : None})
...
  File "/usr/local/lib/python3.10/dist-packages/orbax/checkpoint/checkpoint_manager.py", line 472, in restore
    restored_items = self._restore_impl(
  File "/usr/local/lib/python3.10/dist-packages/orbax/checkpoint/checkpoint_manager.py", line 504, in _restore_impl
    restored[item_name] = self._checkpointers[item_name].restore(
  File "/usr/local/lib/python3.10/dist-packages/orbax/checkpoint/checkpointer.py", line 99, in restore
    restored = self._handler.restore(directory, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/orbax/checkpoint/pytree_checkpoint_handler.py", line 1065, in restore
    restored_item = asyncio.run(
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.10/dist-packages/orbax/checkpoint/pytree_checkpoint_handler.py", line 890, in _maybe_deserialize
    deserialized_batches += await asyncio.gather(*deserialized_batches_ops)
  File "/usr/local/lib/python3.10/dist-packages/orbax/checkpoint/type_handlers.py", line 1260, in deserialize
    _deserialize_sharding_from_json_string(serialized_string.item())
  File "/usr/local/lib/python3.10/dist-packages/orbax/checkpoint/type_handlers.py", line 135, in _deserialize_sharding_from_json_string
    np.array(jax.devices()).reshape(shape), axis_names=axis_names
ValueError: cannot reshape array of size 1 into shape (4,2)

To load a checkpoint with different sharding, I need to pass restore_args -- a tree of ArrayRestoreArgs with the same structure, as the saved checkpoint.
The problem is that I do not know the structure of the saved checkpoint, thus I can't create restore_args of proper structure.
Digging into orbax's source code showed that PyTreeCheckpointHandler uses _get_internal_metadata to get item structure, but it is a private method.
So:

What is the right way to load checkpoint with a different sharding without knowledge of checkpoint structure?
Is there a public method to parse checkpoint structure?

Thanks!

Sorry, my issue seems to be a duplicate of  https://github.com/google/orbax/issues/648 and https://github.com/google/orbax/issues/678, so I will close my issue in favour of those


Do not use strategicmergepatch for CRDs

What this PR does / why we need it:
Backport of (#936)

Fixes #

lgtm. @alenkacz and I discussed there's some problems with this, but they won't manifest anyway and we can't even test for them until we fix unstructured.Unstructured for our objects.


Harmonize routing with leading/trailing slash or not

As documented by Framework7 and to have a clear indication for local routes in inks, we use /route/ - it means: Begin and end with a slash!


using yolo for assisted labeling

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Is your feature request related to a problem? Please describe.
I am not that experienced with CVAT but i see you are able to do assisted labeling with a pre-trained model. However the process of getting this to work is pretty complex and i havent gotten it to work. I would like to use either a yolov5 or yolov8 model from ultralytics to assist during my annotation process. I have the weights locally on my computer and wold like to import it to cvat. Is it possible to do this online? or will i have to download cvat with all its docker containers and get that to running... followed by the nucli server etc. could someone assist on how to do this in a more simpler way? Since Yolo is probably the most common object detection framework.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

It seems to me that CVAT doesn't offer Yolov5 or Yolov8 for reasons of license incompatibility, but it is possible to use them locally if you set the serveless correctly.

It seems to me that CVAT doesn't offer Yolov5 or Yolov8 for reasons of license incompatibility, but it is possible to use them locally if you set the serveless correctly.

Do you happen to have any guidance on this?


Validation or FirstReleaseBusiness

XML reference of Office Deployment Tool for Click-to-Run use for Updates and Add elements of XML configuration file value "Validation" for First Release for Current Branch for Business. But XML editor use value "FirstReleaseBusiness". Both of them work actually, but this should be clarified if someone want trust to consistent update Branches. Because what to set to GPO? This is text field, not drop down list.

Thank you for you feedback.  It was originally called FirstReleaseBusiness but was changed to Validation.  Even though FirstReleaseBusiness still works we agree with you that it should be changed to reflect the what the documentation uses.  We will update the page as soon as we can.

@Kazzan We have updated the Xml Editor site with the Validation branch option.  Thank you for your input!  http://officedev.github.io/Office-IT-Pro-Deployment-Scripts/XmlEditor.html

@v-rusmit Thanks! If you have also option to make suggestion also to GPO integration team it will be nice for IT Pro.


Repeating OSX Keychain Access Prompts

Good morning,
I am wondering if there is a way to get OSX to stop prompting each time the keychain is accessed. I click "Always allow" and it still prompts every time I access a particular value stored in the keychain.
let keychain = Keychain(service: "com.mycompany.myapp");
// Causes prompt #1
let someValue = keychain[Constants.SomeKey];

// Causes prompt #2
let someValue2 = keychain[Constants.SomeKey2];

It was my understanding that by initializing the Keychain with a service, all key/value pairs in this context would be authorized as a group.
Cheers,
Adam

Updated to latest and the issue is no longer present. Thanks.


Adding SSA related warnings to the affected versions

Signed-off-by: Sathyanarayanan Saravanamuthu<EMAIL_ADDRESS>Description

Added notes for versions 1.7, 1.8, 1.9 and 1.10 to enable SSA in the cluster
Added a line to mandate SSA enabled while upgrading from 1.6 to 1.7

I haven't added this line to other upgrades (1.7 -> 1.8,...). These are not required. For example, if any customer is running version 1.7 successfully, that implicitly means SSA is enabled. So, no special instructions are required.

Thanks @sathyanarays!
I think we should also add that the feature gate is required for the v1.8 and v1.9 upgrade docs for completeness.

@JoshVanL made the changes as suggested!

/lgtm
/approve

/ok-to-test