Any plans to add support for adding to version control, move, rename, delete, etc.?

Thanks for the tortoise integration! It would be nice to be able to stay in the atom environment for most of the common svn operations while working on projects. Any plans for these additional operations?

+1 for some features (like "lock" ) :)

And I thought I had added the common svn operations. :)
So add, rename and relocate are supported through tortoiseproc. Anything else you would like to include?

Functionality added with v0.5.0


feat: Local Proof Generator & Verifier

Feature Request
Wish to have a local proof to understand the zk-proof and develop in some local/offline project(such as using bluetooth to transfer zk-proof)

Describe Preferred Solution
A compile option to generate proof json and a verifier to verify the json
Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[Y ] Yes
[ ] No

This isn't in the scope of this project right now.
If you want, you can try to take the run and integrate with giza, in your own repo.


Improve handling of hooks types and suboptimal overwriting

do not overwrite hooks if the new hooks has no args
keep existing params even if hook is overwritten by a phpdoc with less args
reduce duplicate code by using registerHook everywhere a hook is added

This ensures that no hook param data is lost and is required to consistently check param types/not get tons of false positives.
e.g. for https://github.com/humanmade/psalm-plugin-wordpress/pull/31

Don't merge yet, as I need to do some additional testing for some fringe cases.


Enable SGX in GardenLinux Kernel

make sure SGX is supported in our Kernels. The Debian upstream kernels since 5.15 (that support this feature) have this actively turned off.
Maybe we should file this back to Debian?

We also explicitly enable it in config.gardenlinux
https://gitlab.com/gardenlinux/gardenlinux-package-linux-5.15/-/blob/main/debian/config/config.gardenlinux#L63
Every CONFIG_* entry listed in config.gardenlinux is checked if automatically if it is included in the final kernel image.


Use Gradle Java Toolchains instead of having requirement on Java version required to run gradle.

https://docs.gradle.org/current/userguide/toolchains.html

Haven't tested on another machine, so hopefully, you have CI testing...

Works on my machine:tm: (And doesn't affect CI running on 17)

lgtm


NodeStep for playbook and modules

The workflow step invokes ansible-playbook, delegating the node dispatching but at the loss of getting per-node log collation. It may be less efficient but at times more advantageous for some cases to use a NodeStep wrapper around ansible-playbook. As a nodestep, log capture plugins can look up output for a particular node, as well.

@ahonor this project used to have that functionality, but it was an extremely dirty solution and was removed.  If you are interested in implementing this functionality in a better way, we look forward to your PR.

The code to run a workflow node step has been merged under #183. Closing.


[10.x] Fix event helper

You don't have to include the $event and other parameters in the event helper!

@driesvints
Why was it rejected?


Animation reduced in calculator

Related Issue

There is a lot of animation in the calculator project, which sometimes irritates the user.

Closes: #646
Describe the changes you've made
I made changes in animation in calculator project
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

@Vishal-raj-1 @991rajat sir, please review my PR.

Congratulations on merging of first PR. :tada:
Keep Contributing


create binary, Makefile and basic build/test workflow

Adds the envoy-gateway binary, a Makefile
and a basic GitHub Actions workflow for
running build and test jobs on each PR & push.
Signed-off-by: Steve Kriss<EMAIL_ADDRESS>

There may be a repo setting related to GH Actions that needs to change to allow actions to run on PRs from forks? I don't have access to change.

@mattklein123 PTAL at https://github.com/envoyproxy/gateway/pull/72#issuecomment-1137454764. Can you confirm the GH actions repo settings?

It's set to require approval for first time contributors, but otherwise should run from forks.

🎉

All looks good:

push to main (https://github.com/envoyproxy/gateway/actions/runs/2394494530)
new PR with changes to .go file (https://github.com/envoyproxy/gateway/actions/runs/2397267584)


Many documentation pages are not rendering

Problem
Many sections of the documentation are not rendering eg.
https://dioxuslabs.com/reference/guide/components.html
https://dioxuslabs.com/reference/guide/props.html
https://dioxuslabs.com/reference/reference/anti.html
https://dioxuslabs.com/reference/reference/inline.html
They show the heading but not the content
Steps To Reproduce
Steps to reproduce the behavior:

Go to the docs on Brave or Chrome
Click on a few of the reference of advanced guides

Expected behaviour
I can read the documentation
Screenshots

Questionnaire

[x] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

I think they just haven't been written yet.
e.g. see:
https://github.com/DioxusLabs/dioxus/blob/master/docs/reference/src/guide/components.md - empty
I think the empty pages were created to sketch out a structure for the docs, but I agree it's a bit confusing.
Feel free to write some of the missing docs if you want! You can learn a lot by looking at existing docs, examples, source code, and experimentation.

Oh I didn't realise there was a "reference" section and a "guide" section, I just clicked on one and assumed they were the whole docs
Totally makes sense, I won't have time to start working on Dioxus for a few weeks still but i'll try to contribute some docs back then
Closing, cheers

@rMazeiks It is quite confusing as a developer new to the project to see blank pages on the official reference and guide pages. I couldn't tell if there was perhaps a bug in how the page was rendering or Dioxus didn't support my browser.
Seems like there should be a link to a community page about contributing documentation on those empty pages, or they should only show up in "developer" mode.


models.ResourceModel should be a child class of BaseResourceModel

ProgressEvent defines the type of resourceModels as Optional[List[BaseResourceModel]] if ResourceModel is not a subclass of this the typing will not match

i thought it was?
https://github.com/aws-cloudformation/aws-cloudformation-rpdk-python-plugin/blob/9eda207789e9d904a529dff802f5c73addacb2a7/python/rpdk/python/templates/models.py#L38
mypy seems happy with this, is there any indication it doesn't work? we did have stronger guarantees around types via generics, but some IDEs struggled to auto-complete that (see #44 )

This may have been a race condition. In the sense that I generated the code before the type hint refactor was merged (and I didn't update my plugin since).
I'll close this and reopen the issue if it doesn't work after I updated everything on my side


Ctrl + click on file does not behave intuitively

VSCode Version: 1.41.0
OS Version: Linux Mint 19.2

Steps to Reproduce:

On the VScode file explorer, I press Ctrl+LClick on several files to select them simultaneously.
Then I Ctrl+LClick on a couple of ones that I had previously selected (thus "un-selecting" them)
Finally I press Delete
What happens is that instead of deleting the currently selected files, it will only delete the last file that I had un-selected.

Does this issue occur when all extensions are disabled?: Yes

Dup of https://github.com/microsoft/vscode/issues/85437


Fix travis postgres issues

What does this Pull Request do?
Fix the travis postgres build. The build broke because travis decided to include the newly released Postgres 13 in the image by default.
How should this be tested?
The ci build should pass.
Interested parties
@fcrepo/committers

Not sure how we want to handle new versions of databases. Are we going to follow the latest version or stick to the one we were building against? Anyways, as an option we can lock the db version down if we do desire. https://docs.travis-ci.com/user/database-setup/#using-a-different-postgresql-version

Anyways, as an option we can lock the db version down if we do desire. https://docs.travis-ci.com/user/database-setup/#using-a-different-postgresql-version

We are already using those settings and travis still installed 13.
Since 13 was just released last month, I think it makes sense to continue to test against 12. It's unlikely that anyone is using 13 yet.


Remove more type ignore comments

Hey, here's another PR removing more of these comments. From #292 I have fixed 1.3, 2.1, 2.3 and many from 2.2.
This leaves 1.6 and 2.2 to be removed.

Thank you!

No problem, should only have one more pr for type ignore comments 😁
On Mon, 16 Mar 2020, 19:25 Thea Flowers<EMAIL_ADDRESS>wrote:

Thank you!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/theacodes/nox/pull/297#issuecomment-599718851, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABK42NICVJIYSF7KSBTHLN3RHZ4LHANCNFSM4LKAFLHQ
.


Improve different routes generator types support

In version 2.5.0-RC1 default routes generator type was changed from StaticRoutesGenerator to InjectedRoutesGenerator.
In issue #89 I decided not to change default static generator type for backward compatibility, but compatibility with SBT default is more important.
Default generator type will be dependent on provider used:

providers for Play! 2.1.x, 2.2.x and 2.3.x support only static generator type (and it's default),
provider for Play! 2.4.x supports static and injected generator types, static is default,
provider for Play! 2.5.x supports static and injected generator types, injected is default.

New method String[] getSupportedGenerators() will be added to Play2RoutesCompiler interface. It will return all supported generator types for a provider. The first one in the array is the default one. This method will allow generator type validation in Play2RoutesCompileMojo too.
Arrays returned by providers:

providers for Play! 2.1.x, 2.2.x and 2.3.x - ["static"]
provider for Play! 2.4.x - ["static", "injected"]
provider for Play! 2.5.x - ["injected", "static"]

New 1.0.0-beta5-SNAPSHOT snapshot deployed.

Maven-generated site updated.


bug in latex drawer barrier

Informations

Qiskit Terra version:
Python version:
Operating system:

What is the current behavior?
When drawing this circuit, the barrier on the last qubit is not respected.
from qiskit import QuantumRegister, ClassicalRegister, QuantumCircuit
from qiskit.tools.visualization import circuit_drawer
q = QuantumRegister(3, 'q')
c = ClassicalRegister(3, 'c')
circ = QuantumCircuit(q, c)
circ.x(q[0])
circ.x(q[1])
circ.barrier(q)
circ.measure(q, c)
circuit_drawer(circ, output='latex')

The mpl drawer works fine.
Suggested solutions

Hmm, this one is gonna be a bit trickier to fix. The issue is the barrier isn't actually an element in the underlying xymatrix that qcircuit is building. So to fix this we'll have to iterate over the rows and somehow figure out that we need to insert a \qw at that column and move the \measure over. I'm not exactly sure how to do that though.

is there an update on this.
Is this for 0.7

Assuming there isn't an update, I could try and have a look at this. It seems like it is quite a bit more in depth than the other issues I've had a go at so far so not sure how long it will take me or whether I'll be even be able to do it! But it noone else is trying I'm happy to give it a go!

I have not had a chance to work on this (I moved it to in progress in the project by mistake) so there is no update on this. I wasn't going to wait on this for 0.7.
@charlesastaylor if you want to give it a try, go for it. I can give you help if you need it. I have a feeling it'll be annoying to fix though since we'll have to at least iterate over the circuit one more time at the end to figure out whether we'll need to space things out.

Just leaving a comment here that #1306 was a duplicate of this issue, but manifested itself differently by raising a VisualizationError with the error message: Error during Latex building: invalid literal for int() with base 10: '1} \\\\barrier{1' you can look at the closing for duplicate comment: https://github.com/Qiskit/qiskit-terra/issues/1306#issuecomment-441735166 for more details on why/how.


removed unused continue training

Proposed changes:

removed previously deprecated continue training #4990
removed dump_flattened_stories from Agent.persist
improves memory footprint as the trained agent does not keep a reference to all training trackers as part of the ensemble anymore.

Status (please check what you already did):

[x] removed some tests for the functionality
[x] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

should be merged only after 1.6 has been released.


Rebuild with new base image

Signed-off-by: Subbarao Meduri<EMAIL_ADDRESS>

/test sonarcloud

closing in favor of https://github.com/stolostron/management-ingress/pull/68


Drop support for starting realm at root of realm server

@habdelra is there any code or tests that can be removed? I didn't find any but thought you might be aware of some.

@habdelra is there any code or tests that can be removed? I didn't find any but thought you might be aware of some.

i could have sworn that there was a test for this, but I checked and could not find it either. it must have been deleted already


Look through “OpenStreetMap World” Discord

Link To Project
See Global communities
Short description of the Project
In the channel list on the left hand side you will find a channel with useful links called #tools.
Why is it awesome?
It's another kind of curated list of OpenStreetMap projects.
Additional Links
See related wiki pages where available or search using the browser of your preference
Comments
Have fun! ;-)

You're right, there will probably be some awesome projects in there we don't have yet! 👍🏼
If you (as in the one reading this) would like to do this, please leave a comment below so I can assign this issue to you!


Don't open two ChatScreens when screen/topic is double-tapped

Currently, you can double tap a stream/topic/etc quickly, and cause two ChatScreens with the same view to be created. We should instead have the code refuse to open a narrow that it's already trying to open.

@gnprice I'm trying to resolve this issue, I understand Kotlin and js not react, so I'm finding it hard to fix this particular issue, my proposal is.
Add a state property to lock interacting with the list until the onPress callback has completed, then unlock the list, so when a user navigates back, the list will be unlocked.
I'm looking at theses files
https://github.com/zulip/zulip-mobile/blob/main/src/streams/StreamList.js


Batching support for row-based bounded window functions

Fixes #1860.
This commit adds support for batched processing of window aggregations where the window-extents are row-based and (finitely) bounded.
Example query:
SELECT
  COUNT(1) OVER (PARTITION BY part ORDER BY ord ROWS BETWEEN 10 PRECEDING AND 20 FOLLOWING),
  MIN(col) OVER (PARTITION BY part ORDER BY ord ROWS BETWEEN 10 PRECEDING AND CURRENT ROW),
  AVG(nuther) OVER (PARTITION BY part ORDER BY ord ROWS BETWEEN CURRENT ROW AND 20 FOLLOWING)
FROM my_table;

The algorithm is described at length in #1860.  In brief:

A new exec GpuBatchedBoundedWindowExec is used to batch the input into chunks that fit into GPU memory.
Depending on the window specification, some rows towards the end of the input batch might not have the context (i.e. "following" rows necessary) to finalize their output.  Those rows are carried over to the next batch for recomputation.
At every stage, enough rows from the previous batch are carried forward to provide the "preceding" context for the window computation.

Note that window bounds might be specified with negative offsets. These are also supported. As a consequence, LEAD() and LAG() are supported as well.
SELECT
  COUNT(1)  OVER (PARTITION BY part ORDER BY ord ROWS BETWEEN 5 PRECEDING AND -3 FOLLOWING),
  LAG(col, 10)  OVER (PARTITION BY part ORDER BY ord),
  LEAD(col, 5) OVER (PARTITION BY part ORDER BY ord) ...

This implementation falls back to unbatched processing (via GpuWindowExec) if a window's preceding/following bounds exceeds a configurable maximum (defaulting to 100 rows in either direction).  This may be reconfigured via:
spark.conf.set("spark.rapids.sql.window.batched.bounded.row.extent", 500)

Still WIP.  Need to sort out the outputBatching spec, and add tests for fallback.

Build

I'll rebase and retest this shortly, after regenerating docs.

Build

There seems to be a bug in the handling for LEAD()/LAG(). I'm trying to sort this out now.

The failing test is a weird one. I've boiled it down to the following:
@ignore_order(local=True)
@approximate_float
@pytest.mark.parametrize('batch_size', ['1g'], ids=idfn)
@pytest.mark.parametrize('a_b_gen', [long_gen], ids=meta_idfn('partAndOrderBy:'))
@pytest.mark.parametrize('c_gen', [StructGen(children=[['child_int', IntegerGen()]])], ids=idfn)
@allow_non_gpu(*non_utc_allow)
def test_myth_repro(a_b_gen, c_gen, batch_size):
    conf = {'spark.rapids.sql.batchSizeBytes': batch_size}
    base_window_spec = Window.partitionBy('a').orderBy('b', 'c')

    def do_it(spark):
        # Repro FAIL!
        df = spark.read.parquet("/tmp/repro_input_cpu_parquet")
        df = df.withColumn('row_num', f.row_number().over(base_window_spec))
        df = df.withColumn('lead_def_c', f.lead('c', 2, None).over(base_window_spec))
        return df

        # Repro: WORKING!
        # return df.selectExpr(
        #     "ROW_NUMBER() OVER (PARTITION BY a ORDER BY b, c) row_num",
        #     "LEAD(C, 2, NULL)   OVER (PARTITION BY a ORDER BY b, c) lead_def_c"
        # )

    assert_gpu_and_cpu_are_equal_collect(do_it, conf=conf)

Calling ROW_NUMBER() and LEAD(default) leads to the GPU seemingly not returning any rows, compared to CPU:
FAILED ../../src/main/python/window_function_test.py::test_myth_repro[Struct(['child_int', Integer])-partAndOrderBy:Long-1g][DATAGEN_SEED=1702330945, IGNORE_ORDER({'local': True}), APPROXIMATE_FLOAT] - AssertionError: CPU and GPU list have different lengths at [] CPU: 20 GPU: 0

This is very odd.  Instrumentation in the GpuBatchedBoundedWindowIterator code indicates that the right number of rows is being returned.  Somewhere after the iterator has returned, the rows don't make it to the output.
This does not happen from SQL, for the same query:
    SELECT ROW_NUMBER() OVER (PARTITION BY a ORDER BY b, c) row_num,
           LEAD(c, 2, NULL) OVER(PARTITION BY a ORDER BY b, c) lead_def_c
    FROM my_repro_table

Nor does this repro from the command line.  Nor with LEAD() called without a default.

This is really odd because ROW_NUMBER is supposed to be a running window agg, so they should not be in the same window operation at all. Unless it is something to do with lead by itself being a problem.

This is really odd because ROW_NUMBER is supposed to be a running window agg, so they should not be in the same window operation at all.

You're right about that. And the plan does indicate that these operations are addressed in separate execs:
== Physical Plan ==
GpuColumnarToRow false
+- GpuBatchedBoundedWindow [a#212L, b#213L, c#214, gpulead(c#214, 2, null) gpuwindowspecdefinition(a#212L, b#213L ASC NULLS FIRST, c#214 ASC NULLS FIRST, gpuspecifiedwindowframe(RowFrame, 2, 2)) AS lead_def_c#225, row_num#219], [a#212L], [b#213L ASC NULLS FIRST, c#214 ASC NULLS FIRST]
   +- GpuRunningWindow [a#212L, b#213L, c#214, gpurownumber$() gpuwindowspecdefinition(a#212L, b#213L ASC NULLS FIRST, c#214 ASC NULLS FIRST, gpuspecifiedwindowframe(RowFrame, gpuspecialframeboundary(unboundedpreceding$()), gpuspecialframeboundary(currentrow$()))) AS row_num#219], [a#212L], [b#213L ASC NULLS FIRST, c#214 ASC NULLS FIRST]
...

The progress has been slow, but I was wrong about the following:

Nor does this repro from the command line...

I have a repro from the shell, not just from pytest.  The df.show() does return the right number of rows. df.collect() seems to return 0 rows, for this combination of operations.
The operations work fine individually. :confused:

@revans2 has cracked it:  Looks like reordering the execs causes the output columns to be reordered as well.
I'm testing out the fix.  I should have an update to this PR shortly.

I'll raise one and start on it shortly.

Thank you for the review and guidance, @revans2. This has been merged.


Gave middlewares intuitive names

If you look into the express routing table you will find the names of the middleware functions. Before this change only "<anonymous>" was displayed.

@analog-nico Woah, what's the Express routing table? How do I see that?

After you registered all your routes look at app._router.stack. There are a few libs that pretty print this information. In any case, I had a close look at my routing table yesterday in order to review my configuration. My code just doesn't give me a clear picture anymore. ;)

I'm a little hesitant to do something just for a private feature of Express.
Is there any reason for the $ in the function names?

No, there is no reason for $. Any name would be fine for me. BTW, all other helmet middlewares I use have a good name already. This one is the only one that returns anonymous functions. Giving them some names wouldn't hurt, am I right? Which names would you prefer?

I'd be tempted to give them the same name: xXssProtection.

Done.

Love it! Thank you.

Whoops—accidentally closed it. Reopened and merged.

Nice, thank you!


v4 passes through unknown HTML attribute to the DOM

Environment
npm packages:

react: v16.5.2
react-dom: v16.5.2
styled-components: v4.0.2

Reproduction
https://codesandbox.io/s/zn5vrk0vpm
Expected Behavior
https://codesandbox.io/s/20xlp242pr
There is no unknown-prop warning if I'm using styled(styled.button).attrs({ customProp }) with styled-components v3.4.10.
Actual Behavior
There is unknown-prop warning with styled-components v4.

If this is not a bug, and there is something missing. Please let me know, thanks!

Don't think that it is expected behavior.
Also example from docs https://www.styled-components.com/docs/api#attrs works in similar way:

This is definitely a bug, any ideas why this broke @probablyup?

@shiningjason @mxstbr
What's interesting is that<EMAIL_ADDRESS>works much the same but instead of camelCase props are inserted in lowercase and React doesn't warn about this.

Oh, that's even more strange 🤔

Fixed in #2133
However, pay attention to #2093. It will add new way to tell which attributes should pass as html attributes

I'm seeing a similar issue with the new as prop, e.g.:
...
import { Link } from 'react-router-dom';

const StyledLink = styled.a`
    ${p => (p.linkStyle === 'upperCase' ? 'text-transform: uppercase' : '')}
`

<StyledLink as={Link} linkStyle="upperCase" to="/">test link</StyledLink>

Warning: React does not recognize the linkStyle prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase linkstyle instead. If you accidentally passed it from a parent component, remove it from the DOM element.

Is this related to an existing issue or should I open a new issue?

@mbrowne Since Link is a custom component, we don't do prop filtering and pass all props through to it. Until we settle on one of the several prop handling proposals floating around for v5 I don't think we're going to have a good solution for this.

Is there any ETA on when this can be addressed? Or let me know if I can help with the PR and what the challenge is.

As a workaround for eliminating React warnings in custom components, I had to make use of data-* attributes.

Will this be resolved in v5 for the Link (or any other custom components)?

Any update on this now that v5 beta is out? I'm attempting to use Formik's Field component with styled-components and want to customize the css if an error is present or not.

Still I'm getting error.. :cry:

@probablyup @mxstbr Why can't we filter properties based on some prefix like $, like below?
<StyledComp $someStyleProp={someValue} />
The $someStyleProp will not be passed down as the user explicitly wants to ignore the property being passed down?

I proposed this a while ago actually. We could, but if another library
decides to do the same it’d be a mess basically.
On Mon, Feb 3, 2020 at 4:26 AM Akhil Pentamsetti<EMAIL_ADDRESS>wrote:

@probablyup https://github.com/probablyup @mxstbr
https://github.com/mxstbr Why can't we filter properties based on some
prefix like $, like below?
<StyledComp $someStyleProp={someValue} />
The $someStyleProp will not be passed down as the user explicitly wants
to ignore the property being passed down?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/styled-components/styled-components/issues/2131?email_source=notifications&email_token=AAELFVWYG3NO43GUTLD7JMDRA7PODA5CNFSM4F6GZO5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKTDLNQ#issuecomment-581318070,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAELFVW7BXTHUHXBLZLRTU3RA7PODANCNFSM4F6GZO5A
.

The top answer here solved it for me


Use a coverage service

Pick the best one from here https://npm.im/fetch-coverage

So, I added the following coverage services to test them all out:

Code Climate (a9e01df...860aaa4)
Codecov (ce01adb...d4762bb)
Scrutinizer (without the coverage uploading yet, I'm gonna test out the other features)

TODO:

Coveralls


[Feature Request] rgb_array don't not support

Describe the bug
I really appreciate this work, because I don't have to waste time on tedious mujoco200_linux installation and use old dependencies to adapt to safety_gym, but I noticed that you seem to have some environment codes that is not released, please tell me when you will release it!!!
Also I have a problem when I use it on my server, I want to save the visual mp4 via rgb_array, when I use render_mode = 'rbg_array' on safety_gymnasium, this doesn't seem to be supported, will this be supported subsequently?
Screenshots

Checklist

[x] I have checked that there is no similar issue in the repo. (required)
[x] I have read the documentation. (required)
[x] I have provided a minimal working example to reproduce the bug. (required)

Your request was handled very seriously and promptly.
We have fixed your problem in Pull Request #15 , you can promptly pull the latest code and try it.
Screenshots

Test Code
import argparse

import safety_gymnasium

def run_random(env_name):
    env = safety_gymnasium.make(env_name, render_mode='rgb_array')
    obs, _ = env.reset()
    terminated = False
    ep_ret = 0
    ep_cost = 0
    while True:
        print("rgb_array", env.render())
        if terminated:
            print('Episode Return: %.3f \t Episode Cost: %.3f' % (ep_ret, ep_cost))
            ep_ret, ep_cost = 0, 0
            obs, _ = env.reset()
        assert env.observation_space.contains(obs)
        act = env.action_space.sample()
        assert env.action_space.contains(act)
        # Use the environment's built_in max_episode_steps
        if hasattr(env, '_max_episode_steps'):
            max_ep_len = env._max_episode_steps
        obs, reward, cost, terminated, truncated, info = env.step(act)
        ep_ret += reward
        ep_cost += cost

if __name__ == '__main__':

    parser = argparse.ArgumentParser()
    parser.add_argument('--env', default='SafetyPointGoal2-v0')
    args = parser.parse_args()
    run_random(args.env)

Thank you so much for your prompt response! I just re-tested it and it's working fine now, thank you very much!


Typo Correction

The positioning of "the" was on the wrong side of Global State.

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


[WIP] Proteomics: New tutorial for Annotating a protein list identified by LC-MS/MS experiments

Hello GTN,
following the wonderful Elixir GTN Hackathon at Roscoff, a really preliminary draft on  "Annotating a protein list identified by LC-MS/MS experiments". Half backed, the workflow still need to be completed …
Val

Thanks @vloux for contributing!
Let us know if you need any help 😃


just checker is accepting incorrect maps

(def j {:pk 2})
(prn :match-of-content-true-as-expected (-> j ((just {:pk 2})))) ; => true
(prn :===array-true-is-WRONG (-> j ((just [{:pk 2}]))))  ; => true???????

;; There are also odd results for following two checks
;; (note that oddness will depend on order of right-hand-side map - yes, even in case of :in-any-order
(prn :should-fail  (-> j ((just [{:pk 3} {:pk 2}]))))
(prn :should-file (-> j ((just [{:pk 3} {:pk 2}] :in-any-order))))

fixed in https://github.com/marick/Midje/issues/396


Updating JSON package

Changed version from 1.1.2 to 1.1.3
Signed-off-by: Mayukh Mallick<EMAIL_ADDRESS>

Closing this PR as this has already been merged


Update validate workflow to use hashicorp packer action

fixes #6
This PR Updates the Validate step in the .github/workflows/lint.yaml file to use the validate Packer action at  https://github.com/hashicorp/packer-github-actions

@obasekiosa looks good to me!

@pavlovic-ivan
I have made the requested changes

@pavlovic-ivan How did you manually trigger the workflows though?

@obasekiosa there was an option on this page that i can't see now

@obasekiosa ah, it is configured to be run on created pull request. so that's why i don't see the option.

i am going to accept this PR and then we can fix if something is off


Adapt Documentation about Stage Customization.

Summary
Adapt the documentation in oscm-help about the customization for responsive stages. Refer to issue: #549
Details
In the customize stage page for a marketplace, you can define as follows the stage:
Please note that the image must be of size 1600 x 500 pixels (or must have the same aspect ratio), because this is a commonly used format for banners of websites or other landing pages.

In the same way you can define responsive embeds for the public MP page.

Acceptance criteria
The oscm-help guide is updated.
Additional context
N/A.

Documentation updated and distributed for review. Relevant section is:
Customizing the marketplace stage
...
Enter the HTML code referencing the desired stage image. For optimum display, you can specify different stage images for desktop and mobile devices. The stage image for desktop devices is used when the display is wider than 768 pixels. For smaller widths, the stage image for mobile devices is used.
As common with website banners, the image for desktop devices must have a size of 1600 x 500 pixels or multiples thereof with the same aspect ratio. The image for mobile devices must have a size of 768 x 940 pixels or multiples thereof with the same aspect ratio. The recommended width of the stage is 100%. The recommended height is between 200 and 300 pixels for the desktop stage, and between 680 and 720 pixels for the mobile stage.
You can enter the HTML code directly, or you can use an inline frame for embedding the stage in the HTML code of the marketplace home page.
Example:

...

Documentation reviewed and completed.
Closing


Only 1 SAP system tag is added per node, even in cases with more than 1 SAP installations

There are scenarios where multiple SAP installations are in the same machine, and some of them can have a different SAP identifier (cost-optimized scenario for example). In this cases, only the last SAP identifier is stored as tag. All the SAP identifiers should be stored and visualized in the WEB, and used to filter the content if needed.
Edit: The major change would come here code, together with the frontend, and obviously see how we would manage multiple sap-system tags

Fixed at: https://github.com/trento-project/trento/pull/160


Support preemption of non helm managed resources

In the scenario of k8s yam transiting to chart, it is expected to be able to manage non chart resources. For example, when a set of manifest already exists, then helm install/upgrade will throw an exception: xxx exists and cannot be imported into the current release: aaa
When users are aware of the impact of this operation, we should allow preemption of resources.There are several possibilities:

Add flag, such as -- override. There will be no resource name conflict using this flag.
The user is required to declare the app.kubernetes.io/managed-by: Helm. If the label is identified, preemption is performed.

The above is my personal suggestion. Is there a plan to complete the operation?
Thx!
/proposal or /question/support ?

@Cweiping Is this covered by #7649?

Yeah this seems to fall under #7649 and #2730.

@bacongobbler @hickeyma Thx a lot! I got it.


Beacon: crashes when we request a second permission

with https://talao.co/sandbox/saas4ssi/dapp
synchronoize 1 time and then resynchronize -> crashes the app

Happen at the second sync => Get app Splash screen.
Prevent Pop when sync again, we think.

Size: S


C# - Base language support extension, no intellisense in pre-Release v2.0.283

Type: Bug
Issue Description
Intellisense stops working after switching to prerelease version of C# extension v2.0.283
Steps to Reproduce

Clean install in sandbox of VSCode, .Net7, add C# extensions (release)
Open .cs project - Check intellisense
switch to prerelease C# extension, restart VSCode
Open .cs project - Check intellisense

Expected Behavior
Actual Behavior
intellisense works for release version of C# extension but not for preview  v2.0.283
Logs

C# log
Dotnet path: c:\Users\WDAGUtilityAccount\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\7.0.9\dotnet.exe
Activating C# standalone...
info: LanguageServerHost[0]
      Starting server...
[Info  - 5:29:32 PM] [LanguageServerProjectSystem]Loaded MSBuild at C:\Program Files\dotnet\sdk\7.0.306
[Info  - 5:29:32 PM] [LanguageServerProjectSystem]Loading c:\Users\WDAGUtilityAccount\Desktop\RollDicePlus\RollDice.sln...

Environment information
VSCode version: 1.80.1
C# Extension: 2.0.283
Using OmniSharp: false
Dotnet Information
Host:
Version:      7.0.9
Architecture: x64
Commit:       8e9a17b221
.NET SDKs installed:
No SDKs were found.
.  From the logs attached, it does appear as though the project is being attempted to load, but doesn't seem to finish.

Which parts of intellisense aren't working exactly - completion, hover, etc?
Are you able to share the project?
If you can't share the project, could you set the dotnet.server.trace setting to Trace and attach the C# output window logs?

I had the same issue on C# extension version 2.0.320 and 2.0.328. I had not hover information and was unable to go to references. The problem was solved by reverting to version 1.26.0.

We've made a fair number of fixes to project loading this month (with a couple more on the way).  It is likely this has been resolved so I'm going to close this issue.  If you're still having a problem on the latest, please file a new issue with

The C# output window logs (with dotnet.server.trace set to Trace)
And if you're using devkit, the 'Projects' output window


NFFS does not work with STM32L4 devices due to flash restrictions

NFFS assumes that it can write at byte granularity to a flash device but STM32L4 family expects 64-bit writes to flash. Further STM32L4 family assumes that an entry has not been written before preventing a read-modify-write workaround.
Note that this issue possibly impacts more STM32 families.

duplicate of #1583


Dateformat epoch_mills value is misspelled

Following nest call fails:
elasticClient.CreateIndex("testindex",
descriptor =>
descriptor.Mappings(mappings => mappings
.Map(md => md
.Properties(props => props
.Date(d => d.Name("Time").Format(DateFormat.epoch_millis))
...
{
  "error": {
    "root_cause": [
      {
        "type": "mapper_parsing_exception",
        "reason": "Failed to parse mapping [event]: Invalid format: [epoch_mills]: Illegal pattern component: p"
      }
    ],
    "type": "mapper_parsing_exception",
    "reason": "Failed to parse mapping [event]: Invalid format: [epoch_mills]: Illegal pattern component: p",
    "caused_by": {
      "type": "illegal_argument_exception",
      "reason": "Invalid format: [epoch_mills]: Illegal pattern component: p",
      "caused_by": {
        "type": "illegal_argument_exception",
        "reason": "Illegal pattern component: p"
      }
    }
  },
  "status": 400
}

Snap! I must have gone over that file a dozen time, i was so sure i'd make a typo somewhere. Thank you for spotting and fixing this @JefStat !

ported to 2.x and 5.x


How to delete emulated device from Alexa app?

I added few devices using Fauxmo that got discovered in Alexa, and then later renamed the devices, now Alexa shows all the devices old and new. My issue is how to delete old devices from Alexa.

The Alexa mobile app.

@mB-PiBox  There is no option to delete device, the only options I see is to disable the device.

Then use http://alexa.amazon.com .. as fauxmo doesn't control what devices Alexa remember or forgets.

@mB-PiBox Perfect!! Thanks, I can now forgot (delete) devices from Alexa.


flutter run doesn't show some critical log items from Xcode

Steps to Reproduce

Create an app using Firestore (cloud_firestore in dependencies). For example, the official Firebase for Flutter codelab.
Neglect to set up the iOS project with GoogleService-Info.plist.
flutter run the app on iOS.

Logs
This is what flutter run shows, in its entirety:
Launching lib/main.dart on iPhone X in debug mode...
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010930d29b __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x00000001088a9735 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010930d0f5 +[NSException raise:format:] + 197
	3   Runner                              0x0000000104947aa1 +[FIRApp configure] + 481
	4   Runner                              0x0000000104c9d22c -[FLTCloudFirestorePlugin init] + 188
	5   Runner                              0x0000000104c9d0d9 +[FLTCloudFirestorePlugin registerWithRegistrar:] + 297
	6   Runner                              0x00000001048f06bb +[GeneratedPluginRegistrant registerWithRegistry:] + 123
	7   Runner                        <…>
Starting Xcode build...
Xcode build done.
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010665829b __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x0000000105bf4735 objc_exception_throw + 48
	2   CoreFoundation                      0x00000001066580f5 +[NSException raise:format:] + 197
	3   Runner                              0x0000000101befaa1 +[FIRApp configure] + 481
	4   Runner                              0x0000000101f4522c -[FLTCloudFirestorePlugin init] + 188
	5   Runner                              0x0000000101f450d9 +[FLTCloudFirestorePlugin registerWithRegistrar:] + 297
	6   Runner                              0x0000000101b986bb +[GeneratedPluginRegistrant registerWithRegistry:] + 123
	7   Runner                        <…>

Here's what you get in Xcode:
2018-10-01 16:30:54.093692-0700 Runner[21990:12461249]  - <AppMeasurement>[I-ACS036002] Analytics screen reporting is enabled. Call +[FIRAnalytics setScreenName:setScreenClass:] to set the screen name or override the default screen class name. To disable screen reporting, set the flag FirebaseScreenReportingEnabled to NO (boolean) in the Info.plist
2018-10-01 16:30:54.370913-0700 Runner[21990:12460659] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
2018-10-01 16:30:54.371112-0700 Runner[21990:12460659] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2018-10-01 16:30:54.385564-0700 Runner[21990:12460659] *** Terminating app due to uncaught exception 'com.firebase.core', reason: '`[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010ac0529b __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x000000010a1a1735 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010ac050f5 +[NSException raise:format:] + 197
	3   Runner                              0x0000000105fe9aa1 +[FIRApp configure] + 481
	4   Runner                              0x000000010633f22c -[FLTCloudFirestorePlugin init] + 188
	5   Runner                              0x000000010633f0d9 +[FLTCloudFirestorePlugin registerWithRegistrar:] + 297
	6   Runner                              0x0000000105f926bb +[GeneratedPluginRegistrant registerWithRegistry:] + 123
	7   Runner                              0x0000000105f927ca $S6Runner11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0j6LaunchI3KeyaypGSgtF + 138
	8   Runner                              0x0000000105f92bb4 $S6Runner11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0j6LaunchI3KeyaypGSgtFTo + 228
	9   UIKitCore                           0x00000001133ac4d7 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 280
	10  UIKitCore                           0x00000001133adec4 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3979
	11  UIKitCore                           0x00000001133b3527 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1623
	12  UIKitCore                           0x0000000113c55e3e __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866
	13  UIKitCore                           0x0000000113c52403 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
	14  UIKitCore                           0x0000000113c55a7b -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 233
	15  UIKitCore                           0x0000000113c56435 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1085
	16  UIKitCore                           0x0000000113c13b31 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 795
	17  UIKitCore                           0x0000000113c137db -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 435
	18  UIKitCore                           0x0000000113c5892c __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 584
	19  UIKitCore                           0x0000000113c59256 _performActionsWithDelayForTransitionContext + 100
	20  UIKitCore                           0x0000000113c5868b -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 221
	21  UIKitCore                           0x0000000113c51aa1 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
	22  UIKitCore                           0x00000001133b1d46 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515
	23  UIKitCore                           0x00000001133e3856 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 357
	24  FrontBoardServices                  0x00000001166aedda -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 448
	25  FrontBoardServices                  0x00000001166b9f43 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 271
	26  FrontBoardServices                  0x00000001166b963a __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 53
	27  libdispatch.dylib                   0x000000010c64e63e _dispatch_client_callout + 8
	28  libdispatch.dylib                   0x000000010c651bb4 _dispatch_block_invoke_direct + 301
	29  FrontBoardServices                  0x00000001166ee3c8 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
	30  FrontBoardServices                  0x00000001166ee080 -[FBSSerialQueue _performNext] + 457
	31  FrontBoardServices                  0x00000001166ee660 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
	32  CoreFoundation                      0x000000010ab68b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	33  CoreFoundation                      0x000000010ab683a3 __CFRunLoopDoSources0 + 243
	34  CoreFoundation                      0x000000010ab62a4f __CFRunLoopRun + 1263
	35  CoreFoundation                      0x000000010ab62221 CFRunLoopRunSpecific + 625
	36  GraphicsServices                    0x000000010fcd01dd GSEventRunModal + 62
	37  UIKitCore                           0x00000001133b5115 UIApplicationMain + 140
	38  Runner                              0x0000000105f92d84 main + 68
	39  libdyld.dylib                       0x000000010c6c4551 start + 1
)
2018-10-01 16:30:54.489749-0700 Runner[21990:12461272] flutter: Observatory listening on http://<IP_ADDRESS>:49397/
libc++abi.dylib: terminating with uncaught exception of type NSException
2018-10-01 16:30:54.404948-0700 Runner[21990:12461249] 5.6.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.

Note the helpful error that is only visible in Xcode:
could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/

Flutter doctor
$ flutter doctor -v
[✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale en-US)
    • Flutter version 0.8.2 at /Users/filiph/dev/flutter
    • Framework revision 5ab9e70727 (3 weeks ago), 2018-09-07 12:33:05 -0700
    • Engine revision 58a1894a1c
    • Dart version 2.1.0-dev.3.1.flutter-760a9690c2

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/filiph/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 28.0.2
    • Dart plugin version 181.5616
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[!] IntelliJ IDEA Community Edition (version 2018.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[!] VS Code (version 1.22.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected devices (3 available)
    • Pixel 2 XL • 711KPZK0592485                       • android-arm64 • Android 9 (API 28)
    • iPhone X   • A4DBE660-4C39-4AEA-B258-7755F584BA6E • ios           • iOS 12.0 (simulator)
    • iPhone XR  • 431DF6F4-BF91-4E1D-9AF1-8324CF683D37 • ios           • iOS 12.0 (simulator)

! Doctor found issues in 2 categories.

The GoogleService-Info.plist file does exist in the Runner folder, but only after "Add Files... to Runner" in the Xcode by right clicking on the Runner folder does the trick.

Hello! I think this might be related to 25879
You mean all I gotta do is add the GoogleService-Info.plist in order to stop receiving the errors?

@filiph
The GoogleService-Info.plist file does exist in the Runner folder, but only after "Add Files... to Runner" in the Xcode by right clicking on the Runner folder does the trick.

Can you try this approach?

Install the Firebase .plist and .json files and then run the App.
The errors are resolved.
The Codelab should first start with Project setup and configuration and then the creating UI Part

Many tutorials didn't include the GoogleService-Info.plist part. This problem took more than 6 hours for me until I landed to this page. thanks

Thank you so much for giving this answer.
I've added what the 'Add Files... to Runner' means for adition

I'm getting this error...
Unable to solve this. Please help
App just crashed after installation
flutter: getCurrentLocation
flutter: {app_name: , default_tax: null, default_currency: null, currency_right: false, enable_paypal: true, enable_stripe: true, mobile_language: en}
flutter: getCurrentLocation
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff23c7127e __exceptionPreprocess + 350
	1   libobjc.A.dylib                     0x00007fff513fbb20 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff23c710bc +[NSException raise:format:] + 188
	3   location                            0x000000010aeee80c -[LocationPlugin requestPermission] + 460
	4   location                            0x000000010aeeddf9 -[LocationPlugin handleMethodCall:result:] + 2137
	5   Flutter                             0x0000000108bd6f32 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 104
	6   Flutter                             0x0000000108b65a4e _ZNK7flutter21PlatformMessageRouter21HandlePlatformMess<…>
Lost connection to device.```

Same with me as @jeeali. Tried everything. Currently suspecting for regression and trying for different versions.

We're going to use this issue to track improving Xcode output, not the GoogleService-Info.plist issue specifically.

xcrun xcodebuild -workspace Runner.xcworkspace -scheme Runner -resultBundlePath ./output
xcrun xcresulttool get --path  /Users/magder/Projects/test_create/ios/output --format json

Need to parse ['actions']['_values'][0]['buildResult']['issues'] for warningSummaries and errorSummaries.

I've been noticing this cluster of issues more recently. Don't know if it's due to an xcode change. The actual error tends to be very unassumingly buried in a wall of text. This likely produces a bunch of red herrings for users. This is a great project to pursue.

The errorSummaries are really lacking for errors coming from dart.
This nice compilation error:
    /bin/sh -c /Users/magder/Library/Developer/Xcode/DerivedData/Runner-asrszkthjhuqfdcyidwleqxjtniu/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Script-9740EEB61CF901F6004384FC.sh
lib/gallery/app.dart:141:7: Error: Expected ',' before this.
      model: model,
      ^^^^^
lib/gallery/app.dart:139:38: Error: Too many positional arguments: 0 allowed, but 1 found.
Try removing the extra positional arguments.
    return ScopedModel<AppStateModel>(
                                     ^
../../../../../.pub-cache/git/scoped_model-cc39449cdea9364f574713009ef6d2c40a7d35a7/lib/scoped_model.dart:113:3: Context: Found this candidate, but the arguments don't match.
  ScopedModel({required this.model, required this.child});

Command PhaseScriptExecution failed with a nonzero exit code

Is recorded as:
            "errorSummaries" : {
              "_type" : {
                "_name" : "Array"
              },
              "_values" : [
                {
                  "_type" : {
                    "_name" : "IssueSummary"
                  },
                  "issueType" : {
                    "_type" : {
                      "_name" : "String"
                    },
                    "_value" : "Uncategorized"
                  },
                  "message" : {
                    "_type" : {
                      "_name" : "String"
                    },
                    "_value" : "Command PhaseScriptExecution failed with a nonzero exit code"
                  }
                }
              ]
            },

is there any update on this?

is there any update on this?


stratus-red-team: init at 1.0.0

Motivation for this change
Package stratus-red-team for nixpkgs
https://www.datadoghq.com/blog/cyber-attack-simulation-with-stratus-red-team/
https://stratus-red-team.cloud/
https://github.com/DataDog/stratus-red-team
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[X] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[X] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.


RPC error Invalid params from transfer deploy

Hi,
I'm sending a transfer deploy using the JS CEP18Client from here and I got the following error from RPC, could you please clarify what it means as it doesn't tell anything specific.
{
  "jsonrpc": "2.0",
  "id": "0",
  "error": {
    "code": -32602,
    "message": "Invalid params",
    "data": null
  }
}

Here is the deploy generated from the CEP18Client:
{"jsonrpc":"2.0","id":"0","method":"account_put_deploy","params":{"deploy":{"hash":"32c38ee2f2fb611ea02f52603aeed79865097f8adb165a0f169afec1722b7dde","header":{"account":"020304Bb523043dec125E3f31efA82fF2B8E30dF97211bcf87CDb3B6BaE6586AdD4A","timestamp":"2023-06-23T13:54:52.666Z","ttl":"30m","gas_price":1,"body_hash":"b61f918d9f7d788b619da298651b3b82c98fb01dc1574ed6b84d22cae0e37b4f","dependencies":[],"chain_name":"casper-test"},"payment":{"ModuleBytes":{"module_bytes":"","args":[["amount",{"bytes":"0480f0fa02","cl_type":"U512"}]]}},"session":{"StoredContractByHash":{"hash":"","entry_point":"transfer","args":[["recipient",{"bytes":"00f98f2ed4ea79f13cf3e5681e5b2dfbb2b9ef48770a76f04f2f934503522a44f5","cl_type":"Key"}],["amount",{"bytes":"0103","cl_type":"U256"}]]}},"approvals":[{"signer":"020304Bb523043dec125E3f31efA82fF2B8E30dF97211bcf87CDb3B6BaE6586AdD4A","signature":"0222d7ae442bf1cb244aea8536aea3b6b507b2a7f1614a02d0f3d3cbbd36435813651ba04d19f1b8ba4b5c5db481016874027c5a1a97c9911f4c877add5806cb33"}]}}}

Could you please advise what is wrong?

@piotrwitek hash field for the contract hash is empty. Are you calling setContractHash ?
https://github.com/casper-ecosystem/cep18/blob/a3388a9f9fe1131366b6cf57a9d7a7a0ea28e859/client-js/examples/usage.ts#L42

yes I'm calling that, but I'll debug if the values are set correctly before calling the setContractHash

Fixed the issue, it was on my side, thanks @davidatwhiletrue for suggestions on where to look for!


Release 1.0 and publish to code.dlang.org

The djvm project is wonderful and potentially very very useful. I would love to see it on code.dlang.org as a dub package.
Is there any plan for releasing a 1.0 version and adding it to code.dlang.org?

Yes at some point.  It's working well enough for projects I'm using it
with.  There are a few things I have mostly implemented that I haven't
pushed yet (like equality checking using the java objects equals and
monitor locking come to mind).
I've had a second kid though and my free time has gone to less than zero.
Whenever time frees up more, I'll finish up and push what I have out.
On Sat, Jul 9, 2016 at 11:08 PM, Saurabh Das<EMAIL_ADDRESS>wrote:

The djvm project is wonderful and potentially very very useful. I would
love to see it on code.dlang.org as a dub package.
Is there any plan for releasing a 1.0 version and adding it to
code.dlang.org?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jamesmahler/djvm/issues/11, or mute the thread
https://github.com/notifications/unsubscribe/AJh_cjPTX2WUd09FLPCtfxs4yHaBQttBks5qUHBBgaJpZM4JIwg4
.


Game Runner thread / subprocess improvements

This is all about what happens when you push that "⏵ Run Game" button.
Things in scope include:

On failure to launch, let the user know as soon as we do. (Instead of freezing for five seconds first.)
Error messages from the failing game task should appear in the Logs tab by default. #550

This branch introduces the use of TestFX in order to test code relying on JavaFX classes.
How to test
All the things that involve starting a game and configuring what happens when it starts and exits.
Outstanding before merging
This branch is in a working state at the moment but there are some things to clean up before it'll be out of draft status.

[x] merge dependency branch test-logs #562.
[x] make sure github validation can run the unit tests.
[x] case of process-had-no-error-but-was-done-very fast. (I considered forgetting about this requirement, until I realized that it would be bad in conjunction with the exit-after-launch setting.)
[x] move executor-specific things out of ApplicationController.
[x] the case of log-level = None && exit-after-launch = true

maybe nice to have
Comment if these look important:

[ ] gradle task to run tests in headless-mode even when run on a fully graphics-capable dev environment (or flag to existing test task)
[ ] update acceptance tests.
[ ] yet more docstrings. (I think the more outward-facing methods are documented, but there's not 100% coverage of all private methods and fields)
[ ] Windows? There are some unit tests marked as Disabled-on-Windows because I don't know if they'll run there. Will they? Do we need alternate test implementations for Windows? Can any of those tests be covered by cross-platform code instead?
[ ] TestGameStarter unit tests for heap-min, heap-max, and log-level.

Hmm. Github action is failing with:
TestRunGameTask > testGameOutput() FAILED
    java.lang.RuntimeException at WaitForAsyncUtils.java:301
        Caused by: java.lang.UnsupportedOperationException at GtkApplication.java:173

...you want to give me any other details about that, github action? like which invocation of WaitForAsyncUtils that was, or what the heck is on line 173 of GtkApplication.java?
Well. I guess we add "get tests to run under CI" to the list. It's quite possible there's a thing we have to do to tell TestFX it's in headless mode or something.

My copy of GtkApplication.java says that UnsupportedOperationException should come with a message:
            if (libraryToLoad == QUERY_NO_DISPLAY) {
                throw new UnsupportedOperationException("Unable to open DISPLAY");

For adding an option to force headless mode, gradle can add system properties to the tests: https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html#org.gradle.api.tasks.testing.Test:systemProperties(java.util.Map)
not sure what the most ergonomic way would be to invoke that. I was thinking of adding a --headless option to the existing test task, but I don't know if we can add fields to existing tasks like that. Maybe we end up making a new headlessTest task that extends the base one?

Okay. I added a bunch of javadocs.
Let me know when you see other things I've added in here that still could use documenting.

Okay, I think I've fixed the regression where this branch wasn't considering the launch a failure if it came back right away. With that, I think this branch is viable.
There's a little more polish and rigor it could have, described by the checklist in the main body of this issue, but I think a lot of those are negotiable depending on how much weight the reviewers give them.
@skaldarnar & @jdrueckert, I'd like for this branch to not get lost in the land of things-that-almost-were. I think it does a significant amount to improve the sort of experience described in #550, and in my humble opinion leaves the code in a better place technically.
Let me know if the test-logs dependency is a blocker and I can pull that out. I never wanted to get in to a fight with slf4j on the classpath, I was just trying to get to a place where I could do some test-driven development for working on GameRunner's quirks. That now accomplished, I care more about having the application code merged than I do for the mess of groovy code that's trying to manage the dependency conflicts.

Oh hey lgtm-bot, that's plausibly true.
but I have a BufferedReader around a StreamReader around a Stream. which of them am I responsible for closing? the innermost one? the innermost one I created, which would be the StreamReader but not the Stream? or the outermost one?

There might be an intermittent test failure? because the checks shown on this PR pass, but there's a failure reported on https://github.com/keturn/TerasologyLauncher/actions/runs/243384472

Since this PR is so huge I wanted to start with compiling the code locally and running the tests. After some trouble with the unicode characters introduced there these are the test results when executing the suite in IntelliJ on Windows:

... not very satisfying 😞

Good to know. There's a lot of platform-specific quirks to both filesystems and process execution, and I haven't had a Windows environment to test in.
and, bleh, that's not a very informative test failure message. Looks like I'll have to get that Windows VM up when I have more disk space.

wait, I don't see any TestFileUtils changes in this branch. Do those failures happen for you on the main branch?

Continuing from discord:

for PR-2 and PR-3 I'm thinking of adding the feature code/refactoring first, without any tests, and adding the tests in PR-3 only. In github, you can set the target of PR-3 to PR-2, and the two diffs will show a bit cleaner. I can review them separately, we merge them together, and then we merge both to master.... or we can merge both to master on their own if you don't mind having a commit in the main branch without the tests :wink:

I feel like I'm misunderstanding something significant about what you're looking for out of this.
From just a GitHub UI perspective, if you're reviewing by file, implementation is already separated from tests, and the src/main/* files are sorted before the src/test/* files.
From a reviewer's perspective, I don't know why a reviewer would ask to review the code without its tests. Knowing what is tested and how is a big concern when I do reviews. Ideally, tests also inform the reader about how the code under test is used and why it has some of the wrinkles it does.
(In practice, I often find that when reading a test I have a hard time identifying the important parts of it among all the other stuff that's boilerplate. I'm interested in getting better at that, in both reading and writing tests, so feedback on test legibility is very welcome here.)
all of which to say I don't know how to implement that PR-splitting suggestion in a way that seems like it will be helpful.

Some landmarks for navigating this package:

launcher.game.GameService is the entry point, and the part you looked at previously. It's a javafx.concurrent.Service because that seems to be the javafx abstraction that best fits this, as this thing that has its own lifecycle and is not itself in the tree of UI elements. Using the JavaFX-specific class seemed worth doing because JavaFX has rules about which things do and don't happen on the application thread, and using its implementation of these interfaces helps manage that.
launcher.game.GameStarter retains a lot of its responsibilities from before: It's responsible for knowing how to turn our various options in to a Process with all the right arguments. But the code responsible for monitoring the state of that process has been split out to –
launcher.game.RunGameTask, again using the javafx-specific javafx.concurrent.Task to stay on javafx's good side about how to communicate between threads. This is where we put all the gnarly details about how we decide if the game process is alive and healthy. A chief outcome of this PR is to take that logic that was scattered around GameStarter and the Controller and contain it in this nicely Task-shaped interface.

(dis)honorable mention:
StringIteratorInputStream (under src/test/): https://github.com/MovingBlocks/TerasologyLauncher/blob/666735099131769d51f7d689e9c65950d447a2cf/src/test/java/org/terasology/launcher/StringIteratorInputStream.java#L28-L32
This is a class that I'm inordinately proud I got to work, and I also fear is the worst for maintainability.
I think the way to get it to go away is to factor out this bit of RunGameTask.monitorProcess https://github.com/MovingBlocks/TerasologyLauncher/blob/666735099131769d51f7d689e9c65950d447a2cf/src/main/java/org/terasology/launcher/game/RunGameTask.java#L129-L131
that is Process → Stream<String> into something with its own interface that the tests can provide an alternate implementation of.
The fear I have about getting rid of StringIteratorInputStream is that maybe those ugly little details like "calling .available() has an invisible side-effect so calling it twice in a row behaves differently than just calling it once" will end up being somehow important as we try to deal with edge cases with subprocesses on our various supported platforms, and then we'll want this InputStream implementation we can use to simulate those cases.
Is that paranoid?

gnarf, this introduces a flaky test... may need to revert this (or fix fast to not become a problem/annoying) for other PRs...
TestRunGameTask > testSuccessEvent() FAILED
    org.opentest4j.AssertionFailedError at TestRunGameTask.java:238

QuantumRenderer: shutdown
43 tests completed, 1 failed


RUMM-2330 Generate Session Replay modes based on the JSON schemas

What does this PR do?
In this PR we are adding the necessary gradle tasks to the library:dd-sdk-android-session-replay module to be able to generate the required Session Replay Pokos based on the JSON schemas defined in the : Rum Events Format Repository.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

:exclamation: No coverage uploaded for pull request base (feature/session-replay-vo@b87afe0). Click here to learn what that means.
The diff coverage is n/a.

@@                     Coverage Diff                      @@
##             feature/session-replay-vo     #986   +/-   ##
============================================================
  Coverage                             ?   82.85%
============================================================
  Files                                ?      298
  Lines                                ?     9772
  Branches                             ?     1595
============================================================
  Hits                                 ?     8096
  Misses                               ?     1195
  Partials                             ?      481


header_rewrite: Allow for relative path to geo database files

@randall Do we want this for 9.1 as well?

Cherry-picked to v9.1.x branch.


Added rules to dangerfile

Making sure the newly added PR danger rules work correctly.

Fails

:no_entry_sign:
Please add a description to your PR.

:no_entry_sign:
Please assign someone to merge this PR, and optionally include people who should review.

  Generated by :no_entry_sign: dangerJS

Awesome, wanna also update Danger? Then instead of

we get

which is a littler bit better 👍

Awesome 👍


Need API to officially perform full page reload to an arbitrary URL

The documented way of doing this is to use raw HTML API:
$window.location.ref = '<url_here>';
However when you have $routeProvider.otherwise() setup, invoking this URL causes the new route to be instantiated, new view to be instantiated and new controllers to be instantiated.  That can cause unwanted hits on the target server concerning the setup of the $routeProvider.otherwise() route.
The closest thing I have toyed with is configuring:
$routeProvider.
    otherwise({redirectTo: function(params, currentPath, currentSearch) {
        console.log('otherwise redirectTo params=' + angular.toJson(params));
        // where is the desired target ?  is it inside this angularJS application ?
        // if not mess with the return value!
        if(magicCheck(params, currentPath, currentSearch))
            return undefined;   // inhibit route change ?
        return '/home';
    }});

But it would be much cleaner to just have official API for informing Angular JS not to instantiate a new route and view and controllers etc... when preforming a full page reload.
$location.reload(url);   // taking 'string'
This should perform clean up of current route and inhibit setup of new route, while then making the browser perform a full page reload of the new URL (there should be no restriction on the URL, external, same site outside this angular app, back into this angular app [although this does not make sense]).
My use case is that my login page is not inside angular and I intercept $http looking for HTTP/401 Unauthorized and other such Session Cookie Timeout detection to then perform a full page reload.
However it tries construct my $routeProvider.otherwise() view, which in turn uses $http, which in turn causes another unauthorized hit on the server.  Which in turn maybe intercepted to perform a full page reload (as Angular JS currently documents how to achieve this) to the external and outside of Angular JS login page.

Since html5Mode now requires a baseHref, this shouldn't be an issue anymore when navigating away from the app. I am going to close this now.
(Happy to reopen and invetigate in case I've missed something and this is still an issue. Just let me know :smiley:)

@mderazon Yes target="_self" works when you have markup.  But my request is about using an API driven full page reload, entirely code based solution.
@gkalpak So this should not be a problem now with the baseHref set, maybe I upgrade angular 1.x to latest and see.


[tr] Variables-based models

Translating into Turkish.

@basakbuluz  will do this task, so I'm closing the request. I'm going to review her translation.
Thanks!

That works, thank you to the both of you!


Update tellduslive state in actuator methods

Description:
#18780 removed self.schedule_update_ha_state() after a entity is toggled, that made HA think that the device still had the old value. I.e., when toggling a switch the switch changes state and then goes back to the old state (until the next scheduled update), this fixes that https://github.com/home-assistant/home-assistant/issues/20169#issuecomment-469895841.
Related issue (if applicable): fixes #
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

@MartinHjelmare could this make 0.89?

Ok, I've added it to 0.89 milestone.

@MartinHjelmare do you know why I need to send self.async_schedule_update_ha_state() after updating a switch?
I just came a cross the same issue with updated states with https://github.com/fredrike/home-assistant/blob/ab864c0d84427ce38f95b73bf97671e4c2b9ac90/homeassistant/components/climate/tfiac.py#L162 (after setting mode it takes until the next scheduled update for the new state to show up in HA). Is there something that I'm missing with the update?

Non polling entities need to handle state update themselves, preferably in a callback initiated by the device, but if that's not possible directly in the actuator method. For polling entities the state update is handled automatically at the end of the service call.

Hit me up on discord for more discussion.


On creating a new Query , panel-content not visible (2.1.0),

On clicking the 'New Query' navbar, the panel-content is still collapsed (display:none),  the sql_toggle glyphicon (resize-full glyphicon) is not visible.  Not able to create a new sql query

@m-libbrecht thanks for raising - not sure how I missed that.
Will have a fix out shortly.

@m-libbrecht thanks for raising - not sure how I missed that.
Will have a fix out shortly.

@m-libbrecht Install 2.1.2 for the fix 👍

@m-libbrecht Install 2.1.2 for the fix 👍


Nested Routes

Describe the bug
I have index.md which include files that are inside custom directory, however, I can get them to work on the route, for example I have (in index.md):
Controllers
- [LoginController](logincontroller)

Models
- [ExportNotionalVolume](exports/backoffice/exportnotionalvolume)

When the user navigates to Models, then clicks LoginController, the page becomes 404 not found, example of the domain links
Controllers
http://myserver.com/myproject/docs/logincontroller
##Models
http://myserver.com/myproject/docs/exports/backoffice/exportnotionalvolume
To Reproduce
Steps to reproduce the behavior:

Create route in index.md LoginController and ExportNotionalVolume
Click on [ExportNotionalVolume]
Click on [LoginController]
See error Not Found

Expected behavior
It is expected to be able to switch between Controllers and Models
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version 75.0.3770.100 (Official Build) (64-bit)

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@saleem-hadad I managed to get this running, just confirm to me if it is a bug so I can create a pull request for it.

Hi @RayanAhmadani
No, actually it's not a bug, already implemented a long time ago.
Thanks for the gesture


feat(plugin-registry): Front50 plugins storage service

Plain ol' JSON common storage service front50 implementation.  Protobuf needs a bit of extra work to get it working with this implementation.
Previous PR:  https://github.com/spinnaker/front50/pull/621

Do any of the other storage implementations besides SQL need to be updated to make this work? (I think no..)
I suspect we want a ConditionalOnProperty as to whether to expose this controller (I know we did that most recently on the DeliveryController

From what I can tell the non-SQL implementations should just work.  I'll add a ConditionalOnProperty to the PluginController.

Is this necessary?
It may be too soon (or not necessary) to add this functionality to Front50, or it may be that this manifest can be greatly simplified.

Closing for now.


Read code on specific coordinate

Hi, i really appreciate for your work on this awesome package.
But i'm facing something when scanning the code. If more than 1 or many barcode (let's say it's Code.128) print closed to each other, which barcode would be read by the camera? or this package support read code from specific coordinate on camera?

Hi !
The scanner only has a focus centered on the screen, that's why there is the possibility to add a kind of scanner red line to indicate where to place the barcode when scaning.
Unfortunatly there is no "zone" of scan and the plugin doesn't return an array of barcode neither, it will return the first barcode detected only.
Having said that, it's surely possible to return an array of barcode or specify a "scanner zone", feel free to propose a PR with the appropriate changes and we'll glad to add this feature to the plugin ! :-)
Thanks for the leaded interest for the plugin, I hope you will find a solution (or help us with a proposal of new implementation as i said above) ;-)
It's not an issue strictly speaking so I'll close it.


es2button crashes, when executed by service

I build es2button on an arch linux system. As scanner I use an Epson ES-60W. It works, when I run in manually:
$ /usr/bin/es2button /usr/share/es2button/example/merge-pdfs.sh
Using "/usr/share/es2button/example/merge-pdfs.sh" as program to call
Initializing Epson ES-60W, vid=04B8, pid=016E, bus=003, dev=016
Failed checking card scanning status
Calling script: /usr/share/es2button/example/merge-pdfs.sh
+ [[ /home/myuser = \u\n\s\e\t ]]
+ echo 'Button 1 pressed on Epson ES-60W:003:016 (VID:PID=04B8:016E)'
Button 1 pressed on Epson ES-60W:003:016 (VID:PID=04B8:016E)
+ [[ ! Yes = \Y\e\s ]]
+ echo 'Starting scan'
Starting scan
+ [[ No = \N\o ]]
+ echo 'Scanning A4 paper'
Scanning A4 paper
++ dirname /usr/share/es2button/example/merge-pdfs.sh
+ epsonscan2 -s 'Epson ES-60W:003:016' /usr/share/es2button/example/test.SF2
Corrupt JPEG data: found marker 0xd9 instead of RST5
+ echo 'Finished scan'
Finished scan
Resuming from script
Failed checking card scanning status
Calling script: /usr/share/es2button/example/merge-pdfs.sh
+ [[ /home/myuser = \u\n\s\e\t ]]
+ echo 'Button 1 pressed on Epson ES-60W:003:016 (VID:PID=04B8:016E)'
Button 1 pressed on Epson ES-60W:003:016 (VID:PID=04B8:016E)
+ [[ ! No = \Y\e\s ]]
++ date +%Y%m%d-%H%M%S
+ pdfunite /tmp/img1.pdf /tmp/20231201-082437-scan.pdf
+ rm /tmp/img1.pdf
+ exit
Resuming from script

But when the daemon is run by<EMAIL_ADDRESS>it segfaults:
$ journalctl -f
[...]
Dez 01 08:19:56 compi kernel: usb 3-3.2: new high-speed USB device number 14 using xhci_hcd
Dez 01 08:20:02 compi kernel: usb 3-3.2: device descriptor read/64, error -110
Dez 01 08:20:03 compi kernel: usb 3-3.2: New USB device found, idVendor=04b8, idProduct=016e, bcdDevice= 2.33
Dez 01 08:20:03 compi kernel: usb 3-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dez 01 08:20:03 compi kernel: usb 3-3.2: Product: Epson ES-60W
Dez 01 08:20:03 compi kernel: usb 3-3.2: Manufacturer: EPSON
Dez 01 08:20:03 compi kernel: usb 3-3.2: SerialNumber: X5RF010702
Dez 01 08:20:03 compi systemd[1]: Started ES2Button for Epson.
Dez 01 08:20:03 compi (udev-worker)[13565]: 3-3.2: Process '/usr/bin/systemctl start es2button@Epson ES\x2d60W:3:14.service' failed with exit code 5.
Dez 01 08:20:03 compi kernel: usb 3-3.2: reset high-speed USB device number 14 using xhci_hcd
Dez 01 08:20:03 compi kernel: es2button[13568]: segfault at 0 ip 00007f26886698b5 sp 00007ffca8a27b90 error 4 in libc.so.6[7f2688644000+15a000] likely on CPU 6 (core 2, socket 0)
Dez 01 08:20:03 compi kernel: Code: ec 28 49 8b 41 08 48 89 74 24 08 44 89 44 24 18 85 c9 0f 85 05 03 00 00 83 ff 01 0f 84 74 01 00 00 83 ff 24 0f 87 6b 01 00 00 <49> 0f be 14 24 49 8b 49 68 4c 89 e3 48 89 d0 f6 44 51 01 20 74 18
Dez 01 08:20:04 compi systemd[1]: Started Process Core Dump (PID 13579/UID 0).
Dez 01 08:20:04 compi systemd-coredump[13580]: [🡕] Process 13568 (es2button) of user 0 dumped core.

                                                Stack trace of thread 13568:
                                                #0  0x00007f26886698b5 n/a (libc.so.6 + 0x4b8b5)
                                                #1  0x00007f268865dbb4 atoi (libc.so.6 + 0x3fbb4)
                                                #2  0x000055626cd3fa21 main (es2button + 0x5fa21)
                                                #3  0x00007f2688645cd0 n/a (libc.so.6 + 0x27cd0)
                                                #4  0x00007f2688645d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                                #5  0x000055626cd3f6f5 _start (es2button + 0x5f6f5)
                                                ELF object binary architecture: AMD x86-64
Dez 01 08:20:04 compi systemd[1]<EMAIL_ADDRESS>Main process exited, code=dumped, status=11/SEGV
Dez 01 08:20:04 compi systemd[1]<EMAIL_ADDRESS>Failed with result 'core-dump'.
Dez 01 08:20:04 compi systemd[1]<EMAIL_ADDRESS>Deactivated successfully.
Dez 01 08:20:13 compi kernel: usb 3-3.2: USB disconnect, device number 14

I'm not sure, why. I call the same program:
$ cat<EMAIL_ADDRESS># copy this file to /etc/systemd/system/
# reload systemd services: systemctl daemon-reload
# adjust path to your es2button program that is supposed to be called
# note: your program will be executed as nobody:scanner
# make sure this uid:gid can access whatever it needs
# udev rule populates %I with the es2button device

[Unit]
Description=ES2Button for %I

[Service]
User=root
Group=scanner
Type=simple
#ExecStart=/usr/bin/es2button -d "%I" /etc/es2button/entrypoint
ExecStart=/usr/bin/es2button /usr/share/es2button/example/merge-pdfs.sh

[Install]

Could be related to #4, since the scanner reports its name as Epson ES-60W which gets converted into Epson ES\x2d60W. The space and the hyphen might through systemd off.

If you have the time (I'm not nearby my setup at the moment to test it), mind testing if the following works, adjust the systemd file in the [Service] section to be:
Environment='DEVICE=%I'
ExecStart=/usr/bin/es2button -d ${DEVICE} /etc/es2button/entrypoint

and then reloading the contents using systemctl daemon-reload.
According to the docs here: https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html
the ${} ensures that it is passed as a single argument.

It still crashes
Dez 04 12:17:28 compi kernel: usb 3-3.2: new high-speed USB device number 13 using xhci_hcd
Dez 04 12:17:33 compi kernel: usb 3-3.2: device descriptor read/64, error -110
Dez 04 12:17:34 compi kernel: usb 3-3.2: New USB device found, idVendor=04b8, idProduct=016e, bcdDevice= 2.33
Dez 04 12:17:34 compi kernel: usb 3-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dez 04 12:17:34 compi kernel: usb 3-3.2: Product: Epson ES-60W
Dez 04 12:17:34 compi kernel: usb 3-3.2: Manufacturer: EPSON
Dez 04 12:17:34 compi kernel: usb 3-3.2: SerialNumber: X5RF010702
Dez 04 12:17:34 compi systemd[1]: Starting ES2Button for Epson...
Dez 04 12:17:36 compi PackageKit[809]: daemon quit
Dez 04 12:17:36 compi systemd[1]: packagekit.service: Deactivated successfully.
Dez 04 12:17:44 compi kernel: usb 3-3.2: USB disconnect, device number 13
Dez 04 12:17:49 compi systemd[1]: Started ES2Button for Epson.
Dez 04 12:17:49 compi (udev-worker)[4973]: 3-3.2: Process '/usr/bin/systemctl start es2button@Epson ES\x2d60W:3:13.service' failed with exit code 5.
Dez 04 12:17:49 compi (udev-worker)[4973]: 3-3.2: Process '/usr/bin/setfacl -m g:saned:rw /dev/bus/usb/003/013' failed with exit code 1.
Dez 04 12:17:49 compi kernel: es2button[5020]: segfault at 0 ip 00007fa3d28698b5 sp 00007ffcf27e0fd0 error 4 in libc.so.6[7fa3d2844000+15a000] likely on CPU 3 (core 3, socket 0)
Dez 04 12:17:49 compi kernel: Code: ec 28 49 8b 41 08 48 89 74 24 08 44 89 44 24 18 85 c9 0f 85 05 03 00 00 83 ff 01 0f 84 74 01 00 00 83 ff 24 0f 87 6b 01 00 00 <49> 0f be 14 24 49 8b 49 68 4c 89 e3 48 89 d0 f6 44 51 01 20 74 18
Dez 04 12:17:49 compi systemd[1]: Started Process Core Dump (PID 5029/UID 0).
Dez 04 12:17:49 compi systemd-coredump[5031]: [🡕] Process 5020 (es2button) of user 0 dumped core.

                                               Stack trace of thread 5020:
                                               #0  0x00007fa3d28698b5 n/a (libc.so.6 + 0x4b8b5)
                                               #1  0x00007fa3d285dbb4 atoi (libc.so.6 + 0x3fbb4)
                                               #2  0x000055ed08aa5a21 main (es2button + 0x5fa21)
                                               #3  0x00007fa3d2845cd0 n/a (libc.so.6 + 0x27cd0)
                                               #4  0x00007fa3d2845d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                               #5  0x000055ed08aa56f5 _start (es2button + 0x5f6f5)
                                               ELF object binary architecture: AMD x86-64
Dez 04 12:17:49 compi systemd[1]<EMAIL_ADDRESS>Main process exited, code=dumped, status=11/SEGV
Dez 04 12:17:49 compi systemd[1]<EMAIL_ADDRESS>Failed with result 'core-dump'.
Dez 04 12:17:49 compi systemd[1]<EMAIL_ADDRESS>Deactivated successfully.

$ cat<EMAIL_ADDRESS># copy this file to /etc/systemd/system/
# reload systemd services: systemctl daemon-reload
# adjust path to your es2button program that is supposed to be called
# note: your program will be executed as nobody:scanner
# make sure this uid:gid can access whatever it needs
# udev rule populates %I with the es2button device

[Unit]
Description=ES2Button for %I

[Service]
User=root
Group=scanner
Type=simple
Environment='DEVICE=%I'
#ExecStart=/usr/bin/es2button -d "%I" /etc/es2button/entrypoint
ExecStartPre=/bin/sleep 15
#ExecStart=/usr/bin/es2button -d "%I" /usr/share/es2button/example/merge-pdfs.sh
ExecStart=/usr/bin/es2button -d ${DEVICE} /usr/share/es2button/example/merge-pdfs.sh

[Install]
WantedBy=multi-user.target
[12:19:04 toff ~]$

Hmm :(, I can test this myself this evening.
My other suspicion is the udev rule:
https://github.com/janrueth/es2button/blob/main/resources/udev-es2button.rules#L13
This might also need some quotes:
PROGRAM="/bin/systemd-escape '%s{product}:%s{busnum}:%s{devnum}'"

Yeah, that alone seems to fix it. Let me put up a PR to change this

https://github.com/janrueth/es2button/pull/5

Should be fixed with the most recent release


Development version (2.0rc1) of Wireshark.

According to the developer, this is the version OSX users should "try first".
Unlike version 1, does not depend on X11.

When an App is only available as beta, development, or unstable versions, or in cases where such a version is the general standard, then said version can go into the main repo..
Which means this must be renamed to wireshark and the current cask moved to the versions repo.

So we'll basically do a swap of the WireShark casks then? There is a 2.0.0rc1 cask in the versions repo.

So we'll basically do a swap of the WireShark casks then? There is a 2.0.0rc1 cask in the versions repo.

Yep, sounds about right. The version there has a better url, even.

Thank you, @francescomalandrino, but doing the changes in different PRs, for easiness.


Header styling

A few discrepancies between the header on the original site and the AEM version:

[ ] The navigation links are too high up and are obstructed by the logo:

[ ] The text content of the partner site links should be trimmed down on a lower resolution breakpoint and the word wrap is a bit messed up:

[ ] The social media icons are at a different height (might not be an issue):

Not sure I agree with the second one. The word wrap was introduced due to this experience on the live site:

The social media icons are at a different height (might not be an issue):

yeah, that was intentional too, as you can see from the previous comment, they are also more vertically aligned to center in the new site.


Is iai still maintained?

Critical bug fixing pull requests like https://github.com/bheisler/iai/pull/35 are not merged since June, is this project still active?
If not, can we help somehow?

Hey there,  I've created a iai-inspired library (that uses Callgrind instead) some time ago: https://github.com/osiewicz/calliper - I hope this is not seen as advertisement, though it gives a bit more control over the execution of a benchmark


Missing installation

Since we cannot install the package right now, you have to run it in the root directory of the repo.
You should use the following (ugly) code in evaluate.py to enable running in other directories:
import sys
import os
import inspect
cmd_folder = os.path.realpath(os.path.abspath(os.path.split(inspect.getfile( inspect.currentframe() ))[0]))
cmd_folder = os.path.realpath(os.path.join(cmd_folder, ".."))
if cmd_folder not in sys.path:
    sys.path.insert(0,cmd_folder)

Tanks. Fixed that


if we can create an installation for Mac OS

Sorry，there are currently no plans to support it, more systems may be supported after the ubuntu version is more stable. :)

在MacOS上可以使用PIP安装
直接clone项目并sudo pip3 install ./jittor进行安装。
[Desktop] python3
Python 3.7.4 (default, Oct  9 2019, 06:58:09)
[Clang 11.0.0 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import jittor
>>> dir(jittor)
['__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__']
>>>

也可以在MacOS上使用docker来进行安装。

Jittor supports macOS now, on both intel and M1 platform. The install instruction is provided in README.
Mac users can have a try, and are welcomed to open issues when encountering any problems.


Line numbers should be enabled for current cell and subsequent cells when turned on

In the normal Jupyter notebooks, we can add line numbers by pressing the L key after selecting the cell. All the subsequent cells for that notebook will have line numbers automatically.
But this is missing in VSCode. Every time a new cell is created, we need to select the cell and press the L key to enable the numbering for that cell which is very tiresome.
Is there a way to automatically enable line numbering for all the cells in the VSCode Jupyter notebook?
Thank you.

Thanks for the feedback @gowrishankarnath. We will consider adding this in a future release.

@greazer , thank you for considering adding this in the future. This feature is indeed desired by the VSCode data science community.


Add Indonesian Deno resource

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s)
For resources
Description
Deno ebook in Indonesian
Why is this valuable (or not)?
Because this is first resource talk about deno in indonesian in this repo
How do we know it's really free?
Its free hosted on github
For book lists, is it a book? For course lists, is it a course? etc.
Book (PDF)
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

Thanks!


[Feature Request] onStreamError in WebSocketLink

My app requires users to connect to networks that don't have internet access. When the user has internet access but then changes to one of these offline networks, the connection times out, but the native connection listeners aren't consistently notified of a change.
I was hoping you might expose the SocketClient's 'onStreamError' property inside of the WebSocketLink class so that I might handle the timeout on my own turf.

So, in other work do you want to have the possibility to increase the timeout on failure?
Exposing the client it is something that we can do, but I was thinking that maybe this can be done from the WebSocketLink, what do you think?

Actually I change some of my app's functionality once I've detected that they're offline, mainly to fall back to cached data rather than try to query and block certain pages that only work online. But like I said, the native connectivity APIs aren't as reliable as I'd like them to be so I'd like to be able to be able to listen for errors as a backup.
Absolutely! I think an optional parameter for WebSocketLink and then it would pass it to SocketClient in the connectOrReconnect function would be perfect.

I will start to think on it and maybe propose a solution.
For the moment I will put this inside the 5.1.0 release, but it could be change
Thanks to propose this change

Awesome! Thank you for the consideration.

I think this is fixed in last beta version., try it.


⚠ Turnos 24x7 has degraded performance

In ce85d3b, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 961 ms

Resolved: Turnos 24x7 performance has improved in 0573407.


math/Vector: should coordinates be only integers?

Currently Vector accepts numbers as coordinates. In particular, this can cause weird edge cases as typeof Infinity === "number", as well as with floats.

Check that all Vector operations make sense with floating point numbers too
Exclude exotic values like Infinity

The math module has been removed for now, rendering this moot.


Add Excel EDate and EOMonth functions

✅ No public API change.

✅ No public API change.

✅ No public API change.

✅ No public API change.

✅ No public API change.


Handle send errors

Currently, as a user when trying to send some asset then changing my mind, I can see a toast with copy:

%{asset} sent as a header
Something went wrong as a message

What I would like to see is what went wrong.
Metamask throws this on transaction declined by user:
{
    "code": 4001,
    "message": "MetaMask Tx Signature: User denied transaction signature."
}

Questions:

Is it possible to handle them in chain-adapters similar to swap errors? Yes, it is ✅
If the answer to 1. is yes, should the errors be chain-agnostic or do we want to handle metamask ones specifically? Either way, we should investigate all the possible error codes.

Errors are originally thrown in https://github.com/shapeshift/hdwallet/blob/master/packages/hdwallet-metamask/src/ethereum.ts#L86 in the following shape:
{
    "code": 4001,
    "message": "MetaMask Tx Signature: User denied transaction signature.",
    "stack": "{\n  \"code\": 4001,\n  \"message\": \"MetaMask Tx Signature: User denied transaction signature.\",\n  \"stack\":
}

https://docs.metamask.io/guide/ethereum-provider.html#errors
Since we build the requests ourselves and they should be valid, I don't think it makes sense to handle the "Internal error" and "Invalid params" errors, we can throw in https://github.com/shapeshift/lib/blob/main/packages/chain-adapters/src/ethereum/EthereumChainAdapter.ts#L214 (as we already do) and handle this specific error Error signing & broadcasting tx' in the useFormSend error toast (https://github.com/shapeshift/web/blob/develop/src/components/Modals/Send/hooks/useFormSend/useFormSend.tsx#L100) for now.

resolved.


Feat/polling block tracking

Fixes #105 and #110
This PR removes the dependency on MetaMask's Eth-Block-Tracker. Instead, it uses simple RxJS to repeatedly call web3.eth.getBlock() when appropriate.

I have tested this with the following 4 combinations:

Web3.js 1.0.0-beta.37 w/ Infura
Web3.js 1.0.0-beta.37 w/ Ganache
Web3.js 1.0.0-beta.55 w/ Infura
Web3.js 1.0.0-beta.55 w/ Ganache


Footer being sticky #438

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes # <438>

Mark the task you have completed ✅

[x ] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.

[ x] I have performed a self-review of my own code or work.

[ x] I have commented my code, particularly in hard-to-understand areas.

[ x] My changes generates no new warnings.

[ x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE

[ x] I have added screenshot for website preview in assets/images

[ x] I have added entries for my game in main README.md

[ x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

@kunjgit
Thank you soo much for contributing to our repository 💗

Thank you @shishiro26 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @shishiro26 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


feat: add feature gate

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage

/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes (https://github.com/openyurtio/raven/issues/95)
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

/lgtm

/approve


Spherical Collapse gravity test currently failing

The tGRAVITYSYSTEMSphericalCollapse.CorrectInputExpectCorrectOutput and tPARTICLESSYSTEMSphericalCollapse.CorrectInputExpectCorrectOutput system tests are currently failing on dev. Tested on C-3PO

PR #223 should fix this.

It looks like PR #223 fixed the gravity test but not the particles test