High-level Simulation type to manage time stepping

This PR introduces a Simulation type that manages time stepping with a high level interface.
I think diagnostics and output_writers will have to become keyword arguments to time_step!.
It will be a pretty big breaking change once we move diagnostics and output_writers outside of Model so would be good to agree on the design and API before refactoring.
@glwagner Let me know what you think, we can iterate on the design in this PR.
Resolves #432
Resolves #447

Ah so great. One quick thought: we can reinterpret time_step to refer only to a single time-step, and move the current multi step function to run! Is there a convenience function that takes AbstractModel as input rather than Simulation? I think that’s important for simple scripts and examples.

From discussion with @glwagner:

Should get rid of
https://github.com/climate-machine/Oceananigans.jl/blob/73bea229721624d65d4e2b2b79810622cf221993/src/TimeSteppers/adams_bashforth.jl#L39
Multiple stop criteria would be nice: stop_simulation(simulation, verbose=true).
stop_criteria should be a Tuple of functions.
We want a run_until!(model, t) or time_step_until!(model, t) function for AB2 (and RK3).
Should be progress(simulation).
Deprecate but keep around time_step! for multiple time steps.

Simulation API is almost ready.
Major breaking changes:

Diagnostics and output writers are now part of Simulation, not Model.
time_step! takes a single time step. For multiple time steps, use a loop or a Simulation.

Still need to:

Write some simple Simulation units tests although it's already used by a lot of tests already.
Update examples.
Update model setup documentation.


Incorrect highlighting for TypeScript

Incorrect highlighting for TypeScript
To Reproduce

Run vim --clean temp.ts
Type:

const pipe =
  <A, B, C>(f: (a: A) => B, g: (b: B) => C) =>
  (x: A): C =>
    g(f(x));

pipe(
  (): unknown => ({ err: new Error(`date: ${new Date()}`) }),
  () => '',
)('');
console.log("It's not highlighted properly before ` appears");
console.log('And this line is good!');

You can see error here:

Expected behavior
Syntax highlighting should work properly. :)
Environment (please complete the following information):

vim --version

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 04 2021 11:44:01)
macOS version - x86_64
Included patches: 1-3400
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               +file_in_path      +mouse_urxvt       -tag_any_white
+arabic            +find_in_path      +mouse_xterm       -tcl
+autocmd           +float             +multi_byte        +termguicolors
+autochdir         +folding           +multi_lang        +terminal
-autoservername    -footer            -mzscheme          +terminfo
-balloon_eval      +fork()            +netbeans_intg     +termresponse
+balloon_eval_term +gettext           +num64             +textobjects
-browse            -hangul_input      +packages          +textprop
++builtin_terms    +iconv             +path_extra        +timers
+byte_offset       +insert_expand     +perl              +title
+channel           +ipv6              +persistent_undo   -toolbar
+cindent           +job               +popupwin          +user_commands
-clientserver      +jumplist          +postscript        +vartabs
+clipboard         +keymap            +printer           +vertsplit
+cmdline_compl     +lambda            +profile           +virtualedit
+cmdline_hist      +langmap           -python            +visual
+cmdline_info      +libcall           +python3           +visualextra
+comments          +linebreak         +quickfix          +viminfo
+conceal           +lispindent        +reltime           +vreplace
+cryptv            +listcmds          +rightleft         +wildignore
+cscope            +localmap          +ruby              +wildmenu
+cursorbind        +lua               +scrollbind        +windows
+cursorshape       +menu              +signs             +writebackup
+dialog_con        +mksession         +smartindent       -X11
+diff              +modify_fname      -sodium            -xfontset
+digraphs          +mouse             -sound             -xim
-dnd               -mouseshape        +spell             -xpm
-ebcdic            +mouse_dec         +startuptime       -xsmp
+emacs_tags        -mouse_gpm         +statusline        -xterm_clipboard
+eval              -mouse_jsbterm     -sun_workshop      -xterm_save
+ex_extra          +mouse_netterm     +syntax
+extra_search      +mouse_sgr         +tag_binary
-farsi             -mouse_sysmouse    -tag_old_static
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X -DMACOS_X_DARWIN -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang -L. -fstack-protector-strong -L/usr/local/lib -L/usr/local/opt/libyaml/lib<EMAIL_ADDRESS>-L/usr/local/opt/readline/lib -L/usr/local/lib -o vim -lm -lncurses -liconv -lintl -framework AppKit -L/usr/local/opt/lua/lib -llua5.4 -mmacosx-version-min=11.3 -fstack-protector-strong -L/usr/local/lib -L/usr/local/Cellar/perl/5.34.0/lib/perl5/5.34.0/darwin-thread-multi-2level/CORE -lperl<EMAIL_ADDRESS>-lpython3.9 -framework CoreFoundation -lruby.3.0 -L/usr/local/Cellar/ruby/3.0.2/lib

OS: macOS 11.6
Terminal: iTerm2

Please try to see if you have the same problem with https:github.com/HerringtonDarkholme/yats.vim
If yes, then report there.  If not, then perhaps we need to fetch a new version from there.

@dkearns , it works!

This is mostly a note to myself but that was just a minimal fix for the specific report.
It needs to be generalised to all typescriptGlobal keywords that can be called as a constructor function.  Off the top of my head that excludes Reflect, arguments, and the old Iterator protocol stuff.
It looks like that list of globals needs a general update too.
I'll make a PR against the upstream repo soon and link it here.


Update partybus output private-chef -> Infra Server

Starting the process of killing off private chef as a term
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

https://buildkite.com/chef/chef-chef-server-master-omnibus-adhoc/builds/3038#38c731f2-32fd-4510-b494-350e43dbb61a


Move mdast-util-{from,to}-markdown to dependencies

Initial checklist

[x] I read the support docs
[x] I read the contributing guide
[x] I agree to follow the code of conduct
[x] I searched issues and couldn’t find anything (or linked relevant results below)
[x] If applicable, I’ve added docs and tests

Description of changes
mdast-util-mdxjs-esm depends on the types of both mdast-util-from-markdown and mdast-util-to-markdown.

FYI this is one of the type issues I ran into when upgrading xdm.

@ChristianMurphy I think these types:
https://github.com/syntax-tree/mdast-util-mdxjs-esm/blob/899df9783c476fc4d62e5135264304a0639e3577/index.js#L2-L5
make more sense in their respective utilities, rather than adding them to @types/mdast, which I feel is more about node interfaces


Some sample files not readable with GCC library (error #1035: Could not read ZIP file)

Using the GCC library version on Debian, it's not possible to read a number of sample files provided in the 3mf-samples repo. All fail with the same error message when running the Converter example program:
could not parse file: 80004005
error #1035: Could not read ZIP file

List of files that fail:

lib3mf-samples.git/geometries/torus.3mf...
lib3mf-samples.git/materials/kinect_scan.3mf...
lib3mf-samples.git/materials/multipletextures.3mf...
lib3mf-samples.git/materials/pyramid_vertexcolor.3mf...
lib3mf-samples.git/materials/rhombicuboctahedron_color.3mf...
lib3mf-samples.git/materials/sphere_logo.3mf...

Many thanks for adding gcc support, that is extremely useful.

Digging a bit deeper, the reason for the failure seems to be that libzip detects the ZIP files to be multi-disk archives which are not supported.
 Is there anything planned to fix this? I can help.

I just had a look and it looks like the incriminated code is the following:
m_ZIParchive = zip_open_from_source(m_ZIPsource, ZIP_RDONLY | ZIP_CHECKCONS, &m_ZIPError);
if (m_ZIParchive == nullptr) {
  // error generated here

I’m trying to figure out what’s going on.

It fails due to: https://github.com/3MFConsortium/lib3mf/blob/master/Source/Libraries/libzip/zip_open.c#L280 triggering the multi-zip error (ZIP_ER_MULTIDISK). This line reads the first 4 bytes of the "end of central directory", directly after the PK\5\6 marker and expects both to be 0 (which means single-disk-archive).
The two entries are (according to https://users.cs.jmu.edu/buchhofp/forensics/formats/pkzip.html)
Disk Number 	The number of this disk (containing the end of central directory record)
Disk # w/cd 	Number of the disk on which the central directory starts

I'm not sure if it's a problem with libzip (maybe not detecting a zip64 format?) or if it's just the files having an invalid "end of central directory".

I tested with several .3mf files (even those created from Windows 10), and it always fails, so the problem is due to the lib, not the files.
Thank you for the explanation. I still have no idea how to fix that quickly.

Created how? Using lib3mf compiled with GCC on Windows? I'm pretty sure the native Windows implementation does not use libzip but likely the Windows OPC code (but I did not check the code for that yet).
The 3mf files I'm generating using lib3mf/libzip/GCC on Linux are perfectly ok and have a sensible "end of central directory".

No you misread me. The .3mf files are created with another tool (3D Builter, the built-in Windows application).

Any idea on how to rezip a .3mf? Like, calling unzip then zip on the extracted files? That would be useful as temporary fix for my use case and I could work on the issue more relieved.

You could go in the folder that you have 3MF related documents (i.e. 3D, _refls,...) and then select all and then right click and use 7-zip (7zFM.exe) to create a .zip file by adding the selected files. Then rename the new compressed zipped file by changing its extension from zip to 3mf.

Note that on Windows, you could  select the files and then right click and select  "Send to" "Compresseed (zipped) folder" to generate the file.

I’m on linux. The idea is to unzip files written on Windows then zip them back on linux. But when I do this I get error on the signature of the 3mf file.

It's probably fine to just use any other ZIP tool, even on Windows. It seems it's 3D-Builder which creates the files that can't be read by libzip. I've pinged the libzip mailing list, maybe someone there can add some information.
On Linux just re-zipping with zip looks fine, at least the Converter example can read the file afterwards (and the generated STL looks ok in a 3d viewer).
$ ls -la
total 96
drwxr-xr-x  2 tp   users  4096 Feb 13 17:26 .
drwxrwxrwt 21 root root  65536 Feb 13 17:26 ..
-rw-r--r--  1 tp   users 21165 Feb 13 17:24 torus.3mf
$ Converter torus.3mf
------------------------------------------------------------------
3MF Model Converter
------------------------------------------------------------------
reading torus.3mf...
could not parse file: 80004005
error #1035: Could not read ZIP file
$ mkdir t
$ cd t
$ unzip ../torus.3mf
Archive:  ../torus.3mf
  inflating: _rels/.rels
  inflating: 3D/3dmodel.model
  inflating: [Content_Types].xml
$ zip -9r ../torus2.3mf _rels 3D '[Content_Types].xml'
  adding: _rels/ (stored 0%)
  adding: _rels/.rels (deflated 32%)
  adding: 3D/ (stored 0%)
  adding: 3D/3dmodel.model (deflated 89%)
  adding: [Content_Types].xml (deflated 39%)
$ cd ..
$ ls -la
total 124
drwxr-xr-x  3 tp   users  4096 Feb 13 17:27 .
drwxrwxrwt 21 root root  65536 Feb 13 17:26 ..
drwxr-xr-x  4 tp   users  4096 Feb 13 17:27 t
-rw-r--r--  1 tp   users 21363 Feb 13 17:27 torus2.3mf
-rw-r--r--  1 tp   users 21165 Feb 13 17:24 torus.3mf
$ Converter torus2.3mf
------------------------------------------------------------------
3MF Model Converter
------------------------------------------------------------------
reading torus2.3mf...
elapsed time: 0ms
writing torus2.stl...
elapsed time: 0ms
done
$ ls -la
total 232
drwxr-xr-x  3 tp   users   4096 Feb 13 17:27 .
drwxrwxrwt 21 root root   65536 Feb 13 17:26 ..
drwxr-xr-x  4 tp   users   4096 Feb 13 17:27 t
-rw-r--r--  1 tp   users  21363 Feb 13 17:27 torus2.3mf
-rw-r--r--  1 tp   users 110084 Feb 13 17:27 torus2.stl
-rw-r--r--  1 tp   users  21165 Feb 13 17:24 torus.3mf

Cool! I’ll try that on Monday! Thanks!

I just got a patch for libzip on the mailing list, so hold on with re-zipping the files... testing now...

With the patch, I can open all the sample file without any problems. (Patch on the libzip mailing list: http://www.nih.at/listarchive/libzip-discuss/msg00655.html).
Please let me know how to proceed. If wanted, I can create a pull request with that patch. As alternative, the author of the patch offered to create a library patch release.

I guess a library patch release would be appreciated. I’ll apply the patch as well to test! Thanks!

I've just released libzip-1.1.2 which includes the fix.
Btw, now there is also a github mirror of the libzip repository available at http://github.com/nih-at/libzip

Thanks, awesome! :)

With the patch, I can only import geometries/torus.3mf file and not the 3mf files from materials folder!
Does anybody else have similar issue?

May you post the error messages? Because I can load them.

Same previous error message: returned error is 80004005

Can you please make sure your sources are synced up completely with libzip-1.1.2?

Once synced, 3MF files are imported successfully.


chore: bdd-sbhg-1576061308 to 0.0.1

chore: Promote bdd-sbhg-1576061308 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[AutoPR operationalinsights/resource-manager] Remove deprecated search APIs and definitions

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7154

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/7584


ERROR: can't start microservices -apps abacus-usage-meter and abacus-usage-collector

Hi all,
I try deploy CF-Abacus to our CF via Concourse pipeline. In job abacus-deploy and task start_abacus I get errors in start apps abacus-usage-meter and abacus-usage-collector . The error is related to AmqpConnectionManager .
Error messages is:
2018-09-12T07:09:00.64+0000 [APP/PROC/WEB/0] ERR (node:93) UnhandledPromiseRejectionWarning: Error: Must supply either urls or findServers
2018-09-12T07:09:00.64+0000 [APP/PROC/WEB/0] ERR     at new AmqpConnectionManager (/home/vcap/app/node_modules/amqp-connection-manager/lib/AmqpConnectionManager.js:71:19)
2018-09-12T07:09:00.64+0000 [APP/PROC/WEB/0] ERR     at Object.connect (/home/vcap/app/node_modules/amqp-connection-manager/lib/index.js:15:12)
2018-09-12T07:09:00.64+0000 [APP/PROC/WEB/0] ERR     at ConnectionManager.connect (/home/vcap/app/node_modules/abacus-rabbitmq/src/lib/connection-manager.js:17:29)
2018-09-12T07:09:00.64+0000 [APP/PROC/WEB/0] ERR     at Consumer.process (/home/vcap/app/node_modules/abacus-rabbitmq/src/lib/consumer.js:76:49)
2018-09-12T07:09:00.64+0000 [APP/PROC/WEB/0] ERR     at startApp (/home/vcap/app/src/index.js:204:25)
2018-09-12T07:09:00.64+0000 [APP/PROC/WEB/0] ERR     at
2018-09-12T07:09:00.64+0000 [APP/PROC/WEB/0] ERR     at process._tickCallback (internal/process/next_tick.js:188:7)
2018-09-12T07:09:00.64+0000 [APP/PROC/WEB/0] ERR (node:93) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
2018-09-12T07:09:00.64+0000 [APP/PROC/WEB/0] ERR (node:93) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Any idea?
cf services related to rabbitmq is:
abacus-rabbitmq-instance   iwcf-rabbitmq    standard   abacus-usage-collector, abacus-usage-meter                                       create succeeded
thx for any help

Can you post the sanitized rabbitmq service credentials?
Abacus is looking for uri. The one we are using looks like this:
amqp://<user>:<password>@<IP_ADDRESS>:5672/production

hello,
part of credential is
"protocols": {
"amqp": {
"host": "<IP_ADDRESS>",
"hosts": [
"<IP_ADDRESS>"
],
"password": "password",
"port": 5672,
"ssl": false,
"uri": "amqp://user_id:password@<IP_ADDRESS>:5672/87145845-1962-4ab7-a283-c9ce95a31f57",
"uris": [
"amqp://user_id:password@<IP_ADDRESS>:5672/87145845-1962-4ab7-a283-c9ce95a31f57"
],
"username": "user_id",
"vhost": "87145845-1962-4ab7-a283-c9ce95a31f57"
},
full env for app:
Getting env variables for app abacus-usage-collector in org abacus / space abacus as admin...
OK
System-Provided:
{
"VCAP_SERVICES": {
"my-rabbitmq": [
{
"binding_name": null,
"credentials": {
"dashboard_url": "https://cf-management-rabbitmq.mydomain.sk/#/login/user_id/password",
"hostname": "<IP_ADDRESS>",
"hostnames": [
"<IP_ADDRESS>"
],
"http_api_uri"<EMAIL_ADDRESS>"http_api_uris": [
<EMAIL_ADDRESS>],
"password": "password",
"protocols": {
"amqp": {
"host": "<IP_ADDRESS>",
"hosts": [
"<IP_ADDRESS>"
],
"password": "password",
"port": 5672,
"ssl": false,
"uri": "amqp://user_id:password@<IP_ADDRESS>:5672/87145845-1962-4ab7-a283-c9ce95a31f57",
"uris": [
"amqp://user_id:password@<IP_ADDRESS>:5672/87145845-1962-4ab7-a283-c9ce95a31f57"
],
"username": "user_id",
"vhost": "87145845-1962-4ab7-a283-c9ce95a31f57"
},
"management": {
"host": "<IP_ADDRESS>",
"hosts": [
"<IP_ADDRESS>"
],
"password": "password",
"port": 15672,
"ssl": false,
"uri": "http://user_id:password@<IP_ADDRESS>:15672/87145845-1962-4ab7-a283-c9ce95a31f57",
"uris": [
"http://user_id:password@<IP_ADDRESS>:15672/87145845-1962-4ab7-a283-c9ce95a31f57"
],
"username": "user_id",
"vhost": "87145845-1962-4ab7-a283-c9ce95a31f57"
},
"management+ssl": {
"host": "<IP_ADDRESS>",
"hosts": [
"<IP_ADDRESS>"
],
"password": "password",
"path": "/api/",
"port": 15672,
"ssl": false,
"uri": "http://user_id:password@<IP_ADDRESS>:15672/api/",
"uris": [
"http://user_id:password@<IP_ADDRESS>:15672/api/"
],
"username": "user_id"
},
"mqtt": {
"host": "<IP_ADDRESS>",
"hosts": [
"<IP_ADDRESS>"
],
"password": "password",
"port": 1883,
"ssl": false,
"uri": "mqtt://87145845-1962-4ab7-a283-c9ce95a31f57%3Auser_id:password@<IP_ADDRESS>:1883",
"uris": [
"mqtt://87145845-1962-4ab7-a283-c9ce95a31f57%3Auser_id:password@<IP_ADDRESS>:1883"
],
"username": "87145845-1962-4ab7-a283-c9ce95a31f57:user_id"
},
"stomp": {
"host": "<IP_ADDRESS>",
"hosts": [
"<IP_ADDRESS>"
],
"password": "password",
"port": 61613,
"ssl": false,
"uri": "stomp://user_id:password@<IP_ADDRESS>:61613",
"uris": [
"stomp://user_id:password@<IP_ADDRESS>:61613"
],
"username": "user_id",
"vhost": "87145845-1962-4ab7-a283-c9ce95a31f57"
}
},
"ssl": true,
"uri"<EMAIL_ADDRESS>"uris": [
<EMAIL_ADDRESS>],
"username": "user_id",
"vhost": "87145845-1962-4ab7-a283-c9ce95a31f57"
},
"instance_name": "abacus-rabbitmq-instance",
"label": "my-rabbitmq",
"name": "abacus-rabbitmq-instance",
"plan": "standard",
"provider": null,
"syslog_drain_url": null,
"tags": [
"rabbitmq",
"messaging",
"message-queue",
"amqp",
"stomp",
"mqtt",
"pivotal"
],
"volume_mounts": []
}
],
{
"VCAP_APPLICATION": {
"application_id": "a13fd9b5-ff53-48fe-b6fa-d3a4e1fccaaf",
"application_name": "abacus-usage-collector",
"application_uris": [
"abacus-usage-collector.mydomain.sk"
],
"application_version": "6d9efbf4-c5d6-4241-a6ed-b9bcde8b6367",
"cf_api": "https://api.mydomain.sk",
"limits": {
"disk": 512,
"fds": 16384,
"mem": 2048
},
"name": "abacus-usage-collector",
"space_id": "1b211c9b-3a78-4d63-8b51-d7331d950a05",
"space_name": "abacus",
"uris": [
"abacus-usage-collector.mydomain.sk"
],
"users": null,
"version": "6d9efbf4-c5d6-4241-a6ed-b9bcde8b6367"
}
}
User-Provided:
ACCOUNT: abacus-account-plugin
API: https://api.mydomain.sk:443
AUTH_SERVER: https://api.mydomain.sk:443
BATCH_SIZE: 10
CLIENT_ID: abacus
CLIENT_SECRET: clientsecret
CLUSTER: false
CONF: small
DBALIAS: db-collector
DBCLIENT: abacus-mongoclient
DEBUG: e-abacus-*
DEBUG_STRIPLF: true
EUREKA: abacus-eureka-plugin
EUREKA_PASSWORD: eurekapassword
EUREKA_USER: abacus-hystrix
EVAL_TIMEOUT: 100
EVAL_VMTYPE: vm2
IGNORE_ORGANIZATION: true
JWTALGO: RS256
JWTKEY: -----BEGIN PUBLIC KEY-----
jwt key
-----END PUBLIC KEY-----
MAX_INFLIGHT: 400
MAX_SYSTEM_INFLIGHT: 12
NODE_MODULES_CACHE: false
OPTIMIZE_MEMORY: true
PRIMARY_DOMAIN: mydomain.sk
PROVISIONING: abacus-provisioning-plugin
RABBIT_SERVICE_NAME: my-rabbitmq
RATE_LIMIT: {"dbalias":"db-collector","collectionName":"test-rate-limit-collection","window":{"sizeMs":60000,"maxRequestsCount":2}}
REPLAY: 1800000
SECURED: true
SKIP_SSL_VALIDATION: true
SYSTEM_INFLIGHT_ENABLED: true
THROTTLE: 100
VALIDATE_FUNCTIONS: true
No running env variables have been set
No staging env variables have been set

@jkujovic Can you please rename the service instance from  abacus-rabbitmq-instance instance to rabbitmq?

I rename it, bud still the same error
jan

Can you please post the sanitized instance details again?

With latest Abacus commits we removed service instance support as we found out this is quite unstable due to binding/unbinding can break due to update, backup or infrastructure update.
We now support plain URIs only. This will allow us to simplify the code and deployment. Service keys can still be used to obtain the URI and credentials.
The pipeline from this bug used the pipeline we open-sourced. However we were not using it internally, so it is obsolete. A replacement one should be added as part of #1057


add snap pins

Quoting a post to the forum:
The best way to find out how the snap pins work is to print Emmet's gear
cube https://www.thingiverse.com/thing:213946
There are two versions of the hole inset, one which allows rotation and one
which is fixed. They hold very solidly, but can be pulled apart with enough
effort. The smallest I have been able to make useful pins is 4mm long with
a 2.5mm diameter, anything smaller than that is too fragile to use.
The fully customisable pins are at https://www.thingiverse.com/thing:3218332,
and the output options include a test socket you can print to try it... The
code generates an STL for the pin, which is printed flat, and an STL for
the socket, which is difference'd from the surface you want to embed the
pin in.
I printed the geared cube and the pins work quite well.  Seem like a nice part for the toolbox.

Verrrry interesting.  Definitely a good candidate.

Note also that I did use lube on the pins, which definitely helped.

Now have snap_pins and rabbit_clips.


permission denied when installing more-itertools

I'm relatively new to poetry. Installed poetry on my Arch machine using the package repository. I then created a project and added some packages to it, without any problems. The little script I wrote also runs just fine in the virtualenv.
I then ran poetry self add poetry-dotenv-plugin, which results in a permission denied error:
EnvCommandError

  Command ['/usr/bin/python', '/usr/lib/python3.10/site-packages/virtualenv/seed/wheels/embed/pip-22.0.4-py3-none-any.whl/pip', 'install', '--disable-pip-version-check', '--prefix', '/usr', '--upgrade', '--no-deps', '/home/bbbart/.cache/pypoetry/artifacts/25/9a/c4/c53a87a07fc57c9f3f6a37c82cc237c0f3fd30c1e7a0f67e98c32af5e8/more_itertools-8.14.0-py3-none-any.whl'] errored with the following return code 1, and output:
  Processing /home/bbbart/.cache/pypoetry/artifacts/25/9a/c4/c53a87a07fc57c9f3f6a37c82cc237c0f3fd30c1e7a0f67e98c32af5e8/more_itertools-8.14.0-py3-none-any.whl
  Installing collected packages: more-itertools
    Attempting uninstall: more-itertools
      Found existing installation: more-itertools 8.13.0
      Uninstalling more-itertools-8.13.0:
  ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: 'WHEEL'
  Consider using the `--user` option or check the permissions.

I quickly ran out of ideas on what to try next.
Perhaps someone here could point me in the right direction?
Feel free to direct me to another place that might be more appropriate for this question.

I can see the command is trying to install a package somewhere below /usr, which my user of course has no permissions for. But how to avoid this? Or should I not have installed poetry through pacman in the first place, or try to find an Arch package for this plugin?

I would recommend installing poetry via the official installer method that is mentioned in the Poetry documentation. I have confirmed that method works on the latest Arch.
You're unlikely to be able to find an Arch package for this plugin, so if you wanted to go that route you'd probably have to create one yourself as I'm not that familiar with Arch. If you still want to stick with pacman then I think I'd need to know more details about how you installed poetry through pacman. For example, If you installed through sudo pacman then perhaps that's related.

I have faced the same issue recently. If I install poetry with pacman or pip, I get permission denied. Solved by installing poetry with pipx.

Okay, thanks for the advice. It probably makes sense, indeed, to install poetry through pip.
I tend to avoid using other package managers than my distro's "official" one, but an exception here can be made.
Thanks again!


Fixdashboard

Fixes Dashboard
Changes proposed in this pull request:
-Fixes Dashboard class
-Removes NavX print statements

Merging with Admin beacuse it needs to be fixed


Enforce operation order

Enforce the order of execution of the HTTP requests by sorting the fixture set by file name. Optionally, a wait argument can be provided to add a delay between HTTP requests.
Rationale
As this is a tool for replaying events, I expect the ability to define the order in which events should be processed; following the alphabetical order of the files in the directory seems to be the more natural approach.
Furthermore, the wait parameter can slow down the ingestion rate for the receiving service, if needed.

Code formatted with cargo fmt


Incorrect Wrapper Closure

Just used (what I think is the default template) and the layout.app that was generated contained
@if (Auth::guest())
The else statement of that if statement has the black side bar inside it. The closing of the:
 @else     <div id="wrapper" class="">
Needs to be after the main content otherwise the side bar menu appears over the top of the content area

For speedI corrected this myself with:
`@if (Auth::guest())
@else
    </div>
@endif
<!-- /#page-content-wrapper -->`

@gsc89 Can you post your full layout file somewhere ?

closing.


Why controller does not destroy method showing

late final controller = VideoController(player);
how to destroy the controller

You don't.


Unable to open Version 1 repositories

I get this error when trying to open version 1 git repositories:
unsupported repository version 1. Only versions up to 0 are supported.; class=Repository (6)

I tried using git2 from github:
[dependencies.git2]
git = "https://github.com/rust-lang/git2-rs.git"

I thought that perhaps this would work, since I saw that libgit2 added support for V1 repos on Feb 6th:
https://github.com/libgit2/libgit2/commit/06f0230073e0159933aa19d97fce0cbe3b9a3231
And that the version was bumped to 1.0 on March 28th:
https://github.com/libgit2/libgit2/commit/274b2a017db3c3e56959bf78f4dcd8e1d4898257
So I thought that git2 from master would support V1 repos. Cargo tree shows the following:
├── git2 v0.13.2 (git+https://github.com/rust-lang/git2-rs.git#c42e8e964b99e193ec3e64619c2be34f262ea0c2)
│   ├── libgit2-sys v0.12.3+1.0.0 (git+https://github.com/rust-lang/git2-rs.git#c42e8e964b99e193ec3e64

So it looks like it's using the correct version from master.
Is there anything additional needed to enable support for V1 repos?
And for reference, the repo I'm trying to use is this one.

It may be the case that commit wasn't included in the 1.0 release? I'm honestly not entirely sure. This may be a better question for libgit2 itself?

I tried cargo run --example clone https://fuchsia.googlesource.com/fuchsia fucshia and I got a zlib error:
error: error reading from the zlib stream; class=Zlib (5)9425)  /  chk   0% (   0/   0)
Cloning that repo with the git cli, it indicates it is version 0, so I'm not sure why you got a version error. Is the version error maybe misleading to some other problem?

It may be the case that commit wasn't included in the 1.0 release? I'm honestly not entirely sure. This may be a better question for libgit2 itself?

I just tried out v1 of libgit2 (commit 7d3c7057f0e774aecd6fc4ef8333e69e5c4873e0) from a simple C program, and I got the same error. I think I was looking a commit that bumbed the libgit2 version number to 1 in a constant, and not the actual release commit, and that you're right and this didn't actually make it into libgit2 v1.0.
Sorry for the spurious issue!


Created MaxNumber.cpp

Program to find largest number in the array. HactoberFest!
pls merge my pr.

please star the repo, thanks :)


⚠ HawkeUno has degraded performance

In d4d7042, HawkeUno ($UNO) experienced degraded performance:

HTTP code: 403
Response time: 4360 ms

Resolved: HawkeUno performance has improved in c86b96d after 16 minutes.


Added ExaminationResult and ExaminationScene

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 96.15385% with 1 line in your changes missing coverage. Please review.

Project coverage is 80.67%. Comparing base (878cc17) to head (20ffb61).

Files with missing lines
Patch %
Lines

.../github/benpollarduk/ktaf/commands/game/Examine.kt
85.71%
0 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #17      +/-   ##
============================================
+ Coverage     80.61%   80.67%   +0.05%
- Complexity      865      869       +4
============================================
  Files           121      123       +2
  Lines          3178     3193      +15
  Branches        504      505       +1
============================================
+ Hits           2562     2576      +14
  Misses          337      337
- Partials        279      280       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add RNG API

This is based on and supersedes @lthiery's #50.
I've made the following changes:

Made it possible to use RNG and USB at the same time.
Made in compile on STM32L0x1.
Fixed warnings in RNG example.

@lthiery Please let me know what you think.
Close #50

LTGM. Sorry I didn't test the combined functionality in my original PR!


Pbft rebroadcast soft votes in master branch

Purpose
Fix https://github.com/Taraxa-project/taraxa-node/issues/1491
How does the solution address the problem

Changes made
Cherry pick from https://github.com/Taraxa-project/taraxa-node/pull/1487

@gaoqi8649 we are not just creating random PRs into the master anymore... The only situation when we would create PR like this into the master is:

there is a bug in mainnet candidate that needs to be fixed immediately
hotfix branch will the actual fix will be created, merged into the master, new tag created, then merged into the testet/develo
this process must be first discussed and agreed on between others

The bug is a race condition, and will happen more rarely when nodes size get bigger. But this is still a hidden danger in Mainnet and Testnet.
The fix will not need force all players to upgrade and also don't need set a hardfork.
I recommend merge the fix to make our mainnet more strong.

closing this as it is already merged in develop


Tyranny of the Majority

What is the Democracy Earth position on this concept? Is the majority always right? Here in the USA, we saw our mechanism, the Electoral College, once again fail to be used correctly. I think the only way to protect from tyranny is that everyone is well educated, can voice their understanding of the relevant knowledge, and have a chance to act upon that knowledge.
Regardless, this concept is an important one, is frequently a counterargument to Direct Democracy, and should be formally addressed in the Manifesto.

Agree that an education populace is the best protectant against tyranny (and any kind of violence). The concept of mob rule is discussed in Section 2.6, summing it up here I would say that the aim of liquid democracy - the mission of its delegative mechanisms -  is to achieve the greatest amount of legitimacy while empowering the most knowledgeable voices in any community.

IMHO you two have made three fundamental social engineering mistakes in your posts:

"Tyranny of the Majority" is not a thing. If you actually look at the data, you'll see that every proposed example of this phenomenon fails the "majority" part of the description. What they invariably actually are examples of are "Tyranny of the Active Participants".  "Active Participants" being vastly more likely to be SDAP (http://www.matchism.org/) and so prone to aggression/prejudice/etc. The true majority are neurotypical (i.e., not SDAP) and so are far less likely to exhibit these characteristics. Therefore we don't need to solve the "Tyranny of the Majority" problem at all and what we actually need to solve is the unequal participation rate problem.
Proposing changing The People instead of designing the system to work with them as they are is the hallmark of an amateur social engineer. While it's undoubtedly beneficial to both the individual and society to provide everyone a high level of education, any system that requires this before it will work properly is doomed to failure (due to the chicken and egg problem, if nothing else).
Liquid Democracy doesn't work, and in fact has fundamental design flaws. See my "Critique" in the "Issues" section for a description why that is.

Unfortunately SSC (and this paper that describes it) doesn't address any of these issues and AFAIK there is only one system that addresses all of them: https://www.proxyfor.me/

It looks like we pinned out a problem with education, but we need to redefine some concepts in education:
Originally our educational system was designed and developed as the modern nation state and at his service.
We put trust, effort and money in educational institutions, but they are as corrupted as democracy itself. Even to the point were it doesn't fulfill the social "contract" of education helping the economy, democracy, a search for jobs, personal happiness, trust in sciences...
The same way Blockchain can disrupt the bankings system or democracy. We need to find a way to use the power of trusted value for education. To democratize it and make it efficient. Where society can decide what this education would look like, but in a very informed way that adds freedom and responsibility to the system.
I am working in this concepts already and have many ideas on this topic.
I would love to see some more references to education in the Manifesto but I'm clear about where it would fit in and if it will at all. Any input?

@BarnabyThing wrote:

If I don't fully understand a process, I would like to delegate my vote to someone whom I believe does. That said, I haven't read your main proposals yet. Doing that now!!! Very interesting...

Hopefully if you've read the documentation (Help system) in https://www.proxyfor.me/ you now understand why your first statement doesn't make any sense: Expertise isn't even the issue, the problem is our inability to predict how the people we delegate to will vote, or even whether they will vote at all. This is why the LiquidDemocracy (LiquidFB) system failed to work as designed, and why the system proposed by DemocracyEarth will fail for exactly the same reasons: Neither of these systems address the fundamental problems with delegation in direct democracy. While the LiquidFB designers at least had the excuse that they were just experimenting and so didn't know that it would fail so badly DemocracyEarth doesn't have this excuse: Recreating LiquidFB without fixing (or apparently even acknowledging) the fatal flaws in that system is just a waste of everyone's time.

I skimmed some of it. I have child a little time. I was interested in your ideas of Social Dominators, Authoritarians, and Psychopaths and Neurotypicals.
I am presently reading, actually, listening to Audible The Patterning Instinct By Jeremy Lent. To me Maslows Hierachy of Needs seems pertinent and Spiral Dynamics but with some reservations of it's use regarding the latter.
Please point me to evidence of the failings of Liquid Democracy.

The SDAP stuff is important to understanding why our existing misrepresentative democracies don't work (the people that serve in them have personality characteristics that make them unlike the people they're supposed to be representing and so they simply don't vote like we would). But you don't have to know all that to understand and appreciate how https://www.proxyfor.me/ works.
Some German researchers did an excellent job documenting how the German Pirate Party's LQFB system worked, and how it failed to achieve any of the most important goals Liquid Democracy sets out.  You can read it at: http://www.matchism.org/refs/Kling_2015_LQFBforPP.pdf
That paper provided many of the key insights that led to the development of https://www.proxyfor.me/, which I believe solves all of the problems that caused the LQFB system to fail (and will of course cause Democracy Earth's current proposal to fail because it is doesn't address any of those flaws in LQFB). Those points are:

There was only about a 20% voting rate overall. This is extremely dangerous because what they've done is re-create oligarchy: "Government by the active participants". The "active participants" in any system are psychologically very different from the population as a whole and so end up making public policy decisions that are a poor match for them. For example, authoritarians and other conservatives have significantly higher participation rates in all democracies, which is one big reason why public policy so often appears to us neurotypicals to be prejudiced, tribalistic, and aggressive.

Only about 3% of votes ended up being cast by delegation: People didn't understand the system, couldn't find good representatives, and in many cases the representatives they chose didn't vote and didn't delegate, simply wasting the vast majority of The People's power.

Even if their chosen delegates did vote, the correlation between the votes of those delegates and the delegator's other votes was little better than chance. This is key: Delegation isn't about capturing expertise, it's about choosing someone who would vote like you would if you had the time to thoroughly research an issue (albeit possibly including years of education to gain the "expertise" necessary to understand the issues). But to the extent delegation worked at all in LQFB it devolved into misrepresentative democracy where "super voters" acquired power not by being able to cast these "correct votes", but merely by being popular.

Again I recommend at least reading the help system in https://www.proxyfor.me/ which includes more on all of these things and links to the science that backs up the design decisions.

I think limiting access to the democratic process for those not qualified nor interested enough to vote on an issue is a good idea. Trump has shown that even America was totally unprepared for the onset of idiocracy, and regulatory agencies such as the EPA FDA and FBI are prominent public victims of such greed and ignorance taking power in America. kialo.com might lend a solution to mitigating the ignorance and dynamics of mob mentality, by requiring at least debate, an improved idea would be informed debate where votes that obviously reflect an inability to understand the topic of discussion are eliminated as being irrelevant. The idea being that once experts have reviewed a proposal and agreed, the debate is made available publically, for comment and voting. The Pirate Party review of liquid democracy was insightful and it would be a waste of everyone's time if DE did not adjust for such identified failings in the model.


ClientError: AuthenticationError: authentication failed

EdgeDB Version: 2.12
EdgeDB CLI Version: 2.3.1+ef99779
OS Version: Linux 21a2ac190a2d 4.19.128-microsoft-standard #1 SMP Tue Jun 23 12:58:10 UTC 2020 x86_64 GNU/Linux

I'm attempting to use EdgeDB UI and find myself unable to get it to work:

If I don't specify EDGEDB_SERVER_USER and EDGEDB_SERVER_PASSWORD
a. I can access EdgeDB server via CLI with --dsn=edgedb://localhost:5656 --tls-security=insecure
b. I can't login into EdgeDB UI due to Error: Invalid credentials
If I specify EDGEDB_SERVER_USER and EDGEDB_SERVER_PASSWORD
a. I can't access EdgeDB server via CLI with --dsn=edgedb://admin:password@localhost:5656 --tls-security=insecure due to ClientError: AuthenticationError: authentication failed
b. I can't login into EdgeDB UI due to Error: Invalid credentials

Basically, I can't use the UI at all because if I understand correctly it currently doesn't support Trust auth and I'm unable to access the server AND the UI with SCRAM auth method. What am I doing wrong?
Here are my ENV variables:
- name: EDGEDB_SERVER_SECURITY
  value: insecure_dev_mode
- name: EDGEDB_DOCKER_LOG_LEVEL
  value: trace
- name: EDGEDB_PORT
  value: "5656"
- name: EDGEDB_SERVER_BIND_ADDRESS
  value: "<IP_ADDRESS>"
- name: EDGEDB_SERVER_ADMIN_UI
  value: enabled
- name: EDGEDB_SERVER_USER
  value: admin
- name: EDGEDB_SERVER_PASSWORD
  value: password

Steps to reproduce for UI:

open https://localhost:5656/ui/_login
use admin and password
Receive Error: Invalid credentials

what is the issue?


fix(avatar group): avatar group count, maxProps fixes

SUMMARY:
fix(avatar group): avatar group count, maxProps fixes.
The maxProps count is not being properly considered to show the correct count.
Having wrong counts shown when sent as children or avatarListProps -> fixed.
Avatar Group completely null rendered or moot when the numChildren available less then maxProps set -> fixed.
GITHUB ISSUE (Open Source Contributors)
JIRA TASK (Eightfold Employees Only):
https://eightfoldai.atlassian.net/browse/ENG-50821
CHANGE TYPE:

[x] Bugfix Pull Request
[ ] Feature Pull Request

TEST COVERAGE:

[ ] Tests for this change already exist
[x] I have added unittests for this change

TEST PLAN:
1.) Check the below stories of Avatar Group, the earlier wrongly shown counts are properly shown and in case of the octuple stories of Exceed MaxCount than children all avatars must render inline.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@9ccf833). Click here to learn what that means.
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #604   +/-   ##
=======================================
  Coverage        ?   84.65%
=======================================
  Files           ?      793
  Lines           ?    17352
  Branches        ?     6142
=======================================
  Hits            ?    14690
  Misses          ?     2596
  Partials        ?       66

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Business readiness

Businesses own most of mobile devices that are used during work.
Right now there is an unclear OpenSource Compliance issue, that may lead to a ban of the Corona app on business devices.
https://www.linkedin.com/pulse/zahlreiche-mängel-open-source-compliance-bei-der-hendrik-schöttle/
The legal basis is a freely given consent. During work additional measures are nesscessary to proctect the free choice of the data subject. To ensure that, I would recommend that a business version of the Corona app gives the user the possibility to restrict the access to open the app with an passphrase or an 7 digits pin (that avoids dates as choice) that erase the profile after 10 wrong attempts.
In addition an fake mode that allows to show an fake interface would make it easier to communicate with colleges during breaks, may be a worthy consideration.
Therefore I would recommend an business version of the Corona app, that can be integrated in Mobile Device Management Solutions and has additional measures to ensure the freely given consent.

Dear @JoNehlsen,
we are aware of this article, it's currently under investigation by our legal team. But thanks for posting it!
Overall you are posting several ideas which are feature requests. Consequently, we will move this issue to the cwa-wishlist repository and allow the community and you to further refine it, discuss pros and cons, and evaluate alternatives.
The issue will not be closed in this repository to ensure long-term visibility. All issues in the cwa-wishlist repository will be discussed with our contracting entities.  As soon as we have any updates, we will let you know about the details.
Best regards,
SW
Corona-Warn-App Open Source Team


[FEATURE]

Assuming we go with Supabase, we should make a connection to it from our frontend, and document how to set up a SB account/database with it.
For the initial version, we could have something really simple, maybe like a counter? As in, you click a button and the number increases by one, or something like that.
Alternatively, we can set up a user signup/login form as in #14.

Hey,
I would like to take this as my first ticket, if it is still open. If it's okay, I would make a simple signup/ login form wo any big stylings for the start that creates/login the user to Supabase

Yes! That sounds perfect - thank you so much

Just to make it clear: it should make auithenticate the user via supabase, right? Because I am a little confused with  this issue right now, but I'll assume this is just for the styling and not for login right? Or did I get something completly wrong?

Yes, correct. Thank you for clarifying it


Kiosk Settings are GA

Just wanted to confirm that most of these settings are already GA for Edge Chromium. I believe whats missing is just the setup for intune.

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

ID: 229e4d46-19a6-c042-8ce1-844c44c00112
Version Independent ID: 8ab07629-42a6-e7a1-86a9-f8103825ebc4
Content: Configure Microsoft Edge kiosk mode
Content Source: edgeenterprise/microsoft-edge-configure-kiosk-mode.md
Product: microsoft-edge
GitHub Login: @Aguta
Microsoft Alias: aguta

@cconrado Hi!  We've updated the documentation with the Windows/Microsoft Edge versions: https://docs.microsoft.com/en-us/deployedge/microsoft-edge-configure-kiosk-mode#single-app-kiosk
Information about setting assigned access single app using Intune can be found here: https://www.youtube.com/watch?v=6WUOlGmQfNo&t=347s
Thanks!


fix(ffe-datepicker-react): fixed issue with tabbing through inputs

firefox would fall into a tab prison when navigating with keyboard
fixed issue with IE missing tabindex on datepicker
fixed issue with global event handler in firefox, the error message should no longer interfere with propper tab browsing
added test for rendered component references

+1 on the comments by @selbekk
Great job by the way! This one seemed tricky, thanks for taking it on :muscle:


SetParams headerRight does not render a new button

Current Behavior

I cannot change the headerRight content using the setParams method. Here is my code:
this.props.navigation.setParams({
    headerRight: <TouchableOpacity>...</TouchableOpacity>
    title: "Selecting"
});

The header title changes to "Selecting" as expected, but no new content is rendered on the right side of the header. If I add the same headerRight item to the static navigationOptions object, content is rendered on the right as expected
Expected Behavior

I should be able to dynamically set the content on the right of the header
Your Environment

software
version

react-navigation
1.0.0-beta9

react-native
43

node
7

npm or yarn
4.*

I met the same problem.

I have the same problem. Any workaround?

I'm using something like this as a workaround, but there probably is a nicer way:
class SomeComponent extends Component {

  static navigationOptions = ({ navigation, screenProps }) => {

    const { state } = navigation
    const { signOutButton } = "params" in state && state.params

    return {
      headerRight: signOutButton && signOutButton()
    }
  }

  componentWillMount() {

    const signOutButton = (
      <Button onPress={() => { this.doSignOut() }} title="Sign Out"></Button>
    )

    this.props.navigation.setParams({ signOutButton: () => signOutButton })
  }
}

Thanks works great!

This just solve my problem! Thanks!

There might be 2 reasons that prevent the changes from being shown:

Using PureComponents

An explanation is placed on VirtualizedList page.

This is a PureComponent which means that it will not re-render if props remain shallow- equal. Make sure that everything your renderItem function depends on is passed as a prop (e.g. extraData) that is not === after updates, otherwise your UI may not update on changes. This includes the data prop and parent component state.

Parameters changes doesn't detect by React-Native because of nested objects
So if the params object is not being changed, React-Native doesn't render the changes.
The same issue valids for Redux store.

I think that one of or both of these two reasons might cause the rendering problem.
Most likely if you try to change something or pressing on another button at run-time causes render your new button in your app. I had encountered with the same problem months ago.
If community developers can clarify the problem and offer a solution, that would be great!

Pinging OP @abettadapur since this issue is quite old and related to an old version of the lib. If no answer I'll close in 7 days.

Hi there @abettadapur,
In an effort to cleanup this project and prioritize a bit, since this issue had no follow up since my last comment I'm going to close it.
If you are still having the issue (especially if it's a bug report) please check the current open issues, and if you can't find a duplicate, open a new one that uses the new Issue Template to provide some more details to help us solve it.

Hey!  Not to reopen this topic, but it feel strange to me that we are doing all of this component state -> navigation state linking via a static variable.  Is there another way to be doing this?  I used the solution above and it works fine btw.

I have to agree with DogsForArms, I would much rather this ticket be reopened and solved properly. At the least, there could be a documentation fix to make it clear which parameters are actually settable.

Still having this problem in 2020.
Something like:
  useEffect(() => {     navigation.setParams({       title: "NEW TITLE",       headerRight: <Text>NEW TEXT</Text>     })   }, []);
This will actually update the title but the headerRight will not update along with it.

Same problem with RN 4

This works
let EditProfile = function EditProfile (props) {
  useEffect(() => {
    props.navigation.setParams({
      headerRight: () => (
        <Button
          onPress={...}
        >
          ...
        </Button>
      ),
    })
  }, [])

  ...
}

EditProfile.navigationOptions = ({ navigation }) => {
  const headerRight = navigation.getParam('headerRight')

  return ({
    headerRight,
  })
}


Badgr (Independent Publisher) v1.1

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[ ] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[ ] I attest that the connector works and I verified by deploying and testing all the operations.
[ ] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[ ] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[ ] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[ ] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

I can confirm that the validation failure is required as the response field has changed from a string to now an object. No users will be affected as this would have caused the action to previously fail.

[[certify-connector]]

Hello @troystaylor,
I hope you are doing well.
Your connector is in production deployment and queued up for the next deployment schedule. This process typically takes 3-4 weeks. Please note that the documentation for your connector will not be generated until the deployment process is in the final steps.
Please let us know if you have any questions.
Thank you very much for working with us.

@troystaylor Apologies for the delay in response.
Congratulations! The deployment of your connector and documentation page is now complete, We have a short survey on the connector certification process that we would like for you to complete. Your feedback is appreciated and will help us improve the program, Thanks.


v3.0.2

added new scripts for release versioning
yarn bump-patch

yarn bump-minor

yarn bump-major

These will do the following

Bump the version numbers accordingly in the package.json, android build.gradle and iOS info.plist
Tag the commit with vX.X.X
Commit the changes

Closed in favor of another method


Added support of '-' to go back to previous profile as well as if name given switch to that name direcly

@Naman2706 Linting and gosec failed

@pratikbin here, all the error that mentioned by lint is already mentioned by gosec so maybe we can remove it.

Because both overlap a few features, not all so we'll keep both, or anyone else wants to add their vote to remove it?


[vulkan] Enable passing MHLO round test

Fixes https://github.com/google/iree/issues/8680

Nice, thanks for https://reviews.llvm.org/D122910 and this! We should also implement a lowering to IREE's VM so VMVX supports this too.

Good call! I wrote it in math -> spirv. Thinking about vmvx actually it makes sense to write it as a general math -> arith decomposition pattern.. Basically some structure, just need to change the ops generated.


Add open slides in new window button

Use case: open lecture slides on different tabs instead of viewing them in the related module page.

Just adding this:
In the firefox context menu, you can "this frame > open frame in new tab"
Chrome doesn't have an equivalent item, but you can "view frame source" then delete view-source: from the beginning of the URL.
If you want, you can also strip /embed from the end of the URL to get the editor view. It comes down to personal preference but to me the toolbar being stuck at the bottom looks weird when the slides take up the whole viewport.

I see. I've been just viewing source and getting the slides link there...
Yeah, I prefer the no /embed too because it shows preview of the slides in the editor view.

What's the "real" goal here? You say to open it in a different tab; is the goal from there to open it full screen? To see the side bar to quickly find a slide?
I ask because I don't think I've ever wanted to do this, so it would be useful to understand why you want to.
I will say that I've been thinking about a pretty big interface overhaul, especially as it relates to a module page, so it would be useful to understand what sorts of workflows are missing.

The goal is to open the slides in multiple tabs so I can see the topics in the tab names, then I preview the slides in the editor window (without the /embed) to go to the slide I think I need quickly. I find navigating the all the slides in the same module page a bit hard to use and there is no preview of slides. I also open lectures in multiple tabs for the same reason and with that I can just click on the yt lecture. I don't know maybe this is a rare use case.

I think being able to open the slides in a new window is a great idea. I haven't checked out the look with this PR; could you upload a screenshot?

screenshot

Yeah, honestly I don't necessarily love the aesthetics of this, but I'm definitely going to favor the utility over that for now. Thanks for the PR!


Add opentelemetry integration to Redix

New Project
Initial approach follows Ecto instrumentation, recording spans for all Redix [:redix, :pipeline, :stop] events.
The command sanitization is inspired-by and adapted from Java instrumentation, from where I've also copied the actual commands and what configuration should they follow.
Network attributes are tracked via a "sidecar" process, which keeps track of connection attributes also via telemetry. This extra bit of bookkeeping is needed as command events doesn't include that piece of information, unfortunately.
Checklist
Acknowledgements

[x] I certify that I am authorized to assign ownership of this code to the OpenTelemetry project.
[x] I acknowledge that ownership of the Hex package must be given/transferred to the OpenTelemetry Hex Org

Project Type

[x] Instrumentation
[ ] Exporter
[ ] Propagator
[ ] Metapackage
[ ] Example
[ ] Util

Prior Art

[ ] Is this an existing project? Includes private libraries being open sourced.

[ ] Yes
[x] No

[ ] Are there any other packages on Hex providing similar functionality?

Existing Project

[ ] Moving from an existing public repository? Provide a link in the description.
[ ] All authors who have contributed code contained in this PR have signed the CNCF CLA

All Projects

[ ] Label created (maintainers)
[x] labeler.yml updated
[x] CI

[x] Elixir or Erlang language file is updated
[x] Test strategy should use the matrix strategy with all supported language/OTP combinations
[x] The job is scoped to only run for relevant code changes

[x] Codeowners adds scoped ownership for project maintainers
[x] License file (Apache2 - copyright to OpenTelemetry Authors)
[x] All code complies with the Otel Specification and Otel Semantic Conventions - Trace Metrics

@andrewhr I updated your initial comment with the new project checklist. I don't know of a fancy way to make it selectable like issue templates. 😕

Thanks @bryannaegele, and sorry for the delay. I think we should be good - the missing piece was CODEOWNERS. This change should be compliant, as I've worked with the specs open at my side 😅 Also, the naming/command parsing was adapted from another compliant implementation.
Having said that, it's a best effort and some attribute may be missing - another pair of eyes may be helpful in that regard.

About the export warnings, AFAICT that comes from otel_batch_processor which is set on test environment (I assume for the test helpers to work properly).
As soon otel_batch_processor starts it will then proceed to setup the otel_exporter which by default exports to OTEL collector default port. The setup block races against that but eventually some warnings get reported.
I was able to reproduce the same issue locally with Phoenix and Ecto instrumentation (Ecto reports are bit different because Elixir logger isn't started there).
I got a fix here in this PR, and will prepare some for them as well (in a separate PR).

Rebased on latest main, to fix merge conflicts.

Hey folks, updated to 1.0.0-rc.4 (I know, 1.0 is around the corner).
Worth noting, with :simple_span_processor I was able to simplify a bit the test setup. Please let me know what do you think (and if it's better to wait for SDK 1.0)

Thanks @andrewhr . It is best to wait for 1.0, I'm in the process of releasing it to hex as I write this.

@tsloughter updated to 1.0.0, thank you for all the work on that release! 🙌

Hey @andrewhr - there were some changes recently to the CI files which don't appear to have been updated in this PR. Can you open a new PR with those? https://github.com/open-telemetry/opentelemetry-erlang-contrib/pull/55/files#diff-567a3fdf49d6f0f0119dda6d1c098fcb5ee3785ee956481b3daaf5a2f246076f

Sure @bryannaegele, my bad I miss that update. Here goes https://github.com/open-telemetry/opentelemetry-erlang-contrib/pull/58


Local Connection to AKS drop frequently

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
I have deployed an AKS cluster and I connect to it using kubectl from my PC. Very frequently the connection from local terminal to AKS becomes unreachable if I be inactive for sometime giving the following error.
➜  **** git:(main) ✗ kubectl get pods
Unable to connect to the server: dial tcp: lookup ***-dns-***.hcp.eastus.azmk8s.io on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:57428-><IP_ADDRESS>:53: i/o timeout

When i use Azure cloud for the same command at the same time it works meaning the issue is about the connection from the PC to AKS. Relevant service are also working fine without an issue only kubectl is unable to connect to AKS. The issue gets resolved if I stop the AKS cluster and start it again
Expected behavior
Connection should work locally
azure-cli  2.22.1
Cluster kubernetes version 1.19.11

route to service team


Allow alternatives to std::terminate

Currently several functions will call std::terminate on failure. It would be beneficial to allow users to customize this behavior, or possibly switch to using an exception (e.g., illegal state) so the user can catch it and then decide what to do next. While this would not be ideal, there may be circumstances where terminating is extremely inappropriate as there won't be a chance to do a proper cleanup.

Functions calling std::terminate should be used with great care in any case (if ever) and panic on misuse is Rust's idiomatic behaviour (after which this library is modeled). Since Result monad potentially deprecates exceptions altogether (think about disabling them), there is no strong reason to pull those back in.


⚠ Bofrost.be has degraded performance

In 780467b, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1285 ms

Resolved: Bofrost.be performance has improved in afce479 after 7 minutes.


Check for Command Line Tools in Software Update list hangs

It seems that the step Check for Command Line Tools in Software Update list occasionally hangs and therefore breaks the build.
Could be something to do with this? https://apple.stackexchange.com/questions/82551/mac-app-store-update-stuck-installing-calculating
Is there anyway I can work around this, perhaps by adding a retry after x time?

@SurferL That looks more like a possible issue with the dependency role https://github.com/elliotweiser/ansible-osx-command-line-tools. Please open an issue on that role so we can discuss it there and I'll link it back to this one.


Add Debian Jessie compat for Artifactory PRO, support external pg db.

I moved things around, and added compatibility for Artifactory PRO on Debian Jessie, as well as the capability of using an external postgresql database. I also created empty task files for Debian HA and OSS that can be used in the future to expand functionality for this distro.

... would be useful to test this on CentOS. I haven't (sorry), and I am not sure I didn't break anything on it when moving around.

Hmmmm, pull requests not welcome?

I tried to test your branch with OSS Artifactory on Debian, but it is not being installed.
defaults/main.yml:

update: postgres_jdbc_base now is "postgresql-9.4.1212.jre6"

tasks/main.yml:
please add the role-tag on each action so we can run the role by tag.
  tags:
    - artifactory

tasks/db/postgresql.yml: this is a bit fishy, but adding become: yes helped me
- name: 'create artifactory database user in postgres'
  become: yes
  become_user: postgres

- name: 'create artifactory database in postgres'
  become: yes
  become_user: postgres

- name: 'download jdbc connector for postgres'
  become: yes

tasks/dists/debian-xxxyml: please install openssl

Ooops, sorry, I'll go ahead and fix it.

Closed because inactive.


Feature/my review page

@CryoMilo  is this done? are you waiting for reviews?

@CryoMilo is this done? are you waiting for reviews?

Sorry. I didn't see this message


Added tvOS

Added deployment target for tvOS. It’s required to use this Pod with tvOS. No more changes are required.

Confirmed no code changes necessary.

Thanks so much, @wojtkow. I'm sorry it took so long to get this integrated. This is now merged with b3fdd00.


Cannot install the binary file

Environment:

OS: WSL2 ubuntu
(Neo)Vim version: Vim 8.1.2269
vim-clap version: v0.35

Describe the bug

Cannot install the binary file with Plug 'liuchengxu/vim-clap', { 'do': { -> clap#installer#force_download() } }

Clap debug
Error detected while processing function clap#[5]..clap#installer#install[7]..clap#installer#build_all[7]..SNR>30_unix_sanity_check_is_ok:
line   12:
E484: Can't open file /tmp/vaC0B75/3
has cargo: 1
has maple: v:null
has +python3: 1
has py dynamic module: 0
has ctags: ctags not found
rustc version:
Error detected while processing function clap#[25]..clap#debugging#info:
line   44:
E484: Can't open file /tmp/vaC0B75/4

Additional context

After following the guide, downloading pre-built binary, vim-clap works except git-related commands.
Same error message of:

:Clap bcommits
:Clap commits
:Clap git_diff_files

Error detected while processing function clap#[46]..clap#for[23]..SNR>69_detect_source_type[9]..79[1]..clap#provider#commits#source_common[1]..clap#path#get_git_root:
line    1:
E484: Can't open file /tmp/vm6phQZ/7
E684: list index out of range: 0

Especially :Clap gfiles works though.

Some providers can work without the Rust binary,  but some are not.
Looks like your vim failed to call system() somehow, can you see what :echo system("uname") says?

E484: Can't open file /tmp/vZdM1Y0/0

echo works but system() doesn't work

It's probably caused by the shell you are using, a few useful links, https://github.com/kristijanhusak/vim-js-file-import/issues/31, https://github.com/dag/vim-fish/issues/50.

I'm using nushell so the vim system() call doesn't work.
I put set shell=/bin/bash on the ~/.vimrc file, which fixed the problem.


Dispose the internalTokenSource too?

In the example internalTokenSource is  never disposed. Shouldn't it also be disposed? Readers may assume that CreateLinkedTokenSource will also dispose the linked sources of the linked tokens when linkedCts  gets disposed. Or maybe it actually does? If so, that would be worth a comment  above the using block.

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

ID: 073f1486-9fa6-a17c-d649-d4ae5a36b8d8
Version Independent ID: 55cc3625-d0a5-3422-0d27-945823a0c64b
Content: How to: Listen for Multiple Cancellation Requests
Content Source: docs/standard/threading/how-to-listen-for-multiple-cancellation-requests.md
Product: dotnet
Technology: dotnet-standard
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

@kouvel please comment

Seems like it should be disposed, CC @tarekgh

yes internalTokenSource should get disposed. Even I don't think the initialization of it is needed as we initialize it anyway in the constructor.
CancellationTokenSource internalTokenSource = new CancellationTokenSource();

CC @stephentoub

Seems like it should be disposed

Technically, yes.  In practice, it won't currently matter as the Dispose in this case will end up being a nop.  Even so, it's good to do so.

Even I don't think the initialization of it is needed as we initialize it anyway in the constructor.

Yes, the internalTokenSource = new CancellationTokenSource(); line should be deleted; as the sample currently stands, the constructor will end up allocating this twice and just immediately overwriting one instance with the other.

Garbage collector collects it, if you look at it with dnSpy.


PyPi Upload Fails with Two Tags on the Same Commit

When making a tag on a commit, the pypi upload job uses the first tag, not the most recent one, so fails because it tries to upload the same file twice.
Example
https://github.com/DiamondLightSource/blueapi/actions/runs/9115458365/job/25090049200
Run pypa/gh-action-pypi-publish@release/v1
  with:
    user: __token__
    repository_url: https://upload.pypi.org/legacy/
    packages_dir: dist
    verify_metadata: true
    skip_existing: false
    verbose: false
    print_hash: false
/usr/bin/docker run --name cf9f72ad7225c6a41cdb185c142b806b2b4_5d18ac --label 583cf9 --workdir /github/workspace --rm -e "INPUT_USER" -e "INPUT_PASSWORD" -e "INPUT_REPOSITORY-URL" -e "INPUT_REPOSITORY_URL" -e "INPUT_PACKAGES-DIR" -e "INPUT_PACKAGES_DIR" -e "INPUT_VERIFY-METADATA" -e "INPUT_VERIFY_METADATA" -e "INPUT_SKIP-EXISTING" -e "INPUT_SKIP_EXISTING" -e "INPUT_VERBOSE" -e "INPUT_PRINT-HASH" -e "INPUT_PRINT_HASH" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_ID_TOKEN_REQUEST_URL" -e "ACTIONS_ID_TOKEN_REQUEST_TOKEN" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/blueapi/blueapi":"/github/workspace" 583cf9:f72ad7225c6a41cdb185c142b806b2b4  "__token__" "" "" "" "" "" "false" ""
Checking dist/blueapi-0.4.3a1-py3-none-any.whl: PASSED
Checking dist/blueapi-0.4.3a1.tar.gz: PASSED
Uploading distributions to https://upload.pypi.org/legacy/
Uploading blueapi-0.4.3a1-py3-none-any.whl
25l
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/75.1 kB • --:-- • ?
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.1/75.1 kB • 00:00 • 79.6 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.1/75.1 kB • 00:00 • 79.6 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.1/75.1 kB • 00:00 • 79.6 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.1/75.1 kB • 00:00 • 79.6 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.1/75.1 kB • 00:00 • 79.6 MB/s
25hUploading blueapi-0.4.3a1.tar.gz
25l
  0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/986.8 kB • --:-- • ?
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 986.8/986.8 kB • 00:00 • 15.7 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 986.8/986.8 kB • 00:00 • 15.7 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 986.8/986.8 kB • 00:00 • 15.7 MB/s
25hWARNING  Error during upload. Retry with the --verbose option for more details.
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
         File already exists. See https://pypi.org/help/#file-name-reuse for
         more information.

(ran on tag 0.4.3-a2)

Upstream issue: https://github.com/pypa/setuptools_scm/issues/521

TIL making a release on GitHub makes a lightweight tag - that is the real problem. Why can't we have nice things?
https://github.com/orgs/community/discussions/4924


make columns not nullable, events are written with empty strings when…

… the fields arent set

 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.


LightmapGI: Directional lights do not bake in in compatibility renderer

Tested versions

First reproducibility in 4.3dev6. Still present in 4.3beta1 and at 5f1184e93fe1021c86520460dc0a6619bff3c1fb
Last working version: 4.3dev5

System information
Godot v4.3.beta1 - Windows 10.0.22631 - GLES3 (Compatibility) - AMD Radeon RX 6800S (Advanced Micro Devices, Inc.; 31.0.24027.1012) - AMD Ryzen 7 6800HS with Radeon Graphics (16 Threads)
Issue description
Lightmaps baked using editor in compatibility renderer do not reflect directional light influence anymore.
This seems to be a regression in recent 4.3 builds:
Expected result baked from Godot 4.3dev5, contains indirect information from red cube on ground:

Same scene baked in Godot 4.3beta1/dev6:

The issue is not present with Vulkan (Forward+)
Steps to reproduce

Open MRP and try baking a lightmap from a LightmapGI node in Godot 4.3beta1
Do same thing with  Godot 4.3dev5 to confirm the issue is not present there.

Minimal reproduction project (MRP)
mrp.zip

If you can, try to bisect which commit introduced this regression.
You know it appeared between 4.3dev5 and 4.3dev6, you can use their hashes to greatly reduce range of bisecting.
4.3dev6 commit hash: 64520fe6741d8ec3c55e0c9618d3fadcda949f63
4.3dev5 commit hash: 89f70e98d209563abb4dbc1f8cd5d76c81eb7940

So it seems like reverse-z commit broke lightmap baking in compatibility:
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[d950f5f83819240771aebb602bfdd4875363edce] Use Reverse Z for the depth buffer

Interesting observation is that at d950f5f83819240771aebb602bfdd4875363edce it is also not working on Vulkan, so my assumption regarding projection is obviously incorrect. But LightmapGI  it is working on Godot 4.3dev6 again. So seems like ReverseZ PR is breaking both renderers, but Vulkan is fixed in some commit, before dev6 release. Probably needs to be bisected again


Feature Request: more syntaxes

I'm using the sublime-ember-syntax plugin, which supports highlighting for .js files with inline Handlebars templates. Though the files are .js, the syntax is "JavaScript (Extended)".
When I select "JavaScript" as the syntax for a file, this plugin works great -- but I lose template highlighting.
I'd love to be able to add "JavaScript (Extended)" to the list of syntaxes. I'm happy to make a PR that adds that one, though it might help others more if there were a configuration option for adding them via settings.

I have a similar issue. I'm writing my own syntax for JavaScript, and can't use SublimeLinter-eslint with it. But in my case adding it to the list probably a wrong solution since I'm the only user for now. Is it possible to make this list configurable?

I wonder if this will be reasonable to add source.js here? https://github.com/roadhump/SublimeLinter-eslint/blob/69ea575f8be9cb7842fa1de741d17869ffb94670/linter.py#L41-L44
This way SublimeLinter-eslint will support any syntax definition that defines source.js as the global scope if I understand correctly.

Got into same situation with JavaScript (VSCode) syntax from https://stackoverflow.com/a/45467310. Make it works by adding syntax name to syntax attr in linter.py module.

Please PTAL @ https://github.com/SublimeLinter/SublimeLinter/pull/994


Added tooltip name locales

Merging those in, thanks!

What's the purpose of this PR? Almost all the strings added in this PR are already available under Tools.Names.{ToolName}.

Keys starting with Tools.Names. in en.json:

{
  "Tools.Names.MultiTool": "Multi-Tool",
  "Tools.Names.CommonTools": "Common Tools",
  "Tools.Names.ManipulationTools": "Manipulation Tools",
  "Tools.Names.InformationTools": "Information Tools",
  "Tools.Names.GeometryLineBrush": "Geometry Line Brush Tool",
  "Tools.Names.Developer": "Developer Tool",
  "Tools.Names.ComponentClone": "Component Clone Tool",
  "Tools.Names.ProtoFlux": "ProtoFlux Tool",
  "Tools.Names.Material": "Material Tool",
  "Tools.Names.Glue": "Glue Tool",
  "Tools.Names.Light": "Light Tool",
  "Tools.Names.Shape": "Shape Tool",
  "Tools.Names.Microphone": "Microphone Tool",
  "Tools.Names.GrabbableSetter": "Grabbable Setter Tool",
  "Tools.Names.PhysicalColliderSetter": "Physical Collider Setter Tool",
  "Tools.Names.MeshVisibility": "Mesh Visibility Tool",
  "Tools.Names.CameraObjectVisibility": "Camera Object Visibility Tool",
  "Tools.Names.Color": "Color Tool",
  "Tools.Names.Mesh": "Mesh Tool",
  "Tools.Names.RiggedMeshTransfer": "Rigged Mesh Transfer Tool",
  "Tools.Names.Slicer": "Mesh Slicer Tool",
  "Tools.Names.ControllerDiagnostic": "Controller Diagnostic Tool",
  "Tools.Names.Measure": "Measure Tool",
  "Tools.Names.Label": "Label Tool"
}

Keys starting with Tooltip. and ending with .Name (now) in en.json:

{
  "Tooltip.GeometryLineBrush.Name": "Geometry Line Brush",
  "Tooltip.Color.Name": "Color Tool",
  "Tooltip.GrabbableSetter.Name": "Grabbable Setter Tool",
  "Tooltip.CharacterCollider.Name": "Character Collider Setter Tool",
  "Tooltip.Light.Name": "Light Tool",
  "Tooltip.MeshVisibility.Name": "Mesh Visibility Tool",
  "Tooltip.Mesh.Name": "Mesh Tool",
  "Tooltip.Slicer.Name": "Object Slicer Tool",
  "Tooltip.Material.Name": "Material Tool",
  "Tooltip.Microphone.Name": "Microphone",
  "Tooltip.ProtoFlux.Name": "Proto-Flux Tool",
  "Tooltip.Meter.Name": "Meter Tool",
  "Tooltip.Glue.Name": "Glue Tool",
  "Tooltip.RigTransfer.Name": "Rig Mesh Transfer Tool",
  "Tooltip.ComponentClone.Name": "Component Clone Tool",
  "Tooltip.Shape.Name": "Shape Tool",
  "Tooltip.CameraObjectHider.Name": "Camera Object Hider Tool",
  "Tooltip.ControllerDiagnostic.Name": "Controller Diagnostic Tool",
  "Tooltip.Labeler.Name": "Labeler Tool"
}

(Sorted) diff between those two, < exists as Tools.Names.{ToolName}, > exists as Tooltip.{ToolName}.Name

1c1,2
<  "Camera Object Visibility Tool",
---
>  "Camera Object Hider Tool",
>  "Character Collider Setter Tool",
3d3
<  "Common Tools",
6,7c6
<  "Developer Tool",
<  "Geometry Line Brush Tool",
---
>  "Geometry Line Brush",
10,11c9
<  "Information Tools",
<  "Label Tool"
---
>  "Labeler Tool"
13d10
<  "Manipulation Tools",
15,16d11
<  "Measure Tool",
<  "Mesh Slicer Tool",
19,23c14,18
<  "Microphone Tool",
<  "Multi-Tool",
<  "Physical Collider Setter Tool",
<  "ProtoFlux Tool",
<  "Rigged Mesh Transfer Tool",
---
>  "Meter Tool",
>  "Microphone",
>  "Object Slicer Tool",
>  "Proto-Flux Tool",
>  "Rig Mesh Transfer Tool",

Some names differ slightly, for example Physical Collider Setter Tool becoming Character Collider Setter Tool, and Mesh Slicer Tool becoming Object Slicer Tool. That aside, these keys would serve the same purpose as the already existing Tools.Names.{ToolName}, which could lead to inconsistent naming of tools.

I think there's a mixup here. tagging @RueShejn and @Frooxius .
Once this mixup is resolved and in the future, I'll see about doing a batch operation to rename tooltip to tool or something like that.

I have created a new issue for this discussion, so it doesn't go unseen in the closed PRs.
#563


Updated documentation to include the fail_on_deprecation_notices flag

Noticed the use on the fail_on_deprecation_notices flag was not covered in the README.md, so I added a few words.

Thanks @chrisdaish.


[ACR] Create APIView for ACR arch board

Please share by 05/12

Done and updated the board review issue with links to apiview and samples


testdata: HTTPTestServer support for zstd transparent compression

TL;DR
Added zstd compression support to the test HTTP server
What changed?

Added github.com/klauspost/compress dependency for zstd compression
Implemented a zstdResponseWriter to handle compressed responses
Added middleware to compress responses when clients accept zstd encoding
Refactored the test server handler into smaller, more focused functions
Added tests to verify zstd compression functionality

How to test?

Run the new test suite: go test ./testdata
Verify that requests with Accept-Encoding: zstd header receive compressed responses
Confirm that regular requests still work without compression
Check that compressed responses can be properly decoded

Why make this change?
Adding zstd compression support allows for more efficient data transfer between the client and server during testing scenarios, better simulating real-world conditions where compression is commonly used to reduce bandwidth usage.

#108
#112  👈 (View in Graphite)
main

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

Merge activity

Dec 13, 5:32 PM EST: A user merged this pull request with Graphite.


Outline Swag

Hi, can I buy Outline swag like stickers or shirts somewhere?

Hi @MartinHennrich, unfortunately we don't have any at the moment - wish we did 😎
Thanks for the interest, we'll keep you posted!


OAuth is not defined

Hello there, I'm liking your project a lot, used it for a couple of weeks, but i'm having difficulties booting it up via docker compose after the latest upgrade.
I got this error :
NameError: name 'OAuth' is not defined giftmanager  | Traceback (most recent call last): giftmanager  |   File "/app/app.py", line 139, in <module> giftmanager  |     oauth = OAuth(app)
I think it's related to #4 but i have not setup an OIDC solution yet.
Is it possible to still access the app without OIDC or is it mandatory now ?

I am also getting the same error. The docker container was up and working a few days ago. Now it fails to properly start with error:
NameError: name 'OAuth' is not defined

Traceback (most recent call last):

  File "/app/app.py", line 139, in <module>

    oauth = OAuth(app)

            ^^^^^

There does not seem to be any releases or docker tags available for this project besides "latest". I am not sure how to roll back to a previous version of the docker image.

Yeah, sorry, I forgot to import the authlib in the app.py . I will correct this in the next 8 hours. I also will find a way to add versioning to the app so it is easier to go back if needed.
Thanks for the feedback.
Sorry again.

See fixes in the release 1.0.1
Will now work properly with OIDC.
Added versioning to the GitHub and Docker. The latest tag is also up to date.


Fixing broken link

Change (./using-microsoft-azure.md#azure-native-resources) to (../using-microsoft-azure.md#azure-native-resources)

@asanokhin another one I need help with.


pluginmgr: fix bugs in finding cfg file

reorder candidate config files so that user config files are found
first
add /usr/local/etc/opae/opae.cfg as a candidate config file
fix but in resolve_file_name when HOME env. variable is longer than
input string

Coverage decreased (-0.03%) to 80.811% when pulling 228a41ee4eb467c6ed9434525a0f9cd0ad9fa057 on rrojo/fix-plugin-mgr into 464ff3dc0ebabb3441c8e78f43da77a096629c2c on master.


acpid: 2.0.28 -> 2.0.29

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/acpid/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/bin/acpi_listen -h’ got 0 exit code
ran ‘/nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/bin/acpi_listen --help’ got 0 exit code
ran ‘/nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/bin/acpi_listen -v’ and found version 2.0.29
ran ‘/nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/bin/acpi_listen --version’ and found version 2.0.29
ran ‘/nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/bin/acpid help’ got 0 exit code
ran ‘/nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/bin/acpid -v’ and found version 2.0.29
ran ‘/nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/bin/acpid --version’ and found version 2.0.29
found 2.0.29 with grep in /nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29
directory tree listing: https://gist.github.com/48210d03059b65f940b06df3ebb636d1

Success on x86_64-linux (full log)
Attempted: acpid
Partial log (click to expand)
shrinking /nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/sbin/kacpimon
shrinking /nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/sbin/acpid
shrinking /nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/bin/acpi_listen
gzipping man pages under /nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/bin  /nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/sbin
patching script interpreter paths in /nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29
checking for references to /build in /nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29...
moving /nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/sbin/* to /nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29/bin
/nix/store/vm7myzc830jgh1q5xmjc726xgw8fh933-acpid-2.0.29

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: acpid
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: acpid
Partial log (click to expand)
shrinking /nix/store/n1v667xckwc31fr4iwnnh5ymfkd18zw1-acpid-2.0.29/bin/acpi_listen
shrinking /nix/store/n1v667xckwc31fr4iwnnh5ymfkd18zw1-acpid-2.0.29/sbin/acpid
shrinking /nix/store/n1v667xckwc31fr4iwnnh5ymfkd18zw1-acpid-2.0.29/sbin/kacpimon
gzipping man pages under /nix/store/n1v667xckwc31fr4iwnnh5ymfkd18zw1-acpid-2.0.29/share/man/
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/n1v667xckwc31fr4iwnnh5ymfkd18zw1-acpid-2.0.29/bin  /nix/store/n1v667xckwc31fr4iwnnh5ymfkd18zw1-acpid-2.0.29/sbin
patching script interpreter paths in /nix/store/n1v667xckwc31fr4iwnnh5ymfkd18zw1-acpid-2.0.29
checking for references to /build in /nix/store/n1v667xckwc31fr4iwnnh5ymfkd18zw1-acpid-2.0.29...
moving /nix/store/n1v667xckwc31fr4iwnnh5ymfkd18zw1-acpid-2.0.29/sbin/* to /nix/store/n1v667xckwc31fr4iwnnh5ymfkd18zw1-acpid-2.0.29/bin
/nix/store/n1v667xckwc31fr4iwnnh5ymfkd18zw1-acpid-2.0.29


Generic function does not determine type with strictNullChecks

TypeScript Version:  2.1.4
Code
type I = { kind: 'I1' }

type A<T> = [undefined, I] | [T, I]

function works<T>(): A<T> {
    return [undefined, { kind: 'I1' }]
}

function doesNotWork<T>(): A<T> {
    const i = { kind: 'I1' }
    return [undefined, i]
    // [ts] Type '[undefined, { kind: string; }]' is not assignable to type 'A<T>'.
    //     Type '[undefined, { kind: string; }]' is not assignable to type '[T, I]'.
    //         Type 'undefined' is not assignable to type 'T'.
}

Expected behavior:
Both functions compile
Actual behavior:
Extracting variable breaks type detection

You need a type annotation
const i: I = { kind: 'I1' }`

to tell the compiler that you want something of type I and therefore a literal type for the kind property. Otherwise, since there is no indication to the contrary and since kind is a mutable location, the compiler widens the literal I1 to string. That in turn is what causes the error.


Add teshlya to Contributors list

Github already has a page for displaying contributors. You will automatically appear in the list once you submit a PR: https://github.com/saket/InboxRecyclerView/graphs/contributors

Whoops, I accidentally closed this PR. @teshlya what was your reason behind creating this extra file?


searchbar properly aligned

issue id #836
this is the issue before search bar alignment.

after alignment result

@Rajatrahangdale
Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. You can also contribute in my another Repository BuddyTrail which is also under Hacktoberfest
Great contribution to HACKTOBERFEST'24! 🎉


[FLINK-25699][table] Use HashMap for MAP value constructors

What is the purpose of the change
The PR makes use of maps in MAP values constructors to make keys unique
In case there are several same keys in map functions, the latest will be taken
e.g.
SELECT MAP[1, 2, 1, 3, 1, 4];

returns {1=4}
Brief change log
(for example:)

Added usage of map in constructors
move MAP function tests to flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/functions/MapFunctionITCase.java

Verifying this change
There are tests in flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/functions/MapFunctionITCase.java
Does this pull request potentially affect one of the following parts:

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

Documentation

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

@slinkydeveloper , @twalthr sorry for the poke...
could you please have a look once you have time?

@slinkydeveloper thank you for your feedback
I rebased the PR so that the conflicts are resolved now.
Once you have time please let me know if anything is still missing or if need to squash commits

rebased and resolved conflicts
@twalthr sorry for the poke
since this PR this PR is approved by @slinkydeveloper and you are one of the committers dealing with table module, could you please have a look once you have time?
thank you

@snuyanzin I've squashed and rebased, let's see the CI passing and then I'll merge it. Thank you very much for the PR!

@flinkbot run azure


GH-37222: [Docs][MATLAB] Rename arrow.recordbatch (all lowercase) to arrow.recordBatch (camelCase)

Rationale for this change
As @kou suggested in https://github.com/apache/arrow/pull/37215#discussion_r1296559210, it makes sense to rename arrow.recordbatch (all lowercase) to arrow.recordBatch (camelCase).
recordBatch is the first "two-word" function in the top-level arrow.* package, so it makes sense to establish a clear camelCase standard for "multi-word" functions in the MATLAB interface at this point.
One part of the rationale motivating this change is that other language bindings follow a similar pattern (e.g. pyarrow.record_batch instead of pyarrow.recordbatch).
What changes are included in this PR?

Renamed arrow.recordbatch (all lowercase) to arrow.recordBatch (camelCase).
Updated documentation and tests to reflect arrow.recordbatch being renamed to arrow.recordBatch.

Are these changes tested?
Yes.

All existing MATLAB tests have been updated to use the new name arrow.recordbatch and are passing on my Debian 11 machine.

Are there any user-facing changes?
Yes.
This PR includes breaking changes to public APIs.
The public facing API arrow.recordbatch has been renamed to arrow.recordBatch. Since the MATLAB interface is still "pre 1.0", we don't expect this change to have a significant impact.
Notes

Thank you @sgilmore10 for your help with this pull request!

Closes: #37222

+1


chore: make tests OS agnostic

What I did

Update Playwright to run tests across MacOS and Linux
Update Playwright to run across 4 different shards to speed up test runtime
Update Playwright to use ./tests/integration as when using VSCode is provides a nice icon to the integration folder if using an icon pack
Fix Playwright report merging
Update tests to handle keyboard interactions across various OS types
Use corepack in CI to install pnpm
Use process.env.NODE_ENV === 'production' to determine if React is running in Strict mode rather than process.env.CI
add favicon to playground to stop showing 404 errors in playwright
fix typo of isStrictMode

@edmundhung I'm not sure if its worth it, the E2E tests with MacOS + Windows increase by more than double in terms of execution time, if you want to proceed with it anyway, I'll update to run MacOS again I tried to get Windows to run, but it looks like the playground Remix app doesn't run on windows currently 😅

@edmundhung I'm not sure if its worth it, the E2E tests with MacOS + Windows increase by more than double in terms of execution time, if you want to proceed with it anyway, I'll update to run MacOS again I tried to get Windows to run, but it looks like the playground Remix app doesn't run on windows currently 😅

We can run them in parallel with GitHub action, right? I am fine to merge it as is but it would definitely be a big plus to be able to test on all 3 platforms.

@edmundhung this is ready for review now, just need to update the required status checks in GitHub's Settings to the new names

@edmundhung using Sharding in Playwright the total test time has slightly increased by a few seconds, so you won't see too much of a longer wait 🎉


BUG ensure skip_rerender is set for PR template

Hi! This is the friendly automated conda-forge-webservice.
I've started rerendering the recipe as instructed in #710.
If I find any needed changes to the recipe, I'll push them to this PR shortly. Thank you for waiting!
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

Fixes #710
closes #708

@conda-forge-admin rerender

Huzzah that worked! Merging!

Cool, thanks a lot! :)


Updated divider icons to be properly centered [increment minor]

Previously, the icons were slightly off center. Replaced them with updated SVG
Rally story: https://rally1.rallydev.com/#/110294864140d/detail/defect/324251152136

For anyone following along, @rohitvinnakota and I worked offline to just modify the existing SVG <circle> elements such that they're centred. The new SVG was failing perceptual diff because it contained a fill="none" and then a path with ferrite fill inside of that.


Cursor not deselecting outside of window

When the cursor hovers over a button within the window and immediately exits, it will not deselect the button. This makes the button still clickable out of bounds.

Fixed in #31


Add support for gtest's dynamic CRT + static linking.

According to #1131, add gtest's dynamic CRT + static linking to gtest.
Becuase gtest by default uses MT when static linking. While someone would use static linking + MD runtime.
This would be helpful for triplets in future.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Thanks for the PR!
Normally, since this potentially changes the output, we would bump the port version. However, in this case, I think it's fine to leave it as-is.


使用报错：AttributeError: 'torch.Size' object has no attribute 'numel'

kernel_ops = m.weight.size()[2:].numel()  # Kw x Kh
AttributeError: 'torch.Size' object has no attribute 'numel'

Search before ask
https://github.com/Lyken17/pytorch-OpCounter/issues/45