Player continues playing music after application closed or new application opened

Describe the bug
Note: I use the emulator
If you play music on the Player, then close the emulator without shutting the music off somehow, it will continue to play in the background of all other apps. For example if you close an app with the music player, then switch to opening another app like BallBounce, the music will continue playing with the background until you navigate back to the music player app and shut the music off.
Affects

[ ] Designer
[ ] Blocks editor
[X ] Companion
[ ] Compiled apps
[ ] Buildserver
[ ] Debugging
[ ] Other... (please describe)

Expected behavior
I expected closing the app to automatically shut off the music player, so that the music will not be in the background of different apps I open. I expected running another app to shut off all processes of the past app.
Steps to reproduce

open an app and play something using music player
close the emulator/companion app without turning off the music player
open an different app on your phone/emulator
the music will continue playing even when a different app is loaded

@lexue28 Was this on Android or iOS?

This was on an Android emulator.
On Tue, Jul 25, 2023 at 2:24 PM Evan W. Patton @.***>
wrote:

@lexue28 https://github.com/lexue28 Was this on Android or iOS?
—
Reply to this email directly, view it on GitHub
https://github.com/mit-cml/appinventor-sources/issues/2920#issuecomment-1650326436,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASCOIIZWNUZUQIOQDPIN5ALXSAFMRANCNFSM6AAAAAAZY5CTXA
.


Pre-trained Models

Can you provide the pre-trained models of Li, T, S and B versions of QuadMamba on ImageNet-1k? Or one of the versions， Thanks.

Can you provide the pre-trained models of Li, T, S and B versions of QuadMamba on ImageNet-1k? Or one of the versions， Thanks.

Do you have problems in
"from .csms6s import SelectiveScanMamba, SelectiveScanCore, SelectiveScanOflex
from .local_scan import local_scan, local_reverse, local_scan_quad, local_reverse_quad, local_scan_quad_quad, local_reverse_quad_quad"

Can you provide the pre-trained models of Li, T, S and B versions of QuadMamba on ImageNet-1k? Or one of the versions， Thanks.

Do you have problems in "from .csms6s import SelectiveScanMamba, SelectiveScanCore, SelectiveScanOflex
from .local_scan import local_scan, local_reverse, local_scan_quad, local_reverse_quad, local_scan_quad_quad, local_reverse_quad_quad"

I have the same problem. Have you solved it?

Can you provide the pre-trained models of Li, T, S and B versions of QuadMamba on ImageNet-1k? Or one of the versions， Thanks.

Do you have problems in "from .csms6s import SelectiveScanMamba, SelectiveScanCore, SelectiveScanOflex
from .local_scan import local_scan, local_reverse, local_scan_quad, local_reverse_quad, local_scan_quad_quad, local_reverse_quad_quad"

I have the same problem. Have you solved it?

no


fix broken OSD_DIRECTORY mode

Thanks dmitry for fixing this.  Perhaps we can add runit to base. Since it's not really tight to this container.
@ulexus? Thoughts?

What's the purpose of using runit/my_init over something a little more simple (like forego)?

Nothing; it's just the tool at hand.  If you have a better runit alternative, I'm pretty sure we are -happy to use it... as long as we are consistent across all of the packages (though the "all" here will soon be "one").
Anyway, @dmitryint is certainly correct; we missed the actual execution of the daemon at start.  I think we can go ahead and merge this, and if @hunter has a better init option, that is most welcome, but it should go in a separate PR.

I'm good with that as well, merging :).

@leseb  I think @hunter is talking about replacing it with a simpler alternative, not so much moving it to outside of ceph/base.

Sorry, should have been more clear. Just a simpler replacement for myinit and runit. We've used forego successfully in the past which is just a single Go binary+config for running multiple processes.
I'm just working through some code for #34 to make it work with the daemon image. Might take a look at this after I'm done with the confd stuff.

@hunter I hadn't heard of forego before (and it's not exactly high in the Google search listings), but yes, that looks like a much cleaner, simpler option.

@hunter it was clear :), I was simply wondering despite of what we use that we should put it on ceph/base :). That's it.


Support IL Trimming for projection assemblies

Proposal: Support for trimmable (ILLink) assemblies
Summary
Trimming is a great feature introduced with .NET 5, but CsWinRT does not yet support it. This should be fixed, so assembly sizes can be reduced.
Rationale
Trimming with ILLink provides great results when publishing self contained applications. I have reduced the size of the Microsoft.Windows.SDK.NET assembly by a factor of 45, taking it from 25mb to 0.55mb! I see the same great result in other projected libraries as well.
Since WinUI is using CoreCLR, trimming will be an important tool to keep assemblies small. Same goes for Xamarin apps using the desktop SDK.
Important Notes
Issues encountered so far:

Internal constructors, used by internal factories, are incorrectly trimmed.
Missing interfaces and types in the ABI namespace. Perhaps an explicit interface implementation could fix this.

As you can expect, the reflection-based factories in the ABI namespace quickly break, however, these types can manually be preserved by whitelisting them using a TrimmerRootDescriptor.
ILLink can be enabled by specifying the following properties:
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>link</TrimMode>

To whitelist the Windows SDK for trimming:
<ItemGroup>
    <ManagedAssemblyToLink Condition="'%(Filename)' == 'Microsoft.Windows.SDK.NET'">
        <IsTrimmable>true</IsTrimmable>
    </ManagedAssemblyToLink>
</ItemGroup>

Further reading: https://github.com/mono/linker/blob/main/docs/data-formats.md

C#/Win32 ask for C#/WinRT (.NET 6 timeframe) - this could remove baggage from the TFM.

Thanks Angela. As we integrate more support in the TFMs for things like C#/Win32, we don't want apps to then have to carry around baggage for things they may not even be using. Pay for play is definitely the right model here, so leveraging assembly trimming for that would benefit C#/WinRT customers as well as C#/Win32 customers. It would be a great story to say that setting your TFM gets you access to all Windows APIs without any baggage. You only pay for what you use.

After speaking with the IL linker team, it looks like there's a few things we'll need:

Reference and look up ABI.* and ABI.Impl.* types via attributes instead of using Type.GetType (we'll need to keep Type.GetType as a fallback for back-compat)
Annotate the generated code and WinRT.Runtime with linker dataflow annotations and warning suppressions as needed. CsWinRT needs to be careful to manually propagate the linker annotations on methods and types called via reflection with MakeGenericType and MakeGenericMethod so the annotations don't get lost in the process.

Hi all,
Has there been updates on this effort? With. NET 6 coming out next week and especially the focus on NativeAOT in .NET 7, the lack of IL Trimming means that those migrating away from. NET Native and UWP will have to deal with larger binaries.

@snickler - This is a priority for the C#/WinRT team. It is penciled in for spring 2022, but we are doing another planning review before then, so things may change.

Please continue to target .NET 6.0 with your efforts as that is now LTS.

I am hoping this is coming soon, because a small 700KB WinForms app, was bloated to a 60MB WindowsAppADK app.

@angelazhangmsft any updates of progress or current roadmap?

I also find that IL Trimming should have more development, since IL Trimming in NativeAOT is a requirement. My project depends on whether this will or won't be supported. Right now I am limited to a very small amount of APIs.
WinUI3 is also very dependend on that so it would be highly appreciated if there was more development regarding that issue.

There's been good progress on the C#/WinRT front. @manodasanW can comment on that.

That sounds great ^^

With CsWinRT 2.0, IL trimming is now supported.  The Windows SDK projection has been updated to use that version and mark it as trimmable which is available in .NET SDK 6.0.109, 6.0.304 or 6.0.401 or later.  Similarly, WinAppSDK 1.2 preview 2 has also been updated to use that CsWinRT version and mark its C#/WinRT projection assemblies trimmable.
Application on those versions can enable PublishedTrimmed in their publish profile and see improvements to their app's disk footprint.  You should make sure to thoroughly test your application with trimming enabled to ensure any necessary types didn't get trimmed or result in a change in behaviour.

Seems that it still doesn't work. We are getting 0xc000027b in Microsoft.UI.Xaml.dll after enabling trimming with TrimMode=link.

@hez2010 0xc000027b indicates a stowed exception and we will need to figure out what the actual exception was.  Have you been able to run your trimmed app under a debugger and see if you see any exceptions thrown and get the stacks for them?  That should help figure out where the issue is.

I first encountered "failure to parse XAML", but it turned out to be the CommunityToolkit isn't compatible with trimming. After rooting all CommunityToolkit assemblies, I encountered 0xc0000005 due to "class is not registered":
onecore\com\combase\objact\objact.cxx(4070)\combase.dll!00007FFBAAFE5175: (caller: 00007FFBAAFECEBA) ReturnHr(7) tid(44bc) 80040154 クラスが登録されていません
(7638.2018): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
windows_storage!CShellLibrary::_GetFirstMatchingFolder+0x49:
00007ffb`a745d089 488b4008        mov     rax,qword ptr [rax+8] ds:00000000`00000008=????????????????
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries
Unable to read dynamic function table entries

The exception happened at https://dev.azure.com/microsoft/OS/_apis/git/repositories/os.2020/items?path=/onecore/com/combase/objact/objact.cxx&versionDescriptor.versionType=commit&versionDescriptor.version=791ab59ca0476c59ad47a3cb5e6f0730e26425ba&versionDescriptor.options=none&download=true&api-version=2.0, but apparently I don't have any access to Microsoft internal code.


Process documentation from input specs to ensure correct formatting and working links

If you want known problems: #381, #92


Change default UARTTX printf behavior to disable

With many UARTs, there is too much noise in the output

Why can not this be turned off by plusarg, are there burdens with adding plusarg to emulators?

Because having to remember a long list of plusargs to disable everything is very burdensome.
Every other debug signal is add-plusarg-to-print-verbosely, this should be the same.


Using Voice blender for two different models that has different bit depths

Okay it seems like Applio's voice blender doesn't allow me to blend two different models with different bit-depths
One is the model that I trained myself, which is 48k, 24 bit and the other one is a downloaded model from AI hub and seems like it's trained as 40K 16 bit.
if I wanted to blend these two models, do I have to train my model again as 16 bit or is there a way to convert and match one to the other?

The training settings need to be matched; pitch... But the dataset is not relevant. We haven't tested that section much yet, but you can see it by looking at the information of the models in the Extra section and then trying to merge them.


React Native 0.76.3 Eslint Parser Issue with Flow

Description
I have recently migrated the app to 0.76.3 following the upgrade helper and also upgraded @react-native/babel-preset which has resulted in eslint parsing error for flow typed files.
Steps to reproduce
Using latest react native 0.76.3 with @react-native/babel-preset version 0.76.3, add some flow files.
Run yarn eslint
React Native Version
0.76.3
Affected Platforms
Other (please specify)
Output of npx react-native info
System:
  OS: macOS 15.0.1
  CPU: (12) arm64 Apple M2 Pro
  Memory: 502.45 MB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.20.5
    path: /usr/local/bin/node
  Yarn:
    version: 1.22.19
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.8.2
    path: /usr/local/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/ravindragupta/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.0
      - iOS 18.0
      - macOS 15.0
      - tvOS 18.0
      - visionOS 2.0
      - watchOS 11.0
  Android SDK:
    API Levels:
      - "31"
      - "33"
      - "34"
      - "35"
    Build Tools:
      - 29.0.2
      - 30.0.2
      - 30.0.3
      - 31.0.0
      - 33.0.0
      - 33.0.1
      - 34.0.0
      - 35.0.0
    System Images:
      - android-26 | ARM 64 v8a
      - android-26 | Google APIs ARM 64 v8a
      - android-28 | Google ARM64-V8a Play ARM 64 v8a
      - android-30 | Google APIs ARM 64 v8a
      - android-30 | Google Play ARM 64 v8a
      - android-31 | Google Play ARM 64 v8a
      - android-33 | Google APIs ARM 64 v8a
      - android-34 | Google APIs ARM 64 v8a
      - android-34 | Google Play ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12483815
  Xcode:
    version: 16.0/16A242d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.9
    path: /usr/bin/javac
  Ruby:
    version: 3.0.4
    path: /Users/ravindragupta/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.3
    wanted: 0.76.3
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs
Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/services/syncData/checkConnection.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/oauth.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/services/syncData/checkConnection.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/types.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/types.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/actions/saveUtils.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/records.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/types.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/urlRoute.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/types.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/records.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/actions/saveUtils.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/components/helpers/listField.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/oauth.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/services/syncData/checkConnection.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/urlRoute.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/BaseField.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/records.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/actions/saveUtils.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/BaseField.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/records.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/actions/saveUtils.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/BaseField.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/services/syncData/checkConnection.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/BaseField.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

Error while parsing /Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
Line undefined, column undefined: Cannot read properties of undefined (reading 'forEach')
`parseForESLint` from parser<EMAIL_ADDRESS>is invalid and will just be ignored

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/actions/popupMenu.action.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/actions/saveUtils.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/components/AnswerFields/AnswerRenderer.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/components/Detail/FieldsController.js
  178:9  warning  Invalid loop. Its body allows only one iteration  no-unreachable-loop

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/components/helpers/listField.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/BaseField.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/batch.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/batchList.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/filters.api.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/filters.operators.api.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/filters.operators.offline.api.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/metadata.api.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/oauth.api.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/offline.api.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/prefetch.api.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/prefetch.diffsync.api.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/prefetch.etags.api.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/records.api.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/types.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/api/urlRoute.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/services/realm.js
  10:1  warning  Dependency cycle detected  import/no-cycle

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/services/realmDb/RealmDbUpdates.js
  11:1  warning  Dependency cycle detected  import/no-cycle

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/services/syncData/checkConnection.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

/Users/ravindragupta/Desktop/Projects/mobilev2/native/src/mobileCore/services/syncData/syncDataWrappers.js
  0:0  error  Parsing error: Cannot read properties of undefined (reading 'forEach')

✖ 24 problems (21 errors, 3 warnings)

Reproducer
https://github.com/test
Screenshots and Videos

@cipolleschi can you please help me here identifying the changes in RN and react-native/babel-preset which can cause this issue

Hi @ravindraguptacapgemini — can you share your full ESLint config, and potentially the contents of one of your project's source files that fails parsing?


Parser: Forgive partially entered long options, when there's only one possibility

I. e. select 'interval' for 'in', when there's no other option starting with 'in'.
--- parser.py.original	2018-02-13 16:37:48.372355581 +0200
+++ parser.py	2018-02-13 16:08:58.631472313 +0200
@@ -321,7 +321,10 @@
         if opt not in self._long_opt:
             possibilities = [word for word in self._long_opt
                              if word.startswith(opt)]
-            raise NoSuchOption(opt, possibilities=possibilities)
+            if len(possibilities) == 1:
+                opt = possibilities[0]
+            else:
+                raise NoSuchOption(opt, possibilities=possibilities)

         option = self._long_opt[opt]
         if option.takes_value:

If included, I think this should need to be explicitly enabled and be the default behaviour.

Lack of support for this is intentional: https://click.palletsprojects.com/en/7.x/why/#why-no-auto-correction


Indent error in first sample file

File: get-started/index.md
Under "Enable Kubernetes" for OSX Step 3 the following text is provided for pod.yaml:
apiVersion: v1
kind: Pod
metadata:
name: demo
spec:
containers:

name: testpod
image: alpine:3.5
command: ["ping", "<IP_ADDRESS>"]

However, this results in the following error upon executing Step 4:
error: error parsing pod.yaml: error converting YAML to JSON: yaml: line 2: mapping values are not allowed in this context
If the indents are removed to produce the following text, the file parses properly:
apiVersion: v1
kind: Pod
metadata:
name: demo
spec:
containers:

name: testpod
image: alpine:3.5
command: ["ping", "<IP_ADDRESS>"]

@kmulmer Thanks for your feedback. This has been fixed in the Getting started guide - https://docs.docker.com/get-started/orchestration/. Closing this issue here as it the issue has been fixed. Feel free to comment on the ticket after I close. Thanks.


lucide-react-native doesn't export "icons" for generic icon component

Package

[ ] lucide
[ ] lucide-angular
[ ] lucide-flutter
[ ] lucide-preact
[ ] lucide-react
[X] lucide-react-native
[ ] lucide-solid
[ ] lucide-svelte
[ ] lucide-vue
[ ] lucide-vue-next
[ ] Figma plugin
[ ] source/main
[ ] other/not relevant

Version
0.279.0
Browser

[ ] Chrome/Chromium
[ ] Firefox
[ ] Safari
[ ] Edge
[ ] iOS Safari
[ ] Opera
[ ] Other/not relevant

Operating system

[ ] Windows
[ ] Linux
[ ] macOS
[ ] Other/not relevant

Description
While the documentation for lucide-react-native states that you can import icons in order to get a list of all icons and create a generic component, the package does not in fact export this:
'"lucide-react-native"' has no exported member named 'icons'. Did you mean 'Icon'?
It's therefore not possible to create a generic icon component currently, as far as I can tell.
Steps to reproduce

Install the latest version of lucide-react-native into a TypeScript project
Try to import icons as per the documentation

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)

Package
* [ ]  lucide

* [ ]  lucide-angular

* [ ]  lucide-flutter

* [ ]  lucide-preact

* [ ]  lucide-react

* [x]  lucide-react-native

* [ ]  lucide-solid

* [ ]  lucide-svelte

* [ ]  lucide-vue

* [ ]  lucide-vue-next

* [ ]  Figma plugin

* [ ]  source/main

* [ ]  other/not relevant

Version
0.279.0
Browser
* [ ]  Chrome/Chromium

* [ ]  Firefox

* [ ]  Safari

* [ ]  Edge

* [ ]  iOS Safari

* [ ]  Opera

* [ ]  Other/not relevant

Operating system
* [ ]  Windows

* [ ]  Linux

* [ ]  macOS

* [ ]  Other/not relevant

Description
While the documentation for lucide-react-native states that you can import icons in order to get a list of all icons and create a generic component, the package does not in fact export this:
'"lucide-react-native"' has no exported member named 'icons'. Did you mean 'Icon'?
It's therefore not possible to create a generic icon component currently, as far as I can tell.
Steps to reproduce
1. Install the latest version of lucide-react-native into a TypeScript project

2. Try to import `icons` as per the documentation

Checklist
* [x]  I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)

Same Issue


login stalls under IE

Under IE the popup isn't closed and the login stalls. This happens when the provider requires input (choose email and/or enter password). If the provider already has the credentials and the redirect happens without user input then the popup closes fine and login completes successfully.
NB I only reproduce this behaviour if using a non-admin account. Using an admin account and/or running with elevated privileges (run as admistrator) then the login is fine.
The problem occurs in pollPopup. When the redirect back to the app's url has completed it still can't access Popup.popupWindow.location.host even though there shouldn't be a cross-domain issue. Then, Popup.popupWindow.closed returns true and so we stop polling and the popup remains open.
I've tested with IE 9 and 11 on three different machines and get consistent results.

Just revisited this. I was using google as the provider in my tests. I just tried with windows live and couldn't reproduce the issue. I finally realised that although I have *.google.com and *.google.co.uk in my trusted sites I didn't have *.youtube.com. Adding this makes the problem go away. Seems obvious now...

Hi @timbell,
Thanks for the information, and glad you were able to solve the problem!
Let us know if there's anything else that we can help with.


allGeo Custom Connector Certification

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)

[x] I attest that the connector works and I verified by deploying and testing all the operations.
[x] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[x] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[ ] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[ ] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

@dino-abaqus I'm just checking in to see how things are going with updating your connector artifacts as per the given feedback. Please feel free to reach out with any questions you may have, Thanks.

Hi, I will fix your comments on the code.
Can you just give me this week to fix them.
I am not independent publisher but I am publishing it for the company, so
that is why I have put a publisher allGeo or I can put abaqus LTD as a
publisher?
BR,
Dino
On Mon, Nov 1, 2021 at 11:23 PM Srikanth Yenagandhula <
@.***> wrote:

@dino-abaqus https://github.com/dino-abaqus I'm just checking in to see
how things are going with updating your connector artifacts as per the
given feedback. Please feel free to reach out with any questions you may
have, Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerPlatformConnectors/pull/1226#issuecomment-956749513,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWH5GAHDZ7KXOJW5EEKJRZTUJ4HOXANCNFSM5G4FV56Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi, I will fix your comments on the code. Can you just give me this week to fix them. I am not independent publisher but I am publishing it for the company, so that is why I have put a publisher allGeo or I can put abaqus LTD as a publisher? BR, Dino
…
On Mon, Nov 1, 2021 at 11:23 PM Srikanth Yenagandhula < @.***> wrote: @dino-abaqus https://github.com/dino-abaqus I'm just checking in to see how things are going with updating your connector artifacts as per the given feedback. Please feel free to reach out with any questions you may have, Thanks. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#1226 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWH5GAHDZ7KXOJW5EEKJRZTUJ4HOXANCNFSM5G4FV56Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@dino-abaqus If you are developing the connector for your connector, you can publish and get it certified as a certified connector, instead of "independent-publisher connector". More information can be found in the documentation

@dino-abaqus I'm just checking in to see how things are going with updating your connector artifacts as per the given feedback. Please feel free to reach out with any questions you may have, Thanks.


chore: fix combined CI for mathlib

Previously, if there was a nightly-testing-YYYY-MM-DD tag at Std, but not Mathlib, we were erroneously proceeding with Mathlib CI, and hence using a probably-broken version of Mathlib.

Subsumes https://github.com/leanprover/lean4/pull/3631 I presume?

Oh, sorry, completely missed #3631.


Update crypto.go, fix incorrect spelling

fix incorrect spelling

@conallob

Thanks for the fix.
The question is though, why didn't the linter catch this? https://github.com/prometheus/procfs/pull/526/checks all passed cleanly. Is there an issue with golangci-lint?


Migrate SmoothQuant for IPEX to 3.x API

Type of Change
Migrate SmoothQuant for IPEX to 3.x API, API changed
Description
To-do:

[x] Enable different scales for Linears sharing the same input
[x] Add more test cases (autotune)
[x] Add accuracy test

Expected Behavior & Potential Risk
How has this PR been tested?
UT passed
Dependency Change?

@violetch24  Unittest is not enough, please migrate uts pure for algorithms and more sq accuracy check.

Currently, we have enabled save & load API. Please refer to fp8 UT's test_save_load


Persistent storage manager

Implement a storage manager that is:

persistent
easy to test locally
easy to provision on major cloud environments
easy to integrate (or already integrated) with quarkus


Issues with Access Token Retrieval

Environment
Nuxt project info:

Operating System: Windows_NT
Node Version:     v20.12.0
Nuxt Version:     3.8.2
CLI Version:      3.10.0
Nitro Version:    2.9.5
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, app, css, build, runtimeConfig, modules, i18n, auth, vite
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
I added the relevant code parts to the question. I can provide a sample repo and a docker container export from the keycloak instance if really needed.
Describe the bug
I'm currently developing a Nuxt 3 application and have integrated authentication using Nuxt-Auth module with Keycloak as the identity provider. The authentication flow works as expected, and users can log in/out without any issues. However, I've encountered a problem when attempting to use the issued access token to make authenticated requests to my Spring Boot backend.
Problem Description:
After a successful authentication, I try to retrieve the access token using the Nuxt-Auth getToken method with the intention of using this token for subsequent API requests. Unfortunately, the token I receive seems to be invalid or not the expected access token. Furthermore, I suspect the token retrieved is the Nuxt-Auth session token, not the Keycloak access token I require for my backend requests.
Here's the snippet where I attempt to retrieve the token:
// Token retrieval endpoint in Nuxt
import { getToken } from "#auth"

export default eventHandler(async (event) => {
    const token = await getToken({ event, raw: true, secret: process.env.NEXTAUTH_SECRET });
    console.log(token);
    return token || 'no token present';
});

And this is how I've configured the Nuxt-Auth handler:
// NuxtAuthHandler configuration
import KeycloakProvider from 'next-auth/providers/keycloak';
import { NuxtAuthHandler } from '#auth';

export default NuxtAuthHandler({
    secret: process.env.NEXTAUTH_SECRET,
    providers: [
        KeycloakProvider.default({
            clientId: process.env.KEYCLOAK_CLIENT_ID,
            clientSecret: process.env.KEYCLOAK_CLIENT_SECRET,
            issuer: process.env.KEYCLOAK_ISSUER_URL,
            idToken: false,
            wellKnown: process.env.KEYCLOAK_WELLKNOWN,
            authorization: {
                params: {
                    redirect_uri: `${process.env.NEXTAUTH_URL}/api/auth/callback/keycloak`,
                },
            }
        }),
    ],
    callbacks: {
        jwt({ token, account, user }) {
            console.log(token, account, user);
            return token;
        },
        session: (data) => {
            return data.session;
        }
    },
});

According to the official documentation, the jwt callback should be used to add the access token to the session. However, in my case, this callback does not contain an access token, and both account and user objects are always undefined.
Questions:

How can I ensure that the access token issued by Keycloak is correctly retrieved and valid for use with my Spring Boot backend?
Is there a step or configuration I might be missing to properly integrate the access token into the session object for subsequent use?
Is it possibly a misconfiguration in Keycloak that the access token is not included in the callbacks?

Any guidance or insights into resolving these issues would be greatly appreciated.
Additional context
No response
Logs
No response

Switched to nuxt-oidc-auth Plugin which is working flawlessly out of the box. I don't think this project is production ready also the Documentation is not very self explaining and it's very frustrating tu debug through the libraries code.


Expose AsyncHttpClient when creating AsyncHttpClientBackend

Hello there!
I'm using AsyncHttpClientBackend in Monix flavor and I'd like to expose some metrics related to idle and active connections. I can access them via org.asynchttpclient.AsyncHttpClient#getClientStats but most of builders for this type of backend do not allow easy access to AsyncHttpClient instance used.
With current implementation (due to sttp.client3.asynchttpclient.AsyncHttpClientBackend#defaultConfigBuilder being private) the only way to achieve behavior similar to sttp.client3.asynchttpclient.monix.AsyncHttpClientMonixBackend#usingConfigBuilder, but with possibility to register some metrics listener, is to copy implementation sttp.client3.asynchttpclient.AsyncHttpClientBackend#clientWithModifiedOptions and later use sttp.client3.asynchttpclient.monix.AsyncHttpClientMonixBackend#usingClient to build the backend.
Do you have any advice how to approach this? Having sttp.client3.asynchttpclient.AsyncHttpClientBackend#clientWithModifiedOptions public sounds reasonable, but I'm not sure why it was set package-private in the first place; if making it public would be OK, I'll be happy to provide quick PR.

Which version of sttp are you using? There's a usingClient method which I think should suit your needs: https://github.com/softwaremill/sttp/blob/beba3ec1d27d045d6f8684da6877f0321f67a1f9/async-http-client-backend/monix/src/main/scala/sttp/client3/asynchttpclient/monix/AsyncHttpClientMonixBackend.scala#L200

Closing this as I think the functionality is there. Please reopen if something is missing


In some edge case, some arguments are ignored

In the following case, --debug is ignored
chart line --date-format 2006-01-02 ' ' --debug

@Kuraio reminded me that the flag package doesn't track flags after positional arguments (in this case ' '). I'd like a solution that uses the flag package but doesn't care about this problem. I think it means I need a solution that strips out all positional arguments, for separate processing. Not sure what the best way to do this is.

Closing this. I guess everyone is having this issue; not just chart.


Can not move inline CSS to classes multiple classes not working on elements

Trying to move inline CSS styling codes to classes but does not work, here is what I am talking about:

I created this:

and code changed to:

But this does not work, I guess the JS code does not handle multiple classes for the div element.
This also does not work for the  inner div:

The solution is to use the same class to add the inline styles like this:
.jssort01 .p {
	position: absolute;
	width: 72px;
	height: 72px;
	top: 0;
	left: 0;
}

The html and css code is very messy, I am very wondering why you did not create css classes in separate files instead of all this mess inside the html code, you are even mixing classes and inline inside the same html files,
I think the demos and code needs reformat and just also wondering why did not you use an online compressor to compress the js code files, why you are including .exe file to compress.
The settings/options variables names are also very ugly with $ letter on both sides of variables names, can not you use for example jssor_slideshow_runner instead of $JssorSlideshowRunner$.
The functionality of the project is excellent but the structure of code is not good.

Re: Move inline css to classes,
The class of the prototype is 'p', when mouse down, it will change to 'pdn', and it will change to 'pav' when it come to active.
So, please use the following css,
    .jssort07 .p, .jssort07 .pav, .jssort07 .pdn {
        position: absolute;
        width: 99px;
        height: 66px;
        top: 0;
        left: 0;
    }

Re: The html and css code is very messy.
I have been updating templates, and I will fix it later.
Re: why did not you use an online compressor?
Jssor.Compress.exe will compress it to 41KB jssor.slider.mini.js. But with other compressor, the final size should be at least 80KB. The '$' character in the js code is for smart compression.
Thanks a lot!

Thank you for all your detailed replies, really great project.


ui: Invoke the createTable function regardless of response

Bug: T149118

There's a rendering issue where it seems the error pane isn't fully removed after an error occurs and a new revid is scored.  Not sure if it is related to this specific change or not.
Steps reproduce:

Start up the dev server
Go to http://localhost:8080/ui/
Score the revid "-1" (and see error)
Score the revid "1" (success, but rows of table are far away from headers)

@halfak fixed. It's way cleaner now


feat: add runner type to latest run

We want the latest run injected in the workflow list response to contain additional information such as the runnerType
grpcurl --plaintext -H "authorization: Bearer $TOKEN" localhost:9000 controlplane.v1.WorkflowService.List
{
  "result": [
    {
      "id": "7cf5da85-2508-4f6c-bc60-35ca5e65fa85",
      "name": "test",
      "project": "basd",
      "createdAt": "2024-01-30T14:19:39.818308Z",
      "runsCount": 73,
      "lastRun": {
        "id": "86cbb09b-ef91-4617-bfcf-297bbe04434c",
        "createdAt": "2024-02-16T22:27:46.836080Z",
        "state": "expired"
      },
      "contractId": "f569803e-4c26-4b31-8116-ca93b2348c84"
    },

This is already present

This runnerType is today populated automatically and does not require any special changes in the contract?

Correct


Text document

Request
"Are any of texts written somewhere in a document? I can work on making them concise! If not, I can find another way. I just don’t want to go to the page and start changing things."
- Kai
Acceptance Criteria

[x] There is a google doc located in the website project folder containing all the body text in the website

This may include labels, but does not have to.

[x] The text is sorted by page and category

Similar to the Website Breakdown document

Orchid Initiative/Projects - Active/Orchid Website Project/Website Text


Auto build

This does two things:

Creates a github action to build the freva-web image in the container registry of github
Adjusts the docker CMD so that simply running the container with the right volumes and environment variables should be enough run the django container (no more setup web script afterwards)

The auto build relies on a tag. Any preferences? I'd go for caldev with an increment on the thrid digit. Like 2022.11.1 another update would make it 2022.11.2 etc.


Test for expected user creation failure when multiple departments share email domains

See issue #231

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@665e7d3). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #232   +/-   ##
==========================================
  Coverage           ?   96.85%
==========================================
  Files              ?       73
  Lines              ?     4488
  Branches           ?        0
==========================================
  Hits               ?     4347
  Misses             ?      141
  Partials           ?        0

Continue to review full report at Codecov.

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


AgentExecutor: Requeue wrong tasks.

Summary
What happened/what you expected to happen?
When I test agent executor, I find if task worker execute wrong if task happens requeue.
So I dig into the code.
https://github.com/argoproj/argo-workflows/blob/master/workflow/executor/agent.go#L118
Here is the story.
There is two tasks in the taskQueue. Let's annotate task1 and task2.
the taskWorker first treat task1 and task1 replies to requeue in 10 sec, then worker treat task2.
After 10 secs, worker should treat task1 again. However this time worker treat task2 instead.
What version are you running?
latest
Diagnostics
Here is my simplified code to illustrate the bug.
package main

import (
	"fmt"
	"time"
)

type task struct {
	NodeId string
}

func main() {
	taskQueue := make(chan task)
	go worker(taskQueue)
	for i := 1; i < 10; i++ {
		taskQueue <- task{
			NodeId: fmt.Sprintf("node-%d", i),
		}
	}

	time.Sleep(3 * time.Second)
}

func worker(tq chan task) {
	for t := range tq {
		fmt.Println("worker", t.NodeId)
		time.AfterFunc(2*time.Second, func() {
			tq <- t
		})
	}
}

This demo code is expected that 10 tasks will be requeue and reexecuted in 2 seconds.
But If you execute the code, below is the result.
worker node-1
worker node-2
worker node-3
worker node-4
worker node-5
worker node-6
worker node-7
worker node-8
worker node-9
worker node-9
worker node-9
worker node-9
worker node-9
worker node-9
worker node-9
worker node-9
worker node-9
worker node-9

all tasks are polluted to the last task.
you can test with go playground. https://go.dev/play/p/XZyezyelrnj
This looks like that golang does not behave right in range channels with time after.
here is the fix code
func worker(tq chan task) {
	for {
		t, ok := <-tq
		if !ok {
			break
		}
		fmt.Println("worker", t.NodeId)
		time.AfterFunc(2*time.Second, func() {
			tq <- t
		})
	}
}

Fix demo:https://go.dev/play/p/AiOO9dt11k4

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@alexec Please check it.
I will push a pr, if my conclusion is right.

Looks good. Please send PR!


Duplicate metrics seem to be emitted

Environmental Info:
K3s Version:
k3s version v1.18.8+k3s1 (6b595318)
Node(s) CPU architecture, OS, and Version:
Linux  5.4.0-45-generic #49-Ubuntu SMP Wed Aug 26 13:38:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
1 master, 2 workers
Describe the bug:
kube-controller-manager metrics endpoint is also sending kube-scheduler / kubelet / kube-apiserver / kube-proxy metrics. This results in an additional 21,598 extra metrics, which increases the memory requirements for monitoring k3s using Prometheus.
Investigated in more detail here: https://github.com/rancher/rancher/issues/28787#issuecomment-693096873.
Steps To Reproduce:

Installed K3s
SSH onto a server node
run curl commands for http://localhost:10251/metrics, http://localhost:10252/metrics, http://localhost:10249/metricsand inspect output

Expected behavior:

Metrics at those endpoints only correspond to the actual metrics for those specific components, i.e.
10249 - kube-proxy
10251 - kube-scheduler
10252 - kube-controller-manager
Actual behavior:

All three seem to be emitting the same metrics.
Additional context / logs:

Based on conversation with @brandond , it seems like all the Prometheus lib might be using the same backend for all three exposed ports.
Either the metrics emitted to each endpoint should be backed by a different backend or the metrics should only be emitted on one port (i.e. a set of metrics from the unified k3s-server)

Depending on how the story for monitoring metrics on k3s changes based on this ticket, we'll need to open a ticket in rancher/rancher to modify the Rancher Monitoring chart behavior for monitoring k3s clusters once this issue is resolved.

See if this is an issue in v1.18.x - pretty sure it's not but would like to verify.
@rancher-max could you check this?

This happens with many different k3s versions. I was able to confirm quickly using v1.18.2 and v1.17.4 as well with a single node k3s cluster. I tried to reproduce this in rke2 as well but it was not reproducible there.
Issue Description:
Rancher's Monitoring V2 attempts to scrape metrics for kube-proxy, kube-controller-manager, and kube-scheduler. Monitoring V1 never scraped these metrics, so this is only an issue when importing a k3s cluster into a rancher v2.5.x setup and enabling monitoring v2 on the cluster there.
I agree with the recommendations noted in the original issue description:

Either ensure the appropriate metrics are emitted to each endpoint (WOULD NOT require a change in rancher) OR
Only emit metrics on one port (WOULD require a change in rancher)

I'm not sure the Prometheus exporter architecture and how Kubernetes uses it will allow us to split up the metrics without significantly modifying upstream code.

Based on recent convos, @aiyengar2 I would like to solve this by having the v2 monitoring for k3s just scrape one of the ports. Let's just do the kube-proxy port. Will this cause any problems on the monitoring side?
K3s is different enough that it really makes sense to just scrape a single endpoint. The memory is shared across all k8s components.
Copying some relevant bits form a slack convo:
@brandond  - My understanding is that monitoring v1 didn't scrape the k3s control plane. So, it's been this way forever because as @erikwilson noted there is a common Prometheus instance for everything in the same process. IMO they should fix it by only scraping one port.
Me - in actually watching those metrics in prometheus, is it important for the operator to know the source (scheduler vs controller-manager) and do you lose that context if you scrape a single port?
@brandond - They might be keying off the job or port or something in the alerts or dashboards? But then anything that expects to have separate metrics for latency or memory or error rates or whatever else would need some rework for k3s anyways. Shared caches and such are one of the things that make k3s so lightweight but it means that a lot of things that would be individually monitorable on rke or rke2 are not here.

@davidnuzik @maggieliu - this is on the list of the fields "Must Haves" for 2.5. Assuming @aiyengar2 doesn't have any significant push back on the above solution, this issue should bounce back over to the Rancher side.

Thanks for looking into this! Opened up an issue on the monitoring side to track the effort described in https://github.com/rancher/k3s/issues/2262#issuecomment-705652249.

Since an issue was opened by @aiyengar2 to track this (https://github.com/rancher/rancher/issues/29445) I don't think there's a need for this one to stay open? If I'm mistaken, someone please feel free to re-open this k3s issue.

Reopened for tracking purposes. The work is being done via https://github.com/rancher/rancher/issues/29445
Once this is in and out in a release, then we may validate and close out this K3s issue.

Rancher issue https://github.com/rancher/rancher/issues/29445 is closed and validated.
@rancher-max can you give this one more quick test as a priority (this week).

The solution as noted above is that k3s is continuing to emit the duplicate metrics. However, rancher monitoring v2 (v9.4.201) with k3sServer.enabled: true is only scraping from one of the ports. Note the results in https://github.com/rancher/rancher/issues/29445#issuecomment-709666443. It is best seen that this is truly just scraping one port for k3s by running kubectl describe -n cattle-monitoring-system daemonset.apps/pushprox-k3s-server-client. Results show:
Containers:
   pushprox-client:
    Image:      rancher/pushprox-client:v0.1.0-rancher1-client
    Port:       <none>
    Host Port:  <none>
    Command:
      pushprox-client
    Args:
      --fqdn=$(HOST_IP)
      --proxy-url=$(PROXY_URL)
      --metrics-addr=$(PORT)
      --allow-port=10249
      --use-localhost

Note how this scraping port 10249. In the previous version of monitoring v2, there were the following Daemonsets: daemonset.apps/pushprox-kube-controller-manager-client, daemonset.apps/pushprox-kube-proxy-client, and daemonset.apps/pushprox-kube-scheduler-client which scraped ports 10252, 10249, and 10251 respectively.
Based on the suggestions that were laid out in this issue, I have validated that this has been successfully fixed according to the design.

@rancher-max if "k3s is continuing to emit the duplicate metrics" then I would think this still needs fixing in K3s thus the issue should probably stay open. If you agree, please reopen.

I think it's okay to be closed based on this comment: https://github.com/rancher/k3s/issues/2262#issuecomment-705652249


First column automaticaly casted in int when sub

Description
Hi,
Here is a case where Dbeaver automatically cast a column from a type (Time(0) to an int type
Either the following table (with no PK and no index)
CREATE TABLE resas (
	id int IDENTITY(1,1) NOT NULL,
	[day] date NULL,
	id_court int NULL);

Either the foolowing request (all is fine here)
SELECT CAST('08:00:00' AS time(0)) a, id FROM resas;
=>
a    id
08:00:00	183605
08:00:00	182047

Note that a small key symbol appears on column id title
With CTE (WITH) it's allready OK
WITH sub AS (
 SELECT id, CAST(2.23 as float) a FROM resas
)
SELECt a, a, * FROM sub;
=>
a    a    id    a
08:00:00	08:00:00	183605	08:00:00
08:00:00	08:00:00	182047	08:00:00

Note that no key symbol appears on any columns
But with a subrequest we have a problem for the first field if we want to put the time in first position - It is cast to int !
SELECT a, a, * FROM (
 SELECT id, CAST('08:00:00' AS time(0)) a FROM resas
) sub;
=>
a    a    id    a
8	08:00:00	183605	08:00:00
8	08:00:00	182047	08:00:00

Note  that a key symbol appears on column the fiirst column a (with type int instead of time)
That it is indeed a Dbeaver problem because the problem does not appear with mssms
And i can reproduce the problem on Microsoft SQL Azure (RTM) - 12.0.2000.8
but curiously the problem is not present with a linux sqlserver : Microsoft SQL Server 2019 (RTM-CU24) (KB5031908) - 15.0.4345.5 (X64) Developer Edition (64-bit) on Linux (Ubuntu 20.04.6 LTS)
Connection for all database with Microsoft JDBC Driver for SQL Server (MSSQL) 12.4.1 (jre11)
DBeaver Version
Community edition Version <IP_ADDRESS>401072024
Operating System
Windows 10 entreprise
Database and driver
Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64)
Steps to reproduce
No response
Additional context
No response

Thanks for your report. I reproduced the issue.


admin notice even if hosts editable

just a minor nag,
my /etc/hosts is editable by my user
❱ id
uid=1000(osku) gid=1000(osku) …
❱ ls -l /etc/hosts
-rw-rw-r-- 1 root osku 79 Feb 11 15:27 /etc/hosts
❱ cat /etc/hosts
<IP_ADDRESS>   localhost.localdomain   localhost
::1     localhost.localdomain   localhost

yet vagrant-hostsupdater says i need administrator rights
❱ vagrant up
…
==> default: [vagrant-hostsupdater] Checking for host entries
==> default: [vagrant-hostsupdater] Writing the following entries to (/etc/hosts)
==> default: [vagrant-hostsupdater]   <IP_ADDRESS>  foo.bar  # VAGRANT: 35c0ed0c6c424841ee2225fb94b15931 (default) / 335af14e-c6b5-4a82-ad70-c7f2196b2a9c
==> default: [vagrant-hostsupdater] This operation requires administrative access. You may skip it by manually adding equivalent entries to the hosts file.
…

but does actually modify /etc/hosts
❱ cat /etc/hosts
<IP_ADDRESS>   localhost.localdomain   localhost
::1     localhost.localdomain   localhost

<IP_ADDRESS>  foo.bar  # VAGRANT: 35c0ed0c6c424841ee2225fb94b15931 (default) / 335af14e-c6b5-4a82-ad70-c7f2196b2a9c

Good point @oskude - The message was intended to let the user know that if it was not added that they could add it manually.  It can be changed to only show if the file is not written to.

Should be addressed by #130!


Support debounce

What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area frontend
What this PR does / why we need it:
This PR adds delay to autocomplie. This prevents continuous expensive calls to the wasm module.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Rohith-Raju
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Rohith-Raju]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, Rohith-Raju
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Rohith-Raju,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Feature/vdx 238 fix validated creds

Please check, you mean like this? It is working but now verifiedData is completely hidden from the types.

I am okay with it being available as an optional property in the SDK. So you could simply extend an existing interface from the SIOP lib for instance. I am not okay with having that type in the lower-level SIOP lib, since these types/payloads need to be spec compliant.
I am not a big fan of just adding some additional claims in some areas, not really visible to the outside world in the SDK, because then values come in as a surprise in some situations.

@nklomp more like this?
Added verifiedData to AuthStatusResponse (authmodel) and created AuthorizationResponseStateWithVerifiedData in ISIOPv2RP
(Do not merge yet, I still have to test it after the modifications)


Task State

[ ] Cannot throw exception in Taskflow tasks (Use states instead)
[ ] Generator Task State
[ ] Target Task State

#163 Env Task state

#164 Generator Task state

#165 Target Task state


Cannot read property 'includes' of undefined

Question
During the build (npm run build), I am receiving Cannot read property 'includes' of undefined error.
Working directory: https://github.com/Skillz4Killz/Discordeno/tree/better-docs/docs
Description
Debug logs:
0 verbose cli [
0 verbose cli   '/usr/bin/node',
0 verbose cli   '/usr/bin/npm',
0 verbose cli   'run',
0 verbose cli   'build',
0 verbose cli   '--',
0 verbose cli   '--prefix-paths'
0 verbose cli ]
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing config:load:defaults Completed in 2ms
4 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 1ms
5 timing config:load:builtin Completed in 1ms
6 timing config:load:cli Completed in 2ms
7 timing config:load:env Completed in 0ms
8 timing config:load:file:/home/chroventer/projects/Discordeno/docs/.docz/.npmrc Completed in 0ms
9 timing config:load:project Completed in 0ms
10 timing config:load:file:/home/chroventer/.npmrc Completed in 0ms
11 timing config:load:user Completed in 1ms
12 timing config:load:file:/usr/etc/npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:cafile Completed in 0ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:setUserAgent Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 10ms
19 verbose npm-session 75f02de8f4a8dd75
20 timing npm:load Completed in 27ms
21 timing command:run-script Completed in 10817ms
22 verbose stack Error: command failed
22 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:63:27)
22 verbose stack     at ChildProcess.emit (node:events:327:20)
22 verbose stack     at maybeClose (node:internal/child_process:1048:16)
22 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
23 verbose cwd /home/chroventer/projects/Discordeno/docs/.docz
24 verbose Linux 5.4.0-52-generic
25 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "build" "--" "--prefix-paths"
26 verbose node v15.0.1
27 verbose npm  v7.0.3
28 error code 1
29 error path /home/chroventer/projects/Discordeno/docs/.docz
30 error command failed
31 error command sh -c gatsby build "--prefix-paths"
32 verbose exit 1

0 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'build' ]
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing config:load:defaults Completed in 2ms
4 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 1ms
5 timing config:load:builtin Completed in 1ms
6 timing config:load:cli Completed in 1ms
7 timing config:load:env Completed in 1ms
8 timing config:load:file:/home/chroventer/projects/Discordeno/docs/.npmrc Completed in 0ms
9 timing config:load:project Completed in 1ms
10 timing config:load:file:/home/chroventer/.npmrc Completed in 0ms
11 timing config:load:user Completed in 0ms
12 timing config:load:file:/usr/etc/npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:cafile Completed in 0ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:setUserAgent Completed in 0ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 8ms
19 verbose npm-session 6288334ef6e295c7
20 timing npm:load Completed in 17ms
21 timing command:run-script Completed in 13216ms
22 verbose stack Error: command failed
22 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:63:27)
22 verbose stack     at ChildProcess.emit (node:events:327:20)
22 verbose stack     at maybeClose (node:internal/child_process:1048:16)
22 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
23 verbose pkgid<EMAIL_ADDRESS>24 verbose cwd /home/chroventer/projects/Discordeno/docs
25 verbose Linux 5.4.0-52-generic
26 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
27 verbose node v15.0.1
28 verbose npm  v7.0.3
29 error code 1
30 error path /home/chroventer/projects/Discordeno/docs
31 error command failed
32 error command sh -c docz build
33 verbose exit 1

Any update on this? I'm facing the same error.

I am facing the same error. Any updates ?


Mempool - Waiting for blocks - nginx: [emerg] host not found in upstream "mempool.space"

Having this issue, which was not happening some days ago.
On nginx logs shows nginx: [emerg] host not found in upstream "mempool.space" in /etc/nginx/snippets/mempool.conf:38
Even after I restart the nginx (a few times), or reboot the RPI4 blitz 1.6.3 (3 times), get the same message, and always have to start manually nginx.
$ sudo journalctl -u nginx -b --no-pager -n20
Jan 25 23:58:43 raspberrypi systemd[1]: Starting A high performance web server and a reverse proxy server...
Jan 25 23:58:46 raspberrypi nginx[525]: nginx: [emerg] host not found in upstream "mempool.space" in /etc/nginx/snippets/mempool.conf:38
Jan 25 23:58:46 raspberrypi nginx[525]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jan 25 23:58:46 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Jan 25 23:58:46 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'.
Jan 25 23:58:46 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Jan 26 00:00:14 raspberrypi systemd[1]: Starting A high performance web server and a reverse proxy server...
Jan 26 00:00:14 raspberrypi systemd[1]: Started A high performance web server and a reverse proxy server.

Solved:
sudo rm /home/mempool/mempool/backend/cache*
sudo systemctl restart mempool

Solved:
sudo rm /home/mempool/mempool/backend/cache*
sudo systemctl restart mempool


Removing duplicate ReactorSession::closeAsync call in session-endpoint error-handler.

API change check
API changes are not detected in this pull request.


Clicks not recogniced on Android

The following "on update system" works well on desktop. Unfortunately, on mobile I cannot get it working properly. It seems like clicks/taps are not recognized so even I create other elements such as sliders, dropdowns, ... and try to tap them, nothing happens.
fn update_menu(mut egui_context: ResMut<EguiContext>) {
    egui::containers::Area::new("main_container").show(egui_context.ctx_mut(), |ui| {
    ui.button("click me");
...

These are my dependencies
[dependencies.bevy]
version = "0.9.0"
default-features = false
features = [
  "render",
  "bevy_asset",
  "png",
  "x11"
]

[dependencies.bevy_egui]
version = "0.17.1"
default-features = false
features = [
  "default_fonts"
]

As far as I have seen in https://github.com/rust-windowing/android-ndk-rs, egui should work on android so what am I missing here? (I'm using cargo apk to build the android package)

I would be glad to help testing once this has been merged ....
Anyway I wonder - The PR seems to add something to winit even tough bevy uses this already and touch is working in plain bevy apps for me (just implemented zoom gestures the other day. So are we sure that we need to fix that in winit?

@michaelrampl I meant this patch specifically: https://github.com/mvlabat/bevy_egui/issues/104#issuecomment-1174619219.
It shouldn't require any changes to winit.


Dashes in get param value is not accepted

@Get('/:uuid/stuff') public getSomething(@Param('uuid') uuid) { }
When i use the above, and sent a /1234-234234-24324234/stuff (as example)
I get a 'Error' @  HttpError.js:18:22

If i do it through @Req() request and request.params.uuid  it does work as a workaround

hmm thats strange, I'll take a look on this one

Hi, I wanted to fix the bug but it turned about that it is a JSON.parse syntax error (caused by the dash) since the string will be treated as an object if you don't specify the type.
So if you specify that uuid is a string you wont get the error @thijsvanbuuren

if "reflect-metadata" cannot identify param type, it's "design:paramtypes" function will return "object" and "routing-controllers" will try to parse that param as json, there comes the error. In order to make @Get('/:uuid/stuff') public getSomething(@Param('uuid') uuid) { } work, you must set param type to string eg. @Get('/:uuid/stuff') public getSomething(@Param('uuid') uuid: string) { }.

resolution is to specify a correct parameter type


Fix auto-generated workbox v4 doc issues

Fixes: https://github.com/GoogleChrome/workbox/issues/1921
Target Live Date: ASAP

[x] This has been reviewed and approved by (@jeffposnick)
[x] I have run npm test locally and all tests pass.
[x] I have added the appropriate type-something label.
[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele

Whoops!
There were 6 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/tools/workbox/reference-docs/latest/index-all.html#L197 - Consider adding a "was this page helpful?" widget to your page: https://developers.google.com/web/resources/widgets#helpful
src/content/en/tools/workbox/reference-docs/latest/index.html#L1073 - Consider adding a "was this page helpful?" widget to your page: https://developers.google.com/web/resources/widgets#helpful
src/content/en/tools/workbox/reference-docs/latest/workbox-routing_index.mjs.html#L71 - Consider adding a "was this page helpful?" widget to your page: https://developers.google.com/web/resources/widgets#helpful
src/content/en/tools/workbox/reference-docs/latest/workbox-sw_index.mjs.html#L49 - Consider adding a "was this page helpful?" widget to your page: https://developers.google.com/web/resources/widgets#helpful
src/content/en/tools/workbox/reference-docs/latest/workbox.html#L188 - Consider adding a "was this page helpful?" widget to your page: https://developers.google.com/web/resources/widgets#helpful
src/content/en/tools/workbox/reference-docs/latest/workbox.routing.html#L254 - Consider adding a "was this page helpful?" widget to your page: https://developers.google.com/web/resources/widgets#helpful

:tada: This has been pushed live to https://developers.google.com/web/


Document: article type

Librarians requested to add article to document type list.
The use case is supposed to provide a distinction for acquisition orders of the specific articles for users (since the acq order requires to be created on a document).
In specific case we could simply add the type without implications.
In generic ILS case we should consider the implications of the hierarchy: journal -> periodical_issue -> article
Normally the publications should follow the above hierarchy (see example https://libguides.jcu.edu.au/harvard/journal-article)
but it is possible to have an article without an issue (happens sometimes in online publications).
It is also possible that the library (in the meaning of ILS instance) can have only an article, without catalogued periodical issue or journal, as a standalone article, when only the publication_info field contains the journal information (without journal
record in ILS)
From the point of view of circulation, we create a borrowing request on the whole periodical issue or and standalone article if the library supplies it in loanable form. Considering this, article and periodical issue should be both of document record type, so they can be loaned.
In any case the number of standalone articles would be rather small in comparison with all the journal issues as a whole.
To handle possible relations between article and periodical issue (when the article is part of periodical issue which is existing in the db) we can:
a) create a new parent-child relation for them (potentially tricky in terms of code, and requires adding new sections on document details page)
b) create a new relation of sibling type between these documents, which would be easier to implement but conceptually wrong, when we consider the nature of relation article-periodical issue. It would also require adding a new tab to the relation section in the backoffice)
c) use the existing sibling relation OTHER with note is article of which again is conceptually confusing, but explained by the note. It requires minimal changes, which considering the article being corner case of the periodical issue subset of records could be the best solution.

The ISSUE_ARTICLE will be added with https://github.com/CERNDocumentServer/cds-ils/issues/333


Offline - ability to add a request offline

This issues tracks the ability for a user to add a request while in offline mode.

This issue is fixed with #630


The drag bar for modeling sometimes sticks on the screen when navigating across assets

Describe the bug
On validating the experience for https://github.com/rilldata/rill-developer/pull/1561, One issue this surfaced is the drag bar for modeling between the SQL editor and the table has some weird stickiness if you navigate quickly across assets. We didn't see this in the past because the application was slower to change assets as users waited for profiles to finish.
To Reproduce
internal video here: https://rilldata.slack.com/archives/C04HFB0J81J/p1672930201682569?thread_ts=1672899117.870719&cid=C04HFB0J81J
Expected behavior
I don't expect the pull bar to follow me around the application. :)

@magorlick Can't access the internal video as it might be in a private dm/channel. I tried moving between assets and moving the drag bar but I am unable to reproduce this bug. Can you check if it's still reproducible?

Let's close this for now. We probably had an uncaught error when we migrated that caused this that we have fixed. If we see it again, we will refile. Thank you!


Not able to use your action due to a fatal error

I'm getting the following error.
fatal: You are not currently on a branch.

Here you can get the full error
https://github.com/bikecoders/ngx-deploy-npm/runs/4121319485?check_suite_focus=true
And this is my workflow config file
name: Experiment
on:
  push:
    branches:
      - push-to-protected-branches
jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: ./.github/actions/setup

      - name: git config
        shell: bash
        run: |
          git config user.name "Github Actions"
          git config user.email "-"
      - name: Version and Publishment
        run: npx nx version-preliminar --dry-run false

      - name: Tag last-release
        run: git tag -f last-release

      - name: Push to protected branch
        uses: CasperWA/push-protected@v2
        with:
          token: ${{ secrets.DELETEME_JUST_A_TEST }}
          branch: ${{ github.ref }}
          tags: true
          unprotect_reviews: true

The problem was because I was using the github context github.ref and its value is refs/heads/main instead of just main. I changed the branch name to main and it worked

Right. Maybe not a bad thing to have a ref key to use for this - but it should be mutually exclusive with branch I suppose?


Update Hive_SLT3.md

Added new steps to pair the thermostat and the receiver using the zigbee2mqtt web interface.

thanks


Use more restricted OAuth scopes

Mastodon added a bunch of new OAuth scopes in 2.4.3. Moa still requests the full "read" and "write" permissions, which are now far too broad.
write:statuses, write:media, read:accounts, and read:statuses should be enough.

Seems reasonable

OK I've made this change.

Why did you revert the change? Is there something that doesn't work with this?


Functions to properties conversion

See issue #25

Sorry Alexander, this is going backwards, to me. See discussion in #25


Plugin is broken with the latest(1.17.1) release of Flow

Not entirely sure whether this is the fault of the plugin or something broken in Flow, but here's the info:
Exception
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   Source: System.Private.CoreLib
   TargetAssembly: System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
   TargetModule: System.Private.CoreLib.dll
   TargetSite: Void ThrowArgumentOutOfRange_IndexMustBeLessException()
   at System.Collections.ObjectModel.Collection`1.set_Item(Int32 index, T value)
   at Flow.Launcher.Core.Plugin.NodePlugin.RequestAsync(JsonRPCRequestModel request, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\NodePlugin.cs:line 31
   at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 261
   at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass23_0.<<QueryForPluginAsync>b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 196
--- End of stack trace from previous location ---
   at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 34
   at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 195

Flow.Launcher.Core.ExternalPlugins.FlowPluginException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   Source: Flow.Launcher.Core
   TargetAssembly: Flow.Launcher.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
   TargetModule: Flow.Launcher.Core.dll
   TargetSite: Boolean <QueryForPluginAsync>b__1(Flow.Launcher.Plugin.ActionContext)
   at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass23_1.<QueryForPluginAsync>b__1(ActionContext _) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 224
   at Flow.Launcher.Plugin.Result.ExecuteAsync(ActionContext context) in /_/Flow.Launcher.Plugin/Result.cs:line 221
   at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 294
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Environment

Command Line: AppData\Local\FlowLauncher\app-1.17.1\Flow.Launcher.dll
Timestamp: 02/06/2024 03:29:22
Flow Launcher version: 1.17.1
OS Version: 19045.3570
IntPtr Length: 8
x64: True
Python Path: C:\Python39\pythonw.exe
Node Path: AppData\Roaming\FlowLauncher\Environments\Node.js\Node-v16.18.0\node-v16.18.0-win-x64\node.exe
CLR Version: 7.0.14
Installed .NET Framework:

v2.0.50727 2.0.50727.4927 SP2
v3.0 3.0.30729.4926 SP2
v3.5 3.5.30729.4926 SP1
v4 Client 4.8.09037
v4 Full 4.8.09037
v4.0 Client <IP_ADDRESS>

Solved with the latest Flow update.


network cost don't convergence

RL_brain.py and DQN_modified.py
network cost don't convergence
environments:
python3
tensorflow 1.3.0
macbookpro

In those scripts, if you want to converge, you have to lower the learning rate gradually.


Create notebook forecast_interpretation.ipynb

Before submitting (must do checklist)

[ ] Did you read the contribution guide?
[ ] Did you update the docs? We use Numpy format for all the methods and classes.
[ ] Did you write any new necessary tests?
[ ] Did you update the CHANGELOG?

Proposed Changes

Resolves second point from #1189
Closing issues

closes #1189

Codecov Report

Merging #1220 (124b193) into master (b5b7cb2) will decrease coverage by 79.81%.
The diff coverage is n/a.

:exclamation: Current head 124b193 differs from pull request most recent head fff4909. Consider uploading reports for the commit fff4909 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master   #1220       +/-   ##
==========================================
- Coverage   87.48%   7.67%   -79.81%
==========================================
  Files         175     186       +11
  Lines       10313   10614      +301
==========================================
- Hits         9022     815     -8207
- Misses       1291    9799     +8508

see 181 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

We have a 21-day lag, so we cannot exceed this number.

View entire conversation on ReviewNB

Examples with separate calls of forecast and predict will be added in a separate section.

View entire conversation on ReviewNB

We can use 21 lag with horizon 21

View entire conversation on ReviewNB

We can't leave this line this way because it is not correct way to use it, plot_forecast_components should get the components via dataset interface, not via names

View entire conversation on ReviewNB

Better to create dataset out of target components

View entire conversation on ReviewNB

Concluding sentence about the whole notebook

View entire conversation on ReviewNB

The first sentence is redundant, will remove it.

View entire conversation on ReviewNB

Added

View entire conversation on ReviewNB

Added

View entire conversation on ReviewNB

But effects of what?)))

View entire conversation on ReviewNB

"decomposition down to components" just doesn't sound good.

View entire conversation on ReviewNB


update of code to use the new attribute to check for the availability of MPS

When I try to install pytorch, at the end I want to check if everything is alright using the pytorch-install-aug-2023.ipynb.
But I received a warning:

Maybe 'has_mps'  has been replaced by 'torch.backends.mps.is_built()'?

Thanks, let me check into that! Looks like a more logical name... like most breaking changes.

@jeffheaton  @wendy-ziwen-meng I ran into the same thing. This change worked perfectly for me:
has_mps = torch.backends.mps.is_built()
device = "mps" if has_mps else "gpu" if torch.cuda.is_available() else "cpu"

Correct code for this seems to be:
`
Make use of a GPU or MPS (Apple) if one is available.
has_mps = torch.backends.mps.is_built()
device = "mps" if has_mps else "cuda" if torch.cuda.is_available() else "cpu"
print(f"Using device: {device}")
`
This works on CUDA as well.

Okay, I think I got every location where device is detected, if there are any more, let me know.


Remove the tab search feature

The tab search feature in chromium 91 takes useless space at the top.
In chromium 90, the feature could be disabled in chrome://flags, which is not the case in the last version.
If possible, give a toggle in chrome://flags to remove it for users who don't want this feature.
Thanks

There is an additional patch that you can apply

@networkException the provided patch just removes the button, and not the Ctrl+Shift+a binding and tab search feature altogether, right?

Yes

I could submit the patch with a flag to toggle it if there is enough demand and @Eloston thinks it fits in the main repo.  I usually try to keep small visual changes like that in the contrib repo.
I actually forgot about the keyboard shortcut, so pressing Ctrl+Shift+a while using that patch causes a crash since the button no longer exists.  When I get some time I'll update that patch to also remove the keybinding.

@Ahrotahn With this patch applied, it still reserves some free space, where the button was:

Could it be, that also tip_marquee_view_->SetProperty(views::kMarginsKey, control_padding); needs to be removed?

The majority of that space is for a reserved area to allow dragging the window, but that part you found is for a yet-to-be-used feature that makes popup tips telling the user how to use chromium that is also taking some space.
You can remove or change the amount of space for the drag area with this change:
--- a/chrome/browser/ui/views/frame/tab_strip_region_view.cc
+++ b/chrome/browser/ui/views/frame/tab_strip_region_view.cc
@@ -71,7 +71,7 @@
     // Reserve some space for the frame to be grabbed by, even if the tabstrip
     // is full.
     // TODO(tbergquist): Define this relative to the NTB insets again.
-    return gfx::Size(42, 0);
+    return gfx::Size(0, 0);
   }
 };

You can remove the tip space with:
--- a/chrome/browser/ui/views/frame/tab_strip_region_view.cc
+++ b/chrome/browser/ui/views/frame/tab_strip_region_view.cc
@@ -239,25 +239,7 @@
   reserved_grab_handle_space_->SetProperty(
       views::kFlexBehaviorKey,
       views::FlexSpecification(views::MinimumFlexSizeRule::kPreferred,
-                               views::MaximumFlexSizeRule::kUnbounded)
-          .WithOrder(3));
+                               views::MaximumFlexSizeRule::kUnbounded));
-
-  // This is the margin necessary to ensure correct spacing between right-
-  // aligned control and the end of the TabStripRegionView.
-  const gfx::Insets control_padding = gfx::Insets(
-      0, 0, 0, GetLayoutConstant(TABSTRIP_REGION_VIEW_CONTROL_PADDING));
-
-  tip_marquee_view_ = AddChildView(
-      std::make_unique<TipMarqueeView>(views::style::CONTEXT_LABEL));
-  tip_marquee_view_->SetProperty(
-      views::kFlexBehaviorKey,
-      views::FlexSpecification(
-          views::LayoutOrientation::kHorizontal,
-          views::MinimumFlexSizeRule::kPreferredSnapToMinimum)
-          .WithOrder(2));
-  tip_marquee_view_->SetProperty(views::kCrossAxisAlignmentKey,
-                                 views::LayoutAlignment::kCenter);
-  tip_marquee_view_->SetProperty(views::kMarginsKey, control_padding);
 }

 TabStripRegionView::~TabStripRegionView() = default;

There will still be a tiny bit of space due to the padding of the other objects, but those changes essentially remove all of that space.
I'll play around with making a flag that allows setting a custom drag area size.  I could see that being pretty useful.
The tip thing is something I'll have to check on as it gets implemented.  I might add that change as a patch to the contrib repo some time later depending how that develops.

Thanks for the snipplets, it is now much better:

If anyone is interested, the resulting patch with all the snipplets combined looks like this:
## This patch removes the tab search button from the tab strip.

--- a/chrome/browser/ui/views/frame/tab_strip_region_view.cc
+++ b/chrome/browser/ui/views/frame/tab_strip_region_view.cc
@@ -71,7 +71,7 @@
     // Reserve some space for the frame to be grabbed by, even if the tabstrip
     // is full.
     // TODO(tbergquist): Define this relative to the NTB insets again.
-    return gfx::Size(42, 0);
+    return gfx::Size(0, 0);
   }
 };

@@ -239,38 +239,7 @@
   reserved_grab_handle_space_->SetProperty(
       views::kFlexBehaviorKey,
       views::FlexSpecification(views::MinimumFlexSizeRule::kPreferred,
-                               views::MaximumFlexSizeRule::kUnbounded)
-          .WithOrder(3));
-
-  // This is the margin necessary to ensure correct spacing between right-
-  // aligned control and the end of the TabStripRegionView.
-  const gfx::Insets control_padding = gfx::Insets(
-      0, 0, 0, GetLayoutConstant(TABSTRIP_REGION_VIEW_CONTROL_PADDING));
-
-  tip_marquee_view_ = AddChildView(
-      std::make_unique<TipMarqueeView>(views::style::CONTEXT_LABEL));
-  tip_marquee_view_->SetProperty(
-      views::kFlexBehaviorKey,
-      views::FlexSpecification(
-          views::LayoutOrientation::kHorizontal,
-          views::MinimumFlexSizeRule::kPreferredSnapToMinimum)
-          .WithOrder(2));
-  tip_marquee_view_->SetProperty(views::kCrossAxisAlignmentKey,
-                                 views::LayoutAlignment::kCenter);
-  tip_marquee_view_->SetProperty(views::kMarginsKey, control_padding);
-
-  const Browser* browser = tab_strip_->controller()->GetBrowser();
-  if (browser && browser->is_type_normal()) {
-    auto tab_search_button = std::make_unique<TabSearchButton>(tab_strip_);
-    tab_search_button->SetTooltipText(
-        l10n_util::GetStringUTF16(IDS_TOOLTIP_TAB_SEARCH));
-    tab_search_button->SetAccessibleName(
-        l10n_util::GetStringUTF16(IDS_ACCNAME_TAB_SEARCH));
-    tab_search_button->SetProperty(views::kCrossAxisAlignmentKey,
-                                   views::LayoutAlignment::kCenter);
-    tab_search_button_ = AddChildView(std::move(tab_search_button));
-    tab_search_button_->SetProperty(views::kMarginsKey, control_padding);
-  }
+                               views::MaximumFlexSizeRule::kUnbounded));
 }

 TabStripRegionView::~TabStripRegionView() = default;
`


How can i get register and get callback once file is played.

Hi @jeancsanchez ,
Thanks for the sharing, how can i get the call back of each audio is played. I tried the sample application unfortunately i can't able get completion listener or info listener like a behavior. Can you please share us to add. Thanks.

@jeancsanchez  thanks 👍


[TM] Add spec for SourceCode

Summary
Part of #24875
Changelog
[General] [Added] - Add TurboModule spec for SourceCode
Test Plan
Run yarn flow-check-ios and yarn flow-check-android at the root level

I'm not too sure how to update tests that are directly writing to NativeModules.
For instance: https://github.com/facebook/react-native/blob/0815f811dfbfa48b028ef27ec6deb8a6df5491ba/Libraries/Image/tests/resolveAssetSource-test.js#L60
Let me know your thoughts on this.

I'm not too sure how to update tests that are directly writing to NativeModules.
For instance:
https://github.com/facebook/react-native/blob/0815f811dfbfa48b028ef27ec6deb8a6df5491ba/Libraries/Image/__tests__/resolveAssetSource-test.js#L60
or
https://github.com/facebook/react-native/blob/0815f811dfbfa48b028ef27ec6deb8a6df5491ba/jest/setup.js#L261-L263
Let me know your thoughts on this.

Change them to getConstants() calls:
SourceCode: {
  getConstants: function() {
   return {
     scriptURL: null,
    }
  }
}

and
NativeSourceCode.getConstants().scriptURL = 'http://<IP_ADDRESS>:8081/main.bundle';

Thanks @ericlewis you put me on the right track 👍
This what I did to fix the tests: https://github.com/facebook/react-native/pull/24901/commits/7eeb16bfe4c9613f228fae847ebb41d077d457b1


Comparison with sentence-transformers

Hi, any comparison with sentence-transformers form https://github.com/UKPLab/sentence-transformers ?
That would be really interesting indeed. 😃

Hi,
we do have the comparison and also used the pre-trained models from UKPLab.
More details: https://arxiv.org/abs/2002.06652

Really interesting paper. Good job Bin!
I will try to compare pre-trained models from UKPLab and your pretrained embeddings on WMT similarity task. From the README, I assume that I should use sen_emb.py to get sentence embeddings from a given string, would you agree?

Yep, sure.

Hi @BinWang28 , how would you go to provide sentence-embeddings from your code?
I checked sen_emb.py after looking at example2.sh, but I cannot see where is your pretrained model exactly? A snippet of code like sentence-transformers does would be very useful. 😀

Hi, We have uploaded the pre-trained model on the server. It will automatically be downloading when you run the script.

Hi @BinWang28 , are you planning on sharing multilingual models as well? That would be of interest for me.


Revert "Revert "Update LANGUAGES.md""

Reverts Roshanjossey/first-contributions#1093
again the path is incorrect!

corrected the path

phew, now it works properly.


Convert to typescript?

Would be nice to see this in typescript

Maybe i'm wrong, but I just created a hooman.d.ts file and told typescript that it's a Got type.
declare module "hooman" { 	const got: import("got").Got; 	export default got; }


[SPARK-39914][SQL] Add DS V2 Filter to V1 Filter conversion

What changes were proposed in this pull request?
Add util methods to convert DS V2 Filter to V1 Filter.
Why are the changes needed?
Provide convenient methods to convert V2 to V1 Filters. These methods can be used by SupportsRuntimeFiltering and later be used by SupportsDelete
Does this PR introduce any user-facing change?
No. These are intended for internal use only
How was this patch tested?
new tests

The GA failure doesn't seem relevant.

@cloud-fan Could you please take a look when you have time? Thanks!

Thanks for reviewing! Merged to master.