debian: don't take version number directly from debian/changelog

Use version from pom.xml and add Jenkins build number.
Untested. Open to discussion. If we need to transition from an old scheme, we can use epoch. @marcaurele @llambiel

I'd rather have the epoch as it's better reflecting the way we handle precedence in packages installation (the youngest wins). And then we would be able to build from different branches if needed.
Something like "4.4.2-1-exoscale-20160225-1256" as I'm unsure if we can have "4.4.2-exoscale-20160225-1256", the latter being better.

So, you can juste add $(shell date +%Y%m%d) whenever you want. We can have whatever you want. Most packages are using 4.4.2-0~precise0+exo1 (4.4.2 is the upstream version, first 0 means no Debian/Ubuntu version, second 0 means no backport to Precise yet from Ubuntu, and the last 1 means first change in packaging for us). You could do 4.4.2-20160225-1256-0~precise0+exo1, that would fit the scheme too. However, this doesn't really matter as there will never be an Ubuntu/Debian version and there never be a backport from Ubuntu and packaging changes will never be done without an increment in the build number.
The output of git describe --tags could also be used.
If the version with the old scheme is greater than the version with the new scheme, you can fix that by using "1:4.4.2-exoscale-20160225-1256" (adding 1: before the version).


Test-alert button

So I can see what it looks like, and make sure it's working

This issue was moved to weaveworks/service-ui#787


Storage provider of DefaultCacheStorageProvider Output Cache

Hey I was exploring the code of DefaultCacheStorageProvider class because I wanted to invalidate it for different instances with a message bus. But I found that is uses HttpContext.Cache instead of MemoryCache that was causing exception since we don't have HttpRequest that will init the HttpContext. So my question is what is the reason to use HttpContext.Cache instead of MemoryCache?

It is mem cache = no?
Stack Overflow
The HttpRuntime.Cache is available to all "users" (IP's, IIS Session, etc.) on the 'net but HttpContext is only available to the current IIS session?
See: Peter Johnson's page.
Need it under the correct namespace in VS 2015 hover over HttpContext.Cache in Modules\Orchard.OutputCache\Services\CacheService.cs and see what message it gives ya.
using System.Web.Caching;
MSDN System.Web.Caching Namespace

To answer the original question, we don't use MemoryCache as we want a store that can be cleared when the system requests memory. This is the case with HttpContext.Cache, not with MemodyCache.

There is a way to tag the cache entries though, that you could use to define custom invalidation. If it lack more extensibility feel free to raise the concern. Also, cache entries are automatically removed when a content item they rendered has been changed.

So my concern is that I want to keep the Cache in memory but I want to invalidate it when an item is changed in distributed environment. So I created a decorator of TagCache class that hooks on RemoveByTag and sends message though message bus to all subscribers that will have to invalidate their in memory cache but the _workContext.HttpContext object is disposed when some of the subscribed machines try to invalidate the cache entries for this tagged item.
I created an implementation of the storage provider with the memory cache instead of HttContext.Cache and it worked as intended.
As far as I know when you add a cache entry into the MemryCache you can specify the CacheItemPolicy.Priority to Default and by doing this you will have again a cache that can be cleared when the system requests memory.
@donaldboulton here is something to read for you my friend https://msdn.microsoft.com/en-us/library/dd997357.aspx Next time please you read first, before you give some advices to others that asks questions.

Also Microsoft recomeds using of System.Runtime.Caching instead of System.Web.Caching for applications build over .NET Framework 4.0 and above. That is why I wonder why did you decide to use the "old" way of implementation.


build command gives error

When trying to build the project, I am getting this error -
><EMAIL_ADDRESS>build /Users/brijesh/projects/codepan
> poi build

> Running in production mode
> Using external Poi config file
> location: "~/projects/codepan/poi.config.js"
> Using external babel configuration
> location: "~/projects/codepan/.babelrc"
> Using external HTML template file
> location: "~/projects/codepan/index.ejs"
> Using main field in package.json as entry point

TypeError: config.module.noParse.add is not a function
    at extendWebpack (/Users/brijesh/projects/codepan/poi.config.js:13:8)
    at webpackFlows.forEach.flow (/Users/brijesh/projects/codepan/node_modules/poi/lib/index.js:64:43)
    at Array.forEach (native)
    at handleOptions.then.options (/Users/brijesh/projects/codepan/node_modules/poi/lib/index.js:64:27)

 FAIL  Failed to start!

npm ERR! code ELIFECYCLE
...

Something to do with -
config.module.noParse
      .add(/babel-preset-vue/)

in poi.config.js

I guess you're using npm install instead of yarn?
There's a breaking change but it will be fine if you have a yarn.lock I think, but anyways I have to update this config to use the latest API of webpack-chain.

Yes. I am using npm.

should be fixed now.


ExchangeOnlineManagement Powershell "Set-UnifiedGroup Group -CalendarMemberReadOnly" no longer working

As of the June update, this cmdlet no longer works and gives a "Set-UnifiedGroup: Object reference not set to an instance of an object." error when trying to run. See powershell output below
PS /home/dave> Connect-ExchangeOnline

This V3 EXO PowerShell module contains new REST API backed Exchange Online cmdlets which doesn't require WinRM for Client-Server communication. You can now run these cmdlets after turning off WinRM Basic Auth in your client machine thus making it more secure.
Unlike the EXO* prefixed cmdlets, the cmdlets in this module support full functional parity with the RPS (V1) cmdlets.
V3 cmdlets in the downloaded module are resilient to transient failures, handling retries and throttling errors inherently.
However, REST backed EOP and SCC cmdlets are not available yet. To use those, you will need to enable WinRM Basic Auth.
For more information check https://aka.ms/exov3-module

PS /home/dave> Set-UnifiedGroup **** -CalendarMemberReadOnly
Set-UnifiedGroup: Object reference not set to an instance of an object.
PS /home/dave> Get-UnifiedGroup ****
Name                                                  DisplayName GroupType PrimarySmtpAddress

**********************************            ******        Universal<EMAIL_ADDRESS>PS /home/dave> Set-UnifiedGroup ***** -CalendarMemberReadOnly:$true
Set-UnifiedGroup: Object reference not set to an instance of an object.

@dsmith-dsb, you should open a support ticket about this.

I would like to reopen this as I tired this morning and I am still getting the error "Object reference not set to an instance of an object"

@linkmaster6, sure. But, this isn't a technical forum; this location tracks documentation issues.
As described earlier, you should open a support ticket to report this. Report back here with any information that can help improve the documentation. Unclear at this point if this is a transitory issue (meaning, it should work but currently doesn't for some reason) or if it's a known, "always will be this way" issue (in which case the documentation needs to be updated).
There has been a lot of back and forth about M365 Group cmdlets and lack of support based on versions of the module and connection methods (CBA, MI, etc.). It's telling to me that a bunch of other M365 Group cmdlets are listed as not working, but not Set-.


App Platform / Flux: discovery for working with non-GS clusters

Product strategy 2023
Platform teams priorities
Q1:

finish what we are working on;
discovery for building the golden path;
discovery for working with non-GS clusters (EKS first).

Q2:

cluster independent app platform (running on adopted cluster)
cluster independent dev platform (running on adopted cluster)
- bulding the golden path

golden path --> more about providing a supported path rather than building blocks for them to try and combine and expect us to support them
Scope
Within the scope of this discovery, we will test drive the app platform alternative (HelmReleases+Flux) in 1-2 places with lower impact to be more sure and have initial experience with it around the larger thought about going all in with Flux (and maybe sunsetting App Platform)
TODO

[ ] let’s write a post about the general vision we have around this to gather feedback from company at large (mostly around if App CRs still make sense as main interface for our releng platform)
[ ] https://github.com/giantswarm/roadmap/issues/1989
[ ] write down ideas about how to proceed with app platform

@piontec pls define scope and next steps as we agreed during preplanning

in scope for this, we will (partially) go through App Platform review

let’s write a post about the general vision we have around this to gather feedback from company at large (mostly around if App CRs still make sense as main interface for our releng platform) @piontec. We can link this ticket in the post and ask to leave feedback in this ticket

side related to this discovery, also this https://github.com/giantswarm/roadmap/issues/1989

https://github.com/giantswarm/giantswarm/issues/26051#issuecomment-1455993306

related to https://github.com/giantswarm/giantswarm/issues/24791

related to app-bundle discovery --> https://github.com/giantswarm/giantswarm/issues/26406

Write up about possible solutions here: https://hackmd.io/KZtXpAJ-Qu215NNAVY0BxQ?view

More high-level info: https://hackmd.io/BPXcLYvzTNaQzr2sPpqfFg

Research is done, we have some ideas, they were discussed with Timo and Puja. Closing this one and will create more specific implementation epics.


Startup version warning

Actual behavior (Required!)
Produces warning:

JavaComplete2 : TextChangedI feature needs vim version >= 7.4.143

on start up even though my vim version is version 7.4.52 as quoted by vim start up screen
Expected behavior (Required!)
No error/warning
The steps to reproduce actual behavior (Required!)

Open java source file using vim
Observe error
Profit?

Environment (Required!)

OS: Linux Mint 17.2 Rafaela (Cinnamon 64-bit)
Vim version: version 7.4.52
Neovim version: ???

The output of :redir and :message (Optional)
JavaComplete2 : TextChangedI feature needs vim version >= 7.4.143

7.4.52means 7.4.052,it is small than 7.4.143,please update your vim

Thanks, works now. I hope you see where the confusion crept in.


[Metrics] AUROC error on multilabel + improved testing

What does this PR do?

Fixes https://github.com/PyTorchLightning/pytorch-lightning/issues/3303
Also improves metric testing by more tests against sklearn (related to #3230 )
Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @SkafteNicki! Thanks for opening this PR.

In the file tests/metrics/functional/test_classification.py:

Line 46:121: E501 line too long (122 > 120 characters)
Line 364:27: E231 missing whitespace after ','
Line 364:30: E231 missing whitespace after ','
Line 365:29: E231 missing whitespace after ','
Line 365:32: E231 missing whitespace after ','

Do see the Hitchhiker's guide to code style

mind looking at failing tests?


list with dnsmasq

hello,
can we also have lists for dnsmasq /dnsmasq with server?
or can anyone help me how to convert the hosts file to dnsmasq?

I have a project that converts the standard Unified Hosts File (adware + malware) to dnsmasq/bind formats which might help.
https://github.com/oznu/dns-zone-blacklist
You could also use the hosts file in dnsmasq directly.

i think configuring dnsmasq to use it as an additional host file should work just fine

Alternatively, to do this via shell you can use something like this:
wget -O-  | awk '$1 == "<IP_ADDRESS>"  { print "address=/"$2"/<IP_ADDRESS>/"}' > /etc/dnsmasq.d/malware.conf
example:
wget -O- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | awk '$1 == "<IP_ADDRESS>"  { print "address=/"$2"/<IP_ADDRESS>/"}' > malware.conf
you could also use that line in a cron job to have it run periodically

Don't forget to print an extra line for IPv6, per #47. I use this script, although @erlepereira's script uses awk more elegantly and I may update mine accordingly. 😄

As mentioned in #47, can someone draft something for the "Interesting Applications" section on this so this issue can be closed?

@ScriptTiger I believe the nxdomain variants of @oznu's repo should handle both ipv4 and ipv6 without any additional configuration. At least, this is true of nxdomain behaviour under BIND9 and Unbound on Fedora and OpenBSD.

@ScriptTiger I have created a quick gist with some notes and a script file I use in cron to achieve the above in dnsmasq
gist -- https://gist.github.com/erlepereira/c11f4f7a3f60cd2071e79018e895fc8a
I could add more if needed, but I think it would suffice for the 'Interesting Applications" section. Let me know if more would be required.

That's up to Steven. I think recently he has been leaning towards supporting different formats internally, as he referenced in https://github.com/StevenBlack/hosts/issues/434. But as we don't really offer any Python script support or a README reference at the moment, I'm sure a PR for either would be welcomed at this point since we definitely get enough issues about it.


Fix ability to replay when at least one component supoorts reset

If an event-processor is used in multiple service-classes and one of those classes is annotated with @AllowReplay(false), the processor is no longer replayable, but it should.
PR for https://github.com/AxonFramework/AxonFramework/issues/2955

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Günter Kapfer seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@smcvb rebased and changed target branch to axon-4.9.x

I am disregarding the JDK17 and JK21 builds, as they keep failing on tests that have nothing to do with your changes.
As such, I'll go ahead and merge this PR.


Docs: Website search

Describe the rule
https://perfectionist.dev is beautiful ❤ - but doesn't have a search bar. I was trying to search for some options (#223) and that would have been handy. Would you be open to having one added?
Docs references for common site frameworks:

https://starlight.astro.build/guides/site-search
https://docusaurus.io/docs/search
https://content.nuxt.com/usage/search

Code example
n/a
Additional comments
Sorry for using the wrong template 😅 there wasn't one I could find for docs / website stuff.
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

That's a good idea.
However, I don't have much time right now. I might not be able to do it until two weeks from now.


remove libjingle developer guide

I don't think that the libjingle developer guide is useful in this context. Probably hasn't been updated much in the last five years either.

It was updated May 2015, but indeed it does not look like it's current. @samdutton @taylor-b WDYT about removing the link?

I agree about removing it. The information doesn't serve any purpose aside from a historical one.


Update variable definition

Hello,
seems variable is define using var, but as I know it is preferred to use let.
Please let me know if there is any problem.
Thanks 🙏

@djKooks please sign the cla and clear ensure the pr checks pass.  thanks

@jimmyeisenhauer done! thanks for notice~

seeing if i can force checks to rerun- seeing a issue with travis ci.  going to close and reopen.


Introduce TransformerFactoryConfigurationStrategy to be able to confi…

…gure a TransformerFactory per XsltEndpoint
Related to https://github.com/apache/camel-quarkus/issues/441

Next time create a JIRA ticket for something bigger like this


Microsoft.EntityFrameworkCore.SQLite on Android 7+ not working

I was successfully using Microsoft.EntityFrameworkCore.SQLite v.1.1.2 in a Xamarin.Android project. But for Android 7+, the app crashes with unauthorized access to "/system/lib64/libsqlite.so" (as reported here).
So I updated to version v2.0.0-preview1-final as this should fix the issue.
However, this results in other problems like the following where the app compiled, but crashed while deploying/starting on the emulator:
...
06-21 09:58:18.970 D/Mono    ( 3632): Assembly Loader probing location: 'System.Runtime.CompilerServices.Unsafe'.
06-21 09:58:18.970 F/monodroid-assembly( 3632): Could not load assembly 'System.Runtime.CompilerServices.Unsafe' during startup registration.
06-21 09:58:18.970 F/monodroid-assembly( 3632): This might be due to an invalid debug installation.

I then tried to add the 'System.Runtime.CompilerServices.Unsafe' NuGet package manually to my project, but it didnt fix the problem. I messed around a lot, trying different build parameters and such and actually got the app running on an Android 7 emulator. However, after a project clean and rebuild, the error showed up again.
Any help on how to get EFCore Sqlite to work on Android 7?
Steps to reproduce
Sample project: https://github.com/tipa/EFCoreSample
(Basically just the basic Android template from VS + the Nuget preview package)
Further technical details
EF Core version: v2.0.0-preview1-final
Database Provider: Microsoft.EntityFrameworkCore.Sqlite
Xamarin: <IP_ADDRESS>6
Xamarin.Android: <IP_ADDRESS>
Operating system: Windows 10
IDE: Visual Studio 2017 15.2

Any updates on this?

Have you tried again with version 2.0.0? an Xamarin.Android 7.5?

How can I test it with Xamarin.Android 7.5? Version 7.4 was just released a few days ago

@tipa Xamarin Updater Extension for VS 2017. For older version of VS you can switch channels in vs->options->xamarin (not sure if alpha or beta).
I had the same error so I updated everything to the latest version, VS + NET Core (2.0+) + Xamarin Preview (I'm using Xamarin.Android 7.5 ), and everything is fine since then.

@erikpowa that means I am forced to use VS17 Preview in order to use Xamarin.Android 7.5, is that correct? I would probably even do that if that finally resolves that issue

I have the same issue on the current stable and on the preview of Xamarin. But I still have the same issue..

(Marking for re-triage. Xamarin supports .NET Standard 2.0 now, but this still seems to be blocked.)

Hi, this is very serious for us, since we are already shipping the Android app with netstandard1.4.
For now just no one use a Android 7+ phone, but now we might loose many important customers if we can't get it working very soon.
Can you give me any advice on how to handle this? Is there any workaround to make it work on Android 7+?
I'd be grateful for any help. Thanks.

If you target 6.0 with your app and use EF 1.x it should work on Android 7+ as well. There is a message shown sometimes when you start, but you can just hit ok and it should be functional.

Thank you! Didn't think there was an easy solution like this (though i also added this: https://github.com/aspnet/EntityFrameworkCore/issues/7870).
For now this is the better solution anyway until we can upload UWP projects to the app store with netcore2.0 ;)

ah right. that one is also an important one :) Glad it worked :)

Any updates on this? Same problem exists with Xamarin.Android 8.0 and VS17 Update 4.

It seems the issue only appears with either project.json or package ref. With the old packages.config it seems to work so far.
I have two projects attached, one with packages.config (App1) und eines mit packagesRef (App2).
Desktop.zip

I have the same problem, an update would be much appreciated

We're having the same issue using EF Core 2.0.1 in VS 15.4.3 and VS 15.5 Preview 3 with no luck.
This is annoying because the Xamarin application is now blocked because of this.

@alexdrl

use package.config and do a Clean Build
or
if you're using PackageReference, make sure you've manually added System.Runtime.CompilerServices.Unsafe 4.3.0 nuget package and do a Clean Build (delete obj/bin folders, restore nuget packages etc)

Thanks - while both of your suggestions work, they feel like a workaround. Would be awesome if we wouldnt have to use them in the future

@erikpowa We are in the point 2, using PackageReference. I cannot install System.Runtime.CompilerServices.Unsafe 4.3.0 because EF Core 2.0.0 uses the 4.4.0 version, so NuGet detects a package downgrade, and does not let me install 4.3.0.

@alexdrl I think the following trick is neccessary to make it work.
Manually edit your csproj file and define, that the NU1605 warning shouldn't be treated as an error.
<PropertyGroup>
  <NoWarn>$(NoWarn);NU1605</NoWarn>
</PropertyGroup>

Now in your Project File add the Package:
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.3.0" />

Then I would:

Clean the NuGet Caches
Clean all bin and obj folders
Restore the Packages
Build

Now your Xamarin App should start with Entity Framework 2.0. 👍

@bytefish @erikpowa That workaround worked good... as we're working closely to the latest version of .NET Core/Standard and Xamarin, could you give us some explanation of why is this happening?
Thank you for the workaround.

When I add the System.Runtime.CompilerServices.Unsafe package I get an Exception during linking:
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2153,3): warning MSB3277: Found conflicts between different versions of "System.Runtime.CompilerServices.Unsafe" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018: The "LinkAssemblies" task failed unexpectedly.
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018: Mono.Linker.MarkException: Error processing method: 'System.Void Microsoft.Extensions.Primitives.InplaceStringBuilder::Append(System.String,System.Int32,System.Int32)' in assembly: 'Microsoft.Extensions.Primitives.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void System.Runtime.CompilerServices.Unsafe::CopyBlockUnaligned(System.Void*,System.Void*,System.UInt32)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.ProcessQueue()
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    --- End of inner exception stack trace ---
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.ProcessQueue()
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.ProcessEntireQueue()
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.Process()
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Mono.Linker.Pipeline.Process(LinkContext context)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext& context)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Xamarin.Android.Tasks.LinkAssemblies.Execute()
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

So I have to set the linker to "None" instead of "SDK Assemblies only". Is there a work around for that? I already set the entry mentioned by @bytefish .
This happens on VS15.5.

Could not load assembly 'System.Runtime.CompilerServices.Unsafe' during startup registration.
I have same issues when start a solution using Prism Template Pack (set only to Android), then i add Realm DB from Nuget packages. Without Realm, no issues
I'm using Visual Studio 2017 with update 15.4 on Windows 10

@bytefish @erikpowa That workaround worked! Thanks!

@NPadrutt Maybe this comment is helpful to work around the Linker issue:

https://github.com/Azure/azure-iot-sdk-csharp/issues/270#issuecomment-349749853

@bytefish I included the linker.xml file with the suggested content, but no luck.
This issue is now 6 months old and still we are using half baked workarounds that get broken with ever other VS or Xamarin release. Really frustrating...

@divega Can we follow up with the Xamarin Android team on this?

Thanks @bricelam. I started an email thread with the Xamarin folks to figure out with them how to best manage this and other issues that were reported here but appear to be Xamarin issues.
At least for now, I would like to make sure such issues are also marked area-external to distinguish them from any Xamarin-related issues we need to address on our side. Can you please help me make sure they are?

@bytefish fix works but requires the linker set to "Don't link". This is not good.

Any news here? I cannot go back to 1.3 :( And really need EF with SQLite to work on our app in Android. How is this long delay of a fix even possible? :(

I am using it in our monodroid 8 app. I had to convert the project to using packages.xml instead of packagereference though.. I'm waiting for this issue to be fixes so that I can convert back to packagereference and drop packages.xml again..

yes, it's the package reference scenario I want them to fix. It has been many converts back and forth already, because of other libs and I'm done spending time converting, my clients do not pay for that job :(

Clearing milestone to decide in triage whether we want to keep this for tracking purposes or whether we should close.
The underlying issues in Xamarin Android are now tracked in xamarin/xamarin-android#1154 and xamarin/xamarin-android#1196.

Thanks for the update @divega


Twice ajax request

Hi! Each time I'm redirected to another page by a link and in that page there is an AJAX get request with a ready event binded, the request is send twice ( with ready, because with turbolinks:load sends a lot of request and can reach more than 10 )  instead of one time.
Here is the code for the component:

Sort of sounds like the preview cache executing the tag. If you add   <meta name="turbolinks-cache-control" content="no-preview"> to the top of the page with this component, does that solve the problem?

Another solution might be to modify your code so that it does not execute when the preview attribute is present.

thanks it works! there is a full documentation? the readme is not enought. How turbolinks-cache-control fix this? it was a event issue?

Closing as solved / inactive


3x4 and 4x3 matrix support

Would 3x4 and 4x3 matrix support (including pseudo invert between them) make sense as an addition to this library? I'm working on a raw loading library that uses those sizes to deal with 4 color images being converted into 3 color ones:
https://github.com/pedrocr/rawloader/blob/4ba0a7a992f6d6c9384f68cf25f81c6ee71621b7/src/imageops/colorspaces.rs
It would be nice if I could move to using a library instead of doing these things by hand.

This would be super cool. Not sure how best to do it though. The traits have been designed in such a way as to allow that though.

The pseudo-inverse code is half there (only does one direction) and the multiplication code would be easy. What else would be needed for proper support for this?

Not sure! Feel free to chat to me on Gitter: https://gitter.im/brendanzab/cgmath

One potential option would be to make matrices generic over InnerSpace, so that the number in the Matrix type's name represents the number of rows and the number of columns is represented by the vector's dimensions. That would make a 4x3 matrix Matrix4<Vector3<_>>, and a 3x4 matrix Matrix3<Vector4<_>>. The current, square matrices would then be typedefs of those types.


Change README.rst code order of conf.d

Change the order of two lines.
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme = "sphinx_rtd_theme"
It could return error when .get_html_theme_path() method called later than theme assignment like below.
Theme error:
no theme named 'sphinx_rtd_theme' found (missing theme.conf?)`
make: *** [html] Error 1

I can't reproduce this issue locally -- and in fact have seen this work in lots of projects. I'm closing this as I believe it's an issue with your local setup.


Unify world entity creation arguments

This PR takes advantage of Python keyword arguments (**kwargs) to unify the interface to world entities, such as Rooms, Hallways, etc.
This way, the same arguments used to create an entity, for example a Room object, can be reused directly in world methods such as add_room(), but also in the YAML parsers.
There are breaking changes because everything now required named arguments, but I think now there is more consistency, less copy-pasting of code, and actually more functionality. The only reason this PR has added lines of code is because of all the unit tests I created in doing this refactoring.
Closes #77

Was testing this locally .
After following the steps , in the following order:
./setup/create_python_env.bash
./setup/setup_pddlstream.bash
source ./setup/source_pyrobosim.bash

and running pytest resulted in the following error
This seems to be due to missing pybullet dependencies within PDDLStream examples.  Are these dependencies to be separately installed ?

I think running pytest with both pip and colcon installed versions of the tool requires you to clear out some pycache folders in between, as the errors suggest.

I did not run colcon install, the test was on a fresh clone of this branch + the setup steps above.
Clearing out pycache did not resolve it.

pytest ./test worked without pulling the latest change.
After pulling the latest change, pytest  works without any errors.


Show Dashboard parameters before data is loaded

It would be nice to have this feature implemented in Xpand
https://www.devexpress.com/Support/Center/Question/Details/T600109/xaf-dashboardviewer-how-to-show-dashboardparameter-prompt-before-dashboard-is-loaded

the link is broken

apparently you mean https://isc.devexpress.com/Thread/WorkplaceDetails/T600109 but why you reference #111 ??

Because this feature is crucial for me in large datasets, to avoid unwanted initial data loading when the user only want to look at a small part of the dataset :)

yes #111 will avoid unwanted initial data but I do not see the relation
with  T600109 https://isc.devexpress.com/Thread/WorkplaceDetails/T600109 care
to elab what I miss?
On Tue, Jun 19, 2018 at 3:30 PM Gustavo Marzioni<EMAIL_ADDRESS>wrote:

Because this feature is crucial for me in large datasets, to avoid
unwanted initial data loading when the user only want to look at a small
part of the dataset :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/expand/eXpand/issues/114#issuecomment-398381758, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAJu6HEit5rkoxeT6BK2GE0CKnipoDJHks5t-O7egaJpZM4UtY0V
.

--
Apostolis Bekiaris
Frameworks Technical Evangelist @ DevExpress
Blog @ http://apobekiaris.blogspot.com
Skype/twitter: tolisss

By using initial parameters before querying data (T600109), I want to filter data at server side level, avoiding out of memory errors in large datasets and initial delays by not loading the entire data .
PD: BTW your link to T600109 didn't work for me (it re-ask my DX credentials)

thnks I will get back once I research on it

included in https://github.com/expand/eXpand/commit/c5786071f9fd03de919acb7a9fa40e3aaed53af5

Hi, I would like to use parameters and filters on Object datasources to avoid loading GB of data in memory.
Can I use the current version of filters and parameters for my scope?
All my objects have a property named LASTUPDATEDUTC, we would like to filter on this field on all main dashboard object and all linked by FK objects. Something similar to:

Has this filter a server side effect?

Yes you should be able to create filters for limiting your ObjectDasource, I tested the feature and works fine (using exact criteria as in your screenshot)

Has this filter a server side effect?

Nope.

I will post a patch to fix this at least for an ObjectDataSource it makes more sense to apply the criteria to the ProxyCollection in addition to the Dashboard component.

I will post a patch to fix this at least for an ObjectDataSource it makes more sense to apply the criteria to the ProxyCollection in addition to the Dashboard component.
Thanks for the support, please, could you update this post when the fix will be available.

try this build https://www.dropbox.com/s/kmij7g2d6kcmax3/eXpandFramework-<IP_ADDRESS>.exe?dl=0
and let me know how it works

First of all thanks for the new build.
I'm trying to implement the new filter on Object datasource but it raise an exception.
My object datasource is binded with an Oracle table  and the exception raised is:
ORA-01722: invalid number
at OracleInternal.ServiceObjects.OracleCommandImpl.VerifyExecution(OracleConnectionImpl connectionImpl, Int32& cursorId, Boolean bThrowArrayBindRelatedErrors, OracleException& exceptionForArrayBindDML, Boolean& hasMoreRowsInDB, Boolean bFirstIterationDone)
at OracleInternal.ServiceObjects.OracleCommandImpl.ExecuteReader(String commandText, OracleParameterCollection paramColl, CommandType commandType, OracleConnectionImpl connectionImpl, OracleDataReaderImpl& rdrImpl, Int32 longFetchSize, Int32 lobPrefetchSize, OracleDependencyImpl orclDependencyImpl, Int64[] scnForExecution, Int64[]& scnFromExecution, OracleParameterCollection& bindByPositionParamColl, Boolean& bBindParamPresent, Boolean isDescribeOnly, Boolean isFromEF)
at Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteReader(Boolean requery, Boolean fillRequest, CommandBehavior behavior)
at Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteDbDataReader(CommandBehavior behavior)
at DevExpress.Xpo.DB.ConnectionProviderSql.<>c__DisplayClass6.b__4()
at DevExpress.Xpo.Logger.LogManager.Log[T](String category, LogHandler1 handler, MessageHandler1 createMessageHandler)
at DevExpress.Xpo.DB.ConnectionProviderSql.InternalGetData(IDbCommand command, CriteriaOperatorCollection targets, Int32 skipClause, Int32 topClause, Boolean includeMetadata)
at DevExpress.Xpo.DB.ConnectionProviderSql.SelectDataSimple(Query query, CriteriaOperatorCollection targets, Boolean includeMetadata)
The generated query is:
N0."WORKORDERID",N0."TITLE", N0."LASTUPDATEDUTC" from "WORKORDER" N0
where (:p0 = 1)' with parameters '{[LASTUPDATEDUTC] >= AddMonths(UtcNow(), -12)}'
The filter I created is the same in the image in my previous comment.
What am I doing wrong?

looks like oracle does not like the filter you passed, the one you gave me
before I tested against SQL Server and worked fine, I suggest you do the
same to confirm that the feature works and then try to work the correct
oracle filter.
On Mon, Jun 25, 2018 at 5:02 PM disteSp<EMAIL_ADDRESS>wrote:

First of all thanks for the new build.
I'm trying to implement the new filter on Object datasource but it raise
an exception.
My object datasource is binded with an Oracle table and the exception
raised is:
ORA-01722: invalid number
at
OracleInternal.ServiceObjects.OracleCommandImpl.VerifyExecution(OracleConnectionImpl
connectionImpl, Int32& cursorId, Boolean bThrowArrayBindRelatedErrors,
OracleException& exceptionForArrayBindDML, Boolean& hasMoreRowsInDB,
Boolean bFirstIterationDone)
at OracleInternal.ServiceObjects.OracleCommandImpl.ExecuteReader(String
commandText, OracleParameterCollection paramColl, CommandType commandType,
OracleConnectionImpl connectionImpl, OracleDataReaderImpl& rdrImpl, Int32
longFetchSize, Int32 lobPrefetchSize, OracleDependencyImpl
orclDependencyImpl, Int64[] scnForExecution, Int64[]& scnFromExecution,
OracleParameterCollection& bindByPositionParamColl, Boolean&
bBindParamPresent, Boolean isDescribeOnly, Boolean isFromEF)
at Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteReader(Boolean
requery, Boolean fillRequest, CommandBehavior behavior)
at
Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteDbDataReader(CommandBehavior
behavior)
at DevExpress.Xpo.DB.ConnectionProviderSql.<>c__DisplayClass6.b__4()
at DevExpress.Xpo.Logger.LogManager.Log[T](String category, LogHandler1
handler, MessageHandler1 createMessageHandler)
at DevExpress.Xpo.DB.ConnectionProviderSql.InternalGetData(IDbCommand
command, CriteriaOperatorCollection targets, Int32 skipClause, Int32
topClause, Boolean includeMetadata)
at DevExpress.Xpo.DB.ConnectionProviderSql.SelectDataSimple(Query query,
CriteriaOperatorCollection targets, Boolean includeMetadata)
The generated query is:
N0."WORKORDERID",N0."TITLE", N0."LASTUPDATEDUTC" from "WORKORDER" N0
where (:p0 = 1)' with parameters '{[LASTUPDATEDUTC] >= AddMonths(UtcNow(),
-12)}'
The filter I created is the same in the image in my previous comment.
What am I doing wrong?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/expand/eXpand/issues/114#issuecomment-399962570, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAJu6CdIBbGIfaTxK_cA4_gLIHF-NCXuks5uAO1jgaJpZM4UtY0V
.

--
Apostolis Bekiaris
Frameworks Technical Evangelist @ DevExpress
Blog @ http://apobekiaris.blogspot.com
Skype/twitter: tolisss

So, filter condition depends on RDBMS type. If I have correctly understood filter condition is write in where condition of SQL query without any transformation.  But working with object should prevent this behavior; the same object could be linked to Oracle DB or SQL Server DB  depending on customer RDBMS. Working with filters on data columns, it could be no easy to find a condition that can be good for all the supported RDBMS. Is it possible to use Dashboard definition criteria to filter on datasource RDBMs?

hmm sorry yes my apologies the criterion as written should be agnostic and in fact does throw on SQLServer as well. I ll upload a patch soon

let me know if this release works well please
https://www.dropbox.com/s/6v0k1mkgh00wcg9/eXpandFramework-<IP_ADDRESS>.exe?dl=0https://www.dropbox.com/s/6v0k1mkgh00wcg9/eXpandFramework-<IP_ADDRESS>.exe?dl=0

Thanks for the new release.
I tried it but it seems to have the same behavior of the previous.
On Oracle Command Text is:
N0."WORKORDERID",N0."TITLE", N0."LASTUPDATEDUTC" from "WORKORDER" N0
where (:p0 = 1)'
and
(((Oracle.ManagedDataAccess.Client.OracleCommand)command).DbParameterCollection).Items[0])).Value = ' [LASTUPDATEDUTC] >= AddMonths(UtcNow(), -12)'
Do I need to modify something in model rule to make it agnostic?

I installed oracle and tried the query and it throws a problem with UTCNOW see also https://www.devexpress.com/Support/Center/Question/Details/T180729/baseoracleconnectionprovider-support-the-utcnow-function. I tried without the UTCNOW and worked fine.

I didn't know this issue with Oracle and UTCNOW. For me is not important to se UTCNOW, it is good a "last year condition" recognizable by all DBMS.
I tried with this filter condition "[LASTUPDATEDUTC] >= AddMonths(Now(), -12)" but I receive the same exception:
DevExpress.Xpo.DB.Exceptions.SqlExecutionErrorException: 'Executing Sql 'select N0."WORKORDERID", N0."LASTUPDATEDUTC" from "WORKORDER" N0
where (:p0 = 1)' with parameters '{[LASTUPDATEDUTC] >= AddMonths(Now(), -12)}' exception 'Oracle.ManagedDataAccess.Client.OracleException (0x000006BA): ORA-01722: invalid number

hmm the Now() function executes with no errors on my side, can you try to reinstall the latest link I provided, sounds like you do not have the correct version.

I didn't know this issue with Oracle and UTCNOW. For me is not important to se UTCNOW, it is good a "last year condition" recognizable by all DBMS.

why don't you try the custom function or something similar also?
https://documentation.devexpress.com/#XPO/CustomDocument5206
<DashboardModule>
    <DataSources>
      <DashboardDataSourceFilter Id="Filter" DataSourceName=".*" Filter="LASTUPDATEDUTC>=ADDMONTHS(ODPUNow(),-12)" IsNewNode="True" />
    </DataSources>
  </DashboardModule>
  <Views>
    <ListView Id="Customer_ListView" Criteria="[LASTUPDATEDUTC]>ADDMONTHS(ODPUtcNow(),-12)" />
  </Views>

    internal class ODPUtcNowOperator : ICustomFunctionOperator{
        public const string OperatorName = "ODPUtcNow";

        static ODPUtcNowOperator(){
        }

        public string Name => OperatorName;

        public static ODPUtcNowOperator Instance{ get; } = new ODPUtcNowOperator();

        public object Evaluate(params object[] operands){
            return DateTime.Now;
        }

        public Type ResultType(params Type[] operands){
            return typeof (string);
        }
    }
        public override void CustomizeTypesInfo(ITypesInfo typesInfo){
            base.CustomizeTypesInfo(typesInfo);
            ODPUtcNowOperator.Instance.Register();
        }

Thanks now it works! This feature is very helpful with a large amount of data to be loaded.
We think that if the filter value could be modified by the user on the loaded dashboard it was very nice. In this way user could open the dashboard with a default value of the filter and, if he need more data, he could open a popup modify the value of the filter and the dashboard will be reloaded with the new filter value.
Do you think is possible to implement a similar feature or something similar in order to give the user the possibility to modify the filter value and reload the dashboard datasource?

Another enhancement that I think could be helpful could be to apply the filter only in tables/objects that have the specified column or the possibility to specify also the object/table we want to apply the filter.
I say this because now if I try to specify in filter INSTALLATION.LASTUPDATE >ADDMONTHS(ODPUtcNow(),-12) where installation is the object or table name,  the string "INSTALLATION.LASTUPDATE" is split in two and applied as two filter condition and the framework raises an error.
Instead if I set the filter the string "LASTUPDATE >ADDMONTHS(ODPUtcNow(),-12)" and I add in my dashboard an object that hasn't this property the framework raise an error. I think is a limitation to raise an error, it could be more util to apply the filter only to objects that have the specified property.

By using initial parameters before querying data (T600109), I want to filter data at server side level, avoiding out of memory errors in large datasets and initial delays by not loading the entire data .

@vimarx researching on this I realized that it does not make sense as the Paramters are applied to different dashboarditems always at client and they are not common to all. Am I wrong?

the parameters though can be applied directly to the datasource using the Filter command, so it makes sense to implement this functionality

I refactored the module to:

Allow end user model filters and dashboard parameters configuration before loading the datasource
Support Dataview
Support SqlDatasource from model filters.

https://www.dropbox.com/s/thzl3414yp432dt/eXpandFramework-<IP_ADDRESS>.exe?dl=0
Let me know how it works.

I will test it ASAP.

sorry for the delay
this patch fixes the problem.

it fails when trying to open an existing dashboard  (in FC)
24.07.18 19:14:37.792		Type: DevExpress.ExpressApp.Actions.SimpleAction
ID: DashboardEdit
Category: Unspecified
Controller.Name: Xpand.ExpressApp.XtraDashboard.Win.Controllers.DashboardDesignerController
Context.Name: Dashboard Definition
Context.IsRoot: True
Context.SelectedObjects.Count: 1
Context.CurrentObject: x1
Exception thrown: 'System.NullReferenceException' in Xpand.ExpressApp.Dashboard.dll
FeatureCenter.Win.exe Error: 0 : 24.07.18 19:14:38.229	================================================================================
The error occurred:
Type:       NullReferenceException
Message:    Referencia a objeto no establecida como instancia de un objeto.
Data:       0 entries
Stack trace:

en Xpand.ExpressApp.Dashboard.Filter.Extensions.ConfigureDashboard(IDashboardDefinition dashboardDefinition, RuleMode ruleMode, XpandDashboardCollectionDataSourceFillService dashboardCollectionDataSourceFillService, DataSourceOptionsContainer options, Action1 editParameters, DashboardDatasourceFilterList datasourceFilterList, Dashboard dashboard)    en Xpand.ExpressApp.Dashboard.Filter.Extensions.GetDashboard(IDashboardDefinition dashboardDefinition, XafApplication application, RuleMode ruleMode, XpandDashboardCollectionDataSourceFillService collectionDataSourceFillService, DataSourceOptionsContainer options, Action1 editParameters, Action modeParametersEdited)
en Xpand.ExpressApp.XtraDashboard.Win.Templates.DashboardDesignerForm.LoadTemplate(IDashboardDefinition dashboardDefinition, XafApplication application)
en Xpand.ExpressApp.XtraDashboard.Win.Controllers.DashboardDesignerController.DashboardEditExecute(Object sender, SimpleActionExecuteEventArgs e)
en DevExpress.ExpressApp.Actions.SimpleAction.RaiseExecute(ActionBaseEventArgs eventArgs)
en DevExpress.ExpressApp.Actions.ActionBase.ExecuteCore(Delegate handler, ActionBaseEventArgs eventArgs)
InnerException is null

This version is not recognizing calculated fields properly

With the dashboard designer...add New calculated field

I doubled checked and the previous posted link contains my changes however is hard to tell without making sure you used the right installer, so I improved the version and rebuild
https://www.dropbox.com/s/6v0k1mkgh00wcg9/eXpandFramework-<IP_ADDRESS>.exe?dl=0
I also checked the runtime members but worked fine can you post a screencast and a sample if you think is needed

78c41d9b5862ba9550fdd97937f4b28fe238deaa

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.


bazarr: 0.9.5 -> 0.9.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/morpheus65535/bazarr/releases.
meta.description for bazarr is: "Subtitle manager for Sonarr and Radarr"
meta.homepage for bazarr is: "https://www.bazarr.media/"
meta.changelog for bazarr is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

/nix/store/6zkisna0b3zr8f6q430gr7h24hmaf6r7-bazarr-0.9.6/bin/bazarr passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 0.9.6 with grep in /nix/store/6zkisna0b3zr8f6q430gr7h24hmaf6r7-bazarr-0.9.6

found 0.9.6 in filename of file in /nix/store/6zkisna0b3zr8f6q430gr7h24hmaf6r7-bazarr-0.9.6

directory tree listing: https://gist.github.com/63a6147dc1cf5f1b7d65f4e3cbfef1a1

du listing: https://gist.github.com/65805bd7b9340fefa4d3ee5196d78c69

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
bazarr

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6zkisna0b3zr8f6q430gr7h24hmaf6r7-bazarr-0.9.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A bazarr https://github.com/r-ryantm/nixpkgs/archive/991c27d9eacc51031a4ef2e6806ac8ef54171cd5.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/6zkisna0b3zr8f6q430gr7h24hmaf6r7-bazarr-0.9.6
ls -la /nix/store/6zkisna0b3zr8f6q430gr7h24hmaf6r7-bazarr-0.9.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

bazarr

Maintainer pings
cc @xwvvvvwx for testing.

Result of nixpkgs-review pr 130668 at 991c27d9 run on aarch64-linux 1

1 package built successfully:

bazarr

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/servers/bazarr/default.nix:14:3:
   |
14 |   installPhase = ''
   |   ^


Basic Documentation

Tasks

[x] Build custom-elements.json file.
[x] Use custom-elements.json to output basic documentation in the docs folder.
[x] Include quick start guide and reference to all components.
[x] Host on GitHub Pages.

References

https://github.com/mihar-22/wcom-cli/tree/main/src/transform/transformers/markdown

https://github.com/vidstack/vds-player/tree/main/docs - It'll be improved as I improve the CLI tool.


update default z3 version to 4.13.0 and fix the runtime version check

Update default z3 version to 4.13.0 and fix the runtime version check. For version check the problem is described in https://github.com/verus-lang/verus/issues/1313#issuecomment-2432825850 :

I'm using Arch Linux and shipped z3 has the version number as Z3 version 4.13.0 - 64 bit - build hashcode 3049f578a8f98a0b0992eca193afe57a73b30ca3, which happened to pass the version checks in vargo wrapper at
https://github.com/verus-lang/verus/blob/27764656a55aa214134f79187aac28435ae52ebc/tools/vargo/src/main.rs#L80
and
https://github.com/verus-lang/verus/blob/27764656a55aa214134f79187aac28435ae52ebc/tools/vargo/src/main.rs#L161
because the hash part is skipped using the 2nd match group. But it fails at runtime even if the versions compared are the same(see the error above):
https://github.com/verus-lang/verus/blob/27764656a55aa214134f79187aac28435ae52ebc/source/air/src/smt_verify.rs#L186
error: expected z3 version 4.13.0, found 4.13.0 - build hashcode 3049f578a8f98a0b0992eca193afe57a73b30ca3

Hi @Catoverflow, thank you for the PR.
Just wanted to mention that we may want to do a veritas run before merging a major Z3 version bump, as that may break a number of proofs.
Regarding #1313 note that, as @tjhance mentioned, you shouldn't need to rely on your package manager's Z3. The installation steps will download the expected Z3 version when you set up verus.

we may want to do a veritas run before merging a major Z3 version bump

I ran it locally. But I think it should be added to CI.

you shouldn't need to rely on your package manager's Z3

This makes sense, though it could be convenient. Then this PR is not necessary, and you can close it.

Can ask you a favor: can you post the result of the veritas run with this branch?

@utaal The error related logs running ~/verus/tools/veritas (main)> bash run.sh run_configuration_small.toml are
■■■ info: verus ready ■■■
■■■ info: producing output at /root/output/2024-10-24-22-32-19-127-3704fe9cc0818cffbd8e5efc2c689255b224473d6141ac778f0b1d1d6a897d2f ■■■
■■■ info: running projects ■■■
■■■ info: running project verus-vstd ■■■
■■■ info: fetching https://github.com/verus-lang/verus.git into /root/repos-cache/verus-vstd-5fd9e8df53cb0957a9c182e2857c835acd008efa69e1633fd22e450a15921bc3 ■■■
▶▶▶ running: cd "/root/work/work/verus-vstd-0d6e4079e36703ebd37c00722f5891d28b0e2811dc114b129215123adcce3605/" && "/root/work/work/verus-0d6e4079e36703ebd37c00722f5891d28b0e2811dc114b129215123adcce3605/source/target-verus/release/verus" "source/vstd/vstd.rs" "--no-vstd" "--crate-type=lib" "-V" "use-crate-name" "--output-json" "--time" "--no-report-long-running" ◀◀◀
■■■ info: running project page-table ■■■
■■■ info: fetching https://github.com/utaal/verified-nrkernel.git into /root/repos-cache/page-table-18eaab182025129d1f4175b03abbc9bc8523332d0fa5e96e4e52f28821e24d98 ■■■
error [src/main.rs:272:26]: failed to find page-table: revspec 'page-table' not found; class=Reference (4); code=NotFound (-3)


Cannot download weights from Baidu

I have tried multiple ways to download the weights file from your Baidu links.
The site requires signing in for download; however, it seems impossible for non-Chinese users to sign up for an account on Baidu.
I might suggest that you would want to upload the weights on different storage platform (Google Drive, OneDrive, etc), so that it would be more accessible to other users.
Sincerely thanks

I have tried multiple ways to download the weights file from your Baidu links.
The site requires signing in for download; however, it seems impossible for non-Chinese users to sign up for an account on Baidu.
I might suggest that you would want to upload the weights on different storage platform (Google Drive, OneDrive, etc), so that it would be more accessible to other users.
Sincerely thanks

https://drive.google.com/drive/folders/1wROFwRt8qWHD4jSo8Zu1gp1d6oYJ3ns1?usp=sharing

Thank you very much!


Add nonce to attestation report

Allows to pass nonce to attestation report generation

What happens when the nonce is empty? Or too big? Any tests that should be added? Please also add to the description the reference issues and why this is not added in the main go-nvml package.

Why the difference from https://github.com/edgelesssys/go-nvml/commit/46c94d0840e405a33adef735ab1671ee8ec0229f

Two minor comments:

If it too big, then the nonce will take only first 32 bytes.

Should we throw an error or warning?

If it's empty, then the nonce will be filled with zeroes.

Rather than "generating one on the fly" by the GPU driver, correct? I think it's worth adding a comment on this function since you'd assume if empty, then the GPU would generate one -- like the other method.


Logprobs does not work with Python

Unable to get response_logprobs in response body - unrecognized parameter
Erroneous Behavior
According to this cookbook, the following should work -
import google.generativeai as genai

model = genai.GenerativeModel(model_name)
test_prompt="Why don't people have tails?"

response = model.generate_content(
    test_prompt,
    generation_config=dict(response_logprobs=True, logprobs=5)
)

But I receive the following error -
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[79], line 1
----> 1 model = genai.GenerativeModel(model_name)
      2 test_prompt="Why don't people have tails?"
      4 response = model.generate_content(
      5     test_prompt,
      6     generation_config=dict(response_logprobs=True, logprobs=5)
      7 )

AttributeError: module 'google.generativeai' has no attribute 'GenerativeModel'

Which tells me that the API has changed.
Additionally, my company's internal offering receives the following error if I replicate the generation_config line -
vertexai.init(project="dev-poc-xxxyyy", location="x-y")
model = GenerativeModel(
    "gemini-1.5-flash-001",
)
responses = model.generate_content(
    [prompt],
    generation_config=dict(response_logprobs=True, logprobs=5),
    safety_settings=safety_settings,
    stream=False
)

I get the following error -
ValueError: Unknown field for GenerationConfig: response_logprobs

Although it works if I replace generation_config with other parameters such as -
generation_config = {
    "candidate_count": 1,
    "max_output_tokens": 1024,
    "temperature": 0.2,
    "top_p": 0.8
}

@rajdeepint: the notebook you referred above is for Google AI for Gemini API, which is different from Vertex AI for Gemini API.
For the response_logprobs, can you please try it again to see if you still see the "Unknown field" error? This is a preview feature, and it's only available in some models (https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference)

Hey @gericdong!  I'm getting Unknown field for GenerationConfig: response_logprobs in Vertex AI
This is how I'm setting the model up, I'm using gemini-1.5-flash which should support the feature according to your documentation:
import vertexai
from vertexai.generative_models import GenerativeModel

generation_config={
    "temperature": 0,
    "top_k": 1,
    "max_output_tokens": 25,
    "response_logprobs": True
}

model = GenerativeModel(model_name="gemini-1.5-flash", generation_config=generation_config)
response = model.generate_content(prompt)


Updates Quick and Nimble for Swift test suite #trivial

First time using #trivial, please let me know if I'm doing it right.

Looks trivial to me


Additional formats as discussed in #607

Additional formats as discussed in #607

I think these additional formats would be valuable additions to a "format registry" that indicates commonly used formats.  I'm not convinced that all of these formats should be defined in the specification.  This would require all tooling to support all of the formats and I suspect many would not be.

I'm not convinced that all of these formats should be defined in the specification.

Which are the new ones that CAN be defined in the specification?
Given that there's no "format registry" and the Swagger/OpenAPI specification seems to be the only official document that defines formats beyond the rather rudimentary list in http://json-schema.org/latest/json-schema-validation.html#rfc.section.7.3, I'll happily settle for any non-empty subset of the new formats.

@ralfhandl - thanks for the PR. The @OAI/tdc has discussed the issued and decided that we don't feel the extended format descriptions should be in the spec.
However, there's an understandable need to define such additional formats and we've considered two alternative approaches. These will be handled in #845.


ISPN-9657 Make multimap/counter/lock jars OSGi compliant

https://issues.jboss.org/browse/ISPN-9657
https://issues.jboss.org/browse/ISPN-10386
OGGi integration tests will only run in the java8-test profile, I haven't managed to get pax-exam working on Java 11 yet.

@karesti I think during a rebase I missed the <packaging>bundle</packaging> in the extended-statistics POM. I removed it and kept extended-statistics a basic jar.

Forgot to remove the label...

@danberindei I merge Dan ?

@karesti now it's ready :)
I ran the tests with -Pjava8-test one more time and updated OsgiKarafFeaturesTest to remove the tests for some features that have been removed in master since I opened the PR.


[Question]: Should missing Json properties be ignored by default?

General info

[X] I checked the troubleshooting page for similar problems

What is your question?
I got the exception of missing Unknown Json property while I already specs which property I want to get from the response.
kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 228: Encountered an unknown key 'created_at' at path: $[0].address
Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.
JSON input: .....4f391f1aab08","address":null,"created_at":null}]

I fixed it by providing the defaultserializer the Json property with needed configuration for KotlinSerializer
    @Provides
    @Singleton
    fun provideSupabaseClient(): SupabaseClient {
        return createSupabaseClient(
            supabaseUrl = BuildConfig.SUPABASE_URL,
            supabaseKey = BuildConfig.API_KEY,
        ) {
            defaultSerializer = KotlinXSerializer(Json { ignoreUnknownKeys = true })
            install(Postgrest)
            install(Auth)
        }
    }

Should this configuration be default? As based on each feature, multiple DTO object would be created to query only needed properties.

I think it's fine if we ignore unknown keys by default, I don't think there is any downside for this


Import declarations from other files by side effects and triple-slash as an external node module

This code works correctly as an external node module. Is this correct usage?

This external node module import some declarations from other files by side effects.
This external node module has triple-slash references indirectly but it might be the violation of rules.

https://github.com/Microsoft/TypeScript/wiki/Typings-for-npm-packages
// foo.d.ts
declare namespace foo { }

// bar.d.ts
/// <reference path="./foo.d.ts" />
declare namespace bar { }

// index.d.ts
import './bar.d';
export {
  foo,
  bar
};

In this sample, if your package user imports your package, they will also get two global names "foo" and "bar" from your global namespace declarations. if this is what you intend, then you are set. if not, then i would suggest moving these declarations into index.d.ts, and not adding /// <references>.
The issue is that external modules have their own scoping rules, and do not pollute the global namespace, but when including a file using ///<reference> tags, any global declarations will be visible by any package consumer.
This issue has not been completely resolved. see #4665 for more details on the discussion. we have a couple of ideas on how to solve this but we have not landed one yet.
in the mean time, what the compiler will check is that the first imported file does not have a /// <reference>. as you mentioned this is easy to beak, and this is why we have added the wiki page: https://github.com/Microsoft/TypeScript/wiki/Typings-for-npm-packages
does this answer your question?

Thanks for your answer. I have some external module resolutions for native javascript packages.
https://github.com/power-assert-js/power-assert/pull/29
This is my external module resolution. We need global scope declarations by external modules.
Important global declarations by side effects.

assert

// ./index.d.ts
import "empower";
import "power-assert-formatter";
import "./typings/power-assert";
export * from "power-assert";
export {default} from "power-assert";

// ./typings/power-assert.d.ts
declare function assert(value:any, message?:string):void;
declare namespace assert {
  ...
}
declare module "power-assert" {
  export default assert;
}

// ./node_modules/empower/index.d.ts
// ./node_modules/empower/typings/empower.d.ts
// ./node_modules/power-assert-formatter/index.d.ts
// ./node_modules/power-assert-formatter/typings/power-assert-formatter.d.ts

import "power-assert"; // declare global variables by side effects of this external module
assert(1 === 1);

https://github.com/mochajs/mocha/pull/1933
This is my external module resolution using DefinitelyTyped. This is a maintenance-free management model. You can update to latest typings of DefinitelyTyped by $ dtsm update --save.
Important global declarations by side effects.

describe
it
etc...

// ./index.d.ts
import "./typings/mocha/mocha.d.ts";
export * from "mocha";
export {default} from "mocha";

// ./typings/mocha/mocha.d.ts
...
declare var mocha: Mocha;
declare var describe: Mocha.IContextDefinition;
...
declare module "mocha" {
    export default Mocha;
}

import "mocha"; // declare global variables by side effects of this external module
describe("describe", function () {
  it("it");
});

I want to use these resolutions as stable resolutions. Where should I go, #4665, or #2839?

https://github.com/Microsoft/TypeScript/issues/4665 would be the correct issue.

Thanks! I move to #4665.


Property initializers capture the wrong 'arguments' value

When a variable named arguments is used in a property initializer, our emitted code refers to the wrong arguments.
Input
var arguments = 100;

class C {
    y = arguments;
    constructor() {
    }
}

Output
var arguments = 100;
var C = (function () {
    function C() {
        this.y = arguments;
    }
    return C;
})();

This looks like the instance side of #442.

All cool code is in strict mode now


Jesse: Watch herbacare.rf.gd

Jesse requests the watch of the watch_keyword herbacare\.rf\.gd. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

herbacare\.rf\.gd has been seen in 1 true positive, 0 false positives, and 0 NAAs.


Update Runtime and Package Metadata

Description

Bump version of the shared healthcare packages
Update NuGet package metadata and dependencies
Fix malformed XML doc comments
Update .NET Core runtime

Related issues
N/A
Testing
Run unit tests and validate pipeline output

@wsugarman There are a few Dependabot PRs open for updating docker images. I think that's mainly handled in this PR. Can you double check and if so close those in favor of this one?


⚠ SceneTime has degraded performance

In f56f81f, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 4665 ms

Resolved: SceneTime performance has improved in 5bbc278 after 6 minutes.


Fix TSLint issues in MSBot files

Related to #313
Proposed Changes
Fix the following rules

curly
eofline
max-line-length
newline-before-return
no-shadowed-variable
prefer-const
prefer-template
triple-equals
typedef
Add MIT license header to processUtils.ts.
Remove unused variable message at line 76 of file msbot-export.ts.
Split string in line 56 of file msbot-init.ts into two to avoid max-line-length warning.
Rename variable command inside of recipe to newCommand to avoid naming shadowing.

Testing
Travis will no longer report these warnings

Pull Request Test Coverage Report for Build 826

5 of 8 (62.5%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 69.404%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/MSBot/src/msbot-init.ts
1
4
25.0%

Totals

Change from base Build 808:
0.0%

Covered Lines:
3424

Relevant Lines:
4740

💛  - Coveralls


Add working step for effective interest rate calculator

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

i would like to ad working steps under it

Go ahead
Deadline 17 May,2021


Healthcheck

Would it be possible to get a healthcheck added to this? Since the container is built from scratch and its only a single executable, I can't run wget or curl to ping the listener. Might be easiest to make another simple healthcheck binary that just makes an http request and exits 1 on failure?

What's the use case for running a health check binary inside the container? Normally this would be performed by the orchestrator?
It could perhaps make sense to add a healthz style endpoint which can be polled, but the binary should exit if there's any major issue, which the orchestrator should pickup and therefore reschedule.
Moving to discussion


fix: multi-platform docker image

Description
Uses the correct libwasmvm library based on target arch, instead of always using the aarch64 one.
Purpose
Fixes multi-platform docker images.

LGTM


TypeScript definition tests (QA)

@timsun28
To keep the discussion going here, i've copied my message from the merged pr:
I have taken a look at the other meteor packages that have implemented the same zodern package and it seems like they are already completely developed in typescript itself.
I read some more about general ways of testing typescript and I think the following article describes it well:
https://developers.mews.com/why-we-should-all-be-testing-our-typescript-types/
I think testing it with typescript itself would be most interesting to add. This would mean changing the test files to typescript files and see if there are any unexpected errors, and possibly add some tests to describe cases where typescript should give an error.
However, I've tried converting a .spec.js file to .ts, but it doesn't seem to recognize the types in my vscode.
I've tried adding typescript as a npm dev dependency, and i've added a tsconfig.json file, but without any luck, unfortunately.
As an example of how DefinetelyTyped is tested you can see the meteor package: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/meteor/test
And one of the apps mentioned by zoder already has all their code in a .ts file like this:
https://github.com/wildhart/meteor.jobs
https://github.com/meteor/react-packages/tree/master/packages/react-meteor-accounts
https://github.com/zodern/meteor-pure-admin
Originally posted by @timsun28 in https://github.com/veliovgroup/flow-router/issues/84#issuecomment-1251323229

I've created a pr with a start for adding typescript tests to flowrouter.
I don't have a lot of free time at the moment, so I haven't written many tests. But I hope others can extend from this initial test that I have written.
Happy to have helped and improved this nice package you have maintained!

Should be solved in the latest release
Feel free to reopen it in case if the issue is still persists on your end.


Unread channels not properly counted on the Windows system tray icon

I confirm (by marking "x" in the [ ] below):

[X] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[X] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[X] I have read contributing guidelines.

Jira ticket: https://mattermost.atlassian.net/browse/MM-14102
Summary
Unread teams are counted as unread channels on Windows system tray icon
A consequence of #413
Steps to reproduce

Join two teams on the same server, TEAM A and TEAM B
On TEAM A, join at least two channels.
Switch to TEAM B
With another account, go to TEAM A and post a message (without a mention) in the channels from step 2

Expected behavior
System tray icon reads "2 unread channels"
Observed behavior
System tray icon reads "1 unread channel"

Marked as an improvement since this requires code changes not originally designed for the desktop app.

Jira ticket: https://mattermost.atlassian.net/browse/MM-14102

Please reopen if this is still an issue


input-field: fix width animations

This fixes some problems with the input field resize.

support fading to a smaller size
don't draw the shadow when fading
don't draw the asset when the input field size is to small

Motivated me to start porting hyprlands animation manager to hyprlock.

@vaxerski wouldn't hyprgraphics make more sense?

no?


astro component exceeds cloudfront function size deploying many files

I don't have a minimal reproduction of this, it would be incredibly tedious to create, and the site I tested it on is not one I'm comfortable opening up as a public github repo unfortunately.
I narrowed it down by deploying subsections of the site to a dev stage.
at 175 pages, 60 of which have been converted to content collections, it deploys fine.
adding in an addition 32 pages none of which are in a content collection, I can see that it updates the BooksAstroCloudfrontFunctionServerCfFunction aws:cloudfront:Function even though the new pages are all in a single subdirectory of an existing route.  It continues to deploy fine.
at 223 pages, 60 of which are in the content collection still, I get an error.
|  Error       BooksAstro sst:aws:Astro → BooksAstroCloudfrontFunctionServerCfFunction aws:cloudfront:Function updating urn:pulumi:dev::lukes-ebooks::sst:aws:Astro$aws:cloudfront/function:Function::BooksAstroCloudfrontFunctionServerCfFunction: 1 error occurred:
|
|  updating CloudFront Function (BooksAstroCloudfrontFunctionServerCfFunction-518a31c): FunctionSizeLimitExceeded:
|  status code: 413, request id: 26e04558-75c1-4289-a913-c46828498241
⠸  Finalizing...time=2024-05-03T14:11:12.505-04:00 level=INFO msg="done running stack command"
time=2024-05-03T14:11:12.505-04:00 level=INFO msg="stack command complete"
⠦  Finalizing...time=2024-05-03T14:11:12.799-04:00 level=INFO msg="generating types" path=/Users/lschiere/src/schierer/lukes-ebooks/.sst/types.generated.ts count=0
time=2024-05-03T14:11:12.799-04:00 level=INFO msg="INFO putting links app=lukes-ebooks stage=dev"
time=2024-05-03T14:11:12.799-04:00 level=INFO msg="INFO putting data key=link app=lukes-ebooks stage=dev"
time=2024-05-03T14:11:12.799-04:00 level=INFO msg="INFO getting passphrase app=lukes-ebooks stage=dev"

×  Failed
   BooksAstro sst:aws:Astro → BooksAstroCloudfrontFunctionServerCfFunction aws:cloudfront:Function
   updating urn:pulumi:dev::lukes-ebooks::sst:aws:Astro$aws:cloudfront/function:Function::BooksAstroCloudfrontFunctionServerCfFunction: 1 error occurred:

   updating CloudFront Function (BooksAstroCloudfrontFunctionServerCfFunction-518a31c): FunctionSizeLimitExceeded:
   status code: 413, request id: 26e04558-75c1-4289-a913-c46828498241

time=2024-05-03T14:11:12.982-04:00 level=INFO msg="INFO pushing state app=lukes-ebooks stage=dev from=/Users/lschiere/src/schierer/lukes-ebooks/.sst/.pulumi/stacks/lukes-ebooks/dev.json"
time=2024-05-03T14:11:13.326-04:00 level=INFO msg="INFO unlocking app=lukes-ebooks stage=dev"
time=2024-05-03T14:11:13.413-04:00 level=ERROR msg="exited with error" err="stack run had errors"
error: Recipe `deploy` failed on line 32 with exit code 1

somewhere between there and 2221 files, 60 of which are in the content collection, the error changes.
|  Error       BooksAstro sst:aws:Astro → BooksAstroCloudfrontFunctionServerCfFunction aws:cloudfront:Function updating urn:pulumi:dev::lukes-ebooks::sst:aws:Astro$aws:cloudfront/function:Function::BooksAstroCloudfrontFunctionServerCfFunction: 1 error occurred:
|
|  MalformedXML: 1 validation error detected: Value at 'functionCode' failed to satisfy constraint: Member must have length less than or equal to 40960
|  status code: 400, request id: 4f81daba-e6fb-4c07-99d8-3a5cc50ab5de
⠼  Finalizing...time=2024-05-03T14:15:34.637-04:00 level=INFO msg="done running stack command"
time=2024-05-03T14:15:34.637-04:00 level=INFO msg="stack command complete"
⠇  Finalizing...time=2024-05-03T14:15:35.027-04:00 level=INFO msg="generating types" path=/Users/lschiere/src/schierer/lukes-ebooks/.sst/types.generated.ts count=0
time=2024-05-03T14:15:35.028-04:00 level=INFO msg="INFO putting links app=lukes-ebooks stage=dev"
time=2024-05-03T14:15:35.028-04:00 level=INFO msg="INFO putting data key=link app=lukes-ebooks stage=dev"
time=2024-05-03T14:15:35.028-04:00 level=INFO msg="INFO getting passphrase app=lukes-ebooks stage=dev"

×  Failed
   BooksAstro sst:aws:Astro → BooksAstroCloudfrontFunctionServerCfFunction aws:cloudfront:Function
   updating urn:pulumi:dev::lukes-ebooks::sst:aws:Astro$aws:cloudfront/function:Function::BooksAstroCloudfrontFunctionServerCfFunction: 1 error occurred:

   MalformedXML: 1 validation error detected: Value at 'functionCode' failed to satisfy constraint: Member must have length less than or equal to 40960
   status code: 400, request id: 4f81daba-e6fb-4c07-99d8-3a5cc50ab5de

sorry I don't have exact points at which it pivots.

sst config:
/// <reference path="./.sst/platform/config.d.ts" />
import fs from "fs";
import path from "path";
import mime from "mime";
export default $config({
  app(input) {
    return {
      name: "lukes-ebooks",
      removal: input?.stage === "production" ? "retain" : "remove",
      home: "aws",
      providers: {
        aws: {
          profile: "home",
          region: "us-east-2",
        },
        "aws-native": {
          profile: "home",
          region: "us-east-2",
        },
      },
    };
  },
  async run() {
    const booksSite = new sst.aws.Astro("BooksAstro", {
      domain:
        $app.stage === "production"
          ? "lukesebooks.schierer.org"
          : `${$app.stage}.lukesebooks.schierer.org`,
      buildCommand: "just build",
      transform: {
        assets: {
          transform: {
            bucket: {
              websites: [
                {
                  indexDocument: "index.html",
                  errorDocument: "/404.html",
                },
              ],
            },
          },
        },
        cdn: {
          transform: {
            distribution: {
              priceClass: "PriceClass_100",
            },
          },
        },
      },
    });
  },
});

astro config:

import 'dotenv/config';
import {defineConfig} from 'astro/config';
import aws from "astro-sst";
import starlight from '@astrojs/starlight';
import starlightLinksValidator from 'starlight-links-validator';
import Icons from 'unplugin-icons/vite';
import lit from "@astrojs/lit";
import { build } from './.sst/platform/src/runtime/node';

// https://astro.build/config
export default defineConfig({
    output: "hybrid",
    adapter: aws(),
    experimental: {
        globalRoutePriority: true
      },
    site: "https://lukesebooks.schierer.org/",
    trailingSlash: 'ignore',
    redirects: {
        '/library/baen07': '/library/baen07/',
        '/library/baen08': '/library/baen08/',
        '/library/baen22': '/library/baen22/',
    },
    build: {
        format: 'file',
    },
    integrations: [
        starlight({

            title: "Luke's e-Books",
            customCss: [
                './src/styles/style.css',
            ],
            defaultLocale: 'root',
            locales: {
              root: {
                  label: 'English',
                  lang: 'en',
              },
            },
            lastUpdated: true,
            sidebar: [
                {
                    label: "Books",
                    autogenerate: {
                        directory: 'books',
                        collapsed: true
                    },
                    collapsed: true
                },
                {
                    label: "Stories",
                    autogenerate: {
                        directory: 'stories',
                        collapsed: true
                    },
                    collapsed: true
                },
            ]
        }),
        lit(),
    ],
    // Process images with sharp: https://docs.astro.build/en/guides/assets/#using-sharp
    image: {
        service: {
            entrypoint: 'astro/assets/services/sharp'
        }
    },

    vite: {
      plugins: [
        Icons({
          compiler: 'astro',
        }),
      ],
      assetsInclude: [
        '**/*.dsv',
    ],
    },
});

Yes, I'm sure the issue is that the serialized file paths expanded the size of the CF Function beyond the limits.
I'm not sure how to resolve this in a generic way without switching the CDN source from the S3 bucket to the static site hosting on the S3 bucket. That would allow the static pages to be removed from the function and greatly reduce the size.
This was briefly discussed with @fwang when I first started working on the Astro construct but the recommendation was to avoid it.

I don't have an sst 2.x site with anywhere near this number of files, but I do have one, https://github.com/lschierer/EvonyTKRTips.sst/tree/astro_starlight that has roughly 459 files spread across 8 different content collections that deploys fine with SST 2


Require symfony/scheduler

The bundle seems to have a hard dependency on the new symfony/scheduler, even if we use a proprietary scheduler, to load the scheduler service. IMO it should be required in composer.json as:
"symfony/scheduler": "^6.3",

Can you elaborate? It is in require-dev.

Just by running composer require zenstruck/messenger-monitor-bundle the scheduler is not installed, and because of this check https://github.com/zenstruck/messenger-monitor-bundle/blob/1.x/src/DependencyInjection/ZenstruckMessengerMonitorExtension.php#L78 the scheduler related services are not loaded at all.  Maybe there's a better solution to this problem.

Ok, that's intended but is there an error - I might have missed something. I want the dashboard to work without scheduler if not available.

Yes, as we've tried injecting the Storage service into our custom service, and
The service ".zenstruck_messenger_monitor.command.schedule_purge" has a dependency on a non-existent service "zenstruck_messenger_monitor.schedules". Did you mean one of these: "zenstruck_m
  essenger_monitor.transports", "zenstruck_messenger_monitor.workers", "zenstruck_messenger_monitor.view_helper"?


Fix analyzer_driver_test [phab:D957]

Created by zarko at 2016-07-11 20:13:50:

schroederc accepted this revision at 2016-07-11 20:19:04

zarko closed via commit 5ae4412f39aa1a6759ce6112ab24c79ea0204180 at 2016-07-11 20:30:22


Decode redis_url

For now, it won't work correctly with any redis_url that contains uri reserved characters (usually in password).
According to RFC3986 Section 3.2.1:

userinfo    = *( unreserved / pct-encoded / sub-delims / ":" )

So any reserved characters in userinfo must be encoded. The same, any '%' in uri should be regard as encoded-escape character.
There is a<EMAIL_ADDRESS>version that still in development has fixed it<EMAIL_ADDRESS>will always decode url. https://github.com/andymccurdy/redis-py/issues/589
But in the stable redis-py, it only provides an optional argument decode_components=False to implement url decoding. So we should set it True.
Another accordance: celery does decode redis_url automatically.

It works fine with Django==2.2.12 and redis==3.3.11, But CI checks failed because of mock.

Hi @PMExtra, this seems to be an issue in redis not in this package. The fact that the default will change in version 4.0 is a good indicator. I don't know how I feel about adding a backport here, since redis considers this a backwards incompatible change, it would be backwards incompatible here too. What do you think? Best, Joe

I admit it's a backward incompatible change, but it only affect the project which used '%' in connection url and assume it's raw '%' character instead of escape keyword. I think this situation is almost non-existent.
RFC has stipulated any reserved character in URI should be pct-encoded. And most of libraries such as celery will decode it.
To say the least, if this pr merged, the broken project can be fix by just encode the connection url (just replace '%' with '%25'). But the projects that connected to redis with special symbols in the password cannot work with django-health-check without this PR.
For example, my redis password is 94ER#p, I can connect to redis with redis://:94ER23%p@redis_ip_or_domain in celery, but I cannot pass the argument with django-health-check. redis://:94ER#p@redis_ip_or_domain will be assume as
(scheme='redis', netloc='94ER', path='', params='', query='', fragment='p@redis_ip_or_domain') because # is the fragment indicator.
I agree it should be fix by redis-py, the decode_components argument should default to True. But redis-py has already fix it in the next 4.0 version. And they will not change the behavior in 3.x because you can pass the argument to implement what you want.

At least, django-health-check should provides another way to set the redis password in any character.

@codingjoe What do you think?

Hm, I don't know. The change in redis makes sense, I believe the change in the library does not. However, development on redis seems to be rather slow. I don't mind adding a backport if you fix whatever broke the tests. Best, Joe


pvfactors limited implementation for bifacial calculations

pvlib python pull request guidelines
Thank you for your contribution to pvlib python! You may delete all of these instructions except for the list below.
You may submit a pull request with your code at any stage of completion.
The following items must be addressed before the code can be merged. Please don't hesitate to ask for help if you're unsure of how to accomplish any of the items below:

[x] Closes issue #421
[x] I am familiar with the contributing guidelines.
[ ] Fully tested. Added and/or modified tests to ensure correct behavior for all reasonable inputs. Tests (usually) must pass on the TravisCI and Appveyor testing services.
[ ] Updates entries to docs/sphinx/source/api.rst for API changes.
[ ] Adds description and name entries in the appropriate docs/sphinx/source/whatsnew file for all changes.
[ ] Code quality and style is sufficient. Passes LGTM and SticklerCI checks.
[x] New code is fully documented. Includes sphinx/numpydoc compliant docstrings and comments in the code where necessary.
[ ] Pull request is nearly complete and ready for detailed review.

Brief description of the problem and proposed solution (if not already fully described in the issue linked to above):
Implementation of a bifacial model using open-source pvfactors package.

@anomam  Thanks for this!

I just realized that my IDE's autopep8 made a lot of automated changes... 😮 don't hesitate to let me know if that's an issue

Yes it is a bit of an issue, although most the changes are improvements.  Including them makes it hard to review the scope of the PR when unrelated formatting changes are included.  OK to address the formatting in a separate issue/PR with formatting as its scope.

Thank you so much for the time you spent on this @cwhanse @wholmgren
@cwhanse, from @wholmgren comments above I got the sense that returning 1D arrays was good, but please don't hesitate to let me know if you prefer pandas series (when the inputs are also pandas series)
I'll take a look again tomorrow (Japan time) to check for any necessary clean up or adjustments

@cwhanse, from @wholmgren comments above I got the sense that returning 1D arrays was good, but please don't hesitate to let me know if you prefer pandas series (when the inputs are also pandas series)

Sorry, I didn't fully understand the inputs/outputs and discussions (still might not). After looking more carefully, I suggest that the outputs always be pandas Series and DataFrames. My rationale is that

the function is specifically meant for timeseries analysis
the function requires input datetime information (optionally as a DatetimeIndex)
the function always returns a DataFrame for one of its outputs
the returned DataFrame always contains a timeseries column (at least that's my understanding)

Unlike other functions in pvlib that are more flexible, here we require users to handle at least one pandas object (the DataFrame) and we know the timestamps that each row corresponds to. So, I suggest that we always return the two Series with the appropriate DatetimeIndex. My understanding is that the DataFrame would need MultiIndex with (row, timestamp). I think this works: df_registries.set_index(['pvrow', 'timestamp']).


new node-sass version

node-sass version used is no longer supported and can not download anymore

No comment on PR since 1.5 years, closing


[Bug]Fixed some job properties are not replicated bug When copy a job

What problem does this PR solve?
Fixed some job properties are not replicated bug When copy a job
Issue Number: 1553
Problem Summary:
When copying a job, some job properties are not replicated and there are some bug.
For example：
tags and ModifiedTime is empty
Versionid directly wrote as 10000L and there will be flink-home version error when use postgres as database
What is changed and how it works?
Proposal: xxx
Feel free to ping committers for the review!
Contribution Checklist

Make sure that the pull request corresponds to a GITHUB issue.

Name the pull request in the form "[Feature] [component] Title of the pull request", where Feature can be replaced by Hotfix, Bug, etc.

Minor fixes should be named following this pattern: [hotfix] [docs] Fix typo in README.md doc.

Purpose of this pull request

@wolfboys PTAL


Fix error in issue #21

Fixing this issue: https://github.com/nandorojo/moti/issues/21 regarding "Tried to synchronously call function {assign} from a different thread."
It turns out the object spread does not work correctly in worklets, using regular object assign fixing the error.

Can confirm this fixes crashes I've been experiencing on 0.64

Thanks for testing @Titozzz!

Funny thing is I had pinned down the bug to these line but did not replace the spread... 👀

Yeah I found that they changing to use `Object.assign in reanimated worklets too: https://github.com/software-mansion/react-native-reanimated/pull/1694 so that was the clue I needed :D

That's weird because https://docs.swmansion.com/react-native-reanimated/docs#known-problems-and-limitations they says Object assign isn't any better than spread

Nice catch, thanks for the PR.
This behavior is a bit confusing from Reanimated. I use plenty of object spreads.
I could be wrong here, but should we make the first argument of Object.assign an empty object to avoid any accidental mutations of the source object?

I was thinking that it's either an empty object or a target object from the source code:
const animateStyle = animateSV.value || {}
Let me know if you want me to change 👍

Could you check if doing a sequence animation breaks it too? That uses a spread in line 363.

Yes it did, I now fixed that too 👍

I was thinking that it's either an empty object or a target object from the source code:
const animateStyle = animateSV.value || {}
Let me know if you want me to change 👍

Object.assign({}, animateStyle, variantStyle) should create a new object without mutating the source, similar to the spread. I never use assign, so I’m not as familiar, but I believe this is the correct usage here to avoid mutations.

haha, same. You'r right, it's now correct!

Just published 0.5.8, can you let me know if that fixes this?

Works perfect!


User Story 04: I a member of the orginisation, I want to access a report of all cities in the world organized by population from largest to smallest. So, that I can understand urban population dynamics and plan for resources accordingly.

User Story 4
feature/pop-cities-report

All the cities in the world organised by largest population to smallest.
All the cities in a continent organised by largest population to smallest.
All the cities in a region organised by largest population to smallest.
All the cities in a country organised by largest population to smallest.
All the cities in a district organised by largest population to smallest.

I am changing the user story from "I a member of the orginisation, I want to access a report of all cities in the world organized by population from largest to smallest. So, that I can understand urban population dynamics and plan for resources accordingly." to "As a Urban Planning Specialist, I want to access a report of all cities in the world organized by population, from largest to smallest, so that I can understand urban population dynamics and plan resource allocation more effectively."


Limit Number of Adoptions

Problem
An individual can adopt an unlimited number of storm drains.
Solution
Add an adoption limit to the code-base
Tests

Add unit test ensure ADOPTION_LIMIT env var is available
Add unit test make sure the ADOPTION_LIMIT has a value
Add unit test to ensure ADOPTION_LIMIT is Greater than 0
Add unit test(s) to confirm that limit is enforced.

Documentation

Include ADOPTION_LIMIT to the github Install.md file's Installation section

UI Changes
When a user is at the limit, provide some sort of feedback.
Options include:

Grey out / disable the 'Adopt!' button. Above "My Drains" in the sidebar, print the error message.
Keep the 'Adopt!' button active, but when it's clicked, print the error message above the button.

Final error message should be approved by Cara.

Thank you for adopting so many drains! At this time we ask that you limit your adoptions to {20} drains so that they can adequately get the attention they deserve.

Error message:
Thank you for adopting so many drains! At this time we are limiting adoptions to 100 drains so that everyone can participate. If you would like to adopt more drains, please contact<EMAIL_ADDRESS>

need to do analysis on how many adoptions per person.  just to get a limiting number.

same as #62