Question about baseline results in Tab 2

Appreciate your impressive work.
In the table 2 of the main paper, is the MSP, MaxLogit results reproduced on CLIP or CLIPN? I test the MaxLogit on CLIP (VitB-32) on CIFAR100 (id)  and CIFAR10 (ood), but only get 74.8%AUROC.

Sorry for the late reply. The results of MSP and MaxLogit in Table 2 are produced by the original CLIP model. You can check the new-uploaded "./handcrafted/src/zero_shot_infer.py" for hand-crafted CLIPN. It can produce the proper results on CIFAR.

It seems that in the file./handcrafted/src/zero_shot_infer.py These lines, the model is the CLIPN model as CLIP do not have ckpt with epoch num.

That’s because there is a hyper parameter temperature. I just use the final learned one, 100 instead of manually finding best one on test set for different methods and datasets. Besides, whether using L2 normalization can also change the performance. Unfortunately, I failed to find a consistent conclusion of determining the above two factors on different methods and datasets. As a result, a general and fair way is to follow the original operation of the CLIP.

Thanks for your quick and detailed reply!
I implemented the baseline methods (MSP, MaxLogit, Energy) with MCM repo on CIFAR-100 and ImageNet, and the results were kind of different from your reported results on CIFAR-100.
Specifically speaking, these are the difference (avg. on the OOD datasets):
our implementation with MCM repo

ID Vit-B32 MCM
MaxLogoit
MSP
Energy

CIFAR-100
79.5
72.5
77.3

ImageNet-1k
84.9
78.9
82.6

reported results in CLIPN

ID Vit-B32 CLIPN
MaxLogoit
MSP
Energy

CIFAR-100
84.3
81.8
82.0

ImageNet-1k
85.6
73.3
84.9

This could be a question for future discussion about the potential reasons for these differences when using the CLIP model.


Bring noms-tour up to date with recent changes

Some of the Go examples in the tour were broken so I've updated them to working versions. The one with the largest change is appending to a list where I've used a list editor which I think is the replacement for the Append method which has been removed from lists.

Thanks!


WIP: Frame out repo package and modify charts package to support chart download

/cc @sparkprime, @michelleN
This is still work in progress. More changes on the way, but wanted to get this much in the pipeline.

/cc @technosophos, @vaikas-google

LGTM


HWKINVENT-68 Move Inventory integration tests to Hawkular and fix them

@metlos could you please review?

ab4028a adds a GET after DELETE to assert that the entities were really deleted.

:+1:


Refactor ensureGDMExists tests

There appear to be 5 different tests run on the ensureGDMExists method.  Three of them dealt with a path and a git repo.  So consolidated those in one test case that has a setup loop through test cases and teardown.  Then the other two seemed unrelated and didn't need setup and teardown.

  Generated by :no_entry_sign: Danger

Codecov Report

Merging #520 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #520      +/-   ##
==========================================
+ Coverage   69.01%   69.02%   +0.01%
==========================================
  Files         201      201
  Lines       11017    11017
==========================================
+ Hits         7603     7605       +2
+ Misses       2864     2863       -1
+ Partials      550      549       -1

Impacted Files
Coverage Δ

util/allfields/conftree.go
85.71% <0%> (+4.08%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update faf012f...da5c183. Read the comment docs.

Thanks @JC1738 reviewing now. If possible could you use a separate branch per PR over in your fork? That makes it super convenient for others to check out your code locally. I just added your fork as a remote, and after 'git remote update' which shows me work in other forks I could usually just spot the branch name and 'git checkout branchname' locally then. Also makes it easier to add commits to the PR based on review comments, thanks.

Might also be worth cleaning up some of your local branches with git branch -d $(git branch --merged master | grep -v master) some of those on your fork look ancient..

Those stale branches are of course our fault for not tidying up... I've just deleted about 40 stale and ancient branches, we now just have these... https://github.com/opentable/sous/branches/all


Support for checking only SCSS and JSX files

Would it be possible to check unused code only on .scss and .jsx files? Correct me if wrong, but it seems that unless you run this against .css files? Thank you

So I can't run it with .scss and .js?


buffer gathering events

instead of reconstructing them

Codecov Report

Merging #58 into master will increase coverage by 0.23%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
+ Coverage    93.8%   94.03%   +0.23%
==========================================
  Files           1        1
  Lines         807      805       -2
==========================================
  Hits          757      757
+ Misses         50       48       -2

Impacted Files
Coverage Δ

rtcpeerconnection.js
94.03% <66.66%> (+0.23%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4918791...87059eb. Read the comment docs.


add eip6780 test cases which use revert

This adds two test cases based on a go-ethereum implementation mistake that was caught in PR review:
given contract A which has methods to receive balance (a no-op) and selfdestruct, and was created in current tx.
Test the following call sequence in the same transaction:
Transfer value to A and call A.selfdestruct.  Recurse into a new call which transfers value to A, calls A.selfdestruct, and reverts.
I have add two variants of this scenario: one test where A is pre-existing and another where it is created in the same transaction that the test occurs in.

@marioevz I have addressed your points above and I think this is ready for further review when you get the time.

@marioevz I have addressed your points above and I think this is ready for further review when you get the time.

Thanks! I'll try to get it done today :)


[BUG] Crashing with Every Compat. (2.4.9a)

Important Information
Minecraft Version: 1.19.2
Mod Loader System: Forge (43.2.13)
DramaticDoors Version: DramaticDoors-Forge-1.19.2-2.1.9 (later versions would have the the startup freeze before the game opens)
Describe the bug
When the mod every compat is present (using the latest version), game is crashing.
https://gist.github.com/Diogoess/7cfa1a19e67ff1bd57e57fccd95987b0
To Reproduce
Steps to reproduce the behavior:
Have every compat and dramatic doors installed
Expected behavior
The game starting with both mods.
Screenshots
Couldn't find this in the crash report, but it appeared in the log, attaching a screenshot.

For later versions, have you tried allocating more RAM?
I may also look into it and try to investigate the issue.

Alright, so I tried opening up the game with the latest version, as suggested, and with 15gb ram allocated, it still isn't opening. I'm sending the log at the end.
Things I noticed in the log and tried but didn't work:
Removing the optional dependencies.
Removing the mods in the last line of the log when it got stuck, ends up just showing another mod.
Could it be the forge version?
https://gist.github.com/Diogoess/529acad844f74c2d0ea0df138a2622bc

Ok, after going through the whole modpack, I found the problem.
The good news is that I don't think the problem is every compat.
It's the version I have of Regions Unexplored (0.3.1). The issue is that because the next version (0.4.x) removes and adds some biomes, It WILL mess up my world if I update. When I remove this mod it, and after updating Abundant atmosphere, the game runs normally.
When I downgrade dramatic doors, it becomes incompatible with the newest Every Compat.
When I downgrade Every Compat, it becomes incompatible with other mods on the list.
Is there a way around making the newest Dramatic Doors still compatible with older (Optional) Dependencies?

Unfortunately, there generally isn't a way. You could try making a new world however.

I have run into this same problem with DD 3.1.0 or higher on MC 1.20.1 and Forge 47.2.0.  MC crashes on launch with Every Compat failing to load correctly.  The error is java.lang.reflect.InvocationTargetException: null
This is with no other mods installed, just the required Moonlight Lib.
Reverting DD to 3.0.3 fixes the problem and everything loads correctly.  Not sure if the fault is with DD or Every Compat, but there it is.

It's due to the big code rewrite on Dramatic Doors that broke compat. Every Compat is being updated to work with the latest version.

That's good to hear, thanks!

Every Compat should be updated on 1.19.2 to work with the latest version of Dramatic Doors for 1.19.2.


Test create project service (Improve coverage)

Summary:
Added tests for project creation service.

Fake project creation test
Folder check & creation test
Event listening (stdout, stderr, close) test
CRA commit test

Thanks for the changes.
Why is a change of let DISABLE=false not possible? Is it because it's creating a new reference for every new value? Maybe I have to play with this a bit in a Codesandbox.
With the object literal it is working because the reference to DISABLE constant will be the same for every modification of the literal, right?
function(...args) is more readable and OK to use.
I have one point I'd like to know what you think - see inline comment that I added. After that I think it can be merged.

Yeah, booleans are passed by value while objects are passed by reference. Here's a quick demo:
let bool = false;
let obj = { prop: false };

function mutateByValue(a) {
  // a is a copy of the passed value, so mutations aren't persisted outside this block scope
  a = true;
}

function mutateByReference(a) {
  // a is a reference to the passed value, so mutations modify the original object directly
  // changes are persisted outside this block scope
  a.prop = true;
}

mutateByValue(bool);
console.log(bool); // false

mutateByReference(obj);
console.log(obj.prop); // true


When the version 4.12 will be available in cdn webchat js

[Question]
When the version 4.12 will be available in CDN webchat JS:
I have referred to the fixes related to accessibility in PR #3703 which are merged to master some days back.
I want to know when these changes will be available in the CDN URL below:
https://cdn.botframework.com/botframework-webchat/latest/webchat.js
As per my understanding we don't need to do any change to update to this version from client-side implementation - correct me if i am wrong.

4.12 is released and can be used by locking down the Web Chat version, which is our recommendation for public bots.

Am using it as an html JS file reference with this CDN URL: https://cdn.botframework.com/botframework-webchat/latest/webchat.js
do we have similar URL for 4.12?

https://cdn.botframework.com/botframework-webchat/4.12.0/webchat.js


Imprecise statement - Who has precedence, Permission or Access Level?

Hi. My question is related to the following statement:
You can assign Group rules to support both access levels and project memberships. Users are granted the highest access level when assigned to more than one rule or Azure AD group which specify different levels of access. For example, if John is assigned to two Azure AD groups and two different Group rules that specify Stakeholder access and the other Basic access, then John's access level is Basic.
Basically, I have applied this scenario in my organization and noticed that if the group rule granting Stakeholder access level also grants permission (such as Read), then this group rule takes precedence over the Basic group rule.
With that said, can you confirm if Permission access can affect group rules precedence? If so, would you mind adding this information as a note on this page?
Thank you in advance!

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

ID: ab08f86b-6991-b3f1-b07e-51048c503bc8
Version Independent ID: 31556922-2ea2-791e-7508-6590762a0365
Content: Add group rule to assign access levels - Azure DevOps Services
Content Source: docs/organizations/accounts/assign-access-levels-by-group-membership.md
Service: azure-devops
Sub-service: azure-devops-organizations
GitHub Login: @chcomley
Microsoft Alias: chcomley

@BrendonLP -- Brendon, thank you for your feedback.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

@chcomley -- Chrystal, please look into this issue.

Hi @BrendonLP, in this case, the user should get both the highest license AND all the permissions of any of the rules that apply, and not the experience of one taking precedence over the other. For now, we'll leave the article alone and see what we find, as we've filed an internal bug! Thank you so much for your feedback. Feel free to @mention me if you have any further questions. Thanks.


Website says “last updated: 9973 hours ago”

Looks like the scraper is broken:
https://github.com/codeforIATI/org-id-finder/actions

Fixed – thanks for reporting, @robredpath!


fixed small typos in comments

s/bellow/below

Current coverage is 77.46% (diff: 100%)

Merging #3153 into master will decrease coverage by 0.02%

@@             master      #3153   diff @@
==========================================
  Files           431        431
  Lines         22218      22218
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits          17214      17210     -4
- Misses         5004       5008     +4
  Partials          0          0

Diff Coverage
File Path

•••••••••• 100%
st2common/st2common/runners/paramiko_ssh.py

Powered by Codecov. Last update 8110ea7...dbb9044

LGTM.
Pretty sure those were mine and Lakshmi's typos :P


Add flex, flex-column, justify-between, min-height-vh-100 to Layout

This should address the following issue here: https://github.com/hypered/design-system/issues/20

I have grouped the navigation and the main content together so that only the footer is pushed down (and not centering the main content). I rebased on master and merged the branch as push-footer-to-bottom (your branch name was using nav instead of footer :) )
Thanks a lot.


⚠ Bofrost.de has degraded performance

In 76509dd, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1780 ms

Resolved: Bofrost.de performance has improved in 3386a35.


Add pub to scene so components can be excluded by type_id

I'm working on a library that integrates moonshine_save to include some extra utilities for managing saving/loading components with moonshine_save, and one of those features needs to be able to exclude components by TypeID. However, deny_by_id() is locked behind SceneFilter, which is not accessible due to scene being private.
This PR adds pub to scene to allow deny_by_id() to be accessible.

Would something like SavePipelineBuilder::exclude_component_by_id() (which would call deny_by_id internally) solve your use case?
If so, I'd prefer that option, so that SavePipelineBuilder has full control of SaveFilter. This is mainly to make future refactoring easier as needed.

The changes which add the SaveFile should be a in a separate CL.
Additionally, I was planning to solve the resource issue in a much simpler way without the need for any resources.
Similar to save, save_default, and save_all functions, we could introduce a save_custom function which takes a system as its input, whose job is to return a save filter and trigger the save pipeline.
Then anyone can use that to get their SaveFilter and start the pipe with anything, including a custom SaveFile resource if needed.

As of version 0.3.3, you can use a DynamicSavePipelineBuilder to feed a SaveFilter into the save pipeline from any system which returns a SaveFilter:
fn dynamic_filter(/* ... */) -> SaveFilter {
    todo!()
}

let mut app = app();
app.add_systems(PreUpdate, save_default_with(dynamic_filter).into_file(PATH));

Additionally, I've added exclude_component_by_id and include_component_by_id members to SavePipelineBuilder.


Feature Request: Show version number in the main window (maybe title?)

It would be very convenient to show the version number in the main window of the Signer instead of having to look it up in the Extension Manager first.
Maybe even in the title so it is always visible since there are different views:
Locked Signer -> I don't want to unlock first to see the version number
Unlocked Signer
Key Management etc.

Moving to Icebox

Closing this as Signer 2.0 will be a sizeable re-write and I'll pass on about this request to see if it can be included somewhere in the new UI


UiConfiguration.jsonEditor ignored in springboot

Version 2.6.1 (latest), using springboot as a war and jettyRun locally.
Swagger UI for a json POST web service does not allow the user to edit the data sent in the request.
Spring configuration for UiConfiguration.jsonEditor  is true:
@Bean
public UiConfiguration uiConfig() {
  return new UiConfiguration(null,null, null, null, null, true, true, null);
  //                                                      ^^^^
}

Gradle:
dependencies {
 compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '1.5.3.RELEASE'
  compile "io.springfox:springfox-swagger2:2.6.1"
  compile "io.springfox:springfox-bean-validators:2.6.1"
  compile "io.springfox:springfox-swagger-ui:2.6.1"
}

Controller:
@RestController
public class GreetingController {
	@RequestMapping(path = "/greeting", method = POST)
	public Greeting save(Greeting g) {
		return g;
	}
}

Using spring boot to generate a war file, not executable jar. There is no resource configuration since everything works without it.
Swagger correctly shows the input object (Greeting) schema.
When clicking "Try it out!", it sends a hard coded json post. It does not allow the user to edit it.
Attached screenshot:

Add a @ModelAttribute annotation which should fix it. If not report back

Tried:
@RequestMapping(path = "/greeting", method = POST)
public Greeting save(@ModelAttribute Greeting g) {
	return g;
}

The ui behavior is the same (cannot edit).

Added a github repo with the bug. Please follow the readme on the repo page to replicate:
https://github.com/shaklee/springfox_issue_1805/

For model attributes to work they need accessors, at least a getter.

Adding getters and setters creates a different problem, the values in the form are sent as query parameters and not as json body. See screenshot:

Also there is no need for getters and setters since jackson works fine without them, as well as Jackson's schema generator.

I updated the git repo with getters and setters, to replicate this problem.

Instead of using @ModelAttribute just use @RequestBody That will get the json editor in play

@RequestBody solves it. Getters and setters are not required as expected. See updated git repo, all works fine. I think it is worth mentioning in the docs that this is the preferred way to make everything work seamlessly. Thanks


Scrolling In DatePicker Doesn't Properly Reset PointerOver Style

Describe the bug
Pointerover styles aren't getting re-evaluated in the DatePicker correctly:

This is likely an underlying issue with the ItemsControl (but I haven't done any investigation)
The pointerover style, after mouse scrolling, is staying with old, recycled items instead of being cleared during the scroll
The pointerover style is not re-applied to the item under the pointer/mouse until the mouse is moved. If items under the mouse change, styles should be re-evaluated.

To Reproduce
Steps to reproduce the behavior:

Go to ControlCatalog
Navigate to the Date/Time Picker page and then open the first "A simple DatePicker" flyout
Within the flyout hover the mouse over a year, pointerover style is set correctly
Now scroll with the mouse wheel (slowly & quickly) notice how the pointerover style is incorrect

Expected behavior
:pointerover style is always set to items below the mouse during scolling.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Pro
Version: 11.0-preview5+ at cbe0bb861a767b7bf7b268bbaa1d89dcf8523aea

Additional context
Add any other context about the problem here.

1. This is likely an underlying issue with the ItemsControl (but I haven't done any investigation)

DatePicker and TimePicker don't actually use ItemsControls - its a custom, very specialized Panel that handles the virtualization and wrapping of items.
I actually think its more related to ScrollViewer and Layout, as this is reproducible in the ListBox too. It looks like when scrolling, the element under the pointer is one frame behind the actual layout.
I looked at the ListView in WinUI 2's gallery, and there is a delay of the pointer over state updating while scrolling, but it is properly re-evaluated after scrolling finishes.


Solution can work with IP camera

Hi,
I am having IP camera and want to play RTSP h.264 stream on chrome browser. Is it working with this solution ?

i have the same question  , do u have resolve it? my email<EMAIL_ADDRESS>

It should work, as long as its a standard rtsp stream.

It should work, as long as its a standard rtsp stream.


Saturday After Party Venue

Oct 19th 5pm -> 7pm location TBA

I've been talking to Three Notch'd. They can allocate a space for us, but they require a $1000 minimum food and drink tab. It seems achievable, but I don't want to be liable for the remainder. I still need to work out the details with them. Given it's a Saturday evening, it would be nice to have a space allocated ahead of the event. I may end up scraping this idea and do something more unofficial instead.

Also, the idea is that the Saturday After Party is open to anyone, including attendees, their families, and friends. You can bring your family out after and grab dinner.


Implement matrix-matrix multiplication

Matrix multiplication is an important primitive operation.
We can redefine convolution in terms of matmul when it's implemented.
matmul will become relevant when batches are supported.

Proactively assigning this to myself.
I'll submit a PR for a trivial (CPU) implementation within the next 3 days.
I'll then add GPU support as part of #8.
If someone needs matmul support before I get to it, please take over the issue 😄

Design detail: I believe the existing Tensor.dot method should be extended to support matrix-matrix multiplication functionality (rather than implementing a new Tensor.matmul method).
This is consistent with popular machine learning libraries. dot will then support vec-vec, mat-vec, and mat-mat multiplication. In the future, the functionality of dot can be generalized to match tensordot.

Makes sense -- a generic dot method can delegate to AXPY, GEMM, ... based on tensor shape. A general question is if and how we want to deal with broadcasting semantics but I guess we can deal with that later.

Whether to support broadcasting semantics is a good question. I'd like to support broadcasting because it improves usability and often leads to computation optimizations. (Broadcasting isn't relevant for matmul though, only elementwise binary ops.)
Some random resources, somewhat off-topic:

"Type-safe abstractions for Tensor Operations"

Shape-safe tensor operations, implemented using HList from shapeless.
I would say this project makes immediate sense to Scala developers.

"dot broadcasting" in Julia
The Julia language challenge

The broadcasting links are good reading. This probably warrants a separate discussion.


Support Transaction API

https://www.confluent.io/blog/transactions-apache-kafka/

This is the most informative and well-maintained document about transactions in Kakfa. Hope this would help: https://docs.google.com/document/d/11Jqy_GjUGtdXJK94XGsEIK7CP1SnQGdp2eF0wSw9ra8/edit#heading=h.7mkuz62dyql

The support for transactional production is already merged into production. So, this issue can be closed now.


Terminal PR template loses heading style after submitting

When I try to create PR from terminal without mentioning file name, it will pick up default PR template but after submitting it loses heading styles.
hub pull-request

opens up pull request default template for project as below
### Description
Lorem ipsum
- [ ] Checklist 1

will result as below on github.
Lorem ipsum

[ ] Checklist 1

Duplicate of #1377 ? PR at #1916.

Thank you @salmanulfarzy!


Putting in version check for Rails 4 compatibility

Putting in a version check for Rails 4 compatibility. Rails 4 doesn't use attr_accessible.
This exact check already existed in /lib/generators/koudoku/templates/app/models/subscription.rb.

@boomshadow were you able to get Koudoku running on Rails 4?  I did something similar to this effectively but am still having problems

What is the latest status on Rails 4 compatibility?
Also, is it still a requirement to have Stripe downgrade my API version to 2015-02-16?
It would be helpful for the documentation to address these issues. I hate to give up on Koudoku, but it would save a lot of time for many of us trying to implement it.  I appreciate your efforts, though.

@rhuppert
Hi Ron.
Koudoku does not support Rails 4 and you have to downgrade the API version.
Your pull requests to make Koudoku compatible with Rails 4 are most welcome.
Cheers,
Christoph

@rhuppert koudoku works pretty well with my rails 4 app. Rails 4 doesn't use attr_accessible and there is a rails version check that should take care of this but it's not working so you have to remove the attr_accessible macro from the plan model.


feat: add reason parameter in disconnect events

Proposed Changes
Add Reason parameter in on_client_offline and on_client_gone events. The Reason parameter is used to provide additional information about the client's disconnection reason.
Types of Changes
What types of changes does your code introduce to this project?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes issue #XXXX)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (correction or otherwise)
[ ] Cosmetics (whitespace, styles...)
[ ] DevOps (Build scripts, pipelines...)

@VivekPipaliya23 I can see crashed processes in the tests ci. Can you please fix it?

@VivekPipaliya23 I can see crashed processes in the tests ci. Can you please fix it?

I have added a commit fixing that.


[CARBONDATA-1913][global_sort] Global Sort data dataload fails for big data with RPC timeout exception

Problem
When gloabl sort option is used for big data then for some times it fails with
RPC timeout after 120s.
This is happening because the driver is not able to unpersist rdd cache with in 120s.
The issue is happening due to rdd unpersist blocking call. Sometimes spark is not able
to unppersist the rdd in default "spark.rpc.askTimeout" or "spark.network.timeout" time.
Solution
Clean cache only if persisted and keeping unpersist non-blocking. Non blocking will not wait for cache
clean up task to finish and non-blocking call will not have any functional impact as spark automatically monitors the cache usage on each node and drops out old data partitions in a least-recently used (LRU) fashion.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[X] Any interfaces changed?
NA
[X] Any backward compatibility impacted?
NA
[X] Document update required?
NA
[X] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.
Not possible to add testcase, fails only with bigdata and failure is random.
[X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2137/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2430/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2439/

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/926/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2155/

SDV failure unrelated failing randomly for other pr also

LGTM

LGTM


How to construct a QueryDSL query between unrelated entities?

I am trying to join two entities that are not related, I mean without using foreign keys as the column in the database is used to link to several tables.. so I cannot use foreign key constraint, hence the column will be as integer and not object in ORM.
I have two main tables

TABLE2, contains ID, ...
TABLE1, contains ID, nonforeignKeyColumn that should reference to TABLE2, ...

Below is the code that I am trying
subQuery.select(TABLE1.ID).from(TABLE1)
	.join(TABLE2).on(TABLE1.nonforeignKeyColumn.eq(TABLE2.ID));

List<Predicate> predicates = new ArrayList<>();
predicates.add(TABLE3.TABLE1.ID.in(subQuery));

JPAQuery<TABLE3> query = new JPAQuery<>(em);
TABLE3 result =  query.from(TABLE3)
	.where(predicates.toArray(new Predicate[predicates.size()]))
	.orderBy(TABLE3.creationTimestamp.asc())
	.limit(1)
	.fetchFirst();

This piece of code is causing the error as I am linking the column to the object without using FK
subQuery.select(TABLE1.ID).from(TABLE1) 	.join(TABLE2).on(TABLE1.nonforeignKeyColumn.eq(TABLE2.ID));
Error

java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: Path expected for join!

What do you suggest? I cannot use queryDSL for joining two related entities?

An unrelated join is also called an entity join which is actually supported in Hibernate 5.1 and above, as also indicated by the aforementioned blog post.
Which Hibernate version are you testing against?


Remove .DS_Store files

Signed-off-by: Hongyin Huo<EMAIL_ADDRESS>

Issue: https://github.com/IBM/iTestCloud/issues/37
Test: N/A
Result: N/A


Add primary key to wt_dates table

Add primary key to wt_dates table to prevent errors on MySQL 8 and above when system variable 'sql_require_primary_key' is set.

Enhancement of DB structure is contained in v2.0.10-2. Please take into account that this is only the initial db structure. Webtrees itself will make changes on first startup to this structure depending on the version. Anything changed in this file must also be reflected in the code of Webtrees itself.


Component not loading under sources in Chrome webpack 4 angular 8

Hi i am using webpack 4.3.0
And webpack dev server 3.11.0
I am not able to get any components in the sources folder when I check in developer tools in Chrome.
Also property of call undefined in my pollyfills.ts, global, ts and main.ts filea

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please either update the issue with the template and reopen, or open a new issue.


OLED Mode does not change theme-color

Screenshots

Got it!
https://user-images.githubusercontent.com/4144601/200271913-9ef278a0-2a30-465a-a744-29631b5d2872.MOV


Implement delta for DragStartDetails

I would like to ask if is it possible to implement delta for DragStartDetails since only DragUpdateDetails have it.
https://api.flutter.dev/flutter/gestures/DragUpdateDetails-class.html
https://api.flutter.dev/flutter/gestures/DragStartDetails-class.html
Thank you.

What would the delta be? Wouldn't it always be 0 at the start of the drag?

What would the delta be? Wouldn't it always be 0 at the start of the drag?

I am developing a game with flutter and I needed to move my player from his current position (x, y) to the users's position first touch before dragging, I thought that onStartDetails could give me a delta or someway for me move the user's touch position (x, y) progressively, maybe I will have to implement that myself, is there any method on flutter api that could help me do that, go progressively from a number to another?
Current position (x = 100, y= 100 )
New position (x = -100, y = 50) (but goes progressively and not directly)
Thank you.

I don't think we can give you that delta in the DragStartDetails because we don't know the point of reference. The delta in  DragUpdateDetails is the delta from the last event and since DragStartDetails is the first event, there's no delta.
You can use an AnimationController and a Tween (or one of its subclasses) to animate from one position to another, if that's what you're asking.
I am closing this issue since the original request doesn't seem doable.


PolygonSprite.java setRegion bug

Issue details
I am trying to execute this piece of code in my game.
public void draw(Batch batch, float parentAlpha){     PolygonRegion polyReg = new PolygonRegion(connectorTextureRegion, getVertices(), getTriangles());     polygonSprite.setRegion(polyReg);     polygonSprite.draw((PolygonSpriteBatch)batch); }
In general, it works well but sometimes I'm getting an ArrayIndexOutOfBounds exception caused by the setRegion line. If I dive into the methods code, it fails at the first line in the for loop.
public void setRegion (PolygonRegion region) {
     this.region = region;

float[] regionVertices = region.vertices;
float[] textureCoords = region.textureCoords;

if (vertices == null || regionVertices.length != vertices.length) vertices = new float[(regionVertices.length / 2) * 5];

// Set the color and UVs in this sprite's vertices.
float floatColor = color.toFloatBits();
float[] vertices = this.vertices;
for (int i = 0, v = 2, n = regionVertices.length; i < n; i += 2, v += 5) {
    vertices[v] = floatColor;
    vertices[v + 1] = textureCoords[i];
    vertices[v + 2] = textureCoords[i + 1];
}

dirty = true;

}`
Now let me know if I'm wrong, but I feel like there might be an issue with the if condition. We should have
(regionVertices.length /2)*5!= vertices.length
instead of
regionVertices.length != vertices.length
Whenever I get the exception, it's because the length of the region vertices array and the length of the sprite vertices array are equal.
Version of LibGDX and/or relevant dependencies
Libgdx:1.9.6
Stacktrace
E/AndroidRuntime: FATAL EXCEPTION: GLThread 3995
Process: com.kozma.rope, PID: 13199
java.lang.ArrayIndexOutOfBoundsException: length=20; index=22
at com.badlogic.gdx.graphics.g2d.PolygonSprite.setRegion(PolygonSprite.java:342)
at com.kozma.rope.components.LineConnector.draw(LineConnector.java:99)
at com.kozma.rope.models.LineSegment.draw(LineSegment.java:372)
at com.badlogic.gdx.scenes.scene2d.Group.drawChildren(Group.java:123)
at com.badlogic.gdx.scenes.scene2d.Group.draw(Group.java:57)
at com.kozma.rope.models.Line.draw(Line.java:341)
at com.badlogic.gdx.scenes.scene2d.Group.drawChildren(Group.java:110)
at com.badlogic.gdx.scenes.scene2d.Group.draw(Group.java:57)
at com.badlogic.gdx.scenes.scene2d.Group.drawChildren(Group.java:110)
at com.badlogic.gdx.scenes.scene2d.Group.draw(Group.java:57)
at com.badlogic.gdx.scenes.scene2d.Group.drawChildren(Group.java:110)
at com.badlogic.gdx.scenes.scene2d.Group.draw(Group.java:57)
at com.badlogic.gdx.scenes.scene2d.Stage.draw(Stage.java:128)
at com.kozma.rope.screens.GameScreen.render(GameScreen.java:248)
at com.badlogic.gdx.Game.render(Game.java:46)
at com.kozma.rope.Rope.render(Rope.java:139)
at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:459)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1562)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1262)
Please select the affected platforms

[x] Android
[ ] iOS (robovm)
[ ] iOS (MOE)
[ ] HTML/GWT
[ ] Windows
[ ] Linux
[ ] MacOS

Not sure if it's related but you could check if current 1.9.9-SNAPSHOT fixes the issue with this commit https://github.com/libgdx/libgdx/commit/dcb5da717e3af7453015f326eb092d834a63a611

@obigu I'll take a look when I have time but looking at the changes, it doesn't seem to affect the setRegion method.

Looks like simple fix, why not make a PR for it? Making multiple issues about same thing wont help.

Closed by #5039.


Fix NetBSD build and add support for HAX_VCPU_IOCTL_SET_CPUID

Done.

Thanks for your update. Your pull request is ready to merge.

@krytarowski, HAXM has introduced the new API HAX_VCPU_IOCTL_GET_CPUID, would you implement it for NetBSD before the next release? Thanks.


Get token of GitHub using OAuth App

Resolve #18
By getting GitHub token using device flow

Designed for #53, but outdated.


#7712: Update ttnn docs for elu, erf-alike, log-alike ops

Issue #7712 , #8143 , #8142
Fix Provided

Documentation updated with information regarding supported data type and layout for elu, erf, erfc, erfinv, log10, log2, log10, neg ops
Skipped test for unsupported data type and layout

Sweep test results :

tests/ttnn/sweep_tests/sweeps/elu.py - elu.csv
tests/ttnn/sweep_tests/sweeps/erf.py - erf.csv
tests/ttnn/sweep_tests/sweeps/erfc.py - erfc.csv
tests/ttnn/sweep_tests/sweeps/erfinv.py - erfinv.csv
tests/ttnn/sweep_tests/sweeps/neg.py - neg.csv
tests/ttnn/sweep_tests/sweeps/log10.py - log10.csv
tests/ttnn/sweep_tests/sweeps/log1p.py - log1p.csv
tests/ttnn/sweep_tests/sweeps/log2.py - log2.csv

CI Tests

All post-commit tests - Link - PASSED
[post-commit] Fast Dispatch unit tests - Link - PASSED
[post-commit] Slow Dispatch unit tests - Link - PASSED

Closing PR as documentation structure is currently changed


Passing callback into Sidebar

Trying to get the onHide callback working on the sidebar,  I figured it should only be a matter of passing the callback into the function like so:
invertedSidebar.show({transition: 'push', onHide: toggle()})
Nothing happens with this approach, however.  Is there a different way of triggering functions using the callbacks?

Hey Simon,
Don't pass function and don't call it immediately, just pass it as variable:
For example: <sm-button class="positive icon" icon="sidebar" (click)="invertedSidebar.show({transition: 'overlay', 'onHide': next})">
and in component:
export class MyComponent {     next() {         console.log('a');     } }


ui::vnc crashes when setup() is followed by render() early

ui::vnc::setup() creates the vnc server screen at m_screen which is used by ui::vnc::render() to mark the screen rectangle as modified. However, m_screen is created in a separate thread and there is no protection to ensure m_screen has been initialized before using it.
Protect rendering by using the currently unused m_mutex and a condition_variable to wait for the vnc server to be properly set up.
0001-ui-vnc-wait-for-server-setup-before-rendering.patch.txt

Thanks for the report. Can you check if 4f025dd fixes your issue and let me know?

Yes it does. Thanks a lot.


Refactor/connectivity check cue

Please see each commit message for more details
Relates: https://github.com/cilium/cilium/pull/12671#discussion_r465920110
Relates: #12714
Relates: https://github.com/cilium/cilium/pull/12671#discussion_r460932868
connectivity-check,smoke-test: misc refactoring

Coverage decreased (-0.02%) to 37.112% when pulling c852399f7b5b313506475e407b9db4c8dc741ed8 on sayboras:refactor/connectivity-check-cue into 00bbb9cfec1ef56df797706761e3cf39cc584973 on cilium:master.

Travis completed successfully, but still showing as Queued.
https://travis-ci.com/github/cilium/cilium/jobs/371052557
https://travis-ci.com/github/cilium/cilium/jobs/371052558

Rebased with master to re-trigger travis, it's passed now. Full CI is not required as changes are related to GA only, so I am marking this as ready.


Auto-Assign Merge Conflict PR's

When there is a merge conflict doing the auto-sync from Master into the Feature and Child branches, is it possible to have the auto-generated PR automatically assigned to the last person who committed into the branch with the conflict or possibly the owner/creator of the branch?

See https://github.com/SFDO-Tooling/CumulusCI/issues/2153 for an alternative that is probably a bit easier to implement.


Add test cases for employees views, at least one per endpoint

Started in this commit https://github.com/belatrix/BackendAllStars/commit/e203afc870de2e5dc7d13b3dbd4efefe717fe181 , this should wait until refactor other employees endpoints

Added and merged initial test for employee creation

Fix category dependency


adding a new open api for weather

@davemachado  would you please review this when you have few minutes thanks .

@yannbertrand @davemachado @pyaillet , would one of you please review this CR and approve for merging .
I know you guys are busy but love to see this CR getting merged :) Thanks in advance

This PR is inactive, so the API was added in another PR/commit.
More information at: #2002


Create an integrations overview page for MS tools

To support an upcoming blog post

Will this be added to TOC later?
Also "do not disturb" is surrounded by different quotes.

@amyblais good catch..fixing both at https://github.com/mattermost/docs/pull/3673


implemented more stats (collapsible)

I just realized that I somehow deleted the code for the 'hollow' operator some time ago.  I've put that back in, so 'h' should work now.  I really love the new chamfer operator!  I should definitely see if it can be parametrized so that a gentle version of it can be applied to super-complicated geometries.  Thanks again so much for the help!

Yeah, I was thinking about that too... but I will leave it to you if you think you'll work on it soon.
Meanwhile I may take a whack at the 'whirl' or the 'half' (alternation) operator. For the latter, Coxeter uses an 'h' prefix, so we'd have to decide how to handle the collision with 'h' standing for 'hollow'.

P.S. Glad you like the chamfer! Thanks for being open to collaborating.

  Hmm... maybe we can just call hollow 'x'.

oh right, 'x' is used already... maybe, since hollow is weird, just call it 'H' caps, and keep the classical operators lower case, so we can switch w to h to keep Coxeter's notation.

'H' for hollow and 'h' for alternation -- sounds good.
'w' (whirl) is a separate animal -- let's keep that as 'w', OK?


Sitemap Parser to normalize entries

The attached sitemap contains the following entry which is causing problems
(for my Firefox browser and for our Sitemap parser). This is due to the
presence of the ampersands.

<url>
  <lastmod>2011-10-28</lastmod>
  <loc>http://www.tricae.com.br//Triciclo-Meu-1Âº-Tico-Tico-Europa--Bandeirante-1302.html</loc>
  <changefreq>monthly</changefreq>
  <priority>0.8</priority>
</url>

A solution would be to normalize all sitemap entries, however first we need to
port some code to CC (possibly from Nutch).
In the meantime a targeted hack of SiteMap parser would suffice but it is
certainly not ideal.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 9 May 2013 at 5:23
Attachments:

sitemap.xml

Relates to #148 - an undeclared XML entity breaks the parsing of the sitemap. If partially parsed sitemaps are allowed the URL is truncated (http://www.tricae.com.br//Triciclo-Meu-1). Normalize the URL after the sitemap parsing will not help.

Update: https://github.com/crawler-commons/crawler-commons/issues/305 added the possibility to configure a URL filter/normalizer for the URLs found in a sitemap. Maybe resolve this issue?

I think yes, but we might want a separate issue re using a more forgiving XML parser that would handle an '&' in a URL. Or we could do a pre-processing step to detect/catch that problem and try to fix it. Not sure about importance, however...would be good to see how often this happens in real-world robots.txt processing.


Add Coin Wallet

This PR adds Coin Wallet to Downloads section.

Hi @erciccione, Coin Wallet is non-custodial crypto wallet.
Main repo is here: https://github.com/CoinSpace/CoinSpace
Client code is completely open source. Links to monero part:

https://github.com/CoinSpace/cs-monero-wallet
https://github.com/CoinSpace/monero-core-js
https://github.com/CoinSpace/monerolib

Backend is partially private like in MyMonero.
Please let me know if you need more details about Coin Wallet ;)

Thanks for the info @nikashitsa. Good to know the wallet is non-custodial and fully open source. I still think it's not estabilished enough to be listed in the downloads page.

@erciccione why do you think so? Perhaps, we could improve something in order to get listed?

You cannot. We list only trusted wallets on the Downloads page. Your wallet is not estabilished and trusted enough to be listed. That's why I NACKed it. Others might have a different opinion.

@nikashitsa how long does coin wallet with monero support exist?

@selsta monero support has been added on 1st July 2021 (https://github.com/CoinSpace/CoinSpace/releases/tag/v4.0.0).

@nikashitsa I hope you can understand that we are careful with listing wallets on getmonero.org, especially if the wallet is new.
See a list of wallets here (https://www.reddit.com/r/Monero/comments/ohdx47/rmonero_weekly_discussion_july_10_2021_use_this/) and compare it with the ones on getmonero.org – we currently only list a small amount on the website.
You can reach out to the Reddit mods to get your wallet added to the weekly discussion post.

@selsta I understand. Thank you for the link 😊

Closing this.


Parameter binding does not work as portrayed on readme

In the readme there doesn't seem to be a consensus as to what character should the parameter placeholder on prepared queries be. Some examples use ? while some examples use $1, $2, $3, .... Let`s enumerate them by section:
Quickstart

SELECT $1

Querying

SELECT * FROM users WHERE email = ?
SELECT * FROM users WHERE email = ? OR name = ?

Compile-time verification

SELECT country, COUNT(*) as count FROM users GROUP BY country WHERE organization = ?

I'm using v0.4.2 and tried following these examples, and although it did compile the generated queries did not substitute the parameter placeholder for the bound value when using ?. It only worked (both when query and query_as as well as the macros) when using the $1 placeholders.
I'd be happy to submit a PR correcting the examples as soon as the correct usage is established.

It should be made more clear in the README but currently we do not make any changes to the SQL statement that you write. This means you must use the parameter syntax that is appropriate for your database:

? MySql
$1 Postgres
@p1 MSSQL
?1 SQLite

It should be made more clear in the README but currently we do not make any changes to the SQL statement that you write. This means you must use the parameter syntax that is appropriate for your database:

? MySql
$1 Postgres
@p1 MSSQL
?1 SQLite

See #875 for a proposal to add a unified way of writing parameters.

See #875 for a proposal to add a unified way of writing parameters.


RN creates thousands of native TextViews [Performance]

I'm looking into improving performance and used AndroidStudio to track memory allocation while pressing a button to switch from one screen to another.
This is what I found:

RN seems to create thousands of TextViews for a layout pass. Why is that the case?

Version: 0.29
Android
Mac

What does this UI look like? The text view create calls you're seeing are coming from ReactJS if those are the stack traces you're seeing, which I would only expect if you're app actually has a ton of  views in it.

It consists of a list with a a modal form displayed over it.
There are about 60 textviews displayed, certainly not 2800.
--
Sent from my iPhone

It also seems to be creating 60 EditTexts? How many of those are in the app? Are you sure this isn't counting across reloads? If so, can you paste your app code?

I have two or three EditTexts. This is not across reloads. Just tested again: Switching from my LoginScreen to my HomeScreen reproducibly creates exactly 192 TextViews.
Can't share my app code directory because of company guidelines, but maybe I can create a test-case later, if I have time.

Ok, I can share this, it's my root-"navigator" component, that does my fading and so on:
import { View, Animated } from 'react-native';
import React, { PropTypes as pt } from "react";
import { checkState } from "util/Preconditions";
import _ from "lodash";
import * as components from "./components";
import ModalShade from "./ModalShade";
import { Logger } from "util/logging/Logger";

const L = Logger.getLogger("MyNavigator");

class MyNavigator extends React.Component {
    static propTypes = {
        currentScene: pt.object.isRequired,
        modalView: pt.object
    }

    state = {
        animate: false,
        fadeAnim: new Animated.Value(),
        previousScene: null
    }

    render() {
        /* current scene by props */
        const currentScene = this.props.currentScene;

        /* previous scene is set in state */
        const previousScene = this.state.previousScene;

        /* modalView */
        const modalView = this.props.modalView;

        return (
            <View cls="flx-i">
                {/* PREVIOUS SCREEN */}
                {this.previousScene
                 ? <Animated.View
                     cls="absolute--fill"
                     key={previousScene.name}
                     style={{
                         opacity: this.state.fadeAnim.interpolate({
                             inputRange: [0.5, 1],
                             outputRange: [1, 0]
                         })
                     }}
                   >
                       {React.createElement(components[previousScene.name], previousScene)}
                   </Animated.View>
                 : null}
                {/* NEW SCREEN */}
                <Animated.View
                    cls="absolute--fill"
                    key={currentScene.name}
                    style={{opacity: this.state.fadeAnim}}
                >
                    {React.createElement(components[currentScene.name], currentScene)}
                </Animated.View>
                {/* MODALVIEW */}
                {modalView
                 ? <View
                     cls="flx-i"
                     key={modalView.name}
                   >
                       {React.createElement(components[modalView.name], modalView)}
                   </View>
                 : null}
            </View>
        )
    }

    componentWillReceiveProps(nextProps) {
        if (this.props.currentScene.name === "LoginScreen" && nextProps.currentScene.name === "HomeScreen") {
            this.setState({
                animate: true,
                previousScene: this.props.currentScene
            })

        } else {
            this.setState({
                animate: false,
                previousScene: null
            })
        }
    }

    componentDidUpdate() {
        if (this.state.animate) {
            this.state.fadeAnim.setValue(0.5);
            Animated.timing(
                this.state.fadeAnim,
                {toValue: 1}
            ).start();
        }
    }
}

This is not going to be easy for me to look into without something reproducible on my end: it doesn't look like I can run that?
I wonder if each animation frame is somehow creating and throwing away a scenes-worth of text views?@sahrens, do you see any issues with the use of animated here?

If you don't have any further tips i can try out on my end, I'll investigate more and create a working test-case, I just want to spare myself the time, if possible. Thanks.

Yeah sorry, I don't have any tips: this isn't something I've seen before.

NP, I got a bad conscious because of opening so many bugs in RN anyway ;).

Okay, I've created a runnable example. Add these 5 files to a vanilla react-native project:
https://gist.github.com/fab1an/c13d1887bedc4fe76b6ae3529778f4fb
When I run that using Android Studio and tap to switch from View1 to View2 I get 54 allocated TextViews :

@astreet Is that enough for you to check it out?

I got your app running but am not seeing a bunch of view commands being sent to Java (see screenshot). I also don't see any animation in your demo. Can you set SPY_MODE = true in MessageQueue.js and tell me if you see something similar to this screenshot when you run adb logcat | grep createView, or if you see a lot more createView's?

The animation in the sample just jumps from 0-100 and isn't really animated.
I have the same output you have:

Still, tested again with Android Studio monitor: 54 TextViews created.

I think something is either up with Android Studio or up with the methodology you're using: are you sure you aren't forgetting to clear tracked allocations between reloads or something? Here's what I just tested:
I put a static count int in ReactTextView.java that counts the number of times the constructor is called and prints it using android.util.Log. I counted 8 total. I also put a breakpoint in the android system TextView constructor and again counted 8 constructions. Can you also repro this on your end?

Hm… I get to same results. I think I read the results wrong: These aren't actually allocations of TextViews, but various theme-related objects that are instantiated in the constructor.
Since the TextView has many cascading constructors that is why there are so many invocations of <init listed…


A different question

Hi @Leo4815162342 ,
Do you have any experience with setting up FIX trading API?
Thanks

@lezwright no, I've never worked with it. Do you have any documentation or other references to it?


Updated translation.

Coverage remained the same at 39.84% when pulling 9cf9d7e7d6329844c8111ad92e0d8b1fb2503382 on Myrmece:patch-2 into b44b31f5ca68e68961e20ccb5f107b368dc63196 on NyaaPantsu:dev.


Added dir Data Analysis and some analysis on dataset using python.

Exploratory  Data Analysis on Dataset. Review!!!

thanks for contributing!


NIST PubID scheme: Parsing of "NIST SP 782e1995-96" with 2 different years...

https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication782-1995-96.pdf
This document is clearly listed on its cover that it is "NIST SP 782e1995-96".

How can we parse this? Now we use only one year, can't assign two different years.
Originally posted by @mico in https://github.com/metanorma/nist-pubid/issues/73#issuecomment-1016206181

@ronaldtse any ideas what we can do with this?

Pending NIST clarification.


rerun batch analysis with updated logic and new convergence

completed this last week as part of my prep for the poster for dh2024


Make documentation more clear it is about custom topics

I work with Event Grid Support, and we get many cases related to private end points.
I believe this article is talking about custom topics, as there is no networking tab with system topics. Both are referred to in other articles as (system topics) and (custom topics). I think here it will very helpful to make this distinction, and also write a clear sentence that this is not available for system topics.

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

ID: b4e04eb6-b319-0a70-93a2-4f732c9e2e7b
Version Independent ID: 52173e04-fe7e-8211-29bf-876ebdea77ef
Content: Configure private endpoints for Azure Event Grid topics or domains - Azure Event Grid
Content Source: articles/event-grid/configure-private-endpoints.md
Service: event-grid
GitHub Login: @spelluru
Microsoft Alias: spelluru

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


Syntax highlighting is inconsistent

The act of adding or deleting a new line sometimes affects highlighting further down.
I've uploaded a screen recording to demonstrate this.
https://user-images.githubusercontent.com/17053076/150178127-23d36f93-69de-4636-b201-d8f13d805e6e.mov
Also, some comments starting with /// act weird. deleting 1 / symbol and then adding it back resolves this.

So long as saving the file produces the correct highlighting at the end, I don't think transient bad highlighting is a big deal. Can I close for now?

Closing for now as I can't repro.
If this resurfaces I'll re-open with more detail.

Going to reopen this issue as I think it might be related to this and this issue in 'sway-lsp'

This has been resolved in https://github.com/FuelLabs/sway/pull/2919


⚠ Avatar API Endpoint has degraded performance

In 8708cf5, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 5650 ms

Resolved: Avatar API Endpoint performance has improved in b83a1e3.


Allow to take internal port from a Dockerfile

Allow to take internal port from a Dockerfile.
if I'm not mistaken it should be here: https://github.com/progrium/dokku/blob/master/dokku#L73-L81

We've traditionally made it so that the port is always 5000, though I can see why you might want to customize that for a dockerfile.

Hi @josegonzalez
It became necessary for me when I tried to run already dockerized application. It exposes not 5000 port.
Of course I could:

to do some kind of proxy docker layer from 5000 to different port
to change port of application

But it would be much easier if dokku could take already exposed port.

:+1:

@mahnunchik @vbauer
What are the expected outcomes here? When I deploy a Dockerfile with EXPOSE 3000, nginx still proxies correctly.
Are you just looking for this when not deployed using nginx-vhosts?

Scratch that. My test app has this:
app.set('port', (process.env.PORT || 5000))

As a principle, I think the app should be modified to allow the deployment environment to tell it on what port to listen and include a sane default. This falls into line with the Heroku paas mentality.

Also, what do we do if a Dockerfile exposes multiple ports? Which one do we pick to proxy to?

Hi @michaelshobbs
My opinion:

Heroku ideology is well suited for normal applications that are assembled from the source code on deploy.
Dockerized applications are already built (image) or contain all the information to build themselves (Dockerfile)

We have two options:

Specify in the documentation that all applications (including Dockerized) should take the PORT variable
Make an assumption for Dockerized applications and read port from the image.

Also, what do we do if a Dockerfile exposes multiple ports?

I think we should pick first port (like it in Deis)
If we allow to take internal port from Dockerized app that we will give users ability to run already packed (maybe not their) applications without modification.

Good points.
@josegonzalez any additional thoughts here?

I would do the following:

Highly suggest users take the PORT variable in all apps (buildstep/dockerfile)
Highly suggest users use 5000 as something hardcoded if they need to hardcode in all apps (buildstep/dockerfile)
Document that if they expose a port in a dockerfile, we will take the first port from the container, regardless of what port that is, and use that when proxying requests.

@josegonzalez It will be great!

sounds good to me. i can work on this shortly


How can I lay out sub-fields that depend on a main field?

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x ] support request

I asked a question on StackOverflow, but I'm not sure I tagged it correctly.  it is here: https://stackoverflow.com/questions/51714464/how-can-i-lay-out-sub-fields-that-depend-on-a-main-field
The question is about how one might indent a field under each option of another field.  For example, let's say we have a set of radio buttons for"Option A", "Option B", and "Option C".  If Option A is selected, there might be a text field that becomes enabled right under it, but above Options B and C.  If Option B is selected, there might be a set of checkboxes just below it, but above Option C.  I realize this is hard to visualize, and the stackoverflow question linked above has a wireframe.
If you had to do something like this, how would you approach it?
Many thanks,
 Scott McD.

Current behavior
Each field is output based on the chosen template (Bootstrap, Material, etc.) and is a complete element. It is not possible to have a other fields show up beneath each option of a radio button set.
Expected behavior
Have a set of radio buttons in which other fields can appear below each option via CSS.  Basically, looking for CSS hooks that we can use to lay this out.
What is the motivation / use case for changing the behavior?
It's a common pattern in web application forms to show sub-fields that are only enabled when a given option is selected.  Most common are checkboxes and radio buttons.  While the actual enabling/disabling is possible, it helps the end user to understand the relationship between the fields using layout and indentation.
Please tell us about your environment:

Angular version: 6.0.7<EMAIL_ADDRESS>

is there a price for that :smiley: ?

Many thanks!  It didn't occur to me to use separate radio button fields with the same name and key.  Much appreciated!


Refactor Trireme-Kubernetes README and Github repo

Include removal of TargetNetworks
Ease of use and deployment for Simple policies. Out of the box.

duplicate #70


Rename Provider to Pod

Description
I'd prefer if riverpods providers would be called "pods".
-final counterProvider = StateProvider((ref) => 0);
+final counterPod = StatePod((ref) => 0);

Reasoning

Prevents name collisions with provider
Makes code shorter
Acronyms make libraries and concepts popular. A "pod" is good not an acronym but short
Provider is already a reserved name. I want people saying: "And then you create a new pod..."
IMHO Provider is a bit too generic

Migration
For the migration, we could:

temporarily have both names coexist (having both a Provider and Pod in the package), with *Providers being deprecated
provide a command line tool to automatically to the migration (akin to dart fix, likely implemented using codemod)

Make sure to vote with either :+1: or :-1: to express your opinion, as this is how the decision will be made

I like ‘pod’, and I have nothing against it. Could an alternative be River?

This is absolutely genius, +1 to this suggestion.

The goal of the current naming is to provide an easy path for people to migrate from provider to riverpod.
The package name itself is a representation of how similar both libraries are, as riverpod is an anagram of provider.
By using "pod", that would draw a line between both packages.
Is that really desired?

I agree with Remi. Provider is classic word in the Flutter and all know what it mean it's like Future, Stream, Function, String... It same like I would say "I'd prefer Future would be called Later". I believe who want shorter name can fix it with short extension.

About "avoiding name clash with provider"
Would using import alias cover the need?
import 'package:provider/provider.dart' as provider;
import 'package:flutter_riverpod/flutter_riverpod.dart' as riverpod;

final example = riverpod.Provider((ref) {

});

...
provider.MultiProvider(
  providers: [
    provider.Provider(create: (context) => ...),
  ],
)

As for context.read clashing between both packages, #335 should implicitly cover this, as riverpod would instead do ref.read inside widgets (no longer using BuildContext)

I did the migration from provider to riverpod in my work.
During the migration period, when I talked about Riverpod and package:provider with other engineers, I had to explain whether the "Provider" I was talking about was the provider's or Riverpod's, which was annoying.
We can also use an alias at import time, but the IDE doesn't insert an alias automatically. So I had to write the alias myself, and it was very tedious to go back and forth between the logic and the import statement.
So, I agree with this idea.

If we're going to do a rename, I believe we could:

keep the current names, but deprecated
provide a quick fix to automatically migrate from *Provider to *Pod

So the migration should be smooth.
But I'd really need confirmation that this is what people want.

I know naming things is probably the hardest part of programming.

Provider

a person or thing that provides

Pod

a streamlined enclosure, housing, or detachable container of some kind

Of these two choices, I prefer Provider based on what it means.
I'm concerned that choosing Pod is really just a derivation of the anagram of Provider rather than a choice based on choosing an appropriate noun.  Imagine that Remi transformed Provider to RoverDip, would we entertain calling them Rovers?

"pod" fits IMO
Providers/Pods are self-contained state units, especially now that with Riverpod, providers are no-longer widgets.
It is likely that as the language evolves, the barrier between the provider and XXNotifiers will fade.
It's worth noting that in JS, they call it "atom".

I think of Riverpod as a reactive caching / memoization framework with dependency injection.
As such, I like the name Cache.
FutureCache StreamCache Cache StateCache StateNotifierCache ChangeNotifierCache.
And the return of Future/Stream could be called AsyncCache. It seems to fit what Riverpod does for you. It's a little more explicit than Pod which seems like just a catchy name.
But I also like Pod, as it fits the naming of Riverpod better. Either is better than Provider in my opinion, because Riverpod's uniqueness is not about the dependency injection or providing to the widget tree, but rather about memoizing and reacting to state changes.

I don't like "cache" as a name, but I agree with @TimWhiting
I definitely see Riverpod as a reactive caching mechanism

Renaming would help support partial migrations; using Provider and Riverpod at the same time.
The Pod name isn't explanatory though. I don't like the name as it sounds icky and reminds me of this.

I like the Pod, but it would conflict with cocoapods and the iOS world, so searching for anything on Google would get a lot harder! I voted for no.

Pod confuse me.. i have pods for kubernetes :(

"It'll conflict with cocoapod"
But "provider" conflicts with many things too.
For example for authentication, you're rely on "third-party authentication providers"

@Abacaxi-Nelson I also thought in Kubernetes, but it doesn't mind because Flutter and Kubernetes has nothing in common.
Although you were writing a Flutter App for monitoring your Kubernetes' pods with Riverpod, there are ways to avoid name conflicts.

I like Pod to avoid name clashing with Provider, but if the name is going to be drastically different, using Atom is another option.

As far as conflicting names causing search issues, maybe a new name to fit the reactive nature of it:
Reactor
or
Reactant
or
Coact
or
Impact
but I still think Pod fits best with the name Riverpod, unless you do something River related like:
Ripple
or
Drop
Just brainstorming here. I can see why Atom fits.

There are quite a lot of people against this change
Even if the majority is in favor, I don't think it is reasonable for this change to pass. We're not electing a president after-all. I would expect a small minority of people to be against a change for it to pass.
In comparison, the feedback on #341 and #335  is overwhelmingly positive.
So I'm opposed to the renaming

@rrousselGit
From what I've seen it seems like non-function type aliases will be available starting Dart 2.13. At that time it would be nice to have Pod typedefs in a library like package:riverpod/pods.dart for the many people who were in favor of this, because even though there are a lot of people against the change there were quite a lot in favor of it. Obviously this would make documentation difficult, so I would just mention it in the beginning of the documentation that the typedefs are available and just have the official classes be what is used in the docs.

I don't think Riverpod should include such typedefs.
If people want to use a different name, they can define typedefs on their own.
Having typedefs in the official library would be confusing. Consistency is key

Good news for all Pod type lovers! Now you can rename Provider type how you want by TypeAlias in the Dart 2.13


issue #490 added links in leaderboard

Fixes #490
@Anupam-dagar please review

https://jigar3.github.io/OpenCode-Collaborative/leaderboard.html
deployment link

@Jigar3 change the default color to white and also a good visible hover color


Storing dyn Trait and str without Box<str>.

Greetings!
Hypotetically, because ArcSwapOption inside uses Arc it can store dyn Trait and str directly without double boxing.
But in current implementation RefCnt::Base becoming type Base = str; / type Base = dyn Trait.
Hypotetically, that part can be implemented with void raw pointers. Is that possible and is the game worth the candle?

Hello
I don't think what you suggest would work.
The issue with dyn Trait, str, slices and other unsized types is that pointers to them are fat pointers. The pointer is 2 words large ‒ in case of str and slices, it is pointer to the beginning and the length, in case of dyn Trait it is pointer to the object and pointer to the vtable.
This is an inherent property of any representation of the pointer. If you manage to somehow cast such pointer to usize or to a void raw pointer or to anything like that, you lose half of the information and have no way to recover it later on ‒ so that one is not possible. And Rust AFAIK doesn't offer a way to store 2-word value atomically. That's the reason why AtomicPtr<str> or anything like that doesn't exist.
I believe this is therefore not possible to support, so I'll close this issue. If you believe I'm wrong there, I'd ask you to post some kind of minimal example of passing the pointer from one thread to another atomically and recovering the original value on the other side.


Reduce the size of the jerry_context_t structure

This patch substitutes several global pointer with compressed pointers to reduce the size of the structure.
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik<EMAIL_ADDRESS>

Note: The binary size is reduces ~120B without performance effect.


⚠ Bofrost.be has degraded performance

In 04e87bb, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 3115 ms

Resolved: Bofrost.be performance has improved in 0a5f7dd.


Minor fix: NPLBroker object storage

The previous version stored the NPLBroker class object in its own file, which may introduce problems in the future where libraries use depend on different versions. So we will be storing the object on an external file under /dist/NPL/objectStorage.js

inshallah this works


Proposed SIG-Simulation meeting agenda for 2023/06/15

Meeting Details

Date/Time: 2023/06/15 @ 16:30 (24-hour) UTC
Location: Discord SIG-Simulation Voice Room

SIG Updates
What happened since the last meeting?

2023 SIG Simulation Chair elections concluded: Chair: @adamdbrw, Co-Chair: @lgleim
New @o3de/sig-simulation-maintainers @michalpelka (cf. https://github.com/o3de/sig-simulation/issues/74)

Meeting Agenda

Review pending reviewer nomination(s)
Review pending RFCs
Review sig-simulation planning for 2023
Discuss approaches to stabilizing development
Discuss approaches to create an accessible release of the O3DE ROS2 Gem (e.g. using containerization)
Discuss any other proposed topics

Outcomes from Discussion topics
Discuss outcomes from agenda
Action Items
Create actionable items from proposed topics
Open Discussion Items
List any additional items below

Moving weekly triage to 16:30 CET
Move governance meeting to 17:00 CET
Robotics-friendly Distribution (PhysX5 by default)

PhysX5 improves e.g. IMU measurement stability/accuracy by 10x - 1000x


feature (Navisworks): Add ability to set Advanced Options on send

What package are you referring to?
ConnectorNavisworks
Is your feature request related to a problem? Please describe.
Sending options for georeferencing, views, and property aggregation will need to be saved with the Saved Streams.
Describe the solution you'd like
As per other connectors using DUI

Closed in https://github.com/specklesystems/speckle-sharp/pull/2095


added 2016 RX450H F-SPORT

Fingerprint
This pull requests adds a fingerprint for <Lexus - RX450h - 2016 - F-SPORT>

Also going to need link to stock drive according to pull request template

This is an explorer link to a drive with the stock system enabled: ...

"[02:50] joejoe: OP drives Rx450h Fsports nicely!" on toyota-lexus channel. contacted them about getting the explorer link. If it comes will send you directly :)

And here is the comma link! :)
https://my.comma.ai/a71c4564a96157a5/1572196616954/1572198921208

@heitikender , I need one drive with the DSU plugged in unfortunately.

joejoe claims he didn't unplug DSU. So the drive must be correct one.


laptop: when removed from dock eDP-1 monitor should be engaged but is not

enhancing toggle to toggle internal display when its activated and dock display is not connected


Not Compatible with MomentJS 2.9+

If you run the plugin with any version of momentjs after 2.9+ the browser will produce a warning similar to the message below.  I was using the format "hh:mm A" which is a valid ISO format according to the latest momentjs documentation.
Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.
Arguments: [object Object]
Error
at Function.createFromInputFallback (https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js:6:2710)
at oa (https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js:6:10865)
at Ia (https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js:6:14772)
at Ha (https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js:6:14633)
at Ga (https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js:6:14353)
at Ja (https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js:6:15085)
at Ka (https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js:6:15119)
at a (https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js:6:202)
at Og.a.$render (https://rawgit.com/atais/angular-eonasdan-datetimepicker/0.3.8/dist/angular-eonasdan-datetimepicker.min.js:1:468)
at https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.6/angular.min.js:286:500

NOTE: the error above was found in the Chrome developer console using the simple example off the main page.


[tweak] make image and rootPass required since they are required to successfully provision a linode

Slight tweak to make the image and rootPass fields required for LinodeMachines. Both are required for a Linode machine to successfully provision since there is no "default" OS and the rootPass isn't generated if authorizedKeys is set.

A fix is coming with default values: https://github.com/linode/cluster-api-provider-linode/pull/71/commits/ef4571208d20e465aaf94e5181a86d6abc7835df#diff-8daab1045cecf480419b0a31c2f8558e51197d31a7be910386ef4e420db0f7a4R307

Awesome, thanks! I'll close this PR out then.


Bogous auth provider can break accounts menu

implement an auth provider
do not register it in package.json
run and select the accounts menu
:bug: nothing happens, there is an error on the console

ERR No authentication provider 'autho' has been declared.: Error: No authentication provider 'autho' has been declared.
    at AuthenticationService.getLabel (file:///Users/jrieken/Code/vscode/out/vs/workbench/services/authentication/browser/authenticationService.js:320:23)
    at file:///Users/jrieken/Code/vscode/out/vs/workbench/browser/parts/activitybar/activitybarActions.js:201:72
    at Array.forEach (<anonymous>)
    at AccountsActivityActionViewItem.resolveActions (file:///Users/jrieken/Code/vscode/out/vs/workbench/browser/parts/activitybar/activitybarActions.js:200:20)
    at async AccountsActivityActionViewItem.showContextMenu (file:///Users/jrieken/Code/vscode/out/vs/workbench/browser/parts/activitybar/activitybarActions.js:107:29)

Should already be fixed with https://github.com/microsoft/vscode/commit/a5a8392079eb08d5166e19f866520bb212166459#diff-a4ee698aba71433019564e70122151ba1d84efb134eacb1c0d795e39274a6d8a


Use Prisma namespace in database access docs

I'm assuming this is part of the  2.15.0 cleanup: functions such as sql, join and empty are not exported directly from @prisma/client, so making necessary changes in the documentation.

#1232

#1232

Thank you! 💚

Thank you! 💚


Refactor test flow for message server

Context: https://github.com/cosmos/ibc-go/pull/7091#issuecomment-2275789303
Adding IBC_VERSION_2 to message server should now be tested as we do for classic flow. The tests would need a spicy refactor if we wanted to test both flows in the same function.
Alternatively, I think a copy-paste-remove uneeded cases from existing tests could also suffice and lead to more readable tests instead of cramming everything in a single function.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

Closed by #7162


Only temperature is available

I installed and setup the plugin and I only see a single "thermostat" accessory that shows the temperature of localhost. It's missing the frequency, voltage, and throttled information.

Apple’s Home app only supports a limited subset of HomeKit.  Did you try another HomeKit app?

I installed another HomeKit app and now I do see the extra data under the accessory that's not shown in the Home app. I was under the assumption the plugin would expose multiple accessories with each showing the information. Maybe consider it a feature request 😄

Or maybe not.  Home would just show a bunch of Not Supported tiles, and you’d hit the Apple imposed limit of 149 accessories per Homebridge instance way sooner.


Azure DevOps Tutorial Using Keptn Extension

Updated the Azure DevOps tutorial by using the extension.
Followed the same flow as the 06 version of Juergen. I am still refering to Juergen's repo for the sli, slo and runTests.sh files.

Thanks @heydenb for this improvement. I'll take a look and will be happy to merge it

Thanks @heydenb for this improvement. I'll take a look and will be happy to merge it

I just saw that a couple of issues in https://github.com/keptn-sandbox/keptn-azure-devops-extension/issues have been closed as well. If they are related to this PR, please mention them so we have full transparency :)

I just saw that a couple of issues in https://github.com/keptn-sandbox/keptn-azure-devops-extension/issues have been closed as well. If they are related to this PR, please mention them so we have full transparency :)

sorry @heydenb for the delay.
When reviewing the tutorial, seems that there is something missing in Step 10 - where is the demo application coming from?

I couldn't find any repo that has been pulled or cloned that is used at this step.

Hi @heydenb ! Did you already have the chance to take a look at this?

Please consider migrating this to 0.8.x directly

Hi @heydenb ! Should we close this one as it has been open for quite some time now?
I'd suggest to migrate this tutorial for Keptn 0.8.x and then open a new PR.

Sure thing.
Op wo 19 mei 2021 09:36 schreef Jürgen Etzlstorfer @.***

:

Hi @heydenb https://github.com/heydenb ! Should we close this one as it
has been open for quite some time now?
I'd suggest to migrate this tutorial for Keptn 0.8.x and then open a new
PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keptn/tutorials/pull/114#issuecomment-843832206, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AATV5UVBX7MPUU2MSW73FFDTONTBTANCNFSM4VK5R6UA
.

I'll take this PR into my hands, might re-create it

Just in case, is it still on your list @christian-kreuzberger-dtx ?

Hi @oleg-nenashev , as of right now, this PR is not in a state where I would merge it. In addition, it targets a very old Keptn version, and writing a new tutorial targeted for Keptn 0.11/0.12/0.13 would consume too much time.
I believe we should close this PR.

Will close based on the feedback. Happy to revise it for the new Keptn version


support for stop_gradient?

I had a case where I stop_gradients in my flow. Due to this, some of my grads are zero.
I've proposed a fix for this, but I should at the same time, ask if this invalidates the method or not, or if this is the correct way of handling no gradients?

Thanks for the contribution. Could you provide more context as to what led to zero gradients?
If there are no gradients, the back path is generally routed as zero as well. So, this does not need to handled explicitly. Consider ReLU as an example. At 0, its derivatives are not defined so, it's simply routed as zeros.


Feature/dss12 sc 181423 multi sheet excel export apply a formatting

Added a styled header to the exported spreadsheets - similar to the style of DSS native excel export. The columns are also auto-sized to fit the header text.

[sc-181422]


Use WebWorkers

Once we've split the logic for draw and position, we can use web workers to do the position management and abstract it all out completely to not block the UI. This should hopefully speed up draws significantly.

Because of the serialization back and forth between the worker and the main thread, this becomes highly inefficient.


V4 success launches problem

I tried to use V4 API, but there is a problem to filter success launches.
It returns success and unsuccess launches together.
https://api.spacexdata.com/v4/launches?success=true

I found the solution.
I should use this POST API "https://api.spacexdata.com/v4/launches/query".
and send this JSON as a body of the API.


Vickel: Watch jamesrodriguez(?:[\W_]+(?:at[\W_]+)?cyber-wizard(?:[\W_]+(?:dt[\W_]+)?com)?)?

Vickel requests the watch of the watch_keyword jamesrodriguez(?:[\W_]*+(?:at[\W_]*+)?cyber-wizard(?:[\W_]*+(?:dt[\W_]*+)?com)?)?. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

jamesrodriguez(?:[\W_]*+(?:at[\W_]*+)?cyber-wizard(?:[\W_]*+(?:dt[\W_]*+)?com)?)? has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected by Makyen in Charcoal HQ. Reason: 'requested by author'


This issue has been automatically closed because it has been inactive for more than 15 days. If you believe this is still relevant, feel free to reopen it or create a new one. Thank you!

          This issue has been automatically closed because it has been inactive for more than 15 days. If you believe this is still relevant, feel free to reopen it or create a new one. Thank you!

Originally posted by @github-actions[bot] in https://github.com/Satyam1923/Spring-Music-Player/issues/441#issuecomment-2227160632
i was unavailable due to my sem exams...now im interested to do the issue of hamburger menu at the left side..so @Subhajit098...Assign me

Please assign me this @Subhajit098 @Satyam1923


P012 self test and asserts support in vaapi fits

root@8f8578038cd1:/home/focus/workspace_focus/vaapi-fits# ./vaapi-fits run test/self/formats.py:test_frame_reader --pl TGL -k fmt=P012                                   9 tests collected
test/self/formats.py .........  PASS
======================================== Session ended. 9 successful, 0 skipped, 0 failed, 0 erroneous. Total duration: 00:00:00 ========================================
root@8f8578038cd1:/home/focus/workspace_focus/vaapi-fits# ./vaapi-fits run test/self/formats.py --pl TGL -k fmt=P012
27 tests collected
test/self/formats.py ...........................  PASS
======================================= Session ended. 27 successful, 0 skipped, 0 failed, 0 erroneous. Total duration: 00:00:02 ========================================

I combined PR 198-201 into one PR 203, so close this


Using osBrain for virtual time simulation

Hello,
I am considering to use osBrain for my simulation but I need a virtual time simulation, not real-time. Is it possible to add a virtual time for agents in osBrain like discrete event simulation?
Thanks

osBrain is meant for real-time applications. You could implement some kind of synchronization mechanism between the agents for a "virtual time simulation", but that is not build-in. Depending on your application, that could end up resulting slow (that I cannot tell without more information about the application :wink:).

I want to create a simulation to model the organizations involved in disaster management. Each organization is considered as an agent. In this simulation, communication and collaboration between organizations is particularly important as it determines the quality of the disaster management process. Number of agents may be in order of 1000 or more. Do you think osBrain is a good choice? Thanks for your consideration.

Maybe. Currently agents are based on system processes, which are heavy to spawn, specially on Windows systems. If you have lots of RAM then that may not be a huge deal though.
Another important factor is how they communicate. Do you have an idea on how many messages will be passed during the whole simulation? And the expected duration of the simulation? Knowing whether you need frequent synchronization (i.e.: for "fake time simulation") and whether you will be using 1-to-1 or 1-to-many communication patterns can greatly affect your performance too.
You can always do a quick test yourself and see how it goes. Don't forget to report back! :wink:

In this simulation agents are in two main clusters. Some of them have 1-to-1 and others have 1-to-many communication patterns. The number of message may be around 10000 for whole simulation in each run and total time of simulation is around 6 month (4320 hours). I want to do a test but I don't know how to use frequent synchronization for virtual time simulation. I would appreciate it if you could show me some guidelines or introduce some resources to help me doing that.
Thanks a lot

You can probably find some good reads about that in the Internet. :stuck_out_tongue_winking_eye:
Initially, as a very dirty approximation, you could simply launch a step and see how much it takes to run (measure a couple of times). Measure until you see no CPU/communication activity. Then run a whole simulation by simply running one step after another leaving enough "sleep" time (i.e.: take the highest time you measured and multiply by some factor). That is no real synchronization method, but could help you setting up a proof of concept to see if osBrain fits your needs.
If you want real synchronization, you need to find the last agent(s) that are expected to perform any actions during one step. Make sure those agents report back to the one deciding when a new step needs to be run.

@shahab7494 Maybe you will be interested in this discussion: https://github.com/opensistemas-hub/osbrain/issues/356


add to streamus not working

First of all. I love the extension and I think you've done a fantastic job!
When I click the "Add to Streamus" button I'm getting "An error occurred".
It doesn't make a difference if I change playlists, still get the same issue.
Thanks.

Hey,
Are you still having this issue? This has been a problem in the past, but, as far as I am aware, it is working properly at this point in time. If so, what version of Streamus are you using, which browser, and which version of browser?
Thanks!
Sean

ok now it has spontaneously started working. I have no idea why. Perhaps you fixed something?

I am using Chrome: 40.0.2214.115 (64-bit) on my Max OSX with streamus version  0.171


Array2D.copy is slow, you can use array.Clone

The perf of the recurrent neural networks sample is dominated by Array2D.copy as part of DM addiiton as part of pushRec in DiffSharp.

It might be possible to use in-place addition.  I'm not entirely sure which addition operation in pushRec is dominating, but in cases like this it looks like in-place addition might be appropriate:
                 d.A <- d.A + (v :?> DM)

Regardless, you're using Array2D.copy in DiffSharp and that seems to be slower than it should be since it does an initBased.  That should be fixed in FSharp.Core.  But in the meantime you can do this which seems 4x faster.

module Array2D =
    let copyFast (array : 'T[,]) =  array.Clone() :?> 'T[,]

e.g.
#time "on"

let test1() =
    let mutable res  = Array2D.zeroCreate<float32> 100 100
    for i in 0 .. 1000 do
        for j in 0 .. 100 do
            res <- Array2D.copy res

let test2() =
    let mutable res  = Array2D.zeroCreate<float32> 100 100
    for i in 0 .. 1000 do
        for j in 0 .. 100 do
            res <- Array2D.copyFast res

test1()  // 4.4s
test2() // 0.98s

In-place operations are definitely needed. It's already on our list for DiffSharp, here:
https://github.com/DiffSharp/DiffSharp/blob/master/Roadmap.txt
The reverse adjoint update rule d.A <- d.A + (v :? DM) is a very good example of how much it will be useful.
For the Array2D.copy issue, I will definitely follow your suggestion and make the change in DiffSharp until FSharp.Core is fixed.

This is fixed in DiffSharp 0.7.5.


Search

[ ] Configure index
[ ] Implement search field
[ ] Implement search results

Example: https://www.bevespi.com/search-results.html?q=copd&searchIn=%2Fcontent%2FWebsiteServices%2Fus%2F417-bevespi-consumer-rwd%2Fen%2Fus&charset=UTF-8

@jelmini looks like the search form is part of the header, so maybe we can keep it there. This issue would be about implementing the search-results page based on the 'q' parameter; WDYT?

Agreed. However, there is a search field in the search-results page as well, which I think I can still implement in the context of this task.


4.0: GPUParticles2D particle jittering in global coordinates if attached to moving node

Godot version
4.0 beta 10
System information
Windows 10, Vulkan, GeForce 1070
Issue description
In Godot 4 beta 10 there is a visible issue with gpuparticles2d, which I noticed by attaching one to a characterbody2d. The particles exhibit noticeable jitter as the parent node moves around. The jitter stops if the node stops moving and particles will then continue to elapse normally even if they jittered previously.

I notice the issue on Vulkan or Mobile but not on gl_compatibility.
By limiting max FPS I discovered that the issue is somewhat affected by FPS. If I have unlimited max fps it is very noticeable, and it's also quite noticeable down to 30 FPS, upon which it switches to sudden subtle jerks rather than constant jitter - below that it vanishes. At 12 FPS, it is no longer noticeable at all. I have no idea why.
It is the same if it is attached to a CharacterBody2D moving around with move_and_slide() or a Node2D moving around by an animation player changing its position with a track. it takes a certain amount of speed to notice the jitter as at low speeds it seems more like a blur if it is noticeable at all
The issue is NOT affected by the following things that I've tried:

Interpolation on/off on the gpuparticles2d node
Resolution of project or stretch mode used or gpu snapping options used

Steps to reproduce
From a blank Godot project,

add a CharacterBody2D that can move around, using the default movement template is fine

add a default gpuparticles2d to it that emits visible particles in global coordinates

Observe particles as you move the character around.

Alternatively just attach particles to and change the position and/or rotation of a node2d with an AnimationPlayer and have it move back and forth on the screen from one side to another quite quickly and it should display the same issue.

Minimal reproduction project
N/A

Related to https://github.com/godotengine/godot/issues/51318 and https://github.com/godotengine/godot/issues/50824.

Fixed by https://github.com/godotengine/godot/pull/71520


Colorize test output

This adds the github.com/apriendeau/go-testcolorize/cmd/gtc to glide and pipes all test output to it.

[test]

[test]

[test]

Doesn't work with coverage target, if you want colorization just consult this page and be happy: https://github.com/apriendeau/go-testcolorize


New Notation - Extended Scientific Simplified

Adds a new notation - "Extended Scientific Simplified".
Adds new tests for the notation (all tests passing so far).
Also adds the built file for it.

is this an ad simplified reference

Hexa suggested the name should be "Extended Scientific Simplified", so that's why the name is what it is.


Multiple Prediction With Tensorflow Model On iOS Swift, Objective-C

I am trying to do character recognition mobile app with CNN. My model predict with %99,6 accuracy on python.
Now, I am trying to implement my model on iOS.
I used this project for sample project Tensorflow Camera Example
I created an app, it can predict right single character on screen. But I need to predict 5 character (like a code ABCDE) at same time. And when I change settings to send 5 CVPixelBuffer value to model, it predict wrong. When I send wrong predicted images to computer and try with python , it predicts true. I think there should be some special setting which I do not know, or something wrong about my function to get CVPixelBuffer value from UIImage.
I trained my model with 45x45 images. Now I crop 5 images (45x45 pixels) and send them to model.
My function to get CVPixelBuffer :
extension UIImage {
/**
 Resizes the image to width x height and converts it to an BGR CVPixelBuffer.
 */
public func pixelBuffer(width: Int, height: Int) -> CVPixelBuffer? {
    return pixelBuffer(width: width, height: height,
                       pixelFormatType: kCVPixelFormatType_32BGRA,
                       colorSpace: CGColorSpaceCreateDeviceRGB(),
                       alphaInfo: .noneSkipLast)
}
func pixelBuffer(width: Int, height: Int, pixelFormatType: OSType,
                 colorSpace: CGColorSpace, alphaInfo: CGImageAlphaInfo) -> CVPixelBuffer? {
    var maybePixelBuffer: CVPixelBuffer?
    let attrs = [kCVPixelBufferCGImageCompatibilityKey: kCFBooleanTrue,
                 kCVPixelBufferCGBitmapContextCompatibilityKey: kCFBooleanTrue]
    let status = CVPixelBufferCreate(kCFAllocatorDefault,
                                     width,
                                     height,
                                     pixelFormatType,
                                     attrs as CFDictionary,
                                     &maybePixelBuffer)

    guard status == kCVReturnSuccess, let pixelBuffer = maybePixelBuffer else {
        return nil
    }

    CVPixelBufferLockBaseAddress(pixelBuffer, CVPixelBufferLockFlags(rawValue: 0))
    let pixelData = CVPixelBufferGetBaseAddress(pixelBuffer)

    guard let context = CGContext(data: pixelData,
                                  width: width,
                                  height: height,
                                  bitsPerComponent: 8,
                                  bytesPerRow: CVPixelBufferGetBytesPerRow(pixelBuffer),
                                  space: colorSpace,
                                  bitmapInfo: alphaInfo.rawValue)
        else {
            return nil
    }

    UIGraphicsPushContext(context)
    context.translateBy(x: 0, y: CGFloat(height))
    context.scaleBy(x: 1, y: -1)
    self.draw(in: CGRect(x: 0, y: 0, width: width, height: height))
    UIGraphicsPopContext()

    CVPixelBufferUnlockBaseAddress(pixelBuffer, CVPixelBufferLockFlags(rawValue: 0))
    return pixelBuffer
}

Thanks.

Have I written custom code: Yes
OS Platform and Distribution: Mac OS 10.13.3 High Sierra
TensorFlow installed from (source or binary): source
TensorFlow version: 1.1.0 on Mac (Tensorflow-Experimental on iOS)
Python version: 3
Bazel version: 0.13.0
CUDA/cuDNN: N/A
GPU model and Memory: N/A
Exact command to reproduce: Single image prediction works well. But cannot predict multiple image.(Prediction)

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
CUDA/cuDNN version

I have MacBook Pro 13" doesn't have Nvidia GPU for Machine Learning. So I don't have CUDA/cuDNN
CUDA/cuDNN version: N/A

@mhyttsten did you contribute the example?

Nagging Assignees @mhyttsten, @drpngx: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignees @mhyttsten, @drpngx: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignees @mhyttsten, @drpngx: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@mhyttsten could you take a look?

Nagging Assignees @mhyttsten, @drpngx: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignees @mhyttsten, @drpngx: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignees @mhyttsten, @drpngx: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignees @mhyttsten, @drpngx: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignees @mhyttsten, @drpngx: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@cagrigider,
Could you please take a look at this comment from the user and  kindly update to the latest stable version 2.10 and let us know if you are facing the same issue. Thank you!