Wiki Issue for Getting Started -> Animating using model bones

In this wiki documentation
https://github.com/microsoft/DirectXTK12/wiki/Animating-using-model-bones#modifying-model-bones
The result does not match the screenshot provided. The problem can be addressed either in the model or the CreateLookAt() function in Game::CreateWindowSizeDependentResources(). Since I don't have the original source file of the model I fixed it in the code with
void Game::CreateWindowSizeDependentResources()
{
    // TODO: Initialize windows-size dependent objects here.

    auto size = m_deviceResources->GetOutputSize();
    m_view = Matrix::CreateLookAt(Vector3(10, 2, 0),
        Vector3(0, 2, 0), Vector3::UnitY);
    m_proj = Matrix::CreatePerspectiveFieldOfView(XM_PI / 4.f,
        float(size.right) / float(size.bottom), 0.1f, 10000.f);
}

The main fix being in changing the Vector3 parameters in the CreateLookAt() function.

The repo where I am working on this is located here
https://github.com/focusright/graphics/tree/main/codebase/directx12/practice/03-directxtk12-wiki/07-animating-using-model-bones

FWIW, all the tutorials source can be found https://github.com/walbourn/directxtk-tutorials

I looked at the tutorial source and found the culprit, the line
m_model->CopyBoneTransformsTo(nbones, m_animBones.get());
needs to remain right after the lines where the bone arrays are made:
m_drawBones = ModelBone::MakeArray(nbones);
m_animBones = ModelBone::MakeArray(nbones);

m_model->CopyBoneTransformsTo(nbones, m_animBones.get());

uint32_t index = 0;
for (const auto& it : m_model->bones)
{
    if (_wcsicmp(it.name.c_str(), L"tank_geo") == 0)
    {
        // Need to recenter the model.
        m_animBones[index] = XMMatrixIdentity();
    }

    ++index;
}

In this section of the wiki
https://github.com/microsoft/DirectXTK12/wiki/Animating-using-model-bones#modifying-model-bones
the last sentence is "(after you have loaded the model and created the bone arrays):"
which made my code like this:
m_drawBones = ModelBone::MakeArray(nbones);
m_animBones = ModelBone::MakeArray(nbones);

uint32_t index = 0;
for (const auto& it : m_model->bones)
{
    if (_wcsicmp(it.name.c_str(), L"tank_geo") == 0)
    {
        // Need to recenter the model.
        m_animBones[index] = XMMatrixIdentity();
    }

    ++index;
}

m_model->CopyBoneTransformsTo(nbones, m_animBones.get());

Hopefully this will help someone else who tries to follow the tutorial like I did.

Thanks for the feedback.
Hopefully the edits here make it more clear:
https://github.com/microsoft/DirectXTK/wiki/Animating-using-model-bones
https://github.com/microsoft/DirectXTK12/wiki/Animating-using-model-bones


BasicExample.py is broken

examples/BasicExample.py is broken.  One problem is that no init.py is installed when pandasqt is installed (using pip, at least).  Creating an empty init.py fixes the first error encountered (i.e., that DataFrameModel can't be found ... or anything else ;).  Next, there seems to be no setDelegatesFromDtype function defined (google search seems to indicate that it had been in init.py ?).

s/'init.py'/'init.py'/

Oops -- s/init.py/__init__.py/ ... stupid markdown!  :p

There were some major changes to the current head and the PyPi version is currently outdated.
Will fix this as soon as possible

Fixed in current develop branch

Hi, just today I used pip (version 8.0.3, python 2.7.11) to install this module and I encountered the same problem of the _init_.py being absent. It seemed like this was resolved almost a year ago though. Is there something on my end causing the problem? Thanks!

Hi, I've tested it on a fresh Ubuntu 16.04 with python 2.7.11 and pip 8.0.3 and everything worked. What version of pandas-qt you installed? 0.2 or below? The bug is only fixed in the latest version.

Ah okay. I installed pandas-qt 0.2.0. I'm on Windows 7. Both pip install pandas-qt and pip install pip install git+https://github.com/datalyze-solutions/pandas-qt.git gave me version 0.2.0. That seems to be the the latest version on pypi. Is there something obvious I'm missing to installing the newer version?


Showing "Not authenticated" when the request is made "NameID not found in the assertion of the Response"

Showing "Not authenticated" when the request is made
Don't know what's the main cause of it.
And Attributes are also blank
"NameID not found in the assertion of the Response"

If at the setting the "wantNameId" is set to true (default value), then the toolkit will invalidate SAMLResponses with no NameID,
when SAMLResponse is invalidated, the demo will show "Not authenticated" and attributes are not retrieved since the SAMLResponse was invalidated.


[1.20.1] Apotheosis Spawner Modifiers Do Not Show Up In EMI (JEI alternative)

Pressing "U" while hovering over a Spawner dose not show Modifiers either.
Apotheosis-1.20.1-7.4.3
Emi-1.1.18+1.20.1+forge

EMI is not a supported platform.  You can install JEI alongside EMI to have EMI use JEI's data as a backend.


Show More Examples, Less JSON

It would be great to see more that are not a bunch of JSON. Such as looping filtering and so on.

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

ID: bfc163f0-2883-6a20-fc06-f84715aa2912
Version Independent ID: ccf25bc7-a643-71b0-0a0d-f51461689747
Content: Filter activity in Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/control-flow-filter-activity.md
Service: data-factory
GitHub Login: @djpmsft
Microsoft Alias: daperlov

Hi @ratchetwrench,
Thanks for commenting! We agree and are working on updating the documentation.
Is there a specific example you want or can I close this issue?

Examples could include:

Showing how parameters are used and passed between
Looping over arrays of parameters
steaming from on-peek sql server to cloud database

Usecases: “I need to get all table from on-prem Oracle in ABC.XYZ.TEMP_*,  that might be 5 or 10 tables. And need to filter on each but have varying column names to filter. Can I stream that to a Azure sql server without defining scheme first? Do I need to dump in ADLS first? And so on...

Hi @ratchetwrench,
We have a tutorial on how to copy data from on-prem to cloud found here.
We have also created a whitepaper outlining showing how to use parameters.
This article in specific is exclusively about the Filter activity and while it does need improvements, the content you listed will probably surface in another area of documentation.
Thanks,
Daniel

Closing as there have been no further follow up questions. We are constantly working to improve our documentation and appreciate the feedback! If there are any other inquiries related to this issue, feel free to reopen.
#please-close


updated collision

I will work off your main branch now that I've figured out my camera rendering rate issue!


Unable to type into hyperlink popover input

Can't reproduce? Is your browser chrome?

yes I am using chrome

It was an issue with UI Framework. I am closing it

Resolved


[HOTFIX][MLLIB] fix a compilation error with java 6

Test build #26952 has started for   PR 4442 at commit 2098500.

This patch merges cleanly.

Merged into master and branch-1.3 (skipped Jenkins).

Test build #26952 has finished for   PR 4442 at commit 2098500.

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

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


Change of start time/ end time to start date/end date

Description
Clisops core subset expects start_date and end_date in a dictionary. We had been using start_time and end_time to be consistent with the name TimeParameter. Should this stay as it is?

@ellesmith88 , I think we should preserve clisops.core.subset so that it preserves the existing interface, as used by xclim.
So our input parameter checks only need to go as far as clisops.ops.subset - and inside that function we can translate the parameters into the form required by the clisops.core.subset.* functions.


upgrade go-marathon and added ignorehttp1xx to healthchecks

Note: I was not able to test this b/c the docker compose files pull from the banno internal docker registry.

ok to test

These tests passed for me. Do we need to make a call on SetIgnoreHTTP1xx though?
Btw, We don't use this provider anymore. Any interest in maintaining it? The mesos/zk docker images only differ from official images by adding a CA for Banno.
$ make test
go install .
docker pull python:3
3: Pulling from library/python
6d827a3ef358: Already exists
2726297beaf1: Already exists
7d27bd3d7fec: Already exists
44ae682c18a3: Already exists
824bd01a76a3: Pull complete
68fe59875298: Pull complete
9ca1d7ae0c4b: Pull complete
Digest: sha256:0a979dbff79f466aad8d92a89980ebe19cbd481b135d8cc9c0d843d8cf802ef9
Status: Downloaded newer image for python:3
docker-compose -f docker-compose.yml up -d
Creating terraformprovidermarathon_zookeeper_1
Creating terraformprovidermarathon_dns_1
Creating terraformprovidermarathon_mesos-agent2_1
Creating terraformprovidermarathon_mesos-agent1_1
Creating terraformprovidermarathon_mesos-master_1
Creating terraformprovidermarathon_marathon_1
sleep 10
TF_LOG=TRACE TF_LOG_PATH=./test-sh-tf.log TF_ACC=yes MARATHON_URL=http://dev.banno.com:8080 go test ./marathon -v
=== RUN   TestProvider
--- PASS: TestProvider (0.00s)
=== RUN   TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN   TestAccMarathonApp_basic
--- PASS: TestAccMarathonApp_basic (389.33s)
=== RUN   TestAccMarathonApp_ipAddress
--- PASS: TestAccMarathonApp_ipAddress (36.16s)
PASS
ok  	github.com/Banno/terraform-provider-marathon/marathon	425.504s
docker-compose -f docker-compose.yml kill
Killing terraformprovidermarathon_marathon_1 ... done
Killing terraformprovidermarathon_mesos-master_1 ... done
Killing terraformprovidermarathon_mesos-agent1_1 ... done
Killing terraformprovidermarathon_dns_1 ... done
Killing terraformprovidermarathon_zookeeper_1 ... done
docker-compose -f docker-compose.yml rm -f
Going to remove terraformprovidermarathon_marathon_1, terraformprovidermarathon_mesos-master_1, terraformprovidermarathon_mesos-agent1_1, terraformprovidermarathon_mesos-agent2_1, terraformprovidermarathon_dns_1, terraformprovidermarathon_zookeeper_1
Removing terraformprovidermarathon_marathon_1 ... done
Removing terraformprovidermarathon_mesos-master_1 ... done
Removing terraformprovidermarathon_mesos-agent1_1 ... done
Removing terraformprovidermarathon_mesos-agent2_1 ... done
Removing terraformprovidermarathon_dns_1 ... done
Removing terraformprovidermarathon_zookeeper_1 ... done

@adamdecaf good point. fixed and amended. Also I'm okay with taking over the project if you want to transfer it.

@nicgrayson Sure thing. Do you want it transferred to your account or an org?

@adamdecaf me. Org doesn't have a public github.com presence.

@nicgrayson Sure thing. Can you delete your fork? Github won't let me transfer this repo.

@adamdecaf can you merge first so i don't lose this branch?


raises NoMethodError instead of displaying error when email is missing

Sending request POST /auth with
{
       password: "thestrongestone",
       password_confirmation: "thestrongestone",
       confirm_success_url: ""
}

It raises NoMethodError instead of adding email is missing message to the response

Thanks @beydogan, I'll look into this ASAP

@beydogan - is this still an issue for you? Closing due to inactivity, but can re-open as needed.

@booleanbetrayal I don't know whether its fixed or not since I don't use the gem anymore.


module 'pygfunction.utilities' has no attribute 'segment_ratios'

Traceback (most recent call last):
File "..................................................................................................../ghedt/examples/Design/find_bi_zoned_rectangle.py", line 230, in
main()
File "..................................................................................................../ghedt/examples/Design/find_bi_zoned_rectangle.py", line 151, in main
bisection_search = design_single_u_tube.find_design(disp=True)
File "....................................................................................................\ghedt\design.py", line 85, in find_design
bisection_search = dt.search_routines.BisectionZD(
File "....................................................................................................\ghedt\search_routines.py", line 261, in init
Bisection1D.init(
File "....................................................................................................\ghedt\search_routines.py", line 44, in init
g_function = dt.gfunction.compute_live_g_function(
File "....................................................................................................\ghedt\gfunction.py", line 92, in compute_live_g_function
gfunc = calculate_g_function(
File "....................................................................................................\ghedt\gfunction.py", line 44, in calculate_g_function
segment_ratios = gt.utilities.segment_ratios(
AttributeError: module 'pygfunction.utilities' has no attribute 'segment_ratios'

Can you type pip list and let me know which version of pygfunction you are running? We introduced segment_ratios in version 2.1 (https://github.com/MassimoCimmino/pygfunction/blob/master/CHANGELOG.md#version-210-2021-11-12).
You can run pip install -r requirements.txt to install all the required modules. It should update your pygfunction installation if you are running older than 2.1.

not solved by updating, here the pip list:
Package         Version

CoolProp        6.4.1
cycler          0.11.0
et-xmlfile      1.1.0
fonttools       4.29.0
kiwisolver      1.3.2
matplotlib      3.5.1
numpy           1.22.1
opencv-python   <IP_ADDRESS>
openpyxl        3.0.9
packaging       21.3
pandas          1.4.0
Pillow          9.0.0
pip             21.1.2
pygfunction     2.1.0
pyparsing       3.0.7
python-dateutil 2.8.2
pytz            2021.3
scipy           1.7.3
setuptools      57.0.0
six             1.16.0
wheel           0.36.2

What IDE are you using? Is it accessing the same environment that you list there?

I m using pycharm, and yes I have double checked, all the packages and correct versions are installed

Could you go to Settings -> Project: ghedt -> Python Interpretor and share a screen shot of your interpreter where I can see that its pygfunction 2.1.0.

That is strange. If you tag @MassimoCimmino's version 2.1.0 release, you can see that a pygfunction.utilities.segment_ratios() function does exist.

Have you looked at the pygfunction utilitites.py file in your environment to see if it has the segment_ratios() function. Perhaps try
pip uninstall pygfunction
pip install pygfunction==2.1.0

@mitchute have you ran into this issue?

Yes, I even tried to define it on the example itself

If you look in C:\Users\davide\PychardProjects\pygfunction\G\venv_2 and find the pygfunction package, is the segment_ratios function inside of utilitites.py?

On my system pygfunction is located in lib/python3.7/site-packages/pygfunction.

From there, when I open up utilities.py I can see that the segment_ratios function is defined. Is it in yours?

That is bizarre. Is the example file in ghedt running now?

Is that a ghedt or pygfunction issue?

I think you need to replace all of the pygfunction files in that directory with version 2.1 files.

It has changed. I get this error message: AssertionError: Method 'MIFT' is not an acceptable method. Please provide one of the following inputs : ['detailed', 'similarities']

This is a pygfunction v2.0 error. There was a mistake in the reporting which got fixed in v2.1 (and 'equivalent' was also introduced). My guess is ghedt is trying to use the missing 'equivalent' solver.

Yes, the example he is running is trying to use the default g-function calculation (equivalent with unequal segment lengths). Both introduced in pygfunction version 2.1.
@DavideDC9 The issue appears to be that your package manager is reporting that you have pygfunction==2.1 installed when the code contained in the package is actually pygfunction==2.0.
I'm going to close this issue because we have resolved what the original error was, and have found that the solution (for now) is for @DavideDC9 to replace his pygfunction installation with files from the v2.1.0 release. The heart of the issue is located outside of ghedt, perhaps in venv.


added capability to append query params to the jdbc connection url

Hey I juse added a few lines to support query parameters for the jdbc connection string, you can now use something like this:
JDBCHelper::MySQL.connect host, user, password, db, {:query => {:useSSL => false}}
Cheers

Thanks for the suggestion, but as you might have noticed I'm not actively maintaining this library. Anyway, MySQL connector takes extra key value pairs as arguments, so I believe this should work, no?
mysql = JDBCHelper::MySQL.connect(host, user, password, db, useSSL: false)

And it looks like to_query method is not from standard Ruby but from an external library (ActiveSupport) which this gem does not depend on.


mock-consensus: 🌱 single genesis validator

fixes #3816.
this provides extension facilities to the mock consensus test node
builder, which allows penumbra-app tests to define a single validator,
and subsequently retrieve it from the chain state.
see mock_consensus_can_define_a_genesis_validator. when run with
--no-capture enabled, these logs will be visible:
2024-02-28T23:00:43.751036Z DEBUG penumbra_stake::component::stake: adding validator identity to consensus set index, validator: penumbravalid172v76yyqwngcln2dxrs8ht0sjgswer3569yyhezgsz6aj97ecvqqyf3h9h
at crates/core/component/stake/src/component/stake.rs:533
in penumbra_stake::component::stake::staking

[...]

2024-02-28T23:00:43.776880Z  INFO penumbra_app::server::consensus: genesis state is a full configuration
at crates/core/app/src/server/consensus.rs:145

2024-02-28T23:00:43.780436Z DEBUG penumbra_app::app: finished committing state, jmt_root: RootHash("46dc0e9561f17eee61a2c13f517036d4d0a4c77c60362cb6cc165083675dcaf7")
at crates/core/app/src/app/mod.rs:592

logging facilities are provided so that helper warnings should be given
to users that forget to call with_penumbra_single_validator, or
provide an AppState object whose validator list would be overwritten.
the serde_json dependency is removed from the mock consensus library,
it is no longer used.
a warning is added to the mock consensus library to note to future
contributors that other penumbra dependencies should be avoided in that
library.
a new http::Extensions field is added to the builder. it is not used
internally, but provides extension traits a place to hold additional
state.

#3588
#3816

I think we should take the opportunity to iterate on the API a little bit and figure out how we want to manage validator keys. It might be good to do that in chat or a slightly more synchronous setting than GH issues.

today we held a discussion in the #testing channel about this PR.
this comment strives to record the guiding design principles outlined in that
conversation.
🤯 why doesn't the original plan work?

what the relation is between BuilderExt::with_penumbra_single_validator()
and BuilderExt::with_penumbra_auto_app_state()?
I think we should take the opportunity to iterate on the API a little bit and
figure out how we want to manage validator keys. It might be good to do that
in chat or a slightly more synchronous setting than GH issues.

- https://github.com/penumbra-zone/penumbra/pull/3902#issuecomment-1971674791
- https://github.com/penumbra-zone/penumbra/pull/3902#discussion_r1507968266
our original idea was that a TestNode::single_validator()
method would generate a single set of validator keys, while
with_penumbra_auto_app_state would:

read out list of abci/comet validators from the builder
define a penumbra validator for each one
inject that into the penumbra app state
serialize to json and then call with_app_state_bytes

#3597 was drafted during a very early stage of this work. we have since made a
lot of progress and crucially, an important design goal has since come into
focus: the mock consensus engine should not depend on other penumbra-*
crates, to avoid circular dependencies and to offer a reusable testing tool.
that last point in particular complicates things. it is difficult to store a
value inside of a library without allowing that library to know what you are
providing it.
because of that, the builder must rely on a complex extension
trait in order to store, and later retrieve, a list of penumbra
validators in BuilderExt::with_penumbra_auto_app_state() while avoiding the
addition of a penumbra-proto dependency.
while this "works" it is solving a problem that we can avoid causing.
💭 brief review, useful notes
first, some background:

penumbra's AppState contains validator definitions. these definitions
control the tendermint consensus keys, and sets the voting power based on the
number of delegation tokens each validator has.

we can retrieve the validator definitions at any point, but we cannot
retrieve the validators' identity keys.

there are two classes of penumbra-mock-consensus users; (1) only
applies to the staking and governance components, (2) is the common case.

(1) users who do care about simulating validator operator actions
(2) users who do not need to act as a validator operator

penumbra and cometbft have distinct notions of a "validator". none of the
penumbra application code uses the ed25519 consensus keys; these are used by
cometbft. the internal representation of a penumbra validator includes
identity and governance keys.

😌 the new plan
🔨 generate definitions in tests...
the builder does not need to store validators; users in group (1) can
construct the app state and pass it into the engine, using helper functions
to generate validator definitions.
this should be easy to achieve. with_penumbra_single_validator is already
in effect a Fn() -> Validator, it does not need to be defined as an
extension trait method.
🔑 ...then define a keyring
initially, we will discard the consensus keys of our generated validator(s).
in order to test the staking and governance components however, we will need
to provide a keyring, so that the engine can sign blocks.
type Keyring = BTreeMap<VerificationKey, SigningKey>;

impl<C> TestNode<C> {
    pub fn keyring(&self) -> &Keyring { todo!() }
    pub fn keyring_mut(&self) -> &mut Keyring { todo!() }
}

this should be in service to tests of the staking component that:

create the validator definition for the new validator, generating identity
and consensus keys
insert the consensus signing key into the engine’s keyring
simulate a tx that posts that validator definition
when the app reports the new validator to the consensus engine, the engine
can look up its key in the keyring and start using it for signing blocks

🤠 yeehaw!
tomorrow i will take these points, and use them to refine our API. i am going
to mark this PR as a draft for now, and mark it as ready for review once more
when these changes are complete.
i sense some unknowns involving the fine details of how the tendermint/penumbra
views of validator generation will interact, but i'll save further questions
there for the moment.

Awesome, this is a great summary of the discussion, thanks for writing it up!
One point of potential clarification (or else overcommunication): with regard to

our original idea was that a TestNode::single_validator()
method would generate a single set of validator keys, while
with_penumbra_auto_app_state would: ...

We should still do this as the (immediate) next steps of the current plan to serve use case (2), and we may not even need any helper methods — we can just generate and insert the validator definitions in a for loop inside the auto_app_state method, exactly as in the original plan. In other words, the takeaway from the requirements discovery is that we don't need to change the existing plan for the use case we are currently concerned with.
Later, we can discover requirements for use case (1) by actually writing some of those tests.
The mock engine's keyring won't be needed until we actually sign blocks, so if we're not currently doing that, we won't need to do it immediately.


Some test tweaks.

Pygments specific tests now only run when the pygments version installed
matches the expected version. That version is defined in an environment
variable (PYGMENTS_VERSION) in the 'pygments' tox env (see #1030).
When the Python lib tidylib is installed but the underlying c lib is not,
the relevant tests are now skipped rather than fail. This matches the
behavior when the Python lib is not installed. The tox envs are now useful
on systems which don't have the c lib installed.

Here you changed test_fenced_code.py, but in test_code_hilite.py there are also tests that may depend on Pygments version.
For them it is not enough to set has_pygments = False, because that would trigger the fallback path that tests output when Pygments is not installed, but that path will fail because Pygments actually is installed. I think we should just skip the tests in that case.
So I propose adding to TestCodeHiliteClass and TestCodeHiliteExtension something like this:
    def setUp(self):
        required_pygments_version = os.environ.get('PYGMENTS_VERSION', '')
        if has_pygments and pygments.__version__ != required_pygments_version:
            self.skipTest('Pygments=={} required'.format(required_pygments_version))

What do you think?

but that path will fail because Pygments actually is installed.

You are correct. In fact, the same problem exists with with the changes I made here in test_fenced-code.py. Apparently I didn't run a test of that scenario before committing.
In any event, your solution is a good one. Adopted in #1035. I broke out the fenced_code tests into a separate test class so I could do the same with them.

Adopted in #1035.

Thank you!


Micro version increment to 0.1.2

[Current coverage][cc-pull] is 100%

Merging [#62][cc-pull] into [master][cc-base-branch] will not change coverage

@@           master   #62   diff @@
===================================
  Files           7     7
  Lines         312   312
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
  Hits          312   312
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last updated by [0a7f361...2be316b][cc-compare]
[cc-base-branch]: https://codecov.io/gh/ascribe/transactions/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/ascribe/transactions/compare/0a7f3616a7c90391c9803f83b5ad4dfab95382ee...2be316bf5f9590c3566350dbf0cc7be39a53624e
[cc-pull]: https://codecov.io/gh/ascribe/transactions/pull/62?src=pr


Fix image URL in README.md

This wasn't changed. :)

I'd rather just change the image name quickly

Yeah I changed my mind right after posting that comment 😄


seed-a-db

@abrl91 - please take a look at this. Is there anything more that I should include in the article?


DBZ-4884 Document AWS timeout and keep-alive requirements

https://issues.redhat.com/browse/DBZ-4884

@Naros I'll prioritize this for today. Stay tuned.

This documentation change looks good to me.
Bobby

Thanks for the review @roldanbob, I've gone ahead and made those suggestions & squashed the two commits.


Implement the mailing function

Is your feature request related to a problem? Please describe.

We need to be able to send emails to the users to inform about different things.

Describe the solution you'd like

Create the email function using node mailer library

@anjula-sack The emails should send within the back end right?

yeah


Partially working on iOS14.3 Safari

https://streamable.com/rlrgd6
Only relaunching Safari app can make webshade work once, if user reload the page of Google search, the weird white blank would come back again.
Device : iPhone X
iOS : 14.3
Jailbreak Tool : Taurine 1.0.4 with libhooker 1.6.0
My poor guess here is due to the update of libundirect (maybe)

Found another temporary way to fix this : enable the dark mode cc toggle once.

Hey is this still an issue?


Timezone

Hi! Thanks for you work!
My question: Is it possible to send the time in alert not in UTC but in my local time?
Now in my alert I have time in this format - 2017-12-20T15:03:57.000Z

Hi @enterdv
You can try set sentinl.es.watcher.schedule_timezone to local for later.js to use the localTime - mind the fact UTC is used internally has a bunch of good reasons to be the default particularly when dealing with distributed clusters across timezones.

Hi @lmangani
Thanks for your answer! And where can I found later.js? And how excactly I should set the option sentinl.es.watcher.schedule_timezone

This is a preference to be edited in the sentinl portion of your kibi/yml or kibana.yml either.


fix to new i3lock-color 2.13.c.3

A new version of i3lock-color was released (2.13.c.3) with the following change:

All the options were standardized. The main change here was adding dashes to before color, pos, size, etc.

Duplicated


🧑💻: Add icons for email and password and also the onclick functionality for password icon in LoginSignUpForm (Front-end project)

:red_circle: Title : Icons for email and password and onclick password toggle
:red_circle: Enhancement Aim  : To make the UI more intuitive for the user I want to add icons for email and password. The password icon when clicked toggles between showing the password and hiding it
:red_circle: Changes : Password visibility toggle addition
Screenshots 📷

:white_check_mark: To be Mentioned while taking the issue :

Full name : L.Nischala
What is your participant role?
GSSoC Extd 2024 contributer

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

hey @LNischala please assign me this task

hello please assign me this task


Fix @info for julia 1.0 compatibility

Pull Request Test Coverage Report for Build 197

0 of 5 (0.0%)  changed or added relevant lines in 2 files are covered.
66 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-33.8%) to 51.397%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/installer.jl
0
2
0.0%

src/bundle.jl
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/mac_commandline_app.jl
3
76.47%

src/installer.jl
5
0.0%

src/sign_mac_app.jl
12
0.0%

src/ApplicationBuilder.jl
23
67.52%

src/bundle.jl
23
0.0%

Totals

Change from base Build 193:
-33.8%

Covered Lines:
92

Relevant Lines:
179

💛  - Coveralls

Awesome, thanks for the fix! :)
Merged!


re: other considerations for TOS

"the direct license to the platform is in conflict with the CC license" - not how i read it. if the license is for the platform provider itself (which i think it normally is) it just sits alongside the CC license. the problem is if they introduce something in the TOS that then affects how their users of the service can leverage the CC licensed content in a way that is more restrictive than what the license says--that's a problem and you address it below.

Actually, that's a separate issue than what I'm trying to get at here. Simply asking for a license from the uploader is a conflict when it comes to them uploading CC-licensed content they don't own. That's sub-licensing, which is prohibited by CC licenses.

@tvol Do you get it now?


Question: Why? Microsoft.AspNetCore.NodeServices 3.0.0 is not compatible with netstandard2.1

HI
Why is:
Microsoft.AspNetCore.NodeServices 3.0.0 is not compatible with netstandard2.1?
Then it can not be used in a class lib?

@mkArtakMSFT your annoucment link does not specify anything about NodeServices package.
One would expect that not service is a class lib, and hence netstandard2.1

https://github.com/aspnet/AspNetCore/issues/12890


Issue template for documentation improvements

The existing issue templates don't fit well for "the docs are not very good" and are too high friction.
This is intended as a very-low friction tool to provide the basis for more thorough docs PRs.

I often query for no:label is:open to see if I missed anything while triaging, adding labels automatically would mess with that. Maybe if does add anything, it should be only a needs triage label?

... on a second thought, it could add both the broad category and needs triage labels.

... on a second thought, it could add both the broad category and needs triage labels.

I like this; I'll make the change.

I also think the "needs triage" label is a reasonable solution to automatically adding labels.

I've made the changes you've requested @cart and this should be ready to merge :)

bors r+

bors r+


[AD -775][JW8-11235] JWPlayer Targeting module

What does this Pull Request do?

Adds the jwplayerTargeting module to prebid.
The module can be used as a submodule for prebid adapters, allowing them to use our getTargetingForBid() function.
the module will fetch segments for the  media ids present in the prebid config when the module loads. If any bid requests are made while the segments are being fetched, they will be blocked until all requests complete, or the 1.5 s timeout expires.
removes the playervendor param from the spotx adapter since it was causing spotx unit tests to fail.

Why is this Pull Request needed?
Customers want a way to fetch segments before the player is loaded on the page. With this module, bids can be made with jwplayer video ad targeting data before the player is setup.
Are there any points in the code the reviewer needs to double check?
My javascript is very rusty, please be thorough in your review.
Are there any Pull Requests open in other repos which need to be merged with this?
n/a
Addresses Issue(s):
JW8-11235
AD-775

@karimMourra Can you add a link to the docs or code on how/where getTargetingForBid should be used?


[Bug]: UI Inconsistency on User Card

Contact Details
<EMAIL_ADDRESS>What happened?
Skill tags text color on the user card is unreadable for smaller device screens.
Width < 640px

Width >= 640

What browsers are you seeing the problem on?
Chrome, Microsoft Edge
Relevant log output
No response
Are you interested in contributing?

[X] I'd like to work on this issue

Code of Conduct

[X] I have used the search function to check if an issue already exists
[X] I agree to follow this project's Code of Conduct

Which program are you contributing in?
gssoc

Hey @vinayak-vohra, change it to white text


Add version compatibility check when starting a plugin.

Currently plugin version compatibility is checked only on installation. This should also be checked while starting a plugin when plugin installation from zip will be added.

The check needs to be done not only when runner is started but also for other plugins.


Dates in quoteObject.html are wrong

TRADE_DATE and HSTCLSDATE are showing the date minus 1 day.

You will need to provide an example.  I just tried with symbol: AAPL.O and the dates look ok.  Today being Dec 17th, 2018 @5:31 P.M EST:

For me, the culprit is the 'Z' in {{quote.widget.HSTCLSDATE | date:'ddMMMyy':'Z' | uppercase}}.
It changes the time with 1 hour which actually changes the day.

As it turns out, I don't think the 'Z' does anything.  If anything, it is probably the time (SALTIM) that is throwing you off. The SALTIM is actually coming in as GMT, but the TRADE_DATE and HSTCLSDATE are dates related to the the times trades occur on the exchange.  I chose SALTIM because it provide a second granularity where TRDTIM_1 only provides HH:MM.  So you will get the SALTIM going into the next day but the corresponding date will show the prior day.
An easy solution is to use TRDTIM_1 but will lose the second granularity.


Using postgis plugin with Heroku Postgres - needs SSL support

I'm struggling getting node-mapnik to work on Heroku when i try to connect to the Heroku Postgres database. Does anyone have experience building mapnik (or libpq) using --with-openssl flag, with Heroku? SSL support seems to be disabled with the included binaries. This is why i'm getting a Error: Postgis Plugin: sslmode value "require" invalid when SSL support is not compiled in Connection string: 'host=... error, correct me if i'm wrong.
Please see: https://github.com/mapnik/mapnik/issues/3656
2017-04-14T11:12:23.892651+00:00 app[worker.1]: Error: Postgis Plugin: sslmode value "require" invalid when SSL support is not compiled in
2017-04-14T11:12:23.892652+00:00 app[worker.1]: Connection string: 'host=ec2-1234.eu-west-1.compute.amazonaws.com dbname=dbname sslmode=require user=user connect_timeout=4'
2017-04-14T11:12:23.892652+00:00 app[worker.1]:   encountered during parsing of layer 'layer' in Layer of '/app/src/resources/stylesheet.xml'
2017-04-14T11:12:23.892653+00:00 app[worker.1]:     at Error (native)

Solved using https://github.com/heroku/heroku-buildpack-pgbouncer stunnel, this way node-mapnik doesn't need to use SSL to connect to the database
Buildpacks:
https://github.com/heroku/heroku-buildpack-apt
https://github.com/heroku/heroku-buildpack-pgbouncer
heroku/nodejs

Aptfile:
libc6
libgcc1
libstdc++6
http://mirrors.kernel.org/ubuntu/pool/main/g/gcc-4.9/gcc-4.9_4.9.2-10ubuntu13_amd64.deb
http://mirrors.kernel.org/ubuntu/pool/main/g/gcc-4.9/libstdc%2b%2b6_4.9.2-10ubuntu13_amd64.deb

Thanks for putting this together, I'm very close to running node-mapnik on Heroku with Postgres. After trying all of the steps, I get the following error:
Postgis Plugin: FATAL:  no pg_hba.conf entry for host "<IP_ADDRESS>", user "user", database "database", SSL off
Connection string: 'host=<IP_ADDRESS> port=5432 dbname=database user=user connect_timeout=4'

I also unset the PGSSLMODE config var (I get Error: Postgis Plugin: sslmode value "require" invalid when SSL support is not compiled in when it is set).
Is there additional config needed for the pgbouncer buildpack? Or is the only option to rebuild node-mapnik with SSL support in libpq?
Any help is much appreciated!
Here is my setup and output:
package.json
{
    "name": "...",
    "version": "0.0.1",
    "dependencies": {
        "mapnik": "3.5.x",
        "express": "2.5.x"
    },
    "engines": {
        "node": "0.10.x",
        "npm": "2.11.2"
    }
}

Aptfile (gcc 4.9 wasn't available, so I used 4.8 instead)
libc6
libgcc1
libstdc++6
http://mirrors.kernel.org/ubuntu/pool/main/g/gcc-4.8/gcc-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb
http://mirrors.kernel.org/ubuntu/pool/main/g/gcc-4.8/libstdc%2B%2B6_4.8.4-2ubuntu1~14.04.3_amd64.deb

Procfile
web: bin/start-pgbouncer-stunnel node server.js

Buildpacks

Heroku build logs (everything looks good)
-----> Apt app detected
-----> Reusing cache
-----> Updating apt caches
       Hit:1 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease
       Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
       Get:3 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
       Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
       Fetched 204 kB in 0s (278 kB/s)
       Reading package lists...
-----> Fetching .debs for libc6
       Reading package lists...
       Building dependency tree...
       0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 28 not upgraded.
       Need to get 0 B/2,580 kB of archives.
       After this operation, 0 B of additional disk space will be used.
       Download complete and in download only mode
W: --force-yes is deprecated, use one of the options starting with --allow instead.
-----> Fetching .debs for libgcc1
       Reading package lists...
       Building dependency tree...
       0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 28 not upgraded.
       Need to get 0 B/38.5 kB of archives.
       After this operation, 0 B of additional disk space will be used.
       Download complete and in download only mode
W: --force-yes is deprecated, use one of the options starting with --allow instead.
-----> Fetching .debs for libstdc++6
       Reading package lists...
       Building dependency tree...
       The following additional packages will be installed:
         cpp-5 g++-5 gcc-5 gcc-5-base libasan2 libatomic1 libcc1-0 libcilkrts5
         libgcc-5-dev libgomp1 libitm1 liblsan0 libmpx0 libquadmath0 libstdc++-5-dev
         libtsan0 libubsan0
       Suggested packages:
         gcc-5-locales g++-5-multilib gcc-5-doc libstdc++6-5-dbg gcc-5-multilib
         libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan2-dbg
         liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx0-dbg
         libquadmath0-dbg libstdc++-5-doc
       The following packages will be upgraded:
         cpp-5 g++-5 gcc-5 gcc-5-base libasan2 libatomic1 libcc1-0 libcilkrts5
         libgcc-5-dev libgomp1 libitm1 liblsan0 libmpx0 libquadmath0 libstdc++-5-dev
         libstdc++6 libtsan0 libubsan0
       18 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
       Need to get 0 B/29.8 MB of archives.
       After this operation, 128 kB of additional disk space will be used.
       Download complete and in download only mode
W: --force-yes is deprecated, use one of the options starting with --allow instead.
-----> Fetching http://mirrors.kernel.org/ubuntu/pool/main/g/gcc-4.8/gcc-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb
-----> Fetching http://mirrors.kernel.org/ubuntu/pool/main/g/gcc-4.8/libstdc%2B%2B6_4.8.4-2ubuntu1~14.04.3_amd64.deb
-----> Installing cpp-5_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing g++-5_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing gcc-4.8_4.8.4-2ubuntu1~14.04.3_amd64.deb
-----> Installing gcc-5_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing gcc-5-base_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing libasan2_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing libatomic1_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing libc6_2.23-0ubuntu10_amd64.deb
-----> Installing libcc1-0_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing libcilkrts5_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing libgcc1_1%3a6.0.1-0ubuntu1_amd64.deb
-----> Installing libgcc-5-dev_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing libgomp1_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing libitm1_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing liblsan0_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing libmpx0_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing libquadmath0_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing libstdc%2B%2B6_4.8.4-2ubuntu1~14.04.3_amd64.deb
-----> Installing libstdc++-5-dev_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing libstdc++6_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing libtsan0_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Installing libubsan0_5.4.0-6ubuntu1~16.04.6_amd64.deb
-----> Writing profile script
-----> Rewrite package-config files
-----> pgbouncer-stunnel app detected
       Using pgbouncer version: 1.7.2-heroku
       Using stunnel version: 5.40
-----> Fetching and vendoring pgbouncer into slug
-----> Fetching and vendoring stunnel into slug
-----> Moving the configuration generation script into app/bin
-----> Moving the start-pgbouncer-stunnel script into app/bin
-----> Moving the use-pgbouncer script into app/bin
-----> pgbouncer/stunnel done
-----> Node.js app detected
-----> Creating runtime environment

       NPM_CONFIG_LOGLEVEL=error
       NPM_CONFIG_PRODUCTION=true
       NODE_VERBOSE=false
       NODE_ENV=production
       NODE_MODULES_CACHE=true
-----> Installing binaries
       engines.node (package.json):  0.10.x
       engines.npm (package.json):   2.11.2

       Resolving node version 0.10.x...
       Downloading and installing node 0.10.48...
       Bootstrapping npm 2.11.2 (replacing 2.15.1)...
       npm 2.11.2 installed
-----> Restoring cache
       Loading 2 from cacheDirectories (default):
       - node_modules
       - bower_components (not cached - skipping)
-----> Building dependencies
       Installing node modules (package.json)
-----> Caching build
       Clearing previous node cache
       Saving 2 cacheDirectories (default):
       - node_modules
       - bower_components (nothing to cache)
-----> Build succeeded!
-----> Discovering process types
       Procfile declares types -> web
-----> Compressing...
       Done: 81.4M
-----> Launching...
       Released v23
       https://...herokuapp.com/ deployed to Heroku

Heroku logs (everything looks good)
2018-02-05T16:55:13.304039+00:00 heroku[web.1]: Starting process with command `bin/start-pgbouncer-stunnel node server.js`
2018-02-05T16:55:15.231313+00:00 app[web.1]: buildpack=pgbouncer at=pgbouncer-enabled
2018-02-05T16:55:15.231451+00:00 app[web.1]: buildpack=pgbouncer at=config-gen-start
2018-02-05T16:55:15.246312+00:00 app[web.1]: Setting DATABASE_URL_PGBOUNCER config var
2018-02-05T16:55:15.252018+00:00 app[web.1]: buildpack=pgbouncer at=config-gen-end
2018-02-05T16:55:15.252047+00:00 app[web.1]: buildpack=pgbouncer at=config-gen-override DATABASE_URL
2018-02-05T16:55:15.254609+00:00 app[web.1]: buildpack=pgbouncer at=stunnel-launched pid=28 signal=SIGINT
2018-02-05T16:55:15.254646+00:00 app[web.1]: buildpack=pgbouncer at=stunnel-start
2018-02-05T16:55:15.254945+00:00 app[web.1]: buildpack=pgbouncer at=pgbouncer-launched pid=29 signal=SIGINT
2018-02-05T16:55:15.254976+00:00 app[web.1]: buildpack=pgbouncer at=pgbouncer-start
2018-02-05T16:55:15.255321+00:00 app[web.1]: buildpack=pgbouncer at=app-launched pid=31
2018-02-05T16:55:15.255354+00:00 app[web.1]: buildpack=pgbouncer at=app-start
2018-02-05T16:55:15.258262+00:00 app[web.1]: 2018-02-05 16:55:15.258 32 LOG File descriptor limit: 10000 (H:10000), max_client_conn: 100, max fds possible: 111
2018-02-05T16:55:15.258720+00:00 app[web.1]: 2018-02-05 16:55:15.258 32 LOG listening on <IP_ADDRESS>:6000
2018-02-05T16:55:15.258780+00:00 app[web.1]: 2018-02-05 16:55:15.258 32 LOG listening on unix:/tmp/.s.PGSQL.6000
2018-02-05T16:55:15.258785+00:00 app[web.1]: 2018-02-05 16:55:15.258 32 LOG process up: pgbouncer 1.7.2, libevent 2.0.21-stable (epoll), adns: evdns2, tls: OpenSSL 1.0.2g  1 Mar 2016
2018-02-05T16:55:15.265950+00:00 app[web.1]: 2018.02.05 16:55:15 LOG5[ui]: stunnel 5.40 on x86_64-unknown-linux-gnu platform
2018-02-05T16:55:15.265958+00:00 app[web.1]: 2018.02.05 16:55:15 LOG5[ui]: Compiled/running with OpenSSL 1.0.2g  1 Mar 2016
2018-02-05T16:55:15.265980+00:00 app[web.1]: 2018.02.05 16:55:15 LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6,SYSTEMD TLS:ENGINE,FIPS,OCSP,PSK,SNI Auth:LIBWRAP
2018-02-05T16:55:15.266007+00:00 app[web.1]: 2018.02.05 16:55:15 LOG5[ui]: Reading configuration from file /app/vendor/stunnel/stunnel-pgbouncer.conf
2018-02-05T16:55:15.266015+00:00 app[web.1]: 2018.02.05 16:55:15 LOG5[ui]: UTF-8 byte order mark not detected
2018-02-05T16:55:15.266043+00:00 app[web.1]: 2018.02.05 16:55:15 LOG5[ui]: FIPS mode disabled
2018-02-05T16:55:15.266078+00:00 app[web.1]: 2018.02.05 16:55:15 LOG4[ui]: Service [DATABASE_URL] needs authentication to prevent MITM attacks
2018-02-05T16:55:15.266099+00:00 app[web.1]: 2018.02.05 16:55:15 LOG5[ui]: Configuration successful
2018-02-05T16:55:15.407084+00:00 app[web.1]: Server running on port 56550
2018-02-05T16:55:17.016569+00:00 heroku[web.1]: State changed from starting to up

In code, I am doing the following. All of the environment variables are set in Heroku Config, along with DATABASE_URL, which is what pgbouncer needs.
mapnik.register_default_fonts();
mapnik.register_default_input_plugins();
...
var postgis_settings = {
     'host': process.env.DB_HOST,
     'dbname': process.env.DB_NAME,
     'table': sql,
     'user': process.env.DB_USER,
     'password': process.env.DB_PW,
     'port': process.env.DB_PORT,
     'type': 'postgis',
     'geometry_field': 'geom',
     'srid': '3857',
     'extent': '-20005048.4188,-9039211.13765,19907487.2779,17096598.5401'
};
var layer = new mapnik.Layer('tile', mercator.proj4);
layer.datasource = new mapnik.Datasource(postgis_settings);

It has been a while, but i can remember we did set some config vars for the pgbouncer buildpack.
PGBOUNCER_POOL_MODE=session
PGBOUNCER_URLS=DATABASE_URL

I'm not sure that will solve your problem.
We used Sequelize and PostgreSQL, the trick there was to also set dialectOptions: { ssl: false } in the Sequelize setup to get it to work.
Also we didn't create a layer programmatically using new mapnik.Datasource(postgis_settings). So i have no experience in that. We used the stylesheet.xml approach (and replaced the appropriate values in the stylesheet with node).

And shouldn't no pg_hba.conf entry for host "<IP_ADDRESS>" be <IP_ADDRESS>? You need to connect to the local database port created by pgbouncer-stunnel.

Thanks for the reply, @woudsma, I appreciate you taking the time to help here.
I went ahead and set those two config vars, but that didn't fix the issue. I think I might be missing how pgbouncer-stunnel works... in the logs, I see LOG listening on <IP_ADDRESS>:6000, so as you brought up, I changed the connection in my app to match this by setting the DB_HOST and DB_PORT config vars to <IP_ADDRESS> and 6000. After doing that, I get:
Postgis Plugin: ERROR:  No such database: dbname1
Connection string: 'host=<IP_ADDRESS> port=6000 dbname=dbname1 user=dbuser connect_timeout=4'

So I'm getting closer, as it seems it's connecting to Postgres now. But what should the database name, user, and password refer to? Is it the original Heroku Postgres credentials? That's what I'm using in the case where I get the error, so I'm not sure what to do there.
Again, any help is much appreciated!

The pgbouncer-stunnel buildpack makes a connection to the Heroku Postgres addon, and provides a local database endpoint for you, e.g. postgres://user:pw@<IP_ADDRESS>:6000/db. Maybe try to log what that database URL is, and use those values to connect to the database. I think in our case the database name was db1. (it could be that pgbouncer replaces the DATABASE_URL to the right endpoint inside the container, i can't remember)

Yep, you're right on. Running bin/start-pgbouncer-stunnel env shows that the username and password are unchanged from the Heroku Postgres credentials, but the host is <IP_ADDRESS>, port is 6000, and database name is db1. After plugging this into my app, it's able to connect to Postgres without issues.
Thanks again for the help! 🍻


Remove pollset_set when resetting LB policies

Add missing calls to grpc_pollset_set_del_pollset_set().

Basic Tests Windows [opt] (internal CI): https://github.com/grpc/grpc/issues/18207
Interop ALTS Tests (internal CI): https://github.com/grpc/grpc/issues/16579
Interop Cloud-to-Cloud Tests (internal CI): https://github.com/grpc/grpc/issues/16579
Tsan C++ (internal CI): https://github.com/grpc/grpc/issues/18142


raise an error in Python3

ImportError: No module named 'core'

I encounter this issure too in python3.4.5, but according to doc of github document, python3.4 & python3.5 are supported too..

@Steven0668 I encounter this issue in Python3.5.0

@istommao I have a try to install locust from source code in python3.5.0, it works.

What version of Locust are you using? There's a pre-relese with support for Python 3 on PyPI, but you must specify the versionexplicitly in order to install it:
pip install locustio==0.8a2

@heyman  it works thanks a lot!

I am trying to install pip install locustio==0.8a2 but every time installations process stops , What should i do?


Spark notebook configuration issues

I'm new to spark notebook , I'm trying to install it. I finished all instructions but when i write bin/spark-notebook this error appears
/c/ProgramData/Oracle/Java/javapath/java: Argument list too long
I don't know what to do to fix it
help please
thank uu

I'm not a Windows expert but I know Windows have path size limitation may be it's your case.
Have you some virtualization on your Windows (VMWare or VirtualBox or Hyper-V) ?
What is your Windows version + edition ?

I don't have any virtualization on windows
My windows is 8.1 pro
and I use spark-notebook-0.9.0-SNAPSHOT-scala-2.11.8-spark-2.1.1-hadoop-2.7.2-with-hive
thank u


Handle expiration keys in redis quota adapter.

Both expiration and non-expiration keys should be handled in redis quota adapter. For now, only non-expiration keys are taken care of, we need to handle expiration keys as well, by sending EXPIRE command to redis.

#507


Insomnia can't deal with faker in the body of the request.

Expected Behavior
insomnia.request should return the values processed by faker. It works when I input the values hardcoded.

Actual Behavior
I have a question about the expandtesting api (https://practice.expandtesting.com/notes/api/api-docs/). I'm trying to compare the value of the name field in the body of the POST request to create a user with the value of the name field in the response. My script cannot get the request values, or seems to get them before the random values are processed. Do you know how I solve this?

Reproduction Steps
Send a post request to create an user containg faker elements in the body of the request.
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
9.3.3
What operating system are you using?
Windows
Operating System Version
Windows 11
Installation method
downloaded from https://insomnia.rest/download
Last Known Working Insomnia version
No response

i solve the problem by declaring the variables in pre-script, signing it to environment and referencing them in the request. don't know now if this is an issue or if it is how it is supposed to be.


added prim's algo in graph folder

Prim's Algorithm is a greedy algorithm used to find the Minimum Spanning Tree (MST) of a connected, undirected, weighted graph by progressively selecting the smallest edge that connects the current tree to an outside vertex. It ensures that all vertices are included while minimizing the total edge weight of the spanning tree.

@pankaj-bind kindly merge it


SRFC	RFC Service

it looks like this object is automatically generated when an RFC enabled function module is imported, but this has to be tested

closing, https://github.com/larshp/abapGit/pull/979


DBC22-741: dates are now replace with current time if in the future

Do not approve yet - to be confirmed with UX and MOTI that this is an acceptable approach.


HTTP output through context.done(null, res) is not handled correctly

Setting HTTP output through context.done(null, res) and http output is not handled correctly.
Example:
let res = {
    status: 200,
    body: ["my", "array", "of", "results"],
    cookies: [ { name: "CookieName", value: "CookieValue" } ]
}
context.done(null, res);

Will return System.Collections.Generic.List`1[System.Object] as the body and not properly set the HTTP cookie.
We can't change this yet because the bugfix is a breaking change. Currently, this behavior is supported (which would break with the bugfix):
let results = ["my", "array", "of", "results"];
context.done(null, results);

Today, this returns a 200 with the HTTP body [   "my",   "array",   "of",   "results" ] when http output binding is named $return
The code fix: In WorkerChannel.ts => invocationRequest => resultCallback => if (result.return), we need to check if it is an HTTP type and not just a generic "TypedData"
The mitigation: do not use context.done(err?, results?) to output results for HTTP output binding.

What version of functions is this fix available in?

Functions V3 (https://github.com/Azure/azure-functions-host/releases/tag/3.0.12915). This is still a preview version of Functions, but we're targeting to get it out of preview by end of year!

thanks


feat: add autodaemonization support

This patch teaches shpool to daemonize like
pretty much all the other tools in the space.
Shpool has been pretty weird in not supporting
this considering this is how tmux and whatnot
work.
This new behavior needs to be opted into via
a command line flag, but part of me thinks that
it ought to be the new default behavior. If there
is a systemd service up and running it will get
used and otherwise a background daemon will get
fallen back on. I am a little worried that
people could get in a weird state if their
systemd service stalls out and they daemonize
without realizing it, but maybe that is an
ok tradeoff in exchange for better reliability
and more "just working" behavior.
BREAKING CHANGE: new arg field breaks libshpool public interface
Fixes #56

Before merge I need to

[ ] add a config option to disable the timeout
[ ] switch from -D to -d


Listens are not registering properly

Currently

Simply opening a single track page registers a listen via the track preloading.

The playlists were built to be smarter and allow preloading, while registering a listen 10 seconds into playback.  The playlist track calls a /listens callback — but that currently 404s — we need to register a listen there and make sure it's legit and can't be spammed.

https://github.com/sudara/alonetone/blob/master/app/controllers/playlists_controller.rb#L52

I disabled preloading with stitches, this still needs to be resolved.


Mental model unmaintainable

Is your feature request related to a problem? Please describe:

nodejs code is not maintainable
export const files = {
  'index.js': {
    file: {
      contents: `
import express from 'express';
const app = express();
const port = 3111;

app.get('/', (req, res) => {
  res.send('Welcome to a WebContainers app! 🥳');
});

app.listen(port, () => {
  console.log(\`App is live at http://localhost:\${port}\`);
});`,
    },
  },
  'package.json': {
    file: {
      contents: `
        {
          "name": "example-app",
          "type": "module",
          "dependencies": {
            "express": "latest",
            "nodemon": "latest"
          },
          "scripts": {
            "start": "nodemon index.js"
          }
        }`,
    },
  },
};

Describe the solution you'd like:

maintain it as a real file directory
Describe alternatives you've considered:

Additional context:

Hey 👋 Thanks for the report. Can you elaborate what your issue is? I am not sure I understand what you mean by "nodejs code is not maintainable".


Cannot use trigger('click') or click on pagination

Assigning click events on the pagination does not enable JavaScript to dynamically trigger the page.  I am following one of the issues (https://github.com/javve/list.pagination.js/issues/6) and applied it to my code and nothing happened.
Having that said, it still doesn't solve the issue of developers triggering the pagination using javascript

i had the same problem, but i soleved it with dynamically assigned click events. Something like > $(where to check for dynamically created selector).on('click', 'dynamical selector', function(event) {your funny stuff here} ... have luck.

I'm not sure why you can't use trigger('click') (maybe the requires that the listener have been added by jQuery?), but in next version (see reference from commit) you can see with page and i each pagination link triggers. So instead if clicking them you can see the data attribute and do the change yourself via listObj.show(i, page), ref: http://listjs.com/api/#show

@javve on pagination click we would need to scroll back to top/specific page element as clicking to another page doesn't do it by default. How can we achieve this?

$(document).on('click', 'a.page', function() {
         $('html, body').animate({
             scrollTop: $('h1').offset().top
         }, 500);
     });

This should do it.

here's a variant without jQuery:
document.addEventListener( 'click', function( event ){
    if ( !event.target.matches( '.pagination [a|button]' ) ) { return; }
    // do scrolling here
} );


Enhancement request - move or copy datasets inside a repo

Scenario:
One member of the team changes a few tables on their own branch.
Then, that member wants to expose one table and that one table only (that may not be committed) to a different team member working on a different branch.
It would be good if we could use a lakectl CP, to copy a data set from one branch to another - This, of course, should be a zero clone copy. Maybe even to a different repo?
Another use case can be a lakectl MV that basically renames a data set. This is also an added capability on top of an object store where if you want to achieve something like this you need to go through a long and potentially expensive exercise of downloading and uploading data.

Here are a few options that might fulfill the requirement:

Commit the table in the source branch and then use cherry-pick of that commit to the destination branch.
Use aws cp s3://repo/branch-source/table s3://repo/branch-dest/table. This isn't a zero-clone copy but it's not downloading and uploading the data. It's performing an object-store side copying, i.e. the copied objects never go thru the client or lakeFS itself. You can use aws mv ... to get the MV functionality, which starts with a similar copy followed by a deletion.

The option to zero-copy uncommitted objects thru lakeFS (i.e. without using a merge, commit, cherry-pick, etc.) was forfeited not long ago. The reasoning was to ensure a safe cleanup of the GC without risking data loss.

I think that makes a lot of sense for uncommitted data.
But for committed data, it would be good to have a copy. Because a commit may include more changes than the ones you want to copy over.
Nevertheless, agree cherry pick is helpful in many cases, especially if you have a good commit hygiene.

@ozkatz please prioritize


Update gds api adapters

Update 'put_links' to 'patch_links'.
Also adds rspec example status persistence.

👍


uploadDir defaults to /tmp/ instead of the path I entered.

Support plan

which support plan is this issue covered by? (e.g. Community, Sponsor, or
Enterprise):Community
is this issue currently blocking your project? (yes/no):yes
is this issue affecting a production system? (yes/no):no

Context

node version: 14.16.1
module (formidable) version: latest
environment (e.g. node, browser, native, OS): linux shared hosting server with cpanel.
used with (i.e. popular names of modules): express
any other relevant information:

What are you trying to achieve or the steps to reproduce?

I use formidable to upload files to a specific folder. This is the configuration:
    let path = __dirname+"/temp"
    const form = formidable({
      multiples: false,
      uploadDir: path,
      maxFileSize: MAX_SIZE * 1024 * 1024
    })

When used in my local environment (Ubuntu) everything works fine. On the server it decides to use /tmp which is default to save files instead of using the path I have provided. I have checked the __dirname and the path that is entered is correct.
What was the result you got?
Files are uploaded to /tmp/ instead of __dirname+"/temp"
What result did you expect?
I expected the files to be in the __dirname+"/temp"

I don't know why it didn't work then and why it works now. I will just close the issue as it is fortunately solved.


[Task]: Fix Stronghold-based restoration

Task description
There are some fixes needed for Stronghold-based restoration.
Requirements

[ ] #4202
[ ] #4203

Creation checklist

[X] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

@maxwellmattryan  Please can you check if this and its sub task are already complete?


Move TimelineItem styles to PVC

Description
This is part of #1342 and adds the TimelineItem styles from PCSS. There should be no visual changes.
Integration

Does this change require any updates to code in production?

Yes, the following line can be removed on dotcom:
- @import<EMAIL_ADDRESS>
Merge checklist

[ ] Added/updated tests
[ ] Added/updated documentation
[ ] Added/updated previews
[x] Visual regression test

Before
After

These next ones look good also, but let's hold off merging them until we get https://github.com/primer/view_components/pull/1582 out.


TypeError: fs.existsSync is not a function

see https://github.com/electron/electron/issues/7300
Changing all three const electron_1 = require("electron"); to const electron_1 = window.require("electron"); solves the problem.

Same issue here, changing the require did not fix the problem tho

Add the following to your preload.js
window.CustomElectronTitlebar = require('custom-electron-titlebar');

And in the renderer process, you can now do:
const titleBar = new window.CustomElectronTitlebar.Titlebar({...options})


primitiveContextAt[put] (210/211) fail for stackp >= 16 in some situations

Practical example to reproduce:

Debug it: Object newSubclass
Step Through
⚡ Error: subscript is out of bounds: 16 from Context>>at:put: (ClassBuilder>>superclass:subclass:instanceVariableNames:classVariableNames:poolDictionaries:category: @ 93)

Minimal example to debug:
Object subclass: #TestObject
	instanceVariableNames: ''
	classVariableNames: ''
	poolDictionaries: ''
	category: 'as yet unclassified'.
TestObject compile: 'a: a b: b c: c d: d e: e f: f g: g h: h i: i j: j k: k l: l m: m n: n o: o ^ a'
Process forBlock: [TestObject basicNew a: 1 b: 2 c: 3 d: 4 e: 5 f: 6 g: 7 h: 8 i: 9 j: 10 k: 11 l: 12 m: 13 n: 14 o: 15] runUntil: [:ctx | self haltIf: ctx stackPtr = 15. false]

Interestingly, primitiveAt[Put] (60/61) still work in the situation.

I'm not sure I want to know how you found this but thanks for raising the issue! :)
So it seems that your dummy method forces a large frame and then primitiveContextAt[Put] fail, interesting. Is this blocking you on anything?


[Feature Request] Choose Your Badge Pills Setting

It would be nice to be able to either Disable the Tag Details entirely, and/or Select which 'Badge Pills' display below the movie poster (perhaps a tick list in Settings?).
I'd personally like the option to show the Library name which contains the movie/show which is being displayed. In my case I have libraries for Movies, TV Shows, Documentaries, Standup Comedy, etc. It would be nice if I could see at a glance where the new thing I'm looking at can be found.

Interesting idea. Let me consider this. One of the main drives for posterr is that there is no need to customise the size layout. Unfortunately this comes at a cost of limited real estate that will fit on the many supported screen sizes for posterr. I will see if i can fit something or not, then advise.

I have a very similar request. I'd like to be able to remove the title and footer for a now screening action. I am having a "Now Showing" movie frame box made that will light up when I trigger a movie through a plex webhook. Posterr will then pin the now screening poster to the TV behind the frame. Right now, I can't get the title nor the footer to hide. Any chance you can make this addition? I'd be happy to pay for it.
Movie poster box
https://i.etsystatic.com/9366190/r/il/26c285/2299487045/il_1588xN.2299487045_5wts.jpg

@pauldurso oll look and see what's involved


Can't start node-inspector

I get the following when trying to run node-inspector
diego@diego-Ubuntu:~/Node.js applications/Blog$
events.js:45
throw arguments[1]; // Unhandled 'error' event
^
Error: EADDRINUSE, Address already in use
at Server._doListen (net.js:1088:5)
at net.js:1059:14
at Object.lookup (dns.js:153:45)
at Server.listen (net.js:1053:20)
at Server.listen (/usr/local/lib/node/.npm/node-inspector/0.1.6/package/vendor/ws.js:108:22)
at Object.create (/usr/local/lib/node/.npm/node-inspector/0.1.6/package/lib/debug-server.js:44:12)
at /usr/local/lib/node/.npm/node-inspector/0.1.6/package/bin/inspector.js:52:11
at [object Object]. (fs.js:107:5)
at [object Object].emit (events.js:61:17)
at afterRead (fs.js:903:12)

in one shell i fired node --debug-brk app.js  in second   node-inspector --web-port=8989 still giving error  Unhandled 'error' event


Hip joint limit

This PR adjust the hip roll limits for ergoCubGazeboV1 as well as make the limit congruent with the one reported for the real robot in https://github.com/ami-iit/robots-configuration/blob/devel_ergoCubSN000/ergoCubSN000/hardware/mechanicals/left_leg-eb8-j0_3-mec.xml

@lrapetti , this was opened in place of #1 , and more in line with the recommendation of icub-tech. Give it a look, and let me know.

We can close this, @mebbaid will open the PR directly upstream

As per the suggestion, this limit change together with modified PID values will be merged directly upstream


WIP: Unbounded futures mpmc channel

[x] naive implementation of an unbounded futures aware mpmc channel.

notes:
I've tested this here(yes I actually have a need for an mpmc futures channel) and it works for the most part.
https://github.com/SeunLanLege/arc-reactor/blob/futures-mpmc/src/ArcCore/reactor.rs#L64-L139
A lot of work still needs to be done, as regards to drop semantics and a more efficient approach to task notification. plus there's a lot i don't understand like:
1.why we need to track a task's notification state? or maybe i don't fully understand what tasks really are. :cry:
but yeah, pointers are welcome.

@danburkert @stjepang

Sorry for the late reply! The code looks very good so far, and I especially like the abundance of comments. :)

why we need to track a task's notification state? or maybe i don't fully understand what tasks really are.

@danburkert I don't know the answer to this question either - is the current notification system in this PR (inherited from your MPSC implementation) going to work?
@SeunLanLege Just in case you missed the discussion, the subtleties around notifying blocked tasks are explained in this comment. The most important thing to keep in mind is that methods send and recv will have to return a custom future which, when dropped, removes the current task from the notification queue (currently called sender_tasks/receiver_tasks).

@SeunLanLege if you want to get more familiar with the internals of futures so that you can implement this more efficiently, I highly recommend @aturon's (wip) book on asynchrony in Rust: https://aturon.github.io/apr/async-in-rust/chapter.html.
FWIW, I'm also really excited about the prospect of a futures-aware MPMC channel. Currently I have to do sad things like https://github.com/jonhoo/trawler/blob/17d4f1efcc0a340dfda8be4a8b8cf5ad07a3b441/src/execution/issuer.rs#L34-L40.

Out of curiosity, what's the current status of this PR? I see some references to how this could be implemented more efficiently, but not being familiar with how this is being benchmarked I'm not sure what the obvious issues are.
Would love to see this pushed over the line :+1:

@Imxset21
This PR is currently stalled and based off of an old version of the crate, which has undergone significant changes since then. Futures support is still on the table, but I think we should take a different approach:

Start from the Context struct and change its thread: Thread field.

We make Context generic over P: Park and define trait Park that knows how to register/park/unpark regular threads and tasks (futures).

Then we make methods like send and recv in other files asynchronous. For example, send should be defined as fn send(&self, msg: T) -> Send<T>, where Send<T> is a custom future-like struct that can be polled in order to drive the operation towards completion. It'll probably be an enum of Ready(T) and NotReady(Option<Duration>) (the duration tells us when it will become ready).

Structs Sender<T> and Receiver<T> should be generic over P: Park, too. We continue making things generic and asynchronous like this until everything compiles.

What we end up with at this point are channels generic over the parking mechanism. Perhaps we should move everything into a new crate and call it crossbeam-channel-core.

Finally, we use those generic channels and wrap them in two interfaces: one that uses normal threads for parking and the other that uses futures/tasks.

@habnabit has been trying to make a similar change to the one @stjepang suggests above for the bus crate (jonhoo/bus#15), but ran into a lot of trouble doing so. I'll let them expand on it further though, as a bunch of the discussion is on direct e-mails between the two of us. @habnabit -- I'm sure some of your experiences trying to be generic over a Park-like trait would be helpful here!

oof! Yeah I tried to do this but it ended up being a bit of a pain. Porting over a synchronous API took a lot of work to nail down, because you have to ensure that every path through the async code hits something that will schedule an unpark later, unless you can return Ready.
The PR linked above shows the initial work I did when I was attempting to factor this behind a trait. I ended up doing a pure-async refactor just to figure out what the semantics even needed to be. Originally I intended to fold that back into the above PR in the factored-out way, but at this point I think it might obfuscate more than help. Keeping track of control flow and which things will schedule an unpark was more difficult when abstracted.
Another issue was that synchronous code can do work and block a little in Drop, but you can't spin the event loop in Drop if your finalization work ends up hitting a NotReady. The async APIs have some finalization APIs but there's not really a fail-safe; you have to document "unless you use these, you might suffer deadlocks". I did add a warn! log call in there but I'm real iffy on that.
Honestly, the final straw that tipped me into abandoning the refactor was lacking HKT. I switched from using std::sync::mpsc::* because futures::sync::mpsc::* give you the right poll behavior for free, and you can't write type Sender<T> = std::sync::mpsc::Sender<T>; in a trait definition. The number of types needed for the queues is bounded and small, at least, but I didn't feel like dealing with that burden along with all the other issues that were cropping up.
I hope my experiences prove useful, at least. I'll keep subscribed to the issue too.

So I've played with this a little bit and tried porting channels to futures, but ultimately gave up because the thread wakeup mechanism is so deeply tied to all parts of the crate.
It'd probably be easier to make a new crate with futures support from scratch. I'll give that a shot. :)

@stjepang I unfortunately don't have enough knowledge to contribute to this, but I'm interested in crossing futures and crossbeam-channel. If you already started hacking on this, is it somewhere public?


Stray '}' curly brace in the Playground react component

This issue pertains to the following package(s):

[ ] GraphQL Playground - Electron App
[ ] GraphQL Playground HTML
[x] GraphQL Playground
[ ] GraphQL Playground Express Middleware
[ ] GraphQL Playground Hapi Middleware
[ ] GraphQL Playground Koa Middleware
[ ] GraphQL Playground Lambda Middleware

What OS and OS version are you experiencing the issue(s) on?
MacOS Catalina
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
"graphql-playground-react": "^1.7.22",
What is the expected behavior?
No curly brace
What is the actual behavior?
Curly brace at the top right
What steps may we take to reproduce the behavior?
Set up a minimal CRA project with this in the index.tsx
ReactDOM.render(   <Provider store={store}>     <Playground endpoint="https://api.graph.cool/simple/v1/swapi" />   </Provider>,   document.body );

This should be fixed once #1104 is merged.


网页界面自动添加不知名的服务器，感到困惑与惊慌

目测是每天自己添加一个

服务器ip是动态的吧，安装的服务端会自动添加的

都是固定IP

Congratulations! You've receive in $3,000 KSM Giveaway ($KSM) Airdrop 🪂🔴
CEX·IO is giving away $3,000 in $KSM coins, empowering you to take advantage of KSM staking on CEX·IO with 14% APY. Join the giveaway and earn a chance to win up to $500. Stake Kusama with CEX·IO, get high rewards and win prizes!
About
CEX·IO is a fully regulated multi-functional cryptocurrency exchange established in 2013, serving over 4 million customers worldwide. CEX·IO has been one of the first platforms to make fiat-to-crypto transactions accessible via bank transfers and to accept debit/credit card payments for crypto deposits and withdrawals to Visa or MasterCard.
→ How to join the $3,000 KSM Giveaway Airdrop?
Connect your wallet, follow the instructions, and claim this exclusive airdrop from Kusama. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

Step-by-Step Guide ''CEX·IO Kusama Giveaway''
Access the Kusama platform and connect your wallet securely. Ensure you're using a trusted wallet for the transaction.

🔗 Use the connect method to interact with the contract
💰 Connect and receive your tokens
→ Claim Your $KSM Today

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @selarep, @mirkoschubert, @boardmain, @metasy, @btwotwo, @Bhavdip, @ankitgoyal2042

2.0已移除自动添加面板服务端服务器


Vermont updates

Changed LTR to residents and staff
Changed “essential worker” to K-12/Childcare and added more info
Added list of high-risk medical conditions
Changed 65+ to 60+ (scheduled change 3/25)
Added First Responder qualifier
Added two questions to People of Color tag and included in current phase

[{"key":"global","type":"customStrings","value":{"content":{"c19.eligibility.question/people_of_color.are_you":{"en-us":"Are you an English language learner or a member of an immigrant/refugee community?"},"c19.eligibility.question/people_of_color.do":{"en-us":"Do you live in a Black, Indigenous and people of color (BIPOC) household?"}}}},{"key":"vermont","type":"vaccination","value":{"content":{"phases":[{"id":"1a","qualifications":[{"question":"c19.eligibility.question/healthcare_worker"},{"question":"c19.eligibility.question/long_term_care_resident"},{"question":"c19.eligibility.question/essential_worker.are"},{"question":"c19.eligibility.question/essential_worker.are_you"},{"question":"c19.eligibility.question/essential_worker.ff_leo_corrections"},{"question":"c19.eligibility.question/age.65_up"},{"question":"c19.eligibility.question/age.are_you_age","moreInfoText":"c19.eligibility.moreinfo/age.are_you_age.vt.1a"},{"question":"c19.eligibility.question/people_of_color.are"}]},{"id":"1b","qualifications":[{"question":"c19.eligibility.question/healthcare_worker"},{"question":"c19.eligibility.question/long_term_care_resident"},{"question":"c19.eligibility.question/essential_worker.1b"},{"question":"c19.eligibility.question/age.75_up"}]},{"id":"1c","qualifications":[{"question":"c19.eligibility.question/healthcare_worker","moreInfoUrl":"https://www.healthvermont.gov/covid-19/vaccine/getting-covid-19-vaccine#eligiblenow"},{"question":"c19.eligibility.question/long_term_care_resident.are","moreInfoUrl":"https://www.healthvermont.gov/covid-19/vaccine/getting-covid-19-vaccine#eligiblenow"},{"question":"c19.eligibility.question/essential_worker.are_you","moreInfoUrl":"https://apps.health.vermont.gov/COVID/faq/#4837"},{"question":"c19.eligibility.question/health","moreInfoUrl":"https://www.healthvermont.gov/covid-19/vaccine/getting-covid-19-vaccine#conditions"},{"question":"c19.eligibility.question/age.60_up"},{"question":"c19.eligibility.question/essential_worker.are","moreInfoText":"c19.eligibility.moreinfo/essential_worker.are.vt.1c"},{"question":"c19.eligibility.question/people_of_color.are_you","moreInfoText":"c19.eligibility.moreinfo/people_of_color.are_you.vt.1c","moreInfoUrl":"https://www.healthvermont.gov/covid-19/vaccine/about-covid-19-vaccines-vermont#equity"},{"question":"c19.eligibility.question/people_of_color.do","moreInfoText":"c19.eligibility.moreinfo/people_of_color.do.vt.1c","moreInfoUrl":"https://www.healthvermont.gov/covid-19/vaccine/about-covid-19-vaccines-vermont#equity"}]}]}}},{"key":"vermont","type":"strings","value":{"content":{"c19.eligibility.moreinfo/essential_worker.are.vt.1c":{"en-us":"Expanded public safety personnel are employees and members of fire, EMS, and police emergency response organizations and employees of the Department of Corrections that work in correctional facilities. Employees include: command, administrative, and communications staff. This does not include contractors/ auxiliary members."},"c19.eligibility.moreinfo/people_of_color.do.vt.1c":{"en-us":"HOUSEHOLD MEMBERS OF BIPOC VERMONTERS\nIf you are or if you live with a person who identifies as Black, Indigenous, or a person of color (BIPOC), including anyone with Abenaki or other First Nations heritage, and is eligible to get a COVID-19 vaccine, you can also sign up to get a vaccine. You can make an appointment at a BIPOC household focused clinic run by one of our partners, or by calling the Health Department at<PHONE_NUMBER>.\n\nIf the eligible member of your household has already gotten a COVID-19 vaccine, the rest of your household is still eligible to make appointments.\n\nBIPOC HOUSEHOLD FOCUSED CLINICS\nThe BIPOC household focused clinics led by the Windham County NAACP(link is external) in Brattleboro and the Racial Justice Alliance(link is external) and the Vermont Professionals of Color Network(link is external) in Burlington will continue for eligible BIPOC members and their households who would prefer to receive their COVID-19 vaccine at a clinic that is dedicated to this community. To sign up for a BIPOC household focused clinic in the Burlington area, please fill out the Burlington BIPOC COVID Vaccination form(link is external) coordinated by the VT Racial Justice Alliance, The Black Perspective, the New Alpha Ministry Baptist Church, and the Vermont Professionals of Color Network. To sign up for a BIPOC household focused clinic in the Brattleboro area, please fill out the Brattleboro BIPOC COVID Vaccination form(link is external) created and administered by the Windham County NAACP.\n\nIf you prefer to schedule your appointment by phone, you can contact Wichie Artu, Vice President of the NAACP of Windham County, at<EMAIL_ADDRESS>or<PHONE_NUMBER>. NOTE: Due to vaccine type, you must be at least 18 years old to be vaccinated at this Brattleboro clinic.\n\nMAKING AN APPOINTMENT WITH THE HEALTH DEPARTMENT\nCall the Health Department at<PHONE_NUMBER> and say that you live in a household with a Vermonter who identifies as Black, Indigenous, or a person of color (BIPOC). The Call Center team will help you make an appointment. We are also working with pharmacy partners to allow household members of eligible BIPOC Vermonters to make appointments through their websites and expect this to start in early April."},"c19.eligibility.moreinfo/people_of_color.are_you.vt.1c":{"en-us":"There are community-specific clinics for people who are English language learners or immigrant/refugee community members. If you are age 16 or older, you can register for one of these clinics if someone in your household is:\n\nage 65 or older or\nage 16 or older with a high-risk health condition or\nPlease call the Association of Africans Living in Vermont (AALV) at<PHONE_NUMBER> or the U.S. Committee for Refugees and Immigrants of Vermont (USCRI VT) at<PHONE_NUMBER> to register.\n\nIf the eligible member of your household has already been vaccinated, your household is still eligible to register for these clinics.\n\nIf you are eligible for vaccination, you can also make an appointment for yourself only by calling<PHONE_NUMBER>. Press 1 if you need interpretation services."}}}}]


Bug in previousClearBit

Hi,
while testing the 1.2 version I found the following issue:
SparseBitSet set = new SparseBitSet();
set.set(0);
set.set(64);
System.out.println(set.previousClearBit(64));
set.clear(0);
set.set(1);
System.out.println(set.previousClearBit(64));

Expected: (consistent with BitSet)
63
63

Got:
-1
0

@BrentDouglas

Hi, any chance of a new release with these fixes? Thanks.


Sometimes, Grey image stream from camera at 30 fps.

plz fix

this is true of the camera above the doorway (id "2")


[fix] Add missing options parameter for archived Keychain value

Accidentally pushed this from a fork. If someone could delete this PR entirely, that'd be great. 😅


bug: Video Resizing Problem on Window Resize

Describe the bug
When the browser window is resized to a smaller width (e.g., when splitting the screen with another application), the video player does not maintain a proportional size. Instead, the video shrinks significantly, making it difficult to view. This issue occurs when the webpage is reduced to half the screen size. The video element should scale down proportionally while maintaining a reasonable viewable size.
To Reproduce
Steps to Reproduce:

Open the webpage with the video in a full-screen browser window.
Resize the browser window to half of the screen width.
Observe the size of the video player.

Expected behavior
The video should resize proportionally to the window size, maintaining a reasonable viewing area even when the browser window is reduced in size.
Screenshots or GIFs
If applicable, add screenshots to help explain your problem.

Info (please complete the following information):

Browser: Chrome (and possibly in others too)

I just opened it because I found there is a need for improvement here, if anyone wants to work on it then please go on, it's completely fine. @anudeeps352 @Shubhamxshah

You may click the 'X' icon so that the sidebar will be closed and video will get to full size

https://github.com/user-attachments/assets/68c0ac72-aa61-467f-aab0-41e70a2e760d
Here's the video for the mentioned bug

yes, I see my bad, I was irritated so much back then. Thanks though!


Add KidBots Unit Plan

Description
Clearly and concisely describe the issue or suggestion here:
This unit is currently being worked on in google docs. No content to update at the time of writing this issue.
Checklist
Change the space in the box to an x for those you have completed. You can also fill these out after creating the issue.

[ ] I have linked any relevant existing issues/suggestions in the description above (include #??? in your description to reference an issue, where ??? is the issue number).

If this is a code related issue, please include the following in your description:

[ ] Steps to reproduce the behavior
[ ] The platform(s)/software you are encountering the issue on
[ ] The behavior you expect to see, and the actual behavior

Closing this issue as its progress is now managed on internal resource.


reverted filename case

^ Add a GIF to cheer up the reviewers? Change the url to add your own.
Reason for this change
Reverted filename-case rule since I merged it without a review and that's not the policy.
Impact of this change on existing projects
Untire-nxt-backend lint tests will fail. but I'll update those.
Add this snippet to a specific projects eslint config to (temporarily) ignore the proposed change.
// Snippet

Reverting is a bit much, and also might be confusing since this feature has already been released 😅
Could you instead add a clearer comment on why we would like to drop this rule in all projects? The current comment refers to an issue on a conflict between Unicorn and React, and has nothing to do with bare typescript projects.

After some more reading camelCase files and folders can create issues with case-insensitive file systems:
For example: https://www.hanselman.com/blog/git-is-casesensitive-and-your-filesystem-may-not-be-weird-folder-merging-on-windows
So maybe we should stick to the default here and remove the 'unicorn/filename-case': 'off' line.


Inconsistent use of 'AWS_EXPIRY'

'AWS_EXPIREY' should be 'AWS_EXPIRY', as spelled earlier in the file.

@iynaix thanks for this. This has already been fixed in master[1]. Also, note the use of six.b instead of str.encode to maintain the compatibility b/w python2/3
Closing this PR.
Cheers,
[1] https://github.com/pydanny/cookiecutter-django/blob/0cc9958635c4967dee8b2aef8ff636148c0763c0/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/production.py#L84-L85


Extension host with pid 6264 exited with code: 0, signal: unknown.

https://dev.azure.com/vscode/VSCode/_build/results?buildId=109548&view=logs&j=e5ed5edc-5ec6-5bfb-d1cb-ed7e8a6cb5eb&t=47853d69-0171-5aff-95e0-ddf2bd2b235d&l=1457
I have seen this a few times recently
https://github.com/microsoft/vscode/blob/bc8742568c4c03f91550731fc214d8e78706a147/src/vs/workbench/services/extensions/common/abstractExtensionService.ts#L509

https://github.com/microsoft/vscode/issues/192119

Thanks @alexdima , merging this to https://github.com/microsoft/vscode/issues/192119.


Improve handler efficience with a map

Browsing the code, it looks like the Page Handlers cascade by calling the handle() function in all of the handlers in its vector. The first thing this handler does is check if the cracked uri portion matches its part and return unhandled() if it does not match.
Could this be made more efficient by storing the handlers as a map of URI portion -> handler so that when a request comes in, the handler can crack off part of the url and call the handle method on all of the handlers inserted into the map under the key matching that map?
It's definitely possible I am misunderstanding the code so please correct me if I'm mistaken.

Thanks for taking a look at Seasocks!
The handle() function may choose to take an action (e.g. annotate the request with user information) without handling the request. This cascade allows things like authentication handlers to run "high up", and/or hierarchical page handling to be handled later on.
I agree it's not very efficient, but even in the most complex Seasocks setups I've used there's never more than a dozen handlers: iterating over them is not a real bottleneck.

Good point! Thanks for the info, I won't worry about this unless it proves to be a bottleneck


fix plumbing/difftree package name

Current coverage is 77.17% (diff: 100%)

Merging #191 into master will decrease coverage by 0.67%

@@             master       #191   diff @@
==========================================
  Files            92         92
  Lines          5793       5793
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           4510       4471    -39
- Misses          810        857    +47
+ Partials        473        465     -8

Powered by Codecov. Last update c2bd912...26e30b0


type issue when setting initialValues using reset

Trying to call reset with a form of type T and inittialValues set to a value of type PartialValues<T> will cause a hard to decipher typescript error.
The type of initialValues should be PartialValues<TFieldValues>  so there shouldn't be an error, but typescript uses the type of initialValues to contribute to the inference of TFieldValues creating an issue with the types.
Commenting out the 2 other variants of reset in reset.d.ts in an application using the built version of modular-forms shows a clearer error:

Error

Argument of type 'FormStore<{ name: string; portrayedBy: string; gender: string; age: string; race: string; hair: { length: string; type: string; color: string; }; boobs: string; tags: string[]; }, undefined>' is not assignable to parameter of type 'FormStore<{ name?: Maybe; portrayedBy?: Maybe; gender?: Maybe; age?: Maybe; race?: Maybe; hair?: { length?: Maybe; type?: Maybe<...>; color?: Maybe<...>; } | undefined; boobs?: Maybe<...>; tags?: string[] | undefined; }, undefined>'.

Modifying ResetOptions in reset.d.ts to use NoInfer fixes the issue:

Modified ResetOptions
type NoInfer<T> = [T][T extends any ? 0 : never]

/**
 * Value type of the reset options.
 */
export type ResetOptions<TFieldValues extends FieldValues, TFieldName extends FieldPath<TFieldValues>> = Partial<{
    initialValue: FieldPathValue<TFieldValues, TFieldName>;
    initialValues: PartialValues<TFieldValues>;
    keepResponse: boolean;
    keepSubmitCount: boolean;
    keepSubmitted: boolean;
    keepValues: boolean;
    keepDirtyValues: boolean;
    keepItems: boolean;
    keepDirtyItems: boolean;
    keepErrors: boolean;
    keepTouched: boolean;
    keepDirty: boolean;
}>;

Trying to update the source to use the new type above however causes some issue with the internal types of the library:

Screenshot

I'm not sure how to fix this issue without causing further issues with the internal types, hopefully someone else can figure it out.
Here's an example of the issue in typescript playground:
Example

If a generic is used, it seems to work. Maybe this will help as a workaround until I have a closer look at the problem: https://tsplay.dev/Nr9V2w
function openWithGeneric<TValues extends PartialValues<CharacterForm>>(
  character: TValues,
) {
  reset(characterForm, {
    initialValues: character,
  })
}

I am not sure why the problem exists and if I can do anything about it. Since the workaround using a generic solves the problem, I am closing the issue. However, I am willing to reopen it if more people come across it and the current workaround is too cumbersome.


Week01, Problems1-5

Description
I implemented the first five problems from Project Euler. Needed to look at some references on StackOverflow to complete. Submitted all five problems in one commit.
Weekly Journal
I thought that this was good practice creating small scripts, pushing to my own fork, and then making a pull request. It was helpful to solidify exactly what all of the slightly vague key words surrounding git mean (add, commit, push, pull, etc.).  I had used GitHub before this, but more as cloud storage than a collaboration tool.
Questions

[x] How often do you typically commit/push to GitHub? Would it be good to give each small change its own commit? Push at the end of the day?
[x] It seems like checking over pull requests could quickly become difficult. Does GitHub provide a testing framework on the project maintainers side? If so, how do you design and write tests?

To try to answer your questions:

For commit frequency, there are a few options.  I tend to commit either once I have accumulated enough changes that I feel it deserves some explanation, or when I've finished working on a group of related small changes that go together.  The reason there are several choices is that every time you make a commit, it gets added to the history of the project, and different projects and organizations have different opinions on commit frequency.  For example, if you commit every little change you make (approx. one commit per line of code changed), the history gets polluted and it becomes really difficult to find a particular commit.  On the other hand, if you only commit very rarely, and an error is introduced in some MASSIVE commit, it becomes impossible to undo that particular error because it's buried inside a bunch of other changes.

As for pushing/pulling to GitHub, you can do that whenever you want -- it doesn't really have any bearing on the history of the project.  I tend to update my forks before I start anything new, and I always push at least once a day.  (Occasionally, I get paranoid, and I push to my fork every time I get up from my desk -- although that's a little extreme, and I do that only rarely.)

Yes, reviewing PRs can be VERY labor intensive, especially for big projects with lots of contributors (this workshop is more pedagogically laborious, but not nearly as crazy as some other projects I'm affiliated with). There are continuous integration services which test the code in every PR, but I've just not seen the need to set it up for this repository.  The question of designing and writing good tests is an excellent one; I fear that, unfortunately, this is not quite the venue to discuss all of the intricacies of this very important topic.  For Python programming, the de-facto software testing toolkit is called PyTest, which can help both developer and project maintainer.

Thanks for your thoughts and pointing me in the right direction regarding tests. The advice on commits will be useful for my own projects.
I hadn't thought about possible memory constraints that my solution to Problem02 might run into. A top-down approach might also have been a more efficient way to solve Problem03, starting by dividing the large number by primes.
I deleted untitled.txt. Also, opened a new branch (assignment02) like you suggested to track the changes for Week02.


Make user's First and Last names mandatory

Prerequisites: #30
Given I have a valid IDIR or BCeiD
  And An application requires me to authenticate

When I get redirected to the SiteMinder Common Logon Page
 And I authenticate myself by providing my username and password
 And The SAML response to keycloak has my first or last name missing

Then I get prompt to complete my profile by providing my First and Last name

For teams that require first and last name for BCeID, follow the steps to setup user profile config:

Step 1: go to your realm -> authentication -> select First Broker Login auth flow
Step 2: config the execution step Review Profile Config, change Update Profile on First Login settings to on. This will make it mandatory for users to fill in the profile


Errors of includes while building the hands_on_audio_acquisition

Hello,
We tried to build the hands_on_audio_acquisition for the H2b part of the project but we get some issues with including the "stm32l4xx_hal.h" and "stm32l4xx.h" with "no such file or directory". We have already installed Software Package stm32l4 for the hands_on_mcu from last week.
Thank you!

Hello @ppasture, please recreate this issue using the bug template, as it helps us narrow down the issue, and also makes triage easier.
I am locking this issue so we will only use the comment on one issue :-)