Create a wrapper class that includes data(?), model, and gridsearch

With a wrapper class, the user can choose what model they would like to use (for now it only accommodates XGBoost but in the future possibly a neural network), accounts for the grid-search (often the model and the grid-search go together), and the data (t.b.d.). It also provides extra functionalities like saving and loading a model from a file, and more...

different kinds of plotting methods

The architecture we discussed—having a parent class Model with child classes XGBoostCustom and MLP—is too simple and not feasible. We should consider a more elaborate approach, as I described earlier. For now, I've implemented the custom XGBoost class with all the necessary features. However, features like saving and loading the model and performing grid search should ideally be part of a wrapper class rather than being included in each individual model. Some features that are currently implemented for the CustomXGBoostRegressor (but should be part of a wrapper), are:

#36
#9
#41


editDocument: Add mention to document.

I've tried giving the html back in the exact same format <control></control> however that seems to get complete striped out and creates a link to nowhere. Whats the proper way for creating a mention in html format.

I would also love to have this.

Jumping on the train, I also think this would be a good feature-- did anyone find a way to do it? The API docs don't seem to mention mentions.

I follow


Registration Name Field

I'm having difficulty tracking down/working with the name field on the registration form.
I've been downloading the registrations so I can create a list to share with the RCs, but I can't work out where the "name" field ends up. I realised quickly it didn't go into First or Last Name. Under Sort Name most of them are email addresses. I thought I'd solved the problem by using Nickname, but a lot of them are still informal eg "Phil" or "Nina".
Am I missing where their entry is ending up, or are they entering informal names? Any way we can get a formal name for all registrants?

Same with the CFP registration - where are the names ending up?

So rather than having a first name field, we have a name field. This is
best practice, as not all cultures have a concept of first name like we'd
use it in the USA.

Yes - I'm fine with that. I'm not objecting to the form at all - what I'm having difficulty with is accessing the information they put in the name field. Where does it end up?
I've tried exporting all the primary fields, and I've tried going through and selecting specific fields, but I still haven't managed to create a list of the names of everyone submitting. I can see on the form that the field is listed as being under categorised under "contacts" but when I try to export and go to "Select Fields" I can't find "contacts" as a category.
But trying other similar fields doesn't work - under "Sort Name" most of them come up as an email. Under "Nickname" you still get a fair number of informal names, like "tom" and "Nina". I'm sure that people aren't putting these things into the "name" field - I'm sure that somewhere on CiviCRM there's a list that links the person's full name with their registration/submission. But where?

Did this get figured out?

Not by me - any idea where their names are ending up?

It looks like not everyone has entered a name in a name field, but may be listed in a speaker field.


added  october 2020 admx templates link

this is my own PR , i read this article, i found October 2020 admx templates link not added , so i added a new link to this article

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@RAJU2529 Can you kindly resolve the merge conflicts in order to proceed with the review? Thank you.

Looks like the main part of this PR is already added (using 20H2 as ADMX version number instead of 2009).
Never mind. I will create a PR to @RAJU2529's branch patch-112 to update it. It may look more like a whitespace cleanup after, but improvement is improvement. 😉

@illfated . ok carry on.

@e0i . I will try after 4.30PM today using pc

Thank you for merging my PR. I hoped it would be enough, but it seems I added too much whitespace clean-up to even out the difference between your branch and the MicrosoftDocs/windows-itpro-docs public branch. Unless you manage to even out the difference via editing, there is the option to start a new PR based on the existing content in the public branch. Good luck with the editing. 👍🏻

Please re-open to resolve the merge conflicts. Thanks.

Yes, it is better to start a new PR to have the new changes unhindered by old changes.


extra space

Url: https://docs.raku.org//type/IO::Socket::Async
Code highlighting seems to add an extra space? See screenshot:

Yes, the space is not present in the original file, so it looks like a syntax highlighter bug.
Thanks for reporting! I have submitted an issue to code highlighter package the docs use.

@Altai-man  - can you provide a link to the ticket in the other system?

Sure, https://github.com/perl6/atom-language-perl6/issues/92


Can I use wavesurfer with videojs-playlist?

Is it possible to use wavesurfer with the videoplaylist plugin? I can't figure out how to merge the two.
Is it possible to attach wavesurfer like this and update the waveform depending on what's playing in the playlist?
vidplayer.wavesurfer({
	src: 'can this be fetched from the playlist?',
	msDisplayMax: 10,
	debug: true,
	waveColor: 'grey',
	progressColor: 'black',
	cursorColor: 'black',
	hideScrollbar: true
});

I'm getting this error when I'm trying the above approach:

VIDEOJS: ERROR: TypeError: "this.player.options_.plugins is undefined"

Not yet. But I got it to work in the v3 branch. Checkout that branch or download it here: https://github.com/collab-project/videojs-wavesurfer/archive/v3.zip and build it using npm. Some help testing would be great @seabasss

@thijstriemstra Thanks! Sorry, I'm a noob when it comes to npm. How do I install a branch? Any chance I can get my hands on a dist folder of 3.0.0? Thanks!

download the zip, unpack and follow instructions here to build the dist folder: https://github.com/collab-project/videojs-wavesurfer#development

@thijstriemstra I'm afraid I can't get it to work. I unpack the zip and place the "videojs-wavesurfer-3" folder in the "node_modules" folder and run "npm run build videojs-wavesurfer-3".
It gives me this message: "ENOENT: no such file or directory"
Sorry, first time doing this and I've only installed things using "npm install " before

follow the steps in the link.. you first need to build the dist folder using these steps. unzip, cd unzipped-folder, npm install, npm run build.

@thijstriemstra Cool, I may have gotten it to work. Well, a "videojs.wavesurfer.js" file was generated into a dist folder :) It says version 2.11.0 and not v3 in it, but I'll give it a go. Thanks

ah yea, ill update the version. check the example/index.html in the zip for the new settings.

This stuff is way over my head. I've tried for hours, but not getting anywhere :( I see that you moved the src out of the plugins option.
Any way you could get a working example with the following videojs-playlist code?
player.playlist([{
  sources: [{
    src: 'http://media.w3.org/2010/05/sintel/trailer.mp4',
    type: 'video/mp4'
  }],
  poster: 'http://media.w3.org/2010/05/sintel/poster.png'
}, {
  sources: [{
    src: 'http://media.w3.org/2010/05/bunny/trailer.mp4',
    type: 'video/mp4'
  }],
  poster: 'http://media.w3.org/2010/05/bunny/poster.png'
}, {
  sources: [{
    src: 'http://vjs.zencdn.net/v/oceans.mp4',
    type: 'video/mp4'
  }],
  poster: 'http://www.videojs.com/img/poster.jpg'
}]);


Follow redirects

Because:
$ curl -i https://raw.github.com/gajus/xhprof.io/master/version.json
HTTP/1.1 200 Connection established

HTTP/1.1 301 Moved Permanently
Location: https://raw.githubusercontent.com/gajus/xhprof.io/master/version.json
Content-Length: 0
Accept-Ranges: bytes
Date: Wed, 17 Jun 2015 18:08:30 GMT
Via: 1.1 varnish
Age: 0
Connection: keep-alive
X-Served-By: cache-lhr6335-LHR
X-Cache: MISS
X-Cache-Hits: 0
Vary: Accept-Encoding

You should change the url instead of following the redirect

Why? What if github changes the url again?

Then we change again ;)

Replaced by https://github.com/gajus/xhprof.io/pull/73. Closing.


Scripts: get-osm-namespace-logs script

Adds a simple script to store at dirName all logs for current
and previous instance runs logs found for all pods and all containers
in $K8S_NAMESPACE
Signed-off-by: Eduard Serra<EMAIL_ADDRESS>Affected area:

Logging              [X]

Other                  [X]

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
No

Codecov Report

Merging #2680 (5e0019a) into main (6b6b717) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2680   +/-   ##
=======================================
  Coverage   64.06%   64.06%
=======================================
  Files         151      151
  Lines        6746     6746
=======================================
  Hits         4322     4322
  Misses       2409     2409
  Partials       15       15

Flag
Coverage Δ

unittests
64.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Locations does not have a direct relationship to units table. We should have a foreign key from locations table in units table.

This is likely a data model change, but we need to be able to link a location to a specific unit. One location may be used for multiple units, but one unit will only have one location.

Link for duplicate issue: https://github.com/Chia-Network/climate-warehouse/issues/393


BIGTOP-3845: Add the command to create the /usr/bigtop folder in the bigtop-select rpm package

BIGTOP-3845: Add the command to create the /usr/bigtop folder in the bigtop-select rpm package

Description of PR
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
[ ] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/

+1 LGTM, tested with prefixed version of Zookeeper and Kafka

@timyuer @kevinw66 Thanks for the contribution! Just a question, STACK_ROOT_DIR is a constant in this PR, but is it still valid if setting another value for the parentDir option instead of /usr/bigtop? e.g., ./gradlew allclean pkgs -Dbuildwithdeps=true -PparentDir=/usr/local/bigtop

@timyuer @kevinw66 Thanks for the contribution! Just a question, STACK_ROOT_DIR is a constant in this PR, but is it still valid if setting another value for the parentDir option instead of /usr/bigtop? e.g., ./gradlew allclean pkgs -Dbuildwithdeps=true -PparentDir=/usr/local/bigtop

Hi @sekikn , thanks for your reminder, but we have one more question here, currently the version info in parentDir need to be added explicitly like -PparentDir=/usr/bigtop/3.2.0, should we change the behavior to read from bigtop version and remove -SNAPSHOT automatically?

should we change the behavior to read from bigtop version and remove -SNAPSHOT automatically?

@kevinw66 I think that's OK since it doesn't affect the default (without the parentDir option) behavior at all.

should we change the behavior to read from bigtop version and remove -SNAPSHOT automatically?

@kevinw66 I think that's OK since it doesn't affect the default (without the parentDir option) behavior at all.

Automatically add version info might be convenience if we wants to use bigtop-select without Ambari in the future


Align sandbox exec arguments with subprocess

Describe your changes
This commit adds new sandbox exec arguments, allowing the user to specify if they want to consume a stream directly, ignore the result, or consume it via a pipe.
Resolves WRK-422
Resolves WRK-413
 Backward/forward compatibility checks

Check these boxes or delete any item (or this section) if not relevant for this PR.

[x] Client+Server: this change is compatible with old servers
[x] Client forward compatibility: this change ensures client can accept data intended for later versions of itself

Note on protobuf: protobuf message changes in one place may have impact to
multiple entities (client, server, worker, database). See points above.

I've tested this behavior out locally:
import modal
from modal.io_streams import StreamType

app = modal.App("peyton-sb-test")

@app.local_entrypoint()
async def main():
    sandbox = modal.Sandbox.create(
        timeout=1000,
        app=app,
    )

    exc = sandbox.exec("echo", "hello", stdout=StreamType.PIPE)
    print(exc.stdout.read(), end="")

    exc = sandbox.exec("echo", "hi2", stdout=StreamType.DEVNULL)
    try:
        print(exc.stdout.read())
    except modal.exception.InvalidError as e:
        print(e)

    exc = sandbox.exec("echo", "hi3", stdout=StreamType.STDOUT)
    exc.wait()
    try:
        print(exc.stdout.read())
    except modal.exception.InvalidError as e:
        print(e)

    sandbox.terminate()

Changelog
Output from Sandbox.exec can now be directed to /dev/null, stdout, or stored for consumption. This behavior can be controlled via the new StreamType arguments.

@prbot automerge


ADD: Refreshment name

@AdnanMuhib forget the name of the third item in refreshment, it was ginger bread 🍞 😜

@mrzahidjabbar It was Garlic Bread. Improve the PR and I will merge it. Also, add a space after ,  and no space before ..


⚠ API - Lens has degraded performance

In 5cc826b, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 503
Response time: 358 ms

Resolved: API - Lens performance has improved in c69c4dc after 7 minutes.


cmake 3.17.5 not supported

https://github.com/DEMCON/cmake-sbom/blob/main/test/CMakeLists.txt#L21 indicates 3.5 is the minimum required version, but when using 3.17.5 version.cmake errors as follows:
CMake Error at cmake/version.cmake:249 (set_target_properties):
  INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "LINKER_LANGUAGE" is not allowed.
Call Stack (most recent call first):
  cmake/version.cmake:265 (version_generate)
  CMakeLists.txt:21 (include)

Removing that section seems to generate the same spdx output when using the newer CMake so it's not clear to me if it's even necessary.

I think you are right. I have removed it.


[FEAT] :sparkles: implement deserializeUser middleware

Description
this middleware will get user from session or cookie and then save it to res.local.user
Anything else?
file:- /src/middleware/deserializeUser.middleware.ts
reference from another project:- https://github.com/shriproperty/server/blob/dev/src/middlewares/deserializeUser.middleware.ts

ok


Can't add the integration

Hi there, I can't add the integration in the devices screen, it is stuck forever on "Please wait, starting configuration wizard for mila". I'm on the latest HaOS, is that a known issue?

Nevermind, it worked after redownloading the integration and restarting HA.


Testing to run your script with a Bora instead of a Calima.

pi@raspberrypi:~ $ ./pax
[Calima] [W] 0x18 = 2ff7f600
[Calima] [R] 0x3 =<PHONE_NUMBER>6f7261
Device Name:  Pax Bora
[Calima] [R] 0xd = 3130
Model Number:  10
[Calima] [R] 0xb =<PHONE_NUMBER>303000
Serial Number:  0000000
[Calima] [R] 0xf = 30312e303000
Hardware Revision:  01.00
[Calima] [R] 0x11 = 30312e303200
Firmware Revision:  01.02
[Calima] [R] 0x13 = 30312e3035
Software Revision:  01.05
[Calima] [R] 0x15 = 504158
Manufacturer:  PAX
[Calima] [R] 0x1c = 5476c3a474747374756761000000000000000000
Traceback (most recent call last):
File "/usr/local/bin/calima", line 10, in
load_entry_point('Calima==1.0', 'console_scripts', 'calima')()
File "/usr/local/lib/python3.4/dist-packages/pycalima/cmdline.py", line 67, in main
print("Alias: ", fan.getAlias())
File "/usr/local/lib/python3.4/dist-packages/pycalima/Calima.py", line 106, in getAlias
return self._readHandle(0x1c).decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)

from pycalima import Calima
fan =Calima('58:2B:DB:00:F0:EF', '16185135')
[Calima] [W] 0x18 = 2ff7f600
fan.scanCharacteristics()
[0x3] READ  =<PHONE_NUMBER>6f7261
[0x5] READ  = 0000
[0x7] READ  =<PHONE_NUMBER>00e803
[0xb] READ  =<PHONE_NUMBER>303000
[0xd] READ  = 3130
[0xf] READ  = 30312e303000
[0x11] READ  = 30312e303200
[0x13] READ  = 30312e3035
[0x15] READ  = 504158
[0x18] WRITE
[0x1a] READ  = 01
[0x1c] READ WRITE  = 5476c3a474747374756761000000000000000000
[0x1e] READ  = 582bdb00f0ef
[0x21] READ  = 00
[0x23] READ  = 420055007c00000000000000
[0x26] READ  = 01
[0x28] READ WRITE  = 01
[0x2a] READ WRITE  =<PHONE_NUMBER>00
[0x2c] READ WRITE  = 01030103
[0x2e] READ WRITE  = 000f
[0x30] READ WRITE  =<PHONE_NUMBER>
[0x32] READ WRITE  =<PHONE_NUMBER>
[0x34] READ WRITE  = 0000
[0x36] READ WRITE  = 02
[0x38] READ WRITE  = 02062a0a
[0x3a] READ WRITE  =<PHONE_NUMBER>
[0x3c] READ WRITE  = 0101
[0x3e] READ WRITE  = 00

This is the output from fan.scanCharacteristics(), in an effort to get the script to work with a Pax Bora.

It seems as firmware version 1.5 inserted a characteristic at 0x1e and effectively shifting characteristic addresses. I've updated the scanCharacteristics function to show UUID of each characteristic. Would you mind printing the new output from scanCharacteristics? Maybe we can switch from handle to UUID when requesting characteristics.
NEW  [0x1e] READ = 582bdb00f0ef
PREV 0x1f [0x21] READ = 00
PREV 0x21 [0x23] READ = 420055007c00000000000000
PREV 0x24 [0x26] READ = 01
PREV 0x26 [0x28] READ WRITE = 01
PREV 0x28 [0x2a] READ WRITE =<PHONE_NUMBER>00
PREV 0x2a [0x2c] READ WRITE = 01030103
PREV 0x2c [0x2e] READ WRITE = 000f
PREV 0x2e [0x30] READ WRITE =<PHONE_NUMBER>
PREV 0x30 [0x32] READ WRITE =<PHONE_NUMBER>
PREV 0x32 [0x34] READ WRITE = 0000
PREV 0x34 [0x36] READ WRITE = 02
PREV 0x36 [0x38] READ WRITE = 02062a0a
PREV 0x38 [0x3a] READ WRITE =<PHONE_NUMBER>
PREV 0x3a [0x3c] READ WRITE = 0101
NEW [0x3e] READ WRITE = 00

fan =Calima('58:2B:DB:00:F0:EF', '16185135')
[Calima] [W] 0x18 = 2ff7f600
fan.scanCharacteristics()
[0x3] Device Name (READ ) = (8)<PHONE_NUMBER>6f7261
[0x5] Appearance (READ ) = (2) 0000
[0x7] Peripheral Preferred Connection Parameters (READ ) = (8)<PHONE_NUMBER>00e803
[0xb] Serial Number String (READ ) = (8)<PHONE_NUMBER>303000
[0xd] Model Number String (READ ) = (2) 3130
[0xf] Hardware Revision String (READ ) = (6) 30312e303000
[0x11] Firmware Revision String (READ ) = (6) 30312e303200
[0x13] Software Revision String (READ ) = (5) 30312e3035
[0x15] Manufacturer Name String (READ ) = (3) 504158
[0x18] 4cad343a-209a-40b7-b911-4d9b3df569b2 (WRITE )
[0x1a] d1ae6b70-ee12-4f6d-b166-d2063dcaffe1 (READ ) = (1) 01
[0x1c] b85fa07a-9382-4838-871c-81d045dcc2ff (READ WRITE ) = (20) 5476c3a474747374756761000000000000000000
[0x1e] 638ff62c-3823-4e0f-8179-1695c46ee8af (READ ) = (6) 582bdb00f0ef
[0x21] 25a824ad-3021-4de9-9f2f-60cf8d17bded (READ ) = (1) 00
[0x23] 528b80e8-c47a-4c0a-bdf1-916a7748f412 (READ ) = (12) 130058000c00750802000000
[0x26] 63b04af9-24c0-4e5d-a69c-94eb9c5707b4 (READ ) = (1) 01
[0x28] 90cabcd1-bcda-4167-85d8-16dcd8ab6a6b (READ WRITE ) = (1) 01
[0x2a] 1488a757-35bc-4ec8-9a6b-9ecf1502778e (READ WRITE ) = (6)<PHONE_NUMBER>00
[0x2c] e782e131-6ce1-4191-a8db-f4304d7610f1 (READ WRITE ) = (4) 01030103
[0x2e] 49c616de-02b1-4b67-b237-90f66793a6f2 (READ WRITE ) = (2) 000f
[0x30] a22eae12-dba8-49f3-9c69-1721dcff1d96 (READ WRITE ) = (5)<PHONE_NUMBER>
[0x32] 118c949c-28c8-4139-b0b3-36657fd055a9 (READ WRITE ) = (5)<PHONE_NUMBER>
[0x34] 8b850c04-dc18-44d2-9501-7662d65ba36e (READ WRITE ) = (2) 0000
[0x36] f508408a-508b-41c6-aa57-61d1fd0d5c39 (READ WRITE ) = (1) 02
[0x38] 6dec478e-ae0b-4186-9d82-13dda03c0682 (READ WRITE ) = (4) 02130105
[0x3a] b5836b55-57bd-433e-8480-46e4993c5ac0 (READ WRITE ) = (5)<PHONE_NUMBER>
[0x3c] faa49e09-a79c-4725-b197-bdc57c67dc32 (READ WRITE ) = (2) 0101
[0x3e] ff5f7c4f-2606-4c69-b360-15aaea58ad5f (READ WRITE ) = (1) 00

I changed the PAX specific functions to use UUID as handles. This seems to work for me, give it a try!
Just download the UUID branch and do the same as you did with the master branch!

Utf-8 strulet som det ser ut som.
Förändringarna man skulle göra med det var utlagt på GitHub?
//Danne

20 juli 2017 kl. 17:31 skrev Patrick Engström<EMAIL_ADDRESS>I changed the PAX specific functions to use UUID as handles. This seems to work for me, give it a try!
Just download the UUID branch https://github.com/PatrickE94/pycalima/archive/uuid.zip and do the same as you did with the master branch!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/PatrickE94/pycalima/issues/2#issuecomment-316740919, or mute the thread https://github.com/notifications/unsubscribe-auth/AcwCJqvPRT_hgVZd-00OTh_F3RAWJJ3Aks5sP3LqgaJpZM4OW1kh.

fan.getState()
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.4/dist-packages/pycalima/Calima.py", line 128, in getState
v = unpack('<4HBHB', self._readUUID("528b80e8-c47a-4c0a-bdf1-916a7748f412 "))
File "/usr/local/lib/python3.4/dist-packages/pycalima/Calima.py", line 62, in _readUUID
val = self.conn.getCharacteristics(uuid=uuid)[0].read()
File "/usr/local/lib/python3.4/dist-packages/bluepy/btle.py", line 466, in getCharacteristics
cmd += ' %s' % UUID(uuid)
File "/usr/local/lib/python3.4/dist-packages/bluepy/btle.py", line 68, in init
self.binVal = binascii.a2b_hex(val.encode('utf-8'))
binascii.Error: Odd-length string

20 juli 2017 kl. 17:31 skrev Patrick Engström<EMAIL_ADDRESS>I changed the PAX specific functions to use UUID as handles. This seems to work for me, give it a try!
Just download the UUID branch https://github.com/PatrickE94/pycalima/archive/uuid.zip and do the same as you did with the master branch!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/PatrickE94/pycalima/issues/2#issuecomment-316740919, or mute the thread https://github.com/notifications/unsubscribe-auth/AcwCJqvPRT_hgVZd-00OTh_F3RAWJJ3Aks5sP3LqgaJpZM4OW1kh.

I'm sorry! There slipped in a space at the end of the readUUID call which effectively gave it the wrong UUID!
I've updated yet again.

fan.getState()
[Calima] [R] 528b80e8-c47a-4c0a-bdf1-916a7748f412 = 1e005c003500000000000000
FanState(Humidity=30, Temp=23.0, Light=53, RPM=0, BoostActive=False, Mode=0, Unknown=0, Unknown2=0)

Success!!!  ;)


Issue with using useCurrent on Laravel 10

When using useCurrent in a migration:

$table->dateTime('intCreatedDateTime')->useCurrent();

This throws the error:
   TypeError

  preg_match(): Argument #2 ($subject) must be of type string, Illuminate\Database\Query\Expression given

  at vendor/bosnadev/database/src/Bosnadev/Database/Schema/Grammars/PostgresGrammar.php:300

Is this a known issue? Thanks for your help.

Fixed in #57


TypeScript type imports are only stripped when they are used as a type at least once

Describe the bug
TypeScript type imports are only stripped when they are used as a type at least once, even if they are not used as a value.
Input code
Working correctly:
// test2.ts
export interface MyType {
  my_property: string;
}

// test1.ts
import { MyType } from "./test2.ts";

interface MySecondaryType extends MyType {

}

Not working correctly:
// test2.ts
export interface MyType {
  my_property: string;
}

// test1.ts
import { MyType } from "./test2.ts";

Expected behavior
I expect that import { MyType } from "./test2.ts"; is stripped away in both examples.

This is intended for multiple reason.

At the time of implementing it, type-only imports without import type are only stripped out if it's used as type.

ts 3.8  introduced type-only imports, because the problem I wrote above.

swc works on file-by-file basis, so it cannot know if it's a type-only.

Even though, I'm considering two options.

Implement emit-only tsc which also handles some special stuffs like const enum within swc_bundler, as it already works by loading multiple file.

Add config to allow user select which behavior should be used.

Lastly, closing in favor of https://github.com/swc-project/swc/pull/1060

@kdy1 Not sure I understand. It doesn't need to know if it's type in the imported module, because if it's not used at all in the importing module then it can be stripped either way. This is the behaviour of tsc. It's not intended. TS 3.8 type only imports are to address the re-export case.

I confused the behavior of babel with one of tsc.

@kdy1 Also this is not being stripped correctly:
import { MyType } from "./test2.ts";
export type { MyType };

Should I open a new bug for this?

I'll just reopen it.


Is it possible to check for a valid session on every page load BEFORE the onLoad function?

I'm working on an app where I want to check for a valid session (redirect to a hosted UI if one doesn't exist) on every page load. The onLoad function fires after the DOM is rendered. I created a function and call it at the very end of the head element of the html page. I did this so that the user doesn't see any of the page before they are redirected to the hosted UI. Much of the page layout and elements are dependent on authentication and their authorization level(s).
The function definition is:
//called before DOM is rendered
authentication.checkUserAuthentication = function()
{
	// https://github.com/aws/amazon-cognito-auth-js/blob/master/src/CognitoAuth.js
	authentication.aws.auth = new AmazonCognitoIdentity.CognitoAuth(authentication.aws.authData);
	authentication.aws.auth.useCodeGrantFlow();

    //register callbacks
	authentication.aws.auth.userhandler = {
		onSuccess: function(result) {
			console.log('result ' + JSON.stringify(result));

		    authentication.aws.authenticatedUser = authentication.aws.auth.getCurrentUser();
			console.log('user ' + authentication.aws.authenticatedUser + ' is logged in');
		},
		onFailure: function(err) {
			console.log('error: ' + err);
			alert("Error!");
		}
	};

	if (authentication.aws.auth.getCachedSession().isValid() === true) {
		//the user's cached session is valid, authentication is not needed
		authentication.aws.authenticatedUser = authentication.aws.auth.getCurrentUser();
		console.log('user ' + authentication.aws.authenticatedUser + ' is already logged in');
	} else {
		authentication.aws.auth.getSession();

		//var curUrl = window.location.href;
	    //parses the response URL and stores the tokens in local storage
	    //authentication.aws.auth.parseCognitoWebResponse(curUrl);

		//trim off the fragment in URL so the user can bookmark a clean URL
		//history.pushState("", document.title, window.location.pathname);
	}
}

The sign in redirect URI is the same as the target URI that the user goes to originally. I'm getting an endless redirect cycle. Does anyone have any ideas on this?

Hi chris
I am not using exactly the same as you, as I am using Implicit grant. But I guess this is not such a big deal related to your question.
I would think that the problem that  your are experiencing is because you never call
"authentication.aws.auth.parseCognitoWebResponse(curUrl);"
Actually, this function seems to me the way

to extract token or code that are sent back thru your Url after the redirect,
and to store them in the local storage that the AWS auth is using.

If you don't call it, then aws auth through the getsession will not see anything in the local storage and  continue to redirect etc ...
example of my code ( including a custom State check):
const declareAwsCredentials = function()
{
AWS.config.update({
region: AWS_REGION
});
var authData = {
    ClientId : AWS_USER_POOL_CLIENT_ID,
    AppWebDomain : AWS_USER_POOL_DOMAIN+".auth."+AWS_REGION+".amazoncognito.com",
    TokenScopesArray : ['openid'],
    RedirectUriSignIn : AWS_APP_URL ,
    RedirectUriSignOut : entryPointUrL
};
auth = new CognitoAuth(authData);
if (auth.isUserSignedIn()==true)
{
    sessionStorage.setItem("NeedStateCheck","NOCHECK");
}
else
{
    var state=sessionStorage.getItem("NeedStateCheck");
    if (state=="NOCHECK" || state==null)
    {
        state=auth.generateRandomString(auth.getCognitoConstants().STATELENGTH,auth.getCognitoConstants().STATEORIGINSTRING);
        sessionStorage.setItem("NeedStateCheck",state);
    }
    auth.setState(state);
}

auth.userhandler = {
    onSuccess: function(result)
    {
        var stateInSession=sessionStorage.getItem("NeedStateCheck");

       // Empty Hash tag as everything is supposed to be stored and to prevent misuse of hash when refreshing
         if(window.history.pushState)
         {
            window.history.pushState('', '/', window.location.pathname)
         } else {
            window.location.hash = '';
         }

         if (stateInSession!="NOCHECK" && stateInSession!=result.getState())
         {
            sessionStorage.setItem("NeedStateCheck",null);
            auth.signInUserSession = null;
            auth.clearCachedTokensScopes();
            console.log("State in redirect does not match the provided state.As a consequence, the Credentials context has been cleaned");
        }
        else
        {
            sessionStorage.setItem("NeedStateCheck",null);
            var idToken = result.getIdToken().getJwtToken();
            if (idToken!="" && idToken!=null)
            {
                // building credentialOptions objects
                var strUserpool='cognito-idp.'+AWS_REGION+'.amazonaws.com/'+AWS_USER_POOL_ID;
                var Logins={};
                Logins[strUserpool]= idToken;

                // Configure the credentials provider to use your identity pool
                    AWS.config.credentials = new AWS.CognitoIdentityCredentials({
                        IdentityPoolId: AWS_FED_IDEN_ID,
                        Logins: Logins
                    });

                    AWS.config.credentials.get(function(err)
                    {
                        if (err!=null||AWS.config.credentials.sessionToken=="")
                        {
                            console.log(err+"##"+AWS.config.credentials.sessionToken);
                            plotErrorMessage(new CredentialsError("User was not retrieved in AWS Federated Identity"));

                        }
                    });

                }
                else
                {
                    console.log('id token is null');

                }

            }

       },
    onFailure: function(err) {
        console.log("Error!" + err);
    }
};

var curUrl = window.location.href;
auth.parseCognitoWebResponse(curUrl);
auth.getSession();

}
I hope it helps

I think it's because the onSuccess is async.  The callback URL is executing and running the getCachedSession().isValid() check before the session becomes valid.  If you remove the "getSession" from the else statement (to stop the endless redirect) and add in a console.log in the else, you should see that the 'else' code is being executed before the onSuccess code


replace update_package_lock action

Applied mkpr on .github/workflows/update_package_lock.yml
/tmp/x

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

npm package (@latest dist-tag)
v1.34.11
GitHub release

Your semantic-release bot :package::rocket:


Multiple KIC instances in same namespace

Hi, thanks for your great work on KIC.
I have a problem when trying to install 2 KIC instances on the same namespace.
The first instance:
I install by command:
helm upgrade --install kong1 kong/ingress -n kong --create-namespace --values ./values1.yaml

The values1.yaml files:
gateway:
  plugins:
   configMaps:
    - name: kong1-plugin-auth
      pluginName: kong1-plugin-auth
    - name: kong2-plugin-auth
      pluginName: kong2-plugin-auth
controller:
  ingressController:
    env:
      gateway_api_controller_name: konghq.com/kong1-gateway-controller

It works well.
The second instance:
Then I install by command:
helm upgrade --install kong2 kong/ingress -n kong --create-namespace --values ./values2.yaml

The values2.yaml files:
gateway:
  plugins:
   configMaps:
    - name: kong1-plugin-auth
      pluginName: kong1-plugin-auth
    - name: kong2-plugin-auth
      pluginName: kong2-plugin-auth
controller:
  ingressController:
    env:
      gateway_api_controller_name: konghq.com/kong2-gateway-controller

Deployment/kong2-gateway logs the error below:
<IP_ADDRESS> - - [21/Aug/2024:06:51:25 +0000] "GET /status HTTP/2.0" 200 1184 "-" "kong-ingress-controller/3.2.3"
2024/08/21 06:51:33 [notice] 1323#0: *5841 [lua] ready.lua:111: fn(): not ready for proxying: no configuration available (empty configuration present), client: <IP_ADDRESS>, server: kong_status, request: "GET /status/ready HTTP/1.1", host: "<IP_ADDRESS>:8100"

Confimap kong1-plugin-auth,  kong2-plugin-auth already created before.
Does this error occur because 2 instances are running in the same namespace ? I researched and can not find it.
Do I have to separate 2 instances in 2 different namespaces ?
Any help will be appreciated,
Thank you.

Many thanks @joran-fonjallaz, it works well for me.
Here is my config (kong2):
gateway:
  plugins:
   configMaps:
    - name: kong1-plugin-auth
      pluginName: kong1-plugin-auth
    - name: kong2-plugin-auth
      pluginName: kong2-plugin-auth
controller:
  ingressController:
    ingressClass: kong2-gateway-controller
    env:
      gateway_api_controller_name: konghq.com/kong2-gateway-controller
      ingress_class: kong2-gateway-controller


Implement a new scanner

Description
This PR implements a new scanner called arizona_template_scanner. It will replace arizona_tpl_scan.
It needs more tests and improved coverage (69%), but we can take a look at this later.
Closes #7, closes #142.

[x] I have performed a self-review of my changes
[x] I have read and understood the contributing guidelines

I've seen an error. Some elements in HTML can be defined as non-void (ending with >) but be void (ending with />), e.g., <meta charset="UTF-8">, it does not end with />, but it's a void element.

ref: https://developer.mozilla.org/en-US/docs/Glossary/Void_element

Review is finished, for the time being. I'll wait for your changes and/or discussion elements.

I've pushed two small tweaks:

https://github.com/arizona-framework/arizona/pull/143/commits/e1543758d550284a20b07df3edd8071d6d07163f
https://github.com/arizona-framework/arizona/pull/143/commits/d300cfd1b9b44d4a7f70307a43129b1c5d3fc05b

All requested changes were made and are all green. Ready to merge.

[!NOTE]
I'm to first merge https://github.com/arizona-framework/arizona/pull/149. We will have a conflict in the elvis config file, but then I resolve it here.


Add test data to MANIFEST.in

We had not been including test data in MANIFEST.in, meaning that pytest --pyargs gufe would fail because the files weren't including in the installation.
I know that @richardjgowers has been talking about moving to a separate package to manage test data. That may be a better solution than this, but it would be nice to push out a release with this quickly: (1) running tests is one of the first things I recommend when a user has an installation issue (can often point to problems like this); (2) I think this is blocking OpenFreeEnergy/openfe#266.

Maybe a CI test to build wheels, install from them, and then run CI from installed wheels would be good?

Maybe a CI test to build wheels, install from them, and then run CI from installed wheels would be good?

This is essentially what the GitHub Actions workflows in autorelease do. The release (to pypi) process is:

Trigger the release process by making a PR into the branch stable
If tests pass, do a test release on test.pypi
Download the test release on a fresh machine; run tests (e.g., pytest --pyargs $PACKAGE)
If that set of checks passes, you merge the PR and it automatically cuts the GitHub release (using PR top post as release notes) and then deploys to PyPI.

The idea is to avoid exactly this situation. Might be a pain if we don't want to actually release on PyPI here, though (although we've parked it with what appears to by gufe 0.4 -- maybe better to actually release than to park an old release).

I guess I'm just advocating for just a quick pipx build wheel -> pip install <wheel> -> pytest --pyargs sequence?

I guess my thought it that you really only want to do this before a release, although I suppose an extra check wouldn't hurt. 🤷♂

I guess my thought it that you really only want to do this before a release, although I suppose an extra check wouldn't hurt. 🤷♂

Yeah so basically you just want to catch out cases where someone adds a new file and doesn't update the manifest

Yeah I think I want something fancier later, but this'll do for now


Hold on some Repositories to top in Repositories List in Explore

Some of Repositories are more important than others for me and the existing sorting are not very convenient to find them.

Starred repositories could be listed first.
@FalconWu2017 In the meantime, perhaps you could use topics to mark your repositories of interest?

@guillep2k  What does starred mean?I think it mean it is a good Repository but do not mean that I want to focu it any time. So I do not think this is a good idea.Maybe by watch is better.

A starred repository.
Its meaning is related to watch, but won't send notifications.
Watch can work for this purpose too.

In fact, there's already a page to list the starred repositories that might be of your interest:

(Top right button in your avatar)

Great. That's what I want. It would be better to put it on the right side of Explore.

More details in

https://github.com/go-gitea/gitea/issues/10375


Dragging a View onto a Diagram Creates a Link

Just discovered by accident that one can drag a view onto a diagram and it becomes a link to the diagram.
This is useful. Why didn't I know this before?
This is my issue.

Well, I guess not reading the manual could be a bug... ;-)

"Read the manual"?
Requirement: Needs built-in autonomous robotic AI to tell the user what they want to do and how.
Next release?
Jon McLeod
Director
McLeod Consultancy Pty Ltd
GPO Box 813, Canberra ACT 2601 Australia
Silver Member, The Open Group

On 17 Nov 2017, at 07:15, Phil Beauvoir<EMAIL_ADDRESS>wrote:
Well, I guess not reading the manual could be a bug... ;-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Or:


Duplicate entries for affinity rules

Signed-off-by: Hariharan Subramanian<EMAIL_ADDRESS>
What this PR does / why we need it:
This PR removes the duplicate affinity rule entries for alertmanager statefulset
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped

@gianrubio @lachie83 Can you please review this PR? Thanks.


server: fix stale regions info with overlaps that should be removed

when having detected overlapped regions, we just remove them from tree. We should remove them from regions, or pd-ctl's region command still show the regions with overlapped key range.

LGTM. Don't forget to fix CI.

LGTM. PTAL @siddontang

any test to cover this?

LGTM


Add nonexistent translation entries

Add nonexistent translation entries from strings.js in root directory

I have submiited the contributor license agreement

Please review the translation file

Hello, has this commit been merged to the adobe:master yet? Or is there anything else that I should be doing? Please advise.

I've checked with https://translate.google.com, LGTM.
@radhwaw thank you.


Add FastStream to AsyncAPI tools

https://github.com/asyncapi/community/blob/master/new-tool-documentation.md

Probably, we need to create PR to this category: https://github.com/asyncapi/website/blob/master/config/tools-manual.json#L394

https://github.com/asyncapi/website/pull/2241


Can I get topic_id automatically?

When I use uxr_buffer_create_topic_xml to create a topic, I have to specify a object_id which is the identifier of the XRCE Topic.
But if there are lots of devices and lots of topics, it is hard to maintain these topic id, topic name and topic type.
Can DDS-Agent generate topic_id by topic_name and topic_type? so that I can ask the agent for the topic id.

Or can I specify different topic id for the same topic name and type in different participant?
If so, I just need to make sure that different topics have different id in same participant, without having to worry about whether it's id conflicts with other topic in other participant.

But if there are lots of devices and lots of topics, it is hard to maintain these topic id, topic name and topic type.
Can DDS-Agent generate topic_id by topic_name and topic_type?

Currently, it is not implemented a way of auto-generating topics id and is the client who needs to identify its own entities by creating a related uxrObjectId.

Can I use different topic id for the same topic name and type in different participant?

An uxrObjectId is an identifier for an object inside of the context of an XRCE session. So once you create an XRCE session, all the objects that that client creates should have a unique uxrObjectId. Objects created from different XRCE sessions can have duplicated uxrObjectId. So, if your participants are created from different sessions, yes, they can use the same uxrObjectId for the topic, if you create all your DDS participants within the same XRCE session you should take care of the

If so, I just need to make sure that different topics have different id in same participant, without having to worry about whether it's id conflicts with other topic in other participant.
I mean is topic id only valid within a participant?

That's it.


N4biasfieldCorrection: inputs do not occupy the same phyisical space

Hi
I encounter this issue while processing some subject in a for loop
the commands I give are:
mrtransform 3dT1_${S}corr_brainmask.nii.gz -replace 3dT1${S}normalized.nii.gz 3dT1${S}corr_brainmask_corr.nii.gz
N4BiasFieldCorrection -d 3 -i 3dT1${S}normalized.nii.gz -x 3dT1${S}corr_brainmask_corr.nii.gz -o [3dT1${S}correct_corr.nii.gz,3dT1${S}_corr_bias.nii.gz] -c [50x50x50,0.001] -s 2 -b [100,3] -t [0.15,0.01,200] -v 1
I cannot understand how to solve the issue: inputs do not occupy the same physical space, since I believed I forced them to be in the same physical space with mrtransform command!
best,
Rosella

Hello @rosella1234,
Where did you obtain the mrtransform program? This is not part of the SimpleITK toolkit. I suggest posting a question on the issue tracker for that tool.
If this is a program that you implemented and you are encountering an issue with SimpleITK, please share a minimal working example illustrating the issue.


ShirukaWorld.java:108: Implement...

The puzzle 1-ed73ba4c from #1 has to be resolved:
https://github.com/shiruka/shiruka/blob/b919490cc5126de2137a0d4ad33a00ba94cabc70/src/main/java/net/shiruka/shiruka/world/ShirukaWorld.java#L108-L108
The puzzle was created by @portlek on 20-Apr-21.
Estimate: 10 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 1-ed73ba4c has disappeared from the source code, that's why I closed this issue.


[HxInputTags] To add TagCssClass parameter

To be able to fulfil some design requirements, I need to have a possibility to add custom css class to each Tag, including the AddTag button.

Considering adding HxBadge.Settings and HxInputTags.TagBadgeSettings. This will allow setting not only CssClass but also Color, TextColor and Type + will bring support for HxInputTag.Defaults.TagBadgeSettings.CssClass out of the box.
(The only cons is that it leaks the implementation detail - that we use HxBadge for individual tags - we won't be able to change that later without breaking change.)

commit 270bcef4403c89b37a5e46c233b933225392d73a


Loop Conditions with Preconditions and SideEffects

At the moment, loops are not handled correctly with respect to preconditions and side-effects of the condition.  Specifically, these are extracted on entry to the loop, but then not again at the end of the loop body.

I just saw a nice solution to this in the KRML190 Dafny paper: put those conditions into the loop invariant.
(That is, just the definedness requirements for the loop condition, not the whole loop condition itself).
This forces Boogie to check those definedness conditions before the loop, but also before the end of the loop body.
E.g. while x[i]<10: S generates Boogie:  while (x[i]<10) invariant 0<=i<len(x) {S}

Yeah, this makes sense to me and I need get this working!!

This is subsumed by #74


Add 'Access is denied' error

Signed-off-by: John Howard<EMAIL_ADDRESS>@darrenstahlmsft - Adds an error constant as part of fix for docker/docker #30278. Have verified it fixes docker locally - needed for revendoring.

LGTM


Update shared-calling-setup.md

Included (Optional) prefix on the PAYG Calling Plan/Communication Credits steps to avoid confusion for Direct Routing and Operator Connect customers that may interpret these steps as being required.

#sign-off

#sign-off

Per review by @JensTrier, this PR is not correct.  Closing this PR.  We will work with Jens to make the meaning clearer--that it applies only to Calling Plan service numbers.


Image Segmenter | tflite-suuport | AttributeError: type object 'SegmentationOptions' has no attribute 'OutputType'

Click to expand!
Issue Type
Documentation Bug
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
tflite-support 0.1.0a1
Custom Code
No
OS Platform and Distribution
MacOS Ventura 13.4
Mobile device
No response
Python version
3.8.7
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
The syntax provided for using Image Segmenter  did not execute processor.SegmentationOptions in python environment.
Possible Fix:
The line
segmentation_options = processor.SegmentationOptions(
    output_type=processor.SegmentationOptions.OutputType.CATEGORY_MASK)

should have been
segmentation_options = processor.SegmentationOptions(
    output_type=processor.SegmentationOptions.output_type.CATEGORY_MASK)

Standalone code to reproduce the issue
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/g3doc/inference_with_metadata/task_library/image_segmenter.md#step-2-using-the-model-2

Relevant log output
Traceback (most recent call last):
  File "image_segmenter.py", line 8, in <module>
    segmentation_options = processor.SegmentationOptions(output_type=processor.SegmentationOptions.OutputType.CATEGORY_MASK)
AttributeError: type object 'SegmentationOptions' has no attribute 'OutputType'

It seems the task module is not currently exposed in the package, I'm guessing by mistake, this is blocking testing of this.
pip install tflite-support

python test.py
 from tflite_support.task import vision
ModuleNotFoundError: No module named 'tflite_support.task'

@lu-wang-g can you take a look?


Reg :- My Codespace is not working

Hi, My codespace is not working properly since a week . The issue is that my codespace is stuck in the loading page. Please rectify the problem asap.
Version: 1.83.1
Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

Please file this under the issues tracker for Codespaces. https://github.com/orgs/community/discussions/categories/codespaces


Subscriptions

How can we handle subs? With the library Remi had, we could use the same way for "subs" and "inapp". With yours, "inapp" works fine, purchasing "subs" crashes the app.

Fixed

Thank you for your feedback. I have made the suggested corrections.

Thank you for responding. Example code has one issue though. You query SUBSCRIPTION_ITEMS as "inapp" in "_on_connected" callback. Changing it to the following fixes the issue.
func _on_connected(): print("CONNECTED!") yield(get_tree().create_timer(2), "timeout") # Wait for 2 seconds # Request product details for all items var all_items = NON_CONSUMABLE_ITEMS + CONSUMABLE_ITEMS payment.queryProductDetails(all_items, "inapp") payment.queryProductDetails(SUBSCRIPTION_ITEMS, "subs") # Query information about purchased items payment.queryPurchases("inapp") payment.queryPurchases("subs")

Thank you for your feedback. I have made the suggested corrections.


[cdsearch-761] Tidying tests a bit and adding missing newline for str…

…ing output

👍  when tests pass


Bug: another Flags needs default

Info
I have been trying for over a week to trace a new site's "Network connection Error" from going down overnight. No errors in logs so added "strict_types=1" to all PHP app and system PHP files, also set .env -> CI_ENVIRONMENT = development and eventually managed to get some errors reported.
Describe the bug
incorrect type being passed.
CodeIgniter 4 version
CI_VERSION 4.1.1
Affected module(s)
File: ./system/HTTP/RequestTrait.php
[code]
public function fetchGlobal($method, $index = null, $filter = null, $flags = null)
{
$method = strtolower($method);
	if (! isset($this->globals[$method]))
	{
		$this->populateGlobals($method);
	}

	// Null filters cause null values to return.
	if (is_null($filter))
	{
		$filter = FILTER_DEFAULT;
	}

	// Return all values when $index is null
	if (is_null($index))
	{
		$values = [];
		foreach ($this->globals[$method] as $key => $value)
		{
			# PROBLEM 2021-03-09
			  $flags = $flags ?? 0;

			$values[$key] = is_array($value)
				? $this->fetchGlobal($method, $key, $filter, $flags)
				: filter_var($value, $filter, $flags);
		}

		return $values;
	}

[/code]
Expected behavior, and steps to reproduce if appropriate
I did not expect the web page to crash :(
Context
OS: [Ubuntu 20.04.1]
Web server [Apache 2]
PHP version [8.0.3]

Since this is essentially the same issue I am closing this and consolidating the other PRs.

This has been fixed already by a PR.


Features that i can contribute to

(1) Page Load Animation.
(2) Projects Section with Animation.
(3) Experience Section.
(4) Education Section.

I think you can contribute to the page loading animations as rest are being in progress by many contributors. Good luck I will assign the page loading animations task to you. You can open pr during hacktoberfest.

You can open pr during hacktoberfest

@divyanshudhruv I would like to work on the Education section. Can you assign this issue to me?

@abhaygzb15 I think education section is not being added to the portfolio, so unfortunately I cannot assign it to you. Btw you can come with new ideas about the enhancements, features etc. Good luck, and sorry as I cannot assign the issue

Hello, please visit here

@Znoy108x see the pull request.

@divyanshudhruv hello divyanshu did you merged my pr?

Not now , I'll merge after 6oct


Write a Dart program to find average of digits of a number by recursion

Description
Write a Dart program to find average of digits of a number by recursion
Average of digits of a number is the sum of digits of the number divided by the number of digits in the number. For example, the average of digits of 123 is 6. The sum of digits of 123 is 6 and the number of digits in 123 is 3. So, the average of digits of 123 is 6/3 = 2.
Input  : 123
Output : 2

How to contribute

Save the solution in find_average_of_digits_of_a_number_by_recursion.dart file
Add find_average_of_digits_of_a_number_by_recursion.dart file in program/find-average-of-digits-of-a-number-by-recursion folder

!assign


event type

Hi. Is it possible to do below? I want to add type for the anniversary so when i have my button card i can use entity_picture and change the picture based on if state is equal to birthday or new year for example.
sensor:
platform: anniversary
name: events
multiple: true
anniversaries:
- event: 'Jasons birthday'
date: '1987-06-22'
type: birthday
- event: 'Johannas birthday'
date: '1991-10-18'
type: birthday
- event: 'new year'
date: '12-31'
type: 'new year'

Hi, yes, the integration supports event types in the list of anniversaries. You'll have to set items parameter to a non-zero value. This way the upcoming  events will be listed in the attributes.
The UI part (button card, entity_picture) is out of scope of this integration, but it can be achieved what you described.

Hi. I do not fully understand what i have to change? can you ellaborate please.
Regarding UI part i will use custom button card.

You should add e.g. 'items: 2' after 'multiple: true' then restart HA. This will list the next 2 upcoming events in the attributes in form of:
events:
- event: 'Johannas birthday'
  event_in: '17'
  event_on: '2021-10-18'
  anniversary: '34'
  type: birthday
  icon: mdi:calendar
- event: 'new year'
  event_in: '91'
  event_on: '2021-12-31'
  type: new year
  icon: mdi:calendar

Then you can process the events attribute to display the information on the UI.

You may check the link [1] below as example from a user:
[1] https://github.com/amaximus/anniversary/issues/8#issuecomment-927787545

yes but that leaves the type in a second level. I could not get that information out in a seperate sensor with using state attribute.
i am trying to do this:  state_attr('sensor.events', 'type')
Basically i want to make a template sensor showing the type.

jinja2 templating supports lists.
Try: events[iterator].type
You may experiment templating at: http://jinja.quantprogramming.com/

OK. ill search on. Thanks for your support.


Hg support

Hg driver implemented.

May you please rebase the PR onto the latest develop and squash the commits? Thanks!


check for null req.app.logger before accessing req.app.logger.error

Turns out this has been in for a while. Thanks for reporting and submitting a PR though :smile:


Union with methods

Add documentation for methods in unions

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

ID: a72b499a-3b65-4005-32dd-a6be9100a975
Version Independent ID: aaa2c0c5-677c-4fb6-cca8-9d4a7aa9122f
Content: Unions
Content Source: docs/cpp/unions.md
Product: visual-cpp
GitHub Login: @mikeblome
Microsoft Alias: mblome

thanks @baruchiro . I have added this work item to our backlog.

Closing as duplicate of internal work item.


add subcommand summary

Print statistics of directories in the tree structure.

Codecov Report
Patch coverage: 9.59% and project coverage change: -0.38 :warning:

Comparison is base (27c8b7a) 55.08% compared to head (83ee200) 54.70%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3381      +/-   ##
==========================================
- Coverage   55.08%   54.70%   -0.38%
==========================================
  Files         148      149       +1
  Lines       36137    36341     +204
==========================================
- Hits        19907    19882      -25
- Misses      14061    14300     +239
+ Partials     2169     2159      -10

Impacted Files
Coverage Δ

pkg/meta/interface.go
55.00% <ø> (ø)

pkg/meta/utils.go
51.59% <0.00%> (-2.73%)
:arrow_down:

pkg/vfs/internal.go
43.76% <0.00%> (-7.28%)
:arrow_down:

cmd/summary.go
19.08% <19.08%> (ø)

cmd/main.go
46.05% <100.00%> (+0.23%)
:arrow_up:

... and 7 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


What to do on shared children and pivot tables?

If a shared child already exists in the root object collection it will not be added again. How about shared children with pivot table data? Maybe save the pivot table data somewhere? Or should the pivot table data be whats left in the original collection?

Moved to https://github.com/esbenp/architect/issues/2


Error is not helpful when argument is misplaced

I was trying to find out why my firmware does not work, and tried to look what's in it, so after reading cargo espflash --help, I changed this:
$ cargo espflash --example ex /dev/ttyUSB0

to this:
$ cargo espflash --example ex save-image out.bin
Error: cargo_espflash::no_artifact

  × No executable artifact found
  help: If you're trying to run an example you need to specify it using the `--example` argument
        or if you're in a cargo workspace, specify the binary package with `--package`.

And after looking into the code and trying to debug that, found out I just misplaced the --example ex flag:
$ cargo espflash save-image --example ex out.bin

Thank you for reporting this.
This is an unfortunate side effect of how we have structured our command-line interface. Omitting a subcommand will invoke the default build and flash action, and as such we need to accept various options at the root level (ie. cargo espflash [OPTIONS]). Unfortunately there is some overlap between the options required to build and flash, and the options required for the various subcommands, so it's not immediately clear where to provide them.
For the time being, try to be specific as possible. If you're using a subcommand then pass the options to the subcommand instead of to the application itself. I'm not sure at present what the best approach to fixing this is, but I will look into it.

I'm closing this due to inactivity, please feel free to re-open if you are not satisfied with the above response.


textDocument/xdefinition: do not return "nil" AND no error.

The return type signature of handleDefinition is ([]lsp.Location, error). If nil, nil
is returned then  (*LangHandler).Handle also returns result interface{} as nil. When
the result of a jsonrpc2 handler is nil, jsonrpc2.HandlerWithError converts it into a struct
which is then encoded as a JSON object instead of an array. When decoding, this results in:
json: cannot unmarshal object into Go value of type []lspext.SymbolLocationInformation

Which is (obviously) bad because that looks like an error instead of 'no results'.
According to that jsonrpc2 implementation (linked above):
// isNilValue tests if an interface is empty, because an empty interface does
// not encode any information, we can't encode it in JSON so that the proxy
// knows it's a response, not a request.
func isNilValue(resp interface{}) bool {

This makes it unclear to me whether or not the conversion into a struct is
truly correct or not. I'm open to other ideas on how to resolve this issue.

@sqs I've tagged you in this PR because you wrote that code and it's very unclear from the docs why it's doing that. Please let me know what you think?

Thanks for digging into this.
A response of {"id":123,"result":{},"jsonrpc":"2.0"} is a correct "no result found" response for some LSP methods, such as textDocument/definition. It was coincidental (well, somewhat of a convenience that no longer works) that return nil, nil mapped to that JSON-RPC response. I had return nil, nil to indicate "there is no definition found but there is also no unexpected error", as "no definition found" is not really considered an error at the LSP level. This was a fragile hack.
I think that if handleDefinition encounters "there is no definition found but there is also no unexpected error", it should return a sentinel error value like ErrNoDefinition that is translated into {"id":123,"result":{},"jsonrpc":"2.0"}, not a JSON-RPC error ({"id":123,"error":{...whatever...},"jsonrpc":"2.0"}), by the response handler. That means the handler should basically do if err == ErrNoDefinition { return struct{}{}, nil } in textDocument/definition.

This makes it unclear to me whether or not the conversion into a struct is truly correct or not.

It is not. That is code I wrote and I see it is incorrect. An JSON-RPC 2.0 response's result can be any JSON type (http://www.jsonrpc.org/specification#response_object, note result has no constraints on type, unlike params in section 4.2). The jsonrpc2.HandlerWithError should return {..., "result":null} if the result interface{} return value is nil, and an LSP handler should never return nil, nil (because afaik null does not appear in any methods' specification as a valid value for the result field).

I think that if handleDefinition encounters

Nevermind about this paragraph. I see that your change accomplishes the same result with less code.

textDocument/xdefintition must return an empty array if no result was found. Neither null or an empty object {} are valid return types. If there was an error, result must be omitted from the JSON, null is not valid either.

@felixfbecker FYI in go by default an empty slice (ie empty list) is nil.
var foo []string // foo is nil at this point
foo = append(foo, "hello world") // now foo is not nil

// instead you can do this, but this isn't idiomatic
foo := []string{}


Style fix in Company roles

@manojava-gk I know you are still working on it, but have added a couple of comments. Can you please plan a localhost review session between you and me for monday. Would like to do this before merging. Thanks!!


No pretty output using node v10.5.0

EDIT: I'm using<EMAIL_ADDRESS>for babel 6.
It's fine using node v8.1.4:
      assert.ok(three * (seven * ten) === three)
                |     |  |     | |    |   |
                |     |  |     | |    |   3
                |     |  |     | 10   false
                |     |  7     70
                3     210

      [number] three
      => 3
      [number] three * (seven * ten)
      => 210

       8 |     const seven = 7;
       9 |     const ten = 10;
    > 10 |     assert.ok(three * (seven * ten) === three);
         |            ^

But after switching to node v10.5.0:
    assert.equal(received, expected) or assert(received)

    Expected value to be equal to:
      true
    Received:
      false

       8 |     const seven = 7;
       9 |     const ten = 10;
    > 10 |     assert.ok(three * (seven * ten) === three);
         |            ^

Still not working with power-assert 1.6.1 and jest 23.5.0.

Same here

@twada I can't reproduce it anymore...
For others searching for this, here's how my monorepo setup looks like now:
// presets in <root>/.babelrc
{
  "presets": [
    "env",
    "jest",
    "react",
    "power-assert"
  ],
  ...
}

I moved all dev deps into <root>/package.json and switched to exact versioning to avoid any mismatches with packages required as production deps in packages/*/package.json:
    // in <root>/package.json

    "devDependencies": {
      "babel-cli": "6.26.0",
      "babel-core": "6.26.3",
      "babel-jest": "23.6.0",
      "babel-preset-power-assert": "2.0.0",
      ...
      "jest": "23.6.0",
      ...
      "power-assert": "1.6.1",
      ...

...and finally setting them up via npm i && lerna bootstrap --hoist (run in <root>)
HTH, and thank you for taking the time @twada.


make MobManager#removeMob act on sourceRoom

Most of the room-specific logic in MobManager#removeMob should act on the mob's source room (as set by Room#spawnNpc), instead of its current room. Otherwise, the mob is never removed from its source room's spawnedNpcs set, (and possibly the relevant Area's npc set) if it is removed while in any room other than its source.

Tested this and verified that it is needed. Without this PR, respawn logic gets buggy.

This works great, thanks!


ssh could not display gkb encoding words

How could I change the encoding?

This tool is actually excellent except for the lack of support for gkb encoding...


Take directory hit in rule into account without star notation

We shouldn't  require star notation, if the configuration says directory, take everything in it recusively

On it

It works that way currently. Good to close this one

nope, remove the checks for '*' which are not necessary. I'll do it.

Currently with glob I would assume the following is possible src/*.java isn't it? I have not dug deeper into it tough

we will readd it when the feature will be requested, I don't think this will be used


Update README.md

Updated the deploy script folder

thanks! we will be updating readme post our c4 audit remediations merge


POST + headers forces OPTIONS

if i specify the headers as you say in the readme:
fetch('/users', {
     method: 'post',
      headers: {
        'Accept': 'application/json',
        'Content-Type': 'application/json'
      },
      body: JSON.stringify({
        name: 'Hubot',
        login: 'hubot',
      })
    })

the fetch get's executed as OPTIONS.
any ideas?

What is the actual URL you're posting to and does the hostname differ from the hostname of the current page?

I am working local. So both hostnames are localhost. I am also tsking care of CORS

What browser are you using? Chrome and Firefox have native fetch implementations that cause the polyfill code to be skipped. You can compare the behavior of native fetch with the polyfill in a different browser.

ok that explains the behaviour! is there any workaround?

Without more specific information there isn't much we can do. An OPTIONS request only occurs before making a cross-origin request to a domain that is different from the document's domain. The fetch request is not performed as OPTIONS, just the request prior to it.

jeah it works in safari but doesnt work in chrome. is there any workaround for that? the hostname ist the same. i am calling from localhost:8000 to localhost:9999 .

Port number is considered part of the origin: https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy

so you cant use fetch with polyfill in chrome?

@maerzhase You can use fetch in every browser, but if you're going to make cross-domain requests, first you'll have to get yourself educated about CORS, and then you won't be surprised by the OPTIONS requests which is called a "preflight" and is normal to see in a CORS scenario.

It would be nice as this is a common issue to explain how to remove OPTIONS when using fetch from browser

@Kielan did you take a look at the link from @mislav ? he quoted mozilla on CORS explaining the OPTIONS preflight. i didn't understand the preflight thing when i first opened the issue.
cheers.


[Feedback] Selector Performance Tracing Explainer

This issue is meant to collect feedback about the proposed Selector Performance Tracing feature explainer for Edge DevTools.
This feature is being considered to help web developers understand which elements and style rules are having the most performance impact during style recalculation.

This is awesome!
My company definitely would massively benefit from style recalculation becoming more accessible in any way. We currently have problems with CSS performance in bigger experiences and it is very difficult to give actionable feedback to developers, as most will have never looked at tracing for their day-to-day development.
I think one feature that I see missing there would be the ability to jump to the source code. Especially in production mode, hashed class names can be difficult to track down.

This looks really cool! I've been using SelectorStats to debug some issues with style calculation. Here is some of my feedback:

There is already an experimental option called Timeline: invalidation tracking which shows which elements were invalidated during style/layout. Maybe this should be enabled when the checkbox is checked?
When the checkbox is not checked, maybe the details on Recalculate style should say something like "Enable  for more info"?
In cases of layout thrashing (or similar), there may be multiple Recalculate styles in the same trace. It would be great to have some way to merge the SelectorStats for each one.
In practice, I've found this tool most useful for identifying patterns of CSS selectors rather than individual selectors (which don't necessarily consume much time on their own). For instance, selectors containing a particular string may come from the same CSS file, CSS preprocessor, etc. Having some way to search, filter, and sum would be extremely useful: I'd be able to make statements like "If we stopped using the pattern [class*=<foo>], we would save X milliseconds total."
"Fast reject" is not very intuitive to most web devs – maybe upon hovering the column name, it could explain more about how the Bloom filter works? Or at least how to interpret "fast reject"?
Similarly, I understand why this is measured in microseconds, but maybe upon hover it could explain how to convert to milliseconds? (For those of us who don't intuitively know what μs means. :slightly_smiling_face:)

Great work, and looking forward to this landing!

Love this feature -- I've been using edge://tracing with Blink.debug to look at SelectorStats, but I much prefer the DevTools experience when able, so this is great to have. Some misc feedback:

The selector column could be a hyperlink that goes to the definition of the selector. This could be a css file in the sources tab, or for css-in-js it might be a style node under document.head.
Our css class names get minified at build time, so to make profiling prod-optimized builds easier, it would be great to see source-mapping support to automatically show both versions of the selector.
The default sort order should probably be elapsed time descending
It'd be great if it were possible to view an aggregate table of multiple Recalculate Style events. Perhaps multi-select or view a cumulative table of all Recalculate Style blocks within the currently viewed time range.
The table should be copy-pastable (e.g. into a spreadsheet)
The sum of all elapsed time falls short of the Recalculate Style block's own duration. It'd be nice to understand whether the rest is fixed overhead, overhead that scales (and with what factors -- dom size, selector complexity, number of selectors, etc.), related to profiling overhead itself and isn't worth being concerned about, or some other relationship.

Awesome to see this in DevTools - Lowering the bar for debugging CSS performance is great.
A few thoughts playing with it:

It might be nice to have a short semi-opinionated summary above the table. "X Selectors were processed, taking Y ms, and Z had no matches"
Is the default ordering relevant/important in any way? If not, +1 to Rob's suggestion about elapsed time being default.
+1 to the sentiment of having an aggregated view of all the recalcs in a trace. It'd be useful as a starting point for generic optimizations and to find patterns.
You can't copy/paste large portions of the table, it seems like you can only copy what's visible. It'd be useful to pull data into Excel when there's a lot.
There's no scrollbar which makes it difficult to tell just how long the list is.
Microseconds threw me off too. I'll admit that I went and searched microseconds to milliseconds to make sure that I had the conversion right.

I think Rob/Nolan hit most of what I'm thinking on the docs and explanations front - Having tooltips with details and links out to details on what some of this means will be helpful once this gets towards stable/completion. Also calling attention to this option in traces that have long recalcs is a great idea from Nolan.

I learned today that this is now available in production Edge. Congrats on shipping!
I demoed this feature for my team today and one thing that came up is that it would be nice to have a way to filter the list of selectors as it can be rather long. This could of course be quite sophisticated with filtering based on time, matches, etc but I think just a simple filter for selector names would go a long way to help reduce the amount of data to consider.

Hi @bwalderman
I ran into a bug today where this feature really would have helped but it doesn't seem to be working in my scenario.
The bug was animations running when they shouldn't need to (and causing style recalculations) and I wanted to track down where these animations were coming from.  This seemed like the perfect candidate for Selector Performance Tracing, sadly I was getting little information. To make this more difficult there were no visual changes on the page, so I couldn't look to see what was changing and approach that Node/Element.
For comparison, when the initiator is from JS or a script I can see the line it initiated from, but things become more opaque when the initiator is a CSS Animation.
Here are some steps to reproduce:
I am using Edge Version 120.0.2210.144 (Official build) (64-bit)
JS Initiators (working case)

Navigate to https://jason-williams.co.uk/test-cases/jsInit.html (You should see a small box on the top left)
Load up developer tools and go to the performance panel
Tick "Enable advanced rendering instrumentation (slow)"
Do a trace for a few seconds (4-5)
Try and find the recalculate style span, you should see something like this:

This doesn't show selector performance but I can at least see why the style recalculation happened

CSS (animation) initiators (failing case)

Follow steps 1-5 as above but this time with https://jason-williams.co.uk/test-cases/cssInit.html
In this trace we see a lot more style recalculations. Trying to home in on where these are coming from is much harder. Clicking "Reveal" just takes you to a schedule style recalculation which shows no info.

When you're dealing with a page or a web app that has many animations and activity happening, this doesn't help find where recalculation work is coming from. I also don't see the features shown in the explainer document either.  I assume it's because they don't meet a threshold (each span is quite small) or there's another reason.
It would be great to be able to track down CSS Animations.

@jasonwilliams it sounds to me like the Selector Stats feature isn't really what would help you here. Would it be helpful if the Summary tab said that a CSS animation triggered the Schedule Style Recalculation event in the first place, and maybe link to where it's defined in the Sources tool?

Hi @captainbrosset
Yes, this would help a lot, if you raise this somewhere can you let me know so I can follow? I’m also happy to follow up with you if you want more details.

I filed this upstream bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1521335

I just discovered this functionality (Selector Stats) but it does not show up for me.  I tried "Repairing" Microsoft edge, but still no "Selector Stats" tab appears:
https://jam.dev/c/9c525ca7-45bb-45ac-804f-fa7f5d055a82

@brinman sorry about this. This is unfortunately a bug, but the good news is that it's known already, and being worked on by our team. Should be back to normal very soon.


golint is obsolete

Is your feature request related to a problem? Please describe.
Golint is deprecated by official golint
Describe the solution you'd like
how about use golangci-lint : golangci-lint
I'd like to update github action and create a pull-req to fix lint if any
Describe alternatives you've considered
Additional context

it is fine, very welcome!


WIP django monkey-patcher

Hello,
i'm planning a sprint at pyconfr to build a django compatibility module, which wouldn't behave like an intermediate module (like six for py3k, or like django-compat for django), but directly monkey-patch django with log-lifespan shims.
Thus, django webmaster who want to upgrade wouldn't have to fork/monkeypatch all their broken dependencies, and minor django upgrades would REALLY be minor (i.e would NOT rename/remove methods and attributes used by tons of unmaintained libs).
Would you be OK with integrating this monkey-patching utility to django-compat, to have an all-in-one solution, for BOTH library maintainers and library users ?

Hello @pakal, it's certainly going to be interesting to see how your idea plays out. Good luck! :)

Well DCP is kinda production-ready nows (though it needs more real-life uses), I used it successfully on a big site.
I linked to django-compat from its repository, for people who need a six-like compatibility layer for a reusable app, and not a project-wide compatibility enforcer.
I don't know if merging both projects would be worth since they somehow target different people (reusable app developers VS project maintainers), but feel free to link to DCP from your own doc  B-)
https://github.com/pakal/django-compat-patcher
Any opinion about it ?


Get update for channel comments

How to make getupdate api receive response from channel comments which implements recently in telegram

You need to join channel's discussion group to receive updates from it.

Can you please elaborate. I already get comments in channel. But I need that comment when I call file_get_contents('https://api.telegram.org/bot$token/getUpdates

Comments don't belong to the channel. They are messages sent to the channel's discussion group, which are replies to automatically forwarded channel message. To receive them in updates, your bot must be added to the discussion group.


Port to tokio-0.2.0-alpha.4 with async/await support.

Thanks for the quick turnaround on feedback!

Thanks!


Add the filter_lines resource

Add the after filter to be used with the filter_lines resource
Description
Add the filter_lines resource and one example filter, the insert after a match filter.
Issues Resolved
#79
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable

This change is

That's about as small as I can make the pull request and still add the function.  Most of the added code is tests.

I will review this evening

I'll push updates soon.

I pushed my changes.  Thank you both for taking a look at it.  I didn't change the name of the resource.  The method, procs and blocks all end up being filters in the sysadmin sense of push the input in, do something to it and pass it along.  So I don't really know of anything a lot better.
Mark

@damacus I think I've responded to everything raised in the reviews.

OK, I think this might be the last big resource change to line, as it sounds like @lamont-granquist has done some work on a file edit resource in core.


Cannot use 'in' operator to search for 'providers' in undefined

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.
@angular/cli: 1.4.2
node: 7.10.0
os: win32 x64
@angular/animations: 4.4.1
@angular/common: 4.4.1
@angular/compiler: 4.4.1
@angular/core: 4.4.1
@angular/forms: 4.4.1
@angular/http: 4.4.1
@angular/platform-browser: 4.4.1
@angular/platform-browser-dynamic: 4.4.1
@angular/router: 4.4.1
@angular/cli: 1.4.2
@angular/compiler-cli: 4.4.1
@angular/language-service: 4.4.1
typescript: 2.3.4
The log given by the failure.
ERROR in TypeError: Cannot use 'in' operator to search for 'providers' in undefined
    at D:\Labs\Truly-UI\Maicon\node_modules\@angular\compiler-cli\src\ngtools_impl.js:111:70
    at Array.filter (native)
    at _extractLazyRoutesFromStaticModule (D:\Labs\Truly-UI\Maicon\node_modules\@angular\compiler-cli\src\ngtools_impl.js:111:29)
    at D:\Labs\Truly-UI\Maicon\node_modules\@angular\compiler-cli\src\ngtools_impl.js:129:27
    at Array.reduce (native)
    at _extractLazyRoutesFromStaticModule (D:\Labs\Truly-UI\Maicon\node_modules\@angular\compiler-cli\src\ngtools_impl.js:128:10)
    at Object.listLazyRoutesOfModule (D:\Labs\Truly-UI\Maicon\node_modules\@angular\compiler-cli\src\ngtools_impl.js:53:22)
    at Function.NgTools_InternalApi_NG_2.listLazyRoutes (D:\Labs\Truly-UI\Maicon\node_modules\@angular\compiler-cli\src\ngtools_api.js:91:39)
    at AotPlugin._getLazyRoutesFromNgtools (D:\Labs\Truly-UI\Maicon\node_modules\@ngtools\webpack\src\plugin.js:207:44)
    at _donePromise.Promise.resolve.then.then.then.then.then (D:\Labs\Truly-UI\Maicon\node_modules\@ngtools\webpack\src\plugin.js:443:24)
    at process._tickCallback (internal/process/next_tick.js:109:7)

Mention any other details that might be useful.

Having the exact same problem, anyone figure something out?

I found a solution for my case by doing what was described here.
https://github.com/TemainfoSistemas/truly-ui/issues/67

I took out the only barrel file I had and adjusted my imports directly to the files and I am still getting the same error
ERROR in TypeError: Cannot use 'in' operator to search for 'providers' in undefined     at /Users/will/Workspace/mtna-ng-seed/node_modules/@angular/compiler-cli/src/ngtools_impl.js:111:70     at Array.filter (native)     at _extractLazyRoutesFromStaticModule (/Users/will/Workspace/mtna-ng-seed/node_modules/@angular/compiler-cli/src/ngtools_impl.js:111:29)     at /Users/will/Workspace/mtna-ng-seed/node_modules/@angular/compiler-cli/src/ngtools_impl.js:129:27     at Array.reduce (native)     at _extractLazyRoutesFromStaticModule (/Users/will/Workspace/mtna-ng-seed/node_modules/@angular/compiler-cli/src/ngtools_impl.js:128:10)     at /Users/will/Workspace/mtna-ng-seed/node_modules/@angular/compiler-cli/src/ngtools_impl.js:129:27     at Array.reduce (native)     at _extractLazyRoutesFromStaticModule (/Users/will/Workspace/mtna-ng-seed/node_modules/@angular/compiler-cli/src/ngtools_impl.js:128:10)     at /Users/will/Workspace/mtna-ng-seed/node_modules/@angular/compiler-cli/src/ngtools_impl.js:129:27     at Array.reduce (native)     at _extractLazyRoutesFromStaticModule (/Users/will/Workspace/mtna-ng-seed/node_modules/@angular/compiler-cli/src/ngtools_impl.js:128:10)     at /Users/will/Workspace/mtna-ng-seed/node_modules/@angular/compiler-cli/src/ngtools_impl.js:129:27     at Array.reduce (native)     at _extractLazyRoutesFromStaticModule (/Users/will/Workspace/mtna-ng-seed/node_modules/@angular/compiler-cli/src/ngtools_impl.js:128:10)     at Object.listLazyRoutesOfModule (/Users/will/Workspace/mtna-ng-seed/node_modules/@angular/compiler-cli/src/ngtools_impl.js:53:22)     at Function.NgTools_InternalApi_NG_2.listLazyRoutes (/Users/will/Workspace/mtna-ng-seed/node_modules/@angular/compiler-cli/src/ngtools_api.js:91:39)     at AotPlugin._getLazyRoutesFromNgtools (/Users/will/Workspace/mtna-ng-seed/node_modules/@ngtools/webpack/src/plugin.js:207:44)     at _donePromise.Promise.resolve.then.then.then.then.then (/Users/will/Workspace/mtna-ng-seed/node_modules/@ngtools/webpack/src/plugin.js:443:24)     at <anonymous>     at process._tickCallback (internal/process/next_tick.js:169:7)

Can someone please provide some code and/or steps to reproduce? A stack trace without context is not very helpful.  Thanks!

For my case I had my own component library as a dependency and it had a bad import in a module.

I am getting the same error with ng cli 1.5.0.rc0.
If it is indeed an issue with an import, then the error message should be more explicit about what the error is.
@wallace41290 : can you please post details about what the bad import was?

I'm sorry, but we can't reproduce the problem following the instructions you provided.
Remember that we have a large number of issues to resolve, and have only a limited amount of time to reproduce your issue.
Short, explicit instructions make it much more likely we'll be able to reproduce the problem so we can fix it.
If the problem persists, please open a new issue following our submission guidelines.
A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.


v2.10.3 editorOptions  or editor-options?

vue2-editor.umd.js  v2.10.3
<vue-editor v-model="content" id="editor"
useCustomImageHandler <--not work
:custom-modules="customModulesForEditor" <--customModules not work，custom-modules is  ok
:editor-options="editSettings" <--editorOptions not work, but editor-options is ok！
@image-added="Dlg_Edit_HandleImageAdded">

This issue is stale because it has been open for 60 days with no activity.

This issue was closed because it has been inactive for 7 days since being marked as stale.


upgraded to grails 2.0.0

updated dependencies
fixed transient plugin dependencies
FIXED http://jira.grails.org/browse/GRAILSPLUGINS-2968

sorry, did not see http://jira.grails.org/browse/GPSPRINGSECURITYUI-27 and the existing fix

Thanks - I've made similar changes but needed the plugin to work with and without resources installed.


Fix: link to getting started in README

Fix the URL to the Getting Started guide in the README
Motivation:
I clicked on the link and it didn't work.
Modifications:
I changed .de to the correct .dev
Result:
The link works now.

thanks @BrianHenryIE

@swift-server-bot test this please

looks like this was fixed by another PR, sorry for the delay in merging this


Windows 11: Keybase app does not open, even after uninstall/reinstall

Keybase app would not open on my Windows 11 box. Uninstalled the app and reinstalled the current version from https://keybase.io/docs/the_app/install_windows. Attempted to start the program after reinstall and the app still did not open.
my log id: ea6b734f4abfd34bb914c71c

Processor	11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz   3.00 GHz
Installed RAM	16.0 GB (15.7 GB usable)
System type	64-bit operating system, x64-based processor
Edition	Windows 11 Pro
Version	23H2
Installed on	1/12/2023
OS build	22631.3880
Experience	Windows Feature Experience Pack 1000.22700.1020.0


Subtitle bar should be somewhat transparent - and smaller

Maybe like

or

I made it semi-transparent and adjusted the size of the subtitles box.
Please check https://polimediaupv.github.io/paella-skins/.

Looks good. Unless the box is "pumpin'":
https://github.com/polimediaupv/paella-ethz/assets/1752342/1e30c13f-c6a2-4cd9-8db4-21a5f58270ef
Happened in Firefox and Chrome on Windows.

Sorry. I was testing the changes with the video paused and didn't notice the problem. Fixed!
https://polimediaupv.github.io/paella-skins/

All good.


Migration Telegram.Bot to version 17.0

Closes #350

@Jadhielv Nice work here. Although this migration screws up most of our unit tests because they turned all methods of ITelegramClient into extension methods 🥴
Give me some time to think what I can do with the unit tests.

@nminaya Ok, go ahead

@Jadhielv Take a look at the changes I did and merge away if everything looks fine to you

@nminaya LGTM.


Changing locale

I can’t figure out how to change locale in GetMaterialApp.
As I’m understand GetMaterialApp shouldn’t wrapped with any widget or builder? How then it’s possible to switch locale in app?

I'm not sure about the stable version, but the development version I'm developing has the property "Get.changeLocale (Locale)".
you can currently change and use something like Get.restartApp (), but we will do that better in the next major update


Blinds widget: replace labels with icons and set widget colors consistent with other widgets

Thanks for the cleanup. Consistency is good.
It would be nice if you could update the wiki accordingly :)

Here is the screenshot for the wiki:


react-native  init   problem

react-native  init  TestApp
wait too  long  time  in China
the  log:
react-native  init  TestApp
This will walk you through creating a new React Native project in /Users/zhangsailei/react-native/TestApp
Installing react-native package from npm...
generate TestApp/package.json
{"name":"TestApp","version":"0.0.1","private":true,"scripts":{"start":"react-native start"}}

npm install -g npm@2