text:
[BUG] result: Fehler beim hinzugefügen des Gerätes!

Describe the bug
Ich habe versucht per Webhook, Meldungen von meiner Synology zu iGotify zu senden.
Leider kommt immer der selbe Fehler. siehe Log unten
Ich habe bereits verschiedene Token und web urls  probiert.
web url: http://IP.33/message
HTTP-Methode POST
HTTP-Header:
Content-Type: application/json
X-Gotify-Key: "Token"
HTTP-Text:
{
"message": "@@TEXT@@",
"title": "Synology",
"priority": 5,
"extras": {
"client::display": {
"contentType": "text/markdown"
}
}
}

Log:
Additional context
10:21:44.034 INFO Logger.init():26 - ♻ - Initialize iGotify Logger

10:21:44.083 VERBOSE AppDelegate.application():56 - APNs token retrieved: 32 bytes

10:21:44.087 VERBOSE AppDelegate.application():59 - The token: C5E0C*****D62CD

10:21:44.092 INFO SecNtfy.setApnsToken():136 - C5E0C*****D62CD

10:21:45.762 INFO SecNtfy.PostDevice():166 - ♻ - Device already added NTFY-DEVICE-ufnXHH8r0TilY8e2SYeAffcbJf3PCEJOkC9wGspoCEMTmjju1dnuc

10:21:45.770 VERBOSE Functions.sendTokenToSecNtfy():232 - registration token: NTFY-DEVICE-ufnXHH8r0TilY8e2SYeAffcbJf3PCEJOkC9wGspoCEMTmjju1dnuc

10:21:45.778 VERBOSE Functions.sendTokenToSecNtfy():242 - result: Fehler beim hinzugefügen des Gerätes! Successful: false Token: NTFY-DEVICE-ufnXHH8r0TilY8e2SYeAffcbJf3PCEJOkC9wGspoCEMTmjju1dnuc

Hi der Log ist korrekt, darüber steht das das gerät bereits hinzugefügt wurde.
Und der Fehler Resultiert daraus, das es kein Success gibt, ist aber irrelavant für dein problem.
dein Post Body ist falsch.
Schau mal in meinem anderen Projekt (https://github.com/androidseb25/SSLChecker/blob/8a0d6e435bd3dcb416474685ccdd2a02765fad91/Jobs/SSLCheckerJob.cs#L124)
dort siehst du wie der Payload aussehen muss

Ich komme mit dem Code leider nicht klar, bzw. hab ich's glaube ich so gemacht wie beschrieben.
Bekomme es nicht zum Laufen.
Token wurde eingefügt.
Hier mal Screenshots meiner Config

Das Token ist auch korrekt? Das muss das Application Token sein von der App in Gotify zb. heißt die App DiskStation oder so.
Hast du es mal via Terminal probiert?
einfach mal ein curl machen.
curl "http://<IP>/message?token=<APP_TOKEN>" -F "title=Message" -F "message=You see here the Message of my Gotify" -F "priority=5";
nicht das dein Gotify von deiner Diskstation aus nicht erreichbar ist.

Ist erreichbar, per ioBroker gehts auch schon länger und der Terminal Befehl funktioniert auch.

mmh komisch, vielleicht kommt die DiskStation nicht mit dem Webhook bzw. PayLoad klar.
Ich kann das jetzt nicht testen da ich kein NAS besitze :/

Wenn ich das Terminal von meinem Rechner verwende wird der curl Befehl ausgeführt, auf der Syno hingegen wird der Fehler angezeigt.
curl: (7) Failed to connect to 192.168.178.33 port 80 after 3007 ms: Error
Ich werde mal gucken ob ich darüber was finde.

Hast du es hinbekommen? Wenn ja kannst du die Lösung posten und den Issue schließen?

Ich habe es hinbekommen.
Gotify ist bei mir in einem Docker Container mit macvlan auf einer Syno.
Der DockerHost hat keine Verbindung zum Container aufbauen können (Docker geschuldet).
Dieses bekommt man mit einer Netzwerkbrücke hin.
Hier wird es erklärt
https://www.youtube.com/watch?v=jCPIUDpqcgw&t=1s


text:
Add main flow testing

Add fakerphp/faker to generate dummy data
Reuse accessToken for multiple requests
Add main flow testing, with manual input for the OTP code

approve for updated for testing

source: gharchive/pull-request

authors: andromeda-spe prabowomurti

repo: andromeda-spe/bni-php

license: MIT

license_type: permissive

license_source: github-api


text:
Add python_requires 2.7 or 3.6+ to setup.py

This will make it clear to PyPI what Python requires are needed and also make it clear to the user when they try to install it.
This PR also adds classifier metadata for PyPI.

Given what @lgray had mentioned at the coffee break, I force pushed a change that also allows support for Python 2.7

@matthewfeickert Not necessarily. Is there a good case not to? I thought it was pretty much a python standard.

Not necessarily. Is there a good case not to? I thought it was pretty much a python standard.

Yes, but a lot of people also think that 79 chars is too restrictive. pyhf formats with Black, and there we use 88 lines as that seems to be a more reasonable length and it what the original author of Black recommends.

@andrzejnovak I think we've broken all of the CI by merging this in now though. We'll have to open up another PR that changes the line length that signals an error.

Ah no! I see that you are steps ahead of me and have already done this in https://github.com/andrzejnovak/mplhep/commit/521e160b13261089352114cc650958307c2a498c. :) Thanks!

authors: andrzejnovak matthewfeickert

repo: andrzejnovak/mplhep


text:
Update akka-http to 10.1.12

Updates com.typesafe.akka:akka-http from 10.1.11 to 10.1.12.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.akka", artifactId = "akka-http" } ]

labels: test-library-update, semver-patch

Coverage remained the same at 0.0% when pulling 0ea96b33359853bb611b362007f08f1c42abc304 on scala-steward:update/akka-http-10.1.12 into bd2fbba766f77c489ef650dfa84427230926a656 on andyglow:develop.

authors: coveralls scala-steward

repo: andyglow/websocket-scala-client


text:
可以提供一下linux版本么

描述
想挂在服务器上面跑

你想要哪些功能？以什么形式提供？

一个配置文件，里面填b站ck三件套还有web里面的一些配置，直接crontab，或者直接用docker compose改配置，这样就不用一直挂着网页了，感谢
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: andywang425 @.>
发送时间: Sunday, August 8, 2021 7:03:27 PM
收件人: andywang425/BLTH @.>
抄送: scccy @.>; Author @.>
主题: Re: [andywang425/BLTH] 可以提供一下linux版本么 (#158)
你想要哪些功能？以什么形式提供？
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/andywang425/BLTH/issues/158#issuecomment-894780212, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG6SAU24ZBH6IPRLTSZ4S43T3ZP77ANCNFSM5BYKTVDQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

要是能多账户就更好了/棒
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: 施 辞 @.>
发送时间: Sunday, August 8, 2021 7:08:25 PM
收件人: andywang425/BLTH @.>; andywang425/BLTH @.>
抄送: Author @.>
主题: Re: [andywang425/BLTH] 可以提供一下linux版本么 (#158)
一个配置文件，里面填b站ck三件套还有web里面的一些配置，直接crontab，或者直接用docker compose改配置，这样就不用一直挂着网页了，感谢
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: andywang425 @.>
发送时间: Sunday, August 8, 2021 7:03:27 PM
收件人: andywang425/BLTH @.>
抄送: scccy @.>; Author @.>
主题: Re: [andywang425/BLTH] 可以提供一下linux版本么 (#158)
你想要哪些功能？以什么形式提供？
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/andywang425/BLTH/issues/158#issuecomment-894780212, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG6SAU24ZBH6IPRLTSZ4S43T3ZP77ANCNFSM5BYKTVDQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

我的意思是你希望脚本能实现哪些功能，比如抽天选？
顺便一提q群里已经有人在写了。

centos 8 我也加个群吧
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: andywang425 @.>
发送时间: Sunday, August 8, 2021 7:47:07 PM
收件人: andywang425/BLTH @.>
抄送: scccy @.>; Author @.>
主题: Re: [andywang425/BLTH] 可以提供一下linux版本么 (#158)
我的意思是你希望脚本能实现哪些功能，比如抽天选？
顺便一提q群里已经有人在写了。
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/andywang425/BLTH/issues/158#issuecomment-894785330, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG6SAU7CRCTY2Y3TWXEZJZDT3ZVDXANCNFSM5BYKTVDQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

source: gharchive/issue


text:
Minor issues in JOSS paper text

Raising as part of JOSS review openjournals/joss-reviews/issues/6906
Some small typos and other minor suggestions with regards to the JOSS paper text

[x] Probability density function (PDF) acronym should be defined on first usage.
[x] PDF function is used in several places but would expand to probability density function function.
[x] Citations should be added for both NumPy  and Scipy .
[x] In Statement of need, Markov Chain Monte Carlo should ideallly be capitalized as Markov chain Monte Carlo (generally the full form of an acronym or initialism will be capitalized as it would usually be, and while Markov and Monte Carlo are both proper nouns, chain is not).
[x] The SGMCMCJax bibtex entry needs additional braces adding so  markov chain monte carlo is capitalized as Markov chain Monte Carlo.

These issues are all addressed in the joss-major branch (PR #12)

Closed in PR #12

authors: aneeshnaik matt-graham

repo: aneeshnaik/lintsampler


text:
network IP changes force recreate

Signed-off-by: Roland Urbano rurbano@anexia-it.com
Description

Changing the IP address on a network interface will require to recreate the virtual server.
Acceptance tests

[x] Have you run the acceptance tests on this branch?

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAnxCloudVirtualServer'
...

Release Note
Release note for CHANGELOG:

* resource/virtual_server - network IP changes require resource recreation ([#45](https://github.com/anexia-it/terraform-provider-anxcloud/pull/45))

References

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

/ok-to-test sha=fd071c4

/ok-to-test sha=a5aa034

/ok-to-test sha=a5aa0344e663f6dc3501b6a4e4e3eaecf3c809c0

repo: anexia-it/terraform-provider-anxcloud


text:
db2start throws SQL1042C  An unexpected system error occurred.

Trying to deploy on Mac (macOS High Sierra)
Created a /db2 folder on the host, added /db2 mount point via Docker  - Preferences
Ran the following -
docker run -i -t --privileged=true --name="db2inst1" -p 50000:50000 -v /db2:/home angoca/db2-instance
./createInstance
su - db2inst1
. ~db2inst1/sqllib/db2profile
su - db2inst1
db2inst1@ace6e0af1103:~$ db2start
SQL1042C  An unexpected system error occurred.
db2 diag log shows -
2017-12-13-19.41.42.838165+000 E7247E1026            LEVEL: Error (OS)
PID     : 7930                 TID : 140601058523008 PROC : db2star2
INSTANCE: db2inst1             NODE : 000
HOSTNAME: ace6e0af1103
FUNCTION: DB2 UDB, oper system services, sqloopenp, probe:80
MESSAGE : ZRC=0x870F0002=-2029060094=SQLO_BPSE "Debug logic error detected"
DIA8501C A buffer pool logic error has occurred.
CALLED  : OS, -, open                             OSERR: EINVAL (22)
DATA #1 : Codepath, 8 bytes
5:11:18:20:24:40
DATA #2 : File name, 55 bytes
/home/db2inst1/sqllib/ctrlha/.db2.000.ace6e0af1103.pgrp
DATA #3 : SQO Open File Options, PD_TYPE_SQO_FILE_OPEN_OPTIONS, 4 bytes
SQLO_CRTREV, SQLO_READWRITE, SQLO_SHAREWRITE, SQLO_FORCE_NON_BUFFERED, SQLO_WRITETHRU, SQLO_SECURE
DATA #4 : Hex integer, 4 bytes
0x000001B4
DATA #5 : signed integer, 4 bytes
0
DATA #6 : Hex integer, 4 bytes
0x00004000
DATA #7 : String, 105 bytes
Search for ossError*Analysis probe point after this log entry for further
self-diagnosis of this problem.

Hi
I am having the same problem and I also have mac OS Sierra

authors: RekhaDS fabio-whishworks

license: mit

license_source: bigquery


text:
Rxjs - operadores

Me gustaría...

[x] 😎 Ser el próximo speaker
[ ] 😃 Proponer un tema
[ ] 😋 Sugerir una idea/proyecto
[ ] 🤠 Convertirme en organizador
[ ] 🤕 Resolver una duda técnica
[ ] 🤡 Otro

Descripción
Me parece un tema muy interesante ya que angular utiliza esta librería en varios de sus métodos y se pueden realizar muchas operaciones complejas gracias a sus operadores.

Súper @camilo56  ! 😁 Éste es un tema muy necesario en Angular! 🅰  Muchas gracias por proponerlo! 😁
Te gustaría dar el tema a ti!? No olvides contarnos quién eres y dar una descripción de la charla! 🎉
Speaker Guidelines

Hola @jdjuan Mi nombre es cristian camilo colorado soy desarrollador front end, he estado trabajando con rxjs y me parece un tema un importante, me gustaría contarle a la comunidad que es rxjs, como se utiliza, sus ventajas y mostrarles algunos de los operadores que nos pueden ayudar mucho.

Excelente presentación @camilo56 🥇

repo: angular-medellin/meetup


text:
How to translate a tag, which include a inner tag

Start your  Free 10-day Trial

translate directive will grab all text in current DOM Element, so the key will be
Start your  Free 10-day Trial

My bad @hyliker regex will grab 'til first opening <
It means for your example, key will be: Start your.
It will be hard to maintain if I update all regex to take care of this.
Maybe if others guys ask for that, I'll do the job.

authors: firehist hyliker


text:
Reset placeholder display attribute instead of changing it to block

Reset placeholder css display attribute, so it resets to whatever the placeholder class display attribute was set to.
In case someone is using a custom placeholder class this can unexpectedly change the css, for example when display is set to 'block-inline';
Pull request https://github.com/angular-ui-tree/angular-ui-tree/pull/525 added this behavior.

Thanks for this, @wwsno ! The PR looks good. Can you add a test for this behaviour, so we explicitly check the original display value is being used after the reset? Thanks in advance!

What do you expect from a test for this? uiTreeNode seems completely untested and it seems rather non trivial to add a single test for this fix.

You're right, tests are important but it's not trivial to add them for this behaviour. There are other parts which are more important to get covered for now. Thanks for your work!

authors: Voles wwsno

repo: angular-ui-tree/angular-ui-tree


text:
Search fails to register keypresses with combo box closed

If the user tabs into a closed ui-select combo box and types quickly the keypresses may not register.  The behavior gets worse the longer the list, though it doesn't take many items for the behavior to become consistent.
For example, the attached plunkr is the Basic example from the ui-select home page with $scope.people modified to be significantly longer.  To replicate the issue place the cursor in the "Enter an address" field, press Tab then type "adr" quickly and notice the d and r often do not register.
It appears under the hood ui-select is reverting the search string.  Debugging in the propsFilter shows it will search for "a" then "ad" then "adr" then "a" again.
Link to minimally-working plunker that reproduces the issue:
http://plnkr.co/edit/VBPQvQdsQ7bNUymNHLwp?p=preview
Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS
Directly from the Basic demo plunkr
Angular: 1.5.0
UI-Select: 0.19.5

Can you tell me it this is for all themes of the ui-select?

Yes, it affects all themes.

Here is some additional information that will hopefully expedite a fix.  When the combo is closed (tab into it) and a key is pressed it is handled by
focusser.bind("keyup input", function(e){...}
If the rest of the search is typed slowly then all of the key inputs are received by
ctrl.searchInput.on('keydown', function(e) {...})
but if the rest is typed quickly the keydown handler is never called and $watch on $select.search is never triggered.

+1

I have huge issues with this as well. Many people complain that their characters get eaten away when typing when the dropdown is closed. So if anyone has some kind of workaround that I could implement to solve it, let me know. It is especially frustrating because this dropdown is used in a form that gets used very frequently, and thus efficiency is quite important. The form it is based in is also completely tab optimized to reduce the total number of keypresses needed.

authors: Jefiozie emmanueldaher mgmverburg softdevca

repo: angular-ui/ui-select


text:
Uncaught TypeError: Cannot read property 'clipboardData' of undefined when pasting

When pasting anything - all modes - the console throws the presented error.

I ended up changing the spot where it errors to this:
var t = e.originalEvent.clipboardData ? e.originalEvent.clipboardData.getData("text/plain") : window.clipboardData.getData("text");

I tested it on IE 11 and Chrome.  Works!

The issue is that originalEvent is jquery.  Since jquery is supposedly not required for ui-select, this reference should be removed completely for the fix.

+1

+1 Please fix

hey guys, do you have any progress on this?

I created a pull request #1391 to fix this yesterday.

ah, thanks
+1

There are many pull requests for this such as #1276 , But the project isn't maintained anymore so nobody merges them.

Is there a way to keep this going?
Would be sad if this project gets abandoned :confused:

I opened #1398
You are welcome to comment there

Please confirm fix in v0.14.7 and close this issue.

Closing this as fixed - feel free to open a new issue if it is still a problem.

authors: aaronroberson bobs619 cfey erikdubbelboer ruionwriting rysilva sdir456 shali3 wesleycho


text:
Component inside another component is not rendered using webpack CLI production packaging

Hi,
When I include a component in another component, the ng serve command renders the sub-component while ng serve --prod does not render it. The same problem occurs when using the bundle created by command ng build --prod.

OS? Windows 7
Versions.
(node:4412) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
angular-cli: 1.0.0-beta.11-webpack.2
node: 6.3.1
os: win32 x64
how to reproduce ?
The Angular CLI base application (using ng new) can be used with the following changes.

Change app.component.ts with the following content.
import { Component } from '@angular/core';
import { SubComponent } from './sub.component';

@Component({
directives: [
        SubComponent
    ],
  selector: 'app-root',
  template: `

  {{title}}

`
})
export class AppComponent {
  title = 'app works!';
}

Create a new file sub.component.ts with the following content.
import { Component } from '@angular/core';

@Component({
  selector: 'sub',
 template: '
This is not render using --prod flag
'
})
export class SubComponent {
}

Then run ng serve and then ng serve --prod, the first one render SubComponent while the second one does not render it.
I have created a GitHub repository with the file to reproduce (here).
I tried to ask if I am missing something on stackoverflow but it seems it is a problem with cli ?

This problem is already fixed (or rather, worked around) in CLI master. You can follow the instructions in the README to work with the in-development code if you need -prod working again now, or wait for the next NPM-published version.
(There are various other issues here and angular/angular about the underlying problem.)

It works using master.
Thanks for your comment.

Hi,
I have the similar issue.
Could you please provide me the solution for this.
Regards,
Bikash

authors: BikashDas19 kylecordes nhenneaux

repo: angular/angular-cli


text:
Cannot read property 'hasInlines' of undefined

🐞 Bug report
Command (mark with an x)

[ ] new
[ x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

Yes, the previous version in which this bug was not present was: 8.2.2
Description
ng build --prod is giving the following error after upgrade to 10.0.12. While ng serve is working perfectly
🔥 Exception or Error
ERROR in TypeError: Cannot read property 'hasInlines' of undefined
    at TemplateTypeCheckerImpl.getDiagnosticsForFile (E:\Dropbox\SmartTask\SmartTask.App\node_modules\@angular\compiler-cli\src\ngtsc\typecheck\src\checker.js:123:28)
    at NgCompiler.getTemplateDiagnostics (E:\Dropbox\SmartTask\SmartTask.App\node_modules\@angular\compiler-cli\src\ngtsc\core\src\compiler.js:487:106)
    at NgCompiler.getDiagnostics (E:\Dropbox\SmartTask\SmartTask.App\node_modules\@angular\compiler-cli\src\ngtsc\core\src\compiler.js:141:97)
    at NgtscProgram.getNgSemanticDiagnostics (E:\Dropbox\SmartTask\SmartTask.App\node_modules\@angular\compiler-cli\src\ngtsc\program.js:152:45)
    at checkDiagnostics (E:\Dropbox\SmartTask\SmartTask.App\node_modules\@ngtools\webpack\src\diagnostics.js:47:27)
    at Object.gatherDiagnostics (E:\Dropbox\SmartTask\SmartTask.App\node_modules\@ngtools\webpack\src\diagnostics.js:86:13)
    at AngularCompilerPlugin._emit (E:\Dropbox\SmartTask\SmartTask.App\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:1081:54)
    at AngularCompilerPlugin._update (E:\Dropbox\SmartTask\SmartTask.App\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:872:50)
    at process._tickCallback (internal/process/next_tick.js:68:7)

🌍 Your Environment
Angular CLI: 10.0.7
Node: 10.16.1
OS: win32 x64

Angular: 10.0.12
... animations, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, router
Ivy Workspace: <error>

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.1000.7
@angular-devkit/build-angular     0.1000.7
@angular-devkit/build-optimizer   0.1000.7
@angular-devkit/build-webpack     0.1000.7
@angular-devkit/core              10.0.7
@angular-devkit/schematics        10.0.7
@angular/cdk                      10.1.3
@angular/cli                      10.0.7
@angular/http                     7.2.16
@angular/material                 10.1.3
@ngtools/webpack                  10.0.7
@nguniversal/common               10.0.2
@nguniversal/express-engine       10.0.2
@schematics/angular               10.0.7
@schematics/update                0.1000.7
rxjs                              6.6.2
typescript                        3.9.7
webpack                           4.43.0

Seems like more of a compiler bug, transferring to the FW repo for a better triage. Although probably a reproduction would be needed.


text:
Renew  Angular Dependency

Hello I have noticed that you still have not renew Angular Dependency , it came out long time ago .
"@angular/common": "~2.0.2",
"@angular/compiler": "~2.0.2",
"@angular/core": "~2.0.2",
"@angular/forms": "~2.0.2",
"@angular/http": "~2.0.2",
"@angular/platform-browser": "~2.0.2",
"@angular/platform-browser-dynamic": "~2.0.2",
"@angular/router": "~3.0.2",
"@angular/upgrade": "~2.0.2",
When are you going to do that ?

There is no need to change those dependencies after every release.
~2.0.0 simply means that this package will work with anything betweeen >=2.0.0 and <2.1.0.
NPM will automatically download the latest release which is 2.0.2 atm.

@grizzm0 is correct.

authors: filipesilva goriunov grizzm0


text:
CSS urls are broken when using sourcemaps

Fixing sourcemaps for global css in https://github.com/angular/angular-cli/pull/4222 introduced a new bug due to https://github.com/webpack-contrib/css-loader/issues/232.
While --sourcemap is enabled (default for dev) and --extract-css is disabled (default for dev), urls in css can become incorrect. See https://github.com/webpack-contrib/css-loader/issues/232 for more details.
Temporary workaround is to serve with either --no-sourcemap or --extract-css.

The note on style-loader might be the real issue here: https://github.com/webpack-contrib/style-loader#recommended-configuration

Note about source maps support and assets referenced with url: when style loader is used with ?sourceMap option, the CSS modules will be generated as Blobs, so relative paths don't work (they would be relative to chrome:blob or chrome:devtools). In order for assets to maintain correct paths setting output.publicPath property of webpack configuration must be set, so that absolute paths are generated.


text:
Global style imported but not applied in @angular/cli version 1.0.3

Global style is not working/applied on the page with new style loader config
using ng eject config
i import a css file in the global style file
style.scss file
@import "file/global.scss";
webpack.config.js file
    "styles": [       "./src\\styles.scss"     ]
compile style.bundle.js file:
`webpackJsonp([2],{
// 10:
// (function(module, exports) {
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
// css base code, injected by the css-loader
module.exports = function() {
var list = [];
// return the list of modules as css string
list.toString = function toString() {
	var result = [];
	for(var i = 0; i < this.length; i++) {
		var item = this[i];
		if(item[2]) {
			result.push("@media " + item[2] + "{" + item[1] + "}");
		} else {
			result.push(item[1]);
		}
	}
	return result.join("");
};

// import a list of modules into the list
list.i = function(modules, mediaQuery) {
	if(typeof modules === "string")
		modules = [[null, modules, ""]];
	var alreadyImportedModules = {};
	for(var i = 0; i < this.length; i++) {
		var id = this[i][0];
		if(typeof id === "number")
			alreadyImportedModules[id] = true;
	}
	for(i = 0; i < modules.length; i++) {
		var item = modules[i];
		// skip already imported module
		// this implementation is not 100% perfect for weird media query combinations
		//  when a module is imported multiple times with different media queries.
		//  I hope this will never occur (Hey this way we have smaller bundles)
		if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
			if(mediaQuery && !item[2]) {
				item[2] = mediaQuery;
			} else if(mediaQuery) {
				item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
			}
			list.push(item);
		}
	}
};
return list;

};
/***/ }),
// 111:
// (function(module, exports, webpack_require) {
exports = module.exports = webpack_require(10)();
// imports
// module
exports.push([module.i, "/* You can add global styles to this file, and also import other style files /\n li::first-line {\n    text-shadow: none !important;\n    box-shadow: none !important; }\n  a,\n  a:visited {\n    text-decoration: underline; }\n  abbr[title]::after {\n    content: " (" attr(title) ")"; }\n  pre {\n    white-space: pre-wrap !important; }\n  pre,\n  blockquote {\n    border: 1px solid #999;\n    page-break-inside: avoid; }\n  thead {\n    display: table-header-group; }\n  tr,\n  img {\n    page-break-inside: avoid; }\n  p,\n  h2,\n  h3 {\n    orphans: 3;\n    widows: 3; }\n  h2,\n  h3 {\n    page-break-after: avoid; }\n  .navbar {\n    display: none; }\n  .badge {\n    border: 1px solid #000; }\n  .table {\n    border-collapse: collapse !important; }\n    .table td,\n    .table th {\n      background-color: #fff !important; }\n  .table-bordered th,\n  .table-bordered td {\n    border: 1px solid #ddd !important; } }\n\nhtml {\n  box-sizing: border-box; }\n\n,\n*::before,\n*::after {\n  box-sizing: inherit; }\n\n@-ms-viewport {\n  width: device-width; }\n\nhtml {\n  -ms-overflow-style: scrollbar;\n  -webkit-tap-highlight-color: transparent; }\n\nbody {\n  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;\n  font-size: 1rem;\n  font-weight: normal;\n  line-height: 1.5;\n  color: #292b2c;\n  background-color: #fff; }\n\n[tabindex="-1"]:focus {\n  outline: none !important; }\n\nh1, h2, h3, h4, h5, h6 {\n  margin-top: 0;\n  margin-bottom: .5rem; }\n\np {\n  margin-top: 0;\n  margin-bottom: 1rem; }\n\nabbr[title],\nabbr[data-original-title] {\n  cursor: help; }\n\naddress {\n  margin-bottom: 1rem;\n  font-style: normal;\n  line-height: inherit; }\n\nol,\nul,\ndl {\n  margin-top: 0;\n  margin-bottom: 1rem; }\n\nol ol,\nul ul,\nol ul,\nul ol {\n  margin-bottom: 0; }\n\ndt {\n  font-weight: bold; }\n\ndd {\n  margin-bottom: .5rem;\n  margin-left: 0; }\n\nblockquote {\n  margin: 0 0 1rem; }\n\na {\n  color: #0275d8;\n  text-decoration: none; }\n  a:focus, a:hover {\n    color: #014c8c;\n    text-decoration: underline; }\n\na:not([href]):not([tabindex]) {\n  color: inherit;\n  text-decoration: none; }\n  a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {\n    color: inherit;\n    text-decoration: none; }\n  a:not([href]):not([tabindex]):focus {\n    outline: 0; }\n\npre {\n  margin-top: 0;\n  margin-bottom: 1rem;\n  overflow: auto; }\n\nfigure {\n  margin: 0 0 1rem; }\n\nimg {\n  vertical-align: middle; }\n\n[role="button"] {\n  cursor: pointer; }\n\na, } }\n", ""]);
// exports
/*** EXPORTS FROM exports-loader ***/
module.exports = module.exports.toString();
/***/ }),
// 278:
// (function(module, exports, webpack_require) {
webpack_require(26);
module.exports = webpack_require(111);
/***/ })
},[278]);
//# sourceMappingURL=styles.bundle.js.map`
However the style is not getting applied. anything am missing here?

I miss a config...the import is working fine after i added the file tension in the include and exclude. this should be close...

@omkadiri Can you explain in more detail about what you had to add to the include/exclude?  I assume you mean the include/exclude sections of the tsconfig?

authors: omkadiri scottseeker


text:
[Feature Request] Flag to change ECMAScript version target

Specifically, it'd be nice to have an easy way to serve ES2017 locally without having to manually automate changing and reverting tsconfig files (async/await is a bit messy to debug as-is).

I think what I was asking for was a way to override the tsconfig.app.json setting, either in a CLI flag or angular.json, specifically so that I could have ng serve use ES2017 while ng build does ES5.
As noted, the reason for this is that stepping through async/await code in the debugger would be way easier than the ES5 equivalent that TypeScript generates.

FYI https://github.com/angular/angular-cli/issues/13216


text:
Old Version of angular with 1.5.0-rc.8

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

Versions.
Angular CLI: 1.5.0-rc.8
Node: 8.6.0
OS: darwin x64
Angular: 4.4.6
I want angular 5.0.0 and up when I create my new project, but everytime I see it gives me a project with Angular 4.4.6!! How should I change it so that angular cli gives me the latest angular version

angular-cli 1.5.0 is out, which uses angular 5.x by default.

authors: mohammedzamakhan park-brian


text:
Angular 2 on openshift. Unable to bind the ng serve to the service hostname

Versions
@angular/cli: 1.4.9
node: 6.11.5
os: darwin x64
@angular/animations: 4.4.6
@angular/common: 4.4.6
@angular/compiler: 4.4.6
@angular/core: 4.4.6
@angular/forms: 4.4.6
@angular/http: 4.4.6
@angular/platform-browser: 4.4.6
@angular/platform-browser-dynamic: 4.4.6
@angular/router: 4.4.6
@angular/cli: 1.4.9
@angular/compiler-cli: 4.4.6
@angular/language-service: 4.4.6
typescript: 2.3.4
npm --version 3.10.10

Repro steps

Using openshift 3.6: catalogue node js 6
code pulling from git repo.
successfully compiled but unable to bound to address provided by me.

Nodejs template for openshift:
https://github.com/sclorg/s2i-nodejs-container/tree/master/4
The issue is when I create a build for any git repo, the ng serve will start in the localhost and specified port. If I changed the hostname and port(in .angular-cli.json) to deploy in openshift pod, the ng serve fails saying unable to bound. I am trying to bind it to the service name.
I also tried to do for the route but again it failed. Below logs are when i tried to bind to the route.
For service as host name i got the error unable to bound
For route, below error.
Is there any way that i can bind the openshift service name to the ng serve?
Observed behavior
<!-- Normally this includes a stack trace and some more information. -->

Environment:
| DEV_MODE=false
  | NODE_ENV=production
  | DEBUG_PORT=5858
  | Launching via npm...
  | npm info it worked if it ends with ok
  | npm info using npm@3.10.9
  | npm info using node@v6.9.1
  | npm info lifecycle kamal@0.0.0~prestart: kamal@0.0.0
  | npm info lifecycle kamal@0.0.0~start: kamal@0.0.0
  |
  | > kamal@0.0.0 start /opt/app-root/src
  | > ng serve
  |
  | getaddrinfo ENOTFOUND http://autoscaler-ui5-openshift-infra.192.168.99.100.nip.io
  | Error: getaddrinfo ENOTFOUND http://autoscaler-ui5-openshift-infra.192.168.99.100.nip.io
  | at errnoException (dns.js:28:10)
  | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
  |
  | npm info lifecycle kamal@0.0.0~start: Failed to exec start script
  | npm ERR! Linux 4.4.41-boot2docker
  | npm ERR! argv "/opt/rh/rh-nodejs6/root/usr/bin/node" "/opt/rh/rh-nodejs6/root/usr/bin/npm" "run" "-d" "start"
  | npm ERR! node v6.9.1
  | npm ERR! npm  v3.10.9
  | npm ERR! code ELIFECYCLE
  | npm ERR! kamal@0.0.0 start: ng serve
  | npm ERR! Exit status 1
  | npm ERR!
  | npm ERR! Failed at the kamal@0.0.0 start script 'ng serve'.
  | npm ERR! Make sure you have the latest version of node.js and npm installed.
  | npm ERR! If you do, this is most likely a problem with the kamal package,
  | npm ERR! not with npm itself.
  | npm ERR! Tell the author that this fails on your system:
  | npm ERR!     ng serve
  | npm ERR! You can get information on how to open an issue for this project with:
  | npm ERR!     npm bugs kamal
  | npm ERR! Or if that isn't available, you can get their info via:
  | npm ERR!     npm owner ls kamal
  | npm ERR! There is likely additional logging output above.
  |
  | npm ERR! Please include the following file with any support request:
  | npm ERR!     /opt/app-root/src/npm-debug.log

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


text:
Dot notation in name of class after ng g class <name.component>

Versions
Angular CLI: 1.6.5
Node: 7.10.1
OS: win32 x64
Angular: 5.2.2
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@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.5.3
webpack: 3.10.0

Repro steps

Step 1
use

ng g class view.action

result
create src/app/view.action.ts (29 bytes)
text in created file:
export class View.Action {
}

Observed behavior
<!-- Normally this includes a stack trace and some more information. -->

Desired behavior

I 'd like to create class with dot in file name. And i'd like to get className in normal PascalCase.
Mention any other details that might be useful (optional)
If i generate class with command
ng g class view-action

then I get normal name of class ViewAction. But I need to generate files with dot.
Thank you.

Duplicate of #13824.
Also related to #11051.


text:
fix(devkit): FileReplacement type typo

fixes #11294

Still can't get npm run test-large to pass on original master.

Superseded by https://github.com/angular/angular-cli/pull/12053


text:
Factory Methods for BrowserBuilder and WebpackBuilder

These factory methods create the WebpackBuilder, the getBrowserLoggingCb function and the WebpackCompiler to use. This PR doesn't change the current behavior but provides hooks for extensions which inherit the existing Builders.

I signed the Contributor License Agreements.

@alan-agius4 thx for the information. I've changed the commit message.


text:
fix(@schematics/angular): add @angular/localize as type when localize package is installed

The @angular/localize entrypoint now exposes the global $localize method type.
See: https://github.com/angular/angular/pull/47763

Blocked on FW release 15.0.0-next.7.


text:
chore(build): fix so --fast can be used with check-deploy etc

Using --fast with most targets would just stop after doing _copy-example-boilerplate. This fixes the issue.
cc @kwalrath @Foxandxss

Works for me!

I need to double check, because that concrete task had a problem with ordering and I think I had to remove the return to make it work so I will check later to see that it still does the job in the right order.

Removing the return beaks the task flow. I think that the return needs to be there in some form, we just need to find the right form (and this might be it).

Doesn't seem to be affecting the ordering, so LGTM.

authors: Foxandxss chalin kwalrath


text:
$scope.$on("$destroy") when $scope is destroyed by $location.path() assignment [firefox]

When I added a $scope.$on("$destroy") function, Firefox unexpectedly started changing my view to the $routeProvider.otherwise following a $location.path() assignment.
The problem was fixed when I repeated the same $location.path() assignment at the end of my $scope.$on("$destroy") function. I haven't seen this behavior in other browsers.

Please have any examples of your code in Plunker or similar?

@birdcw could you please create sample app to show this error on jsbin or plnkr.co?

No feedback in several months, no way to reproduce the error and not enough information to know what the error is. Closing, but if there is more information to be able to diagnose this issue, feel free to reopen.

authors: birdcw bruunofco havenchyk lgalfaso


text:
Unable to set secure flag for cookies using $cookies.putObject in Angularjs version 1.4.4

We are unable to set the secure flag for cookies using the $cookies service in Angularjs 1.4.4.
We are using the putObject() method mentioned in https://code.angularjs.org/1.4.4/docs/api/ngCookies/service/$cookies for the same.
Below is the same code snippet we are using for the same:
var config = {
    secure: true
 };
$cookies.putObject('foo', 'bar', config);

We cannot see the secure flag being set when we inspect the cookie that's being created.
Also, if we try to do a $cookies.getObject('foo') we get an undefined object in response. We already have all the necessary modules like "ngCookies" injected in our application.

@shahata can you take a look at this?

@anupkawtia can you create some form of reproduction for this issue? How are you checking the secure flag on the cookie? Are you sure you are trying to create the cookie on a secure web page? I've tried this out and it seems to work fine: https://jsbin.com/qijodawofe/edit?html,js,output
After clicking the "Write cookie" button you will see the value you entered in the text box appear near the "Cookie value" label. Also, in devtools -> resources tab -> cookies -> null.jsbin.com you can see that the secure flag is marked as expected.

@shahata We were getting an undefined value because we were trying to test with https disabled. When we tested with https enabled it worked fine and the cookie was getting set as secured correctly. Sorry for the inconvenience caused. You can close the issue.

authors: anupkawtia petebacondarwin shahata


text:
Do not use event.timeStamp anymore

With the forthcoming releases for Firefox 44 and new versions of Chromium and Webkit, the use of event.timeStamp will yield a different value compared to what it did before. Therefore for this reason, all versions of ngAnimate will make use of Date.now() to leverage timing values within animations.
Original bug report:
https://bugzilla.mozilla.org/show_bug.cgi?id=1231619#c3
Changes to Chromium:
https://code.google.com/p/chromium/issues/detail?id=160524

Landed as https://github.com/angular/angular.js/commit/e020b8993ec7b8e004c136ca40ea9bab02207dbf


text:
It doesn't work with

Add type="number" to any input and it will no longer work.  It wont show a value it's bound to, nor will it propagate a value.  This should be simple enough to support, right?

fixed in 0.10.3

authors: IgorMinar nickretallack


text:
added ng-unless directive

This adds the ng-unless directive which is a complement of ng-if.

I find it useful to have more than one way (TIMTOWTDI) and also think ngShow/ngHide is more readable...  Just my two cents.

I would like to have an ngUnless, and I believe ngShow/ngHide are a good idea, because of bind once.
It is currently impossible to do something like this:

without using more complicated constructs like ngSwitchWhen.
Using an ngIf it is impossible to have bind once there, and using ngHide means the mySuperAwesomeSpinner doesn't get removed.

authors: az7arul bgotink rainboxx


text:
Fix dl modal

I updated protractor because I couldn't get iit to work ... now the tests run a bit faster, too.

LGTM

authors: Narretz petebacondarwin


text:
an error message is displays while running the app based on route

Error: Invalid configuration of route ''. One of the following must be provided: component, redirectTo, children or loadChildren
RouterModule.forRoot
([ {
path:'', loadChildren:'./mainhomemodule/mainhomemodule.module#MainhomeModule'
} ])
In mainhome.module.ts,
RouterModule.forChild
([ { path:'', component:HomeComponentComponent, children:[{ path:'', component:HomeComponent }]
}
]) ],

Closing since there isn't much info to go on and the code snippet isn't using any Material/CDK functionality.

repo: angular/components


text:
Google Map is Empty after Implement Options

Hi,
if I iplements the Code for the Google Map Options, my Map empty.
What do I Wrong?
https://stackblitz.com/
.html
<google-map
  height="500px"
  width="100%"
  [options]="mapOptions"
  [zoom]="mapZoom"
></google-map>

.ts

import { Component} from '@angular/core';
import { MapInfoWindow, MapMarker, GoogleMap } from '@angular/google-maps'

@Component({
  selector: 'my-app',
  templateUrl: './app.component.html',
  styleUrls: [ './app.component.css' ]
})
export class AppComponent {
  zoom=15;
  options : google.maps.MapOption = {
    maxZoom: 18,
    minZoom: 15,
    fullscreenControl: false,
    streetViewControl: false,
    mapTypeControl: false,
  }
}

"@angular/core": "~9.1.3",
"@angular/google-maps": "^9.2.2",

It looks like the map isn't rendering, because you haven't set a center in the options. Since this seems like a bit of a gotcha, I'll make some changes so we add a default center if one isn't provided. Until then, you should be able to get it working like this:
options: google.maps.MapOptions = {
    maxZoom: 18,
    minZoom: 15,
    fullscreenControl: false,
    streetViewControl: false,
    mapTypeControl: false,
    center: {lat: 37.421995, lng: -122.084092}
};

it works, thx

Let's keep it open since the current behavior isn't intuitive. There's a PR out to fix it.

ok

authors: DMuellerFielddata crisbeto


text:
docs(material/portal): Removed the non-working syntax to get a portal

Update documentation to remove the suggestion of using *cdkPortal to get a portal as viewchild binds to undefined when *cdkPortal is used.
Fixes #21092

This documentation is accurate and should remain

authors: andrewseguin sumantamangg


text:
Stackblitz examples not working

Bug, feature request, or proposal:
Bug
What is the expected behavior?
This works https://material.angular.io/components/menu/overview.
What is the current behavior?
Stackblitz variant is not. https://stackblitz.com/angular/emekjleyejm?file=app%2Fmenu-overview-example.ts
What are the steps to reproduce?
Open the stackblitz example.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Browser: Chromium Version 64.0.3282.167 (Developer Build) (64-bit)
OS: Archlinux

@barni2000 I assume you're mentioning Google Chrome. It's working okay for me on macOS latest version of High Sierra. Do you see any errors in the console?

Yes:

If I export also not working.

Firs i got this after npm install:
> angular-template@0.0.0 start /home/work/emekjleyejm.angular
> ng serve

module.js:557
    throw err;
    ^

Error: Cannot find module '@angular-devkit/core'
    at Function.Module._resolveFilename (module.js:555:15)
    at Function.Module._load (module.js:482:25)
    at Module.require (module.js:604:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/work/emekjleyejm.angular/node_modules/@angular-devkit/schematics/src/tree/virtual.js:10:16)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! angular-template@0.0.0 start: `ng serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-template@0.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/work/.npm/_logs/2018-02-21T11_56_22_632Z-debug.log

Afer I install @angula-devkit/core i got this with npm start:

> angular-template@0.0.0 start /home/work/emekjleyejm.angular
> ng serve

** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
Date: 2018-02-21T11:58:05.453Z
Hash: 7d8137d0a69c57926f5f
Time: 2024ms
chunk {inline} inline.bundle.js (inline) 5.79 kB [entry] [rendered]
chunk {main} main.bundle.js (main) 2.93 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js (polyfills) 636 bytes [initial] [rendered]
chunk {styles} styles.bundle.js (styles) 150 kB [initial] [rendered]
chunk {vendor} vendor.bundle.js (vendor) 853 kB [initial] [rendered]

ERROR in Error: Tried to find bootstrap code, but could not. Specify either statically analyzable bootstrap code or pass in an entryModule to the plugins options.
    at Object.resolveEntryModuleFromMain (/home/work/emekjleyejm.angular/node_modules/@ngtools/webpack/src/entry_resolver.js:131:11)
    at Promise.resolve.then.then (/home/work/emekjleyejm.angular/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:239:54)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:160:7)

webpack: Failed to compile.

If I split AppModule to app/app.module.ts from main.ts its works.

Can you provide your own reproduction case as the example you linked to seems to be working as expected.

I create some changes it works after export in local but in stackblitz also not  loading.

npm install
npm start

https://angular-hlrhkp.stackblitz.io

I've done some testing on other web browsers. The original examples works with Firefox, i think this issue Chromium related.

I have installed Google-Chrome instead of Chromium and its working, but the examples still not exportable.

authors: barni2000 donroyco josephperrott


text:
mattooltip and mobile devices

Bug, feature request, or proposal:
bug
What is the expected behavior?
Tooltip  on high pages must be shown on mobile devices
What is the current behavior?
Tooltip isn't shown
What are the steps to reproduce?
https://stackblitz.com/edit/angular-9hcbcn
Open in new window, toggle device toolbar, scroll down to the Action button. Press button. There is no tooltip on click/longpress.
Can check this link https://angular-9hcbcn.stackblitz.io/ on your device.
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Chrome, Android
Is there anything else we should know?

I can confirm that tooltips are showing up on my own Android device.

authors: jelbourn twoheaded


text:
Add general theme color css classes

Bug, feature request, or proposal:
Feature request
What is the expected behavior?
A CSS class md-color-primary or md-background-color-primary to reduce the need for custom theme mixins. See material lite. They do this.
What is the current behavior?
You have to create custom theme mixins for this.
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U
What is the use-case or motivation for changing an existing behavior?
Simplicity
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Ng4.1.x, MD beta 6
Is there anything else we should know?

This would be very good to style things that are not contained within a material component.

@mbeckenbach Could you please explain more how should it work?
You mean user define md-color-primary and other colors create based on the chosen color?

@m98 Yes, thats what I mean. Should be quite easy with the sass compiler, shouldn't it?

@mbeckenbach! Okay, I got what you mean.
Thanks for the extra information, I just was not sure at the first if you mean this or not.

authors: m98 mbeckenbach rasert


text:
Datepicker support  time selection

Bug, feature request, or proposal:
feature
What is the expected behavior?
support  time selection

It will be supported (it's planned: https://github.com/angular/material2/issues/675#issuecomment-255324644)

authors: julianobrasil zimmem


text:
datepicker: selects incorrect date for yyyy-mm-dd format

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Keying in, for example, 2017-06-30 should result in June 30th 2017 being selected in the calendar popup..
What is the current behavior?
Examples:
Entering 2017-06-24 selects the 23rd
Entering 2017-6-08 selects the 7th
Entering 2017-06-08 selects the 7th
Entering 2017-6-8 works correctly
Entering 2017-06-8 works correctly
The problem only occurs when entry is in YYYY/MM/DD format and a 2-digit day is entered.
These other formats work correctly: mm-dd-yyyy (i.e. 6-30-2017) and dd-MMM-yyyy (i.e. 30-JUN-2017)
What are the steps to reproduce?

Go to https://material.angular.io/components/datepicker/overview, basic datepicker example
Key in 2017-06-30
Click the picker's icon
6/29/2017 is selected

What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Current version (Angular Material beta-8) at material.angular.io
Is there anything else we should know?

The NativeDateAdapter is currently only able to parse mm-dd-yyyy due to limitations of JavaScript's Date object. We do have plans to make NativeDateAdapter more robust once the new i18n API arrives in Angular core (#6030). We also plan to add DateAdapters for libraries like Moment.js which give more control over the parse format (#5972). Neither of these is ready yet, if you need a quick solution immediately, I recommend extending NatvieDateAdapter and overriding the parse method to meet your needs.
Closing since #6030 is already tracking improved parsing in NativeDateAdapter

authors: hblieb mmalerba


text:
Wrong font family for inputs in a Dialog

Bug, feature request, or proposal:
Incorrect Font family for only inputs in a Dialog
What is the expected behavior?
Expected to have set font family Proxima Nova.
$typography-config: mat-typography-config(
  $font-family: 'Proxima Nova'
   ....
);

What is the current behavior?
Font Family is set to  Times
What are the steps to reproduce?

Create custom theme.
Set typography font family.
create a dialog with inputs

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular/material@2.0.0-beta.8",
"typescript": "2.3.4",
browser: chrome
Is there anything else we should know?
The bug was also present when using a prebuilt theme.

Should be resolved in master by https://github.com/angular/material2/pull/5154.

authors: AntonisFK crisbeto


text:
fix(selection-list): disabling list doesn't disable ripples of options

Fixes that dynamically changing the [disabled] binding does not update the state of the list options (e.g. ripple disabled state; checkbox disabled styling)

Fixes #9952

Why isn't this already captured by this getter?
https://github.com/angular/material2/blob/e6d9494c520a8433c1487e5b2b773f59cc9b6846/src/lib/list/selection-list.ts#L116

If the [disabled] binding is being updated on the MatSelectionList the change will be recognized and the changes will be reflected.
Apparently this does not mean that the child components itself will be updated because they also are set to OnPush. The child components (<mat-list-option>) will only check for changes if a binding has been updated (which is not the case).
So in that case we need to manually mark the options for check. e.g. through _stateChanges as it's been done for sort as well (see here)

@jelbourn Done. Made the requested changes.

authors: DevVersion jelbourn


text:
docs: removed deprecated svgSrc from README

fixes #2690

Thank you! I was just about to submit this same PR :)

authors: EladBezalel Splaktar


text:
fix(button): focus state matches spec

R: @robertmesserle @kara
Also, @traviskaufman, could you verify that I'm interpreting the spec correctly here?
Closes #420

@robertmesserle comments addressed

@kara I followed Travis' advice and unified the focus styles to all be done the same way. Can you take another look?

LGTM

authors: jelbourn kara


text:
chore: update node and npm recommendations

Same update as the angular.io one.

lgtm

authors: Foxandxss filipesilva

repo: angular/quickstart


text:
[Error]: 404: Not Found

Program version
5.0.3
Operating System
Windows
Type
GUI
Service
Crunchyroll
Command used
NIL
Show ID
ALL
Episode
ALL
Console Output
Chapter request successful
[ERROR] 404: Not Found
[ERROR] {"code":"content.get_video_streams_v2.resource_not_found","context":[]}
[ERROR] Request Stream URLs FAILED! Attempting fallback
Selecting raw stream

Additional Information
I'm not sure if this is an issue on my backend, but the message has popped up since today.
Using  none DRM server.
It happens with everything on Crunchy.

This message is just a warning, it really shouldn't say error. Trying to guess the ID for the endpoint isn't always right, so sometimes it has to use a fallback. This is specifically an issue for series without version information in the API

It continues to download, correct.
Yes. the ERROR made me think something was wrong.
If this is intended behaviour this can be closed.
Thank you.

Yes this is intended, though I'll look into changing it to a warning

repo: anidl/multi-downloader-nx


text:
add(starters): Add Next JS Boilerplate

Name
Link

Next JS Boilerplate
https://creativedesignsguru.com/demo/Nextjs-Boilerplate/

Add starter code for Next JS using Tailwind CSS for the styling part.

[x] My item is in the right category
[x] My item is logically grouped below similar items
[x] My item's name and description respects the conventions of the list
[x] My item is awesome
[x] My item is in line with the Tailwind brand usage guidelines
[X] I have read and followed the contribution guidelines

Thanks!

authors: innocenzi ixartz

repo: aniftyco/awesome-tailwindcss


text:
[Feature Request] Hide Parenthesis

I think it'd be useful to be able to optionally hide parenthesis (and the things inside them) in subtitles.

Generally they either show who is talking, or contain furigana (which doesn't display correctly). This not only makes it harder to read, but it also prevents some words from being scanned with yomichan, because the furigana parenthesis are placed in the middle of the word

You can create a regex in Yomichan to have it ignore things inside parentheses. Nonetheless I agree that this would be a good feature.

This has been added. The hotkey to hide parens is 'h', and the regex to hide them can be customized in the new 'Appearance' menu.

authors: c-ehrlich cademcniven soamsy


text:
During init:  Got response in unexpected format when fetching metadata. Please try again.

Describe the bug
After logging in and scrolling through the boards, I choose my board and get:
" Got response in unexpected format when fetching metadata. Please try again."
The same happens when I choose "None" for default board.
Please provide following details

JiraCLI Version:

(Version="1.5.1", GitCommit="0e0f82d52ef5a775d2cc662fbe38d9732b9b5c59", CommitDate="2024-01-20T10:48:06+00:00", GoVersion="go1.21.5", Compiler="gc", Platform="darwin/arm64")
2. Are you using Jira cloud or on-premise jira server?
This isn't available since I can't get past the init stage.  We're on Cloud
3. What operating system are you using? Also mention version.
MacOS Sonoma Version 14.5 (23F79)    4. What terminal are you using? Also mention version.
MacOS Terminal Version 2.14 (453)    ```
To Reproduce
Steps to reproduce the behavior:

run jira init --debug --server https://nope.atlassian.net --installation cloud --login me@nope.com
Select default project: EE
fail

Expected behavior
Take me to the board/issues.
Screenshots

Additional context

A little more information. This is what the API returns whether I choose a default board or None:
#curl --request GET   --url 'https://nope.atlassian.net/rest/api/2/issue/createmeta?projectKeys=EE&expand=projects.issuetypes.fields'   --user "`me@nope.com:$JIRA_API_TOKEN"   --header 'Accept: application/json'
{"expand":"projects","projects":[]}

Try passing the --project <project> --board <board> flags as well.
$ JIRA_API_TOKEN=$(echo -e "$JIRA_API_TOKEN") jira init \
    --installation cloud \
    --server <url> \
    --login <email> \
    --project <project> \
    --board <board> \
    --debug

I'm able to auth via an automated script successfully without and prompts for input using this method. In my case, I also had to echo the API key with escaping (-e) to get the Jira API token to be read properly because it runs in kubernetes.

repo: ankitpokhrel/jira-cli


text:
🛑 Zabbix is down

In 2bc9295, Zabbix (https://zabbix.zabbix-web24.duckdns.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zabbix is back up in efde9ac.


text:
🛑 Grafana is down

In a09a4df, Grafana (https://grafana.mikrotik24.duckdns.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Grafana is back up in 974de8b after 11 minutes.


text:
dynamic updates interrupt UI

development:
it looks like there's some kind of dynamic updates going on which causes the 'Resource ID/URL' input box to get overwritten, in the middle of typing...

yeah, if you click on the root node in the tree on the left, then type in a rest url like '/id-in/?fu=1' and hit 'send', then it does a form post, then a series of requests that cause the selection in the tree to change and the url in the form on the right to get overwritten.

looks like this is the issue, it's causing the selection to jump around and mess everything up:
    if (node != root) {
      if (node.wasExpanded) {
        node.setExpanded(true)
        //clickOnNode(null, node)
        expandNode(node)
      } else {
        //clickOnNode(null, node)
        node.setExpanded(false)
      }
    } else { // Display the root node expanded and show attributes etc
      expandNode(root)
      root.setSelected(true)
      //clickOnNode(null, root)
    }

Thanks for the detective works. Another change that went wrong today.

authors: Spongman ankraft


text:
群友推荐弄个公共频道和系统频道，区分消息

可以考虑🤔

authors: Specialleiliei anlingyi

repo: anlingyi/xechat-idea


text:
About cVAE on MNIST experiment

In the paper, it seems like a Conditional Variational Autoencoder (cVAE) was used for MNIST, but the code looks more like a standard VAE. Is the difference between VAE and cVAE not significant in this context?

Hi leekwoon,
thanks for the interest in our work.
In the paper, as well as in the code, we use a simple convolutional VAE (cVAE) on the MNIST data set.

authors: annahdo leekwoon

repo: annahdo/counterfactuals


text:
🛑 Pedtalant is down

In 71a6cf2, Pedtalant (https://педталант.рф) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pedtalant is back up in 707bd5d after 17 minutes.

repo: ano-pedproject/repo


text:
🛑 Pedacademy is down

In 230bb46, Pedacademy (https://педакадемия.рф) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pedacademy is back up in 00296f1 after 45 minutes.


text:
main.go not found

Hi. In the step 4 from the manual method I can't seem to make it work. The readme says

cd ..
EXPORT PORT=8080
EXPORT STATIC_DIR=/web/build
EXPORT DB_FILE=keepclone.db
EXPORT COOKIE_STORE_KEY=$(uuidgen | base64)
EXPORT SESSION_STORE_KEY=$(uuidgen | base64)
go run server/main.go

But when I type go run server/main.go, it says that there's no main.go in the server folder. I've tested it on an Arch Linux machine and even on Windows 10, no luck. Also tried to build and install multiple times, and still no main.go.
Could it be some dependency, even though it builds without any error besides out of date packages?

@patoniilista sorry for the inconvenience. It should be go run ./cmd/server/main.go. Now, this has been updated in the README.md. Thanks for reporting.


text:
Fix password rules

Update password rules.

This reminds me that we need validations on the backed too, created an issue here https://github.com/anshumanv/vuemanga-server/issues/1
Thanks Dinesh 🤗 ✨

authors: DipanshKhandelwal anshumanv


text:
Add flannel vars to enable vagrant and amazon environments

Rebased #92

In order to support environments where the first interface is not necessarily the outbound interface, add a flannel_interface to be specified per host (or globally) what interface should be used for flannel operations. If unset, the original behavior will work.
In order to support environments where the public IP is not "known" to the host, but is the only way the node can be accessed, add a flannel_public_ip variable that defines the IP used to talk to the node in question. This is useful for the Amazon case where nodes may not be aware of their public IP, but need to advertise how to get to them.

Thanks for the comment update.  I didn't know where you guys wanted it.  They are really inventory-level variables, but documenting them is good.


text:
v0.4 not available from PyPI

According to the releases page v0.4 has been published last week, but it was never uploaded to PyPI. Is there some specific reason for that?

There were some bugs in the release script, preventing the 0.4 upload to pypi, @ssbarnea has fixed that and released 0.5 on pypi (in order to get compatibility with molecule 3.2), so I'm closing this bug.

authors: apatard sio

repo: ansible-community/molecule-vagrant


text:
redesign variable interface

Proposal: redesign vars
Author: Brian Coca <@bcoca> IRC: bcoca
Date: 2018/31/31

Status: New
Proposal type: core design
Targeted Release: future release
Estimated time to implement: weeks

Motivation
Simplify variables for both users and developers
Problems

Currently 'variable precedence' is very confusing and error prone.
We need more flexibility and predictable interactions
Unclear scopes makes it hard to know if a variable is available or not

Solution proposal
Redesign the variable system

Scopes

Global: currently ‘stats’ and extra vars
Subsections? Should be _ prefixed? Saved namespaces?:
* cli:  CLI options
* config: config settings
* extra: extra vars?
*ansible: built ins? I.e playbook_python, version, etc

Play: (playbook=>play=>block/role=>task subscopes): mainly ‘vars:’
Subsections:
* ansible: playbook_dir, play_hosts, roles, role_name, etc

Host: mainly from inventory and vars plugins
Subsections:
* facts: module facts
* local: module facts labeled from ‘local’
*ansible: magic built in? Inventory_hostname, inventory_dir...

Defaults? Special scope definable at any of others but lowest priority
Accessible naked and/or via specific dicts:
 (Global[varname], Play[varname], Host[varname]), Defaults[varname]

Precedence is simple:
*  Host > Play > Global, and in each, internally based on ‘last defined’
* vars: sub-scope is to ‘current object and contained objects’ (current already mostly works this way)

Make role vars private by default:
Add facility for roles to ‘import vars to global or play or 1st container’?

Remove set_fact in favor of:
 - set: varname= value= scope= update=overwrite|merge|aggregate

Deprecate/remove vars_files and include_vars. In favor of varname={{lookup(‘file’...}}?

Deprecate/remove vars_prompt and ‘pause prompt hack’.  prompt action/lookup?

Add nonlazy facility? Is ‘set’ enough?

Testing (optional)
much simpler than current as precedence and scopes are clear and simple.
Documentation (optional)
Also much simpler than current, hopefully the new system is much more intuitive

This is such an amazing proposal.
Variable scoping is IMHO the weakest point of Ansible. I hate the fact that I can't set a local variable inside a role (E.g. using register on a task or using set_fact module) and I agree that variable precedence rules are error prone and confusing for everybody.

Make role vars private by default:
Add facility for roles to ‘import vars to global or play or 1st container’?

For this, I would prefer having an option to return a variable from a role:
For example:
- include_role:
    name: myrole
  vars:
    myrole_variable1: var1
  register: myrole_out

- set: varname=play_var value=myrole_out.private_var1

Relates to ansible/ansible#6189.

authors: barlik bcoca eugene-bright

repo: ansible/proposals


text:
Use tox during CI runs

While updating old release branches, we often see issues in CI runs due to conflicts between package versions in the release branches and latest development branches. As a long-term solution, we can configure our CIs to use tox which will run each job within separate python virtual environments. This can be done in all pyfluent repositories.

@mkundu1
Do we need this now ?  as we are using poetry which creates virtual environment as per the requirement. Poetry supports tox. We can use tox if required otherwise we can close this.

repo: ansys/pyfluent


text:
Test enhancement

Changed log

Add php-7.4 test on Travis CI build.
To be compatible with future PHPUnit version, using the PHPUnit\Framework\TestCase namespace.

Thanks!

repo: antanas-arvasevicius/enumerable-type


text:
Add option to "Export as SQL" and "Copy as SQL"

Describe the solution you'd like:

In the table view add right click option to "copy as sql" the selected rows.
In the table view add "export to sql" in the export dropdown (feels more intuitive to be there)

PS: Awesome tool :+1:

Hello @DS-Wander
these are definitely features to implement! I add it to the roadmap.
PS: thanks for appreciation!

Implemented in f3b5de38c4abfd2c1d738e179fc22e6c8b6f9080 and d3da15aa1377dcba73927047563f1d0c2d1284ca the table content exportation and row (single) copy as SQL INSERT.
I will also implement selected rows copy soon.

Done in 9551afbd2d7e525c81f28e98e788b92609ce9de4

Amazing! Do you have a release schedule?
When can I expect the amazing new features (in .deb)? 😍

I think tomorrow or the day after tomorrow.
Note that the .deb version does not have automatic updates and is generated mainly to obtain the Snap Store version.

Yes, I noticed that it was not updating, but I prefer the deb because of the faster startup time.

repo: antares-sql/antares


text:
Move dev deps into devDependencies

https://github.com/anteriovieira/vue-raven/commit/2f58f2203256eecca1fa047e0f259ba1828d709f introduced dev dependencies, but added them to the dependencies list, thus installing them for all projects using this library.

Thanks @sisou :smile:

authors: anteriovieira sisou

repo: anteriovieira/vue-raven


text:
WIP: Fix useMediaQuery to support Safari

I had problems using useMediaQuery on an iPhone 7. With the changes I could get it working.

Thanks! Please un-draft it when you finish.

Hi @dpschen , thank you very much for your effort in solving this problem.
We are closing this pull request, it was solved in #164

Close in favor of #164. Thanks

Much better implemention! @anteriovieira  :)
Sry I couldn't finish this earlier @antfu . There was a lot on my place recently

authors: anteriovieira antfu dpschen

repo: antfu/vueuse


text:
Note X text in pdf

Hey,
I see a lot of Note  fields across my pdf
for example:

What does this mean? There is no Note X in the original sbom json file.
I ran:
sbom2doc --debug --include-license -i sbom.json -f pdf -o sbom.pdf
output with debug:

The note field is because the column width doesn't allow long text. Most download locations have long URLs which overflow the width of the column in the table which is why they are replaced with a note.
Not pretty I know and not perfect as you can see. If anyone has a better idea, please share!


text:
Remove non-shortest tests to clarify shortest functionality

Fix: #122
Delete all the tests which are not in the "shortest" scope
Non-shortest test files:
Tests in lib, app, and other directories deal with broader functionalities (dashboard, config, etc.) and don’t directly belong to packages/shortest.

 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.Varun Khalate seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi there, please do not delete the shortest tests. They are located in app/tests/ directory.

authors: CLAassistant khalatevarun m2rads

repo: anti-work/shortest


text:
Push to tabbar controller

Hello Bryan antiguab,
whenever I load tabbar without push its work fine but whenever I Push to this tabbar controller this issue happned
I checked and apply all properties but not working
can you please check?
Thank you

looking into this!

@HarshPandya136  I noticed this as well when setting the window root view controller to the view controller containing the tab bar. This is an interim solution that works in the meantime, add this right after adding the tab bar to your view:
NSLayoutConstraint.activate([             tabBar.view.bottomAnchor.constraint(equalTo: self.view.bottomAnchor),             tabBar.view.trailingAnchor.constraint(equalTo: self.view.trailingAnchor),             tabBar.view.leadingAnchor.constraint(equalTo: self.view.leadingAnchor)         ])
@antiguab There are a few Unable to simultaneously satisfy constraints errors logged to the console in the demo project. Could be related. I tried overriding safeAreaInsetsDidChange in BATabBar.swift and performing the same action as in layoutSubviews since the safeAreaInsets can sometimes be 0 when accessing them immediately but that didn't do the trick.

@lucaventura which simulator did you use? I'm not seeing those errors in the demo project.

also swift version and ios version you're trying to support

happy to look into this more if you guys can provide some sample code that causes the above.

authors: HarshPandya136 antiguab lucaventura

repo: antiguab/BATabBarController


text:
Report: Monitoring

[ ] Reactive monitoring
[x] Whitebox & Blackbox
[x] Passive vs Active monitoring
[x] Application monitoring
[ ] Monitor from the User’s Perspective
[ ] Visuals (Gauge, Histogram or Counter)

[ ] Reactive monitoring
[x] Whitebox & Blackbox
[x] Passive vs Active monitoring
[x] Application monitoring
[ ] Monitor from the User’s Perspective
[ ] Visuals (Gauge, Histogram or Counter)


text:
Package not compatible with laravel 11

This package is not working with laravel 11 it has compatibility issues

Using
"pragmarx/version":"dev-master"
in your composer.json file will fetch and install the latest master branch of the specified repository into your project.
This is necessary because the author has not tagged the latest version.

@antonioribeiro, is it possible to tag a point release so that it can be installed in the usual way via composer, without specifying dev-master?

I have a laravel package called stationpackage which requires"pragmarx/version":"dev-master" in composer.json. This package is fine when I do composer upgrade.  However,  when I try to include this package from another application, it complains about minimum-stability, even if I try
"require": {
    "stationmd/stationpackage": "^5.1@dev",
}

authors: PermittedLeader deepak4tpots mankowitz shubhamchugh

repo: antonioribeiro/version


text:
undefined: ENOENT, open ...

This sometimes happens when running gulp. Specifically with the exported CSS. Gulp tries to open the minified output but it cant find it.

This could be happening as result of running too many tasks at the same time.

repo: antonsamper/gulp-boilerplate


text:
设置为横屏时，折线图手势方向任然是左右才能触发 tooltip，触发方向不对

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link
https://f2.antv.antgroup.com/examples/creative/case/#landscape
Steps to reproduce
官网示例中的柱状图即可看到问题所在，只有左右拖拽才能顺利展示tooltip

Environment
Info

f2
5.5.1

System
-

Browser
-

我发现scrollBar也是，横屏状态下也只能左右滑动


text:
一个节点的label样式咋自定义呢 比如G6 G是蓝色6是红色

问题描述
一个节点的label样式咋自定义呢 比如G6 G是蓝色6是红色
重现链接
一个节点的label样式咋自定义呢 比如G6 G是蓝色6是红色
重现步骤
一个节点的label样式咋自定义呢 比如G6 G是蓝色6是红色
预期行为
一个节点的label样式咋自定义呢 比如G6 G是蓝色6是红色
平台

操作系统: [macOS, Windows, Linux, React Native ...]
网页浏览器: [Google Chrome, Safari, Firefox]
G6 版本: [4.5.1 ... ]

屏幕截图或视频（可选）
No response
补充说明（可选）
No response

需要自定义节点，加两个文本

尊敬的用户，您好。我们很重视您的 issue，但由于长时间没有答复，我们暂时认为这个问题已经解决。如果还有任何问题，请随时根据 issue 模版再开启新的 issue。


text:
使用 S2Event.DATA_CELL_CLICK  数值单元格点击 交互的问题

🖋 Description

如图红框所示：
1.代码中使用data-cell:click事件。
2.单击表格中 ‘7789’ 单元格，第一次点击在偏左侧空白区域，第二次点击在数值‘7789’上，右侧控制台分别出现两次不同的打印。只有第二次点击在数值上，控制台target.attrs中才有text，font等信息，否则取不到值。
或者说，有没有另外的方法，能够当我单击数值单元格的时候，获取单元格中数值等信息。
😊 Expected Behavior
点击在单元格内，无论单击在空白区域或者数值区域，都能拿到target.attrs.text
😅 Current Behavior
使用data-cell:click，只有单击在数值单元格中的数值上才能拿到单元格中的值

你说的这种情况确实存在哈，所以我们更推荐使用 getCell 去获取单元格信息，这样应该可以获取正确的信息。
你看一下是否满足你的需求。

内部实现中, 单元格和 单元格内的文字 是两个不同的图层, 所以同一个单元格内不同的光标位置, 拿到的 target 不一样, 请参考楼上写法

OK!Good job.Thanks.


text:
sqs.us-east-1.amazonaws.com

This domain is required to make Kryptonite authentication work. Since not everyone uses Kryptonite as an SSH private keyholder, this domain should be considered optional. If you block this doamin, the computer-to-phone communication will not function and therefore cause a timeout.

@kyle95wm Thanks! Merging...

repo: anudeepND/whitelist


text:
#544 Add Accordion section in index.html

Added a Frequently Asked Questions section in index.html.
Ensured that the content aligns with our project guidelines.

@Sancharisingh Please see the conflicts . Resolve the conflicts . Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!

authors: PriyaGhosal Sancharisingh


text:
Could not initialize WebGPU scene.  Error: WebGPU not supported

Hi Friend, your url https://anvaka.github.io/vector-space-adventure/ not working :(
Could not initialize WebGPU scene.
Error: WebGPU not supported
Regards !

Make sure you are using a browser and device that supports webgpu. E.g. latest version of chrome typically has the support.

Make sure you are using a browser and device that supports webgpu. E.g. latest version of chrome typically has the support.

Oh yeahh Chrome Working.
Just as a suggestion, you could include a browser warning message.
Your work is incredible.
✨

authors: anvaka loorlab

repo: anvaka/vector-space-adventure


text:
Remove cargo-install-all.sh hack for solana-genesis

just found this while working on #2867

🫶

:heart:
let's see this aged bug (https://github.com/solana-labs/solana/issues/5826) still reproduces before landing #2867. :)

seems both windows and linux aren't experiencing the original build stuck issue. (macos tests are still running though)

repo: anza-xyz/agave


text:
Added most more code for Profile Search interface adpaters, the profi…

…le search view, and profile search minor changes to App files, and data files

Conflicts looking good! good to go and merge!!!

repo: anzaruoft/MusicIntelliJence


text:
🛑 Backup Site is down

In 67e5097, Backup Site (https://tunnel.aosp.app) was down:

HTTP code: 530
Response time: 96 ms

Resolved: Backup Site is back up in 9051285 after 1 hour, 1 minute.

repo: aospapp/upptime


text:
Add edible_item power type

This PR adds an edible_item power type similar to Apugli's edible_item power type, where items that fulfill the specified item condition will be made edible

For all those wondering, I was made aware of this, and I'm in favour when it comes to bringing this to Apoli.

Reminders for me now that this is merged.

Remove all Edible Item code from Apugli, now that it's handled in Apoli, we can use that.
Identifier Alias apugli:edible_item to apoli:edible_item

authors: MerchantPug eggohito


text:
Show/Hide respective tabs according to the filters onchange

Hi,
I am using superset in linux. Can anyone suggest how to show/hide the tabs with respect to filters onchange?
Here i have country, state and city. So when i select any  state from dropdown it should display the employed and unemployed tabs alone.

Also please let me know the path where i can write code for it.

The codebase on this repo has been moved to the main Apache Superset repo, and consequently the repo is in the process of being archived. See the Superset Improvement Proposal for details: https://github.com/apache/superset/issues/13013 . While all currently open issues and PRs will be closed, we encourage you to reopen this issue on the main repo if it is still relevant.

authors: monikabala villebro

repo: apache-superset/superset-ui


text:
Failed to create compaction services

I am getting this error while trying to run external compactions using Uno.

2021-10-08T14:30:10,916 [compactions.CompactionManager] ERROR: Failed to reconfigure compaction services
java.lang.RuntimeException: Failed to create or update compaction service cs1 with planner:org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner options:{executors=[{"name":"small","type":"external","maxSize":"16M","queue":"MikeQ"},{"name":"large","type":"external","queue":"MikeQ"}]}
        at org.apache.accumulo.tserver.compactions.CompactionManager.lambda$checkForConfigChanges$1(CompactionManager.java:394) ~[accumulo-tserver-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at java.util.HashMap.forEach(HashMap.java:1336) ~[?:?]
        at org.apache.accumulo.tserver.compactions.CompactionManager.checkForConfigChanges(CompactionManager.java:375) ~[accumulo-tserver-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at org.apache.accumulo.tserver.compactions.CompactionManager.mainLoop(CompactionManager.java:278) ~[accumulo-tserver-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at org.apache.accumulo.tserver.compactions.CompactionManager.lambda$start$3(CompactionManager.java:420) ~[accumulo-tserver-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.IllegalArgumentException
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:130) ~[guava-30.1.1-jre.jar:?]
        at org.apache.accumulo.tserver.compactions.CompactionService$CpInitParams$1.getExternalExecutor(CompactionService.java:135) ~[accumulo-tserver-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner.init(DefaultCompactionPlanner.java:183) ~[accumulo-core-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at org.apache.accumulo.tserver.compactions.CompactionService.(CompactionService.java:159) ~[accumulo-tserver-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        at org.apache.accumulo.tserver.compactions.CompactionManager.lambda$checkForConfigChanges$1(CompactionManager.java:384) ~[accumulo-tserver-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
        ... 5 more

I was using CI from accumulo-testing with these properties modified:

test.ci.common.accumulo.server.props=\
tserver.compaction.major.service.cs1.planner=org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner \
tserver.compaction.major.service.cs1.planner.opts.executors=\
[{"name":"small","type":"external","maxSize":"16M","queue":"MikeQ"},\
{"name":"large","type":"external","queue":"MikeQ"}]

# Accumulo table properties to set when creating table
test.ci.common.accumulo.table.props=\
table.compaction.dispatcher=org.apache.accumulo.core.spi.compaction.SimpleCompactionDispatcher \
table.compaction.dispatcher.opts.service=cs1

This was working for me previously so it is probably just something I did with the configuration.

The compaction service and its configuration are used in the tablet server. I'm not sure that the inability to reconfigure it and the use of external compaction processes are related. Has anyone tried to reconfigure it w/out using external compactions?

Has anyone tried to reconfigure it w/out using external compactions?

Just double checked and it seems to be working fine.

Oh, interesting. If it does cause problems (which so far it looks like it does weird things) then we should definitely check and error when configured that way.

I can look into this and see what the behavior is and if any additional validation of config is needed.

authors: DomGarguilo dlmarion keith-turner milleruntime

repo: apache/accumulo


text:
Add missing MANIFEST.MF content for Artemis artifacts.

Issue: https://issues.apache.org/jira/browse/ARTEMIS-4435
Add missing MANIFEST.MF content for Artemis artifacts.
This is the upstream change to address issue found in https://issues.redhat.com/browse/JBEAP-25217.
I can create an upstream Apache Artemis issue if needed.

Please create a ActiveMQ Artemis Jira for this and reference it in the commit message. Referencing issues in 3rd party issue trackers is not sufficient. Thanks!

Please create a ActiveMQ Artemis Jira for this and reference it in the commit message. Referencing issues in 3rd party issue trackers is not sufficient. Thanks!

I have opened issue https://issues.apache.org/jira/browse/ARTEMIS-4435

repo: apache/activemq-artemis


text:
Fix issue 1000: Indexes created on WHERE (#1133)

This fixes the issue with applying indexes on the WHERE clause.
It does this by modifying the volatility flag for 3 functions -
_agtype_build_vertex
_agtype_build_edge
_label_name

All three were verified to meet the specifications for IMMUTABLE.

Looks good to me.

authors: dehowef jrgemignani

repo: apache/age


text:
[AMBARI-24195] Enrich services.json with cluster-env properties when passing data to stack advisor

What changes were proposed in this pull request?
In order to have all required data in the stack advisor we need to add cluster-env properties into services.json. For example the security_enabled flag was missing in case STORM was already deployed and we modified its configuration.
How was this patch tested?
Latest test run in ambari-server:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46:29 min
[INFO] Finished at: 2018-06-26T23:17:23+02:00
[INFO] Final Memory: 171M/803M
[INFO] ------------------------------------------------------------------------

In addition to unit testing I disabled/enabled Ranger plugin in Storm (in a secured cluster) and checked if nimbus.authorizer set to the appropriate value (and got removed when I disabled Kerberos)

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2888/
Test FAILed.
Test FAILured.

Abandoning this change as this got solved by following another path

repo: apache/ambari


text:
AMBARI-24319. Reverting previous changes until we did not find out what's happening with BP installations

Reverting #1833

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3324/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3332/
Test PASSed.


text:
AMBARI-25210. ONEFS installation via blueprint fails (amagyar)

What changes were proposed in this pull request?
Cluster creation fails when installing ONEFS via blueprint.
Logical Request: Provision Cluster 'cc' FAILED: Unable to update configuration property 'fs.defaultFS' with topology information. Component 'NAMENODE' is mapped to an invalid number of host groups '0'.

How was this patch tested?
tested with the following blueprint
{
  "host_groups" : [
    {
      "name" : "host_group_1",
      "components" : [
        { "name" : "ZOOKEEPER_SERVER" },
        { "name" : "ONEFS_CLIENT" },
        { "name" : "ZOOKEEPER_CLIENT" }
      ],
      "cardinality" : "1"
    }
  ],
  "Blueprints" : {
    "stack_name" : "HDP",
    "stack_version" : "3.0"
  }
}

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/5038/
Test PASSed.

authors: asfgit zeroflag


text:
test: fix wolf-rbac test case

Signed-off-by: Jintao Zhang zhangjintao9020@gmail.com

Type of change:

[x] Bugfix
[ ] New feature provided
[ ] Improve performance
[ ] Backport patches

What this PR does / why we need it:

Pre-submission checklist:

[ ] Did you explain what problem does this PR solve? Or what new features have been added?
[ ] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?
[ ] Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

Codecov Report

Merging #1054 (9b637a9) into master (df7a724) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1054   +/-   ##
=======================================
  Coverage   30.97%   30.97%
=======================================
  Files          75       75
  Lines        8792     8792
=======================================
  Hits         2723     2723
  Misses       5775     5775
  Partials      294      294

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 df7a724...9b637a9. Read the comment docs.

repo: apache/apisix-ingress-controller


text:
request help: apisix-java-plugin-runner 构建之后没找到新增的代码 部署也不生效

Issue description
apisix-java-plugin-runner 构建之后没找到新增的代码 部署也不生效
Environment

your apisix-java-plugin-runner version

follow https://github.com/apache/apisix-java-plugin-runner/blob/main/docs/en/latest/deployment-guide.md ?

好的 我看下 按照网上的教程是直接写在runner-plugin这个模块中的

我现在试下这种方式

repo: apache/apisix-java-plugin-runner


text:
fix(go/adbc/sqldriver): Fix nil pointer panics for query parameters

Thought I would contribute some fixes I've been using locally for the issues described in #1341
I have no previous experience with this repository or with the Arrow memory model so I would say it's likely I've gotten something wrong. Feel free to ask me to improve on my contributions or merely take them as inspiration for some other fix.
Resolves #1341

@williamleven Looks like your test isn't working currently

Your output isn't matching what you're expecting

@williamleven Looks like your test isn't working currently
Your output isn't matching what you're expecting

Thanks for having a look so quickly.
Yes, apparently had som debug printing left, should have been fixed now 😄

authors: williamleven zeroshade

repo: apache/arrow-adbc


text:
UNION ALL sets the wrong column alias if union arm has aggregate expression

Describe the bug
UNION ALL sets the wrong column alias if first union arm has aggregate expression, see query below.
To Reproduce
#[tokio::test]
async fn union_with_aggr_first() -> Result<()> {
    let ctx = create_union_context()?;
    let sql = "select count(1) x from (select 1 a) group by a union all select 1 b;";
    let df = ctx.sql(sql).await.unwrap().repartition(Partitioning::RoundRobinBatch(1)).unwrap();
    let actual = df.collect().await.unwrap();

    let expected = vec![
        "+---+",
        "| x |",
        "+---+",
        "| 1 |",
        "| 1 |",
        "+---+",
    ];
    assert_batches_eq!(expected, &actual);
    Ok(())
}

Without group by the query works fine
select count(1) x from (select 1 a)  a union all select 1 b;
Expected behavior
The test should pass
Additional context
Related to #5695 #5747

Working on it

@alamb @jackwener may I ask your help?  I have found why projection is not correct. push_down_projection never called for query like that
select 1 a group by a union all select 2 b

However its called  for
select 1 a group by a union select 2 b

The reason for that  UNION has another logical plan
UNION
| logical_plan  | Aggregate: groupBy=[[a]], aggr=[[]]                                                                                |
|               |   Union                                                                                |
|               |     Projection: Int64(1) AS a                                                                                |
|               |       Aggregate: groupBy=[[Int64(1)]], aggr=[[]]                                                                     |
|               |         EmptyRelation                                                                                |
|               |     Projection: Int64(2) AS a                                                                                |
|               |       EmptyRelation

UNION ALL
| logical_plan  | Union                                                                                |
|               |   Projection: Int64(1) AS a                                                                                |
|               |     Aggregate: groupBy=[[Int64(1)]], aggr=[[]]                                                               |
|               |       EmptyRelation                                                                                |
|               |   Projection: Int64(2) AS b                                                                                |
|               |     EmptyRelation

UNION have a weird top Aggregate node, which looks strange for me. as Aggregation happens twice in that case, but because of that UNION push_down_projection works.
I'm trying to understand the real rootcause if it in bad plan generated in the first place or bug in push_down_projection

the effect of that is another bug with simple union all table creation(without aggr)
❯ create table t as select 1 a union all select 1 b;
Error during planning: Mismatch between schema and batches

Union is Union All + Dedup, so in most DB, Union is combination of Agg + Union

Union is Union All + Dedup, so in most DB, Union is combination of Agg + Union

Thanks, I was expecting DISTINCT in plan, not a aggregation. But DISTINCT may be can considered as partial case of aggregation

Thanks, I was expecting DISTINCT in plan, not a aggregation. But DISTINCT may be can considered as partial case of aggregation

I agree that Distinct would be clearer in the LogicalPlan (though it gets rewritten to Aggregate pretty early on as I recall). Maybe it would be clearer to remove LogicalPlan::Distinct entirely and only use LogicalPlan::Aggregate 🤔

I agree that Distinct would be clearer in the LogicalPlan (though it gets rewritten to Aggregate pretty early on as I recall). Maybe it would be clearer to remove LogicalPlan::Distinct entirely and only use LogicalPlan::Aggregate 🤔

Yes, it's replaced in rule SingleDistinctToGroupBy

authors: alamb comphead jackwener

repo: apache/arrow-datafusion


text:
Planner: normalize_ident only when enable_ident_normalization is enabled

Which issue does this PR close?

Closes #5626
Rationale for this change
Some part of the codebase use sqlToRel's options for enable_ident_normalization to decide whether to normalize identifiers or not, but it isn't enforced consistently throughout the codebase.

What changes are included in this PR?
Make planner:normalize_ident public.
All methods implementing SqlToRel use enable_ident_normalization while normalizing.

Are these changes tested?

[x] Add tests

Are there any user-facing changes?
No.

While working on this PR, I also noticed that there are places not related to the planner which also normalize names such as column. I wonder if it's valuable to also make these method configurable to enable ident normalization?
https://github.com/apache/arrow-datafusion/blob/c09edade14d456f1d2161c5ebb8c1e51e592a8ef/datafusion/common/src/column.rs#L73

While working on this PR, I also noticed that there are places not related to the planner which also normalize names such as column. I wonder if it's valuable to also make these method configurable to enable ident normalization?
https://github.com/apache/arrow-datafusion/blob/c09edade14d456f1d2161c5ebb8c1e51e592a8ef/datafusion/common/src/column.rs#L73

I had some thoughts about this previously (not this specific function, but still applicable): https://github.com/apache/arrow-datafusion/pull/5183#discussion_r1096603578
Generally I'm not sure how exactly to be able to toggle normalization at that level (the common crate) without API changes to dependent functions, like from_qualified_name(...) in Column as you've highlighted

@ayushdg  please let me know if you would to make changes to this PR or if we should merge it as is

Thanks @alamb let me know if anything else is needed, or if the pr is good to merge as is.

authors: Jefffrey alamb ayushdg


text:
Move common code to utils

Which issue does this PR close?

Closes #.
Rationale for this change
In the discussion we aggreed that moving common code used in different rules to a common location

will increase reusability
will improve (make clear) dependency relation between files
This PR moves common code to under utils.rs file.
Also in this PR I revisited visibilities of functions and structs in the optimizer rules. Visibilities of the local structs decreased.

What changes are included in this PR?

Are these changes tested?
Existing tests should work

Are there any user-facing changes?

Thanks @mustafasrepo and @metesynnada

authors: alamb mustafasrepo


text:
RecordBatch From StructArray Silently Discards Nulls

Describe the bug

To Reproduce

#[test]
fn test_from_struct() {
    let s = StructArray::from(ArrayData::new_null(
        &DataType::Struct(vec![Field::new("foo", DataType::Int32, false)]),
        2,
    ));

    let batch = RecordBatch::from(&s);
    assert_eq!(batch.column(0).null_count(), 2);
}

Expected behavior

The above should fail
Additional context

Hi, do we expect a failure something like =>  left = 0 and right = 2 assertion failed: (left == right) so should we expect an empty batch from RecordBatch::from? Could you please elaborate more so that maybe I can take it? Thanks for your time and answer in advance.

There is already a PR to fix this, I just accidentally linked the wrong issue :sweat_smile:

There is already a PR to fix this, I just accidentally linked the wrong issue sweat_smile

Ah okay, thank you for your swift response :smiley:

label_issue.py automatically added labels {'parquet'} from #3953

authors: SinanGncgl tustvold

repo: apache/arrow-rs


text:
new_null_array generates an invalid union array

Describe the bug
new_null_array generates a union array that fails validation by ArrayData::validate_full.
To Reproduce
Modify test_null_union as follows:
#[test]
fn test_null_union() {
    for mode in [UnionMode::Sparse, UnionMode::Dense] {
        let data_type = DataType::Union(
            UnionFields::new(
                vec![2, 1],
                vec![
                    Field::new("foo", DataType::Int32, true),
                    Field::new("bar", DataType::Int64, true),
                ],
            ),
            mode,
        );
        let array = new_null_array(&data_type, 4);

        let array = as_union_array(array.as_ref());
        assert_eq!(array.len(), 4);
        assert_eq!(array.null_count(), 0);

        for i in 0..4 {
            let a = array.value(i);
            assert_eq!(a.len(), 1);
            assert_eq!(a.null_count(), 1);
            assert!(a.is_null(0))
        }

        array.to_data().validate_full().unwrap(); // <---- new
    }
}

This will fail with the following output: thread 'array::tests::test_null_union' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidArgumentError("Sparse union child array #1 has length smaller than expected for union array (0 < 4)")', arrow-array\src\array\mod.rs:852:45
Expected behavior
Producing a valid array
Additional context

label_issue.py automatically added labels {'arrow'} from #4601

authors: kawadakk tustvold


text:
Error The data type type List .. has no natural order when using arrow::compute::lexsort_to_indices with list and more than one column

Describe the bug
lexsort_to_indices a ListArray itself works fine
However, lexsort_to_indices with a ListArray and another array results in an error:
To Reproduce
Here is a reproducer:

    let string_array: ArrayRef = Arc::new(StringArray::from(vec!["a", "b", "c", "d", "e"]));
    let data = vec![
        Some(vec![Some(0), Some(1), Some(2)]),
        None,
        None,
        Some(vec![Some(3), None, Some(5)]),
        Some(vec![Some(6), Some(7)]),
    ];
    let list_array: ArrayRef = Arc::new(ListArray::from_iter_primitive::<Int32Type, _, _>(data));

    // lex_sort works fine on ListArray
    let sort_cols = vec![
        SortColumn {
            values: list_array.clone(),
            options: None,
        },
    ];
    arrow::compute::lexsort_to_indices(&sort_cols, None).unwrap();

    // but not on list array with string array
    let sort_cols = vec![
        SortColumn {
            values: list_array,
            options: None,
        },
        SortColumn {
            values: string_array,
            options: None,
        },
    ];
    // XXXXX This fails with
    // called `Result::unwrap()` on an `Err` value: InvalidArgumentError("The data type type List(Field { name: \"item\", data_type: Int32, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }) has no natural order")
    arrow::compute::lexsort_to_indices(&sort_cols, None).unwrap();

The test should pass and not error
Additional context
Reported by @JasonLi-cn on https://github.com/apache/arrow-datafusion/pull/9410

label_issue.py automatically added labels {'arrow'} from #5455

authors: alamb tustvold