[swift] Show http error message from AppStore

Checklist

[ ] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[ ] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[ ] I've updated the documentation if necessary.

Motivation and Context
Currently, Fastlane swift only shows a ruby stacktrace when a http error message rises, which is useless:
[1655712352.510837]: error encountered while executing command:
serverError
[1655712352.5108562]: Encountered a problem: FastlaneCore::Interface::FastlaneError:
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in `user_error!'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/pilot/lib/pilot/build_manager.rb:19:in `upload'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/actions/upload_to_testflight.rb:34:in `run'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/runner.rb:229:in `chdir'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/server/socket_server_action_command_executor.rb:73:in `run'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/server/socket_server_action_command_executor.rb:42:in `execute'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/server/socket_server.rb:181:in `execute_action_command'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/server/socket_server.rb:176:in `process_action_command'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/server/socket_server.rb:123:in `handle_action_command'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/server/socket_server.rb:86:in `parse_and_execute_command'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/server/socket_server.rb:62:in `block in receive_and_process_commands'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/server/socket_server.rb:49:in `loop'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/server/socket_server.rb:49:in `receive_and_process_commands'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/server/socket_server.rb:158:in `listen'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/server/socket_server.rb:38:in `start'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/commands_generator.rb:167:in `block (2 levels) in run'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/commands_generator.rb:354:in `run'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/commands_generator.rb:43:in `start'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/bin/fastlane:23:in `<top (required)>'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/bin/fastlane:25:in `load'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/bin/fastlane:25:in `<main>'
[1655712352.5108628]: Done running lane: deliverAppStore 🚀

Description
With this change, the important http message "No ipa or pkg file given" is added to the beginning of the error output, too.
[1655712352.510837]: error encountered while executing command:
serverError
[1655712352.5108562]: Encountered a problem: No ipa or pkg file given
FastlaneCore::Interface::FastlaneError:
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in `user_error!'
/Users/julian/.brew/Cellar/fastlane/2.206.2/libexec/gems/fastlane-2.206.2/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'

@kalinjul will you be able to sign the CLA?


Use Cow for parse error text

Sometimes they are static strings

I'd like to take this up. Looks pretty straightfoward. Anything I need to worry about?

Hi @ChiefMilesEdgeworth !
Thank you! :) I think it should be only changing the InlineError variant to ParseError(Cow<'a, str>) and then adding Cow in all usage places. No extra troubles expected

And maybe a few lifetime annotations (since InlineError needs it due to Cow usage)


[CSL-2195] Add option to get info about single address

Added GET api/addresses/<accountId>/<addressId> endpoint so that one can get info about single address.
Example:
https://<IP_ADDRESS>:8090/api/addresses/Ae2tdPwUPEZEK5DvxPMtnTnUfQg8coWAAbNfLEvQ4GqWTe9h8d6AEkBDMce@2147483648/DdzFFzCqrhsg9ngNRhHEa49se7qEMKyubT9tcE13Fkvh8QC82trpTDsNvdQV7mg9SCZiuENkf77zrtwPXrTyGMNznUsSinPC1gb2ZCqK
{
    "Right": {
        "cadId": "DdzFFzCqrhsg9ngNRhHEa49se7qEMKyubT9tcE13Fkvh8QC82trpTDsNvdQV7mg9SCZiuENkf77zrtwPXrTyGMNznUsSinPC1gb2ZCqK",
        "cadAmount": {
            "getCCoin": "37499999999166"
        },
        "cadIsUsed": false,
        "cadIsChange": false
    }
}

Not needed right now. Probably will be implemented within CSL-2327.

@Martoon-00 It might be nice if you could pick up CSL-2327 as part of your backlog and reuse this PR as a foundation, I think it shouldn't be too much extra work :)


Export d3.interpolateHue.

https://github.com/d3/d3-interpolate/blob/master/src/color.js
It’d be nice for implementation other color spaces.

This probably needs more work before it can be exposed because it can return hue angles outside of [0°, 360°).


Bump log4j to version 2.20

Since used log4j was vulnerable, we updated the used version.

thanks Sander


DOCS: how arguments are handled.

This will explain how arguments are handled when you enter them after a command name.
The example we will use is the following:
cd "/XboxGames/Forza Horizon 5/" -c

Due to argument processing, all the characters between the quotation marks ("), will be converted into one argument. So, this command should receive 2 arguments in total. It should get: ["/XboxGames/Forza Horizon 5/", "-c"].
Inline environment variables: see #4 , are handled BEFORE this.
This processing always happens, and cannot be disabled. This processing only occurs if an argument starts with a ". So, syntax such as my_arg="hello world" is not affected.

https://github.com/deetonn/Console/wiki


python update.py  --help ?

While huting #15, wouldn't you consider to provide "--help" for update.py script ?

Yes there should be a --help flag.

Fine; I remember that there are only two working flags in update.py : "--self" and ".."

More precisely --self or a path.


Add linux support to office-addin-dev-certs

Since the last PR https://github.com/OfficeDev/Office-Addin-Scripts/pull/156 is stale, i've created a new PR to make some progress on the linux support topic.

/Azurepipelines run

Thx @igor-ribeiiro. Didn't know that you can start the test pipeline like this. How to access more details about the failed task?
Error: Npm failed with return code: 1 Is not really helpfull.

Thx @igor-ribeiiro. Didn't know that you can start the test pipeline like this. How to access more details about the failed task?
Error: Npm failed with return code: 1 Is not really helpfull.

@nrueckmann nrueckmann I don't know exactly how to share testes pipelines with you. I will search if I'm allowed to do that.
But until then, I just copy and pasted the error that is getting returned:

Uncaught error outside test suite

0 passing (1ms)
1 failing

Uncaught error outside test suite:
Uncaught Error: listen EADDRINUSE: address already in use :::4201
at Server.setupListenHandle [as _listen2] (net.js:1318:16)
at listenInCluster (net.js:1366:12)
at Server.listen (net.js:1452:7)
at TestServer. (src/testServer.ts:105:29)
at Generator.next ()
at /home/vsts/work/1/s/packages/office-addin-test-server/src/testServer.ts:9:71
at new Promise ()
at __awaiter (src/testServer.ts:5:12)
at /home/vsts/work/1/s/packages/office-addin-test-server/src/testServer.ts:102:63
at new Promise ()
at TestServer. (src/testServer.ts:102:16)
at Generator.next ()
at /home/vsts/work/1/s/packages/office-addin-test-server/src/testServer.ts:9:71
at new Promise ()
at __awaiter (src/testServer.ts:5:12)
at TestServer.startListening (src/testServer.ts:99:16)
at TestServer. (src/testServer.ts:54:31)
at Generator.next ()
at fulfilled (src/testServer.ts:6:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5)

Thanks. I'm able to reproduce this locally. Will run tests for all packages from now on.

/Azurepipelines run

@igor-ribeiiro could you re-run the pipeline, please?

/Azurepipelines run

Unfortunately, i do not have Azure to run tests there, but i think i've managed to build a docker image which matches the VM used for testing. All tests are now green on my local system and within the docker container. Could you rerun the pipeline again @igor-ribeiiro. Thanks for your support.

/Azurepipelines run

Unfortunately, i do not have Azure to run tests there, but i think i've managed to build a docker image which matches the VM used for testing. All tests are now green on my local system and within the docker container. Could you rerun the pipeline again @igor-ribeiiro. Thanks for your support.

Sure, you can always ping me to rerun the pipelines. Thanks for contributing!

Would be really nice to get the failed output of the test as contributor. It took me quite some time to setup an Azure account including billing etc to replay the pipeline. As far as i can see the tests should all be green, at least they were on my pipeline. I've used the same image as you do, the only problem i could find is that the default timeout (2000) was to low to start the server.
@igor-ribeiiro can you give it another try?

/Azurepipelines run

Would be really nice to get the failed output of the test as contributor. It took me quite some time to setup an Azure account including billing etc to replay the pipeline. As far as i can see the tests should all be green, at least they were on my pipeline. I've used the same image as you do, the only problem i could find is that the default timeout (2000) was to low to start the server.
@igor-ribeiiro can you give it another try?

I do agree, I think it would be very useful for the contributors to see the test results, I will raise that question with my team to see if there's a way


removed checksum property

Not sure removing the checksum check is a good id actually. Was it totally removed in your other PR? I think I may have missed that. Isn't there a serious security issue with not checking the checksum?
Though it is convenient to not have to add the checksum when adding new versions in the repository.json  so it would be nice to skip that.

My understanding from checksums is, that we checksum somthing when it is downloaded.
Your implementation mixed a kind of integrity checks with has-version-changed tests. The implementation calculated checksums of extracted files/directories to detect if it is different from current specified version. So the checksum is a bit misused and redundant to the specified version information.
Hope I made it clear. My conclusion was the best is to remove that entirly.

Hm I think you may be right. Good! Then removing it wont create at least a new issue.


CApath is not set anymore in 8.11.1

Until version 8.11.1, curl was compiled with ca-path set to /etc/ssl/certs: https://github.com/curl/curl-container/actions/runs/11700739500/job/32585349804#step:8:4844, but it isn't the case with 8.11.1: https://github.com/curl/curl-container/actions/runs/12272458759/job/34241246041#step:8:4848.

The relevant piece of code in curl seems to be: https://github.com/curl/curl/blob/6eb86e428d96288c57661f85a798fa8fbc6bd95e/acinclude.m4#L1186. It does not appear to have changed.
I do not get how the following check passed for 8.11.0:
ls "$a"/[[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]].0

Ah, I think I found it: https://gitlab.alpinelinux.org/alpine/aports/-/commit/8be9a640624fc5e8d106cb72944ec5b986a503d5
This change in alpine made curl depend only on ca-certificates-bundle and not ca-certificates.
ca-certificates-bundle only ships a minimal set of certificates:
$ apk info -L ca-certificates-bundle
ca-certificates-bundle-20240705-r0 contains:
etc/ssl/cert.pem
etc/ssl/certs/ca-certificates.crt
etc/ssl1.1/cert.pem
etc/ssl1.1/certs

While ca-certificates ships many more files, including some that match the /etc/ssl/certs/[0-9a-f]{8}.0 regexp.

Should ca-certificates be added as an explicit build dependencies?
Or maybe the check in curl should be reworked to also match a single ca-certificates.crt? Maybe even any file? I could not find a reasoning in the git history for why the check was written this way in the first place: https://github.com/curl/curl/commit/86cbb23282bee426439fc969d09a462acac0abe9.

It looks as though alpine switched curl to use a single certificate bundle rather than a directory full of certificates (ie capath). The latter definitely has more files, it probably has a file for each certificate that's in the bundle. If the bundle isn't working the same as the directory then I'd take that up with alpine.


refactor: change namespace 'null' to 'nulltransport'

'null' is a reserved keyword as of PHP version 7.0 and should not be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
Namespaces are replaced everywhere, including autoload. Unit tests are running as before.

Thanks for your pull request! We love contributions.
However, this repository is what we call a "subtree split": a read-only copy of one directory of the main enqueue-dev repository. It is used by Composer to allow developers to depend on specific Enqueue package.
If you want to contribute, you should instead open a pull request on the main repository:
https://github.com/php-enqueue/enqueue-dev
Read the contribution guide
https://github.com/php-enqueue/enqueue-dev/blob/master/docs/contribution.md
Thank you for your contribution!

Thanks @makasim , I'll read the guide and will form the enqueue-dev.


Replace obsolete Haskell code with Haskell NG

This commit removed the old Haskell infrastructure in lieu of the next generation code. See https://github.com/NixOS/nixpkgs/issues/4941 for an overview of existing NG documentation. The posting http://lists.science.uu.nl/pipermail/nix-dev/2015-January/015591.html, in particular, contains helpful instructions on how to migrate.
Test builds will run at http://hydra.nixos.org/jobset/nixpkgs/pr-7465.

:+1: Glad to see we're getting ready to switch!

:+1:

@peti

@peti do you also plan to update nixpkgs manual with some documentation (and delete stuff from wiki)?

Yes, I'll document the new code as part of this PR. We really need a manual for this stuff.

\o/

Must 'cabal2nix' be modified to use this?

@robinbb, haskellngPackages.cabal2nix refers to version 2.x of the tool, which generates expressions suitable for use with Haskell NG.

Excellent. Works for me! Thank you, @peti.

+1 Very nice job! Good decision.

The patch set is complete and has been tested. I'll merge soon, probably in the first couple of days in May.

:beers:

@peti can we now disable haskell-updates job on hydra?

@domenkozar, that job provides binaries for our users. We can remove it if we build those binaries as part of release.nix instead.


refactorizando codigo

Hello @EdinsonRequena! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file algoritmos-y-poo-python/modulo_V/complementos/01morral-mi-aporte.py:

Line 20:80: E501 line too long (85 > 79 characters)


Split ObjectState into utilities and storage implementations

ObjectState used to both store object data and the perform the functionality to mutate it.
Now, to facilitate different behavior between single-instance mode and unique-instance mode, ObjectState simply contains the mutation behavior, independent of how it's stored.
This PR introduces SingleInstanceState and UniqueInstanceState, storage layers that are directly accessed by ParseObject, and use ObjectState as a utility.
This change is chiefly to prevent the memory leaks reported in #111
Essentially, there are 4 pieces:

Isolation of ObjectState into utility functions that have their data sources passed in
Implementation of SingleInstanceState and UniqueInstanceState
Reimplementation of tests for both of these storage systems
Branching of ParseObject logic to interact with one or the other

I'll be adding more tests, but things look good for now.

Final code piece for #136

This change also brings ObjectState and the two State implementations to complete code coverage in unit tests.

Just tried allocating 10MM objects with UniqueInstanceState while profiling node, watched it continually GC and recover memory :D

w00t
On Mon, Jan 11, 2016 at 2:40 PM Roddy Lindsay<EMAIL_ADDRESS>wrote:

[image: woohoo]
https://cloud.githubusercontent.com/assets/1270126/12248899/47cd82a2-b871-11e5-835b-82a4776697f4.png
—
Reply to this email directly or view it on GitHub
https://github.com/ParsePlatform/Parse-SDK-JS/pull/164#issuecomment-170714553
.

cc @hallucinogen and @wangmengyan95 for review as well

So, we could probably abstract everything away and make this a controller, but one of the core reasons that ObjectStore exists, and why single-instance mode is addressable by a className + ID mapping, is to eventually publicize APIs that provide functional access over Parse Objects (a la Parse+React) without requiring any new code. Whether we consider the idea of SDK modularization or not, I like to think that it would be possible to build a reasonable lightweight application with just a Store, ParseOp, and RESTController.
I also recognize the value of shared interfaces, so here's what I think we should do. Rather than make the first argument a ParseObject (pulling in unnecessary dependencies), it should be an object that implements the interface { className: string, id: string }. Since a Parse Object implements this interface, we can always pass it as the first argument.

Continuing... another possible option is to replace the way we use _getStateIdentifier. Right now it returns the object ID; what if we used it to return the object I mention above instead?
In single instance mode, it returns an object of the shape { className: string, id: string }. In unique instance mode, it returns the ParseObject itself.
This is my favorite approach thusfar

This is going to be confusing, since the JS SDK is one level deeper than the other SDKs:

JS ParseObject
JS ObjectState == Android/iOS/.NET ParseObject
JS UniqueInstanceState/SingleInstanceState == Android/iOS/.NET ParseObject.State

Does ParseReact publicize ObjectState directly? If not, it'd be great if we can rename things to make it less confusing moving between codebases.

ObjectState is not documented, so we can rename things. I'd support renaming it, since it's really a set of state modifiers, not the state itself anymore.

So, we could probably abstract everything away and make this a controller, but one of the core reasons that ObjectStore exists, and why single-instance mode is addressable by a className + ID mapping, is to eventually publicize APIs that provide functional access over Parse Objects (a la Parse+React) without requiring any new code.

It's still possible to eventually publicize APIs that provide functional access over ParseObjects (a.k.a publicize our current ObjectState) while still abstracting the State store. IMO, it's even more powerful if we abstract it as controller (and the API will allow people to build localStorage based State store! #randomidea #dontmindthis).
I agree with passing _getStateIdentifier.

Maybe ReactObject instead and ObjectState and Single(Instance)ObjectState?

Object State is now controlled by ObjectStateController, and swappable like any other controller. This should be good for expandability.
Also renamed ObjectState to ObjectStateMutations, since it's now a set of standardized mutation functions, and does not affect any state.

Really like the extensibility now with ObjectStateController.

Loving it! One question though

I'll let @hallucinogen give the green light on this one.

Boomdone. Really missing phab macros right about now

LGTM. One last nits, but accepting anyway.

tyvm


在GitHub上丢中国人的脸吗？


Add the ZFS Test Suite

Add the ZFS Test Suite to the list of tests.  This may require applying some of the changes made in zfsonlinux/zfs#3578.  Specifically, we should disable all tests which are currently failing until they can be inspected.

Done!  The ZFS Test Suite is now running and is part of the ZFS source tree.


Update luis model

Codecov Report
Patch coverage has no change and project coverage change: -0.96 :warning:

Comparison is base (7ed78c3) 32.84% compared to head (dbf6bf5) 31.88%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #573      +/-   ##
==========================================
- Coverage   32.84%   31.88%   -0.96%
==========================================
  Files          76       78       +2
  Lines        2128     2192      +64
==========================================
  Hits          699      699
- Misses       1429     1493      +64

Impacted Files
Coverage Δ

....EmployeeFinder/SSW/SophieBot/Entities/Projects.cs
0.00% <0.00%> (ø)

...ot.DataAPI.Client/SSW/SophieBot/PeopleApiClient.cs
0.00% <0.00%> (ø)

....DataSync.Domain/SSW/SophieBot/Projects/Project.cs
0.00% <0.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


 Currently i only have LFS files which are 3 days old. And 3 days ago i manually run the Garbage Collection for all repositories and Garbage Collection LFS pointers.
I now reproduced this issue with setting the config as follows for that task and uploaded some lfs files an hour ago.
[cron.gc_lfs]
OLDER_THAN = 1h
LAST_UPDATED_MORE_THAN_AGO = 1h

All LFS Files are gone again. And the Log looks not to be conclusive at all...
The Admin pannel shows that the task was done at 12:11:43 and i see the gc_lfs but there is not more than that.
Gitea Version
1.21.11
Can you reproduce the bug on the Gitea demo site?
No
Log
2024/06/06 12:11:43 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/events for <IP_ADDRESS>:56594, 200 OK in 14976.7ms @ events/events.go:18(events.Events)
2024/06/06 12:11:43 ...rvices/cron/tasks.go:152:GetTask() [I] Getting gc_lfs in &{{0 0} gc_lfs 0xc000918740 0x24a6980    0 0001-01-01 00:00:00 +0000 UTC}
2024/06/06 12:11:43 ...eb/routing/logger.go:102:func1() [I] router: completed POST /admin for <IP_ADDRESS>:56634, 303 See Other in 6.0ms @ admin/admin.go:141(admin.DashboardPost)
2024/06/06 12:11:43 ...eb/routing/logger.go:102:func1() [I] router: completed GET /admin/monitor/cron for <IP_ADDRESS>:56634, 200 OK in 23.1ms @ admin/admin.go:175(admin.CronTasks)
2024/06/06 12:11:43 ...eb/routing/logger.go:102:func1() [I] router: completed POST /api/actions/runner.v1.RunnerService/FetchTask for <IP_ADDRESS>:46962, 200 OK in 60.9ms @ <autogenerated>:1(http.Handler.ServeHTTP-fm)
2024/06/06 12:11:45 ...eb/routing/logger.go:102:func1() [I] router: completed POST /api/actions/runner.v1.RunnerService/FetchTask for <IP_ADDRESS>:46962, 200 OK in 55.4ms @ <autogenerated>:1(http.Handler.ServeHTTP-fm)
2024/06/06 12:11:47 ...eb/routing/logger.go:68:func1() [I] router: polling   GET /user/events for <IP_ADDRESS>:56634, elapsed 3610.7ms @ events/events.go:18(events.Events)
2024/06/06 12:11:47 ...eb/routing/logger.go:102:func1() [I] router: completed GET /user/events for <IP_ADDRESS>:56634, 200 OK in 3732.3ms @ events/events.go:18(events.Events)
2024/06/06 12:11:47 ...eb/routing/logger.go:102:func1() [I] router: completed GET /admin/monitor/cron for <IP_ADDRESS>:56635, 200 OK in 18.0ms @ admin/admin.go:175(admin.CronTasks)
2024/06/06 12:11:47 ...eb/routing/logger.go:102:func1() [I] router: completed POST /api/actions/runner.v1.RunnerService/FetchTask for <IP_ADDRESS>:46962, 200 OK in 50.6ms @ <autogenerated>:1(http.Handler.ServeHTTP-fm)
2024/06/06 12:11:49 ...eb/routing/logger.go:102:func1() [I] router: completed POST /api/actions/runner.v1.RunnerService/FetchTask for <IP_ADDRESS>:46962, 200 OK in 52.4ms @ <autogenerated>:1(http.Handler.ServeHTTP-fm)
2024/06/06 12:11:50 ...eb/routing/logger.go:102:func1() [I] router: completed GET /wienand/GIT-lfs-test/settings/lfs for <IP_ADDRESS>:56636, 200 OK in 146.5ms @ setting/lfs.go:42(setting.LFSFiles)
2024/06/06 12:11:51 ...eb/routing/logger.go:68:func1() [I] router: polling   GET /user/events for <IP_ADDRESS>:56635, elapsed 3738.1ms @ events/events.go:18(events.Events)

Screenshots
No response
Git Version
2.42.0, Wire Protocol Version 2 Enabled
Operating System
Windows
How are you running Gitea?
Windows Server: gitea-1.21.11-gogit-windows-4.0-amd64
Database
MySQL/MariaDB

Confirmed that it can be reproduced. The problem arises with gogit enabled editions:

gitea-1.22.1-gogit-windows-4.0-386.exe
gitea-1.22.1-gogit-windows-4.0-amd64.exe


builder: vagrant: introduce Vagrantfile

The contributor can make use of a VM box (arm64/amd64) using the following Makefile rules: vagrant-up, vagrant-ssh, vagrant-halt and vagrant-destroy.
One can override the ARCH env var: make vagrant-up ARCH=arm64
Whether the override will work depends on the availability of online boxes and compatibility of architecture and providers (vbox, parallels).
Tested in Darwin (M1) and Linux (amd64).

I put the environment building logic inside builder/prepare-ubuntu.sh so it can be reused by .github workflows, by instance.

If this change is for a contributor, we should create a markdown file explaining how to use it, giving examples of outputs and on how to obtain a shell and do the needed compilations IMO.

For sure, I'm on this as well. I spent these days running some builds and I realized today that this current proposal has the libbpfgo build broken due to the old version of libbpf and bpftool available in ubuntu 20.04. I was discussing with @grantseltzer that if we should stick with the bpftool requirement, it would be best to compile libbpf and bpftool altogether. BTW I'm changing the Vagrantfile to use 22.04 boxes.

I wouldn't like the "vagrant" experience to be the default (but a complement only), which I think the separate Makefile does.
For me, the default should be a linux box compiling Tracee (and all vagrant recipes in here and in Tracee should be an addendum).

@rafaeldtinoco but wouldn't we mixing things this way? I strongly believe that libbpfgo, in despite of having foundations on Tracee, is now a standalone being. So for sure Tracee could make use of a vagrant environment, but its own.

I would rename builder/prepare-ubuntu.sh to having/specifying it is vagrant related (for other future files not to be confused).

builder/prepare-ubuntu.sh is a loose shell script. It can be reused from a Dockerfile, github workflow etc.

@rafaeldtinoco but wouldn't we mixing things this way? I strongly believe that libbpfgo, in despite of having foundations on Tracee, is now a standalone being. So for sure Tracee could make use of a vagrant environment, but its own.

Sorry, I meant libbpfgo (not Tracee) in my statement.

Sorry, I meant libbpfgo (not Tracee) in my statement.

@rafaeldtinoco Oh, I get it.

I wouldn't like the "vagrant" experience to be the default (but a complement only), which I think the separate Makefile does.

So, do you mean create a separate Makefile (e.g. ./contrib/{Makefile,Vagrantfile}) just for controlling the Vagrant box?


ARROW-3995: [CI] Use understandable names on Travis

LGTM

+1 as well, that's a welcome improvement.

Thanks @xhochy! I see that https://issues.apache.org/jira/browse/ARROW-3803 is getting more urgent. I can work on that later today unless someone else volunteers. The main fragility will be handling the code coverage data and the documentation build


Build CI workflow

We initially didn't have a CI because bdk-android was not available on public repositories, but now that it is we should have a CI that tests on PRs.

Done!


[Provisioning Devices] Access Control - ACL provisioning

Setup ACL on accessories

This should have a "provisioning" label instead of "rendezvous" label. For some reason I can't edit.

Hi what is an accessory? What does this issue mean? Is this about administrators making the ACLs on behalf of the devices on their fabric, so they can operate on their fabric? If so, this issue will have to be assigned to whoever is responsible for those administrators.

I believe this was a catch-all bug per features, however specifically for ACL we have separate tracking at the moment and this bug is not needed. Closing.


Problem while terraforming operator

Hi all,
I am currently working on terraforming the oneagent operator for my company.
The operator should run on a k8 cluster within the google cloud.
Everything works quite good, until it comes for the dynatrace-oneagent-operator pods to start up.
I can see in the logs that it fails with the message:
{"level":"error","ts":1556615172.9516454,"logger":"cmd","msg":"","error":"could not locate a kubeconfig","stacktrace":"github.com/Dynatrace/dynatrace-oneagent-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/Dynatrace/dynatrace-oneagent-operator/vendor/github.com/go-logr/zapr/zapr.go:128\nmain.main\n\t/go/src/github.com/Dynatrace/dynatrace-oneagent-operator/cmd/manager/main.go:52\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:198"}
this lead me to https://github.com/Dynatrace/dynatrace-oneagent-operator/blob/master/cmd/manager/main.go#L50
and from there to https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/client/config/config.go#L78
(at least if I read this code correctly)
So if I get this right I need a kubeconfig.
So I tried two things:

create a kube config within terraform like this:
resource "null_resource" "kube-config" { provisioner "local-exec" {   command = "gcloud config set project ${var.project_id}  &&  gcloud container clusters get-credentials ${var.k8s_cluster_name} --zone ${data.google_container_cluster.k8s-cluster.zone}" } }
create a environment variable KUBECONFIG that points to  ~/.kube/config

But this does not help unfortunately.
I still get the error I mentioned above.
Do you have any advice for me?
Thanks a lot & best regards
Anna

Hi Anna.
Did you create the service account correctly? We use the built in mechanism, to connect to the API server. More importantly the config is used within the operator pod, so having the kubeconfig locally won't help.
Let me know, if that helps.
Best,
Markus

Hi @esukram
thanks a lot for your quick answer! :)
Service accounts are created correctly (I suppose):
/workspace/kitchen # kubectl -n dynatrace describe serviceaccounts dynatrace-oneagent
Name:                dynatrace-oneagent
Namespace:           dynatrace
Labels:              <none>
Annotations:         <none>
Image pull secrets:  <none>
Mountable secrets:   dynatrace-oneagent-token-c4n9r
Tokens:              dynatrace-oneagent-token-c4n9r
Events:              <none>

/workspace/kitchen # kubectl -n dynatrace describe serviceaccounts dynatrace-oneagent-operator
Name:                dynatrace-oneagent-operator
Namespace:           dynatrace
Labels:              <none>
Annotations:         <none>
Image pull secrets:  <none>
Mountable secrets:   dynatrace-oneagent-operator-token-mcwh7
Tokens:              dynatrace-oneagent-operator-token-mcwh7
Events:              <none>

Do you have any suggestions on how to actually bring the kubeconfig to the pods?
Best regards,
Anna

Hi Anna,
Is the pod configured to use it? There is a serviceAccountName entry on the deployment's pod template that should make the Operator pod to use that service account.
Best regards,
Luis

Hi @lrgar
yes it is :)
within the deployment description I specified the service account name like this:
# ... some stuff before goes here
        node_selector {
          "beta.kubernetes.io/os" = "linux"
          "beta.kubernetes.io/arch" = "amd64"
        }
        service_account_name = "dynatrace-oneagent-operator"

Best regards,
Anna

Sure thing ;)
Usually there is no need to pass a kubeconfig into the pods. This should be done by specifying service accounts for the pods. This standard K8s behavior:
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/client-go/rest/config.go#L399
Is anything blocking - like istio being deployed - HTTPS access to the K8s API? You can use curl and the secrets under /var/run/secrets/kubernetes.io/serviceaccount.
Best,
Markus

Hi @kaefferlein
Is there anything we can help you with?
Markus

Closing for inactivity. If there are further issues, please create a Dynatrace support ticket.

@kaefferlein Did you resolve this issue? We are running into the same error on Openshift 3.11. Via Curl inside the Operator Container there is no problem to make an http request to the API Url.

@movertaker can you please describe your environment in more detail? Like networking settings/add-on, security / firewall rules etc...?
Thx

I had the same issue, and for me the solution was to set on the pods and the service account
the property automount_service_account_token = true.

I had the same issue, and for me the solution was to set on the pods and the service account
the property automount_service_account_token = true.


Fixed model blend documentation based on feedback

Fixes #76

Great, thank you! Feel free to merge when you are happy


Tests

Pull Request Test Coverage Report for Build 260

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+5.8%) to 83.64%

Totals

Change from base Build 257:
5.8%

Covered Lines:
910

Relevant Lines:
1088

💛  - Coveralls


Towards the continuum scale

As part of the Simulation Workflows in Materials Modelling (SWiMM 2021) Workshop precice is presented as a tool to couple fenics and openfoam so that might be an interesting extension for pyiron as well. The precice tutorials takes place next week Wednesday March 24th to 26th 2021 - three sessions with 45 minutes each. The workshop registration is still open in case that is interesting for you @muh-hassani , @Ahmed-Aslam  and @liamhuber .

Thank you @jan-janssen.

thanks @jan-janssen. If I can register, I will take part in it definitely.

This month is already pretty packed for me, but I appreciate the heads-up!


fix violin chart and procedure bugs

[x] Fix the medium bug on the violin plot, when added to heat map with division.
[x] Cost chart not changing with procedures.

I hope the rebase worked?


Problem with signatures similarity

The function to calculate the similarity of two signatures cannot be symmetric if we use the % instead of the Jaccard because the signatures might have different lengths
for i in range(n):
for j in range(i, n):
intersec = len(np.intersect1d(signatures_dict[signature_names[i]], signatures_dict[signature_names[j]]))
if show == 'J':
union = len(np.union1d(signatures_dict[signature_names[i]], signatures_dict[signature_names[j]]))
similarity = intersec / union
elif show == '%':
similarity = round(100 * intersec / len(signatures_dict[signature_names[i]]), 2)
        similarity_matrix[i, j] = similarity_matrix[j, i] = similarity

Should we do something like:
elif show == '%':
perc_i_j = 100 * intersec / len(signatures_dict[signature_names[i]])
perc_j_i = 100 * intersec / len(signatures_dict[signature_names[j]])
similarity = round((perc_i_j + perc_j_i) / 2, 2)
?

The function has been changed to iterate over each couple of signatures


CSS Tidy minifier not work

just for fun i have switch the minifier from "Default" to "CSS Tidy" and the result is a total disaster.
the problem is "CSSTidy" version is really outdated and not support new css 3 rules.
the "Default" minifier works well. In my opinion we can remove "CSS Tidy" or update at new version, but the best is simple remove the choise.

A few weeks back i found an updated version of CSSTidy and it seemed to work on a brief test.  Though i did not check it against css3 rules.  The intent was to replace the old CSSTidy with this new one if it fully worked.
The new version has the same files names and can replace the same 4 files inside lib/CSSTidy.  Give it a try and see if it solves the css3 problem.

I also found a JSMin replacement since its very old and the author even admits it needs replacing.  I found JShink but i will have to do some code tweaking to get it to work with w3tc.

Great! :D

I should be able to get the new CSSTidy  PR'ed later today.  I am just looking through the code and notice some new features in the latest that i am attaching to w3tc.

And also htlm minifier is outdated and break new html5 code.

CSSTIdy is now updated to the latest :bowtie:  Hopefully it resolves the CSS3 issue.  It claims to fully support it.
These are the default setting what fresh installers -- no existing config file exists -- will see.

Now it's just: JSMin or HTML Tidy ... haven't decided which to tackle next.

WOW!!! great work! any plans for update the other minifier (HTML, JS)? i have totally wasted my time today for integrate new unit testing for advanced cache :D at the end i have rage-closed the pr

Yup, will look into HTML and JS soon too. :blush:

tested! really great work!
in my opinion, the better settings for the max speed during the css minification (and avoid too render blocking) are:

Curious @nigrosimone  , should i make your settings the defaults instead?  The original defaults were what w3tc had so i didnt modify them.  They aren't the most favorable for speed so i'm open to change them to be more like your settings.   I notice though from your settings the biggest difference in speed would be to change the Compression from "Standard" to "Highest".  Should i just change the Compression to Highest and keep the remaining defaults?
Cheers
Kimberly :octocat:

The worst setting for speed is "optimize shorthand" because it iterate on each css rule,  for this the better is "don't optimize". the others have a minimal impact but at the end my settings are good for minize and speed.
Side note you also uncheck remove space before important.

Thanks.  Sounds good.  I will modify the defaults to reflect those.


Live Share support in other languages

We are already getting questions about when our language extension (PowerShell) will support Live Share - given that the initial preview supports only Node and ASP.NET/C#.
Is there anything we can tell folks?  Will every language extension have to implement support for LiveSharing or is this something completely taken care of by VSCode and VSCode will handle the expansion of LiveShare to other languages?

Since Live Share goes across editors and IDEs, there is no clear cut here. Some aspects we can take care off transparently while others will need work on the extension side.

We worked with the LiveShare team on a model that allows them to support pretty much any language.   Thus, I'm closing this as there is nothing else for us to do here. All remaining questions/requests should go directly to the LiveShare team.


[FLINK-26405] Improve the check of HA mode

Use HighAvailabilityMode.isHighAvailabilityModeActivated() to improve the check process of HA mode
This PR is a followup of #29

Sorry for bothering you guys again  @wangyang0918 @gyfora .

Looks good to me but I have kind of lost my self-confidence 😄

Hmm... My bad.


Changes

@ticktackk Any reason you've dumped a bunch of files under upload/js/sv/ These files don't get caught by the standard XF build environment.


handle file change errors in logs

Not exactly sure which repo to open this in, but this seemed maybe the best?
I have this error
10:13:19.751 - skills - ovos_utils.file_utils:on_any_event:383 - ERROR - An error occurred handling file change event callback
Traceback (most recent call last):
  File "/home/ovos/.local/lib/python3.9/site-packages/ovos_utils/file_utils.py", line 381, in on_any_event
    self._callback(event.src_path)
TypeError: _handle_filechange() takes 1 positional argument but 2 were given

Whenever I make a change to my manually installed skills. Digging around, I think it's because this is invoking the callback with the changed file path, but the callback being passed in doesn't take an argument

Just confirmed that when I change https://github.com/OpenVoiceOS/OVOS-workshop/blob/V0.0.12a30/ovos_workshop/skill_launcher.py#L387 to accept an unused variable, the errors go away and the skill is reloaded


NavMenu style error on mobile

When triggering the functionality on mobile in NavMenu.vue, the style remains as it is hovered.

It seems to be due to the difference between touchstart and click. Is it necessary to handle compatibility of the two event ?

https://user-images.githubusercontent.com/25154432/186174476-17ecfcd0-4ef6-4b97-8246-7578427b7b2a.mov
I don't think it's a bug.

I want to make an app-like bottom navigation to replace it.

I don't think it's a bug.

It depends on the individual. I just think someone may be confused with the different behaviors. 🤣

My damn English... 🤣
What I mean is that whether it is a bug or not depends on the user.
For me, I don't think it is a bug, but I think if it has the same behavior on different devices, it will be better.

I want to make an app-like bottom navigation to replace it.

Look forward to what you will make. 😄


[ROS2] Behaviors should set node in setup not __init__

Currently, all the behaviors we developed that take in a ROS node take it in as an argument to __init__. On the other hand, all py_trees_ros behaviors take the node in as a kwarg to setup(). This issue is to move all our behaviors to take in the node during setup, to unify it with py_trees_ros

Fixed for ComputeFoodFrame in https://github.com/personalrobotics/ada_feeding/pull/114


photon boundary condition / RSA

As discussed in #44 by @jmsull, we appear to need something like CLASS's RSA to avoid unphysical oscillations from reflections off the boundary condition.
CLASS paper II has a description in the synchronous gauge, and Doran+05 has a similar approach for the Newtonian gauge. Taking the equations from Doran is the lowest effort option (no need to transform any variables), but I definitely need to read these papers in more detail.

I tried the Newtonian RSA as it is implemented in CLASS, and I think once it is working it will do something that is not totally wrong (late-time photon/ur huge oscillation are gone), though I still need to iron out some details. However, I am running into a technical issue with DifferentialEquations.jl, which is probably just due to my lack of experience with these tools, but I will describe it below (I know @xzackli may still be busy as mentioned, but maybe @marius311 has some advice as well).
For RSA I use the (default CLASS) two-condition conformal time switch (one on decoupling involving \eta \tau' and one on the mode k \eta) such that after this time no photon or ur ODEs are evolved. Instead, the relevant components of u (\Theta, \scrN) are simply supplied algebraically according to the RSA equations. This all seems to work fine internal to the hierarchy!() call in perturbations.jl.
However, it seems u is discarded at every timestep, and the values of \Theta, \scrN are incremented by the solver using the value of du and the timestep (as usually we would want for the hierarchy). So for all times after the RSA switch, the actual outputted result by the solver for \Theta, \scrN is total garbage, even though internally it would seem things are working fine (print statements and other perturbation variables look okay). This would not be a problem if we could just save u, but this doesn't seem possible in DifferentialEquations.jl in the way we are using it currently.
I looked around in the docs, and it seems you can, for example, use saving callbacks to save u at specified steps. But this requires the integrator to descend somehow from the DEIntegrator of DifferentialEquations.jl, which the current PerturbationIntegrator @xzackli defined in perturbations.jl does not appear related to(?). Similarly, if we were using the DEIntegrator functionality we might also query the timestep internally and back out the necessary du to get the u we want (though this is not ideal obviously).
I guess my question is, is there some way to easily get the algebraically-supplied u to be returned properly as the final result of the solver, or is the next step to tie PerturbationIntegrator to the DEIntegrator so we can use callbacks to get u?

I have (clunkily) figured this out for now (212824d) - the perturbations evolve using the RSA equations after the RSA switch is triggered, but the u that comes out of this is not right for the massless species. I wrote a separate function rsa_perts!() that takes as input the evolved perturbation vector and returns the RSA expressions for the massless perturbations (which were being evolved anyways).
For now I have wrapped this in an rsa_boltsolve() function, which is just boltsolve but with the extra step of rsa post-processing described above so the user gets out a vector u that is correct and incorporates RSA.
Closing this since things seem to work - will put some plots in the PR.


godep: bump the version of rkt to v1.2.0

Until a consensus is reached on moving to glide, I'd like to bump the appc version (which required bumping the rkt version) used by acbuild. This allows for apps with an empty exec statement.

Build broke

Fixed the build. Apparently I need godep go build now instead of go build.

Eurgh. Instead, set GOPATH: https://github.com/appc/spec/pull/578/files#diff-b0da275520918e23dd615e2a747528f1L13

Also if you're going to unrewrite paths too (which I think is probably a good idea at this stage), please add something to the commit message to that effect (or split it into two commits)

Tweaked the commit message, and decided to mess with the build/test scripts while I'm here.

Can't actually review the important changes, thanks github :-(

The big change in the build/test scripts is this:
https://github.com/appc/acbuild/blob/1beb799d4e93c4ee9860156e03405cf7b2c49357/build#L6

if it works, ship it


Couldn't find preset "airbnb" relative to directory

hello guys ,
firstly i wanna thank you for the amazing library , the problem is when i tried to use it it shows me this error and i can't figure out where the problem is !

Hi, I had this too! Turns out I had to add babel-preset-airbnb to my package.json in the dependencies and rerun npm install.
Cheers

I'm also getting this exact error, tried @AlexDM0 fix, but didn't resolve it for me. Any other suggestions for this one?

So you have babel-presets-airbnb in your node_modules folder? Odd, that should fix it...

Sadly so, and sadly for me - no go :(

Perhaps I'm missing a step here, do I need to install the Lottie iOS project separately? All I've followed are the instructions for getting up and running using React Native.

A better way is remove .babelrc in deline (Ignore at publish), it looks unnecessary in a npm package.

@nextriot Yes, for me it was necessary. Take a look at #19. It seems to have issues with RN 0.40 though (#24).

Tried removing .babelrc also to no resolve. And as far as the link to issue 19, all of those steps are already produced correctly, nothing to change there. I'll report back if there's a fix at any point.

See https://github.com/airbnb/deline/pull/6#issuecomment-277010054.
.babelrc is both necessary, and in many npm packages. This flaw in the RNP should be worked around with a postinstall script in your app that removes all babelrc files in node_modules, not making PRs to the thousands of packages in the ecosystem that publish a babelrc file.

@ljharb I'll bring this up to the RNP team, in the meantime could we either fix deline or remove this dep (it's used once).
As far as I'm concerned this is the only package out of thousands that cause this issue as most of them that had this issue were fixed by not publishing .babelrc when RNP started having this behavior.

@janicduplessis i already have: https://github.com/facebook/react-native/issues/10966

The current behavior of RNP is more or less like the raw case of your proposal (runs babel while considering .babelrc). In that case would it makes sense to move babel-preset-airbnb to deps instead of dev deps so it is installed, knowing it will be used since .babelrc is published?

In the world where RNP handles that behavior, they'd have to install the dev deps of all the packages as well - it wouldn't be a dev dep for normal usage.

adding this line "babel-preset-airbnb": "^2.1.1" to my dependencies in my package.json worked out for me but when i tried to run an animation nothing appears at all!

from what i've seen , a lot of folks been having the same build failure as me ! here's a screenshot of the error

Same here

@farid-neopixe @dhwrwmgwra This is related to #12. Please move discussion of those errors to that issue thread. (Will try and fix ASAP).

I would still like to figure out a solution that doesn't make everyone have to install an extra dep or add a postinstall script Since changes to RN packager to properly handle .babelrc files are still far off.
Some ideas:

remove deline
add babel-preset-airbnb to lottie-react-native deps
document that you have to also install babel-preset-airbnb in lotties installation docs (less ideal)
dont publish .babelrc in deline (at least temporarly)

Add this to postinstall hook
(find node_modules -type f -name .babelrc | grep -v /react-native/ | xargs rm) || true
As noted in https://github.com/airbnb/react-with-styles/issues/30 thread.

I think documenting the postinstall script is the best approach.


Better error messages with async/await

async function f () {
  let [res] = await k()
  console.log(res.status)
}
async function k (): Promise<[?Object]> {
  return [null]
}

will get this strange error message:
let [res] = await k()
                       ^ Cannot call await with `k()` bound to `p` because an indexer property is missing in `Promise` [1].

    References:

    5: async function k (): Promise<[?Object]> {
                            ^ [1]

But if I change the function order:
async function k (): Promise<[?Object]> {
  return [null]
}
async function f () {
  let [res] = await k()
  console.log(res.status)
}

the message is ok:
console.log(res.status)
                     ^ Cannot get `res.status` because property `status` is missing in null or undefined [1].

    References:

    1: async function k (): Promise<[?Object]> {
                                     ^ [1]```

I'm getting the same problem and oddly doing await await seems to work -- but I don't think that should be right. (If you do that in your example above, it works.)

I often have such error and I don't always able to find solution. It's very badly that this bug exists already long ago and developers don't try to fix it. I more and more think to look to Typescript.

@MrEfrem I have rewritten my app with typescript. it is much better than flow.

@weijarz It's not. It just better fits your needs.

@TrySound ok, I really want to give chance flow. But sometimes I can’t understand how it works and why I've an error. Have you got information how then to debug flow in thouse cases when an error message not enough?

I would find the problem with binary search and rise an issue in this repo. Flow team is more active last few weeks so you will get a response and eventually a fix.

@TrySound I created an issue: https://github.com/facebook/flow/issues/7464

Same error than @weijarz, thanks @scottstraley for your temporary hack.

so what's the status with this issue? Is the suggestion that we use this "temporary hack" with await await?

Error message is much better now


important: user instance is not equal to itself

comparing any user instance to iteself will return false, which is breaking other extensions like sqlalchemy wtfroms which cannot validate that a user is equal to the user choices.
example code that breaks
a = User.query.first()
if a == a:
    print("everything is good, they are equal")
else:
    print("under no circumstances should python objects not be equal to themselves")

result: "under no circumstances should python objects not be equal to themselves"
apparently the __eq__ override is broken, since it does not use the primary key.
this is in my opinion a issue that will force me to not use flask-user in the future

flask user is not really maintained since the start of 2020. If you have an application that uses flask_user and you can't replace flask user with flask login I would recommend you to use a custom UserManager with a custom User class.
Though for the user object specifically a simple workaround like a function that compares the attributes should be enough.


Implement simpler Mesa-Geo namespace

What's the problem this feature will solve?
To be consistent with the simple namespace from Mesa.
Describe the solution you'd like
See https://github.com/projectmesa/mesa/pull/1294.

Closed via https://github.com/projectmesa/mesa-geo/pull/115.


README: Fix secret, create namespace

Now that the charts are installed in studio namespace, the docker-registry secret needs to be there too (otherwise referencing it the way we do doesn't work, and it should be there anyways).

creating namespace manually first
modifying secret creation command
Adding pycharm metadata dir to gitignore 😃

Updated the PR title so that we can start having a consistent format for README changes in the changelog


Deploy Multicall3 on SEI EVM Mainnet

Chain Name
Sei Network
Chain ID
1329
RPC URL
https://evm-rpc.sei-apis.com
Block Explorer URL
https://seitrace.com
Deployment Funds
Yes

@mds1
There is a PR to add the Sei Network mainnet EVM chain to ethereum-lists:
https://github.com/ethereum-lists/chains/pull/5157
Thanks!

Done, thanks!


Hamburger's HOME button has broken behaviour in PWA flavor

Steps to reproduce:

Scroll down in Codepen's demo, until 'Hamburger's button is visible
Click on the 'Hamburger's button and press the 'Home' button. Focus moves to the beginning of the page
Press the 'X' button to close the 'Hamburger's window and the current focus is returned in last known position before 'Home' being pressed. In this case focus returns (page is centered) on the 'Hamburger's button

Browser: Google Chrome 61.0.3163.100 (Official Build) (64-bit), Windows 7 SP1 64bit

This is the desired behavior for two main reasons:

Using <label> elements to toggle a menu like this is exactly how this would behave anywhere. Only alternative is using Javascript, which is not going to happen.
The .drawer and accompanying .drawer-toggle component are mainly meant to be part of a <header> element that has the .sticky class applied to it or is in a positon: fixed kind of situation. In terms of UX, this is the optimal way to use these components in order to not confuse users. In 99% of the use-cases I have seen, this has never been an issue.


Update CloudToolsBundle.properties

The current error message is too long and get cut off.

Thanks @parkjam4 lets merge this in when the checks are done so we can include it in the release

Thanks!


RAINCATCH-570 - update to the new browser api

Motivation
FileError is obsolete and was removed in most recent versions of the mobile browsers:
https://developer.mozilla.org/en-US/docs/Web/API/FileError
This fix removes error I have seen when testing sample app. I did not seen any other errors and rest of the html5 filesystem api seems to be working fine. However Lawnchair library is fairly outdated and it would be better to update it for better future browser support.
ping @david-martin @wei-lee
More information in ticket: https://issues.jboss.org/browse/RAINCATCH-570

After extensive testing I found  problems with adapters version on different browsers:

It would be better to Lawnchair update adapters source code (upstream seems to have much more adapters now. Despite that it looks like it's unmaintained for a year.

It seems that this PR: https://github.com/brianleroux/lawnchair/pull/228/files and recent files from the master would resolve all the problems, but it still seems that this library would not be maintained. Maybe I can investigate replacing storage with something more recent?
@david-martin @wei-lee WDYT?

@wtrocki I think we might want to check if FileError exists first to work with older version of browsers.
If we can find newer version of a library and also maintain backward compatibility, maybe we can look into it. But I am wonder what other benefits we can get from it. There is always the risk of the library may not be maintained anymore. If we are going to use a different one, I think it really should have some other benefits compared the current solution.

@wei-lee Simplified entire code so FileError comment is not actual. In relation to changing library -  I think it's just matter of supporting recent browsers. I see that upstream has lots of PR's with fixes for browser incompatibilities that weren't merged. I couldn't find any issues with storage on my setup but it would be better (and more efficient) to just change to something that is more up to date with standards - especially when we doing extensive testing now.

ping @corinnekrych


[README] update reviewers

This patch update reviewers in README
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1869. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1869-202204011020250.063062906265259-ebccc68c7266d8fe0dc9fb218f25ec544caf9de3/report/misspelling_result.txt.


Update karate-chrome docker image to 1.5.0

Currently ptrthomas/karate-chrome:latest is pointing to 1.5.1.RC1. Should this be updated as part of the 1.5.0 release?

@edwardsph ah this is now under the karatelabs org https://hub.docker.com/r/karatelabs/karate-chrome/tags


Clang static linking

On OS X 10.9 Mavericks, LLVM with clang is now used. This branch adds case logic to the GppLinker implementation to handle clang's incompatibilities with gcc, notably the unsupported -static-libgcc and -shared-libgcc flags.
I am far from a C++ expert, so would appreciate code review here. In particular, I suspect that simply suppressing the -lstdc++-static flag is the wrong solution. (10.9 also uses libc++ instead of libstdc++ now; but -lc++-static also doesn't work...)
Note that the first three commits are merely to support the new isClang() method of GppLinker, which needs to call out to g++ --version to check that. The CaptureStreamHandler previously had an annoying limitation where CaptureStreamHandler.run would return only stderr if it was nonempty—and g++ --version happens to return a mixture of stderr and stdout. So now the execute method provides a way to request stdout specifically, which is what we need here.

Caused by: D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl failed with return code 2
at com.github.maven_nar.cpptasks.compiler.CommandLineCompiler.compile(CommandLineCompiler.java:257)
at com.github.maven_nar.cpptasks.compiler.CommandLineCompilerConfiguration.compile(CommandLineCompilerConfiguration.java:166)
at com.github.maven_nar.cpptasks.CCTask$Core.run(CCTask.java:108)
Anyone knows how to solve the problem?

@kangyz Shouldn't you be posting this as a new issue?


User Profiles - mod dependency handling

torcado — Today at 06:43
[...]
disabling mods through user profiles does prevent those mods from being loaded on start, but it does not manage anything regarding dependencies. I get an error if i have a parent mod disabled and any dependent mods enabled.
I've changed mod_loader/internal/dependency.gd:44 to if not ModLoaderStore.mod_data.has(dependency_id) or not ModLoaderStore.mod_data[dependency_id].is_loadable or not ModLoaderStore.mod_data[dependency_id].is_active: to fix the issue in my case.
[...]

fixed with #367


Generalized QSP

An implementation of Generalized Quantum Signal Processing (arxiv:2308.01501).

Hey @tanujkhattar, could you take a look at this?

What's the status of this? cc @tanujkhattar  ?

Hey @mpharrigan, @tanujkhattar, sorry for the delay, I did not get much time during the week.
So far:

I've implemented symbolic tests to verify the QSP sequence is correct
Tested for random unitaries (sanity check)

TODO:

Need more example polynomials to test against.
Implement the optimization algorithm to compute Q from P

Both these might take a bit of time and effort, so perhaps its better to track this in separate issues/PRs?


Eras in memory

Keep only two full eras in memory in the era supervisor, and one additional era for evidence validation only. See https://github.com/casper-network/casper-node/issues/1915 for details.
Closes https://github.com/casper-network/casper-node/issues/1915.

@goral09: Please double-check the lastest commit; just want to make sure I didn't introduce any bugs with the constants. :sweat_smile:

bors merge

(Failed due to lsof issue. retrying.)

bors merge

bors merge

Bors currently doesn't work with the feat-fast-sync branch. Merging manually.


Added window dimensions for iPhone XS Max and iPhone XR

Motivation
The floating header is not displayed correctly on iPhone XS Max and iPhone XR due to the height being too small. It is displayed correctly however on iPhone X and XS thanks to the IS_IPHONE_X boolean being set to true.

Description of Change
Updated IS_IPHONE_X boolean to now be true for both iPhone XS Max and iPhone XR, in addition to the currently supported iPhone X and iPhone XS.
iPhone X and XS in portrait have a height dimension of 812, while iPhone XS Max and iPhone XR  have a height dimension of 896. This means apps using this library, will scale appropriately on both the iPhone XS Max and iPhone XR with this change.

ugh I can't wait for https://github.com/facebook/react-native/pull/20999 to land so we can stop hardcoding these values.
thanks for the PR!


[BUG] scheduler fatal error with concurrent map read and write

What happened:
Run the latest scheduler with DeviceShare plugin,  sometimes the scheduler will panic.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

App version:
Kubernetes version (use kubectl version):
Install details (e.g. helm install args):
Node environment (for koordlet/runtime-proxy issue):

Containerd/Docker version:
OS version:
Kernal version:
Cgroup driver: cgroupfs/systemd

Others:

/assign @jasonliu747


means of suppressing warnings (but not errors?)

Thank you for your work on IJulia.  This is perhaps more a question than issue: is there a means of suppressing warnings but not errors?
I'd like to suppress nuisance warnings like the one below.  ipython_notebook_config.py contains a directive to suppress STDERR completely :
# c.IPKernelApp.no_stderr = False
StackOverflow also contains a promising hint at http://stackoverflow.com/questions/9031783/hide-all-warnings-in-ipython  -- but it doesn't appear to work with IJulia.
(I'm using Julia 0.2 on 64-bit Windows)
[24]: using Gadfly

before the new definition.
Warning: New definition
    |(NAtype,Any) at C:\Users\keithc\.julia\DataFrames\src\operators.jl:385
is ambiguous with:
    |(Any,SynchronousStepCollection) at C:\Users\keithc\.julia\BinDeps\src\BinDeps.jl:286.
To fix, define
    |(NAtype,SynchronousStepCollection)
before the new definition.
Warning: New definition
    |(Any,NAtype) at C:\Users\keithc\.julia\DataFrames\src\operators.jl:385
is ambiguous with:
    |(SynchronousStepCollection,Any) at C:\Users\keithc\.julia\BinDeps\src\BinDeps.jl:283.
To fix, define
    |(SynchronousStepCollection,NAtype)
before the new definition.

What is the end for this proposition?
I have the same problem until today. I can hidden warning messages at my notebook adding:
display: none in CSS. But when pushed to git the warnings returns because of my local workaround.
Any idea how to solve this?
At the end becomes very incipient to share notebooks. Looks my sample here.

is it solved?  I have the same problem.  With these warnings, the notebook page looks really ugly.

Nowadays, you can easily install a kernel that does suppresses deprecation warnings with
using IJulia
IJulia.installkernel("Julia nodeps", "--depwarn=no")

as explained in the README.  Deprecations are the main source of annoying warnings in typical code.

In fact, I want to suppress all kinds of warnings, including deprecation warnings.

That's an issue for Julia itself.  If the julia executable has a flag to suppress all warnings (currently, it doesn't), then you can use installkernel to set up a kernel with that flag.

Got it. I think this function would be meaningful for some users. Thank you so much!


Can You Open 'burgers_v1000_t200_r1024_N2048.mat'?

Can you open 'burgers_v1000_t200_r1024_N2048.mat'?  I am getting exceptions in Python, Matlab and Mathematica.

Oh sorry, I download the data file and it seems corrupted.
Just uploaded another one. It should work now https://drive.google.com/drive/folders/1UnbQh2WWc6knEHbLn-ZaXrKUZhp7pjt-
Thanks!

Thanks!
Which python program uses 'burgers_v1000_t200_r1024_N2048.mat’?
There’s a comment around TEST_PATH in ‘scripts/spectral_study1d.py’,
however, the file doesn’t have a ‘pred’ attribute.

On Nov 4, 2020, at 10:48 AM, Zongyi Li<EMAIL_ADDRESS>wrote:
Oh sorry, I download the data file and it seems corrupted.
Just uploaded another one. It should work now https://drive.google.com/drive/folders/1UnbQh2WWc6knEHbLn-ZaXrKUZhp7pjt- https://drive.google.com/drive/folders/1UnbQh2WWc6knEHbLn-ZaXrKUZhp7pjt-
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/zongyi-li/fourier_neural_operator/issues/7#issuecomment-721908715, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXWFWYKVIGZDTDABGDKLILSOGOXNANCNFSM4TKJLZZQ.

Please use -fourier_1d.py- for the Burgers equation.
The file -scripts/spectral_study1d.py- is to evaluate the spectral decay. I guess you won't need it.
Thanks!

Thanks! Which python program uses 'burgers_v1000_t200_r1024_N2048.mat’? There’s a comment around TEST_PATH in ‘scripts/spectral_study1d.py’, however, the file doesn’t have a ‘pred’ attribute.
…
On Nov 4, 2020, at 10:48 AM, Zongyi Li @.***> wrote: Oh sorry, I download the data file and it seems corrupted. Just uploaded another one. It should work now https://drive.google.com/drive/folders/1UnbQh2WWc6knEHbLn-ZaXrKUZhp7pjt- https://drive.google.com/drive/folders/1UnbQh2WWc6knEHbLn-ZaXrKUZhp7pjt- Thanks! — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXWFWYKVIGZDTDABGDKLILSOGOXNANCNFSM4TKJLZZQ.

Here do I get these data files?
fourier_2d.py:TRAIN_PATH = 'data/piececonst_r421_N1024_smooth1.mat'
fourier_2d.py:TEST_PATH = 'data/piececonst_r421_N1024_smooth2.mat'
lowrank_2d.py:TRAIN_PATH = 'data/piececonst_r421_N1024_smooth1.mat'
lowrank_2d.py:TEST_PATH = 'data/piececonst_r421_N1024_smooth2.mat'

These are the Darcy Flow equation given in the dataset https://drive.google.com/drive/folders/1UnbQh2WWc6knEHbLn-ZaXrKUZhp7pjt- https://drive.google.com/drive/folders/1UnbQh2WWc6knEHbLn-ZaXrKUZhp7pjt-
Thanks!

Can you open these files:
-rw-r--r-- 1 ubuntu ubuntu   54411264 Feb 14  2020 piececonst_r421_N1024_smooth1.mat
-rw-r--r-- 1 ubuntu ubuntu<PHONE_NUMBER> Feb 14  2020 piececonst_r421_N1024_smooth2.mat

Yes I just downloaded them and I can open them with no problem. It seems you didn't download the full file. Each of them should be approximately 1.6 GB.

Agreed.


Move auto restart to dev profile

Description
Idk if we really want autorestart on normal profile. Thats where dev profile is meant for @derkahless , please check
https://github.com/Josh-XT/AGiXT/pull/425
If we should move it to the other profile.
@Josh-XT might be a good idea to let me also review the PRs regarding docker - one users feature could break another users expectations. And tbh i can't keep up this way. Need a day for review and test.
In the basic mode, docker containers should follow a certain behaviour to not confuse users.
Steps to Reproduce the Bug
see https://github.com/Josh-XT/AGiXT/pull/425
Expected Behavior
Dunno - maybe @derkahless can tell which is the idea behind the autorestart....
Actual Behavior
Dunno - autorestart was added with no exact desc why
Additional Context / Screenshots
No response
Operating System

[ ] Microsoft Windows
[ ] Apple MacOS
[ ] Linux
[ ] Android
[ ] iOS
[ ] Other

Python Version

[ ] Python <= 3.9
[ ] Python 3.10
[ ] Python 3.11

Environment Type - Connection

[ ] Local
[ ] Remote

Environment Type - Container

[ ] Using Docker
[ ] Not Using Docker

Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of AGiXT.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

Not having this setting seemed like an oversight and is for bettering the user experience by restarting the app if it crashes instead of forcing users to go manually restart it. Am I understanding correctly? If so, any reason this should be changed?

In my opinion its better to have. BUT there is a chance to be trapped in a loop somehow if the container is crashing everytime and docker is trying to restart it.

Not having this setting seemed like an oversight and is for bettering the user experience by restarting the app if it crashes instead of forcing users to go manually restart it. Am I understanding correctly? If so, any reason this should be changed?

There is different restart strategies. The correct one should be picked for dev and running and prod envs (last one is out of scope for here)


Short solution needed: "How to access docker image localhost" (docker)

Please help us write most modern and shortest code solution for this issue:
How to access docker image localhost (technology: docker)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to access machine localhost from docker image


[SPARK-37074][SQL] Push extra predicates through non-join

What changes were proposed in this pull request?
In the Optimizer partially push some predicates through a non-join nodes, that produce new columns: Aggregate, Generate, Window.
Why are the changes needed?
Performance improvements
Does this PR introduce any user-facing change?
No
How was this patch tested?
New UTs

Test build #144466 has started for PR 34339 at commit 0c543b2.

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

@cloud-fan , could you take a quick look at this?
I'm not sure if it is best to keep it as a separate rule, or should this be just an improvement to the existing PushPredicateThroughNonJoin to avoid code duplication.


Create a listing for existing and upcoming extensions

This issue would cover the creation of a GitHub page or better fitting alternative which lists extensions that have been implemented and available, as well as those that are going to be available soon.

At Amherst, we list them in an RDF vocabulary: https://acdc.amherst.edu/ns/registry

JHU package ingest extension GitHub repository.  TODO:  publish to Maven Central, publish service URIs somewhere resolvable under dataconservancy.org, demo.

@birkland in case this is useful, here is the repo we use to define this (and other) RDF vocab: https://gitlab.amherst.edu/acdc/acrepo-ontology
The vocabs are maintained in TTL format, and a python script is used to generate the alternate formats (ld+json, n-triples, rdf+xml, html).
Then, on the nginx server, this is the configuration:
map $http_accept $rdf_suffix {
    default                 ".ttl";
    "text/turtle"          ".ttl";
    "application/ld+json"  ".jsonld";
    "application/json"     ".jsonld";
    "application/rdf+xml"  ".rdf";
    "~text/html"            ".html";
}

server {
   ...
    # Local vocabularies are defined here
    location /ns {
        add_header Vary Accept;

        try_files $uri $uri$rdf_suffix $uri.ttl $uri/index.html =404;
        alias /path/to/directory;
    }
}

Fantastic, that is very helpful @acoburn , thank you very much!

SSWAP did some good work in this space, although using too much of it would certainly be overkill.


Alwas getting System UI isnt responding error on Android emulator

I have this issue with my current project that after certain amount of time using application on Android simulator, then leaving it idle (do not sot know exact recepe to get this behaviour) I am starting to receive "System UI isn't responding" message. If i choose "Close app" app just repoens and works again. But this message keeps poping from time to time until I do cold reboot of emulator. And it starts againa after some time. I have raised ticket before but there was no outcome because i could not provide demo app so i left it like this restarting simulators.
Recently I have created new simple application with 3 Pages just for demo purposes and running it on Tablet emulator on Android and it started again....
Now I am sure that that was not a problem of application but it starts on every application because my demo app is doing nothing.. it just have 3 tabs  with 3 different pages and fake login page which redirects to main one.

Flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.5.2 20G95 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] VS Code (version 1.60.2)
[✓] Connected device (4 available)

Hi @vytautas-pranskunas,
Please provide a minimal complete reproducible code sample.
Also, what specs does the emulator have?
Do you also experience this with an actual android device?
Thank you

hi, I am not experiencing it with any real device (at least in prod build - not sure about debug mode). Just with any android simulator
Archive.zip
.

Can you try this, just open the emulator without running your flutter app. Try using it like a normal device and see if you run into this issue.
Sometimes, I ran into similar issues with my emulator, in that case, I usually delete the emulator and create a new one and it stops.

I do not think that creating new emulator will work because few days ago i have added new tablet simulator from scratch and it started there after running app.

What were the specs of the emulator you created?

These are all simulators that I use. Last one Nexus has been created recently.
However i see this issue in all of them. I do not think that it is emulator specific. There should be something in the core.

The reason I don't believe it is a flutter issue is because this issue has existed long before flutter and it isn't an issue that only flutter developers face.
The common denominator here aside flutter happens to the the API level you're using, you can also try creating a new emulator with a different API level to see if you still experience it.
Kindly check these SO threads to see if any of them solves your issue.
https://stackoverflow.com/questions/63371056/the-system-ui-isnt-responding-in-android-emulator-flutter
https://stackoverflow.com/questions/65295204/android-studio-4-1-1-system-ui-isnt-responding-error
https://stackoverflow.com/questions/43779596/process-system-isnt-responding-in-android-emulator


Manual  hasTVPreferredFocus not working fine

Description
We are using hasTVPreferredFocus to focus on button in scrollview but the focus is not happening smoothly .First the default button is highlighted and after some milliseconds the manual highlighting happens which makes the UI experiences not good.we are doing focus of button by own and tvos doing it also. So how we can stop default focus of button inside scrollview

Version
0.68.1
Output of npx react-native info
System:
OS: macOS 12.3.1
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Memory: 42.96 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 18.0.0 - /usr/local/bin/node
Yarn: 1.22.10 - ~/‘~/.npm-global/bin/yarn
npm: 8.5.5 - /usr/local/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK:
API Levels: 21, 23, 25, 27, 28, 29, 30, 31
Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0
System Images: android-28 | Google Play Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-30 | Google TV Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
Android NDK: 22.1.7171670
IDEs:
Android Studio: 4.1 AI-201.87<IP_ADDRESS>53283
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 11.0.12 - /usr/local/opt/openjdk@11/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: Not Found
react-native-macos: Not Found
react-native-tvos:  0.68.1-1
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
When we go to scrollview and press the up key then this happens
Snack, code example, screenshot, or link to a repository

Uploading Screen Recording 2022-07-07 at 9.05.31 PM.mov…

@douglowder  Can you Please help me with this issue

Sorry for the delay in response. My comments:

It looks like you are trying to use isTVPreferredFocus() in a way it really isn't intended to be used. What you are trying to do looks exactly like the problem that nextFocusLeft, nextFocusRight, nextFocusUp, and nextFocusDown solve for you. I would strongly recommend that you change your implementation to use those APIs.
You will want to move to release version 0.68.2-2, as there are important fixes and enhancements there for focus handling on both Apple TV and Android TV. For example, TVFocusGuideView now works on both platforms, and the nextFocus APIs now accept view refs instead of only view tags.

Hi @douglowder  I checked the documentation but nextFocusLeft, nextFocusRight, nextFocusUp, and nextFocusDown is only supported on the android and  for Apple TV we have to use isTVPreferredFocus()

So how we can use it in appleTv .I have also shifted to latest version
.

I actually did build the Apple TV implementation of the nextFocus APIs so I can confirm that they work :) Sorry those documentation comments were not updated, I'll take care of that soon.
You use the nextFocus APIs on Apple TV the same as on Android. See https://github.com/react-native-tvos/react-native-tvos/blob/tvos-v0.68.2/packages/rn-tester/js/examples/DirectionalNextFocus/DirectionalNextFocusExample.js

Hi @douglowder
We have implemented the nextFocus api and it is working fine when using without the view but when we use it inside the scrollView then the default navigation of the tvOs starts to happen.
This is a level Array which is rendered:

<img width="576" alt="Screenshot 2022-07-27 at 1

1 41 09 PM" src="https://user-images.githubusercontent.com/74759255/181344580-c160a7e6-75b2-4145-a5e6-d28b854cc74b.png">

r-images.githubusercontent.com/74759255/181344676-7ce3b432-5489-4ef9-92be-560267bf0185.png">


💡 [REQUEST] - minicpm vlm with small llm for fast inference on mobile device

起始日期 | Start Date
08/26/2024
实现PR | Implementation PR
No response
相关Issues | Reference Issues
No response
摘要 | Summary
how to add a small large language model like qwen 0.5b or mobilellm in minicpm?
1、add a trained model like qwen 0.5b or mobilellm
2、disill a large llama 7b to small one
基本示例 | Basic Example
1、add a trained model like qwen 0.5b or mobilellm
2、disill a large llama 7b to small one
缺陷 | Drawbacks
no
未解决问题 | Unresolved questions
No response

Please read our technical report MiniCPM-V: A GPT-4V Level MLLM on Your Phone
 for the detail of how to training.


First-time Login

Summary
As user who logs in for the first time
I want to be able to create an organization
So that when I don't belong to an organization I am able to create one.
Context
When the user logs in for the first time, that user should be able to create a new organization.
Later, the user may be able to join an existing organization using an invite code or similar means.
Now the user only has the option to either create an org or wait to be added to an org.
Out of Scope
No response
Further links
No response
Acceptance Criteria
No response
Implementation Ideas
No response

Two options:

Create new Organization
Request access by informing your Organization admin and giving your user name which you can find here

Braindump:

Maybe this could be a wizard style.
We might also want to check if the user has a default organization configured and if not inform about it.
Point to the End User Docs
Add a "don't show again" checkbox?


Semver adherence

I think the recent updates didn't have to be major version updates. It seems like there aren't any breaking api changes but just bug fixes and added functionality. So this could have been done with minor and patch versions. See the semver spec for information on what version number to increment when: https://semver.org
It would be nice to also document the releases in something like a changelog: https://keepachangelog.com/en/1.0.0, so people know what changed.

Didn't mean this to sound unthankful by the way, I think it's great that this library is so actively maintained 👍

Thanks for the feedback. There were some changes that could break the API, but mostly with undocumented properties.


Uses geonorm from Maven Central.

The geonorm library has now been moved to a separate repository, so revise the Eidos code to just pull that library from Maven Central. Renamed GeoNorm.scala to GeoNormFinder.scala since that's the only thing it still contains.

crossScalaVersions := Seq("2.11.11", "2.12.4")
"org.clulab"    %% "geonorm"                  % "0.9.5",

implies that there is a geonorm_2.11, but I can't find one (http://central.maven.org/maven2/org/clulab/).  We haven't built, tested, or published Eidos for 2.11 recently, but I don't think we've given up on it yet.  Can one be made, @bethard or @EgoLaparra?

I have now released geonorm v0.9.6 built on 2.11, 2.12, and 2.13. They are released on OSS Sonatype but there is currently some slowness in the Maven Central sync that Sonatype is trying to track down. Once that is resolved, you should be able to just update to 0.9.6 and use any of those versions of Scala.


adding json subtype

@pdumais, is this good to merge?

@pdellaert That's your call :)
I'm done with my changes


Facebook login

Codecov Report

Merging #12 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #12   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          16     18    +2
  Lines         383    475   +92
  Branches       38     46    +8
=====================================
+ Hits          383    475   +92

Impacted Files
Coverage Δ

src/middleware/jwt-response.js
100% <ø> (ø)
:arrow_up:

src/routes/index.js
100% <ø> (ø)
:arrow_up:

src/lib/facebook.js
100% <100%> (ø)

src/routes/auth-facebook.js
100% <100%> (ø)

src/middleware/confirm-user-ownership.js
100% <100%> (ø)
:arrow_up:

src/routes/auth.js
100% <100%> (ø)
:arrow_up:

src/database/models/user.js
100% <100%> (ø)
:arrow_up:

src/routes/users.js
100% <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 627fa87...bd9fa5f. Read the comment docs.


fix: Fixing timing issue in 3rd party lib test.

This PR fixes a timing issue in the tests that affected the 3rd party map test most prominently (but could also apply to others). The tests will now wait for all of the layer requests to finish and the map to be fully rendered before doing anything else, specifically before clicking on the map. This is especially relevant now since recent versions of Web will use client-side data when possible for identify operations, so we must wait for map view to load before we can get any results.

Instead of a separate PR should we just add this change to #30 as there were fixes for other tests ?

Instead of a separate PR should we just add this change to #30 as there were fixes for other tests ?

We certainly could, but my impression is that #30 was "stuck" and required more investigation to get it working, and I just wanted to get something working quickly for upcoming regression testing with minimal changes. It should be simple to just merge these changes into that branch after to see if they help resolve things.

We certainly could, but my impression is that #30 was "stuck" and required more investigation to get it working, and I just wanted to get something working quickly for upcoming regression testing with minimal changes. It should be simple to just merge these changes into that branch after to see if they help resolve things.

If you can get all the tests to pass then works for me. #30 was "stuck" because of all the finnicky unit tests.

We certainly could, but my impression is that #30 was "stuck" and required more investigation to get it working, and I just wanted to get something working quickly for upcoming regression testing with minimal changes. It should be simple to just merge these changes into that branch after to see if they help resolve things.

If you can get all the tests to pass then works for me. #30 was "stuck" because of all the finnicky unit tests.

Actually, you're right. I forgot that we also need the license nag dismissal logic in that branch. I was testing locally where there weren't any nags, so I was able to get everything working with just these changes, but that won't get the CI build working. I'll abandon this PR and commit to that branch instead.


Extend SPARQL result view with Map display

Open Source Edition of Yasgui/Yasr does not support map view in its open source edition. A new map plugin, possibly based on the corresponding Wikidata query result browser is needed to directly display SPARQL results on a map.
Sample query for testing
Same applies for other typical result views such as timeline and chart.

See https://github.com/sparna-git/Sparnatural-yasgui-plugins for another implementation to be reused and collaborated with.


Tabs label not changing when changing the label using state

    <Tab label={this.state.label}>
    </Tab>

It does not change

Could you provide a reproduction test case? That would help a lot 👷 .
It could be a code sample or a live example. You can use this playground to do so: http://www.webpackbin.com/4yeaqq5_z. Thanks!

im sorry it was a mistake from my end i forgot to add observer for a class that had the tabs.
When i wrote the test case https://www.webpackbin.com/bins/-KnQTc3lFllZTTAl7PtJ
i eventually found the mistake.

I'm glad you figured out your issue :).


Fetch errorInternal Server Error /openapi.json

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
INFO:     <IP_ADDRESS>:55111 - "GET / HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52235 - "GET /docs HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52235 - "GET /openapi.json HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "C:\Users\me\Anaconda3\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 373, in run_asgi
    result = await app(self.scope, self.receive, self.send)
  File "C:\Users\me\Anaconda3\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 75, in __call__
    return await self.app(scope, receive, send)
  File "C:\Users\me\Anaconda3\lib\site-packages\fastapi\applications.py", line 210, in __call__
    await super().__call__(scope, receive, send)  # pragma: no cover
  File "C:\Users\me\Anaconda3\lib\site-packages\starlette\applications.py", line 112, in __call__
    await self.middleware_stack(scope, receive, send)
  File "C:\Users\me\Anaconda3\lib\site-packages\starlette\middleware\errors.py", line 181, in __call__
    raise exc from None
  File "C:\Users\me\Anaconda3\lib\site-packages\starlette\middleware\errors.py", line 159, in __call__
    await self.app(scope, receive, _send)
  File "C:\Users\me\Anaconda3\lib\site-packages\starlette\exceptions.py", line 82, in __call__
    raise exc from None
  File "C:\Users\me\Anaconda3\lib\site-packages\starlette\exceptions.py", line 71, in __call__
    await self.app(scope, receive, sender)
  File "C:\Users\me\Anaconda3\lib\site-packages\starlette\routing.py", line 580, in __call__
    await route.handle(scope, receive, send)
  File "C:\Users\me\Anaconda3\lib\site-packages\starlette\routing.py", line 241, in handle
    await self.app(scope, receive, send)
  File "C:\Users\me\Anaconda3\lib\site-packages\starlette\routing.py", line 52, in app
    response = await func(request)
  File "C:\Users\me\Anaconda3\lib\site-packages\fastapi\applications.py", line 161, in openapi
    return JSONResponse(self.openapi())
  File "C:\Users\me\Anaconda3\lib\site-packages\fastapi\applications.py", line 146, in openapi
    servers=self.servers,
  File "C:\Users\me\Anaconda3\lib\site-packages\fastapi\openapi\utils.py", line 388, in get_openapi
    flat_models=flat_models, model_name_map=model_name_map
  File "C:\Users\me\Anaconda3\lib\site-packages\fastapi\utils.py", line 25, in get_model_definitions
    model, model_name_map=model_name_map, ref_prefix=REF_PREFIX
  File "pydantic\schema.py", line 548, in pydantic.schema.model_process_schema
  File "pydantic\schema.py", line 589, in pydantic.schema.model_type_schema
  File "pydantic\schema.py", line 241, in pydantic.schema.field_schema
  File "pydantic\schema.py", line 495, in pydantic.schema.field_type_schema
  File "pydantic\schema.py", line 863, in pydantic.schema.field_singleton_schema
ValueError: Value not declarable with JSON Schema, field: name='Fuel_Type_Petrol' type=Optional[object] required=True

Description
I am new to FastAPI, and I came across this error and don't know how to deal with it. Please, help me solve this.
Operating System
Windows
Operating System Details
No response
FastAPI Version
0.68.1
Python Version
3.6
Additional Context
No response

Can you add example code? You just added the console output

Can you add example code? You just added the console output

I was using 'object' in place of 'str' in:  from pydantic import BaseModel
It is working now!


use openblas during build

Checklist before submitting

[x] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
Fixes # (issue).
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

Force Merging this as the test is expected to fail for absl-py package.


Notebook will not recheck status when received status "waiting"

From the commit  LIVY-213 in the Livy Rest server see: https://github.com/cloudera/livy/commit/b4642b193956b287bb1c1b32bafe4c5a15e71eac
They have added a new status "waiting" for jobs that have been submitted but are waiting to be executed this pull requests fixes a minor bug that the notebook would not recheck the status in the same way as it does for "starting" and "running" if it receives the status waiting
tested against
Hue commit bbe6acb (25.01.2016)
Livy commit https://github.com/cloudera/livy/commit/69462b9315cb652a5d19aa4d5104b210d06fb10f (25.01.2016)
Spark 2.1.0
Hadoop 2.7.3

Great, thanks!
And if you have not done it yet, you could sign the https://github.com/cloudera/hue/wiki/Ccla#online-form to donate your change to the open source?

the form has been signed  and thanks for accepting the change


fix gc

Bump the package version?

Bump the package version

class-validator: 0.9.1 => 0.13.2
convict: 5.0.0  => 6.2.2
helmet: 3.18.0  => 5.0.2
node-fetch: 2.6.1 => 2.6.7
swagger-ui-express: 4.1.2 => 4.3.0

[bump version to 0.3.4]

/azp run


End time on generated reports is not being set correctly

I am seeing this issue on 5.0 alpha 6
I am parsing an XML and Json test report and generating an Extent Report. I parse the start and end time of complete run and use them to set the start and end time of Extent Report explicitly.
In the Extent report, the start time is displayed correctly but the end time is being set to the time the report is generated(not the end time explicitly set). This gives each test a massively inflated incorrect execution time.
I can guarantee the start and end time are in the same format and being parsed correctly.

Working fine after setting useNaturalTime = false;


Benchmark not found (Criterion)

Hi there, I have experienced an issue similar to that of #5 but in Criterion rather than in Go. In particular, in my repo, I have a criterion bench that runs with the following output (using --output-format bencher).
Gnuplot not found, using plotters backend
test inv_prod/default/8 ... bench:         139 ns/iter (+/- 6)
test inv_prod/prod_of_inv/8 ... bench:          87 ns/iter (+/- 4)
test inv_prod/default/16 ... bench:         223 ns/iter (+/- 15)
test inv_prod/prod_of_inv/16 ... bench:         110 ns/iter (+/- 7)
test inv_prod/default/32 ... bench:         301 ns/iter (+/- 20)
test inv_prod/prod_of_inv/32 ... bench:         163 ns/iter (+/- 8)
test inv_prod/default/64 ... bench:         454 ns/iter (+/- 25)
test inv_prod/prod_of_inv/64 ... bench:         257 ns/iter (+/- 9)
test inv_prod/default/128 ... bench:         744 ns/iter (+/- 44)
test inv_prod/prod_of_inv/128 ... bench:         441 ns/iter (+/- 19)
test inv_prod/default/256 ... bench:        1489 ns/iter (+/- 83)
test inv_prod/prod_of_inv/256 ... bench:         908 ns/iter (+/- 41)
test inv_prod/default/512 ... bench:        2613 ns/iter (+/- 153)
test inv_prod/prod_of_inv/512 ... bench:        1841 ns/iter (+/- 114)

I have the following workflow:
name: Benchmark
on: ["push", "pull_request"]

jobs:
  benchmark:
    name: Performance regression check
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      # Install Rust (stable)
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true

      # Run benchmark, storing in output.txt
      - name: Run benchmark
        run: cargo bench -- --output-format bencher | tee output.txt
      # Get old benches (if any)
      - name: Download previous benchmark data
        uses: actions/cache@v1
        with:
          path: ./cache
          key: ${{ runner.os }}-benchmark
      - name: Store benchmark result
        uses<EMAIL_ADDRESS>        with:
          tool: 'cargo'
          output-file-path: output.txt
          external-data-json-path: ./cache/benchmark-data.json
          fail-on-alert: true

And it fails with No benchmark result was found in /home/runner/work/stabchain/stabchain/output.txt. Benchmark output was 'Gnuplot not found, using plotters backend ...
I have confirmed before that the output is correctly written and that the action is able to read it, so the issue is probably with the parsing.
From looking at the source, it seems like this error can be thrown only in this line. In particular it should only be thrown when there are no benches in the file.
Now, what is really confusing me is that I ran the code in extractCargoResult on the bench output here, and it seems to be parsing it correctly.
Any ideas on what is going wrong? At the moment my best guess is some sort of version error but I might be horribly wrong.

Hi there, I just noticed that this was already fixed in #26 but there has not been a release since then. This explains the weird behavior I was observing. Is there any news on when a new release will happen?