Remove HyperdriveTarget4 and HyperdriveTarget5

Description
This PR removes HyperdriveTarget4 and HyperdriveTarget5 since those targets were no longer needed after making LPMath an external library. In addition to removing these targets, the PR also adds getNumberOfTargets() to the IHyperdriveDeployerCoordinator interface so that it is easy to figure out how many times to call deployTarget when deploying new instances through the factory.
Review Checklists
Please check each item before approving the pull request. While going
through the checklist, it is recommended to leave comments on items that are
referenced in the checklist to make sure that they are reviewed. If there are
multiple reviewers, copy the checklists into sections titled ## [Reviewer Name].
If the PR doesn't touch Solidity and/or Rust, the corresponding checklist can
be removed.
@jrhea

[ ] Tokens

[ ] Do all approve calls use forceApprove?
[ ] Do all transfer calls use safeTransfer?
[ ] Do all transferFrom calls use msg.sender as the from address?

[ ] If not, is the function access restricted to prevent unauthorized
token spend?

[ ] Low-level calls (call, delegatecall, staticcall, transfer, send)

[ ] Is the returned success boolean checked to handle failed calls?
[ ] If using delegatecall, are there strict access controls on the
addresses that can be called? It shouldn't be possible to delegatecall
arbitrary addresses, so the list of possible targets should either be
immutable or tightly controlled by an admin.

[ ] Reentrancy

[ ] Are functions that make external calls or transfer ether marked as nonReentrant?

[ ] If not, is there documentation that explains why reentrancy is
not a concern or how it's mitigated?

[ ] Gas Optimizations

[ ] Is the logic as simple as possible?
[ ] Are the storage values that are used repeatedly cached in stack or
memory variables?
[ ] If loops are used, are there guards in place to avoid out-of-gas
issues?

[ ] Visibility

[ ] Are all payable functions restricted to avoid stuck ether?

[ ] Math

[ ] Is all of the arithmetic checked or guarded by if-statements that will
catch underflows?
[ ] If Safe functions are altered, are potential underflows and
overflows caught so that a failure flag can be thrown?
[ ] Are all of the rounding directions clearly documented?

[ ] Testing

[ ] Are there new or updated unit or integration tests?
[ ] Do the tests cover the happy paths?
[ ] Do the tests cover the unhappy paths?
[ ] Are there an adequate number of fuzz tests to ensure that we are
covering the full input space?

@mcclurejt

[ ] Tokens

[ ] Do all approve calls use forceApprove?
[ ] Do all transfer calls use safeTransfer?
[ ] Do all transferFrom calls use msg.sender as the from address?

[ ] If not, is the function access restricted to prevent unauthorized
token spend?

[ ] Low-level calls (call, delegatecall, staticcall, transfer, send)

[ ] Is the returned success boolean checked to handle failed calls?
[ ] If using delegatecall, are there strict access controls on the
addresses that can be called? It shouldn't be possible to delegatecall
arbitrary addresses, so the list of possible targets should either be
immutable or tightly controlled by an admin.

[ ] Reentrancy

[ ] Are functions that make external calls or transfer ether marked as nonReentrant?

[ ] If not, is there documentation that explains why reentrancy is
not a concern or how it's mitigated?

[ ] Gas Optimizations

[ ] Is the logic as simple as possible?
[ ] Are the storage values that are used repeatedly cached in stack or
memory variables?
[ ] If loops are used, are there guards in place to avoid out-of-gas
issues?

[ ] Visibility

[ ] Are all payable functions restricted to avoid stuck ether?

[ ] Math

[ ] Is all of the arithmetic checked or guarded by if-statements that will
catch underflows?
[ ] If Safe functions are altered, are potential underflows and
overflows caught so that a failure flag can be thrown?
[ ] Are all of the rounding directions clearly documented?

[ ] Testing

[ ] Are there new or updated unit or integration tests?
[ ] Do the tests cover the happy paths?
[ ] Do the tests cover the unhappy paths?
[ ] Are there an adequate number of fuzz tests to ensure that we are
covering the full input space?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

21 of 21 (100.0%)  changed or added relevant lines in 5 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.08%) to 93.235%

Files with Coverage Reduction
New Missed Lines
%

contracts/src/factory/HyperdriveFactory.sol
1
99.16%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
1833

Relevant Lines:
1966

💛  - Coveralls


dtest for CASSANDRA-12689

See here https://issues.apache.org/jira/browse/CASSANDRA-12689

Forgot to remove this, had problem with my local (MacOS) JAVA installation:
    expected_error = (r".*Class JavaLaunchHelper is implemented in both")
    self.ignore_log_patterns = [expected_error]

Overall looks very nice, but I left a few nits

Is it ok like that?

If you could add blank line at the end of the file, then +1. Thanks!

Hm check the last commit (405ea00). There is a blank line.

Huh, the github UI must have been misleading me. +1

CASSANDRA-12689 has been committed, so I believe this should be ready to merge.  I'll let you guys take care of that just to be safe.


NMS.GEN.LOG.009 - IVR Interaction logging

NMS system shall log all interactions with IVR including but not limited to the following:

Incoming Call
Outgoing Call
Outgoing SMS
Bookmark information
Other Message Exchanges

Need to think about how we do this without logging PII.

I'm assuming that LOGGER.info("xxx") is what's needed and will proceed to verify all locations in the code that interact with IMI have such a LOGER.info statement.
Good enough?

And will make sure to hide phone numbers, which are the only PII we have, right?

Actually I think what's intended by this ticket is logging the interactions in the DB. @larubbio?
-----Original Message-----
From: "Frank Huster"<EMAIL_ADDRESS>Sent: 6/3/2015 3:57 PM
To: "motech-implementations/mim"<EMAIL_ADDRESS>Cc: "Lauren Lavoie"<EMAIL_ADDRESS>Subject: Re: [mim] NMS.GEN.LOG.009 - IVR Interaction logging (#141)
And will make sure to hide phone numbers, which are the only PII we have, right?
—
Reply to this email directly or view it on GitHub.

I do think it is meant to log to the DB but that doesn't have to be the case.  We could also log one line per-interaction to an ivr.log file.  The trouble with that is that there is no plan for pulling and aggregating log files.
I assume we'll have a table that tracks API calls from/to the IVR.  So we should intercept each of the calls in the API layer and log the call id if we have it, the api that was called, maybe the api start and end time as well as the ultimate result.  This will be tricky with exceptions, so we may need to create a call specific state object that we can log at the end of each api method or in the exception handler.
For calls we make to the IVR I think the logging will be easier.
I think this was meant to help the operations team, so we may want to check with them to see if they will use it.

so we may want to check with them to see if they will use it.
Should I wait on this ticket until we hear from the ops team?
How do we ask the ops team?
Feeling useless...

We could try asking Abhishek who would be the appropriate person to ask at
Aricent?
On Thu, Jun 4, 2015 at 10:10 AM, Frank Huster<EMAIL_ADDRESS>wrote:

so we may want to check with them to see if they will use it.
Should I wait on this ticket until we hear from the ops team?
How do we ask the ops team?
Feeling useless...
—
Reply to this email directly or view it on GitHub
https://github.com/motech-implementations/mim/issues/141#issuecomment-108978355
.

--
Lauren Lavoie
Software Development Manager, Mobile Health Innovations
Grameen Foundation
2101 4th Ave | Suite 1550 | Seattle, WA 98121
206-325-6690 ext 254
<EMAIL_ADDRESS>| Skype:laurenlavoie
Facebook http://www.facebook.com/StopPovertyNow│Twitter
http://twitter.com/grameenfdn│YouTube
http://www.youtube.com/user/grameen?blend=6&ob=5 | www.motechsuite.org
Connecting the World's Poor to Their Potential

Cool, can someone who is physically in the office ask him?
On Thu, Jun 4, 2015 at 10:28 AM, Lauren Lavoie<EMAIL_ADDRESS>wrote:

We could try asking Abhishek who would be the appropriate person to ask at
Aricent?
On Thu, Jun 4, 2015 at 10:10 AM, Frank Huster<EMAIL_ADDRESS>wrote:

so we may want to check with them to see if they will use it.
Should I wait on this ticket until we hear from the ops team?
How do we ask the ops team?
Feeling useless...
—
Reply to this email directly or view it on GitHub
<
https://github.com/motech-implementations/mim/issues/141#issuecomment-108978355
.

--
Lauren Lavoie
Software Development Manager, Mobile Health Innovations
Grameen Foundation
2101 4th Ave | Suite 1550 | Seattle, WA 98121
206-325-6690 ext 254
<EMAIL_ADDRESS>| Skype:laurenlavoie
Facebook http://www.facebook.com/StopPovertyNow│Twitter
http://twitter.com/grameenfdn│YouTube
http://www.youtube.com/user/grameen?blend=6&ob=5 | www.motechsuite.org
Connecting the World's Poor to Their Potential
—
Reply to this email directly or view it on GitHub
https://github.com/motech-implementations/mim/issues/141#issuecomment-108982878
.

--
Frank Huster
Mobile Health Innovations
Grameen Foundation
+1.206.325.6690 x201

Abhishek wasn't sure whether anyone would need it (although it would likely be the L3 support folks if anyone -- which will be GF + Aricent jointly for the first few months). He thought we should route the question through Pankaj.

OK, do we have a "waiting for Pankaj" label?
On Thu, Jun 4, 2015 at 10:38 AM, Lauren Lavoie<EMAIL_ADDRESS>wrote:

Abhishek wasn't sure whether anyone would need it (although it would
likely be the L3 support folks if anyone -- which will be GF + Aricent
jointly for the first few months). He thought we should route the question
through Pankaj.
—
Reply to this email directly or view it on GitHub
https://github.com/motech-implementations/mim/issues/141#issuecomment-108986570
.

--
Frank Huster
Mobile Health Innovations
Grameen Foundation
+1.206.325.6690 x201

So after discussing with everybody (including @pankajnagpal30) in the office, we decided to use debug logging with care to remove all PII


Cargo fix lockfile

There was a small mistake with the version bump, the version of netbox2netshot also needs to be bumped in the cargo.lock file

ping @Frazew

woops sorry indeed, I acted too fast, fixed! (and I also just noticed that this was a brand new PR, not a comment on #15, I'll close it then)

okay, thanks for the fix :heart:

Opend a pr in nixpkgs https://github.com/NixOS/nixpkgs/pull/236116


Help with EMD details

Hello Seth,
I am using pyemd as you posted, but I have some doubts about the EMD calculation.
Did you use emd or emd_samples ?.
If it is emd, what distance matrix did you use?, and if it is emd_samples, how many bins ?
Thanks!

Hi,
I used emd and the distance matrix was calculated to reflect euclidean distance. I simply created a NxN matrix as in the following:
    distance_matrix = np.zeros((N**2,N**2))
    for x1 in range(N):
      for y1 in range(N):
        for x2 in range(N):
          for y2 in range(N):
            d = distance_fnc((x1, y1), (x2,y2))
            X = x1*N + y1
            Y = x2*N + y2
            distance_matrix[X,Y] = d
    assert np.sum(distance_matrix - distance_matrix.T) == 0 #distance matrix should be symmetric

The distance_fnc in the code snippet computes the euclidean distance between the two points, but you can change it into any metric you want (i.e. manhattan, squared, etc.).

Thanks, i will try to replicate the results!


Timeline Jump Stack

Adds a stack for timeline jumping, and option on the Jump event to return to the timeline after completing the timeline jumped to. Once reaching the end of a timeline, it will check the stack, and take the top one off if there's still more on the stack, and only call end_timeline() once the stack is empty
For example, take the following three timelines:

Running the timeline from sub1.dtl will then have the timleine events play in this order:
base 1
base 2
sub 1
sub 2
sub sub 1
sub sub 2
sub sub 3
sub sub 4
sub 3
sub 4
base 3
base 4

fix for #1270 by just removing the duplicate() from  get_event(). nothing using this function has any reason to actually duplicate the event

back out of draft now with the bug fix included


ImageController break up methods to prepare for CRUD

Another smallish PR, one of a series to reduce file changes in the upcoming ImagesController CRUD to facilitate review.
This mostly breaks up long methods for comprehensibility and ABC.
@JoeCohen I'd really appreciate your read-through here, if you have time.  Everything's still in the same file.
The CRUD refactor PR will split up the controller, but the method changes there should be pretty minor.

Coverage increased (+0.008%) to 92.57% when pulling 29502e95606be0cf402d50712ff6a0df7088760e on nimmo-image-controller-ABC into 01ab9ae64f22a24fe532b442c81238c22b0fba92 on master.

@nimmolo:

When this gets divided up, consider a reuse controller instead of a reuse action.
I'm out of steam for tonite. Will continue review tomorrow.


[PE-D] Unclear steps to follow to use LinkyTime

The steps given in the Using LinkyTime section ask us to add modules, meetings, etc. but there's no format given on how I can do that.
Perhaps you could add an example command like madd n/CS2103T or relevant ones for each step to make it more user-friendly?

Labels: severity.Medium type.DocumentationBug
original: ckcherry23/ped#1

Add hyperlinks to the command but no examples needed here


use of undeclared type Camera2dBundle (and CameraUiBundle)

Hi -- I'm trying to basically draw something to the window and am pasting over code from the 'breakout' example to try to achieve this.
However, when I try this:
commands
    .spawn(Camera2dBundle::default())
    .spawn(CameraUiBundle::default())

I get this error:
[Running 'cargo check']
    Checking cells v0.1.0 (/home/mycomputer/work/home/rust/bevy/cells)
error[E0433]: failed to resolve: use of undeclared type `Camera2dBundle`
  --> src/main.rs:92:16
   |
92 |         .spawn(Camera2dBundle::default())
   |                ^^^^^^^^^^^^^^ use of undeclared type `Camera2dBundle`

error[E0433]: failed to resolve: use of undeclared type `CameraUiBundle`
  --> src/main.rs:93:16
   |
93 |         .spawn(CameraUiBundle::default());
   |                ^^^^^^^^^^^^^^ use of undeclared type `CameraUiBundle`

I'm trying to work out how to use those structs but I'm failing so far -- any advice would be greatly appreciated!
Cheers,
Doug.

you should use bevy::prelude::*;, this will import most of the things you'll need to use bevy 👍

Cheers -- I should've made it clear in my snippet but I have that at the top of the code.
I also tried use bevy_render::prelude::* and all sorts of variations on that theme, too -- all to no avail.
I suspect this might be some Cargo black magic in the bevy repo. I've tried pasting over relevant-looking bits to my own Cargo.toml but nothing has worked, so far.

What version of bevy are you using?
In 0.3 those are still called Camera2dComponents/UiCameraComponents instead of *Bundle.
https://docs.rs/bevy/0.3.0/bevy/prelude/struct.UiCameraComponents.html
https://docs.rs/bevy/0.3.0/bevy/prelude/struct.Camera2dComponents.html

Ah-ha! That'll be it -- thank you!
So would you recommend using the latest git commit, generally?
I'm pulling out bits of the examples so maybe that would be best.
And thanks again, man, that's really a massive help.
Doug.

___  .Is•+@94"
S se s tdr p d hque de
Cv4@0T sa eYxz  de de enx
LT  ****fotki
kbo********3g
Orla
:
Swso9dsx was ssj

Se vm DK

So would you recommend using the latest git commit, generally?

Use whichever examples that align with the version or git commit specified in your Cargo.toml.
For 0.3, there is a git tag with a similar name https://github.com/bevyengine/bevy/tree/v0.3.0/examples.
Additional instructions are in the examples readme,
https://github.com/bevyengine/bevy/tree/master/examples#-note-for-users-of-releases-on-cratesio.
Note: 0.4 will likely release sometime later today :)

Think I'll be jumping to 0.4 then -- cheers again!


drawable statelist_item_background.xml causes griditems to vanish

I added the drawable statelist_item_background.xml used in the repo to the drawable folder but after doing this I now do not see any grid items render. Any ideas?

If its exact one from the repo then I've no idea. It works fine for me. Make sure your on the latest Xamarin forms stable.

Latest Xamarin forms already installed, I will continue investigation.

Found a fix, I failed to supply a rowheight parameter which has now fixed it.


Plugin dependencies bug

Hi, @marcusolsson
I found bug in your validator
In my case i have message: dependencies.plugins.0: Invalid type. Expected: string, given: object
But documentation says, that it should be object
When i restarted grafana with plugin.dependencies like string, i have errors in grafana-logs like
t=2021-01-21T10:13:20+0000 lvl=eror msg="Failed to load plugin" logger=plugins error="json: cannot unmarshal string into Go struct field PluginDependencies.dependencies.plugins of type plugins.PluginDependencyItem" pluginPath=/var/lib/grafana/plugins/devopsprodigy-kubegraf-app/dist

Thank you for reporting this! I'll look into this today

This is weird. It works if I run the CLI locally 🤔

The bug was due to a config issue in the web app rather than the validator. Should be working on. Thanks for reporting this 🙏


Rename Workshops into Working Sessions

That is a better name to represent what will happen and it is the name we used at the last Summit

Rename done in menu and main Working Sessions page


INTF Refactor deserialize

Deserialization is similar to serialization now.
(Also in preparation for AJSON deserialize).
Some protected methods have been made final.
issue #5658

@larshp, @albertmink, can you please review.

Can this be merged or are there any issues to fix?

ah, one more thing:
@schneider-michael agreed to review before we merge.

One integration test for interfaces fails, currently

fixed

Is this now ready for merge @schneidermic0  and @larshp ?


[TR#136] Remove warning + no border state for button

Task
TR #136
Why?
This is not a combo designers recommend and should never be used. Our code shouldn’t allow for this.
The delete button is already preventing its combo in this regard so we should update Warning to do the same.
What Changed

[X] Remove no border state for warning button

Sanity Check

Have you updated any usage of changed tokens?
[X] Have you updated the docs with any component changes?
Have you updated the dependency graph with any component changes?

[X] Have you tried building the css?
[X] Have you tried building storybook?
Do you need to update the package version?

 Remove no border warning variant + modifier combo


Re-adding a removed Indicator leads to crash

fastScrollIndexIndicator = new CustomIndicator(this);
materialScrollBar.addIndicator(fastScrollIndexIndicator, true);
materialScrollBar.removeIndicator();
materialScrollBar.addIndicator(fastScrollIndexIndicator, true);

java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first

Looking at the source it also looks that only a single Indicator is possible. Maybe the method should be renamed to setIndicator?

removing a Indicator while it is visible also makes it visible forever. I would expect that a removed indicator becomes invisible/gone/removed from the ui


Go Report Card result D

https://goreportcard.com/report/github.com/bytedance/sonic#gofmt

Most of the report are code-style "issues", in fact, I consider none of them as "issues". Programs are suppose to be readable by human, not machine.
We will fix those non-code-style issues.
Also, JIT engine is no regular Go code, linting them with regular rules might not be a good idea.


Proofread and edit key docs

This PR includes numerous edits for readability and accuracy to several key docs pages, corresponding to a proposed 3 weights.

Thanks. There is a conflict but I'll resolve it.

Fixed the conflict, and caught a typo (mine) while doing so. Thanks!

Thanks. Merging.


Document the project approach, including methodologies or frameworks.

Related to #11

Started with discussing the approach among team members to understand the technical stack everyone would be convenient with and document the methodologies/framework we would be incorporating from Sprint-2.

This is now finalized and added to Readme file


DCR: Add ability to create a ConversationReference from a TurnContext + ResourceResponse

From @benbrown on October 29, 2018 20:0
SendActivities returns an array of ResourceResponses.
These ResourceResponses contain the activity id, which is a key value needed to call updateActivity or deleteActivity in the future. However, ResourceResponse does not necessarily contain all of the information required to construct a ConversationReference needed to actually call these methods.
Since the type of messages that will be deleted or updated are most likely to be those sent by the bot itself, we need to provide an easy to use method that takes a ResourceResponse returned from sendActivity and combines it with a TurnContext to create a reusable (and data-complete) ConversationReference.
Copied from original issue: Microsoft/botbuilder-js#586

@benbrown , please ping @johnataylor  once you are done with this.

@johnataylor see attached PR on the Javascript repo! Turned out to be a very simple little function.
NOTE: The emulator does not support the update or delete activity methods, making this tricky to test.

Re-opening so that we can track the c# version!


Proving that a user transmitted money using historic access library

At the London offsite we worked on a Campaign contract. In the Campaign contract we emit a ValueNote containing an info of how much a donor has contributed to a given campaign so that later on it can be used to prove that a user did that when claiming a "reward"/"DAO" token.
We emit the ValueNote because we currently don't have a way to prove in the historic access library that a user transmitted a given note to a given address (e.g. that a user transmitted 1000 USDC to the campaign).
Extending the historic access library to support this is a bit tricky. One way to do this is to do the following (proving that user A donated 1000 USDC to a campaign):

Prove that a user nullified his own notes worth 1000 USDC in a given transaction (prove that the nullifier was in a given TxEffect - we don't have this feature yet but we could implement that once the block hashing is updated)
prove that the USDC note was inserted to a given campaign contract in the given tx (prove that there is a note hash corresponding to the 1000 USDC note which is being owned by the campaign in the given TxEffect).

The issue with this approach is that it's insecure because we don't ensure that it's really the user which sent the notes to the Campaign contract and instead the following could happen:

In a tx a user sends his notes worth 1000 USDC to whichever address (the notes get nullified),
in the same tx some contract B sends 1000 USDC notes to the Campaign.

This way, then a user could claim tokens on behalf of contract B.
One way to achieve this securely we would have to prove that a given function was really executed with given parameters. We currently don't have sufficient information in TxEffects to be able to do this and we would have to add some kind of commitment to the effects (probably a commitment to the callstack item). Pain.
Another way to achieve this securely is to modify the Token contract such that its notes contain a from: AztecAddress field. Then a user could prove that a note was inserted and that the user was really the person who sent it. The main issue with this is that it would increase the data availability costs. Another issue is that this would reveal to the note recipient who is the sender. This can be easily worked around by hashing the from address with randomness and storing this value in the note. Then a user would prove that part of the  preimage of the  from field is his address.
I have doubts this is a sufficiently valuable use case to bother with but I feel like it should be discussed.

We emit the ValueNote because we currently don't have a way to prove in the historic access library that a user transmitted a given note to a given address (e.g. that a user transmitted 1000 USDC to the campaign).

FWIW, the current impl of the archive tree leaks privacy. We have limited a contract from reading another contract. Need to do the same silo for the archive tree - https://github.com/AztecProtocol/aztec-packages/issues/3208#issuecomment-1980524536
So now this won't be possible. This creates a bigger reason for creating what you desire.

Modify the Token contract such that its notes contain a from: AztecAddress field.
Am concerned that now the note would have an owner and from and the key to the balancesMap would also be an owner. Will be confusing but also this breaks if we add silo to the archive tree.

Closing as it's outdated


Added force flag to delete cargo

Added force flag to delete cargo cli command / daemon api
https://github.com/nxthat/nanocl/issues/131

Thx!


Looking for maintainer?

Hi @Nyholm
It looks like your lacking of time for maintaining this repository.
We didn't heard from you since February on #29.
If needed, I can help on this package.
For example, I'll be glad to work on a v2 based on symfony/http-client.
Is it something which is in your plan or should I create a dedicated fork?
Thanks in advance for your answer!

Hey.
Thank you for reaching out. That would be great to have you as a maintainer.
About symfony/http-client, Have you seen the HTTPlug adapter?

Thanks for the access! :+1:
I saw this adapter but I'm pretty sure symfony/http-client will be widely used very fast and it's way simpler to use the httplug IMO.
Some stats right now:

397 packages depends on php-http/httplug
51 packages depends on symfony/http-clients.

Let's see how it evolves in the future, releasing a v2.0 is not a high priority anyway as this one works very well. :)

Yeah, and you also have to add these 150 packages that depends on psr/http-client: https://packagist.org/packages/psr/http-client
=)

Well, I guess we really have time before considering moving to symfony/http-client, let's forget it for now. :)


Syntax coloring problem using VS2013 Dark Theme

Using syntax coloring in VS2013 dark theme, methods and module functions are coloured black, so not quite visible. See attached image:

Are you able to set proper colors in this dialog?

Are you able to set proper colors in this dialog?

What VS updates do you have in your installation?
Not sure why this happens, but you can fix this by setting appropriate colors for "F# Functions / Methods" Display item.

What VS updates do you have in your installation?
Not sure why this happens, but you can fix this by setting appropriate colors for "F# Functions / Methods" Display item.

I'll do that thanks. When it remains a problem I will come back to that.


Relation of IDS Identities with other Identity Patterns

There is a discussion going on in the ThinkTank about the next generation of identities:
https://github.com/International-Data-Spaces-Association/IDS-ThinkTank/issues/21
https://github.com/International-Data-Spaces-Association/IDS-ThinkTank/issues/25
https://github.com/International-Data-Spaces-Association/IDS-ThinkTank/issues/15
(and more that I may have missed).
Furthermore, see:
https://github.com/International-Data-Spaces-Association/IDS-ThinkTank/tree/main/ids-daps-vc and
https://github.com/International-Data-Spaces-Association/IDS-ThinkTank/tree/main/ids-daps-federation

@gbrost and @gboege are you aware of any activities which continue the discussion here? If not, I would regard this issue as stale and close it therefore.

There is intensive work in context of DSBA Technical coherence in FIWARE.
Latest Master document of DSBA Technical coherence v2.0 (Gaia-X, IDSA, FIWARE, BDVA):
https://data-spaces-business-alliance.eu/wp-content/uploads/dlm_uploads/Data-Spaces-Business-Alliance-Technical-Convergence-V2.pdf
Brief presentation of the IAM Framework:
https://docs.google.com/presentation/d/1j-eSF62V0AvwM1OeIcokM8WzCX3xQVkXXLP8CLkP-ik/edit#slide=id.g2022135ff59_1_0
Under intense development and presented last week at FIWARE Global Summit in Vienna.


Autogenerated index.html not including static/style.css

I don't think cargo-web should generate more than a simple index.html like what it do right now! It requires more work in cargo-web but not produce any actual benefit. If you have a styles.css, just create your own index.html to include your .css. You just do this only one time for a project. It is not a very difficult or boring-repetitive task to require a tool.

@LordZane Could you explain in more detail what exactly would you want here? What purpose such a CSS file would serve? What would be in it?

I meant that when cargo-web generated an index.html for me, I expected it to include the style.css file I had in the static folder, not just copy the style.css over. If you don't want to add support for that, it's fine, but it just deviates from what I expected to occur

You want it to take the style.css and paste it inside the index.html inline?

No, just add <link rel="stylesheet" type="text/css" href="style.css" /> to the html. Im saying that since style.css is automatically copied when doing cargo web deploy, I expected the generated html file to include it

I don't think this is a good idea. In my case I want to run a minifier over my CSS and only link the result of that. It would be very confusing if cargo-web were to auto-include random stylesheets (even though it's unlikely that i'd have the source files in ./static/ then)


python-setup: Don't allow Poetry to make venv in project

As highlighted in the code comments, Projects that specify in-project = true in their poetry.toml would get the venv created inside the repo directory, which would cause CodeQL to consider it as user-written code. We don't want this to happen.
Merge / deployment checklist

[x] Confirm this change is backwards compatible with existing workflows.
[ ] Confirm the readme has been updated if necessary.
[ ] Confirm the changelog has been updated if necessary.

I have not updated changelog or readme since I thought this was a small enough change, but let me know if you think that woudl be needed.

As for the CHANGELOG — do we expect the change to affect many users?

Many? that's not my expectation, but it's a gut feeling and not based on hard data.

If the venv was previously considered user-written code, and now isn't, it shouldn't affect any user's results (unless the venv itself had alerts), right?

spot on. I think there's a fair chance there would have been spurious alerts found within the in-project venv though.
Altogether, I have time defending not making adding anything to the changelog, so let me just do that :+1:


Add tutorial/guide for how to add a new module to your runtime

Uses the Contract module as a pretty comprehensive example of all the things you need to do to import a module into your runtime.

@JoshOrndorff I updated all the comments except the ContractConfig thing. I agree I wish it could be better, but I think more people will be pretty frustrated trying to try println in the contracts (as our other tutorials teach).
Maybe we should put all the content of that struct explicitly...


vault / all external links

thanks a lot for this great plugin, great idea and solution! love it so far!
I still would like to have a overview of not just the current note but all external links of the vault! :)
maybe also with filter or group by domain etc to tame the view.
what do you think? does it make sense?
it doenst seem so easy to get all external links: https://forum.obsidian.md/t/build-an-editable-note-listing-all-external-links/58309
I also found https://www.reddit.com/r/ObsidianMD/comments/16bsdph/external_links_in_obsidian/
linking to https://youtu.be/3TRymEIQgPI?t=185

I think this is an amazing idea!
It'll definitely require some way of grouping/filtering links to make it easy to consume.
Personally I'd love if external links were shown as nodes in the graph view. That way you could easily see which notes reference the same link.

Any news? 😅

I haven't had the time to work on this yet.
I'd have to consider where this full view would live as the side panel used today is meant for file contextual information.
I'm open to contributions if you want to try your hand at it!


Sequence Buffer Question

Just a quick question. I was reviewing this line here: https://github.com/networkprotocol/libyojimbo/blob/master/yojimbo_sequence_buffer.h#L71
    T * Insert( uint16_t sequence )
    {
        if ( sequence_greater_than( sequence + 1, m_sequence ) )
        {
            RemoveEntries( m_sequence, sequence );

            m_sequence = sequence + 1;
        }

        // THIS LINE HERE
        else if ( sequence_less_than( sequence, m_sequence - m_size ) )
        {
            return NULL;
        }

        const int index = sequence % m_size;

        m_entry_sequence[index] = sequence;

        return &m_entries[index];
    }

I've been trying to understand what this is checking exactly. My best guess it to catch old packets that would possibly have wrapped around the buffer size, but have yet to wrap around a full uint16_t. Could you possibly shed a little light here? Thank you!

It's to catch old packets that DON'T fit in the sequence buffer, eg. if the most recente packet sequence number is 1024 and the sequence buffer size is 512, then packets with sequence numbers 511 and older would be rejected by the else if.
cheers

Just aother quick question regarding the line:
if ( sequence_greater_than( sequence + 1, m_sequence ) )
why do you need the +1 there?


Unable to add technical indicators for BSE500 (Indian) tickers

Describe the bug
I have been trying to test the notebook https://github.com/AI4Finance-Foundation/FinRL-Tutorials/blob/master/1-Introduction/Stock_NeurIPS2018_SB3.ipynb for Indian Market data with initially only a limited number of stocks but I am stuck at the part where technical indicators are added to the daily price data.
I'm getting the error as:
KeyError: "None of [Index(['tic', 'date', 'macd'], dtype='object')] are in the [columns]"
I noticed a couple of more issues here from other users saying the same thing, but those were not helpful either.
Expected behavior
Technical indicators should have been added just like it happened for dow30 tickers
Screenshots

have you connected Indian stocks correctly?

I guess Indian Stock market is not supported. I have gone through architecture and studying from few weeks if you can provide some pointers for changes required. Yahoo provides data for NSE indian stock exchange for example TCS.NS. While processing below comand existing
df_summary = ensemble_agent.run_ensemble_strategy(A2C_model_kwargs, PPO_model_kwargs, DDPG_model_kwargs, timesteps_dict)

I have not yet ran the ensemble strategy, I'll do it in a day or 2 and will let you know if it works for me.

I guess Indian Stock market is not supported. I have gone through architecture and studying from few weeks if you can provide some pointers for changes required. Yahoo provides data for NSE indian stock exchange for example TCS.NS. While processing below comand existing
df_summary = ensemble_agent.run_ensemble_strategy(A2C_model_kwargs, PPO_model_kwargs, DDPG_model_kwargs, timesteps_dict)

I was able to run the ensemble strategy notebook without any issues, just that the agent took around 3.5 hrs to train. If you could share the errors you're getting then maybe I could help.

indian stocks can be trained but you cant be able to trade ig with paper trading on alpaca platform


Is this abandoned?

Seriously this does not look like it's being maintained

Pretty much yes.

Are there any forks of this that's maintained? Because I really want the sublime plugin support

None which I'm aware of.

I guess I'll have to settle for atom then
☹


no main manifest attribute, in gp-java-client-1.2.0-jar-with-dependencies.jar

$ java -jar gp-java-client-1.2.0-jar-with-dependencies.jar

no main manifest attribute, in gp-java-client-1.2.0-jar-with-dependencies.jar

Oh oops… this isn't the CLI! User error…
I suppose we could add a tiny main explaining this. Closing this as invalid for now, though.


[alt][docs] Address non-GPU systems

I did not know you could do that with a pytorch install.
Thanks for looking into this and posting an update Marius.

I didn't knew before either ;) Thanks for the quick review!


Things to do before www launch

Here is a list of things we decided need to be done before the www launch, edit this issue to add more.

[ ] host Tripal site on legacy.legumeinfo.org (in addition to www for the moment) [Nathan/Rex]
[ ] add genus/species resources or tools links from Jekyll site to legacy.legumeinfo.org where appropriate [?]
[ ] put gene family viewer into production on production URL with imjs query layer [Sven]
[ ] implement standalone hosting for GCV, JBrowse, GBrowse (!) (to break dependence on legacy hosting) [Nathan?]
[ ] all-hands review of current dev site [Sam - issue posted]

@adf had agreed to take the lead in completing the<EMAIL_ADDRESS>loader script so that it replicates the chado-dump-backed older GCV currently in production at legumeinfo.org/gcv2. Then any commits pushed to the gcv.legumeinfo.org branch will trigger a redeploy (at https://gcv.legumeinfo.org/) via a GitHub Action workflow.

yes, no progress yet but still weighing heavily on my conscience.

@ctcncgr IIRC, you mentioned auto-generating a JBrowse 2 config.json for a subset of the LIS data store; if so, would it be feasible to expand & apply that approach to the entire data store to approximate the [gj]browse data sets and (subset of) tracks at legacy.legumeinfo.org?

implement standalone hosting for GCV, JBrowse, GBrowse (!) (to break dependence on legacy hosting) [Nathan?]

TBH, if the lights will be left on at legacy for a while yet, this could happen after the www launch (with relevant links at www pointing to applications at legacy in the interim)

put gene family viewer into production on production URL with imjs query layer [Sven]

It really uses InterMineR instead of imjs.

@nathanweeks I just pushed an updated load.sh script but not entirely clear to me whether the redeploy has been triggered (seemingly not). Not sure if I need to have more specified in my environment to get this working. Perhaps you can school me on how this should work when convenient?

PS. I think I will break standalone GCV into a separate issue so we can carry on the discussion there

All checkboxes are checked. @nathanweeks is working on the go-live plumbing, @alancleary may be applying some non-blocking updates. The dev branch contains all my updates to finish off the list on this issue, so now closing it. We'll deal with the problems merging to main which seem to have appeared and are probably not a big deal.


(1138) Paginate case list

Context

Taking the foundations from #86. Another reference PR could be https://github.com/ministryofjustice/hmpps-approved-premises-ui/pull/1010 but there's a lot going on there
Changes in this PR
Screenshots of UI changes
Before
After
Release checklist
Release process documentation
As part of our continuous deployment strategy we must ensure that this work is
ready to be released once merged.
Pre-merge

[ ] There are changes required to the Accredited Programmes API for this change to work...

[ ] ... and they have been released to production already

Post-merge

[ ] This adds, extends or meaningfully modifies a feature...

[ ] ... and I have written or updated an end-to-end test for the happy path in the Accredited Programmes E2E repo

[ ] This makes new expectations of the API...

[ ] ... and I have notified the API developer(s) of changes to the contract tests (Pact), or the API is already compliant

[ ] Manually approve release to preprod
[ ] Manually approve release to prod

I've just tested this running against dev locally and I've got a few blank pages at the end:

Replaced by #408 and #409


load GraphRefRelVars instead of real expressions

This time, If I createarbitraryrelation a {a Int} 1000000-1000000 and :commit twice, I have only one large transaction in disk.
The space usage should grow much slower.

Wow! I had assumed that Project:M36 was already doing this. As you guessed, the original intention was to only capture previous states by reference with the GraphRefTransactionMarker. Thanks for identifying and making a patch for this blatant bug!


Add similar API to the Atomic Transaction Composer

https://developer.algorand.org/docs/get-details/atc/

This is related to #132 , because it's possible to enforce the specs outlined in Algorand ABI through the Atomic Transaction Composer.


6.1.x things

We need to fix up the way list styles work in conjunction with the way paragraph / text styles are handled

https://github.com/iamacup/react-native-markdown-display/issues/63
https://github.com/iamacup/react-native-markdown-display/issues/61
https://github.com/iamacup/react-native-markdown-display/issues/52

Fix for multiple line breaks

https://github.com/iamacup/react-native-markdown-display/issues/49

TS Defs

https://github.com/iamacup/react-native-markdown-display/issues/56

This is already done waiting for 6.x release or moved to 7.x (text styles specifically) because its a larger / breaking change


TypeGraph: Add new CodeGen

Summary
This code mostly works, but is obviously not complete. This commit just adds the code and tests, but does not enable it in OID or OIL.
Test plan
All integration tests pass when running against legacy OICodeGen
82% of OidIntegration tests pass when running against TypeGraph CodeGen

Codecov Report

Merging #151 (3a8ae0f) into main (a73cab7) will increase coverage by 1.35%.
The diff coverage is 39.88%.

@@            Coverage Diff             @@
##             main     #151      +/-   ##
==========================================
+ Coverage   35.21%   36.56%   +1.35%
==========================================
  Files          46       80      +34
  Lines        6838     8920    +2082
  Branches     3732     4734    +1002
==========================================
+ Hits         2408     3262     +854
- Misses       2285     2845     +560
- Partials     2145     2813     +668

Impacted Files
Coverage Δ

oi/CodeGen.cpp
0.00% <0.00%> (ø)

oi/CodeGen.h
0.00% <0.00%> (ø)

oi/Features.h
40.00% <ø> (ø)

oi/OIDebugger.h
38.18% <ø> (ø)

oi/type_graph/AddChildren.cpp
0.00% <0.00%> (ø)

oi/type_graph/AddChildren.h
0.00% <0.00%> (ø)

oi/type_graph/AlignmentCalc.h
0.00% <0.00%> (ø)

oi/type_graph/Flattener.h
0.00% <0.00%> (ø)

oi/type_graph/NameGen.h
0.00% <0.00%> (ø)

oi/type_graph/Printer.h
0.00% <0.00%> (ø)

... and 27 more

... and 4 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[Feature] Adding Gear Loader

Description
I want to add gear loader in the loader components. I attached a screen recording below.
Screenshots
https://github.com/Rakesh9100/Beautiify/assets/116893970/95c7427a-2c99-4578-9901-110439e5ad6f
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Proceed @Abidsyed25


Inconsistent Titles/SEO

Please feel free to correct me if I'm wrong, as I'm pretty new to Telescope/Git, etc...
As things stand now, here is how titles are appearing on a site I'm running:
On first load -> TITLE: TAGLINE
All -> ALL | TITLE
Returning to home page after another page -> TITLE -- TAGLINE | TITLE
Seems pretty inconsistent to me -- the changes I made that resulted in consistent titling across all pages:
https://gist.github.com/arist0tl3/431fa3d19c62e14048d9#file-gistfile1-txt

You're right, thanks for pointing this out :)

No problem! Awesome work!

Hey, @arist0tl3! Telescope has changed a lot in the past months, and there is a new React-based version, Telescope Nova (intro video). If you know Crater, it runs on the latest version.
The Legacy version is no longer supported. I'm closing this issue. And by the way, it's working well now 👍
I invite you to check the new version, it's awesome!
Happy hacking! 🚀
Ps: by the way, don't hesitate to join the Slack to ask any question, you are welcome! 👍


Update ru.json

I'm so sorry I noticed a few typos in the beginning right after the site went live :( I'm not sure I should be opening a new request for this...

Pull requests are appropriate for all updates :)
I have nothing against small ones :)


[Bug] no theme listed with ubuntu

Describe the Bug
i'm on ubuntu bionic i have install betterdiscord i create my theme in the right folder but i don't see any theme list in discord
Screenshots

Discord Version
Stable

The filename needs to be name.theme.css


Merge pull request #2 from pnp/dev

Bringing Fork up to date Dev Branch

Closing this as it is created by mistake

Coverage remained the same at 100.0% when pulling fd6d528e2bd7db974f97984a50fe425db139077e on sprider:dev into 79836749dd6c27a76564097c6a23b80c60d818eb on pnp:dev.


Have PackageSigner update dependencies to use signed version

I'm trying to use Signature.Core.PackageSigner to produce a strong name version of ReactiveUI, however when I produce the reactiveui.Signed package, it still depends on the unsigned reactiveui-core.
I'd like to be able to update the package dependencies so that it also depends on the signed version (in this case reactiveui-core.signed)

That's currently not built in, however should be relatively easy to do by editing the .nuspec file in the package.


Djoser jwt Authentication credentials were not provided.

hello,
i was able to create user and obtain tokens,
but whenever i use them i get this response
{     "detail": "Authentication credentials were not provided." }

Can you paste here your http request?

I'm also facing same problem, Here is my configurations files

You have set the token name as JWT in the settings file, but you are sending a request as Token in the curl command, there is an error here. Send this line as a Header and problem will be resolved.
Authorization: JWT <your_token>

thanks

there is another reason that might cause the same situation
and that is that you might not set up auth classes (fully) correctly.
Namely, I was getting the same error, provoking me even though I knew I set up auth classes correctly,
But for those of you who like me have added views to specific auth/permission classes, take care to adjust them too
in my case SessionAuthentication => JWTAuthentication:
class TerraLoggedInView(GenericAPIView):
    permission_classes = [IsAuthenticated]
    authentication_classes = [JWTAuthentication]  # [SessionAuthentication]

You have set the token name as JWT in the settings file, but you are sending a request as Token in the curl command, there is an error here. Send this line as a Header and problem will be resolved.
Authorization: JWT <your_token>

S/o to you @mthnglac, this saved my day.


Set-AzDiagnosticSetting is not working as expected.

Set-AzDiagnosticSetting - this command throws an error stating that it doesnot use the right API version.  Please run the commands as mentioned in this page and see it yourself once.

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

ID: aa60fa41-f753-9c55-c799-a870bdb219a4
Version Independent ID: 786b27ec-7f4d-ad35-e26d-5832c072536e
Content: Diagnostic logging in Azure Databricks - Azure Databricks
Content Source: databricks/administration-guide/account-settings/azure-diagnostic-logs.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@rjitprof Thanks for the question. GitHub forum is dedicated for docs related issues. For any technical queries or clarifications, we encourage to utilize Microsoft Q & A platform. Kindly raise your query on Microsoft Q&A Platform

We will now proceed to close this thread. Please do share the forum link once it is posted.
Thank you


Uncaught TypeError: undefined is not a function

I was using :
$(function () {
$('#datetimepicker1').datetimepicker();
});
and was getting the above mentioned error.
The error was solved by using:
var j = jQuery.noConflict();
j(document).ready(function(){
j('#datetimepicker1').datetimepicker();
})
Is there any reason for this?

Please test and/or fork this jsfiddle with an example of your issue.
You're probably using a conflicting library

Havent been able to reproduce the issue,the other libraries are the following:
My application.js file includes the following:
//= require jquery
//= require jquery-ui
//= require jquery_ujs
//= require bootstrap
//= require turbolinks
//= require moment
//= require bootstrap-datetimepicker
//= require masonry/jquery.masonry
//= require_tree .
And below are all my script tags:
<script
src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/r29/html5.min.js">
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script
type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&libraries=places&language=en-US"></script>


Hipchat support

Hello Ram,
Thanks for the wonderful library. Can you also add hipchat support to it.
Thanks in advance,
Regards,
Abhishek

Hi Abhishek,
Thanks for reaching out. I will keep this issue open and will let others vote on it. If I receive quite a number then I will surely work on it.
Happy coding!

+1

+1


Increment default Visual Studio generator version

Describe your use case
The current visual studio generator is Visual Studio 15 2017. It is time to update this to Visual Studio 17 2022. The CI will need to be checked to ensure all builds and tests as expected.
Describe alternatives solutions you've considered
This is the only path for this maintenance.
Additional context
NA

One of my students was running VS 17 already and that worked ok.


Minor style update

Looks good to me. Good catch on the deprecated .hide and good opportunity for me to learn more about less and css :)

Thanks @Afredon


Question on the ExpStepDevice

Description and motivation
Hello, I have a question on the ExpStepDevice. By running aihwkit, I got the response curve of the ExpStepDevice as below.

I tried to find out why ExpStepDevice responded like this by looking up to the documentation, and I wonder from what background this model is proposed. Is there any more documentation about the model? It will be of great help to me. Thanks a lot!

Hi @wonjaeji,
thanks for the question!  The exp step model is described here (as you probably found already) and models an exponential dependence of the update step size with conductance.  The model is e.g. used for fitting PCM devices, e.g. in Nadakumar et al. (2018).  We also used it for fitting ReRam devices, which we include in the preset library (ReRamESPresetDevice, see here )
Note, that we now also have the PowStepDevice which might be useful for model fit (see here or the discussion on that #181 ).


Really Need a Processing Dialog Message

This probably isn't that difficult to do and it would be VERY helpful, especially in situations when you know what you're going to do in AI Code will be time consumptive...

Could have two blocks... one to turn it on and add a message:

And a simple block to hide or turn it off...

This should probably be a emthod in the Notifier component, rather than a separate component.

Agreed, if it doesn't screw the Notifier up... It would be MUCH clearer if it could be included in the Notifier component because it is indeed, a notifier of sorts!

How about:
ProgressShow(String title, String message)   //if empty title, then remove title -- always cancellable
and
ProgressDismiss()  // cancels if already on

No need for title... just message... These things don't usually have titles... just a simple message telling the user what's going on in the background (please stand by, Loading File, Merging Text etc.)

#268 Merged into master. ProgressDialog added.

Thanks Jeff... Can't tell you how useful this will be.  Very much
appreciated...
On Mar 1, 2015 4:55 PM, "Jeffrey Schiller"<EMAIL_ADDRESS>wrote:

#268 https://github.com/mit-cml/appinventor-sources/pull/268 Merged
into master. ProgressDialog added.
—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/issues/245#issuecomment-76633331
.

@EnisM Thank Yash, he did the work. I just reviewed it...

Yes, I know, but you merged it and that means it's coming...
Thanks Yash... really appreciated...
On Sun, Mar 1, 2015 at 4:58 PM, Jeffrey Schiller<EMAIL_ADDRESS>wrote:

@EnisM https://github.com/EnisM Thank Yash, he did the work. I just
reviewed it...
—
Reply to this email directly or view it on GitHub
https://github.com/mit-cml/appinventor-sources/issues/245#issuecomment-76633507
.


Update training module: Modernize ASP.NET Framework to ASP.NET Core with the .NET Upgrade Assistant

Update Modernize ASP.NET Framework to ASP.NET Core with the .NET Upgrade Assistant module to reflect:

.NET 7
The preferred method of upgrading is the VS extension

Associated WorkItem - 72807

https://github.com/MicrosoftDocs/learn-pr/pull/33414


Request to adjust pyright config

Would it be possible to not have this config? It overrides the local VS Code config, and means VS Code constantly is reporting errors for me.
Totally open to other approaches ofc. Or that we decide that the tradeoff is worthwhile

Are we even using this anymore? Everything seems to be commented out...

No strong opinion here. I think the idea was that mypy does the same, but those we explicitly override.

OK. I'll merge because it does make my development experience worse. But if we start using it, my personal preferences should obv be subsumed. (Or if there's another way so that it's override-able locally...)


Mismatch order causes Type 'RegExpMatchArray' is not assignable to type 'boolean'.

Note: This does not appear to be related to ticket 15450.
Search Terms:
matching regex string
RegExpMatchArray
.match
Code
static someMethod( str: string ): boolean {

    // This return would return true:
    return (str.match(/^[0-9a-z_]+$/i) && true);

    // This return throws the following error:
    // ERROR: Type 'RegExpMatchArray' is not assignable to type 'boolean'.
    return (true && str.match(/^[0-9a-z_]+$/i));
}

Expected behavior:
Both of these should return true, since the only difference is which command was on the left side of the && operator.
Actual behavior:
One of them throws the error Type 'RegExpMatchArray' is not assignable to type 'boolean'.

Hope this helps!

This is a quirk of JavaScript and not a TypeScript bug:
console.log(false && 812);  // false
console.log(true && 812);  // 812

&& evaluates to whatever is on the right-hand side of the operator if the first operand is truthy.  Likewise if the first operand is falsy:
console.log(null && true);  // null
console.log(0 && true);  // 0

Interesting. In that case, I'll close the issue. Thanks for the response :)


Should we add an Accordion component?

From JRF:

There is no _accordion.scss component... should there be?

CML's response:

I don’t oppose it, but I did not originally include it because .accordion is not a Bootstrap component. There are .accordion styles and collapse functionality in Bootstrap, but it uses the .card component for that. All Bootstrap’s .accordion class does is fix border radius and margins between each .card component so that they stack nicely. Every other style comes from the .card definition.

JRF follow-up question:

Thank you. Only thing I am left wondering about is how to remember this and/or is there a way to better self-document it? I do agree that using the accordion is hit and miss on our sites, so leaving it out seems logical. But then when we do use it and add it how do we remember all this and make the right choices about where to put the stuff?

This is a question about how much do we expect this starter kit to address. We clearly can’t (and shouldn’t) anticipate every kind of component a project will need — just the basic, common ones. So making “right” choices is just a matter of understanding Bootstrap’s basic structure and what type of “thing” you’re adding (e.g., this would be a component).
What makes this question of an accordion unique to me, though, is that .accordion is something that exists in Bootstrap — but not defined as a “component” in their terminology. So it could be confusing or easy to forget. Accordions aren’t uncommon (e.g., FAQs or item lists), so maybe it does make sense to add a custom component to our starter kit? I’m now leaning toward yes.

I was leaning toward yes, but we are closing this and just relying on Bootstrap's collapse component for now.


"failed to find pattern ....."

same mistake. After launching the R3nzSkin it constantly gives error failed to find pattern 8D 8E ? ? ? ? FF 74 24 4C etc

same mistake. After launching the R3nzSkin it constantly gives error failed to find pattern 8D 8E ? ? ? ? FF 74 24 4C etc

maybe need update

https://github.com/R3nzTheCodeGOD/R3nzSkin/issues/305

https://github.com/R3nzTheCodeGOD/R3nzSkin/issues/305

I have the disturbing problem too, can't fix it..

I have the disturbing problem too, can't fix it..

Hey bro , I find the solution to this problem, now I am playing in server CN TW..
Hope this can help you
https://github.com/R3nzTheCodeGOD/R3nzSkin/issues/304

https://github.com/Sheelia/R3nzSkin-v13.3


og data not read properly when special characters exist

thx for the find @infinite-persistence
https://odysee.com/@drsambailey:c/the-truth-about-virus-isolation-🤫:f
sqlMessage:
[1]    'Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='',
[1]   sqlState: 'HY000',
[1]   index: 0,

-- Close --
No longer an issue today since we are no longer using CQ for the metadata.


Add disabled/enabled option for CheckBoxes, Switches and Buttons

I think this should be implemented. This is something that is needed. The only way this could be done is creating a new CustomWidget.

Currently controls like CheckBox can be disabled by setting their onChanged/onPressed/etc callbacks to null. Is there are reason that's not sufficient?

@HansMuller  well yes, but visually the users doesn't know that it is disabled.

It's grey when it's disabled. Which should be the standard visual indicator for disabled.

@kunit1 - that's correct. You can see the disabled versions of selection controls, like checboxes, in the Flutter gallery. For example:

Thanks guys!

Even when you set the color to light grey to indicate it is disabled, the user can drag the switch and toggle the switch, is this expected behavior? I want to prevent drag toggle of switch when it is disable. I control the behavior by not doing anything in the onChanged, but the switch still toggles with a drag


collect fqdn

We should collect the fqdn also, in case the hostname is the short name.
@andrewjamesbrown @dalehamel @dturn

We should also add a test for the old way (i.e. hostname == fqdn)


Sentry block from instagram

When I try to log in I get the "Sentry block from instagram" message. How could I fix this?

This issue has not been solved. I am having the same problem


Fix Coverity issues in HPKE

CID 1517043 and 1517038: (Forward NULL) - Removed redundant check that is already done by the caller. It was complaining that it checked for ctlen == NULL and then did a goto that used this *ctlen.
CID 1517042 and 1517041: (Forward NULL) - Similar to above for ptlen in hpke_aead_dec()
CID 1517040: Remove unneeded logging. This gets rid of the warning related to taking the sizeof(&)
CID 1517039: Check returned value of  RAND_bytes_ex() in hpke_test
CID 1517038: Check return result of KEM_INFO_find() in OSSL_HPKE_get_recomended_ikmelen. Even though this is a false positive, it should not rely on the internals of other function calls.
Changed some goto's into returns to match OpenSSL coding guidelines. Removed Raises from calls to _new which fail from malloc calls.

Checklist

[ ] documentation is added or updated
[x] tests are added or updated

Tests already exist. Most of these are false positives (first 2 were related to dead code)

@sftcd

@sftcd these are mainly NITS.

Those all look fine to me fwiw.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged to master branch. Thanks @slontis


prepare_html panic, in main branch

Hi,
There is a panic occurring when compiling with the main branch of the cli (0.6.0 alpha1)
thread 'tokio-runtime-worker' panicked at packages/cli/src/builder/prepare_html.rs:164:83:
called `Result::unwrap()` on an `Err` value: StripPrefixError(())
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I have a mix of files and symlinks in my asset folder.
It was valid in v0.5.6.
Also dx clean now has a radical behavior. I open another bug report right now on this matter.

Fixed in #2779 since we don't do as much work prepping html


z stopped indexing new directories

Hi guys,
first of all, thank you for the amazing tool. But some time ago z just stopped to index new directories. I can't figure out the exact moment. The .z stays always the same all the time, nothing happens to it. But the z command is still working. I'm on mac os mojave 10.14.6.
Thanks in advance,
Dimitri

my guess is you are using bash?
you probably installed something that alters PROMPT_COMMAND and doesn't play nicely with what's already there.
or, you just lost the step that sources z and updates PROMPT_COMMAND in the first place.

Yes I'm using bash. Indeed there is a script that alters the PROMPT_COMMAND. Just moved the step that sources z to the bottom of the file. It works now. Thanks!


Add option to disable scissor damage in liquid

Added an option to disable scissor damage while in liquid. Some people found it annoying that they take damage when swimming clearing kelp. Made it optional just in case people like to get stabbed while swimming. It is enabled by default, think most players would not like it to be enabled
This is my first PR, please let me know if I did anything wrong. Sorry about the previous PR too, was trying to fix something and accidentally deleted it which closed the PR

things that modify behavior are typically disabled by default

That is true! The current defaults would result in an unexpected behavior change; scissors no longer doing damage in water. Easy fix though!

Yeah! thank you for contributing to Purpur to make it more awesome 🌋

Fixed!

Fixed it! There are now two options


Does the latest deedive support incremental training (online learning) ?

I found  an older version 0.6.0  mentioned incremental
but in the latest version, I could not found any documentation about incremental / online training.....but I thought the use of SGD in inference stage could support this.............

Another problem when I just reuse the weight.
After pre-processing of NLP step, I type in the following command:
$ deepdive model weights reuse FOO

and the step goes forward to combine_factorgraph, but then
$ deepdive model infer

occurs the following error:
2016-05-07 12:50:49.932967 + mkdir -p probabilities
2016-05-07 12:50:49.935240 + mv -f weights/inference_result.out.text probabilities/
2016-05-07 12:50:49.938343 mv: cannot stat ‘weights/inference_result.out.text’: No such file or directory
‘run/ABORTED’ -> ‘20160507/125042.142224488’

The detail info shows as below:

@RominYue What version of DD were you running (deepdive version)? Could you try the same on the latest version (git pull; git submodule update --init; make build; make install) and see if the error persists?


Form text field Text input should auto-resize

Problem you would like to solve
I have to manually extend the text area in order to see the text content.
https://user-images.githubusercontent.com/28307541/217794245-f4228f30-f061-43b9-90de-804b1f1faa44.mov
Proposed solution
Use autoresize param in the field.
Alternatives considered
Do nothing.
Additional context
FYI: @pinussilvestrus @Skaiir

Supported through the existing autoResize hint.

Unfortunately currently not supported for FEEL as the textarea is a whole different component, but I'll provide a PR :)


Retries to backend in the startup

Registrator doesn't have resilience in the startup when you are trying to connect to an offline or starting up backend.
In my use case I'm using docker-compose to get my dev-cluster with consul and consul-template up, but I have some troubles when registrator run first than Consul.
I added two parameters:

retry-attempts, with a default value of 0 to hold backward compatibility.
retry-interval, with a default value of 2000 ms

Looks pretty good now, just remove those fields which are no longer needed right?


(Build) Fail on dev branch.

This issue is created automatically by CI.
Linux Build State: failure
Windows Build State: success
Commit: 82b18119121d4d6df5835330b486501d16d8944c
Commit Branch: dev
Commit Author: innerviewer

Auto-closing as build in this branch is successful now. Commit: a46c357eeb061af3680f479ce07eccaa53dda157


S3 component shouldn't need trailing / on PROPFIND requests

At the moment, failure to include a trailing / on PROPFIND requests to the S3 backend results in a "no such file or directory" without sending any requests upstream to the S3 endpoint.
$ curl -v -X PROPFIND http://localhost:8443/my-prefix

> PROPFIND /my-prefix HTTP/1.1
> Host: localhost:8443
> User-Agent: curl/7.76.1
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Connection: Close
< Server: XrootD/v5.7.1
< Content-Length: 55
<
Unable to locate /my-prefix; no such file or directory

Whereas including the trailing / reaches the known 403 on PROPFINDs after forwarding the request to the upstream S3 endpoint:
$ curl -v -X PROPFIND http://localhost:8443/my-prefix/
> PROPFIND /my-prefix/ HTTP/1.1
> Host: localhost:8443
> User-Agent: curl/7.76.1
> Accept: */*
>
< HTTP/1.1 403 Forbidden
< Connection: Close
< Server: XrootD/v5.7.1
< Content-Length: 54
<
Unable to locate /my-prefix/; operation not permitted

Existing 403 bug notwithstanding, I think these two cases should be treated the same, and we should handle adding the trailing / internally for these requests.

Closed by #58


Can't install ManiSkill

Hi,
I'm following the installation instructions inside a conda environment. I'm trying to run the command:
 pip install -e ./third_party/ManiSkill
But I get the following error:
(flowbot) russell@robot-System-Product-Name:~/git/flowbot3d$ pip install -e ./third_party/ManiSkill
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///home/russell/git/flowbot3d/third_party/ManiSkill
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      error: Multiple top-level packages discovered in a flat-layout: ['mani_skill', 'readme_files'].

      To avoid accidental inclusion of unwanted files or directories,
      setuptools will not proceed with this build.

      If you are trying to create a single distribution with multiple packages
      on purpose, you should not rely on automatic discovery.
      Instead, consider the following options:

      1. set up custom discovery (`find` directive with `include` or `exclude`)
      2. use a `src-layout`
      3. explicitly set `py_modules` or `packages` with a list of names

      To find more information, look for "package discovery" on setuptools docs.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I'm not very proficient with pip packages so I'm not sure what the issue is.

python 3.8.10
pip 23.0.1
I create a conda environment, activate, then follow install instructions

hm. the output line:
Defaulting to user installation because normal site-packages is not writeable

makes me think that something is unusual about the python/pip you are using? or using the system pip instead of the virtualenv/conda pip (https://stackoverflow.com/questions/59997065/pip-python-normal-site-packages-is-not-writeable)
in a clean environment, i get the following:
~/c/re/flowbot3d:> pip install -e ./third_party/ManiSkill

Obtaining file:///home/beisner/code/repro/flowbot3d/third_party/ManiSkill
  Preparing metadata (setup.py) ... done
Installing collected packages: mani-skill
  Attempting uninstall: mani-skill
    Found existing installation: mani-skill 1.0
    Uninstalling mani-skill-1.0:
      Successfully uninstalled mani-skill-1.0
  Running setup.py develop for mani-skill
Successfully installed mani-skill-1.0

@raabuchanan any chance you were able to verify whether pip was the issue? so i can either explore more or close the issue.

The problem persists. The better fix I've found is to add packages=find_packages(exclude=("readme_files",)) to the setup.py of ManiSkill


remove WIP from readme

it seems lot of people are using it
it's not so WIP anymore

I’d say it’s still a work in progress because:

The code quality is quite bad, a t of this needs a rewrite (maybe using React or something instead of vanilla JS)
Bedrock support is a bit lacking, I need to update it to use bedrock-protocol
I have ideas for major features like web sharing that I’ve hardly even started on yet
There are probably plenty of bugs I don’t know about

So while it’s definitely usable now I’d say it’s still a work in progress

I still think this should be merged
Pakkit is used by plenty of people
WIP sounds like "not ready"
Not WIP doesn't mean done

I still think this should be merged
Pakkit is used by plenty of people WIP sounds like "not ready"
Not WIP doesn't mean done

I think I'll merge it once I switch to https://github.com/PrismarineJS/bedrock-protocol for Bedrock support, because currently a major feature (Bedrock support) is just broken/outdated


ignore *.min.js file

maybe it's better to ignore *.min.js file from modules checker linter ?
What do you think about this ?

Sample there

Makes sense! :slightly_smiling_face:
Fixed with c82de3cdc4ca239749ccf24487ba2a61ea3b05fb.


Update qt 5.15.2

Supercedes #5, from this fork to avoid push perm issues

Nope that's not it. https and git protocol work for me locally. Not sure why they don't work from the prefect build machine.


bash-4.3: Patch 42 changed its hash

Building bash failed with the following error message:
trying http://ftpmirror.gnu.org/bash/bash-4.3-patches/bash43-042
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   332  100   332    0     0   1889      0 --:--:-- --:--:-- --:--:--  1908
100  1535  100  1535    0     0   7789      0 --:--:-- --:--:-- --:--:--  7789
output path ‘/nix/store/pdwz581jbf27cm2lvmngrhnrbyd5bv7a-bash43-042’ should have sha256 hash ‘1bwhssay66n75fy0pxcrwbm032s6fvfg7dblzbrzzn5k38a56nmp’, instead has ‘06a90k0p6bqc4wk2dsmapna69124an76xvlnlj3xm497vci968dc’
cannot build derivation ‘/nix/store/nkn2j7v1ws8yq17b4kdkxyqd2dbdwjcg-bash-4.3-p42.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/nkn2j7v1ws8yq17b4kdkxyqd2dbdwjcg-bash-4.3-p42.drv’ failed

I ran update-patch-set.sh and noticed that it produced a different hash for patch 42. This PR reflects that change.

This is already fixed in the staging branch.

any idea when the fix will be merged?

@deyaaeldeen not sure what the current timeline for staging is but usually staging gets merged to master once a month (depends a lot on hydra's health)

What can be done in the interim?

Too bad we didn't put it in master with systemd bump. Does anyone have source to the older patch? We could put it on anther url and keep the old hash.

@domenkozar Why does this only happen when trying to make a new package via nix-build -A <foo> ?

well probably because you're using older version of NixOS that has different stdenv

@domenkozar Confused. I have
nix-env --version                                                                   ⏎
nix-env (Nix) 1.10

And this is a fresh install on a new machine, installed via the curl http... | sh script.   It's probably newer than your Nix channel version (that's bound to a nixpkgs commit)

@domenkozar Okay, so did a git pull in the nixpkgs repo with same result
trying http://ftpmirror.gnu.org/bash/bash-4.3-patches/bash43-042
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   326  100   326    0     0    367      0 --:--:-- --:--:-- --:--:--  1621
100  1535  100  1535    0     0   1263      0  0:00:01  0:00:01 --:--:-- 17247
output path ‘/nix/store/pdwz581jbf27cm2lvmngrhnrbyd5bv7a-bash43-042’ should have sha256 hash ‘1bwhssay66n75fy0pxcrwbm032s6fvfg7dblzbrzzn5k38a56nmp’, instead has ‘06a90k0p6bqc4wk2dsmapna69124an76xvlnlj3xm497vci968dc’
cannot build derivation ‘/nix/store/mcz594fvkwrf2ighnz2xh9w1qgznj5cy-bash-4.3-p42.drv’: 1 dependencies couldn't be built
building path(s) ‘/nix/store/n69kz335c800n2b6izsjbw60rlnvp87c-binutils-2.23.1.tar.bz2’
killing process 22230
cannot build derivation ‘/nix/store/bpz19s2byr1vh11gvvrvhk35fpw83qxi-libbrotli.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/bpz19s2byr1vh11gvvrvhk35fpw83qxi-libbrotli.drv’ failed

and fwiw
 nix-channel --version
nix-channel (Nix) 1.10

@fxfactorial yes, until it's fixed in master branch that will be the result. Your installation works because it's using a binary version of bash already built with the old patch before it changed.
When you use a newer nixpkgs commit, it doesn't have a binary for bash since stdenv changed.

@domenkozar so what can I do now? I want to continue making a package but need to test it out with `nix-build

There is a fix for this on master (bb672805cddbd3b5b145a1b5188444ba9af6cde5) and 15.09 (6f717c7aa933c90af94b47aa779e71e00bfa7d53) now.

Thanks @edolstra. Will that mirror anything that uses fetchurl or just some specific stuff?


A simple addition: CANCELLED status.

I like to use CANCELLED status, but your plugin does not include it. So, here it is. Hope you like it.

Thx.


DP Release + Schema documentation

Document the DP Release and schema on the GitHub repository

depends on #812 and #811


fix: Ignore ErrTxDone with Rollback().

https://pkg.go.dev/database/sql#DB.BeginTx

If the context is canceled, the sql package will roll back the transaction.

Reading BeginTx, it seems that the sql package calls rollback if the context is canceled. In that case, when exql calls rollback, ErrTxDone is returned.
Therefore, if ErrTxDone is returned when reading rollback, the original error should be returned.

@juri-t I saw your change. Now I think Rollback() or Commit() should be called in any case even if <-cxt.Done() passes. I understand that the problem here is error value returned. So how about checking ctx cancelation after calling Rollback()?
func transaction(db *sql.DB, ctx context.Context, opts *sql.TxOptions, callback func(tx Tx) error) error {
	sqlTx, beginErr := db.BeginTx(ctx, opts)
	if beginErr != nil {
		return beginErr
	}
	tx := &tx{tx: sqlTx, s: NewSaver(sqlTx), m: NewMapper()}
	var p interface{}
	txErr := func() error {
		defer func() {
			p = recover()
		}()
		return callback(tx)
	}()
	if p != nil {
		txErr = fmt.Errorf("recovered: %s", p)
	}
	var endErr error
	if txErr != nil {
		endErr = sqlTx.Rollback()
	} else {
		endErr = sqlTx.Commit()
	}
	if ctxErr := ctx.Err(); ctxErr != nil {
		return ctxErr
	} else if endErr != nil {
		return endErr
	} else {
		return txErr
	}
}

@keroxp Certainly it would be better to handle this without limiting it to ErrTxDone.
It may be a rare case that a commit succeeds, but when the context is subsequently cancelled, it is registered in the DB, but an error may occur. That seems to be undesirable.
How about checking only when endErr is not nil?
func transaction(db *sql.DB, ctx context.Context, opts *sql.TxOptions, callback func(tx Tx) error) error {
	...
        var endErr error
	if txErr != nil {
		endErr = sqlTx.Rollback()
	} else {
		endErr = sqlTx.Commit()
	}
        if endErr != nil {
   	    if ctxErr := ctx.Err(); ctxErr != nil {
		return ctxErr
	    }
            return endErr
	} else {
		return txErr
	}
}

@juri-t Your suggestion is correct, but similar race condition could happen on your code, between endErr assignment and next if block. If you really want to avoid returning ctx error after commit succeeded, maybe you should do it in mutex?

@keroxp
Thanks for the review. Your point is well taken. I thought about it again and it seemed like a good idea to propagate Rollback and Commit errors as is.
I am withdrawing this PR.


Add HTTP header VARY in order to correctly cache in Fastly

Comes from https://github.com/CartoDB/cartodb-platform/issues/4036
Add this header to all the authorized requests:
Vary: Authorization
Fastly Documentation

Already in production


leaflet 1.X compatibility

When i use context menu with leaflet 1.0.0.beta1 the context appear, but disappear when i move the mouse

http://codepen.io/anon/pen/NGrKoE

I haven't done any compatibility work with Leaflet 1.0 yet. Hope to get onto that soon

I see that
https://github.com/Leaflet/Leaflet/issues/3638
https://github.com/Leaflet/Leaflet/pull/3639
I havent test but i think the bug should come from that

I have the same problem

tested with leaflet master at this tree https://github.com/Leaflet/Leaflet/tree/3ff1b65b6453cb859f358a96f4034e0afff62ccd
http://codepen.io/anon/pen/qOaYao
the context menu don't disapear
all is ok

@SilentT-FR  I've updated the plugin to be compatible with Leaflet 1.0 beta 1.  Let me know if you find any further problems.

http://codepen.io/anon/pen/qOaYao same problem

Sorry. I forgot to rebuild the dist files. Should be all good now.

perfect

and also work with last commit of leaflet


[Feature]: [FRSM-03] Does each version of the software have a unique identifier?

D5.2, p13 + p24
Detailed Description

To make different versions of the same software (or component) findable, each version needs to be assigned a different identifier. The relationship between versions is embodied in the associated metadata.
Domain-agnostic comments
What is considered a “version” is defined by the owner of the software: in many cases this will be something that the owner wants to specifically identify and use and/or “release” or “publish” so that others can use and reference/cite. This is something for which there may be disciplinary norms, which may be documented in domain-specific software guidelines e.g. ESIP Software Guidelines in the earth sciences and CESSDA Software Development Guidelines in the social sciences.
Identifiers for each software version should be globally unique and persistent (as tested by FRSM-01) and use the same identifier scheme. It may be useful to reference these identifiers in any release documentation or CHANGELOG.
CESSDA comments
These are derived from the CESSDA Software Publication policy and
procedures for open source components, as set out in the CESSDA
Publication Policy & Procedures (CESSDA, 2020).
Context

F1: Software is assigned a globally unique and persistent identifier.
F1.2: Different versions of the software are assigned distinct identifiers.
R3: Software meets domain-relevant community standards.
Possible Implementation (domain-agnostic)

requirements
Software Identifiers

method
Check if each software identifier resolves to a different version and examine identifier metadata.

essential
Each version of the software has a different identifier.

important
Relations between the versions are included in the identifier metadata.

useful
The version number is included in the identifier metadata.

CESSDA

requirements
Repository release tag, Software release identifier

method
Check that each release follows CESSDA software publication policies and is deposited in a repository that provides a unique DOI for each release.

essential
Each release is published to Zenodo and a DOI obtained. A publication consists of a release tarball matching the release tag in the repository. Release tags exist and adhere to SemVer 2.0.0. The README and CHANGELOG must be up to date prior to release and they must be added to the Zenodo record in addition to the tarball.

important
A release checklist is used to ensure that all necessary steps are taken for each release. Releases must be available as Docker images with the release version as tag.

useful
Reserve the DOI in Zenodo, prior to release, to avoid a circularity problem with the CHANGELOG and the tarball.

Skeleton evaluator:
https://github.com/softwaresaved/fuji/blob/1778e730c80852f691e135a1b288bc2796914c46/fuji_server/evaluators/fair_evaluator_version_identifier.py#L10


Doesn't work for afpfs

Hey
For lock file in network attached afpfs lock was created for every python process I ran and didn't prevent parallel execution.
I expected to receive a warning or error if it doesn't work.
For local lock file everything works fine.
Could be added to readme that it's incompatible.
I'm not that much familiar with afpfs and code of this project.

Hello, if you make a PR for this (with tests) we would be happy to review it, thanks!


Added story for distance option

Added new story to storybook for the distance option.

Thanks, great idea! 👍


Sending Numbers to Backend RAP vs. CAP

How Data Types "Integer" and "Decimals" are handled by backends:
CAP

V4 Numbers are fine
V4 Strings are not fine
V2 Numbers are fine
V2 Strings are fine

RAP

V4 Numbers are not fine
V4 Strings are fine
V2 Numbers are not fine
V2 Strings are fine

SAP Community Question:
https://answers.sap.com/questions/13894198/difference-between-rapcap-handling-numbers-in-odat.html

stupid error
https://answers.sap.com/answers/13894712/view.html


added surha name fonts

Deployed to: http://staging.quran.com:32834

Deployed to: http://staging.quran.com:32835

Deployed to: http://staging.quran.com:32838

Deployed to: http://staging.quran.com:32839


openvpn as client don't connect due to erroned parameter

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues and I'm convinced that mine is new.
[x] The title contains the plugin to which this issue belongs
Describe the bug

Generated OpenVPN client config don't connect to peer openvpn server
error Authenticate/Decrypt packet error: packet HMAC authentication failed  is generated on server side
after testing, conclusion is that the generated parameter auth SHA3-512 causes the error.
changing it to auth SHA512 in the config file under /var/etc/openvpn/clientN.conf solves the problem

Also noticed that a param TLS Shared Key Direction is missing on the Gui, it values to 0, 1 or omitted (bidirectional). it's set to 1 by default

To Reproduce
Steps to reproduce the behavior:
Configure openvpn as client to other openvpn server
Connection holds on 'connecting' state
after fixing the sha parameter start the connection in cmdline
as openvpn-client /var/etc/openvpn/clientN.conf
the Gui openvpn/status start or reload buttons regenerates the config and fails to start the tunnel
Expected behavior
Correctly generate the sha param
Connect normally from Gui
Screenshots
Relevant log files
error Authenticate/Decrypt packet error: packet HMAC authentication failed  is generated on server side
Additional context
Environment
OPNsense 21.7.7

^^ SHA3-512 is another option in the list...


DB Connection new won't work MongoDB

Thus my model. I am calling
 ( new Tenant())->configure()->use();

It still uses the  default connection
namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Jenssegers\Mongodb\Eloquent\Model;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;

class Tenant extends Model
{
    use HasFactory;
    protected $connection = 'landlord';

    protected $guarded = [];
     /**
     *
     */
    public function configure()
    {
        config([
            'database.connections.tenant.database' => $this->database,
        ]);

        DB::purge('tenant');
        DB::reconnect('tenant');
        Schema::connection('tenant')->getConnection()->reconnect();

        return $this;
    }

    /**
     *
     */
    public function use()
    {
        app()->forgetInstance('tenant');

        app()->instance('tenant', $this);

        return $this;
    }
}

Laravel Version:10
PHP Version: 7.4
Database Driver & Version:
Mongodb

Description:
DB connection is not working after I purge and reconnect. when I migrate it still points to Default Connection
Steps To Reproduce:
        DB::purge('tenant');
        DB::reconnect('tenant');
        Schema::connection('tenant')->getConnection()->reconnect();

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.


Add back demo-store e2e tests

Description
We accidentally removed e2e tests on demo store. Couple updates to these test:

Fully type scripted
Check for not null instead of text value
null fix on PerformanceMetrics component

Before submitting the PR, please make sure you do the following:

[ ] Read the Contributing Guidelines
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123)
[ ] Update docs in this repository according to your change
[ ] Run yarn changeset add if this PR cause a version bump based on Keep a Changelog and adheres to Semantic Versioning

The demo store e2e test would pass even if different storefront url is provided


Resizing of an image in a 'float' array representation damages the image

In this testcase https://people.freebsd.org/~yuri/avir-testcase.tgz the scaled image that was represented as floats has green and pink pixels that weren't present in the original image.
Scaling in uint8 doesn't have this problem.
Please uncomment typedefs in the attached testcase to reproduce damaged and undamaged output cases.

Please send a link to zip - I can't open this tgz file, it is seemingly unsupported.

https://people.freebsd.org/~yuri/avir-testcase.zip

I've made an independent test - and there is I think a problem with your PNG writer, it does not clip float values correctly above 1 and below 0.

problem with your PNG writer

You should clip the values, because a valid range is 0,0 .. 1.0, so that you produce invalid values in the resized images.

No, it does not work that way for floats. If you need clipped values, use uint8_t* output buffer, AVIR will apply clipping automatically.


Fresh 8.88 image on Ubuntu Studio 20.04 (Xfce Desktop) has slow rendering performance

Discord conversation for reference.
On a brand new image, with only the home tab open, if I open a monitor and open a profiler and click start, I get the following pattern:

I can provide more system information if necessary and/or test multiple scenarios on my end to try and pin this down.

Is there any additional system details I can provide to assist in troubleshooting? Or any pointers on how I could explore this a bit more? Don't have enough context right now to know if the screenshot above points to something obvious or if more investigation is needed.

For reference, here is how it looks like on my Mac when I move the mouse over the home tab (no clicking):

And this is what is visible in the window

Essentially, when nothing happens, there should be no drawing
Only when I hover over a button and the border changes color, is drawing getting involved. But, those are small occurrences. Definitely not a recurrent one.

Closing this as my screenshot was of profiling the Monitor tab itself and not other more 'normal' tabs. Profiling activity on other tabs shows mostly blue and not the pattern above.

Thanks a lot for the patience!!


Not able to deploy faqplus-experts.zip

Hi,
So I have been able to deploy the faqplus-enduser.zip bot. But when I try to add the faqplus-experts.zip to the correct Team, I get an error message saying "Something went wrong" (ref image).

What I have tried so far is to:

Recreate .zip file
Download new manifest.json file
Recreate manfiest.json file with Microsoft's template

Here is my .zip file with manifest, color and outline:
faqplus-experts.zip
Any ideas?

can you check

you using AppID from the user App for the botID value and not the config app.
Bot App Service's domain is [BaseResourceName].azurewebsites.net and not the config service domain
icons file names in the .zip file matches the manifest file

Let us know if this issue still persists.


ImportError: DLL load failed while importing cameras: The specified module could not be found.

(venv) C:\Users\Radu\Downloads\Portable Python-3.10.5 x64>qw.py
Traceback (most recent call last):
  File "C:\Users\Radu\Downloads\Portable Python-3.10.5 x64\qw.py", line 1, in <module>
    from pseyepy import Cameras
  File "C:\Users\Radu\Downloads\Portable Python-3.10.5 x64\venv\lib\site-packages\pseyepy\__init__.py", line 1, in <module>
    from .cameras import Camera, cam_count
ImportError: DLL load failed while importing cameras: The specified module could not be found.

@Raduq91 did you solve this issue? I have the same problem.

@Raduq91 did you solve this issue? I have the same problem.

I used https://github.com/jkevin/PS3EyeDirectShow

@Raduq91 did you solve this issue? I have the same problem.

I used https://github.com/jkevin/PS3EyeDirectShow

can you use it in python with 120 fps ?

@Raduq91 did you solve this issue? I have the same problem.

I used https://github.com/jkevin/PS3EyeDirectShow

can you use it in python with 120 fps ?

I did some modifications(I am beginner in programing) to "PS3EyePushPin.cpp"  and for me it seems it worked, I remember I could specify what fps I want and it worked.

camera = cv2.VideoCapture(0) camera.set(5,120) camera.set(cv2.CAP_PROP_FRAME_WIDTH, 320) camera.set(cv2.CAP_PROP_FRAME_HEIGHT, 240)


Render into user-provided buffer, sample implementation for #54.

Addresses #54, happy to discuss implementation details.

Just made some minor change and merged to master.  Thanks for the awesome contribution! - Hao


Re-export RNG functions

35aa0a21501843f65140a6e5ce39ea54c2762432 removes symbolic RNG exports uuid.{mathRNG,nodeRNG,whatwgRNG}, but they are still mentioned in README.md.
Rather than fixing the docs, I think re-exporting them would be preferable. For example, I would like to force v4 to use the crypto RNG.

This is now being done, but not exposed as a "public" api.
Also, the check for existence of crypto is now working properly.
Thoughts?

Looks good, thanks!


Finishing release notes for Smarti 0.6.1

[x] finalize description
[x] check issue list for completeness
[ ] Add upgrade instructions

@ja-fra could you please re-check what is absolutely required to be changed in the application.properties?
Next to the admin user default password I did not found anything else.
We are taking the logback.xml as it is delivered by distribution, so we need not to change.
Is there anything else regarding operations in order to release Smarti 0.6.1?


The Initialize Property example initializes fields instead of properties.

The first paragraph in the Initialize Property section claims that the following snippet initializes properties, when it only declares and initializes fields.

The following code initializes two readonly properties that are computed from primary constructor parameters:

public readonly struct Distance(double dx, double dy)
{
    public readonly double Magnitude = Math.Sqrt(dx * dx + dy * dy);
    public readonly double Direction = Math.Atan2(dy, dx);
}

Both sharplab.io and the following snippet run with the .NET 8.0 RC1 SDK verify there are no properties  :
public readonly struct Distance(double dx, double dy)
{
    public readonly double Magnitude = Math.Sqrt(dx * dx + dy * dy);
    public readonly double Direction = Math.Atan2(dy, dx);
}
var props = typeof(Distance).GetProperties();
Debug.Assert(props.Length == 0);

To actually create and initialize properties, {get;} should be used :
public readonly struct Distance(double dx, double dy)
{
    public double Magnitude { get; } = Math.Sqrt(dx * dx + dy * dy);
    public double Direction { get; }  = Math.Atan2(dy, dx);
};

var props = typeof(Distance).GetProperties();
Debug.Assert(props.Length > 0);

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

ID: 3f1194e6-3116-6e70-9a36-f0a509c04f63
Version Independent ID: a22d366b-380f-f701-6a01-2515433e1550
Content: Declare and use primary constructors in classes and structs - C#
Content Source: docs/csharp/whats-new/tutorials/primary-constructors.md
Product: dotnet-csharp
Technology: csharp-whats-new
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Hi @pkanavos
There's a difference between your example and the code in the article.
Your example:
public readonly struct Distance(double dx, double dy)
{
    public double Magnitude = Math.Sqrt(dx * dx + dy * dy);
    public double Direction = Math.Atan2(dy, dx);
}

The article:
public readonly struct Distance(double dx, double dy)
{
    public double Magnitude => Math.Sqrt(dx * dx + dy * dy);
    public double Direction => Math.Atan2(dy, dx);
}

Note that the article using => instead of =.
The code in the article does use the primary constructor parameters to compute the property.
I'll close this as not an issue.


Document "expose keptn's bridge" story in Bridge Reference document

Right now the command is only documented in the (auto-generated) CLI docs.
We should also document the behaviour including the step with basic authentication here:
https://keptn.sh/docs/develop/reference/keptnsbridge/

The PR https://github.com/keptn/keptn.github.io/pull/521/ contains the documentation for keptn configure bridge including docu for enabling/disabling basic authentication.
When the PR is merged into master, I will take care of adding the documentation also to the "develop" folder.


docs of v1.7 is not updated , The latest docs from your website is still about v1.6

This may be related to the build rules of the apisix-website repository
When we released v1.7, we changed the naming rules for branches and tags used


V-IOU tracker improvements implementation ?

Hello,
Is the v-iou implementation available somewhere ? (based on paper Extending IOU Based Multi-Object Tracking by Visual Information)
I'm doing something close to V-IOU idea in a node.js implementation: https://github.com/tdurand/node-moving-things-tracker but in a much less "academic" way.
There is not much details about the "prediction" method you use for the visual tracking.. On my project I'm using velocity / acceleration vectors but do not change the bounding box width / height
From you paper, I'm gonna try this idea of searching "back-wards through the last ttl frames for each new track" , this is something I'm not doing currently
Thanks !
Thibault

Hi,
I had not time to cleanup and publish the code yet. I am not sure when this will happen, but it is definitely on my todo list.
For the prediction I am using a visual single object tracker (e.g. KCF is fast and reliable, at least for a couple of frames). Maybe a kalman filter is more suitable for your javascript application?

Hi, thanks for your comment ! I'll look into KCF and Kalman filter... For now our implementation is giving good enough results but we didn't benchmark it really well. We have a very basic prediction method.
Feel free to close this if you want.. And I'm glad you will eventually publish the code at some point.
Best

I will leave this open for reference since some people already asked about this by mail.

@bochinski
Kalman is good but ...it is a cpu killer.
Using width,height and nearness with t-1 frames with time < 6 seconds will increase accuracy.

Congrs V-IOU is the top3 in the tracking challenge on MOT19 from yesterday's CVPR meeting, look forward to see its implementation!

@jamessmith90
I agree, but nothing is for free. Visual single object tracking/optical flow works much better (especially when the target movement is non-linear) but is much more cpu intensive. It really depends on what you want to achieve and what you can settle with.
@lynnw123
thank you very much, unfortunately I was not able to attend this years CVPR on short notice but I assume it was a great workshop.
Anyway, this is a good motivation for me to publish the code sooner than later.

@bochinski
Looking forward to your v-iou implementation.

@bochinski
Congrats for your position in MOT19.
Do you have plans to release the updated version ?

@dexception thanks!
I already started working on the code but wasnt able to finish it yet as something else came in between.
Hopefully there are no more problems/delays so you can expect the release of the code very soon.

@bochinski
Can you share a timeline with us ?

@bochinski
Kindly provide some info.

@dexception @suman-19 Sorry about the delay, I know that a few people are waiting on this. My original time line was to do this months ago but every time I want to start on this something else comes in between. I will try to do this sometime in the weeks after ICCV and I sincerely hope that I can keep my promise this time.

Thanks for the update.

@bochinski Any progress ?

@bochinski Any update ?

I'm also very interested in this

@bochinski 7 months and still waiting for a release.. :-)

Waiting..

waiting .. :)

thank you!

Hello All,
Any idea how to run this tracker V-IOU for a custom video with real-time detection ?
Thank You !