[WIP] custom Splash responses

This PR provides an easier API to process data returned by Splash.
TODO:

[ ] fix saving/loading Splash responses to/from cache;
[ ] magical JSON response handling:

[ ] set response.headers from 'headers';
[ ] set response.body either from 'html' or 'body';
set response.status from 'http_status';
[ ] set response.url from 'url.

[ ] add shortcuts to access base64-encoded values (e.g. 'png' / 'jpeg' keys);
[ ] re-check that SplashRequest works correctly with persistent request queues.
[ ] check how custom Splash responses interact with builtin Scrapy middlewares, esp. when headers are restored from JSON response:

[ ] RetryMiddleware;
[ ] AjaxCrawlMiddleware;
[ ] ChunkedTransferMiddleware;
[ ] DecompressionMiddleware;
[ ] HttpCompressionMiddleware;
[ ] RedirectMiddleware;
[ ] RobotsTxtMiddleware;
[ ] RefererMiddleware

See https://github.com/scrapy-plugins/scrapy-splash/issues/44, https://github.com/scrapy-plugins/scrapy-splash/issues/14, https://github.com/scrapy-plugins/scrapy-splash/issues/12, https://github.com/scrapy-plugins/scrapy-splash/issues/10, https://github.com/scrapy-plugins/scrapy-splash/issues/8.

Current coverage is 91.52%

Merging #45 into master will increase coverage by +2.15% as of 240418b

@@            master     #45   diff @@
======================================
  Files            6       8     +2
  Stmts          160     236    +76
  Branches         0       0
  Methods          0       0
======================================
+ Hit            143     216    +73
  Partial          0       0
- Missed          17      20     +3

Review entire Coverage Diff as of 240418b

Powered by Codecov. Updated on successful CI builds.


drop mpir patches

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Wagtail 5.1+ upgrades

Wagtail 5.1 (See release notes)

Shared include field_as_li.html will be removed

Wagtail 5.2 (See release notes)

Adoption of classname convention for MenuItem related classes and hooks

Other changes

Update changelog
Update classifiers

closing in favour of #10


[Drilldown Menu] Drilldown width not recalculated on screen resize

Having trouble getting the Drilldown width to recalc on screen resize. If making screen smaller the Drilldown menu will potentially be too wide for screen (causing usability issues). My menu is set to width:100%.
Thanks.

Already reported at https://github.com/zurb/foundation-sites/issues/7774

Yep, duplicate of #7774


Formatter: single_line_format_skip_with_multiple_comments preview style

Implement Black's single_line_format_skip_with_multiple_comments style in Ruff.
I don't think it's necessary to gate this change as a preview style. We should also allow the same for fmt:off and fmt:on.
# fmt:skip                           <-- single comment
# noqa:XXX # fmt:skip # a nice line  <-- multiple comments (Preview)
# pylint:XXX; fmt:skip               <-- list of comments (; separated, Preview)

I don't mind requiring a # to delimit each pragma -- we already have this requirement in the linter IIRC.

I like the ; delimiter for pragmas, I think # is pretty awkward.

I find # more intuitive.

:D Are you suggesting that we do not support using ;?

I don't feel strongly about supporting it but I probably wouldn't recommend it. We have to use something here that all tools adhere to, and # is likely the most universal and portable.

Thanks @charliermarsh for implementing this.
Allowing # is a good first step. Supporting ; or : is something that we may want to support in the future. For example, Biome has a standardized format for specifying the reason using biome-ignore rule: <reason>. Standardizing the format has the advantage that downstream tools (e.g., a dashboard) can use the explanation.
I recommend deferring this until we look into suppression comments holistically.


Multiple inputs (Image and Gender Attribute) for CNN with ImageGenerator

I am building a CNN model that accepts two inputs: one is an image and the other one is gender attribute (0 or 1). I know how to concatenate the two inputs when I use the Functional API of Keras, that is when the images are directly converted to matrix and everything is fed to X_train. However, I wanted to perform Data Augmentation and then use Image Generator to feed my neural network. My problem is: how will I create a "data generator" for my tabular data that is gender? Say if I set the batch_size of my Image Generator to 50, I need to concatenate to those 50 images the gender attribute for each. Is there a way to retrieve the indices of the generated 50 images? Thanks!

Does anyone have any experience or encountered the same issue?


RPC get DEADLINE exceed even when server already shutdown.

I have a c++ test case will do the server_->Shutdown() and then send an RPC to the shut downed server. But rarely, I will get DEADLINE EXCEED even when the server_'s Shutdown method is returned.
Is there anything I miss? Is calling shutdown the right thing to do to shut down a server?

No more RPCs will be serviced after the server is shut down.

Yes, calling shutdown is the right thing to do. If the server is asynchronous, then the completion queues should continue processing till it receives shutdown.

https://groups.google.com/a/google.com/forum/#!forum/grpc.io would be a better place for further questions


i18 support

This is a great starter projects, wanted to know if we have i18 support in this starter. If not any suggestion on how can we include them?

Thank you. At this time there is no plan to add internationalization support to this project. You could use something like https://github.com/mashpie/i18n-node for your needs.


Run unit tests on travis

Run the tests on Travis and add a hook which makes the tests run whenever a commit is pushed
More info see https://github.com/GoogleCloudPlatform/continuous-deployment-demo
WIP on branch https://github.com/rogerthat-platform/rogerthat-backend/tree/travis_test

Issue migrated to our-city-app/mobicage-backend#9


This was causing a break for this tutorial: https://quantumai.google/openfermion/fqe/tutorials/fermi_hubbard
To repro the break:
In the above tutorial, change the install line to:
!pip install git+https://github.com/quantumlib/OpenFermion-FQE@9278671c538baeff861b102bda68f1d66e5646e0
and run. Changing to the commit before:
!pip install git+https://github.com/quantumlib/OpenFermion-FQE@138e7584e03311dab12d0889d3415687afbb7f5b
works just fine.

It's easy to revert the original commit but it will result in performance degradation of other code, so it's better to properly fix. The root problem is that the "algorithm" directory is not part of the FQE itself and is not unit-tested thoroughly, although it is embedded in the repository. The tested part of low_rank.py is correctly working but it is not covered 100%.
Can you tell us what function is breaking the example?
@ncrubin what would you want to do?

I opened #109 and will fix the tutorial now. I would close this. Will address #109 with another PR.

I believe @awhite862 is fixing the tutorial today.  So no need to revert.

The problem is that inplace should be set to false for the givens rotation quadratic evolution in algorithms.

The root problem is that the "algorithm" directory is not part of the FQE itself and is not unit-tested thoroughly, although it is embedded in the repository. The tested part of low_rank.py is correctly working but it is not covered 100%.

The way I see it is the library is currently in some kind of "mildly broken state" since the tutorial doesn't work. This change (while it hurts performance) will put it back in a (more) working state, so that anybody who installs the library is less at risk of getting strange outputs/errors. From there it's much easier to take the code from a slow and working state to a more well tested state and then finally a state where it is still working and back at high performance like before.
The longer we leave this tutorial and the library in this "mildly broken state" instead of reverting to the known and "less broken" state, the more users we are likely impacting with a negative experience. For this reason I'm fairly opposed to trying to directly fix the tutorial and tests and functionality all at once instead of quickly rolling the change back so things are working, adding more tests, identifying the root cause and then recovering the performance.

There will be a PR in a few min.
FYI - I am not suggesting to change the tutorial, it's just that deepcopy has to be done outside the loop. Currently, it is doing deepcopy of many GBs (depending on the parameters) thousands of times.


values() consistency

Object.prototype.values() and similar functions should return an iterable, not an array, so that it has parity with how Map.prototype.values() etc works.

done


Failed to export detailed results on view status in sent message

When I click on "export detailed results",in a sent message, it gives the following error "Something went wrong. Try exporting the results again."
The message was sent to 5290 users.
any suggestions to this error?
Thanks

@jjgargantilla please verify your teams channel is private or public ? if its private then use public channel to add authors app it will work.

Same issue, but I've installed the Company Communicator in a public Channel (General)

Hi. Any closure to this issue? I am facing the very same problem. I tried to add the app using a public team as someone suggested above, but I get the same error.
I click the "Allow" button but the file is not exported. Same thing as here: https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues/518


Hyprpanel failing to build

Hi,
I get the following when running sudo nixos-rebuild switch --flake ~/.config/nixos#nixos (where nixos is my hostname)
error: builder for '/nix/store/1qysn8bysi5gxya79iyanv1jkgz1xdkb-hyprpanel-latest.drv' failed with exit code 132;        last 9 log lines:        > Running phase: unpackPhase        > unpacking source archive /nix/store/dxp36f7aj4cs8px5hjsv6iphcg9b8prb-kf3d107nnhk53vwl21k41ggy0ksgml5j-source        > source root is kf3d107nnhk53vwl21k41ggy0ksgml5j-source        > Running phase: patchPhase        > Running phase: updateAutotoolsGnuConfigScriptsPhase        > Running phase: configurePhase        > no configure script, doing nothing        > Running phase: buildPhase        > /nix/store/ncv68hjnidcd2bm5abkhklrijhn0cgn6-stdenv-linux/setup: line 1712:    42 Illegal instruction     (core dumped) /nix/store/hilx2jwdslc05d38q4fzpsli6pgc56sa-bun-1.1.31/bin/bun build ./main.ts --outfile main.js --external "resource://*" --external "gi://*"        For full logs, run 'nix log /nix/store/1qysn8bysi5gxya79iyanv1jkgz1xdkb-hyprpanel-latest.drv'. error: 1 dependencies of derivation '/nix/store/7c95isk973r9wzcbapvva4xv8n63x20q-hyprpanel.drv' failed to build error: 1 dependencies of derivation '/nix/store/8z9yy3ipjyvs2mxx0qyqa0pi9daxr6l9-hm_hyprhyprland.conf.drv' failed to build error: 1 dependencies of derivation '/nix/store/3zfi2918z6av01pb01sb2ad7b55pmb2x-home-manager-path.drv' failed to build error: 1 dependencies of derivation '/nix/store/v50frb739hhcfi2pm8r3i5ssydy9kdhd-home-manager-generation.drv' failed to build error: 1 dependencies of derivation '/nix/store/l0cgsk7q3i8kadk3f9sa3jqvnm5a3hjz-user-environment.drv' failed to build error: 1 dependencies of derivation '/nix/store/f5my9m1myiylr7sarv5p12sr7sji2nwy-etc.drv' failed to build error: 1 dependencies of derivation '/nix/store/6c85asx7ind986zghvyccxwrxk1wwz4y-nixos-system-nixos-24.11.20241029.807e915.drv' failed to build
I tried running a sudo nix build -L '/nix/store/1qysn8bysi5gxya79iyanv1jkgz1xdkb-hyprpanel-latest.drv^*' and got this:
hyprpanel-latest> Running phase: unpackPhase hyprpanel-latest> unpacking source archive /nix/store/dxp36f7aj4cs8px5hjsv6iphcg9b8prb-kf3d107nnhk53vwl21k41ggy0ksgml5j-source hyprpanel-latest> source root is kf3d107nnhk53vwl21k41ggy0ksgml5j-source hyprpanel-latest> Running phase: patchPhase hyprpanel-latest> Running phase: updateAutotoolsGnuConfigScriptsPhase hyprpanel-latest> Running phase: configurePhase hyprpanel-latest> no configure script, doing nothing hyprpanel-latest> Running phase: buildPhase hyprpanel-latest> /nix/store/ncv68hjnidcd2bm5abkhklrijhn0cgn6-stdenv-linux/setup: line 1712:    42 Illegal instruction     (core dumped) /nix/store/hilx2jwdslc05d38q4fzpsli6pgc56sa-bun-1.1.31/bin/bun build ./main.ts --outfile main.js --external "resource://*" --external "gi://*" error: builder for '/nix/store/1qysn8bysi5gxya79iyanv1jkgz1xdkb-hyprpanel-latest.drv' failed with exit code 132
Any idea what may be causing this?  This is a NixOS vm on virtualbox.

Hi, no idea! I don't have this issue on my barebones machine and never tried it in a VM.
Maybe open an issue in the hyprpanel repo

@gnussbaum1967 I ran this config in a vm without issue. What are the specs of your vm?

@gnussbaum1967 I ran this config in a vm without issue. What are the specs of your vm?

Hi,
Sorry for the late reply
VirtualBox
VM with 8GB RAM
2 CPU
100GB storage
3D acceleration enabled

Hello, I have the same issue (tested on VirtualBox as well).

Hello, I have the same issue (tested on VirtualBox as well).

Hi,
I found that the CPU flags "AVX" and "AVX2" were missing.  Here's what I followed:
https://stackoverflow.com/questions/65780506/how-to-enable-avx-avx2-in-virtualbox-6-1-16-with-ubuntu-20-04-64bit


Add VertexMember implementations for cgmath types

[ ] Added an entry to CHANGELOG_VULKANO.md or CHANGELOG_VK_SYS.md if knowledge of this change could be valuable to users
[ ] Updated documentation to reflect any user-facing changes - in this repository
[ ] Updated documentation to reflect any user-facing changes - PR to the guide that fixes existing documentation invalidated by this PR.

Still very WIP, it fulfills the same needs of #1133. I've implemented it only for cgmath because it's what I'm using currently, but I'd have no problem extending this to, for example, nalgebra types.
The former PR replaces vertex members of the examples with types from cgmath. I think they should be self-contained, and should run without more external dependencies, so I kept them as-is.

this would be great for https://github.com/rustsim/nalgebra as well

I have no prior experience with nalgebra, but I'll give it a try next week. I was waiting for #1327 to be merged, but it depends on a Rust issue to be solved first. I'll go on with this PR, and hold the other back until there is a reasonable way of implementing it without resorting to undefined behavior.

@jmi2k that's fine, I think getting cgmath would be a huge win for now anyway

It seems that nalgebra types can have various storage types, and their layout is undefined: there is no restriction on their contents (they can be structs with metadata) or their shape (they can be non-contiguous, or not ordered).
I believe they have a subset of storage types which can guarantee being only a wrapper of primitive types, and the implementation could be parametized, but I don't have any prior experience with nalgebra and their type-level machinery is a bit convoluted, so I'll leave it out of this PR. @louisgjohnson open an issue once this is merged, nalgebra looks very complete and packed with useful features, definitely worth supporting.

I am not personally sure how well maintained cgmath is. I have switched my projects over to nalgebra personally. cgmath last release was in January of 2019.

I think I am not going to go through with this pull request due to cgmath being a bit out of date. I don't know if you want to open another for nalgebra or use this one, up to you. We should also remove cgmath use from the examples and replace it with the more favorable nalgebra.

Although support for other libraries is nice to have, sadly cgmath seems to have gone inactive and this would bring in soon to be dead code to the project that will end up being removed.
I am open to this if you decide to implement nalgebra types, but since this pull request changes seem all related to cgmath I am closing this one. You are welcome to implement this for nalegbra and that'll likey go through. nalgebra seems to be the way forward.


HAWQ-1530. Illegally killing a JDBC select query causes locking problems

This bug root cause maybe twice FATAL error throwing, I cannot exactly reproduce it according to this issue's comment, just based on my understanding and previous bug fix experiences. We cannot allow a FATAL throwed again when anohter FATAL causes process into exit phase.

@kuien please check this fix

@radarwave @linwen @changleicn please review and comment

+1

LGTM +1


App details page - enable/display useCase frameagreement agreement state

Summary
Adjust the details displayed on the app details screen for subscription users (users with subscription rights).
Description
Users having app subscription rights should get informed about the company frameagreement signature state.
In case the frameagreement part of the use case is not signed; the user should get informed about the same to offer the opportunity to sign the frameagreement before actually subscribing to the app.
Backend Endpoint:
GET: /api/administration/companydata/useCaseParticipation
Acceptance Criteria

[ ] [criteria 1]
[ ] [criteria 2]
[ ] [criteria 3]

Additional Information

not needed anymore, credentials not relevant


Not Recognized

I tried to install the bukkit version recommended for 1.11.2 from the wiki but when i install it, the server does not recognize it as a plugin.

Update to 1.12.2 and use build 182


Django can't find assetss generated by Webpack

What happened?
I created a new project using Webpack, tried to run it locally and no JS nor CSS are found.
What should've happened instead?
JS and CSS files should have been loaded and used by the page
Additional details

Host system configuration:

Cookiecutter 2.1.1
Ventura 13.5
Python 3.11.4
Docker version 24.0.2, build cb74dfc
Docker Compose version v2.19.1

  "cookiecutter": {
    "project_name": "Cyment.com",
    "project_slug": "cyment_com",
    "description": "Web de cyment.com",
    "author_name": "Alan Cyment",
    "domain_name": "cyment.com",
    "email"<EMAIL_ADDRESS>    "version": "0.1.0",
    "open_source_license": "Not open source",
    "username_type": "email",
    "timezone": "UTC",
    "windows": "n",
    "editor": "VS Code",
    "use_docker": "y",
    "postgresql_version": "15",
    "cloud_provider": "None",
    "mail_service": "Other SMTP",
    "use_async": "n",
    "use_drf": "n",
    "frontend_pipeline": "Webpack",
    "use_celery": "n",
    "use_mailhog": "y",
    "use_sentry": "n",
    "use_whitenoise": "y",
    "use_heroku": "n",
    "ci_tool": "Github",
    "keep_local_envs_in_vcs": "y",
    "debug": "y",
    "_template": "https://github.com/cookiecutter/cookiecutter-django",
    "_output_dir": "/Users/acyment/dev/nuevo"
  }
}⏎

Extracted from Docker output:
cyment_com_local_node      | <i> [webpack-dev-server] [HPM] Proxy created: /  -> http://django:8000
cyment_com_local_node      | <i> [webpack-dev-server] Project is running at:
cyment_com_local_node      | <i> [webpack-dev-server] Loopback: http://localhost:3000/
cyment_com_local_node      | <i> [webpack-dev-server] Content not from webpack is served from '/app/public' directory
cyment_com_local_node      | asset js/vendors-8494b38a89cf0f574904.js 1.55 MiB [emitted] [immutable] (name: vendors)
cyment_com_local_node      | asset css/project.1c48eb8cb5559be06b89.css 856 KiB [emitted] [immutable] (name: project)
cyment_com_local_node      | asset js/project-8494b38a89cf0f574904.js 748 KiB [emitted] [immutable] (name: project)
cyment_com_local_node      | Entrypoint project 1.57 MiB = css/project.1c48eb8cb5559be06b89.css 856 KiB js/project-8494b38a89cf0f574904.js 748 KiB
cyment_com_local_node      | Entrypoint vendors 1.55 MiB = js/vendors-8494b38a89cf0f574904.js
cyment_com_local_node      | orphan modules 781 KiB (javascript) 975 bytes (runtime) [orphan] 28 modules
cyment_com_local_node      | runtime modules 1.94 KiB 10 modules
cyment_com_local_node      | modules by path ./node_modules/ 412 KiB
cyment_com_local_node      |   modules by path ./node_modules/@popperjs/core/lib/ 68.5 KiB 57 modules
cyment_com_local_node      |   modules by path ./node_modules/webpack-dev-server/client/ 76.3 KiB 16 modules
cyment_com_local_node      |   modules by path ./node_modules/html-entities/lib/*.js 115 KiB 4 modules
cyment_com_local_node      |   modules by path ./node_modules/webpack/hot/*.js 1.96 KiB 2 modules
cyment_com_local_node      |   + 3 modules
cyment_com_local_node      | modules by path ./cyment_com/static/ 170 bytes (javascript) 356 KiB (css/mini-extract)
cyment_com_local_node      |   modules by path ./cyment_com/static/js/*.js 120 bytes
cyment_com_local_node      |     ./cyment_com/static/js/project.js 76 bytes [built] [code generated]
cyment_com_local_node      |     ./cyment_com/static/js/vendors.js 44 bytes [built] [code generated]
cyment_com_local_node      |   modules by path ./cyment_com/static/sass/*.scss 50 bytes (javascript) 356 KiB (css/mini-extract)
cyment_com_local_node      |     ./cyment_com/static/sass/project.scss 50 bytes [built] [code generated]
cyment_com_local_node      |     css ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./node_modules/sass-loader/dist/cjs.js!./cyment_com/static/sass/project.scss 356 KiB [built] [code generated]
cyment_com_local_node      | webpack 5.88.2 compiled successfully in 6090 ms
cyment_com_local_django    | <IP_ADDRESS> - - [09/Aug/2023 19:23:18] "GET / HTTP/1.1" 200 -
cyment_com_local_django    | <IP_ADDRESS> - - [09/Aug/2023 19:23:18] "GET /static/debug_toolbar/css/toolbar.css HTTP/1.1" 200 -
cyment_com_local_django    | <IP_ADDRESS> - - [09/Aug/2023 19:23:18] "GET /static/debug_toolbar/js/toolbar.js HTTP/1.1" 200 -
cyment_com_local_django    | <IP_ADDRESS> - - [09/Aug/2023 19:23:18] "GET /static/debug_toolbar/js/utils.js HTTP/1.1" 200 -
cyment_com_local_django    | Not Found: /static/webpack_bundles/css/project.1c48eb8cb5559be06b89.css
cyment_com_local_django    | WARNING 2023-08-09 19:23:18,637 log 9<PHONE_NUMBER>21824 Not Found: /static/webpack_bundles/css/project.1c48eb8cb5559be06b89.css
cyment_com_local_django    | <IP_ADDRESS> - - [09/Aug/2023 19:23:18] "
cyment_com_local_django    | GET /static/webpack_bundles/css/project.1c48eb8cb5559be06b89.css HTTP/1.1" 404 -
cyment_com_local_django    | Not Found: /static/webpack_bundles/js/project-8494b38a89cf0f574904.js
cyment_com_local_django    | WARNING 2023-08-09 19:23:18,638 log 9<PHONE_NUMBER>05760 Not Found: /static/webpack_bundles/js/project-8494b38a89cf0f574904.js
cyment_com_local_django    | <IP_ADDRESS> - - [09/Aug/2023 19:23:18] "GET /static/webpack_bundles/js/project-8494b38a89cf0f574904.js HTTP/1.1" 404 -
cyment_com_local_django    | Not Found: /static/webpack_bundles/js/vendors-8494b38a89cf0f574904.js
cyment_com_local_django    | WARNING 2023-08-09 19:23:18,643 log 9<PHONE_NUMBER>14528 Not Found: /static/webpack_bundles/js/vendors-8494b38a89cf0f574904.js
cyment_com_local_django    | <IP_ADDRESS> - - [09/Aug/2023 19:23:18] "GET /static/webpack_bundles/js/vendors-8494b38a89cf0f574904.js HTTP/1.1" 404 -
cyment_com_local_django    | <IP_ADDRESS> - - [09/Aug/2023 19:23:18] "GET /static/debug_toolbar/css/print.css HTTP/1.1" 200 -

Which port did you use to access the page, 3000 or 8000? With Gulp and Webpack one needs to use the port from node service, as explained in our docs: https://cookiecutter-django.readthedocs.io/en/latest/developing-locally-docker.html#using-webpack-or-gulp

My bad :(((((


user can't define ConstructedAtom's show

Since project-m36 imeplement ADT to represent structural messages, it may worth to have a user-defined show for ConstructedAtom. (and further, for AttributeName)
However, for now, not all ConstructedAtom come from Atomable instance. So the typeclass Show in haskell space cannot be utilized.

And, dataFrameAsHtml can't show utf8 character correctly.
After I changed atomToText (TextAtom i) = T.pack . show $ i to i, it works.

Is bc3997f00eaeff4256585bbae0905cd3826e4415 what you're looking for?
Please tell me more about the use-case for a custom Show implementation. What I imagined was that clients who need custom rendering would do so after receiving the ConstructedAtom itself via Binary serialization or the atom's JSON representation, not its text representation.

To translate a whole Relation, a TextAtom in HTML format seems not enough.
Since ConstructedAtom explains things better than null, I was hoping to able to see a ConstructedAtom in a tutd, not just in html format, with user's own language. It allows me to use the tutd's awsome ability to instantly show a complicated relvar expression.
I just found now, in a relvar, AttributeName, TextAtom and ConsturctedAotm, all of them, use Text.
So, I guess, a user can have their own language by customized Atomable and Tupleable. one just need to handle the translation in fromX and toX. This is a way without adding code to project-m36. However, the project-m36 side lose the default Text representation.
But internalization seems to me a good idea to mention and talk about. I guess it helps international users to give relational algebra a taste.
If project-m36 only support one representation in tutd, then it seems then I'll need to translate a Relation or DataFrame in Haskell space and show it on the haskell side, HTML or IO, and lose the tutd's awsome ability to instantly show a complicated relvar expression.
To make a relvar have international representation.
It need not to be show in a Show typeclass.
But that requires project-m36 to get functions that translate Atom, AtomType and Attribute.
And have a language setting in tutd, and showexpr changed result accordingly.
I was thinking not to have customized Atomable and Tupleable. Instead, add show function in Atomable and bring the Show implementation into project-m36.
In this way, a Atomable ConstructedAtom Text representation is reserved. And Internalization capacity is added.
But I can't do that because a ConstructedAtom may be created from run-time in tutd. It is not necessarily a Atomable.

After second thought, relational algebra need one text representation to describe things in an expression.  An multi language relation may not be useful.  User already can define their own representation in custom atomable and tupleable.

Well, it's worth discussing. For example, what would a tutd session in Chinese look like? Since tutd is English-based I imagine the tutd syntax would change as well. Would each type have its own localized name?


LetterBoxer Ratio set same as iPhone X(19.5:9), run on Sony Xperia 1(21:9) Left, right has issue.

HI,
I try LetterBoxer Ratio set same as iPhone X(19.5:9)
Unity resolution set same as Sony Xperia 1 3860x1644(21:9)
Left, right has issue.
Could add LetterBox on left and right?

On Android side
Unity PlayerSettings
Aspect Ratio Mode set to Custom
Up to 2.166667(iphone X 19.5:9)
And AndroidManifest.xml
Add android:resizeableActivity="false
Then on Sony Xperia 1 3860x1644(21:9)
The Screen will only draw 19.5:9.
Reference:
https://docs.unity3d.com/Manual/class-PlayerSettingsAndroid.html
https://docs.unity3d.com/ScriptReference/PlayerSettings.Android-maxAspectRatio.html
Declare a maximum aspect ratio
https://developer.android.com/guide/practices/screens-distribution
Custom Max Aspect Ratio In Player Settings Isn't Working
https://forum.unity.com/threads/custom-max-aspect-ratio-in-player-settings-isnt-working.900338/
resizeableActivity
https://developer.android.com/reference/android/R.attr#resizeableActivity
https://developer.android.com/reference/android/R.attr#resizeableActivity

Will try investigate. Thanks for reporting.
One question: are the curtain sprites in that screenshot above aligned with the edge of the 19.5:9 display ?

Have not been able to replicate. Set up display (B) + letter boxer (C) for iPhone X resolution AND adjusted sprite positions to fit iPhone X resolution (A)
On playback game fits the full screen as expected (B):

Then switched display to Sony Xperia 1 resolution and get black matt bars as expected which preserve the iPhoneX layout (C):

This is my test project use Unity 2019.4.9f1.
Could you help me check my project settings?
LetterBoxer.zip

Can you see if this work-around helps with your issue: https://github.com/rabidgremlin/LetterBoxer/issues/2
Thanks

Did the work around above help ? Also check out: https://github.com/rabidgremlin/LetterBoxer/issues/4#issuecomment-792062402 for instructions on how to ensure your camera and layout is correct (but use a 19.5:9 resolution instead)

Hi,
Today I clone project aging, and try the issue.
Maybe I misunderstanding by the curtain.
Seems work fine.

Excellent. In your case you would move the curtains to be at the edges for a 19.5.9 aspect ratio and then they would remain on the edges of the blue area regardless of the actual  display aspect ratio.


Wrong section config in the doc

to configure lexik_jwt_authentication:
please change keys  secret_key, public_key to private_key_path and  public_key_path

Master needs to be released, please refer to the 2.4 branch meanwhile. Keeping this open until released.

v2.5 has been released, closing as resolved :)


Add 24 December option

My Swedish friends open their presents on Julafton on the 24th, so that's when they'd want to count down until.

At this point does it make sense to add a schema.generated option to put other? and then let one manually choose a date? Like if they celebrate with one side of the family a different time of year.
Could either have them enter how the value is in the option fields, or have two separate integer entries for that?
Would have to change the christmas_date line to be something like
if config.get("christmas_date","12-25")=="None":
 christmas_date = config.get("christmas_date","12-25")
else:
 christmas_date = config.str("custom_date",default)

the none is a string because the value is meant to be a string in the options. assumes the custom_date is text.
This MAY defeat the purpose of the app though... and just a thought. cc @austinrfnd

I think it makes sense to have the predefined list because this is a specifically Christmas countdown app.
There are still only a handful of days that are Christmasses around the world. And still few enough to list them.
Setting a custom date would make it more of a generic countdown app, but a generic countdown app shouldn't have all the Christmas imagery.

Yeah, I think that totally makes sense.


add opt-out of search telemetry in OS dashboards

Description
Create a Search Telemetry page under OpenSearch Dashboards to explain how to increase performance on an OS cluster by opting out of using search telemetry data.
Site URL: https://opensearch.org/docs/2.0/dashboards/search-telemetry/
Issues Resolved
494
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Adding screen capture of new doc page:

adding screen shot of local site (after tech review updates) - since it's a new page:


Pass/fail summary not viewable when using xdist

I'm using pytest-xdist to run tests in parallel. The summary output at the end of a test run is much longer when using xdist than when running tests normally. The output is being truncated such that I can't read the failure messages.
Normal output without xdist:
       1 failed
         - /code/summit/summit/test/base.py:223: AssertionError: '12' != ''

Output when running with xdist:
       1 failed
         - self = <summit.test.simple.SimpleFunctionalTest te

Is there someway to increase this value in settings?

So it seems like xdist changes the output of self._getcrashline.
With xdist:

Without:

This is the code at pytest:
    def _getcrashline(self, rep):
        try:
            return str(rep.longrepr.reprcrash)
        except AttributeError:
            try:
                return str(rep.longrepr)[:50]
            except AttributeError:
                return ""

so it seems like rep.longrepr.reprcrash is not available.
As a workaround, you can use --new-summary that uses different method for getting the summary.


Use (only) utf8mb4 only if supported for keys

In order to fix #7216, I previously suggested #7221. BTW that PR would have required that every concrete5 developer should use (and know) that they'd have to force utf8instead of utf8mb4 for string keys wider than 191 chars.
Another fix for #7216 is this PR: we always use the same charset: utf8mb4 if available and usable in string keys with up to 255 chars, otherwise we use utf8.
PROs: concrete5 developers don't have to deal with charsets
CONs. users with old MySql versions (or with recent MySql versions with innodb_large_prefix turned off) won't have a full-unicode support
Here's a sample installation session when MySQL doesn't support utf8mb4 for 255-long key columns:

This is great @mlocati – couple questions:

Will this fail silently for upgraded installs when they can't accurately set the collations?
Do we need to do anything to revert the previously applied #7221 ? I already merged it.
Do we have any problems with sites that have already applied the #7221 migration?
It looks like this will show users a warning when they install (which I think is fine and good) - is that the only time it'll show a warning? That's fine, just don't want to be filling up the logs with the error if the user has made the choice to proceed without full utfmb4 support.

I think this is a great solution, btw – it gets people who need support for this for emojis and richer character sets the support they need, with a minimum of friction. Nice work 👍

@aembler

Will this fail silently for upgraded installs when they can't accurately set the collations?

Yep: see the try-catch block.

Do we need to do anything to revert the previously applied #7221 ? I already merged it.

#7221 sets utf8mb4 for all the tables and utf8 for long string keys.
With this #7253 we set utf8mb4 for all the tables (with no special handling for long string keys) if MySQL supports long string keys using utf8mb4, otherwise tables are kept in utf8.
In order to revert #7221 we have to determine if MySQL support long string keys in utf8mb4 and set all the tables and columns to utf8mb4 or utf8.
This operation can be done by running this code:
drop procedure if exists tmpRevert7221;

delimiter //

create procedure tmpRevert7221()
begin
    declare convertToCharset varchar(50);
    declare convertToCollation varchar(50);
    declare long_keys_supported tinyint(1);
    declare tableName varchar(64);
    declare cursorAtEOF tinyint(1);
    declare oldForeignKeyChecks int;
    declare tableLoopCursor cursor for
        select TABLE_NAME
        from information_schema.`TABLES`
        where `TABLE_SCHEMA` = database()
    ;
    declare continue handler for 1071 set long_keys_supported = 0;
    declare continue handler for not found set cursorAtEOF = 1;
    -- Determine if MySQL supports utf8mb4 for string keys with a length up to 255 chars
    set long_keys_supported = 1;
    drop temporary table if exists tmpCheckCollation;
    create temporary table tmpCheckCollation (
        f varchar(255) collate utf8mb4_general_ci,
        primary key (f)
    );
    drop temporary table if exists tmpCheckCollation;
    if long_keys_supported = 0 then
        -- We can't use utf8mb4 for long string keys: all the tables and columns use utf8
        set convertToCharset = 'utf8';
        set convertToCollation = 'utf8_general_ci';
    else
        -- We can use utf8mb4 for long string keys: all the tables and columns use utf8mb4
        set convertToCharset = 'utf8mb4';
        set convertToCollation = 'utf8mb4_general_ci';
    end if;
    -- Convert all the tables to the above charset
    open tableLoopCursor;
tableLoop: loop
        set cursorAtEOF = 0;
        fetch tableLoopCursor into tableName;
        if cursorAtEOF then
            leave tableLoop;
        end if;
        set @sql = concat(
            'alter table `', tableName, '`',
            ' convert to character set ', convertToCharset, ' collate ', convertToCollation
        );
        prepare sqlPrepared from @sql;
        execute sqlPrepared;
        deallocate prepare sqlPrepared;
    end loop;
    close tableLoopCursor;
    select concat(
        'Tables converted to charset ', convertToCharset,
        ' with collation ', convertToCollation
    );
end//

delimiter ;

set foreign_key_checks = 0;
call tmpRevert7221();
set foreign_key_checks = 1;

drop procedure tmpRevert7221;

Do we have any problems with sites that have already applied the #7221 migration?

I think so: table relations must use columns with the same column definitions (including charset/collation).
It'd be better to have a consistent database structure across any installation.

It looks like this will show users a warning when they install (which I think is fine and good) - is that the only time it'll show a warning?

Yes.

Even if we have to manually deal with sites that have already applied the previous utf8mb4 migrations, can you update this pull request to remove the migration that we put in place earlier, assuming that's the only thing we have to do to get rid of the previous approach? I don't think we want anything sticking around from the previous pull request.

Even if we have to manually deal with sites that have already applied the previous utf8mb4 migrations, can you update this pull request to remove the migration that we put in place earlier, assuming that's the only thing we have to do to get rid of the previous approach? I don't think we want anything sticking around from the previous pull request.

We have the following 2 pull requests related to database charsets:

#7169 where we have migration<PHONE_NUMBER>2400 that sets utf8mb4 for every field and every table if MySQL supports utf8mb4
#7221 where we have migration<PHONE_NUMBER>2400 that sets utf8mb4 for the tables, but utf8 for the key fields.

Since #7221 has been reverted, we still have the migration from #7169.
BTW, since this PR changes the charset resolver, the migration won't set utf8mb4 if it's not supported for database tables, so this #7253 fixes the behaviour of the migration.
We have 3 possible situations for the installations that use develop:

they haven't yet migrated after #7169 got merged. By merging this #7253, those installations will execute the migration, with the migration already fixed
they have migrated after #7169 but before #7221: the migration set the utf8mb4 character without checking if it's not supported for string keys. If the site works, it means that utf8mb4 can be used in string keys, if the site doesn't work, people have to manually call ALTER TABLE ... CONVERT TO CHARACTER SET utf8 for every table
if they migrated while #7221 was the repository, they have to run the above script (that is, execute ALTER TABLE ... CONVERT TO CHARACTER SET utf8 or ALTER TABLE ... CONVERT TO CHARACTER SET utf8mb4 for every table).

TL;DR the migration introduced in #7221 is still needed, and it's useless to move it to a newer ID. So, this #7253 should be merged as is (and asap).

Thanks for the detailed explanation. That is helpful.

@mlocati - That stored procedure saved us on two separate sites today that are running the bleeding edge core and are in active development. We had an issue where the character set for Express entities table wasn't the same as the ones in a migration, making it impossible to apply a foreign key. Running the stored procedure fixed everything and let us upgrade. 🍺 🍻 Thanks!

I wrote it for exactly the same issue for one of our servers :wink:


TODO: Upgrade Chart.js to version 3

Major issues

[x] Disable animation (too slow if number of data points is large)
[x] Fix handsontable resize error (kinda hackish, hopefully it's benign)
[x] chart feels sluggish compared to before (use update('none') to disable animation)
[x] Fix title and axes label not showing up for first chart.

Minor optimization

[x] Default options include tooltip label callbacks

[x] Fix the issue that default tooltip callback overwrites specific callbacks for each mode.

[x] Use Chart.defaults instead of setting it for each individual Chart object.

[x] Separate chart default options from automatic height update for tables.

All clear

All clear


llvm_39: fix on darwin

Motivation for this change
Build and use llvm_39 on darwin.
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Thanks! Curious if you know why it needs libxpc. Just thinking forward to if we wanted to use this for a stdenv bootstrap since using unfree stuff like libxpc in the stdenv makes things a lot messier.

@copumpkin I didn't realize it was significant so did write a note about it, but without it there is a build failure when something tries to include xpc.h. I think the failure is towards the start of the build, so removing that input and building should reveal the problem within about 5-10 minutes.

Ah, was just wondering what llvm actually did with it. I'll poke around later to try to understand why they need it.

Aha, https://github.com/llvm-mirror/compiler-rt/search?utf8=✓&q=xpc

So it seems like it's all part of the TSAN stuff, which doesn't seem essential or needed for bootstrap. So when/if we get to 3.9, I might make that optional and not use it during bootstrap.

Thanks for tracking it down! Disabling during bootstrap makes sense.


ARROW-352: [Format] Add time resolution to Interval, schema documentation

I also added brief explanatory notes to some other types.
Internal storage for timedelta / interval types seem to be somewhat inconsistent across SQL systems. ANSI SQL provides the YEAR_MONTH and DAY_TIME semantic interval types. I propose that we settle on 64-bit integer representation and add a time resolution (consistent with Time, Timestamp) for the DAY_TIME variety.
If we run into problems down the road and need something other than 64-bits, we may need to add a bit width member to Interval, but this seems like unnecessary complexity at this stage.
Is this type used in the Java implementation or any downstream users of Arrow?
@siddharthteotia @jacques-n @julianhyde

I made https://github.com/apache/arrow/pull/3644 and https://github.com/apache/arrow/pull/3645 to show possible implications for changes to the java side with two different approaches to adding a Interval type that supports seconds, milliseconds, etc to replace the DAY_TIME resolution type.  I think the existing YEAR_MONTH type matches what has already been discussed on the mailing list.  If either of these approaches look promising can we try to port the FBS file changes to this PR and then continue with implementation?

I think the way to go is a new interval type instead of trying to retrofit the new format on top of day-time.  This will retain backward compatibility with the existing consumers of the java code base.  I updated https://github.com/apache/arrow/pull/3644 which contains the new type and a java implementation with light unit tests for it.  @wesm @pravindra @praveenbingo @jacques-n could you take a look at this to see if it is a reasonable way forward?

Closing in favor of new @emkornfield pull request


Execute method memory leak

Hi Jake,
I've run into a problem when using one certain command ("/usr/local/bin/mysql.server start"). When using this command in terminal the output is:
Starting MySQL\n
.. SUCCESS! \n

When I use this command with shout, the execute method never returns. I've tried digging a bit deeper and found that the problem might be with how this snippet of code is reading the string from memory:
let str = data.withUnsafeBytes { (pointer: UnsafePointer<CChar>) in
    return String(cString: pointer)
}

With most commands I execute using shout this pointer points to a C string in memory that is terminated by a \0 byte, but with this particular command the first line Starting MySQL\n is not null terminated in memory:

As a result, any data in memory after the data I need, until the first \0 byte gets included in the string:

In this case it's just the apple but I've seen it have anything from random characters to names of cocoa classes included in the string.
I've also had the operating system pop up alerts about memory leaks when this happens and my guess would be that this memory leak is causing channel.readData() to never return for some reason so the .done case in execute method is never reached.
When I looked at this code my first thought was to create the string from the data with String(data: data, encoding: .utf8) but this might cause problems assuming an encoding of utf8 so I'd be happy to hear you thoughts on this.
Is the data returned by the channel supposed to be null terminated?
If it is, any ideas on why it is not in this particular case?
If it is not, is there a way we can change this code to account for this?
As a side note:
The command /usr/local/bin/mysql.server stop which has an almost identical response in terminal does not cause this problem and seems to be always null terminated in my case.

Hi Jake,
I've discovered why the command was not returning and it turns out to be a problem with the mysql startup script.
I'm not closing the issue just yet in case you want to investigate why this was causing memory leaks. If not feel free to close it.
If you need to reproduce this, the line in the mysql.server script that was causing it not to return is this one:
$bindir/mysqld_safe --datadir="$datadir" --pid-file="$mysqld_pid_file_path" $other_args >/dev/null &

I am running into an issue in the same place. It appears this is assuming a null terminated string but the buffer is not null terminated.

I am running into an issue in the same place. It appears this is assuming a null terminated string but the buffer is not null terminated.

Do you have examples of commands where this happens? The code has a bunch of deprecated withUnsafeBytes and dangling pointer warning, not sure if this has anything to do with it. I've tried taking them all out but my limited knowledge on how to do it properly instead was causing even stranger output.

The place where we are seeing the most crashes due to this when running /usr/bin/unzip

I believe String(data: data, encoding: .utf8) may partially fix the problem -- encoding is not a problem, as String(cString: pointer) assumes UTF-8 encoding anyway. My fear is that this will not work on the last line of text with a terminating null byte at the end, as using String(data:) will interpret this as a character and not as a terminator.
For example if the server sends "hello world" with a null byte terminator, using String(cString:) results in the string "hello world" as expected, while I believe using String(data:) would result in "hello world\0". Granted there is no comment in the code for why I didn't just use String(data:), but I'm guessing this is the reason.
This is definitely an issue that should be resolved, I'm just not entirely sure how to resolve it. Will look into this more.

The place where we are seeing the most crashes due to this when running log show --style json but /usr/bin/unzip is also problematic.

Just had a go at unzip with a 2.5GB zipped folder and wasn't able to reproduce it. Seems to be properly terminated in memory although I'm not sure if that was on purpose or if there just happened to be a \0 byte there.
In my case the mysql script was keeping the error output busy (although there seemed to be nothing on there).
While looking around I came across an article that mentioned libssh2_channel_read_ex going into a loop if something is writing excessive amounts to the error output. I temporarily solved my issue by redirecting the error output to /dev/null by putting 2>/dev/null after the command. This just discards any errors.

I created a pull request fixing the warnings. This does not address this issue but I assume the warnings should be fixed.

I believe String(data: data, encoding: .utf8) may partially fix the problem -- encoding is not a problem, as String(cString: pointer) assumes UTF-8 encoding anyway. My fear is that this will not work on the last line of text with a terminating null byte at the end, as using String(data:) will interpret this as a character and not as a terminator.
For example if the server sends "hello world" with a null byte terminator, using String(cString:) results in the string "hello world" as expected, while I believe using String(data:) would result in "hello world\0". Granted there is no comment in the code for why I didn't just use String(data:), but I'm guessing this is the reason.
This is definitely an issue that should be resolved, I'm just not entirely sure how to resolve it. Will look into this more.

Hi Jake,
As for the conversion to string, this seems to work fine in my case:
let cstr:[UInt8] = [65,66,67,0]
let cdata = Data(cstr)
let str = String(data: cdata, encoding: .utf8)!
print(str)

But I've seen people converting Data -> String -> C-String -> String to get rid of null terminators:
let cstr2:[UInt8] = [65,66,67,0]
let cdata2 = Data(cstr2)
let str2 = String(cString: String(data: cdata2, encoding: .utf8)!.cString(using: .utf8)!)
print(str2)

As for the general problem, my guess is that memory leaks occur if there is excessive amounts of data being read or written. Perhaps when a buffer somewhere is overflowing and the unsafe reading of bytes is trying to read bytes that don't exist anymore.
I have limited knowledge when it comes to this kind of stuff so I might be wrong but perhaps it's time to get rid of the deprecated warnings by doing it the new way they're intended to be used?

I can confirm the changes in #46 fix the issue. I am able to consistently reproduce the problem running the command log show --style json --info --debug which returns a large amount of data dependent on the host. The environment I am testing with is consistently returning 9k-10k log messages.

I've also reviewed the changes in PR #46 and they do fix the memory leak issue. Can someone link PR #46 to this issue so it may be closed once merged?
For completeness sake:
This did not solve my original problem with the mysql script but I have posted on the MySQL Forums about this in case anyone is interested: https://forums.mysql.com/read.php?132,688122

PR #46 was merged


fix: ec violation message

Description
The violation message changed and this updates the test. Second commit formats the code using go fmt.
Issue ticket number and link
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Was not
Checklist:

[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

/approve

/test redhat-appstudio-e2e

@cuipinghuo could you review/approve this change?

I think we’re deadlocked as e2e tests run with the current infra-deployments and for the ec update we need this to be merged…

/lgtm
/approve

/lgtm


fix(parser): fix generate swagger when request or response type is primitive schema

@kevwan please review

issue: https://github.com/zeromicro/goctl-swagger/issues/105


Code golf

Coverage remained the same at 100.0% when pulling bb888e8dfaa4d34c1fa8a1a2231537fa7938377f on fix/code_golf into af91567c0b783d250587f6872929ce6deb021c45 on master.


Chart Data TinyWebDB import

There should be the ability to import data from a TinyWebDB.

There are quite a bit of complications with TinyWebDB import. For now, this should be put on hold and discussed in more detail later on.

TinyWebDB support dropped.


Badge Request

Username and Discrim: It'sJustJosh#1156
User ID:<PHONE_NUMBER>61197056
Image Link: https://i.imgur.com/Q1XS8O3.png

done~!


[analyzer] Exit with error code on invalid compilation database

Exit with error code if the compilation database given to the CodeChecker analyze
command is an invalid json file.

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- analyzer/codechecker_analyzer/cmd/analyze.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- analyzer/codechecker_analyzer/cmd/analyze.py  1

See the complete overview on Codacy


Should rgba() silently fail if input is a CSS variable?

[seemly/rgba]: Invalid color value var(--colors-primary).
Coming from naive-ui I want to use CSS vars instead of hard coded colors.
Would it make sense to silently fail the rgba() function, or just trigger a warning instead of an error?
common: {
    primaryColor: 'var(--colors-primary)',
}

is there any solution for this ? i also getting same

changed it myself, fork or https://www.npmjs.com/package/patch-package


Restyle documentation.

https://woofwoofinc.github.io/rktmachine/

Thanks, @passy. Arimo is an Arial so going with that route as the fallback stack there. There's a reasonable bold path as well. Anonymous Pro is a monospace of the Monaco/Consolas variant.


Immediately clicking "verify now" on a new account, causes 502 error.

New 3bot account.
On the redirect to login page, instead of waiting 5s you immediately do verify now.

Yes, because the container is still starting up. The 'verify now' should be removed for new accounts

Currently "fixed" by removing the verify now button, will later change to check if the user exists or not, whether to show the button.


Remove use of rocblas_gemm_flags_pack_int8x4 inside code base for rocblas v3.0 or higher

rocBLAS has deprecated packed int8 format rocblas_gemm_flags_pack_int8x4 .
MIGraphX should use compile time ifdefs to avoid use of that flag.

Under gemm_impl.cpp:
rocblas_gemm_flags flag =
        int8_x4_format ? rocblas_gemm_flags_pack_int8x4 : rocblas_gemm_flags_none;

since rocblas_gemm_flags_pack_int8x4 isn't defined in future versions of rocBLAS, we can just add #if ROCBLAS_VERSION_MAJOR < 3 before this line, and otherwise we just set the flag to rocblas_gemm_flags_none.


ng build is slow, runs out of memory after angular upgrade from 10 to 11 with notus-angular template

🐞 Bug report
Command (mark with an x)

[ ] new
[x] build
[x] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

 Yes, the previous version in which this bug was not present was: ....
Initially I used this version of 'notus-angular' template:  https://github.com/creativetimofficial/notus-angular/commit/923b9de2f994a16ca1e0d4902e7c8d8ac2dc59f9
It requires angular 10.2.1 and ng serve command is fast (few seconds)
The repo of my project https://github.com/array-team/argo-platform/commit/d9f52145ec91ba18a8ab7c80d0c8fb536a1073ed
Description
I tried update most of all packages using ncu and package.json of my project became
  "dependencies": {
    "@angular/animations": "11.2.7",
    "@angular/common": "11.2.7",
    "@angular/compiler": "11.2.7",
    "@angular/core": "11.2.7",
    "@angular/forms": "11.2.7",
    "@angular/platform-browser": "11.2.7",
    "@angular/platform-browser-dynamic": "11.2.7",
    "@angular/router": "11.2.7",
    "@fortawesome/fontawesome-free": "5.15.3",
    "@popperjs/core": "2.9.1",
    "@tailwindcss/forms": "0.2.1",
<EMAIL_ADDRESS>"^1.11.0",
    "@types/three": "^0.126.2",
    "chart.js": "2.9.4",
    "popper": "^1.0.1",
    "rxjs": "6.6.7",
    "tailwindcss": "2.0.4",
    "three": "^0.126.1",
    "treejs": "^0.6.2",
    "tslib": "2.1.0",
    "zone.js": "0.11.4"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "0.1102.6",
    "@angular/cli": "11.2.6",
    "@angular/compiler-cli": "11.2.7",
    "@angular/language-service": "11.2.7",
    "@types/jasmine": "3.6.9",
    "@types/jasminewd2": "2.0.8",
    "@types/node": "14.14.37",
    "codelyzer": "6.0.1",
    "jasmine-core": "3.7.1",
    "jasmine-spec-reporter": "6.0.0",
    "karma": "6.3.2",
    "karma-chrome-launcher": "3.1.0",
    "karma-coverage-istanbul-reporter": "3.0.3",
    "karma-jasmine": "4.0.1",
    "karma-jasmine-html-reporter": "1.5.4",
    "protractor": "7.0.0",
    "ts-node": "9.1.1",
    "tslint": "6.1.3",
    "typescript": "^4.1.5"

after that I ran command:
rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm run build:tailwind && npm start
I got

`ng serve`: log to terminal
> ng serve
Compiling @angular/core : es2015 as esm2015
Compiling @angular/common : es2015 as esm2015
Compiling @angular/platform-browser : es2015 as esm2015
Compiling @angular/router : es2015 as esm2015
Compiling @angular/platform-browser-dynamic : es2015 as esm2015
⠼ Generating browser application bundles (phase: building)...
<--- Last few GCs --->
[76566:0x104679000]   336659 ms: Scavenge (reduce) 2027.9 (2066.6) -> 2027.9 (2066.6) MB, 2.7 / 0.0 ms  (average mu = 0.446, current mu = 0.297) allocation failure
[76566:0x104679000]   336735 ms: Scavenge (reduce) 2029.2 (2067.8) -> 2029.2 (2067.8) MB, 3.7 / 0.0 ms  (average mu = 0.446, current mu = 0.297) allocation failure
[76566:0x104679000]   337355 ms: Scavenge (reduce) 2031.7 (2070.3) -> 2031.7 (2070.3) MB, 6.8 / 0.0 ms  (average mu = 0.446, current mu = 0.297) allocation failure
<--- JS stacktrace --->
FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
1: 0x1000af220 node::Abort() [/usr/local/bin/node]
2: 0x1000af396 node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
3: 0x1001ecccd v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
4: 0x1001ecc77 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
5: 0x10033157f v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
6: 0x10036b2d4 v8::internal::EvacuateNewSpaceVisitor::Visit(v8::internal::HeapObject, int) [/usr/local/bin/node]
7: 0x10035ade9 void v8::internal::LiveObjectVisitor::VisitBlackObjectsNoFail<v8::internal::EvacuateNewSpaceVisitor, v8::internal::MajorNonAtomicMarkingState>(v8::internal::MemoryChunk*, v8::internal::MajorNonAtomicMarkingState*, v8::internal::EvacuateNewSpaceVisitor*, v8::internal::LiveObjectVisitor::IterationMode) [/usr/local/bin/node]
8: 0x10035a9d7 v8::internal::FullEvacuator::RawEvacuatePage(v8::internal::MemoryChunk*, long*) [/usr/local/bin/node]
9: 0x10035a6e6 v8::internal::Evacuator::EvacuatePage(v8::internal::MemoryChunk*) [/usr/local/bin/node]
10: 0x10036e045 v8::internal::PageEvacuationTask::ProcessItems() [/usr/local/bin/node]
11: 0x10036dfe0 v8::internal::PageEvacuationTask::RunInParallel(v8::internal::ItemParallelJob::Task::Runner) [/usr/local/bin/node]
12: 0x10034394c v8::internal::ItemParallelJob::Task::RunInternal() [/usr/local/bin/node]
13: 0x100343cd2 v8::internal::ItemParallelJob::Run() [/usr/local/bin/node]
14: 0x10035c36d void v8::internal::MarkCompactCollectorBase::CreateAndExecuteEvacuationTasks<v8::internal::FullEvacuator, v8::internal::MarkCompactCollector>(v8::internal::MarkCompactCollector*, v8::internal::ItemParallelJob*, v8::internal::MigrationObserver*, long) [/usr/local/bin/node]
15: 0x10035c14a v8::internal::MarkCompactCollector::EvacuatePagesInParallel() [/usr/local/bin/node]
16: 0x10034fb9a v8::internal::MarkCompactCollector::Evacuate() [/usr/local/bin/node]
17: 0x10034da42 v8::internal::MarkCompactCollector::CollectGarbage() [/usr/local/bin/node]
18: 0x100331b01 v8::internal::Heap::MarkCompact() [/usr/local/bin/node]
19: 0x10032fdad v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
20: 0x10032e673 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
21: 0x100337442 v8::internal::Heap::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node]
22: 0x10033749a v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node]
23: 0x1003146ed v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/usr/local/bin/node]
24: 0x10059a72a v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node]
25: 0x10083d119 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/usr/local/bin/node]
sh: line 1: 76565 Abort trap: 6           npm start

Later I saw that original repository of the notus-angular template has updated dependencies
https://github.com/creativetimofficial/notus-angular/releases/tag/1.1.0
I tried run ng serve for updated version of the template and it was build and run, but required ~ 7-8 minutes for
generating browser application bundles (phase: building).
It looks like a bug too. But I don't understand where. Recall that the older version of the template with command ng serve ran much faster.
🔬 Minimal Reproduction
I couldn't reproduce crash with new repo, but the slowdown is reproducible using repo of the template of different versions
Faster version: https://github.com/creativetimofficial/notus-angular/commit/923b9de2f994a16ca1e0d4902e7c8d8ac2dc59f9
Slower version: https://github.com/creativetimofficial/notus-angular/commit/2057723e3c2a405d8c08b5e970b38fb19eb4cad0
Simple steps to reproduce this bug.
npm run install:clean
🌍 Your Environment
In a local directory of the notus-angular template after updating packages:
Angular CLI: 11.2.4
Node: 15.12.0
OS: darwin x64

Angular: 11.2.5
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1102.4
@angular-devkit/build-angular   0.1102.4
@angular-devkit/core            11.2.4
@angular-devkit/schematics      11.2.4
@angular/cli                    11.2.4
@schematics/angular             11.2.4
@schematics/update              0.1102.4
rxjs                            6.6.6
typescript                      4.1.5

before upgrading:
Angular CLI: 10.1.2
Node: 15.12.0
OS: darwin x64

Angular: 10.1.2
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1001.2
@angular-devkit/build-angular   0.1001.2
@angular-devkit/core            10.1.2
@angular-devkit/schematics      10.1.2
@schematics/angular             10.1.2
@schematics/update              0.1001.2
rxjs                            6.6.3
typescript                      4.0.3

In Angular CLI version 11.2 we introduced the opt-in feature to process tailwind CSS (https://github.com/angular/angular-cli/pull/19935) as part of the build.
In the mentioned project, the tailwind CSS configuration is configured to purge unused CSS https://github.com/creativetimofficial/notus-angular/blob/2057723e3c2a405d8c08b5e970b38fb19eb4cad0/tailwind.config.js#L6, even during development, which is not recommended as take a considerable amount of time and resources.

Matric
Duration

With tailwind CSS processing with purge CSS
149589ms

With tailwind CSS processing without purge CSS
9267ms

Without tailwind CSS processing
7599ms

Please file an issue with https://github.com/creativetimofficial/notus-angular


unix:/tmp/jackcast.sock failed (2: No such file or directory)

On occasion Nginx reports the following on boot,
2020/06/18 14:22:17 [crit] 1333#1333: *1 connect() to unix:/tmp/jackcast.sock failed (2: No such file or directory) while connecting to upstream, client: <IP_ADDRESS>, server: _, request: "GET / HTTP/1.1", upstream: "http://unix:/tmp/jackcast.sock:/", host: "jackcast.hopto.org"

There may be a race condition with Nginx and Gunicorn. Check service dependencies.

Debugging further this is not reproducible. It appears the socket does not get created until the user logs in (i.e., through an ssh session).


[WFLY-11366] Validate requirement for modules previously exported by javax.ejb.api on javax.management.j2ee.api

Thi PR removes some unused dependencies from javax.management.j2ee.api that were being exported previously by javax.ejb.api.

There are not first level dependencies of jboss-j2eemgmt-api_1.1_spec.jar to those modules
javax.management.j2ee.api resource is just a buch of interfaces without any implementation code; there are no service loaders or external configurations.

Additionally to the removal of the reviously exported dependencies from javax.ejb.api, it was found that org.jboss.ejb-client was unused. So, we remove it as well in this PR.
Jira issue: https://issues.jboss.org/browse/WFLY-11366

@kabir all good, BOMs and QS only rely on server's Maven Dependency Management


Is it possible to add a custom bindfs mount?

Is it possible to add a custom bindfs mount?

Yes, link against libjailbreak and then you can do
run_unsandboxed(^{
	ret = mount("bindfs", <destination>, MNT_RDONLY, <source>);
});


install des not work on latest version of Rasbian Jessie light

PiVPN Issue Template

Console output of curl install.pivpn.io | bash
curl -L https://install.pivpn.io | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   178  100   178    0     0    258      0 --:--:-- --:--:-- --:--:--   258
100 43750  100 43750    0     0  52915      0 --:--:-- --:--:-- --:--:-- 52915
:::
::: sudo will be used for the install.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site.py", line 563, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 545, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 272, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 247, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 237, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 582, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 509, in get_config_vars
    import re
  File "/usr/lib/python2.7/re.py", line 105, in <module>
    import sre_compile
  File "/usr/lib/python2.7/sre_compile.py", line 15, in <module>
    import sre_parse
ValueError: bad marshal data (string ref out of range)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site.py", line 563, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 545, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 272, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 247, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 237, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 582, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 509, in get_config_vars
    import re
  File "/usr/lib/python2.7/re.py", line 105, in <module>
    import sre_compile
  File "/usr/lib/python2.7/sre_compile.py", line 15, in <module>
    import sre_parse
ValueError: bad marshal data (string ref out of range)

Console output of pivpn add or pivpn add nopass

Console output of pivpn debug

Issue
hi - trying to install pivpn on the latest version of Rasbian Jessie lite [11.01.17] and get the above errors.  It is a clean build, downloaded today, followed by sudo apt-get update && sudo apt-get upgrade ; which worked successfully, rebooted, ran the curl command to install pivpn and got the above errors.
Help appreciated please.

I don't think its the install but rather some package that is messed up.  if you run apt-get update and upgrade again does it go by cleanly?
what about trying:
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 10
sudo update-alternatives --set python /usr/bin/python2.7
and
sudo dpkg --configure -a
see if any of those commands give errors.
we don't use python so not sure why python2.7 is showing up at all.  hence my guesses above.

hi 0-kaladin, thanks for your help.  You were right - nothing to do with pivpn.  I tried your suggestions but this did not fix the issue.  There were other issues - so looks like a corrupt OS install.  So I re-installed the Jessie OS on the SD card, did an update and upgrade and now have pivpn installed.  Many thanks.


Clean up json output making it simpler

[kind/Feature]

Which functionality do you think we should add?
There is a lot of scatter in json output code with things that should not need to repeat, being repeated increases chances of having non-uniform json output
Why is this needed?
Cleanup will help make it easier to code

@mohammedzee1000 This not a feature request. So can you please apply the correct label for example /kind cleanup of /kind code-refactor

There is a lot of scatter in json output code with things that should not need to repeat, being repeated increases chances of having non-uniform json output

@mohammedzee1000 can you please list things that need to be fixed?
/kind cleanup
/area json-output

Will do


TypeError: Cannot read property 'typeName' of undefined

Description
Seeing non-descriptive error (below) on gridsome build and gridsome develop.
TypeError: Cannot read property 'typeName' of undefined
    at fieldValue (.../node_modules/gridsome/lib/graphql/createFieldDefinitions.js:43:23)
    at fieldValues (.../node_modules/gridsome/lib/graphql/createFieldDefinitions.js:26:16)
    at createFieldDefinitions (.../node_modules/gridsome/lib/graphql/createFieldDefinitions.js:9:14)
    at module.exports.store (.../node_modules/gridsome/lib/graphql/nodes/index.js:14:20)
    at module.exports.store (.../node_modules/gridsome/lib/graphql/createSchema.js:7:41)
    at App.createSchema (.../node_modules/gridsome/lib/app/App.js:168:20)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Expected result
Build is successful.
Environment
package.json:
{
  "name": "siteName",
  "private": true,
  "scripts": {
    "build": "gridsome build",
    "develop": "gridsome develop",
    "explore": "gridsome explore"
  },
  "dependencies": {
    "@gridsome/source-contentful": "^0.3.0",
    "gridsome": "^0.6.4",
    "vue-showdown": "^2.4.1"
  },
  "devDependencies": {
    "gridsome-plugin-purgecss": "^1.0.12",
    "gridsome-plugin-tailwindcss": "^1.3.2"
  }
}

gridsome.config.js
module.exports = {
	siteName: 'SiteName',
	plugins: [
		{
			use: 'gridsome-plugin-tailwindcss'
		},
		{
			use: 'gridsome-plugin-purgecss'
		},
		{
			use: '@gridsome/source-contentful',
			options: {
				space: process.env.xyz,
				accessToken: process.env.xyz,
				host: 'cdn.contentful.com',
				environment: 'master',
				typeName: 'Contentful',
				routes: {
					'Tag': '/tags/:slug',
					'Article': '/articles/:slug',
					'Page': ':slug'
				}
			}
		}
	]
}

For Tooling issues:

Node version: v10.14.2
Platform: Mac

Notes:

Ran npm install/update today and noticed @gridsome/source-contentful had been updated today but unsure if that's related.
Tried upgrading/downgrading Gridsome and Contentful in package.json

Fixed. Related to featured content being unpublished/deleted in Contentful.

Hi Nol, how did you fix it? I am facing the same issue after deleting content in Contentful.

@ukristen I encountered this issue and spent hours searching my code for bugs. I had unpublished a singe photo. I republished it, but replaced the photo in the Contentful record, as to keep the same record id. This fixed my issue.

Thanks, @jxlstudio.

This didn't solve my issue, since the photo was completely deleted (non recoverable). It's not helpful that the build doesn't give a decent pointer. For those encountering this, I've change lines 75:81 in the gridsome/lib/graphql/createFieldDefinitions.js (v 0.7.16) into:
      for (let i = 0; i < length; i++) {
        if (value[i] && value[i].hasOwnProperty('typeName')){
          if (!value[i].typeName) {
            warn(`Missing typeName for reference at: ${path.join('.')}.${i}`)
          } else if (!currentValue.typeName.includes(value[i].typeName)) {
            currentValue.typeName.push(value[i].typeName)
          }
        } else {
          warn(`Missing typeName property for reference at: ${path.join('.')}.${i}`)
        }
      }

Which at least points into the right direction. This way I was able to find the deleted photos which were linked in other entries.

This didn't solve my issue, since the photo was completely deleted (non recoverable). It's not helpful that the build doesn't give a decent pointer. For those encountering this, I've change lines 75:81 in the gridsome/lib/graphql/createFieldDefinitions.js (v 0.7.16) into:
      for (let i = 0; i < length; i++) {
        if (value[i] && value[i].hasOwnProperty('typeName')){
          if (!value[i].typeName) {
            warn(`Missing typeName for reference at: ${path.join('.')}.${i}`)
          } else if (!currentValue.typeName.includes(value[i].typeName)) {
            currentValue.typeName.push(value[i].typeName)
          }
        } else {
          warn(`Missing typeName property for reference at: ${path.join('.')}.${i}`)
        }
      }

Which at least points into the right direction. This way I was able to find the deleted photos which were linked in other entries.

This was a huge help and a great improvement. You should submit this as a PR.


What List is deprecated? Where is FlatList in you lib?

Note: List is deprecated. Use of List for dynamic list generation is discouraged. Use Flatlist instead.

Is this for real? I could hardly notice that string of text.
You don't have FlatList in your lib. Bother explain what you by Use Flatlist instead.

Use FlatList instead

The string FlatList redirects you to https://facebook.github.io/react-native/docs/flatlist.html

@SupriyaKalghatgi
FlatList doesn't work at ALL. It doesn't even render anything!

@wzup May be you are not writing it properly
Check NativeBase KitchenSink for examples https://github.com/GeekyAnts/NativeBase-KitchenSink/blob/master/src/screens/list/listitem-noIndent.js

May be you are not writing it properly

Yep, you're right. This is the right way.
return (
    <View style={{}}>
        <FlatList
            keyExtractor={ item => item.key }
            data={ data }
            renderItem={ this.renderItems }
        />
    </View>
);

renderItems( props ) {
    return (
        <ListItem key={item.key}
            button={true}
            first={props.index === 0}
            style={listItem}
            >
            <Left>
                <Text style={css.text}>{item.text}</Text>
            </Left>
            <Right style={css.right}>
                <Icon name="arrow-forward" style={css.chevron} />
            </Right>
        </ListItem>
    )
}

What about for non-dynamic lists? what are we supposed to use? this statement is very cryptic and barely noticeable. I think it's important to not only explain why its deprecated, but to give viable alternatives for both static and dynamic lists (although I do see that the dynamic list alternative works).

Bumping this - neither of the above examples work for me.
<ListItem key={item.key} button></ListItem> results in nothing rendering.
<ListItem icon key={item.key}></ListItem> works however.


About the ACIC_2019 dataset.

Thanks for the code! 💯 But I encountered a problem.
In this git repo and the ACIC original website, only the data generator is provided.
In the data generator`s code, it is said that we could find the data.csv from "Epilepsy dataset from UCI repository http://archive.ics.uci.edu/ml/datasets/Epileptic+Seizure+Recognition".
But I found that this dataset is removed from the UCI repo. Would you mind providing the "data.csv" that used in this paper? Because getting the data.csv from different sources might not yield the same dataset that is used in this paper.
I would really appreciate some help~ : )

I encounter the same problem,  have you solved your problem？


Foreign key field disappear in swagger docs after adding depth attribute in Serializer

Whenever I define the depth attribute than foreign key field from swagger docs in POST section gets disappears. That's seems strange because I required depth = 1 when I want related data in my GET request. So I can not remove this in order to get this related field parameter in POST section.
Here is the case.
Model:
from django.db import models
from django.conf import settings
# Create your models here.

User = settings.AUTH_USER_MODEL

class Todo(models.Model):
    user = models.ForeignKey(User)
    title = models.CharField("Title", max_length=255)
    completed = models.BooleanField("Completed")

Serializer without depth =1.
from rest_framework import serializers
from models import Todo

class TodoSerializer(serializers.HyperlinkedModelSerializer):
   class Meta:
       model = Todo

Swagger output:

Now If I add depth = 1 than Swagger does not display related field.

Let me know if anyone has any clue about this.
Thanks :)

@abdulwahid24 have you found a solution to this? I found your stack overflow and tried your solution there but am not able to submit a pk in my swagger post example


run locusts -f .yml --master and --worker  via linux function bug

if worker in linux env,the rps is to slow.
if master and worker all in mac env,the rps is normal.
master env:
mac or linuux
worker env:
mac: pass
linux: fail (docker and local hanve same issue)
locust version:1.2.3

You need to narrow it down (a lot) and include more details. Once you've done that, I suggest posting on stackoverflow. Dont post here unless you know it is a bug.

no one have this bug?

Nope...

ok thanks


R200 sensor access

I require the distance of an object from the r200 camera using the get_depth_scale function.
I am uncertain of how to make use of this function and access the sensors as I can't find sensors in the .h files.
Thank you for prompt respons

[Realsense Customer Engineering Team Comment]
Please refer to rs-sensor-control.cpp to control the sensor.


Create ApplicationHandler

Adds the ApplicationHandler class containing the handle method previously used in CmdApplication
This move was made to eventually remove the command in favour of the button-based approval/denial of applications.
I also decided to make the bot reply more vebose by listing the steps it currently goes through.
Tho, due to how the queue() method works (That being async) could the bot already be done before the messages are fully updated...
Only alternatives would be either logging in the console, or using the thread-blocking complete()

Cool. I'll test this out soon.

Had some issues with the RegEx.
Decided to just parse the markdown directly. Fields in Embeds are ordered, with 0 and 1 always being the user and repository fields respectively, so I cleaned up some things there.
You also forgot to close the bold text for the final success message.

I personally would still have checks to ensure the fields are user and repo respectively. Just in case there would be a random edge-case that could break this check...

@Andre601 Wouldn't we deny them if they violate the usual URL rules (since it would be an invalid user & repo location)?
Will also implement edge case tests with #19.

I guess... So it's fine then.


Ioc 225

Exposing the APIError struct so that consumers of the SDK can verify status on API response more easily (i.e. checking for 404s, etc.)

Related to: https://github.com/ClearChannelOutdoor/customer-sync-svc/pull/3


Bug: Kustomization details page shows top level object within the table

When viewing the details for a kustomization, in this case flux-system, you can see this object within the table of objects it is meant to be reconciling (self referential), but without status associated.

The old code from which this was copied was trying to draw a directed tree graph, so it incorporated the top level parent node in the data model.
We probably just need to remove that from the data or filter it out in the UI layer.

@sympatheticmoose @jpellizzari
Could you please provide a working link to a page in the current staging dashboard where I can see this issue?
I only see some pages with errors for flux-system and do not see an object of type Kustomization or KindKustomization at all in staging.

@opudrovs You will need to set up a local cluster to reproduce this. Then, I would recommend going through the Flux Getting Started Guide

@jpellizzari thanks, got through the guide yesterday and today.
Testing locally with the podinfo sample workload (from the development guide), almost everything is broken too.

@jpellizzari maybe this @ozamosi 's PR is related to the issues and will hopefully fix something:
#2193

@jpellizzari maybe this @ozamosi 's PR is related to the issues and will hopefully fix something: #2193

That looks unrelated. @opudrovs if you would like to put some time on my calendar, I can help you get a local environment running.

@jpellizzari OK, thank you! I am free today after 12 PM PST or tomorrow after 10 AM PST.


Adding this to terraform builtin

Hey! Have you all thought about adding this to terraform as a builtin provider? They're accepting of incoming contributions and it would make it easier for folks to use.

I have. I don't really have time at the moment to write the tests needed to be up to hashicorp's standards, but if someone wanted to PR those, I'm all for going upstream


Create sed tank python module and YAML template

Create sed.py which will have all the hydraulic functions necessary to calculate the design parameters in the plant which are needed by Fusion.
Also create an accompanying YAML template which will call sed.py's functions in order to fill in the template parameters.

@monroews We are beginning the sedimentation tank design. The width of the sedimentation tank is not currently defined in Python. However, in the 4540 DC and final project from last year, the width of the sed tank is given as a constant of 42 inches because that is the width of the PVC sheet. Is this width that should be defined in our manufacturers_constraints.yaml template?

Yes. The plate settler polycarbonate sheets that we are using are 42" wide. This would be an expert input in our old way of defining inputs. It should be relatively easy for someone to change this value.

@monroews We discussed keeping the length of the sedimentation tank constant and then basing the length of the flocculator channel on that length.
In order to keep the flocculator and sedimentation unit processes rectangular, the flocculator should be the same length as the sedimentation tank plus the inlet and outlet channels. So our question is should we keep the total length of the sedimentation process (e.g. tank + channels) constant so that the flocculator is always the same length, or keep just the length of the tank constant and have the channels (and therefore total length) vary.

I think the first question is whether it makes sense to make all of the channels the same size in the flow range from 20 to 60 L/s. I think that might make sense. And then the total length of the sed tanks is a constant and the flocculator length is a constant.

@monroews  Using the code that was written for the 4540 final assignment (H2FLows), the total channel width changes from 20 to 60 L/s. The exit channel remains constant around 40 cm but the inlet channel varies from 40 to 70 cm.
We are unsure if the 4540 code is correct and do not understand why the entrance channel scales up so much while the exit channel does not. We will review the Mathcad code to make sure that this is in fact the case.

The design constraints for each channel are different. The inlet channel must have very small pressure recovery (with v^2/2g<<5cm where 5 cm is the head loss through the sed tanks.
The other channels just need to be able to carry the flow without overflowing.
Geometric constraints then tend to set the size of the other channels (min width for the mason, pipe fittings).
Thus it appears that all sed tanks could be made identical if we are willing to have a 20 L/s plant where the channels are 30 cm wider than needed.
I propose that we do exactly that. Make the channels identical for all of these sed tanks from 20 to 60 L/s.

Ok we will standardize the channel width.
We have another question about the jet reversers and diffusers. Do the diffusers and jet reversers have the same diameter for all flow rates?

Diffusers always have the same flow rate as long as the sed tank width and upflow velocity don't change. That means that the diffusers and jet reversers are always the same for all flow rates.

Done!


[QUESTION] Should I make a mutex (or lock) for writing to LiteDatabase?

I am writing considerably many data to the LiteDatabase.
Fortunately there is only one UserCollection in the database.
I am not sure there would be a conflict when there are several write accesses at the same time.
Practically, there were some IOExceptions when I accessed the database more frequently.
Should I make a mutex(lock) manually to prevent this?
Or LiteDatabase already support it?

I think litedb donesn't support it and we should add lock.

Okay
Thank you for you help
LiteDB is being maintained now?
I can not see any activity on GitHub or Gitter ...
Your thought?


Intro get into house

Started implementing the intro from the beginning.
So far there is short scene on a boat, the pier, a walk up to the house and a padlocked door. The goal of this branch is to allow the player to get inside the house.
This is a currently a 'Draft PR' because it's still missing the SMS-conversation with grandma and actually unlocking the padlock.

It's now possible to unlock door and enter house. Lacks a lot of narrative flavour, but at least it works.
Perhaps merge now and use a new branch for linguistic improvements. Spelling should probably be checked first though.


fix: Alwaysontop window crash

Added jsdoc.

@gimre When I tested it with jitsi-meet-electron half of the times when the always on top window is displayed stays white. It seems there isn't any HTML injected.

Fixed with 329f249f33d03eee39fdbf1b9ce811588ed4a614


Information relating to approvers missing from documentation

I don't believe it's clarified anywhere in the documentation that the approvers specified must have access to the repo. While this isn't an impossible-to-guess step to take, the error resulting from this step not being taken is pretty opaque:
422 Validation Failed [{Resource:Issue Field:assignees Code:invalid Message:}]
IMHO it would be worth adding a note to the docs confirming that access for approvers to the repo is a step requiring taking.

This is in the readme! You can see it mentioned in the approvers documentation.


Feature 97 change owner of project

closes #97
closes #567
Albert Weißert<EMAIL_ADDRESS>Daimler TSS GmbH, imprint

Just a remark:
I have seen inside your integration test ProjectAdministrationScenario3IntTest.java:
        assertUser(USER_1).isOwnerOf(PROJECT_1);
        assertUser(USER_1).isOwnerOf(PROJECT_2);
        assertUser(USER_1).hasOwnerRole();

I would prefer:
  assertUser(USER_1).
             isOwnerOf(PROJECT_1).
             isOwnerOf(PROJECT_2).
             hasOwnerRole();

We have here a full fluent API and it's more readable (more like a "telling a story".
But let's keep it as is. For the future: Please use the fluent API approach like in all other integration tests.

@de-jcup:

Renamed UseCaseIdentifier.UC_ADMIN_ASSIGNS_OWNER_TO_PROJECT to UseCaseIdentifier.UC_ADMIN_CHANGES_PROJECT_OWNER.

Refactored ProjectAdministrationScenario3IntTest to fluent API.


Upgrade aws-sdk to v3

Was looking at the Gemfile for :penguin: to see if it would be possible to start using aws-sdk v3 instead of Fog, and surprisingly, this Gem is the only thing currently using aws-sdk. The upgrade is supposed to be totally backward compatible, so this is untested but just updated the gemspec and made sure the includes sort out.

Gonna go ahead and merge this,  can discuss on corresponding 🐧 PR.


Greenkeeper/eslint 4.6.1

Coverage remained the same at 96.8% when pulling 81458db409839af197dbc4d7326fe2f8da025db2 on greenkeeper/eslint-4.6.1 into e59a769e633ca0623740d9faac937ef128aca435 on master.


bump version to <IP_ADDRESS>

Add a note to the changelog and bump version to <IP_ADDRESS>. After the PR is merged, I'll publish to PyPI and publish new docs to pipx's GitHub pages.

I didn't mean to self-request a review (still learning what github buttons do).
It looks fine as long as you don't mind the extra spaces around "upgrading to <IP_ADDRESS> or above":
When  upgrading to <IP_ADDRESS> or above


Require a flag to revoke the last device in an account

This patch adds a flag to device remove for forcing removal of the last device in an account.
To revoke the last device in your account, you need to do
keybase device remove --force --last <device id>

Note that the revoke plumbing uses a bit of an "old" style where we copied args all over the place into different structures instead of passing keybase1 protocol structs around.  I didn't change any of that in favor of changing the least amount of code as possible.

The commits 0ad032971511...f1f8c92e8771 introduce visual changes on linux. :mag_right: 1 changed

Changed: Markdown-emoji (before) (after)

The commits 7f3a154e3389...68c81b82384a introduce visual changes on linux. :mag_right: 1 changed

Changed: Markdown-emoji (before) (after)

The commits 7f3a154e3389...ca5fdc9fe1fb introduce visual changes on linux. :mag_right: 1 changed

Changed: Markdown-emoji (before) (after)

The commits 7f3a154e3389...3c982de1a075 introduce visual changes on linux. :mag_right: 1 changed

Changed: Markdown-emoji (before) (after)


Paginate UTXO selection for fidelity bonds

The UTXO selection list for fidelity bonds can become quite long if there are many UTXOs. We could paginate the list or think of other ways to make it more space efficient.

because we want to preselect a valid suggestion, and also sort the UTXOs by size and confirmations and CJ status, we could make both lists scrollable, so advanced users could maybe scroll through if needed at all
any feedback?

because we want to preselect a valid suggestion, and also sort the UTXOs by size and confirmations and CJ status, we could make both lists scrollable, so advanced users could maybe scroll through if needed at all

I think this is already considered in #650, correct?

yes


mullvad-vpn: 2019.10 -> 2020.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://github.com/mullvad/mullvadvpn-app/releases.
meta.description for mullvad-vpn is: '"Client for Mullvad VPN"'.
meta.homepage for mullvad-vpn is: '"https://github.com/mullvad/mullvadvpn-app"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2020.2 with grep in /nix/store/93fx7cq38hi9igs64hgpgi7x1mb237w1-mullvad-vpn-2020.2

directory tree listing: https://gist.github.com/045b4490970a6e02322474c456bb7385

du listing: https://gist.github.com/b79fc1b5994f5912dd29cd001e3d002b

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
mullvad-vpn

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/93fx7cq38hi9igs64hgpgi7x1mb237w1-mullvad-vpn-2020.2 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mullvad-vpn https://github.com/r-ryantm/nixpkgs/archive/d4b4aff47eb690d9e9922eacbb5ec9a6c46ddff7.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/93fx7cq38hi9igs64hgpgi7x1mb237w1-mullvad-vpn-2020.2
ls -la /nix/store/93fx7cq38hi9igs64hgpgi7x1mb237w1-mullvad-vpn-2020.2/bin

cc @filalex77 @xfix for testing.

Handled in #80159.


Possible bug when expiring a silence in v0.5.1

I tried out version 0.5.x today. It looks like I've hit a bug:

Create a test alert.

Click the 'Silence' button for the alert, add a comment and email address. Leave the other fields as-is.

Expire the silence.

The silence will show under 'Elapsed', but the alert still has the yellow 'silenced' label on the Alerts page. I would not have expected the alert to show as silenced.

Is it only displayed to be a silenced and you are still getting the notification, or is it actually still silencing?

I can sort of reproduce this, for some reason I'm having quite a long delay ~3 minutes before a silence starts having an effect and same for when a silence expires .. it takes ~3 minutes before the previously silenced alerts are not displayed as silenced anymore. /cc @fabxc

It seems a bit too consistent to me, is this intended behavior @fabxc ?

We flag alerts as silenced or inhibited whenever we reevaluate the alert group for sending.
So if a 5 minute group_interval is running, it may still be showed as silenced for that amount at time but at no point does it influence the defined behavior.
If it is longer, i.e. a silence actually has prolonged effect and causes a notification to not be sent, it's indeed a bug.
Otherwise that's the behavior that has always been there and shouldn't be a 5.x thing.
Re-evaluating all that stat on every UI page load would definitely not scale. Ideally, we'd have some sort of in-memory cache on these that's properly invalidated on any change.

Dupe of #190


Migrate source from single repo

Migrate TwoopsTracker src from single repo to the monorepo. Please use git to export from the single repo to ensure full commit history is left intact.

finished by https://github.com/CodeForAfrica/api/pull/9


OpenCore v0.6.7 serial number changed

All is working well for me, except that the serial number I had before is not retained, based on what is showing on the about screen.  I transferred over all the entries in /EFI/OC/Config.plist within PlatformInfo -> Generic and double checked them.  I've done this several times before without issue, so can't understand why this time some random serial number is showing.  I tried editing the config.plist with XCode Editor, as well as with the latest OpenCore Configurator v<IP_ADDRESS> with the same results. Thoughts?
If this is not what others have experienced please post back so I know it is just me.  May need to go back to older OC version in the meanwhile.  Thanks!

Update:  Sorry for the double post, but since this other issue was closed ...
simprecicchiani already replied that he is noticed same issue there:
https://github.com/simprecicchiani/ThinkPad-T460s-macOS-OpenCore/issues/99#issuecomment-792114878

Fixed in v0.6.8 in @duszmox 's fork:
https://github.com/duszmox/Thinkpad-T460s-macOS-OpenCore/discussions/3[https://github.com/duszmox/Thinkpad-T460s-macOS-OpenCore/discussions/3](url)


File upload error for larger size than 1MB

Due Date
Suggested: 4/15/22 (not on fire)
Reason: This issue is not on fire for the demo stage of this project, but we would like to make sure it is addressed.
Description
We are unable to upload files larger than 1mb. For example, (see attached image) please follow these steps:

Select "back issues" tab
Select one of the issues
Go to issue gallery
Select "create issue gallery" button
Upload file larger than 1mb
it returns an error messge

We tried an alternate means of uploading the file and this also returned an error. We assume the problem is with uploading a file size larger than 1mb, rather than where the upload occurs.
Acceptance Critera

[ ] The platform should allow file uploads larger than 1mb
[ ] Check with Yuan or Hannah to confirm the problem is solved

Depends on https://github.com/pulibrary/princeton_ansible/issues/3027


Missing items

Bruh! there are a lot of things missing in this mod. Like a use for the regular animal pelt, no crafting recipe for Straw, or the stone club head, kiln bricks. From what I can tell a lot of the items in this mod have no recipes or uses.

recipes can be seen with REI and not JEI (1.20.1) just the stone club head dont have recipe

stone club can be made with right clicking stone with stone pebble (those stones that you find in the grass)