Add Windows 1803/RS4 to hello-world

hello-world currently support Windows Server 2016 (10.0.14393.2189) and 1709 (10.0.16299.371). 1803 aka RS4 was released in April. The version number to reference is 10.0.17134.1.
Given Windows' limited image compatibility docker run hello-world currently fails on a Windows Server 1803 VM (the hellacious error message is fixed in a later version of Docker):
PS C:\Users\cfischer> docker version
Client:
 Version:       17.06.2-ee-10
 API version:   1.30
 Go version:    go1.8.7
 Git commit:    66261a0
 Built: Fri Apr 27 00:42:30 2018
 OS/Arch:       windows/amd64

Server:
 Engine:
  Version:      17.06.2-ee-10
  API version:  1.30 (minimum version 1.24)
  Go version:   go1.8.7
  Git commit:   66261a0
  Built:        Fri Apr 27 00:54:58 2018
  OS/Arch:      windows/amd64
  Experimental: false
PS C:\Users\cfischer>
PS C:\Users\cfischer> cmd /c ver
Microsoft Windows [Version 10.0.17134.1]
PS C:\Users\cfischer>
PS C:\Users\cfischer> docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
bce2fbc256ea: Pull complete
83eec61707e8: Pull complete
eaac79658f14: Pull complete
09da50837088: Pull complete
Digest: sha256:f5233545e43561214ca4891fd1157e1c3c563316ed8e237750d59bde73361e77
Status: Downloaded newer image for hello-world:latest
C:\Program Files\Docker\docker.exe: Error response from daemon: container 74958c143d725d0afc2d457469c9303fc98accb9ff6167173a0826cf7092e071 encountered an error during CreateContainer: failure in a Windows system call: The operating system of the container does not match the operating system of the host. (0xc0370101) extra info: {"SystemType":"Container","Name":"74958c143d725d0afc2d457469c9303fc98accb9ff6167173a0826cf7092e071","Owner":"docker","IsDummy":false,"VolumePath":"\\\\?\\Volume{fed9d49d-1b9f-4195-a532-4a08096ef85f}","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\\ProgramData\\docker\\windowsfilter\\74958c143d725d0afc2d457469c9303fc98accb9ff6167173a0826cf7092e071","Layers":[{"ID":"30dde3bb-dfd7-53ac-96f3-a72d0a74d5e6","Path":"C:\\ProgramData\\docker\\windowsfilter\\581d60f1bdd23652eccde984720201a17d24e880fe57030591965a0c50d1816a"},{"ID":"a242d455-1535-5222-b594-f055e0145de0","Path":"C:\\ProgramData\\docker\\windowsfilter\\58cd8bc47436da9a913e63e2f1d0e8882d7d515c165cc556ed3915798d5047ef"},{"ID":"0e0b7890-2f62-5496-8449-b481acdfe937","Path":"C:\\ProgramData\\docker\\windowsfilter\\c6d9b7edd9318d701b880e1c1f2b05473cb2b0b1ebdf46b707ab186b78950605"},{"ID":"78ad4f8e-a3e8-5934-98eb-e7baaeb7b86f","Path":"C:\\ProgramData\\docker\\windowsfilter\\4f1427a6a56a9830796b02ea09dcbe751bf11453f5048af770d86c7866f59e89"}],"HostName":"74958c143d72","MappedDirectories":[],"HvPartition":false,"EndpointList":["bae01aa3-448c-4b28-9860-3f8018bdc303"],"Servicing":false,"AllowUnqualifiedDNSQuery":true}.

The official images don't have any 1803 infra set up to actually build it yet. :cry: ￼￼😣
Related issue: https://github.com/docker-library/golang/pull/224

https://github.com/docker-library/golang/pull/224 has been merged, does that enable progress here?

Yeah, https://github.com/docker-library/hello-world/pull/48 :+1:

@tianon is there something else that needs to happen? I still only see 2016 and 1709
Dockers-MacBook-Air-6:~ $ docker manifest inspect library/hello-world | grep os.version
            "os.version": "10.0.14393.2312"
            "os.version": "10.0.16299.492"

Manually confirmed with Server 1803 ver 10.0.17134.1


Master data management

[X] Writes to independent physical sterams per journal instance

This PR breaks most of current functionality. Next PRs to follow will start fixing and adding features.
Removed unnecessary parts. They will be reused in the future as features are added. I have created an /old package containing the original functionality for faster orientation. It will be removed.

+1 on breaking current functionality and fixing it with further PRs. LGTM except some minor issues (see comments).


doc:  basic hash bin delegation repo example + test

Fixes #1673 (together with #1685)
Description of the changes being introduced by the pull request:
As 'repository_tool' and 'repository_lib' are being deprecated, hash bin delegation interfaces are no longer available in this    implementation. The example code in this file demonstrates how to  easily implement those interfaces, and how to use them together with the TUF metadata API, to perform hash bin delegation.
Note, the hash bin delegation logic in this example is largely  copied from 'repository_{lib, tool}', but modernized and simplified  for this purpose.
Notes to reviewers

I sneaked in a tiny unrelated docfix (954c159e1ece42a3b917d3a71f7d5ce3171140e7). If someone is appalled by this breach of pull request protocol, I'm happy to move it to a separate one. :P
I would appreciate simplification-suggestions regarding my probably sometimes long-winded phrasing in the explanatory texts/comments of hashed_bin_delegation.py. (@jhdalek55 to the rescue!)
Besides purely technical linguistic help, I'd appreciate an assessment whether the example needs more/less/other explanations about TUF/Metadata API/Hash bin delegation, etc..

Thanks!!
Please verify and check that the pull request fulfills the following
requirements:

[ ] The code follows the Code Style Guidelines
[ ] Tests have been added for the bug fix or new feature
[ ] Docs have been added for the bug fix or new feature

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

58 of 59 (98.31%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.005%) to 97.575%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

examples/repo_example/hashed_bin_delegation.py
58
59
98.31%

Totals

Change from base Build<PHONE_NUMBER>:
-0.005%

Covered Lines:
4088

Relevant Lines:
4173

💛  - Coveralls

figure out how to handle NUMBER_OF_BINS changes

I had the same thought, while revising (and trying to re-understand) the binning logic. In reality a user does not care about the exact NUMBER_OF_BINS, but rather about an "appropriate" distribution of target files over bins. So it probably makes more sense to provide an interface, where the user specifies the expected number of target files (or corresponding classes of target numbers).


Commitizen

Using the commitizen alias git cz or an alias for git commit like git ci seems to bypass the pre-commit hook
any way to fix this?

Not in this repository. You should report it to their repository.


Hidden Articles

Describe the feature you'd like
I would like to have hidden public articles that doesn't appear on the menu or when a user search for a keyword, the article only accessed by direct URL.
Describe the benefits this would bring to existing BookStack users
Some public articles may contain information that we dont need everyone to read. For example, in a classroom, we want certain students to follow some instructions to install a program.
Can the goal of this request already be achieved via other means?
I was able to create a chapter and hide it from the public, but the articles inside the chapters are searchable. if a user search for a keyboard, they can see and access the hidden article.
Can we add a feature to exclude certain article from the search
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?
1 to 5 years
Additional context
No response

Thanks for the request @anaszak, but I'd consider the fundemental desire/request here to be similar enough to #1691 to be a duplicate, so I'm going to close this off as so.


[Tiering] API contract for status API

Is your feature request related to a problem? Please describe
Come up with the API contract for status api for index under-going tiering.
Describe the solution you'd like
API, request, response, failure cases.
Related issues
#13294

[Triage - attendees 1 2 3 4 5 6 7 8]
@neetikasinghal Thanks for creating this issue; however, it isn't being accepted due to this issue doesn't have enough detail for anyone else to implement or verify a related pull request. Please feel free to open a new issue after addressing the reason."


Cross check theory calculations

Are the shear-shear and shear-galaxy power spectra and correlation functions calculated in this notebook using the randomfield package correct (in linear theory) ?

I compared the calculated shear-shear correlation functions in the [notebook] (https://github.com/DarkEnergyScienceCollaboration/BremertonRoundTrip/blob/master/notebooks/LensingTheoryCalculations.ipynb) to Fig. 2 in Becker et al. (DES) for theta > 100 arcmin (l < 200) where we expect them to match. It appears that the DES correlation functions are consistently a factor of 2 (or very close to 2) higher than the calculations.

The calculated lensing shear power spectrum is also approximately a factor of 2 lower than the predicted spectrum in the slides from Hu, at source redshift equal to 1 and across all values of \ell. See plots in issue #6.

The matter power spectrum checks out.
Could there be a unit problem -- Mpc^2 versus (Mpc/h)^2 would give a factor of 2 problem...


Define the group \Z^3

The group \Z^3 is meant to represent the subgroup <x, y, z> in P.
One approach to defining this group and the relevant properties is:

[ ] Show that \Z is a(n Abelian) group
[ ] Define the product of two (Abelian) groups
[ ] Show that \Z is torsion-free
[ ] Show that the product of two torsion-free Abelian groups is torsion-free

Additionally, description of homomorphisms and the associated properties is required:

[ ] Define the notion of a group homomorphism
[ ] Define the image and kernel of a homomorphism, and show that they are groups
[ ] (Optional) Show that the kernel is a normal subgroup

Describing the homomorphisms on a free group requires a few preliminaries:

[ ] Define the notion of "generators" of a group
[ ] Show that a homomorphism from a group is entirely determined by its values on the generators
[ ] As a corollary, deduce that equality of homomorphisms on a finitely-generated group is decidable.

It is not clear that this much is required. On the other hand, we do want to show that $\Z^3$ is indeed free, not just torsion free.

Further, you do not need to define the notion of "generators of a group" in general for free groups. Indeed that may make things harder. It is better to directly define, for a group F and a set B (list?), that F is a free group with basis B via the universal property.


BED-4978 feat: add instant redirect if only 1 sso provider is configured

Description
Moved LoginForm to bh-shared-ui
If a single SSO provider is configured we want to redirect immediately instead of displaying form
Motivation and Context
This PR addresses: BED-4978
QoL sso improvement
How Has This Been Tested?
Tested locally via bhe-sso with 1 sso provider configured
Screenshots (optional):
Types of changes

New feature (non-breaking change which adds functionality)

Checklist:

[x] I have met the contributing prerequisites

Assigned myself to this PR
Added the appropriate labels
Associated an issue: https://github.com/SpecterOps/BloodHound/issues/672
Read the Contributing guide: https://github.com/SpecterOps/BloodHound/wiki/Contributing

[x] I have ensured that related documentation is up-to-date

Open API docs
Code comments (GoDocs / JSDocs)

[x] I have followed proper test practices

Added/updated tests to cover my changes
All new and existing tests passed

Because this work has been ready for merge pending a different release blocking merge, it has been changed to point to stage/v6.2.0 and will be allowed to merge directly into the release staging branch to be picked up by the next RC at that point.


Create a CODE_OF_CONDUCT.md

As for the CONTRIBUTING file we should have a Code of Conduct file to be sure everyone is:

kind with each other users contributing to the project
proactive to stop any violation to the above point
be inclusive
A good sample is GitHub CoC sample (here)[https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md]

Similarly we could reuse the CNCF CoC.

That's a brilliant idea ...researching from there I landed on https://www.contributor-covenant.org/ I think we could adopt it and use it exposing also the badge as they indicate.
If everyone else agree and we put a like on @evrardjp suggestion we may proceed and call the PR.

re-issue using my contributor account for clarity
That's a brilliant idea ...researching from there I landed on https://www.contributor-covenant.org/ I think we could adopt it and use it exposing also the badge as they indicate.
If everyone else agree and we put a like on @evrardjp suggestion we may proceed and call the PR.

yeah it's also a good one!


failed to process partitioned parquet from s3 to sql

Hello,
I need to process using sql sintaxis a partitioned parquet file from s3.
Reading doc, I can write the following code:
df3 = wr.s3.select_query(
        sql='SELECT * FROM s3object',
        path='s3://mkn-mkn/pandas/pandas_fake_data-30.parquet/state/city',
        input_serialization="Parquet",
        input_serialization_params={},
        use_threads = True
)

And I expect to a dataframe with the 'select * from ' execution.
But, I got the following error message:
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (404) when calling the HeadObject operation: Not Found

can i run s3-select_query applying partitioned parquet?
Using python 3.8, wrangler  <IP_ADDRESS>
Tx

Based on your example, it seems that your S3 path is incorrect: s3://mkn-mkn/pandas/pandas_fake_data-30.parquet/state/city. Should it not be something along the lines of: s3://mkn-mkn/pandas/state/city/pandas_fake_data-30.parquet perhaps?

Hi @jaidisido ,
Thank you for your response.
You are right, my mistake  but using pandas_fake_data-30.parquet as s3 bucket name , i got the same error code.
I can undestand that it seems to be as file not found, but be sure,  partitioned parquet file is there.
how can i set the right  s3 bucket and parque file using partitions??
Tx

S3 select should be able to read a single parquet file if it exists. Whether the data is partitioned should not matter.
Here is an example with public data:
import awswrangler as wr

df = wr.s3.select_query(
        sql="SELECT * FROM s3object s where s.\"star_rating\" >= 5",
        path="s3://amazon-reviews-pds/parquet/product_category=Gift_Card/part-00000-495c48e6-96d6-4650-aa65-3c36a3516ddd.c000.snappy.parquet",
        input_serialization="Parquet",
        input_serialization_params={},
        use_threads=True,
)

The data in the bucket is partitioned by product_category but S3 select can still read a single parquet file (not multiple though).
Did you try querying the file using S3 select but from the AWS S3 console?

Hi @jaidisido
I am testing using simple python from doc ...
df = wr.s3.read_parquet(
    path='s3://mkn-dojo/pandas/pandas_fake_data-30.parquet', # i dont know how set if partitioned and multiple keys/files
    dataset=True,
    partition_filter=lambda x: x['state'] == 'Nevada', # a example filter ...
    use_threads=True
)
print(df)
df3 = wr.s3.select_query(
        sql='SELECT * FROM s3object',
        path='s3://mkn-dojo/pandas/pandas_fake_data-30.parquet',
        input_serialization="Parquet",
        input_serialization_params={},
        use_threads = True
)

#df.loc[:, df.columns != "product_title"].head()
print (df3)

Running and shows error
$ c:/85-python/parquet/p3.py
          full_name                         email                   datetime   state       city
0  Shelby Mcconnell<EMAIL_ADDRESS>2007-09-19 04:49:34.599171  Nevada  Las Vegas

<stack trace error >

    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (404) when calling the HeadObject operation: Not Found

About the s3 bucket,

Using aws cli,

what am i doing wrong?
can i use multiple partitiosn and files parquet s3 files?
Tx

@eskuai, as stated in the tutorial, S3 select operates on a single S3 object, you cannot read multiple objects at once. It's meant to be used for very large files (up to several TBs) where the user wishes to delegate the querying and filtering server-side instead of client-side (See blog for more details).
For the use case that you have in mind (i.e. reading multiple partitions), wr.s3.read_parquet is the right method and your first example is correct.

Hi @jaidisido
I understand the scene, but i dont need to used TBs ... i want to use MBs ...
Then, I have to read again all parquet files to make a big dataframe and launch sql queries on it?
def s3_url(bucket, prefix, folder=False):
    return "s3://{bucket}/{prefix}{folder}".format(bucket=bucket,prefix=prefix,folder="/" if folder else "")

def mysql(q):
    return sqldf(q, globals())

clientS3 = boto3.client('s3')
bucket_name='mkn-dojo'
bucket_prefix='pandas/pandas_fake_data-30.parquet'
rows=None
print ("start reading all parquets files")
for my_bucket_object in clientS3.list_objects_v2(Bucket=bucket_name, Prefix=bucket_prefix)['Contents']:
    if my_bucket_object['Key'].endswith('.parquet'):
        s3_path = s3_url(bucket=bucket_name, prefix=(my_bucket_object['Key']))
        df = wr.s3.read_parquet(path=s3_path)
        rows = pd.concat([df, rows])

print ("all parquet recollected as one")
print (mysql("SELECT * FROM rows where full_name like '%M%' ;"))

I think that a PR about may be considered ...
Tx

You don't need to loop over objects, this is already handled by  the wr.s3.read_parquet method which unlike wr.s3.select_query can read multiple objects and partitions:
wr.s3.read_parquet(path='s3://mkn-dojo/pandas/pandas_fake_data-30.parquet/')

should read all the partitions and objects under that path. I am not sure what you think is missing.


Initially only one transaction displayed on transaction tab, but after switching to new account all are shown

OS affected: OSX, Windows and linux are unknown
Unfortunately I only see this issue from time to time.  When I open a wallet and click on the transactions tab, only one of the transactions that should be there is (in this case the oldest).   I will update this wallet if it happens again, and attempt to save some state.

Jim, when it happen, please save qt logs and specify the account name

logs.zip
gui_wallet_32.zip
The account was 'default'  the wallet instance was gui_wallet_32 (wallet folder attached as zip)

Update: mwc713 works good.  Seems like we have problems because of wrong transaction count.
There are two issues on the qt wallet side.

Account switch probably was optimized wrongly.
Tx are in the cache. Tx count is not needed

@scasaletto ,  I cleaned tx  count.  Because of that Transaction Windows manage page position and Page.  Transaction State doesn't manage that, so code is cleaned up. Now tx cache code is smaller because of that.


Thrift compiler does not run correctly automatically as part of the build system in out-of-source builds

From a fresh clone:
$ make
Scanning dependencies of target thrift-generated-files-error
[  2%] Generating ErrorCodes.thrift
ErrorCodes.thrift created.
[  2%] Built target thrift-generated-files-error
Scanning dependencies of target thrift-cpp
[  5%] Running thrift compiler on ErrorCodes.thrift
[  7%] Running thrift compiler on beeswax.thrift
[ 10%] Running thrift compiler on TCLIService.thrift
[ 12%] Running thrift compiler on ExecStats.thrift
[ 15%] Running thrift compiler on ImpalaService.thrift
[ 17%] Running thrift compiler on Status.thrift
[ 20%] Running thrift compiler on Types.thrift
[ 20%] Built target thrift-cpp
Scanning dependencies of target hs2client_thrift
make[2]: *** No rule to make target `src/gen-cpp/ImpalaService.cpp', needed by `src/gen-cpp/CMakeFiles/hs2client_thrift.dir/ImpalaService.cpp.o'.  Stop.
make[1]: *** [src/gen-cpp/CMakeFiles/hs2client_thrift.dir/all] Error 2
make: *** [all] Error 2

I got the same problem. You should run cmake in the root directory of the project, instead of creating a subdirectory and run cmake.
# This works:
cmake .

make -j4

# This won't work!!!!
mkdir build

cd build

cmake ..

make -j4


microsoft-applicationinsights-angularplugin-js.mjs error EcmaScript.

Hi,
Angular: 11.2.4
version 2.6.2 also builds without errors. But after the latest version I am getting the following error.
Before : "@microsoft/applicationinsights-angularplugin-js": "^2.6.2",
After : "@microsoft/applicationinsights-angularplugin-js": "2.6.2",
after doing that it was fixed.
ES3 support was removed after version 2.6.3, but I was not getting any errors in the build. I'm getting an error in 2.8.
NOT: I saw that angular 13 support came in version 2.8. Does the problem come from that?
Error<EMAIL_ADDRESS>79:30-49
Can't import the named export 'BaseTelemetryPlugin' from non EcmaScript module (only default export is available)
at HarmonyImportSpecifierDependency._getErrors (/home/vsts/work/1/s/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:88:6)
at HarmonyImportSpecifierDependency.getErrors (/home/vsts/work/1/s/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:68:16)
at Compilation.reportDependencyErrorsAndWarnings (/home/vsts/work/1/s/node_modules/webpack/lib/Compilation.js:1463:22)
at /home/vsts/work/1/s/node_modules/webpack/lib/Compilation.js:1258:10
at _next0 (eval at create (/home/vsts/work/1/s/node_modules/tapable/lib/HookCodeFactory.js:33:10), :41:1)
at eval (eval at create (/home/vsts/work/1/s/node_modules/tapable/lib/HookCodeFactory.js:33:10), :55:1)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
@ ./apps/b2b-app/src/app/app.module.ts
@ ./apps/b2b-app/src/main.ts
@ multi ./apps/b2b-app/src/main.ts

We too had the similar issue and we're on Angular v11.

Creating a specific Angular 11 release to support Application Insights v2.7.4 as BaseTelemetryPlugin was added in later releases to support automatic upgrades.

Ok, I've just released an Angular 11 v2.7.1 which is targeting Application Insights v2.7.4, if you upgrade both to these version this will (I believe) resolve the TypeScript warnings you are seeing.
For the ES3 support was removed after version 2.6.3 This was specifically driven (I believe) by Angular 11 and you should still be able to support an ES3 environment by installing ES3 (IE8) polyfills, the trick is to load them first to ensure that libraries that use non-ES3 compliant functions (directly) still function.
Currently the 2.x.x ApplicationInsights versions support ES3 by using internal ES3 helpers (rather than global polyfills) so that we don't interfere with apps that detect ES3 by the presence of unsupported functions. From version 3.x (of Application Insights -- later this year) will be removing the internal usage of these helpers and it will require either an ES5+ runtime environment or you install polyfills before starting the SDK.
Generally, we provide backward compatibility in Application Insights (AI core will load and run older plugins), but we don't support or guarantee forward compatibility (which I think is your error) where a component built with a newer version of AI works with an older SDK as the newer components want to features that don't exist in older versions. This is why we generally set the "base" required version in the package.json

Closing for now as I believe upgrading to the latest version for Angular 11 (2.7.1) with Application Insights 2.7.4 should resolve your issue.
And using ES3 polyills if necessary -- or alternatively keeping with the previous versions.
I've also created a discussion issue to see how we might better support versioning. https://github.com/microsoft/applicationinsights-angularplugin-js/issues/57

@ensgenc, I believe that I have finally found and fixed the IE8 (ES3) issue that broke 2.6.3. I've just published v2.7.2 which is using Application Insights v2.7.5 which should address the issue -- If you get a chance can you please validate that this addresses your original issue

v2.7.2 is still for Angular11 and I'm in the process of creating a 2.9.1 for Angular 13 to provide the same set of fixes using Application Insights 2.8.2


Not Working with Firefox in kali linux offline

Only show 4 grey boxes area without any image but works firefox in windows 7
Supposed to show 1106 thumbnail images as show below

but actual only show 4 grey boxes

Thanks for the report.
A couple of questions to help me troubleshoot this.

Can you press F12 (open Web Console) and post a screenshot of any logged errors?
Which version of Firefox?
Does the "online" version work in the same browser: https://x0a.github.io/thumbdata3-viewer/

I don't have Kali Linux but I have Ubuntu and am unable to replicate on Firefox 63.0

I have been able to replicate the bug with Kali Linux 2019.1 using Firefox 60 ESR. Problem was Firefox was incorrectly assuming blob URLs from worker.js were cross origin and refusing to load them. This appears to be an unreported Firefox bug. Solution was to send the binary images to index.js directly and have index.js create the object URLs itself.
Fixed in https://github.com/x0a/thumbdata3-viewer/commit/796a63a750631287466d6e18ee87153963b687cb by having worker.js send raw binary data instead of blob URLs, and having index.js create the object URLs instead
Please try the new version and verify that the problem is resolved. Feel free to reopen this issue if you are still having problems
Thanks


[tool_crash] FileSystemException: Creation failed, OS Error: No such file or directory, errno = 2

Command
flutter pub get

Steps to Reproduce
As soon as I choose flutter v 2.5.3, I get the following error
Logs
FileSystemException: Creation failed, OS Error: No such file or directory, errno = 2
#0      _Directory.createSync (dart:io/directory_impl.dart:133:7)
#1      ForwardingDirectory.createSync (package:file/src/forwarding/forwarding_directory.dart:20:16)
#2      ErrorHandlingDirectory.createSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:433:22)
#3      _runSync (package:flutter_tools/src/base/error_handling_io.dart:597:14)
#4      ErrorHandlingDirectory.createSync (package:flutter_tools/src/base/error_handling_io.dart:432:12)
#5      EngineCachedArtifact.updateInner (package:flutter_tools/src/cache.dart:794:19)
<asynchronous suspension>
#6      CachedArtifact.update (package:flutter_tools/src/cache.dart:688:5)
<asynchronous suspension>
#7      Cache.updateAll (package:flutter_tools/src/cache.dart:557:9)
<asynchronous suspension>
#8      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1227:7)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
<asynchronous suspension>

[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-arm, locale en-CA)
    • Flutter version 2.5.3 at /Users/ketanchoyal/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (3 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/ketanchoyal/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] VS Code (version 1.62.0-insider)
    • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
    • Flutter extension version 3.27.0

[✓] Connected device (3 available)
    • iPhone 13 Pro (mobile) • 4A7F5873-9F07-4E31-96E6-EFD68A757A56 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.0.1 21A559 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 95.0.4638.69
    ! Error: Ketan's iPad is not connected. Xcode will continue when Ketan's iPad is connected. (code -13)

! Doctor found issues in 2 categories.

Flutter Application Metadata
Type: app
Version: 1.0.0+2
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: beta
Creation framework version: 5d36f2e7f5387b6c751449258ade8e4e6edf99be
Plugins
connectivity_plus-1.0.6
connectivity_plus_linux-1.0.3
connectivity_plus_macos-1.0.2
connectivity_plus_web-1.0.2
connectivity_plus_windows-1.0.2
device_info-2.0.0
file_picker-4.1.4
firebase_auth-3.1.3
firebase_auth_web-3.1.2
firebase_core-1.7.0
firebase_core_web-1.1.0
firebase_messaging-10.0.8
firebase_messaging_web-2.0.6
flutter_keyboard_visibility-5.1.0
flutter_keyboard_visibility_web-2.0.0
flutter_plugin_android_lifecycle-2.0.3
google_maps_flutter-2.0.9
google_maps_flutter_web-0.3.1
image_gallery_saver-1.7.1
image_picker-0.8.3
image_picker_for_web-2.1.2
package_info_plus-1.0.1
package_info_plus_macos-1.1.1
package_info_plus_web-1.0.1
path_provider-2.0.1
path_provider_linux-2.0.0
path_provider_macos-2.0.0
path_provider_windows-2.0.0
photo_manager-1.3.0
sentry_flutter-5.1.0
share_plus-2.1.4
share_plus_macos-2.0.2
share_plus_web-2.0.4
shared_preferences-2.0.5
shared_preferences_linux-2.0.0
shared_preferences_macos-2.0.0
shared_preferences_web-2.0.0
shared_preferences_windows-2.0.0
sqflite-2.0.0+3
url_launcher-6.0.7
url_launcher_linux-2.0.0
url_launcher_macos-2.0.0
url_launcher_web-2.0.1
url_launcher_windows-2.0.0
video_compress-3.1.0
video_player-2.1.12
video_player_web-2.0.2
video_thumbnail-0.4.3
wakelock-0.5.2
wakelock_macos-0.1.0+1
wakelock_web-0.2.0+1

Hi @ketanchoyal, Thanks for filing the issue. Can you please share a minimal and complete reproducible code to better address the issue?
Thanks

Closing this issue as a duplicate of https://github.com/flutter/flutter/issues/65242


Fix typescript typings issue

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

v4.2.1
GitHub release

Your semantic-release bot :package::rocket:


[MX-292] - Don't show email validation error for 3rd party auth

https://artsyproduct.atlassian.net/browse/MX-292

Don't show email error on social in mobile login
Don't show email error on social in desktop login
Add test for email validation errors

Co-authored with @ds300
Adds a check that was already present for some login dialogs to prevent showing email validation errors when signing in with a 3rd party.
Before

After

Related to this pull request, these dialogs seem to show errors pretty aggressively (onBlur events) so was wondering if it would be better to only show errors on tapping 'Login' 'Sign Up' etc. As it stands you get a validation error when clicking anywhere on screen, including for example the button to close the dialog.

LGTM!


Basic auth support for http services

This PR add support for basic auth.
Basic auth is automatically configured if following secret is configured for a service:
secrets:
  - secret: BASIC_AUTH_FOR_XYZ
    name: KONTENA_LB_BASIC_AUTH_SECRETS
    type: env

$ kontena vault write BASIC_AUTH_FOR_XYZ << EOF
→ user user1 password <bcrypt_password>
→ user user2 insecure-password pass1234
→ EOF

Password can be encrypted eg. with:
docker run -ti --rm alpine mkpasswd -m sha-512 passwd
This needs the LB support: https://github.com/kontena/kontena-loadbalancer/pull/21
fixes #1053

Docs are missing, otherwise looks good.

Yep, I'll add the docs.

Docs added.

LGTM!


Server Internal Error

We installed stellar blockchain follow by this website:
https://labs.imaginea.com/stellar-private-network-setup-and-wallet-app-tutorial/
But we got a problem when we run stellar-wallet-application and <IP_ADDRESS>:4000/faucet and set request msg to the public key for the request then response message to like this:

and in stellar-wallet-application log show like this:

How to solve a problem?
Thank you!
and information on my stellar horizon like this.

Looks like the problem is with your JS script, not Horizon. Please try to ask in one of our communities.


Dependency errors

I've created a new venv and activated it. I then ran this:
.\pip.exe install git+https://github.com/Ianyliu/blast-radius-fork
And this is what I get:
`ERROR: Cannot install Flask, blastradius, blastradius==0.1.25 and werkzeug==2.3.6 because these package versions have conflicting dependencies.
The conflict is caused by:
blastradius 0.1.25 depends on markupsafe==2.0.1
jinja2 3.1.2 depends on MarkupSafe>=2.0
werkzeug 2.3.6 depends on MarkupSafe>=2.1.1
blastradius 0.1.25 depends on markupsafe==2.0.1
jinja2 3.1.2 depends on MarkupSafe>=2.0
werkzeug 2.3.5 depends on MarkupSafe>=2.1.1
blastradius 0.1.25 depends on markupsafe==2.0.1
jinja2 3.1.2 depends on MarkupSafe>=2.0
werkzeug 2.3.4 depends on MarkupSafe>=2.1.1
blastradius 0.1.25 depends on markupsafe==2.0.1
jinja2 3.1.2 depends on MarkupSafe>=2.0
werkzeug 2.3.3 depends on MarkupSafe>=2.1.1
To fix this you could try to:

loosen the range of package versions you've specified
remove package versions to allow pip attempt to solve the dependency conflict
`

If I do a pip list, there are no packages installed and I'm definitely in the venv. Seems like the packages that are trying to be installed have a dependency conflict with each other. It's looking for Markupsafe version 2.0.1 (first line) but also greater than 2.0.1...
I think your requirements.txt needs to update the dependency for markupsafe to >= 2.0.1.

Thank you @chaoscreater !


rails g device:install

Afrter adding device gem in gemfile.
$ bundle install
$ rails g device:install
/usr/local/lib/ruby/2.7.0/x86_64-linux/stringio.so: warning: already initialized constant StringIO::VERSION
Running via Spring preloader in process 6989
Could not find generator 'device:install'.
Run rails generate --help for more options.
..
now getting this issue also tried spring stop but didn't work

@arun2github Your error says Could not find generator 'device:install'. but it's devise with an s instead of c.
Can you try rails g devise:install?

@arun2github Your error says Could not find generator 'device:install'. but it's devise with an s instead of c.
Can you try rails g devise:install?

Just had same issue but off course without that typo:
damuz91@MacBook-Pro-de-David-2 admin % rails g devise:install
Running via Spring preloader in process 16747
Deprecation warning: Expected string default value for '--controller'; got false (boolean).
This will be rejected in the future unless you explicitly pass the options `check_default_type: false` or call `allow_incompatible_default_type!` in your code
You can silence deprecations warning by setting the environment variable THOR_SILENCE_DEPRECATION.
Could not find generator 'devise:install'.
Run `rails generate --help` for more options.

I'm gonna go ahead and close, please let us know if that still doesn't work and we can reopen.


Docker Compose

Just wondering how I can pass --bind and --canonical-address in a docker-compose.yml?

It'd be inside your Dockerfile that you link to from docker-compose.yml... e.g. CMD [ "rethinkdb", "--bind", "all" ]


MTU is ignored for new Device

Hello everybody,
I am having an issue, where it seems as if smoltcp is ignoring the provided MTU (provided by a Virtio device). The reason why this is important is, that I want to measure the performance of my driver, for small packets and for different MTU's.
Allthough I think the inability to send small packets is due to the current implementation of the kernel, as it seems as if it is not possible to set  the "no_dealy" option, of rust's std::net::stream.
Short overview of the context of the problem:
I am working on a rust based unikernel, who uses smoltcp as its network stack in user-space. Smoltcp communicates via some syscalls, with a kernel based virtio network driver.
When I now set the MTU of the smoltcp device to a given value, it seems to be ignored. I only assume this, as the buffers, smoltcp requests for sending always follow the slow start pattern of TCP until they reach their maximum size of 1514 bytes, regardless which MTU is set in the smoltcp device.
Is this the expected behaviour? I wondered if I am not understanding the protocol correctly or something else?
I also digged through the smoltcp code-base, up to the point, where the ethernet interface dispatches. Here it seems as if the interface is checking with the device's MTU. I also read something about a hack (Something with differnces in buffer size and window size) needed because of the working of the TCP protocol.
I appreciate any help on the topic.
The smoltcp device is implemented as follows:
impl<'a> Device<'a> for HermitNet {
	type RxToken = RxToken;
	type TxToken = TxToken;

	fn capabilities(&self) -> DeviceCapabilities {
		let mut cap = DeviceCapabilities::default();
		cap.max_transmission_unit = self.mtu.into();
		cap
	}

	fn receive(&'a mut self) -> Option<(Self::RxToken, Self::TxToken)> {
		match unsafe { sys_receive_rx_buffer() } {
			Ok(buffer) => Some((RxToken::new(buffer), TxToken::new())),
			_ => None,
		}
	}

	fn transmit(&'a mut self) -> Option<Self::TxToken> {
		trace!("create TxToken to transfer data");
		Some(TxToken::new())
	}
}

During init of the device, the MTU is evaluated by a syscal, which my driver will answer with the MTU set by Virtio device. I checked, and this call returns the value I assigned to the virtio device.
Thank you for your help!
Resources
Kernel: https://github.com/hermitcore
Device in Kernel: https://github.com/hermitcore/rusty-hermit/blob/master/hermit-sys/src/net/device.rs
Implementation of rust's network interface: https://github.com/rust-lang/rust/blob/master/library/std/src/sys/hermit/net.rs
Edited:
I updated the comment, as I noticed I missed providing resources and the problem of small packets not being used.

I think this is a bug, yes.
When sending packets, only the remote Win and MSS is taken into account. I think it should also take into account our own MTU, to not send packets larger than that.
Should be easy to fix.
https://github.com/smoltcp-rs/smoltcp/blob/1268fb3d8ddeb1814a6b3a49f1647d1bbf3debd8/src/socket/tcp.rs#L1561

@Dirbaio is correct.

Thank you very much for the fast help and the fast fix!
Should I create a pull-request or do you want to create one @Dirbaio?
I am fairly new to open-source development and unsure about this.
Once again. Thank you!
And one further question:

Can I force smoltcp to send packets directly? I am unsure, if this is a smoltcp issue or depends on the implementation of the kernel...

Go ahead with the PR :)

Can I force smoltcp to send packets directly?

Not sure what you mean.
If you want to send raw IP packets, you can use RawSocket. There's no way to send raw Ethernet packets currently.
If you want smoltcp to send packets as soon as you write to the sockets, that's not currently possible. By design sockets buffer the data and send it when you poll the interface. Changing this would be a major redesign and I don't think it'd play nicely with the borrow checker.

Changing this would be a major redesign and I don't think it'd play nicely with the borrow checker.

Also correct. Arguably the most important design principle of smoltcp is "only safe Rust in core code". That's not the only way to do a network stack (indeed it would be perfectly reasonable to have a network stack not abiding by this principle), but it is the way smoltcp works, chiefly because it was written as a response to inexplicable lwip-related memory corruption issues. And I don't believe there is any way to do this without unsafe code.

Thank you both again for the quick reply. I can perfectly use these arguments in my thesis.
Is there a timeout, after which the socket buffers are emptied?
Pull Request is made.

You can set a timeut with .set_timeout(). If the timeout passes wihtout hearing from the other end, the socket changes to Closed. That doesn't instantly clear the buffers (so you can still get queued data). They get cleared when you .connect() or .listen() to reuse the socket.

Fixed by #384.


AdApi : Allow Group Adds in Create and Modify Calls

Depends on Issue SynapseProject/handlers.ActiveDirectory.net#73


Fix font data clone error when pdfBug is enabled.

The widths property should be an object to match what metrics returns.
In ZapfDingbats.pdf I was getting a data clone error with pdfBug enabled.
In buildCharCodeToWidth() there was an encoding with the name "at" which
is also the name of a method on an array. buildCharCodeToWidth assumes an
object is passed in, so when it checked for the "at" property, it found the
method and copied it over.
This only seemed to affect Firefox.

so when it checked for the "at" property, it found the
method and copied it over.
This only seemed to affect Firefox.

That's probably because at isn't generally available in browsers yet, with the exception of Firefox Nightly, given that it's a very recent addition to the ECMAScript specification. There's also currently some web compatibility questions regarding the name itself; see https://github.com/tc39/proposal-relative-indexing-method/issues/41

so when it checked for the "at" property, it found the
method and copied it over.
This only seemed to affect Firefox.

That's probably because at isn't generally available in browsers yet, with the exception of Firefox Nightly, given that it's a very recent addition to the ECMAScript specification. There's also currently some web compatibility questions regarding the name itself; see https://github.com/tc39/proposal-relative-indexing-method/issues/41

/botio test

/botio test

Thanks!

Thanks!


Support for Typescript 4.x

Describe the feature
I am told that the reason that AWS CDK depends on Typescript 3.9 is beacuse of jsii in #18743,  I am now stuck in a situation where cdk cannot use typescript above 3.9 and tsc cannot use typescript below 4.2 (due to @types issue 60310).  While that might get reverted eventually, it points to the long term unsustainable nature of requiring a version of a key library that is both an entire major version behind and 7 overall releases behind.
Use Case
Compatibility: I cannot run cdk after running npm up at all because @types/prettier automatically upgrades unless manually pinned (which I did not know to do), nor can I initialize a new cdk workspace with typescript because the install grabs the latest version of @types/prettier which won't work with the required version of typescript.
Proposed Solution
Upgrade the supported version of typescript.
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request
[X] This feature might incur a breaking change

CDK version used
2.28.1 (build d035432)
Environment details (OS name and version, etc.)
Ubuntu 20 LTS with node 16 from https://nodesource.com/, but also tested and verified on OSX 12.2 with node from homebrew

@RichiCoder1 you're correct, this is the current plan. I've investigated doing a "bring your own typescript" with adapters but it turns out to be nearly impossible to do without creating a maintenance nightmare.
The RFC still stands as the best plan I have so far, and I would like to implement that sooner rather than later (but so far received very little traction/interest).

Given that DefinitelyTyped just dropped support for TS versions <4.x (as they only support TS versions that are less than two years old), this issue seems to become a bit more pressing 😅
Related: https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/64262

We are actively working on RFC 373, and plan to have preview releases out as soon as possible.

That's awesome! I'm sure the team is aware, but hopefully some of the insight from that work can help with the now impending TS 5 release coming out this quarter. I don't think there's an urgency, but still!

So I guess with jsii@^5 typescript 5 is now supported and this issue is resolved?
CDK ^2.72 uses migrated to use jsii@~5 and ts 5
https://github.com/aws/aws-cdk/commit/6d581d7d4a0107dc5acd532c603f90d253d8f72e
https://aws.github.io/jsii/compiler-and-rosetta-maintenance/

So I guess with jsii@^5 typescript 5 is now supported and this issue is resolved?
CDK ^2.72 uses migrated to use jsii@~5 and ts 5 aws/aws-cdk@6d581d7 https://aws.github.io/jsii/compiler-and-rosetta-maintenance/

Yes, modern TS is fully supported now.


Uncaught Error: Cannot read property 'object' of undefinedTypeError: Cannot read property 'objec...

[Enter steps to reproduce below:]

...
...

Atom Version: 1.10.2
Electron Version: 0.37.8
System: Mac OS X 10.11.6
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
at ObjectsRegistry.get (/Applications/Atom.app/Contents/Resources/electron.asar/browser/objects-registry.js:44:28)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:309:31)
at emitMany (events.js:121:13)
at EventEmitter.emit (events.js:195:7)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:141:25)
at emitTwo (events.js:100:13)
at EventEmitter.emit (events.js:185:7)
At /Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:178

Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
    at ObjectsRegistry.get (/Applications/Atom.app/Contents/Resources/electron.asar/browser/objects-registry.js:44:28)
    at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:309:31)
    at emitMany (events.js:121:13)
    at EventEmitter.emit (events.js:195:7)
    at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:141:25)
    at emitTwo (events.js:100:13)
    at EventEmitter.emit (events.js:185:7)
    at metaToValue (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:178:13)
    at undefined.remoteMemberFunction (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:112:18)
    at AtomEnvironment.module.exports.AtomEnvironment.getWindowDimensions (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:636:29)
    at AtomEnvironment.module.exports.AtomEnvironment.storeWindowDimensions (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:670:36)
    at WindowEventHandler.module.exports.WindowEventHandler.handleWindowBlur (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:182:35)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61

Commands

Config
{
  "core": {
    "disabledPackages": [
      "linter-flow"
    ]
  },
  "editor": {
    "fontSize": 12,
    "invisibles": {},
    "softWrap": true
  }
}

Installed Packages
# User
atom-beautify, v0.29.13 (active)
atom-css-comb, v3.1.0 (inactive)
atom-ternjs, v0.15.0 (active)
autocomplete-emojis, v2.5.0 (active)
autocomplete-modules, v1.6.7 (active)
autocomplete-paths, v1.0.2 (active)
autocomplete-python, v1.8.6 (active)
color-picker, v2.2.2 (active)
comment-headers, v2.15.0 (inactive)
docblockr, v0.8.5 (active)
git-plus, v5.18.0 (active)
join-plus, v0.4.0 (inactive)
js-patterns-atom-snippets, v0.2.1 (active)
keyboard-localization, v1.4.18 (active)
language-lua, v0.9.11 (active)
language-meta-script, v0.0.4 (inactive)
lcov-info, v0.12.0 (active)
linter, v1.11.18 (active)
linter-eslint, v7.3.2 (active)
linter-flow, v5.5.0 (inactive)
markdown-writer, v2.6.1 (active)
merge-conflicts, v1.4.4 (active)
pigments, v0.37.0 (active)
react, v0.16.0 (active)
terminal-panel, v1.14.1 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.5.0 (active)
one-light-ui, v1.5.0 (inactive)
one-dark-syntax, v1.3.0 (active)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.3 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.2 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.41.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (active)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.39.0 (active)
find-and-replace, v0.201.0 (active)
fuzzy-finder, v1.3.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (active)
image-view, v0.58.2 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v0.53.1 (active)
notifications, v0.65.0 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2 (active)
snippets, v1.0.2 (active)
spell-check, v0.67.1 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.0 (inactive)
tabs, v0.100.2 (active)
timecop, v0.33.2 (active)
tree-view, v0.208.2 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.1 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.2 (active)
language-csharp, v0.12.1 (active)
language-css, v0.37.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.42.1 (active)
language-html, v0.45.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.23.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.2 (active)
language-less, v0.29.5 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.2 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.69.0 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.56.0 (active)
language-shellscript, v0.22.4 (active)
language-source, v0.9.0 (active)
language-sql, v0.23.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.9 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

This is a duplicate of #11692 - feel free to subscribe there for updates.


Effects not the same as the original

Hi,
First, just like to say this project is amazing! Good job! I'm just noticing the effects specifically the scroll effect is not the same as the original. The one by @not-matt (Systematic-LEDs) is a lot smoother and looks nicer. I know there are settings to tweak but I can't seem to perfect it. I tried his fork but the same problem persists.
Thanks in advance,
lpearl

could you describe how exactly its smoother? i could fix it up real quick

I will try my best to explain it. instead of creating pulses of light that go down the strip it creates a wave. In yours there gaps in the pules so you can differentiate the sounds. In this, all the lights are on and there are no gaps. Thanks for the response!

@not-matt any updates?

Same thing here.. @not-matt  your original effects was much better. this one looks totally different


Switched to using Java8 Calendar

The data object is mostly deprecated, this switches to using the
calendar object. Furthermore, the patch switches to serializing/deserializing
date/time values as ISO8601 instead of timestamps, as those are more
frequently used by browsers.

Coverage remained the same at 100.0% when pulling 14ab32d49e29a8662a949bf8d09c0db9f6660f78 on feature/calendar into ff5a8214aea824e48ccd75205154787b21dcd3c2 on develop.


Macros

I was just thinking of developing something that allows me to automate  a little my ACNH experience. But  instead of writing my own I think I can help you with this.
I'll be happy to make a DSL for writing and running macros.
Do you have any strong opinions on the subject?

Thanks for asking! Yes I have lots of plans and opinions for macros, especially for AC. I'd actually like to implement some of these fake QOL updates by suggesting default macros to use based on the content on your screen. I'm just waiting to get my video capture device before testing more.
As for a DSL, I've outlined our API spec that is written with lots of consideration for people writing macros: https://github.com/juharris/switch-remoteplay/blob/master/server/README.md#api
I suggested you use and update that.

That's a really cool video!
Reading the API it appears to me that the parsing should be done by the client (so it can take care of the wait instruction). I think that may unsync the sequence.
I mean a d, (some instructions), wait 100, a u would probably not wait at all if it takes more that 100 ms for the server to execute (and receive) those instructions. Should the server take care of that?
Also I'm thinking of adding some control structures, like a repeat n instruction.

Wait
Yeah I'm not completely sure who should do the wait but I am leaning more towards the server doing it:
advantages for server:

server already has command parsing logic
it would be tricky for the client to parse and run complicated command with sequences and conjunctions
more reliable in case the client has an error sending the command
server can handle waits that might have already happened since it can take time to send a command. e.g. 'wait 20' is probably useless and we don't need to wait at all

advantage for client:

maybe more reliable that the wait actually happens and doesn't cause extra threads to stay running on the server

Loops
Yes I've also been thinking of a good looping syntax. For loop I want to support:

loop n times
loop forever
loop until condition (we don't even have conditionals in our DSL yet so I'm not sure how this one will look)

I was thinking of supporting: 'loop N {EXPRESSION} where:

N: a number or 'FOREVER'
EXPR: any expression supported by our DSL

BTW As for security of these things, I'm not so worried since I hope people don't really expose there servers too publicly but I have lots of plans for various security features and configuration to enable/disable them. For example, we would have options to allow/ban infinite loops and an option for max N for a loop.

I think repeat is a very expressive keyword for a loop that can repeat N or Forever. Also I'm thinking, to simplify the writing of macros, to use a more verbose syntax allowing only one instruction per line and using indentation for sub blocks.
For example:
s left down && s left right
repeat 8
    a d
    wait 100
    a u

It's a bit more wasteful with the character count, but not that much. Braces would be ok too.
This would mean that proper parsing is needed, thought.
For the conditionals we need some kind of expression first. Maybe we should wait for the video capture to really know which kind of interesting conditions exist.

I don't have strong feeling for loop vs. repeat but I've seen loop in AutoHotkey.
Yeah that multiline style is nice but I image people would write macros within our client page in the browser and so the actual API styling would be handled elsewhere. Although I guess we should support loading macros from a file so this styling does matter. Even though I do like Python, I think for non-devs, we shouldn't really rely on just whitespace to parse commands, so have braces is safer than only whitespace/indents. Yeah character count isn't great but I think that's ok for macros. I mainly want to make sure that natural input from keystroke, controllers, etc. is as fast as possible.

BTW you should DM me on Twitter and I can add you to our Discord server. LMK if you don't have Twitter.


ci(e2e): test against multiple iOS versions

Description
I've broken the iOS E2E test into its own reusable workflow, taking the iOS version as an input - similar to #2968. It is called when a PR is opened, and run against one iOS version. It's also called against multiple iOS versions on main (when a commit is pushed; when called from the Github UI; on a schedule, once daily).
Other changes
I've also changed the name of the JUnit report check (for both iOS and Android), so we get one report for each OS version. Before, on main, the report would be overridden by subsequent OS version runs.
Tested
The test suite has been run multiple times against the re-provisioned MacStadium boxes.
How others should test
N/A
Related issues
RET-275
Backwards compatibility
The required branch protection check will need to be updated from iOS to iOS (14.5) before this PR is merged.

@jacob-israel-turner it looks like the iOS status isn't reporting on the PR.

Yeah, the name of the check has changed. Same thing happened on the Android PR. We'll have to update it on main, right before I merge. If I update it now, other PRs will fail until this one is merged.


GCP 3.9: Initial Setup Added

What does this PR do?
Scripts to create project, SA, ssh_keys, etc
How should this be manually tested?
configure gcp.vars and run gcp_setup.sh
Who would you like to review this?
cc: @e-minguez PTAL

Those scripts are no longer updated and are not supported. Closing this. Thanks


Add codestyle to version control

This will allow all dev IDEs to stay in-sync for code styles. A baseline codestyle has been set for Kotlin, Java, and XML. I also reviewed styles for Groovy and YAML, but Android Studio seemed to decide those weren't going in the sync file as I don't think I changed any defaults.
Kotlin styles should be using official style guide.
This is just a baseline, style decisions are open to team input!

Is this official Kotlin style guide? if not, then I suppose we should better pick that instead of creating our own
Also we may need to integrate ktlint later to enforce this styles to everyone

TLDR
I don't think that we need this changes because we already have this setup.

The codestyle is already using official Kotlin guidelines.
You can check that it's aligned by trying change kotlin code style with:
https://kotlinlang.org/docs/reference/coding-conventions.html#applying-the-style-guide
XML uses 'android' settings that I set setFrom.
Occasional code formattings in the PRs is the result that some code was added before we introduced common codestyle or someone didn't format code then another person did.

So there appears to be a codestyle in source control now on develop? I didn't see on on my initial checkout of the project, which is odd, but I do see on on dev branch that this PR tracks against.
Not sure why that wasn't working correctly in my IDE, but this is no longer a new file PR. Closing unless this changes, but looks like it tracks on dev now.

So there appears to be a codestyle in source control now on develop? I didn't see on on my initial checkout of the project, which is odd, but I do see on on dev branch that this PR tracks against.
Not sure why that wasn't working correctly in my IDE, but this is no longer a new file PR. Closing unless this changes, but looks like it tracks on dev now.

Maybe you've cloned master branch first -- it's still has old project structure.


Implement DisplayMode and DisplayTrait for better mode handling

Signed-off-by: Daniel Egger<EMAIL_ADDRESS>

@jamwaffles Putting this out there to get some feedback. I was hoping that there was a generic way to use From/Into traits to stay with the DisplayMode object and just make it change modes on the fly and allow for easy introduction of new modes without having to teach the DisplayMode impl about it. Also I wanted to use Deref to get automatic type coercions to the underlying mode but I couldn't make it work with generic types.

So I've had a quick play around with this and I seem to have been able to get rid of the DisplayMode trait and impl From for GraphicsMode. My only beef is that this way we'd have to make the user specify the type of display they want to .into(), which gets pretty noisy. It does mean the driver is quite a bit cleaner though.

Can the mode still be switched at a later point? Specifying the mode is quite okay for me because that's exactly what a user should do, I'd rather try to get rid of other noise (like specifying the DisplayInterface all the time).

The idea behind the trait is to have a common interface that would allow to easily implement new modes and have a guaranteed API for this.

Sorry, was half way through typing this when you commented so I'll post it as a FWIW:
I've also managed to nicely fix the DisplayTrait naming problem.
I've also just readded into_graphicsmode().

Can the mode still be switched at a later point?

Haven't tested yet! I'll implement a dummy mode and see how far I get.

I'd rather try to get rid of other noise (like specifying the DisplayInterface all the time).

Where do you mean? In the driver or in application code?

The idea behind the trait is to have a common interface

Right, of course! I'll keep playing... there's still the naming problem. I'll try and think of something.

I've also managed to nicely fix the DisplayTrait naming problem.

Uhm... :-D

I've also just readded into_graphicsmode().

That's specifically what I wanted to get rid of: It's not scalable (requires methods in every mode for every other available mode) and does not allow for custom modes.

Where do you mean? In the driver or in application code?

Everywhere, I find it a major PITA to manage all the different generics and bounds plus if you get a small detail wrong it's really easy to get a crapload of non-saying errors (it actually is a lot more readable when rendered by GH compared to a terminal):
error[E0308]: mismatched types
  --> examples/blinky_i2c.rs:91:15
   |
91 |         DISP: disp,
   |               ^^^^ expected struct `ssd1306::mode::GraphicsMode`, found struct `ssd1306::mode::displaymode::DisplayMode`
   |
   = note: expected type `ssd1306::mode::GraphicsMode<ssd1306::interface::I2cInterface<blue_pill::i2c::I2c<blue_pill::<unnamed>::I2C1, (blue_pill::gpio::gpiob::PB8<blue_pill::gpio::Alternate<blue_pill::gpio::OpenDrain>>, blue_pill::gpio::gpiob::PB9<blue_pill::gpio::Alternate<blue_pill::gpio::OpenDrain>>)>>>`
              found type `ssd1306::mode::displaymode::DisplayMode<ssd1306::properties::DisplayProperties<ssd1306::interface::I2cInterface<blue_pill::i2c::I2c<blue_pill::<unnamed>::I2C1, (blue_pill::gpio::gpiob::PB8<blue_pill::gpio::Alternate<blue_pill::gpio::OpenDrain>>, blue_pill::gpio::gpiob::PB9<blue_pill::gpio::Alternate<blue_pill::gpio::OpenDrain>>)>>>, ssd1306::mode::GraphicsMode<_>>`


Destroying the response body stream does not abort the request in node-fetch v2

In node-fetch v3, if the response body stream is destroyed before the request completes, the request is aborted. This is useful when piping the body into another stream using pipeline():
const response = await fetch(...)
pipeline(response.body, fs.createWriteStream(...))

If an error occurs, pipeline() destroys response.body, which in turn aborts the request.
Unfortunately, this doesn't work in node-fetch v2.
Reproduction
This script requests a large file and immediately destroys the response body stream:
import { setTimeout } from 'node:timers/promises'
import fetch from 'node-fetch'

console.log("PID:", process.pid)
// Any large file will do
const url = 'https://upload.wikimedia.org/wikipedia/commons/5/58/Sunset_2007-1.jpg'
const response = await fetch(url)
response.body.destroy()
await setTimeout(100000)

With node-fetch v2, a socket stays open. (I verify this with ss -tnp | grep pid=PID)
With node-fetch v3, this doesn't happen.
Your Environment

software
version

node-fetch
2.6.11

node
16.14.2

npm
8.5.0

Operating System
Ubuntu 22.04

Additional context
As a workaround, one can use an AbortController to abort the request when the response body is closed. Something like:
const ctrl = new AbortController()
const response = await fetch(url, { signal: ctrl.signal })
response.body.on('close', () => {
  if (!response.bodyUsed) {
    ctrl.abort()
  }
})

But it would be nicer if node-fetch did that automatically instead.

In node-fetch v3, if the response body stream is destroyed before the request completes, the request is aborted. This is useful when piping the body into another stream using pipeline():
const response = await fetch(...)
pipeline(response.body, fs.createWriteStream(...))

If an error occurs, pipeline() destroys response.body, which in turn aborts the request.
Unfortunately, this doesn't work in node-fetch v2.
Reproduction
This script requests a large file and immediately destroys the response body stream:
import { setTimeout } from 'node:timers/promises'
import fetch from 'node-fetch'

console.log("PID:", process.pid)
// Any large file will do
const url = 'https://upload.wikimedia.org/wikipedia/commons/5/58/Sunset_2007-1.jpg'
const response = await fetch(url)
response.body.destroy()
await setTimeout(100000)

With node-fetch v2, a socket stays open. (I verify this with ss -tnp | grep pid=PID)
With node-fetch v3, this doesn't happen.
Your Environment
software	version
node-fetch	2.6.11
node	16.14.2
npm	8.5.0
Operating System	Ubuntu 22.04
Additional context
As a workaround, one can use an AbortController to abort the request when the response body is closed. Something like:
const ctrl = new AbortController()
const response = await fetch(url, { signal: ctrl.signal })
response.body.on('close', () => {
  if (!response.bodyUsed) {
    ctrl.abort()
  }
})

But it would be nicer if node-fetch did that automatically instead.

@emcsween Have you figured out how to resolve this issue? I got the same bug.

@chungquantin I use the workaround described above in the description of this issue.


Windows missing QrSyncError Enum variant build fix

Got " variant or associated item not found in QrSyncError" error when building project on Windows while it was working fine on linux so I'm pushing this simple fix for this cool project :) .
error in console

error in editor

Hey! Thanks a lot for your contribution! I don't have a window machine, so this part is not really well tested. I'll release a new version on crates.io this afternoon!

I just published v0.2.3 to crates.io :)

sweet ,thanks 👍


Orient only selection along Principal Axes

I am trying to select just one chain from a protein and would like to orient just this chain along its Principal Axes. Currently, NGL viewer orients it along the principle axes of the whole structure and not the selection.
Is it possible to do it just for a chain/selection?

Adapting the example in the interaction-controls document, you can do something like:
stage.loadFile("rcsb://1blu").then(function (o) {
  o.addRepresentation("ball+stick", { color: "atomindex" })

  // For whole structure
  //  var pa = o.structure.getPrincipalAxes();

  // For residues 1-10:
  var pa = o.structure.getView(new NGL.Selection('1-10')).getPrincipalAxes();
  stage.animationControls.rotate(pa.getRotationQuaternion(), 1500);
})


Update preparing_microsoft_windows_laptops_and_tablets.md

Context
Changes proposed in this pull request
Guidance to review

Added via https://github.com/DFE-Digital/get-help-with-tech/pull/349, closing.


Parser wait for template functionality does not work correctly

Parser wait for template functionality does not work correctly. It does not wait for any template, because of bogus wait implementation.
The following code should wait for specific template to be available in ElasticSearch [1]
function wait_for_template {
  local template_name="$1"
  local MASTER_URL="<%= p("logstash.output.elasticsearch.data_hosts").first %>:9200"

  set +e
  while true;  do
    echo "Waiting for index template to be uploaded: $template_name"
    curl -X HEAD -f -i "$MASTER_URL"/_template/$template_name > /dev/null 2>&1
    [ $? ] && break
    sleep 5
  done
  set -e
  echo "Found $template_name"
}

But actually the [ $? ] && break statement is fully evaluated, which causes the loop to break, even if the curl exited with a non-zero status. Changing the statement to [ $? -eq 0 ] && break should do the trick.
[1] https://github.com/logsearch/logsearch-boshrelease/blob/ee8467b4943968e58a07e1c05d9c20529ef5540f/jobs/parser/templates/bin/parser_ctl#L9-L22

PR #249 proposes a fix for the issue. However, if the template is not found within 30 seconds, Monit will give up on starting the process and report an error.
From the Monit documentation:
In the case of a process check, Monit will wait up to 30 seconds for the
start/stop action to finish before giving up and report an error.
You can override this timeout using the TIMEOUT option.

Do you think 30 seconds are sufficient for this , or we should add with TIMEOUT option to the Monit start command?


Save failed

helpers.js:44
   Uncaught TypeError: Cannot read properties of undefined (reading 'transaction')
at helpers.js:44:31
at Array.forEach (<anonymous>)
at qo.Ts (helpers.js:42:11)
at index.mjs:972:20
at Array.forEach (<anonymous>)
at index.mjs:971:31
at C.u [as save] (JSONEditor.svelte:51:5)
at v (App.svelte:54:12)
at So.<anonymous> (App.svelte:84:39)
at index.mjs:972:20

ace.js:3621
   Could not load worker TypeError: e.split is not a function
at ace.define.t.moduleUrl (ace.js:3749:22)
at ace.define.$createWorkerFromOldConfig (ace.js:19120:45)
at new l (ace.js:19098:50)
at h.createWorker (json.js:300:22)
at f.$startWorker (ace.js:9779:39)
at f.$onChangeMode (ace.js:9735:18)
at f.<anonymous> (ace.js:9715:22)
at ace.define.t.loadModule (ace.js:3787:26)
at f.setMode (ace.js:9704:16)
at f.set (ace.js:10979:35)

Notification.svelte:13
   Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first.

I've noticed two things while trying this feature of the extension out:

The Uncaught TypeError: Cannot read properties of undefined (reading 'transaction') at helpers.js:44 occurs when the target table is empty (i.e. []). I managed to work around this by populating the table with a dummy record in the web application, then importing my data and saving it.
I've encountered severe performance issues. I'm unsure if this is a bug in the IndexedDBEdit extension, the web application itself, or Chrome. It seems to take ~30s per 1000 lines of imported JSON. During this time, the Google Chrome Helper (Renderer) process is at full CPU usage and depending on the table, the UI of the web app can also be unresponsive.

(I'm on an M1 Pro Macbook, running macOS 13.5.2, Chrome 118)


funnier zen

changed explicitly silenced to explicitly garbage collected ,hope its not offensive btw

This change takes us further away from PEP 20, by removing the phrase explicitly silenced, which is a reference to the original zen. So.. no.


dot11.go: set Dot11MgmtProbeReq payload properly

This fixes #749. It's a subset of the requested changes from #148 and #542, but those never got merged. Hopefully something a bit leaner and meaner will fair better.

I'm currently working with Dot11 packets and noticed that gopacket didn't decode Dot11InformationElement layers from Dot11MgmtProbeReq, then I found this PR and tried it.
This code unfortunately don't pass the tests as it fails TestPacketPrism at the last Dot11InformationElement layer as it's missing 4 bytes.
I tried to remove this len(data) - 4  from here https://github.com/google/gopacket/blob/3aa782ce48d4a525acaebab344cedabfb561f870/layers/dot11.go#L1064
but then the other tests obviously fail.
So my questions are:

Is it correct to remove the last 4 bytes from Dot11 packets?
Is the Prism packet correct?


Add context to sync producer

I need to think about this some more. I can't quite get the code to work and pass the race detector.


Spelling error decorations and suggestions (Partial for #388)

Spelling error decorations and suggestions (Partial for #388)
https://github.com/user-attachments/assets/9157f26a-50b9-4af9-8309-1945a1728be7

@miguelcmedeiros - I addressed your issues.
https://github.com/user-attachments/assets/f0733c52-8bfc-4008-a71f-19bf1ae1a2cb
Do you want to try out the configurable toolbar builder with tap region ID to make sure you can build the kind of toolbar you want with the given API?
The configuration point is at the plugin level. You pass your own toolbar builder to the plugin.

Test failure is due to non-existent screenshot files that currently exist on main. We need to copy those to stable.

Do you want to try out the configurable toolbar builder with tap region ID to make sure you can build the kind of toolbar you want with the given API?

@matthew-carroll tried to give it another go with the latest changes, but it was not possible. Left a few comments related to why it was not possible.

@miguelcmedeiros I updated the widget tree to use the toolbar builder, exported all source files, and removed the tap region ID from the toolbar build interface.

@miguelcmedeiros any comments at all? any adjustments? do you think you should try to ship with this PR before we merge, or do you feel good about us merging this?

@angelosilvestre can you take another look. I resolved most of your comments, and then followed up with a few of them.
I think as soon as you approve this PR, we're ready to merge in. Superlist seems happy with it.

@angelosilvestre do you wanna do a final pass? I think the goldens should be OK now, but let me know if you see anything wrong there.

@angelosilvestre I fixed a task spelling error bug - can you check the goldens again?


ShopifyAPI::Fulfillment.find is returning 404 errors at random

I have a set of order_ids and fulfillment ids that if I run automatically it fails, if I run them manually it works fine.
I'm getting these errors when running automatically.
!ruby/exception:ActiveResource::ResourceNotFound
response: !ruby/object:Net::HTTPNotFound
http_version: '1.1'
code: '404'
message: Not Found
header:
server:
- nginx
date:
- Thu, 08 Nov 2018 20:29:45 GMT
These ids are consistently failing:
order_id<PHONE_NUMBER>22 and fulfillment_id<PHONE_NUMBER>58
order_id<PHONE_NUMBER>87 and fulfillment_id<PHONE_NUMBER>23
order_id<PHONE_NUMBER>37 and fulfillment_id<PHONE_NUMBER>97
order_id<PHONE_NUMBER>10 and fulfillment_id<PHONE_NUMBER>18
order_id<PHONE_NUMBER>49 and fulfillment_id<PHONE_NUMBER>93
order_id<PHONE_NUMBER>49 and fulfillment_id<PHONE_NUMBER>93
order_id<PHONE_NUMBER>29 and fulfillment_id<PHONE_NUMBER>09
order_id<PHONE_NUMBER>87 and fulfillment_id<PHONE_NUMBER>23
order_id<PHONE_NUMBER>22 and fulfillment_id<PHONE_NUMBER>58
order_id<PHONE_NUMBER>10 and fulfillment_id<PHONE_NUMBER>18
order_id<PHONE_NUMBER>87 and fulfillment_id<PHONE_NUMBER>23
order_id<PHONE_NUMBER>87 and fulfillment_id<PHONE_NUMBER>23
order_id<PHONE_NUMBER>49 and fulfillment_id<PHONE_NUMBER>93
order_id<PHONE_NUMBER>49 and fulfillment_id<PHONE_NUMBER>93

None of these orders exist on the shop you're making these requests against. They were either deleted or belong to another shop. This is not a concern specific to the shopify_api gem, closing.

No that's not true. You did not read the post. If I find these fulfillments manually the gem works fine. Its when they are run in a chain that it fails. and it fails consistently.

Are you certain calling find manually is hitting the same shop? Because again, these orders do not appear to exist on these shops when I look at them myself with these order IDs. Is this replicable on other shops? Can you write a script demonstrating this issue if so? I'll re-open if we can determine this is for sure a shopify_api issue.


certificate has expired (VSCODE | CHROME | ANGULAR)

I use vscode to debug an angular project, it's served behind traefix with ssl certificate. I remote debug through chrome. And I get the following error:
Could not read source map for https://example.com/runtime.js: Unexpected 503 response from https://example.com/runtime.js.map: certificate has expired

But if I type https://example.com/runtime.js.map directly in the address bar. It will get it with no problem and the cert is not expired.
The problem might be connected with my cert. It's issued by Issuer: C = US, O = Let's Encrypt, CN = R3. Browsers are ok with it. But postman, curl, vscode not. Any work aroud for this?
Please take a look at this issue, it seems works needed to be done on vscode side, because by updating to the latest version of postman, the problem is gone.

https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

By deleting DST Root CA X3 from Manage user certificates on Win10 and restart my PC. It works again.

It seems DST Root CA X3 keeps adding back to windows 10 certs by vscode. The problem still exists.


Implementation of getViewers() and remove. Tests too

Description
Implementation of Inventory::getViewers, and Inventory::remove
Needed it for writing unit tests on my own project
Checklist
The following items should be checked before the pull request can be merged.

[ X] Version number updated in settings.gradle.
[ X] Unit tests added.
[ X] Code follows existing code format.

Info on creating a pull request
Before the pull request can be accepted, the version number stored in settings.gradle should be updated.
MockBukkit uses semantic-versioning (https://semver.org/)

If the PR fixes a bug in MockBukkit, update the patch version. (if the current version is 0.4.1, the new version should be 0.4.2)
If the PR adds a new feature to MockBukkit, update minor version. (if the current version is 0.4.1, the new version should be 0.5.0)
Make sure that unit tests are added which test the relevant changes.
Make sure that the changes follow the existing code format.

Note that a PR that fixes an UnimplementedOperationException should be considered a new version and not a bugfix.
The version number can be found in settings.gradle.

Alright noted.

What the...
How did you manage to break literally everything...?
This will be a hard rejection. Please fix your set up so that it doesn't break the entire project and perhaps PR again later.


trigger should have been triggered

Describe the Bug with repro steps
Trigger is not triggering despite condition being fulfilled. For trigger when blob is modified or added - the blob was modified but the function was not triggered
What type of Logic App Is this happening in?
Consumption (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
Trigger is not triggering despite condition being fulfilled
Browser
Chrome
Additional context
none
AB#24989783

This seems like it's likely an issue happening on the backend so moving to that issue list for it to be seen by the right people.


AuxPoW: Truncate AuxPoW when covered by a checkpoint

Fixes https://github.com/namecoin/electrum-nmc/issues/68
Requires https://github.com/kyuupichan/electrumx/pull/710 on the server side in order to work properly; Electrum-NMC will automatically disconnect from any servers that don't have that PR.

ElectrumX has merged kyuupichan/electrumx#710 ; it's not yet in a tagged release, so I'll wait for that to happen before pestering the public server operators to upgrade.

It's now in a tagged release, so we should ask the public server operators to upgrade.

Luggs has upgraded; Ulrich's server is down anyway, so I think this is safe to merge now.


Document which in-place updates work and which ones don't

It's non-obvious. See #1712.

This is fixed by #5073

@yujuhong @vishh v1beta3 didn't get the "cannot be updated" annotations. Could one of you

I will do that.

Thanks @yujuhong for picking that up!
On Wed, Mar 11, 2015 at 8:56 AM, Yu-Ju Hong<EMAIL_ADDRESS>wrote:

I will do that.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/1728#issuecomment-78292265
.


Webpack2 config question

I'm having trouble getting this to work with webpack 2. I have an angular2 setup where I write .scss files, which get converted to .css by node-sass, which are ultimately require()'ed from my javascript (typescript) files (in angular2 components).
I copied the configuration from the README verbatim, but the output (.css files) of my .scss files aren't autoprefixed. I tried a display: flex in my .scss, but i didn't see any vendor prefixes in the .css output,
I'm trying to incorporate autoprefixer (and potentially other postcss plugins) into this webpack config: https://github.com/qdouble/angular-webpack2-starter/blob/master/webpack.config.ts#L132.   But nothing seems to work.
I'm pretty much lost here, am I totally missing some steps? Any suggestions?

What version exactly you have?
What webpack/postcss config you have?

"webpack": "2.1.0-beta.25"
I don't have a postcss config file, is that the problem? I thought the section with
require('precss'),
require('autoprefixer')

was a substitute for the config file, to specify which plugins to run?
My webpack config for css is literally straight from the README at this point.

Could you show full config? :)

Sure, here it is: https://gist.github.com/Matmo10/04da27830124b9ededfed03a214a5f93#file-webpack-config-ts-L86

In https://github.com/qdouble/angular-webpack2-starter/blob/master/webpack.config.ts#L132
- { test: /\.css$/, loader: 'raw-loader' }
+ {
+   test: /\.scss$/,
+   use: [
+     'style-loader',
+     {loader: 'css-loader', options: { importLoaders: 1 }},
+     {loader: 'postcss-loader', options: { plugins: () => [ require('autoprefixer') ] }}
+     'sass-loader'
+   ]
+ }

You have .scss files, but rule in webpack config has test: /\.css$/,, so it works only for .css files ;)

I write my styles with .scss, but my app uses the .css files, because Angular2 AOT compilation requires .css files at this point.
So my angular2 components look like this:
@Component({
   selector: 'my-loader',
   templateUrl: 'loader.component.html',
   styleUrls: ['loader.component.css']
})

In this case, I would actually be developing in loader.component.scss. Correct me if I'm wrong, but wouldn't webpack "test" here and use the .css block/rule/loader(s) ?
Before I actually "compile" the angular2 project, I run node-sass to generate all my css files. While I develop, I also use node-sass -w to watch and continuously re-generate the css files.

Could you show your exactly config if you changed that config? ;)

The gist I provided is my config, I've only made a few tweaks from the started project I linked above

Could you show your final config, please? Not base config with a diff ;).

This is the full config: https://gist.github.com/Matmo10/62643df359d4697aac337165007ee013

Could you try to use postcss-loader without Angular magic? I think problems is in .scss → .css Angular AOT things.

In my case, angular and webpack have no idea about the .scss files. I use node-sass totally outside the context of webpack to create the .css files, and that happens before I even start webpack.
When the webpack starts compiling/serving the angular app, it should only know and care about the .css files.
{test: /\.css$/, loader: 'raw-loader'} works fine to load the css (without any postcss stuff), but when I try the config from the README I get the following error: Uncaught Error: Expected 'styles' to be an array of strings.(…) from angular, because it seems to be loading an array of a single empty object instead of a string like the raw-loader does.
I also see all these errors when I use postcss-loader, not sure if its related:
 66% building modules 794/850 modules 56 active ...orms/src/directives/error_examples.jsTypeError: Cannot read property 'config' of null
    at /Users/myUserNameHere/myProjectHere/ng2app/node_modules/postcss-load-config/index.js:50:22
 66% building modules 819/865 modules 46 active<EMAIL_ADDRESS>Cannot read property 'config' of null
    at /Users/myUserNameHere/myProjectHere/ng2app/node_modules/postcss-load-config/index.js:50:22
 66% building modules 820/865 modules 45 active<EMAIL_ADDRESS>Cannot read property 'config' of null
    at /Users/myUserNameHere/myProjectHere/ng2app/node_modules/postcss-load-config/index.js:50:22
 66% building modules 848/905 modules 57 active .../compiler/src/i18n/serializers/xtb.jsTypeError: Cannot read property 'config' of null
    at /Users/myUserNameHere/myProjectHere/ng2app/node_modules/postcss-load-config/index.js:50:22
 66% building modules 849/905 modules 56 active .../compiler/src/i18n/serializers/xtb.jsTypeError: Cannot read property 'config' of null
    at /Users/myUserNameHere/myProjectHere/ng2app/node_modules/postcss-load-config/index.js:50:22
 66% building modules 863/919 modules 56 active ...g-monitor/src/dock-monitor/reducer.jsTypeError: Cannot read property 'config' of null
    at /Users/myUserNameHere/myProjectHere/ng2app/node_modules/postcss-load-config/index.js:50:22
 66% building modules 864/919 modules 55 active ...g-monitor/src/dock-monitor/reducer.jsTypeError: Cannot read property 'config' of null
    at /Users/myUserNameHere/myProjectHere/ng2app/node_modules/postcss-load-config/index.js:50:22
 66% building modules 865/919 modules 54 active ...g-monitor/src/dock-monitor/reducer.jsTypeError: Cannot read property 'config' of null
    at /Users/myUserNameHere/myProjectHere/ng2app/node_modules/postcss-load-config/index.js:50:22
 66% building modules 866/919 modules 53 active ...g-monitor/src/dock-monitor/reducer.jsTypeError: Cannot read property 'config' of null
    at /Users/myUserNameHere/myProjectHere/ng2app/node_modules/postcss-load-config/index.js:50:22
 67% building modules 883/919 modules 36 active ...g-monitor/src/dock-monitor/reducer.jsTypeError: Cannot read property 'config' of null
    at /Users/myUserNameHere/myProjectHere/ng2app/node_modules/postcss-load-config/index.js:50:22

Maybe I just need to read up on the differences between styles-loader, css-loader, and raw-loader. I feel like I just need the right combination or configuration to make it work, but all the documentation related to webpack is so lacking :|

@michael-ciniawsky ^ seems like we still have warnings
Why you use node-sass outside of webpack and don’t do it by sass-loader? Sorry, your config seems like too complicated to me, I have no idea, how to fix it ;).
Try to make it more simple.

Because angular2 AOT compilation requires css at the moment. I'm using this specialized angular loader, but I see other angular2 projects which are also using this angular2-template-loader using the following loader setups for css:
https://github.com/angular/angular2-seed/blob/master/webpack.config.js :
      { test: /\.css$/, loaders: ['to-string-loader', 'css-loader'] }

https://github.com/aspnet/JavaScriptServices/blob/dev/templates/Angular2Spa/webpack.config.js :
            { test: /\.css$/, loader: 'to-string!css' },

https://github.com/AngularClass/angular2-webpack-starter/blob/master/config/webpack.common.js :
        {
          test: /\.css$/,
          loaders: ['to-string-loader', 'css-loader']
        }

so I think I need just need to swap out raw-loader and use to-string-loader instead. I just need to get the order right now.
My understanding from the README is that postcss-loader should run first, then css-loader should run second.
So I think I need to do this:  loaders: ['to-string-loader', 'css-loader', 'postcss-loader'] (or loader: to-string!css!postcss). I just need to figure out how to do this correctly in the webpack config now.

Sorry, have no idea. You should ask somebody who know all that Angular magic or make build process more simple 😊.


read last-known sensor configuration from priv/sensor.json

This is hard because it is hardware specific. But:

Each HW genserver  (ex. BrickPiState) should, on init
See if priv/data/sensors.json exists and is non-empty
Parse it using JSX.decode
find all of the port configurations for their hw specific ports
and set the port to be that value (call python)
notify the UI to update its button fields and launch a humane.log event

-When the user changes the port

update sensors.json

Also, PythonQuerier, on load, should check its appropriate state (BrickPiState, GrovePiState), get the last known args, and pass them to the python modules setup function.


don't calculate pixel width of input

I'm probably missing something, as there is no visual test for this functionality, but.
You currently have a great deal of code to calculate exact pixel width of helper INPUT element and it's doing good job. However, I think that almost the same functionality with little bit better compatibility with accessibility displays and other rare cases, as well as with much less code can be obtained by using well supported ch unit.
ch is a width of 0 in current font and it's not exact measurements of value string width, but you are using pre and magic number of 75% in this function anyway, so this variant can be tuned in similar way (something like length * 0.75 should be pixel perfect)  if you want. For my taste, I will leave it like this.
Also found that current tests are using non-existent _placeholderValue property, but still passing well 🧐
Unfortunately, this functionality can't be tested with JSDOM due to lack of ch support there (I've filled appropriate Pull Request), so, I've tested by temporary using em units, and also manually in browser.
Now, it's up to you, as it's not pixel perfect and have some edge case where it leaves a little of space at the end on some strings. But I ❤ this solution.

My Pull Request to JSDOM/cssstyle was merged tonight, so, soon it will be also testeable feature (with next JSDOM release hopefully).

This is awesome 👌 thanks


Accepting both values for new and sale

Related issues
closes #3800
Short description and why it's useful
Sometimes our API returns boolean values, which effects on displaying items on the front-end. This PR is a quickfix that accepts both formats. In the future would be nice to fix that in the API directly.
Which environment this relates to

[x] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[x] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[ ] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

Contribution and currently important rules acceptance

[x] I read and followed contribution rules

Hi @andrzejewsky ,
There is a little difference in fields mapping between projects:
mage2vuestorefront and magento2-vsbridge-indexer.
I can change mapping in magento2-vsbridge-indexer (add a switcher to map boolean attribute as integer).
Attribute calculation is taken place:
https://github.com/DivanteLtd/magento2-vsbridge-indexer/blob/develop/src/module-vsbridge-indexer-catalog/Index/Mapping/AbstractMapping.php
I guess attribute "sale"/"new" is using \Magento\Catalog\Model\Product\Attribute\Source\Boolean as source model.
What do you think?

@afirlejczyk would be great! This PR is just a quickfix and answer for the requests from the community, but the best solution is just unify these types, so would be nice if you can do this, thanks!

Yes, I know.
I created an issue for this and will take of if later.
https://github.com/DivanteLtd/magento2-vsbridge-indexer/issues/158


fix(chore): links to author repository

theaqua -> evgenyrodionov

@sergeysova, you can rebase to master in order to fix lint errors.


SSL Support

https://github.com/PerfectlySoft/Perfect allows the ability to start the server with a cert+key. Since HTTPS is now recommended everywhere, along with initiatives like https://letsencrypt.org, what do you think?

:+1: thanks for this report !
I am going to add OpenSSL soon.
Best

Super! Please let me know if you need QA/Testing
Thank you for all your hard work into this lib :)

Any update on this? This library is very easy to use, but I need to run my local server in https in production.

I love the library, but I need to use https in production (and we are moving to production very soon).
Please give an ETA on this.
Thanks!

We really want to use this in production but can't yet because https isn't there.  Any update on when it might be ready?
Thanks!

Hi all, any reason why you could not stick nginx in front of your swifter servers?

@julien-c: I have never used nginx, but adding proxies to the mix adds additional points of failure & maintenance, especially when you are dealing with ~100 tablets spread out over several locations with no IT staff on-site.  Further, would not the traffic between the nginx server and the tablets still be over HTTP?

If you use nginx as a reverse proxy just for SSL termination, the maintenance overhead will be minimal. This is literally 4 lines of nginx configuration.

@julien-c: we would still need to install an nginx server at each location and then keep it updated and secure (sensitive data) and if it breaks it affects all tablets at the location.  Further, the connection between the proxy and each tablet would still not be secure.  In our scenario we are required to use SSL all the way to each tablet.

Hi all,
I was not able to find another Swift iOS web server and need only part of the traffic encrypted, so I used this this library: https://github.com/TakeScoop/SwiftyRSA to accomplish this.  In brief, here is what I did:

Created a key pair (RSA 2048 bit) on the Linux server that is interacting with the iPads
Created a web service method to send the public key to the iPads and store it in the key chain.
When sensitive data needs to be sent from the iPads to the server, I use the public key to encrypt it (so that it gets sent as a Base64 encoded encrypted data)
The server decodes the Base64 and then uses the private key to decrypt the data

This seems to work very well and was easy to implement, so I figured I share it here in case somebody else is in a similar situation.
Note: RSA 2048 can only encrypt up to 245 bytes, so if you need to encrypt more data you can use the RSA keys to exchange a symmetric key to do the encryption of larger amount of data with (the same as TLS does).

SSL support would be great.
In my case I would like a few iPads to securely communicate with each other. Unfortunately iOS, nor any third party projecf that I could find, offers a server with HTTPS support.

No SSL support? what is this @glock45 1999 #justkidding

@krzyzanowskim There is some work here https://github.com/httpswift/swifter/tree/master/Sources/TLS 👍

really need

Any plans to resume work on SSL support?

I'd also love this - the library looks and feels great but not having SSL is an issue :/

Yesterday I've open-sourced our web server Telegraph:
https://github.com/Building42/Telegraph
It has SSL support if you guys are still looking for it.

very nice. thanks

@Zyphrax Thanks, I'll give it a shot!

No problem, if you have any feedback, let me know.

I should also mention https://github.com/BiAtoms/Http.swift which has SSL/TLS support.

@glock45 Any plans to resume the SSL work?

@krzyzanowskim There is some work here https://github.com/httpswift/swifter/tree/master/Sources/TLS 👍

how to use this?


Update variants table with corrected multiallelic phasing

Need to rebuild the variants table with correct phasing of multiallelics.

Working on this now...