iOS8.0, 9.0 is OK, but progress block not called at all，iOS7.0

iOS8.0, 9.0 is OK, but progress block not called at all，iOS7.0
AFURLSessionManager *manager = [EHDownloadNetwork sharedInstance].manager;
downloadTask.task = [manager downloadTaskWithRequest:request
          progress:^(NSProgress * _Nonnull downloadProgress) {
              if (progressBlock) {
                  dispatch_async(dispatch_get_main_queue(), ^{
                      progressBlock(downloadProgress.fractionCompleted);
                  });
              }

Can you provide more information about the response the server is sending? AFNetworking hooks into the NSURLSession progress update properties, which rely on a response to properly format the expected amount of bytes to be returned by the response.

It looks like you have chimed in on #3270, so we'll direct comments there.
:beers:


Cannot use #r in embedded csharp kernel

Describe the bug
Create a .NET 5 console app
add Microsoft.DotNet.Interactive.CSharp 1.0.0-beta.21108.3
add nuget support unsing the UseNuget
submit a #r instruction and exceptions is raised that reports about missing FSharp.Compiler.Service
Microsoft.DotNet.Interactive.CSharp should have dependency on FSharp.Compiler.Service for this to work for PackageManagement
Please complete the following:
1.0.0-beta.21108.3

OS

[X] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[ ] Chrome
[ ] Edge
[ ] Firefox
[ ] Safari

Frontend

[ ] Jupyter Notebook
[ ] Jupyter Lab
[ ] nteract
[ ] Visual Studio Code
[X] Other (please specify) custom application

@marcoparenzan

Why should it dependent on FSharo compiler?

The package management implementation is written in F#.

Even if so... it should be a .net assembly, not relying on the compiler, shouldn't it?

Also, why is it marked with Impact-Low? Sounds cruicial

Also, it doesn't reproduce for me on the latest main:
using var kernel = new CSharpKernel().UseNugetDirective();
var rInstruction = new SubmitCode("#r \"nuget:Newtonsoft.Json,13.0.1\"");

var result = await kernel.SendAsync(rInstruction);
result.KernelEvents.Subscribe(eventSub => eventSub.Should().NotBeOfType<CommandFailed>());

result = await kernel.SendAsync(new SubmitCode("1 + 1"));
result.KernelEvents.Subscribe(eventSub => eventSub.Should().NotBeOfType<CommandFailed>());

If I did everything correctly, of course

Also, why is it marked with Impact-Low? Sounds crucial

Embedding a C# kernel is still a bit of a niche scenario. This doesn't happen in the typical notebook configuration, i.e. the dotnet-interactive tool. It happens if you reference Microsoft.DotNet.Interactive.CSharp in your own app and enable loading NuGet packages.
You can see this scenario in use in this sample: https://github.com/dotnet/interactive/tree/main/samples/connect-wpf

Even if so... it should be a .net assembly, not relying on the compiler, shouldn't it?

Fair question. Eventually, this might be the case and would be a little cleaner. I should have clarified that the reason that the package management functionality is written in F# is that it's using F# scripting, which is in FSharp.Compiler.Service.

You can see this scenario in use in this sample:

Thanks, I wrote a sample which uses an embedded kernel for the repo 😄 . But okay, agreed that for now it's not urgent (although there're already apps using it!).

that the package management functionality is written in F# is that it's using F# scripting, which is in FSharp.Compiler.Service.

Okay, but then why is it using F# scripting? I guess I better dig into it myself though, it might be unclear without looking at the code

Thanks, I wrote a sample which uses an embedded kernel for the repo

I know, but the extra context is hopefully useful for others reading this.

Okay, but then why is it using F# scripting? I guess I better dig into it myself though, it might be unclear without looking at the code

It was tactical. We were already using F#, so why write another package manager? But we might well make this cleaner in the future.

I'm seeing this issue with the connect-wpf sample. I was trying to reference a package from nuget, but it basically causes a hang if its talking to the remote WPF kernel even with the latest dotnet interactive package version that the connect-wpf sample is talking to now.
Any idea what might be up? Wanted to mess around with this, but I'm not even sure if there is an exception being thrown.... Tried debugging it and breaking on all exceptions.

I'm seeing this issue with the connect-wpf sample. I was trying to reference a package from nuget, but it basically causes a hang if its talking to the remote WPF kernel even with the latest dotnet interactive package version that the connect-wpf sample is talking to now.
Any idea what might be up? Wanted to mess around with this, but I'm not even sure if there is an exception being thrown.... Tried debugging it and breaking on all exceptions.

Can you share notebook you are using to reproduce the issue?
Thank you

@colombod I was just using the notebook in this sample: https://github.com/dotnet/interactive/tree/main/samples/connect-wpf
And then tried to reference this nuget package:
#r "nuget: Infragistics.WPF.Charts.Trial, 21.1.37"

in the wpf context, e.g:
#!wpf
#!dispatcher
#r "nuget: Infragistics.WPF.Charts.Trial, 21.1.37"

var item = new Infragistics.Controls.Charts.XamDataChart();

now, its possible I messed something up, because I removed the package sources config from the nuget.config so that I was talking to public nuget, since it seemed all the required packages where there, and I needed to talk to public nuget for that package, but is the nuget.config required for this scenario? I also tried other nuget packages also with the same results.

in case I wasn't clear, I mean I yanked the packages sources:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <solution>
    <add key="disableSourceControlIntegration" value="true" />
  </solution>
  <!-- <packageSources>
    <clear />
    <add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
    <add key="dotnet5" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" />
    <add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
  </packageSources> -->
</configuration>

I am seeing the same issue. need to investigate


gnome3.gnome-nibbles: 3.34.1 -> 3.34.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gnome-nibbles/versions.
meta.description for gnome3.gnome-nibbles is: '"Guide a worm around a maze"'.
meta.homepage for gnome3.gnome-nibbles is: '"https://wiki.gnome.org/Apps/Nibbles"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

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

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

found 3.34.2 with grep in /nix/store/4asqa5raicawgykyzsiyym74018sxq8w-gnome-nibbles-3.34.2

directory tree listing: https://gist.github.com/dea5aa1366a9c84156b353dff563747c

du listing: https://gist.github.com/15c5babb641b0cc494c68b23c8dcce35

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

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
gnome3.gnome-nibbles

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4asqa5raicawgykyzsiyym74018sxq8w-gnome-nibbles-3.34.2 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A gnome3.gnome-nibbles https://github.com/r-ryantm/nixpkgs/archive/3b15031e517113f6a6d6b4ad0fc939c3534b864f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4asqa5raicawgykyzsiyym74018sxq8w-gnome-nibbles-3.34.2
ls -la /nix/store/4asqa5raicawgykyzsiyym74018sxq8w-gnome-nibbles-3.34.2/bin

cc @lethalman @jtojnar @hedning @worldofpeace for testing.

Runs without problems.


Where have demo's resource code?

Where have demo's resource code?
dosc is to long ...

You can find basic implementation in stories. Demo is placed here


Add skip latest tag check option

When you just want to quickly check if the latest version of this docker image is valid, it should be able to skip the latest tag check in some use cases.
it probably goes something like this :)
dockle hoge/fuga:latest --ignore-latest

You can use .dockleignore.
https://github.com/goodwithtech/dockle#ignore-the-specified-checkpoints
How about it?

I would like to have that option feature too.
Yes, .dockleignore would be an option. But in my case, most of my images on Docker Hub, I tag them when it becomes kinda stable, and latest is the latest merge since I use an automated build of Docker Cloud.
So ignore-option would be useful for quick check rather than placing .dockleignore on and off for every check.

Using dockle for a couple of days and thinking twice, I feel that I won't need this ignore-option feature. Sorry for flipping my opinion.
Since the results fulfill what I need to do, as a quick check, and using .dockleignore can be ignored the checks as a specification.

@inductor Oh, sorry. I will give options --ignore CODE, but please wait a while.

@inductor Dockle supports --ignore, -i option.
You can ignore latest tag to dockle -i DKL-DI-0006 [IMAGE].
Please run v0.1.2.


Properly handle route destination protocol

Is there a related GitHub Issue?
#330
What is this change about?
This PR properly handles route destination protocol

move defaulting of the protocol value from the presenter to the
message
allow the client to specify a destination protocol
clean up confusing test values (http vs http1)
remove label from sample CFDomain resource

Does this PR introduce a breaking change?
No
Acceptance Steps
See #330
Tag your pair, your PM, and/or team
@acosta11

Note this was merged a bit prematurely; We plan to fast follow with an update to the Route CRD to include the field as well instead of handling everything in the presenter. That change should address Tim's comment.

See #341 for the fast-follow PR.


Add support for pseudo elements

Resolves #99
If I get it right:
::before and ::after is the same as :before and :after (aliases)

Rebased, ready for review

This maybe seems like one of those cases where we can have an exhaustive enumeration of Pseudo values?

Good point! I'll update the PR

I don't know if we really need that IsString Refinement instance, so I'll make another commit that removes it and also removes these Raw String data constructors.

Hi @vyorkin, apologies that this was never merged in. As you might know, I did inherit maintainership of this library about a year ago; but, to be frank, I found that it needs so much work (so many incompatible design changes) to be practically useful that a better use of my time and effort was just to start over from scratch: See Tecton. Assuming you're still interested in statically-typed CSS, I think you'll find that library to be much more feature-complete than this one (including pseudo-elements); but contributions are also welcome in case you find anything you need to be missing.


Substitution of the device name

Good days.
I saw here the topic of how to change the operating system.
Is it possible to change the name of the device somehow?
For example, "Xiaomi Redmi Go"

Going to assume this is a question about using proxy. You need to find correct packet (I believe the login one) and modify the fields. Moving to discussion as not an issue with library


apt-get remove fails due to "FileNotFoundError: [Errno 2] No such file or directory: 'pip3': 'pip3'" when pip3 is installed

sudo apt-get remove howdy fails due to
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fswebcam libpam-python streamer xawtv-plugins
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  howdy
0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
After this operation, 151 kB disk space will be freed.
Do you want to continue? [J/n] j
(Reading database ... 867643 files and directories currently installed.)
Removing howdy (2.5.1) ...
Can't remove executable
Traceback (most recent call last):
  File "/var/lib/dpkg/info/howdy.prerm", line 45, in <module>
    subprocess.call(['pip3', 'uninstall', 'dlib', '-y', '--no-cache-dir'])
  File "/usr/lib/python3.7/subprocess.py", line 323, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pip3': 'pip3'
dpkg: error processing package howdy (--remove):
 installed howdy package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 howdy
libdvd-pkg: Package libdvdcss2-1.4.2-1 was removed, stop processing...
E: Sub-process /usr/bin/dpkg returned an error code (1)

whereas stat $(which pip3) shows that pip3 is installed and executable:
  File: /usr/local/bin/pip3
  Size: 215       	Blocks: 8          IO Block: 4096   regular file
Device: 802h/2050d	Inode: 1003045     Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2019-05-09 19:59:40.259943550 +0200
Modify: 2019-05-09 19:59:40.255943455 +0200
Change: 2019-05-09 19:59:40.255943455 +0200
 Birth: -

It's however not located in /usr/bin/, but in an equally realistic location.

I've searched for similar issues already, and my issue has not been reported yet. (/)
Linux distribution (if applicable): Ubuntu 19.04
Howdy version: 2.5.1 from ppa:boltgolt/howdy

I just realized that python3-pip which provides a /usr/bin/pip3 (and is probably a dependency of howdy) was installed, however /usr/bin/pip3 deleted.

My pip3 is in /usr/local/bin.So I try ln -s /usr/local/bin/pip3 /usr/bin/pip3.This problem is solved.Perfect!


ASP.NET Core 2.1 support

The instructions on this page are like 99% good enough for ASP.NET Core 2.1 except for one part.
This code doesn't work for 2.1:
app.UseEndpoints(endpoints =>
{
	endpoints.MapHub<ChatHub>("/chatHub");
});

This is what is required instead:
app.UseSignalR(route =>
{
    route.MapHub<ChatHub>("/chathub");
});

Got that from here: https://docs.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-2.1
Basically what I am getting at is there should be 2.1 support for SignalR as well. I was able to get this example to work with 2.1, I am not ready to move to 3.0 yet.

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

ID: 0dd2991d-c22d-ad0f-80b6-bd1b503db8f3
Version Independent ID: 5e3fbe1d-c97f-9940-4f0c-067d4b2112b1
Content: Get started with ASP.NET Core SignalR
Content Source: aspnetcore/tutorials/signalr.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @bradygaster
Microsoft Alias: bradyg

The docs are versioned so you can see what different versions of the libraries might do. As you point out, the aspnetcore-2.1 docs work for you as expected. In 3.0 we're moving to Endpoint Routing so that's what the docs show.

Thanks for contacting us. We believe that the question you've raised have been answered. If you still feel a need to continue the discussion, feel free to reopen it and add your comments.

@BrennanConroy that's my point, when you select 2.1 in the top left, the code does not change, it stays on 3.0 like that's been around all along. I just think it would be fair that if you change the target version the code should reflect that target version like the docs already do in other parts of the site.

@dyslexicanaboko  you're right. PR #14812 removed the previous version. We'll get that restored ASAP.

@dyslexicanaboko  thanks for bringing this to our attention and being persistent. The 2.x version should be live in 5 minutes.

Thank you for listening, I appreciate it.


Allow only one COE at a time per student for institution users.

Describe the task
Only one active COE can be available for approval/denial at a time per student for institution users.
COEs are active for institution users from 21 days before the disbursement date until the study end date (inclusive).
In other words, a COE (Let's label it 1) can be within it's active period, but if there is an active COE (Let's label this 0) preceding it that is still pending approval, then the institution must approve or deny  COE 0, before COE 1 will be available for them to approve/deny.
HOW DO WE HANDLE THIS IN ECE FILE?
Additional context

NOTE: For Ministry Users, COEs are active and available at any time.
Waiting for discussion with business about placement of Overawards and restrictions to assessment step instead of ecert generation step.

Acceptance Criteria

[ ] Allow only one active COE to be available for approval/denial at a time per student for institution users.
[ ] REQUIREMENT PLACEHOLDER FOR ECE FILE CHANGE
[ ] third

This was created as a way to manage the "accuracy" of the predicted disbursement values due to the nature of overawards, remittance, restrictions not being applied until the time of ECERT creation.  The business is now accepting the unstable nature of those values until ECERT creation and therefore we do not need this anymore.


Error found when using the writeData method to continuously send data in systems iOS11

This error causes The long connection to break and returns an error message: The client frame set The reserved bits to [7] for a message with opCode [6] which was not supported by this endpoint, count:1002
Does anyone have this problem? How should I solve this problem? Thank you for your help

I have similar problem connecting to AWS API Gateway after the deploy. The exact error is: (1002) data frame using reserved opcode 7.


Update NpgsqlLockManager.cs

fix invalid PG SQL query for getting active locks

Thanks a lot, for Sqlite it already seems to be correct.


Update README.md with new twitter logo

Updated Read Me with the new updated logo of twitter.

Also, while you are at it, can you also go thru the readme.md and replace the word "twitter" with "X (twitter)" everywhere in that file?

Also, while you are at it, can you also go thru the readme.md and replace the word "Twitter" with "X (Twitter)" everywhere in that file?

Yeah, sure!
I have made the required changes.

Also, while you are at it, can you also go thru the readme.md and replace the word "Twitter" with "X (Twitter)" everywhere in that file?

Yeah, sure!
I have made the required changes.

Let's set it as upper case (Twitter) instead of (twitter).  I made a couple of comments in-line as well.

Let's set it as upper case (Twitter) instead of (twitter). I made a couple of comments in-line as well.

Replaced twitter with Twitter.
I couldn't find any in-line comments that mention the word 'twitter'. If you're referring to the API routes or links like this one https://apps.twitter.com, I haven't changed them as it would affect functionality."

Look at the PR in github, I commented the PR

Hey, thanks for your time, but I didn't quite understand what you're talking about. It would be great if you could elaborate a bit, if possible. 😅

@aslezar

@aslezar

Thanks for the help!
I have made the requested changes.

The logo completely disappears in dark mode

I have updated it with the jpg image, it will render now correctly in dark mode.

Thank you!


chore(main): release megaparse 0.0.35

:robot: I have created a release beep boop
0.0.35 (2024-11-07)
Bug Fixes

unnecessary dep and readme (#107) (b80aaa3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/QuivrHQ/MegaParse/releases/tag/megaparse-v0.0.35 :sunflower:


Draft an email with latest and upcoming changes for subscribers

Acceptance

[x] draft of an email with the latest and upcoming changes 06-10-22 https://hackmd.io/fbM5Mg0IRaKzzDCl5kULNw?both
[x] email sent to subscribers

Notes
V.1

@rufuspollock The email draft is ready. I have used stripo template builder to make it look nice and sent it to you in a test email on Oct 7th ([test]🌷 Flowershow has new features!). Let me know if it looks good to you.

Oh, I will also add a link to our brand new Discord server and maybe even list it in "What's new"!

Looks good, let's send today (maybe check if we can track (anonymous) opens somehow). Can just bcc the user list and send from your lifeitself account!

For future reference: https://support.google.com/mail/answer/81126?hl=en

Email sent on 12.10.2022


[SPARK-24666][ML] Fix infinity vectors produced by Word2Vec when numIterations are large

What changes were proposed in this pull request?

This patch adds normalization to word vectors when fitting dataset in Word2Vec.
Why are the changes needed?

Running Word2Vec on some datasets, when numIterations is large, can produce infinity word vectors.
Does this PR introduce any user-facing change?

Yes. After this patch, Word2Vec won't produce infinity word vectors.
How was this patch tested?

Manually. This issue is not always reproducible on any dataset. The dataset known to reproduce it is too large (925M) to upload.
case class Sentences(name: String, words: Array[String])
val dataset = spark.read
  .option("header", "true").option("sep", "\t")
  .option("quote", "").option("nullValue", "\\N")
  .csv("/tmp/title.akas.tsv")
  .filter("region = 'US' or language = 'en'")
  .select("title")
  .as[String]
  .map(s => Sentences(s, s.split(' ')))
  .persist()

println("Training model...")
val word2Vec = new Word2Vec()
  .setInputCol("words")
  .setOutputCol("vector")
  .setVectorSize(64)
  .setWindowSize(4)
  .setNumPartitions(50)
  .setMinCount(5)
  .setMaxIter(30)
val model = word2Vec.fit(dataset)
model.getVectors.show()

Before:
Training model...
+-------------+--------------------+
|         word|              vector|
+-------------+--------------------+
|     Unspoken|[-Infinity,-Infin...|
|       Talent|[-Infinity,Infini...|
|    Hourglass|[2.02805806500023...|
|Nickelodeon's|[-4.2918617120906...|
|      Priests|[-1.3570403355926...|
|    Religion:|[-6.7049072282803...|
|           Bu|[5.05591774315586...|
|      Totoro:|[-1.0539840178632...|
|     Trouble,|[-3.5363592836003...|
|       Hatter|[4.90413981352826...|
|          '79|[7.50436471285412...|
|         Vile|[-2.9147142985312...|
|         9/11|[-Infinity,Infini...|
|      Santino|[1.30005911270850...|
|      Motives|[-1.2538958306253...|
|          '13|[-4.5040152427657...|
|       Fierce|[Infinity,Infinit...|
|       Stover|[-2.6326895394029...|
|          'It|[1.66574533864436...|
|        Butts|[Infinity,Infinit...|
+-------------+--------------------+
only showing top 20 rows

After:
Training model...
+-------------+--------------------+
|         word|              vector|
+-------------+--------------------+
|     Unspoken|[-0.0454501919448...|
|       Talent|[-0.2657704949378...|
|    Hourglass|[-0.1399687677621...|
|Nickelodeon's|[-0.1767119318246...|
|      Priests|[-0.0047509293071...|
|    Religion:|[-0.0411605164408...|
|           Bu|[0.11837736517190...|
|      Totoro:|[0.05258282646536...|
|     Trouble,|[0.09482011198997...|
|       Hatter|[0.06040831282734...|
|          '79|[0.04783720895648...|
|         Vile|[-0.0017210749210...|
|         9/11|[-0.0713915303349...|
|      Santino|[-0.0412711687386...|
|      Motives|[-0.0492418706417...|
|          '13|[-0.0073119504377...|
|       Fierce|[-0.0565455369651...|
|       Stover|[0.06938160210847...|
|          'It|[0.01117012929171...|
|        Butts|[0.05374567210674...|
+-------------+--------------------+
only showing top 20 rows

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19473/
Test PASSed.

Test build #114651 has started for PR 26722 at commit d08fab9.

Test build #114651 has finished for PR 26722 at commit d08fab9.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114651/
Test FAILed.

Test build #114652 has started for PR 26722 at commit 933cd5d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19474/
Test PASSed.

Test build #114652 has finished for PR 26722 at commit 933cd5d.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114652/
Test FAILed.

retest this please.

Test build #114655 has started for PR 26722 at commit 933cd5d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19477/
Test PASSed.

Test build #114655 has finished for PR 26722 at commit 933cd5d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114655/
Test PASSed.

Hm, seems the original paper did not talk much about how distributed training should be done. The original multi-threading implementation simply overwrite to training weights.
Currently we simply sum up weights trained in each partition. I think it is the issue.
For the final embedding, because we do care about cosine similarity later, the magnitude of the word vectors should not be matter.
In the training code, the magnitude of training vector is involved in computing gradient. Changing magnitude should not change direction of gradient, but the magnitude of the gradient.
Alternatively, I tried to divide trained weights when summing up, like:
val synAgg = partial.reduceByKey { case (v1, v2) =>
  blas.saxpy(vectorSize, 1.0f / numPartitions, v2, 1, v1, 1)
  v1
}.collect()

Training model...                                                                                [4/1918]
+-------------+--------------------+
|         word|              vector|
+-------------+--------------------+
|     Unspoken|[-5745.0419921875...|
|       Talent|[-1.6445698E7,-33...|
|    Hourglass|[-16.266916275024...|
|Nickelodeon's|[-44.274482727050...|
|      Priests|[-9.2923946380615...|
|    Religion:|[-0.4360949993133...|
|           Bu|[-0.1929319202899...|
|      Totoro:|[-0.4030513465404...|
|     Trouble,|[3.99134278297424...|
|       Hatter|[-4.4252877235412...|
|          '79|[-1.7150703668594...|
|         Vile|[-270.66030883789...|
|         9/11|[-2927296.0,85244...|
|      Santino|[0.80541723966598...|
|      Motives|[35.5695533752441...|
|          '13|[2.82274293899536...|
|       Fierce|[29019.884765625,...|
|       Stover|[-3.0654258728027...|
|          'It|[1.14618539810180...|
|        Butts|[2.0819126E7,-3.0...|
+-------------+--------------------+
only showing top 20 rows

There are big values remaining, although no infinity.

Hm, I don't think it's only cosine similarity that matters; these are often used in general in embeddings for neural nets or something. Changing the norms individually changes their relative magnitude. It doesn't mean the answer is wrong per se, just not clear losing that info is not costing something - indeed in training too.
I do think it's more valid to divide through everything by a constant, which could arbitrarily be the number of partitions, or words. I'd love to find a more reliable reference for that kind of thing.
I haven't looked at the impl in a long time but I'm also trying to figure out why it happens. What in the code makes it not scale with the size of the input? because conceptually it should not.

The original paper/implementation does not cover distributed training case like this. In the multi-threading version implementation, it seems does not consider that too. Each thread training on part of training data simply writes to the same network weights.
We do add trained weights from each partition. I think this is not correct too. Like normalization it can be seen as change to the magnitude of embedding too, compared with single thread training.
I agree that divide seems more valid, though there are big values in the trained embedding.
I will look for if there is a reference for distributed Word2Vec training.

I see, so are you saying the weights are effectively N times larger with N partitions than 1? that might be worth a sense check. If so, and the implementation is inadvertently scaling weights by N in this case, then diving by num partitions before aggregation sounds good.

The implementations/papers including the original, "Parallelizing Word2Vec in Shared and Distributed Memory", word2vec++, seems all follow Hogwild style approach that simply ignores conflicting when updating the weights.
We train each partition separately, so I think we can't do like that. For now I do not see good reference for how to aggregating updated weights from partitions.
Let me do additional check to see how the weights scales by N.

I ran the test shown in the description. With the number of partitions as 1 to 50 (results shown in the description):
numPartitions = 1:
Training model...
+-------------+--------------------+
|         word|              vector|
+-------------+--------------------+
|     Unspoken|[-1.1236536502838...|
|       Talent|[0.25907281041145...|
|    Hourglass|[-0.1529812067747...|
|Nickelodeon's|[0.56294345855712...|
|      Priests|[-0.6632155776023...|
|    Religion:|[-0.2995840609073...|
|           Bu|[-0.1570600569248...|
|      Totoro:|[-0.6866843700408...|
|     Trouble,|[-0.0878739282488...|
|       Hatter|[0.30810326337814...|
|          '79|[0.30140322446823...|
|         Vile|[0.24635089933872...|
|         9/11|[-0.0068172565661...|
|      Santino|[0.02316198870539...|
|      Motives|[0.01498097740113...|
|          '13|[0.41122323274612...|
|       Fierce|[-0.5384349822998...|
|       Stover|[-0.1143656522035...|
|          'It|[0.64874994754791...|
|        Butts|[0.30401131510734...|
+-------------+--------------------+
only showing top 20 rows

numPartitions = 5:
Training model...
+-------------+--------------------+
|         word|              vector|
+-------------+--------------------+
|     Unspoken|[-6.7764405751741...|
|       Talent|[-9.6067479920091...|
|    Hourglass|[-5.7962791272710...|
|Nickelodeon's|[-5.5408793368190...|
|      Priests|[-3.4655685116755...|
|    Religion:|[1.75421539703848...|
|           Bu|[5.605338120192E1...|
|      Totoro:|[-7.3925109040147...|
|     Trouble,|[-8.3033904E7,1.2...|
|       Hatter|[8.05359369958017...|
|          '79|[6.48125380885584...|
|         Vile|[-1.1937402140810...|
|         9/11|[7.41007681173124...|
|      Santino|[2.34601249830338...|
|      Motives|[1.62917771495709...|
|          '13|[2.42768495215902...|
|       Fierce|[-2.9470496032303...|
|       Stover|[-1.6529095739310...|
|          'It|[-2.644077182976E...|
|        Butts|[1.79399782848582...|
+-------------+--------------------+
only showing top 20 rows

...
numPartitions = 20:
Training model...
+-------------+--------------------+
|         word|              vector|
+-------------+--------------------+
|     Unspoken|[-2.6176356140015...|
|       Talent|[-5.5199353538505...|
|    Hourglass|[1.86132916555005...|
|Nickelodeon's|[-9.0021568288662...|
|      Priests|[-7.5406975123998...|
|    Religion:|[5.01159335080765...|
|           Bu|[9.12173977905292...|
|      Totoro:|[2.22915976975771...|
|     Trouble,|[2.96316624467027...|
|       Hatter|[1.68119056598216...|
|          '79|[3.15082808602809...|
|         Vile|[1.25104734842133...|
|         9/11|[-1.3190123545398...|
|      Santino|[-8.8219865210421...|
|      Motives|[1.21626889307140...|
|          '13|[-3.9497276817527...|
|       Fierce|[-5.7803542675530...|
|       Stover|[3.02013414112860...|
|          'It|[5.61268932083837...|
|        Butts|[1.12267731121987...|
+-------------+--------------------+
only showing top 20 rows

numPartitions = 25, infinity vectors show up:
Training model...
+-------------+--------------------+
|         word|              vector|
+-------------+--------------------+
|     Unspoken|[-1.1421569937574...|
|       Talent|[-Infinity,-Infin...|
|    Hourglass|[-9.5144596513321...|
|Nickelodeon's|[-2.6736808943986...|
|      Priests|[-3.2282427842550...|
|    Religion:|[5.17546632302999...|
|           Bu|[1.75799700304267...|
|      Totoro:|[-7.4863996312756...|
|     Trouble,|[-5.0377472139952...|
|       Hatter|[-2.3868325167321...|
|          '79|[6.10459795780245...|
|         Vile|[-3.5907428812103...|
|         9/11|[-Infinity,Infini...|
|      Santino|[-3.9457649799987...|
|      Motives|[-5.8161171272514...|
|          '13|[-5.9268523384381...|
|       Fierce|[-Infinity,-Infin...|
|       Stover|[-7.4122975091097...|
|          'It|[1.19725408831668...|
|        Butts|[Infinity,Infinit...|
+-------------+--------------------+
only showing top 20 rows

BTW what are the exponents on these figures -- can you print more? or print their magnitude?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19509/
Test PASSed.

Test build #114688 has started for PR 26722 at commit fefae3a.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19510/
Test PASSed.

Test build #114687 has finished for PR 26722 at commit 4ab9906.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114687/
Test FAILed.

Test build #114688 has finished for PR 26722 at commit fefae3a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114688/
Test PASSed.

Hm, that's a crazy result. Something is wrong, to be sure. I can't imagine why just 5 partitions would make such a difference. I don't know word2vec well, but it looks kind of like it adds the new vectors per word instead of taking one of them arbitrarily (a la Hogwild). But I might be misreading it. And even if it were adding them, you'd imagine that 5 partitions might make the result 5x larger than usual, not 10^17.
Do you see info log output showing what alpha is? I'm curious about what happens in the line:
 alpha = learningRate *
                (1 - (numPartitions * wordCount.toDouble + numWordsProcessedInPreviousIterations) /
                  totalWordsCounts)

and also how this might become large:
val g = ((1 - bcVocab.value(word).code(d) - f) * alpha).toFloat

It kind of feels like some multiplier which is supposed to be in [0,1] is becoming significantly negative and it makes it grow out of control

That's good point!
I checked the alpha value during fitting for 5 partitions. At the end of fitting, the alpha becomes significantly negative value like 3.131027051017643E-6.
I think current alpha value is also not correctly computed.
Originally, the alpha is updated like https://github.com/tmikolov/word2vec/blob/master/word2vec.c#L397:
alpha = starting_alpha * (1 - word_count_actual / (real)(iter * train_words + 1));

In Spark's Word2Vec, it is updated as:
alpha = learningRate *
                (1 - (numPartitions * wordCount.toDouble + numWordsProcessedInPreviousIterations) /
                  totalWordsCounts)

Here by multiplying numPartitions, we may update to significantly negative alpha.

Hm, that value isn't negative though, just very small. The next line, perhaps accidentally, would handle negative values: if (alpha < learningRate * 0.0001) alpha = learningRate * 0.0001 starting_alpha is learningRate in the Spark code, so that much looks OK.
But yes the update rule looks different. numPartitions * wordCount.toDouble + numWordsProcessedInPreviousIterations is a heuristic to estimate the total number of words processed by all partitions. The denominator looks like it's the same though. I would guess this could be negative but then choosing a very small alpha is "OK". I'm not sure that's the issue.
I'm kind of wondering about this line in the C code:
https://github.com/tmikolov/word2vec/blob/master/word2vec.c#L448
I don't quite see its equivalent here. syn0 is basically used for neu1, but it's missing some normalization by cw, which is I believe 2 * windowSize + 1 - 2 * b here. That's up to a factor of about 9 if windowSize is 4. That feeds, I think, directly into the size of g as it makes the magnitude of the dot product that feeds f a lot larger.
What I don't really understand is why it would be 'triggered' by the number of partitions rather than iterations here, or why it doesn't seem to show up otherwise. It's possible that it's really iterations driving this, and numPartitions isn't 'helping.
Hm, what about sticking in a normalization by that factor above as a hack to see what happens?

I'm kind of wondering about this line in the C code:
https://github.com/tmikolov/word2vec/blob/master/word2vec.c#L448

I don't quite see its equivalent here. syn0 is basically used for neu1, but it's missing some normalization by cw, which is I believe 2 * windowSize + 1 - 2 * b here. That's up to a factor of about 9 if windowSize is 4. That feeds, I think, directly into the size of g as it makes the magnitude of the dot product that feeds f a lot larger.

This part is for cbow architecture in Word2Vec. As we support only Skip-gram, I think the update rule is different.
For Skip-gram training beginning at https://github.com/tmikolov/word2vec/blob/master/word2vec.c#L495, I think we did the same thing in updating weights. Looks not an issue to me.

Specially, I looked into the timing when it produces any Infinity value in aggregating weight vectors at:
val synAgg = partial.reduceByKey { case (v1, v2) =>
  blas.saxpy(vectorSize, 1.0f, v2, 1, v1, 1)
}.collect()

When it first produces any Infinity values among weights:
alpha: 0.025
v1 (before blas.saxpy): 3.7545144E37, 9.609645E37, -8.751438E37, -1.6193201E38, 1.1736736E38, 3.2835947E38, 8.1553495E37, -1.6691325E38, -7.576555E37, -5.648573E37, -1.9869322E37, -1.6807897E37, -5.7600233E37, -6.2470694E37, -1.4104866E38, -1.4680707E38, -3.1782221E37, 1.8944205E38, 1.5494958E38, -2.1342228E38, -6.157935E37, 3.9677284E37, 1.1558841E37, 4.331978E37, -8.0626774E36, -5.8198486E36, 8.500153E37, -5.662092E36, -4.009228E37, -1.9031902E38, -2.4923412E38, 7.174913E37, 5.1235664E37, -5.5351527E37, 5.5978614E37, -1.8525286E38, 1.066509E37, 1.5285991E37, -2.0523789E38, 8.57768E37, -9.894086E37, -1.8595572E38, 2.0450045E37, 7.084625E37, 1.7256363E38, 1.7746238E37, 1.4823289E37, 1.2560103E38, -1.910456E38, -5.6934737E37, 3.9446576E37, 1.9320926E38, 5.9035325E37, -1.2072379E38, 7.4097296E37, -8.0367785E37, 1.9674684E38, 5.9296644E37, -1.8741689E38, -1.4480887E38, -2.933689E37, -6.161533E37, 1.02056735E36, 2.3885107E38
v1 (after blas.saxpy): 4.022694E37, 1.0296049E38, -9.376541E37, -1.734986E38, 1.2575074E38, Infinity, 8.737874E37, -1.7883562E38, -8.1177373E37, -6.0520423E37, -2.128856E37, -1.8008461E37, -6.1714535E37, -6.6932885E37, -1.5112356E38, -1.5729329E38, -3.405238E37, 2.0297362E38, 1.660174E38, -2.2866673E38, -6.597787E37, 4.2511375E37, 1.2384472E37, 4.641405E37, -8.638583E36, -6.235552E36, 9.107307E37, -6.066527E36, -4.2956014E37, -2.0391324E38, -2.6703656E38, 7.687407E37, 5.4895356E37, -5.930521E37, 5.997709E37, -1.984852E38, 1.1426883E37, 1.6377848E37, -2.1989773E38, 9.190372E37, -1.0600806E38, -1.9923827E38, 2.1910763E37, 7.5906695E37, 1.848896E38, 1.9013826E37, 1.5882095E37, 1.3457253E38, -2.046917E38, -6.10015E37, 4.2264189E37, 2.0700992E38, 6.3252134E37, -1.2934692E38, 7.938996E37, -8.610834E37, 2.1080017E38, 6.353212E37, -2.008038E38, -1.5515236E38, -3.1432383E37, -6.6016424E37, 1.093465E36, 2.5591186E38
v2: 2.681796E36, 6.8640314E36, -6.251026E36, -1.1566574E37, 8.3833835E36, 2.3454244E37, 5.825249E36, -1.1922373E37, -5.411826E36, -4.034695E36, -1.419237E36, -1.2005642E36, -4.114303E36, -4.4621932E36, -1.0074906E37, -1.048622E37, -2.2701585E36, 1.3531576E37, 1.1067827E37, -1.524445E37, -4.3985254E36, 2.834092E36, 8.256315E35, 3.09427E36, -5.759055E35, -4.1570347E35, 6.071537E36, -4.044352E35, -2.8637343E36, -1.3594217E37, -1.7802438E37, 5.1249374E36, 3.65969E36, -3.9536805E36, 3.9984723E36, -1.3232347E37, 7.6179225E35, 1.0918563E36, -1.465985E37, 6.126915E36, -7.067205E36, -1.3282551E37, 1.4607173E36, 5.0604463E36, 1.2325974E37, 1.2675882E36, 1.05880635E36, 8.971503E36, -1.3646113E37, -4.066767E36, 2.817613E36, 1.3800664E37, 4.2168083E36, -8.623128
E36, 5.2926634E36, -5.7405564E36, 1.4053346E37, 4.2354745E36, -1.3386921E37, -1.03434895E37, -2.0954919E36, -4.401094E36, 7.2897654E34, 1.7060787E37
There are extremely positive/negative values that exceeds the range of float. So infinity/-infinity weights produced there.

What I don't really understand is why it would be 'triggered' by the number of partitions rather than iterations here, or why it doesn't seem to show up otherwise. It's possible that it's really iterations driving this, and numPartitions isn't 'helping.

Both the number of partitions and the iterations do affect to that. By reducing iteration to 10 (30 previously), when number of partitions is 5, you won't see infinity magnitude as iteration 30 case.
 For now it looks like we continue adding weights from partitions iteratively, until it is too positive/negative to hold in float. Thus increasing partitions can cause it, also increasing iteration can too.

Ah right, disregard my previous comment. Am I right that the original implementation, being single-threaded, computes just one updated vector per word per iteration? and in the Spark implementation, it comes up with several, because the word may appear in multiple partitions. Then adding them doesn't make sense. It would make sense to average them. That's not quite the same as dividing by number of partitions, as the word may not appear in all partitions. You could accumulate a simple count in reduceByKey then divide through the sum by count?

Test build #114746 has started for PR 26722 at commit bcd1aa7.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19568/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19569/
Test PASSed.

Test build #114748 has started for PR 26722 at commit 236b0fe.

Test build #114746 has finished for PR 26722 at commit bcd1aa7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114746/
Test PASSed.

Test build #114748 has finished for PR 26722 at commit 236b0fe.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114748/
Test PASSed.

Test build #114801 has started for PR 26722 at commit 21c6b84.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19623/
Test PASSed.

Test build #114801 has finished for PR 26722 at commit 21c6b84.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/114801/
Test PASSed.

PS does this also solve your problem? this change sounds OK to me.

Yeah, rerun the test manually and it does not produce infinity vectors.

@srowen do you have more comments on this? if no, i will go to merge this.

Let me check if it is also reproducible with big partition number + iteration on existing mllib test.
If not, I think it can not or hard to reproducible on small dataset.

Ok. I tried to increase number of partitions and iterations of existing test, but can not reproduce infinity weights. To add reproducible test case, the concern is big dataset needed, another one is fitting time.

Thanks! Merging to master and 2.4.

I'm OK with putting it in 2.4, I think. It's a minor behavior change, but, also appears to be more correct IMHO and fixes a bug


[T4A5][F12-A4]Wang Si Qi

@coyotestarrkwsq
Some comments added. Please ack & close the PR after reading comments.


Add explicit string conversion to $flattenedJson in Invoke-WPFImpex.ps1

Pull Request
Title
Add explicit string conversion to $flattenedJson in Invoke-WPFImpex.ps1
Type of Change

[x] Bug fix
[x] UI/UX improvement

Description
This PR addresses an issue with the Invoke-WPFImpex function in winutil.ps1. Recent changes to Invoke-WPFImpex require explicit string conversion for the $flattenedJson parameter. The parameter was previously handled implicitly as a string, but it now needs to be explicitly converted to ensure correct processing.
Testing

Validated that the $flattenedJson parameter is now correctly processed as a string.
Confirmed that configuration imports are successful with the updated function.

Impact
Ensures that the $flattenedJson parameter is handled correctly as a string, preventing errors during configuration imports.
Issue related to PR

None.

Additional Information

None.

Screenshots
Before Fix

After Fix

Checklist

[x] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no errors/warnings/merge conflicts.

Hello @Cryostrixx, thanks for adressing this.
I found a matching issue, which is related to this PR, may you please add "close #2657" to the description so it will be closed on merge?

Hello @Cryostrixx, thanks for adressing this.
I found a matching issue, which is related to this PR, may you please add "closes #2657" to the description so it will be closed on merge?

Apologies for the oversight. Just to confirm, should I use closes #2657 without quotes?

No issue, happens to everybody, to answer the question: the quotes are not needed

No issue, could happen to everyone, to answer the question: the quotes are not needed

Perfect, it’s added now. I also cleaned up the PR message a bit. Thanks for pointing that out!


Fix for bug https://github.com/Azure/azure-sdk-for-node/issues/1943

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] Validation errors from the Linter extension for VS Code have all been fixed for this spec. (Note: for large, previously checked in specs, there will likely be many errors shown. Please contact our team so we can set a timeframe for fixing these errors if your PR is not going to address them).
[x] The spec follows the patterns described in the Swagger good patterns document unless the service API makes this impossible.

This change is

 https://github.com/Azure/azure-sdk-for-python/pull/848

 https://github.com/Azure/azure-sdk-for-node/pull/1956

No modification for Ruby


[tool_crash] FileSystemException: Failed to decode data using encoding 'utf-8', null

Command
flutter gen-l10n

Steps to Reproduce

...
...
...

Logs
FileSystemException: Failed to decode data using encoding 'utf-8', null
#0      _File._tryDecode (dart:io/file_impl.dart:564:7)
#1      _File.readAsStringSync (dart:io/file_impl.dart:584:7)
#2      ForwardingFile.readAsStringSync (package:file/src/forwarding/forwarding_file.dart:96:16)
#3      ErrorHandlingFile.readAsStringSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:222:22)
#4      _runSync (package:flutter_tools/src/base/error_handling_io.dart:597:14)
#5      ErrorHandlingFile.readAsStringSync (package:flutter_tools/src/base/error_handling_io.dart:221:12)
#6      new AppResourceBundle (package:flutter_tools/src/localizations/gen_l10n_types.dart:441:36)
#7      LocalizationsGenerator._templateBundle (package:flutter_tools/src/localizations/gen_l10n.dart:724:50)
#8      LocalizationsGenerator._templateBundle (package:flutter_tools/src/localizations/gen_l10n.dart)
#9      LocalizationsGenerator.loadResources (package:flutter_tools/src/localizations/gen_l10n.dart:1045:20)
#10     GenerateLocalizationsCommand.runCommand (package:flutter_tools/src/commands/generate_localizations.dart:260:11)
#11     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1290:12)
<asynchronous suspension>
#12     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#15     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
<asynchronous suspension>
#16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#17     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
<asynchronous suspension>

[✓] Flutter (Channel stable, 2.8.1, on macOS 11.4 20F71 darwin-x64, locale en)
    • Flutter version 2.8.1 at /Users/zer01one/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (10 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/zer01one/Library/Android/sdk
    • Platform android-31, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 12.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.0.0.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 4.2)
    • 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 11.0.8+10-b944.6916264)

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

[✓] Connected device (1 available)
    • Redmi Note 8 (mobile) • 16210446 • android-arm64 • Android 11 (API 30)

! Doctor found issues in 2 categories.

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 02c026b03cd31dd3f867e5faeb7e104cce174c5f
Plugins
firebase_core-1.12.0
firebase_core_web-1.5.4
firebase_messaging-11.2.6
firebase_messaging_web-2.2.7
flutter_local_notifications-9.2.0
path_provider-2.0.9
path_provider_android-2.0.11
path_provider_ios-2.0.7
path_provider_linux-2.1.4
path_provider_macos-2.0.5
path_provider_windows-2.0.4
shared_preferences-2.0.11
shared_preferences_android-2.0.9
shared_preferences_ios-2.0.8
shared_preferences_linux-2.0.3
shared_preferences_macos-2.0.2
shared_preferences_web-2.0.2
shared_preferences_windows-2.0.3
sqflite-2.0.2
url_launcher-6.0.20
url_launcher_android-6.0.15
url_launcher_ios-6.0.15
url_launcher_linux-3.0.0
url_launcher_macos-3.0.0
url_launcher_web-2.0.6
url_launcher_windows-3.0.0

Hi @wepashka, can you upgrade to the latest version of stable to see if you still experience this issue?
If you do, please provide the updated flutter doctor -v as well as your pubspec.yaml and your l10n.yaml.
Thank you

Thanks. Problem was that using incompatible symbol to utf-8


Update static-files.md & its code samples.

This PR updated two things about static files in ASP.NET Core:

Update code sample about enableDirectoryBrowsing parameter of UseFileServer. AddDirectoryBrowser is supposed to be called when the EnableDirectoryBrowsing property value is true.
According to this issue, trailing / redirect could be disable with RedirectToAppendTrailingSlash.

 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.:x: MMaxwell66 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@MMaxwell66  much appreciated. We have lots of issues if you'd like to contribute more. If something looks interesting and is currently assigned, just mention me and I'll probably assign it to you.
Be sure to check out your name as a contributor about the 3rd of next month on the What's new page in the Community contributors section at the bottom.


[BUG] maven scalastyle checks don't appear to work for alterneate source directories

Describe the bug
I have noticed a few bugs in the scala style that the IDE picks up on in the 20.10
https://github.com/NVIDIA/spark-rapids/blob/f774e1a231416aab7cacc86f06010ef797fc19c7/sql-plugin/src/main/spark320/scala/com/nvidia/spark/rapids/shims/v2/Spark32XShims.scala#L23
There should be no empty line separating imports in the same group.
and
https://github.com/NVIDIA/spark-rapids/blob/f774e1a231416aab7cacc86f06010ef797fc19c7/sql-plugin/src/main/spark320/scala/org/apache/spark/rapids/shims/v2/GpuShuffleBlockResolver.scala#L17
Package name 'org.apache.spark.sql.rapids.shims.v2' does not correspond to the file path 'org.apache.spark.rapids.shims.v2'
are some examples of this.
It looks like the scala style plugin is ignoring additional source code directories.

scalastyle  maven plugin has the following short comings:

it checks all files in the configured directories even if we don't change them slowing down the build significantly
it doesn't see non-default source code root additions
the violation in a module that is built late won't be revealed until this module is built and is usually blended with other output so it's hard to locate.

I propose we replace the scalastyle plugin  invocation and call the style check only on changed files via a script to the tune of:
git diff --name-only origin/branch-21.10...HEAD | grep '.scala$' | xargs java -jar ~/dist/scalastyle_2.12-1.0.0-batch.jar -c scalastyle-config.xml

If we find a way to invoke scalastyle using scala:run in maven we should be able to avoid explicit download of the batch cli

I am not trilled with the idea of rolling our own. Especially one that is aware of the version control system. I thought one of the first rules of the build system is that it should not depend on the VCS of the code, or else it fails to build when you switch VCS or just get the raw code from somewhere.  If we go this route we need to make sure that if the source code is not in git that it falls back to doing something reasonable. I also want to be sure that it will run by default as a part of the build. I personally would rather see us spend time to try and fix issue with the maven plugins in open source. But in the interest of time I can see why we might not go that route.

The total time scalastyle takes is only 8 seconds (at least after consolidating it into a single  JVM invocation), so I think it's fine to leave it at that. In general having pre-commit checks like scalastyle executing only on files the developer changed is well within rules in my experience.

The difference is pre-commit check vs build. Pre-commit is a part of the version control system. Having it rely on the exact VCS in my opinion is fine, because it goes along with the VCS and is optional. The build system itself should be generic enough to build under any version control system or none at all. Otherwise it is a huge pain for someone to fork the software and use their preferred or employer mandated VCS.
But this brings up a separate point. Is style something that we want everyone to run or is it just those developers hard core enough to add the pre-commit hooks.  In my opinion small errors show up all the time and if are going to enforce it as a part of a pre-merge build we should be giving users an early warning and pre-commit hooks are not good enough for that. But that is just me and if the project goes all in on pre-commit hooks I could be persuaded. But from the previous discussions I don't think all of the team is the same way.

Personally I'd like to not spend any time manually fixing  code style violations. Equally I'd like to not have code style discussed in the PR reviews.
Personally I almost enjoy how my cudf PR submission gets auto-formatted in cudf using a pre-commit hook, so I don't need to think about the arbitrary rules at all when I edit the code.
One of typical counterpoints is that commit hooks are optional. But this is easily resolved via PR-checks in CI. Moreover instead of failing the PR check we can simply have  a CI job  reformatting, testing and merging approved PRs


New version: Redisant.ModbusMasterEmulator version <IP_ADDRESS>

Created by 🥟 Dumplings in workflow run #9820.

Log
Updated: <IP_ADDRESS> → <IP_ADDRESS>
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Automatic Validation ended with:

No errors to post.

(Automated response - build 899.)

Automatic Validation ended with:

No errors to post.

(Automated response - build 899.)

@wingetbot run


use string for ziti_dns_setup's dns_addr argument

Replace the string argument to ziti_dns_setup. fwiw I originally changed it to ip_addr_t to avoid the int -> string -> int conversion that ziti-edge-tunnel was doing.

closing and re-opening after updating branch protection rules.


Fixed sidebar functionality when collapsed

Before, when the sidebar collapsed, the inner li elements (if any) would not collapse along with it. The changes to 'build/js/custom.css' show the fixes - I guess if you like it you can take it and minify it to update 'build/js/custom.min.css' in your repo!
** If you would like to reproduce these changes, don't forget to change the stylesheet reference
in whatever page to the new 'build/js/custom.css' (or minify it and update 'build/js/custom.min.css' to see it in everything)!
Thanks for the template!

Good job, the problem is the build folder is generated by gulp and you must modify src folder for this. I will now create document on how to make contribution on this project.
Much enhance pr is on https://github.com/puikinsh/gentelella/pull/172


Query now uses a GET instead of a POST

I was wondering why all the filtering functions stopped working, it's because query now uses GET methods instead of POST.
Source: https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/customer#query-a-customer

@zikphil It looks like the reason that TravisCI is failing (see https://travis-ci.org/sidecars/python-quickbooks/jobs/553398893) is because you're calling make_request in client.py, which expects a SessionManager object to exist.
I'm not sure if the GET requests create one, though I would need to dive in more.
I also noticed that the download_pdf function uses GET, but instead directly calls process_request, see https://github.com/sidecars/python-quickbooks/blob/90adce3ea15a2d13c415776a2f67dc48dd9bdec9/quickbooks/client.py#L351.

@ej2 As I said the other day in #154, I'd like to help if I can. Since I don't know much yet about the inner workings of this code, I figured I would jump in and start to help triage stuff as it comes in, which will help me understand the implementation.


fix: azure credentials to docker container

Codecov Report

Merging #24 (375cda0) into main (4dcf092) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #24   +/-   ##
=========================================
  Coverage     70.96%   70.96%
  Complexity       41       41
=========================================
  Files            20       20
  Lines           124      124
  Branches          8        8
=========================================
  Hits             88       88
  Misses           33       33
  Partials          3        3

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 4dcf092...375cda0. Read the comment docs.

:tada: This PR is included in version 0.2.4 :tada:
The release is available on:

v0.2.4
GitHub release

Your semantic-release bot :package::rocket:


[CLI]: Tune Population-Based Bandits and WandbLoggerCallback Memory Leak

Describe the bug
Hello,
I'm currently experiencing a memory leak when using the WandbLoggerCallback with Ray Tune's Population-Based Bandit algorithm. The RAM Util is consistently increasing as running the experiment. The memory leak doesn't occur when running without wandb.
No error occurs in the command line, although ray reports that _WandbLoggingActor.run() fails. The error seems silent though (with only this vague "If you really want to do this, pass allow_val_change=True to config.update()"). From my understanding, wandb seems to create a new wandblogging instances for each trial, as it gives a wandb login message during each new trial.
Additional Files
No response
Environment
WandB version: 0.15.7
OS:
Python version: 3.8.16
Versions of relevant libraries:
Ray: 2.4.0
Additional Context
No response

Hello @dkupsh !
Could you send the debug bundles of the run that is experiencing the memory leak? They should be located in the wandb folder in the same directory as where the script was run. The wandb folder has folders formatted as run-DATETIME-ID associated with a single run. Could you retrieve the debug.log and debug-internal.log files from one of these folders specifically from the run that is experiencing the memory leak?

Here is the debug-internal.log. The debug.log file was empty.

Hello @dkupsh !
I looked into your debug logs and there does not seem to be anything necessarily wrong with the debug logs. However, you did mention that since each run is being created for each trial, this will increase memory and is to be expected if multiple wandb processes are being spun up. We also sync data asynchronously so older wandb processes may still be alive in order to upload metrics and files.
Are you expecting multiple wandb processes to be spun up or you expecting one process (meaning one run) to be made during training?

Yes. So I only run tune.fit once, but a new wandb.init() seems to be spun up (based on action logs) during each time a new actor is created. On the ray console, it says that the wandb had an error when running (but there were no logs attached).
Here's sortof an abridged version of the code:
pbt = PB2(
        time_attr="training_iteration",
        metric="episode_reward_mean",
        mode="max",
        perturbation_interval=100,
        ....
)

tuner = Tuner(
   'PPO',
   param_space=param_space,
   tune_config=tune.TuneConfig(
            num_samples=4,
            scheduler=pbt
    ),
    run_config=RunConfig(
       ...
      callbacks=[
                WandbLoggerCallback(
                   ....
          )
    )
)

tuner.fit()

What I suspected was that the old wandb processes were still consuming system memory, thus causing the memory leak.

We don't have a direct integration Population-Based Bandits and after looking around it looks like you are right when it comes to PB2 spinning up new WandbLoggerCallback  instances every-time it is called. I will let our engineers know that our integration currently doesn't support this and see what they have to say.

WandB Internal User commented:
rsanandres-wandb commented:
Hello @dkupsh !
Could you send the debug bundles of the run that is experiencing the memory leak? They should be located in the wandb folder in the same directory as where the script was run. The wandb folder has folders formatted as run-DATETIME-ID associated with a single run. Could you retrieve the debug.log and debug-internal.log files from one of these folders specifically from the run that is experiencing the memory leak?

WandB Internal User commented:
dkupsh commented:
Here is the debug-internal.log. The debug.log file was empty.


Adding description to RSS feeds

I want the RSS feed to have the option to enable description in addition to the title. Nowdays, the titles are often click-bait and doesn't tell much, so adding the description would be nice. I imagine it should (by default) be shown in a smaller font beneath the title.
It's also wort to mention that some rss feeds has pictures and links in them, those should be (possible to) filter out.
I also tried adding several feeds without luck, but that could be my bad. If possible, it would be nice to have a source name/icon in front of the feed. My experience is from v1, so some of this might already have been fixed. Hope this doesn't come off as too demanding, I believe it would give the whole experience a nice touch.

You can now display the item description for the news feed. Simply add the following to your newsfeed config: showDescription: true. (See documentation.)


Supporting non-open source fonts

Is your feature request related to a problem? Please describe.
I have a use case where a client has provided proprietary fonts, but I'd like to use one single approach to self-hosting fonts.
Describe the solution you'd like
Is there a way I can leverage the functions offered through font-source but perhaps a parameter or mode to point it to a local folder rather than the standard import? or similar?

I'm not sure if I understand the purpose of this.
There aren't necessarily any extra functions that Fontsource offers that I can imagine makes this useful.
I'd be more inclined to recommend you handle this manually instead.

I can't imagine adding something like this, because Fontsource simply just creates import paths to pre-generated CSS files.
import "../your-font-folder/font-name.css"
Fontsource is essentially this but resolving to the node_modules folder to get the CSS file. We can't pre-generate CSS files for random fonts that don't go through the build process within this repository. It just isn't possible to accommodate your request unless it joins our repository.
Once again, I'd say you should do something manually and import it like how I wrote earlier alongside the Fontsource options.
I'll be closing this since I genuinely can't see a way to accommodate what you are asking.


Reuse program structure

See Microsoft/TypeScript#4154 and Microsoft/TypeScript#3616

Now moved to https://github.com/Microsoft/TypeScript/pull/4154

Thanks for the update!


IPv6 exit node ACL not working

Bug description
Is ipv6 exit node with ACL possible? As the ACL below makes ipv4 work but ipv6 does not, and I see this in the logs, which does not seem correct:
Mar 21 20:41:49 headscale headscale[7944]: 2023-03-21T20:41:49+01:00 WRN No IPs found with the alias all6
On discord it was suggested to use [::]/0 but that did not work as well and outputted the same log
To Reproduce
Create an exit node and use the following ACL
{
  "groups": {
    "group:admin": ["fuomag9"]
  },
"Hosts": {
        "all6":  "::/0",
    },
  "acls": [
   { "action": "accept", "src": ["group:admin"], "dst": ["group:admin:*"] },
   {"action": "accept", "src": ["group:admin"], "dst": ["<IP_ADDRESS>/0:*"]},
   {"action": "accept", "src": ["group:admin"], "dst": ["all6:*"]}
  ]
}

Context info

0.21.0
1.38.1
MacOS 13.2.1 (22D68) tailscale, RHEL 9.1 headscale
Linux proxmox 6.1.15-1-pve

It will be useful to reconsider this use case, now that the #1473 has passed.

"dst": ["::/0:*"],
works for me to enable IPv6


White background shows up on certain displays

I think I broke the html+css on this... need help

Fixed in #25 by @thomasiles 🥇


.git needs to be synced for Composer self.version

The Problem/Issue/Bug:
I ran into issues trying to run ddev composer require drush/drush on a Drupal 9 checkout. Syncing the .git directory fixed it, allowing composer to properly resolve version contraints.
How this PR Solves The Problem:
Updates the docs to call this situation out.

Thanks, this is a good addition. See also https://github.com/drud/ddev/issues/3384
I excluded .git by default in mutagen.yml because the maintainer of mutagen was concerned that the low-level (and so-many-files) filesystem usage of .git could lead to trouble.

It's interesting, the two places where this has been a problem, git most likely won't be used, and certainly won't be used in the container, but it breaks composer. Is this a composer flaw in the end I wonder? I wonder how we can avoid people having to discover this over and over. (Docs are good, but mostly people don't read them.)

I excluded .git by default in mutagen.yml because the maintainer of mutagen was concerned that the low-level (and so-many-files) filesystem usage of .git could lead to trouble.

That's really interesting. Given default Drupal 9 has ~25K files in in core and vendor, it doesn't seem like there would be an order of magnitude difference compared to the operations Composer or npm makes. Actually, npm as well would usually dwarf a .git directory.

I wonder how we can avoid people having to discover this over and over. (Docs are good, but mostly people don't read them.)

We could test for self.version in composer.json?

I have an idea: We should just bind-mount .git, it would solve so many things. Use the technique in https://ddev.readthedocs.io/en/latest/users/performance/#advanced-mutagen-configuration-options - but do it automatically.

Opened

https://github.com/drud/ddev/issues/3400

Thanks so much for this!


Add linrongbin16/fzfx.vim

Repo URL:
https://github.com/linrongbin16/fzfx.vim
Checklist:

[x] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[x] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else.
[x] The description doesn't contain emojis.
[x] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[x] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

This is a vim plugin, not a neovim plugin.

This is a vim plugin, not a neovim plugin.

; (
emmmm, yes it can run for both Vim and Neovim, I just don't want to drop support for VIM.
But still have some improvements for Neovim especially.

Maybe I should rewrite this plugin with lua, fully drop support for VIM....
Then come here again : )


Added extension node (used in Confluence documents)

Although element Extension is not described in Atlassian Document Format, in practice it is used in documents for the Confluence.
One of the most famous extensions is, for example, the Table of Contents.
For the library to fully work with confluence documents, I propose to add this node.
Thanks

The same changes were sent to original DamienHarper/adf-tools repository in pull/16


Social Media Integration

Integrate ddagens social medias onto the site so that it's easy to keep up with the latest developments from ddagen. https://developers.facebook.com/docs/instagram/oembed

[ ] Instagram
[ ] Facebook
[ ] LinkedIn

Closing for now since you need to either get a Facebook developer account or use a third party service to embedd instgram/facebook posts on the page.


Saving is doing nothing

I just got the package after doing the "npm install node-sass -g".  When i execute "which node-sass", i get "/usr/local/bin/node-sass".  It seems like i downloaded it correctly, however when i save in Atom, nothing happens.  What am i missing?

Hey!
No notification appears? Restart Atom and try again! Then check you settings! Is the package disabled? Is Compile on Save enabled?
When everything seems to be okay, open developer tools via View -> Developer -> Toggle Developer Tools and check if there is any message about sass-autocompile package.

No notification appears after i restarted Atom.  I checked my packages and I cant even find package "sass-autocompile".  If you want, you can google hangeout w/ me and view my screen

Try to reinstall my package?!

I just re downloaded, quit atom and reopened and tried saving, nothing
happened, and checked my settings and there is no sass autocomplete
package.[image:
Inline image 1]
[image: Inline image 2]
On Thu, Jul 14, 2016 at 3:31 AM, Armin Pfäffle<EMAIL_ADDRESS>wrote:

Try to reinstall my package?!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/armin-pfaeffle/sass-autocompile/issues/78#issuecomment-232627606,
or mute the thread
https://github.com/notifications/unsubscribe/ARaNv_EVXP04v1wyItVW_ehbWRBG7DaPks5qVg_ogaJpZM4JI6kX
.

But you definitly installed sass-autocompile package in Atom? (Settings -> Install)
That sounds a lil' bit strange too me. Do you have rights to install a package? I never heard about such a problem.

Resolved. Strange, the package never appeared in the settings window until today.  Anyways, thanks!

Hm... Probably an Atom bug?


Add SWIFT_VERSION to xcconfig

This will add SWIFT_VERSION to pod target xcconfig. This is required because
Xcode complains when compiling app with the SKPhotoBrowser as a dependency.
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.

This setting is also included in the podspec of other libraries that are Swift 4 compatible:
https://github.com/melvitax/DateHelper/blob/master/AFDateHelper.podspec
https://github.com/AlexLittlejohn/ALCameraViewController/blob/master/ALCameraViewController.podspec
This should also fixes #254

Thanks your big help. I haven't maintain lately, so your PR is big help for this oss.


LcLibCrypto>>library gives a DNU in Pharo 9

moduleName is no longer in the hierarchy.
Using:
LcLibCrypto>>library
	^ self libraryName

fixes it for Pharo 9, but I don't know how backward compatible is.
Pharo 9.0.0
Build information: Pharo-9.0.0+build.751.sha.c7844f38de367c7243fa9778b747f6caf229cc0c (64 Bit)

Thanks. I'll create a Pharo 9 branch and fix it there.

Fixed for Linux. To be tested for Mac. I don't have Windows handy to test.

Tested on MacOS by implementing #macLibraryName.

Tested on Windows 10 64bit by implementing #win32LibraryName.


"null" folder seemingly randomly created by vscode or an extension?

Does this issue occur when all extensions are disabled?:  It looks like you may be using an old version of VS Code, the latest stable release is 1.70.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

This has been occurring since way before 1.70.1 and I'm sure it reproduces on 1.70.2 if I knew what triggers it.

Using vscode all day for my job I've had it happen maybe 4-5 times in the past year, never had the moment to make an issue.

Without suitable repro steps it's near impossible to debug and fix this issue. It could be caused by an extension, your project, or system configuration. The entire team here and millions of others use VS Code everyday and I have not come across a similar report


Add kerberos and basic auth to REST

Needs testing

@jcrist , you could try this. I don't know what might be the right way to pass the user/pass down to YARNAPI, you'd have to set it yourself. Although I have a secured YARN setup in docker, it still doesn't need kerberos for auth, but perhaps I can change that and try it.
It seems that "simple" auth mode (user/pass) is invoked if hadoop.http.authentication.type=simple and hadoop.http.authentication.simple.anonymous.allowed=false .


Create fibonacci_seq

fibonacci series program added.

We already have Fibonacci series in C++, if you have any enhancements do check it out.


Authentications Read and Delete api

This API is to read and delete Authentication resources.
Need correct product features for this PR (currently just has a placeholder).
Links

Pivotal Tracker ticket

@miq-bot add_label wip, enhancement, api, euwe/no
@miq-bot assign @abellotti

Wouldn't it be better to set the endpoint to the higher-level concept (Authentications) and allow the requester to filter by type?

@bdunne I considered that, but that was out of the scope of my pivotal ticket so I thought I would narrow it. Also, create / update of these credentials (ie https://github.com/ManageIQ/manageiq/pull/13773) will work differently than some of the other Authentications so narrowing the scope resolves that issue as well. Happy to reconsider though.
thoughts @abellotti @gmcculloug @lgalis ?

Please rebase this PR to incorporate https://github.com/ManageIQ/manageiq/pull/13846 in order to ensure api.yml integrity :heart: :heart: :heart:

@miq-bot remove_label wip

Was a bit concerned that this was returning everything (was running as admin), but ran as a non-admin user without the embedded_automation_manager_credentials_view role, and got the standard 403.  So, I'd 👍  with this.


Php 7.2

Hi,
This PR fix my tests with PHP 7.2.
It's just a fix for the count warning introduced in 7.2
~Needs https://github.com/M6Web/RedisMock/pull/62 to be green in Travis~
This PR also drop support of PHP < 7.1 as suggested here

hello, thanks for contributing to this project
IMHO we could even drop support for versions < php7.1, this way we won't have to maintain 2 versions of our tests forever
anyway https://github.com/M6Web/RedisMock/pull/62 would lead to a new major release, and we've already started to drop support for < php 7.1 in our new projects ( e.g. https://github.com/M6Web/RedisMessageBroker/blob/master/composer.json#L18 )
besides, you could close https://github.com/M6Web/RedisMock/pull/62 and drop supports for older php versions directly in this PR
what do you think?

I think it's a good idea! I commited it, and it's green!

v3.0.0

:tada:


Permission issue, other user can not require google/api_client

I am just curious about the permission of google/api_client:
$ ls -l ~/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/google-api-client-0.8.3/lib//google
drwxr-xr-x 5 sonots sonots  4096  March 24 18:32 2015 api_client
-rw-r----- 1 sonots sonots 27249  March 24 18:32 2015 api_client.rb

that is, there is no readable permission for other users. I have never seen such gem. For example, faraday gem permits to read for other users.
$ ls -l ~/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/faraday-0.9.1/lib/
drwxr-xr-x 5 sonots sonots 4096  March 24 18:31 2015 faraday
-rw-r--r-- 1 sonots sonots 7946  March 24 18:31 2015 faraday.rb

Could you tell me whether there is a reason to drop the readable permission for other users? If not, I prefer to have the readable permission for other users.
FYI: This is related with an issue which I met with td-agent https://github.com/treasure-data/omnibus-td-agent/issues/35
PS. It seems, in git repository, it is assigning the readable permission for other users.

I'm seeing the same problem with google-api-client 0.8.3. The previous release worked fine.

Maybe, this problem could happen when users use system installed gems.
Releasing fixed version is better.

Contacted Tim who's the owner of this and explained how this issue affects the BigQuery plugin users. Will keep updating the status.

This has been addressed by a new patch release 0.8.4.

Thank you.

Thanks!

Thank! :smile:


Implement filtering for User in MongoConnector

Closes #340
Implements filtering in the MongoConnector for User objects.

This PR is ready to be reviewed again, I had to change the base branch and set it back to main for the "Files Changed" to repopulate again.


Modify device screen copy

  [uploader] Medtronic 6 - Driver copy for Choose Devices screen

@pazaan Hmm, why did we never merge this one?

It's being merged into 600-series, but the QA doc has a few other error message enhancements attached to it.

Deleted, because there were too many conflicts at this stage, and I cherry picked the changes into pazaan/electron-medtronic600


POST /ob/purchase exceeding timeout

Scenario where this occurs yields this response:
moderator could not be found

So with this one, how is it that you're purchasing a listing without first loading the moderator profile? Doesn't the user need to see the moderator profile to select the listing?

So the issue here is we need the moderator profile to execute a moderated payment because we have to get the crypto key to build the escrow. I can make it fail quicker, but it would return an error rather than continuing with the offline message.

So as an actionable item for this issue I see a couple things we could do:

Do nothing
Reduce the timeout on the get moderators call to make it fail quicker
Have the mobile client make background calls to load the moderator profiles so they are cached when we need to use them
Have the verified mods server serve the profile and modified the POST purchase to accept a moderator profile.

I'm not sure we want to do anything to improve the "availability of the moderator profile" until we understand the reason why this moderator is unavailable. If it's just because they haven't been online in a while, that's business as usual and the buyer would just have to choose another moderator. If we're interested in lowering timeouts here for mobile only, that could be something we consider, but I don't think it's unreasonable that the purchase times out if the selected moderator is unavailable.


Issue716 memory leaks in dynamics

memory leaks in dynamics
Fixes #716
Change Description
With #674 integrated, all dynamic buffers held by modules should get freed before the program terminates. This update replaces raw pointers with std::unique_ptr for heap buffers that are used internally by the dynamics.
Test Description
A manual test was done by running  the dynamics benchmark for 1 time step with valgrind:
==74249== LEAK SUMMARY:
==74249==    definitely lost: 0 bytes in 0 blocks
==74249==    indirectly lost: 0 bytes in 0 blocks
==74249==      possibly lost: 7,600 bytes in 19 blocks
==74249==    still reachable: 110,406 bytes in 717 blocks
==74249==         suppressed: 0 bytes in 0 blocks

The setup that was used is not suited for an automated test as it is takes too long (init + 1 step on 32x32 grid takes upwards of 30mins).

After our shenanigans with develop and having a working integration test, I'm afraid this branch needs rebasing.

This one was a little more tricky than a rebase. I'd appreciate if we could merge this in short order now, it is just a few lines after all.


Stop axis labels duplicating. #315 [Pending squash and cleanup]

Friend, all of this should be in a single commit, there's too much noise. Please squash it :-)

@danielgindi Done

I think you can click on "Merge pull request #605 from skywinder/add-change-log-file" from your screen shot. Just create a test project to pratice some. copy-past code sometimes will have unexpected errors.

The problem was my master wasn't synchronised with the origin.


breakfast Friday & Saturday

had a lot of success with last years bakery. We'll shift the order away from bagels since we had so many left over

order placed 13 dozen each day


Pixels on bottom edge of RenderTexture are inconsistent when using BlurFilterPass in Pixi5

Expected Behavior
Pixels in generated texture should be consistent with source object
Current Behavior
Pixels at bottom edge of generated texture are not consistent
Steps to Reproduce

Apply a BlurFilterPass to a sprite
Render it to a RenderTexture

Pixi5 example (not working) - https://www.pixiplayground.com/#/edit/4kgn~bpbYpQMU17cVu5Xl
Pixi4 example (working) - https://www.pixiplayground.com/#/edit/fH6RLPM_wFUd_~piDZF7s
Both of these samples have near-identical code (with only pixi4 -> pixi5 differences).
Sorry for the vague issue title, but I'm not actually sure what's happening.  When comparing the pixi4 and pixi5 samples above, the pixi4 sample works correctly, while the pixi5 sample has a red blur at the bottom of the texture.  It could be a sampling issue since it only occurs at the edge of the texture, but that's just a guess.
Note: The actual blur is different between Pixi4's BlurYFilter and Pixi5's BlurFilterPass, but that's not part of the issue.

I worked with v5 blur a lot. Yes, there can be differences on edge.
This exact difference happens because v5 applies padding BEFORE fit to source, and v4 applies it AFTER.
v4: https://github.com/pixijs/pixi.js/blob/v4.x/src/core/renderers/webgl/managers/FilterManager.js#L147
v5:
https://github.com/pixijs/pixi.js/blob/dev/packages/core/src/filters/FilterSystem.js#L217
You can switch off autoFit (filter.autoFit = false) , it will work but it will compute whole area of the container. If you want to emulate v4 behaviour to the point, try this thing:
// required
filter.autoFit = false;
container.filters = [filter];

//optional
container.filterArea = container.getBounds();
//now somehow we need source frame size... like, your renderTexture frame?
container.filterArea.fit(rt.frame);
//or screen frame?
container.filterArea.fit(renderer.screen);
//pad it like before
container.filterArea.pad(filter.padding);

Here it is: https://www.pixiplayground.com/#/edit/pggBKzea5fchB0eECV0Vj

Thanks for the quick response!  I think we'll be able to use this to fix the problem we're having.

Seems addressed, closing.

Yeah , we can add compatibility mode later, i added a mention to wiki.


Bug report: Error blocks export!

Describe the bug
Exporting the model in this file throws the below error:
Python: Traceback (most recent call last):
  File "C:\Users\tyler\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\vrm\exporter\vrm1_exporter.py", line 2234, in export_vrm
    export_scene_gltf_result = export_scene_gltf(
                               ^^^^^^^^^^^^^^^^^^
  File "C:\Users\tyler\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\vrm\external\io_scene_gltf2_support.py", line 290, in export_scene_gltf
    return __invoke_export_scene_gltf(arguments)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\tyler\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\vrm\external\io_scene_gltf2_support.py", line 261, in __invoke_export_scene_gltf
    return bpy.ops.export_scene.gltf(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py", line 109, in __call__
    ret = _op_call(self.idname_py(), kw)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\addons_core\io_scene_gltf2\__init__.py", line 1289, in execute
    res = gltf2_blender_export.save(context, export_settings)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\addons_core\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 37, in save
    json, buffer = __export(export_settings)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\addons_core\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 55, in __export
    __gather_gltf(exporter, export_settings)
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\addons_core\io_scene_gltf2\blender\exp\gltf2_blender_export.py", line 202, in __gather_gltf
    active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\addons_core\io_scene_gltf2\blender\exp\gltf2_blender_gather.py", line 31, in gather_gltf2
    scenes.append(__gather_scene(blender_scene, export_settings))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\addons_core\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py", line 37, in wrapper_cached
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\addons_core\io_scene_gltf2\blender\exp\gltf2_blender_gather.py", line 94, in __gather_scene
    node = gltf2_blender_gather_nodes.gather_node(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\addons_core\io_scene_gltf2\blender\exp\gltf2_blender_gather_nodes.py", line 48, in gather_node
    children=__gather_children(vnode, export_settings),
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\addons_core\io_scene_gltf2\blender\exp\gltf2_blender_gather_nodes.py", line 130, in __gather_children
    joint = gltf2_blender_gather_joints.gather_joint_vnode(bone_uuid, export_settings)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\addons_core\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py", line 37, in wrapper_cached
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\addons_core\io_scene_gltf2\blender\exp\gltf2_blender_gather_joints.py", line 52, in gather_joint_vnode
    blender_bone = vtree.nodes[vnode].blender_bone
                   ~~~~~~~~~~~^^^^^^^
KeyError: '7c086f4d-701a-4d5a-ac03-be48d06bc98f'
Location: C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py:109

bpy.ops.export_scene.vrm(filepath="K:\\.shortcut-targets-by-id\\1aRXREtY-fSWoeNl1VQsH9wxH57ETCnO2\\3D\\Avatars\\.Hallway\\00012_M_GI-Joe\\GI Joe_v01-1b.vrm", use_addon_preferences=True, export_invisibles=False, export_only_selections=True, enable_advanced_preferences=False, export_all_influences=False, export_lights=False, errors=[{"name":"VrmModelError1", "message":"Non-tri faces detected in \"BézierCurve.009\". will be triangulated automatically.", "severity":3}, {"name":"VrmModelError2", "message":"Non-tri faces detected in \"Hair Top strands\". will be triangulated automatically.", "severity":3}, {"name":"VrmModelError3", "message":"Non-tri faces detected in \"Hair Front\". will be triangulated automatically.", "severity":3}, {"name":"VrmModelError4", "message":"Non-tri faces detected in \"BézierCurve.002\". will be triangulated automatically.", "severity":3}, {"name":"VrmModelError5", "message":"Non-tri faces detected in \"BézierCurve.003\". will be triangulated automatically.", "severity":3}, {"name":"VrmModelError6", "message":"Non-tri faces detected in \"BézierCurve.004\". will be triangulated automatically.", "severity":3}, {"name":"VrmModelError7", "message":"Non-tri faces detected in \"Hair sides\". will be triangulated automatically.", "severity":3}, {"name":"VrmModelError8", "message":"Non-tri faces detected in \"BézierCurve.005\". will be triangulated automatically.", "severity":3}, {"name":"VrmModelError9", "message":"Non-tri faces detected in \"BézierCurve.006\". will be triangulated automatically.", "severity":3}, {"name":"VrmModelError10", "message":"Non-tri faces detected in \"BézierCurve.007\". will be triangulated automatically.", "severity":3}])

To Reproduce
Steps to reproduce the behavior:

Try to export as VRM
Error will be thrown and VRM export will be cancelled
See error

Desktop (please complete the following information)

OS: Windows 11
Blender 4.2.2 LTS
Addon Version 2.20.88

Additional context
I don't think this issue was happening for me with the same addon version and blender 4.2 before... However, it also affects other people I work with in latest blender and latest addon version. Uninstalling blender and reinstalling doesn't fix. It looks like the io-scene gltf 2 addon is experiencing issues. But I don't think that should have changed in b4.2.2 ...

Thank you for reporting this!
This is a bug in the glTF 2.0 add-on that occurred when “Remove Armature Object” was enabled. I reproduced the file you uploaded. Could you please report this bug to the glTF 2.0 add-on?
https://github.com/KhronosGroup/glTF-Blender-IO/issues

To avoid the bug, the option will be disabled in the next release.

https://github.com/KhronosGroup/glTF-Blender-IO/issues/2394

The bug has been fixed in the latest version 2.28.0 just released. Please try it.