text:
feat(deta): pass the on track message for instrumentations

Summary
feat(deta): pass the on track message for instrumentations
Also refactor the types and export, so we can use these types in Amplitude side potentially.
Checklist

[ ] Does your PR title have the correct title format?
Does your PR have a breaking change?:

@Mercy811 , thank you for reviewing! Sorry, I just pushed another quick fix for the document.body issue. Could you please take another look at this one? Thanks!

repo: amplitude/Amplitude-TypeScript


text:
Replace text node in SVG logo with path

The current logo doesn't display correctly when the Montserrat font is not present in the system:

This PR fixes that by replacing the text node with a path in the SVG.

Makes sense. Thanks!

source: gharchive/pull-request

authors: fstanis sebastianbenz

repo: ampproject/amp-by-example

license_type: permissive

license_source: bigquery


text:
Make cross-platform portable

This pull request addresses two bugs exclusive to Windows:

Breakage during installation caused by oniguruma v7.2.0 addressed by the "Lock first-mate subdependency to v7.3.0" commit
Path-related errors addressed by the "Update path segment separators to be cross-platform" commit

Details are provided in their respective commit descriptions. Tested on Windows 10 and Debian 9.

@googlebot I signed it!

Hi @sebastianbenz - just a ping on whether you want to accept or reject this PR so we can close it out. Thanks!

Let's close this for now, as we're going to deprecate the old template build process anyway. The should make sure though that the new version works cross platform.

authors: 4mfie alankent ghost sebastianbenz

repo: ampproject/ampstart

license_source: github-api


text:
📅 Weekly meeting (2020-06-29)

This is wg-outreach's regular quad-weekly meeting with varying agenda, usually presented by wg-outreach members. Mostly meant for wg-outreach regulars, but open for anyone who'd like to contribute to AMP outreach.
Meeting date/time (UTC)
16:30 (9:30am PT, 12:30pm EST)
Instructions for joining the meeting
TBA
Notetaker
volunteers solicited!
Agenda
Note: Add a comment on this issue to propose items for the agenda.

@CrystalOnScript , do you still have the power to create a Zoom meeting for this?
/cc @Joelsz

Would like to discuss AMP Shadow vs AMP Bento approaches.
Pros and cons as well as their future proof vision.

This meeting is specifically about AMP outreach - not about AMP in general! It's about our efforts to communicate to the world, and from the world, about AMP.
If you want to talk about Shadow AMP or Bento (both excellent topics) I think the Slack channel is your best bet.

Hmm interesting.. I guess I thought this is developer outreach.
Is there any specific WG I should reference in Slack for this?

Need to discuss feedbacks and observations from Indian AMP Ecosystem preview -

Overall outreach efforts by us ( mobile-web.dev)
Good feedbacks from sessions
Improvement feedbacks
Scope of introducing GDE program for AMP may improve developer interest
Setting more active Swags distributions in India will excite the audience
Mainstreaming AMP events like others like Google for mobile conferences, extended conferences, and others
Giving code and learning challenges ( eg 30 days of code )

Join Zoom Meeting
https://zoom.us/j/93819200579?pwd=dldWTUpwZlBqeitGcVhIS0U4NGlWZz09
Meeting ID: 938 1920 0579
Password: 6yzDB9

source: gharchive/issue

authors: Joelsz amanintech morsssss sebastianbenz

repo: ampproject/wg-outreach


text:
problem with setup.py

Discussed in https://github.com/amundsen-io/amundsen/discussions/2186

Originally posted by pranitM23pgai August 24, 2023
while deploying amundsen on my local machine i ran "$ python3 setup.py install". Its getting stuck sort of hang on the below step and not moving beyond.
Installed /mnt/c/users/pranit.malik_karkino/documents/Gitlab_repos/amundsen/amundsen-poc/databuilder/venv/lib/python3.10/site-packages/amundsen_databuilder-7.4.4-py3.10.egg
Processing dependencies for amundsen-databuilder==7.4.4
Searching for pandas
Reading https://pypi.org/simple/pandas/
/mnt/c/users/pranit.malik_karkino/documents/Gitlab_repos/amundsen/amundsen-poc/databuilder/venv/lib/python3.10/site-packages/pkg_resources/init.py:116: PkgResourcesDeprecationWarning:  is an invalid version and will not be supported in a future release
warnings.warn(

after running  python3 example/scripts/sample_data_loader.py
it sows the error:
from databuilder.extractor.neo4j_extractor import Neo4jExtractor
ModuleNotFoundError: No module named 'databuilder.extractor'

Same issue I think:
Stored in directory: /home/cd/.cache/pip/wheels/ec/03/6f/d2e0162d94c0d451556fa43dd4d5531457245c34a36b41ef4a
  Building wheel for pandas (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pandas (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [2454 lines of output]
      <string>:19: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-311
      creating build/lib.linux-x86_64-cpython-311/pandas

It seems like there is a mistmatch between packages and dependencies. Should this be also added in the troubleshoot page? https://www.amundsen.io/amundsen/windows_troubleshooting/

repo: amundsen-io/amundsen


text:
🚀 [Feature Request] - Attached Person Photo with  Who Can Add Comments in Testimonials Section

Is your feature request related to a problem ? Please describe. ✍
Enhancement;

Add Person Photo with Who Can Add Comments in Testimonials Section.
 It Improves Better Visual and User Experiences According to Latest Trends.

Describe briefly how you would implement this enhancement.
Some steps to implement this enhancement-
1. Step 1 : Go To 'https://www.amupedia.com/'
2. Step 2 : Scroll Down To 'Testimonials' Section.
3. Step 3 : Observe Below Sharing Screenshot of Person Testimonial. Only PUT Person Name & Related
            Branch Name.
4. Step 4 : I would like to Suggest Add Respected Photo attached with Person Name & Branch Name.

Additional context or screenshots
Additional context;

In Latest Trends, Every Testimonials Section Designing with Person Photo & Name and Other Details whatever We Want.

Screenshot of My Feature Request:

Are you contributing for a program?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

Hi @anmode , Please review my PULL Request and appropriate Labels It.

Hi @anmode . I have Raised this PR related above Issue. Still No Action Taken on this !!

license: MIT


text:
Added makefile targets for building enigne, runtime, and java separately

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

wrong user, closing and reopening

repo: amzn/amazon-dsstne


text:
Persisting roomMessage listeners

Hi @an-sh ,
I am trying to implement slack like chat application where an user will have multiple chatrooms created. As far as I understand, the client needs to be joined in a room to be able to listen for event inside the room.
My question is what is the best way to let a client know that a new message was received in any of the rooms the client is a part of?
In order to achieve this, do I join each room while initializing the client web app by looping over the roomId(s) from dB, or is there a standard way to achieve this.
There can a lot of rooms (~100) a client will be a part of at a given moment. So, Is there a hard limit to the number of room a client can join?

Hi @iamshouvikmitra
My name is Serhii from Ukraine and I am a Software Engineer. Do you know "Eric Dominic" by any chance? https://www.linkedin.com/in/eric-di-domenico/
Eric (@qwertme) hired me on Upwork and I worked on "RV Care" and "Virtual Briefing Center" project with Ruby on Rails. Recently, I was not able to dedicate much time to these projects because of personal problems. Due to this simple reason, he pressed to refund $2350 on Upwork. How he is a thief! I cannot tolerate him.
I am an old person and have families so I am working hard. If possible, I would like you to judge this problem.
Thank you,
Serhii

authors: iamshouvikmitra serhiiivan

repo: an-sh/chat-service

license: mit


text:
Added support for paths containing unicode characters on Windows

std::string paths, considered as holding utf-8, are converted in the implementation classes to std::wstring and Windows unicode file functions are called instead of their ascii version.
utilisation of boost/c++20 filesystem::path for internal path manipulation.

Note: there is also a pull request for trantor for the support of unicode paths on Windows
This is a transitional patch, all path/filename strings should be replaced with filesystem::path for a better multi-platform support:

Integration of filesystem::path in the implementation classes is on the way. I'm not sure if I can finish it before my holidays.
When good tested, the class methods with filesystem::path should be exposed and the existing one marked as [[deprecated]]

These will be subject of further pull requests.

Well, I did the changes requested, but I only tested on Windows/MSVC 2019 (c++20).
I'll test on OS X 10.14 (c++17 w/o filesystem::path) this evening at home.

I just realised that my changes do not respect the doxygen documentation in HttpFileImpl.h

@param fileName if the parameter isn't prefixed with "/", "./" or "../",
the full path is app().getUploadPath()+"/"+filename, otherwise the file
is saved as the filename

I prepend the upload path when the path is relative.
I'll have to fix it.

Do you have an idea why the Build on ubuntu-16.04 fails?
It seems that the boost libraries don't get linked.

@Greisby @marty1885 should we merge this PR? or after the PR of trantor being merged?

@Greisby I might be wrong. I think this PR haven't handled the UCS-2 path, did it? Does that feature require the patch on Trantor?

On a general side-note: I wouldn’t worry too much about macOS backwards compatibility, yet, and in general require newer versions if version checks complicate development too much. macOS is probably mostly used as a workstation / development environment, so no need to be as radical with backwards-compatibility as on other systems.

authors: Greisby an-tao marty1885 rbugajewski

repo: an-tao/drogon


text:
KeyError: 'shift' while trying to implement kws20 with the dataset KWS_35_unquantized

Im trying to implement a kws20 demo with kws 35 dataset. If i use the kws 20 dataset it compiles and runs great. When i try the kws 35 dataset i get this error:
Log file for this run: /kws20/test/ai8x-training/logs/2024.06.02-122023/2024.06.02-122023.log
Traceback (most recent call last):
File "train.py", line 1901, in
main()
File "train.py", line 447, in main
trainloader, val_loader, test_loader,  = apputils.getdataloaders(
File "/kws20/ai8x-training/distiller/distiller/apputils/data_loaders.py", line 294, in get_data_loaders
train_dataset, test_dataset = datasets_fn(data_dir, load_train=not test_only, load_test=True)
File "/kws20/test/ai8x-training/datasets/kws20.py", line 824, in KWS_35_get_unquantized_datasets
return KWS_get_unquantized_datasets(data, load_train, load_test, num_classes=35)
File "/kws20/test/ai8x-training/datasets/kws20.py", line 799, in KWS_get_unquantized_datasets
train_dataset = KWS(root=data_dir, classes=classes, d_type='train',
File "/kws20/test/ai8x-training/datasets/kws20.py", line 95, in __init
self.download()
File "/kws20/test/ai8x-training/datasets/kws20.py", line 185, in download
self.gen_datasets()
File "/kws20/test/ai8x-training/datasets/kws20.py", line 642, in gen_datasets
self.speed_augment_multiple(record, fs, exp_len, no_augmentations)
File "/kws20/test/ai8x-training/datasets/kws20.py", line 535, in speed_augment_multiple
voice_begin_idx, voice_end_idx = self.get_audio_endpoints(audio, fs)
File "/kws20/test/ai8x-training/datasets/kws20.py", line 512, in get_audio_endpoints
return int(-self.augmentation['shift']['min'] * fs),
KeyError: 'shift'
can someone help pls.

@rotx-maxim if i create a new dataset in the code with 35 keywords and use the kws_loader instead of kws_35 loader. Will it make a difference?
According to this:

Hi @supportman007,
Could you try this kws_unquantized.patch and let us know if it's working?
Please note that you will need to delete the old unquantized.pt file in your data directory, in order to generate a new unquantized dataset file that's compatible with the latest changes.

Could you post the actual logs?
Has the unquantized.pt file been generated in your data directory?
On Thu, Jun 6, 2024, 23:38 supportman007 @.***> wrote:

I tried this fix. It solved the error in the code thanks. But when i try
to implement it outputs "Killed" after the data concatenation. What will be
the problem?
—
Reply to this email directly, view it on GitHub
https://github.com/analogdevicesinc/ai8x-training/issues/316#issuecomment-2153367035,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGIVU57TLAZDJYAKU2CBKRTZGDCDNAVCNFSM6AAAAABIU45XVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGM3DOMBTGU
.
You are receiving this because you were assigned.Message ID:
@.***>


text:
Add global species to cell-lineage simulations - suggestions needed!

For example, a global species would be a chemical excreted by the cells. It is unclear what the best way to do this is considering how each cell lineage is its own little simulation object.

Moved to https://github.com/biocircuits/bioscrape/issues/6

repo: ananswam/bioscrape


text:
Rename "grypedb" feed to be called "vulnerabilities".

What this PR does / why we need it:
This PR adds feed display mappers to policy engine VulnerabilityProvider. These mappers will allow us to rename feeds at ingress(API) and egress(API response). I've purposefully tried to constrain my changes as much as possible to the API layer of the code. If you are wondering why I did not follow the approach of changing the name from the origin of the data throughout the system, the answer is because the policy engine expects parity between configuration, feed source, and the processing of the feed by name (i.e. the name of the feed should match throughout the system). This model is no longer suitable for the future plans for the policy engine, and further work is required to divorce the policy engine from that model. If you are curious about the exploratory work that I did to attempt to implement this change as described above, you can find that here: https://github.com/anchore/anchore-engine/pull/1188
Which issue this PR fixes (optional, in fixes #<issue number>)(, fixes #<issue_number, ...) format, will close the issue when PR is merged: fixes #:
Special notes:

All the changes look good to me! Do we have test coverage for toggle_group_enabled, delete_feed, and delete_group? Im not seeing any, but not sure if I am maybe missing something. Its something that might be worth adding since those endpoints have been changed

I don't think we have any functional tests for those actually.

All the changes look good to me! Do we have test coverage for toggle_group_enabled, delete_feed, and delete_group? Im not seeing any, but not sure if I am maybe missing something. Its something that might be worth adding since those endpoints have been changed

I'll make an issue for creating tests for these and follow up in subsequent PR.

repo: anchore/anchore-engine


text:
How to use admonition syntax boxings on GitHub READMEs?

How to add admonition boxes for user's attraction on GitHub READMEs?

While not exactly an admonition, this is supported (beta tested) since May 2022, as [reported by Diego Haz](https://twitter.com/diegohaz/status/1527642881384759297) and described in [discussion 16925](https://github.com/github/feedback/discussions/16925)

To better highlight and separate certain information from the rest in your documentation on GitHub, we now render a special and accessible note or warning blockquote in Markdown documents.
We are using the existing syntax for blockquote and bold text.
The first line must be exactly as shown below.
The first letter is case sensitive. The second line can contain your content.
This input:
> **Note**
> This is a note

> **Warning**
> This is a warning

Becomes:

Real example as follows:

Note
This is a note

Warning
This is a warning

Warning: the syntax might still evolve and is debated in the discussion. For instance, [Brenton M. Wiernik](https://github.com/bwiernik) [comments](https://github.com/github/feedback/discussions/16925#discussioncomment-2795312):

In addition to syntax issues and semantic web problems raised by others, I am also concerned about this introducing a major incompatibility between GitHub-Flavored Markdown and pandoc markdown or CommonMark.
A large number of R developers write READMEs and other documentation in RMarkdown, which is generally processed using pandoc.
This change would mean that users would be unable to get consistent rendering with the same syntax when their package documentation is displayed on GitHub vs elsewhere.
Overloading the blockquote in this way creates an opaque difference in the meaning of syntax across markdown flavors that is very difficult to write around for developers.

authors: andatoshiki toshikijp

repo: andatoshiki/toshiki-discuss


text:
🛑 🎏 Toshiki's Proxy Subscription is down

In 688ffda, 🎏 Toshiki's Proxy Subscription (https://subweb.toshiki.top/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 🎏 Toshiki's Proxy Subscription is back up in 934174b after 1 minute.

repo: andatoshiki/toshiki-status


text:
msvc manifests auto update conflicts

Bug Report
Package Name: [msvc@2019]
Current Behaviour
Fails to install with the command scoop install msvc@2019
Expected Behaviour
The manifest runs and the install completes.
Additional context/output
This is probably also a problem with other manifests. Maybe I'm also not installing properly?
Possible Solution
Update the manifests file. Perhaps rename to avoid the auto update syntax with the latest scoop version.
System details
Windows version: [11]
OS architecture: [64bit]
PowerShell version: [major[5] minor[1] Build[22000] Rev[653]]
Additional software: [N/A]
Scoop Configuration

{
    "lastUpdate":  "2022-07-27T16:20:53.2131282-02:30",
    "SCOOP_REPO":  "https://github.com/ScoopInstaller/Scoop",
    "SCOOP_BRANCH":  "master"
}

Hello!
Thanks for reporting the bug!
I tried to fix it, but the  MSVC scripts  were wroten by Rivy ( https://github.com/rivy/scoop-bucket ). I have disabled / deprecated them as they don't work in the original repository neither and i was unable to find the right solution. They rely on external batch file, which also appears to be broken and beside all of that, the download links for all available MSVCs are faulty / erroneus and return 404 when i lastly tested them.  They use SCP (Secure Copy protocol), which is also not desirable or even non operable in Scoop as we all can see.  Since he wrote the manifest for MSVCs it would be a good idea for him to fix that however he knows it is the best to fit. I will eventually update this bucket with his upstream!

Thanks for the update I have written a scoop manifest for msvc2019 before, but it was not auto updatable and didn't really follow the scoop mindset/protocol. I was hoping that there was a nice solution and this looked like it for the build tools.
I'll check out Rivy's bucket and try there and add an issue.
--michael

No problem, as I have said; This buckets also upstreams from other buckets, so that means if specific manifest is corrupted in the original bucket, than the corrupted JSON will also be present in this bucket and what's even more, marked as OK and installable by Github Actions BOT.
Regards,
Andrew

license: Unlicense


text:
Neue Version verfügbar! Installiert: 0.39. Verfügbar

Obwohl die 0.39 installiert ist (Docker File) verschwindet der Update-Header nicht:
/ # evcc -v
evcc version 0.39 (39b6228)

/cc @naltatis hast Du eine Idee?

/cc @naltatis hast Du eine Idee?

@xerion3800 könntest Du mal bitte den Quelltext der Webseite anzeigen? Ganz oben im "body" müsste ein kleines Javascript sein, das würde ich gerne sehen.

@xerion3800 könntest Du mal bitte den Quelltext der Webseite anzeigen? Ganz oben im "body" müsste ein kleines Javascript sein, das würde ich gerne sehen.

Gleiches Problem taucht bei mir auch auf. Hier der Quelltext mit dem Javascript:

Gleiches Problem taucht bei mir auch auf. Hier der Quelltext mit dem Javascript:

@andig habe gerade die Seite erneut aufgerufen. Es wird oben ganz kurz angezeigt und dann wird es ausgeblendet. Nach einem Refresh kommt e kurz wieder und geht sofort wieder weg.

@andig habe gerade die Seite erneut aufgerufen. Es wird oben ganz kurz angezeigt und dann wird es ausgeblendet. Nach einem Refresh kommt e kurz wieder und geht sofort wieder weg.

Sollte mit https://github.com/andig/evcc/commit/a78f92e7cc69acd337d75bd2c1202bee538faef4 behoben sein.

Sollte mit https://github.com/andig/evcc/commit/a78f92e7cc69acd337d75bd2c1202bee538faef4 behoben sein.

Ist mit a78f92e behoben

Ist mit a78f92e behoben

authors: andig rivengh xerion3800

repo: andig/evcc


text:
Cannot read a table with a byte field

I'm trying to read the table tRelais in this mdb:
https://u.pcloud.link/publink/show?code=XZu5EHVZVqot9BBBU7FMwQHIVSJ4zHIwB9i7
If I read this table with "sysinfotool MDB file viewer 20.0", I read a full table with no empty data. But, if I read with this library, I found many empty object:
{NoEngageRelais: 1487, NoEngagement: 44242, NoSerieTour: 8096, NoAthlete: 13310, NoOrdreRelais: null}
{NoEngageRelais: 1488, NoEngagement: 44242, NoSerieTour: 8096, NoAthlete: null, NoOrdreRelais: null} ...

The field NoOrdreRelais has the type octet in french language... It is a small int with 8bits.
My script:
function loadRelais (reader) {
  let cmtrelays = new Map()
  const table = reader.getTable('tRelais')
  let rows = table.getData()
  for (let row of rows) {
    console.log(row)
    let uid = row.NoEngageRelais
    let noEngagement = row.NoEngagement
    let serieTour = row.NoSerieTour
    let athUID = row.NoAthlete
    let ord = row.NoOrdreRelais
    cmtrelays.set(uid, { uid, noEngagement, serieTour, athUID, ord })
  }
  return cmtrelays
}

:wave: Hello again,
I was able to reproduce the issue. The problem seems to be that that row thinks it has more variable columns than total columns.
How was this table created? Was there a lot of altering and moving of the columns? Are you able to reproduce such broken table from scratch?
I'll hope I find time next week to investigate this further. There seems to be a related issue when only a subset of columns is read...

Hello,
This table is created by an access application developed by a french company 20 years ago and maintained until now. When you say "only a subset of columns is read", which alternative is available ?

20 years ago and maintained until now.

Yeah, I noticed that. Can't even open the file in a current Microsoft Access :(

When you say "only a subset of columns is read", which alternative is available ?

This is probably unrelated to your problem. It might lead to the same result (null values), but when calling getData() with a columns option. I need to do more investigation around this.
I don't see any workaround at the moment.

I've a computer with XP and Access97. This table is the one with this short int. Are you sure this type of data is well read ?

Yes, the column definitions are read correctly. If not, you would get null everywhere.
The issue is that fixedColumnCount becomes a negative number (https://github.com/andipaetzold/mdb-reader/blob/a9847d67ec2033b3cc8cdd0f61004d95e917dbda/src/Table.ts#L318) because variableColumnCount is greater than totalVariableCount. If that happens, we end up in the else branch (https://github.com/andipaetzold/mdb-reader/blob/a9847d67ec2033b3cc8cdd0f61004d95e917dbda/src/Table.ts#L350-L352) when reading the row and the value becomes null.

Hello,
When i read this table, I miss 1 column (NoOrdreRelais) for the first row, then I miss two columns (NoAthlete, NoOrdreRelais), then 3 columns (NoSerieTour, NoAthlete, NoOrdreRelais), then 4 columns and then it loop again with one column missing, then two.... The written values are correct.
relais {
NoEngageRelais: 228,
NoEngagement: 1222,
NoSerieTour: 444,
NoAthlete: 666,
NoOrdreRelais: null
}
relais {
NoEngageRelais: 229,
NoEngagement: 1222,
NoSerieTour: 444,
NoAthlete: null,
NoOrdreRelais: null
}
relais {
NoEngageRelais: 230,
NoEngagement: 1222,
NoSerieTour: null,
NoAthlete: null,
NoOrdreRelais: null
}
relais {
NoEngageRelais: 231,
NoEngagement: null,
NoSerieTour: null,
NoAthlete: null,
NoOrdreRelais: null
}

The table in Access97 have 5 fields:

NoEngageRelais: AutoNumber
NoEngagement: Numeric
NoSerieTour: Numeric
NoAthlete: Numeric
NoOrdreRelais: Numeric

All columns are defined and set.

I think I found the issue. Seems like this was just a small mistake in the Jet3 format configuration.
The new version should release any minute. Please let me know if you still run into issues with the latest update.

Hello,
I tried this morning and everything is ok. Good job.
Thanks for your great work.

repo: andipaetzold/mdb-reader


text:
Add Skill Total worlds config setting, bump RL version.

This is my first time tackling anything Java related, so I apologize if anything here is done poorly. I decided that it would be best to put right under PVP worlds, as well that Skill Total worlds be defaulted to false.
This closes https://github.com/andmcadams/plugin-repo/issues/10.

Thanks! I'll test this when I get a chance, though from looking at it, it should be fine. I'm a bit busy with some other stuff related to the server side for this and irl, but if I don't merge this by next weekend feel free to ping me again.

Keep in mind, just because this is merged does not mean it is released. I have to make a PR to the plugin hub. Since I have some breaking changes I'm merging this into, I'm targeting a release closer to Wednesday (if all goes well) so people are forced to update their clients.
Worst case I don't get my changes done in time and I just release this when I realize I won't make it in time or just after the game update.

authors: andmcadams breakthetargets

repo: andmcadams/plugin-repo


text:
UITextView in ScrollView

Firstly, Thank you for the great library!
I was found a problem. When i add TextView have long content in Scrollview. I scroll TextView and the Navigation bar scroll follow it. So can you help me resolve this bug.

Can you post a sample showing the issue?

I guess not. Feel free to reopen if needed.

authors: Anhnh andreamazz

repo: andreamazz/AMScrollingNavbar


text:
Vertically align the nav-bar

Adds a little padding to the bottom of the nav-bar to bring it to the vertical middle of the toolbar.

First up, thanks a lot for contributing! c:
Accoording to your description this is supposed to vertically center the navbar. Now this is where different devices might come into play; but on both of my test devices the navbar is vertically centered quite well, while adding extra padding to the bottom does exactly that.

Here is a screenshot of what I mean – the left side is before, and the right side after applying your suggested changes. Would you mind attaching a screenshot of what it looks like on your end for the sake of comparison?

Oh, and in case that I have misunderstood something I've also double checked if the text is actually aligned, and it seems to be. o:

Ah, it's my bad. I was missing --tab-block-margin: 2px !important;in my config!

No worries – happens to the best of us. :D

authors: andreasgrafen jacksongoode

repo: andreasgrafen/cascade


text:
Code Cleanup

Gå igennem koden og lav clean up inden vi aflevere den.

FJERN ALLE NOTER TIL OS SELV
FJERN TODOS
FJERN SYSO/LOG.D

Done in #110

authors: Quayed andreaslorentzen


text:
🛑 Historisch Museum Den Briel is down

In 4ed1a87, Historisch Museum Den Briel (https://www.historischmuseumdenbriel.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Historisch Museum Den Briel is back up in 2f900ea after 12 minutes.

repo: andreesg/intk-upptime


text:
🛑 Archief Roermond is down

In 98605dd, Archief Roermond (https://www.archiefroermond.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Archief Roermond is back up in 4245892.


text:
🛑 pharmacomms is down

In 75b60b1, pharmacomms (https://pharmacomms.tv/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: pharmacomms is back up in e89e8fb after 8 minutes.

repo: andrespitt/uptime


text:
🛑 plexd is down

In 69c249b, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 280 ms

Resolved: plexd is back up in e54f3af.

repo: andrewdavies-net/upptime


text:
🛑 plexd is down

In affb75e, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 272 ms

Resolved: plexd is back up in a8bcd5f.


text:
🛑 nhcam is down

In 2d9a83d, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 7dc9248.


text:
🛑 nhcam is down

In 20eba8d, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 2cdcb8c.


text:
🛑 nhcam is down

In 471bc97, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 8c65ae0.


text:
feat: remove unwraps

remove unwraps from several locations in code. In the future, potentially we can have something that wraps anyhow (or maybe thiserror so we can respond to errors differently depending on the context.

IMO we should allow expect so that there's better panic messages if they ever get triggered

IMO we should allow expect so that there's better panic messages if they ever get triggered

Sure let's do that. however, I think we should try to use expect to a limited amount as well.

IMO we should allow expect so that there's better panic messages if they ever get triggered

02834b7

closing for now

authors: TestingPlant andrewgazelka

repo: andrewgazelka/hyperion


text:
🛑 Gioia Git is down

In f7585d4, Gioia Git (https://git.gioia.cloud/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Gioia Git is back up in 5d32c47 after 8 minutes.

repo: andrewgioia/status


text:
feat!: upgrade Ruby and Bridgetown deployment command

Type of PR

[ ] feature
[x] enhancement
[ ] bug fix
[ ] other

Description
Waiting on outcome of #4
The deploy command is now just yarn deploy for new Bridgetown sites. The change to this code reflects that. It also makes it easier to change for the user.
NOTE: you may want to append the env to your deploy command like: NODE_ENV=production BRIDGETOWN_ENV=production yarn deploy
This change also bumps the Ruby very to the latest 2.7 release.
Fixes #5 & Fixes #6
Checklist

[x] I have tested this
[x] I have updated the documentation if applicable

@ParamagicDev could you or @MikeRogers0 possibly peak at this? Would love another set of eyes.
I am resisting the urge to make more changes atm but I want to lol.

@MikeRogers0 You were always willing to lend me a hand with my code, hop on to pair, or give me detailed code review and I will forever be grateful. It’s been several months and I am still learning from you thanks to what you were able to leave me behind.
Fucking miss you man. 😔

repo: andrewmcodes/bridgetown-gh-pages-action


text:
update labs with dplyr syntax

Is this planned? I'm happy to help out.

Excellent - it is planned! Both Mine and Albert are interested too. Keep an eye out for the new branch either end of this week or beginning of the next.

authors: andrewpbray beanumber

repo: andrewpbray/oiLabs


text:
The original readsleb128 has two major bugs.

result = unpack( '=b', buff.read(1) )[0]
if result <= 0x7f:
...
Wont work with multi-bytes leb128, as the "result" will be read
as signed value and in multi-bytes, the MSB of all but the last
byte are all set to 1.
Therefore the "result", which is read as the first byte of a
leb128 will always be negative, hence this condition test will
always be true. Which means, it really just reads one byte and
stops there for every signed leb128.

result = (result << 18) >> 18
...
This , which I believe is to extend the sign bit, won't work with
negative number neither, as after bit operator, result could become
positive from negative.

Tese case like this:
t = -624485
assert (t == dvm.readsleb128_1(bytecode.BuffHandle(dvm.writesleb128(t))))
Would show what happens.

I noticed that the DebugInfoItem is not used, and this bug could cause DebugInfoItem to incorrectly decode the debugging instructions.

repo: androguard/androguard


text:
gradle syncing skipping downloading classes while implementing dependency seems to be server issue

Expected behavior
I am trying to add and implement dependency but classes are not imported inspite of gradle sync not showing any error
Actual behavior
Steps to reproduce the issue

did you solve this?

Sorry I couldn't,but it worked before in another so replicating it where
ever I want it
On Mon, 26 Aug, 2024, 6:31 pm MahmoudMagdyEllawatty, <
@.***> wrote:

did you solve this?
—
Reply to this email directly, view it on GitHub
https://github.com/androidmads/SQLite2XL/issues/32#issuecomment-2310158252,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGFUCSNURJDPS6BZLK3ZAMDZTMRJBAVCNFSM6AAAAABND7BXKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJQGE2TQMRVGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

authors: MahmoudMagdyEllawatty tirumalarajajee


text:
Play pause problem

    <ImageButton
        android:id="@id/exo_rew"
        style="@style/PlayerControlButtonBaseStyle.RewButton" />

    <ImageButton
        android:id="@id/exo_play"
        style="@style/PlayerControlButtonBaseStyle.PlayButton"
        android:layout_width="100dp"
        android:layout_marginLeft="@dimen/player_control_play_pause_margin"
        android:layout_marginRight="@dimen/player_control_play_pause_margin" />

    <ImageButton
        android:id="@id/exo_pause"
        style="@style/PlayerControlButtonBaseStyle.PauseButton"
        android:layout_width="100dp"
        android:layout_marginLeft="@dimen/player_control_play_pause_margin"
        android:layout_marginRight="@dimen/player_control_play_pause_margin" />

    <ImageButton
        android:id="@id/exo_ffwd"
        style="@style/PlayerControlButtonBaseStyle.FfwdButton" />

style="@style/PlayerControlButtonBaseStyle.PlayButton
style="@style/PlayerControlButtonBaseStyle.PauseButton
above code is working on exoplayer2 what new code on play pause exoplayer media3

The renaming was as follows:

exo2
media3

PlayerControlView
LegacyPlayerControlView

StyledPlayerControlView
PlayerControlView

StyledPlayerView
PlayerView

Which means PlayerControlView are not equivalent between exoplayer2 and media3. Can you confirm which class you are using?

repo: androidx/media


text:
Occassional gaps in audio playback

Media3 Version
1.0.0-rc02
Devices that reproduce the issue
Pixel 3a and more
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
We are getting reports from different users that sometimes the playback skips a second, or goes quiet for a second.
We have a setting in the app which should enable audio offloading, but it seems to do nothing, so I can't say for sure if its related to this.
It can be reproduced in Ultrasonic. Pick the demo server, start playback of an album and after sometime there will be a jump, especially if the app is in the background.
The demo app offers no audio playlist to test with.
Expected result
No gaps
Actual result
Gaps
Media

Bug Report

[ ] You will email the zip file produced by adb bugreport to dev.exoplayer@gmail.com after filing this issue.

We appreciate you reporting your issue, @tzugen!
There is a playlist section in the demo app.  If you look for "Playlists" in the media.exolist.json file you will find them. Would you be able to provide a list of uri to create a playlist with that reproduces the issue?
Also would you be able to provide a bug report providing logs for your scenario?
If you're unable to share bug reports or
test content publicly, please send them to dev.exoplayer@gmail.com using a subject in the format
"Issue #267". Please also update this issue to
indicate you've done this.
Thank you!

Thanks, i will do, but it will take a few days.

authors: microkatz tzugen


text:
Impossible to add Twitter Account

On AndStatus v 57.05, I can't add a Twitter Account, each time I end up on a Twitter page telling my browser is not compatible. Even though I have firefox and Chrome on my phone.
In the issue 511 it should be possible by using version 49, but I can(t find this version, I'm using F-droid.

Hi, I am new to Andstatus and I have the same issue.

Hi, I am new to Andstatus and I have the same issue.

@steph-92 @abrianceau Thank you for noticing!
It appeared that Twitter doesn't like "AndStatus" user agent anymore. This is ID of the app's internal web browser that worked for more than 10 years...
Fixed in v.57.07. Just posted it to #456 and to app stores.

@steph-92 @abrianceau Thank you for noticing!
It appeared that Twitter doesn't like "AndStatus" user agent anymore. This is ID of the app's internal web browser that worked for more than 10 years...
Fixed in v.57.07. Just posted it to #456 and to app stores.

authors: abrianceau steph-92 yvolk

repo: andstatus/andstatus


text:
Overflow "bug" on mobile

Hey, just spotted a little overflow issue on Firefox on Android - haven't tested on other browsers.
Just occurs on this link in particular
https://hylia.website/posts/a-post-with-code-samples/

Hope that's ok? Don't know if you need more info? :)
Thaaaaaanks!

Thanks @seansmyth, this is really helpful.
Can you just get a report, on your device, from https://mybrowser.fyi please?

Hey @andybelldesign! I did a little bit of digging and found some starting points:

Once the viewport is < 943px wide the full-bleed utility causes the horizontal scrollbar to appear.
As the viewport gets smaller, the code examples in the textblock are not breaking to new lines which is causing it to run off the page:

In addition to the code example not wrapping, the h2 in the post body is also running off the page:

I'd be happy to open a pull request to help get this fixed up!

Awesome, I'd really appreciate it if you did @marcusrelacion :)

Fixed with #41

authors: andybelldesign marcusrelacion seansmyth

repo: andybelldesign/hylia


text:
LTI Outcomes 2.0 - LISResult additional terms

Hi Andy,
I'm delighted to see that IMS Global has enriched the outcome of LTI. According to my understanding of the spec [1], specifically of  2. The LISResult Media Type , item 6 The set of contexts imported by the root object MAY include additional terms that do not appear in the standard context [LIS-v2p1-Result]
means that the LISResult JSON type MAY include additional non-standard terms.
As far as I can tell your library does not provide a way to set nor retrieve these additional terms. The ability to support additional terms is key to success in the our (Dutch) market so if your library could support it that would be great.
What are your thoughts on this?
Regards, Jeroen
[1] http://www.imsglobal.org/lti/services/ltiOMv2p0pd/mediatype/application/vnd/ims/lis/v2p1/result+json/index.html#The_LISResult_Media_Type

up

Hello Jeroen,
You must be right about the meaning of item 6...the ability to define the terms in the JSON is fundamental to JSON-LD.
I am not happy with the JSON-LD support in LtiLibrary. For ToolConsumerProfile I added @Context, @id, and @Type properties to the class and basically hardcoded the context. That worked at the time. But outcomes added a twist...results can be sent alone (with their own context) or in a collection (the result context should be merged into the collection context). I started down the path of writing a serializer that would inspect the payload and construct a valid context, but did not get very far.
I spoke to someone at the recent IMS meeting that serializes the payload (without any context) then wraps that with a context. I'm sure that works, but it does mean the coder constructing the response has to know a lot about JSON-LD.
Just last week I was reading some Caliper code (not public yet) that handles context in a 3rd way. This weekend I hope to take another look at that to see if that is the approach I want to take. If nothing else, I'll make sure you can add your own terms to the context.

If we can add our own terms and of course retrieve them when receiving them that would be excellent news!

From the contents of recent commits, I gather you have resolved this issue in "master" and are preparing a 1.6 release. Great!
Any idea, when you are planning to do the actual release to NuGet?

There have been some changes to the Outcomes 2.0 draft since I added support. I need to go through the latest version and make corrections. But I have not been in a hurry since the spec is still in draft mode (and still changing).

We are starting a couple of projects that practically speaking depend on Outcomes 2.0. As in the past LTI Library releases have been made to add support voor Draft specifications, would it be possible to release 1.6 to NuGet somewhere in the next four weeks?
AFAICT The Outcomes 2.0 draft I found has not changed since December... If the recent changes you mentioned are somewhere else, could you post a link to them, please?

If you are a contributing member, you will find a discussion in the member forums.

Thanks for your response but actually, my main question has been left unanswered: are you planning to/will you be able to do a NuGet release some time soon?

authors: andyfmiller jeroenhabets

repo: andyfmiller/LtiLibrary


text:
Pipeline check formating

Merge should not be allowed when formatting is not correct. This is to avoid feature commits with formatting changes.

[ ] check for infra
[x] check for core (#332)
[ ] check for api
[ ] check extension csharp
[ ] check for samples

protolint
clang format

authors: lemaitre-aneo ngruelaneo

repo: aneoconsulting/ArmoniK


text:
🛑 DEV is down

In 3e17c4e, DEV (https://dev.moneybox.business) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DEV is back up in 1fda0ef after 23 minutes.


text:
linkResolver example

Hi
I need some help setting up the linkResolver.
I find the documentation a bit hard to understand and the link to prismic documentation isn't much help either.
Can someone provide an example, including how to use it in a template.

Hi @mathiasha, sure, I'll try to explain how it works.
The link resolver function is used to determine the URL for a particular Prismic document. Since Prismic allows you to construct the shape of your documents (i.e. the fields, names, etc.), Prismic has no notion of how the URL should be determined.
The link resolver function receives the document's data as an object and should return the document's URL as a string.
For example, if I have a blog post with a UID field with the value "my-first-blog-post", my link resolver function might look like this:
// A typical Prismic link resolver function:
const linkResolver = doc => {
  // If the document is a BlogPost custom type:
  if (doc.type === 'blog_post') return `/blog/${doc.uid}`

  // Otherwise:
  return `/${doc.uid}`
}

This would return a URL of /blog/my-first-blog-post for that blog post.
Note that this is a core Prismic feature and not something special to this Gatsby source plugin.
The only different this plugin makes is also providing some Gatsby data to the link resolver. This is done by wrapping the function in another function. Sounds a little strange but the implementation is straightforward.
// The same link resolver function as above, but for gatsby-source-prismic:
const linkResolver = ({ field, value, node}) => doc => {
  // If the document is a BlogPost custom type:
  if (doc.type === 'blog_post') return `/blog/${doc.uid}`

  // Otherwise:
  return `/${doc.uid}`
}

Note the ({ field, value, node}) => addition to the first line. This additional data allows you to customize the link resolver for based on the specific field that needs the URL, the value of that field, and the node containing the field. I personally don't use the field, value, or node data, but it is provided in case you need it.
Hope that helps, but let me know if you have further questions!

Thanks for that.
I still have one more question. How do I use the link?
What do I write in the template to use the link provided by the link resolver?

Actually i think i get it now. I was using providing uid (from this example https://www.gatsbyjs.org/docs/sourcing-from-prismic/) to the links rather url. It makes sense now.

This has confused me as well. Correct me if I'm wrong (@angeloashmore) but gatsby-source-prismic handles all this internally? ie. you don't have to use things like the RichText component from prismic-reactjs or the lower level prismic-dom, but the html content from the graphql layer has already been processed in this way?

authors: angeloashmore brybeecher mathiasha

repo: angeloashmore/gatsby-source-prismic


text:
Unzip Feature

Unzip feature should be added next update since File util didnt work anymore in Android11

Added in 1.0.0

authors: akosiatph anggrayudi

repo: anggrayudi/SimpleStorage


text:
Installation work but it doesn't change my ip adress :/

Hello friends,
Hi just install the script, it work perfectly but when i check my IP on whatsmyipadress.com, it's the same IP ..
I have done service openvpn start and openvpn status, I have this :
service openvpn status                                                                   2 ⚙
● openvpn.service - OpenVPN service
Loaded: loaded (/lib/systemd/system/openvpn.service; disabled; vendor preset: disabled)
Active: active (exited) since Fri 2021-01-08 02:26:46 UTC; 7s ago
Process: 4199 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 4199 (code=exited, status=0/SUCCESS)
CPU: 679us
Do I have missed something or is it normal to have my same ip adress not masked ?
Do I need a registration to NordVPN or something else to mask my IP ?
Thanks a lot to help my noobie skill, have an HAPPY NEW TEKNIVAL lol :)
See you !

Maybe it's because it's my OWN VPN server it's why it doesn't change my IP lol ...
So do I need to buy a VPN to change my IP like NordVPN or all something services ?
Thanksssssssssssssssss 💯

Maybe it's because it's my OWN VPN server it's why it doesn't change my IP lol ...
So do I need to buy a VPN to change my IP like NordVPN or all something services ?
Thanksssssssssssssssss 💯

You have to use this script to install an OpenVPN server on some server (a VPS, a dedicated server, a cloud instance...) and then connect to it. Then you will "have" the server's IP :)

authors: Teknival angristan

repo: angristan/openvpn-install


text:
Why high latency links are not recommended?

Only very high latency (+500ms) links are not recommended for now

Hi,
Glorytun targets xDSL/4G aggregation by default.
I will document how to setup glorytun in high latency scenario for the next release.
Regards

authors: angt zhuker

repo: angt/glorytun


text:
Angular routing reuse strategy affects web components

I have two Angular projects, the main project version v17 and the remote project version v12. The main project uses the @ Angular architects/module generation tools package and loads the remote using the web component. When the main project uses a routing reuse strategy and switches routes multiple times, the interface using the web component becomes an empty page. Is there any solution
Engineering link:https://github.com/zhuzhuxia5875102/mf-package

Uploading mf-package-main.zip…


text:
Periods in translation tables

Which is better:
"SENTENCE": "This is a complete sentence. "
SENTENCE
or
"SENTENCE": "This is a complete sentence"
SENTENCE.

We really love to help and support, but these kind of "how to" questions really fit better on http://stackoverflow.com - please ask there as you'll reach a bigger user base audience.
This is the main issue/defect/feature tracker for the module and only in rare cases a basic first level support forum. Thanks.

I will post there, but, even though it's a larger audience pool, I'm not sure it has a larger pool of people who know angular-translate. These kind of newbie questions could be classified as issue/defect/feature trackers for your docs and faq to help them become more complete.

I just signed up at stackoverflow.com and, as I suspected, the angular-translate pool is quite small. Of all the questions tagged angular-translate, about half have no answers at all and only 18 have been answered in the past month. While stackoverflow might be a place to ask newbie questions about angular-translate, I'm not sure that it will result in many useful answers, which is what I (and, I expect, other newbies) really want. Thanks.

repo: angular-translate/angular-translate


text:
[BUG] height of grouping expand all and select all button

The height of grouping expand all button changed after scrolling which cause expand button and it's row not in the same line. expand A open B....
see the official demo:
http://ui-grid.info/docs/#/tutorial/209_grouping

Can you clarify what you're describing? Maybe with a screenshot?
I'm not experiencing what I understand you are describing. Is this occurring for you in multiple browsers?

My guess it that this is another duplicate of #3394. If not, please provide some screenshots, as suggested earlier.

yes  it's duplicated of #3394 .

then you should probably close this one then @edenchen123 :)

authors: AgDude edenchen123 mmautner

repo: angular-ui/ng-grid


text:
Resolve does not work the 2nd time.

Hello, I have the code as follows:
'use strict';

angular.module('ninthBeatApp')
  .config(function ($stateProvider) {
    $stateProvider
      .state('items.detail', {
        url: '/:id',
        templateUrl: '/app/items/detail/detail.html',
        controller: 'ItemsDetailController',
        controllerAs: 'ItemsDetailCtrl',
        resolve: {
          item: function(Item, $stateParams) {
            return Item.get({ id: $stateParams.id });
          }
        }
      });
  });

'use strict';

angular.module('ninthBeatApp')
  .controller('ItemsDetailController', function(item) {
    var vm = this;
    vm.item = item;

    vm.selectedPicture = item.imageUrls[0];
  });

When I try to go to state "items.detail" the first time, it worked.  However, then I go to state "main", and from main, go to "items.detail" the second time, it doesnt work.  When i console log the promise item, it says resolve false.  However, when I refresh this whole app, it worked again, until it failed at 2nd attempt.
Please help

What do you mean when you say "when I console log the promise item"? What is Item? Is it a ngResource item that has cache enabled?

Hi.  Yes it is a ngResource item.  Does that have a cache? I don't even know that ngResource has a cache

Its not on by default: https://docs.angularjs.org/api/ngResource/service/$resource
Can you post a plnkr showing this not working please?

Hi @eddiemonge
Its hard to do it in plunker because I don't know how to mock ngResource.
However, another strange thing is

'use strict';

angular.module('ninthBeatApp')
  .config(function ($stateProvider) {
    $stateProvider
      .state('items.detail', {
        url: '/:id',
        templateUrl: '/app/items/detail/detail.html',
        controller: 'ItemsDetailController',
        controllerAs: 'ItemsDetailCtrl',
        resolve: {
          item: function(Item, $stateParams, $q) {
            var deferred = $q.defer();

            // This is working just fine, so I am using this as the solution
            Item.get({ id: $stateParams.id}, function(item) {
              deferred.resolve(item);
            });

            // This does not work
            // Can't even go to the route
            //Item.get({ id: $stateParams.id })
            //  .then(function(item) {
            //    deferred.resolve(item);
            //  })
            //  .catch(function(error) {
            //    deferred.resolve(error);
            //  })

            return deferred.promise;
          }
        }
      });
  });

I am using Angular 1.4.2

Try this:
angular.module('ninthBeatApp')
  .config(function ($stateProvider) {
    $stateProvider
      .state('items.detail', {
        url: '/:id',
        templateUrl: '/app/items/detail/detail.html',
        controller: 'ItemsDetailController',
        controllerAs: 'ItemsDetailCtrl',
        resolve: {
          item: function(Item, $stateParams) {
            return Item.get({ id: $stateParams.id }).$promise;
          }
        }
      });
  });

I added .$promise at the end.

Ah, that works, thanks!!!!!

authors: christiansakai eddiemonge

repo: angular-ui/ui-router


text:
0.2.18 Matching URL problem

Hey,
Since 0.2.18, the URL matching does not catch up some URL
In the following example, when LinkedIn API calls back a sequential URL, ui-router catches it and proceeds.
When Facebook API calls back a URL with a query string (2 arguments), it is never catched.
It works perfectly in 0.2.15 / 0.2.16 / 0.2.17 and the controller of the called view does the cookie context thing, it has to do.
My fallback state is called in 0.2.18, and the authentication is not completed then.
 state('callbackLinkedin', {
    url: '/callbackLK/:from/:token',
    templateUrl: function () {
        return 'partials/commons/pages/authentication/callback-linkedin.html';
    }
}).
state('callbackFacebook', {
    url: '/callbackFB?rp&code',
    templateUrl: function () {
        return 'partials/commons/pages/authentication/callback-facebook.html';
    }
})

I guess there is something new in the UrlMatcher 0.2.18 that does not handle the case the same way as before.
I rolled back to 0.2.17 to make my app work.
C.

@chenav  can you show me an example facebook callback url?

The callbackURL that does not work is like so;
https://mydev.env.io/callbackFB?rp=account&code=AQDkJKAIxFhNAzaFPWchT5ybty7EVKgSJ-r57OR1R0isVhL1nJfi8HUlXGDw3h5-Oes0z1LLQAYzwH_YrcEUo5YXktQYbklDaObmiIWlVORytq_DzB4yZRDCxDr4WrH_9rh651dvcD0xYcTsNSLujDZxBbF51LfI-gR1ekS5hF-20MyBtMu6sMyl8LslvGG4skn-l1VnbZlwT3yPD5PFXxLJ-_b03nIlz-ZtOHtjr8Z57FulyZuW7NFTR_rXNvGAsswTpKkWC88OXNZ2D0Ycf0B8vCPRCiF053BTfQ5-YKQNoc1hCUAf-xET59K6l9o5FQ0#_=_

So, this is OAUTH or something? Facebook redirects the browser to that url, your app loads from the server into the browser (html5 mode), then ui-router bootstraps and checks the URL, but the parameters don't match?

Yes, this is oauth and the URL is the callback URL.
And you are right about the sequence of calls.
ui-router 0.2.18 does not match the URL.
All the previous versions do match it.

This seems to work for me.
http://plnkr.co/edit/wy1i9jSOOsmb2rLUpeN3?p=preview

Thank you for your feedback, Christopher.
Actually, it gave me headache because it was still not working on my side.
I traced all my states and state params to see what was different with 0.2.18.
And I finally found it.
I have a lot of states but only 2 with URL+query strings to match at router level.
Here they are (note the order of the declarations) :
state('home', {
    url: '/:sitehash?appMode&refresh',
    templateUrl: function () {
            return 'template1.html';
    }
}).
state('callbackFacebook', {
    url: '/callbackFB?rp&code',
    templateUrl: function () {
        return 'template2.html';
    }
})

In that order, it works with all version of ui-router inferior to 0.2.18
With 0.2.18, the Facebook Callback we talked about is matched as state 'home' with the following params:
sitehash = 'callbackFB'
appMode = undefined
refresh = undefined
rp = account
code = the_very_long_fbcode

It is a very tricky case and I am not sure it is what we should expect, as the signatures of the URLs (and the query strings) are different.
But in order to correct the behaviour, I just had to inverse the order of my 'home' state and my 'callbackFacebook' state.
With the 'callbackFacebook' state in first position, it matched it right with 0.2.18
I do understand that one is matched dynamically when the other is not, but anyway, it was working right before that version.
Now, since 0.2.18, it seems that we have to be extra careful with the order of states declaration .
Is that done on purpose ?

authors: chenav christopherthielen


text:
Allow manually send event for update element width (close #1666)

This is workaround to fix placeholder width=10px if ui-select was not visible when created. It is possible now fix this by sending special event: $broadcast('updateUISelectSize').

Pull request for #1666

Hi @indvd00m ,
I don't really agree on this approach. This is a very specific fix that will help but not resolve the problem.
Can you have a look at the real problem? If so i'm happy to review. But this PR i cannot approve.

repo: angular-ui/ui-select


text:
I am getting many warnings as i given in below

Hi i had created an angular project with DevExtreme libraries to create DevExtreme table. While buliding the code i am getting many warnings as shown below.
WARNING in /home/rasool/Desktop/repo/node_modules/devextreme-angular/ivy_ngcc/fesm2015/devextreme-angular-ui-data-grid.js depends on 'devextreme/ui/data_grid'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

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.

repo: angular/angular-cli


text:
Please add support for the awesome, awesome jspm

After using webpack for a few months I moved the popular angular2 boilerplate project http://ng2.javascriptninja.io away from webpack and into jspm and I will never look back.
I am posting this in hopes ng cli will support jspm as this is superior to any other packaging blunder available today.
I am not sure if the ng2 team has reviewed jspm and if not, I highly recommend they do.
First, it is as close to the metal as possible which is a must for debugging, you are working with the non bundled files and so often errors are more accurate and if you are lucky you get a reference to the file name, something you will never get with a blunder.
Also, it is just in time transpiling of TS which is OMG amazing.. the workflow is fast and reliable. And it supports multi registries, github, npm, private and more.
and for production, you can even mix bundling with lazy loading...
Not to mention it supports multi versioning for modules.. sweeet....
all in all it is the ultimate package manager and I am sure many developers will move to it and so I hope this project will adopt it.
FYI I am not a contributor to jspm so no strings attached, just a HAPPY customer,
regards - http://jspm.io/
Sean

Hi @born2net!
The stance on JSPM is similar to the one on webpack: there isn't any plan right now to move to it, but I wouldn't say that won't happen in the future. Right now we're mostly focused on getting a few usage patterns fully working, customization comes after that.
Speaking for myself, I'd like to eventually have a clear set of instructions to have CLI users move projects to a different build system if they so wish, after the initial setup.

ok great, looking fwd to contributing jspm kitchen sink when need be,
regards

Glad to hear, cheers!

While I am usually loathe to add a "me too! +1!" kind of comment, I've got to say that I love SystemJS/JSPM. Granted, part of this may be due to the fact that it is easier to use out of the box (I'm rather new to the various solutions out there), but in my case I have an application composed of various widgets whose existence may not be known at build time, so the fact that SystemJS makes it easy to transparently load a module either from an existing (separate) bundle or "a la carte" has been awesome.

authors: DavidKDeutsch born2net filipesilva


text:
ng test fails to finish when using portable browsers

Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
No
Description
Currently (Angular 13) the way we run our angular tests in our CI system is we use portable versions of the browsers. You can download them here https://portableapps.com/apps/internet/google_chrome_portable. We use portable versions so that we can have multiple versions of the browser on the system and test several different versions by setting CHROME_BIN.
I am trying to upgrade to angular 14, and I am running into an isssue that is only seen when using a portable version of a browser. When you run ng test, the tests run and when they are done, the browser stays open and the command never finishes. The command we are using is ng test --no-watch --no-progress --browser=chrome. This poses and issue in a CI system that waits for the command to finish.
I am sure that this is just a small thing I am missing in the upgrade... If this was an intentional change, what is the preferred way to test across multiple versions of a browser? Multiple VMs? Anyways, thank you for your help with this.
Please provide a link to a minimal reproduction of the bug
https://github.com/cambamf/AngularTest
Please provide the exception or error you saw
The browser never closes so the command never finishes. I started to see this with the upgrade to angular 14.

Please provide the environment you discovered this bug in (run ng version)
Node: 16.18.1
Angular cli: 14.2.10

Anything else?
No response

Likely this is caused by a change that we no longer forcefully exit the process. From the looks of it the the Browser process is not being killed even though the --no-watch option is being used. This doesn't seem to be an issue caused by the CLI but more of a issue of the portable browsers, since this works for normal browsers, puppeteer and other services.
For multiple browsers version testing we typically use and suggest services like BrowserStack and Saucelabs.

@alan-agius4 Thank you! That is very helpful! So that I can understand more and try and track down the issue on the browser side, can you point to me where in angular it was forcefully exiting the process? Obviously it wont be in the development, but if you could show me where it was happening in the 13 branch... I have been looking through pull requests and haven't been able to find the change...

Also, I am looking more into browserstack, so thank you for the suggestion!

Here is the PR that removed the forceful exiting https://github.com/angular/angular-cli/pull/23166/

Perfect! Thank you so much! I will keep hunting down why the browser isn't closing! Thank you for your help and being very responsive!!

Were you able to find a solution to this? My unit tests are still not exiting in Continuous Integration even though I have the --no-watch flag in place


text:
ng build does not display typescript errors when output is not a tty

Command
build
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
When using an application to run ng build or piping the ng build output to a file, the typescript errors are not included, only the template warnings. When running it from a console/tty, the errors are correctly displayed.
We used to not have Typescript and Angular strict mode on. We want to get to the point where we have it on, so we are trying to capture the issues in our CI build and report them to Sonar as code smells via a custom eslint report so that we can reduce the issues over time. The problem is that trying to capture the ng build output is failing to work, hence reporting this issue. Without being able to get the typescript error output, it blocks our ability to capture this information.
Minimal Reproduction
No typescript errors reported:
ng build -c strict --no-progress 2>&1 >&- > /tmp/ng-output.txt

Typescript errors correctly reported:
ng build -c strict --no-progress

tsconfig.strict.json:
{
  "extends": "./tsconfig.app.json",
  "compilerOptions": {
    "baseUrl": "./",
    "strict": true
  },
  "angularCompilerOptions": {
    "preserveWhitespaces": false,
    "strictInjectionParameters": true,
    "strictInputAccessModifiers": true,
    "fullTemplateTypeCheck": true,
    "strictTemplates": true
  }
}

angular.json:
{
  ...
          "configurations": {
            "strict": {
              "tsConfig": "./tsconfig.strict.json"
            },
  ....
}

I'm actually trying to capture it from Python3, and getting the same problem:
import subprocess as sp
if __name__ == "__main__":
    p = sp.Popen(
        ["ng", "build", "--no-progress", "-c", "strict"],
        stderr=sp.STDOUT,
        stdout=sp.PIPE,
        bufsize=1,
        universal_newlines=True,
    )
    for i, line in enumerate(p.stdout, 1):
        line = line.rstrip()
        print(line)

Once again, only the Warning: lines are seen, the typescript errors are lost
Exception or Error
No response
Your Environment
_                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 16.0.3
Node: 16.16.0
Package Manager: pnpm 7.27.0
OS: darwin arm64

Angular: undefined
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1600.3
@angular-devkit/core         16.0.3
@angular-devkit/schematics   16.0.3
@schematics/angular          16.0.3

### Anything else relevant?

Mac OSX Ventura 13.4
Zsh command-line for the shell commands used above
Python 3.9.6 for the python code

Tried using `FORCE_COLOR` 3 and 0 and still no help

`ng build` seems to just be doing something really odd with its output when not a tty

Work-around found at least:
https://py4u.org/questions/52954248/
Using python to create a psuedo tty, and using FORCE_COLOR=0 in the environment, I can fake ng build to correctly produce the needed output. Very messy, but it will work until this can be fixed

Hi @arobinson,
I did try the above and I was not able to replicate it to the fully.
While I did replicate it using the pipe command, you suggested I was not able to do so with the below;
Discard stdout and redirect stderr to file
ng build -no-progress 1>&- 2>&/tmp/ng-output.txt

Redirect both stdout and stderr to file
ng build -no-progress $> /tmp/ng-output.txt

I also tried to use the Python script and this worked as expected.
import subprocess as sp
if __name__ == "__main__":
    p = sp.Popen(
        ["ng", "build", "bar", "--no-progress"],
        stderr=sp.STDOUT,
        stdout=sp.PIPE,
        bufsize=1,
        universal_newlines=True,
    )
    for i, line in enumerate(p.stdout, 1):
        line = line.rstrip()
        print('Log from PYI:' + line)

python build.pyi
Log from PYI:
Log from PYI:Error: projects/bar/src/app/app.module.ts:17:5 - error TS2552: Cannot find name 'AppRoutingMoxdule'. Did you mean 'AppRoutingModule'?
Log from PYI:
Log from PYI:17     AppRoutingMoxdule

Closing as we are unable to replicate this. If the problem persists please re-open with more information.


text:
Cannot install via npm

MacOS Sierra, node@v7.4.0, npm@4.0.5
I posted this issue also at npm …
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   'angular-cli' ]
2 info using npm@4.0.5
3 info using node@v7.4.0
4 verbose stack Error: Cannot find module 'github-url-from-git'
4 verbose stack     at Function.Module._resolveFilename (module.js:470:15)
4 verbose stack     at Function.Module._load (module.js:418:25)
4 verbose stack     at Module.require (module.js:498:17)
4 verbose stack     at require (internal/module.js:20:19)
4 verbose stack     at Object. (/usr/local/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js:2:22)
4 verbose stack     at Module._compile (module.js:571:32)
4 verbose stack     at Object.Module._extensions..js (module.js:580:10)
4 verbose stack     at Module.load (module.js:488:32)
4 verbose stack     at tryModuleLoad (module.js:447:12)
4 verbose stack     at Function.Module._load (module.js:439:3)
5 verbose cwd /Users/klaus
6 error Darwin 16.4.0
7 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "angular-cli"
8 error node v7.4.0
9 error npm  v4.0.5
10 error code MODULE_NOT_FOUND
11 error Cannot find module 'github-url-from-git'
12 error If you need help, you may report this error at:
12 error     https://github.com/npm/npm/issues
13 verbose exit [ 1, true ]

@KlausEichinger
I am afraid this is not enough context to be able to assist you.
What exactly are you trying to do ?
Where did you start off, which commands did you perform up-to the error proveded ?

Hi. Can you please provide the command line? Also, have you tried to add sudo at the beginning of your command line? Please let us know. Cheers...!

I'd also suggest updating npm.

Thank you for you interest. I tried to install a new angular project via angular-cli. In Terminal I called 'sudo npm install -g angular-cli'. Like it  is recommended on cli.angular.io. This attempt fairen several timer with error message wittert  above.
My MacOS, Node-Webkit and npm are up to date aß you ca See above

@KlausEichinger
Lieber Klaus
Du musst schon mehr herausrücken.
Mit dem Wenigen, dass Du preisgibst, können wir Dir nicht wirklich helfen.
Du kannst mal damit anfangen, dass Du genau angibst, was Du genau wo eintippst.
Sonst sind wir nur noch am Raten und Mutmassen, was echt niemanden weiterbringt.
Weniger vage beschreiben und mal konkret Dinge beim Namen nennen.
Also, der Ball ist bei Dir.

If you search for the error "Cannot find module 'github-url-from-git'", there are plenty of hits, such as https://github.com/nodejs/node/issues/3540.
Most of the hits suggest to get rid of your node installation, and re-install nodeJS.
Is that an option for you ?  Your installation seem to be broken.
I have installed nodeJS for a long time, every 2 to 3 months.
Never had to de-install a version, never had to delete the folder /usr/local/lib/node_modules/.

Hallo lieber @catull,
ich arbeite nicht erst seit heute früh als Entwickler. Was verstehst nicht du nicht daran, dass ich ein Angular(2) Projekt aufsetzen möchte? Dazu möchte ich angular-cli nutzen. Mit Node und npm arbeite ich auch schon etwas länger ;)
Wie du aus dem von npm erzeugten und oben zitierten Protokll ersehen kannst, sind alle Komponenten auf neuestem Stand. Wenn du also etwas konkret wissen möchtest, stelle bitte auch konkrete Fragen.
@GuriSoft the command line output is
Last login: Sun Jan 29 19:42:23 on ttys000
Klaus-MacBook-Pro:~ klaus$ sudo npm install -g angular-cli
Password:
npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "angular-cli"
npm ERR! node v7.4.0
npm ERR! npm  v4.0.5
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'github-url-from-git'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/klaus/npm-debug.log
Klaus-MacBook-Pro:~ klaus$

FYI: https://cli.angular.io/

What happens if you re-install ng CLI ?
sudo npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli

Same error ?

Do you have node modules in /usr/local/lib/node_modules, as well as in /Users/klaus/.npm ??

I did twice.
On my office mac I'd installed angular-cli successful two weeks ago. But I can't find any differences in the settings.

Do you have node modules in /usr/local/lib/node_modules, as well as in /Users/klaus/.npm ??

I don't think npm is the problem. I can install other components like bootstrap via npm.

Have you thought of giving yarn a chance ?

Not yet.
I try to combine angular w/ react, because of a better rendering from react components. My experiences w/ npm are throughout positive.

Actually, yarn is a different node package manager/installer.
You'd have to install it from npm, or install it from https://yarnpkg.com/.
Once installed, you can do this:
sudo yarn global add angular-cli@latest

It works super-fast.
Just did it again, and it was done in just under 70 seconds.
Can you try this ?

I just tried to install Yarn. Sounds fine. But npm failed!

Klaus-MacBook-Pro:~ klaus$ sudo npm install -g yarn
Password:
npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "yarn"
npm ERR! node v7.4.0
npm ERR! npm  v4.0.5
npm ERR! code MODULE_NOT_FOUND

npm ERR! Cannot find module 'github-url-from-git'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/klaus/npm-debug.log
I will go up and clean up my Mac manually tomorrow.

You see, about the same problem, to do with "Cannot find module 'github-url-from-git'"
When was the last time you were able to install something successfully ?

On my Mac, this is what I get with
npm -g list github-url-from-git

npm -g list github-url-from-git
/usr/local/lib
├── UNMET PEER DEPENDENCY @angular/compiler@<=2.3 >=2.2.0
├── UNMET PEER DEPENDENCY @angular/core@<=2.3 >=2.2.0
├── UNMET PEER DEPENDENCY grunt@1.0.1
├─┬ nativescript@2.4.2
│ └─┬ npm@2.15.9
│   └── github-url-from-git@1.4.0
├── UNMET PEER DEPENDENCY requirejs@^2.1.0
└── UNMET PEER DEPENDENCY tslint@4.2.0

Very suspicious, npm version 2.15.9 !!!

Do you have node modules in /usr/local/lib/node_modules, as well as in /Users/klaus/.npm ??
in /usr/local/lib/node_modules there is a npm folder, in /Users/klaus/.npm there only a folder w/ node-modules-path

When was the last time you were able to install something successfully ?
between the last two weeks ago

laus-MacBook-Pro:~ klaus$ npm -g list github-url-from-git
npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "-g" "list" "github-url-from-git"
npm ERR! node v7.4.0
npm ERR! npm  v4.0.5
npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'github-url-from-git'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/klaus/npm-debug.log
Klaus-MacBook-Pro:~ klaus$

I am afraid, a clean-up is a MUST now.
But, if you successfully install angular-cli after that, please report back.

I will do the clean-up and report. Thank for supporting

Gern geschehen.

Installed packages for tooling via npm.
Project 'angularreact' successfully created.
Klaus-MacBook-Pro:dev klaus$```

After removing manually all node* occurrences ([ helpful link ](http://stackabuse.com/how-to-uninstall-node-js-from-mac-osx/) and reinstalling Node – it works

I am glad it is working for you know; thanks for letting us know.

Glad you were able to find a solution to your issue, closing.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\amulya\angular cli projects\first\npm-debug.log
can you help me out how to solve this problem

when i amtrying to run angular4  with command npm-serve,it is showing the following error?
how to solve this problem..
Specify configs in the ini-formatted file:
C:\Users\Aravind.npmrc
or on the command line via: npm  --key value
Config info can be viewed via: npm help config

authors: Brocco GuriSoft KlausEichinger amulyaalva catull clydin


text:
RC Release notify emacscript 5 object error

RC before version show normal;
when i upgrade RC 0 ; emacscript 5 and under notify error;

My Package.json
{
  "name": "fpd-car-manage-frontend",
  "version": "0.0.1",
  "license": "MIT",
  "angular-cli": {},
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/common": "^2.4.0",
    "@angular/compiler": "^2.4.0",
    "@angular/core": "^2.4.0",
    "@angular/forms": "^2.4.0",
    "@angular/http": "^2.4.0",
    "@angular/platform-browser": "^2.4.0",
    "@angular/platform-browser-dynamic": "^2.4.0",
    "@angular/router": "^3.4.0",
    "core-js": "^2.4.1",
    "rxjs": "^5.1.0",
    "zone.js": "^0.7.6",
    "@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.20",
    "@types/lodash": "^4.14.52",
    "angular2-tree-component": "~2.5.0",
    "bootstrap": "^4.0.0-alpha.6",
    "classlist.js": "^1.1.20150312",
    "intl": "^1.2.5",
    "lodash": "^4.17.4",
    "ng2-slim-loading-bar": "^2.4.0",
    "socket.io": "^1.7.2",
    "socket.io-client": "^1.7.2",
    "ts-helpers": "^1.1.2",
    "web-animations-js": "^2.2.2"
  },
  "devDependencies": {
    "@angular/cli": "1.0.0-rc.0",
    "@angular/compiler-cli": "^2.4.0",
    "@types/jasmine": "2.5.38",
    "@types/node": "~6.0.60",
    "codelyzer": "~2.0.0",
    "jasmine-core": "~2.5.2",
    "jasmine-spec-reporter": "~3.2.0",
    "karma": "~1.4.1",
    "karma-chrome-launcher": "~2.0.0",
    "karma-cli": "~1.0.1",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "karma-coverage-istanbul-reporter": "^0.2.0",
    "protractor": "~5.1.0",
    "ts-node": "~2.0.0",
    "tslint": "~4.4.2",
    "typescript": "~2.0.0"
  }
}

.angular-cli.json
{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "project": {
    "version": "1.0.0-RC.0",
    "name": "fpd-car-manage-frontend"
  },
  "apps": [ {
    "root": "src",
    "outDir": "dist",
    "assets": [
      "assets",
      "favicon.ico"
    ],
    "index": "index.html",
    "main": "main.ts",
    "polyfills": "polyfills.ts",
    "test": "test.ts",
    "tsconfig": "tsconfig.app.json",
    "testTsconfig": "tsconfig.spec.json",
    "prefix": "app",
    "styles": [
      "styles.scss"

    ],
    "scripts": [
      "../node_modules/socket.io-client/dist/socket.io.min.js",
      "../node_modules/lodash/lodash.min.js"
    ],
    "environmentSource": "environments/environment.ts",
    "environments": {
      "dev": "environments/environment.ts",
      "prod": "environments/environment.prod.ts"
    }
  } ],
  "e2e": {
    "protractor": {
      "config": "./protractor.conf.js"
    }
  },
  "lint": [ {
      "project": "src/tsconfig.app.json"
    },
    {
      "project": "src/tsconfig.spec.json"
    },
    {
      "project": "e2e/tsconfig.e2e.json"
    }
  ],
  "test": {
    "karma": {
      "config": "./karma.conf.js"
    }
  },
  "defaults": {
    "styleExt": "scss"
  }
}

Thanks ..

This is currently fixed in master. Till next release add "dom"  to the lib array in tsconfig.json

close #5123  Thanks @deebloo

authors: crper deebloo


text:
feat(@schematics/angular): generate functional resolvers and guards by default

PR Checklist
Please check to confirm your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the new behavior?
As Angular v15.2 deprecates class-based resolvers and guards, this commit switches the functional flag default value to true.
Does this PR introduce a breaking change?

[x] Yes
[ ] No

ng g resolver and ng g guard now generate a functional resolver or guard by default. It is still possible to generate a (deprecated) class-based resolver or guard by using ng g resolver --no-functional or ng g guard --no-functional.
Other information

@cexbrayat We can now merge breaking changes. If you are still interested in getting this merged, can you cleanup the conflicts?

authors: cexbrayat clydin


text:
fix(@angular/build): avoid deploy URL usage on absolute preload links

The deployUrl option was unintentionally being prepended to preload links with absolute URLs within the generated index HTML for an appplication. This has now been corrected and absolute URLs will not be altered when a deploy URL is configured.
Closes: #29029

The changes were merged into the following branches: main, 19.0.x


text:
fix(@angular/cli):  support inlining stylesheet resource tilde paths

Fixes #8781

@filipesilva pls review and merge. I will be very happy :) it is very cool functionality in my app,

@filipesilva pls...

authors: clydin tahuba tamascsaba


text:
Angularjs app slow in firefox.

It works OK in other browsers can't figure out why it doesn't work in firefox.

It seems to be related with firefox. Works fine in firefox nightly build with multiprocess.


text:
IE fires parsers on blur event

Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
Using the tab key to trigger a blur event (without modifying the model) causes the parsers to fire in IE.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).
Here is a demo: https://jsfiddle.net/capesean/htorwgs5/3/
Using IE you can check the events being logged to the console. If you focus on the textbox and then Tab out, the parsers fire.
Here is a demo of the same code, with an older version (1.3) of Angular, where this isn't an issue:
https://jsfiddle.net/capesean/htorwgs5/
What is the expected behavior?
The parser shouldn't fire, so that the blur event can update the model correctly.
What is the motivation / use case for changing the behavior?
The parser gets fired so it updates the model incorrectly.
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
Doesn't work (incorrect behaviour) with Angular 1.5.3 or 1.5.8. Works with 1.2.0 and 1.3.0.
Other information (e.g. stacktraces, related issues, suggestions how to fix)

Which versions of IE are affected? (9,10,11?)

This is expected bahavior (I'm afraid) and I can reproduce as back as 1.3.20 (I didn't try older versions).
(Btw, your 2nd plnkr is the same as the first - it uses 1.5.3.)
This happens because the input event (which we rely upon in other browsers) is too messed up in IEs to be useful, so we rely on keyevents and checking the input's value for changes. I.e. whenever a key is pressed on IE, Angular schedules to check the input's value in the "next tick" and run the parsers/validators if it has changed (that is an iversimplified explanation of what is happening under the hood).
I don't think there is much we can do and it should usually not be a problem, except for uncommon usecases (like yours), where people programmatically change the input's value in the blur handler.
An easy workaround is to update the value asynchronously (updated plnkr):
elem.on('blur', function onBlur() {
  $timeout(function () {
    elem.val(...);
  });   // Possibly prevent the extra digest from running if you don't need it
})

I would be fine closing this as a won't fix, but leaving it up to @Narretz :stuck_out_tongue:

Thank you @gkalpak that workaround works perfectly.

authors: Narretz capesean gkalpak


text:
Memory leak in angular 1.5

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] other

Current behavior:
Currently in order for controller variables to be garbage collected, I have to reset all variables assigned to this object to null on destroy of controller. Ex :
class SampleController {
    constructor($scope, $rootScope, dependencyA) {
        this.$scope = $scope;
        this.$rootScope = $rootScope;
        this.dependencyA = dependencyA;
    }

    $onInit() {
        this.bindingA = 'Some value';
        this.bindingB = {key : 'Some Object'};
        this.bindingC = ['A', 'B', 'C'];
    }

    $onDestroy() {
        this.bindingA = null;
        this.bindingB = null;
        this.bindingC = null;
    }
}

If i don't reset all the variables in $onDestroy, the values will never be garbage collected.
Expected / new behavior:
Shouldn't the values assigned to this object automatically set to null when controller is destroyed ?
If not, what is the expected way to write code ? Because it's a cumbersome job to set all controller variables to null on destroy of each controller.
Minimal reproduction of the problem with instructions:
On comparing the heap snapshot in debugger of below 2 scenarios:

By assigning the controller variables to null
Not assigning the controller variables to null

AngularJS version: 1.5

Browser: [Chrome XX | Edge XX ]

Anything else:

Closing due to lack of response.

authors: atishayv gkalpak


text:
Feature request: need 'delay' option in $resource

Let's suppose we need to update some data from server when $watch calls for it. If user changes model too frequently (typing etc), it generates too many requests to server. Of cource, this can easily be avoided with little of code, but it would be sweet if $resource could take such option as 'delay' : '500ms' and send request to server if no more calls happenes in half a second.

I don't think this feature makes much sense in something like $resource (or angular 1) - fundamentally, this is the wrong way to approach saving user data because one can potentially end up saving the lower character entry before the higher character entry depending on how long the server takes to handle the requests. This is actually one of the major use cases for something like observables - one could hack to create a queue and peel off the end of the queue after a prior update happens, but $scope.$watch is a completely flawed approach for this type of operation.

For lack of a better way, I think this way of handling user data is fine. It sure needs some extra work to avoid the overwriting newer data with older, but we'll have to leave with that, I guess, since we don't have observables built into ng1's $http (for the time being :wink:).
But the debouncing feature doesn't sound like a good addition for $resource. $resource is about how to communicate with a (restful) data-source. The when to trigger that communication is beyond its scope and the two should remain decoupled imho.
I understand that it could be convenient in specific usecases, but would increase the complexity (both for users and maintainers) for the vast majority of usecases.

authors: gkalpak megapotz wesleycho


text:
docs($exceptionHandler): Bypass a circular dependency that occurs whe…

…n modules such as $http which depends on $exceptionHandler are injected in to the custom error handler
In the original code, If user attempts to inject a module that depends on $exceptionHanlder, it causes a circular dependency. It throws something like 'Circular dependency: $http <- $exceptionHandler <- $rootScope....'. The error happens even when a factory that depends on $http is injected.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug Fix
What is the current behavior? (You can also link to an open issue here)
If user attempts to inject a module that depends on $exceptionHanlder, it causes a circular dependency. It throws something like 'Circular dependency: $http <- $exceptionHandler <- $rootScope....'. The error happens even when a factory that depends on $http is injected.
What is the new behavior (if this is a feature change)?
Circular dependency chain is broken and the system works as expected.
Does this PR introduce a breaking change?
No
Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

@YohannesT Could you give a more detailes explanation of what you're solving here ?
Preferably a reproducable plunkr so we can have a look at what it is exactly that's causing this.

Circular dependencies are a real issue and working around the warning is solving the underlying problem (most of the time). Using $injector directly is OK if you know what you are doing, but I would rather not recommend it as a way of by-passing a warning of a real issue.
So, in your usecase, what happens if you have a issue that causes $http to throw an error? You'll get a nasty infinite loop (passing the arror to $exceptionHandler, will call $http, which will throw an error, which will get passed to $exceptionHandler, which will can $http, which will throw an error...you get the picture :smiley:).

Hi Guys,
Apologies for late response.
To address both of your concerns,
It does create an infinite loop if you're not careful. However, the
original documentation and style of code simply does not allow the user to
do useful things such as sending data to the backend. I could update the
pull request in a way that handles these concerns but before that I have
added sample code to better illustrate the situation.
here is a plunker https://plnkr.co/edit/k8FOdVXRfn8Jrp0YPeGX?p=previewthat
shows the initial problem. If you follow the link in the error logs in the
console, you will get to this angular error page
https://docs.angularjs.org/error/$injector/cdep?p0=$rootScope <- $http <- $exceptionHandler <- $rootScope
here is a working plunker
https://plnkr.co/edit/KX66E695PKZjKSlggXD2?p=preview. In it, you will see
an alert box that is triggered from the custom exception handler shown on
the scree.
On Mon, Apr 24, 2017 at 11:51 AM George Kalpakas notifications@github.com
wrote:

Circular dependencies are a real issue and working around the warning is
solving the underlying problem (most of the time). Using $injector
directly is OK if you know what you are doing, but I would rather not
recommend it as a way of by-passing a warning of a real issue.
So, in your usecase, what happens if you have a issue that causes $http
to throw an error? You'll get a nasty infinite loop (passing the arror to
$exceptionHandler, will call $http, which will throw an error, which will
get passed to $exceptionHandler, which will can $http, which will throw
an error...you get the picture 😃).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/angular/angular.js/pull/15934#issuecomment-296581956,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AECgu3ZBx0hN9cuoQ_tEaMwZNGb7qD-aks5rzGJzgaJpZM4NF2fD
.

--
Regards,
Yohannes

I've updated your working example to demonstrate what @gkalpak said above:

So, in your usecase, what happens if you have a issue that causes $http to throw an error? You'll get a nasty infinite loop (passing the arror to $exceptionHandler, will call $http, which will throw an error, which will get passed to $exceptionHandler, which will can $http, which will throw an error...you get the picture 😃).

https://plnkr.co/edit/MzKEzaNj5kwDp8l3y7cV?p=preview
I've included a simple counter to avoid an infinite loop. Try removing the counter and run the plunkr. (note: your browser might freeze :-) )

It does create an infinite loop if you're not careful. However, the original documentation and style of code simply does not allow the user to do useful things such as sending data to the backend.

My point is that if you want to log AngularJS errors to the backend, you need to account for the fact that $http (which is an AngularJS thing) might also throw (in which case you can't use it to log errors).

So, since $exceptionHandler is a pretty low-level service, you should either not use $http (use raw XMLHttpRequest for example) or take appropriate measures (e.g. as demonstrated by @frederikprijck above) to avoid problems (such as freezing your user's browser).
Both otpions fall under the "advanced usecase" category, so I don't think they are a good fit for the docs example. But neither is recommending the use of $injector which may help people shoot themsleves in the foot.

@gkalpak I want to point out needing to override $exceptionHandler itself may fall in the category of "advanced usecase". If you agree with that premise then I believe the documentation for it should be something that shows the user its proper usage with regards to injecting certain modules (even if that explanation delves into raw XMLHttpRequest or $injector). I say this because the current documentation conveniently leaves out what would happen if users inject $http and users who plan to log the error on the back end will likely try $http first.

@YohannesT what you are describing is not only related to $exceptionHandler.
Generally, when you are overriding TypeAwhich is a dependency of TypeB, and you add TypeBas a dependency of TypeA you'll be facing the same issue.
I t don't think there's alot we can do about that regarding to the documentation. This isn't even an angularjs or javascript issue, you could easily reproduce this in any language.

fair enough

authors: YohannesT frederikprijck gkalpak


text:
feat(Auth): replace FirebaseAuthState with firebase.User

Evaluate if/why we still need our own type for FirebaseAuthState, and if not, remove it.
I think we may have kept it around during the Great Refactor™ to make it easier to attach credentials to the object, which weren't included in firebase.User.

I wonder if this might allow access to the facebook access token for using the graph api in client code?  I can't find that anywhere on the auth I get back from angularfire.  Thought I'd read existing issues before submitting my own.

authors: JasonGoemaat jeffbcross


text:
Accesability Issue. Mat-stepper

Reproduction
https://stackblitz.com/angular/rdypvkkpelo?file=app%2Fstepper-overview-example.ts
Steps to reproduce:

Add new header with any heading tag inside the stepper step.
Then run the jaws and if we check by using insert + F3 and then button list. All the buttons in the page are appending with the header.

Expected Behavior
What behavior were you expecting to see?
Button with its own name
Actual Behavior
What behavior did you actually see?
header then button name

Any update on this issue?

am also facing mentioned issue in mat stepper. Any information will be helpful for us.

i am also facing issue

josephperrott Any update on this?

@josephperrott Can this be fixed?

@crisbeto Can you please take a look at this issue.

I looked at this just now, and the button label seems normal:

Can you share a reproduction of what you're seeing? The linked stackblitz does not have any headers.

Closing since this seems to be working as expected.

authors: ajay1208 jelbourn rajudevansh rchjava

repo: angular/components


text:
Using Virtual Scrolling on Flat Tree Component

Hi,
I have been looking for implementation of Virtual Scrolling on Material Tree (flat tree version) all over the internet but I could not find one. The tree component I use for my project tend to display lots of nodes (could probably reach 2000+ nodes), especially when the "Expand All" feature is invoked and the application of Virtual Scrolling can significantly improve the rendering time in the DOM.
I suggest a detailed example of the implementation of Virtual Scroll on Material Tree be included in Angular Material documentation.
Thank you very much,.

Duplicate of #10122

authors: izyte jelbourn


text:
bug(COMPONENT): MatError is displayed inside MatFormField Borders when wrapped in NgContainer

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Given the following code:
<mat-form-field appearance="outline" fxFlex>
  <mat-label>First Name</mat-label>
  <input matInput formControlName="firstName">
  <ng-container *ngIf="(firstNameErr$ | async) as firstNameErr"> // ⬅ NgContainer
    <mat-error>Please enter at least {{ firstNameErr?.requiredLength }} characters</mat-error>
  </ng-container>
</mat-form-field>
<mat-form-field appearance="outline" fxFlex>
  <mat-label>Nachname</mat-label>
  <input matInput formControlName="lastName">
  <mat-error *ngIf="(lastNameErr$ | async) as lastNameErr"> // ⬅ No NgContainer
    Please enter at least {{ lastNameErr?.requiredLength }} characters
  </mat-error>
</mat-form-field>

the mat-error gets incorrectly displayed inside the matFormField Outlines:

Reproduction
Steps to reproduce:

See Code above

Expected Behavior
The MatError gets display below the outlines of the FormField even when wrapped in an NgContainer
Actual Behavior
The Mat Error gets displayed below the outlines of the FormField when wrapped in an NgContainer
Environment

Angular: 15.1.1
CDK/Material: 15.1.2
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): MacOs

Placing ng-content inside of an ng-container will break content projection for the wrapper component. There is no way around this because of how content projection works in Angular, so we must consider this to be working as intended
Still, I believe your desired affect can be achieved using Angular's built-in form validation - https://angular.io/guide/form-validation.

I have the same problem, in my case I have the mat-error in a separate component where, according to a logic, the mat-error is shown, it is worth mentioning that this did not happen in previous versions. What solution can you give me? Thank you.

authors: jimyhdolores jwittekind wagnermaciel