[SPARK-15606][core] Use a minimum of 3 dispatcher threads to avoid deadlocks

What changes were proposed in this pull request?
Set minimum number of dispatcher threads to 3 to avoid deadlocks on machines with only 2 cores
How was this patch tested?
Spark test builds

Can one of the admins verify this patch?

Although this patch resolves this particular issue I would echo the comment in https://github.com/apache/spark/pull/11728 by @zsxwing
{quote}
However, the root cause is there are blocking calls in the event loops but not enough threads. This could happen in other places (such as netty, akka). Ideally, we should avoid blocking calls in all event loops. However, it's hard to figure out all of them in the huge code bases :(
{quote}

I think that's fine. CC @zsxwing @yonran

Jenkins add to whitelist

Jenkins test this please

Test build #59494 has started for PR 13355 at commit 139e875.

Test build #59494 has finished for PR 13355 at commit 139e875.

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

Merged build finished. Test PASSed.

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

This configuration is for people setting a custom thread number for their special environments. I don't want to keep increasing this number when someone complains the default thread number is too small.
Instead of this fix, I prefer to fix the real issue you mentioned in JIRA. You can just make removeExecutor in #13055 asynchronous.

agreed. I'll take a look.

@zsxwing  Do you mean change BlockManagerMaster.removeExecutor to send the message using send (fire and forget) rather than askWithRetry?

@zsxwing Do you mean change BlockManagerMaster.removeExecutor to send the message using send (fire and forget) rather than askWithRetry?

Yes. You probably need to add a new removeExecutor method.

OK, that's what I tried but it threw up some errors in some other tests which I'm investigating.

OK, that's what I tried but it threw up some errors in some other tests which I'm investigating.

Ah, it should be ask instead of send. You can just ignore the returned Future from ask

reverted original fix and replaced with using non-blocking call in BlockManagerMaster.removeExecutor.
Also added a new test suite to run Distributed suite forcing the number of dispatcher threads to 2. This suite will fail without the fix.

Test build #59686 has started for PR 13355 at commit c991d70.

Test build #59686 has finished for PR 13355 at commit c991d70.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #59726 has started for PR 13355 at commit 6a95c50.

Test build #59726 has finished for PR 13355 at commit 6a95c50.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #59728 has started for PR 13355 at commit eb900d8.

Test build #59728 has finished for PR 13355 at commit eb900d8.

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

Merged build finished. Test PASSed.

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

@robbinspg LGTM after you remove DistributedSuiteMinTHreads.

Test suite removed

Test build #59762 has started for PR 13355 at commit 4d3fc6f.

Test build #59762 has finished for PR 13355 at commit 4d3fc6f.

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

Merged build finished. Test PASSed.

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

@zsxwing ok to merge now?

LGTM. Thanks, merging to master and 2.0


Enhance to support service debugging

now that the system tests support debugging, we need to enhance this repo so that services created from the repo are automatically set up for debugging. And we need to do the same with any demos built from this.
See the docs: https://github.com/creek-service/creek-system-test#debugging-system-tests

fixed by: https://github.com/creek-service/aggregate-template/pull/51


Fix the loop reference type in AssemblyInfo.Graph.CleanPool

Fix https://github.com/obfuscar/obfuscar/issues/371

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


Notify users that this tool is deprecated

perhaps by publishing an update to the tool that prints a deprecation notice when used?

See https://github.com/netlify/netlify-cli/issues/40#issuecomment-403915485 for some updates.  tldr we are redoing a node cli and will have something to replace this soon, and will come up with a smoother transition strategy once thats ready.

Since we are moving back to a re-written node CLI in the coming days, we decided to continue the use of this repo.  Stay tuned for more announcements and info.


Adds an access control list to dns config

Adds the thread acl to restrict queries (recursive and not) to the
local thread network. Fixes #181

Codecov Report

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

@@           Coverage Diff           @@
##           master     #203   +/-   ##
=======================================
  Coverage   87.13%   87.13%
=======================================
  Files          39       39
  Lines        2317     2317
=======================================
  Hits         2019     2019
  Misses        298      298

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 1c77f02...4516687. Read the comment docs.

I am unable to reproduce an invalid /etc/bind/name.conf.options. I tested by running both script/setup and script/update repeatedly. Restarting the bind9 service after performing these actions results in no failures. Can you supply the before and after name/conf.options? Are you starting from a fresh install of bind?

What platform are you running the script on? I've tested on Raspbian and Ubuntu and cannot replicate your results.

Additionally, which version of sed are you using?

Ok, I spun up a fresh Ubuntu 18.04.1 virtual machine with sed 4.4 and cannot replicate your problems. Are you sure you are cleanly checked out and on the correct commit (45166870cb)?


Deflake some BPF and Wireguard tests

Description

Hoping this will avoid accidental wireguard handshake sync. If the handshakes sync then they back off and retry but it takes 5s for one retry, so if they sync twice in a row we exceed our connectivity check timeout.
Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

TBD

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

/merge-when-ready


Unclear control overlap.

The documentation  for AllowAdHocSubscriptions states that it controls "whether to allow users to sign up for email based subscriptions" That sounds very similar to the intent of AllowSelfServicePurchase and the overlap, if there is any, between the two is unclear.
Are these complimentary controls or do they control separate areas?
E.g. Do they control the same thing in a different fashion?
E.g. Does AllowSelfServicePurchase not cover trial subscriptions which don't require a purchase?
Thanks in advance for the help.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6e05e10b-691c-2357-25f5-1a9e810c662d
Version Independent ID: 0d789543-2033-d759-1fe9-69f24e458c13
Content: Manage self-service purchases (Admins)
Content Source: microsoft-365/commerce/subscriptions/manage-self-service-purchases-admins.md
Service: o365-administration
GitHub Login: @cmcatee-MSFT
Microsoft Alias: cmcatee

@Jared-Harrington-Gibbs They control separate areas:
AllowAdHocSubscriptions covers the free subscriptions that users can sign up for, and applies across all products. You can read more about that here: Manage self-service sign-up subscriptions.
AllowSelfServicePurchase lets an admin prevent or allow whether a user can buy the products we offer for self-service purchase (Power BI, Power Apps, Power Automate). It can be set on a per-product basis.
Hope that helps!

Awesome, I thought that might be the case.
Thanks!


docs: revamp documentation

What I did

Remove sphinx-mulitversion and use a simpler build process that works locally and does not have to build a gaziliion things.
Remove generating every docs and control which docs we publicize ... Makes it work better, let's customize how things looks more, and lets us hide stuff more if we need. Keeps the docs focused on the real API parts.
Fix issues preventing docs from building properly
Incorporate CSS from @ahoymrag and working with him on favicon and logo
Support sphinx-markdown
Light clean-up on the guides and convert them to markdown

^ Only pretty because of @ahoymrag (encompasses the work from #251)
How to verify it
python build_docs.py

So recommonmark is deprecated, but I found out about this myst-parser and it is just awesome, it has a lot of features we may want to leverage some day.
https://myst-parser.readthedocs.io/en/v0.13.7/using/howto.html

[ ] system testing from my fork


Smash No Pixel Mess Removes Effects

Super Smash Bros. for Wii U's results screen is ugly as sin without it!

Pushed a WIP pack to remove the issue. This causes several effects to go missing. Need someone more experienced with shaders to fix the issue without causing effects to go missing.

It cannot be solved with the shaders responsible for it. Because the same data that gets passed to the shader to process the pixel-mess texture is also responsible for the cursor in the character selection screen. So with shaders we can fix one but break the other.
It is a Cemu issue. For now, the version way of resize the texture to 1x1 is the best way.


feat(dropdown): add onOpen property

closes #418

Codecov Report

Merging #419 (1fa3ca7) into dev (1ed4cd1) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #419      +/-   ##
==========================================
+ Coverage   90.12%   90.15%   +0.03%
==========================================
  Files         158      158
  Lines        3828     3830       +2
  Branches     1278     1280       +2
==========================================
+ Hits         3450     3453       +3
+ Misses        195      194       -1
  Partials      183      183

Impacted Files
Coverage Δ

...act-magma-dom/src/components/Dropdown/Dropdown.tsx
88.33% <100.00%> (+0.19%)
:arrow_up:

...kages/react-magma-dom/src/components/Tabs/Tabs.tsx
77.66% <100.00%> (+0.21%)
:arrow_up:

...ct-magma-dom/src/components/Tabs/TabsContainer.tsx
100.00% <0.00%> (+5.88%)
:arrow_up:

Continue to review full report at Codecov.

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


Ways to contribute?

Sorry if this is the wrong place to put this, but what kinds of tasks need to get done to move this project forward?  I'm very interested in seeing DeskGap take off, so I'd love to help any way I can.

Hi, sorry for the late reply. I've been focusing on the Linux support.
I just posted some help-wanted issues for kind guys like you to look around.


After update to OPNsense 24.1.10_3-amd64 openssh was inaccible

I have 4 systems running opnsense (3 VM's and one hardware appliance.
After doing the updates in the webui this morning the openssh service did not work despite the system stating that is was running on the web UI. Hitting restart (system -> Diagnostics -> services -> openssh -> restart) resolved the issue.

This was the "intended" behaviour of the OpenSSH upgrade. https://gitlab.archlinux.org/archlinux/packaging/packages/openssh/-/issues/5

It would have been nice if this was in the change log. Now i got all kind of alarms :D

It was in the annoucements, but not the changelog. Let me fix that today.
https://forum.opnsense.org/index.php?topic=41505.msg203633#msg203633

https://github.com/opnsense/changelog/commit/208f60a9


🐸 Add (JFrog) Artifactory 🤞

I take the suite to overcome on

https://github.com/endoflife-date/endoflife.date/pull/3105#issuecomment-1590678384

@captn3m0 : let's do it. I'm having a look at this one, please feel free to make feedbacks on what's actually wrong with this PR :pray:

:point_up:

releaseDates are missing for all version. That information is available for 7.x on https://jfrog.com/help/r/jfrog-release-information/artifactory-7.0.1-cloud-self-hosted.

I'm struggling with the releaseDate :laughing:

@adriens, I made a few comments on #3105.
Although it is used for a few products, docker images are really not recommended. Images are usually regularly updated, so this gives very poor dates.
For releaseDates you can easily find those by looking at the x.y.0 release dates on https://jfrog.com/help/r/jfrog-release-information/artifactory-7.-55.9-self-hosted.

@adriens, please follow our convention for issue and PR naming (no emoticon for instance).

It looks like they don't keep release history, so getting the first releaseDate of a cycle looks like something we can't accoplish. It's the first time I see that :open_mouth:

Maybe some releases (as of numbers) don't exist?
https://releases.jfrog.io/artifactory/bintray-artifactory/org/artifactory/oss/jfrog-artifactory-oss/ shows some more releases even

Nice shot @amai2012 :pray: ... it looks like I should find some release dates here :crossed_fingers:

Closing this PR in favor of https://github.com/endoflife-date/endoflife.date/pull/3199. The original branch was in better shape and I wanted to keep the attribution to @amai2012 who initiate the work on Artifactory.


ci: automate SDK engine bumps

Closes #3757
This simplifies the RELEASING.md notes quite a bit.

add sdk:*:bump <engineVersion>
engine:publish will automatically bump all SDKs to the version just pushed
CI will automatically open a PR to bump SDKs

NOTE: Currently implemented using a GHA. Ideally this would use dagger.
Basically, engine:publish will change your local files. GHA workflow creates a PR from that

I wanted these alternatives, but no luck:

Leave engine:publish alone, have sdk:all:bump <version> grab the digest and prepare a PR

That way the action could have run engine:publish <tag> && sdk:all:bump <tag>
However, Container().From() doesn't return the digest. The only place it's available is Publish

So for now, publish MUST bump the SDKs -- it's the only place we have the digest

I could potentially have engine:publish create the PR as well
However since we don't support SSH socket forwarding, it would mean engine:publish requires a GH PAT to run

So I think for now this is the simplest approach

@sipsma Not sure how to test this in CI. Update the image destination and push to a tag directly?
/cc @gerhard

Trying it out now locally. If it works, will merge.

All these failures are unexpected:

It's as if the runners are using some cached Go code which only exists on main (but not this branch). FWIW, these failures are coming from this merge https://github.com/dagger/dagger/commit/8f1e6fdcedf41314dd83a864f1cadc3a0e5fda20, where NodeJS was introduced, but this changes does not exist on this branch.
https://github.com/dagger/dagger/actions/runs/3446842476/jobs/5752248627#step:4:7 🤷♂

Now that I have rebase it on top of main, I am seeing the same issue locally:

Something weird is happening with GitHub Runners. Clearing the cache didn't help either 🤔 . The only explanation that I have is that the actual runners are recycled, instead of fresh ones being provisioned. There must be some unexpected state, because otherwise this should not happen.


.toString is returning 25th hour and not advancing to the next day.

Thank you for opening an issue on an Adafruit Arduino library repository.  To
improve the speed of resolution please review the following guidelines and
common troubleshooting steps below before creating the issue:

Do not use GitHub issues for troubleshooting projects and issues.  Instead use
the forums at http://forums.adafruit.com to ask questions and troubleshoot why
something isn't working as expected.  In many cases the problem is a common issue
that you will more quickly receive help from the forum community.  GitHub issues
are meant for known defects in the code.  If you don't know if there is a defect
in the code then start with troubleshooting on the forum first.

If following a tutorial or guide be sure you didn't miss a step. Carefully
check all of the steps and commands to run have been followed.  Consult the
forum if you're unsure or have questions about steps in a guide/tutorial.

For Arduino projects check these very common issues to ensure they don't apply:

For uploading sketches or communicating with the board make sure you're using
a USB data cable and not a USB charge-only cable.  It is sometimes
very hard to tell the difference between a data and charge cable!  Try using the
cable with other devices or swapping to another cable to confirm it is not
the problem.

Be sure you are supplying adequate power to the board.  Check the specs of
your board and plug in an external power supply.  In many cases just
plugging a board into your computer is not enough to power it and other
peripherals.

Double check all soldering joints and connections.  Flakey connections
cause many mysterious problems.  See the guide to excellent soldering for examples of good solder joints.

Ensure you are using an official Arduino or Adafruit board. We can't
guarantee a clone board will have the same functionality and work as expected
with this code and don't support them.

If you're sure this issue is a defect in the code and checked the steps above
please fill in the following fields to provide enough troubleshooting information.
You may delete the guideline and text above to just leave the following details:

Arduino board:  INSERT ARDUINO BOARD NAME/TYPE HERE

Arduino IDE version (found in Arduino -> About Arduino menu):  INSERT ARDUINO
VERSION HERE

List the steps to reproduce the problem below (if possible attach a sketch or
copy the sketch code in too): LIST REPRO STEPS BELOW

Hello,
When Running the attached code using your library It seems to return a 25th hour and the day does not increment. I'm attaching the code so that you can reproduce if necessary. Also here is some serial output of the behavior I'm seeing when it should switch days.
datestring: 01/31/2021
timestring: 23:59:59
unixtime:<PHONE_NUMBER>
timestamp: 2021-01-31T23:59:59
manual time: 23:59:59
datestring: 01/31/2021
timestring: 24:00:00
unixtime:<PHONE_NUMBER>
timestamp: 2021-01-31T24:00:00
manual time: 24:0:0
datestring: 01/31/2021
timestring: 24:00:01
unixtime:<PHONE_NUMBER>
timestamp: 2021-01-31T24:00:01
manual time: 24:0:1
My understanding is it should switch to the next day as well as go back to hour 0 instead of 24. Any ideas?

code.txt

code.txt

resetting the battery in my RTC seems to have fixed my issue, must be hardware related


play/pause

hi
thanks for this plugin.
i have a question:
i want to put a button inside plugin.
by click on button user can play and pause plugin.
can you help me?

I assume you're referring to playing a video. You can add a button using standard HTML / CSS; take a look at the custom controls example to see how this can be done. To play/pause the video, you'll need to set the click handler on the button to use the Video.js API.

thanks a lot.
this is my code:
$('#btn_play').click(function(){
viewer.startAutoRotate(10);
});
$('#btn_pause').click(function(){
viewer.stopAutoRotate(10);
});


Changing map from contextual hover menu should not close map peek

Current behavior:
If I click on a Map links in this hover menu, a "map peek" opens.
Then if I click on the next Map link, the "map peek" closes.
Expected behavior:
If I click on a Map links in this hover menu, a "map peek" opens.
Then if I click on the next Map link, the "map peek" should stay open and just load the new map which was clicked.

In this specific scenario I like being able to see how the Map's transition/change so closing and reopening breaks that focusing context.
Perhaps maybe we should introduce a separate way to show how Maps transition.

@jrieken: You know more about the references support in VS Code. Can you please help Ron out with this issue?


[WIP] Support to signal container process by pid

This adds support for signalling a container process by pid.  It adds a new ps command that reports the pids for a container.
root@containerd:~# ctr list
ID        PID       STATUS
redis     6385      RUNNING
root@containerd:~# ctr ps --id redis
PID
6385
# exec and run ash & top
root@containerd:~# ctr ps --id redis
PID
6385
6461
6466
root@containerd:~# ctr kill --id redis --pid 6466 SIGKILL
root@containerd:~# ctr ps --id redis
PID
6385
6461

TODO:

[ ] Windows Support
[ ] Tests

Closes #795 & #805.

Don't forget to update the windows runtime too :angel:

@ehazlett is it fine to keep it kill?  Its pretty standard unix stuff

@crosbymichael ya i think it's fine to keep kill. 👍

Codecov Report

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

@@           Coverage Diff           @@
##           master     #824   +/-   ##
=======================================
  Coverage   59.55%   59.55%
=======================================
  Files           5        5
  Lines         759      759
=======================================
  Hits          452      452
  Misses        199      199
  Partials      108      108

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 26a6222...17b3947. Read the comment docs.

LGTM

LGTM


Issue while implementing fisher lattice

I am trying to implement fisher lattice using Spinparser.(https://journals.aps.org/prb/abstract/10.1103/PhysRevB.102.224404)
Lattice definition that i used:
[unitcell name="fisher"]
[primitive x="1" y="0" z="0" /]
[primitive x="0" y="1" z="0" /]
[primitive x="0" y="0" z="1" /]
<site x="-1/3" y="0" z="0" />
<site x="0" y="-1/3" z="0" />
<site x="1/3" y="0" z="0" />
<site x="0" y="1/3" z="0" />

<bond from="0" to="1" da0="0" da1="0" da2="0" />
<bond from="1" to="2" da0="0" da1="0" da2="0" />
<bond from="2" to="3" da0="0" da1="0" da2="0" />
<bond from="3" to="0" da0="0" da1="0" da2="0" />
<bond from="2" to="0" da0="1" da1="0" da2="0" />
<bond from="3" to="1" da0="0" da1="1" da2="0" />

[/unitcell]
The unit cell that i am taking is:

The error message is:

Hi, Thanks for pointing this out. In principle, the Fisher lattice should work -- I'll take a look!

Hi Sourin,
Could you provide some more information on your spin model?
The lattice itself seems to be okay.
I just ran a test with your lattice definition equipped with nearest neighbor Heisenberg interactions, and the lattice symmetry calculation turned out fine (model definition attached below).
You might just have a mistake in your definition of the spin interactions.
<unitcell name="fisher">
	<primitive x="1" y="0" z="0" />
	<primitive x="0" y="1" z="0" />
	<primitive x="0" y="0" z="1" />

	<site x="-1/3" y="0" z="0" />
	<site x="0" y="-1/3" z="0" />
	<site x="1/3" y="0" z="0" />
	<site x="0" y="1/3" z="0" />

	<bond from="0" to="1" da0="0" da1="0" da2="0" />
	<bond from="1" to="2" da0="0" da1="0" da2="0" />
	<bond from="2" to="3" da0="0" da1="0" da2="0" />
	<bond from="3" to="0" da0="0" da1="0" da2="0" />
	<bond from="2" to="0" da0="1" da1="0" da2="0" />
	<bond from="3" to="1" da0="0" da1="1" da2="0" />
</unitcell>

<model name="fisher-heisenberg">
	<!-- Heisenberg model on the Fisher lattice -->
	<interaction parameter="j" from="0,0,0,0" to="0,0,0,1" type="heisenberg" />
	<interaction parameter="j" from="0,0,0,1" to="0,0,0,2" type="heisenberg" />
	<interaction parameter="j" from="0,0,0,2" to="0,0,0,3" type="heisenberg" />
	<interaction parameter="j" from="0,0,0,3" to="0,0,0,0" type="heisenberg" />
	<interaction parameter="j" from="0,0,0,2" to="1,0,0,0" type="heisenberg" />
	<interaction parameter="j" from="0,0,0,3" to="0,1,0,1" type="heisenberg" />
</model>

There was a small issue in the code which could trigger the exception for lattices that contain multiple lattice bonds of different length (as is the case for your unit cell definition of the Fisher lattice).
I just pushed a patch #8 for the issue and successfully tested your lattice definition in combination with a nearest neighbor Heisenberg model (see below for the model definition.)
<unitcell name="fisher">
	<primitive x="1" y="0" z="0" />
	<primitive x="0" y="1" z="0" />
	<primitive x="0" y="0" z="1" />

	<site x="-1/3" y="0" z="0" />
	<site x="0" y="-1/3" z="0" />
	<site x="1/3" y="0" z="0" />
	<site x="0" y="1/3" z="0" />

	<bond from="0" to="1" da0="0" da1="0" da2="0" />
	<bond from="1" to="2" da0="0" da1="0" da2="0" />
	<bond from="2" to="3" da0="0" da1="0" da2="0" />
	<bond from="3" to="0" da0="0" da1="0" da2="0" />
	<bond from="2" to="0" da0="1" da1="0" da2="0" />
	<bond from="3" to="1" da0="0" da1="1" da2="0" />
</unitcell>

<model name="fisher-heisenberg">
	<!-- Heisenberg model on the Fisher lattice -->
	<interaction parameter="j" from="0,0,0,0" to="0,0,0,1" type="heisenberg" />
	<interaction parameter="j" from="0,0,0,1" to="0,0,0,2" type="heisenberg" />
	<interaction parameter="j" from="0,0,0,2" to="0,0,0,3" type="heisenberg" />
	<interaction parameter="j" from="0,0,0,3" to="0,0,0,0" type="heisenberg" />
	<interaction parameter="j" from="0,0,0,2" to="1,0,0,0" type="heisenberg" />
	<interaction parameter="j" from="0,0,0,3" to="0,1,0,1" type="heisenberg" />
</model>

Thanks, Finn. It's working fine now .


458 ferrari not working

says it detects no wheel, unplugged and replugged, still dont work, uninstalled and reinsalled and it sill doesnt work

it detects but doesnt work

clutch doesnt work, and direction doesnt work


Inability to run NET Core script after launch.json modification

Create NET Core script with this instruction:

WriteLine("Hello world!");

Try adjust launch.json - for instance add "console": "internalConsole" explicitly and save changes.
Until you reboot Visual Studio Code run will fail.

 Since scripts have no universal entry point (like static void Main in a dotnet app), the debugger for dotnet-script uses the currently open file as the entry point. Since your currently active file is launch.json, the debugger is attempted to be started for dotnet script launch.json which is invalid. To debug a script, a script file must be actively open (so you need to switch the focus back to main.csx.  Alternatively you can replace the ${file} placeholder that is there in launch.json with a hardcoded script file, say main.csx


Property Subject

At the end of platform differences (https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/data/share?view=net-maui-7.0&tabs=android) there is the subject property but this is not in code nor anywhere else mentioned on this page.

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

ID: d340ffe1-24b6-ff95-39a5-057bf10826c9
Version Independent ID: d340ffe1-24b6-ff95-39a5-057bf10826c9
Content: Share - .NET MAUI
Content Source: docs/platform-integration/data/share.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Correct. The subject is only used by android and the examples in the page are built to work across multiple platforms. Without testing, I imagine this is used when you share via an email on android, filling in the subject of the email with the value you provided.


fix: update required ibm provider version to < 1.7

/run pipeline

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

GitHub release
v2.7.3

Your semantic-release bot :package::rocket:


Updates for structs using data.Bytes

Depends on https://github.com/tendermint/tendermint/pull/465

@melekes #465 has been merged

Merged into https://github.com/tendermint/basecoin/pull/82


Not getting default WebView scrolling behavior

Hi there,
I am trying out the sample and have read the other issues and understand their implications. What I would like to know is how can I restore the default WebView scrolling behavior while using this library?

See my comment on StackOverflow: https://github.com/naoak/WebViewMarker - seems to fix the scrolling issue.

#6 PR fixed this issue.


Add Solidity Keccak256 packing support

Hi. Is anyone working on adding Solidity Keccak256 packing support?
/// Compute the Keccak-256 hash of input bytes.
// TODO: Add Solidity Keccak256 packing support
pub fn keccak256<S>(bytes: S) -> [u8; 32]
where
    S: AsRef<[u8]>,
{
    let mut output = [0u8; 32];
    let mut hasher = Keccak::v256();
    hasher.update(bytes.as_ref());
    hasher.finalize(&mut output);
    output
}

In ethers-js, its here
https://github.com/ethers-io/ethers.js/blob/master/packages/bytes/src.ts/index.ts.
I don't know rust or the package well enough to add this myself. It could be helpful if someone can do this. Thanks!

found the abi.encode and get_create2_address function.

eh I think no abi pack util so I'll reopen

Do you mean abi.encodePacked?

yes

hey just wanted to share that would be awesome if this function is developed :-), if someone would like to deeply interact with safe contracts, they will need this

Actually it already is present as abi::encode_packed: https://github.com/gakonst/ethers-rs/blob/master/ethers-core/src/abi/packed.rs
It just hasn't been released yet
@gakonst we can close this, same as #1862


need help  ""RenderBox was not laid out"

I downloaded the zip and ran the project
It was good but then I added something in pubspec.yaml and then this error popup.
======== Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
Assertion failed: file:///H:/src/flutter/flutter/packages/flutter/lib/src/rendering/box.dart:2001:12
hasSize
"RenderBox was not laid out: RenderPointerListener#724c3 relayoutBoundary=up13 NEEDS-PAINT"
The relevant error-causing widget was:
SingleChildScrollView SingleChildScrollView:file:///H:/Flutter-Responsive-Admin-Panel-or-Dashboard-master/Flutter-Responsive-Admin-Panel-or-Dashboard-master/lib/screens/dashboard/dashboard_screen.dart:15:14
When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49      throw
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 29:3        assertFailed
packages/flutter/src/rendering/box.dart 2001:12                                                                                get size
packages/flutter/src/rendering/proxy_box.dart 121:14                                                                           performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/custom_paint.dart 552:11                                                                        performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/shifted_box.dart 249:5                                                                          performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/layout_helper.dart 56:10                                                                        layoutChild
packages/flutter/src/rendering/flex.dart 903:45                                                                                [_computeSizes]
packages/flutter/src/rendering/flex.dart 938:32                                                                                performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/shifted_box.dart 249:5                                                                          performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/custom_layout.dart 171:10                                                                       layoutChild
packages/flutter/src/material/scaffold.dart 1055:7                                                                             performLayout
packages/flutter/src/rendering/custom_layout.dart 240:7                                                                        [_callPerformLayout]
packages/flutter/src/rendering/custom_layout.dart 410:14                                                                       performLayout
packages/flutter/src/rendering/object.dart 1973:7                                                                              [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 999:17                                                                              flushLayout
packages/flutter/src/rendering/binding.dart 513:19                                                                             drawFrame
packages/flutter/src/widgets/binding.dart 884:13                                                                               drawFrame
packages/flutter/src/rendering/binding.dart 378:5                                                                              [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1175:15                                                                            [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1104:9                                                                             handleDrawFrame
packages/flutter/src/scheduler/binding.dart 1015:5                                                                             [_handleDrawFrame]
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 1168:13               invoke
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 219:5                 invokeOnDrawFrame
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/initialization.dart 195:45
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 334:14  _checkAndCall
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 339:39  dcall
The following RenderObject was being processed when the exception was fired: RenderSemanticsGestureHandler#c7b97 relayoutBoundary=up12 NEEDS-LAYOUT NEEDS-PAINT
...  needs compositing
...  parentData:  (can use size)
...  constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
...  size: MISSING
...  behavior: opaque
...  gestures:
RenderObject: RenderSemanticsGestureHandler#c7b97 relayoutBoundary=up12 NEEDS-LAYOUT NEEDS-PAINT
needs compositing
parentData:  (can use size)
constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
size: MISSING
behavior: opaque
gestures:
...  child: RenderPointerListener#724c3 relayoutBoundary=up13 NEEDS-PAINT
...    needs compositing
...    parentData:  (can use size)
...    constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
...    size: MISSING
...    behavior: opaque
...    listeners: down, panZoomStart
...    child: RenderSemanticsAnnotations#5f498 relayoutBoundary=up14 NEEDS-PAINT
...      needs compositing
...      parentData:  (can use size)
...      constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
...      size: MISSING
...      child: RenderIgnorePointer#2a10d relayoutBoundary=up15 NEEDS-PAINT
...        needs compositing
...        parentData:  (can use size)
...        constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
...        size: MISSING
...        ignoring: false
...        ignoringSemantics: false
...        child: _RenderSingleChildViewport#69f46 relayoutBoundary=up16 NEEDS-PAINT
...          needs compositing
...          parentData:  (can use size)
...          constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
...          size: MISSING
...          offset: Offset(0.0, -0.0)
======== Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
Assertion failed: file:///H:/src/flutter/flutter/packages/flutter/lib/src/rendering/box.dart:2001:12
hasSize
"RenderBox was not laid out: RenderSemanticsGestureHandler#c7b97 relayoutBoundary=up12 NEEDS-PAINT"
The relevant error-causing widget was:
SingleChildScrollView SingleChildScrollView:file:///H:/Flutter-Responsive-Admin-Panel-or-Dashboard-master/Flutter-Responsive-Admin-Panel-or-Dashboard-master/lib/screens/dashboard/dashboard_screen.dart:15:14
When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49      throw
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 29:3        assertFailed
packages/flutter/src/rendering/box.dart 2001:12                                                                                get size
packages/flutter/src/rendering/proxy_box.dart 121:14                                                                           performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/custom_paint.dart 552:11                                                                        performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/proxy_box.dart 120:7                                                                            performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/shifted_box.dart 249:5                                                                          performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/layout_helper.dart 56:10                                                                        layoutChild
packages/flutter/src/rendering/flex.dart 903:45                                                                                [_computeSizes]
packages/flutter/src/rendering/flex.dart 938:32                                                                                performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/shifted_box.dart 249:5                                                                          performLayout
packages/flutter/src/rendering/object.dart 2135:7                                                                              layout
packages/flutter/src/rendering/box.dart 2418:11                                                                                layout
packages/flutter/src/rendering/custom_layout.dart 171:10                                                                       layoutChild
packages/flutter/src/material/scaffold.dart 1055:7                                                                             performLayout
packages/flutter/src/rendering/custom_layout.dart 240:7                                                                        [_callPerformLayout]
packages/flutter/src/rendering/custom_layout.dart 410:14                                                                       performLayout
packages/flutter/src/rendering/object.dart 1973:7                                                                              [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 999:17                                                                              flushLayout
packages/flutter/src/rendering/binding.dart 513:19                                                                             drawFrame
packages/flutter/src/widgets/binding.dart 884:13                                                                               drawFrame
packages/flutter/src/rendering/binding.dart 378:5                                                                              [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1175:15                                                                            [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1104:9                                                                             handleDrawFrame
packages/flutter/src/scheduler/binding.dart 1015:5                                                                             [_handleDrawFrame]
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 1168:13               invoke
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 219:5                 invokeOnDrawFrame
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/initialization.dart 195:45
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 334:14  _checkAndCall
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 339:39  dcall
The following RenderObject was being processed when the exception was fired: RenderPointerListener#f1414 relayoutBoundary=up11 NEEDS-LAYOUT NEEDS-PAINT
...  needs compositing
...  parentData:  (can use size)
...  constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
...  size: MISSING
...  behavior: deferToChild
...  listeners: signal
RenderObject: RenderPointerListener#f1414 relayoutBoundary=up11 NEEDS-LAYOUT NEEDS-PAINT
needs compositing
parentData:  (can use size)
constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
size: MISSING
behavior: deferToChild
listeners: signal
...  child: RenderSemanticsGestureHandler#c7b97 relayoutBoundary=up12 NEEDS-PAINT
...    needs compositing
...    parentData:  (can use size)
...    constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
...    size: MISSING
...    behavior: opaque
...    gestures:
...    child: RenderPointerListener#724c3 relayoutBoundary=up13 NEEDS-PAINT
...      needs compositing
...      parentData:  (can use size)
...      constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
...      size: MISSING
...      behavior: opaque
...      listeners: down, panZoomStart
...      child: RenderSemanticsAnnotations#5f498 relayoutBoundary=up14 NEEDS-PAINT
...        needs compositing
...        parentData:  (can use size)
...        constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
...        size: MISSING
...        child: RenderIgnorePointer#2a10d relayoutBoundary=up15 NEEDS-PAINT
...          needs compositing
...          parentData:  (can use size)
...          constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
...          size: MISSING
...          ignoring: false
...          ignoringSemantics: false

I have the same issue and failed to resolve it

the solution is to add in this file : recent_ Files
you can find it in : lib/Screens/dashbord/components/recent_files.dart
this :  height: 400, inside SizedBox
like this example :
SizedBox(
width: double.infinity,
height: 400,  // <-------------------- add this
child: DataTable2(
columnSpacing: defaultPadding,
minWidth: 600,
columns: [
DataColumn(
label: Text("File Name"),
),
DataColumn(
label: Text("Date"),
),
DataColumn(
label: Text("Size"),
),
],
rows: List.generate(
demoRecentFiles.length,
(index) => recentFileDataRow(demoRecentFiles[index]),
),
),
),


use VGA to resolve VNC issue

In case of Windows 10 with we have problems with image via VNC

Change from cirros-vga to the VGA solve the problem.
Signed-off-by: Petr Fedchenkov<EMAIL_ADDRESS>

Forgot to update version of package inside Dockerfile of pkg/eve. Old problem, resolved after moving to eve-alpine.

Hey @giggsoff -- can you please send this PR against master and I can then manually pull it into required branch after talking to Raghu

I changed base branch and rebased my branch.

Hey @giggsoff -- can you please send this PR against master and I can then manually pull it into required branch after talking to Raghu

Hi, @rvs. Seems, that you pick wrong commit into 5.21.6. It has no changes inside Dockerfile. Can you please pick this one: https://github.com/lf-edge/eve/commit/fcc5d37f9cdc26acf2c825393491ffd355baba41

Seems, https://github.com/lf-edge/eve/pull/2038 also resolve the problem with versions inside Dockerfile

I didn't pick anything into 5.21.6 @giggsoff

You need to resubmit into 5.21.6 today

But it is here on the top: https://github.com/lf-edge/eve/commits/5.21.6. Do you suggest me to open PR or I can wait for https://github.com/lf-edge/eve/pull/2038?

Ah! So it appears that @eriknordmark pulled your master one which confused me into pulling the other into the branch :-(


Point clouds from rgbd images

Hi,
first of all thank you for your work! I was wondering what kind of method you used to generate point clouds from rgbd images? Thanks in advance.

Hi, @ugamman
If we know the camera intrinsic, we can get the point clouds from depth map by some matrix operations.
For SUNRGBD, we use follow code (from SUNRGBD toolbox) to generate point clouds.
function [rgb,points3d,points3dMatrix]=read_3d_pts_general(depthInpaint,K,depthInpaintsize,imageName,crop)
    % K is [fx 0 cx; 0 fy cy; 0 0 1];
    % for uncrop image crop =[1,1];
    % imageName is the full path to image
    cx = K(1,3); cy = K(2,3);
    fx = K(1,1); fy = K(2,2);
    invalid = depthInpaint==0;
    if ~isempty(imageName)
        im = imread(imageName);
        rgb = im2double(im);
    else
        rgb =double(cat(3,zeros(depthInpaintsize(1),depthInpaintsize(2)),...
                    ones(depthInpaintsize(1),depthInpaintsize(2)),...
                    zeros(depthInpaintsize(1),depthInpaintsize(2))));
    end
    rgb = reshape(rgb, [], 3);
    %3D points
    [x,y] = meshgrid(1:depthInpaintsize(2), 1:depthInpaintsize(1));
    x3 = (x-cx).*depthInpaint*1/fx;
    y3 = (y-cy).*depthInpaint*1/fy;
    z3 = depthInpaint;
    points3dMatrix =cat(3,x3,z3,-y3);
    points3dMatrix(cat(3,invalid,invalid,invalid))=NaN;
    points3d = [x3(:) z3(:) -y3(:)];
    points3d(invalid(:),:) = NaN;
end

Hi
thank you so much, by any chance do you have a Python version of that? It will be very helpful!
Thanks!

Hi
thank you so much, by any chance do you have a Python version of that? It will be very helpful!
Thanks!

rows, cols = depth_map.shape
c, r = np.meshgrid(np.arange(cols), np.arange(rows))
point_cloud = np.stack([c, r, depth_map])
point_cloud = point_cloud.reshape((3, -1))
x = ((point_cloud[:, 0]-cx)*point_cloud[:, 2])/fx
y = ((point_cloud[:, 1]-cy)*point_cloud[:, 2])/fy
point_cloud[:, 0] = x
point_cloud[:, 1] = y


Unit tests

This PR includes RSpec and FactoryBot for testing. Tests were made considering the refactored code, not master version.
What was tested:

PostsController
Bugs found: 0

BotsController
Bugs found: 2
When updating a bot with empty name, expected 400, got 200 -> #53
When updating a bot with empty bio, expected 400, got 200 -> #54

CommentsController
Bugs found: 0

LikesController
Bugs found: 0

No automated tests with media were included.
Obs: for testing you have to turn off rack-attack, comment the line that creates a cache on config/initializers/rack-attack.rb and then run the command "rspec". If some tests fails run the rspec again, I don't know why it sometimes fails and then work as it should.

Some failuers tests make no sense, we may need to refactor this in future. Until we know what is causing it, keep it.
Ignore the following faliures for meanwhile.


Chests and shields (at least) display wrong in mirrors

I think it's to do with culling. The wrong faces are being drawn, so chest bottoms z-fight with the floor etc etc.

https://i.imgur.com/1TVhwdk.png screenie

Are you using 1.14?

No, 1.15.2.
The bug appears w/ and w/o optifine.
It's the fabric version btw.
Also render distances are bugged too, walking slightly far away from a mirror on a low render distance causes chunks close to the mirror to not be drawn (within the mirror), andcw/o any fog, too.

Also, I just noticed sign text is vampiric doesn't get drawn either.

should be fixed in the newest version


Create a GPT2 compatible transformer implementation

GPT2 is a very standard transformer implementation (e.g. used in Andrej Karpathy's rather famous introduction to transformers: https://www.youtube.com/watch?v=kCc8FmEb1nY).

Another likely helpful link: https://github.com/jseeio/gpt2-tfjs


[question] Task runner glob

I have a monorepo with both apps and packages similar to the examples repo. The apps are deployed using vercel and the package's release is managed by changesets. I am updating my release GitHub to release the packages, is there a way to only build just the packages? Will the task runner accept a glob for tasks? yarn moon {packages/*}:build
PR for reference

@bclark-p44 It unfortunately does not at this time. However, you could create a custom script that calls out to moon query projects to achieve what you are looking for. https://moonrepo.dev/docs/commands/query/projects
Something like this:
const projects = await execa('moon', ['query', 'projects', '--source', '^packages', '--tasks', 'build'], { preferLocal: true });

await execa('moon', ['run', ...projects.map(p => `${p.id}:build`)], { preferLocal: true });

Great! Thank you


vimPlugins.blink-cmp: 0.7.1 -> 0.7.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for vimPlugins.blink-cmp is: Performant, batteries-included completion plugin for Neovim
meta.homepage for vimPlugins.blink-cmp is: https://github.com/saghen/blink.cmp
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.7.3 with grep in /nix/store/xc1xy9xfdqqk7w1r2lzy631y40xy0wha-vimplugin-blink-cmp-0.7.3
found 0.7.3 in filename of file in /nix/store/xc1xy9xfdqqk7w1r2lzy631y40xy0wha-vimplugin-blink-cmp-0.7.3

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

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

vimPlugins.blink-cmp
vimPluginsUpdater

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/a3fbadd7538b15ebb28fd71d0b33d437d61e9c6d#vimPlugins.blink-cmp

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xc1xy9xfdqqk7w1r2lzy631y40xy0wha-vimplugin-blink-cmp-0.7.3
ls -la /nix/store/xc1xy9xfdqqk7w1r2lzy631y40xy0wha-vimplugin-blink-cmp-0.7.3/bin

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

x86_64-linux

:white_check_mark: 2 packages built:

vimPlugins.blink-cmp
vimPluginsUpdater

Maintainer pings
cc @balssh @redxtech for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Unfortunately, it doesn't seem that the cargoHash @redxtech.

Unfortunately, it doesn't seem that the cargoHash was updated @redxtech.

It only needs to be when they've updated their cargo.lock upstream.

It only needs to be when they've updated their cargo.lock upstream.

You are right indeed. And it has not changed I guess.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 362468

x86_64-darwin

:white_check_mark: 2 packages built:

vimPlugins.blink-cmp
vimPluginsUpdater

aarch64-darwin

:white_check_mark: 2 packages built:

vimPlugins.blink-cmp
vimPluginsUpdater


Remove unused kw file constant

Description
As we removed file usage for keywords, this constant is not required.
Related Tickets & Documents

Related Issue # OLS-353

/lgtm

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

Project coverage is 96.33%. Comparing base (0854176) to head (f6ac27b).
Report is 6 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #633      +/-   ##
==========================================
+ Coverage   96.28%   96.33%   +0.05%
==========================================
  Files          50       51       +1
  Lines        1640     1666      +26
==========================================
+ Hits         1579     1605      +26
  Misses         61       61

Files
Coverage Δ

ols/app/endpoints/ols.py
100.00% <ø> (ø)

ols/constants.py
100.00% <ø> (ø)

/approve


Adds custom row border, updates grid paddings and header background

Description
This PR makes the following changes:

Adds a callback to customize rows border.
Updates grid and column title cell padding.
Updates columns header empty space (on the right side) background color.
Adds the possibility to each column removes the right vertical border individually.

@vpinheiro38 what about to add in the PR summary how to use examples of the features introduced here?

@niltonvasques

@vpinheiro38 what about to add in the PR summary how to use examples of the features introduced here?

I agree it would be better to review :smile: I'll make it!

@rodiguif I added some explanations on PR description and some tests. Could you review? :raising_hand_man:


Updated README

Preview:
https://github.com/open-birdsite-db/open-birdsite-db/blob/updated-readme/README.md
Made it much shorter, moved the dev docs to their own sections/pages, added a discord link, a link to the deployed app and a brief description of the vision + a link to @TheExGenesis's blogpost about it.

lgtm


Unix transport used when HTTP host is specified

Here is a demo repo that demonstrates the bug. You can toggle on/off the replace in the go.mod in order to switch the bug on and off. The example uses the docker client. This problem doesn't exist in 0.4.0.
There's a problem in master currently where it overrides the proto and doesn't reset it when a new scheme is applied. This had the effect of making request to a unix socket even though an http endpoint was specified for the docker engine.
A debugging session indicated the problem was from a removal of piece of code in sockets.go, which was changed here: https://github.com/docker/go-connections/pull/61/files#r923998601
The issue seems possibly related to the following which also had trouble making TCP connections:

https://github.com/moby/moby/pull/41084
https://github.com/docker/go-connections/issues/95

I can repro this as well -
Repro Steps

Create the following test case:

package main

import (
	"context"
	"log"

	"github.com/docker/docker/client"
)

func main() {
	cli, _ := client.NewClientWithOpts(
		client.WithHost("tcp://localhost:5000"))

	info, err := cli.Info(context.Background())
	log.Printf("INFO %s %v\n", info.ServerVersion, err)
}

Use the following go.mod

module github.com/docker/bug

go 1.21.3

require github.com/docker/docker v24.0.7+incompatible

require (
	github.com/Microsoft/go-winio v0.6.1 // indirect
	github.com/distribution/reference v0.5.0 // indirect
	github.com/docker/distribution v2.8.3+incompatible // indirect
	github.com/docker/go-connections v0.4.1-0.20210727194412-58542c764a11 // indirect
	github.com/docker/go-units v0.5.0 // indirect
	github.com/gogo/protobuf v1.3.2 // indirect
	github.com/moby/term v0.5.0 // indirect
	github.com/morikuni/aec v1.0.0 // indirect
	github.com/opencontainers/go-digest v1.0.0 // indirect
	github.com/opencontainers/image-spec v1.0.2 // indirect
	github.com/pkg/errors v0.9.1 // indirect
	golang.org/x/mod v0.8.0 // indirect
	golang.org/x/sys v0.5.0 // indirect
	golang.org/x/time v0.3.0 // indirect
	golang.org/x/tools v0.6.0 // indirect
	gotest.tools/v3 v3.5.1 // indirect
)

Run go run main.go

Expected results:
The Docker API client will send a request to localhost:5000, or fail if docker isn't running on that port.
Actual results:
The Docker API client will send a request to unix://var/run/docker.sock

I think the fix is to update the TCP codepath to set DialContext to nil and DisableCompression to true -- effectively to "undo" http.Transport changes made by the other two codepaths.
But I also don't 100% understand the contract of this function or how it's used


Extension request - Pre-2008 Constituencies?

Thank you all for this amazing project! Truly this is remarkable!
I don't know if this is possible, but it would be enormously useful for researchers looking at longer-term political trends if we could put together maps of the Pre-2008 Parliamentary and Assembly Constituencies. as laid out by the Delimitation Commission of 1973. I'm not even sure where to start with this, and I'm sure it would be a huge undertaking, but if it could be done, it would extend the metaphorical horizon for analysis of voting patterns all the way back to the Emergency.
Is this a possible future extension of this work?

PS, I should say that there are non-FOSS resources available for this, so it is possible in principle, but of course the licensing fees for these non-FOSS maps are quite costly.

You will find them here: https://groups.google.com/g/datameet/c/tYMSW1sbjwg/m/alfUTFpSDwAJ

This is amazing! Thank you so much! I didn't know this existed!

If I were to work on these further, would it be helpful/permissible for me to put in a pull request with this data? I wasn't able to figure out what the licensing looks like, and I want to be careful not to cause any problems.


@sap/cloud-sdk-vdm-purchase-order-service with deprecated PO oData API ?

Dear Experts,
We are currently using @sap/cloud-sdk-vdm-purchase-order-service (https://help.sap.com/doc/96ad709a1b7e41f3804fa5040bc83167/1.0/en-US/modules/_sap_cloud_sdk_vdm_purchase_order_service.html) in our custom app, which contains the OData VDM for the Purchase Order Service of SAP S/4HANA Cloud. However, this Purchase Order Service (https://api.sap.com/api/API_PURCHASEORDER_PROCESS_SRV/overview) is getting deprecated now. According to the SAP's statement, the new purchase order api V4 (https://api.sap.com/api/CE_PURCHASEORDER_0001/overview) should be used.
Does this impact our usage of @sap/cloud-sdk-vdm-purchase-order-service ? Would the @sap/cloud-sdk-vdm-purchase-order-service automatically handle the new api in the background, or do we need to use another new library from cloud sdk now ?
We would like to know whether we would need to switch to a new library or the current library @sap/cloud-sdk-vdm-purchase-order-service will handle the new v4 api automatically ?
Many thanks.
Best Regards,

Hi Jie Lin,
we have stopped shipping pre-generated client packages (@sap/cloud-sdk-vdm-somthing) with version 3 of the Cloud SDK for JS. For future version of the OData API, you will need to generate your own client as described here: https://sap.github.io/cloud-sdk/docs/js/features/odata/generate-client
Best regards,
Dennis


Game crashes when looking at weapons/tools

Error: java.lang.NoClassDefFoundError: dev/shadowsoffire/apotheosis/adventure/socket/SocketHelper
latest.log
crash-2024-07-26_08.52.16-client.txt
I've tried the latest 4 versions of Apotheosis and this happens with all of them.

Latest version of apothic curios requires 7.4.0. Apotheosis recently had a change that requires addons to possibly update

I'm also having this issue and everything is updated.

Some mods are not updated to latest apotheosis. Would need your logs/crash report to see the issue

crash-2024-07-29_08.54.53-client.txt
i believe this is it

Your apotheosis is not on latest. Also easy anvils will cause issues

crash-2024-07-29_08.58.52-fml.txt
Sorry, I forgot to update it. I had it 1 version before so I could at least load the game. Also, I'm wondering if passive skill tree mod is conflicting. I have to go back 1 version for that also to at least load game. When everything is updated, this is the crash report.
And thank you for taking your time to look into this!!

Everything in last crash was updated to newest version out. I just tried deleting Easy Anvils and it still crashed.

Is that the same crash log as your previous post. If so passive skill trees had not updated yet. Again with the changes mods need to update to support it if they were using it. Apothic Curios happened to update. You will need to either wait for passive skills, remove it, or figure out what version all work with each other when using 7.3.5 vs 7.4.0

ok. Thank you again for all your help.


TextBoxComponent's boxConfig timePerChar generates "Optimized Out" error

Current bug behaviour
When using the TextBoxComponent with a custom box config, having a fast timePerChar value generates this error:

Unhandled Exception: 'dart:ui/painting.dart': Failed assertion: line 1681 pos 12: '': is not true.

Steps to reproduce
static TextPaint textPaint = TextPaint(
    style: const TextStyle(
      height: 2,
      fontSize: 10,
      color: Colors.white70,
      letterSpacing: 2.0,
    ),
  );

  static TextBoxConfig textBoxConfig = TextBoxConfig(
    maxWidth: 400,
    timePerChar: 0.025, // timePerChar generates an optimized out painting assertion
    growingBox: false,
    margins: const EdgeInsets.only(left: 25, top: 25, bottom: 25),
  );

File attached for convenience.
main.dart.zip
More environment information
Create a list of more environment information, like:

Flame version: 1.4.0
Platform affected: android and ios. Haven't checked web or anywhere else.
Platform version affected: Most recent versions of both android and ios as of writing this.

Interesting, so the assert that it fails on is this one:
    assert(!_disposed && !_image._disposed);

same here with flame: ^1.6.0

ok, my temporary solution was to clone text_box_component.dart and modify redraw() method from:
`

final Set cachedToRemove = {};
Future redraw() async {
final newSize = _recomputeSize();
final cachedImage = cache;

if (cachedImage != null) {

if (cachedImage != null && !cachedToRemove.contains(cachedImage)) {

 cachedToRemove.add(cachedImage);
 // Do not dispose of the cached image immediately, since it may have been
 // sent into the rendering pipeline where it is still pending to be used.
 // See issue #1618 for details.

 Future.delayed(const Duration(milliseconds: 200), () {

 Future.delayed(const Duration(milliseconds: 100), () async {

   cachedToRemove.remove(cachedImage);

   cachedImage.dispose();
 });

}
cache = await _fullRenderAsImage(newSize);
`

ok, my temporary solution was to clone text_box_component.dart and modify redraw() method like this:
+  final Set<Image> cachedToRemove = {};
   Future<void> redraw() async {
     final newSize = _recomputeSize();
     final cachedImage = cache;
-    if (cachedImage != null) {
+    if (cachedImage != null && !cachedToRemove.contains(cachedImage)) {
+      cachedToRemove.add(cachedImage);
       // Do not dispose of the cached image immediately, since it may have been
       // sent into the rendering pipeline where it is still pending to be used.
       // See issue #1618 for details.
-      Future.delayed(const Duration(milliseconds: 100), () {
+      Future.delayed(const Duration(milliseconds: 100), () async {
+        cachedToRemove.remove(cachedImage);
+        cachedImage.dispose();
       });
     }
     cache = await _fullRenderAsImage(newSize);

Error was happening because cachedImage.dispose(); was called multiple times on the same object.

@fpv999 good catch, do you want to put up a PR with this fix?

Yes, and no. I'm too busy at the moment.


Memory leak in cutout function

Describe the bug
There is a memory leak in the cutout function when using random sizes and offset and XLA.
Code to reproduce the issue
Run that on Collab with a GPU.
import tensorflow as tf
import tensorflow_addons as tfa
import psutil

tf.config.optimizer.set_jit(True)
for gpu in tf.config.list_physical_devices("GPU"):
    tf.config.experimental.set_memory_growth(gpu, True)
process = psutil.Process()

image_size = 3000
@tf.function()
def random_cutout(img):
    img = tf.tile(img[tf.newaxis, ...], [16, 1, 1, 1])
    mask_size = tf.random.uniform(
        shape=[], minval=image_size // 200, maxval=image_size // 4, dtype=tf.int32
    )
    mask_size *= 2
    offset = tf.random.uniform(
        shape=[tf.shape(img)[0], 2],
        minval=0,
        maxval=image_size - mask_size,
        dtype=tf.int32,
    )
    offset += tf.expand_dims(mask_size, axis=0) // 2
    return tfa.image.cutout(img, tf.stack([mask_size, mask_size]), offset=offset)

img = tf.ones([image_size, image_size, 3])
for _ in range(100):
    for _ in range(1000):
        random_cutout(img)
    print(f"{process.memory_info().rss / 1024 ** 3:.2f} GB")

Outputs :
WARNING:tensorflow:From /usr/local/lib/python3.8/dist-packages/tensorflow/python/autograph/pyct/static_analysis/liveness.py:83: Analyzer.lamba_check (from tensorflow.python.autograph.pyct.static_analysis.liveness) is deprecated and will be removed after 2023-09-23.
Instructions for updating:
Lambda fuctions will be no more assumed to be used in the statement where they are used, or at least in the same block. https://github.com/tensorflow/tensorflow/issues/56089
1.48 GB
1.52 GB
1.54 GB
1.62 GB
1.64 GB
1.67 GB
1.69 GB
1.82 GB
1.84 GB
1.86 GB
1.89 GB
1.91 GB
1.94 GB
1.97 GB
2.18 GB
2.21 GB

Cause
This in function definition with outside tensors (lower_pads, ...) is causing the issue. Moving this function to the cutout_ops.py  namespace with cutout_shape, padding_dims as args fix the issue
Code line 154 of cutout_ops.py.
        def fn(i):
            padding_dims = [
                [lower_pads[i], upper_pads[i]],
                [left_pads[i], right_pads[i]],
            ]
            mask = tf.pad(
                tf.zeros(cutout_shape[i], dtype=tf.bool),
                padding_dims,
                constant_values=True,
            )
            return mask

        mask = tf.map_fn(
            fn,
            tf.range(tf.shape(cutout_shape)[0]),
            fn_output_signature=tf.TensorSpec(
                shape=image_static_shape[1:-1], dtype=tf.bool
            ),
        )

If needed (I don't know since tensorflow-addons is winding down), I can make a small merge request to fix this bug.

As cutout is already in keras_cv I suggest a migration. But if it is a small PR please submit it. https://keras.io/api/keras_cv/layers/preprocessing/random_cutout/


"How to use this template" looses .github directory

The instructions under the "How to use this template" say;
git clone https://github.com/google/new-project
mkdir my-new-thing
cd my-new-thing
git init
cp -r ../new-project/* .
git add *
git commit -a -m 'Boilerplate for new Google open source project'

However the template now has a .github directory which includes stuff. The cp -r will not copy across this directory.
I think you need;
cp -r ../new-project/* ../new-project/.github .

I wasn't sure if there was a better way to copy "." files from the template while still skipping the .git directory?

good call, thanks!


caps.Lines and caps.Columns wrong values

With this code:
import "zgo.at/termfo"

term_name, exist := os.LookupEnv("TERM")
if !exist || len(term_name) == 0 {
    panic("TERM env not found")
}

term, _ = termfo.New(term_name)
lines := term.Numbers[caps.Lines]
cols := term.Numbers[caps.Columns]

// ==> 'lines' and 'cols' are wrong number

I got cols == 80 and lines == 24  instead of right values ${LINES}==19 ${COLUMNS}==200

You can't really get the size of a terminal via terminfo; it's just a key/value database with some parameters really. In the old days when terminals were actual physical machines it made sense to "hard-code" them in there, but not with resizeable terminal emulators.
You'll need to use a ioctl to get the terminal size, via the syscall package or golang.org/x/term, which has GetSize() that should work on most (all?) platforms. I avoided doing it here as x/term brings in x/sys, which is a fairly large dependency.
I mostly just want this to load terminfo files without too much extra stuff. I might write a different package based on this which does all of that.
There's some code in cmd/termfo/internal for the demo, but that'll likely only work on Linux (and maybe also some other Unix-y?) systems; not sure about macOS or Windows: https://github.com/arp242/termfo/blob/master/cmd/termfo/internal/term/term.go

Hi @arp242 ,
thanks for explanations and link
I'll use workaround with x/term.GetSize() or ioctl call (Linux only targeted platform)


feature: create styles for transform rotate property and a dotted background

Is your feature request related to a problem? Please describe.
1.create wrappid styles for transform Roate,  rotateX, rotateY, rotate(-x), rotate(-y), a dotted background and line-height and font-weight.

Changes in the bg dotted background and a text styles.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

css styles has been created

adding styles for rotate, line-height and font-weight

closing this issue, if more styles is to be added issue may open again.

styles classes has been created for the following mentioned.


Split GCP Payments

Describe the issue
Due to the p-card threshold limit issue, we might need to split the may invoice payment with different p-cards and ensure that this does not cause problems with other monthly payments
Which Sprint Goal is this issue related to?

Note: 'Milestone' is a ZenHub term that we use synonymously with 'Sprint'.

The 'Milestone' description (created in ZenHub) should clearly list Sprint Goals. This section should indicate which 'goal' this issue is related to.
Additional context
Add any other context, attachments or screenshots
Definition of done

GCP invoice is paid by the deadline.

Priority Ticket: Needs to be complete by the start of next sprint (week of June 7).


update CONTRIBUTING.md

updated the folder from dist to src according to https://github.com/saadeghi/daisyui/discussions/2370#discussioncomment-7107778
added note for Windows Users having problems with cat https://github.com/saadeghi/daisyui/issues/1982

Thank you


How to install doom-emacs alongside my emacs config

Hello,
I would like to try doom emacs but I don't want to screw my current emacs config.
How can I install it alongside my emacs config ?
Can I just put my emacs.d to a new git branch ?
Thx

Hello @4vrel ,
doom-emacs allows to run it from any folder using ./bin/doom run
So you can follow https://github.com/hlissner/doom-emacs/wiki/Getting-Started
but use replace .emacs.d with .emacs.doom.d

Another option is to use  chemacs, which lets you have multiple simultaneous emacs profiles, selected with a command-line argument to emacs.
https://github.com/plexus/chemacs

I have tried chemacs and it doesn't work with the bin/doom commands actually doom has hardcoded ~/.emacs.d in some places in the code.

@kisai This is false, doom works fine with chemacs.
For example, with the following setup:

vanilla config in ~/.emacs.d
doom cloned into ~/.emacs.doom.d
chemacs installed, providing ~/.emacs

And the following ~/.emacs-profiles.el:
(("default" . ((user-emacs-directory . "~/.emacs.d")))
 ("doom" . ((user-emacs-directory . "~/.emacs.doom.d"))))

The vanilla configuration will launch when running emacs, and doom will run when running emacs --with-profile=doom.  If you've moved your doom directory, run bin/doom refresh first to fix the autoloads.

I have tried that and it works but when i try to run any of the bash commands complains.

@kisai Please post the entire command output with the error message you're seeing, preferably as new issue.

You need to run <doom-emacs-dir>/bin/doom re after you have moved directory different place.

Here is a TL;DR on setting up Chemacs with Doom Emacs: https://gist.github.com/hlissner/d01f035d3fdb2dbbec0d95da7bcd5862
Doom doesn't hardcode the emacs directory. bin/doom resolves the location of your emacs.d based on the location of the bin/doom script itself. e.g. ~/some/folder/containing/doom/bin/doom will assume Doom lives in ~/some/folder/containing/doom.
bin/doom run also allows you to run Doom out of its current location, but all of its startup optimizations are bypassed this way, so it's only good for quick testing.

Here is what i did:

Built my personal emacs setup first.
mv ~/.emacs ~/.my_emacs
mv ~/.emacs.d ~/.my_emacs.d
put this line at the top of ~/.my_emacs
(setq user-emacs-directory "~/.my_emacs.d/")
Installed doom-emacs

Now switching is easy:
switch to my config:
ln -s ~/.emacs_mine ~/.emacs
switch to doom-emacs:
unlink ~/.emacs

I'll assume the OPs original issue was resolved and close this. In summary, check out chemacs, here are some TLDR instructions for it. If you have any other problems or questions about this, feel free to follow up here.


Bugfix/submission overview reconnect results

Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.

Motivation and Context

The submission overview for a student does not show the correct result for failed builds, because the result is not connected to the submission on this page. Because the submission holds the buildFailed property, the result only displayed a No tests found status.
Description

I reconnected the result to the submission in the service API call. This way, the submission is always available when displaying the result.
Steps for Testing

Log in to Artemis
Navigate to the scores of a programming exercise
Click on the name of a student with failed builds
On the next submissions overview, the failed results should get displayed correctly

E.g. https://artemistest.ase.in.tum.de/#/participation/163480/submissions

@maxr96 this is not related to my changes, so we should be fine.


Dropdown keyPress not scroll content inside

Please take a look at our issue submission guidelines. In order to keep our issues organized make sure to write a detailed writeup about the issue with screenshots or code examples.


This workflow is used to auto-create ADO work items when issues are labeled with 'tracked'.  name: Sync issue to Azure DevOps work item  on:   issues:     types:       [labeled]  jobs:   sync:     runs-on: ubuntu-latest     permissions:       issues: write     steps:       - uses: MicrosoftEdge/action-issue-to-workitem@main         env:           ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}"           github_token: "${{ secrets.GITHUB_TOKEN }}"         with:           label: 'tracked'           ado_organization: 'microsoft'           ado_project: 'Edge'           ado_tags: 'DevToolsGitHubSync'           ado_area_path: 'Edge\Web Experience\Developer Tools'

This workflow is used to auto-create ADO work items when issues are labeled with 'tracked'.
name: Sync issue to Azure DevOps work item
on:
issues:
types:
[labeled]
jobs:
sync:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: MicrosoftEdge/action-issue-to-workitem@main
env:
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}"
github_token: "${{ secrets.GITHUB_TOKEN }}"
with:
label: 'tracked'
ado_organization: 'microsoft'
ado_project: 'Edge'
ado_tags: 'DevToolsGitHubSync'
ado_area_path: 'Edge\Web Experience\Developer Tools'


Clash of helpers and references

I've been wondering about weird problems for a couple of times, where the culprit has turned out to be a name clash between a helper and a reference-binding in ViewModel.
For example:
<template name="items>
   {{#each items}}
      {{>itemEl item=this}}
   {{/each}}
</template>

<template name="itemEl">
  <div {{b "ref: item"}}>
     {{itemProp}}
  </div>
</template>

For the sake of developer experience, it would be nice to get a warning in such a situation.

I "kinda" fixed it. I added an error message if the view model exists. There's nothing I can do if the view model for itemEl is implicit. In your case, for you to get the warning, you would have to explicitly define a view model, even if it's an empty one:
Template.itemEl.viewmodel({
})

It isn't ideal but it's better than nothing. Pick up v4.0.13


Flink's ZK in HA mode setup is unable to start up if any of the zk hosts are unreachable

Problem:
We occasionally hit an issue where our Flink cluster will not startup if any of the zookeeper hosts passed in the "high-availability.zookeeper.quorum" config setting are unreachable. This seems to stem from us using an older zookeeper dependency version (3.4.10).
This error seems to stem from us being on an older zookeeper release (3.4.10). On this version the host lookup is done when the StaticHostProvider is created on startup of the JM and not refreshed after. Using consul for lookup doesn't help either as we do the consul DNS lookup at startup time and default to one of the n zk hosts chosen then. If that host goes down we'd run into trouble.
This has been fixed as part of: https://issues.apache.org/jira/browse/ZOOKEEPER-1576 in the 3.4.x branch (https://github.com/apache/zookeeper/commit/be1409cc9a14ac2e28693e0e02a0ba6d9713565e). This review bumps the zk dependency to 3.4.14 to allow us to workaround this.
Have spun up an upstream jira (https://issues.apache.org/jira/browse/FLINK-17443) which will target the 1.10 branch so we'll want this change in 1.9 anyway.
Sample error:
java.net.UnknownHostException: zk01-pa4.hpc.criteo.prod: Name or service not known at
java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at
java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929) at
java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324) at
java.net.InetAddress.getAllByName0(InetAddress.java:1277) at
java.net.InetAddress.getAllByName(InetAddress.java:1193) at
java.net.InetAddress.getAllByName(InetAddress.java:1127) at
org.apache.flink.shaded.zookeeper.org.apache.zookeeper.client.StaticHostProvider.<init>(StaticHostProvider.java:61)  at
org.apache.flink.shaded.zookeeper.org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:445) at
org.apache.flink.shaded.curator.org.apache.curator.utils.DefaultZookeeperFactory.newZooKeeper(DefaultZookeeperFactory.java:29) at
org.apache.flink.shaded.curator.org.apache.curator.framework.imps.CuratorFrameworkImpl$2.newZooKeeper(CuratorFrameworkImpl.java:150) at
org.apache.flink.shaded.curator.org.apache.curator.HandleHolder$1.getZooKeeper(HandleHolder.java:94) at
org.apache.flink.shaded.curator.org.apache.curator.HandleHolder.getZooKeeper(HandleHolder.java:55) at
org.apache.flink.shaded.curator.org.apache.curator.ConnectionState.reset(ConnectionState.java:262) at
org.apache.flink.shaded.curator.org.apache.curator.ConnectionState.start(ConnectionState.java:109) at
org.apache.flink.shaded.curator.org.apache.curator.CuratorZookeeperClient.start(CuratorZookeeperClient.java:191) at
org.apache.flink.shaded.curator.org.apache.curator.framework.imps.CuratorFrameworkImpl.start(CuratorFrameworkImpl.java:259) at
org.apache.flink.runtime.util.ZooKeeperUtils.startCuratorFramework(ZooKeeperUtils.java:131) at
org.apache.flink.runtime.highavailability.HighAvailabilityServicesUtils.createHighAvailabilityServices(HighAvailabilityServicesUtils.java:123) at
org.apache.flink.runtime.entrypoint.ClusterEntrypoint.createHaServices(ClusterEntrypoint.java:292) at
org.apache.flink.runtime.entrypoint.ClusterEntrypoint.initializeServices(ClusterEntrypoint.java:257)

cc @JTaky do take a look when you get a chance


PMM-7 add pmm 2.33.0 to prod

Test name
Status

api-tests
passed

hm. there so far no green light for 2.33. so not sure it will be today.

@denisok Even if it's not today it doesn't hurt to have it in version service in advance


CORRUPT HEAP when freeing scratch buffers allocated for ESP32-S3 optimized conv kernels

Hi, @vikramdattu ! Thank you for your amazing work, we integrated it into our Edge Impulse SDK, so more users can benefit from optimized NN inference with ESP NN.
Currently we only support ESP32 optimized kernels and I'm working on adding support for ESP32-S3 as well, since this chip is gaining popularity with users.
When testing object detection compiled (interpreterless) model I'm running into CORRUPT HEAP error on freeing scratch buffers. It makes me think that there is possible heap corruption in write operation inside optimized Conv kernel, i.e. the kernel writing into area outside of allocated scratch buffer.
I'm attaching the complete project here, here is the sample output I'm getting:
Edge Impulse standalone inferencing (Espressif ESP32)
Left 11712 bytes after tensor_boundary
CORRUPT HEAP: Bad head at 0x3fce0f34. Expected 0xabba1234 got 0x00000000

assert failed: multi_heap_free multi_heap_poisoning.c:253 (head != NULL)

Backtrace:0x403759fe:0x3fcf44c00x40379135:0x3fcf44e0 0x4037f2d1:0x3fcf4500 0x4037ef39:0x3fcf4620 0x40375bf2:0x3fcf4640 0x4037f2ed:0x3fcf4660 0x42006e75:0x3fcf4680 0x420077a6:0x3fcf46a0 0x420061ea:0x3fcf46c0 0x420068be:0x3fcf4700 0x420069b9:0x3fcf48c0 0x42006c9e:0x3fcf4960 0x42024ffb:0x3fcf4b40 0x4037bb59:0x3fcf4b60
0x403759fe: panic_abort at /Users/dmitrymaslov/esp/esp-idf/components/esp_system/panic.c:402

0x40379135: esp_system_abort at /Users/dmitrymaslov/esp/esp-idf/components/esp_system/esp_system.c:121

0x4037f2d1: __assert_func at /Users/dmitrymaslov/esp/esp-idf/components/newlib/assert.c:85

0x4037ef39: multi_heap_free at /Users/dmitrymaslov/esp/esp-idf/components/heap/multi_heap_poisoning.c:253 (discriminator 1)

0x40375bf2: heap_caps_free at /Users/dmitrymaslov/esp/esp-idf/components/heap/heap_caps.c:305

0x4037f2ed: free at /Users/dmitrymaslov/esp/esp-idf/components/newlib/heap.c:39

0x42006e75: ei_free(void*) at /Users/dmitrymaslov/github/example-standalone-inferencing-espressif-esp32/edge-impulse-sdk/porting/espressif/ei_classifier_porting.cpp:85

0x420077a6: tflite_learn_33_reset(void (*)(void*)) at /Users/dmitrymaslov/github/example-standalone-inferencing-espressif-esp32/tflite-model/tflite_learn_33_compiled.cpp:1486 (discriminator 2)

0x420061ea: _ZL20inference_tflite_runPK10ei_impulseP28ei_config_tflite_eon_graph_tyP12TfLiteTensorS5_S5_PhP19ei_impulse_result_tb$constprop$117 at /Users/dmitrymaslov/github/example-standalone-inferencing-espressif-esp32/edge-impulse-sdk/classifier/inferencing_engines/tflite_eon.h:125

0x420068be: run_nn_inference_image_quantized(ei_impulse const*, ei::ei_signal_t*, ei_impulse_result_t*, void*, bool) at /Users/dmitrymaslov/github/example-standalone-inferencing-espressif-esp32/edge-impulse-sdk/classifier/inferencing_engines/tflite_eon.h:334

0x420069b9: process_impulse at /Users/dmitrymaslov/github/example-standalone-inferencing-espressif-esp32/edge-impulse-sdk/classifier/ei_run_classifier.h:499
 (inlined by) process_impulse at /Users/dmitrymaslov/github/example-standalone-inferencing-espressif-esp32/edge-impulse-sdk/classifier/ei_run_classifier.h:196
[example-standalone-inferencing-espressif-esp32.zip](https://github.com/espressif/esp-nn/files/12499254/example-standalone-inferencing-espressif-esp32.zip)

0x42006c9e: app_main at /Users/dmitrymaslov/github/example-standalone-inferencing-espressif-esp32/edge-impulse-sdk/classifier/ei_run_classifier.h:609
 (inlined by) app_main at /Users/dmitrymaslov/github/example-standalone-inferencing-espressif-esp32/main/main.cpp:116

0x42024ffb: main_task at /Users/dmitrymaslov/esp/esp-idf/components/freertos/port/port_common.c:129 (discriminator 2)

0x4037bb59: vPortTaskWrapper at /Users/dmitrymaslov/esp/esp-idf/components/freertos/port/xtensa/port.c:131

Let me know if you have the time to try reproducing the error or have any insights on how can I debug it myself.

@AIWintermuteAI thanks for the ESP32-S3 port. Let me try the example and get back to you.

Thanks for adding additional context to the issue.
I shall reproduce the issue and fix it for good!

@AIWintermuteAI this was similar alignment issue. The scratch buffers allocated were not checking for aligned boundary.
Please modify AllocatePersistentBufferImpl function to account for the alignment as below before returning the pointer:
  }

  current_location -= bytes;

  // align to the left aligned boundary of 16 bytes
  current_location -= 15; // for alignment
  current_location += 16 - ((int) (current_location) & 15);

  ptr = current_location;
  memset(ptr, 0, bytes);
  ei_printf("ARENA tensor_boundary %p current_location %p bytes %d \n", tensor_boundary, current_location, (int)bytes);
  ei_printf("ARENA %p scratch_buf_size %d \n", ptr, (int)bytes);

  return ptr;
}

You will also need to account for the extra buffer needed for this and
if (current_location - bytes < tensor_boundary) {

condition should change accordingly.