System.InvalidProgramException when trying to shim DateTime.Now

Write the following program:
using System;
using Pose;

namespace ConsoleApp4
{
    class Program
    {
        static void Main(string[] args)
        {
            var dt = DateTime.Now;
            Shim dateTimeShim = Shim.Replace(() => DateTime.Now).With(() => new DateTime(2004, 4, 4));
            PoseContext.Isolate(() =>
                {
                    var time = DateTime.Now;
                    Console.WriteLine(time);
                },
                dateTimeShim);
        }
    }
}

Compile it with netcoreapp2.0 and run with .NET Core ⇒ throws an exception:
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidProgramException: Common Language
 Runtime detected an invalid program.
   at dynamic_System.Text.Encoding_.ctor(Encoding , Int32 )
   at stub_ctor_System.Text.Encoding_.ctor(Encoding , Int32 , RuntimeMethodHandle , RuntimeTypeHandle )
   at dynamic_System.Text.OSEncoding_.ctor(OSEncoding , Int32 )
   at stub_ctor_System.Text.OSEncoding_.ctor(Int32 , RuntimeMethodHandle , RuntimeTypeHandle )
   at stub_System.Text.EncodingHelper_GetSupportedConsoleEncoding(Int32 , RuntimeMethodHandle , RuntimeTypeHandle )
   at stub_System.ConsolePal_get_OutputEncoding(RuntimeMethodHandle , RuntimeTypeHandle )
   at dynamic_System.Threading.LazyInitializer_EnsureInitializedCore(Encoding& , Object& , Func`1 )
   at stub_System.Threading.LazyInitializer_EnsureInitializedCore(Encoding& , Object& , Func`1 , RuntimeMethodHandle , RuntimeTypeHandle )
   at dynamic_System.Threading.LazyInitializer_EnsureInitialized(Encoding& , Object& , Func`1 )
   at stub_System.Threading.LazyInitializer_EnsureInitialized(Encoding& , Object& , Func`1 , RuntimeMethodHandle , RuntimeTypeHandle )
   at dynamic_System.Console_EnsureInitialized(Encoding& , Func`1 )
   at stub_System.Console_EnsureInitialized(Encoding& , Func`1 , RuntimeMethodHandle , RuntimeTypeHandle )
   at stub_System.Console_get_OutputEncoding(RuntimeMethodHandle , RuntimeTypeHandle )
   at dynamic_System.ConsolePal_GetUseFileAPIs(Int32 )
   at stub_System.ConsolePal_GetUseFileAPIs(Int32 , RuntimeMethodHandle , RuntimeTypeHandle )
   at dynamic_System.ConsolePal_GetStandardFile(Int32 , FileAccess )
   at stub_System.ConsolePal_GetStandardFile(Int32 , FileAccess , RuntimeMethodHandle , RuntimeTypeHandle )
   at stub_System.ConsolePal_OpenStandardOutput(RuntimeMethodHandle , RuntimeTypeHandle )
   at stub_System.Console_OpenStandardOutput(RuntimeMethodHandle , RuntimeTypeHandle )
   at dynamic_System.Console+<>c_<get_Out>b__25_0(<>c )
   at dynamic_System.Threading.LazyInitializer_EnsureInitializedCore(TextWriter& , Object& , Func`1 )
   at stub_System.Threading.LazyInitializer_EnsureInitializedCore(TextWriter& , Object& , Func`1 , RuntimeMethodHandle , RuntimeTypeHandle )
   at dynamic_System.Threading.LazyInitializer_EnsureInitialized(TextWriter& , Object& , Func`1 )
   at stub_System.Threading.LazyInitializer_EnsureInitialized(TextWriter& , Object& , Func`1 , RuntimeMethodHandle , RuntimeTypeHandle )
   at dynamic_System.Console_EnsureInitialized(TextWriter& , Func`1 )
   at stub_System.Console_EnsureInitialized(TextWriter& , Func`1 , RuntimeMethodHandle , RuntimeTypeHandle )
   at stub_System.Console_get_Out(RuntimeMethodHandle , RuntimeTypeHandle )
   at dynamic_System.Console_WriteLine(Object )
   at stub_System.Console_WriteLine(Object , RuntimeMethodHandle , RuntimeTypeHandle )
   at dynamic_ConsoleApp4.Program+<>c_<Main>b__0_2(<>c )
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at Pose.PoseContext.Isolate(Action entryPoint, Shim[] shims)
   at ConsoleApp4.Program.Main(String[] args) in T:\Temp\ConsoleApp4\ConsoleApp4\Program.cs:line 12

Have the same with a couple of other tests i am trying. any updates?

Still working out the intricacies of the new implementation especially around performance. Expression trees allow for more features but are a bit harder to translate IL to

👍 to expression trees being a PITA to debug and deal with when they do not work.  Really cool stuff though!

Do you have any ETA on when this will be fixed?
Pose is so useful, but this issue limits its main functionality.

Compiling this with .NET 4.7.1 and the latest Github version of POSE also results in the same exception. Is this as expected?

Hi @crushjz, can't give a definite ETA at the moment. I've been a bit swamped with work and all, I believe I can fix most of the InvalidProgramException without resorting to a re-implementation with Expression Trees. This will be my focus for the coming weeks

This is awesome news, thank you so much @tonerdo for your incredible effort!

Hi @tonerdo, any updates on this yet? :smile:

Thanks, keep us up to date :D

I've been able to fix the InvalidProgramException errors. Turned out I wasn't handling the presence of the constrained opcode. However, I'm encountering situations where the entire runtime seg faults without any error message, so I'm currently debugging that

Any workaround or previous version that doesn't have the issue?

Guys, I'm also having the same issue. Any advances or previous versions that could work?

Same issue when trying to mock static method. Updates?

This issue is still present in the latest NuGet package (version 1.2.1). I was able to run my tests by reverting to version 1.1.0

Same for me even when I revert to 1.1.0. Pity.

This defect still persists.

Is there any update on this? Would love to see it fixed as I only need to Shim a LoggingService in a 3rd party dll

Given that as of today, this bug has effectively been ignored for over 5 years, I think its safe to say that if you run into this defect, that means Prose is no longer an option that can be trusted.
Its important to call out that even the maintainer doesn't want to fix this, as shown by the lack of a fix in 5 years of people waiting,  so its probably best to find other options.

@ThaDaVos  @motcke Please see #80


No text to speech when a change is applied

Testing #213355
There was no audio at all:

Could be related to https://github.com/microsoft/vscode/issues/213640, though pressing the speaker command doesn't read anything either.

So it says "Made changes" now. I don't mind it just saying "made changes" visually because I can also visually see the code changes, but I feel like I wish that it would maybe speak a summary of the diff so it says more than just "made changes"


unrelevant link

I found wolframalpha on the visualization tools section, while wolframalpha is not viz tool, it's a computational intelligence more likely knowledge base. may i remove it?

@andreaschandra you may remove it, please make a PR?

check pull request @hmert


Added netstandard2.1 build target & support for Span<>

Hi @yubabich
I've been playing with .net core 3 and Span<> so was wanting to avoid allocating byte arrays for calculating CRC hashes so I forked this and added support for this. I don't know if you want this 😃

Added tests for the span overloads (the same as the others but calling .ToSpan() on the byte array)
I had to remove the netcoreapp2.1 build target as the netcore3.0 was picking that as opposed to the netstandard2.1 lib. Not sure if that's an issue.


Sounds weird when the input is short

Hi, I find that the model produces really great outputs when synthesizing sentences of medium or long length. However, when synthesizing short sentences or words, the audio sounds weird. For example, I used the pretrained LibriTTS model to synthesize the word “people” (IPA: pˈiːpəl). No matter what reference audio I gave, long or short, the output was weird, especially at the end of the word. This phenomenon occurred when the input was short. I attached an example audio here people.wav.zip. Do you have any methods to solve or alleviate this problem? Thank you very much!

This is likely because of the training data we used. During training, we skipped samples that are less than one second (less than 80 frames) because of the pooling layers in the style encoder (i.e., if the input is less than one second, the second last feature map will be too small to go through the last residual layer). The model has never been trained to synthesize speech less than one second, so it may not be able to generate natural speech under that duration.
You need to either retrain the model with padded or repeated input for the style encoder, or you can add some phonemes during inference to make the sentence you want to synthesize longer and trim the synthesized results based on the predicted duration to the part you want.


Updated manifest for VS2019 Community Preview

Updated package ID.
Updated package metadata.

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

You'll have to create a PR for the new ID, and a PR to remove the duplicate manifest. See #13262 and #13263 for an example.


What is the Upper limit for Unlimited Archiving ?

I guess in september 2019, “The unlimited archiving feature in Office 365 (called auto-expanding archiving) provides up to 1 TB of storage in archive mailboxes in Exchange Online.” as it still shows in https://docs.microsoft.com/zh-tw/office365/servicedescriptions/exchange-online-archiving-service-description/exchange-online-archiving-service-description#unlimited-archive-storage-quota
Is the upper limit still the same (1 TB) or its changed ?

@Mohkam We've removed the reference to the 1 TB limit in the service descriptions. For example, here is the en-us version: https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-archiving-service-description/exchange-online-archiving-service-description#unlimited-archive-storage-quota


Private Subnet Public Loadbalancer issue

I got "No export named production:PublicListener found. Rollback requested by user." error.
Any ideas on how to fix it?

@lngphp The issue may be that when you created the service stack you did not provide the StackName parameter which is the name of the cluster stack that you created first so it is defaulting to Production. If that is not what you called the cluster stack the service stack creation may fail with that error.
I have a Makefile that I use to create the cluster and services. It is a bit easier to do it that way I found.
The following is what I have in it for the cluster and service.
I have not used this in a while and am out of time tonight but I will try it again tomorrow night.
StackName=test-fargate
StackNameService=${StackName}-service

CFTBASE=fargate-networking-stacks/public-vpc.yml
CFTSERVICE=service-stacks/public-subnet-public-loadbalancer.yml

create-cluster:
	aws cloudformation create-stack --stack-name ${StackName} \
		--template-body file://${CFTBASE} \
		--capabilities CAPABILITY_IAM

create-service:
	aws cloudformation create-stack \
		--stack-name ${StackNameService} \
		--template-body file://${CFTSERVICE} \
		--parameters ParameterKey=StackName,ParameterValue=${StackName} \
		--capabilities CAPABILITY_IAM

If it is helpful, I did just confirm that the following Makefile can create and delete the public-vpc and public-subnet-public-loadbalancer configuration of this Fargate example.
The running nginx url can be found from the cluster stack ExternalUrl output.


Improve computational speed with wls (and non-gaussian?)

just a reminder and a place to put new ideas if they pop-up

try different rescalers
try relaxed wls
try stricter variable bounds
compare different (exact) formulations to see what's faster
talk to people (Frederik, ...)

You forgot:

testing whether the bounds on rho are an issue

For computational time?
Because I added a big M and now the logpdf works: it converges to the global minimum, when it converges 😝
From: Tom Van Acker<EMAIL_ADDRESS>Sent: Tuesday, 8 September 2020 16:35
To: timmyfaraday/PowerModelsDSSE.jl<EMAIL_ADDRESS>Cc: MartaVanin<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [timmyfaraday/PowerModelsDSSE.jl] Improve computational speed with wls (and non-gaussian?) (#19)
You forgot:

testing whether the bounds on rho are an issue

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/timmyfaraday/PowerModelsDSSE.jl/issues/19#issuecomment-688919240, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFCVFYPD33XANRQ3C7PFGDLSEY6JHANCNFSM4RABPT3A.
[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/timmyfaraday/PowerModelsDSSE.jl/issues/19#issuecomment-688919240", "url": "https://github.com/timmyfaraday/PowerModelsDSSE.jl/issues/19#issuecomment-688919240", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Random big M generally results in numerical issues...
Any quantification on the percentage of cases where it doesn't converge?

not yet, it varies with different pf formulations, too. I made the big M settable in the settings dictionary, so it's easier to play with


accumulate_grad_batches flag in trainer changes cosine decay scheduler incorrectly

🐛 Bug

When using the accumulate_grad_batches flag in trainer, I noticed it changes my scheduler LR differently.  I am using TIMM's cosine decay scheduler.  And when I use 1 gpu, I set accumulate_grad_batches = 4, and when I use 4 gpus, I set accumulate_grad_batches = 1.  Then I noticed the LR scheduler (in wandb) displayed different LR during training.  For the accumulate_grad_batches = 4, the LR decayed faster.
My understand is the schedule should only depend on the epoch number, not the batch size or accumulate_grad_batches value.  Did anyone else notice something similar before?
I am using PTL version 1.5, torch 1.11, and TIMM 0.5.4.  I am training videos (HMDB) using pytorchvideo library as well.
Thanks!

the LR decayed faster.

what do you mean by faster? if you are using the same batch_size in both the cases then based on step, while using 4 GPUs the decay will be faster as compared to the other case since the effective batch size per step is 4 times here but in the first case the update will happen after every 4 steps (accumulation factor).


Proposal for FantasyAce Data Pipeline

Hey @bellanov
I’m excited to propose a plan for developing a data pipeline for FantasyAce. Our goal is to scrape, analyze, and deliver valuable betting insights to help our users make informed decisions. Here’s what I have in mind
Objectives:
Create a solid data scraping module for popular bookies.
Analyze the data to uncover valuable betting insights.
Share actionable analytics with our users through various channels.
Proposed Pipeline Steps:
Bookie Selection:
Let’s confirm our focus on these popular bookies:
Underdog
PrizePicks
DraftKings
FanDuel
Data Scraping Module:
We’ll start by building a scraping module for our chosen bookies, focusing on:
"Anytime TD Scorer" bets and other key data points.
Using the Player Card pattern for efficient data extraction.
Tackling authentication challenges, especially for Underdog.

Data Analysis:

Next, we’ll develop scripts to analyze the scraped data, including:
Spotting trends and patterns in betting data.
Calculating metrics that highlight potential betting edges.

Delivery Mechanism:

We’ll create a system to deliver insights to our users, such as:
Email alerts for important findings.
API endpoints for easy integration with other apps.
Dashboards for a visual representation of the data.
Documentation and Testing:
Let’s document the entire process for future reference and ensure everything is tested for reliability and accuracy.
I’d love to hear your thoughts on this proposed pipeline!
Your feedback and ideas are super welcome!
Also, would it be possible to discuss whatever reward for the effort put into developing the FantasyAce data pipeline?
I’m really looking forward to implement this and making a positive impact in the sports betting space. Let’s make this happen! 🚀

No rewards until we get subs and still very far from that. Til then all I have are coffees ☕ for Open Source contributions.
Don't feel like you need to overdo things or have to stick around.
Once I get there, I get to query all of these coffees / estimates and see if anyone is worth rewarding.
That is the core idea of this Andy project you see around the repository.
Creating an army of open source contributors and the top 10 get a cut of the projects profits.
Also very far away from that idea as well.

No worries, I appreciate the transparency about the project’s progress. I’m happy to contribute where I can and will stick around to see how things develop.

 If one sticks and you develop for it, it means ye get a cut.

I love the ideas here. They are in line with what I'm thinking.

@bellanov
Thank you for the feedback! I’m glad the ideas resonate with you. I agree that using Rust for data scraping could be beneficial. Let’s keep moving forward!

But in general, the goal is to create something that executes as fast as the bookies can change their lines, which is why things like RUST, Go, and WASM come into play.
Looking forward with playing with new technologies and patterns!


Sets up orchestrator service routes

What does this PR do

Moves the oidc auth enable parameter as a top level flag for reuse
Sets up the Orchestrator API router

Changes merge into the fw-inband-devel branch which will track main until all changes are merged into this devel branch.

I feel like we should have had a separate module for the orchestrator API. By avoiding this when the task is small, we've deferred work until later when the orchestrator and the client API are larger and less-tractable to work with.

@DoctorVin
Its not too late to do that, and I had given it a few attempts to slice up (without breaking existing API, less code and test duplication) in different ways but was not happy with the outcome. I'll create another PR as an attempt and we can follow up there there.


Absence of mutex locking in Gimbal plugin causing SEGV_ACCERR

While working on a new plugin mechanism for MAVSDK-Java I am getting the following error on Android: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)
This error comes only when the Gimbal plugin is enabled, and it signifies that two or more threads are mutating a variable without any locking. And I noticed that mutex locking is missing here:
https://github.com/mavlink/MAVSDK/blob/631f6d366a5683b773560d8abe9752b54afe98fa/src/plugins/gimbal/gimbal_impl.cpp#L68
I am not too well-versed in C++ and I am not sure if this is by design, but please look into this issue.

This said, I'm tempted to remove this _protocol_cookie entirely, stay tune for a PR that you may test.

This is the draft: https://github.com/mavlink/MAVSDK/pull/1627

Great! I'll try to test it in a couple of days.

Should be fixed now.


Move crash signatures in duplicate bug

For example, if bug 1 has signature "foo::bar()" and it's marked duplicate of bug 2 then check that this signature is in bug 2 too (probably auto-fix here).

https://bugzilla.mozilla.org/buglist.cgi?keywords=crash&keywords_type=allwords&list_id=14250024&emailtype1=notequals&chfield=[Bug creation]&chfieldfrom=-6m&email1=intermittent-bug-filer%40mozilla.bugs&emailreporter1=1&resolution=DUPLICATE&chfieldto=Now&query_format=advanced&bug_status=RESOLVED
The query above shows crashes created over the last 6 months that were marked as duplicates (excluding<EMAIL_ADDRESS>bugs). I am going to check manually that we don't have missing signatures in the opened bugs for the more recent top, but yes it would be good to automate that clean up :)


Audio Playback Doesn't Work

Some songs just don't get the player to start playing. It'll either be stuck in buffering and timeout, or stuck before that and never timeout.
Example /play skystrike never seems to work, but /play faded does.
Good start to diagnosing the cause of this is to move audio resource generating logic to a method (preferably) of MusicDisc (See #5).

Investigate: Queueing more songs when this occurs might seem to fix it.

Was due to a bug with play-dl, and has since been fixed as of this commit.


fastai,fastai2: init at 1.0.60, 2020-03-01

Motivation for this change
This should really be in a flake but I'll leave it as a PR for now in case anyone needs it in the future (basically probably just the unreleased fastbook).
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Hi, I was also trying to pack the fastai/nbdev, this PR could be very helpful!


hx711: Initial implementation #139

An initial implementation for hx711 24bit adc for scales, inspired on https://github.com/bogde/HX711.

Since this is all part of the initial implementation for this sensor, I plan to squash everything in a single commit. However I need your help with 2 things:

Please add your e-mail address next to your name in the code files
Signoff at least one of your commits (you can use --signoff in the git commit line to achieve that)

Thank you for partaking in our effort!

Ok, done!

Thanks! I've added your code to the library in df302ff5db962d8be94acbc6371b3999f331b053.

Thanks! It's a pleasure to collaborate with the project!
Can you close the Issue #139 ?


Browser Callbacks not being handled

Describe the bug
A clear and concise description of what the bug is
The Program does not handle browser Javascripts call backs adequately to handle 3rd party sites authorization.
EXAMPLE CODE that is failing..
if (window.opener) window.opener.postMessage('LOGIN_COMPLETE', '');
else if (window.parent) window.parent.postMessage('LOGIN_COMPLETE', '');
Flobro opens new authuntication tabs in main chrome browser however after login in successfully the Window.opener.postMessage fails to "PostMessage" to window inside Flobro.
Steps to reproduce
Open Flobro...
Goto Settings, Enter https://foxnews.com as URL
have Flobro open web page.
click Live(in fox news)
Click a 3rd party subscription service (Spectrum, Xfinity... etc)...
After clicking a 3rd party
the site opens two pop ups.
After logging successfully, it fails to update in the main browser windows.
Expected behavior
After successful login to a 3rd party login it should refresh on the main site.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment variables:

OS: Windows
Version: e.g. 0.2.1
Chrome version: Latest

Additional context
Spectrum is the 3rd party service.

Related to #40

Duplicate of #40


Improve ug and messages

Update the UG, to make it clearer.
Summary of changes:

Update the part for find and add in UG, such that in includes the restrictions for each field.
Add a notice in find, to notify the user that we don't support partial keyword match.

Some parts for the other commands in UG needs to be updated, such that they state the restrictions, after this PR is merged.
resolves #225
resolves #252

Codecov Report

Merging #263 (f967bc6) into master (0d35628) will not change coverage.
The diff coverage is n/a.

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

@@            Coverage Diff            @@
##             master     #263   +/-   ##
=========================================
  Coverage     47.87%   47.87%
  Complexity      383      383
=========================================
  Files            89       89
  Lines          1815     1815
  Branches        229      229
=========================================
  Hits            869      869
  Misses          846      846
  Partials        100      100

Continue to review full report at Codecov.

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


[ss3server] default config not being applied

Reference commend:https://github.com/dgibbs64/linuxgameservers/issues/245#issuecomment-67427408
Server works great now, but I had to make some changes.
I had to add the port to the server startup line.
# Start Variables

ip="<IP_ADDRESS>"
port="27015"

https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/SeriousSam3BFE/help/DedicatedServer_Readme.txt

fn_parms(){
parms="+ip ${ip} +port ${port} +logfile ${gamelog} +exec ${servercfgfullpath}"
}

Only with a different port since I already have something running under that port. Changing the port in the config file didn't appear to do anything. In fact the server doesn't seem to follow anything about the config file. Default config had 12 players, but the server loaded 16. Also my custom server name wasn't picked up. It defaulted to the servers host name.
I have not tried to rename the server config file to dedicatedserver.cfg to see if that fixes the issue. Just so happy to finally be able to host this game on my Linux box now.

Im not sure how best to go about this as I dont run a serious sam 3 server myself. I could do with a default config for each game type and the best default parms to set.
I think the ideal parms are as follows as @lblanchardiii specified. But i'm not sure about the configs.
parms="+gamemode ${gamemode} +ip ${ip} +port ${port} +logfile ${gamelog} +exec Content/SeriousSam3/Config/survival.cfg"
If anyone is willing to post some vanilla default configs for each game mode that they know works I will implement them in to the script. Also is survival the main game mode used or is there another one?
@lblanchardiii you mention that you use absolute path for the config however your example is a relative path. Please can you confirm which is best. Also never use 777 permissions as this is writable to anyone and not best practice (bad things can happen). something like 774 or or 744 may be better. It may be that the server requires write access to the config?

Should honestly just CHOWN the server's folder if it needs write access imo.

Cooperative is the default gamemode and CooperativeCoinOp is similar to the default one but you don't have to worry about dying as much. Survival is a unique gamemode and not very common. Majority of the servers are Cooperative or one of the Versus modes.
With Cooperative and CooperativeCoinOp you don't really need any special parms unless you are running multiple servers on the same install/IP. Then you'll want to be able to change the ip or port. By default everything just works like it should.
For Survival you'll want to use the local prj_strMapList in the config file otherwise it will just play the same map over and over. By default it's the SV_Canyon map that will be set on repeat.
The permissions at 777 might not be required, but it was something I set them to for testing purposes. I never went back to check if it was required or not.
Absolute path is not required as I originally thought.
One thing for sure is though I don't have any "commented out" lines in my config files as that seemed to cause issues with the game engine loading it.

Cheers @lblanchardiii I will run though your comment fully and come up with somthing.

I have adjusted the game type and added a link in for the SS3 Server GUI 3 tool.
https://github.com/dgibbs64/linuxgsm/commit/4cb78a3ef9ef147815235929841cd57a94bd919c


Older blog posts not loading correctly

Someone pinged us about old blog posts not being there.  I was able to pull up the post in Wayback Machine, but the archives could be useful for reference purposes.
Also, Google search results do show these posts as being there, but they redirect to the main site: https://www.google.com/#safe=off&q=Announcing+(and+explaining)+our+new+2.0+licences+»%2C+25+may+2004%2C+creative+commons
See conversation: https://twitter.com/alex_giann/status/751876018441453568

@robmyers Look at this weird one...
you can even search for "Versioning - Public Review Begins" in the search box at the bottom of our site -- you get a single result, but clicking it takes it to the homepage.
Redirects ftw :/

This affects all URLs starting /2004 - /2010 maybe earlier

Commenting out line 320 in Apache Config.
RewriteRule ^/200.* http://%{SERVER_NAME}/ [L,R=301]

That was a weird rule. It had been like that since before the new site.
Why are those all rewriting to http rather than https? I feel you explained this to me but I can't remember the reason. They used to be to ${proto}, we could use %{REQUEST_SCHEME} (available in Apache >= 2.4 ).


Pixels: Third Party Launch

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#5161  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @malmstein and the rest of your teammates on  Graphite


Is there any plan support for ntlm auth

It will be nice to support for  ntlm auth protocal（Mechasim::Ntlm）， the param for this function can be the ntlm auth negotiation‘s result（which from library sspi 0.3）

There is no current plan, especially as it is a custom extension not part of the standard, but we would likely accept a contribution adding this mechanism if it needed.
In which context do you need this mechanism?

the smtp mode of microsoft exchange  only supports ntlm authentication.


Update example code to match current API

This updates the example code in README.md to match the sample/test/runTest.ts (and thus the current API).

Thanks! 👍


chore(master): release 0.7.1

:robot: I have created a release beep boop
0.7.1 (2024-03-20)
Features

update dependencies (fb21820)

This PR was generated with Release Please. See documentation.

DO NOT RELEASE YET

:robot: Release is at https://github.com/indykite/indykite-sdk-node/releases/tag/v0.7.1 :sunflower:


K3s flannel doesn't work with netscript service in ubuntu

Environmental Info:
K3s Version: v1.21.7+k3s1/v1.28.2+k3s1

Node(s) CPU architecture, OS, and Version:
Ubuntu 22.04 LTS, amd64
Cluster Configuration:
1 server
Describe the bug:
If the netscript is installed and enabled in ubuntu, the pods in k3s won't start normally.
The cause of the pods failed is the flannel bridge cni0 got deleted by netscript time to time. And it cause the overlay network doesn't work appropriately.
Steps To Reproduce:

apt install netscript-2.4
systemctl enable netscript && systemctl start netscript and reboot
Install K3s

Expected behavior:
I am not sure k3s should be compatible with netscript or not. If it shouldn't, it might need to be documented.
Actual behavior:

K3s runs well but he pod in the k3s keep failing.
ip a show cni0 returns nothing

Additional context / logs:
After disable and remove netscript, k3s and the pods of it work fine.

I'm not familiar with the netscript service, is it something you installed, or something that recent releases of ubuntu come with by default?

the flannel bridge cni0 got deleted by netscript time to time.

Yes, that would be a problem. Why would you install something that randomly deletes interfaces its not familiar with?

I'm not familiar with the netscript service, is it something you installed, or something that recent releases of ubuntu come with by default?

Seems like it's a network tools in linux to manage network interfaces but not come with ubuntu LTS by default.
In my case, the operation team installed it to have ifup ifdown ifquery tools to fix the network setting problems of the host. After the configuration fixed, the tools are not longer needed.
I just want to write this down in case someone encounter the same problem in the future.

Was there a specific service that was started that was associated with the interface removal? Or was it just happening whenever someone ran ifdown on the node?


Create supdepub.txt

Add sup de pub

Add sup de pub

@m-diablo This domain's name server does not answer, thus it has no practical meaning to add this domain to the list. No one can deliver emails to this domain:
$ host supdepub.fr
Host supdepub.fr not found: 2(SERVFAIL)

Thus, I have to close the request without merging. Thank you for the understanding.


Listenbrainz not logging scrobbles from webscrobbler.

Describe the bug
When I listen to a track on, for example, Marvis Pro on iOS (Apple Music), I scrobble it to last.fm, and the last.fm source pushes it properly to my non-last.fm clients as configured: Maloja and Listenbrainz. However, when listening to a track via webscrobbler, it should be going to all clients, and it does in the clients, but logs do not show it was scrobbled to Listenbrainz.
To be clear, Listenbrainz is showing the scrobbled track, but multi-scrobbler isn't showing it on scrobbled?type=listenbrainz&name=ListenBrainz or in the logs.
Expected behavior
Tracks should show being scrobbled to clients, show in the 'tracks scrobbled' page, and show within the client website on Listenbrainz.
Logs
Last.fm source scrobble
2023-11-30T16:47:32-08:00 info    : [Scrobblers] [Listenbrainz - ListenBrainz] Scrobbled (Backlog) => (Lastfm) Taylor Swift - Look What You Made Me Do @ 2023-11-30T16:47:20-08:00
2023-11-30T16:47:28-08:00 info    : [Scrobblers] [Maloja - Maloja] Scrobbled (Backlog)     => (Lastfm) Taylor Swift - Look What You Made Me Do @ 2023-11-30T16:47:20-08:00
2023-11-30T16:47:27-08:00 info    : [Sources] [Lastfm - Source] Discovered => Taylor Swift - Look What You Made Me Do @ 2023-11-30T16:47:20-08:00

Webscrobbler source scrobble
2023-11-30T16:41:50-08:00 info    : [Sources] [Lastfm - Source] Discovered => Deep Purple - Smoke on the Water @ 2023-11-30T16:38:54-08:00
2023-11-30T16:41:48-08:00 info    : [Scrobblers] [Lastfm - LastFM] Scrobbled (Backlog) => (undefined) Deep Purple - Smoke on the Water @ 2023-11-30T16:38:54-08:00
2023-11-30T16:41:46-08:00 info    : [Scrobblers] [Maloja - Maloja] Scrobbled (Backlog)     => (undefined) Deep Purple - Smoke on the Water @ 2023-11-30T16:38:54-08:00
2023-11-30T16:41:45-08:00 info    : [Sources] [Webscrobbler - WebScrobble] Discovered => Deep Purple - Smoke on the Water @ 2023-11-30T16:38:54-08:0

Full Config
{
  "sourceDefaults": {
    "maxPollRetries": 0,
    "maxRequestRetries": 1,
    "retryMultiplier": 1.5
  },
  "clientDefaults": {
    "maxRequestRetries": 1,
    "retryMultiplier": 1.5
  },
  "sources": [
    {
      "type": "lastfm",
      "name": "Source",
      "configureAs": "source",
      "clients": ["Maloja","ListenBrainz"],
      "data": {
        "apiKey": "x",
        "secret": "x",
        "redirectUri": "http://<IP_ADDRESS>:9078/lastfm/callback"
      }
    },
    {
      "type": "plex",
      "name": "Plex",
      "clients": [],
      "data": {
        "user": ["me"],
        "libraries": ["music"],
        "servers": []
      }
    },
    {
      "type": "webscrobbler",
      "name": "WebScrobble",
      "slug": null,
      "clients": [],
      "data": {
        "whitelist": [],
        "blacklist": []
      }
    },
    {
      "type": "subsonic",
      "name": "Navidrome",
      "clients": ["LastFM","ListenBrainz"],
      "data": {
        "url": "http://navidrome:4533",
        "user": "me",
        "password": "x",
      }
    },
    {
      "type": "spotify",
      "name": "Free",
      "clients": [],
      "data": {
        "clientId": "x",
        "clientSecret": "x",
        "redirectUri": "http://<IP_ADDRESS>:9078/callback",
        "interval": 60
      }
    }
  ],
  "clients": [
    {
      "type": "maloja",
      "name": "Maloja",
      "data": {
        "url": "http://maloja:42010",
        "apiKey": "x"
      }
    },
    {
      "type": "listenbrainz",
      "name": "ListenBrainz",
      "configureAs": "client",
      "data": {
        "token": "x",
        "username": "me"
      }
    },
    {
      "type": "lastfm",
      "name": "LastFM",
      "configureAs": "client",
      "data": {
        "apiKey": "x",
        "secret": "x",
        "redirectUri": "http://<IP_ADDRESS>:9078/lastfm/callback"
      }
    }
  ],
  "webhooks": [
  ]
}

Versions (please complete the following information):
Provide version information for any related sources/clients.

multi-scrobbler: 0.6.2 on docker
maloja 3.2.1

Additional context
There is also a second push from last.fm server after last.fm client is scrobbled to from any other source, but it doesn't appear to be getting duplicated into Maloja or Listenbrainz, so that seems ok.

Are the tracks being scrobbled from WS also being scrobbled from LastFM or another source? MS does not scrobble duplicates. If more than one source is scrobbling the same track the scrobble client should only scrobble it once.
You can get more visiblity into the scrobble duplication check process by turning on some debugging options and debug logging:
{
  "type": "listenbrainz",
  "name": "ListenBrainz",
  "configureAs": "client",
  "data": {
    "token": "x",
    "username": "me",
    "options": {
      "verbose": {
        "match": {
          "onNoMatch": true,
          "confidenceBreakdown": true
        }
      }
    }
  }
}

Set the docker env LOG_LEVEL=debug

If you are still experiencing this issue and can reproduce with the modified settings I mentioned above please let me know and I will re-open.


Override cryptography sha256

Not sure why this had been commented out, but it was necessary for my build to pass :s

I commented that out because it was no longer needed with the last update as the currently locked revision of poetry2nix already includes the hash:
https://github.com/nix-community/poetry2nix/blob/4fd045cdb85f2a0173021a4717dc01d92d7ab2b2/overrides/default.nix#L614
My guess would be that you're overriding the poetry2nix flake input for the authentik-nix flake via follows with an older version than the one used in the flake.lock here.
(I didn't delete the snippet because it's quite likely to be useful again for a future update.)

Oh, so my best guess is that I accidentally caused this by using nix flake lock and not nix flake update during the upgrade, wooops 😅
Sorry for the noise!


Cannot use optional chaining on non-optional value of type 'NSURL'

Similar to #634.
I'm using Swift 2.3 and Moya 7.0.2, but I'm still seeing this error:
Cannot use optional chaining on non-optional value of type NSURL

Here's the offending line:
guard let stringURL = target.baseURL.URLByAppendingPathComponent(target.path)?.absoluteString  else {

In #634, it's stated that: "7.0.2 is a Swift 2.3 release (in which URLByAppendingPathComponent is optional"
So my question: Why am I seeing this error if (1) I have 7.0.2 installed and (2) I'm using Swift 2.3?
Relevant portions of files:
Podfile
platform :ios, '8.0'
use_frameworks!

target 'XXX' do
    pod 'Moya', '7.0.2'
end

Podfile.lock
...
  - Moya (7.0.2):
    - Moya/Core (= 7.0.2)
  - Moya/Core (7.0.2):
    - Alamofire (~> 3.5)
    - Result (~> 2.0)
...

Can anyone help with this? Thanks!

@konnorbeard: which error? Did you forget to paste in the message?

@AndrewSB sorry I wasn't clear - I've updated my original issue to better explain what I'm seeing and what my question is.

@konnorbeard Could you try using 7.0.4 and see if the issue still happens? 🤔

@pedrovereza just tried, same issue

@konnorbeard Hm, that's weird. I know you mentioned you're on Swift 2.3, but can you confirm that 7.0.1 won't work as well because it's targeted as 2.2?

@konnorbeard Did you find a fix for this?

I'm gonna close this issue due inactivity, feel free to reopen with new info.

@pedrovereza @sunshinejr sorry for my inactivity. The errors ended up being swift/xcode version related. The fix ended up being using swift 2.3 with xcode 8.0 - nothing on your guys end. Thanks for your suggestions and time on this.

No problem @konnorbeard! Thank you for taking your time to explain what was wrong. It can help someone in the future :)


Rework Parry fields

The problem is that it needs to know what the parry bonus of your weapon is, and that isn't currently recorded on the character sheet. I can think of a couple of options:

Add a new field to weapons, giving their parry bonus; then use the highest bonus as the bonus for parry.
Add a new field to the defense block where you can fill in the Parry bonus. I don't see a nice place for it, though.

If the Parry row had "--" values if you ha no weapon with a parry bonus.
Originally posted by @johnlamping in https://github.com/epic-power-rpg/roll20/issues/35#issuecomment-1384362920

It would make sense for the new weapon field to be titled "Def.", like the fields for armor and shield. That would make things relatively consistent.
And, with my wishes turn into code so fast, Jaz ... Giving the Def. headers an explanatory popover would be a nice touch. They would say something, "Amount added to all defenses" "Amount added to Block defense", "Amount added to Parry defense", respectively

I'm going to take a look at this now. (sorry about the delay lol)

@johnlamping - is the parry calculated as weapon parry + armor?
In other words, is there parry with armor and parry without armor?

Yes. The normal calculation is weapon parry + defense ability + armor, and
the no armor calculation is weapon parry + defense ability.
BTW, I'd suggest putting the Def. field first, so it is the first field for
armor, shield, and weapons.
On Sat, Jan 21, 2023 at 5:21 PM Jaz @.***> wrote:

@johnlamping https://github.com/johnlamping - is the parry calculated
as weapon parry + armor?
In other words, is there parry with armor and parry without armor?
—
Reply to this email directly, view it on GitHub
https://github.com/epic-power-rpg/roll20/issues/69#issuecomment-1399375808,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTV55SPFGOKL3IQAPRDESDWTSDRFANCNFSM6AAAAAAT5JHOPE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sure. I was just thinking that the weapon is primarily used for attack, hence damage range def.
Easy enough to move it though.

Good point. In fact, since you point that out, it seems like Damage and
Range should come first for weapons, followed by Def., then the rest of the
stuff. I must not have been thinking when I put them where they are.
On Sat, Jan 21, 2023 at 5:38 PM Jaz @.***> wrote:

Sure. I was just thinking that the weapon is primarily used for attack,
hence damage range def.
Easy enough to move it though.
—
Reply to this email directly, view it on GitHub
https://github.com/epic-power-rpg/roll20/issues/69#issuecomment-1399380770,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTV55SXSOZM7HPTHJAVGOTWTSFTBANCNFSM6AAAAAAT5JHOPE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Got the columns in place.
Separately, I'll update the parry section
https://github.com/epic-power-rpg/roll20/pull/70

Ok, got the calculation code working.
PR coming


Add ability to handle Rails checkboxes correctly when sending non selected => delete records

close this for a time.


Extensions for iterables?

I was wondering if it would make sense to have "iterable resolvers", similar to attribute resolvers. One use case is using JsonNode, the type that Jackson uses to represent json. There are two types, ObjectNode and ArrayNode that represent objects (maps) and arrays respectively, but they don't implement Iterable directly. It's not difficult to get from them to iterables, but you'd need a hook exposed by Pebble probably in ForNode. It would probably make sense to also use these iterable resolvers in EmptyTest.
This would allow to write something like the following:
Map<String, Object> context = new HashMap<>();
context.put("a", new ObjectMapper().readTree("{\"b\":[],\"c\":[1,2,3]}"));

and render a template like:
{% for kv in a %}
  {% if kv.value is empty %}
    <{{kv.key}}:{% for n in kv.value %}{{ n }}{% endfor %}>
  {% endif %}
{% endfor %}

to get:
<c:123>

What do you think?

Why not load the raw JSON as a Map ?
Map<String, String> map = mapper.readValue("{\"b\":[],\"c\":[1,2,3]}", new TypeReference<Map<String, String>>() {});
context.put("a", map);

I guess I could give that a try, thanks for the idea!

same question, can we use an ObjectNode instead for a Map? any idea?


Introduce Global Statistics View

Introduce a new view to the application, accessible via the top-level navigation.
This view to showcase map-wide statistics like total population within mapped area (Surfaced by rawrmaan and ediewald), total land area represented, and total hotspots seen.
This view opens in the same format as the welcome modal.
Stretch goal would be to surface these stats in real-time.

``


docs: Add CI sub-section to navbar

Relates to https://github.com/dagger/dagger/pull/8768#issuecomment-2460353863

Note to @dagger/maintainers: when I try to review this PR locally, I get an engine error:
$ dagger call -m github.com/dagger/dagger@pull/8866/head docs server up
Full trace at https://dagger.cloud/dagger/traces/9b7354ca9aa57ada43e8dae8fc411582

Error: get module name: input: failed to get schema: failed to get schema for module "dagger-dev": type "Engine" is already defined by module "daggercore"

This is with dagger 0.14.0

Looking at what is left in the Integrations category, I would go further and split into:

Platforms (GitHub, Kubernetes, etc.)
Languages (Java, PHP)

The second category feels forced. I would be inclined to put it in a guide or cookbook recipe (recipe doesn't seem to have the right shape for this content). Still, an entire category for two languages doesn't make sense unless we want to add Rust & Elixir to this mix.

I'm in favour of doing this but probably not at the moment, because we will likely end up with one overweight sub-category (Platforms) and one underweight, as you already noted (Languages). We also end up with one more level of nesting in the sidebar. So it's con "unbalanced categories+additional nesting level", pro "more precise categorization".  For the moment, I would leave this as is, but I have opened an internal issue to revisit it once we have more integrations page to consider.


Please provide an example of writing to an External UC table

It would be helpful to also provide an example of writing to an External UC table on this page. I've been researching this for a while and can't find doc on it.

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

ID: 433f1b2e-9d7b-7812-324a-56c38f33b5a2
Version Independent ID: 433f1b2e-9d7b-7812-324a-56c38f33b5a2
Content: Using Auto Loader with Unity Catalog - Azure Databricks
Content Source: databricks/ingestion/auto-loader/unity-catalog.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@JimThorstad
Thanks for your feedback! We will investigate and update as appropriate.

Thanks for providing feedback that helps improve our documentation. We've created an internal work item (DOC-11132) to address your feedback. The timeline for resolution varies based on resourcing.
#please-close


tmpfs for database tests

Hi,
is there a way to use tmpfs for database tests (we use MariaDb)?
According to: https://www.testcontainers.org/modules/databases/jdbc/
One possible way would be to implement this in the com.playtika.test.common.utils.ContainerUtils#configureCommonsAndStart function and to the according property class.

Hi, @d-eder
According to docs you need to configure your connection url the following way:
spring.datasource.url=jdbc:mysql://${embedded.mariadb.host}:${embedded.mariadb.port}/${embedded.mariadb.schema}?TC_TMPFS=/testtmpfs:rw

My bad. Requires development.
See: GenericContainer.withTmpFs(Map<String, String> mapping)


Can use the other onnx model

E.g
https://github.com/ZHKKKe/MODNet
https://github.com/google/mediapipe
https://github.com/PeterL1n/RobustVideoMatting

No.
MODNet is heavy and low accuracy. mediapipe uses same model. RVM requires reference background image. It's not usable.


Add word case pipeline for the string field

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

Hi @luanxuechao , this PR looks all good. Can we rename it to toWordCase?

Hi @luanxuechao , this PR looks all good. Can we rename it to toWordCase?

OK, let me update it.

Issue #4 is implemented.


Whenever core/dom/utils/etc packages update the framework packages (i.e. vue/react) should also update

Is your feature request related to a problem? Please describe.
Whenever dom/core (or other related dependencies are updated), the framework packages do not receive the benefit of this updates unless the dependencies are updated as well. The problem that was observed by this was the most recent update from<EMAIL_ADDRESS>=><EMAIL_ADDRESS>the floating elements were no longer positioned correctly. Since it was a "patch" update we thought it was safe to update, but it indeed was not because something changed beyond the scope of a patch release.
Describe the solution you'd like
Any time the dependencies are changed from this project (dom/core/utils/etc), a corresponding framework release package should be released so that incremental updates can be realized and as well correctly SEMVER. In this particular case 1.0.3 should have probably become 1.1.0 or even 2.0.0 since it introduced breaking changes.
Describe alternatives you've considered
Rolled back to the previous version as we're not prepared to investigate why it's broken.

<EMAIL_ADDRESS>did receive all the dependency updates simultaneously though, so if you upgraded to it, all the dependencies also updated.  A potential breakage in the Vue package isn't related to dependencies since they're all backwards-compatible (and abide by ^ semver range, which allows new installs to pick up the latest versions), nor do we break things between patches intentionally.

Rolled back to the previous version as we're not prepared to investigate why it's broken.

If you found something broke when updating, please make a reproduction along with your issue. As it stands,  there's nothing to act on here because the Vue library does have tests for various use cases, but for some reason however you're using it clearly broke.
Here's the PR of the Vue-specific changes if you do end up finding the time to investigate: https://github.com/floating-ui/floating-ui/pull/2697

The problem isn't with the vue update itself, but rather the dependencies (which are all part of this project) has introduced some kind of breakage. The diff between 1.0.2 & 1.0.3 is HUGE, I don't have time to 165 commits or 518 files to figure out what actually broke.
There's a lot more than just "dependency" updates based off the diff.

Yes, many of those are docs and React-package related, which won't affect your usage with the Vue package. The only thing that changed in the Vue package (runtime wise) since v1.0.2 is that PR I linked.
What you're suggesting is that either the core, dom, or utils package update broke something for you instead. You don't need to trawl through 165 commits; you can try isolating the issue based purely on the versions you have. For example, you could try pinning the dependency versions to their previous version you had (and listing them out here from your lockfile) while updating @floating-ui/vue alone. You could try changing the versions of the dependencies incrementally to see which one introduced the issue. If it's broken with the previous pinned dependencies but the latest Vue package, then that PR linked is the sole cause.
We can't magically fix the issue without some help, because we don't see any problems. Keep in mind too, that we haven't had any issues (yet) about positioning from users of other packages which also use the dependencies, which means the Vue package change alone is possibly more likely/suspicious.


Add feature template settings

New settings for the style and structure of annotations. Structuring headlines can be shown or disabled.
Four different templates for notes and highlights from internal or external PDFs.
This addresses the issues #6, #7 and #9.
I already use the new settings, but another beta tester might not hurt.

Dear Florian,
I invited you as collaborator to merge the request and then make a publish of a new version, so others may profit.
thanks
Franz

Dear Franz,
thank you very much!


Custom template provider

Hi,
I've added the possibility to resolve template content from other sources rather than files. I need to keep all templates in the database.

Nice change :+1:

v1.0.7


Save the file in the relation table

Hi,
Thank for the works ! It's great.
I just try to work with this package spatie/media-library.
Do you any idea how to proceed ?
Best regards

Hi, latest version now allows you to customize how you store the data in the database the same way the default Nova file field works: v1.0.0


load pth error

this url : https://matix.li/e36fe9fb086c      ,   502badgateway

Can you tell me for which file you meet the problem, so I can repair it?
Anyway, you can find all shared files here

Broken links are repaired now.


[Documentation] ForgeRock as a KeyManager

Description:
OAuth2 Token Signing Algorithm should be corrected as RSA256
https://apim.docs.wso2.com/en/next/administer/key-managers/configure-forgerock-connector/

Please create the doc issue in [1].
[1] - https://github.com/wso2/docs-apim


[FEATURE]baidu qianfan model support stop、system、maxOutputTokens params

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

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Implemented by https://github.com/langchain4j/langchain4j/pull/1233


Remain Accessibility Compliant

[x] #1145
[x] #1146
[x] #1147
[ ] #1148
[ ] #1149
[x] #1150
[ ] #1151
[ ] #1102

AB#10823

@ElinorW  @adhiambovivian  since we will always have accessibility tickets to look at, should we close this epic?

yap @RabebOthmani


Arrow function in object literal value is highlighted red

Here's a screenshot

Related but different. Slash in closing tag is highlighted red in JSX files.

Maybe the jsx plugin is conflicting here?

@sunjay thanks. I don't use the vim-jsx plugin. Just wondering if I should open an issue for this, if others can duplicate or is this the expected behavior.


Ruby lexer a bit greedy with regexps

(Original issue 476 created by tekkub on 2010-02-11T19:38:32+00:00)
We had a user report this, if you check out this file you'll see pygments grabbing a large chunk of text and highlighting it, when it should only grab a small chunk.  Perhaps it's not using a non-greedy capture somewhere?
http://github.com/kyleburton/base-app/blob/master/lib/base_app.rb#L66-80

(Original issue was assigned to gbrandl)
(Original issue 476 last updated on 2010-02-21T20:34:40+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by gbrandl on 2010-02-21T20:34:40+00:00)
Fixed in [195d79242156]. Thanks!


Enable Pricing Tier for Custom Log Analytics Workspaces

Shouldn't the question "How can I use my existing Log Analytics workspace?" have an additional step regarding enabling the pricing tier in the workspace level?
Additional explanation:
When you're using Default Workspace for MDC, "SecurityCenterFree" and "Security" solutions are deployed automatically in the workspace.

But, when you select an existing/custom workspace in Auto-provisioning settings, the "Security" solution is not deployed in the workspace, only the "SecurityCenterFree" one.

To enable that, you need to apply a pricing tier at the workspace level via the Environment settings > Defender plans.

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

ID: 555dbdac-7f98-ad09-dbe2-8384dc31f004
Version Independent ID: 4cb69e50-7921-b574-7387-fd736930872e
Content: Microsoft Defender for Cloud FAQ - data collection and agents
Content Source: articles/defender-for-cloud/faq-data-collection-agents.yml
GitHub Login: @memildin
Microsoft Alias: memildin

Hello @randomat123
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

#label:"defender-for-cloud"

@azure1123 You are correct and the documentation is in the process of being updated to reflect this.


(doc) choco install update packages.config params

Description Of Changes
some parameters are not documented. taken from https://github.com/chocolatey/choco/blob/develop/src/chocolatey/infrastructure.app/configuration/PackagesConfigFilePackageSetting.cs
Motivation and Context
Users should not have to read code.
Testing

[ ] I have previewed these changes using the Docker Container or another method before submitting this pull request.

Change Types Made

[ ] Minor documentation fix (typos etc.).
[x] Major documentation change (refactoring, reformatting or adding documentation to existing page).
[ ] New documentation page added.
[ ] The change I have made should have a video added, and I have raised an issue for this.

Issue #

Change Checklist

[ ] Requires a change to menu structure (top or left-hand side)/
[ ] Menu structure has been updated

Related Issue
N/A

Can you fix the PR so only the changes show? If you are making whitespace changes, please use a separate commit.

@pauby sure. is this better? (this was automatically applied editor-config)

ping @pauby

@Stunkymonkey this isnt any different. This shows you have removed 559 lines and added 595. See the Files changed tab.
@AdmiringWorm @gep13 could this be down to line endings? What is normally done in this situation to allow the actual changes to be seen?

@AdmiringWorm @gep13 could this be down to line endings? What is normally done in this situation to allow the actual changes to be seen?

It is highly likely due to line endings, yes, and most likely caused by what is set as the core.autocrlf settings for git. (This setting should normally be set to false for our repositories, but can be set to input for this repository).
Normally in this situation, we ask that the one that opened the PR to revert the changes to the line endings (or we make the change in some cases), but it can depend on a couple of things.

If the line endings are changed to be fixed, then that should be a separate commit.
Or if the line endings are incorrect, update the setting I mentioned before, change the line endings again and commit the file in the same commit).

I am not sure what is the case for this PR.

Hey @pauby and @AdmiringWorm
this is related to the line-endings. this is why I separated it into a separate commit (see 0ca6ec9d96bf37da53f31dc7b4fd0f38ec9be3bf), so it is easier for you to review.
I am confused. why is the .editorconfig located in this repo if it is enforce to not use it..?


World Wrapping

Some progress has been made in the Core library, but the wrapping needs to be implemented in Unity so that the user's don't even notice the wrap. We should only need to render 9 maps and pan the camera between the central map and the edges of the other 8 maps surrounding it. No other motion is required other than moving the camera.

The current progress is the following:
• Outposts and Subs now use RftVectors as coordinates. This means that every time you manipulate their position, they will automatically be recalculated to lie within the equivalent point in the range (-width/2, width/2] x (-height/2, height/2].*
• There is a function in subterfuge-unity which, with knowledge of an object's dimensions and viewport area, will return a list of Vector2s where the object should be displayed in Unity World coords. This will only be useful for large objects that are comparable to the size of the viewport.
• All we have left to do is actually figure out how we want to turn that list into actual rendering of the game objects XD (and pirate, but that's another issue)

I'm actually thinking of reworking the maths behind RftVectors a little so that it doesn't care which element of each equivalence class you use to represent that equivalence class. Will update this if I do.


Release 1312 patch 6 with latest security changes

Summary
Release new 1312 release patch that addresses latest high and critical severity security findings.  The patch should include latest published kernel patch. The number should be included in the release note, together with a summary of the vulnerabilities addressed.
Tasks:

[x] @Akendo confirm only kernel needs to be included, but no golang & containerd.
[x] @Akendo Support in creating IAM profile.
[x] @Vincinator build latest 6.1 kernel package
[x] @Vincinator build latest golang and rebuild  containerd, dockerd, runc.
[x] @fwilhe complete stage 1 of the build process.
[ ] @fwilhe complete stage2 of the build process.
[ ] @fwilhe publish the release note including information about the fixes included  (package from - to information + venerability references).
[ ] @pnpavlov inform @MrBatschner that the patch is ready for consumption.

6.1.95 conflicts with intel fpga drivers.
I started the update-dfl.sh script locally

previous step is done, now running prepare-source script to check patch compatibility, or if I need to fix patches.

@Akendo add the list of CVE's so we can compose the changelog.

WE have two vulnerabilities we had to fix affecting golang:

CVE-2024-24789
CVE-2024-24790

Hence, the release fixes these now.

I've checked the rootfs and see that we have to update the Golang packages as well. Since we're affect. Also, we have docker still present that needs to be updated too. Hence, we need to upgrade Golang for 1312 as well.
bin/containerd (gobinary)

Total: 8 (UNKNOWN: 0, LOW: 0, MEDIUM: 6, HIGH: 1, CRITICAL: 1)

┌─────────┬────────────────┬──────────┬────────┬───────────────────┬─────────────────┬──────────────────────────────────────────────────────────────┐
│ Library │ Vulnerability  │ Severity │ Status │ Installed Version │  Fixed Version  │                            Title                             │
├─────────┼────────────────┼──────────┼────────┼───────────────────┼─────────────────┼──────────────────────────────────────────────────────────────┤
│ stdlib  │ CVE-2024-24790 │ CRITICAL │ fixed  │ 1.21.5            │ 1.21.11, 1.22.4 │ golang: net/netip: Unexpected behavior from Is methods for   │
│         │                │          │        │                   │                 │ IPv4-mapped IPv6 addresses                                   │
│         │                │          │        │                   │                 │ https://avd.aquasec.com/nvd/cve-2024-24790                   │
│         ├────────────────┼──────────┤        │                   ├─────────────────┼──────────────────────────────────────────────────────────────┤
│         │ CVE-2023-45288 │ HIGH     │        │                   │ 1.21.9, 1.22.2  │ golang: net/http, x/net/http2: unlimited number of           │
│         │                │          │        │                   │                 │ CONTINUATION frames causes DoS                               │
│         │                │          │        │                   │                 │ https://avd.aquasec.com/nvd/cve-2023-45288                   │
│         ├────────────────┼──────────┤        │                   ├─────────────────┼──────────────────────────────────────────────────────────────┤

Relevant changes:

https://github.com/gardenlinux/glci/pull/85

#2189

We will publish directly patch 7 and skip 6


GPLVM: infer latent X and partial predictions

Implements #286 based on the suggestions in the issue, and also includes partial predictions. Thanks to @nknudde for figuring out math.
All suggestions and remarks welcome.
Some of my own:

We can provide a notebook like the sgpr notes
The inference of X can be pushed up into the GPModel class I think, implementing general inversion of GPs

Wow this looks really great! I'll look at it in more detail soon.

This looks absolutely super.
One suggestion for a test is to use compare the predict_unobserved function with "everyting unobserved" with the plain prediction function.

Thanks for the review! we are creating a notebook now, will add it together with the docstrings.
regarding your test suggestion, predict_unobserved with everything unobserved probably won't work as I don't think it can infer Xmean and Xvar from nothing (perhaps I should add checking on the observed parameter?). I could however compare by calling predict_f/y_uncertain and add a diagonal variance matrix.

Something else we noticed: currently we assume the mean function is zero and don't add anything in build_predict_distribution. For constant mean functions we could add to the mean without issues, but anything higher order is currently troublesome, because we would have to compute the expectations w.r.t the Xmean/Xvar to account for them. These expectations do not seem to be available currently.
Should we for now assert the mean function to be constant?

Personally I dislike mean functions anyway. Adding a linear covariance function gives you a linear component and gives you Bayesian inference in it for free, hence why we put a lot of effort into getting the kernel expectations for the Linear+RBF kernel.
So I would say that it's fair to assert a zero mean function for now.

Asserts added. In addition, the workaround of data normalization presented #301 makes the idea of having a mean function in GP-LVM a bit awkward, at least with respect to unit variance?
Any further comments?

@javdrher, apologies for the delay in fixing this. We discussed how to move this forward, so we can close this for now. If not, feel free to re-open!

This seems to have just died, is there any interest in picking it up again? I'm looking for a GPR implementation, which I presume would be much simpler? Cheers


nfsstat: incorrectly reporting an integration problem on systems with no NFS mounts

Currently the NFS integration reports the absence of any NFS mounts as an integration problem. In environments which use the automounter, old mounts are often automatically unmounted.
Reporting zero mounts as a problem should be configurable.

Hi @ebusto,
Just to clarify, are you referring to this log line: "No NFS mount points were found"?
https://github.com/DataDog/integrations-core/blob/c67d2041cb2cb9375ca3381b818468e29a8b546a/nfsstat/datadog_checks/nfsstat/nfsstat.py#L41-L43

Hello @ChristineTChen,
Correct, that's the problematic line. Our environment uses autofs extensively.

@ebusto,
So if AutoFS is enabled and there are no mounts currently, would you be expecting the integration to return 0 for the metrics here? How would those values be tagged?

In the case of no mounts, I would expect no metrics to be submitted at all.


[NavigationRail] App throws _debugDuringDeviceUpdate  when quickly switching between NavigationRail Items, app freezes after several tries

My macOS app, and Chrome app, keep crashing after some arbitrary amount of time.  The iOS app does not.
I've tracked it down (after much guess work) to a very simple use of NavigationRail, coupled with some fast clicking.
This app has a rail with two elements.  If I move my mouse between the two elements, clicking as I go, and sometimes move my mouse outside the window and back again, then about 40 clicks later, everything freezes
completely.  All mouse movements and clicks cause further exceptions.
I always get a 'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not true. exception.
While the below shows the error in the current beta channel, it also happens on stable channel with Dart 2.13.3 & Flutter 2.2.2.
In my app, i don't have to click around very fast to do this.  It just happens after some arbitrary amount of time while clicking quite normally.
Steps to Reproduce

Check out https://github.com/jonmountjoy/bugmoose
flutter run -d macos --verbose
Click quickly, between the two options, moving mouse between them, and sometimes moving mouse outside the target areas of each button.

Logs
[ +541 ms] The Flutter DevTools debugger and profiler on macOS is available at:
                    http://<IP_ADDRESS>:9102?uri=http%3A%2F%2F<IP_ADDRESS>%3A52068%2FIOSmvO2LbLk%3D%2F
[+19505 ms] flutter: MyScaffold: Build
[ +615 ms] flutter: MyScaffold: Build
[ +383 ms] flutter: MyScaffold: Build
[ +416 ms] flutter: MyScaffold: Build
[ +466 ms] flutter: MyScaffold: Build
[ +834 ms] flutter: MyScaffold: Build
[ +500 ms] flutter: MyScaffold: Build
[ +388 ms] flutter: MyScaffold: Build
[ +944 ms] flutter: MyScaffold: Build
[ +266 ms] flutter: MyScaffold: Build
[ +401 ms] flutter: MyScaffold: Build
[ +315 ms] flutter: MyScaffold: Build
[ +452 ms] flutter: MyScaffold: Build
[ +613 ms] flutter: MyScaffold: Build
[+1268 ms] flutter: MyScaffold: Build
[  +77 ms]
           Another exception was thrown: 'package:flutter/src/painting/text_painter.dart': Failed assertion: line 899 pos 12:
           '!_needsLayout': is not true.
[  +12 ms]
           Another exception was thrown: 'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos
12:
           '!_debugDuringDeviceUpdate': is not true.
[  +21 ms]
           Another exception was thrown: 'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos
12:
           '!_debugDuringDeviceUpdate': is not true.
[  +12 ms]
           Another exception was thrown: 'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos
12:
           '!_debugDuringDeviceUpdate': is not true.
[  +15 ms] [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not
true.
[   +1 ms] #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
[        ] #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
[        ] #2      MouseTracker._deviceUpdatePhase (package:flutter/src/rendering/mouse_tracker.dart:201:12)
[        ] #3      MouseTracker.updateWithEvent.<anonymous closure> (package:flutter/src/rendering/mouse_tracker.dart:309:7)
[        ] #4      MouseTracker._monitorMouseConnection (package:flutter/src/rendering/mouse_tracker.dart:190:9)
[        ] #5      MouseTracker.updateWithEvent (package:flutter/src/rendering/mouse_tracker.dart:308:5)
[        ] #6      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:285:22)
[        ] #7      GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
[   +2 ms] #8      GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
[        ] #9      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
[        ] #10     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
[        ] #11     _rootRunUnary (dart:async/zone.dart:1444:13)
[        ] #12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
[        ] #13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
[        ] #14     _invoke1 (dart:ui/hooks.dart:182:10)
[        ] #15     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
[        ] #16     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
[   +5 ms] [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not
true.
[        ] #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
[        ] #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
[        ] #2      MouseTracker._deviceUpdatePhase (package:flutter/src/rendering/mouse_tracker.dart:201:12)
[        ] #3      MouseTracker.updateWithEvent.<anonymous closure> (package:flutter/src/rendering/mouse_tracker.dart:309:7)
[        ] #4      MouseTracker._monitorMouseConnection (package:flutter/src/rendering/mouse_tracker.dart:190:9)
[        ] #5      MouseTracker.updateWithEvent (package:flutter/src/rendering/mouse_tracker.dart:308:5)
[        ] #6      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:285:22)
[        ] #7      GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
[        ] #8      GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
[        ] #9      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
[        ] #10     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
[        ] #11     _rootRunUnary (dart:async/zone.dart:1444:13)
[        ] #12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
[        ] #13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
[        ] #14     _invoke1 (dart:ui/hooks.dart:182:10)
[        ] #15     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
[        ] #16     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
[        ]
           Another exception was thrown: 'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos
12:
           '!_debugDuringDeviceUpdate': is not true.
[        ] [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not
true.
[        ] #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
[        ] #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
[        ] #2      MouseTracker._deviceUpdatePhase (package:flutter/src/rendering/mouse_tracker.dart:201:12)
[        ] #3      MouseTracker.updateWithEvent.<anonymous closure> (package:flutter/src/rendering/mouse_tracker.dart:309:7)
[        ] #4      MouseTracker._monitorMouseConnection (package:flutter/src/rendering/mouse_tracker.dart:190:9)
[        ] #5      MouseTracker.updateWithEvent (package:flutter/src/rendering/mouse_tracker.dart:308:5)
[        ] #6      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:285:22)
[        ] #7      GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
[        ] #8      GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
[        ] #9      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
[        ] #10     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
[        ] #11     _rootRunUnary (dart:async/zone.dart:1444:13)
[        ] #12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
[        ] #13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
[        ] #14     _invoke1 (dart:ui/hooks.dart:182:10)
[        ] #15     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
[        ] #16     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
[        ] [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not
true.
[   +1 ms] #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
[        ] #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
[        ] #2      MouseTracker._deviceUpdatePhase (package:flutter/src/rendering/mouse_tracker.dart:201:12)
[        ] #3      MouseTracker.updateWithEvent.<anonymous closure> (package:flutter/src/rendering/mouse_tracker.dart:309:7)
[        ] #4      MouseTracker._monitorMouseConnection (package:flutter/src/rendering/mouse_tracker.dart:190:9)
[        ] #5      MouseTracker.updateWithEvent (package:flutter/src/rendering/mouse_tracker.dart:308:5)
[        ] #6      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:285:22)
[        ] #7      GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
[        ] #8      GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
[        ] #9      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
[        ] #10     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
[        ] #11     _rootRunUnary (dart:async/zone.dart:1444:13)
[        ] #12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
[        ] #13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
[        ] #14     _invoke1 (dart:ui/hooks.dart:182:10)
[        ] #15     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
[        ] #16     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
[   +2 ms] [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not
true.
[        ] #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
[        ] #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
[        ] #2      MouseTracker._deviceUpdatePhase (package:flutter/src/rendering/mouse_tracker.dart:201:12)
[        ] #3      MouseTracker.updateWithEvent.<anonymous closure> (package:flutter/src/rendering/mouse_tracker.dart:309:7)
[        ] #4      MouseTracker._monitorMouseConnection (package:flutter/src/rendering/mouse_tracker.dart:190:9)
[        ] #5      MouseTracker.updateWithEvent (package:flutter/src/rendering/mouse_tracker.dart:308:5)
[        ] #6      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:285:22)
[        ] #7      GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
[        ] #8      GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
[        ] #9      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
[        ] #10     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
[        ] #11     _rootRunUnary (dart:async/zone.dart:1444:13)
[        ] #12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
[        ] #13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
[        ] #14     _invoke1 (dart:ui/hooks.dart:182:10)
[        ] #15     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
[        ] #16     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
[   +8 ms] [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not
true.
[        ] #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
[   +1 ms] #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
[        ] #2      MouseTracker._deviceUpdatePhase (package:flutter/src/rendering/mouse_tracker.dart:201:12)
[        ] #3      MouseTracker.updateWithEvent.<anonymous closure> (package:flutter/src/rendering/mouse_tracker.dart:309:7)
[   +1 ms] #4      MouseTracker._monitorMouseConnection (package:flutter/src/rendering/mouse_tracker.dart:190:9)
[        ] #5      MouseTracker.updateWithEvent (package:flutter/src/rendering/mouse_tracker.dart:308:5)
[        ] #6      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:285:22)
[        ] #7      GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
[        ] #8      GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
[        ] #9      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
[        ] #10     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
[        ] #11     _rootRunUnary (dart:async/zone.dart:1444:13)
[        ] #12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
[        ] #13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
[        ] #14     _invoke1 (dart:ui/hooks.dart:182:10)
[        ] #15     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
[        ] #16     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
[   +1 ms]
           Another exception was thrown: 'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos
12:
           '!_debugDuringDeviceUpdate': is not true.
[        ] [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not
true.
[        ] #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
[        ] #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
[        ] #2      MouseTracker._deviceUpdatePhase (package:flutter/src/rendering/mouse_tracker.dart:201:12)
[        ] #3      MouseTracker.updateWithEvent.<anonymous closure> (package:flutter/src/rendering/mouse_tracker.dart:309:7)
[        ] #4      MouseTracker._monitorMouseConnection (package:flutter/src/rendering/mouse_tracker.dart:190:9)
[        ] #5      MouseTracker.updateWithEvent (package:flutter/src/rendering/mouse_tracker.dart:308:5)
[        ] #6      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:285:22)
[        ] #7      GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
[        ] #8      GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
[        ] #9      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
[        ] #10     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
[        ] #11     _rootRunUnary (dart:async/zone.dart:1444:13)
[        ] #12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
[        ] #13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
[        ] #14     _invoke1 (dart:ui/hooks.dart:182:10)
[        ] #15     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
[        ] #16     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
[  +18 ms]
           Another exception was thrown: 'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos
12:
           '!_debugDuringDeviceUpdate': is not true.
[   +3 ms] [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not
true.
[        ] #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
[        ] #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
[        ] #2      MouseTracker._deviceUpdatePhase (package:flutter/src/rendering/mouse_tracker.dart:201:12)
[        ] #3      MouseTracker.updateWithEvent.<anonymous closure> (package:flutter/src/rendering/mouse_tracker.dart:309:7)
[        ] #4      MouseTracker._monitorMouseConnection (package:flutter/src/rendering/mouse_tracker.dart:190:9)
[        ] #5      MouseTracker.updateWithEvent (package:flutter/src/rendering/mouse_tracker.dart:308:5)
[        ] #6      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:285:22)
[        ] #7      GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
[        ] #8      GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
[        ] #9      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
[        ] #10     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
[        ] #11     _rootRunUnary (dart:async/zone.dart:1444:13)
[        ] #12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
[        ] #13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
[        ] #14     _invoke1 (dart:ui/hooks.dart:182:10)
[        ] #15     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
[        ] #16     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
[        ] [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not
true.
[   +3 ms] #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
[        ] #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
[        ] #2      MouseTracker._deviceUpdatePhase (package:flutter/src/rendering/mouse_tracker.dart:201:12)
[        ] #3      MouseTracker.updateWithEvent.<anonymous closure> (package:flutter/src/rendering/mouse_tracker.dart:309:7)
[        ] #4      MouseTracker._monitorMouseConnection (package:flutter/src/rendering/mouse_tracker.dart:190:9)
[        ] #5      MouseTracker.updateWithEvent (package:flutter/src/rendering/mouse_tracker.dart:308:5)
[        ] #6      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:285:22)
[        ] #7      GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
[        ] #8      GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
[        ] #9      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
[        ] #10     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
[        ] #11     _rootRunUnary (dart:async/zone.dart:1444:13)
[        ] #12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
[        ] #13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
[        ] #14     _invoke1 (dart:ui/hooks.dart:182:10)
[        ] #15     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
[        ] #16     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
[        ] [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not
true.
[   +1 ms] #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
[        ] #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
[        ] #2      MouseTracker._deviceUpdatePhase (package:flutter/src/rendering/mouse_tracker.dart:201:12)
[        ] #3      MouseTracker.updateWithEvent.<anonymous closure> (package:flutter/src/rendering/mouse_tracker.dart:309:7)
[        ] #4      MouseTracker._monitorMouseConnection (package:flutter/src/rendering/mouse_tracker.dart:190:9)
[        ] #5      MouseTracker.updateWithEvent (package:flutter/src/rendering/mouse_tracker.dart:308:5)
[        ] #6      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:285:22)
[        ] #7      GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
[        ] #8      GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
[        ] #9      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
[        ] #10     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
[        ] #11     _rootRunUnary (dart:async/zone.dart:1444:13)
[        ] #12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
[        ] #13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
[        ] #14     _invoke1 (dart:ui/hooks.dart:182:10)
[        ] #15     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
[        ] #16     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
[        ] [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not
true.
[        ] #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
[        ] #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
[        ] #2      MouseTracker._deviceUpdatePhase (package:flutter/src/rendering/mouse_tracker.dart:201:12)
[        ] #3      MouseTracker.updateWithEvent.<anonymous closure> (package:flutter/src/rendering/mouse_tracker.dart:309:7)
[        ] #4      MouseTracker._monitorMouseConnection (package:flutter/src/rendering/mouse_tracker.dart:190:9)
[        ] #5      MouseTracker.updateWithEvent (package:flutter/src/rendering/mouse_tracker.dart:308:5)
[        ] #6      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:285:22)
[        ] #7      GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
[        ] #8      GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
[        ] #9      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
[        ] #10     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
[        ] #11     _rootRunUnary (dart:async/zone.dart:1444:13)
[        ] #12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
[        ] #13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
[        ] #14     _invoke1 (dart:ui/hooks.dart:182:10)
[        ] #15     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:282:7)
[        ] #16     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
[        ] [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception:
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not
true.

The same error repeats hundreds of times

Analyzing bugmoose...

   info • Name source files using `lowercase_with_underscores` • lib/MyScaffold.dart:1:1 • file_names
   info • Prefer declaring const constructors on `@immutable` classes • lib/MyScaffold.dart:11:3 •
          prefer_const_constructors_in_immutables
   info • The value of the field 'iconLearn' isn't used • lib/MyScaffold.dart:19:16 • unused_field
   info • Prefer const with constant constructors • lib/MyScaffold.dart:19:28 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/MyScaffold.dart:28:14 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/MyScaffold.dart:29:31 • prefer_const_constructors
   info • Avoid `print` calls in production code • lib/MyScaffold.dart:51:5 • avoid_print
   info • Avoid unnecessary containers • lib/MyScaffold.dart:58:17 • avoid_unnecessary_containers
   info • Prefer const with constant constructors • lib/MyScaffold.dart:76:31 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/MyScaffold.dart:78:31 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/MyScaffold.dart:79:32 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/MyScaffold.dart:81:26 • prefer_const_constructors
   info • Prefer declaring const constructors on `@immutable` classes • lib/MyScaffold.dart:129:3 •
          prefer_const_constructors_in_immutables
   info • Avoid unnecessary containers • lib/MyScaffold.dart:138:12 • avoid_unnecessary_containers

The bug happens on Flutter 2.2.2.  It also happens on 2.3.0 beta, as you can see below.

bugmoose(master) ✗: flutter doctor -v
[✓] Flutter (Channel beta, 2.3.0-24.1.pre, on macOS 11.3 20E232 darwin-x64, locale en-GB)
    • Flutter version 2.3.0-24.1.pre at /Users/jonmountjoy/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 615957513e (27 hours ago), 2021-06-25 09:24:44 -0700
    • Engine revision 9d517f475b
    • Dart version 2.14.0 (build 2.14.0-188.5.beta)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.23.0

[✓] Connected device (3 available)

Thank you @TahaTesser ! I'm so glad you found that useful and can reproduce - it disables my apps completely.

cc @dkwingsmt


Leaderboard: final touches

In this milestone I implement the following:

Improve the look and feel of the application by adding styles.

Use plain CSS.

Thank you, @TuyishimireEric for the review and approval.


[stable/cluster-autoscaler] add support for configmap for containers environment variables

What this PR does / why we need it:
Which issue this PR fixes

fixes #16039

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

@yurrriq Please re-review, thanks :)

/ok-to-test

Thanks, @ajohnstone!


A runtime for Coding wechat MiniProgram in strong type.

I have an idea for improve  the code experience by using the Typescript way.(inspired from Angular)
I created a runtime for adapter between wechat configuration object  and the class.
It just an experiment , and it indeed work.
https://github.com/John0King/typed-we-app/blob/typescript-runtime/runtimeSample/pages/index/index.ts

Thank you for this issue 👍
I'll take a look about that 😄

How do you think about this ?
The Component part still need more things to work, but should not be so hard.
Do you want me to send a PR to your repo ?

👍
I think you should create another repo for it with a name like we-app-runtime or something instead of putting codes into this repo cause this one is focused on the declaration


Mocha-webpack + eslint

I trying to use mocha-webpack + eslint to lint my test.
My webpack config file. I use sslint loader with enforce: "pre" option because i want to run linting before tests. Also i use NoEmitOnErrorsPlugin to dont run test if any lint error occur.
const webpack = require('webpack');
const NODE_ENV = process.env.NODE_ENV || 'production';
const DEVELOPMENT = NODE_ENV === "development";

module.exports = {
  target: 'node',
  bail: true,
  watch: DEVELOPMENT,
  plugins: [
    new webpack.NoEmitOnErrorsPlugin(),
  ],
  module: {
    rules: [
      {
        test: /\.(js)$/,
        loader: "eslint-loader",
        include: /test/,
        enforce: "pre",
        options: {
          formatter: require("eslint-friendly-formatter"),
          cache: DEVELOPMENT
        }
      },
      {
        test: /\.js$/,
        loader: "babel-loader",
        include: /test/,
      }
    ],
    noParse: /.*(\\|\/)dist(\\|\/).*/
  }
};

When i run my bad-code-styled tests i see all linter warnings but testing still proceed and i see shows its result in console.
So is there way to use eslint before testing with mocha-webpack?

I do not recommend the eslint + webpack technic because I usually do this "workflow" :

save my file a first time
see that I forgot something and I add it
save again

==> My IDE ask me why the file on the disk, linted my eslint in a background task, have been edited.since the last edition.

When i run my bad-code-styled tests i see all linter warnings but testing still proceed and i see shows its result in console.
So is there way to use eslint before testing with mocha-webpack?

eslint-loader needs to emit errors instead of warnings to keep mocha-webpack from testing. see https://github.com/MoOx/eslint-loader#emiterror-default-false


Fix docs interlinking

#583  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mkandler and the rest of your teammates on  Graphite