Oxidize dag_to_circuit()

Summary
This commit migrates the dag_to_circuit() converter function implementation to rust. The core of this is having a DAGCircuit to CircuitData converter function in rust. To do this efficiently we just copy the BitDatas and Interners to the new circuit data object being created and then just iterate over all the packed instructions in the circuit. To facilitate this a new constructor for CircuitData is added that takes an iterator of PackedInstructions and the BitDatas and Interners and builds a new circuit data from that.
Details and comments

I ran a quick asv benchmark on this and it's yielding about a ~10x speed up for larger circuits:
Benchmarks that have improved:

| Change   | Before [86a1b496] <dag_to_circuit~1>   | After [c6da91cd]    |   Ratio | Benchmark (Parameter)                                        |
|----------|----------------------------------------|---------------------|---------|--------------------------------------------------------------|
| -        | 30.0±0.2μs                             | 17.2±0.2μs          |    0.58 | converters.ConverterBenchmarks.time_dag_to_circuit(1, 8)     |
| -        | 43.2±0.1μs                             | 21.4±0.07μs         |    0.49 | converters.ConverterBenchmarks.time_dag_to_circuit(2, 8)     |
| -        | 76.7±0.8μs                             | 34.1±0.7μs          |    0.44 | converters.ConverterBenchmarks.time_dag_to_circuit(5, 8)     |
| -        | 173±0.5μs                              | 71.8±3μs            |    0.42 | converters.ConverterBenchmarks.time_dag_to_circuit(14, 8)    |
| -        | 111±0.7μs                              | 46.7±1μs            |    0.42 | converters.ConverterBenchmarks.time_dag_to_circuit(8, 8)     |
| -        | 371±2μs                                | 147±2μs             |    0.4  | converters.ConverterBenchmarks.time_dag_to_circuit(32, 8)    |
| -        | 599±2μs                                | 237±9μs             |    0.4  | converters.ConverterBenchmarks.time_dag_to_circuit(53, 8)    |
| -        | 239±1μs                                | 94.4±1μs            |    0.39 | converters.ConverterBenchmarks.time_dag_to_circuit(20, 8)    |
| -        | 5.10±0.04ms                            | 842±20μs            |    0.17 | converters.ConverterBenchmarks.time_dag_to_circuit(53, 128)  |
| -        | 164±2μs                                | 26.4±0.3μs          |    0.16 | converters.ConverterBenchmarks.time_dag_to_circuit(1, 128)   |
| -        | 3.00±0.01ms                            | 478±20μs            |    0.16 | converters.ConverterBenchmarks.time_dag_to_circuit(32, 128)  |
| -        | 246±0.7μs                              | 34.7±0.3μs          |    0.14 | converters.ConverterBenchmarks.time_dag_to_circuit(2, 128)   |
| -        | 1.94±0.02ms                            | 273±7μs             |    0.14 | converters.ConverterBenchmarks.time_dag_to_circuit(20, 128)  |
| -        | 1.33±0.01ms                            | 179±2μs             |    0.13 | converters.ConverterBenchmarks.time_dag_to_circuit(14, 128)  |
| -        | 513±5μs                                | 65.8±3μs            |    0.13 | converters.ConverterBenchmarks.time_dag_to_circuit(5, 128)   |
| -        | 785±4μs                                | 103±1μs             |    0.13 | converters.ConverterBenchmarks.time_dag_to_circuit(8, 128)   |
| -        | 20.3±0.09ms                            | 1.97±0.02ms         |    0.1  | converters.ConverterBenchmarks.time_dag_to_circuit(14, 2048) |
| -        | 3.56±0.02ms                            | 304±7μs             |    0.09 | converters.ConverterBenchmarks.time_dag_to_circuit(2, 2048)  |
| -        | 7.34±0.05ms                            | 672±9μs             |    0.09 | converters.ConverterBenchmarks.time_dag_to_circuit(5, 2048)  |
| -        | 30.9±0.6ms                             | 2.70±0.04ms         |    0.09 | converters.ConverterBenchmarks.time_dag_to_circuit(5, 8192)  |
| -        | 11.8±0.1ms                             | 1.06±0.01ms         |    0.09 | converters.ConverterBenchmarks.time_dag_to_circuit(8, 2048)  |
| -        | 50.9±0.4ms                             | 4.60±0.1ms          |    0.09 | converters.ConverterBenchmarks.time_dag_to_circuit(8, 8192)  |
| -        | 2.19±0.01ms                            | 175±3μs             |    0.08 | converters.ConverterBenchmarks.time_dag_to_circuit(1, 2048)  |
| -        | 8.92±0.07ms                            | 709±30μs            |    0.08 | converters.ConverterBenchmarks.time_dag_to_circuit(1, 8192)  |
| -        | 14.6±0.09ms                            | 1.18±0.01ms         |    0.08 | converters.ConverterBenchmarks.time_dag_to_circuit(2, 8192)  |

Benchmarks that have stayed the same:

| Change   | Before [86a1b496] <dag_to_circuit~1>   | After [c6da91cd]    | Ratio   | Benchmark (Parameter)                                        |
|----------|----------------------------------------|---------------------|---------|--------------------------------------------------------------|
|          | n/a                                    | n/a                 | n/a     | converters.ConverterBenchmarks.time_dag_to_circuit(14, 8192) |
|          | n/a                                    | n/a                 | n/a     | converters.ConverterBenchmarks.time_dag_to_circuit(20, 2048) |
|          | n/a                                    | n/a                 | n/a     | converters.ConverterBenchmarks.time_dag_to_circuit(20, 8192) |
|          | n/a                                    | n/a                 | n/a     | converters.ConverterBenchmarks.time_dag_to_circuit(32, 2048) |
|          | n/a                                    | n/a                 | n/a     | converters.ConverterBenchmarks.time_dag_to_circuit(32, 8192) |
|          | n/a                                    | n/a                 | n/a     | converters.ConverterBenchmarks.time_dag_to_circuit(53, 2048) |
|          | n/a                                    | n/a                 | n/a     | converters.ConverterBenchmarks.time_dag_to_circuit(53, 8192) |

SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY.
PERFORMANCE INCREASED.

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

63 of 64 (98.44%)  changed or added relevant lines in 4 files are covered.
29 unchanged lines in 7 files lost coverage.
Overall coverage decreased (-0.02%) to 89.134%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/circuit/src/converters.rs
31
32
96.88%

Files with Coverage Reduction
New Missed Lines
%

crates/circuit/src/dag_node.rs
1
77.35%

crates/qasm2/src/expr.rs
1
94.02%

crates/accelerate/src/two_qubit_decompose.rs
1
90.82%

qiskit/transpiler/passes/synthesis/unitary_synthesis.py
2
88.26%

crates/qasm2/src/lex.rs
5
90.98%

qiskit/synthesis/two_qubit/xx_decompose/decomposer.py
7
90.84%

crates/qasm2/src/parse.rs
12
97.15%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.02%

Covered Lines:
73309

Relevant Lines:
82246

💛  - Coveralls


fix: implements sticky footer

I think there was a ticket associated with this but I can't find it now.

🎉


More servers with Hidden Service. Certificate retrieval instructions.

Since @chrisballinger mentioned that:

we need a good list of servers for people to migrate.

I took the effort and searched the entire XMPP Compliance Suite List for any servers with Tor Hidden Service that I had missed before. The full result is at Public XMPP servers with Tor Hidden Service. Here I am adding the new ones that have In-Band registration enabled: jabjab.de, jabber.cat, chatme.im, dismail.de, hot-chilli.net, jabber.systemausfall.org, im.koderoot.net and evil.im.
I've also added new instructions to the README on how to retrieve the certificate directly from the server, avoiding xmpp.net which is currently offline.

Awesome, thank you! We need XEP-0357 and XEP-0363 for the clients to work properly, are you able to include those in the results? You can omit other extensions, these are really the only two that I think are fully required (we still disable XEP-0357 if an account is created over Tor though). I reopened issue #1
{
"domain": "dukgo.com",
"extensions": ["XEP-0357", "XEP-0363"]
}

Done.

Great! I'll merge this and include in the next build.
One small request, when you include icons, could you make sure they are square-ish? It gets displayed in the UI with a 1:1 aspect ratio, and even if using aspect scaling it looks pretty weird.

@dllud Just to double check, is the "server" entry the result of SRV lookup? Some servers have a domain of example.com and a server of xmpp.example.com. It was mainly there to make it possible for users to connect via Tor for servers without .onions because SRV lookups are not possible over Tor.  I should have documented this in the README, sorry.

Sorry, indeed I had it wrong in the newest entries. Thanks for the precious double-check. Pull request fixing this at #17.


Repo sync for protected CLA branch

The pull request is created from master637653370651322812 to master to fix git push error for protected CLA branch

@opbld16 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Data error when starting WiFi and MODBUS at the same time (IDFGH-4581)

Environment

Development Kit:      [none]
Module or chip used:  [ESP32]
IDF version:
v4.2-208-g21eac48ea
Build System:         [Make]
Compiler version:
xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System:     [Linux]
Using an IDE?: [Yes?]
using vscode
Power Supply:         [USB]

Problem Description
When I turn on the functions of WIFI and MODBUS at the same time,and esp32 is used as the slave of Modbus.When the computer sends Modbus read command to the slave,esp32 always returns different register data.Before that,I did not use the write command to change the register data.
If I only turn on MODBUS function, and do not turn on WiFi, then the above error will not appear.
Expected Behavior

mater command
esp32 returns data

CC 03 A0 28 00 04 F6 1C
CC 03 08 BE 1E 2A 4D 58 39 C1 C5 5F EB

CC 03 A0 28 00 04 F6 1C
CC 03 08 BE 1E 2A 4D 58 39 C1 C5 5F EB

CC 03 A0 28 00 04 F6 1C
CC 03 08 BE 1E 2A 4D 58 39 C1 C5 5F EB

CC 03 A0 28 00 04 F6 1C
CC 03 08 BE 1E 2A 4D 58 39 C1 C5 5F EB

Actual Behavior

mater command
esp32 returns data

CC 03 A0 28 00 04 F6 1C
CC 03 08 BB 8F 1E E4 98 12 5A 37 ED 2E

CC 03 A0 28 00 04 F6 1C
CC 03 08 C2 32 3C 5A 7E A2 35 11 FF 95

CC 03 A0 28 00 04 F6 1C
CC 03 08 00 22 9D 7D 4F 2D 79 D8 85 2A

CC 03 A0 28 00 04 F6 1C
CC 03 08 63 13 AF 6C D2 82 03 89 E6 D4

Steps to reproduce

Initialize WIFI and MODBUS
Connect the esp32 to the computer through P4 and P5 pins(P4:TXD  P5:RXD)
The computer sends the read command and monitors the data returned by esp32

Debug Logs
I (22950) modbus: HOLDING READ (22335146 us), ADDR:41001, TYPE:2, INST_ADDR:0x3ffc3b96, SIZE:4
I (22950) modbus: fb df 4a 33 9f d0 fd 60
I (23560) modbus: HOLDING READ (22951905 us), ADDR:41001, TYPE:2, INST_ADDR:0x3ffc3b96, SIZE:4
I (23560) modbus: 62 1e 53 49 c8 9d 8a 57
I (23870) modbus: HOLDING READ (23262934 us), ADDR:41001, TYPE:2, INST_ADDR:0x3ffc3b96, SIZE:4
I (23870) modbus: 8f e4 80 a2 c5 26 35 86
I (24270) modbus: HOLDING READ (23662729 us), ADDR:41001, TYPE:2, INST_ADDR:0x3ffc3b96, SIZE:4
I (24270) modbus: 7a ff 6c 2e c8 07 29 6a

Hi @leo-liuxo,
Unfortunately this is known issue when you are using the WiFi and other tasks with priority higher than CONFIG_FMB_PORT_TASK_PRIO. The Modbus uses polling mode to get data
from the UART driver and if its tasks are suspended often it causes processing delays. The CONFIG_FMB_TIMER_ISR_IN_IRAM=y can help to solve issue with interrupt latency when your app tasks use flash access which disables CPU cache. There some updates for modbus component but there is delay with merge of these fixes. I would propose you to apply the patch for v4.2 which could fix most known fixes. The errors are possible but their quantity will be decreased significantly and I propose to do retries of modbus transactions in this case. The merge of these fixes are pending...
The patch:
backport_latest_fixes_v42.patch.log
Please let me know if you have any questions or results.
Thanks.

Hi @leo-liuxo,
Unfortunately this is known issue when you are using the WiFi and other tasks with priority higher than CONFIG_FMB_PORT_TASK_PRIO. The Modbus uses polling mode to get data
from the UART driver and if its tasks are suspended often it causes processing delays. The CONFIG_FMB_TIMER_ISR_IN_IRAM=y can help to solve issue with interrupt latency when your app tasks use flash access which disables CPU cache. There some updates for modbus component but there is delay with merge of these fixes. I would propose you to apply the patch for v4.2 which could fix most known fixes. The errors are possible but their quantity will be decreased significantly and I propose to do retries of modbus transactions in this case. The merge of these fixes are pending...
The patch:
backport_latest_fixes_v42.patch.log
Please let me know if you have any questions or results.
Thanks.

Hi @leo-liuxo,
Could you provide some update? Thanks.

Thanks for reporting, would close due to short of feedback, feel free to reopen.


Crash with Origins mod in fabric 1.20.1

Due to an issue with rendering the custom model playerhead in the origin selection screen, the game crashes.
Crashlog: https://mclo.gs/YYrEnXd
CPM version: 0.6.14b
Origins version: 1.10.0
Game version: Fabric 1.20.1

Update CPM to 0.6.14c


When placing a spawner it defaults to pig

Hi, I've got your plugin on my server however when a member breaks one and places it as a default pig.

Hi, give the latest version a try


Trying to run docker on armhf, "Operation not supported"

Description
Hello, i'm trying to run Docker on allwinner A10 SOC within Cubieboard HW. I compiled linux kernel v4.9.0, and enabled all available options, that docker requires, except for few.
Using this script: https://raw.githubusercontent.com/docker/docker/master/contrib/check-config.sh i'm checking what dependencies are missing, while compiling kernel. Here is the result after running script: kernel-config.txt
Missing modules marked "missing". Seems, that DEVPTS_MULTIPLE_INSTANCES is no more available in 4.9.0 kernel and other missing elements is not supported on arm architecture. I was not touch aufs support.
uname -a: uname.txt
Docker log: docker-log.txt
docker info:  docker-info.txt
lsmod: lsmod.txt
mount: mount.txt
ifconfig: ifconfig.txt
Steps to reproduce the issue:

edit /etc/apk/repositories - uncomment community repos
apk add docker
service docker start
docker run -it armhf/alpine sh

Describe the results you received:
docker: Error response from daemon: operation not supported.
Describe the results you expected:
Container running.
Additional information you deem important (e.g. issue happens only occasionally):
I may include the Dockerfile, which builds u-boot, patches and compiles linux-kernel, adds Alpine Linux rootFS and makes sdcard image, ready to burn onto SD if someone want to reproduce issue with same hardware (Cubietech Cubieboard 1 / A10 Allwinner SoC)
Output of docker version:
Client:
Version: 1.12.5
API: 1.24
Go: go1.7.3
Git: v1.12.5
Built: Jan 9 2017
OS/arch: linux/arm

Server: same

Output of docker info:
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 1
Server Version: 1.12.5
Storage Driver: overlay
 Backing Filesystem: tmpfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null host bridge overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options:
Kernel Version: 4.9.0
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: armv7l
CPUs: 1
Total Memory: 996.5 MiB
Name: aldock
ID: SAAM:KJKB:SGC3:Z7SM:OKLK:2S4Y:OQEC:T6XX:6L6J:KRUV:XWV6:H7UB
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
Cubietech Cubieboard 1 on A10 Alwinner SoC hardware
Linux Kernel 4.9.0, manually customized
Alpine linux 3.5.0
Docker downloaded from community repositories, not yet available in main repo (not considered stable on Alpine ?)

The PTS multiple instances check is fixed in master https://raw.githubusercontent.com/docker/docker/master/contrib/check-config.sh but you cannot disable it in 4.9, so it doesn't matter.

The build you are testing is the Alpine arm build, which I haven't tested recently on arm, and it is not an official build. @ncopa may well have tested it though.
You could try our static binary build of master from here https://master.dockerproject.org/linux/arm/docker-1.14.0-dev.tgz install instructions here https://docs.docker.com/engine/installation/binaries/ and see if it is any different.
Also the output of strace -f of the docker-containerd process would help to see what syscall it is failing on.

I've tryed to use provided binary, as described in instruction. Seems, that there is no docker daemon, but only docker client in that archive.
So, when i try to run 1.14 client along with 1.12.5 daemon - the result is the same.
Also i collected some strace logs, launched against dockerd process (not against docker-containerd for now).
Logs: strace-dockerd.txt
Maybe string 734 contains some useful info.

Hi @CoruNethron you may have considered this already, but have you thought about building from source on the device? If you enable a swap-file you may be able to complete a build (for instance you can even build on a 512mb Pi Zero).
It may get you further along while waiting for more info.
I haven't tried Alpine Linux as the host OS on an ARM device but have a few variations with Ubuntu / Raspbian / Arch Linux. If you have a spare SD card could you try one of those alternatives too?

In november i've tryed to build Docker from source under CentOS 7, on the same device. But i'm very unfamiliar with Go compiler and just unable to setup environment and finish. I will try some other OS, and maybe CentOS again in next days.
Also, offtopic, but i have some troubles with Alpine X86_64 + Docker. Many apps / containers ends up with Segfault. Possibly because of musl c lib instead of glibc.

Probably the reason is, that tmpFS does't support xattr.
I'll investigate further.

After CONFIG_TMPFS_XATTR and CONFIG_TMPFS_POSIX_ACL flags switch to [=y] (before compiling kernel) i finally can run containers. Maybe better for me will be to use persistent storage, but the root cause was extended attributes not available for tmpFS with my kernel configuration.
For now i postpone any actions with other distributions. Thanks for all helpful recomendations.

Closed, because issue resolved by changing my kernel configuration.


[Feature] Trigonometric Function Graphing Calculator

Description
I want to add a Trigonometric Function graphing calculator which gives the solution with a  graph as per the given function
For example -
sin, cos, tan, etc.
Screenshots

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Proceed @JiyaGupta-cs


Manual decoder for sum type without type hint

Often, especially when the JSON is a given spec (for ex from an API), we don't have the choice to have a type int for the encoding of a sum type, which is nonetheless possible to parse just based on attributes.
For example, consider the case where you have an array of fruits, Apple and Banana, like in zio-json doc:
[{"poison":false}, {"curvature":0.5}]

And you would like to parse that in the your business domain into the following sum type:
sealed trait Fruit
final case class Banana(curvature: Double) extends Fruit
final case class Apple (poison: Boolean)   extends Fruit

This is possible and deterministic but for that, we need to manually encode the fruit decoder. We could use tuple decoder and orElse , but it quickly become fastidious and inefficient.
We would like to be able to direct the chained decoder directly by pattern-matching on the first characters of the attribute name.
And other, similar use case, is when we need to pattern-match based on the value directly, like in:
[ false, 0.5 ] => List(Apple(false), Banana(0.5))

@fommil provided the basic layout of such a decoder generator in https://discord.com/channels/629491597070827530/733728086637412422/785790333027614730:

import scala.annotation.switch

import zio.json._
import zio.json.internal.RetractReader
import Decoder.{JsonError, UnsafeJson}

sealed trait Simple
object Simple {
  case class S(a: String)  extends Simple
  object S {
    implicit val decoder: Decoder[S] = Decoder[String].map(S(_))
  }

  case class B(a: Boolean) extends Simple
  object B {
    implicit val decoder: Decoder[B] = Decoder[Boolean].map(B(_))
  }

  implicit val boolean: Decoder[Simple] = new Decoder[Simple] {
    def unsafeDecode(trace: List[JsonError], in: RetractReader): Simple =
      (in.nextNonWhitespace(): @switch) match {
        case '"' =>
          in.retract()
          Decoder[S].unsafeDecode(JsonError.SumType("S") :: trace, in)
        case 't' | 'f' =>
          in.retract()
          Decoder[B].unsafeDecode(JsonError.SumType("B") :: trace, in)
        case c =>
          throw UnsafeJson(JsonError.Message(s"expected string or boolean got $c") :: trace)
    }
  }
}

manualSumSwitch(in) {
  case '"' => ("S", Decoder[S])
  case 't' | 'f' => ("B", Decoder[B])
}

or maybe the SumType would be dependent on the character encountered, so it could be

manualSumSwitch(in) {
  case '"' => Decoder[S]
  case 't' | 'f' => Decoder[B]
}

(plus some other comment latter on the discussion).

Thinking a bit more about that, I think that I would like to have:
implicit val decoder: JsonDecoder[Fruit] = ManualDecoder.switch {
   case Char("t") | Char("f) => JsonDecoder[Boolean].map(Apple(_)) // would match "true" or "false"
   case Char(x) => JsonDecoder[Double].map(Banane(_)) // would match 0.5
   case Obj(List("curvature")) => JsonDecoder[Banana]  // whould match {"curvature": 0.5 }
   case Obj(List("yellowness", "acidity") => JsonDecoder[Lemon] // would match { "yellowness"; "strong", "acidity":"hight" }
   case Obj(List("name") => JsonDecoder[GenericFruit] // would match for ex { "color": "blue", "name":"blueburry" } assuming GenericFruit can be built from that; ie field given in Obj are a minimum set of matching fields, with the user deciding how to solve ambiguities
}

Such decoder could parse:
[ 0.5, true, {"curvature": 0.2}, {"yellowness"; "strong", "acidity":"hight" }, {"color": "blue", "name":"blueburry" } ]
``` as a `List[Fruit]


5948/remove q interval from indexers query

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense and have useful messages
[ ] Important changes are reflected in changelog.d of the affected packages
[ ] Relevant tickets are mentioned in commit messages

PR

[ ] (For external contributions) Corresponding issue exists and is linked in the description
[ ] Targeting main unless this is a cherry-pick backport
[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] If relevant, reference the ADR in the PR and reference the PR in the ADR
[ ] Reviewer requested

@berewt The ADR in plutus-apps repo? If so, yeah I think it should be amended.

@berewt The ADR in plutus-apps repo? If so, yeah I think it should be amended.

Yes, should we consider having an ADR folder for Marconi as well by the way?

@berewt Yep. Once we need to write one, we'll add it here and migrate the existing ones from plutus-apps here.

@berewt Yep. Once we need to write one, we'll add it here and migrate the existing ones from plutus-apps here.

Here are the links to plutus-apps PR and corresponding JIRA ticket


⚠ Bofrost.at has degraded performance

In adc4df4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1621 ms

Resolved: Bofrost.at performance has improved in ffafce8 after 13 minutes.


Tekton 1.17.0 Update

Update tekton to 1.17.0, and some additional changes to the build tooling.
Thank you for wanting to submit a Pull Request to the Civo Kubernetes Marketplace repository!
If your pull request concerns an existing Marketplace application, please make sure you have:

[X] Notified the Maintainer of the application in this pull request so that they are aware of your proposal. - Myself :-)
[X] Outlined the changes you are proposing, and the reasons these are required (e.g. stability, compatibility with new versions of Kubernetes implementations, etc).
[X] Tested that the application works with the proposed updates applied (including a screenshot) - Testing done live at "Community Meetup #3"...

lgtm


Aria roles and labels across templates

I've probably added fewer roles and labels than I should do, but I think this is at least an improvement and does mean that it's possible to keyboard tab navigate the site and improve the accessibility of it.

This is great @heymonkeyriot  - thanks!


Dependency on CMake & Make

These are not default tools on Windows. Dependency on these tools is undocumented. Especially, Makefile support on Windows is half-baked solution (Syntax that works on Linux would not necessarily always work on Windows). Investigate ways around dependency on external tools.
Is it possible to use threads instead of spawning external processes?

Fixed by #2388


bad performance for hugh insert of escaped values

Hello,
my normal usage of node-mysql (great lib, don't understand me wrong!) is to combine it with squel.js what works like a charm.
Today I had to migrate some old PHP code to node where a lot of sql inserts have to be done.
Every insert object contains 5 properties, at least I have to insert 50.000 to 100.000 rows at a time (of cause it is possible to split it to smaller pieces, but as it worked on the same way in PHP I'm searching for a reason for all of this).
As example I can provide some fake queries (created by squel and send to node-mysql):
var var inserts = [];
// up to 100.000 of this objects will be at the insert array
for (var i=0; i < 100000; ++i) {
  inserts.push({a:1, b:'abc', c:33, d:'78as', e:'foo'};
}
var sql = Squel.insert().into('tableName').setFieldsRows(inserts).toParam();

// squel.js creates a normal query like "INSERT INTO tableNAME (a,b,c,d,e) VALUES (?,?,?,?,?), (?,?,?,?,?), ... for sql.text.
// sql.values is an array with the insert objects [1,'abc',22,'78as','foo',..]
mysqlCon(sql.text, sql.values, function(err, result) {
  console.log('is not reached after minutes'):
});

From node-tick-processor I picked the following (reduced) output:
   ticks parent  name
   9062   58.4%  /opt/local/bin/node
   7322   80.8%    LazyCompile: *<anonymous> /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:70
   7322  100.0%      LazyCompile: *StringReplaceGlobalRegExpWithFunction native string.js:374
   7322  100.0%        LazyCompile: *replace native string.js:221
   7322  100.0%          LazyCompile: ~SqlString.format /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:67
   7322  100.0%            LazyCompile: ~Connection.format /xxx/src/node_modules/mysql/lib/Connection.js:243
    370    4.1%    LazyCompile: ~<anonymous> /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:70
    370  100.0%      LazyCompile: *StringReplaceGlobalRegExpWithFunction native string.js:374
    370  100.0%        LazyCompile: *replace native string.js:221
    370  100.0%          LazyCompile: ~SqlString.format /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:67
    370  100.0%            LazyCompile: ~Connection.format /xxx/src/node_modules/mysql/lib/Connection.js:243
    360    4.0%    LazyCompile: *StringReplaceGlobalRegExpWithFunction native string.js:374
    334   92.8%      LazyCompile: *<anonymous> /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:70
    334  100.0%        LazyCompile: *StringReplaceGlobalRegExpWithFunction native string.js:374
    334  100.0%          LazyCompile: *replace native string.js:221
    334  100.0%            LazyCompile: ~SqlString.format /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:67
     17    4.7%      LazyCompile: *replace native string.js:221
     15   88.2%        LazyCompile: ~SqlString.format /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:67
     15  100.0%          LazyCompile: ~Connection.format /xxx/src/node_modules/mysql/lib/Connection.js:243
     15  100.0%            LazyCompile: ~Connection.query /xxx/src/node_modules/mysql/lib/Connection.js:173
      2   11.8%        LazyCompile: *SqlString.escape /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:16
      2  100.0%          LazyCompile: *<anonymous> /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:70
      2  100.0%            LazyCompile: *StringReplaceGlobalRegExpWithFunction native string.js:374
      9    2.5%      LazyCompile: ~<anonymous> /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:70
      9  100.0%        LazyCompile: *StringReplaceGlobalRegExpWithFunction native string.js:374
      9  100.0%          LazyCompile: *replace native string.js:221
      9  100.0%            LazyCompile: ~SqlString.format /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:67

   5468   35.2%  /usr/lib/system/libsystem_kernel.dylib

    581    3.7%  /usr/lib/system/libsystem_platform.dylib
    495   85.2%    LazyCompile: *<anonymous> /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:70
    495  100.0%      LazyCompile: *StringReplaceGlobalRegExpWithFunction native string.js:374
    495  100.0%        LazyCompile: *replace native string.js:221
    495  100.0%          LazyCompile: ~SqlString.format /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:67
    495  100.0%            LazyCompile: ~Connection.format /xxx/src/node_modules/mysql/lib/Connection.js:243
     31    5.3%    LazyCompile: ~<anonymous> /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:70
     31  100.0%      LazyCompile: *StringReplaceGlobalRegExpWithFunction native string.js:374
     31  100.0%        LazyCompile: *replace native string.js:221
     31  100.0%          LazyCompile: ~SqlString.format /xxx/src/node_modules/mysql/lib/protocol/SqlString.js:67
     31  100.0%            LazyCompile: ~Connection.format /xxx/src/node_modules/mysql/lib/Connection.js:243

Strange for me to see is a performance loss at about 10.000 entries. Lower values are calculated instantly, higher values are resulting in 100% cpu for minutes (I haven't waited for the completion).
Squel itself has to function to render the query as string (.toString()). There is no performance problem with the high amount of objects.
My workstation is an apple iMac i7 (model late 2013), the real testing environment is a huge dual xeon server with debian 7.0 on it. CPU power should not be the real reason for all of this ;-).
Is there anything I have to have to change at my code or is it just a limitation of node-mysql?
Thanks for any help or hint you can provide!

I experienced a similar issue. It was related to the size of the values array and the fact that SqlString.format was using values.shift() to iterate the values.
https://github.com/felixge/node-mysql/pull/1019

This should be addresses now with version 2.6.0


running time too long in ARMV7

The issue is that the running time of matrix multiplication(cblas_sgemm()) is too long in ARMV7.
Details:
Cross complie: make TARGET=ARMV7 HOSTCC=gcc USE_MASS=1 CC=arm-openwrt-linux-gcc NOFORTRAN=1 NO_SHARED=1
OpenBLAS build complete. (BLAS CBLAS)
OS               ... Linux
Architecture     ... arm
BINARY           ... 32bit
C compiler       ... GCC  (command line : arm-openwrt-linux-gcc)
Library Name     ... libopenblas_armv7p-r0.2.20.dev.a (Multi threaded; Max num-threads is 24)
Install:  make PREFIX=/home/yanghongxiao/openblas/ install NO_SHARED=1
Generating openblas_config.h in /home/yanghongxiao/openblas//include
Generating f77blas.h in /home/yanghongxiao/openblas//include
Generating cblas.h in /home/yanghongxiao/openblas//include
Copying LAPACKE header files to /home/yanghongxiao/openblas//include
Copying the static library to /home/yanghongxiao/openblas//lib
Generating openblas.pc in /home/yanghongxiao/openblas//lib/pkgconfig
Generating OpenBLASConfig.cmake in /home/yanghongxiao/openblas//lib/cmake/openblas
Generating OpenBLASConfigVersion.cmake in /home/yanghongxiao/openblas//lib/cmake/openblas
Install OK!
arm-openwrt-linux-gcc -o test matrix/test.c -I openblas/include/  openblas/lib/libopenblas_armv7p-r0.2.20.dev.a -lpthread
The running time: 440x512x512     2.272080 s      101.531075 MFLOPS
440x256x256     0.585930 s      98.427589 MFLOPS
440x512x512     2.273612 s      101.462654 MFLOPS
440x512x512     2.351710 s      98.093178 MFLOPS
440x512x512     2.345992 s      98.332268 MFLOPS
512x512x521     2.738963 s      99.729012 MFLOPS
I wonder where I went wrong.

Please try limiting the number of threads. What kind of hardware is this, could it be another case of a big.little cpu combination where half of the cores (or more) are much slower than the others ?

Hello, I tried many times. The number of threads is 1 and the cpu is ARM R8. But the run time is always so long.  I think it's too slow, so I wonder whether the complied parameter is right?

For a single thread you should probably set NUM_THREADS=1 to remove all threading code (It actually defaults to CPUs found on build machine, not target)
It is realtime CPU, can you run something like perf record/perf report to ensure realtime clock interrupts do not steal too much time? If input is graphics then best optimisation would be to halve resolution until time is satisfactory and no detail lost.

@yhx123456  canyou share the version of the openblas you compile?the develop version or armv7 version or arm_soft_fp_abi? my test code can not work normal

@ctgushiwei  https://github.com/xianyi/OpenBLAS.git . I haven't made any changes.

@yhx123456  you mean you use the develop version

Yeap,Is there any problem with this version?

@ctgushiwei  Yeap，Is there any problem with this version?

I have another question?Is assembly language can compile sucessfully on ARMV7 target?

@yhx123456   I can compiled 0.2.19 release version successfully ,but when i test cblas_sgemm,i go to segmentation error. i have known the reason,the code at openblas_0.2.19/kernel/ can not compile to .o file,i do not know how to solve this problem

This is from 2017 and I think there was some confusion about how to compile and set the correct number of threads.
So it seems this issue should be closed now, thanks.


feat: Rename app

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

GitHub release
v1.2.0

Your semantic-release bot :package::rocket:


put fails on Safari

My app works flawless on any browser except Safari (11.1.1).
The operation failing is a simple dexie.[table].put().
The error says:
Unhandled rejection: UnknownError: An internal error was encountered in the Indexed Database server
mapError
handleRejection
handleRejection@[native code]

At this point, Safari deletes all IndexDB databases. After a restart (of Safari), the database is recreated and populated (using bulkPut()).
Does anybody have an idea for debugging or a workaround?
I'm using dexie 2.0.4.

I have figured it out. It is the missing BLOB support in this version of Safari. This seems to be a very annoying situation with Safari.

See #618


fix: samba renamed settings

Samba shares have been renamed to settings. Since these are the unified settings, they also include global settings
defined under the keyword global, since that isn't a share I choose to specifically exclude it.

Thanks, looks good!


Extend StateSynthesis to store both local key and import key on Import variables

Won't do:  Doesn't match rest of existing state representation


feat: Added Contributed Repos to profile page

What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Description
Added Contributed Repos to the profile page #112

Related Tickets & Documents
Resolves #112

Mobile & Desktop Screenshots/Recordings

since this is my first contribution, it shows 0(lol). so I really need someone to run and check if its working for them.

this is the function I wrote and added to date

Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
Just run and check if it's showing the right results for you guys too.
[optional] What gif best describes this PR or how it makes you feel?

thanks so much for pointing that out. I accepted the changes. will keep it in mind for the future too.

Looks Great, thanks for working on this! @punyamsingh

Congrats on your first merged PR! Welcome to OpenSauced :P


fix(registry): bump etcd ttl to 20 seconds

The registry and gateway's boot relies on etcdctl for determining who has the master lock. Bumping to 20 seconds should prevent users from having their TTLs expire from latency issues.
closes #3563

Bumping to 20 seconds should prevent users from having their TTLs expire from latency issues.

Have we been able to recreate the original issue? The tradeoff here is that failover will take longer should one of these components die. I'm not sure why we're only seeing this issue for the master lock, as those keys are set just like everything else. We use a TTL of 10 seconds for all components.

I haven't been able to reproduce the original issue. @haf said that he saw this on DO so I'm going to try again on there and see if anything coughs up, then try out this PR to see if it makes a difference.

@bacongobbler You could possibly try it out in our env if you want; do you have skype? (mine: h.feldt).

I don't have Skype but I'd be happy to help you over email or Google Hangouts<EMAIL_ADDRESS>

I threw in a few time blocks to roughly see how long the publish loops were taking. They do indeed seem to take around 3-4 seconds to publish, though I'm not really sure why.
+    # while the port is listening, publish to etcd
+    while [[ ! -z $(netstat -lnt | awk "\$6 == \"LISTEN\" && \$4 ~ \".$PORT\" && \$1 ~ \"$PROTO.?\"") ]] ; do
+        START_TIME=$(($(date +%s%N)/1000000))
+        if etcdctl --no-sync -C $ETCD mk ${ETCD_PATH}/masterLock $HOSTNAME --ttl $ETCD_TTL >/dev/null 2>&1 \
+        || [[ `etcdctl --no-sync -C $ETCD get ${ETCD_PATH}/masterLock` == "$HOSTNAME" ]] ; then
+            echo "if time: $(($(($(date +%s%N)/1000000)) - $START_TIME))"
+            etcdctl --no-sync -C $ETCD set $ETCD_PATH/host $HOST --ttl $ETCD_TTL >/dev/null
+            echo "SET /host time: $(($(($(date +%s%N)/1000000)) - $START_TIME))"
+            etcdctl --no-sync -C $ETCD set $ETCD_PATH/port $EXTERNAL_PORT --ttl $ETCD_TTL >/dev/null
+            echo "SET /port time: $(($(($(date +%s%N)/1000000)) - $START_TIME))"
+            etcdctl --no-sync -C $ETCD update ${ETCD_PATH}/masterLock $HOSTNAME --ttl $ETCD_TTL >/dev/null
+            echo "UPDATE /masterLock time: $(($(($(date +%s%N)/1000000)) - $START_TIME))"
+        fi
+        etcdctl --no-sync -C $ETCD set $HOST_ETCD_PATH/host $HOST --ttl $ETCD_TTL >/dev/null
+        echo "SET /host time: $(($(($(date +%s%N)/1000000)) - $START_TIME))"
+        etcdctl --no-sync -C $ETCD set $HOST_ETCD_PATH/port $EXTERNAL_PORT --ttl $ETCD_TTL >/dev/null
+        echo "SET /port time: $(($(($(date +%s%N)/1000000)) - $START_TIME))"
+        echo "publish loop time: $(($(($(date +%s%N)/1000000)) - $START_TIME))"
+        sleep $(($ETCD_TTL/2)) # sleep for half the TTL
+        echo "total loop time: $(($(($(date +%s%N)/1000000)) - $START_TIME))"
+    done

Here's a breakdown of the logs, deployed with this change. Note that the times are reference since the start time in milliseconds, so the if condition as well as the SET/UPDATE operations are ~.5 seconds long:
Apr 29 18:12:11 bacon-3 sh[32704]: if time: 484
Apr 29 18:12:11 bacon-3 sh[32704]: SET /host time: 978
Apr 29 18:12:12 bacon-3 sh[32704]: SET /port time: 1479
Apr 29 18:12:12 bacon-3 sh[32704]: UPDATE /masterLock time: 1981
Apr 29 18:12:13 bacon-3 sh[32704]: SET /host time: 2489
Apr 29 18:12:13 bacon-3 sh[32704]: SET /port time: 2981
Apr 29 18:12:13 bacon-3 sh[32704]: publish loop time: 2982
Apr 29 18:12:23 bacon-3 sh[32704]: total loop time: 12986
Apr 29 18:12:24 bacon-3 sh[32704]: if time: 498
Apr 29 18:12:24 bacon-3 sh[32704]: SET /host time: 983
Apr 29 18:12:25 bacon-3 sh[32704]: SET /port time: 1485
Apr 29 18:12:25 bacon-3 sh[32704]: UPDATE /masterLock time: 1987
Apr 29 18:12:26 bacon-3 sh[32704]: SET /host time: 2483
Apr 29 18:12:26 bacon-3 sh[32704]: SET /port time: 2981
Apr 29 18:12:26 bacon-3 sh[32704]: publish loop time: 2993
Apr 29 18:12:36 bacon-3 sh[32704]: total loop time: 13001
Apr 29 18:12:37 bacon-3 sh[32704]: if time: 483
Apr 29 18:12:37 bacon-3 sh[32704]: SET /host time: 984
Apr 29 18:12:38 bacon-3 sh[32704]: SET /port time: 1478
Apr 29 18:12:38 bacon-3 sh[32704]: UPDATE /masterLock time: 1974
Apr 29 18:12:39 bacon-3 sh[32704]: SET /host time: 2480
Apr 29 18:12:39 bacon-3 sh[32704]: SET /port time: 2981
Apr 29 18:12:39 bacon-3 sh[32704]: publish loop time: 2985
Apr 29 18:12:49 bacon-3 sh[32704]: total loop time: 12990
Apr 29 18:12:50 bacon-3 sh[32704]: if time: 487
Apr 29 18:12:50 bacon-3 sh[32704]: SET /host time: 981
Apr 29 18:12:51 bacon-3 sh[32704]: SET /port time: 1481
Apr 29 18:12:51 bacon-3 sh[32704]: UPDATE /masterLock time: 1982
Apr 29 18:12:52 bacon-3 sh[32704]: SET /host time: 2487
Apr 29 18:12:52 bacon-3 sh[32704]: SET /port time: 2980
Apr 29 18:12:52 bacon-3 sh[32704]: publish loop time: 2982
Apr 29 18:13:02 bacon-3 sh[32704]: total loop time: 12985

This cluster has only one app running on it with practically zero load. Since we're sleeping for half of the TTL, we only have 5 seconds to update the value. With this change we'll have 10, which should be more than enough time to accomodate for minor latency issues.
This is a baseless claim with no evidence to support it, but maybe the periodic latency is due to etcd snapshots?

@bacongobbler just a question, why not fix this using the dns approach:

is possible to use multiple nodes spreading the load
no etcd "master" key or custom logic
resilience to failures (scaling to more than one deis-store-gateway and deis-registry)
avoid excessive i/o in one node (the "master")
no periodic etcd publications

That's a good question. The issue with that is we don't have any internal DNS resolution at the moment (https://github.com/deis/deis/issues/3072) so I'm trying to fix up the existing solution until we can hash that problem out. For background, today is code freeze day so I didn't have much time to come up with a more elegant solution.

Today is code freeze day so I didn't have much time to come up with a more elegant solution.

That's actually end-of-day tomorrow, but you're right - we should attempt a simple fix if possible. I guess my confusion stems from the question: how are masterLock keys different than our other keys? Shouldn't we bump all the TTLs to 20s? If the masterLock is a special snowflake, do we understand why?
I'd also like to see etcd leader stats from your cluster, @bacongobbler. If there is significant etcd latency between nodes, I could see how sets could take some time, but not sure I understand why in the normal case.

I guess my confusion stems from the question: how are masterLock keys different than our other keys? Shouldn't we bump all the TTLs to 20s? If the masterLock is a special snowflake, do we understand why?

We should bump the rest to 20 seconds. I think registry/masterLock just sees these issues pop up more often because there are extra SET calls in the publish loop and it's the first key to be set during that loop.

I'd also like to see etcd leader stats from your cluster, @bacongobbler. If there is significant etcd latency between nodes, I could see how sets could take some time, but not sure I understand why in the normal case.

From a cluster freshly booted with Deis installed:
core@deis-1 ~ $ curl localhost:4001/v2/stats/leader
{"leader":"2c4e63926a2e4c5cb2c61332111bf5e8","followers":{"50996869b31647169693fc8825ff20de":{"latency":{"current":3.433033,"average":4.091333775638667,"standardDeviation":8.368721833777938,"minimum":1.425843,"maximum":149.135046},"counts":{"fail":0,"success":2701}},"9a882f4fda6947aaaf2198a284e17cb7":{"latency":{"current":2.984334,"average":4.836883903142324,"standardDeviation":8.794705034244751,"minimum":1.509971,"maximum":132.850809},"counts":{"fail":0,"success":2705}}}}

We should bump the rest to 20 seconds.

Let's do that. :+1:

done

Code LGTM.

Code LGTM.


NativeProtocolType supported values

so, NativeProtocolType does not support SSTP? is that what it means? SSTP is also a protocol among IKEv2,PPTP,L2TP and it does not make sense for it not to be in this list.
also, is this a multi-value configuration node? let's say I want the profile to try just IKEv2 and PPTP but not L2TP or SSTP. can I do that if I simply put:
<NativeProtocolType>IKEv2,PPTP</NativeProtocolType> in my XML or it will not work? I know "automatic" is there but I want to know how much fine-tuning I can do as "automatic" will try all 4.

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

ID: 2d13d299-d2d2-87c7-f4e8-33fff0d51fea
Version Independent ID: cf74cde6-116d-2f4f-c4a5-e759deef3f3a
Content: VPNv2 DDF file
Content Source: windows/client-management/mdm/vpnv2-ddf-file.md
Product: w10
GitHub Login: @MariciaAlforque
Microsoft Alias: maricia

@officedocsbot assign @jvsam

Hi @sasanmcp hoping all is well. I know it's been a while since this issue was opened so thank you for your patience. I just wanted to follow up if you found the answers to you questions? According to some community uses, NativeProtocolType supports SSTP, one thing to consider is to ensure you set the correct VpnStrategy key. This TechNet article may be able to provide some insight, although there are links shared in there that are not hosted by Microsoft—with information including additional VpnStrategy keys—they may be worth checking (We can't guarantee their accuracy though).
Other than Technet and the Tech Community where you can ask questions and interact with other users, experts and also Microsoft engineers, you can also contact Windows 10 support if you need immediate assistance.
I will now close this issue, however, feel free to re-open if you have suggestions or ideas to improve the quality of this doc. Please note that Github site is used as a feedback system to help improve the quality of the technical documentation. Thanks for being part of the Microsoft Docs community!

@officedocsbot close


Update dependabot.yml

https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates#target-branch


Use bitmap resource type

The gists will also need updating, which I'll do when the SDK goes live.

:+1:


Proposal: repair command to reset resources have been changed outside helm

If a release's resources are changed outside of Helm, it is desirable to repair them, effectively resetting them back to the latest release manifest without actually performing an upgrade or otherwise changing the release state. This has the nice property of being idempotent.
I found #3805, saw that helm upgrade was updated to use a strategic three-way merge in #6124, and remembered that I had discussed the repair use case with @bacongobbler a few months ago.
I've written a plugin based on the action Helm 3 package that implements this feature (see https://github.com/joelanford/helm3-repair-plugin). We use a similar approach for the Helm-based operator in Operator SDK, but it seems like this repair command could be widely applicable to all Helm users.
It works by fetching the latest release and iterating its resources. For each resource it:

Fetches the current resource from the cluster
If not present, it re-creates it from the manifest.
If present, it generates a three-way merge patch.

Base: manifest resource
Target: manifest resource
Current: fetched resource

If the patch is empty, there's nothing to do, so no write request is made to the k8s API.
If the patch is non-empty, it applies the patch to the resource.

@sboardwell is this what you had in mind with this comment?
What do folks think about the approach?

Hi @joelanford, sorry, got caught up in other things. Yes, this is what I had in mind, although I would like to see a --dry-run or --report-only flag to identify the changes without repairing them. This  would allow people to actually see what was wrong before repairing (maybe the change is a legitimate one that needs to be reflected in the values.yaml for the next deployment)

@sboardwell No worries! Thanks for the feedback. A --dry-run flag makes total sense, so I just added support for that. Now the plugin will always print a unified diff and will skip applying the patch when --dry-run is true.

@joelanford
Brilliant, thanks a lot. As a side note, does anyone know how far Helm3 is away from GA or even beta, or how stable the current alpha is?

The first beta release of Helm 3 was released a little over a week ago. We've since released helm 3.0.0-beta.2, and we may be releasing beta.3 next week. 3.0.0 will be released when we feel comfortable that we've fixed all the regressions, ported over features from Helm 2 ever since we forked from master, and when we have a well-tested migration plan in place. That may take some time.

As I understand it, this use case can be handled already with helm rollback as it will reset back to the target state, even if objects have been modified with kubectl edit. If you want to really force an update, use helm rollback --force.
More info here: https://helm.sh/docs/faq/#improved-upgrade-strategy-3-way-strategic-merge-patches
Hope this helps!


Support for searching for posts by location/external ID

Had a really nice use-case in goinsta v1 where you could search for posts by location ID https://github.com/tducasse/goinsta/blob/master/goinsta.go#L581
I don’t see any such feature in goinsta v2..only ability to search for media based on a hashtag. Any insight would help

https://github.com/ahmdrz/goinsta/blob/master/feeds.go
Added on *.Feed.LocationID()

Awesome! Would this search for global posts or just ur feed? To be specific, I was looking for global posts

Global search.
You have to check it.
I'm waiting for your response.
On Sep 13, 2018 01:41, shahzilabid<EMAIL_ADDRESS>wrote:
Awesome! Would this search for global posts or just ur feed? To be specific, I was looking for global posts
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/ahmdrz/goinsta/issues/170#issuecomment-420799346, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQK5JL-je2wK3yBbQe-3ZoNtAz9Ky7GWks5uaXiXgaJpZM4WkvYM.

Just tested. Exactly what I was looking for..thankyou!

https://github.com/ahmdrz/goinsta/blob/1ec2c068dfde7f4ede14eaf4d69f60886282c4ae/hashtags.go#L86 Is this sort of functionality possible (where we iterate over pages)?

Pagination not implemented.
It's easy to implement.

Not crucial. All good..Closing this issue as it's resolved now. Thanks again

Hey @ahmdrz .. it seems this function no longer returns any results.. any idea?

Follow in #226.


grey (gray) text

The text in the pdf seems to be a dull gray which is difficult to read (at least on screen). Can the main text be black? Or, is this related to how I tex'ed my version of the document?

I think the default latex font often comes out a little like that - I'm okay with it but probably just used to it!
To change font, just add
%https://www.sharelatex.com/learn/Font_typefaces
\usepackage{tgschola}
on line 61 of hake.sty   .    The commented website lists a bunch of fonts, and the tgschola is one example. (I emailed Allan an example page). I don't particularly like that one, but we can play with other ones if necessary. I'm just using ps2pdf, I'm not sure if's related to whoever is making the pdf.

Based on a quick fix suggested on
http://tex.stackexchange.com/questions/7185/how-to-make-the-pdf-output-of-better-print-quality
I tried  \color{black}    before a piece of text, and the text after that does indeed look a little darker (at least in .ps, presumably in the .pdf also).  I tried putting it after \begin{document}, and it mainly works, except for captions and later text. I can look into it.
Also, opening the text of the .ps file in Emacs, there are 8764 instances of the word 'gray' when I did not have \color{black} at the start, but (confusingly) 9092 when I did have \color{black} at the start. I was hoping there would be less grays.
Anyway, I can probably fix it (doing a global thing, rather than \color{black}), and ensure captions etc.

I had the same trouble with the greyish font.
On Mon, Feb 1, 2016 at 5:06 PM, andrew-edwards<EMAIL_ADDRESS>wrote:

Based on a quick fix suggested on
http://tex.stackexchange.com/questions/7185/how-to-make-the-pdf-output-of-better-print-quality
I tried \color{black} before a piece of text, and the text after that does
indeed look a little darker (at least in .ps, presumably in the .pdf also).
I tried putting it after \begin{document}, and it mainly works, except for
captions and later text. I can look into it.
Also, opening the text of the .ps file in Emacs, there are 8764 instances
of the word 'gray' when I did not have \color{black} at the start, but
(confusingly) 9092 when I did have \color{black} at the start. I was hoping
there would be less grays.
Anyway, I can probably fix it (doing a global thing, rather than
\color{black}), and ensure captions etc.
—
Reply to this email directly or view it on GitHub
https://github.com/cgrandin/hake-assessment/issues/30#issuecomment-178290316
.

I've tried quite a few things, but can end up running into technical issues regarding embedding fonts in .pdf. Have just made the default color black [ \color{black}   before \begin{document} ]  but don't think it actually made a difference in the .pdf, but did in the .ps. Have commented it out.
The issue with the tgpagella font was that it was pretty poor when printed out.
Suggest sticking with the default font, which Chris and I are fine with, even though it can be a little thin. We know it won't mess up.

Fine with me. Nit picky things that we don't want to get too hung up on.
On Sun, Feb 7, 2016 at 2:28 PM, andrew-edwards<EMAIL_ADDRESS>wrote:

I've tried quite a few things, but can end up running into technical
issues regarding embedding fonts in .pdf. Have just made the default color
black [ \color{black} before \begin{document} ] but don't think it actually
made a difference in the .pdf, but did in the .ps. Have commented it out.
The issue with the tgpagella font was that it was pretty poor when printed
out.
Suggest sticking with the default font, which Chris and I are fine with,
even though it can be a little thin. We know it won't mess up.
—
Reply to this email directly or view it on GitHub
https://github.com/cgrandin/hake-assessment/issues/30#issuecomment-181134769
.

I'm still (annoyingly) getting hung up on it - my printout wasn't great. But a recent manuscript (using default font) printed out fine. We have lots of packages that I don't think are used (hangovers from earlier projects). I found a Times New Roman but it messed up the math. One more thing to try then I'm definitely done with messing around with fonts.....


Can we allow space for nickname and increase the limit for the nickname? (I believe it is channel name)

后期可能会允许空格在昵称中的出现，但有限制：
不允许有连续的空格、空格不能在开头和结尾。
In the later stage, the space characters may be allowed to appear in nicknames, but there are limitations:
Continuous spaces are not allowed, and spaces cannot be at the beginning or the end.


Add testPath to suite in jest-jasmine2 reporter callbacks

Summary

Add testPath to jest-jasmine2 reporter callbacks.
Before:
{
      id: 'suite0',
      description: 'tests',
      fullName: '',
      failedExpectations: [],
}

After
      id: 'suite0',
      description: 'tests',
      fullName: '',
      failedExpectations: [],
      testPath: '/src/__tests__/foo.test.js'

Test plan
See #4594

Ping @Vanuan Mind adding a test?

Current tests already cover this code. Similar PR from @palmerj3 didn't have any additional tests so I don't know how to do it.
Are you saying jasmine would be removed? I'd like to use it like this:
const jasmineReporters = require('jasmine-reporters');

jasmine.getEnv().addReporter(
        new jasmineReporters.JUnitXmlReporter({
                // Jest runs many instances of Jasmine in parallel.
                // Force distinct file output
                // per test to avoid collisions.
                modifyReportFileName: function(name, suite) {
                  return `${suite.testPath}-${name}`;
                }
...

Maybe there's a simpler way to safely write JUnit report files?

We have a future goal of removing jasmine, replacing it with jest-circus.
For JUnit xml in particular, you can use https://www.npmjs.com/package/jest-junit.


investigate if/how cmake export defines for libs are propagated

I am working on porting a project to blt, and on windows & I am getting a slew of dllimport errors.
With my prior cmake setup,  to generate dllexport headers for shared libs to be used on windows, I relied on the fact that when building libname, -Dlibname_EXPORTS would be defined by cmake and passed to the compiler.
dllimport vs dllexport in this case will be triggered if this define doesn't exist.
This may have something to do with how blt names targets.

this could also be a simple issue with static vs shared libs.

closing, thankfully this was just a simple issue with selecting if shared libs should be built.


ign-cmake gz11 BUILD_TESTING still fails to build...

Original report (archived issue) by Pei JIA (Bitbucket: jiapei100).

Bug Report Template
Copy, paste, and then fill-out this template in the description field to submit a bug report.
Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Checked the Q&A board for common solutions: http://answers.gazebosim.org
Checked that your issue isn't already filed.
Checked that there is not already an Ignition package that provides the described functionality: https://ignitionrobotics.org/libs

Description
[ 34%] Performing test step for 'component_deps_Release'
cd ....../ign-cmake/build/examples/component_deps_Release-prefix/src/component_deps_Release-build && /usr/local/bin/cmake -E copy ....../ign-cmake/build/examples/component_deps_Release_pass.xml ....../ign-cmake/build/examples/test_results/component_deps_Release.xml
cd ....../ign-cmake/build/examples/component_deps_Release-prefix/src/component_deps_Release-build && /usr/local/bin/cmake -E touch ....../ign-cmake/build/examples/component_deps_Release-prefix/src/component_deps_Release-stamp/component_deps_Release-test
[ 34%] Completed 'component_deps_Release'
cd ....../ign-cmake/build/examples && /usr/local/bin/cmake -E make_directory ....../ign-cmake/build/examples/CMakeFiles
cd ....../ign-cmake/build/examples && /usr/local/bin/cmake -E touch ....../ign-cmake/build/examples/CMakeFiles/component_deps_Release-complete
cd ....../ign-cmake/build/examples && /usr/local/bin/cmake -E touch ....../ign-cmake/build/examples/component_deps_Release-prefix/src/component_deps_Release-stamp/component_deps_Release-done
make[2]: Leaving directory '....../ign-cmake/build'
[ 34%] Built target component_deps_Release
make[1]: Leaving directory '....../ign-cmake/build'
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2

Steps to Reproduce

checkout gz11 branch, and try to compile/build it, with BUILD_TESTING turned ON.
make
got the above ERROR message.

Expected behavior:
Build through
Actual behavior:
Failed with the above ERROR messages.
Reproduces how often:
Always
Versions
➜  ~ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic
➜  ~ gcc --version
gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Additional Information
I've already enabled -std=c++17
Cheers
Pei

Closing since there hasn't been any activity.


Add yurbaz's file

created a branch, created a file and made a commit, and opened a pull request

created a branch, created a file and made a commit, and opened a pull request


Some reworking and lots of new functionality

I wanted to experiment with hexagonal cellular automata in Julia and needed a whole lot of additional capabilities. Over the last few days I added loads of functionality and tried to make the codebase more consistent / ordered.
I also fixed a few bugs I came across - for example there's a typo in the function name for neighbors, there are no conversion rules to convert to a HexagonOffsetEvenR.
I tried to stay as close as possible to Amit's reference - you'll find a lot of the functionality I added comes straight from there ;)
There's still some work to be done though (in particular writing tests!), but I believe the library is already in a far better shape.

Seems like I forgot to update the readme, so some of the examples there are out-of-date - sorry about that!

Thanks for all the work!

No problem!
Could you tag a new release and update METADATA.jl?

Yep, done.


Groups inside groups (with new View option)

Hi,
I have:
 group:
     living_room:
       name: Living
       entities:
         - light.Go_lamp
     kitchen:
       name: Kitchen
       entities:
         - light.main_kitchen_light

I would really like to group these into with the new option
 group:
     downstairs:
       name: Downstairs
       view: yes
       entities:
         - living_room
         - kitchen

so I have a tab on top on the site AND to cards inside with Kitchen & Livingroom
Is this possible yet?

#1092

Thanks!


Node.js ubuntu, Case sensitive issue

When I try to run my script..
Error: Cannot find module './LiveEvents'

but, its filename is liveevents.js

this issue doesn't resolve yet. Please check your build system, the filename still in lowercase


Fix version packages tests

Current dependencies on/for this PR:

main

PR #253   👈

This comment was auto-generated by Graphite.


 You mad huh 🤣

looks like youre the mad one here

Osiris is the greatest code i've ever seen, it was a really pleasure to write my functions top on it.  Long live Daniel 😄

@SquidmarcHD leak source when? 😳

jk jk

lmao he complains about a cheat which he doesnt even use

hmmmmmmmmmm

@SquidmarcHD Boy howdy is that my shitty pasta particle.js ripoff from uc ??? (the triangle mesh background on the menu)
I didn't expect anybody to use that lmfao.


ciao gost avrei bisogno di questo rat puoi contatatrmi tramite skype : lupen

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

can you give me a skype address

Il 09/12/2021 19:44 Ivan Nikolsky<EMAIL_ADDRESS>ha scritto:

Closed #311 https://github.com/EntySec/Ghost/issues/311 .

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/EntySec/Ghost/issues/311#event-5742836589 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AWZW3RBLJLN4GGNWSMUQECLUQD2JPANCNFSM5JPE5KFQ .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .


Use "Builtins" only?

Hi,
I try to use the "Builtins" feature of node-rdf to make the resulting code more readable, but I cannot create a triple by simply calling rdfEnvironment.createTriple(string, string, string) -- this triggers an error because the Triple constructor checks the type of the arguments (cf. RDFNode.js:29ff). Is this intended? Am I using the "Builtins" feature wrong? Or should this be possible? Is there another way how I can create a triple with the "Builtins" feature?
Kind regards,
Chris

Can you provide a simple file that demonstrates the problem, and provide expected and actual output?

Sure, here's the error ::
/usr/local/bin/node rdf_example.js
/home/ckristo/node-rdf-example/node_modules/rdf/lib/RDFNode.js:29
	if(!(s instanceof api.RDFNode)) throw new Error('Triple subject is not an RDF
	                                      ^
Error: Triple subject is not an RDFNode
    at new Triple (/home/ckristo/node-rdf-example/node_modules/rdf/lib/RDFNode.js:29:40)
    at RDFEnvironment.exports.RDFEnvironment.createTriple (/home/ckristo/node-rdf-example/node_modules/rdf/lib/RDFEnvironment.js:33:9)
    at /home/ckristo/node-rdf-example/rdf_example.js:19:26
    at Turtle.parse (/home/ckristo/node-rdf-example/node_modules/rdf/lib/TurtleParser.js:66:36)
    at /home/ckristo/node-rdf-example/rdf_example.js:15:12
    at fs.js:334:14
    at FSReqWrap.oncomplete (fs.js:95:15)

Process finished with exit code 1

and here's the snippet causing it ::
var fs  = require('fs');
var rdf = require('rdf');

// - extends built-in JS types for use with node-rdf
rdf.setBuiltins();

var rdfEnv = rdf.environment;

// - load RDF document file
fs.readFile('foaf.ttl', function (err, data) {
    if (err) { /* error handling */ }

    // - parse the loaded file
    var parser = new rdf.TurtleParser();
    parser.parse(data.toString(), function(graph) {
        var me = 'http://kindl.io/christoph/foaf.rdf#me';

        // - add new properties
        graph.add(rdfEnv.createTriple(me, 'foaf:mbox', 'mailto:e0828633@student.tuwien.ac.at'));
        graph.add(rdfEnv.createTriple(me, 'foaf:nick', 'ckristo'));

        console.log(graph.toString());
    });
});

I'd expected that I can use a string instead of an RDFNode everywhere (so that I do not need to wrap the strings into NamedNode instances)

Btw.: I've used v3.0.1 with Builtins and it worked -- so maybe the 'domain-checking' branch merged in January didn't consider the Builtins feature.
if(!(s instanceof api.RDFNode)) throw new Error('Triple subject is not an RDFNode');
if(!(p instanceof api.RDFNode)) throw new Error('Triple predicate is not an RDFNode');
if(!(o instanceof api.RDFNode)) throw new Error('Triple object is not an RDFNode');

What about checking if the function property nodeType is available and returns either IRI or BlankNode for subject and predicate, and IRI, BlankNode or TypedLiteral and PlainLiteral for the object?
It would remain to complete string.nodeType() though (see the things commented out here) ::
	nodeType: _( function() {
		//if(this.type) return 'TypedLiteral';
		//if(this.language || this.indexOf(' ') >= 0 || this.indexOf(':') == -1 ) return 'PlainLiteral';
		if(this.substr(0,2) == '_:') return 'BlankNode';
		return 'IRI';
	}),

@ckristo This is in the current master, and not npm right?
My own tests are failing with your exact error, so unfortunately I can't release v3.1.0 until this gets fixed D:
Perhaps I'll add a nodeType() function that can accept anything, and returns null or similar if it's not any RDFNode. Hmmm.
For maximum portability, I would suggest not using the builtins, though.
I'll try to have a fix worked out soon!

The latest test suite includes extensive tests both with a clean process and with builtins set. This should be fixed. Open a new issue with any further problems.


LDraw.AIOI version <IP_ADDRESS>

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/109369&drop=dogfoodAlpha

Automatic Validation ended with:

Exception during executable launch operation System.InvalidOperationException: No process is associated with this object.

In a Windows 11 VM, this package didn't complete installing - it started but seemed to pause.

@wingetbot waivers Add Validation-Executable-Error


--experimental flag adds --pre to bundle update causing non-compatible versions of other gems to be installed

Description
This is relevant as of September 12, 2024 where rbs has a pre-release of 3.6.0.dev.1.
Reproduction steps

Run ruby-lsp --experimental in a fresh project and observe that the newly created .ruby-lsp/Gemfile.lock has a non-pre release version of rbs.

Run ruby-lsp --experimental again and observe that bundle update is run, but a pre-release version of rbs installed and the .ruby-lsp/Gemfile.lock contains that pre-release version.

$ rm -rf .ruby-lsp
$ ruby-lsp --experimental
Ruby LSP> Skipping lockfile copies because there's no top level bundle
Ruby LSP> Running bundle install for the custom bundle. This may take a while...
Ruby LSP> Command: (bundle check || bundle install) 1>&2
Resolving dependencies...
The Gemfile's dependencies are satisfied
^C
$ grep 'rbs' .ruby-lsp/Gemfile.lock
    rbs (3.5.3)
      rbs (>= 3, < 4)
$ ruby-lsp --experimental
Ruby LSP> Skipping lockfile copies because there's no top level bundle
Ruby LSP> Running bundle install for the custom bundle. This may take a while...
Ruby LSP> Command: ((bundle check && bundle update ruby-lsp debug --pre) || bundle install) 1>&2
The Gemfile's dependencies are satisfied
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
Resolving dependencies...
Using psych 5.2.0.beta1 (was 5.1.2)
Fetching rbs 3.6.0.dev.1 (was 3.5.3)
Installing rbs 3.6.0.dev.1 (was 3.5.3) with native extensions
Bundler attempted to update ruby-lsp but its version stayed the same
Bundler attempted to update debug but its version stayed the same
Bundle updated!
^C
$ grep 'rbs' .ruby-lsp/Gemfile.lock
    rbs (3.6.0.dev.1)
      rbs (>= 3, < 4)

This was added in https://github.com/Shopify/ruby-lsp/pull/1126 to test experimental features. But I don't think we need this anymore? @vinistock

To clarify, I was using --experimental to "enable" the experimental features, but this was incorrect. It was just by accident that this --experimental flag also revealed the installation of pre-release libraries.
So perhaps if the flag is kept, this is the intended functionality.

If it was kept, any thoughts on renaming --experimental to --pre?

My original hope with this flag was to have beta or release candidates published, so that marking the VS Code setting of experimental would both enable experimental server features and install a beta/release candidate version.
We ended up never actually using it and the fact that transitive dependencies may end up being upgraded alongside is a big downside. I think we should remove it 👍.


Moved front-end docs under dedicated page

Start the process of moving docs to xi-editor.io.
Note, frontend protocol and update documents have been merged into a single page.

Awesome!


Autogen test vectors

resolves #103

Pull Request Test Coverage Report for Build 807613985

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

Totals

Change from base Build 807415969:
0.0%

Covered Lines:
487

Relevant Lines:
518

💛  - Coveralls


Cannot log in with GitHub

When I click the button to log in with GitHub, the loader spins but nothing happens.
I guess it should open up a new window (or browser window) to perform an OAuth authentication

Actually no login method works for me at this moment. I got "no reaction" with either GitHub, Google or Microsoft options. I got "Network Error" with Email. I'm unfamiliar with Tauri but it might be some proxy issue?

This app is just some static files served locally, no backend service provided. So some feature depend on backend service might not work.


Couple spelling fixes

J

missed the release: retargeting this fix for the next one...

GEOPY-296


Random white or faded components on android

React Native version: .59 and .61
Platform: Android
Built with Expo, but same problem reported with AirBNB
At random times, individual components render as faded or completely white on Android. This problem is not related to the splash screen. I have not been able to notice a pattern, but I did read that this was one of the problems AirBNB ran into (https://softwareengineeringdaily.com/2018/09/24/show-summary-react-native-at-airbnb/). Their solution was to disable initializing Fresco. Is there a clean way to do this? Is there any work around otherwise?
Thanks,
Conley
Steps To Reproduce
Unfortunately, the problem is not reliably reproducible. But it seems prevalent enough for the RN maintenance team to address, none the less.
Expected Results
Non-faded components
Snack, code example, screenshot, or link to a repository:
Again, not reproducible

Hi @conleymon the team would need a repo that demonstrates the issue in order to investigate this. Could you provide a repo and a way to get it to happen? For example, "refresh this screen 10 times and you see it 1/10.."
Also can you include your react native environment info?

Hi, I've not had time to get a working reproduction up, but I have narrowed the problem down on my project to a conflict between onLayout and LayoutAnimation.configureNext. basically, it seems like when onLayout is fired before the layoutAnimation is completed the render is abandoned at whatever state it was in when onLayout was called. That's why there are varying degrees of opacity when it happens. My environment is RN .61, Using react-navigation 4, expo 37, on Android 9


sharding opentracing enhance

Codecov Report

Merging #958 into dev will increase coverage by 0.24%.
The diff coverage is 71.9%.

@@            Coverage Diff             @@
##              dev     #958      +/-   ##
==========================================
+ Coverage   52.52%   52.76%   +0.24%
==========================================
  Files         569      579      +10
  Lines       11931    12117     +186
  Branches     1882     1901      +19
==========================================
+ Hits         6267     6394     +127
- Misses       5305     5356      +51
- Partials      359      367       +8

Impacted Files
Coverage Δ

...phere/core/routing/event/AbstractRoutingEvent.java
0% <0%> (ø)

...gsphere/core/merger/event/ResultSetMergeEvent.java
0% <0%> (ø)

...ingsphere/core/routing/event/EventRoutingType.java
0% <0%> (ø)

...ngsphere/core/merger/event/AbstractMergeEvent.java
0% <0%> (ø)

...dingsphere/core/routing/event/SqlRoutingEvent.java
0% <0%> (ø)

...ardingsphere/core/merger/event/EventMergeType.java
0% <0%> (ø)

...sphere/opentracing/config/ConfigurationLoader.java
87.5% <100%> (+5.68%)
:arrow_up:

...ngsphere/opentracing/sampling/SamplingService.java
100% <100%> (ø)

...shardingsphere/opentracing/ShardingJDBCTracer.java
100% <100%> (ø)
:arrow_up:

...a/io/shardingsphere/opentracing/tag/LocalTags.java
100% <100%> (ø)

... and 17 more

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 b8332a8...20c67e6. Read the comment docs.


Action 'exec' does not work

Description
Hello, good morning everyone, I have installed coraza+haproxy, and I am having trouble executing a script in a rule, I edit a file adding the default rule that is in the documentation with the 'exec' parameter but when I restart the service, this one falls. I thought it could be a problem with the user running coraza, who does not have permissions, but this is more than proven. It would be of great help to be able to implement this measure
I get the rule of the documention of coraza with the parameter exec, but when i restart de service, this don't up.
Rules that i implement: {
Run external program on rule match
SecRule REQUEST_URI "^/cgi-bin/script.pl" "phase:2,id:112,t:none,t:lowercase,t:normalizePath,block,\ exec:/etc/coraza-spoa/script/test.sh"
Run Lua script on rule match
SecRule ARGS:p attack "phase:2,id:113,block,exec:/etc/coraza-spoa/script/exec.lua"
}
Expected result
The expected result is that the service will restart and detect when you make a request via url for the rule to be activated
Actual result
Since I took the rule from the official cuirass document, I thought it would work but the service crashes when restarting it.

Check https://github.com/jcchavezs/coraza-exec-action-wasm


CosmosDbPartitionedStorage cannot handle Multi-Region Writes

Version
4.12
Describe the bug
When need enable multi-region writes for our cosmos db, and realized the current CosmosDbPartitionedStorage implementation does not support supplying the CosmosClientOptions.ApplicationRegion and ConflictResolutionPolicy

https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-multi-master?tabs=api-async#netv3
https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-manage-conflicts?tabs=dotnetv3%2Capi-async%2Casync#create-custom-conflict-resolution-policy-lww-dotnet

Workaround Attempted, but failed partially.
The ApplicationRegion can be workarounded by setting it through the Microsoft.Bot.Builder.Azure.CosmosDbPartitionedStorageOptions, but the ConflictResolutionPolicy cannot be workarounded after looking up current CosmosDbPartitionedStorage.cs

@dawwa You can set all of the CosmosClientOptions via CosmosDbPartitionedStorageOptions.CosmosClientOptions.
For Conflict Resolution Policies, the default is Last Write Wins and you shouldn't need to do anything for that to apply (to use the timestamp _ts property, by default). Did you want to supply a custom policy or LWW key?

@dawwa I'm going to close this as I believe my last comment addressed this fully. If you believe this is not the case, let me know and I'll re-open.


Useful libraries

Hello,
I am trying in many ways to configure this project. Could you please tell me what version of python, tensorflow and keras did you use?
I tried with py 3.5, 2.7 and keras 2.2.4 and other versions for Tensorflow but I couldn't find the correct combination.
Thanks a lot!

Hi!
Sorry the lack of requirements.txt file for this project.
I don't remember the exact versions, but it was Python 3+ and Keras 2.2.4
What error did you have?

Hi!
Thank you for quick response.
I am using Keras 2.2.4, tensorflow 2 and python 3.6.9
I followed your advices from article and code. I took every command from main.py.
For last 2 commands, about test and train I have this error:
################## Error loading: .\model\unet_cracktile_checkpoint.hdf5 Dataset: cracktile module 'tensorflow' has no attribute 'get_default_graph' DIP:	 cracktile Arch:	 unet ##################
should I generate somehow hdf5 file?
I like your project and I want to work it.
Thanks a lot!

Thanks for your interest!
About the error, I think its the keras version with the tensorflow version..
When this project  was created, keras used TF 1.x
So, you can try 2 ways

using keras 2.3.1 (support TF 2) with the TF 2 (here I don't know if keras will be compatible with the project code, however you will use both recent versions)
or, using keras 2.2.4 with the TF 1.x

Let me know if this helped you, or we can think another approach

Hey, thanks for the answer, have you run this code with Linux?
I ran it in windows and I think there is the problem.

Yes, it was (arch linux specifically)
In other projects mine, people have problem using windows, but with this error 'tensorflow' has no attribute 'get_default_graph' I don't know.. did you try another approach?

Hey! I fixed the problem, it was windows, on ubuntu it works 👍  for anybody who is interested, if they have a Pickle error and some threading problems you have to switch to ubuntu, thank you!


Fix issue where audit log timestamp is in 12-hour clock instead of …

…24-hour (military) clock

Coverage remained the same at 55.343% when pulling df30eb410038c0e5bafe66e0c66486def5f6cc0b on fix/athena-time-format into 8c037c48a29affe94d010eb7391d3ddb8d3ab554 on master.


Adds reference to schedule object;

Coverage remained the same at 93.778% when pulling 8300d676326696a49fbbfa8a6d9632582f4c0978 on darlintonprauchner:master into 16b0c7874cd0e4007c4f14666789cbb2b7e4c33a on SSENSE:master.


🚀 CI Feature: Use uffizzi clusters for backstage's preview environments

🔖 Feature description
Uffizzi now supports cluster creation and I would like to upgrade backstage's existing preview workflow to support creating previews in uffizzi clusters. Instead of docker-compose we will be using kubernetes manifests to create a backstage deployment. This will also allow backstage developers to better test the kubernetes plugin and kubernetes related functionality.
More information in the articles/documentation below:
An overview of the support for virtual clusters
https://www.uffizzi.com/blog/introducing-uffizzi-virtual-clusters
How we will be implementing virtual cluster environment support for the backstage project
https://docs.uffizzi.com/virtual-cluster-environment/
🎤 Context
Create preview environments for backstage which are more versatile.
✌ Possible Implementation
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Interesting! My initial question would be whether we actually get access to the kubernetes API in a useful way if deploying in the cluster? Just because we're running in k8s doesn't necessarily mean we have access to it 😅

@Rugvip the developer who opens the PR and the admin of backstage project will be able to access the cluster via the CLI. You would be able to check backstage logs and debug on a cluster level as well.


Installation fails on python 3.4.0

Hi,
I am using schedule as a cron-like library. Installation on my OS X (python3 installed via brew) has just being install, but I can't install on my production server (debian).
I've check my setups, I have 3.4.0 on my debian and 3.4.1 on my OS X.
On python 3.4.0I have
Downloading/unpacking schedule
  Downloading schedule-0.3.0.tar.gz
  Running setup.py (path:/tmp/pip_build_root/schedule/setup.py) egg_info for package schedule
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip_build_root/schedule/setup.py", line 20, in <module>
        open('README.rst').read() + '\n\n' +
      File "/usr/local/lib/python3.4/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1964: ordinal not in range(128)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 20, in <module>

  File "/tmp/pip_build_root/schedule/setup.py", line 20, in <module>

    open('README.rst').read() + '\n\n' +

  File "/usr/local/lib/python3.4/encodings/ascii.py", line 26, in decode

    return codecs.ascii_decode(input, self.errors)[0]

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1964: ordinal not in range(128)

----------------------------------------
Cleaning up...
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip_build_root/schedule
Storing debug log for failure in /root/.pip/pip.log

Regards,

Closing because it's been fixed for a while.


Remove AGRC version of Utah Oil Gas Fields from AGOL+Open SGID

Summary
The AGRC version of Utah Oil Gas Fields need to be removed from AGOL and Open SGID. An updated layer has been shared by OGM to the Energy group.

Triage

[ ] Data Team Triage (@gregbunce)
[s] Dev Team Triage (@steveoh)
[ ] Cadastre Team Triage (@rkelson)

Remove data from the following areas

[x] ArcGIS Online (assigned to @jacobdadams )
[x] Internal SGID (assigned to @ZachBeck )
[x] SGID10 (assigned to @ZachBeck )
[ ] Open SGID (assigned to)
[x] Google Drive (assigned to @gregbunce )
[x] Open data (assigned to @jacobdadams )
[ ] ~Mapserv (assigned to)~
[ ] ~Retire application-specific prod and test SQL Databases (assigned to)~
[ ] AGRC Projects team drive folder (assigned @stdavis )

Copy data to the following areas

[ ] ~Upload to UtahAGRC/AGRC_Shelved folder in AGOL (assigned to)~
[ ] ~Move existing AGOL item to AGRC_Shelved AGOL folder (assigned to)~
[ ] ~Upload to appropriate UtahAGRC/{SGID Category} folder in AGOL (for "static" datasets) (assigned to)~

Update information in the following areas

[x] gis.utah.gov data pages (assigned to @steveoh)
[x] Stewardship doc and sgid-index (assigned to @steveoh)
[x] SGID.META.AGOLItems (assigned to @stdavis )
[ ] ~AGRC_Shelved/AGOLItems_Shelved (in AGOL) (assigned to)~
[ ] SGID.META.ChangeDetection (assigned to @stdavis )
[ ] Backseat Driver (assigned to @stdavis )

Is there a forklift pallet?

[ ] Update forklift pallet to pull into internal (assigned to @stdavis)

Notification

[ ] Twitter Intent (@steveoh)
[ ] Twitter Completed

Will the schemas match here?

Yes, the schemas now match.

My triage is complete ✅

conductor results for tasks - 84

check
status

@gregbunce has completed 0 out of 1 tasks
:no_entry:

@rkelson has completed 0 out of 1 tasks
:no_entry:

steveoh has completed 1 out of 1 tasks
:+1:

I marked the AGRC AGOL Item associated with this issue as deprecated today.

conductor results for tasks - 84

check
status

gregbunce has completed 1 out of 1 tasks
:+1:

steveoh has completed 2 out of 2 tasks
:+1:

rkelson has completed 1 out of 1 tasks
:+1:

Changed AGOL share setting to Organization only. Will set reminder to delete from AGOL in two weeks.

/remind to delete AGOL item on December 21, 2020
https://utah.maps.arcgis.com/home/item.html?id=7788ca033769450185e426686fcc0e09#overview

Fgdb saved to AGRC Projects > SGID > deprecated layers.
Layer deleted from AGRC AGOL org.
Tweet requested in #social-media Slack channel.
@steveoh please check the Twitter Completed box and close this issue when you have a chance.


[WIP] Advanced clock

Improvement
Describe the solution / feature you'd like
This improvement will allow you to set the color of Hours and Minutes separately.
If the seconds display mode is enabled show_seconds: true, the seconds will be displayed with a flashing separator rather than a dot in the corner.
The mode for time formats works: %H:%M %H:%M:%S %I:%M%p %I:%M %p
If advanced_clock is not enabled (false), or color values are not specified and the seconds display is not enabled show_seconds: false, then there will be no visual changes on the Clocks screen.
Additional context
https://github.com/andrewjswan/EspHoMaTriXv2/tree/2023.9.1-Advanced_Clock

Hi, again very nice.
Is the flag advanced_clock necessary? The blinking dot was a workaround because I was too lazy to find a way to make the colon blink.
So show_seconds could make the colon blink instead of the dot, and the set_adv_clock_color could set the colors. The breaking change is acceptable in my opinion!

Is the flag advanced_clock necessary?

Not everyone needs this functionality, so it's better to let it be optional.

So show_seconds could make the colon blink instead of the dot

It is if this mode is enabled.

and the set_adv_clock_color could set the colors. The breaking change is acceptable in my opinion!

It retains full compatibility, just added functionality, I'm still turning a simple watch into a spacecraft. :)
You can test it :)
  - source:
      type: git
      url: https://github.com/andrewjswan/EspHoMaTriXv2
      ref: 2023.9.1-Advanced_Clock
    components: [ ehmtxv2 ]
    refresh: 60s

ehmtxv2:
  id: rgb8x32
  icons2html: true
  display_graph: ehmtx_graph
  matrix_component: ehmtx_display
  time_component: ehmtx_time
  time_format: "%H:%M"
  time_format_big: "%H:%M:%S"
  date_format: "%d•%m"
  weekdays: "일월화수목금토"

  default_font_id: default_font
  default_font_yoffset: 7
  special_font_id: special_font
  special_font_yoffset: 8
  blend_steps: 32
  scroll_count: 2 # scroll long text at least two times
  scroll_interval: 80 # milliseconds
  rainbow_interval: 32 # milliseconds

  show_seconds: false
  vertical_scroll: false
  advanced_clock: true


Use oracle java role

Partially addresses azavea/nih-wayfinding#60.

If you're sure we don't need two sets of eyes on all these changes, it looks good to me. +1


Movements switch direction inadvertently

There is some weird stuff going on with the moments. Sometimes a command to move in one direction causes it to move a bit, then reverse for no reason, then move forward again. Its weird. Its like the direction pin on the RAMPS board is flipping inadvertently... This has been happening for a while, but I was never sure if it was weird stuff with the pi controller or the meshblu commands, etc. I think it has to do with the Arduino. Any ideas?

It shouldn't be able to switch direction during the execution of a command.
The direction is written in the beginning of the command. Once that is
done, only the step pin is written.
On Tue, Mar 10, 2015 at 9:25 PM, Rory Aronson<EMAIL_ADDRESS>wrote:

There is some weird stuff going on with the moments. Sometimes a command
to move in one direction causes it to move a bit, then reverse for no
reason, then move forward again. Its weird. Its like the direction pin on
the RAMPS board is flipping inadvertently... This has been happening for a
while, but I was never sure if it was weird stuff with the pi controller or
the meshblu commands, etc. I think it has to do with the Arduino. Any ideas?
—
Reply to this email directly or view it on GitHub
https://github.com/FarmBot/farmbot-arduino-controller/issues/20.

The only command the mesh blu can give that interferes with the execution
of a command in arduino is the emergency stop. But that would stop all
movement, not switch direction.
On Tue, Mar 10, 2015 at 10:05 PM, Tim Evers<EMAIL_ADDRESS>wrote:

It shouldn't be able to switch direction during the execution of a
command. The direction is written in the beginning of the command. Once
that is done, only the step pin is written.
On Tue, Mar 10, 2015 at 9:25 PM, Rory Aronson<EMAIL_ADDRESS>wrote:

There is some weird stuff going on with the moments. Sometimes a command
to move in one direction causes it to move a bit, then reverse for no
reason, then move forward again. Its weird. Its like the direction pin on
the RAMPS board is flipping inadvertently... This has been happening for a
while, but I was never sure if it was weird stuff with the pi controller or
the meshblu commands, etc. I think it has to do with the Arduino. Any ideas?
—
Reply to this email directly or view it on GitHub
https://github.com/FarmBot/farmbot-arduino-controller/issues/20.

Hmmm. Maybe it has something to do with my driver tuning?
Or, is it possible that the direction pin needs to set periodically or even consistently to avoid 'voltage drift' and flipping?

I tend more towards the stepper driver itself making a bad connection.
Those bits don't suddenly flip sponanously. It would defeat the whole
purpose of a micro controller.
On Wed, Mar 11, 2015 at 8:47 PM, Rory Aronson<EMAIL_ADDRESS>wrote:

Hmmm. Maybe it has something to do with my driver tuning?
Or, is it possible that the direction pin needs to set periodically or
even consistently to avoid 'voltage drift' and flipping?
—
Reply to this email directly or view it on GitHub
https://github.com/FarmBot/farmbot-arduino-controller/issues/20#issuecomment-78355195
.

If you want I can add debugging messages for when the pin for movement is
set
On Wed, Mar 11, 2015 at 8:55 PM, Tim Evers<EMAIL_ADDRESS>wrote:

I tend more towards the stepper driver itself making a bad connection.
Those bits don't suddenly flip sponanously. It would defeat the whole
purpose of a micro controller.
On Wed, Mar 11, 2015 at 8:47 PM, Rory Aronson<EMAIL_ADDRESS>wrote:

Hmmm. Maybe it has something to do with my driver tuning?
Or, is it possible that the direction pin needs to set periodically or
even consistently to avoid 'voltage drift' and flipping?
—
Reply to this email directly or view it on GitHub
https://github.com/FarmBot/farmbot-arduino-controller/issues/20#issuecomment-78355195
.

I think I just need to tune the drivers and check the connections. It's probably something there. If not, then having that debug message would be nice


Build error with flag BUILD_NETWORK_DEVICE=ON

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux (Manjaro)

Kernel Version (Linux Only)
5.7.9

Platform
PC

SDK Version
2.35.2

Language
C

Segment
others

Issue Description
In attempt to build SDK from tag v2.35.2 with the following configuration
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_SBINDIR=bin  -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=on -DBUILD_WITH_STATIC_CRT=off -DBUILD_WITH_OPENMP=on -DBUILD_EXAMPLES=true -DBUILD_WITH_TM2=true -DBUILD_NETWORK_DEVICE=ON
cmake --build . -- -j8
I've received a linker error during building SDK:
[ 39%] Linking CXX executable rs-server
c++: error: ;-pthread: No such file or directory
make[2]: *** [tools/rs-server/CMakeFiles/rs-server.dir/build.make:3167: tools/rs-server/rs-server] Error 1
make[1]: *** [CMakeFiles/Makefile2:2054: tools/rs-server/CMakeFiles/rs-server.dir/all] Error 2
I've resolved this issue by removing this line but I don't know is it appropriate fix. Moreover, I have checked that patch doesn't break linkage to libpthread with ldd rs-server

Hi @podshivalov-ilya
I think this has something to do with the version of CMake / GCC installed on your system. Other projects also seem to encounter this problem (OpenIGTLink/issues/218)
If the code compiles on your system without this term everything should work Ok.

Thank you @dorodnic. I use gcc 10.1 and cmake 3.17.3 and I haven't tried to build SDK with older versions. Does this set do the same as THREADS_PREFER_PTHREAD_FLAG?

In other SDK examples we are using -
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)

and use Threads::Threads. This seem to be better than directly setting linker flag. I think the author of the server should have used this method as well.

Hi @podshivalov-ilya Do you need further help on this? If we don't hear from you in 7 days, this issue will be closed.

Hello. No, I don't need any help. Thanks

I was getting this error too, and in the end it was due to my $LD_LIBRARY_PATH being wrong as it did not include /usr/local/lib64/ in my case


{Sql} az sql midb log-replay start: Fix typo for one of the parameters

Description

We found out that command log-replay start was not working with -a flag because of bug. This pr is fixing typo
auto_complete -> auto_complete_restore
Testing Guide

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR title and description has followed the guideline in Submitting Pull Requests.

[X] I adhere to the Command Guidelines.

[X] I adhere to the Error Handling Guidelines.

Sql


fix a crash when de-virtualizing class methods with typed throws

The de-virtualizer utility didn't handle indirect error results when de-virtualizing class methods. This resulted in a missing argument for the indirect error result in the new try_apply instruction.
rdar://130545338

@swift-ci test

@swift-ci test


Fixed code generation

Codecov Report

Merging #51 (a9ae8d4) into main (9e679a4) will increase coverage by 3.23%.
The diff coverage is 78.94%.

@@            Coverage Diff             @@
##             main      #51      +/-   ##
==========================================
+ Coverage   27.66%   30.90%   +3.23%
==========================================
  Files          26       27       +1
  Lines         206      220      +14
==========================================
+ Hits           57       68      +11
- Misses        149      152       +3

Impacted Files
Coverage Δ

...t.Generator/IncrementalGenerators/GeneratorBase.cs
84.37% <75.00%> (-15.63%)
:arrow_down:

...Generator/IncrementalGenerators/ModelsGenerator.cs
83.87% <75.00%> (+1.11%)
:arrow_up:

...DataMesh.DataProduct.Generator/StringExtensions.cs
100.00% <100.00%> (ø)

...aMesh.SchemaRegistry/LocalSchemaRegistryService.cs
100.00% <100.00%> (+20.00%)
:arrow_up:

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


handlers/connector_login: update AuthRequest irregardless of method

Before, you could not POST your credentials to a password-connector's
endpoint without GETing that endpoint first. While this makes sense for
browser clients; automated interactions with Dex don't need to look at
the password form to fill it in.
A symptom of that missing GET was that the POST succeeded (!) with
login successful: connector "", username="admin"<EMAIL_ADDRESS>groups=[]

Note the connector "". A subsequent call to finalizeLogin would then
fail with
connector with ID "" not found: failed to get connector object from storage: not found

Now, the connector ID of an auth request will be updated for both GETs
and POSTs.

Does it make sense to optimize with a check before doing this? [...]

I've pushed a commit, 4a505f8. It think we can save a DB roundtrip there, indeed, for most common cases. So, yeah, it probably makes sense.

Can we get this merged? I'd love to kill the workaround we've got in our tests 😉