How do you generate the Second Parent

Thanks for explaining the first parent generation  ([5, 0, 5, 4, 3, 1, 2, 1, 0])
How do you calculate the second parent? [1, 6, 6, 0, 0, 0, 0, 1, 0]
Thanks

Could it be [4 1 5 6 9 8 7 2 3] ?
or
4 1 5
6 9 8
7 2 3

@AhmetTavli

How do you calculate the second parent? [1, 6, 6, 0, 0, 0, 0, 1, 0]
Thanks for explaining the first parent generation ([5, 0, 5, 4, 3, 1, 2, 1, 0])
How do you calculate the second parent? [1, 6, 6, 0, 0, 0, 0, 1, 0]

If you're talking about the example on README.md, these two are actually the children, not the parents: [5, 0, 5, 4, 3, 1, 2, 1, 0] and [1, 6, 6, 0, 0, 0, 0, 1, 0]
They are calculated by doing a simple single-point crossover over the two parents with a random point selection. In that example, the parents are [5, 0, 5, 4, 3, 1, 0, 1, 0] and [1, 6, 6, 0, 0, 0, 2, 1, 0] (found by tournament selection).
The crossover point randomly generated was 5, so the first child is going to have the first six elements of the first parent (elements from index 0 to 5) and the rest of the second parent, while the second child is going to have the first six of the second parent, and the rest of the first parent. To make it clearer:
parent1 = [5, 0, 5, 4, 3, 1, x, x, x]
parent2 = [x, x, x, x, x, x, 2, 1, 0]
first_child = [5, 0, 5, 4, 3, 1, 2, 1, 0]

parent1 = [x, x, x, x, x, x, 0, 1, 0]
parent2 = [1, 6, 6, 0, 0, 0, x, x, x]
second_child = [1, 6, 6, 0, 0, 0, 0, 1, 0]

@AhmetTavli

How do you calculate the second parent? [1, 6, 6, 0, 0, 0, 0, 1, 0]
Thanks for explaining the first parent generation ([5, 0, 5, 4, 3, 1, 2, 1, 0])
How do you calculate the second parent? [1, 6, 6, 0, 0, 0, 0, 1, 0]

If you're talking about the example on README.md, these two are actually the children, not the parents: [5, 0, 5, 4, 3, 1, 2, 1, 0] and [1, 6, 6, 0, 0, 0, 0, 1, 0]. The two parents are [5, 0, 5, 4, 3, 1, 0, 1, 0] and [1, 6, 6, 0, 0, 0, 2, 1, 0]
The children are calculated by doing a simple single-point crossover over the two parents with a random point selection. In that example, the parents are [5, 0, 5, 4, 3, 1, 0, 1, 0] and [1, 6, 6, 0, 0, 0, 2, 1, 0] (found by tournament selection).
The crossover point randomly generated was 5, so the first child is going to have the first six elements of the first parent (elements from index 0 to 5) and the rest of the second parent, while the second child is going to have the first six of the second parent, and the rest of the first parent. To make it clearer:
parent1 = [5, 0, 5, 4, 3, 1, x, x, x]
parent2 = [x, x, x, x, x, x, 2, 1, 0]
first_child = [5, 0, 5, 4, 3, 1, 2, 1, 0]

parent1 = [x, x, x, x, x, x, 0, 1, 0]
parent2 = [1, 6, 6, 0, 0, 0, x, x, x]
second_child = [1, 6, 6, 0, 0, 0, 0, 1, 0]

Hope this helps!

@AhmetTavli

How do you calculate the second parent? [1, 6, 6, 0, 0, 0, 0, 1, 0]
Thanks for explaining the first parent generation ([5, 0, 5, 4, 3, 1, 2, 1, 0])
How do you calculate the second parent? [1, 6, 6, 0, 0, 0, 0, 1, 0]

If you're talking about the example on README.md, these two you've mentioned are actually the children, not the parents: [5, 0, 5, 4, 3, 1, 2, 1, 0] and [1, 6, 6, 0, 0, 0, 0, 1, 0]. The two parents are [5, 0, 5, 4, 3, 1, 0, 1, 0] and [1, 6, 6, 0, 0, 0, 2, 1, 0]
The children are calculated by doing a simple single-point crossover over the two parents with a random point selection. In that example, the parents are [5, 0, 5, 4, 3, 1, 0, 1, 0] and [1, 6, 6, 0, 0, 0, 2, 1, 0] (found by tournament selection).
The crossover point randomly generated was 5, so the first child is going to have the first six elements of the first parent (elements from index 0 to 5) and the rest of the second parent, while the second child is going to have the first six of the second parent, and the rest of the first parent. To make it clearer:
parent1 = [5, 0, 5, 4, 3, 1, x, x, x]
parent2 = [x, x, x, x, x, x, 2, 1, 0]
first_child = [5, 0, 5, 4, 3, 1, 2, 1, 0]

parent1 = [x, x, x, x, x, x, 0, 1, 0]
parent2 = [1, 6, 6, 0, 0, 0, x, x, x]
second_child = [1, 6, 6, 0, 0, 0, 0, 1, 0]

Hope this helps!

@AhmetTavli

How do you calculate the second parent? [1, 6, 6, 0, 0, 0, 0, 1, 0]
Thanks for explaining the first parent generation ([5, 0, 5, 4, 3, 1, 2, 1, 0])
How do you calculate the second parent? [1, 6, 6, 0, 0, 0, 0, 1, 0]

If you're talking about the example on README.md, these two you've mentioned are actually the children, not the parents: [5, 0, 5, 4, 3, 1, 2, 1, 0] and [1, 6, 6, 0, 0, 0, 0, 1, 0] are the two children. The two parents that generated these children are [5, 0, 5, 4, 3, 1, 0, 1, 0] and [1, 6, 6, 0, 0, 0, 2, 1, 0].
The children are calculated by doing a simple single-point crossover over the two parents with a random point selection. In that example, the parents are [5, 0, 5, 4, 3, 1, 0, 1, 0] and [1, 6, 6, 0, 0, 0, 2, 1, 0] (found by tournament selection).
The crossover point randomly generated was 5, so the first child is going to have the first six elements of the first parent (elements from index 0 to 5) and the rest of the second parent, while the second child is going to have the first six of the second parent, and the rest of the first parent. To make it clearer:
parent1 = [5, 0, 5, 4, 3, 1, x, x, x]
parent2 = [x, x, x, x, x, x, 2, 1, 0]
first_child = [5, 0, 5, 4, 3, 1, 2, 1, 0]

parent1 = [x, x, x, x, x, x, 0, 1, 0]
parent2 = [1, 6, 6, 0, 0, 0, x, x, x]
second_child = [1, 6, 6, 0, 0, 0, 0, 1, 0]

Hope this helps!

Closing this issue. If you have any additional question, please open another one.


Revamp README

In the process I enhanced the fetch tool to make the example more compelling.

@hilary-ops, would you mind reviewing this PR?


Template for final report

Acceptance Criteria

[x] Prepare a template for the final report following ANI guidelines

Thank you, @catarinafigueiredo
Closing this issue @iFetch-chatbot/farfetch-ifetch-team


Backend Settings-Archive-Admin-App Sprint 1

Create all the required entities, routes, requests for the Settings Archive Screen.

@Honeyloveet on this

What exactly is this, is this just getting all the programs a user has subscribe to?

@Honeyloveet It is not user specific, just all the archived programs from Angela?

@OluwasegunA Yes


Fall 2022 defaults part 2: solve financial issues

Update revenue inputs and solve a few other issues after https://github.com/NREL/SAM/pull/1248

Detailed PV - None now matches single owner size, inverter, and module
Host developer PPA price and utility rates are now consistent within pv-only and battery
Added capacity payments for stand alone battery single owner and merchant plant (see https://github.com/NREL/SAM/issues/955)
Additional PPA price adjustments to improve NPV

Overall the approach leaned on price consistency within cases such as "pv battery - front of meter." If something was not profitable in 2021.12.02, I didn't put in a lot of effort to make it profitable here.
I recommend a lot of attention to the changes in warnings in test_results_win64.csv when reviewing

Standalone capacity payments right now applied to 0% of the battery nameplate by default.

Standalone capacity payments right now applied to 0% of the battery nameplate by default.

-From Paul: make sure collapsible variable for UI forms is set to 1 for defaults with capacity payments


Process name with space has an incomplete name property

Describe the bug
There are cases where if the name of the process has a space the second half of the name ends up in the process params property.
To Reproduce
Using the function si.processes
const si = require('systeminformation');

(async () => {
  const ps = await si.processes();
  console.log(ps.list.find(p => p.name.toLowerCase() === 'activity'));
})

Current Output
{
  pid: 34384,
  parentPid: 1,
  name: 'Activity',
  pcpu: 0.2,
  pcpuu: 0,
  pcpus: 0,
  pmem: 0.6,
  priority: 4,
  mem_vsz: 5231412,
  mem_rss: 52956,
  nice: 0,
  started: '2020-04-25 04:56:57',
  state: 'sleeping',
  tty: '',
  user: '****',
  command: 'Activity',
  params: 'Monitor',
  path: '/System/Applications/Utilities/Activity Monitor.app/Contents/MacOS'
}

Expected behavior
{
  pid: 34384,
  parentPid: 1,
  name: 'Activity Monitor',
  pcpu: 0.2,
  pcpuu: 0,
  pcpus: 0,
  pmem: 0.6,
  priority: 4,
  mem_vsz: 5231412,
  mem_rss: 52956,
  nice: 0,
  started: '2020-04-25 04:56:57',
  state: 'sleeping',
  tty: '',
  user: '****',
  command: 'Activity Monitor',
  params: '',
  path: '/System/Applications/Utilities/Activity Monitor.app/Contents/MacOS'
}

Environment (please complete the following information):

systeminformation package version: 4.24.0
OS: macOS
Hardware: MacBook Pro 13

@viegasdom thank you for your findings and for your fix! I see the problem but your fix does not cover all problems here. I will try to make a fix here today.

I imagined there was some edge case that I might overlooked! Thank you @sebhildebrandt for looking it up.

@viegasdom so I finally had do do it a little bit different ... version 4.24.1 just released.


Spyder line wrapping doesn't follow indentation

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Line wrapping in spyder does not follow indentation. Text is wrapped but appears from the beginning of the next line instead of appearing from indentation of the above line. If I turn on indent guides, this wrapped text and the guides intersect each other.
See how the code gets wrapped in if statement

Comment wrapping

Url wrapping (continuous text)

I was surprised to see that this wrapping behaviour hasn't been noticed by anybody else. Does nobody else prefer using line wrapping?
I have checked this on spyder installations on other Windows devices also. This issue is not specific to my device. I also found the same issue in spyder 5.0
I use Spyder a lot. Please resolve this. TIA.
What steps reproduce the problem?

Preferences>Editor>Wrap lines
Preferences>Editor>Show indent guides

What is the expected output? What do you see instead?
Same file opened in VS Code has the right wrapping behaviour

Versions

Spyder version: 4.0.1
Python version: 3.7.6
Qt version: 5.9.6
PyQt version: 5.9.2
Operating System name/version: Windows 10

Dependencies

atomicwrites >=1.2.0         :  1.3.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
cloudpickle >=0.5.0          :  1.3.0 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
IPython >=4.0                :  7.12.0 (OK)
jedi =0.14.1                 :  0.14.1 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
numpydoc >=0.6.0             :  0.9.2 (OK)
pexpect >=4.4.0              :  4.8.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
psutil >=0.3                 :  5.6.7 (OK)
pygments >=2.0               :  2.5.2 (OK)
pylint >=0.25                :  2.4.4 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.7 (OK)
zmq >=17                     :  18.1.1 (OK)
qdarkstyle >=2.7             :  2.8 (OK)
qtawesome >=0.5.7            :  0.6.1 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
rtree >=0.8.3                :  0.9.3 (OK)
sphinx >=0.6.6               :  2.4.0 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
watchdog                     :  None (OK)
cython >=0.21                :  0.29.15 (OK)
matplotlib >=2.0.0           :  3.1.3 (OK)
numpy >=1.7                  :  1.19.5 (OK)
pandas >=0.13.1              :  1.0.1 (OK)
scipy >=0.17.0               :  1.4.1 (OK)
sympy >=0.7.3                :  1.5.1 (OK)

Hi @deepwithin,
This is an issue that we need to fix for one of our future versions of Spyder. Right now we are working on stabilizing Spyder 5 so this will not be in our high priority for a couple of months. If you want to see this issue fixed in the next release please consider to contribute to the project, we can give you all the guidance you need.
Thanks for reporting!


Remove GH Action Test Doc Creation (Sphinx)

During my work on the sphinx / readthedocs documentation I added another check.
This check tries to build the documentation directly on readthedocs in each PR.
So if you are working on the documentation you can immediately see the result on readthedocs.
Due I think we do not need this docs test cause it is redundant.
As an example you can check this PR: https://github.com/bo4e/BO4E-python/pull/673
By clicking on details on the readthedocs check, you can access directly the newest documentation.

removed tox docs from GH actions in #697


Requires to enter email when open from in-app browsers from email client

Description
Illia Polosukhin  6:56 AM
Also more feedback:
near.orgnear.org
Feedback for FastAuth on near.org: - Requires to enter email when open from in-app browsers from email client - Account creation is seen as slow, would be good to check that there is no way to speed it up (not wait for the full finality) - Remove tx confirmation for TOS - It's not very clear after approval inside in-app browser from email client, back in the main browser it doesn't logged in - need to log in again

Let's tackle as part of https://github.com/near/fast-auth-signer/issues/48

@MaximusHaximus can you remind us why we needed to implement this additional email input?


Handle encoding properly, by delegating that to LibCST.

Still diff str objects, because that's what moreorless supports today.
Fixes #46

and of course it's the windows builds that are failing... 😅

I'll have to load a windows VM to see, my first guess is something wrong in libcst but the code looks ok, second guess is that pathlib write_bytes opens in universal mode but I don't know why it would do that.

Turns out I'd missed one b-prefix in sample_contents; white_text does use text mode which does the translation.  Merging now.


Update locations.jsp

Added HTML codes for location.

extracted code and merged locally, closing this PR now. Thanks!


No keypoint extractors located

Hello
I've been going through you library trying to find a keypoint extractor. I know they exist in the original pcl library, but i was unable to locate any in pclpy. It appears that a module for keypoints was supposed to be built, when i look at pclpy/generators/config.py, but that module does not appear when i run
print(dir(pclpy.pcl))
or when i run it on subsequent modules. Have you not yet implemented keypoint detectors or have i just overlooked them?
Thank you very much for your work and your help.

Hi David,
I am looking for the keypoint extractors as well. I cannot find them and I am unsure how to access them.
I try the following
narf = pcl.features.NarfDescriptor.PointWithRange_Narf36()
but without success.
I would appreciate your help. Thanks!

Hey there,
I could still not find keypoint extractors. Do they not exist, or have I just overlooked them?
Thanks for all the help.


Feature Request - Dark Mode

With the increased usage of dark mode in email clients is Foundation for Emails planning to include dark mode specific media queries?
These are discussed in this article.
For our customers it is is at the tipping point of where most of the clients used can handle dark mode.

Is there some news about implementing the dark mode support?

Is there some news about implementing the dark mode support?

The dark mode is very inconsistent among different mail clients, so it's almost impossible to create CSS that will work properly everywhere automatically.
Some clients fully support prefers-color-scheme media queries, some only have partial support for it, and some don't have any support.
[data-ogsc] is not of big help and it is also completely discarded on foundation compile.
There are a lot of tricks (or better say hacks) on how to get the colors you want in dark mode, but none of those are fully functional in all clients. To make it worse, some of those hacks that work perfectly in one mail client completely break the other.
The mail clients from Hell are Gmail on iOS and Windows Mail. Everything else can be made to look almost the same, but those two are... I will stop before I start to use inappropriate language.

Is there some news about implementing the dark mode support?

The dark mode is very inconsistent among different mail clients, so it's almost impossible to create CSS that will work properly everywhere automatically.
Some clients fully support prefers-color-scheme media queries, some only have partial support for it, and some don't have any support.
[data-ogsc] is not of big help and it is also completely discarded on foundation compile.
There are a lot of tricks (or better say hacks) on how to get the colors you want in dark mode, but none of those are fully functional in all clients. To make it worse, some of those hacks that work perfectly in one mail client completely break the other.
The mail clients from Hell are Gmail on iOS and Windows Mail. Everything else can be made to look almost the same, but those two are... I will stop before I start to use inappropriate language.

Ok. Thanks for the info.


Spin: install script version text

Currently the spin install script supplies a spin release version as an informational prompt for potentially downloading a specific version.  This version may drift from the actual latest Spin release (ref https://github.com/fermyon/developer/pull/264).
What would we like to do to prevent drift?

Add release process notes to submit a PR a la #264 on each spin release
Add automation for a bot to do ^^
Remove the informational versions altogether
Other?

Dummy version a la v1.2.3 would be another possibility

I believe this is resolved by https://github.com/fermyon/developer/pull/264/files
Was thinking that we could run a command over the docs upon each release i.e. find ./ -type f -exec grep -H 'v0.6.0' {} ; to locate any references to older versions of Spin and then update.
If not, please let me know and we can discuss it further.


Does anyone have this actively working with FSRS collection? OR can you recommend a similar alternative?

Does anyone have this actively working with FSRS collection? OR can you recommend a similar alternative?

It's not working for me. Not sure if it's related to FSRS


Archiving Request

Hello !
Is that project still maintained ?
If not, maybe it would make sense to archive it instead ?

is it broken?

I don't think it's updated to every edge cases and best practices tbh
It isn't succeeding in some immutables systems

yeah, it requires ancient perl packages, true


Object overrides have too many **kwargs

class C(object):
    def __ge__(self, **kwargs):
        return super().__ge__(**kwargs)

We have these **kwargs all over the place

I believe this is the doc scraper getting things wrong at some point. It only affects Python 3.x


LACP support: added lacprate and xmitpolicy

Closed as stale.

@killianmuldoon does this require design changes?  I would like to be able to set lacprate

@kbowlingns I don't think this would require major changes beyond some clean up - this was done as a proof of concept though so I'd need to take another look. Have you tried pulling this patch to see if it meets your needs for setting lacprate?

These changes look useful for using the bond CNI in a real-world network where things like link balancing need to be optimised. Any chance this could be reviewed?

@howels I've reopened this - I think we could move toward reviewing and merging it. Can you test to see if it meets your requirements?

@killianmuldoon can you verify my config? I've built your branch but see some error adding the bond to the container:
  Normal   AddedInterface          2m12s                  multus             Add net1 [] from kube-system/sriov-pf1
  Normal   AddedInterface          2m12s                  multus             Add eth0 [<IP_ADDRESS>/32]
  Normal   AddedInterface          2m11s                  multus             Add net2 [] from kube-system/sriov-pf2
  Warning  FailedCreatePodSandBox  2m11s                  kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "1bcb18069dbbf63de91b2e0cdb3db5b273094c2ecf04f2f108259e16edbd1c34": [default/iperf-clients-cqgc7:bond-net1]: error adding container to network "bond-net1": Failed to create bonded link (bond0), error: Failed to add link (bond0) to the netNsHandle, error: invalid argument
  Normal   AddedInterface          2m10s                  multus             Add eth0 [<IP_ADDRESS>/32]
  Normal   AddedInterface          2m10s                  multus             Add net1 [] from kube-system/sriov-pf1

This is using the following NAD:
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
  name: bond-net1
spec:
  config: '{
    "type": "bond",
    "cniVersion": "0.3.1",
    "name": "bond-net1",
    "ifname": "bond0",
    "mode": "802.3ad",
    "xmit_hash_policy": "layer3+4",
    "failOverMac": 1,
    "linksInContainer": true,
    "miimon": "100",
    "links": [
      {"name": "net1"},
      {"name": "net2"}
    ],
    "ipam": {
      "type": "host-local",
      "subnet": "<IP_ADDRESS>/24",
      "rangeStart": "<IP_ADDRESS>",
      "rangeEnd": "<IP_ADDRESS>",
      "routes": [{
        "dst": "<IP_ADDRESS>/0"
      }]
    }
  }'

I am able to allocate the component SR-IOV VFs as NICs and use those so not sure what is failing:
      annotations:
        k8s.v1.cni.cncf.io/networks: '[
          {"name": "sriov-pf1",
          "namespace": "kube-system",
          "interface": "net1"},
          {"name": "sriov-pf2",
          "namespace": "kube-system",
          "interface": "net2"},
          {"name": "bond-net1",
          "namespace": "kube-system",
          "interface": "bond0"}
          ]'
 #       v1.multus-cni.io/default-network: bond-net1
 ......
         resources:
          requests:
            intel.com/intel_sriov_PF_1: '1'
            intel.com/intel_sriov_PF_2: '1'
          limits:
            intel.com/intel_sriov_PF_1: '1'
            intel.com/intel_sriov_PF_2: '1'

Is there something wrong in that config? I built /opt/cni/bin/bond from 2e41fe118107d55e30f37f838d9b5ec76add26b2

@howels I think it should be xmitHashPolicy rather than xmit_hash_policy in your config.

@howels ls have you assessed this to see if it meets your use case? If so I can work on getting a final review and merge through.

@killianmuldoon sorry, this was introducing too much complexity so we backed away from SR-IOV devices and used shared RDMA with the bond in the host OS instead.

@howels I'm going to close this as stale again until we can get together some documented testable use cases. Thanks for taking another look at this!

Hi @killianmuldoon , I am kind of having similar usecase in my environment. Where i have 8 virtual functions in a pod, i would like to aggregate them to a one single bond interface using mode 802.3ad. can it be possible with bond-cni ?

Hi @killianmuldoon , I am kind of having similar usecase in my environment. Where i have 8 virtual functions in a pod, i would like to aggregate them to a one single bond interface using mode 802.3ad. can it be possible with bond-cni ?

@sainath40 I'm not currently working on bond CNI I'm afraid. It might be a good idea to open an issue in the repo describing your use case.


Questions regarding this crate

Hi there, I have some questions regarding this crate:

For an Arduino, what benefits do I get from using this crate as opposed to writing it using Arduino's native C++ library?
Is this a "write once run anywhere" sort of crate, where I could write code up for an Arduino using AVR processor and then run the same on an Arduino using SAMD processor?

Can the same code be ported over to a Rasbperry Pi or even other similar minicomputers such as Orange Pi and Odroid?
3. Can I please get a sample code in regards to simply flashing an LED light?
4. Are there any documentations?
5. Once when stable 1.0.0 is released, would it support as much devices as the Raspberry/Arduino supports?

This crate defines an interface between common peripherals and their users (either drivers or applications). It doesn't contain specific implementations for specific hardware, those are elsewhere. I'm not keeping track of all individual implementations but since you asked about a Rasperry Pi and similar, there's an implementation of the interfaces defined in this crate for all kinds of Linux based embedded devices here: https://github.com/rust-embedded/linux-embedded-hal.
The interfaces allow you to write (and use) universal drivers which work on every system which provides an implementation of the traits. It does not allow you to write applications which work on any hardware without modification. If you're interested in finding specific implementations, drivers and example code I'd recommend you have a look at https://github.com/rust-embedded/awesome-embedded-rust where a lot of them are referenced.


add TcpSocket::{v6_only, set_v6_only}

Whether dual-stack mode is enabled by default is inconsistent across platforms, therefore there should be a method to set it
For example in my osp I have to double bind to use both ip4 and ip6. On Windows this works for some reason but, on Linux it produces the following error:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" }', src/main.rs:3:42
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Binding to an ip6 via .bind(“[::1], port)? doesn’t bind to an ip4 on my Windows 10 system.

TcpSocket is being removed in v0.8, you can use the socket2 crate instead: https://docs.rs/socket2/0.4.2/socket2/struct.Socket.html#method.only_v6.


fix: Use the correct name for package names that contain hyphens in the (generated) server SDK Cargo.toml

/ok-to-test sha=136924a


Does the current syntax make sense?

After fixing a bug with parsing multiple options, are we sure that the current syntax is good enough? Do we want to change it?
Current syntax:
@use autoprefixer (remove: false; browsers: "firefox > 20");

Proposed alternatives:
@use autoprefixer (remove: false) and (browsers: "firefox > 20");

@use autoprefixer (remove: false, browsers: "firefox > 20");

@use autoprefixer {
  remove: false;
  browsers: "firefox > 20";
}

I think semicolon is weird, because semicolon is used in all CSS to separate declarations. So it is some kind of big separator. Not internal separator.

I propose you follow the @font-face syntax.

I more like the third example.

But what we will do, if plugin will accepts a array as options, not a object. 2 and 4 is not ready for arrays.
But it is possible to deny this kind of API. We can add rule to Plugin Guidelines.

Between 2 and 4, I prefer 4 (font-face syntax), because it is shorter.

comma are combined with parentheses and semicolon with curly brackets

Media queries like looks too large.

This would be problematic with commas (passing a font-family list could be a use case):
@use autoprefixer (remove: false, browsers: "firefox > 20", fonts: "helvetica, arial, sans-serif");

The last one feels most natural and allows all the syntax CSS allows without further escaping. I would also try to avoid the quotation marks:
@use autoprefixer {
  remove: false;
  browsers: firefox > 20;
  fonts: helvetica, arial, sans-serif;
}

@hagenburger PostCSS has out of box parser for commas with correct support for qutes like in fonts: "helvetica, arial, sans-serif".

@ai: without quotes it feels more natural.

Fourth one gets my vote

I vote for the object notation syntax (and comma seperated as a second-choice).
The and variant looks like it should be used for multiple use.

Thanks for your input, everyone. My current thinking is now to accept both the parentheses & the curly braces, so that you can use either/or:
@use autoprefixer (remove: false);
/* Is the same as:
@use autoprefixer {
  remove: false;
}

The main reason for this is because the parentheses-style can easily support an array as input:
@use postcss-discard-font-face (['svg', 'ttf']);

@hagenburger At this moment in time I am not prepared to support implicit conversion of properties to strings. The reason why is because it is easier for me to just rely on JSON.parse to get the correct value, and in this respect I would rather not re-invent the wheel. Although I am prepared to accept a pull request for this if someone else wants to do that. :smile:
@chriscoyier Would you be open to changing the parentheses style to use commas instead of semi-colons? The people here are in favour of that syntax (@use plugin (one: "one", two: "two");). Depending on this I will release either a major or minor release including @jonathantneal's patch.

@ben-eb does that mean the parentheses-and-semicolons format will break?  I guess that's not ideal since that's what 1.0.2 supports and is currently live on CodePen.
Although I tend to think that the curly-brackets-and-semicolons makes the most sense from a CSS perspective and the parens-and-commas makes the most sense from a JSON perspective.

OK. Let's not break the existing functionality. Will update to add the alternate syntax.

Released with the alternative syntax as 1.1.0.


Displaying cached images using Picasso

Actual Behaviour
Earlier in my issue i used Picasso to display cached images in SponserFragment. Extending that to all the parts having images.
Expected Behaviour
Display cached images when offline.
Steps to reproduce it

LogCat for the issue

Screenshots of the issue

Would you like to work on the issue?
yes.

I recommend using synchronous observable method from NetworkUtils so that UI doesn't block when checking for connection.
See this
Also, cancel the Picasso operation by tag if loading asynchronously. If we use if-else approach then immediate caching can't be performed by picasso as it waits for the connection callback to happen
:+1:

@arp95 and @Shailesh351, I think one of you two could take up this issue. It is very critical for the application. A 10 MB disk cache should be sufficient for Picasso configuration, and try to make it injected globally, i.e., from Application class so that there is no need for any special class and static accessors

@iamareebjamal  i would like to work on it.
Milestone 5


HOTFIX: WindowedStreamPartitioner does not provide topic name to serializer

\cc @dguy @enothereska
patch for 0.10.2 is #2776

fix for failing tests are #2778 and  #2781

LGTM. Would help reviewing if we separate actual change from other cleanup, e.g., two commits. Thanks.

fix
cleanup, including using final etc

@eno I understand this -- but it's so much extra effort to split PRs... And if we don't cleanup in small pieces like this, we won't get there at all :( Or we need pure cleanup commits -- but I guess nobody is going to do this.

Updated this.

@mjsax @enothereska i think doing small cleanups a long the way is the appropriate thing to do. Having separate PRs just for minor cleanups that can be done with another PR is a bit silly. Refactoring should be a constant effort. The trick is choosing to not go too far, which admittedly can be difficult at times.

@mjsax @dguy I'm not suggesting separate PRs, just separate commits as part of the same PR. So in the PR we can see the commit history (fix, followed by cleanup, or vice versa). Right now for every 10 line fix there are another 100 lines of cleanup making it hard to see the exact fix.

@enothereska oh - fair enough.

LGTM btw


Use SafeU120 lib for all operations in example contracts

Currently, the example contracts (notably the token contract examples) don't have checks for over/underflow when operating on values. We should use the SafeU120 library.
### Dependencies
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/1794
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/1965

Most of these also have insecure logic so seems like a hello kitty bandage on a torso without a head. Think it would make sense to do as part of a large redo of those tokens as part of #1743.

Closing, as it seems completed


ACCUMULO-4571 Move the migration log message from debug to trace

+1

Forgot to include close message on the commit.


Shift Dates banner Enhancement

Description
LEARNER-8318

Add calendar icon in shift due dates banner
increase font size

@miankhalid ready for the review.

Travis-ci build is in progress, other then that code LGTM.


Encoder block cipher in Python

Basic Python block cipher Encoder. Hopefully, we can implement these into rust to encode and decode the ciphers.

Oh I already made one. Sorry I should have shared it with you.

The good thing about knowing Python is that iterators in Python and Rust work the same way. You write a chain or iterator adapters to do something for each of something else, such as decrypt a block for every 16 bytes of data, then "collect" them all in to a Vec (like a typed Python list). That isn't to say you need to call the decryption function on each block manually (as opposed to using the library), but if that is what you decide to do it won't be hard to use iterators.
Using OpenSSL is probably the approach you'd use in real life, while using a low level library like this will probably teach you more about how it works. I've been having technical difficulties with OpenSSL so I actually think useing the cipher library might be easier. At least, I know the cipher library will be reasonably easy, while OpenSSL could be easier or harder.


[Bug]: No signup button

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
No signup button and OTP input box
Expected behavior
.......
Add ScreenShots

On which device are you experiencing this bug?
Chrome
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

add it in the sign in page towards the lower side of the card, will assign it to you, sign in and sign up card ui is a bit messed too fix that as well @UtkarshBirla28

can you please assign this issue to me @dinxsh

@dinxsh someone has already fixed the signup and signin page
In repo the pages are fixed but in the main website which is deployed on Netlify signinpage is bit messed up

@UtkarshBirla28 could you add some screenshots then


Go templates in configs and secret handling. Closes #41

Image sizes before:
edge-php5.6: 355 MB
edge-php7.0: 369 MB
edge-php7.1: 369 MB
edge-php7.2: 321 MB

Image sizes after:
edge-php5.6: 358 MB
edge-php7.0: 372 MB
edge-php7.1: 373 MB
edge-php7.2: 325 MB


[README] : I want to update the README for 'gofr'

Describe the bug
Actually it is not a bug but an request to update the README file.
Expected Updates
The current README for 'gofr' lacks clarity in certain sections and could benefit from additional details to improve user understanding. I propose to:
Add clear instructions for setting up the project.
Include usage examples for better comprehension.
Correct any outdated or incomplete information.
Ensure consistent formatting and structure throughout the document.
This update will enhance the overall readability and usability for both new and experienced users.
Being a newbie in OpenSource I am thinking of starting from here. Also keep me updated if any documentation updating is required.
@vipul-rawat Please assign me the issue

@abhirajadhikary06 assigned the issue to you

Thank you for assigning

@Umang01-hash I have initiated a PR please check.

@Umang01-hash Please review my task and if this seems okay please merge it.


Update issue templates

Now that the project is growing, more attention to community contributions at all skill levels needs to be facilitated by making issue templates.

Haha, yeah, I put some time into them :)


Feature request: From main unit (hovedenhet) to sub unit (underenhet) and vise-versa

The scenarios below use schools as an illustration of finding the ownership structure from main unit to sub unit and vise-versa, but  it would be nice if the library can support this for any ownership structure in any business domain.
Please see the National School Register at Udir, e.g. for Åssiden videregående skole see https://nsr.udir.no/enheter/974605937 - which contains a link to the school owner Buskerud fylkeskommune, and when you click it you get a list of all the schools belonging to that school owner, see https://nsr.udir.no/enheter/930580260
Scenario 1: As a user of the library, I would like to easily find all sub units of a main unit and filter by type.
Example 1: Given a regional authority (fylkeskommune) in Norway, e.g. Buskerud fylkeskommune, I would like to find all upper secondary schools (videregående skoler) belonging to Buskerud fylkeskommune.
Scenario 2: As a user of the library, I would like to easily find the main unit of a sub unit.
Example 2: Given an upper secondary school (videregående skole), e.g. Åssiden videregående skole in Drammen, I would like to find the school owner, i.e. Buskerud fylkeskommune.
Scenario 3: As a user of the library, I would like to easily find the main unit of a sub unit and then find all other sub units belonging to the main unit and filter by type, perhaps default to the same type.
Example 3: Given an upper secondary school (videregående skole), e.g. Åssiden videregående skole in Drammen, I would like to find the school owner, i.e. Buskerud fylkeskommune, and then also get a list of all the other schools belonging to the school owner.

Scenario 1
The scope of this library is limited to what is available from brreg.no, so I won't extend it to fetch data from udir.no. Given that limitation, the best way to differentiate on type, e.g. schools from other subunits, is to look at the "næringskode" fields.
Using the Næringskode search at https://www.ssb.no/klass/klassifikasjoner/6, we can find the two relevant codes for upper secondary schools, 85.310 and 85.320. To find all subunits of Buskerud fylkeskommune with matching næringskode:
>>> from brreg.enhetsregisteret import Client, UnderenhetQuery
>>> client = Client()
>>> cursor = client.search_underenhet(UnderenhetQuery(overordnet_enhet='930580260', naeringskode=['85.310', '85.320']))
>>> for page in cursor.pages:
...     for underenhet in page.items:
...         print(f"{underenhet.organisasjonsnummer}: {underenhet.navn}")
...
974606216: BUSKERUD VIDEREGÅENDE SKOLE
874605972: DRAMMEN VIDEREGÅENDE SKOLE
974605988: EIKER VIDEREGÅENDE SKOLE
933171663: EKSAMENSKONTORET I BUSKERUD
974606194: GOL VIDAREGÅANDE SKULE
974605929: HØNEFOSS VIDEREGÅENDE SKOLE
974605996: KONGSBERG VIDEREGÅENDE SKOLE
998516897: LERBERG SKOLE OG KOMPETANSESENTER
974606135: LIER VIDEREGÅENDE SKOLE
974606232: NUMEDAL VIDEREGÅENDE SKOLE
974606208: RINGERIKE VIDEREGÅENDE SKOLE
974605961: ST HALLVARD VIDEREGÅENDE SKOLE
974606186: UNG INVEST AIB AVD DRAMMEN
921577397: UNG INVEST AIB AVD HALLINGDAL
874606332: UNG INVEST AIB AVD KONGSBERG
976246381: UNG INVEST AIB AVD MIDTFYLKET
974606348: UNG INVEST AIB AVD RINGERIKE
974605910: ÅL VIDAREGÅANDE SKOLE AVD ÅL
974605937: ÅSSIDEN VIDEREGÅENDE SKOLE

Scenario 2
Given an underenhet, you can easily look up the enhet it belongs to:
>>> from brreg.enhetsregisteret import Client
>>> client = Client()
>>> underenhet = client.get_underenhet('974605937')
>>> underenhet.navn
'ÅSSIDEN VIDEREGÅENDE SKOLE'
>>> enhet = client.get_enhet(underenhet.overordnet_enhet)
>>> enhet.navn
'BUSKERUD FYLKESKOMMUNE'

Scenario 3
This is just a combination of the two other scenarios, so I'll leave this is an exercise to the reader.
Hope this was helpful, even though I'm three months late.


SSV2_AutomationUpdateGA

After automatic Azure update or something - "Deployment name: SSV2_AutomationUpdateGA", Function app associated with Logical app for Start/Stop VMs v2 cannot be started anymore.
Error: Microsoft.Azure.WebJobs.Script: Error configuring services in an external startup class. Microsoft.Azure.WebJobs.Extensions.Storage.Blobs: Could not load file or assembly 'Azure.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=92742159e12e44c8'. Format of the executable (.exe) or library (.dll) is invalid. System.Private.CoreLib: Could not load file or assembly 'C:\home\site\wwwroot\bin\Azure.Core.dll'. Format of the executable (.exe) or library (.dll) is invalid.

My StartStopV2 broke sometime between 02/13/2024 and 02/14/2024.  I got the same errors as listed in the issue.  I am using the Government Cloud and have had no issues with the StartStopV2 tool until the 14th.  I deployed a fresh version to my sandbox and still have the same errors.
Is this tool still supported or do we need to find a new solution?
Thanks,

Here too. Working perfectly (twice daily) for a couple of months....then the last success was 14/02/2024.
Inside the function app "StartStopVM_____" there are 2 notifications:
AZFD0005 Error configuring services in an external startup class.
....and....
Functions runtime error
Microsoft.Azure.WebJobs.Script: Error configuring services in an external startup class. Microsoft.Azure.WebJobs.Extensions.Tables: Could not load file or assembly 'Microsoft.Extensions.Azure, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=92742159e12e44c8'. The system cannot find the file specified.

I opened a support case for this issue.  I will report back when I get updates.  I was told that this solution is still supported.

Worked with MS on the problem.  Solution is to stop your Function App first.  Then, redeploy the app from the GitHub link and make sure to provide the same parameter values so that the template only updates the Function App.  It sounds like there can be issues with the autoupdate feature if the Function App is up and running when the update occurs.
Stopping the Function App and then doing the redeploy from the GitHub did fix my issue and all is well again.
HTH

Thank you all for providing detailed information for the community! Here is the official guidance: https://github.com/microsoft/startstopv2-deployments/issues/116#issuecomment-2104845492


Show armor value/health for each player

It could be useful to know if someone is > 194 health (or other break points) so that your Tripmine or a 2 burst from a Red Death will be a kill.
Maybe it could live in the popup for the armor stat value? Maybe that's too hidden?
Table of values (from this reddit post):

Armor
Warlock
Titan
Hunter

1
186
-
186

2
187
-
187

3
190
-
191

4
191
-
191

5
192
192
192

6
194
194
194

7
195
195
197

8
198
198
198

9
-
198
199

10
-
199
-

Oh good call!
We can just add a hazard badge somewhere

We could probably just add a popover with their health near the class nodes. There are more factors that affect health than just the armor stat, though. I'm not sure how accurate this would be.


doc: RDN values and create-only attributes

The automount location used to be an ipa-client-install argument. However the approach has to issues:

ipa-client-install --automount-location is currently broken and wont't get fixed in time for next internal demo, see https://pagure.io/freeipa/issue/9487
For NFS automount of home directories, the SELinux boolean use_nfs_home_dirs must be enabled first.

The new API has the automount location in a new field, so ipahcc-auto-enrollment can run ipa-client-automount and setsebool after ipa-client-install.
IPA's automount location is an RDN attribute,
cn=name,cn=automount,$SUFFIX.
Also syncs golang version and oapi-codegen version with backend.

LGTM!  Merging.


Fixed retain cycles between MacawView and MacawZoom

Updates
In this pull request I fixed 2 issues:

retain cycle between MacawView and MacawZoom: both classes referenced to each other using strong reference which produced retain cycle previously.
Solution is easy - just to use some weak / unowned reference.

implicit retain cycle with onZoomChange method. As we know - self is also implicitly captured when we pass method as closure.
So instead of directly passing method name as closure - zoom.initialize(view: self, onChange: onZoomChange) we have to wrap it into additional closure with [weak self] parameter in capture list:

zoom.initialize(onChange: { [weak self] transform in
    self?.onZoomChange(t: transform)
})

Looks good for me. @f3dm76 could you please review this PR as well?


validate up direction string

Running f3d foo.obj --up=X, without the sign for the axis, we can observe that:

omitting sign does not default to positive
F3D does not warn/complain about up strings it does not expect/understand

This PR addresses both points.

NIce ! FYI i'm hoping to add enum based option at some point that will only accept specific strings, but this is a perfectable solution for  now.

newly added test failed on all v9.0.0 runners, not sure what to do with that information...

newly added test failed on all v9.0.0 runners, not sure what to do with that information...

Add DEFAULT_LIGHTS in the test. This disable the test on vtk9.0 as lights changed between vtk9.0 and 9.1


Notebook cell drag and drop interferes with editor tab drag and drop

When dragging a notebook editor tab onto itself for splitting, it now triggers drag hover events in the editor and it it difficult to trigger the editor split event.

Showing the dragover ui for non-cell dragging was fixed, but I still can't trigger the editor split event without going to the tab bar.

This is related to moving the notebook editor out of the main grid view. We add drag listeners to the .content element, but they are never triggered when dragging a file/editor into that view because the notebook is covering the whole area. We need a way to add the same listeners to an editor which is outside of the main flow, or have the editor forward those events to the EditorDropTarget in some other way.

As we discussed offline, we can take a look at how Webview Editor does it.


server: fix PortForward panic

During "Port forwarding" e2e tests, the following panic happened:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x64981d]

goroutine 52788 [running]:
panic(0x1830ee0, 0xc4200100c0)
        /usr/lib/golang/src/runtime/panic.go:500 +0x1a1
github.com/kubernetes-incubator/cri-o/oci.(*Runtime).UpdateStatus(0xc4202afc00,
0x0, 0x0, 0x0)
        /home/amurdaca/go/src/github.com/kubernetes-incubator/cri-o/oci/oci.go:549
+0x7d
github.com/kubernetes-incubator/cri-o/server.streamService.PortForward(0xc42026e000,
0x0, 0x0, 0x0, 0x0, 0xc420d9af40, 0x40, 0xc400000050, 0x7fe660659a28,
0xc4201cd0e0, ...)

The issue is streamService.PortForward assumed the first argument to
be the sandbox's infra container ID, thus trying to get it from memory
store using .state.containers.Get. Since that ID is of the sandbox
itself, it fails to get the container object from memory and panics in
UpdateStatus.
Fix it by looking for the sandbox's infra container ID starting from a
sandbox ID.
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

@mrunalp PTAL

You can see here the first argument is the sandbox ID, not the infraContainer ID, https://github.com/kubernetes/kubernetes/pull/35661/files#diff-16c44fd3516b9794e49c760f0af2d777R81

Looks good 👍
Sent from my iPhone

On May 28, 2017, at 8:32 AM, Antonio Murdaca<EMAIL_ADDRESS>wrote:
You can see here the first argument is the sandbox ID, not the infraContainer ID, https://github.com/kubernetes/kubernetes/pull/35661/files#diff-16c44fd3516b9794e49c760f0af2d777R81
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

LGTM

all green except oom test


fix: add platform/arch to variant for rez-pip packages with entry point scripts

Fixes #1286

I looked at the build failures and I'm not too sure what's going on. And our builds are being massively queued right now, which makes debugging quite difficult.
Also, you will have to sign off your commits. See https://github.com/AcademySoftwareFoundation/rez/pull/1287/checks?check_run_id=6716785034.

Actually, wait a little bit, we have another failure on master.

Alright, you can rebase now. The issue has been fixed and the workflow should work.

@JeanChristopheMorinPerso Cool, thanks. Rebased and updated from your notes. Looks like builds are succeeding now.

I did not have the chance to actually test myself but it looks good to me and is also an important fix (specifically on windows). At some time in the future i would like to revisit rez-pip, move to a more sensible approach to the file mapping and also add less specific variants for pure python packages without entrypoints. Good one!


Hotfix/scoping green

👋 Thanks for creating a pull request! 🚀 Checkout the storybook we've created for it: chlorophyll


fixes #103 just by providing a useful failure message

I thought in any case this error message could be more useful. There might be various folks spinning up lair keystore processes decoupled from holochain, and they might run into it.

@maackle and @neonphog can yous check this and merge it?

@Connoropolous - the clippy fixes have been merged into main. Can you update / see if CI passes?


Hot reload

Hot reload doesnt seem to be working on Android out of the box. What to do?

@rumfiske I am just now noticing this issue is also happening on iOS. I will begin looking into it, and implement a fix ASAP.

@rumfiske Should be good to go on iOS and Android!

Worked aften i deleted nodejs and removed the resolutions in package.json. not sure why, but multiple People have mentioned it on other sites. Thanks for quick response. Awesome repo, now making secound app with it :)

Thanks a lot! Glad to hear that you're enjoying using it!


Remove the duplicate component names

Refactored the JSON objects used to seed the environment config by eliminating duplicate components in the usedIn field. As a result, hovering over the information icon in the environment variable screen will now only display unique elements.

@jugnu-appveen


feat: Update docs, removed example, added code snipt to Readme

1- Update the README.md with:

A high-level description of how this module works.
Usage is an HCL code snippet of the module block that would be
implemented in another Terraform project.
Re-order and update the Authors and License sections.

2- Add/update the following pipelines:

Add a docs pipeline to be consistent with terraform-snowflake-rbac and
update README.md to specify which part of the document is populated via
a template.
Add a format pipeline to be consistent with terraform-snowflake-rbac.
Add a security pipeline to be consistent with
terraform-snowflake-rbac.
Add a validate pipeline to be consistent with
terraform-snowflake-rbac.
Update the release pipeline to be consistent with
terraform-snowflake-rbac. Be sure to add the .releaserc.json
configuration file to the root of the module.

3- Add a CODEOWNERS file to the repository to be consistent with
terraform-snowflake-rbac.
4- Update the dependabot.yml configuration file to be consistent with
terraform-snowflake-rbac.

This PR is included in version 1.0.0 :tada:


Password protected sites

Was trying to test this on sites I've made with passwords, is there a way to get it to go past the login page if I log it in on the browser or a way in the UI? It just does my login page.

No because the screenshot is taken on the server. Can you just grab the screenshot yourself? There are browser extensions that will let you grab the full page even below the fold.

Ok - will give it a go this way (just wanted to pipe a whole bunch of stuff through we made). Much appreciated.

@ryanjAA would love to learn more about your use case if you're open to a quick chat. You can email me at<EMAIL_ADDRESS>


loss function on CRF layer

I want to apply a CRF layer on top on two-layered bi-lstm network for a NER model. But I figured the crf layer in the addon doesn't have a loss function implemented. I wonder how do I implement a loss function for training? Thanks ahead!

Hi @kakatrina, can you take a look at https://github.com/tensorflow/addons/blob/master/tensorflow_addons/layers/tests/crf_test.py#L125-L164. Thank you!

Closing. Please let us know if the example in the test case is insufficient.


Content outside markdown-style doesn't adapt to dark/light mode changes

When the system changes from light mode to dark mode, the markdown-style element correctly switches style too.
The body itself though does not. Neither does the dark mode switch, nor the github corner (although the github corner still kinda works in dark mode like this).
I see the dark mode switcher already switches CSS variables on the body and those are used in the markdown-style element, so maybe the dark mode switcher could hook into the system event to trigger the same function there, switching everything between modes, then the markdown-style element doesn't need the hook itself (unless there's other CSS in there I haven't seen, I'm not a web dev😅).

@Regenhardt Follow the system to switch between light and dark themes?

Yes the operating system or browser. If the browser is set to follow the OS, the website gets the theme change event when the device (I tried Windows and Android) changes theme. The markdown-style element hooks listens to the, the rest does not.

I'd try to do that myself but I don't understand how those html strings in the ts files work, they look jumbled already.

@Regenhardt
$ markdown-to-html-cli --dark-mode auto
$ markdown-to-html-cli --dark-mode auto --markdown-style-theme dark
$ markdown-to-html-cli --no-dark-mode --markdown-style-theme dark
$ markdown-to-html-cli --markdown-style-theme dark

- name: Converts Markdown to HTML
  uses: jaywcjlove/markdown-to-html-cli@main
  with:
    source: README-zh.md
    output: coverage/action.html
    dark-mode: auto
    markdown-style-theme: dark
    markdown-style: "max-width: 1260px"
    github-corners: https://github.com/jaywcjlove/markdown-to-html-cli

Here's an example. I made a simple page (with --dark-mode auto) and visited it in light mode:

Now I change my PC to dark mode:

and this happens:

As you can see, the content (<markdown-style>) switches theme, the rest does not.

$ markdown-to-html-cli --dark-mode auto --markdown-style-theme light --no-corners

@Regenhardt  I used the above command to generate the page and found no problems.

Ok so I did some tests and apparently this only happens when called from my custom domain (https://regenhardt.dev), but it works fine when called directly (https://regenhardt.gitlab.io). Any idea how that is possible? The custom domain literally routes to the same server as the gitlab.io domain.

@Regenhardt  Both pages work fine on my computer. I guess it might be a browser cache issue.

permanent for local storage, remembers the currently selected theme. With the --dark-mode auto option, no theme selection records will be stored.
@Regenhardt

Ok I found it: Firefox still had the theme saved in local storage, so I guess that triggered part of the website keeping the theme even after reloading with clear cache. After emptying local storage for the custom domain, it now also automatically changes as a whole. Thanks for the help!


[DDW-1075] Upgrade cucumber & setup new rerun feature

This PR improves our e2e test setup with two new features:

Fail fast + save skipped test cases: whenever a test case fails, the rest of the suite is skipped and the whole test run fails immediately. A reference to the failing test case + all remaining cases that haven't yet been run are automatically saved into a special file on disk that allows you to rerun only these remaining tests.

Rerun failed test case + remaining cases: yarn test:e2e:rerun and yarn test:unit:rerun can now be used to rerun the last failed test case + the skipped ones from the previous failing run.

Together this brings a much smoother UX for running the whole test suite, especially if there are flaky test cases that sometimes fail for no good reason.
To make this possible i upgraded cucumber and cucumber-pretty to the latest versions.

Testing Checklist

Slack QA thread
[ ] Test

Review Checklist
Basics

[ ] PR has been assigned and has appropriate labels (feature/bug/chore, release-x.x.x)
[ ] PR is updated to the most recent version of the target branch (and there are no conflicts)
[ ] PR has a good description that summarizes all changes and shows some screenshots or animated GIFs of important UI changes
[ ] CHANGELOG entry has been added to the top of the appropriate section (Features, Fixes, Chores) and is linked to the correct PR on GitHub
[ ] Automated tests: All acceptance and unit tests are passing (yarn test)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn dev)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn package / CI builds)
[ ] There are no flow errors or warnings (yarn flow:test)
[ ] There are no lint errors or warnings (yarn lint)
[ ] There are no prettier errors or warnings (yarn prettier:check)
[ ] There are no missing translations (running yarn manage:translations produces no changes)
[ ] Text changes are proofread and approved (Jane Wild / Amy Reeve)
[ ] Japanese text changes are proofread and approved (Junko Oda)
[ ] UI changes look good in all themes (Alexander Rukin)
[ ] Storybook works and no stories are broken (yarn storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly commented and documented
[ ] Code is properly typed with flow
[ ] React components are split-up enough to avoid unnecessary re-renderings
[ ] Any code that only works in main process is neatly separated from components

Testing

[ ] New feature/change is covered by acceptance tests
[ ] New feature/change is manually tested and approved by QA team
[ ] All existing acceptance tests are still up-to-date
[ ] New feature/change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review

[ ] Merge the PR
[ ] Delete the source branch
[ ] Move the ticket to done column on the YouTrack board
[ ] Update Slack QA thread by marking it with a green checkmark

@daniloprates please review this one 🙏

@DominikGuzei also please run yarn lockfile:fix which will remove integrity lines from the yarn.lock file and thus fix CI builds 🙏

@nikolaglumac all done and ready for final review 👍


Edit Manga Source

Describe your suggested feature
Being able to change the source address of the manga is constantly changing and we have to wait to correct the extension that is often discontinued.
This way, we can edit the link and continue accessing our manga.
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.4.
[X] I will fill out all of the requested information in this form.

Not Mihon's concern. Ask the your repo maintainer.


[Android] Fix font weight numeric values

Summary

This issue fixes https://github.com/facebook/react-native/issues/25696 fixes https://github.com/facebook/react-native/issues/28854 fixes https://github.com/facebook/react-native/issues/26193
Since Android API 28 it is possible to specify fontWeight with numerical values ranging from 100 to 900
This pr uses the new Typeface.create() method available on Android API 28+ to set font weight value ranging from 100 to 900, while still keeping existing functionalities (custom fonts, bold/italic and other styles).
https://developer.android.com/reference/android/graphics/Typeface#create(android.graphics.Typeface, int, boolean)
Changelog

[Android] [Fixed] - Fix font weight numeric values
Test Plan
Works in all scenarios.

CLICK TO OPEN TESTS RESULTS

BEFORE
AFTER

AFTER
AFTER

AFTER

Looks good!

The microsoft tests are broken

I did not change the js logic
The changes have nothing to do with Pressability
The changes have nothing to do with Microsoft platform

Unluckily the biggest problem of tests is that they take you lot of time to write, mantain and sometimes those expectations do not really troubleshoot software issues. If you tried to run the react-native test suite on local environment, you'll end up troubleshooting infinite amout of errors see https://github.com/facebook/react-native/issues/28870
I would be happy to work on the Android test suite and make it easier to run on local env, but somebody should open and assign me some issues that  I can solve on the Android Test Environment. Thanks
FAIL Libraries/Pressability/__tests__/Pressability-test.js (5.915 s)
  ● Pressability › onPressOut › is called after the minimum press duration by default

    expect(jest.fn()).not.toBeCalled()

    Expected number of calls: 0
    Received number of calls: 1

    1: {"bubbles": null, "cancelable": null, "currentTarget": 42, "defaultPrevented": null, "dispatchConfig": {"registrationName": "onResponderRelease"}, "eventPhase": null, "isDefaultPrevented": [Function mockConstructor], "isPropagationStopped": [Function mockConstructor], "isTrusted": null, "nativeEvent": {"changedTouches": [[Circular]], "force": 1, "identifier": 42, "locationX": 0, "locationY": 0, "pageX": 0, "pageY": 0, "target": 42, "timestamp":<PHONE_NUMBER>000, "touches": [[Circular]]}, "persist": [Function mockConstructor], "preventDefault": [Function mockConstructor], "stopPropagation": [Function mockConstructor], "target": null, "timeStamp":<PHONE_NUMBER>000, "touchHistory": {"indexOfSingleActiveTouch": 0, "mostRecentTimeStamp":<PHONE_NUMBER>000, "numberActiveTouches": 1, "touchBank": []}, "type": null}

      654 |
      655 |       jest.advanceTimersByTime(120);
    > 656 |       expect(config.onPressOut).not.toBeCalled();
          |                                     ^
      657 |       jest.advanceTimersByTime(10);
      658 |       expect(config.onPressOut).toBeCalled();
      659 |     });

      at Object.<anonymous> (Libraries/Pressability/__tests__/Pressability-test.js:656:37)

Test Suites: 1 failed, 127 passed, 128 total

@fabriziobertoglio1987 What about iOS?

@JoshuaGross The below are tests on iOS emulator from latest master branch (BEFORE) and from fix-font-weight branch (AFTER). I don't detect any issue on iOS.
Additionally I added a new commit https://github.com/facebook/react-native/pull/29117/commits/e03864e72e8a95aa6f48f3e182186c1c5f48ce00 to include same example on ios RNTester.
Please contact me for any further work, improvements or issues. I will immediately fix them.
Thanks a lot
I wish you a good day
Fabrizio Bertoglio

BEFORE
AFTER

AFTER https://github.com/facebook/react-native/pull/29117/commits/e03864e72e8a95aa6f48f3e182186c1c5f48ce00

AFTER
AFTER

@fabriziobertoglio1987
Hey, it says your Merge has failed. As a result, fontWeight in android is still not applied to numeral values. Can you check it again?

Thanks for reviewing this pull request @LeeKyungJoon, currently I am working on another Pull Request full-time and I'm sending you a quick reply. I will come back to this pull request and re-execute all the tests/verify everything is working correctly in 2-3 days.

Hey, it says your Merge has failed. As a result, fontWeight in android is still not applied to numeral values. Can you check it again?

Your message is not not clear to me. I don't know if you are trying to implement this fix/pull request, in such case you will need to build ReactAndroid from source.
This pull request is not yet merged to master. Once the pull request is merged in the react-native master branch, you can expect it to be available as npm package as a release candidate for testing, then will be published as release. You can upgrade at that time react-native dependency and use the upgrade tool and use the numeric falues for the font. You can expect it to be available as npm package in 2-6 months.
Instead, If you are referring to potential merge conflicts from this commit https://github.com/facebook/react-native/pull/29117/commits/e03864e72e8a95aa6f48f3e182186c1c5f48ce00 and to the fact this branch was written on an Ubuntu Machine and then tested on MacBook machine. I did not make any changes to this pull request using the MacBook, but just checkout and test this branch. The commits were all written on my Ubuntu machine, as sometimes using 2 different machines to change the same branch will create merge conflicts. I rebased before publishing the Pull Request and all CI tests are passing.
Thanks a lot
I remain available for further help
Fabrizio Bertoglio

@fabriziobertoglio1987
답변해줘서 고마워. 지금 당장으로썬 필요하지는 않아. 다만, 조금 더 정확한 fontWeight를 구현하고 싶어서 numeral values 사용하려고 했어. 지금 react-native 63.0을 사용 중인데 혹시 이 version에 적용이 되어야하는데 적용이 안되는건가 했었어. 그리고 내 질문 중에 merge가 실패했다는 말은 Merging is Blocked라는 표현을 오해한거야. 미안해.
"You can expect it to be available as npm package in 2-6 months."
이 말을 믿고 기다릴게.
다시 한번 답변해줘서 고마워

Typeface.create(typeface, weight, italic);

This is only available to Android API >= 28.

Typeface.create(typeface, weight, italic);

This is only available to Android API >= 28.

@stackia thanks a lot. You are right. I will try to fix it as soon as possible. Sorry. I wish you a good day. Fabrizio

@stackia Thanks a lot for your help
This is the screenshot of the functionality disabled on API < 28

relative to information included in commit https://github.com/facebook/react-native/pull/29117/commits/7dbeee527deecd3e41bfe91049e7eccec65de780 message. Log messages will notify the user of this issues.
As you can see below, rubik bold is not bold as they set {fontWeight: 700}, more information included in commit https://github.com/facebook/react-native/pull/29117/commits/7dbeee527deecd3e41bfe91049e7eccec65de780 message.

AFTER
AFTER

AFTER
AFTER

Hi, any idea when this can be deployed? We'd love to get our styling working with more recent version of React Native! :)

Can anyone merge this branch? Why isn't this merged already? Styling is messed up in 0.63.2!

Please, is it possible to merge this PR in the next version ?

any update??

The only way to have this branch merged is testing it following instructions at https://github.com/facebook/react-native/wiki/Building-from-source#publish-your-own-version-of-react-native, react-native is growing in popularity and there has been a great increase in pull requests (300 open prs) so not all can be reviewed/tested by the Facebook team. I also prepared a video introduction trying to share all the knowledge earned while contributing to ReactNative, check it out at https://youtu.be/9RQ2GiApkzU to have a soft introduction to this pull request. I talk about this pull request in the video. Thanks a lot for the support. I wish you a good day!

@fabriziobertoglio1987 Thanx for your answer (I got a look on your video) but still don't understand why this PR is not merged. You say :

The only way to have this branch merged is testing it following instructions

Why this process has not been followed, who should do that ? The facebook team, the PR owner ?
"

Tried using https://www.npmjs.com/package/patch-package to bring in these changes to RN 0.62. Did not see any changes to the fonts for my android simulator API 29. Is patch-package not able to resolve this?

@FrederickEngelhardt you can follow this instructions  https://github.com/facebook/react-native/wiki/Building-from-source#publish-your-own-version-of-react-native to build the ReactAndroid binary with docker and you can configure your react native android project to use such version. Thanks

Any update about the merging?

Any update about the merging?

Please, is it possible to merge this PR in the next version ?

To answer the question of when this pr will be released in the next version of React Native, I suggest you to follow the discussions at https://github.com/react-native-community/releases/issues by subscribing to those threads. The process of releasing a new version with a bug fix is the following:

an Issue is opened in facebook/react-native
a contributor writes a Pull Request to fix/close the react-native Issue
once the Pull Request is merged, the issue is closed. The review and merge is performed by the Facebook Team that works on the Facebook Ads App running React Native from source. Currently we have 351 open pull requests so the review and merge may take some time.
The fix is tested in Facebook Ads App running React Native from master for several months
For each realease (the upcoming one is 0.64.1) there will be a separate discussion on https://github.com/react-native-community/releases/issues to discuss
In this discussion everyone can request a commit to be cherrypicked from master. The link need to be from the a commit from master (for ex. https://github.com/facebook/react-native/pull/29157#issuecomment-651430945) and not a Pull Request not yet merged in master :peace_symbol: :pray:

can we get this reviewed and merged ?
-- Thank you!

@dulmandakh
Hi. You are a core contributor and were the author of #25341 - could you please review this PR and get this merged?
It's been 662 days since #25341's breaking change was introduced in 59.10.
It's been 317 days since @fabriziobertoglio1987 provided a working fix.
Is there anything we can help you with to get this approved asap?
Best,
Maurice

It's bizarre to have only 'normal' and 'bold' font weights on Android but variable font sizes work on iOs
RN .64
on Android 700 defaults to 'Bold'
800+ becomes 'normal'
Now I have to implement platform specific font weights &/ somehow generate a font for each weight from a single font or disregard app designs to get the app to look similar on iOs + Android

Is there an update on this? How could we help get this through the door?

Thank you for your contribution, @fabriziobertoglio1987. I just verified this locally (and made some notes for what this change means for Fabric) and expect it to be merged after Facebook CI succeeds.

If you'd like to help give this a better chance to be part of 0.64.3, upvote this comment for visibility in the upcoming v0.64.3 cherrypicks discussion:
https://github.com/react-native-community/releases/issues/232#issuecomment-860787470

this will be the part of 0.66 🎉

this will be the part of 0.66 🎉

Seems it's already in 0.65.x

@fabriziobertoglio1987 thanks for caring 👍

This still doesn't work. I wonder if no one at facebook is using bold font faces in their apps?

https://github.com/facebook/react-native/issues/26193#issuecomment-926383825


fix(graphql-auth-transformer): fixes @auth directives for Admin UI

Description of changes

This fixes a scenario in with the Manage - Content section Admin UI no longer functioned in specific scenarios due to authorization errors from the AppSync API.
Issue
If a user deployed an API with models that had less than full @auth operations directives (blank or ["create", "read", "update, "delete"]], the generated schema would not include the @aws_iam directive on the mutations as needed by the Manage - Content functionality.
For instance, if the schema looked like this:
type Post @model @auth(rules: [{allow: public, operations: [read, update]}]) {
      id: ID!
      title: String!
      createdAt: String
      updatedAt: String
  }

The transformed schema would have an update mutation that looked like this
updatePost(input: CreatePostInput!):  Post @aws_api_key @aws_iam'
This would ultimately present itself with the Manage - Content section of the Admin UI failing to initialize DataStore or with failures to delete or update objects on the affected data model.
Fix
This changes the order in which the directives are transformed, to add the requisite iam @auth rules to the underlying schema before the rules are split into operations.
Because the operation split had been happening before the iam rule was added, the mutations were ignored when adding proper directives to the transformed schema.
Description of how you validated changes
Unit tests were added for the affected scenarios. Use cases were also tested by using the development branch CLI to push schema.graphql changes directly to a previously broken app.  The Manage - Content section was verified to work.
Checklist

[X] PR description included
[X] yarn test passes
[X] Tests are added (https://github.com/aws-amplify/amplify-cli/blob/master/CONTRIBUTING.md#tests)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Don’t we need that policy to allow the IAM users of the Admin UI to manage content?

Doing this change will add this rule {allow: 'private', provider: 'iam'} into operation rules since the split happens after we do the amplify admin check. When passed into the mutation functions it'll add the directive and the policy into the auth role.
Example if you have the following schema
type Post @model @auth(rules: [
  { allow: private, operations: [read, update], provider: iam }]) {
  id: ID!
  title: String
  description: String
  createdAt: AWSDateTime
  updatedAt: AWSDateTime
}

It will generate a policy to allow private (in this case the auth role) access to create a post.
Can we do the admin check in addDirectivesToOperation and add a unit test to verify the policy generation? This way we don't create unwanted policies.

Won't this add the rule and policy if AdminUI is enabled? I think this is fine.
Do we need to check for duplicates when adding this rule if AdminUI is enabled?

Codecov Report

Merging #7035 (bcd6253) into master (c8069bd) will increase coverage by 0.01%.
The diff coverage is 89.58%.

@@            Coverage Diff             @@
##           master    #7035      +/-   ##
==========================================
+ Coverage   51.53%   51.55%   +0.01%
==========================================
  Files         486      486
  Lines       25053    25063      +10
  Branches     4915     4923       +8
==========================================
+ Hits        12912    12921       +9
+ Misses      11189    11188       -1
- Partials      952      954       +2

Impacted Files
Coverage Δ

...aphql-auth-transformer/src/ModelAuthTransformer.ts
88.76% <89.58%> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Does every video need to be trained before editing?

Use a 15s 1080p video as a benchmark and a 3090 24G graphics card to train the video model about how long (amp+cpu version)?

You can train on your own video following NLA

Because my current graphics card cannot working, but I like this project very much, so I want to know a general situation, if this time is acceptable to me, then I plan to upgrade my graphics card. Can you give me a rough estimate? Thanks very much!

I am glad you like this project. Here is a approximated cost
Training and evaluation requires ∼5GB GPU memory with videos consisting of 70 frames with resolution 768 × 432 and the checkpoint size is 14.3MB. Training our model takes about 10 hours per video, and reconstructing every video takes roughly 7 minutes on an NVIDIA Quadro RTX 6000 GPU.

Okay, got it. Thank you


Specify Custom Scales?

I wanted to check up on the status of custom scales (see #185, which was closed due to inactivity).  As noted in the previous issue, this is a pretty important / useful feature.
Are any of the contributors currently working or planning to work on this?  Otherwise, is this PR-able?
Thanks!

Everything is PR-able! :+1:

@MatthewHerbst Sounds good, I'll try to pull a PR together over the next few days.

We did this. See: #286


Upgrade Docker Container loses memos - AGAIN

Describe the bug
I am having this issue #613 since I upgraded to the latest version with docker-compose pull command:
How can I fix this this ?
Steps to reproduce

docker-compose pull
docker-compose down
docker-compose up

Screenshots or additional context
No response

Did you back up your database?

Unfortunately no !

Unfortunately no !

Unfortunately too, the damage is irreparable. The first version of v0.15 had some problems, and now a second version, v0.15, has been released, which solves the database problems.

(-̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥᷄_-̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥̥᷅ )

@axelder Sorry for your data loss. I encountered this issue page while researching memos before installation. I will definitely add a cron job to regularly backup my database.


Add -explain-module-dependency-detailed new driver flag

This flag will be used to have the driver print out all possible paths to the argument dependency module name. -explain-module-dependency will print the first discovered such path, in order to produce an answer sooner.

@swift-ci smoke test


One of the config settings doesn't work.

The config option to not have animations on the chunks right below/around your c haracter does not work. Making it still have time where there is no chunk under your character loaded even when changing that option to true and clicking save.

Please state your versions as requested by the bug report template.

My version is 1.16.5.

And you're definitely on latest Chunk Animator (currently 1.2.4 for 1.16.5)?

Yes

I downloaded the day I made the github issue since thats when I found the issue.

Works fine for me. Note that it will not stop an animation that has already started so when you're flying around they might sometimes animate under you if you are flying too fast but shouldn't be a problem if your computer can load chunks at a decent speed.
I'm going to close this for now but if you think this is still an issue then please do re-open.


GitHub authentication callback doesn't get to the right window in today's insiders

Today, when I tried to authenticate with GitHub (for Copilot), the redirect opened a whole new vscode window and didn't work.
I've tried it multiple times, and only with a single vscode window open, but it always has the same behavior.
I don't know if this is just today, but it is very recent.
/cc @TylerLeonhardt

I also can reproduce this issue on two Windows devices.
Looks like duplicate of #142685 or at least related.

/duplicate #142685
Thanks @IllusionMH!


Update interpol.tex

The triangle for barycentric coordinates was named p1p2p3, but is referred to as p0p1p2 in the equations and figure

cheers!


Avoid using arbitrary stage-1 ECMAScript features

We don't want to condone arbitrary JavaScript syntax proposals which
haven't been standardized yet. So drop the stage-1 babel preset and
replace it with the explicit two features that the code currently uses:
object spreads and class properties.

No objections here. @jkozol will you take a look at this too?

object spreads are currently only at stage 3, thus ideally it wouldn't be used yet in production code. I might look into porting the code away from it, to Object.assign().
Class properties are also only at stage 3. They are reasonably easy to avoid, but this needs some care as e. g. replacing a foo = () => {} method definition with foo() {} will require an additional .bind() call to make sure this is correct.

Codecov Report

Merging #155 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #155   +/-   ##
=======================================
  Coverage   37.66%   37.66%
=======================================
  Files          73       73
  Lines        2257     2257
  Branches      298      298
=======================================
  Hits          850      850
  Misses       1196     1196
  Partials      211      211

Continue to review full report at Codecov.

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

I pushed a followup commit which ports the code away from the object spread operator. The first commit passed tests , so if you prefer I can propose the porting as a separate PR.

This looks good to me. Is there any issue with us using generator functions?

@jkozol: No, generator functions are  part of es2015, so they are fine.

I now ported the other non-standard extension (class properties) to ES2015. IMHO it does not really improve readability and was not consistently used anyway, so this makes the code more consistent.

Any reservations about the third commit? Or can this be merged? Thanks in advance!

No objections from me. @jkozol will you give this one last look and merge if you're ok with it?

This looks good to me too. Thanks for making the code more consistent.


Nuxt.js + actioncable-vue

Describe the bug
I'm having an issue getting actioncable-vue to work with Nuxt.js As for my Nuxt.js setup, I'm using it with Typescript support. I followed the steps described specifically for Nuxt.js (updating nuxt.config.js & adding plugin), however, when I start the application, the issue I get says You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
To Reproduce
Steps to reproduce the behaviour:

Create Nuxt.js project with Typescript support
Update nuxt.config.js and add plugin as described in README.md file
Start the application
Error appears

Expected behaviour
Application runs without the error
Screenshots

Plugin version (please complete the following information):

nuxt (2.12.2)
actioncable-vue (2.1.0)

Additional context
None

Ahh. Interesting. Give me a few minutes to read up on loaders. I'll publish a new version that you can test in your project and let me know if the bug is fixed.

@z0dz0dz0dz0d Please try this build and let me know if it works.

@mclintprojects thank you very much for such a quick answer!
Unfortunately, the fix didn't help - I've replaced content of actioncablevue.js and rollup.config.js.

@z0dz0dz0dz0d Kindly try this too.

I just created a test Nuxt project locally and that build works. I'll publish a new build to NPM now. Thanks for your help!

I just tried pulling the latest package (confirmed its 2.1.1) and it didn't work. I've also tried to manually update built, that also didn't work.

That's really weird because I created a brand new Nuxt project and tested that it works correctly.
Is there anything non-default about your Nuxt project?

Nothing particular. It uses Vuetify and Typescript.

Whew! Finally fixed this. Please update to v2.1.2.


As a teacher, I want to be able to login

...so I can get a personalized view of my modules and classes.

Implemented.


Enhance and Standardize CONTRIBUTING.md

In this issue, we aim to enhance and standardize the content of the CONTRIBUTING.md file within the project repository. The current CONTRIBUTING.md file contains valuable information for potential contributors but needs improvement to make it more informative and user-friendly.
Key tasks for this issue include:

Reviewing the existing content to ensure clarity and completeness.
Adding sections that explain the project's code of conduct, code formatting guidelines, and developer certificate of origin (DCO).
Formatting the document to be more reader-friendly, with clear headings and organized sections.
Ensuring that contributors understand the licensing requirements and best practices when submitting code.

The objective is to provide a comprehensive and accessible guide for community members who wish to contribute to the project. The improved CONTRIBUTING.md will support a welcoming and collaborative environment for contributors, promoting the growth and success of the OSHI-FFM project.
If you like the idea please do assign me this to work on. @hazendaz @mprins @dbwiddis @ronan696

Hey @HimanshuMahto, thanks for your interest. This issue seems somewhat boilerplate.
Given very little participation on this repo over the last year we're probably going to move the code from here to the main repo, so it's unlikely that improving the docs here will do much.


menu - standard features & demo

Hi
One part not well documented is the menu component. I am trying to replicate the basic functionality on one of the standard semantic demos
(https://semantic-ui.com/examples/homepage.html)
However this type of menu configuration does not seem supported?
Thanks

Hi, to clarify, are you meaning how the menu appears only when the jumbotron is scrolled out of view?

Hi
Thanks for the speedy reply. To clarify no i think that part can be done with some manual code methods in angular.
If i look at the html in the demo site and look how the menu is structured, its hard to replicate with the demo for the ng-semantic ui example which has a different structure.
The demo has:

  Home
  Work
  Company
  Careers
  Login
  Signup

And then it has

The ng2-semantic uses:
<sui-sidebar-container>
    <sui-sidebar class="vertical inverted" transition="uncover" direction="left" #sidebar>
        _??? what goes in here? the _
    </sui-sidebar>
    <sui-sidebar-sibling [isDimmedWhenVisible]="true">
     _.... what goes in here the main page?
..._

Thanks.

Ahh I see what you mean. Take a look at #89, does this solve your use case? I think it has some code examples that explain usage of the sidebar component too 😄


feat(avm-simulator): add to_radix_le instruction

Please read contributing guidelines and remove this line.

#6308  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @IlyasRidhuan and the rest of your teammates on  Graphite

Docs Preview
Hey there! 👋 You can check your preview at https://663d360b22096c545ed3d0f2--aztec-docs-dev.netlify.app


Cancelling forever-lived HTTP request

Currently Piaf doesn't expose a way to stop an HTTP request that lives forever after Body.to_string_stream is called.
Example
https://mainnet.api.tez.ie/monitor/valid_blocks

What happens if you call Piaf.Client.shutdown?


Pdf export

Description
Please include a summary of the change and which issue is fixed. Please also include relevant context. List any dependencies that are required for this change.
Changes attempts to create the PDF export function with this pull request. Updated package.json to include pdfkit dependencies along with other dependency version updates. Updated src/components/App.js to to include downloadPDF that follows the downloadExcel format for collecting inputs but outputs differently with a summary table and a match table into one document. Also updated src/components/ResultsOptions to include an ExportPDF Button. Updated the directory of setUpTests from utils to directly under src for the sake of testing. Also included testing files ResultsOptions.test and texPdfExport.
Fixes # (issue)
Resolves #53
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Testing
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
To run tests, run in command line:
-npm install
-npm test
(with the assumption that all dependencies are locally updated)
ResultsOptions.test (Tests the UI interaction between user and component)
(Created a group of mock props that's supposed to represent various methods and data that ResultsOptions depends on)

[ ] Test 'renders PDF export button'  tests to ensure that the PDF Export button is present and renders correctly.
[ ] Test 'calls downloadPDF and tracks event when clicking export button' tests the ReactGA.event is called and downloadPDF function is invoked.
[ ] Test 'shows error toast when PDF export fails' tests that an error message is outputted to gracefully handle errors.

testPdfExport.test (Tests the outputted format of document)
(beforeEach sets up new mockPDF instances for each test cases and afterEach clears all mock calls on data to prevent cross-test interference)

[ ] Test 'should generate a PDF with match data' tests that the pdf is generated with correct structure and data
[ ]  Test 'handles PDF generation errors' tests the handling of errors during PDF generating

Test Configuration
This test configuration uses Jest as the primary testing framework with React Testing Library to simulate user interactions. Mocking tools like jspdf allow us to test PDF generation functionality without creating actual files, ensuring the methods like autoTable and text are called correctly. The environment is isolated through beforeEach and afterEach hooks, resetting state between tests. Additional dependencies like react-ga4 are mocked to validate analytics tracking. The tests achieve comprehensive coverage for both normal operation and edge cases, ensuring the ResultsOptions component and PDF generation logic behave as expected.

Library version:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

OS: macOS Sequoia 15.0.1

Toolchain:
-Node.js 22.12.0
-npm: 10.9.0
-Webpack: 5.1.4
-TypeScript: 5.5.4

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

Opening Pull Request after update on issue linking

Opening Pull Request after update on issue linking

Opening Pull Request after update on issue linking

Reopen Attempt


feat(templates): consolidation

This PR is strickly only for the consolidation of email templates between national and affiliates.
The first step was to create a dataLoader.html test to test a base template in Sailthru before I updated our current templates.
There will be a total of 4 templates:

Banner
Event
Letter (renamed from standard)
Sidebox

So far, only the banner templates have been tested. We still need to test and update the components for the sidebox and event. The letter template should be squared away already.

How to review

Clone the repo git clone https://github.com/aclu-national/email-builder.git
Move into the directory with cd email-builder
Change the branch for the PR git checkout pavel/consolidation
Install all packages with npm install
Build the templates with npm run build
Go into the dist/templates/base for a built templates to test
Head over to Sailthru and changed to the ACLU-Dev environment.
In the campaigns section, find the campaign 24XXXX NAT GradeAD Template Test.
Choose CAN Test for the target Audience.
When selecting a template, please use Data Loader Test.
Copy the code from the dist/templates/base files. Paste each file into Sailthru and inspect that all output is correct.
Once you tested you final templates, update the campaign name to check the information updates. Instead of the current campaign name 24XXXX NAT GradeAD Template Test, update NAT to AK. This is what it should look like 2403XX NAT GradeAD Template Test.
If everything looks good, you can finally approve the PR changes.

:tada: This PR is included in version 1.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


added support for rounded style flags.

Rounded flag icons tend to be an attractive alternative to square or rectangular icons. While it's easy to add the extra css within one's app, it's also easy enough to add directly to the library.
Usage is to add the flag-icon-rounded class instead of flag-icon-squared.

HI Panayotis, you never explained why you turned down this PR. Any specific reason, or just not interested?

@lipis I'm interested in round flags too.

@lipis I also could use rounded flag icons.