More windoors (starring directional window)

About the PR
Adds both Plasma, and Uranium variants of secure/normal windoors, and directional uranium windows to complete "The Glass Set"

Why / Balance
Slowly more and more structures of various glassy nature have been added, and this should round off the set for the main objects. (windoors, windows, slim windows, etc). Aside from having at least plasma windoors just making sense, plasma windoors was also requested for a map being made, so there's that.

Technical details

Mostly copied existing proto code, and tried to organize some stuff where I could, although probably still a bit messy and could have a once over later if needed. (Mostly things like ID names)

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: Sphiral

add: NT has finally perfected methods for infusing Plasma/Uranium into Glass! Windoors now have such varients! And Uranium Slim Windows exist!

"ShardGlassRUranium" doesn't exist, you could instead try spawning a regular uranium glass shard and a metal rod

"ShardGlassRUranium" doesn't exist, you could instead try spawning a regular uranium glass shard and a metal rod

Okay, maybe staying up finishing this PR wasn't the best idea, and maybe sleep is a good idea after all
Thank you tho

I'm going to significantly enjoy reinforcing random parts of the station with this PR. Thanks for the good work. 👍

Test fails is real.
it complains that after disassembly the price of components increases

oh this is really good


Fix SASL_CB_GETCONF detection , it is SASL_CB_GETCONFPATH on linux.

Hello and thanks for memcached,
I was using and then building a memcached instance built with SASL support on linux (RHEL 5,6,7) and I noticed the support for detecting the SASL callback to read an alternative config path does not work on linux because the name differs from the name Sun used/uses.
I think Sun used SASL_CB_GETCONF ( see links 1, 2, 3 below), so in configure.ac
unsigned long val = SASL_CB_GETCONF;
needs to be:
unsigned long val = SASL_CB_GETCONFPATH;
on RHEL7,EL6 and EL5.  I'd probably duplicate what exists for HAVE_SASL_CB_GETCONF to HAVE_SASL_CB_GETCONFPATH.
Then in sasl_defs.c the first 2 ifdefs would check for either define being true and the 3rd would be changed from:
#ifdef HAVE_SASL_CB_GETCONF
   { SASL_CB_GETCONF, sasl_getconf, NULL },
#endif

to:
#ifdef HAVE_SASL_CB_GETCONF
   { SASL_CB_GETCONF, sasl_getconf, NULL },
#else
#ifdef HAVE_SASL_CB_GETCONFPATH
   { SASL_CB_GETCONFPATH, (sasl_callback_ft)sasl_getconf, NULL },
#endif
#endif

Xref:
(1.) https://github.com/memcached/memcached/wiki/ReleaseNotes145#sasl_pwdb-for-more-simple-auth-deployments
(2.) https://github.com/memcached/memcached/commit/7a221d95a870bd01ba1c93650c63abd583b00d39
(3.) http://comments.gmane.org/gmane.mail.postfix.devel/1537
I am building with:
./configure --enable-sasl --enable-sasl-pwdb

and because SASL_CB_GETCONF detection was not working...
make CFLAGS='-DHAVE_SASL_CB_GETCONF=1 -DENABLE_SASL_PWDB=1'

If this is something you think is worth fixing then I can send a PR.
Thanks.

That sounds completely reasonable. Go ahead and send a PR!

released in 1.5.7


Refactor Condition and Column Rendering

This PR introduces RenderingContext which makes it easier to pass around the support objects necessary for rendering.
The PR changes the rendering method for columns and functions such that they now receive the whole rendering context in their render methods. This allows for rendering of more complex functions (such as requested in #655)
The PR also changes the rendering method for conditions such that the rendering is only performed in the DefaultConditionVisitor. Previously rendering was shared between that visitor and the conditions themselves which was confusing.
Finally, the PR implements the change to the sum function requested in #655.

coverage: 100.0%. remained the same when pulling 31c935d4e5a81f46fceead63b042889ec28fc6f0 on jeffgbutler:gh-655 into 6b714095a9976f3f3ddf513231dc04c368ffcf63 on mybatis:master.


Work in progress merging the back end and the front end

This pull request is almost certainly not working, but its a "POC" of what we could do to use our two projects together. As I focused on the back end part, it could be beneficial to use my project as a dependency of yours. What do you think ? Is it worth it ?

I think it's worth it! Of course this app must retain the same behavior :slightly_smiling_face:

I see you are using f-strings in your project, meaning Python >= 3.6 is required. I see only one project dependent on django-zxcvbn-password on libraries.io (https://libraries.io/pypi/django-zxcvbn-password) but still, it would be a breaking change.

Hey @Pierre-Sassoulas, I'll likely not be working on this project anymore, and will a note in the README to inform users. Should I close this PR?

Sure no problem ! The Django backend password validator necessitate a lot less maintenance work I almost forgot about it. Django is stable compared to JS / the web.


Updating src/index with import ant-override, added ant-override.css file

Dude you rock, great work on the side nav!


fix: Tooltip pop up above the description of task in short mode

Tooltip used to have mod-right animation which block the task text in short mode.
Fixes #1147

Description
Replace mod-right animation with pop-up. Basically just shift the tooltip up
Motivation and Context
Tooltip used to have mod-right animation which block the task text in short mode.
Sometimes, it is impossible to click the URL that was blocked by the tooltip.

How has this been tested?

Screenshots (if appropriate)

Types of changes

Changes visible to users:

[x] Bug fix (prefix: fix - non-breaking change which fixes an issue)
[ ] New feature (prefix: feat - non-breaking change which adds functionality)
[ ] Breaking change (prefix: feat!! or fix!! - fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (prefix: docs - improvements to any documentation content)
[ ] Sample vault (prefix: vault - improvements to the Tasks-Demo sample vault)

Internal changes:

[x] Refactor (prefix: refactor - non-breaking change which only improves the design or structure of existing code, and making no changes to its external behaviour)
[ ] Tests (prefix: test - additions and improvements to unit tests and the smoke tests)
[ ] Infrastructure (prefix: chore - examples include GitHub Actions, issue templates)

Checklist

[x] My code follows the code style of this project and passes yarn run lint.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] My change has adequate Unit Test coverage.

Terms

[x] My contribution follow this project's contributing guide
[x] I agree to follow this project's Code of Conduct

Thank you very much. I will test and merge this as soon as I have time - likely in a couple of days...


linker.estimate_u_using_random_sampling fails with default arguments, with no clear indication why

Splink 4:
from splink import DuckDBAPI, Linker, SettingsCreator, splink_datasets
import splink.comparison_library as cl

settings = SettingsCreator("dedupe_only", [cl.ExactMatch("first_name"), cl.ExactMatch("surname")])

linker = Linker(splink_datasets.fake_1000, settings, DuckDBAPI())

linker.estimate_u_using_random_sampling()

Get the error: TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
Some options for behaviour:

max_pairs = None means we set proportion as 1, similar to if we have more max_pairs than possible record pairs
explicit error message if it is left as None, forcing user to set a non-default value making this argument non-optional
a directly valid default value

Tricky, especially since it's unlikely the user will have an intuition for the ''correct'/'best' parameter (it wouldn't be very good if they set it to like, 100 or something!)
I'd possibly set the default value to 1e6 which will be quick to compute and will produce 'reasonably decent' estimates.  And make sure we try to ensure in examples/tutorials we always explicitly set it to sensible values

I'd possibly set the default value to 1e6 which will be quick to compute and will produce 'reasonably decent' estimates. And make sure we try to ensure in examples/tutorials we always explicitly set it to sensible values

My only concern with that is that we don't really have a mechanism for flagging that estimates may be unreliable - I'd worry some users might not look at the docs and just use the default, and then get (somewhat) unreliable estimates. I guess we could emit a warning if it's left at this value that they may want to increase the number for more serious estimation?

Agreed - i think a warning if it's left as the default should suffice


[SPARK-32542][SQL]Add a batch for optimizing logicalPlan

What changes were proposed in this pull request?
This pr adds a batch in Optimizer for multidimensional analysis sql
Why are the changes needed?

Split an expand into several smallExpand,which contains the Specified number of projections.
For instance,like this sql.select a,b,c,d,count(1) from table1 group by a,b,c,d with cube. It can expand 2^4 times of original data size.
Now we specify the spark.sql.optimizer.projections.size=4.The Expand will be split into 2^4/4 smallExpand.It can reduce the shuffle pressure and improve performance in multidimensional analysis when data is huge.
Does this PR introduce any user-facing change?
no
How was this patch tested?
unit test
Authored-by: Karl-WangSK<EMAIL_ADDRESS>Signed-off-by: Karl-WangSK<EMAIL_ADDRESS>

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Thanks for the contribution, @Karl-WangSK. btw, could you show us performance numbers with/without this fix in the PR description first?

ok to test

Test build #127117 has started for PR 29360 at commit e5d0d0d.

Merged build finished. Test PASSed.

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

Test build #127123 has started for PR 29360 at commit 7f8680c.

Merged build finished. Test PASSed.

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

Test build #127123 has finished for PR 29360 at commit 7f8680c.

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/127123/
Test FAILed.

Test build #127124 has started for PR 29360 at commit a71e96b.

Merged build finished. Test PASSed.

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

Test build #127124 has finished for PR 29360 at commit a71e96b.

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/127124/
Test FAILed.

Merged build finished. Test PASSed.

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

Test build #127126 has started for PR 29360 at commit db8290c.

Test build #127117 has finished for PR 29360 at commit e5d0d0d.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class RegExpExtractAll(subject: Expression, regexp: Expression, idx: Expression)
    .doc(\"The name of a class that implements \" +
trait CachedBatch
trait CachedBatchSerializer extends Serializable
trait SimpleMetricsCachedBatch extends CachedBatch
abstract class SimpleMetricsCachedBatchSerializer extends CachedBatchSerializer with Logging
case class ColumnarToRowExec(child: SparkPlan) extends ColumnarToRowTransition with CodegenSupport
case class ApplyColumnarRulesAndInsertTransitions(
class ColumnStatisticsSchema(a: Attribute) extends Serializable
class PartitionStatistics(tableSchema: Seq[Attribute]) extends Serializable
case class DefaultCachedBatch(numRows: Int, buffers: Array[Array[Byte]], stats: InternalRow)
class DefaultCachedBatchSerializer extends SimpleMetricsCachedBatchSerializer

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/127117/
Test PASSed.

Test build #127126 has finished for PR 29360 at commit db8290c.

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

Merged build finished. Test FAILed.

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

@Karl-WangSK Why did you close this? If you gave up working on this, could we close the correspoinding jira, too?

@Karl-WangSK Why did you close this? If you gave up working on this, could we close the correspoinding jira, too?

sry for closing this pr. sql test failed. didn't find the reason. need time to fix the bugs.

If you're still working on this, its okay to keep this open.

Can one of the admins verify this patch?

btw, could you make the PR title clearer? I think the current one looks ambigous.

Can one of the admins verify this patch?

ok to test

Test build #127147 has started for PR 29360 at commit db8290c.

Merged build finished. Test PASSed.

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

Test build #127147 has finished for PR 29360 at commit db8290c.

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

Merged build finished. Test FAILed.

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

Test build #127177 has started for PR 29360 at commit 758ead7.

Merged build finished. Test PASSed.

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

Test build #127177 has finished for PR 29360 at commit 758ead7.

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/127177/
Test FAILed.

Merged build finished. Test PASSed.

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

Test build #127178 has started for PR 29360 at commit 396e16d.

Test build #127178 has finished for PR 29360 at commit 396e16d.

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

Merged build finished. Test FAILed.

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

Merged build finished. Test PASSed.

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

Test build #127189 has started for PR 29360 at commit e04d513.

Test build #127189 has finished for PR 29360 at commit e04d513.

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/127189/
Test FAILed.

Test build #127190 has started for PR 29360 at commit d34b089.

Merged build finished. Test PASSed.

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

Test build #127194 has started for PR 29360 at commit 34a76d1.

Merged build finished. Test PASSed.

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

Test build #127194 has finished for PR 29360 at commit 34a76d1.

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/127194/
Test FAILed.

Test build #127190 has finished for PR 29360 at commit d34b089.

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

Merged build finished. Test FAILed.

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

Test build #127198 has started for PR 29360 at commit ce20579.

Merged build finished. Test PASSed.

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

Test build #127198 has finished for PR 29360 at commit ce20579.

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/127198/
Test FAILed.

Test build #127201 has started for PR 29360 at commit b87ec37.

Merged build finished. Test PASSed.

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

Test build #127201 has finished for PR 29360 at commit b87ec37.

This patch fails to build.
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/127201/
Test FAILed.

Test build #127202 has started for PR 29360 at commit 3899943.

Merged build finished. Test PASSed.

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

Test build #127202 has finished for PR 29360 at commit 3899943.

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

Merged build finished. Test FAILed.

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

Test build #127223 has started for PR 29360 at commit bf73a5c.

Merged build finished. Test PASSed.

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

Test build #127224 has started for PR 29360 at commit 6cf396d.

Test build #127224 has finished for PR 29360 at commit 6cf396d.

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

Merged build finished. Test FAILed.

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

Test build #127226 has started for PR 29360 at commit 4e62422.

Merged build finished. Test PASSed.

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

Test build #127223 has finished for PR 29360 at commit bf73a5c.

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

Merged build finished. Test FAILed.

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

Test build #127226 has finished for PR 29360 at commit 4e62422.

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/127226/
Test PASSed.

Test build #127235 has started for PR 29360 at commit b744272.

Merged build finished. Test PASSed.

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

Test build #127236 has started for PR 29360 at commit c1b318a.

Merged build finished. Test PASSed.

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

Test build #127235 has finished for PR 29360 at commit b744272.

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

Test build #127236 has finished for PR 29360 at commit c1b318a.

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

Merged build finished. Test FAILed.

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

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/127236/
Test FAILed.

Test build #127237 has started for PR 29360 at commit f904eab.

Merged build finished. Test PASSed.

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

Test build #127237 has finished for PR 29360 at commit f904eab.

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/127237/
Test PASSed.

Can you add some tests for this? And, as @maropu said, please also run some benchmarks to show the performance improvement. Thanks.

ok

Test build #127263 has started for PR 29360 at commit 7519afc.

Merged build finished. Test PASSed.

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

Test build #127263 has finished for PR 29360 at commit 7519afc.

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/127263/
Test FAILed.

Test build #127264 has started for PR 29360 at commit f904eab.

Merged build finished. Test PASSed.

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

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

Merged build finished. Test PASSed.

Merged build finished. Test PASSed.

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

Test build #127266 has started for PR 29360 at commit 82a1d4c.

Test build #127267 has started for PR 29360 at commit f7bdea0.

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/127266/
Test FAILed.

Test build #127267 has finished for PR 29360 at commit f7bdea0.

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

Test build #127264 has finished for PR 29360 at commit f904eab.

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

Merged build finished. Test FAILed.

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

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/127264/
Test FAILed.

Test build #127279 has started for PR 29360 at commit eb94158.

Merged build finished. Test PASSed.

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

Test build #127279 has finished for PR 29360 at commit eb94158.

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

Merged build finished. Test FAILed.

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

Merged build finished. Test PASSed.

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

Test build #127282 has started for PR 29360 at commit 3a2901e.

Test build #127282 has finished for PR 29360 at commit 3a2901e.

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

Merged build finished. Test FAILed.

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

Merged build finished. Test PASSed.

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

Test build #127285 has started for PR 29360 at commit 01670c2.

Test build #127285 has finished for PR 29360 at commit 01670c2.

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

Merged build finished. Test FAILed.

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

Test build #127332 has started for PR 29360 at commit 5bda4ad.

Merged build finished. Test PASSed.

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

Test build #127333 has started for PR 29360 at commit 7a748c2.

Merged build finished. Test PASSed.

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

Test build #127333 has finished for PR 29360 at commit 7a748c2.

This patch fails to build.
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/127333/
Test FAILed.

Test build #127335 has started for PR 29360 at commit 2c1de30.

Merged build finished. Test PASSed.

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

Test build #127335 has finished for PR 29360 at commit 2c1de30.

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

Merged build finished. Test FAILed.

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

Test build #127332 has finished for PR 29360 at commit 5bda4ad.

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/127332/
Test PASSed.

Test build #127404 has started for PR 29360 at commit 4a1350c.

Merged build finished. Test PASSed.

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

retest this please

retest this please

Merged build finished. Test PASSed.

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

Test build #127409 has started for PR 29360 at commit 5c2e630.

Test build #127404 has finished for PR 29360 at commit 4a1350c.

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/127404/
Test PASSed.

@viirya  @maropu

please review the benchmark

Test build #127409 has finished for PR 29360 at commit 5c2e630.

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/127409/
Test PASSed.

But shuffle is happened during Aggregate here, right? By splitting, the total amount of shuffled data is not changed, but split into several ones. Does it really result significant improvement?

As @viirya said above, I think the same. Why can this reduce the amount of shuffle writes? In the case of expand -> partial aggregates, the aggregates seem to have the same total amount of output size.

yes.The shuffle output is the same, because the size of the data is the same.
As you can see the benchmark:
cube 7 fields k1, k2, k3, k4, k5, k6, k7(128x projections)  and cube 6 fields k1, k2, k3, k4, k5, k6(64x projections) with  grouping off
data size is double ,but the time ,one is 2.4min ,the another one is 8.7min, not just double time .It will be affected by data size Especially when the memory is limited.
The original data I created is about 20M, executor memory is 1g. when it expands to 64x or  128x. It will have big impact on shuffle performance.

Test build #127446 has started for PR 29360 at commit b0a7c6e.

Merged build finished. Test PASSed.

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

Test build #127446 has finished for PR 29360 at commit b0a7c6e.

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/127446/
Test PASSed.

hi. Can anyone deal with this pr?

@cloud-fan

Test build #127526 has started for PR 29360 at commit 87b9a82.

Merged build finished. Test PASSed.

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

Test build #127526 has finished for PR 29360 at commit 87b9a82.

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

Merged build finished. Test FAILed.

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

retest this please

Test build #127564 has started for PR 29360 at commit e17fa60.

Merged build finished. Test PASSed.

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

@cloud-fan @maropu  Please take a look, thanks!

Test build #127564 has finished for PR 29360 at commit e17fa60.

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/127564/
Test PASSed.

But shuffle is happened during Aggregate here, right? By splitting, the total amount of shuffled data is not changed, but split into several ones. Does it really result significant improvement?

As @viirya said above, I think the same. Why can this reduce the amount of shuffle writes (and improve the performance)? In the case of expand -> partial aggregates, the aggregates seem to have the same total amount of output size.

In my idea and according to benchmark.I think the when data size is larger than execution memory ,then it will cache in disk ,so it losses the performance and increase the time.

Test build #127866 has started for PR 29360 at commit b30d2ba.

Merged build finished. Test PASSed.

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

Test build #127866 has finished for PR 29360 at commit b30d2ba.

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

Merged build finished. Test FAILed.

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

retest this please

ready to merge if no other problems @LuciferYang  Thanks!


Question: Is there a way to force non async for a getItem

Hi,
Occasionally I want to block while I get something from local storage.  I would prefer to use localforage for this as it's being used throughout the codebase.  Is this possible?
Thanks

Sorry but no; the APIs we use on the back ends are non-blocking so we have to rely on callbacks and promises.
Writing with promises gives you a code path that looks very similar to blocking calls. If you wanted to send a code sample I could suggest how to integrate them in.

Hi Matt,
Thanks for the offer - I was just being lazy and was hoping not have to
rewrite the current blocking code.
Thanks for the quick response.
Cheers,
Glenn
On Thu, May 21, 2015 at 12:04 AM, Matthew Riley MacPherson <
<EMAIL_ADDRESS>wrote:

Sorry but no; the APIs we use on the back ends are non-blocking so we have
to rely on callbacks and promises.
Writing with promises gives you a code path that looks very similar to
blocking calls. If you wanted to send a code sample I could suggest how to
integrate them in.
—
Reply to this email directly or view it on GitHub
https://github.com/mozilla/localForage/issues/379#issuecomment-104161413
.


Removed secondary base href=/ element

PR created following discussions here: https://github.com/angular/quickstart/pull/368#issuecomment-283023424

I signed it!


Support export to HuggingFace

Added option to export to huggingface format. This involves creating a folder with config.json and pytorch_model.bin.
Possible things that could be done:

Add export for tokenizer to huggingface format as well.
Manually add the RoPE embeddings.
Change versioning to be string (currently export to hf is when version == -1).
Ensure that default values in LlamaConfig match up for the config files.

Loads without error into LlamaForCausalLM.from_pretrained() but have not tested with a tokenizer.

Example of use:
curl -L -O https://huggingface.co/karpathy/tinyllamas/resolve/main/stories15M.pt
python export.py tinyllama-15m --checkpoint ./stories15M.pt --version -1

I have also uploaded the models for use in the HuggingFace Hub. It seems to work fine, and automatically seems to get the RoPE embeddings when loading the model into LlamaForCausalLM.

I've been testing this PR for the past ~hour and everything seems to work well! 🥳
One thing which would be nice is the option to select dtype from the CLI.

Ok, I changed the default dtype to be torch.float32. I also added code to choose dtype via CLI but it might not be worth merging upstream. I have made the fp16 and fp32 models available on HuggingFace

This works perfectly, thanks!
from transformers import pipeline
pipe = pipeline('text-generation', 'nickypro/tinyllama-110M')
pipe('Once upon a time, Sarah', max_new_tokens=128)

outputs

[{'generated_text': "Once upon a time, Sarah and her mommy went to the park. Sarah saw a big slide and wanted to go on it. She climbed up the ladder and slid down. It was so much fun!\nAfter playing on the slide, Sarah and her mommy went to the store. Sarah saw a toy she really wanted, but her mommy said they couldn't buy it today. Sarah was sad, but her mommy promised they would come back another day.\nOn the way home, Sarah saw a big truck. It was carrying lots of boxes. Sarah asked her mommy what was inside the boxes. Her mommy"}]

Just one issue I ran into while converting to ONNX, is that the tied weights are not accounted for correctly. I ran this by @fxmarty, and he found that the state_dict is ill-formatted:
model_id = "nickypro/tinyllama-15M"
model = AutoModelForCausalLM.from_pretrained(model_id)

print(model.model.embed_tokens.weight.data_ptr())
print(model.lm_head.weight.data_ptr())

##

model_id = "gpt2"
model = AutoModelForCausalLM.from_pretrained(model_id)

print(model.transformer.wte.weight.data_ptr())
print(model.lm_head.weight.data_ptr())

Perhaps Felix might be able to provide additional insight or a fix.

Hi, this config needs to be set to True I believe.

Have you tried to convert the stories260K.pt to huggingface model?
It's architecture is GQA.

Hi, this config needs to be set to True I believe.

Added check for tied weights, and fixed

Have you tried to convert the stories260K.pt to huggingface model? It's architecture is GQA.

Added code to support GQA. It gives the same result for 15M, 42M etc, and runs for 260K.
Not sure how to get the smaller tokenizer working with the HuggingFace model, so not able to check that it gives reasonable results.

Have you tried to convert the stories260K.pt to huggingface model? It's architecture is GQA.

Added code to support GQA. It gives the same result for 15M, 42M etc, and runs for 260K.
Not sure how to get the smaller tokenizer working with the HuggingFace model, so not able to check that it gives reasonable results.

Good job!

Have you tried to convert the stories260K.pt to huggingface model? It's architecture is GQA.

Added code to support GQA. It gives the same result for 15M, 42M etc, and runs for 260K.
Not sure how to get the smaller tokenizer working with the HuggingFace model, so not able to check that it gives reasonable results.

good job

不确定如何让较小的分词器与 HuggingFace 模型一起使用，因此无法检查它是否给出了合理的结果。

Hello，After trying to download a stories15M model on hf, I quantized it,
As shown in these two files。

then . I use " python export.py stories_q80.bin --version 2 --hf .\model" That worked and it also succeeded for runq.c, but after executing” ./runq .stories_q80.bin -n 20 -i 'one day' “at the end, the code would just output my prompt one day and end the program

This thread is gold.  I'm posting this here in case someone wants a quick example using AutoModel instead of pipeline.
from transformers import AutoTokenizer, AutoModelForCausalLM
import os
import torch

torch.set_default_device("cuda")

model = AutoModelForCausalLM.from_pretrained(model_path, torch_dtype="auto", device_map="cuda", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)

prompt = "Once upon a time, Sarah"

tokenized_input = tokenizer(prompt, return_tensors="pt", return_attention_mask=False)

tokenized_output = model.generate(**tokenized_input, max_new_tokens=1024, repetition_penalty=1.1)
complete_response = tokenizer.batch_decode(tokenized_output)[0]
print(f"{complete_response}")

One thing I had to do to get this fully functional though was I pulled this:
https://huggingface.co/nickypro/tinyllama-110M/
And put in my own model that was exported from export.py with HF.  (config.json and pytorch_model.bin).
What I don't understand is how I'm supposed to properly create the other files in my huggingface folder export?
(e.g. generation_config.json, tokenizer.json, tokenizer_config.json, special_tokens_map.json)
When I look at meta/llama2 7B, the tokenizer file is not the same size as what is in nickypro/tinyllama-110M, nor is it the same size as what is in the root of llama2c.  So if I didn't have this "random" repo to set my tokenizer properly, I'm not clear how I would have done that.  And Nicky's is a json vs the
In short - how would i recreate tokenizer.json?


Make sure all literal blocks are separated from their preceding double colon

Fixes https://github.com/arq5x/bedtools2/issues/500

@arq5x, ready for squashing.

Thanks!!!

(once you merge this, I'll create another PR to update the documentation of the "bedtools sort" tool, which isn't complete)

Bump. (I have another change to the documentation I'd like to submit as a pull request, but that would probably conflict with this PR if this isn't merged first)

Sorry!

Great, thanks.


Connect "Create Issue" to backend

This makes it possible to create issues in the frontend and persist it in the backend.
Notes:

The issue creation should be refactored into using pure react state, rather than redux, since it's not to be used outside of this page. Therefore, some of the functionality (options and vote demand) does not impact it at the moment.

What works nicely, though, is the text area (issue description) and either Y/N questions or multiple choice answers (it's not possible to remove custom answers at the moment either, because of the pending refactor).

Refactored most of the component to use local state rather than redux.
Also added a warning if there is an active issue already.

Refactored most of the component to use local state rather than redux.

Do you want all the components related to the create issue form to use local state instead of redux?

Do you want all the components related to the create issue form to use local state instead of redux?

Yes, if it's not required somewhere else in the application, it's unnecessarily complex to keep the state in redux imo.

I think I've more or less completed that refactoring now. I also think you intended to remove the SelectQuestionType-component. I think this is a good idea, but I haven't done it yet.


AreaEnhancement

Added a new property to the Area class that can make Areas perceive concave shapes. It is useful for jumping/crouching systems.

In the previous PR I miss read the purpose of this PR, but hopefully now I reviewed the code and everything is more clear.
However, the if (other_body_shape->isConcave()) was inserted to fix this issue #25419. Now that I'm re-checking this issue I'm realizing that I solved that issue not in the best way.
I don't remember exactly what the problem was with concave that make me add that IF statement; however, I would remove that IF, and try to solve the issue #25419 correctly.
Do you want to do it, (in case I'm available for help)? Otherwise I can give it a check.

Today I looked at the issue you referenced and downloaded the minimal reproduction project. I ran it with "perceive_concave" on and off, and in both cases it worked as I expected it to. I modified the project a little so that I could transform the area (which was using a cube shape) into the static body (which was using a concave shape). With perceive_concave off, the "body_entered" signal was not emitted. With perceive_concave on, the "body_entered" was emitted.
I haven't run into any instances where I received or did not receive the signal when I expected. I'm still working on setting up a stress test, to see if using multiple areas with perceive_concave on has a big impact on performance. I'll let you know what kind of results I get.

I'm still working on setting up a stress test, to see if using multiple areas with perceive_concave on has a big impact on performance. I'll let you know what kind of results I get.

I prefer to not have this option at all and rather allows the volume to emit a signal when it detects a concave.
Is strange that you can't reproduce the issue reported here #25419, so I'll re-try it and in case we can completely remove the if.

I prefer to not have this option at all and rather allows the volume to emit a signal when it detects a concave.

Gotcha! I'd be happy to strip the option and just enable detecting concave shapes - after I find out if I fixed my bug :)
I was able to set up a simple stress test, and my conclusion is that the bottle neck for areas is the number of overlapping shapes in an area, not necessarily what kind of shape the area is overlapping with. I think we could safely enable the detection of concave shapes without worrying about a performance impact.

I removed the property, and it is working correctly when set to Bullet Physics. It does not work in Godot Physics, but Godot Physics is somewhat deprecated from what I understand. Let me know if there's anything else I can do.
Here's the project I used for testing by the way:
AreaStressTest.zip

Can be merged, @Phischermen Thanks!
Volume optimization
From time to time this is a recurrent issue that I work on, this is the last test that I did: https://github.com/AndreaCatania/godot/commits/area_optimization_try2
In this version, the collision information are taken directly from bullet , but turns out that is equally bad and sometimes slower.
The main problem is related to the collision algorithm used. Currently it's using GJK that returns a lot of information not required by the areas.
This algorithm is really slow when it checks two overlapping bodies, and use this algorithm for the volumes (that are supposed to always overlap things) is not optimal.
My next iteration will be change this algorithm, I just need some free time.

Could you amend the commit message to be less verbose and more explicit on the functional change, instead of describing the code diff? I'm not familiar with the physics engine's internal but it would likely be something like "Bullet: Fix detection of concave shape in Area".

I amended the commit message. How's this:
"Enabled concave collision detection with Areas in Bullet"

Thanks!

Cherry-picked for 3.2.1.


ROX-20122: bump go-gprc to 1.58.3

Description
Bump go-grpc to 1.58.3, which fixes CVE-2023-44487 for the gRPC server.

/retest

/retest


Redirect /email/templates to /templates

should work for /email/templates AND /email/templates/ (without and with trailing forward slash)

Resolved using S3 redirect rule -
<RoutingRules>
  <RoutingRule>
    <Condition>
      <KeyPrefixEquals>email/templates</KeyPrefixEquals>
    </Condition>
    <Redirect>
    	<Protocol>https</Protocol>
		<HostName>zeer0.com</HostName>
		<ReplaceKeyPrefixWith>templates</ReplaceKeyPrefixWith>
    </Redirect>
  </RoutingRule>
</RoutingRules>


[BUG] Squaring the weights in KNN even though no sqrt is used for distances

Describe the bug
it seems here that we square the weights in knn when finding the nearest neighbors, but in reality we dont sqrt the distances, so we are basically ending up with quadruple distance at the end
Steps/Code to reproduce the bug
No response
Expected results
it should only square the weights if we sqrt the distance
Actual results
we are squaring the weights without sqrt the distance
Versions
No response

Hey there, maybe this could help when we use KNN algo we use euclidean distance formula to calculate distance so according to the formula first we need to take the root of the distance. Here's the code,
if self.weights == "distance":
ws = np.sqrt(distances[closest_idx])  # Square root the distances
# No need to square the weights, since we're already square rooting the distances
ws = 1 / (ws + np.finfo(float).eps)
I guess this would have been a little helpful somehow


Shorten Url redirects to Safari

If I use shorten url then it opens safari first with smart banner when pulled down.

Both iOS and Android supports only links, that are defined in the configs. And if shorten url is not in there - it will be opened in the browser. This is how Universal Links work on both platforms, and it's not controlled by the plugin.

oh.. thank you so much.

you're welcome :)


Taskbar right-click

Hello, when I right click on an app opened in the taksbar, it opens de Shell contrext menu... It doesn't show the "Close app" button. Maybe it can be a new feature.

Hello, when I right click on an app opened in the taksbar, it opens de Shell contrext menu... It doesn't show the "Close app" button. Maybe it can be a new feature.

Shell should not appear in the area between the start button and open programs.
Please attach a screenshot of this issue and tell us which version of Windows you are using.
Thanks

Hello @AulysV
Is this issue still with you?

Hello,
Sorry, I didn’t see your reply.
The issue seems to be fixed
Thanks,
Aulys
De : Mahmoud @.>
Envoyé le :lundi 13 juin 2022 13:48
À : @.>
Cc : @.>; @.>
Objet :Re: [moudey/shell] Taskbar right-click (Issue #5)
Hello @AulysVhttps://github.com/AulysV
Is this issue still with you?
—
Reply to this email directly, view it on GitHubhttps://github.com/moudey/shell/issues/5#issuecomment-1153817562, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL7ITRX6PSZB4I6SI6MTADDVO4N2FANCNFSM5RVJI2VQ.
You are receiving this because you were mentioned.Message ID: @.***>


cannot download youtube-dl.exe

I can visit youtube page, but I cannot download youtube-dl.exe , I have tried many times. Is there some limits?

Probably because of Internet in China...

Now I have download youtube-dl.exe.
I can visit youtube page.
This is a page about jinyong https://www.youtube.com/watch?v=fHhk9fDe_MQ
But cannot download the video using youtube-dl, the error as following:

>youtube-dl.exe https://www.youtube.com/watch?v=fHhk9fDe_MQ
[youtube] fHhk9fDe_MQ: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应，连接尝试失败。> (caused by URLError(TimeoutError(10060, '由于连接方在一段时间后没有正确答复或连接的主机没有反应，连接尝试失败。', None, 10060, None),))

use proxy with youtube-dl , e.g
youtube-dl --proxy PROXY_ADDRESS https://www.youtube.com/watch?v=fHhk9fDe_MQ
if you use ss ,then proxy_address could be socks5://<IP_ADDRESS>:1080/
proxy usage documented here: https://github.com/rg3/youtube-dl#network-options

@luoyanghero Could you watch videos without proxies or VPNs in browsers? What @Hrxn said is a possible reason. AFAIK in China, YouTube is blocked and connections to GitHub are interfered. @stdlog's suggestion should be useful, too.

Closing since it's most definitely not a youtube-dl issue.

@stdlog yes, it needs proxy option

youtube-dl --proxy PROXY_ADDRESS https://www.youtube.com/watch?v=fHhk9fDe_MQ

Thanks bro, it helps.


Feat req: option for preferredDuringSchedulingIgnoredDuringExecution anti-affinity

I only have worker nodes for now, so in some scenarios pods can't be scheduled because of the default requiredDuringSchedulingIgnoredDuringExecution-based anti-affinity rule.
It'd be nice to have a toggle in the chart values to replace it with preferredDuringSchedulingIgnoredDuringExecution.

Hi @aasseman :)
I see this is more of a practical convenience as at the moment you have the option to disable the AffinitPreset, and just copy paste what it was doing into the per default affinity: {} value, which will allow you full freedom in terms of changing that.
Given we only have one affinity preset to spread workloads across different hostnames and the fact that we have an active workstream to bring up a library chart and associated to that plan on some improvements, this particular affinity preset is likely to get replaced by the usage of topologySpreadConstraints, we may leave this one as is for now.


How to get data for insider_trading in fmpsdk-example.py?

Hi There,
How to get data from from insider_trading? I ddint see insider_trading in fmpsdk-example.py file, but it's in a separated fmpsdk/insider_trading.py.
I'm new to coding and apologize if this is a newbie question. Thanks.

The examples are just that; examples.  I was trying to show you how to use the various methods and functions.  However, other people have added to this project and we didn't continually updating the examples file.  Using your Python IDE you should be given enough information as to what is needed for the calls you wish to make.


Authentication required

Hi,
when I want to show list of groups, authentication required is pop up and the list is closed. This is happend every time, so I cannot switch groups. This page with popup is probably in any other group, so I cannot close this page.
Is there any preload or something like this, what causes this problem?

This page with popup is probably in any other group, so I cannot close this page.

Only opened group are loaded and tabs inside can trigger an authentication Popup.

Is there any preload or something like this, what causes this problem?

The extension has no authentication pop-up. You might check your tabs or other extensions to find the real guilty.

I apologized for the previous message. I forgot that the icon was fetched to the website and so could ask for the authentication. Other people told me about this problem.
Can you respond to those few questions in Basic HTTP authentication prevents using the menu #76  ?
It is another thread about the same problem.

A few days after I post this issue I was able to close groups (maybe bad connection). Now when I try repeat the problem, everything works properly.
So a few questions:
What is your system ?
    Windows 10 EDU x64
What is your FF version ?
    59.0.1 x64
Is the previous link opening the popup ?
    No longer
Even if you have updated to FF59 ?
If no, can you share a link that always opens the popup

Good job, have a nice day.


Make --vendor the default?

It seems like it would be saner to default to this. Would one ever usually want to lint vendored packages?
It's would also be consistent with the go command itself as of 1.9.

There is a TODO around that. I'd happily merge a PR to enable it.


Proxy not working for yt-dlp

System OS
Windows
Python Version
3.7 (CPython)
Install Source
pip / PyPi
Install version / commit hash
v4.2.5
Expected Behavior vs Actual Behavior
i set proxy http://proxy:host it works for getting lyrics and make request to spotify api but not working to yt-dlp for downloading the song which creates problems for me to rate limit my ip by yt.
i think spotdl should support proxy like ths http://username:passowrd@host:port this proxy also supported by yt-dlp
Steps to reproduce - Ensure to include actual links!
https://open.spotify.com/track/2xRtXbFAmk3cW6xE1zF7ye  --proxy http://<IP_ADDRESS>:5868
Traceback
./spotify-downloader/dist/spotdl-4.2.5-win32.exe https://open.spotify.com/track/2xRtXbFAmk3cW6xE1zF7ye --log-level DEBUG --proxy http://<IP_ADDRESS>:5868
[02:30:08] DEBUG    MainThread - Downloader settings: {'audio_providers': ['youtube-music', 'youtube', downloader.py:131
                    'soundcloud'], 'lyrics_providers': ['genius', 'azlyrics', 'musixmatch'],
                    'playlist_numbering': False, 'scan_for_songs': False, 'm3u': None, 'output':
                    '{artists} - {title}.{output-ext}', 'overwrite': 'skip', 'search_query': None,
                    'ffmpeg': 'ffmpeg', 'bitrate': None, 'ffmpeg_args': None, 'format': 'mp3',
                    'save_file': None, 'filter_results': True, 'album_type': None, 'threads': 40,
                    'cookie_file': None, 'restrict': None, 'print_errors': False, 'sponsor_block':
                    False, 'preload': False, 'archive': None, 'load_config': True, 'log_level':
                    'DEBUG', 'simple_tui': False, 'fetch_albums': False, 'id3_separator': '/',
                    'ytm_data': False, 'add_unavailable': False, 'generate_lrc': False,
                    'force_update_metadata': False, 'only_verified_results': False,
                    'sync_without_deleting': False, 'max_filename_length': None, 'yt_dlp_args': None,
                    'detect_formats': None, 'save_errors': None, 'ignore_albums': None, 'proxy':
                    'http://<IP_ADDRESS>:5868', 'skip_explicit': False, 'log_format': None,
                    'redownload': False, 'skip_album_art': False, 'create_skip_file': False,
                    'respect_skip_file': False}
[02:30:08] DEBUG    MainThread - FFmpeg path: ffmpeg                                                   downloader.py:149
[02:30:08] DEBUG    MainThread - Found 0 known songs                                                   downloader.py:184
[02:30:20] INFO     MainThread - Setting proxy server: http://<IP_ADDRESS>:5868                      downloader.py:222
[02:30:20] DEBUG    MainThread - Archive: 0 urls                                                       downloader.py:231
[02:30:20] DEBUG    MainThread - Downloader initialized                                                downloader.py:233
[02:30:20] INFO     MainThread - Processing query: https://open.spotify.com/track/2xRtXbFAmk3cW6xE1zF7ye   search.py:137
[02:30:24] DEBUG    MainThread - Found 1 songs in 0 lists                                                  search.py:339
[02:30:24] DEBUG    MainThread - Downloading 1 songs                                                   downloader.py:280
[02:30:44] DEBUG    asyncio_0 - Genius failed to find lyrics for Naseebo Lal - Tu Jhoom                                            downloader.py:406
[02:30:46] DEBUG    asyncio_0 - AzLyrics failed to find lyrics for Naseebo Lal - Tu Jhoom                                          downloader.py:406
[02:30:52] DEBUG    asyncio_0 - MusixMatch failed to find lyrics for Naseebo Lal - Tu Jhoom                                        downloader.py:406
[02:30:52] DEBUG    asyncio_0 - No lyrics found for Naseebo Lal - Tu Jhoom, lyrics providers: Genius, AzLyrics, MusixMatch         downloader.py:566
[02:30:52] DEBUG    asyncio_0 - [2xRtXbFAmk3cW6xE1zF7ye] Searching for naseebo lal, abida parveen - tu jhoom                             base.py:167
[02:30:55] DEBUG    asyncio_0 - [2xRtXbFAmk3cW6xE1zF7ye] Found 1 results for ISRC TCAFZ2291023                                           base.py:180
[02:30:55] DEBUG    asyncio_0 - [2xRtXbFAmk3cW6xE1zF7ye] Filtered to 1 ISRC results                                                      base.py:192
[02:30:55] DEBUG    asyncio_0 - [2xRtXbFAmk3cW6xE1zF7ye] Best ISRC result is https://music.youtube.com/watch?v=OAxeABujVCE with score    base.py:201
                    100.0
[02:30:55] DEBUG    asyncio_0 - Downloading Naseebo Lal - Tu Jhoom using https://music.youtube.com/watch?v=OAxeABujVCE             downloader.py:654
[02:31:45] INFO     asyncio_0 - Downloaded "Naseebo Lal - Tu Jhoom": https://music.youtube.com/watch?v=OAxeABujVCE                 downloader.py:828
[02:31:45] DEBUG    MainThread - Took 85 seconds

Other details
No response

Hi, to use proxy with yt-dlp you have to pass it in arguments for yt-dlp --yt-dlp-args "--proxy ip:port"


Chapter 21 Exercise 7

It also seemed quite strange to me that we're asked to implement a binary search for a List in this question. It definitely feels like it should come with a warning as it seems like a fairly rare case for there to be a comparison operation which would be more expensive than repeatedly traversing through a bi-directional iterator!
I hope you don't mind me asking whether you've had many encounters where this is the case since working through these exercises?
According to an article I read 'binary search through a linked list' is almost a bit of an geeky joke for developers in the know!
On the whole, I'm sure you'd agree 21 was a pretty dazzling chapter! Definitely brought a lot of things together for me.
As a side note, I'm really interested to hear about your experiences since working through this book, where programming has lead you and what your aspirations are!
I started studying C++ around 6 months ago but I've been learning computer languages for several years now and I'm working towards becoming a video games developer.
I haven't actually had much contact with other developers and have never worked in any sort of software development position so any insight you could offer would be really appreciated!
If you don't mind sharing some of your experiences perhaps it'd be better via email? You can reach me at<EMAIL_ADDRESS>

I agree a binary search through a linked-list is a rare occurrence but it wasn't always. Modern CPUs are blazing fast at working with contiguous data so even the use-case of "many insertion, deletions" of a linked list doesn't apply anymore. Twenty years ago you would definitely see more lists in use.
The exercise was more to encourage you to create an algorithm that could be applied to different generic containers. So were you able to write two binary search functions that only differed in the types they worked on?
Programming for me is a side thing that keeps getting pushed further aside by the new demands of my changing job. I hope to pick it up again going into Christmas break and keep up with it.

Here's what I wrote. It's a recursive binary search function for containers with random access iterators:
// Only really seems to make sense with sorted containers which have random access interators.
// As there don't appear to be many might be better to simply provide specialisations for those cases with generalised elem?
// Or could concepts be used to ensure user only used this template method when a sorted collection with a random access iterator is used?

// This works because end is either never checked (when it remains as end of sequence for entire recursion) or it is first checked as middle before becoming a new end.
// It's important to keep the end member of the sequence redundant in this way for each iteration, as the initial sequence provides a redundancy and recursion requires consistency.
template <typename T, typename Iter>
bool my_binary_search(Iter begin, Iter end, T& val) {

	auto middle = begin + ((end - begin) / 2); //Get an itertator to the middle position using pointer arithmetic. Favours begin's side over end to help prevent possibility of derefencing the end of sequence.

	if (*middle == val)
		return true;
	if (middle - begin > 0 || end - middle > 1)  //Check to see if there's anything left to search. (End is either end of sequence or already checked as previous middle and current middle was already checked hence > 1)
		return (*middle > val) ? my_binary_search(begin, middle, val) : my_binary_search(middle, end, val); //Recursively call function with the section of the sequence which could hold the value
	return false;
}

I'm currently attempting to develop a simple cross-platform mobile game in C++. I've had a few hitches with the game engine I'm using, but it's great to be able to apply some of these skills on a practical project!


name convention of filename

Hi there,
could it be that the filenames are somehow wrong?
The name that is saved from slingshot is:
https://myBucket.s3-eu-central-1.amazonaws.com/filename/
while the real filename in S3 is:
https://s3.eu-central-1.amazonaws.com/myBucket/filename/
How can that be solved?
Regards

I just found out that one can change the bucketURL as a function(bucketUrl: function (bucket, region)).
It can be found in the default values in meteor-slingshot/services/aws-s3.js


Errors of running the ImageNet example.Help!

I ran the ImageNet example, but it prompted an error of" gm (GraphicsMagick) binary not found, please install ", then I installed gm by "luarocks install gm" ,as a result ,the example stil cannot run!
In addtion, although the procedure at first ignore the error mentioned above, later, the procedure promted another error:[thread 2 callback] ...hen/torch/install/share/lua/5.1/graphicsmagick/Image.lua:378: magick.Image: error loading image: Unable to open file(/media/dazhen/experiment/ImageNetDataset/train/n02536864/n02536864_21158.JPE/media/dazhen/experiment/ImageNetDataset/train/n02536864/n02536864_21160.JPE...etc.
Anyone knows how can I fix it?

answered elsewhere.

yeah...someone answered first half of my question, thanks for him! But, after I installed gm well, it stll prompt"Unable to open file(/media/dazhen/experiment/ImageNetDataset/train/n02536864/n02536864_21158.JPE/media/dazhen/experiment/ImageNetDataset/train/n02536864/n02536864_21160.JPE...etc." It's very strange...and I stil don't know why..=_=

@dazhenseu this is strange. I suspect that your execution of this line:
https://github.com/facebook/fbcunn/blob/master/examples/imagenet/dataset.lua#L187-L189
is producing incorrect maxLength, making the rest of the script fail.
What OS / Version are you on? what is the version of your "wc" and "find" utilities?

I was on Ubuntu 14.04. And the version of my "wc" and "find" utilities are GNU 8.21 and GNU 4.4.2 respectively. By the way, the procedure script and the data are not in the same place.

ur...It works, mybe I know the reason, the path name I wrote has someting wrong----I mixed it up with my old folder.It's really careless of me...Anyway, thank you for your kindness!


How to only search for signs

Hi there,
I was just reading the new realse notes witch sound really amazing. And was trying to test out the new system of displaying the text of a sign? But how do I only search for a sign? And how do I then get the text displayed.
Thx
Timo

You can search for minecraft:standing_sign or minecraft:wall_sign to get the lookup information for signs.  This was always a feature (since I don't remember when...), but it recently just added the sign texture from the game.
On all non-empty sign results, there will be a little arrow on the block column.  You can just click that, and the table will expand to show the results with signs.


Find a way to prevent large run batches from completely using all available usage limits on models

People are not setting concurrency limits as high as they could because they "want to make sure we don't lock people out of the model (e.g for use in our own internal tools)."
Suggestion from a user:

Would it be possible to (do something like) reserve some small % of our overall rate limit for non-run use, so then I could set the batch concurrency limit to be really high and let the platform take care of the parallelization?

Brainstorming solutions:

Add some lab rate limit management logic to Middleman, maybe modeled on this script from OpenAI: https://github.com/openai/openai-cookbook/blob/main/examples/api_request_parallel_processor.py
Add this rate limit management logic to Vivaria instead of Middleman
Have Middleman or Vivaria support multiple accounts at the same lab and use different ones for different purposes.
Make some kinds of requests (e.g. code helper, SQL query generator) directly to labs instead of through Middleman, using separate lab accoutns account with their own rate limits

Have Middleman or Vivaria support multiple accounts at the same lab and use different ones for different purposes.

We ended up doing this: #803


How to calculate the entropy/entanglement metrics efficiently

Thanks for this awesome work. I'm wondering if PastaQ provides API to calculate the entropy and other entanglement metrics efficiently, or they are calculated manually, e.g., using eigenvalues to calculate von Neumann entropy, which is considered time-consuming when q-bit is large. Thanks.

I would take a look at the ITensor discussion forum (https://itensor.discourse.group/) and ask a question there if your question isn't answered in one of the posts already.

I'm closing since I think this is more of a user support question, and that functionality is outside of the scope of this package (we may add more convenient functions for how to do that in ITensor, that functionality probably would not go here).


Update jsoniter-scala-core, ... to 2.30.8

About this PR
📦 Updates

com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros

from 2.30.7 to 2.30.8
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.plokhotnyuk.jsoniter-scala" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.plokhotnyuk.jsoniter-scala" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #520.


Make sure CORP headers are sent

Fixes #560

Should the header go after the default headers in case the default ones modify it?

I was thinking that users should be able to overwrite this header if they want (at their own risk).


Explicit sector size not supported/working

I have a bunch of 5.25" floppies from a system that records 5 sectors/track with 512 bytes/sector in FM. The problem: the sector length ID byte in the header is 0 instead of 2.  Instead, I only get "Ignoring unexpected sector" messages.
Reading c=0-40:h=0 revs=3
Format bitsy.sssd
T0.0: Ignoring unexpected sector C:0 H:0 R:1 N:0
T0.0: Ignoring unexpected sector C:0 H:0 R:3 N:0
T0.0: Ignoring unexpected sector C:0 H:0 R:4 N:0
T0.0: Ignoring unexpected sector C:0 H:0 R:0 N:0
T0.0: Ignoring unexpected sector C:0 H:0 R:2 N:0
T0.0: Ignoring unexpected sector C:0 H:0 R:1 N:0
T0.0: Ignoring unexpected sector C:0 H:0 R:3 N:0
T0.0: Ignoring unexpected sector C:0 H:0 R:4 N:0
T0.0: Ignoring unexpected sector C:0 H:0 R:0 N:0
T0.0: Ignoring unexpected sector C:0 H:0 R:2 N:0
T0.0: IBM FM (0/5 sectors) from Raw Flux (107522 flux in 604.36ms)

This is the corresponding disk definition:
disk bitsy.sssd
    cyls = 35
    heads = 1
    tracks * ibm.fm
      secs = 5
      bps = 512
      iam = no
      interleave = 2
      id = 0
      rpm = 300
    end
end

If I use the normal ibm.scan format, this is the (expected but unwanted) result:
Reading c=0-40:h=0 revs=1
Format ibm.scan
T0.0: IBM Empty from Raw Flux (35923 flux in 201.77ms)
T1.0: IBM Empty from Raw Flux (33581 flux in 201.75ms)
T2.0: IBM Empty from Raw Flux (33040 flux in 201.75ms)
T3.0: IBM Empty from Raw Flux (34428 flux in 201.76ms)
T4.0: IBM Empty from Raw Flux (34364 flux in 201.76ms)
T5.0: IBM Empty from Raw Flux (33727 flux in 201.75ms)
T6.0: IBM Empty from Raw Flux (33998 flux in 201.75ms)
[...]

Using my own raw stream decoder I can confirm that the ID and Data fields are plain standard with correct CRCs. Only the sector length byte is 0 instead of 2. I need to override this.

Currently it cannot be overridden as bps specifies both the expected data size and the expected N value.
And of course ibm.scan doesn't work because it works out the expected data size from the observed N value.
This can be hacked to work. I wonder how common it is?

Hm, can't say how common it is. I'd guess not very much. And I wonder how they were written or read. The system (a TA dds1) uses a WD1791 AFAIK. At least the Bitsy10 uses this FDC. Maybe the dds1 uses a discrete implementation?
So for now I have to stick to .SCP images and my own decoder.

Yeah that's an interesting one. It's not particularly well documented how these broadly compatible FDCs deal with edge cases like requested sector size not same as on-disk sector size. I guess in this case the requested sector size is used and the on-disk sector size field is ignored.
Anyway, this is quite interesting. I would like to support it. It's mainly a question of how to elegantly represent it in the config file.
Any chance you could share a raw SCP image? Even if it's just a few tracks (eg. --tracks=c=0-2 to get 3 cylinders).

Any chance you could share a raw SCP image? Even if it's just a few tracks (eg. --tracks=c=0-2 to get 3 cylinders).

Of course. You can examine for example disk image 03.scp.
 The ImageDisk file format can handle this. I don't know if gw supports this, yet.

Just a comment i dont know if its relevant.
I had the exact same issue for som FM 80k disc for ABC80, Luxor
The thing was that i had forgotten to set the "rate = 125" in the diskdefs.cfg
Adding my def
disk abc.80.1
cyls = 40
heads = 1
tracks * ibm.fm
secs = 16
bps = 128
rate = 125
end
end


Review: ProfileCard.jsx & [ProfileWidget.jsx

Files to review
ProfileCard.jsx
ProfileWidget.jsx
Checklists
Architecture
Design
JS
React
Testing
Due date
September 26, 2023

ProfileCard.jsx
Architecture
Looks good
Design
Looks good
JavaScript and ESLint
[ES-01]: Prettier complaint: 1 tag per line, some lines too long
React
[RE-09]: Use a function component
Use bootstrap instead of sem ui
Testing
[TA-01][TA-02]: No tests written, but tests are unnecessary
ProfileWidget.jsx
Architecture
[AR-01]: I know it’s according to the convention of the rest of the app, but I don’t like having “Widget” in the name
Design
Looks good
JavaScript and ESLint
[JS-05]: Replace lodash functions with native array functions
[ES-01]: Prettier complaint: 1 tag per line, some lines too long
React
[RE-09]: Should be a function component
[RE-09]: useTracker instead of withTracker
Use bootstrap instead of sem ui
Testing
[TA-01][TA-02]: No tests written, but tests are unnecessary

ProfileCard.jsx
RE-09: L7,8 Should be remove extends and render from class
RE-10: avoid card
ProfileWidget.jsx
DE-05: L33 remove unused comment
JS-05: L22, 66 avoid loadash
RE-09: L18, 31 Should remove extends and render from class
RE-10: avoid widget

ProfileCard.jsx
RE-09: make functional component
RE-10: remove card from name
ProfileWidget.jsx
DE-05: L32
J2-05: L7, L22
RE-09: make functional component
RE-10: remove widget from name

ProfileWidget.jsx
JS-04: L18
JS-05: L22
RE-09: L18
RE-10
ProfileCard.jsx
JS-04: L7
RE-09: L7

Outcome of review:
ProfileCard.jsx

make function component
convert to bootstrap
ProfileWidget.jsx
make function component
fix name
remove lodash
use useTracker instead of withTracker
convert to bootstrap

ProfileCard.jsx
JS-04   L18
JS-05   L22
RE-09
RE-10
ProfileWidget.jsx
RE-09
RE-10


Vulnerability CVE-2023-6378 and CVE-2023-6481 on logback 1.4.9

Hi,
Can we please consider merging PR and create a release to resolve the above report High CVEs. Thank you.

@gsmet - sorry for the direct ping, but it seems this Quarkus extension abandoned? if so, is there any option available to get logback as the logging framework for a Quarkus application?
Thanks


add interaction diagram

Hey y'all! Found your project through beerus, a Starknet light client that leverages helios.
I'm trying to understand the interaction flow that occurs in a helios light client and thought that a simple diagram (excalidraw-like) could help!
something in the spirit of

Thank you all for your help!

I think this would be great. I was going to try to do this using mermaid. I would recommend using mermaid rather than excalidraw for the sake of easy future modification

@giovannivignone is this something you would be interested in tackling?

@ncitron Not sure if I have enough context yet on the entire repo to do this accurately. But if you want to design something in excalidraw or provide some detailed notes, I can reproduce it in mermaid. If it is easier to just tackle this yourself, im happy to review. Definitely something we should have though.

Fair point about mermaid! Even saw it possible to import as markdown format!

@Eikix @ncitron Let me know if this diagram fits the architecture. Easiest to view here

Ggs people:)! I'm not sure I understand the flow though
When someone goes through the Helios client, the helios client calls an helios node, that in turn calls an execution node and a consensus node, which give access to a trustless execution rpc invoke and trustless consensus rpc invoke?
I'm not sure I get the flow

You've got he basic flow right, but each part serves a specific purpose. The call to ConsensusClient is able to retrieve provable block headers (using the eth2 light client protocol) from the untrusted consensus node. From there Node takes that data, and sends it to ExecutionClient. ExecutionClient is then able to talk to an untrusted execution node and check the data it receives from that against the data from the consensus side.
For specifics on how this all works, I'd suggest taking a look at our blog post.

You've got he basic flow right, but each part serves a specific purpose. The call to ConsensusClient is able to retrieve provable block headers (using the eth2 light client protocol) from the untrusted consensus node. From there Node takes that data, and sends it to ExecutionClient. ExecutionClient is then able to talk to an untrusted execution node and check the data it receives from that against the data from the consensus side.
For specifics on how this all works, I'd suggest taking a look at our blog post.

Thanks;)!


Calculating of the speed and rotation

Hi! Can you explain why when you calculate a new angle and speed, you add the results of the neural network calculation (r0 and r1) for the speed, and subtract the results for the angle? Link below.
https://github.com/Patryk27/shorelark/blob/7b703d4e11501ce55bc240d85fd25e1c93dbbbd2/libs/simulation/src/brain.rs#L32

Hi!
In this model you can imagine birds as vehicles with two motors - kinda like:

... where r0 determines the speed of the "left motor" and r1 determines speed of the "right motor", making:

rotation = r0 - r1, since you just rotate away from whichever side is moving faster,
speed = r0 + r1; although - now that I look at it - this one is probably kinda wrong (should be (r0 + r1) / 2?), because if we imagine both r0 and r1 going at 10 units per second, the in reality the entire bird would be moving at 10 units per second as well; fortunately, it shouldn't affect the computations much either way 😇

As for "but why" - if I recall correctly, modeling it this way has gotten me better results (i.e. better-flying, faster-learning birds) than the simpler approach where you'd just extract speed & rotation directly from the network, like so:
crate fn propagate(&self, vision: Vec<f32>) -> (f32, f32) {
    let response = self.nn.propagate(vision);

    let speed = response[0].clamp(0.0, 1.0) - 0.5;
    let rotation = response[1].clamp(0.0, 1.0) - 0.5;

    (speed, rotation)
}

Lemme know if it makes sense now! 🙂

Hi, to keep the issue tracker tidy, I'm going to close this issue - if you have any more questions, feel free to ask them here 🙂


branch-2.1.2 Support OLAP table null partition (#31827)

for auto partition, support nullable partition column.
for auto list partition, support create real null partition for null values.
for auto range partition, null value will raise a error now. but maybe we can improve this in the future

Proposed changes
Issue Number: close #xxx
pick https://github.com/apache/doris/pull/31827
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

wait 2.1.2


Publish shadow jar instead of regular one.

Description
Continue work done in #764 - workaround for #778.
Having ml-plugin is not enough to build SQL plugin, it requires ml-common too. Having both together produces jar hell described in #778.
As a workaround I propose publishing a shadow jar.
Issues Resolved
Related to #778, #764, #763, #754, #755
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #779 (f1028a9) into main (6e178d2) will increase coverage by 0.01%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main     #779      +/-   ##
============================================
+ Coverage     84.05%   84.06%   +0.01%
- Complexity     1012     1037      +25
============================================
  Files            93       99       +6
  Lines          3662     3740      +78
  Branches        342      344       +2
============================================
+ Hits           3078     3144      +66
- Misses          438      448      +10
- Partials        146      148       +2

Flag
Coverage Δ

ml-commons
84.06% <ø> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...rg/opensearch/ml/plugin/MachineLearningPlugin.java
98.82% <0.00%> (-1.18%)
:arrow_down:

.../java/org/opensearch/ml/task/MLTaskDispatcher.java
32.94% <0.00%> (-0.80%)
:arrow_down:

...main/java/org/opensearch/ml/utils/MLNodeUtils.java
94.44% <0.00%> (ø)

...n/java/org/opensearch/ml/model/MLModelManager.java
78.20% <0.00%> (ø)

.../org/opensearch/ml/settings/MLCommonsSettings.java
100.00% <0.00%> (ø)

...rg/opensearch/ml/breaker/MemoryCircuitBreaker.java
100.00% <0.00%> (ø)

...nsearch/ml/breaker/NativeMemoryCircuitBreaker.java
84.61% <0.00%> (ø)

.../org/opensearch/ml/breaker/DiskCircuitBreaker.java
36.36% <0.00%> (ø)

...in/java/org/opensearch/ml/breaker/BreakerName.java
100.00% <0.00%> (ø)

...opensearch/ml/breaker/ThresholdCircuitBreaker.java
100.00% <0.00%> (ø)

... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Awesome, we can compile SQL plugin now. Thanks!


[TOKEN_INVALID]

So, im getting a [TOKEN_INVALID] message when i start up the sb, even tho that exact same token works for other selfbots, any help?
Thanks in advance
~Geeky

The bot is no longer up to date :\

It never worked in the first place; this code is designed for use with a Discord bot token only.

I have the solution ! To fix that, you have to do a npm i discord-selfbot-v11 into the terminal and switch the const Discord = require("discord.js") to const Discord = require("discord.js-selfbot-v11")

this is a trash code

you need to update/recode most of it to get it to work

What'd you expect for something that was made 4 years ago lol


Feature Suggestion - Weapon levels tracker

Thanks for making this app, usually I am the one in my group to find handy things like this.
This time one of those I never expected was into it, shared the link to Orion tracker =) People definitely love this.
My suggestion is to make a similar tracker, but for leveling the weapons.
Version 1: Small boxes under each weapon that you check off.
Version 2: A field where you also input operator level and battle passes, and their levels.
Certain weapons are greyed out / or say the background changes color when those weapons are locked.
They can become unlocked by examples:

IF the operator is at a certain level
If battle pass for season 5 is at a certain level
If a specific weapon requires another weapon to be at a certain level (receiver families progression).

Definitely an interesting suggestion! I'll think about it! 😄

Maybe adding all this to a camo tracker is a bit too much bloat? With a lot of the attachments being shared and linked to guns and also the weapon platforms being a thing now, this could basically be it's own app all to itself! 😬


How to install on PHP version 8

I want to install the package on my existing Laravel project but it's showing the package require php 7 and I'm using php 8
I'm doing something or I can't use with version 8

I don't think there is an update with this package

I don't think there is an update with this package

I also think this one is abandoned.
Does any of you know an alternative?

You can look at Vander otis profile

@vanderotis has already developped it


get qubits from statevector

How do I get the amplitude of each qubit, like plot_bloch_multivector(), but not output the tensor product of all qubits.

In general the state of a qubit is a density matrix that is found by doing a partial trace over all other qubits. See https://qiskit.org/documentation/stubs/qiskit.quantum_info.partial_trace.html#qiskit.quantum_info.partial_trace

Closing as answered.


Evaluate Expression in C++

💥 Proposal
A cp problem in C++
Think of a situation in which the user has to access the computer but to login he/she has to evaluate an expression.
The expression on the screen will be of the form: 22 + 362 + 5678...........
But the user know that the actual form is different from the form shown on screen, and that is , 2^2 + 36^2 + 567^8 ........
The power digit is always 1 digit.
If anyone evaluate the actual form correctly, he/she will be able to login into the computer.
Have you read the Contributing Guidelines on Pull Requests?
yes

/assign

/level

Need more details

Think of a situation in which the user has to access the computer but to login he/she has to evaluate an expression.
The expression on the screen will be of the form: 22 + 362 + 5678...........
But the user know that the actual form is different from the form shown on screen, and that is , 2^2 + 36^2 + 567^8 ........
The power digit is always 1 digit.
If anyone evaluate the actual form correctly, he/she will be able to login into the computer.

You can start working.

I am a participant of GSSOC'21
I would like to contribute in this

@einhawking Someone is already working in this issue. If you want to choose another language and open your issue.

@Op-panda This issue doesn't leads to any Algorithm. Hence Invalid


Provide global template options to layout options.

This is not the change you are looking for. Discussion at #23.


Fix: Allow less strict validation of the Resolver Name during Webhook.

Fix for issue #7986 Too Strict validation of the Resolver Name during Webhook Validation
kind/ bug
Changes

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[ x] Has Tests included if any functionality added or changed
[ x] pre-commit Passed
[ x] Follows the commit message standard
[ x] Meets the Tekton contributor standards (including functionality, content, code)
[ x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/assign @chitrangpatel

/kind bug

/assign @JeromeJu

/cherry-pick release-v0.60.x


No mention on where does the output go for an orchestration

In all code sample of an orchestration, there is a collection of outputs as a string array:
    outputs.Add(await context.CallActivityAsync<string>("SayHello", "Tokyo"));
    outputs.Add(await context.CallActivityAsync<string>("SayHello", "Seattle"));
    outputs.Add(await context.CallActivityAsync<string>("SayHello", "London"));

But it doesn't explain what happens with those outputs.
The orchestration returns it, but it is not viewable anywhere in Azure...
Also, any calls to context.log or context.error - these do not show up anywhere in Azure Portal.
Am I missing something?
Could you add some more information on that?
Thanks!

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

ID: b9f2c0e7-660e-6dab-b44b-f9984812cd01
Version Independent ID: fb189e7e-265e-50cb-dacd-c1ee742683b4
Content: Durable Orchestrations - Azure Functions
Content Source: articles/azure-functions/durable/durable-functions-orchestrations.md
Service: azure-functions
Sub-service: durable
GitHub Login: @cgillum
Microsoft Alias: azfuncdf

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

@cgillum
Could you please review add comments on this, update as appropriate.

Thanks, the idea simply is that in Azure all you get is the input and output number of bytes.
But the content isn't visible anywhere, so need some explanation as to what the point of the output of an orchestration if its not logged in the execution or anywhere else.


Reproducibility issue of MRVI

Moving issue reported by @Nusob888 from mrvi for tracking.

Dear Yosef lab members,
Thanks for MRVI, I have been trying it out finally.
Unfortunately I am experiencing some reproducibility issues. I first noticed this when I accidentally refreshed a Jupyter notebook and re-ran the code. The embeddings were very different.
Since then I have tried a numerous amount of methods to set seed and I cannot seem to produce anything consistent.
This would be a big issue for reproducibility if the u embeddings were ever to be used for clustering (which I had hoped to do) and I presume it would also effect how the abundance and differential expression analysis perform?
I have attached 4 htmls of my code run on the PBMC 3K dataset.
Any updates on this would be great to help me keep track of the tool, as I would very much like to use it, but have concerns around this issue.
SCVI_MRVI_reproducibility_scvi_1.pdf
SCVI_MRVI_reproducibility_mrvi_2.pdf
SCVI_MRVI_reproducibility_mrvi_1.pdf
SCVI_MRVI_reproducibility_scvi_2.pdf

Found the solution. This only occurs on CUDA, not on CPU. I was able to reproduce the issue then solve it using the solution posted here: https://github.com/google/jax/issues/13672.
os.environ['XLA_FLAGS'] = '--xla_gpu_deterministic_ops=true'
I also tested this after removing all the lines fixing seeds except for scvi.settings.seed, and this was sufficient with the flag to achieve determinism. Closing now, but feel free to open if the issue persists.
@Nusob888

Thanks @justjhong. Should we maybe provide the flag inside scvi-tools or add it to the tutorial?

sure, let's add it into the seed function of the scviconfig. I think it slows down performance a little so it should only be applied when setting seed manually

Amazing! thank you both!


It seems that neither action_space nor obs_space for customized multi-agent environments support Tuple or Dict types

希望增加对这些类型的支持。
现阶段一定要用这些类型的话，用pettingzoo环境可以吗？

Hope to add support for these types of action_space and obs_space.
Currently, if I have to use these types of action_space and obs_space (Tuple or Dict),  can I use the PettingZoo environment?

Re:
Thanks for your advice about the customized multi-agent environments. In XuanCe's examples of customized environments, we didn't consider these two types of action_spaces and obs_spaces, but XuanCe indeed supports the customized environments with those types of variables. We will also provide the corresponding examples very soon.
For now, if you have to use the types of Tuple or Dict for action_space or obs_space, you can create a customized environment like PettingZoo.


refactor: Remove iDataQueue functions From Toolkit

Removed iDataQueue Functions from Toolkit:

docs
code
tests

Added test/functional/iDataQueueFunctional.js
Part of #161

Reopened #162  from branch repo rather than my fork to run integration tests properly.


Optimization: Merge anonymous terminals

It's possible to improve Lark's speed, for all algorithms, by performing grammar simplification. Specifically, it's possible to merge adjacent anonymous terminals together, to reduce the parser work load, without affecting the resulting tree (An example of this technique can be seen in https://github.com/lark-parser/lark/issues/218)
In the same vein, ignored terminals can be joined to anonymous ones, with a similar effect.

I don't thing this is (always) true. There are two different reasons for this: !rule and %ignore:
start: "a" "b"
%ignore " "

will not math the same things as
start: "ab"
%ignore " "

The same goes for !rule:
 !start: "a" "b"

will not return the same tree as:
 !start: "ab"

Well, for !rule, the optimization could be performed, and then reversed in post-processing by parsing the joined string. But that's probably not going to help performance.
As for %ignore, that's pretty simple:
start: "a" "b"
%ignore " "

Becomes
start: _JOINED
_JOINED: "a" " "* "b"
%ignore " "

On the same note, regarding %ignore and terminals, should this behave like this:
 start: TEST
 TEST: "a" "b"
  %ignore " "

will not match "a b". I know why, but this is a huge difference between terminals and rules. To correct this issue, you would have to already the post-processing splitter inplace. Probably not worth it.


Update TeamTargetingHierarchy documentation.

Added ApiVersion parameter and description in [Set|Remove] TeamTargetingHierarchy and [Get]TeamTargetingHierarchySatus.

@microsoft-github-policy-service agree company="Microsoft"


bootiful-microservices-camden version ran into authentication issue

Hi I'm a newbie of SpringCloud thing. The bootiful-microservice-brixton project ran well for me, however bootiful-microservices-camden ran into authentication issue, kept asking about the user / password or getting response via curl
curl 'http://localhost:9999/reservations/names'
{
  "timestamp":1481177384200,
  "status":401,
  "error":"Unauthorized",
  "message":"Full authentication is required to access this resource",
  "path":"/reservations/names"
}

Figure out something, but still don't understand the mechanism now

Getting access_token

curl http://acme:acmesecret@localhost:9191/uaa/oauth/token -d grant_type=password -d username=jlong -d password=spring

{"access_token":"af3a3e2e-29f3-437b-baf4-47b32e4c1244","token_type":"bearer","expires_in":43199,"scope":"openid"}

Use access_token to call API

curl -D- 'http://localhost:9999/reservations/names' -H "Authorization: bearer af3a3e2e-29f3-437b-baf4-47b32e4c1244"

["Josh","Dr. Johnson","Dr. Syer","Dr. Pollack"]

@xmkevinchen  In order to send the request to an app that is secured you need a token. Here you have that in the scripts - https://github.com/joshlong/bootiful-microservices/blob/master/scripts/scenario_camden_tester.sh#L84-L86 . This is how we get a token - https://github.com/joshlong/bootiful-microservices/blob/master/scripts/common.sh#L169-L180 . This is how we attach the token to the request https://github.com/joshlong/bootiful-microservices/blob/master/scripts/common.sh#L91-L105