HDDS-3185 Construct a standalone ratis server for SCM.

What changes were proposed in this pull request?
Standalone SCM RatisServer
(Please fill in changes proposed in this fix)
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3185
(Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HDDS-XXXX. Fix a typo in YYY.)
Please replace this section with the link to the Apache JIRA)
How was this patch tested?
UT
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

Thanks to work on this @timmylicheng
I am confused a little bit because this was the last message on the mailing list:

I've had several sync-up calls offline about SCM HA's design principles and basic ideas.

The doc in the link is in draft and due to the complexity of this feature, I'm still trying my best best to add more details into this doc.

Will keep you guys posted on the progress. And I will schedule a review meeting with Ozone community on this in the following weeks.

https://lists.apache.org/thread.html/r68b9de5a0cb1adda449aabb9391e9baed1e06e74e0107f57cd034811%40<ozone-dev.hadoop.apache.org>
It's just not clear for me if the design is final and the implementation is started or still under discussion?

@elek Hey Marton,
So far the doc work is ongoing in parallel with prototyping.
The doc still needs improvements and I will find time to work on that.
This patch is only to work on a prototype of SCM HA to get a feeling of it. To have Ratis server and state machine for SCM doesn't have debates. Current discussion for design is to collect how to handle Raft transaction for all different types of actions and reports on SCM. Besides going thru the current code base to make analysis, I'm also probing by prototyping. I start off implementing a stand alone Ratis Server and make steps.
I will try to finalize the design doc and schedule a call with the community to include more guys.

+1

@timmylicheng Thanks the explain it.
I will add your explanation to the next Community Meeting minutes.
SCM-HA: First draft is already available and will be updated soon based on the existing feedback. Prototype implementation has been started at HDDS-2823 branch.

Speaking about the code in the patch: I would suggest to use the new config based annotation model for new code:
https://cwiki.apache.org/confluence/display/HADOOP/Java-based+configuration+API
(I know it's not used everywhere, therefore it's hard to notice this movement, and some features can be still missing, but new code seems to be a good opportunity to switch to the new API)

https://cwiki.apache.org/confluence/display/HADOOP/Java-based+configuration+API

@elek This new interface actually looks nice! I have a refactor plan for OM and SCM Ratis chain. I will try to leverage with it in the refactoring work. The current way to populate configs needs some changes.

I will try to leverage with it in the refactoring work.

Thanks a lot. I am fine if it's a long-term plan (and we may need improvements on the Configuration API side, too). This API just so hidden (yet) that am trying to make it more widely known... ;-)


First implementation

Codecov Report

Merging #23 (b3bc19e) into master (f4e6a88) will decrease coverage by 23.58%.
The diff coverage is 8.51%.

@@             Coverage Diff             @@
##           master      #23       +/-   ##
===========================================
- Coverage   41.93%   18.34%   -23.59%
===========================================
  Files           4       11        +7
  Lines          31      109       +78
  Branches        8       13        +5
===========================================
+ Hits           13       20        +7
- Misses         18       89       +71

Flag
Coverage Δ

unittests
18.34% <8.51%> (-23.59%)
:arrow_down:

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

 Learn more


Refactorsilent

LGTM!
No errors, no warnings. :shipit:

  Generated by :no_entry_sign: Danger

Codecov Report

Merging #721 into master will decrease coverage by 0.08%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #721      +/-   ##
==========================================
- Coverage   55.02%   54.94%   -0.09%
==========================================
  Files         251      252       +1
  Lines       14605    14624      +19
==========================================
- Hits         8037     8035       -2
- Misses       5902     5923      +21
  Partials      666      666

Impacted Files
Coverage Δ

cli/actions/plumb_normalize_gdm.go
0% <0%> (ø)

graph/actions.go
27.6% <0%> (-2.2%)
:arrow_down:

cli/sous_plumbing_normalizegdm.go
7.14% <0%> (+0.47%)
:arrow_up:

lib/auto_resolver.go
88.05% <0%> (-1.5%)
:arrow_down:

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 4869b24...6ae7fa5. Read the comment docs.


Values inspector tool shows an undesired overflow bar

Describe the bug
When I activate the values inspector in the optical mosaic recipe, the values are showing undesired overflow x-y bars, I've tested in three different explorers and this is happening on Chrome and MS Edge.
To Reproduce
Steps to reproduce the behavior:

Use Google Chrome Version 96.0.4664.45 or MS Edge
Create any recipe
Use the value inspector

Expected behavior
Deactivate the overflow bars.
Screenshots

Maybe you can have a look at this, @lpaolini ?

Fixed and committed to master.


Change docs to reflect CUPY_ACCELERATORS

In #3461 the new env var CUPY_ACCELERATORS is documented. However, the purpose and usage of reduction accelerators should also be documented. Perhaps we can just update this description to make the distinction between routine and reduction accelerators?
https://github.com/cupy/cupy/blob/50bac854269742c5eed277208e7310ea38167a80/docs/source/reference/routines.rst#L33-L41

We should also address #2750.


build(typing): add missing type hints

Just some polishing :wink:: I've added a couple of missing type hints.

We were briefly discussing about this topic a while ago without conclusion: https://github.com/copier-org/copier/pull/1179#discussion_r1230194072 What was your point about at the end, @yajo?

Ha, I followed my own advice and read PEP 649 more carefully (it improved a lot over time). Cyclic imports and if TYPE_CHECKING are still an ongoing problem in cases where annotations need to be resolved at runtime (Pydantic models, dataclasses). So it's not always possible to put imports under if TYPE_CHECKING, and I'm not sure how Ruff handles that.

What was your point

I meant that, according to the docs, adding from __future__ import annotations will enable PEP 563, but you were talking about PEP 604 in that thread, which is only py3.10+.

use Ruff to auto-fix the code

TIL about Ruff and looks promising. I'd be glad to use that in Copier!


pkg/endpoint: refactor endpoint conf. update logic

Move code to update endpoint configuration options out of regeneratePolicy into
a separate function to improve code readability.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>Note: This should introduce no functional changes within Cilium.

This change is

test-me-please

test-me-please

@aanm , there is no change to the code logic in this PR, and that is intentional. Given that, how does the code not make sense with the given changes? I don't really want to refactor the existing code at this time, especially given the ongoing refactoring that is being performed for policy calculation.

Can't we keep the code as it is and get rid of opts instead?

I think that splitting up code into more logical functions / units reveals these sorts of odd groupings of functionality, and motivates the reshuffling of code into more logical locations. If you like, I'd be happy to create an issue to remove opts from regeneratePolicy's list of arguments.
The purpose of this PR was to make it more clear what updating steps are being performed w.r.t. endpoint configuration in relation to recalculated policy.

The only thing that it's holding me back is the name of the method "updateAndOverrideEndpointOptions" which takes a configuration map as a parameter. The problem is that we already have one method called Update that looks similar:

Given that that is the case, please suggest a concrete alternative that satisfies your requirements.


Getting an Error when using reformat.

After installing emit-sds main fully when trying to run the code as following
py reformat.py 1.nc output
I'm getting the following error:
Traceback (most recent call last):   File "C:\Users\moham\Desktop\emit-main\emit-utils\emit_utils\reformat.py", line 7, in <module>     import netCDF4   File "C:\Users\moham\AppData\Local\Programs\Python\Python312\Lib\site-packages\netCDF4\__init__.py", line 17, in <module>     from ._netCDF4 import *   File "src\\netCDF4\\_netCDF4.pyx", line 1, in init netCDF4._netCDF4 ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
What is the problem? is there anything I didn't install or missed that caused this problem to happen?

I used python reformat.py input.nc output it worked but I didn't get the expected data format, instead I got multiple different files which are not in ENV format.


Parse ambiguous enum and vars into a temporary structure

Addresses #255 (at least temporarily). Not a long term solution.


Allow specifying the path of device to be mounted

Hi, and thanks for this awesome piece of software! (especially with failures of libmtp)
However, the mounter only mounts the /sdcard on the device. I need to access both internal & external sd cards of my phone. (residing in /storage)
I didn't see any options for specifying that.
Is it supported by any tricks?! (other than rooting the device, of course)

Sounds like you're looking for the --device-root flag:
adbfs --help
usage: adbfs --device=DEVICE --mountpoint=/mnt [<flags>]

Flags:
  -h, --help                   Show context-sensitive help (also try --help-long and --help-man).
  …
      --device-root="/sdcard"  The device directory to mount.
  …
      --mountpoint=/mnt        Directory to mount the device on.
      --version                Show application version.


Clean up source repo branching

Now that brunobowden/j2objc-gradle is symmetric to all the other contributors, do you want to delete your personal branches from this repo?  I don't think any of them represent real product branches that we want people to work on, they're just your dev branches, correct?

All cleaned up

is your remote setup correctly?  you are still pushing your dev branches to the source repo.
see ex. branch brunobowden-new-usage - that should exist only in brunobowden/j2objc-gradle not j2objc-contrib/j2objc-gradle

I was experimenting editing it in the source repo and it said it could create a pull request. I won't be doing that again but instead do everything my separate repo and then the normal PR process.
I can't see the branch now... not sure if it was automatically removed?

yeah i just cleaned that one up right now that's all


Add syntax highlighting for python sample codes

It works perfectly on Github and PyPI :wink: and improve readability.

Thanks!


Make go.mod reproducible with go1.16

What type of PR is this?

/kind cleanup
What this PR does / why we need it:
The current /tools go module is initialized by go1.18 and cannot reproducible with go1.16.
With fixing that, update go version of go.mod of  /simulator.
Which issue(s) this PR fixes:

Fixes #203
Special notes for your reviewer:
/cc @196Ikuchil
/label tide/merge-method-squash

Thanks!
/lgtm


Rename to show that this can hold animation clips

I think the most useful way this extension can be used in the VRM ecosystem to store animation clips and using the skin trick to store bones meshlessly.
Criticisms, comments or jokes?
Skin trick
Combine the bones in a skin trick https://github.com/KhronosGroup/glTF-Blender-IO/issues/822

Ah, English question. What does this mean?

Criticisms, comments or jokes?

Ah, English question. What does this mean?

Criticisms, comments or jokes?

Ah, English question. What does this mean?

Criticisms, comments or jokes?

I was wanting some comments.

Arbitrary animation clips, if they somehow not fit into glTF core (e.g. when bones are not nodes), can be stored in KHR_animation_pointer.


bug(Badge): position and size on page is off

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
The position of the Badge on the Angular Material webpage is off and the wrong size for some badges.
Don't know if this is a bug in the component itself or strictly how it is displayed on the webpage
See image:

Reproduction
Link: https://material.angular.io/components/badge/overview
Steps to reproduce:

Go to webpage
Look at examples for the Badge

Expected Behavior

Expect a small badge to be smaller than default
Expect a large badge to be larger than default
Expect no badges to overlap text
Expect no badges to overlap icons
Expect badge with icon to show number 15

Actual Behavior

Small badge is not smaller than default badge
Large badge is nog bigger than default badge
Large badge overlaps with text
Icon with a badge overlaps the icon
Icon with a badge shows "1 and ellipsis"

Environment

Browser(s): Chrome Version 129.0.6668.90 (Official Build) (arm64)
Operating System: macOS

Duplicate of https://github.com/angular/components/issues/29224.


Possible redundancies between cluster-management/ and maintenance_cleanup/

It looks like we have an opportunity to do some refactoring and consolidation of a couple of our solutions. The cluster-management folder contains instructions and playbooks to deploy docker-gc, which I believe does some similar things to some of the cleanup scripts in the maintenance_cleanup/ folder. Additionally, I think maybe there is some opportunity to make these solutions more "OpenShift-y" by combining the capabilities of those two solutions and deploying them as ScheduledJobs rather than linux cron jobs.
@sal2fcVir @themoosman what do you think?

Agree on making them a ScheduledJob rather than a cron job at this point.

i think we could do most of this with a combination of a Scheduled job for docker-gc, and a set of scheduled jobs to run oc adm prune like: https://github.com/redhat-cop/openshift-management/tree/master/jobs#pruning-resources

Actually, that whole repo could probably get migrated into this one in some form. @sabre1041 what do you think?

I see no reason those shouldn't be converted to Jobs.


[FLINK-17264][scripts] Fix broken taskmanager.sh by using -eq to compare num_lines

What is the purpose of the change
Start a taskmanager on Mac via taskmanager.sh will get the following error.
wangyang-pc:build-target danrtsey.wy$ ./bin/taskmanager.sh start-foreground [ERROR] Unexpected result ( 1 lines): BASH_JAVA_UTILS_EXEC_RESULT:-Xmx536870902 -Xms536870902 -XX:MaxDirectMemorySize=268435458 -XX:MaxMetaspaceSize=268435456 [ERROR] extractExecutionParams only accepts exactly one line as the input [ERROR] Could not get JVM parameters properly.

The root cause is FLINK-17023 introduce the following change and it could not work as expected.
local num_lines=$(echo "$execution_config" | wc -l)

On linux environment, the output is "1". However, on Mac, it is "      1". Maybe we need to add tr -d '[:space:]' after wc.
Brief change log

Add tr -d '[:space:]'

Verifying this change

Manually test on Mac
Covered by existing test on linux

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

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

Documentation

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

cc @zentol Could you help to review this simple PR?

@zentol I have updated the PR as @aljoscha's suggestion. Use -eq instead of == for the num comparison.

I did mean -ne. The current code is if ! [[ ${num_lines} -eq 1 ]]; then, the ! is important.
My suggestion was  if [[ ${num_lines} -ne 1 ]]; then.

Thanks @aljoscha @leonardBang, i have updated the PR to use -ne.

Sorry for introducing this bug in the code. I discover that there are also other scripts (mostly e2e test scripts, for example test_cli.sh and shade.sh) uses wc -l and == to compare numbers. Shall we fix them too?

Sorry for introducing this bug in the code. I discover that there are also other scripts (mostly e2e test scripts, for example test_cli.sh and shade.sh) uses wc -l and == to compare numbers. Shall we fix them too?

The root cause is that tabs alignment https://apple.stackexchange.com/questions/370366/why-is-wc-c-printing-spaces-before-the-number
If these e2e tests fails in macOS(mostly dev environment), I think we should open a jira to track and repair too.

I am not sure how many users are running e2e tests on the Mac. And how many incompatible commands do we have in e2e tests. So maybe we need to create another ticket and have the discussion there.

Thanks for creating this PR @wangyang0918. LGTM. +1 for merging this PR.

Merging this PR now.

@wangyang0918 I regularly run e2e tests on my mac when debugging issues, so it would be good to also fix those usages. Do you want to open an issue and cut a PR for that? Please ping me if you do.


warn if version not installed

If I have a version in my .tool-versions file that isn't installed, it should warn me by default:
$ echo 'ruby 3.1' > .tool-versions # ruby 3.1 is not currently installed, but some other ruby version is, show a warning in `hook-env`

There is some kind of bug that's having it use the last version of ruby from a previous tool-versions file. This has been fixed.

This appears to be resolved now:
❯ rtx ls
    Finished dev [unoptimized + debuginfo] target(s) in 0.11s
     Running `target/debug/rtx ls`
   bun 0.4.0
-> bun 0.5.6                 (set by ~/.tool-versions)
   dummy 1.0.0
   golang 1.19 (missing)
-> golang 1.19.5             (set by ~/.tool-versions)
   golang 1.19.6
   golang 1.20.1
-> java openjdk-19.0.2       (set by ~/.tool-versions)
-> jq 1.6                    (set by ~/src/rtx/.tool-versions)
-> nodejs 18.13.0            (set by ~/src/rtx/.node-version)
-> python 3.10.10            (set by ~/.tool-versions)
-> python 3.11.2             (set by ~/.tool-versions)
   ruby 3.1.3 (missing)      (set by ~/src/rtx/.tool-versions)
   ruby 3.2.1
-> shellcheck 0.9.0          (set by ~/src/rtx/.tool-versions)
   shfmt 2.6.4
   shfmt 3.5.0
-> shfmt 3.6.0               (set by ~/src/rtx/.tool-versions)

rtx on  cache [!] via  v18.13.0
❯ touch .tool-versions
[WARN] Tool not installed<EMAIL_ADDRESS>rtx<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>


Support python 3.12 in the CIs

Motivation
partially resolve https://github.com/optuna/optuna-examples/issues/230
Description of the changes
Run CI of some libraries on python 3.12, based on official announcement of third party libraries,

LGTM!


[Feature]: Add support for VersionPrefix in csproj

Please describe new feature
I want this feature as all my packages use VersionPrefix instead of Version. We use this to more easily combine this with the VersionSuffix which can easily be passed as a msbuild argument.
Environment
No response
Anything else?
No response

@ctolkien
Thanks to you, I realized that the version string is {version-prefix}-{version-suffix}.
I'll change trying to find version string as follow:

find version element.

Use a version string found.

if it does not exists, try to find version-prefix, version-suffix.

Combine these strings.

I'll request your review as soon as possible.
Thank you for your contribution.

@ctolkien.
Thanks for the suggestion.
Reopen this issue if it's not enough.
Changes
Add handling of version information in the .csproj file.

Find the Version element.
Use the string from the Version element if it exists.
If there is no string in the Version element, find the VersionPrefix element and the VersionSuffix element.
If only the VersionPrefix element is present, use VersionPrefix as the result.
If text from both the VersionPrefix and VersioinSuffix elements are present, use the combination, such as {VersionPrefix}-{VersioinSuffix}.
If neither the Version element, VersionPrefix element, nor VersionSuffix element exists, use an empty string as the result.

If the VersionPrefix element is not present but the VersionSuffix element is, the string in the VersionSuffix element is ignored.

https://github.com/bbonkr/get-version-action/releases/tag/v1.2.0
https://github.com/bbonkr/get-version-action/pull/271


Metier L4 missing: FWR

Metier level 6 FWR_DEF_0_0_0 (Fixed installations for fences and weirs), it exists also in Metier5, but is missing in GearType, Level 4.
Spain uses this level 6 in their submission to Bycatch.
https://vocab.ices.dk/?codetypeguid=edfc216f-b466-4c33-84f6-da2c998fe09f
https://vocab.ices.dk/?codetypeguid=d3cd3922-5a3f-429f-b27d-5186e5cfe565
https://vocab.ices.dk/?codetypeguid=6f65b819-57ca-4904-a961-2d55699008d5

@odontaster to request new code FWR for GearType to JRC.


Fix for dasgate to work with das-query-engine v0.4.1

@CICS-Oleg , please check README.md and Cargo.toml, and add the info on the compatible hyperon-das version from pip or/and compatible versions of das-atom-db / das-query-engine releases on git (at least as comments)

The compatible hyperon-das (das-query-engine) version from pip is v0.4.1 and the one of das-atom-db is v0.3.2. Although v0.3.3 should work as well.

The compatible hyperon-das (das-query-engine) version from pip is v0.4.1 and the one of das-atom-db is v0.3.2. Although v0.3.3 should work as well.

The idea was to include this information into dependencies of das-gate as a Python library or at least mention in the code - not in the comments to PR


Docker engine missing default labels in swarm mode

Description
IIRC Previous swarm and swarm mode RC's provided some default engine labels like Operating System / Arch / ExecutionDriver / StorageDriver / etc. Seems like that is not present anymore, swarm mode doesn't get any engine labels when initializing or joining a swarm
Steps to reproduce the issue:

docker swarm init
swarmctl node inspect <node_id>

Describe the results you received:
I don't see any engine label at all
Describe the results you expected:
Default labels to be there as before
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker info:
Containers: 5
 Running: 0
 Paused: 0
 Stopped: 5
Images: 75
Server Version: 1.12.1
Storage Driver: aufs
 Root Dir: /home/marcos/docker/aufs
 Backing Filesystem: extfs
 Dirs: 297
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge null overlay host
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 3.19.0-68-generic
Operating System: Ubuntu 15.04
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.704 GiB
Name: XPS
ID: LHF6:NIMP:TNYU:QXAA:KXZP:RRV5:MJUB:GIZG:GZGQ:MFE3:H3WN:WPN7
Docker Root Dir: /home/marcos/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 19
 Goroutines: 40
 System Time: 2016-09-13T10:18:46.800194024-03:00
 EventsListeners: 0
Username: marcosnils
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
 <IP_ADDRESS>/8

I think engine labels were set by docker-machine only?
Swarm doesn't set labels on the engine, these must be set as daemon options.
Node labels in docker engine swarm are different than engine labels. Node labels can only be set once the swarm is initialized and only from manager nodes.

@cpuguy83 previos swarm included some useful defaults as filters: https://docs.docker.com/swarm/scheduler/filter/#/use-a-constraint-filter
I might be confused but I believe the first releases of swarm mode also provided some system default labels that you can use as constraints to create your services. If this is not the case, I still believe this is super useful as many users end up tagging the engines with the OS / Arch (at least) which seems redundant as the engine is already aware of all that.


Added IP configuration instructions to README

I've suggested some settings that should work for the vast majority of boards.

Thanks for this, I added you to the contributors list and added some links for different OS configurations.
Merged as 94834956b130b0f095412db3c65299d07c05e2dc.


Apify docs to use Github Actions + moving here the API blueprint specification

I replaced Travis with Github Actions so that the log and everything else is visible here directly and you don't have to go to Travis and also to beware of problem where this is executed twice on Travis.com and Travis.org (fails).
Then I moved here an API blueprint docs and set up a deployment.

Master to production
Everything else currently to staging


extracted g11n service

G11n service is now being maintained under https://github.com/bridgedxyz/g11n

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


Two small problems in code block

There are two problems in the code block in this section: https://docs.microsoft.com/en-us/office/dev/add-ins/tutorials/outlook-tutorial#update-the-function-file-javascript

The reason parameter is passed to Office.initialize but nothing is done with it because Office.initialize has no body. This looks amateurish. If initialize doesn't have a body, it shouldn't have any parameters passsed to it.
The comment "Add any UI-less function here" should be deleted. It actually appears just above a helper function, not the UI-less function, which comes later in the code block.

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

ID: a59958d2-f428-9ca2-3440-a5af662386c0
Version Independent ID: dcaf0b5b-08ea-c437-130b-342a1be62a16
Content: Tutorial: Build a message compose Outlook add-in - Office Add-ins
Content Source: docs/tutorials/outlook-tutorial.md
Product: outlook
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Thanks for catching these, @Rick-Kirkham. I've added this to the backlog for fixing.


feat(opsim): log L2CDM events

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#115  👈
#112
main

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

Join @jakim929 and the rest of your teammates on  Graphite


Pluggable architecture for conditions in sitecore-jss-forms and sitecore-jss-react-forms packages

Is your feature request related to a problem? Please describe.
Support of conditions for sitecore-jss-react-forms.
We want to have a form with a radio button at the end of the form. Depending on the selected value in this field, we want either show submit form button or next page button. You are able to add conditions to multipage Sitecore Forms using the Sitecore Forms wizard. You get these conditions in the Layout Service JSON. But they are ignored.
Following documentation,

This module is intended to be copied from and extended as needed - it is not meant to be a fully-fledged implementation for rendering Sitecore Forms in JSS applications.

(It means that probably it was never planned that this part should work)
Describe the solution you'd like
I understand that it could be a big task to implement all conditions that are possible to configure on the Sitecore Forms interface. That is why it would be nice to have a pluggable architecture for conditions. It will allow the implementation of conditions that you need by yourself and further upgrade of sitecore-jss-forms and sitecore-jss-react-forms NPM packages with no issues. Otherwise, during each upgrade, we will need to look at what was changed inside sitecore-jss-forms and sitecore-jss-react-forms and match this functionality on our side(or ignore it, but we can miss something important in this case)
Describe alternatives you've considered

Don't use Sitecore Forms (use Google Forms or some other 3rd party provider)
Implement required conditions by ourselves. At least part of the features.

Hello @Antonytm
Thanks for the provided request, I've added this to our backlog for discussion


TypeError: Cannot convert undefined or null to object at hasOwnProperty ()

Getting the above error when using typedoc for Angular2 Cli project and trying to generate documentation for my project.
$ typedoc --out outpath/ angular2cli/
but i'm getting the following errors
Using TypeScript 2.2.1 from /usr/local/lib/node_modules/typedoc/node_modules/typescript/lib
/usr/local/lib/node_modules/typedoc/dist/lib/converter/plugins/SourcePlugin.js:122
                    if (!Object.prototype.hasOwnProperty.call(directory, path)) {
                                                         ^

TypeError: Cannot convert undefined or null to object
    at hasOwnProperty (<anonymous>)
    at /usr/local/lib/node_modules/typedoc/dist/lib/converter/plugins/SourcePlugin.js:122:58
    at Array.forEach (native)
    at /usr/local/lib/node_modules/typedoc/dist/lib/converter/plugins/SourcePlugin.js:121:33
    at Array.forEach (native)
    at SourcePlugin.onEndResolve (/usr/local/lib/node_modules/typedoc/dist/lib/converter/plugins/SourcePlugin.js:113:23)
    at triggerEvents (/usr/local/lib/node_modules/typedoc/dist/lib/utils/events.js:129:43)
    at triggerApi (/usr/local/lib/node_modules/typedoc/dist/lib/utils/events.js:111:13)
    at eventsApi (/usr/local/lib/node_modules/typedoc/dist/lib/utils/events.js:21:18)
    at Converter.EventDispatcher.trigger (/usr/local/lib/node_modules/typedoc/dist/lib/utils/events.js:280:13)

Is there any way to fix this error?

Duplicates #420


[rapidcheck] Upgrade to 2023-08-15.

Later revisions are available but they introduce pkgconfig support which make vcpkg complain that hard coded file paths are deployed to lib/pkgconfig/*.pc files and I am not sure what to do about them.

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[x] The "supports" clause reflects platforms that may be fixed by this new version.
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@microsoft-github-policy-service agree

I have checked the port against g++-13 and VS2022.

they introduce pkgconfig support which make vcpkg complain that hard coded file paths are deployed to lib/pkgconfig/*.pc files and I am not sure what to do about them.

Call vcpkg_fixup_pkgconfig().

Call vcpkg_fixup_pkgconfig().
Done.


Migrate from in-house sbt plugin to use sbt-catalysts

https://github.com/InTheNow/sbt-catalysts
Same as https://github.com/ensime/ensime-server/issues/1222, but for the debugger. Need to verify that the project has the code available to add tools.jar to the class path of sbt (like how https://github.com/chipsenkbeil/sbt-jdi-tools adds it to unmanaged jars).

This is on hold due to @fommil's comments about the logic for finding the JDK being broken, potentially moving to jenv.

Closing as it looks like Ensime is not moving to this. https://github.com/ensime/ensime-server/pull/1361


Flush first long poll immediately

There are other approaches, I wanted to see how big of a change this one would be.
#2031
PS: Need to fix javascript tests

🆙 📅


Tweaks Vanish but appear "underneath" the video

Version: 1.8.7
TamperMonkey Version: 4.13
Browser: Microsoft Edge Dev for Linux
Privacy mode is at the highest (For edge)
Tracking Prevention extensions installed:

Privacy Badger
Ublock Origin

Best Screenshot:

Explanation:
After launching a course and clicking anywhere in the software disappears and seemingly behind the course content iframe?
Options Enabled:
None I haven't even gotten a chance to adjust them
Console Log:
r08.core.learn.edgenuity.com-1640304963634.log

https://github.com/GSRHackZ/EdgyBot

Sorry for the late response the stealth function might have triggered due to a keybind im still working on full patches so if you can please wait a day I should have it fixed.
Thanks
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: Spectator @.>
Sent: Thursday, December 23, 2021 6:17 PM
To: @.>
Cc: @.***>
Subject: [Syphon1205/EdgenHacks-EdgenTweaks] Tweaks Vanish but appear "underneath" the video (Issue #2)
Version: 1.8.7
TamperMonkey Version: 4.13
Browser: Microsoft Edge Dev for Linux
Privacy mode is at the highest (For edge)
Tracking Prevention extensions installed:

Privacy Badger
Ublock Origin

Best Screenshot:
[image]https://user-images.githubusercontent.com/33076633/147301054-60ccf53f-2d4a-4985-9c13-77ab7b4d9575.png
Explanation:
After launching a course and clicking anywhere in the software disappears and seemingly behind the course content iframe?
Options Enabled:
None I haven't even gotten a chance to adjust them
Console Log:
r08.core.learn.edgenuity.com-1640304963634.loghttps://github.com/Syphon1205/EdgenHacks-EdgenTweaks/files/7771890/r08.core.learn.edgenuity.com-1640304963634.log
—
Reply to this email directly, view it on GitHubhttps://github.com/Syphon1205/EdgenHacks-EdgenTweaks/issues/2, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKYUSNZOTBO4AI57MNSOS63USO33BANCNFSM5KVWZJNA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hey! Good to see you back, I thought you abandoned this project.
I don't have this issue anymore because I switched browsers. I do have some issues but refreshing will help.
If you are still around, I wouldn't mind opening a bug report.

Im doing fine, and if you would like to you may send a bug report.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: Spectator @.>
Sent: Tuesday, October 11, 2022 11:19 AM
To: @.>
Cc: @.>; @.>
Subject: Re: [Syphon1205/EdgenHacks-EdgenTweaks] Tweaks Vanish but appear "underneath" the video (Issue #2)
Hey! Good to see you back, I thought you abandoned this project.
I don't have this issue anymore because I switched browsers. I do have some issues but refreshing will help.
If you are still around, I wouldn't mind opening a bug report.
—
Reply to this email directly, view it on GitHubhttps://github.com/Syphon1205/EdgenHacks-EdgenTweaks/issues/2#issuecomment-1274953903, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKYUSNYO5GX564JO7DCBYILWCWHSVANCNFSM5KVWZJNA.
You are receiving this because you commented.Message ID: @.***>

stealth mode is probably active due to a video running im working on a patch for the next version.


Webserver Mongoose Wrapper Memory leak

Another interesting thing i picked up using mongoose with your CPP wrappers is the esp32 eats into the free heap and doesnt release it.
tried two examples.
1: with a uint8_t encoded home page with size of around 24KB.. the initial call consumes about 50KB ram then after the response most that is released. page refreshes seem stable.
2: have two URL paths that respond with JSON  ( to be used on the client side )

the first using cJSON to construct the payload then doing the send and then releasing the cJSON
--this example consumes about 1kb ram for each request from my client without releasing.

a simple path that responds with JSON ( built up as a constant )
-- this also eats ram and doesn't release.

i know not my cJSON constructors as is do delete the objects after construction.
Have you had similar results?

At this point, I haven't tried any soak tests nor looked at memory consumption over time.  I have seen that there is an initial usage cost for things like WiFi and BLE that isn't present until after some use.  For example, I found that when I ran a web server, free memory at start declined sharply after the first couple of connections but then seemed to become stable.  I didn't look to see if there were "finer" grained leaks ... but there could certainly be.  We'll have to do analysis to see if they are coming from Mongnoose, C++ wrapper code, ESP-IDF or Standard C++ libraries.  But ... we'll get there.

Unfortunately my interest in Mongoose has wained now that we have a native C++ HttpServer set of classes that don't involve that library.  While I don't know whether or not there is a problem with the C++ wrappers for mongoose, I can't promise that they will be examined.


UI does not handle meta mask dropping connection

The problem I was encountering was buttons in OasisDEX (e.g. change allowance) not responding.
After clearing cookies, switching computers, adding more ether to Meta Mask, etc. I worked out that OasisDEX was not responding due to losing connection to Meta Mask.
See screenshot for the error as per the Chrome console.
I found it took a few refreshes for the connection to stabilise and actions like wrapping/unrwapping, trades etc. would only work if I did not see this error.
One quick fix I guess might be an alert if the connection to meta mask is dropped.

seems like a metamask problem


fix typo

See https://goreportcard.com/report/github.com/gaia-pipeline/gaia#misspell

The vault test is a weird side effect of relying on block decrypt throwing an error when it can't decrypt the secret because the password doesn't match the block size of the original password that was used.
This basically happens because we don't know the password and don't check the decrypted content for a key string to see of the decryption was successful or not.
It can happen that the library still successfully decrypts but the content wouldn't be what was expected so a different error would happen elsewhere.
I'll make this stronger by inserting a specific string alongside the encrypted text something like <SUCCESS> that I can look up and see if the decryption was successful.


Remove default mappings and provide info on the README for functions

It would be a lot nicer if you had no default mappings and just provided on the README.md the functions that can be mapped to. Thanks! Nice work on this plugin.

Nevermind, I see now that these mappings only apply when you're within the picker!


Custom Contract interaction

Is there any example of interacting with the custom function of the contract?

Hi @agelessZeal.
You need to use Nethereum library to make custom contract interaction.
Please refer Nethereum docs at https://docs.nethereum.com/en/latest/.
If you have any problem with it, please feel free to post here.

closed due to v1 depreciation


I logon my Bolt on different PC. But it will show different Apps which created by myself. I would like to see all APPs when I logon different PC with same account.

Describe the bug
I logon my Bolt on different PC. But it will shows diffrent Apps which I created by myself. I would like to see all APPs when I logon different PC with same account.
Link to the Bolt URL that caused the error
I logon my Bolt on different PC. But it will shows diffrent Apps which I created by myself. I would like to see all APPs when I logon different PC with same account.
Steps to reproduce
I logon my Bolt on different PC. But it will shows diffrent Apps which I created by myself. I would like to see all APPs when I logon different PC with same account.
Expected behavior
I logon my Bolt on different PC. But it will shows diffrent Apps which I created by myself. I would like to see all APPs when I logon different PC with same account.
Screen Recording / Screenshot
I logon my Bolt on different PC. But it will shows diffrent Apps which I created by myself. I would like to see all APPs when I logon different PC with same account.
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

This is tracked in #39


fixes top navigation layout

no ticket
the gds navbar component needs to be overidden for our item at left/right to work and gds uses the .js-enabled class so overide it it with body template class so it works js on/off

Review app deployed to https://teaching-vacancies-review-pr-3067.london.cloudapps.digital


Launching Neo Geo roms

Describe the bug
After scanning the directory, launching any neogeo roms causes the bios intro to replay over and over.
Describe your setup

WebMenu Version: 0.5
MiSTer Version: latest as of 6/10/2020

Web Browser:

OS: Windows
Browser Firefox

Maybe the wrong format and bios is the issue?

Hi, sorry for the late response.
This is probably due to the lack of support for BIOS of the current implementation. I am working on this atm.


Merge master branch content into next branch

The content on the next branch should not be the same as for release 1.2-JVM.
After some testing we could publish release 1.2-KMP.
I will also try to use directly this version in my stand alone Korge game. If that works I could drop Korge-fleks again.

Argh, I just run the commonTest locally. It looks like the CURRENT_WORLD companion object is making trouble on native. It is not initialized in some unit tests.
I remember also some trouble in the same direction with the Injection object in Korge-fleks. It was needed to be labeled as @threadLocal...

Wow you are fast! I wagely remember that I had a similar issue in the KMP environment and I think you are right with  @ThreadLocal.
But please let's wait for 1.3-JVM because there are also two bugfixes in it that are important when it comes to nested loops with families and also regarding notification of ComponentListener.
I try to finalize it by today :)
Thank you, as always, for your support!

No problem, I just had some the yesterday :)
The next days I won't have time due to preparations for vacation ;-D
Feel free to update here with the release 1.3 content. I kept the state of the other older versions in the commits in case we want to go back also in the KMP/next branch.

I try to have a look over the weekend, if I can find some time. Enjoy your holiday! :)

I finally have Internet again in France. We were driving cross Switzerland and had no roaming without high costs ;)
Take your time 👍

This PR is now broken because of me :(
I did the version updates (gradle, Kotlin), merged the ComponentListener notification fix and refactored the dependency setting/clearing as discussed in the other PR to support different dependencies for each world. TBH I think that already worked before but now it clears the dependencies of the Inject object at the end of the world creation to let the GC clean them up.
I also updated the ReadMe. It contained some outdated code snippets as well. It mentions already the new features but they are not yet included.
I try to do that tomorrow. Your PR and diffs help with that a lot ;)

That, sound good. Let me know if I can help in resolving the merge conflicts. When I am back at my laptop I can check it locally from maven.

@jobe-m / @Kietyo: I updated the next branch with all the changes of the JVM branch including the new FamilyListener stuff. It would be great if you can test this branch in your games/examples to verify it.
You can publish it to your local maven repository via the publishToMavenLocal gradle task. Since the version is defined as 1.3-KMP-SNAPSHOT you don't need to sign it and it should just work.
In your KorGE application you need to add it as a dependency like this:
dependencyMulti("io.github.quillraven.fleks:Fleks:1.3-KMP-SNAPSHOT", registerPlugin = false)

That should be it! I will also try that this week with a fresh new KorGE project but since I do not have a lot of experience with KorGE, I'd appreciate your input!
When everything is fine, I will merge those changes into the kmp branch and release a new 1.3-KMP version to maven.

I quickly checked the state of the next branch in my game and have a problem with dependency injection. It looks like the injector does not work as before. I need to check further. Did you change there something?

Not the injector itself but the dependencies/mappers are now set and cleared in the world constructor. Since the tests passed I thought it was fine but obviously it isn't. I will make a PR to KMP branch then it is easier to see the diffs.

I will close this PR. Let's continue the discussion in #53


paste problem in jupyter notebook

VSCode Version: 1.47.0
OS Version: Windows_NT x64 10.0.19

when you copy something in jupyter notebook it pastes twice.
Example :

/duplicate of #101946


Adding link via toolbar is broken in 3.2.0

Describe the bug
I am unable to add a link in wysiwyg mode - after typing the values into the fields and pressing "OK", I get this error in the console:
index.js:19269 Uncaught ReferenceError: getCustomAttrs is not defined
    at Object.toDOM (index.js:19269:36)
    at MarkViewDesc.create (index.js:1118:117)
    at ViewTreeUpdater.syncToMarks (index.js:1699:45)
    at eval (index.js:1268:21)
    at iterDeco (index.js:1898:13)
    at NodeViewDesc.updateChildren (index.js:1258:9)
    at NodeViewDesc.updateInner (index.js:1355:18)
    at NodeViewDesc.update (index.js:1347:14)
    at ViewTreeUpdater.updateNextNode (index.js:1775:37)
    at eval (index.js:1276:30)

And I've managed to track down the error to this file
To Reproduce
Steps to reproduce the behavior:

Create a new editor with default options
Click the toolbar button to add a link
Fill out fields, press OK, observe error (link does not appear, and error appears in console)

Expected behavior
Link toolbar button works
Screenshots
I took some screenshots of index.js where the error was occurring, the issue seems to be due to compiling at some point.
The defined function is getCustomAttrs$1() but is being called as getCustomAttrs()

Desktop (please complete the following information):

OS: Windows
Browser: Brave/Chromium
Version: Brave v1.42.88 Chromium 104.0.5112.81

Additional context
My environment: vuejs application
Vuejs 2.6.11
I am not using the vue-editor wrapper
Other toolbar buttons work as intended, I am having no other issues with the editor so far.

I'm facing the same issue.
Downgrading to version 3.1.10 is the only fix

I also had the same problem.
However, downgrading the version did not solve the problem.

I also had the same problem. However, downgrading the version did not solve the problem.

Check the version installed in your package-lock; you may have to fix the version 3.1.10 instead of ^3.1.10

Unfortunately, the problem persisted even after deleting and reinstalling node_modules and package-lock.json to match the 3.1.0 version.

 "node_modules/@toast-ui/editor": {
      "version": "3.2.0",
      "resolved"<EMAIL_ADDRESS>      "integrity": "sha512-lEvbBSbvz5MvmTGHoDAYkco5B1os9C8B0IJmSj/iLmjSFQCtku1g4hFG4jKzTju9e+5wTosbDa3aYHAJAZK/QA==",
      "dependencies": {
        "dompurify": "^2.3.3",
        "prosemirror-commands": "^1.1.9",
        "prosemirror-history": "^1.1.3",
        "prosemirror-inputrules": "^1.1.3",
        "prosemirror-keymap": "^1.1.4",
        "prosemirror-model": "^1.14.1",
        "prosemirror-state": "^1.3.4",
        "prosemirror-view": "^1.18.7"
      }
    },
    "node_modules/@toast-ui/editor-plugin-table-merged-cell": {
      "version": "3.1.0",
      "resolved"<EMAIL_ADDRESS>      "integrity": "sha512-9ch9h1heTs0Kkmhwpb1ef9psQSM77wvUO3J75BsHv3RO5nAug42W3HC4Y+qbX5n1z1VhOGGjuOb4GPIr8s5dRA=="
    },

It's really weird. I'm using NextJS + React, and regardless of any changes in dependencies, I started having this problem in August.
The above crash occurs from the moment the HTML file containing the link is read.

Unfortunately, the problem persisted even after deleting and reinstalling node_modules and package-lock.json to match the 3.1.0 version.

When I newly installed and opened the package-json.lock file, it was as follows.
    "node_modules/@toast-ui/editor": {
      "version": "3.2.0",
      "resolved"<EMAIL_ADDRESS>      "integrity": "sha512-lEvbBSbvz5MvmTGHoDAYkco5B1os9C8B0IJmSj/iLmjSFQCtku1g4hFG4jKzTju9e+5wTosbDa3aYHAJAZK/QA==",
      "dependencies": {
        "dompurify": "^2.3.3",
        "prosemirror-commands": "^1.1.9",
        "prosemirror-history": "^1.1.3",
        "prosemirror-inputrules": "^1.1.3",
        "prosemirror-keymap": "^1.1.4",
        "prosemirror-model": "^1.14.1",
        "prosemirror-state": "^1.3.4",
        "prosemirror-view": "^1.18.7"
      }
    },
    "node_modules/@toast-ui/editor-plugin-table-merged-cell": {
      "version": "3.1.0",
      "resolved"<EMAIL_ADDRESS>      "integrity": "sha512-9ch9h1heTs0Kkmhwpb1ef9psQSM77wvUO3J75BsHv3RO5nAug42W3HC4Y+qbX5n1z1VhOGGjuOb4GPIr8s5dRA=="
    },
    "node_modules/@toast-ui/react-editor": {
      "version": "3.1.10",
      "resolved"<EMAIL_ADDRESS>      "integrity": "sha512-IY9uEIVKsOcWHuGf4kn08xILudhhNBbp3tGEvhpxpmhWiuFDKuEVBhTk/sUmFR4pytNefcvNi9wjzWU2BcYD+Q==",
      "dependencies": {
        "@toast-ui/editor": "^3.1.10"
      },
      "peerDependencies": {
        "react": "^17.0.1"
      }
    },

However, one strange thing is that the package-lock.json shows a version that is not pointed to.
node_modules/@toast-ui/editor = 3.2.0
node_modules/@toast-ui/react-editor = 3.1.0
Is there anything more I can check?

@jooy2  Problem is in the dependency list of @toast-ui/react-editor (see in package-lock): "@toast-ui/editor": "^3.1.10"
install this in package.json by fixing the version also...
I'm also on NextJS and this was fixed for me

For peoples working with React in a Docker container, here is what worked for me

remove "@toast-ui/react-editor" from "peerDependencies", if present in your package.json
In your DockerFile use ->  RUN npm install<EMAIL_ADDRESS><EMAIL_ADDRESS>

@Cypherball  @Shimon42
Thank you all!
In my case, I was able to solve it by installing version 3.1.10 of @toast-ui/editor that was not added to package.json.
▽▽▽▽ package.json ▽▽▽▽
    "@toast-ui/editor": "3.1.10",
    "@toast-ui/editor-plugin-table-merged-cell": "3.1.0",
    "@toast-ui/react-editor": "3.1.10",

Anyway, I hope this issue has been forwarded to the TUI development team and resolved as soon as possible.

I modified package.json, but it still throws an error. @jooy2
package.json
    "@toast-ui/chart": "^4.4.1",
    "@toast-ui/react-editor": "3.1.10",
    "@toast-ui/editor": "3.1.10",
    "@toast-ui/editor-plugin-table-merged-cell": "3.1.0",

yarn.lock

"<EMAIL_ADDRESS>  version "4.4.3"
  resolved<EMAIL_ADDRESS>  integrity sha512-lvv4g39uwl1DmsdlfrLxSf/qCGus7fDwWrWGlc5w9rcBidrWjZyFNmzfQC0Y/VycOPJR6YqfgPyY59R6+5eBsw==

"<EMAIL_ADDRESS>  version "3.1.0"
  resolved<EMAIL_ADDRESS>  integrity sha512-9ch9h1heTs0Kkmhwpb1ef9psQSM77wvUO3J75BsHv3RO5nAug42W3HC4Y+qbX5n1z1VhOGGjuOb4GPIr8s5dRA==

"<EMAIL_ADDRESS>  version "3.1.10"
  resolved<EMAIL_ADDRESS>  integrity sha512-lzJxNM9lEbAxEqVAnLGqARLFqcVAPW3gwVOU0qKHf/IIwdhjZPjo8VDNQ4sPqOsC7vKCG35HVX8bNC+ab+Gzlg==
  dependencies:
    dompurify "^2.3.3"
    prosemirror-commands "~1.1.9"
    prosemirror-history "~1.1.3"
    prosemirror-inputrules "~1.1.3"
    prosemirror-keymap "~1.1.4"
    prosemirror-model "~1.14.1"
    prosemirror-state "~1.3.4"
    prosemirror-transform "~1.3.0"
    prosemirror-view "~1.18.7"

"<EMAIL_ADDRESS>  version "3.2.0"
  resolved<EMAIL_ADDRESS>  integrity sha512-lEvbBSbvz5MvmTGHoDAYkco5B1os9C8B0IJmSj/iLmjSFQCtku1g4hFG4jKzTju9e+5wTosbDa3aYHAJAZK/QA==
  dependencies:
    dompurify "^2.3.3"
    prosemirror-commands "^1.1.9"
    prosemirror-history "^1.1.3"
    prosemirror-inputrules "^1.1.3"
    prosemirror-keymap "^1.1.4"
    prosemirror-model "^1.14.1"
    prosemirror-state "^1.3.4"
    prosemirror-view "^1.18.7"

"<EMAIL_ADDRESS>  version "3.1.10"
  resolved<EMAIL_ADDRESS>  integrity sha512-IY9uEIVKsOcWHuGf4kn08xILudhhNBbp3tGEvhpxpmhWiuFDKuEVBhTk/sUmFR4pytNefcvNi9wjzWU2BcYD+Q==
  dependencies:
    "@toast-ui/editor" "^3.1.10"

I modified package.json, but it still throws an error. @jooy2
package.json
    "@toast-ui/chart": "^4.4.1",
    "@toast-ui/react-editor": "3.1.10",
    "@toast-ui/editor": "3.1.10",
    "@toast-ui/editor-plugin-table-merged-cell": "3.1.0",

yarn.lock

"<EMAIL_ADDRESS>  version "4.4.3"
  resolved<EMAIL_ADDRESS>  integrity sha512-lvv4g39uwl1DmsdlfrLxSf/qCGus7fDwWrWGlc5w9rcBidrWjZyFNmzfQC0Y/VycOPJR6YqfgPyY59R6+5eBsw==

"<EMAIL_ADDRESS>  version "3.1.0"
  resolved<EMAIL_ADDRESS>  integrity sha512-9ch9h1heTs0Kkmhwpb1ef9psQSM77wvUO3J75BsHv3RO5nAug42W3HC4Y+qbX5n1z1VhOGGjuOb4GPIr8s5dRA==

"<EMAIL_ADDRESS>  version "3.1.10"
  resolved<EMAIL_ADDRESS>  integrity sha512-lzJxNM9lEbAxEqVAnLGqARLFqcVAPW3gwVOU0qKHf/IIwdhjZPjo8VDNQ4sPqOsC7vKCG35HVX8bNC+ab+Gzlg==
  dependencies:
    dompurify "^2.3.3"
    prosemirror-commands "~1.1.9"
    prosemirror-history "~1.1.3"
    prosemirror-inputrules "~1.1.3"
    prosemirror-keymap "~1.1.4"
    prosemirror-model "~1.14.1"
    prosemirror-state "~1.3.4"
    prosemirror-transform "~1.3.0"
    prosemirror-view "~1.18.7"

"<EMAIL_ADDRESS>  version "3.2.0"
  resolved<EMAIL_ADDRESS>  integrity sha512-lEvbBSbvz5MvmTGHoDAYkco5B1os9C8B0IJmSj/iLmjSFQCtku1g4hFG4jKzTju9e+5wTosbDa3aYHAJAZK/QA==
  dependencies:
    dompurify "^2.3.3"
    prosemirror-commands "^1.1.9"
    prosemirror-history "^1.1.3"
    prosemirror-inputrules "^1.1.3"
    prosemirror-keymap "^1.1.4"
    prosemirror-model "^1.14.1"
    prosemirror-state "^1.3.4"
    prosemirror-view "^1.18.7"

"<EMAIL_ADDRESS>  version "3.1.10"
  resolved<EMAIL_ADDRESS>  integrity sha512-IY9uEIVKsOcWHuGf4kn08xILudhhNBbp3tGEvhpxpmhWiuFDKuEVBhTk/sUmFR4pytNefcvNi9wjzWU2BcYD+Q==
  dependencies:
    "@toast-ui/editor" "^3.1.10"

@ChangHyun2 Have you tried yarn install again after deleting yarn.lock and node_module folder? It seems that react-editor still points to a higher version.

@jooy2
if I write the<EMAIL_ADDRESS>in package.json<EMAIL_ADDRESS>always install @toast-ui/editor@3.2.0(because peer dependency is specified by ^3.1.10).
So I moved<EMAIL_ADDRESS>depdency spec from "dependencies" field to "resolution" field in package.json, and @3.1.10 is installed well.
package.json
  "dependencies": {
    ...
    "@toast-ui/chart": "^4.4.3",
    "@toast-ui/react-editor": "3.1.10",
  },
  "resolutions": {
    "@toast-ui/react-editor/@toast-ui/editor": "3.1.10"
  },

yarn.lock
"<EMAIL_ADDRESS>  version "4.4.3"
  resolved<EMAIL_ADDRESS>  integrity sha512-lvv4g39uwl1DmsdlfrLxSf/qCGus7fDwWrWGlc5w9rcBidrWjZyFNmzfQC0Y/VycOPJR6YqfgPyY59R6+5eBsw==

"<EMAIL_ADDRESS>"<EMAIL_ADDRESS>  version "3.1.10"
  resolved<EMAIL_ADDRESS>  integrity sha512-lzJxNM9lEbAxEqVAnLGqARLFqcVAPW3gwVOU0qKHf/IIwdhjZPjo8VDNQ4sPqOsC7vKCG35HVX8bNC+ab+Gzlg==
  dependencies:
    dompurify "^2.3.3"
    prosemirror-commands "~1.1.9"
    prosemirror-history "~1.1.3"
    prosemirror-inputrules "~1.1.3"
    prosemirror-keymap "~1.1.4"
    prosemirror-model "~1.14.1"
    prosemirror-state "~1.3.4"
    prosemirror-transform "~1.3.0"
    prosemirror-view "~1.18.7"

"<EMAIL_ADDRESS>  version "3.1.10"
  resolved<EMAIL_ADDRESS>  integrity sha512-IY9uEIVKsOcWHuGf4kn08xILudhhNBbp3tGEvhpxpmhWiuFDKuEVBhTk/sUmFR4pytNefcvNi9wjzWU2BcYD+Q==
  dependencies:
    "@toast-ui/editor" "^3.1.10"

But when i create Editor Component, the other error(RangeError) was thrown.

I edited package.json, and it works.
  "resolutions": {
    "@toast-ui/react-editor/@toast-ui/editor": "3.1.8"
  },

https://github.com/nhn/tui.editor/issues/2631#issuecomment-1199125318

Related: #2729

check v3.2.1 please, if you use react or vue wrapper, you need to use v3.2.2


E-SIGHT (Creating Vision)

Solves the problems of blind people as they aren't able to move or roam around without any help of others. The most challenging part was the integration of codes.

Is this related to HackerRank?


Silent error in handling of univariate case

The forward pass of the BNAF class should be changed to the following (or similar) to properly handle the univariate case or calling model will reduce the gradients (grad) to a single number when it should have a first dim size of batch_size.  I confirmed the following will work though.
   ```
    grad = grad.squeeze()
    reduce_sum = len(grad.shape) > 1

    if reduce_sum:
        if self.res == 'normal':
            return inputs + outputs, torch.nn.functional.softplus(grad.squeeze()).sum(-1)
        elif self.res == 'gated':
            return self.gate.sigmoid() * outputs + (1 - self.gate.sigmoid()) * inputs, \
                   (torch.nn.functional.softplus(grad.squeeze() + self.gate) - \
                    torch.nn.functional.softplus(self.gate)).sum(-1)
        else:
            return outputs, grad.squeeze().sum(-1)
    else:
        if self.res == 'normal':
            return inputs + outputs, torch.nn.functional.softplus(grad)
        elif self.res == 'gated':
            return self.gate.sigmoid() * outputs + (1 - self.gate.sigmoid()) * inputs, \
                   (torch.nn.functional.softplus(grad + self.gate) - \
                    torch.nn.functional.softplus(self.gate))
        else:
            return outputs, grad

Thanks! I'll include that.

With an univariate case you will have [batch_size, 1] does shouldn't break things.


Functionality, test and sample updates

Updated to latest Orleans, uses more dependency injection, removed grain (no longer necessary), cleaned up extension methods, miscellaneous formatting. Added readme documentation and license file (based on license linked on NuGet). Added samples and tests (re-purposed from Orleans.Clustering.Kubernetes). TableVersion still needs cleaned up/optimized.

Nice work! Merged into master, also have created a travis-ci build for this that will automatically push to nuget.org.


Not able to connect to cosmosDB using Azure storage explorer

Unable to retrieve child resources.
Details:
connect ECONNREFUSED <IP_ADDRESS>:443

The Cosmos team recently deprecated our integration with Azure Storage Explorer. Here is the full deprecation notice from the 1.15.1 Storage Explorer release notes:

The Azure Cosmos DB integration with Storage Explorer has been deprecated. Any existing functionality will not be removed for a minimum of one year from this release. Users should use the Azure Portal, the Azure Portal desktop app, or the standalone Cosmos Explorer instead – all of which contain many new features that aren’t currently supported in Storage Explorer. Additionally, the Azure Cosmos DB team has also open sourced the data explorer project and will be investing in their own desktop tooling at a later date. Please keep an eye on their repository for more information.

Currently, we are not prioritizing new features or bug fixes for Cosmos in Azure Storage Explorer. If you the issue you are reporting also applies to the Azure Portal or https://cosmos.azure.com, please file an issue in our open source Cosmos Explorer repo


"gateway-shim" - Easy ACME for the sig-network Gateway API

Context
cert-manager aims to make issuing ACME certificates for public endpoints as painless as possible. A popular use-case is to annotate ingress definitions, which cert-manager's ingress-shim uses to create Certificates automatically.
Feature Request
As part of https://github.com/jetstack/cert-manager/issues/4118, we aim to add support for the sig-network community's Gateway API as a way to solve http-01 challenges. cert-manager should be able to read annotations from Gateways and turn these into Certificates just as it currently can with Ingresses

What this might look like
apiVersion: networking.x-k8s.io/v1alpha1
kind: Gateway
metadata:
  name: gateway-shim-example
  annotations:
    cert-manager.io/cluster-issuer: nameOfClusterIssuer
    cert-manager.io/common-name: 'secure.my-company.com'
spec:
  gatewayClassName: istio
  listeners:
  - protocol: HTTPS
    port: 443
    routes:
      kind: HTTPRoute
      selector:
        matchLabels:
          gateway: my-https-service
      namespaces:
        from: All
    tls:
      certificateRef:
        name: cert-manager-cert

Related Issues
https://github.com/jetstack/cert-manager/issues/3920
Background Reading
Evolving Kubernetes Networking with the Gateway API
/kind feature

Do you think we should do this in-tree or out of tree to begin with?

I think we should do this in-tree. The gateway API looks as if it will have wide adoption.
The plan of action:
refactor ingress-shim to be a little more generic as to duplicate less code
add a controller for gateway api behind a flag
write e2e tests

This has been done in #4158! Closing now.


Google plus button missing from social share bar (SSL)

I use SSl security and dnssec with cloudflare, I deactivate autominify, and rocket loader, I deactivate autoptimize too in my blog, I use the last version of Hueman, before this version I dont see any sharrre button so I change the theme for the wordpress hueman official, but I want to try this version, and its good, but the Google Plus button still dont show, with SSL, thanks.
See it: https://www.laplegariadeunpagano.com/
I come from hueman support threads: https://wordpress.org/support/topic/google-plus-button-missing-from-social-share-bar

Hi,
We are waiting for something exciting to happen soon, you're going to like it! Please read more about it here http://bestitrasa.jljconsulting.com/e6sgl
tadakute


Add support for Flatpak and Snap version of Discord

I'll close this since we shouldn't do flatpak or snap specific operations.

The source for this fix is the nodejs package @xhayper/discord-rpc.
I'm using the flatpak version of Discord but the apps which use RPC are not flatpak themselves. Your library currently doesn't work in this case but the package linked is one of the few that does.

The Discord flatpak has instructions on what to do: https://github.com/flathub/com.discordapp.Discord/wiki/Rich-Precense-(discord-rpc)#unsandboxed-applications. This should not be the responsibility of individual libraries.


Adding support for Tontine electric blanket using the 039-WIFI control

I did consider using the climate entity but it didn't seem suitable, however this configuration works.
The only annoyance is sometimes it's slow to update the countdown when the value of the timer is changed and vice versa.
The controller always resets to 1hr whenever turned on or off.

Yes, the coarse nature of the temperature setting and the lack of a current temperature sensor make this not a good fit for the climate platform. I think this is the correct choice.


Add IL2CPP support for Android, iOS, Linux

Context
Seems that linux docker images with IL2CPP are ready => https://gitlab.com/gableroux/unity3d/-/issues/66
It would be nice to be able to use them.
Suggested solution
Considering IL2CPP + Windows target is not possible ATM, an action parameter could be tricky. However I don't see any better solution.

Hi @RDeluxe thank you for your input.
I agree with the suggested solution. Accepting PRs for the suggested changes.
Please note though that is currently blocked by https://gitlab.com/gableroux/unity3d/-/issues/85.

Hi !
Yes I'm currently using a fork to use a working Android image. I'm not quite sure how things are going to evolve without changing the images name though. I'll keep an eye on that.
I realized that https://gitlab.com/gableroux/unity3d/-/issues/66 did not include IL2CPP images for iOS nor Android, but only for linux.
That means a first MR would be required to add android-il2cpp and ios-il2cpp before creating a PR here. Am I right ?

Yes, as we are using gableroux/unity3d images, so we would need to see the images (#il2cpp) in dockerhub before we can use  them.

I think the Android and iOS images include il2cpp by default. I've been using il2cpp for Android and iOS builds through unity
actions without problem.
I would really like to see il2cpp for linux added, though.

That's weird, the previous issue mentioned a new naming scheme for il2cpp images, because of the added "weight". Maybe @GabLeRoux can confirm ? It's not clear digging in the sources.
I'll test that as soon as I can find a working Android image 😅

I don't know if latest images have IL2CPP support by default for ios and android, I'd have to confirm this too. Here's a summary of what I know and from where:
Linux IL2CPP support in docker images was added here:

issue: https://gitlab.com/gableroux/unity3d/-/issues/66
merge request: https://gitlab.com/gableroux/unity3d/-/merge_requests/99

Windows IL2CPP support was requested here:

issue: https://gitlab.com/gableroux/unity3d/-/issues/36

But as described in the discussion, last time I checked (4 months ago), Unity doesn't have support for installing IL2CPP windows component when unity is running on Linux (and docker images are based on Ubuntu so we can only do what unity on Ubuntu can do).
Android IL2CPP was discussed in the following comment:

https://gitlab.com/gableroux/unity3d/-/issues/66#note_313808638

From the screenshot, android-il2cpp doesn't seem to be available (yet)

A quick way to confirm this would be to run Ubuntu locally, install unity with android build support and see if it's possible to build a project with IL2CPP and arm64 checked as shown how to here.

I'll test that as soon as I can find a working Android image 😅
This is definitely related to https://gitlab.com/gableroux/unity3d/-/issues/85

I don't think there's much discussion to be had about iOS. Unity requires IL2CPP for 64-bit iOS builds,  Apple now requires 64-bit for new iOS apps, so IL2CPP is now the only option for building to iOS.

Could anyone confirm that this works?

I tried using<EMAIL_ADDRESS>but my Linux Il2CPP build fails (Android and iOS are good, though!).
Maybe there is some additional step required to get IL2CPP working on Linux?

I think this will fix it https://github.com/webbertakken/unity-builder/pull/177

Looks like its still using the base image instead of IL2CPP:
/usr/bin/docker build /home/runner/work/_actions/webbertakken/unity-builder/v2.0-alpha-4/action --file /home/runner/work/_actions/webbertakken/unity-builder/v2.0-alpha-4/action/Dockerfile --build-arg IMAGE=unityci/editor:2019.4.9f1-base-0 --tag unity-builder:2019.4.9f1-base-0

I can run a snippet similar to the logic we've got:
function imageSuffixes() {
    return {
      generic: '',
      webgl: 'webgl',
      mac: 'mac-mono',
      windows: 'windows-mono',
      linux: 'base',
      linuxIl2cpp: 'linux-il2cpp',
      android: 'android',
      ios: 'ios',
      facebook: 'facebook',
    };
}
const {
      generic,
      webgl,
      mac,
      windows,
      linux,
      linuxIl2cpp,
      android,
      ios,
      facebook,
    } = imageSuffixes();
const version = '2019.4.9f1';
const [major, minor] = version.split('.').map((digit) => Number(digit));
if(major >= 2020 || (major === 2019 && minor >= 3))
  console.log(linuxIl2cpp);
else
  console.log(linux);

Running this snippet returns "linux-il2cpp" instead of "base", so I'm not sure what's wrong now.
I might try looking into it some more tomorrow.

I forgot to run yarn build for index.js with the last PR. I think it should be fixed with https://github.com/webbertakken/unity-builder/pull/181

Ok, it's using the correct image now, but now I'm getting this error:
Error:  FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: C++ code builder is unable to build C++ code for Linux: Could not find valid clang executable at clang
@GabLeRoux started looking into this at https://gitlab.com/gableroux/unity3d-gitlab-ci-example/-/issues/139

That's good news. So we're 1 step closer again 👍🏼

Linking to https://github.com/Unity-CI/docker/issues/53 for visibility.

Images have been reported to work with Android and iOS as build targets. Their default backend is set to IL2CPP, at least for newer versions of Unity editor.
Closing this unless there is indeed reason to believe we need to further investigate any missing dependencies.

Images have been reported to work with Android and iOS as build targets. Their default backend is set to IL2CPP, at least for newer versions of Unity editor.
Closing this unless there is indeed reason to believe we need to further investigate any missing dependencies.


Implement Automated Unit Tests for Flask API

As a developer on the data quality framework, I would like to have automated unit tests implemented for all methods in the Python scripts. This would allow to monitor potential regression issues when delivering new releases.

[ ] api, graphql endpoint
[x] api, health endpoint

Unit test implemented on health check endpoint. Two unit tests to be implemented on GraphQL endpoint:

one query
one mutation

This can be implemented once the custom authentication is implemented. Otherwise it is not possible to test endpoint using the current OAuth authentication.


Document BOSH_LOG_LEVEL environment variable

So that users can discover how to turn on verbose logging.
See https://github.com/cloudfoundry/bosh-cli/issues/113 and https://github.com/cloudfoundry/bosh-utils/blob/f8bb60f0bb8b25aeeafe837e5e851ec3d7d850e0/logger/logger.go#L24-L30

Thanks! I think this is already documented in docs/cli-global-flags, but that page is not very discoverable (others have also overlooked this page).
Perhaps we can keep this PR open until @cppforlife highlights that globals page a bit more so everyone can find it. At the very least, linked from cli-v2.

Fixed by d90c975955a2815863d2dd2bdabe15e82de6e055.

thanks @dpb587-pivotal and @cppforlife


Not working on Linux

Thanks for building this. This is really useful.
I'm having some issues running the basic example.
I've installed geckodriver:
$ geckodriver --version
geckodriver 0.24.0 ( 2019-01-28)

The source code of this program is available from
testing/geckodriver in https://hg.mozilla.org/mozilla-central.

This program is subject to the terms of the Mozilla Public License 2.0.
You can obtain a copy of the license at https://mozilla.org/MPL/2.0/.```

I've also downloaded TBB and unzipped the file. It created a folder called `tor-browser_en-US`.

But when I run the code:
from tbselenium.tbdriver import TorBrowserDriver
with TorBrowserDriver('/home/user1/tbb/tor-browser_en-US/') as driver:
    driver.get('https://check.torproject.org')

I get the error:
WebDriverException: Message: invalid argument: can't kill an exited process

Looking at geckodriver.log:
1555554723776   mozrunner::runner       INFO    Running command: "/home/ec2-user/tbb/tor-browser_en-US/Browser/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile.egamQ6XjCfFv"
XPCOMGlueLoad error for file /home/ec2-user/tbb/tor-browser_en-US/Browser/libmozgtk.so:
libgtk-3.so.0: cannot open shared object file: No such file or directory
Couldn't load XPCOM

How do I go about debugging this?

After reading this:
https://stackoverflow.com/questions/50768064/firefox-cannot-open-libgtk-3-so-0-how-to-circumvent
I did this:
sudo yum install gtk3

Now, geckodriver.log looks like this:
1555554863949   mozrunner::runner       INFO    Running command: "/home/ec2-user/tbb/tor-browser_en-US/Browser/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile.v1G7NlDufRGE"
XPCOMGlueLoad error for file /home/user1/tbb/tor-browser_en-US/Browser/libxul.so:
libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

This is very likely due to an incompatible selenium package. Can you uninstall selenium and tbselenium, and install tbselenium again?
sudo pip(3) uninstall selenium
sudo pip(3) uninstall tbselenium
sudo pip(3) install tbselenium

Just tried that. Getting the same error in geckodriver.log:
1555556073945   mozrunner::runner       INFO    Running command: "/home/ec2-user/tbb/tor-browser_en-US/Browser/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile.313SnSwOFG2W"
XPCOMGlueLoad error for file /home/ec2-user/tbb/tor-browser_en-US/Browser/libxul.so:
libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

It says on the readme:

Try an older geckodriver version that matches the current Firefox version number inside the Tor Browser Bundle.

How do I know which geckodriver version is appropriate?

What happens when try the headless.py example?
You need to have a display (virtual or otherwise) for the browser to work. If you are connected through ssh, you should use the -X option. Normally people run crawls through Xvfb; which is demonstrated by headless.py.

I tried this:
from tbselenium.utils import start_xvfb, stop_xvfb
from tbselenium.tbdriver import TorBrowserDriver

xvfb_display = start_xvfb()
with TorBrowserDriver('/home/ec2-user/tbb/tor-browser_en-US/') as driver:
    driver.get('https://check.torproject.org')

But I get the same Couldn't load XPCOM. error as above.

This seems to work:
sudo yum install libXinerama.x86_64 cups-libs dbus-glib

which I read here:
https://stackoverflow.com/questions/43051668/libreoffice-error-while-loading-shared-libraries-libdbus-glib-1-so-2
The code ran successfully, but there is no output.
geckodriver.log
I've attached geckodriver.log.

I'm using tor-browser-linux64-8.0.8_en-US.tar.xz.
Can anyone verify that this version works with the current version of tor-browser-selenium?
Thanks

The code ran successfully, but there is no output.

Did it create a  headless_screenshot.png?  What's the problem if ran successfully?

Can anyone verify that this version works with the current version of tor-browser-selenium?

Yes, it works with 8.0.8. See, https://travis-ci.org/webfp/tor-browser-selenium/builds/521949493

A good way to troubleshoot these sort errors could be to run vanilla Firefox on the same system. This would help you identify missing libraries etc. and may provide a better debug output.

Closing due to inactivity

I've encountered the same problem
I think the problem is mainly because of the version of the firefox inside tor-browser_en-US directory
I solve it by installing the new version of firefox on the ec2 and copy the firefox to the tbb directory
Something like this
sudo apt install firefox -y
cp /usr/local/bin tor-browser_en-US/Browser

The Firefox in Tor Browser directory has several modifications that you lose when you replace it with a vanilla Firefox. So this is not a recommended solution.

I solve it by installing the new version of firefox on the ec2 and copy the firefox to the tbb directory
Something like this
sudo apt install firefox -y
cp /usr/local/bin tor-browser_en-US/Browser

The original issue is very likely due to missing libraries such as libgtk-3-0(install by apt install libgtk-3-0). It's possible that while installing Firefox you actually installed those missing libraries, hence solved the issue (@jimmychang851129 this is something you can test by downloading a fresh Tor Browser).


fix: Accept string array in Middleware decorator

Proposed changes
In /src/decorators/Middleware it accepts an array of strings, however when I tried to use an array instead of a string I got an error saying the Middleware only accepts string.
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have added necessary documentation (if appropriate)

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Merged and released into the 0.0.11 version.
Thanks for you contribution !


Enable custom numbering

Feature request: The ability to enable custom numbering, including adding sub-exercises, e.g. 1a, 1ai etc

I was thinking of adding an optional parameter to the \exercise command, allowing you to fully customize the 'number part' for each exercise individually (and defaulting to current behavior if not specified). Does that work for you as well? I think that's by far the easiest solution that works in all cases.
I personally don't want to add commands for sub-exercises. Firstly, because I think using something like \begin{enumerate}[a.] is much cleaner, and secondly, because I don't know where to draw the line; should I then also add a command for sub-sub-exercises? I prefer to keep it simple.

I was thinking of adding an optional parameter to the \exercise command, allowing you to fully customize the 'number part' for each exercise individually (and defaulting to current behavior if not specified). Does that work for you as well? I think that's by far the easiest solution that works in all cases.
I personally don't want to add commands for sub-exercises. Firstly, because I think using something like \begin{enumerate}[a.] is much cleaner, and secondly, because I don't know where to draw the line; should I then also add a command for sub-sub-exercises? I prefer to keep it simple.

Ah okay, yeah that works well, and I'd never thought of using enumerate, that'll work well too. Thank you :)


android: support api level less than 21

after introducing uv_os_homedir minimum android api level is 21 due to getpwuid_r function use
I'd like to use libuv with android api less than 21, e.g 14
getpwuid_r can be accessed through dlsym, I tested it on android 4.0.4, 4.1.2, 4.2.1, arm and x86
also I saw issue https://github.com/libuv/libuv/issues/406

Can you explain in the commit log what you changed and why?

I have added commit descriptive message and prettified code

One nit, otherwise LGTM.

No way to test it but LGTM.

I tested it using following devices
android 4.1.2 zte nubia z5 and noname chinese tablet
android 4.2.1 lenovo k900 x86
android 4.0.4 samsung galaxy s3 i9300
android 5.0.2 samsung galaxy tab 4
libuv was built against android api 14 (make-standalone-toolchain.sh --platform=android-14)

@kkdaemon don't worry, we trust you :-) Landed in 43994b4, thanks a lot!


Two mmenus not working

Hi! I got two off-canvas mmenu instances on the same page. One from the left, one from the right. The right one is working fine but the left one can't be closed again. It's just opening but a click on the wrapper/container doesn't closing it again. what I'm doing wrong?
<script>
jQuery(document).ready(function($) {
	$("#navigation").mmenu({
		"offCanvas": {
			"position": "left"
		},
		"navbar": {
			title: "Hauptmenü"
		},
		extensions: ["border-full", "pageshadow"]
	}, {
	   clone: true,
	   classNames: {
		   selected: "active-trail"
	   }
	});

	$("#contact").mmenu({
		"offCanvas": {
			"position": "right"
		},
		extensions: ["pageshadow"]
	});
});
</script>
```
thank you!

Okay, that's a little bit crazy. I changed the order in the script and now it's working fine!??
jQuery(document).ready(function($) {
	$("#contact").mmenu({
		"offCanvas": {
			"position": "right"
		},
		extensions: ["pageshadow"]
	});

	$("#navigation").mmenu({
		"offCanvas": {
			"position": "left"
		},
		"navbar": {
			title: "Hauptmenü"
		},
		extensions: ["border-full", "pageshadow"]
	}, {
	   clone: true,
	   classNames: {
		   selected: "active-trail"
	   }
	});

});
</script>```

Sounds odd, two menus should workshop without any restriction. The order shouldn't matter.


Upgrade to Node 20

Describe the change
Upgrade to Node 20, including the Dockerfile and github actions (actions/checkout v4 runs on Node 20 while v3 runs on Node 16)
Steps to test the PR
Check that OSSMC is built correctly
Automation testing
N/A
Issue reference
#7503

I think that we should push https://github.com/kiali/kiali to ndoe 20 too and verify builds before merge this one

Yes, probably we have to review and merge https://github.com/kiali/kiali/pull/7519 before checking this PR.


how to support the hand model

Hello,
is it possible to run the hand model on this project, if not please can you tell what s needed in order to run it
Best
Lafi

Hand model is not supported.
For realization it is recommended to read OpenPose articles and codes.
It is especially difficult to prepare an optimized model in order to move in real time on mobile.
Please do your best. I pray for success.


getting "NotRegistered" issue from server when app uninstall's and again installed. now not getting push on that device.

Expected Behaviour
Actual Behaviour
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Cordova CLI version and cordova platform version
cordova --version                                    # e.g. 6.0.0
cordova platform version android                     # e.g. 4.1.1

Plugin version
cordova plugin version | grep phonegap-plugin-push   # e.g. 1.5.3

Sample Push Data Payload
Sample Code that illustrates the problem
Logs taken while reproducing problem

Sorry to be a jerk but I'm now closing issues that don't follow the issue submission guidelines. This plugin takes a lot of work to maintain and I can't afford the time required to solicit the required info from everyone.
I'm closing this issue but please feel free to re-open the issue if you provide the requested details from the new issue submission guidelines.
https://github.com/phonegap/phonegap-plugin-push/blob/master/.github/ISSUE_TEMPLATE.md


function change char function behaviour same with mysql

Proposed changes
select char(0) = '\0';
should return true;
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


make space deletion cancel and await ingest stop

When a space delete API call is made, signal to active ingests to
cancel, and wait for them to do so, preventing any further ingest
calls until the deletion is done.
This uses zqd.Core as the holder of the necessary state. Eventually, I
think this would better live in a dedicated space manager, but that's a
much larger change, and I think this code will move there easily.
This is a part of addressing ingest cancellation during applicaion
shutdown on Windows, as we currently see "file in use" errors there when
a delete is called concurrently with ingest.
I'm putting this up now for comments, and will add unit tests in a later
commit in this branch.

I imagine you will also run into "file in use" errors if a delete is issued during a search or even a space info request. That said, I'm not against adding this for now pending the larger space.Manager refactor.


Support for removing resources absent in the new version of the component manifest set

Description
reconciler shall support cleaning up resources which were present in the previous, persisted component manifest set, but are absent from the new applied version of the manifest set.
Scenarios where this functionality is relevant:

Let's assume in ory component, there was Deployment called ory-temp . Now in the new version of Kyma, this deployment does not exist any more in the ory component chart, and hence in the rendered manifest. This resource shall be removed by reconciler after applying the new manifest set.
In the new version of Kyma component, a Deployment called oldname/kyma-system has been renamed to newname/kyma-system . Calling replace and/or create will create the new Deployment with newname for sure, reconciler should detect that the Deployment called oldname is not in the rendered manifest set any more, and delete after applying the new manifest set.

We should not delete resources without explicit statement. See my comment here: https://github.com/kyma-incubator/reconciler/issues/200#issuecomment-949431745
Renaming, removing can be handled also by component reconciler.


[predictoor] Write a script/module to claim ROSE rewards from DFRewards contract

Predictoors need a script or a module in pdr-backend/predictoor to claim their weekly DF ROSE rewards.

Based on https://github.com/oceanprotocol/df-private/issues/68 closing, I'm assuming this is the right ticket.
We had reviewed how this will be implemented, and although we could add support on df-web (and perhaps we should as a backup), most of these users will be running their own bots and will be claiming their PDR rewards as part of their loop.
I support this being implemented there first, and if needed, then implement in df-web.

Based on https://github.com/oceanprotocol/df-private/issues/68 closing, I'm assuming this is the right ticket.

Correct

if needed, then implement in df-web

We don't need this. Predictoors run bots in python. They claim their OCEAN sales (& Predictoor DF OCEAN rewards) in python too, via this script. Therefore it's straightforward for them to claim their ROSE rewards in a script too.


Source compatibility suite: Doggie causing compiler crash in Ubuntu environments

Describe the bug
Doggie is failing to build in linux environments due to a compiler crash. The output seen is
error: compile command failed due to signal 6 (use -v to see invocation)swift-frontend: /home/build-user/swift/lib/SILOptimizer/Transforms/TempRValueElimination.cpp:406: bool (anonymous namespace)::TempRValueOptPass::extendAccessScopes(swift::CopyAddrInst *, swift::SILInstruction *, swift::AliasAnalysis *): Assertion `endAccess->getBeginAccess()->getAccessKind() == SILAccessKind::Read && "a may-write end_access should not be in the copysrc lifetime"' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c -filelist /tmp/TemporaryDirectory.LbYgVJ/sources-1 -supplementary-output-file-map /tmp/TemporaryDirectory.LbYgVJ/supplementaryOutputs-1 -target aarch64-unknown-linux-gnu -Xllvm -aarch64-use-tbi -disable-objc-interop -I /github/source-compat/project_cache/Doggie/.build/aarch64-unknown-linux-gnu/release -g -module-cache-path /github/source-compat/project_cache/Doggie/.build/aarch64-unknown-linux-gnu/release/ModuleCache -swift-version 5 -O -D SWIFT_PACKAGE -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -Xcc -fmodule-map-file=/github/source-compat/project_cache/Doggie/.build/checkouts/libjpeg/Sources/include/module.modulemap -Xcc -I -Xcc /github/source-compat/project_cache/Doggie/.build/checkouts/libjpeg/Sources/include -Xcc -fmodule-map-file=/github/source-compat/project_cache/Doggie/.build/aarch64-unknown-linux-gnu/release/libwebp.build/module.modulemap -Xcc -I -Xcc /github/source-compat/project_cache/Doggie/.build/checkouts/libwebp/dependencies/libwebp/src/webp -Xcc -fmodule-map-file=/github/source-compat/project_cache/Doggie/.build/aarch64-unknown-linux-gnu/release/brotli.build/module.modulemap -Xcc -I -Xcc /github/source-compat/project_cache/Doggie/.build/checkouts/brotli/dependencies/brotli/c/include -Xcc -fmodule-map-file=/github/source-compat/project_cache/Doggie/.build/aarch64-unknown-linux-gnu/release/CFloat16.build/module.modulemap -Xcc -I -Xcc /github/source-compat/project_cache/Doggie/.build/checkouts/Float16/Sources/CFloat16/include -Xcc -fmodule-map-file=/github/source-compat/project_cache/Doggie/.build/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -I -Xcc /github/source-compat/project_cache/Doggie/.build/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -fmodule-map-file=/github/source-compat/project_cache/Doggie/.build/aarch64-unknown-linux-gnu/release/zlib_c.build/module.modulemap -Xcc -I -Xcc /github/source-compat/project_cache/Doggie/Sources/zlib_c/include -module-name DoggieGraphics -enable-default-cmo -parse-as-library -num-threads 4 -output-filelist /tmp/TemporaryDirectory.LbYgVJ/outputs-1
1.	Swift version 5.8-dev (LLVM 03bd949eeee4761, Swift 2c40a850df6f409)
2.	Compiling with the current language version
3.	Contents of /tmp/TemporaryDirectory.LbYgVJ/sources-1:
---
<Omitted to save space>
---
4.	While evaluating request ExecuteSILPipelineRequest(Run pipelines { PrepareOptimizationPasses, EarlyModulePasses, HighLevel,Function+EarlyLoopOpt, HighLevel,Module+StackPromote, MidLevel,Function, ClosureSpecialize, LowLevel,Function, LateLoopOpt, SIL Debug Info Generator } on SIL for DoggieGraphics)
5.	While running pass #7077377 SILFunctionTransform "TempRValueOpt" on SILFunction "@$s14DoggieGraphics19WEBPAnimatedEncoderV6encode5image10properties10Foundation4DataVSgAA13AnimatedImageV_SDyAA0K3RepV11PropertyKeyOypGtFZ".
 for 'encode(image:properties:)' (at /github/source-compat/project_cache/Doggie/Sources/DoggieGraphics/ImageCodec/AnimatedEncoder/WEBPAnimatedEncoder.swift:54:5)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend[0x5de65e4]

Note that this failed inside the docker container swiftlang/swift:nightly-focal sha256:d5272f428b34d63ff15758b81787c8d747c49feb4d635150fc573bfe95c601bb`
Steps To Reproduce
Steps to reproduce the behavior:

Pull the docker image swiftlang/swift:nightly-focal
Mount in the source compatability suite
Build the doggie project using the /usr/bin/swiftc embedded within the container
...

Expected behavior
Expect the project to build correctly
Environment (please fill out the following information)
swift-source-compat-suite-ubuntu-2004
Additional context
https://ci.swift.org/job/swift-source-compat-suite-ubuntu-2004/51/

Xfail is here: https://github.com/apple/swift-source-compat-suite/pull/709

This was fixed with https://github.com/apple/swift/pull/60902


Make your coding life more colourful! 🌈

Coding is sooo dull
If you guys are like me, always struggling when doing labs, coding might seem really dull some times. Coupled with the boring colour of the default vim colour scheme, it might even get depressing :')
How can we make our lives slightly more vibrant?
Colorschemes!! Do you know that vim has some built in colorschemes that we can choose from?
To check them out, go into vim, then into command mode (press esc) and type this in :colorscheme [space] [Ctrl+d]
You're supposed to press space and Ctrl+d ok, not type them out literally
To change your colorscheme, type :colorscheme morning, or whatever colorscheme you want, then press enter.
Do note that this is a temporary change only.
To make it default, we have to add it to our .vimrc file in the home directory.

Type vim ~/.vimrc in your terminal
Navigate to the bottom
Add a line colorscheme <Your_colorscheme_here>    eg. (colorscheme morning)
Save and quit.
DONE

Now every time you open up vim, the colorscheme should be loaded yayyy!
What if we want more colors
You can download other colour schemes from online too, however you would need to add the file to a /.vim/colors directory in your home directory. BUT I would advice to not go through all that hassle if you're using vim without a GUI (means you're just using it in the terminal) as the terminal's vim is limited in colour and would not be able to display the full colour scheme.
You might also notice that some of the colorschemes look very similar cause of that too!
But anyway I feel this is a quick way to make coding slightly more enjoyable if you don't love coding yet XD

Is that the case?  :D

If you are on Windows maybe you can use Windows Terminal to customize everything to suit your needs.

If you are on Windows
maybe you can use Windows Terminal to customize everything to suit your needs.
I use Windows Terminal too and elinks doesn't hurt my eyes anymore 😵

Im not sure about anyone else, but if you use powershell with the default blue color scheme, some syntax highlight in vim will be very similar to the background color. After trying a bunch of color schemes, I found that "industry" is a good color with no highlight having too low contrast ^^

If anyone wants to go through the list of available color schemes in your vim, open any file using vim and type colorscheme space then tab to cycle through the available colors. However, you have to set the colors using the original code above.


[2/x] clean up casting functions: delayed scaling

Stack from ghstack (oldest at bottom):

-> #343
#342
#341

Summary:
Removes delayed scaling from float8_tensor.py. After this PR, the
invariant is that everything in float8_tensor.py requires the scale to
be calculated elsewhere. This moves the codebase towards separation of
concerns for calculating the scale (via various scaling strategies),
separated from creating an instance of Float8Tensor.
Note that stateful delayed scaling is the reason we need this separation.
Test Plan:
./test/test_everything.sh

Reviewers:
Subscribers:
Tasks:
Tags:

started a new PR due to ghstack error


Remove Build command from docker-compose example

As written, the docker-compose.yml example will not work for a user without removing the Build: .  command.   Suggest dropping that line so that it instead reads:
version: '3'
services:
dupeguru:
image: jlesage/dupeguru
ports:
- "5800:5800"
volumes:
- "/docker/appdata/dupeguru:/config:rw"
- "$HOME:/storage:rw"
Second, less important, suggestion would be to use a relative path for the dupeguru config volume, such as:
- "./config:/config:rw"
Thank you for providing this Docker image and for maintaining it.  It is much appreciated!

Thanks for the feedback.  I will remove the build line from the example.
As for your second suggestion, I think that using a relative path may be more confusing for people, since it's not clear where exactly the directory on the host will be located.

I'm not sure what you mean by "approved docker-compose.yml", but there is an example of a minimal compose file here: https://github.com/jlesage/docker-dupeguru#docker-compose-file.  Note that there are no mandatory environment variables, meaning that you can have a running container with dupeGuru accessible without any environment variable.  You only need to set the ones that are required for your specific needs.
Tell me if you more specific question.
For more details on how to set environment variables, the compose file format is documented here: https://docs.docker.com/compose/compose-file.  More specifically, here is the section about environment variables: https://docs.docker.com/compose/compose-file/#environment.

Closing this issue.  Please re-open if needed.


compilers: Remove c_compiler for Linuxbrew

Do not select the compiler cc unless specifically requested
using brew --cc=cc.

Codecov Report

Merging #305 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #305      +/-   ##
=========================================
- Coverage   70.61%   70.6%   -0.02%
=========================================
  Files         341     341
  Lines       17694   17694
=========================================
- Hits        12494   12492       -2
- Misses       5200    5202       +2

Impacted Files
Coverage Δ

extend/io.rb
71.42% <0%> (-28.58%)
:arrow_down:

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 9c69678...223d774. Read the comment docs.


After next release, update the helm charts to match the rename of ctlog/createcerts

As part of #65 we need to then rejigger the helm charts to match the new images. This work is tracking that work.
@sabre1041 heads up.

@sabre1041 did this here already (thanks!) as part of 62, so closing.
https://github.com/sigstore/helm-charts/pull/62/files#diff-98392063921bc3687b99a4b764a9580d32dff2dbaed7ecce4db9fedc8a9dab5bR23
https://github.com/sigstore/helm-charts/pull/62


Fix eeprom write and erase

Hey, i authored the Atmega164PA support at work with my colleague (see https://github.com/Rahix/avr-hal/pull/452).
I took some spare time to look into the EEPROM issue once again (https://github.com/Rahix/avr-hal/issues/406):
The various datasheets for the atmega* chips essentially state the following procedure :

Wait for the EEPE bit to become zero.
Write a logical one to the EEMPE bit while writing a zero to EEPE in EECR.
Within four clock cycles after setting EEMPE, write a logical one to EEPE.

While we do step 1 and 2 correctly, for step 3, we use self.eecr.write(|w| w.eepe().set_bit()); which sets the EEPE bit, but also sets the rest of the register to zero.
This seems to cause some slightly different behavior on different boards, e.g. on my Arduino Uno (Atmega328p) on which i tested this, only a 0xff write fails, while on the atmega164pa an erase also fails.
Using self.eecr.modify(|_, w| w.eepe().set_bit()); fixes the issue, because it preserves the rest of the register.
Please let me know what you think :).

Little update: I now have a better in detail explanation :).
Using self.eecr.write(|w| w.eepe().set_bit()); sets all bits except the eepe bit to zero. This does not lead to the eeprom operation failing, in fact it sets the eeprom operation to erase+write. This leads to different behaviors depending on the case that is entered in the raw_write_byte function.

Some bits need to be programmed to 0 and some to 1: The erase+write mode is used and the data register is set, everything works as expected.
All changed bits need to be set to 0: The write mode is used and the data register is set, everything works as expected.
All changed bits need to be set to 1: The erase mode is used, but the data register is not set (of course, we normally wouldn't need the data register). But the bug then sets the erase+write mode instead and the data from the data register is used, in this case the value that was read at the beginning of the function, so the same value that is stored at the address is written again.

For the raw_erase_byte function, the data register also isn't set and whatever was written there before is used. The function worked for the atmega328p in my tests only because of my test setup, i was reading a 0xff from a different address before using the erase_byte function.