Make main build on FreeBSD

Description
Currently blocking CI builds from succeeding, along with a failed macOS node.
Steps to Reproduce
Until https://github.com/apache/couchdb-erlfdb/pull/15 lands and is tagged, you will need to edit rebar.config.script accordingly.
Then: gmake check
What I see:
Cannot start application 'fabric', reason {{shutdown,
                                            {failed_to_start_child,
                                             fabric2_server,
                                             {fdbserver_bin_not_found,
                                              [{erlfdb_util,
                                                find_fdbserver_bin,1,
                                                [{file,"src/erlfdb_util.erl"},
                                                 {line,188}]},
                                               {erlfdb_util,
                                                init_test_cluster_int,1,
                                                [{file,"src/erlfdb_util.erl"},
                                                 {line,115}]},
                                               {erlfdb_util,get_test_db,1,
                                                [{file,"src/erlfdb_util.erl"},
                                                 {line,37}]},
                                               {fabric2_server,
                                                get_db_and_cluster,1,
                                                [{file,
                                                  "src/fabric2_server.erl"},
                                                 {line,213}]},
                                               {fabric2_server,init,1,
                                                [{file,
                                                  "src/fabric2_server.erl"},
                                                 {line,133}]},
                                               {gen_server,init_it,2,
                                                [{file,"gen_server.erl"},
                                                 {line,374}]},
                                               {gen_server,init_it,6,
                                                [{file,"gen_server.erl"},
                                                 {line,342}]},
                                               {proc_lib,init_p_do_apply,3,
                                                [{file,"proc_lib.erl"},
                                                 {line,249}]}]}}},
                                           {fabric2_app,start,[normal,[]]}}

Your Environment

CouchDB version used: main
Browser name and version: n/a
Operating system and version: FreeBSD 12.2

FYI, the build environment on these machines has both foundationdb and foundationdb-devel installed from binary packages. This is because foundationdb doesn't include the header files needed for compiling erlfdb.
However, the problem might be that while foundationdb is a 2.x release, foundationdb-devel is a 3.0.0 pre-release... need help from @dch here.
An alternative might be to install fdb completely from source until the ports tree stuff is sorted out.

IIRC since ~ FDB 6.3, I switched ports to use the cmake-derived build, and the headers are since fixed. It wasn't possible in the previous 6.2.x series.
https://svnweb.freebsd.org/ports?view=revision&revision=537449 from 31 May, which is in 2020Q3
at least. Is it possible the builders aren't updated?
FWIW the current diff of installed files between 6.3.11 and 7.0.0-mumble-git-sha is:
------ /tmp/fdb
++++++ /tmp/devel
@|-20,10 +20,9 ============================================================
 |/usr/local/lib/libfdb_c.so
 |/usr/local/lib/libfdb_flow.a
 |/usr/local/lib/libfdb_sqlite.a
 |/usr/local/lib/libfdbclient.a
 |/usr/local/lib/libfdbrpc.a
 |/usr/local/lib/libflow.a
-|/usr/local/lib/libthirdparty.a
-|/usr/local/share/licenses/foundationdb-6.3.11/APACHE20
-|/usr/local/share/licenses/foundationdb-6.3.11/LICENSE
-|/usr/local/share/licenses/foundationdb-6.3.11/catalog.mk
+|/usr/local/share/licenses/foundationdb-devel-7.0.0.a.20210224/APACHE20
+|/usr/local/share/licenses/foundationdb-devel-7.0.0.a.20210224/LICENSE
+|/usr/local/share/licenses/foundationdb-devel-7.0.0.a.20210224/catalog.mk
dch@wintermute /u/p/databases> diff /tmp/fdb /tmp/devel
26,29c26,28
< /usr/local/lib/libthirdparty.a
< /usr/local/share/licenses/foundationdb-6.3.11/APACHE20
< /usr/local/share/licenses/foundationdb-6.3.11/LICENSE
< /usr/local/share/licenses/foundationdb-6.3.11/catalog.mk
---
> /usr/local/share/licenses/foundationdb-devel-7.0.0.a.20210224/APACHE20
> /usr/local/share/licenses/foundationdb-devel-7.0.0.a.20210224/LICENSE
> /usr/local/share/licenses/foundationdb-devel-7.0.0.a.20210224/catalog.mk

@dch OK, I've removed the foundationdb-devel package and it just has foundationdb now, which is currently 6.3.9.
This makes couchdb compile but it still fails on gmake check:
gmake[1]: Entering directory '/root/couchdb'
==> chttpd (compile)
==> couch_eval (compile)
==> couch_replicator (compile)
==> couch_views (compile)
==> ctrace (compile)
==> fabric (compile)
==> couch_jobs (compile)
==> couch_expiring_cache (compile)
==> mango (compile)
==> rel (compile)
==> couchdb (compile)
==> couchdb (setup_eunit)
Writing tmp/etc/default_eunit.ini
Writing tmp/etc/local_eunit.ini
Writing tmp/etc/eunit.ini
Writing tmp/etc/vm.args
==> couch_eval (eunit)
Compiled src/couch_eval.erl
======================== EUnit ========================
module 'couch_eval'
  There were no tests to run.
Cover analysis: /root/couchdb/src/couch_eval/.eunit/index.html

Code Coverage:
couch_eval :   0%

Total      : 0%
==> rel (eunit)
==> couchdb (eunit)
==> couch_expiring_cache (eunit)
Compiled src/couch_expiring_cache.erl
Compiled src/couch_expiring_cache_server.erl
Compiled src/couch_expiring_cache_fdb.erl
Compiled test/couch_expiring_cache_tests.erl
======================== EUnit ========================
module 'couch_expiring_cache_server'
module 'couch_expiring_cache'
  module 'couch_expiring_cache_tests'
    Test expiring cache basics
Cannot start application 'fabric', reason {{shutdown,
                                            {failed_to_start_child,
                                             fabric2_server,
                                             {fdbserver_bin_not_found,
                                              [{erlfdb_util,
                                                find_fdbserver_bin,1,
                                                [{file,"src/erlfdb_util.erl"},
                                                 {line,188}]},
                                               {erlfdb_util,
                                                init_test_cluster_int,1,
                                                [{file,"src/erlfdb_util.erl"},
                                                 {line,115}]},
                                               {erlfdb_util,get_test_db,1,
                                                [{file,"src/erlfdb_util.erl"},
                                                 {line,37}]},
                                               {fabric2_server,
                                                get_db_and_cluster,1,
                                                [{file,
                                                  "src/fabric2_server.erl"},
                                                 {line,213}]},
                                               {fabric2_server,init,1,
                                                [{file,
                                                  "src/fabric2_server.erl"},
                                                 {line,133}]},
                                               {gen_server,init_it,2,
                                                [{file,"gen_server.erl"},
                                                 {line,374}]},
                                               {gen_server,init_it,6,
                                                [{file,"gen_server.erl"},
                                                 {line,342}]},
                                               {proc_lib,init_p_do_apply,3,
                                                [{file,"proc_lib.erl"},
                                                 {line,249}]}]}}},
                                           {fabric2_app,start,[normal,[]]}}
      *** context setup failed ***
**in function test_util:start_applications/2 (src/test_util.erl, line 109)
in call from test_util:start_couch/2 (src/test_util.erl, line 79)
**throw:{error,
    {cannot_start,fabric,
        {{shutdown,
             {failed_to_start_child,fabric2_server,
                 {fdbserver_bin_not_found,
                     [{erlfdb_util,find_fdbserver_bin,1,[{...}|...]},
                      {erlfdb_util,init_test_cluster_int,1,[...]},
                      {erlfdb_util,get_test_db,1,...},
                      {fabric2_server,get_db_and_cluster,...},
                      {fabric2_server,...},
                      {...}|...]}}},
         {fabric2_app,start,[normal,[]]}}}}

    [done in 3.427 s]
  [done in 3.427 s]
module 'couch_expiring_cache_fdb'
=======================================================
  Failed: 0.  Skipped: 0.  Passed: 0.
One or more tests were cancelled.
Cover analysis: /root/couchdb/src/couch_expiring_cache/.eunit/index.html

Code Coverage:
couch_expiring_cache        :   0%
couch_expiring_cache_fdb    :   0%
couch_expiring_cache_server :   0%

Total                       : 0%
ERROR: One or more eunit tests failed.
ERROR: eunit failed while processing /root/couchdb/src/couch_expiring_cache: rebar_abort
gmake[1]: *** [Makefile:176: eunit] Error 1
gmake[1]: Leaving directory '/root/couchdb'
gmake: *** [Makefile:163: check] Error 2

I think this one has been resolved -- main seems to be building just fine on FreeBSD in Jenkins, including unit tests.


Regular expression "y" flag incorrectly allowed in ES5 mode

Right now, the following parses okay with ecmaVersion as 5:
/./y

It should throw a syntax error as y was only added in ES6.

Looking at validFlags, currently gmsiy are allowed in ES5 mode, and gmsiyu are allowed in ES6. My reading of the ES5 spec shows it allows gim (but not sy), and the ES6 spec allows gimuy (but not s). Where does the s come from?


config 1.0

Our config has matured enough that we now have a pretty good sense of how it should be shaped. Here are some goals:

prioritize the dist.toml format, as it will become more central the more we support not-cargo
explicit hierarchy of config

replaces messy adhoc namespacing of config ("npm-scope" vs "tap")
makes it natural to express "publish preleases to crates.io but not npm"
can have further levels of inheritance ([installers.shell] inherits config from [installer])

emphasize the "build, host, publish" phases

Note that the following examples assume we're still reading your Cargo.toml for the values that "belong" there like package name, version, etc.
Example: typical init
Here we have the typical minimal cargo-dist config:

cargo-dist-version
some targets
github ci with plan prs
shell and powershell installers

show example
[workspace]
cargo-dist-version = "0.11.0"

# build settings
[build]
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]

# what ci to run builds on
[ci.github]
pr-run-mode = "plan"

# what installers to make
[installers.shell]
[installers.powershell]

Example: oranda
Here is a translation of oranda's fairly power-user config:

show example
[workspace]
cargo-dist-version = "0.11.0"

# build settings
[build]
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]

[build.cargo]
features = ["build-with-tailwind"]

[[build.extra]]
artifacts = ["oranda-config-schema.json"]
build = ["cargo", "run", "--", "config-schema", "--output=oranda-config-schema.json"]

[[build.extra]]
artifacts = ["oranda.css"]
build = ["cargo", "run", "--", "generate-css", "--out-dir=./"]

[build.archives]
windows = ".tar.gz"
unix = ".tar.gz"

# where to host builds
[host.github]
[host.axodotdev]

# where to publish releases
[publish.homebrew]

# what ci to run builds on
[ci.github]
pr-run-mode = "plan"

# what installers to make
[installers.shell]
[installers.powershell]

[installers.npm]
scope = "@axodotdev"

[installers.homebrew]
tap = "axodotdev/homebrew-tap"

Example: maximalist nightmare
Here's me just trying to show every single config

show example
# Sketch of the v1.0.0 dist.toml / dist-workspace.toml format
[workspace]
# usual suspects
cargo-dist-version = "1.0.0"
checksum = "sha256"
dist = true

# build settings
[build]
targets = ["x86_64-pc-windows-msvc", "x86_64-unknown-linux-gnu"]

# cargo build settings
[build.cargo]
all-features = false
default-features = true
features = ["a", "b", "c"]
precise-builds = false
msvc-crt-static = true

[build.archives]
auto-includes = true
include = ["a.txt", "b.txt"]
unix = ".tar.gz"
windows = ".zip"

# extra builds
[[build.extra]]
artifacts = ["dist-manifest-schema.json"]
build = ["cargo", "dist", "manifest-schema", "--output=dist-manifest-schema.json"]

# sysdeps
[dependencies.homebrew]
cmake = '*'
libcue = { stage = ["build", "run"] }

[dependencies.apt]
cmake = '*'
libcue-dev = { version = "2.2.1-2" }

[dependencies.chocolatey]
lftp = '*'
cmake = { version = '3.27.6', targets = ["aarch64-pc-windows-msvc"] }

# host settings
[host]

# enabling a host is done by adding its [host.xyz] entry
[host.github]
create-release = true

[host.axodotdev]

# enabling a publish is done by adding its [publish.xyz] entry
[publish]
prereleases = false

[publish.cargo]
prereleases = false

[publish.homebrew]
prereleases = false

[publish.npm]
prereleases = false

[ci]

# enabling a ci is done by adding its [ci.xyz] entry
[ci.github]
pr-run-mode = "plan"
tag-namespace = ""
allow-dirty = false
dispatch-releases = true
fail-fast = true

# custom jobs
[ci.github.jobs]
plan = []
build-local = []
build-global = []
host = []
publish = []

# add pre and post for everything?
pre-announce = []
announce = []
post-announce = []

# custom runners
[ci.github.runners]
aarch64-unknown-linux-gnu = "buildjet-8vcpu-ubuntu-2204-arm"
aarch64-unknown-linux-musl = "buildjet-8vcpu-ubuntu-2204-arm"

# enabling an installer is done by adding its [installer.xyz] entry
[installers]
install-path = "~/CARGO_HOME"

[installers.shell]
install-path = "~/CARGO_HOME"

[installers.powershell]
install-path = "~/CARGO_HOME"

[installers.homebrew]
tap = "axodotdev/homebrew-tap"
formula = ""

[installers.npm]
scope = "@axodotdev"

[installers.msi]
allow-dirty = false

[installers] could be [build.installers]... they're so central that they feel like they should be top-level but shrug

one q: i like the ability to configure things per item (e.g. installer or target) but we should offer sugar for setting that config for all of a certain class of things
another thing- just using the square brackets as "data entry" doesn't feel right- this may be me just not liking toml is there an alt config for that if you don't want to furhter config individual items?

if you set [publish] prereleases=true it will get "inherited" to all the [publish.xyz] entries. similarly for [installers] and [ci] and [host]
we can support a sugar of host = ["github", "axodotdev"] for [host.github] [host.axodotdev], I was avoiding showing it to see how we felt about the verbose form.

A subtle virtue of the [installer.homebrew] form is that i can just tell you

paste this into your config
[installers.homebrew]
tap = "axodotdev/homebrew-tap"

whereas right now i need to say

paste this into your config (BUT LIKE, MERGE THE INSTALLERS FIELD OK?)
installers = ["homebrew"]
tap = "axodotdev/homebrew-tap"

so for a verbose form where people want a lot of bespoke config, i think it's great. i think my biggest hesitation is making sure it also works equally great for the "little to no" config person and the transition between the two 😅
this is certainly an improvement over what we currently have!
random thought: is any of this config per target or is it always per installer/dist mechanism

notes about some capricious changes made here:

allow-dirty has been smashed up from an array to a series of allow-dirty=true flags nested under the relevant sections
publish-jobs = ["homebrew"], which would have become [ci.github.jobs] publish = ["homebrew"] has been moved to [publish.homebrew] -- that is to say, builtin and custom publishes are now in different config universes.
build-local = false (the astral hack to allow maturin to replace local builds) is not featured here, i'm still mulling over how it should be expressed.

random thought: is any of this config per target or is it always per installer/dist mechanism

yeah it's an open question to me if/how that would be supported. [build.target."x86_64-pc-windows.msvc".cargo] ... could be allowed for.

Biggest first step is pulling axoproject in-tree so it's easy to work on config and no need for fake separations of concern.

TODO: write an example TOC of the new config


added dayplot, curie, chi_magic functions to ipmag

adapted some command line functions for use within Jupyter/IPython notebooks and added to ipmag.py

@moonshoes87 is currently doing a major restructuring of the PmagPy repo. It makes sense to wait until those changes are applied to the master branch before merging this pull request. What I would recommend doing is putting this updated version of ipmag somewhere outside of the repo when you update to the restructured version and then bring it back in to the repo and put in another pull request at that time.

Sounds good, I'll do just that. Good to hear that the repo restructuring is happening!

The repo restructuring is now integrated into the master branch. Go ahead and make a new pull request.


Add uninstall instructions to the documentation

I know, very sad.

Just requires rm ~/.cargo/bin/uv ~/.cargo/bin/uvx


Fixed the login appearing twice issue

Also changed the navbar for add_event.html to how it looks on index.html
Before:

After:

Also for responsiveness added menu bar icon for it
Before:

After:

Looks great !! one more thing the menu bar icon that you added can it be made responsive clicking on it doesn't open the menu if it is possible please do it
https://github.com/user-attachments/assets/4c3dcfc9-e205-4355-8bd9-2fa83a26e089

Alright! I'll try my best to resolve that as well👍


sbt new does not work on windows

I did not test this myself but it's reported here: https://github.com/scalatra/scalatra/issues/745

@MasseGuillaume Thanks for the catch! I tested on Windiws and it worked fine, so I guess it caused by his sbt installation. I'll handle https://github.com/scalatra/scalatra/issues/745, so this issue should be closed.

I am closing this until we have a better reproduction steps.
We are aware that bc command that's used in recent releases of sbt bash script has problems on git-bash/Cygwin and it's been addressed here - https://github.com/sbt/sbt-launcher-package/pull/199

It looks to be caused by old version of JGit.
I raised an issue about this in giter8: https://github.com/foundweekends/giter8/issues/352


How do use type definitions when using the UMD build ?

Hi,
can you tell me ho can i make this scenario work ?
npm install rxjs 6.x
Create a index.ts file with some function that use RxJs
Create an index.html file that reference RxJs UMD build and the index.js file created by the typescript compiler from the index.ts one.
How do i get type definitions while editing index.ts in this scenario ?
Thanks

Stack Overflow would be a better forum for a question like this.

Sure :
https://stackoverflow.com/questions/58728020/how-do-use-rxjs-with-type-definitions-when-using-the-umd-build

Do you happen to have any advice ? 😄


Scrolling on log not working as expected

Problem
Scrolling on the log card can overflow the page and is not scrolling correctly (especially on mobile devices)

Opening on polymer since this is a ui issue


[DRAFT] RA6 RA4 RA2 MCU minimal support

This PR is a draft version to support the following feature on Zephyr:
Board and SoC layer support:
EK-RA2A1
EK-RA2L1
EK-RA4M1
EK-RA4M2
EK-RA4M3
EK-RA4E1
EK-RA4E2
EK-RA4W1
EK-RA6M1
EK-RA6M2
EK-RA6M3
EK-RA6M4
EK-RA6M5
FPB-RA6E1
EK-RA6E2
FPB-RA6E2
Module:
SCI UART
This is only now a draft version for architecture approach method of Renesas RA MCU support on Zephyr
We would like to receive review and feedback from community member on this.
It's expected that the development of this will finish in End-July.

I close this  the support for theses board are separated into https://github.com/zephyrproject-rtos/zephyr/pull/76080, https://github.com/zephyrproject-rtos/zephyr/pull/76081 for the ease of review


Adding support for zero based pagination (alternative)

Here's an alternative implementation of support for zero based pagination (see  #458) using a getPageParam() method (similar to overriding the sort param).
When the getPageParam() method is added to the parent component, it is called when building the query parameters for the request. It receives the currentPage as the parameter.
Thus one can return currentPage - 1 when working with an API that does zero-based pagination.
For example:
getPageParam: function(currentPage) {
  return currentPage - 1; // subtract 1 so that page 1 in view maps to page 0 on server ...
}

Then it follows that the transform method should be like so
transform: function(data) {
  return {
    ...
    current_page: data.page.number + 1, // add 1 so that page 0 on server maps to page 1 in view ...
    last_page: data.page.lastPage + 1,
    ...
  }
}

@koapeadu Thanks for the PR. However, I think this is a bit harder for the beginners to use, besides this is already possible using query-params prop as a function. I'd rather prefer the first solution using a new prop for this purpose.
<template>
  <vuetable
    :fields="..."
    api-url="..."
    :query-params="queryParams"
  ></vuetable>
</template>
<script>
export default {
  data () {
    return {...}
  },
  methods: {
    queryParams (sortOrder, currentPage, perPage) {
      return {
        'sort': sortOrder,
        'page': currentPage - 1,
        'per_page': perPage
      }
    }
  }
}
</script>

Oh! If only I knew you could pass a function too.
Worked great. Thanks a lot.
Can you please update the documentation on Overriding Default Query String then?

@koapeadu Just published documentation for v2.0.0-beta here. Please see if this is enough. Any suggestion/correction is welcome. The old doc will be removed once v2.0 comes out of beta, so I'll probably won't spend time with it.

Looks good. Thanks.


QMC vs Randomized QMC

Hello,
I was wondering if I was misunderstanding some things about this package:

It gathers different option to fill d-dimensional intervals with sequences.
Quasi Monte Carlo uses deterministic sequences.
To me the term sample expect some kind of randomness. Hence, it must refer to Randomized Quasi Monte Carlo.
Indeed, for some sequences e.g. GridSample, LatticeRuleSample this is what happens.
For example the LatticeRuleSample are generated and then shifted randomly.
However, some sequences are generated deterministically, e.g. SobolSample, LowDiscrepancySample using the same sample function.

Am I missing something, or the sample function is used both for deterministic Quasi Monte Carlo sequences and random Quasi Monte Carlo sequences?

Hello, I was wondering if I was misunderstanding some things about this package:

It gathers different option to fill d-dimensional intervals with sequences.
Quasi Monte Carlo uses deterministic sequences.
To me the term sample expect some kind of randomness. Hence, it must refer to Randomized Quasi Monte Carlo.
Indeed, for some sequences e.g. GridSample, LatticeRuleSample this is what happens.
For example the LatticeRuleSample are generated and then shifted randomly.
However, some sequences are generated deterministically, e.g. SobolSample, LowDiscrepancySample using the same sample function.

Am I missing something, or the sample function is used both for deterministic Quasi Monte Carlo sequences and random Quasi Monte Carlo sequences?

I'd like to say, I'm definitely very interested in seeing randomized QMC sequences added to this package! I saw you created a package for them, and I'd love to see a PR, or help with it if you'd like.

Yes, it would be nice to integrate them here so that they can be used downstream in cases like NeuralPDE.jl. @shambles was asking about this kind of thing the other day.

Yes it would be nice to merge RandomizedQuasiMonteCarlo.jl into this one. I was waiting to have something more mature.
I think my initial question kind of remain on the interface. We want to

sample a low discrepancy x = (x_1, ..., x_N) sequences via sample(Sampler, N)
Most of the time we need to randomize these sequences r= (r_1, ..., r_N). This in most package is done at the same time as 1) because it is faster, and we just care about one sequence r. I often see it written like r = sample(Sampler, N, randomize = true)
Sometimes we want to randomize the same point sequence x multiple times (r[1], r[2], ..., r[M]) (to get an error estimate).

In case 3), I believe it is more natural (also faster from my experience than multiple sample(Sampler, N, randomize = true)) to call something like randomize(method, x) or randomize!(method, x). method here contain information about x so that some computations are done once. This is true for scrambling.
A simple example is for shifting lattice.

Generating the randomized lattice x = sample(lattice,n) is computationally expansive (it uses generating vector etc).
Randomizing from x is easy: r = shift(x) where shift is just an addition with modulus +rand(dim).
This should be longer  r = sample(lattice,x, random = true)

In RandomizedQuasiMonteCarlo.jl, I implemented randomization in the spirit of 3). How would you prefer this to fit into this package? API Ideally, with option 2) and 3) on the table (I guess it depends on the user application).

We're fully willing to rework the API, I think. We don't really like the way it's working right now.
Ideally, I think we would have something like sample(n, dimension, Faure(k)) to generate n independent replications of dimension^k points, and similar for Sobol (which should generate nets of size 2^k).

What would be the best way to integrate Randomized methods to this package?
Should I fork this package and "do some copy/paste" my code into a new src file (then deprecate RandomizedQuasiMonteCarlo.jl to only update in QuasiMonteCarlo.jl).
Or create a fork which basically call RandomizedQuasiMonteCarlo.jl (as the sample function is doing with Sobol.jl, LatticeRules.jl etc).

Either way, though I think the packages are small enough that just adding it to the src file is a good way to do it.

What would be the best way to integrate Randomized methods to this package? Should I fork this package and "do some copy/paste" my code into a new src file (then deprecate RandomizedQuasiMonteCarlo.jl to only update in QuasiMonteCarlo.jl)? Or create a fork which basically call RandomizedQuasiMonteCarlo.jl (as the sample function is doing with Sobol.jl, LatticeRules.jl etc)?

I think merging RQMC into QMC.jl is a good idea.


.rpm binary release for RHEL/Centos/Atomic users out there

I tried a conversion via alien but
# alien -r docker-volume-netshare_0.19_amd64.deb
docker-volume-netshare-0.19-2.x86_64.rpm generated
# rpm -ivh --test docker-volume-netshare-0.19-2.x86_64.rpm
Preparing...                          ################################# [100%]
    file / from install of docker-volume-netshare-0.19-2.x86_64 conflicts with file from package filesystem-3.2-20.el7.x86_64
    file /usr/bin from install of docker-volume-netshare-0.19-2.x86_64 conflicts with file from package filesystem-3.2-20.el7.x86_64
    file /etc/init.d from install of docker-volume-netshare-0.19-2.x86_64 conflicts with file from package chkconfig-1.3.61-5.el7_2.1.x86_64

EDIT: the rpm package reveals the correct contents, but no systemd stuff.

Seems like Centos7 lacks lsb support. After installing redhat-lsb-* I have these results:
# service docker-volume-netshare status
/etc/init.d/docker-volume-netshare: line 88: status_of_proc: command not found
# service docker-volume-netshare start
/etc/init.d/docker-volume-netshare: line 54: log_begin_msg: command not found

pls ? :)

A CentOS7/RHEL7-compatible RPM with each release would be greatly appreciated and make netshare accessible for more end-users. The excellent FPM program is one way to accomplish simultaneous creation of DEB, RPM and other package formats.


fix: Add int64 dtype

Fixes the error Unsupported tensor datatype! int64

Fixes the error Unsupported tensor datatype! int64

Did you test your PR? Int64Array does not exist in JavaScript. This will not work.
I created https://github.com/mrousavy/react-native-fast-tflite/pull/49 instead, this uses BigInt64Array and BigUint64Array 👍


Pipeline that Starts with Previously Segmented Media

Consider the usecase where a large catalogue has already been segmented and some features have been extracted. Now, an additional feature needs to be extracted and connected to the existing segments. Currently, there is no practical way to do this (AFAIK) and the entire pipeline needs to be rerun.
I propose implementing an operator that retrieves segments that have been persisted, along with their source attributes. This operator would be the initial operator in the extraction pipeline for new features. I am not sure if retrieval at indexing time is meant to work with the existing querying system or if some problems will arise here. Also, in current pipeline configs the enumerators must come first, so work is needed here as well.

This is an interesting question, which I think we should address.
I see multiple use cases that could be tackled in one go:

As described originally, the addition of a new feature for all retrievables
Updating an existing feature on all or some retrievables
With more verbose extraction logging, a mechanism for recovering a partially successful extraction, e.g. resuming of an extraction on all fields, for some of the sources.

Another idea:
Create a source which emits segments as retrievables that have been persisted in a previous run together with special content elements together with special content elements that describe which content elements are missing. Then, implement a special decoder which takes enumerated files and these retrieved retrievables (together with the gaps) and attemps to fill all the gaps.

I have an idea for solving this issue which also addresses the problem of restarting failed ingestions.

Include an option to configure the version of a pipeline config in the schema
in the backend, there is a one to many mapping from source metadata to versioned pipelines
the semantic is: Source S has been fully processed by pipeline P1 version V1 and pipeline P2 version V2 and so on
augment the enumerator to skip files that match a given metadata
augment the sink to properly tag the source as completed (relative to the given pipeline and version)
all the tagging, and checking logic should be reusable, to make it easy for new enumerators and sinks to be developed

@ppanopticon @lucaro What changes would you make to this concept?

I guess there are fundamentally only two (types of) mechanisms needed: an enumerator that checks for every source if it is already known and emits the relevant retrievable with the already existing id without persisting it anew and a (or possibly multiple) segmenters that look up the existing segment boundaries for an existing retrievable and emit the same retrievables with the same ids and content again. Any versioning you might want to do of pipelines is, in my view, completely independent from these mechanisms.


Correcting the default init from preferences

The current init of the preferences is broken and writes a wrong value in the mutators preference.

That's something I had spotted in the past myself but never fixed that because I couldn't figure out how the bug actually revealed itself. How did you find the wrong behavior?

I found this bug, after resetting my test workspace.

I found this bug, after resetting my test workspace.

and what's the value it writes?

and what's the value it writes?

I‘m not sure, if I understand. What value are you referring to?

and what's the value it writes?

I‘m not sure, if I understand. What value are you referring to?

I mean, how have you detected that it was setting the wrong value?
When I opened my fresh workspace it was using the DEFAULT mutators (but I'm talking about the current released version, not the one under development), that's why when I spotted that strange setting I did not think about a bug since the behavior, in the end, was the expected one...

I mean, how have you detected that it was setting the wrong value?
When I opened my fresh workspace it was using the DEFAULT mutators (but I'm talking about the current released version, not the one under development), that's why when I spotted that strange setting I did not think about a bug since the behavior, in the end, was the expected one...

The value was set to "defaultMutators" instead of the DEFAULTS.
I think this is the result of the rework I did on the preferences and the mutators itself.

OK, merged! Thanks!


Rename QueryIdCachingProxyHandler to Constants.java

Description
Fixes #480
Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

Thanks for the submission @RiyaJohn, this looks like it can be merged once cla-bot is happy. My only question is if we want to add a utils subpackage or put this class in an existing one. @oneonestar , @Chaho12 , @vishalya any opinion?

@ebyhr I think I have addressed the review comments, please take a look at it. And I need help with this cla-signing. I have an email configured and I can see it in the git config, so not sure what is missing

@willmostly @Chaho12 @vishalya @ebyhr @mosabua Can someone help me here ^^^

@RiyaJohn .. you need to rebase your branch and squash the commits into one commit.
In addition you need to submit a signed CLA document and then wait for it to be verified and processed. Once that is done your github user name will show up in https://github.com/trinodb/cla/blob/master/contributors
and I can kick of another verification here.

Superseded by #535


Make CCC_STORE_MAX configurable

Is your enhancement proposal related to a problem? Please describe.
CCC_STORE_MAX is a hardcoded define under the CONFIG_BT_SETTINGS. Which causes problems if an application needs more than what is defined. In addition, if made configurable, an application can reduce the size to improve stack usage
Describe the solution you'd like
Make the CCC_STORE_MAX configurable under the CONFIG_BT_SETTINGS
Describe alternatives you've considered
Additional context
In addition: ccc_save does not have a boundary check for the store property, so if an application has more than CCC_STORE_MAX it triggers a buffer overflow.

In addition: ccc_save does not have a boundary check for the store property, so if an application has more than CCC_STORE_MAX it triggers a buffer overflow.

This part looks like it's describing a bug. Can you open a separate issue for this?

In addition: ccc_save does not have a boundary check for the store property, so if an application has more than CCC_STORE_MAX it triggers a buffer overflow.

This part looks like it's describing a bug. Can you open a separate issue for this?

Hi @alwa-nordic, I pushed a fix for the bug as well. Should I still make a separated issue for tracking purposes?

In addition: ccc_save does not have a boundary check for the store property, so if an application has more than CCC_STORE_MAX it triggers a buffer overflow.

This part looks like it's describing a bug. Can you open a separate issue for this?

Hi @alwa-nordic, I pushed a fix for the bug as well. Should I still make a separated issue for tracking purposes?

Since it's getting fixed anyway, it's not required, but you may if you want. Our process allows fixes without tracking issues.


fix(apps): support zoxide and bat

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


WIP: Add new edit stock page and link - waiting for #111

Add link to edit stock page in item table
Removed quantity from original edit page

TODO:

Use markup from #111 to complete this new page

:shipit:


Customize quote character for autocomplete string-indexed memebers

From https://github.com/Microsoft/vscode/issues/36429
I just see it using double quotes, but this should be customizable for a codebase that wants single quotes.

Opened https://github.com/Microsoft/TypeScript/issues/21768 to track this upstream


Update sources-dist-stable.json to bring ioBroker.beckhoff 1.2.1 to stable

RE-CHECK!

Automated adapter checker
ioBroker.beckhoff

:thumbsup: No errors found

[ ] :eyes: [W505] setTimeout found in "beckhoff.js", but no clearTimeout detected
[ ] :eyes: [W801] .npmignore not found

Add comment "RE-CHECK!" to start check anew

@dkleber89 We now check a bit deeper about compact more compatibilityand you use a timeout which is not stopped in "unload", but this will break compact mode! Can you please adjust that?

RE-CHECK!

Automated adapter checker
ioBroker.beckhoff

:thumbsup: No errors found

[ ] :eyes: [W801] .npmignore not found

Add comment "RE-CHECK!" to start check anew

Closes https://github.com/dkleber89/ioBroker.beckhoff/issues/31


Document info data structure

For being such an important data structure, there sure isn't any documentation about the Info class. What fields might it contain? What do they mean? I know the answer often is 'it depends', but the standard fields should be documented.

@wmvanvliet calls for some tutorial or so ... you volunteer, right?

yes, I'm working on it right now.

I just had to explain some of these the other day. I'll be on gitter soon
if you have questions about the fields.

Also, this is very helpful:
http://martinos.org/mne/stable/manual/matlab.html?highlight=meas info structure
Matti's documentation is always super thorough

@dgwakeman  that is really helpful!

cc @mdclarke there are some links in here about the Info structure, but @wmvanvliet is planning to add more docs soon. @wmvanvliet are you working on it as part of the sprint?

yes, you can find our progress here:
https://github.com/wmvanvliet/mne-doc-notebooks

Great @wmvanilet for giving this a shot! Some feedback:

Have you looked at the mne-tutorials that already exist?
I wouldn't start the data structures tutorial with the info. I would
rather say raw -> epochs -> evoked and then describe info.
Is this a tutorial or a manual thing? If it's a manual thing, you have to
be more comprehensive and it shouldn't have so much code / code output. You
don't need to have code that is "executable" in a manual. It can be just
snippets (at least in my mind). For example, you should say what each
field stands for even if it may sound obvious from the name
"Creating data structures from scratch " sounds a bit misleading. The
user may try to go there first thinking it's the first tutorial they should
do, but clearly it's not.

... more comments to follow later.
On Thu, Jul 16, 2015 at 9:20 AM, Marijn van Vliet<EMAIL_ADDRESS>wrote:

yes, you can find our progress here:
https://github.com/wmvanvliet/mne-doc-notebooks
—
Reply to this email directly or view it on GitHub
https://github.com/mne-tools/mne-python/issues/2287#issuecomment-121856486
.


Brilliant AR Studio on one of my laptop does not pair with Monocle

I have 3 laptops which I use with Monocle.
For 2 of them, I can get Monocle to pair with it easily.
For one of them, Monocle simply cannot pair with Brilliant AR studio running in VS code IDE.
Have tried to narrow down the possibilities but to no avail.
If there is any hint, the 2 that pairs, I am running them in administrator account for Windows. The one which does not pair, I am running VS code and Brilliant AR studio not as administrator account. Hopefully the issue can be resolved.
Regards,

@uma-shankar-TE any ideas what the issue here could be?

It may be bluetooth access is not working for non admin accounts only with custom applications
you may try to look this link and add your user account to permissions

Step 1: Troubleshooting Bluetooth support service “Access denied” error
a.    Click on Start; in the start search type services.msc and hit Enter.
b.    Double click Bluetooth Support Services.
c.    Click on the "Log On" tab
d.    Select the "This Account" radio button
e.    Click on "Browse" then click on "Advanced"
f.     Click on "Find Now"
g.    Double Click on any user in the list that has Administrator privileges. If you are unsure, just choose the Administrator account.
h.    Now click "Ok" until you get back to the "Log On" tab
i.     Verify the correct user is in the log on box and if there is a password needed to log that user onto windows then enter it in the 2 fields below.
j.     Click "Apply" and you should be good to go.
Step 2: Perform a system file checker
You can also try performing system file checker. The System File Checker tool (SFC.exe) scans for missing or corrupted system files and repairs them
http://support.microsoft.com/kb/929833


reference: enhance metadata section

(copied comments)

"tombstone" is missing from the top level field example, right?
i.e.
{
"$schema": "https://localhost/schemas/records/record-v1.0.0.json",
"id": "q5jr8-hny72",
"pid": { ... },
"conceptid": "adf7e-kop86",
"conceptpid": { ... },
"pids" : { ... },
"metadata" : { ... },
"ext" : { ... },
"provenance" : { ... },
"access" : { ... },
"files" : { ... },
}

should be
{
"$schema": "https://localhost/schemas/records/record-v1.0.0.json",
"id": "q5jr8-hny72",
"pid": { ... },
"conceptid": "adf7e-kop86",
"conceptpid": { ... },
"pids" : { ... },
"metadata" : { ... },
"ext" : { ... },
"provenance" : { ... },
"access" : { ... },
"files" : { ... },
"tombstone: { ... }
}

Why again did we split the internal identifier into id and pid
and not just pid with subentries id, pk, and status? And same with the concept ids?

What about renaming pids -> external_ids (or ext_ids or managed_ids or mids)?
The defining feature of the ids in that dict is not that they are permanent.
It's that they are managed external ids.

Creators:

Should we formalize format of name as "Last, first" ?
always thought type was for creator itself and that personal / organizational was a typo to eventually refactor :D !

thought it was weird to depend on type of name instead of that of creatibutors (to talk about creators and contributors, I will just use this word)

If the creator is unknown, using the name "unknown" may be inconsistent over time. ("unknown", "Unknown", "n/a"...)
"Identifiers is a key (scheme) value (value) mapping (we only support one identifier per scheme):

Additional descriptions

Can there be more than one description-type-lang trio?

Publication date

Is the edit below right?
The field is compatible 5. PublicationYear in DataCite. In case of time intervals, the earliest date is used for DataCite.

Subjects

Supported subject schemes:

URL
URN
MeSH
(to be consistent with example right?)

Languages

since Datacite only supports 1, the first language is chosen I assume?

Identifiers

Just thank you for the description.
Might be worth mentioning that because it doesn't use the mapping format of the creatibutors' identifiers, it allows multiple DOIs for instance.

Awards

(just reiteration of previous in-video-life discussion) Can there just be an award? (i.e. no specific funder)

Access

Embargo: Should we allow datetimes? Then we need to be careful about conversion.

Entries

Is file_id the PK to an entry in another table (the current ObjectVersion?)?

This is out-of-date, closing.


Diff by phrase functionality?

Thanks a lot for this project. I was wondering if something can be done to achieve the following. Let's say I have 2 versions of a string:
"J. G. Feldstein, Chair" and "T. P. Pastor, Chair"
When using character level diff, I get this result:

Makes sense, of course, since it diffs by character and keeps all the ones that were there before. Id I diff by word, this happens:

Again, makes sense. However, this makes it difficult for a user to understand what happens. What would be great is if we could "whitelist" a few characters, so that they don't count on the diff, and use it in phrase level. So in that case, if we whitelist whitespace and punctuation, we could get:

Would this be feasible and/or possible?

That would be possible but needed a change. At the moment there is a SPLIT_PATTERN defined to separate words. This pattern needs to be adjusted, or better a function needs to be injected to do character, word or like you call it phrase processing.
I would suggest an API change that would remove inlineDiffByWord and replace it with some kind of splitFunction to make this completely adjustable or by inlineDiffByPattern and make this SPLIT_PATTERN modifiable.

Please look at DiffRowGeneratorTest.testGeneratorIssue14. Is that what you meant?  ;)
The output of this test is:
~J. G. Feldstein~T. P. Pastor, Chair
The inline splitter is responsible for splitting the source line into blocks to compare (characters, words, phrases). Its up to you to configure it the way you want it to behave.

Yes, working nicely! Thanks a lot for your efforts!

By the way. Did you ok know, it's been deployed to maven central?

Hello @wumpz, and all,
How to make a test similar to:
https://github.com/java-diff-utils/java-diff-utils/blob/02532a9720a9560e8f3ae039837cf960a6338e3e/java-diff-utils/src/test/java/com/github/difflib/text/DiffRowGeneratorTest.java#L285-L292
In my test, I have always this error:
error: splitStringPreserveDelimiter(String,Pattern) has protected access in DiffRowGenerator
                        .inlineDiffBySplitter(line -> DiffRowGenerator.splitStringPreserveDelimiter(line, Pattern.compile(",")))
                                                                      ^

How to proper call this method?

Regards.


refactor: remove unused env var in start script

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


Conversation Loading States

When errors/loading is happening it can be helpful to inform the user in some way
Right now loading and errors are displayed as a spinner at the top of the conversation list, but does not give insight into a problematic conversation

We could display the loading state next to the spinner. This would help the user understand what's going on. We could also show the state if the spinner has been loading for more than 10/15 seconds.

I have submitted a pull request with a proposed set of enhancements, screenshots attached: https://github.com/ephemeraHQ/converse-app/pull/561

TODO: Consider wording of "Reconnecting" (currently: weird state or cannot connect with XMTP network) and "Waiting for network" (currently: can we communicate with Converse backend?)

@saulmc, this is completed, merged, and the issue has been automatically closed. Let me know if any wording change is necessary.


Hooks config not detected in initial render for FRIDA

Describe the bug
I have implemented the Free-RASP in react native as per the example, But the Frida hook is detected in the fifth re-render of Free-RASP config, so the App is open (Launch screen shown) for some time before the Restricted Page is shown from our side according to the config.
Expected behavior
It should detect in the first render
Screenshots

Please complete the following information:

Device: MEMU PLAY Simulator
OS version:  Android - 7.1.2
Version of freeRASP: 2.0.1

Hi Team,
Do we have any progress here ?
Many thanks

Hello @pradsirwt,
Apologies for the delay in addressing this. We've been quite busy recently with releasing major updates for our other modules. We'll get to this shortly.
Thank you for your patience.
Tomas, Talsec developer

Hi Team,
Do we have any progress here ?
Many thanks

Hi @pradsirwt,
We did take a look at our freeRASP SDK and did not spot anything unusual. The reason for delayed detection is that some checks are more computationally expensive than others. In the freeRASP, all checks are running in the background threat. This is one of the limitations of freeRASP that will probably persist in the future.
In our BusinessRASP+ solution, each customer has the option to prioritize checks, making some subgroups critical and blocking. Unfortunately, this feature is not included in our freeRASP, where the library is not customized for every customer.
We can try to optimize each subgroup of checks (so the reaction is triggered a little bit sooner), but this will probably not solve your problem as it will always take some time to perform all the checks.
Best regards,
Talsec team


go to definition cannot be used in the first few minutes when opening a very large project

Hi all,
go to definition cannot be used in the first few minutes when opening a very large project. It is not very convenient when I need to close the vim and open the vim frequently.

duplicate of https://github.com/rust-analyzer/rust-analyzer/issues/1650
TL;DR: This is a current limitation of rust-analyzer, which doesn't persist caches to disk. But it's also a fundamental nature of rust-analyzer that it is optimized for a long-running daemon mode, and, as this reports are most often comming from vim users, I wonder if something can be done on vim's side to persist connection between sessions....

There's a related conversation here.

Actually, let's cc @norcalli (who is invovled wit neovim-lsp) just in case.
@norcalli, my understanding is that vim users often work by creating and killing a vim process for each file and that "vim", by default, creates a new instance of language server pre file. This can be considered suboptimal, as language servers are organized around the idea of a persistent daemon process, which watches the changes.
Now, rust-analyzer is a particularly egregious offender here, as we don't do any kind of on-disk caching whatsoever (mostly to drastically simplify the architecture while we are in the experimentation phase). I do believe that, long term, we'll be able to get a "not so bad" startup time. However, it would be nice if neovim-lsp supported the daemon use-case (which it might already do, I don't really know).

You might need to cc the author of coc.nvim. Lots of people use coc.nvim for the language server.

Hm, I was under the impression that coc.rust-anlayzer doesn't have this problem, but let's ask @fannheyward :-)

I use the coc.rust-analyzer. It also has this question.

I don't know if generating the tags file can help to boost the go-to time.


Compiler treats warnings as errors and no longer builds latest

OpenBSD 6.1 Stable AMD64
Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd6.1/4.2.1/specs
Target: amd64-unknown-openbsd6.1
Configured with: OpenBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719
Building Latest Revision 8280bbc with libsodium-1.0.12p0
cc -O2 -pipe  -Wall -Werror -Wmissing-declarations -Wshadow -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -I/usr/local/include   -c ankh.c
cc1: warnings being treated as errors
ankh.c: In function 'cipher':
ankh.c:265: warning: implicit declaration of function 'freezero'
ankh.c: In function 'header_read':
ankh.c:368: warning: comparison between signed and unsigned
*** Error 1 in /home/gjp/Git/ankh (<sys.mk>:87 'ankh.o')

I understand this lowers the security by not zeroing memory but it allows compilation on systems older than 6.1-CURRENT.
Save as ankh.patch and apply patch with $ patch -p0 < ankh.patch
--- ankh.c      Sat Sep  9 09:53:12 2017
+++ ankh.c      Sat Sep  9 09:55:31 2017
@@ -1,3 +1,4 @@
+
 /*
  * Copyright (c) 2017 Steven Roberts<EMAIL_ADDRESS>  *
@@ -262,7 +263,7 @@ cipher(struct ankh *a)
        if (ferror(a->fin))
                errx(1, "error reading from input stream");

-       freezero(buf, bufsize);
+       free(buf);

        return 0;
 }
@@ -270,7 +271,7 @@ cipher(struct ankh *a)
 void
 cleanup(void)
 {
-       freezero(adp, sizeof(struct ankh));
+       free(adp);
 }

 int
@@ -337,7 +338,7 @@ getid(char *str, size_t size)
 int
 header_read(struct ankh *a)
 {
-       int cmd;
+       unsigned int cmd;
        int n;
        int v[3];
        unsigned char params[HEADER_PARAM_SIZE + 1];
@@ -500,7 +501,7 @@ passwd_read_file(char *pass, size_t size, char *fname)
        if (passlen < PASSWD_MIN)
                errx(1, "password too small");

-       freezero(line, linesize);
+       free(line);

        if (ferror(fp))
                err(1, "%s", fname);


how to run

hello  how  to run it？

Download this repository -> go to your directory -> run python *.py
Environment: > Python 3.6


Chatterino Supporter Badge

What should be added?
A time based chatterino badge level, so that the longer you've been a chatterino supporter, you get a cooler badge Sub-Like Chatterino badge Which changes at a time interval of developers choosing.
Why should it be added?
to incentivise uniqueness among chatterino badge users and could possibly increase chatterino funding

great original idea bro well done 👍🏿 👍🏿 👍🏿

How would this work?
Chatterino badges aren't a subscription you pay for as for bttv where it might make sense.
Would it just be Chatterino Supporter (2018/06) or something like that?
I don't see the point of it.
If anything maybe there could be different tiers of badges depending on the amount you donate.

How would this work?
Chatterino badges aren't a subscription you pay for as for bttv where it might make sense.
Would it just be Chatterino Supporter (2018/06) or something like that?
I don't see the point of it.
If anything maybe there could be different tiers of badges depending on the amount you donate.

it would be like just like the sub badge system, the more og the rarer your badge would be

I think this would require the devs to sort out a subscription based system to go hand-in-hand with the StreamElements API. Really awesome idea to identify Chatterino supporters though.
Just to add some more context, Chatterino Donations are currently going through StreamElements, which means that you are essentially "donating to a streamer" as a way to show support. It would be a little time consuming to funnel the StreamElements API to add badges next to names on Chatterino, I believe. Not as easy as BTTV or FFZ for sure.

I don't see how it would work, donations are a one-time thing while subscriptions are not. I also don't see what benefit having a subscription would have since chatterino supporter doesn't provide any other features than a badge.

Since we don't handle marketing on github I will close this


not on latest version?

what does that mean i dont know what latest version is

latest version of fusion. you need to download the newest version from thunderstore

Ok thanks a lot


Dynamics 365 App for iOS asking for One-Time Passcode, Passcode not Received

Hello,
I just downloaded the Dynamics 365 app for iOS 12.2. When I enter my work email and password, I am then asked to enter a one-time passcode to complete the login. I have checked my work email inbox and spam folder several times and do not see the passcode. It's been about 15 minutes. Do I need to wait longer? Thanks for your help!
Bryce

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

ID: c3e67f90-3248-8105-1f21-04fe4080c34f
Version Independent ID: cb6f7283-de7c-7a9d-6e31-ef5f17b17413
Content: Dynamics 365 for phones and tablets User's Guide (Dynamics 365 for Customer Engagement apps)
Content Source: ce/mobile-app/dynamics-365-phones-tablets-users-guide.md
Service: crm-online
GitHub Login: @buck1ey
Microsoft Alias: mkaur

@bryce168789 thank you for your feedback. Let me check with a someone from our team. I will get back to you soon.
Thanks,
Mints

Awesome. Thanks!

@bryce168789 I check with our PM team. This is not a standard design. We don't expect any passcode after entering the email address and password. This could be a customer specific authentication settings. Please check with your local admin.
Thanks,
Mints

Thanks, Mints! Appreciate you checking. I will follow up with an internal admin.


zoom-manage fails first time if Zoom is not running

zoom-manage sees if zoom is running and if not, starts it. The intent is for the interaction to be easy and intuitive:
If zoom is not running, start it.
If we are not in a meeting, display a dialog to the user, asking them to join a meeting.
% ./zoom-manage roster
./zoom-manage:26112:26117: execution error: Error: System Events got an error: Can’t get menu bar 2 of process "zoom.us". Invalid index. (-1719)

Fixed by a quick delay. Also updated README with the version number of the latest zoom.


chore(web): set redis pingInterval to stop Azure redis idle timeouts

https://pins-ds.atlassian.net/browse/APPLICS-1154
-set redis pingInterval to 5 mins to stop Azure Redis 10min idle timeouts
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[ ] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

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

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


Problem with Table from egui_extras

Describe the bug

I recently changed to latest version of egui 0.20.1 from 0.19 in one of my projects.
the problem that I noticed so far is the Table wont work as it use to work in version 0.19, when trying to resize or make the windows full screen the table layout will fill up the entire Panel and push out anything that is beside it.
it would be better to show the problem with a video, I will attach some video in screenshot section.
To Reproduce
here is the an example source code, just compile and try to resize it...
use eframe::{NativeOptions, epaint::{Vec2, text::{LayoutJob, LayoutSection, TextWrapping}}, run_native, App, egui::{CentralPanel, Direction, Layout, TextFormat, SidePanel}, emath::Align};
use egui_extras::{TableBuilder, Column};

struct Test {
	test_data: Vec<[String; 3]>,
}

impl Default for Test {
    fn default() -> Self {
		let mut test_data = Vec::with_capacity(1000);

		for i in 0..1000 {
			test_data.push([
				"First one".to_owned(),
				"Second one".to_owned(),
				format!("{i}: The last one that should be looooooooooooooooooooooooooooooooooooong"),
			]);
		}

        Self { test_data }
    }
}

impl App for Test {
    fn update(&mut self, ctx: &eframe::egui::Context, _frame: &mut eframe::Frame) {
		SidePanel::right("side_panel")
			.default_width(225.0)
			.max_width(225.0)
			.resizable(false)
			.show(ctx, |ui| {
				ui.label("just a simple side panel");
			});

        CentralPanel::default().show(ctx, |ui| {
			TableBuilder::new(ui)
				.striped(true)
				.column(Column::initial(50.0).at_least(50.0).at_most(50.0))
				.column(Column::initial(150.0).at_least(50.0).at_most(160.))
				.column(Column::remainder().at_least(60.0))
				.cell_layout(Layout::centered_and_justified(Direction::LeftToRight))
				.resizable(true)
				.header(20.0, |mut header| {
					for text in ["One", "Two", "Long Text"] {
						header.col(|ui| {
							ui.heading(text);
						});
					}
				})
				.body(|body| {
					body.rows(25.0, 1000, |row_idx, mut row| {
						row.col(|ui| {
							ui.label(&self.test_data[row_idx][0]);
						});
						row.col(|ui| {
							ui.label(&self.test_data[row_idx][1]);
						});
						row.col(|ui| {
							let job = LayoutJob {
								text: self.test_data[row_idx][2].clone(),
								sections: vec![LayoutSection {
									leading_space: 0.0,
									byte_range: 0..self.test_data[row_idx][2].len(),
									format: TextFormat::default(),
								}],
								wrap: TextWrapping {
									max_rows: 1,
									break_anywhere: true,
									overflow_character: Some('…'),
									..Default::default()
								},
								break_on_newline: true,
								halign: Align::Center,
								..Default::default()
							};

							ui.centered_and_justified(|ui| {
								ui.label(job);
							});
						});
					})
				})
		});
    }
}

fn main() {
    let options = NativeOptions {
        initial_window_size: Some(Vec2::new(680., 535.)),
        min_window_size: Some(Vec2::new(680., 535.)),
        ..Default::default()
    };

	run_native(
		"Test",
		options,
		Box::new(|_| Box::new(Test::default())));
}

(for version 0.19.0 just changing Column to Size is enough.
Expected behavior

I believe it should work as it been working in version 0.19.0
Screenshots and Videos

version 0.19
https://user-images.githubusercontent.com/18105381/206941941-046ba4a0-74ca-4155-a1f3-6da2da3f982c.mp4
here is the same program in version 0.20.1
https://user-images.githubusercontent.com/18105381/206942039-2bbcd901-a598-4586-b2a3-cc358f0693aa.mp4
Desktop (please complete the following information):

OS: Windows
Version: 10 (21H2)

Good find! Could you please make a minimal reproducing example?

Good find! Could you please make a minimal reproducing example?

Thank you for the fast respond.
the code that I sent in the first post To Reproduce section is fully working, just create a new cargo project with eframe and egui-extras as dependencies and then replace the source... that should be it.

@emilk I believe that is probably the same layouting bug I discovered during our investigation here https://github.com/emilk/egui/issues/2425#issuecomment-1347371420
So I will not open another issue. For me the table will not exapnd past a certain maximum vertical size when in the CentralPanel, but seeing this there is probably just a general glitch in the layouting code.

Ha! I think I got the culprit!
old code:
let native_options = eframe::NativeOptions::default();
    eframe::run_native(
        "rs_ytdl",
        native_options,
        Box::new(|cc| Box::new(rs_ytdl::RsYtdlApp::new(cc))),
    )

New code:
 let native_options = eframe::NativeOptions {
        drag_and_drop_support: true,
        initial_window_size: Some([1280.0, 1024.0].into()),
        #[cfg(feature = "wgpu")]
        renderer: eframe::Renderer::Wgpu,
        ..Default::default()
    };
    eframe::run_native(
        "rs_ytdl",
        native_options,
        Box::new(|cc| Box::new(rs_ytdl::RsYtdlApp::new(cc))),
    )

So the 'old' Defaults for the NativeOptions are not failsafe anymore. When 'stealing' the ones from the demo it works suddenly. But it still prints this one smithay Clipboard error message.
2022-12-12T22:22:53.148621Z ERROR egui_winit::clipboard: Cannot initialize smithay clipboard without a display handle!

@Detector-I in your example, in the new version, can you also test what happens when you use the 'wrap' property on the labels inside the cells.
In 0.19.0 this is very fast for me, in 0.20.0 it slow to a crawl and is very stuttery.

I played the old git bisect game again and both the column resize performance issue as well as the layout problem when resizing the window boils down to this commit, which unfortunately is quite large^^
git bisect bad
2dc2a5540d7968ad8b1926468431c51e52e28c5e is the first bad commit
commit 2dc2a5540d7968ad8b1926468431c51e52e28c5e
Author: Emil Ernerfeldt<EMAIL_ADDRESS>Date:   Wed Nov 30 19:56:06 2022 +0100

    `egui_extras::Table` improvements (#2369)

    * Use simple `ui.interact` for the resize line

    * Introduce TableReizeState

    * Simplify some code

    * Add striped options to table demo

    * Auto-size table columns by double-clicking the resize line

    * Table: add option to auto-size the columns

    * Table: don't let column width gets too small, unless clipping is on

    * egui_extras: always use serde

    Otherwise using `get_persisted` etc is impossible,
    and working around that tedious.

    * Avoid clipping last column in a resizable table

    * Some better naming

    * Table: Use new `Column` for setting column sizes and properties

    Also make `clip` a per-column property

    * All Table:s store state for auto-sizing purposes

    * Customize each column wether or not it is resizable

    * fix some auto-sizing bugs

    * Fix shrinkage of adaptive column content

    * Rename `scroll` to `vscroll` for clarity

    * Add Table::scroll_to_row

    * scroll_to_row takes alignment

    * Fix bug in table sizing

    * Strip: turn clipping OFF by default, because it is dangerous and sucks

    * Add TableBody::mac_rect helper

    * Table: add options to control the scroll area height.

    * Docstring fixes

    * Cleanup

 crates/egui/src/containers/scroll_area.rs   |  18 +-
 crates/egui_demo_app/Cargo.toml             |   4 +-
 crates/egui_demo_lib/src/demo/table_demo.rs | 125 +++--
 crates/egui_extras/Cargo.toml               |   8 +-
 crates/egui_extras/src/datepicker/button.rs |   3 +-
 crates/egui_extras/src/datepicker/popup.rs  |  15 +-
 crates/egui_extras/src/layout.rs            |  66 +--
 crates/egui_extras/src/strip.rs             |  27 +-
 crates/egui_extras/src/table.rs             | 791 +++++++++++++++++++++-------
 9 files changed, 737 insertions(+), 320 deletions(-)

Full bisect log:
git bisect log
git bisect start
# status: waiting for both good and bad commits
# bad: [7d91e904810215952e7d9fcdb892c1e1e227f2ff] Release 0.20.0 - AccessKit, prettier text, overlapping widgets
git bisect bad 7d91e904810215952e7d9fcdb892c1e1e227f2ff
# status: waiting for good commit(s), bad commit known
# good: [97ce10320980ea4e8f415b000b322881eb5ec51f] Release 0.19.0 - wgpu backend, repaint_after, continue-after-close
git bisect good 97ce10320980ea4e8f415b000b322881eb5ec51f
# good: [8e79a5a8ae32daac964b6e4d073513bb596d5f96] Add egui_speedy2d link to README.md (#2211)
git bisect good 8e79a5a8ae32daac964b6e4d073513bb596d5f96
# good: [7d8154971bae6df8af00e0e19c62ef852d223091] Update ndk-sys v0.4.0 -> v0.4.1+23.1.7779620 (#2340)
git bisect good 7d8154971bae6df8af00e0e19c62ef852d223091
# bad: [8eb687cf04dd2b68dfe467d142db6b8759425e16] Glutin Upgrade  (#2187)
git bisect bad 8eb687cf04dd2b68dfe467d142db6b8759425e16
# bad: [7133818c59269fee8cff8d182e776bda8858a727] Make sure scroll bars are always visible (#2371)
git bisect bad 7133818c59269fee8cff8d182e776bda8858a727
# good: [a3f1e5961f66d2c0acdf5575eb058eb352d5f6d4] Fix bug in keyboard shortcut formatting
git bisect good a3f1e5961f66d2c0acdf5575eb058eb352d5f6d4
# good: [0336816faf9f361e59ca77f99c19fcfa2bf7c993] Fix keyboard support in `DragValue` (#2342)
git bisect good 0336816faf9f361e59ca77f99c19fcfa2bf7c993
# bad: [85f8eeb9d5ca4be14c99740ac31052a9d246c773] Fix key pressed event (#2334)
git bisect bad 85f8eeb9d5ca4be14c99740ac31052a9d246c773
# bad: [2dc2a5540d7968ad8b1926468431c51e52e28c5e] `egui_extras::Table` improvements (#2369)
git bisect bad 2dc2a5540d7968ad8b1926468431c51e52e28c5e
# first bad commit: [2dc2a5540d7968ad8b1926468431c51e52e28c5e] `egui_extras::Table` improvements (#2369)

You could keep bisecting in the commits in that table PR (#2369), and/or make a minimal reproduce

I think the code from @Detector-I above is actually enough to show the issue.
It might sound stupid, but how do I git bisect squashed commits of a PR? never done that.
Is is bisectable in a sense that each commit is good enough so it actually works?

I think the code from @Detector-I above is actually enough to show the issue.

it is good enough to show the issue, but the point of a minimal reproduce it it cuts to the core of the problem, revealing the very essence of it, and cuts out a lot of overhead and noise and time when stepping it through with a debugger.

not quite getting your point here. I think that is pretty close to a minimum useful example because you need a certain table size for it to work and for the performance issue to show up you need multiple wrapping labels on clumn resizing.
Or what exactly do you have in mind?

So I went through and was able to make it a little simpler. You can find the demonstrator for your own testing here.
https://github.com/markusdd/egui-table-issue
The issues I see are these:

it is good enough to show the issue, but the point of a minimal reproduce it it cuts to the core of the problem, revealing the very essence of it, and cuts out a lot of overhead and noise and time when stepping it through with a debugger.

Oh I understand now...
here is the smallest minimal reproducing example code that I can create that have the same problems as first post.
use eframe::{App, run_native, NativeOptions, egui::{CentralPanel, SidePanel, Direction, Layout}};
use egui_extras::{TableBuilder, Column};

struct Example;

impl App for Example {
    fn update(&mut self, ctx: &eframe::egui::Context, _frame: &mut eframe::Frame) {
		SidePanel::right("id")
			.show(ctx, |ui| {
				ui.label("text");
			});

		CentralPanel::default()
			.show(ctx, |ui| {
				TableBuilder::new(ui)
					.cell_layout(Layout::centered_and_justified(Direction::LeftToRight))
					.column(Column::remainder())
					.body(|mut body| {
						body.row(25.0, |mut row| {
							row.col(|ui| {
								ui.label("add_cell_contents");
							});
						});
					})
			});
    }
}

fn main() {
    run_native(
		"minimal reproducing example",
		NativeOptions::default(),
		Box::new(|_| Box::new(Example))
	)
}

https://user-images.githubusercontent.com/17937017/207747912-6d7e494f-c531-4248-adb1-a7a9f631f6d9.mp4
Some important notes:

I choose to remove resizable(true), striped(true), and header from the TableBuilder because after checking it without them I find out its still having the same problem; also I find out just a single column that have Column::remainder is enough for getting the problem, and at the end I tried to remove the cell_layout but by removing it I couldn't see the problem anymore.
I still used SidePanel for having another widget beside Table but as you can see I removed some of the methods that I used in last code, because after checking them I find out using them didn't have anything todo with the problem.
I did get the problem that @markusdd mentioned with a little change in code, but for sake of simplicity I leave it out for now.

Hope this one helps

@emilk

it is good enough to show the issue, but the point of a minimal reproduce it it cuts to the core of the problem, revealing the very essence of it, and cuts out a lot of overhead and noise and time when stepping it through with a debugger.

Oh I understand now...
here is the smallest minimal reproducing example code that I can create that have the same problems as first post.
use eframe::{App, run_native, NativeOptions, egui::{CentralPanel, SidePanel, Direction, Layout}};
use egui_extras::{TableBuilder, Column};

struct Example;

impl App for Example {
    fn update(&mut self, ctx: &eframe::egui::Context, _frame: &mut eframe::Frame) {
		SidePanel::right("id")
			.show(ctx, |ui| {
				ui.label("text");
			});

		CentralPanel::default()
			.show(ctx, |ui| {
				TableBuilder::new(ui)
					.cell_layout(Layout::centered_and_justified(Direction::LeftToRight))
					.column(Column::remainder())
					.body(|mut body| {
						body.row(25.0, |mut row| {
							row.col(|ui| {
								ui.label("add_cell_contents");
							});
						});
					})
			});
    }
}

fn main() {
    run_native(
		"minimal reproducing example",
		NativeOptions::default(),
		Box::new(|_| Box::new(Example))
	)
}

https://user-images.githubusercontent.com/17937017/207747912-6d7e494f-c531-4248-adb1-a7a9f631f6d9.mp4
Some important notes:

I choose to remove resizable(true), striped(true), and header from the TableBuilder because after checking it without them I find out its still having the same problem; also I find out just a single column that have Column::remainder is enough for getting the problem, and at the end I tried to remove the cell_layout but by removing it I couldn't see the problem anymore.
I still used SidePanel for having another widget beside Table but as you can see I removed some of the methods that I used in last code, because after checking them I find out using them didn't have anything todo with the problem.
I did get the problem that @markusdd mentioned with a little change in code (just by setting resizable to true and having more then one column), but for sake of simplicity I leave it out for now.

Hope this one helps

Any plan for fixing this?
its really a big problem...

I don't have time to dig into this right now, but feel free to investigate yourself!

I did some investigation and found the cause for this bug.
The problem occurs when the last column is a remainder and it allocates the full space available. This can happen when the layout is centered_and_justified or you call ui.allocate_rect(ui.available_rect_before_wrap(), Sense::click()); in the last column.

When you expand the table the, last column will allocate the full width available, and this will be saved in the TableState
If we shrink the table, the saved column size from before will be used and will allocate the same size as before
We store that size again even if the available space is not enough (we will scroll)

The code that makes this happens is this, it stores the remaining available space or the largest column size for the last column:
if is_last_column && column.initial_width == InitialColumnSize::Remainder {
   // If the last column is 'remainder', then let it fill the remainder!
   let eps = 0.1; // just to avoid some rounding errors.
   *column_width = available_width - eps;
   *column_width = column_width.at_least(max_used_widths[i]);
   *column_width = column_width.clamp(min_width, max_width);
   break;
}

When the last column does not allocate the full available space this problem does not occur because
column_width = available_width - eps resets the size and the max_used_widths[i] will be the actual size used by the ui.
I tried fixing this but couldn't find a solution that didn't cause other bugs :/
Not sure if you have an idea on how this could be fixed @emilk
PS: this problem also happens in the demo_table if you use .cell_layout(Layout::centered_and_justified(Direction::LeftToRight))

I am using egui/egui_extras 0.22, the "table does not extend beyond a certain length" issue is due to the default value of TableScrollOptions:
impl Default for TableScrollOptions {
    fn default() -> Self {
        Self {
            vscroll: true,
            stick_to_bottom: false,
            scroll_to_row: None,
            scroll_offset_y: None,
            min_scrolled_height: 200.0,
            max_scroll_height: 800.0,
            auto_shrink: [true; 2],
        }
    }
}

If you don't want a max_scroll_height (for example because you're already putting the table in a bounded container) you can fix this by setting max_scroll_height to infinity when building the Table, for example:
TableBuilder::new(ui)
    .column(Column::auto())
    .column(Column::auto())
    .max_scroll_height(f32::INFINITY)
    .header(16.0, |mut header| {
        header.col(|ui| { ui.strong("Count"); });
        header.col(|ui| { ui.strong("Test"); });
    })
    .body(|mut body| { ... });

I think the 'proper' fix for this would be for the max_scroll_height (and min_scroll_height?) values in in the TableScrollOptions to be Optional and default to None unless the max_scroll_height builder function is called. It is somewhat surprising that there is a maximum height by default.
@emilk I can open a PR to make this change if you don't have any immediate concerns with it. I have tested this locally and it seems to work as expected.


Create etl tool to check if all datasets are using the latest versions of their dependencies

Currently, if a new version of a dataset is created, other datasets that have the former as a dependency don't get automatically updated (which is correct). But we should have a way to visualize which datasets need to be updated because a dependency has changed.

You can use generate_graph my-graph.dot --filter stepname to create graph visualisation!
Alternative
An alternative answer I wrote before I realised we have generate_graph... we could still make it happen if we find that CLI is easier to work with.
This is partly possible with --downstream flag, though it also shows upstream dependencies (and dependencies of them).
For instance etl snapshot://aviation_safety_network/2022-10-14/aviation_statistics.csv --dry-run --force --downstream returns
Running 10 steps:
1. snapshot://aviation_safety_network/2022-10-14/aviation_statistics.csv...
2. walden://worldbank_wdi/2022-05-26/wdi...
3. snapshot://aviation_safety_network/2022-10-12/aviation_statistics_by_period.csv...
4. snapshot://aviation_safety_network/2022-10-12/aviation_statistics_by_nature.csv...
5. data://meadow/aviation_safety_network/2022-10-14/aviation_statistics...
6. data://meadow/worldbank_wdi/2022-05-26/wdi...
7. data://meadow/aviation_safety_network/2022-10-12/aviation_statistics...
8. data://garden/worldbank_wdi/2022-05-26/wdi...
9. data://garden/aviation_safety_network/2022-10-14/aviation_statistics...
10. data://grapher/aviation_safety_network/2022-10-14/aviation_statistics...

which is not that useful. Although if we had --upstream/--no-upstrem it would be possible then.

Thanks, generate_graph seems to be useful to see upstream/downstream dependencies. But what I suggested is to identify any possible outdated dependency (of any dataset). It would then be useful to be able to filter if you are only interested in a particular dataset or dependency.

Makes sense. It shouldn't be hard, we just have to get ETL graph as a dictionary and then find those outdated versions. Sounds like an "audit" of sorts. This issue https://github.com/owid/etl/issues/525 could also be part of that audit.


IOS app crash while doing payment

try {
const session = new CFSession(
res?.data?.payment_session_id,
res?.data?.order_id,
CFEnvironment.PRODUCTION
);
CFPaymentGatewayService.doWebPayment(JSON.stringify(session));
after this above method .doWebPayment my app crashed without any logs*
CFPaymentGatewayService.setCallback({
onVerify(res) {
addDataIntoFirebase(res, amount);
},
onError(error) {
toastWithIcon(Transaction Failed!);
setLoading2(false);
},
});

Try setting the callback before invoking doWebPayment

@lakshyastech Closing this issue since it is working as expected.


Fix error caused by incorrect select case statement

Which issue(s) this PR fixes:

Issue Longhorn/longhorn#8548
What this PR does / why we need it:
Special notes for your reviewer:
Additional documentation or context

Update the dependents' dependencies, especially upcoming 1.6.2.
cc @FrankYang0529

Update the dependents' dependencies, especially upcoming 1.6.2.
cc @FrankYang0529

Renovate will update
https://github.com/longhorn/longhorn-engine/pull/1098
https://github.com/longhorn/longhorn-engine/pull/1100
https://github.com/longhorn/longhorn-engine/pull/1101


Automatically declare ins variables AND buffers

ins 3:
    "var1"
    "var2" {Buffer}
    "var3"

sample:
    out1 = var1 + var2[0] + var3

Buffer ins should error out if accessed in init
Buffer can only be accessed in perform / sample

Should there be access to these variables in defs too? It would be pretty neat, but it would require passing the ins_Nim pointers around.

Merged with #100

PR at #108


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1649 ms

Resolved: Bofrost.at performance has improved in e7f0fed after 7 minutes.


Automatically visually centre the symbol

Definitely not required for a first release.

This suddenly seems quite a bit more important when adding the watchOS icons and seeing just how visually off-centre some of the symbols are:

yes please


Implement PrivateAgent

Description

Threaded is renamed into PublicAgent
Added PrivateAgent
(It's not possible to have 2 impl<AGN> Threaded for AGN with a different Reach).

Fixes #1122
Checklist

[x] I have run cargo make pr-flow
[x] I have reviewed my own code
[NA] I have added tests

Can you add docs about what a "private" agent is and what's the difference between "public" and "private" agent?

Can you add docs about what a "private" agent is and what's the difference between "public" and "private" agent?

The doc about private agent is already in master.
https://yew.rs/docs/next/concepts/agents

@futursolo In the docs we have

(TODO verify) When the task is done, the agent will disappear.

Could you confirm and edit this or you think is is out of scope for this PR?

@futursolo In the docs we have

(TODO verify) When the task is done, the agent will disappear.

Could you confirm and edit this or you think is is out of scope for this PR?

This is an old line from the docs of removed job agents. I have updated the docs.

@futursolo In the docs we have

(TODO verify) When the task is done, the agent will disappear.

Could you confirm and edit this or you think is is out of scope for this PR?

This is an old line from the docs of removed job agents. I have updated the docs.


Bingo Flashing

How about a setting to disable the flashing each time when you get something for a bingo goal? It can be very annoying when you are photo sensitive

Mawe the machine pog

Setting added to 1.9.0


show labels for all US states?

I cannot get labels to appear. My current code is:
$(document).ready(function(){
	$('#map').usmap({
	    showLabels: true,
  		stateStyles: {
  			fill: '#F0EFED',
  			'stroke': '#60605f'
  			},
  		stateHoverStyles: {
  			fill: '#d3e7fb'
  			},
        stateSpecificHoverStyles: {
            'RI': {fill: 'red'},
            'MA': {fill: 'red'}
            },

  		 // The click action
  		click: function(event, data) {
            window.open("https://someurl.com"+data.name);
		}
	});
});

Edit:
So it appears that the showLabels: true property actually refers to the block labels for the small northeastern states. By setting it to false, those labels disappear. Is there any way to show labels for the each state in the US?

Sorry, looks like there is a great patch for it here
https://github.com/DaddyMacCadillac/us-map/commit/db16541904ac5c5993d7ef040fc9053abba05c83#diff-90ecb4d62200685c1393e1ddf9e96373


[#185788882] New sqs broker

What
Added updated sqs broker.
How to review
Run into a dev env successfully.

🚨⚠ Please do not merge this pull request via the GitHub UI ⚠🚨

The sqs broker boshrelease is not required.


Structs don't copy while used as objects.

Structs don't copy while used as objects.
Steps To Reproduce
https://dotnetfiddle.net/uh5OdR
https://deck.net/5dc1e6debab8307b67d0fba58231b221/third
public static class Program
{
    public struct A { }
    public static void Function(object obj)
    {
        var obj2 = obj;
	Console.WriteLine(object.ReferenceEquals(obj, obj2) + " should equal False.");
    }
    public static void Main() => Function(new A());
}

Packed structure shouldn't be copied on assignment because it is already object. .Net sample is provided by you gives true for ReferenceEquals.

@vladsch, sorry generic.

@michaelcheers - It's best to use https://deck.net for samples.


Decouple dependency on clojars.org when building Clojars uberjar

To build Clojars the app, we need Clojars the site. This is a nasty circular dependency we need to break.
If we're trying to bootstrap a new clojars server, it stands to reason that there may not be a running one in place at the time. There are a few options here for building the app, and two main scenarios to think about: rebuilding the server from scratch when there is no Clojars server, and everyday deployments.
Use a mirror for building Clojars on the clojars server
We can set a mirror in the Leiningen config, and use this for both building from scratch, and everyday builds.
Pros:

Minimal changes to current build system required
JAR will still be built on server, simple to understand
Keeps all config in Ansible

Cons:

Relies on mirror support to work well in Leiningen
We would need to modify the clojars-web project.clj to use these mirrors; currently mirrors in profiles.clj won't work for :plugin-repositories and we need the supersport plugin.
Relies on the mirror server/block store to be available at the time we are rebuilding
Needs to download all of the JARs at build time for bootstrapping, this can take a while. On an established server this isn't likely to be as big an issue.
Takes a while to build and test the JAR
Puts some amount of load on the server

Build Clojars locally ahead of time and copy it to the server
I think @tobias is in favour of this option.
Pros:

All deps likely to be downloaded so it will be fast in all cases
Likely to be building with a machine with more resources than a VPS
Pretty simple

Cons:

Still needs a mirror available in case the main server is down
Kind of gets away from the ansible ideal (I think?) as it relies on local state to have a working build toolchain and it is managed out of band from the rest of the Ansible config. May not be as easily reproducible between different people's machines, e.g. profiles.clj differences.
Build scripts would probably need to reach out from their own folders to the other project

Build Clojars on the server ahead of time and write an artifact to S3 or similar
How this would work:

When a new version is ready, an admin would run an ansible play to build the new version on the clojars server (or optionally on a new VM in EC2, but that's probably not necessary).
Once the uberjar is built it is copied into S3 (and another redundant object store?) for deployment.
When it comes to deploy that version (either straight away, or far off in the future) it doesn't rely on any of our infrastructure being up and running.

This is my personal preference as it seems to be the most fault tolerant, however after listing the cons, I'm not so sure it's the right solution.
Pros:

Deploys from scratch are much faster as they just need to download a JAR
Possibly most fault tolerant design
Doesn't rely on a working Clojure environment on the deployers machine
Keeps everything in Ansible

Cons:

It adds a dependency on the object store
It adds additional complexity around orchestration
It adds additional complexity keeping more application secrets
Requires another account

Thoughts welcome!

I think I still prefer the simplicity of building locally, and not having the build step be handled by ansible. How about a build script in the repo that sets $LEIN_HOME to a temp dir, then writes a profiles.clj that sets :local-repo to another temp dir, then builds? That should eliminate any differences in the local environment (other than java version). It wouldn't solve the issue of bootstrapping with no repo available, but if read access to the repo isn't available for some reason, we would want to get that back up as a priority anyway before restoring the app at clojars.org.


⚠ Bofrost.lu has degraded performance

In ad9bbfe, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1088 ms

Resolved: Bofrost.lu performance has improved in 99850de.


Help! Does not work on Apple II

This is the error message displayed while running the code:

Works perfectly here, I don't know what you're doing that you shouldn't be doing.

Have you tried turning it off and on again?

NVM, I figured it out.


Update exception-handling-x64.md

#define GetExceptionDataPtr(info) \
    ((PVOID)((PULONG)GetLanguageSpecificData(info) + 1)

changed to reflect correct syntax
#define GetExceptionDataPtr(info) \
    ((PVOID)((PULONG)GetLanguageSpecificData(info) + 1))

and typedef for UBYTE has been added
typedef unsigned char UBYTE;

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

#label:"aq-pr-triaged"

Cool cool,
Just been playing with EH and noticed the docs are a little sparse. If anything else pops up ill make another pr 👍
Thanks


resolving destination service accounts to workload

Currently the traffic targets define access control rules along a set of routes between a source and destination (https://github.com/deislabs/smi-spec/blob/master/traffic-access-control.md). Since we are trying to define rules such as "A can talk to B", I understand why A translates to an identity. However, I'm curious why we're using service accounts as destinations for B, instead of the service or workload itself?
I think this becomes problematic when trying to write an adapter for istio 1.4+, which has now deprecated the destination.user constraint on ServiceRole and the guidance is to migrate to workload selectors. These are simply pod selectors that may only conventionally encode service account info. In figuring out how to implement the controller for the SMI istio adapter on istio 1.4+, we'll need to either translate the service account in the target destination to a service, or translate it to a label selector -- I think this may be challenging in general. Here's how I discovered the issue, and the corresponding istio issue:
SMI adapter issue:
https://github.com/deislabs/smi-adapter-istio/issues/70
Istio bug fix + discussion about path forward:
https://github.com/istio/istio/pull/17430
Istio workload selector:
https://github.com/istio/api/blob/1187adbd148251b20e7cd8e91f73ebcc09ac7ef1/type/v1beta1/selector.proto

How does something like this look?
kind: TrafficTarget
apiVersion: access.smi-spec.io/v1alpha1
metadata:
  name: path-specific
  namespace: default
destination:
  kind: Service
  name: service-a
  namespace: default
  port: 8080
specs:
- kind: HTTPRouteGroup
  name: the-routes
  matches:
  - metrics
sources:
- kind: ServiceAccount
  name: prometheus
  namespace: default

If I remember correctly, there were implementation details at the last moment with Consul that made implementing something like this more difficult.
I dislike the destination requiring a service account personally and would love to revision the spec. This has the potential for being a little verbose when creating policies that span multiple services, but it probably isn't any more verbose than roles and rolebindings.

I like this. I think the service ref is much more intuitive here, curious what made it tricky for Consul.
We could consider a service selector or a list of destinations reduce verbosity.

Going through the git history, it was originally something more like:
selector:
  matchLabels:
    app: foo

Which would reduce verbosity, but I think it makes it harder to reason about what's going on. As service discovery happens on the Service level in k8s and TrafficSplit uses services natively, it feels like the right level of abstraction.

Makes sense and agreed - much prefer things to be explicit, particularly on things affecting authorization.

Didn't we not originally bounce the proposal of using labels as it was inherently insecure. Service accounts can be controlled using RBAC however I am not sure adding metadata can?

@nicholasjackson can't you add arbitrary service accounts to pod specs?

Discussed in the community meeting 1/8/20 - no real update yet. Related to discussion of how to extend the mesh to non-kubernetes VMs, and using service accounts is a very kube-specific abstraction. Related - Avinash also setting up a proposal for non-service account based representation of identity in the spec. Extending the mesh with istio is a good place to start looking at this.

Related proposal in #105


build: release candidate

Description

List of changes

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


normalize line endings to LF

add settings in .gitattributes to normalize line endings based on the attribute
re-add files that aren't normalized

Coverage remained the same at 79.016% when pulling c56d80fd707c4ec067d98777411c2a2d712c4431 on rrojo/use-eol-lf into f5fe1f6c086ea6a461425ac7920d908702248971 on master.


Homebridge cannot connect on raspberry pi when ethernet & wifi connected

Expected Behavior
I'm running homebridge on a raspberry pi 3 with a wifi bridge to ethernet. If I leave my ethernet port disconnected and only have wifi connected homebridge runs fine and I can add homebridge perfectly from homekit. In my previous install I had this setup working fine with a network bridge and homebridge on the raspberry pi.
Current Behavior
After a clean install of Rasbian and homebridge if I connect a device to the ethernet port I am not able add homebridge from my device. If I disconnect the device on the ethernet port and I restart my homebridge instance I can detect homebridge from homekit. I also noticed that if I start homebridge before connecting the ethernet device homebridge can still communicate with homekit if I connect the ethernet device afterwards it will work for a few seconds before being unable to connect.
** Update **
I've since tested a done a clean install of rasbian without any network bridge setup. And it seems like the issue still occurs as long as I have a device connected to eth0. I suspect somehow once something is plugged into eth0 homebridge does not use the correct network adaptor somehow?
Steps to Reproduce (for bugs)

Setup wifi to ethernet bridge on raspberry pi
Connect a device over ethernet
Start homebridge

Versions

Homebridge: 0.4.44
Node:       v8.11.3
OS:         Raspbian stretch Linux raspberrypi 4.14.52-v7+ #1123 SMP Wed Jun 27 17:35:49 BST 2018 armv7l GNU/Linux

Configuration
Sample configuration with a single dummy switch for testing
{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:22:3D:E3:CE:30",
        "port": 51826,
        "pin": "031-45-154"
    },

    "description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",

    "accessories": [
        {
          "accessory": "DummySwitch",
          "name": "My Switch 1"
        }
    ],

    "platforms": [
    ]
}

Homebridge Log / Command Output
There is no output after the standard homebridge start messages when ethernet device is connected

Update. So narrowed down the problem. Something changed between homebridge version 0.4.38 and 0.4.39 causes an issue seen here. Looking at the commit history the only commit that I can see change anything is "Fix Node v10 support" made by @KhaosT on May 5th.
I don't quite understand what this commit does but maybe someone else can explain why the changes in that commit would cause this issue?

I had the same issue recently, but I fixed it by upgrading the both Homebridge and HAP-NodeJS to the latest version.


Fix reading from ZlibInputStream with exact buffer size

Thanks! Especially good to have more (previously) failing test cases for this code, which used to be quite brittle due to zlib's awful and badly documented API.


Version 1.0

Hello @cdgriffith! Thanks for submitting the PR.

There are no PEP8 issues in the file box.py !

There are no PEP8 issues in the file setup.py !

In the file test/test_box.py, following are the PEP8 issues :

Line 37:80: E501 line too long (85 > 79 characters)
Line 73:48: E127 continuation line over-indented for visual indent


nixos/paperless: Add database.isRemote option

When the database is on another host, unit isolation for the document consumer has to be disabled.
Things done
Using this in a local setup.

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@leona @SuperSandro2000 @erikarvstedt

@ofborg test paperless

Presumably this is incompatible with dabase.createLocally?

I won't accept a new option for this. How about we make it conditional on the local database option added in #359563 ?

Updated. PTAL.


After GitFlow -> Init in "GitFlow" available only "Init" until restart VS.

I tried Init several times and each time was required to restart Visual Studio to gain access to the functions of GitFlow.

Please try this version:
TGit_3.7.4.zip

Tried 3.8, bug still exists.

Weird 3.8 has the 3.7.4 changes included. Will look into it some more

Please try this version TGit_3.8.1.zip

Works fine.

Awesome :D


Re-exports with PackageImports are not hyperlinkt

Steps to reproduce:
$ haddock --version
Haddock version 2.15.0, (c) Simon Marlow 2006
Ported to use the GHC API by David Waern 2006-2008

-- foo.cabal
name: foo
version: 0.0.0
build-type: Simple
cabal-version: >= 1.8

library
  exposed-modules: Foreign
  build-depends: base

-- Foreign.hs
{-# LANGUAGE PackageImports #-}
module Foreign (module Foreign) where
import "base" Foreign

$ cabal haddock

Expected result
dist/doc/html/foo/Foreign.html links to the module documentation of Foreign of base.
Actual result
The documentation is empty.

should be resolved by #688


Add gravity attribute.

Add gravity attribute. (Gravity is Android-like)
Types are Top, Center, and Bottom.

:+1:

:+1:

:+1:

I think we should align toasts for .Center.


Remove log for sia lib to fix athenz cert check

Example output for Athenz cert check:
2023/02/01 18:08:29 Group athenz id: 10952
2023/02/01 18:08:29 Group athenz id: 10952
{"application":"athenz-cert-check","status_code":0,"status_msg":"All Certificates are valid"}
which will be invalid for yamas. Removing this log to fix the issue above
Signed-off-by: Ding Ma<EMAIL_ADDRESS>

this is already included as part of my PR