Installation: electron builder and errorOut=ERR! sharp 'linux-x64' binaries cannot be used on the 'linux-ia32' platform

Hello!
I'm trying to build my electron app using electron-builder on github actions (Ubuntu ia32) and I get
2020-06-18T13:14:46.0860757Z   • rebuilding native dependency  name=sharp version=0.25.4
2020-06-18T13:14:51.8297776Z   ⨯ cannot execute  cause=exit status 1
2020-06-18T13:14:51.8311067Z                     out=$ (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
2020-06-18T13:14:51.8312390Z     make: Entering directory '/home/runner/work/desktop/desktop/node_modules/sharp/build'
2020-06-18T13:14:51.8315505Z       CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
2020-06-18T13:14:51.8316562Z       AR(target) Release/obj.target/../node-addon-api/nothing.a
2020-06-18T13:14:51.8317151Z       COPY Release/nothing.a
2020-06-18T13:14:51.8355648Z       TOUCH Release/obj.target/libvips-cpp.stamp
2020-06-18T13:14:51.8356498Z       CXX(target) Release/obj.target/sharp/src/common.o
2020-06-18T13:14:51.8357337Z     sharp.target.mk:137: recipe for target 'Release/obj.target/sharp/src/common.o' failed
2020-06-18T13:14:51.8358463Z     make: Leaving directory '/home/runner/work/desktop/desktop/node_modules/sharp/build'
2020-06-18T13:14:51.8362353Z     info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-06-18T13:14:51.8362669Z
2020-06-18T13:14:51.8363437Z                     errorOut=ERR! sharp 'linux-x64' binaries cannot be used on the 'linux-ia32' platform. Please remove the 'node_modules/sharp' directory and run 'npm install' on the 'linux-ia32' platform.
2020-06-18T13:14:51.8364024Z     info sharp Attempting to build from source via node-gyp but this may fail due to the above error
2020-06-18T13:14:51.8364330Z     info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
2020-06-18T13:14:51.8364614Z     gyp info it worked if it ends with ok
2020-06-18T13:14:51.8364906Z     gyp info using<EMAIL_ADDRESS>2020-06-18T13:14:51.8365112Z     gyp info using<EMAIL_ADDRESS>| linux | x64
2020-06-18T13:14:51.8365341Z     gyp info find Python using Python version 2.7.17 found at "/usr/bin/python"
2020-06-18T13:14:51.8365802Z     gyp http GET https://electronjs.org/headers/v9.0.2/node-v9.0.2-headers.tar.gz
2020-06-18T13:14:51.8366258Z     gyp http 200 https://electronjs.org/headers/v9.0.2/node-v9.0.2-headers.tar.gz
2020-06-18T13:14:51.8366558Z     gyp http GET https://electronjs.org/headers/v9.0.2/SHASUMS256.txt
2020-06-18T13:14:51.8366824Z     gyp http 200 https://electronjs.org/headers/v9.0.2/SHASUMS256.txt
2020-06-18T13:14:51.8367038Z     gyp info spawn /usr/bin/python
2020-06-18T13:14:51.8367211Z     gyp info spawn args [
2020-06-18T13:14:51.8367868Z     gyp info spawn args   '/opt/hostedtoolcache/node/12.18.0/x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
2020-06-18T13:14:51.8368306Z     gyp info spawn args   'binding.gyp',
2020-06-18T13:14:51.8368807Z     gyp info spawn args   '-f',
2020-06-18T13:14:51.8369124Z     gyp info spawn args   'make',
2020-06-18T13:14:51.8369457Z     gyp info spawn args   '-I',
2020-06-18T13:14:51.8369889Z     gyp info spawn args   '/home/runner/work/desktop/desktop/node_modules/sharp/build/config.gypi',
2020-06-18T13:14:51.8370210Z     gyp info spawn args   '-I',
2020-06-18T13:14:51.8370676Z     gyp info spawn args   '/opt/hostedtoolcache/node/12.18.0/x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
2020-06-18T13:14:51.8371013Z     gyp info spawn args   '-I',
2020-06-18T13:14:51.8371429Z     gyp info spawn args   '/home/runner/.electron-gyp/9.0.2/include/node/common.gypi',
2020-06-18T13:14:51.8371787Z     gyp info spawn args   '-Dlibrary=shared_library',
2020-06-18T13:14:51.8372134Z     gyp info spawn args   '-Dvisibility=default',
2020-06-18T13:14:51.8372554Z     gyp info spawn args   '-Dnode_root_dir=/home/runner/.electron-gyp/9.0.2',
2020-06-18T13:14:51.8373051Z     gyp info spawn args   '-Dnode_gyp_dir=/opt/hostedtoolcache/node/12.18.0/x64/lib/node_modules/npm/node_modules/node-gyp',
2020-06-18T13:14:51.8373496Z     gyp info spawn args   '-Dnode_lib_file=/home/runner/.electron-gyp/9.0.2/<(target_arch)/node.lib',
2020-06-18T13:14:51.8373932Z     gyp info spawn args   '-Dmodule_root_dir=/home/runner/work/desktop/desktop/node_modules/sharp',
2020-06-18T13:14:51.8374291Z     gyp info spawn args   '-Dnode_engine=v8',
2020-06-18T13:14:51.8374613Z     gyp info spawn args   '--depth=.',
2020-06-18T13:14:51.8374892Z     gyp info spawn args   '--no-parallel',
2020-06-18T13:14:51.8375363Z     gyp info spawn args   '--generator-output',
2020-06-18T13:14:51.8375684Z     gyp info spawn args   'build',
2020-06-18T13:14:51.8376049Z     gyp info spawn args   '-Goutput_dir=.'
2020-06-18T13:14:51.8376237Z     gyp info spawn args ]
2020-06-18T13:14:51.8376411Z     gyp info spawn make
2020-06-18T13:14:51.8376789Z     gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
2020-06-18T13:14:51.8377180Z     In file included from ../vendor/lib/glib-2.0/include/glibconfig.h:9:0,
2020-06-18T13:14:51.8377577Z                      from ../vendor/include/glib-2.0/glib/gtypes.h:32,
2020-06-18T13:14:51.8377972Z                      from ../vendor/include/glib-2.0/glib/galloca.h:32,
2020-06-18T13:14:51.8378346Z                      from ../vendor/include/glib-2.0/glib.h:30,
2020-06-18T13:14:51.8378791Z                      from ../vendor/include/glib-2.0/gobject/gbinding.h:28,
2020-06-18T13:14:51.8379208Z                      from ../vendor/include/glib-2.0/glib-object.h:22,
2020-06-18T13:14:51.8379441Z                      from ../vendor/include/vips/vips8:35,
2020-06-18T13:14:51.8379661Z                      from ../src/common.cc:23:
2020-06-18T13:14:51.8380143Z     ../vendor/include/glib-2.0/glib/gtypes.h: In function ‘gboolean _GLIB_CHECKED_ADD_U64(guint64*, guint64, guint64)’:
2020-06-18T13:14:51.8380632Z     ../vendor/include/glib-2.0/glib/gmacros.h:742:31: error: static assertion failed: Expression evaluates to false
2020-06-18T13:14:51.8380887Z      #define G_STATIC_ASSERT(expr) static_assert (expr, "Expression evaluates to false")
2020-06-18T13:14:51.8381099Z                                    ^
2020-06-18T13:14:51.8381559Z     ../vendor/include/glib-2.0/glib/gtypes.h:463:3: note: in expansion of macro ‘G_STATIC_ASSERT’
2020-06-18T13:14:51.8381800Z        G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64));
2020-06-18T13:14:51.8381993Z        ^~~~~~~~~~~~~~~
2020-06-18T13:14:51.8382156Z     At global scope:
2020-06-18T13:14:51.8382592Z     cc1plus: warning: unrecognized command line option ‘-Wno-cast-function-type’
2020-06-18T13:14:51.8382826Z     make: *** [Release/obj.target/sharp/src/common.o] Error 1
2020-06-18T13:14:51.8383235Z     gyp ERR! build error
2020-06-18T13:14:51.8383737Z     gyp ERR! stack Error: `make` failed with exit code: 2
2020-06-18T13:14:51.8384782Z     gyp ERR! stack     at ChildProcess.onExit (/opt/hostedtoolcache/node/12.18.0/x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2020-06-18T13:14:51.8385271Z     gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
2020-06-18T13:14:51.8385581Z     gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
2020-06-18T13:14:51.8386005Z     gyp ERR! System Linux 5.3.0-1028-azure
2020-06-18T13:14:51.8386679Z     gyp ERR! command "/opt/hostedtoolcache/node/12.18.0/x64/bin/node" "/opt/hostedtoolcache/node/12.18.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-06-18T13:14:51.8386977Z     gyp ERR! cwd /home/runner/work/desktop/desktop/node_modules/sharp
2020-06-18T13:14:51.8387407Z     gyp ERR! node -v v12.18.0
2020-06-18T13:14:51.8387779Z     gyp ERR! node-gyp -v v5.1.0
2020-06-18T13:14:51.8388135Z     gyp ERR! not ok
2020-06-18T13:14:51.8416932Z     error Command failed with exit code 1.
2020-06-18T13:14:51.8417189Z
2020-06-18T13:14:51.8417463Z                     command=/opt/hostedtoolcache/node/12.18.0/x64/bin/node /usr/share/yarn/bin/yarn.js run install
2020-06-18T13:14:51.8417729Z                     workingDir=/home/runner/work/desktop/desktop/node_modules/sharp
2020-06-18T13:14:51.8578425Z Error: Command failed: npx --no-install electron-builder --linux
2020-06-18T13:14:51.8578721Z     at checkExecSyncError (child_process.js:630:11)
2020-06-18T13:14:51.8578919Z     at execSync (child_process.js:666:15)
2020-06-18T13:14:51.8579133Z     at run (/home/runner/work/desktop/desktop/scripts/utils.js:5:3)
2020-06-18T13:14:51.8579626Z     at /home/runner/work/desktop/desktop/scripts/ci-build.js:81:5 {
2020-06-18T13:14:51.8579991Z   status: 1,
2020-06-18T13:14:51.8580144Z   signal: null,
2020-06-18T13:14:51.8580308Z   output: [ null, null, null ],
2020-06-18T13:14:51.8580469Z   pid: 6028,
2020-06-18T13:14:51.8580627Z   stdout: null,
2020-06-18T13:14:51.8580782Z   stderr: null
2020-06-18T13:14:51.8580940Z }
2020-06-18T13:14:51.8847030Z error Command failed with exit code 1.
2020-06-18T13:14:51.8850938Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-06-18T13:14:51.8995161Z ##[error]Process completed with exit code 1.
2020-06-18T13:14:51.9056013Z Post job cleanup.
2020-06-18T13:14:52.0327970Z [command]/usr/bin/git version
2020-06-18T13:14:52.0391327Z git version 2.27.0
2020-06-18T13:14:52.0436876Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2020-06-18T13:14:52.0482558Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2020-06-18T13:14:52.0752526Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2020-06-18T13:14:52.0781871Z http.https://github.com/.extraheader
2020-06-18T13:14:52.0792882Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2020-06-18T13:14:52.0830801Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2020-06-18T13:14:52.1179653Z Cleaning up orphan processes
2020-06-18T13:14:52.1575434Z Terminate orphan process: pid (6049) (node)
2020-06-18T13:14:52.1600832Z Terminate orphan process: pid (6071) (sh)
2020-06-18T13:14:52.1620988Z Terminate orphan process: pid (6105) (node)
2020-06-18T13:14:52.1642238Z Terminate orphan process: pid (6245) (sh)
2020-06-18T13:14:52.1660851Z Terminate orphan process: pid (6246) (sh)
2020-06-18T13:14:52.1679500Z Terminate orphan process: pid (6247) (node-gyp)
2020-06-18T13:14:52.1700034Z Terminate orphan process: pid (6296) (make)
2020-06-18T13:14:52.1723482Z Terminate orphan process: pid (6394) (cc)
2020-06-18T13:14:52.1742660Z Terminate orphan process: pid (6402) (cc1)

Node: 12
Electron: 9.0.2
Electron-Builder: 22.7.0

Prebuilt binaries are not provided for 32-bit (x86, ia32) Linux.
https://sharp.pixelplumbing.com/install#prebuilt-binaries
The log above mentions 64-bit (x64) so you may want to check your build environment:

2020-06-18T13:14:51.8365112Z     gyp info using<EMAIL_ADDRESS>| linux | x64

@lovell Is there a way to build for 32-bit on a Linux 64-bit machine? I had similar problem with building better-sqlite3 but it was enough to just install g++-multilib.

If you're cross-compiling then libvips and its dependencies will be required too, plus you'll need to work out how to bundle all these shared libraries with electron (e.g. you might need to compile it from source also).
This is not going to be a straightforward task - good luck!

Thanks for your help @lovell.


Migrations for annotation changes

EF7 allows adding provider-specific traits to various entities - SqlServer has Clustered indices for example.
Does the migrations model differ handle alterations in such provider-specific traits, e.g. if an index becomes Clustered? I have no idea if this kind of change is actually supported in SqlServer, but I definitely have some examples of PostgreSQL-specific traits that can be altered (e.g. a table's tablespace).

If you provide an implementation of MigrationsAnnotationProvider, those annotations will be diffed.
You will run into one issue, however: We don't currently have an AlterTableOperation to capture changed annotations on the entity type level.

That's good news, thanks @bricelam. Do you mean that for anything other than table (e.g. column) I can access the annotations diff? Could you point out how that's done (am not seeing anything like that in MigrationOperation, Annotatable...)

You won't get a diff, but you'll get an alter operation with the new value.

OK, thanks for the clarification. Getting just the new value is insufficient for at least some cases - the old value may be necessary to generate the alteration SQL etc.
Just want to stress this isn't a critical issue or anything (definitely not RTM), just raising this so it's treated at some point.

Retrieving the old value could be enabled by #1911

Closing since I think the the work for this is already tracked by #1911.

FYI, @roji, @AndriySvyryd is going to add AlterDatabase and AlterTable operations that will be generated when annotations on the model and entity types are changed.
I'm going to re-open this issue since it's a new feature that just happens will get implemented as part of #6405.

Note: The old annotations are now also available on AlterColumnOperation.


How to chage first route function to the second one?

Edited
When I set a routes. It set an object under app. It is app.router and app.router.stack
How can I use it?

Before
I tried to code express in node.
H:/NodeJS/web > node
> var express = require("express");
> var app = express();
> var app_listen = app.listen(1056);
> app.get("/*", function(req, res, next){res.send("sample 1");});

while i tried in browser it gave me "sample 1". Then I tried to code it again
> app.get("/*", function(req, res, next){res.send("sample 2");});

And, went I tried access it. It still gave me "sample 1".
How can I change the first function to the second one?
Thank you.

Routes are matches in the order that they are added, and since your first route catches everything (the * part) none of the other routes will be called. Maybe you want to do something like this:
var express = require('express')
var app = express()
var appListen = app.listen(1056)
app.get('/page1', function (req, res, next){ res.send('sample 1') })
app.get('/page2', function (req, res, next){ res.send('sample 2') })

This will respond with "sample 1" when navigating to http://localhost:1056/page1, and "sample 2" when navigating to http://localhost:1056/page2.

Nope. I'm doing it right.
Ok, I changed my script
H:/NodeJS/web > node
> var express = require("express");
> var app = express();
> var app_listen = app.listen(1056);
> app.get("/enterthis", function(req, res, next){res.send("sample 1");});

that was my script. And while I accessed it, browser return "sample 1"
and i want to make a new one with same route
> app.get("/enterthis", function(req, res, next){res.send("sample 2");});

And while I accessed the browser, It still gave me "sample 1". While I want it return "sample 2" to me.

You cannot do this with how Express is designed. Once you add a route you cannot remove it and simply adding a similar route won't replace an existing route.

why cant?

You just saw above how you couldn't replace the route and there are no methods to do so. Someone would need to add the feature to the code so you could use it.

ok. thank you.


rebuild and add noarch: python

This PR closes #2 and #1

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

Whenever possible python packages should use pip. See https://conda-forge.org/docs/meta.html#use-pip

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/pydstool This PR is ready to merge and closes the outstanding issues on the feedstock. It is needed for the rebuild!

Bump here @conda-forge/pydstool


Bugs in cudarray/cudarray/numpy_backend/nnet/lrnorm_bc01.pyx

In line 47: why is it "range(N+1)"? if we pad "half" number of 0 in both ends, then it should be "range(tailLength)".
in line 79: inline function "addToNormWindow" doesn't seem to update the variable "norm_window". I verified it by printing out its value.
Thanks
Reference: decaf implementation
https://github.com/UCB-ICSI-Vision-Group/decaf-release/blob/master/decaf/layers/cpp/local_response_normalization.cpp

Thank you for going throught the code so thoroughly. It's pretty buggy and I think it's better to remove it completely. I don't have time to implement it at the moment. I'm sorry for the trouble.
Of course, a PR is always welcome! :)


Use version and additional columns for crds

Codecov Report

Merging #1183 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1183      +/-   ##
=========================================
- Coverage    3.42%   3.41%   -0.01%
=========================================
  Files         105     105
  Lines       21515   21548      +33
=========================================
  Hits          736     736
- Misses      20651   20684      +33
  Partials      128     128

Impacted Files
Coverage Δ

pkg/server/server.go
12.08% <ø> (+0.13%)
:arrow_up:

apis/voyager/v1beta1/crd.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


ModuleNotFoundError: No module named 'pysnmp.entity.rfc3413.oneliner'

Expected behavior
I expected that module can be imported.
It's based on commit abce4e005e886551347509092e354371a1d66a6a
>>> import pysnmp
>>> import pysnmp.entity.rfc3413
>>> import pysnmp.entity.rfc3413.oneliner
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pysnmp.entity.rfc3413.oneliner'
Actual behavior
Based on this commit, oneliner should be present.
commit abce4e005e886551347509092e354371a1d66a6a
Author: Lex Li<EMAIL_ADDRESS>Date:   Fri Mar 8 22:22:25 2024 -0500
    Added sync oneliner back.
A       pysnmp/entity/rfc3413/oneliner/__init__.py
A       pysnmp/entity/rfc3413/oneliner/cmdgen.py
A       pysnmp/entity/rfc3413/oneliner/ntforg.py
Detailed steps
Use pip to install pysnmp, go to python interactive mode and try to import module pysnmp.entity.rfc3413.oneliner.
Python package information
pip     24.2
Operating system information
Red Hat or Oracle Linux 7
Python information
Python 3.10.4
(Optional) Contents of your test script
No response
Relevant log output
No response

Deleted again in release 6.2. No plan to bring them back.


blank fields in "openssl req" subj argument will fail the command for older openssl versions.

It looks order openssl versions will throw errors if some fields in the subj arguments are blank.
https://github.com/kubernetes-incubator/apiserver-builder/blob/master/cmd/apiserver-boot/boot/build/build_resource_config.go#L182
https://github.com/kubernetes-incubator/apiserver-builder/blob/master/cmd/apiserver-boot/boot/build/build_resource_config.go#L196
The issue, https://github.com/minio/minio/issues/3903, in another project suggests a solution.
I have verified -subj /C=un/ST=st/L=l/O=o/OU=ou/CN=%s-certificate-authority works.

@yaxinlx Cool.  Want to file a fix?

submitted a pr.


NinePatchRect editor is useless

Godot version:
3.1.1
Issue description:
This is what you see when you set right/bottom margin to some value:

You can move the lines with mouse, cool, but why right margin doesn't move from right border? Right now it start from the left and you move it outside the texture. That's not helpful at all.

I've noticed NinePatchRect has issues in 3.1.1 when going through a Godot course.
I've seen this issue and also ran into a scale issue when attempting to go through a tutorial.
I'd report my issue here, but often get trolled.

I just found out that there's a similar editor for StyleBoxTexture and it does lines correctly, but doesn't sync correctly with the inspector.

So yeah, this is a bug.


The performance of Video Swin Transformer Base as a backbone on the Ref-Youtube-VOS dataset without pretraining on RefCOCO

Thank you for sharing such excellent work. I would like to ask if you have tested the Video Swin Transformer Base as a backbone on the Ref-Youtube-VOS dataset without pretraining on RefCOCO? The results I obtained using your code seem to be similar to those with Video Swin Tiny.
I'm unsure of the cause. It's possible there are some bugs, or the Ref-Youtube-VOS dataset might be too small for effectively fine-tuning the Video Swin Transformer Base.
Thank you for your attention!

We did not conduct experiments with the Video-Swin-Base without pre-training on RefCOCO. So sorry that I cannot answer your question. It's possible that the small size of Ref-Youtube-VOS is the main factor.

thanks！


convoy-volume-ebs?

Rancher Version:
ros version v0.4.5
Docker Version:
Docker version 1.10.3, build 20f81dd
OS and where are the hosts located? (cloud, bare metal, etc):
ros version v0.4.5, on AWS EC2
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
2 nodes rancher, external DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
N/A
Results:
N/A
Expected:
N/A
Not an issue, but a request for improvement: is there a plan to develop convoy-volume-ebs? I use convoy with ros, but it would be great to have a system stack for this. I've tried to set it up, but convoy only accept gluster, nfs or loghorn.

+1

+1 as well -- if you'd prefer us to use the emoji additions on the initial issue instead of littering the issue with comments, just let us know!

+1

+1

See rancher-ebs catalog item for 1.2.x.


test: add integration test for del

Issue #, if available:
#143
Description of changes:
I have added the test for dy del because the test is nothing.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

All discussions are resolved. And It seems good to me. I will merge this PR. Thank you for your patience of my delay in the review.


bump PyYAML to 5.1 for CVE-2017-18342

PyYAML 5.1 was released a few days ago. Hopefully this alleviates the concerns that were raised with using the beta release (4.1b).
I've reverted the security note that was added as well, as it no longer applies.
Backwards incompatible changes are listed here : https://github.com/yaml/pyyaml/issues/265

@p1c2u What about releasing a new version containing this security patch?


Question: Ignoring ReturnUrl Parameter

Hi,
if a user clicks a link and he is not authenticated (options.aspx for example) the wsfederation module redirect the user to the sts where the user is authenticated.  So far so good.
I put the reply attribute with a valid value in the web.config at the RP. For example http://www.localhost:82828/login/landing.aspx. If authentification is successful the user is redirected to the landing.aspx from the STS. But before the page is hit the wsfederation module  jumps in and initiate another redirect that i don't want. It's redirecting to options.aspx .
I evaluate that in the wctx Paramter a return url is encoded (ru param). In my example options.aspx. How can i prevent the wsfederation module from redirecting the request to options.aspx? I will always a redirection to landing.aspx.
Thank you!

Sorry . this is not about identityserver. Please use SO or some Microsoft forum.

Thank you,
i have  made post at SO: http://stackoverflow.com/questions/39116542/ignoring-returnurl-parameter-in-wif-wsfederation .


[RFC][Backend] RFC-CSI-NN2-Integration

Introduce CSI-NN2 Compute Library into TVM to accelerate the inference performance of RISC-V CPU with Vector Extension.
@areusch

This is fantastic, thank you! We're excited to hear about the results for MLPerf. My main comment is mostly concerned about documentation. I'm glad the build instructions are included with the RFC, but I'd like to see the inclusion of documentation about how to configure, build, and use the platform be explicitly updated and included.

This is fantastic, thank you! We're excited to hear about the results for MLPerf. My main comment is mostly concerned about documentation. I'm glad the build instructions are included with the RFC, but I'd like to see the inclusion of documentation about how to configure, build, and use the platform be explicitly updated and included.

Thanks for comments.  we provide a documentation in PR for TVM. But I'm not sure whether these contents need to be completely written in RPC

ok, then for CI do you plan to e.g. expand our ci_qemu Docker image to additionally contain this custom qemu? (this involves committing a change to docker/, then pinging a committer to update the version of the image used)

Thanks for advice, we will add it. but I have no experience about this. Is there any relevant process?

@alter-xp we have some:

about the CI environment: https://tvm.apache.org/docs/contribute/pull_request.html#ci-environment
about building docker containers locally: https://github.com/apache/tvm/blob/main/docker/README.md

we need to write that up :/
the basics are:

submit a PR which only modifies docker/ scripts. the CI will rebuild docker containers and then run through using the newly-rebuilt containers.
ping a committer to publish the built images to the tlcpack dockerhub org
submit another PR which modifies jenkins/Jenkinsfile.j2 (and run generate.py there to modify Jenkinsfile) to reference the newly-pushed containers. you can also add tests which depend on the newly-added dependencies here.

@areusch Thanks a lot. let me update the image.

thanks @alter-xp, the PR is now merged! please open an RFC tracking issue and list out the PRs we can expect there, then we can proceed on the CI changes.

@areusch  a tracking issue is ready. I will keep updating it.


Update VS Code extension lombok to v1.18.24

VS Code is showing a dialog to ask to update to the new version.

The latest version of the VS Code extension for lombok is v1.0.1. Was VS Code actually suggesting to update the lombok library itself? Waiting for VS Code to show the dialog again.


Assist for sorting struct/enum field/variants by name

As the title suggests, I think it would be nice to have an assist to offer to sort struct fields/enum variants via their names, e.g.
struct Foo {
    qux: u8,
    bar: i32,
}

becomes
struct Foo {
    bar: i32,
    qux: u8,
}

Thoughts?

One option too would be to prevent the assist from displaying if the struct or enum is #[repr(C)] or anything where the ordering effects layout in a specified way

N.B. #[derive(Ord)] is also something that is sensitive to reordering.

Ah, good point, didn't think of that :) Probably worth compiling a list of that sort of stuff and see if its reasonable to actually implement this in the first place.

Not sure this is really needed: there's "sort lines" action in most editors anyway.

In general (but this is subjective of course, your taste might be different) I dislike alphabetic ordering of things, and prefer a semantic based one: put important public things first, put related things
next to each other, put helper implementation details last


Generating calculus.py

Hi folks,
Do we need to include all the functions from Task 1 and Task 2 in calculus.py?

@Mosaddeq107 I did that which is still in pending to be accepted by the maintainer.

@Mosaddeq107 I did that which is still in pending to be accepted by the maintainer.

Now, your request has been accepted.

Thanks for your suggestions

cool


Incorrect days availability if startTime and endTime hava few days in difference

I'm using version 4.2.0 of the react-schedule-meeting component and encountering an issue with days availability when setting startTime and endTime with a few days in difference. Specifically, if I set startTime as 02.18.2024T00:00:00.000 and endTime as 02.22.2024T00:00:00.000, the ScheduleMeeting component only shows available days for 02.18.2024 and 02.22.2024. Days in between (19th, 20th, and 21st of February) are marked as unavailable. Additionally, clicking on 02.22.2024 reveals no available slots.
Expected Behavior:
I expect the ScheduleMeeting component to display available days for 18th, 19th, 20th, and 21st of February, and exclude 22nd of January from being highlighted as available.
Impact:
This issue is critical for our workflow as it prevents us from utilizing the ScheduleMeeting component as intended, impacting user experience and scheduling functionality.
Reproduction Steps:
Set startTime as 02.18.2024T00:00:00.000 and endTime as 02.22.2024T00:00:00.000.
Observe the displayed availability of days in the ScheduleMeeting component.
Workaround:
As a temporary workaround, we've implemented a transformation of the available time model to include extra intervals for days in between. However, this solution is not ideal and we seek a resolution from the maintainers.
This issue is critical for our use case, and we kindly request prompt attention and resolution from the maintainers.

Okay Alexander prompt attention and resolution will be on the top of my after-work priority list for the day, just for you. You'd be expecting timeslots to show up essentially 24hrs per day?

Dear Tyler,
Thank you for your prompt attention to this matter.
Yes, you understand correctly. I expect to have timeslots available throughout all days between the startTime and endTime parameters.
In the example I provided, where there are days in between such as the 19th, 20th, and 21st of February, I anticipate having 24 timeslots available per day, assuming an eventDurationInMinutes = 60.
Your assistance in resolving this issue is greatly appreciated.

4.2.1 should resolve this issue and it has just been published. You can see the commit changes here: https://github.com/TylerAHolden/react-schedule-meeting/commit/41ba0e4d55cc061b2a0cccce2598e0af354cc2be
Let me know if that doesn't work for you.

Dear Tyler,
Thank you for your prompt attention and assistance in resolving the main issue. Your efforts are greatly appreciated.
While the main issue has been resolved and I can now see available slots in between, I've noticed a minor issue that I previously described.
Specifically, when I pass the time range from 2/15/2024T0:00:00.000 to 2/18/2024T0:00:00.000, I expect to see the dates 15th through 17th of February highlighted as available, with the 18th of February not highlighted as available. However, currently, the 18th of February is shown as available, and upon clicking it, it displays "No times available".
Your attention to this matter is greatly appreciated.

Alright Alexander, check out 4.2.2 just released - should be good this time.

Tyler,
Thank you so much for your swift action and for releasing version 4.2.2! I truly appreciate your dedication and commitment to addressing the issue promptly. I'll be sure to check out the latest release and provide feedback if needed. Your assistance is greatly valued.


Add two new number theory functions to the Integer trait

Made as a part of issue #202
This PR adds two methods to the Integer trait. The first is modular exponentiation (pow_mod). The second is multiplicative inverse modulo (inverse_mod).
I'd appreciate some scrutiny on my big int implementations of these functions. Although they pass all the tests, I'm sure there are optimizations to be made to avoid unnecessarily making copies of numbers, etc.

There seems to be quite a bit of code duplication with regards to Euclid's algorithm to calculate the GCD. It would be nice to have that as a separate function, because it can be useful on its own. Also it would make it easier to replace with a more efficient binary algorithm.

Unfortunately, the GCD calculation is inseparable from the multiplicative inverse calculation. We're not merely calculating the GCD in order to verify that an inverse exists, the inverse calculation is an "addition" to the euclidean algorithm: https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm

You can implement the extended Euclidean algorithm as a separate function. See my take on implementing the modular power and inverse.

Definitely - I decided not to so that we aren't doing the extra work of computing the other coefficient. If you think it's a better idea to compute it and ignore it in the name of cleaner code I'd be happy to do that.
If we go that route, how should we handle unsigned numbers with the extended euclidean algorithm? It commonly returns negative numbers. Should we just not implement it for unsigned numbers?

You could also have a function that does not calculate the second coefficient. If you want to go full DRY, you could use a macro and dead code elimination.
I think for unsigned numbers Euclid's extended algorithm only makes sense if you implent it for modular numbers only.

If we're not implementing it for unsigned types, then it obviously can't be a method on the Integer trait. Where do you think it should go instead?

I would definitely like to include unsigned types for pow_mod and inverse_mod, even if that means it can't use a "pure" version of extended GCD.

:umbrella: The latest upstream changes (presumably #207) made this pull request unmergeable. Please resolve the merge conflicts.

Closing because I'm getting the vibe this isn't acceptable without pretty big changes


Add Sweep Upgrade

Currently, the player has to tap once every time they want to collect a bit. With the sweep upgrade, they should be able to tap, hold, and drag a "broom" or vortex around that collects bits. The size of this vortex can be controlled by a new game variable, so purchasing the upgrade can set the variable to a nonzero size (for example, a circle with a radius of 1 pixel).
There will have to be logic to detect when the vortex collides with the bits. This could also be combined with the Data Magnet upgrade.

@emadsu Here are some more detailed instructions. There are certainly multiple ways to do this, but this way should work.
Overview
All of these changes can take place in the Collect.ts file, in the Collect class.

Refactor bit collection to a new collectBit function
Add the proper physics to the objects
Create a sweeper property in the Collect class
Update the create function definition to set this.sweeper to a new rectangle
Update the update function definition to set the sweeper x and y to the current mouse position
Also in the update function, check to see if the mouse is down
If it is down, make the sweeper visible, and...
Loop through all the bits in the this.clickyBits array
Check if the sweeper overlaps with the each bit
If it overlaps with a bit, collect the bit
If the mouse is NOT down, set the sweeper to invisible

Bit Collection
Currently, the bits are collected in one place - when clicked. The code is like this:
EventBus.emit("add-bit");
const collectedBit: GameObjects.Text = pluckOne(this.clickyBits, (bitObj) => bitObj === newClickyBit);
collectedBit.destroy();

Create a wrapper function named collectBit on the Collect class. Pass in the newClickyBit as a parameter (may be worth renaming). Update the "pointerdown" event to call the collectBit function and pass in newClickyBit - make sure it still works!
Physics
Each GameObject for the clicky bits needs a physics body.
this.physics.addExisting(newClickyBit, false)

Additionally, the main.ts config object should have the physics prop, set to { default: "arcade" } (though this may be covered by @MangoMagoCane's changes).
The Sweeper
There should be a new sweeper property added to the Collect class. Then, in the create function, it should be set to a new rectangle.
Create Function
The create() function is called once, at the start of a scene - it creates the scene in the game:
create() {

}

There is quite a bit of stuff in the create function definition.
##Rectangle
We can create a sweeper object using this.add.rectangle within the function:
// a rectangle at position (0, 0) with width of 50 and height of 50, and color of magenta: #FF00FF
this.sweeper = this.add.rectangle(0, 0, 50, 50, 0xff00ff);

Add this code to the create function definition! It should also have its own physics:
this.physics.add.existing(this.sweeper, false)

Moving the Sweeper
The sweeper's position will need to update when the player moves the mouse.
Update Function
The update() function is called every time a new frame is rendered:
update() {
  console.log("these");
  console.log("console logs");
  console.log("will run");
  console.log("once per frame");
}

X & Y Properties
We can move the sweeper object by setting its x and y properties:
this.sweeper.x = this.input.activePointer.x;
this.sweeper.y = this.input.activePointer.y;

This will set the position to the current x and y of the pointer (aka the mouse).
Condition: Pointer Down
We can check if the screen is being pressed using an if statement:
if (this.input.activePointer.isDown) {

}

##GameObject Visibility
We can make the sweeper object visible or invisible:
// show the sweeper
this.sweeper.setVisible(true);

// hide the sweeper
this.sweeper.setVisible(false);

Searching All Bits
We can look through all the bits in the game with a for loop:
for (const bit of this.clickyBits) {

}

Finding Overlaps
We can test if the sweeper overlaps with a given bit with this.physics.overlap:
if (this.physics.overlap(this.sweeper, bit)) {

}

If that's true for a given bit, it can be collected!
Bit Collection
We can collect a bit using the refactored collectBit function:
this.collectBit(bit);

Conclusion
I know this is a lot, but hopefully it will be helpful - and it will at least provide a starting point! Please ask if you have more questions!


NTR: molecular analysis facility

One more term needed for OBIB requested by NCI BBRB. I modeled this after 'sequencing facility organization' in OBI. http://purl.obolibrary.org/obo/OBI_0001891
molecular analysis facility organization (Alternate label: MAF): An organization that provides molecular analysis service.
Example of usage: An analysis facility that includes analysis of molecular metabolites, as well as the various DNAs and RNAs.
organization and (has role some (service provider role and (realized in some material analysis service and (has specified input some molecular entity)))

looks good

Hi Chris,
We reuse a number of OBI organizations in GenEpiO that are involved in each step of specimen processing.  At moment we have:

It sounds like your "molecular analysis facility" could cover both the wet lab part and bioinformatics driven typing?  Would that make it a parent of 'sequencing facility organization' ? Does it include isolate preparation?
thx!

Hi Damion,
Yes, I think these analysis facilities generate the data and provide basic analysis of it and that it would be a parent of 'sequencing facility'. I don't think that all include isolate preparation so would not make that a defining feature. Does that work for you?
Thanks
Chris

Ok, that sounds good.
I'm reminded now of a question. I was wondering how you (or your agency) structures information about an organization - its type and name, in triple store or RDBM format?  We're gathering names of organizations as part of recordkeeping.  Right now we have an "organization" (type) [OBI_0000245] selector which has that above list, and a separate "organization name" field (http://purl.obolibrary.org/obo/NCIT_C93874).

How are you handling that kind of record-keeping? I've seen people do data relations from organization instance directly to name string but that seems a bit impure.

I thought we would be using rdfs:label and subproperties thereof
(alternative label etc.) to indicate names. If you start creating things
like 'organization name', why not also 'organism name' or 'reagent name',
and you end up having create a parallel hierachy of names?
On Thu, Nov 2, 2017 at 6:56 PM, Damion Dooley<EMAIL_ADDRESS>wrote:

Ok, that sounds good.
I'm reminded now of a question. I was wondering how you (or your agency)
structures information about an organization - its type and name, in triple
store or RDBM format? We're gathering names of organizations as part of
recordkeeping. Right now we have an "organization" (type) [OBI_0000245]
selector which has that above list, and a separate "organization name"
field (http://purl.obolibrary.org/obo/NCIT_C93874).
How are you handling that kind of record-keeping? I've seen people do data
relations from organization instance directly to name string but that seems
a bit impure.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/obi-ontology/obi/issues/867#issuecomment-341606724,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANN9ImxC1FISUPyqo6g7foW8Suje0YH1ks5synLkgaJpZM4P1Zsu
.

--
Bjoern Peters
Associate Professor
La Jolla Institute for Allergy and Immunology
9420 Athena Circle
La Jolla, CA 92037, USA
Tel: 858/752-6914
Fax: 858/752-6987
http://www.liai.org/pages/faculty-peters

I can see how efficacious it ls to turn to rdfs:label as the place to store human-readable names for entities.  It appears to act as sub-property of 'has value' relation with range of linguistic denotation.  I agree a "pure representation" would seem to call for a parallel hierarchy.  Had considered just generic "name" rather than all the different kinds of [entity type] + [name]. But then I look at OBI's "textual entity" which contains document title, running title; written name, all types of name presumably, meant to be used with instance values?  For people entities we have the complication of first name, last name and middle name, formal name, and nick name; taxonomic entities having genus and species components. And acronyms for organizations and places, often with lost semantics from being stuck into the generic oboInOwl:synonym.
To separate these out is to either create data  properties for each, or to create classes as I understand it.  I see the tension about the complexity of making the representation closer to a linguistic semantics, but in the other direction, we're left with an inter-ontology mapping problem resulting from lack of a clear standard distinction between rdfs:label territory and the other name type semantics?
Thanks for entertaining this question! I dislike opening up cans of worms, but find I must to develop curation policy on such matters.

Added to OBI as indicated above except left off (has specified input some molecular entity) since that did not make sense to the reasoner. But now the reasoner infers that sequencing facility organization is a molecular analysis facility!


Move LICENSE to Apache

Closed by https://github.com/theapsgroup/steampipe-plugin-vsphere/commit/d22a95922c0ff2fd1f991a25d1eea86b6071f016


Do we want to have prow here as in the code repo? if so... config is required and whatever is needed on the prow side

@cooktheryan


Error naming in MeiliSearch

Foreword
MeiliSearch is an API with which you communicate through HTTP requests.
Because of that, it uses the HTTP error standards to inform you of the state of each request.

2xx
3xx
4xx
5xx

A wrapper, on the other hand, creates a sweet sugar coat around the API to make the communication easier in a given language. Although the wrapper uses HTTP requests, the user does not.
This is why I questioned to which extends do we want to communicate to the user the same way the API communicates with us: through HTTP error codes.
Problem
Imagine a case where you have badly formatted a search parameter the following way:
index.search(null)

If javascript validates data before sending it to MeiliSearch, it will raise an error like this (the text could be different):
MeiliSearchError: invalid query parameter
If javascript DOES NOT validate data before sending it to MeiliSearch, MeiliSearch API will send this back
HTTP/1.1 400 Bad Request
{"message":"invalid query parameter"}%

And could be formatted this way by javascript error handler:
HttpError 400: Bad request: invalid query parameter

This create an inconsistency in the error types.
Examples
How does the other API does it:

Stripe does not raise an httpError nor the HttpStatus but created different types of errors:

StripeError
StripeCardError
StripeInvalidRequestError
StripeAPIError
StripeAuthenticationError
StripePermissionError
StripeRateLimitError
StripeConnectionError
StripeSignatureVerificationError
StripeIdempotencyError
StripeInvalidGrantError

example of stripeAPIError

This error will natively output like this:
StripeAPIError: Invalid JSON received from the Stripe API

Algolia created a custom ApiError

Used in those cases :

Which means that the error output will natively look like this:
ApiError: User not found

So no mention of Algolia (but you will be able to see that it comes from algolia in the stack that appears below the error), and the status can be fetch this way: e.status
Proposition
MeiliSearch sends back a 4xx or a 5xx
My favorite approach is the one from Stripe. Nevertheless, in a short term I would suggest this one:

MeiliSearchApiError
or
MeiliApiError

MeiliSearch sends nothing back, problem with communication

HttpError

MeiliSearch SDK raises an error

MeiliSearchError
or
MeiliError

Hi!
Love your issue and your investigation 🙂
MeiliSearch sends back a 4xx or a 5xx
I like MeiliSearchApiError. Meili is just the name of the company, neither the SDK or the search engine. I like your idea to talk about API instead of HTTP. More friendly at my point of view.
MeiliSearch sends nothing back, problem with communication
I do not like HttpError. An HTTP error is, by definition, a 4XX or a 5XX. Not a communication issue.
I suggest CommunicationError.
MeiliSearch SDK raises an error
I would rather use MeiliSearchError, for the same reason than the first one.

I like the Idea. But in the same line as with other issues/features, we might try to define some basic standards. Each SDK will try to handle this in its own way (and it is clearly the case now), but it could be cool to have a generic 'reference' for errors, codes and messages, and implement THAT in each SDK in it's own way and with its own constraints!

Closing this issue in favor of #19


refactor code for helpers

LGTM

@boyang9527 , but there are conflicts now ...

@cdlliuy  rebased

@cdlliuy @qibobo  they were caused by a dirty workspace from the circuit breaker branch..
I did a force push and they were fixed.

LGTM


Update BASE_VERSION to 1.14-2022-05-05T19-02-22

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio_release-1.14
296c533dd87d9e46ce780af74f077050126396b6
link
true
/test unit-tests_istio_release-1.14

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_istio_release-1.14


Feat/update automation

Uses git subtree to import automation from https://github.com/RedHatProductSecurity/oscal-automation-libs. Adds demo specific targets to the top-level Makefile and targets for updating the automation repo.

cc @jewzaam Still WIP, but looking for feedback on the overall approach with git subtree and splitting out the automation.


FX2024 Domain & Capabilities update / Optimize / Architecting for cloud

This PR adds the new Benchmarking capability that is part of the quantify business value domain according to the new FinOps framework.
This doc was created by Pedro Sousa (pesousa)

@all-contributors add @pesousa for documentation

@all-contributors add @pedrocsousa for documentation


Resuming training using learned weights

Hi, while training my system crashes at times due to unknown reasons so I was wondering if there is any way to reload the weights from previous training sessions which were saved at some point instead of starting all over.

Hi,
You can set custom_load parameter to True and provide the path of the saved weights to custom_load_path in the DeepQLearning.cfg file. This will initialize the NN weights with saved weights.

Thank you, just wanted to know which file the weights are getting stored to? I couldn't see any .npy files and all of them seem to have a different encoding.

The weights are not stored as .npy file, rather they are stored as checkpoints.
This might help: https://stackoverflow.com/questions/41265035/tensorflow-why-there-are-3-files-after-saving-the-model

Thank you. Just want to confirm, its enough to have ../../drone0/drone0_user in the load path right? In the given config file, it was given as ../../drone0/drone0. Also I don't need to explicitly load index and meta files, I assume and just drone0/drone0_user should be able to load all 3 required files.
Also  just wanted to know what the DeepReinforce.cfg does, couldn't find any documentation on it.

Yes it is enough.
If you are using saver.restore() then you don't need to explicitly load other files.
That is work in progress. Apparently I mistakenly pushed the file to git. It will be the Policy Gradient RL algorithm.

Thank you so much! :)


Title required to save story

Fixes #794
One thing here. Auto Draft is recognized as '' on title section.

This did not work in my testing. It still let me hit publish without a title.
Why not just disable / grey out the publish button until the title is set? This is how gutenberg works...

This did not work in my testing. It still let me hit publish without a title.
Why not just disable / grey out the publish button until the title is set? This is how gutenberg works...

Good point. I go with disable buttons instead showing error message.

@googlebot I consent.

As per https://xwp.slack.com/archives/CCCAUAH6F/p1585799683325200, let's hold off on this for now.

As per recent discussions, closing this for now. We're not making it required.


Lower the priority of QueueBatchedReportStreamUploader failure page

Background
We created this page to catch any ReportStream issues, and set it to page at a single failure since we historically hadn't seen many failures. With the new change to the uploader (specifically, uploading every 2 minutes) we're seeing more unactionable one-off failures.
Action Requested
Two actions requested:

Lower the priority of the current page to send an email when the issue occurs, instead of triggering a page
Create a new alert that pages if 5 uploads fail in a row, since that would indicate a larger issue

I'm not seeing an obvious way to do email alerts with our current setup, so I'm proposing rolling that part of this issue into the PagerDuty refactor - having a business-hours only Prod group would let us do this fairly easily.

Sounds good Josh!
After discussing further offline, the new ask on this ticket is that once the new pagerduty group is set up, we create a new alert that triggers on a single failure of the uploader and sends an email.


Remove quotes from select interpreter lists

Resolves: https://github.com/microsoft/vscode-python/issues/23978

TODO:
Quotes are removed from select interpreter list but still persist on bottom right corner.


Export Addon generates the wrong race for Undeads.

Describe the bug
Currently when using the Wowsimexport addon it generates my characters Race = Scourge.
When pasting this data into the import on the website it says incorrect race.
Changing race to Undead manually in the string solves the problem.
To Reproduce
Steps to reproduce the behavior:

Go to a udnead character and open the addon's interface
Click on generate data
Paste data into the import
See error that race is unknown/incorrect
Edit race manually to "Undead"
See that import is now succesfull

Expected behavior
A paste of the data would succesfully put in the data into the sim.
Desktop (please complete the following information):

OS: Windows 11
Browser Chrome
Version 106.0.5249.103 (64 bit)

This is fixed now, thanks!


AirlineSelectTab is in conflict with a mouse feature

environment

vim: nvim v0.2.0
vim-airline: 2017-06-26, 302a819f. I believe the problem exists in previous versions as well
OS: Debian Stretch
Have you reproduced with a minimal vimrc: yes
What is your airline configuration:

set mouse=nicr

" powerline special fonts
let g:airline_powerline_fonts = 1

""" tabline configuration
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#fnamemod = ':t'
let g:airline#extensions#tabline#switch_buffers_and_tabs = 1
let g:airline#extensions#tabline#buffer_idx_mode = 1
nmap <leader>1 <Plug>AirlineSelectTab1
nmap <leader>2 <Plug>AirlineSelectTab2
nmap <leader>3 <Plug>AirlineSelectTab3
nmap <leader>4 <Plug>AirlineSelectTab4
nmap <leader>5 <Plug>AirlineSelectTab5
nmap <leader>6 <Plug>AirlineSelectTab6
nmap <leader>7 <Plug>AirlineSelectTab7
nmap <leader>8 <Plug>AirlineSelectTab8
nmap <leader>9 <Plug>AirlineSelectTab9

""" airline symbols
if !exists('g:airline_symbols')
  let g:airline_symbols = {}
endif
let g:airline_left_sep = ''
let g:airline_left_alt_sep = ''
let g:airline_right_sep = ''
let g:airline_right_alt_sep = ''
let g:airline_symbols.linenr = '¶'
let g:airline_symbols.whitespace = 'Ξ'
let g:airline_symbols.branch = ''
let g:airline_symbols.readonly = ''
let g:airline_symbols.paste = 'ρ'
let g:airline_symbols.paste = '∥'
let g:airline_symbols.paste = 'Þ'
let g:airline_symbols.spell = 'Ꞩ'
let g:airline_symbols.notexists = '∄'

if you are using terminal:

terminal: urxvt
$TERM variable: rxvt-unicode-256color
color configuration (:set t_Co?): Key code not set
if you are using Neovim:
does it happen in Vim: don't know.

actual behavior
The issue is about the AirlineSelectTab feature negatively impacts the mouse function. Suppose both AirlineSelectTab and mouse are turned on.

Open two files, say nvim file1 file2;
Use mouse to click airline select tabs to switch buffers;
Use :sp to split the working area.

Now, the mouse losses its ability to resize the split...
PS: I had this long time ago, but could identify its cause. Finally found out that once mouse clicks the airline select tab area, it losses ability to resize splits.
expected behavior
After the above step 1, 2, 3, the mouse can still resize buffer splits.

what is your mouse setting?

The mouse setting is: set mouse=nicr.

This only happens after clicking into the tabline?

Does that happen in Vim as well?

Yes... seems very strange to me.

please try to reproduce with vim

Yes, just doing it now... tested the same issue on vim and the issue does not occur. Two observations:

Debian now ships with vim 8.0, while neovim is a fork of vim 7.4.
The behavior of airline on vim differs from neovim. For instance, if single-click the Airline Select Tab area, nothing happens. If double-click the area, a new file is created. Yet on neovim, a single-click will select the buffer, yet double-click means nothing (which is more reasonable in my view).

Both vim and neovim use the same minimal settings.

Yes, neovim has clickable buffers in the tabline (has('tablineat') returns 1). Please report to the neovim bugtracker in this case. (BTW: Neovim is a fork of Vim 7.4.something, but of course they are merging the Vim8 patches as well.

cool, i will do that. thanks.


[Bug] Piechart showing some value on hover

Version
5.3.3
Link to Minimal Reproduction
No response
Steps to Reproduce
without hover

on hover

Current Behavior
i have 10 values of data but chart showing only 5 and reaming showing on hover
Expected Behavior
to show all data
Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

lineheight was the problem


[QUESTION/FEEDBACK] "rbac" attribute should be named something more generic, like "permissions"

As OPA could leverage any combination of ACL's, RBAC, ABAC, ReBAC or what have you, it seems unnecessary to limit the name of the permissions plugin in the opaClient config to rbac. I'd suggest using permissions instead.

Renamed from rbac to permissions


The modal to see the voters is not displayed

Description
The modal to see the voters is not displayed
same error here : https://discuss.flarum.org/d/9762-poll/112
Steps to Reproduce

click on "view voters"

Technical Details

Version of Flarum (x.y.z): beta8
Version of extension (x.y.z): 1.3.0
The webserver you are running (Apache, Nginx, etc): nginx
PHP version (x.y.z): 7.2.10

error in web console
ShowVotersModal.js:31 Uncaught TypeError: Cannot read property 'id' of undefined
    at ShowVotersModal.js:31
    at Array.map (<anonymous>)
    at e.a.getUsers (ShowVotersModal.js:26)
    at ShowVotersModal.js:61
    at Array.map (<anonymous>)
    at e.a.content (ShowVotersModal.js:58)
    at e.n.view (Modal.js:46)
    at e.render (Component.js:102)
    at e.n.view (ModalManager.js:18)
    at e.render (Component.js:102)

I always have an error.
I stil have the error Uncaught TypeError: n.id is not a function
    at ShowVotersModal.js:31
    at Array.map (<anonymous>)
    at e.a.getUsers (ShowVotersModal.js:26)
    at ShowVotersModal.js:61
    at Array.map (<anonymous>)
    at e.a.content (ShowVotersModal.js:58)
    at e.n.view (Modal.js:46)
    at e.render (Component.js:102)
    at e.n.view (ModalManager.js:18)
    at e.render (Component.js:102)

@Magicalex we will be reviewing this issue in January (after the crazy holidays we have here in the U.S. :D)

@Magicalex or @stefanneke, is this still an issue?

yes :(

@Ralkage I have the same issue too

It seems like the Vote model is not able to retrieve the user Model but that's weirde because the Vote model has a valid user_id

I am having the same problem after clicking the show voters button:
ShowVotersModal.js:31 Uncaught TypeError: n.id is not a function     at ShowVotersModal.js:31     at Array.map (<anonymous>)     at e.a.getUsers (ShowVotersModal.js:26)     at ShowVotersModal.js:61     at Array.map (<anonymous>)     at e.a.content (ShowVotersModal.js:58)     at e.n.view (Modal.js:46)     at e.render (Component.js:102)     at e.n.view (ModalManager.js:18)     at e.render (Component.js:102)
Any solution?


update to varkes 0.5.1

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


getPhotos as image url

How can I properly use this function: public function getPhotos($iLimit = 0, $bMore = true, $sSize = 'small') to get only one photo as url for a background?
I looked thru the examples and I haven't found nothing related to it.
Thanks!

Give getPhotos(1, false, 'big') a try. You'll need to link to a local image of yours. Otherwise, take a look at the getPoster('big', false) method.


Enable Chrome debugger to ship with VS Code

This issue covers the steps we need to take to bundle the https://github.com/Microsoft/vscode-chrome-debug within the standard distro of VS Code.
Purpose
The Chrome debugger remains one of our most popular debuggers, and with the upcoming release of multiple connections in Chrome 63, plus the upcoming support for break-on-load breakpoints, we think the debugging experience is good enougt to ship out of the box.
Questions
How do we update the Chrome debugger out of band?
The Chrome debugger has a history of smaller and faster releases than the Node debugger, so I imagine we would need to keep it that way.
I had a chat with @seanmcbreen and he mentioned that we can't update bundled extensions out of band. Is this still true?
Do we have other concerns that's product related to bundling the Chrome debugger?
Ping @roblourens @weinand @seanmcbreen @chrisdias

The Chrome debugger has a history of smaller and faster releases than the Node debugger, so I imagine we would need to keep it that way.

Not sure about this, nothing else in vscode updates out of band, and I think vscode builtins should only update along with vscode itself. In the past I've updated whenever a few fixes pile up, but I don't think we would miss much by updating at the same rate as the node debugger alongside vscode updates.

Do we have other concerns that's product related to bundling the Chrome debugger?

node-debug2 ships 3.6 MB including 2.8 MB of node_modules. If we ship another extension the same way, there will be a lot of waste, but 99% of this will be shared with chrome-debug.
The VS team really wanted us to put both in a single repo. I don't really want to go that route because it's useful to keep them separate for issue tracking and support.

fyi @microsoft/vscode
For me the main question is how do we decide that some extensions should be a part of vscode and some should not? I personally like VSCode being minimalistic and I think we should only bundle extensions which would benefit a significant chunk of our users.
IMHO chrome debugger would only be used by around 5% of our users (telemetry experts: please dig up event debugSessionStart with type: chrome to support my claim). I understand that we can say that node debugger also benefits only a small number of users but node debugger for me is more like a built-in example that demonstrates how debugging is great.
As from the microsoft point of view should we not bundle an edge debugger?
On the other hand I understand that chrome debugging would be easier and nicer out of the box, but for me the minimilstic VSCode is clearly the way to go here.

+1 for Rob's comment from above about updating VS Code's builtins only once a month.
If there is an urgent need for an out-of-band update, we always have the Insiders release.
Should the Chrome debugger be builtin?
Yes, because we ship all extensions that are useful for VS Code extension authors and JavaScript development. Excluding the Chrome debugger is like excluding TypeScript support.
(But I think it would be helpful if we you could easily share common node_modules between the debuggers and keep VS Code's size small...)

I had a chat with @seanmcbreen and he mentioned that we can't update bundled extensions out of band. Is this still true?

I'm pretty sure this isn't true anymore. I remember talking to @weinand about this scenario. If any of the node-debug extensions come out with a bug, it should be easy for him to just publish the new version in the marketplace and have users update to that.
This makes me thing an installed extension in the user's extensions folder will override a built-in extension with the same name. But @sandy081 will know for sure.

(telemetry experts: please dig up event debugSessionStart with type: chrome to support my claim)

I see chrome getting around 1/3 of the machines/day of node+node2. It has picked up the past couple months. I'm very curious where that would go with a little extra publicity and building it in.

As from the microsoft point of view should we not bundle an edge debugger?

This will be possible in the near future but if we include chrome-debug we should think about how it will scale to other browsers, for naming things, etc.

Somebody asked for telemetry?
Below is the breakup of distinct users who have started a debug session by type

(telemetry experts: please dig up event debugSessionStart with type: chrome to support my claim)

About 13% of users who ever started a debug session in the past 30 days used the "chrome" type

@isidorn The reasoning for shipping a "browser debugger" in-product is that we have expanded our beachhead segment from "Node developers" to "JavaScript developers" and want to provide an out of box experience that enables debugging of both servers and clients.
Long term I imagine us having a "browser debugging story" where Chrome, Edge, Firefox and others fit into the puzzle. We are in-parallel are having conversations with browser vendors on using the same remote debugging protocol that will enable the core of Chrome debugger to work with fx Edge.

@auchenberg while I agree with your sentiment -- is the current browser debugging story currently robust enough? Personally very often when I've tried to take advantage of the chrome debugging in product, it falls down -- mainly with breakpoints not being hit and I need to fall back to debug within chrome itself. Granted we are using webpack hot-reload with source maps, but it almost always works in chrome, but very rarely in vscode.

@eamodio I believe we have a good enough experience, when the two previously mentioned features land for the majority of our Chrome debugger users (based the flow of issues and user feedback, and the work we have been doing with framework clis)

@auchenberg I should have read those features more closely -- the multiple connections will be HUGE (next you just need a sync of breakpoints to seamlessly switch between the two 😉). And with any luck break-on-load work will resolve our BP issues. Thanks!

This makes me thing an installed extension in the user's extensions folder will override a built-in extension with the same name. But @sandy081 will know for sure.

Yes, installed extension will override the built-in with same pub.name

My only concern is by including more extensions that may push out start up performance further as it needs to register commands at which point all the extension code is loaded in (even if no activation events fire). I know it's not much but it all adds up.

@Tyriar Valid concern. Do we know how much overhead it adds? The Chrome debugger looks to register 2 command and our Node debugger does the same.

@auchenberg actually I think it probably has minimal impact thinking about it again, I think the load time of 149ms below:

is on the extension host process, so it should have minimal impact on performance unless the system only has a single core.

Why is it so much slower than node/node2?

So to summarize:

We can ship the Chrome Debugger as built-in just like the Node debugger.
We have a concern of shipping both Node and Chrome will increase the footprint with roughly 2.8 MB of duplicated node_modules. Can we live with this, @weinand @roblourens?
We don't have a concern of the perf overhead registering 2 additional commands will have to extension host process. @Tyriar

Actions

What are the next steps for including the Chrome debugger in upcoming builds, @roblourens?

2.8 MB seems like a lot, especially when it's all duplicated code from node2. Unfortunately I think we couldn't reduce it without restructuring the debug adapters to cohabitate one extension, or doing some weird stuff to make them share files. I don't know whether 2.8 MB is a deal breaker or not.

@roblourens with "restructuring the debug adapters to cohabitate one extension" you mean to move the common node_modules (e.g. cdp-core) into a new "faceless" extension that becomes the prereq for the chrome and node2 extensions?
I think 2.8 MB is not a deal-breaker but if we could share code via a code-extension easily, we should try that.

Right I mean they would have to go in the same repo and be published as a single extension, which I don't really want to do.

I thought you meant using 3 extensions (and 3 corresponding repos):

a faceless extension "cdp-core" that contains just the cdp-core library,
node-debug2 (which depends on cdp-core),
chrome-debug (depending on cdp-core too)

I guess I don't understand what you mean by "faceless extension", cdp-core wouldn't do anything by itself and can't really run as an extension.

The third extension is just a container for cdp-core and would export the cdp-core API so that node2 and chrome could use it.

I think cdp-core would currently show up in the Installed extensions in the viewlet. Was 2.8MB the increase in download size? It should compress fairly well if it's all duplicated data. :D

True! That's the size on disk.

@auchenberg I did not really get a feeling that we came to a concensus regarding this discussion and in the planning meeting it seems that we have reached a decision to ship the chrome debugger with vscode. I personally found this a bit surprising.
In zurich we had a discussion regarding this and the overall impression that I got was not to ship the chrome debugger with VSCode. Some points were made that if we do this we could use the same logic to also ship with tslint, eslint and many other extensions. Though I might be missing something here so please correct me if I am wrong.

@isidorn It's new to me that you have had a discussion in Zurich about this, as my take away from this thread is support by @weinand, @roblourens, plus that we have had several discussions on the PM side in Redmond.
Generally we have expanded our beachhead segment from Node.js to JavaScript, which will require us to ship the necessary components to support client-side JavaScript. This is reflected in our roadmap, where we mention shipping client-side debugging in-box, and the first step on this journey is to include the Chrome debugger.
The arguments from https://github.com/Microsoft/vscode/issues/36517#issuecomment-337994927 still stands, and is well-aligned with our parallel efforts on enabling Edge + Firefox debugging from the Chrome debugger, as those browsers will embrace the Chrome DevTools protocol in the near future. This will allow us to expand the VS Code story from "Chrome debugging" to full "client side browser debugging", and that's the framing we'll plan to go with, where Chrome debugging is our starting point.
What's your concerns for going down this route @isidorn? That we'll introduce a lot of scope creep to support all possible scenarios for JavaScript?

@auchenberg Sorry for not informing you about our discussion. I should have updated this issue sooner.
I understand that we want to expanded to JavaScript however we could use exactly the same argument for shipping eslint and tslint extension. Since they are also necessary components to support client-side JavaScript. Also tslint end eslint are used by many more users imho so they might make more sense to be the first step.
As for my concerns I have mentioned them in my original comment.
Apart from those every time we bundle a new extension we:

loose the ability to update that extension out of our vscode rhythm
bundling extensions makes our build a bit slower as we have to always download the extension from azure - this is particularly true when building locally
we will get more issues in our vscode git hub repository
increasing install size
lots of users not caring about the extension still get it and have no way to disable it

Once Edge and Firefox debugging embrace the Chrome DevTools protocol then it makes sense to ship with this since it would be more of a "Browser Debugger". Until then it is just marketing a product done by Google imho.
Bottom line it seems like I am the only one strongly against this so I just wanted to raise my concerns and I understand if the PM decision is to still do this.

@auchenberg yes, we had a discussion in Zurich and I'm supporting to bundle the Chrome Debugger with VS Code.
Besides all the other arguments mentioned here the most important argument for me is to ship VS Code with the inner-loop tools that we need for VS Code development (I would even support to include eslint and tslint but maybe they are a bit on the edge).
Including the Chrome Debugger fosters more self hosting on the VS Code debuggers. Today most VS Code devs are not self-hosting on the VS Code debugger but use the Chrome Dev Tools instead. Only those developers that work on extensions typically use node-debug. This reduces the self-hosting coverage of the debugger considerably (and it sometimes results in errors not detected early in self-hosting). Bundling the Chrome Debugger with VS Code and baking debug configurations for it into VS Code could alleviate this.

To be honest anyone from the team can install the chrome extension in less than 10 seconds - they are not doing it for other reasons(do not want to go into that since it is another topic). So I would not take this as an argument to bundle it for stable and our 2 million users.
And yes I agree we should self host on the chrome debugger - which I will change this very moment.

@isidorn To my the main difference between adding a chrome/browser debugger and tslint is that debugging is one of the unique differentiating features for VS Code that set's us apart from Sublime and others. We already have a Node debugger built-in, so it's natural progression to add the most popular browser debugger into the product as we expand our focus to full-stack JavaScript. Linting isn't strictly needed for JavaScript authoring.

loose the ability to update that extension out of our vscode rhythm

I had this concern too, but was addressed earlier in the thread.

bundling extensions makes our build a bit slower as we have to always download the extension from azure - this is particularly true when building locally

What do you think the ballpark overhead will be? We don't want to slow down local builds significantly.

we will get more issues in our vscode git hub repository

We already have a steady stream of Node/Chrome issues, and we have educated users to use the vscode repo recently, so I don't expect this to add a massive overhead.

increasing install size
This was also addressed earlier in the thread.

lots of users not caring about the extension still get it and have no way to disable

This extension will be invisible to users who don't use it.

The discussion about install size and update frequency that we are having about the Chrome Debug extension is similar to previous discussions about other built-in extensions such as TS, CSS, HTML, or Markdown. With every built-in extension we increase install size and we also increase what we need to test during endgame week and the functional areas we need to consider for recovery builds.
We are bundling built-in extensions at build time. If we allow to install certain extensions either at install time or auto-install them after first startup we can avoid these issues while still getting most of the benefits of built-in extensions. We'll take the Chrome Debug Extension as a concrete example to explore this path. This goes back to discussions @egamma, @seanmcbreen and I had earlier today.

I think you should stop adding buildins tools because you have extensions system which can be managed to match a particular development environment.
You could ask or detect a project environment. I mean if the project is a typescript one, then you can load necessary extensions; if the project is a c++ one, then you load only c++ extensions and let user adds its own extensions for this environment.
In typescript environment case, you impose chrome debugger if not present, but the user can remove it if he doesn't want to use it.
From there, this is an additional feature which requires a new environment management tool.
This is just my opinion.

I'm ok if the chrome debugger is built-in; however, an effort should be made to revert previous decisions regarding how debuggers are isolated and begin code sharing with other similar debuggers (a good 95% with the NW.js debugger fork for example)


add cond batching rule

Covers both the predication (batched condition) and unbatched condition cases.
Fixes #490; may also fix #1120.

What about batching via lax.map?

Apparently the right kind of lattice join is already being invoked in the right place, so the updated implementation both (a) works and (b) raises to the batch tracer only when necessary, even though the actual batch rule doesn't do any raising at all. (Earlier, I was cargo-culting off of the while_loop batching rule, which does need to do these things because there's no generic lattice join being called in while_loop itself).

Whoa! Do you mean the lattice join in this code or elsewhere? How did you figure out that it wasn't doing any extra raising?


SUTD Freshmore Muay Thai Introductory Sessions

Session Name
SUTD Freshmore Muay Thai Introductory Sessions
Abstract
To expose incoming Freshmore students to the Muay Thai sport and to give incoming Freshmore students a brief look into what goes on during our trainings. The Q&A session held afterwards would allow freshies to cool down and clarify all of their existing questions.
Student Organisation organising this session
SUTD Muay Thai
Event Format
Physical
Session intent (what to expect)

Participants will get a glimpse of what our training will be like, with emphasis on the club being welcoming and that trainings will be enriching.
Participants do not require any prerequisites and freshies of all skill levels can join.
Participants will also learn important skills such as self-defense, and at the same time improve their flexibility.

Session details
The introductory sessions will take place on the 20th of September (Monday) at 7 pm and the 27th of September (Monday) at 7pm.
Muay Thai Introductory Session will include

Basic warmup, cooldown
Shadow boxing
Pad work
Conditioning
Q&A + Food

Freshies will enjoy a meal together with the trainers to ask about any questions they have about the club, and clarify all their existing concerns.
We would book Dance Studio 7 for the introductory sessions with about 10 participants per session.
Speakers/Workshop facilitators
Bryan Sitoh (Club President)
Eugene Hoong (Training Captain)
Chia Meng Yin Melodee (Training Captain)
Wang Yi Wei (Training Captain)
Sign up link
https://forms.office.com/Pages/ResponsePage.aspx?id=drd2NJDpck-5UGJImDFiPbrgKAKjQClDsfEY2rKBgQNURVFOS0xPRVMyTENMV1NFMFBBVFJMTElXMy4u
Logistical details / Budget Needed
We require a budget of $100 in total for the sessions. The food is for the freshies so that they could sit down to have a meal after training to clarify any queries that they might have regarding the club, and to develop a bond between the freshies and trainers. All gym equipment including punching bags, boxing gloves and so on will be acquired by our club. The budget would solely be used to purchase food to improve the bond between the trainers and freshies.
We would most probably get pizza from Domino's with the budget allocated.
One Large pizza costs roughly about $15 and we plan to get around 3 pizzas (Hawaiian, Pepperoni and Classified Chicken). The pizzas will cost about $45 and along with a delivery charge of $5, the total comes up to $50 per session. So, for the two sessions the total budget required is approximately $100.
Club email<EMAIL_ADDRESS>

Hi @Dhilahesh , thanks for submitting your event proposal! A couple of questions before we can proceed.

Put the date and timing of the session under the session details (understood that it is within your MS Form, but just to ensure people don't miss out on it)

Could I request that you write a short justification for the $300 to be spent on piazzas? It will be difficult to get funding without it.

It might be a bit difficult for us to help you request for $300 for just pizzas as the average request for funding from other fifth rows are in the range of $50-$100. Would highly recommend for you to reconsider how the budget can be lowered for snacks and drinks
AISG Student Chapter SUTD
Do note that claims are done via concur with valid receipts required, so giving a clearer breakdown can facilitate a smoother process for budet approval.
Cheers!

@ExtremelySunnyYK The proposal has been updated

@Dhilahesh Kindly note that discover SUTD would not support events after September. Therefore the session on 4th october would not be Supported.

@ExtremelySunnyYK We have decided to change the dates to 20th and 27th of September.

Hi @Dhilahesh  ,
May I clarify that the 10 pax includes the number of facilitators too? If so, would it be possible to estimate the number of facilitators?
Would be great if you could let me know by today.
Thank you xx

@castlemas We would like to have 10 participants plus 1 facilitator if possible. Otherwise, it will just be 9 participants and 1 facilitator.

@Dhilahesh Hey! Just some feedback from our team that for your sign-up form. Do use the DiscoverSUTD form template which includes the PDPA clause.
The link can be found here
https://forms.office.com/Pages/ShareFormPage.aspx?id=drd2NJDpck-5UGJImDFiPWH2rk0WPLpNoz88PwBGAxpUQ0c5TktQNlJKUTVMUFFQTVRHTkJOV1o1VS4u&sharetoken=zv60rxgRFw6Sp0GdVpWP
Do click on 'duplicate form' and create your own form! Then share with use the updated link.
Hope your team understands, thank you!

@ExtremelySunnyYK Hey, our sign up link has been updated to include the PDPA clause and some other details. Thank you!

Hi @Dhilahesh , Your event has been approved by the school admin.
However, Your budget request for $300, has been allocated $27 which was calculated based on a capped refreshment claim of $1.35/pax.
Wishing your team a successful and smooth event!


demos: GH1054, make cube shaders inline

fixes #1054
Make cube demo shaders inline include instead of loaded from file.

@tobine Right, my bad. I assumed Android uses the cmake build...
Apparently the CI does not build the demos then, since it passes...
build-android\generated\include seems to be the proper place for it and needs to be added to android-generate.
Alternatively I could just restore the headers, but I kinda like that they are restored from source.

I went with the (original) precompiled way on Android because it is complicated to determine the shader compiler path there.

This LGTus, I'll leave it to @tobine to ensure that Android is happy.

Worked for me, though I used updated NDK, and it needed #2233.

The MSVS CI keeps time-outing (>60 minutes). Maybe the 32 and 64 build needs to be separated...


Add hover anchor links to all of our headings, not just H1

On svc-cat.io we have hover anchor links to help people copy deep links to sections within our docs. However not all of the headings work with it at the moment.
For example, all of the headings on the dev guide page
https://svc-cat.io/docs/devguide
It works on the install page though, (hover over Step 1 - Prerequisites) to see it
https://svc-cat.io/docs/install/
The documentation site's sass and js are all in https://github.com/kubernetes-incubator/service-catalog/tree/master/docsite.

/joke What's wrong with our documentation having sass? I think most docs aren't sassy enough and can use some more sass. /joke

Implemented in #2340


Get an error when i try to concatenate the squad dataset with my own dataset

Describe the bug
Hello,
I'm new here and I need to concatenate the squad dataset with my own dataset i created. I find the following error when i try to do it: Traceback (most recent call last):
Cell In[9], line 1
concatenated_dataset = concatenate_datasets([train_dataset, dataset1])
File ~\anaconda3\Lib\site-packages\datasets\combine.py:213 in concatenate_datasets
return _concatenate_map_style_datasets(dsets, info=info, split=split, axis=axis)
File ~\anaconda3\Lib\site-packages\datasets\arrow_dataset.py:6002 in _concatenate_map_style_datasets
_check_if_features_can_be_aligned([dset.features for dset in dsets])
File ~\anaconda3\Lib\site-packages\datasets\features\features.py:2122 in _check_if_features_can_be_aligned
raise ValueError(
ValueError: The features can't be aligned because the key answers of features {'id': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None), 'context': Value(dtype='string', id=None), 'question': Value(dtype='string', id=None), 'answers': Sequence(feature={'text': Value(dtype='string', id=None), 'answer_start': Value(dtype='int32', id=None)}, length=-1, id=None)} has unexpected type - Sequence(feature={'text': Value(dtype='string', id=None), 'answer_start': Value(dtype='int32', id=None)}, length=-1, id=None) (expected either {'answer_start': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 'text': Value(dtype='string', id=None)} or Value("null").
Steps to reproduce the bug

from huggingface_hub import notebook_login
from datasets import load_dataset

notebook_login("mymailadresse", "mypassword")
squad = load_dataset("squad", split="train[:5000]")
squad = squad.train_test_split(test_size=0.2)
dataset1 = squad["train"]

import json

mybase = [
    {
        "id": "1",
        "context": "She lives in Nantes",
        "question": "Where does she live?",
        "answers": {
            "text": "Nantes",
            "answer_start": [13],
        }
    }
]

# Save the data to a JSON file
json_file_path = r"C:\Users\mypath\thefile.json"
with open(json_file_path, "w", encoding= "utf-8") as json_file:
    json.dump(mybase, json_file, indent=4)

# Load the JSON file as a dataset
custom_dataset = load_dataset("json", data_files=json_file_path)

# Access the train split
train_dataset = custom_dataset["train"]

from datasets import concatenate_datasets

# Concatenate the datasets
concatenated_dataset = concatenate_datasets([train_dataset, dataset1])

Expected behavior
I would expect the two datasets to be concatenated without error. The len(dataset1) is equal to 4000 and the len(train_dataset) is equal to 1 so I would exepect concatenated_dataset to be created and having lenght 4001.
Environment info
Python 3.11.4 and using windows
Thank you for your help

The answers.text field in the JSON dataset needs to be a list of strings, not a string.
So, here is the fixed code:
from huggingface_hub import notebook_login
from datasets import load_dataset

notebook_login("mymailadresse", "mypassword")
squad = load_dataset("squad", split="train[:5000]")
squad = squad.train_test_split(test_size=0.2)
dataset1 = squad["train"]

import json

mybase = [
    {
        "id": "1",
        "context": "She lives in Nantes",
        "question": "Where does she live?",
        "answers": {
            "text": ["Nantes"],
            "answer_start": [13],
        }
    }
]

# Save the data to a JSON file
json_file_path = r"data"
with open(json_file_path, "w", encoding= "utf-8") as json_file:
    json.dump(mybase, json_file, indent=4)

# Load the JSON file as a dataset
custom_dataset = load_dataset("json", data_files=json_file_path, features=dataset1.features)

# Access the train split
train_dataset = custom_dataset["train"]

from datasets import concatenate_datasets

# Concatenate the datasets
concatenated_dataset = concatenate_datasets([train_dataset, dataset1])


Fix carthage code sample

Before merging, I'm very curios on why this didn't get caught by our docs CI

It did: https://github.com/fastlane/docs/pull/191


DNN-8312: merge incremental config files if version is incremental version.

The current fix only covers the install/upgrade wizard but do not the auto-install. I am working in a new PR to fix the issue properly avoiding process twice the internal config files.

Closed PR. A new one has been provided https://github.com/dnnsoftware/Dnn.Platform/pull/1235


docs(typescript): add note on global.d.ts for ambient modules

This PR includes a documentation update to note that the src/global.d.ts is recognized by default for type declarations.
Added to the docs so others that come across this find the solution in the official docs.

While working with TypeScript and create-react-app, I ran into a scenario where I needed to declare an ambient module. I created a src/types.d.ts file to declare my module only to find out that the file is not recognized.
Through my research, I found this issue:
https://github.com/facebook/create-react-app/issues/6553
The suggestion was to modify the tsconfig which didn't seem like a great solution.
Found this thread:
https://stackoverflow.com/questions/54949876/create-react-app-typescript-does-not-load-d-ts-file
That thread recommended using a src/global.d.ts file which solved my problem.

@amyrlam @iansu Do I need to add any additional information or is this something that you are not looking at having merged?

@amyrlam @iansu Do I need to add any additional information or is this something that you are not looking at having merged?

@iansu @alshamiri5 I saw that this PR was approved on September 6th, but it looks like the approval is no longer here. Do I need to add any additional information?

@iansu @alshamiri5 I saw that this PR was approved on September 6th, but it looks like the approval is no longer here. Do I need to add any additional information?

@iansu @alshamiri5 I saw that this PR was approved on September 6th, but it looks like the approval is no longer here. Do I need to add any additional information?

@iansu   I saw that this PR was approved on September 6th, but it looks like the approval is no longer here. Do I need to add any additional information?


Fixed path being unshifted before returned generator exhausted.

I've experienced some request issues on long generator routes, mainly related to SCRIPT_NAME and PATH_INFO changing between yields.
After some debugging I've realized path_shift was being called before yielding, breaking all get_url calls on my partial templates from my mounted app.
This patch fixes that chaining the path_shift to response body, instead of calling right after return.

@defnull can you close this PR? The OP has deleted it's repo, and there is a cleaner version in #695 .
Thanks, Oz


First additions of configurable settings to hyku_addons

This PR adds the existing settings that can be seen in the UI on sandbox to hyku_addons. This include ability to set contact_email, weekly_email_list, yearly_email_list etc.

Originally yes, but it could be used to show the owner of a group of
tenants eg BL is the tenant that brought Mola, NMS, Kew etc.
On Thu, 8 Oct 2020, 17:54 Chris Colvard<EMAIL_ADDRESS>wrote:

@cjcolvar commented on this pull request.
In app/models/concerns/hyku_addons/account_behavior.rb
https://github.com/ubiquitypress/hyku_addons/pull/11#discussion_r501869392
:

 has_many :children, class_name: "Account", foreign_key: "parent_id", dependent: :destroy, inverse_of: :parent

 belongs_to :parent, class_name: "Account", inverse_of: :parent, foreign_key: "parent_id", optional: true

 store_accessor :data, :is_parent

That makes sense. Are the parent/children associations for the shared
index/search? I'm wondering if we really still need them.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ubiquitypress/hyku_addons/pull/11#discussion_r501869392,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACQOKUOMNA4IHKBCVYO6GLSJXVD3ANCNFSM4SEUGQRA
.

We can use that approach  if that is your preference.
On Thu, 8 Oct 2020, 17:50 Chris Colvard<EMAIL_ADDRESS>wrote:

@cjcolvar commented on this pull request.
In spec/requests/hyku_addons/account_settings_request_spec.rb
https://github.com/ubiquitypress/hyku_addons/pull/11#discussion_r501867330
:

after do

account.reset!
end

describe 'GET /admin/account_settings' do
it "GETS index  /admin/account_settings" do

 get admin_account_settings_url

 expect(response).to have_http_status(:ok)

end
end

describe "Update single keys in settings hash" do
it "can update a single settings key eg  contact_email" do

 patch update_single_admin_account_setting_url(id: account, partial_name: 'contact_email'), params: { "account" => { "settings" => { "contact_email" =><EMAIL_ADDRESS>} } }

 expect(response).to redirect_to admin_account_settings_url

 follow_redirect!

I was thinking the test could be something like this:
it "updates a single setting" do
expect do
patch update_single_admin_account_setting_path(id: account), params: { "account" => { "settings" => { "contact_email" =><EMAIL_ADDRESS>} } }
end.to change { Account.find(accout.id).settings.contact_email<EMAIL_ADDRESS>expect(response).to redirect_to admin_account_settings_path
end
This is what I'm doing a lot of right now with the API tests: test the
request and what it's affects are then what the response looks like.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ubiquitypress/hyku_addons/pull/11#discussion_r501867330,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACQOKQN5KBMAOGU2HKS4GLSJXUWVANCNFSM4SEUGQRA
.

This looks good! Thanks for working through the changes! 1st_place_medal

thanks


⚠ Bofrost.fr has degraded performance

In 5c17f71, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1010 ms

Resolved: Bofrost.fr performance has improved in bff4669 after 13 minutes.


feat: reducing list item padding vertically

Reduced the vertical padding of list items in the left sidebar so that you can see more of them at a glance. I think that will be helpful for people who actually use this template.
Super simple and straightforward, but I wanted to see it done.

My fork was out of sync :/. Will do this again in another PR.


fix link

fix #25

It is best to make the redirected new domain configurable instead of constant fxzhihu.com. It's useful for testing. The links would jump to localhost dev server instead of production server after configuring.


Some small corrections, improvements and code cleanup

Sorry, but I am having several problems with this pull request:

The language of this project is English, this includes code, tests and documentation.
I do not accept "code cleanups", as I think the code is already clean.
Please do not put too much changes into one pull request, if one change is not accepted, I have to deny the whole pull request


Uncaught TypeError: Cannot read property 'getMeshMixin' of undefined(…)

After including the script i got this error from the script. Doesn't work

Can you post the code or reproduce the error in a CodePen?

Closing as this issue has been open for quite some time and I'm about to archive this project.


CI: segfault in Accelerate job

From this CI log:
scipy/signal/tests/test_array_tools.py ......                            [ 39%]
Fatal Python error: Segmentation fault
...
scipy/signal/tests/test_bsplines.py ......................xXXXxx

I'm not able to reproduce this locally with an x86 mac with Accelerate. May be an ARM/Accelerate specific bug.

this doesn't appear to be showing in other runs of the job, so may be a one-off / flaky thing. I don't see why it would be related to the PR it showed up in.

I can't see this locally with M1/Accelerate.

I've re-triggered the job at https://github.com/scipy/scipy/actions/runs/10310293783/job/28603796904

the job succeeded on the second try, so let's dismiss this as a one-off and hope it doesn't re-occur