Add actors API endpoint

Add an endpoint to Flipper::API to check if a feature is enabled for a specific actor.
I'm using Flipper and Flipper::UI in a production web app which is also the backend server for mobile apps. These changes would allow our mobile apps to get data just for the signed-in member, without having to parse all the data from the feature endpoint client-side.
Usage:
get "/feature/my_feature/actor", {'flipper_id' => 'User123'}

I'm struggling to fix up the spec failures, but if you're interested in the feature let me know and I will persevere. Thanks

@kathf thank you so much for contributing!
I remember having a conversation with @AlexWheeler when he first created the API about something like this but I can't find it for the life of me.
Thus far we've went with an API that is smart client, simple server. The server doesn't have logic about enabled-ness. It is only for storage. Adding this might feel like a small change, but it is a big change in approach.
I like the idea of having an easy route you can hit for one actor, especially for read only clients like mobile and clients in other programming languages.
I wonder if the route should be more the inverse of /features, but for a single actor. The route could be /actors/<actor_id> and support a keys param for limiting which features to check (ala /features keys param). This would allow clients to batch read several features at once (say for running every N seconds to lower read throughput or for more detailed caching).
@AlexWheeler @kathf (or anyone else) any thoughts either way on that?

@jnunemaker glad to hear you like the idea :)
Yeah I think you're right about the /actors/<actor_id> route with key param for limiting features - it accommodates more use cases and looks neater.

Branch updated accordingly.

Hey @kathf this is awesome thanks for the PR!  As @jnunemaker mentioned definitely a different approach than the API has taken, but I agree with both of you that this will be really useful for the cases mentioned.  I also like the idea of an actors/<flipper_id> route with the ability to batch read features. Going to give this a look today

@kathf it has been a pleasure working with you. Thanks for the contribution!


Provide more details when an invalid manifest format is detected

This issue is based on a discussion on issue #28.
From @kenchris:

I guess getting as much right info out of the invalid manifest makes sense and issuing warnings instead. That way people would know how to contact cnet.com (if it is not them packaging up their own site :))

We could add a way to specify the kind of manifest used in order to retrieve more information or be more flexible with the manifest detection logic

{
  "start_url": "http://google.com/",
  "short_name": "Google",
  "icons": [],
  "display": "fullscreen",
  "orientation": "any",
  "name": "Google",
  "description": "Search the web.",
  "version": "1.0",
  "build": "1",
  "publishername": "Google",
  "organizationid": "Google"
}

➜  ~  manifoldjs http://google.com/ -p ios -b -m manifest.json
ERROR: Invalid manifest format.

@brandonros I created a new issue (https://github.com/manifoldjs/ManifoldJS/issues/44) for what you reported.

Can we close this issue since we have #44 open?

Just for clarification, issue #44 is an issue related to the website which is not adding the prefixes in the manifest. This target an enhancement opportunity to show more details when the manifest is not valid and its related to the tool.

We are now taking advantage of the JSON schema for the W3C manifest format (http://json.schemastore.org/web-manifest) to provide additional information when a manifest contains errors (see https://github.com/manifoldjs/ManifoldJS/pull/87).
For example, the manifest at http://www.cnet.com currently has several issues with the icons element, including using the keyword size instead of sizes as well as defining the density member as a string instead of a number.
{
    "short_name": "CNET",
    "name": "CNET",
    "icons": [
        {
            "src": "bundles/cnetcss/images/core/logo_32.png",
            "size": "32x32",
            "type": "image/png",
            "density": "0.75"
        },
        {
            "src": "bundles/cnetcss/images/core/logo_48.png",
            "size": "48x48",
            "type": "image/png",
            "density": "1.0"
        },
        {
            "src": "bundles/cnetcss/images/core/logo_72.png",
            "size": "72x72",
            "type": "image/png",
            "density": "1.5"
        },
        {
            "src": "bundles/cnetcss/images/core/logo_96.png",
            "size": "96x96",
            "type": "image/png",
            "density": "2.0"
        },
        {
            "src": "bundles/cnetcss/images/core/logo_192.png",
            "size": "192x192",
            "type": "image/png",
            "density": "4.0"
        }
    ],
    "display": "standalone",
    "start_url": "http://www.cnet.com/?homepage=1&setDevice=mobile"
}

As a result of the JSON schema validation, ManifestJS currently shows the following output for this site:
ERROR: Manifest validation  (All Platforms) - Invalid type: string (expected number)[/icons/0/density]
ERROR: Manifest validation  (All Platforms) - Invalid type: string (expected number)[/icons/1/density]
ERROR: Manifest validation  (All Platforms) - Invalid type: string (expected number)[/icons/2/density]
ERROR: Manifest validation  (All Platforms) - Invalid type: string (expected number)[/icons/3/density]
ERROR: Manifest validation  (All Platforms) - Invalid type: string (expected number)[/icons/4/density]
WARNING: Manifest validation  (All Platforms) - Unknown property (not in schema)[/icons/0/size]
WARNING: Manifest validation  (All Platforms) - Unknown property (not in schema)[/icons/1/size]
WARNING: Manifest validation  (All Platforms) - Unknown property (not in schema)[/icons/2/size]
WARNING: Manifest validation  (All Platforms) - Unknown property (not in schema)[/icons/3/size]
WARNING: Manifest validation  (All Platforms) - Unknown property (not in schema)[/icons/4/size]


Update README.md

Pull Request Description
This PR updates the README so it looks nicer. I have a strange problem with prettier - the CI fails, while my prettier says everything is OK. I'd be thankful if someone could pretty-print this file, so we could merge it fast.

You likely have the wrong version of prettier installed. Make sure you run npm install in the enso directory before npx prettier --write ., otherwise you're likely to be using the wrong version.


Trivial change to Makefile

What this PR does
Removes reference of DNS from the Makefile target.
Jira: PERFSCALE-3311

Could you improve the commit message a bit, referencing PERFSCALE-3311 JIRA the  there? Moreover, I just checked it and I don't see an explanation behind the change there neither.


Set and remove the callbacks on the RenderObject when we create and remove it.

...and not when we mount and dismount.
Turns out that when we dismount, it's too late -- we've already set renderObject to null.

Can you write a test for this?

Please test remounting too.  :)

I wrote a test, which I'll submit separately. It found some more bugs, which are now fixed here.

LGTM


How to hide incline only if current window is active and cursor is on first line?

Currently incline is hidden on unfocused window also if I use
hide = {
  cursorline = true
}

This option is what was required. It is already in docs.
hide = {
  cursorline = 'focused_win',
},


Add reference to code examples

Add reference to the sp-examples repo in the README (and that these are still heavily under construction)

Why not put examples in the repo under examples/?

Why not put examples in the repo under examples/?

I guess that can be done too. Right now I have a couple of files in a different repo (https://github.com/cygnet3/sp-examples). I wanted to link to that repo in the README once those examples are a little more fleshed out, but I can also add them to a examples/ folder indeed!


[Figma Component] Add icon R swap property to button

Figma: https://www.figma.com/file/NsGfE3UnbhEyAPpVf3B60P/branch/sy4fVGifUA9zeoJERcCpov/Spark-Components?type=design&mode=design&t=jE8enD1WpIGuGimJ-0
### Tasks
- [x] Update the component spinner
- [x] Loading Button: Update the Figma spec
- [x] Loading Button:; Update the ZH spec

We provide to follow the size : sm-20px and md-28px
The current will be resized for the buttons
Full: We won't be using it

Next step:

Update the Web spec

To be discuted with Web Team

Waiting @turolopezsanabria @chuxui @jcatdom double-check the update on the button


Update .gitignore path /tests/data/hello.txt -> /tests/tmp/hello.txt

What I Did:
Update .gitignore path /tests/data/hello.txt -> /tests/tmp/hello.txt
Why:
Some sk test write file to /tests/tmp/hello.txt but it's not properly ignored by gitignore
Maybe tests/sk/file.sk produce file tests/tmp/hello.txt for every integration_test.
tests/sk/file.sk
# File.write
match File.write("tests/tmp/hello.txt", "hello")
when Ok(x)
  unless x == Void; puts "File.write returned \{x}"; end
when Fail(e)
  puts "File.write failed: #{e}"
end

...

👍

thx!


Fix build on device without USB OTG

Hi.
Can you please specify which device you are using?

Hi, sure, I am building project for STM32L462REYx.

Hi, yes the build is ok.
but why not using FNR register just as I did ?
I mean USB_FNR contains the frame number from SOF packet. For me, even if HAL does not provides the right function we still can have the value. (page 1540 of reference manual)

Hi @minicarpet ,
thank you for creating the pull request and helping to improve this repository.
There are 3 reasons for not using FNR :

it is not device agnostic, some devices with different USB controller do not have FNR as a matter of fact some devices do not even have current frame information in USB controller register at all for the USB Device
this wrapper tries to use HAL only if possible to make it device agnostic across all device families (there are many)
current frame information is not essential for the USB Device functionality (it might be used in some rare situations for isochronous endpoint handling) thus since HAL does not support it I have decided not to use it

Hi,
ok for me, it make sense.
As it compiles now using your commit, we can resolve this PR


Laravel 10.x Compatibility

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 9.x.
Before merging, you need to:

Checkout the l10-compatibility branch
Review all comments for additional changes
Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

:warning: Shift detected GitHub Actions which run jobs using a version matrix. Shift attempted to update your configuration for Laravel 10. However, you should review these changes to ensure the desired combination of versions are built for your package.

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.
To do so, temporarily add Shift's fork to the repositories property of your composer.json:
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/laravel-printing.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:
{
    "require": {
        "rawilk/laravel-printing": "dev-l10-compatibility",
    }
}

Finally, run: composer update


[ISSUE] Compatibility with Firebase Performance Analysis libraries

Describe the bug
We're getting conflicts with some naming of VGSCollect enums  after importing the Firebase Performance library. We had Firebase Analytics and Crashlytics implemented without issue.
To Reproduce
Steps to reproduce the behavior:

Add FirebasePerformance swift package library
Run tests
(example failure:)
"❌  /Users/distiller/project/[redacted]/Screens/...l/VGSCollectable.swift:23:41: 'HTTPMethod' is ambiguous for type lookup in this context
func sendData(path: String, method: HTTPMethod, extraData: [String: Any]?, requestOptions: VGSCollectRequestOptions,
^
"
Summary from tests:

	Command CompileSwift failed with a nonzero exit code
	'HTTPMethod' is ambiguous for type lookup in this context
	'HTTPMethod' is ambiguous for type lookup in this context
	Cannot infer contextual base in reference to member 'post'
	'nil' requires a contextual type
	'HTTPMethod' is ambiguous for type lookup in this context
	'nil' requires a contextual type
	Command EmitSwiftModule failed with a nonzero exit code
	Testing cancelled because the build failed.

** TEST FAILED *```

**Expected behavior**
No conflicts with naming

 VGSCollectSDK: https://github.com/verygoodsecurity/vgs-collect-ios.git @ 1.9.7

**Environment:**
(remote hosted CircleCi/Fastlane output below).
Using SPM for xcode 13.4.1
| device                                         | iPhone 11                                                                                |
| clean                                          | false                                                                                |
| open_report                                    | false                                                                                |
| output_directory                               | ./fastlane/test_output                                                                   |
| output_types                                   | html,junit                                                                               |
| buildlog_path                                  | ~/Library/Logs/scan                                                                      |
| include_simulator_logs                         | false                                                                                |
| xcodebuild_formatter                           | xcpretty                                                                                |
| output_remove_retry_attempts                   | false                                                                                |
| derived_data_path                              | /Users/distiller/Library/Developer/Xcode/DerivedData/[redacted]|
| use_clang_report_name                          | false                                                                                |
| disable_concurrent_testing                     | false                                                                                |
| skip_build                                     | false                                                                                |
| slack_use_webhook_configured_username_and_icon | false                                                                                |
| xcodebuild_command                             | env NSUnbufferedIO=YES xcodebuild                                                        |
| skip_package_dependencies_resolution           | false                                                                                |
| disable_package_automatic_updates              | false                                                                                |
| use_system_scm                                 | false                                                                                |
| number_of_retries                              | 0                                                                                |
| fail_build                                     | true                                                                                |
| xcode_path                                     | /Applications/Xcode-13.4.1.app

@banane
Thank you for reporting the issue. Could you please provide a sample project with it
since we didn't manage to reproduce it.
Firebase methods have prefixes so I'm not sure I understand where the conflicting names are.

@banane
I think we can add VGS prefix for HTTPMethod to resolve this.
I just wonder can it be that you use Alamofire package? It is not clear from the log where the conflicting names.
I don't think it is Firebase.

@banane
Please check release 11.3 with prefixed VGSCollectHTTPMethod.

Thanks look forward to checking it out.


V4 Development: General strategy on how to fill in missing APIs

Describe the feature
I'm currently fiddling around with some performance improvements and for some cases I need to somehow polyfill certain missing APIs or attributes. For example in order to implement overrenting when doing stack allocations it might be beneficial to add SkipsLocalsInit. Another example are missing encoding extension methods that accept ReadOnlySpan.
Several of these cases can be poly filled by adding corresponding attributes or methods into the utils and that might be the teams preferred approach. On the other hand there are libraries like Polyfil or Polysharp that to some extend implement those workarounds already.
In order to proceed forward it would be great if the strategy for the v4 development branch would be documented somewhere. Additionally the team could potentially also set the LangVersion to a reasonable language version that the team wants to allow so that contributors have clear guidelines on what or what not to use.
Use Case
Contributing to v4 development but I guess these questions are anyway something the team on the v4 branch has to have answers for independent of whether someone contributes or not.
Proposed Solution
No response
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

AWS .NET SDK and/or Package version used
v4
Targeted .NET Platform
all
Operating System and version
all

To add an example. Here is a new URL encode method I quickly spiked https://github.com/danielmarbach/aws-sdk-net/commit/81d85869f3f096d522966b7c93a1cf862c74cb27. Already there I'm missing proper GetBytes and GetString overloads for Netstandard that I would have to shim. I don't have SkipLocalsInit and I have discrepancy between TryGetValue and GetValueOrDefault.

@danielmarbach Agreed we need to get this documented. We haven't really talked too much about V4 yet other then the blog post announcing the drop in support for .NET Framework 3.5. Not trying to keep it a secret but we are taking care of some internal infrastructure changes right now to support both a V3 and V4. After that I was hoping to be more proactively public about V4. That being said don't let that stop you from contributing to V4. The main thing about V4 is it will be evolutionary not revolutionary so only breaking changes when necessary to make a better product.
To your immediate question about poly fills the SDK is still going to take a hard rule of avoiding taking on external dependencies. The SDK is too low level in most people's applications and dependencies we take can cause collection with versions customers use or we could be forced to make breaking changes due to the dependencies we don't control.
Using pragmas to target newer versions and leaving older versions using stock implementations is perfectly fine in the SDK. I'm not very interested in having pragmas with special implementations in older targets. I don't want to build up code we have to maintain for targets people are moving away from.

@normj

To your immediate question about poly fills the SDK is still going to take a hard rule of avoiding taking on external dependencies. The SDK is too low level in most people's applications and dependencies we take can cause collection with versions customers use or we could be forced to make breaking changes due to the dependencies we don't control.

Both Polyfil and Polyshard are source-only dependencies, meaning that customers wouldn't even know that SDK uses them.

Absolutely what @Dreamescaper said. Essentially those are development time dependencies and will not be dependencies on the shipped product at all. So the risk here is probably more of a supply chain risk than anything else (which obviously requires considerations I get that)

I didn't realize the libraries were source-only dependencies. As you can call I haven't ever tried them before. Let me play around with them to get more familiar with them and then I will come back.


Transaction building 2.0

The TxBuilder interface as it exists is complete - it allows us to build all possible transactions - and flexible: It supports a variety of use cases such as inserting the index position of tx inputs into redeemers, computing good approximations of the lower boundaries of tx fees, coin selecting coins from UTxO sets with many different types of outputs).
The interface is not very ergononical however. Sometimes we have to repeat the same data multiple times, for example when spending several outputs from the same script address. Sometimes we need to dig deep into cardano-api types to accomplish simple tasks such as adding outputs with inline datums.
The following changes will greatly improve the usability of the transaction building API in sc-tools:

Use (TxIn, TxOut) as the "standard unit" for spending inputs. Currently we only require the TxIn in a lot of places, but this just makes the API more opaque as we always have to provide the correct TxOut at the transaction balancing stage, if not sooner. We should keep track of a UTxOSet in the TxBuilder type, and extend this set whenever we add a new "spending" step to the builder.
The signature of "spending a script output" should only require the (TxIn, TxOut) pair of the output and the redeemer. The decision whether to include the script as a reference script or as an attachment to the transaction should be taken separately. Then there should be a function "add reference scripts" that inspects the tx body content and adds all the reference scripts that it knows about if they are used in the transaction.
There should be a variant of "balanceTx" that uses the MonadUtxoQuery typeclass to obtain all the tx outputs that are available for balancing. We should also add more implementations of MonadUtxoQuery, for example blockfrost.

Maybe it would be enough to have the MonadUtxoQuery constraint available in TxBuilder. Then the interface wouldn't change so much.


feat: upgrade blobfuse version to v2.2.0

What type of PR is this?
/kind feature
What this PR does / why we need it:
feat: upgrade blobfuse version to v2.2.0
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
feat: upgrade blobfuse version to v2.2.0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.313%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2285

Relevant Lines:
2881

💛  - Coveralls


Screenshot please

Please provide the screenshot of the library ,it will be very helpful for us

Added Screenshot and Video.


Feature/travis implementation

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@cced0bb). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   44.71%
=========================================
  Files             ?       18
  Lines             ?      123
  Branches          ?        0
=========================================
  Hits              ?       55
  Misses            ?       68
  Partials          ?        0

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 cced0bb...ccd03f1. Read the comment docs.


add: links to related types for fluent builders

Motivation and Context

aws-sdk-rust#348
Description

The docs for fluent builders now have easy links to their corresponding Input, Output, and Error structs
Testing

I generated and reviewed the docs
Checklist

[x] I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
[x] I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I need to figure out how the symbol renaming works for reserved words like "build" so I can generate the correct names and docs links


[WIP] Adding test for rejection, approval and test for view import logs.

Issue: AAH-628
https://issues.redhat.com/browse/AAH-628
Finish the rest of the functionality in issue.

Do you know what is the problem with error: "ERROR: Expected log entry for issue AAH-628 to be a single line" Martin? I though It is already on single line, what am I missing?

I'm fine with the tests, but also I asked you to use cy.settings({ GALAXY_REQUIRE_CONTENT_APPROVAL: true }) to ensure we're testing the flow of..

upload collection
don't see it in collections
see it in approvals
approve
see it :)

AFAICT that's still WIP? ;)

The source has changed too much. New PR was being created for this - https://github.com/ansible/ansible-hub-ui/pull/1923


added chisq

We added chisq to rint, but does it even make sense though? It has no intervals.

No, it doesn't make sense. It's not about a chi-square test, it's about dchisq(..., atomic), pchisq(..., atomic), qchisq(..., atomic).


Question: Error when substituting the quantized matrix multiplication operator.

In AWQ inference, the quantized weight matrix is dequantized to fp16 and then multiplied by the input matrix x in the linear layer.
But I try to directly replace the fp16 matrix after the dequantization with the original weight matrix(llama2-7b-hf), the inference error will be particularly large. (According to the calculation formula, WX = (DQ(Q(Ws)s-1) X, [where DQ fuse scale s^-1].  In this case, the inverse quantized matrix should be equivalent to the original matrix W.)
From:
            out = dequantize_gemm(qweight, qzeros, scales, w_bit, group_size)
            out = torch.matmul(x, out)

to:
            out = weight.T
            out = torch.matmul(x, out)

where  weight.T  is the original weight matrix in fp16(llama2-7b-hf).
The Perplexity  of wikitext2 is from 5.619 to 1324.6.

Hi @grysgreat, this seems to be expected. You cannot recover the original fp16 with a transpose since you have lost a bunch of information when you quantize -> dequantize -> transpose.

Thanks for your answer, but I'm still curious as to which part of the AutoAWQ algorithm is responsible for not replacing the weight in the linear layer directly with the original weight(downloaded from hf)
(in AutoGPTQ, such a replacement operation can get the correct result - the same accuracy as Fp16).


4.x - Inconsistent font size

Font size in some UX areas seems oversized.
Button text:

Batch action buttons:

Jira: https://silverstripe.atlassian.net/browse/OSS-1722

Yeah that doesn't look corrent. I think @clarkepaul has new designs for those buttons?

The base font size is increasing from 12px to 13px and line-height from 16px to 20px, and those buttons are now receiving the new font size but not the new button style yet. Its going to take some time to iron everything out so Alpha is going to have to be the time for working through any of these issues.
To me it look like your missing some styles though as it looks like those buttons are getting jquery-ui styles which use a different font Verdana (should use Arial).

Closing this as a misunderstanding - if Paul wants the font size to be increased by 1px, it's applying that correctly


Added missing initialize prop to FormRenderProps

Oops. Left out a initialize() and left reset() out of the docs. Fixed.

Codecov Report

Merging #5 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master     #5   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           8      8
  Lines         121    121
  Branches       33     33
=====================================
  Hits          121    121

Impacted Files
Coverage Δ

src/ReactFinalForm.js
100% <ø> (ø)
: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 25aa527...5a39aaf. Read the comment docs.


Socket hangup error while initializing ionic project

i am getting socket hangup error while trying to download master.zip from from github
when trying the command ' ionic start projectName '
please refer the attached screenshot for the same
i am behind a corporate proxy,
i tried downloading master.zip from the browser and could do so successfully, doesnot seem to be my proxy issue though

@nusususuzu are you also behind a proxy?

Since this is more of an issue with the cli and not the framework i am going to be moving this issue to the cli repo, please feel free to continue the conversation over there! Thanks again!

This issue was moved to driftyco/ionic-cli#854


Fix macro redefintion warning

This fixes a warning (C4005). When using MSVC the macro __pyx_nonatomic_int_type is already defined above

Thanks - looks right. I'll merge once the tests have told me it's OK


Major Refactor

Changes

[x] Use typescript
[x] Support multiple forms of data

[x] Categorical Data
[x] Grouped Categorical Data
[x] Series Data

[x] Rework chart APIs

[x] Donut Chart

[x] Implement Bar Charts
[x] Implement Axes system
[x] Improve useability of Responsive element (now wrapped by Chartlet component)
[x] Allow components to pull data and colors from chartlet context
[x] Line charts

[x] Remove sparkline component

[x] Generic chart

Example
const MyChart = ({ groups }) =>
  <div style={{ display: 'grid', gridTemplateColumns: '3fr 1fr', width: '100%' }}>
    <Chartlet height={250}>
      <Axes hRules groups={groups}>
        <BarChart groups={groups} barSizing={{ automatic: true, groupGap: 150 }} />
      </Axes>
    </Chartlet>
    <Legend style={{ fontSize: '1.1rem', alignSelf: 'start' }} groups={groups} groupLabels={['X', 'Y']} />
  </div>

Yeah, that sounds like a good plan. Do we want to do that post-merging @GRA0007?


Fix broken links in Core docs 2.1.6 - Closes #667

Closes #667

Hey Mona, Well spotted.. I think this one slipped through the net. It should be fixed now 👍

Hey Mona, well spotted..I think this one slipped through the net, it should be fixed now 👍

Hey Mona! Ok, can you please check it now, thanks 👍


When app from background to foreground,_renderer->beginFrame(_swapChain) always returns false.

Describe the bug
I use Filament to develop a  iOS app and I have found a problem with it. After app startup, _renderer->beginFrame(_swapChain) return true, render normally, but when the app enters the background, and again enters the foreground, _renderer->beginFrame(_swapChain) always returns false, the model cannot render properly, I printed _renderer and _swapChain, they are not be released, In your experience, what causes this problem in Filament?
To Reproduce
1、Start app, load model, _renderer->beginFrame(_swapChain) returns true
2、app enters background mode
3、app enters foreground mode
4、discover _renderer->beginFrame(_swapChain) always returns false
Expected behavior
When app from background to foreground, _renderer->beginFrame(_swapChain) still returns true
Screenshots

Smartphone (please complete the following information):

Device: iPhone12
OS:iOS14.5

@bejado Does iOS release rendering surfaces or something when backgrounding apps?

When an app is backgrounded iOS restricts its use of Metal, which might be affecting things.
Are you continuing to call render even when the app is backgrounded? Filament doesn't have any way of detecting this. Can you try hooking into applicationWillResignActive and pausing Filament calls while the app is in the background?
See also Preparing Your Metal App to Run in the Background.

When  APP enters the background, the render method stop.
But even from the background back to the foreground, the render method is called again, _renderer->beginFrame(_swapChain) also returns false, I'm checking foreground to background, what's happening to the app?

@Rankilau Are you seeing this happen with our unmodified gltf-viewer sample app?

@bejado  This problem did not happen in the gltf-viewer sample. When I copied the code to our app, this problem would happen. It is possible that code of our app  influence.I  will check git diff to find out the reason.

@Rankilau Sounds good. One area to look at is how you're scheduling your frame callbacks. The gltf-viewrer uses CADisplayLink.

I also have a similar problem, has this problem been solved?


💡 Feature Request - Custom Filtering Scenario

Describe the solution you'd like
Below is a complex query I needed to do for my WARA.  Please consider adding this functionality to an upcoming release.
(     In a resource group with a name containing "PRD" or "PROD"
      OR
      A resource name containing "PRD" or "PROD"
)
OR
(     A virtual machine name that starts with “AZ-[W,L][D,T,P]”. The W or L is Windows or Linux, and the DRP is Dev/Test/Prod.
)
Describe alternatives you've considered
I imported the ImpactedResources into MS Access and did the complex querying there.  e.g.:
SELECT ImpactedResources.resourceType, ImpactedResources.name, ImpactedResources.id
FROM ImpactedResources
WHERE (((((([ImpactedResources].[id]) Like "*PRD*" Or ([ImpactedResources].[id]) Like "*PROD*")) Or ((([ImpactedResources].[resourceType])="Microsoft.Compute/virtualMachines") And ((UCase([ImpactedResources].[name])) Like "AZ-[LW][P]*")))=True))
GROUP BY ImpactedResources.resourceType, ImpactedResources.name, ImpactedResources.id
ORDER BY ImpactedResources.name;

Additional context

Hey @terrymandin, could you clarify the ask here? This looks like a query for SQL and not for KQL based upon the operators you're using.


Secp256k1.Ecdh() fails when run in x86 mode

When the project is set to target x86 instead of AnyCPU the call to Secp256k1.Ecdh() fails when supplying a custom hash function.
System.AccessViolationException
  HResult=0x80004003
  Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
  Source=<Cannot evaluate the exception source>
  StackTrace:
<Cannot evaluate the exception stack trace>

Can you include sample code that can easily reproduce this?

I'm sorry, I do not have the code anymore for this because I've switched to a different library.


Implement SDK-side Caching

Hi There,
It looks like the .Net client does a request to the endpoint every single time, any plans to cache the flags on the backend, say for 30 seconds?

Hi @acandylevey  - it is something we're planning to bring to all SDKs - e.g our Java and Javascript SDKs have caching support. Just a question of priority! Happy to take PRs tho!

@dabeeeenster I'm currently writing a first draft to support caching. I will probably commit this pretty soon. It might not be fully tested because I want feedback before doing all the tests.

Here is the PR: https://github.com/Flagsmith/flagsmith-dotnet-client/pull/77

Awesome thanks!


Question about loading checkpoint

Hi, I am running evaluate.py using the model downloaded from https://tudatalib.ulb.tu-darmstadt.de/handle/tudatalib/3601?locale-attribute=en. I have change the models argument to be ['./supplementary-material/multitask-models/roberta-large-fp-15000/checkpoint-143334/roberta']. But an error is raised:

RuntimeError: PytorchStreamReader failed reading zip archive: not a ZIP archive

in torch.load(model). Here, model='./supplementary-material/multitask-models/roberta-large-fp-15000/checkpoint-143334/roberta'.
Any ideas about this error?

@dfa30 : Daniel, can you please have a look at it, e.g., by extending the README?

It seems like something went wrong with our data upload and the file is corrupted. We'll look into it and try to fix the data.
Did you also try other models and, if you did, are these working?

Thank you for your reply. I also tried to load the models in supplementary-material/multitask-models/ with torch.load(). But all the files named roberta are failed to load. Here is my python packages: python3.8, torch1.12.1+cu116.

Hey, has this issue been resolved? Seeing the same error on my side. Thanks.

Apologies for taking it so long. We're trying to publish the 70 GB file on our university premises but it's getting complicated. We're on it!

We've also replaced the checkpoints at the TU-Datalib server as pointed out in the README
https://tudatalib.ulb.tu-darmstadt.de/handle/tudatalib/3601
Hopefully everything is fine by now, closing this issue

hello,can the checkpoint  be used in Chinese legal text?

It can be used for any text, but I doubt it will do anything meaningful in Chinese.


Crash when mutating from a stored lambda.

Please see the following code:
type FunctionStorage<E>: Deinitializable {

  let f: [E]() inout -> Int

  memberwise init

  fun do_call() inout {
    let _ = &self.f()
  }

}
fun store_function<E>(_ f: sink [E]() inout->Int) -> FunctionStorage<E> {
  return .new(f: f)
}

public fun main() {
  var local_variable = 0
  var storage = store_function(fun() -> Int {
    &local_variable = 19 // Crash here
    print("Should reach this point.")
    return 0
  })
  print("before call")
  &storage.do_call()
  print("Done.")
}

When running this code, we het a Segmentation fault: 11 crash when mutating local_variable inside the lambda. Removing the mutation will make the code work ok.
Also, if we don't store the lambda in a structure, it all works fine; i.e., the code below works ok:
public fun main() {
  var local_variable = 0
  var f = fun() -> Int {
    &local_variable = 19 // Now, works fine
    print("Should reach this point.")
    return 0
  }
  print("before call")
  &f()
  print("Done.")
}

This code used to compile but was incorrect. The problem is that one cannot store a lambda whose environment isn't owned. Now the compiler will properly reject the declarations of FunctionStorage and store_function.
I understand you need a way to get a lambda with access captures as a member of some data structures. I think the only way to do that is to form a lambda in the memberwise initializer of that data structure.

Note that you can (now that I've fixed more bugs 😅) store a lambda with owned captures.
type FunctionStorage<E: Movable & Deinitializable>: Deinitializable { ... }

public fun main() {
  var storage = store_function(fun[var local = 0]() -> Int {
    &local = 19 // All is well here
    print("Should reach this point.")
    return 0
  })

  print("before call")
  &storage.do_call()
  print("Done.")
}


micro-sam napari plugin

This is an initial implementation adding napari plugin bindings to the micro-sam package.
@constantinpape and I talked about this earlier, since it is a nice convenience feature.
This PR:

Adds the files needed to be recognised as a napari plugin (napari.yaml, and the setup.cfg & pyproject.toml files, etc.)
Provides all of the micro-sam example datasets via the napari File > Sample Data menu.
...next, we can provide the micro-sam widgets via the napari Plugins menu (following this example)

You should be able to test it out the new micro-sam plugin in napari like this:
git clone https://github.com/computational-cell-analytics/micro-sam.git
cd micro-sam
gh pr checkout 165
pip install -e .
npe2 validate micro-sam
# ✔ Manifest for 'SegmentAnything for Microscopy' valid!
napari
# From the napari File menu, go to "Sample Data" and open 'image-series' or one of the other micro-sam samples

Hi @GenevieveBuckley ,
this is amazing!! I will have a closer look laterl

You access the sample datasets from the napari File menu (but plugin widgets are accessed from the plugins menu).
File > Open Sample > SegmentAnything for Microscopy > ...

About the strategy here: what I would suggest is to first clean up the changes to the installation, fix conflicts and provide the sample data plugins in this PR. And then work on the 2d plugin in a follow up PR.

Agreed, this sounds sensible.
I have:

[x] Cleaned up the changes to the installation (we still have the black and ruff config settings in setup.cfg - do you want them to stay or be removed?)
[x] Fixed the merge conflicts
[x] Provided all the sample datasets as part of the plugin (including image-series which now opens three separate layers - it just felt too weird to leave one dataset out, and also the new-ish segmentation dataset hosted at OwnCloud)
[x] Checked the existing test suite passes both locally and on CI

You access the sample datasets from the napari File menu (but plugin widgets are accessed from the plugins menu).
File > Open Sample > SegmentAnything for Microscopy > ...

Thanks, that works!


fix managed resource uri bug (#5847)

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

Merged in ef2abbbd06c8d459129b68511a23f3f710f1d2cb


Add store update methods

Resolve #1

Great job!
Would you like to join the maintainers team? (which is exactly [me] 😀 )

I will be happy to join your outstanding team.)

I will be happy to join your outstanding team.)

Cool! Please, tell me your RubyGems email, and I'll give you rights to publish this gem.

@StanisLove Please, take a look at the failing build https://travis-ci.org/palkan/pgrel


MF-982 - Add error when connecting empty channels or things

Signed-off-by: nwneisen<EMAIL_ADDRESS>What does this do?
Returns an error when trying to connect with empty channel or list IDs
Which issue(s) does this PR fix/relate to?
Resolves MF-982
List any changes that modify/break current functionality
Providing empty lists will now return an error
Have you included tests for your changes?
Yes
Did you document any new/modified functionality?
NA
Notes

Codecov Report

Merging #985 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #985      +/-   ##
==========================================
+ Coverage   82.74%   82.75%   +<.01%
==========================================
  Files          87       87
  Lines        5848     5850       +2
==========================================
+ Hits         4839     4841       +2
  Misses        723      723
  Partials      286      286

Impacted Files
Coverage Δ

things/api/things/http/requests.go
89.13% <100%> (+0.24%)
: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 9c1743c...bc399b3. Read the comment docs.

@nwneisen Thank you!

@manuio Glad to help!


Decouple repo from pennylane-qrack fork

Currently, the unitaryfund/pennylane-qrack repo is a fork of pennylane/pennylane-qulacs. See here:

I thought this would not be an issue, but actually it can become a bit annoying since as a user, I cannot fork this repo directly, since I already forked pennylane/qulacs. Also, while modeling this repo on the qulacs plugin made sense to get started, they are different repositories now.
Note that to do it, we would basically need to delete this repo. One can keep commits, but issues and PRs would be removed, see here: https://stackoverflow.com/questions/29326767/unfork-a-github-fork-without-deleting/41486339#41486339
Thoughts? @WrathfulSpatula @josh146 @cosenal @natestemen @vprusso @dime10

Ah, that's a good point. It's a bit annoying to lose issues and PRs, but I think it makes sense to create a new repository.

We'll wait for other feedback from those tagged, but it's not hard to do this. I see your point, and the upstream repository is probably sick of the PRs I occasionally accidentally open on their fork instead of this one, before I realize my mistake.

It looks like you can make a support request to detach this fork from the pennylane-qulacs without loosing the GitHub metadata (issues, PRs, wiki, etc) using https://support.github.com/request/fork then choosing "detach a fork".

I created a support request following the link that @natestemen shared. The ticket is at https://support.github.com/ticket/personal/0/2841472, but you probably don't have access to see it. I will keep you posted in this thread.


[WIP]basic ui enhancements

I have updated the background code to adapt the new buttons properly

LGTM wiill merge !


Application could not be started

I'm trying to run some cmd line utilities that are 32 bit. I'm running Ubuntu 22.04
Running Conty
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.

Hi. This likely means that you spcified incorrent path to the executable. Please show me the full command you used.


WIP: main: do not log error when spent info not found

Reopened to apply to 0.12.1-bitcore branch at #21


About dataset

The dataset address is not valid, can you provide a valid dataset?

It's a private dataset. You can use any datasets which adheres to the specified format. Some preprocessing of the dataset might be needed very likely.


Increment versions for migrationdiscoverysap releases

Increment package versions for migrationdiscoverysap releases

API change check
API changes are not detected in this pull request.


Proposed Recipes for ISIMIP

Source Dataset
ISIMIP provides CMIP6 bias adjusted datasets.
Quote:

The Inter-Sectoral Impact Model Intercomparison Project (ISIMIP) offers a framework for consistently projecting the impacts of climate change across affected sectors and spatial scales. An international network of climate-impact modellers contribute to a comprehensive and consistent picture of the world under different climate-change scenarios.

Link to the website / online documentation for the data
Repository documentation
netCDF4
10 years per file
open http access is available, includes

https://data.isimip.org/api/v1/datasets/?climate_forcing=gswp3-w5e5&climate_scenario=counterclim&climate_variable=tas

open access
Terms of Use

Transformation / Alignment / Merging
The files should be concatenated along the time dimension. The structure is similar to ESGF, in fact, the data used to be available also in the ESGF but this has ended.
Output Dataset
zarr output format.

@larsbuntemeyer, I've started to take a stab at this, but have some questions about the required dimensions.
First, I want to understand how many recipes make sense for the data:

In looking at https://data.isimip.org/, it appears that you would want at least 3 recipes: (a) climate forcing, (b) socioeconomic forcing, and (c) static goeographic information. Are those indeed the only top-level collections?
Within each of those 3, there are 4 simulation rounds. Do you want each of those simulations to be separate recipes, thus resulting in 3 x 4 = 12 recipes?

Further, in looking at the climate forcing data, it appears that the following dimensions might make sense:

year range (e.g., 1901-1910)
climate forcing (e.g., GSWP3-EWEMBI)
climate variable (e.g., huss)

Please let me know if that makes sense, or if I'm off base (please know that I'm a noob to all of this, so I'm not familiar with all of the domain-specific terminology).
So far, not including "climate forcing" as a dimension (i.e., only year range and climate variable dimensions), I have this:
from typing import Tuple
from pangeo_forge_recipes.patterns import ConcatDim, FilePattern, MergeDim

def make_url(variable: str, year_range: Tuple[int, int]):
    start_year, end_year = year_range
    template = (
        "https://files.isimip.org/ISIMIP2a/InputData/climate_co2/climate/HistObs/"
        "GSWP3-EWEMBI/{variable}_gswp3-ewembi_{start_year}_{end_year}.nc4"
    )

    return template.format(
        variable=variable,
        start_year=start_year,
        end_year=end_year
    )

year_ranges = (
    *((start_year, start_year + 9) for start_year in range(1901, 2012, 10)),
    (2011, 2016)
)
variables = (
    "huss",
    "pr",
    "ps",
    "rhs",
    "rlds",
    "rsds",
    "tas",
    "tasmax",
    "tasmin"
    "wind",
)

pattern = FilePattern(
    make_url,
    MergeDim(name="variable", keys=variables),
    ConcatDim(name="year_range", keys=year_ranges, nitems_per_file=10),
)

The urls of the items generated by the pattern look like this:
https://files.isimip.org/ISIMIP2a/InputData/climate_co2/climate/HistObs/GSWP3-EWEMBI/huss_gswp3-ewembi_1901_1910.nc4
https://files.isimip.org/ISIMIP2a/InputData/climate_co2/climate/HistObs/GSWP3-EWEMBI/huss_gswp3-ewembi_1911_1920.nc4
...
https://files.isimip.org/ISIMIP2a/InputData/climate_co2/climate/HistObs/GSWP3-EWEMBI/huss_gswp3-ewembi_2011_2016.nc4
https://files.isimip.org/ISIMIP2a/InputData/climate_co2/climate/HistObs/GSWP3-EWEMBI/pr_gswp3-ewembi_1901_1910.nc4
https://files.isimip.org/ISIMIP2a/InputData/climate_co2/climate/HistObs/GSWP3-EWEMBI/pr_gswp3-ewembi_1911_1920.nc4
...
https://files.isimip.org/ISIMIP2a/InputData/climate_co2/climate/HistObs/GSWP3-EWEMBI/tasminwind_gswp3-ewembi_2011_2020.nc4
https://files.isimip.org/ISIMIP2a/InputData/climate_co2/climate/HistObs/GSWP3-EWEMBI/tasminwind_gswp3-ewembi_2011_2016.nc4

I've managed to bend Ryan Abernathy's (@rabernat) ear about this during the ESIP Summer 2022 meeting, so I'm looking to get some traction while it's still fresh in my mind.

@rabernat, each file contains 10 years, except for the last in each group, where each contains only 6 years (2011-2016). Does specifying nitems_per_file=10 cause a problem with those files that don's span 10 years?


Remove fillId property

I don't see how this property is useful, so I decided to remove it and it fixed the problem I was having on #26.

Tried your change, because I have the same issue #26
But in my case it now always shows 4 filled stars and I cannot control how many stars should be filled


Tighter Django integration

This makes changes so that if ChatterBot is being used with Django, the Django Statement and Response models can be used in place of ChatterBot's Statement and Response objects. Previously the storage adapter converted incoming statement objects into Django model objects before saving and/or returning them. Now this conversion is no longer required.
This is going to need further testing before it gets merged.
Items that need to be checked off before this can be merged:

[ ] Make sure ChatterBot statements/responses and the Django models have the same methods
[ ] Do something about the fact that the Django add_response method currently takes a Statement model object.
[ ] Make sure logic adapters all work with in Django
[ ] Make sure input adapters all work in Django
[ ] Make sure output adapters all work in Django

Closes #464

@gunthercox Any plan to fix this issue https://github.com/gunthercox/ChatterBot/issues/308

@vkosuri I'm planning on taking care of #308 in a pull request after this one gets merged. I'm pretty sure the "reversal" is just an issue with confusing variable names.


color of EUI value on map popup

In the existing implementation, these are always CSS blue, which seems wrong:

In the updated version, the color seems to match the chart on the building report, but not always. Here's one that looks red, but the chart would indicate should be orange:

I wonder if the difference between apps (deployed and staged) has something to do with a last minute (Jan 2021) changes to seattle.json that were made but never deployed
https://github.com/GreenInfo-Network/seattle-building-dashboard/commit/ae6f8071413cf53f8bc2d54468d11bbe55b53bba
https://github.com/GreenInfo-Network/seattle-building-dashboard/commit/9fb353ebe10dba158320278708b7d60fb332e96d
Why red and not orange, I'm not sure
┆Issue is synchronized with this Asana task

See building_layer.js


Feature/python3 bs4

This package is based on Python2. (https://github.com/ros/rosdistro/blob/ddaa4b4b257cac3915a0a85f57a14d9fb82f43bf/rosdep/python.yaml#L754)
https://packages.ubuntu.com/ja/bionic/python-beautifulsoup
We want to use beautifulsoup4 in Python3.
So we want to add this package into rosdistro.
https://pypi.org/project/beautifulsoup4/

Change to the native package.

Ubuntu : https://packages.ubuntu.com/bionic/python3-bs4
Debian : https://packages.debian.org/buster/python3-bs4
Arch : https://www.archlinux.org/packages/community/any/python-beautifulsoup4/
Fedora：https://src.fedoraproject.org/rpms/python-beautifulsoup4


Documentation of Digital Shadow

The Digital Shadow (issue #297) needs to be documented. It will be in the file .../Concepts/Digital Shadow.
Things to be documented:

Data structures (different types of ID's, relevant timescaleDB tables etc.)
General Overview over the functionality
Description of implementation guidelines
functions and limitations
planned features
etc.

Difference of UID (uniqueProductID) and AID (alternativeUniqueProductID)
The UID is only newly generated if:

exact product doesn't already have a UID (-> the case if it has never been the produced at an asset incorporated in the digital shadow)
product was just produced (it is now different than before, eg. after machining or after something was screwed in)

The AID is a field for different kinds of other identification. For example physical labels stay the same after assembly (the same AID can be related to multiple different UID's)
AID and UID are stored in combination in the uniqueProductTable (timescaleDB).
Example:

Possible Definition of when to change the UID
If we can move a product from point a in the production to point b or back without causing problems from a process perspective, the UID of the product should stay the same. (For example if the product only gets transported between point a and b).
If moving the object produces problems (e.g. moving a not yet tested object in the bin "tested Products"), the object should have gotten a new UID on its regular way.

Updated ID Graphic

the Transport of ProductC is short, easy and cheap in this example.

Batches of supplied parts:
If for example a batch of screws is supplied to one asset with only one datamatrix code (one AID) for all screws together, there will only be one /uniqueProduct created for the batch with one AID, a newly generated UID and with the default supply asset storage.

The batch AID is then used as parent for /addParentToChild (-> mqtt-to-postgres will always fetch the same parent uid for the inheritanceTable)
The batch AID only changes when new batch AID is scanned

Life of a single UID

Type
creation UID
death UID

without inheritance at creation
storage/uniqueProduct
/addParentToChild (UID is parent)

with inheritance at creation
<asset>/uniqueProduct + addParentToChild (UID is child)
/addParentToChild (UID is parent)

Currently there is nothing between life and death of a uid except productTags which should not be used to show transport of a part. Because the Rest API issue #336 uses the child from the inheritanceTable to filter the uniqueProductsTable for the relevant uniqueProducts a uniqueProduct entry at a third asset between life and death would cause problems.
If at some point in the future the feature to be able to track uniqueProducts between life and death gets relevant, a possible solution might be adding a field in the uniqueProductsTable (e.g. inTransport: bool). Now the rest API looks if a child exists only if inTransport: false.

Updated Example Overview (included third process 1 to 1):


Glog file separation by year

Hello! There seems to be an edge case that occurs when the year switches while we are in the midst of writing glogs.
For instance, if we are writing glogs at 11:59 pm on 12/31/2019, and the year switches to 2020, the mmdd timestamp written on each line of the glog will not capture this year difference. Therefore, it looks like the glogs jump from 12/31/2019 to 01/01/2019 if we are only extrapolating the year from the file name, or the file creation date written at the top of each glog file.
I think some possible solutions include:

Appending the year to each glog line in the format of [IWEF]yyyymmdd hh:mm:ss.uuuuuu threadid file:line] msg
Splitting the glog file when the year changes.

Was there a reason for not including the year in the line-by-line output format?

@vctang I've opened a PR (#530) for this.

Fixed in #530.

FWIW I think doing this was a mistake.  It changes the log line format and is no longer compatible with Google's internal log line format.
Processes are never intended to be running for more than a year anywhere (regular software and infrastructure updates being a thing).
Anything parsing log lines should not blindly assume "current year" when parsing a line.

Agree with @gpshead . Adding year seems to have broken google cloud logging's built-in regex-based parsing for glogs.

@cnsgsz Could you please create a new issue? The year prefix could be made optional.


net/http: WASM Roundtripper crash when using "no-cors" mode

What version of Go are you using (go version)?
go version go1.11rc2 darwin/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/mrossi/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/mrossi/work/go"
GOPROXY=""
GORACE=""
GOROOT="/Users/mrossi/sdk/go1.11rc2"
GOTMPDIR=""
GOTOOLDIR="/Users/mrossi/sdk/go1.11rc2/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/4s/j3nd4p8n6_7fj854xjvj_6zh0000gn/T/go-build853916135=/tmp/go-build -gno-record-gcc-switches -fno-common"
What did you do?
Create and execute an HTTP request to a different domain. Set the req.Header.Add("js.fetch:mode", "no-cors") header for the request. The request fails because of Cross-Origin Read Blocking (CORB) on Chrome/Mac. In addition, the go/wasm runtime panics:
panic: syscall/js: call of Value.Call on null
goroutine 5 [running]:
syscall/js.Value.Call(0x7ff8000000000002, 0x78a18, 0x9, 0x0, 0x0, 0x0, 0xc028cc0)
/Users/mrossi/sdk/go1.11rc2/src/syscall/js/js.go:279 +0x72
net/http.(*Transport).RoundTrip.func1(0xc01e310, 0x1, 0x1)
/Users/mrossi/sdk/go1.11rc2/src/net/http/roundtrip_js.go:120 +0x25
syscall/js.callbackLoop()
/Users/mrossi/sdk/go1.11rc2/src/syscall/js/callback.go:116 +0x7
A minimal program that reproduces the issue is attached (program.txt).
program.txt

@markkurossi brought this up in the #webassembly channel on Gophers slack, so I've had a chance to isolate the problem and test a fix. I will put up a CL soon with the fix.
I don't think this is a release blocker, because the circumstances are very narrow, but the fix is very small.
CC @neelance @bradfitz

This only happens if the following is true:

The browser in question supports streaming response bodies
The user has requested the fetch be performed with mode: no-cors
The website in question blocks CORS requests.

@gopherbot please file this to be considered for backport to 1.11.
@johanbrandhorst please make a cherry-pick CL once your change is merged in master.


PIXI 5.2.2: The animation callback function is called with elapsed frames not elapsed milliseconds.

File Ticker.ts:
https://github.com/pixijs/pixi.js/blob/93835dbbecbd0b4f31c9533bde8386a71c5662e3/packages/ticker/src/Ticker.ts#L494
https://github.com/pixijs/pixi.js/blob/93835dbbecbd0b4f31c9533bde8386a71c5662e3/packages/ticker/src/Ticker.ts#L505
The animation callback function is called with elapsed frames not elapsed milliseconds since the last call. I am unable to find a mention of this in the documentation. Is this the expected behavior?

pixi.js version: at least 5.2.2

Yes, that’s right. The name deltaTime is not great... it’s not the elapsed time but a scalar value of the number of frames elapsed. A value of 1 is running at max FPS. This is useful for multiplying tween calculations or simulation ticker to keep up with lower frame-rates.  Documentation probably needs some better explanation here.

Main idea:
instead of
sprite.rotation += 0.1

people can write
sprite.rotation += 0.1 * delta;

That's why we pass elapsed frames there.

Closing as this seems answered.


replication_method: truncate, does not behave correctly

When replication_method is set to truncate, it still appends data to the table.
As per processhandler.py L152 the copy operation does not take into account replication_method and always appends the data.

The code reference is for the partial temp table load which technically doesn't matter if it appends or truncates.
The final table is generated via this code and it should respect the replication_method key.
However, we will double-check this behavior.

The code reference is for the partial temp table load which technically doesn't matter if it appends or truncates.
The final table is generated via this code and it should respect the replication_method key.
However, we will double-check this behavior.

@zvizdo, if my reading of this is correct, this line in processhandler.py L152 will always mean the tmp table is copied into the production table with an append WriteDisposition.
The code you linked to (https://github.com/adswerve/target-bigquery/blob/master/target_bigquery/processhandler.py#L203) is within the _load_to_bq method, which is called from _do_temp_table_based_load. This only loads the data into a temporary table. The temporary table is then copied into the production table with an Append, which would result in duplicate rows.

Yes, you are correct. I missed that when I responded the first time.
Should be easy to take care of. The solution in the meantime would be to use include metadata columns into the result, and so you can dedupe based on the ingestion time.

Fix implemented here based on @jarobe42 recommendation.
We have a few things in the works for the next release, so at this time we will hold off on merging to the master.


Make a Session end at the end of its last property

@ppalaga I create this issue to define what is the end of Section.
Here a screenshot with your JUnit test:

The end section is used to define folding. So in your test it should be line 37.
But we can consider that too:

In this case line is 32, but IMHO it's perhaps more hard to implement that.
I think I don't need enclosed location.

I am about to implement the second option: Make a Session end at the end of its last property.
I am leaving the session start at the start of the [ of the glob (unlike on your picture).


Add support for Terminal.app

Related to #2

Fixed in v0.4.0 with https://github.com/fisherman/done/commit/dead2eb24d2335e69ea2bb5aa498675bf6658ec7


to build mesos on aws linux boxes, need to use  --enable-frame-pointers

Hi there,
It looks like the standard aws ec2 linux box dies during the make step for building mesos.
To fix it, the .configure instructions need to be updated to:
configure --with-webui --with-included-zookeeper --disable-perftools  --enable-frame-pointers

If you agree, you may wish to update the aws section accordingly.
cheers,
Andrew

Closing this out of date issue that was already merged.


Support Visual Studio 2019

Visual Studio 2019 has been released.
This article describes how to modify the .vsixmanifest to add Visual Studio 2019 support.
I don't know if that's enough to make it work, let me know if I should try this with a PR.

You can try my pulled version or new release 2.1.1 on my fork.

You can try my pulled version or new release 2.1.1 on my fork.
release 2.1.1

Nice, thank you!

You can try my pulled version or new release 2.1.1 on my fork.
release 2.1.1

@ZephyCZ, I cannot open an issue in your fork, so I reply here.
With you version I got an error. It's working anyway. So I ignore it.

So i did some debugging on the matter and found out the origin of the exception. It probably is related to new project types in VS 2019. Also, if you are using .net standard or .net core, "System.Configuration" and "System.ServiceModel" references will fail. However, you can add those references yourself if you need to (obviously). The rest seems to be ok.
Thinktecture.Tools.Web.Services.ContractFirst.ServiceFacade line 537
private void AddAssemblyReferences()
{
    VisualStudioProject project = VisualStudio.SelectedProject;
    project.AddReference("System");
    project.AddReference("System.Xml");
    project.AddReference("System.Runtime.Serialization");
    project.AddReference("System.Configuration");
    project.AddReference("System.ServiceModel");
}

Thinktecture.Tools.Web.Services.ContractFirst.VsObjectWrappers.VisualStudioProject line 104
public void AddReference(string assembly)
{
    if (IsWebProject)
    {
        VSWebSite website = this.project.Object as VSWebSite;
        website.References.AddFromGAC(assembly);
    }
    else
    {
        VSProject2 prj = this.project.Object as VSProject2;
        prj.References.Add(assembly);
    }
}

The code below is modified to avoid the null reference exception. VSProject2 is derived from VSProject, so this "else if" is unnecessary.
Thinktecture.Tools.Web.Services.ContractFirst.VsObjectWrappers.VisualStudioProject line 104
public void AddReference(string assembly)
{
    if (IsWebProject)
    {
        VSWebSite website = this.project.Object as VSWebSite;
        website.References.AddFromGAC(assembly)
    }
    else if (this.project.Object is VSProject2 prj2)
    {
        prj2.References.Add(assembly);
    }
    else
    {
        var prj = this.project.Object as VSProject;
        prj.References.Add(assembly);
    }
}

@BarsikV Thank you for your analysis. I implement your solution in my Fork. I greatly appreciate your work.

Hi,
I have v.2.1.2 and it gives this error when I try to generate code:

Thanks

yes, the problem is not fully fixed as in the source code the references to "system.configuration" and "System.ServiceModel" are still present and they will not work for nestadard projects.
in the ServiceFaced file, AddAssemblyReferences method those references should not be added to make it work fot nestandard. But you will need to add the nuget packages respectively by yourself.
Thinktecture.Tools.Web.Services.ContractFirst.ServiceFacade line 537
private void AddAssemblyReferences()
{
    VisualStudioProject project = VisualStudio.SelectedProject;
    project.AddReference("System");
    project.AddReference("System.Xml");
    project.AddReference("System.Runtime.Serialization");
    //project.AddReference("System.Configuration"); does not work for netstandard
    //project.AddReference("System.ServiceModel"); does not work for netstandard
}

I tried all of the above and found it is still not sufficient to prevent the exceptions. There are two problems with VS 2019: the new project files types and  for .net core and netstandard projects some assemblies are not available anymore.
why not only make the following change (this works for me in a .core 3.1 project):
try
{
if (IsWebProject)
{
VSWebSite website = this.project.Object as VSWebSite;
website.References.AddFromGAC(assembly);
}
else if (this.project.Object is VSProject2 prj2)
{
prj2.References.Add(assembly);
}
else
{
VSProject prj = this.project.Object as VSProject;
prj.References.Add(assembly);
}
}
catch(Exception ex)
{
System.Diagnostics.Trace.WriteLine(System.String.Format("Failure adding reference to assembly {0}: {1}", assembly, ex.Message));
        }

Thank you, for your repair example.
I implemented it in new version 2.1.3 which supported VS2022.
See RELEASE  section in my fork.


RESTful fallback for large datasets

Optionally (via FirebaseUIOptions parameter) fall back to RESTful fetch (with shallow=true) when the backing dataset is too large for the websockets API. Will auth if necessary. Can probably do some fancier things with different query parameters for ordering/filtering in the future.
There are quite a lot of constructors for the data sources now.
Is there a better way to populate an FDataSnapshot than subclassing it and overriding methods?

A few thoughts:

FirebaseUIOptions Yes, though I'm considering a rewrite of the API when we add sectioning to incorporate a constructor to create the datasource with options, delegate, etc; then adding sections (and thus the references and their options) differently.
Yeah, they are becoming too unmaintainable, hence the rewrite above. I thought __kindof support would help out (since I can put __kindof FQuery * for everything, but swift seems to not be a huge fan of __kindof.
When you say "populate an FDataSnapshot what exactly do you mean? Populate a view from a snapshot, or get a model object back?

The code for 1 could look something like:
Firebase *ref = [[Firebase alloc] initWithUrl:@"https://foo.firebaseio.com"];
FirebaseTableViewDataSource *tableViewDataSource = [[FirebaseTableViewDataSource alloc] initWithOptions:@{@"enableRest": YES} andDelegate:self];
[tableViewDataSource addSectionNamed:@"MySection" withQuery:ref orderBy:NSOrderedAscending]; // orderBy is optional, as would be `filterWithPredicate:(NSPredicate *)pred` or similar

@mcdonamp
1/2: Fewer constructors initializers (sorry my Java is showing) seems like a step in the right direction. I almost fear that the new methods for adding sections will blow up in the same way though with all of the optionals and two branches to support both FQuery and Firebase. What about breaking into additional classes and then imposing on the consumer to set optionals via properties? For example:
FirebaseTableViewDataSource *tableViewDataSource = [[FirebaseTableViewDataSource alloc] init];
tableViewDataSource.delegate = self;
tableViewDataSource.options = @{@"enableRest": YES};

FirebaseDataSourceSection *mySection = [[FirebaseDataSourceSection alloc] initWithQuery:ref];
mySection.name = @"MySection";
mySection.orderBy = NSOrderedAscending;

[tableViewDataSource addSection:mySection];
// or tableViewDataSource.sections = @[mySection];

Is there any concern with breaking the API for existing consumers?
3: Apologies for being vague. What I'd like to do when FirebaseArray falls back to RESTful fetch is still store and return FDataSnapshots even if the result didn't come out of the realtime wiring, that way the fallback is transparent to the consumer. For example. However, I couldn't find a way to populate an FDataSnapshot's ref and value manually -- whatever the Firebase events are doing internally to create them doesn't appear to be exposed. So I subclassed it and overrode ref and value.

1/2: Yes, I think this is likely the better solution. As for breaking people--we're in 0.X, so I'm comfortable breaking people until we hit a 1.0. I think there's always the option of staying on 0.2 or 0.3 if the features in 0.4 aren't desired.
3: Reflection aka why I love Obj-C ;) (because we purposely don't expose this functionality to prevent people from mutating snapshots and storing them/trying to pass them back in). Maybe creating a FMutableDataSnapshot that is a container around an FDataSnapshot might be a nice wrapper though? That said, I'm working on strongly typed object marshaling (ala modelClass) in a more safe way, like Java's getValue(Model.class).

3: I generally favor composition over inheritance (a la FMutableDataSnapshot wrapper), though in this case it would break anyone specifically looking for an FDataSnapshot to populate their *viewCells. Once modelClass is implemented though, then it does seem like this would no longer be a problem for those that use that feature (and possibly even those who don't, depending on how the API is set up). Will modelClass (I guess that's what I'm calling the feature now) still be able to provide the backing ref to interested parties for further inspection/drilldown? Perhaps I should hold off on development of RESTful fallback until then.

Yeah, so on second thought... FDataSnapshot is a little crazy and won't be easy to populate, so we might want to go for the Mutable version ;)
Model class is still very conceptual, and involves a lot of hacky runtime hacks (recursive introspection of types essentially), which I have no idea if it will be performant enough to do in the client. Currently it's just doing setValuesForKeysWithDictionary which restricts us to objects containing primitives, hence the lack of documentation. And no, it doesn't provide a backing ref, though that's still retained by the actual snapshot (which is stored), so I could see the need for having both the refs as well as the objects stored (essentially a "strong" snapshot, which actually contains a model object of some sort).
I would play around with a few features and see if anything feels good, I'm also happy to share some FDataSnapshot -> class code, if you'd like to learn the magic of Obj-C runtime hackery ;)


[Bug] Unable to disable https using defined environment variables

When running graph-explorer within a container, I'm unable to disable https for the graph-explorer service using the following docker run command.  Https for the proxy does get disabled with this, but not the graph-explorer service (Vite server).
docker run -dit -p 5173:5173 -p 8182:8182 \
    --name <container_name> \
    --env GRAPH_EXP_HTTPS_CONNECTION=false \
    --env PROXY_SERVER_HTTPS_CONNECTION=false \
    -t <container_image>

Those env variables aren't accepted inside the docker run command, you have to go into the .env file inside the graph-explorer folder and update them.

A pending change in #108 will add support for specifying the value of GRAPH_EXP_HTTPS_CONNECTION via env variable.


Align invocation txn size calculation with C#

Current behavior
the current invocation txn size calculation is done as follow:
def Size(self):
        """
        Get the total size in bytes of the object.
        Returns:
            int: size.
        """
        return super(InvocationTransaction, self).Size() + GetVarSize(self.Script)

Expected behavior
It should be done like in ¢# by taking into consideration the version logic whch detemines whether to add the gas size or not.
public override int Size => base.Size  // Transaction base size
           + Script.GetVarSize()               // Script variable size
           + (Version >= 1 ? Gas.Size : 0);    // Gas Fixed8 size (for version >= 1)

How to reproduce
https://github.com/neo-project/neo/issues/652
Your environment
Let us know in what environment you're running into the issue:

OS: Ubuntu 18.X
neo-python version: v0.8.5-dev
Python version: 3.6

I will provide a PR.


SyncedCron: scheduled "scheduleNewsletter" next run @Invalid Date

I'm getting this error coming from a fresh install
 "newsletterProvider": "mailchimp",     "mailchimp":     {         "apiKey": "",         "listId": "",         "fromName": "",         "fromEmail": ""     },     "newsletterFrequency": [1, 2, 3, 4, 5, 6, 7],     "newsletterTime": "04:20",     "newsletterExcerptLength": 20,     "enableNewsletterInDev":true,      "enableNewsletter": true,
Is there something wrong with the newsletterTime?

I20170811-16:12:46.774(-5) (percolatestudio_synced-cron.js:84) SyncedCron: scheduled "checkScheduledPosts" next run @Fri Aug 11 2017 16:20:00 GMT-0500 (CDT)
I20170811-16:12:46.776(-5)? frequency: [object Object]
I20170811-16:12:46.778(-5)? serverTimeString: 00:0-40
I20170811-16:12:46.793(-5) (percolatestudio_synced-cron.js:84) SyncedCron: scheduled "scheduleNewsletter" next run @Invalid Date

😐
newsletterTime in settings.json was setup with an array which causes something to mess up. Removing the variable from settings.json fixes it but removes the ability to configure the newsletter.

Hi @publu , If I'm not mistaken, this was recently fixed in devel branch. Please see details here:
https://github.com/VulcanJS/Vulcan/commit/1fdee1025fd9745193128d40d2e8dd02378ccf6b
I just tried running the devel in local, and scheduleNewsletter is working fine with a correct time and date, and without the @Invalid Date warning.


which loss layer

Hi,
i want to create a network which gets 2 images as an input and should output if those 2 images show the same type of object.
Right now i started with a loss_multiclass_log with 2 outputs
(outputs: 1 0 for same type objects,  0 1 for not the same type)
I input the 2 images as 1 via join_rows call.
so my questions are

what sort of loss layer is good for such a task?
is it good pratice to input 2 images as 1 (via join row for example)

best wishes

I would use the metric learning loss.  See http://dlib.net/ml.html#loss_metric_, there are examples showing how to do this kind of thing with it.  That's not to say that for some applications there might not be phenomenological reasons to use something else, like maybe something like what you mentioned.  But in general metric learning is more convenient.

Would loss_metric also work with new images.
Lets say i train it with 10 000 Images of different categories.
If i input 2 completely new images of the same (but a never trained) category.
Will the output of those 2 images be close?

Yeah, that’s the kind of thing it’s for.

thanks!


Large data splited and not recoverable

put a large dataframe in vineyard and cannot fetch it anymore, what a blackhole!

If is is a bug report, to help us reproducing this bug, please provide information below:
centos7, vineyard 0.2.12 (latest at present)
import vineyard
client = vineyard.connect('/var/run/vineyard.sock')
import numpy as np
import pandas as pd
data = pd.DataFrame(np.random.rand(100_000_000), columns=[['x']])
data_id = client.put(data)
## everything fine until
new_data = client.get(data_id)

error info:
Traceback (most recent call last):
File "pandas/_lib/hashtable_classs_helper.pxi", line 5231, in pandas._libs.hashtable.PyObjectHashTable.map_locations
TypeError: unhashable type: 'list'

by the way, how should I clear the data put in vineyard? I played with it for several times and there are many useless arrays in my computer, will they be harmful?

Thanks for reporting, will investigate ASAP.

ok I found that I should not use two layers of list, it works when I remove one layer of list, but it's still interesting that the error comes from get().

ok I found that I should not use two layers of list, it works when I remove one layer of list, but it's still interesting that the error comes from get().

A client.clear() API has been implemented in #620 and will be included in the next release.


Fix for batching when the field type is a list

Summary:
Fix for batching when the field type is a list
Issue Reference(s):
Fixes #... (Replace "..." with the issue number)
Build & Testing:

[x] I ran cargo test successfully.
[x] I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.

Checklist:

[x] I have added relevant unit & integration tests.
[x] I have updated the documentation accordingly (if applicable).
[x] I have performed a self-review of my own code.

Benchmark results with ci-benchmark/benchmark.graphql and wrk -d 30 -t 4 -c 100 -s ci-benchmark/wrk.lua http://localhost:8000/graphql
From main:

From this PR branch:

Closing this, an alternative implementation with enum is done in https://github.com/tailcallhq/tailcall/pull/635

Reopening, this, @meskill removed the Arc from the get_body_value function, so there is no dynamic dispatch.


Added GVRVertexBuffer clone constructor

AddedGVRVertexBuffer(GVRVertexBuffer src, String desc) so you can copy data from one vertex buffer to another more easily. Fixes crash in MeshUtils.clone when used by GVRKeyboardSceneObject.
GearVRF DCO signed off by: Nola Donato<EMAIL_ADDRESS>

Needs rebase

I rebased it

Planning to merge on Friday


Remove wsConfig/globalConfig upgrade code

When changing the global/workspace state variables checks/upgrades need to be done to allow compatibility with previous versions.

in v1.0.37


warps not working

Warps command will use home manager.

Fixed with commit 2b1fe3f19fd7d0ceef494d2a9cd4c53472ac6522
Fixed by update the command registration class


Question: initialise  StoreModel with parameters

How can initialise  a StoreModel with parameters?
your example is like this:
CharacterStoreModel
export const CharacterStoreModel = types
  .model("CharacterStore")
  .props...

export const RootStoreModel = types.model("RootStore").props({
  characterStore: types.optional(CharacterStoreModel, {} as any),
})

and in my screen
const { characterStore } = useStores()
but what about if my StoreModel is with parameters like this?
export const CharacterStoreModel = types
  .model("CharacterStore",{userId: types.string})
  .props...

I Added {userId: types.string}
Thank you

Hey @scinfu! Thanks for using ignite!
You can provide defaults to your rootstore model when setting everything up. Note that it's persisted so this will only be a default for the first launch:
export const RootStoreModel = types.model("RootStore").props({
  characterStore: types.optional(CharacterStoreModel, {userID: "1234"} as any),
})

That will start your app with this default model already in the store. Then you can manipulate it in the screen...
const { characterStore } = useStores()
console.log(characterStore.userId) // "1234"

Here's a link to the mobx state tree documentation so you can read up more on how MST works: https://mobx-state-tree.js.org/intro/philosophy

@markrickert  thank you for the quick answer.
ok, so useStores() most to be used likely for shared StoreModel or remember to reset/re-Set some property.
I'm trying to create a new one with CharacterStoreModel.create({userID: "56789"}) and work but getCharacters seems do not have self.environment.api, so the REST API request go in exception and then in error.
With CharacterStoreModel.create I want to pass the ID and ignore MST but  self.environment.api in null, how can I initialise it?

Check out this section in the mobx state tree docs: https://mobx-state-tree.js.org/intro/getting-started#creating-model-instances-tree-nodes
A "store" is just a fancy model that likely stores instances of other models. So here we have a character store and a character model. I'd get the store with const { characterStore } = useStores() and then create a new character with const myNewCharacter = Character.create({whatever: "attributes"}) but it's just a model instance and not connected with your persistent store. To add it to the characterStore by doing characterStore.characters.push(myNewCharacter).
Generally, i like letting the stores handle the API calls and then when the results come back, it updates it's own data structure. So the view calls the store to fetch the api, that then ideally uses applySnapshot to update its data structure.

all clear thank you.
What about self.environment is null in CharacterStoreModel using CharacterStoreModel.create()?
Thank you

@scinfu If you're still having problems with MST, feel free to open a discussion here: https://github.com/mobxjs/mobx-state-tree/discussions
Thanks for using Ignite!


puppet:// URL without modules/ found

vscode with actual plugin loaded shows an error with a custom file server resource.
puppet:// URL without modules/ found
The bad thing is, upon saving the manifest the plugin automatically modifies the puppet code which results in file not found errors during run on client.
working code:
source => "puppet:///jenkins_releases/${service_name}/${service_name}-${service_version}.jar",
after save:
source => "puppet:///modules/jenkins_releases/${service_name}/${service_name}-${service_version}.jar",
Please leave it alone, k-thx-bye :)

I think you have puppet-lint formatting your document because you have Format on Save enabled, because this is a puppet-lint rule: http://puppet-lint.com/checks/puppet_url_without_modules/.

I have a puppet lint task, but it has this disabled and is bound to a Keyboard shortcut.
   "version": "2.0.0",   "tasks": [     {       "label": "puppetlint",       "type": "shell",       "command": "puppet-lint",       "args": [         "--no-puppet_url_without_modules-check",         "-f",         "${file}"       ]     }   ] }
But after deactivating the following config option of the puppet plugin i don't see the error and also dont get a modified file with saving i also do not get the warning.
Puppet>Format:Enable

Ok, i still get the Error in the Problems Window, but no one edits the code.

Oh boy, its too late and now i get what you wrote :( Sorry for the noise.
I'll try to add this to my ~/.puppet-lint.rc


refactor(events): cleanup

Can I ask why this PR? =D Other just a refactor ( which is always a plus )


left sidebar: (Experimental) Multiline DM groups and topics

Experimentally implement multiline DM groups and topics.

SHARP EDGES: Maintain alignment of icons, controls, and unreads with the first line of the group or topic. That might involve careful coordination of line-heights, which will also need to be adjusted so that topics and groups look cohesive, but are also distinguishable from adjacent groups or topics.

@zulipbot claim


Get and List Submissions

Changing list_in_time_range to list_attributes_in_time_range, and adding the optional attributes parameter.
Adding code to list submission from the DB
Adding Code to get information about an existing submission.
Updated the Openapi spec for Get /v1/submission to return a list rather than single submission.
Updating the openapi spec for Get /v1/submission/{project_uuid} to return correct schema of data.
Adding a flask error handler when a row are not found or the user is not authorized to access.
Adding tests that check if 403 is raised when row is not found.
Moving list_attributes_in_time_range to entity.py
in corpora_orm, converting some relationships list for singular relationships
factoring out common test code.

Closes #465
Closes #467

Hi @maniarathi !! Just wanted to see if you have the capacity to do a quick review of this PR. If not, we'll take you off of the review list from now on 😄 Thank you!

Hi @maniarathi !! Just wanted to see if you have the capacity to do a quick review of this PR. If not, we'll take you off of the review list from now on 😄 Thank you!

Oh! Yes, I can do it :) I thought I had been added to the PR accidentally :P Will do it by tomorrow morning!

@maniarathi Ahaha thanks so much! Really appreciate your help 🤩 🎉 🙏


Sluggish mobile load performance

Due to the number of graphs being loaded and displayed at once, on mobile performance can be slow when loading the website. We should probably fix this so the site loads faster. I can think of a few solutions:

SSR? (no idea if it would help)
Render the graphs serially, rather than in parallel. E.g. load and render serially in this order:

The current year

The current matches
The previous round played
The round before that
etc.

The previous year

The final
The semi final
The quarter final
The R16
The R32

The year before that (using the same order above)

Render graphs when they are scrolled to (is this called lazy-loading?)

Render graphs when they are scrolled to (is this called lazy-loading?)

Yes, and this would be my preferred solution. I've used it in another project in the past: https://github.com/davwheat/personal-portfolio/blob/main/src/components/Canvas.tsx
The main thing is the useVisible hook, though.


Document usage of ZIO Http Test API

The new ZIO Test module can be used to test ZIO Http applications.
Should add some documentation about how to use the testing module.

Is the zhttp-test module actually available somewhere? The example uses this class. Just for testing, I included that class in my project so it works but that's no solution of course. Thanks for clarifying.

I don't think we need the test module anymore. We should be able to simply call Http as a function, passing a request and expecting a ZIO of response.


Button 6 Defaults to home.bmp

Button 6 changes successfully, but upon reloading the menu, or restarting, the json is not being updated with the new icon.

home.bmp is hard coded. There is no reason this should be like it is. A way around this is uploading the home icon you want as home.bmp, this will overwrite the original home.bmp.

I had setup macros for a chrome web browser. Changed my icons. But I came across the issue where I was using the home.bmp for the shortcut to the homepage (Also had to make custom hotkeys since there was no Home keymap). Using the webserver, I used the drop down for the Button 6, and used a back arrow to replace the home.bmp for Button 6. That's when I noticed it was hard coded, and would revert back to home.bmp.

If a change to button 6 does not save, perhaps the configuration page shouldn't allow the user to change it? That confused me as well, and led me to come here to look for a new version of the software.

It would be nice to code this button to a back arrow or in my case I would like to code it to a custom home button.  I have 5 setups a couple of which are for meetings and such It would be nice to use that 6th position with a custom icon to give the user and idea what sub-menu they are in.


“An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full” on Grpc 2.31 on Windows

What version of gRPC and what language are you using?
2.31, C#
The NuGet package is here: https://www.nuget.org/packages/Grpc/2.31.0
What operating system (Linux, Windows,...) and version?
Windows 10.0.14393
What runtime / compiler are you using (e.g. python version or version of gcc)
.NET Framework 4.6.2
What did you do?
Please provide either 1) A unit test for reproducing the bug or 2) Specific steps for us to follow to reproduce the bug. If there’s not enough information to debug the problem, gRPC team may close the issue at their discretion. You’re welcome to re-open the issue once you have a reproduction.
I have a service that makes ~2000 connections over Grpc and makes calls continuously over those connections. The calls over these connections are just unary messages - single request, single response. I recently upgraded from Grpc C# v1.21(https://www.nuget.org/packages/Grpc/1.21.0) to Grpc C# 2.31 (https://www.nuget.org/packages/Grpc/2.31.0). After the upgrade, I started to see lots of RpcExceptions with the following error:
Status(StatusCode="Unavailable", Detail="failed to connect to all addresses", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1605238762.098000000","description":"Failed
 to pick subchannel","file":"T:\src\github\grpc\workspace_csharp_ext_windows_x64\src\core\ext\filters\client_channel\client_channel.cc","file_line":4090,"referenced_errors":[{"created":"@1605238752.962000000","description":"failed to connect to all addresses","file":"T:\src\github\grpc\workspace_csharp_ext_windows_x64\src\core\ext\filters\client_channel\lb_policy\pick_first\pick_first.cc","file_line":394,"grpc_status":14}

After setting GRPC_VERBOSITY=debug, I see the following error:
I1113 08:15:28.721496 0 T:\src\github\grpc\workspace_csharp_ext_windows_x64\src\core\ext\filters\client_channel\subchannel.cc:1033: Connect failed: {"created":"@1605284128.721000000","description":"Failed to connect","file":"T:\src\github\grpc\workspace_csharp_ext_windows_x64\src\core\lib\iomgr\tcp_client_windows.cc","file_line":218,"referenced_errors":[{"created":"@1605284128.721000000","description":"OS Error","file":"T:\src\github\grpc\workspace_csharp_ext_windows_x64\src\core\lib\iomgr\tcp_client_windows.cc","file_line":179,"os_error":"An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.\r\n","syscall":"bind","wsa_error":10055}],"target_address":"ipv4:<IP_ADDRESS>:81"}

The error seems to show up after a few minutes of running successfully.
What did you expect to see?
I did not see these RpcExceptions on Grpc C# 1.21
What did you see instead?
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?
My client is set up like this:
var options = new List<ChannelOption>();
options.Add(new ChannelOption("grpc.initial_reconnect_backoff_ms", 100));
options.Add(new ChannelOption("grpc.min_reconnect_backoff_ms", 100));
options.Add(new ChannelOption("grpc.max_reconnect_backoff_ms", 10000));

var channel = new Channel($"{ipAddress}:{port}", ChannelCredentials.Insecure, options);
var client = new MyGrpcService.MyGrpcServiceClient(channel);

DateTime deadline = DateTime.UtcNow.AddMilliseconds(10);
channel.ConnectAsync(deadline: deadline).Wait();

Closing this issue as it seems related to the OS, not GRPC. Apologies for the inconvenience.


Crash on startup, due to AbstractMethodError on logcat method [2.13.4]

Steps to reproduce
Immediate crash when starting the app.
Also happen when pressing the "share logs" action button on notification.
Expected behavior
The app should be able to start
Actual behavior
The app crash immediately after quitting the splash screen, prompting the user that an unexpected error occurred.
"Dump crash Logs" button works, popping a notification. On that notification, it is possible to open the log but sharing it also crash the app.
"Restart the application" button works, but the app immediately crash.
Crash logs
neko_crash_logs.txt
Neko version
2.13.4
Android version
Android 13
Device
Google Pixel 6
Other details
I tried various thing before reporting this issue.

Flushing the app cache from android menu,
Force closing the app from android menu,
Restarting cellphone,
Changing network connection (wi-fi, cellular, removing ad-guard dns) (bit random, read firebase, thought it could be a network issue).

I did not tried erasing app data as my last backup is a bit old but will do if requested.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to the newest version Latest.
[X] I have filled out all of the requested information in this form.

Should be fixed in 2.13.5


Fix position of tile names in TileSet editor when zooming in/out

Fixes #27713.

Cherry-picked for 3.1.1.


ExtAPI,ViewOrientationType,Ansys,GraphicsResolutionType,GraphicsBackgroundType ***Undefined name

import os

from PIL import Image
import ansys.mechanical.core as mech
from ansys.mechanical.core.examples import delete_downloads, download_file
from matplotlib import image as mpimg
from matplotlib import pyplot as plt
from matplotlib.animation import FuncAnimation

# %%
# Embed mechanical and set global variables

app = mech.App(version=241)
globals().update(mech.global_variables(app, True))
print(app)

cwd = os.path.join(os.getcwd(), "out")

def display_image(image_name):
    plt.figure(figsize=(16, 9))
    plt.imshow(mpimg.imread(os.path.join(cwd, image_name)))
    plt.xticks([])
    plt.yticks([])
    plt.axis("off")
    plt.show()

# %%
# Configure graphics for image export
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ExtAPI.Graphics.Camera.SetSpecificViewOrientation(ViewOrientationType.Iso)
ExtAPI.Graphics.Camera.SetFit()
image_export_format = GraphicsImageExportFormat.PNG
settings_720p = Ansys.Mechanical.Graphics.GraphicsImageExportSettings()
settings_720p.Resolution = GraphicsResolutionType.EnhancedResolution
settings_720p.Background = GraphicsBackgroundType.White
settings_720p.Width = 1280
settings_720p.Height = 720
settings_720p.CurrentGraphicsDisplay = False

I am running the above program for the first time in spyder 3.10. This program gives the correct output but in the workspace on the left hand side it shows red cross error and stating that Undefined name for the line which contains ExtAPI,ViewOrientationType,Ansys,GraphicsResolutionType,GraphicsBackgroundType.
Is there any module that I need to import in my code?

Hi @sk286102 when you say red cross error you mean these errors?:

If that is the case, those are just messages from the code analysis package that Spyder uses (which does a static code analysis). Since seems like you are able to run your code without issue my guess is those errors/warnings are false positives and you can ignore them (probably running one of the early imports you have in your code makes the mentioned definitions available somehow at runtime).
If the above makes sense, to make Spyder ignore specific lines and prevent specific errors/warning messages to appear in that section of the editor you can write a # noqa comment at the end of the specific line you want to be ignored. With that in mind, that last part of your code could end up looking something like:
# %%
# Configure graphics for image export
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ExtAPI.Graphics.Camera.SetSpecificViewOrientation(ViewOrientationType.Iso)  # noqa
ExtAPI.Graphics.Camera.SetFit() # noqa
image_export_format = GraphicsImageExportFormat.PNG # noqa
settings_720p = Ansys.Mechanical.Graphics.GraphicsImageExportSettings() # noqa
settings_720p.Resolution = GraphicsResolutionType.EnhancedResolution # noqa
settings_720p.Background = GraphicsBackgroundType.White # noqa
settings_720p.Width = 1280
settings_720p.Height = 720
settings_720p.CurrentGraphicsDisplay = False

And with that no errors should appear:

For more info about the static code analysis tools that Spyder uses you can check the Spyder docs page: https://docs.spyder-ide.org/current/panes/editor.html?#linting-and-code-style
Let us know if the info above helps!