Migrate Regex Functions from static docs

Which issue does this PR close?

Closes #12868 .
Rationale for this change
Migrated regex functions.

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Beyond fixing the copy/paste error for the get_regexp_replace_doc fn name lgtm.


@conda-forge-admin, please add user @tobymao

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @tobymao in conda-forge/sqlglot-feedstock#115.


Unable to import/use Compression

Version 0.7.3 I'm unable to import the Compression enum
use screenshots::{Compression}; //unresolved reference: 'Compression'

It's just not present and fails to find it.

I can import Compression

You're right I just had some cached libraries. Seems to work now.


add benchmark scripts

Context
Several benchmark tools which I use for vector feature. This PR includes following scripts:

benchtest - generic tool which measure performance of any sequence of SQL statements
anntest - tool for measuring n-recall@k of ANN vector search
blobtest - simple tool which aims to prove that sqlite3_blob_reopen API can result in way better performance

See README.md for more details

Nice, @sivukhin!

In anntest you call srand(time(NULL)); at the beginning of main but you don't do that in the other two tests. Is this on purpose?

@haaawk - I don't need srand in the anntest actually. This is "legacy" - initially I generated ANN workload right inside anntest C code but later decided to move it to the python workload.py script as it's easier to generate random floats with different distributions from there.
Removed it from the branch


Add a new rule to ensure position of first property in JSX

In our project we want to use the AirBnB React Style guidelines when it comes to React/JSX code style. One of the rules for JSX is to align components as such:
// bad
<Foo superLongParam="bar"
     anotherSuperLongParam="baz" />

// good
<Foo
  superLongParam="bar"
  anotherSuperLongParam="baz"
/>

However, I could not find a rule which enforces that the first property should be placed on a new line, in the case of a multiline JSX component.
As an experiment, I decided to try and implement this myself. The result is this PR.
I decided to make three options, although not sure if the other two are really relevant:
always: The first prop should always be on a new line, even when there is only 1 property.
never: The first prop should never be on a new line, so should always be on the same line as the opening component tag.
multiline: Follows AirBnB style. In the case of a multiline component the first prop should be on a new line, otherwise when all props are on a single line then this is allowed.
Please have a look at the code, tests, style, etc... If you have any comments or tips on how to improve this, please let me know. I'd love to see this make it to the project, as it already helped me find a few places which I missed out during my initial refactor to this AirBnB style.

Seems like there is already an open PR: https://github.com/yannickcr/eslint-plugin-react/pull/427
And there are other issues asking for the same functionality: https://github.com/yannickcr/eslint-plugin-react/issues/410
So would be nice to include this one way or another. I'm up for trying to improve this specific implementation or helping out with the other PR if needed.

It would be super ideal if one of these approaches made it in ASAP. I'd love to include it in the next release of the eslint plugin, which will be a semver-major anyways. (@yannickcr)

Coverage increased (+0.03%) to 96.973% when pulling 76f2096539c4e9f16a3fff3e237459db880b44cf on jseminck:master into 0efb7ad6f1646ef4686d437538f0ba2ff3b217d8 on yannickcr:master.

Merged. Thanks!


cc1: all warnings being treated as errors

Please paste the output of the following command here: name: mojar
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/mojar...
crouton: version 1-20220107165406~master:811f5e45
release: xenial
architecture: amd64
targets: unity
host: version 14268.67.0 (Official Build) stable-channel hatch
kernel: Linux localhost 4.19.208-12427-gf85a69d601ba #1 SMP PREEMPT Sun Dec 12 19:53:49 PST 2021 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/mojar...
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
crouton: version 1-20220107165406~master:811f5e45
release: xenial
architecture: amd64
targets: unity
host: version 14268.67.0 (Official Build) stable-channel hatch
kernel: Linux localhost 4.19.208-12427-gf85a69d601ba #1 SMP PREEMPT Sun Dec 12 19:53:49 PST 2021 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...

Please describe your issue: this is not like any other crouton issue were the cras fail. it gives me a diffrent warning
If known, describe the steps to reproduce the issue:

cc1: error: -Werror=stringop-overread: no option -Wstringop-overread
cc1: error: unrecognized command line option '-Wno-int-in-bool-context' [-Werror]
cc1: all warnings being treated as errors

Sorry, this is a bug I introduced in #4658.  It'll be fixed by #4662.


Sigusr1 generates huge files

#27331 added daemon-data logging on sigusr1 (in addition to printing stacktraces).
In linux this file contains a lot of useless information, for example array of 65536 IP addresses. While we can use this file to figure out where to cut allocations the current form doesn't help debugging actual problems and makes is harder for users to send us these files.
For empty daemon this file contains 102297 lines and is 6.3MB.
As soon as swarm mode is enabled the file had 8312739 lines, 731MB and took 14 seconds to generate(plus shows some proto warnings). I'd assume it contains CA keys when swarm is not locked.

Setting to P1 as #27331 is in v1.13 and 700MB seems something that definitely needs to be resolved.
@jhowardmsft @thaJeztah

A few findings from a dump with swarm mode enabled...

The WAL writer has a 1 MB buffer, which might be a bit excessive
This serialization does not deduplicate complex objects that were already referenced somewhere else. This seems to cause a lot of output bloat in swarm mode. For example, every structure that has a reference to the memory store causes the entire store to be dumped.

Hmmm. Open to suggestions. Revert it for Linux in rc2? The files are much smaller on Windows that I've seen. However is this really P1? How often are dumps triggered by normal users? I do want add though that this HAS been useful debugging Windows dumps.

Perhaps we could stream the dump through a compressor and write a compressed version to disk? With the example I generated, gzipping it reduces it from 700 MB to 28 MB.

we sometimes ask users for debugging; 700+ MB sounds like a risk if it results in a manager running out of disk (perhaps i'm overthinking)

so P1 is reasonable just so we don't release before deciding (whichever direction)

In addition to compression, maybe we only dump the spew logs when the daemon is in debug mode?

Or move it to SIGUSR2

Even uncompressed, with over 8 million lines of text it's impossible to even understand what is in this file, moreover understand if the state of the file points to a problem. If the issue is inefficient dumping with lots of duplicates we should improve that, probably together with blacklisting lots of things(looking at that 65536 lines of IPs that first caught my eye).
To me, we could also start by just dumping the containers/images data. Then over time when debugging issues we could see what more info would have been useful and extend it.

Opened #28551 which reduces what we're dumping.


Fix interpolation bug in CCD contamination calculation

The CCD and filter contamination calculations both currently fail because the channel wavelengths are just slightly below the wavelength range of n_DEHP_wavelength.
This PR fixes this bug by switching to using np.interp which will, by default, use linear interpolation and fill values above and below the wavelength range with the left and rightmost values, respectively. The reason for switching to np.interp is that scipy.interpolate.interp1d is now deprecated: https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.interp1d.html.

pre-commit.ci autofix

pre-commit.ci autofix

@wtbarnes, all test are passing now, thanks for the ruff update Nick!


sparksql:“Group by” can be pushdown?

sparksql:"group by" can be pushdown?
I did a “group by” operation, and spark pulled out all the data from es.It spent a lot of time.
Can “group by” operation be implemented in es？Spark only got the result.I think it will save a lot of time.
Version Info
OS:         :  linux
JVM         :  1.8
Hadoop/Spark:  2.2.0
ES-Hadoop   :  6.0.0
ES          :  6.0.0

This is covered by #276. Closing as a duplicate.


Test using Environment.NewLine to split lines but the test data verbatim string can actually embed \n if git is configured to use LF

Describe the bug
As titled.
To Reproduce
Steps to reproduce the behavior:

Check out the repo with newline using LF.
Run tests
Observe lines is just 1

Expected behavior
lines isn't 1
Screenshots

Additional context
N/A

Fixed.


Local peer credential support for Darwin.

Darwin uses SOL_LOCAL/LOCAL_PEERCRED instead of SOL_SOCKET/SO_PEERCRED parameters to getsocktopt to retrieve the credentials of a socket's peer.
(Documented in man 4 unix)

@bors: r+
Thanks!

:pushpin: Commit 49c97ba has been approved by alexcrichton

:hourglass: Testing commit 49c97ba49caa84d52d6d5e0033abf4755f16c5ed with merge f001b8a43c083970dfa78de578aa14a4c5f34bd5...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing f001b8a43c083970dfa78de578aa14a4c5f34bd5 to master...


Update GitHub documentation

Capitalise GitHub consistently
Change App Id and Secret to reflect GitHub's naming
Use gender-neutral language when talking about people

Thanks!


tachyon code update

I introduced a new checking of the input parameters, so if program execute without parameters or having three or more input parameters, it will execute printUsage function and exit with error code 1. Also, I changed the IF-ELSIF-ELSE statements for a CASE which turns to be more clean and have a better readability.

Can one of the admins verify this patch?

Jenkins, test this please.

Jenkins, ok to test.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7618/
Test PASSed.

Removed arguments limitation set on the begging of the code.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7657/
Test PASSed.

+1 LGTM.
Thanks for the improvement!

LGTM. Thanks for the improvement!


[WIP] Undo/Redo

Description of the problem this pull request fixes
Track history of definitions of visualization components to enable undo/redo. Application state (inspectors, walkthroughs, hints, etc.) are not part of the history.
Changes proposed in this pull request:

Reshape store to group together all "undoable" states, and use redux-undo to add history tracking.

This PR includes:

[ ] Tests
[ ] functional comments
[ ] high level description of any new components

Steps to functionally test this:

Follow #331 and use undo/redo buttons in the toolbar to test undo/redo functionality. In particular,

The application UI (sidebars) should update and the Vega view should also update.
Binding a data field to a dropzone/channel should only register as a single element in the history state.
WIP: Continuous changes should be throttled/debounced and only register as a single historical state (e.g., dragging or resizing a mark, dragging a color picker, changing a number field input for axes).

@kadamwhite: You may be interested in the approach I'm taking now. Besides regular history tracking functionality (storing, undo, redo), I have explicit START_BATCH and END_BATCH actions as well as a set of actions that get batched together implicitly when we cannot specify explicit start and end points to an interaction (e.g., dragging a mark, changing a color via the picker, etc.). The states produced by actions that fall within a batch do not get added to the history stack. If/when you have any spare cycles, I'd love a gut check on my logic in the new historyReducer (and absolutely no pressure if you don't!).


Pdf to vectorial

Hi is there a way to convert a pdf page to vectorial instruction. Tried to use GraphicsDevice but not sure if it's the right solution.

Hi,
Thanks for using Aspose.Pdf for Java. Please note that in order to convert PDF to SVG format which is standard for Vector graphics by W3c. Please try following the instructions specified over Convert PDF to SVG Format. In case you encounter any related issue, please share the resource file, so that we can further look into this matter..

thanks seems great. But for my purpose it would be great to have more control on page rendering, and  having an intermediary representation not svg that is quiet complex but just vectorial instruction provided by a sort of GraphicalHandler.

Hi,
Thanks for sharing the details.
I am afraid currently Aspose.Pdf for Java does not support the feature to convert PDF page contents to vectorial instruction. However for the sake of correction, I have logged this requirement as PDFJAVA-35921 in our issue tracking system. We will further look into the details of this requirement and will keep you updated on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.

thanks @codewarior. Please contact me when it's ok ;-)

Hi,
Once we have updates, we will surely update you. Have a nice time and once again, thanks for using our API's.


 Looks good to me.

@dennwc The problem is that, while it works on CI, we're recommending in the README (as well and other dependant project README's) to run make dependencies. And I'm not sure how compatible is my new make dependencies on Windows systems that do not have exactly the same preconditions as this Appveyor.

I think we should merge once CI passes again.
In order to avoid the error on Windows, make clean-libuast is called from make dependencies on Windows.

Thanks for taking care of Windows! Highly appreciated.


Enable Customizing imageResizeUpscale

This will allow devs to disable image upscaling when using the FilePond ImageResize Feature.
I need this because I was literally lost on why users uploading 3MB image are getting errors saying that the image they uploaded exceeds 10MB, and after 500 years (2 hours) of debugging I found out it's because of this.
Please accept this 😭
Should I create tests for this be accepted?

I've checked the Filepond docs, should this be a bool instead of a string setting?

sorry about that.. I'll change it to bool...

Have you tested this?


SHOREline Iteration registration error

Hi, I have an irregular error that occurs at 1/6-7 preprocessing subjects, it is across SHORELine itreation predicted value registration were in certain predicted variable are not found in the directories, My line of code.
#QSIprep preprocessing (315m/subject)
sudo docker run -ti --rm
-v /media/himanshu/m2/test1/input:/data:ro
-v /media/himanshu/m2/test1/output:/out
-v /media/himanshu/m2/test1/tmp1:/w
-v /home/himanshu/freesurfer/:/freesurfer
pennbbl/qsiprep
/data /out
participant
-w /w
--fs-license-file /freesurfer/license.txt
--verbose
--dwi_denoise_window auto
--denoise_method dwidenoise
--unringing_method mrdegibbs
--b0-to-t1w-transform Affine
--hmc-transform Affine
--hmc_model 3dSHORE
--shoreline_iters 5
--b0-motion-corr-to iterative
--skull-strip-template NKI
--skull-strip-fixed-seed
--fmap-bspline
--force-syn
--output-space T1w
--output_resolution 2
--write_graph
--notrack
System is 16 Core, 128 GB RAM and Space 1.8/7.4 TB,
Following error is not regular however it does occur at certain instances. Rerun twice or thrice solve the issue. Data is BIDS format.
first crash- register 24-62
second crash- register 11
just recently started using fmriprep/qsiprep pipeline in last few months.
crash-20220710-135102-root-_register_to_predicted24-62fdd037-2403-4be0-9843-22df4a51b913.txt
crash-20220710-155944-root-_register_to_predicted11-f2d5f1a9-ef0a-4be3-aace-49bb0c659121.txt

Hi! I think you should regulate CPU usage. Maybe something like adding --nthreads 15 --omp-nthreads 3

Hi, CPU regulation resolved the issue as of now completed 5 subjects with the command running the second batch with 8, i restricted nthreads 14, and omp-nthreads came down to 8 (Automatically). also following aspect helped to reduce preprocessing time by 30% in my case with batch process taking 5 subjects at a time.
Thanks


error on tmp/scm.json file

I get error on temp file, when I switch value in ansible.cfg value of pipelining the error goes away and come back not sure why?

fatal: [cloudmanager.ee-hadoop.com.au]: FAILED! => {"msg": "Failed to get information on remote file (/home/hadoop/tmp/scm.json): Sorry, try again.\n[sudo via ansible, key=bkfkxloiefebvjjruekluqqrpzaeymwo] password: \nsudo: 1 incorrect password attempt\n"}

Closing as fixed by #28.


API server explicitly notify systemd of successful startup

Use the systemd $NOTIFY_SOCKET convention for kube-apiserver
startup. This allows it to be part of dependency trees and for
consumers to wait until it is listening on its ports.
The $NOTIFY_SOCKET protocol is described here:
http://www.freedesktop.org/software/systemd/man/sd_notify.html
Currently this is limited to the kube-apiserver process. Other
kube processes are internal kubernetes moving points. The API
server is the entry point relied on by callers.
100% stolen from Stef Walter from:
https://github.com/GoogleCloudPlatform/kubernetes/pull/8316

@stefwalter
I would suggest only looking at 5c15789 to review, as this is based on pr #8763 which has lots of prereq godep cleanups before my addition of sd_notify....

I'm a huge +1 on this change with a few suggestions for improvement.

Code looks good to me.
Since this is a datagram socket, most errors will be silent anyway ... But adding further logging of the failures that do show up makes sense.
I'm having a hard time building this branch (e2e.test dependency failures) ... but in general looks good.

forced update to make the commit easier to read (the rest of the godep stuff was merged)

And updated to report a glog error.

Do you need to wrap the code you added in some kind of check to see if you're running under systemd, and only run it if so?

Do you need to wrap the code you added in some kind of check to see if you're running under systemd, and only run it if so?

No. The notify protocol revolves around $NOTIFY_SOCKET. The presence of that environment variable pointing to a unix file path is what should be used to indicate use of the startup notify protocol. The libsystemd-daemon code for use in C daemons behaves like this as well. The environment variable is sufficient. See src/libsystemd/sd-daemon/sd-daemon.c in the systemd sources.
As noted above, the $NOTIFY_SOCKET protocol is built in such a way that other init systems can implement it too.

as @stefwalter indicated, the coreos/go-systemd/daemon/sdnotify.go is already wrapping it in the 'correct' way to test if you are on a systemd system.  It returns an error if not on systemd, systemd.SdNotifyNoSocket which we just ignore.

Thanks for the explanation. Can you add a comment in both places in the code
to the effect that err == systemd.SdNotifyNoSocket when not running on a systemd system? Then this LGTM.

done.

LGTM


[SPARK-36836][SQL] Fix incorrect result in sha2 expression

What changes were proposed in this pull request?

sha2(input, bit_length) returns incorrect results when bit_length == 224 for all inputs.
This error can be reproduced by running spark.sql("SELECT sha2('abc', 224)").show(), for instance, in spark-shell.
Spark currently returns
#\t}"4�"�B�w��U�*��你���l��

while the expected result is
23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7

This appears to happen because the MessageDigest.digest() function appears to return bytes intended to be interpreted as a BigInt rather than a string. Thus, the output of MessageDigest.digest() must first be interpreted as a BigInt and then transformed into a hex string rather than directly being interpreted as a hex string.
Why are the changes needed?

sha2(input, bit_length) with a bit_length input of 224 would previously return the incorrect result.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Added new test to HashExpressionsSuite.scala which previously failed and now pass

Can one of the admins verify this patch?

Jenkins test this please

Test build #143653 has started for PR 34086 at commit f6d2a5a.

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

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

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

Thanks, merging to master/3.2


Add hadolint checks for Dockerfiles

This change introduces basich static analysis checks for our Dockerfiles using https://github.com/hadolint/hadolint tool.
Description

Quite a bunch of the warnings are ignored now, we should improve this throughout the time. Apart from the check, I also performed some small changes to our existing Dockerfiles to diminish some of the hadolint reported warnings.
How Has This Been Tested?

The Dockerfiles were checked with this command:
find . -name "Dockerfile" | xargs hadolint --config ./ci/hadolint-config.yaml

Changes to the Dockerfiles haven't been tested locally anyhow yet.
Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has manually tested the changes and verified that the changes work

Hmm, looks like the current configuration of the Hadolint GH action doesn't check all the dockerfiles in the repo as I expected. Will investigate more. Marking as WIP for now.

/cherrypick 2023b


502 Bad Gateway when deploying the Cockpit using the Telegrambot

After successfully going through the Telegram conversation to install the Cockpit, and receiving the key, visiting https://moehaha.barcelona.aydo.com/ gives 502 bad gateway

fixed by https://github.com/Jumpscale/dockers/pull/4


Update to 89.0.4389.90

89.0.4389.90 released recently addressing some security issues.  There weren't any notable changes on our end.
I'm currently most of the way through building and will update once it has completed.

My build completed successfully and I haven't encountered any issues testing it so far.
The changes should be good to go!

I'm not able to get this one to compile. About 25,000 files in I get this:
FAILED: obj/ui/gfx/memory_buffer_sources/io_surface.o
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/ui/gfx/memory_buffer_sources/io_surface.o.d -DGFX_IMPLEMENTATION -DOFFICIAL_BUILD -D_LIBCPP_HAS_NO_ALIGNED_ALLOCATION -DCR_XCODE_VERSION=1131 -DCR_CLANG_REVISION=\"llvmorg-12-init-16296-g5e476061-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -DCR_LIBCXX_REVISION=375504 -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBP_EXTERN=extern -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DSK_BUILD_FOR_MAC -DSK_METAL -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/libwebp/src -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/skia -I../../third_party/libgifcodec -fno-delete-null-pointer-checks -fno-strict-aliasing -fstack-protector -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers -arch x86_64 -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wunguarded-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-omit-frame-pointer -g0 -isysroot ../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.11.0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -DPROTOBUF_ALLOW_DEPRECATED=1 -std=c++14 -fno-trigraphs -Wno-trigraphs -stdlib=libc++ -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -c ../../ui/gfx/mac/io_surface.cc -o obj/ui/gfx/memory_buffer_sources/io_surface.o
../../ui/gfx/mac/io_surface.cc:167:28: error: use of undeclared identifier 'kCGColorSpaceITUR_2100_PQ'
        color_space_name = kCGColorSpaceITUR_2100_PQ;
                           ^
../../ui/gfx/mac/io_surface.cc:176:28: error: use of undeclared identifier 'kCGColorSpaceITUR_2100_HLG'; did you mean 'kCGColorSpaceITUR_2020_HLG'?
        color_space_name = kCGColorSpaceITUR_2100_HLG;
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
                           kCGColorSpaceITUR_2020_HLG
../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h:140:29: note: 'kCGColorSpaceITUR_2020_HLG' declared here
CG_EXTERN const CFStringRef kCGColorSpaceITUR_2020_HLG
                            ^
2 errors generated.
[25110/45941] OBJCXX obj/ui/gfx/animation/animation/animation_mac.o
ninja: build stopped: subcommand failed.

I'm building in MacOS 10.14.6.

I don't have a Mac so hopefully this helps, but from what I've found it looks like you'll need to update the MacOS SDK as it seems those definitions only exist in version 11+.
The comments in io_surface.cc around line 153 mention this.  I'm surprised that they didn't use defines instead to avoid this issue.

Thanks for the reply, @Ahrotahn. You are probably right about the SDK being outdated. Unfortunately Apple, in their infinite wisdom, won't let me install a newer version of XCode with my (intentionally) old OS. There probably is some arcane way to get the latest SDK working with an older XCode, but I don't have the time to devote to such a project. For now I'm just using the homebrew binary you provided.


[SCB-360] write simpler eventBus to optimize performance

IDE compile warnings check:

Coverage decreased (-0.004%) to 87.226% when pulling 1c474b0ec5e137d0a7165ae8775d779e15e2b32a on wujimin:eventbus into 6f62b75d28fb41d4820de75124acb64e75fb3405 on apache:master.


slow performance due to png format of images

Every image or asset that has been used is in png format, which is heavy to load and hence causes performance issues,
so my suggestion would be to convert them into webp format, which is much lighter and fast to load than png format.

Done


net: LwM2M: Notify Timeout Handling

Added a new LWM2M_ENGINE_NOTIFICATION_TIMEOUT_REGISTRATION_UPDATE
Kconfig option to enable automatic registration update when
notify timeout occurs
Added function type definition for external notification of
notify timeout : ext_notify_timeout_cb_t
Added function lwm2m_engine_set_ext_notify_timeout_cb_fn to set
the ext notify function
When notify message timeout occurs, a call is made to
ext_notify_timeout_cb if it exists,
a call of engine_trigger_update is made if enabled,
and an error message is issued.
Signed-off-by: John Power<EMAIL_ADDRESS>

And a general comment - please use lowercase net: lwm2m:  prefix for the commit messages, it makes grepping easier. And please squash any commits with review fixes into the original one.


Styled the final draw section and linked it to team pages

Aim of the project: Styling FINAL DRAW section of index.html and linking it to new webpage to display team info
Name: Dhruv Ghevariya
Github ID: dhruv2185
Role: Hacktoberfest 2022
I have styled the FINAL DRAW section using CSS and added animations to make it more interactive.
Also linked it to webpages corresponding to team info.

Closes: #13

I have done all the changes required by the template....

@dhruv2185 doen't there any details in each team html file?

No, details haven't been added...

Ok @dhruv2185

@dhruv2185 check everything and if you face  any problem with Hacktoberfest point system related to my repo, ping me in discord. Discord Id : babe07#7187


I have missed group

Hi! I don't know what happen, but I have deleted group which I used most often. Also I don't see it in previous backups. Not in Export, not in Import. Problem became only today.

Looks like, that problem is connected with new winodws updates. Maybe one of them was installed incorrectly and deleted active groups

I found windows backups and overrote folders like:
C:\Users\Mihail\AppData\Roaming\Mozilla
C:\Users\Mihail\AppData\Local\Mozilla
C:\Users\Mihail\AppData\Local\Mozilla Firefox
Qne now I have problem "Error caught in Sync Tab Groups"
From log file:
{
  "version": {
    "SyncTabGroups": "0.8.1",
    "browser": {
      "name": "Firefox",
      "vendor": "Mozilla",
      "version": "86.0",
      "buildID": "20210222142601"
    },
    "os": "win"
  },
  "logs": [
    {
      "type": "Information",
      "time": "Tue Mar 02 2021 12:33:32 GMT+0200 (Восточная Европа, стандартное время)",
      "message": "EXTENSION_START",
      "data": null
    },
    {
      "type": "Error",
      "time": "Tue Mar 02 2021 12:33:47 GMT+0200 (Восточная Европа, стандартное время)",
      "message": "can't assign to property \"title\" on \"L\": not an object",
      "trace": [
        "2/r.mergeObject",
        "/background.js:1:28398 => 1/g.check_integrity",
        "/background.js:1:6089 => 1/g.init",
        "/background.js:1:11446 => "
      ],
      "data": {
        "args": {}
      },
      "fileName": "/background.js",
      "lineNumber": 1,
      "columnNumber": 1
    },
    {
      "type": "Error",
      "time": "Tue Mar 02 2021 12:33:47 GMT+0200 (Восточная Европа, стандартное время)",
      "message": "JSON.parse: unexpected character at line 1 column 1 of the JSON data",
      "trace": [
        "1/g.getCopy",
        "/background.js:1:3648 => 68/v.createMoveTabMenu",
        "/background.js:1:47608 => "
      ],
      "data": null,
      "fileName": "/background.js",
      "lineNumber": 1,
      "columnNumber": 1
    },
    {
      "type": "Error",
      "time": "Tue Mar 02 2021 12:33:56 GMT+0200 (Восточная Европа, стандартное время)",
      "message": "g.groups is undefined",
      "trace": [
        "1/g.isWindowAlreadyRegistered",
        "/background.js:1:3569 => b",
        "/background.js:1:75824 => "
      ],
      "data": {
        "args": {
          "0": 1
        }
      },
      "fileName": "/background.js",
      "lineNumber": 1,
      "columnNumber": 1
    }
  ],
  "options": {
    "version": 0.1,
    "privateWindow": {
      "sync": false,
      "removeOnClose": true
    },
    "pinnedTab": {
      "sync": false
    },
    "bookmarks": {
      "sync": false,
      "folder": "Default"
    },
    "groups": {
      "syncNewWindow": false,
      "removeEmptyGroup": true,
      "showGroupTitleInWindow": false,
      "sortingType": 3,
      "discardedOpen": true,
      "closingState": 0,
      "discardedHide": true,
      "removeUnknownHiddenTabs": true
    },
    "popup": {
      "maximized": false,
      "whiteTheme": false,
      "showTabsNumber": true,
      "showSearchBar": true
    },
    "shortcuts": {
      "allowGlobal": false,
      "navigation": true
    },
    "backup": {
      "download": {
        "enable": false,
        "time": {
          "t_5mins": true,
          "t_1h": true,
          "t_4h": true,
          "t_1d": true,
          "t_1w": true
        }
      },
      "local": {
        "enable": true,
        "intervalTime": 1,
        "maxSave": 48
      }
    },
    "log": {
      "enable": true
    }
  }
}

Looks like, that problem is connected with new windows updates. Maybe one of them was installed incorrectly and deleted active groups

Sorry to hear you have problems with the groups. The project is no more maintained since a while so I am not surprised it does not work perfectly any more.
Usually the internal data of the extension could be found in a path rather similar to here: https://github.com/Morikko/sync-tab-groups/wiki/Backup
If you don't find anything, there was probably a glitch with either Windows, Firefox or the extension. And sadly, I don't have any solution.
By the way I recommend you to switch to another extension for the future (Cf alternative here https://github.com/Morikko/sync-tab-groups#the-project-is-no-more-maintained). You can even transfer the groups to Simple Tabs Groups fro a save.

Looks like, that problem is connected with new windows updates. Maybe one of them was installed incorrectly and deleted active groups

Sorry to hear you have problems with the groups. The project is no more maintained since a while so I am not surprised it does not work perfectly any more.
Usually the internal data of the extension could be found in a path rather similar to here: https://github.com/Morikko/sync-tab-groups/wiki/Backup
If you don't find anything, there was probably a glitch with either Windows, Firefox or the extension. And sadly, I don't have any solution.
By the way I recommend you to switch to another extension for the future (Cf alternative here https://github.com/Morikko/sync-tab-groups#the-project-is-no-more-maintained). You can even transfer the groups to Simple Tabs Groups fro a save.

Thank you very much for answer! But what must I do now to move tabs to Simple Tab Groups? I can't even open Sync Tabs Groups now. And can't delete it and reinstall, because it was deleted from Mozilla extantions. How can I renew it's life for transfering to Simple Tabs Groups?


Type stable

Fixed type stable problem caused by mesh.shift of uniform meshes.
Now in getindex the mesh.shift is first converted to a SVector of T rather than of Rational.
Added tests to check the return type of getindex.

Codecov Report

Merging #77 (6d9366b) into dev (5832c2a) will increase coverage by 0.04%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##              dev      #77      +/-   ##
==========================================
+ Coverage   78.94%   78.99%   +0.04%
==========================================
  Files          16       16
  Lines         969      971       +2
==========================================
+ Hits          765      767       +2
  Misses        204      204

Impacted Files
Coverage Δ

src/BaseMesh.jl
95.74% <100.00%> (+0.18%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


how to compile without cuda

hello , I want to learn the code in my mac, so I can not install cuda , is there any way I can compile this project without cuda?
thanks

i find the solutions in other issue


NicoJeskeIT.MasterVolumeSync version 1.0.7

[ ] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

Thank you, @mdanish-kh, for your review. Your feedback is greatly appreciated. I must admit that I was not aware of all the metadata fields that you pointed out. I had assumed that wingetcreate would inform me about possible additional metadata.
I did end up removing the PublisherURL field, as the pipeline did seem to have problems connecting to the site (403 forbidden). This access seems to be blocked by Cloudflare, as my internal monitoring shows no 403 response from the website.

I had assumed that wingetcreate would inform me about possible additional metadata.

wingetcreate is designed to let publishers quickly create and submit a manifest with the required fields. If you wish to have a detailed manifest, you could use another manifest authoring tool supported by the WinGet team YamlCreate.ps1.

I did end up removing the PublisherURL field, as the pipeline did seem to have problems connecting to the site (403 forbidden). This access seems to be blocked by Cloudflare, as my internal monitoring shows no 403 response from the website.

In that case, you could update it to link to your GitHub profile if you wish to.


Installation problems

Hey there!
I've been having troubles installing this addon (tried both with bower and npm). I don't think it's importing correctly? I attempted to use {{polyline-decorator}} as a component and it doesn't seem to be recognised, as well as this it looks like I can't use L.Symbol() or L.polylineDecorator() directly
I forked the repo and tried a few things myself to get it to import correctly but I'm not yet knowledgeable when it comes to addons/dependencies/bower/npm stuff.
I'm running ember-leaflet 3.0.12, leaflet 1.1.0 and latest ember/ember-cli
It could very well be a problem on my end so don't stress too much about it

Let's ignore bower for now and attempt to fix npm install since bower support in ember is going away eventually. So essentially I do the following npm install @transitland/ember-leaflet-polyline-decorator --save-dev - I can see that it installs to node_modules folder as it should.
I then notice that leaflet-polylinedecorator doesn't seem to get installed for me (I can't find it in bower_components).
Looking at this file here
https://github.com/transitland/ember-leaflet-polyline-decorator/blob/master/blueprints/ember-leaflet-polyline-decorator/index.js#L3-L13
Should there be a comma after description? That might explain why it's not being installed (but I did try this in my fork with no luck). It looks like leaflet-polylinedecorator now supports npm too, so maybe we should switch over to installing it that way (not sure how) and maybe that will fix the issue
I also noticed that it seems to want leaflet-0.7.2 which is a very old version of leaflet now, might be worth updating?

Looking through some of the other ember-leaflet addons, a good example to look at might be ember-leaflet-draw
https://github.com/StevenHeinrich/ember-leaflet-draw
They just switched from installing their leaflet-draw dependency from bower to npm, specifically in these two commits;
https://github.com/StevenHeinrich/ember-leaflet-draw/commit/2bb09573f8e84c86d483ca7226f26d591c6e1e28
https://github.com/StevenHeinrich/ember-leaflet-draw/commit/a8140cbfe42ef3b7952fd4d3a4a22dc77f4ae9a3

I'll probably give it a go on the weekend, see if I can put together a working PR, but feel free to beat me to it :)

Should be fixed in 0.2.0 release.
@Techn1x please comment and re-open if there are still problems with this issue.


Use brr_encoder -a for attenuation, instead of sox

I hope it attenuates before resampling, so intersample peaks don't clip or overflow.

http://click.pocoo.org/5/setuptools/#setuptools-integration


task: refactored to accommodate a service layer

With this refactoring, there is a strong separation of concerns, and the controller now delegate business logic to the appropriate service


How to use this in a workflow?

Hi,
Can you describe a bit more detailed how to use the project in practice?
I want to dynamically change the workflow assignments based on a property. Fits pretty much the described usecase. The project seems to be a good solution -  if only I would be able to understand it.
Where shall I use the Action in the example package? Where do I define the target property? Which property did you use for the test? How can I integrate this into my Workflow?
More information please! :-)
Thanks and best regards!
Angela

Hi Angela,
This project provides an example for a scenario when you want an end user to choose one or more identities for a task. This becomes a little more clear if you imagine that the "Workflow Assignment Example" item is a business object, like a Document.
A user can create the business object and then set 1-3 "reviewers" in the reviewer properties. When the user saves the business object, the workflow is initialized and triggers the labs_WorkflowAssignmentExampleCS method.
The labs_WorkflowAssignmentExampleCS method then:

gets the business object using the labs_GetControlledItemCSharp method
builds an array of reviewers from the business object's properties
creates an Activity Assignment for each reviewer in the array
sets the voting weight of each assignment based on the total number of reviewers
updates the current activity

You could easily use the sample code to allow end users to select assignees for a Part, Document, ECN, etc. You just need to add the method to an OnActivate server event on the workflow activity of your choice and update the code to get the correct properties from the business object/controlled item.
Does that make more sense?
Eli

Thanks for the explanation!
But in the end I finally figured it out myself two weeks ago. We already use the function in one of our processes. In my variant, the respective assignments are set automatically based on the team roles and some additional properties. Much more powerful than your version :-).

Great idea for a project! Thanks for the follow up, Angela.


Cannot use addon/styles/addon.scss

I've followed the instructions in the README for creating an addon with an included addon.scss file, but no matter what I do, the styles are not getting picked up by vendor.css.
Is there anything more we need to know in order to make this work?
AS an aside: addon.css is definitely getting picked up.

hi @artsyca i've the same issue, could you please compare my repo https://github.com/Axxon/ember-cli-minimal-tree/tree/front2 on the front2 branch, if a done a mistake ?

@Axxon : https://github.com/Axxon/ember-cli-minimal-tree/blob/front2/tests/dummy/app/styles/app.css according to the instructions, this should be app.scss but even so it hasn't worked for me..

@artsyca I tried like you, without success. (i pushed that).

I had the same issue here

So, a cool guy could share me a advise to integrate sass into my addon ?

There seem to be some more issues with ember-cli-sass & ember-cli:
https://github.com/ember-cli/ember-cli/issues/4084
https://github.com/ember-cli/ember-cli/issues/3644
https://github.com/ember-cli/ember-cli/issues/2905 (lists more related issues)

Thanks @fpauser. Yes there definitely do seem to be issues outside the scope of ember-cli-sass here. Unfortunately I've just joined an early stage startup as a tech co-founder, so I simply do not have a second to look into this, sorry. Luckily the source code's available so I'm happy to review and publish any PRs from the community. I'm also open to adding other collaborators on this project as well if anyone is interested.

Congratulations @aexmachina I wish you all the best.

As it seems the last working version of ember-cli-sass was v4.0.0-beta.5 (discovered it by looking at ember-paper's package.json).
Something in v4.0.0-beta.6 breaks compatibility with ember-addons:
https://github.com/aexmachina/ember-cli-sass/compare/v4.0.0-beta.5...v4.0.0-beta.6

Seems like tryFile() @ https://github.com/aexmachina/ember-cli-sass/blob/master/index.js#L21 is problematic.

SASSPlugin.prototype.toTree to addon:
> inputPath
'/'
> outputPath
'/'
> tree
'/file/to/my/project-addon/addon/styles'
```

`SASSPlugin.prototype.toTree` to dummy app:

```
> inputPath
'/app/styles'
> outputPath
'/assets'
> tree
{ inputTrees:
   [ { inputTrees: [Object],
       options: [Object],
       description: 'TreeMerger (ExternalTree)' },
     { inputTrees: [Object], options: [Object] },
     { inputTrees: [], options: [Object] },
     { inputTrees: [], options: [Object] },
     { inputTrees: [], options: [Object] },
     { inputTrees: [], options: [Object] },
     { inputTrees: [Object], options: [Object] },
     { inputTrees: [], options: [Object] },
     { inputTrees: [], options: [Object] },
     { inputTrees: [], options: [Object] },
     { inputTrees: [], options: [Object] },
     { inputTrees: [Object], options: [Object] },
     { inputTrees: [], options: [Object] },
     { inputTrees: [Object], options: [Object] },
     { inputTrees: [], options: [Object] },
     { inputTrees: [], options: [Object] },
     { inputTrees: [], options: [Object] },
     { inputTree: 'tests/dummy/app/styles',
       _includeFileCache: {},
       _destinationPathCache: {},
       _tmpDir: '/file/to/my/project-addon/tmp/funnel-dest_Hjw6n6.tmp',
       srcDir: '/',
       destDir: '/app/styles',
       destPath: '/file/to/my/project-addon/tmp/funnel-dest_Hjw6n6.tmp/app/styles',
       _instantiatedStack: 'Error\n    at new Funnel (/file/to/my/project-addon/node_modules/... (length: 852)' } ],
  options: { description: 'TreeMerger (stylesAndVendor)', overwrite: true },
  description: 'TreeMerger (stylesAndVendor)' }
```

There is a problem on ```tryFile``` when run the addon tree, `inputPath` is '/'

Thanks for the investigation, you were right that that PR introduced the problem. Root cause is the issue above.
I've added an option in v4.0.1 that allows you to specify the file extension, which bypasses the tryFile lookup. So until the underlying issue is resolved you need to specify this option when using inside an addon.

I'm still having issue with v4.0.1 even after having extension set in the addon's Brocfile:
var app = new EmberAddon({
    sassOptions: {
        extension: 'scss',
    },
});

Also followed instructions in the readme for addons usage, but the content of addon/styles/addon.scss is not showing in dist/assets/vendor.css.
Am I missing anything?

@justin-lau the pull-request #57 will fix your problem

@dukex I thought the extension option was introduced as a temporary workaround to this issue... With your fixed branch I now understand it was actually meant for the scss files in the dummy app. Thanks!

Any news on this? I'm actually waiting for the fix, so I'm still on 4.0.0-beta5

@temo44 We are waiting the pull request https://github.com/aexmachina/ember-cli-sass/pull/57

@temo44 you should be able to work around that issue by specifying the extension option.

+1 also having problems getting addon.scss compiling to dist/assets/vendor.css even with specifying:
// ember-cli-build.js
sassOptions: {
    extension: 'scss' // or sass
}

I am currently on 4.2.0

Hi everyone, given #78 was merged, now with 5.0.0 you can use sass on addon.
I think this issue can be closed

Be aware that you now need to specify extension option if you're not using .scss


Fixed #202; Avoid a loop in linked list

Fixed #202 and added tests
The cause is a loop in a linked list in AppendImageToList.
at rmilist.c:
        t = rb_ary_entry(images, x);
        image = rm_check_destroyed(t);
        AppendImageToList(&head, image);

AppendImageToList 1st call:

head = images[0]

AppendImageToList 2nd call:

images[0]->next = images[1]
images[1]->prev = images[0]

AppendImageToList 3rd call:

images[1]->next = images[2]
images[2]->prev = images[1]

if images[0] and images[1] are identical:

head = images[0] = images[1]
images[0]->next = images[1] = images[0]
images[1]->prev = images[0] = images[1]

then it hangs because of a loop in this linked list.

The red builds on travis seem to be unrelated to the contents of this PR. I'll investigate this a bit more.

It seems the red build is unrelated to your PR.

Great job! 👍


Ng Serve fails at 95% - TypeError: callbacks[i] is not a function

Versions
Angular CLI: 1.6.8
Node: 9.5.0
OS: darwin x64
Angular: 5.2.4
@angular/cli: 1.6.8
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.29
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.8
@schematics/angular: 0.1.17
typescript: 2.5.3
webpack: 3.10.0

  MacOS High Sierra 10.13.3

Repro steps
MacBook-Pro:~ daniel$ ng new test-proj
...
Installed packages for tooling via npm.
Successfully initialized git.
Project 'test-proj' successfully created.
MacBook-Pro:~ daniel$ cd test-proj/
MacBook-Pro:test-proj daniel$ npm install
up to date in 6.008s
MacBook-Pro:test-proj daniel$ ng serve
Observed behavior
** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
 95% emitting/Users/daniel/test-proj/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:40
		callbacks[i](err, result);
		            ^

TypeError: callbacks[i] is not a function
    at Storage.finished (/Users/daniel/test-proj/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:40:15)
    at /Users/daniel/test-proj/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:77:9
    at /Users/daniel/test-proj/node_modules/graceful-fs/polyfills.js:287:18
    at FSReqWrap.oncomplete (fs.js:167:5)

Desired behavior
For build to be 100% successful and served to browser

The same here

Same issue here

Linked to #9549

same, been searching for a solution for about half an hour now

Same here :(

Show we revert to a previous version?

Same here yesterday it worked but today I m also getting same error.

same. just got this error today.

First time I'm trying Angular. Not a good day lol

I'm in the same boat with @pedrokelvin

Same!

Same here - it was working fine on yesterday.
My setup:
Angular CLI: 1.5.5
Node: 8.9.4
OS: win32 x64
Angular: 5.2.4
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.5.5
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.29
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.5
@schematics/angular: 0.1.17
typescript: 2.7.1
webpack: 3.8.1

I have the same problem.
.../node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:40
		callbacks[i](err, result);
		            ^
TypeError: callbacks[i] is not a function

Versions
@angular/core": "^5.2.4
@angular/cli": "^1.6.8
Node 9.4.0
Dependencies
"webpack": "3.10.0",
"enhanced-resolve": "3.4.1",

Please use reactions for "me too" comments. My inbox would appreciate it, thanks!

Me too

Me too

Had to downgrade to 1.6.7 :(

Me too.
But, could not get it working even with the previous version

@skorunka tried the same — didn't work for me
# ng --version

    _                      _                 ____ _     ___
   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/

Angular CLI: 1.6.7
Node: 9.3.0
OS: darwin x64
Angular: 5.2.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.6.7
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.29
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.7
@schematics/angular: 0.1.17
typescript: 2.5.3
webpack: 3.10.0

ng serve
** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
 95% emitting/Users/nide/Code/hubs/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:40
		callbacks[i](err, result);
		            ^

TypeError: callbacks[i] is not a function
    at Storage.finished (/Users/nide/Code/hubs/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:40:15)
    at /Users/nide/Code/hubs/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:77:9
    at /Users/nide/Code/hubs/node_modules/graceful-fs/polyfills.js:287:18
    at FSReqWrap.oncomplete (fs.js:167:5)

Looks like something is superbroken, but i dont know what to do. I tried to downgrade cli to 1.6.7 but it didn't work.
People is having the same problem even with CLI 1.5, so i think this might be an Angular problem, not only CLI

https://github.com/angular/angular-cli/blob/8ff95333aee20b946b55ec2f959b41cd4608401d/package.json#L59
Those who use semver are probably big fans of issues described in this thread.

Stop using semver!
setup greenkeeper or similar software.

same problem here... we are blocked on so many levels!

same for me

same problem here too... :(

some other deps prevent me from using 1.6.6 which worked until today.
so the issue might have gotten pulled in from the outside, I hate the way npm resolves, and even pinning 1.6.6 in my package.json results in 1.6.8 being installed

same problem here :(

A rollback to ~1.3.0 in your package.json fixes the issue for me it's not exactly something I want to keep long term as it removes the dependency on copy-webpack-plugin.

Same here and I had the same problem last month with angular-cli 1.5.x (but a different problem: angular-devkit/core not found).
Now I'm using 1.6.6 but it worked until yesterday

same for me!
Angular CLI: 1.5.5
Node: 6.11.0
OS: win32 x64
Angular: 4.4.6
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router, tsc-wrapped

@angular/cli: 1.5.5
@angular-devkit/build-optimizer: 0.0.41
@angular-devkit/core: 0.0.28
@angular-devkit/schematics: 0.0.51
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.5
@schematics/angular: 0.1.16
typescript: 2.6.2
webpack: 3.8.1

Same here

I have same problem :(

same problem when update to 1.6.8

Rolling back copy-webpack-plugin to 4.3.0 works.

I'm using windows I get the same error

Same problem. [offtopic] This whole system with 10000 needed packages and semversioning not used properly feels like such a pain in the ass... [/offtopic]

Can confirm the same here - it's holding up our release today

Downgrading isn't working for me.

@neshkatrapati works perfectly now!

its working when i downgrade to 1.3.2
@angular/cli: 1.3.2
node: 9.2.1
os: linux x64
@angular/animations: 5.2.0
@angular/common: 5.2.0
@angular/compiler: 5.2.0
@angular/core: 5.2.0
@angular/forms: 5.2.0
@angular/http: 5.2.0
@angular/platform-browser: 5.2.0
@angular/platform-browser-dynamic: 5.2.0
@angular/router: 5.2.0
@angular/cli: 1.3.2
@angular/compiler-cli: 5.2.0
@angular/language-service: 5.2.0

Same for me
95% emitting/vagrant/talis/shipshape-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:40
		callbacks[i](err, result);
		            ^

TypeError: callbacks[i] is not a function
    at Storage.finished (/vagrant/talis/shipshape-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:40:15)
    at /vagrant/talis/shipshape-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:77:9
    at /vagrant/talis/shipshape-app/node_modules/graceful-fs/polyfills.js:287:18
    at FSReqWrap.oncomplete (fs.js:154:5)

./node_modules/.bin/ng --version
Angular CLI: 1.6.5
Node: 8.6.0
OS: darwin x64
Angular: 5.2.2
... common, compiler, compiler-cli, core, forms, http
... language-service, platform-browser, platform-browser-dynamic
... router

@angular/cdk: 5.1.0
@angular/cli: 1.6.5
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.29
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.5
@schematics/angular: 0.1.17
typescript: 2.6.2
webpack: 3.10.0

@MadeRelevant  U'r so right.. i think this is critical, the Angular team should fix this as fast as possible. Downgrading from 1.6.8  to 1.3.2 is a sad solution even if works.

Downgrading to 1.3.2 is not an option for me:
ERROR in Please update @angular/cli. Angular 5+ requires at least Angular CLI 1.5+

There may be some kind of evil hiding behind the angular's backend.

Same problem here how to resolved it
95% emitting/home/suraj/Desktop/Untitled Folder/my-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:40
callbacks[i](err, result);
^
TypeError: callbacks[i] is not a function
at Storage.finished (/home/suraj/Desktop/Untitled Folder/my-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:40:15)
at /home/suraj/Desktop/Untitled Folder/my-app/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:77:9
at /home/suraj/Desktop/Untitled Folder/my-app/node_modules/graceful-fs/polyfills.js:287:18
at FSReqWrap.oncomplete (fs.js:167:5)

"copy-webpack-plugin": "^4.1.1" is causing the issue. A new version of copy-webpack-plugin (4.4.0) is what broke angular cli.

npm install<EMAIL_ADDRESS>is solved the problem

I can confim that downgrade of  copy-webpack-plugin to 4.3.1 works for me (angular 5.2.3 & 5.2.4 /cli 1.6.6 &1.6.8).
Thanks, @neshkatrapati

Root issue is webpack-contrib/copy-webpack-plugin#217

No way, it works! copy-webpack-plugin caused it for me to. What I am wondering is how was this figured out that it was that package? Trial and error?
And how is it possible that a non-major upgrade causes this issue? The idea of semversioning is not to be trusted within the javascript world I guess..

Me too

Solved by command : npm install<EMAIL_ADDRESS>

thanks @danielszenasi that fix the problem
npm install<EMAIL_ADDRESS>

Thought it was just me thanks @danielszenasi

Im using Angular 4.4.6 (CLI 1.5.0) and the fix from @danielszenasi  didn't worked for me.

@danielszenasi solution works for me, I just wasted whole day because of this issue,

This does raise the question of how dependencies are managed in the project. Maybe the use of ^ isn't the best choice.

npm install<EMAIL_ADDRESS>worked  for me

I worked for me too

I have more or less come to the same conclusion ^ on its own is worse than hell and npm together

Had the same issue. Resolved by npm install<EMAIL_ADDRESS>

I have same problem for new install

@danny95djb @DooMMasteR  It's probably better if the package pins dependencies at specific versions. The "beauty" of npm is that this problem can occur at any level of dependencies, so it's not a 100% safe solution.

Had the same issue. Resolved by npm install<EMAIL_ADDRESS>

worked for me too... thanks guyz... tired of these breaking changes lately :-/

@hnrchrdl
+1
This also works for me

Thanks @danielszenasi that fix the problem
cmd : npm install<EMAIL_ADDRESS>Angular CLI: 1.6.6
Node: 8.9.4
OS: linux x64
Angular: 5.2.4

God bless u man @danielszenasi

The same here

thanks

Thanks, @danielszenasi, I just updated my Gitlab CI with  "npm install<EMAIL_ADDRESS>and everything works fine!!!

but... the people that have solved the problem: u had installed<EMAIL_ADDRESS>before?
With this the problem not is solved for me :(
TypeError: callbacks[i] is not a function 13:35:39     at Storage.finished (/home/jenkins/.jenkins/workspace/ckend_mcdonalds-cms_develop-KUGBU6RPL4XOVDQHQ263X6SXIV33TJD4ZP4ZTNWQABGBLS2LSMLQ/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:40:15) 13:35:39     at /home/jenkins/.jenkins/workspace/ckend_mcdonalds-cms_develop-KUGBU6RPL4XOVDQHQ263X6SXIV33TJD4ZP4ZTNWQABGBLS2LSMLQ/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:77:9 13:35:39     at /home/jenkins/.jenkins/workspace/ckend_mcdonalds-cms_develop-KUGBU6RPL4XOVDQHQ263X6SXIV33TJD4ZP4ZTNWQABGBLS2LSMLQ/node_modules/graceful-fs/polyfills.js:287:18 13:35:39     at FSReqWrap.oncomplete (fs.js:123:15)

does npm install<EMAIL_ADDRESS>command have to ran with --save or --save dev?

same here like @mcanelo

@jbarber2016
npm install --only=dev<EMAIL_ADDRESS>

@danielszenasi, the Nobel Peace Prize goes for you, man :)
Thanks a lot!

@mcanelo
Check if you have ^ in package.json, remove it to force to downgrade the package if you use npm install in a jenkins task

Thanks ;) @danielszenasi

same here on windows 10

npm install<EMAIL_ADDRESS>Is functional for me too. By installing npm 5+ and making package-lock.json on that version solved problem on whole building system. Thanks for that advice.

awesome stuff thanks

npm install<EMAIL_ADDRESS>worked for me, if executed from project folder.
thanks @danielszenasi

npm install<EMAIL_ADDRESS>worked for me. Thank  you!!!

Funcionó con la degradacion de webpack...pero en serio...como ha podido llegar a pasar esto? Increible...

4.3.0 doesn't work for me, 4.3.1 does work.

We currently investigate problem https://github.com/webpack-contrib/copy-webpack-plugin/issues/217, please don't spam. Thanks.

I've the same error here:
Failing here:
Jenkins (running a slave container):

Local (running the same container that Jenkins):

And it seems that @ReToCode build also has the same issue:
https://travis-ci.org/oscp/openshift-monitoring/builds/338959033?utm_source=github_status&utm_medium=notification

Thanks ;) @danielszenasi  . That worked for me.

@losbeekos's solution has worked.
As I'm releasing a version today, I'll keep this workaround for now.

Worked for me, tnx to all!
npm install<EMAIL_ADDRESS>--save
p.s. I had to put --save to add to package/json
Fwi, is this temp solution, or?

Thank u @danny95djb and @danielszenasi! 4.3.1 does work for me

@idukic temp solution, because that package is at 4.4.0 and that's what broke the current setup

Remove "favicon.ico" from .angular-cli.json in "assets" field solve problem.
Investigate more deeply why it is happens

Same issue :(
D:\a\1\s\Techstep.Portal\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:40
callbacks[i](err, result);
^
TypeError: callbacks[i] is not a function
at Storage.finished (D:\a\1\s\Techstep.Portal\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:40:15)
at D:\a\1\s\Techstep.Portal\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:77:9
at D:\a\1\s\Techstep.Portal\node_modules\graceful-fs\polyfills.js:287:18
at FSReqWrap.oncomplete (fs.js:153:5)

For me adding "copy-webpack-plugin": "4.3.1" to package.json solved the problem. Thanks guys

same here

For Yarn users, you can override the copy-webpack-plugin version used inside CLI by adding this to your package.json:
  "resolutions": {
    "copy-webpack-plugin": "4.3.0"
  }

The semantics of this are slightly different than just manually overwriting the version once, you're telling yarn "if anything I am using depends on this package, ignore what version it thinks it wants and give it this one instead".

@MartynasStukas this will not work as you wanted to. If you are on localhost it's ok but if you use gitlab-ci to build your project this solution is messy. Yes, it's a workaround for now, but this is not the desired solution. Desired solution is to hit npm install and to work without installing other libraries.

"@angular/cli": "1.6.1" solution using copy-webpack-plugin not working for me

same problem. npm install<EMAIL_ADDRESS>fix for me
@angular/cli: 1.6.8
@angular/material: 2.0.0-beta.12
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.29
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.8
@schematics/angular: 0.1.17
typescript: 2.3.3
webpack: 3.10.0

Resole with this command : npm install<EMAIL_ADDRESS>Thanks

I also want write story & participate in this issue, which received the largest nb. of comments within one hour!

npm install<EMAIL_ADDRESS>--save
worked for me

<EMAIL_ADDRESS>didn't help

clean project with ng new, all latest angular stuff, wont work either

Same issue.
I tested "npm install<EMAIL_ADDRESS>and it works for me. (localhost project)

also ng test --code-coverage --single-run doesn't work anymore
TypeError: Cannot read property 'apply' of undefined

For anybody using Gitlab with yarn, you'll need to add a script line after "yarn install":
- npm install<EMAIL_ADDRESS>This fixed it for me

Hi all,
@evilebottnawi is looking into this from the webpack side, and I am looking at it from the CLI side.
It seems to be a bad interaction in usage of the webpack file system. I don't yet have more details than that but we are looking into this.
There's already a couple of suggestions on how to work around for now but I will reiterate for visibility: you can try to force install<EMAIL_ADDRESS>in your project.
Using npm, follow these steps:

npm ls copy-webpack-plugin should show<EMAIL_ADDRESS>installed
npm install<EMAIL_ADDRESS>npm uninstall<EMAIL_ADDRESS>installing and uninstalling should force the npm to resolve and dedupe to 4.3.1
npm ls copy-webpack-plugin should show<EMAIL_ADDRESS>installed

I used npm 5.6.0 for this, and recommend you use at least that version as well since it has lockfile support and solves some npm problems with windows.
@kylecordes has also offered some advice for Yarn users in https://github.com/angular/angular-cli/issues/9550#issuecomment-364110779.
I'd like to remind everyone that you only have reproducible installs if you use a lockfile. Both NPM v5+ and Yarn support lockfiles. If your CI works one day but not the next and you did not change your code or package.json, it is likely because one of your dependencies had a bad release and you did not have a lockfile.
It is your responsibility as a library consumer to use lockfiles. No one wants to do a release with bugs but it sometimes happens, and the best we can do is to fix it as fast as possible with a new release. When you have a couple of thousand total dependencies it is only a matter of time until one of them has a bad release.

Same Here!

Same problem....

@gamebenchjake 's solution worked for me. I found the answer here https://stackoverflow.com/questions/48684276/angular-cli-gives-me-typeerror-callbacksi-is-not-a-function-when-i-ng-serv

npm install --save<EMAIL_ADDRESS>Worked for us.
We are running Visual Studio Builds for Angular App. This is out setup:

Can anyone direct me to a resource that details implementing this fix on an Azure web app through VSTS?

Workaround suggested by @MartinManchev worked fine for me!!
"npm install<EMAIL_ADDRESS>

Worked for me also:
npm install<EMAIL_ADDRESS>--save

npm install<EMAIL_ADDRESS>solve my issue

I had the same problem, but the solution npm install<EMAIL_ADDRESS>worked for me.
thanks @danielszenasi

SAME ERROR HERE
Angular CLI: 1.6.7
Node: 6.9.4
OS: win32 x64
Angular: 5.2.4
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
angular/cli: 1.6.7
angular-devkit/build-optimizer: 0.0.42
angular-devkit/core: 0.2.0
angular-devkit/schematics: 0.0.52
ngtools/json-schema: 1.1.0
ngtools/webpack: 1.9.7
schematics/angular: 0.1.17
typescript: 2.5.3
webpack: 3.10.0

Me too

npm install package@version still adds semver ranges and didn't help in my case, so I used -E option to use an exact version. Additionally using option -O to add the plugin to peer dependencies only, as the webapp don't depend directly on copy-webpack-plugin. Solution described here: https://stackoverflow.com/a/48687139/3120193

thanx @danielszenasi,i fixed the problem

I had to use the resolutions fix proposed above in comment https://github.com/angular/angular-cli/issues/9550#issuecomment-364110779

Might have been posted before, but better safe than sory!
Solution:
https://stackoverflow.com/questions/48684276/angular-cli-gives-me-typeerror-callbacksi-is-not-a-function-when-i-ng-serv

npm install<EMAIL_ADDRESS>--save (worked for me)

thanks @danielszenasi 👍

Thanks!!!!

same here! I'm going to try this npm install<EMAIL_ADDRESS>--save

Same problem here with ng build but I have a question about this. Should I add copy-webpack-plugin to my package.json ?

I guess not, we don't want temporary solutions in package json...

@stoto34, you do that by adding '--save '
npm install<EMAIL_ADDRESS>--save

works for me!!!  --> npm install<EMAIL_ADDRESS>--save

@idukic If I remove node_modules folder when I build my app, I will have the same problem for the next build right ? (FIY, it's all about production server)

thanks @danielszenasi

npm install<EMAIL_ADDRESS>--save (worked! ty)

This is embarrassing.

Running npm install<EMAIL_ADDRESS>worked for me, thank you for the comments!!

@anilbobba1 Thanks, your pic helped me a great deal.

I have the same problem with Angular 5 and CLI 1.6.7. And it just happened today, yesterday everything worked perfectly.

npm install<EMAIL_ADDRESS>--SaveDev worked for me too

same problem and solution, be patient fellow web developers the time is coming where we wont need to write a single line of javascript or compile to it. It is called webassembly....

Yeah it is working indeed but i am not sure that this is a good solution anyway.... hope it will be fixed soon

Solution using npm install<EMAIL_ADDRESS>--save not working for me

npm install<EMAIL_ADDRESS>works also here. many thanks

npm install<EMAIL_ADDRESS>Will this work for our project as below version
"@angular/cli": "1.6.1",
"@angular/compiler-cli": "5.1.1",
"typescript": "2.4.2"?

Same problem here

Thanks @danielszenasi ! That worked for me.
npm install<EMAIL_ADDRESS>

npm install<EMAIL_ADDRESS>--save didn't work for my case! Any other solution, please?

npm install<EMAIL_ADDRESS>-save worked. many thanks

You should not --save the module to your project.json, because it is only a temporary fix. Instead, use a lock file. Read the explanations from @filipesilva above.

npm install<EMAIL_ADDRESS>-save didn't help in my case

try if npm install<EMAIL_ADDRESS>doesn`t help try add in package.json:
"optionalDependencies": {
"copy-webpack-plugin": "4.3.1"
},
"resolutions": {
"copy-webpack-plugin": "4.3.1"
}

Have fix https://github.com/webpack-contrib/copy-webpack-plugin/pull/221, just wait release in near minutes

Same issue here on Bash windows

SAME HERE !!

What do I need to do exactly once webpack-contrib/copy-webpack-plugin#221 has passed Travis-CI?

Same

hi guys, i add in my package.json
...
"copy-webpack-plugin": "4.3.0",
...
and solve my problems!

I get the same problem when deploying to Heroku.

Hi, @maicongobbi
Will this work for below version
"@angular/cli": "1.6.1",
"@angular/compiler-cli": "5.1.1",
"typescript": "2.4.2"?

OK IT WORKED
THANKS
node v9.3.0
npm 5.6.0
"@angular/cli": "1.6.8",
"@angular/compiler": "^5.2.0",
"typescript": "^2.6.2",
"@types/node": "^9.4.2",
"copy-webpack-plugin": "^4.4.1",

the new copy-webpack-plugin rev fixes it
thank you mate

@amithole1987
"typescript": "^2.5.3",
"@angular/cli": "^1.6.0",
"@angular/compiler-cli": "^4.4.5",

it seems to work now!

Now arrived v4.4.1 💃
https://www.npmjs.com/package/copy-webpack-plugin
Now it hasn't this bug!

$ npm install<EMAIL_ADDRESS>This command worked for me..

Hi all,
<EMAIL_ADDRESS>was just released with a fix that addresses this problem (https://github.com/webpack-contrib/copy-webpack-plugin/pull/221).
A big thanks to the Webpack folks, especially @evilebottnawi, for looking investigating this problem and releasing a new version so quickly.
Using npm, follow these steps to force update:

npm install<EMAIL_ADDRESS>npm uninstall<EMAIL_ADDRESS>installing and uninstalling should force the npm to resolve and dedupe to 4.4.1
npm ls copy-webpack-plugin should show<EMAIL_ADDRESS>installed

I used npm 5.6.0 for this, and recommend you use at least that version as well since it has lockfile support and solves some npm problems with windows.
@kylecordes has also offered some advice for Yarn users in https://github.com/angular/angular-cli/issues/9550#issuecomment-364110779.
I'd like to remind everyone that you only have reproducible installs if you use a lockfile. Both NPM v5+ and Yarn support lockfiles. If your CI works one day but not the next and you did not change your code or package.json, it is likely because one of your dependencies had a bad release and you did not have a lockfile.
It is your responsibility as a library consumer to use lockfiles. No one wants to do a release with bugs but it sometimes happens, and the best we can do is to fix it as fast as possible with a new release. When you have a couple of thousand total dependencies it is only a matter of time until one of them has a bad release.
I am going to close this topic for now so that my answer will be the most visible for anyone experiencing this issue.
I'm sorry to remove your ability to comment on it but for new users it would be very hard to find the solution with so many comments coming up. I will reopen in a few hours.

New release!! from copy-webpack-plugin
https://github.com/webpack-contrib/copy-webpack-plugin/releases/tag/v4.4.1
Fixed!

Leaving issue opened for now to increase visibility, but will close later when reopening comments. For any new users coming into this issue, please check my comment just above regarding the resolution.

the only way to resolve this issue is to use a previous version of the @angular/cli. Which is version 1.6.1 and before

Uninstall and reinstall angular cli again. Issue is already solved

This has been solved by a new release of the copy webpack plugin.

With me, works only after reinstalling @angular/cli and, in addition, delete package-lock.json, remove node_modules and reinstall packages

deleting package-lock.json and npm install<EMAIL_ADDRESS>worked for us. Cheers!!!

So, I was facing the same problem.
What I did
npm uninstall -g @angular/cli
npm cache clean --force
npm install -g @angular/cli

It is working now. Cheers

I made downgrade compiler-cli up to 5.2.3 and I started

After updating and trying build version still got this error

npm install<EMAIL_ADDRESS>--save
Its Working For Me ..Thanks :)

Hi team, have you planned a patch in the angular-cli in order to fix this issue? thank you in advance.

@albertnadal a patch isn't required to fix this issue as it was to do with a dependency which has now fixed, npm install / clearing npm cache then installing should fix the issue

npm install<EMAIL_ADDRESS>Work for Me there are my configuration
    _                      _                 ____ _     ___    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|   / △ \ | '_ \ / _ | | | | |/ ` | '__|   | |   | |    | |
/ ___ | | | | (| | || | | (| | |      | || | | |
//   __| ||_, |_,||_,||       _|||
|___/
Angular CLI: 1.6.8
Node: 8.9.4
OS: win32 x64
Angular: 5.2.1
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular/cli: 1.6.8
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.29
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.8
@schematics/angular: 0.1.17
typescript: 2.5.3
webpack: 3.10.0`

so error was in in third party lib "copy-webpack-plugin": "^4.1.1",
if angular-cli team hard coded dependency like "copy-webpack-plugin":"4.1.1"
this error would not happened
in this case authors of code-webpack-plugin would not know so fast that they have error in one release
so maybe npm community need to be less optimistic about semantic versioning
and to remove tildes and carets  from package json in order to have more robust
predicable builds
angular can start first and lets hope that other npm projects will follow
it is not first (last) time this stuff happened it could be even worst
that some deeper dependency broke build
cure is simple in all packege.json remove tildes and and carets
use https://www.npmjs.com/package/npm-check-updates to manually  manage project dependencies
run ncu - u
run npm i
run all tests and if it is OK publish
another option is maybe to have in npm option to run it without semantic versioning
without tildes and carets so if somebody
does not want to test semantic versioning he can do it with
for example command
npm i --stable
where it npm could install version without tildes and carets
maybe it already exitst but nobody use it or know about it
of course this is not ng cli problem it is general problem with semantic versioning
angular team is doing great job and lets hope that they will attack
problem to have more robust builds
svega ovoga nebi bilo da je pera otisao u policiju

@topce upravu si svega ovoga nebi bilo  😂

After a new installation and package update from package.json, "ng test" still gives errors.
The following solutions, found on Internet, did not work for me:

move "import 'zone.js / dist / zones-testing';" at the end of the imports on test.ts file;
uninstalling and reinstalling "@ angular / cli";
deleting node-modules, package-lock.json and reinstalling all with "npm install";
install the copy-webpack-plugin package;

The only good option was to downgrade "jasmine-core" to "2.99.0"
Here are the dependencies used:
"dependencies": {
"@angular/animations": "^5.2.7",
"@angular/common": "^5.2.7",
"@angular/compiler": "^5.2.7",
"@angular/core": "^5.2.7",
"@angular/forms": "^5.2.7",
"@angular/http": "^5.2.7",
"@angular/platform-browser": "^5.2.7",
"@angular/platform-browser-dynamic": "^5.2.7",
"@angular/router": "^5.2.7",
"core-js": "^2.5.3",
"rxjs": "^5.5.6",
"zone.js": "^0.8.20"
},
"devDependencies": {
"@angular/cli": "^1.7.2",
"@angular/compiler-cli": "^5.2.7",
"@angular/language-service": "^5.2.7",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~9.4.6",
"codelyzer": "^4.2.1",
"jasmine-core": "~2.99.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~2.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "^1.4.1",
"karma-jasmine": "~1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.3.0",
"ts-node": "~5.0.1",
"tslint": "~5.9.1",
"typescript": "~2.6.2"
}


feat: accelerator fragment support cli change

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.

Please add some tests for this PR change


tooltip for peers. Resolves issue #91

Description of PR
Tooltip support for peers seen BGP Update/Withdrawal on hijack view.
Resolves issue https://github.com/FORTH-ICS-INSPIRE/artemis/issues/91.
What component(s) does this PR affect?

[ ] Back-End (Database, Microservices, Containers, etc)
[X] Front-End (Flask, API, etc)
[ ] Docs
[ ] Build System

Does the PR require changes on other components? If yes, please mark the components:

[ ] Back-End (Database, Microservices, Containers, etc)
[ ] Front-End (Flask, API, etc)
[ ] Docs
[ ] Build System

Related Issue

Solution

Type

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Docs update
[ ] None of the above

Checklist:

[X] I have read the contributing guide and my code conforms to the guidelines.
[ ] This change requires a change in the documentation.
[ ] I have updated the documentation accordingly.

@pgigis Please check the rest needed for issue #91:

please change the name from "Seen Hijack BGP update" --> "Seen Hijack BGP Announcement". Witthdrawals are also updates.
Follow the same principle for distinct value lists in BGP updates and hijacks, to beautify them as well.


Add "WindowStyle" argument to "VM-Install-Shortcut"

Details
Right now we have no way of modifying the Window Style for our shortcuts.
Having the ability to change the Window Style to Minimized or Hidden for console applications would make for a much nicer shortcut and this is supported by the Install-ChocolatelyShortcut function that we are using. (For example, it should alleviate seeing any command prompt popup that may not be wanted)
I think we should add this as an extra argument to pass into VM-Install-Shortcut.

Is this needed for the CyberChef link? Thinking on the use of case. 🤔

That is one of the reasons that I would like to have the options, yes. 🙂
I attempted to try the route of adding cyberchef to be the default homepage when opening chrome programmatically (modifying config files) but it seems to change often enough that it will likely break eventually.
Adding it as a chrome policy also didn't work as chrome straight up denies having a local file be used for the default homepage.

While it may be nice to have, it's not a necessity right now as no tool currently needs it, so we can close it for the moment and reopen it if the need arises in the future. 🙂


When listening for an input in the Editor Settings -> Shortcuts menu, the escape key will close the menu.

Godot version
4.2
System information
Windows 11
Issue description
Title.
I don't believe this should be the desired behavior. It should search for shortcuts using the escape key, and key the menu open.
Steps to reproduce
Press escape in the 'Listening for Input...' box.

Minimal reproduction project
N/A

I can confirm this on 4.3.dev cae759949 (Linux).


Handler stuck when awaiting aborted SSE stream

What version of Hono are you using?
3.12.6
What runtime/platform is your app running on?
Node
What steps can reproduce the bug?
Start the following server and run this command curl http://localhost:8000/sse. After a few seconds stop the curl command.
import { serve } from "@hono/node-server";
import { Hono } from "hono";
import { streamSSE } from "hono/streaming";

const app = new Hono();

let testId = 0;

app.get("/sse", (c) =>
  streamSSE(c, async (stream) => {
    try {
      const currentTestId = ++testId;
      let aborted = false;
      stream.onAbort(() => {
        aborted = true;
      });

      for (let i = 0; i < 10; i++) {
        console.log(currentTestId, "Iteration", i, aborted ? "(aborted)" : "");
        // If I await the writeSSE like this, it sometimes never returns when the stream is aborted
        await stream.writeSSE({ data: JSON.stringify({ iteration: i }) });
        await stream.sleep(1000);
      }
      console.log("Done");
    } catch (error) {
      console.error("Error", error);
    }
  })
);

const port = 8000;
console.log(`Server is running on port ${port}`);

serve({
  fetch: app.fetch,
  port,
});

What is the expected behavior?
I expect either the await stream.writeSSE() to "succeed" or to throw an exception. Now the call never completes after a for writes after the stream is aborted.
What do you see instead?
The server logging stops after a few writes and the handler never finishes.
Example output:
1 Iteration 0
1 Iteration 1
1 Iteration 2
1 Iteration 3
1 Iteration 4 (aborted)
1 Iteration 5 (aborted)

(it doesn't complete all the iterations and Done is not logged)
Additional information
For my use case I want to continue with all iterations even if the stream is closed. I think I have two workarounds:

Skip awaiting stream.writeSSE()
Skip calling stream.writeSSE() when the stream is aborted

Not sure if there are any drawbacks of not awaiting the writes (1). And I'm a bit worried that handler can be stuck if there are issues with writing.

@watany-dev or @sor4chi Can you see this?

streamSSE is a function designed to return a stream to the client. Therefore, if the client disconnects, the process within streamSSE will also terminate. If you want to separate the processing process from the stream and not make the processing process dependent on the client connection, you can achieve this separation by using a queue as shown in the example.
app.get("/sse-queue", (c) => {
  let resultsQueue = [];

  function simulateBackgroundProcess() {
    setInterval(() => {
      const result = { timestamp: new Date().toISOString(), data: 'Some data' };
      console.log(result)
      resultsQueue.push(result);
    }, 1000);
  }
  simulateBackgroundProcess()

  return streamSSE(c, async (stream) => {
    try {
      while (true) {
        if (resultsQueue.length > 0) {
          const result = resultsQueue.shift();
          await stream.writeSSE({ data: JSON.stringify(result) });
        }
        await stream.sleep(500);
      }
    } catch (error) {
      console.error("Error", error);
    }
  });
});

Thanks, I will try it out!


[Question] Dependency Injection

Is there a way to inject an OdataClient like I can a HttpClient in a .NET Core web api project in the Startup.cs?

I'm able to register it as a singleton like this:
services.AddSingleton<ItemOdataClient>(new ItemOdataClient("https://localhost:5006/odata/"));
but I need to add my authorization token to the settings and I'm not sure how to do that.
When I register my other HttpClients I use the .AddHttpMessageHandler and pass it a DelegatingHandler that knows how to get the token and add the header.

Simple.OData.Client has ODataClientSettings property OnCreateMessageHandler which lets the client to specify actions on HttpMessageHandler. Can this work for you? Otherwise I need perhaps more details, maybe code example on what you need to achieve.

@stumpykilo pleaset have a look at another issue: https://github.com/object/Simple.OData.Client/issues/502
There is a new version of the library coming (5.4) that will have that issue implemented and this might be what you need.

Thanks @object, that sounds promising and I think super helpful in my case. I'll take a look when it is released.

I just released version 5.4 that supports sending external HttpClient.

Can it just work with the DI container and the registered IHttpClientFactory?


Cannot read property 'html-webpack-plugin-after-emit' of undefined

webpack 1.14
node 6.3.1
Cannot read property 'html-webpack-plugin-after-emit' of undefined | at build/product/newbuild/webpack/node_modules/tapable/lib/Tapable.js:75:19) | at Object.tryCatcher build/product/newbuild/webpack/node_modules/bluebird/js/main/util.js:26:23) | at ret (eval at build/product/newbuild/webpack/node_modules/bluebird/js/main/promisify.js:163:12), :13:39) | at build/product/newbuild/webpack/node_modules/html-webpack-plugin/index.js:642:12 | at build/product/newbuild/webpack/node_modules/html-webpack-plugin/index.js:192:16 | at tryCatcher build/product/newbuild/webpack/node_modules/bluebird/js/main/util.js:26:23) | at build/product/newbuild/webpack/node_modules/bluebird/js/main/promise.js:510:31) | at build/product/newbuild/webpack/node_modules/bluebird/js/main/promise.js:584:18) | at build/product/newbuild/webpack/node_modules/bluebird/js/main/promise.js:700:14) | at build/product/newbuild/webpack/node_modules/bluebird/js/main/async.js:123:16) | at build/product/newbuild/webpack/node_modules/bluebird/js/main/async.js:133:10) | at build/product/newbuild/webpack/node_modules/bluebird/js/main/async.js:15:14) | at tryOnImmediate (timers.js:543:15) | at processImm
Could you help me to solve this issue (fails on debian - ok on xubuntu)

wrong repo, old


[Build] Move to go module

Moving to go mod instead of dep and vendoring approach will bring us several advantages:

Reduce the line of code in the repo
Ease other framework to depend on burrow
Secure dependency management with hash and version management with go.mod and go.sum

WARNING It implies to update go lang minimal version requirement to 1.11.
More information can be found on the go module documentation.

++
We now have the final solution for Go dependency management (which replaces the previous three final solutions). :-)

oh yes, at least this one is in the core.


Jasmine can't find an exported global (a class) using Babel based ES6 code

Here is a repo showing the issue:
https://github.com/sebastianconcept/jasmineAndES6
And a stack trace:
ReferenceError: Model is not defined
    at Object.<anonymous> (/Users/sebastian/git/jasmineAndES6/tests/jasmine/server/unit/ModelSpec.es6.js:6:17)
    at attemptSync (/Users/sebastian/.meteor/packages/sanjo_jasmine/.<IP_ADDRESS>u5xia++os+web.browser+web.cordova/npm/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1759:24)
    at QueueRunner.run (/Users/sebastian/.meteor/packages/sanjo_jasmine/.<IP_ADDRESS>u5xia++os+web.browser+web.cordova/npm/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1747:9)
    at QueueRunner.execute (/Users/sebastian/.meteor/packages/sanjo_jasmine/.<IP_ADDRESS>u5xia++os+web.browser+web.cordova/npm/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1733:10)
    at Spec.Env.queueRunnerFactory (/Users/sebastian/.meteor/packages/sanjo_jasmine/.<IP_ADDRESS>u5xia++os+web.browser+web.cordova/npm/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:569:35)
    at Spec.execute (/Users/sebastian/.meteor/packages/sanjo_jasmine/.<IP_ADDRESS>u5xia++os+web.browser+web.cordova/npm/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:318:10)
    at Object.fn (/Users/sebastian/.meteor/packages/sanjo_jasmine/.<IP_ADDRESS>u5xia++os+web.browser+web.cordova/npm/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:2072:43)
    at attemptAsync (/Users/sebastian/.meteor/packages/sanjo_jasmine/.<IP_ADDRESS>u5xia++os+web.browser+web.cordova/npm/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1789:24)
    at QueueRunner.run (/Users/sebastian/.meteor/packages/sanjo_jasmine/.<IP_ADDRESS>u5xia++os+web.browser+web.cordova/npm/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1745:16)
    at QueueRunner.execute (/Users/sebastian/.meteor/packages/sanjo_jasmine/.<IP_ADDRESS>u5xia++os+web.browser+web.cordova/npm/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1733:10)```

Hi, the server unit mode doesn't support ES6. Can you please use the server integration  mode to write your unit tests. Thanks.

That makes sense.
Thank you @Sanjo !


Extend Azure Service Bus options to allow connection using TokenCredentials (and probably the other options azure service bus allows)

Something like
return await Host
    .CreateDefaultBuilder(args)
    .UseWolverine((ctx, opts) =>
    {
        opts
            .UseAzureServiceBus("my-servicebus.servicebus.windows.net", new ManagedIdentityCredential())
            .AutoProvision()
            .UseConventionalRouting();
    })
    .RunOaktonCommands(args);

Closed by #231 and related work


PR for issue/35

Rebased version of https://github.com/FRosner/drunken-data-quality/pull/54

Current coverage is 100.00%

Merging #64 into master will not affect coverage as of dc99a78

@@            master     #64   diff @@
======================================
  Files            4       4
  Stmts          200     203     +3
  Branches        40      40
  Methods          0       0
======================================
+ Hit            200     203     +3
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of dc99a78

Powered by Codecov. Updated on successful CI builds.

@FRosner Ok, the merge rate basically tells me the percentage of "survived" (distinct) primary keys after the join with some other table. I just googled again for the term 'merge rate' with respect to joins/SQL but was not successful in finding an official definition. So I think we can just leave it like this and document it properly.

Can you please review the PR one more time @bkomboz @zchen?

@FRosner Overall it looks good to me. Minor detail: Should variable unmatchedKeysPercentage not  better be named matchedKeysPercentage? Because the following test:
"A joinable check" should "succeed if a join on the given column yields at least one row" in {
val base = makeIntegerDf(List(1, 1, 1, 2, 2, 3))
val ref = makeIntegerDf(List(1, 2, 5))
val check = Check(base).isJoinableWith(ref, "column" -> "column")
val constraint = check.constraints.head
val result = ConstraintSuccess("Column column->column can be used for joining (" +
  "join columns cardinality in base table: 3, " +
  "join columns cardinality after joining: 2 (67%)")
check.run().constraintResults shouldBe Map(constraint -> result)
}

gives 67% (percentage of matches keys) and not 33% (percentage of unmatched keys).

You're actually right. Thanks!

On 09 Feb 2016, at 13:04, Basil Komboz<EMAIL_ADDRESS>wrote:
@FRosner https://github.com/FRosner Overall it looks good to me. Minor detail: Should variable unmatchedKeysPercentage not better be named matchedKeysPercentage? Because the following test:
"A joinable check" should "succeed if a join on the given column yields at least one row" in {
val base = makeIntegerDf(List(1, 1, 1, 2, 2, 3))
val ref = makeIntegerDf(List(1, 2, 5))
val check = Check(base).isJoinableWith(ref, "column" -> "column")
val constraint = check.constraints.head
val result = ConstraintSuccess("Column column->column can be used for joining (" +
"join columns cardinality in base table: 3, " +
"join columns cardinality after joining: 2 (67%)")
check.run().constraintResults shouldBe Map(constraint -> result)
}
gives 67% (percentage of matches keys) and not 33% (percentage of unmatched keys).
—
Reply to this email directly or view it on GitHub https://github.com/FRosner/drunken-data-quality/pull/64#issuecomment-181838225.


Update changelog release date for 1.34.14

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


Telemetry for Airy Core usage

After few discussions that we had with @pascal-airy, @steffh and @sgarroum, I am opening this issue so that we can discuss and determine what kind of metrics do we need to determine how much people are using Airy Core, without giving an impression that we are threatening their privacy.
Metrics such as:

Downloads of the airy cli
Number of Ngrok tunnels
Pulled images from Github

Please write your thoughts in this issue and after we agree on what do we need, we can build the tools and get/store proper metrics.

Another approach of implementation of telemetry in an open source project:
https://github.com/airbytehq/airbyte/tree/master/airbyte-analytics
They provide a way to opt out via config variables (https://docs.airbyte.io/faq/getting-started#can-i-disable-analytics-in-airbyte), plus a switch for anonymization of telemetry events when starting their UI for the first time.
Also, email is a required field for new instance we the option to sign up for security updates and/or product news:

Opened a milestone and umbrella ticket #2245


[FEATURE] - Add required field option for many-to-many relationships or in general for fields that are not required

Summary
I love that next-admin leverages the prisma schema to determine required vs not-required fields, but it would be really cool to be able to override the schema for the sake of these forms, at least to make something required that the schema doesn't require.
For instance, in prisma there's no way (that I'm aware of) to specify that a many to many relationship is required. I understand why this is complicated, but I'm wondering if we can add a way to mark a field as required even when the schema says otherwise.
Basic Example
In my example, I have a job model and an industries model. A job can have many industries, and an industry can have many jobs.
In my prisma schema I don't have a question mark on this relationship, but yet I can create a job without associating any industries.
I would like to be able to add a required: true to the field in my next-admin options and have the field be required.
Drawbacks
there could be some confusion because it will be impossible to say that a field is NOT required when the db requires it.
Unresolved questions
No response

Hey, this feature is available on v4.2.0 🚀
Feel free to give us feedback


Code of Conduct

The Python Community Code of Conduct seems promising. Maybe use relevant portions of this. Make sure to comply with its license.

Addressed in 99bee87.