miniflux-passwordfile not resloving env vars

Newsboat version (copy the output of newsboat -v or the first line of git show):
Newsboat 2.32.0 - https://newsboat.org/
Config file (copy from ~/.newsboat/config or ~/.config/newsboat/config):
max-items 0
browser /nix/store/xd5sb6v2ah4qz9jrvgzmcxzcmibry1zs-xdg-utils-unstable-2022-11-06/bin/xdg-open
reload-threads 5
auto-reload yes
reload-time 60
prepopulate-query-feeds yes

# feed source
urls-source "miniflux"
miniflux-url "https://rss.example.com/"
miniflux-login "janik"
miniflux-passwordfile "XDG_RUNTIME_DIR/secrets/miniflux"

# vim keybindings
unbind-key h
unbind-key j
unbind-key k
unbind-key l

bind-key h quit
bind-key j down
bind-key k up
bind-key l open

# dracula theme
color background default default
color listnormal color255 default
color listfocus color238 color255 standout
color listnormal_unread color47 default
color listfocus_unread color238 color47 standout
color info color141 color236

# highlights
highlight all "---.*---" yellow
highlight feedlist ".*(0/0))" black
highlight article "(^feed:|^title:|^date:|^link:|^author:)" cyan default bold
highlight article "https?://[^ ]+" yellow default
highlight article "\\[[0-9][0-9]*\\]" magenta default bold
highlight article "\\[image\\ [0-9]+\\]" green default bold
highlight article "\\[embedded flash: [0-9][0-9]*\\]" green default bold
highlight article ":.*\\(link\\)$" cyan default
highlight article ":.*\\(image\\)$" blue default
highlight article ":.*\\(embedded flash\\)$" magenta default

Steps to reproduce the issue:

try starting newsboat

And it fails with this log:
Starting Newsboat 2.32.0...
Loading configuration...done.
Opening cache...done.
Loading URLs from Miniflux...Authentication failed.

because it doesn't resolve the env var so it cant find the password file. Just replacing it with the static path works fine.

Newsboat currently only expands tilde ~ to the user's home directory for file path values in the config.
To "expand" env variables, you can use shell evaluation:
miniflux-passwordfile "`echo $XDG_RUNTIME_DIR`/secrets/miniflux"

Fair enough, that solves it for me, closing the issue.


Adds Ridgeline plot, updates colors.

Codecov Report

Merging #7 (2d22d10) into master (b4790be) will increase coverage by 5.13%.
The diff coverage is 62.18%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   39.16%   44.29%   +5.13%
==========================================
  Files          11       14       +3
  Lines         429      517      +88
==========================================
+ Hits          168      229      +61
- Misses        261      288      +27

Impacted Files
Coverage Δ

jetplot/demo.py
0.00% <0.00%> (ø)

jetplot/plots.py
20.18% <21.42%> (-0.28%)
:arrow_down:

jetplot/style.py
60.00% <50.00%> (ø)

jetplot/colors.py
72.41% <70.90%> (-23.05%)
:arrow_down:

jetplot/__init__.py
100.00% <100.00%> (ø)

jetplot/chart_utils.py
33.87% <100.00%> (+14.04%)
:arrow_up:

jetplot/timepiece.py
61.29% <100.00%> (ø)

jetplot/typing.py
100.00% <100.00%> (ø)

jetplot/version.py
100.00% <100.00%> (ø)

tests/test_utils.py
100.00% <100.00%> (ø)

... and 1 more

Continue to review full report at Codecov.

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


Contributing to BUG012

BUG012
Proposing fix for source/BUG/mathematics.py

Reason: sin_value should return the sine of the value, not the cosine
Fix: I think I can solve the issue by use math.sin.

Buon lavoro!

Solved


Baseline arity checks for jsx sfc tags

Fixes the worst cases of #33104 without going so far as #29818 (which is terrible for performance).
In this change, we lookup the jsx factory function during jsx signature resolution, and check if any overload expects a function-ish thing; if one does, we validate that, for at least one of those overloads, the number of arguments the FC being used as the tag is less than or equal to the number provided by the JSX library.
This will not cause an error in the two-argument case for react, as react specifies FCs can have a second argument of type any for the react context. So the actual example from the original report in #33104 would be completely uncaught (and there's really nothing we can do about it, since the function actually looks like a completely valid FC), however the more egregious examples down-thread of 3+ arguments do get caught.
Notably, I have not made this contingent on strictFunctionTypes - normally our signature arity rules outside of strictFunctionTypes mode would allow the assignment (function bivariance, wooo), were we actually assigning the tag type to the argument type, but that does not come into play here, as I am decomposing the types and checking argument counts directly.
cc @DanielRosenwasser for error message feedback~

@typescript-bot cherrypick this into master

cc @DanielRosenwasser @sandersn for updated review statuses~

ping @sandersn @DanielRosenwasser again

(I noticed that this is opened against 3.8 so needs to be retargetted to master or something like that.)

@sandersn I've retargeted this PR to master and squashed/rebased it. Once the build is green, it should be good to go.


As a player, I want to see my overall score and my global rank at the end of a game, in order to compare myself.

Acceptance Criteria:

[x] The player can see their updated rank and their current score
[x] The player can see the change in their rank and their current score

Dev Tasks:

[x] sopra-fs23-group-10/sopra-fs23-group-10-client#46
[x] sopra-fs23-group-10/sopra-fs23-group-10-server#108

All dev tasks are completed and acceptance criterias are met. Issue is therefore closed.


Fixed link in README

What this PR does / why we need it:
Broken link for the "AWS Getting Started" link in the README file.
Does this PR introduce a user-facing change?:

NONE

/approve


[feature request]: redirect url for proxy item

Why you need it?

We use the dfdaemon as a proxy to handle the request for the client like dockerd. However, sometimes we need to redirect the request to the specified host just like proxy_redirect of Nginx. So I think we need to add a host config item to make it possible.
How it could be?

proxies:
    # proxy requests and redirect
    - regx: registry-regex
      host: registry-regirect-host

Other related information

FYI https://github.com/dragonflyoss/Dragonfly/pull/410

also cc/ @inoc603

I think host might not be very clear on the purpose to this configuration, maybe something like redirect or rewrite would be better.

I think host might not be very clear on the purpose to this configuration, maybe something like redirect or rewrite would be better.

Maybe redirect is better. 😄


The alarm does not fire and work on Xiaomi phones

I installed and tested the app on my Xiaomi 11 Ultra phone.
In the settings, I set the program to auto-start.
And I put the battery without any restrictions
Sometimes the alarm does not work
Sometimes it works but the phone screen does not turn on

thanks a loat , i am developer too and we need to source that works on xiaomi too
MIUI Optimization missing from Developer options in miui 13 and the MIUI Optimization toggle has gone missing seemingly after the latest MIUI 12.0.7/12.0.5/13.0.4
i test fdroid version and informed you

@kia1349 I tried the app on miui again, it's miui 11. But I think it can be fine.  You have to go to the settings, applications, clock and give all the permissions where other permissions are written, then disable the battery saver .. I'll send you screenshots

Since you are a developer, feel free to add some features that can improve the app.  For example if I could put an option in the settings to select the theme: "automatic / white / dark".  Currently the behavior is always on automatic.

thank again.i tried these settings, alarm work but activity "AlarmActivity" not show.it can not turn on screen and show on screen when screen locked nwith pin or finger print
but i try again

about  the theme: "automatic / white / dark" , i try too
thanks for sharing your code code and idea

I found a guide to make miui optimization reappear.  Go into developer settings and click "reset to default values" a couple of times at this point it should reappear.  I don't know if this guide works, just give it a try.  Perhaps miui has worsened in terms of restrictions in third-party apps, however in mui 11 there is no such bug.

about the theme: "automatic / white / dark" , i try too
thanks for sharing your code and idea

Thanks

I found a guide to make miui optimization reappear. Go into developer settings and click "reset to default values" a couple of times at this point it should reappear. I don't know if this guide works, just give it a try. Perhaps miui has worsened in terms of restrictions in third-party apps, however in mui 11 there is no such bug.

I have done this method before. This option is in the settings list, but unfortunately it has been disabled by Xiaomi.

Since you are a developer, feel free to add some features that can improve the app. For example if I could put an option in the settings to select the theme: "automatic / white / dark". Currently the behavior is always on automatic.

hi again qw123wh
i add option in the main screen to select the theme: "automatic / white / dark".
i add this to fdroid
you can test it seperately in your computer and if it is ok then merge to your app
i sent source code to your email:
<EMAIL_ADDRESS>

Done


Creating Spark Dataset throws scala.MatchError

Hi, I get this error while creating a Dataset with a FHIR type resource. Requesting your help.
Spark 2.2
FHIR DSTU3
bunsen-core-0.1.0
PatientSummary is a custom  FHIR Resource
Dataset<PatientSummary> patientSummaryDS = sparkSession.createDataset(patientSummaryRDD.collect(),
				encoders.of(PatientSummary.class));

Error:
scala.MatchError: RuntimeElementDirectResource[DirectChildResource, IBaseResource] (of class ca.uhn.fhir.context.RuntimeElementDirectResource)
at com.cerner.bunsen.SchemaConverter.com$cerner$bunsen$SchemaConverter$$childToFields(SchemaConverter.scala:119)
at com.cerner.bunsen.SchemaConverter$$anonfun$1.apply(SchemaConverter.scala:161)
at com.cerner.bunsen.SchemaConverter$$anonfun$1.apply(SchemaConverter.scala:161)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
at scala.collection.Iterator$class.foreach(Iterator.scala:893)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:241)
at scala.collection.AbstractTraversable.flatMap(Traversable.scala:104)
at com.cerner.bunsen.SchemaConverter.compositeToStructType(SchemaConverter.scala:161)
at com.cerner.bunsen.EncoderBuilder$.of(EncoderBuilder.scala:43)
at com.cerner.bunsen.EncoderBuilder.of(EncoderBuilder.scala)
at com.cerner.bunsen.FhirEncoders.of(FhirEncoders.java:64)

Bunsen 0.1.0 supports Spark 2.1.1, and Spark 2.2 unfortunately made some breaking changes to one of its APIs. However, we're about to jump to Spark 2.2 as well, so we'll push a Bunsen branch with 2.2 support probably within the next week.

I pushed Spark 2.2 support into the branch here: https://github.com/cerner/bunsen/tree/issue-2. We'll want to test it on a real cluster before merging, but test pass against a local environment.
We'll plan on supporting Spark 2.2 in the Bunsen 0.2.x stream and any fixes for Spark 2.1 can live in Bunsen 0.1.x. We'll probably move on from Spark 2.1 entirely before long, but it's useful in our current environment so we started there.

Spark 2.2 support looks to be working well so I merged it to master and pushed a 0.2.0-SNAPSHOT build to the SonaType snapshot repository (https://oss.sonatype.org/content/repositories/snapshots).
If you're interested in trying Bunsen with Spark 2.2 feel free to point your project at 0.2.0-SNAPSHOT there. Let me know if you continue to see issues with that build.

Bunsen 0.2.2 has been released with Spark 2.2 support and is working well at least in our environment. I'm going to go ahead and close this since that should address the issue, but we can reopen if others experience issues.

I'm getting the same error when trying to do extract_entry(spark, bundles, 'questionnaireresponse'). I'm using Spark v2.3.0 in bunsen-tutorial. What should I do?


GLTF Animations get imported incorrectly

Tested versions
4.3.stable
System information
windows 10
Issue description
GLTF files with animations don't get imported correctly.
Here is an example of an animated gltf and how it should look:

And here is how it looks in Godot. Notice the legs aren't aligned to the body:

Also, here is how it looks in 4.2.2rc, so I know it had been working fine in the past:

Steps to reproduce
Here is a zip file of the gltf model. Simply add it to a Godot project and check their animations, or use the provided MRP below.
characterVid02_14.zip
Minimal reproduction project (MRP)
test-4.3.zip

Godot Engine gltf import matches three.js viewer.
https://github.com/user-attachments/assets/40eb5bde-a850-4e26-aa90-6a6e598ffc1f
https://github.com/user-attachments/assets/62a46e6d-0a04-4ee7-b8ed-e504aea30a36

Switching to humanoid skeleton unexpectedly crashes.

Hm, I didn't check adding it to the scene. I only saw that it looks incorrect in the importer window:

I added it to scene and it animated correctly. However, clicking the Reimport button in the Importer window crashes Godot!


DateTime is incorrectly  created from max finite int by ms from epoch

    final int _a =<PHONE_NUMBER>000000;          // _maxMillisecondsSinceEpoch in DateTime source code. around 2^53
    final int _b =<PHONE_NUMBER>000000 + 1;      // expected error
    final int _c = double.maxFinite.toInt();  // 2^63. expected error

    final a = DateTime.fromMillisecondsSinceEpoch(_a);    // passed
    final b = DateTime.fromMillisecondsSinceEpoch(_b);    // error
    final c = DateTime.fromMillisecondsSinceEpoch(_c);    // well of course an er... stop, passed? what ???

Also, it would be nice to make _maxMillisecondsSinceEpoch  getter to improve clarity and readability. It is such a small request that I don`t know need I create a new issue or not.

Hi @ChaserVasya
The code in your snippet is purely Dart, please file a new issue on Dart's repository.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Adding Twitch

Adding support for twitch connection and see twitch games

+1

+1

+1 here

Please use GitHub 👍 reactions on the issue, instead of creating "+1" comments. Thanks! 😄

https://github.com/nyash-qq/galaxy-plugin-twitch/releases

https://github.com/nyash-qq/galaxy-plugin-twitch/releases

Unfortunately, this plugin don't work anymore because Twitch games are now moved to the new Amazon Games launcher :(

https://github.com/nyash-qq/galaxy-plugin-twitch/releases

Unfortunately, this plugin don't work anymore because Twitch games are now moved to the new Amazon Games launcher :(

Can`t confirm for now. If you claim a game on the Twitch Prime site, you are recommended to download the Amazon Games app, but they still mention that the games are also available in the Twitch App.
Also there is no news or other indication that the games will be removed from the Twitch App.

I would guess that New world will be "Amazon" exclusive and won't be available on Twitch app...

Amazon integration works for me with all my Twitch Games

Closing as unrelated to this project. See https://github.com/gogcom/galaxy-integrations-python-api/issues/new/choose to find proper place to report Galaxy or plugin issues.


WSL "omnisharp.useGlobalMono" This setting can only be applied in user settings in local window or in remote settings in remote window.

Issue Description
On a WSL Linux distro with mono installed there is no way to use the "omnisharp.useGlobalMono": "never". settings.json shows "This setting can only be applied in user settings in local window or in remote settings in remote window."
Steps to Reproduce
WSL Distro with dotnet and mono-complete installed, try to open code in a project inside this WSL distro.
Expected Behavior
Successful omnisharp initialization using "omnisharp.useGlobalMono": "never"
Actual Behavior
No way to use  "omnisharp.useGlobalMono": "never" inside WSL, settings.json shows "This setting can only be applied in user settings in local window or in remote settings in remote window."
Logs
OmniSharp log
Starting OmniSharp server at 3/6/2021, 10:55:39 AM
    Target: /home/castello/tmp/liveuno/MyApp/MyApp.sln

OmniSharp server started.
    Path: /home/castello/.vscode-server-insiders/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/run
    PID: 18260

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on debian 0.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 1 MSBuild instance(s)
            1: StandAlone 16.8.0 - "/home/castello/.vscode-server-insiders/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/omnisharp/.msbuild/Current/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        MSBUILD_EXE_PATH environment variable set to '/home/castello/.vscode-server-insiders/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/omnisharp/.msbuild/Current/Bin/MSBuild.exe'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: StandAlone 16.8.0 - "/home/castello/.vscode-server-insiders/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/omnisharp/.msbuild/Current/Bin"
            CscToolExe = csc.exe
            MSBuildToolsPath = /home/castello/.vscode-server-insiders/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/omnisharp/.msbuild/Current/Bin
            CscToolPath = /home/castello/.vscode-server-insiders/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/omnisharp/.msbuild/Current/Bin/Roslyn
            BypassFrameworkInstallChecks = true
            MSBuildExtensionsPath = /home/castello/.vscode-server-insiders/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/omnisharp/.msbuild
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '/home/castello/tmp/liveuno/MyApp'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
        Detecting projects in '/home/castello/tmp/liveuno/MyApp/MyApp.sln'.
[fail]: OmniSharp.WorkspaceInitializer
        The project system 'OmniSharp.MSBuild.ProjectSystem' threw exception during initialization.
System.ArgumentException: An item with the same key has already been added. Key: Debug|Any CPU.ActiveCfg
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <9f0df102fe6e4cfea29d2e46f585d8a5>:0
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <9f0df102fe6e4cfea29d2e46f585d8a5>:0
  at OmniSharp.MSBuild.ProjectSystem.GetProjectPathsAndIdsFromSolution (System.String solutionFilePath) [0x00104] in <ecc03816ab954b569caf0cd018c8f575>:0
  at OmniSharp.MSBuild.ProjectSystem.GetInitialProjectPathsAndIds () [0x0002f] in <ecc03816ab954b569caf0cd018c8f575>:0
  at OmniSharp.MSBuild.ProjectSystem.Initalize (Microsoft.Extensions.Configuration.IConfiguration configuration) [0x00158] in <ecc03816ab954b569caf0cd018c8f575>:0
  at OmniSharp.WorkspaceInitializer.Initialize (System.IServiceProvider serviceProvider, System.Composition.Hosting.CompositionHost compositionHost) [0x00139] in <c13615cca0c74ceaa15dfd4227fc93cf>:0
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '/home/castello/tmp/liveuno/MyApp'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '/home/castello/tmp/liveuno/MyApp' on host 18161.

C# log
Post the output from Output-->C# here
Environment information
VSCode version: 1.55.0-insider
C# Extension: 1.23.9
Mono Information
        OmniSharp using built-in mono
Dotnet Information
.NET SDK (reflecting any global.json):
 Version:   5.0.103
 Commit:    9effbc8ad5
Runtime Environment:
OS Name:     debian
OS Version:
OS Platform: Linux
RID:         debian-x64
Base Path:   /usr/share/dotnet/sdk/5.0.103/
Host (useful for support):
Version: 5.0.3
Commit:  eae88cc11b
.NET SDKs installed:
3.1.406 [/usr/share/dotnet/sdk]
5.0.103 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.12 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.3 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.12 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.3 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

checkpatch
idanp
0.0.8

csharp
ms-dotnettools
1.23.9

gitlens
eamodio
11.3.0

jupyter
ms-toolsai
2021.4.625511240

linuxkerneldev
microhobby
0.2.0

python
ms-python
2021.2.625869727

uno-platform
MicroHobby
0.0.1

vscode-docker
ms-azuretools
1.10.0

Ohh my bad, I have to set "omnisharp.useGlobalMono": "never" on the Preferences: open remote settings (WSL) 😅


Pip3 mods for Python3.7

Currently pip3 is unsupported in versions of Python beyond 3.6.
This commit should modify your setup.py
I have also added documentation for the pip3 installation process for these troubled python3.7 users

I'm not going to use this exact PR, but will fix the issue and add you to the authors file. Thanks!


Fatal error on Windows

Hello!
I get this error:
Retrieving VCards from all CardDAV server(s):
[0]: https://xyzabcd.iwillhide.myserveraddress.com
Fatal error: Uncaught Error: Call to undefined function CardDavPHP\curl_init() in C:\path\to\carddav2fb\lib\CardDAV-PHP\carddav.php:647
Stack trace:
#0 C:\path\to\carddav2fb\lib\CardDAV-PHP\carddav.php(679): CardDavPHP\CardDavBackend->curlInit()
#1 C:\path\to\carddav2fb\lib\CardDAV-PHP\carddav.php(328): CardDavPHP\CardDavBackend->query('https://xyzabcd...', 'PROPFIND')
#2 C:\path\to\carddav2fb\carddav2fb.php(217): CardDavPHP\CardDavBackend->get()
#3 C:\path\to\carddav2fb\carddav2fb.php(79): CardDAV2FB->get_carddav_entries()
#4 {main}
thrown in C:\path\to\carddav2fb\lib\CardDAV-PHP\carddav.php on line 647
May you help me? And tell me what to do in order to get this nice script working?
Thanks a lot!

You need to enable php-curl (which should be part of your windows distribution) using php.ini, see: http://php.net/manual/en/install.pecl.windows.php#install.pecl.windows.loading
The project requires (as stated in the Readme): curl, ftp, mbstring

Thank you.
I edited the php.ini-production, but it doesn't work yesterday.
After renaming the file to php.ini it works. Thanks a lot! Great work!
But the script doesn't fetch any "#" in the phone numbers.
For example:
#31#+49151 12 34 56 78 -> 31+49151 12 34 56 78
The #31# suppresses the caller ID.
Can you provide this feature?


Add spawn object command

This adds a new dev tools command that spawns a RuneLiteObject at the player location. The object is destroyed when the scene is reloaded (like any other RuneLiteObject).
Example:
::spawnobject 1 - This would spawn a dwarf head.
I keep using the shell to spawn objects but this would be a lot more practical.
PS: I did not check for any exception because no exception is being caught in the other switch cases.

I updated the code to the new behaviour of client.loadModel(). This included a timeout to stop it from trying to load an invalid model forever. The timeout can be changed in case it is considered too rudimentary.


async func usage help

This will not run:

not even the print statement runs.
This however runs:

Does the async func always need to be used in a chain using methods like .always? The README examples seem to show this is not needed, but I am confused about its actual usage.
NOTE: the waitUntil func is from Nimble
Even if there was some sort of problem w/ the waitUntil func, shouldnt the 1st print statement at least execute before it timesout?

any updates???

In async func you need to define and return the value you are expecting from promise and return it in sync/linear manner.
Let me show to you an example:
func test() {
		let _ = async { _ -> String in

			let r_1 = try await(self.async_getString())
			let r_2 = try await(self.async_concatenateString(val: r_1))
			return r_2
			}.then { result in
				print("result is \(result)")
			}.always(in: .main) {
				print("always made")
		}
	}

	func async_getString() -> Promise<String> {
		return Promise<String>({ r, rj, st in
			Thread.sleep(forTimeInterval: 2)
			r("hello")
		})
	}

	func async_concatenateString(val: String) -> Promise<String> {
		return Promise<String>({ r, rj, st in
			Thread.sleep(forTimeInterval: 2)
			r("\(val) world")
		})
	}

i see. so this from the docs:
async({
	print("And now some intensive task...")
	let result = try! await(.background, { resolve,reject, _ in
		delay(10, context: .background, closure: { // jut a trick for our example
			resolve(5)
		})
	})
	print("The result is \(result)")
})

would not be correct?


Add translation for Portuguese - Brazil

Expected time to finish: 4 weeks.
I'll be working on my forked version at: https://github.com/Lavedonio/wtfpython-pt-br

Awesome, thanks @Lavedonio , if you need any help let me know :)

Hi @Lavedonio
It's been a while. Are you still planning to work on the translation?

Hey @satwikkansal.
Yeah, I do plan to finish the work I started. I went about 70% of the way (I stop right after the beginning of "The Hidden treasures" section), when I got caught up in a bunch of other stuff from my personal and professional life.
This will be a free weekend to me, so I will resume from where I stopped and try to finish the rest of it until Sunday.

Hey @Lavedonio , are you still interested in finishing the translation?


Fix: Don't packaging devDependencies.

Merged master in PR #101
Solves #90 and #154
by copy node_modules directory instead of symlinks when packaging.

:tada: This issue has been resolved in version 1.1.8 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Modified declarations from vars to const

Replaces the keywords var with const in Libraries/Lists/ListView/ListViewDataSource.js
Test Plan:

[x] Check npm run flow
[x] Check npm run flow-check-ios
[x] Check npm run flow-check-android

Release Notes:
Help reviewers and the release process by writing your own release notes. See below for an example.
[GENERAL] [ENHANCEMENT] [Libraries/Lists/ListView/ListViewDataSource.js] - Changed declarations from var to const in ListViewDataSource.js

I would change 'ENHANCEMENT' to 'INTERNAL' since it doesn't change functionality and probably shouldn't be a line item in the generated release notes.

Sorry about that!


Update NCP types

This is the beginning of the work to define and build the NCP controller, this PR specifically adds the field definitions for the NCP and generates the deepcopy ++ crd yaml.

/assign @charleszheng44 @Fei-Guo


[Bug]:Operation not permitted Error When Starting Instance on Kubernetes

Is there an existing issue for this?

[X] I have searched the existing issues

Description
The instance of the user is not starting on k8s. The error returned in the logs is:
/opt/appsmith/entrypoint.sh: line 590: /opt/caddy/caddy: Operation not permitted
Steps To Reproduce
More details in this Slack thread.
Public Sample App
No response
Environment
Production
Severity
Medium (Frustrating UX)
Issue video log
No response
Version
v1.16

Closed in this PR

You can set this env variable
APPSMITH_RATE_LIMIT=disabled and this will solve this issue


The model based on 'DTLN' project and your paper about 'DTLN-aec' can't be trained as good as your pretrained one.

Hi, Nils, after carefully reading the paper and the code in 'DTLN' project, I modified the model of DTLN to DTLN-aec's.I check the model structure again and again to make sure that it's coinsident with your paper.Then I compose the trainging data as your describe in the paper except for 'Random spectral shaping' which I'm not sure how to implement.The dataset include farend speech and echo from 'synthetic' dataset and 'real' dataset.It also include my synthesized echo data with 'DNS-Challenge 3' speech data.But the model I got performed not so well as the pretraned one.Could you help me to verify the model structure or the trainging dataset composing process?Thanks in advance!

@steven8274 hello! may I ask how to understand the "All signals used as input to the model are subject to a random gainchosen from a uniform distribution ranging from -25 to 0 dB relative to the clipping point" about "relative to the clipping point" in paper. where "the clipping point" conme from. thank you!

@steven8274 hello! may I ask how to understand the "All signals used as input to the model are subject to a random gainchosen from a uniform distribution ranging from -25 to 0 dB relative to the clipping point" about "relative to the clipping point" in paper. where "the clipping point" conme from. thank you!

In my opinion, the clipping point means the original signal, which is relative to the adjusted signal processed by the chosen gain.

@steven8274
thank you for you reply , I still don't quite understand what signal to add，example：
import numpy as np
min_gain_dB = -25
max_gain_dB = 0
random_gain_dB = np.random.uniform(min_gain_dB, max_gain_dB)
actual_gain_dB = reference_cut_point + random_gain_dB
is “reference_cut_point” like this:   if I get mic signal (Echo signal+near-end signal) value is m，whether the “reference_cut_point” is 20log(m/32767) ,16k sampling rate

@steven8274 thank you for you reply , I still don't quite understand what signal to add，example：
import numpy as np min_gain_dB = -25 max_gain_dB = 0 random_gain_dB = np.random.uniform(min_gain_dB, max_gain_dB) actual_gain_dB = reference_cut_point + random_gain_dB
is “reference_cut_point” like this: if I get mic signal (Echo signal+near-end signal) value is m，whether the “reference_cut_point” is 20log(m/32767) ,16k sampling rate

Yes, that's just my understanding.Sorry for my late relpy...

@steven8274 thank you for your reply.


⚠ Fetchers has degraded performance

In 1be679e, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 332 ms

Resolved: Fetchers performance has improved in 9cfceae.


Use jekyll themes + fix

You can look here how it looks like..
https://osowoso.github.io/SimpleX-Themes/

You can look here how it looks like.. https://osowoso.github.io/SimpleX-Themes/

I like this jekyll theme. I was holding off on applying a theme to the Pages site until we had the layout and functionality ironed out, but this looks good. The only thing I don't like is that it doesn't respect the users' dark/light browser preferences, forcing a dark theme regardless of their local settings. But it's not a dealbreaker. I'm going to have to redo the SxC Theme Archive banner because the white-base banner doesn't look great when the site is dark.
I also had to do another fix on SxC_AMOLEDblackV2_index because the changes you made broke the page. Make sure you pull the latest version of that file that you can use as a template for any future updates to the theme_index pages.
Great job all around. I'm thrilled to have someone else who knows what they're doing contributing to the project!
SLCW

You can look here how it looks like.. https://osowoso.github.io/SimpleX-Themes/

For some reason, GitHub stopped rendering the theme index pages (SxC_theme_index.md) located in the resources directory. One minute it was working fine, and the next it just stopped so that it now just displays the HTML code rather than rendering the pages properly. I have no idea what the problem is. I've tried reverting to previous versions, I've tried modifying the files, and I've tried redeploy GitHub Pages. Nothing has had any effect. I would appreciate it if you could take a look at it and see if you can figure out what the problem is. The repo works fine, it's just the GitHub Pages site that's busted. You'll see that the main page (README.md/html) renders fine, but if you try to click on any of the themes, you'll just get the HTML code instead of the rendered page. Lemme know what you can figure out.


[windows] fix implementation of GetProgramDataDir

What does this PR do?
Fixes the problem in GetProgramDataDir(); the cgo implementation was not returning the right string

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2686   +/-   ##
=======================================
  Coverage   56.69%   56.69%
=======================================
  Files         380      380
  Lines       24094    24094
=======================================
  Hits        13661    13661
  Misses       9520     9520
  Partials      913      913


[FEATURE] Support update connector without undeploying the model

Is your feature request related to a problem?
Currently the update connector API checks all the usage of it and only when no model using it, then update operation can go through, but this doesn't seem reasonable, especially for remote models.

When remote model deploys, it's an object creation and put into a map: https://github.com/opensearch-project/ml-commons/blob/main/plugin/src/main/java/org/opensearch/ml/model/MLModelManager.java#L1144
When connector information changed, the connector information and cached model info can be retrieved, then updating the model in cache should able to redeploy the model with new connector info.

What solution would you like?
Adding a new parameter like redeploy_model=true in the url param can reduce the manual effort to undeploy/deploy the model.
What alternatives have you considered?
Change the default behavior to automatically redeploy the model after connector updated.
Do you have any additional context?
Add any other context or screenshots about the feature request here.

@b4sjoo Has built update connector API which doesn't need redeploy model for internal connector. Sicheng, can you help take this to support standalone connector too?

With auto deploy for remote models, this can be easily done as follow:

Update the connector and save the new connector meta into the ml-connector index. (already in the current API)
Undeploy the models that are associated with the connector. (single line change)

After UpdateConnector is done and when the connector is used by any model, the model will be auto-deployed with the updated connector. People may ask why my model is un-deployed once the connector is updated? Because you have a very important metadata updated which means you model has changed so we un-deployed your model. However, it doesn't introduce any downtime or disturb how you can use your model. From the users point of view, the availability and usability remain the same.
Related: https://github.com/opensearch-project/ml-commons/issues/1148, https://github.com/opensearch-project/ml-commons/issues/2376

With auto deploy for remote models, this can be easily done as follow:

Update the connector and save the new connector meta into the ml-connector index. (already in the current API)
Undeploy the models that are associated with the connector. (single line change)

After UpdateConnector is done and when the connector is used by any model, the model will be auto-deployed with the updated connector. People may ask why my model is un-deployed once the connector is updated? Because you have a very important metadata updated which means you model has changed so we un-deployed your model. However, it doesn't introduce any downtime or disturb how you can use your model. From the users point of view, the availability and usability remain the same.
Related: #1148, #2376

Is there any possibility that the model's un-deploy and auto deploy happens at the same time causing any unexpected status?

The "unexpected status" is too general so it's hard to imagine all edge cases or racing conditions to happen. We need to state it clearly that it's not recommended to predict a model when you are in middle of updating the connector. Before the un-deploy finishes, auto-deploy will not happen because old models are still in the memory so predictions are still based on the old model if you predict a model while updating the connector.

That doesn't seem a good user experience, if user is updating some http client related parameters, e.g. connection timeout, the good user experience would be: the prediction can keep happening and for the instances that received this update, the afterward predictions honer the updated connection timeout setting, for the instances that haven't received this update, the predictions honer the old connection timeout setting.
The thing is currently updating connector can cause data loss on production since it requires to un-deploy the model, so our purpose should be avoiding this to give user seamlessly experience, without data loss.

It will not have data loss. The auto-deploy will refresh the new connector for you with updated params. It only may introduce data inconsistency in a short time window.


Some functionality of original WorldAnchorHandler missing in new port

WorldAnchorHelper in original GE has more functionality that hasn't been brought into new WorldAnchorHandler
Need to look into the old functionality, and transfer/implement what's necessary

No longer relevant with latest version of Galaxy Explorer


SIL license used, but not mentioned in LICENSE file

While packaging for fedora, the licensecheck tool found:
sassc-rails-2.1.2/rdoc/css/fonts.css: SIL Open Font License 1.1
Please include it in your License file.

Note that this license is AFAIK shortened to OFL.


How to reduce timeout or deadline?

Hello,
Is there a way to reduce the timeout (or deadline) time? Actually, it's 30 seconds and way to long for my purpose.
Thanks!

Hi, this relates to the client implementation you use. You can however unsubscribe from observable after let's say 10s which would be your desired timeout. Unsubscribe terminates (cancels) the request which is exactly what the timeout would do. You can either do it directly on subscription or use some of rxjs pipes


Started draft of About page - outreach team

Thought I'd just get this started - happy to adjust according to feedback 👍🏻

We will just need to add new outreach members, but love the idea

Ok. I'll merge now and we can add to it in future PRs.


Terragrunt Apply - Got 0 resources applied when Terraform fails

I got the following error when deploying through terragrunt
Error: timeout - last error: http response error: 401 - invalid content type
This is because my winrm configuration was incorrect.
  Terraform will destroy all your managed infrastructure, as shown above.
  There is no undo. Only 'yes' will be accepted to confirm.

  Enter a value: yes

Destroy complete! Resources: 0 destroyed.

When I was using Terraform binary i could just execute terraform destroy and it will destroy the objects that were created prior to the error.

The destroy command is based off what is in your state file. How are you managing the state file? Are you using some backend? Or is it local, on disk? Could you perhaps have accidentally deleted or moved the file?

The state file is local on disk. But even when using Terraform itself without Terragrunt, I can destroy part of the resources that were created.

If the same thing is happening with Terraform, then I don't think it's related to Terragrunt?


App sometimes starts to blank screen on macOS

On macOS when running
yarn start

The app sometimes starts up to fullscreen mode with a blank grey screen. Even if you leave it for several minutes the configured content never displays.
If you press the Settings keyboard shortcut, ctrl+, the configured content will flash on for a half second, before the app navigates to the settings page.
I haven't seen this behavior on Windows. I also haven't seen the behavior in the packaged version of the .app program.

Moved to Jira - https://smm.atlassian.net/browse/EXTCH-43


Changed Hipchat API from V1 to V2

I don't have an instance of this setup anymore. Have you tested this and made sure it's working?


Downloads from rule34.paheal.net suddenly are all failing

Bug description
I use this app almost every day and have done so for years. I regularly download from rule34.paheal.net and as of at least now, all downloads from rule34.paheal.net are mysteriously failing.
To be specific, this only happens when downloading in bulk. The search results look normal and I can open individual images and save them without issues.
Steps to reproduce

Launch Grabber
Choose rule34.paheal.net as a source
Perform any search which will yield results
Select "Get all"
In the Downloads tab, initiate the download via "Download" or "Download Selected"
Each download attempt for every image from rule34.paheal.net is failing after cycling through the various file types

Expected behavior
Downloads succeed with few/no exceptions
Context
This defect template lacks specifics for providing what you need when the app is installed on a Mac system. I've tried searching the usual places that I'm aware of for these files and am coming up short. I'll give you the logs and settings if you can pretty please tell me exactly where to find them.
Screenshots

System information

OS: macOS Sonoma 14.2.1
Grabber version: 7.11.2 & also I tried the Feb. 3 2024 nightly, same result

Additional context
I will provide what's needed, please help me find it if you need it but I suspect you'll be able to repro.

Issue was server-side.


Repo sync for protected CLA branch

The pull request is created from main637786444650721183 to main to fix git push error for protected CLA branch

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


feat: create nix flake and palette

I often end up hardcoding catppuccin colors in my home-manager config, which breaks my global flavour and accent options. Having something like this would remove the need to do that.
Feedback welcome!

Closing as superseded by #46.


Middleware doesn't work on Android / IOS for Preprod and Release BuiltType and real devices.

When i compile for developpement everything is workign fine, i am on airplane mode, start a fetch request and middleware catch it, perfect.
As soon as i switch to preprod or release config on Android and IOS, i do the exactly same test with same code, but unfortunately the middleware doesn't catch anything and i end up with this on Android Studio and XCode console :
E/ReactNativeJS: [TypeError: Network request failed]
E/unknown:React: Network request failed, stack:
                                                  onerror@134:13650
                                                  value@124:1505
                                                 etc etc...

I can use the offline library successfully in iOS and Android in debug mode. However, when i run it in iOS release mode, the middleware part does not work, thus, it cannot intercept the thunk action call when there is no network. I have  no idea what is wrong now.
May i ask if your problem is solved? If so, can you let me know how to solve it?
Thanks a lot

The problem is that the packager minifies the JS in production mode, in a way that function names are transformed and shortened, so the middleware doesn't understand that transformation.
There is a simple workaround, which would be to add another property to the function returned by the thunk (apart from the optional meta), something like name.
Would you like to put together a PR? :)

It could be a pleasure to help you solving this issue, but i have strictly no idea how to do this :)

@rauliyohmc, i have tried your workaround "fetchData.interceptInOffline = true". However, the problem is still there with the release version. May i ask what else i can try?
Thank you.

I mean, that solution is not implemented yet, that's why I suggested you to create a PR :)
I'll try to release a new version over the weekend that fixes it.

Fantastic, thank you Raul !

@Rauliyohmc,
I cannot get the thunk function properties in CreateNetworkMiddleware.js. It just return "undefined" when i call action.meta, and action.interceptInOffline.
The following is my thunk actioncreator function.
export function fetchHomeList(url) {
let fetchData = (dispatch, getState) => {
const {page, seed} = getState().myapp;
return fetch(${url}?seed=${seed}&page=${page}&results=20)
.then((response) => response.json())
.then((res) => dispatch(setHomeList(res)))
.catch((err) => dispatch(setHomeListError(err)));
}
}
fetchData.meta = {
retry: true, // By passing true, your thunk will be enqueued on offline mode
};
fetchData.interceptInOffline = true;
return fetchData;
};
In the meantime, i am seeing how to create a pull request.
Thank you for your advice

Pardon my possibly limited knowledge of semantic versioning.. but how can this be on a 3.0 release version if it doesn't even work in production?
Sorry, just curious.

@jay-at-avido it is because I've been introducing breaking changes in the API, for the sake of improving it. It started as a bunch of utilities I wrapped up into a library, so I've been iterating a lot since then, stopping at each point of introducing a new feature and thinking about the best API I could offer to the consumer. Also, it's being my first OSS library shaped up, so as a beginner in that matter, I know the versioning it's a bit misleading, taking into account that the library has only 3 months since its creation.
I am using it in production and I can tell you it works perfectly with redux-saga and redux-observable. I hadn't tried out so far with redux-thunk. Even though the functionality is unit tested, I hadn't stumbled upon this issue in production (as you could see in the issue's thread).
No offense taken ;) I encourage you to give it a try in your upcoming projects.
I'll try to put together between today and tomorrow. I know lots of people rely on redux-thunk as their middleware for side effects, so I am taking this as high priority.

@rauliyohmc, thank you so much for your great effort. Yes, you are right, plain action works properly in release mode, thus redux-saga and redux-observable would work perfectly.
Waiting for your new fix.
Thanks a lot.

@pongponglau I released a new minor version with the fix. Please let me know if it works now.

@rauliyohmc, sorry for my late reply.
I have tried your new release. It works great in ios release mode with thunk.
Nonetheless, the function property "meta = {retry: true,};" is also needed.
Thanks a lot.


projectDocuments in a merge entryPointStrategy site

Search terms
entryPointStrategy, merge, projectDocuments, documents

Question
Hi,
I am having trouble setting up projectDocuments for my typedoc site.
I am building a Typedoc site with "entryPointStrategy": "merge", that takes in two --json builded sites. Project documents work fine in the root Typedoc project. However if I try to add some in the two --json builded site, they don't show up.
They seem to show up as "documents" in the json file so I am not sure what I am doing wrong. Before digging up further, is this something that is supported ?

Yes, this is supported! I just pushed a gh2801 branch to typedoc-packages-example which demonstrates it (build with the advanced settings in the readme to replicate your JSON setup)

Note that the documents for sub-projects will show up within the module created for that project, not at the top level.

I see, thanks for the example. My problem was that I had his at the root typedoc (the one merging). and it was removing the projectDocuments. Dont know if this would count as a bug.
  "navigation": {
    "includeGroups": true
  },

That repo has an old version of typedoc installed - before 0.27 categorization/grouping wasn't performed on merged projects, so yes, it won't work there.

Hi, I updated to the latest version and it still does not work. I have tried many setups and could not find one where I had categories/group + sub package documents.

That's a bug! The group/category restoration code missed checking for documents, easy fix at least.


Cursor position is lost if you switch tabs

In IntelliJ, if you have your cursor set on a specific hex byte, like when you are examining a binary field, then you switch tabs to another source file you want to look at by pressing Ctrl-tab, then switch back to the BinEd hex display, the cursor is gone and you don't know where you were before.
It is important for the cursor to remain where it was because it acts like a placeholder. For example, you may be in the middle of decoding a complex binary structure and writing parsing code in another source file so you need to switch back and forth without losing your place.
Using BinEd v 0.2.1 and IntelliJ IDEA 2019.3 on Windows.

Actually this is an issue with focus - component loses focus when windows are switched for some reason. I'll try to look into it.


Fixes #1757, do not resolve hash-only urls used for routing

Fixes #1757 by applying the same fix that was used in 0.5 in #651:
https://github.com/Polymer/polymer/blob/c7169640c567fb9bc709207ecbd9f747f8df48d5/src/lib/url.js#L103-L106

I'll merge this and add a test. Thanks!


Split datetime-local to date and time

1.Move date and time to the same row
2.Reduce the blank space
3.hide the time when the all-day event checkbox is selected.


Implements basic support for Enyaq set_charge method

A dirty patch of making vehicle.set_charge() work for Skoda Enyaq, done in scope of #24 . Making this more library friendly is more then welcome.

Incorporated this manually with library friendly adaptations.


Old screenshots of portal

The screenshots to create a virtual network gateway do not reflect the new interface in the portal

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

ID: 59e72010-dab4-54d9-1409-c95b0ce60824
Version Independent ID: 0da5450c-6181-1c27-93c0-b0c698d2d598
Content: Connect a computer to an Azure virtual network using Point-to-Site and native Azure certificate authentication: Azure Portal
Content Source: articles/vpn-gateway/vpn-gateway-howto-point-to-site-resource-manager-portal.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@emmasab , Thank you for your feedback.
@cherylmc , Can you update the documentation with the latest interface Screenshot?

Taking a doc bug on this. Thanks! #please-close


[ENHANCEMENT] (Some minor UI improvements)

Please confirm these before moving forward

[X] I have searched for my feature proposal and not found a work-in-progress/duplicate/resolved/discarded issue.
[X] This improvements refers to an existing feature. If you want to suggest a new feature, please use this template
[X] This improvements is not a bug. If you want to report a bug, please use this template

Describe the improvement
Currently using WIngetUI 2.2.0

The loading screen for WIngetUI looks a little too tall (perhaps make it slightly shorter in height whilst keeping the width the same - this would make it look more similar to the loading screen proportions for Outlook 365, etc.)

Under the 'software updates' tab, the search box says 'Search on available updates' - changing that to 'Search for available updates' would look better

Under the 'installed packages' tab, the search box says 'Search on your software' - changing that to 'Search installed software', or 'Search installed packages' would look better

The only other change could be to move the refresh button (next to the search and filter buttons' down, making it bigger so it is in line with the help button and pin button, etc., but justified all the way to the right

Describe how this improvement could help users.
Making these changes will make the UI look a little better (though be careful with the last suggestion - you do not want to confuse people with the update selected packages button that is on the left) - suggestion 4 may even be counter-intuitive, as the refresh button is further from the search bar

I will take them into account

Just to chime in rather than open a whole other issue:
Confirmation dialogue pop-ups. Under Experimental settings, there is the 'Reset WingetUI and its preferences' option which doesn't provide any "Are you sure?" pop-up. This makes me concerned for options such as Scoop's 'Uninstall Scoop (and its packages)' option, which I certainly would not like to accidentally press for obvious reasons. I hope it and other WingetUI options which cause irreversible / major changes provide a UI confirmation. I'd rather not experiment myself only to shoot myself in the foot (I'm new, only downloaded WingetUI today). Thanks.

Hello @redactedscribe,
I will also take your suggestions into account

One more thing that can be changed: under 'WingetUI settings', the package manager preferences include options to use System WInget and System Chocolatey. Next to those options, it says in brackets 'Needs a restart'. This can be changed to 'requires restart', which would be in line with many Windows 11 settings. The r in 'requires restart' probably should be lower-case, in line with the other options in WingetUI that are enclosed within brackets.


[plugins/archlinux] add alias for yay

Yay another Yogurt - An AUR Helper written in Go
Considering the  Arch wiki: AUR helpers, I think yay is more robust and powerful than yaourt.
I alias yay with the same commands as yaourt, I think most people will not use them together.

Definitely yay should be above outdated pacaur and yaourt.

Up +

Can you add these to the README?

👍


Traffic apply error if endpoints are updated from device to ports

Test1(test_ip_device_and_flow.py) has endpoints as devices
Test2(test_flow_rate.py) has endpoints as ports.

If Test1 and Test2 are run consecutively, will get the below error
Unable to create endpoint sets. Verify the endpoints are valid.
Attaching two tests for issue reproduction
test_ip_device_and_flow.zip

At the time of debugging in IxNetwork it looks like similar issue fix within IxNetwork-9.10Update1 (BUG1547380: Unable to create traffic item after destroying topology).
I am not getting this issue in IxNetwork-9.10 Update1. Could you please validate it.

@ANISH-GOTTAPU please check this in IxN 9.10 update 1


Handle videos with streams having different frame dimensions for different timestamps

I have seen videos that have AVFrames in a single stream have different dimensions.
Example: the first AVFrame of the stream could have size 100x100 but the second one could have size 200x200
We should at the minimum detect this condition and report it to the user.
Or handle it gracefully somehow. For non-batch functions we could return the size of the actual frame.
For batch functions that return a stacked tensor we could just fail or return a resized frame

Do we have such a video that we could add to our testing suite?


ARGB components order and kSoftware

I'm using embedding version 3c51a7bfff776e9e3011384f4ff09c13a697c6b6 into Java Swing, and I have a problem with the order of pixel components.
I have to do the following transformation of pixels that I get from the engine on Mac.
        for (int i = 0; i < pixels.length; i++) {
            int pixel = pixels[i];
            int pa = (pixel & 0xFF000000) >> 24;
            int pb = (pixel & 0x00FF0000) >> 16;
            int pg = (pixel & 0x0000FF00) >> 8;
            int pr = (pixel & 0x000000FF);
            pixel = (pa << 24) | (pr << 16) | (pg << 8) | pb;
            pixels[i] = pixel;
        }

So, that I get correct colors.

vs. this without transformation.

But on Windows 7 x64 I don't have to do this transformation, but I use MS VS compiler instead of clang. Although I don't do anything special to specify endianness. This is the same CPU, Windows 7 is run in VMWare Fusion on this Mac.
On Windows:
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"

c:\Work\cpp\flutter\flutter-java-embedder\native>cl -I "C:\Program Files (x86)\Java\jdk8\include" -I "C:\Program Files (x86)\Java\jdk8\include\win32" -I "C:\Work\cpp\flutter\flutter-java-embedder" /std:c++latest /EHsc /MD /LD "C:\Work\cpp\flutter\flutter-java-embedder\FlutterEmbedder\flutter_engine.dll.lib" FlutterEmbedding.cc

On Mac:
build_native:
	cd native && \
	c++ -std=c++17 \
		-F. \
		-framework FlutterEmbedder \
		-Wl,-rpath . \
		-I. -I"${JAVA_HOME}/include" \
		-I"${JAVA_HOME}/include/darwin/" \
		-o libflutterembedding.jnilib \
		-shared \
		FlutterEmbedding.cc

The code for the kSoftware callback.
Note that commented code that forces pixels, when I uncomment it, I get expected solid green pixels rendered on Java side.
      config.software.surface_present_callback = [](
        void* userdata,
        const void* allocation,
        size_t rowBytes,
        size_t height
      ) -> bool {
        auto instance = reinterpret_cast<FlutterEmbedding*>(userdata);

        JNIEnv* env;
        instance->jvm->AttachCurrentThread((void**) &(env), nullptr);

        jclass cls = env->GetObjectClass(instance->object);
        jmethodID method = env->GetMethodID(cls, "softwareSurfaceReady", "([III)V");

        auto nativePixels = static_cast<const int32_t*>(allocation);
        auto width = rowBytes / 4;

        auto pixelsLength = width * height;
        auto javaPixels = env->NewIntArray(pixelsLength);
        env->SetIntArrayRegion(javaPixels, 0, pixelsLength, nativePixels);

//        jint *body = env->GetIntArrayElements(javaPixels, 0);
//        for (int i = 0; i < 100000; i++) {
//          body[i] = 0xFF00FF00;
//        }
//        env->ReleaseIntArrayElements(javaPixels, body, 0);

        env->CallVoidMethod(instance->object, method, javaPixels, width, height);

        instance->jvm->DetachCurrentThread();

        return true;
      };

Screenshot bitmaps are encoded using Skia's kN32_SkColorType format.  See https://skia.org/user/api/SkImageInfo_Reference#SkColorType
kN32_SkColorType selects the native 32-bit ARGB format. On Little_Endian processors, pixels containing 8-bit ARGB components pack into 32-bit kBGRA_8888_SkColorType. On Big_Endian processors, pixels pack into 32-bit kRGBA_8888_SkColorType.

Skia's headers select BGRA versus RGBA format here:
https://github.com/google/skia/blob/master/include/core/SkImageInfo.h#L90
Take a look at how Skia's endianness macros are set in your build environments to check whether Skia is using a consistent encoding on each target platform.

@scheglov
Are you still facing this issue using latest Flutter version ? Does https://github.com/flutter/flutter/issues/35655#issuecomment-509790779 answer / help to resolve your issue ?

I have not worked on this project since then, so I cannot say.
Consider this issue as not important to me anymore.

Closing this based on above comment.


Add EEStackLayout

Project URL
https://github.com/efekanegeli/EEStackLayout
Category
UI
Description
Added EEStackLayout to the list.
This is a stack layout where you don't need to worry about arranging the size of the stackviews. You just add the needed subviews to it.
Why it should be included to awesome-ios (optional)
When I searched for something like this, there wasn't any.
Checklist

[x] Only one project/change is in this pull request
[ ] Has unit tests, integration tests or UI tests
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 4 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

204
404
https://www.pluralsight.com/courses/exploring-google-maps-for-ios

1068
301
https://github.com/MailOnline/ImageViewer redirects tohttps://github.com/Krisiacik/ImageViewer

2818
301
https://github.com/xcode-project-manager/xcproj redirects tohttps://github.com/xcode-project-manager/xcodeproj

3061
404
https://www.pluralsight.com/courses/try-objective-c

  Generated by :no_entry_sign: Danger

@efekanegeli Thanks for contributing. Unfortunately, we cannot merge your PR yet until you write some tests for your lib. Feel free to open another PR once it is ready.


chore: add ci-cd workflow for pre-commit checks

Description

add ci-cd workflow for pre-commit checks

Motivation and Context

provide static checks for pull requests

Breaking Changes

no

How Has This Been Tested?

copy of what is implemented in SQS module repository

Couple of issues and ideas - https://github.com/terraform-aws-modules/terraform-aws-lambda/runs/1947301594?check_suite_focus=true :

I think we need to verify and panic only if anything fails when using max version
I think we need to disable terraform_fmt, terraform_docs, terraform_tflint checks when using min version because Terraform updates fmt and terraform-docs changing behavior from time to time.


nz-overlay-container z-index not large enough

I'm submitting a...

[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here

Current behavior

nz-overlay-container zIndex not large enough, may cause style bug.
Expected behavior

increase z-index 10x larger
Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment

Angular version: X.Y.Z

ng-zorro-antd version: X.Y.Z

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX

For Tooling issues:
- Node version: XX
- Platform:

Others:

fixed in version 0.7.0


chore: update deps

Description
Run nuxi upgrade --force and npx taze -w to update deps
Remove "strict": true from tsconfig.json, which seems to be included in .nuxt/tsconfig.json, and add tsconfig.json to the server directory

😥I seem to have forgotten to set corepack enable


Workspace upgrade - View your subscription links in upgrade success RHP opens Workspaces page

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

Version Number: 9.0.22-5
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Go to staging.new.expensify.com
Create a Collect workspace.
Go to workspace settings > More features.
Enable Report fields.
Click Upgrade.
Click View your subscription on upgrade success RHP.

Expected Result:
App will open subscription page.
Actual Result:
App opens subcription page, then quickly opens Workspaces.
Workaround:
Unknown
Platforms:

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

Screenshots/Videos
https://github.com/user-attachments/assets/85aaf8ff-875c-4ab6-bd33-5e44f2bf8590

View all open jobs on GitHub

We think that this bug might be related to #wave-control

@kevinksullivan  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Proposal
Please re-state the problem that we are trying to solve in this issue.
Access your subscription links after successful upgrade by opening the Workspaces page in RHP.
What is the root cause of that problem?
When blur, the confirm process executed with navigate.
https://github.com/Expensify/App/blob/0e4f02e116b03dcab3cb7a69e1c3a6e95b1d8443/src/pages/workspace/upgrade/WorkspaceUpgradePage.tsx#L56-L60
What changes do you think we should make in order to solve the problem?
Add shouldNavigate param to confirmUpgrade function, and only navigate when clicked the button.
otherwise default to false
    const confirmUpgrade = useCallback((shouldNavigate : boolean = false) => {
        console.log('[wildebug] confirmUpgrade called with shouldNavigate:', shouldNavigate);

        if (!feature) {
            console.log('[wildebug] feature is not defined');
            return;
        }

        switch (feature.id) {
            case CONST.UPGRADE_FEATURE_INTRO_MAPPING.reportFields.id:
                Policy.enablePolicyReportFields(policyID, true, true);
                if (shouldNavigate) {
                    console.log('[wildebug] Navigating to:', ROUTES.WORKSPACE_MORE_FEATURES.getRoute(policyID));
                    return Navigation.navigate(ROUTES.WORKSPACE_MORE_FEATURES.getRoute(policyID));
                }
                break;
            default:
                if (shouldNavigate) {
                    if (route.params.backTo) {
                        console.log('[wildebug] Navigating to backTo route:', route.params.backTo);
                        return Navigation.navigate(route.params.backTo);
                    } else {
                        console.log('[wildebug] Navigating back');
                        return Navigation.goBack();
                    }
                }
                break;
        }
    }, [feature, policyID, route.params.backTo]);

...
            {isUpgraded && (
                <UpgradeConfirmation
                    onConfirmUpgrade={() => {
                        confirmUpgrade(true);
                        Navigation.dismissModal()}}
                    policyName={policy.name}
                />
            )}

What alternative solutions did you explore? (Optional)
N/A

i'll be OOO next week so if/when the pr is up and i'm not back we can always re-assign

@rayane-djouah can you add 🎀 👀 🎀 C+ reviewed to assign another engineer, then ping them in a comment to ask for 👀 on the PR?  Thx

Waiting on the regression PR to be deployed for 7 days. Looping in another BZ for payment as I'm going OOO

I'll issue payment as soon as the regression window has passed 👍

Payment has been issued! 🎉
@rayane-djouah / @dominictb can you please provide a regression test step list if one is required?

@johncschuster can you plz post payment summaries in the format in this SO?  For auditing purposes we need to know who was paid, how much, and via Upwork/NewDot.  @rayane-djouah is the C+ who needs to provide the regression test steps.  Thx

Sure thing!

Payment Summary:
Contributor: @dominictb paid $250 via Upwork
Contributor+: @rayane-djouah paid $250 via Upwork
Upwork job here! ~Please apply~ This has been paid

Thanks, @rayane-djouah! I've created a QA issue and have paid this one out. Closing!


Change name of Windows defender in architecture picture

Change "Windows Defender" to "Microsoft Defender" in Architecture picture of Azure ATP.
Windows Defender has changed name to Microsoft Defender.

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

ID: 3e880e6e-9cae-b122-14d9-963eee86d9cc
Version Independent ID: c8ab5d85-f3a4-2c24-d6c6-5940e26aea42
Content: Azure Advanced Threat Protection prerequisites
Content Source: ATPDocs/atp-prerequisites.md
Service: azure-advanced-threat-protection
GitHub Login: @mlottner
Microsoft Alias: mlottner

@MortenPedholt Thanks for taking the time to comment. I'll check the naming conventions and update the diagram as needed.

#please-close


feat: Showing collection information used inside the workspace details

This will show the collection details used by this workspace inside the variables tab like this:

Fix #1146

Quote reply

Hello @adamlc
You can test it using this  version 2.24.0-beta.6, you can use the terraform provider to add or remove the collection from a workspace you can check:
https://github.com/AzBuilder/terraform-provider-terrakube/pull/88


Tailwind Linter

This pull request contains changes for streamlining your Tailwind configuration file and utilities.
Before merging, you need to:

Checkout the shift-108289 branch
Review all pull request comments for additional changes
Verify your Tailwind build

:alembic: This Shift is still being refined. Please report any issues or suggestions to<EMAIL_ADDRESS>Your feedback is what helps improve the experience for everyone.


Source Engine enhancements

In this bug report/feature request I would like to touch upon 2 issues;

Resistance Element returns following error even if Source SDK Base 2013 Singleplayer and Half-Life 2: Episode One are installed already:

Unable to load surface prop file 'scripts/surfaceproperties_ep2.txt' (referenced by manifest file 'scripts/surfaceproperties_manifest.txt')

Installing Half-Life 2: Episode Two fixes the issue. Can HL2:EP1 replaced by HL2:EP2 in Resistance Element Luxtorpeda script?

As I mentioned HL2: DownFall package request, HL2 has recently been updated with beta branch which offers up to 110 degree FOV and optional Vulkan renderer.

https://github.com/luxtorpeda-dev/packages/issues/554
In that regard, can Luxtorpeda offer option to choose between Source SDK 2013 and HL2:EP2 for HL2 mods on Steam? Those are;

Entropy : Zero : https://steamdb.info/app/714070/
Half-Life 2: DownFall : https://steamdb.info/app/587650/
Half-Life 2: Year Long Alarm : https://steamdb.info/app/747250/

@rea987
I was unable to get the hl2 episode 2 version of downfall to work. If you can provide a pr for that, feel free.
I believe that not all of the games here would work with hl2, there have been issues with using the wrong client before, with scripting errors and the like. If you're able to show that using hl2 instead of the source sdk works, then please provide gameinfos and any other necessary information.

@rea987
https://github.com/luxtorpeda-dev/packages/commit/f24d94df4ee3133aea29109cdb167cab4f48550b should fix it where ep2 is required, instead of ep1.

To avoid HL2, HL2:EP1, HL2:EP2 and Source SDK 2013 interfering with each other, I deleted all of them, cleared their directories then reinstalled fresh HL2:EP2. I was able to run Half-Life 2: DownFall and Half-Life 2: Year Long Alarm as a HL2:EP2 mod by editing gameinfo.txt.

Half-Life 2: DownFall:
https://gist.github.com/rea987/c4dad7cebc12c1a9701a5cb3d1e68fb1

Half-Life 2: Year Long Alarm:
https://gist.github.com/rea987/f9428dfba5339943df273230917ab36f

However, I was unable to do the same with Entropy : Zero; considering that the port uses compiled binaries from z33ky project project, it's expected.

@rea987 thanks I'll take a look when I have a chance

@rea987
I was unable to get that to work with those two games to use hl2 instead of the source sdk 2013. This is most likely because your test is about getting them to run as sourcemods, when the scripts are trying to launch them from a steam game.
The scripts for each game are here: https://github.com/luxtorpeda-dev/packages/tree/master/engines/source-sdk-2013/assets
If you're able to make changes to those that get this to work, let me know.


Add --discover-files, mutually exclusive to --file-list

Instead of explicitly specifying which files to sanitize with a file list, the -d|--discover-files flag should search through all files in the repository for sanitizer blocks. It must be mutually exclusive to --file-list.

How will this work with #17? The logical way I can think of is that you only want it to yell if you have specified a file to sanitize and there is nothing to sanitize. When you want it to sanitize everything it can find, it doesn't matter, and therefore it shouldn't yell

@tohanss We should not attempt to sanitize a file that does not have markers, and so this functionality is orthogonal to #17. The point of discovery is to find the files to sanitize, and that should only be files that contain markers. If somehow we still try to sanitize a file without markers, then there has been a mistake in file discovery, and #17 still applies.
To give you a better idea, discovery/dictate should look something like this on a high level, in _sanitize_repo:
    def _sanitize_repo(
        self, args: argparse.Namespace, api: None,
    ) -> Optional[Mapping[str, List[plug.Result]]]:
        message = _check_repo_state(args.repo_root)
        if message:
            return plug.Result(
                name="sanitize-repo", msg=message, status=plug.Status.ERROR,
            )

        # The only difference between discovery and dictate is how the relpaths are determined
        file_relpaths = _parse_file_list(args.file_list) if args.file_list else _discover_dirty_files()

        if args.no_commit:
            LOGGER.info("Executing dry run")
            _sanitize_files(args.repo_root, file_relpaths)
        else:
            LOGGER.info(f"Sanitizing repo and updating {args.target_branch}")
            _sanitize_to_target_branch(
                args.repo_root, file_relpaths, args.target_branch
            )


Unclear difference between "browse the directory structure" and "open folders"

For the section "If you enable this setting, users can browse the directory structure of the selected drives in My Computer or File Explorer, but they cannot open folders and access the contents. Also, they cannot use the Run dialog box or the Map Network Drive dialog box to view the directories on these drives." what is the difference between "users can browse the directory structure" and "they cannot open folders"? To me, browse a directory structure includes navigating through the folders.
Should it be "but they cannot open folders to access the contents" ?
Could this be clarified further?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6fe02a28-215f-f176-6086-8e79fcb48471
Version Independent ID: f9143995-669d-be4d-3632-be2d0517d452
Content: Policy CSP - ADMX_WindowsExplorer - Windows Client Management
Content Source: windows/client-management/mdm/policy-csp-admx-windowsexplorer.md
Product: w10
Technology: windows
GitHub Login: @ManikaDhiman
Microsoft Alias: dansimp

Fair question. Looks like a good suggestion.
Maybe we just need to verify how it needs to be written to adhere to Microsoft Docs conventions, and to clarify the actual difference between

Browse the directory structure (setting Enabled)
Open folders and access the contents (setting Disabled)

Looking forward to suggestions from the tech writers to how this can be clarified properly.

Hello @GenerAhl - Thank you for your query. As per descriptions of the content, it says that users can browse the directory structure of the selected drive, this means that you can browse the directories like (see image below).

As you can see that we can browse through the directory but can't access the contents of the folder. Like we can do in explorer as

Hope this clarifies everything.
Thanks
Imran.

@joinimran thanks for your explanation but unfortunately it only states the same thing as I was asking :)
To me, opening a folder would reveal any (potential) folders in it and opening folders within that folder would reveal folders there, essentially "browse the directory structure".
Hence, my point is that we should not state that the user cannot open folders (if they cannot open folders they cannot browse the folder structure) but instead state that they cannot "open files" or potentially even "see the files".
In short: I don't like the wording "open folders" as we do allow users to open the folders, we simply only show folders in that folder, not any files.
Is this making more sense?

In short: I don't like the wording "open folders" as we do allow users to open the folders, we simply only show folders in that folder, not any files.

Thanks. To me, it makes sense, because I was trying to find a way to describe the fact that we are able to traverse the folder structure and se subfolders, hence we are able to browse and open folders, but not see the file content or data content (as presented by file type or icons).
We should find a Microsoft approved way to state that it is possible to browse the directory structure, see subfolders, but not access any file data in the folders.

Closing via #9574
Thank you


License of Tomboy NG and its software dependencies?

In looking to see about performance-related issues posted for KMemo in regards to #29 i went looking for the KMemo repository and found http://wiki.freepascal.org/KControls with this worrying sentence:
"KControls is provided free on 'as is' basis, with complete source code. However, it is licensed software. More information about license can be found in source file headers."
Anything that wouldn't have a license that could be included in Debian wouldn't be a Tomboy replacement for me.  :-/

KMemo.pas -
License:
This code is distributed as a freeware. You are free to use it as part
of your application for any purpose including freeware, commercial and
shareware applications. The origin of this source code must not be
misrepresented; you must not claim your authorship. All redistributions
of the original or modified source code must retain the original copyright
notice. The Author accepts no liability for any damage that may result
from using this code.

I am assuming no one is still worried about this issue.


QueryCache: Memory leak when using dbContext.Set<> in subquery

When using dbContext.Set<MyTable1>() query cache is caching each instance that will fill memory with the same query.
The following is the result from https://github.com/Tasteful/bugs/blob/query-cache-memory-leak/MemoryUsage/Program.cs#L29-L56 where the only different is that the first result is using DbSet<> and the second using Set<>.
Query cache is working, using the dbContext.MyTable1
Before iteration 0 query cache count 0
After iteration 0 query cache count 1
Before iteration 1 query cache count 1
After iteration 1 query cache count 1
Before iteration 2 query cache count 1
After iteration 2 query cache count 1
Before iteration 3 query cache count 1
After iteration 3 query cache count 1
Before iteration 4 query cache count 1
After iteration 4 query cache count 1

Query cache is not working, using the dbContext.Set<MyTable1>()
Before iteration 0 query cache count 1
After iteration 0 query cache count 2
Before iteration 1 query cache count 2
After iteration 1 query cache count 3
Before iteration 2 query cache count 3
After iteration 2 query cache count 4
Before iteration 3 query cache count 4
After iteration 3 query cache count 5
Before iteration 4 query cache count 5
After iteration 4 query cache count 6

This issue is probably related to #6737 that have fixes for DbSet<>.
Steps to reproduce
Full running example exists here https://github.com/Tasteful/bugs/tree/query-cache-memory-leak
Further technical details
EF Core version: 1.1.1
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10
IDE: VS2017

Note for triage: The call to Set is returning a new DbSet instance each time it is called. Probably needs special handling in the cache.

Verified fixed in 2.0

@anpete does it exist any workaround that I can do in my solution? I have multiple ecommerce applications that need to be restarted on a regular schedule.

I can see that this is partial fixed in branch rel/1.1.2 after adding https://github.com/aspnet/EntityFramework/commit/41031f5332b03bafe8f29f43e4a236d33388c014 the issue is solved. Can you consider to also include this missed commit into next patch?
@anpete @ajcvickers @rowanmiller

@Tasteful Is it possible for you to use DbSet properties on your context?

@ajcvickers No, it is not possible. We register everything dynamic in DbContext.OnModelCreating so we don't have any DbSet properties on the DbContext. Our usage is in an ECommerce platform that is used by many of our customers, each customer have their own installation.

@Tasteful How about something like this:
public class DbSets
{
    private readonly DbContext _context;

    public DbSets(DbContext context)
    {
        _context = context;
    }

    private readonly IDictionary<Type, object> _sets
        = new Dictionary<Type, object>();

    public DbSet<TEntity> Set<TEntity>() where TEntity : class
    {
        object set;
        if (!_sets.TryGetValue(typeof(TEntity), out set))
        {
            set = _context.Set<TEntity>();
            _sets.Add(typeof(TEntity), set);
        }

        return (DbSet<TEntity>)set;
    }
}

Then in your context:
public class MyTestContext : DbContext
{
    private readonly DbSets _sets;

    public MyTestContext(DbContextOptions options)
        : base(options)
    {
        _sets = new DbSets(this);
    }

    public DbSet<TEntity> CachedSet<TEntity>() where TEntity : class
        => _sets.Set<TEntity>();
}

Then use CachedSet in your queries instead of Set. I tested this with your repro code and I see it caching correctly.

@Tasteful Agree we should consider this for the next patch.
A possible workaround might be to register a custom IQueryCompiler so you can apply the fix yourself. I think the high-level approach would be:

Create a custom QueryCompiler by inheriting QueryCompiler and register your custom version with DI (ReplaceService etc)
Create a custom ParameterExtractingExpressionVisitor, again by inheriting our built-in one. Apply the fix from 41031f5 by overriding VisitMethodCall.
Override QueryCompiler.ExtractParameters so that the compiler uses your custom parameter extractor.

@ajcvickers If I understand it correctly the problem is that the Set<> is returning different instances for every method call? In that case I can make an override of Set<T> method of our dbcontext with your code above.
@anpete I can try this suggestion also, but in general I'm against to use the classes/methods in the internal namespace due to possible conflicts between versions.

@ajcvickers One strange thing is that if I add an override in my dbcontext as below, then the cache will still not work correctly, but if I set it as CaachedSet, then the cache will work. Should it not work with the override like this?
        private readonly ConcurrentDictionary<Type, object> _sets = new ConcurrentDictionary<Type, object>();
        public override DbSet<TEntity> Set<TEntity>()
        {
            return (DbSet<TEntity>)_sets.GetOrAdd(typeof(TEntity), t => base.Set<TEntity>());
        }

@Tasteful Based on my understanding overriding Set like that should work. You shouldn't need the Concurrent Dictionary though because context instances are not thread-safe.

If I add an interface as below on the my dbcontext implementation and cast the dbcontext into that interface during query the cache will work without doing anything else.
var items = ((IDb)dbContext).Set<MyTable1>().Where(item => ((IDb)dbContext).Set<MyTable1>().Any(x => x.Id == item.Id)).ToList();

    public interface IDb
    {
        DbSet<TEntity> Set<TEntity>()
            where TEntity : class;
    }

@Tasteful Seems by theory for the bug was off a bit. Glad you found a workaround; we will still discuss if this should go in a patch.

@ajcvickers I was wrong.
Casting to interface was only changing the query to client evaluation and that was throwing exception and I think that the performance not will be good to fetch everything from db.
I also tried your suggestion with the DbSets but that is also moving the query into client evaluation.
I added the following into options builder also
.ConfigureWarnings(w => w.Throw(RelationalEventId.QueryClientEvaluationWarning))
I will try to fix my own QueryCompiler instead.

@anpete Your solution to override the IQueryCompiler is working to solve the problem. It was some small issues that the QueryCompiler have private inner class and ParameterExtractingExpressionVisitor have a private ctor so was not possible to inherit. I solved both of them by copying the code.

@Tasteful Great to hear. The difficulty extending is an oversight, I will file an issue to fix.

@anpete to confirm risk is low enough to take in patch.
@Eilon once @anpete has confirmed we would like to take in 1.1.2, if possible, or otherwise the next patch.

@anpete How strongly do you feel we need to patch this? I expect most people can use DbSet properties, and for those that can't there is a workaround, even though it's not very pretty. /cc @Eilon

@ajcvickers Risk is low, I think we should patch it. I see Set being used pretty often in user repositories etc.

@Eilon Based on @anpete's comment, can we send this (and #8142) to get approval for 1.1.2?

This patch fix is approved. Please follow the normal code review / pull request process and make sure you make the change in the correct branch.

@anpete Is this merged into the 1.1.2 branch yet?

@ajcvickers Yep.

Preview builds of this patch fix should be available on the following feeds:

https://dotnet.myget.org/gallery/aspnet-1-0-5-may2017-patch-public (for fixes in the 1.0.x release)

Feed URL to add to NuGet.config: https://dotnet.myget.org/F/aspnet-1-0-5-may2017-patch-public/api/v3/index.json

https://dotnet.myget.org/gallery/aspnet-1-1-2-may2017-patch-public (for fixes in the 1.1.x release)

Feed URL to add to NuGet.config: https://dotnet.myget.org/F/aspnet-1-1-2-may2017-patch-public/api/v3/index.json

If you have a chance, please try out these preview builds and let us know if you have any feedback!

@Tasteful Could you check using the feed above that the fix checked in solves the problem you are seeing. It would be greatly appreciated.

@ajcvickers I have tested the 1.1.2-rtm-201704210746 and what I can see the cache is now operating as it should.
I noticed that the package Microsoft.EntityFrameworkCore.Tools still is on 1.1.1. I'm not sure if you bump all versions number to the same or if they are independent per package.

@Tasteful each "repo" versions independently, so all packages within a repo generally have the same version, though different repos might be on somewhat different versions. Glad you're now seeing the behavior you're expecting!

Verified fixed in 1.1.2 candidate build.


service.hasAccess() is true but "Insufficient Permission"

The service.hasAccess () library is returning true, but even with delegation on every domain this is giving the error message:
 {
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "insufficientPermissions",
    "message": "Insufficient Permission"
   }
  ],
  "code": 403,
  "message": "Insufficient Permission"
 }
}

My code:
function getUserFiles() {
    var service = getOAuthService();
  Logger.log(service.hasAccess())
    if (service.hasAccess()) {
        var url = 'https://www.googleapis.com/gmail/v1/users/me/settings/sendAs';
        var response = UrlFetchApp.fetch(url, {
          method: "POST",
          headers: {
            Authorization: 'Bearer ' + service.getAccessToken()
          },
          contentType:  'application/json',
          payload: JSON.stringify({
            "displayName": "Teste",
            "isDefault": false,
            "isPrimary": false,
            "replyToAddress": "",
            "sendAsEmail"<EMAIL_ADDRESS>            "signature": "teste",
          }),
          muteHttpExceptions: true
        });
      Logger.log(response.getContentText());
    }
  Logger.log(service.getLastError());
}

service.getLastError () returns undefined.

The error is coming from the Gmail API, not the OAuth server, so the
problem is likely that you didn't request the correct set of scopes. You
may also be using a cached token that was created before you adjusted the
scopes. Running service.reset() will clear the cached tokens.
On Wed, Mar 27, 2019, 2:13 PM leticiafatima<EMAIL_ADDRESS>wrote:

The service.hasAccess () library is returning true, but even with
delegation on every domain this is giving the error message:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "insufficientPermissions",
"message": "Insufficient Permission"
}
],
"code": 403,
"message": "Insufficient Permission"
}
}
My code:
function getUserFiles() {
var service = getOAuthService();
Logger.log(service.hasAccess())
if (service.hasAccess()) {
var url = 'https://www.googleapis.com/gmail/v1/users/me/settings/sendAs';
var response = UrlFetchApp.fetch(url, {
method: "POST",
headers: {
Authorization: 'Bearer ' + service.getAccessToken()
},
contentType:  'application/json',
payload: JSON.stringify({
"displayName": "Teste",
"isDefault": false,
"isPrimary": false,
"replyToAddress": "",
"sendAsEmail"<EMAIL_ADDRESS>"signature": "teste",
}),
muteHttpExceptions: true
});
Logger.log(response.getContentText());
}
Logger.log(service.getLastError());
}
service.getLastError () returns undefined.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gsuitedevs/apps-script-oauth2/issues/177, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA8gmKm0GuVpzSUDi39qUtaE-22UfnAmks5va7TUgaJpZM4cOdxg
.


Added r/w for shas to the bundle role.

Signed-off-by: dblock<EMAIL_ADDRESS>Description
Fixes permissions for reading and writing SHAs.
What do I need to do to deploy this?
We should consolidate these build and bundle roles, it's confusing to have both build and bundle.
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1131 (4217d49) into main (c3d0129) will decrease coverage by 20.72%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main    #1131       +/-   ##
=============================================
- Coverage     93.30%   72.58%   -20.73%
  Complexity       10       10
=============================================
  Files            99        8       -91
  Lines          2496       62     -2434
  Branches          7        7
=============================================
- Hits           2329       45     -2284
+ Misses          159        9      -150
  Partials          8        8

Impacted Files
Coverage Δ

src/ci_workflow/ci_args.py

src/test_workflow/test_component.py

src/ci_workflow/ci_check_list.py

src/manifests/build_manifest.py

src/system/zip_file.py

...rc/test_workflow/test_result/test_suite_results.py

src/manifests/component_manifest.py

src/assemble_workflow/bundle_recorder.py

src/build_workflow/builder_from_source.py

...rc/test_workflow/test_recorder/test_result_data.py

... and 81 more

Continue to review full report at Codecov.

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

Redeployed the stack with @zelinh as a second person for 2PR.
Thanks!


SM64JS Main Page Issue: Broken Discord Icon

I know. This discord icon was corrupted.

probably your internet

yeah

was too busy to do things today. By "today" i meant asap. LOL

Never mind -- issue already fixed, just not deployed to sm64js.com


Unable to boot bootloader on HAB closed i.MX7D rev D processor

We are working on a custom application using the iMX7D processor and part of our design is to use secure boot. As a result, we will be blowing fuses to program the SRK fuses with our public key hashes and blowing the fuse to put the device into a HAB Closed configuration so that only binaries signed with our private key will be bootable on the processor.
We are able to use uuu with no issues while the processor has not yet had its HAB configuration closed but as soon as we close the configuration, we are unable to boot the processor using any USB serial loader program.
We have followed the instructions described in AN4581 to be able to make a bootloader that can be booted via USB serial loader (since there are some modifications to the process required) but the modified bootloader signed in the fashion described in AN4581 will only boot on a HAB closed i.MX7D rev C processor. We cannot get this binary to boot on an i.MX7D rev D processor.
AN4581 mentions an errata, E11166, for the i.MX7D rev D processor that indicates that the first 4K of OCRAM is not available during boot time and the image start address must be greater or equal to 0x911000. Tests with our JTAG debugger show that the USB loaders manage to send the DCD data to OCRAM location 0x910000 correctly. The debugger shows DDR memory as empty, despite the USB tools reporting  that they successfully sent the data.
Is there a modification required to the U-boot signing process that is different from the process described in AN4581 in order to use this tool to boot it on a HAB closed i.MX7D rev D processor? Or is there a change that must be made to our UUU script to make it properly boot?
Some help would be very greatly appreciated!!!

That was part of the issue but the other part was a missing memory configuration line in our U-Boot. NXP will be releasing the fix for everybody in the future

@nxpfrankli I'm experiencing the same behaviour (UUU not working for closed board - it waits indefinitely) on i.MX 6UL EVK. Do I need to change the address as well?

Can you try it by change address?  you can change it and send pull request. CI will generate prebuild image for you

Hi @nxpfrankli
I've tried changing as you've asked, still no use

Can you try change https://github.com/NXPmicro/mfgtools/blob/master/libuuu/rominfo.cpp
0x910000 to 0x911000

I got the same error.
I've raised it as a issue here: https://github.com/NXPmicro/mfgtools/issues/235 with detailed description. Could you follow that up?
Thanks


Feature/other dropdown

Custom field type which will enable users to have other option in the drop down and once the other is selected user will be able to type custom value.

I have now fixed the default label, amended the error message and added the ability to edit the placeholder text for the other field.
Many thanks!

I have made the changes and now values can be accessed as below:
Label: entry.magicDropdown.label
Normal Value: entry.magicDropdown or entry.magicDropdown.value
Other Value: entry.magicDropdown.otherValue
and ability to loop through all the other options. Let me know if any issues.
Many thanks


Fix CI by addressing the Clippy warnings

Subject says it all. One of the warning is really fake though.

Yes, will remove the restyled


feat(Frontend): Add Blazor to readme

Addresses issue #524, adding a completed Blazor WebAssembly implementation as the others that are in progress seem to have been abandoned.

Hi, @JoeyMckenzie!
Apologies for the delay in reviewing your PR, the maintenance team had very limited availability and we've recruited new members to help with the project.
I added your frontend implementation in #595 and merged it to master. The README should be autogenerated within 24 hours.

Hi, @JoeyMckenzie!
Apologies for the delay in reviewing your PR, the maintenance team had very limited availability and we've recruited new members to help with the project.
I added your frontend implementation in #595 and merged it to master. The README should be autogenerated within 24 hours.