fix(front): Fix input space when textarea

fix(front): Fix input space when textarea
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Closes #(issue)
Type of Change
Please delete options that are not relevant (including this descriptive text).

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.
Checklist: (Feel free to delete this section upon completion)

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My code follows the style guidelines of this project (I have run yarn lint)
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes (I have run yarn test)
[ ] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

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


Simplify Dockerfile UI using bitnami/nginx V2

The container for the UI was running as "root" user.

The Dockerfile now is using the bitnami/nginx image and is running as user 1001

The env-config.js should be mount as a volume to load the parameters needed for the react application instead of running the script to generate the file
Example using docker-compose:
version: "3.8"
services:
  terrakube-ui:
    image: terrakube-ui:latest
    container_name: terrakube-ui
    volumes:
      - ./env-config.js:/app/env-config.js
    ports:
      - 8080:8080

Adding a custom "my_server_block.conf" to fix the react application when using the bitnami/nginx image
server {
  listen <IP_ADDRESS>:8080;
  location / {
    root   /app;
    index  index.html index.htm;
    try_files $uri $uri/ /index.html;
  }
}

https://github.com/AzBuilder/terrakube-helm-chart/issues/46


Subtyping check failed; Expected type X; got type X

Simon and Enrico got stuck on proving the consequence rule of Hoare logic, because of a problem in F*. I've minimized the example to the following:
type form =
| FForall : (heap -> Tot form) -> form

type deduce : form -> Type =
  | DForallElim :
             f:(heap->Tot form) ->
             deduce (FForall f) ->
             x:heap ->
             deduce (f x)

type pred = heap -> Tot form

val hoare_consequence : p:pred -> deduce (FForall (fun h -> p h)) -> h:heap -> Tot unit
let hoare_consequence p vpp' h0 =
  ignore(DForallElim (fun (h : heap) -> p h) vpp' h0)

All we're trying to do is to instantiate a (HOAS represented) quantifier. The error message we get is super strange:
Subtyping check failed; expected type (deduce (FForall ((fun h -> (p h)):(heap -> Tot form)))); got type (deduce (FForall ((fun h -> (p h)):(heap -> Tot form))))

If I eta contract (fun g -> p h) to just p then everything works, but in the original example this eta contraction is not possible.

Generic workaround suggested by Nik is to hoist the function to the top-level, closure converting it and then applying it as needed. This indeed seems to help. Even more generally, point-free reasoning and naming things seems to help work around such problems.

No longer need to hoist

re-opening this. the bug is revived by a fix to #260

There are still some warnings but this works now:
../../bin/fstar.exe bug190.fst
bug190.fst(16,22-16,23) (Warning): Losing precision when encoding a function literal
bug190.fst(16,22-16,23) (Warning): Losing precision when encoding a function literal
Verifying module: Prims
Verifying module: Set
Verifying module: Heap
Verifying module: ST
Verifying module: All
Verifying module: Bug190
All verification conditions discharged successfully


ypiel/TDI-41105_snowflake_action_on_table_dbtype_workaround

What is the current behavior? (You can also link to an open issue here)
https://jira.talendforge.org/browse/TDI-41105
What is the new behavior?
User can select snowflake db type manually for each column of its schema.
Please check if the PR fulfills these requirements

[ ] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: failure :x:

Pull request test result: failure :x:


Template for Cake Shop Website

I have created a website for a Cake Shop with a gallery and a customer review page.
Description
This is a website template for a cake shop. It consists of the cake menu, cake picture gallery and a customer review page.
Fixes:  #(802)

Type of change

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

Checklist:

[x] I have made this from my own
[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

Template for the cake shop website.

I have also made another pull request containing the updated style_links.json file but it didn't get merged with the previous pull request since I don't have the write access to this repository.

Am not getting you

Remove extra space

Resolve merge conflicts
Make this responsive too

Add a preview.png img which can be used as a preview img on the main site

Lastly, are you sure you made it on your own?

Hello, will make all the changes mentioned. Actually I am a beginner to the concept of website development so I took online references but the template has been created by me.
Also, I have already added a preview image file named

preview.img

I have also made another pull request containing the updated style_links.json file but it didn't get merged with the previous pull request since I don't have the write access to this repository.

Am not getting you

I am trying to merge a 2nd pull request that I made after the 1st full request. For the 1st pull request I had added all the files related to the cake shop website template. In the 2nd pull request I had uploaded the 'style_links.json' file because I had forgotten to attach it

to the 1st pull request. However, I am not able to merge the 1st and 2nd pull request because I am not the admin.

@coolblizzarts do all the changes by tomorrow


fix: some error

double slash not work on php windows
namespace contain endline at end, /^namespace (?P<namespace>.*);$/ alway return null

@stevebauman Please help me check run tests fail

Thanks @SocolaDaiCa!
I was tinkering around with your changes here in master against Windows using GitHub actions, so this has been merged in and released: https://github.com/stevebauman/autodoc-facades/releases/tag/v1.1.1
Please run composer update and you're all set!


How to add oauth2/token endpoint

I'm using django-rest-swagger version 2.1.1.
I used the oauth2_provider.urls to build the oauth2/token endpoint like this:
urlpatterns = [
    url(r'^oauth2/', include('oauth2_provider.urls', namespace='oauth2_provider')),
]

The issue is that the Swagger don't detect it as endpoint so it's missing form my openapi.json file.
What can I do to this endpoint in order to be able to detected by Swagger?

@dimitrismakris I'm not sure if this is the best way to achieve this but I did something like this:
from oauth2_provider.views import TokenView
from rest_framework.views import APIView

class TokenAPIView(TokenView, APIView):
    def post(self, *args, **kwargs):
        """ DOCS """
        return super().post(*args, **kwargs)

You may have to change permissions or authorizations .. but it should make possible to create your docs.
Hope it helps


Linux build

For issue #5
Please merge this to a new branch "linux-build"
Added:

Changed target platform to linux
Updated project to Unity 2019.4.11f LTS
Tested linux build, complied and worked successfully
Added .vscode to gitignore files

Deleted:

Deleted Visual Studio cache files

@Atknssl, Thanks for your interest in contributing to Rough Drift!
I think the branch name windows-build has been a bit misleading - need to change it's name to something like pc.
Actually, the reason for having a separate branch (windows-build) was that to keep things different for PC and mobile versions, like emphasizing on quality for PC - like using heavier lighting effects (volumetrics), high-res shadows and so on,
and emphasizing on performance for mobile.
The master branch contains a URP project and the windows-build branch contains a default 3D project (not SRP), which needs to be upgraded to HDRP.
As these Unity projects are mostly platform agnostic, I think we don't need another branch for linux as a linux build can be directly built from the windows-build branch.
If interested to checkout the volumetric lighting and sharper shadows, try the windows build from here. Will also add a linux build shortly.
I think it is more useful to merge this into master as it cleans things up a bit.


live server not working

Issue Type: Bug
live server is not working at all it dosent open chrome
VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T14:57:08.739Z)
OS version: Windows_NT ia32 6.1.7600

System Info

Item
Value

CPUs
Intel(R) Core(TM)2 Duo CPU     P7550  @ 2.26GHz (2 x 2255)

GPU Status
2d_canvas: unavailable_softwareflash_3d: disabled_softwareflash_stage3d: disabled_softwareflash_stage3d_baseline: disabled_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: disabled_offoop_rasterization: disabled_offopengl: disabled_offprotected_video_decode: disabled_offrasterization: disabled_softwareskia_renderer: disabled_off_okvideo_decode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
undefined

Memory (System)
2.73GB (1.10GB free)

Process Argv
--crash-reporter-id 19b38992-5ab4-4eb1-aee5-09a4bc1d6c90

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

prettier-vscode
esb
5.8.0

LiveServer
rit
5.6.1

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.3. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Can I work on this issue? I am pretty new to open source stuff

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!


Workspace setting default value in new Setting Editor is ambiguous

VSCode Version: Insider
OS Version: macOS

Steps to Reproduce:

Working on a multi root workspace
Have files.autoSave set to afterDelay in User Setting
Open workspace setting
Search for autoSave.

When I looked at this setting, I thought auto save is turned off but since the auto saving still happened on my machine, I was confused what's going on there. Later on I realized that even though it's say off in above image, it's not actually effective.
With the json editor, I don't have such confusion as if nothing exists in the workspace settings file, I know for sure nothing is overriding my User Setting. Here in this case with the new Setting Editor, I don't know if it's the default value or an explicit setting.

At one point I considered graying out unmodified values. What do you think about that?

I'm not sure about if grayed out value would lead to unexpected meaning (disabled).
For User Setting there is a default value, while for Workspace Setting there is no such default value concept. Probably something indicating that the value is not set?

May be related to #58901 .
I would suggest changing "(Modified in: User)" above to "(Overriden in: User)" below the value, followed by the actual value the setting will have (read-only).
I would also expect that clicking the "(Overriden in: User)" link would navigate to the corresponding setting in User Settings tab.

"Overridden in User" sounds like "this scope is overridden in User" which is not true. Going the other direction it might be true ("Overridden in Workspace" seen from the User scope, it may be true that the User value is overridden by the Workspace).
Also there is no one "actual value" since you can have a setting configured in multiple folders in a workspace. Basically I want to give the user a gentle hint that the setting is configured other places, and leave it up to them to figure out what the effective value will be in what situation, because it's too hard to explain all of this in a simple UI.

Maybe it would be less confusing if each workspace setting had an "Override in this workspace" checkbox before the setting. The override option would never be faded out, and the setting would be faded out (half opacity) only if the override option is not set. This avoids the confusion with disabled, and makes the action of overriding more explicit.

From a user's point of view, there is no difference between default settings and user settings that are the same. I suggest to always show the default settings as if they where applied. Having a "override" or an "applied" definition is not useful.
Personally, I keep an updated copy of all default settings in my user settings.json file and only change the ones I want, precisely to avoid this ambiguity.

Merging into https://github.com/microsoft/vscode/issues/58038


Improve readme to include experimental features

Improve readme to include experimental features

In the longer term I believe we should not have experimental features published to users for the stable release, rather we should use the VS Code Marketplace's ability to have a Beta/pre-release version of the extension to allow users who are interested to opt in to these features, till they are stable enough for the stable release.

While to some extent I agree with that, its not within the control of the extension for when these features are available. The "experimental features" are fully baked language server features, its just that the dyno resolver needs to be more feature complete before these are on by default

Okay I see, in that case I was misunderstanding the experimental nature of the features. I think we can keep them this way in that case.


handle response error on status success

After having return status 500 on mediawiki 1.27 this handler ignore the error while the image is successfully created.

see working fix in fork.


Add Expr support to DAGCircuit.replace_block_with_node

Summary
Control-flow operations might not include their classical resources in their cargs fields while in the DAGCircuit form (since the resources have no particular order, and are inherent to the operation), so we needed to update the logic of the wire_pos_map sorter to have a way to specify that some bits need not be present in the output.
Details and comments
Close #10231.  Depends on #10377.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

686 of 740 (92.7%)  changed or added relevant lines in 23 files are covered.
20 unchanged lines in 5 files lost coverage.
Overall coverage increased (+0.05%) to 86.016%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/circuit/classical/types/ordering.py
36
37
97.3%

qiskit/circuit/controlflow/switch_case.py
9
10
90.0%

qiskit/circuit/classical/expr/visitors.py
65
68
95.59%

qiskit/circuit/classical/types/types.py
44
48
91.67%

qiskit/dagcircuit/dagcircuit.py
38
42
90.48%

qiskit/circuit/_classical_resource_map.py
67
74
90.54%

qiskit/circuit/classical/expr/expr.py
102
111
91.89%

qiskit/dagcircuit/dagnode.py
79
91
86.81%

qiskit/circuit/classical/expr/constructors.py
142
155
91.61%

Files with Coverage Reduction
New Missed Lines
%

crates/accelerate/src/vf2_layout.rs
1
94.74%

crates/qasm2/src/expr.rs
1
93.76%

qiskit/circuit/controlflow/switch_case.py
1
94.08%

crates/qasm2/src/lex.rs
5
91.14%

crates/qasm2/src/parse.rs
12
97.11%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
72079

Relevant Lines:
83797

💛  - Coveralls

Rebased on main.


Fixing rendering for widgets embedded on the stack for DOM/HTML string

the DOM stack was missing the widget check and HTML String was using _render rather than _iterate so it was clearing the stack after rendering the component, which was throwing warnings. This corrects the behaviors of both

Looks good, will bump version when we publish template abstraction.


Minor changes to imexam notebook

This PR:

renames environment to environment.txt
removes the i command step for imexam (it's not needed)
adds a note about setting the XPA_METHOD environment variable

@eteq This can be merged.


add new labels

added below labels related to product planning and management:

status: requires planning
status: requires prd
type: feature

@kimburgess SRS and PRD serve different purposes, both are valid for different cases. Will be discussing in our next planning.


Fetch aggregation pools in parallel

This speeds up PoolAggregator. I am still looking into other ways to speed up price estimation.
Test Plan
short local test that  price estimates haven't changed

The PoolFetching trait fetches reserves. You can find this out by following the implementation in the code: https://github.com/gnosis/gp-v2-services/blob/9e4cd693a5d90c9d47601146f6dfd43912ab6aa7/shared/src/pool_fetching.rs#L246 .

This is cool but does fetching the pools also fetch the reserves or it is only the static pool data

@bh2smith What is static pool data in the context of a Uniswap pool?

This is cool but does fetching the pools also fetch the reserves or it is only the static pool data

@bh2smith What is static pool data in the context of a Uniswap pool?

Everything except the reserves.


Organizing repos in a dedicated directory

Soon we will include more functionality, so we will have to add more files containing repositories. My proposal is to organize all these files in its own directory for not cluttering the root directory.

@fmrico thanks!


fix(trajectory_follower): detect driving direction with yaw

Description

The sign of the curvature is calculated by the speed, and when the speed is 0, the previous value is used according to the following.
m_sign_vx = ref_vx > ep ? 1 : (ref_vx < -ep ? -1 : m_sign_vx);
This means that if we drive backward and then send a path with a forward speed of 0, m_sign_vx will not be updated, but the sign of the steer command will be reversed.
In this PR, it has been modified to determine if it is forwad driving or not by looking at the yaw of the path points.
Related links

Tests performed
psim
without this PR
https://user-images.githubusercontent.com/39142679/180802251-c1796e4c-1fa2-4da2-b432-a3a403e4546a.mp4
with this PR
https://user-images.githubusercontent.com/39142679/180801504-c51e10e2-a1fb-4e50-bb3a-2a69fff2bd6a.mp4

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@TakaHoribe
From this comment it wants curvature to be 0 when stopped, but it only does so until the first run?
https://github.com/autowarefoundation/autoware.universe/blob/main/control/trajectory_follower/src/mpc.cpp#L555-L556
    // curvature will be 0 when vehicle stops
    const float64_t ref_k = reference_trajectory.k[static_cast<size_t>(i)] * m_sign_vx;

Some points of mpc_trajectory are too close, and dx dy will be 0.
yaw between these points can not be calculated correctly, so determine forward with a path rather than a certain point.

@kosuke55

it wants curvature to be 0 when stopped,

It meant the curvature will get unintentionally zero. Your PR will fix it. Great.

Some points of mpc_trajectory are too close, and dx dy will be 0.

When did this happen? As I remember, there is a minimum velocity that prevents zero-distant points.

@TakaHoribe

It meant the curvature will get unintentionally zero. Your PR will fix it. Great.
OK, with this PR, since the initial value of m_sign_vx is 0, it is set to 0 only before the first drive.
Is it better to set m_sign_vx before https://github.com/autowarefoundation/autoware.universe/blob/main/control/trajectory_follower/src/mpc.cpp#L551
and no need to make it a member variable?

When did this happen? As I remember, there is a minimum velocity that prevents zero-distant points.
It almost always happens when the car is driving at low speed forward or backward.

@kosuke55
It would be better to make the is_forward a member variable.

no need to make it a member variable?

Wierd. Need to check.

@TakaHoribe
I checked that there are no overlapping points after resampleMPCTrajectoryByDistance

@TakaHoribe
I updated to check is_forward_shift after resample and make is_forward_shift_ a member variable instead of m_sign_vx
https://github.com/autowarefoundation/autoware.universe/pull/1424/commits/57455d49e0c0c8a55d274ee2fd63893ba8d993c2

@takayuki5168
And I also updated to return boost::none in isDrivingFoward when the driving direction is unknown.


Update CHANGELOG for 1.4.0

The updates are taken directly from the release description at:
https://github.com/eternicode/bootstrap-datepicker/releases/tag/v1.4.0

I stripped out github issue references, following the pattern of previous CHANGELOG entries.


Clarify transactions_df in "Representing Data" documentation page

Following the Stack Overflow question here, I’ve updated the documentation so that you can see which dataframe we’re using in the example. This avoids the potential confusion from accidentally using load_mock_customer()['transaction'] and trying to normalize a sessions entity from it.
This PR is the low-impact version of easing this confusion. We just unhide the hidden lines and don't remove the times. It would also be possible to modify the section more heavily to write it in terms of the use_single_table parameter, but those changes would necessarily change more of the associated text and flow.

Codecov Report

Merging #200 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #200      +/-   ##
==========================================
- Coverage    93.3%   93.28%   -0.02%
==========================================
  Files          70       70
  Lines        7734     7734
==========================================
- Hits         7216     7215       -1
- Misses        518      519       +1

Impacted Files
Coverage Δ

featuretools/utils/gen_utils.py
64.44% <0%> (-2.23%)
:arrow_down:

Continue to review full report at Codecov.

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

Looks good merging


Set origin_message for component interactions on ephemeral messages

About this pull request
Discord made an API change some time ago to send ephemeral message payloads with interactions. Link to the announcement in the Discord Developers server. The library currently checks whether a component interaction's message is ephemeral, and skips setting the origin_message of the interaction if it is. I have removed this check so that the origin_message will be set.
Changes
In context.py line 457: removed the flag check that skipped setting the origin_message if the message is ephemeral.
Checklist

[x] I've run the pre_push.py script to format and lint code.
[x] I've checked this pull request runs on Python 3.6.X.
[ ] This fixes something in Issues.

Issue:

[ ] This adds something new.
[ ] There is/are breaking change(s).
[ ] (If required) Relevant documentation has been updated/added. (Docstrings have been updated, but I could not get Sphinx to run successfully)
[ ] This is not a code change. (README, docs, etc.)

This is going to be labeled as a wontfix for 2 reasons:

The code currently standing already works in v3's implementation of ephemerals supporting components. It might not follow closely with the schema anymore, but in terms of functionality, it still remains present.
This is already something that will be getting addressed in v4 with a closer approach to following object data classes.


How would one simply read minecraft code source

I just want to access one single function to check something...

I got this far :

Idk why the jar is still compressed and why it's yarn and not minecraft source code...

One does not simply read minecraft source code (it's all spaghetti code), but look in src.

I found somewhat what I was looking for here :
https://github.com/Bukkit/mc-dev/blob/master/net/minecraft/server/EntityPig.java#L14


ansicolor default

Is your feature request related to a problem? Please describe.
yep. i want background blur with alacritty and it only does that if the bg color is set to 49 (ansicolor default). i can use a separate magic 49 for any backgrounds but it feels meh.
Describe the solution you'd like
i want a "default" color alias which maps to AnsiColor::Default so i can use it both as a fg and bg (which map to the respective 39/49 values depending on fg or bg)
Additional context
alacritty

Hi and thanks for your feature request.
Unfortunately it's not that easy to map the color to AnsiColor::Default since this does not exist. There's a function on_default which allows to render the text on the default background color. Internally, it just creates an empty style with only the foreground color set. The same goes for the default foreground color.
This implementation allows us to recreate the behaviour by just not setting fg and bg at all. I've tested it in Alacrity on macOS and it looks like this.

As you can see it is blurring the background and zjstatus will not overpaint the regions. foo on the right side of the bar has the default fg color.
Therefore it would be a little bit unintuitive to implement the default color, which internally does nothing, since it defaults when not specified.
Does this work for you? If so, we should definitely add it to the documentation.

Also, i don't understand how layering works, i.e. if I do "#[fg=base,bg=blue] a #[fg=blue] b" would "b" be rendered as blue on blue or blue on default? (pretend base is a valid color)

There is no layering. So b will be blue on the default background. Each format is resetting everything to default and just rendering the format that is specified in them. This is the main difference in contrast to tmux.

thanks!


Crash when potentialError is null

🐛 Bug Report
I got this error in my testsuite:
    TypeError: Cannot read property 'message' of null

      at isError (node_modules/jest-jasmine2/build/is_error.js:20:27)

It seems that isError in jest-jasmine2 does not consider null. The typeof === 'object' check is true for null but the code assumes that succeeding that checks makes it possible to read the property message.
https://github.com/facebook/jest/blob/c93e02718480b9f25b0d28f33456ed159bd11b69/packages/jest-jasmine2/src/is_error.js#L15
A clear and concise description of what the bug is.
This seems to happen when null is thrown inside a promise.

Mind putting together a small repro on e.g. repl.it? Or event better, a PR :)

It's more work to create a repro than a PR so I will send a PR. I did verify the fix (also checking for null) by modifying the file in node_modules for the affected repo.


Panic in state backend can stall checkpointing

This code in the parquet state backend:
https://github.com/ArroyoSystems/arroyo/blob/a7b9099fca351d230d250a94008a0a4707fa7cce/arroyo-state/src/parquet.rs#L1254-L1260
is responsible for flushing data to the filesystem. Currently it unwraps on failure, which causes the flusher to stall, breaking checkpointing:
ERROR arroyo_server_common: panicked at /opt/arroyo/src/arroyo-state/src/parquet.rs:1256:50:
called `Result::unwrap()` on an `Err` value: object store error: Generic { store: "S3", source: Error { retries: 0, message: "request error", source: Some(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("s3.ap-southeast-1.amazonaws.com")), port: None, path: "/arroyo-streaming/checkpoints/job_Qwj7ye3Egl/checkpoints/checkpoint-0013414/operator-job_source_0/table-k-000", query: None, fragment: None }, source: hyper::Error(Io, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }) }), status: None } }

Thanks @harshit2283 for the report

Fixed with #445


RecycleBin: Remove Properties menu item for the folder itself

Fixes #1263

Instead of removing it, why not modify it? File Explorer does show a properties option for Recycle bin however it opens a completely different dialog.

Because for the moment we are don't support showing properties dialog of this type. Maybe in the future when this specific type of dialog will be implemented, we could bring back this menu item.

Aw come on it's not so bad.
Size and Number of items is correct!

but still need changes, half of the displayed properties are useless


TextEditorComponent specs are flaky

Saw three different failures in three different builds on CI with some that passed.
>> TextEditorComponent
>>   gutter rendering
>>     it applies the background color of the gutter or the editor to the line numbers to improve GPU performance
>>       Expected 'rgba(0, 0, 0, 0)' to be 'rgb(255, 0, 0)'. (spec/text-editor-component-spec.coffee:579:53)

>> TextEditorComponent
>>   gutter rendering
>>     fold decorations
>>       mouse interactions with fold indicators
>>         it does not fold when the line number componentNode is clicked
>>           Expected Function to be Function. (spec/text-editor-component-spec.coffee:690:38)

>> TextEditorComponent
>>   hiding and showing the editor
>>     when the editor is hidden when it is mounted
>>       it defers measurement and rendering until the editor becomes visible
>>         Expected 0 to be greater than 0.
>>           at [object Object].<anonymous> (/private/var/lib/jenkins/workspace/atom/spec/text-editor-component-spec.coffee:2400:64)

>> TextEditorComponent
>>   mousewheel events
>>     updating scrollTop and scrollLeft
>>       it updates the scrollLeft or scrollTop according to the scroll sensitivity
>>         Error: No animation frame requested
>>           at noAnimationFrame (/private/var/lib/jenkins/workspace/atom/spec/text-editor-component-spec.coffee:22:39)
>>           at [object Object].<anonymous> (/private/var/lib/jenkins/workspace/atom/spec/text-editor-component-spec.coffee:2088:9)
>>       it parses negative scrollSensitivity values at the minimum
>>         Error: No animation frame requested
>>           at noAnimationFrame (/private/var/lib/jenkins/workspace/atom/spec/text-editor-component-spec.coffee:22:39)
>>           at [object Object].<anonymous> (/private/var/lib/jenkins/workspace/atom/spec/text-editor-component-spec.coffee:2105:9)

>> TextEditorComponent
>>   scrolling
>>     it updates the horizontal scrollbar and the x transform of the lines based on the scrollLeft of the model
>>       Error: No animation frame requested
>>         at noAnimationFrame (/Users/travis/build/atom/atom/spec/text-editor-component-spec.coffee:22:39)
>>         at [object Object].<anonymous> (/Users/travis/build/atom/atom/spec/text-editor-component-spec.coffee:1927:7)

/cc @nathansobo @as-cii in case any of these stack traces stand out

Just added two new ones

It's interesting that they're all related to our TextEditorComponent. I gave a quick read to these randomly failing tests, and there could be some similarities among them:

Some of them use advanceClock
Some of them use dispatchEvent

I am not sure these two facts are a big deal, but they hopefully tell something more. It's weird to say, but I'd :heart: to be able to reproduce those failures consistently.
Thank you for the heads-up by the way, @kevinsawicki :pray:

Just added a new one which happened on https://travis-ci.org/atom/atom/jobs/57928782


BlockDataContainer geometry as property?

Currently BlockDataContainers do not have a geometry member or property.
With #1428 ProjectionOperator looks into the acquisition geometry and if it is a BlockGeometry then it creates a BlockOperator. However, the geometry of the BlockDataContainer created by Partitioner has a new member which may not be in sync with the DataContainers it contains.
https://github.com/TomographicImaging/CIL/blob/8e78dfef2d3f49cef9e4ecf4dfdd7da2de6bcb66/Wrappers/Python/cil/framework/framework.py#L224
I guess that geometry should be a property of BlockDataContainer which is created by looking into the containers in the block.

BlockDataContainer should also have a property geometry, which creates a BlockGeometry based on the geometries of the DataContainers container.

# bdc.geometry is equivalent to
@property
def geometry(self):
    geoms = []
    for el in self.containers:
        geoms.append(el.geometry)
    return BlockGeometry(*geoms)

This should be in sync with the geometries in the BlockDataContainer, as the new BlockGeometry contains references to the geometries in the BlockDataContainer.
Additionally, we should provide the method copy
# this needs a deep copy with no references
bdc.geometry.copy()

Add also __eq__, __str__


Update bytes.c

I've merged it into my branch but I don't think it's working quite right yet. I added a test for the underlying HILTI instruction to tests/hilti/bytes/to-int-binary.hlt. That works for a single-byte sequence, but not for a longer one: b"\xff\xff\xff\xd6" turns into 0xffffffff00000029.

I am checking right away
2015-07-10 7:42 GMT-07:00 Robin Sommer<EMAIL_ADDRESS>
Merged #6 https://github.com/rsmmr/hilti/pull/6.
—
Reply to this email directly or view it on GitHub
https://github.com/rsmmr/hilti/pull/6#event-352994907.

There was an int overflow. Now it is fixed.
However, I think the "to_uint" hilti method does not work properly.
2015-07-10 9:48 GMT-07:00 Marco Caselli<EMAIL_ADDRESS>
I am checking right away
2015-07-10 7:42 GMT-07:00 Robin Sommer<EMAIL_ADDRESS>
Merged #6 https://github.com/rsmmr/hilti/pull/6.
—
Reply to this email directly or view it on GitHub
https://github.com/rsmmr/hilti/pull/6#event-352994907.


UI font size is not customizable and it doesn't honor system font size settings

Issue Type: Bug

Install Visual Studio Code on Ubuntu
Open it
Observe tiny text size

VS Code version: Code 1.26.1 (493869ee8e8a846b0855873886fc79d480d342de, 2018-08-16T18:34:20.517Z)
OS version: Linux x64 4.17.0-9-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz (4 x 2300)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
11.53GB (4.29GB free)

Process Argv
/usr/share/code/code .

Screen Reader
no

VM
0%

Extensions (17)

Extension
Author (truncated)
Version

language-x86-64-assembly
13x
2.2.11

javascript-ejs-support
Dig
0.3.2

minify
Hoo
0.3.0

vscode-css-formatter
aes
1.0.1

sql-formatter
cym
1.0.2

vscode-eslint
dba
1.5.0

gitlens
eam
8.5.6

EditorConfig
Edi
0.12.4

vscode-great-icons
emm
2.1.41

beautify
Hoo
1.4.2

xml-format
mik
0.0.4

cpptools
ms-
0.18.1

vscode-jsp
pth
0.0.2

vscode-hexdump
sle
1.6.0

uridecode
sry
0.3.4

cmake
twx
0.0.17

highlight-matching-tag
vin
0.4.4

Can you provide a screenshot of the problem? Also the version of Ubuntu?

Distro/DE version shouldn't matter in this case as any Linux DE has customizable system fonts and sizes, which don't get respected by VSCode as the workbench font uses a hardcoded stack/size off 11px "-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,Ubuntu,Droid Sans,sans-serif"
I'd say it's related to #10144 (and its numerous duplicates).
Can be worked around in fontconfig using aliases and pixelsize assigning, but that can and will backfire rather quickly as VSCode uses a common web font stack.
Screenshot to illustrate. Note workbench font size (I've already used fontconfig to alias Segoe UI to Noto Sans, but the size is way off)

I believe it happens on all Ubuntus regardless of version like @m-thorsen said. I'm using a GNOME desktop though, font settings are configurable there via GNOME Tweak Tool
sudo apt-get install gnome-tweak-tool
gnome-tweak-tool

Font settings are under "Fonts" tab.


Builder doesn't pass through es6 syntax

Modern browsers support some es6 features and I want to take advantage of it in my project.
When I add particular es6 transformations to Babel's blacklist, everything works fine in development mode. But when I try to build a bundle I get an error.
A simple example below.
main.js
{
	let message = "Hello, World!"
	console.log(message)
}

Babel configuration in config.js
transpiler: "babel",
babelOptions: {
  "optional": [
    "runtime",
    "optimisation.modules.system"
  ],
  "blacklist": [
    "es6.blockScoping"
  ]
},

builder output
     Building the single-file sfx bundle for test-app...

err  SyntaxError: evalmachine.<anonymous>:8
                                let message = "Hello, World!";
                                ^^^
     Unexpected strict mode reserved word
        Evaluating file:///C:/systemjs-es6-pass-through/lib/main.js
        Error on instantiate for lib/main.js at file:///C:/systemjs-es6-pass-through/lib/main.js

Thanks, yes this is a known issue and being tracked in https://github.com/systemjs/builder/issues/299.

#299 was released in 0.15.0 but this issue is still reproducible in 0.15.2.
@guybedford Please, reopen.

@maxlk this feature only applies to the use of the Babel plugin in jspm 0.17, and not the internal transpilation layer in jspm 0.16.

@guybedford you mean that in jspm 0.16 internal transpilation layer is used to transpile es6 when require('jspm').Builder.buildStatic() is invoked, right?

Yes.


Rebuild streamlit 1.16.0 b1

Requirements: https://github.com/streamlit/streamlit/blob/1.16.0/lib/setup.py
Actions:

Bump a build number to 1
Add  --no-deps --no-build-isolation to script
Pin pipenv 2022.7.4 in host to satisfy the anaconda-linter
Add the upper bound <5 for altair, because altair 5.x will break Streamlit <1.23, see https://github.com/streamlit/streamlit/pull/6219 and https://github.com/streamlit/streamlit/commit/b2e485954538cc18ab4a5542d3410659dafa6b0f
Add the upper bound <2 for pandas because pandas 2.0 support was added only for Streamlit >=1.22.0, see https://github.com/streamlit/streamlit/commit/0e7b95706623acd2fed4028cf81f5294a387caba
Remove license_url
Remove doc_source_url

Notes:

See also conda-forge constraints for altair and pandas https://github.com/conda-forge/streamlit-feedstock/commit/0a642f1eaa433c2ada0067e651aaf79ff49a791e

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_9a9ovzvy5e/clone/recipe/meta.yaml:38: python_build_tool_in_run: The python build tool packaging is in run depends
Warnings were found

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_15ywjvh593/clone/recipe/meta.yaml:37: python_build_tool_in_run: The python build tool packaging is in run depends
Warnings were found

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_93nlbngneq/clone/recipe/meta.yaml:36: python_build_tool_in_run: The python build tool packaging is in run depends
Warnings were found

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_2ailv9b_w_/clone/recipe/meta.yaml:36: python_build_tool_in_run: The python build tool packaging is in run depends
Warnings were found


⚠ Bofrost.de has degraded performance

In 022712b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2000 ms

Resolved: Bofrost.de performance has improved in accfe40 after 312 days, 10 hours, 37 minutes.


Any plans for go.rice support?

https://github.com/GeertJohan/go.rice

What would I use it for, @tabula-rasa?

Some applications pack their assets with it (or go-bindata, which is more popular). This way one can compile whole app with related files (templates, migration, config files...) into one binary for easy deploy. To tell the truth, I would be happy if there was a possibility to create migrator not only by a given directory, but by a map of preloaded files, like that:
type fileName string
type fileData []byte
func NewMigratorMemory(db *sql.DB, adapter Migratable, migrationsMemory map[fileName][fileData]) (*Migrator, error)

This way I could implement my own go.rice or go-bindata wrapper, so you don't need to import them in your package.

I like the idea of creating a migrator that uses io.ReadCloser objects. If someone wants to use go-bindata, go.rice, or whatever comes along next can just use that interface. Would you like to spike on that?

Sure, thar would be great.

:+1: was looking for this myself today (using go-bindata)


Help needed: How to use it?

Hi,
So I have setup this thing and its running and I made a power-up at trello.
I have followed every step in the README.
But idk what to do now... it doesn't yet seem to be 'working'
And I don't have the TRELLO_CALLBACK_URL, idk what to fill in there...

Oh... You need to register a webhook first... Oke I got it working now!
Here is a simple script to do it for you. You will have to place it in the folder WITH the .env file
source ./.env

idModel="YOUR_MODEL_ID" # Add .json after your board link, find idBoard value and replace YOUR_MODEL_ID with the id!

curl -X POST -H "Content-Type: application/json" \
"https://api.trello.com/1/tokens/{$TRELLO_TOKEN}/webhooks/" \
-d "{ \"key\": \"$TRELLO_KEY\", \"callbackURL\": \"$TRELLO_CALLBACK_URL\", \"idModel\":\"$idModel\", \"description\": \"Discord Webhook\" }"

echo ""


Fix bug. The parameter --keep_last_n_checkpoints -1 doesn't work.

Modify logic of clean_last_n_checkpoints method in utils.py file.

Hi, in the open-instruct/open_instruct/finetune.py file, there is a parameter:
 keep_last_n_checkpoints: int = field(         default=3,         metadata={"help": "How many checkpoints to keep in the output directory. -1 for all."},     )
--keep_last_n_checkpoints -1 means keeping all the checkpoints. When I set it, it didn't work, so I just fixed it.


Remove TemplateParser, replace tests

The TemplateParser is only used for unit testing.
This class should be removed and tests should be altered
update: same for TemplateRenderer.Render(Template)

Could be helpful. Keeping it for now


Tagging @PostMapping with Api tags causes failure (@ApiOperation and @ApiResponses)

Please take the time to search the repository, if your question has already been asked or answered.

[X ] What version of the library are you using? Is it the latest version?

Using version 3.0.0, current latest version
What kind of issue is this?

[ ] Question. Is this a question about how to do a certain thing?

[X] Bug report. If you’ve found a bug, spend the time to write a failing test.

When I try to document a Post API, and I add @ApiOperation or @ApiResponse tags, it crash
Sample:
	@ApiOperation(value="Short description", notes="Long description")
	@PostMapping(value = "/product-composite", consumes = "application/json", produces ="application/json")
	void createCompositeProduct(@RequestBody ProductAggregate body);

The error I get when I call http://localhost:8080/v3/api-docs
{
  "timestamp": "2020-12-08T20:31:53.8629876Z",
  "path": "/v3/api-docs",
  "message": "Cannot invoke \"io.swagger.v3.oas.models.media.Schema.description(String)\" because the return value of \"springfox.documentation.oas.mappers.SchemaMapper.mapFrom(springfox.documentation.schema.ModelSpecification, springfox.documentation.service.ModelNamesRegistry)\" is null",
  "status": 400,
  "error": "Bad Request"
}

In the same code/sample @GetMapping and @DeleteMapping works fine
- [X] spring xml/java config that is relevant

I include my build.gradle file
plugins {
	id 'org.springframework.boot' version '2.4.0'
	id 'io.spring.dependency-management' version '1.0.10.RELEASE'
	id 'java'
}

group = 'com.xxxxxxxx.microservices.composite.product'
version = '1.0.0-SNAPSHOT'
sourceCompatibility = '1.8'

repositories {
	mavenCentral()
}

dependencies {
	// Local projects depedencies
	// implementation files('../../api/build/libs/api.1.0.0-SNAPSHOT.jar')
	// implementation files('../../util/build/libs/util.1.0.0-SNAPSHOT.jar')
	implementation project(':api')
	implementation project(':util')

	// Testing: Use JSR330 injection
	implementation 'javax.inject:javax.inject:1'

	// Implementations dependencies
	// Standard (actuator - for monitoring)
	implementation 'org.springframework.boot:spring-boot-starter-actuator'
	// WebFlux (asynchronous Web)
	implementation 'org.springframework.boot:spring-boot-starter-webflux'

	// SpringFox dependencies
	implementation "io.springfox:springfox-boot-starter:3+"
	implementation('io.springfox:springfox-spring-webflux:3+')
	//implementation 'io.springfox:springfox-swagger-ui:3.0.0'

	// Test dependencies
	testImplementation('org.springframework.boot:spring-boot-starter-test') {
		exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
	}
	testImplementation 'io.projectreactor:reactor-test'

}

test {
	useJUnitPlatform()
}

Hello folks,
Have anyone solved this?

Hi, has anyone solved this? Thanks!

There is a problem with the consumes parameter, you can simply remove it as long as you are using only application/json. This solution has helped me resolve the issue.


Muti GPU train_discriminator has some confused

When I train on multiple GPUs, start training the discriminator, the following error occurs：
RuntimeError: Detected mismatch between collectives on ranks. Rank 0 is running collective: CollectiveFingerPrint(OpType=BROADCAST, TensorShape=[], TensorDtypes=Long, TensorDeviceTypes=TensorOptions(dtype=float (default), device=cuda, layout=Strided (default), requires_grad=false (default), pinned_memory=false (default), memory_format=(nullopt))), but Rank 1 is running collective: CollectiveFingerPrint(OpType=ALLGATHER_COALESCED).
I found that this condition may have different results on different ranks.
train_discriminator = (config.model.train_discriminator
and epoch >= config.lr_scheduler.warmup_epoch
and random.random() < float(config.model.train_discriminator))
if train_discriminator:
I speculate that because the train_discriminator in different rank of the appeal will cause the following error or index out of bounds. There are comments where there are errors：
bw = self.target_bandwidths[index.item()]# fixme: variable bandwidth training, if you broadcast bd, the broadcast will encounter error
So I set train_discriminator to True forever, and the error disappeared, I would like to ask if this situation has ever happened to the author, and does this flag have any special meaning?

When I train on multiple GPUs, start training the discriminator, the following error occurs：
RuntimeError: Detected mismatch between collectives on ranks. Rank 0 is running collective: CollectiveFingerPrint(OpType=BROADCAST, TensorShape=[], TensorDtypes=Long, TensorDeviceTypes=TensorOptions(dtype=float (default), device=cuda, layout=Strided (default), requires_grad=false (default), pinned_memory=false (default), memory_format=(nullopt))), but Rank 1 is running collective: CollectiveFingerPrint(OpType=ALLGATHER_COALESCED).
I found that this condition may have different results on different ranks.
train_discriminator = (config.model.train_discriminator and epoch >= config.lr_scheduler.warmup_epoch and random.random() < float(config.model.train_discriminator)) if train_discriminator:
I speculate that because the train_discriminator in different rank of the appeal will cause the following error or index out of bounds. There are comments where there are errors：
bw = self.target_bandwidths[index.item()]# fixme: variable bandwidth training, if you broadcast bd, the broadcast will encounter error
So I set train_discriminator to True forever, and the error disappeared, I would like to ask if this situation has ever happened to the author, and does this flag have any special meaning?

https://github.com/ZhikangNiu/encodec-pytorch/blob/c6b6de91c4bfeb8582b5e51f1a8b599e04b7d860/train_multi_gpu.py#L107
yeah, you're right. When we use multi gpu, every gpu could have different random.random(). It will show this error. train_discriminator=True, it means 1 step update generator, 1 step update discriminator. We can set it's a probability, to make it update 2 step generator, 1 step discriminator. You can add a new pull request if you want and I will merge it. We can fix this problem with broadcast random.random() from GPU:0 to others? Please check this question @leoauri

When I train on multiple GPUs, start training the discriminator, the following error occurs：
RuntimeError: Detected mismatch between collectives on ranks. Rank 0 is running collective: CollectiveFingerPrint(OpType=BROADCAST, TensorShape=[], TensorDtypes=Long, TensorDeviceTypes=TensorOptions(dtype=float (default), device=cuda, layout=Strided (default), requires_grad=false (default), pinned_memory=false (default), memory_format=(nullopt))), but Rank 1 is running collective: CollectiveFingerPrint(OpType=ALLGATHER_COALESCED).
I found that this condition may have different results on different ranks.
train_discriminator = (config.model.train_discriminator and epoch >= config.lr_scheduler.warmup_epoch and random.random() < float(config.model.train_discriminator)) if train_discriminator:
I speculate that because the train_discriminator in different rank of the appeal will cause the following error or index out of bounds. There are comments where there are errors：
bw = self.target_bandwidths[index.item()]# fixme: variable bandwidth training, if you broadcast bd, the broadcast will encounter error
So I set train_discriminator to True forever, and the error disappeared, I would like to ask if this situation has ever happened to the author, and does this flag have any special meaning?

https://github.com/ZhikangNiu/encodec-pytorch/blob/c6b6de91c4bfeb8582b5e51f1a8b599e04b7d860/train_multi_gpu.py#L107
yeah, you're right. When we use multi gpu, every gpu could have different random.random(). It will show this error. train_discriminator=True, it means 1 step update generator, 1 step update discriminator. We can set it's a probability, to make it update 2 step generator, 1 step discriminator. You can add a new pull request if you want and I will merge it. We can fix this problem with broadcast random.random() from GPU:0 to others? Please check this question @leoauri

Maybe the following code can solve?
def get_train_discriminator():
    local_train_discriminator = (config.model.train_discriminator
                                  and epoch >= config.lr_scheduler.warmup_epoch
                                  and random.random() < float(config.model.train_discriminator))

    # broadcast from cuda:0 to other cuda
    if dist.get_rank() == 0:
        # cuda:0 上的 local_train_discriminator
        local_train_discriminator_tensor = torch.tensor(int(local_train_discriminator), dtype=torch.int32).cuda()
    else:
        local_train_discriminator_tensor = torch.empty(1, dtype=torch.int32).cuda()

    dist.broadcast(local_train_discriminator_tensor, src=0)

    global_train_discriminator = local_train_discriminator_tensor.item() > 0
    return global_train_discriminator

train_discriminator = get_train_discriminator()

@QingliangMeng @leoauri

Thank you very much for your reply! ~ I think I know why it is designed that way. I will try it myself.


Incomplete Response

Describe the bug
Every time I run something, it gives a 'This message didn't complete its response.' message

Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-qu21so
Steps to reproduce
.
Expected behavior
.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 67017115,
  "usedJSHeapSize": 62270427,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = SpaceGangUno
Chat ID = 8865d5d5677d

Additional context
No response

i have the same problem. it can't finish the code. i consumed all my tokens over nothing


"Unable to locate xxx variable in JSON" errors

I've run the exe and configured it for direct HA access. Its created the entities in HA but isn't updating them. When I check the logs I see a number of errors:
2024-05-02T10:50:24.612721500+01:00  INFO teams_status - Application starting
2024-05-02T10:50:26.762069400+01:00  INFO teams_status::teams_ws::api - {"requestId":6688,"response":"Success"}
2024-05-02T10:50:26.764980900+01:00  INFO teams_status::teams_ws::api - {"meetingUpdate":{"meetingPermissions":{"canToggleMute":false,"canToggleVideo":false,"canToggleHand":false,"canToggleBlur":false,"canLeave":false,"canReact":false,"canToggleShareTray":false,"canToggleChat":false,"canStopSharing":false,"canPair":false}}}
2024-05-02T10:50:26.765497900+01:00  ERROR teams_status::teams_ws::api - Unable to locate isMuted variable in JSON
2024-05-02T10:50:26.765692400+01:00  ERROR teams_status::teams_ws::api - Unable to locate isVideoOn variable in JSON
2024-05-02T10:50:26.765875800+01:00  ERROR teams_status::teams_ws::api - Unable to locate isHandRaised variable in JSON
2024-05-02T10:50:26.765998100+01:00  ERROR teams_status::teams_ws::api - Unable to locate isInMeeting variable in JSON
2024-05-02T10:50:26.766093400+01:00  ERROR teams_status::teams_ws::api - Unable to locate isRecordingOn variable in JSON
2024-05-02T10:50:26.766185100+01:00  ERROR teams_status::teams_ws::api - Unable to locate isBackgroundBlurred variable in JSON
2024-05-02T10:50:26.766275500+01:00  ERROR teams_status::teams_ws::api - Unable to locate isSharing variable in JSON
2024-05-02T10:50:26.766366300+01:00  ERROR teams_status::teams_ws::api - Unable to locate hasUnreadMessages variable in JSON
2024-05-02T10:50:27.156470700+01:00  INFO teams_status::home_assistant::api - Updating HA entity (binary_sensor.teams_background_blurred) to 'off'
2024-05-02T10:50:27.158793900+01:00  INFO teams_status::home_assistant::api - Updating HA entity (binary_sensor.teams_sharing) to 'off'
2024-05-02T10:50:27.161689100+01:00  INFO teams_status::home_assistant::api - Updating HA entity (binary_sensor.teams_video) to 'off'
2024-05-02T10:50:27.165663900+01:00  INFO teams_status::home_assistant::api - Updating HA entity (binary_sensor.teams_unread_messages) to 'off'
2024-05-02T10:50:27.170288700+01:00  INFO teams_status::home_assistant::api - Updating HA entity (binary_sensor.teams_muted) to 'off'
2024-05-02T10:50:27.180389300+01:00  INFO teams_status::home_assistant::api - Updating HA entity (binary_sensor.teams_recording) to 'off'
2024-05-02T10:50:27.182126800+01:00  INFO teams_status::home_assistant::api - Updating HA entity (binary_sensor.teams_hand_raised) to 'off'
2024-05-02T10:50:27.183664200+01:00  INFO teams_status::home_assistant::api - Updating HA entity (binary_sensor.teams_meeting) to 'off'

When I start a meeting I am seeing an event, but with similar errors:
2024-05-02T10:51:49.625575300+01:00  INFO teams_status::teams_ws::api - {"meetingUpdate":{"meetingPermissions":{"canToggleMute":false,"canToggleVideo":false,"canToggleHand":false,"canToggleBlur":false,"canLeave":false,"canReact":false,"canToggleShareTray":false,"canToggleChat":false,"canStopSharing":false,"canPair":false}}}
2024-05-02T10:51:49.626007+01:00     ERROR teams_status::teams_ws::api - Unable to locate isMuted variable in JSON
2024-05-02T10:51:49.626036700+01:00  ERROR teams_status::teams_ws::api - Unable to locate isVideoOn variable in JSON
2024-05-02T10:51:49.626059500+01:00  ERROR teams_status::teams_ws::api - Unable to locate isHandRaised variable in JSON
2024-05-02T10:51:49.626080800+01:00  ERROR teams_status::teams_ws::api - Unable to locate isInMeeting variable in JSON
2024-05-02T10:51:49.626102100+01:00  ERROR teams_status::teams_ws::api - Unable to locate isRecordingOn variable in JSON
2024-05-02T10:51:49.626123+01:00     ERROR teams_status::teams_ws::api - Unable to locate isBackgroundBlurred variable in JSON
2024-05-02T10:51:49.626143900+01:00  ERROR teams_status::teams_ws::api - Unable to locate isSharing variable in JSON
2024-05-02T10:51:49.626165+01:00     ERROR teams_status::teams_ws::api - Unable to locate hasUnreadMessages variable in JSON

So presumably the API to Teams and HA is working fine. I assume I'm doing something wrong but not sure what that might be.

Did you do these steps?

Start a meeting in Teams (you can be the only person in it)
From the tray icon, right-click, and click on Toggle Mute
You will get a prompt in Teams to allow the application to use the API
If you do not click on time Teams will close the prompt.  Suffice to say it now works.
Sorry for wasting your time and thanks for the work you've done on this.

No problem it happens to everyone 🤣
It did give me the idea of trying to automate that step so that's a plus.


Remove 15 second timeout on socket connections in SPO driver.

Teams thread
https://office.visualstudio.com/OC/_queries/edit/4601632/?triage=true
https://office.visualstudio.com/OC/_queries/edit/3663497/?triage=true
I propose we do the following steps:

Remove timeouts (15000 / 20000) or substantially increase them
Add ability to do two connections in parallel, one starting 15 seconds (or so) behind the first one.
Chose whatever one comes in first, and clearly closing second one.

IcM: 212256035

@ChumpChief , @GaryWilber - FYI

Per Gary, AFD is going away with PUSH v2 design, so likely we do not want yet to implement my proposal.
That said, looking at telemetry for fluid:telemetry:OdspDriver:FailedAfdUrlFallback, there are roughly 2K hits per day, and 15% of them are at 15 seconds. Meaning a lot of users are hitting that timeout. That said, numbers over last 10 days are way worse
Worth pointing out that in some sessions I've looked where we hit 15 seconds, it took long time to connect successfully, i.e. we might have got lucky (eventually) that it was under timeout.
All of that points to the need to increase timeout number. I'd go with 60 seconds for now and reassess in 10 days after it goes to production.
Note that distribution is hockey stick. Session_Id == "439bbb9b-3d27-42fd-8644-ad7a2b07bfff" had 467 timeouts!
What we are missing also is how long it took to connect, i.e. actual establishing of connection.
We record on fluid:telemetry:Container:ConnectionStateChange_Connecting a bunch of telemetry, but this info is missing - DeltaManager should collect it and provide on "connect" event.

I'm going to re-open this issue. Though #4249 mitigated the issue, the problem still remains.
@vladsud suggested 3 possible steps. First is done, but there are 2 others as well.

[x] 1. Remove timeouts (15000 / 20000) or substantially increase them
[ ] 2. Add ability to do two connections in parallel, one starting 15 seconds (or so) behind the first one.
[ ] 3. Chose whatever one comes in first, and clearly closing second one.

We should not do # 2/3 as PUSH v2 that we are moving to will eliminate the need for AFD, so there will be no secondary connection to make.
But we should use this issue to figure out what kind of telemetry we can use to diagnose the problem. For example, can we use Resouse API here to figure out where socket connection is stuck? Is this DNS resolution, establishing TCP connection, or websocket / socket.io handshake?

I checked whether we can use the resource timing api to measure the socket conenction. But seems like we can't.
Fetching performance.getEntriesByName(url); where url is socket url does not return anything. Seems like it can be used for fetch and some other functionality.

So, I don't think we can do anything else here from client side.


Fixes #1510 Test adapter crash

Fixes #1510 Test adapter crash
Prevents potential null reference exceptions when getting tests.

👍


Update process GUPPY in main.nf

add this to the script:
output:
	path "fastq/pass/*.gz", emit: fastq_ch
        path "fastq"
	file("logs/guppy_basecaller_*.log")
	path "sequencing_logs/sequencing_summary.txt", emit: summary_ch

add the lines, but this is not complete yet.

The output collection is not working correctly.

fastq output from process guppy is now save in the folder 01_guppy. That includes the passed and the failed reads.


Read-only depth tests periodically fail in Direct3D12 backend

This happens inconsistently, but quite often. The difference picture is a strong indication of GPU synchronization error.
GPU: Nvidia GeForce970

Is there correlation with the exact tests? Testure types probably won't matter, but what about RenderTarget vs RenderPass?

Unfortunately it is quite unpredictable and not always reproducible.
It fails for one or sometimes two of the formats that are tested D16.

Here are another failing pictures
D16:

D32_F:


maintenance: move changesets dir to root

ref: https://github.com/liam-hq/liam/pull/351

The changesets directory move was omitted. 🙏🏻

Sorry, it is minor and will be merged


After sending to the queue, there are two more characters at the beginning

Ibm mq queues are deployed on aix machines

The problem has been solved, and the latest version solves the problem

The problem has been solved, and the latest version solves the problem


have the retires_on function change the retirement_state in vmdb

This pull is in reference to https://bugzilla.redhat.com/show_bug.cgi?id=1306830

@tinaafitz Please review.
@carnott-redhat If you could modify your commit message to include the BZ URL in the body on its own line, then @miq-bot will automatically update the BZ with the commit information when it's merged.  Thanks!

@Fryguy thanks for the tips, I chose to just use your cleaner option, as I agree it looks better; also I hope this commit looks better

Style wise, looks good to me.  I don't know the content, so I'll wait for @tinaafitz to review.

@gmcculloug Please review

Fixed in #6677


Fix date speech commands and delete unused files.

Why is the CI/CD off?

Why is the CI/CD off?

The pipeline didn't run for this pull request?

Why is the CI/CD off?

The pipeline didn't run for this pull request?

I don't think so. It might be because of the conflict. @ccolbert15, can you look into the conflict?

That is likely it. I believe that the pipeline does not run when there are conflicts since it will not compile

Why is the CI/CD off?

The pipeline didn't run for this pull request?

I don't think so. It might be because of the conflict. @ccolbert15, can you look into the conflict?


[openblas] Add CheckCFlags compiler and linker flags #34287

Adding the security flags ("/guard:cf and /DYNAMICBASE") to be built for the openblas binary.

[ ] Changes comply with the maintainer guide
[ ] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[ ] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[ ] Only one version is added to each modified port's versions file.

No.... adjust your triplet accordingly.


Backspace key triggers "onDeleteKey" action

Is there a reason why the backspace key triggers the "onDeleteKey" action? This doesn't seem intuitive, and it prevents us from using a search input on a node.

It very strange behaviour. Any fixes exist for this problem?

Internally the "onDeleteKey" is specifically set to trigger on the delete key and backspace key. I just wanted to know if this was important, or actually desired....

In order to prevent the backspace key from deleting the node on which the input exists (however, I still believe it should not be a trigger), setup your input as such: <input onKeyDown={e => e.stopPropagation()} />


Keyboard shortcuts for show/hide and position

I think it would be faster workflow if there was a way to show / hide the panel with keyboard shortcuts as well. Maybe even other stuff like:

Show / hide panel
Edit this page
Panel

If it's a good idea, just be aware of different keys on Mac and PC.

What would be good key combinations for these actions?

At the moment:
alt + x: show/hide
alt + up/down: top/bottom
alt + E: edit
alt + P: panel

Also not yet solved: What to do when in iframe view (right now you can still hide the panel bar)

For the iframe, just allow shortcuts that are in the back-bar? Like hide and hide + refresh?
alt + r = hide + refresh? when in back-bar edit mode?
I have not tried if the shortcuts work yet. On tuesday at 13 I will flood the issue-list again. :)

Edit
alt + e is a good one. Too bad it will also open a menu in Google Chrome.
I also think it could be a toggle. Edit mode on / off (Return to page).
Other ones
I like the other key combinations and I really love this function and how well it works. I hope it will work for Mac users as well.

Position
I just figured out somthing about the position. As a complement to the combinations already added, this would be nice:
alt + arrow up - Position top (regardless of what is was before)
alt + arrow down - Position bottom (regardless of what is was before)
This way it would not toggle, just set. For me it would probably be more natural like that.

Possible collision
I see a danger in the combinations, that the website maybe already have a set of shortcuts themselves. I think it's important to be able to turn it on / off in the config.php. I like default to be on and if there is a problem the user will notice and disable it at that point. Docs of that also important.

Current shortcuts

Shortcut
Effect

alt + x
toggle visibility (show/hide)

alt + -
toggle position (top/bottom)

alt+ up
set position to top

alt + down
set position to bottom

alt + E
toggle edit mode

alt + R
close iFrame and Refresh

alt + P
go to panel

Position
I tried this before, but wasn't really sure. Activated it again for you to see yourself. Problem is, that for me in Safari the page also starts scrolling a bit.
Deactivate
In config.php:
c::set('panelbar.keys', false);

About alt + e
It's good to have e as in edit. Too bad Chrome uses it. Possible, not as good combinations for it:

alt + c = c as in Change
alt + 3 = E backwords
alt + 0 = Some neutral number

I know, they are quite poor.
Position
It works great in Chrome. How can position shortcut make it scoll in Safari and not shortcut for toggle position scoll? I think it's the best shortcut.

Alt + U => update?
I think, I'll just leave the arrow shortcuts in. If it works for some browsers great, use it. If it doesn't work that well in Safari, just use alt + dash

alt + u, hmm. I think they are all equaly bad. Pick what you think is best.
About Safari. If it's possible to check if the browser is Safari in JS, you could block the feature for that browser. Just don't check webkit because Chrome uses webkit as well.

Any reason why it's alt + M? Or is it just a random letter? I'm ok with it, just curious.

modify ;)

Edit, Change, Update, Modify. Seems to be quite a few to choose from. :)


Add (last?) correct mapping of geo* pattern to RBR

Fixes DOC-2357
Summary of changes:

Fixed the (hopefully) last incorrect mapping from the old skool
geo-partitioned leaseholder pattern to the new REGIONAL BY ROW table
locality + ZONE survival goal on the 'Migrate to Multi-region SQL'
page.

Previously, we were incorrectly referring to a mapping from
geo-partitioned leaseholders to REGIONAL BY TABLE locality + ZONE
survival.

This change is

Eric this is the last reference (I hope) that needs updating on this page.
Skipping technical review since we already confirmed this info via reviews in #12787 and #12802
Really hope this is the last one (I actually read the page this time) 😓

woohoo! thanks!


[BACKLOG-17072] AEL - spoon can't run a second transformation after the first completes

Use TransMeta.realClone(false) in order to avoid resetting unnecessary fields.

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -f engine/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  engine/src/org/pentaho/di/trans/ael/adapters/TransMetaConverter.java
  engine/test-src/org/pentaho/di/trans/ael/adapters/TransMetaConverterTest.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.core.auth.core.impl.DefaultAuthenticationConsumerFactory

Branch Change:  + 7.14%
Complexity Change:  + 7.69%

org.pentaho.di.job.entries.sql.JobEntrySQL

Instruction Change:  + 3.28%
Line Change:  + 3.87%

org.pentaho.di.trans.ael.adapters.TransMetaConverter

Instruction Change: -.01%:small_red_triangle_down:

org.pentaho.di.trans.step.BaseStep

Branch Change:  + .15%
Complexity Change:  + .18%
Instruction Change:  + .05%
Line Change:  + .08%

org.pentaho.di.trans.step.StepMeta

Branch Change: -.68%:small_red_triangle_down:
Complexity Change: -.58%:small_red_triangle_down:
Instruction Change: -.19%:small_red_triangle_down:
Line Change: -.26%:small_red_triangle_down:

org.pentaho.di.trans.steps.calculator.CalculatorMetaFunction

Branch Change:  + 8.70%
Complexity Change:  + 3.03%
Instruction Change:  + .75%
Line Change:  + .89%

org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change:  + .10%

org.pentaho.di.trans.steps.csvinput.CsvInputMeta

Instruction Change: -.05%:small_red_triangle_down:

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change:  + .11%

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Branch Change:  + .31%
Instruction Change:  + .06%
Line Change: -.23%:small_red_triangle_down:
Method Change: -1.02%:small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -1.04%:small_red_triangle_down:
Complexity Change: -1.05%:small_red_triangle_down:

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change:  + 2.00%
Complexity Change:  + 1.89%
Instruction Change:  + .17%

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -.06%:small_red_triangle_down:

org.pentaho.di.trans.steps.rowgenerator.RowGeneratorMeta

Instruction Change:  + .08%

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change:  + .18%

org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTransMeta

Branch Change:  + 3.33%
Complexity Change:  + 1.85%
Instruction Change:  + .28%

org.pentaho.di.trans.steps.synchronizeaftermerge.SynchronizeAfterMergeMeta

Instruction Change:  + .04%

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change:  + .53%

org.pentaho.di.trans.TransMeta

Branch Change:  + .09%
Instruction Change:  + .48%
Line Change:  + .44%
Method Change: -.37%:small_red_triangle_down:

org.pentaho.di.www.TransformationMap

Branch Change: -5.68%:small_red_triangle_down:
Complexity Change: -4.62%:small_red_triangle_down:
Instruction Change: -4.39%:small_red_triangle_down:
Line Change: -3.85%:small_red_triangle_down:


Add cube

You need to delete the two files GeometricObjects.text, also, once again, why is the CMake change here, it is irrelevant to this submission - get rid of it.


Namespace error

NamespaceException: (‘Unknown namespace (%s) in call_service from %s’, ‘mqtt’, ‘qolsys_panel’)
HA on RPi4
Qolsys Panel 2+ 4.2.0
Control4 and remote access granted
Updated app.yaml with IP
Mosquito MQTT broker installed with HACS

More details...
Seems that the gateway is not getting anything from my panel.
ERROR qolsys_panel: Task exception was never retrieved future: <Task finished name='Task-361' coro=<QolsysSocket.listen() done, defined at /config/appdaemon/apps/qolsysgw/qolsys/socket.py:60> exception=AttributeError("'NoneType' object has no attribute 'get'")> Traceback (most recent call last): File "/config/appdaemon/apps/qolsysgw/qolsys/socket.py", line 119, in listen await self._disconnected_callback() File "/config/appdaemon/apps/qolsysgw/gateway.py", line 158, in qolsys_disconnected_callback self._factory.wrap(self._state).set_unavailable() File "/config/appdaemon/apps/qolsysgw/mqtt/updater.py", line 500, in wrap return klass(obj, *self._args, **self._kwargs) File "/config/appdaemon/apps/qolsysgw/mqtt/updater.py", line 205, in init super().init(*args, **kwargs) File "/config/appdaemon/apps/qolsysgw/mqtt/updater.py", line 86, in init self._birth_topic = mqtt_plugin_cfg.get('birth_topic') AttributeError: 'NoneType' object has no attribute 'get'

Finally, figured out the issue: my appdaemon wasn't configured correctly.
As a new user of HASS, there's a lot of assumption in the setup of the qolsysgw that assumes you have the appdaemon running and MQTT configured correctly. Maybe a check list in the documentation: "did you check....?" would be useful.

Closing, now working.


Unable to create Scratch Org for salesforce

Hi All,
I am not able to create Scratch Org through VS Code for salesforce as its throwing the below error:

I am not sure where am I Missing.. I have default Org also mapped to the project. Has anyone faced the similar issue before. Kindly help me in getting this resolved. Thanks alot in advance.

Hi @ntotten , Thanks for mapping the issue. Now its resolved by me. I was under impression that the developer orgs are DX enabled, but its not the case. We have to create an another org which is dx enabled and that will help in creating the scratch org.
Link to create DX Enabled Org: https://developer.salesforce.com/promotions/orgs/dx-signup


Getting compilation errors.

on executing ionic serve -l
I am getting below errors:
TypeScript error: /home/adarshdeep/Downloads/ionic2-angularfire-login-master/app/providers/auth/auth.ts(53,9): Error TS2304: Cannot find name 'facebookConnectPlugin'.
TypeScript error: /home/adarshdeep/Downloads/ionic2-angularfire-login-master/app/providers/auth/auth.ts(54,61): Error TS2339: Property 'credential' does not exist on type 'typeof FacebookAuthProvider'.
TypeScript error: /home/adarshdeep/Downloads/ionic2-angularfire-login-master/app/providers/auth/auth.ts(61,7): Error TS2304: Cannot find name 'facebookConnectPlugin'.
TypeScript error: /home/adarshdeep/Downloads/ionic2-angularfire-login-master/app/providers/auth/auth.ts(85,14): Error TS2339: Property 'plugins' does not exist on type 'Window'.
TypeScript error: /home/adarshdeep/Downloads/ionic2-angularfire-login-master/app/providers/auth/auth.ts(93,61): Error TS2339: Property 'credential' does not exist on type 'typeof GoogleAuthProvider'.
TypeScript error: /home/adarshdeep/Downloads/ionic2-angularfire-login-master/app/providers/auth/auth.ts(113,59): Error TS2339: Property 'credential' does not exist on type 'typeof GoogleAuthProvider'.

I have the same errors

+1

The same here

The project has been updated to rc0 version, and fixed theses errors.


Remove Unparser dependency?

@EisenbergEffect suggested to (optionally) cut out the Unparser code from the new Webpack builds because it's debugging stuff that nobody uses. Doing this would spare approx. 2K of minimized code.
The only problematic dependency is in aurelia-validation. After discussing with @jdanyow it appears that Unparser is not used for its features (printing expressions) but as the base Visitor implementation.
So in theory we could cut that dependency. Question is: do we want to do it?

We can remove it from validation- no problem


fix bug: #siphon - should pass the faultPipe

When an error is thrown in any of the handlers - the flow is broken: I don't get to the last fitting, and I don't get to the fault-pipe handler.
I assumed we need to pass the faultPipe handler.
I created this branch online, then cloned it and went to add tests.
Then I saw there are more internal parts that are ignored...
Is it on purpose that it does not pass Pipeworks#pre and Pipeworks#post?
What if the user puts his end-handler with {affinity: sink} ?
we'll get broken the same way...
What if the user tries to measure exec-time using {affinity: hoist} ?
Any comment will be appreciated...

I propose to add Pipeworks#clone(), and that Pipeworks#siphon should use that instead of creating the pipe "manually".
#clone - will create a cloned instance, keeping integrity with all the internal parts.
I did not read all the module, but I get a feeling it will be useful in other places...

let me know how you want to go with it
If you like this proposal - I propose to do it incrementally in a separate PR - I need this change for a start

follow up ;)

Hi, @osher!  I appreciate your persistence here.
Pipeworks#siphon is intended to redirect the flow to a new pipeline.  Sequence and affinity are both important.  If there is no fault pipe associated with the siphoned-to pipeline, then no fault pipe will be executed.  This looks like intended behavior to me.  If I'm missing something, I'm happy to be set straight.  :)  Let me know.

Sorry for the late respone - I was fasting. I'll be online & responsive now.
Anyway - this is puzzling.
I have to make sure I understand correctly.
Assuming a pipe:
   pre:
      - handler1
   pipe:
      - handler 2
      - handler 3
      - handler 4
   post:
      - handler 5
   fault:
      - handle_err

You mean that if I .sihpon(..) it I deliberately get only handlers 2~4?
You mean that I mean to execute handlers 2~4 within the pre, post and fault of the target pipe?
This feels inconsistent with the idea expressed by the api .fit({ affinity }, handler).
The way I understand this API is that this is how I get to construct my pipe, where the affinity is a tool to help me control order of execution by dividing it to general stages, where fittings can be appended dynamically to each of them.
Now true, .fault(..) is another api - which does raises the question why in fact it's not offered as fit({affinity:'fault'},..) , or on the other hand why the other two affinities are not implemented using their own methods - but all in all - it looks like the tools one gets to construct the pipe.
In that sense - I would expect the pre and post handlers to pass through, as well as the error handler.
Assume the example from the readme.
The one that outputs
// getting started
// am i getting hijacked?
// hijacked!
// done-zo

Now consider that instead of console.log('hijacked!'), the pipe was ending with an error.
Assume that the main pipe is the execution of a web-request.
In this case, the main pipe and the web-request - stay hanged, because nothing reports about the error.
I could still be in lack of understanding.
Here is the concrete case: I was trying to add supporting done callback to API implemented using pipeworks, I would appreciate your insight about it:
https://github.com/apigee-127/bagpipes/pull/14/commits/486103544f323149ea5ac4d0f311759a615a32bc

Kevin - hi, here's a follow up - I need your input...

> osher instanceof Persistent
true
> while( !osher.getReplyFrom( kevin ) ) ;
_

Hi, @osher.  Fault Pipes are only used in the context of their pipeline.  It sounds like what you're looking for is a layer above a pipeline to manage multiple pipelines.  There's nothing that prevents a user from setting newPipeline.faultPipe = oldPipeline.faultPipe before calling siphon.  I'd be uncomfortable setting this as the default behavior.  There may be code that depends on the existing behavior.  A siphon call redirects the pipeline context completely, and it may never return.  A siphon call can even happen in the pre flow.  Moving over all pre, post, and fault pipes seems error prone.  Is there a way to accomplish this in bagpipes while keeping the existing functionality in pipeworks?  /cc @theganyo


Support for multi-rows header

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here

Current behavior

No support for multi-rows header (or not documnated)
Expected behavior

The docs doesn't specify this.
I would like some of the the table spread on multiple rows(see image) and still allow sorting, filtering etc.
Maybe it's already supported (just not documanted)
See my stackoverflow question on this topic

Please tell us about your environment:

Linux ubuntu, webstorm

Table version: 0.7.x

6.0.2

Angular version: 2.0.x

2.4.1

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

chrome 56

Language: [all | TypeScript X.X | ES6/7 | ES5]
TypeScript

@amcdnl seems like this request already exist with a different (lower) priority.

It would be awsome

I am also wondering how would you add something like row-detail but in to header so I can expand that and apply filtering options e.g http://www.morevisibility.com/blogs/analytics/wp-content/uploads/2009/11/filters02.jpg

HI,
Thanks for your nice work and library.
I have need create one data table with 2 headers (sortable) per column.
Are you an idea for how to make this ?
Thanks in advance.

Closing this as dupe. Lets move the convo to the issue mentioned above.

This could be helpful #1665


Add timeout error for rest discovery

The dynamic client uses the default timeout of 10 seconds using context cancellation. If the API doesn't respond in that amount of time, a DeadlineExceeded error is returned. I am handling that error and returning a new error indicating the timeout so consumers can handle it more cleanly without leaking the abstraction of the context.DeadlineExceeded error.
Checklist

[x] Update changelog in CHANGELOG.md.

@giantswarm/sig-operator Please take a look as this affects all operators.


qmake does not work when qtlocation failed by ArchiveConnectionError during installation process

Finished installation of d3dcompiler_47-x64.7z in 1.21278810
Finished installation of qtbase-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z in 8.40442290
Caught ArchiveConnectionError, terminating installer workers
Failure to connect to https://download.qt.io/online/qtsdkrepository/windows_x86/desktop/qt5_5152/qt.qt5.5152.win64_msvc2019_64/5.15.2-0-202011130602qtlocation-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z.sha1: ReadTimeout

aqtinstall(aqt) v2.0.5 on Python 3.7.9 [CPython MSC v.1900 64 bit (AMD64)]
this command used - https://github.com/martinrotter/rssguard/blob/master/resources/scripts/github-actions/build-windows.ps1#L47

It seems it fails to download some packages, also, I am now seeing this error when trying to use "qmake":
Error: Qt license file was not found!
Project ERROR: License check failed! Giving up ...

Try repeating the aqt install-qt command. That’s an HTTP error, it just means aqt failed to communicate with the server. This is normal.

It's really hard to debug this without a stack trace. @martinrotter, could you provide complete program output, as requested by our issue template?
I am guessing here, but I think the root cause of this is this line:
https://github.com/miurahr/aqtinstall/blob/2f328bde8abe9da9521f616bc597671e7903f8fd/aqt/installer.py#L1023
The getUrl call above is asking for a .sha1 hash file. I think that what's happening here is that getUrl is calling requests.get, which raises requests.exceptions.Timeout, which gets wrapped up as an ArchiveConnectionError.
https://github.com/miurahr/aqtinstall/blob/2f328bde8abe9da9521f616bc597671e7903f8fd/aqt/helper.py#L52-L60
I'm not sure about this, but to me it looks like the call to requests.get is not being retried. @miurahr, is line 60 supposed to be session.get?
- r = requests.get(url, allow_redirects=False, timeout=timeout)
+ r = session.get(url, allow_redirects=False, timeout=timeout)

If the requests.get call discussed above in https://github.com/miurahr/aqtinstall/issues/472#issuecomment-1009564566 is not being retried, then I think that this is a bug that needs to be fixed.
In either case, I think it would probably be worthwhile to improve the error message for ArchiveConnectionError. I think the error message should make it clear that installation has failed because of an HTTP/network error, and give the user some clue as to what to do next.

@ddalcino  oh, you catch the point.

I'm not sure about this, but to me it looks like the call to requests.get is not being retried. @miurahr, is line 60 supposed to be session.get?

Yes, it should be sesshon.get

No, the issue went away. File is not 404 anymore. The error message/severity should/could be enhance tho.

Sometimes Qt download server can be overloaded and caused delay or timeout for some connection.
@ddalcino said that we designs aqtinstall to retry when getting error, but the behavior reported here looks  no retry.

#473 try to change

I'm not sure about this, but to me it looks like the call to requests.get is not being retried. @miurahr, is line 60 supposed to be session.get?

I'd like to close here, I merged improvement into master.
@martinrotter if you get a same error again, please reopen here.


unable to install sample app

gradle :sample:installDebug

What went wrong:
Task 'installDebug' not found in project ':sample'.

in proguard-rules.pro ,you have to add this :  -dontwarn com.loopj.android.http.**

Same issue and no proguard-rules.pro found in the project


feat: propagate cart client id

Depends on https://github.com/pagopa/pagopa-infra/pull/2360

List of Changes

Intercept client id from cart redirect api call clientId query parameter
propagate x-client-id-from-client header to POST transactions api call

Motivation and Context
Those modifications are needed in order to discriminate cart api call client (such as WISP and EC redirect ones)

How Has This Been Tested?
Local tests using checkout-be-mock

Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

This PR require an update of the "Cookie policy" stuffs


[2024a] sync release-2024a from opendatahub-io:2024a

sync release-2024a from opendatahub-io:2024a
this covers all the commits from opendatahub-io:2024a
Fixes: #338
created with following commands:
git checkout release-2024a
git checkout -b rsync-2024a
git remote add upstream <opendatahub-io/notebooks>
git pull upstream 2024a --no-rebase

Merging this PR to get the builds ready
as this pr is in conflicts https://github.com/red-hat-data-services/notebooks/pull/338


HHH-10526 - Fix SchemaMigrator does not apply SchemaFilter on foreignkeys

https://hibernate.atlassian.net/browse/HHH-10526

applied to 5.1 and master


Limit number of messages in consumer

I am using consumer with following settings

var Kafka = require('no-kafka');
var Promise = require('bluebird');
var consumer = new Kafka.GroupConsumer();

var dataHandler = function (messageSet, topic, partition) {
    console.log(messageSet.length)
    return Promise.each(messageSet, function (m){
        // console.log(topic, partition, m.offset, m.message.value.toString('utf8'));
        // commit offset
        var value = m.message.value.toString('utf8');
        // console.log(value);
        return consumer.commitOffset({topic: topic, partition: partition, offset: m.offset, metadata: 'optional'});
    });
};

var strategies = [{
    strategy: 'TestStrategy',
    subscriptions: ['kafka-test-topic'],
    fn: Kafka.RoundRobinAssignment,
    maxBytes: 1024 * 1,
    handler: dataHandler
}];

consumer.init(strategies);

I haven't started consumer
Produced lot of data in kafka producer.
When I started a consumer, I have observed a messageSet of length = totalLength/3 (As total partitions are 3).
As maxBytes setting has been provided. Shouldn't case be where size of each messageSet contain a maximum size of maxBytes?

My Bad I am giving options at wrong place


remove item generation

@dorner Does this look right?
I am skipping based on the seed_items: false tag. But I ended up having to use an ENV var in one place.

Yes, this looks great! I'd try to limit the unrelated changes because this is already a really beefy PR.

This is just a really early draft. But what do you think is the best way to break it up?
I was thinking:

PR with setup -> stuff to enable the flags + modifications to factories if needed
1 PR per X amount of spec files (I was thinking maybe 5-8?)

I was also replacing some some validations and adding association tests with shoulda matchers, which is what I assume you mean by unrelated changes. It made sense to me to "spruce" up the specs and I would open a seperate PR for those changes.
That said. How do you feel about replacing some of those validations with shoulda matchers? I know a lot of people are kind of against them.

I think the way you want to break it makes a lot of sense - let's make it 10 specs as a nice round number and so we don't have dozens of PRs 😄

Finally done! Kudos on a very long and tedious project - I am super happy with the changes! 🎉


Issue on updating plugin

Hi!
I'm having the following error when updating the plugin: fish: Unknown command: __kubectl.reset.
Is there any solution? Tried installing and uninstalling (with fisher) and did not find any solution.

Hi! Nop, I just don't have to use it anymore and I was cleaning my inbox 😄


This should not result in a BadRequest response.

This should not result in a BadRequest response.
A BadRequest indicates that something is wrong at the client-level; something is wrong with the request object.  This is not the case when you have no inventory left.
A NotAllowed statuscode might be more appropriate although I'm not convinced of it either.
_Originally posted by @fgheysels

on v1/CustomizationController.cs
            if (customization.InventoryLevel <= 0)
            {
                return BadRequest();
            }

405 "Method Not Allowed" to be used when a HTTP method is not allowed for a specific resource
Few alternatives to 400:

409 Conflict. The request cannot be processed because there is a conflict with the current state of the resource.
404 NotFound. The resource (in this case out of stock) is not there anymore but it might be available in the future

I think that, for the case where you cannot sell a car because there is no inventory, a 409 statuscode would be appropriate


Add directory purger before fixtures run

without purging catalog with invoices, we get an error of duplicated invoices while fixtures run

Thank you, Adam! :tada:

@GSadee release when? 😜

Hi @kkevindev, I hope I will tag the new version even today 🤞🏻


Error in util.py

Hi, thanks for sharing your code. It is a great job. But I meet some errors when I try this script.

ValueError                                Traceback (most recent call last)
 in ()
422
423             mAP_ = util.MAPs(MAP_R)
--> 424             mAP_val = mAP_.get_mAPs_by_feature(db, test)
425             lib.plot.plot("mAP_feature", mAP_val)
426
/home/zoe/deeplearning/HashGAN/util.pyc in get_mAPs_by_feature(self, database, query)
135             rel = np.sum(imatch)
136             Lx = np.cumsum(imatch)
--> 137             Px = Lx.astype(float) / np.arange(1, self.R + 1, 1)
138             if rel != 0:
139                 APx.append(np.sum(Px * imatch) / rel)
ValueError: operands could not be broadcast together with shapes (53952,) (54000,)
So what should I do to get this net worked？Thanks！

Solved!


Update to Iris version 12 and go 1.13

Hello @sigsevneo and @rhcarvalho, great job here.
Iris has been updated to version 12.0.1 which requires a new semantic import path. Read here for more. This PR updates the code base to be compatible with Iris v12.0.1 and support go modules with go1.13. It builds successfully (go 1.13).

Recommendation
Please rename your ./example directory to ./_examples and use a different go.mod and go.sum files for each of the web frameworks provided there, this way your library will not depend on unnecessary third-parties as _ prefix can be go-skipped.
Thanks,
Gerasimos Maropoulos. Author of the Iris Web Framework.

Hi @kataras! Thanks for the PR and for the recommendation!
I've opened #79 to discuss/track your recommendation independent of this change.

Merged manually https://github.com/getsentry/sentry-go/commit/749cdcc8e1479d1338b3d77cc4dd0e2169389851
Thanks, I'll definitely use this recommendation. Cheers!

Updated docs.sentry.io as well - https://github.com/getsentry/sentry-docs/pull/1346