Node 8 on Windows: 404 for node-sass binary

Description of the problem:
When I try to ionic start an Ionic project on Windows with Node 8 and NPM 5, it fails because it can't download the node-sass binary. I think (and this can be totally wrong!), this is because app-scripts pins node-sass 4.5.0 :
PS C:\Users\Jan\Documents> ionic start v8Test super
? The directory v8Test contains file(s) that could conflict. Would you like to overwrite the directory with this new pr
oject? Yes
✔ Creating directory .\v8Test - done!
[INFO] Fetching app base (https://github.com/driftyco/ionic2-app-base/archive/master.tar.gz)
✔ Downloading - done!
[INFO] Fetching starter template super (https://github.com/driftyco/ionic-starter-super/archive/master.tar.gz)
✔ Downloading - done!
✔ Updating package.json with app details - done!
✔ Creating configuration file ionic.config.json - done!
[INFO] Installing dependencies may take several minutes!
> npm install
✖ Running command - failed!
[ERROR] An error occurred while running npm install (exit code 1):

        npm WARN deprecated<EMAIL_ADDRESS>Please update to the latest object-keys
        npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g

        ><EMAIL_ADDRESS>install C:\Users\Jan\Documents\v8Test\node_modules\node-sass
        > node scripts/install.js

        Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.0/win32-x64-57_binding.node
        Cannot download "https://github.com/sass/node-sass/releases/download/v4.5.0/win32-x64-57_binding.node":

        HTTP error 404 Not Found

        Hint: If github.com is not accessible in your location
              try setting a proxy via HTTP_PROXY, e.g.

              export HTTP_PROXY=http://example.com:1234

        or configure npm proxy via

              npm config set proxy http://example.com:8080

        ><EMAIL_ADDRESS>install C:\Users\Jan\Documents\v8Test\node_modules\fsevents
        > node install

        ><EMAIL_ADDRESS>postinstall C:\Users\Jan\Documents\v8Test\node_modules\node-sass
        > node scripts/build.js

        Building: C:\Program Files\nodejs\node.exe C:\Users\Jan\Documents\v8Test\node_modules\node-gyp\bin\node-gyp.js r
ebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
        gyp info it worked if it ends with ok
        gyp verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
        gyp verb cli   'C:\\Users\\Jan\\Documents\\v8Test\\node_modules\\node-gyp\\bin\\node-gyp.js',
        gyp verb cli   'rebuild',
        gyp verb cli   '--verbose',
        gyp verb cli   '--libsass_ext=',
        gyp verb cli   '--libsass_cflags=',
        gyp verb cli   '--libsass_ldflags=',
        gyp verb cli   '--libsass_library=' ]
        gyp info using<EMAIL_ADDRESS>        gyp info using<EMAIL_ADDRESS>| win32 | x64
        gyp verb command rebuild []
        gyp verb command clean []
        gyp verb clean removing "build" directory
        gyp verb command configure []
        gyp verb check python checking for Python executable "python2" in the PATH
        gyp verb `which` failed Error: not found: python2
        gyp verb `which` failed     at getNotFoundError (C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:13:12
)
        gyp verb `which` failed     at F (C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:68:19)
        gyp verb `which` failed     at E (C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:80:29)
        gyp verb `which` failed     at C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:89:16
        gyp verb `which` failed     at C:\Users\Jan\Documents\v8Test\node_modules\isexe\index.js:42:5
        gyp verb `which` failed     at C:\Users\Jan\Documents\v8Test\node_modules\isexe\windows.js:36:5
        gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:152:21)
        gyp verb `which` failed  python2 { Error: not found: python2
        gyp verb `which` failed     at getNotFoundError (C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:13:12
)
        gyp verb `which` failed     at F (C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:68:19)
        gyp verb `which` failed     at E (C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:80:29)
        gyp verb `which` failed     at C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:89:16
        gyp verb `which` failed     at C:\Users\Jan\Documents\v8Test\node_modules\isexe\index.js:42:5
        gyp verb `which` failed     at C:\Users\Jan\Documents\v8Test\node_modules\isexe\windows.js:36:5
        gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' }
        gyp verb check python checking for Python executable "python" in the PATH
        gyp verb `which` failed Error: not found: python
        gyp verb `which` failed     at getNotFoundError (C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:13:12
)
        gyp verb `which` failed     at F (C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:68:19)
        gyp verb `which` failed     at E (C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:80:29)
        gyp verb `which` failed     at C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:89:16
        gyp verb `which` failed     at C:\Users\Jan\Documents\v8Test\node_modules\isexe\index.js:42:5
        gyp verb `which` failed     at C:\Users\Jan\Documents\v8Test\node_modules\isexe\windows.js:36:5
        gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:152:21)
        gyp verb `which` failed  python { Error: not found: python
        gyp verb `which` failed     at getNotFoundError (C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:13:12
)
        gyp verb `which` failed     at F (C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:68:19)
        gyp verb `which` failed     at E (C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:80:29)
        gyp verb `which` failed     at C:\Users\Jan\Documents\v8Test\node_modules\which\which.js:89:16
        gyp verb `which` failed     at C:\Users\Jan\Documents\v8Test\node_modules\isexe\index.js:42:5
        gyp verb `which` failed     at C:\Users\Jan\Documents\v8Test\node_modules\isexe\windows.js:36:5
        gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' }
        gyp verb could not find "python". checking python launcher
        gyp verb could not find "python". guessing location
        gyp verb ensuring that file exists: C:\Python27\python.exe
        gyp ERR! configure error
        gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
        gyp ERR! stack     at PythonFinder.failNoPython (C:\Users\Jan\Documents\v8Test\node_modules\node-gyp\lib\configu
re.js:483:19)
        gyp ERR! stack     at PythonFinder.<anonymous> (C:\Users\Jan\Documents\v8Test\node_modules\node-gyp\lib\configur
e.js:508:16)
        gyp ERR! stack     at C:\Users\Jan\Documents\v8Test\node_modules\graceful-fs\polyfills.js:284:29
        gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)
        gyp ERR! System Windows_NT 10.0.15063
        gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Jan\\Documents\\v8Test\\node_modules\\node-gy
p\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=
"
        gyp ERR! cwd C:\Users\Jan\Documents\v8Test\node_modules\node-sass
        gyp ERR! node -v v8.0.0
        gyp ERR! node-gyp -v v3.6.1
        gyp ERR! not ok
        Build failed with error code: 1
        npm ERR! code ELIFECYCLE
        npm ERR! errno 1
        npm ERR<EMAIL_ADDRESS>postinstall: `node scripts/build.js`
        npm ERR! Exit status 1
        npm ERR!
        npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

        npm ERR!      C:\Users\Jan\AppData\Roaming\npm-cache\_logs\2017-05-31T10_39_55_197Z-debug.log

https://github.com/sass/node-sass/releases/download/v4.5.0/win32-x64-57_binding.node doesn't exist, the "57_binding.node" only appeared later with v4.5.3: https://github.com/sass/node-sass/releases
What behavior are you expecting?
It doesn't crash ;)
Which @ionic/app-scripts version are you using?
"@ionic/app-scripts": "1.3.7" from current Ionic install

#1012 includes a bump of that version.

Same problem. Package.json still pointing to node-sass 4.5.0.
Kindly update to 4.5.3

Had the same issue today because of Node 9.x. Uninstalling it and installing Node 8.x fixed the error.


SteamVR_TestIK scene not setup properly

Hi, I'm using the latest version of the plugin from the Asset Store, with Unity 2019.1.8f1, and tried running the SteamVR_TestIK scene: it spams errors due to both hands' target and poleVector transforms being unassigned:
UnassignedReferenceException: The variable target of SteamVR_IK has not been assigned.
You probably need to assign the target variable of the SteamVR_IK script in the inspector.
UnityEngine.Transform.get_position () <0x1b597d6c3f0 + 0x0006a> in <c0ef81e1639b423ab35ce0e4c08b5b7a>:0
Valve.VR.SteamVR_IK.LateUpdate () (at Assets/SteamVR/Scripts/SteamVR_IK.cs:30)

Maybe the IK script was updated with new fields and the scene wasn't modified?
I tried assigning whatever transforms in there, it removed the error but obviously the IK doesn't work as expected :) ! What's the proper setup?

Up.
Same issue here, with the same questions...

This scene is deprecated

Since the scene is deprecated and throws errors, please delete it to avoid any user confusion.


fix: back to top button

#126
This PR fixes issue #126

It kind of glitches when pressed

It kind of glitches when clicked. I can update the smoothScrollToTop() function

go ahead and do it !

I have made changes to the function, Now it works as expected
screen-capture.webm

@PrathameshSonje The PR #132 seems more smooth and reliable, will merge it instead, you can work on some other issues, stick around you will be assigned next one's fs


Security Issue

All right some more issues
Your GitHub Advisory URL: https://github.com/louislam/uptime-kuma/security/advisories/GHSA-m68c-5hqg-jwh6

You removed the ping ^^

Why need this issue? It is because GitHub Advisory do not send a notification to @louislam, it is a workaround to do so.

As long as louislam understands it, it's fine.

Maybe I reveal some details here, it is related to the 1.23.0-beta.1's changelog.

⬆ Security Fixes
https://github.com/louislam/uptime-kuma/pull/3421 Hardening: Avoid exposing the Uptime Kuma version to the public

Since a lot of web apps like Apache or php are also exposing their version to the public, so I think I would say it is a hardening rather than a vulnerability, I will not request a CVE number in this case.


[WIP] Add super gameboy support

not yet finished. just have commands working currently, no commands have been implemented yet

this is not useable yet, but i'll just merge this for now rather than solving merge conflicts all the time. it's disabled by default


RuntimeError: invalid argument 1: expected a matrix at THCTensorMathPairwise.cu:203

First of all, thank you for your sharing code.
There is a problem I don't know how to solve when running the project.
The problem is below:
(yolactpy3) root@lyh12-desktop-mf4jjvl-7bfcc8c77-njpbk:~/lyh12/my_project/yolact
# python eval.py --trained_model=weights/yolact_base_54_800000.pth --score_threshold=0.3 --top_k=100 --image=my_image.jpg

when I run code above, the output info is:
Config not specified. Parsed yolact_base_config from the file name.

Loading model... Done.
Traceback (most recent call last):
  File "eval.py", line 1020, in <module>
    evaluate(net, dataset)
  File "eval.py", line 797, in evaluate
    evalimage(net, args.image)
  File "eval.py", line 563, in evalimage
    preds = net(batch)
  File "/root/lyh12/anaconda/envs/yolactpy3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/root/lyh12/my_project/yolact/yolact.py", line 634, in forward
    return self.detect(pred_outs)
  File "/root/lyh12/my_project/yolact/layers/functions/detection.py", line 76, in __call__
    result = self.detect(batch_idx, conf_preds, decoded_boxes, mask_data, inst_data)
  File "/root/lyh12/my_project/yolact/layers/functions/detection.py", line 103, in detect
    boxes, masks, classes, scores = self.fast_nms(boxes, masks, scores, self.nms_thresh, self.top_k)
  File "/root/lyh12/my_project/yolact/layers/functions/detection.py", line 148, in fast_nms
    iou.triu_(diagonal=1)
RuntimeError: invalid argument 1: expected a matrix at /opt/conda/conda-bld/pytorch_1544081038057/work/aten/src/THC/generic/THCTensorMathPairwise.cu:203

What should I do?

Looks like you're not on Pytorch 1.0.1 or greater. Pytorch 1.0.1 introduced batch triu_, so no earlier version will work.

Thank you. It works after I update the Pytorch

Nice!

Sorry to bother you again. I have one more question:
How can I just get the mask of the eval photo?

Do you want to display just the masks, or get the masks as a numpy array?
For both, you'd be changing this function:
https://github.com/dbolya/yolact/blob/605b3c8fdf283642e7753c355bc6ee02f8db1380/eval.py#L128
Then for the former, multiply image_gpu by 0 on line 138 or something. For the latter, convert masks to numpy after line 149 (as done in line 149) and then you can do whatever you want with it. If you want to use this for something downstream (and thus don't want to be evaluating images), you can check out how prep_display and evalimage get to that point.


kabeljau: replace inkscape with cairosvg for build issues

Description of changes
kabelaju built fine on Linux-x86 but broke when building on Darwin due to the use of inkscape to generate the program icons. inkscape uses system UI resources that aren't normally available in the sandbox.
This replaces the call to inkscape with cairosvg to generate the icons.
(A patchfile would have been cleaner, but the code kept refusing patch after patch. CR/LF pehaps?)

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This does not produce images with different resolutions and introduces a semi-transparent border at the edge of the images.

The results should look exactly like the what the package currently has.

If a solution is found with cairosvg I would be willing to upstream it so that patching is not needed.

Thanks for the feedback. I'll keep working on it.
A silly question: why not bundle the icons with the source? They can't be that big.

For background: The reason this build fails on MacOS ("Darwin") is that the build software uses an isolated sandbox that doesn't have access to the underlying OS features. On Darwin, the Inkscape calls break with "can't access SystemAppearance" (probably the OS' own font management.)
Cairo comes with its own font management so the OS error never happens.

Note that the central Hydra build server does not use the macOS sandbox and there are many, many packages that are known to be broken with it. That’s not an argument against fixing packages that don’t build in the sandbox per se, but it does mean that fixing sandboxing issues will never result in packages building on Hydra / being cached for users that otherwise aren’t.

@emilazy thank you! TIL. I am but an egg (a cracked one at that)

Thanks for the feedback. I'll keep working on it.
A silly question: why not bundle the icons with the source? They can't be that big.

i feel kind of icky commiting things to source code than can be generated from the source code already, especially when it's binary data

Thanks for the feedback. I'll keep working on it.
A silly question: why not bundle the icons with the source? They can't be that big.

i feel kind of icky commiting things to source code than can be generated from the source code already, especially when it's binary data

Understandable. So there's no way I can find to get cairosvg to render the horizontal and vertical edges without some antialiasing to the transparent background. (I even tried altering the SVG by adding the shape-rendering property globally and that didn't change the outcome.
Here's the corrected diff in case you want to try it yourself:
-		inkscape -o {{build-path}}/usr/share/icons/hicolor/$icon_width"x"$icon_width/apps/{{name}}.png -C -w $icon_width -h $icon_width --export-png-color-mode=RGBA_8 icons/hicolor/32x32/{{name}}.svg
+		cairosvg -o {{build-path}}/usr/share/icons/hicolor/$icon_width"x"$icon_width/apps/{{name}}.png --output-width $icon_width --output-height $icon_width -W 32 -H 32 icons/hicolor/32x32/{{name}}.svg

I'm going to close this PR for now as there doesn't seem to be a way to render the icons correctly.


Client Allocation Request for: 河南中创算力信息科技有限公司

Client Allocation Questions
Core Information

Name: 河南中创算力信息科技有限公司
Website / Social Media: ZhongchuangIPFS on Slack
Region: Greater China
DataCap Requested: 10TiB
Addresses to be Notarized: f3th7dyfaaoiffrx3tkqoqfjsxqpv7drjtu4hxtzyf3cddnfnfiwhsuwtr2f4x335naxcmnrdjm5mkrdofhsda
Notary Requested: steven004

@1ane-1 Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hey @1ane-1 , You should already get datacap before, see: https://github.com/filecoin-project/filecoin-plus-client-onboarding/issues/720
Since you are applying more, as I mentioned in previous thread, would you please provide the deal list? and then we could do the verification before approve the new one. Thanks.

This user’s identity has been verified through filplus.storage


Support literal types in props

Currently when I try to define a prop type with literal types, I get a message like this? Using fallback derivation for type "auto" | Int | true (derivation: MacroWritersImpl). I'm assuming this means I might get surprising behavior at runtime. Would be neat if the macro could support literal types such as those.

Fallback derivation for state types means that hot-reloading may run into trouble if the Scala.js representation of the underlying values is not stable. But the components should operate fine other than that.
We definitely should be able to support literal types though.


Improve docs on Configuration

Issue Summary
Ghost is a great blogging platform, however, I saw some issues regarding documentation:

Documentation regarding config should be improved a little (for example, person X has knowledge on the basic config settings, but they don't know how to apply the config object for mail via env vars).

Remote database connections are somehow not visible in the documentation.

mail via env vars
This section details how to configure something via environment variables - including nested properties. It can be inferred from that section how to configure mail via environment variables.

Remote database connections are not visible
See here -> it contains the configuration for a local mysql instance, which should be exactly the same as a remote database instance if the host (and possible the port) is changed.

If you have future suggestions for documentation - please use the "Suggest Edits" button on https://docs.ghost.org 😄


Issue 31

Added state management similar to what we use in ZSUI.
I am using ES6 modules. I think it will be nice for us to explore this considering 2019 roadmap.
It will be nice if we could update our UI to align with component-based architecture and split it into modules/components.

I see a blank page (without any console errors) upon opening state.html. Work in progress?

I see a blank page (without any console errors) upon opening state.html. Work in progress?

@php1990 this is because I use ES6 modules there and it requires to run a local server instead of using file:/// protocol. Cross-origin rules and MIME times in the context of serving from filesystem :(

I see a blank page (without any console errors) upon opening state.html. Work in progress?

@php1990 this is because I use ES6 modules there and it requires to run a local server instead of using file:/// protocol. Cross-origin rules and MIME times in the context of serving from filesystem :(

I see a blank page (without any console errors) upon opening state.html. Work in progress?

@php1990 this is because I use ES6 modules there and it requires to run a local server instead of using file:/// protocol. Cross-origin rules and MIME times in the context of serving from filesystem :(

I see a blank page (without any console errors) upon opening state.html. Work in progress?

@php1990 this is because I use ES6 modules there and it requires to run a local server instead of using file:/// protocol. Cross-origin rules and MIME times in the context of serving from filesystem :(

@MikeVaz yeah I had realized that upon encountering console error, so tried running on a local server too. But the page appeared blank again.


Fix CI repo names (Azure->sonic-net) - issue 342

Changes string "Azure/DASH" to "sonic-net/DASH" in CI files, which allows them to publish docker images to ACR. This silent failure was caused by repo migration without considering the side-effects.
Also changes a few more locations in .md and .svg files. This was missed in PR https://github.com/sonic-net/DASH/pull/321 which looked for the string "github.com/Azure/DASH" which missed some occurrences.

@mhanif  to take a quick look please


Update doc comment to fix wrong return type.

Wrong type scalar was written in doc comment. Replaced it with actual type tensor.

Hi @naru-jpn we just need you to sign the CLA before we can merge this. Can you do that and reply back to this thread per the instructions above? Thanks! -Brennan

I signed it!!

Thank you @naru-jpn !


Convert PayPal Web Fragment to Compose UI

Summary of changes

Convert PayPal Web Feature fragment to Compose UI
Move PayPal Buttons Feature fragment to its own screen

Demo
https://github.com/paypal/paypal-android/assets/58225613/8943a047-dedf-4238-8378-f6b308b6ea59
Checklist
~- [ ] Added a changelog entry~
Authors

List GitHub usernames for everyone who contributed to this pull request.

@sshropshire

It's pretty dope how similar SwiftUI and Compose are to read. It's really made hopping between the platforms super nice for reviewing.

Yeah it speeds up UI development a ton too. It's a clutch tool for adding demo app features 🙌


[Bug] Error reported when set(USE_DNNL C_SRC)

Thanks for participating in the TVM community! We use https://discuss.tvm.ai for any general usage questions and discussions. The issue tracker is used for actionable items such as feature proposals discussion, roadmaps, and bug tracking.  You are always welcomed to post on the forum first :smile_cat:
Issues that are inactive for a period of time may get closed. We adopt this policy so that we won't lose track of actionable issues that may fall at the bottom of the pile. Feel free to reopen a new one if you feel there is an additional problem that needs attention when an old one gets closed.
Expected behavior
I have built oneDNN following this link https://oneapi-src.github.io/oneDNN/dev_guide_build.html.
And I modify the config.cmake set(USE_DNNL C_SRC).
It should work fine.
Actual behavior
I got error reported. And it seems the problem is the version of oneDNN?
/home/qzylalala/work_space/tvm/src/relay/backend/contrib/dnnl/query_layout.cc:137:17: error: ‘const struct dnnl::memory::desc’ has no member named ‘data’; did you mean ‘data_’?
   dim_chars[md->data.ndims] = '\0';
                 ^~~~
                 data_
/home/qzylalala/work_space/tvm/src/relay/backend/contrib/dnnl/query_layout.cc: In function ‘std::__cxx11::string tvm::relay::contrib::get_optimal_layout_for_conv(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string)’:
/home/qzylalala/work_space/tvm/src/relay/backend/contrib/dnnl/query_layout.cc:257:47: error: ‘desc’ is not a member of ‘dnnl::convolution_forward’
   auto conv_desc = dnnl::convolution_forward::desc(
                                               ^~~~
/home/qzylalala/work_space/tvm/src/relay/backend/contrib/dnnl/query_layout.cc: In function ‘std::__cxx11::string tvm::relay::contrib::get_optimal_layout_for_conv_transpose(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, std::__cxx11::string)’:
/home/qzylalala/work_space/tvm/src/relay/backend/contrib/dnnl/query_layout.cc:346:51: error: ‘desc’ is not a member of ‘dnnl::deconvolution_forward’
   auto deconv_desc = dnnl::deconvolution_forward::desc(

Environment
Operating System: Ubuntu1804
TVM version: Latest
LLVM: 17.0
OneDNN: 3.1.0
Steps to reproduce
# build oneDNN
git clone https://github.com/oneapi-src/oneDNN.git
mkdir -p build
cd build
cmake ..
make -j16
cmake --build . --target install

# build tvm
git clone --recursive https://github.com/apache/tvm tvm
mkdir build
cp cmake/config.cmake build
# modify config.cmake
cmake ..
make -j16

Triage
Please refer to the list of label tags here to find the relevant tags and add them below in a bullet format (example below).

needs-triage

C_SRC is not maintained. Please use the json one.


[Feature Request]: Copy entire book

Describe the feature you'd like
I would like to have the possibility to copy an entire book and chapter, and not only have the possibility to copy single pages.
This would make book duplication easier, and allow for book level templating, which can be helpful to structure large ammount of documentation declinations.
Describe the benefits this feature would bring to BookStack users
This feels like a pretty essential quality of life feature, I'm sure a lot of users would be happy to have it.
It is different from displaying the same single book on several shelves, and more for book templating.
Additional context
No response

Hi @mchaptel,
What version of BookStack are you running?
We added this feature in BookStack v21.12:
https://www.bookstackapp.com/blog/bookstack-release-v21-12/#copy-entire-chapters--books

Will therefore close this off.


Balance in wallet don't shows right ammount  (Need some help)

Did send some Verge to my wraith wallet and it shows it was received but it did not updated the balance in my wallet.
Did do some other transaction today to test and that worked just fine balance was updated this time.
The balance in my wallet is now 950 Verge short of what came in on the wallet
How to fix

Check the https://github.com/vergecurrency/VERGE/wiki/Verge-QT-Wallet-FAQ-&-Common-Issues
There is a section with some steps to try:
https://github.com/vergecurrency/VERGE/wiki/Verge-QT-Wallet-FAQ-%26-Common-Issues#funds-arent-showing


added meta charset=UTF-8 in the tag  when exporting as text/html.

Accentuation errors was happening when I export as html because there was no statement  in the .

hi @ziondev, this is fork of django-import-export, so pull requests should be created on main repository.
I have to admit that I did not use HTML format, so I am not sure if it export should contain meta tags or not. Maybe this is something that should be discussed on tablib project as django-import-export provide tablib formats as they are.


adding event for this rule mount launched in privileged container

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind documentation

/kind tests
/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area commands

/area pkg

/area events

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #204
Special notes for your reviewer:

In this event, flags are set syscall.CLONE_NEWNS | syscall.CLONE_NEWUSER as this action is in the privileged container.
Rule triggered successfully but this action shows an error as to launch mount inside privileged container we need more flags and permission like (cap_sys_admin) IMO that just make this event complex. What you think @leogr @FedeDP

@FedeDP If everything looks good to you, then we are good to go with this PR.

@FedeDP changes done.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, h4l0gen
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: ea44683f41d733400b2020195fdbec33155df70e


Don't hide items when there are still space

I am  trying to use the command bar of ng-office-ui-fabric, here is a code
<!DOCTYPE html>

  <link rel="stylesheet" href="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-core/2.6.3/css/fabric.min.css" />
  <link rel="stylesheet" href="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-core/2.6.3/css/fabric.components.min.css" />

      <uif-command-bar>
        <uif-command-bar-main>
          <uif-command-bar-item>
            one
          </uif-command-bar-item>
          <uif-command-bar-item>
            two
          </uif-command-bar-item>
          <uif-command-bar-item>
            three
          </uif-command-bar-item>
        </uif-command-bar-main>
      </uif-command-bar>

If we change the width of the preview, we could see that the items are hidden very easily (we could see a class is-hidden is added), even though there are visually lots of space.
Does anyone know how to control this limit width such that the items are not hidden easily?
Another option is never hiding the command items, does anyone know how to enable this?

The code that handles this is here:
https://github.com/ngOfficeUIFabric/ng-officeuifabric/blob/c92a5847b232a40976a06e8e1a98eb37f8498d59/src/components/commandbar/commandBarDirective.ts#L328-L336
If the offset is less than with width - 200px, it's hidden. Not sure where the logic originated from or if it was arbitrary. @tobiaswest83 was original author... maybe he has thoughts...


Add flake8 and black checks on pull requests

modified setup.py and removed unused libs
added flake8 to pre-commit
added flake8 step to github actions, but I can't test it locally.

I think it's better to create another CI file and split the logic for pull request and push workflows. Thoughts?

please check this pull request, maybe it's the better way to introduce checks


Question : Does it possible to stop print out the INFO of specific api path?

First check

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

Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
Implement a Pull Request for a confirmed bug.

Example
from fastapi import FastAPI

app = FastAPI()

@app.get("/")
def read_root():
    return {"Hello": "World"}

Description

I have a health check service, and trigger / path every 30s and get 200 response, perfect!!
And there have a lot of fastapi log INFO like below:

INFO:     <IP_ADDRESS>:64082 - "GET / HTTP/1.1" 200 OK

Does it possible to hidden this info from the specific API Path, don't show it on the stdout?

Environment

OS: [Linux / macOS]

FastAPI Version : 0.58.1

Python version: Python 3.6.8 :: Anaconda, Inc.

Yes, but it's done by uvicorn / gunicorn not FastAPI.
Uvicorn: https://github.com/encode/starlette/issues/864
Gunicorn; https://stackoverflow.com/questions/57416645/disable-logging-in-gunicorn-for-a-specific-request-url-endpoint

@ArcLightSlavik
Thanks. I will check it.

Thanks for the help here @ArcLightSlavik! 🍰
Thanks for closing the issue @jhaoheng ☕

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


Support for git repos as submodules

If a git repo is setup as a submodule of another repo, .git is a file (rather than a directory) containing the path to the submodule's git directory within the parent repos .git directory. This PR just adds the ability, if .git is a file, to resolve the actual git directory and install/uninstall to the right location.

Coverage remained the same at 95.413% when pulling eed11d472a9ecf756c508f059d115bcd90e013b8 on faazshift:master into f55b66b9c75b73a903f5b77c7c511a13e0c7edff on observing:master.

Didn't look through the other PRs before doing this, but I see there were other abandoned attempts at submodule support.

To follow-up on this, my change has now been tested across several platforms by several within my organization, and seems to work exactly as expected in all cases so far.

LGTM 👍

@faazshift The other PR's were not merged because of cross platform issues.


test_describe() no "SCHEMA NAME" for UDT type

Hi, here is sqlplus output:
SQL> desc sys.t_udt
Name                                      Null?    Type
ID                                                 NUMBER
UDT                                                ANDY.MY_UDT
Here is test_describe() output:
Column Name         NULL ?  Type
ID                  Y       NUMBER
UDT                 Y       MY_UDT
It is better to include schema name in OCI_ColumnGetFullSQLType() function.
:)
Thanks.

Hi,
Sqlplus seems to show schema name in desc command when the UDT owner is different from either current schema or parent UDT schema.
I can systematically add the schema as requested (thus being not conformant to sqlplus behavior) or find out what is sqlplus rule for displaying or not the schema name.
I may go for option 1. Any insights are welcome :)

Requested code modification committed


Create 0000-01-02-jhavishal1998.md

created a branch, created a file and made a commit, and opened a pull
request


Failed to import xgboost in Python3.5

From xgboost 1.0.0, importing xgboost in Python 3.5 causes an error because of f-strings that is not supported in 3.5.
/opt/hostedtoolcache/Python/3.5.9/x64/lib/python3.5/site-packages/xgboost/dask.py:33: in <module>
    from .sklearn import XGBModel, XGBClassifierBase, xgboost_model_doc
E     File "/opt/hostedtoolcache/Python/3.5.9/x64/lib/python3.5/site-packages/xgboost/sklearn.py", line 437
E       msg = f'Current model type: {type(self).__name__}, ' + \
E                                                          ^
E   SyntaxError: invalid syntax

xgboost version: 1.0.0 installed from pip
environment: ubuntu-latest in GitHub CI (link to my CI result)

Is Python3.5 no longer supported from 1.0.0?

F-string should not have been in there. We will patch it.

#5330 should fix the issue.

Thanks for your quick response :)

I just released 1.0.1, which is identical to 1.0.0 except that 1.0.1 actually supports Python 3.5.

Score one for semantic versioning.


Hentai20 extension is broken

Source information
Hentai20 1.4.36
Source language
English
Steps to reproduce

Download hentai20 extension
Trust it
Open the extension it will not load any series

Expected behavior
It should load the series
Actual behavior
It dosn't load any series and show no result found and you can't update any series while the webview works fine
Tachiyomi version
Tachiyomi 0.15.3 and miho 0.16.1
Android version
Android 10
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[ ] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

I have tried both of it even tried to download tachiyomi in new phone but the problem is still there

Some plz sole this if you can 😭😭

Some plz solve this if you can 😭😭

It uses mangathemesia theme now!!
Mail me i can provide you unofficial verison!
<EMAIL_ADDRESS>

Some plz solve this if you can 😭😭

It uses mangathemesia theme now!! Mail me i can provide you unofficial verison!
<EMAIL_ADDRESS>
I'd appreciate it if you'd take time to make a pull request instead of providing fixes through back channels.

Brother @devil6venom I appreciate you for the help but it will cause problem in updating the extension in the future if its not from the repo thats why I am reluctant to do that but thx

@beerpiss brother u closed it as fixed but when I checked there wasn't any update can u plz explain ? Do I need to do something ?

The update has not yet been pushed to the repo, it will be there the next update of the repo. The repo is not updated the moment a commit is made.


Integrating leaflet.shapefile

Hi,
I followed the guidance to integrate the leaflet.shapefile (https://www.asymmetrik.com/ngx-leaflet-and-leaflet-plugins/). I'm trying to integrate the plugin in Angular 4 app built with ngx-leaflet. I took the following actions:

since it doesn't have npm package, I downloaded the leaflet.shapefile from GitHub repo and added it in my node_modules repo
I imported the package in my component using:
import * as L from 'leaflet';
import './node_modules/leaflet-shapefile/shp.js';

However, when I run ng build, it is giving me "Module not found: Error: can't resolve..."
Am I missing the steps? Grateful for your kind guidance.
Thanks a lot!

Ensure that
import './node_modules/leaflet-shapefile/shp.js';

is a relative path to the node_modules directory. It's likely you have to go up at least a couple directories to get there.

Thanks a lot @reblace.
I edited the relative path to be: import '../../../node_modules/leaflet-shapefile/shp.js';
I can be able to build the application now.
Thanks again

Np, I'll close this then. Thanks!


tab order in sidepanel is confusing

I use a keyboard shorcuts to move tab focus to another tab and current tab order behavior is very confusing: I don't know which tab is next or previous even within one group.
Please reorganize tab ordering to more intuitive behavior.

Not sure what you mean by confusing. Could you elaborate on that?
The current sidebar order is just the top bar order except grouped by groups.

I wasn't specific in the previous post, yeah.
Here's an example: when there is a webpage with a couple of links and then I open these links, the next tabs are openning in a strange order: the first openned tab is farther from original that the last one. And when I try to jump to the next tab using keyboard shortcut, the focus goes to the farther tab from the current. And it is hust not intuitive what shortcut I have to use to jump to the nearest next tab: is it a nexttab shortcut or a prevtab shortcut. And all of these is within one tabgroup.


can't deploy with jets

Hi, I created rails API and was going to deploy AWS Lambda API using Jets.
But I can't deploy using jets deploy command.
I could deploy 2 weeks ago with the older version. It seems there should be an issue on the latest version
This is error detail.
jets deploy
=> Rails app detected: Enabling Jets Afterburner to deploy to AWS Lambda.
Deploying to Lambda my-project-dev environment...
Building CloudFormation templates.
Deploying CloudFormation stack with jets app!
08:22:14AM CREATE_IN_PROGRESS AWS::CloudFormation::Stack my-project-dev User Initiated
08:22:16AM CREATE_IN_PROGRESS AWS::S3::Bucket S3Bucket
08:22:16AM CREATE_IN_PROGRESS AWS::S3::Bucket S3Bucket Resource creation Initiated
08:22:37AM CREATE_COMPLETE AWS::S3::Bucket S3Bucket
08:22:38AM CREATE_COMPLETE AWS::CloudFormation::Stack my-project-dev
Stack success status: CREATE_COMPLETE
Time took for stack deployment: 25s.
=> Compling assets in current project directory
=> Copying current project directory to temporary build area: /tmp/jets/my-project/stage/code
Traceback (most recent call last):
	28: from /Users/admin/.rvm/gems/ruby-2.5.3/bin/ruby_executable_hooks:24:in `<main>'
	27: from /Users/admin/.rvm/gems/ruby-2.5.3/bin/ruby_executable_hooks:24:in `eval'
	26: from /Users/admin/.rvm/gems/ruby-2.5.3/bin/jets:23:in `<main>'
	25: from /Users/admin/.rvm/gems/ruby-2.5.3/bin/jets:23:in `load'
	24: from /Users/admin/.rvm/gems/ruby-2.5.3/gems/jets-2.1.5/exe/jets:14:in `<top (required)>'
	23: from /Users/admin/.rvm/gems/ruby-2.5.3/gems/jets-2.1.5/lib/jets/cli.rb:5:in `start'
	22: from /Users/admin/.rvm/gems/ruby-2.5.3/gems/jets-2.1.5/lib/jets/cli.rb:28:in `start'
	21: from /Users/admin/.rvm/gems/ruby-2.5.3/gems/jets-2.1.5/lib/jets/commands/base.rb:27:in `perform'
	20: from /Users/admin/.rvm/gems/ruby-2.5.3/gems/jets-2.1.5/lib/jets/commands/base.rb:38:in `dispatch'
	19: from /Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
	18: from /Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
	17: from /Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
	16: from /Users/admin/.rvm/gems/ruby-2.5.3/gems/jets-2.1.5/lib/jets/commands/main.rb:21:in `deploy'
	15: from /Users/admin/.rvm/gems/ruby-2.5.3/gems/jets-2.1.5/lib/jets/commands/deploy.rb:33:in `run'
	14: from /Users/admin/.rvm/gems/ruby-2.5.3/gems/jets-2.1.5/lib/jets/commands/deploy.rb:85:in `build_code'
	13: from /Users/admin/.rvm/gems/ruby-2.5.3/gems/jets-2.1.5/lib/jets/commands/build.rb:27:in `build_code'
	12: from /Users/admin/.rvm/gems/ruby-2.5.3/gems/jets-2.1.5/lib/jets/builders/code_builder.rb:37:in `build'
	11: from /Users/admin/.rvm/gems/ruby-2.5.3/gems/jets-2.1.5/lib/jets/builders/code_builder.rb:377:in `copy_ruby_version_file'
	10: from /Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/fileutils.rb:392:in `cp_r'
	 9: from /Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/fileutils.rb:1461:in `fu_each_src_dest'
	 8: from /Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/fileutils.rb:1477:in `fu_each_src_dest0'
	 7: from /Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/fileutils.rb:1463:in `block in fu_each_src_dest'
	 6: from /Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/fileutils.rb:393:in `block in cp_r'
	 5: from /Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/fileutils.rb:415:in `copy_entry'
	 4: from /Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/fileutils.rb:1390:in `wrap_traverse'
	 3: from /Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/fileutils.rb:418:in `block in copy_entry'
	 2: from /Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/fileutils.rb:1256:in `copy'
	 1: from /Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/fileutils.rb:1227:in `lstat'
/Users/admin/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/fileutils.rb:1227:in `stat': No such file or directory @ rb_file_s_stat - /tmp/jets/turbo-wrapper-project/.ruby-version (Errno::ENOENT)

Hi @tongueroo could you please help to fix?

Fixed in #366.
Had enough info here to fix the edge case bug. In the future, please make sure to fill github issue template. Thanks!

Thank you for your help!


Not downloading from rapidvideo

#
Select your issue type: (check at least one)

[x] Bug
[ ] Question
[ ] Suggestion
[ ] Other

Steps to reproduce:

...
...

Describe your issue:

So i went to download some anime as i am going away and want something to watch on the trip and when i go to download it i click the anime episode select the quality of it and then browser download then hit download it then goes your download will start soon site tight and it never starts at all

Side note i am using the lastest update of the plugin as well <IP_ADDRESS>

@KingFishy492 hi. Can you link the anime you were trying to download from? Also does this happen for all anime or only this specific one?

This is happening again for me with the new build on the below Anime;
https://9anime.is/watch/chain-chronicle-haecceitas-no-hikari-dub.n0ym/7048wj
Again some work and some dont. I have tried refreshing the page multiple times.

https://9anime.is/watch/just-because.6owz
It was this one

another note it wont dowload in 1080p it could be because it doesn't have one or just wont work

https://9anime.is/watch/just-because.6owz/97lpq0
so i jsut tried to dowload some more episodes and i have picked 720p browser dowlaod and it goes to dowload and the it just goes fail network error @lap00zza

@KingFishy492 I will look into it on Monday. I am a bit occupied this weekend.

All good :)

Have a great weekend and happy new years

Happy new years


Messages from health to relay and redirect fail

Caused by https://github.com/reyk/privsep-rs/issues/3, we cannot reliably pass messages from health to redirect and relay. Something happens to the handler (socketpair between those processes).

Fixed by https://github.com/reyk/privsep-rs/pull/4


ClientActor interface

Hi, I'm trying to use the td::ClientActor class in a C++ project, but when I run the code I get an error at scheduler.h:101:
Thread #1 5948 [core: 1] (Suspended : Signal : SIGSEGV:Segmentation fault)
	td::Scheduler::register_actor_impl<td::MultiTimeout>() at Scheduler.h:101 0x804c8507
	td::Scheduler::register_actor<td::MultiTimeout>() at Scheduler.h:91 0x804c84ac
	td::register_actor<td::MultiTimeout>() at Scheduler.h:379 0x804c820a
	td::MultiTimeout::MultiTimeout() at Timeout.h:87 0x8048bcfd
	td::Td::Td() at Td.h:281 0x81209b88
	td::Scheduler::create_actor<td::Td, td::unique_ptr<td::TdCallback> >() at Scheduler.h:81 0x8039099a
	td::create_actor<td::Td, td::unique_ptr<td::TdCallback> >() at Scheduler.h:369 0x8038f5ae
	td::ClientActor::ClientActor() at ClientActor.cpp:16 0x80395702

I'm using tdlib 1.6.0.
Does anyone know why I'm getting this error or should I just use td::Client interface instead?
Thank you!

You should use td::Client, which is much simpler, unless you really need something that can be achieved only with td::ClientActor. Currently, the only significant difference is that you can receive all updates and request responses in the same thread using td::ClientActor.
You can find example of td::ClientActor creation and usage in https://github.com/tdlib/td/blob/f45d80fe16f99d112d545b7cd74ce46342fe3437/td/telegram/cli.cpp#L4401.

I have tried to spawn a thread in which I receive updates through td::Client, but when I join the thread (without closing the client) I have to block the main thread until the td::Client::receive timeout expires. Is there any way to avoid it, like td::ClientActor callbacks?
Thanks for your time!

You need to call close to close the TDLib instahce and wait for updateAuthorizationState with authorizationStateClosed. The latter is written in td::Client documentation: https://github.com/tdlib/td/blob/f45d80fe16f99d112d545b7cd74ce46342fe3437/td/telegram/Client.h#L36.

What I'm trying to do is to stop the thread where I recive the updates without closing the client (and later I want to spawn the thread again). Using td::Client, I have to wait the td::Client::receive timeout, is there any way to stop the thread without closing the client?

You can send any request which will return response immediately.

Thank you!


Batch api

What this PR does / why we need it:
Adding 2 APIs to configure networking for network containers.

lgtm other than unit tests. if @sharmasushant is fine with it, merge this PR. I'm approving it.


router: add configuration that avoids incrementing HTTP status code metrics on gRPC requests

Commit Message: adds a configuration to the router filter to disable HTTP status code/group stat collection on failed gRPC requests.
Additional Description: When suppress_grpc_request_failure_code_stats is set to True, it enables a codepath that avoids increment code related HTTP stats. Failure reason stats such as upstream_rq_timeout will still be incremented if applicable.
Risk Level: Low (need to enable configuration to affect router filter). See linked issue for motivation behind change, but the overall goal is to try to improve consistency around gRPC observability.
Testing: Unit
Docs Changes:
Platform Specific Features:
Release Notes:
Fixes: https://github.com/envoyproxy/envoy/issues/16667
[Optional Deprecated:]
[Optional API Considerations:]

/retest

LMK when this is ready to review, thanks.
/wait

/retest


tym: init at 3.3.0

Description of changes
It's a lua-configurable terminal emulator base on VTE.
More information here.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 176276 run on x86_64-linux 1

1 package built:

tym

Result of nixpkgs-review pr 176276 run on x86_64-linux 1

1 package built:

tym

One last small thing: The commit of tym contains changes to maintainers/maintainer-list.nix, please try to resolve this :)

Well, I did a soft reset and I think everything is right now.

One last small thing: The commit of tym contains changes to maintainers/maintainer-list.nix, please try to resolve this :)

I did a soft reset, I think everything is right now.


Transition issue with Android Q beta 5

Since it's already beta 5 and the issue will probably be stuck on level 1 external contractor filtering I'm posting this here too, sorry for that.
https://issuetracker.google.com/issues/137487202
Start Plaid, open anything with image to have a transition, press home, return to app via recent, press back, the normal transition does not run on Android Q beta 5 Pixel 3a and emulators.
Hoping this can reach the proper team faster with your help.

As supposed still present in beta 6 and a major user experience degradation.
Another simpler way to reproduce with Plaid, on beta 5/6 start plaid, open an item with an image to have the transition, press the image to open external browser, press back to quit external browser, press back the proper transition does not run.
For apps with multi levels transitions like show -> seasons -> episodes -> episode details, this totally ruins experience when going back.

I cc'd the appropriate engineers but unfortunately it's likely to late to do anything for Q :-(

@nickbutcher Thanks I've seen :( I tried every way to bring attention to this quite important issue, kinda sad it still was not enough.
Some teams should learn from R8/D8 team, was a pleasure to work with them for nearly 1.5 year and have more than a dozen bugs fixed efficiently.

@nickbutcher so as expected it's still present in final, but can't comment on the issue anymore.
Do you know if I should open a new one or will it still be handled for 10.1 if that one happens?

@Tolriq thanks for filing and following up on this. I got it moved to the right component on the issue tracker and assigned to the right team. Hope that it can get resolved, not sure when 🤷♀

Thanks a lot, usually I give up when I'm stuck at the 1st level external contractors, but the timing was awful :) Just finished passing dozens of hours polishing every transitions of the app to properly handle every edge cases, then discovering Q would break a large part was hard :p

:'(

@nickbutcher Sorry to bother you but as expected the issue is still present in Android R preview 1 :(
Would be nice that such a basic and important thing for user experience do work correctly.

😭 I've poked some internal bugs.

Thanks


make runtimes compile with try-runtime

Current dependencies on/for this PR:

main

PR #199   👈

PR #198

This stack of pull requests is managed by Graphite.


Added support for 1366x768 ("HD") and 2560x1440 ("2K") resolutions

These are now-common laptop resolutions, and means we can run in full-screen nicely on a couple common displays without being stuck in 4x3.
I understand if you'd rather not merge this since it's not really the "right solution", but figured I'd send it up and see. Being able to dynamically set resolution based on the host window/screen size is coming, but this improves the situation for two common resolutions in the meantime and having fixed options will still be useful even once that's ready.

We could merge this... but it should already be possible to set custom modes with the screenmode -m command. The code in here looks like it should support that ("Any such mode is OK, even if it isn't in our propose list"). Does that work, at least?

Yep, I feel silly now :)
Closing this PR without merging, anyone who wants a custom resolution can use screenmode to accomplish that until auto-resizing is available.


Adding custom claims to JWTAuthenticator?

First, thanks for building this library.
I'm using a JWTAuthenticator and it works great.  I want to add custom claims object to pass some information client side.  Since AuthenticatorService.create is implementation agnostic the best option I can think of is to make some sort of method which constructs JWT's a la https://jmcardon.github.io/tsec/docs/jwt-mac.html and avoid using JWTAuthenticator.create.  Is this your take as well?
The docs could use a blurb on this, you open to contributors?

Hi, thanks for opening an issue! Yes, we welcome any and all contributors to this project.
Re: custom claims, I believe could be related to #59 (I think that issue means claims and not headers).
As far as this issue: this is open to discussion. Passing information inside an authentication token raises a flag in my head. I mean, tokens are sent along with every request, so sending arbitrary info in the claims will increase the network load and make token creation/verification slower based upon how much data you want to put in there.
In tsec, the philosophy tends to be along the lines of "prevent people from shooting themselves in the foot". This opens users up to doing something they really shouldn't be doing unless they have a good reason to.
So I'm lukewarm on this. I'd like to hear your reasoning behind it (i.e maybe you're doing your own verification of the JWT on the client). If it's something that is a common enough, then I'll incline to agree. Alternatively, you can open a PR anyway and we can review the use case :+1:
Pinging @hrhino for a second opinion here.

oh and re: the docs, there I 100% agree, maybe we could be more informative that we're a tad opinionated on how we create tokens.

The use case I'm wanting to support is to include encoding role information into the jwt, and create authorization middleware that can get role information from a jwt.  As far as I understand, use cases like this are the raison d'etre for custom claims.

Is there any particular reason you cannot get the role information from the user object in the backing store? Authorization in tsec is appled after authentication, so you don't need to extract it from the jwt at all if your authorization info is attached to your user model. It would be redundant information (unless you want to have the user role information authenticated).
All authenticators currently have to go through a user store. This is the main thing that makes it redundant. I do think custom claims in the JWT need to be added, but I'm unsure whether this is common enough use case to be a standard.
That said I'm open to a PR to see what you have in mind. Im unsure how to alter the abstraction for your use case currently.

Is there any particular reason you cannot get the role information from the user object in the backing store? Authorization in tsec is appled after authentication, so you don't need to extract it from the jwt at all if your authorization info is attached to your user model. It would be redundant information (unless you want to have the user role information authenticated).

That's a fair point.  For my use case the JWT already contains the state I care about: the sub claim and potentially a role-like claim.  The service consuming the jwt doesnt have access to the real user store. In some ways JWTAuthenticator.stateless is a  bit misleading since it does require an impl of BackingStore.get.
Feel free to close this!

Oh I guess. Feel free to submit a docs change if you feel it is appropriate.
In a sense, what i meant to say is the token itself is stateless. Stateful token would imply the token itself has a backingstore, not just the user.
If you want custom behavior, in a sense, the only way to extract the user would be by encoding the information into the claim itself. Im not against adding a purely stateless implementation at all.
What do you think? I'm for it, but it seems like more of a custom use case


Replace docker image to Alpine

Would it be possible to change the docker image from Ubuntu to Alpine?
https://jfrog.com/knowledge-base/why-use-ubuntu-as-a-docker-base-image-when-alpine-exists/#:~:text=Larger image size%3A Alpine base,(in most cases) run.

@BrainyXS What do you think?


feat: add feedback form + gdpr

Closes #33
Closes #49

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Conection limit per worker

Hi
Is there any limit in Nginx with fixed numbers of  connections per worker? I have umbrella running with 24 workers and my netstat always show 240 (24*10) TCP connections for my backend. This is a problem cause now, with my production access, I have 37000 TIME_WAIT connections.
My backend connections on 9090 TCP port:
netstat -anp | grep 9090 | wc -l
240
My nginx workers (24 cores):
ps -ax | grep nginx
17430 ?        Ss     0:00 svlogd -ttt /opt/api-umbrella/var/log/nginx-reloader
17431 ?        Ss     0:00 bash /opt/api-umbrella/embedded/apps/core/current/bin/api-umbrella-nginx-reloader
17432 ?        Ss     0:01 svlogd -ttt /opt/api-umbrella/var/log/nginx
17433 ?        Ss     0:00 nginx: master process nginx -p /opt/api-umbrella/embedded/apps/core/current/ -c /opt/api-umbrella/etc/nginx/router.conf
17486 ?        Sl    21:50 nginx: ruxit companion process
17487 ?        S     51:21 nginx: worker process
17488 ?        S     51:31 nginx: worker process
17489 ?        S     51:32 nginx: worker process
17490 ?        S     51:24 nginx: worker process
17491 ?        S     51:01 nginx: worker process
17492 ?        S     51:13 nginx: worker process
17493 ?        S     51:47 nginx: worker process
17494 ?        S     52:19 nginx: worker process
17495 ?        S     51:38 nginx: worker process
17496 ?        S     51:44 nginx: worker process
17497 ?        S     52:37 nginx: worker process
17498 ?        S     51:36 nginx: worker process
17499 ?        S     51:56 nginx: worker process
17500 ?        S     53:10 nginx: worker process
17501 ?        S     53:17 nginx: worker process
17502 ?        S     54:30 nginx: worker process
17503 ?        S     53:04 nginx: worker process
17504 ?        S     52:02 nginx: worker process
17509 ?        S     52:47 nginx: worker process
17510 ?        S     52:47 nginx: worker process
17511 ?        S     53:23 nginx: worker process
17512 ?        S     51:53 nginx: worker process
17513 ?        S     52:12 nginx: worker process
17517 ?        S     52:19 nginx: worker process
48422 pts/2    S+     0:00 grep --color=auto nginx

Sorry for the delay. If you have 24 workers, then the 240 connections to the backend API likely comes from the default keepalive settings we configure in nginx. By default, each API backend's nginx upstream is defined with a keepalive 10 setting. With 24 workers, this would lead to the 240 persistent connections you're seeing. The number of connections can grow beyond this, the keepalive setting just sets a minimum number of connections to maintain (which can improve performance by saving the cost of opening and closing connections).
I'm not entirely sure I understand the issue, or question, though. Is this number of connections too high, and you're looking to lower it? Or is it too low, and are you looking to raise it? Or is there some other issue?
The number of keepalive connection is theoretically adjustable via a hidden keepalive_connections option on the API backend records. However, we've never exposed this option via the web interface (this option was mainly added for some of our integration tests). So would you like to be able to adjust this keepalive setting? If so, there are some ways you could do that now by manually editing the API backend records in the database (I can explain in more detail, if you're interested). But if this is what you're looking to do, then this would also be something that should be pretty easy to expose in the web admin tool for easier editing.


(PDB-3549) Update accptance to use puppet5-nightly

Replace previous usage of PC1 nightlies with puppet5.
Add support for the use case where the puppetdb build version is not specified. In this case, the version of puppetdb published in the puppet5-nightly repo will be installed.

This has been tested on RedHat 7 and Ubuntu 16.04 using both with and without a specified PUPPETDB_PACKAGE_BUILD_VERSION.
With the build specified, the specified build is installed and the tests pass.
export PUPPETDB_PACKAGE_BUILD_VERSION=5.0.0.SNAPSHOT.2017.06.06T1646
export GEM_SOURCE=http://rubygems.delivery.puppetlabs.net
export BEAKER_TYPE=aio
export NIGHTLY=true
export LAYOUT=centos7-64mda-64a
export PUPPETDB_DATABASE=postgres
./ext/jenkins/beaker-tests.sh
...
              - Test Case Summary for suite 'tests' -
       Total Suite Time: 154.69 seconds
      Average Test Time: 25.78 seconds
              Attempted: 6
                 Passed: 6
...
Expecting package version: '5.0.0-0.1SNAPSHOT.2017.06.06T1646puppetlabs1', actual version: '5.0.0-0.1SNAPSHOT.2017.06.06T1646puppetlabs1'

Without the build specified, the nightly build is installed and the tests pass.
export GEM_SOURCE=http://rubygems.delivery.puppetlabs.net
export BEAKER_TYPE=aio
export NIGHTLY=true
export LAYOUT=centos7-64mda-64a
export PUPPETDB_DATABASE=postgres
./ext/jenkins/beaker-tests.sh
...
       Total Suite Time: 138.91 seconds
      Average Test Time: 23.15 seconds
              Attempted: 6
                 Passed: 6
...
Expecting package version: 'latest', actual version: '5.0.0-0.1SNAPSHOT.2017.06.06T2148puppetlabs1'

Test PASSed

I should probably add some notes to the {{acceptance/README.md}} about these changes.

CLA signed by all contributors.

Test FAILed

@pljenkinsro retest this please

Test FAILed

Test PASSed


fix(contextualhelp): dark mode font color

Description
Adds .spectrum-Heading and .spectrum-Body classes to the heading and paragraph tags in order to get the global font colors needed since font color was not a specified token for this component.
How and where has this been tested?

Latest versions of Chrome, Safari, Firefox

To-do list

[x] I have read the CONTRIBUTING document.
[x] I have tested these changes in Windows High Contrast mode.
[x] I have updated any relevant storybook stories and templates.

[x] This pull request is ready to merge.

@castastrophe I was able to add in the tokens so that we could remove the .spectrum-Heading and .spectrum-Body classes. I also noticed that two of the tokens I was originally missing have since been added so I updated those as well


Consider checking for native JDK in Gradle

Is your feature request related to a problem? Please describe.
If an Apple Silicon machine is accidentally using a x86 JVM, performance of the build will be slow.
Describe the solution you'd like
Consider checking whether the build is native or not with Runtime.getRuntime().exec("sysctl -in sysctl.proc_translated")

Duplicate of #562


Reproducing results in ICCV '21 paper

Reposting from the email thread as requested. Thank you for releasing the code w/ instructions!. I had a few questions:

I was able to sample motions using the pre-trained model and also run the APE metric script. It gives out 20 values. How do I compute the 4 values reported in the paper in Figure 4 (root, global, mean w/o traj and w/ traj) from them?
I wanted to also generate GT renderings, do you know what command I need to use?
Finally, it would also be really useful if I could also get the number for the baselines you report. I see that you have eval_APE_baseline scripts, could you let me know how to use them? I see that the codebase is based on language2pose but the train commands in the original repo do not seem to work (neither does using their pre-trained model due to torch version mismatch).

Thanks in advance!

Thanks for your interest in our work. I'll answer the questions as detailed as possible.

You can get the mean values from Table 1 in our supplementary materials (https://openaccess.thecvf.com/content/ICCV2021/supplemental/Ghosh_Synthesis_of_Compositional_ICCV_2021_supplemental.pdf).  You will already find the root trajectory, pelvis, torso and hips directly from the eval_APE.py code. As for the arms we have added the loss of shoulder, elbow and wrist. For legs we have added the error terms of knee, ankle and foot. And for neck we have added the loss terms of upper neck and lower neck.
You can find the code to render groundtruth in the language2pose repo (https://github.com/chahuja/language2pose#rendering-ground-truths)
You can run:   python eval_APE_baseline.py -load <path_to_language2pose_pretrained_models>
You have to download the pre-trained models of language2pose from https://github.com/chahuja/language2pose#pre-trained-models I haven't trained the language2pose model myself, only used their pre-trained model for evaluation.

Hope these answers your questions.


iOS [bug] Appearance > Color Palette label isn't adjusting size with system text size

The new Color Palette label under Settings > Appearance is not resizing to match system text size.
Steps to reproduce

Open Settings > Accessibility > Larger Text
Set text slider to extreme minimum or maximum value (screenshot is with max value)
In NNW 5.0.1, Open Settings
Swipe until Appearance is visible
Observe "Color Palette" text doesn't match other options text size

NNW  5.0.1 (build 40)
iPad 2017 (9.7 inch) iOS 13.3.1

Thanks for the report.  This has been resolved and will be in the next Test Flight build.


installation of snipe-it issue

Dear All,
migrating of database error please help me
php artisan migrate
entering this command following error prompt
[Illuminate\Database\QueryException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'snipeit.assets'
doesn't exist (SQL: truncate assets)
[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'snipeit.assets'
doesn't exist

This is not a Cachet issue, please open an issue on the Snipe-It project.


Support a rigid body element in OpenTurbine

Task
We need to implement the concept of a “mass element“ in OT to model rigid body behavior. Total mass and inertia for the element will be calculated based on the provided material properties. Effectively, it should contain the mass and inertia terms in the element formulation of the beam element.
Why
To capture the rigid body behavior of the nacelle, hub, and any other component as necessary.
Done means

[ ] A mass element class introduced
[ ] All member functions are unit tested
[ ] Provides validation of a rigid body behavior

Completed elsewhere.


Color picker usablity

I was just thinking about the usability and keyboard accessibility of #7. In order to avoid folks having to Tab through each individual item, which would be a pain, what if it was implemented as:

Add tabindex="0" to the container in order to add it to the focus order.
Add an aria-label to the container explaining what this thing is and how to use it.
Add tabindex="-1" to each item in order to be removed from focus order.
Implement arrow navigation via JS in order for a selection to be chosen.

Enter and Space support has already been implemented so you're good there.
Off the top of my head I'm not sure how you'd support up and down arrows, but left and right might be a matter of incrementing or decrementing some index value and setting focus to that item. Perhaps to collect each item it would need a data-item-[index] type attribute? Maybe up and down could just add or subtract some set value to the current index, like 10? Just guessing here.
Keycodes:

👈 = 37
👆 = 38
👉 = 39
👇 = 40

Anyway, something to consider. Wanted to share this before I forgot. 🙂

Hey thanks for bringing this up! Not sure how I missed the notification for it, but I'm glad I caught it!
I'll take a look at implementing your suggestions; I'm not a primary web ux dev, but I've been learning more about modern web dev of late so this'll be a fun challenge to tackle!
Thanks again 😸

Hey thanks for bringing this up! Not sure how I missed the notification for it, but I'm glad I caught it!
I'll take a look at implementing your suggestions; I'm not a primary web ux dev, but I've been learning more about modern web dev of late so this'll be a fun challenge to tackle!
Thanks again 😸

Hey thanks for bringing this up! Not sure how I missed the notification for it, but I'm glad I caught it!
I'll take a look at implementing your suggestions; I'm not a primary web ux dev, but I've been learning more about modern web dev of late so this'll be a fun challenge to tackle!
Thanks again 😸

@orthros Very cool! Let me know when you've got something an I'll give it a run though. 😀


Category in Classification Datasets

Will sentiment analysis of words be considered under the "s2s" category?
https://huggingface.co/datasets/senti_lex
This is the dataset in context. I think it's helpful as there are 7 very low resource languages (ido, Breton, western Frisian,walloon,volapuk, Norwegiannynsork, aragonese) which have not been included in any other dataset.
@KennethEnevoldsen @isaac-chung @imenelydiaker

@Art3mis0707 I don't believe senti-lex is a reasonable fit for MTEB. The benchmark concerns itself with document representations and single word representation I would argue does not fall into that category.


Changelog

Doesn't feel like there's enough to warrant a version bump to me.  We'll have to go back and update the milestone labels, of course.
Thoughts?

Grr, every time 😠.


Extend from SchemaBase prevents use of generics as argument

The constructor signature of the class SchemaBase prevents to use generics in some cases.
class DAO<T extends Model> {
    private _klass;
    constructor(klass: {new (): T}) {
        this._klass = klass;
    }
}

const dao = new DAO(User) // TypeScript compiler complains here!

https://www.typescriptlang.org/docs/handbook/2/generics.html#using-class-types-in-generics


EventFacet Duration

Background
The uco-observable:EventFacet contains a property createdDateTime but does not contain any sense of duration by means of a duration attribute or observable:endTime.
As at least one forensic tool has been identified to contain a start, end, and duration, UCO should similarly support the concept of duration.
Requirements
Requirement 1
Add a new property usage observable:endTime to the observable:EventFacet with a cardinality of 0 -> 1. As duration requires units that may add additional complexity, an "end" concept would be sufficient.
Requirement 2
Add a new property usage observable:startTime to the observable:EventFacet with a cardinality of 0 -> 1.
Risk / Benefit analysis
Benefits
Allows the concept of an event that is more than a single moment in time. Such examples may include operating system boot or application update.
Risks
As this is adding a new property and not removing or changing any existing representation, the submitter is unaware of risks associated with this change.
Competencies demonstrated

Competency 1
A user is reviewing results of a forensic investigation and is attempting to correlate all events that occurred on a device at a given point in time.
Competency Question 1.1
Can UCO support the question: What are all of the discrete events that were occurring on a device at 01 JUN 22 @ 19:48:01 EST?
Result 1.1
Selecting all events where the specified time is between EventFacet.createdDateTime and EventFacet.endTime.
Solution suggestion
Add new property as defined in requirement 1.
Coordination

Tracking in Jira ticket OC-245

[x] Administrative review completed, proposal announced to Ontology Committees (OCs) on 2022-06-02
[x] Requirements to be discussed in OC meeting, 2022-06-14
[x] Requirements Review vote occurred, passing, on 2022-06-14
[x] Requirements development phase completed.
[x] Solution announced to OCs on 2022-06-14
[ ] Solutions Approval to be discussed in OC meeting, 2022-06-30
[ ] Solutions Approval vote has not occurred

[ ] Solutions development phase completed.
[ ] Implementation has not been merged into develop

[ ] Milestone linked
[ ] Documentation logged in pending release page

Something I just realized - there is a slight error in the description of this Issue.  observable:endTime is not a new property.  The association with observable:EventFacet is what this proposal is adding.

This proposal digs a bit into UCO's general need to order temporally bound objects.  I don't oppose adding another specialized term to set an interval closing.  However, UCO should review its handling of time instants versus time intervals.
The W3C Time Ontology provides a figure demonstrating relations between time periods.  UCO could project some objects into the Time Ontology and realize a general timeline (and timeline consistency review mechanism), but the projection is somewhat specialized according to whichever classes happen to have beginning-of-interval and end-of-interval time property-pairs, or some lone non-interval time property.  E.g. if we add observable:endTime as in this proposal, an EventFacet could project into the Time Ontology like so:
kb:event-1
  a observable:Event;
  core:hasFacet [
    a observable:EventFacet ;
    observable:createdDateTime "2022-01-02T03:04:56Z"^^xsd:dateTime ;
    observable:endTime "2022-01-02T03:04:57Z"^^xsd:dateTime ;
    drafting:hasInterval [
      a time:ProperInterval ;
      time:hasBeginning [
        a time:Instant ;
        rdfs:comment "(Lexical value matches observable:createdDateTime, but the more stringent datatype `xsd:dateTimeStamp` is required in the Time Ontology.)"@en ;
        time:inXSDDateTimeStamp  "2022-01-02T03:04:56Z"^^xsd:dateTimeStamp .
      ] ;
      time:hasEnd [
        a time:Instant ;
        rdfs:comment "(Matches observable:endTime, after considering the same lexical-datatype issue as in the beginning interval.)"@en ;
        time:inXSDDateTimeStamp  "2022-01-02T03:04:57Z"^^xsd:dateTimeStamp .
      ] ;
    ] ;
  ] ;
  .

Projection into the Time Ontology would help us answer a few questions:

Which of the UCO time properties that "Pair up" pertain to the beginning and ending of an interval?  @kchason cited observable:createdDateTime.  Would the new property :endTime pair with this?
Should time-bounding timestamps be properties in Facets, or directly on the object?  EventFacet is an instance where the time interval is in a pair of Facet-housed properties, but Action and Relationship store the time on the object.  This is another point where Facets are confusing.

Projection into the Time Ontology is out of scope of this proposal, but it does raise one immediately relevant question - why are we defining the time bounds of Events in a Facet?

I was starting on a second proposal to convert the usage of observable:observableCreatedTime to observable:startTime but it really only makes sense for this facet since the others are more discrete occurrences versus a potentially time-bound event such as those this proposal aims to support. But I do think it would make sense to change the usage in this particular instance so the pairing is a lot cleaner.
Regarding the divide between Facet and Object, I thought we've been containing most properties in the Facets so they were more portable. Especially since Action and Relationship tend to be "linking" objects whereas the Event is more of a discrete object.

From discussion on the OCs call this morning, this proposal expanded in scope to add startTime to pair with endTime, due to differing semantics between startTime and observableCreatedTime.

The review checklist on PR 399 has been completed. No impact was observed on SHACL validation results.

The review checklist has been completed again, incorporating the added startTime usage.

Competency 1 - Result 1.1 should say:
Selecting all events where the specified time is between EventFacet.startTime and EventFacet.endTime.


Add functions for getting font metadata, add editor plugin for quick font selection.

Partially implements godotengine/godot-proposals#1542

Adds get_font_name, get_font_style_name and get_font_style function for dynamic and BMFont fonts.
Adds editor plugin to quickly select font and basic font properties, which enumerates all font resources in the project to display user-friendly font and style names.

https://user-images.githubusercontent.com/7645683/139417389-44bdab4a-b335-4f2e-a76d-8b2dafdafc01.mov
Supersedes #54257

Thanks!

Is it possible to use the universally recognized iconography and button design (like for the drop-downs) from the proposal?
https://raw.githubusercontent.com/imjp94/UIDesignTool/master/screenshots/toolbar_preview.png
For example EG Garamond with the small arrow icon is not as universal recognizable as a drop down than the Roboto with the darker button style in the proposal.
Equally so for the Bold style or the font size. Putting the font size and the arrow into a darker frame makes it clear they belong together and can be changed.
Also the Text Color icon is a universally recognized symbol by pretty much anyone who ever used a computer and immediately clear what the purpose is. While a simple Square says nothing about the purpose.

For example EG Garamond with the small arrow icon is not as universal recognizable as a drop down than the Roboto with the darker framed button style in the proposal.

I'm not sure why the OptionButtons don't have a background here – I guess they were manually set to be flat?

It would also be really nice to have left/center/right alignment as icons in this toolbar, which is also a property already existing in the text nodes.

The context-specific toolbar is wide enough as it is – it already causes the editor to overflow on 1366×768 displays right now. Until an overflow menu is implemented, we should refrain from making it even wider.


Double and missing days

Hi, thanks for this libraray.
I have a problem displaying the calendar. Starting on monday and ending on sunday every week, I get October 27th 2024 twice and there are no events displayed after this date. The whole calendar is then postponed by one day. Sunday is also the first day of the week after it until March 30th 2025, because March 30th 2025 is completely missing.
For example, October 26th 2025 is shown twice again.
Example - October 27th 2024:

Example - March 30th 2025:

Does anyone else have this problem?
"@howljs/calendar-kit": "2.0.2",
"@shopify/flash-list": "^1.6.3",
"expo": "~51.0.35",
"react": "18.2.0",
"react-native": "0.74.5",
"react-native-reanimated": "~3.10.1",

It seems that this issue is related to the time zone. Please give me the time zone on your device

It seems that this issue is related to the time zone. Please give me the time zone on your device

UTC+02:00 (MESZ) right now and UTC+01:00 (MEZ) after October 27th 2024
In March the problem also occurs when time changes from UTC+01:00 (MEZ) to UTC+02:00 (MESZ)

Hi, i have the same problem, i think is summer date

Fixed in v2.0.3


Null field major_tick_start on certain designs

I found two files that have this problem:
4_helix_grid_none_min_offset_position_x_nondefault.sc:
I encountered an error while reading the file 4_helix_grid_none_min_offset_position_x_nondefault.sc:

****************************************************************************************************
* error type:    BuiltValueNullFieldError
* error message: Tried to construct class "Helix" with null field "major_tick_start". This is forbidden; to allow it, mark "major_tick_start" with @nullable.
****************************************************************************************************

That file's contents are printed below.

**********************************************************************************
* If you believe this is due to a bug in scadnano, please file a bug report at   *
*   https://github.com/UC-Davis-molecular-computing/scadnano/issues              *
* Include this entire message in the email.                                      *
**********************************************************************************

stack trace:
Tried to construct class "Helix" with null field "major_tick_start". This is forbidden; to allow it, mark "major_tick_start" with @nullable.
    at Object.wrapException (https://scadnano.org/main.dart.js:1181:17)
    at Object.throwExpression (https://scadnano.org/main.dart.js:1195:15)
    at HelixBuilder.build$0 (https://scadnano.org/main.dart.js:89771:15)
    at Object.Design_from_json (https://scadnano.org/main.dart.js:34365:79)
    at Object.load_dna_file_reducer (https://scadnano.org/main.dart.js:21491:40)
    at StaticClosure.app_state_reducer (https://scadnano.org/main.dart.js:28205:18)
    at Store__createReduceAndNotify_closure.call$1 (https://scadnano.org/main.dart.js:62505:28)
    at StaticClosure.periodic_design_save_local_storage_middleware (https://scadnano.org/main.dart.js:35199:55)
    at Store__createDispatchers_closure.call$1 (https://scadnano.org/main.dart.js:62515:34)
    at StaticClosure.edit_select_mode_change_middleware (https://scadnano.org/main.dart.js:10971:55)

The file 4_helix_grid_none_min_offset_position_x_nondefault.sc has this content:

{
  "version": "0.11.0",
  "grid": "none",
  "helices": [
    {
      "position": {"x": 0, "y": 0, "z": 0},
      "major_tick_distance": 4
    },
    {
      "min_offset": 8,
      "position": {"x": 0, "y": 3, "z": 3},
      "major_tick_distance": 4
    },
    {
      "position": {"x": 2.5, "y": -3, "z": 8},
      "major_tick_distance": 4
    },
    {
      "min_offset": 8,
      "position": {"x": 2.5, "y": 1, "z": 11},
      "major_tick_distance": 4
    }
  ],
  "strands": [
    {
      "color": "#f74308",
      "domains": [
        {"helix": 0, "forward": true, "start": 0, "end": 16}
      ]
    },
    {
      "color": "#57bb00",
      "domains": [
        {"helix": 1, "forward": true, "start": 8, "end": 16}
      ]
    },
    {
      "color": "#888888",
      "domains": [
        {"helix": 2, "forward": true, "start": 0, "end": 16}
      ]
    },
    {
      "color": "#32b86c",
      "domains": [
        {"helix": 3, "forward": true, "start": 8, "end": 16}
      ]
    }
  ]
}

4_helix_min_offsets_nonzero.sc:
I encountered an error while reading the file 4_helix_min_offsets_nonzero.sc:

****************************************************************************************************
* error type:    BuiltValueNullFieldError
* error message: Tried to construct class "Helix" with null field "major_tick_start". This is forbidden; to allow it, mark "major_tick_start" with @nullable.
****************************************************************************************************

That file's contents are printed below.

**********************************************************************************
* If you believe this is due to a bug in scadnano, please file a bug report at   *
*   https://github.com/UC-Davis-molecular-computing/scadnano/issues              *
* Include this entire message in the email.                                      *
**********************************************************************************

stack trace:
Tried to construct class "Helix" with null field "major_tick_start". This is forbidden; to allow it, mark "major_tick_start" with @nullable.
    at Object.wrapException (https://scadnano.org/main.dart.js:1181:17)
    at Object.throwExpression (https://scadnano.org/main.dart.js:1195:15)
    at HelixBuilder.build$0 (https://scadnano.org/main.dart.js:89771:15)
    at Object.Design_from_json (https://scadnano.org/main.dart.js:34365:79)
    at Object.load_dna_file_reducer (https://scadnano.org/main.dart.js:21491:40)
    at StaticClosure.app_state_reducer (https://scadnano.org/main.dart.js:28205:18)
    at Store__createReduceAndNotify_closure.call$1 (https://scadnano.org/main.dart.js:62505:28)
    at StaticClosure.periodic_design_save_local_storage_middleware (https://scadnano.org/main.dart.js:35199:55)
    at Store__createDispatchers_closure.call$1 (https://scadnano.org/main.dart.js:62515:34)
    at StaticClosure.edit_select_mode_change_middleware (https://scadnano.org/main.dart.js:10971:55)

The file 4_helix_min_offsets_nonzero.sc has this content:

{
  "version": "0.11.0",
  "grid": "square",
  "helices": [
    {"max_offset": 30, "grid_position": [0, 0]},
    {"min_offset": 1, "max_offset": 30, "grid_position": [0, 1]},
    {"min_offset": 2, "max_offset": 30, "grid_position": [0, 2]},
    {"min_offset": 3, "max_offset": 30, "grid_position": [0, 3]}
  ],
  "strands": [
    {
      "color": "#f74308",
      "domains": [
        {"helix": 0, "forward": true, "start": 0, "end": 29}
      ]
    },
    {
      "color": "#0066cc",
      "domains": [
        {"helix": 0, "forward": false, "start": 0, "end": 29}
      ]
    }
  ]
}

The issue seems to lie here:
https://github.com/UC-Davis-molecular-computing/scadnano/blob/36d27dd00b048fb63105951b4afad5c4a4e491a1/lib/src/state/design.dart#L1586-L1613
If min_offset is non-null, then major_tick_start might not be set.
I think the fix should be to pull out that last if statement:
set_helices_min_max_offsets(Map<int, HelixBuilder> helix_builders, Iterable<Strand> strands) {
  var helix_idx_to_substrands = construct_helix_idx_to_domains_map(strands, helix_builders.keys);

  for (int idx in helix_builders.keys) {
    HelixBuilder helix_builder = helix_builders[idx];

    if (helix_builder.max_offset == null) {
      helix_builder.max_offset = calculate_default_max_offset(strands);
    }

    if (helix_builder.min_offset == null) {
      var substrands = helix_idx_to_substrands[helix_builder.idx];
      var min_offset = substrands.isEmpty ? constants.default_min_offset : substrands.first.start;
      for (var substrand in substrands) {
        min_offset = min(min_offset, substrand.start);
      }
      // if there are strands with no offsets less than 1, we still want Helix.min_offset to be 0
      // i.e., it can only be positive if the JSON explicitly declares that
      if (min_offset > 0) {
        min_offset = 0;
      }
      helix_builder.min_offset = min_offset;
      // used to be here
    }
    // Move this out to here
    if (helix_builder.major_tick_start == null) {
      helix_builder.major_tick_start = min_offset;
    }
  }
}

This way, major_tick_start is set even if min_offset is non-null

Fixed in https://github.com/UC-Davis-molecular-computing/scadnano/pull/499


Possible to configure Lambda without a node-sonos-http-api port?

I have my node-sonos-http-api server running at https://mydomain.com/sonos/ but the lambda is adding a default port 80 at the end of the request. Is there a way around this? Thanks!

I got around it by adding this to httpreq
options.path = "/sonos" + options.path;


Added unit test for existing business post and comment models

Originally, unit testing was mistaken for integration testing. We switched the directories, and we realized we had no unit testing for the business logic. We implemented Unit testing for the comment and post models inside the unit testing directory.

Created new branch and pull request: https://github.com/2011-fakebook-project3/posts/pull/138


Update bower's D3 dependency

Fixes #2327

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2331   +/-   ##
=======================================
  Coverage   76.85%   76.85%
=======================================
  Files          51       51
  Lines        4126     4126
=======================================
  Hits         3171     3171
  Misses        955      955

Continue to review full report at Codecov.

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

TODO: test installing by bower after the next release