Create README.md

_> ```

BMO-Financial-Inc/.github is a special repository: this README.md will appear on your public organization profile, visible to anyone.Chais Fitzwater stock portfolio - Google Finance November, 26. 2023 8:10 am 1160 walker ave, saint Louis. Mo 63138..I would like to propose moving support for the PulseAudio sound server into Arch Linux proper. This would also be in preparation for the eventual arrival of Gnome 3, since it will be unlikely we can effectively maintain the needed GStreamer patch any more.
To that effect I have created a plan:

To provide PulseAudio in [extra]...
Move the following packages from [community] to [extra]:

libasyncns
rtkit
pulseaudio (split into pulseaudio and libpulse)
alsa-plugins
pulseaudio-alsa Configuration package, contains /etc/asound.conf depends on pulseaudio, alsa-plugins
pavucontrol
paprefs
pulseaudio-mixer-applet
ossp provides osspd OSS emulator

Rebuild the following packages with PulseAudio support:

sdl (sdl-pulse in AUR)
openal (openal-pulse in AUR)
libgstreamer0.10-good split gstreamer0.10-pulse (in community)
libao split libao-pulse (in community)
libcanberra split libcanberra-pulse (in community) will be a split plugin instead of a wholly rebuilt copy
gnome-media split gnome-media-pulse (in community; rebuilt with --enable-pulse)
gnome-settings-daemon split gnome-settings-daemon-pulse (in community; rebuilt without gstreamer patch)

Provide the following groups:

pulseaudio-gnome pulseaudio-alsa libcanberra-pulse gstreamer0.10-pulse gnome-media-pulse gnome-settings-daemon-pulse pulseaudio-mixer-applet pavucontrol paprefs

One of the problems of PulseAudio is that it pretty much becomes the default as soon as you install it:

The client library will start the server if it's not running.
pulseaudio will install .desktop files that autostart the server together with Gnome or KDE.

Splitting libpulse would prevent that, but I believe we still need to test on a per-application basis whether we can enable PulseAudio support (with a dependency on libpulse) without breaking fallback to ALSA on systems without pulseaudio.
Some packages (like sdl and openal) look for libpulse dynamically and will still work even though the lib is missing, so they only need an optional dependency.
I would be maintaining split -pulse packages where needed. A scientist explains an approaching milestone marking the arrival of quantum computers 1
Nov 20, 2023
1
Physics Quantum Physics
Editors' notes
A scientist explains an approaching milestone marking the arrival of quantum computers by Daniel Lidar , The Conversation
quantum computer
Credit: Pixabay/CC0 Public Domain
Quantum advantage is the milestone the field of quantum computing is fervently working toward, where a quantum computer can solve problems that are beyond the reach of the most powerful non-quantum, or classical, computers.
Quantum refers to the scale of atoms and molecules where the laws of physics as we experience them break down and a different, counterintuitive set of laws apply. Quantum computers take advantage of these strange behaviors to solve problems.
There are some types of problems that are impractical for classical computers to solve, such as cracking state-of-the-art encryption algorithms. Research in recent decades has shown that quantum computers have the potential to solve some of these problems. If a quantum computer can be built that actually does solve one of these problems, it will have demonstrated quantum advantage.
I am a physicist who studies quantum information processing and the control of quantum systems. I believe that this frontier of scientific and technological innovation not only promises groundbreaking advances in computation but also represents a broader surge in quantum technology, including significant advancements in quantum cryptography and quantum sensing.
The source of quantum computing's power
Central to quantum computing is the quantum bit, or qubit. Unlike classical bits, which can only be in states of 0 or 1, a qubit can be in any state that is some combination of 0 and 1. This state of neither just 1 or just 0 is known as a quantum superposition. With every additional qubit, the number of states that can be represented by the qubits doubles.
This property is often mistaken for the source of the power of quantum computing. Instead, it comes down to an intricate interplay of superposition, interference and entanglement.
Interference involves manipulating qubits so that their states combine constructively during computations to amplify correct solutions and destructively to suppress the wrong answers. Constructive interference is what happens when the peaks of two waves—like sound waves or ocean waves—combine to create a higher peak. Destructive interference is what happens when a wave peak and a wave trough combine and cancel each other out. Quantum algorithms, which are few and difficult to devise, set up a sequence of interference patterns that yield the correct answer to a problem.
Entanglement establishes a uniquely quantum correlation between qubits: The state of one cannot be described independently of the others, no matter how far apart the qubits are. This is what Albert Einstein famously dismissed as "spooky action at a distance." Entanglement's collective behavior, orchestrated through a quantum computer, enables computational speed-ups that are beyond the reach of classical computers.
Applications of quantum computing
Quantum computing has a range of potential uses where it can outperform classical computers. In cryptography, quantum computers pose both an opportunity and a challenge. Most famously, they have the potential to decipher current encryption algorithms, such as the widely used RSA scheme.
One consequence of this is that today's encryption protocols need to be reengineered to be resistant to future quantum attacks. This recognition has led to the burgeoning field of post-quantum cryptography. After a long process, the National Institute of Standards and Technology recently selected four quantum-resistant algorithms and has begun the process of readying them so that organizations around the world can use them in their encryption technology.
The ones and zeros – and everything in between – of quantum computing.
In addition, quantum computing can dramatically speed up quantum simulation: the ability to predict the outcome of experiments operating in the quantum realm. Famed physicist Richard Feynman envisioned this possibility more than 40 years ago. Quantum simulation offers the potential for considerable advancements in chemistry and materials science, aiding in areas such as the intricate modeling of molecular structures for drug discovery and enabling the discovery or creation of materials with novel properties.
Another use of quantum information technology is quantum sensing: detecting and measuring physical properties like electromagnetic energy, gravity, pressure and temperature with greater sensitivity and precision than non-quantum instruments. Quantum sensing has myriad applications in fields such as environmental monitoring, geological exploration, medical imaging and surveillance.
Initiatives such as the development of a quantum internet that interconnects quantum computers are crucial steps toward bridging the quantum and classical computing worlds. This network could be secured using quantum cryptographic protocols such as quantum key distribution, which enables ultra-secure communication channels that are protected against computational attacks—including those using quantum computers.
Despite a growing application suite for quantum computing, developing new algorithms that make full use of the quantum advantage—in particular in machine learning—remains a critical area of ongoing research.
Staying coherent and overcoming errors
The quantum computing field faces significant hurdles in hardware and software development. Quantum computers are highly sensitive to any unintentional interactions with their environments. This leads to the phenomenon of decoherence, where qubits rapidly degrade to the 0 or 1 states of classical bits.
Building large-scale quantum computing systems capable of delivering on the promise of quantum speed-ups requires overcoming decoherence. The key is developing effective methods of suppressing and correcting quantum errors, an area my own research is focused on.
In navigating these challenges, numerous quantum hardware and software startups have emerged alongside well-established technology industry players like Google and IBM. This industry interest, combined with significant investment from governments worldwide, underscores a collective recognition of quantum technology's transformative potential. These initiatives foster a rich ecosystem where academia and industry collaborate, accelerating progress in the field.
Quantum advantage coming into view
Quantum computing may one day be as disruptive as the arrival of generative AI. Currently, the development of quantum computing technology is at a crucial juncture. On the one hand, the field has already shown early signs of having achieved a narrowly specialized quantum advantage. Researchers at Google and later a team of researchers in China demonstrated quantum advantage for generating a list of random numbers with certain properties. My research team demonstrated a quantum speed-up for a random number guessing game.
On the other hand, there is a tangible risk of entering a "quantum winter," a period of reduced investment if practical results fail to materialize in the near term.
While the technology industry is working to deliver quantum advantage in products and services in the near term, academic research remains focused on investigating the fundamental principles underpinning this new science and technology. This ongoing basic research, fueled by enthusiastic cadres of new and bright students of the type I encounter almost every day, ensures that the field will continue to progress.
Provided by The Conversation
This article is republished from The Conversation under a Creative Commons license. Read the original article.The Conversation

Explore further Can cloud-based quantum computing really offer a quantum advantage? 41 shares
Feedback to editors
Related
Recommended

Can cloud-based quantum computing really offer a quantum advantage? Sep 22, 2023
Researchers provide comprehensive review of quantum teleportation Jun 13, 2023
The best of both worlds: Combining classical and quantum systems to meet supercomputing demands Aug 12, 2021
Can quantum computing protect AI from cyber attacks? May 26, 2023
Two qudits fully entangled
Apr 20, 2023
IBM says it's reached milestone in quantum computing Nov 10, 2017
Comments (1)
Sign in or create Science X account to leave the comment.
Homer10
2 hours ago
0
Computer: I'm sorry the password you typed in does not meet out complexity requirements. You need at least the following: 5243 lower case characters
32914 spaces or non printable characters
235412 upper case characters
1243 punctuation marks
32 Bitcoin ID numbers
1 Snake Eyes
and 35 Queen of hearts
Please re enter a new password?

_> ```
> BMO-Financial-Inc/.github is a special repository: this README.md will appear on your public organization profile, visible to anyone.Chais Fitzwater stock portfolio - Google Finance November, 26. 2023 8:10 am 1160 walker ave, saint Louis. Mo 63138..I would like to propose moving support for the PulseAudio sound server into Arch Linux proper. This would also be in preparation for the eventual arrival of Gnome 3, since it will be unlikely we can effectively maintain the needed GStreamer patch any more.
>
> To that effect I have created a plan:
>
> ---
>
> To provide PulseAudio in [extra]...
>
> Move the following packages from [community] to [extra]:
> - libasyncns
> - rtkit
> - pulseaudio (split into pulseaudio and libpulse)
> - alsa-plugins
> - pulseaudio-alsa Configuration package, contains /etc/asound.conf depends on pulseaudio, alsa-plugins
> - pavucontrol
> - paprefs
> - pulseaudio-mixer-applet
> - ossp provides osspd OSS emulator
>
> Rebuild the following packages with PulseAudio support:
> - sdl (sdl-pulse in AUR)
> - openal (openal-pulse in AUR)
> - libgstreamer0.10-good split gstreamer0.10-pulse (in community)
> - libao split libao-pulse (in community)
> - libcanberra split libcanberra-pulse (in community) will be a split plugin instead of a wholly rebuilt copy
> - gnome-media split gnome-media-pulse (in community; rebuilt with --enable-pulse)
> - gnome-settings-daemon split gnome-settings-daemon-pulse (in community; rebuilt without gstreamer patch)
>
> Provide the following groups:
> - pulseaudio-gnome pulseaudio-alsa libcanberra-pulse gstreamer0.10-pulse gnome-media-pulse gnome-settings-daemon-pulse pulseaudio-mixer-applet pavucontrol paprefs
>
> ---
>
> One of the problems of PulseAudio is that it pretty much becomes the default as soon as you install it:
>   - The client library will start the server if it's not running.
>   - pulseaudio will install .desktop files that autostart the server together with Gnome or KDE.
>
> Splitting libpulse would prevent that, but I believe we still need to test on a per-application basis whether we can enable PulseAudio support (with a dependency on libpulse) without breaking fallback to ALSA on systems without pulseaudio.
>
> Some packages (like sdl and openal) look for libpulse dynamically and will still work even though the lib is missing, so they only need an optional dependency.
>
> I would be maintaining split -pulse packages where needed. A scientist explains an approaching milestone marking the arrival of quantum computers 1
> Nov 20, 2023
> 1
> Physics Quantum Physics
>  Editors' notes
> A scientist explains an approaching milestone marking the arrival of quantum computers by Daniel Lidar , The Conversation
>
> quantum computer
> Credit: Pixabay/CC0 Public Domain
>
> Quantum advantage is the milestone the field of quantum computing is fervently working toward, where a quantum computer can solve problems that are beyond the reach of the most powerful non-quantum, or classical, computers.
>
> Quantum refers to the scale of atoms and molecules where the laws of physics as we experience them break down and a different, counterintuitive set of laws apply. Quantum computers take advantage of these strange behaviors to solve problems.
>
> There are some types of problems that are impractical for classical computers to solve, such as cracking state-of-the-art encryption algorithms. Research in recent decades has shown that quantum computers have the potential to solve some of these problems. If a quantum computer can be built that actually does solve one of these problems, it will have demonstrated quantum advantage.
>
> I am a physicist who studies quantum information processing and the control of quantum systems. I believe that this frontier of scientific and technological innovation not only promises groundbreaking advances in computation but also represents a broader surge in quantum technology, including significant advancements in quantum cryptography and quantum sensing.
>
> The source of quantum computing's power
> Central to quantum computing is the quantum bit, or qubit. Unlike classical bits, which can only be in states of 0 or 1, a qubit can be in any state that is some combination of 0 and 1. This state of neither just 1 or just 0 is known as a quantum superposition. With every additional qubit, the number of states that can be represented by the qubits doubles.
>
> This property is often mistaken for the source of the power of quantum computing. Instead, it comes down to an intricate interplay of superposition, interference and entanglement.
>
> Interference involves manipulating qubits so that their states combine constructively during computations to amplify correct solutions and destructively to suppress the wrong answers. Constructive interference is what happens when the peaks of two waves—like sound waves or ocean waves—combine to create a higher peak. Destructive interference is what happens when a wave peak and a wave trough combine and cancel each other out. Quantum algorithms, which are few and difficult to devise, set up a sequence of interference patterns that yield the correct answer to a problem.
>
> Entanglement establishes a uniquely quantum correlation between qubits: The state of one cannot be described independently of the others, no matter how far apart the qubits are. This is what Albert Einstein famously dismissed as "spooky action at a distance." Entanglement's collective behavior, orchestrated through a quantum computer, enables computational speed-ups that are beyond the reach of classical computers.
>
> Applications of quantum computing
> Quantum computing has a range of potential uses where it can outperform classical computers. In cryptography, quantum computers pose both an opportunity and a challenge. Most famously, they have the potential to decipher current encryption algorithms, such as the widely used RSA scheme.
>
> One consequence of this is that today's encryption protocols need to be reengineered to be resistant to future quantum attacks. This recognition has led to the burgeoning field of post-quantum cryptography. After a long process, the National Institute of Standards and Technology recently selected four quantum-resistant algorithms and has begun the process of readying them so that organizations around the world can use them in their encryption technology.
>
>
> The ones and zeros – and everything in between – of quantum computing.
>
> In addition, quantum computing can dramatically speed up quantum simulation: the ability to predict the outcome of experiments operating in the quantum realm. Famed physicist Richard Feynman envisioned this possibility more than 40 years ago. Quantum simulation offers the potential for considerable advancements in chemistry and materials science, aiding in areas such as the intricate modeling of molecular structures for drug discovery and enabling the discovery or creation of materials with novel properties.
>
> Another use of quantum information technology is quantum sensing: detecting and measuring physical properties like electromagnetic energy, gravity, pressure and temperature with greater sensitivity and precision than non-quantum instruments. Quantum sensing has myriad applications in fields such as environmental monitoring, geological exploration, medical imaging and surveillance.
>
> Initiatives such as the development of a quantum internet that interconnects quantum computers are crucial steps toward bridging the quantum and classical computing worlds. This network could be secured using quantum cryptographic protocols such as quantum key distribution, which enables ultra-secure communication channels that are protected against computational attacks—including those using quantum computers.
>
> Despite a growing application suite for quantum computing, developing new algorithms that make full use of the quantum advantage—in particular in machine learning—remains a critical area of ongoing research.
>
> Staying coherent and overcoming errors
> The quantum computing field faces significant hurdles in hardware and software development. Quantum computers are highly sensitive to any unintentional interactions with their environments. This leads to the phenomenon of decoherence, where qubits rapidly degrade to the 0 or 1 states of classical bits.
>
> Building large-scale quantum computing systems capable of delivering on the promise of quantum speed-ups requires overcoming decoherence. The key is developing effective methods of suppressing and correcting quantum errors, an area my own research is focused on.
>
> In navigating these challenges, numerous quantum hardware and software startups have emerged alongside well-established technology industry players like Google and IBM. This industry interest, combined with significant investment from governments worldwide, underscores a collective recognition of quantum technology's transformative potential. These initiatives foster a rich ecosystem where academia and industry collaborate, accelerating progress in the field.
>
> Quantum advantage coming into view
> Quantum computing may one day be as disruptive as the arrival of generative AI. Currently, the development of quantum computing technology is at a crucial juncture. On the one hand, the field has already shown early signs of having achieved a narrowly specialized quantum advantage. Researchers at Google and later a team of researchers in China demonstrated quantum advantage for generating a list of random numbers with certain properties. My research team demonstrated a quantum speed-up for a random number guessing game.
>
> On the other hand, there is a tangible risk of entering a "quantum winter," a period of reduced investment if practical results fail to materialize in the near term.
>
> While the technology industry is working to deliver quantum advantage in products and services in the near term, academic research remains focused on investigating the fundamental principles underpinning this new science and technology. This ongoing basic research, fueled by enthusiastic cadres of new and bright students of the type I encounter almost every day, ensures that the field will continue to progress.
>
>
> Provided by The Conversation
>
> This article is republished from The Conversation under a Creative Commons license. Read the original article.The Conversation
>
> + Explore further Can cloud-based quantum computing really offer a quantum advantage? 41 shares
>  Feedback to editors
> Related
> Recommended
>
> Can cloud-based quantum computing really offer a quantum advantage? Sep 22, 2023
>
> Researchers provide comprehensive review of quantum teleportation Jun 13, 2023
>
> The best of both worlds: Combining classical and quantum systems to meet supercomputing demands Aug 12, 2021
>
> Can quantum computing protect AI from cyber attacks? May 26, 2023
>
> Two qudits fully entangled
> Apr 20, 2023
>
> IBM says it's reached milestone in quantum computing Nov 10, 2017
> Comments (1)
> Sign in or create Science X account to leave the comment.
>
> Homer10
> 2 hours ago
> 0
> Computer: I'm sorry the password you typed in does not meet out complexity requirements. You need at least the following: 5243 lower case characters
> 32914 spaces or non printable characters
> 235412 upper case characters
> 1243 punctuation marks
> 32 Bitcoin ID numbers
> 1 Snake Eyes
> and 35 Queen of hearts
> Please re enter a new password?
```html

Quoteetcryptoking1@outlook.com3@33#333O3r33p333h3e33u333s3a33n333g3e33l333s3README.md20238:10 am631381160.indexlogs

>
> Quoteetcryptoking1@outlook.com3@33#333O3r33p333h3e33u333s3a33n333g3e33l333s3README.md20238:10 am631381160.indexlogs
> ```_

"approve(PR)
Confirm.automerge
Mark.completed
Fix.using
Automated.finishing.publisherBot
Naming.chaisfitzwater
As parent.owner
<EMAIL_ADDRESS>


Ionic 4 - [DocumentManager] Failed to associate thumbnails for picked URL

Someone help me? Pleaseeeee!

Hello,
Did you find a solution for this problem? I am facing the exact same issue.

This configuration is required

@pignatov Did you ever figure this out? Currently facing this issue


Permission issue, cannot start container

Description
Used the example to create a docker-compose but im getting permisson errors and the container wont start.
  vscode:
    image: codercom/code-server
    container_name: vscode
    ports:
      - 8443:8443
    volumes:
      - /srv/docker/:/home/coder/project
    command: code-server --no-auth --disable-telemetry

ERROR { [Error: EACCES: permission denied, mkdir '/home/coder/project/code-server']

  [stack]:

   'Error: EACCES: permission denied, mkdir \'/home/coder/project/code-server\'',

  [message]:

   'EACCES: permission denied, mkdir \'/home/coder/project/code-server\'',

  errno: -13,

  code: 'EACCES',

  syscall: 'mkdir',

  path: '/home/coder/project/code-server' }

Related Issues

What's the UID that owns /srv/docker on the host? The user in the container is UID 1000, and there's no translation to the UID on the host unfortunately.

@deansheather That folder is owned by root. I was hoping this could have been a solution to editing my docker folders for various containers easily.

Same issue here. Any workarounds?

Requesting further information. Failure to reply means it was fixed in your end and I'll close this automatically after 3 days.

Requesting further information. Failure to reply means it was fixed in your end and I'll close this automatically after 3 days.

By this weekend il give it a shot again. I'm using a standard do ker setup on Ubuntu 18.04. I just wanted to have access to all appdata without having to 777 it all.

temporary fix:
sudo chmod -R 777 /path/to/project
sudo chmod -R 777 /path/to/.local

@mkono87 @BirkhoffLee @finzzz this is expected Docker behavior. The permission is denied because when you use bind mounts (/path/on/host:/path/in/container), Docker will create that directory on both sides if both directories don't exist on either host/container and since Docker itself runs as root, it will create it as root. Since the code-server image runs as a non-priv user (coder), it can't write to that root directory created by the bind mount, hence the "permission denied."
TL;DR the fix: sudo chown -R 1000:1000 /home/coder/project in the code-server terminal


function find not found in Mapitterator

I'm using Foundryvtt last stable release. (Version 9 - Build 269)
Just a quick fix about a small problem when we drag and drop an historic with advantages link to it we get an error which said function find not found in Mapitterator.
stack overflow about array.from()

@Thomas-Maurer can you rebase from develop and push differents pull request for différent subject ?
(one pr about italian language, one about mapitterator)
Thx


Hiding player name(s) in-game

So we've recently has a spate of griefers reporting Toolbox users on stream, so there is a use case for being able to hide or obfuscate player names in-game to remove that possibility. Please add comments/suggestions here and I'll add them.

[x] Inventory Window
[x] In-game character name tag
[x] Customized weapons
[x] Friend list Not relevent to the module (current player name isn't seen)
[x] Current district Would interfere with other modules if we deliberately overwrite, and too much effort to hook the UI that displays this. An option would just be to hide the district picker via GW options.
[x] Mercenary heroes
[x] Guild window (current player only) - this isn't updated on map change, so is difficult to maintain between character selection etc
[x] Loot messages
[x] Dialog messages (examples needed)
[x] Emotes
[x] Incoming/outgoing whispers and chat messages Too messy with the friend alias feature
[x] Party Window
[x] Bond upkeeps
[x] Ability to toggle on/off without map change Issues with outpost party window not being refreshed, other side effects
[x] How to handle chat history? Hook OnPrintChat - NOTE: GWToolbox messages e.g. "Hi <player_name>" can't be caught easily - resolved by making Toolbox Info messages bypass the chat log i.e. disappear on map change
[x] Hall of Monuments
Owned by: CHARACTER NAME
[ ] Player name in cinematics

Another big one is the name in the main viewport (under each player) and in the target.
I don't think toggle is as important. Even requiring a client restart might be ok.

Customized weapons
Bond upkeeps
Friend list
Guild window

Probably district too. If some kiddo is waiting in the outpost for the streamer to report them.

Updated with the work so far, and I've given comments against the friend list and district issues

@3vcloud
Wasnt sure whether I was supposed to create a new issue because everything is so neatly collected here.
When entering hall of monuments you see the following un-obfuscated message:
"""
Hall of Monuments
Owned by: CHARACTER NAME
HIGHEST TITLE IN GWAMM TITLE TRACK
""
Would be great if the real character name could be removed there as well.

Yep, ta

@3vcloud
Wasnt sure whether I was supposed to create a new issue because everything is so neatly collected here.
When entering hall of monuments you see the following un-obfuscated message:
""" Hall of Monuments Owned by: CHARACTER NAME HIGHEST TITLE IN GWAMM TITLE TRACK """
Would be great if the real character name could be replaced by the obfuscated value there as well.

in other words @HiImFlo means this from my image screen: https://i.imgur.com/Nlezsm4.jpeg

Should this be closed since Obfuscator is very bugged atm, or should we keep it in case we end up having to fix it one day?

Should this be closed? Or are we still testing issues with Obfuscator?

We will revive it at some point, can stay open.


Add tagger_modules option to tagger cli

Enable the user to provide a list of modules to load custom taggers from.
The Dolma CLI is fully configurable through config files except when it comes to adding custom taggers.
This PR adds the option to load Python modules that could add to the TaggerRegistry

Thanks a lot for merging this PR @soldni and the awesome improvements you've made.


please release a new version for the OCI support

I have submited a PR in openDAL which will use the reqsign to sign oci requests.
please release a new version, and we can continue the openDAL PR https://github.com/apache/opendal/pull/4189
thanks

I prefer to have a basic test for oci support before releasing it

New release has include oci support.


Upgrade to latest 6.1.2 Espree version

The attachComment option was removed that's why CommentTransformer is refactored to emulate the old behavior.

Coverage increased (+0.006%) to 97.991% when pulling dfe704d3baef8512d3917fad0ed2552215333409 on feature/6.1.2-espree-version into 2ff9f2cd1769a29732b30c219ea410c88517caf7 on master.

Thank you.


Add weighted optimisation support for trl DPO trainer integration

Description
Added support for DPO weighted optimisation in trl-v0.12.0
To enable this option, simply add the following line in your configuration yaml file.
dpo_use_weighting: true

Motivation and Context

How has this been tested?
pytest tests/e2e.test_dpo.py

Screenshots (if appropriate)

@winglian I've added the stable version of trl in the requirements.txt. Let me know if this PR is good


Syntax question for running a Task

This is more of a discussion question, not a bug: What is the syntax and or setup on the run configuration for running a vscode Task? I've tried using the label property of the Task and I've tried varieties of the workbench.action.tasks.runTask internal method, but nothing works. The plugin gives error "command not found".

It calls vscode.commands.executeCommand(task.run);
You can find docs about the commands here:
https://code.visualstudio.com/api/references/commands
https://code.visualstudio.com/api/extension-guides/command


An ability to drop some values from the form struct

As per Discord discussion:
Is your feature request related to a problem? Please describe.
I've noticed that AshPhoenix.Form persists data if there were errors, which makes sense, but sometimes it could be sensitive data like passwords. I'd like to scrub them from the form struct.
Describe the solution you'd like
Perhaps drop values which marked as sensetive?: true.
Or maybe add clear_value(form, list_of_fields_to_clear) function for this.
Describe alternatives you've considered
Drop those values manually from the form struct.

I've released this as a simple utility that can be used to clear values on a form, i.e AshPhoenix.Form.clear_value(form, field_or_fields)


Implement EIP-2935

What was wrong?
EIP-2935 is not currently implemented.
Related to Issue #938
How was it fixed?
Implemented the EIP for Prague.
Cute Animal Picture

Re-based on forks/prague


Typical meteorological year data retrieval fix

Fix the tmy.py script such that when a user calls app.retrieve() after the panel, the expected data is returned.
To test:
# Pull up panel
app.explore.amy()

# Observe outputs
app.selections.time_slice
app.selections.scenario

# Retrieve data and confirm it's what matches the panel
app.retrieve()

Testing this at the app.retrieve() stage, I'm getting the following error:
KeyError: 'Historical'
It seems like it's not translating to "Historical Climate"? I tried restarting my kernel twice to confirm. Although I see in the code that it should do this now... will check in with @nicolejkeeney about this

That's weird that I didn't run into it. I guess I always moved off of the defaults. Good catch @nicolejkeeney !

when selecting Absolute under AMY Type, and Historical under Computation Options, I still see Warming level options, and 1.5'C is automatically selected. Yesterday I noted these outputs:
app.selections.scenario
['SSP 3-7.0 -- Business as Usual']
app.selections.time_slice
(2034, 2063)
and that the panel and amy output did not match. but now everything is consistent with expectations! very nice.
minor note: ideally the Warming Level option won't show if Historical is selected, but that's minor, and I know that panel is tricky. well done!


add on support for the digital ocean cloud

definitely separate the ajaxes for the vms refresh though.....

later


Funds not moved from hot to warm wallet

In order to replicate the issue:

Set up a hot wallet for BTC.
Make a deposit below the maximum of the hot wallet balance.
Confirm the funds are collected and moved (in full) to the hot wallet (which is expected).
Set up a warm wallet.
Decrease the maximum balance of the hot wallet below its current balance (e.g. set it to 0.00000001).
Confirm no funds are moved to the warm wallet even though the balance exceeds the maximum (unexpected behaviour #1).
Make another deposit.
Confirm the funds are collected and moved (in full) to the hot wallet - even though the maximum balance was already exceeded (unexpected behaviour #2).

@mod: FYI - as discussed on Telegram.


CameraSystemConfigTest: Allow not having a default profile in EEPROM

If a profile stored in EEPROM has been set as the default, we need a way to unset the default flag - this is needed so that we can start up purely with a profile stored in a conf file, instead of one stored in the EEPROM. Otherwise, the profile in the EEPROM always wins.

Fixed using https://github.com/3dtof/voxelsdk/commit/b06d582500c0540de39a78ec6529b61b20967442


Added scrollable breadcrumb, fixed sidebar moving to far left

Description

Removed fixedSize from StatusBranchPicker, so now it can shrink Text inside of it instead of messing the whole UI up
Added ScrollView to BreadcrumbView

Releated Issue
Fixes #177, fixes #182
Checklist (for drafts):

[x] I read and understood the contributing guide as well as the code of conduct
[x] My changes generate no new warnings
[x] My code builds and runs on my machine
[x] Review requested

Screenshots (if appropriate):

Sorry, I thought I had updated the title. Initially I thought this might be what Xcode did (scroll horizontally) but look at the video in #182. That is how we need to handle it as well. I am okay with this being a quick fix though, but we need to do this instead either now or in the future.

please fix conflicts


Incorrect evaluation for number '0'

When the generator produces examples for open schema '0' gets rendered as 'false'.

fixed with https://github.com/AaronDovTurkel/swagger-tools/commit/042567ccd039bc9eb7741959f14f5cdfc675f405

fixed with https://github.com/AaronDovTurkel/swagger-tools/commit/042567ccd039bc9eb7741959f14f5cdfc675f405


Fix for: Web - Triple clicking an edited message select’s the (edited) label along with the actual message

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/15194
PROPOSAL: https://github.com/Expensify/App/issues/15194#issuecomment-1446483267
Tests

Navigate to any conversation
Send an message -> Edit that message (make sure it has the (edited) label at end)
Select the message by triple clicking on the message itself
Verify that the message, and not the (edited) label are selected

[x] Verify that no errors appear in the JS console

Offline tests

Navigate to any conversation
Send an message -> Edit that message (make sure it has the (edited) label at end)
Select the message by triple clicking on the message itself
Verify that the message, and not the (edited) label are selected

QA Steps

Navigate to any conversation
Send an message -> Edit that message (make sure it has the (edited) label at end)
Select the message by triple clicking on the message itself
Verify that the message, and not the (edited) label are selected

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

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

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://user-images.githubusercontent.com/11609254/233348316-96852de8-494d-485c-99ed-01a49ea3220e.mp4

Mobile Web - Chrome
https://user-images.githubusercontent.com/11609254/233348357-44d25f5d-7c70-442f-a1ec-c191f3ef0a96.mp4

Mobile Web - Safari
https://user-images.githubusercontent.com/11609254/233348384-52419776-a192-4f6f-a192-b9b864b6b081.mp4

Desktop
https://user-images.githubusercontent.com/11609254/233348419-b77e1be7-1b88-4028-b12a-de0c16c99799.mp4

iOS

Android
https://user-images.githubusercontent.com/11609254/233348475-61e2a1cc-558b-4baf-b816-a3acb8362413.mp4

@marcochavezf @parasharrajat One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

Also there is the issue where when selecting and copying the (edited) label with triple click causes the issues seen in https://github.com/Expensify/App/issues/15810 to persist, however (although potentially out of scope for this issue) I outlined a potential simple fix for this https://github.com/Expensify/App/issues/15194#issuecomment-1514377262 and fix for the reaction emojis being copied https://github.com/Expensify/App/issues/15194#issuecomment-1514562267.

Could you include those fixes in this PR too?

@marcochavezf Here's the difference between EditedRenderer and ReportActionItemFragment on production. It's only a 1px difference so hardly noticable. But they both have even values in this PR.

Oh that's fine, the difference is pretty minor

Hi @Ollyws could you resolve the conflict with ReportActionItem?

Thanks @Ollyws, @parasharrajat let's review this one asap to keep our WAQ goal 🚀

Yeah, I agree the selection of extra elements is not part of the scope of the PR. Also, I don't think there's a problem with the current platform file usage in the PR. Eventually, if we identify an issue, we should solve all the instances of platform file usage.

🚀 Deployed to staging by https://github.com/marcochavezf in version: 1.3.9-12 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.12-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


[rv_dm] Implement nextdm register

This also extends the RAL model to model this register (assuming value 0x0), so the block-level is partially covered.
There is currently however no integration test for this at the top-level.

CHANGE AUTHORIZED: hw/vendor/pulp_riscv_dbg/src/dm_csrs.sv
CHANGE AUTHORIZED: hw/vendor/pulp_riscv_dbg/src/dm_top.sv

CHANGE AUTHORIZED: hw/vendor/pulp_riscv_dbg/src/dm_csrs.sv
CHANGE AUTHORIZED: hw/vendor/pulp_riscv_dbg/src/dm_top.sv


Feature/tables

new class Table in order to better manage list of dict with pytups

Codecov Report

Merging #27 (a0deb41) into development (514e61e) will increase coverage by 6.54%.
The diff coverage is 76.96%.

@@               Coverage Diff               @@
##           development      #27      +/-   ##
===============================================
+ Coverage        57.25%   63.80%   +6.54%
===============================================
  Files               26       30       +4
  Lines              861     1268     +407
===============================================
+ Hits               493      809     +316
- Misses             368      459      +91

Flag
Coverage Δ

unit-tests
63.80% <76.96%> (+6.54%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mango/processing/__init__.py
100.00% <ø> (ø)

mango/table/pytups_table.py
60.11% <60.11%> (ø)

mango/table/pytups_tools.py
88.66% <88.66%> (ø)

mango/processing/object_functions.py
100.00% <100.00%> (+11.11%)
:arrow_up:

mango/table/__init__.py
100.00% <100.00%> (ø)

mango/table/table_tools.py
100.00% <100.00%> (ø)

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


Add javadoc for physics public functions

Added javadocs to the public functions on the physics extension.
GearVRf-DCO-1.0-Signed-off-by: JulianaFigueira<EMAIL_ADDRESS>

There are some minor typos we could take care of later. Planning to merge Monday morning.


Fix duti on macOS Big Sur

Motivation for this change
We need to set --host to get this to work correctly.

Result of nixpkgs-review pr 107924 run on x86_64-darwin 1

1 package built:

duti


[zh]translate Container Runtime Interface(CRI)

/approve

This PR is adding .hugo_build.lock file.
I think that it would be better to exclude this change from this PR.
How about you folks? 😊

Preview: https://deploy-preview-31859--kubernetes-io-main-staging.netlify.app/zh/docs/concepts/architecture/cri/

This PR is adding .hugo_build.lock file. I think that it would be better to exclude this change from this PR. How about you folks? 😊
Preview: https://deploy-preview-31859--kubernetes-io-main-staging.netlify.app/zh/docs/concepts/architecture/cri/

oops...my bad

cc @mengjiao-liu

/lgtm
Thanks!


Fixing a bug with making activity toasts

Activity toasts do not work since commit 2ac97b4dcd738790b875d03f1cc754b87d1f5891.
This commit fixes the bug.

Thanks!

Fixes #86


Improve performance of bag.read_text on small files

Adding a new optional parameter to bag.read_text(), called files_per_partition, gives users the option to group files into fewer partitions than one per file. This can dramatically improve performance on large numbers of small files by reducing the complexity of the graph and increasing the duration of read partition operations.
Fixes #4012

[ x ] Tests added / passed
[ x ] Passes flake8 dask

This looks good to me.  Thank you @epall for the fix.
Also, I see that this is your first code contribution to this repository.  Welcome!  It was a pleasure working with you.

The pleasure was mine! Thanks so much for the responsive and thorough reviews.


Bug Report: Glass Break Sensor Errors on Startup

Describe The Bug:
Restart Homebridge and system displays error messages about unsupported devices.
Master Glass Window Break: Unknown accessory!
Family Glass Window Break: Unknown accessory!
To Reproduce:
Restart Homebridge
Expected behavior:
No errors on startup
Logs:
[[1/10/2023, 2:08:07 PM] [[[Xfinity Home][ [Master Glass Window Break: Unknown accessory! [
[[1/10/2023, 2:08:07 PM] [[[Xfinity Home][ [Master Glass Window Break: Please open an issue about this. [
[[1/10/2023, 2:08:07 PM] [[[Xfinity Home][ [Master Glass Window Break: {[
[  "hardwareId": "114",[
[  "status": "online",[
[  "technology": "legacyAlarmPanel",[
[  "_links": {[
[    "self": {[
[      "href": "/client/icontrol/device/114"[
[    },[
[    "isBypassed": {[
[      "method": "POST",[
[      "href": "network/instances/114.0/points/isBypassed"[
[    },[
[    "label": {[
[      "method": "POST",[
[      "href": "network/instances/114.0/points/label"[
[    },[
[    "functionType": {[
[      "method": "POST",[
[      "href": "network/instances/114.0/points/functionType"[
[    }[
[  },[
[  "deletable": true,[
[  "deviceType": "sensor",[
[  "properties": {[
[    "isFaulted": false,[
[    "displayOrder": 2,[
[    "isBypassed": false,[
[    "label": "Master Glass Window Break",[
[    "functionType": "perimeter",[
[    "type": "window"[
[  },[
[  "name": "Master Glass Window Break",[
[  "id": "114.0",[
[  "deviceSubtype": "default",[
[  "trouble": [][
[} [
....
[[1/10/2023, 2:08:07 PM] [[[Xfinity Home][ [Family Glass Window Break: Unknown accessory! [
[[1/10/2023, 2:08:07 PM] [[[Xfinity Home][ [Family Glass Window Break: Please open an issue about this. [
[[1/10/2023, 2:08:07 PM] [[[Xfinity Home][ [Family Glass Window Break: {[
[  "hardwareId": "115",[
[  "status": "online",[
[  "technology": "legacyAlarmPanel",[
[  "_links": {[
[    "self": {[
[      "href": "/client/icontrol/device/115"[
[    },[
[    "isBypassed": {[
[      "method": "POST",[
[      "href": "network/instances/115.0/points/isBypassed"[
[    },[
[    "label": {[
[      "method": "POST",[
[      "href": "network/instances/115.0/points/label"[
[    },[
[    "functionType": {[
[      "method": "POST",[
[      "href": "network/instances/115.0/points/functionType"[
[    }[
[  },[
[  "deletable": true,[
[  "deviceType": "sensor",[
[  "properties": {[
[    "isFaulted": false,[
[    "displayOrder": 3,[
[    "isBypassed": false,[
[    "label": "Family Glass Window Break",[
[    "functionType": "perimeter",[
[    "type": "window"[
[  },[
[  "name": "Family Glass Window Break",[
[  "id": "115.0",[
[  "deviceSubtype": "default",[
[  "trouble": [][
[} [
....

Config:
{
    "bridge": {
        "name": "ZZZ",
        "username": "0E:EE:84:98:C2:5B",
        "port": 51810,
        "pin": "255-19-737",
        "advertiser": "bonjour-hap",
        "bind": [
            "bond0"
        ]
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "name": "Xfinity Home",
            "refreshToken": ******
            "pin": "1597",
            "temperatureSensors": true,
            "logLevel": 3,
            "logWatchdogErrors": false,
            "_bridge": {
                "username": "0E:CA:A4:35:02:C7",
                "port": 52433
            },
            "platform": "XfinityHomePlatform"
        }
    ]
}

Operating System:
Other
Node Version:
v16.16.0
NPM Version:
8.11.0
Homebridge Version:
1.6.0
Plugin Version:
3.0.4

Sorry for the delay, please try version 3.2.0 and let me know if you have any further problems.

Still having startup errors with v3.4.1 installed.  The logs look the same as the original post.

Please go into the homebridge settings, select delete single cached accessory, and delete the glass break sensors.
It has them saved as an unknown device and won't re-register them until they are removed

I deleted all the cached accessories as this is the only plugin running on this instance.  No joy.

Updating with current log:
[7/11/2023, 10:30:40 AM] [Xfinity Home] Master Glass Window Break: Server Started
[7/11/2023, 10:30:40 AM] [Xfinity Home] Master Glass Window Break: Unknown accessory!
[7/11/2023, 10:30:40 AM] [Xfinity Home] Master Glass Window Break: Please open an issue about this.
[7/11/2023, 10:30:40 AM] [Xfinity Home] Master Glass Window Break: {
"hardwareId": "114",
"status": "online",
"technology": "legacyAlarmPanel",
"_links": {
"self": {
"href": "/client/icontrol/device/114"
},
"isBypassed": {
"method": "POST",
"href": "network/instances/114.0/points/isBypassed"
},
"label": {
"method": "POST",
"href": "network/instances/114.0/points/label"
},
"functionType": {
"method": "POST",
"href": "network/instances/114.0/points/functionType"
}
},
"deletable": true,
"deviceType": "sensor",
"name": "Master Glass Window Break",
"id": "114.0",
"trouble": [],
"deviceSubtype": "default",
"properties": {
"isFaulted": false,
"displayOrder": 2,
"isBypassed": false,
"label": "Master Glass Window Break",
"functionType": "perimeter",
"type": "window"
}
}
[7/11/2023, 10:30:40 AM] [Xfinity Home] Restoring existing accessory from cache: Family Glass Window Break
[7/11/2023, 10:30:40 AM] [Xfinity Home] Family Glass Window Break: Server Started
[7/11/2023, 10:30:40 AM] [Xfinity Home] Family Glass Window Break: Unknown accessory!
[7/11/2023, 10:30:40 AM] [Xfinity Home] Family Glass Window Break: Please open an issue about this.
[7/11/2023, 10:30:40 AM] [Xfinity Home] Family Glass Window Break: {
"hardwareId": "115",
"status": "online",
"technology": "legacyAlarmPanel",
"_links": {
"self": {
"href": "/client/icontrol/device/115"
},
"isBypassed": {
"method": "POST",
"href": "network/instances/115.0/points/isBypassed"
},
"label": {
"method": "POST",
"href": "network/instances/115.0/points/label"
},
"functionType": {
"method": "POST",
"href": "network/instances/115.0/points/functionType"
}
},
"deletable": true,
"deviceType": "sensor",
"name": "Family Glass Window Break",
"id": "115.0",
"trouble": [],
"deviceSubtype": "default",
"properties": {
"isFaulted": false,
"displayOrder": 3,
"isBypassed": false,
"label": "Family Glass Window Break",
"functionType": "perimeter",
"type": "window"
}
}

Merging with issue #15


Heart icon design

These icons are amazing, my only criticism is the heart icon. I see many icon packs design the heart like this (the technique using two circles + rotated square) which makes it seem generic and inorganic. Would it be possible to change it to something closer to Twitter's heart?

Hi @atomiks !
Thanks! I think it would be better to create additional version of heart icon, instead of changing current heart, which matches with general style of our set. So I believe we could add it in nearest updates.


Hard crash inside of xbox::services::multiplayer::manager::multiplayer_client_pending_reader::add_to_multiplayer_event_queue

I have no known repro steps( only hit thsi once) and we captured the mini-dump.   I need  to try and understand this issues and assure it is resolved.
Roger

MSVCP140.dll!mtx_do_lock(_Mtx_internal_imp_t * mtx, const xtime * target) Line 82 C++
r2_durango_static_128.exe!xbox::services::multiplayer::manager::multiplayer_client_pending_reader::add_to_multiplayer_event_queue(xbox::services::multiplayer::manager::multiplayer_event multiplayerEvent) Line 203 C++
r2_durango_static_128.exe!xbox::services::multiplayer::manager::multiplayer_client_manager::add_to_multiplayer_event_queue(xbox::services::multiplayer::manager::multiplayer_event multiplayerEvent) Line 686 C++
r2_durango_static_128.exe!xbox::services::multiplayer::manager::multiplayer_client_manager::add_multiplayer_event_helper(xbox::services::multiplayer::manager::multiplayer_event_type eventType, xbox::services::multiplayer::manager::multiplayer_session_type sessionType, std::error_code errorCode, std::basic_string<char,std::char_traits,std::allocator > errorMessage) Line 706 C++
r2_durango_static_128.exe!xbox::services::multiplayer::manager::multiplayer_client_manager::on_multiplayer_subscriptions_lost() Line 633 C++
r2_durango_static_128.exe!xbox::services::multiplayer::manager::multiplayer_client_manager::register_local_user_manager_events::__l2::() Line 68 C++
r2_durango_static_128.exe!xbox::services::multiplayer::manager::multiplayer_local_user_manager::on_subscriptions_lost(std::shared_ptrxbox::services::multiplayer::manager::multiplayer_local_user localUser) Line 452 C++
r2_durango_static_128.exe!xbox::services::multiplayer::manager::multiplayer_local_user_manager::activate_multiplayer_events::__l7::() Line 305 C++
r2_durango_static_128.exe!xbox::services::multiplayer::multiplayer_service_impl::multiplayer_subscription_lost() Line 139 C++
r2_durango_static_128.exe!xbox::services::multiplayer::multiplayer_service_impl::ensure_multiplayer_subscription::__l9::() Line 58 C++
r2_durango_static_128.exe!xbox::services::multiplayer::multiplayer_subscription::_Set_state(xbox::services::real_time_activity::real_time_activity_subscription_state newState) Line 162 C++
r2_durango_static_128.exe!xbox::services::real_time_activity::real_time_activity_service::clear_all_subscriptions() Line 282 C++
r2_durango_static_128.exe!xbox::services::real_time_activity::real_time_activity_service::_Close_websocket() Line 673 C++
r2_durango_static_128.exe!xbox::services::real_time_activity::real_time_activity_service::deactivate() Line 130 C++
r2_durango_static_128.exe!xbox::services::multiplayer::manager::multiplayer_local_user_manager::deactivate_multiplayer_events::__l2::() Line 330 C++
[External Code]
[Frames may be missing, no binary loaded for ntdll.dll]
ntdll.dll!00000101b24a0d88() Unknown

Hi @Roger131313,
This may be difficult for our team to investigate without repro steps, but we will see what they say.
Could you please provide the following:

Xbox Live (XSAPI) version used?
Engine used, if any, and version?
Which IDE and version?

Thank you!

I figured this may be hard to eval, we all know the value of a re-pro.  Was hoping other may have seen this problem and had better luck at chasing this down.

Xbox Live (XSAPI) version used?

Assume you are talking about ..
thirdparty\XboxLiveSDK_1604....
or how to get it?.. i see no version info in h or c files.
NOTE We are using a locally compiled version for this.

Engine used, if any, and version?

In house

Which IDE and version?

VIsual  STuidio 2012.. version ...
Do not believe the posted bug was compiled from IDE
would have been MicroSoft  CL 18.xx ..  We have upgraded  since    can  diger deeper if needed.

I found it interesting that it is inside   real_time_activity_service::deactivate()

Thanks for the info. 1604 is the XSAPI version I was looking for (the latest is 1711). I have submitted a request for someone to investigate. There could be some delay. We appreciate your patience in the meantime.
Thank you.

Hi @Roger131313
Just wanted to let you know this hasn't been forgotten. The support team is currently working on this request, and we will continue to provide updates until resolution.

Hi @Roger131313 - I'm investigating this.
This seems like a really strange case. Have you hit it since the first time?

Not sure I understand what you are asking?
The only SHA   ( secure hash ) i see in the tree is an old boost version .
But pretty sure it is not used.  ( vs 1.66.0)
Roger
On Fri, Jun 1, 2018 at 11:35 AM, Ramsey<EMAIL_ADDRESS>wrote:

Hi @Roger131313 https://github.com/Roger131313 - I'm investigating
this.
This seems like a really strange case. Have you hit it since the first
time?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/xbox-live-api/issues/371#issuecomment-393972105,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AlH4-dC1gqRcJV-kmqkht5rwDFAr2a9iks5t4YmOgaJpZM4TwOkl
.

Ahh the cbox live source code.  :)
Pretty sure it is ..  XboxLiveSDK_1604  .. if this makes any seance..
commit comment is .. "Adding the 04-16 Xbox live sdk to P4." @5/16/2016
1:58 PM
I believe you all sent  us a zip or we downloaded this before their was a
git depot.
Roger
On Mon, Jun 4, 2018 at 2:28 PM, Ramsey<EMAIL_ADDRESS>wrote:

You mentioned you are compiling a local version. What version did you
clone? When you type gitk in the repo what is the commit at the top of your
repo?
Have you hit this again by chance?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/xbox-live-api/issues/371#issuecomment-394505714,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AlH4-chbQVLUt9ydKfvZOxVyU0tR4iEAks5t5aaKgaJpZM4TwOkl
.

Hi Roger,
The support team is currently working on this request. We will continue to provide updates until resolution.

Hi @Roger131313,
Have you been able to hit this again and record any repro steps? Otherwise, I'm not sure how I would be able to debug this.

I think it is safe to close this as non reproducible.        Thanks for
staying on top of this.
Roger
On Fri, Jun 29, 2018 at 11:26 AM Xbox Live Forum Support <
<EMAIL_ADDRESS>wrote:

Hi @Roger131313 https://github.com/Roger131313
Have you had any luck repro-ing this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/xbox-live-api/issues/371#issuecomment-401436209,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AlH4-Xd5YeOdv2FQ0nblOntXzcEZYs6Bks5uBnFsgaJpZM4TwOkl
.

Thanks for letting us know. We will close our case tracking this request. If you run into the issue again, please let us know and we will investigate further.
Best regards


Drop the forceful support of BIP44 and make it optional

The wiki says you need to give these information to the client.config file on Copay:
outputwallet.extpubkey=tpubDCv6h3AqFXzjQpLnubExzkdyHsngEicFHDsHaGgTMtiSbBXcqN3XuzGPW6hv85R7F8DuQcnJGSXV9knSoG54auiDfzSRsVFvb9QtDBwnukp
outputwallet.keypath=0

However the Copay keypath is 44'/1'/0' or m/44'/1'/0' if you wish.
BIP44 is not universally used. In fact not even Bitcoin Core uses is (and won't use it in the future).
It also makes it impossible to use HiddenWallet as an output wallet. I propose to drop the forceful support of BIP44 and make it optional.

Also I think we should consider using the k notation @jonasschnelli is using in his stackexchange answer: m/0'/0'/k'.
Right now NTumbleBit only does nonhardened last key derivation, eg: m/44'/1'/0'/k in case of Copay. There'll be wallets those are not like this (like Bitcoin Core).

the extpubkey shared by copay is already 44'/1'/0' it means that the documented path create the first address at 44'/1'/0'/0/0 which is the correct first public addresss of Copay.
TB is agnostic to BIP44 and do not force anything about it.
For Bitcoin Core, I have a PR which allow HD watch only wallet which use BIP44 like trezor. https://github.com/bitcoin/bitcoin/pull/9728
Ledger also use BIP44

TB is agnostic to BIP44 and do not force anything about it.

That's not true. How would you go about defining this keypath in NTumbleBit config?: m/0'/0'/k'

the extpubkey shared by copay is already 44'/1'/0' it means that the documented path create the first address at 44'/1'/0'/0/0 which is the correct first public addresss of Copay.

I see that clears up some confusion. In this case the keypath should be defined in the config file like this: 44'/1'/0'/0/k.

I see that clears up some confusion. In this case the keypath should be defined in the config file like this: 44'/1'/0'/0/k

No, as TB never have the private key it can t derive on hardened path.
TB currently make no assumption about BIP44

have you tried since my fix on https://github.com/NTumbleBit/NTumbleBit/commit/036c2b6bb7e4805bfe236daff97b58849020fcf0 ?

I see. It turnes out I had an incorrect understanding on what hardened means.
I didn't know this code throws an exception.
ExtKey ek = new ExtKey();
KeyPath kp = new KeyPath("0");
KeyPath hkp = new KeyPath("0'");
Console.WriteLine(ek.Derive(kp).ScriptPubKey);
Console.WriteLine(ek.Derive(hkp).ScriptPubKey);

ExtPubKey epk = ek.Neuter();
Console.WriteLine(epk.Derive(kp).ScriptPubKey);
Console.WriteLine(epk.Derive(hkp).ScriptPubKey); // System.InvalidOperationException

In this case everything is fine. I have an unused backup, nonhardened keypath in HiddenWallet, that will be perfect for NTumbleBit output wallet.


removed redundant catch blocks

Issue #, if available:
Description of changes:
Removed redundant exception handling in the service classes so that nestjs captures exceptions as it should. The expected behavior is to respond with 500 HttpStatusCode and log the error to the console, we can rely on the built-in global exception filter as described here: https://docs.nestjs.com/exception-filters
"Out of the box, this action is performed by a built-in global exception filter, which handles exceptions of type HttpException (and subclasses of it). When an exception is unrecognized (is neither HttpException nor a class that inherits from HttpException), the built-in exception filter generates the following default JSON response:
{
"statusCode": 500,
"message": "Internal server error"
}"
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks!


Allow disabling of "Blocked request to ..." infobars

Suggested by @9Morello. Useful for non-powerusers who don't really care about this.
Should the infobar be disabled or enabled by default?

I think it should be enabled by default. I expect most users that come here would want to know if there was an attempt to phone Google. Its useful for finding bugs too.
But a little checkbox to disable it in the Settings page would do no harm. I'd use it if I was setting up ungoogled-chromium for someone else (less tech-familiar).

Okay, sounds good. I'm thinking about adding a flag to chrome://flags to configure this since it's more of an "advanced" feature that most users don't care too much about.

Yeah, 'chrome://flags' seems better.

Done.


Reword resubmission buttons to be less confusing

Some players were confused by things like "Guess Again", since it implied to them that they guessed wrong and should change their guess. The button should succinctly convey that their submission has been recorded, but they can change their submission.

Another way to make this less confusing is to inform players that the game is currently waiting on the other players to finish with their drawings/guesses. Consider adding a "waiting on x players..." text after a player is ready. This should be relatively easy since that info is already in the notReady node, which players are already listening to when they're ready.


ask_llm does not initialize LLM

When calling ask_llm first, the underlying infrstructure is not initialized:
from bia_bob import ask_llm
ask_llm("Give...

Error:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[2], line 1
----> 1 code = ask_llm("Give me a prolog example program involving birds, humans and lizards. Respond with the prolog code only.")
      2 code

File [C:\structure\code\bia-bob\src\bia_bob\_utilities.py:7](file:///C:/structure/code/bia-bob/src/bia_bob/_utilities.py#line=6), in ask_llm(prompt, image, chat_history)
      5 """Ask the language model a simple question and return the response."""
      6 from ._machinery import Context
----> 7 return generate_response(chat_history=chat_history,
      8                   image=image,
      9                   model=Context.model,
     10                   system_prompt="",
     11                   user_prompt=prompt,
     12                   vision_system_prompt="")

File [C:\structure\code\bia-bob\src\bia_bob\_utilities.py:83](file:///C:/structure/code/bia-bob/src/bia_bob/_utilities.py#line=82), in generate_response(chat_history, image, model, system_prompt, user_prompt, vision_system_prompt)
     78 if Context.endpoint is not None:
     79     full_response = generate_response_from_openai(model, system_prompt, user_prompt, chat_history, image,
     80                                                   base_url=Context.endpoint, api_key=Context.api_key,
     81                                                   vision_model=Context.vision_model,
     82                                                   vision_system_prompt=vision_system_prompt)
---> 83 elif "gpt-" in model:
     84     full_response = generate_response_from_openai(model, system_prompt, user_prompt, chat_history, image,
     85                                                   vision_model=Context.vision_model,
     86                                                   vision_system_prompt=vision_system_prompt)
     87 elif model == "gemini" or model == "gemini-pro" or model == "gemini-pro-vision":

TypeError: argument of type 'NoneType' is not iterable

git-bob comment

This message was generated by git-bob (version: 0.2.3, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.
I'm on it! Read Details...

This message was generated by git-bob (version: 0.2.3, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.
I'm on it! Read Details...

This message was generated by git-bob (version: 0.2.3, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.
I'm on it! Read Details...

This message was generated by git-bob (version: 0.2.3, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.
I'm on it! Read Details...

This message was generated by git-bob (version: 0.2.3, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.
To address the issue of ask_llm not initializing the language model, we need to ensure that the Context object is properly initialized before calling ask_llm. The error occurs because the Context.model is None. To fix this, you should call the init_assistant function before using ask_llm. Here is a modified example:
from bia_bob._machinery import init_assistant
from bia_bob import ask_llm

# Initialize the assistant
init_assistant()

# Now you can use ask_llm
code = ask_llm("Give me a prolog example program involving birds, humans and lizards. Respond with the prolog code only.")
print(code)

This change will ensure the language model is initialized with the default configuration before any requests are made to it.

Can we also implement this inside the ask_llm function?

This message was generated by git-bob (version: 0.2.3, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.
I'm on it! Read Details...

This message was generated by git-bob (version: 0.2.3, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.
To address the concern about ask_llm not initializing the Language Model by default, we can modify the ask_llm function to ensure the Language Model is initialized if it's not already. Here's a potential solution:
Modification in ask_llm function
Add a check to initialize the assistant if it's not already initialized.
def ask_llm(prompt, image=None, chat_history=[]):
    """Ask the language model a simple question and return the response."""
    from ._machinery import Context, init_assistant

    # Initialize if necessary
    if Context.model is None:
        init_assistant()

    return generate_response(chat_history=chat_history,
                      image=image,
                      model=Context.model,
                      system_prompt="",
                      user_prompt=prompt,
                      vision_system_prompt="")

This ensures that the underlying infrastructure is set up the first time ask_llm is called. Let me know if this aligns with what you had in mind!

Awesome, implement this!
git-bob solve

This message was generated by git-bob (version: 0.2.3, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.
To resolve the issue with ask_llm not initializing the LLM, you need to ensure that the Context is initialized before calling ask_llm. This can be done by invoking init_assistant() from the _machinery.py file before calling ask_llm. Here's a sample modification to address this issue:
from bia_bob import ask_llm
from bia_bob._machinery import init_assistant

init_assistant()  # Initialize the context and models
code = ask_llm("Give me a prolog example program involving birds, humans and lizards. Respond with the prolog code only.")
print(code)

By calling init_assistant() before your ask_llm call, you ensure that the Context and its attributes are properly set up, preventing the TypeError you encountered.

Can we also solve this within the ask_llm function?

This message was generated by git-bob (version: 0.2.3, model: gpt-4o-2024-08-06), an experimental AI-based assistant. It can make mistakes and has limitations. Check its messages carefully.
To resolve the issue where ask_llm does not initialize the LLM, you can modify the ask_llm function to ensure the Context is initialized when ask_llm is called. Here's a revised version of the ask_llm function:
def ask_llm(prompt, image=None, chat_history=[]):
    """Ask the language model a simple question and return the response."""
    from ._machinery import Context, init_assistant

    if Context.model is None:
        init_assistant()

    return generate_response(chat_history=chat_history,
                      image=image,
                      model=Context.model,
                      system_prompt="",
                      user_prompt=prompt,
                      vision_system_prompt="")

This change initializes the LLM by calling init_assistant() if the Context.model is not set, thus avoiding the TypeError. This ensures that all necessary configurations are properly initialized before generating a response.

Awesome, let's implement exactly this!

git-bob think about this

Awesome! git-bob implement exactly this!

Awesome! git-bob implement exactly this!


COBOL - Go To Reference of Intermediate Data Name Ignores COBOL Context

Development environment used

Z Open Editor version:
Version: 1.83.1 (user setup)
Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc
Date: 2023-10-10T23:48:05.904Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044

Zowe CLI version: Not Used
Node.js version: Not Used

Logs attached No

Go To Reference of Intermediate Data Name Ignores COBOL Context
Detailed steps for reproducing the problem:

Create a COBOL source program that has a data name that is defined as an intermediate data name in multiple 01 Level definitions.
for example see COBOL data name HIGHEST-ASSEMBLY-ID in the pic below. It is defined as in intermediate (15 Level) under
multiple 01 levels.
HIGHEST-ASSEMBLY-ID  OF ORIGINAL-USER-REQUEST OF COMMON-WORK-AREA-2  and
HIGHEST-ASSEMBLY-ID OF ORIGINAL-USER-REQUEST OF MWW001P
Using SHIFT+F12 issue the GO TO REFERENCE command with the cursor in the HIGHEST-ASSEMBLY-ID data name.
The GO TO REFERENCE spyglass list does not consider the COBOL Context of the intermediate data name but lists ALL references to HIGHEST-ASSEMBLY-ID regardless of COBOL context to the 01 level.

Observed behavior
Note the COBOL context of HIGHEST-ASSEMBLY-ID referenced in Working Storage in the pic below is:
HIGHEST-ASSEMBLY-ID  OF ORIGINAL-USER-REQUEST OF COMMON-WORK-AREA-2.
In this program HIGHEST-ASSEMBLY-ID is also defined as an intermediate data name as part OF ORIGINAL-USER-REQUEST OF MWW001P.
In the spyglass code view HIGHEST-ASSEMBLY-ID OF ORIGINAL-USER-REQUEST OF MWW001P is listed but I would not expect it to be since it is not part of the original Go To Reference data name of COMMON-WORK-AREA-2.
Expected behavior
I would expect the spyglass code view to only list references to HIGHEST-ASSEMBLY-ID as part of the 01 Level COMMON-WORK-AREA-2 without listing references of  to HIGHEST-ASSEMBLY-ID as part of the 01 level MWW001P.

*** Also noticed that if Go To Reference is used on elementary item MESSAGE-IND OF MWW005B it does not show the spyglass code view even though another reference exists besides the definition
I am attaching the COBOL source of this program.
SC0WWFIC.txt
MWW001P.txt
MWW005B.txt

I agree, this looks like a bug.  I'll look into it.

@davidkcoblentz we fixed it in v3.3.2. Can you verify?


small file output buggy

org.monarchinitiative.phenotefx.exception.PhenoteFxException: Malformed header line
#diseaseID	diseaseName	phenotypeID	phenotypeName	onsetID	onsetName	frequency	sex	negation	modifier	description	publication	evidence	biocuration
Expecting 14 fields but got 15

seems to be OK Now


How to calculate loss for multiple outputs?

It is not clear to me, how to calculate the loss when I have a Invertible Graph with multiple output nodes.
For example, I implemented Glow with a multi-scale architecture where each z_i is a separate output node.
Based on the examples, I only see how to calculate the loss for a single output node.
Thank you very much in advance!

Thanks for your question. Let's assume your output is as follows:
(a, b), jac = inn(x)

Then, you can compute the standard maximum likelihood loss as:
loss = (a ** 2).sum(-1) + (b ** 2).sum(-1) - jac

Does this answer your question?

Dear @fdraxler ,
thank you for the quick answer. I think I did not express myself precisely enough so I try it with an example. In the multi-scale architecture as for example used in glow, I have several Zs. Given  3-channel images with a resolution of 128x128 as inputs this results in the following tensor shapes considering the Squeeze and Split operations:
X.shape = (B, 3, 128, 128)
Z1.shape = (B, 6, 64, 64)
Z2.shape = (B, 12, 32, 32)
Z3.shape = (B, 24, 16, 16)
Z4.shape = (B, 48, 8, 8)
Z5.shape = (B, 192, 4, 4)
The example formula you gave me does not apply to that without prior reshaping.
I saw other implementations a) evaluating each Z against the prior individually and passing the resulting log_det_jac until the last output; or b) Reshape and concatenate all Z's in the end and calculate the loss from there.
It is unclear to me what's the most efficient way to calculate the loss and if the split block should forward any logdet in the latter case. I apologize if this is more of a general conceptual question rather than specific to your framework. However, a small example of what's the best/recommended way to implement a multiscale approach in FrEIA would help a lot.
Thank you very much for your help.

I think the two variants a and b are equivalent mathematically as long as you add up all the losses. Reshaping and concatenating is probably the easiest choice:
stacked = torch.cat([Z.reshape(B, -1) for Z in [Z1, Z2, Z3, Z4, Z5]], 1) # B x 3*128*128
loss_per_item = (stacked ** 2).sum(1) / 2 - jac
loss_per_batch = loss_per_item.mean(0)

And some people divide the loss by the number of dimensions, so you get mean in the second line.

Alright got it. Thank you very much for the explanation.


Thrust tutorial

Tutorial and helper files for making a thrust style iterator from a GpuMat.

The buildbot is ok with this except with the tabs in the files.
http://pullrequest.opencv.org/buildbot/builders/precommit_docs/builds/4303/steps/whitespace/logs/stdio
Please use 4 whitespace chars instead of a tab then this error will be resolved.

there is one last trailing whitespace :)
http://pullrequest.opencv.org/buildbot/builders/precommit_docs/builds/4311/steps/whitespace/logs/stdio

@jet47, could you please evaluate this tutorial?

You're correct.

:+1:

@dtmoodie , could you please squash all commits into one?


Cannot read property 'then' of undefined

Hey Dustin, loving Championify!
Quick thing - on latest 2 patches, I'm having difficulty in importing any new builds to League.
I'm getting the above error when I try on 1.3.1 and on 1.3.0 I was getting "Cannot read property 'getSr' of undefined"
Tried it in admin mode, allowed Championify through Firewall and my internet is definitely on. Can't open the log view either I'm afraid. Any advice?

1.3.1 was meant to fix that issue and had for other users. When you load your app, all the tick boxes should be empty other then Consumables and Trinkets. Is it like that for you?

Yep!

I am having the same issue. I have never had trouble with championify before. I reinstalled twice trying to see if it was something I did, still doesn't work.
"cannot read property 'then' of undefined."

That's odd. Do you mind sending me the logs, please? I'll take a look.
Windows: C:\Users\YOURNAME\AppData\Roaming\Championify\championify.log.txt
OSX: /Users/YOURNAME/Library/Application Support/Championify/championify.log.txt

championify.log.txt

thanks for responding btw

Fixed in 1.3.2. Thanks!

Yeah, I had an idea that was the problem. I have championify in the D:/ drive. Thanks for the update!

Yep. I wasnt catching it correctly.


Use GLib logging functions instead of stdio

The backend should use g_warning, g_debug, g_message, g_info, and g_critical instead of writing to the standard output and/or error streams. Also: use a separate logging domain.

This is a duplicate of #67 — closing.


When I run run.sh, I encountered a problem

First of all thank you for open source this code
There is no folder named exp_large, and some files in this directory such as avg.th or transformer.th are not found, can you provide these files？ or retraining does not require these files, then how should I pass in these files?.
And can the adapt stage be skipped?

Hi, exp_large will be automatically created during training phase. Model files such as avg.th and transformer*.th are supposed to be stored during training and are not needed for retraining. Or you may just want to perform the inference or adaptation stage without retraining the whole network, I offered my pretrained models in this repo.

then how should I pass in these files?

I didn't quite get you here. Training the network does not require passing avg.th or transformer*.th. For adaptation, the model is passed through init_model. https://github.com/Xflick/EEND_PyTorch/blob/69c0d8de9b54f0b5ab0fa96fc841de652a8173ab/run.sh#L51
For testing, the model is passed through test_model.
https://github.com/Xflick/EEND_PyTorch/blob/69c0d8de9b54f0b5ab0fa96fc841de652a8173ab/run.sh#L64
The adaptation stage can be skipped, but there is a huge performance degradation if you simply apply your model trained on simulation data to other real scenarios (such as callhome, etc.).

Thank you for your quick reply. I have another question. Does this part of the code support the diarization of multiple speakers(unknown number of speakers)? When I try to train with the AMI dataset, the following error will be reported
`[ INFO : 2020-11-05 09:22:40,290 ] - namespace(batchsize=64, config=[<yamlargparse.Path object at 0x7f1d61e35590>], context_size=7, frame_shift=80, frame_size=200, gpu=1, gradclip=5, gradient_accumulation_steps=1, hidden_size=256, initmodel='', input_transform='logmel23_mn', label_delay=0, lr=1.0, max_epochs=100, model_save_dir='exp_large/models', model_type='Transformer', noam_warmup_steps=100000.0, num_frames=500, num_speakers=2, optimizer='noam', resume='', sampling_rate=16000, seed=777, subsampling=10, train_data_dir='/home/tp/projects/kaldi_style_data/train', transformer_encoder_dropout=0.1, transformer_encoder_n_heads=4, transformer_encoder_n_layers=4, valid_data_dir='/home/tp/projects/kaldi_style_data/dev')
10095  chunks
2086  chunks
Traceback (most recent call last):
File "eend/bin/train.py", line 63, in
train(args)
File "/home/tp/projects/EEND_PyTorch-master/eend/pytorch_backend/train.py", line 68, in train
Y, T = next(iter(train_set))
StopIteration
Start model averaging
Namespace(ifiles=['exp_large/models/transformer91.th', 'exp_large/models/transformer92.th', 'exp_large/models/transformer93.th', 'exp_large/models/transformer94.th', 'exp_large/models/transformer95.th', 'exp_large/models/transformer96.th', 'exp_large/models/transformer97.th', 'exp_large/models/transformer98.th', 'exp_large/models/transformer99.th', 'exp_large/models/transformer100.th'], ofile='/home/tp/projects/EEND_PyTorch-master/pretrained_models/large/model_callhome.th')
Traceback (most recent call last):
File "eend/bin/model_averaging.py", line 35, in
average_model(args.ifiles, args.ofile)
File "eend/bin/model_averaging.py", line 18, in average_model
tmpmodel = torch.load(ifile)
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/site-packages/torch/serialization.py", line 584, in load
with _open_file_like(f, 'rb') as opened_file:
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/site-packages/torch/serialization.py", line 234, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/site-packages/torch/serialization.py", line 215, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'exp_large/models/transformer91.th'
Start adapting
Traceback (most recent call last):
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/argparse.py", line 1787, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/argparse.py", line 1993, in _parse_known_args
start_index = consume_optional(start_index)
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/argparse.py", line 1923, in consume_optional
arg_count = match_argument(action, selected_patterns)
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/argparse.py", line 2088, in _match_argument
raise ArgumentError(action, msg)
argparse.ArgumentError: argument -c/--config: expected one argument
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "eend/bin/train.py", line 57, in
args = parser.parse_args()
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/site-packages/yamlargparse.py", line 158, in parse_args
cfg = super().parse_args(args=args, namespace=namespace)
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/argparse.py", line 1755, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/argparse.py", line 1794, in parse_known_args
self.error(str(err))
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/site-packages/yamlargparse.py", line 671, in error
raise ParserError(message)
yamlargparse.ParserError: argument -c/--config: expected one argument
Start model averaging
Namespace(ifiles=['/transformer91.th', '/transformer92.th', '/transformer93.th', '/transformer94.th', '/transformer95.th', '/transformer96.th', '/transformer97.th', '/transformer98.th', '/transformer99.th', '/transformer100.th'], ofile='/home/tp/projects/EEND_PyTorch-master/pretrained_models/large/model_callhome.th')
Traceback (most recent call last):
File "eend/bin/model_averaging.py", line 35, in
average_model(args.ifiles, args.ofile)
File "eend/bin/model_averaging.py", line 18, in average_model
tmpmodel = torch.load(ifile)
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/site-packages/torch/serialization.py", line 584, in load
with _open_file_like(f, 'rb') as opened_file:
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/site-packages/torch/serialization.py", line 234, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/tp/anaconda3/envs/pyaudio/lib/python3.7/site-packages/torch/serialization.py", line 215, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: '/transformer91.th'`
if i want train the model on the  simulation data(such as mini_librispeech) and adapt on thr AMI dataset, How do I set the simu_opts_num_speaker parameter ，and num_speakers in adapt.yaml should be set to the maximum number of speakers in AMI?
Looking forward to your reply, thanks

Hi, traditional EEND only supports fixed number of speakers. It is possible to set the training speaker number to match the maximum number of speakers in your test set, but the training process will become really slow (I personally found speaker num > 3's training time unacceptable).
From what you have described, I recommend you to read their latest works, which support variable number of speakers.

Neural Speaker Diarization with Speaker-Wise Chain Rule
End-to-End Speaker Diarization for an Unknown Number of Speakers with Encoder-Decoder Based Attractors

Hi, traditional EEND only supports fixed number of speakers. It is possible to set the training speaker number to match the maximum number of speakers in your test set, but the training process will become really slow (I personally found speaker num > 3's training time unacceptable).
From what you have described, I recommend you to read their latest works, which support variable number of speakers.

Neural Speaker Diarization with Speaker-Wise Chain Rule
End-to-End Speaker Diarization for an Unknown Number of Speakers with Encoder-Decoder Based Attractors

Thank you very much for your guidance, I will close this issue,

首先感谢你开源这个代码。 没有名为exp_large的文件夹，并且这个目录中找不到某些文件如_avg.th_或_transformer.th_，你能提供这些文件吗？或者重新训练不需要这些文件，那么我应该如何格式化这些文件？并且可以克服适应阶段吗？

请问你解决了嘛，我也遇到同样的问题


Files under _public show in autocomplete

I'm using the pub plug and have noticed that all non .md files under the _public directory show up when using autocomplete. They are hidden when using the page selector.
I tried reindexing and rebuilding the database but got the same behavior.

Right, this is a regression, I'll have a look


Mapping aliased memory regions will fail on the HAXM module

Background
Many emulators, e.g. QEMU, represent the guest physical address space as an acyclic directed graph whose leaves provide backing memory (for RAM/ROM) and/or hooks for reading/writing (for IO). See: https://github.com/qemu/qemu/blob/master/docs/devel/memory.rst
As a result, the same backing HVA can be referenced at two different locations: For example, the 256 KB (0x40000 bytes) BIOS image is mapped into 0xFFFC0000-0xFFFFFFFF. But an alias into 128 KB at the bottom of the BIOS image region is mapped at 0xE0000-0xFFFFF.
Issue
The implementation of MapGuestMemory and MapGuestMemoryLarge in the HAXM module calls each two ioctl's in succession. Specifically:

MapGuestMemory:

HAX_VM_IOCTL_ALLOC_RAM
HAX_VM_IOCTL_SET_RAM

MapGuestMemoryLarge:

HAX_VM_IOCTL_ADD_RAMBLOCK
HAX_VM_IOCTL_SET_RAM2

If I understand HAXM correctly, The first ioctl is supposed to create the HVA-to-HPA mappings, and the second one is actually taking care of the GPA-to-HPA mappings (via EPT).
EPT-translation works in the same way as CR3-translation turns HVAs into HPAs, so it allows overlapping HPA ranges, so the second ioctl has no issue with overlapping ranges (like the BIOS one mentioned above). However, the first ioctl won't allow adding the same HVA range twice.
Since your approach merges the two steps, it won't allow aliases.
Possible solution
This might not be the most efficient way of dealing with this, but to fix it without changing your API, you could cache which HVA ranges have been already "added" to HAXM, and avoid them in future MapGuestMemory calls.

Also, it's worth noting that I find this issue to be a limitation of the HAXM API. I have planned to do a complete redesign @ https://github.com/intel/haxm/pull/121, inspired by the KVM API to prevent issues like that.

@AlexAltea, can you check if the issue is resolved in PR #22?

I simply took advantage of the fact that HAXM returns an error when HAX_VM_IOCTL_ALLOC_RAM and HAX_VM_IOCTL_ADD_RAMBLOCK are called with HVAs that are already mapped.

Yeah, I think that's a good workaround. The user-kernel transition costs should be negligible as you said.
This issue could be closed after merging #22.

Thanks for confirming. #22 has been merged. Closing this issue.


Converter only writes transactions with type TRANSFER

See below:
→ cat ~/Downloads/revolut.csv | wc -l
      56
→ grep -c TRANSFER ~/Downloads/revolut.csv
7
→ python3 main.py --in ~/Downloads/revolut.csv --out ~/Downloads/revolut.mt940 --account-iban -SNIP-
Wrote 7 transactions to file: /Users/niek/Downloads/revolut.mt940.

It seems only transactions with type TRANSFER are written. Not sure if this is a bug or on purpose, but for a full export the other types (TOPUP, CARD_PAYMENT, CARD_REFUND, etc - see here) should be supported too.
On a side-note, the BIC of Revolut is now REVOLT21 :)

Thanks for reporting :)
Turns out it was actually a bug with counting the number of transactions. It would always say 7. Fixed now.
You can check whether the number of output transactions is correct by inspecting the mt940 file, just count the number of lines that start with :86:.

Thanks for reporting :)
Turns out it was actually a bug with counting the number of transactions. It would always say 7. Fixed now.
You can check whether the number of output transactions is correct by inspecting the mt940 file, just count the number of lines that start with :86:.

Ah, you are correct - I didn't check the generated file in detail. Thanks for the script!

Ah, you are correct - I didn't check the generated file in detail. Thanks for the script!

Hmm, the script generates 60 transactions while the CSV has 55 lines + 1 header line - something looks odd. Also, when importing in Jortt I get an error that the "De controle bedragen in het MT940 bestand komen niet overeen met het totaal van de transacties." - will try to go through the file and see what's wrong.

Hmm, the script generates 60 transactions while the CSV has 55 lines + 1 header line - something looks odd. Also, when importing in Jortt I get an error that the "De controle bedragen in het MT940 bestand komen niet overeen met het totaal van de transacties." - will try to go through the file and see what's wrong.

Edit: it seems this is because I have a EUR and USD account, and it mixes the amounts resulting in wrong totals.

I only tested in on EUR accounts, so that could definitely be it! I'm not really sure how to fix that. I do think that technically those are two separate accounts for the purposes of bookkeeping. You could create two bank accounts for them in your bookkeeping software and export separate CSV files from Revolut as well (I think Revolut will actually export the cross transfers and in that case it should work).

Edit: it seems this is because I have a EUR and USD account, and it mixes the amounts resulting in wrong totals.

I only tested in on EUR accounts, so that could definitely be it! I'm not really sure how to fix that. I do think that technically those are two separate accounts for the purposes of bookkeeping. You could create two bank accounts for them in your bookkeeping software and export separate CSV files from Revolut as well (I think Revolut will actually export the cross transfers and in that case it should work).


How to disable pasting images in the editor?

@JiHong88, is there a way to disable pasting images in the editor?

Hi, @giovanigenerali
Normal behavior should be the same as when the image was dropped.
I will fix it.

@JiHong88 yes it makes sense, thanks.
In this example above, I disabled the event drop to return false on handleDrop but I can still paste images.
import React, { useState } from "react";
import SunEditor from "suneditor-react";
import {
  align,
  fontColor,
  hiliteColor,
  list,
  table,
  formatBlock,
  textStyle,
  image
} from "suneditor/src/plugins";
import CodeMirror from "codemirror";

import imageGallery from "./plugins/imageGallery";

import "suneditor/dist/css/suneditor.min.css";
import "codemirror/mode/htmlmixed/htmlmixed";
import "codemirror/lib/codemirror.css";

import "./suneditor-custom.css";

export default function App() {
  const [content, setContent] = useState();

  const handleContent = content => {
    console.log("handleContent:", content);
    setContent(content);
  };

  const handlePaste = (event, cleanData, maxCharCount) => {
    console.log("handlePaste:", event, cleanData, maxCharCount);
    return true;
  };

  const handleDrop = event => {
    console.log("handleDrop:", event);
    return false;
  };

  return (
    <div className="App">
      <SunEditor
        autoFocus={true}
        lang="en"
        setOptions={{
          showPathLabel: false,
          minHeight: "80vh",
          maxHeight: "80vh",
          placeholder: "Type something...",
          codeMirror: {
            src: CodeMirror,
            options: {
              indentWithTabs: true,
              tabSize: 2
            }
          },
          requestHeaders: {
            "X-Sample": "sample"
          },
          imageGalleryLoadURL: "https://fake-images.glitch.me?limit=100",
          plugins: [
            align,
            formatBlock,
            fontColor,
            hiliteColor,
            list,
            table,
            textStyle,
            image,
            imageGallery
          ],
          buttonList: [
            ["undo", "redo"],
            [
              "bold",
              "italic",
              "underline",
              "strike",
              "subscript",
              "superscript",
              "fontColor",
              "hiliteColor",
              "align",
              "outdent",
              "indent",
              "list",
              "removeFormat"
            ],
            ["imageGallery", "table"],
            ["showBlocks", "codeView"]
          ]
        }}
        setContents={content}
        onChange={handleContent}
        onPaste={handlePaste}
        onDrop={handleDrop}
      />
    </div>
  );
}

Currently, there is no exception handling when pasting files.
The "onPaste" event will be modified.

The 2.30.1 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.