Adding extra lemmas breaks simp

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed.
Reduced the issue to a self-contained, reproducible test case.

Description
Lean should probably remember dischargeDepth when caching results of discharge?
Steps to Reproduce
theorem le_of_not_lt {a b : Nat} (_: ¬ a < b): b ≤ a := sorry
theorem lt_of_succ_lt          (_: a + 1 < b): a < b := sorry
theorem succ_pred_eq_of_pos        (_: 0 < v): v - 1 + 1 = v := sorry

set_option trace.Meta.Tactic.simp true
--set_option trace.Debug.Meta.Tactic.simp true

example (h₁: k ≤ v - 1) (h₂: 0 < v):
    (if k ≤ v - 1 then Fin.mk (v-1+1) sorry else Fin.mk (v-1) sorry) = Fin.mk v sorry (n:=n) := by
    simp only [
      h₁, h₂,
      ite_true,
      succ_pred_eq_of_pos
      ----------------
      , le_of_not_lt
      , lt_of_succ_lt
    ]

-- it works

example (h₁: k ≤ v - 1) (h₂: 0 < v):
    (if k ≤ v - 1 then Fin.mk (v-1+1) sorry else Fin.mk (v-1) sorry) = Fin.mk v sorry (n:=n) := by
    simp (config := { memoize := false}) only [
      h₁, h₂,
      ite_true,
      succ_pred_eq_of_pos
      ----------------
      , le_of_not_lt
      , lt_of_succ_lt
    ]

example (h₁: k ≤ v - 1) (h₂: 0 < v):
    (if k ≤ v - 1 then Fin.mk (v-1+1) sorry else Fin.mk (v-1) sorry) = Fin.mk v sorry (n:=n) := by
    simp only [
      h₁, h₂,
      ite_true,
      succ_pred_eq_of_pos
      ----------------
      --, le_of_not_lt
      --, lt_of_succ_lt
    ]

Expected behavior: example should work
Actual behavior: get error message
unsolved goals
k v n : Nat
h₁ : k ≤ v - 1
h₂ : 0 < v
⊢ { val := v - 1 + 1, isLt := (_ : v - 1 + 1 < n) } = { val := v, isLt := (_ : v < n) }

Reproduces how often: 100%
Versions
nightly-2022-06-20

I haven't observed this in the debugger, so I can only guess.
First time Lean tries to discharge k ≤ v - 1:
¬ v - 1 < k -  by le_of_not_lt, dischargeDepth = 0
v - 1 + 1 < k - by lt_of_succ_lt, dischargeDepth = 1
0 < v - by succ_pred_eq_of_pos, , dischargeDepth = 2, failure due to maxDischargeDepth = 2 limit
Result of not simplifying 0 < v stored in a cache.
Later simplifier tries to discharge 0 < v when processing v-1+1 inside of Fin.mk (v-1+1) and it uses the failed attempt from the cache.
I guess Lean could store dischargeDepth in the cache and validate it later to discard cache entries where
dischargeDepth_InCache >  dischargeDepth_Current.

@fpfu Thanks for analyzing and isolating this issue. It would be a nightmare to have to debug this issue in a big example.

Thank you for a quick fix)
I didn't realize it right away, but True and False  and refl results from the cache could be used despite their discharge depth, if such an optimization worth it.


Set login view as forbidden_view_config

Fixes #417

I don't think we should just call the login view, I think we should have a separate view which does nothing but redirects to the login view. However we also need a predicate on this so that it doesn't happen for anything registered with warehouse.legacy.action_routing.add_pypi_action_route. So probably we just need a custom predicate that looks something like:
def not_legacy_pypi_action(info, request):
    return not request.path.startswith("/pypi") and ":action" not in request.params

A better idea is to do something like:
@forbidden_view_config()
def redirect_to_login(request):
    return Redirect To Login

@forbidden_view_config(request_param=":action")
def do403(request):
    return Do a 403

Cool! I will update my pull request then.


How to send Local Notifications when App is closed (Not backgrounded but closed at all or swiped out)

How to send Local Notifications when App is closed (Not backgrounded but closed at all or swiped out) in Xamarin Forms.  It's working fine when app is running on background but when I close the app it's not working. I am not able to send local push notifications when app was closed.

Follow the issue template (the one you deleted) in the future if you want help.
I'm assuming this is android and that the data is future dated.  I use the alarm manager, but I don't engage anything responsible for keeping your app alive.  That's for your app code to decide.  You can use an android stick service to keep your app alive if needed.

Ok sure thanks for ur help. I will Follow . sorry about that.


Detection of python notebook and showing appropriate message

fixes #5

Could generalize this to allow only Jupyter notebooks with julia code?


I am not able to run the scripts in subfolder under scripts folder.

Is it possible to organize custom scripts in the scripts directory into sub folders and have them automatically loaded by hubot?

Hello

The magic happens in https://github.com/hubotio/hubot/blob/7795fe53fb1a3dde85537589149cab0f0b58404a/bin/hubot.js#L114-L128
If it doesn't work as you desired, you could move your scripts into a separate Hubot plugin.  Many hubot script plugins include a main coffee or JS file which in turn loads the rest of the code from the author's preferred layout.
Generally I'd recommend working in alignment with your framework - "swim with the stream". If Hubot doesn't support your ideal layout, consider whether changing Hubot's layout to suit your needs has sufficient benefit for the effort you'll go to.

Gone stale.


Need to release a new package to fix qlib-server issue.

🐛 Bug Description
In commit e15ea06122bd570706ac8b6d3ab6b96b5ee64edb, we have fix the bug that incorrect python-socketio will cause qlib-server fail to start, but we have not release a new package, so we still cannot use current qlib-server source to start.
To Reproduce
Steps to reproduce the behavior:

Expected Behavior

Screenshot

Environment
Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.

Qlib version:
Python version:
OS (Windows, Linux, MacOS):
Commit number (optional, please provide it if you are using the dev version):

Additional Notes

Hi, @chaosddp
The latest qlib has been released now :)
https://github.com/microsoft/qlib/releases/tag/v0.7.0
https://pypi.org/project/pyqlib/


boost::test complains about the type missing operator<< where the operator is present.

I tried to used boost::test with data driven tests, but one of my input samples is vector<string>. Boost::test complains about missing operator<< even when I define it.
Self contained example:
#define BOOST_TEST_MODULE test module name

#include <string>
#include <vector>
#include <iostream>
#include <sstream>

using namespace std;
using namespace std::string_literals;

ostream& operator<<(ostream& out, const vector<string>& vs)
{
	for (const auto& s:vs) out << s;
	return out;
}

//#include <boost/test/included/unit_test.hpp>
//#include <boost/test/data/test_case.hpp>
#include "boost_1_80_0/boost/test/included/unit_test.hpp"
#include "boost_1_80_0/boost/test/data/test_case.hpp"

namespace bdata = boost::unit_test::data;

BOOST_AUTO_TEST_CASE(test_case_name2)
{
	cout << vector<string>{"a"};
	ostringstream sout;
	sout << vector<string>{{"ab"},{"cd"}};
	BOOST_TEST(sout.str() == "abcd");
}

BOOST_DATA_TEST_CASE(test_case_name, bdata::make({vector<string>{"a"},vector<string>{"a"},vector<string>{"a"}}), value)
{
}

fails to build with the error:
/usr/include/boost/type_traits/detail/has_binary_operator.hpp:54:150: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘std::vector<std::__cxx11::basic_string<char> >’)
see attachment for full error log
error.txt
If you comment-out the BOOST_DATA_TEST_CASE it builds and run correctly.

I found a hint on stack overflow that operator<< needs to be defined in the same namespace as the type being printed which in this case means std (because vector comes from std). I think we can close this issue, but this caveat should be mentioned in the docs.


Nested composite actions

This adds more composite actions for Rust that greatly simplifies setting up actions on Rust projects. The actions have been tested in triax-ui-rs prior to the commit that changes what branch is used when referring to other actions in this repo.

Made the requested change, also added support for a working_directory input so these actions work with the filtering used by spotr_4_protocol.


Making the pit implementation more complex

I've added fluctuating commodity scores and went for the bull & bear variant of the game: with a 20% increase and 20% decrease respectively. This should hopefully add more depth to the game, but I am open to adding more implementation if needed, I have some more ideas:

Defining more kwargs specifically for Pit to introduce different trading strategies.
Enabling the agents to interact with each other in some primitive way.
Allowing a primitive form of market analysis for both agents which can inform their decisions.

When I attempt to run this with two random agents, I get an error.
pit.py", line 220, in play
    agent.send_message(other_agent.agent_id, message_content, message_type)
AttributeError: 'RandomAgent' object has no attribute 'send_message'

[ ] I see that both agents are on the same team based on their instantiation. Is this intentional?
[ ] Why is volume_traded unusued?
[ ] Why are messages generated between agents random?
[ ] Why must agents send a trade inquiry every turn? Shouldn't this be a choice?
[ ] Why is it random if an agent is interested in a trade offer?
[ ] Why are agents offered quantities in trade offers random?
[ ] Why are agents decisions regarding trade offers random?
[ ] Why are random price fluctuations and random bear/bull market effects applied for direct trades?
[ ] Due to all the randomness, I don't believe this message capability adds any strategy complexity at all. It just adds more randomness.
[ ] When a trade offer is accepted, an agent just takes it off the market commodities. There is no interaction between the two agents. Why is it not that the commodities from one agent are transferred to the other -- it is a trade, right?

[X] I see that both agents are on the same team based on their instantiation. Is this intentional? - fixed, was not intentional
[X] Why is volume_traded unused?  - fixed, the calculate_market_trends_adjust_values function now takes into account the volume_traded as well
[X] Why must agents send a trade inquiry every turn? Shouldn't this be a choice? - made it a choice now whether to inquire or directly make an offer that is a part of the available actions
[X] When a trade offer is accepted, an agent just takes it off the market commodities. There is no interaction between the two agents. Why is it not that the commodities from one agent are transferred to the other -- it is a trade, right? - correct, I've updated the logic so that the trade occurs properly
About randomness
I'm not exactly sure how to go about making the choices for communication-based on the agent's choice (using, I suspect, the available_actions dictionary), I would appreciate any pointers here, I do agree that as it stands the messaging feature doesn't add much more complexity (even though I do feel it is closer to the more complex implementations of Pit I've discussed before) - I've committed two versions - one with the messaging implementation and one without.


[Q] Is there a way to determine if we are in offline mode?

Hi I would like to know what is the best way to determine via the Python API if I am in offline mode?
Currently, I have 2 non ideal solutions:

Check the WANDB_MODE env var
Call wandb status with subprocess.run and parse the output for "mode" == "offline"

The former works when the user sets the env var and the latter works when the user calls wandb offline. I know offline can also be passed to the wandb.init so this is another use case.
Is there any function from the api I can call to have the current mode?

Hi @willyd, after you do run = wandb.init(...), you can access this via run.settings._offline or run.settings.mode (see https://github.com/wandb/client/blob/master/wandb/sdk/wandb_settings.py#L499). Hope this helps!

Hey @willyd,
It seems that the suggestion above was the solution you were looking for. Let me know if this is not the case and we can reopen this issue.


[SPARK-29494][SQL] Fix for ArrayOutofBoundsException while converting string to timestamp (2.4)

What changes were proposed in this pull request?

Adding an additional check in stringToTimestamp to handle cases where the input has trailing ':'
Added a test to make sure this works.

Why are the changes needed?
In a couple of scenarios while converting from String to Timestamp DateTimeUtils.stringToTimestamp throws an array out of bounds exception if there is trailing  ':'. The behavior of this method requires it to return None in case the format of the string is incorrect.

Does this PR introduce any user-facing change?
No

How was this patch tested?
Added a test in the DateTimeTestUtils suite to test if my fix works.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

cc @zsxwing

ok to test

Test build #112305 has started for PR 26171 at commit 4376b88.

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

Test build #112305 has finished for PR 26171 at commit 4376b88.

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

Merged to 2.4. Thank you @rahulsmahadev @zsxwing

Thank you all!


Various improvements to tests.

[x] Run tests in test node environment.
[x] Resolve port conflict between npm test and sails server: run tests on 1338
[x] Don't show sails ASCII graphics on tests run
[x] Use minimalistic dot mocha reporter
[x] Remove trailing spaces from UserController.test.js.

Tested the tests, it looks great! 👍


Moved from from i18nlint so the plugins can use them

no changes from i18nlint
intended to be used both by the program and the plugins

will they have different code parts in the future? codes are the same until now, and I do not clearly understand the reason you created this repository. i18nlint and i18nlint-common will be used for slightly different purposes?

There is another branch in i18nlint where they are removed, but that is not ready yet so you haven't see the PR.


[doc,site] Autogenerate the list of HWIP blocks for fetching dashboard statistics

Description
Dashboard added here : https://github.com/lowRISC/opentitan/pull/17403
The file util/site-dashboard/ot-nightly-results.js contains a hardcoded list of HWIP blocks for which to pull statistics when building the dashboard.
The review conversation suggested a scripted generated of this list as a good future improvement here.

Using the same approach as is used in the node-less diagram (https://github.com/lowRISC/opentitan/pull/17552) could be nice. Then we would have only one data file with the links associated with each hw blocks.

Noting that auto-discovery of IP for documentation generation would in general be useful - not only for IPs but also fur multiple top-levels.


SelectedCommand panel needs to be updated to have consistent styling

Any specific styling that we need here

@AaronPlave Sorry. I didn't fill this out too well. I'm noticing that there are certain sequences that don't produce a fully stylized side panel when selected. This is made more apparent in Chet's PR with a sequence of
@ID "id"

A2024-123T12:34:56 @ACTIVATE("activate.name") # No Args
@ENGINE 10
@EPOCH "epoch string"

When adding that and selecting it, nothing seems to be formatted. I'm not sure if it's a case that was missed or just hasn't been stylized yet.

Looks like some new language features that haven't been styled

Turns out this was just localized to #1387 and was already addressed.


[$250] Migrate ContactMethodsPage.js to function component

Class Component Migration
Filenames

[ ] src/pages/settings/Profile/Contacts/ContactMethodsPage.js

type: React.Component
has state values: true
has refs: false
has context: false
lifecycle methods: componentDidUpdate

Task

We currently have some class components in our codebase that we would like to refactor to a function component.
Here's a link with some general advice on how to refactor a class component to a function component: https://react.dev/reference/react/Component#alternatives
If you need additional guidance, please ask in #expensify-open-source
Test for any regressions and verify that there are no breaking changes

@yuwenmemon taking this issue off HOLD as per this Slack post
IMPORTANT: If anything unexpected pops up during the refactor/review:

[ ] Take it to #expensify-open-source to get clarification on.
[ ] Prefix the conversation with [HOOK REFACTOR] so that we can find it easily.
[ ] Link the result of the conversation in this section of the Design Doc titled “Best Practices Conversations”
[ ] Add it to the STYLE.md guide in this open PR so we can reference it and apply any teachings in the next phase

⚠ Could not update price automatically because there is no linked Upwork Job ID. The BZ team member will need to update the price manually in Upwork.

Heads up! The pricing for this issue has been adjusted based on the scope of the work and the fact that no complex bug investigations or proposal are required.

Sweet - so I'll get a $250 bonus? 😂

250 melvincoins!

Welp, this is already a function component. 😅
Closing this out!

Easiest $250 anyone ever earned right there


[SPARK-24402] [SQL] Optimize In expression when only one element in the collection or collection is empty

What changes were proposed in this pull request?
Two new rules in the logical plan optimizers are added.

When there is only one element in the Collection, the
physical plan will be optimized to EqualTo, so predicate
pushdown can be used.

    profileDF.filter( $"profileID".isInCollection(Set(6))).explain(true)
    """
      |== Physical Plan ==
      |*(1) Project [profileID#0]
      |+- *(1) Filter (isnotnull(profileID#0) && (profileID#0 = 6))
      |   +- *(1) FileScan parquet [profileID#0] Batched: true, Format: Parquet,
      |     PartitionFilters: [],
      |     PushedFilters: [IsNotNull(profileID), EqualTo(profileID,6)],
      |     ReadSchema: struct<profileID:int>
    """.stripMargin

When the Collection is empty, and the input is nullable, the
logical plan will be simplified to

    profileDF.filter( $"profileID".isInCollection(Set())).explain(true)
    """
      |== Optimized Logical Plan ==
      |Filter if (isnull(profileID#0)) null else false
      |+- Relation[profileID#0] parquet
    """.stripMargin

TODO:

For multiple conditions with numbers less than certain thresholds,
we should still allow predicate pushdown.
Optimize the In using tableswitch or lookupswitch
when the numbers of the categories are low, and they are Int,
Long.
The default immutable hash trees set is slow for query, and we
should do benchmark for using different set implementation for faster
query.
filter(if (condition) null else false) can be optimized to false.

How was this patch tested?
Couple new tests are added.

+@cloud-fan

Test build #91218 has started for PR 21442 at commit 449613a.

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/testing-k8s-prb-make-spark-distribution/3634/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/3636/
Test PASSed.

Merged build finished. Test PASSed.

@maropu I didn't do a full performance benchmark. I believe the performance gain can be from predicate pushdown when only one element in the set. This can be a lot.
I forgot which one, I remember in impala or drill,  they allow multiple predicates to be pushed down, and I believe this can be a win in many cases.

Test build #91243 has started for PR 21442 at commit 7a354fc.

Test build #91243 has finished for PR 21442 at commit 7a354fc.

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

retest this please

Test build #91258 has started for PR 21442 at commit 7a354fc.

LGTM, pending jenkins

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/testing-k8s-prb-make-spark-distribution/3670/
Test PASSed.

Merged build finished. Test FAILed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/990/
Test PASSed.

Merged build finished. Test PASSed.

@HyukjinKwon The code has a bug. Please read the discussion before you trigger the retest.

@gatorsmile, can I just see if it the build passes against the latest build?

@HyukjinKwon All the involved reviewers will get a ping. This is annoying to see many pings within one hour, right? My suggestion is to read the comments before triggering the test

This should get updated, right?  I wonder why triggering retesting so matters for some PRs.
Probably, you are mostly talking about "ok to test" that I left for the old PRs which gave pings for guys. In this case, I think the root causes is that we started to block the Jenkins tests for the reason I don't know. This already gives a lot of pings though so far. If the author is willing to update its PR, then it's a blocker again to ask Jenkins build.

Also, see the stale PRs and see what we have delayed to take a look. Please consider partly this is what we should have checked and reviewed earlier, and/or partly authors haven't updated their PRs. Both cases need pings, right? This is what we should do but we couldn't. Mostly these were inactive for more than a month.

@HyukjinKwon Thank you for trying to trigger the tests but it will not help if you got many pings within one hour. To save the resource, we need to do more investigation before blindly triggering the test.

I am not blindly triggering the test. I skimmed and only re-triggered tests some PRs while I am skimming stale PRs.
For "ok to test", I haven't also blindly re-triggered. I did where any committer initially triggered or I see some values while skimming stale PRs.
Getting pings is annoying of course but the root cause is we didn't check the PRs so far diligently, or authors were being inactive.

If you want to help this, we should ping the reviewers/committers based on the priority of these PRs. Also, we should not trigger the pings within a short period. Please reduce the size of the batch to 10s per day?
We need to seriously consider which new features we really want to introduce in the upcoming release. We only have 15 days left before the code freeze of Spark 2.4.

Of course, the time and priority matter but there are pending PRs queued up due to the time and priority matter so far.
Shall we check the PRs and see if there are important ones for Spark 2.4 before the branch is cut out since the release is being close? Otherwise, most of them will probably be missed by the time and priority matter again.
I don't think I have done ping and retriggering things for roughly about the last year in such batch.

Also, the root cause of getting a lot of pings is that we somehow started to block the Jenkins build for some old PRs. Probably I missed some threads in dev mailing list but I still don't know who and who started this.
In a way to be honest, I kind of felt getting annoyed by this to somehow probably by the similar reason you gave, even though I haven't expressed this so far for my reasons above.

@HyukjinKwon Currently, in my opinion, the highest priority PRs include Parquet nested column pruning (https://github.com/apache/spark/pull/21320/files), new built-in avro, high-order functions, data correctness issue of Shuffle+Repartition on RDD, gang scheduling and so on. If you have bandwidth, please also help the reviews in these PRs.

@dbtsai I think this PR can be unblocked if we only turn In to EqualTo if the list is not a ListQuery. We can work around the type mismatch problem for now.

Test build #93076 has finished for PR 21442 at commit 7a354fc.

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

@HyukjinKwon thanks for bringing this to my attention. @gatorsmile I thought the bug is found by this PR, and not in this PR. This PR is blocked until SPARK-24443 is addressed. I'll unblocck this PR by turning In to EqualTo if the list is not a ListQuery suggested by @cloud-fan . Thanks all.

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/testing-k8s-prb-make-spark-distribution-unified/1019/
Test FAILed.

Test build #93130 has started for PR 21442 at commit 5079833.

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/testing-k8s-prb-make-spark-distribution-unified/1020/
Test PASSed.

Test build #93136 has started for PR 21442 at commit 9174a30.

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/testing-k8s-prb-make-spark-distribution-unified/1023/
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/testing-k8s-prb-make-spark-distribution-unified/1024/
Test PASSed.

Test build #93130 has finished for PR 21442 at commit 5079833.

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

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

Merged build finished. Test FAILed.

retest this please.

LGTM. The test failure is not related to this PR.
Thanks! Merged to master.

Test build #93143 has started for PR 21442 at commit 9174a30.

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/testing-k8s-prb-make-spark-distribution-unified/1030/
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/testing-k8s-prb-make-spark-distribution-unified/1031/
Test PASSed.

Test build #93143 has finished for PR 21442 at commit 9174a30.

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

Seems like a related test failure? cc @dbtsai

This hasn't get any test pass even once. The test is broken by this commit:
Before:
$ build/sbt "~sql/test-only *SQLQueryTestSuite -- -z not-in-unit-tests-multi-column-literal.sql"
...
[info] SQLQueryTestSuite:
[info] - subquery/in-subquery/not-in-unit-tests-multi-column-literal.sql (4 seconds, 602 milliseconds)
...
[info] All tests passed.

After:
$ build/sbt "~sql/test-only *SQLQueryTestSuite -- -z not-in-unit-tests-multi-column-literal.sql"
...
[info] SQLQueryTestSuite:
[info] - subquery/in-subquery/not-in-unit-tests-multi-column-literal.sql *** FAILED *** (4 seconds, 388 milliseconds)
[info]   Expected "struct<[a:int,b:decimal(2,1)]>", but got "struct<[]>" Schema did not match for query #1
[info]   -- Case 5
[info]     -- (one null column with no match -> row is returned)
[info]   SELECT *
[info]   FROM   m
[info]   WHERE  b = 1.0 -- Matches (null, 1.0)
[info]          AND (a, b) NOT IN ((2, 3.0)) (SQLQueryTestSuite.scala:246)
[info]   org.scalatest.exceptions.TestFailedException:
[info]   at org.scalatest.Assertions$class.newAssertionFailedException(Assertions.scala:528)
[info]   at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:1560)
[info]   at org.scalatest.Assertions$class.assertResult(Assertions.scala:1003)
...
[error] Failed: Total 1, Failed 1, Errors 0, Passed 0
[error] Failed tests:
[error] 	org.apache.spark.sql.SQLQueryTestSuite

Reverting this since this will probably break the build and this PR hasn't got any successful build in any event.

@dbtsai can you open a new PR? thanks!

I opened a new PR at https://github.com/apache/spark/pull/21797/files Will work on the test issue there. Thanks.


Migrate to TypeScript

Migrates the whole project to TypeScript. Care has been taken to change as little as possible, but in some places I had to add behavior-altering code to please tsc.
At the time of writing, there are a handful of type-related, outstanding TODOs, which I've highlighted with inline comments.

@Gudahtt re: JSDoc type annotations, I did a pass removing all of them (and updating some links for VS Code compatibility) in 69aae24. Note that TSDoc / TypeDoc / Whatever VS code uses is not compatible with @throws, so I removed those tags completely.


This breaks HMR.
SHOULD: The createMemo code should run, even if the component is cached.
How did you test this change?
I used a simple test setup with the code bellow and the official vite dev server (p.s the problem is also reproducable in solid-start)
Video before fix, broken HMR:
https://user-images.githubusercontent.com/4012401/206270134-cebe81cf-8c67-45c2-9f84-aaa543923e97.mp4
Video with fix, fixed HMR:
https://user-images.githubusercontent.com/4012401/206270426-2ec4665c-aec9-40ee-96dd-d7258044e115.mp4
P.S: i also successfully tested this fix in my solid-start project were the bug first happened on a more complex setup.
Reproduction code:
App.jsx
import styles from './App.module.css';
import { createSignal, For, lazy } from 'solid-js';

const LazyBox = lazy(async () => (await import('./Box')))

function App() {
  const [boxes, setBoxes] = createSignal(['']);
  return (

        <button style={{ "margin-bottom": "50px"}}onClick={() => setBoxes([...boxes(), ''])}>Add box</button>

          <For each={boxes()}>
            {(box) => <LazyBox />}
          </For>

  );
}

export default App;

Box.jsx
const Box = () => {
  return (

      hello world

  );
};

export default Box;

Writing a new test
Since the problem is related to HMR I am not 100% sure how to write a test for this fix 😅...

Yeah this whole code path was for optimization but it lead to bug (forgetting to duplication the DEV_COMP symbol). Honestly I doubt people are make apps with hundreds of lazy components to the point that this optimization would matter much at all so I am ok just shortcutting it.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 88.501%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
1283

Relevant Lines:
1373

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 88.501%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
1283

Relevant Lines:
1373

💛  - Coveralls


version 2.9.1 release

Summary
This is a hotfix release for the issue reported at #820 #821
Category (place an x in each of the [ ])

[x] slack.web.WebClient (Web API client)
[x] slack.webhook.WebhookClient (Incoming Webhook, response_url sender)
[ ] slack.web.classes (UI component builders)
[ ] slack.rtm.RTMClient (RTM client)

Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've run python setup.py validate after making the changes.

Here are the operations for this release:
python setup.py run_all_tests
python setup.py upload
git checkout main
git merge v2.9.1-release
git push slackapi main
git push slackapi --tag v2.9.1

(env_3.8.5) $ python setup.py run_all_tests
running run_all_tests
Installing test dependencies…
/Users/ksera/github/python-slackclient/env_3.8.5/bin/python -m pip install pytest>=5,<6 pytest-cov>=2,<3 codecov>=2,<3 flake8>=3,<4 black psutil
Requirement already satisfied: pytest<6,>=5 in ./env_3.8.5/lib/python3.8/site-packages (5.4.3)
Requirement already satisfied: pytest-cov<3,>=2 in ./env_3.8.5/lib/python3.8/site-packages (2.10.1)
Requirement already satisfied: codecov<3,>=2 in ./env_3.8.5/lib/python3.8/site-packages (2.1.9)
Requirement already satisfied: flake8<4,>=3 in ./env_3.8.5/lib/python3.8/site-packages (3.8.3)
Requirement already satisfied: black in ./env_3.8.5/lib/python3.8/site-packages (19.10b0)
Requirement already satisfied: psutil in ./env_3.8.5/lib/python3.8/site-packages (5.7.2)
Requirement already satisfied: coverage>=4.4 in ./env_3.8.5/lib/python3.8/site-packages (from pytest-cov<3,>=2) (5.2.1)
Requirement already satisfied: pytest<6,>=5 in ./env_3.8.5/lib/python3.8/site-packages (5.4.3)
Requirement already satisfied: pluggy<1.0,>=0.12 in ./env_3.8.5/lib/python3.8/site-packages (from pytest<6,>=5) (0.13.1)
Requirement already satisfied: packaging in ./env_3.8.5/lib/python3.8/site-packages (from pytest<6,>=5) (20.4)
Requirement already satisfied: more-itertools>=4.0.0 in ./env_3.8.5/lib/python3.8/site-packages (from pytest<6,>=5) (8.5.0)
Requirement already satisfied: wcwidth in ./env_3.8.5/lib/python3.8/site-packages (from pytest<6,>=5) (0.2.5)
Requirement already satisfied: attrs>=17.4.0 in ./env_3.8.5/lib/python3.8/site-packages (from pytest<6,>=5) (20.2.0)
Requirement already satisfied: py>=1.5.0 in ./env_3.8.5/lib/python3.8/site-packages (from pytest<6,>=5) (1.9.0)
Requirement already satisfied: regex in ./env_3.8.5/lib/python3.8/site-packages (from black) (2020.7.14)
Requirement already satisfied: attrs>=17.4.0 in ./env_3.8.5/lib/python3.8/site-packages (from pytest<6,>=5) (20.2.0)
Requirement already satisfied: click>=6.5 in ./env_3.8.5/lib/python3.8/site-packages (from black) (7.1.2)
Requirement already satisfied: toml>=0.9.4 in ./env_3.8.5/lib/python3.8/site-packages (from black) (0.10.1)
Requirement already satisfied: typed-ast>=1.4.0 in ./env_3.8.5/lib/python3.8/site-packages (from black) (1.4.1)
Requirement already satisfied: pathspec<1,>=0.6 in ./env_3.8.5/lib/python3.8/site-packages (from black) (0.8.0)
Requirement already satisfied: appdirs in ./env_3.8.5/lib/python3.8/site-packages (from black) (1.4.4)
Requirement already satisfied: pyflakes<2.3.0,>=2.2.0 in ./env_3.8.5/lib/python3.8/site-packages (from flake8<4,>=3) (2.2.0)
Requirement already satisfied: pycodestyle<2.7.0,>=2.6.0a1 in ./env_3.8.5/lib/python3.8/site-packages (from flake8<4,>=3) (2.6.0)
Requirement already satisfied: mccabe<0.7.0,>=0.6.0 in ./env_3.8.5/lib/python3.8/site-packages (from flake8<4,>=3) (0.6.1)
Requirement already satisfied: coverage>=4.4 in ./env_3.8.5/lib/python3.8/site-packages (from pytest-cov<3,>=2) (5.2.1)
Requirement already satisfied: requests>=2.7.9 in ./env_3.8.5/lib/python3.8/site-packages (from codecov<3,>=2) (2.24.0)
Requirement already satisfied: six in ./env_3.8.5/lib/python3.8/site-packages (from packaging->pytest<6,>=5) (1.15.0)
Requirement already satisfied: pyparsing>=2.0.2 in ./env_3.8.5/lib/python3.8/site-packages (from packaging->pytest<6,>=5) (2.4.7)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in ./env_3.8.5/lib/python3.8/site-packages (from requests>=2.7.9->codecov<3,>=2) (1.25.10)
Requirement already satisfied: idna<3,>=2.5 in ./env_3.8.5/lib/python3.8/site-packages (from requests>=2.7.9->codecov<3,>=2) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in ./env_3.8.5/lib/python3.8/site-packages (from requests>=2.7.9->codecov<3,>=2) (2020.6.20)
Requirement already satisfied: chardet<4,>=3.0.2 in ./env_3.8.5/lib/python3.8/site-packages (from requests>=2.7.9->codecov<3,>=2) (3.0.4)
Running black…
/Users/ksera/github/python-slackclient/env_3.8.5/bin/python -m black /Users/ksera/github/python-slackclient/slack
reformatted /Users/ksera/github/python-slackclient/slack/web/async_client.py
All done! ✨ 🍰 ✨
1 file reformatted, 32 files left unchanged.
Running flake8…
/Users/ksera/github/python-slackclient/env_3.8.5/bin/python -m flake8 /Users/ksera/github/python-slackclient/slack
Running pytest…
/Users/ksera/github/python-slackclient/env_3.8.5/bin/python -m pytest --cov-report=xml --cov=/Users/ksera/github/python-slackclient/slack tests/
=========================================================================================== test session starts ============================================================================================
platform darwin -- Python 3.8.5, pytest-5.4.3, py-1.9.0, pluggy-0.13.1
rootdir: /Users/ksera/github/python-slackclient, inifile: pytest.ini
plugins: cov-2.10.1, asyncio-0.14.0
collected 265 items

tests/test_asyncio_event_loops.py .s.                                                                                [  1%]
tests/rtm/test_rtm_client.py ........                                                                                [  4%]
tests/rtm/test_rtm_client_functional.py ..............                                                                                [  9%]
tests/signature/test_signature_verifier.py ..........                                                                                [ 13%]
tests/web/test_async_web_client.py ...............                                                                                [ 18%]
tests/web/test_slack_response.py .                                                                                [ 19%]
tests/web/test_web_client.py .............................                                                                                [ 30%]
tests/web/test_web_client_coverage.py .                                                                                [ 30%]
tests/web/test_web_client_functional.py ..                                                                                [ 31%]
tests/web/classes/test_actions.py ........                                                                                [ 34%]
tests/web/classes/test_attachments.py ..........                                                                                [ 38%]
tests/web/classes/test_blocks.py ...........................                                                                                [ 48%]
tests/web/classes/test_dialogs.py ............                                                                                [ 52%]
tests/web/classes/test_elements.py .......................................                                                                                [ 67%]
tests/web/classes/test_init.py ..                                                                                [ 68%]
tests/web/classes/test_objects.py .............................................                                                                                [ 85%]
tests/web/classes/test_views.py ........................                                                                                [ 94%]
tests/webhook/test_async_webhook.py .......                                                                                [ 96%]
tests/webhook/test_webhook.py ........                                                                                [100%]

---------- coverage: platform darwin, python 3.8.5-final-0 -----------
Coverage XML written to file coverage.xml

===================================================================================== 264 passed, 1 skipped in 33.35s ======================================================================================
Running pytest…
/Users/ksera/github/python-slackclient/env_3.8.5/bin/python -m pytest --cov-report=xml --cov=/Users/ksera/github/python-slackclient/slack integration_tests/
=========================================================================================== test session starts ============================================================================================
platform darwin -- Python 3.8.5, pytest-5.4.3, py-1.9.0, pluggy-0.13.1
rootdir: /Users/ksera/github/python-slackclient, inifile: pytest.ini
plugins: cov-2.10.1, asyncio-0.14.0
collected 88 items

integration_tests/rtm/test_issue_530.py ..                                                                                [  2%]
integration_tests/rtm/test_issue_558.py s                                                                                [  3%]
integration_tests/rtm/test_issue_569.py s.                                                                                [  5%]
integration_tests/rtm/test_issue_605.py s                                                                                [  6%]
integration_tests/rtm/test_issue_611.py s                                                                                [  7%]
integration_tests/rtm/test_issue_631.py ss                                                                                [ 10%]
integration_tests/rtm/test_issue_701.py ss                                                                                [ 12%]
integration_tests/rtm/test_rtm_client.py ..                                                                                [ 14%]
integration_tests/web/test_admin_conversations.py ..                                                                                [ 17%]
integration_tests/web/test_admin_conversations_restrictAccess.py ..                                                                                [ 19%]
integration_tests/web/test_admin_usergroups.py ..                                                                                [ 21%]
integration_tests/web/test_async_web_client.py ........                                                                                [ 30%]
integration_tests/web/test_calls.py ..                                                                                [ 32%]
integration_tests/web/test_issue_378.py ..                                                                                [ 35%]
integration_tests/web/test_issue_480.py ....                                                                                [ 39%]
integration_tests/web/test_issue_560.py ....                                                                                [ 44%]
integration_tests/web/test_issue_594.py ..                                                                                [ 46%]
integration_tests/web/test_issue_654.py ..                                                                                [ 48%]
integration_tests/web/test_issue_670.py ..                                                                                [ 51%]
integration_tests/web/test_issue_672.py ....                                                                                [ 55%]
integration_tests/web/test_issue_677.py ..                                                                                [ 57%]
integration_tests/web/test_issue_714.py ..                                                                                [ 60%]
integration_tests/web/test_issue_728.py ..                                                                                [ 62%]
integration_tests/web/test_issue_770.py ..                                                                                [ 64%]
integration_tests/web/test_issue_809.py ..                                                                                [ 67%]
integration_tests/web/test_remote_file_replacement.py .                                                                                [ 68%]
integration_tests/web/test_web_client.py .........s........                                                                                [ 88%]
integration_tests/webhook/test_async_webhook.py .....                                                                                [ 94%]
integration_tests/webhook/test_webhook.py .....                                                                                [100%]

============================================================================================= warnings summary =============================================================================================
integration_tests/web/test_issue_480.py::TestWebClient::test_issue_480_processes_async
  /Users/ksera/.pyenv/versions/3.8.5/lib/python3.8/asyncio/base_events.py:641: RuntimeWarning: coroutine 'RTMClient._dispatch_event' was never awaited
    self._ready.clear()

-- Docs: https://docs.pytest.org/en/latest/warnings.html

---------- coverage: platform darwin, python 3.8.5-final-0 -----------
Coverage XML written to file coverage.xml

=========================================================================== 79 passed, 9 skipped, 1 warning in 301.44s (0:05:01) ===========================================================================
(env_3.8.5) $


GUI Introduction

Summary
This issue is a placeholder for @echeng-git to learn about the existing GUI code, get familiar with PyQT, and to come up with a plan of action that eventually unblocks #63
Acceptance Criteria

[x] Go through GUI docs (talk to Ian / Dinula)
[ ] Go through PyQT tutorials
[x] Come up with a plan of action

Consider simulating pod data
Talk to the "operator team" about what they want to see on the GUI
Draft requirements for GUI

[ ] Component design

Create design plan document to list components
Open UI in QTDesigner and list all existing widgets
Modify existing widgets and reference what requirements the widget fulfills

All current documentation on the GUI exists in the Research Documents directory on the google drive, and in the GUI folder on our master branch.
Albertaloop\1 - Technical Division\1 - Electrical Team\1 - Software Group\3 - Research Documents\T_SWE_RESEARCH_WORKING - GUI
https://github.com/albertaloop/T_SWE_2019_2020/tree/master/GUI

Started new requirements and design plan document on Google drive.
Albertaloop\1 - Technical Division\1 - Electrical Team\1 - Software Group\4 - Requirement Documents\T_SWE_UNIT_REQUIREMENTS - GUI
Albertaloop\1 - Technical Division\1 - Electrical Team\1 - Software Group\5 - Design Plans\T_SWE_PLAN - GUI
We are going to try to open the Albertaloop_UI file in QTDesigner and make a list of all widgets that were used, and then we will decide which widgets can be removed and what we still need to add.

This is a good tutorial to start with:
https://www.youtube.com/watch?v=Vde5SH8e1OQ&list=PLzMcBGfZo4-lB8MZfHPLTEHO9zJDDLpYj

It just occurred to me that we shouldn't be relying exclusively on YouTube tutorials as a reference for how to use PyQT. We should definitely be reading their official documentation as well. Here is a link:
https://doc.qt.io/qtforpython/contents.html

There are two standard ways we can make a table. One is using TableWidget, and the other is using TableView. The difference between a widget and a view is explained here: https://doc.qt.io/qt-5/modelview.html
Basically a TableWidget would store its data within the Widget object, whereas the TableView stores its data externally as a model (as part of ModelView). If we want to have more control over our table, such as preventing too much data from being displayed at once, we will probably want to use a TableView as explained here. However, I think it will more efficient to us to just create TableWidgets for now.
Here is a decent tutorial on TableWidgets: https://www.youtube.com/watch?v=xL2NdSubiNY


Added an embedded tutorial video I made

Looks good, hopefully this will help some people. Thanks!


WifiPasswordReveal: Does not work with profil names containing special characters

Thanks for this batch.
Unfortunately, it doesn't work with WLAN profile names containing special characters like
Joe's iPhön
If you like, you can expand your language detection with the part for a German OS:
    if "%lang_id%" == "1031" (
        set KEYCONTENT=Schlüsselinhalt
        set ALL_PROFILES=Profil für alle Benutzer
        echo Deutsches OS erkannt!)

Thanks, added the German support in WifiPasswordReveal-exp.bat!

Closing and merging with Duplicate of #6


PWA-148: [ux] Dialog buttons are in the wrong order

adjust order of actions for button creation

Pull Request Test Coverage Report for Build 657

1 of 2 (50.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 41.445%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

components/Dialog/index.jsx
1
2
50.0%

Totals

Change from base Build 655:
0.0%

Covered Lines:
1857

Relevant Lines:
4379

💛  - Coveralls


Create the Our events page

Create the Our Events page as seen in the Figma design.
With the help of already created components such as

Top Navigation,
Bottom Navigation bar,

seen in closed issues here, create the our events page.

@PetraAG i'll like to work on this issue now

Alright . . Assigned.


Fixes thread safety issue with physiology generators

Fix for issue 744

Thank you for the bug report and the corresponding fix! Nice!


Blue menu items ...!?

Hi, I uninstalled this addon as it wasn't working for me, but now all my menu items are left blue?? Which is horrible and I don't know how to change back.
Firstly, can you tell me how to revert back to the original grey colours, without destroying all my other settings please?
and also, why would you make users setting change anyway? that's invasive.

Hi! We made a full tutorial for this addon in https://youtu.be/u6ELrBT6FXw?si=pAkntz8dmhCgZS54. You can find the solution around 8:15 in this video. I hope it helps solve your problem ！ : )

Hi, oh, ok thanks - I'll have to reinstall it to get that option back. thanks for the assistance.


WSL2 gpte File List bad Behavior

Expected Behavior
WSL2 gpte uses existing .gitignore, then gives opportunity to select and deselect files, save, and close.
Else use existing file_selection.toml.
Else use existing .gitignore.
Else don't overwrite existing files!
Else don't overwrite existing read-only files!
Current Behavior
WSL2 gpte generates its own .gitignore, overwriting existing .gitignore, even when .gitignore is read-only, then generates its own file_selection.toml, based on its own .gitignore, overwriting existing file_selection.toml.
Failure Information
Windows 11 WSL2 Ubuntu
Steps to Reproduce
$ gpte project -i
Failure Logs
File list detected at /mnt/c/Users/J/gpt-engineer/projects/[project]/.gpteng/file_selection.toml. Edit or delete it if you want to select new files. Please select and deselect (add # in front) files, save it, and close it to continue... write: /mnt/c/Users/J/gpt-engineer/projects/[project]/.gpteng/file_selection.toml is not logged in

Ok, sounds quite serious with the overwrite. Can you look into this @Styren ?

Thanks for pushing this. Yes, this indeed sounds very problematic

Strange, there's no code path that should generate a .gitignore file, @oldmanjk what is the content of the .gitignore that overwrites the existing file? And what is the content of the generated file_selection.toml?

I'm unable to reproduce this @oldmanjk .  Can you please provide more details on how you are able to reproduce?  Does this happen consistently, or was this a once-off issue?

Are you hosting a local model?  Otherwise, can you tell us more about this seemingly local chat server you're interacting with?
INFO:httpx:HTTP Request: POST http://<IP_ADDRESS>:5000/v1/chat/completions "HTTP/1.1 200 OK"
Traceback (most recent call last):

That is a relevant detail as the issue isn't reproducible with the details you've provided and the files that are created are generated by the model directly. We will keep this issue open to see if others report a similar problem but, being unable to reproduce the issue, and without a direct cause evident in the codebase as previously observed by @Styren, we have no immediate next actions.

Calm down.  We can't reproduce your issue.  We're keeping this open to collect additional, and hopefully more detailed, information on this.  If you can provide more detailed information to help us reproduce this issue, we're keen for it.  We're also keen for others to provide details on this issue, as they experience the same.


Long initialization

It increased the loading time by 8-12 seconds on medium device (Xiaomi Mi A3).

Can you try it in release mode?

It was in release mode and repeated on Xiaomi Redmi Note 4.

You can try not awaiting the initialize method before runApp, and check if the sdk is initialized when loading the ads. If not, do not load or display the ads:
void main() {
   MobileAds.initialize();
}

@mozerrr Did this solved your problem?


Fix memory leak and add Leak Cannary

Fixes #36
Before:

After:
https://github.com/magiclabs/magic-android/assets/150072475/7a21d280-48dd-4505-9406-d161dd0a27c5

Is this only aiming to enable memory leakage debugging or does it address the memory leakage?

Is this only aiming to enable memory leakage debugging or does it address the memory leakage?

The memory leakage for the demo app is addressed at this line. No changes are needed on the SDK level.

What I understand from the issue was about rpcProvider in SDK being the crux of memory leakage. I think it's ok to merge this first and see if it resolves the issue. Thx for addressing this!


SpeechSynthesisUtterance stops in between for Italian language !!

Environment Information :
OS- Windows 10 Pro
Browser - Chrome Version 74.0.3729.169
On trying to have this particular text:
Alice stava cominciando ad essere molto stanca di sedersi accanto alla sorella sulla riva e di non avere niente da fare una o due volte che aveva sbirciato nel libro che sua sorella stava leggendo ma non aveva immagini o conversazioni al suo interno
to speak using SpeechSynthesisUtterance, the speech stops abruptly at the last word interno. it just pronounces int and the rest of the text gets ignored.
This happens to any other word, just the first two-three words  characers out of the last word get spoken.
It's not because of the character limit of utterance as it is much less than the defined limit i.e. 500 chars.
English, on the other hand, works all right but facing issues similarly for languages like Hindi.
It is to note that

This issue occurs only on Chrome
Italian and Hindi are both browser-native languages in Chrome for the Speech Synthesis API
The OnEnd callback also does not fire when the same happens.

Do you have examples of other apps that do work for Italian in Chrome?

Hey @SunnySv72! Thank you for opening this issue. For questions such as this, we would recommend StackOverflow as you are likely to get a faster response to your question. Also, note that we are combining some of our repositories to enable us to triage pull requests and issues more effectively. Therefore, this specific repository will be merged into the more prominent dom-examples repository.


Fix bug when basket.id attribute is not set when unfreezing order ret…

…urn from anonymous expree checkout via django-oscar-paypal

@dorianfm Looks like the actual problem is due to a change in the signature of the Applicator classes apply() method in Oscar 1.1 and requires a change to django-oscar-paypal rather than here. See django-oscar/django-oscar-paypal#104

@dorianfm is this indeed still a problem with the latest django-oscar-paypal release?

Should be already fixed in django-oscar-paypal.


Feature Request: File Shortening Option

Would it be possible to add an option that enables shortening of file paths? In the codebase I work on there are files that can be nested quite deeply, but I know which files they are and the ones I want to work with. So the Buffer Manager will look something like:
1. src/features/Friends/views/FriendList/FriendList.loader.tsx
2. src/features/Friends/views/FriendList/FriendList.graphql.ts
3. src/features/Friends/views/FriendList/FriendList.tsx
4. src/modules/Home/components/Today/Today.tsx

I think that a potential improvement could be if the way that the output of the buffer was displayed could be modified with a flag to use either the full file path, or just the file name so that instead of above, you can have something like this:
1. FriendList.loader.tsx
2. FriendList.graphql.ts
3. FriendList.tsx
4. Today.tsx

I have not dug into the plugin's implementation, but I imagine this can be implemented rather easily by storing the full file paths in a table, but then just displaying with a regex everything after the last /.
What do you think?

Hello! I had also thought of something like that. However, I have to look at it with a bit of time, as it is not trivial, as the plugin, right now, allows you to edit the buffer with the buffer list as you want, and it is always mirroring the current buffer list (with the buffer name as it is).
My idea is to have a table with the 'actual name' and the 'display name' of the buffers, so that they do not have to coincide, as is necessary now. I  will work on it as soon as I can. I will keep you posted. Thanks for the idea!

Hello, I added the branch basename-only with the implementation of this feature. To test it, you have to change the branch in your plugin manager configuration. For example, for Packer:
  use { 'j-morano/buffer_manager.nvim', branch = 'basename-only' }

By default, the configuration option that allows this behaviour (basename_only) is set to false. So, it is also necessary to set it to true when calling the setup function of the plugin:
require("buffer_manager").setup({
  basename_only = false,
})

Let me know if everything works as it should.

By the way, I have added also a option to shorten terminal buffer names too:
require("buffer_manager").setup({
  short_term_names = true,
})

Hey, haven't had an opportunity to test this out yet but I should be able to this week.

It was working with no issues for me, so I merged it. Thanks for the feedback!


Update to version 1.5.3

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Error when trying to install xformers

Hi,
I keep getting this error :
ERROR: xformers-0.0.14.dev0-cp37-cp37m-linux_x86_64.whl is not a supported wheel on this platform.
Is it because colab switched to python 3.8 ? Will it be fixed soon ?

Hi @Mariiexe,
In my case I switched to this version https://github.com/metrolobo/xformers_wheels/releases/download/4c06c79_various6/xformers-0.0.15.dev0_4c06c79.d20221201-cp38-cp38-linux_x86_64.whl
And the package was installed, but later got some errors during training and inferences :(

For those who encountered the same error, but due to migration to 3.9: use command
%pip install git+https://github.com/facebookresearch/xformers@4c06c79#egg=xformers

After approx. an hour, you will get a working xformers. However, I don't know how to save the wheel built.


unable to test

when i try to do that in the browser, i get this errors:

from command line i just get stuck and when i terminate i get this:
    ---
        message: >
            Received SIGINT signal

tried in:

node v4.2.2/v5.3.0
npm v2.14.10 / v3.5.2
ember-cli 1.13.12

This looks like a problem with old ember build and jQuery. This problem was fixed on all recent and LTS versions of ember as far as I know. Reopen if still an issue please.


Send command to business worker

Hi
I asked before here https://github.com/walkor/GatewayWorker/issues/28 but no reply
According to the following codes
https://github.com/walkor/GatewayWorker/blob/master/src/Gateway.php#L409-L414
each client is indirectly connected to specific business worker
From another business worker I want to send a command to the specific business worker using clientId
In other words , If I have business worker A (BWA) and B (BWB) and clientId = X is connected to BWA , Some times I need from BWB send a command to BWA that do something
How is possible ?

Moved to https://github.com/walkor/GatewayWorker/issues/28 .


Split prefixed tests snapshots into multiple files

This pull request separates the prefixed tests snapshots into different snapshots using jest-specific-snapshot.

coverage: 100.0%. remained the same
when pulling 92d0c05b3e79383ea0d99ed56fcb0410a6765a87 on split_prefixed_tests_snapshots
into 57f866333172667e4d9fd9bc517fad79d596c50d on master.


Handle overridden classes for Translatable

This enable to override translatable/translation classes and the use of mapped superclasses in mappings.
Note : get_called_class was introduced in PHP 5.3

Need to do some more check about mapped superclasses


difficult to change target for christmas event (saber quest)

I have some issues about my script for fate grand order, specifically i can't change target among enemies.
specifically:
abc4,#,t3acg1hi4x31,#,t1g3d6"
1- turn
Arash charge np and shoot
2-turn
change target
archuria enter in battlefield and use the first and the last skil
waver (support) cast all skill on archuria
change waver support to ishtar
3-turn
change target to saber alter
merlin use skill (specifically on ishtar)
shoot NP
idk if are correct, thank for your help anyways

Issue is too old and not reproducable anymore, closing it.


Cache macroList output

The macroList function currently does not cache the files.
Since it is called by collect (which is called by SugarCube diagnostics and hover), it can be called pretty often. While not often enough to likely cause notable/visible input lag it is still reads the file and parses it quite often.
Solution: Use https://code.visualstudio.com/api/references/vscode-api#workspace.createFileSystemWatcher with the current glob for json/yaml/yml files, and keep a global variable (exported or not? I'd say no) of the last parsed result. Then macroList simple checks if it already exists. On a file edit/creation/deletion, all it has to do is perform the parsing again.
I can implement this.

Note: I realized that vscode.workspace.openTextDocument probably keeps the file open so it is not a full disk read every time.
Still, caching the parsing result would be useful, especially if/when more complex checks/transformations need to be applied to the information.

Note: I realized that vscode.workspace.openTextDocument probably keeps the file open so it is not a full disk read every time.
Still, caching the parsing result would be useful, especially if/when more complex checks/transformations need to be applied to the information.

Agreed! Adds in TODO The the 'list' changes very less, so this would be a lot better.

Agreed! Adds in TODO The the 'list' changes very less, so this would be a lot better.

Since #13 was merged... Closing this.

Since #13 was merged... Closing this.


When LiveTable skips an unrecognized dtype, warn

Example: If a user adds a field with an 'array' dtype, LiveTable silently skips it. This confused me for a minute earlier this week.

Current coverage is 82.97% (diff: 50.00%)

Merging #528 into master will decrease coverage by 0.01%

@@             master       #528   diff @@
==========================================
  Files            19         19
  Lines          3980       3982     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3303       3304     +1
- Misses          677        678     +1
  Partials          0          0

Powered by Codecov. Last update 22ea84f...018317c

Can you fake up a test?

Done.


'is-selected' class not properly being toggled when 'slidesToScroll' is set to > 1

Hello,
When using slidesToScroll: 1 the is-selected class correctly gets toggled when changing slides. This can be observed by inspecting the elements on the default codesandbox example: https://codesandbox.io/s/embla-carousel-default-vanilla-gqh0n
However when setting slidesToScroll to anything above 1, the class only gets properly toggled on the very first (1-2) picture(s) of the first slide, the rest of the pictures get is-selected added to them, but it doesn't get removed. This can be observed in the "Slides To Scroll" codesandbox example: https://codesandbox.io/s/embla-carousel-slidestoscroll-vanilla-dposi
Thank you.

Hello @huttameps,
Thank you for this issue. I can confirm that it is a bug and I'm on it. I'll release a fix for this as soon as possible. I'll let you know when I've fixed it.
Best,
David

Hello @huttameps,
Version 4.0.3 includes a fix for this issue. So here's some information about when slides are considered to be selected:

The logic for selected slides is based on what slides are in view at the target destination.
This logic is actually totally separated from the slidesToScroll option.
The issue was that when Embla was checking for slides in view, it went through the merged slidesToScroll array rather than using the raw array containing all the separate slides. This was causing the strange behavior.
Note that you can control the slides in view threshold with the inViewThreshold option. Read more about it on the documentation page.

I would very much appreciate if you could try it out and let me know if it's working as intended.
Thanks in advance,
David

Hello @davidcetinkaya
Thank you very much for taking the time to explain the issue and process, it helps a lot!
The fix works great, I've done all the different use-cases that I could think of and it is working as intended.
Nice work :)

Thanks a lot for taking the time to test the fix @huttameps. I’m glad to hear that it’s working as expected 👍🏻.
I’m closing this issue for now. Enjoy!
Best,
David


How to get rid of the delay between modal and fog disapearance with angular-foundation?

I'm using the JS lib angular-foundation for my modals.
The problem is that when I close the modal, there is a short delay between the modal's and the background fog's disapearances. It seems very unpleasant for the eye of the user.
It's the simpliest case for $modal, out of the box. So, is this a bug? How could I customize this behaviour?
(Ideally using css transitions :)
Here is my index.html :
<!doctype html>

  <link href="http://cdnjs.cloudflare.com/ajax/libs/foundation/5.2.0/css/foundation.css" rel="stylesheet">

  <button class="button" ng-click="open()">Open me</button>

and here is my sample.js :
angular.module('modalApp', ['mm.foundation']);
angular.module('modalApp').controller('mainCtrl', function($scope, $modal) {
  $scope.open = function() {
    $modal.open({
      templateUrl: 'modalContent.html',
      controller: 'modalCtrl'
    });
  };
});
angular.module('modalApp').controller('modalCtrl', function($scope, $modalInstance) {
  $scope.ok = function() {
    $modalInstance.close();
  };
});

You can run this code in this Plunker.
Any ideas?
Thanks

It is common for modal windows to animate when opening and closing. To support this, the $modalStack service waits 300ms before removing the modal backdrop. Currently there's no way to disable this behavior. To override, you'll either need to fork the project and remove the delay or submit a PR which allows for configuration.

Hey, thanks for the answer.
I found it in the code, actually it's 300ms before the modal removal and 150ms between modal and backdrop removals.
You say that this delays exist to support animations' times. But this forced sequentiality :
-> modal closing animation (300ms)
-> modal removal
-> backdrop disaprearance animation (150ms)
-> backdrop removal
does not allow for very esthetic behaviours, and even when tunning the transitions (Plunker), the closing action will always be at least 300ms long, which is not acceptable for a lot of professional use cases.
What do you mean by "submit a PR" ?

This delay is a relic from Angular Bootstrap upon which our project is based. For the time being, this delay is acceptable in our own application so we do not have the time or resources to make this configurable ourselves. If you would like to contribute such a feature, I'd be happy to accept a Pull Request.

Cool, I'll think about it.
Thanks for your time.

The problem is not the delay itself, but rather that the animation that is supposed to happen during that delay is broken. This can be seen on angular-foundation's own plunker: http://plnkr.co/edit/RIsBM1uGbYMwUVTzNtN3?p=preview
The modal does not animate in or out. It shows instantly with no animation, and then closes in two ugly steps with no animation.


Add more abuses using machine learning

https://www.voont.com/the-alphabet-of-swearing has a uses but are images, will be fun making a classifier and then getting the abuses

Hi, can u further clarify what is expected, what do you exactly want to predict and are you hoping to use an image data set as shown in the website?

Yes, the images should be treated as  testdata


False "Conflicting init values" error when compiling for Icestorm?

Xilinx accepts the following verilog file without triggering an error: litescope.zip. However, when I try to compile it with yosys, I receive the following error.
yosys -q -p "synth_ice40 -blif litescope.blif" litescope.v
Warning: Found one of those horrible `(synopsys|synthesis) translate_off' comments.
Yosys does support them but it is recommended to use `ifdef constructs instead!
ERROR: Conflicting init values for signal \io_storage_full [0].
Makefile:2: recipe for target 'litescope.bin' failed

io_storage_full is assigned values at lines 106. In two of these cases, the value is the same constant (9'd511), and only line 106 appears to be an initial assignment. I'm unsure what the error is referring to.
Litescope is an autogenerated Verilog file; it's possible to generate syntactically invalid Verilog. However, since Xilinx doesn't complain, I'm unsure whether Xilinx is implicitly accepting an extension to Verilog, or the above file is syntactically valid and triggers a bug.

Commit df5ebfa improves ice40_ffinit error reporting.
Your code has the following initializations:
reg [8:0] io_status = 1'd0;
reg [8:0] io_storage_full = 9'd511;

But e.g. io_status[0] is the same net as io_storage_full[0]:
assign MOTEA = io_storage[0];

always @(*) begin
        io_status <= 1'd0;
        io_status[0] <= MOTEA;
        ...
end

(Btw, this should be = instead of <= to avoid race conditions during simulations. See for example http://www.sunburst-design.com/papers/CummingsSNUG2000SJ_NBA_rev1_2.pdf.)
So the initializations io_status[0]=0 and io_storage_full[0]=1 are in conflict with each other.
Remove the bogus initialization of io_status (or make it match the initialization of io_storage_full) to fix the issue.


Fix repromptDialog error message

Fixes #2715

Pull Request Test Coverage Report for Build 158633

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
9 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.07%) to 82.789%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder-dialogs/src/dialogContext.ts
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

libraries/botframework-streaming/src/webSocket/webSocketTransport.ts
2
80.65%

libraries/botframework-streaming/src/webSocket/webSocketServer.ts
7
66.67%

Totals

Change from base Build 158344:
-0.07%

Covered Lines:
15141

Relevant Lines:
17390

💛  - Coveralls


corrects bundle exec rake instead of rails in README.md

Just small error in the readme. You put rails webpacker... instead of rake...

This change is

Coverage remained the same at ?% when pulling e95f31e58ba432ae16662ba5b437aac3c0f310e2 on RolandStuder:RolandStuder-patch-1 into d364ebf5f69afd6a228976303e1d1f76021cbf8e on shakacode:master.

Since Rails 5.0+ it is not wrong to call a task with rails, such as webpacker:install.
@RolandStuder Even the rails docs recommend running tasks with rails.

Since Rails 5.0+ has rake commands built into the rails executable, bin/rails is the new default for running commands.

Agree with @rodrigobdz. I also think that most 4.x Rails users will know that.

Ah, I learned something, thanks for the feedback. And have a wonderful day!


Koni/dev/issue 2381

Related issue: #2381

🚀 Deployed on https://pr-2382--sw-web-runner.netlify.app


Add functional tests if present.

Ok cool, this seems to be working right. I'll continue in https://github.com/shakenfist/kerbside-patches/pull/150.


pruning test fails

pruning fails with following error:
Running 2nd level testscript pruning.py ...
Initializing test directory /tmp/testu7vxbt8k
Warning! This test requires 4GB of disk space and takes over 30 mins (up to 2 hours)
Mining a big blockchain of 995 blocks
Check that we haven't started pruning yet because we're below PruneAfterHeight
Success
Though we're already using more than 550MiB, current usage: 593.0
Mining 25 more blocks should cause the first block file to be pruned
Assertion failed: blk00000.dat not pruned when it should be

I added the following debug output to see what's happening:
diff --git a/src/main.cpp b/src/main.cpp
index 8f7b115..cfc798d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3735,19 +3735,29 @@ void FindFilesToPrune(std::set<int>& setFilesToPrune)
     int count=0;

     if (nCurrentUsage + nBuffer >= nPruneTarget) {
+        LogPrint("prune", "prune: Last block file: %d\n", nLastBlockFile);
         for (int fileNumber = 0; fileNumber < nLastBlockFile; fileNumber++) {
             nBytesToPrune = vinfoBlockFile[fileNumber].nSize + vinfoBlockFile[fileNumber].nUndoSize;

-            if (vinfoBlockFile[fileNumber].nSize == 0)
+            if (vinfoBlockFile[fileNumber].nSize == 0) {
+                LogPrint("prune", "prune: file %d already pruned\n", fileNumber);
                 continue;
+            }

             if (nCurrentUsage + nBuffer < nPruneTarget)  // are we below our target?
+            {
+                LogPrint("prune", "prune: Below target\n");
                 break;
+            }

             // don't prune files that could have a block within MIN_BLOCKS_TO_KEEP of the main chain's tip but keep scanning
             if (vinfoBlockFile[fileNumber].nHeightLast > nLastBlockWeCanPrune)
+            {
+                LogPrint("prune", "prune: Can't prune %d, height last: %d, can prune <= %d\n",
+                        fileNumber, vinfoBlockFile[fileNumber].nHeightLast, nLastBlockWeCanPrune);
                 continue;
-
+            }
+            LogPrint("prune", "prune: Marking %d for pruning\n", fileNumber);
             PruneOneBlockFile(fileNumber);
             // Queue up the files for removal
             setFilesToPrune.insert(fileNumber);
@@ -3755,6 +3765,10 @@ void FindFilesToPrune(std::set<int>& setFilesToPrune)
             count++;
         }
     }
+    else {
+        LogPrint("prune", "prune: Not pruning! Current usage %d, + buffer %d, total %d, target %d\n",
+                nCurrentUsage, nBuffer, nCurrentUsage + nBuffer, nPruneTarget);
+    }

     LogPrint("prune", "Prune: target=%dMiB actual=%dMiB diff=%dMiB max_prune_height=%d removed %d blk/rev pairs\n",
            nPruneTarget/1024/1024, nCurrentUsage/1024/1024,

Output in logfile is:
96813 2017-08-29 13:25:09 reassembled thin block for 161b1a704cf885de17472b47adb7c9438eae9f5483fa14d7ea9555058a396b92 (947121 bytes)
96814 2017-08-29 13:25:09 Pre-allocating up to position 0x26000000 in blk00000.dat
96815 2017-08-29 13:25:09 prune: Last block file: 0
96816 2017-08-29 13:25:09 Prune: target=550MiB actual=592MiB diff=-42MiB max_prune_height=717 removed 0 blk/rev pairs

Log did not contain any Leaving block file %i line, so it seems we hold on to with blk00000 longer than we expect to. Maybe because of https://github.com/bitcoinxt/bitcoinxt/blob/master/src/main.cpp#L3211 ?

Are you sure this isn't related to python3?  It passes for me on master d2379f9e0ebe7b8f86766e8f0850c1832f156806.

Fails for me on master. If I revert 27155ae8d072bdd32f068e376ec17dc2bc08d2f6 it works.
27155ae8d072bdd32f068e376ec17dc2bc08d2f6 causes regtest to bump max blocksize to 8MB, thus increases my suspicion of https://github.com/bitcoinxt/bitcoinxt/blob/master/src/main.cpp#L3211 being at fault
I'm not sure what's correct the correct way to fix it; 1) reduce database block file size or 2) mine bigger blocks with pruning.

Re-ran and it failed for me this time.  I think a change to the test might be needed to accommodate the larger .blk files.


codegen: Avoid generating invalid Rust code when a struct is not properly aligned.

r? @fitzgen
cc #412

 Warning

These commits modify unsafe code. Please review it carefully!

@bors-servo r+

:pushpin: Commit 30a4722 has been approved by fitzgen

:zap: Test exempted - status


Query the environment directly instead of using libc's setlocale.

Why
setlocale is unfortunately not safe to use in a multi-threaded application.
How
We can avoid using it altogether by pulling the locale from the environment. Both glibc and FreeBSD's libc simply pull this out of the environment using the first set variable of:

LC_ALL
LC_{{category}}
LANG

Since we are just using LC_CTYPE when libc has many different locales, we can get the same locale information by just checking three environment variables. glibc does a lot of other operations around including locale alias substitution but those don't end up affecting the name it hands back out of the setlocale call.
Drawbacks

libc/glibc do a little extra validation on the locale string and won't return a locale string if it's invalid or if matching locale data can't be loaded. With these changes, we are a slight bit less defensive for invalid locales.
we need to remove no_std on linux/bsd to query the environment directly (instead of letting libc do it for us)

Looks good to me, i appreciate the trait approach for the tests :)


Tasks (due 11/30)

[ ] We want 20 documents for our project--more would be great, but our minimum goal is 20. We have 14 now, so this is possible to do before our next meeting. @Jamielynn92 This is something you can definitely do. Please try to find some documents and transcribe them!!

[ ] The TOC needs to have the links pointing to the texts hosted on their own .html pages. @ajnewton1 Is in charge of this! Also, can we alphabetize this list?

[ ] We're working on adding @ref attributes to the document code. I'll get to that tonight (Nov 16).

[ ] I'm going to be working with the xml code once the files are hosted on their own pages. Some of the things I'll be marking are:

Names and corresponding colors according to xml:id. (Ex. All <persNames> marked with the xml:id "#Tesla" will have style="color:teal" applied.)
Places and creating links to a new .html page I'll be making explaining the significance of certain areas / places relevant to the War of Currents.
Looking at dates and date ranges for our timeline

Thinking about a timeline... I'll try and put something together for this. It'll probably be for the best if it's static rather than interactive.

Wow that is sideways, alright. Thanks GitHub

Anyway, we have two weeks to do this (until the 30th). We can get this done!

Links on website are done. I will add the text on each page once the @ref attributes are completed. I will also alphabetize them soon.

@ajnewton Sounds good!

@ajnewton1 Everything is updated now, including @ref attributes and the schema. You should be able to host the documents now. Let me know when you've gotten that done and I'll get to editing the HTML / CSS for the pages!

@ajnewton1 How does this look for our timeline? Will be adding more entries to it soon, or I'll have @Jamielynn92 help me.

@quantum-satire Im not really a fan of the timeline. It doesn't really match the website and its impossible to read unless you stop at the right spot on the page

@ajnewton1 I spent a good few hours on it yesterday but needed a break and uploaded what I had, I'm still working on the padding and functionality as I adapted it from another opensource timeline project. I just know we need something for the timeline page. I haven't added our banner icon to it yet either, I just ran out of time. I'm going to keep working on it, unless you wanted to try your hand at making a timeline that worked better with our theme?

@ajnewton1 I changed the timeline so it isn't as buggy or ugly. Also, I saw that you linked the GitHub repo at the bottom of all of the pages--do you want me to replace the text with an SVG image of the GitHub icon instead? I have one we can use

@quantum-satire Sure that'll work

@quantum-satire Yea I will see what I can do but I am sorta in the same boat that you're in. I have been busy lately so I cant give you an exact date to when I can get to it.

@ajnewton Yeah of course! It’s a holiday break so I totally understand. Let me know how it goes when you get around to it and if you need any help


Add ci file for integration tests (#2938)

Pull request opened by the merge tool on behalf of #2938

Pull request rejected by merge tool. The tests for this branch did not succeed.

Merged into branches iso3 in 74ddbd7b7576eb878fd6135d5943ba12dbf2ecb2


random file on ftp

In
ftp://ftp.pombase.org/pombe/exports/
some  pombase-web-.....image.xz
I don't know what it is? I downloaded it but I couldn't iopen it?

That's a Docker image containing all the data and code for running the web site.  That's what gets copied to Babraham each night.  It's in the nightly directory so that we can include it in the monthly release: ftp://ftp.pombase.org/pombe/releases/

Ah I see. I was wondering why it was int he directory with the HCPI data, but I guess that is because the HCPI  data is in the 'home' directory?

What is "HCPI"?
The exports directory hasn't got a great name.  It's for the files that get "exported" from Chado during the nightly load where there isn't a better place for them.  It's sort of a "misc." directory.

see
https://github.com/pombase/website/issues/1423

I think this on can close..


formula: include versioned *.so.* libs for shared_library("*")

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?
[ ] Have you successfully run brew man locally and committed any changes?

ipopt and libgsm use Formula#shared_library to locate shared libraries:
lib.install_symlink Dir["#{libexec}/lib/#{shared_library("*")}"]

However, this only matches unversioned *.so files such as libpord.so but ignores versioned *.so.* files like libpord.so.0. This PR modifies shared_library so that it matches both.
Related:

https://github.com/Homebrew/homebrew-core/pull/67553
https://github.com/Homebrew/homebrew-core/blob/master/Formula/ipopt.rb#L54-L58
https://github.com/Homebrew/homebrew-core/blob/master/Formula/libgsm.rb#L48

Review period will end on 2020-12-24 at 23:51:37 UTC.

If someone has technical information about why .so files can have version numbers after the extension that I can read up, I would be interested. Just for personal knowledge :)

If someone has technical information about why .so files can have version numbers after the extension that I can read up, I would be interested. Just for personal knowledge :)

A little light reading then. :laughing:

The LDP's Program Library HOWTO, Chap. 3 seems to be the most-cited reference, and is a readable overview
Douglas Creager wrote an ELI12 version, with brief cameos by libtool and CMake
Ulrich Drepper's How to Write Shared Librares [PDF], for when you have time for a deep dive without oxygen

Updated to be more consistent, please review the tests to make sure I got the edge cases right

Review period ended.


⚖ Register Validator: Huginn

Network Choice
nemeton-1
Who are you?
Professional staking service. 7/24 monitoring and best uptime. Huginn is an organization that aims to teach its community about Cosmos SDK and Blockchain. https://huginn.tech/
gentx
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"Huginn","identity":"D27EE330254D4F6A","website":"https://huginn.tech","security_contact":"stake@huginn.tech","details":"Professional staking service. 7/24 monitoring and best uptime. Huginn is an organization that aims to teach its community about Cosmos SDK and Blockchain"},"commission":{"rate":"0.050000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"okp41jn9ycc8898lmhl749ng2q58fnum82pj4fzl3pd","validator_address":"okp4valoper1jn9ycc8898lmhl749ng2q58fnum82pj4u90clv","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"vxCd1NBfcLUYvL/2Z/hNfd9Z59lW+D0USBnbH+tneZw="},"value":{"denom":"uknow","amount":"10000000000"}}],"memo":"4a237a50a3f2298d800072d72fffc9927527771a@<IP_ADDRESS>:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A8LYrWS3lTevGffP9QxlFVxgYHfTOHZ28F1dhuhdWCW8"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["ZdqTUdk9oBZEezbl+h2Iq2O+QVA0YcJB0SecX874/eJc/D2VTrjl6w89uuoFKrfe8wXvumPoZRpPoUiAV7sefw=="]}

😉 Here is the corresponding PR: https://github.com/okp4/networks/pull/417


chore: create test client at lowest Parallel level

We should avoid calling Parallel in a sub-test after creating a client, since it can block for a completely indeterminate amount of time, and in that time, we can end up with a huge number of just unused clients.
Not only is this (really only a) little wasteful, it makes stack traces and dumps in the case of test timeout very hard to decipher. Are we waiting for a client because it got deadlocked? Or because it was open since the beginning of the test run.
We do this in two ways:

Moving client initialization to right below the deepest t.Parallel call
Removing instances of t.Parallel from calls that we do not expect to take very long

Hm, the test job ran at 16m41s which is slower than usual. Giving it a kick to see if that's a one off (and I do nothing else), or if it's consistent, and then we probably need to create some more clients.

Some context in the thread here: https://discord.com/channels/707636530424053791/1200119733626884298/1201553630415831112


Compilation error if wildcard with when clause starts with an exclamation mark.

Version: Dart SDK version: 3.1.0-46.0.dev (dev) (Tue Apr 25 23:35:50 2023 -0700) on "windows_x64"
Windows 11

Basically, as stated in the title, the code does not compile if a switch-expression case has a wildcard and a when clause that starts with a negation.
import "dart:math";

final Random random = Random();
bool twoState() => switch (random.nextDouble()) {
      < 0.5 => false,
      >= 0.5 => true,
      _ => throw Error(),
    };

void main() {
  print(switch (twoState()) {
    _ when !twoState() => "hi", // Expected to find '=>'
    // Function expressions can't be named. Try removing the name, or moving the function expression to a function declaration statement.
    bool _ when !twoState() => "hi", // Works.
    true => 1,
    false => 0,
  });
}

Note that this also fails when the expression is not a function call.
 print(switch (twoState()) {
    _ when !(true != false) => "hi",
    // Expected to find '=>'
    // 'true' can't be used as an identifier because it's a keyword. Try renaming this to be an identifier that isn't a keyword.
    // Expected to find ')'
    true => 1,
    false => 0,
  });

tentatively marking as a parser issue. @jensjoha can you take a look?

I think this was fixed with 637dd76c7f926b7476bb35944bf7888e3d7d52f1.


Pre training fixes

Makes a few GUI bugfixes, such as fix number of pointcloud displayed wrongly here and there.
Catches exceptions on load of files and opens message boxes
Fix load of TIFF files
On load of pointcloud display points only by default

closes #90
closes #22
closes #132

closes #22

You are right on #22 that it doesn't fix the display on creation, but #22 on the title refers to on load!

I only read the description, not the title, to me "load" (probably wrongly) means any time a pc is made

Mine was an excuse, clearly!

Just tested and I found that: #22 was not fixed - when I created a pointcloud, the subvolume regions were shown, and the "Display subvolume regions" checkbox was unticked. I am getting this issue with tiff files: vais-ral/CILViewer#310 - seems to be a closed issue in the viewer - it was closed by this PR: vais-ral/CILViewer#311 what is happening here which is different?
Otherwise, I am happy with the changes to the way the bulk run works

Apparently this is due to having viewer 22.2.0 installed instead of 22.4.0
I added the hiding of the subvolume actor for point cloud creation as well now!