Only run tests on code changes

Checklist
GitHub

[x] I've given this PR a concise, self-descriptive, and meaningful title
[ ] I've linked relevant issues in the PR body
[x] I've applied the relevant labels to this PR
[x] I've assigned a reviewer

PR contents

[ ] I've consulted ivadomed's internal developer documentation to ensure my contribution is in line with any relevant design decisions
[ ] I've added relevant tests for my contribution
[ ] I've updated the relevant documentation for my changes, including argparse descriptions, docstrings, and ReadTheDocs tutorial pages

Description
It's absurd that clicking the 'update branch' button on GitHub on https://github.com/ivadomed/ivadomed/pull/1183

produced a 17 minute test run:

when all that PR was touching was editor metadata.
This uses github's feature meant exactly to take care of this problem. It only runs tests when the code itself changes (but counting requirements.txt and setup.py as part of the code).

I think we might need to disable the expected status checks for this to behave.  What do you think @dyt811 ?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
4.9%

Covered Lines:
4537

Relevant Lines:
6126

💛  - Coveralls

I think we might need to disable the expected status checks for this to behave. What do you think @dyt811 ?

Ah..yeah I tried testing in a fork. I set up a protected branch with

And now https://github.com/kousu/ivadomed/pull/5 will never be mergeable because the test will never run

I also found this Github Action, which solves the tension between conditional workflows and required statuses. If someone that much work into it it must be because it's not something that's solved with native GitHub features right?
I also found this thread https://github.com/orgs/community/discussions/13690 that confirms.
There's a workaround in the github docs: make a dummy workflow with the same task names. I guess I'll do that? It's unfortunate though.

I added run_tests_dummy.yml which implements GitHub's recommended workaround.
It adds a maintenance burden (we need to keep the list of what folders have testable code in sync) but it means we don't need to disable the Required Statuses, while also saving time waiting for CI whenever we're just working on the docs or the dev/ folder.

I think this is QUITE a reasonable compromise to trade off waiting for CI to run. Also allow more CI to concurrently run when lots of changes are being simultaneously introduced. I have no problem accepting it but I think best to seek other's feedback as well in the meeting next week.

@kanishk16 this is ready for re-review!

Thanks for your eyes @kanishk16 :)


change tgt_mask to boolean

Current depthcharge peptide decoder converts tgt_mask from bool to float, allowing tokens to attend to the future during training. From the pytorch Transformer docs:

If a BoolTensor is provided, positions with True are not allowed to attend while False values will be unchanged. If a FloatTensor is provided, it will be added to the attention weight.

Leaving the mask as type Boolean resolves the issue.

Thanks @justin-a-sanders! Have you verified that this works on a GPU? I can't test that as part of our unit tests, but I want verify that it the mask is created on the correct device.

Thanks @justin-a-sanders! Have you verified that this works on a GPU? I can't test that as part of our unit tests, but I want verify that it the mask is created on the correct device.

Good call, needed to move it to the correct device.


cinnamon settings gnome-online-accounts is broken

Describe the bug
Adding an account crashes cinnamon-settings with
** (cinnamon-settings.py:34700): ERROR **: 17:57:40.026: GApplication is required for xdg-desktop-portal access in the WebKit sandbox.

Steps To Reproduce
Steps to reproduce the behavior:

cinnamon-settings online-accounts
Click on any account that requires a web sign in (google for ex)
crash

Expected behavior
No crash
Screenshots
Additional context
Notify maintainers
@ myself
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
- cinnamon.cinnamon-settings
# a list of nixos modules affected by the problem
module:

Tracking upstream https://github.com/linuxmint/cinnamon/issues/10482


Not working with passing class instead string.

When I'm using strings like 'MyController@action' all is ok.
But I'm used to doing like so [MyController::class, 'action']. And this routes are skipping.
Can you add support for this writing style for laravel and dingo routes?

Closed in #516


Possible to default dockerfile.skip=true

We have several developers that do not have docker on their systems. I would prefer to have dockerfile.skip=true be the default for these developers.   Is there a way to encode that into the configuration section of the plugin?

I would suggest you either create a separate profile, or use a property value.
I normally put the dockerfile-maven-plugin in a profile that I have to explicitly activate. Therefore a standard build will not call it.
If you don't want an extra profile, then the simplest is to set the skip configuration using a property.


Sliver animated list

Description
This implements the SliverAnimatedList widget, which behaves like an AnimatedList, except that
it's a sliver that can be used in a CustomScrollView.The API for AnimatedListState did not change, and SliverAnimatedListState has the same API.
Related Issues
None
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] My PR includes tests for all changed/updated/fixed behaviors (See Test Coverage).
[X] All existing and new tests are passing.
[X] I updated/added relevant documentation (doc comments with ///).
[X] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I signed the CLA.
[X] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes).
[X] No, this is not a breaking change.

Good point, I was trying to keep backwards compatibility: The current way to control an AnimatedList is to use the methods on the AnimatedListState. Existing code would have to adapt to using the SliverAnimatedListState, even though they never explicitly use a SliverAnimatedList. Also, if we made it a stateless widget, we'd have to pass another key down to the SliverAnimatedList so that it can be accessed.
I can't really think of a way to not make this backwards incompatible, but I'm open to suggestions.


systematic Agilent GCMS data documentation

I'm uncomfortable with our rigor around the Agilent GCMS data files.  This could be because i'm not steeped in the domain.  It would be beneficial to internally document valence build coverage with respect to:

Exactly what Agilent devices are we targeting?
A comprehensive list of the output files these devices produce.

Is the .D directory comprehensive?
What files can appear in a .D directory? Other directories?
What data is contained in these files? Other directories?

We can prioritize implementation of what's important, and move onto other devices/analytical methods before implementing comprehensive Agilent coverage.  However, a checklist of the universe of possible files to reference would be highly beneficial for development and design purposes.

Need to add in reference to agilent gcms software in documentation

Ive updated the markdown file, it will continue to evolve, not sure if you want to close this issue or leave it open for discussions


FINN features not supported in BNN-PYNQ

Hi,
reading some papers about FINN, sometimes the repo BNN-PYNQ is referred as "lightweight version of FINN".
But, what are the features of FINN that are not supported by BNN-PYNQ?
Best regards.
Thanks,
Sara

This repo does not implement the complete FINN toolflow (which consist of automatic generation of the hardware accelerator starting from a trained neural network in Caffe).
You can find more information about the different repos and their features in our webpage: http://www.pynq.io/ml


The table for leads is automatically generated, the docs mean something else

The table for leads is automatically generated, the docs mean something else

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

ID: 4c14f046-8a16-65ac-2bb2-0740610e2b55
Version Independent ID: 5a901ada-563e-378d-a9b8-fddd9059901b
Content: Lead management with Azure Table storage - Microsoft commercial marketplace
Content Source: articles/marketplace/partner-center-portal/commercial-marketplace-lead-management-instructions-azure-table.md
Service: marketplace
Sub-service: partnercenter-marketplace-publisher
GitHub Login: @trkeya
Microsoft Alias: trkeya

@santhoshb-msft Thanks for your comment. We will review the issue and get back to you shortly.

@SwathiDhanwada-MSFT  Could you assign this to Uri who owns lead management.

#reassign:sudharocks

#reassign:durior1

The following users don't have valid GitHub IDs, or are not collaborators on this repo: durior1

#reassign:durior1

The following users don't have valid GitHub IDs, or are not collaborators on this repo: durior1

#reassign:durior1

#reassign:sudharocks after clarifying ownership


fix: agent cookie host assignment

Checklist

[X] I have ensured my pull request is not behind the main or master branch of the original repository.
[X] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first.
[X] I have written a commit message that passes commitlint linting.
[X] I have ensured that my code changes pass linting tests.
[ ] I have ensured that my code changes pass unit tests.

[ ] multipart tests are green

[X] I have described my pull request and the reasons for code changes along with context if necessary in ticket 1807

`` @

What's preventing a merge here?
The multipart tests (which should not relate to my fix) are not working but as you can see here, they are not even causing a failing CI pipeline.


Clean up the Gruntfile

Reopening #300

Thanks for updating this! It does seem like an improvement. Just a small couple of comments for now. Did you try building uProxy when it's linked against this?

I know I tested building a uproxy that relied on these rules and I'm almost
positive that it will work with old versions of uProxy.  Give me a minute
to double-check that though.
On Mon, Jan 4, 2016 at 2:16 PM, trevj<EMAIL_ADDRESS>wrote:

Thanks for updating this! It does seem like an improvement. Just a small
couple of comments for now. Did you try building uProxy when it's linked
against this?
—
Reply to this email directly or view it on GitHub
https://github.com/uProxy/uproxy-lib/pull/339#issuecomment-168775071.

Confirmed: all changes are backwards compatible.
On Mon, Jan 4, 2016 at 2:28 PM, Jonathan Pevarnek<EMAIL_ADDRESS>wrote:

I know I tested building a uproxy that relied on these rules and I'm
almost positive that it will work with old versions of uProxy.  Give me a
minute to double-check that though.
On Mon, Jan 4, 2016 at 2:16 PM, trevj<EMAIL_ADDRESS>wrote:

Thanks for updating this! It does seem like an improvement. Just a small
couple of comments for now. Did you try building uProxy when it's linked
against this?
—
Reply to this email directly or view it on GitHub
https://github.com/uProxy/uproxy-lib/pull/339#issuecomment-168775071.

:+1:

Merging, this will require at least a minor version bump in the next release.


Patterns vs. fixed values

FHIR offers two ways to enforce values being present on certain elements: patterns and fixed codes. Until now, we have defined that patterns are the preferred way for CodeableConcept elements because this offers a minimal requirement, allowing for other codes to be present. For other situations, a fixed value is maybe more informative to the implementer.
The proposal is now to add to the profiling guidelines the guidance that patterns are preferred for complex elements while fixed codes are preferred for atomic elements.

To use the FHIR terminology (https://www.hl7.org/fhir/datatypes.html):

Primitive Types = fixed
General-purpose complex types = pattern

Will be solved via https://bits.nictiz.nl/browse/MM-4968. Closing this issue.


Feat/custom clab version

lgtm
if we assume that we always have linux/amd64 type of cluster it should just always werk

yeah I figured we can cross the arm bridge if/when we get there :) probably in hindsight apt way is better but... 🤣


Welcome notebook doesn't open in Apple Safari

Crossnote is great!
This URL doesn't open the welcome notebook in Apple Safari.  Instead it only opens a new tab with an empty, collapsed "Add a Notebook" dialog.
If I expand the dialog and manually enter the repo url, it opens properly.

Thank you for posting the issue! Are you using safari on Mac or iPhone or iPad?

Sorry, was using safari on Mac but seems it affects iOS (iPhone) as well.  Don't have iPad to test.

Hi @HunterDG , I would assume the issue is now fixed. Thank you!

Unfortunately does not appear fixed for me on iOS.  Don’t have laptop nearby to test, will check later.

Hi there. Could you try it in incognito window? Cheers 👍

Hello,
It seems I have the same issue on macOS Safari 13.1.  The behavior I described in the original issue is unchanged, regardless of normal or 'private' window

Seems this is fixed now


catkin_make "find_package" problem when compiling on the target machine

Hi,
I am facing a problem regarding catkin_make on the target machine running Yocto dunfell OS. I am trying to compile the simplest example of ROS given in the tutorials section however I am receiving an error as given below,

imx8mm-var-dart:~/catkin_ws# catkin_make
Base path: /home/root/catkin_ws
Source space: /home/root/catkin_ws/src
Build space: /home/root/catkin_ws/build
Devel space: /home/root/catkin_ws/devel
Install space: /home/root/catkin_ws/install

Running command: "make cmake_check_build_system" in "/home/root/catkin_ws/build"

-- Using CATKIN_DEVEL_PREFIX: /home/root/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/melodic;/usr
-- This workspace overlays: /opt/ros/melodic
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using default Python package layout
-- Using empy: /usr/lib/python2.7/site-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/root/catkin_ws/build/test_results
-- gtest not found, C++ tests can not be built. Please install the gtest headers globally in your system or checkout gtest (by running 'git clone  https://github.com/google/googletest.git -b release-1.8.0' in the source space '/home/root/catkin_ws/src' of your workspace) to enable gtests
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.28
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 1 packages in topological order:
-- ~~  - beginner_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner_tutorials'
-- ==> add_subdirectory(beginner_tutorials)
-- Could NOT find roscpp (missing: roscpp_DIR)
-- Could not find the required component 'roscpp'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "roscpp" with any
of the following names:
roscppConfig.cmake
roscpp-config.cmake

Add the installation prefix of "roscpp" to CMAKE_PREFIX_PATH or set
"roscpp_DIR" to a directory containing one of the above files.  If "roscpp"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
beginner_tutorials/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/root/catkin_ws/build/CMakeFiles/CMakeOutput.log".
make: *** [Makefile:264: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

The claimed missing files are available in the system as I can find them easily using roscd. I wonder if any kind of Yocto ROS Recipe dependency is missing. Below I am also sharing the ROS recipes that I have added into my Yocto OS. What might be missing here, I would appreciate your help.

IMAGE_INSTALL_append = "
ros-core
ros-base
roscpp
roscpp-core
roscpp-traits
ros-comm
roscpp-serialization
cob-utilities
mbf-msgs
catkin
catkin-dev
cartographer
cartographer-ros
cv-bridge
packagegroup-ros-turtlebot3-core
packagegroup-core-buildessential
packagegroup-core-full-cmdline
"

Hello,
I also faced this error, but I couldn't find out solution. :(


How to prevent the bot auto disconnect?

I have been very successful to use this API to create a bot. The only downside is the bot is auto disconnecting after 6 hours or so on my ubuntu server. I have used pm2 and screen to make sure to run 24/7, but it's not working.
Does anyone know how to prevent the bot from auto disconnecting?

Also running into this issue.
No error messages in Node - app is still running fine but all of a sudden after 5-6 hours it is not responding to user input from Slack.

How did you solve app is still running fine? Did you changed the original creator code of his API?

Sorry if I was unclear.
I am having the exact same issue you are having.
Running my slackbot on Ubuntu with PM2 but it disconnects after 5 to 6 hours or so.
PM2 isn't at fault since this happens without that.
I don't get error messages in node and it appears the connection to Slack is absolutely fine - however it stops responding to peoples messages from Slack.

The only way I can see to not fixing the x but the y is using crontab and making sure the bot will turn off and turn on again after 2 hours or something.

Funnily enough that's the exact solution my colleague just had.
Seems like this might be the same issue we are having reported earlier
https://github.com/mishk0/slack-bot-api/issues/24

Exactly! Seems the original creator of this API left the project with some bugs :(

Based on official docs and other sources I think we need to "ping" in regular intervals...
https://api.slack.com/rtm
Clients should try to quickly detect disconnections, even in idle periods, so that users can easily tell the difference between being disconnected and everyone being quiet. Not all web browsers support the WebSocket ping spec, so the RTM protocol also supports ping/pong messages. When there is no other activity clients should send a ping every few seconds. To send a ping, send the following JSON:
{
"id": 1234, // ID, see "sending messages" above
"type": "ping",
...
}
But how do we do it using slackbots?

same issues here. i keep restarting stuff

I am also facing the same issue. Bot getting auto disconnected. Any solution other than restart? Please advice.

It appears slackbots already does the ping that @mkt1988 suggested?
    /**
     * Establish a WebSocket connection
     */
     connect() {
         this.ws = new WebSocket(this.wsUrl);

         setWsHeartbeat(this.ws, '{ "kind": "ping" }');

Ok so looks like the hangup is not coming from the WebSocket layer, but the layer on top of that.
The WebSocket layer has a ping mechanism, and then Slack also wants a separate ping. So in this issue, the ping is correctly done for WebSockets, but not for Slack.
The solution I'm going for myself is - instead of trying to send a message of type ping to slack - which is supported it seems - literally have my bot post the messages that I want to use him for every 4 hours or so. I'm using it for analytics, and no one is going to complain that we get analytics in slack every 4 hours.
For a more silent bot, I think the slack-bot-api package doesn't provide a way to just do a ping message to slack, so I don't know that there's a path forward there w/o submitting a PR to the npm package to support both pinging and messaging.

i using this kindda approach too. but it still not working. the bot keep sending me the response based on what interval did i give, but when i try to send a message, it wasnt listening.

I don't know if this is still relevant, but I fixed this problem by adding to the source code a reconnect method. I was told by Slack Help Center that this is normal, and that simply what you need to do is call a method on the api to tell Slack that your app is still running. The reconnect method simply calls the method on the real time messaging api (rtm.connect) which to my understanding sends over a new url to set as your web socket. My pull request didn't go through due to some weird error, and it doesn't seem like anyone is still keeping tabs on this repository. For more clarification take a look at the slack-api documentation here: https://api.slack.com/methods/rtm.connect

Another solution, could be to add the bot in to a systemd service and just restart it every X hours. An example of how to do this here


[Bug]: Apply for project permissions, click OK, and it will report 'The approval instance is not on this machine'

ODC version
ODC424
OB version
independent
What happened?
Apply for project permissions, click OK, and it will report 'The approval instance is not on this machine'

What did you expect to happen?
。
How can we reproduce it (as minimally and precisely as possible)?
chat privately
Anything else we need to know?
No response
Cloud
No response

The root cause is the charset of mete DB is gbk and the emoji is not supported. So if insert a field with emoji into SQL will throw an exception.

The character set of the meta database has been described in the ODC user documentation: https://www.oceanbase.com/docs/common-odc-1000000000468256


can I make a  c++&mpi debug for multi-proess in VSCode ???

@Tyriar please. can the vscode support the basic function?

Looks related to c++ language. Please file the issue against c++ extension.


add 'ts' language to code blocks in README.MD

Github flavored markdown provides for syntax highlighting in code blocks.
This makes it much easier to pick out code from comments in the example blocks.

Awesome. Thank you for the contribution.


Support dark mode

I am a dark mode user, and I want to use it.

not use #000000 and using #121212

How about color palette #164?
#072a16, #2d6b22, #8ab446, #acc864, #d3e29d

Light color theme: https://github.com/suiranfes/shop.suiranfes.blue/commit/1ed82a2892a2db4584ed3523c21c8515da6735f9

https://colorpalettes.net/color-palette-2835
#183114, #446129, #92a65f, #dcde9f, #f3f4d3

I like the color themes of misskey. And I want to change this project's one to it.

I like the color themes of misskey. And I want to change this project's one to it.

example

misskey (official)

https://github.com/misskey-dev/misskey/tree/develop/packages/frontend/src/themes

d-green-lime

catppuccin (color theme of multi applications)

https://github.com/catppuccin/misskey

rose pine

https://github.com/rose-pine/misskey

I desided to support d-astro of misskey official.


Added Hover Effect #161

[x] I am making a proper pull request, not a spam.
[x] I've checked the issue list before deciding what to submit.

Related Issues or Pull Requests
#161

@nilisha-jais pls review my pr


Support for serde arbitrary_precision

What happened?
The library does not seem to handle serde json number saved with arbitrary precision
Reproduction steps

When I enable the feature "arbitrary_precision" from serdejson,
and when I use insta::assert_json_snapshot!(<value>);
then the snapshots contain the following diff:

-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
    7     7 │     "typeId": "product",
    8     8 │     "id": "id",
    9     9 │     "obj": {
   10    10 │       "id": "id",
   11       │-      "version": 2,
         11 │+      "version": {
         12 │+        "$serde_json::private::Number": "2"
         13 │+      },

Insta Version
2.0.1
rustc Version
1.70.0
What did you expect?
The diff should not happen

Update: the issue was coming from a custom deserializer.


docs: enable patch releases on doc changes

What:

Why:

How:

Checklist:

[ ] PR small as possible
[ ] Codebase consistent
[ ] TypeScript definitions updated
[ ] Tests and linting
[ ] Ready to be merged

:tada: This PR is included in version 3.0.2 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


[FEATURE REQUEST] Response code blacklist, improved white/blacklisting abilities

Ferox should support the ability to blacklist certain response codes, similar to the --hc flag in wfuzz. This would make it drastically easier to hide just one or two codes, versus the current alternative of having to whitelist all the codes you want to see.
In addition, the ability to white/blacklist based off of characters/line count on the response page would be greatly appreciated. Sometimes you won't find what you want from a response code, but will from a char or line count. Both features are in wfuzz for comparison.

@LMAY75
Thanks for the request!  I'm on board with the blacklist.
The word count / line count option is a little different.  Currently, we don't read the body of the response at all.  Reading the body of each response isn't out of the question, but I don't plan to append it on to this ticket.  I'm going to split out your second request and leave it as a separate feature.
Thanks again!


XCode 8.3.2 Compiler Issues

I am experiencing a number of problems with the iOS SDK when compiling under XCode 8.3.2

In the “MobFox-iOS-SDK/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/Headers/MobFoxSDKCore.h” file at line 20 is “#import “MobFoxAdTest.h”.  I cannot find this include file anywhere, should that line be in the final MobFoxSDKCore.framework?

In “MobFox-iOS-SDK/Adapters/AdMob/GADMAdapterMobFox.m” XCode 8 is warning me that the “dealloc” method at Line 263 might need a “[super dealloc];” call added.  Should this source file be compiled using ARC?  If I compile using ARC the warning disappears, or is the compiler warning correct?

In “MobFox-iOS-SDK/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/Headers/MobFoxAd.h” XCode is warning me that the declaration at lines 50 and 51 are defaulting to “assign”.  Should the properties be “@property (nonatomic assign)”?

And finally when linking the “MobFoxSDKCore.framework” to our Apps we get a number of warnings (Please see attached image “XCode 8 Linker Warnings.png”).  If I turn debug generation to DWARF only then the warning disappear, but I would prefer to keep the setting to DWARF and dSYM.

Hi,
We'll release a small update with a fix for these early next week. I will update this issue accordingly.
Thanks

Hi,
A new version 3.1.6e has been just released, all the issues you described are fixed besides the second issue of “[super dealloc];” and that is right arc should be in use in class declaration.


Refactor STM32 flashers

Description of Change

Support erase for dfu-util

Moved to common location to avoid duplication

Allow use of st-flash CLI instead of STM32_Programmer_CLI

I did have that previously, and its use can be hidden with a :flash alias. Though I do think its somewhat unintuitive for  flash-stlink to not work with the connected stlink.


exposing _map Instance from google-maps-api-wrapper.ts

exposing _map Instance from google-maps-api-wrapper.ts

There were the following issues with your Pull Request

Commit: 96eab799c661c02935ea22b84f972960476f8de7
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/SebastianM/angular2-google-maps

This message was auto-generated by https://gitcop.com


Add unittest to check realm object and realm this types

Make sure that realm object and realm this types are tested.

What is the case that is tested here, but not in the test file?

There is an API method jerry_value_get_type which returns the type of a value. There were no tests where a realm's type is queried. Previously there a problem where an value was returned but the API method was unable to query it's type. To avoid such cases it would be good to always add type test for various (at least create) methods.
And all value type tests are in this file.

What is the case that is tested here, but not in the test file?

There is an API method jerry_value_get_type which returns the type of a value. There were no tests where a realm's type is queried. Previously there a problem where an value was returned but the API method was unable to query it's type. To avoid such cases it would be good to always add type test for various (at least create) methods.
And all value type tests are in this file.

In addition I've just realized, the jerry_object_get_type for realms should also be tested.

In addition I've just realized, the jerry_object_get_type for realms should also be tested.

@zherczeg I've updated the PR

@zherczeg I've updated the PR


Show editor title buttons when global toolbar is disabled

For https://github.com/microsoft/vscode-jupyter/issues/6019

Codecov Report

Merging #6160 (cf28e95) into main (287e477) will decrease coverage by 0%.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main   #6160   +/-   ##
=====================================
- Coverage     72%     72%   -1%
=====================================
  Files        399     399
  Lines      26866   26866
  Branches    3952    3952
=====================================
- Hits       19438   19413   -25
- Misses      5786    5803   +17
- Partials    1642    1650    +8

Impacted Files
Coverage Δ

...t/datascience/jupyter/jupyterInvalidKernelError.ts
66% <0%> (-34%)
:arrow_down:

src/client/datascience/jupyter/jupyterSession.ts
75% <0%> (-5%)
:arrow_down:

src/client/datascience/baseJupyterSession.ts
71% <0%> (-3%)
:arrow_down:

src/client/common/utils/decorators.ts
77% <0%> (-2%)
:arrow_down:

...ent/datascience/jupyter/kernels/kernelExecution.ts
67% <0%> (-2%)
:arrow_down:

...client/datascience/kernel-launcher/kernelDaemon.ts
53% <0%> (-2%)
:arrow_down:

...t/datascience/kernel-launcher/localKernelFinder.ts
81% <0%> (-2%)
:arrow_down:

...tascience/jupyter/liveshare/hostJupyterNotebook.ts
44% <0%> (-2%)
:arrow_down:

src/client/datascience/jupyter/kernels/kernel.ts
75% <0%> (-1%)
:arrow_down:

src/client/datascience/jupyter/kernels/helpers.ts
74% <0%> (-1%)
:arrow_down:

... and 1 more


Unable to start according to the instructions

Unable to start according to the instructions
(base) feadre@e2680v2:/home/fast120/dcgm/gpu-monitoring-tools$ docker run -d --gpus all --rm -p 9400:9400 nvidia/dcgm-exporter:latest
unknown flag: --gpus
See 'docker run --help'.

You are probably using an outdated version of Docker.


chore: add support logic for skiping steps

closes #49

@jpmckinney, let me know if this approach makes sense to you

@jpmckinney FYI this is ready for review again


Support extension debugging in a clean environment

In order to develop and debug extensions in a "clean environment", that means with a clean (or empty) set of extensions and settings, some users tried to use the  --extensions-dir and --user-data-dir command line options in their extension's debug configuration.
Since this does not work, issues #126737 and #130504 were created.
Fixing these issues is difficult and would result in large and high-risk code changes.
With the recent work on "settings profiles", a much simpler solution is in reach.
This feature request will make profiles available for extension debugging in a clean environment.

With the fix for #159577 here is now an up-to-date description of the feature:
With the "settings profile" feature and the new command line support for profiles it is now possible to specify profiles in the extension's debug configuration.
There are basically two possible approaches:

"debugging in a clean environment" by using an unnamed "empty" profile that gets automatically deleted when debugging has stopped.
"debugging in a controlled environment" by using a named profile that has been created specifically for extension debugging and contains specific settings and extensions.

This debug configuration shows how to "debug in a clean environment":
{
    "name": "Extension",
    "type": "extensionHost",
    "request": "launch",
    "args": [
        "--profile-temp",
        "--extensionDevelopmentPath=${workspaceFolder}"
    ],
    "outFiles": [
        "${workspaceFolder}/dist/**/*.js"
    ],
    "preLaunchTask": "npm: watch"
}

And here is a debug configuration for "debugging in a controlled environment" that uses a previously created "debug" profile:
{
    "name": "Extension",
    "type": "extensionHost",
    "request": "launch",
    "args": [
        "--profile=debug",
        "--extensionDevelopmentPath=${workspaceFolder}"
    ],
    "outFiles": [
        "${workspaceFolder}/dist/**/*.js"
    ],
    "preLaunchTask": "npm: watch"
}

Please note:
when using --profile-temp for debugging an extension in a remote location (via one of the "Remote Development" extensions, e.g. "Remote - SSH"), the remote VS Code instance will show this status message:

This is expected because the temporary profile does not include any extensions which means that the "Remote Development" extensions are missing. The workaround is to create an empty named profile and add the "Remote Development" extensions.


Use ref readonly instead of in

Manually defines the RequiresLocationAttribute given that we can't upgrade away from the .NET 7 SDK and thereby get C# 12.

Ready for review.

Confirmed working by testing against vk.CreateInstance
unsafe
{
    var vk = Vk.GetApi();
    vk.CreateInstance(new InstanceCreateInfo(), null, null);
}

0>------- Started building project: Scratch
0>Program.cs(8,23): Warning CS9193 : Argument 1 should be a variable because it is passed to a 'ref readonly' parameter
Scratch -> /Users/dylan/Documents/RiderProjects/Scratch/Scratch/bin/Debug/net8.0/Scratch.dll
0>------- Finished building project: Scratch. Succeeded: True. Errors: 0. Warnings: 1

@Beyley Ready for review. I'm intending to update the non-Clang bindings at some point, did you want me to do that here or in a separate PR?

i think im too stupid to understand the reason for this, but the code itself looks good
after this is merged in i'll do a full update/regen of all the bindings including clang stuff

Force merging per Beyley's comment


[CRITICAL] More than 1 page of the document is not displayed in the validation task

Possible duplicate: https://github.com/epam/badgerdoc/issues/510


Question

Hi,
i'm working with webpack env. every time i bundled the js package i have to publish bundle.js with shift+alt+p combination.
is there any easy way to publish bundle.js automatically after bundling.
Thanks for this great tool.

Hello @hasankoroglu!
SPGo does not support a native method for automated publishing on minify, but there is a good solution for this scenario that involves setting up automated deployment scripts which integrate directly into VSCode.
Check out the link here. This blog post was written by the same person who authored by the libraries I use behind the scenes in SPGo.
Hope this helps!

Thank you very much, spgo saving our lives everyday :)


vue-styled-components + Nuxt js

Hi, what the problem with vue-styled-components + Nuxt js
https://github.com/nuxt/nuxt.js/issues/3479
how to fix this promblem?
Thanks.

The issue should be that we need to learn if or how vue-styled-components support SSR 😄
Because when you're using Nuxt, the first page is rendered in server side, but didn't inejct the style into generated html.

@AlexeyShaykov +1

+2 any update here? styled-components seems to be the most elegant (and browser compatible) solution for making dynamic styles.. I'd really love to use this in my nuxt project, but in it's current state you have to wrap the styled-component in a  tag defeating the purpose of nuxt in the first place

What needs to be done to get this working. I'm willing to submit a PR if pointed in the right direction

When I worked on it nuxt was in alpha version and I never thought about that.
If someone of you have good knowledge of nuxt just hit me up. :)

I think this issue title should probably be renamed as vue-styled-components should work on the server side in general, no matter if it's via Nuxt or some other method  – currently vue-styled components is not working for server-side rendering at all.
Also, since I'm not familiar with the source code myself, can anybody say if an approach such as the one mentioned by yannvr is an option (seems like this is the method react is using, so can probably also be used for Vue)?

Hello people,
when this version of SC was implemented Nuxt was not so popular (kind of alpha version) and I had no experience with SSR in general with Vue.
It would be very cool have this feature, I know.
As I explained in the other issues when they ask for new feature, is very difficult to me to implement alone, as I am the only one maintainer.
I just ask also to you for a help to do that, I am focusing to bug fixing and updates, merging new PR's to let also the community make the difference.
I am here for anything, if someone want to help me to do that, I'll be very grateful <3

I've had a go at implementing it and found out that styled components SSR was supported for React only so the feature we really need is vue-styled-component SSR (like @mrksbnch said). Then the Nuxt part would mostly be a boilerplate.

Has anyone done this?

Did someone managed to make nuxt and vue-styled-component work together ?

@Trapdafifou The flash is still happening though

@liqueflies any chance #112 could be merged in for SSR?

@Jmeyering sorry for late reply but now I want to try update this part (maybe with help of you all).
If you see #112 i gave it a try with no luck, also the opener of the PR is not convinced about that.
I have understand where the problem is, I will try to check if I can do something with it.

Hi all, I've created a pull request that at least temporarily patches the problem in a non-painful way.

+3 any update on the issue? @IntusFacultas your PR seems to be pending still

Hi all, please use nuxt-styled-components.


[ES6] First char completion in arrow functions is buggy

In the following example:
var numbers = [1,2,3,4,5];
numbers.map(a => );

If I place cursor directly after => completion proposals show "a", but if I move cursor to the right by one, so that there is a space, "a" is not listed.

What was happening is that the parser considers that cursor position to no longer be part of the arrow function node, so Tern ends up getting completions from the scope outside of the arrow function.
Acorn patch https://github.com/marijnh/acorn/commit/ec539d338d7318bd668185b65689f27a553fac3f should fix this.

Thanks!


Fix for exchange binding parameter order

As per https://github.com/pdezwart/php-amqp/blob/master/amqp_exchange.c
The exchange being bound should be the destination while the exchange described in $exchange_name should be the source.

Ha


nixpkgs.exa fails to compile on macOS

Issue description
Trying to install nixpkgs.exa on macOS 10.13 fails with
error: linking with `/nix/store/53h1zds6q5k4ab4l7430fbddn0l0iq1c-clang-wrapper-5.0.1/bin/cc` failed: exit code: 1
  |
  = note: "/nix/store/53h1zds6q5k4ab4l7430fbddn0l0iq1c-clang-wrapper-5.0.1/bin/cc" "-m64" "-L" "/nix/store/24rk65r8hp7l5f325vf0428qwh60rj5q-rustc-1.24.0/lib/rustlib/x86_64-apple-darwin/lib" "/private/tmp/nix-build-exa-0.8.0.drv-0/source/target/release/deps/exa-63f5e5261b4b1cf7.exa9.rcgu.o" "-o" "/private/tmp/nix-build-exa-0.8.0.drv-0/source/target/release/deps/exa-63f5e5261b4b1cf7" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/private/tmp/nix-build-exa-0.8.0.drv-0/source/target/release/deps" "-L" "/private/tmp/nix-build-exa-0.8.0.drv-0/source/target/release/build/libgit2-sys-1ef58a71f98afc5e/out/lib" "-L" "/nix/store/24rk65r8hp7l5f325vf0428qwh60rj5q-rustc-1.24.0/lib/rustlib/x86_64-apple-darwin/lib" "/private/tmp/nix-build-exa-0.8.0.drv-0/rustc.WIpOZ6nqnxD2/liblibgit2_sys-205ef4aa55063243.rlib" "/private/tmp/nix-build-exa-0.8.0.drv-0/rustc.WIpOZ6nqnxD2/libstd-42c88d32f0566f9a.rlib" "/private/tmp/nix-build-exa-0.8.0.drv-0/rustc.WIpOZ6nqnxD2/liballoc_jemalloc-c61b6e1873459f0a.rlib" "/nix/store/24rk65r8hp7l5f325vf0428qwh60rj5q-rustc-1.24.0/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-ba331b20e371c580.rlib" "-l" "iconv" "-framework" "Security" "-framework" "CoreFoundation" "-l" "z" "-l" "System" "-l" "resolv" "-l" "pthread" "-l" "c" "-l" "m"
  = note: ld: library not found for -liconv
          clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

Steps to reproduce

nix-env -i exa

Technical details

system: "x86_64-darwin"
host os: Darwin 17.4.0, macOS 10.13.3
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.0
channels(root): "nixpkgs-18.03pre129212.098c7f3d945"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs

CC @ehegnes

Hmm, maybe not a nix issue. I just tested building the latest master of exa and got the same error. I'll go talk with the maintainer of the original package. Though we should mark exa-0.8.0 as broken on macOS if that's possible.

Looks like the git feature is the source of the breakage. If I disable that, it builds just fine. With exa's Makefile you can disable this just by using make install FEATURES=.
I don't suppose we could get nixpkgs.exa updated to allow for disabling the git feature?

The issue on exa's issue tracker for this is ogham/exa#353

FWIW the breakage in git2-rs (which is the fundamental problem) seems to be traced back to the build process finding /opt/local/include/iconv.h on my system but linking against /usr/lib/libiconv.dylib. I thought Nix was supposed to prevent this sort of external dependency leakage into the build process.

Interesting. Uninstalling CMake from MacPorts and installing it via Nix instead caused the git2-rs problem to go away. Now I'm doubly-surprised that the Nix package is broken, because I would have expected it to be using Nix's CMake anyway.
Is Nix not sanitizing the PATH properly?

Oh wait, I just realized the error is different here. Oops. The upstream error is symbol errors with libiconv. The Nix error is -liconv itself cannot be found. I didn't realize Nix prevented packages from linking against system-supplied libraries. So my last 2 comments don't actually apply here.


fix a spelling mistake of markdown_doc/transpiler/README.md

fix a spelling mistake of markdown_doc/transpiler/README.md

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Uppercase in page slugs

Page slugs get lowercased upon saving, so there is no way to have a URL with uppercase letters. Consequentially, URLs with uppercase letters always result in a 404.
Possible solutions:

accessing a URL in uppercase, displays the page with the corresponding lowercase slug,
or, allow saving slugs in uppercase.

Redirecting to lower-case slugs would be great.

I'm in for redirecting to lower-case url.
/cc @divio/django-cms-core

Generated slugs are lower-cased by default (in both Django, and django CMS). This is good behaviour.
Manually-edited slugs are saved as lowercase in django CMS. I'm not really decided on whether this is good behaviour or not, but I think it's probably a good choice. It's a nicer user-experience and will save people from themselves, but denies them some power and functionality.
Our URLconfs are case-sensitive. This is probably good behaviour, but doesn't make much sense if you can never arrive at a URL with a slug with uppercase characters in it. If we are going to disallow uppercase characters in slugs, we may as well redirect from uppercase to lowercase when handling them.
Note that the Django Project has discussed this issue and decided that Django should have case-sensitive slug handling.

+1 for redirecting.

+1 for redirecting upper case to lower case urls


Can't create the XboxServices.config file

Hello,
I use the latest release of the plugin with Unity 2017.3 (.Net 3.5). I try to generate the XboxServices.config file but I get this error:

Any idea? Thank you.

This can occur when the Plugin has difficulty talking to Xbox Live. I'd recommend giving it another try and if it still doesn't work, see if you can manually add it via Windows Dev Center. Here's an article that explains the steps: https://docs.microsoft.com/en-us/windows/uwp/xbox-live/get-started-with-creators/create-and-test-a-new-creators-title

I tried many time but I still have this message. I tried to create the file by myself but I'm not sure of some field. I published the game as a beta on the MS Store but the certification failed because the plugin is not able to conect to the XBox Live.
Have you another software to make this file please? Thank you.


[BugFix] const_null_column has lost type use unfold_const_column to expand it

Fixes #issue
introduced by #26484
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

It looks like there are a lot of bugs in our column's handling of null/literal, and I may have to refactor them later.

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

It looks like there are a lot of bugs in our column's handling of null/literal, and I may have to refactor them later.

I think a lot of new expressions don't handle only_null very well

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

@Mergifyio backport branch-3.1


Zero-shot grounding

Hi,
Thanks for sharing your amazing work.
Could I ask if you can share the code to evaluate zero-shot grounding?

Yes, I will share the code to evaluate zero-shot grounding soon.


Can't capture message on Android (NS8)

Which platform(s) does your issue occur on?

Android emulator (Pixel 4 API 30)

Please, provide the following version numbers that your issue occurs with:

CLI: 8.1.5
Cross-platform modules: 8.1.1
Runtime(s): Android 8.1.1

Please, tell us how to recreate the issue in as much detail as possible.
When I try to run Sentry.captureMessage('Hello Sentry!') on Android emulator, it gives me this error in console:
JS: error sending sentry event TypeError: Cannot read property 'flushSendEvent' of undefined TypeError: Cannot read property 'flushSendEvent' of undefined
JS:     at file: app/webpack:/Project/node_modules/@nativescript-community/sentry/nssentry.android.js:158:0

However, on iOS Simulator it works.

@farfromrefug I called it just like this:
    Sentry.init({
        dsn: "DSN"
    })

@res0 can you try version 3.0.2?

hey @farfromrefug, you're very fast! :D however, it still shows that error, but it worked when I provided dist :)
and I also needed to update<EMAIL_ADDRESS>to use mavenCentral as it couldn't find it on just google:
repositories {
    google()
    mavenCentral()
}
dependencies {
    classpath 'io.sentry:sentry-android-gradle-plugin:2.1.5'
}

Thank you very much for what you're doing for the NS community!

Hi!
i just had a similar problem and I can confirm that you need to edit buildscript.gradle like @res0 suggested.
Error:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all artifacts for configuration ':app:classpath'.
   > Could not find io.sentry:sentry-android-gradle-plugin:2.1.5.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/io/sentry/sentry-android-gradle-plugin/2.1.5/sentry-android-gradle-plugin-2.1.5.pom
     If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
     Required by:
         project :app

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
Unable to apply changes on device: 08f8d37c0504. Error is: Command ./gradlew failed with exit code 1.

Fix:

  repositories {
      google()
+     mavenCentral()
  }
  dependencies {
      classpath 'io.sentry:sentry-android-gradle-plugin:2.1.5'
  }

@sebj54 @res0 thank you both for the reports ! 3.0.3 should fix both errors

Thanks for the quick fix!
I just updated the plugin and it now works as expected :)

Thank you very much, works well now! Closing this issue as it's been resolved :)


Bugfix/quote excludes

Quote the exclude patterns so that you can use patterns starting wildcards: *.iso etc.
Install python3-llfuse to fix borg(matic) mount errors (borg mount not available: loading FUSE support failed [ImportError: No module named 'llfuse'])

The quotes are OK, but we won't add FUSE as dependency, since many users don't want that installed.

The quotes are OK, but we won't add FUSE as dependency, since many users don't want that installed.

The quotes are OK, but we won't add FUSE as dependency, since many users don't want that installed.

It could be useful to document why python3-llfuse is not installed because t's a little strange that it's simply missing now?

The quotes are OK, but we won't add FUSE as dependency, since many users don't want that installed.

It could be useful to document why python3-llfuse is not installed because t's a little strange that it's simply missing now?

Yeah, could be added to the docs.

Yeah, could be added to the docs.


Remove unwanted None check for repr in Request class

Description
The current implementation of the Request class provided by sanic has a __repr__ method that performs an unnecessary None check on method and path and there it is not possible that they can be None.  We can remove these condition checks and have a much simpler __repr__ implementation.
Reference

__repr__ implementation
Community Discussion Thread

Just a reminder, don't forget the test.
https://github.com/huge-success/sanic/blob/cea1547e08230b6ad49eb7777fd8db5335382b7a/tests/test_requests.py#L558-L567


Added 0 padding to dropdown toggles to prevent move on click on firefox

#733

Thanks @jdhodges, but this will also change the positioning of the button.
Replaced by #796.


New input configs aren't recognized until after stopping and running again

Describe the bug
When a new input is added to a config it won't get recognized until you stop and run the config again
Steps To Reproduce
Steps to reproduce the behavior:

Load a config and run it
Add a new input config for an axis
Try using the axis

Result: "No config found for AnalogInput"
Expected result: It works
If you hit the stop button in the ribbon then the run button again the axis will be recognized and work.

I looked it up and the reason is, that I am keeping a cache for all buttons of the assigned input actions to be faster on the lookup when an event fires. this means that if i hit a button, and I have never seen the button before, I go through all input actions and I check for assignments. I keep a Hash Map with the button ID as key and next time you press the button I will find it faster.
if you have hit a button during run this will create a cache entry with the current assignment snapshot (even if there are none, then it will be empty). Assigning an additional function then requires to stop/start MF so that the cache gets cleared.
We could get rid of the caching entirely... not sure though how the performance will be.

@MobiFlight-Admin Possible fix could just be to clear the cache whenever a new output/input config is added?

@neilenns - can you confirm that it is working on your end too?

@MobiFlight-Admin I don't have an easy way right now, everything on my system is in disarray at the moment!


MinGW compiler executables

Does anyone remember why we use mingw32-gcc instead of gcc as default compiler in MinGW? I ask because I have a MinGW installation (win-builds) that does not have mingw32-gcc (available are cc, gcc, gcc-4.8.3, i686-w64-mingw32-gcc.exe, and some other unusual names). The pending pull request for static libraries (#264) also adds unprefixed commands (ar and ranlib). Should we change the default CC/LD variables for MinGW to plain gcc?
Note: mingw32-make is still necessary -- no MinGW installation I encountered had a plain make executable (I think one is included in MSYS though).

Maybe a test with a fallback?
Op 26 apr. 2015 19:42 schreef Philipp Janda<EMAIL_ADDRESS>Does anyone remember why we use mingw32-gcc instead of gcc as default compiler in MinGW? I ask because I have a MinGW installation (win-buildshttp://win-builds.org/) that does not have mingw32-gcc (available are cc, gcc, gcc-4.8.3, i686-w64-mingw32-gcc.exe, and some other unusual names). The pending pull request for static libraries (#264https://github.com/keplerproject/luarocks/pull/264) also adds unprefixed commands (ar and ranlib). Should we change the default CC/LD variables for MinGW to plain gcc?
Note: mingw32-make is still necessary -- no MinGW installation I encountered had a plain make executable (I think one is included in MSYS though).
—
Reply to this email directly or view it on GitHubhttps://github.com/keplerproject/luarocks/issues/362.

Maybe a test with a fallback?

During installation or during runtime? Is there anything wrong with plain gcc?

It depends who's packaging GCC for Windows.  I use the excellent TDM
distribution and there is just plain gcc.exe available, but also explicitly
named x86_64-w64-mingw32-gcc.exe.  Somewhat confusingly, there is no
make.exe, just  mingw32-make.exe.

Ok, so we now know about TDM (no mingw32-gcc.exe), original MinGW (does have mingw32-gcc.exe), and win-builds (no mingw32-gcc.exe). There are others like nuwen, mingw-builds, and Cygwin. Does anyone have those installed? Are there more?

During installation or during runtime?

If you're going to check, I'd rather add a test at installation time and set the config accordingly.
But if gcc.exe is available everywhere (or mostly everywhere except some obscure configuration -- that's what configurability is for), I'd favor to just switch the default.

nuwen (as of version 12.2) has gcc and make. Can't comment on mingw-builds or Cygwin.

Does plain `gcc.exe
at install time, the binaries are tested for 32/64bit, so maybe we should check at install time?

Does plain gcc.exe auto detect 32/64 bit?
At install time, the Lua binaries are tested for 32/64bit, so probably best to check at install time what is available?
This is what I find for MinGW;
C:\MinGW\bin>dir *gcc*.exe
 Het volume in station C heeft geen naam.
 Het volumenummer is 809F-7FC6

 Map van C:\MinGW\bin

05-10-2013  19:17            65.550 gcc-ar.exe
05-10-2013  19:17            65.038 gcc-nm.exe
05-10-2013  19:17            65.038 gcc-ranlib.exe
05-10-2013  19:17         1.819.150 gcc.exe
05-10-2013  19:17         1.819.150 mingw32-gcc-4.8.1.exe
05-10-2013  19:17            65.550 mingw32-gcc-ar.exe
05-10-2013  19:17            65.038 mingw32-gcc-nm.exe
05-10-2013  19:17            65.038 mingw32-gcc-ranlib.exe
05-10-2013  19:17         1.819.150 mingw32-gcc.exe
               9 bestand(en)        5.848.702 bytes
               0 map(pen)  10.526.003.200 bytes beschikbaar

C:\MinGW\bin>

and for make;
C:\MinGW\bin>dir *make*.*
 Het volume in station C heeft geen naam.
 Het volumenummer is 809F-7FC6

 Map van C:\MinGW\bin

02-09-2012  02:42           219.662 mingw32-make.exe
               1 bestand(en)          219.662 bytes
               0 map(pen)  10.525.966.336 bytes beschikbaar

C:\MinGW\bin>

Is that question for me? I have no idea. How should I test that?

not specifically, but I think it needs an answer to get to a sensible solution

Does plain gcc.exe auto detect 32/64 bit?

I don't think so. How are you supposed to decide when your only input is a C file?!

... and the libraries linked against, which contain the information (but that is linking...)
The installer checks the Lua binaries upon installation.

What executables are needed? is it enough to have gcc and make or do we also need to go out and look for ranlib and others? if so, which ones then?
From the naming mess it seems we need to provide some sort of list (2 lists actually; 32 and 64bit)
so for a workflow;

test 32/64 bit, based on Lua binaries
scan system path for *gcc*.exe and *make*.exe then match them so we know both tools are in the same directory (to prevent mixing tools from different distributions)
match the results against a know list of distributions
if last match failed; dump search results so we can quickly update the embedded lists based on reports.

could that work?

I think only gcc is needed for now (for static linking one also needs ar and ranlib, but I think that those are -- like make -- optional and probably bit-independent).

Here's some code; https://gist.github.com/Tieske/95178193ebb164b7f74f
It searches the system path for gcc, ar, ranlib and make executables located in the same directory.
This is what I get with three suites in my system path;
Program starting as '"C:\Program Files (x86)\ZeroBraneStudio\bin\lua.exe" -e "io.stdout:setvbuf('no')" "C:\Users\Thijs\Desktop\filelist.lua"'.
Program 'lua.exe' started in 'C:\Users\Thijs\Dropbox\Lua projects' (pid: 7008).
Complete suites:
path = c:\mingw\bin
	ar=c:\mingw\bin\ar.exe
	gcc=c:\mingw\bin\gcc.exe
	make=c:\mingw\bin\mingw32-make.exe
	ranlib=c:\mingw\bin\ranlib.exe
path = c:\tdm-gcc-32\bin
	ar=c:\tdm-gcc-32\bin\ar.exe
	gcc=c:\tdm-gcc-32\bin\gcc.exe
	make=c:\tdm-gcc-32\bin\mingw32-make.exe
	ranlib=c:\tdm-gcc-32\bin\ranlib.exe
path = c:\tdm-gcc-64\bin
	ar=c:\tdm-gcc-64\bin\ar.exe
	gcc=c:\tdm-gcc-64\bin\gcc.exe
	make=c:\tdm-gcc-64\bin\mingw32-make.exe
	ranlib=c:\tdm-gcc-64\bin\ranlib.exe
Program completed in 3.67 seconds (pid: 7008).

This could be integrated in the installer, if the /MW switch is specified.


ERROR failed to download from https://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-<IP_ADDRESS>.zip

I am getting this error:
bds_1  | Looking up latest version...
bds_1  | Downloading Bedrock server version <IP_ADDRESS> ...
bds_1  | curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
bds_1  | ERROR failed to download from https://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-<IP_ADDRESS>.zip
Is there something wrong with the url address?

Duplicate of the pinned issue #458. This is already fixed in the latest image. Re-pull the image.


Prevent 0 Votes

It's very easy to accidentally vote 0 in the light wallet - happened to me trying to vote on Igor's proposal - and I ended up with a 0 / neutral vote.
We need to urgently fix this so that the button is disabled when the user has selected 0 as their vote.
The whole vote UX is a little too error prone for my taste.
Because once you vote, you can't go back.
Proposed Solution
When 0 is selected, disable vote button - on accidental hitting the vote button with 0, do no action (there may be ways to get in even with disabling)

Yes thanks :facepalm: :rofl:

long fixed

long fixed


dx serve prints "Failed to parse file: No such file or directory" and starts rebuild sometime on static string change (Neovim)

Problem
dx serve (I guess starting from 0.5.x) now gives an error:
2024-04-15T14:10:04.619499Z ERROR dioxus_cli::server: Failed to parse file: No such file or directory (os error 2)

when changing a static string in the rsx block (or probably anything else). In rare cases, it triggers a rebuild.
After some debugging, I tried VSCodium and after each save absolutely nothing happened, and at that point I realized, it's https://github.com/typst/typst/issues/2633#issuecomment-1837183367 all over again. And, of course, the workaround is the same:
local rust_group = vim.api.nvim_create_augroup("rust_group", {})
vim.api.nvim_create_autocmd({ "FileType" }, {
  pattern = "rust",
  callback = function()
    vim.opt_local.backupcopy = "yes"
  end,
  group = rust_group,
})

I think it is also caused by notify crate (same as with Typst). So either some configuration must be changed for the watcher to work better, or the upstream crate should accommodate the "fix" of the default when saving files in Neovim. Some new option or something. Otherwise, I think this won't be resolved (there is probably no chance Neovim will change its default behavior).
Steps To Reproduce

dx new for desktop + tailwind
cd
nvim src/main.rs (Neovim 0.9.4)
dx serve
try changing some static string in the rsx block
see error or sudden rebuild

Expected behavior
No errors or rebuilds.
Environment:

Dioxus version: 0.5.4, main
Rust version: 1.79.0-nightly
OS info: Pop!_OS
App platform: desktop

Questionnaire

[x] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[x] I don't have time to fix this right now, but maybe later

I don't.

I'm having the same issue here.
Environment:
Dioxus version: 0.5.4, main
Rustc version: 1.80.0-nightly
OS info: Manjaro-i3
App platform: web
Neovim version: v0.9.5
The workaround from https://github.com/typst/typst/issues/2633 seems to work fine on my neovim lua files:
-- Rust dioxus workaround
vim.opt_local.backupcopy = "yes"

This is most likely an unrelated error. Try changing public to assets (depending on the value of the asset_dir in the Dioxus.toml) or removing the line completely (and using the path directly in the link element, see default template with dx new for example).

I can no longer reproduce it. At least with new template and 79e18c2d62166f388641cd6e20a82bef2506535a. The latest commit is broken as it panics on asset optimization step and has a fancy UI that is definitely isn't complete. I had backupcopy=auto. Maybe I should use April 16th commit.

If you're using nix we have a bug report on manganis where we're looking for the wrong "sh" and optimization fails - looks like there's a simple fix.

using nix how?

The original issue here should be fixed now. We have much more intelligent filtering in #2779

I'm trying dioxus and using Neovim and get ERROR dioxus_cli::server: Failed to parse file: No such file or directory (os error 2) quite frequently. Was this solved as @jkelleyrtp wrote? or was it solved with some configuration required for Neovim? Or not solved?

It works with latest Dioxus.

It works with latest Dioxus.

By latest you mean unreleased yet? I installed as in the instructions yesterday.

I just built dx from 31d72db and used dx new web -t DogeDark/dioxus-template --revision c7b8c5a --subtemplate Bare-Bones + 7 Enters (see https://github.com/DioxusLabs/dioxus-template/pull/50#issuecomment-2495981169).

CSS and rsx hot reloading works. I even tried nvim --clean. No issues, other than viewport flashes during hot reloading.


youtube-dl https://www.youtube.com/watch?v=N9x_LuklMCU

Checklist

[ X] I'm reporting a broken site support
[ X] I've verified that I'm running youtube-dl version 2021.03.31
[ X] I've checked that all provided URLs are alive and playable in a browser
[ X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ X] I've searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE
--> youtube-dl -v https://www.youtube.com/watch?v=N9x_LuklMCU
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=N9x_LuklMCU']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.03.31
[debug] Python version 2.7.18 (CPython) -<EMAIL_ADDRESS>[debug] exe versions: ffmpeg 4.3.2, ffprobe 4.3.2
[debug] Proxy map: {}
[youtube] N9x_LuklMCU: Downloading webpage
[youtube] N9x_LuklMCU: Downloading API JSON
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
    return func(self, *args, **kwargs)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 827, in __extract_info
    ie_result = ie.extract(url)
  File "./youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1661, in _real_extract
    self._sort_formats(formats)
  File "./youtube-dl/youtube_dl/extractor/common.py", line 1369, in _sort_formats
    raise ExtractorError('No video formats found')
ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

WRITE DESCRIPTION HERE

The new version 2021.04.01 works


removing files

In this PR I delete files that are not needed in the QML repo. Among them I include everything related to the Glossary, Quantum Datasets, "What is QML/Qchem/QC", community demos and videos.
Most of the deleted pages are because I have seen react have them here (I'm not very familiar with React so I'm not sure if the fact that it's there implies that it can be deleted, so please, double check 🙂)

@KetpuntoG I've added the ci label to build this PR. Please push another commit to trigger CI

@KetpuntoG I've added the ci label to build this PR. Please push another commit to trigger CI
EDIT: You can push an empty commit with: git commit --allow-empty -m "Trigger CI"

Thanks @rashidnhm !
Is it possible to make the deployment point to /demonstrations.html instead of /index.html?

Thanks @rashidnhm ! Is it possible to make the deployment point to /demonstrations.html instead of /index.html?

Yes, you can update this line and switch out index.html to demonstrations.html ... But do note that the change will not take affect until the PR is merged.

This is great! 🧹
@rashidnhm @KetpuntoG Would it be better to try this out in dev first before merging to master? Just to see all things work and render correctly?

The dev version would be in react?
I think it worth it!

This is great! 🧹
@rashidnhm @KetpuntoG Would it be better to try this out in dev first before merging to master? Just to see all things work and render correctly?

Yup I agree to this


Sscs-9950

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/SSCS-9950
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

Mistake


use directory beta parameter

ref. https://github.blog/changelog/2024-04-29-dependabot-multi-directory-configuration-public-beta-now-available/

Summary by CodeRabbit

Chores

Improved maintenance of docker base images by consolidating directories and updating scheduling configurations.

Wildcards and globbing support is not coming at this time :(


abstract bot messages in a config file

so those changes are not code commits

not that urgent, with the new commands feature, we do need code commits and redeploys


BACK - Remover credenciais expostas nos commits

Tarefas

[x] Remover credenciais do histórico na feature
[ ] Remover credenciais de develop (rebase)

Resultado

Ainda seria preciso remover do histórico em dev a senha vazada.

⚠ GitGuardian descobriu 3 senhas ao escanear um pull request.
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request

GitGuardian id
GitGuardian status
Secret
Commit
Filename

9740500
Triggered
Username Password
d50d0619ea53b16481e7bf8b2da466114cf37f91
src/app.module.ts
View secret

9740500
Triggered
Username Password
071c9bbcdd9ace3eb85a64038a5b36855cac8c3c
src/app.module.ts
View secret

9740500
Triggered
Username Password
ab1994c0a3492a7f01d995d0666d2e54749842ac
src/app.module.ts
View secret

🛠 Guidelines to remediate hardcoded secrets

Understand the implications of revoking this secret by investigating where it is used in your code.
Replace and store your secrets safely. Learn here the best practices.
Revoke and rotate these secrets.
If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider

following these best practices for managing and storing secrets including API keys and other credentials
install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.

🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.Our GitHub checks need improvements? Share your feedbacks!
Originally posted by @gitguardian[bot] in https://github.com/RJ-SMTR/api-cct/issues/205#issuecomment-1983399830
PROJETO CCT


Fix rectangle drawing example

Example script script/rect.lua draws nothing. Fix this simple example to draw something useful again.

This is working as of bc007fa


Can I make fields required in a block type?

Is there a way to denote that a particular field should be required in a block type (like how the matrix field allows you to)?
Thanks!

You can set required fields in the same way you do for entry types. In the field layout designer for a block type, click the "cog" icon next to a field and you'll be given an option to set it as required.


Failed to install express

I'm getting this error when trying to install express for my app on nodester:
$ nodester npm install express
nodester info installing to app: stringcheese
nodester info installing these npm packages: express
nodester /bin/sh: line 0: cd: /node/app/jayncoke/6148-7390ce0f517ccde92ce8ddae1d46b97a_rw: No such file or directory
nodester npm WARN<EMAIL_ADDRESS>package.json: bugs['web'] should probably be bugs['url']
nodester npm ERR! error installing<EMAIL_ADDRESS>Error: EACCES, Permission denied '/node_modules/.bin/express'
nodester npm ERR! error rolling back<EMAIL_ADDRESS>Error: EACCES, Permission denied '/node_modules/.bin/express'
nodester npm ERR! Error: EACCES, Permission denied '/node_modules/.bin/express'
nodester npm ERR! Report this entire log at:
nodester npm ERR!     http://github.com/isaacs/npm/issues
nodester npm ERR! or email it to:
nodester npm ERR<EMAIL_ADDRESS>nodester npm ERR!
nodester npm ERR! System Linux <IP_ADDRESS>-106.53.amzn1.x86_64
nodester npm ERR! command "node" "/usr/bin/npm" "install" "express"
nodester npm ERR! cwd /
nodester npm ERR! node -v v0.4.9
nodester npm ERR! npm -v 1.0.106
nodester npm ERR! path /node_modules/.bin/express
nodester npm ERR! code EACCES
nodester npm ERR! Error: EACCES, Permission denied 'npm-debug.log'
nodester npm ERR! Report this entire log at:
nodester npm ERR!     http://github.com/isaacs/npm/issues
nodester npm ERR! or email it to:
nodester npm ERR<EMAIL_ADDRESS>nodester npm ERR!
nodester npm ERR!  Additional logging details can be found in:
nodester npm ERR!     /npm-debug.log
nodester npm not ok

That's a Nodester issue, please reference https://github.com/nodester/nodester/issues/287 as I think you are having the same problem.

Same problem here
On CentOS Unix dedicated server. When I tried to ./configure I was getting an error about it not being able to locate OpenSSL and I chose to continue --without-ssl
npm ERR! Error: node.js not compiled with openssl crypto support.
npm ERR!     at tls.js:42:9
npm ERR!     at NativeModule.compile (node.js:540:5)
npm ERR!     at node.js:508:18
npm ERR!     at https.js:22:11
npm ERR!     at NativeModule.compile (node.js:540:5)
npm ERR!     at Function.require (node.js:508:18)
npm ERR!     at Function.load (module.js:298:25)
npm ERR!     at Module.require (module.js:357:17)
npm ERR!     at require (module.js:368:17)
npm ERR!     at getAgent (/usr/local/lib/node_modules/npm/lib/utils/get-agent.js:54:15)
npm ERR! Report this entire log at:
npm ERR!     http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR<EMAIL_ADDRESS>npm ERR!
npm ERR! System Linux 2.6.32-220.2.1.el6.x86_64
npm ERR! command "node" "/usr/local/bin/npm" "install" "express" "-g"
npm ERR! cwd /
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.1.0-beta-10
npm ERR! message node.js not compiled with openssl crypto support.
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /npm-debug.log
npm not ok
I don't know what else I need to do... i've installed Development Tools and help.
Thanks


Setting default db adapter in installation  as PDO MySQL

Following up on https://github.com/silverstripe/silverstripe-framework/pull/6230.
I also added "Re-check requirements" button to CMS Admin Account section of config-form.html.
This solution works but is not all that satisfactory to me. There is repetition and I don't know how the error is best handled. More generally, the code between lines 140 and 188 seems awkward.

thanks @SpiritLevel great patch

Good :) I think I might have a go at a refactoring of what's in framework/src/Dev/Install...

@SpiritLevel @tractorcow can any of you remember why this line wasn't included here? https://github.com/silverstripe/silverstripe-framework/pull/6230/files#diff-f8f7d711330a3259d575d72fc7e5a5cfR155
This has caused problems for us as local environments were defaulted to PDO (as per .env) but UAT ignored .env and was using the framework default of MySQLi. We found a bug in MySQLi connector which meant we could only re-produce the bug on UAT and it was difficult to track this down as the cause.
At the moment framework defaults to MySQLi and the installer defaults to PDO.
cc @stojg @chillu

I've opened an issue here: https://github.com/silverstripe/silverstripe-framework/issues/8540


Blank page/blank float window sporadically

Describe the bug
I have a component that I need to use to geenrate a table in a pdf, and then download it. This is a stripped down version
<template>
    <vue-html2pdf
        :show-layout="false"
        :float-layout="true"
        :enable-download="false"
        :preview-modal="true"
        :paginate-elements-by-height="1200"
        filename="test-filename"
        :pdf-quality="2"
        :manual-pagination="false"
        pdf-format="a4"
        pdf-orientation="portrait"
        pdf-content-width="1200px"

        @progress="onProgress($event)"

        ref="renderer"
    >

                    ID
                    startDate
                    endDate
                    emailGuest
                    rentersDetails

                    {{ booking.id }}
                    {{ booking.startDate }}
                    {{ booking.endDate }}
                    {{ booking.emailGuest }}
                    {{ booking.rentersDetails }}

    </vue-html2pdf>
</template>

Depending where this component is placed, the results vary. I have two views that I used, an empty view and a view with all the bookings in a calendar/table (Call them empty and standard respectively). In general there are issues where the pdf name is not repsected, and the float window is transparent. Also, sometimes a blank page is rendered
Firefox Dev (86.0b8)

Works in the emtpy view. The float window is shown, the PDF correctly rendered and the pdf can be downloaded
In the standard view the float window is shown but it is transparent, the file is empty and downloaded immediately, without requiring user input

Firefox (85.0.2)

Does NOT work in the empty view. The float window is transparent and the pdf is downloaded straight away with the wrong name (pdf)
Does NOT work in the standard view, same as above for the rest

Chrome (88.0.4324.150)

Works in the empty view, although the name is some sort of UUID
In the standard view, an empty document is shown but the float window is correct. File can be downloaded

Safari (14.0.3)

Works in the empty view, although the name of the file is ignored
In the standard view, an empty document is shown but the float window is correct. File can be downloaded

To Reproduce
Steps to reproduce the behavior:

Use a Vuetify (v1.5) app, and add the component attached
Use it!

Screenshots
Empty float window (Firefox standard):

Correctly shown and rendered (Firefox Dev):

Package Version
1.8.0
Additional context
The issue seems to be the worst on the standard firefox. What I cannot understand though is how it works in one view, and then in the other it simply fails. The data is exactly the same, the only difference is that there are other elements attached to it.

Thank you i will try to replicate this

I created a simple example to show the issue: https://github.com/pennal/test-pdf/
It has the same dependencies as my project, although stripped down. It shows the same issues I described in the empty view

Hi, were you able to look into this?

Try to put lower pdf quality for eg. 1. That worked for me in safari mobile.


camera Projection seems not working.

Hello, i am trying to set default zoom with camera.setProjection but it does not make any effect on my model.
i have no clue what i am doing wrong here, here is my code.
class MainActivity : AppCompatActivity() {
companion object {
// Load the library for the utility layer, which in turn loads gltfio and the Filament core.
init {
Utils.init()
}
}
private lateinit var surfaceView: SurfaceView
private lateinit var choreographer: Choreographer
private val frameScheduler = FrameCallback()
private lateinit var modelViewer: ModelViewer

private lateinit var doubleTapDetector: GestureDetector

private lateinit var engine: Engine

// A swap chain is Filament's representation of a surface
private var swapChain: SwapChain? = null
private lateinit var renderer: Renderer
private lateinit var uiHelper: UiHelper
private lateinit var displayHelper: DisplayHelper

private lateinit var view: View

// Should be pretty obvious :)
private lateinit var camera: Camera

@SuppressLint("ClickableViewAccessibility")
override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    surfaceView = SurfaceView(this).apply { setContentView(this) }
    choreographer = Choreographer.getInstance()

    modelViewer = ModelViewer(surfaceView)

    displayHelper = DisplayHelper(this)

    surfaceView.setOnTouchListener { _, event ->
        modelViewer.onTouchEvent(event)
        true
    }

    createRenderables()

    modelViewer.view.ambientOcclusion = View.AmbientOcclusion.SSAO

    val bloom = modelViewer.view.bloomOptions
    bloom.enabled = true
    modelViewer.view.bloomOptions = bloom

    camera = modelViewer.camera

    //Here i am trying to apply default zoom
    val zoom = 5.0
    val aspect = 100.toDouble() / 50.toDouble()
    camera.setProjection(
        Camera.Projection.ORTHO,
        -aspect * zoom, aspect * zoom, -zoom, zoom, 10.0, 10.0
    )

    setupSurfaceView()
    createIndirectLight()
}

private fun createRenderables() {
    val buffer = assets.open("models/test.gltf").use { input ->
        val bytes = ByteArray(input.available())
        input.read(bytes)
        ByteBuffer.wrap(bytes)
    }

    modelViewer.loadModelGltfAsync(buffer) { uri -> readCompressedAsset("models/$uri") }
    modelViewer.transformToUnitCube()

    engine = modelViewer.engine
    renderer = engine.createRenderer()
    view = engine.createView()

}

private fun setupSurfaceView() {
    uiHelper = UiHelper(UiHelper.ContextErrorPolicy.DONT_CHECK)
    uiHelper.renderCallback = SurfaceCallback()

    // NOTE: To choose a specific rendering resolution, add the following line:

//         uiHelper.setDesiredSize(600, 800)
uiHelper.attachTo(surfaceView)
}
private fun createIndirectLight() {
    val engine = modelViewer.engine
    val scene = modelViewer.scene
    val ibl = "venetian_crossroads_2k"
    readCompressedAsset("envs/$ibl/${ibl}_ibl.ktx").let {
        scene.indirectLight = KtxLoader.createIndirectLight(engine, it)
        scene.indirectLight!!.intensity = 30_000.0f
    }
    readCompressedAsset("envs/$ibl/${ibl}_skybox.ktx").let {
        scene.skybox = KtxLoader.createSkybox(engine, it)
    }

    scene.skybox = Skybox.Builder().color(01f, 01f, 01f, 01f).build(engine)

}

private fun readCompressedAsset(assetName: String): ByteBuffer {
    val input = assets.open(assetName)
    val bytes = ByteArray(input.available())
    input.read(bytes)
    return ByteBuffer.wrap(bytes)
}

override fun onResume() {
    super.onResume()
    choreographer.postFrameCallback(frameScheduler)
}

override fun onPause() {
    super.onPause()
    choreographer.removeFrameCallback(frameScheduler)
}

override fun onDestroy() {
    super.onDestroy()
    choreographer.removeFrameCallback(frameScheduler)
}

inner class SurfaceCallback : UiHelper.RendererCallback {
    override fun onNativeWindowChanged(surface: Surface) {
        swapChain?.let { engine.destroySwapChain(it) }
        swapChain = engine.createSwapChain(surface, uiHelper.swapChainFlags)
        displayHelper.attach(renderer, surfaceView.display);
    }

    override fun onDetachedFromSurface() {
        displayHelper.detach();
        swapChain?.let {
            engine.destroySwapChain(it)
            // Required to ensure we don't return before Filament is done executing the
            // destroySwapChain command, otherwise Android might destroy the Surface
            // too early
            engine.flushAndWait()
            swapChain = null
        }
    }

    override fun onResized(width: Int, height: Int) {
        val aspect = width.toDouble() / height.toDouble()
        camera.setProjection(45.0, aspect, 0.1, 50.0, Camera.Fov.VERTICAL)

        view.viewport = Viewport(0, 0, width, height)
    }
}

inner class FrameCallback : Choreographer.FrameCallback {
    private val startTime = System.nanoTime()
    override fun doFrame(frameTimeNanos: Long) {
        choreographer.postFrameCallback(this)

        modelViewer.animator?.apply {
            if (animationCount > 0) {
                val elapsedTimeSeconds = (frameTimeNanos - startTime).toDouble() / 1_000_000_000
                applyAnimation(0, elapsedTimeSeconds.toFloat())
            }
            updateBoneMatrices()
        }

        modelViewer.render(frameTimeNanos)
    }
}

}

Did you check if the projection is getting overwritten in a resize handler?
Note that ModelViewer lets you pass in your own Manipulator object into its constructor, that way you can set up a custom initial zoom factor.  You also do not need to call transformToUnitCube if you would rather not auto-scale the model.
By the way, I think you're setting the renderCallback in UiHelper twice: once in ModelViewer and once in your Activity.
You're also changing the perspective camera into an ortho one, not sure if that's intentional.

Okay, I tried to apply Manipulator, but after that, camera moves around the screen, but I just want a steady model that will be at a fixed position. I just want to increase its zoom level.
Here is how it behaves with the manipulator,

But this is what i am looking for
i just wants to increase zoom level, so model looks bigger.

also please note that model is rotating in  left to right and right to left direction. how to make it rotating 360 degree ?

I just now tried modifying the Activity in sample-gltf-viewer as follows and it works well (no unexpected panning)
manip = Manipulator.Builder()
        .targetPosition(0.0f, 0.0f, -4.0f)
        .orbitHomePosition(0.0f, 0.0f, -2.0f)
        .viewport(surfaceView.width, surfaceView.height)
        .build(Manipulator.Mode.ORBIT)

modelViewer = ModelViewer(surfaceView, Engine.create(), manip)

The ORBIT manipulator is similar to the default camera in https://sketchfab.com/.  It allows unbounded rotation around the Y axis (dragging left-and-right) and it bounded rotation around the X axis within [-180,+180] (dragging up-and-down).  If this is not natural for your model, you might want to try transforming your model, e.g.:
val tm = engine.transformManager
tm.setTransform(tm.getInstance(asset.root), transform.toFloatArray())


docs: demo, experiments and live inference API on Tiyaro

Hello Maintainer of Github repo moussaKam/FrugalScore (@moussaKam) !
Thank you for your work on moussaKam/FrugalScore.  This GitHub project is interesting, and we think that it would be a great addition to make this work instantly discoverable & available as an API for all your users, to quickly try and use it in their applications.
On Tiyaro, every model in moussaKam/FrugalScore will get its own:
Dedicated model card (see https://console.tiyaro.ai/explore/huggingface-moussaKam-frugalscore_tiny_bert-base_bert-score-1
Model demo (see https://console.tiyaro.ai/explore/huggingface-moussaKam-frugalscore_tiny_bert-base_bert-score-1/demo)
Unique Inference API (https://api.tiyaro.ai/explore/huggingface/1//moussaKam/frugalscore_tiny_bert-base_bert-score)
Sample code snippets and swagger spec for the API
Users will also be able to compare your model with other models of similar types on various parameters using Tiyaro Experiments
(https://blog.tiyaro.ai/evaluate-openmmlabs-mmocr-models-using-tiyaro-experiments)
—-
I am from Tiyaro.ai (https://tiyaro.ai/).  We are working on enabling developers to instantly evaluate, use and customize the world’s best AI.  We are constantly working on adding new features to Tiyaro EasyTrain, EasyServe & Experiments, to make the best use of your ML model, and making AI more accessible for anyone.
Sincerely,
I-Jong Lin

Hi @ijonglin
Thank you for the PR.
However, I see that for the moment your api considers the model's task to be a sentence classification task.
The task is basically a regression one. The input to the model is two text sequences, and the output is a decimal score representing the similarity between the two sentences.
Once the api is adapted properly I would be happy to merge your PR.
Thanks!

Gotcha.   Let me talk to the engineer side to see when we can schedule these changes to be made.
cc: @smainkar13 @maheshpatil2021


GeoSearch performance issues

Seeming to hit some performance issues when geosearch is used
15 sec, 1.6 million records...
Has anyone hit this?
Thought about tweaking the index   by changing the tree to quadtree, or reducing the precision (does a catalog need 50 meter accuracy),
https://www.elastic.co/guide/en/elasticsearch/reference/6.5/geo-shape.html

no activity since 2/2020


Fix broken links in 'Unused CSS' section

Preview: https://deploy-preview-985--boosted.netlify.app/docs/5.1/customize/optimize/#unused-css

This PR is on hold (see https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/issues/917#issuecomment-995846932)


Network reduction ii

big improvements, screenshots coming...
closes #322

Current master from simulation/start to allComplete: 307 calls.

This branch from simulation/start to allComplete: 75 calls!

🎉

I've run through the steps a few times, even with a lot of simulation/taskflows in the redux model it holds up. Merging.

@TristanWright Excellent work!


Feat/GitHub actions formatter

There is a request for implementing GitHub Workflows #23, which is also seen in other drivers (JS & Java) and the main repository.
I wanted to start with implementing the formatter, and later the linter & tester.
There are multiple ways of doing this, depending on the future needs I might already change the approach so it would be great to get some feedback on that.
The question is, would we like to use the formatting, linter & test in multiple stages? Or would we want to run these tools before we release a new version for example?
If that's the case, I would propose a different approach.

Great work @tpotjj !
Once the -s is in both of the gofmt calls, I would be happy with this PR :smile:


Drag-and-drop issuse

There is an issue with the drag and drop addon.
in basic calendar
when you click on a day number like this:

it goes to the Day time of that particular date:

this feature does not seem to work in drag-and-drop,
the day number is unclickable.

this seems not to happen unless you add drag/drop.
I suspect the reason for that is, because the cell is being overidden not properly in here.
and while you are at it, may I suggest an useful feature in my opinion:
in addition to providing a "onEventDrop" event, please provide, "onEventDrag" and "onEventMove" which is activated after the drag, and sends x/y etc, durning movement. this will let us create more visually appealing drag and drop functionality.
thank you so much for your hard work!
good luck!

Does seem like a bug, unfortunately we don't provide great support for addons since they are community donated. AS such the best way to get it fixed is to summit a patch :)

Dear jquense.
While I agree that this is a community addon and I will definetly try to provide a patch for this bug.
in my opinion you should leave the case open until fixed so that the community is aware and can recognize the bug, since. because even tho it is a community addon it is still a part of the codebase(in the same repository). please consider leaving the issuse open or maybe it should be a sub-git of the relevant repository rather than the code direcctly.
just an opinion.
regardless thank you for your time and best of luck.

I made a simple fix:


Envoy macOS image built on macOS 12 cannot be executed on 10.15 and 11

When run on macOS 10.15 and 11, Envoy binary fails complaining about missing dynamic library.

When Envoy binary built on macOS 12 is executed on macOS 10.15 or macOS11 it fails with the following error:
./envoy --version
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
dyld: Symbol not found: __ZTTNSt[3](https://github.com/tetratelabs/archive-envoy/runs/6495714281?check_suite_focus=true#step:3:3)__11[4](https://github.com/tetratelabs/archive-envoy/runs/6495714281?check_suite_focus=true#step:3:5)basic_ifstreamIcNS_11char_traitsIcEEEE
  Referenced from: /Users/runner/work/archive-envoy/archive-envoy/./envoy (which was built for Mac OS X 12.3)
  Expected in: /usr/lib/libc++.1.dylib


Update ULID version

Note: failures like this are obviously due to Travis not being up to date with the pod repos.
I'd not add a pod repo update command, because that can increase further the build time.

Oh boy 😄 So we can't merge this until Travis updates his macOS image with latest pod updates, right?

@ricardopereira Correct. I'll wait. It's not an urgent change.

@ricardopereira talked to support. Unfortunately this is the only way at the moment https://github.com/ably/ably-ios/pull/769/commits/2077e83b3c15b5c06645174dc356b6dd80ad67f0 :(

@ricardopereira this is ready for another look. Tests are green.

If this is being put on hold, can you edit the title please to make that clear?


Type style for heading-05 in design kit is different from carbon website

Detailed description
In the V10 beta Carbon sketch file, the productive heading-05 text symbol is 32px.
The Carbon website says the productive heading-05 should be 36px.
Additional information
Carbon sketch file:

Website:

Add labels
for some reason labels aren't showing up for me in this repo

@IBM/carbon-designers should this be moved to elements or the website repo?


File manager doesn't import everything on drag and drop.

Describe the bug
I have a Hugo site (source available here) that I'd like to mirror as a drive in Beaker. Beaker seems to have issues importing it on Windows.
To Reproduce

Clone the git repo.
Install Hugo. I'm using v0.65.3, which is just the latest version from the scoop package manager.
In the root of the cloned repo, run hugo to build the site.
Open the generated public directory in Explorer.
Create a new drive in Beaker. I did not select the "From directory" option.
Click "Explore Files"
Click back to the public directory in Explorer. Press ctrl+a to select every file in the directory. Drag and drop the files onto the Beaker files pane.
Refresh the page in beaker to see the imported site.
The first time I tried this, only some of the files were imported. Several posts and my CSS didn't make it into the new drive.
On my second attempt, I did the exact same thing on a fresh drive to reproduce for this bug report. This time, none of the files were imported and I got a mysterious error.

Expected behavior
All the files are imported and display in Beaker.
Additional comments
Is there a command line tool or something I could try for this use case? It'd be awfully convenient if I didn't have to drag and drop to update my site every time I make a new post.
Screenshots

Desktop

OS: Windows 10 Pro 1909 (OS build 18363.836)
Browser: Beaker
Version: v1.0.0-prerelease.3

Thank you for filing with so much detail, I'll try to repro.

I've updated the drag & drop files-import to be much more robust. Please re-open if this continues to be an issue.
Also FYI we're going to add folder watching like you requested: https://github.com/beakerbrowser/beaker/issues/1600


Return the bullet string

Since markdown supports different kinds of bullets, such as "-" and "+", it can be useful to see which one was used. We have used this to create a different markdown dialect in which different bullet types have different meanings.

Closing due to staleness, missing tests, and does not seem to follow the two specifications we are concentrating on. See #956