TextField resize issue

I have a TextField inside a stacked scafold (the outer one contains a bottombar and the inner one a tabbar with a pageView below it containing the textfield), I've had to set resizeToAvoidBottomPadding: false in order to keep the textfield from disappearing when the keyboard pops-up.
I need to have the textfield occupy the whole available pageview's area, which I can accomplish visually with maxLines = null and InputDecoration.collapsed, The issue that I have (might be related to the scafold flag) is that when the keyboard pops-up, the textview does not resize, so the keyboard appears over what you're writing.
I tried Enveloping the Textfield in a container with a BoxConstraints.loose and that allows me to limit it's height, but then it never spans the rest of the pageview.
What's the correct way to have the TextField occupy the whole pageView and have it resize when the keyboard pops-up? is the container approach the appropriate one? Maybe there's a way to change the boxContraints when the keyboard pops-up, although that seems a lot of work.

fixed it wrapping with an expanded instead of a container, but the question remains, shouldn't the resize be automatic?

To adjust the width, you could wrap your TextField with a Container widget, like so:
new Container(
width: 100.0,
child: new TextField()
)
Find Full Code At Here


[core] Delete gdrive files with old ID upon upsertion

Description

Part of https://github.com/dust-tt/dust/issues/9069
This PR prepares work on the Google Drive connector where the prefix gdrive- will not be added to document IDs anymore.
It removes the document found with the old ID (the one with the prefix) before upserting if found.

Risk

Low, scoped to Google Drive, should not have any impact for the moment.

Deploy Plan

Deploy core.

Issue with the hashes used for GCS and QDrant that involve the document_id: migrating these ultimately seems more expensive than migrating the parents


[WIP] Adding support for aws-json for SQS

This is an active WIP, but I can confirm Send/Receive are at least working :)
Please feel free to help me finish the transformation as the new AWS SDK versions only use the new JSON based SQS protocol so without adding support finished this library will require users to pin to very old versions of the SDK.
The goal here was to avoid refactors to any existing logic, but instead intercept the request or response and change the parsing logic to support both JSON and XML form based requests.

@mancej This looks awesome, thank you for working on this!  I CC'd you over here - https://github.com/Admiral-Piett/goaws/pull/285#pullrequestreview-1811381187 on the other PR around this that I think you noticed.  Some of the topics will be related I think.  I will try to keep the discussion over there for now, just for sanity.  😄  Thanks again for the support on this!

Working on this in an alternate feature branch


Minor Fix for the Issues #43, #49, #52, #53

Fixes lastWindow not initialized error,

causes data variable to always stay empty.
with this fix, people can finally start to receive emails with keylogged content

Let me know if you need any changes to this as well :)

Ahi


The blobs annotation in manifest should be deprecated

Reference: https://github.com/containerd/nydus-snapshotter/issues/5

Can we have a replacement that still enables us to get the blob list statically? It is a bit heavy to run nydusd just to get the blob list. I understand that nydus-snapshotter can do it via nydusd, I'm more thinking about static analysis of nydus images.

An alternative is to use the static inspect tool, for example:
$ nydus-image inspect --bootstrap ~/bootstrap -R blobs
[{"blob_id":"x","compressed_size":0,"decompressed_size":0,"readahead_offset":0,"readahead_size":0}]

I have an idea, maybe we can add another blob layer xxx, it contains annotation "containerd.io/snapshot/nydus-blob-ids=true". When create container, snapshot find nydus meta layer and blob_ids layer in the meantime
in func findNydusMetaLayer so as to reduse find overhead.

@luodw The blob layer should exist on manifest if using the registry as blob storage backend, so the blobs annotation is mainly used on referencing the blobs stored on another storage backend (for example oss).

we

@imeoer I known, I mean we can add blob ids_list layer to manifest just like meta layer.  So it can also download from storage backend and unpack.

@luodw Ok, I see your point, but I don't think it's necessary to have the blob list as a layer entity, if we do that, the snapshotter needs to handle it additionally, which would be a more complicated change for nydus format.

@imeoer  Shall we close this now since the label has been dropped from nydus image and related PR has been merged

@changweige Ok, thanks for solving the issue.


Investigate using custom mdbook preprocessor to generate forc command documentation

This section in the mdbook docs about writing custom preprocessors looks really interesting:
https://rust-lang.github.io/mdBook/for_developers/preprocessors.html
I wonder if we could take advantage of this to build the forc command and plugin documentation at mdbook build time rather than using forc-documenter to regenerate and replace all the text separately?
If we can work out how to include the command content at mdbook build time, we could also remove the whole forc-documenter CI check and save on some diff noise related to keeping the forc command docs up to date.
cc @binggh it could be worth investigating this before diving deeper into more forc-documenter issues in case we can come up with a solution that removes the need for forc-documenter altogether? Edit: Or alternatively forc-documenter could be refactored toward being a mdbook preprocessor plugin?

think it looks to be possible to use a preprocessor, but we would probably still have to rely on a huge part of the current forc-documenter script since we would have to call forc --help (unless we parse the Rust source files directly). Refactoring the script into a preprocessor plugin would definitely make sense.

If we can work out how to include the command content at mdbook build time, we could also remove the whole forc-documenter CI check and save on some diff noise related to keeping the forc command docs up to date.

By this, do you mean to automatically build the book based on changes to the commands, instead of making the developer responsible for manually changing it?

but we would probably still have to rely on a huge part of the current forc-documenter script since we would have to call forc --help

Sounds good, that makes sense to me!

By this, do you mean to automatically build the book based on changes to the commands, instead of making the developer responsible for manually changing it?

Yes! Just to clarify, what I mean is that, because the documentation for all commands would be generated automatically at mdbook build time, there would be nothing to be checked at CI time. We would know that the book will always be up-to-date, as the book gets built (via mdbook build) and published during CI. Does that make sense?

Ah yeah, I see what you mean now, that definitely makes sense - allows us to shave off a CI job and will probably improve dev productivity (no need to manually check docs now), i will prioritise this

Going to assign myself this - actively working on it


Get-NAVDataUpgrade has state "Completed" when the Upgrade is finished

In task 13, you give instructions to update the Application Version Information and synchronize it. You also give information that you have to wait until Get-NAVDataUpgrade returns State = Operational This will never happen because the State seems to get set to "Completed" at least for BC20. See my result for reference:
ExtensionData             : System.Runtime.Serialization.ExtensionDataObject
TenantId                  : default
TotalFunctionCount        : 12
ExecutedFunctions         : 12
UpgradeExecutionMode      : UsingParallelOrSerialTransaction
Progress                  : 100.00 %
Details                   : {}
Errors                    :
ExecutionDetails          : {BASE, BASE, BASE, BASE...}
ExecutionErrors           :
State                     : Completed
NumericProgress           : 1
IsTenantInExclusiveAccess : False

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

ID: f8b81664-172f-fdaf-90d4-222624e4a6a9
Version Independent ID: f8b81664-172f-fdaf-90d4-222624e4a6a9
Content: Upgrading Version 15, 16, 17, or 18 Base Application to Version 20 - Business Central
Content Source: dev-itpro/upgrade/upgrade-unmodified-application-to-v20.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

We've corrected the article as suggested. It will be published soon. Thanks for the feedback!


Roll Flutter Engine from 2cba062f9f4c to ae44d6f64b13 (1 revision)

https://github.com/flutter/engine/compare/2cba062f9f4c...ae44d6f64b13
2023-02-12<EMAIL_ADDRESS>Roll Dart SDK from b1836aacc08a to c4255cea566a (1 revision) (flutter/engine#39568)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Add TestCaseSizing to demonstrate issue with querying Size after call to Add

Not for merging.
Demonstrates an issue where
testContainer.Add(child);
var size = child.Size;

size ends up being a nonsense value in this scenario.
Go to "TestCaseSizing" and select the "Weird edge case" test-case, then look at the console window where the size value gets tracked.
Example output:
[runtime:verbose] 27.08.2018 06:24:50: Entity-Size before add = (0; 0)
[runtime:verbose] 27.08.2018 06:24:50: Entity-Size after add = (1662,783; 818)
[runtime:verbose] 27.08.2018 06:24:50: Entity-Size 1 frame after add = (62,40002; 20,00006)
[runtime:verbose] 27.08.2018 06:24:50: Entity-Size 2 frames after add = (62,40002; 20,00006)

entity.DrawInfo isn't updated after it is added to map and its DrawInfo.Matrix is an identity matrix while parent (map)'s DrawInfo.MatrixInverse is an other value thus the weird value appears.

Resolved by the referencing PR.


unaccent does not work for all character families

For example, Hebrew characters are omitted.
Also, Greek alpha is stripped when it should not

Full redesign of unaccent functionality needed

[ ] obtain list of all Unicode combining characters
[ ] normalize all words into splitting combining characters from normal ones
[ ] delete all combining characters in scope (only some for Greek, ensure Hebrew etc. characters are included) using unaccent customized rule

For Greek, combining characters are the same used in other languages, so they cannot be removed. As an alternative, provide the list of Greek characters and their equivalents.
https://en.wiktionary.org/wiki/ἐτυμολογία#Ancient_Greek
ἐ should stay ἐ but ῠ should be unaccented to υ

solved in #39


Stack traces for exceptions inside getInitialProps() show babel internals

Bug report
Describe the bug
When an exception is thrown inside a page's getInitialProps() the stack trace shows internal Babel regenerator-runtime code instead of recognisable app code. This make it hard to debug.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Throw an Error inside getInitialProps()
See stack-trace like above.

Expected behavior
A stack trace that shows library and application code only, not transpiled code.
Screenshots

System information

Version of Next.js: 6.1.1

Duplicate of #4613, please try next@canary there's been quite some improvements on the stacktraces front.


♻  Refactor C# console logs with a custom exception

Is there an existing issue for this?

[X] I have searched the existing issues

Suggestion
There is a wrapping C# project around the C under bindings/netstandard/ElectionGuard. The methods that communicate across the C interface should throw exceptions if the return status code indicates a failure.
These lines are a good example.
https://github.com/microsoft/electionguard-cpp/blob/99788bc9fb76ee2293e9b131965b91b85ba6fee3/bindings/netstandard/ElectionGuard/ElectionGuard.Encryption/NativeInterface.cs#L357-L362
Possible Implementation
The ideal case would be to create a custom Exception that could take the message that is currently logged. This way a logger can easily be made to catch the exceptions and log them.
ElectionGuardException should be a suitable name for now. The status can then be passed in as a parameter.
if (status != Status.ELECTIONGUARD_STATUS_SUCCESS)
{
    throw ElectionGuardException("DisjunctiveChaumPedersenProof Error Free", status);
}
return true;

Anything else?
ElectionGuard.Encryption Project:
https://github.com/microsoft/electionguard-cpp/tree/main/bindings/netstandard/ElectionGuard/ElectionGuard.Encryption

This has been merged into #235


ci(lint): update lint workflow, enable more linter rules, and gofumpt codebase

Yeah, we would likely want to enable revive as well at some point, but that would either require disabling var-naming rule or tuning the allow and deny lists for variable names, as some of the default naming rules conflict with our current interfaces.


Update CHANGELOG.md

Add comment relative to helm-spray update

closing this one as covered by https://github.com/gemalto/gokube/pull/14


SQL Server - Constraint is tried to be dropped when removing composite unique fields declaration

Bug description
When a multi-column unique constraint declaration is removed prisma migrate creates an incorrect migration.
Unique constraint is handled by creating an index in SQL Server:
-- CreateIndex
CREATE UNIQUE INDEX [Answer_questionId_companyId_key] ON [dbo].[Answer]([questionId], [companyId]);

However, after removing it from the schema file, Prisma tries to remove a constraint on the db level.
-- DropIndex
ALTER TABLE [dbo].[Answer] DROP CONSTRAINT [Answer_questionId_companyId_key];

How to reproduce

Remove a multi-column unique constraint
Run npx prisma migrate dev --create-only

Expected behavior
-- DropIndex
DROP Index [Answer_questionId_companyId_key] ON [dbo].[Answer];

Prisma information

model Answer {
  ...
  // ====== References ======
  question    Question    @relation(fields: [questionId], references: [id], onDelete: NoAction, onUpdate: NoAction)
  company     Company     @relation(fields: [companyId], references: [id], onDelete: NoAction, onUpdate: NoAction)
  ...
  // ====== Reference IDs ======
  questionId    String
  companyId     String
  ...
  // @@unique([questionId, companyId])
}

Environment & setup

OS: Ubuntu 20.04
Database: SQL Server
Node.js version: v16.16.0

Prisma Version
3.11.0

But also happy to report that with a recent version 5.14.0 we fixed this already along the way!
init
BEGIN TRY

BEGIN TRAN;

-- CreateTable
CREATE TABLE [dbo].[Answer] (
    [id] NVARCHAR(1000) NOT NULL,
    [questionId] NVARCHAR(1000) NOT NULL,
    [companyId] NVARCHAR(1000) NOT NULL,
    CONSTRAINT [Answer_pkey] PRIMARY KEY CLUSTERED ([id])
);

COMMIT TRAN;

END TRY
BEGIN CATCH

IF @@TRANCOUNT > 0
BEGIN
    ROLLBACK TRAN;
END;
THROW

END CATCH

add
/*
  Warnings:

  - A unique constraint covering the columns `[questionId,companyId]` on the table `Answer` will be added. If there are existing duplicate values, this will fail.

*/
BEGIN TRY

BEGIN TRAN;

-- CreateIndex
ALTER TABLE [dbo].[Answer] ADD CONSTRAINT [Answer_questionId_companyId_key] UNIQUE NONCLUSTERED ([questionId], [companyId]);

COMMIT TRAN;

END TRY
BEGIN CATCH

IF @@TRANCOUNT > 0
BEGIN
    ROLLBACK TRAN;
END;
THROW

END CATCH

remove
BEGIN TRY

BEGIN TRAN;

-- DropIndex
ALTER TABLE [dbo].[Answer] DROP CONSTRAINT [Answer_questionId_companyId_key];

COMMIT TRAN;

END TRY
BEGIN CATCH

IF @@TRANCOUNT > 0
BEGIN
    ROLLBACK TRAN;
END;
THROW

END CATCH


Issues showing table

I get this error when i tried to get the table,
code: 404,
type: 'collection_not_found',
response: {
message: 'Collection with the requested ID could not be found.',
code: 404,
type: 'collection_not_found',
version: '1.5.8'
}
}
An error occurred while getting the account: TypeError: Cannot read properties of undefined (reading 'documents')
at $$ACTION_1 (webpack-internal:///(rsc)/./lib/actions/bank.actions.ts:89:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Home (webpack-internal:///(rsc)/./app/(root)/page.tsx:46:5)
GET /?_rsc=3rnhc 200 in 2810ms

Check in your .env file and make sure ids you coied from the Appwrite for following collections are correct.

APPWRITE_USER_COLLECTION_ID=
APPWRITE_BANK_COLLECTION_ID=
APPWRITE_TRANSACTION_COLLECTION_ID=

I get this error when i tried to get the table,
data: {
display_message: null,
documentation_url: 'https://plaid.com/docs/?ref=error#invalid-input-errors',
error_code: 'ADDITIONAL_CONSENT_REQUIRED',
error_message: 'client does not have user consent to access the PRODUCT_TRANSACTIONS product',
error_type: 'INVALID_INPUT',
request_id: 'szTBiIFqeSZhV2C',
suggested_action: null
}
},
status: 400
}
An error occurred while getting the account: TypeError: transactions is not iterable
at $$ACTION_1 (webpack-internal:///(rsc)/./lib/actions/bank.actions.ts:119:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Home (webpack-internal:///(rsc)/./app/(root)/page.tsx:32:21)


Ubuntu 24.04 tools are not released yet (4.3)

What does this PR change?
Ubuntu 24.04 tools are not released yet (4.3)
Note: this assumes we get devel tools for 4.3 too. This is currently not the case.

Approved. But let's please wait a bit to clarify it with releng, before merging

Raul asked Abid if he should create the missing project.
In the meantime, I will merge. If we won't get the project, I'll hack a symlink as you suggested.


Set max ashift to 4K

Set max auto ashift to 4K. This will ensure ashift is always set to 4K irrespective of the block size supported by the physical device.
Testing done
Compiled.
Tested that parameter is set.
Before fix
(ns: pillar) 5e2b3989-174a-450f-ad73-47b021784f28:/sys/module/zfs/parameters# cat zfs_vdev_min_auto_ashift
12
(ns: pillar) 5e2b3989-174a-450f-ad73-47b021784f28:/sys/module/zfs/parameters# cat zfs_vdev_max_auto_ashift
16
After Fix
5e2b3989-174a-450f-ad73-47b021784f28:/sys/module/zfs/parameters# cat zfs_vdev_min_auto_ashift
12
5e2b3989-174a-450f-ad73-47b021784f28:/sys/module/zfs/parameters# cat zfs_vdev_max_auto_ashift
12

@zedi-pramodh , I would add the PR short explanation (Set max auto ashift to 4K. This will ensure ashift is always set to 4K irrespective of the block size supported by the physical device.) to the commit message as well.

@zedi-pramodh , I would add the PR short explanation (Set max auto ashift to 4K. This will ensure ashift is always set to 4K irrespective of the block size supported by the physical device.) to the commit message as well.

Sure will do. Does that trigger another round of tests ? Just trying to save resources.


Allow binding Callable arguments from an array

Restores 3.x functionality that was removed in the Signal/Callable refactor of 4.0.
Closes https://github.com/godotengine/godot-proposals/issues/6034.
Usage:

new_callable = callable.bindv([arg1,arg2,arg3])

Thanks!


[State Sync] Use optimistic fetch when making waypoint and verifiable ledger info requests.

Motivation
This PR updates state sync to perform optimistic chunk request fetching when processing waypoint and verifiable ledger info responses. This is in contrast to the approach of verifying the chunk response before making the request. As such, it should help to reduce the latency of chunk request/responses in the happy path.
Note: the code currently uses optimistic chunk request fetching when processing waypoint ledger infos. It doesn't do this for verifiable ledger infos (despite there being a code comment which says otherwise.. 😮)
To do this, the PR offers a single commit that updates the code to make the chunk request before verifying the response. Unfortunately, due to the way the code is structured, this is not as simple as just switching the order of a few lines of code -- it requires a small refactor of the way in which chunk requests are created. Nonetheless, the code should hopefully be a little cleaner now that we've removed the code duplication between the response processing paths.
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
All tests pass locally.
Related PRs
This relates to: https://github.com/diem/diem/issues/6795

Sounds good, will do! Thanks @davidiw! 😄
/land


fromTime/toTime should filter out the tracks that don't appear at all in the output

If a track is completely invisible in the specified time region, it shouldn't occupy vertical space.

Good call!


ImportError: cannot import name 'Protocol' from 'typing'

ImportError                               Traceback (most recent call last)
 in ()
14 import seqio
15 import t5
---> 16 import t5x
17
18 from mt3 import metrics_utils
2 frames
/content/t5x/utils.py in ()
26 import time
27 import typing
---> 28 from typing import Any, Callable, Iterable, Mapping, Optional, Sequence, Tuple, Type, Union, Protocol
29 import warnings
30
ImportError: cannot import name 'Protocol' from 'typing' (/usr/lib/python3.7/typing.py)

NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
When I run Imports and Definitions  It always  show that.
How can I solve it!

Some of mt3's dependencies use python 3.8 which isn't yet available in colab.  As a temporary fix #48 pins them to an earlier version.


Field 382 subfield a and b

Field 382 (Medium of performance) has subfield a for Medium of performance and subfield b for Soloist.  In MARC records, subfield coding identifies Medium of performance vs. Soloist, but this is not true in the current version of the conversion program.  Since terms are drawn from the same vocabulary, one cannot tell the two functions apart.  For example, in this 382 the horn is the solo instrument not the piano.
382 01 $b horn $n 1 $a piano $n 1 $s 2 $2 lcmpt
 bf:musicMedium [ a bf:MusicMedium ;
        rdfs:label "horn" ;
        bf:count "1" ;
        bf:source [ a bf:Source ;
                rdfs:label "lcmpt" ] ],

    [ a bf:MusicMedium ;
        rdfs:label "piano" ;
        bf:source [ a bf:Source ;
                rdfs:label "lcmpt" ] ] .

The mechanism of bf:status used for Doubling and Alternative medium of performance could be used for subfields a and b.  From the point of view of machine processing, the presence of a data element is preferable to inferring a function based on the absence of a data element.
 bf:musicMedium [ a bf:MusicMedium ;
        rdfs:label "horn" ;
        bf:count "1" ;
        bf:status [ a bf:Status ;
                rdfs:label "soloist" ] ;
        bf:source [ a bf:Source ;
                rdfs:label "lcmpt" ] ],

    [ a bf:MusicMedium ;
        rdfs:label "piano" ;
        bf:status [ a bf:Status ;
                rdfs:label "medium of performance" ] ;
        bf:source [ a bf:Source ;
                rdfs:label "lcmpt" ] ] .

instead of bf:status, should the spec use the already-defined bf:instrumentalType?

It sounds like a good idea, but there is a problem due to the way the property is currently defined:   bf:instrumentalType cannot take the place of bf:status directly because it is used with MusicInstrument, not MusicMedium.  To use instrumentalType, you have to do this:
382 01 $b horn $n 1 $a piano $n 1 $s 2 $2 lcmpt
Ex:someWork
 bf:musicMedium [ a bf:MusicMedium ;
    rdfs:label "horn" ;
    bf:count "1" ;
    bf:source [ a bf:Source ;
            rdfs:label "lcmpt" ] ],

[ a bf:MusicMedium ;
    rdfs:label "piano" ;
    bf:count "1" ;
    bf:source [ a bf:Source ;
            rdfs:label "lcmpt" ] ] ;

bf:instrument [ a bf:MusicInstrument ;
    rdfs:label “horn” ;
    bf:instrumentalType “soloist” ],

[ a bf:MusicInstrument ;
    rdfs:label “piano” ;
    bf:instrumentalType “medium of performance” ] .

Computationally, this is not great because you must do string matching on the labels in MusicMedium and MusicInstrument to pull all of the information together.
Additionally, this type of data structure does not deal well with complexities, in particular doubling instruments.  For example, in
382 __ |a soprano |n 1 |a flute |n 1 |d piccolo |n 1 |a clarinet |n 1 |d bass clarinet |n 1 |a cello |n 1 |a piano |n 1 |s 5 |2 lcmpt   (OCLC #93634076)
you can't readily encode that the piccolo doubles the flute and the bass clarinet doubles the clarinet.  This is obvious to humans trained in music but is not machine actionable.
To me it seems preferable to put all information about performance medium in MusicMedium so that associated characteristics can be more closely linked.  The options are to continue using bfstatus or to introduce a property similar to instrumentalType that uses MusicMedium.

The specs have been revised to change the wording. Further adjustments may occur in the future if the PMO terms are used.


Shooting The G-launcher Crashes Game, Period! (RE2)

Seed: R520-HUNK-ZTV85LZLL641

Already fixed in dev. builds

I Just Figured Out that it Does It When You Are playing with the Hunk Skin. Anyway, Happy To Know That It's Fixed And I Can't Wait For Updated Build. Cheers!!!


Integration with angular2 project

Hello,
I'm trying to integrate angular2-schema-form in an angular2 project. It worked well until I fetched the latest commit ("Apply new project base from change-project-base").  The demo runs OK.
The error is :

Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:3000/node_modules/angular2-schema-form/dist/schema-form/model.js
patchProperty/desc.set/wrapFn@http://localhost:3000/node_modules/zone.js/dist/zone.js:889:26 []
Zone.prototype.runTask@http://localhost:3000/node_modules/zone.js/dist/zone.js:151:28 [ => ]
ZoneTask/this.invoke@http://localhost:3000/node_modules/zone.js/dist/zone.js:345:28 []
Error loading http://localhost:3000/node_modules/angular2-schema-form/dist/schema-form/model.js as "./model" from http://localhost:3000/node_modules/angular2-schema-form/dist/schema-form/form.component.js

As you can see, I'm using SystemJS.
Do you have any idea that could help ?
Thank you,

Never mind. I switched to the last version and webpack and it works.


Fix race condition when adding a cell to an empty notebook model

Fixes #652.
I used requestAnimationFrame because having at least one cell is a user-facing issue and not programmatically required.

@aggFTW can you try this PR to confirm it addresses your issue?

The code looks good to me. We'll have to be careful about these issues going forward.

It might make sense to build an easy way in Phosphor to know if a signal is being recursively triggered. @sccolbert? In this situation, we ran into a problem when we triggered a signal inside the signal handler for that signal, so the inner signal came to previous handlers after and subsequent handlers before the outer signal did (even though it was temporally triggered later).

I replicated @aggFTW's issue (replacing the examples/notebook nb with the one they provided) based on their instructions in #652, and confirmed that this fixed the issue. @aggFTW - please let us know if you still are having issues with this.

Thanks for the work @jasongrout and @blink1073!
Verified and it works now.
Would another valid approach have been to not add a cell if empty inside the _onCellsChanged method and simply check at the very end of deleteCell and at the end of fromJSON?

We don't necessarily know the source of the change, cutting all of the cells would have the same effect.

I see... Thanks!

hmmm...so cutting all the cells and immediately pasting them will also introduce an extra cell? That's a bit weird, but I guess it's what we can easily support now.


Override Bootstrap classes in Bootstrap widgets

I have a NavBar and I want to override all the classes that Yii is putting on that widget. After searching inn Google and reading the docs, I found that this code:
Yii::$container->set('yii\bootstrap\NavBar', [
    'containerOptions' => [
        'class' => ''
    ]
]);

NavBar::begin([
    'containerOptions' => [
        'class' => 'no-horizontal-padding navbar-content'
    ]
]);

is supposed to override (delete, actually) all classes in the container of my NavBar, but this is not the case. I keep seeing my 2 classes and the default NavBar classes.
How can I remove those classes and keep only mine?
Please refrain any hacky solutions like removing the classes with JS on the client side. I'm looking for a proper way of doing this.

            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#w0-collapse">
                Toggle navigation

            </button>

the reason for this behavior is this code: https://github.com/yiisoft/yii2-bootstrap/blob/master/NavBar.php#L97
It assumes that there is no use case where you would not want the class navbar on the element. Why do you want to remove it?

@cebe Because it's setting a class that it's setting a display: block;, but I want a display: flex;.
I tried using !important in my class, but it's not working because (I'm guessing) bootstrap classes take precedence. Anyways, even if it did worked, I wouldn't be happy about using !important all over my code just because I can't remove the classes Yii is imposing on widgets.

Just to make my point clear: I'm not asking to remove all classes, but just the classes from the containerOptions part of the NavBar, that is, the
set(class, array()) works?

I am not sure I really understood the issue yet.
        NavBar::begin([
            'containerOptions' => [
                'class' => 'no-horizontal-padding navbar-content'
            ]
        ]);

prints the following HTML:

<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#w0-collapse">Toggle navigation

</button>

The classes collapse navbar-collapse are added because this ensures the navbar gets collapsed on small screens. Without these your navbar stays open (all menu items visible) on a small screen.
I think it is better to solve this with css. The following rule should work in your case:
.navbar-collapse.collapse {
    display: flex !important;
}

@cebe Sorry for the late reply, I had some technical difficulties.
There are 2 main problems here.
The first one is that I actually don't want those classes on my HTML code because, as I said, bootstrap is somehow (can't say why) taking precedence over my classes and the rules in my classes aren't working (not even with !important). Go and try, you'll see that the display rule actually isn't applied because bootstrap has it's own rule (which also has an !important flag).
The second one: Even if !important worked (which it doesn't), I wouldn't like to be forced to use !important all over my  CSS code just because I can't remove some classes that I don't need anyways.

@cebe Hi! Did you have time to test this?

@cebe If you want me, I can setup a simple demo in a repo so you can clone it and see what I'm talking about.

please do, in the example i tried with the basic app, the !important override worked just fine.

@cebe Done! https://github.com/alexandernst/tmp_yii_8229
You'll see this is just a basic app template. The only thing I added is the testclass to the navbar (check site.css and the layout).
I set the testclassto display: flex !important, but it gets overriden by Bootstrap's classes.

@cebe Could you see the bug I was talking about? Do you know what is causing it?

Closing as @klimov-paul just merged #8458 :)

Resolved by https://github.com/yiisoft/yii2-bootstrap/pull/52


chore: project addition by srujana-16

Related Issue
Close #1523

Description

In this project, an automatic obstacle detecting car was made. The car uses ultrasonic sensors to detect obstacles and avoid them. Color sensor is used to start and stop the car. An algorithm for the navigation of the car was created and implemented on the Arduino.
Screenshots

Checklist for projects addition

[x] My project has contribution guidelines.
[x] My project has a Code of Conduct.
[x] My project has a README file.
[x] My project has a License.

Please note that if your project doesn't meet these requirements, your PR may be closed. Make sure to include these elements in your project before submitting the PR.

Please add it as part of GSSOC'23

Please add it as part of GSSOC'23

Please add it as part of GSSOC'23

previously we've added but currently, We are not providing any labels for project additions as they are not associated with solving any issues.


Add linters to enforce separation between production and test-only crates

@rexhoffman found an issue with the fuzzing linter #3906 -- it turned out that we weren't considering that crate because it wasn't included in the default build.
Add a bunch of linters to ensure that:

we have a set of "production crates", which are exactly the set of crates that form publishable artifacts
everything else is a test-only crate.

:umbrella: The latest upstream changes (presumably<PHONE_NUMBER>21b3ef47c6bab6c7bdedbce9c3ce7d) made this pull request unmergeable. Please resolve the merge conflicts.

TODO before landing: instead of saying that the test-only list isn't canonical, print out a warning explaining what to do.

:umbrella: The latest upstream changes (presumably 54308daf32801535c54e997e0ab45706d9d98325) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-libra r=bmwill

:pushpin: Commit cccf36f has been approved by bmwill

:hourglass: Testing commit cccf36fc26d6819a1292a2d377a0021b5f408154 with merge<PHONE_NUMBER>541962ea2087d98b38fbffcaf9ff90...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: bmwill
Pushing<PHONE_NUMBER>541962ea2087d98b38fbffcaf9ff90 to master...


Is it possible to move control pannel up in the right?

Hi @gauravgandhi1315. We are considing expose all components in graphic walker (pygwalker's core) and allow developers to customize the interface by themself.
But it is now with high prioirty now for we don't get much feedback about it from community yet. Cloud you please share more about your use cases, why you want to move it and how you are going to customize the UI. It will help us design graphic walker better and make the release faster.
Thanks


Remove not-indexed calldata-dependent fields from events for better gas optimization

What's wrong

We recommend remove not-indexed calldata-dependent fields from events for better gas optimization.

For example, the public key here doesn't need to be logged. https://github.com/thehubbleproject/hubble-contracts/blob/4ff3955f3faea7e61593d05a24fb8fd70ca7095f/contracts/BLSAccountRegistry.sol#L13
How can we fix it
Review and redesign events for single and batch registration.

closed by #489


Unique Page or Document ID

Describe the feature you'd like
When you set a link to a page from n external location to bookstack and than you relocate the page in bookstack to somewhere, than the linkt will Not Work anymore. In case of unique ID, you would always get a result till page is not removed.
Describe the benefits this would bring to existing BookStack users
Document IDs help you manage your documents by providing an easy way to track items regardless of their location.
Can the goal of this request already be achieved via other means?
No
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?
3 months to 1 year
Additional context
No response

Hi @asaglam76,
If you'd like an ID-based link you can follow this guidance from our docs:
https://www.bookstackapp.com/docs/user/content-permalinks/

Since there's been no further follow-up to the suggestion above, I'll go ahead and close this off.


Increment versions for automanage releases

Increment package versions for automanage releases

API change check
API changes are not detected in this pull request.


[Python][Parquet] Repeated access to dataset loaded from encrypted Parquet causes Python panic/exit

Describe the bug, including details regarding any error messages, version, and platform.
pyarrow 15.0.2 (Linux and Windows, Python 3.11 and 3.12)
Running the demo at python/examples/dataset/write_dataset_encrypted.py
If I run the demo as-is, it runs successfully.
If I modify the demo to repeat the print at the end (call another print), Python panic-exits with a seg fault.
print(dataset.to_table()) #prints OK
print(dataset.to_table()) #segfault

Reloading the dataset results does reset the system
print(dataset.to_table()) #prints OK
dataset = ds.dataset('sample_dataset', format=pformat)
print(dataset.to_table()) #prints OK
print(dataset.to_table()) #segfault

Not sure why a second .to_table operation on the dataset would cause this.
Component(s)
Parquet, Python

Seems to be resolved in pyarrow 17.0.0


Powershell [shared] display issues.

Issue Type: Bug
The terminal in my MacOS LiveShare session has weird text diplay issues. I think it might be because the screens are different resolutions? I'm not sure.
My host VS Code LiveShare is running on a Windows 10 dev box, so the shared terminal is a Powershell terminal.
Extension version: 1.0.2000
VS Code version: Code 1.44.0 (2aae1f26c72891c399f860409176fe435a154b13, 2020-04-08T08:23:56.137Z)
OS version: Darwin x64 19.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
2, 3, 3

Memory (System)
16.00GB (0.23GB free)

Process Argv

Screen Reader
no

VM
0%

@halfnibble: thanks for filing this issue!
@IlyaBiryukov: are this display issues known or expected in certain scenarios?

It's expected that the terminal may not take the whole area on the terminal window on your client. The reason is that we have to use the minimum terminal dimensions across all the participants. If your guest has smaller terminal window, you'll see shared terminal only take some part of your VSCode terminal panel. We do this because terminal only has one size, and it cannot exceed the terminal renderer window size on all the participants.
There is already #3143 tracking this by-design issue. I'm going to close this one and resolve it as a dupe.


Added code to run test in parallel.

What this PR does / why we need it:
Added code to run test in parallel.
Also ensured the code cleans up after itself.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
None

/close


Fix string column preprocessing for sample notebook 102

@eedeleon,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Nice catch!  Signed off.

Thanks!
From: Ilya Matiach<EMAIL_ADDRESS>Sent: Friday, September 22, 2017 2:37 PM
To: Azure/mmlspark<EMAIL_ADDRESS>Cc: Eduardo de Leon<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Azure/mmlspark] Fix string column preprocessing for sample notebook 102 (#138)
Nice catch! Signed off.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fmmlspark%2Fpull%2F138%23issuecomment-331527658&data=02|01|eduardo.de%40microsoft.com|b5ae08965ad648353f1e08d501e8e1ab|72f988bf86f141af91ab2d7cd011db47|1|0|636417022084035104&sdata=HOriPOjDQOfH6rdu5jzkfAsGI0bHKKnMsGQpXcvyj2Q%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAee1xLjj1aRzLGc6v1o_-b2WzhfOBy7Fks5sk_4-gaJpZM4PhCJ2&data=02|01|eduardo.de%40microsoft.com|b5ae08965ad648353f1e08d501e8e1ab|72f988bf86f141af91ab2d7cd011db47|1|0|636417022084035104&sdata=NkwyLijyC6%2Fm2pa5W1EfU8pTwCDbiKa3%2FvEtca305Vw%3D&reserved=0.


[Bug]: The user is not able to navigate back to customer portal once after opening the Docs links

Is there an existing issue for this?

[X] I have searched the existing issues

Description
The user is not able to navigate back to customer portal once after opening the Docs links
https://www.loom.com/share/4c1da8be328341da9add2e65e8bb9beb
Steps To Reproduce

go to release-customer portal
Click on other methods
Now Try to go back to customer portal the new docs tab is opened and we are not able to go to customer portal

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
v<IP_ADDRESS>

Fixed by https://github.com/appsmithorg/cloud-services/pull/930


Screen size for mobile

On mobile browsers the table extends beyond the page boundaries and ruins the viewport width.

In the screenshot I did zoom out, the page starts zoomed in initially.
Would be better if the table scrolled horizontally on mobile displays.

Hi @ravener, thank you for pointing out this issue. I have updated the table to scroll horizontally on smaller screens. Please let me know if this fixes the problem or if anything else needs to be changed.

It's much better now, however all the tables on the page scroll at the same time now, like including the "definitions" and "code files" sections. Thing is those two tables are already sized to fit the screen so it scrolls to a blank area.

Here's anther screenshot to demonstrate, this is after applying some scroll, notice the second table is also scrolling towards a blank area, meanwhile without any scroll they fit the screen and does not require scrolling. (It may or may not require scrolling on different screen sizes? Frontend dev is such a pain)

@ravener Oops haha, yeah I closed the div at the wrong table. I updated it now, I wrapped each table with table-responsive separately, which should mean that the smaller two tables won't scroll at all for mobile, unless more columns get added in the future.

@ebelinski Thanks! It looks perfect now. Closing this now.


No error: False-positive Control Flow with getters

TypeScript Version:  2.0.8
Code
class A {
	public a: number | A;

	public get b(): number | A {
		this.a = new A();
		return this.a;
	}

	public c(): number | A {
		this.a = new A();
		return this.a;
	}
}

const obj = new A();

if (typeof obj.a === 'number') {
	const n = obj.a++;                           // NO ERROR - CORRECT
}

if (typeof obj.b === 'number') {
	const n: number = obj.b;                   // NO ERROR - WRONG
}

if (typeof obj.c() === 'number') {
	const n: number = obj.c();                // ERROR - CORRECT
}

Expected behavior:
Error with obj.b because type of getters results can change after each call.
Actual behavior:
obj.b is false treated as a number.

Hi, though not written in specs, getters are probably treated as plain property access in TypeScript(and therefore side-effect free). There is no way to tell a getter from a property on type level.
So this issue is by design.

This is correct - TypeScript assumes properties don't mutate on their own.

Obviously this assumption is wrong, but you know better what can be and what cannot be implemented in TS.
Taking into account that this is a limitation I hope that sometime we'll have const methods in TS where it will be prohibited to modify state of an object.


pythonPackages.pykdtree: init at 1.3.0

Motivation for this change
pykdtree is a kd-tree implementation for fast nearest neighbour search in Python. The aim is to be the fastest implementation around for common use cases (low dimensions and low number of neighbours) for both tree construction and queries.
Things done

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

[ ] NixOS
[ ] macOS
[X] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build pythonPackages.pykdtree python3Packages.pykdtree

Failure on x86_64-darwin (full log)
Attempted: pythonPackages.pykdtree, python3Packages.pykdtree
Partial log (click to expand)
pykdtree/kdtree.c:529:10: fatal error: 'omp.h' file not found
#include <omp.h>
         ^~~~~~~
1 warning and 1 error generated.
1 warning and 1 error generated.
error: command 'clang' failed with exit status 1
error: command 'clang' failed with exit status 1
builder for '/nix/store/q8ddc3mb723lhfhcrymk2m3pxascziif-python2.7-pykdtree-1.3.0.drv' failed with exit code 1
builder for '/nix/store/hyifzfa4q7jrb2881mgsab4ad34592q4-python3.6-pykdtree-1.3.0.drv' failed with exit code 1
error: build of '/nix/store/hyifzfa4q7jrb2881mgsab4ad34592q4-python3.6-pykdtree-1.3.0.drv', '/nix/store/q8ddc3mb723lhfhcrymk2m3pxascziif-python2.7-pykdtree-1.3.0.drv' failed

Success on x86_64-linux (full log)
Attempted: pythonPackages.pykdtree, python3Packages.pykdtree
Partial log (click to expand)
pykdtree.test_tree.test1d_mask ... ok
pykdtree.test_tree.test1d_all_masked ... ok
pykdtree.test_tree.test3d_mask ... ok

----------------------------------------------------------------------
Ran 14 tests in 0.020s

OK
/nix/store/yl94izcvc6a7i5l72fg9abb40glk3xpp-python2.7-pykdtree-1.3.0
/nix/store/fh6ciy1w81vfjij1flkjp99via4ic324-python3.6-pykdtree-1.3.0

Success on aarch64-linux (full log)
Attempted: pythonPackages.pykdtree, python3Packages.pykdtree
Partial log (click to expand)
pykdtree.test_tree.test1d_mask ... ok
pykdtree.test_tree.test1d_all_masked ... ok
pykdtree.test_tree.test3d_mask ... ok

----------------------------------------------------------------------
Ran 14 tests in 0.084s

OK
/nix/store/izny5w0wwpffbh90xsh0gy5dan56xlsn-python2.7-pykdtree-1.3.0
/nix/store/1k0n3dpwcss755p8p1k221spnhhn2w0p-python3.6-pykdtree-1.3.0

@xeji  Thanks for the review. According to the package documentation we can disable the use of openmp by exporting USE_OMP=0. I was not able to add openmp as build input as it is not under all-packages.nix.

Apparently openmp is in llvmPackages.openmp, so you can add it like this (I didn't check if it really works, just copied from another package):
pykdtree = callPackage ../development/python-modules/pykdtree {
  inherit (llvmPackages) openmp;
};

But disabling it should also be fine, so let's try that first.
@GrahamcOfBorg build  pythonPackages.pykdtree python3Packages.pykdtree

Success on x86_64-linux (full log)
Attempted: pythonPackages.pykdtree, python3Packages.pykdtree
Partial log (click to expand)
pykdtree.test_tree.test1d_mask ... ok
pykdtree.test_tree.test1d_all_masked ... ok
pykdtree.test_tree.test3d_mask ... ok

----------------------------------------------------------------------
Ran 14 tests in 0.011s

OK
/nix/store/c2dkpjykh3nk6dsiimgsy15pm86dwwpd-python2.7-pykdtree-1.3.0
/nix/store/kc5v6dyfwrws9pvy21a5qmpc687757hg-python3.6-pykdtree-1.3.0

Success on aarch64-linux (full log)
Attempted: pythonPackages.pykdtree, python3Packages.pykdtree
Partial log (click to expand)
pykdtree.test_tree.test1d_mask ... ok
pykdtree.test_tree.test1d_all_masked ... ok
pykdtree.test_tree.test3d_mask ... ok

----------------------------------------------------------------------
Ran 14 tests in 0.074s

OK
/nix/store/kazgrm1s9gkd184r17dwhh52mkc4g84h-python2.7-pykdtree-1.3.0
/nix/store/9fpaj3ic7kqfm1dbj2xw3kcwp316sqb9-python3.6-pykdtree-1.3.0

@xeji  Seems like no build was triggered for darwin.

@Assassinkin  it was queued but currently no darwin builder is available (they're run by volunteers and not always up). See https://monitoring.nix.ci/dashboard/db/ofborg?refresh=10s&orgId=1 for status.
So unfortunately we need to wait.

@xeji  Thanks for the explanation didn't know about that. In the mean time i was able to add openmp as build input by passing it as follow
 pykdtree = callPackage ../development/python-modules/pykdtree {
    inherit (pkgs.llvmPackages) openmp;
  };

What do you recommend ? use openmp or not (if the current fix do work)

According to upstream https://github.com/storpipfugl/pykdtree#benchmarks , multithreading with openmp has some performance benefits, so I would enable it if it works.

@xeji included openmp.

@GrahamcOfBorg build pythonPackages.pykdtree python3Packages.pykdtree

Success on aarch64-linux (full log)
Attempted: pythonPackages.pykdtree, python3Packages.pykdtree
Partial log (click to expand)
pykdtree.test_tree.test1d_mask ... ok
pykdtree.test_tree.test1d_all_masked ... ok
pykdtree.test_tree.test3d_mask ... ok

----------------------------------------------------------------------
Ran 14 tests in 0.084s

OK
/nix/store/hg4rsrwq4gk9dygrs7l3qa2vyqqbvi25-python2.7-pykdtree-1.3.0
/nix/store/7lv01v1v0cma0xbmvp62y9xkbx7h2pff-python3.6-pykdtree-1.3.0

Success on x86_64-linux (full log)
Attempted: pythonPackages.pykdtree, python3Packages.pykdtree
Partial log (click to expand)
pykdtree.test_tree.test1d_mask ... ok
pykdtree.test_tree.test1d_all_masked ... ok
pykdtree.test_tree.test3d_mask ... ok

----------------------------------------------------------------------
Ran 14 tests in 0.014s

OK
/nix/store/pxkgi1vis7asyczw13s1yfmax7z4aayi-python2.7-pykdtree-1.3.0
/nix/store/jdbjwzwnyjbhnr6j5lx7vli5a2dagdjb-python3.6-pykdtree-1.3.0

Thanks. Let's wait for the Darwin  build, I'll merge if it succeeds.

Failure on x86_64-darwin (full log)
Attempted: pythonPackages.pykdtree, python3Packages.pykdtree
Partial log (click to expand)
/nix/store/jsildbay8mxa92jiq93pm06awh8f7qaw-python3.6-numpy-1.14.3/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by "          "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
 ^
pykdtree/kdtree.c:529:10: fatal error: 'omp.h' file not found
#include <omp.h>
         ^~~~~~~
1 warning and 1 error generated.
error: command 'clang' failed with exit status 1
builder for '/nix/store/6jv5hklbng0v7dja8bxcn74m77qi4ijx-python3.6-pykdtree-1.3.0.drv' failed with exit code 1
error: build of '/nix/store/6jv5hklbng0v7dja8bxcn74m77qi4ijx-python3.6-pykdtree-1.3.0.drv', '/nix/store/6rpxih7vwvm0gh3n7h4r5snxz0535mg1-python2.7-pykdtree-1.3.0.drv' failed

that was the old build job, we can ignore it.


Unable to load application local file config/ovh-api.yml

When creating a file config/ovh-api.yml, the file is not loaded to store parameter. We must pass the parameter in the arguments of the client initializer.

Fix by 2cc5e013bcd0a0da65cc4c9144bd290095a6b18b


Migrate_Combobox

#233

I have some drafts for ComboBoxes. I'll push it to this branch, but feel free to change everything, since not everything works properly

Ill take a look

I have some drafts for ComboBoxes. I'll push it to this branch, but feel free to change everything, since not everything works properly

can you tell me what doesn't work?

Triangle missing in the default style. Also, seems like the outline style has incorrect clipping for frame/border (proper variant implemented in TextBox outlines style). Probably some watermark/label problems.

Triangle missing in the default style. Also, seems like the outline style has incorrect clipping for frame/border (proper variant implemented in TextBox outlines style). Probably some watermark/label problems.

@SKProCH Can you check if the bugs are resolved?

Triangle missing in the default style. Also, seems like the outline style has incorrect clipping for frame/border (proper variant implemented in TextBox outlines style). Probably some watermark/label problems.

@SKProCH Can you check if the bugs are resolved?

Yep, a little later

Probably default combobox too tall - even compared with Filled. Everything else is fine

Probably default combobox too tall - even compared with Filled. Everything else is fine

How tall would you like it to be?

Probably default combobox too tall - even compared with Filled. Everything else is fine

How tall would you like it to be?

Probably same size of textbox i suppose

Is this okay?

Yep. Thanks!

Ill take a short look if I can resolve it.

so I taken a look but I couldn't figure it out, so it can be merged.


Incorrect objective value

Sometimes, the evaluated objective value is incorrect although the solution is correct.
Example:
import cvxpy
x = cvxpy.Variable((2, 1))
A = np.array([[1.0]])
B = np.array([[1.0, 1.0]]).T
obj0 = -B.T * x
obj1 = cvxpy.quad_form(B.T * x, A)
prob = cvxpy.Problem(cvxpy.Minimize(obj0 + obj1))
prob.solve()

print(prob.value, prob.objective.value)

Result:
-0.25, -0.50

prob.value is not the same with prob.objective.value.
If we look further,
print(obj1.value, (B.T @ x.value).T @ A @ (B.T @ x.value)))

Result:
0.0, [[0.25]]

obj1.value should be 0.25, but it is set to 0.0.

I got the same answer, and changing to obj1 = cvxpy.quad_form(x, B.dot(A).dot(B.T)) seems to give a different (correct) answer. The matrix in the quad_form is 1x1 when it fails, and 2x2 when it works, so I wonder if this is because of the special case.

This is fixed now. @GrayThomas thanks for your help! It turned out to be a subtle bug with determining positive/negative semidefiniteness.


producer not stop after shutdown since #3199

BUG REPORT

Please describe the issue you observed:

What did you do (The steps to reproduce)?

   public static void main(String[] args) throws MQClientException, InterruptedException {

        DefaultMQProducer producer = new DefaultMQProducer("ProducerGroupName");
        producer.setNamesrvAddr("localhost:9876");
        producer.start();
        producer.shutdown();
    }

What did you expect to see?
the producer will exit.

What did you see instead?
the producer dont exit forever.

Please tell us about your environment:

Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

I was fixed，can see #3453

I was fixed，can see #3453

See, I will close this.


Many pages don't show up in the navigation

Which page is affected?: Many, among them the examples, e.g. for Apache Kafka, the whole testing folder, the contributing page
What exactly is broken?: These pages aren't shown in the left-side menu but are part of the documentation repo. Some of these pages are actually rendered and reachable under their intended URL, e.g. https://kudo.dev/docs/contributing.html.

Kind of related, see also https://github.com/kudobuilder/kudo/issues/142: The examples don't use kubectl kudo but still rely on kubectl apply -f.


ambar.py install error

HI,
I execute this command sudo ./ambar.py install after alll file are download am getting error like no such a file found /etc.rc.local..

What version and distro of Linux are you using?  It can't find the /etc/rc.local file which is causing the error.

Pretty sure I had the same issue on Ubuntu 17.10

Closing, as on the latest Ambar version ambar.py is removed


Issue with VS Code and Hot Reloading

For the leptos SSR features, all the code in main.rs is disabled in the VSCode editor until I enable "rust-analyzer.cargo.features": "all" in the settings.
When running cargo leptos watch when I save a file, this seems to trigger it to rebuild a bunch of the server dependencies even when I haven't touched anything related to them.
For example start with the leptos-axum/start template. Add surrealdb as an optional dependency under the ssr feature.
save this to your VSCode settings: "rust-analyzer.cargo.features": "all"
Any modifications to app.rs will then trigger a full rebuild of surrealdb.
If you comment out that vscode setting and re-run leptos, then the hot reloading will work as expected.
My guess is that enabling that in vscode is somehow causing certain files in surrealdb to be marked as "modified" and when cargo leptos is triggered it performs the rebuild.

I apologize, I seem to have posted this in the wrong repo.
From info found here: https://github.com/rust-lang/rust-analyzer/issues/6136
The fix was to have my workspace settings.json look like this:
{
    "rust-analyzer.rustfmt.overrideCommand": ["leptosfmt", "--stdin", "--rustfmt", "-c", "${workspaceFolder}/leptosfmt.toml"],
    "rust-analyzer.cargo.features": ["ssr"],
    "rust-analyzer.check.extraArgs": [
        "--target-dir", "${workspaceFolder}/target/check"
    ]
}

This forces cargo check to build into the target/check directory so that it doesn't invalidate the cache built by cargo leptos.

That’s really interesting and a potentially useful tip. You or someone should PR that to the doc section of the book
On Mon, Jul 8, 2024, at 6:44 PM, Garrett Fleischer wrote:

I apologize, I seem to have posted this in the wrong repo.
From info found here: rust-lang/rust-analyzer#6136 https://github.com/rust-lang/rust-analyzer/issues/6136
The fix was to have my workspace settings.json look like this:
{
"rust-analyzer.rustfmt.overrideCommand": ["leptosfmt", "--stdin", "--rustfmt", "-c", "${workspaceFolder}/leptosfmt.toml"],
"rust-analyzer.cargo.features": ["ssr"],
"rust-analyzer.check.extraArgs": [
"--target-dir", "${workspaceFolder}/target/check"
]
}
This forces cargo check to build into the target/check directory so that it doesn't invalidate the cache built by cargo leptos.
—
Reply to this email directly, view it on GitHub https://github.com/leptos-rs/cargo-leptos/issues/312#issuecomment-2216125038, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVBTCMXJ6K4XQUGZ6NXERLZLM6ALAVCNFSM6AAAAABKP5XSBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJWGEZDKMBTHA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Keep getting "'final_response' must be set" when testing Google Assistant

I got through the Hello World tutorial just fine, and thought I'd give the AdventureGame one a try. I'm using Google Assistant only (not Alexa) and have everything set up (at least well enough for the HelloWorld example to work!) but now whenever I try to use the Google Assistant simulator, I just get the response "My test app isn't responding right now. Try again soon."
and error message (under Validation Errors):
'final_response' must be set

Am I missing something? I have set up my BlueDoorIntent and RedDoorIntent as instructed, have the NodeJS server up and running, ngrok proxy URL put into the Fulfillment section on DialogFlow, set Fulfillment to "use webhook" on each Intent, etc.

Hi! Could you enable logging in the app configuration and tell me what the logs say? Also, is there any stack trace you could share with us? Thanks!

I'm not sure how to enable logging in the app configuration?
There is nothing going on in the app itself (the NodeJS part). Everything works as expected, including responding when I type in the "Try it now" section of DialogFlow. It's only when in Google Assistant simulator that I get this problem.

Hmm, yes, I've been running in this issue sometimes, that the Simulator isn't working as expected. It might be, for example, that another Action is still enabled for testing. You could also try to fix it be setting an invocation name for your app by filling out the draft information (it shows an error if you don't fill out all the information, but it should still save the invocation name)

Ahhhh... The invocation naming worked perfectly.

Perfect!

Thank you!

No problem! Feel free to join our community, if you have more questions: www.jovo.tech/slack

I'm getting the same error. can you tell me how to set invocation name?


Provide API for reading/writing to serial port via channels

I suggest adding a new method
func OpenPortChan(c *Config) (chan<- []byte, <-chan []byte, error)

that returns a pair of channels that can be used to read and write to the serial port directly, by spawning a couple of goroutines redirecting input/output from/to the port. I have a pull request almost ready, will send it for discussion soon.

Hi @tiziano88,
I often end up wrapping the serial port in channel code like that as well, so it is likely a common need.
I think an API like that would be interesting and I'd be happy to review/merge a new API.  Please send it when you have a chance.

@tiziano88 Have you made any progress on this?

No, sorry, haven't worked on this for a long time, feel free to pick it up

I've been thinking about it more and I don't think it's the right API.
It's certainly convenient initially, but if you want to have timeouts, handle error, and do retries then a channel API does not work as well.
Here's a quick example:
https://play.golang.org/p/tAS5pyqtSn
I annotated that example with comments about some of the issues.  By the time you add bidirectional communication (errors, closing of connections, reusing of buffers), then a blocking Read()/Write() api often ends up being simpler.

The pattern I am moving towards is having a dedicated goroutine (or 2 if needed) per device.  That goroutine does blocking Read()s, handles errors and retries, and then there is a higher level API to communicate with the device.  The way I have it, a single goroutine does not handle bytes from multiple devices so no select or channels are needed.


Missing password validation

Missing validation logic to ensure passwords include capital letters, small letters, numeric digits, and special characters, and are at least 8 characters long.
@jinx-vi-0 kindly assign this issue to me

Asaigned @kashikaga

@jinx-vi-0
could you please add the level label for it ?


Not working. :(

The app isn't working at all for me. It shows its available under the header but it won't let me test it.

I would love to use this to take notes. Please fix. Thanks :).

Hi. This is really strange. The flashcards are clearly detected in the notes (as you can see the badges next to headers) so I don't see any obvious reason for the review not showing them.
So let's start with the basics - could you send me more details of your setup, please? (version of vscode, version of the plugin). Have you tried reloading the window or restarting the app?

I found this problem, too. It scheduled cards to 1970-1-1. I am using VSCodium on Arch Linux.

Hi,
First of all, a card being scheduled for January 1970 is perfectly OK. This is the default for new cards. Any card is scheduled for review if the "next review" date is less than or equal to today's date. So January 1970 definitely qualifies :)
The bad news is, that I am still not able to replicate this one - neither in VSCode nor VSCodium.
To move things forward, I just published version 0.13.1 to both VSCode Marketplace and the Open VSX registry. It has the "Recall: Show card statistics" command added. It should help with the investigation.
So, if the problem still persists, please try to run this command. It should open a new tab in VSCode with a JSON file containing basic statistics - please save it and send it to me. The content should look something like this:
{
  "Total cards": 10,
  "Total due": 8,
  "Bullets Demo.md": {
    "Total cards": 5,
    "Total due": 5,
    "GOOD": { "Total cards": 3, "Total due": 3, "Due": 3 },
    "HARD": { "Total cards": 1, "Total due": 1, "Due": 1 },
    "FAIL": { "Total cards": 1, "Total due": 1, "Due": 1 }
  },
  "Asterisk Demo.md": {
    "Total cards": 5,
    "Total due": 3,
    "GOOD": { "Total cards": 2, "Total due": 1, "Due": 1, "Future": 1 },
    "HARD": { "Total cards": 1, "Total due": 1, "Due": 1 },
    "FAIL": { "Total cards": 2, "Total due": 1, "Future": 1, "Due": 1 }
  }
}


Manifest merge strategy

Thanks for the contribution.

I recently upgraded my version sbt-assembly and ran into this unexpected behavior. I'd much rather duplicate mailcaps would either use deduplicate or filterDistinctLines as a default behavior. discard  as default has caused us to introduce a rather embarrassing bug.

@purefn Sorry about that. I should've escalated this as a defect.

I wonder if discarding mimetypes.default causes similar unexpected bugs.

Added #190.


QoL Request: Add a way to suppress the "on_batch_end() is slow" warning

[x ] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/keras-team/keras.git --upgrade --no-deps

[x ] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[x ] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

I'm essentially running into the same "issue" as #2603 - I'm training a relatively small model on very small batches, so the update is basically instant, and flushing metrics to stdout+file is relatively large. The "problem" is that this is deliberate behavior, but I still get these lengthy warning messages cluttering my console.
I'd like to be able to suppress these warnings, without suppressing any other potentially useful warning messages. If there's already a way to do this, or if it's not too much trouble to slip in that behaviour, that would be amazing.
Thank you!

Would this work for you? https://docs.python.org/3/library/warnings.html#temporarily-suppressing-warnings

No, but the related documentation does. Sorry to bother you.


Sudoers snippet no longer works on Ubuntu 18.04

On Ubuntu 18.04, vagrant up will still ask for sudo password using the recommended sudoers file. The problem is the quotes around the echo statement, similar to the issue we recently discovered for Mac: #145
It's curious that this recently stopped working for both Mac and Ubuntu, I'm not sure exactly what that means, other than that both no longer require quotes.

@cgsmith are you still the maintainer? Is there anything I can do to help get this merged?


Combine sample app integration test terraform into common directory

Description
This PR attempts to combine the terraform from all the support languages into one common terraform directory with more variables. This should make it easier to modify the terraform, at the cost of supplying more variables when calling the terraform.

Spoke with @anuraaga, we decided against this change. We want to make it easy for users to find this repo and build their own layers, and a common directory does not help with that.
Instead, since the files are so similar, we will use a codegen tool (like jinja2 in python) to generate the files from a template.


Respect ngModel value on init

Hi,
When I initialize, the ngModel is ignored and it puts the value to 0
You should read the value in ngModel and do the reverse calculation to fill the inputs

This is not AngularJS plugin, so ngModel doesn't make sense in its context. If you need to set the initial value, set the value of the HTML input to which plugin will be applied before you call .durationPicker()


[SPARK-35437][SQL] Use expressions to filter Hive partitions at client side

What changes were proposed in this pull request?
Improve partition filtering speed and reduce metastore pressure.
We can first pull all the partition names, filter by expressions, and then obtain detailed information about the corresponding partitions from the MetaStore Server.
Why are the changes needed?
When convertFilters cannot take effect, cannot filter the queried partitions in advance on the hive MetaStore Server. At this time, getAllPartitionsOf will get all partition details.
When the Hive client cannot use the server filter, it will first obtain the values of all partitions, and then filter.
When we have a table with a lot of partitions and there is no way to filter it on the MetaStore Server, we will get all the partition details and filter it on the client side. This is slow and puts a lot of pressure on the MetaStore Server.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Add UT

Can one of the admins verify this patch?

Test build #144796 has started for PR 34431 at commit 822edda.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49266/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49266/

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

Test build #144796 has finished for PR 34431 at commit 822edda.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Test build #144807 has started for PR 34431 at commit 56ce42b.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49277/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49277/

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

Test build #144807 has finished for PR 34431 at commit 56ce42b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Test build #144831 has started for PR 34431 at commit fa69af0.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49301/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49301/

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

Test build #144831 has finished for PR 34431 at commit fa69af0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

I have triggered multiple tests these days and it seems to be working properly.
Can we review this again?

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

Test build #144872 has started for PR 34431 at commit 4e7a37d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49342/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49342/

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

Test build #144872 has finished for PR 34431 at commit 4e7a37d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Test build #144917 has started for PR 34431 at commit e3038f4.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49388/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49388/

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

Test build #144917 has finished for PR 34431 at commit e3038f4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Thanks @cxzl25 , will take a look again soon.

Test build #144965 has started for PR 34431 at commit 11479df.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49436/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49436/

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

Test build #144965 has finished for PR 34431 at commit 11479df.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Test build #144967 has started for PR 34431 at commit df37268.

Test build #144968 has started for PR 34431 at commit a5000ce.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49438/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49438/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49441/

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

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49441/

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

Test build #144968 has finished for PR 34431 at commit a5000ce.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Test build #144967 has finished for PR 34431 at commit df37268.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged to master, thanks @cxzl25 !


ContentType.JSON should automatically encode as UTF-8

From<EMAIL_ADDRESS>on June 25, 2015 06:42:43
What steps will reproduce the problem? 1. Set the contentType of a request to ContentType.JSON
1.b do NOT set the character encoding
2. Add a Unicode body with characters not within ISO-8859-1
3. Send the data. What is the expected output? What do you see instead? - Expect: the data to be sent as specified.

Actual: non ISO-8859-1 characters are mangled. What version of the product are you using? On what operating system? 2.4.1, OSX 10.9, 10.10 Please provide any additional information below. When sending JSON data, any non ISO-8859-1 characters are mangled unless the encoding is specified as UTF-8. Issue #228 initially brought up the issue, but the solution to specify a charset of the content-type, while useful for others, is unnecessary for JSON, and arguably wrong.

From rfc4627 : http://www.ietf.org/rfc/rfc4627.txt JSON text SHALL be encoded in Unicode.  The default encoding is UTF-8.
Since the first two characters of a JSON text will always be ASCII
characters [ RFC0020 ], it is possible to determine whether an octet
stream is UTF-8, UTF-16 (BE or LE), or UTF-32 (BE or LE) by looking
at the pattern of nulls in the first four octets.
Accordingly, charset parameter is not allowed in the JSON MIME type specifically because the unicode variant can be determined from the content:
The MIME media type for JSON text is application/json.
Type name: application
Subtype name: json
Required parameters: n/a
Optional parameters: n/a
Encoding considerations: 8bit if UTF-8; binary if UTF-16 or UTF-32
  JSON may be represented using UTF-8, UTF-16, or UTF-32.  When JSON
  is written in UTF-8, JSON is 8bit compatible.  When JSON is
  written in UTF-16 or UTF-32, the binary content-transfer-encoding
  must be used.

The preferred workaround should be to set the defaultContentCharset on the encoderConfig(), and avoid unnecessary charset parameter.
newConfig().encoderConfig(encoderConfig().defaultContentCharset("UTF-8"))

Original issue: http://code.google.com/p/rest-assured/issues/detail?id=412

UTF-8 was the default charset in previous version of REST Assured but this was changed to the default charset of the host. All content is encoded this way. Perhaps we need a way to set not only "default content charset" but also a default content charset for a specific content-type and fallback to "default content charset" if there's no match.

I've added support for specifying a default charset for individual content-types now using the EncoderConfig (defaultCharsetForContentType(..)). By default "application/json" uses UTF-8.
Please try it out be depending on version 2.5.1-SNAPSHOT after having added the following Maven repo:
<repositories>
        <repository>
            <id>sonatype</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
            <snapshots />
        </repository>
</repositories>

I'll close this issue for now. Let me know if I should reopen it.

Which releases should this be fixed in?

Looks like 2.6.0 (see change log)

Perhaps we need a way to set not only "default content charset" but also a default content charset for a specific content-type and fallback to "default content charset" if there's no match.

There should be no "default charset". Each request should specify its charset. This is a huge oversight that many developers make, because they just merrily assume that whatever default charset is in place will work, when usually it's the system charset, which varies from system to system. Then odd bugs crop up months down the road because if the system works it works just out of luck.
See the bug I filed #926 .

For JSON the case for UTF-8 as the default character set is pretty clear. See https://tools.ietf.org/html/rfc7159 section 8.1.

I don't think that JSON having a "default" charset means that HTTP should not indicate one. Probably your point is that REST Assured provides UTF-8 by default as a convenience, so that developers don't have to explicitly indicate it via the API. I can't say that's incorrect, but I fear it lulls developers into a sense that they never have to indicate the charset.
This is already a big problem. I cannot tell you how many times my students have opened input streams and blindly wrapped them in an InputStreamReader without caring what the charset was; or in a unit test extracted bytes from a string without specifying the encoding. It seemed to work on their system, but would break on another system.
Beyond JSON, I think we already have a problem here in REST Assured. Rather than going on here in this closed issue, I'll comment further in #926.


Adds redis-server version fact

Will be useful in the future to only allow 3.3+ config on newer packages
Also useful for seeing the version of the redis package easily

Awesome.  I was just thinking about adding this. ;)


fix: use Mojang log4j config file fixes by version

Part of #1177

Verified with -e SETUP_ONLY=true and

Version
Runner line

1.12.2
java -Xmx1G -Xms1G -Dlog4j.configurationFile=log4j2_112-116.xml -jar minecraft_server.1.12.2.jar

1.11.2
java -Xmx1G -Xms1G -Dlog4j.configurationFile=log4j2_17-111.xml -jar minecraft_server.1.11.2.jar

1.18
java -Xmx1G -Xms1G -Dlog4j2.formatMsgNoLookups=true -jar minecraft_server.1.18.jar

wait, we dont need -Dlog4j2.formatMsgNoLookups=true for 1.18.1 instances

wait, we dont need -Dlog4j2.formatMsgNoLookups=true for 1.18.1 instances

Ah yes; however, I originally thought it couldn't hurt.

Can confirm changes for a variety of non-Spigot servers.
Is there a reason we're not applying the configuration mitigation for Spigot-like servers? Not all variations (Airplane, etc.) necessarily have log4j patches in place.
The only other change I'd recommend is to roll off the config patch pre 1.7 (as 1.7 and below are marked as not vulnerable, and this option might not work on older versions, such as Canyon)

The only other change I'd recommend is to roll off the config patch pre 1.7 (as 1.7 and below are marked as not vulnerable, and this option might not work on older versions, such as Canyon)

I don't know how I missed that. You are right of course.
This should be a quick change though and I'm sure @itzg will do it soon.


225-providers-check

Resolves #225.  A legitimate case was missed during human testing of enhancement #217.

Now the geocoder control shouldn't fail when there are no optional providers passed in.
Added some related tests but these could likely be improved upon.

I recommend publishing another release after this makes it in (v2.3.1?).  Should we deprecate v2.3.0 after all is said and done?

Should we deprecate v2.3.0 after all is said and done?

nah, this is just a bug fix.
if it makes you feel any better, it's not even the first time it's been patched. 😺
ref: https://github.com/Esri/esri-leaflet-geocoder/pull/137


Added the --all-targets flag to clippy linting

In order to get good clippy linting on our unit tests, the --all-targets flag has been added to the clippy linting. This satisfies the request I made on Issue #57 (specifically this)

And as a great first check, clippy failed the build because of linting in some unit tests

And as a great first check, clippy failed the build because of linting in some unit tests

Good stuff, thank you! I'm thinking maybe we should just replace the make clippy recipe with the one for make clippy-check that denies warnings - I don't think we need both. If you could change this here, I'd be grateful!

And as a great first check, clippy failed the build because of linting in some unit tests

Good stuff, thank you! I'm thinking maybe we should just replace the make clippy recipe with the one for make clippy-check that denies warnings - I don't think we need both. If you could change this here, I'd be grateful!

So shall we delete the clippy-check recipe altogether?


[Bug] Cannot use DPM with a Ledger

Description
I've setup my Desmos Profile Manager (DPM) to be used with my Ledger Nano X, but when I try confirming a transaction from Scripta I get the following error:

Error: Error: Can't sign, method direct is not supported from the wallet

Screenshot

Fixed with #4


Optimizing the GPRegression over a single parameter

I am aware that one can optimize over all parameters using the GPRegression.optimize() function, which optimizes over the objective_function() (at least, this is what I've understood so far).
However, is it possible to optimize over only a certain parameter, such as the length scale, or the variance of a kernel for example? And if not, how would I best accomplish this? Any help is greatly appreciated.

Just fix all parameters you do not wish to optimize over.
m.kern.lengthscale.fix()
Or similar should do the trick.

On 10. Apr 2018, at 12:31, David<EMAIL_ADDRESS>wrote:
I am aware that one can optimize over all parameters using the GPRegression.optimize() function, which optimizes over the objective_function() (at least, this is what I've understood so far).
However, is it possible to optimize over only a certain parameter, such as the length scale, or the variance of a kernel for example? And if not, how would I best accomplish this? Any help is greatly appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks a lot for the quick reply! :) Is there a docs page / source code page for .fix()? Also, can I unfix those parameters again, after I have optimized the desired one?

http://paramz.readthedocs.io/en/master/paramz.html#paramz.parameterized.Parameterized http://paramz.readthedocs.io/en/master/paramz.html#paramz.parameterized.Parameterized
or
http://paramz.readthedocs.io/en/master/paramz.core.html#module-paramz.core.constrainable http://paramz.readthedocs.io/en/master/paramz.core.html#module-paramz.core.constrainable
The docs are a bit scattered because of the object oriented hierarchy.
Have a flick through, you’ll get there: http://paramz.readthedocs.io/en/latest/paramz.html http://paramz.readthedocs.io/en/latest/paramz.html

Am 10.04.2018 um 12:39 schrieb David<EMAIL_ADDRESS>Thanks a lot for the quick reply! :) Is there a docs page / source code page for .fix()? Also, can I unfix those parameters again, after I have optimized the desired one?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/SheffieldML/GPy/issues/623#issuecomment-380054445, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfcKcRs9JJGK1aGk_6t8J-nXpa4Q5AYks5tnIvbgaJpZM4TOALG.


[Bug Report] el-autocomplete cannot execute the focus event. It may be that the document does not specify, is it?

Element UI version
1.3.7
OS/Browsers version
Chrome
Vue version
2.3.4
Reproduction Link
https://jsfiddle.net/obyrvesg/1/
Steps to reproduce
focus 能够重现
https://jsfiddle.net/obyrvesg/1/
What is Expected?
el-autocomplete 中能够 focus 事件,
What is actually happening?
el-autocomplete 中不能够 focus 事件,

Duplicate of #2544. We'll fix this in the next major version.


Add linux/arm64 build

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[ ] Build was run locally and any changes were pushed
[ ] Lint has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[x] Build related changes
[x] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Currently doesn't support arm64 docker build
Issue Number: N/A
What is the new behavior?

Pipeline has been updated to run arm64 build to close #21

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

Pull Request Test Coverage Report for Build 847775794

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.111%

Totals

Change from base Build 844286741:
0.0%

Covered Lines:
1446

Relevant Lines:
1805

💛  - Coveralls


[Vec] add filter and map functions

changelog:

added Psl\Vec\filter function
added Psl\Vec\filter_keys function
added Psl\Vec\filter_with_key function
added Psl\Vec\map function
added Psl\Vec\map_with_key function
added Psl\Dict\filter_nulls

Pull Request Test Coverage Report for Build 582501233

27 of 32 (84.38%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 99.754%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Psl/Dict/filter_nulls.php
0
5
0.0%

Totals

Change from base Build 576061260:
-0.2%

Covered Lines:
2430

Relevant Lines:
2436

💛  - Coveralls


Allow for tab/tabs to be pulled out to a new window

Check for existing issues

[X] Completed

Describe the feature
When working in multiple tabs, it would be useful to be able to pull the tab outside of the working window to detach from current work window to a separate new window.
If applicable, add mockups / screenshots to help present your vision of the feature
No response

Hey @krstp, would you mind upvoting this issue?

https://github.com/zed-industries/community/issues/493

Thanks


Update accessibility statement after TDT fixes

Fixes #1569 (https://github.com/alphagov/govuk-design-system/issues/1569).
The most recent update to the Tech Docs Template has fixed some accessibility issues. For example, users of assistive tech will now no longer be able to focus elements that should remain hidden on pages. So, we now need to update our accessibility statement to say that our Frontend docs site is fully compliant with the WCAG 2.1 AA standard.
This PR also contains:

an updated review date for the accessibility statement
deletions of outdated information (about WCAG only being partly met because of issues with the Template)

You can preview this change here:
Built with commit d2d285fe2c2e4d7cb5acefba65d3d522b09aab6b
https://deploy-preview-1586--govuk-design-system-preview.netlify.app

This is looking good to me, but can we tidy up the commits a little? Potentially this could be squashed into a single commit, but if not I think it'd make sense to squash the last two together? What do you think?

@36degrees Might wait till this has been through 2i before squashing the commits - in case we end up with more commits than what's here now! But yeah, squashing together those 2 commits sounds like a good idea.

Makes sense!


Added Demo GIF & updated README

I have reduced the resolution of the GIF to 1024 x 572 resolution, which reduced the file size to 2.01 MB and added the GIF to this repo.

Hi! Thanks for PR.
Make sure you have checked points in PR Template correctly.

@aashutoshrathi I have updated my PR comment according to the template found in PR #14.

Thanks a lot, Feel free to star this repository.


Displaying dataset with hours, days and counts

Hello!  I use chart.js  v. 2.7.3. I have such dataset:

Person
Points
Hour
Date

Mike
45
8:00
07.05.2020

Colin
12
8:00
07.05.2020

Mike
78
14:00
07.05.2020

Colin
43
14:00
07.05.2020

Kate
90
14:00
07.05.2020

Mike
123
7:00
09.05.2020

Colin
11
7:00
09.05.2020

Kate
56
14:00
09.05.2020

John
32
12:00
09.05.2020

I want to visualize it on one bar chart so that  person name, hours of day and dates were located on X axe, and points values  per hour for each person were located on Y axe.  How to pass my data to chart.js data section properly? Or bar chart is not the most visual diagram type for my needs?
Thanks!

For these kind of questions please ask them on stackoverflow and not here (https://stackoverflow.com/questions/tagged/chart.js)
from the issue template:
Hey there!
If you need help or tech support then this is not the place to ask. Please post
a question to https://stackoverflow.com/questions/tagged/chart.js


fix: don't use $ref in OpenAPI

If the same zod object is used multiple times in the same contract object (query, body or response), it will use a $ref to refer to it's first occurrence. For the example in test code, it would have generated to following JSON schema.
"comments": {
  "anyOf": [
	{
	  "items": {
		"additionalProperties": false,
		"properties": {
		  "id": {
			"type": "number"
		  },
		  "title": {
			"type": "string"
		  }
		},
		"required": [
		  "id",
		  "title"
		],
		"type": "object"
	  },
	  "type": "array"
	},
	{
	  "items": {
		"additionalProperties": false,
		"properties": {
		  "author": {
			"type": "string"
		  },
		  "id": {
			"$ref": "#/definitions/zodObject/properties/comments/anyOf/0/items/properties/id"
		  },
		  "title": {
			"$ref": "#/definitions/zodObject/properties/comments/anyOf/0/items/properties/title"
		  }
		},
		"required": [
		  "id",
		  "title",
		  "author"
		],
		"type": "object"
	  },
	  "type": "array"
	}
  ]
}

Since we aren't actually bundling any definitions, these references don't resolve and we end up with an error like this.

We also fix this by naming and bundling all definitions generated, but it'll be so clunky. We'd end up with definitions named something like commentsGetPostCommentsResponses200

Amazing, thanks for the PR @Gabrola!
By the way, I haven't actually written any OpenAPI in prod with ts-rest yet, have you? Can we maybe work on some new docs for it?
I definitely think the docs, especially on the OpenAPI side need some (any) love!

@oliverbutler thanks for the review! We are serving Swagger UI internally but I don't think any of us are using them so far. I'm thinking of serving a pure swagger.json through this plugin though and then importing that into postman, as we're still using that mainly.
I think can whip something up in the docs.

Also loving the rebrand, good job with that! 🎉


Feature/logging

This closes #39 .
This PR is suggesting using Elasticsearch as a logging solution.
The proof of concept is described in the Logging.md file.

Ok then, shall we merge it?


[ADnD_2E] Patch: Monster size input and roll template standards

Submission Checklist
Required

[X] The pull request title clearly contains the name of the sheet I am editing.
[X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X] The pull request makes changes to files in only one sub-folder.
[X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

Changes / Description
All changes described on the forum: https://app.roll20.net/forum/permalink/12105321/

Character Sheet Info Roll20 Internal Use only.


[TableRow] selected prop not being respected

Problem description
I am using TableRow::selected to control the selection state of a Table and as of 0.17.0 this is no longer being respected. It worked correctly in 0.16.4
The selected prop is being provided through the parent element's props from Redux state and I'm hooking into onRowSelected to send the appropriate actions. Basically the issue is I am unable to programmatically deselect rows, as there is a "clear all" button elsewhere on the page which also updates the Redux state.
Link to minimal working code that reproduces the issue
https://www.webpackbin.com/bins/-KiCcUMij71RSiagMWsc
Versions

Material-UI: 0.17.0 - 0.17.4
React: 15.4.0
Browser: Chrome 57.0.2987.133 (64-bit)

Actually, it looks like this is fixed with https://github.com/callemall/material-ui/pull/6638


Asynchronous Inter-Service-Communication Skeleton

Parent issue
https://github.com/IT-REX-Platform/wiki/issues/6
Description
Create and implement a communication system with reusable boilerplate code that can be used by services to communicate with each other. Asynchronous calls should be done using dapr pubsub. If necessary, the underlying implementation details of this system should be abstracted away so to make usage in services easier.
Acceptance Criteria

[ ] Figure out how to do asynchronous calls with Graphql and dapr
[ ] Basic reusable interservice communication is implemented with an example (short example in a wiki page)
[ ] result is documented with a diagram or similar

@LG1401 I would start with this card as I am currently waiting for other cards to be reviewed.

Fehler
java.lang.NoSuchMethodError: 'reactor.core.publisher.Mono reactor.core.publisher.Mono.subscriberContext()'
    at io.dapr.client.DaprClientHttp.invokeMethod(DaprClientHttp.java:212)
    at io.dapr.client.AbstractDaprClient.invokeMethod(AbstractDaprClient.java:120)
    at io.dapr.client.DaprClientHttp.invokeMethod(DaprClientHttp.java:66)
    at io.dapr.client.AbstractDaprClient.invokeMethod(AbstractDaprClient.java:170)
    at io.dapr.client.DaprClientHttp.invokeMethod(DaprClientHttp.java:66)

The most recent published version (dapr java-sdk)[https://github.com/dapr/java-sdk] seems to not support some newer versions of libraries (namely reactor core and spring boot). To fix this, try to add a source dependency to the dapr java-sdk repo, because these issues should be fixed in the newest version of the repo @PaulBredl

As I already worked ~40h this sprint I would like to not do this. I know that you Lukas already are pretty busy this sprint, so maybe @ZombieAlienRobot might have a look at this card?

Understandable


MS Graph Explorer Consent issue - AADSTS90015: Requested query string is too long.

Describe the bug
In Graph explorer, Modify Permissions (Preview). Toggle selection of all items and click consent I get an error message - AADSTS90015: Requested query string is too long.
To Reproduce
Steps to reproduce the behavior:

Login into Graph Explorer
Click on 'Modify Permissions (Preview)'
Click on 'Consent'
AADSTS90015: Requested query string is too long.

Expected behavior
Consent to the policy
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [Windows 10]
Browser [Edge]
Version [89.0.774.54]

N/A-
Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
AB#8637

@jodeClarks
At the moment, you can only consent to 128 permissions at a time.

OK thank you for the information.
Jody Whitefield | IT Service Specialist | Computing
C. & J. Clark International Limited
E-Mail: Jody.Whitefield<EMAIL_ADDRESS>From: Elinor @.>
Sent: 29 March 2021 13:15
To: microsoftgraph/microsoft-graph-explorer-v4 @.>
Cc: Jody Whitefield<EMAIL_ADDRESS>Mention @.***>
Subject: Re: [microsoftgraph/microsoft-graph-explorer-v4] MS Graph Explorer Consent issue - AADSTS90015: Requested query string is too long. (#897)
@jodeClarkshttps://github.com/jodeClarks
At the moment, you can only consent to 128 permissions at a time.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoftgraph/microsoft-graph-explorer-v4/issues/897#issuecomment-809329009, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATDF3IVEE77ZEWEDS4VMHP3TGBVMDANCNFSM4ZK5UBRA.
<\a>
Click herehttps://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ== to report this email as spam.
--INTERNAL--
This e-mail, and any files transmitted with it, is intended solely for the use of the recipient(s) to whom it is addressed and may contain confidential information.  If you are not the intended recipient, please notify the sender immediately and delete the record from your computer or other device as its contents may be confidential and its disclosure, copying or distribution unlawful.
Clarks takes precautions to prevent the transmission of electronic viruses but responsibility for screening incoming messages, and the risk of such transmission, lies with the recipient.
Clarks, Registered in England number 141015. Registered office 40 High Street, Street, Somerset. BA16 0EQ.  Where the term Clarks appears it refers to C&J Clark Limited, C&J Clark International Limited, The Clarks Companies N.A. its Subsidiaries and Associate Companies.
This message has been scanned for viruses by MailControl - www.MailControl.com