[Bug]: Memory leak on all providers

Is there an existing issue for this?

[X] I have searched the existing issues

Affected Resource(s)
All the providers
Resource MRs required to reproduce the bug
No response
Steps to Reproduce

Deploy vanilla crossplane via helmchart
Deploy any resource needing reconciliation from this project, the more resource created the faster the increase
Wait and observe memory increase of the provider pod.

What happened?
The memory kept growing until pod got restarted or OOM kill, see:
Cloudplatform

Redis

Storage

Most of those drops are restarts, curve is steeper on Cloudplatform because it is the most used in our setup. Behavior is consistent across all the modules.
Relevant Error Output Snippet
No response
Crossplane Version
1.14.5
Provider Version
1.1.0
Kubernetes Version
No response
Kubernetes Distribution
No response
Additional Info
Since we identified the culprit, I will not dig into too much details. We will publish a PR with the fix we deployed in order to discuss what should be done.

@IxDay, thanks for your discovery and beautiful report 🙏 I wanted to note here that other providers are likely to be affected, in case underlying terraform providers function similarly (links to relevant lines):

provider-azure
provider-azuread

This is probably a (well-observed) generalisation of the issue I noticed with pubsub provider, noted here.

Reporting that we also experience this issue and are hit in a significant way since we manage hundreds of resources.
Example featuring our compute and container providers :

I would like to follow up with my comment above. In a discussion with @ulucinar and @turkenf, we suspected that provider-upjet-azure and provider-upjet-azuread might not be experiencing memory leaks, because of the differences in underlying Terraform providers. We didn't test, but I wouldn't be surprised if there were no memory leaks in those providers.

/fresh
Not sure if I have the power to refresh the issue, but unfortunately it is still a major problem, with quite large memory leakages observed :-(.


Direct Page Break Does Not Work

Bug Report 🐛

When we click on the page-break icon, it adds --- in the markdown panel as the page break. But when we directly write --- on the editor then page break doesn't work.
Expected Behavior
Writing --- should  add a page break on the editor
Current Behavior
Writing --- doesn't create a page break. It just writes it as it is.
Possible Solution

It would be very convenient if the user doesn't have to touch the mouse and can directly add a page break from the keyboard by entering ---.
If --- gets entered in the middle of the line then the cursor should jump to the next line and make a page break. If the user did this by mistake then he can just backspace once, and we would put him where he was before the page break occurred.
Steps to Reproduce

Write --- on the editor

Desktop

OS: Windows 10
Browser: Chrome
Version 88.0.4324.182 (Official Build) (64-bit)

I've marked this as an enhancement, because in general markdown syntax is not converted to formatted text. You could consider whether it would be more appropriate to add a keyboard hotkey for this instead (consistent with CTRL-B etc used for formatting). Perhaps looking at GDocs or Office 365 will give some inspiration?

@dselman That is very true. But there is already a keyboard shortcut assigned to that task. When you go and hover over the Page Break icon, it will show that the shortcut for that is  ctrl + enter but that is not working either for some reason.  I'm looking into it for quite some time, I will try to find a solution if I can.

Pinging @Michael-Grover on this.

I agree with Dan. I think fixing the shortcut is a higher priority than this enhancement. I created an issue for the shortcut bug: https://github.com/accordproject/web-components/issues/263


Java Vendor in the test reports

Along with Java version, it's useful to capture the vendor details.

final String javaVendor = systemProperties.get("java.vendor");

available in  v 1.3.13 and higher


Slow compile with colab tpu

Running pmap  takes very long and may time out compiling on colab running transformer language model pre-training with tpu.
The issue can be reproduced by running pre-training notebook from huggingface https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/masked_language_modeling_flax.ipynb using a tpu session.
I tried to explicitly set backend='tpu' when running pmap , but got the following error,
RuntimeError: Requested backend tpu, but it failed to initialize: INVALID_ARGUMENT: TpuPlatform is not available.

Also this should not matter but I used the high RAM TPU sessions. They offer more cpu cores and can make pre-processing faster. In particular setting a higher process count in the dataset map calls significantly reduces the run time before entering the train loop.
tokenized_datasets = raw_dataset.map(tokenize_function, batched=True, num_proc=40,

tokenized_datasets = tokenized_datasets.map(group_texts, batched=True, num_proc=40)

Hi @jakevdp, I got exactly same error when I trying to add the backend='tpu' to pmap on colab.
The minimum code to reproduce the error is as below:
import jax.tools.colab_tpu
jax.tools.colab_tpu.setup_tpu()

from jax import pmap
import jax.numpy as jnp

def f(x):
  print(x)
  return x**2

v = jnp.arange(8)
pf = pmap(f, backend='tpu')
pf(v)

RuntimeError: Requested backend tpu, but it failed to initialize: INVALID_ARGUMENT: TpuPlatform is not available.

Same experience here
If I run a perceiver model with 200m params on TPU (8 devices), the compilation gets killed by this error: compile failed to finish within 1 hour
However, it compiles fine on GPU (takes 10 min or so)

Hi @luyug
I ran the provided colab notebook using TPU v2 with JAX 0.4.23. It now does produce any RunTimeError. Also, I didn't face any compilation issues and the training process for 10 epoches is completed in around 20 minutes.
Please find the gist for reference.
Thank you.

Thanks! Yeah I suspect this had to do with the setup step for the older deprecated TPU runtimes, so it seems like this can be closed now. Thanks for following up!


Upgrade patternfly - Major version bump to 4.x.x

Upgrading our PF4 packages will allow us greater flexibility when creating & sharing modules across MTV & MTC.
This PR addresses all breaking changes stemming from pf api changes when bumping to PF4.

@eriknelson if you're cool with this as-is I think I'll merge it


Add support for Ingress api networking.k8s.io/v1 and fetch /apis

Please port Ingress v1 support from PR in https://github.com/doriordan/skuber/pull/339

Opened the following PR #233
@hagay3 can you take a look?

@coralbg @hagay3 thanks for quick response!


[app] Delete all cookies on signout

Until now we only deleted the main cookie when the user clicks the
signout button. This is now changed so that all cookies are deleted.
This means that also the cookies generated by plugins are deleted when
they are starting with "kobs".

[x] I added a CHANGELOG entry for this change.
[ ] I adjusted the corresponding documentation for this change.
[ ] I adjusted the values.yaml file and the documentation for all values.

Codecov Report

Merging #421 (8599fe9) into main (3a1e4ed) will decrease coverage by 0.07%.
The diff coverage is 15.38%.

:exclamation: Current head 8599fe9 differs from pull request most recent head fba9a98. Consider uploading reports for the commit fba9a98 to get more accurate results

@@            Coverage Diff             @@
##             main     #421      +/-   ##
==========================================
- Coverage   45.60%   45.52%   -0.08%
==========================================
  Files         139      139
  Lines       11888    11892       +4
==========================================
- Hits         5421     5414       -7
- Misses       6328     6338      +10
- Partials      139      140       +1

Impacted Files
Coverage Δ

pkg/hub/auth/auth.go
68.33% <15.38%> (-3.82%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix wrong import in upgrade to v6 docs

Just fixed import of ActionTypes in documentation. (use ActionTypes instead of ActionType)

Just saw that the typescript file uses ActionTypes, but the js version uses ActionType

You're right, the TS definitions should export ActionType, not ActionTypes. Opened issue #241.

Ah ok thanks for your comment, pretty new to typescript and it was late so I thought I misunderstood something.


fix(react): added missing export in hooks/index.ts

Overview

Problem
Couldn't import { useBodyClass, useResizeObserver, useStyleSheetInjection } from '@toss/react' since it wasn't exported from hooks/index.ts
What I did
added missing export in hooks/index.ts
PR Checklist

[x] I read and included theses actions below

I have read the Contributing Guide
I have written documents and tests, if needed.

This discussion was so interesting that I also changed the components folder! Thank you. mass2527 and HoseungJang


MNT: Pin environment

Trying to apply #2853's environment pin approach.
Here, I took the conda= line from 21.0.3's environment, and added lines from nipreps-containers here. I then removed pretty much everything non-numeric that can be installed through pip, ending with:
name: base
channels:
  - conda-forge
  - defaults
dependencies:
  - conda=4.11.0=py38h578d9bd_0
  - python=3.8
  - mkl=2021.3
  - mkl-service=2.4
  - nodejs=16
  - numpy=1.20
  - pandas
  - scikit-image=0.19
  - scikit-learn=0.24
  - scipy=1.6
  - seaborn=0.11
  - traits=6.2
prefix: /opt/conda

Then I created a new environment, installed fmriprep and re-exported:
$ conda env create -n tmp-fmriprep-21-0 -f docker/files/environment.yml
$ conda activate tmp-fmriprep-21-0
$ pip install .
$ conda env export

Then I dropped nipreps tools, since they're very likely to get re-updated between releases and they're all pure Python.

will need to update circle's docker orb

It needs fixing on 20.2.x as well. Would you mind fixing it there, and I can merge forward into this PR?

https://github.com/nipreps/fmriprep/commit/4feb341048a01d74eb6c6ce77496f19f42d2a9bf

21.0.x will not have further releases. Closing.


Chef provisioning, general update

I've implemented a simple Chef wrapper for both horta and horta-web. There is still some work for horta-web automating but I will create a separate issue for it.
This pull request will close #21 and #22 (because that was the purpose), #20 because #22 has superseded it, #13, #14 and #15 because it deprecates code compilation on the deployment box, so sbt issues are no more.

cc @rexim because he's known as a reputed Ruby coder

Consider the shit approved after above remarks are fixed.


Terminal process exit code<PHONE_NUMBER>

Terminal does not open
message:
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" terminated with exit code:<PHONE_NUMBER>.

It looks like your report is missing some important information, See this wiki page for more info on how to report actionable terminal issues.
/label "needs more info" integrated-terminal

It looks like your report is missing some important information, See this wiki page for more info on how to report actionable terminal issues.
/label "needs more info" integrated-terminal

@meganrogge , i am sorry for the incomplete report. thank you! details below:
This is the msg

settings.json
{
"javascript.updateImportsOnFileMove.enabled": "always",
"emmet.includeLanguages": {
"javascript": "javascriptreact",
"vue-html": "html",
"razor": "html",
"plaintext": "pug"
},
"window.zoomLevel": 0,
"json.schemas": [
]

}
only one extension - REST Client 0.24.4
VS Code version 1.52.1 and i am on a windows 64-bit OS

@meganrogge , i am sorry for the incomplete report. thank you! details below:
This is the msg

settings.json
{
"javascript.updateImportsOnFileMove.enabled": "always",
"emmet.includeLanguages": {
"javascript": "javascriptreact",
"vue-html": "html",
"razor": "html",
"plaintext": "pug"
},
"window.zoomLevel": 0,
"json.schemas": [
]

}
only one extension - REST Client 0.24.4
VS Code version 1.52.1 and i am on a windows 64-bit OS

Thanks for the info.
In the settings UI, what do you have the cwd set to?

Thanks for the info.
In the settings UI, what do you have the cwd set to?

hello!
it is empty
"terminal.integrated.cwd": ""

hello!
it is empty
"terminal.integrated.cwd": ""

Can you pls paste the output of this?
https://github.com/microsoft/vscode/wiki/Terminal-Issues#enabling-trace-logging

Can you pls paste the output of this?
https://github.com/microsoft/vscode/wiki/Terminal-Issues#enabling-trace-logging

Sure!  Here it goes:
[2021-01-27 20:31:42.896] [renderer1] [trace] [storage state.vscdb] open(c:\Users\hugos\AppData\Roaming\Code\User\workspaceStorage\1611779409737\state.vscdb, retryOnBusy: true)
[2021-01-27 20:31:42.897] [renderer1] [trace] [storage state.vscdb] Trace (event): SELECT * FROM ItemTable
[2021-01-27 20:31:42.897] [renderer1] [trace] [storage state.vscdb] getItems(): 24 rows
[2021-01-27 20:31:42.897] [renderer1] [trace] lifecycle: starting up (startup kind: 1)
[2021-01-27 20:31:42.897] [renderer1] [trace] lifecycle: phase changed (value: 2)
[2021-01-27 20:31:42.897] [renderer1] [trace] Skipping initializing user data in desktop
[2021-01-27 20:31:42.897] [renderer1] [trace] Layout#layout, height: 1040, width: 1920
[2021-01-27 20:31:42.897] [renderer1] [trace] workbench configuration {"_":[],"log":"trace","crash-reporter-id":"f4086fef-03f9-4b01-8563-5c2083bc95d7","logsPath":"C:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138","appRoot":"c:\Users\hugos\AppData\Local\Programs\Microsoft VS Code\resources\app","machineId":"fa7e6c8b380ee78e188f0c2d89cb8b54417d7829c96d17626484cb21c6c68a83","nodeCachedDataDir":"C:\Users\hugos\AppData\Roaming\Code\CachedData\ea3859d4ba2f3e577a159bc91e3074c5d85c0523","mainPid":11868,"execPath":"C:\Users\hugos\AppData\Local\Programs\Microsoft VS Code\Code.exe","userEnv":{"VSCODE_IPC_HOOK":"\\.\pipe\1c64e14562e383b100206e84d562e431-1.52.1-main-sock","VSCODE_NLS_CONFIG":"{"locale":"en-us","availableLanguages":{},"_languagePackSupport":true}"},"isInitialStartup":true,"backupPath":"C:\Users\hugos\AppData\Roaming\Code\Backups\1611779409737","windowId":1,"sessionId":"window:1","logLevel":0,"zoomLevel":0,"colorScheme":{"dark":false,"highContrast":false},"autoDetectHighContrast":true,"maximized":true,"perfEntries":["main:started",1611779498601,"main:appReady",1611779498794,"willLoadMainBundle",1611779498800,"didLoadMainBundle",1611779498968,"main:loadWindow",1611779499197],"partsSplashPath":"C:\Users\hugos\AppData\Roaming\Code\rapid_render.json","os":{"release":"10.0.18363"}}
[2021-01-27 20:31:42.897] [renderer1] [trace] lifecycle: phase changed (value: 3)
[2021-01-27 20:31:42.897] [renderer1] [trace] Created Spdlogger
[2021-01-27 20:31:42.897] [renderer1] [trace] [storage state.vscdb] updateItems(): insert(Map(1) {__$targetStorageMarker => {"workbench.panel.markers":1,"workbench.panel.output":1,"terminal":1,"workbench.explorer.views.state":1,"workbench.scm.views.state":1,"workbench.view.search.state":1,"output.activechannel":0,"workbench.centerededitorlayout.active":0,"debug.selectedroot":1,"workbench.view.debug.state":1,"workbench.panel.placeholderPanels":1,"memento/workbench.parts.editor":1,"editors.mru":1,"history.entries":1,"memento/workbench.editor.walkThroughPart":1,"workbench.panel.repl":1,"vscode.debug-auto-launch":1,"terminal.integrated.environmentVariableCollections":1,"terminal.numberOfVisibleViews":0,"memento/workbench.editors.logViewer":1,"codelens/cache2":1}}), delete(Set(1) {lifecyle.lastShutdownReason})
[2021-01-27 20:31:42.897] [renderer1] [trace] [storage state.vscdb] Trace (event): BEGIN TRANSACTION
[2021-01-27 20:31:42.969] [renderer1] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\hugos\AppData\Roaming\Code\User\globalStorage
[2021-01-27 20:31:42.984] [renderer1] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\hugos\AppData\Roaming\Code\User\globalStorage
[2021-01-27 20:31:42.999] [renderer1] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\hugos\AppData\Roaming\Code\User\globalStorage
[2021-01-27 20:31:43.000] [renderer1] [trace] [storage state.vscdb] Trace (event): INSERT INTO ItemTable VALUES ('$targetStorageMarker','{"workbench.panel.markers":1,"workbench.panel.output":1,"terminal":1,"workbench.explorer.views.state":1,"workbench.scm.views.state":1,"workbench.view.search.state":1,"output.activechannel":0,"workbench.centerededitorlayout.active":0,"debug.selectedroot":1,"workbench.view.debug.state":1,"workbench.panel.placeholderPanels":1,"memento/workbench.parts.editor":1,"editors.mru":1,"history.entries":1,"memento/workbench.editor.walkThroughPart":1,"workbench.panel.repl":1,"vscode.debug-auto-launch":1,"terminal.integrated.environmentVariableCollections":1,"terminal.numberOfVisibleViews":0,"memento/workbench.editors.logViewer":1,"codelens/cache2":1}')
[2021-01-27 20:31:43.469] [renderer1] [trace] Settings Sync: Initializing accounts
[2021-01-27 20:31:43.470] [renderer1] [trace] Settings Sync: Getting accounts for microsoft
[2021-01-27 20:31:43.528] [renderer1] [trace] [storage state.vscdb] Trace (event): DELETE FROM ItemTable WHERE key IN ('lifecyle.lastShutdownReason')
[2021-01-27 20:31:43.530] [renderer1] [trace] [File Watcher (node.js)] [ADDED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\renderer1.log
[2021-01-27 20:31:43.555] [renderer1] [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\hugos\AppData\Roaming\Code\User\globalStorage
[2021-01-27 20:31:43.559] [renderer1] [debug] User data changed
[2021-01-27 20:31:43.568] [renderer1] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\renderer1.log
[2021-01-27 20:31:43.569] [renderer1] [trace] [File Watcher (node.js)] [ADDED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\output_1_20210127T203141
[2021-01-27 20:31:43.614] [renderer1] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\output_1_20210127T203141
[2021-01-27 20:31:43.621] [renderer1] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\output_1_20210127T203141
[2021-01-27 20:31:43.627] [renderer1] [trace] [storage state.vscdb] Trace (event): END TRANSACTION
[2021-01-27 20:31:43.877] [renderer1] [trace] [File Watcher (node.js)] >> normalized [ADDED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\renderer1.log
[2021-01-27 20:31:43.877] [renderer1] [trace] [File Watcher (node.js)] >> normalized [ADDED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\output_1_20210127T203141
[2021-01-27 20:31:44.096] [renderer1] [trace] [File Watcher (node.js)] [ADDED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\sharedprocess.log
[2021-01-27 20:31:44.231] [renderer1] [trace] [File Watcher (node.js)] [ADDED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\exthost1
[2021-01-27 20:31:44.317] [renderer1] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\exthost1
[2021-01-27 20:31:44.361] [renderer1] [trace] [File Watcher (node.js)] [ADDED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\telemetry.log
[2021-01-27 20:31:44.361] [renderer1] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\telemetry.log
[2021-01-27 20:31:44.365] [renderer1] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\telemetry.log
[2021-01-27 20:31:44.367] [renderer1] [trace] [File Watcher (node.js)] [ADDED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\userDataSync.log
[2021-01-27 20:31:44.585] [renderer1] [trace] [File Watcher (node.js)] >> normalized [ADDED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\sharedprocess.log
[2021-01-27 20:31:44.585] [renderer1] [trace] [File Watcher (node.js)] >> normalized [ADDED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\exthost1
[2021-01-27 20:31:44.586] [renderer1] [trace] [File Watcher (node.js)] >> normalized [ADDED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\telemetry.log
[2021-01-27 20:31:44.586] [renderer1] [trace] [File Watcher (node.js)] >> normalized [ADDED] c:\Users\hugos\AppData\Roaming\Code\logs\20210127T203138\userDataSync.log
[2021-01-27 20:31:44.605] [renderer1] [trace] CommandService#executeCommand extension.js-debug.clearAutoAttachVariables
[2021-01-27 20:31:44.669] [renderer1] [trace] lifecycle: phase changed (value: 4)
[2021-01-27 20:31:44.673] [renderer1] [trace] RequestService#request https://vscodeexperiments.azureedge.net/experiments/vscode-experiments.json
[2021-01-27 20:31:44.807] [renderer1] [trace] CommandService#executeCommand setContext
[2021-01-27 20:31:44.808] [renderer1] [trace] CommandService#executeCommand setContext
[2021-01-27 20:31:44.824] [renderer1] [trace] CommandService#executeCommand setContext
[2021-01-27 20:31:44.905] [renderer1] [trace] [storage state.vscdb] updateItems(): insert(Map(1) {terminal.integrated.environmentVariableCollections => []}), delete(Set(0) {})
[2021-01-27 20:31:44.908] [renderer1] [trace] [storage state.vscdb] Trace (event): BEGIN TRANSACTION
[2021-01-27 20:31:44.909] [renderer1] [trace] [storage state.vscdb] Trace (event): INSERT INTO ItemTable VALUES ('terminal.integrated.environmentVariableCollections','[]')
[2021-01-27 20:31:44.922] [renderer1] [trace] [storage state.vscdb] Trace (event): END TRANSACTION
[2021-01-27 20:31:45.105] [renderer1] [trace] RequestService#request https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery
[2021-01-27 20:31:45.126] [renderer1] [trace] MainThreadTreeViews#$registerTreeViewDataProvider jsBrowserBreakpoints {"showCollapseAll":false,"canSelectMany":false}
[2021-01-27 20:31:45.146] [renderer1] [trace] Settings Sync: Updated accounts for microsoft
[2021-01-27 20:31:45.146] [renderer1] [trace] Settings Sync: Getting accounts for github
[2021-01-27 20:31:45.147] [renderer1] [trace] onWillActivateByEvent:  onAuthenticationRequest:github
[2021-01-27 20:31:45.220] [renderer1] [trace] Settings Sync: Updated accounts for github
[2021-01-27 20:31:45.224] [renderer1] [trace] Settings Sync: Account status changed from uninitialized to unavailable
[2021-01-27 20:31:45.225] [renderer1] [trace] Settings Sync: Accounts are initialized
[2021-01-27 20:31:45.907] [renderer1] [trace] [storage state.vscdb] updateItems(): insert(Map(1) {terminal.integrated.environmentVariableCollections => [{"extensionIdentifier":"vscode.git","collection":[["VSCODE_GIT_IPC_HANDLE",{"value":"\\.\pipe\vscode-git-61a1a2d1bc-sock","type":1}],["GIT_ASKPASS",{"value":"c:\Users\hugos\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass.sh","type":1}],["VSCODE_GIT_ASKPASS_NODE",{"value":"C:\Users\hugos\AppData\Local\Programs\Microsoft VS Code\Code.exe","type":1}],["VSCODE_GIT_ASKPASS_MAIN",{"value":"c:\Users\hugos\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js","type":1}]]}]}), delete(Set(0) {})
[2021-01-27 20:31:45.910] [renderer1] [trace] [storage state.vscdb] Trace (event): BEGIN TRANSACTION
[2021-01-27 20:31:45.910] [renderer1] [trace] [storage state.vscdb] Trace (event): INSERT INTO ItemTable VALUES ('terminal.integrated.environmentVariableCollections','[{"extensionIdentifier":"vscode.git","collection":[["VSCODE_GIT_IPC_HANDLE",{"value":"\\.\pipe\vscode-git-61a1a2d1bc-sock","type":1}],["GIT_ASKPASS",{"value":"c:\Users\hugos\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass.sh","type":1}],["VSCODE_GIT_ASKPASS_NODE",{"value":"C:\Users\hugos\AppData\Local\Programs\Microsoft VS Code\Code.exe","type":1}],["VSCODE_GIT_ASKPASS_MAIN",{"value":"c:\Users\hugos\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js","type":1}]]}]')
[2021-01-27 20:31:45.926] [renderer1] [trace] [storage state.vscdb] Trace (event): END TRANSACTION
[2021-01-27 20:31:52.263] [renderer1] [trace] CommandService#executeCommand workbench.action.terminal.new
[2021-01-27 20:31:52.265] [renderer1] [trace] terminalInstance#ctor (id: 1) {}
[2021-01-27 20:31:52.684] [renderer1] [trace] [storage state.vscdb] updateItems(): insert(Map(2) {$targetStorageMarker => {"workbench.panel.markers":1,"workbench.panel.output":1,"terminal":1,"workbench.explorer.views.state":1,"workbench.scm.views.state":1,"workbench.view.search.state":1,"output.activechannel":0,"workbench.centerededitorlayout.active":0,"debug.selectedroot":1,"workbench.view.debug.state":1,"workbench.panel.placeholderPanels":1,"memento/workbench.parts.editor":1,"editors.mru":1,"history.entries":1,"memento/workbench.editor.walkThroughPart":1,"workbench.panel.repl":1,"vscode.debug-auto-launch":1,"terminal.integrated.environmentVariableCollections":1,"terminal.numberOfVisibleViews":0,"memento/workbench.editors.logViewer":1,"codelens/cache2":1,"workbench.panel.hidden":0}, workbench.panel.hidden => false}), delete(Set(0) {})
[2021-01-27 20:31:52.728] [renderer1] [trace] IPty#spawn C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe [] {"name":"powershell.exe","cwd":"C:\Users\hugos","env":{"ALLUSERSPROFILE":"C:\ProgramData","APPDATA":"C:\Users\hugos\AppData\Roaming","APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL":"true","CHROME_CRASHPAD_PIPE_NAME":"\\.\pipe\crashpad_11868_UOZEAIBTXMXURKMY","CommonProgramFiles":"C:\Program Files\Common Files","CommonProgramFiles(x86)":"C:\Program Files (x86)\Common Files","CommonProgramW6432":"C:\Program Files\Common Files","COMPUTERNAME":"DESKTOP-FH18CLT","ComSpec":"C:\WINDOWS\system32\cmd.exe","DriverData":"C:\Windows\System32\Drivers\DriverData","HOMEDRIVE":"C:","HOMEPATH":"\Users\hugos","LOCALAPPDATA":"C:\Users\hugos\AppData\Local","LOGONSERVER":"\\DESKTOP-FH18CLT","NUMBER_OF_PROCESSORS":"4","OneDrive":"C:\Users\hugos\OneDrive - ISEG","OneDriveCommercial":"C:\Users\hugos\OneDrive - ISEG","OneDriveConsumer":"C:\Users\hugos\OneDrive","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","OS":"Windows_NT","Path":"C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Calibre2\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Plantronics\Spokes3G\;C:\Program Files\nodejs\;C:\Users\hugos\AppData\Local\Microsoft\WindowsApps;C:\Users\hugos\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\hugos\AppData\Local\GitHubDesktop\bin;C:\Program Files\heroku\bin;C:\Users\hugos\AppData\Roaming\npm","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"AMD64 Family 21 Model 101 Stepping 1, AuthenticAMD","PROCESSOR_LEVEL":"21","PROCESSOR_REVISION":"6501","ProgramData":"C:\ProgramData","ProgramFiles":"C:\Program Files","ProgramFiles(x86)":"C:\Program Files (x86)","ProgramW6432":"C:\Program Files","PROMPT":"$P$G","PSModulePath":"C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules","PUBLIC":"C:\Users\Public","SystemDrive":"C:","SystemRoot":"C:\WINDOWS","TEMP":"C:\Users\hugos\AppData\Local\Temp","TMP":"C:\Users\hugos\AppData\Local\Temp","USERDOMAIN":"DESKTOP-FH18CLT","USERDOMAIN_ROAMINGPROFILE":"DESKTOP-FH18CLT","USERNAME":"hugos","USERPROFILE":"C:\Users\hugos","windir":"C:\WINDOWS","TERM_PROGRAM":"vscode","TERM_PROGRAM_VERSION":"1.52.1","LANG":"en_US.UTF-8","COLORTERM":"truecolor","VSCODE_GIT_IPC_HANDLE":"\\.\pipe\vscode-git-61a1a2d1bc-sock","GIT_ASKPASS":"c:\Users\hugos\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass.sh","VSCODE_GIT_ASKPASS_NODE":"C:\Users\hugos\AppData\Local\Programs\Microsoft VS Code\Code.exe","VSCODE_GIT_ASKPASS_MAIN":"c:\Users\hugos\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js"},"cols":0,"rows":0,"useConpty":true,"conptyInheritCursor":false}
[2021-01-27 20:31:52.784] [renderer1] [debug] Terminal process ready (shellProcessId: 7996)
[2021-01-27 20:31:52.832] [renderer1] [trace] [storage state.vscdb] Trace (event): BEGIN TRANSACTION
[2021-01-27 20:31:52.874] [renderer1] [trace] IPty#resize 261 11
[2021-01-27 20:31:52.882] [renderer1] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\hugos\AppData\Roaming\Code\User\globalStorage
[2021-01-27 20:31:52.964] [renderer1] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\hugos\AppData\Roaming\Code\User\globalStorage
[2021-01-27 20:31:52.968] [renderer1] [trace] [storage state.vscdb] Trace (event): INSERT INTO ItemTable VALUES ('$targetStorageMarker','{"workbench.panel.markers":1,"workbench.panel.output":1,"terminal":1,"workbench.explorer.views.state":1,"workbench.scm.views.state":1,"workbench.view.search.state":1,"output.activechannel":0,"workbench.centerededitorlayout.active":0,"debug.selectedroot":1,"workbench.view.debug.state":1,"workbench.panel.placeholderPanels":1,"memento/workbench.parts.editor":1,"editors.mru":1,"history.entries":1,"memento/workbench.editor.walkThroughPart":1,"workbench.panel.repl":1,"vscode.debug-auto-launch":1,"terminal.integrated.environmentVariableCollections":1,"terminal.numberOfVisibleViews":0,"memento/workbench.editors.logViewer":1,"codelens/cache2":1,"workbench.panel.hidden":0}'),('workbench.panel.hidden','false')
[2021-01-27 20:31:52.972] [renderer1] [trace] [File Watcher (node.js)] [CHANGED] c:\Users\hugos\AppData\Roaming\Code\User\globalStorage
[2021-01-27 20:31:52.976] [renderer1] [trace] [storage state.vscdb] Trace (event): END TRANSACTION
[2021-01-27 20:31:53.177] [renderer1] [trace] [File Watcher (node.js)] >> normalized [CHANGED] c:\Users\hugos\AppData\Roaming\Code\User\globalStorage
[2021-01-27 20:31:53.179] [renderer1] [debug] User data changed
[2021-01-27 20:31:53.886] [renderer1] [trace] IPty#kill
[2021-01-27 20:31:53.902] [renderer1] [debug] Terminal process exit (id: 1) with code undefined
[2021-01-27 20:31:53.902] [renderer1] [debug] Terminal process exit (id: 1) state 5
[2021-01-27 20:31:53.903] [renderer1] [trace] terminalInstance#dispose (id: 1)
[2021-01-27 20:31:54.033] [renderer1] [trace] [storage state.vscdb] updateItems(): insert(Map(1) {$targetStorageMarker => {"workbench.panel.markers":1,"workbench.panel.output":1,"terminal":1,"workbench.explorer.views.state":1,"workbench.scm.views.state":1,"workbench.view.search.state":1,"output.activechannel":0,"workbench.centerededitorlayout.active":0,"debug.selectedroot":1,"workbench.view.debug.state":1,"workbench.panel.placeholderPanels":1,"memento/workbench.parts.editor":1,"editors.mru":1,"history.entries":1,"memento/workbench.editor.walkThroughPart":1,"workbench.panel.repl":1,"vscode.debug-auto-launch":1,"terminal.integrated.environmentVariableCollections":1,"terminal.numberOfVisibleViews":0,"memento/workbench.editors.logViewer":1,"codelens/cache2":1}}), delete(Set(1) {workbench.panel.hidden})
[2021-01-27 20:31:54.048] [renderer1] [trace] [storage state.vscdb] Trace (event): BEGIN TRANSACTION
[2021-01-27 20:31:54.050] [renderer1] [trace] [storage state.vscdb] Trace (event): INSERT INTO ItemTable VALUES ('$__targetStorageMarker','{"workbench.panel.markers":1,"workbench.panel.output":1,"terminal":1,"workbench.explorer.views.state":1,"workbench.scm.views.state":1,"workbench.view.search.state":1,"output.activechannel":0,"workbench.centerededitorlayout.active":0,"debug.selectedroot":1,"workbench.view.debug.state":1,"workbench.panel.placeholderPanels":1,"memento/workbench.parts.editor":1,"editors.mru":1,"history.entries":1,"memento/workbench.editor.walkThroughPart":1,"workbench.panel.repl":1,"vscode.debug-auto-launch":1,"terminal.integrated.environmentVariableCollections":1,"terminal.numberOfVisibleViews":0,"memento/workbench.editors.logViewer":1,"codelens/cache2":1}')
[2021-01-27 20:31:54.054] [renderer1] [trace] [storage state.vscdb] Trace (event): DELETE FROM ItemTable WHERE key IN ('workbench.panel.hidden')
[2021-01-27 20:31:54.054] [renderer1] [trace] [storage state.vscdb] Trace (event): END TRANSACTION
[2021-01-27 20:31:56.607] [renderer1] [trace] KeybindingService#dispatch F1 workbench.action.showCommands
[2021-01-27 20:31:56.607] [renderer1] [trace] CommandService#executeCommand workbench.action.showCommands
[2021-01-27 20:31:58.205] [renderer1] [trace] KeybindingService#dispatch Ctrl+V editor.action.clipboardPasteAction
[2021-01-27 20:31:58.205] [renderer1] [trace] CommandService#executeCommand editor.action.clipboardPasteAction
[2021-01-27 20:31:59.401] [renderer1] [trace] CommandService#executeCommand workbench.action.openLogFile
also a prit of a part of it that might be easier to read

Thanks for that info. I think this is a duplicate of this issue. https://github.com/microsoft/vscode/issues/100366#issuecomment-645322374

Thanks for that info. I think this is a duplicate of this issue. https://github.com/microsoft/vscode/issues/100366#issuecomment-645322374


Add data recovery example

Pull Request Description
Add link to GoQuorum example link.
Fixed Issue(s)

Fixes #99

I think the original comment still needs to be clarified somewhere in the Tessera docs:

All private transaction managers (Tessera) participating to a private transaction (in privateFor) must be available at the >> time the transaction is sent. If some Tessera are not available then you receive an error and the transaction is not >> propagated [to the] network.

The Tessera content doesn't really go over transactions but links to the GoQuorum transaction pages, so I didn't really see a logical place for it. Do you have any suggestions where it would fit?  My best guess is here but I'm not sure.

This does not say anything about the need for Tessera being available across participant nodes for private transactions to propagate (and GoQuorum does not need to be available for private txns to propagate).

In GoQuorum, it states nodes need to be running here and here while explaining the transactions.  I felt this answered the point that they must be running, since if someone was trying a transaction they would be on those pages rather than the Tessera content.  Should we be more specific on the GoQuorum pages as well?

Maybe reach out to the GoQuorum team to see if that contract extension example is a good example of data recovery?

At the bottom the page I linked, it calls out Steps (2a, 2b, 2c) and (3a, 3b. 3c) are required to handle data recovery of transaction manager data and goes into a little detail about data recovery.  In the source conversation of my issue, the original question was about how to actually use Tessera's data recovery and the customer provided an inaccurate example of a node being down.  That's why I thought this link worked but I wasn't aware that it was being reworked though, my bad.
I can take on updating the contract state extension page.  I have a question on what needs updating though.

(Also, the rest of this data recovery page could use a good edit - possible but not necessary to combine in this PR.)

I'll go ahead and give it a pass over as part of this one, since it's open.


mashREPL : Future features warnings

Forewarned is forearmed

iSH_Removal_Pending.pdf
Fixing Section 2.5.2.pdf
My app review experiences.pdf
https://ish.app/app-store-removal

About iSH’s pending removal from the App Store
Update: We got a call this evening from someone who runs App Review. They apologized for the experience we had, then told us they've accepted our appeal and won't be removing iSH from the store tomorrow. We'll stay in contact with them to work out details. Thanks everyone for your support!

On Monday, October 26th, just four days after we launched iSH on the App Store, we received a call from Apple informing us that they had found our app noncompliant with section 2.5.2 of the App Store Review Guidelines and that they would remove the app from sale if we did not submit a satisfactory update within two weeks. Despite our best efforts, we do not believe we will be able to bring iSH into compliance by tomorrow, the conclusion of this 14 day period, and we expect iSH to no longer be available to download from the App Store after that time. We are working our hardest to get iSH back on the App Store as soon as possible and hope for your understanding and support as we navigate our next steps in this process.

Why is iSH being removed?
Apple believes iSH is not compliant with section 2.5.2 of the App Store Review Guidelines, which governs applications which download and run executable code. Specifically, they believe that iSH “is not self-contained and has remote package updating functionality”, and suggest that we should “remove the remote network activity functionality which could allow for remote code importing into the app, such as wget or curl, or other remote network commands”. Additional communication with Apple has indicated that they believe that iSH is a security concern if we allow any sort of code importing by the user.

We believe iSH is fully compliant with the App Store Review Guidelines. Saagar has written a more detailed analysis of why we believe this rejection is incorrect, how we believe Apple has misinterpreted and misapplied this rule to our app, and describe how 2.5.2’s poor wording coupled with the review team being unable to review functionality of scripting applications leads to mistaken classifications like these. At a high level, Apple has selectively targeted iSH using section 2.5.2 without fullying understanding our application, their own guidelines, or the consequences of what they are asking and how they affect the App Store ecosystem as a whole. Consistent enforcement of Apple’s incorrect interpretation would require the removal of all scripting apps, including many of the most popular applications in the App Store and some of Apple’s own applications.

What have we done to get iSH back on the App Store?
We’ve been working for the last two weeks to try to keep iSH available without interruptions. We have drafted numerous appeals, requests for clarifications, rule modifications, and explanatory emails. We’ve been on the phone with Apple for hours. Unfortunately, even with this we have been unable to resolve the issue, and the process has been significantly more stressful than we would have liked it to be. Theodore, the primary iSH liaison to Apple, has written about how this process should be improved.

Our first interaction with the App Store review team actually dates back to May, not October: we wanted to know what Apple thought of iSH, since we weren’t sure how the rules would be enforced for it. Of course, iSH complies with the letter of the guidelines, but review found it to violate 2.5.2 because it could download Linux executable code. The problem appeared that apk lets you install packages, so we decided to remove it and work on other features to make the app more useful in its absence. We submitted this updated build in October and this was what is currently on the App Store.

After our build was flagged for noncompliance, we went through the usual review process: we first asked for clarification, and then after we realized that the rule was being misapplied we submitted a rule change request and of course appealed the decision as well. As the deadline approached we sent off an email to Phil Schiller as well detailing our situation. Unfortunately none of this led anywhere, which brings up to our current situation today.

Does this mean I can’t use iSH anymore?
No, not at all. However, it will mean that you will no longer be able to get iSH from the App Store, which is something which we would still like to be able to provide. The App Store remains the easiest and most popular method of software distribution on iOS, and we’re working hard to save iSH’s listing because we think the app should have a permanent spot there for users who prefer this method of distribution.

Removal of iSH’s listing on the App Store should not affect your use of iSH if you download the app before it is removed. We have not received any compliance messages from Apple regarding our TestFlight beta, so we plan to continue offering prerelease versions of iSH there for up to 10,000 beta testers.

Precompiled builds of iSH (distributed as IPA files) will remain available on GitHub for installation through AltStore and for jailbroken users. Advanced users are welcome to build iSH themselves—it’s free and open source and always will be!

Update: a-Shell has mentioned that they have received a similar rejection notice. Apple may be running extra review for scripting apps.


Save a group as a PNG

Hello
Is it possible to save a group as a PNG (e.g. a collection of layers...)

Unfortunatley, PSD.js doesn't have this ability yet, but PSD.rb does. It will be coming to PSD.js eventually, it's just a matter of time.

please tell me the way to extract layer with mask data to png

Hello meltingice,
Currently could you have add the functionality save a group as PNG?
Thank you for your answer.

Nobody has found a solution to this problem? (sorry for reviving old topics).


Running integration tests without token does not exit with status 1

It prints out the error message without stopping the testing process with an error exit code!

Actually, it should be possible to print a warning message saying that tests are running in authenticated mode, and some test will be filtered out.


Add URI factory (fix #3)

Fix #3.
Also refactored a bit to reduce code duplication.

Updated.

Okay, should be ready now.

Thanks

You too, for the thorough review. :smile:


[Windows] Out Of Memory exception in Splunk Collector

Scheduling a Splunk Otel Collector 0.70.0-2022 container in Kubernetes cluster (1.25.7)
The container crashes after a few minutes of running.
It has been deployed using Helm Chart: https://signalfx.github.io/splunk-otel-collector-chart/splunk-otel-collector ( version: "0.70.0")
The chart is deployed twice. Linux Mode and Windows Mode. There are no issues in containers running on Linux nodes.
Overrides for windows mode:
"splunk-otel-collector": {
                            "clusterName": "",
                            "splunkPlatform": {
                                "token": "token",
                                "endpoint": "host",
                                "index": "index",
                                "sourcetype": "my_cluster"
                            },
                            "cloudProvider": "azure",
                            "environment": "stage",
                            "isWindows": true,
                            "logsEngine": "otel",
                            "readinessProbe": {
                                "initialDelaySeconds": 60
                            },
                            "livenessProbe": {
                                "initialDelaySeconds": 60
                            },
                            "clusterReceiver": {
                                "enabled": false
                            },
                            "secret": {
                                "create": false,
                                "validateSecret": false
                            },
                            "agent": {
                                "securityContext": {
                                    "windowsOptions": {
                                        "runAsUserName": "ContainerAdministrator"
                                    }
                                },
                            },
                            "logsCollection": {
                                "containers": {
                                    "excludeAgentLogs": false,
                                    "multilineConfigs": [
                                        {
                                            "namespaceName": {
                                                "value": "ns-${environment}-default"
                                            },
                                            "podName": {
                                                "value": "mycontainer*",
                                                "useRegexp": true
                                            },
                                            "containerName": {
                                                "value": "mycontainer"
                                            },
                                            "firstEntryRegex": "^[^\\s].*"
                                        }
                                    ]
                                }
                            },
                            "extraAttributes": {
                                "fromLabels": [
                                    {
                                        "key_regex": "(.*)",
                                        "from": "pod",
                                        "tag_name": "$$1"
                                    }
                                ]
                            }
                        }

2023-03-16T06:37:16.054Z	info	fileconsumer/file.go:171	Started watching file	{"kind": "receiver", "name": "filelog", "pipeline": "logs", "component": "fileconsumer", "path": "C:\\var\\log\\pods\\kube-system_calico-node-windows-4r5px_2264a866-2d43-4aa2-a7fd-eaab3b533f47\\calico-node-felix\\0.log"}
W0316 06:37:46.738419    7860 reflector.go:347] k8s.io/client-go@v0.26.1/tools/cache/reflector.go:169: watch of *v1.Pod ended with: an error on the server ("unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:50409-><IP_ADDRESS>:443: wsarecv: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.") has prevented the request from succeeding
W0316 06:37:46.738419    7860 reflector.go:347] k8s.io/client-go@v0.26.1/tools/cache/reflector.go:169: watch of *v1.Namespace ended with: an error on the server ("unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:50409-><IP_ADDRESS>:443: wsarecv: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.") has prevented the request from succeeding
W0316 06:37:46.738419    7860 reflector.go:347] k8s.io/client-go@v0.26.1/tools/cache/reflector.go:169: watch of *v1.Pod ended with: an error on the server ("unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:50409-><IP_ADDRESS>:443: wsarecv: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.") has prevented the request from succeeding
runtime: VirtualAlloc of 8192 bytes failed with errno=1455
fatal error: out of memory

runtime stack:
runtime.throw({0x553c9e9?, 0xc015c36000?})
	runtime/panic.go:1047 +0x65 fp=0x845abff990 sp=0x845abff960 pc=0x71dca5
runtime.sysUsedOS(0xc015c36000, 0x2000)
	runtime/mem_windows.go:83 +0x1c9 fp=0x845abff9f0 sp=0x845abff990 pc=0x6f9849
runtime.sysUsed(0x70ca65?, 0x2000?, 0x6fc9d6?

Sorry, I'm not seeing anything pop up that points me to the issue there. I think it would make sense for you to try to run the collector with the pprof extension enabled and take snapshots to show memory usage over time.
https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/pprofextension
See https://pkg.go.dev/net/http/pprof for instructions to capture memory heap dumps.
You can also open a support case and we can then engage with you directly to perform additional diagnostics.

Closing as inactive. Please reopen or create a support issue.


🐛 [flutterfire] Firebase initialization exception: "Error: Expected a value of type 'Object', but got one of type 'Null'

Bug report
Describe the bug
Runs fine if "flutter run" is used, but throws exception with debug mode (F5).
full error code:
Exception has occurred.
"Error: Expected a value of type 'Object', but got one of type 'Null'
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 294:49      throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 127:3       castError
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 742:12  cast
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 78:24                 as
packages/firebase_core_web/src/firebase_core_web.dart 87:20                       get [_ignoredServiceScripts]
packages/firebase_core_web/src/firebase_core_web.dart 163:28                      _initializeCore
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54                runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5                _async
packages/firebase_core_web/src/firebase_core_web.dart 155:31                      [_initializeCore]
packages/firebase_core_web/src/firebase_core_web.dart 197:11                      initializeApp
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54                runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5                _async
packages/firebase_core_web/src/firebase_core_web.dart 193:44                      initializeApp
packages/firebase_core/src/firebase.dart 43:47                                    initializeApp
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54                runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5                _async
packages/firebase_core/src/firebase.dart 39:43                                    initializeApp
packages/project123/main.dart 6:18                                               main
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54                runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5                _async
packages/project123/main.dart 5:10                                               main$
web_entrypoint.dart 24:31                                                         <fn>
lib/ui_web/ui_web/initialization.dart 41:15                                       <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50                <fn>
dart-sdk/lib/async/zone.dart 1661:54                                              runUnary
dart-sdk/lib/async/future_impl.dart 156:18                                        handleValue
dart-sdk/lib/async/future_impl.dart 840:44                                        handleValueCallback
dart-sdk/lib/async/future_impl.dart 869:13                                        _propagateToListeners
dart-sdk/lib/async/future_impl.dart 641:5                                         [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 715:7                                         callback
dart-sdk/lib/async/schedule_microtask.dart 40:11                                  _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5                                   _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:15               <fn>
"

Steps to reproduce
Steps to reproduce the behavior:

Install latest flutter version (3.13.6)
Create a firebase project
add firebase core and auth dependencies
configure with flutterfire configure
add initalizeApp to main function.
run with debug mode All exceptions and Uncaught Exceptions enabled.

Expected behavior
Has to work fine.
Sample project
Just use flutter create, don't add anything but this to main.dart:
void main() async {
  await Firebase.initializeApp(
    options: DefaultFirebaseOptions.currentPlatform,
  );
  runApp(const MyApp());
}

Additional context
Debug mode suddenly started throwing this exception, probably after I upgraded flutter version.
I was using windows but, just to make sure I didn't mess anything on my end, I installed fedora on my other drive.
Still same issue happens.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.6, on Fedora Linux 38 (KDE Plasma) 6.2.9-300.fc38.x86_64, locale
    en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.83.0)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 3.1.3
Flutter SDK 3.13.6
restauranco 1.0.0+1

dependencies:
- cupertino_icons 1.0.6
- firebase_auth 4.10.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.17.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine]

dev dependencies:
- flutter_lints 2.0.3 [lints]
- flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math async boolean_selector characters collection material_color_utilities meta source_span stream_channel string_scanner term_glyph web]

transitive dependencies:
- _flutterfire_internals 1.3.7 [collection firebase_core firebase_core_platform_interface flutter meta]
- async 2.11.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- characters 1.3.0
- clock 1.1.1
- collection 1.17.2
- fake_async 1.3.1 [clock collection]
- firebase_auth_platform_interface 6.19.1 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.8.2 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta]
- firebase_core_platform_interface 4.8.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.8.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- js 0.6.7 [meta]
- lints 2.1.1
- matcher 0.12.16 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.5.0 [collection]
- meta 1.9.1
- path 1.8.3
- plugin_platform_interface 2.1.6 [meta]
- sky_engine 0.0.99
- source_span 1.10.0 [collection path term_glyph]
- stack_trace 1.11.0 [path]
- stream_channel 2.1.1 [async]
- string_scanner 1.2.0 [source_span]
- term_glyph 1.2.1
- test_api 0.6.0 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph]
- typed_data 1.3.2 [collection]
- vector_math 2.1.4
- web 0.1.4-beta

Actually, even if I use flutter run, I don't get the exception error but, when user tries to log in with firebase auth it freezes the app, most likely because Firebase didn't initialize.
For 2 days I couldn't develop my app, I don't know if this is a problem with latest flutter version, but please let me know which version to downgrade, so I can move on with development.

Thanks for the report @Codseus

6. run with debug mode All exceptions and Uncaught Exceptions enabled.

I am wondering if this is related to dart specifically and it's effect rippled to flutterfire plugins. See https://github.com/dart-lang/sdk/issues/53334 and check if it helps further or not.

Nothing is working, I read through every issue here but none has a solution, I downgraded to flutter 3.10.0 and downgraded firebase core and firebase auth dependencies too, but still the same problem.

I am unable to replicate the error after following all the steps you mentioned. Can you reconfigure your firebase integration by first updating the cli tool and then reselecting the firebase project ?

My flutterfire cli is already up to date, but  I reactivated again to make sure. I did flutterfire configure again. Still getting the same exception.
I added this line on my main.dart to check if firebase initializes late,
Firebase.apps.isEmpty
      ? print('Firebase not initialized')
      : print('Firebase initialized');

I am not getting any print on debug mode since the exception stops the app but when running with flutter run, I am always getting 'firebase initialized', I am never getting the not initialized printed. Maybe this is a flutter problem rather than flutterfire problem, or a firebase_core problem.
Note:
Even though Firebase initializes fine on flutter run, If I try to listen authStateChanges when no user is logged, my app freezes so I cannot do redirects on my login page. I guess I have to work with that for now until this problem is fixed.

I am unable to replicate the error as verified earlier, but based on the report, labeling it for team's attention.

@Codseus
You seem to be hitting same error as https://github.com/firebase/flutterfire/issues/11525 and the potential solution is as mentioned https://github.com/firebase/flutterfire/issues/11525#issuecomment-1761435263 that you can try and check if it works in your case or not.
Closing this as a duplicate in favor of the linked issue which is also open currently. If you disagree, write in comments and I'll reopen it.


[RFC]FamilySeer: A new search method for Auto-scheduler

RFC topic in forum: https://discuss.tvm.apache.org/t/rfc-familyseer-a-new-search-method-for-auto-scheduler/11877
@comaniac @junrushao1994

Thanks for the RFC. Will review next week.


Use configurable base URL in emails

Detailed information:

Adds a BASE_URL config, which pulls from the environment, or defaults to the production URL
BASE_URL config value is used in sendgrid/utils.py and the PasswordResetLink model
Configured URL is passed to email templates via "-base_url-" substitution
Removed dead code for  "old_broken_url"

Closing issues:
List all issues the pull request solve:

Closes #422

Test plan (required)

[x] The PR contains new PyTest unit/integration tests for any function or functional added.
[x] The PR changes existing PyTest unit/integration tests to keep all tests up to date.
[x] The PR does not lead to degradation in unit test coverage.
[x] Project parts affected by changes in this PR was tested manually on your local (using Postman or in any other way). List everything you've tested below:

Ran all pytests

Codecov Report
Base: 63.84% // Head: 66.41% // Increases project coverage by +2.57% :tada:

Coverage data is based on head (2d42dd9) compared to base (f976cad).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #460      +/-   ##
===========================================
+ Coverage    63.84%   66.41%   +2.57%
===========================================
  Files           79       79
  Lines         2550     2549       -1
  Branches       313      313
===========================================
+ Hits          1628     1693      +65
+ Misses         902      829      -73
- Partials        20       27       +7

Impacted Files
Coverage Δ

app/sendgrid/templates/user_b_shared_email.py
100.00% <ø> (ø)

app/sendgrid/templates/welcome_email.py
100.00% <ø> (ø)

app/sendgrid/utils.py
61.70% <ø> (+34.04%)
:arrow_up:

app/models.py
100.00% <100.00%> (ø)

app/conversations/routes.py
57.85% <0.00%> (+7.14%)
:arrow_up:

app/conversations/utils.py
47.50% <0.00%> (+15.00%)
:arrow_up:

app/auth/routes.py
59.81% <0.00%> (+19.62%)
:arrow_up:

app/user_b/analytics_logging.py
100.00% <0.00%> (+34.21%)
:arrow_up:

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

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


Livewire Component Problem within Laravel Modules

Laravel Framework 10.37.3
Livewire v3.3.0
nwidart laravel-Modules 10.0.4
Laravel-modules-livewire v2.2.0

The following issues happened when trying to use.

After creating a Livewire component.. the route cannot access it. It says Target Class does not exist. Actually this didn't happen before. But, it works by removing the default $moduleNamespace from the RouteServiceProvider of the "module".

Then, BadMethodCallException comes.

Error::

Method Modules{module_name}\Livewire\HomeController::index does not exist.

Before it actually works with livewire default render() method but now it requires index() method by default. It works by changing the livewire render() method to index().

Then, another "ErrorException" comes when try to access the livewire component property within blade.

Error::

Undefined variable $count

Livewire Component
namespace Modules\Test\Livewire;

use Livewire\Component;

class HomeController extends Component
{
    public $count = 1;

    public function index()
    {
        return view('test::livewire.home-controller');
    }
}

Blade file

The HomeController livewire component is loaded from the Test module.

    {{ $count }}

I am able to re-create these issues using fresh installation.
Is there something required to be modified manually to resolve these issues ?

@manojdhrma Did you try the full page component? Also, can you share with me your dummy source code, please? So, I will test this issue properly on my end.

@mhmiton Yes. Actually this is a full page component.
It's easier to created a repo specifically for this purpose so you can get the full source code
https://github.com/manojdhrma/Laravel-modules-livewire--TestApp-

Are you sure that the resource route is supported by Livewire? I think the resource route is not supported on the livewire.
On the livewire full-page component, you need to declare the render method. So, if you using the render method, the route should be -
Route::get('test', HomeController::class)->name('test.index');
For the resource route things, you can use this, according the the livewire docs - https://livewire.laravel.com/docs/components#full-page-components
Route::get('test', TestIndex::class)->name('test.index');
Route::get('test/create', TestCreate::class)->name('test.create');
Route::get('test/edit/{id}', TestEdit::class)->name('test.edit');

Yes. I check it and you are correct.!
Livewire does not support the resource route.
This is the primary problem. As you explained, I used the get route and it started working smoothly.
And it seems, Laravel-modules only accepting resource route to the default controllers.
Thank you for clearing up the confusion.


SSL validation error while running kitchen converge

I am trying to run kitchen converge on a Windows Server 2012 R2 machine, I am getting following error
Failed to complete #create action: [SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed] on default-windows2012-r2
kitchen diagnose runs fine. I also checked the details in ~/.azure/credentials file. I think they are valid.
kitchen-converge-log.txt
kitchen-diagnose-log.txt
kitchen.yml.txt

Please can you remove the winrm_powershell_script configuration and retry?
Failing that you may need to revert to a previous version of Test Kitchen (<1.12) - the latest version pulls in the latest winrm gem which I can not yet tested.
On Fri, Sep 9, 2016 at 6:46 PM +0100, "vikrant-wagh" <notifications<EMAIL_ADDRESS>wrote:
I am trying to run kitchen converge on a Windows Server 2012 R2 machine, I am getting following error
Failed to complete #create action: [SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed] on default-windows2012-r2
kitchen diagnose runs fine. I also checked the details in ~/.azure/credentials file. I think they are valid.
kitchen-converge-log.txthttps://github.com/pendrica/kitchen-azurerm/files/464498/kitchen-converge-log.txt
kitchen-diagnose-log.txthttps://github.com/pendrica/kitchen-azurerm/files/464497/kitchen-diagnose-log.txt

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/pendrica/kitchen-azurerm/issues/34, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGFsDmltxpY-MOXJewZlL_1TzJXehrsEks5qoZtVgaJpZM4J5SjL.

First I didn't have the PowerShell winrm script but I was getting same error. I added that script to see if it works with overriden winrm settings.
I will revert kitchen-azurerm version and try.
Thanks a lot for the prompt response.

I reverted the version, still I am facing same issue. I am attaching the log and my Gemfile.
kitchen-converge-log-20161112.txt

Looking at the converge it's failing to connect the management API.  This is controlled by the following URL that should be visible by doing a ```kitchen diagnose --all``
    driver:
      azure_management_url: https://management.azure.com

Can you use your local browser to connect to https://management.azure.com to see if there are issues?

I think this issue is because of my office firewall. Working fine with my home network. I am able to work with test-kitchen-1.12.0.

That's good, I was also going to report that I've tested the driver with test kitchen 1.12 and it seems ok.  You may be able to adjust your HTTP_PROXY settings in the office.
I shall close this issue for now.  Please open a new issue if you continue to encounter problems.


Request for adding the German anime site "Aniflix"

Source name
Aniflix
Source link
https://aniflix.cc/
Source language
Deutsch (German)
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.

Hey, thank you very much first of all! But there is one thing that is a bit problematic: On the Aniflix site, if you want to see more episodes, you have to click on "load more" (see screenshot 1). Only the first 24 episodes are shown. That is also the case in the Mangayomi app but in the app, I can't load more Episodes (see screenshot 2). Is it possible for you to fix this? That Problem doesn't exist in the Aniyomi app on Android (see screenshot 3), so I think there must be a way to fix this. I hope this doesn't annoy you or anything, but could you please take a look at this issue?

Fixed!

Thank you!!


Conditional access support for shared channels

[Hey folks! I'm a bit confused about the conditional access headline here https://docs.microsoft.com/en-us/microsoft-365/solutions/plan-external-collaboration?view=o365-worldwide#conditional-access
More specifically this:
"The following types of conditional access policies are supported with shared channels:

Policies that are scoped to all guests, external participants, and SharePoint Online cloud apps."

Would you mind elaborating with more details on what you mean in the article as I have been shared the following table from a previous shared channel session.
Thanks!

]

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

ID: 6d542a71-f937-57ad-8bfc-20124a18d8bd
Version Independent ID: 6d542a71-f937-57ad-8bfc-20124a18d8bd
Content: Plan external collaboration with channel conversations, file collaboration, and shared apps
Content Source: microsoft-365/solutions/plan-external-collaboration.md
Product: microsoft-365-enterprise
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@ChristianJBergstrom there is a typo in the article - the setting is actually called All guests and external users. You can find more details about conditional access for external identities in Authentication and Conditional Access for External Identities.

@ChristianJBergstrom there is a typo in the article - the setting is actually called All guest and external users. You can find more details about conditional access for external identities in Authentication and Conditional Access for External Identities.

@MikePlumleyMSFT Hey Mike, yeah I kind of understood that but thanks for confirming. My concern though is more about that particular sentence (and in the article you linked to) that you get the impression that one can use any conditional access policy with direct connect users.
"Organizations can enforce Conditional Access policies for external B2B collaboration and B2B direct connect users in the same way that they're enabled for full-time employees and members of the organization."
But as detailed they are limited to the cross-tenant access settings options of the "three Trusts". Trust MFA, Trust compliant device and Trust hybrid join.

Thanks, @ChristianJBergstrom. I made some updates to clarify that it's only the supported settings listed.

@ChristianJBergstrom Thanks for the feedback. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Fix wrong TeamCity service message

Fixes https://github.com/gradle/gradle-private/issues/4239
The functional test builds have two build steps: GRADLE_RUNNER and GRADLE_RETRY_RUNNER. When GRADLE_RETRY_RUNNER succeeds, we want to output a service message to mark the build as successful, regardless of previous build status. The old implementation prints this service message unconditionally, which hides the failures in FlakyTestQuarantine build.
This PR adds a -PretryBuild param to the build and only outputs the service message in retried build.

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build


Access in "after" slot to isClamped

I write some text after the text only if is clamped.
You can add some attribute to know if the text was processed( for computed isClamped) or not?
Example:
Hello -> never clamped
Hello aga... -> clamped

As documented, it's already available as clamped via slot props: https://codesandbox.io/s/vue-template-253hu

Thanks,
I was looking for something like this
<button         v-if="(expanded || clamped)"         slot="after"         slot-scope="{ toggle, expanded, clamped, candidate }"         class="toggle btn btn-sm"         @click="toggle"       >
To not show the button if I did not apply any transformation to the original text
The demo code was very helpful


RATIS-1131. Refactor the notifyXxx() methods in StateMachine.

See https://issues.apache.org/jira/browse/RATIS-1131

Reopen pr to trigger ci

@szetszwo I trigger CI two times, but unit test both run a very long time.

Let's me check.  Some tests may be failing due to the change.

@runzhiwang and @bshashikant , thanks a lot for reviewing this.


config: Use self hosted logos (xPRO)

What are the relevant tickets?
https://github.com/mitodl/hq/issues/3203
Description (What does it do?)
We have been using logos directly from GitHub in the past that has led to inconsistency issues being seen in Production. This PR now makes us use the self hosted logos.
How can this be tested?
Once deployed:

Check the relevant CI or RC or Prod course Learning MFE page e.g. /learn pages and notice that the logos shown on that page use the self hosted URLs as mentioned in https://github.com/mitodl/hq/issues/3203.
Open any lecacy page. e.g. Prograss page or Instructor dashboard and check that the logo URLs are self hosted ones.
Open studio and check the logo use self hosted URLs.

@blarghmatey could you give it another quick look? I added LOGO_URL_PNG_FOR_EMAIL in https://github.com/mitodl/ol-infrastructure/pull/2286/commits/972a11873c8b279c81eb0ccc985a8c84be1b3617 so that our xPRO theme change here works fine when deployed.


[engsys] Add bootstrap script for Codespaces

Describe the problem that is addressed by this PR
Adds a script init.sh to bootstrap new Codespaces. At the moment, the script does the following:

Installs Node LTS based on the version in .nvmrc and sets it as the default Node version
Installs Rush and Autorest
Runs rush update
Installs Powershell (for running engsys scripts and asset sync migration)

How much time does the init add when creating a codespace?

You can interact with the codespace immediately (browse files, etc) while the init script is running. So, in that sense it adds zero time. But, things won't be 100% set up until the script finishes, which does take a minute or two. Most of that time is taken running rush update, which is something you were probably going to do yourself anyway.

You can interact with the codespace immediately (browse files, etc) while the init script is running. So, in that sense it adds zero time.

Good to know! There may be times when community contributors want a codespace to fix something quickly without the full setup.

They can also use the github.dev editor if they don't need a full-fledged dev environment!

/check-enforcer override


TS Compiling error - Unable to setup TS plugin

🐞 Bug report
Config file not understanding TS syntax
Description
I'm trying to setup a custom plugin, I've created a TS plugin file with a router plugin. When I run npx scully I receive an error message from the import statement.
💻Your Environment
Angular & Scully Version

  "dependencies": {
    "@angular-devkit/schematics": "^13.2.6",
    "@angular/animations": "~13.2.6",
    "@angular/common": "~13.2.6",
    "@angular/compiler": "~13.2.6",
    "@angular/core": "~13.2.6",
    "@angular/forms": "~13.2.6",
    "@angular/platform-browser": "~13.2.6",
    "@angular/platform-browser-dynamic": "~13.2.6",
    "@angular/router": "~13.2.6",
    "@scullyio/init": "^2.1.24",
    "@scullyio/ng-lib": "^2.1.24",
    "@scullyio/scully": "^2.1.24"
    "@scullyio/scully-plugin-puppeteer": "^2.1.24",
    "graphql": "^15.5.0",
    "node-fetch": "^3.2.2",
    "rxjs": "~7.5.5",
    "ts-results": "^3.3.0",
    "tslib": "^2.3.1",
    "zone.js": "~0.11.5"
  },

🔥 Exception or Error

scully.[project].config.ts

import { ScullyConfig } from '@scullyio/scully';
import '@scullyio/scully-plugin-puppeteer';
import './scully/plugins/postsPagesPlugin';

export const config: ScullyConfig = {
  projectRoot: './src',
  projectName: '[project]',
  outDir: './dist/static',
  routes: {
    '/p/:slug': {
      type: 'postsPagesPlugin',
    },
  },
};

postsPagesPlugin.ts

import { HandledRoute, registerPlugin } from '@scullyio/scully';
import { PostService } from<EMAIL_ADDRESS>import { ErrorService } from<EMAIL_ADDRESS>
registerPlugin(
  'router',
  'postsPagesPlugin',
  async (): Promise => {
    const errorService = new ErrorService();
    const postService = new PostService(errorService);
    const articlesResponse = await postService.getPostsPages();
    if (articlesResponse.ok) {
      return Promise.resolve(
        articlesResponse.val.articles.data.map((article) => ({
          route: `/p/${article.attributes.slug}`,
        }))
      );
    }
    return Promise.reject('Error on getting posts data');
  }
);

We have plugins set up this way in our tests, so I'm sure this can work.
A couple of questions:

what version of Scully/angular/node are you using
are you sure the tsconfig in the Scully folder is set up correctly?
From the error, it looks you are trying ESM. did you add a package.json with { "type": "module" } ?
If you are using ESM, are you sure all your dependencies are also available as ESM modules?
Are you sure the other import you are pulling in are compiled already?

Closing by lack of actionable context


Compile Error on Teensy 4.1

Thank you for your efforts.  I was very happy to find a library that works on Teensy 4.1 however I am unable to compile the WebServer example.  I had download the VLP library and also copied boards.txt but this did not help.  I also tried changing Ethernet.h to NativeEthernet.h but his did not help either.
Here is the error:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Stream.h:68:6: error: 'int Stream::timedRead()' is private
int timedRead();
  ^

C:\Users\TTC\Documents\Arduino\libraries\EthernetWebServer-master\src\Ethernet_HTTPClient\Ethernet_HttpClient.cpp:642:13: error: within this context
 int c = timedRead();

         ^

In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/HardwareSerial.h:106:0,
             from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:46,

             from C:\Users\TTC\AppData\Local\Temp\arduino_build_394779/pch/Arduino.h:6,

             from C:\Users\TTC\Documents\Arduino\libraries\EthernetWebServer-master\src/Ethernet_HTTPClient/Ethernet_HttpClient.h:43,

             from C:\Users\TTC\Documents\Arduino\libraries\EthernetWebServer-master\src\Ethernet_HTTPClient\Ethernet_HttpClient.cpp:44:

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Stream.h:68:6: error: 'int Stream::timedRead()' is private
int timedRead();
  ^

C:\Users\TTC\Documents\Arduino\libraries\EthernetWebServer-master\src\Ethernet_HTTPClient\Ethernet_HttpClient.cpp:642:23: error: within this context
 int c = timedRead();

                   ^

Multiple libraries were found for "Ethernet.h"
Used: C:\Program Files (x86)\Arduino\libraries\Ethernet
Not used: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Ethernet-master
Error compiling for board Teensy 4.1.

I made the following changes and it is now working.
#define USE_ETHERNET          false
//....
//....
#define USE_CUSTOM_ETHERNET   true
#elif USE_CUSTOM_ETHERNET
#include "NativeEthernet.h"

Thanks for your interest in the library and the solution. I'll include it in the next release.
It'll definitely be very helpful for other Teensy users.

Hello Khoi,
Thank you for your efforts in making your library available.
I forgot to mention one more change that is needed:
In:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4\Stream.h
Change from private to public.
public:
char read_error;
int timedRead();
int timedPeek();
int peekNextDigit();
Regards.
On Thu, Dec 3, 2020 at 10:54 AM Khoi Hoang<EMAIL_ADDRESS>wrote:

Thanks for your interest in the library and the solution. I'll include it
in the next release.
It'll definitely be very helpful for other Teensy users.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/khoih-prog/EthernetWebServer/issues/14#issuecomment-738097402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG5ZBNY3NRR5H7JO643O3N3SS6YDLANCNFSM4UMBSOVA
.

It'll be great if you can post your experience on Teensy Forum to help Teensy users there.
Teensy 4.1 NativeEthernet Library
BR

I posted the info at this link:
https://forum.pjrc.com/threads/64953-Teensy-4-1-Ethernet-Problems?p=262054#post262054
On Thu, Dec 3, 2020 at 1:34 PM Khoi Hoang<EMAIL_ADDRESS>wrote:

It'll be great if you can post your experience on Teensy Forum to help
Teensy users there.
Teensy 4.1 NativeEthernet Library
https://forum.pjrc.com/threads/60857-T4-1-Ethernet-Library
BR
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/khoih-prog/EthernetWebServer/issues/14#issuecomment-738206694,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG5ZBN52T7DHR5HZH7RA6G3SS7K2BANCNFSM4UMBSOVA
.

Hi @jimmie11
Just release EthernetWebServer v1.2.0
Can you test to see if there is any more issue and give feedback.
Your contribution is noted in Contributions-and-Thanks

Release v1.2.0

Add support to NativeEthernet Library for Teensy 4.1
Add Version String.

Hi @jimmie11
Just release EthernetWebServer_SSL v1.3.0
Can you test to see if there is any more issue and give feedback.
Your contribution is noted in Contributions-and-Thanks

Release v1.3.0

Add support to NativeEthernet Library for Teensy 4.1

Thanks to everyone for solving this isue!


Company autocompletion failing with 'invalid read syntax "?"'

Using Tim's spacemacs layer https://gist.github.com/dysinger/63b7cd03f77ac0125356051b23f47a37
If I type in an identifier like fooo, I get:

Company: An error occurred in auto-begin
Company: backend company-intero error "Invalid read syntax "?"" with args (candidates fooo)

Can you provide a minimal example file?

Yeah, no longer affecting my usage, should have closed it earlier!


[eng workflow] Dynamic oncall role bot

Problem
Mods don't know who to ping from the engineering side when faced with a user issue in a ticket. Tickets don't get assigned quickly and it delays their solution.
Impact
More scalable and quicker resolution of user issues. Better workflow around tickets and reduces churn from users.
Proposed Solution
This is part of a broader solution, but we need a Discord bot that's able to assign and remove an oncall role to the correct engineers based on a schedule we feed it.
Acceptance Criteria
Tagging @oncall always pings the correct people at a certain moment.

Complexity: 8
See the discussion in Sprint Poker #37
Powered by Parabol


try except bug

# Error: TypeError: file C:/Users/hannes.debelke/Documents/maya/scripts\plugget_qt\__init__.py line 110: 'staticmethod' object is not callable #
import plugget_qt as q
# Error: TypeError: file C:/Users/hannes.debelke/Documents/maya/scripts\plugget_qt\__init__.py line 110: 'staticmethod' object is not callable #
import plugget_qt as q
# Error: TypeError: file C:/Users/hannes.debelke/Documents/maya/scripts\plugget_qt\__init__.py line 132: 'staticmethod' object is not callable #
import plugget_qt as q
# Error: TypeError: file C:/Users/hannes.debelke/Documents/maya/scripts\plugget_qt\__init__.py line 132: 'staticmethod' object is not callable #
import plugget_qt as q
# Error: TypeError: file C:/Users/hannes.debelke/Documents/maya/scripts\plugget_qt\__init__.py line 138: 'staticmethod' object is not callable #

for now commented out try except.
this causes an issue in maya 2022, but worked fine in max 2024 and blender.

[ ] TODO investigate python versions

try except shouldnt be a staticmethod. fixed needs testing


for redmine3.0

Fix some bugs in redmine3.0

hi @Onlina
Sorry, This plugin is not maintained.
Please use redmine_issue_evm.


code

Traceback (most recent call last):
File "E:\github代码\DRL-EC3-main\experiments\train.py", line 319, in
train(arglist, log)
File "E:\github代码\DRL-EC3-main\experiments\train.py", line 117, in train
summary = Summary(sess, envs[0].log_dir)
IndexError: list index out of range
What causes this problem when I run experiments/train.py? How can I solve this problem?Have a nice day.

The value of arglist.num_actor_workers is set to 0 (experiments/train.py line 43), so the length of envs is 0 ("envs = [Env(log) for _ in range(arglist.num_actor_workers)]", experiments/train.py line 112) , so access " envs[0] " can cause this error.
Maybe change the value of num_actor_workers can solve this problem.


Work as systemctl go2rtc.service

Hi all!
how to run binary go2rtc_linux_amd64 as system service?
im try:
[Unit]
Description=AlexxIT go2rtc
After=network.target

[Service]
Type=forking
PIDFile=/opt/go2rtc/go2rtc.pid
ExecStart=/opt/go2rtc/go2rtc_linux_amd64 -config /opt/go2rtc/go2rtc.yaml
TimeoutStopSec=5
KillMode=mixed

[Install]
WantedBy=multi-user.target

but service works until the first error message "WRN github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:225 > error="read tcp <IP_ADDRESS>:8554-><IP_ADDRESS>:58590: i/o timeout"" then stop with error
How to config service for correct start/restart/stop ?

Isn't systemd responsible to restart it when it fails?

BTW, related to https://github.com/AlexxIT/go2rtc/pull/440.

Also, if I were you I would definitely run it as a docker container (so that docker manages the service).

I don't know. Prefer to run all software in the Docker. Your error not related with this issue.

It's not about an error, it's about the ability to launch go2rtc as a service (daemon) in the background, which will restart automatically if stopped.
systemctl go2rtc start
systemctl go2rtc restart
systemctl go2rtc stop

Well. I can't help you with this. Ask on some Linux forum

under service section can't you just add
Restart=always
RestartSec=10


Fix char value padding with respect to UTF-16 surrogate pairs

Can you add an explanation in the commit message describing what’s the issue?

@martint added this:
Previously, the code was using `String#length` to determine how many
space characters needs to be added at the end of the returned value.
However, this method calculates text length incorrectly when text
contains one or more supplementary characters, i.e. characters encoded
as surrogate pairs in UTF-16.


User Profile Streak Chart uses different date/time than the table below it

Issue Description
On the user profile page (i.e. https://www.freecodecamp.org/{username}, where it shows the chart with different months, and number of challenges per day on it, the chart seems to be using a different timing mechanism than the table below it. For example, if I'm in the Eastern U.S. timezone completing challenges at night, the table of completed challenges will show the following day, but the chart will show all of the challenges as having been completed on the current day.
Browser Information

Browser Name, Version: Chrome 59 (official build)
Operating System: OS X Sierra
Mobile, Desktop, or Tablet: Desktop

Seems related to #7925 and #7468.

Thanks @J36miles. Closing as duplicate. Someday a hero will come along and fix the streak.


io::json enhancements

Hey!
We'd like to add some functionality to io::json, and I wanted to check if it would make sense as a contribution to the project.
In particular, we'd like to add support for the records-oriented output of the to_json and from_json Pandas methods. We probably also want to add support for the split orientation in the near future, but we'd like to start with records.
This is the rough path I've worked out to do so:

Add a new json::write::RecordSerializer alongside json::write::Serializer. Instead of outputting a batch of arrays, this takes a Chunk and outputs record blobs in the transposed format.
Create an infer_records_schema method in json::read::infer_schema. This would infer a Schema from the first row of inputted json in Pandas records format.
Add a json::read::deserialize_from_records that takes the above Schema and outputs the correct Chunk. This is the hardest part to untangle so far. My current rough plan of attack is to modify the deserialize_xxx methods to deserialize_into_xxx, and take a &mut mutable array as a parameter instead of outputting finalized arrays. We can then "extend" the right data into each array per record, avoiding copies as we go. This is starting to feel like a pretty invasive change, in contrast to the previous two.

I'm still figuring the last part out. I don't feel fully stuck, but I'm worried about the scope of the changes. Here's my questions:

Does the overall goal here fit with the direction of this project? Is it functionality you'd like to see in this crate?
Does the above plan make sense? Are there tactical errors I'm making due to my lack of experience with the code?
Should this even be in the io::json module? I see other modules for other types of JSON in there (ndjson, json_integration), but I'm not sure what the cutoff is for a new io module. This feels closer to the original io::json than either of those two formats?

Finally: thanks for working so hard on this crate. It's been hugely useful for us at Wallaroo.

Thank you for this issue and for the through explanation. 🙇 I think this makes a lot of sense indeed!
Answering the questions:

Yes - interoperability with standard formats fits exactly into io. Record-based is quite a standard way of representing data in json, so this fits quite well. 👍
Yes -
2.1. serialize: the io::csv and io::avro has similar ideas that we can piggy back, since they are also row-based formats (and thus required a transposition). The relevant aspect there is that a serializer of a column is a StreamingIterator that attaches itself to an array (or its .iter and serializes each of its items to the corresponding format).
2.2. deserialize: the idea of &mut mutable arrays on the deserialize sounds interesting. We do something similar in io::csv and io::avro also. I can't anticipate if it works in json (I would basically try it out for e.g. PrimitiveArray and ListArray, to see if it works (i.e. non-nested and nested), and evaluate from such a "POC")
I agree that io::json seems best, as you mentioned. (json_integration is only for integration tests with the rest of the Arrow ecosystem)

Wow, awesome!!!
Either is fine. The easiest for documentation purposes is to split it according to the main github labels (which correspond to entries in the change log):

backward incompatible changes
new feature

so it is easier to document what happened to the crate when people update.
Looking through it, I think I only have minor comments on naming - trait Preallocate I would have name it as Container (traits are substantives in Rust; something with a capacity), expand I would name it extend_offsets, and unsafe_expand as extend_offsets_unchecked (to align with the rest of the crate and Rust: extend_ to extend stuff, _unchecked for unsafe functions).
About the comment
    // though this will always be safe, we cannot use unsafe_expand here due to
    // `#![forbid(unsafe_code)]` on the io module

one way to address it is to create an auxiliary pub struct Offsets<O>(Vec<O>) that contains try_push(usize), with_capacity(usize) that fulfills the invariants required by expand (it is monotically increasing). This allows to write expand(Offsets) without unsafe_expand, since Offsets guarantee the invariant.

Work has been crazy, but I've finally gotten around to repackaging this. I believe it's a backwards-compatible new feature, not sure if I should slap the feature tag on it though.

Closed by #1275


progress bar when uploading?

Hi
I just found zenodraft and it looks perfect. I want to upload a 40GB file and it is uploading at the moment. Is there any way of showing the progress of the upload? Would be nice to get an idea how long it will still take with huge files.
Thanks
Rainer

Hello @rkrug, welcome to the project. Unfortunately, it's not possible to see the upload progress at the moment. Would be nice though, especially for larger files like you have or on slower connections, but I'm not currently working on this project. Regardless, I hope zenodraft will still be useful for you!


Is it possible to have responsive height? Fillparent only seems to fill horizontally

Wavesurfer.js version(s):
6.6.3
Browser and operating system version(s):
Chrome
Code needed to reproduce the issue:
I'm just fill parent:true (which is default)
It stretches horizontally to fit the div but not vertically - I can only seem to control the vertical height using the height attribute.
I need to be able to shrink it vertically on mobile, how can I do this?
thanks, Tom

This was just added in beta.7: https://github.com/katspaugh/wavesurfer.js/pull/2841


Add Lifecyle Waiters for Autoscaling

Add Waiters for enter_standby and exit_standby results.

Codecov Report

Merging #1288 into develop will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1288      +/-   ##
===========================================
+ Coverage    98.05%   98.06%   +0.01%
===========================================
  Files           45       45
  Lines         7397     7397
===========================================
+ Hits          7253     7254       +1
+ Misses         144      143       -1

Impacted Files
Coverage Δ

botocore/utils.py
96.19% <0%> (+0.2%)
:arrow_up:

Continue to review full report at Codecov.

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


Isolated children

Children components that are isolated, and then used as the vTree of a parent
component that is also isolated it will have its scope overwritten by the parent
and can no longer receive events.
This PR determines whether the existing scope needs to be updated.
fixes cyclejs/core#316

Boss PR. Thanks.


aromatic hydrocarbon

Mod source
Factorio Mod Portal
Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[X] Progression
[ ] Balance
[ ] Pypostprocessing failure
[X] Other

What is the problem?
when aromatic hydrocarbon goes in the tailing pond, it can not go out
Steps to reproduce
1.put aromatic hydrocarbon into the tailing pond
2.link the tailing pond with the miner that uses aromatic hydrocarbon
Additional context

Log file
factorio-current.log

This is a base game issue. Miners don't mine when the system has low overall fluid amounts, they seem to need it above 50%. Pulling from the tank with a pump works.

Fluidbox connection on the miner appears broken

You can work around it in the meantime by disabling the braided pipes setting

if I delete the input pipe, then the pump works normal, and the aromatic hydrocarbon goes out from the tailing pond, and the machine works correctly. However, once the imput is connected, it just stop working.

as a compare

I changed the setting like you said, but the issue doesn't get solved

This setup works without issue. Can you upload your save?

py2024.zip

all the extra mods are about quantization and translation

it forms a loop when the top is connected, so the pump cannot improve the level of fluids

When I remove the loop, it still doesn't work correctly, however, the other tailing pond are all working well

I also tried the check valve working with the pump, but still the same

I have a friend using my save, but everything seems ok in his computer. it quite weird

I also tried the check valve working with the pump, but still the same

It would be the same. It is one fluid system. The pump is sending fluid back into the pipe which connects to the tank the pump is pulling from.

I think you're right, I delete the pipe goes back, and it's working now.
It seems not a bug.
sorry for bothering you so long.
QAQ

Glad you got it worked out, either way.


Add error code representing application error

Take the update direct debit/payment schedule payment amount mutation
which uses the use case
        (can_update, _, _,) = update_schedules.update_account_directdebit_amount(
            account=account,
            payment_amount=amount,
            preferred_valid_from=localtime.today(),
            account_user=user,
        )
        if not can_update:
            // return error here

It returns a can_update boolean which we want to use to notify the
API caller that the action was denied.
This is an error that stems from business rules not being met.
Therefore it feels appropriate to have an errorClass that represents
actions being denied due to application/business logic errors
I've suggested two different error class names that could represent this error (One was from Ahter). Thoughts on the need for this error and also what it should be called?

move to private convetions