Use the round CSS function in the setLayerDimensions helper function

This has now been enabled unconditionally in Firefox, see https://bugzilla.mozilla.org/show_bug.cgi?id=1814589
For the page-containers in the viewer, this patch should restore the behaviour prior to PR #15770; see e.g. https://github.com/mozilla/pdf.js/pull/15770/files#diff-c48e3561004f5db8f11d5ebab2fd661591222ba911cb4173fbced15f026bac6bL182-L183
Note that these changes this will lead to a tiny bit of movement in some text and annotations reference tests.
Please find additional information at https://developer.mozilla.org/en-US/docs/Web/CSS/round

/botio test

Looks good; thanks!
/botio makeref


Changes wasm middleware and output binding config to url instead of path

Description
This switches the wasm middleware and output binding config to use url instead of path to read the WebAssembly module. This allows us to later implement HTTP and OCI.
Note: The output binding passes STDIN as well as arguments. This means it can run intepreters such as python. I will be implementing this with the OCI scheme, tested with https://github.com/orgs/vmware-labs/packages/container/package/python-wasm
Issue reference
related to, but won't close #2700
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

https://github.com/dapr/docs/pull/3358 (output binding)
https://github.com/dapr/docs/pull/3359 (middleware)

Thanks, LGTM overall. See lint failure.

thanks for the look. lint fixed now!

@yaron2 @salaboy I noticed 1.11 cutoff is tomorrow, so made a decision to just normalize the config property to "url" for both wasm middleware and the output binding.
middleware:

https://github.com/dapr/docs/pull/3359 updates the current docs
https://github.com/dapr/samples/pull/150 updates the sample

output binding:

we need to merge this, so that I can update dapr/dapr go.mod and actually wire it up. There's https://github.com/dapr/docs/issues/3358 to document, but that doesn't make sense until it is integrated. I can do this as soon as first thing tomorrow asia time, depending on when this lands.

Is this a breaking change in terms of the path -> URL change?

Is this a breaking change in terms of the path -> URL change?

yes, it is unless we want to back port the old one. As it is an alpha component and we broke it before not sure the rules.

ps I was wrong, it looks like the wasm binding was already integrated in https://github.com/dapr/dapr/pull/6269 so the only thing left is docs and just updating components-contrib version in dapr/dapr after merge

Is this a breaking change in terms of the path -> URL change?

yes, it is unless we want to back port the old one. As it is an alpha component and we broke it before not sure the rules.

We can technically break the spec as this is an Alpha component, but where possible we try to provide backward compatibility. For this early component I don't think it's required.
Have you tested the middleware locally with Dapr after these changes?

@yaron2 thx for understanding. I hadn't noticed a lot of use of middleware, so gut feel was to change the url before it becomes permanent confusion. I'll try middleware with a local build now and report back.
p.s. https://github.com/dapr/docs/pull/3362 for the docs on components.

@yaron2 tested and captured output here

I added a commit to simplify the wasm output binding invocation, as well tighten the benchmark. We no longer return exit code zero on success (since 1.0)

@codefromthecrypt keep in mind the following deadlines in the future:

Feature Freeze -- any significant features should have complete PRs opened before this date (does not necessarily apply to this PR).
Code Freeze -- PRs need to have been fully reviewed and merged by this date. This is not the date for opening new PRs. It's best to allow 1-2 weeks before code freeze to give maintainers time to provide feedback and time for you to respond to feedback etc.

Of course we'll try to get this PR reviewed and merged -- but do keep these dates in mind in the future to make things easier for us maintainers. Thanks for your understanding.

@berndverst absolutely will bear in mind dates.. in fact I would have prioritized differently if I knew them. Where generally do I find these as I found out by accident of asking nervously.

@berndverst absolutely will bear in mind dates.. in fact I would have prioritized differently if I knew them. Where generally do I find these as I found out by accident of asking nervously.

We always create an issue in dapr/dapr that we also pin in the issues list there called "[version] Release Planning", for example "v1.11 Release Planning" https://github.com/dapr/dapr/issues/5966
That's where we keep the timeline up to date and also discuss the major features we are including in that release.
Soon after we ship v1.11 we will create another such issue and pin it - so you can look for the "v1.12 Release Planning" issue then. The issue will be kept up to date with timelines.


slots + cached_property + sphinx

Hi @hynek, great to see that version 24.1.0 is finally out, have been looking forward to it for quite a while 👍🏼 🙃
One reason why I was waiting for it is because I wanted to enable slots for our classes that rely on cached_property. After upgrading to 24.1.0 and activating slots, everything seemed to work fine ... except for our docs 😕
We build them with sphinx and the error I'm getting indicates trouble coming from exactly the cached_property part. Here is an excerpt from the critical class
@define(frozen=True)
class DiscreteParameter(Parameter, ABC):

  @cached_property
  @abstractmethod
  def comp_df(self) -> pd.DataFrame: ...

for which I get the following error during our sphinx built
/home/runner/work/baybe/baybe/.tox/docs-py312/lib/python3.12/site-packages/baybe/parameters/base.py:docstring of baybe.parameters.base.DiscreteParameter.__init__:1:<autosummary>:1:py:obj reference target not found: baybe.parameters.base.DiscreteParameter.comp_df

I haven't yet tried to pull together a minimal self-contained example, because I first wanted to ask if you already have an idea what could cause the problem – perhaps the cached_property integration is simply not yet correct/complete?
All I can say for now is:

it works when I disable the slots
it works when I turn the cached_property into a regular property

so the issue really does seem to be related to the latests attrs changes.
Let me know if you need more information!

Hi @hynek, thanks for the quick answer. Seems exactly to be the case!
from functools import cached_property

from attrs import define

@define
class A:
    @property
    def x() -> int:
        """ABC"""
        return 0

    @cached_property
    def y() -> int:
        """DEF"""
        return 0

print(A.x.__doc__)
print(A.y.__doc__)

The first one correctly yields "ABC", the second is None.

Hmm, given how this is implemented (descriptors galore), I'm afraid this is not gonna be easy. I'm open to PRs, tho.

@diabolo-dan: I saw that you added the support in #1200. Do you see any easy solution to the problem?

Hmm, having had a brief look, I don't think there's a solution compatible with the current approach.  The problem is that slots are implemented with a C based descriptor, and that, afaict, you can't set a doc on them.
There is an alternative approach which involves wrapping the member_descriptor in a python class, at which point you could add the desired__doc__, as well as anything else desirable, the main drawback of that approach is that it costs a layer of indirection to every access of the cached property, but perhaps the performance hit is justified by the more consistent behaviour.

There is an alternative approach which involves wrapping the member_descriptor in a python class, at which point you could add the desired__doc__, as well as anything else desirable, the main drawback of that approach is that it costs a layer of indirection to every access of the cached property, but perhaps the performance hit is justified by the more consistent behaviour.

As far as I am concerned, I think we can afford an extra function call if it makes the whole thing a bit rounder. CodSpeed is gonna yell at us, if the penalty is too excessive.

That would be really great! I think otherwise the behavior (and especially the error message) would be really surprising to users.
@diabolo-dan: Is this something you'd be willing to take care of? (Since, honestly, I have zero clue at the moment about how the cached_property mechanics are implemented in attrs)

@diabolo-dan: ping 🙃 Let me know if you are too busy, I hope we can then find another way

@diabolo-dan: one more attempt here 🦤 I think otherwise there is not much progress to be expected on this topic ...

Hey, sorry for the delay, I started taking a look at this, and you can see a rough approach here:
https://github.com/python-attrs/attrs/pull/1357https://github.com/python-attrs/attrs/pull/1357
One issue is that it needs to check all (attrs) super-classes for cached properties (even if it has none itself, in case one is overridden, e.g. with a normal slot). And that overhead might not be deemed acceptable?
If people think it's worth pursuing, then I should get a chance to clean it up a bit the week after next.


[FEATURE] Hide x-axis labels without hiding the x-axis lines

I wanted to hide the x-axis labels, my first solution was to do this:
labels: ['', '', '', '', '', '', '']
but the tooltips in my line chart where empty, so I decided to do this instead:
       xAxes: [{         display: false        }]
It did worked but my x-axis line are hidden... You should add a feature where we could hide the x-axis labels without hiding the x-axis lines. We could call it showXAxisLabel, boolean
Thank you!

@rcxcob2016 have you tried the following?
xAxes: [{
  ticks: {
    display: false
  }
}]

@etimberg It worked. Thank you! The documentation on the website is kind of hard to fully understand...


[enhancement]: Add support empty LoRA Collect

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
If I have to switch between "I don't need LoRA at all" and "I need LoRA " in the process of work, it turns into hell

This would be very convenient if disabling all connections between nodes would simply not use LoRA (Now I'm getting an error)
PS with ControlNet the same thing
Alternatives
No response
Additional Content
No response

I would like to request a more flexible node system that allows me to mute and bypass individual nodes, similar to the functionality provided by ComfyUI. Currently, if I want to test or compare something, I need to redo half of the workflow...


Improve pods setup isolation on existing projects

Description
This PR adds a check to the Flutter tool Cocoapods integration that prevents adding the Pods include (#include "Pods/Target Support Files/Pods-Runner/...) if the project's Podfile does not contain the target Runner.
This is useful when attempting to integrate Flutter into an existing application that already has Cocoapods dependencies, but none of them point to the Runner target/project.
I'm facing this problem when integrating Flutter into my existing iOS app which has an xcworkspace with multiple projects and a single Podfile to manage all Cocoapods dependencies. None of the dependencies in that Podfile target the Runner project.
Related Issues
I could not find any related issues, but I reckon this is a trivial change and may not be deserving of one.
Tests
I added the following tests in packages/flutter_tools/test/ios/cocoapods_test.dart:

does not include Pod config in xcconfig files, if Runner target is not present

I also changed existing tests in the cocoapods_test.dart file to have valid Podfile content instead of just a mock string.
Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[x] No, this is not a breaking change.

@jmagman can you take a look at this?

Apologies for not getting to this sooner.
You definitely point our a big problem the lack of isolation between Flutter and existing projects.  I took a stab at a larger change that should hopefully solve things in a more complete, more CocoaPods-friendly way:
https://github.com/flutter/flutter/pull/36793
When that lands, you should be able to just update your Podfile targets that need the Flutter symbols, plugins, etc:
load File.join('my_flutter', '.ios', 'Flutter', 'podhelper.rb')
target 'MyApp' do
  install_all_flutter_pods 'my_flutter'
end

There will no longer be build settings added to the host app, or any references to "Runner".

@vmaraccini I'm hoping your issue is fixed by https://github.com/flutter/flutter/pull/36793.  You can migrate your Podfile as I suggested above, and try it on the master channel.  https://github.com/flutter/flutter/wiki/Flutter-build-release-channels
If it's not resolved, please file an issue and @ me!


Remove spaces on empty lines in default layout.erb

And also add a newline to the end of the file.

Coverage decreased (-0.07%) to 93.29% when pulling c1ce3ffd612b5e93c7b58fba949f8e1f633fa594 on cllns:fix-whitespace into 5f9820dc63c5adb480ddaf0d6a8d324c6813067e on middleman:v3-stable.


Games with unsupported MBCs

Robopon - Sun Version (USA) (SGB Enhanced) (Error: TODO MBC FE)
Kirby - Tilt 'n' Tumble (USA) (BAD MBC - 8D42 - Uses gyro)

I fixed the MBC issues, but Robopon isn't loading for some other reason now


PHP8 Incompatibilities [PHP]

Related to: https://github.com/propelorm/Propel2/issues/1541
Visible in travis “nightly php release” builds. The first obvious issues look like this:
Deprecated: Method ReflectionParameter::getClass() is deprecated in /home/travis/build/propelorm/Propel2/vendor/phpunit/phpunit/src/Framework/MockObject/MockMethod.php on line 308
PHP Deprecated:  Method ReflectionParameter::getClass() is deprecated in /home/travis/build/propelorm/Propel2/vendor/phpunit/phpunit/src/Framework/MockObject/MockMethod.php on line 308

And
Deprecated: Required parameter $modifiedClause follows optional parameter $columnPhpName in /home/travis/build/propelorm/Propel2/tests/Propel/Tests/Runtime/ActiveQuery/ModelCriteriaWithSchemaTest.php on line 58

This will likely require an update to Phpunit, which means supported versions of PHP would become incompatible with tests.

We should try to upgrade phpunit here to 8+
As this is require-dev this shouldn't have a direct impact on projects using this library.

If you can drop php 7.1 you unlock phpunit 8.

Done in https://github.com/propelorm/Propel2/pull/1618
So that unlocks a follow up PR then here.

Is anyone interested in further getting this repo PHP 8 ready?
you can either built on top of https://github.com/propelorm/Propel2/pull/1611 - or use a separate branch here.

@propelorm/propel2
Pease review https://github.com/propelorm/Propel2/pull/1611 as PR for PHP 8 compatibility now.
We can then release soon a new version.

We are going to merge the PHP 8 support this week.
Everyone: Please do a check on it if possible.


Kubelet fails to start on bosh-lite

What happened:
While deploying Kubo using Kubo-deployment/bin/deploy-cfcr-lite, kubelet failed to start with following error message
Task 41 | 11:38:48 | Updating instance master: master/9161da11-aa5c-46fc-8aec-f9dc3f5b4090 (0) (canary) (00:01:29)
Task 41 | 11:40:18 | Updating instance worker: worker/187a97f3-78a7-424c-a73c-765fb64810aa (0) (canary) (00:03:21)
L Error: Action Failed get_task: Task 56d27322-891f-4a11-5037-842239858931 result: 1 of 2 post-start scripts failed. Failed Jobs: kubelet. Successful Jobs: bosh-dns.
Task 41 | 11:43:39 | Error: Action Failed get_task: Task 56d27322-891f-4a11-5037-842239858931 result: 1 of 2 post-start scripts failed. Failed Jobs: kubelet. Successful Jobs: bosh-dns.
Task 41 Started  Wed Oct 30 11:38:25 UTC 2019
Task 41 Finished Wed Oct 30 11:43:39 UTC 2019
Task 41 Duration 00:05:14
Task 41 error
Updating deployment:
Expected task '41' to succeed but state is 'error'
Exit code 1

What you expected to happen:
The expectation was that Kubo would be deployed successfully with kubelet running.
How to reproduce it (as minimally and precisely as possible):

Deploy Bosh-lite on virtualbox
Clone Kubo-release
Clone kubo -deployment
From kubo-deployment run bin/deploy-cfcr-lite

Anything else we need to know?:
From the kubelet log file, following line seems to be the issue.
F1030 12:05:12.887447   14621 kubelet.go:1407] Failed to start OOM watcher open /dev/kmsg: no such file or directory
Environment:

Deployment Info (bosh -d <deployment> deployment):

Using environment '<IP_ADDRESS>' as client 'admin'
Name  Release(s)                  Stemcell(s)                                         Config(s)          Team(s)
cfcr  bosh-dns/1.15.0             bosh-warden-boshlite-ubuntu-xenial-go_agent/456.30  2 runtime/default  -
bpm/1.0.4                                                                       1 cloud/default
cfcr-etcd/1.11.1
docker/35.3.4
kubo/0.41.0+dev.1572435471
1 deployments
Succeeded

Environment Info (bosh -e <environment> environment):

Using environment '<IP_ADDRESS>' as client 'admin'
Name���������������bosh-lite
UUID���������������3d3b97df-196c-4d82-bd86-903b6061a6b3
Version������������270.7.0 (00000000)
Director Stemcell��ubuntu-xenial/456.40
CPI����������������warden_cpi
Features�����������compiled_package_cache: disabled
�������������������config_server: enabled
�������������������local_dns: enabled
�������������������power_dns: disabled
�������������������snapshots: disabled
User���������������admin
Succeeded

Kubernetes version (kubectl version):

Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.5", GitCommit:"20c265fef0741dd71a66480e35bd69f18351daea", GitTreeState:"clean", BuildDate:"2019-10-15T19:16:51Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?

Cloud provider (e.g. aws, gcp, vsphere):
Virtualbox

In my testing, I find the Kubelet would not start with this failure in kubelet.stderr.log
kubelet.go:1407] Failed to start OOM watcher open /dev/kmsg: no such file or directory
It looks like the bosh-stemcell-456.XX-warden-boshlite-ubuntu-xenial-go_agent is missing this kernel support.
As a test, and I would not propose this as a solution....
sudo touch /dev/kmsg
And the kubelet will start.

i had the same issue with stemcell bosh-warden-boshlite-ubuntu-xenial-go_agent  621.59
when touched the /dev/ksmg it started immediately.


Cannot download Dailymotion playlist

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

$ youtube-dl -v http://dailymotion.com/playlist/x49nxu
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://dailymotion.com/playlist/x49nxu']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.09.11
[debug] Python version 3.4.6 -<EMAIL_ADDRESS>[debug] exe versions: ffmpeg 3.3.4, ffprobe 3.3.4, rtmpdump 2.4
[debug] Proxy map: {}
[generic] x49nxu: Requesting header
[redirect] Following redirect to http://www.dailymotion.com/playlist/x49nxu
[generic] x49nxu: Requesting header
WARNING: Falling back on generic information extractor.
[generic] x49nxu: Downloading webpage
[generic] x49nxu: Extracting information
ERROR: Unsupported URL: http://www.dailymotion.com/playlist/x49nxu
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 776, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/extractor/common.py", line 434, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/extractor/generic.py", line 2964, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.dailymotion.com/playlist/x49nxu

youtube-dl cannot dowload a Dailymotion playlist from http://dailymotion.com/playlist/x49nxu.

Hi, i have the same problem. Is there a reason why this issue is closed?

youtube-dl --version
2017.09.15
python --version
Python 2.7.13

(Unhappy coincidence, i am trying to download exactly the same playlist J'adore Chroma!)

I haven't tested the 2017.09.15 version but I confirm that 6be44a50edfe2e75e31553e7a128ce1849301958 fixes the problem.

You may try Allavsoft which enables to batch download Dailymotion playlist to mp4, mp3, avi, mov etc
Here is the step by step guide:  https://www.allavsoft.com/how-to/download-dailymotion-playlist.html


(#296)  implemented CCG0010

To warn if an addin/module references a package that is already provided by Cake.
fixes #296

@augustoproiete what do you think?
My test contains the following references:
<ItemGroup>
  <PackageReference Include="Cake.Core" Version="3.0.0" privateAssets="all" />
  <PackageReference Include="NuGet.Common" Version="5.11.0"  />
  <PackageReference Include="CakeContrib.Guidelines" Version="1.4.0-gh-296-0001">
    <PrivateAssets>all</PrivateAssets>
    <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  </PackageReference>
</ItemGroup>

Note, how the NuGet.Common reference is in the correct version for Cake 2.0.0, but not for version 3.0.0. Also privateAssets is not set.
Building this project results in the following build warnings:

...\ClassLibrary1.csproj : warning CCG0010: NuGet.Common is provided by Cake 3.0.0 in version 6.3.1. Do not reference a different version. (see https://cake-contrib.github.io/CakeContrib.Guidelines/rules/ccg0010) [TargetFramework=net6.0]
...\ClassLibrary1.csproj : warning CCG0010: NuGet.Common is provided by Cake. It should have PrivateAssets="all" set (see https://cake-contrib.github.io/CakeContrib.Guidelines/rules/ccg0010) [TargetFramework=net6.0]


Bump RPM spec & Debian versions to JDK<IP_ADDRESS>.0+13-2

Fixes #823
Bump the RPM spec, and the debian version numbers to allow an update to include the freetype library fix, made as part of https://github.com/adoptium/installer/pull/812

Seems fine to me. Would be nice to have someone with more Debian expertise to understand the implications of the change. I wonder if there is a debian tool similar to rpmdev-vercmp that you can just put in the two numbers and see what the result is.
E.g. with vercmp, you can check which version would be 'higher' between
<IP_ADDRESS>.0+13-2 & <IP_ADDRESS>.0+13
As long as the -2 version is considered higher (by Debian), we should be good.

Nice, thanks for checking. LGTM.


feat: [CHAOS-2950]: Adds Datadog probe docs

Harness Developer Pull Request
Adds Datadog probe docs
What Type of PR is This?

[ ] Issue
[x] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6566da4bdcf4412671d935fd--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6566db6fda425b262258e97f--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6576c8b26087884a190f139f--harness-developer.netlify.app


:wrench: Add flake8 configuration file with recommended defaults

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (main@90d3e2b). Click here to learn what that means.

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3982   +/-   ##
=======================================
  Coverage        ?   98.51%
=======================================
  Files           ?       43
  Lines           ?     4039
  Branches        ?        0
=======================================
  Hits            ?     3979
  Misses          ?       60
  Partials        ?        0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Test Data Generation I - support a new API to generate skeleton schema/table from query

Summary

Test Data Generation I - support a new API to generate skeleton schema/table from query
How did you test this change?

[ ] Test(s) added
[x] Manual testing (please provide screenshots/recordings)
[ ] No testing (please provide an explanation)

https://github.com/finos/legend-studio/assets/73408381/3cebbd39-a73f-4a37-b51b-4bd37f9621fb

what is the reason we need runtime to be a runtimePointer

Engine needs runtime path


InvalidOperationException thrown trying to Join worker thread from GC thread

TinyCLR 0.9.0
VS2017
FEZ Spider (EMX)
I have a process that won't terminate because I have a worker thread running indefinitely.  This would typically be solved by setting the IsBackground property on the worker thread to true, but that property doesn't exist for TinyCLR.  So, I thought I could use a class destructor as an opportunity to stop the worker thread.  This works fine in a desktop app but in TinyCLR I get System.InvalidOperationException.
Here's a basic example showing the issue:
using System;
using System.Threading;
using System.Diagnostics;

namespace MaschMaker
{
    class Program
    {
        static void Main()
        {
            Worker worker = new Worker();

            //worker.Shutdown();    // works

            // force GC
            worker = null;
            GC.Collect();
            Debug.WriteLine("Exit Main()");
        }
    }

    class Worker
    {
        private Thread wt = new Thread(() => { Thread.Sleep(1000); Debug.WriteLine("- work is done"); });

        public Worker() => wt.Start();
        ~Worker() => Shutdown();    // does not work

        public void Shutdown()
        {
            Debug.WriteLine("> Wait for work to be done.");
            wt.Join();
            Debug.WriteLine("> Done waiting");
        }
    }
}

The exception happens on wt.Join() in the Shutdown() method.  Calling Shutdown() from Main(), instead of the destructor, works just fine.
I'm not sure that what I'm doing is the best way to get the worker thread to stop but I wasn't expecting InvalidOperationException either.

We can reproduce the exception. In fact, it appears to be a deliberate design choice inside the code. Given that, it's not something we'd remove this late in the release cycle since it may break assumptions elsewhere.
That said, relying on a finalizer to join a thread is inherently brittle given the nature of finalizers. They are not guaranteed to run at all and will not trigger if you have a reference to the object mistakenly held somewhere else. They also may not fire at a deterministic time.
A likely better solution is to use the Dispose/using pattern (which you already got close to by calling Shutdown in Main). Additionally, such a method can be used to explicitly stop the thread, using some flag or condition to get the worker thread to exit. The example posted only "works" because the worker thread exits on its own after a brief delay. If it loops, for example, even the desktop pauses in the finalizer thread on the call to Join. Since both threads are alive, the process doesn't exit (though the runtime will eventually kill the finalizer thread).

The funny thing is that after much refactoring and many layers, I didn't know I was trying to stop a worker thread from a destructor so this exception saved me from a bad design and potential bugs down the road.  Thanks again for your comments/feedback.
-Rick


Fix some bugs inside ColorPicker

Here I found and fix some bugs related to HSV mode in ColorPicker

Here I removed a fractional part from sliders so the values like 244.4 will not be committed - they are useless and incorrect

Changed alpha from (0-100) to RGBA range (0-255). HSV mode is not intended to affect the alpha channel.

Limit the H value from (0-360) to (0-359) to prevent wrap behavior on color slider. 0 is actually equivalent of 360, this fix makes it compatible with other sliders (which do not have wrap behavior).

Thanks!


NBS: Make table open/closing the concern of tablePersister

The idea here would be that tablePersister still vends chunkSource, and readAt to a chunkSource is logically bracketed with an open/close, but the tablePersister keeps an open cache of tables.
This will allow us to have a unlimited number of open tables as well as simplify the updateManifest/compaction code which current has to deal with accounting around opening/closing tables

This was closed with the addition of fdCache


Crowdin stats command

A CLI command to compute Crowdin progress

It dumps a CSV file. That works for PowerBI?

Good for now. Powerbi will consume from excel, but will need manual update every time we want to run it. I will see if there are other integration options.


autoprefixer is not applied

Hi!
I can see animations working in the official demo, but in my app they don't.
The reason is the lack of prefixes.

I'm using<EMAIL_ADDRESS>I tried installing ember-cli-autoprefixer into my app, but it didn't help.

@lolmaus Pull the animation-fix branch and see if that fixes.
I noticed an issue with the animation names clashing with the interpolated variable name.

That fixed my animation problems.

Thank you, @ynnoj. When is this gonna hit npm?

@lolmaus At some point today, working on an update.


feat: add EIP-3779 shortname for appchain

What it solves
Resolves #
https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-466.json
https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-4661.json
How this PR fixes it

@akshay-ap @germartinez pls approve

@yagopv pls approve

@yagopv @DaniSomoza pls approve

Hey @emrme. The config file in this repo is generated from the safe-deployments repo
Take a look to this doc page
A similar PR should be like this one

Hey @yagopv, my PRs to safe-deployments repo are all merged already:
https://github.com/safe-global/safe-deployments/pull/916
https://github.com/safe-global/safe-deployments/pull/915
https://github.com/safe-global/safe-deployments/pull/918
https://github.com/safe-global/safe-deployments/pull/914
So now you are waiting for npm package release I guess?

So now you are waiting for npm package release I guess?

Yes, this will be included in the next protocol-kit release. Probably next week


feature: Idempotency module

Issue #, if available: #515
Description of changes:

Creation of a new module to handle idempotency of a Lambda function.
Creation of a new module to centralize json configuration, to be reused by idempotency and validation module, potentially others?

Checklist

[x] Meet tenets criteria
[x ] Update tests
[ ] Update docs ==> will create documentation once the code itself is validated
[x] PR title follows conventional commit semantics

Breaking change checklist

RFC issue #:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

General question. Should we use the CRT Http client by default? It's by far the fastest. It is the standard http client in the Kotlin SDK but is developer preview in the Java SDK.

Sorry I was still on UrlConnectionHttpClient (https://aws.amazon.com/blogs/developer/tuning-the-aws-java-sdk-2-x-to-reduce-startup-time/). If CRT is faster, we can use it. Any idea of the ETA of this "preview"?

Project seems to have failing build when build on M1 Mac. Looks like the native lib does not support it ? Can be a problem
 (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), '/usr/local/lib/libsqlite4java-osx-1.0.392.dylib' (no such file), '/usr/lib/libsqlite4java-osx-1.0.392.dylib' (no such file)
        at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)

General question. Should we use the CRT Http client by default? It's by far the fastest. It is the standard http client in the Kotlin SDK but is developer preview in the Java SDK.

Sorry I was still on UrlConnectionHttpClient (https://aws.amazon.com/blogs/developer/tuning-the-aws-java-sdk-2-x-to-reduce-startup-time/). If CRT is faster, we can use it. Any idea of the ETA of this "preview"?

I would recommend not to use the library which is in preview. It might be a an issue in adoption as well. We can definitely create a issue to upgrade to CRT once its out as GA

Project seems to have failing build when build on M1 Mac. Looks like the native lib does not support it ? Can be a problem

(fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), '/usr/local/lib/libsqlite4java-osx-1.0.392.dylib' (no such file), '/usr/lib/libsqlite4java-osx-1.0.392.dylib' (no such file)
at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)

Yes I had the issue, I'm on M1. It works using another JDK (x86 64-bit):

java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)

Yes I had the issue, I'm on M1. It works using another JDK (x86 64-bit):

java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)

Hmm I didnt try this specific version, But any other way not to force developing module on a specific java version for M1s ? I dont think its ideal to force a specific version.

Yes I had the issue, I'm on M1. It works using another JDK (x86 64-bit):

java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)

Hmm I didn't try this specific version, But any other way not to force developing module on a specific java version for M1s ? I dont think its ideal to force a specific version. I am using latest corretto java 8. If there is no other way of configuring things differently, then may be we should re consider how the tests are written ?

I will have a look at the comments on the issue, see if there are alternative solutions.
Happy to hear if you have other ideas on how to test DynamoDB locally without Dynamodb Local. Docker? I thought about that initially, but I remember having issues on Github as build are already executed in docker (docker in docker is often an issue).

@msailes @pankajagrawal16 If you are ok with the code, I will create the doc, so we have everything in the same PR. I will also create (copy) the example in the other repo.

@msailes @pankajagrawal16 If you are ok with the code, I will create the doc, so we have everything in the same PR. I will also create (copy) the example in the other repo.

It looks good to me that we can start writing docs for sure.
Issue related to building module on M1 mac with a specific java version still remains rite ? If we dont have an alternate solution for it now, I would say document rationale and workaround in the readme for powertools-idempotency module. With step by step details for getting it work.
I can use the same steps to validate if it works on my system. Sounds good ?


The message text occasionally appears garbled

Storage Explorer Version: 1.37.0-dev (103)
Build Number: 20241122.6
Branch: main
Platform/OS: Windows11/Windows11/Linux Ubuntu 22.04/MacOS Sequoia 15.0(Apple M1 Pro)
Architecture: x64/arm64/x64/arm64
How Found: From running test cases
Regression From: Previous release
Steps to Reproduce

Expand one storage account -> Queues.
Create a queue -> Click 'Add' -> The 'Add Message' dialog pops up.
Type 'test' into message text field and ensure the message is stored as Base64 encoded -> Click 'OK'.
Check whether the message text is displayed correctly.

Expected Experience
The message text is displayed correctly

Actual Experience
The message text is displayed as garbled characters.

Additional Context
If a message is stored as 'Base64 encoded', it might be incorrectly decoded as 'plain UTF-8' and vice versa.
Here is the record:

Encoding wasn't being used to actually encode the text.

The correct query was in use for the refresh, but the applied query was not updated on refresh.

@v-xianya This issue should be fixed now. Can you please confirm?

@craxal We encountered an issue while verifying build 20241203.1. When typing a string like 'test' and storing it as UTF-8, the message text appears garbled. Could you please help check this?

@v-xianya This is expected. Some UTF-8 strings are also perfectly valid Base64 strings. Which means there's no way for Storage Explorer to know for certain how such messages were encoded. The encoding is purely a heuristic; they are not a property of the message itself.

Got it. thank you for the clarification.


es-ES.js grammar fix

Description of the PR
Found typos and illogical expressions
Changes Proposed in this Pull Request (List new items in CHANGELOG.MD)
Fixed according to modern standard EU Spanish.
Semver Classification

[X] This PR only includes documentation or non-code changes.
[ ] This PR fixes a bug and does not change the (intended) framework interface.
[ ] This PR adds methods or properties to the framework interface.
[ ] This PR removes or renames methods or properties in the framework interface.

Wrong repository? This should go to klasa-pieces 😅

Oops... thanks.


Markdown links should

Internal DanNet links in the generated markdown should use the internal-path function for the :href.

It actually doesn't matter, since the paths can just be specified as paths.


Fixes issue #859

Do not merge. For testing only.

Also fixes bug in findClusterNodes that wasn't detecting cases like
dnorm(mu[xi[i]], sd = sigma[xi[i]])

when the 2nd use of xi[i] was not lifted.  Only clear case where this would have caused a problem was when ignoring 2nd use would have made us detect conjugacy based only on the first use of xi[i].

Not deleting branch until 0.7.1 is live as we have pointed to this branch on nimble-users.


chore: use specific version

[FX-NNNN]
Description
Breaked GCR
How to test

FIXME: Add the steps describing how to verify your changes

Development checks

[ ] Add changeset according to guidelines (if needed)

PR commands

List of available commands:

@toptal-anvil ping reviewers - Ping FX team for review

Attach this link as a reason please: https://github.com/docker/buildx/issues/1533


Custom build command for ring fails

   Compiling jsonrpc-derive v18.0.0
error: failed to run custom build command for `ring v0.16.20`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installeBJJXk/release/build/ring-f607334dffc6617b/build-script-build` (exit status: 101)
  --- stdout
  OPT_LEVEL = Some("3")
  TARGET = Some("x86_64-unknown-linux-gnu")
  HOST = Some("x86_64-unknown-linux-gnu")
  CC_x86_64-unknown-linux-gnu = None
  CC_x86_64_unknown_linux_gnu = None
  HOST_CC = None
  CC = Some("cachepot clang")
  CFLAGS_x86_64-unknown-linux-gnu = None
  CFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")

  --- stderr
  running "/home/bernhard/.cargo/bin/cachepot" "cachepot" "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "include" "-Wall" "-Wextra" "-pedantic" "-pedantic-errors" "-Wall" "-Wextra" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-fno-strict-aliasing" "-fvisibility=hidden" "-fstack-protector" "-g3" "-DNDEBUG" "-c" "-o/tmp/cargo-installeBJJXk/release/build/ring-8c06859d85267280/out/aesni-x86_64-elf.o" "/home/bernhard/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/pregenerated/aesni-x86_64-elf.S"
  cachepot: error: failed to execute compile
  cachepot: caused by: Compiler not supported: "error: Found argument \'-E\' which wasn\'t expected, or isn\'t valid in this context\n\nUSAGE:\n    cachepot [FLAGS] [OPTIONS] [cmd]...\n\nFor more information try --help\n"
  thread 'main' panicked at 'execution failed', /home/bernhard/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/build.rs:656:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
The following warnings were emitted during compilation:

warning: cachepot: error: failed to execute compile
warning: cachepot: caused by: Compiler not supported: "error: Found argument \'-E\' which wasn\'t expected, or isn\'t valid in this context\n\nUSAGE:\n    cachepot [FLAGS] [OPTIONS] [cmd]...\n\nFor more information try --help\n"
warning: cachepot: error: failed to execute compile
warning: cachepot: caused by: Compiler not supported: "error: Found argument \'-E\' which wasn\'t expected, or isn\'t valid in this context\n\nUSAGE:\n    cachepot [FLAGS] [OPTIONS] [cmd]...\n\nFor more information try --help\n"

error: failed to compile `subkey v2.0.1 (ssh://git@github.com/paritytech/substrate.git#4f8e0cf6)`, intermediate artifacts can be found at `/tmp/cargo-installeBJJXk`

Caused by:
  build failed

Actually related / duplicate of #107


Add an early-out assertion to tests that we're using cython (or not)

Adds a check at the beginning of a nose invocation that asserts that a cythonized or pure-python build is being used (the check is not a test: it will raise an error to immediately abort if the expectation is not met).  A cythonized build is expected by default on linux systems unless nose is provided the new --cython-disabled flag.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Run Python PreCommit

Run Python PreCommit

Run Python PreCommit


Example Robot Contact Test failing

log.html.log
output.xml.log
report.html.log
Just installed cci and I am having issues with the example robot test.
cci task run robot -o suites robot/TaskRay/tests/create_contact.robot -o vars BROWSER:chrome
outputs
2019-06-26 15:31:22: Beginning task: Robot
2019-06-26 15:31:22:        As user<EMAIL_ADDRESS>2019-06-26 15:31:22:         In org: 00D2a000000D57h
2019-06-26 15:31:22:
==============================================================================
Create Contact
==============================================================================
Via API                                                               | FAIL |
SalesforceResourceNotFound: Resource Contact Not Found. Response content: [{'errorCode': 'NOT_FOUND', 'message': 'The requested resource does not exist'}]
------------------------------------------------------------------------------
Via UI                                                                | FAIL |
SalesforceResourceNotFound: Resource Contact Not Found. Response content: [{'errorCode': 'NOT_FOUND', 'message': 'The requested resource does not exist'}]
------------------------------------------------------------------------------
Create Contact                                                        | FAIL |
2 critical tests, 0 passed, 2 failed
2 tests total, 0 passed, 2 failed
==============================================================================
Output:  /Users/mikename/dev/salesforce/sfdx/taskray/robot/TaskRay/results/output.xml
Log:     /Users/mikename/dev/salesforce/sfdx/taskray/robot/TaskRay/results/log.html
Report:  /Users/mikename/dev/salesforce/sfdx/taskray/robot/TaskRay/results/report.html

Error: 2 tests failed.```

I've attached the log, output, and report as files.

What seems to happen in the org is that the api record create fails, the ui record create works (and does not get cleaned up), then both the ui and api verifications fail.

I have followed the project setup guide found here: https://cumulusci.readthedocs.io/en/latest/tutorial.html . Does anyone have suggestions on where I can start troubleshooting this?

Not sure what's wrong here, but it looks like this user does not have API access to the Contact object for some reason.
Here are some things to check:

make sure the org is an edition that supports the API (Enterprise, Unlimited or Developer Edition)
make sure the user's profile has API access enabled and permissions to the Contact object
check if you can access the Contact object via the REST API in another tool such as Workbench

I started with scratch orgs but also tried using a ee trial org spun from environment hub, both have the same error
The user does have api access and perms to create and read the contact object. It's successfully creating them during the ui test even.
I can successfully query Contact Id,Name from workbench as the user running the test

Any ideas on how I can dig deeper into what could be wrong?

@mtetlow ok, certainly sounds like a lack of API access for this user is not the problem. I wonder if the URL for the API call is not being constructed correctly for some reason. Try running the task with the --debug flag at the end, which should print extra log lines for each HTTP request.
On my machine this includes output like this:
2019-06-27 14:13:44,566 DEBUG https://power-platform-735-dev-ed.cs1.my.salesforce.com:443 "POST /services/data/v46.0/sobjects/Contact/ HTTP/1.1" 201 None
.2019-06-27 14:13:44,720 DEBUG https://power-platform-735-dev-ed.cs1.my.salesforce.com:443 "GET /services/data/v46.0/sobjects/Contact/003S0000018E5oVIAS HTTP/1.1" 200 None

and I'm curious how that compares in your case.

huzzah!
2019-06-27 13:42:34,854 DEBUG https://dendugtdxgg19.my.salesforce.com:443 "POST /services/data/v45/sobjects/Contact/ HTTP/1.1" 404 None Via API                                                               | FAIL | SalesforceResourceNotFound: Resource Contact Not Found. Response content: [{'errorCode': 'NOT_FOUND', 'message': 'The requested resource does not exist'}]
it should be hitting /services/data/v45.0/sobjects/Contact/
I was able to fix this by changing the api_version in the cumulusci.yml from '45' to '45.0'.
Thanks for your help with this issue!

@mtetlow that makes complete sense and I've seen this before. I'll open an issue to make CumulusCI validate the format of the api_version. glad you're unstuck.


Crash!

Hyprland Version
Hyprland, built from branch main at commit 9fba887cc9c3a8616b43f5778634541099c89c43
Bug or Regression?
Bug
Description
Hyprland 0.33.1 works just fine.  Hyprland-git, as in the commit shared, crashes or just does not launch with the Hyprland command after logging in at the TTY.
How to reproduce

Install hyprland-git on Arch Linux
Run Hyprland in the TTY
Code monkeys stole my desktop ?¿? (Doesn't launch Hyprland)

Crash reports, logs, images, videos

Hyprland Crash Report
Calm down, it was a misinput! MISINPUT!
Hyprland received signal 11 (Segmentation fault)
Version: 9fba887cc9c3a8616b43f5778634541099c89c43
Tag: v0.33.1-106-g9fba887c
System info:
System name: Linux
Node name: navi
Release: 6.6.8-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000
GPU:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c1) (prog-if 00 [VGA controller])
os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
Backtrace:
#0 | Hyprland(_Z12getBacktracev+0x62) [0x55f05a5f11e2]
??
??:0
#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x64d) [0x55f05a5bdaed]
??
??:0
#2 | Hyprland(_Z25handleUnrecoverableSignali+0x48) [0x55f05a551838]
??
??:0
#3 | /usr/lib/libc.so.6(+0x3e710) [0x7f654f85c710]
??
??:0
#4 | /usr/lib/libc.so.6(pthread_mutex_lock+0x4) [0x7f654f8addb4]
??
??:0
#5 | Hyprland(+0x16dc77) [0x55f05a615c77]
??
??:0
#6 | /usr/lib/libstdc++.so.6(+0xe1943) [0x7f654fae1943]
??
??:0
#7 | /usr/lib/libc.so.6(+0x8c9eb) [0x7f654f8aa9eb]
??
??:0
#8 | /usr/lib/libc.so.6(+0x1107cc) [0x7f654f92e7cc]
??
??:0
Log tail:
[LOG] Instance Signature: 9fba887cc9c3a8616b43f5778634541099c89c43_1703801153
[LOG] Hyprland PID: 22412
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: navi
[LOG] Release: 6.6.8-arch1-1
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000
[LOG] GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c1) (prog-if 00 [VGA controller])
[LOG] os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
[LOG] ========================
[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/
[LOG]
Current splash: Got a one-way ticket to the blues
[LOG] Creating the HookSystem!
[LOG] Creating the KeybindManager!
[LOG] [hookSystem] New hook event registered: configReloaded
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 10.78µs. Estimated average calc time: 0.02µs.
[LOG] Creating the ConfigManager!
[LOG] NOTE: further logs to stdout / logfile are disabled by default. Use debug:disable_logs and debug:enable_stdout_logs to override this.
[LOG] Creating the CHyprError!
[LOG] [hookSystem] New hook event registered: focusedMon
[LOG] [hookSystem] New hook event registered: preRender
[LOG] Creating the LayoutManager!
[LOG] [hookSystem] New hook event registered: preConfigReload
[LOG] Reloading the config!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 5.76µs. Estimated average calc time: 0.02µs.
[LOG] Using config: /home/lain/.config/hypr/hyprland.conf
[LOG] Registered dynamic var "$terminal" -> foot
[LOG] Registered dynamic var "$fileManager" -> thunar
[LOG] Registered dynamic var "$menu" -> wofi --show drun -i
[LOG] Registered dynamic var "$browser" -> librewolf
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 5.66µs. Estimated average calc time: 0.02µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 5.62µs. Estimated average calc time: 0.02µs.
[LOG] Registered dynamic var "$mainMod" -> SUPER
[LOG] Disabling stdout logs! Check the log for further logs.

git bisect please

oops, found. Should be fixed on git. Lmk.

git bisect please

❯ git bisect good
9fba887cc9c3a8616b43f5778634541099c89c43 is the first bad commit
commit 9fba887cc9c3a8616b43f5778634541099c89c43
Author: vaxerski<EMAIL_ADDRESS>Date:   Thu Dec 28 22:34:12 2023 +0100
socket2: emit configreloaded event

fixes #4285

src/config/ConfigManager.cpp | 1 +
1 file changed, 1 insertion(+)
if it makes any difference. testing latest commit now.

I found the commit myself after crashing on my own machine xd

I found the commit myself after crashing on my own machine xd

heh :) ... main working fine now. thanks.


coordinate problems

I run the "get_nearest_node" method and always get result different from result I get by using geopandas` spatial index. I doubt if the coordinate axis of x, y are rotated in your library.
Please check!

Hi @tongjiyiming thanks for using OSMnx! To give us enough information to help you, could you fill out all the information in the new issue template? It's hard to guess at the answer without knowing exactly what you did, how you did it, and what versions of packages are in play.

If it helps... I wonder if @tongjiyiming is somehow getting Euclidean distance with Geopandas, just finding the closest point to another, as the crow flies, while OSMnx evaluates the network graph and identifies the closes point along the network and not as the crow flies.

Thanks @kuanb. @tongjiyiming also, make sure you are passing in the point as a tuple of (lat, lng) or its projected/geometric equivalent of (y, x) as this is the standard for geographic coordinates (see ISO 6709). The tuple coordinates order is explicitly mentioned in the documentation.
But, again, this is guesswork... if you fill out the full issue template we'll have enough info to know what you did and how you did it, so we can troubleshoot.

See also #71


Killed the rPi by first time powering up with connected TRS cable?

I ordered 5 PCB pairs. 4 Work great, but 1 is missing any signs of life.
When I tested them, I accidentally powered one factory new PCB pair with a connected TRS cable. Is it possible to fry the chip when doing this? Like a brand new chip contains some firmware that has voltage where there shouldn't be any?

Maybe you need to secure the TRS cable. Some diodes can be helpfully here

had the same issue, might have been a voltage spike when connecting TVRS cable after connecting USB.
turned out it killed the V-USB-> 5V Diode. might be worth checking for you too ;-)

@defekkt can you give me more information on that? Not sure where this diode is, and how to check it. Thx :)

1.grab a multimeter, put it in diode mode
2. on a known-working/good board/diode measure the diode in both directions
3. then check it on the faulty board, compare the values (should be different depending on the direction).
here is the diode, next to the usb-connector


Adding Python f-string syntax support

Adding Python f-string support, as mentioned in issue: microsoft/monaco-languages#1762
This includes new tests for the f-string formatting, and all current string tests are passing, so these changes are isolated to only f-strings

@microsoft-github-policy-service agree [company="{AT&T}"]

@microsoft-github-policy-service agree company="AT&T"

Hi @hediet and @alexdima,
Would either of you two be able to review this PR? It's been open for 2 weeks without any feedback so far
Best,
Sam

Hi @rzhao271, @hediet, and @alexdima,
Could any of you review this PR? It's been open for 6 weeks now and no one has provided any feedback yet
Best,
Sam

Thanks for the PR! And sorry for the delay.


Haplotype frequency time series plot

Addresses #367.
I have not yet copied my code in the file but I plan to do it soon. I created the PR now to avoid duplicating efforts.

Hi @jonbrenas, just to say this looks like it's moving in a good direction :)
In the malariagen_data.anoph.h12 module there is a function haplotype_frequencies() which you could use to calculate haplotype frequencies here, if you moved haplotype_frequencies() to a common location like malariagen_data.util module.

Thanks @alimanfoo. I had used haplotype_frequencies() in my first prototype but, for the time series plot, counts and nobs are also needed. I considered moving the function and modifying slightly the functions using haplotype_frequencies() in malariagen_data.anoph.h12 (which is probably only garud_h12) but I wanted to limit the amount of side modifications in this PR to a minimum. I guess haplotype_frequencies() is much faster thanks to numba so I'll transition it now.

@jonbrenas to add examples here and notebook examples.

Here are a few plots.
Ag3, heatmap:

Ag3, taxon/area facets:

AF1, taxon/area facets:

Should we add a parameter to the advanced version to query haplotypes (most likely to keep only ones that have a max_af > f)?

Took the liberty to edit PR title and description so this PR looks good in the release notes.

Thanks @alimanfoo, makes a lot of sense. I think I made the changes we requested.

Just to note that this PR and #665 have some overlap and so expect there will be conflicts to resolve after one is merged before the second can be merged.
It might be slightly easier to merge this one first, and then deal with any conflicts in #665, but happy to go in whichever order you think best.


Disable multi-proc build for lab machines

The recent change to disable multi-proc builds on the lab machines using NUMBER_OF_PROCESSORS didn't work, since some of the lab machines have 4 processors.
Using TF_Build should reliably determine if we are building in the lab.

/azp run


No proxy in TBLPROPERTIES

assuming that the SerDe uses somethimg similar to
curl "http://destinationserver.domain:port/solr/core/update?commit=true"
to insert the Hive data into Solr, the following is needed in my case:
TBLPROPERTIES
(
'solr.server.proxycommand' = '--noproxy destinationserver.domain'
)
resulting in:
curl "http://destinationserver.domain:port/solr/core/update?commit=true" --noproxy destinationserver.domain

The SerDe uses SolrJ (which uses Apache Http client under the covers).
Can you elaborate on the issue, what are trying to address?

Hi,
I am trying to insert Data from Hive into Solr using the SerDe.
In my current Project the Solr server is located outside the cluster, and to reach it with e.g. curl or similar http requests it is required to provide the “--noproxy solrservername.domain” switch
<EMAIL_ADDRESS>I can insert Data into Solr from the Hadoop Cluster using curl, but when I try with the SerDe in Hive I get this error
at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:265)
at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:444)
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:392)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row
at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:253)
... 7 more
Caused by: java.lang.NullPointerException
at com.lucidworks.hadoop.io.impl.LWSolrDocument.getId(LWSolrDocument.java:59)
at com.lucidworks.hadoop.io.LucidWorksWriter.write(LucidWorksWriter.java:187)
at com.lucidworks.hadoop.hive.LWHiveOutputFormat$1.write(LWHiveOutputFormat.java:39)
at org.apache.hadoop.hive.ql.exec.FileSinkOperator.processOp(FileSinkOperator.java:689)
at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:815)
at org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)
at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:815)
at org.apache.hadoop.hive.ql.exec.LimitOperator.processOp(LimitOperator.java:51)
at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:815)
at org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)
at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:244)
... 7 more
I have tested my code in a Virtual Machine and it works perfect.
Thanks for your interest!
From: Cesar Andres<EMAIL_ADDRESS>Sent: Mittwoch, 24. Februar 2016 20:47
To: lucidworks/hive-solr
Cc: Jakobsen, Lars
Subject: Re: [hive-solr] No proxy in TBLPROPERTIES (#2)
The SerDe uses SolrJ (which uses Apache Http client under the covers).
Can you elaborate on the issue, what are trying to address?
—
Reply to this email directly or view it on GitHubhttps://github.com/lucidworks/hive-solr/issues/2#issuecomment-188425546.

The exception seems unrelated to the --noproxy request.
Please, checkout the latest source code and use Solr cloud instead. You will need to provide the zookeeper string.
TBLPROPERTIES(
     'solr.zkhost' = 'zknode1:2181,zknode2:2181,zknode3:2181/solr',
       ...
)

So this means that only Solr cloud with zookeeper is supported ?
From: Cesar Andres<EMAIL_ADDRESS>Sent: Donnerstag, 25. Februar 2016 16:45
To: lucidworks/hive-solr
Cc: Jakobsen, Lars
Subject: Re: [hive-solr] No proxy in TBLPROPERTIES (#2)
The exception seems unrelated to the --noproxy request.
Please, checkout the latest source code and use Solr cloud instead. You will need to provide the zookeeper string.
TBLPROPERTIES(
 'solr.zkhost' = 'zknode1:2181,zknode2:2181,zknode3:2181/solr',

   ...

)
—
Reply to this email directly or view it on GitHubhttps://github.com/lucidworks/hive-solr/issues/2#issuecomment-188847542.


Refactor startup deprecation messages

It doesn't change logic, it only does:

Rename the variable and function names
Use more consistent format when mentioning config section&key
Improve some messages

I do prefer the term "deprecation" instead of "startup problem". In a sense, a deprecation is a subset of a startup problem: It clearly communicates the meaning to the users, e.g changelog would list deprecations, not "startup problems".

No, I think startup is more fitting here, since not only deprecation warnings need to be reported there, for example when your DB is misconfigured

No, I think startup is more fitting here, since not only deprecation warnings need to be reported there, for example when your DB is misconfigured

Can we still do deprecations after this PR and not being forced to name them "startup problems"?

I mean… a deprecation is a startup problem?

Yes, but would you write "we've added some startup problems" into a changelog? 😆 Anyways I think the functions are still named deprecateXXX so it's likely fine.

but would you write "we've added some startup problems" into a changelog?

"Gitea tries to detect some startup problems and show them in logs"


Not showing all model after update to latest version

Describe the bug
After update twinny doesn't show all my model.
twinny before update:

Twinny after update:

Expected behavior
Twinny is showing all model. Actually previous version is working, but after i updated to latest version it's not working.
Desktop

OS: EndeavourOS (Arch Linux)
Twinny version v3.11.14

Same here, with Manjaro Linux.

Hello, the model select and provider manager was updated in this release.
https://github.com/rjmacarthy/twinny/releases/tag/v3.11.0
Different providers/models can now be set here without opening the settings menu everytime.
Hope that helps.

i'm using ollama and only ollama that doesn't have model name field.
ollama:

llamacpp/other provider:

also i don't know the API path for ollama, i've tried /api/chat, using llamacpp but it return 400 and twinny become endless loading.

now i'm using latest version 3.11.19

Hello, please make sure that your Ollama settings in the extension settings are correct i.e hostname and port.

In the provider config the model dropdown is populated based on api/tags from Ollama api. For other providers I am lazy and just put a text box there.
I will make it more clear for future release.  The endpoint for Ollama should be /v1/chat/completions.
Hope it helps,

okay it's working thanks. But if i'm using dev container, i have to change this host to host.docker.internal, and if i'm using local host is localhost. a little bit complicated. looks like my workaround was create 2 providers with the same model name, but only hostname is different.

Everyone has different setup, I just made it so it can be flexible for everyone, some more complicated than others.
Many thanks!

thank you, last question, i'm using stable-code for FIM, but it's always return 400, is there anything wrong?

thank you, last question, i'm using stable-code for FIM, but it's always return 400, is there anything wrong?

nevermid, looks like the API path for FIM is /api/generate


Add updateable static variables to TSM

Hi @xaviernogueira, I couldn't get the updateable_static_variables to work with the EnergyBudget model so I made this update and added a test to the TSM test suite (#54 )

@xaviernogueira, can you review this PR and merge it? @sjordan29's coupling to riverine depend on these fixes.

Sorry this PR slipped thru the cracks, I already implemented a fix with PR #56 . Apologies for the redundancy!


Add podspec file

Created and added a pod spec file for future pod creation.
Not to be merged until this PR and this PR have been merged, and the LoggerAPI and CircuitBreaker Pod files have been uploaded to the Spec and made publicly available.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #23   +/-   ##
=======================================
  Coverage   53.12%   53.12%
=======================================
  Files           9        9
  Lines         800      800
=======================================
  Hits          425      425
  Misses        375      375

Flag
Coverage Δ

#SwiftyRequest
53.12% <ø> (ø)
:arrow_up:

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 82d49d1...05f28cc. Read the comment docs.

Closing as Pod has been made public on the Cocoapods Spec, which negates the need for this PR and the pod branch.


Error while setting up nuki_ng platform for sensor

after update to 0.5.1 started receiving the following errors:
Was not present in 0.5.0
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:368
Integration: Sensor (documentation, issues)
First occurred: 13:22:57 (1 occurrences)
Last logged: 13:22:57
Error while setting up nuki_ng platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 368, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 672, in _async_add_entity
original_icon=entity.icon,
^^^^^^^^^^^
File "/config/custom_components/nuki_ng/sensor.py", line 133, in icon
state = self.get_state()
^^^^^^^^^^^^^^^^
File "/config/custom_components/nuki_ng/sensor.py", line 147, in get_state
door_sensor_state = DoorSensorStates(
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 714, in call
return cls.create(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 853, in create
_, first_enum = cls.get_mixins(class_name, bases)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 952, in get_mixins
mcls.check_for_existing_members(class_name, bases)
File "/usr/local/lib/python3.11/enum.py", line 936, in check_for_existing_members
raise TypeError(
TypeError: <enum 2> cannot extend <enum 'DoorSensorStates'>
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:507
Integration: Sensor (documentation, issues)
First occurred: 13:22:57 (1 occurrences)
Last logged: 13:22:57
Error adding entities for domain sensor with platform nuki_ng
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 672, in _async_add_entity
original_icon=entity.icon,
^^^^^^^^^^^
File "/config/custom_components/nuki_ng/sensor.py", line 133, in icon
state = self.get_state()
^^^^^^^^^^^^^^^^
File "/config/custom_components/nuki_ng/sensor.py", line 147, in get_state
door_sensor_state = DoorSensorStates(
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 714, in call
return cls.create(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 853, in create
_, first_enum = cls.get_mixins(class_name, bases)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 952, in get_mixins
mcls.check_for_existing_members(class_name, bases)
File "/usr/local/lib/python3.11/enum.py", line 936, in check_for_existing_members
raise TypeError(
TypeError: <enum 2> cannot extend <enum 'DoorSensorStates'>

Which HA version you're on?

Same issue. If I revert this change (line 148 in sensor.py), the sensor works again.

Thanks. After reverting line 148 in sensor.py start working also for me.

Same issue
Version of the nuke app   -   2.15.3
Core
2024.1.3
Supervisor
2023.12.1
Operating System
11.4
Frontend
20240104.0
It stopped working after i updated to the lastest version of the nuki app

Hi @inc-ali could you please take a look? I guess your PR is causing issues on some environments

Same issue. If I revert this change (line 148 in sensor.py), the sensor works again.

Worked for me to

Hi @inc-ali could you please take a look? I guess your PR is causing issues on some environments

@kvj please merge :)

Updated to 0.5.2


[Page: form/usage] Image showing wrong validation styling

On page https://www.carbondesignsystem.com/components/form/usage/
This image is showing the wrong validation styling. We don't use underline for error. We have a whole red box now.

Should be this style:

Originally posted by @shixiedesign in https://github.com/carbon-design-system/carbon-website/issues/161#issuecomment-525430070

This has been fixed


[Bug]: Reload doesn't work when using array of contentScript entries

When using an array for contentScript entry with multiple content-scripts, the extension doesn't perform reload when the code is changed.

Seems this was fixed on the latest version (I wasn't updated, sorry).


Ability to get item by index

Great work on Template7, can you add the ability to get item by index e.g:
{{clients.1.name}} or {{clients.[1].name}}
It would be cool if you could. Thanks.

Hi, but you already could do it like in your example: {{clients.1.name}}

I tried it but it does not work, I get error "SyntaxError: missing ) after argument list"

Lets take for example this context:
        var pagedata = {
            clients: [{name: 'John'}, {name: 'George'}, {name: 'Nikos'}],
            others: ['John', 'George', 'Nikos'],
            names: 'Giannis'
        };

When I try to access {{clients.1.name}} or {{others.1}} it does not work.

I was sure that it should work. Thanks, will try to implement it

Thanks, I really like Template7 for it's speed and simplicity, adding this would be great, thanks.

Hi, I also get this error "SyntaxError: missing ) after argument list" when accessing the array index directly

Hi, I also get this error "SyntaxError: missing ) after argument list" when accessing the array index directly


add MIT license to some contracts

for issue
https://github.com/ensdomains/ens-contracts/issues/174

Thanks!
Thanks, when is workflow approved by a maintainer?


make sure the first region is replicated before starting tidb

Signed-off-by: disksing<EMAIL_ADDRESS>Take advantage of the new is_initialized flag (https://github.com/pingcap/pd/pull/1555) in PD's cluster status API to avoid starting tidb-server before the first region having enough replicas.
I have tested following cases:

ansible-playbook start.yml with 3 tikv-servers. It retries 2~3 times to wait for making up replicas.
ansible-playbook start.yml with 2 tikv-servers. It retries 20 times then report an error.
ansible-playbook start.yml with 2 tikv-servers and an old PD (which does not have the flag). The wait process is skipped.

Note: Previously, it was allowed to run a cluster configured as max-replicas=3 but only has 1 tikv-server. After this PR it will be disallowed. User need to either set max-replicas to 1 or set wait_replication to False.

wait_replication = False not worked, it still checks about 18 times.
1 tikv server with replica set to 2(will add tikv server later, just for test case).


Update Game Library make the "virtual games" disappear

Hello, when I use the button "Update Game Library" of Playnite, my "virtual games" added with this add-on disappear. And if I try to add it a second time, this does not fix the issue.
Can enyone help me or I have to reinstall completely Paynite ?

are you sure you don't have a filter enabled ? if not please record a video to show the problem

I tested to do that with a clean installation of Playnite and I have no longer the issue. I don't remember what I have done to produce this issue. In wait for your reply I reinstalled Playnite, and even with this install the issue did not occur.
I apologize for opening an issue for this while there are none


Add Cloverleaf

https://cloverleaf.app
An open source app to replace your password manager without storing your passwords anywhere.
Cloverleaf is a web app that I've been working on for 4 years now with the hope of making using secure passwords easy and painless. All you need to do is enter the name of the app you want to make a password for and your super secret master password. This'll then give you a password that fits all that site's requirements without storing it anywhere.

Pretty cool, thanks!


Rename AccessToken#refresh! to refresh, leaving a compatibility alias.

This fixes #85 and #116.
Suffixing the method name with a bang may lead to a misconception that it may update the receiver especially when OAuth2::AccessToken is partially mutable.
I actually mistook it, and the following is a piece of my updated code.
  def request(*args)
    refreshed = false
    begin
      response = @token.request(*args)
    rescue OAuth2::Error => e
      raise if refreshed || e.response.parsed['errorCode'] != 401
      @token = @token.refresh!
      refreshed = true
      retry
    end
    # ...
  end

The @token = @token.refresh! part looks unfamiliar to me as a long time ruby programmer.

The source repository for this PR disappeared so I wasn't able to maintain the actual author by rebasing it onto latest master.  I've reimplemented these changes myself in #363


Set up Circle CI

Mongoidal::Revisable auto saving when there are changes should save
fails with Mongoid 6.
https://github.com/Codewars/mongoidal/blob/9d158f844d522ce39c1d8f62033f60397502f9d5/spec/external_revisable_spec.rb#L33-L46
existing.prepare_revision returns nil.
https://github.com/Codewars/mongoidal/blob/9d158f844d522ce39c1d8f62033f60397502f9d5/lib/mongoidal/revisable_base.rb#L153-L170
build_next_revision returns nil because changes becomes empty after ensure_base_revision! is called which does build_base_revision.save!, making has_revised_changes? in build_next_revision return false.


How to hide container pocesses  on the host / user namespaces

Distribution: ubuntu
Distribution version:16.04.1 LTS
*lxc info:
apiextensions: []
apistatus: stable
apiversion: "1.0"
auth: trusted
environment:
addresses:

<IP_ADDRESS>:8443
<IP_ADDRESS>:8443
<IP_ADDRESS>:8443
<IP_ADDRESS>:8443
<IP_ADDRESS>:8443
architectures:
x86_64
i686
certificate: |
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
certificatefingerprint: ea854278d6e269bb441c2b59b3407ff2a90459486478cefc439d9750e3b2afd9
driver: lxc
driverversion: 2.0.5
kernel: Linux
kernelarchitecture: x86_64
kernelversion: 4.4.0-45-generic
server: lxd
serverpid: 5462
serverversion: 2.0.5
storage: btrfs
storageversion: "4.4"
config:
core.https_address: '[::]:8443'
core.trust_password: true
public: false

Issue description
launching lots of containers results in seeing lots of containers's processes on the host, which is not usefull : is there a way to hide them on the host?

Nope, there is no way to hide them.
Even if you somehow could, that would effectively break LXD and most other container management tools that rely on being able to see the process tree from the host.


Not pusing mini_racer in default install. Closes #1438

node is used by default and usually it has less problems than mini_racer.
react_on_rails shouldn't push mini_racer in new installations. This patch removes such behavior.

This change is

@alexeyr @tomdracz Please take a look at this.

Is this a breaking change in any way?
Recommended under what circumstances?
Any downsides?

I don't quite understand why recently this change is needed.

From my perspective:

agree that mini_racer creates some headaches. Had a lot of time spent debugging and swearing when CI wasn't playing ball with libv8 versions
Breaking change? Possibly, maybe. You might hit some implementation differences but considering Node itself is built on top of v8, I wouldn't expect much difference apart from some edge cases
Having mini_racer as dependency means sneakily changing ExecJS runtime from Node to mini_racer if it wasn't previously specified. Following principle of least surprise, I would rather have the app dictate what they use for the JS engine. If people want to use mini_racer for whatever circumstances, we should let them, but they should do it in the main app Gemfile.
Can't see downsides here really. Considering you will need Node either way and it's faster, I see no reason to rely on mini_racer
mini_racer is only useful if you want to use your app in an environment without existing JS engine. But you will need Node to compile assets so this point is moot for anyone using react_on_rails

I've ran a few tests on my app that is using mini_racer gem - yanking it out resulted in no visible changes, app still works, test suite still passes etc.
Happy for this one to go, will add some minor comments.

From my perspective:

agree that mini_racer creates some headaches. Had a lot of time spent debugging and swearing when CI wasn't playing ball with libv8 versions
Breaking change? Possibly, maybe. You might hit some implementation differences but considering Node itself is built on top of v8, I wouldn't expect much difference apart from some edge cases
Having mini_racer as dependency means sneakily changing ExecJS runtime from Node to mini_racer if it wasn't previously specified. Following principle of least surprise, I would rather have the app dictate what they use for the JS engine. If people want to use mini_racer for whatever circumstances, we should let them, but they should do it in the main app Gemfile.
Can't see downsides here really. Considering you will need Node either way and it's faster, I see no reason to rely on mini_racer
mini_racer is only useful if you want to use your app in an environment without existing JS engine. But you will need Node to compile assets so this point is moot for anyone using react_on_rails

I've ran a few tests on my app that is using mini_racer gem - yanking it out resulted in no visible changes, app still works, test suite still passes etc.
Happy for this one to go, will add some minor comments.


Skeleton._sortBones() crash for bones with parents from other skeletons

It is possible for a bone to have a parent bone from a skeleton different from the original one.
Currently, the method crashes when this is the case.
This simple check fixes it. Notice that "index" might be -1 when the parent is from another skeleton in the previous iteration.

I'm deeply surprise you could get a bone with a different skeleton than the rest of the bones. This is clearly not supported by design
How do you end up with that?
Anyway this fix is great

Yeah. Shouldn't be the case I know. You won't get something like this importing regular files I think (might be wrong though).
In our app we create a separate IK skeleton and the root bone of this IK skeleton is attached to the bone from the FK-skeleton. Might be not the best design though that what I encountered.


Converter for SelectV2 operation.

Implementation of converter for ops::SelectV2 operation.

@bixia1: I am still working on improving this PR. In particular, I implement the ability to use broadcast forms for the cond, then, and else tensors. My last check-in already contains most of this implementation, but I plan to add a few more tests. For instance, currently, the case when all three tensors have different broadcastable shapes is not covered.

@bixia1: I am done with all tests for that PR.

@drivanov can you take care of this, it say cla/google failure.

@bixia1 : I'm done with this PR. Please review. Thanks!

I fixed this issue by deleting the ConvertSelectV2 class and the corresponding test for TRT < 8.2.
There is no point in having them because this converter expects cond to be passed as a boolean tensor, which can only be created for TRT >= 8.2.

@bixia1: Please, don't merge that one into master. I have resolved the formal merge conflicts appeared after the merge of PR#56942, but I need to fix something.

@bixia1: I fixed all merge conflicts. This PR is ready to merge.

Can you please rebase your branch to head, Thank you.

REBASED


New GFS/FV3 model background files (C12) containing all hydrometeors and corresponding AMSU-A (n19) observation file

Description
To provide for more thorough testing of code that calculates effective radii, we need GFS/FV3 background files with all hydrometeors (rain, snow, graupel, cloud water, and cloud ice) found in the "tracer" file.  Also, we can use a AMSU-A (NOAA-19) observation file that has been stripped down to channels 1-5, 15 which are the most sensitive to the presence of cloud and precipitation.  The new AMSU-A file contains only those 6 channels and was subsetted in Location dimension by striding every 35 points out of its original 81000 points, making the final vector length 2315.
Issue(s) addressed
See the related one in UFO
UFO 2631
Acceptance Criteria (Definition of Done)
Positive reviews
Dependencies
Coordinate together with fv3-jedi PR 764
Impact
None expected.

@cmgas I think those might files overlap with what I gave you. @gthompsnWRF are these warm start files (it looks like to me), and if yes, what is the cold start date and what are the physics options used?

@cmgas I think those might files overlap with what I gave you. @gthompsnJCSDA are these warm start files (it looks like to me), and if yes, what is the cold start date and what are the physics options used?

@cmgas @climbfuji   Yes I copied something from r2d2 archive on Orion and I am attempting to reduce it data volume from 81000(Location) x 15(Channel) down to 2315x6 so it occupies less space.  I am having massive struggles with the decimated obs file working in my CI-tests for the corresponding PR in fv3-jedi due to issues with _FillValue.  Hopefully I can fix that problem quickly.

@gthompsnJCSDA how did you produce these files?
Some of it overlaps yes, @climbfuji but these wouldn't be sufficient to run UFS.

@gthompsnJCSDA how did you produce these gfs files? Some of it overlaps yes, @climbfuji but these wouldn't be sufficient to run UFS.

They were in either your directory or the main r2d2 archive directory (on Orion) that Fabio sent to me.  If you want, I can run FV3-GFS (prototype v16) simulation at C768L127 for you.  I have run it multiple times myself.


.mambarc/.condarc being ignored?

I have a .mambarc which specifies only the conda-forge channel but when building with boa packages were being installed from pkgs/main.
I copied my /opt/micromamba/.mambarc to /opt/micromamba/.condarc but without any luck. What did work was copying /opt/micromamba/.mambarc to ~/.condarc (copying to ~/.mambarc also didn't seem to work).
So, I think there are two (probably related) issues here:

boa seems to only support .condarc and not .mambarc
boa seems to ignore a .condarc in $MAMBA_ROOT_PREFIX

See also #265

See also #265

In my case I found that the .condarc does work, but only if it is located at ~/.condarc and not in a system location (e.g. $MAMBA_ROOT_PREFIX).

I believe that we were indeed relying upon a system config, rather than user, in the scenario that I was outlining in #265 - though it's been a while! Also seems to be true for at least the first reply there, from someone else experiencing it. I do think that this is probably the same issue.
Probably best if I close #265, rather than you closing this one, as I think your report is more accurate and succinct.

I do think that this is probably the same issue.

Yeah - this is probably a dup of your issue but happy to keep discussion here if that's easiest.

I think this issue also impacts the creation of new environments from an environment.yml that specifies boa as a dependency. In my base environment mamba info reports:
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch

Exactly as I would expect. However, if I create a new environment (mamba create -f environment.yml) based on an environment.yml that contains
name: build_env
channels:
    - conda-forge
dependencies:
    - boa

then inside of that environment mamba info reports:
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch

If I don't list boa as a dependency in environment.yml then the resulting environment only includes the conda-forge channels like I would expect. I can also manually install boa in to one of these environments and conda-forge remains the only active channel.
The only way I've been able to include boa as a dependency in environment.yml and keep conda-forge as the only channel in the new environment is to copy .condarc, which only lists the conda-forge channels, from my system mambaforge install to ~/ before creating the new environment.

This one bit me again. Fortunately, I remembered this issue and copied my .mambarc to ~/.condarc and the build was able to progress until the test stage.
At the test stage it then fails with:
RuntimeError: Solver could not find solution.Mamba failed to solve:
 - eq-example 0.9.9 h0ef3cea_0
 - python 3.10.12 hd12c33a_0_cpython
<snip>

with channels:

The reported errors are:
- Encountered problems while solving:
-   - nothing provides requested eq-example 0.9.9 h0ef3cea_0

...so, it can't find the package that was just built. The empty with channels: also seems a bit suspect.
I have created duplicate .mambrc/.condarc file in both system and home folders with no luck resolving the issues in the test stage.
I suspect this problem may have always been there and I just wasn't testing before (I have historically tested externally to the build)


Update lerna to v2.0.0-rc.4

Summary
This change bumps lerna to v2.0.0-rc.4.
@cerner/terra

Don't merge this just yet, running into some issues with the heroku deployment.


Docs should be clearer on how to import components when using react-css-themr / react-toolbox-themr and create-react-app

I just ran into the issue mentioned here: #1278
The README mentions importing Raw Components, but this results in theme functionality being excluded.
https://github.com/react-toolbox/react-toolbox#raw-component
I think the Importing Components section would benefit from an additional sub-section describing how to import components when using the theming utilities and create-react-app.

Docs need to be updated for 2.0 still. It's something that will be worked on. 2.0 is still a beta release. If you need something more stable with good docs, I would drop down to 1.3.

fair enough. thanks!

Thank for the answer @izakfilmalter !


[Bug] The process of adding energy to the network causes massive amounts of lag

Basically, whenever I put a Plug on any energy storage and begin to drain it, my game immediately drops down to about 10 FPS. It seems to only happen during energy transfer, and stops when there's no energy to drain.
Modlist - http://prntscr.com/qdnux6
Latest Log - https://paste.dimdev.org/esaxeyaqen.md
Version - 1.12.2
Forge - <IP_ADDRESS>47
Mod Version - 4.0.13-30

I've no idea about this, because plug won't do anything on client side most of the time. You can join our Discord from the link on curseforge for further help

Huh. I just discovered something weird. This bug isn't happening if I use the exact same modpack, the same exact configuration, but do it in a different world. What.

the world you mean is dimension? so which dimension have you tested in

Not dimension, save.

I suppose you should provide more info

I would love to, but I'm honestly not sure what else I can provide. The modpack and the save itself? The logs don't seem to be saying anything, at the very least, as seen above.

what the difference between the saves. are they new save? btw I recommend you to always use the latest version before testing


Accessing mostly protected memory areas and corrupting collections of repository

Describe the bug
As title.
To Reproduce
Steps to reproduce the behavior:

Continue debugging until this exception occurs.
See an exception.

Expected behavior
Screenshots (optional)
Version

Windows:
FluentHub:

Additional context
Add any other context about the problem here.

This problem no longer occurs. The next time we encounter this, reopen this issue.

This problem no longer occurs. The next time we encounter this, reopen this issue.

Ok, nice!


Use struct-defined initialization when available

The  grpc_polling_entity and grpc_httpcli_response types have default
member initializer values specified, to indicate what a cleared variable
of those types should have as values.
This file overrides that, however, by directly performing a memset to 0
over the structures. Instead, the initialization values defined by the
type should be honored.
Local types that include these types are also upgraded to specify
default member initializer values to simplify clearing them.
This fixes -Wclass-memaccess warnings in modern versions of GCC.

Anything else needed here?

Issues : #18416

Thanks for the pull request @KeithMoyer


Why does yt-dlp get 403 errors but JD2 doesn't?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Genuinely curious, when I use yt-dlp to download a playlist, I get 2 or 3 videos before running into a wall of 403 "log in to prove you're not a bot" errors. If I switch over to JDownloader 2, I can get the entire list, albeit at a throttled speed.
Is there something different about how JD2 makes the connection? I don't know much about it but it just seems to work, even though I am not providing login information for either application. I do prefer yt-dlp though because I like to automate it using BAT scripts.
Provide verbose output that clearly demonstrates the problem

[] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[] If using API, add 'verbose': True to YoutubeDL params instead
[] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
This is just a question, not a bug report. no verbose output to provide

Are you using --flat-playlist when downloading playlists with yt-dlp?
If not, then yt-dlp will effectively try to open every video in the playlist.

Interesting, no I'm not. When I read the definition of that switch, I thought "extract" was referring to listing the playlist on the screen or to a file.

https://github.com/iv-org/documentation/pull/581
PR coming from Invidious to avoid YT block.

I can not confirm. Both yt-dlp and JDownloader 2 get hit with the same "Sign in to confirm you're not a bot" message:

It would have been helpful if you actually provided a verbose log.

This is just a question, not a bug report. no verbose output to provide

We ask for a verbose log (even on questions) for a reason. You might not see value in providing a verbose log, but it does provide a lot of value to us by knowing what version you are running, in what environment you are running yt-dlp, what requests were being made, what error exactly happened...
Please share a verbose log of the error happening.
Especially the

wall of 403

is strange, since that almost sounds like you are using an outdated yt-dlp version and get hit by the poToken 403s. Either way, impossible to know without a log.


Drop down navigation for geographies.

Add the same functionality as the current nav bar but for the geographies.

Mainly this will have a visual impact and make it easier to navigate the site.


add multithread for matrix-mul

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


botocore not included in dependencies for PyPi package

As of version 2.1.0 a botocore dependency has been added, and is listed in requirements-dev.txt, but isn't included for the PyPi package built by setup.py. As a result you will get an ImportError when trying to use the package if you haven't manually installed the dependency.
It would be nice if the SASL component would be automatically disabled if botocore isn't present so all clients don't require the extra dependency if that feature isn't needed.
For reference, here's the import stack that leads to the error.
  File "C:\...\venv\Lib\site-packages\kafka\__init__.py", line 19, in <module>
    from kafka.admin import KafkaAdminClient
  File "C:\...\venv\Lib\site-packages\kafka\admin\__init__.py", line 2, in <module>
    from kafka.admin.client import KafkaAdminClient
  File "C:\...\venv\Lib\site-packages\kafka\admin\client.py", line 10, in <module>
    from kafka.client_async import KafkaClient, selectors
  File "C:\...\venv\Lib\site-packages\kafka\client_async.py", line 11, in <module>
    from kafka.cluster import ClusterMetadata
  File "C:\...\venv\Lib\site-packages\kafka\cluster.py", line 8, in <module>
    from kafka.conn import collect_hosts
  File "C:\...\venv\Lib\site-packages\kafka\conn.py", line 11, in <module>
  File "C:\...\venv\Lib\site-packages\kafka\sasl\__init__.py", line 3, in <module>
    from kafka.sasl import gssapi, oauthbearer, plain, scram, msk
  File "C:\...\venv\Lib\site-packages\kafka\sasl\msk.py", line 13, in <module>
    from botocore.session import Session as BotoSession  # importing it in advance is not an option apparently...

My apologies! Let fix the imports so that it's not required to be installed.

Great, thanks!


[HUDI-6386][WIP] Fixing compaction plan parsing issue when compaction.requested is empty

Change Logs
Fixing compaction plan parsing issue when compaction.requested is empty. This is a multi-writer tests where we aggressively try to reload timeline and try to archive commits. From local debugging, looks like we are trying to fetch compaction plan from an empty compaction.requested file, but the file was just getting written out by a concurrent thread. By the time the file write could complete, other thread tries to parse the plan and fails. Fix is to wait for 50 ms and then give give one more chance that the requested file could have been fully written out.
Impact
Fixing compaction plan parsing issue when compaction.requested is empty
Risk level (write none, low medium or high below)
low.
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@nsivabalan : It looks like we assume that files (.requested). that are being created are immediately available to readers. S3 for example does not allow this.
Also, I enabled this test in master and ran it multiple times without the corresponding code change in CompactionUtils.java and they pretty much succeeds consistently.
Let me know if you are ok with just enabling this test in master.

sure @bvaradar. sg.


Find the Union and Intersection of the two sorted arrays

Category C++

Change location to Programs/c++

You can also contribute to my new repository where you can contribute by opening pull requests for DSA related programs. :)
https://github.com/deniss-eh/DSA-HACKTOBERFEST

I made the changes, you requested.
kindly check my PR #10

I made the changes, you requested. kindly check my PR #19

checked and merged and now im closing this pr