New installation, Settings could not be loaded from file. Element not found.

Windows Terminal version
Preview 1.11.2421
Windows build number
10.0.18363
Other Software
No response
Steps to reproduce
Install the Preview version from this link then open. Can't open the settings file and can't save settings after change
Expected Behavior
Was expecting to load and be able to open and set the default profile
Actual Behavior
Got the following dialog:

I see no settings.json file in the installation and the one named defaults.json doesn't change. Also, there was no directory created here: %LOCALAPPDATA%\Packages\Microsoft. WindowsTerminal_8wekyb3d8bbwe\LocalState\
I found it here: %USERPROFILE%\AppData\Local\Microsoft\Windows Terminal
But after checking for well-formed JSON, it looks correct. Just can't understand why it won't open.
Not sure if it matters but I did NOT run through and actual installation, I renamed the files, msixbundle/msix, as zip and extracted them

Can you share the actual json file, and maybe also the contents of state.json, if there is one next to settings.json?

`// This file was initially generated by Windows Terminal 0.11.1333.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",

// You can add more global application settings here.
// To learn more about global settings, visit https://aka.ms/terminal-global-settings

// If enabled, selections are automatically copied to your clipboard.
"copyOnSelect": false,

// If enabled, formatted data is also copied to your clipboard
"copyFormatting": false,

// A profile specifies a command to execute paired with information about how it should look and feel.
// Each one of them will appear in the 'New Tab' dropdown,
//   and can be invoked from the commandline with `wt.exe -p xxx`
// To learn more about profiles, visit https://aka.ms/terminal-profile-settings
"profiles":
{
    "defaults":
    {
        // Put settings here that you want to apply to all profiles.
    },
  "list": [
    {
      // Make changes here to the powershell.exe profile.
      "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
      "name": "Windows PowerShell",
      "commandline": "powershell.exe",
      "hidden": false
    },
    {
      // Make changes here to the cmd.exe profile.
      "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
      "name": "Command Prompt",
      "commandline": "cmd.exe",
      "hidden": false
    }
  ]
},

// Add custom color schemes to this array.
// To learn more about color schemes, visit https://aka.ms/terminal-color-schemes
"schemes": [],

// Add custom keybindings to this array.
// To unbind a key combination from your defaults.json, set the command to "unbound".
// To learn more about keybindings, visit https://aka.ms/terminal-keybindings
"keybindings":
[
    // Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json.
    // These two lines additionally bind them to Ctrl+C and Ctrl+V.
    // To learn more about selection, visit https://aka.ms/terminal-selection
    { "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" },
    { "command": "paste", "keys": "ctrl+v" },

    // Press Ctrl+Shift+F to open the search box
    { "command": "find", "keys": "ctrl+shift+f" },

    // Press Alt+Shift+D to open a new pane.
    // - "split": "auto" makes this pane open in the direction that provides the most surface area.
    // - "splitMode": "duplicate" makes the new pane use the focused pane's profile.
    // To learn more about panes, visit https://aka.ms/terminal-panes
    { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }
]

}
`

I've got the same issue after updating windows terminal via scoop to the latest stable version. Uninstalling/reinstalling did not help. The json files were valid too.
I have uninstalled the latest version and reinstalled 1.11.3471.0 and everything works again.
One thing I noticed is that after windows terminal loads the default settings since it cannot read the settings.json apparently, in the default config there is no wsl. If I remember correctly, wsl is detected automatically also in the default config right?

Same problem here. After update from scoop, settings.json can't be loaded anymore. I tried to remove the %USERPROFILE%\AppData\Local\Microsoft\Windows Terminal completely. At next startup the folder is created again and I get the error nonetheless.

Since we've got a number of reports of this happening for unpackaged installs, I'm gonna bump this one into 1.14, so we make sure someone takes a look sooner than later. I wonder if this has anything to do with state.json loading? I honestly have no idea.

Well, the state.json is created in that same folder. But I removed it so...

I had this happen to me as well when my instance of WT preview updated from 1.12.x to 1.13 through the store so it isn't just unpackaged installs.

I can't replicate this issue personally with neither 1.12 nor 1.13. I also tried using the settings.json posted at the beginning of this issue.
Can someone who has this issue try and download the latest release on GitHub, extract it and run it? Basically:

Download a release
Extract the .msixbundle (it's just a zip)
Extract the .msix file matching your platform (it's also a zip)
Run WindowsTerminal.exe

I just want to make sure whether running our "official release" unpackaged would produce the same issue, since I personally can't...

I can't replicate this issue personally with neither 1.12 nor 1.13. I also tried using the settings.json posted at the beginning of this issue.
Can someone who has this issue try and download the latest release on GitHub, extract it and run it? Basically:
* [Download a release](https://github.com/microsoft/terminal/releases/tag/v1.12.10393.0)

* Extract the .msixbundle (it's just a zip)

* Extract the .msix file matching your platform (it's also a zip)

* Run WindowsTerminal.exe

I just want to make sure whether running our "official release" unpackaged would produce the same issue, since I personally can't...

Can confirm I can reproduce the issue with above steps using versions v1.12.10393.0 and v1.13.10395.0.

Can someone who has this issue try and download the latest release on GitHub, extract it and run it? Basically:
* [Download a release](https://github.com/microsoft/terminal/releases/tag/v1.12.10393.0)

* Extract the .msixbundle (it's just a zip)

* Extract the .msix file matching your platform (it's also a zip)

* Run WindowsTerminal.exe

This is exactly what I reported the very first time with 1.12.10393.0 (see https://github.com/microsoft/terminal/issues/12547)

Ah dang, I only read the most recent comments in this issue. I'm sorry about that. 😕
I'll try to replicate the issue on Windows 10, but I suspect I won't succeed with that either.
Since only someone who's able to reproduce the issue can fix it, this bug is a bit troublesome unfortunately...

The error dialog says "Element not found" What element is it looking for, do you think?

It's probably a ERROR_NOT_FOUND or TYPE_E_ELEMENTNOTFOUND. You could try to run DebugView and see if anything obvious comes up when you start Windows Terminal. There's a good chance that the source of this error is written in there.

I tried to build it from source, but it has proven very hard.
Would it not be possible to provide a "debug/logging" version which tells a bit more which file and which element is looking for?

I downloaded 1.11.3471.0 and the error didn't occur, so it has to be some change that happened between those versions.

Do you happen to have any files in...
C:\ProgramData\Microsoft\Windows Terminal\Fragments
%LOCALAPPDATA%\Microsoft\Windows Terminal\Fragments

?
If not, can you run the following PowerShell command? It might produce a lot of output...
Get-AppxPackage | ? {
    If (-Not [String]::IsNullOrEmpty($_.InstallLocation)) {
        $am = [xml](Get-Content (Join-Path $_.InstallLocation "AppxManifest.xml"))
        $am.InnerXml.Contains("terminal.settings")
        Return
    }
    $False
} | Select -Expand PackageFullName

I was able to downgrade to version 1.11.3471.0 and everything worked as desired.

In addition to the request above, would you mind collecting a trace for us? I'd love to get this issue kicked once and for all. Here is how to capture a trace.

Running 1.12.10393.0 in VS2019

any useful?

I have a trace but it is inside my network... I will have to ask how to bring it out. Anything I could do with it?
Maybe make it readable and take a screenshot?

@audetto If you can, please copy and paste the text with ```...``` on GitHub next time so that it's easier to read. 🙂
But yes, it's very helpful! Thanks to your screenshot I found the source of the issues and will submit a PR soon.

Sorry, I can't, it is all running in a remote app where I cannot copy from...


How i can update replay keyboard without sending message?

I want to update replay keyboard without sending new message, so as not to clog the chat. Is it possible?

Please, read issue templates before posting. Feel free to join our group if you have questions.


"connection not private" error on wwwint

our projects on wwwint show a "connection is not private" error:

https://wwwint.ebi.ac.uk/ait/biovalidator
https://wwwint.ebi.ac.uk/biosamples/checklist-editor

I created SNOW ticket INC0060994

monitoring endpoint for this certificate was incorrect. Resolved by ITservices now


Padding length   and Padding ratio What does it stand for?If there's a number on it, does it affect the program from reading this file,

Padding length   and Padding ratio What does it stand for?If there's a number on it, does it affect the program from reading this file,
File length: 548692248 bytes
Padding length: 2381182 bytes
Padding ratio: 0.43%

When spark read the orC zlib file, it was sometimes stuck for more than half an hour, but we didn't know whether the file was not written

Hi, @liangrui1988 . Please refer ORC spec in our official website.

Here is the formula we use. It exists simply to match the underlying file system's block size historically. If you are using S3, your program will not read that part at all. So, there is no impact in the modern cloud infra.
https://github.com/apache/orc/blob/6b053d4ba4df036e2691f84331bd407354a7c3b2/java/tools/src/java/org/apache/orc/tools/FileDump.java#L771-L780

Mine is a private cluster deployment, on disk, will this matter?Does it affect the application's ability to read the file?

Does reading and writing different versions of ORC matter?For example, 1.5.12 to write files, 1.5.5 to read files?thank you

Sorry but why don't you test your actual private cluster? We have no recommendations for private cluster deployments because we don't know what you are using it, @liangrui1988 .

This is caused by the ORC parameter problem, not the cluster problem. The writer reduces the stripe of the ORC and restores it to 256MB.

Could you provide some reproducible example, @liangrui1988 ?


Project Delete Modal

We need to add a confirmation modal for deletion when done from the list projects page. Currently someone can accidentally click the button and wipe a project.

Done in af34441


Adding multi gpu speech generation

What does this PR do?
This PR adds a distributed speech data generation example using facebook/mms-tts-eng
https://github.com/huggingface/accelerate/issues/3078
Note

Tested it on two t4 GPUs

For two gpu

Generating Pokemon descriptions: 100%|██████████| 52/52 [00:26<00:00,  1.99it/s]

For one gpu

Generating Pokemon descriptions: 100%|██████████| 105/105 [00:50<00:00,  2.07it/s]

The example was tested using a very small dataset. If you'd like me to experiment with a different dataset, please let me know!

Who can review?
@sayakpaul

@muellerzr  i did what you said

cc @SunMarc for a second glance and then we can merge ✅


to fix empty DNS domain when DNS not ready: SDA-7418

With hostedCP  when the cluster.status.dns_ready: false  the command rosa describe displays only the name of the cluster.
The fix proposed display DNS:    Not ready instead of for example 'DNS:    my-cluster.`

/lgtm


Failed after restart

When branch is master I see that error when intellij starts:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at com.intellij.util.SmartList.checkOutOfBounds(SmartList.java:66)
at com.intellij.util.SmartList.get(SmartList.java:57)
at org.nemwiz.jiracommitmessage.services.MyProjectService.getTaskIdFromBranchName(MyProjectService.kt:17)
at org.nemwiz.jiracommitmessage.provider.PluginProvider.getCommitMessage(PluginProvider.kt:13)
at com.intellij.vcs.commit.AbstractCommitMessagePolicy.getCommitMessageFor(AbstractCommitMessagePolicy.kt:24)
at com.intellij.vcs.commit.ChangesViewCommitMessagePolicy.getCommitMessage(ChangesViewCommitMessagePolicy.kt:11)
at com.intellij.vcs.commit.ChangesViewCommitWorkflowHandler.getCommitMessageFromPolicy(ChangesViewCommitWorkflowHandler.kt:194)
at com.intellij.vcs.commit.ChangesViewCommitWorkflowHandler.changeListChanged(ChangesViewCommitWorkflowHandler.kt:185)
at com.intellij.vcs.commit.ChangesViewCommitWorkflowHandler.access$changeListChanged(ChangesViewCommitWorkflowHandler.kt:23)
at com.intellij.vcs.commit.ChangesViewCommitWorkflowHandler$$special$$inlined$observable$1.afterChange(Delegates.kt:72)
at kotlin.properties.ObservableProperty.setValue(ObservableProperty.kt:41)
at com.intellij.vcs.commit.ChangesViewCommitWorkflowHandler.setCurrentChangeList(ChangesViewCommitWorkflowHandler.kt)
at com.intellij.vcs.commit.ChangesViewCommitWorkflowHandler.(ChangesViewCommitWorkflowHandler.kt:80)
at com.intellij.openapi.vcs.changes.ChangesViewManager$ChangesViewToolWindowPanel.updateCommitWorkflow(ChangesViewManager.java:577)
at com.intellij.openapi.vcs.changes.ChangesViewManager.updateCommitWorkflow(ChangesViewManager.java:272)
at com.intellij.openapi.vcs.changes.ChangesViewManager.lambda$new$0(ChangesViewManager.java:116)
at com.intellij.util.messages.impl.MessageBusImpl.invokeMethod(MessageBusImpl.java:671)
at com.intellij.util.messages.impl.MessageBusImpl.invokeListener(MessageBusImpl.java:649)
at com.intellij.util.messages.impl.MessageBusImpl.access$300(MessageBusImpl.java:33)
at com.intellij.util.messages.impl.MessageBusImpl$MessagePublisher.executeOrAddToQueue(MessageBusImpl.java:215)
at com.intellij.util.messages.impl.MessageBusImpl$MessagePublisher.publish(MessageBusImpl.java:197)
at com.intellij.util.messages.impl.MessageBusImpl$MessagePublisher.invoke(MessageBusImpl.java:181)
at com.sun.proxy.$Proxy132.commitModeChanged(Unknown Source)
at com.intellij.vcs.commit.CommitModeManager.updateCommitMode(CommitModeManager.kt:75)
at com.intellij.vcs.commit.CommitModeManager$MyStartupActivity$runActivity$$inlined$runInEdt$1.run(actions.kt:64)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:218)
at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:200)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:781)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:319)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:133)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:46)
at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:189)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:969)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:839)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:449)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:808)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:448)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:781)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:496)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Hi @igreenfield
As mentioned in the previous issue that you opened, I would need more information in order to fix this bug.
Which version of IntelliJ are you using and which version of the plugin?
When does this error occur and does it crash your IntelliJ or?
Thanks

Which version of IntelliJ are you using?

IntelliJ IDEA 2021.1 (Ultimate Edition)
Build #IU-211.6693.111, built on April 6, 2021
Runtime version: 11.0.10+9-b1341.35 amd64

Which version of the plugin are you using?
2.1.1

Operating system
Windows 10

How do you know that this line is causing the issue?
from the stacktrace in idea report issue window

When does this error occur and does it crash your IntelliJ or?
When I start idea, and idea write it failed to save configuration

I'm still unable to reproduce this bug.
Would it be possible to share the repository that you are using?
Also can you confirm that you've configured the plugin correctly in the IntelliJ settings? JIRA project prefix should not be empty.
Instructions can be found on the main page.

I configure it according to the instruction still the same. It is internal repo on bitbucket so I can't share it.

I tried a few things, but I don't get the error that you are seeing.
For me the master branch returns an empty string which is expected behavior.
So for you the plugin is not working for other branches as well e.g. feature/PROJECT-PREFIX-123?
I suspect that it might be due to your repo or some setting inside IntelliJ.
Could you export me your settings and attach them here? Maybe that helps in finding the issue.
Here is how you can export the settings.
https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html

for other branches, it works.
I will try to export my settings,

Closing this since unable to reproduce and more details weren't provided.


Update Character “issatera”

Automatically generated by Netlify CMS

👷 Deploy Preview for 4shame processing.

Name
Link

🔨 Latest commit
dbd37fa5b3ca4cecc25092dad4f9ae6d338e206d

🔍 Latest deploy log
https://app.netlify.com/sites/4shame/deploys/63a75e7eab28f2000a053e1d


Cisco transceiver part 2: deviations

Changes for the tests:

zr_inventory_test: deviation for the leaf mfg-date
zr_supply_voltage_test: minor cosmetic change
zr_temperature_test:
a. deviation for cisco to use parent interface component for temperature telemetry
b. component1 variable renamed to compWithTemperature for readability (as suggested in #3438)

Pull Request Functional Test Report for #3451 / 1999ef14c5fd88152991efbd9a75eb3e38b0e637
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

TRANSCEIVER-7: Telemetry: 400ZR Optics inventory info streamingTRANSCEIVER-12: Telemetry: 400ZR Transceiver Supply Voltage streaming.TRANSCEIVER-8: Telemetry: 400ZR Optics module temperature streaming.

Cisco 8000E

TRANSCEIVER-7: Telemetry: 400ZR Optics inventory info streamingTRANSCEIVER-12: Telemetry: 400ZR Transceiver Supply Voltage streaming.TRANSCEIVER-8: Telemetry: 400ZR Optics module temperature streaming.

Cisco XRd

TRANSCEIVER-7: Telemetry: 400ZR Optics inventory info streamingTRANSCEIVER-12: Telemetry: 400ZR Transceiver Supply Voltage streaming.TRANSCEIVER-8: Telemetry: 400ZR Optics module temperature streaming.

Juniper ncPTX

TRANSCEIVER-7: Telemetry: 400ZR Optics inventory info streamingTRANSCEIVER-12: Telemetry: 400ZR Transceiver Supply Voltage streaming.TRANSCEIVER-8: Telemetry: 400ZR Optics module temperature streaming.

Nokia SR Linux

TRANSCEIVER-7: Telemetry: 400ZR Optics inventory info streamingTRANSCEIVER-12: Telemetry: 400ZR Transceiver Supply Voltage streaming.TRANSCEIVER-8: Telemetry: 400ZR Optics module temperature streaming.

Openconfig Lemming

TRANSCEIVER-7: Telemetry: 400ZR Optics inventory info streamingTRANSCEIVER-12: Telemetry: 400ZR Transceiver Supply Voltage streaming.TRANSCEIVER-8: Telemetry: 400ZR Optics module temperature streaming.

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

TRANSCEIVER-7: Telemetry: 400ZR Optics inventory info streamingTRANSCEIVER-12: Telemetry: 400ZR Transceiver Supply Voltage streaming.TRANSCEIVER-8: Telemetry: 400ZR Optics module temperature streaming.

Cisco 8808

TRANSCEIVER-7: Telemetry: 400ZR Optics inventory info streamingTRANSCEIVER-12: Telemetry: 400ZR Transceiver Supply Voltage streaming.TRANSCEIVER-8: Telemetry: 400ZR Optics module temperature streaming.

Juniper PTX10008

TRANSCEIVER-7: Telemetry: 400ZR Optics inventory info streamingTRANSCEIVER-12: Telemetry: 400ZR Transceiver Supply Voltage streaming.TRANSCEIVER-8: Telemetry: 400ZR Optics module temperature streaming.

Nokia 7250 IXR-10e

TRANSCEIVER-7: Telemetry: 400ZR Optics inventory info streamingTRANSCEIVER-12: Telemetry: 400ZR Transceiver Supply Voltage streaming.TRANSCEIVER-8: Telemetry: 400ZR Optics module temperature streaming.

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.268%

Totals

Change from base Build<PHONE_NUMBER>6:
0.0%

Covered Lines:
1983

Relevant Lines:
3588

💛  - Coveralls


Update from upstream

The official repo has dropped faraday now, so we don't need this fork anymore.


page 161-162 slieve typo

"Now you've seen all the tricks the init command should have up its slieve!" should read "Now you've seen all the tricks the init command should have up its sleeve!"
slieve - an Irish mountain / sleeve  - the arm of a garment :)

Hahaha, good catch, thanks! I'll make sure this gets fixed 👍

Fixed now. Will be out in the next push of the early release and in the final version. Thx!


Python script to generate man page

Added the script scripts/gen-man.py that generate a man page using the src/data/help.json file, and print the generated file to stdout.
close #830

scripts/gen-man.py:146: SyntaxWarning: invalid escape sequence '\-'
  print(f"\-{ option['short'] }", end="")
scripts/gen-man.py:153: SyntaxWarning: invalid escape sequence '\-'
  print(f"\-\-{ option['long'] }", end="")

I'd like to keep the Config Files section in the old man file.

You can acquire the fastfetch version from CMakeList.txt using RegExp ^    VERSION (\d+\.\d+\.\d+)$

Is it relevant to also put a short example of a config file (E.g from a preset) at the end ?

Yes. You should also metion the Github Wiki page.


Transpose rule for 'allreduce_mpi'

I am trying to use Allreduce (with MPI_SUM) in a matvec function passed to jax.scipy.sparse.linalg.cg, however I get the following error:
NotImplementedError: Transpose rule (for reverse-mode differentiation) for 'allreduce_mpi' not implemented
(Internally cg uses custom_linear_solve in order to define the gradients of the solver which in turn calls linear_transpose for matvec)

I was thinking a bit about how the rule would have to look like.
Essentially what the Allreduce does is calculate the sum of all elements and then broadcast it to all ranks.
Just considering the sum as a linear operator its matrix is just a row vector of 1s, which when applied (multiplied) to a column vector, say x, returns a scalar.
So clearly its transpose is a row vector of 1s, and when that is applied to an element of the dual space (just a scalar) all it does is broadcast that element to a vector which has the shape of x. Since that is distributed across the mpi ranks (where each rank contains just one element) the transpose rule can just return the dual argument on each rank. This is exactly what the current jvp rule does, but omitting the forward pass.
Considering the broadcast to all ranks its just a column vector of 1s, so its transpose is a row vector of 1s which is a sum.
When we concatenate both (row vector of 1s times column vector of 1s) the Allreduce is just a square matrix of all 1s, and so its transpose is just another Allreduce. I think this is also what the transpose rule for psum does.

Since that is distributed across the mpi ranks (where each rank contains just one element) the transpose rule can just return the dual argument on each rank.
With dual argument you mean the forward (or input) sensitivity, right? in that case I agree.

This is exactly what the current jvp rule does, but omitting the forward pass.
Technically what. mpi_allreduce_value_and_jvp(in_args, tan_args, op, comm) does is only perform only one forward pass, on the dual number (in_args, tan_args) -> (Allreduce_value(in_args, tan_args), Allreduce_sensitivity(in_args, tan_args) where tan_args are the sensitivities. But I guess what you mean is that we only want to compute only the output sensitivity.

Considering the broadcast to all ranks its just a column vector of 1s, so its transpose is a row vector of 1s which is a sum.
yes...

When we concatenate both (column vector of 1s times row vector of 1s) the Allreduce is just a square matrix of all 1s, and so its transpose is just another Allreduce
I don't follow your argument. Why are we concatenating?

Essentially what I am saying is that the linear operator allreduce and its transpose operators are identical (and also jvp and vjp), and are all represented by a square matrix filled with 1s.
I think its more clear with a code example:
import jax

x = jax.numpy.array([1.,2.,3.])
y = jax.numpy.array([5.,6.,7.])

def _sum(x):
    return jax.lax.dot(jax.numpy.ones(3), x)

def _broadcast(y):
    return jax.lax.broadcast(y,(3,))

_allreduce = lambda x: _broadcast(sum(x))

print('allreduce(x)=', _allreduce(x))
print('jacobian(x) =\n', jax.jacobian(_allreduce)(x))
print('allreduce^T(y) =', *jax.linear_transpose(_allreduce, x)(y))
print('allreduce(y)   =',  _allreduce(y))
print('jvp(allreduce,x,y) = ', jax.jvp(_allreduce, (x,),(y,))[1])
print('vjp(allreduce,x,y) = ', *jax.vjp(_allreduce,x)[1](y))

allreduce(x)= [6. 6. 6.]
jacobian(x) =
 [[1. 1. 1.]
 [1. 1. 1.]
 [1. 1. 1.]]
allreduce^T(y) = [18. 18. 18.]
allreduce(y)   = [18. 18. 18.]
jvp(allreduce,x,y) =  [18. 18. 18.]
vjp(allreduce,x,y) =  [18. 18. 18.]

I think it should look something like this (without the tokens)
def mpi_allreduce_transpose_rule(t, op, comm):

    op_ = unpack_hashable(op)

    if op_ == _MPI.SUM:
        return mpi_allreduce_p.bind(*t, op=op, comm=comm)
    else:
        raise NotImplementedError(
            "The linear transpose of allreduce for {} is not defined".format(op)
        )

ad.deflinear(mpi_allreduce_p, mpi_allreduce_transpose_rule)

which also automatically adds the corresponding jvp rule,
however I cannot quite get my head around how to also add the tokens.

I still don't get why a matrix of ones? The Allreduce_sum matrix is a block matrix (in my mental picture where you have a block vector of M blocks, each being the data stored on rank/node), as such it can't be a matrix of ones. It's rather a block-matrix of identities? (See the attached picture, curious dog aside.)

In your example I think you are cheated by the broadcast and not considering the effective dimension of the input problem.
1b) The transpose of course is the same matrix.
1c) Notice that the output vector is identical among ranks. So you are justified to take the gradient wrt the local inputs on every rank. This is not valid in general, but for Allreduce it is. Therefore you can assume that on every rank the linear operator is the identity (even though it's not true).

Implementation: tokens are needed to enforce an ordering to MPI operations because XLA might be reordering them causing deadlocks. @dionhaefner knows more about them than me, as it is him who introduced them to solve issues he was having. However, we only care about them in the forward pass, where we execute the MPI operations.

What we are doing is essentially creating a token (it's just random data) and perform 'mock' operations on it. XLA sees those operations and those are used to enforce an order, but we actually never read them, so the tangeents/cotangents of the tokens are simply propagated with the identity everywhere.
2b) If you have problem with create_token try to first write a rule that works if you pass in tokens explicitly, then we can fix it. Maybe stop_gradient does not stop the transposition ?

Having said that, I don't think that this is the right implementation of the transposition rule. Shouldn't it just do this?

I agree. So far I was assuming for simplicity that we are only working with scalars.
And I also now agree that for us the allreduce_sum is really just a sum (and we can ignore the broadcast to all ranks for the purpose of finding transpose/gradient rules)
Seems to be working now when I explicitly pass tokens, see below.
I agree. In order to get the correct behaviour when transposing again (and also to use the transpose) we can add a 'identity which is the linear transpose of allreduce_mpi_sum' primitive (lets call it mpi_allreduceT_p for now):

with the following impl and transposition rules:
def mpi_allreduceT_impl(x, token, op, comm):
     op_ = unpack_hashable(op)
     if op_ == _MPI.SUM:
         return [x, token]

def mpi_allreduce_transpose_rule(tan_args, *x_args, op, comm):
     _, token = x_args
     t, _ = tan_args
     if op_ == _MPI.SUM:
        return mpi_allreduceT_p.bind(t, token, op=op, comm=comm)

def mpi_allreduceT_transpose_rule(tan_args, *x_args, op, comm):
     _, token = x_args
     t, _ = tan_args
     op_ = unpack_hashable(op)
     if op_ == _MPI.SUM:
         return mpi_allreduce_p.bind(t, token, op=op, comm=comm)

Then it is possible to implement e.g. distributed MPI matrix vector multiplication which can be transposed arbitrarily many times (with blocks of the columns or blocks of the rows distirbuted across the ranks):
test_token = create_token(123)
allreduce_sum = lambda x: mpi4jax.Allreduce(x, op=MPI.SUM, comm=MPI_comm, token= test_token)[0]
allreduce_sumT = lambda y: mpi4jax.AllreduceT(y, op=MPI.SUM, comm=MPI_comm, token= test_token)[0]

# x is distributed across ranks
# cols of A are distributed across ranks
# result is same on all ranks
def matvec_mpi(A_local, x_local):
    return allreduce_sum(A_local@x_local)

# y is same on all ranks
# rows of A are distributed across ranks
# result is distributed across ranks
def matvec_transpose_mpi(A_local, y_global):
    return A_local.T @ allreduce_sumT(y_global)  #  allreduce_sumT identity so that it transposes correctly

where the linear_transpose of matvec_mpi does the same as matvec_transpose_mpi and vice versa.
See https://github.com/inailuig/mpi4jax/commit/8562397037e46d1f52e683aadf419dd15d1b1704 for the complete implementation including a simple test file which could be transformed into an actual test eventually.
Here it was also crucial to pass the along the token to the transposes, otherwise the tracer would turn it into a normal identity and the second or third transposition would be wrong.
Now the only piece missing is some kind of stop_transpose so that we don't have to explicitly pass tokens.
In the case of vjp the parts related to stop_gradient in the jaxpr passed to ad.backward_pass are completely removed somewhere in linearize if has_aux= True is passed. Somehow we have to do the same to the jaxpr in api.linear_transpose.

Hmm. Yes, indeed. It is unfortunate that because of this 'trick', we can let go of MPI in the transpose but then we need to add it back in the transposed-transpose...
Moreover, getting rid of the token might cause problems: they are there to enforce a well defined order of MPI-execution. The transposed-transpose should inherit the token of the original non-transposed primal, I think.
However, is the transposed-transpose really a thing? Can't we  just implement the transpose rule, with something akin to stop_transpose (which is trivial to implement by defining a new function with custom transpose) and then error if someone tries to double transpose that?

PS: would you mind opening a PR so that we can discuss on it and comment it?

If we just need to transpose once we can do this:
def _stop_gradient_transpose_rule(primals, tangents):
    return (primals,)

def _create_token_transpose_rule(primals, tangents):
    return (None,)

from jax import ad_util
from jax import lax
ad.primitive_transposes[ad_util.stop_gradient_p] = _stop_gradient_transpose_rule
ad.primitive_transposes[lax.create_token_p] = _create_token_transpose_rule

but I think it would be nice if its possible to transpose many times


Update peercred dependency

I'm having trouble packaging this project as the url inet.af/peercred no longer exists.

Thanks!


CD 1.37.x Release Notes

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
https://harness.atlassian.net/wiki/spaces/PD/pages/21775286273/NG+Release+SAAS+May+6th+2024+for+1.37.x-+Build

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://663c8992bd17df82ba17a0fe--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://664332e7275d19c5901676c8--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6643368f496fcbcc13ba45e7--harness-developer.netlify.app


WiFi event block other processes (MEGH-4615)

Answers checklist.

[X] I have read the Rainmaker documentation and the issue is not addressed there.
[X] I have updated my IDF branch (release/vX.Y) to the latest version and checked that the issue is present there. This is not applicable if you are using Rainmaker with Arduino.
[X] I have searched the Rainmaker forum and issue tracker for a similar issue and not found a similar issue.

General issue report
/* Wait for Wi-Fi connection */
xEventGroupWaitBits(wifi_event_group, WIFI_CONNECTED_EVENT, false, true, portMAX_DELAY);
this function in app_wifi.c    blocks  other operations when there is no wifi....or not provisioning.
in case of we read push button input we can not get value until wifi get connected.

This particular call just blocks the main task, and not any others. How exactly are you managing your button events?

@nravin5 You should create a separate task to read the pin status.

@nravin5, any reason why you aren't using interrupts? Does your application actually need some polling? Please remember to add a delay in your loop, even if you create your own task, so that it doesn't hog the CPU.

@nravin5, any reason why you aren't using interrupts? Does your application actually need some polling? Please remember to add a delay in your loop, even if you create your own task, so that it doesn't hog the CPU.

At hardware level if there is any type wire connection issue or push pin rusting or any thing which creates random trigger  in that case the interrupts are disturbing the whole system.
In another case we can control when and how I want to read the pin values....
as my priority is run each function one by one not interrupting to others is my use case "home automation Project"


Create application from git repo

I'd like to create an app from a git through the UI in the same way I do with the archive and container image.

This is does not need to track git at the moment like my GitJob prototype does (although that would be nice)

@richard-cox I don't know what your backlog looks like but this would make demos much more appealing!

Completed by https://github.com/rancher/dashboard/commit/8f14788acb6182bde31050f97344648808eaae7f


SkiaSharp 1.54.0: MissingMethodException thrown "Method 'SKRect.get_Left' not found."

I got this error right after updating from 1.53 to 1.54.0

I also had this error because I was referencing 1.53 from a PCL in my project. After I've updated the PCL reference to 1.54 too, it worked correctly.

I updated the package for all project, but I will double-check that.
Thanks for the hint!

Ok, reverting the update and doing it again fixed it for me.

Hi @bruzkovsky @DanWBR, I am glad you figured this out. Just so you know WHY you got the error. We changed from a field-based structure to a property-based one.


Use a different configurable sync interval while Active full sync is ongoing

Is your feature request related to a problem? Please describe.
Users who enable active sync that that want to avoid having a sync interval all together may still encounter times where the active sync mechanism falls behind and triggers a sync on the entire sync point. Users will likely still want metadata synced in a timely manner. During the full sync, this may not occur.
Describe the solution you'd like
In order to preserve behavior in the best possible manner, during the full sync if the user's sync interval is configured to -1 and active sync has a full sync occurring, then we should add a configuration flag which will automatically use a specified sync interval during active sync.
Example

by default sync interval is -1, active sync is enabled
Active sync falls too far behind
full sync is triggered
All RPCs to paths underneath the sync point use a different (typically much shorter, 1-5s) sync interval

Describe alternatives you've considered
None at the moment
Urgency
Low

@da is this still valid? otherwise help me close this please


Updates to the doc for additions to our public API.

@kylejmcintyre Please review and accept this documentation change.


Data.List.Extra.for clashes with Data.Traversable.for

It does, and I don't like it. Options:

Do nothing, thus preserving backwards compat for the extra library, which is useful.
Rename for - but there's no good name for it.
Delete for, with a deprecation warning right now, then remove it in a few months.
Have Data.Traversable rename to avoid clashing with the extra library. My preference. Also the least likely to happen.

I'm leaning towards 3, but appreciate other opinions.

Deprecated in 1.6.13.

Removed in 1.7


GVFS.Service fails to set ACLs if the directory is not owned by "Administrators"

Change the owner of C:\ProgramData\GVFS\GVFS.Upgrade\Logs to be your user (rather than Administrators)
Restart GVFS.Service
The service fails to stay up
With extra logging (#767):

[2019-02-08 12:39:25 -08:00] Information {"Message":"Setting ACLs for C:\\ProgramData\\GVFS\\GVFS.Upgrade\\Logs"}
[2019-02-08 12:39:25 -08:00] Error {"Area":"GVFSService","Exception":"System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.\r\n   at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name, SafeHandle handle, SecurityInfos securityInformation, SecurityIdentifier owner, SecurityIdentifier group, GenericAcl sacl, GenericAcl dacl)\r\n   at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, SafeHandle handle, AccessControlSections includeSections, Object exceptionContext)\r\n   at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections, Object exceptionContext)\r\n   at System.Security.AccessControl.FileSystemSecurity.Persist(String fullPath)\r\n   at GVFS.Service.GVFSService.CreateAndConfigureUpgradeLogDirectory() in C:\\Repos\\VFSForGit\\src\\GVFS\\GVFS.Service\\GVFSService.cs:line 433\r\n   at GVFS.Service.GVFSService.CreateAndConfigureProgramDataDirectories() in C:\\Repos\\VFSForGit\\src\\GVFS\\GVFS.Service\\GVFSService.cs:line 399\r\n   at GVFS.Service.GVFSService.OnStart(String[] args) in C:\\Repos\\VFSForGit\\src\\GVFS\\GVFS.Service\\GVFSService.cs:line 165","ErrorMessage":"Unhandled exception in OnStart"}

Root cause of this issue:  If users ran gvfs upgrade from a non-elevated prompt (in the previous release) the owner of the Logs directory would be the owner (rather than Administrators).


Apply without human position

Great work!
Can your method be applied to command without the present of human position. E.g. I want to Place a table in the left conner of the room and then place a chair near the table.

Hi NamCyan,
Yes, there is a section "Ablation Study" in our paper, where we omit the presence of human. Our method can be applied to train generating furniture given the existing objects and text prompt.
Best regards,
An Vuong.


Changefeed abort when a cluster runs

Hello there,
I have been meeting a problem, I set up a 6-node cluster, it runs quite well at the beginning, but when up for about 2 days, every bigchaindb node report the error of changefeed abort and I can no longer insert txs into it. How can I solve it?

The error is like this:
Process backlog_mapper:
Traceback (most recent call last):
File "/usr/lib/python3.4/multiprocessing/process.py", line 254, in _bootstrap
self.run()
File "/usr/lib/python3.4/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.4/dist-packages/bigchaindb/processes.py", line 44, in map_backlog
for change in r.table('backlog').changes().run(b.conn):
File "/usr/local/lib/python3.4/dist-packages/rethinkdb/net.py", line 245, in next
return self._get_next(None)
File "/usr/local/lib/python3.4/dist-packages/rethinkdb/net.py", line 255, in _get_next
raise self.error
rethinkdb.errors.ReqlOpFailedError: Changefeed aborted (unavailable) in:
r.table('backlog').changes()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Process bigchain_mapper:
Traceback (most recent call last):
File "/usr/lib/python3.4/multiprocessing/process.py", line 254, in _bootstrap
self.run()
File "/usr/lib/python3.4/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.4/dist-packages/bigchaindb/processes.py", line 65, in map_bigchain
for change in r.table('bigchain').changes().run(b.conn):
File "/usr/local/lib/python3.4/dist-packages/rethinkdb/net.py", line 245, in next
return self._get_next(None)
File "/usr/local/lib/python3.4/dist-packages/rethinkdb/net.py", line 255, in _get_next
raise self.error
rethinkdb.errors.ReqlOpFailedError: Changefeed aborted (unavailable) in:
r.table('bigchain').changes()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Hi @zzy131250,
We have not encountered this problem before.
I assume that this happens when for some reason the connection to the database goes down.
The way to solve this would be add logic to reconnect if the changefeed connection goes down (maybe a wrapper around the changefeed).
I will mark this as a bug so that we can investigate this further.

Yes,
what happens is that the database is running normally and you can write transactions normally into the backlog, but since the changefeed is down the nodes are not notified of the new transactions, blocks are not created and the transactions are not moved to the bigchain table.
After you restart the bigchaindb processes there is a bootstrap routine that reads past transactions from the backlog and everything starts working normally.
We just need to add the logic so that bigchaindb can automatically recover if the changefeed connection goes down.

Cool then. Thanks.

@vrde Can this be closed now that PR #623 is merged?


Dependency Update for Ch1 Vanilla JS

Purpose

Updates NPM packages to most recent versions
Fixes some bugs in the sample
Fixes tests

Does this introduce a breaking change?

[ ] Yes
[ x ] No

Pull Request Type
What kind of change does this Pull Request introduce?

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

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

Add your app creds to authConfig.js

cd 1-Authentication\0-sign-in-vanillajs\App
npm start

Go to localhost:3000
Sign in, with an external ID
Test popup option by commenting out lines indicated in index.html and redirect.html
Run tests by deleting your creds in authConfig.js and then running jest test

What to Check
Verify that the following are valid

You can log in
You see a page verifying that you're logged in
You can log out
You can click a link in the logout page to get back to the signin/welcome page

Other Information

@BenBagBag - The diff for this PR is pretty noisy so I'm having trouble seeing where the differences are from main branch, are there specific sets of this change you want to call attention to for review?

@iambmelt Sorry, that's due to the Git issue I mentioned in Teams. I put in comments to show where the changes happened. Shouldn't happen in future commits.

@iambmelt and @hectormmg I do not have merge permissions. :)


Export: The tag 'resultBoxImage' cannot be used in this context.

What were you trying to do?
Generate a report with the following parameters:
Collection: uk_fts_2021-02-22 (Id 236)
Document id: 1FNpehBhSHNiXQ4Vm45AIMLeRPdkSv45t2aeccw-86j8
Folder id: 1OBPzTeoAOMqDtcxvQVribU2QTzAwP0e4
Report name: test output
What error did you receive?

link: https://docs.google.com/document/d/1lhHiK0RftAKooJ7whPgGbHt6HIOxTla7_JzQJhYmAIQ
Did you attempt a fix?
No, because the error message does not give enough information to understand which of the 18 references to the dataset check template in the main report template is causing the issue.
The first reference I added worked, so I assumed that resultBoxImage was a valid tag for all dataset checks.
How soon do you need a fix?
ASAP
Related issues:
https://github.com/open-contracting/pelican/issues/77

Deployed on https://dqt.datlab.eu.
The "error" was fixed in a quite complex matter. From now on, the "empty/non-calculated" checks in the report are not causing generation failures, instead:

comprehensive message is returned to the user with the list of checks, which weren't calculated (and thus generated)
there is red bold text in the template about missing values for check itself.

See screenshot

I'll mark as closed, but can re-open if any follow-up from users.

I tested the export with collection indonesia_opentender_2021-09-01 (Id 349) and the other parameters the same as in the issue description and got the following error:

Beware - its not id 349 but indonesia_opentender_2021-09-01 (Id 348)
From logs:
Internal Server Error: /api/generate_report
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/src/app/dqt/views.py", line 300, in generate_report
    main_template, failed_tags = base.validate_and_process({})
  File "/usr/src/app/dqt/tools/tags/tag.py", line 435, in validate_and_process
    result, failed = tag.validate_and_process(new_data)
  File "/usr/src/app/dqt/tools/tags/tag.py", line 407, in validate_and_process
    new_data = self.prepare_data(data)
  File "/usr/src/app/dqt/tools/tags/template_tags/dataset.py", line 203, in prepare_data
    new_data["passedExamples"] = [example["ocid"] for example in check.meta["passed_examples"]]
  File "/usr/src/app/dqt/tools/tags/template_tags/dataset.py", line 203, in <listcomp>
    new_data["passedExamples"] = [example["ocid"] for example in check.meta["passed_examples"]]
KeyError: 'ocid'


Support for validation in Tauri.toml

This extension now supports validation for tauri.conf.json, but not for Tauri.toml.
It would be nice to be able to switch to toml since that's common practice in the Rust community so I think this is quite needed.

I think the next step would be to look into uploading tauri config schema to https://www.schemastore.org/json/ and let Even Better Toml auto detect our config and pull the schema from the store.

btw you can explicitly set the schema in your Tauri.toml like this:
"$schema" = "https://github.com/tauri-apps/tauri/releases/download/tauri-build-v1.5.0/schema.json"

[build]
before-build-command = ""

# ..etc

Notice that you need to match the version in the URL to the version of tauri-build in your Cargo.toml


Bump Dependencies #9258507964

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/9258507964

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


'attempted to leave type std::mem::ManuallyDrop<xlib_xcb::Xlib_xcb> uninitialized, which is invalid'

Hello, i can build i can't run it:
Finished release [optimized] target(s) in 0.14s
Running target/release/imgui-ggez-starter
thread 'main' panicked at 'attempted to leave type std::mem::ManuallyDrop<xlib_xcb::Xlib_xcb> uninitialized, which is invalid', /rustc/c7087fe00d2ba919df1d813c040a5d47e43b0fe7/src/libcore/mem/mod.rs:661:5
stack backtrace:
0: backtrace::backtrace::libunwind::trace
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86
1: backtrace::backtrace::trace_unsynchronized
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66
2: std::sys_common::backtrace::_print_fmt
at src/libstd/sys_common/backtrace.rs:78
3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
at src/libstd/sys_common/backtrace.rs:59
4: core::fmt::write
at src/libcore/fmt/mod.rs:1069
5: std::io::Write::write_fmt
at src/libstd/io/mod.rs:1504
6: std::sys_common::backtrace::_print
at src/libstd/sys_common/backtrace.rs:62
7: std::sys_common::backtrace::print
at src/libstd/sys_common/backtrace.rs:49
8: std::panicking::default_hook::{{closure}}
at src/libstd/panicking.rs:198
9: std::panicking::default_hook
at src/libstd/panicking.rs:218
10: std::panicking::rust_panic_with_hook
at src/libstd/panicking.rs:511
11: rust_begin_unwind
at src/libstd/panicking.rs:419
12: core::panicking::panic_fmt
at src/libcore/panicking.rs:111
13: core::panicking::panic
at src/libcore/panicking.rs:54
14: x11_dl::xlib_xcb::Xlib_xcb::open
15: winit::platform::platform::x11::xdisplay::XConnection::new
16: std::sync::once::Once::call_once::{{closure}}
17: std::sync::once::Once::call_inner
at src/libstd/sync/once.rs:416
18: winit::platform::platform::EventsLoop::new_x11
19: winit::platform::platform::EventsLoop::new
20: winit::EventsLoop::new
21: ggez::context::ContextBuilder::build
22: imgui_ggez_starter::main
23: std::rt::lang_start::{{closure}}
24: std::rt::lang_start_internal::{{closure}}
at src/libstd/rt.rs:52
25: std::panicking::try::do_call
at src/libstd/panicking.rs:331
26: std::panicking::try
at src/libstd/panicking.rs:274
27: std::panic::catch_unwind
at src/libstd/panic.rs:394
28: std::rt::lang_start_internal
at src/libstd/rt.rs:51
29: main
30: __libc_start_main
31: _start

Fixed with editing cargo.toml
[dependencies]
ggez = "*"
gfx_core = ""
gfx_device_gl = ""
imgui = ""
imgui-gfx-renderer = ""

Works with
[dependencies]
ggez = "0.5.0"

gfx_core = "0.9.2"
gfx_device_gl = "0.16.2"

imgui = "0.4"
imgui-gfx-renderer = "0.4"


K Manga (Kodansha)

Source name
K Manga
Source link
https://kmanga.kodansha.com/
Source language
English
Other details
No response
Acknowledgements

[X] I have checked that the extension does not already exist by searching the extension listing and verified it does not appear there.
[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 meaningful title with the source name.
[X] I will fill out all of the requested information in this form.

I'm interested in this site too!!
Also, a few notes; as the label says, it's geo locked to the US but a vpn works to circumvent it. It also has a points system for viewing manga which is annoying..

Ran across this script, which might be useful: https://greasyfork.org/en/scripts/467901-k-manga-ripper
Assuming that script is correct, the equivalent descrambling function getUnscrambledCoords() would be:
data class Coord(val x: Int, val y: Int)
data class CoordPair(val source: Coord, val dest: Coord)

private fun xorshift32(seed: UInt) =
    seed.let { it xor (it shl 13) }
        .let { it xor (it shr 17) }
        .let { it xor (it shl 5) }

private fun getUnscrambledCoords(seed: Int): List<CoordPair> {
    var seed32 = seed.toUInt()
    val pairs = mutableListOf<Pair<UInt, Int>>()

    for (i in 0 until 16) {
        seed32 = xorshift32(seed32)
        pairs.add(seed32 to i)
    }

    pairs.sortBy { it.first }
    val sortedVal = pairs.map { it.second }

    return sortedVal.mapIndexed { i, e ->
        CoordPair(
            source = Coord(x = e % 4, y = e / 4),
            dest = Coord(x = i % 4, y = i / 4)
        )
    }
}


Add Dockerfile + sample shell scripts

Add a docker image to run the rpi-img-builder on any platform

This is great thank you very much!!


Support use of tuples with such that operator

The following TLA+ syntax is valid:
{ << x, y >> \in S \X T : P(x, y) }

Currently we assume that the left-hand side of the \in is just a single variable. We need some way to handle this case.
Original issue: https://bitbucket.org/whiteoutblackout/pgo/issues/28/support-use-of-tuples-with-such-that

Much work has been done of this. We need to ensure \X works.


Make several small optimizations to modules

Performs several small optimizations. The optimization in xxhash32 has a measurable impact on native codegen performance. The others, not so much.

Appears of these, xxhash32 is the only one that clearly benefits. I'm not surprise about blake2s, sha1, or sha-256/224. I'm a little surprised about SHA-512/384 though.
Of note: these tests aren't exact and I really need to start measuring throughput better.


Fix zoom controllers

Add custom controllers on the map.

Add a custom function to make zoom.

Functions to see always the zoom control on top o bottom.

https://www.pivotaltracker.com/story/show/147828185

Looks good now!


Lainchan submissions are always spoilered

Hey, I found a small issue with the Lainchan extension.
Scenario:

Make post with image
Submit

Result:
Image is spoilered no matter what.
Device:
HTC 10, Android 7.0, Dashchan v2.9.0, Extension v1.3
Regardless, thanks for working on this great app!

Fixed.

<3


test: use transitionend instead of settimeout

Fixes #447
> karma start

05 09 2019 18:35:25.811:INFO [compiler.karma-typescript]: Compiling project using Typescript 3.3.4000
05 09 2019 18:35:31.057:INFO [compiler.karma-typescript]: Compiled 26 files in 5146 ms.
05 09 2019 18:35:32.028:INFO [bundler.karma-typescript]: Bundled imports for 26 file(s) in 469 ms.
05 09 2019 18:35:33.634:INFO [karma-server]: Karma v3.1.4 server started at http://<IP_ADDRESS>:9876/
05 09 2019 18:35:33.637:INFO [launcher]: Launching browsers Chrome, Firefox with concurrency unlimited
05 09 2019 18:35:33.655:INFO [launcher]: Starting browser Chrome
05 09 2019 18:35:33.675:INFO [launcher]: Starting browser Firefox
05 09 2019 18:35:36.368:INFO [Chrome 76.0.3809 (Windows 10.0.0)]: Connected on socket Y5ZOZ2SYM9T37QqGAAAA with id 8769878
................................................................................
...................................................................
Chrome 76.0.3809 (Windows 10.0.0): Executed 147 of 147 SUCCESS (0.452 secs / 0.249 secs)
05 09 2019 18:35:40.124:INFO [Firefox 69.0.0 (Windows 10.0.0)]: Connected on socket AcbDDuIsbUD3dl86AAAB with id 5279393
................................................................................
...................................................................
Firefox 69.0.0 (Windows 10.0.0): Executed 147 of 147 SUCCESS (0.586 secs / 0.248 secs)
TOTAL: 294 SUCCESS

Mentored by @mightyiam.

This looks great. Definitely a more appropriate way of doing it. Instead of just waiting and hoping that the transition is done we actually wait listen for a signal that it is done.

It would be interesting to know if this is what caused some of the CI browser tests to fail. That is, we could try reinstating some of the tests commented out in #444 and see if some of them now succeed.

Thank you, @paldepind. Tried in #449. Seems like there's more to those failures than this.


Paragraph formatting issue

Hi,
It seems that the paragraph formatting is messed up when using the plugin.
Enabling Mathlive display reformats the paragraph correctly but when the cursor returns inside the equation in obsidian the formatting is messed up again.
Good :

Bad :

I cannot reproduce the result. It seems normal in my editor with or without the cursor inside.

Can you show it with a gif or video?

Here is a video illustrating the behavior
https://github.com/MizarZh/mathlive-in-editor-mode/assets/8211124/42a4c122-1e00-4377-8fdb-3223c46f1bde
Tanks

Fixed in release 0.1.7

Works perfectly.
Many thanks and awesome plugin !


Will it affect the operation of the whole carrier-io if observer-hub is not activated, such as doing some testing

I checked docker "5eb2f5bf3303 getcarrier/observer-hub:latest app" didn't up to run,It always exist
f9627b119d79        jenkins/jenkins:lts                        "/sbin/tini -- /usr/…"   2 days ago          Up 2 days               8080/tcp, <IP_ADDRESS>:50000->50000/tcp               carrier_jenkins_1
5eb2f5bf3303        getcarrier/observer-hub:latest             "app"                    2 days ago          Exited (1) 2 days ago                                                    observer-hub
740ffab73fd5        grafana/loki:latest                        "/usr/bin/loki -conf…"   2 days ago          Up 2 days               <IP_ADDRESS>:3100->3100/tcp                           carrier-loki
I copy the logs and find no such file or directory: '/tmp/hub/config.json' ,how to fix this issue?
Traceback (most recent call last):
File "/usr/local/bin/app", line 33, in
sys.exit(load_entry_point('observer-hub==1.0.0', 'console_scripts', 'app')())
File "/usr/local/lib/python3.7/site-packages/pkg_resources/init.py", line 488, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python3.7/site-packages/pkg_resources/init.py", line 2872, in load_entry_point
return ep.load()
File "/usr/local/lib/python3.7/site-packages/pkg_resources/init.py", line 2472, in load
return self.resolve()
File "/usr/local/lib/python3.7/site-packages/pkg_resources/init.py", line 2478, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.7/site-packages/observer_hub-1.0.0-py3.7.egg/observer_hub/app.py", line 25, in
config = read_config()
File "/usr/local/lib/python3.7/site-packages/observer_hub-1.0.0-py3.7.egg/observer_hub/util.py", line 52, in read_config
with open(CONFIG_PATH) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/hub/config.json'

not it won't affect rest of functionality, expect UI performance

add /tmp/hub/config.json can fix the issue

@majyer is it till actual?

@majyer is it till actual?


Fix #539

WIP. Just a quick shoot at fixing #539. I'll test it later. Comments are welcome.

This fix is fine.  We should add a test too, though I'll merge as is.

Fix is in <IP_ADDRESS>


Moved relu, conv2d, dropout, interpolate, cross_entropy, batch_norm and max_pool2d to C++

Description
Moving to C++ these nn functions:

relu
conv2d
dropout
interpolate
cross_entropy
batch_norm
max_pool2d

Testing:

Unit tests
Segmentation pipeline from pytorch/vision, master vs nt updated
command: clear && python references/segmentation/train.py -j 0 -b 2 --device cuda --dataset coco --pretrained --test-only

master:
Test:  [4700/5000]  eta: 0:00:46    time: 0.1620  data: 0.0397  max mem: 725
Test:  [4800/5000]  eta: 0:00:31    time: 0.1538  data: 0.0336  max mem: 725
Test:  [4900/5000]  eta: 0:00:15    time: 0.1595  data: 0.0383  max mem: 725
Test: Total time: 0:12:55
global correct: 91.9
mean IoU: 63.7
nt
Test:  [4700/5000]  eta: 0:00:56    time: 0.1947  data: 0.0392  max mem: 862
Test:  [4800/5000]  eta: 0:00:37    time: 0.1861  data: 0.0333  max mem: 862
Test:  [4900/5000]  eta: 0:00:18    time: 0.1894  data: 0.0357  max mem: 862
Test: Total time: 0:15:45
global correct: 91.9
mean IoU: 63.7
Benchmark results:
fn _relu_tensor    avg(us):<PHONE_NUMBER> std(us):  1661.2356 num_runs: 35
fn _relu_nt        avg(us):<PHONE_NUMBER> std(us):   763.1132 num_runs: 33
fn _conv2d_tensor  avg(us):<PHONE_NUMBER> std(us): 13552.3857 num_runs: 27
fn _conv2d_nt      avg(us):<PHONE_NUMBER> std(us): 10189.9268 num_runs: 26
fn _batch_norm_tensor avg(us):<PHONE_NUMBER> std(us):  9695.1162 num_runs: 33
fn _batch_norm_nt  avg(us):<PHONE_NUMBER> std(us):  7826.2144 num_runs: 33
fn _max_pool2d_tensor avg(us): 72471.0547 std(us):  4896.7163 num_runs: 69
fn _max_pool2d_nt  avg(us): 71845.0547 std(us):   796.6418 num_runs: 70
fn _cross_entropy_tensor avg(us): 1031677.0000 std(us):  1064.3031 num_runs: 5
fn _cross_entropy_nt avg(us): 1024477.6875 std(us):   884.7659 num_runs: 5
fn _dropout_tensor avg(us):<PHONE_NUMBER> std(us):   137.6644 num_runs: 9
fn _dropout_nt     avg(us):<PHONE_NUMBER> std(us):  1605.0973 num_runs: 9
fn _interpolate_tensor avg(us):<PHONE_NUMBER> std(us):   825.9186 num_runs: 11
fn _interpolate_nt avg(us):<PHONE_NUMBER> std(us): 16439.2676 num_runs: 13
TODO:

fix argument parsing in nester.py
cover with tests the optional parameters
add input data validation
come up with better errors once NT is passed as an input. pybind 'eat' real error messages.

@cpuhrsch, should be good to go.
Resolved most of the comments. Moved binding code and cleaned up C++ api to work with NestedTensor objects. Added tests for layers to cover torch.nn.X and torch.nn.functional.X where it applies. Some refactoring and cleaning up.


Fixed #34842 -- Fixed ModelAdmin.readonly_fields crash with GeneratedFields.

Ref. https://code.djangoproject.com/ticket/34842

@pauloxnet Thanks :+1:


Registration with duplicate name

When a customer registration is accepted, but a customer with the same name already exists, an error is shown. We should only show this error when a customer with the same name and default app already exists. Customers with the same name, but different default apps should be allowed.

I think it's just a warning and customer creation can be forced in this case?


Update variable names / future-proofing

I think we tackle this before #192.
Per conversation on https://github.com/declandewet/stylus-conventions/issues/8#issuecomment-124158817
We need to:

[ ] Add $ to all variables
[ ] Unify all variable names to be $dash-case
[ ] Reference @declandewet's conventions doc in contributing?

I'm not so certain, my conventions doc has gone seriously unmaintained because of my limited time to devote to open source at my current job

FWIW I think the community needs such a doc, but i'm fine to cross off #3.

I have this almost done. It was not trivial. Post update on this soon.

Done in #209
Probably should make this *v0.5.x. Not sure if there would be any breaking changes but better safe than sorry.
So up next v0.4.3:

adds rule()
adds hover-glow() and hover-float()
adds click-down(), click-inset(), click-shadow(), & click-shrink()
moves print to reset

v0.5.0

new variable structure.

v0.5.1

select-box()
??
??

Then we'll push dropping nib to *v0.6.x

Good roadmap. I'm going to get some stuff merged today, sorry for the delays!

Honestly I didn't expect the nib removal to go so quickly. Not sure we even really need to have new variable structure be it's own release now. We can just roll it out with the sans-nib update.


Addresses #1915 edit 'chandelier cell'

Addresses #1915 edit 'chandelier cell'

Should also be under GABAergic neuron.  This can be inferred by adding capable_of  relationship to appropriate GO terms.

#gogoeditdiff


Assertion failure on reload

I can't find a reliable way to reproduce this but I occasionally get an assertion failure when reloading a file to pick up external modifications.
Since it only happens sometimes, I'm guessing realloc moves the buffer and some pointers get invalidated.

Closing; the reload command doesn't exist any more.


CoreDNS prometheus metric annotations exposed at pod level

These annotations would previously never be rendered because they
were added under the kube-dns section (rather than CoreDNS's).
Additionally, the annotations are now added to the Pods themselves
rather than the Deployment.
Fixes #1768

Codecov Report

Merging #1770 into v0.13.x will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           v0.13.x    #1770   +/-   ##
========================================
  Coverage    25.27%   25.27%
========================================
  Files           98       98
  Lines         5088     5088
========================================
  Hits          1286     1286
  Misses        3660     3660
  Partials       142      142

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 5d805e1...ca25397. Read the comment docs.

/lgtm


Unable to find models

Hello, thank you for this wonderful tool
I am unable to find the "h5" models when I call openl3.get_audio_embedding function.
The error is:

OSError: Unable to open file (unable to open file: name = '/content/openl3/openl3/openl3_audio_linear_env.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

I checked the openl3 folder and there are indeed no model files there. Can you please confirm if the model links are active? Perhaps the models are not being downloaded due to a broken link.
Thank you

@hohsiangwu  @jtcramer @justinsalamon @lostanlen
Can you please provide links to the model files in h5 format? I can manually pasted them in the intended folder.
Thank you.

I just installed openl3 intro a fresh conda environment (python 3.6) via pip install openl3 and I was able to call emb, ts = openl3.get_audio_embedding(audio, sr) without any errors.
How did you install the repo? If you installed it from source (rather than via pip), note that the model files are stored on GH in a compressed format (.gz) and need to be uncompressed before they can be used (the pip installation takes care of this). Without further information, I'd guess your problem is related to this issue.
Installing via pip should fix your problem. If you need to install from source, make sure to uncompress the model files manually. The error you pasted is about not finding the model file on your file system, not about not being able to download it from GH. I'm guessing you have the files locally as .gz while the code is looking for the uncompressed .h5 file.
If you try the two suggestions above and are still experiencing issues please describe your system (OS, python environment etc.) and the exact process you followed to install openl3.
If the above suggestions fix your issue, please let us know so we can close this issue out. Thanks.

Thank you, pip install openl3 did the trick.
Previously, I was cloning the repo and install it from there.


Split config::Server  and config::Upstream

Currently they are implemented in the same file. With this change we should have two files — config/upstream.rs and config/server.rs

Linked a PR @tusharmath :)


interrupt potentially hot loop in events consumer

tests rely on the ability to finish consumption of events when app is interrupted


Eliminate references of gardener/gardener/extensions from packages in gardener/gardener/pkg

How to categorize this PR?

/area dev-productivity
/kind enhancement
What this PR does / why we need it:
This PR eliminates all references of gardener/gardener/extensions from packages in gardener/gardener/pkg, following up on https://github.com/gardener/gardener/pull/4860#issuecomment-946423892.
/cc @timebertt
Special notes for your reviewer:

~✅ Based on #4860 which should be merged first~
~Only the last four commits are relevant (the others belong to #4860)~

Release note:

NONE

This PR is now
/ready
for review.


Check if ipython exists before trying to open a ptpipython session

Having ptpython installed would cause iron.vim to cascade to ptipython mode, even if ipython was not installed.

That makes total sense! Thanks a lot!


MinGW autotools build no longer outputs a DLL

Version: 1.45.0, 1.46.0, 1.47.0
Platform: Windows x86_64, MinGW

Thank you for libuv!
I maintain Luv, an OCaml binding to libuv.
Luv vendors libuv and, by default, uses autotools to build libuv internally when Luv is installed. Our Windows builds have started to fail since 748d894e because the autotools build no longer generates libuv.dll in ../bin, or, as far as I can tell, any .dll file in any directory. This affects libuv 1.45.0, 1.46.0, 1.47.0 and current v1.x head (1479b76310a38d98eda94db2b7f8a40e04b3ff32).
To reproduce our build,
git clone https://github.com/libuv/libuv.git
cd libuv
git checkout 748d894e
./autogen.sh
sh configure --host x86_64-w64-mingw32 CC=x86_64-w64-mingw32-gcc CFLAGS=-DNDEBUG --enable-shared
make -j 4 -o aclocal.m4 -o Makefile.in -o configure -o configure.status -o Makefile libuv.la
sh libtool --mode install cp libuv.la `pwd`

This creates, among other output, ../bin/libuv.dll on 748d894e~, but appears to no longer do so on 748d894e and all subsequent commits that I have tested (during git bisect + v1.x head).
Looking at 748d894e, I can't immediately tell what the problem might be. I wonder if it's due to some autotools interaction with the additional libraries listed there.

Continuing to look into it. I will either have more information or this may be invalid.

Confirmed that this is broken with MinGW 11.0.1.
I think this is all the information I am able to immediately provide. Thank you!

It sounds like this is at its core a mingw issue in that it doesn't provide a (working?) uuid.lib / uuid.dll? What happens when you drop -luuid from configure.ac?
A possible workaround is to define FOLDERID_LocalAppData directly because that's the only thing we pull from uuid.dll, as far as I'm aware. Its GUID is {F1B32785-6FBA-4FCF-9D55-7B8E7F157091} if I'm not mistaken. See the uv_msafd_provider_ids array in src/win/poll.c for another example where we define GUIDs directly.
If that fixes the issue for you, please send a pull request!


FullScreen: show a more detailed info after copying an address on home screen

Related PR posted.

I think its better to add a modal, where let users to choose a chain to copy its associated address. This will be more straightforward way of copying address.

WORK IN PROGRESS


Mountain Camp (Rockslide Obstacle) Not Supported

(South east tile hovered)
When trying to generate a path to the Mountain Camp, it fails to do so because I don't think it's accounting for the Rockslide obstacle you have to climb to get there

This was added in version 1.14.1 and is live in the client


Strange generated mesh

Hello,
I tried to use GMSH-Airfoil-2D with the following command (the airfoil is symmetric) :

gmshairfoil2d --airfoil n64015a --format mesh

Here is what observe near the trailing-edge:

I do not find this result satisfactory. How can it be improved?
Best,
Lucas

You can try to use the option "--airfoil_mesh_size" and try different value to see what is the best value for your application.

Thanks for your answer.
I actually the grid space is fine for me. It is strange that the symmetry of the airfoil is not respected in the generated mesh.

ah ok, but the tool is made to create simple unstructured meshes, and I think you do not really need a symmetry for this kind of mesh. To create, a more complex mesh I think it is still better to use GMSH manually.


Web- Sign in- Console error appears after log out for specific account

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to NewDot
Log in with the account<EMAIL_ADDRESS>Go to Setting - Sign Out
Check console error

Expected Result:
No console error appears after log out for specific account
Actual Result:
Console error appears after log out for specific account
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] Windows / Chrome
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

https://user-images.githubusercontent.com/93399543/217249628-6d82196f-d693-42ad-ad09-137477db8d71.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@kavimuru - A couple of questions here.

Where do I find the credentials to login with<EMAIL_ADDRESS>I don't have access to the magic sign-in link we get emailed when trying to log in with that email so I might be blocked from testing this for now.
This is specific to one testing account only and no other accounts? If so that doesn't feel like a bug we'd fix unless it was affecting other accounts as well but you're more of an expert so I'd appreciate any context you can provide for me that I'm not understanding here.

We're going to close this one until we can recreate it and until it affects more than this one test account.


.scan didn't work

I try to put the same code as yours
this.qrScanner.prepare()     .then((status: QRScannerStatus) => {        if (status.authorized) {          // camera permission was granted          // start scanning          const scanSub = this.qrScanner.scan().subscribe((text: string) => {            console.log('Scanned something', text);            this.qrScanner.hide(); // hide camera preview            scanSub.unsubscribe(); // stop scanning          });        } else if (status.denied) {          // camera permission was permanently denied          // you must use QRScanner.openSettings() method to guide the user to the settings page          // then they can grant the permission from there        } else {          // permission was denied, but not permanently. You can ask for permission again at a later time.        }     })     .catch((e: any) => console.log('Error is', e));   }
but on android platform ask me about permissions, then nothing happens,
how I can run this code
I am using angular, cordova
thanks

having same problem. not working any way.
this.qrScanner.scan().subscribe((text: string) => {


[In the future] Helmfiles as a chart / Helmfile as a K8S CR

So that we can leverage everything helm provides to power helmfile :)

User-defined Lua functions included in charts (Perhaps in Helm v3)
Helm chart repositories to distribute versioned helmfiles for reuse
No need to implement your own controller or operator to manage Helmfiles(in case you find it necessary)

Points must be addressed before making it real:

Don't break existing use-cases of helmfile. Leverage Helm's ecosystem w/ minimal changes to Helmfile.
Allow users to choose either kubectl or helmfile CLIs according to their usecases, like Helm v3 allows you to choose use helm or helm CRD.
Reformat helmfile as a valid CR. Add apiVersion, metadata, and spec sections?
Translate helmfile's ordering #137 into helm's ordering e.g. https://github.com/kubernetes/helm/issues/3635
Don't expect Helmfile CRD to handle every use-case of ours. CRD seems to have many edge-cases and gotchas, ones like noted in https://blog.manifold.co/the-state-of-custom-resource-definitions-in-kubernetes-5498425dd553

In favor for having a CRD. It could be something like a helm operator for a gitops style workflow, as in Flux from weaveworks. Which I find to be bit limiting at this moment.

I built a K8s operator for Helmfile CRD - https://github.com/mumoshu/helmfile-operator 😃Anyone interested in trying it out?

I built a K8s operator for Helmfile CRD - https://github.com/mumoshu/helmfile-operator smileyAnyone interested in trying it out?

Nice, do you plan to make this a full-fledged component of the helmfile ecosystem and maintain it in the long term or is it just an experiment?

@victornoel Hey!
Honestly saying, I'm maintaining a bunch of projects including helmfile and helmfile-operator almost as an after-work hobby.
That's being said, I can't commit maintaining it in the long term until someone hires me for maintaining it, or perhaps make it a more collaborative project hosted in CFNF or anywhere else.
But I do have the "passion" to make it a fully-featured component that complements the whole helm eco-system.
I believe you'll suffer with (1)limited feedbacks(=harder to notice and debug deployment issues) and (2)the lack of a manual approval feature when helmfile is integrated with:

argo
argo cd
brigade
circle ci
tekton
etc.

I've already written plans to address these in :

https://github.com/mumoshu/helmfile-operator/issues/1
https://github.com/mumoshu/helmfile-operator/issues/2

I tried hard to find solutions that works without putting too much engineering efforts into helmfile and helmfile-operator. But I have no way other than enhancing the helmfile-operator so far.
So I'd appreciate it if you could try it if you encountered the problem the operator is trying to solve, and  give feedbacks and even better advocate for it, so that more people come and the project is likely to be maintained longer term.
The more a project attracts people, the more likely potential maintainers come :)

@mumoshu sorry for taking so long to answer :)
After doing a bit of survey of existing solutions, I was wondering if it wouldn't be a better idea to integrate helmfile with the flux initiative. They just announced that they were going to join CNCF (or at least try) and detach themselves from weaveworks (in terms of governance): https://github.com/fluxcd/flux/wiki/MoveToFluxCD

@victornoel Thanks for the suggestion!
helmfile-operator is a tool comparable to helm-operator which is maintained as a part of flux. That is, I'm considering helmfile-operator as an effort to integrate helmfile into flux :)
Does it make sense to you?
Or are you suggesting to donate helmfile-operator into flux? If so, I'm fine to do so but not sure about the process and who actually want to maintain it if donated.
Any comment is welcomed.

@mumoshu not donate no (well, except if you want to ^^), but yes, I was thinking about making something that would work well in the flux ecosystem. I'm not very knowledgeable about it, so I didn't realise that helmile-operator was already doing that :)

@mumoshu @victornoel  I just found this open issue. It was so nice for me to find it (I am some kind of new in helmfile -it is only some months I am playing with it, I am really impressed-) and I started to reason exactly as you did here above when trying to use helmfile in a GitOps scope.
I think the new Flux v2 and the GitOps toolkit is really opening the door to move this helmfile-operator to Flux.
(note Flux v2 helm operator was removed, replaced by a helm-controller that makes more sense and opens the door for new coming controllers ... as the helmfile-controller).
It would be needed some integration towards the Flux v2/GitOps toolkit "source controller" to make it fully "usable" in Flux v2
What do you think?

@antaloala Hey! I've already read much about Flux v2 ecosystem and source-controller. I've also considered how I'd re-implement https://github.com/mumoshu/helmfile-operator in the Flux v2 ecosystem.
The question raised from my mind then was that- what's the concrete benefit of implementing it with source-controller?
As far as I can see, Flux v2 as a whole doesn't provide anything other than source-controller and the API to interact with Source from a custom controller perspective. For example, it would be great if they had support for nice Web UI like ArgoCD to interact/summarize Helmfile-related custom resources. But there aren't any.
Rewriting the helmfile-operator to use source does seem to allow me to reuse the some K8s controller and artifact fetching code from source-controller. But anything else?
I like Flux and Flux v2 and the new abstraction of Source/Artifact around source-controller. I'd really love to think about possibilities on how helmfile and flux v2 could enhance the whole u/x together. AFICS, there's no much benefit doing so, especially given we already have helmfile-operator.
WDYT?

@mumoshu indeed, argocd seems clearly more full fledged than Fluxv2 in terms of available features. It seems one is really made with UIs in mind while the second is "just" description file-based gitops.
The only advantage of using FluxV2 over using nothing would be to get the community + all those various sources supported out of the box in a coherent ecosystem. I'm not sure it is worth the effort, as you say indeed.
And we would get the same advantage from ArgoCD, both being under CNCF incubation btw.
Actually, the more I think about it, the best would even be that both ArgoCD and FluxV2 support helmfile (like they already support helm, kustomize, etc) and that you would have none or a minimum of work with maintaining it so that you can continue focusing on helmfile itself :)
Not sure what would be the best way towards this except maybe creating issues in those project to have them start thinking about it and realize the greatness of helmfile and the impossibility of not supporting it :D

@victornoel Hey! Thanks for sharing your ideas and insights.
FWIW, ArgoCD seems to provide us enough extension points to integrate Helmfile nicely.
A few months ago I've written some outdated recommendation on how you would integrate Helmfile with ArgoCD https://github.com/roboll/helmfile#argocd-integration. The gist of the recommendation was to run helmfile template on CI to generate manifests to git-commit, and let ArgoCD Application deplos the manifests in the generated git repo content.
What I've realized afterwards though was that more people use ConfigManagementPlugin.
With that, you point ArgoCD to the repo that contains no manifests, but helmfile.yaml and its siblings. You let ArgoCD run helmfile template on sync. It's like letting ArgoCD to run helmfile template | kubectl apply -f -.
It looks more like a native integration to me. What would be possible improvements over this ConfigManaegmentPlugin? 🤔

@mumoshu, @victornoel I have not read enough about ArgoCD, so let me come back to the Flux v2 proposal.
Yes, you are right, after some more reading on the GitOps toolkit provided by Flux v2 the integration with the source-controller is mainly about letting it to inspect the configured git repo and/or Helm repo to retrieve the required (from Helmfile-controller) artifacts. But I think it is not only that what we would get from a Flux v2 integrated Helmfile-controller, we would also have:

a (git) PR triggered "helmfile apply" execution ... and/or triggered from a new published Helm chart in the source-controller watched Helm repo (for those helm releases where a chart semver range is set in the state file/helmfile yaml)
(as another minor PROS) possibility to raise external notifications on "helmfile apply" results through the notifications-controller

The main PROS is first bullet above; Helmfile is nowadays to be invoked periodically (a cron job running the "helmfile apply") and or coding/writing the instrumentation required to watch changes in a git repo (where the state files and the state value files are placed under git revision) and so trigger the "helmfile apply"; even when having a helmfile operator we still need "someone" to push into k8s API server the "helmfile" custom objects watched by the helmfile operator's custom controller.
Without integrating that helmfile operator with a GitOps tool we cannot get that pull-based way of working.
But it is also true that once ArgoCD and Flux v2 provide support for Helm releases + allowing to connect different Helm releases across them (the "App of App" pattern in ArgoCD, in Flux v2/helm controller it is based on a HelmRelease object setting dependencies towards another HelmRelease object) it is not 100% clear to me if a GitOps integrated Helmfile solutions is a long term solution or maybe some kind of gap filler as native ArgoCD and Flux v2 add more features to the native HelmRelease support.
What is your view on this? I must admit I do not see now so clear the long term value of having helmfile support in these CNCF GitOps projects ...

What is your view on this? I must admit I do not see so clear now the long term value of having helmfile support in these CNCF GitOps projects ...

@antaloala Hey! I believe having helmfile support would be great. I'm just saying that ArgoCD already supports it and it's great, and adding it to Flux v2 or enhancing helmfile-operator doesn't seem to work fully or worth the effort to me.

Flux v2/helm controller it is based on a HelmRelease object setting dependencies towards another HelmRelease object)

IIRC Flux v2's model doesn't allow cross-kind dependency. That is, a kustomize project can depend on another kustomize project and a helm release can depend on another helm release, but a kustomize project can not depend on a helm release. ArgoCD can handle this in another form, by using Sync Waves and Sync Phases.
Helmfile supports cross-kind dependency by needs.

But it is also true that once ArgoCD and Flux v2 provide support for Helm releases + allowing to connect different Helm releases across them (the "App of App" pattern in ArgoCD, in Flux v2/helm controller it is based on a HelmRelease object setting dependencies towards another HelmRelease object) it is not 100% clear to me if a GitOps integrated Helmfile operator is to be a long term solution or maybe some kind of gap filler as native helm-releases support in ArgoCD and Flux v2 evolve, getting more and more features.

As Flux v2 can't have cross-kind dependency, it's like comparing apple and orange. But anyway-
ArgoCD has out-of-box support for ConfigManagementPlugin, which allows you to integrate Helmfile into an arbitrary ArgoCD application. I think you can consider ArgoCD as it turns Application custom resources with config management plugins configured into something like a gitops operator for Helmfile.
ArgoCD Application + ConfigManagementPlugin looks great abstraction, allowing you to map an Application to a set of
releases rendered by helmfile, or even map each Helmfile release to a dedicated ArgoCD Application.
This opens up possibilities for you to use your Helmfile configs for local development or standalone deployment, while using the same configs to power GitOps. This isn't possible with Helm or Kustomize alone.
You can even combine Helmfile-backed Application with Helm-backed and Kustomize-bakced Applications.
What else do we need beyond that? I'm curious 🤔

@mumoshu Thanks for quick reply (as usual ;-)
I was not really considering cases in which we need to cross-relate kustomize packaged (micro)services with Helm packaged ones in order to compose a cloud native application. Is that the normal case?
I am focusing on scenarios in which a cloud native application is defined as a set of related helm releases (one per each instance of a required (micro)service), each required (micro)service providing its own Helm chart (plus some container images, of course).
It is for this scenario where I think Hemfile, ArgoCD and Flux v2 overlap (all of them providing a fully declarative handling of helm releases).
I like (a lot) many of the additional feature you added to Helmfile + helm-x plugin (as the JSONpatches or StrategicMergePatches you can apply to a helm chart without having to fork it, the possibility to template the values.yaml to apply to each release, etc.) and so I thought and getting all of them in the two main CNCF GitOps solutitons (ArgoCD and Flux v2).
But more I read on helm support (only helm) in ArgoCD and Flux v2, more I think they are aiming to cover Helmfile scope in a GitOps context ... but I could be totally wrong ...

Is that the normal case?

@antaloala Yeah it's a normal case for me. I usually use Helm charts for external projects whose official charts are distributed, and either a kustomize project or a local helm chart for my own thing. Helmfile manages all of them by just specifying chart value to either directory or a repo/chartname string, and writing needs to make a dependency graph.

I like (a lot) many of the additional feature you added to Helmfile + helm-x plugin (as the JSONpatches or StrategicMergePatches you can apply to a helm chart without having to fork it, the possibility to template the values.yaml to apply to each release, etc.) and so I thought on getting all of them in the two main CNCF GitOps projects: ArgoCD and Flux v2.

AFAIK, ArgoCD's ConfigManagementPlugin allows you to still leverage Helmfile features like JSONOPatches and StrageticMergePatches. That's why I asked what else we might need.


Weird packaging pattern

suppose my group is com.kinggoesgaming and artifact is Test then the main class comes at com.kinggoesgaming.Test.Test. This is quiet unusual and does not follow convention...

invalid... was not on latest version


Add library

I'd like to add this library I created:

@amrabdelaziz: I'm closing this because you didn't provide a link. Feel free to re-open with a link provided.


make backend read/write concurrency limits configurable.

Add two new settings with their original defaults:

BackendDBReadConcurrency:  20
BackendDBWriteConcurrency: 20

These values may be fine for most people but under very high backend load may become a bottleneck. This patch makes them configurable.  Look at increasing them if discovery performance seems unstable and you know you have a large (> 1000?) number of nodes being monitored.
The previously defined constant (common for both cases) is buried in the code and this bottleneck is not very obvious.  While most people may not need to touch this some of us do. I made a similar patch a long time ago but merging with the upstream (outbrain) tree at some point left me with the original unconfigurable code and I did not notice.

[x] contributed code is using same conventions as original code
[x] code is formatted via gofmt (please avoid goimports)
[x] code is built via ./build.sh

I understand you are trying to remove these magic values and indeed I understand that. The problem seems to be that the only way to figure out what values to use requires making them configurable. For most people the default values you have used may be fine but given some performance Issues I've seen I'd like to make these settings configurable so I can identify the best values to use and should those settings require change I'll be able to modify them as needed.   If it's clear that any settings I use may be better than the default values provided in orchestrator then feedback will be provided suggesting a change to the defaults and the reason why that change may be good.


Does FlutterOSM supports vector base tiles  ?

As i can see FlutterOSM has custom tiler option
controller = MapController.customLayer(
      initPosition: GeoPoint(
        latitude: 47.4358055,
        longitude: 8.4737324,
      ),
      customTile: CustomTile(
        sourceName: "opentopomap",
        tileExtension: ".png",
        minZoomLevel: 2,
        maxZoomLevel: 19,
        urlsServers: [
         TileURLs(
            //"https://tile.opentopomap.org/{z}/{x}/{y}"
            url: "https://tile.opentopomap.org/",
            subdomains: [],
          )
        ],
        tileSize: 256,
      ),
    )

Cc : @miladebadi  @rockerer  @SimonPrins  @JobiJoba

not for now but im planning to add it

Wow! Vector tiles would be so cool! I am also highly interested. Also mbtiles.

i will start next week working on this topics

@liodali  How will the performance of Vector Tiles be ? i have seen a lot of people try and fail with it. Can they run from the current Flutter ui side without GPU support or will you call them natively ? This project seems insteresting, wondering how the performance will be like ? I am so proud of you! I have been with you since the early days and you are still providing so much help to the community.

as i tested on android the performance not bad
with vector tile we can do turnbyturn similar to google maps.
my only issue now its on ios side thats why i still didnt publish any version but i will do dev version for testing and see how things go with it

true your feedback helped us a lot really thank you we still need your feeback as well


badass SFX and VFX

Meso: Is make the custom vfx the gate lighting up, not the fleet. And sync that to the sound, and keep the vfx and sound for the fleet itself when it goes through mundane.

Done in 2.1.0