Intermittent rate limit errors cause CI/CD pipelines to fail when using the azure cli

Describe the bug
We are running the azure cli in a pipeline on Bitbucket to deploy Bicep templates to our development environment, and soon enough to production as well. Intermittently, our pipelines fail due to rate limits when the Azure CLI performs a version check for Bicep. Running az deployment group create ... sometimes fails with:
DEBUG: cli.azure.cli.core.util: Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/azure/cli/command_modules/resource/_bicep.py", line 157, in get_bicep_latest_release_tag
    response.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 953, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: rate limit exceeded for url: https://api.github.com/repos/Azure/bicep/releases/latest
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 692, in _run_job
    result = cmd_copy(params)
  File "/usr/local/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/usr/local/lib/python3.9/site-packages/azure/cli/command_modules/resource/custom.py", line 542, in deploy_arm_template_at_resource_group
    return _deploy_arm_template_at_resource_group(cmd=cmd,
  File "/usr/local/lib/python3.9/site-packages/azure/cli/command_modules/resource/custom.py", line 571, in _deploy_arm_template_at_resource_group
    deployment_properties = _prepare_deployment_properties_unmodified(cmd, 'resourceGroup', template_file=template_file,
  File "/usr/local/lib/python3.9/site-packages/azure/cli/command_modules/resource/custom.py", line 982, in _prepare_deployment_properties_unmodified
    run_bicep_command(["build", "--stdout", template_file])
  File "/usr/local/lib/python3.9/site-packages/azure/cli/command_modules/resource/_bicep.py", line 63, in run_bicep_command
    ensure_bicep_installation(stdout=False)
  File "/usr/local/lib/python3.9/site-packages/azure/cli/command_modules/resource/_bicep.py", line 106, in ensure_bicep_installation
    release_tag = release_tag if release_tag else get_bicep_latest_release_tag()
  File "/usr/local/lib/python3.9/site-packages/azure/cli/command_modules/resource/_bicep.py", line 160, in get_bicep_latest_release_tag
    raise ClientRequestError(f"Error while attempting to retrieve the latest Bicep version: {err}.")
azure.cli.core.azclierror.ClientRequestError: Error while attempting to retrieve the latest Bicep version: 403 Client Error: rate limit exceeded for url: https://api.github.com/repos/Azure/bicep/releases/latest.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/azure/cli/core/commands/arm.py", line 109, in handle_template_based_exception
    raise CLIError(ex.inner_exception.error.message)
AttributeError: 'ClientRequestError' object has no attribute 'inner_exception'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/local/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 658, in execute
    raise ex
  File "/usr/local/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/usr/local/lib/python3.9/site-packages/azure/cli/core/commands/__init__.py", line 713, in _run_job
    return cmd_copy.exception_handler(ex)
  File "/usr/local/lib/python3.9/site-packages/azure/cli/core/commands/arm.py", line 114, in handle_template_based_exception
    raise CLIError(ex)
knack.util.CLIError: Error while attempting to retrieve the latest Bicep version: 403 Client Error: rate limit exceeded for url: https://api.github.com/repos/Azure/bicep/releases/latest.
ERROR: cli.azure.cli.core.azclierror: Error while attempting to retrieve the latest Bicep version: 403 Client Error: rate limit exceeded for url: https://api.github.com/repos/Azure/bicep/releases/latest.
ERROR: az_command_data_logger: Error while attempting to retrieve the latest Bicep version: 403 Client Error: rate limit exceeded for url: https://api.github.com/repos/Azure/bicep/releases/latest.
DEBUG: cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f458d57df70>]
INFO: az_command_data_logger: exit code: 1
INFO: cli.__main__: Command ran in 0.642 seconds (init: 0.137, invoke: 0.505)
INFO: telemetry.save: Save telemetry record of length 3236 in cache
WARNING: telemetry.check: Negative: The /root/.azure/telemetry.txt was modified at 2022-02-17 09:03:42.859799, which in less than 600.000000 s

To Reproduce
Run az deployment group create ... in a Bitbucket pipeline, and hope for the worst I guess.
Expected behavior
We expect that our az deployment group create ... behaves consistently, and is not failing due to rate limits in version checks.
Environment summary
Bitbucket pipelines using the image:
mcr.microsoft.com/azure-cli@sha256:d2a53ad219b28567e256693eba1b985bbebea4687fddf293b0ab6d75ab9f728b

Additional context
We are worried that this behavior may be caused by multiple clients sharing the same IP address in Bitbucket pipelines, which thus increases the risk of hitting this API limit. In any event, we can think of two solutions that seem reasonable:

Do not return an erroneous exit code just because the version check fails, but rather log a warning and carry on with the command
Add a flag to disable version checks entirely, which could be useful in CI/CD environments

If this is simply because we are using the tool incorrectly, please let us know how to do better!

ARM

Hi.
As this has become a recurring issue for us, we would like to bring further attention to it.
We (@Xitric and myself) have spent some time identifying the root cause of the issue, and it seems to boil down to a simple matter of incorrect error suppression in try-except constructions.
The error occurs during the function ensure_bicep_installation, when it invokes get_bicep_latest_release_tag.
https://github.com/Azure/azure-cli/blob/f70a427035f4577c817942968183d475a415bcb2/src/azure-cli/azure/cli/command_modules/resource/_bicep.py#L103
A rate limit error returned from the GitHub API will be translated correctly into a ClientRequestError, as seen in the function get_bicep_latest_release_tag.
https://github.com/Azure/azure-cli/blob/f70a427035f4577c817942968183d475a415bcb2/src/azure-cli/azure/cli/command_modules/resource/_bicep.py#L149-L155
However, when that function is invoked by ensure_bicep_installation it happens within a scope that doesn't suppress the ClientRequestError. All of this is contained in the function run_bicep_command.
https://github.com/Azure/azure-cli/blob/f70a427035f4577c817942968183d475a415bcb2/src/azure-cli/azure/cli/command_modules/resource/_bicep.py#L54-L82
The fix we have identified for this, is to simply move the error suppression already defined in run_bicep_command, to include the function call to ensure_bicep_installation.
https://github.com/Azure/azure-cli/blob/f70a427035f4577c817942968183d475a415bcb2/src/azure-cli/azure/cli/command_modules/resource/_bicep.py#L66
Please let us know if this will be an acceptable solution, and whether there are other angles to this, that we may not have considered.

@Shenglol Could you help  look at the bicep related issue?

@Agger1995 the issue with your solution is that this only works if your client already has been installed. There is still the case where the bicep binary is not yet available on the system but rate limiting is hit due to requests to the github api by other clients.

@rouke-broersma @Agger1995
I was going to say the same thing, in my case is its not installed at all yet. That being said, I don't see why you wouldn't take the change proposed, because in the other case it likely would help. But I wouldn't consider it to solve the issue.

I agree, I just think that case does need to be caught and have it's own error message instead of adding this suppression and then dying somewhere else down the line because the binary doesn't actually exist.

We just went over the source code again, and it turns out that we had a wrong impression of the Docker image we were using - we assumed Bicep was included, but we see now that it is in fact installed every time. So in that regard, the CLI is working correctly. But it is true that a more descriptive error message would be preferred.
Until they find a solution to their rate limit issues in the Bicep project, I guess we will just resort to using a custom Docker image for our pipeline.

Just as FYI - we plan to host bicep on a CDN in the near future to avoid hitting the rate limit:
https://github.com/Azure/bicep/issues/3689

@Xitric Thanks for the update. Please let us know if you need any further assistance on this issue. Awaiting your reply.

Hello @navba-MSFT, we do not need any more assistance on this issue, and are simply waiting for updates on the use of a CDN. In the meantime we may need to use workarounds.

@alex-frankel / @navba-MSFT
Any ETA on this moving to a CDN? 7 months feels a little excessive to just let the tooling break.

I am facing the same problems when using GitHub Actions - it's really starting to be annoying and impact business, due to the lack of ability to simply deploy resources to Azure.

same here for me. sometimes it is working, sometimes not.


Corrected Authority in MsalServiceClientCredentialsFactory

#minor
Corrects usage in SingleTenant configurations.

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.AspNet.Core.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll


Einstein Autocomplete for LWC Config File

Is your feature request related to a problem? Please describe.
Nope, just a productivity boost
Describe the solution you'd like
Autocomplete for LWC XML config files. For example, after creating a new component I could navigate to the config file
and type something like "record page" under the isExposed tag and it could buildout the targets > target necessary for record pages.
Describe alternatives you've considered

Looking up the documentation myself
OR
Creating a VSCODE snippet
OR
Using an external app like Lightning Studio to create LWCs
OR
Career swapping. I think I could disrupt the landscaping industry in my area
OR
Watching Cat videos all day on youtube until someone figures out I'm not being productive

Additional context
Single male almost 40 years old. I've drank a TON of Redbulls today. I like short walks on the beach. In a great mood. It's Friday and I just deployed a huge ADO ticket so I had a moment to come up for air. While up for air I decided to ask you guys for this feature. ⚡😎

@robertStrunk 🥇 on a well written feature request.  I'm going to covert to a discussion as that's where we're tracking enhancements.


Infinite loop using login with email and password

Good afternoon.
I'm having a problem connecting using the email and password method.
I'm stuck in this loop:
https://github.com/mobizt/Firebase-ESP-Client/blob/704a2959a649ffe2635ae05615d66c3372af9fb1/src/signer/Signer.cpp#L613
chunckBufiSise is always = zero, so it doesn't leave the loop.
I'm using the code ---> examples ---> Firebase_esp_client ---> authentications ---> Email_Password
will it be a bug, or am i doing something wrong?
thanks.

It's not impossible to run infinite because it will timed out after 5 seconds.
You may provide the wrong Firebase credentials or your internet connection.

Update:
It can be happen but not the cases valid Firebase credentials which everything must be ok with that.
Check your Firebase AUTH and other credentials.


Setting minDate on a time-only picker resets the initial value to the minimum date value

I'm using two time pickers to get a time range from the user; when I open the picker on the toTime input field, its original value is overwritten by its minDate value (taken from the fromTime input field).
On the other hand, the picker on the fromTime input field works correctly by setting a maxDate (taken from the toTime input field).
Fiddle: https://jsfiddle.net/oc3bshaL/1/

Encountered this issue as well. Fiddle: https://jsfiddle.net/w92ucsy7/
It works fine with the maxDate setting, but for the minDate (on picker 2) it sets its default date to the minDate, ignoring the default date.

I'm encountering the same issue. Basically makes minDate useless for editing an existing value.

I've updated my original jsfiddle by adding the useCurrent option and it seems to work.
Thanks for the help.


why the useful proxy is too less?

There used to be a lot of useful proxy, but after updating it - the useful proxy never increase much from 100. Sometime it's as low as 4. Before, it never used to get less than 400-500. I was using it for long time and it never happened until recently. I am using it on Ubuntu server. Currently there are only 87 raw proxy and 14 useful proxy. Any idea why its happening or is it normal?

@iamanam the proxy count depends on ProxyGetter，some free proxy website disabled now.
on the other hand , i quickening check pace, the proxy count is less and proxy quality more better

@iamanam the proxy count depends on ProxyGetter，some free proxy website disabled now.
on the other hand , i quickening check pace, the proxy count is less and proxy quality more better
proxy_pool/Schedule/ProxyValidSchedule.py
Line 60 in 0c48d9d
time.sleep(5)

I think it is better to set this parameter be in setting.py, then  each user can adjust this parameter according to their requirements.

@jhao104  in that case more agent should be added i guess if its possible. Anyway, thanks for the good work.


Is it ok to use the Content area type with Card page extensions?

The documentation on this page says that the Content area type can be used with RoleCenter and List pages only.
I use the Content area type in extending a Card page, specifically the "Item Card" page, and BC displays perfectly the groups I add.
Is it ok to use the Content area type with Card page extensions?
pageextension 50100 ItemCardExt extends "Item Card"
{
    layout
    {
        addlast(Content)
        {
            group("My Group")
            {
                field(A_FieldName_Here; A_FieldName_Here)
                {

                }
            }
        }
    }
}

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

ID: 0363ee62-5ad8-5e9a-82f5-27b3fa351506
Version Independent ID: cb7dcfb3-3766-35a9-dade-dc5d450f6e25
Content: Pages Overview - Business Central
Content Source: dev-itpro/developer/devenv-pages-overview.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Hello thanks for your question. Yes, you can definitely use the content area in the context above as an anchor for placing controls. We will make this more clear in the documentation. This will be fixed with the next refresh of the docs. Thanks!

ok, thanks.


Allow for custom context menu

Custom Context Menu
For my app, I would like to customize the context menu that opens on text selection.
I've been looking for a way to do it with the current implementation, but could not find a straight forward "clean" way.
After exposing the contextMenuBuilder I was able to customize the menu.

For which the implementation looks like this:
QuillEditor(
  // .. params
  textSelectionControls: CustomTextSelectionControls(),
  // enableSelectionToolbar: true,  // <-- Still hides the context menu
  contextMenuBuilder: (context, state) {
    return AdaptiveTextSelectionToolbar(
      anchors: state.contextMenuAnchors,
      children: [
        Container(
          // Container attributes here...
          child: Row(
            children: <Widget>[
              // (Icon) Buttons here
            ],
          ),
        ),
      ],
    );
  },
),

And/Or give more control over the native context menu:
Like adding or removing buttons to it.

contextMenuBuilder: (context, state) {
  List<ContextMenuButtonItem> btnItems =
      List.from(state.contextMenuButtonItems);

  btnItems.removeWhere(
    (item) => item.type == ContextMenuButtonType.selectAll
  );

  return AdaptiveTextSelectionToolbar.buttonItems(
    buttonItems: btnItems,
    anchors: state.contextMenuAnchors,
  );
},

If there is a way to come to the first result, I'd be happy to learn about it, otherwise I think this would be a welcome addition.
Please let me know if changes or additions are needed.

LGTM

@singerdmx I've added some tests.
Could make it simpler by just changing the name for one of the menu items and check for that.
In any case, glad to receive feedback.

Looks good!

Hey @Junoburger. Thanks for you contribution. I've tried to open a PR just now. What a coincidence :D


Raiden on Arbitrum: remove settle_timeout from channel state and events

#1557 removed the variable settle timeout, but still left it in the channel state, wasting gas (store is expensive). We want to remove the settle_timeout constant (per deployment) from all stores/mappings and events, to save gas, and to ensure clients fetch the global value directly from the contracts from now on.
One reason why it's still in channel state/struct is because this variable is reused to store the point in time after which the channel becomes settleable. A possible implementation is to have this timestamp persisted in a separate mapping, which also gets cleared upon settlement. Notice that this saves gas by not needing the store space/write operations on channel open, and if the channel gets coop-settled, actually never gets set.

I think there might be some confusion going on here. #1557 didn't remove settle_timeout, it introduced the variable to replace the previously configured range from settle_timeout_min to settle_timeout_max, so now we have a more precise timeout configured.
On top of that, #1573 switched this variable to store an actual timestamp instead of a block number.
As such, we can't get rid of the settle_timeout variable, because it is being used in quite a few places.

settle_timeout isn't expected to go away, it needs to exist, but now it should be just a contract's constant, instead of specific per channel. This issue is about removing all places where it's still channel-specific, like a copy of this constant on every Channel struct instance, and it being emitted in the ChannelOpened event. Removing these will save some gas, and anyone interested in the value should fetch it from the contract's method.

Fixed by #1586 in arbitrum branch


Home Screen Backup options

When user clicks on " backup your wallet "on Home Screen it brings user to the gift tab.
ideal behaviour :-  User should be navigated to the setting tab where he should have options to backup. ie via seed or cloud.

Completed Tested On RealmeX7 Build:- 2.0.90(493)


Typing opening and closing parens throws error "ERROR: Message 'isSymbol' not understood"

Typing an open paren will autocomplete with a closed paren but the below error will be thrown.
MacBook, M1, 13.5.2
VSCode running in rosetta
SuperCollider: latest dev version as of 11/4
ERROR: Message 'isSymbol' not understood.
Perhaps you misspelled 'asSymbol', or meant to call 'isSymbol' on another receiver?
RECEIVER:
Instance of String {    (0x7fc1d8309e00, gc=01, fmt=07, flg=11, set=02)
  indexed slots [20]
      0 : L
      1 : a
      2 : n
      3 : g
      4 : u
      5 : a
      6 : g
      7 : e
      8 : S
      9 : e
     10 : r
     11 : v
     12 : e
     13 : r
     14 : .
     15 : q
     16 : u
     17 : a
     18 : r
     19 : k
}
ARGS:
PATH: /Users/david/Library/Application Support/SuperCollider/startup.scd

PROTECTED CALL STACK:
	Meta_MethodError:new	0x7fc1d02fe4c0
		arg this = DoesNotUnderstandError
		arg what = nil
		arg receiver = LanguageServer.quark
	Meta_DoesNotUnderstandError:new	0x7fc1d0300800
		arg this = DoesNotUnderstandError
		arg receiver = LanguageServer.quark
		arg selector = isSymbol
		arg args = [  ]
	Object:doesNotUnderstand	0x7fc1c81d9c40
		arg this = LanguageServer.quark
		arg selector = isSymbol
		arg args = nil
	Meta_Singleton:new	0x7fc1c8316580
		arg this = Log
		arg name = LanguageServer.quark
		arg settings = nil
		var sing = [  ]
		var classAll = nil
		var created = nil
	SignatureHelpProvider:findMethodName	0x7fc1d8311380
		arg this = a SignatureHelpProvider
		arg string =

()

		arg end = 3
		var parenScope = 1
		var commaCount = 0
		var match = nil
		var ch = nil
	SignatureHelpProvider:onReceived	0x7fc1d830b880
		arg this = a SignatureHelpProvider
		arg method = textDocument/signatureHelp
		arg params = Dictionary[ (context -> Dictionary[ (triggerKind -> 2), (isRetrigger -> false), (triggerCharacter -> () ]), (textDocument -> Dictionary[ (uri -> file:///Users/david/Documents/supercollider/projects/202311/test.scd) ]), (position -> Dictionary[ (character -> 1), (line -> 2) ]) ]
		var doc = a LSPDocument
		var position = ( 'character': 1, 'line': 2 )
		var context = Dictionary[ (triggerKind -> 2), (isRetrigger -> false), (triggerCharacter -> () ]
		var range = [ 2, 3 ]
		var char = 3
		var methodName = nil
		var commaCount = nil
		var ownerClass = nil
	a FunctionDef	0x7fc1c88570c0
		sourceCode = "<an open Function>"
	Function:prTry	0x7fc1d85c8b80
		arg this = a Function
		var result = nil
		var thread = a Routine
		var next = nil
		var wasInProtectedFunc = true

CALL STACK:
	DoesNotUnderstandError:reportError
		arg this = <instance of DoesNotUnderstandError>
	< FunctionDef in Method LSPConnection:prHandleMessage >
		arg error = <instance of DoesNotUnderstandError>
	< FunctionDef in Method Deferred:then >  (no arguments or variables)
	Routine:prStart
		arg this = <instance of Routine>
		arg inval = 1368.460593916
^^ ERROR: Message 'isSymbol' not understood.
Perhaps you misspelled 'asSymbol', or meant to call 'isSymbol' on another receiver?
RECEIVER: LanguageServer.quark

[Error - 11:57:03 AM] Request textDocument/signatureHelp failed.
  Message: DoesNotUnderstandError
  Code: -397928297

This issue was fixed in the Singleton quark, updating should resolve: https://github.com/scztt/Singleton.quark/commit/db269c0c6e5392646ac026bf83425d44160c46fe

Confirmed. Thank you!


versionUp v1.32(43)

SSIA

JaCoCo Code Coverage 81.04% :white_check_mark:

Class
Covered
Meta
Status

  Generated by :no_entry_sign: Danger

Snapshot diff report

File name
Image


Add support for digits in names

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nikomatsakis (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@nikomatsakis ping?

Thanks, and sorry for the delay!


[FLINK-14693][hotfix][python] Python tox checks fails on travis

What is the purpose of the change
This pr fix the tox wrong installation
Brief change log

replace conda install tox with pip install

Verifying this change
This change added tests and can be verified as follows:

fix installing error without test

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@HuangXingBo Thanks a lot for the update. LGTM.


Unable to scroll down while dragging

I've noticed that while dragging a square at the top of the page, it will start to scroll up but it doesn't do the same when dragging a square at the bottom of the page. With the ToyPad being at the bottom of the page, I'd like to know if I'm doing anything wrong or if this is a known issue that is in the works

Nah you're not doing anything wrong. I know about that issue but thanks for pointing it out. Scroll boundaries for JQueryUI are really finicky and I struggled to get them fully working. Hope to fix that.

I already lowered the scroll speed some time ago, so you can scroll down on PC. But on phones and tablets there has to be a better solution.
Maybe you listen for the mouse move event and let the page scroll down if the user is dragging and the cursor is lower than a certain Y coordinate in the browser window. (like if height - cursorpos = 100).

I implemented a new scrolling mechanism in v1.3.4: https://github.com/Berny23/LD-ToyPad-Emulator/releases/tag/v1.3.4
Updating guide: https://github.com/Berny23/LD-ToyPad-Emulator#update

Works great, no longer need to use a separate mouse with a dedicated scroll wheel!


[Feature] CheckBox

Is your feature request related to a problem? Please describe.
Feature request: CheckBox.

source
Describe the solution you'd like

It muse have no dependencies.
It must works with same style for all platforms.
It must have a modifiable style.
It muse be acceptable custom image.

Describe alternatives you've considered
Additional context
Refs

https://material-ui.com/components/checkboxes/
https://react-native-elements.github.io/react-native-elements/docs/checkbox.html

Goal

Implementing CheckBox component with test codes
Adding storybooks for CheckBox component and sub-components.

It must need all check.
The indeterminate property can help you to achieve a 'check all' effect.

Library

styled-components
storybook.js
@testing-library/react-native

@JinleeJeong Thanks to take this feature.

@hyochan I found that you implemented the CheckBox component in #320. And some contributors are making CheckBox also as https://github.com/dooboo-ui-turtle/dooboo-ui/tree/turtle/Checkbox. It could be better to do not update by yourself more cause other contributors will do that ASAP.

@JeffGuKang Followed that. Sorry that I've missed this thread is being continued! Actually, @JinleeJeong, you can just refer to the implementation and you may completely re-design it if you want to build up your own thing.
The current implementation is still roughly developed so any breaking changes or destruction is fine either as long as there is communication 😃

Looks like this lovely feature is missing in our storybook


Warning in terminal: warn - ~text: Line height: Missing start value

With the latest version I'm getting the warning warn - ~text: Line height: Missing start value as soon as I import tailwind.css (in my style.css) like this:
@tailwind base;
@tailwind components;
@tailwind utilities;

My tailwind.config.js looks like this:
/** @type {import('tailwindcss').Config} */
import fluid, { extract, screens, fontSize } from 'fluid-tailwind'

module.exports = {
  content: {
    extract
  },
  theme: {
    screens,
    fontSize,
    extend: {
      colors: {
        primary: '#0D0D19',
        accent: '#575757'
      }
    }
  },
  plugins: [
    fluid({
      checkSC144: false
    })
  ]
}

Any ideas?

That's the thing, I'm not using any :/
I'm simply importing tailwind css.

Would be awesome if fluid could name the source of the warning including some more context, like file and line number.
It's almost impossible to troubleshoot currently

Would be awesome if fluid could name the source of the warning including some more context, like file and line number. It's almost impossible to troubleshoot currently

Yeah, I agree. I've actually done quite a bit of work to get it to its current state but Tailwind plugin error handling is very limited AFAIK (I don't think Tailwind itself keeps track of file or line number).
I'm also a bit confused how this warning could be coming up without any classes, and couldn't reproduce it in this sandbox: https://codesandbox.io/p/devbox/fluid-tailwind-5prf3k. Is your project open source or available to download?

I've managed to isolate the issue I think, the warning appears when you do this for instance:
~text-[1rem]/3xl
Here's a code sandbox to illustrate that: https://codesandbox.io/p/devbox/fluid-tailwind-forked-wm347p
It seems it only happens with ~text-. Not with ~px-[1rem]/8 as an example.
But I was under the impression that setting an arbitrary value this way is valid, no? Am I missing something?
I don't know why it happens on my end even when there is just an empty body tag and no css except tailwind itself (as per your codesandbox example).

Ah, yeah this makes sense! Yeah, setting an arbitrary value this way is totally valid. With text, though, the default values (i.e. 3xl) also have line heights, so in this example the plugin doesn't know how to interpolate between 1rem (font size only) and the second one 3xl (font size + line height). I've gone back and forth on how to handle cases like these, because theoretically the plugin could probably use the relative line height from the second one. I forget why I decided against that but I'm currently exploring it again.
Anyway, for now you could just do ~text-[1rem]/[theme(fontSize.3xl)] (which pulls the font size without the line height) and set line height separately with i.e. ~leading-*/*. Curious to hear your thoughts on this!

Ah I see, that makes total sense. So as far as I can tell, in a case like this line height is just disregarded completely right?
I think the simplest solution would be to just get rid of the warning all together. It will most likely just lead to confusion, but maybe that's just me. Apart from the warning message, the results I got were what I expected intuitively. And if someone isn't happy with the result, they can just set leading explicitly.
Or you could change the warning message to be more descriptive. I had no idea what was going on xD but again, ymmv.
Another solution could be something like this maybe:
~text-[1rem/1.5rem]/3xl or ~text-[1rem_1.5rem]/3xl
not sure if that's possible, but this way we could set font-size and line-height in one go.


Ignore nf-core/configs repo

Don't show the configs repo on the pipelines page.

Confident enough in this to break the rules and self-merge.

Crap, it didn't work. Why not?? I'm going to leave it a little while and hope that it magically fixes itself.

Looking at the server I think that we probably hit the API limit. The update script seems to be unable to fetch the list of URLs when it works fine for me. So hopefully this will magically fix itself tomorrow when it tries to fire again for some event.

..changed the web hook to fire on forks, releases and new stargazers. Hopefully that will mean it runs a lot less frequently than on every push event, but still keep the website up to date.


[website] added Proximity principle guide

I am closing this PR due to irrelevance. Maybe someday we will add such a guide to the DS, but this version isn't good unfortunately for bringing it to the master branch.


Add repo filtering functionality

Description
This pull request introduces a new feature that allows users to filter the repositories when generating GitHub Actions usage statistics using the CLI tool.
Related Issue:

[x] Resolves: #8

Before:
Prior to this change, the CLI tool provided general usage statistics for all repositories associated with the target GitHub organization/user. There was no built-in capability to filter the repositories and focus on a select few.
After:
With this enhancement, users can now specify a set of repositories to filter when generating GitHub Actions usage statistics. This enables them to focus on the specific repositories they care about and obtain more targeted insights.
Changes Made:

Added support for filtering repositories by specifying a comma-separated list of repository names through the -include flag or by providing a file containing repository names with the -include-file flag.
Implemented parsing of repository names from both command-line input and file input.
Implemented filtering capability

Examples
Before this change
./actions-usage -user bxffour -token-file pat.txt

Output:
Generated by: https://github.com/self-actuated/actions-usage
Report for bxffour - last: 180 days.

Total repos: 22
Total private repos: 0
Total public repos: 22

Total workflow runs: 26
Total workflow jobs: 56

Total users: 1

Success: 34/56
Failure: 4/56
Cancelled: 0/56
Skipped: 18/56

Longest build: 1m19s
Average build time: 21s

Total usage: 19m55s (20 mins)

After this change
./actions-usage -user bxffour -token-file pat.txt -by-repo \
	--include bxffour/geoinfo,bxffour/bxffour.github.io

Output:
Total repos: 2
Total private repos: 0
Total public repos: 2

Total workflow runs: 26
Total workflow jobs: 56

Total users: 1

Success: 34/56
Failure: 4/56
Cancelled: 0/56
Skipped: 18/56

Longest build: 1m19s
Average build time: 21s

Repo                      Builds         Success        Failure        Cancelled      Skipped        Total          Average        Longest
bxffour/geoinfo           44             22             4              0              18             17m33s         24s            1m19s
bxffour/bxffour.github.io 12             12             0              0              0              2m22s          12s            29s

Total usage: 19m55s (20 mins)

Providing the repo list through a file
repos.txt
-------------------------
bxffour/geoinfo
bxffour/namespaces-go

./actions-usage -user bxffour -token-file pat.txt -by-repo \
	--include-file repos.txt

it is also possible to use both the --include and the include-file options. The filter will include both options

./actions-usage -user bxffour -token-file pat.txt -by-repo \
	--include-file repos.txt --include bxffour/bxffour.github.io

Output:
The output still includes both bxffour.github.io and bxffour/geoinfo even though they were provided through different flags.
Repo                      Builds         Success        Failure        Cancelled      Skipped        Total          Average        Longest
bxffour/geoinfo           44             22             4              0              18             17m33s         24s            1m19s
bxffour/bxffour.github.io 12             12             0              0              0              2m22s          12s            29s

Total usage: 19m55s (20 mins)

Benefits

Users can now obtain GitHub Actions usage statistics specifically for the repositories they are interested in, leading to more targeted analysis and insights.
Provides flexibility and customization by allowing users to filter repositories based on their needs.

I like this @bxffour I think we just need the ability to send stdin as a file instead.
cat file | command.... --include-file -

faas-cli has code for this in its invoke command that you can copy from for inspiration.
https://github.com/openfaas/faas-cli/blob/master/commands/invoke.go#L93

@bxffour we'll need an example in the README for this too

Yes it's been released today


I can get .equals to work, but not .matches

I've been trying to figure this out, and I have a entry (among 23K) on redis Enterprise that looks like
{ id:"2" elementName:"Garlic" elementType:"powder" elementCarbonFactor:"0.74941" carbonFactorSource:"Agribalyse" unit:"kg" geography:"FRA" }
And if I do the search below, it works perfectly:
        console.time("Redis Search time");
        await repository.createIndex().catch((err) => {
          console.log("Error creating index");
          console.log(err);
        });
        let response =await repository.search()
          .where('elementName') // search for the field
          .equals("Garlic") // search for the value
          .return.all(); // return all the results
        console.log(response[0].elementName);

 However, if I change the above to match entires containing Garlic instead using **.matches** I get "Process finished with exit code 1" but no error message anywhere as far as I can see

        let response =await repository.search()
          .where('elementName') // search for the field
          .matches("Garlic") // search for the value
          .return.all(); // return all the results
        console.log(response[0].elementName);

Any help would be greatly appreciated

.equals is for fields of type string, number, and the like but not text fields. .matches is exclusively for text fields.
Probably related to that. What does you Schema look like?

const envStatSchema = new Schema(EnvStat, {
id: { type: 'string' },
elementName: { type: 'string' },
elementType: { type: 'string' },
elementCarbonFactor: { type: 'string' },
carbonFactorSource: { type: 'string' },
unit: { type: 'string' },
geography: { type: 'string' },
});
So maybe this is a support question then :)
How do I do a partial match on a string? So that Garlic would match say Garlic Powder

I know with the Beta you can just throw an asterisk at the end of your call to .equals. Not sure if this will work with the current non-beta version. I think it might try to escape it. Not at a computer right now to be able to test it.

Thank you so very much by the way, by switching it to text and using matches it worked perfectly


 is not needed

Linter prompted: Tag must be paired, Missing: [  ] with the following code:
        <video id="1" width="560" height="315" controls>
            <source src="new/How the Tesla Model S is Made _ Tesla Motors Part 1 (WIRED).mp4" type="video/mp4">
            Please upgrade your browser!
        </video>

But the close tag is not necessary:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source

Hi, so what was the answer here as i have exactly the same problem. Iv just started using brackets and learning html,css,js,php and would appreciated some advice.
Thx.

Oh yeah for sure. Always close tags, even if not required. Those cases are the exception and from my experience you would be doing it because you can and not because you should.  Its kinda like using loose equal comparison vs strict comparison in JavaScript. Its allowed, but don't do it.  :)
Hope that helps.

did i do this wrong ? i tried closing the tags, the interactive linter is ok now (showing green) but the default syntax checker still shows RED , im assuming a lot here cos iv only just started out but heres a screen shot
https://imgur.com/W7wuUOI

does the default checker ever go away?  what if you remove the video tag - just for testing purposes?

well i was not 100% sure if it was actually the default linter/checker or not, it could have been one of my extensions since i added a load that looked like id be wanting them before i even used brackets. So i disabled all the addons. Looks like it is the default error checker and yes it does go away when i remove the closing tag.
3 SS's here https://imgur.com/a/U8xHi


Add more comments for #endif in .h file.

This is a long .h file. I would like to are more comment for #endif

Dear @rokhinip ,
The header file h is too long. I would like to add more some minor comments for knowing the end of define. Please help me to review it.
Thanks,
Lam

Please squash your changes into a single commit.

Dear @rokhinip ,
Thank you for your feedback. I just create the new PR with single comment that is https://github.com/apple/swift-corelibs-libdispatch/pull/838 . Let me close this PR.
Thanks,
Lam


Fix install documentation

Change download page link on https://graphite.readthedocs.io/en/latest/install-source.html from https://launchpad.net/graphite/+download to proper link
Change https://graphite.readthedocs.io/en/latest/install-pip.html#installing-from-pip page to install from pip (as for 0.9.x releases - https://graphite.readthedocs.io/en/0.9.15/install-pip.html#installing-in-the-default-location ) and not from Github through pip

Ah, will change it a bit.


How to parse html asynchronously

I have a problem, I parse html page and view freezing while its parsing. How to use this library for parsing asynchronously?

use a dispatch_async to a background queue and parse the html in the block then dispatch_async back to the main queue when done


Problems with programmatic data download

from urllib.request import urlretrieve
url = 'https://samwald.info/res/OpenBioLink_2020_final/HQ_DIR.zip'
urlretrieve(url, 'test.zip')

results in
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 247, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 510: Not Extended

Downloading it by copy+pasting the URL into the browser works fine. Are there some settings on your server that are problematic?
Either way, I would suggest hosting the data on an archival system like Zenodo or Figshare rather than a personal website, which isn't guaranteed long term support.

We have now switched to hosting the benchmark files on Zenodo (see #47 ), thanks for the suggestion!


Build and publish

Users should be able to Install this as a cli app.
https://python-poetry.org/docs/cli/#build
https://python-poetry.org/docs/cli/#publish

https://github.com/pyinstaller/pyinstaller/


Ability to score pipeline against ground truth test data.

Relies on #144.

This likely requires multiple evaluation metrics. We probably want to supply a few of our own and allow the example author to write their own. For instance, for static pose recognition, this might be about the percentage of the time in which the predictions match the ground truth. For event-based prediction (e.g. gesture recognition or beat detection) it might be about the total (or mean) delta between the ground truth event times and the predicted event times. Etc.


Help Me: not solved . How to update?

I have Docker Desktop running with bots for games. The developer added new games. I updated the repository through git pull in the repository folder located in the home directory. The new games were added to the folder. I stopped Docker and then started it again, but the new games are not available in Docker. I also tried shutting down Docker completely, but it didn’t help.

In a case where the pull-games.sh script is missing or delete, like in your screenshot above, you'd do something like this:
curl -o pull-games.sh https://raw.githubusercontent.com/thebrumby/HotWalletClaimer/main/docker/pull-games.sh
chmod +x pull-games.sh
./pull-games.sh


[Fix] Add missing reportlab import to Dockerfile

When depolying the docker on a Debian 9 system, an error was thrown of a missing import. This import was added by this commit.

Hi,
I have already added this earlier today - it should be live + the containers should be rebuilt with the update. Please let me know if you are not seeing that.

Here was the commit: https://github.com/MISP/docker-misp/commit/b063e3bcd55f53611f2f7bcb57e261d83c9d4fb2

Hi - I've noticed right after I submitted the request. Great work ;-)
I'll close this one.

@matthiasmaes - Awesome, and thanks for bringing this up!


Add show_index flag for Choice type.

I added show_index flag for Choice.
Show_index enables users to use index of choice instead of choice item itself.
I think this would help a little when users have a bunch of choice items.
Usage example:
@click.command()
@click.option('--v', prompt=True, type=click.Choice(['a','bb','ccc'], show_index=True), default=1)
def main(v):
    print("Choosed:", v)

$ python test_click.py
V (0:a, 1:bb, 2:ccc) [bb]: 0
Choosed: a

To avoid confusion of indices and choices, when show_index is True, only index (integer) is allowed.
Code was tested on Ubuntu 18.04 with zsh: 196 passed, 1 xfailed in 2.02 seconds

See #1411, I'd like to design a way for types to override the prompt, but I don't want to modify the built-in Choice type.


Process hangs in local run

(text-generation-inference) root@C.10294313:~/tgi_test/text-generation-inference$ text-generation-launcher

2024-04-29T11:11:11.331114Z  INFO text_generation_launcher: Args { model_id: "bigscience/bloom-560m", revision: None, validation_workers: 2, sharded: None, num_shard: None, quantize: None, speculate: None, dtype: None, trust_remote_code: false, max_concurrent_requests: 128, max_best_of: 2, max_stop_sequences: 4, max_top_n_tokens: 5, max_input_tokens: None, max_input_length: None, max_total_tokens: None, waiting_served_ratio: 1.2, max_batch_prefill_tokens: None, max_batch_total_tokens: None, max_waiting_tokens: 20, max_batch_size: None, cuda_graphs: None, hostname: "<IP_ADDRESS>", port: 3000, shard_uds_path: "/tmp/text-generation-server", master_addr: "localhost", master_port: 29500, huggingface_hub_cache: None, weights_cache_override: None, disable_custom_kernels: false, cuda_memory_fraction: 1.0, rope_scaling: None, rope_factor: None, json_output: false, otlp_endpoint: None, cors_allow_origin: [], watermark_gamma: None, watermark_delta: None, ngrok: false, ngrok_authtoken: None, ngrok_edge: None, tokenizer_config_path: None, disable_grammar_support: false, env: false, max_client_batch_size: 4 }
2024-04-29T11:11:11.331492Z  INFO text_generation_launcher: Default `max_input_tokens` to 4095
2024-04-29T11:11:11.331507Z  INFO text_generation_launcher: Default `max_total_tokens` to 4096
2024-04-29T11:11:11.331516Z  INFO text_generation_launcher: Default `max_batch_prefill_tokens` to 4145
2024-04-29T11:11:11.331530Z  INFO text_generation_launcher: Using default cuda graphs [1, 2, 4, 8, 16, 32]
2024-04-29T11:11:11.331725Z  INFO download: text_generation_launcher: Starting download process.
2024-04-29T11:11:15.228645Z  INFO text_generation_launcher: Download file: model.safetensors

I tried to run  text generation inference locally, but the process hangs. What is usually the cause of this problem? For your information, all the args are default.

hi @Hojun-Son I just ran the same command and was able to start a server. It may be a latent networking issue with downloading the model.
Also please make sure to specify the model id and other parameters at startup
I'd recommend downloading a model first via text-generation-server download-weights HuggingFaceM4/idefics2-8b
and then running it via text-generation-launcher --model-id HuggingFaceM4/idefics2-8b
I hope these commands work for you


Bug: Ionic serve showing old content

Short description of the problem:
Ionic serve/livereload displays old content after refreshing. When I make changes to my app, the build completes and browser refreshes, then I see old content. Sometimes the changes do not apply, and sometimes I see an old page that I already changed multiple times.
What I do to resolve this is restart ionic serve or run npm run build and refresh the page manually. Clearing browser cache and refreshing page solves this issue some times, but not all the time. So I don't think it's a browser cache issue.
What behavior are you expecting?
When the browser refreshes after a new build, it should display new updates.
Steps to reproduce:
This issue is really random.

Create new project
Run ionic serve or ionic run <platform> -l
Keep making changes to your app
Eventually the problem will occur

Which @ionic/app-scripts version are you using?
1.1.4

any chance you're using a custom webpack config file?

We are seeing the exact same thing. Typically:

Ionic serve
Make some syntax error like  instead of
See error response
Fix syntax error
Change something unrelated to previous error, eg. updating a .json file
Error response from step 3 repeats.

It does not seem to be browser caching, as cache reset / browser switch does not change this. The only way to workaround issue is to stop and rerun ionic serve.
We do not have local changes to webpack.
Ionic version 2.2.1. Package.json:
{
  "name": "ionic-hello-world",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },
  "dependencies": {
    "@angular/common": "2.4.8",
    "@angular/compiler": "2.4.8",
    "@angular/compiler-cli": "2.4.8",
    "@angular/core": "2.4.8",
    "@angular/forms": "2.4.8",
    "@angular/http": "2.4.8",
    "@angular/platform-browser": "2.4.8",
    "@angular/platform-browser-dynamic": "2.4.8",
    "@angular/platform-server": "2.4.8",
    "@ionic/cloud-angular": "^0.11.0",
    "@ionic/storage": "2.0.0",
    "ionic-angular": "2.2.0",
    "ionic-native": "2.4.1",
    "ionicons": "3.0.0",
    "rxjs": "5.0.1",
    "sw-toolbox": "3.4.0",
    "zone.js": "0.7.2"
  },
  "devDependencies": {
    "@ionic/app-scripts": "1.1.4",
    "typescript": "2.0.9"
  },
  "cordovaPlugins": [
    "cordova-plugin-whitelist",
    "cordova-plugin-console",
    "cordova-plugin-statusbar",
    "cordova-plugin-device",
    "cordova-plugin-splashscreen",
    "ionic-plugin-keyboard"
  ],
  "cordovaPlatforms": [
    "ios",
    {
      "platform": "ios",
      "version": "",
      "locator": "ios"
    }
  ],
  "description": "lsb: An Ionic project"
}

I have exactly the same problem which @ihadeed described and I tried the same things
'Ionic serve' worked fine and suddenly this started to happen.

Hi @duydao
I am using an extra webpack config file to set environment configs.
Does that matter?
thanks.

@Charlie-Hua ionic uses filename from the webpack config to update the file on changes.
Ionic supports multiple entry points in our custom webpack.config.js:
  entry: {
    worker: workersDir + 'worker.ts',
    main: process.env.IONIC_APP_ENTRY_POINT
  },

but if we're trying to use a dynamic filename config, it won't update the bundle in ionic serve:
  output: {
    path: '{{BUILD}}',
    publicPath: 'build/',
    filename: '[name].js',
    devtoolModuleFilenameTemplate: ionicWebpackFactory.getSourceMapperFunction(),
  },

We can get around this fact by inlining the workers instead of generating separate files.

same issue

@danbucholtz
This does not appear to be fixed after installing app-scripts@nightly for me. Same issue as before - old content is served, sometimes very old content (from several revisions ago).

Thanks! Should we update to @ionic/app-scripts@nightly or wait for next week release, @danbucholtz ?

@danbucholtz
So this bug is fixed in @nightly but it has introduced a new one, where sometimes SASS compilation fails completely and the app after rebuild displays without any style at all until a SASS file is saved again.

@brettdorrans you should open a new issue for that. I can confirm it's a bug.

@brettdorrans,
Fixed in 1.2.0. I was aware of the issue, it was on my todo list.
Thanks,
Dan

@danbucholtz
This issue persists in 1.2.2

@brettdorrans,
How can I reproduce it?
Thanks,
Dan

@danbucholtz
Isn't easily reproducible. Seems to get worse with increasing app complexity (i.e. as you begin editing more pages/scss the effect is more noticeable).
The steps to produce on my setup are:

Run ionic serve
Make change in Page1's markup and save (change is then reflected after reload)
Make change in Page1's scss and save (change is reflected after reload)
Make change in Page1's markup again, after reload displays markup as if change made in steps 2 and 3 did not occur.

@danbucholtz
Have narrowed it down to this:
I am using a custom ionic:serve in package.json so I can serve cordova in the browser.
"ionic:serve": "ionic-app-scripts serve --sourceMap source-map --iscordovaserve --wwwDir platforms/browser/www/ --buildDir platforms/browser/www/build",
This fails to update properly on save because ionic-app-scripts isn't running ionic build for the browser platform (perhaps it did this in an earlier version?)
I'm unable to use the standard ionic serve because it causes cordova related errors throughout the application.

Having same problem, I've noticed that I can save a blank space to the file that is cached to force it back into the build....

Same problem here. Even if i restart ionic serve an old version of the page shows up

Same problem here, suddently a bug appears because Ionic it's serving a old version of a file. I have to go to the file where de error is present, press save and sometimes it's gone. This has begin happening quite often since the last CLI update.  It's becoming very annoying to be honest. Some times I have to save around 4 different files to somehow get the latest version of the document.
Ionic Framework: 3.7.1
Ionic App Scripts: 3.0.0
Angular Core: 4.4.3
Angular Compiler CLI: 4.4.3
Node: 6.11.1
OS Platform: macOS Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

For me this only happens on Mac. Not windows.

I can confirm that this issue occurs on both Mac and Windows. I can tell it's happening when things stop making sense 😄 (I edit views/typescript and start seeing reverse progress).
The solution that works 100% of the time is to clear cache & restart ionic serve.

same issue here. Exactly as described on main post.
@ionic/cli-utils  : 1.18.0
ionic (Ionic CLI) : 3.18.0
cordova (Cordova CLI) : 7.0.1
@ionic/app-scripts : 3.0.1
Cordova Platforms  : android 6.3.0 ios 4.5.2
Ionic Framework    : ionic-angular 3.8.0
ios-deploy : 1.9.1
ios-sim    : 5.0.6
Node       : v6.10.3
npm        : 5.5.1
OS         : macOS Sierra
Xcode      : Xcode 9.1 Build version 9B55

I have the same issue. running on Linux UB16.04LTS:
ionic -v
3.18.0
cordova -v
7.1.0
npm -v
5.4.2
node -v
v6.10.2

Yep happens om both Windows and Mac for me now

WOW.. This is crazy.
So I was making a provider "UserData" and decided to revert the file back to my old provider "AuthData"
Now on compile I get this:
Runtime Error
Can't resolve all parameters for UserData: ([object Object], [object Object], ?).
Stack
Error: Can't resolve all parameters for UserData: ([object Object], [object Object], ?).
    at syntaxError (http://localhost:8100/build/main.js:80215:34)
    at CompileMetadataResolver._getDependenciesMetadata (http://localhost:8100/build/main.js:93552:35)
    at CompileMetadataResolver._getTypeMetadata (http://localhost:8100/build/main.js:93420:26)
    at CompileMetadataResolver._getInjectableMetadata (http://localhost:8100/build/main.js:93406:21)
    at CompileMetadataResolver.getProviderMetadata (http://localhost:8100/build/main.js:93696:40)
    at http://localhost:8100/build/main.js:93625:49
    at Array.forEach (native)
    at CompileMetadataResolver._getProvidersMetadata (http://localhost:8100/build/main.js:93586:19)
    at CompileMetadataResolver.getNgModuleMetadata (http://localhost:8100/build/main.js:93241:50)
    at JitCompiler._loadModules (http://localhost:8100/build/main.js:104305:66)

If I open up 'http://localhost:8100/build/main.js' I can see the reference.
    function UserData(events, storage, af) {
        this.events = events;
        this.storage = storage;
        this.af = af;
        this.HAS_LOGGED_IN = 'hasLoggedIn';
        this.fireAuth = __WEBPACK_IMPORTED_MODULE_4_firebase___default.a.auth();
    }

If I do a recursive search in my /src folder for "UserData" I get zero results.
I've since deleted the 'www/build' folder and then started 'ionic server' again and this UserData Method still getting packed in webpack.. Even though it's nowhere to be found in /src/
Where is this coming from? I suspect the webpack has a cache or something?
ionic -v
3.18.0
cordova -v
7.1.0
npm -v
3.10.10
node -v
v7.2.1

Soooooooo It appears that the source of the issue was in the Chrome APP CACHE. / Cache Storage. (under application) tab.

You've found a solution?

Somehow the port 8100 seems corrupt on my case. I just run "ionic serve --port 8101" and this cache problem seems to be gone.
Not sure if this comes from Chrome or Webpack, so if someone finds out, please share.

@tobbbe I went into chrome debugger and clicked on the "application" tab and then click on the "clear storage" button. Might as well clear browser history as well. and restart the browser.
Changing the port would also fix the issue since the cache is based on the url. ;) @alvarocasta

So I don't know if this will help but I see this issue specifically on pages where I am importing this library like this: import * as Plotly from 'plotly.js';
Ionic info:

    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:

    cordova (Cordova CLI) : 7.0.1

local packages:

    @ionic/app-scripts : 3.0.0
    Cordova Platforms  : ios 4.4.0
    Ionic Framework    : ionic-angular 3.7.1

System:

    ios-deploy : 1.9.0
    ios-sim    : 5.0.11
    Node       : v6.11.4
    npm        : 3.10.8
    OS         : macOS High Sierra
    Xcode      : Xcode 9.1 Build version 9B55

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro```

Are you using service workers? Just faces the issue that ionic serve does rebuild on every code change but the app doesn't change. After deleting all application cache and it worked.
This gave me the right hint: https://stackoverflow.com/questions/42372872/ionic-serve-loading-wrong-app

Experiencing what @JRobber states.

Having the same problem as OP
Can this be reopened i don't think the issue is closed.

Experiencing same issue as @JRobber. There was no issue when working with ionic serve. The issue started after deploying to Google play store

Same problem happing, ionic serve do the job but content doesn't get refreshed. Closing and opening chrome, even in in incognito mode, does not change anything. Need to rerun ionic serve then re-open browser in incognito mode then I get content updated.
Previously this refresh problem was solved by working in incognito mode, but know it does not do the trick anymore :/

Developping with Ionic is a pain with that bug. Just imagine that we have to refresh around 200 times an hour ... Please fix this

I found out that while developing the app, I uploaded my app to Ionic Pro
about 2 months ago. I did not update it
When I published the app to app store, the old copy in ionic Pro update the
newer version.
What I did to resolve this issue is to delete everything in my Ionic Pro
and republish the app.
On 9 Feb 2018 14:44, "Valdo Ghafoor"<EMAIL_ADDRESS>wrote:

Developping with Ionic is a pain with that bug. Just imagine that we have
to refresh around 200 times an hour ... Please fix this
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/ionic-app-scripts/issues/825#issuecomment-364437032,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK3SN9YoCXk8ZnZ5WwUp3gDuu3DkEXlHks5tTEuhgaJpZM4Mhihl
.

the problem starts to get worse when you separate everything in components.

The problem is worse when you use multiple components in one page, in my case everything is lazy loaded, even components.

Same issue here, and my problem is similar to @matheusdavidson.
Ionic v3.9.2
Ionic Scripts v3.1.8
Angular v5.0.3
Node v8.9.3
win10

Same issue here. A build will fail with an old error in Chrome. Hit Localhost in Firefox and it works. Constantly resolving with a mix of cache clearing and occasional restart of ionic serve. Very frustrating through as I find myself often chasing non-existent bugs.

Same issue here. I have to return to my files and save them again to see the changes.

Same here. If i for instance edit a components template file, i first need to save it, then it's .ts file, then  components.module.ts and lastly app.components.ts in order for the change to be visible in the app. Can it be related to lazy loading of pages.

ionic: 3.20.0
cordova: 8.0.0
npm: 5.5.1
node: 8.9.0
ios-sim: 5.0.6
ios platform: 4.5.4
os: macOS Sierra 10.12.6
I've been experiencing the same ever since I started working with Ionic heavily a month or so ago.
For instance, I'll create a function in a component and reference it in the template as a button click handler.  Later I might rename the function in the component and update the template reference.
After several template/component changes I'll make an innocuous change to the template (i.e. fix a spelling mistake in a span) and it'll throw an error stating that the old click handler function name doesn't exist in the template's component source.
Most of the time I can resolve it by adding/removing a space in the template's component source and save the file forcing another build cycle.  When that stops working I have to stop and re-run ionic cordova run ios --livereload -- which happens several times a day.
Since I've seen it mentioned above -- I do have a 'custom' webpack config in order to work  around a nodejs vs browser issue with TypeORM (https://github.com/typeorm/ionic-example).  I don't think this is relevant to this (build cache?) issue because I experienced this issue when I was developing the UI in Chrome -- before including TypeORM and switching to the iOS simulator.
Hope this helps.

Same issue here. Updated an application, builded a version with ionicPro, and still old content is showing on the phone, even after I deleted version and installed from google again.

Me too experiencing the same issue. It's so frustrating that I have to go through all previously edited files and press Cmd+s in order to bring the latest version of the files. Sometimes even error on non-existing method shows up. Been diving into ionic for about 2 months now, it's toxic to the bone due to this bug.

I am experiencing the same issue. Is this already accepted as an official bug/issue? It really is a huge issue when developing.
cli packages: (/home/matyas/.nvm/versions/node/v9.3.0/lib/node_modules)     @ionic/cli-utils  : 1.19.2     ionic (Ionic CLI) : 3.20.0 global packages:     cordova (Cordova CLI) : 8.0.0  local packages:     @ionic/app-scripts : 3.1.5     Cordova Platforms  : none     Ionic Framework    : ionic-angular 3.9.2 System:     Node : v9.3.0     npm  : 5.5.1      OS   : Linux 4.13 Environment Variables:     ANDROID_HOME : not set Misc:     backend : pro

Hi
I have the same issue and it's been frustrating.
The only solutions that i found so far is to use FIREFOX
so far t's been stable and does reload correctly after a save.
with Chrome ionic simply does not reload correctly and even load a VERY OLD Version.  Clearing the cache every time is a solution but time consuming.
I think i have a recent version of almost everything, do not have this issue with Chrome and Angular project
cli packages: (C:\Angular\Ionic\MT-Admin\node_modules)
@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 3.1.7-201801172029
Cordova Platforms  : android 6.3.0
Ionic Framework    : ionic-angular 3.9.2
System:
Node : v9.5.0
npm  : 5.6.0
OS   : Windows 10
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : pro
I Hope it will help some users

This just started happening to me in Chrome.  I have to bring up the developer tools, go to Application, right-click on ionic-cache and select Delete.  Then I refresh the window.

Stop / start ionic serve fixes the problem.
Often, just re-saving app.module.ts can trigger a build that fixes the problem - but not always.
This is extremely frustrating and wastes a lot of time! Is there really no fix coming on this guys?

I found a solution that worked, maybe this will help some of you here.
Roll back your app scripts to version 1.3.1. Even though it isn't the latest version, everything will still work.
npm uninstall @ionic/app-scripts
npm install --save-dev<EMAIL_ADDRESS>This cleared the issue right away for me. I hope this helps while we wait for the current scripts to be sorted!

@TheAlexPorter Tried your solution, but got an ERR! code ELIFECYCLE, errno 1 installing 1.3.1

@andy008 Shoot! I'd hoped it would help. Here are my other dependencies, perhaps that will help? If not, I'd try changing your app scripts version around and see if you find a fix your dependencies version requirements.
"dependencies": {
"@angular/animations": "5.2.9",
"@angular/common": "5.2.9",
"@angular/compiler": "5.2.9",
"@angular/compiler-cli": "5.2.9",
"@angular/core": "5.2.9",
"@angular/forms": "5.2.9",
"@angular/http": "5.2.9",
"@angular/platform-browser": "5.2.9",
"@angular/platform-browser-dynamic": "5.2.9",
"@angular/tsc-wrapped": "^4.4.6",
"@ionic-native/core": "4.6.0",
"@ionic-native/google-analytics": "^4.6.0",
"@ionic-native/in-app-browser": "^4.6.0",
"@ionic-native/screen-orientation": "^4.6.0",
"@ionic-native/splash-screen": "4.6.0",
"@ionic-native/status-bar": "4.6.0",
"@ionic/pro": "1.0.20",
"@ionic/storage": "^2.1.3",
"cordova-android": "6.3.0",
"cordova-ios": "4.5.4",
"cordova-plugin-device": "^2.0.1",
"cordova-plugin-google-analytics": "^1.8.3",
"cordova-plugin-inappbrowser": "^2.0.2",
"cordova-plugin-ionic-keyboard": "^2.0.5",
"cordova-plugin-ionic-webview": "^1.1.16",
"cordova-plugin-screen-orientation": "^3.0.1",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "git+https://github.com/apache/cordova-plugin-statusbar.git",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-sqlite-storage": "^2.3.0",
"es6-promise-plugin": "^4.2.2",
"ionic-angular": "3.9.2",
"ionicons": "3.0.0",
"rxjs": "5.5.8",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.20"
},
"devDependencies": {
"@ionic/app-scripts": "^1.3.1",
"typescript": "~2.6.2"
},

Weeks ago I've decided that I had enough on this frustrating issue. I moved
away to react and xamarin.. It's much better time investment to learn new
stuff rather than chasing  around ghostly bugs  in my own codes.
On Fri, 20 Apr 2018, 08:48 Alexander Porter<EMAIL_ADDRESS>wrote:

@andy008 https://github.com/andy008 Shoot! I'd hoped it would help.
Here are my other dependencies, perhaps that will help? If not, I'd try
changing your app scripts version around and see if you find a fix your
dependencies version requirements.
"dependencies": {
"": "5.2.9",
"": "5.2.9",
"": "5.2.9",
"": "5.2.9",
"": "5.2.9",
"": "5.2.9",
"": "5.2.9",
"": "5.2.9",
"": "5.2.9",
"": "^4.4.6",
"": "4.6.0",
"": "^4.6.0",
"": "^4.6.0",
"": "^4.6.0",
"": "4.6.0",
"": "4.6.0",
"": "1.0.20",
"": "^2.1.3",
"cordova-android": "6.3.0",
"cordova-ios": "4.5.4",
"cordova-plugin-device": "^2.0.1",
"cordova-plugin-google-analytics": "^1.8.3",
"cordova-plugin-inappbrowser": "^2.0.2",
"cordova-plugin-ionic-keyboard": "^2.0.5",
"cordova-plugin-ionic-webview": "^1.1.16",
"cordova-plugin-screen-orientation": "^3.0.1",
"cordova-plugin-splashscreen": "^5.0.2",
"cordova-plugin-statusbar": "git+
https://github.com/apache/cordova-plugin-statusbar.git",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-sqlite-storage": "^2.3.0",
"es6-promise-plugin": "^4.2.2",
"ionic-angular": "3.9.2",
"ionicons": "3.0.0",
"rxjs": "5.5.8",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.20"
},
"devDependencies": {
"": "^1.3.1",
"typescript": "~2.6.2"
},
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/ionic-app-scripts/issues/825#issuecomment-382927079,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmlc8igC8Xy0I17m7bgW0pTIoa733EIks5tqTBAgaJpZM4Mhihl
.

I have faced similar issue - is there a config set option to disable cache for all views for development run debugging ? Also i faced caching of httpclient get results - does anybody know if there any option to also disable caching of http get results ?

This is a very frustrating problem for me. Sometimes I can solve it by stopping/starting ionic serve. But other times I can spend like 20-30min deleting cache, stopping ionic serve, deleting the www folder, opening it on firefox, saving all the files 10 times and nothing works... And it can even happen with production builds too.
For me this only happens on Windows. On Mac it works perfectly, I don't have any problem there. I don't really know if I'm missing something or what, but sometimes it can get really frustrating when I'm working on my PC at home.

also has anybody experienced httpclient (angular) throwing stale/cached results when using ionic in debug -lcd mode ? any workaround to always get fresh http get results ?

Any new news on this?

I am facing this problem too.

Same bug! Every time i refresh my app on the android device I lose some new code wich is reverted to the old one.
 "dependencies": {     "@angular/animations": "5.2.10",     "@angular/common": "5.2.10",     "@angular/compiler": "5.2.10",     "@angular/compiler-cli": "5.2.10",     "@angular/core": "5.2.10",     "@angular/forms": "5.2.10",     "@angular/http": "5.2.10",     "@angular/platform-browser": "5.2.10",     "@angular/platform-browser-dynamic": "5.2.10",     "@ionic-native/camera": "4.3.3",     "@ionic-native/core": "4.7.0",     "@ionic-native/splash-screen": "4.7.0",     "@ionic-native/status-bar": "4.7.0",     "@ionic/storage": "2.1.3",     "@ngx-translate/core": "8.0.0",     "@ngx-translate/http-loader": "^2.0.0",     "cordova-android": "7.0.0",     "cordova-plugin-device": "^2.0.2",     "cordova-plugin-ionic-keyboard": "^2.0.5",     "cordova-plugin-ionic-webview": "^1.1.19",     "cordova-plugin-splashscreen": "^5.0.2",     "cordova-plugin-whitelist": "^1.3.3",     "ionic-angular": "3.9.2",     "ionicons": "3.0.0",     "lodash": "^4.17.10",     "rxjs": "5.5.10",     "sw-toolbox": "3.6.0",     "zone.js": "0.8.26"   },   "devDependencies": {     "@ionic/app-scripts": "3.1.9",     "typescript": "~2.6.2"   }

I have the similar problem, but on Chrome for me is enough to click Shift-Ctrl-R to reload and clear Chrome cache. BUT :)
When I deploy app to mobile (device) I have the same issue (as example):

l'm login in to app and select one Event Item from the list
After selecting, it download posts for selected event
logout from app
I do not close the app, just going back to login page
I login again, select different Event (different ID in /api path) and it shows me the same posts as for previous  WFT?!?!?

And yes, I checked it is not a problem with my app , api, and server side cache :), because it uses differend api path:
/api/events/<id....>/posts
/api/events/<id22222>/posts

Exactly the same I have when "ionic serve" I do for web, and I'm sure that is caused by ionic-cache , but how to clear it from app side ?
ionic: 3.20.0
cordova: 8.0.0
npm 5.6.0
node: 8.9.1

The issue still exists, I am using a windows machine.
Will the problem be solved if used in Firefox !?
The ionic team should work on fixing it ASAP or provide a solution, we cannot go on doubting whether the code is working or not on every new line.
With no solution, you guys are making us move to another option like react...

Yes, the same problem exists & its very frustrating.
It usually gets solved by completely stopping ionic serve and running ionic serve again sometimes its takes several attempts to resolve it. But it again it re-appears after making changes to the files. Wasting lots of time. I was doing my first project on ionic, and still regretting my decision to move to ionic due to various reasons and this is among the primary reason for it.
cli packages: (/usr/local/lib/node_modules)
    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:
    cordova (Cordova CLI) : 8.0.0

local packages:
    @ionic/app-scripts : 3.1.8
    Cordova Platforms  : android 7.0.0 browser 5.0.3 ios 4.5.4
    Ionic Framework    : ionic-angular 3.9.2

@danbucholtz could you please reopen this bug since a lot of people are proving here that this issue still exists? Is there any way how we could help you to isolate this specific behaviour? Or is there any way to disable the ionic cache in general?

This problem is driving me nuts. It throws random errors for no reason, that gets fixed upon stopping and serving again.
For example I get the the following error, randomly. Sometimes some other errors.
TypeError: __WEBPACK_IMPORTED_MODULE_6__ionic_storage__.a.forRoot is not a function     at http://localhost:8100/build/main.js:1475:92     at Object.498 (http://localhost:8100/build/main.js:1511:2)     at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)     at Object.493 (http://localhost:8100/build/main.js:1370:70)     at __webpack_require__ (http://localhost:8100/build/vendor.js:55:30)     at webpackJsonpCallback (http://localhost:8100/build/vendor.js:26:23)     at http://localhost:8100/build/main.js:1:1

Same problem. This has a huge impact on productivity.

If this is the same issue I think it is..
The work around is to specify a new port and restart. --port=8888
Paul.
On Wed, Jun 6, 2018 at 10:41 AM, Victor Nascimento<EMAIL_ADDRESS>
wrote:

Same problem. This has a huge impact on productivity.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/ionic-app-scripts/issues/825#issuecomment-395093196,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZxiD48U700c_mRWs3Ka_Y_oweut0Yrks5t5-oTgaJpZM4Mhihl
.

The work around is to specify a new port and restart. --port=8888

@pdescham49 So you do this each time or just doing it once fixes the problem?

When I notice the content is cached.. I'll stop it restart it on a new port
and it will work again.. sometimes for days, sometimes for hours.
On Wed, Jun 6, 2018 at 12:05 PM, Raschid J.F. Rafeally <
<EMAIL_ADDRESS>wrote:

The work around is to specify a new port and restart. --port=8888
@pdescham49 https://github.com/pdescham49 So you do this each time or
just doing it once fixes the problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/ionic-app-scripts/issues/825#issuecomment-395123777,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZxiCaoO39dClZ1L0U8MZMvIxpb9nn4ks5t5_3agaJpZM4Mhihl
.

In my experience you don't even need to delete the www folder. But yes that
will do as well.
On Wed, Jun 6, 2018 at 12:10 PM, Raschid J.F. Rafeally <
<EMAIL_ADDRESS>wrote:

Ok so it's basically the same :(
What I do is stop, delete folder www and restart.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/ionic-app-scripts/issues/825#issuecomment-395125293,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZxiPhbDah9fKx3eVD3SyzQFfYkcT84ks5t5_7wgaJpZM4Mhihl
.

Same problem here.
1-Ionic serve
2-Make some syntax error like  instead of
3-See error response
4-Fix syntax error
5-Change something unrelated to previous error, eg. updating a .json file
6-Error response from step 3 repeats.

Solved it: I don't use Ionic anymore.

a big problem
really it is a big problem
we need evrey time to clear cache in divice

the probleme ist 100% solved by me
when i use http  Plugin  seem this problem
i see old  data http  not updated
............................
first step yu need to  host  json.php  in domain free or paid like do yu want
www.yourdomain.com/json.php
your code

$url = ' your json lik  the sourcee';

$data = file_get_contents($url);
$characters = json_decode($data);
$myJSON = json_encode($characters);
echo $myJSON;
?>
in ionic in http plugin you need to use this
dz=new Date();  // very importante
  this.http.get('www.yourdomain.com/json.php.php?dz='+dz).map(res => res.json()).subscribe(data => {

consol.log(data);
);

It might be helpful to post to this issue thread as well (since this bug is officially closed).
It is the same issue that was reopened again
https://github.com/ionic-team/ionic-app-scripts/issues/1432
one possible workaround seems to be changing the service worker settings in the chrome developer settings:
https://grzegorowski.com/ionic-framework-live-reloading/

I experienced the same issue, it keeps building the last 3rd iteration.
Is running ionic-serve is the only work around for this?

I need to reload the server every time...
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 3.1.9
    Cordova Platforms  : ios 4.5.4
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.1.1
    ios-deploy        : 1.9.2
    ios-sim           : 6.1.2
    Node              : v8.10.0
    npm               : 5.6.0
    OS                : macOS High Sierra
    Xcode             : Xcode 9.4 Build version 9F1027a

Environment Variables:

    ANDROID_HOME : /Users/dev/Library/Android/sdk

Misc:

    backend : pro

upgrade to ionic 4 if you can, the problem will go away as you won't be using ionic-app-scripts =]

So, anyone can handle browser to clear cache. It is usefull if there is new version of the app bumped but older content still present...

I have found that in my case, this happens when I use a templateUrl to an html which is in another folder.
for instance, in welcome.ts, I used
templateUrl: '../pages/menu/menu.html'
If i refer to the real welcome.ts, it does incliiude the changes. It seems to have something to do with not realizing that other file is in the project structure

Just upgraded to ionic4 and created a sidemenu app - same problem. Only solution is to manually clear the cache in chrome and reload ... arghhh 👎 👎 👎

Its Ok I just re-run ionic serve --no-open resolved me for while

If you're using custom webpack.config (as i were), following these steps worked for me:
https://github.com/gshigeto/ionic-environment-variables
I just recreated my whole webpack.config based on this tutorial, and it worked fine and sweet.

Actually, i started having it again. Then i noticed livereload suddenly started to work when i update my custom webpack file, and served the app again. Somehow, this are being cached. Updating webpack file (like putting a empty line behind everything) worked for me.

UPDATE
Using anonymous window on Chrome seems to be the easiest way to work. Problem still exists on Ionic 3.9.2

@EdgarSalazar
Thanks! Been pulling my hair. To me the best compromise for this bug is:

ionic serve --no-open
And in chrome use an incognito window and open the url to your app. Live changes you make are seen as you would expect, did not need to clear cache or restart ionic serve.

I had abandoned Ionic last year after 6 months of time wasting on numerous issues. I come back a year later, giving another chance to this framework, but I'm already starting to regret...

For those coming here having issues w/ Ionic 3+ and iOS/Android build showing old views...
This was happening when I would build/run for iOS and Android.  My latest code would show up on first load and each subsequent load (after killing the app) on both platforms would show old component views.  I updated all npm/ionic/cordova packages, plugins, cli + confirmed all updates, cleared all cache that I could find, removed all build and plugin folders, rebuilt everything and still had no luck.
I finally had to go in to Ionic Dashboard > Personal Apps and delete my Ionic Pro link/app.  I'm not sure how my builds were accessing my old code via Ionic Pro during the build phase, but deleting the link/app appears to have fixed the problem for me.
FWIW, I think I could've fixed the problem without deleting the Pro link by pushing each build to the Channel/branch that was connected to my Ionic Pro repo.  Maybe one of the Ionic guys can confirm this.

I deleted Pro and problem persists


feat(FN-1088): overdue report is due

Introduction
If a payment report officer is accessing the utilisation-report-upload page and they did not submit a report for the previous reporting period, the page should show which report is overdue and which report is now due. If there are multiple reports which are overdue, all these reports should be listed on the page. The form to upload a report should display which report it is expecting the user to upload.
Resolution

Add a new template for when a user needs to upload a previous utilisation report
Add a new endpoint to get an array of all the due reports
Add unit, component and e2e tests for the above

Note: In order to make the e2e tests, new behaviour has been added to cypress to allow direct interaction with the database. These changes were based on #2148 and also now allow the tests for #2153 list-previous-reports.spec.js and previous-reports.api-test.js to be finished (also done as part of this PR).
Prerequisites
This branch was created from FN-970 and so we require this branch to be merged first.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main-stbr@851e9f8). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             main-stbr    #2274   +/-   ##
============================================
  Coverage             ?   26.13%
============================================
  Files                ?      927
  Lines                ?    21500
  Branches             ?     3236
============================================
  Hits                 ?     5618
  Misses               ?    14170
  Partials             ?     1712

Flag
Coverage Δ

api-test
0.48% <0.00%> (?)

ui-test
64.19% <0.00%> (?)

unit-test
2.03% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!


Ensures all span stores apply filters to results bound to endTs

Filtered traces are now returned in reverse insertion order. This is
because the primary search interface is a timeline view, looking back
from an end timestamp.
The in-memory and anorm span stores were the only ones applying request
filters against traces at the beginning of (endTs - lookback, endTs) vs
looking back from endTs. This created a poor experience where old traces
returned by default.
This enforces the lookback behavior and clarifies it by ordering traces
descending against endTs, A loose test was clarified to ensure limit
applies this way.
Besides trace ordering, which happens after traces return from the
backend, redis and cassandra implementations are unaffected, as they
already had the intended behavior.
Fixed #826

@jcarres-mdsol Thanks tons for reporting this!

+1


Can't delete tags with "#" (number sign) on it

I can't delete tags using this, I got this error:
Run<EMAIL_ADDRESS>  with:
    keep_latest: 1
    delete_tags: true
    delete_tag_pattern: a
  env:
    GITHUB_TOKEN: ***
💬  no `repo` name given. fall-ing back to this repo
🔖  corresponding tags also will be deleted
releases containing a will be targeted
💬  found total of 2 matching active release(s)
🍻  found 1 older release(s)
starting to delete a#8 with id 39024378
🌶  failed to delete tag "a#8"  <- Reference does not exist

Message implying that there is not tag exists with name "a#8". Can you cross whether that tag exists ? Ping me repo url if it is public, I will also check

https://github.com/AnimMouse/ffmpeg-autobuild-gpl/releases/tag/a%236

https://github.com/AnimMouse/ffmpeg-autobuild-gpl/releases/tag/a%238

The release was deleted, but the tag is not. Tested again on https://github.com/AnimMouse/ffmpeg-autobuild-gpl/runs/2260494888

If you don't mind can you release tag without "#" in it and delete it using this action. I just want to make sure "#" in tag is not the problem

Tried tags without "#" and it works, it seems like the "#" is the problem.
Run<EMAIL_ADDRESS>💬  no `repo` name given. fall-ing back to this repo
🔖  corresponding tags also will be deleted
releases containing a will be targeted
💬  found total of 3 matching active release(s)
🍻  found 2 older release(s)
starting to delete a2 with id 40909959
starting to delete a1 with id 40909957
👍🏼  2 older release(s) deleted successfully!

@AnimMouse we have a potential fix for this in #11 which would change to using regex for the delete_tag_pattern option.  Do you think that might help your situation?  Do you have strong feelings about my comment in that PR one way or another?

Yes, using regex is much better.

+1 on using regex

Fixed in PR #30 and new release https://github.com/dev-drprasad/delete-older-releases/releases/tag/v0.3.1


Example data files

A set of example data files that define an example experiment

[ ] AccuCor file(s) - obob datasets might suffice
[ ] Compound list - our current list might suffice
[ ] Sample Table - sample table template

@mneinast Has provided an example sample table


Made paths to .json files absolute so pokecli.py can be called from CRON

Made paths to .json files absolute so pokecli.py can be called from CRON

Thanks, this should also help with windows support.
:+1:


Remove my.catgirl.party, how-about-th.at, catch-me-outside.how-about-th.at and woah.this-is-a.site

🙏 that I did things correctly, never used gulp before.

same


GLTF models are rotated since 1.47 - how to fix CZML?

Hi,
Since release 1.47, the following change has made my aircraft move sideways:

glTF 2.0 models corrected to face +Z forwards per specification. Internally Cesium uses +X as forward, so a new +Z to +X rotation was added for 2.0 models only. To fix models that are oriented incorrectly after this change:

[Fix the glTF model]
Apply a -90 degree rotation to the model's heading. This can be done by setting the model's orientation using the Entity API or from within CZML. See #6738 for more details.

I am using a CZML file and the aircraft models from https://github.com/Ysurac/FlightAirMap-3dmodels.
In #6738 I could not find the way to fix my CZML files.
Thanks

Hi @sebastienaubry, see this comment: https://github.com/AnalyticalGraphicsInc/cesium/pull/6738#issuecomment-401419826
You can set the orientation property for your model.   It would look something like this:
    "position" : {
        "cartographicDegrees" : [longitude, latitude, height]
    },
    "orientation" : {
        "unitQuaternion": [ x, y, z, w ] // compute values using method in #6738
    },
    "model": {
        "gltf" : "..."
    }

If you have any follow up questions, please ask them on our forum: https://groups.google.com/forum/?hl=en#!forum/cesium-dev
We use GitHub exclusively for tracking bugs and planning new features.  Thanks!

A better solution would be to fix the model itself, but if you can't update the model then @hpinkos' suggestion would be the best way to go.


[Question] What happened to app/static/adminlte2? (specifically natural sorting from #72)

I like how #72 added natural sorting of records, but that plugin (along with all the others?) seems to have disappeared since then.
Is there any way to enable natural sorting with the way the project is now?
If not, is there any plans to reintroduce this into the current codebase?

This is fixed in #557.
@ngoduykhanh, you can close this one as well.

Fixed by PR #557.
Regards
PowerDNS Admin Team


Assign correct number format for default values

If no focus point is assigned to an image, focusX() and focusY() returns the default value of 0.5. But in certain non-english languages, this default value is converted to 0,5 instead (a comma instead of a dot).
This PR makes sure that the correct number format is returned, regardless of current language.

Thank you.


chore(main): release 1.1.2

:robot: I have created a release beep boop
1.1.2 (2024-09-23)
Bug Fixes

dhis2: do not raise authentication errors for status codes 406 (d0af883)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BLSQ/openhexa-toolbox/releases/tag/v1.1.2 :sunflower:


"unhide" DS4 Controller

So I wanted to use this program for one game (FIFA 20). I followed a tutorial on YouTube to click this option. Instead, it killed my ability for my system to ever see my PS4 Controller... as a PS4 Controller. I have tried so many things - different cables, re-installing drivers, REINSTALLING WINDOWS... and nothing works. Steam does not see my PS4 Controller as a PS4 Controller, no matter what I do. I can no longer connect to my bluetooth dongle because it doesn't see a PS4 Controller and when I connect via USB, it just charges the controller. It's the same USB I was using just hours ago to play and I even tried two other cables.
My mind is blown and I'm confused as hell. 5 hours ago, I was able to play games on Steam via my PS4 Controller AS as a PS4 controller. Now I need to plug my controller into USB and play with DS4 Windows (or another program) running to play.
Please help!

I have a similar issue have you found any solution? Mine is completely dead it wont charge or turn on, no lightbar either

I legit had to reinstall windows twice. Not sure why it didn't work the first time. But I deleted all controllers via device manager and then reinstalled windows again and if started to work via USB.
The controller bluetooth is still messed but that's not a huge deal.
Get Outlook for Androidhttps://aka.ms/ghei36

From: plu4<EMAIL_ADDRESS>Sent: Friday, October 23, 2020 9:17:42 PM
To: Jays2Kings/DS4Windows<EMAIL_ADDRESS>Cc: WiggleButt17<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Jays2Kings/DS4Windows] "unhide" DS4 Controller (#624)
I have a similar issue have you found any solution? Mine is completely dead it wont charge or turn on, no lightbar either
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Jays2Kings/DS4Windows/issues/624#issuecomment-715650372, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARIP32AG7CJBFPW55TJE7I3SMITLNANCNFSM4SFGCCXA.

#620
If you are trying to use the DS4Windows app from this Jay2Kings download page then you are using obsolete version. Read the linked page and follow to the up-to-date version of DS4Windows. This site and forum here is dead.

I reinstalled windows twice and it works via USB now.
Get Outlook for Androidhttps://aka.ms/ghei36

From: plu4<EMAIL_ADDRESS>Sent: Friday, October 23, 2020 9:17:42 PM
To: Jays2Kings/DS4Windows<EMAIL_ADDRESS>Cc: WiggleButt17<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Jays2Kings/DS4Windows] "unhide" DS4 Controller (#624)
I have a similar issue have you found any solution? Mine is completely dead it wont charge or turn on, no lightbar either
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Jays2Kings/DS4Windows/issues/624#issuecomment-715650372, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARIP32AG7CJBFPW55TJE7I3SMITLNANCNFSM4SFGCCXA.


create a signed git tag, create a release

Whonix corridor instructions WIP:
https://www.whonix.org/wiki/Corridor
It would help if there was a release, a signed git tag that users could be pointed at.

Why not git verify-commit <commit>?
Master is supposed to stay usable and permanent, with experimental stuff going into other branches, e.g. I just uploaded https://github.com/rustybird/corridor/tree/qubes/qubes

Whonix corridor instructions WIP:
https://www.whonix.org/wiki/Corridor

Nice, thanks! By the way, I'm working on automatically setting up a logging DNS server, similar to how it's done in orplug.

Master is supposed to stay usable and permanent, with experimental stuff going into other branches, e.g. I just uploaded https://github.com/rustybird/corridor/tree/qubes/qubes

Cool!
Which version number would we give the package if it gets uploaded to
the Whonix or even Debian repository?
Perhaps we just count the number of git commits and use that as version
number?

I think the ISO 8601 timestamp (without separators) of the last commit is often used, e.g. corridor-20160704102229

Do you know the git command to create this format?

Maybe something like
git show --no-patch --pretty=format:%ai <commit> |
tr -dc 0-9 |
cut -b 1-14

I find these version numbers difficult to read, but it's your call.


Enhanced Documentation

New Pull Request
For more information, see the CONTRIBUTING guide.
Prerequisites
Please make sure you can check the following boxes:

[x] I have read the CONTRIBUTING document
[x] My code follows the code style of this project
[x] All new and existing tests passed

Type(s) of Changes
Contribution Type
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[ ] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have updated the documentation accordingly
[ ] I have added tests to cover my changes

Description
This Pull request enhances the documentation according to issue #314 . The documentations for both official supported plugins are now beeing listed under an own section in the "Tooling" tab.

I also changed the README.md documentations for the 2 bundler plugins to be more aligned with the other tooling docs:

removed the link to piral.io
removed the Logo above the header

Ideas on that?