KAFKA-8421: Still return data during rebalance

Not wait until updateAssignmentMetadataIfNeeded returns true, but only call it once with 0 timeout. Also do not return empty if in rebalance.

Trim the pre-fetched records after long polling since assignment may have been changed.

Also need to update SubscriptionState to retain the state in assignFromSubscribed if it already exists (similar to assignFromUser), so that we do not need the transition of INITIALIZING to FETCHING.

Unit test: this actually took me the most time :)

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@ableegoldman @hachikuji for reviews.

retest this please

Also cc @ConcurrencyPractitioner who've looked into this.

retest this please

Every build has 10+ failures, mostly the XXX.testNoDescribeProduceOrConsumeWithoutTopicDescribeAcl tests -- are these just broken on trunk or are you looking into them?

I ran them locally but they do pass (some are indeed flaky: with 10 runs they are going to fail at least once).
I will have one more commit trying to address some comments and will ping again when I'm done.

Discussed a little bit offline. We need to be a little careful with how an active rebalance affects other consumer operations. Specifically, a call to commitSync might fail spuriously if it happens to get sent on the wire after a JoinGroup.

@hachikuji Here's my thoughts about the interleaving of rebalance and commit requests:

If a commit request is sent before the join-group request, it is normally handled just like a commit request sent in the onPartitionsRevoked callback and nothing changes.

If a commit request is sent after the join-group request, but before the response is received. It has two scenarios:

2.a) The group is still in Prepare_Rebalance phase, then it is still normally handled.
Note that if the join-group failed with a fatal error, the commit request would also fail with the same error (confirmed with code); if the join-group failed with a retriable error, the commit request would also fail with that error. Among them:

COORDINATOR_LOAD_IN_PROGRESS would just cause us to retry, which would eventually succeed or fail.
COORDINATOR_NOT_AVAILABLE and NOT_COORDINATOR would re-discover coordinator and retry, which would still succeed of fail.

2.a) The group is already in Completing_Rebalance phase because it has either elapsed the rebalance timeout or all members have joined. Then the generation has already incremented, and the commit would fail with a fatal ILLEGAL_GENERATION immediately and the client will throw with CommitFailedException.

If a commit request is sent after the sync-group request, but before the response is received. In this case the generation id of the commit request would also be incremented. It also has two cases:

3.a) The group has already transited to Stable since it has received the sync-group from leader, it is normally handled as if it is in the new generation already.
With incremental protocol it is fine since those owned partitions would not be re-assigned to others in that rebalance immediately; with eager protocol we just need to make sure that nothing gets sent in offset commits since nothing is owned.
3.b) The group has not transited, and is still in Completing_Rebalance phase, the generation id would match though. In this case a retriable REBALANCE_IN_PROGRESS is returned. However the error code would be handled as a fatal CommitFailedException on the consumer client.

If a commit request is sent after the sync-group response, it is normally handled just like a commit request after the rebalance.

So in sum the commitSync call should not be stuck while interleaving with the rebalance, but it may indeed fail with CommitFailed ( case 2.a) and 3.b)).
I’d propose we do the following:
a. Filter the passed in offsets map with assigned partitions (this is to help case 3.a)).
b. Special handling case 2.a) by comparing its generation.id in the request and its current generation id, and if they do not match retry with the new generation id.
C. Special handling case 3.b) by introducing a RebalanceInProgressException (as we discussed in https://github.com/apache/kafka/pull/6894/files#r291415806 and let the caller to decide whether / how to retry -- if it decides to retry, then it’s the caller’s responsibility to call poll() to make sure the rebalance completes before commit again.
WDYT?

@ableegoldman @hachikuji @RichardYuSTUG I've updated the PR with the above analysis, would like you to take another look.

Failed tests pass locally, retest this please

retest this please

Seems like merging this without some corresponding changes in Streams might cause a lot of our tests to fail. Are you working on/planning to open a PR with the Streams-side changes alongside this?

Seems like merging this without some corresponding changes in Streams might cause a lot of our tests to fail. Are you working on/planning to open a PR with the Streams-side changes alongside this?

Actually unit tests all passed locally (maybe just because we do not have the corresponding coverage), and I think only one place needs to be updated (see my comments above). Will try to run the system test from this branch tomorrow.

https://jenkins.confluent.io/job/system-test-kafka-branch-builder/3307

All failures are on testNoDescribeProduceOrConsumeWithoutTopicDescribeAcl (there are 8 subclasses of the parent EndToEndAuthorizationTest), and all 8 have been reported for this flakiness: https://issues.apache.org/jira/issues/?jql=text ~ "testNoDescribeProduceOrConsumeWithoutTopicDescribeAcl"

retest this please

Actually unit tests all passed locally (maybe just because we do not have the corresponding coverage)
Right, I forgot but we did explicitly disable committing during a rebalance. We will need to enable this in a followup PR for Streams, but it shouldn't case any failures as is.

Also, env failure on both Java11 builds, 4 failures of type testNoDescribeProduceOrConsumeWithoutTopicDescribeAcl on Java 8. Retest this please

retest this please

I have found a real bug in consumer while fighting the flaky tests.
As for system tests, I can confirm the following ones:
Clients:
http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2019-10-29--001.1572386012--guozhangwang--K8421-return-data-during-rebalance--8b08a3e/report.html
Core:
http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2019-10-29--001.1572402226--guozhangwang--K8421-return-data-during-rebalance--8b08a3e/report.html
Existed in trunk as well, so this PR itself does not break any more system / unit tests now.

Note this PR now also includes a fix for https://github.com/apache/kafka/pull/7312, could rebase after the other PR is merged (kept it here to avoid flaky tests).

A quick grasp on its effectiveness: we ran a simple benchmark with 10 instances within a single JVM on a single node, and run a rolling bounce on each one of these 10 instances: around timestamp 250 the first one is bounced, and around timestamp 350 the last one is resumed.
Comparing this branch: http://streams-benchmark-results.s3-website-us-west-2.amazonaws.com/experiments/stateheavy-3-2-2-5-0-faf787e5b-guozhang-20191104105435-rebalance-roll-i/1_process-rate_summary.png
With trunk: http://streams-benchmark-results.s3-website-us-west-2.amazonaws.com/experiments/stateheavy-3-2-2-3-2-5f379722d-john-20191104105627-rebalance-roll-i/1_process-rate_summary.png
One can observe that during the rolling bounce phase (250 -350) this branch’s process rate can sometime still goes to 0 while some other time it can approach about 80% of the normal processing; whereas in trunk it is consistently 0.

System test has one flaky one in connect kafkatest.tests.connect.connect_distributed_test but I've confirmed it is flaky itself in trunk as well: http://confluent-kafka-system-test-results.s3-us-west-2.amazonaws.com/2019-11-12--001.1573615516--apache--trunk--9a125a7/report.html
So in other words I think system tests are good with this PR. Call @ableegoldman @vvcephei for another look.

@vvcephei @ableegoldman @hachikuji Ping again for another look please. I think this PR is ready to have a final review.

Discussed a little bit offline. We need to be a little careful with how an active rebalance affects other consumer operations. Specifically, a call to commitSync might fail spuriously if it happens to get sent on the wire after a JoinGroup. It is doomed to fail with an illegal generation error after the JoinGroup completes and the generation is bumped. We probably should try to handle this.
I think it might also be possible to get into a bad state if we are stuck between joining and syncing. The SyncGroup request will not be retried automatically. We rely on a call to poll() in order to drive retries. If the group member happens to be the group leader, then a failure to send the SyncGroup would mean the group would be stuck in the CompletingRebalance state and no offset commits would succeed.

@hachikuji my current solution to this is to let users who capture the newly introduced RetriableCommitFailure exception to call poll to complete the rebalance and then possibly retry commit. LMK if you have any further questions; if not I will merge the current PR.

@hachikuji it is ready for another look.

@hachikuji I have made another commit, which moves back to RebalanceInProgressException from RetriableCommitFailedException. But the latter cannot be deprecated still since it is used internally within commitAsync. Also reverted the illegal generation handling. Hopefully this is the last commit :)

Looked into kafka.api.ConsumerBounceTest.testRollingBrokerRestartsWithSmallerMaxGroupSizeConfigDisruptsBigGroup and it seems irrelevant.

Re-run the failed tests locally and it seems stable (30+ runs), will create the flaky test JIRA and merge.


⚠ Bofrost.de has degraded performance

In 8a3454f, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1934 ms

Resolved: Bofrost.de performance has improved in 7f18c60 after 6 minutes.


Proof of concept | Request for comments

Hi Peter !
Your project is pretty cool !
Thank you for the inspiration, I didn't know about shellcheck or bashunit so the last few weeks I rewrited most of my scripts. It feels great to have them compliant with latest standards and I learned a lot.
I intended to use bashew it in my symfony projects but I realised I needed a way to have several actions in the same script.
I needed a versatile script to install, deploy, run tests, lint code, and run commands. Also I need them to work seemlessly in production, in the development environment, on bare metal, inside containers or in the ci pipeline...
Also I wanted to reduce complexity to the maximum.
I gave it a lot of thought, and I eventually ended up with this proof of concept
I would love to hear your thoughts about it, maybe you would like to use this idea in the next version of bashew.

Hi Peter ! How are you doing ?
There is no obligation, but I would be really happy to have your feedback on this.
Thanks ;-)

Hi Matthias,
I like the way you create 'actions' dynamically.
It is something I have been thinking about too for bashew.
I might use some of those ideas later.
Thanks!


[Bug]: beam.FlatMap() raises an error at pipeline construction time

What happened?
This was a regression introduced by 0de98210f4531fbfd88265bc02052b27bd299602, which is in the 2.40.0 release.
When expanding a FlatMap(<built-in function>) users will encounter an error:
AttributeError: 'builtin_function_or_method' object has no attribute '__func__'

Issue Priority
Priority: 2
Issue Component
Component: sdk-py-core

Note the breakage is just for beam.FlatMap constructed with a built-in, beam.Map is unaffected. Moreover, only built-in functions (e.g. len, sum, iter) trigger the problematic path, not built-in types (e.g. list, bytes, set). The former have __self__ attribute which makes them look like methods to the logic added in 0de9821:
In [1]: sum.__self__
Out[1]: <module 'builtins' (built-in)>

So to summarize, just beam.FlatMap(<built-in function>) will fail. It's actually kind of hard to devise a use-case for this, since the built-in function must produce an iterable. I thought this over and only came up with beam.FlatMap(sum) over a PCollection where the elements are lists of numpy arrays. I looked over the list of built-in functions and couldn't come up with another way to use one in a FlatMap.
Given that, I'm not sure this issue has a large enough blast radius to warrant a bugfix release. Not there is a straightforward workaround for that use-case, wrap sum in a helper function or lambda:
def _sum(x):
  return sum(x)

pc | beam.FlatMap(_sum)


Added Graphql Endpoints

[x] Currently, All the Models are available for queries at graphql/
[x] Requests Model is Integrated with Filter Options.
[x] CSRF and CORS Support.
[ ] Filter Options For Other Models with django-filter

What is the requirement for this feature?

We cannot have an open endpoint because we have a lot of sensitive data. Closing this PR now


New grader-setup service for kubernetes (the old setup-course service)

just sent to allow you see the changes

@jgwerner this PR contains:

A folder with the code for the new grader-setup service (flask based)
src folder with the illumidesk base code that was copied from original/main repo
A Makefile that helps with the building of jupyterhub image; installing the new base code and pushing the image to illumidesk/jupyterhub:k8s-beta namespace

*The grader-setup-service folder contains a yml file with all the kubernetes objects required to launch/use this service


Update visualization.py

Hey
I found following undefined names:
lib/visualization.py:96:16: F821 undefined name 'query_timeline'
lib/visualization.py:110:16: F821 undefined name 'query_timeline'

I changed these to query

visualization.py is rewrited now in this version


Internationalization

First of all thanks for the awesome working on making Pluto an even better tool for teaching!
We are currently setting up a (sort of) signal processing course for German-speaking students and would like to add internationalization to the box labels. Thus, I would like to start a discussion here on how we could get this into PlutoTechingTools.
I found two packages for i18n:

https://github.com/Julia-i18n/Gettext.jl
https://github.com/KlausC/ResourceBundles.jl

Do you have a preference here? How could we go forward on implementing this?
Cheers
Jonas

Thanks for the feedback and interest.
I'm afraid that I have only a passing familiarity with internationalization issues and no experience addressing them.  Do you the pros and cons of the two packages you cited?  (E.g., is Gettext.jl not changing much recently because it already does what it aims to well, or because it's a dead end?)
Are you thinking that you'd like an easy way to swap out which language's words are displayed by the functions for "common" words/phrases (e.g., almost, correct, danger, hint, etc.)?
Or are you thinking bigger?  E.g., instead of making two notebooks one in German and one in English, there would be text for both languages in one notebook?  That would sounds more like a project for the main Pluto/PlutoUI folks, then for this pacakge.
If it's just the former, then I'm a little reluctant to create a dependancy on PyCall or a big package like ResourceBundles.jl that does way more than we need.
My first thought was that we could make a submodule for each language that contains a set variables set to their language-specific strings.  Then the main PlutoTeachingTools module could import one of those submodules based on the locale id.  In the main module, we'd refer to the strings by variable name (instead of hard coding them like now).
Do you see a weakness in that approach?

I am also not that deep into i18n. To me, it looks like Gettext.jl is mainly a wrapper for the Python equivalent and thus the functionalities are set and no further development has to be done.
We are thinking bigger here and would like to be able to switch whole parts of Markdown text to another language, but for the start we would like to get rid of the hard-coded strings. The submodule approach sounds good. I will check, how this can be extended without bringing all languages into the main Git and try to come up with a PR.

Another potential work around would be to set the main PlutoTeachingTools with __precompile__(false) and to put as much of the code as possible to submodules that could be pre-compiled.  I'm not sure if that would add a noticeable startup cost.

How about
module PTTAbstract
 abstract type AbstractLanguage end
 function hint_str end
 export AbstractLanguage
end

module PTTEnglish
 import ..PTTAbstract: AbstractLanguage, hint_str

 abstract type English  <: AbstractLanguage end
 struct EnglishUS <: English end

 hint_str(lang::Lang ) where { Lang <: English }  = "Hint"
end

module PTT
 import ..PTTAbstract: AbstractLanguage, hint_str
 using Markdown

 function hint(text, lang::AbstractLanguage = default_language )
   Markdown.MD(Markdown.Admonition("hint", hint_str(lang), [text]));
 end

 # default
 import ..PTTEnglish: EnglishUS
 default_language = EnglishUS()
 function set_language!(lang::AbstractLanguage)
    global default_language = lang
  end

 export set_language!, hint
end

module PTTGerman
 import ..PTTAbstract: AbstractLanguage, hint_str
 import ..PTT: hint
 struct German <: AbstractLanguage end

 hint_str(lang::Lang ) where { Lang <: German }  = "Hinweis"
 hinweis = hint
 export hinweis
end

Then use it like
using .PTT
hint("1")

using .PTTGerman
hint("2")

set_language!(PTTGerman.German())
hint("3")
set_language!(PTTEnglish.EnglishUS())
hint("4")

That solution looks like the Julian way I didn’t see because of being too focused on macros. Will try to come up with a PR.

That would be great!
With the benefit of a fresh look, I think I could have put both each of the modules inside the PTT module.
It's not clear to me if it's a good plan for using PlutoTeachingToolsGerman to automatically change the default stored in another module.  Once we have the basic setup working with at least two languages, then we could put more thought in how to initialize the default language (e.g., based on ENV["LANG"]) to avoid the manual set_language!(...) step.

@jonschumacher I created a basic preferred_text() in v0.2.3.  You may be interested in trying it out and building on it.

Looks good. Thanks for the hint!


Release 3scale 2.11 stable

I see this is just fast-forwarding stable to candidate, so I'll go ahead and 👍 this one, so we can handover to QE for CR1


IAM-429-Automate approving and merging lib updates

This PR sets automerge on for automated-update-charm-libs PRs, and automatically approves them.

i'd say to rebase on main and then squash all the commits into 1


Fix/exporter sorting

Exporter is generated from ESM to CJS using Vite.
TODO:

[x] Refactor to Typescript
[x] Add rich test cases in cooperation with @crishpeen
[x] Refactor generators to simple functions
[x] Add CONTRIBUTING.md

@crishpeen 🆘  I will appreciate your cooperation in generating more test cases for the tests. Because I do not recognize your intention exactly in a few cases.

// Generated Generic Tokens (Other) from Supernova. Do not edit manually.
$container-max-width: 1280px !default;
$breakpoint-mobile: 0 !default;
$container-padding-mobile: 16px !default;
$grid-gutter-mobile: 16px !default;
$container-padding-tablet: 32px !default;
$grid-gutter-tablet: 32px !default;
$breakpoint-tablet: 768px !default;
$container-padding-desktop: 32px !default;
$grid-gutter-desktop: 32px !default;
$breakpoint-desktop: 1280px !default;

$containers: (
    max-width: $container-max-width,
) !default;

$breakpoints: (
    mobile: $breakpoint-mobile,
    tablet: $breakpoint-tablet,
    desktop: $breakpoint-desktop,
) !default;

$container-paddings: (
    mobile: $container-padding-mobile,
    tablet: $container-padding-tablet,
    desktop: $container-padding-desktop,
) !default;

$grid-gutters: (
    mobile: $grid-gutter-mobile,
    tablet: $grid-gutter-tablet,
    desktop: $grid-gutter-desktop,
) !default;

This is the current output for _other.scss. Is it sorted the right way or it should be sorted differently? Because it seems to me that properties are not sorted alphabetically, but they are grouped by breakpoints; and sorted alphabetically (because breakpoint sorting is applied as the last sorting method).

Output after conclusion that there is no sorting when comparing values with the same breakpoint value, eg. desktop vs desktop and so on. I've applied localeSort when the breakpoints are the same.
// Generated Generic Tokens (Other) from Supernova. Do not edit manually.
$container-max-width: 1280px !default;
$breakpoint-mobile: 0 !default;
$container-padding-mobile: 16px !default;
$grid-gutter-mobile: 16px !default;
$breakpoint-tablet: 768px !default;
$container-padding-tablet: 32px !default;
$grid-gutter-tablet: 32px !default;
$breakpoint-desktop: 1280px !default;
$container-padding-desktop: 32px !default;
$grid-gutter-desktop: 32px !default;

$containers: (
    max-width: $container-max-width,
) !default;

$breakpoints: (
    mobile: $breakpoint-mobile,
    tablet: $breakpoint-tablet,
    desktop: $breakpoint-desktop,
) !default;

$container-paddings: (
    mobile: $container-padding-mobile,
    tablet: $container-padding-tablet,
    desktop: $container-padding-desktop,
) !default;

$grid-gutters: (
    mobile: $grid-gutter-mobile,
    tablet: $grid-gutter-tablet,
    desktop: $grid-gutter-desktop,
) !default;

Output after conclusion that there is no sorting when comparing values with the same breakpoint value, eg. desktop vs desktop and so on. I've applied localeSort when the breakpoints are the same.

I would love to see this order:
$breakpoint-mobile: 0 !default;
$breakpoint-tablet: 768px !default;
$breakpoint-desktop: 1280px !default;
$container-max-width: 1280px !default;
$container-padding-mobile: 16px !default;
$container-padding-tablet: 32px !default;
$container-padding-desktop: 32px !default;
$grid-gutter-mobile: 16px !default;
$grid-gutter-tablet: 32px !default;
$grid-gutter-desktop: 32px !default;

$breakpoints: (
    mobile: $breakpoint-mobile,
    tablet: $breakpoint-tablet,
    desktop: $breakpoint-desktop,
) !default;

$containers: (
    max-width: $container-max-width,
) !default;

$container-paddings: (
    mobile: $container-padding-mobile,
    tablet: $container-padding-tablet,
    desktop: $container-padding-desktop,
) !default;

$grid-gutters: (
    mobile: $grid-gutter-mobile,
    tablet: $grid-gutter-tablet,
    desktop: $grid-gutter-desktop,
) !default;

🔤 sort and breakpoint sort. But anything stable is ok with me. Till now it felt like it was random :)

Also please update the version in exporter.json. So when this is merged we can install a newer version in supernova easily.

I would love to see this order:

Well, this will require a more advanced approach using sub-sorting. Eg. sort by alphabet first, then take sort only groups with breakpoint suffix, but do not mess with other sorted values -> take out the group, sort it and put it back in the same place.
So I propose to merge this if you are ok with this state and work on better sorting later.


FIX: Staff can always assign

The first commit only brings the feature back. The second commit fixes a bug where the assign modal was not letting us search for users correctly.
cc @SamSaffron

@SamSaffron I updated the PR based on your comment.
I had considered your idea before starting working on this PR but I don't think there's an easy way of switching the site setting to store the IDs without changing core 🤔. What I propose is to send the allowed groups list alongside the assign suggestions since they're only used by the assign modal.

I had considered your idea before starting working on this PR but I don't think there's an easy way of switching the site setting to store the IDs without changing core

I say start off by changing core then, even just giving it one more option. I far prefer a cleaner implementation even if it means that our building blocks need to be re-designed.

I did some research and changing the site setting to store IDs instead of group names will be the best approach. This setting type is also used by the ads plugin but can be safely changed.
I'll make the necessary changes and will open a new PR.


MFFW: A new dataset for multi-focus image fusion

Thank you for providing the MFFW dataset. I can't get the download link in the original article, may I ask where you downloaded it? There are only 13 images in the dataset, do you know the rest?

https://www.semanticscholar.org/paper/MFFW:-A-new-dataset-for-multi-focus-image-fusion-Xu-Wei/4c0658f338849284ee4251a69b3c323908e62b45

https://www.semanticscholar.org/paper/MFFW:-A-new-dataset-for-multi-focus-image-fusion-Xu-Wei/4c0658f338849284ee4251a69b3c323908e62b45

Thank you very much for your reply. I can download the paper, but I can't find the download link of the corresponding dataset.


Zarate/upgrade mint

fix doofinder/dfcommon#963
this is somehow complex to explain:

if this PR is approved, then this doofinder/clickhousex doesn't depend on a git commit of Mint, but rather on a particular mint version. That would allow this project to be published
so, if this PR is approved, then I'll publish this as a package with version 0.4.0 but I won't merge this branch just yet
if this is published as a package, then stats project can depend on this package (currently, it depends on this project via git), and it can itself be publiished, therefore doofinder/dfcommon#963 can be achieved
if stats , depending on clickhouse 0.4.0, which itself depends on mint 1.5.1 is ok, then I can merge this branch into the master, otherwise, to revert, stats should be reverted to depend on the git master of doofinder/clickhouse which itself (since we haven't merged the branch yet) depends on git 8... of mint

Only a question, We can't change to more uptodate library?

Only a question, We can't change to more up to date library like pillar?

I'm all for that. But I would do that after we stabilized things with clickhousex. When stats and dftasks works fine depending on this internal clickhousex hex package, I'd change it to pillar, because changing library probably means changing code a lot ...


Standalone pages

Hey, the suggested way of creating standalone pages doesn't seem to be working -- at least in my installation of hugo. The "About" page, for instance, shows no content.

It looks like your about page is using the list template. What is the directory structure you are using?

Forgot to mention -- sorry -- that I was just checking out https://github.com/shenoybr/hugo-goa-demo

What version of hugo are you using?

What version of hugo are you using?

$ hugo version
Hugo Static Site Generator v0.18-DEV BuildDate: 2016-12-02T00:44:45-02:00

Salazar

Let me try it with 0.17; sec.

It does work with 0.17.

ok, so its some sort of breaking change in 0.18 I guess.

You are very welcome :)

i'm having this same issue, hope it gets fixed soon, thanks for building this really nice theme though!

@sadmansk, last I tried it worked with Hugo 0.17. You can downgrade until there's a fix :)


Bluescreen if enabled Kernel-mode Hardware-enforced Stack Protection on windows 11

Using v2.0 with the latest Genshin impact version.
Instant bluescreen on launch.

I also got this error.

Yes, same here.

Not related to unlock fps. The stack protection is interfering with hoyo's anti-cheat module and causes BSOD.

This setting targets kernel code aka kernel-level drivers (.sys)
Unlocker does not load any drivers


Terminal loses focus on launch

Windows Terminal version
1.11.3471.0
Windows build number
10.0.22000.376
Other Software
WSL (Ubuntu-21.10)
oh-my-posh 6.42.4 (just listing - don't know if relevant)
Steps to reproduce
When I start Terminal (my default is set to an Ubuntu 21.10 WSL distro) and WSL is not running (on Win startup or shut down forcibly by wsl --shutdown), after WSL starts and the prompt appears, Terminal loses focus and requires clicking on the window (or Alt-Tabbing) to shift focus again. This problem seems remotely related to #11952 but has nothing to do with Visual Studio.
This problem does not happen when WSL is already running.
It happens irrespective of the method I use to start Terminal, primarily 3:

Right-click context menu (example video below)
Win+X → I method
Using Microsoft Powertoys

https://user-images.githubusercontent.com/45428344/148919242-64b1f67d-94e9-46dc-9de4-74189e45d0bd.mp4
Expected Behavior
Terminal launches, acquires focus and stays that way until intended to by the user (or some other relevant process).
Actual Behavior
Terminal launches, acquires focus, but loses it on appearance of the prompt when WSL starts from a shutdown state.

This sounds like #10050 to me. I bet there's an issue on the WSL issue tracker for this...

I see https://github.com/microsoft/WSL/issues/2597 and https://github.com/microsoft/WSL/issues/3123 both of which are closed and point to https://github.com/microsoft/terminal/issues/179 which has been marked as solved, but the issue apparently persists. Is there any other active thread pertaining to this? I see https://github.com/microsoft/terminal/issues/8720 but it seems a little different, like with all apps. WSL issue tracker seems to redirect back to this repo in many cases.

@amzon-ex can you check if disabling Linux GUI support by adding the below to .wslconfig (refer docs.microsoft.com/en-us/windows/wsl/wsl-config#configure-global-options-with-wslconfig)
[wsl2]
guiapplications=false

For linking:

https://github.com/microsoft/WSLg/issues/443
https://github.com/microsoft/WSL/issues/7511

Whoa, that fixes it! (albeit at the sacrifice of GUI app support...)
I'm on WSLg version 1.0.28, which https://github.com/microsoft/wslg/issues/443 seems to refer to as the patch in which the issue there is not reproducible.

Well, I'm glad we've got a beat on the root cause at least. I'd follow up on their repo with that, so they can fix this. Thanks for the confirmation!
/dup https://github.com/microsoft/WSLg/issues/443


fix(docs): README formatting inconsistencies (#54)

Fixing conflict with prettier and markdown-magic when generating TOC.

Codecov Report

Merging #54 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #54   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          16     17    +1
  Lines         160    161    +1
  Branches       19     19
=====================================
+ Hits          160    161    +1

Impacted Files
Coverage Δ

.prettierrc.js
100% <100%> (ø)

Continue to review full report at Codecov.

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

This depends on PR #55 to fix update-lockfile status check.

Have rebased master with the fix for circleci, not able to merge without an approval.


Rails 4.2.*

Hey guys,
I have a Rails 4.2.* project which comes with sprockets version 3.* at the moment.
The gemspec for the project indicates it's depending on sprockets 2.*
I'm wondering if it's only a mater of upgrading the gemspec to support the newer sprockets version, if that's the case I would create a Pull Request.
But since I'm not familiar with the project I was hoping some one with some more experience could give some advice.

Bump to this; I'm trying to use this with a Rails 4.2 project and getting the error message couldn't find file 'hamlcoffee' with type 'application/javascript' when I try to require hamlcoffee. I will look in the project, but like @niels-s , I am not super familiar with the project, so I'm not sure what generates/places/locations the necessary JS files.

I'm also encountering an issue with the dependency on ~> 2.0. There are problems with foo vs foo/index.js for assets, related to https://github.com/rails/sprockets-rails/pull/241 and https://github.com/rails/sprockets/pull/36. I'm trying to update to the latest Sprockets 3.x to try and resolve it, but I can't because of this gem.

I'm stuck with sprocket 2.x dependency too, is there any plan to support sprockets 3.x?

@ccverak I believe this project is still missing a maintainer. #130.

@aprescott I believe this might have been fixed with the new sprockets-rails release https://github.com/rails/sprockets-rails/issues/257


fix: run_dkg in background task instead of blocking

Closes #2815
These changes update the run_dkg API to set the server status to ReadyForConfigGen, then return after spawning a background task to handle the rest of coordinating DKG.
Previously, calls to run_dkg would block until DKG completed amongst all peers. This is troublesome for clients since there was no way to gracefully recover if a client experienced connectivity issues or elapsed a timeout.
UI
These changes are not guaranteed to be backwards compatible for all clients, however testing against the UI repo (https://github.com/fedimint/ui/tree/c0cf511902f9e33cd66bb6438e4a56c95a395991), I verified these changes fix the issue without required changes.
Before
Introduces a 100s sleep in distributed_gen, simulating poor network behavior which causes clients to timeout

After
Same 100s sleep as before, along with closing tabs for all followers and reconnecting
https://github.com/fedimint/fedimint/assets/11034691/cb8417b7-a1e3-4526-b92d-2a75ef0818bc

Successfully created backport PR for releases/v0.1:

#3236


Migrate build style

Description
Flutter gradle-plugins imperative build style has been deprecated.
Todo

[x] Migrate build style
[ ] Verify F-Droid works

fixed in 0034183


tests: use npm ci

npm ci is much faster and is meant for CI. This PR is meant for evaluating the new ci command and testig the performance and compare the logs of Travis CI.
https://docs.npmjs.com/cli/ci
http://blog.npmjs.org/post/171556855892/introducing-npm-ci-for-faster-more-reliable

@DanielRuf, this is great! Thank you! I don’t yet know where to measure it’s impact. Could you show me?

With npm ci the complete run took 55s.
With the previous setup it took around 20s. So in this case it does not bring such a big performance improvement and so I'll close this PR.
Unfortunately we can only see the difference when the testsuite was running at least once.
https://travis-ci.org/jonathantneal/postcss-nesting/builds/369195533
https://travis-ci.org/jonathantneal/postcss-nesting/builds/277350867#L431


Adorad doesn't compile on MacOS (M1)

`adorad % cmake -S . -B build
-- The C compiler identification is AppleClang <IP_ADDRESS>00029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - broken
CMake Error at /opt/pkg/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"

is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/matyasjanos/usr/src/adorad/build/CMakeFiles/CMakeTmp

Run Build Command(s):/opt/pkg/bin/gmake -f Makefile cmTC_ff0e5/fast && /opt/pkg/bin/gmake  -f CMakeFiles/cmTC_ff0e5.dir/build.make CMakeFiles/cmTC_ff0e5.dir/build
gmake[1]: Entering directory '/Users/matyasjanos/usr/src/adorad/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ff0e5.dir/testCCompiler.c.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc    -MD -MT CMakeFiles/cmTC_ff0e5.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_ff0e5.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_ff0e5.dir/testCCompiler.c.o -c /Users/matyasjanos/usr/src/adorad/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_ff0e5
/opt/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ff0e5.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_ff0e5.dir/testCCompiler.c.o -o cmTC_ff0e5
ld: library not found for -lSystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [CMakeFiles/cmTC_ff0e5.dir/build.make:100: cmTC_ff0e5] Error 1
gmake[1]: Leaving directory '/Users/matyasjanos/usr/src/adorad/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_ff0e5/fast] Error 2

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/matyasjanos/usr/src/adorad/build/CMakeFiles/CMakeOutput.log".
See also "/Users/matyasjanos/usr/src/adorad/build/CMakeFiles/CMakeError.log".
`

I'm not too familiar with Mac, so I won't be of much help. Looking through your error logs, I see the
ld: library not found for -lSystem

Must be missing a library?

On Mac I suppose the System library is part of the base system, somilarly to libc on Linux. XCode and clang seems to be installed correctly (I also reinstalled them to make sure), so I assumed something must be wrong with how it's called by cmake.

I encourage you to try and poke around the codebase to see what's causing this. I don't have a Mac on me, so it's a little difficult for me to pinpoint it.

I hope you were able to fix this, @mjanos5? If not, please feel free to reopen the issue


feat(plugin-mocks): Added mocks for getAllPlugins query

Changes:

add mocks for getAllPlugins query

This has been implemented in a different PR


underscore in numbers

ruby had this nice feature to add underscore between digits for numbers 1_000_000_000
it would be great if goby can do it too.

@rezam90 yep I think this is a good idea, thanks!

@shes50103 are you willing to try this?

@st0012 Does this involve the parser or only Lexer?
Anyone looking to make this change this is a good place to start:
https://github.com/goby-lang/goby/blob/b6a1996c7832449e3c1bb71c61d6b867c91901cc/compiler/lexer/lexer.go#L267

@SD10 it seems that you're quite familiar with the components related to this feature, want to give it a try?

If no one else claims it then sure
What do you think about supporting other forms of numeric literal syntax?
1.2e-3                      # Float
0xaabb                    # (Hexadecimal) Fixnum
0b001001               # (Binary) Fixnum
0377                       # (Octal) Fixnum

I think we need to support all of them, but not right now

ok, I can do it!


alpha 0.2.0 not working on Windows Blender 4.1.1 and 4.2.0

I've installed the alpha 0.2.0 version in Blender 4.2.0 and Blender 4.1.1 (Windows 11) while it does successfully install, I do not see the Intuition RF panels and I do not see the custom nodes in geometry nodes.

Hello !
Can you confirm that you have linked your OpenEMS installation as per the instructions at the end of the readme file ?
(cause I see the empty configuration of your plugin in picture #1).
I think it might be possible to have the plugin download and install all required dependencies (especially on Windows, since OpenEMS comes with built binary), but I haven't developped it.
I haven't updated to 4.2 yet, I'll check. I think the way plugins register to blender changes in 4.2, might be related.

ok after linking my openEMS installation I confirm now that it works, thank!


How to make nSkinz undetected without junkcode?

How to make nSkinz undetected without junkcode?

vmprotect

not scope of project


how to prevent  np.exp(delta[3, :])  not overflow?

delta[0, :] = delta[0, :] * p.anchor[:, 2] + p.anchor[:, 0]
delta[1, :] = delta[1, :] * p.anchor[:, 3] + p.anchor[:, 1]
delta[2, :] = np.exp(delta[2, :]) * p.anchor[:, 2]
delta[3, :] = np.exp(delta[3, :]) * p.anchor[:, 3]

how to prevent  np.exp(delta[3, :])  not overflow?
since I got 'nan' for many times after the above calculation in my training about DaSianRPN
so I wonder how guys not encounter   'nan'  in this step

@foolwood


Failed to create new contract in the new project created by kuai init

$ kuai contract new --name hello
New contract "hello"
error: No such file or directory (os error 2)
Error: Command failed: cd /home/ian/codebase/kuai-hello-dapp/contract && capsule new-contract hello --template rust

Fixed by creating the directory contract/contracts manually

Please have a check @PainterPuppets

It looks like the capsule is not initialized, which may occur because the project was not created via kuai-cli init
Submitted a pr to optimize this process, so that if the capsule is not initialized, it will be initialized automatically.
https://github.com/ckb-js/kuai/pull/489


Fix armi/materials/b4c.py::density3 to utilize TD frac

Description
B4C was having issues with density conservation and component expansion. Turns out, density3 was not including the theoretical density defined in armi/materials/b4c.py. This PR resolves:

resolves this
updates test_components.py::TestComponentExpansion to loop over multiple materials. The additional cost is minimal and covers common important reactor materials.

also includes minimal clean up for clarity improvements.

Checklist

[x] This PR has only one purpose or idea.
[x] Tests have been added/updated to verify that the new/changed code works.

[x] The code style follows good practices.
[x] The commit message(s) follow good practices.

[x] The release notes (location doc/release/0.X.rst) are up-to-date with any bug fixes or new features.
[x] The documentation is still up-to-date in the doc folder.
[x] The dependencies are still up-to-date in setup.py.

Sure.
Do you have good eyes on what downstream projects this will affect?

Should be good to go.


To split ratings - use method that simply rounds up (or down)

          If this is to be part of the package, using a method that simply rounds up (or down) the number would be more elegant. As it is now, it is a bit confusing, e.g., `0-1` does not include 0 nor 1, but `2-3` includes both 2 and 3.

Originally posted by @vedran-kasalica in https://github.com/Workflomics/workflomics-QCmetric/pull/15#discussion_r1665468318

It is not part of the package but rather a one time thing for evaluation, and the distributions of the test and train sets had pretty much equal distributions so I will be leaving it as is.


The new web project can not run .

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?
1.Create a new web project named demo;
2.Try to run , and it showed following error :
--- 21:51:49 Starting pub serve : demo ---
Your pubspec has changed, so we need to update your lockfile:
Resolving dependencies...

browser 0.10.0+2
Cannot create link, path = 'E:\my_workplace\dart\demo\packages\browser' (OS Error: 函数不正确。
, errno = 1);

the project can not run.
How can i do ?
What version of the product are you using?
Dart: 1.10.0
On what operating system?
windows 7
What browser (if applicable)?
chrome 39.0.2171.95 m
Please provide any additional information below.

This issue has been moved to dart-lang/pub#27.


Corrected Temperature converter logic and Added Background image.

Issue No. : #952
Code Stack : HTML, CSS , Javascript
Close #952

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy-to-understand README.md
[X] I have gone through the  contributing.md file before contributing

[ ] I'm a GSSOC'24 contributor
[X] I'm a SSOC'24 contributor

@sanjay-kv @Stiffpixels @OkenHaha @KeyurGK Can anyone explain why the checks were not successful


ADD a project in intermediate/advanced section in readme.md

@OtacilioN can you please this this task to me for adding an intermediate project to the the readme file for contributors to contribute on it.

Please assign to me


Log to stdout by default

We need the manila-scheduler and
manila-share containers to write
logs to stdout so these logs
can be gathered by kubectl/oc log
commands.

@fmount: this helps us debug the tempest failures a bit more:
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openstack-k8s-operators_manila-operator/63/pull-ci-openstack-k8s-operators-manila-operator-main-manila-operator-build-deploy/1656355177315176448/artifacts/manila-operator-build-deploy/openstack-k8s-operators-gather/artifacts/pods/manila-share-share1-0-containers.log
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openstack-k8s-operators_manila-operator/63/pull-ci-openstack-k8s-operators-manila-operator-main-manila-operator-build-deploy/1656355177315176448/artifacts/manila-operator-build-deploy/openstack-k8s-operators-gather/artifacts/pods/manila-scheduler-0-containers.log


fix: correct logic for switching alt delimiters

Fixed a problem where toggling delimiters was not working due to copy statement.
Confirmed that toggling works correctly across different buffers.

This is a direct revert of fea637c from #531 by @svalaskevicius. There must me something one or both of you are not testing because it can't be right both ways. What versions of VIM are you using to test with?

Yeah it's essentially a revert of. Running archlinux with binary from the pkg manager and current version VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Aug 11 2024 20:40:17). Im probably doing something wrong but certainly that line is causing the bug.

It looks like a pretty safe bet that @svalaskevicius is running NeoVIM based on his dotfiles:
https://github.com/svalaskevicius/dotfiles/blob/master/.config/nvim/conf/plugins.vim#L25
That might have something to do with why you're coming to opposite conclusions. I don't think we should just revert either way or even just gate it on VIM vs. NeoVIM, there is probably an actually right way to do this that works properly in both environments. That's what we should go for.

Completely agree with you. Thanks for your time.

(Personally I'd prefer to keep this open to track the known problem until we find a fix, the "closed" label doesn't encourage participation or responses which we kind of need here to sort this out.)

Sounds perfect!

Confirming commit 3f860f2 breaks alternate delims in the latest Neovim nightly as of writing, however it is working fine in Vim 9.1.
I agree with @alerque, as this is a Vim library, it may not be appropriate to revert the change due to behaviour in Neovim, albeit a nuisance.
I'll try find some time to investigate a solution for #531 that works for both Vim and Neovim.

+1 on merging this PR, the toggling of alternative delimiters stopped working for me as well. Would be really nice to have this fix ASAP :)

I like my comments in C/C++ to be // so I use alternate delimiters. I'm also a frequent user of NERDCommenterToggle. When I toggle in a C file the first time it uses // and then every time after that it uses /* ... */. Applying this pull-request to the nerdcommenter code solves this problem for me.
This gets a +1 to merge from me.
I'm running Vim 8.0.1763 on Linux.


Fix dialyzer reporting unmatched_return for Sentry.PlugCapture

Hello
I've got a project with stricter dialyzer settings:
dialyzer: [
        ...
        flags: [
          :error_handling,
          :race_conditions,
          :underspecs,
          :unmatched_returns
        ]
      ],

and for Phoenix Endpoint module I've got warning:
lib/app_web/endpoint.ex:1:unmatched_return
The expression produces a value of type:

  :excluded
  | :ignored
  | :unsampled
  | {:error, :invalid_dsn | {:invalid_json, _}}
  | {:ok, <<>> | %Task{:owner => pid(), :pid => nil | pid(), :ref => reference()}}

but this value is unmatched.

I cannot silence use Sentry.PlugCapture for dialyzer the usual way with _ =, only dialyzer.ignore-warnings can shut it.
That happens because Sentry.capture_exception is returning multiple values.
Would you accept fix like that?
Another approach would be to have capture_exception function that returns just single atom but I'm not sure what would be a right name for it.

Thanks for the pull request!


OHS 12.2.1: Issue with configureWLSProxyPlugin.sh

Hi, I have the OHS 12.2.1 image built as per docs but having an issue when supplying a custom_mod_wl_ohs.conf file to set up the WLS plug in. I see the following via docker logs:
root@braan:/var/lib/docker/volumes/volume# docker logs ohs

MW_HOME=/u01/oracle/ohssa
DOMAIN_NAME=ohsDomain
OHS_COMPONENT_NAME=ohs_sa1
INSTANCE_CONFIG_DIR=/u01/oracle/ohssa/user_projects/domains/ohsDomain/config/fmwconfig/components/OHS/ohs_sa1
/u01/oracle/container-scripts/configureWLSProxyPlugin.sh: line 41: cd: /u01/oracle/ohssa/user_projects/domains/ohsDomain/config/fmwconfig/components/OHS/ohs_sa1: No such file or directory
mv: cannot stat 'mod_wl_ohs.conf': No such file or directory
Copying /volume/custom_mod_wl_ohs.conf to /u01/oracle/ohssa/user_projects/domains/ohsDomain/config/fmwconfig/components/OHS/ohs_sa1
cp: cannot create regular file '/u01/oracle/ohssa/user_projects/domains/ohsDomain/config/fmwconfig/components/OHS/ohs_sa1/mod_wl_ohs.conf': No such file or directory
Starting Node Manager and OHS server after successful configuration of WebLogic Server Proxy Plug-In
MW_HOME=/u01/oracle/ohssa
ORACLE_HOME=/u01/oracle/ohssa
DOMAIN_NAME=ohsDomain
OHS_COMPONENT_NAME=ohs_sa1
cat: date: No such file or directory

OHS starts but the routing to WLS is not set up. I can go in later and manually copy the custom_mod_wl_ohs.conf file to INSTANCE_CONFIG_DIR and once the container is restarted all working as expected.
Any idea what is up with the initial execution of configureWLSProxyPlugin.sh?

Hi @amyles, do you still have this issue ?

@amyles we have submitted a new OHS image <IP_ADDRESS>, can you verify if you still encounter a problem with the new image?

Hi @brunoborges and @mriccell sorry been away from this for a while. I will retest soon and let you know.

Hi @amyles, any update?


Release v190

https://github.com/heroku/heroku-buildpack-python/compare/v189...57aee6f104872b04dc0f226dc3169fc59d827842
Closes GUS-W-8896689.

$ ./etc/publish.sh
Deploy as version: v190 [y/n]? y

Tagging commit 53971e7444e66e19b77bd9a97aaee9ffa69cd109 with v190...
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/heroku/heroku-buildpack-python
 * [new tag]         v190 -> v190
Two-factor code: ********************************************
Publishing buildpack heroku/python... done
Publishing buildpack was successful
Done.

$ h buildpacks:versions heroku/python | head -n 4
Version  Released At               Status
───────  ────────────────────────  ─────────
190      2021-02-16T21:03:15.542Z  published
189      2021-02-12T11:16:25.562Z  published

https://devcenter.heroku.com/articles/python-support#supported-runtimes
https://devcenter.heroku.com/changelog-items/2030


refactor: adding CheckForMisbehaviour to 07-tendermint client

Description

Adds CheckForMisbehaviour to 07-tendermint

ref: #879 PR3

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

I think there is some more test scenarios that need to be covered from looking at misbehaviour_handle_test.go, but I wanted to share this so I know I'm moving in the right direction. I've updated the return sig from (bool, error) to only return a bool, and adapted the logic.
Just want to confirm logic is correct before moving forward with more test cases. cc. @colin-axner @seantking


Ensure all variables are initialized.

Initialize all variables. See https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#es20-always-initialize-an-object
can also be checked with clang-tidy.

@Timple @Rayman @rokusottervanger I would like some feedback from at least one of you to keep the PR train going. :-)


⚠ Bofrost.es has degraded performance

In 1d80b45, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1602 ms

Resolved: Bofrost.es performance has improved in 11a1ab7 after 6 minutes.


generator: Trailing underscore in test method name.

If the canonical data description of a problem has trailing whitespace.
"description": "negative value is an error ",

The xruby generated test will have trailing underscore.
def test_negative_value_is_an_error_

Is the correct thing to do:
a) Fix the canonical data?
b) Fix the xruby generator?
c) Do both?
d) Do something else?

We can't "control" the canonical, so defend against it here.  If it is corrected and never shows up in canonical data again, it will be fine.
But definitely mention it or correct it in canonical.

canonical data fixed by https://github.com/exercism/problem-specifications/pull/839

So now to defend against it here, I think?

Resolved by #732 which ensures test names won't have extra underscores if the canonical data has trailing (or leading) whitespace.


font-inspector: cmap.glyphIndexMap always appears as [object Object]

For example, the default font file on https://nodebox.github.io/opentype.js/font-inspector.html.

Yes, there is no decoder yet for that part of the structure. We should add one.

Code is here for reference: https://github.com/nodebox/opentype.js/blob/master/font-inspector.html#L147 (and if you want to hack on it yourself)

`<pre>${JSON.Stringify(value, null, 2)}</pre>`works but looks absolutely absurd…
I should make a collapsible <dl>…

I just realized that the PR I made yesterday (#192) fixes this issue.

You could update the css to make the block scrollable:
#font-data dd {
    margin-left: 12em;
    word-break: break-all;
    max-height: 100px;
    overflow-y: auto;
}

Still, it could look better ;-)
Do we really need to display hundreds or thousands of indexes here ? What for ? What would be the best view to make it easy to find useful information ?

The best way might be to add extra info to the glyph inspector: to show the unicode mappings for every glyph index.
The question is what you would want to do with the information. The glyph index map is not the "raw" data stored in cmap. Cmap stores a number of segments -- maybe it's more useful to show those here, with hyperlinks to the correct glyph.

@Mottie I've added the scrolling CSS tweak to make the view a bit more palatable. Thanks!


Make sure function.json for templates have all required fields to create new app.

#172 fixes this


Add event: ask me anything Caitlin McGurk - Oct 21

As part of the social events we are featuring an AMA the week before. Katy will be sending you our other speaker.
This is Caitlin McGurk. Pronouns she/her. Associate Curator and Associate Professor at the Billy Ireland Cartoon Library and Museum, at The Ohio State University.
Here too is our working blurb about the event:
AMA - Working with Art and Cartoons
October 21st, 2021. 3:30-4:30 Online
This free event will be offered in an AMA (Ask Me Anything) format. Your opportunity to learn what it is like to work almost exclusively with visual collections! Have you wondered what it is like to feature comic strips, or the best way to present art? Learn about two unique Ohio libraries, the Jessica R. Gund Memorial Library and The Billy Ireland Cartoon Library & Museum from two of their librarians!  Join us for this fun event and bring your questions. Conference registration not required.
The only thing I think we are missing at this point is how to sign up. Let me know if you have any questions. We think it would be fun to use her Cartoon headshot if possible (credit: Taylor Chiu).


Object { error: "popup_closed_by_user" } in FireFox in some cases. Chrome works fine.

Hi, thank you for your plugin. Here is my situation since your plugin doesn't seem to run really consistently.

Browser
My App
Your app

Firefox
error: "popup_closed_by_user"
OK

Firefox (private mode)
OK
OK

Chrome
OK
OK

What do you think the issue is?

I found out that firefox block facebook by default due to it's tracking protection feature. Could you put it somewhere in the README.md for others?
https://stackoverflow.com/questions/33855626/firefox-blocking-facebook-js

Hi @fuction1983, I will add it to the README.md and thanks. Also, this repo is open for collaboration if you have any feature that you would like to include.


Add more explicit mentions of documentation

Something we mention briefly in the materials is documentation, but we don't go into much detail regarding it. We do talk about it in e.g. the Git, Quarto and Jupyter material, but given the discussions in https://github.com/NBISweden/workshop-reproducible-research/issues/289#issuecomment-2511090516 I think we can be more explicit about this.
One solution would be to first be more explicit throughout the materials in general that documentation is indeed a thing the students should be thinking about. This would entail going through the material and adding mentions where applicable. The second part would be to add explicit mentions in the lectures as well - I'm thinking in the Quarto/Jupyter lectures as well as the final putting-it-all-together lecture.
Another solution would be writing a whole new page just for documentation, but I'm unsure where that would fit into the schedule.
Other ideas?

I think a section on documentation at the end, for binding it all together, would be a useful addition.
The paper The five pillars of computational reproducibility: bioinformatics and beyond has a section on documentation that could be expanded upon, and in particular includes some links to check lists which students could use as exercise material.
MDAR: https://osf.io/2k3va/
The MDAR stuff might be too much, but making a smaller checklist like README, compute resources used, data accessibility, etc would be useful to students.


Slow affine multiplication for ed_on_bls12_377

Summary of Bug
We did a lot of benchmarking for our ark-substrate fork of ark-curves which replaces costly operations by host function calls. There we encountered very high benchmark times for affine multiplications on ed_on_bls12_377: https://github.com/achimcc/substrate-arkworks-examples/blob/main/benchmarks-comparison.md Are these results plausible?
Version
0.4.0
Steps to Reproduce
Check the benchmarks in:
https://github.com/achimcc/substrate-arkworks-examples
https://github.com/achimcc/native-bench-arkworks
https://github.com/achimcc/wasm-bench-arkworks

Projective mul works fine on my machine:

Arithmetic for EdOnBls12_381::G/Scalar Multiplication
time:   [91.411 µs 92.351 µs 93.369 µs]

Arithmetic for EdOnBls12_377::G/Scalar Multiplication
time:   [84.361 µs 84.819 µs 85.352 µs]

Same for affine:
Arithmetic for EdOnBls12_377::G/Scalar Multiplication Affine
time:   [97.460 µs 98.264 µs 99.053 µs]

Happy to help investigate the code. Maybe it's an artifact of translation between wasm and the host?

It's almost surely our benchmarks being screwed up, so afaik this could be closed for now.

Yes, I can confirm! Apologies! I guess I los my head over writing hundreds of nechmarks and for this one I scred it up.


[chip-test] chip_sw_adc_ctrl_debug_cable_irq

Test point name
chip_sw_adc_ctrl_debug_cable_irq
Host side component
SystemVerilog
OpenTitanTool infrastructure implemented
No response
Contact person
No response
Checklist
Please fill out this checklist as items are completed. Link to PRs and issues as appropriate.

[ ] Check if existing test covers most or all of this testpoint (if so, either extend said test to cover all points, or skip the next 3 checkboxes)
[ ] Device-side (C) component developed
[ ] Bazel build rules developed
[ ] Host-side component developed
[ ] HJSON test plan updated with test name (so it shows up in the dashboard)
[ ] Test added to dvsim nightly regression (and passing at time of checking)

doesn't this test already exist?
https://cs.opensource.google/opentitan/opentitan/+/master:hw/top_earlgrey/dv/chip_sim_cfg.hjson;l=854-859?q=chip_sim_cfg.hjson&ss=opentitan%2Fopentitan

gah, this might have been my mistake. I i think i enhanced one of the tests to support irq and forgot to update all the relevant notes.

Aah, someone pointed out in the last DV meeting that this was undeveloped and untracked, so I created this issue. I looked at the C test and it adequately covers the IRQ path to PLIC.


build failed

tried following your guide, have dowlnoaded all libraries etc etc, but it failed again -
andy@andy-VirtualBox:~/CryptonoteEvo-CLI/build$ make -j4 evonote-crypto
[  4%] Building C object CMakeFiles/evonote-crypto.dir/src/crypto/tree-hash.c.o
/home/andy/CryptonoteEvo-CLI/src/crypto/tree-hash.c:12:10: fatal error: crypto-cuckoo_load.h: No such file or directory
#include "crypto-cuckoo_load.h"
^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/evonote-crypto.dir/build.make:518: recipe for target 'CMakeFiles/evonote-crypto.dir/src/crypto/tree-hash.c.o' failed
make[3]: *** [CMakeFiles/evonote-crypto.dir/src/crypto/tree-hash.c.o] Error 1
CMakeFiles/Makefile2:142: recipe for target 'CMakeFiles/evonote-crypto.dir/all' failed
make[2]: *** [CMakeFiles/evonote-crypto.dir/all] Error 2
CMakeFiles/Makefile2:154: recipe for target 'CMakeFiles/evonote-crypto.dir/rule' failed
make[1]: *** [CMakeFiles/evonote-crypto.dir/rule] Error 2
Makefile:144: recipe for target 'evonote-crypto' failed
make: *** [evonote-crypto] Error 2

Fixed #6


Bad Documentation.

What is 'shhhhh' for? Is this the secret ?? It is siple not clear. You may make it more clearer in the Readme.md

'shhhhh' is secret which can either be hard coded or stored in .env


FIX-#5204: fix binary operations with a dictionary

Signed-off-by: Dmitry Chigarev<EMAIL_ADDRESS>
What do these changes do?

The PR fixes the  ._validate other() behavior when the other is a dictionary. The function iterates through the other container in order to extract the inner types:
other_dtypes = [type(x) for x in other]

It appeared that this doesn't work for dictionaries as the dict.__iter__() iterates on the keys but not on the values. So, the PR introduces a special case for dictionaries in the ._validate_other().

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #5204
[x] tests added and passing
[x] module layout described at docs/development/architecture.rst is up-to-date

@anmyachev CI is green


monir:体验问题

Codecov Report

Merging #86 (3c51185) into v2.6.x_develop (135e7d8) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 3c51185 differs from pull request most recent head 90f415a. Consider uploading reports for the commit 90f415a to get more accurate results

@@               Coverage Diff               @@
##           v2.6.x_develop      #86   +/-   ##
===============================================
  Coverage           51.29%   51.29%
===============================================
  Files                 692      692
  Lines               36573    36573
===============================================
  Hits                18759    18759
  Misses              17814    17814

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 135e7d8...90f415a. Read the comment docs.


add support for solderpaste layer/components

https://github.com/tscircuit/core/pull/138#issuecomment-2395559024
solderpaste only created with smtpad for now


⚠ Bofrost.de has degraded performance

In 02c974a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1037 ms

Resolved: Bofrost.de performance has improved in bb9dc20.


Investigating moveit_grasps

Extraneous motion when preforming pick and place action has been an issue for the tictactoe game. The grasp message has fields for pre_grasp_approach (direction and distance), post_grasp_retreat and defines a pre_grasp pose for the location/orientation. The moveit documentation defines collsion objects for the move_group.pick function as well as the pick/place grasp messages to execute. Currently the O's for the tictactoe game are not imported as objects into the environment.
There is a moveit_tutorial for pick and place in cpp. There is also a grasp tutorial page that goes more in depth about the grasp pipeline.
This solution may be more complex than is needed for tictactoe; however, it seems like it could fix the extraneous movements issue at the key moments for picking and placing objects.

Extraneous motion is still an issue for game movement (Example). Final positions are correct but motion to pickup/placement is unreliable. Further investigation of Pilz motion planner could result in solution.


Not an issue anymore since this has been ported to the Grafana repo.


fix(jsonld-context): Removing fs dependency for JSON LD default contexts

Closes #837
Using async import instead of require('fs').

@mirceanis That's my next step. I'm trying to reuse the __browser_tests__ to implement that test. It was broken and I already fixed it, but I'm trying to understand how it works.


Not connected to the server pgAdmin4

I'm new to pgAdmin4 and postgres.  I have a table that I created in QGIS and imported it into a database using that function in QGIS. It had been working, but I recently upgraded to postgresql 11.5. Now when I attempt to query my database i receive the error message "Not connected to the server or the connection to the server has been closed."  I can query the db in QGIS using the DB Manger. The table appears in the tree on the left side of the pgAdmin4 screen, but when I try to query it in PGAdmin, I get the "not connected" error." I'm using a localhost.
I tried disconnecting the server and reconnecting it through pgAdmin. When I did, I received the message that the server and DB were connected successfully; however I still cannot query the data.
I also tried reinstalling postgresql but that didn't solve the problem. Since this my db is not yet in production, I can start over from scratch, but uninstalling does not remove my servers.
I'm running on Windows 10, QGIS 3.4.
Thank you.

I noticed that a new version of pgAdmin  was released on 8/22.  Tried reinstalling with the new version and the problem was solved.  Must have been a bug in the previous release.


Vehicle mods

For some reason, Vehicle.SetMod doesn't work for me.
When I run the method, nothing happens to the target vehicle.
Am I the only one?

Just checked and found that need to call SET_VEHICLE_MOD_KIT befor SetMod.
Function.Call( Hash.SET_VEHICLE_MOD_KIT, veh.Handle, 0 );
veh.SetMod( VehicleMod.Spoilers, 2, true );

This is propably resolved (Some more comments about SET_VEHICLE_MOD_KIT are in #111)


Weight Class checks for 100 and 200 should warn only

Observed behaviour
https://github.com/googlefonts/fontbakery/blob/46e2973e6f34c9c2d908812e2a774b5dc832bc1c/Lib/fontbakery/specifications/os2.py#L80-L100
Checking the current version of Hepta Slab (source file, needs to be generated, no binaries published yet), this check FAIL'd because the Thin and ExtraLight were 100 and 200, which we learned from IBM Plex is actually valid for TTFs but not OTFs; so the os2 check should be updated to distinguish OTF from TTF and only WARN about those 2 values in a TTF, such that Hepta doesn't FAIL this project.
Also the info should tell GlyphsApp users to set a Instance Custom Parameter for the Thin and ExtraLight styles to 250 and 275, so that if they do export an OTF then it will not blur on Windows.

Check 071 is weirdly duplicating this and giving an INFO result on Hepta right now

This is taking longer than usual because the code in this check is more complex than actually needed.
If I recall correctly, at some point in the past we've got people complain about Google-Fonts specific requirements in the generic os2.py module. Then Lasse created a mechanism for the same check to behave differntly depending on which spec imports it. So the dependency injection mechanism would be used to modify the check requirements.
I would like to revert that because it makes the code very confusing to deal with. I'd prefer to have 2 separate checks in cases like this if needed, so that the code is simpler and easier to understand/debug/test.
Having said that, in this specific instance of the problem (and I think that it is the single place where the mechanism is currently used), one of the 2 specs simply never runs the check since on of the conditions (expected_os2_weight) is always falsy (None).
So, for now I'll simply move the check entirely to the googlefonts spec and remove the fancy mechanism.


Devops dead

First draft of my new article. Including some minor updates to the ANZ plus showcase.

LGTM 👍


Hydra refactor fixes

This PR cleans up some issues pointed out in the meeting today from the recent Hydra refactor #401 and #402

@ismael-mendoza Now, upon training, the train function will automatically dump a JSON file alongside the state-dict with extension ".pt.log.json". This contains the validation loss like before, along with the folder where the full training logs are stored (useful for looking at training results with Tensorboard, and seeing who last trained the model, etc.)

Added a timestamp as well... we can always add more relevant data to this file as we need it

Thanks @dereklhansen !


Convert robot model xacros into xacro macros (WIP)

Note: this is a draft PR as it's not complete yet: I'll add the other supported robot variants in later commits.

Edit: I should've pushed the "draft" button. Please do not merge until I add the other robots.

@d-nakamichi: as discussed, this is a first PR which converts the supported robot variants into xacro:macros.
As I wrote in #1, this will greatly facilitate integrating Kawasaki robots into larger xacro-based workcell models.
A follow-up PR will propose some additional changes, but I wanted to first open this one so we can discuss the approach.

@matsui-hiro: these are some changes that prepare the xacros for use in composite environments. It is not yet complete (at least a prefix per link and joint is needed).
I did not want to create too large a PR for the first one, so I did not add the prefix now.
If/when you merge this PR, I'll submit a new one.


PR display -1

Gitea version (or commit ref):
Git version:
Operating system:
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes (provide example URL)
[ ] No
[ ] Not relevant

Log gist:

Description
PR allows the page to be refreshed again if 500 errors occur during merging, and the PR tag will display - 1, which can't be eliminated.
...
Screenshots

duplicated with #7428 and fixed by #7518


qt app no longer works with ACAR lab polhemus patriot

99% sure this issue was caused by some config setting changes that polhemus support had us do with the patriot.
It was something to do with a low level UTF-8 encoding error whenever you click the stylus.
@dsrishyla and I will paste the stacktrace when we get a chance.

@dsrishyla - @christian-oreilly  and I chatted, we think that it is worth trying to set up the Brainstorm application for digitizing (via MATLAB ). Given that Christian is the only developer of this repo and he is not on site, it is probably worth trying to use a better supported project.

It will also make it easier to troubleshoot the error (software or hardware) to have another, well-tested, program to do that.


Library to parse schema.prisma

Having read #318 and toying myself with the idea of a simple admin panel to create models with fields and relations, generate a nexus-prisma revolvers file and trigger database migrations (akin to Strapi or 8base, but much simpler) I was wondering if you open-sourced a library to parse the schema.prisma into something usable by code (I mean, ultimately, a javascript object) ? That would permit third party developer to create tools to plug into the prisma 2 environment.
Also, I was wondering why this format have been chosen over simple JSON or YAML/TOML structure ?
My love goes to this project.

Actually, I am guessing generators are a way to do that...

We are aiming for a Prisma SDK release that will provide a general library for this purpose. (https://github.com/prisma/specs/tree/master/sdk-js/generators)
Right now all of our datamodel parsing logic is written in Rust(https://github.com/prisma/prisma-engine/tree/master/libs/datamodel) so you will need an RPC call to the binary to retrieve a parsed datamodel but SDK will simplify this flow.
Actually right now photon also gives your the parsed dmmf as an exported variable which you can consume for now.

Looping in @Weakky as he's working on the Prisma SDK.

Just discussed this with @Weakky recently. Our use case: we need to programmatically make some tweaks to the introspected schema, tweaks which Prisma doesn't (and arguably shouldn't) natively support:

The database has almost no foreign key, though the db schema consistently uses a column name convention across tables which makes it trivial to recreate relations out of column names.
The database has numerical enums which we could either prefix with a fixed constant, or rename.

We could either:

Simply parse the schema and write something else to the file system, that'd be fairly easy.
Hook into Prisma with a low-level/advanced mode postIntrospection phase in which we inject things into the AST: some custom JS/TS we are responsible of gets executed, and we're set.

Database schema is currently managed by Sequelize, and the first step of transitioning to Prisma would be to keep Sequelize manage the schema while we progressively port queries to Prisma, until Prisma manages the rest.

This is something that is not documented but you can use the @prisma/sdk package to parse the dmmf right now
import { getDMMF } from '@prisma/sdk

const dmmf = getDMMF({ datamodel: "model User { id String @id }" })

Note that this is subject to change without any notification. Also, note that SDK doesn't come with a DMMF printer.

This is something that is not documented but you can use the @prisma/sdk package to parse the datamodel into dmmf(datamodel meta format) right now
import { getDMMF } from '@prisma/sdk'

const dmmf = getDMMF({ datamodel: "model User { id String @id }" })

Note that this is subject to change without any notification. Also, note that SDK doesn't come with a DMMF printer.

I am playing around with the getDMMF method to see if there is a better way to automatically transform the model name and field name from snake_case to camelCase.
My idea is to transform the model and field name in the DMMF.Datamodel.models from snake_case to camelCase, then modify necessary attributes in the model to @map the modified field back to the original one. Once the transformation is done, I can just deserialize the model back to the Prisma schema file. (I am aware that there's no built-in deserializer in @prisma/sdk, so I implemented one myself)
However, I can't seem to find anything in the output dmmf to represent the @map attribute. Is this expected? I wonder how Prisma handle the @map.
Here's the input schema and the dump of the DMMF, https://gist.github.com/ExiaSR/7e7c8a56bee768410f5ea024da39d9e9
For now I guess I could add an additional property in DMMF.Field to represent the @map attribute, then make my deserializer work with it.

@ExiaSR i'll be interested in seeing your deserialiser to prisma schema file. Is it published somewhere ?

@ExiaSR i'll be interested in seeing your deserialiser to prisma schema file. Is it published somewhere ?

It's undergoing internal approval for Open Source, so stay tuned (expecting sometime next week).

@ExiaSR i'll be interested in seeing your deserialiser to prisma schema file. Is it published somewhere ?

@olup https://github.com/IBM/prisma-schema-transformer

Is there anything like the deserializer planned for the @prisma/sdk? Would be really cool to feed in the DMMF and get a complete schema.prisma (string?) back. :)

An exposed and documented Prisma serializer/deserializer would be great for the community to build tools around Prisma. It would be great to pass the schema through a custom transformer function to output a GraphQL schema, to name a very common use case.

This library does a fairly decent job of parsing, modifying and reprinting the prisma schema: https://github.com/MrLeebo/prisma-ast

We just released another complete Prisma schema parser/formatter written in Typescript as well: https://github.com/loancrate/prisma-schema-parser
It doesn't have the fluent schema builder of the one above, but is more directly based on the PEG grammar of the Prisma engine. It also has helpers for accessing attribute values, tracking of source locations, and 100% test coverage.
We used it for migrating to a GraphQL SDL-centric workflow, where Prisma schema, API schema, validation, documentation, etc. are based on a core SDL annotated with directives.


different clippy behaviour locally and in CI

i'm seeing quite different output from clippy in CI and locally. Any ideas?
output in CI - https://github.com/jhelovuo/RustDDS/actions/runs/4210445465/jobs/7308142488
output from local clippy run-
cargo +nightly clippy --all --all-targets
warning: associated function `data` is never used
  --> src/dds/ddsdata.rs:73:10
   |
73 |   pub fn data(&self) -> Bytes {
   |          ^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: associated function `payload_bytes` is never used
  --> src/dds/ddsdata.rs:78:6
   |
78 |   fn payload_bytes(&self) -> Bytes {
   |      ^^^^^^^^^^^^^

warning: associated function `get_reader_and_history_cache_change` is never used
   --> src/dds/message_receiver.rs:129:6
    |
129 |   fn get_reader_and_history_cache_change(
    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: associated function `get_reader_and_history_cache_change_object` is never used
   --> src/dds/message_receiver.rs:146:6
    |
146 |   fn get_reader_and_history_cache_change_object(
    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: associated function `history_cache_change_data` is never used
   --> src/dds/reader.rs:291:10
    |
291 |   pub fn history_cache_change_data(&self, sequence_num...
    |          ^^^^^^^^^^^^^^^^^^^^^^^^^

warning: `rustdds` (lib test) generated 5 warnings
    Finished dev [unoptimized + debuginfo] target(s) in 0.07s
warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`

note the errors present in CI that aren't present in local run

how strange...
i'm using the same commit and the same toolchain.
thanks for checking!
beats the hell out of me


TCPSocket could not be used as it was not checked in validation

Attempting to use it gave the error "must register one handler".
Added more tests for it.

Continuing #4883 on top of Tim's change in #4927 - @zmerlynn / @brendandburns

LGTM


APK for Hair Segmentation

Hello!
Can you provide the apk for hair segmentation, because I am not able to generate it from the commands.
Thanks

Can you report the issues you are facing when you follow the instructions for building the hair segmentation app?

Yes, I tried it but bazel does not seem to work. It always gives error on androidsdk which I supplied correctly. I spend 5 to 6 days to correct this, but it did'nt seem to work.

@mabdullahrafique , please pull our repo again and retry the build commands with Android SDK 29 and NDK 17c (or above). All the required SDK packages are listed in install.md, please double check you have those packages. If you still see an error, please copy and paste the error message here. It will benefit more users if we can solve the issue systematically!

Okay, I will try it again.

You could download the APK from https://drive.google.com/open?id=1mmLtyL8IRfCUbqqu0-E-Hgjr_e6P3XAy.


Fix extension

I found this extension (@gushonorato congrats and thanks!) and Google Chrome Web Store and when I tried to use it didn't work 😢. After some debug I figured out that the problem was at the event which wasn't triggering so, I worked to fix this, and also, I think that will be great to remove jQuery.
So, please let me know if I can improve something and I appreciate that this PR can move forward to help more nubank clients that need this feature like me.

@leonampd great! Thanks!


Add version ranges to deps.

Hi @Daegalus!
This PR adds version ranges to your deps. I'm wanting to update std which will introduce breaking changes. Having a version range specified will prevent it from updating from under your feet.

Thank you for the update, appreciated.

You rock 🎸


Added support for variable length null terminated strings

This uses the 'S' format character. Due to the inability to precalculate the width, 'S' doesn't work with CalcLength() or Pack(). PackTo and Unpack work fine.

The CalcLength() and Pack() issues has been resolved on my fork. I have since made some major changes and reformatted a good chunk of the code and add a couple of tests. Added object/key support to unpack using "b(keyName)" in the format string. Also changed it so that Pack() allocates and returns a buffer. Some of the changes break backwards compatiblity, so I'm spinning it off as bufferpack.


How can use pip mode in fragment if host activity has multiple fragments and want to implement on specific fragment

Question / Problem
Summary

What I've tried

Hi, I don't understand the question. Feel free to reopen if you can provide a better description :)


Laravel 11 support

Will this package support laravel 11?

@Nezimed will release 11.x version soon.

Thanks!

@Nezimed @OzanKurt added laravel 11 support. Please close the issue after testing.

No issues after updating. Thanks


Geometry Dash crashes after installing Geode

Geode Issue

[x] I confirm that this crash is NOT related to a mod but directly to Geode Loader itself.

Platform
Windows
Geode Version
v1.3.7
Mods Installed
None
Steps to Reproduce
Step 1: Open the game
Crash Report
There is no crash logs directory though there was a generic Windows error popup that said
"The procedure entry point ?resetSmoothFixCounter@CCDirector@cocos2d@@QAEXXZ could not be located in the dynamic link library D:\geode test\Geode.dll"
Additional Information
I did change the exe name to something that wasn't GeometryDash.exe to see if it was an issue with my save file, though that didn't fix the issue.

You’re using an outdated version of the game (most likely pirated).

geode is only designed for gd 2.113, the latest version of the game


New function request: Manually load the model

Hi, I found an internal page that might be able to manually load the model (chrome://on-device-internals/).
As I can't find a way to make the 'Optimization Guide On Device Model' option appear in chrome://components, I can't test that out myself.
I'm wondering if there's any way you might be able to perhaps provide a copy for the Gemini nano model so that users may load manually.

model for chrome should be under 'C:\Users\XX\AppData\Local\Google\Chrome SxS\User Data', according to relevant chromium issue(https://issues.chromium.org/issues/339471377), gemini nano on device used to have whitelist, wondering whether such whitelist is still a thing.
Histogram in my chrome shows that:
- Histogram: OptimizationGuide.ModelExecution.FeatureCurrentlyEnabledResult.Compose recorded 1 samples, mean = 3.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.FeatureCurrentlyEnabledResult.Compose)]
0  ...
3  -O                                                                        (1 = 100.0%) {0.0%}
4  ...

- Histogram: OptimizationGuide.ModelExecution.FeatureCurrentlyEnabledResult.TabOrganization recorded 2 samples, mean = 3.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.FeatureCurrentlyEnabledResult.TabOrganization)]
0  ...
3  --O                                                                       (2 = 100.0%) {0.0%}
4  ...

- Histogram: OptimizationGuide.ModelExecution.FeatureCurrentlyEnabledResult.WallpaperSearch recorded 1 samples, mean = 1.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.FeatureCurrentlyEnabledResult.WallpaperSearch)]
0  O                                                                         (0 = 0.0%)
1  -O                                                                        (1 = 100.0%) {0.0%}
2  ...

- Histogram: OptimizationGuide.ModelExecution.FeatureEnabledAtStartup.Compose recorded 1 samples, mean = 0.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.FeatureEnabledAtStartup.Compose)]
0  -O                                                                        (1 = 100.0%)
1  ...

- Histogram: OptimizationGuide.ModelExecution.FeatureEnabledAtStartup.TabOrganization recorded 1 samples, mean = 0.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.FeatureEnabledAtStartup.TabOrganization)]
0  -O                                                                        (1 = 100.0%)
1  ...

- Histogram: OptimizationGuide.ModelExecution.FeatureEnabledAtStartup.WallpaperSearch recorded 1 samples, mean = 0.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.FeatureEnabledAtStartup.WallpaperSearch)]
0  -O                                                                        (1 = 100.0%)
1  ...

- Histogram: OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria.AtRegistration.All recorded 1 samples, mean = 0.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria.AtRegistration.All)]
0  -O                                                                        (1 = 100.0%)
1  ...

- Histogram: OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria.AtRegistration.DeviceCapability recorded 1 samples, mean = 1.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria.AtRegistration.DeviceCapability)]
0  O                                                                         (0 = 0.0%)
1  -O                                                                        (1 = 100.0%) {0.0%}
2  O                                                                         (0 = 0.0%) {100.0%}

- Histogram: OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria.AtRegistration.DiskSpace recorded 1 samples, mean = 0.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria.AtRegistration.DiskSpace)]
0  -O                                                                        (1 = 100.0%)
1  ...

- Histogram: OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria.AtRegistration.EnabledByEnterprisePolicy recorded 1 samples, mean = 1.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria.AtRegistration.EnabledByEnterprisePolicy)]
0  O                                                                         (0 = 0.0%)
1  -O                                                                        (1 = 100.0%) {0.0%}
2  O                                                                         (0 = 0.0%) {100.0%}

- Histogram: OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria.AtRegistration.EnabledByFeature recorded 1 samples, mean = 1.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria.AtRegistration.EnabledByFeature)]
0  O                                                                         (0 = 0.0%)
1  -O                                                                        (1 = 100.0%) {0.0%}
2  O                                                                         (0 = 0.0%) {100.0%}

- Histogram: OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria.AtRegistration.FeatureUse recorded 1 samples, mean = 0.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.OnDeviceModelInstallCriteria.AtRegistration.FeatureUse)]
0  -O                                                                        (1 = 100.0%)
1  ...

- Histogram: OptimizationGuide.ModelExecution.OnDeviceModelPerformanceClass recorded 1 samples, mean = 4.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.OnDeviceModelPerformanceClass)]
0  ...
4  -O                                                                        (1 = 100.0%) {0.0%}
5  ...

- Histogram: OptimizationGuide.ModelExecution.OnDeviceTextSafetyModelMetadataValidity recorded 1 samples, mean = 4.0 (flags = 0x41) [[#](chrome://histograms/#OptimizationGuide.ModelExecution.OnDeviceTextSafetyModelMetadataValidity)]
0  ...
4  -O                                                                        (1 = 100.0%) {0.0%}
5  O                                                                         (0 = 0.0%) {100.0%}

GPT says such log indicates insufficient space on my disk, but I do have more than 40g remaining. Don't know what's the problem.

Optimization Guide On Device Model is missing for me too.
@lightning-joyce , could you please share the component ID for Optimization Guide On Device Model from chrome://components/ - this might help us to load the model manually:

Optimization Guide On Device Model is missing for me too.
@lightning-joyce , could you please share the component ID for Optimization Guide On Device Model from chrome://components/ - this might help us to load the model manually:

                 Optimization Guide On Device Model                                    - Version:                     2<IP_ADDRESS>5

I have the same problem but I  managed to get the option in my windows server, however I can't run it because no GPU 🙃

Click check for update on all the options in chrome://components/ from start to end, this somehow worked and showed optimization-guide-on-device-model, which then needs to be updated.
and restart

@VineshReddy @VineshReddy @Tuoris
Optimization Guide On Device Model is missing for me too. But I solve it.
Try to change chrome language to "English", and refresh the "chrome://components/" or relaunch the browser, the Optimization Guide On Device Model will show


mustNotBeMissing validation not working as expected

Bug Report
We are facing an issue when we use mustNotBeMissing field as a property validator.
Steps to reproduce

We have a datetime object, we gave type like that. Lets call this field as y.
Validation was set as "mustNotBeMissing: true"
We added a document x by having this datetime property and value is null via cb server admin panel.

Actual behaviour
We get the following error in sync gateway: Invalid x document: item "y" must not be missing;
Expected behaviour
Actually field y is only null and is not missing or undefined. So it should be a valid document. When I debugged, I realized that "itemValue === void 0" is not returning expected result since itemValue interpretted as undefined, but it should has been null.
Environment

Synctos: 2.3.0
Couchbase Server: 5.0.1
Sync Gateway: 2.1
Operating system: CentOs

Thanks.

I have bad news, @utekau. It appears that, when a JSON document contains properties with null values, Sync Gateway removes those properties from the object that is passed to a sync function, which is why you're observing the behaviour you've described.
You can verify for yourself with the following sync function definition in a Sync Gateway config file:
"sync": "function(doc, oldDoc) { throw { forbidden: 'JSON.stringify(doc): ' + JSON.stringify(doc) }; }"

Then upload a document like the following:
{
  "type": "testDoc",
  "foo": {
    "bar": null,
    "baz": 183.9
  },
  "qux": null
}

You'll find that foo.bar and qux are altogether absent from the serialized output:
{
    "error": "Forbidden",
    "reason": "JSON.stringify(doc): {\"_id\":\"test-doc\",\"_rev\":\"1-bb4abeae142ffddcfd504496d4f1f6a6\",\"foo\":{\"baz\":183.9},\"type\":\"testDoc\"}"
}

Since there does not appear to be a reliable way to retrieve the original JSON document to distinguish between null and missing values, I am going to deprecate the mustNotBeMissing and mustNotBeNull constraints. I suggest switching to the required constraint instead, even though it doesn't offer as fine-grained control as the other constraints were supposed to offer.

I have deprecated both mustNotBeMissing and mustNotBeNull in #339 since their behaviour is inconsistent with their intended purposes. Furthermore, the mustNotBeNull constraint has been modified so that it is triggered if the corresponding property is missing/undefined since that is how null property values end up represented in a sync function.


Update configuring-notifications.rst

Reviewed content based on https://github.com/mattermost/docs/issues/3187, and made some stylistic changes.

Thanks @justinegeffen! Feel free to request PM review once it's ready for review. Best PM for notifications will be Eric Sethna.


Adopting Scalability Improvements in Cilium

This issue is made to track the effort of making scalability improvements to be default configuration in Cilium.
Main improvements are:

Cilium Endpoint Slice (CES) - https://github.com/cilium/cilium/issues/16931
Operator manages Cilium Identities - https://github.com/cilium/design-cfps/pull/19
Dynamically update relevant labels filter (In design)
Remove Cilium Endpoints (In design)

More details are in the slides from our alignment session during Cilium Dev Summit:
[PUBLIC] Adopting Scalability Improvements in Cilium.pdf
The plan is to do the following in Cilium 1.16:

Make CES GA - https://github.com/cilium/cilium/issues/30967
Make Operator manages Cilium Identities the default
Put CES and all other improvements behind a single flag (e.g. high-scale-mode)
Configure tests to run for Cilium with the high-scale-mode flag turned on.

After that we can look to gradually move the improvements to default configuration.
Important for large scale Cilium users is to be able to migrate from kvstore to CRD mode, so that they can use CES and other improvements that depend on it. https://github.com/cilium/cilium/issues/30689

Hi @marseel and @joestringer, I outlined here our discussion during the Cilium Dev Summit, and what we agreed on to move forward with.
I want to use this issue to track the required work to get to the desired state of Cilium having adopted scalability improvements.

Make Operator manages Cilium Identities the default

I think this is a good goal and I think it's aligned with the long term direction that several community members would like to see this feature go. But we may want to think a bit about the tradeoffs and implications of enabling by default (lifecycle events etc.) before we actually set it to default. For instance, what happens if Pod labels change etc, does the operator ensure that identities don't leak. That sort of thing.
Also to be clear does this mean that "agents no longer create Cilium Identities by default"? Because then I think we are far more dependent on the new implementation being correct, which will mean we need to put proportional work in to gain confidence about the new implementation.

Yes, agents will no longer create Cilium Identities by default.
I agree that executing on the proposed plan is far from simple, and require appropriate design and code reviews, testing and validation to ensure that we are confident to make it the default.
We can make incremental progress and gradually get to that point.


REORG REPOs to Match MITRE's Adversarial Tactics, Techniques, and Common Knowledge layout

Initial Access | Execution | Persistence | Privilege Escalation | Defense Evasion | Credential Access | Discovery | Lateral Movement | Collection | Exfiltration | Command and Control

IF the tool or whatever it is falls into 2 or more categories put in the most relevant one


Add ValidationVisitor AssertionError messages

Verification steps:
$ nosetests -sv

Coverage remained the same at 77.778% when pulling cbfc53d4d4b44e6f8091644742c136c81ac2fef1 on feature/validation-visitor into 05835ab2ec1b47c9cfb66554032e5db828b9900e on master.


Added Dirac Distribution [Feature Request]

Hi, I wanted to use this library in a small side-project that I was thinking about, and I noticed that it was missing the Dirac distribution, https://en.wikipedia.org/wiki/Dirac_delta_function#As_a_distribution, which would've been useful for my use case.
Please let me know if there's anything I can do to fix this PR up to meet your standards, or anything at all!
Thanks for all your work on the library!
I was also curious if you've ever explored using the quickcheck crate for property based testing, as it seems that some of the tests for distributions are testing some basic property and could be reduced?

I just started off with the normal distribution as a base, so I kept the format/comments there while I modified the functions. I didn't know how to implement the inverse_cdf/pdf functions, but I hope that's fine.
I noticed that I forgot to change some of the names in the documentation from normal, so I updated that. It should be good to go otherwise


GEOMESA-823 Support Byte Arrays in SimpleFeatures

Support Bytes type in SimpleFeatures
Update Avro and Kryo Serialization for byte arrays

Signed-off-by: Andrew Hulbert<EMAIL_ADDRESS>

looks good

d3e2fc05719a18b219b02e79e9230e1dcf1bfbcc


Input component min length, max length are not working correctly

If we set min character 3 then if we type 3 characters then it should remove the error

similarly max character, it should throw error when its exceeded specified 10 characters, now it's throwing error more than 10 characters

the code needs to be updated
if (validator.minLength && value.length <= validator.minLength) {
isValid = false;
errorMessage = Minimum ${validator.minLength} characters required;
}
  if (validator.maxLength && value.length >= validator.maxLength) {
    isValid = false;
    errorMessage = `Maximum ${validator.maxLength} characters allowed`;
  }

The issue is fixed and will be available in next release.