Package request zulip

Package request: https://zulipchat.com/
I'll get to it eventually as I'm going to start using it soon.
(2023 edit: he in fact, did not get to it soon)

@colemickens the server part or the desktop client? or both?

@rht I don't know why we'd use puppet at all in nixpkgs. Presumably we would just package the binaries as normal and write a systemd unit.
However, checking that link out makes me realize that Zulip is probably not going to be super straight forward to write a module for. Given that, I'm more likely to focus my attention on getting kubernetes working well on NixOS and then running someone else's manifests/helm chart for running Zulip.
@c0bw3b both, but I was more focused on the server since I've only used the web client. But, given my response to @rht, I'm going to close this out as I no longer desire it or have any intention of working on it. Of course, it can be re-opened if someone else still wants it.

I am in the process of yanking away the apt dependencies in https://github.com/zulip/zulip/pull/10968. But I figure that puppet's package doesn't have nix as a provider anyway, so, the only sensible path is to rewrite the entire puppet part into nix. I saw that tsearch-extras and PGroonga have already existed in nixpkgs, so it is halfway-done.

What's the latest status?  I would like to try Zulip on NixOS!

There was a recent discussion at chat.zulip.org to replace all of Zulip installation mechanism (including Puppet) into Nix so that it runs everywhere: https://chat.zulip.org/#narrow/stream/3-backend/topic/thumbor/near/835261.

Still important to me.

Should this be closed now? Zulip isn't packaged from source, but it's packaged from an AppImage: https://github.com/NixOS/nixpkgs/pull/73094

#73094 was Zulip Desktop (the client app). This issue is for Zulip Server.

You can check out https://discourse.nixos.org/t/mach-nix-pip2nix-poetry2nix-or-pynixify-for-zulip-provision/18836.

I think there is this blocking issue: https://github.com/nix-community/poetry2nix/issues/627.

I think there is this blocking issue: nix-community/poetry2nix#627.

I commented there as I do not think this is still an issue, according to the latest version of poetry2nix.

@rht I tried to package the Node.js frontend and was met with
❯ yarn2nix       Error: Command failed: nix-prefetch-git --rev 92c4dd33b9add115ec436ef25243484cca0f7355#7d0a319a9d6df18736913f34e4a6ec01f68b0486 https://github.com/andersk/postcss-media-minmax.git --fetch-submodules
    at checkExecSyncError (node:child_process:871:11)
    at execFileSync (node:child_process:907:15)
    at prefetchgit (/nix/store/rk1hz9pazyrzpm1k9rx264v7zkr2jq7s-yarn2nix-1.0.0/libexec/yarn2nix/deps/yarn2nix/lib/generateNix.js:36:5)
    at fetchgit (/nix/store/rk1hz9pazyrzpm1k9rx264v7zkr2jq7s-yarn2nix-1.0.0/libexec/yarn2nix/deps/yarn2nix/lib/generateNix.js:60:23)
    at /nix/store/rk1hz9pazyrzpm1k9rx264v7zkr2jq7s-yarn2nix-1.0.0/libexec/yarn2nix/deps/yarn2nix/lib/generateNix.js:93:14
    at _map (/nix/store/rk1hz9pazyrzpm1k9rx264v7zkr2jq7s-yarn2nix-1.0.0/libexec/yarn2nix/node_modules/ramda/src/internal/_map.js:6:19)
    at map (/nix/store/rk1hz9pazyrzpm1k9rx264v7zkr2jq7s-yarn2nix-1.0.0/libexec/yarn2nix/node_modules/ramda/src/map.js:64:14)
    at /nix/store/rk1hz9pazyrzpm1k9rx264v7zkr2jq7s-yarn2nix-1.0.0/libexec/yarn2nix/node_modules/ramda/src/internal/_dispatchable.js:41:15
    at Object.f2 [as map] (/nix/store/rk1hz9pazyrzpm1k9rx264v7zkr2jq7s-yarn2nix-1.0.0/libexec/yarn2nix/node_modules/ramda/src/internal/_curry2.js:29:14) {
  status: 1,
  signal: null,
  output: [ null, <Buffer >, null ],
  pid: 2798505,
  stdout: <Buffer >,
  stderr: null
}

It seems like that
❯ nix-prefetch-git --rev "92c4dd33b9add115ec436ef25243484cca0f7355#7d0a319a9d6df18736913f34e4a6ec01f68b0486" https://github.com/andersk/postcss-media-minmax.git --fetch-submodules
Dépôt Git vide initialisé dans /run/user/1000/git-checkout-tmp-NwP4WVFW/postcss-media-minmax/.git/
fatal : impossible de trouver la référence distante refs/tags/92c4dd33b9add115ec436ef25243484cca0f7355#7d0a319a9d6df18736913f34e4a6ec01f68b0486
remote: Enumerating objects: 43, done.
remote: Counting objects: 100% (43/43), done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 43 (delta 7), reused 12 (delta 1), pack-reused 0
Dépaquetage des objets: 100% (43/43), 25.04 Kio | 2.50 Mio/s, fait.
Depuis https://github.com/andersk/postcss-media-minmax
 * branch            HEAD       -> FETCH_HEAD
fatal : Not a valid object name
Unrecognized git object type:
Unable to checkout refs/tags/92c4dd33b9add115ec436ef25243484cca0f7355#7d0a319a9d6df18736913f34e4a6ec01f68b0486 from https://github.com/andersk/postcss-media-minmax.git.

the object do not exist anymore.
The package/lockfile reference is some sort of codeload.github.com path, is it normal?

The package/lockfile reference is some sort of codeload.github.com path, is it normal?

Hmmm, @andersk can explain better. This is the relevant commit, and this commit has the rationale.

The package/lockfile reference is some sort of codeload.github.com path, is it normal?

Hmmm, @andersk can explain better. This is the relevant commit, and this commit has the rationale.

Hm I get it, but I think it made have sense at a moment, but I wonder if this is still needed. I imagine it would require patching yarn2nix-moretea to support this kind of URLs.

On the Python end, I tried poetry2nix again, since https://github.com/nix-community/poetry2nix/issues/627 has been closed.
Had to do https://github.com/python-poetry/poetry/issues/1917#issuecomment-1251667047 to generate the lock file. Encountered this problem because I set preferWheels = true. I don't know how to apply the work arround in https://github.com/nix-community/poetry2nix/issues/784#issuecomment-1308586385.

On the Python end, I tried poetry2nix again, since nix-community/poetry2nix#627 has been closed. Had to do python-poetry/poetry#1917 (comment) to generate the lock file. Encountered this problem because I set preferWheels = true. I don't know how to apply the work arround in nix-community/poetry2nix#784 (comment).

I tried again and met my end at https://github.com/nix-community/poetry2nix/issues/878 ; I know how to apply the workaround but cannot reach your steps.
I am working on converting the Zulip project to vanilla NPM to reuse buildNpmPackage, having some difficulties with native addons packages requiring Python 3 at the moment, but I think I am a lot closer.
If the Zulip frontend is using this function, it can be included in upstream IMHO (otherwise lockfile would be too much.)
For Zulip backend, I suppose we can do a similar thing.

I tried again and met my end at https://github.com/nix-community/poetry2nix/issues/878

We won’t need pip and pip-tools in a world where we’ve migrated to Poetry, so those can be left out. But I expect there are still other poetry2nix issues still to be addressed: the subdirectory field added in Poetry 1.2 will need to be supported in poetry2nix.

I am working on converting the Zulip project to vanilla NPM to reuse buildNpmPackage,

That might be okay but needs some thought. Shouldn’t yarn2nix work with our existing Yarn packages?
Either way, we’ll want to keep the upstream package manager’s lock file (yarn.lock or package-lock.json) so we can inspect and update it with standard tools (yarn or npm CLI, Dependabot).

I tried again and met my end at nix-community/poetry2nix#878

We won’t need pip and pip-tools in a world where we’ve migrated to Poetry, so those can be left out. But I expect there are still other poetry2nix issues still to be addressed: the subdirectory field added in Poetry 1.2 will need to be supported in poetry2nix.

Unfortunately, zulip_bots has a dependency on pip. :'(
But, someone found the root cause of the issue, so I may get started again on that.
I think the subdirectory field is more or less working, but I would need to check.

I am working on converting the Zulip project to vanilla NPM to reuse buildNpmPackage,

That might be okay but needs some thought. Shouldn’t yarn2nix work with our existing Yarn packages?

Alas, yarn2nix is semi-broken, given it's stuck at Yarn v1 and cannot handle a lot of stuff, I met https://github.com/NixOS/nixpkgs/issues/174114 and frankly, I have no idea what is going on.

Either way, we’ll want to keep the upstream package manager’s lock file (yarn.lock or package-lock.json) so we can inspect and update it with standard tools (yarn or npm CLI, Dependabot).

Yes, but we won't need to commit it upstream to package it, whereas yarn2nix force to commit the yarn.nix.
It will be easier to accept upstream through buildNpmPackage IMHO.

Got in shape poetry2nix mostly for everything, now I met my end on this dependency https://github.com/kichik/tlds/blob/master/setup.py that Zulip uses.
Which require non-trivial patching for offline installs.

Unfortunately, zulip_bots has a dependency on pip. :'(

It doesn’t actually use Pip unless the user invokes the silly --provision mechanism to auto-install dependencies; that’s obviously not going to work on Nix so we can skip it. (I’ll see if we can rip it out upstream.)

Alas, yarn2nix is semi-broken, given it's stuck at Yarn v1

Yarn v1 is what we’re on. Later versions are effectively a different project, so it’s not surprising they’d need different Nix tooling.
Admittedly, we probably won’t want to stay on Yarn v1 forever, and pnpm2nix looks bit-rotted, so maybe NPM is the logical long-term choice.

whereas yarn2nix force to commit the yarn.nix.

FWIW, this is a Hydra restriction (no IFD), not a yarn2nix requirement—I guess it hasn’t been spelled out here, but speaking for Zulip upstream, we are interested in migrating to Nix there, in which case we won’t be bound by Hydra restrictions.

I met #174114 and frankly, I have no idea what is going on.

I haven’t investigated, but I wonder if js2nix works better?

now I met my end on this dependency https://github.com/kichik/tlds/blob/master/setup.py

That’s wacky, but the PyPI wheel should work, right?

Right, on my part, I am interested into upstreaming Zulip packaging into NixOS for self-hosting, so I am bound by Hydra restrictions :P.

The intention would be to move even self-hosted installations to Nix—is a first-party flake or overlay something you’d be interested in?
(There’s a bit of related discussion in our development community. Feel free to join us there with any questions or ideas!)

Right, on my part, I am interested into upstreaming Zulip packaging into NixOS for self-hosting, so I am bound by Hydra restrictions :P.

The intention would be to move even self-hosted installations to Nix—is a first-party flake or overlay something you’d be interested in?

A first-party Flake or overlay would be great, but, I am interested into maintaining a NixOS module in-tree to offer Zulip in stable releases of NixOS.
Of course, it may lag behind official releases, but I am fine with this.

Now at https://github.com/jaysonsantos/python-binary-memcached/issues/249 :).

Reached the end and stuck on some Poetry build-system stuff for Zulip:
❯ nix-build default.nix -A env
these 2 derivations will be built:
  /nix/store/i61bc4yg5s219rkglm1q6w9jvv9882zp-python3.10-zulip-backend-6.0.0.drv
  /nix/store/3s7bv4345h93vvvwp1g41kzhrm8fihm1-python3-3.10.8-env.drv
building '/nix/store/i61bc4yg5s219rkglm1q6w9jvv9882zp-python3.10-zulip-backend-6.0.0.drv' on 'ssh://nix-community-build01'...
copying 1 paths...
copying path '/nix/store/j5awn6y3yhmamik9bqwbz0qdr7768aak-source' to 'ssh://nix-community-build01'...
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pip-build-hook
Using pipBuildPhase
Using pipShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
unpacking sources
unpacking source archive /nix/store/j5awn6y3yhmamik9bqwbz0qdr7768aak-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/zproject/wsgi.py
patching sources
Removing path dependencies
Finished removing path dependencies
Removing git dependencies
Finished removing git dependencies
configuring
no configure script, doing nothing
building
Executing pipBuildPhase
Creating a wheel...
WARNING: The directory '/homeless-shelter/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Processing /build/source
  Running command Preparing metadata (pyproject.toml)
  Traceback (most recent call last):
    File "/nix/store/9jr955f5rhr00rvql5gq0c99sw8378km-python3.10-pip-22.2.2/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
      main()
    File "/nix/store/9jr955f5rhr00rvql5gq0c99sw8378km-python3.10-pip-22.2.2/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/nix/store/9jr955f5rhr00rvql5gq0c99sw8378km-python3.10-pip-22.2.2/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel
      return hook(metadata_directory, config_settings)
    File "/nix/store/455k9z0sl0571q286276a1xr9kh8r9wk-python3.10-poetry-1.2.2/lib/python3.10/site-packages/poetry/core/masonry/api.py", line 40, in prepare_metadata_for_build_wheel
      poetry = Factory().create_poetry(Path(".").resolve(), with_groups=False)
    File "/nix/store/455k9z0sl0571q286276a1xr9kh8r9wk-python3.10-poetry-1.2.2/lib/python3.10/site-packages/poetry/core/factory.py", line 58, in create_poetry
      raise RuntimeError("The Poetry configuration is invalid:\n" + message)
  RuntimeError: The Poetry configuration is invalid:
    - [dependencies.talon-core] {'subdirectory': 'talon-core', 'version': '*'} is not valid under any of the given schemas
    - [dependencies.zulip] {'subdirectory': 'zulip', 'version': '*'} is not valid under any of the given schemas
    - [dependencies.zulip-bots] {'subdirectory': 'zulip_bots', 'version': '*'} is not valid under any of the given schemas
    - [packages.0] 'zulip' is not of type 'object'
    - [packages.1] 'zulip_bots' is not of type 'object'
    - [packages.2] 'zulip_botserver' is not of type 'object'

  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /nix/store/nzgqxw4d875pgl1lji8n3q82x3bf7ldi-python3-3.10.8/bin/python3.10 /nix/store/9jr955f5rhr00rvql5gq0c99sw8378km-python3.10-pip-22.2.2/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /build/tmph1rxgn65
  cwd: /build/source
  Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I don't know how well it is supposed to be supported by Poetry ≥ 1.2.0.

A first-party Flake or overlay would be great, but, I am interested into maintaining a NixOS module in-tree to offer Zulip in stable releases of NixOS.

Alright, that’s great too. I’m sure we can share significant work!

Now at https://github.com/jaysonsantos/python-binary-memcached/issues/249 :).

The problem is slightly misdiagnosed there. m2r, though unmaintained, is still installable. Meanwhile, the python-binary-memcached PyPI tarball is missing the CHANGELOG.md that its setup.py needs to read.

Reached the end and stuck on some Poetry build-system stuff for Zulip:

Yeah, now you’ll start reaching the subdirectory problem I mentioned above. Though the version = "*" suggests you’re trying to pull these modules from PyPI; you will need to pull them from Git.

A first-party Flake or overlay would be great, but, I am interested into maintaining a NixOS module in-tree to offer Zulip in stable releases of NixOS.

Alright, that’s great too. I’m sure we can share significant work!

Definitely :)

Now at jaysonsantos/python-binary-memcached#249 :).

The problem is slightly misdiagnosed there. m2r, though unmaintained, is still installable. Meanwhile, the python-binary-memcached PyPI tarball is missing the CHANGELOG.md that its setup.py needs to read.

Indeed, so I just patched all the stuff. m2r is broken in nixpkgs in NixOS.

Reached the end and stuck on some Poetry build-system stuff for Zulip:

Yeah, now you’ll start reaching the subdirectory problem I mentioned above. Though the 'version': '*' suggests you’re trying to pull these modules from PyPI? You will need to pull them from Git.

So poetry2nix do not understand those when generating the poetry-git-overlay, but I can still "understand" subdirectories by using sourceRoot properly, see https://github.com/RaitoBezarius/zulip/blob/main/poetry-git-overlay.nix
Though, poetry is not understanding those.
(I am using also a private fork for poetry2nix as I had to do some changes which I will upstream soon).

This was working for me with upstream Poetry when I last looked at it. It’s a bit outdated, but does poetry install successfully:
https://gist.github.com/andersk/94423a8ccb57afe66bb731b487d29102

This was working for me with upstream Poetry when I last looked at it. It’s a bit outdated, but does poetry install successfully:
https://gist.github.com/andersk/94423a8ccb57afe66bb731b487d29102

I don't think poetry install produces a package of the "current Python application" and install this package.
I am stuck at the step at turning the whole Zulip project into a Python package which I can deploy without keeping the whole Git source tree.

Oh, well, you’re not going to have a fun time with that. stuck_out_tongue
We don’t really have a package that can be installed in the normal way; we have a bunch of code that expects to run within the source tree in a particular Python environment.

Ha, in that case, maybe I should stop there and have the environment then run uWSGI/etc.
Do you know if there is any plan to support running the WSGI server while only having the backend package installed?
I know that for frontend, there's lots of stuff to generate, before running Webpack, but I do not have yet a clear big picture of all the moving parts.

It’s a reasonable wishlist item, but unlikely to be a priority any time soon. Even if you were to tear out the frontend, the backend depends on generated files too (e.g. static/webpack-bundles/katex-cli.js, static/generated/{bots,emoji/*.json,pygments_data.json,timezones.json, templates/zerver/emails/compiled). The closest thing to an overview of all there is to set up might be the scripts/lib/upgrade-zulip-stage-2 and tools/update-prod-static scripts.

Is there any progress?

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nix-community-zulip/11683/10


Switch to glide for dependency management

Code Coverage is 57.1%, details at https://s3.amazonaws.com/rs-code-coverage/wstunnel/2016-10-19_101_Coverage-57.1.txt (sometimes the URL can take a few minutes to be available)


Add Continuous Integration

This adds support for continuous integration using TravisCI. You will need an account (free) at TravisCI.
Produces output like this:

Which indicates that it fails on Python2.6, but works all the way up to 3.5dev.

ping @timnon ?


Handle styles

We currently completely disregard the styles vector in Lines that we receive from the backend. We should maybe (?) do something with this

I think this could be done in the Line::render method if/when https://github.com/little-dude/xi-tui/pull/33 gets merged, if you want to start working on it. I don't know what's the state of styles in the core though.

I don't what's the state of styles in the core

Good point. I'll check in on IRC later today I hope.

this is now done.


Using "className" attribute instead of "class" for dynamic classes is unclear

I have found that if I want to set class attribute dynamically, I have to use className instead of class while static classes should be defined as class.
html`

`

I've prepared a test case for it, but it is untested, because I failed to start tests on my Windows.
test('renders class', () => {
  const container = document.createElement('div');
  const container2 = document.createElement('div');
  const t = html`<div class="${'test'}"></div>`;
  const t2 = html`<div className="${'test'}"></div>`;
  render(t, container);
  render(t2, container2);
  const div = container.firstElementChild!;
  const div2 = container2.firstElementChild!;
  assert.equal(div.className, '');
  assert.equal(div2.className, 'test');
});

Also you can see this problem in my "lit-html" version for js-framework-benchmark. The code is following:
main.js, line 168
render(html`${this.store.data.map(i => html`

    ...other code

`
)}`, this.tbody);

If I replace className in this code with class, it will never change
's class.

Since you're using lit-extended, which sets properties by default, you have to set the class attribute via an explicit attribute binding, like:

Thanks for the explanation, I've understood the difference.


What is the speed during inference?

Hi, athena-team,
I wrote my own WFST based decoder in python. I found that it may iterate many arcs for a state. Becouse for loop is very slow in python, so the decoding speed is very slow. I also build LG graph. The inputs are 4233 characters, and the outputs are words.  I would like to know is it fast enough for your decoder? Thank you!
Best,
by2101

Certainly, the python version decoder is slower than C++ version decoder but not that much.
For example, for LG graph there are fewer successor nodes and emitting arcs for every states than HCLG graph.
You could try to reduce beam size and max active tokens size to speed up.
honestly， the purpose of this python version decoder is verifing experiment results quickly. We do not pay much attention to the speed optimization。
It is recommended to use C++ version decoder in  production environment or other environment that have requirement for speed.
The C++ version of the decoder will be open sourced in the same project soon.
Thanks.

The information is very useful. Thank you!


Unhandled exception instead of getting an error in callback func

When running a query and the user does not have sufficient rights, there's an unhandled exception instead of an error object in the callback function:
events.js:154
throw er; // Unhandled 'error' event
^
Error: Access denied for user '@' to database '***'
at Error (native)

Can you show the code you're using?

Here's the code. User "guest" does not have a privellege to read from testdb.testtbl.
var maria = require('mariasql');
var conn = new maria({ host: '<IP_ADDRESS>', user: 'guest', password:'blah', db: 'testdb' });
conn.query('SELECT * FROM testtbl',
(err, data) => {
console.log(err);
}
);

What version of this addon are you using?

version 0.6.1

Huh? The latest version is only v0.2.6.

My apologies, I mistakenly read the version of another module. What I have is 0.2.6 - the latest.

Did you try attaching an error event handler on conn?

Brian, i've attached error to conn and found my mistake. Everything looks ok.
Thanks for your time!


SSLError propagets urllib3 SSLError exception object as message

Summary.
On adapter.py link we pass as the first parameter of the error an SSLError exception object. this has a result if you catch the error e.message is an object and not a string. Is this intented?
Maybe we need to pass
        except (_SSLError, _HTTPError) as e:
            if isinstance(e, _SSLError):
                # This branch is for urllib3 versions earlier than v1.22
                raise SSLError(e.message, request=request)

Expected Result
from requests.exceptions import SSLError
from urllib3.exceptions import SSLError as _SSLError

a = SSLError(_SSLError, request="TEST")

print a.message

What you expected.

"An SSL error occured"

Actual Result
What happened instead.

<class 'urllib3.exceptions.SSLError'>

Reproduction Steps
import requests
from requests.exceptions import SSLError
from urllib3.exceptions import SSLError as _SSLError

a = SSLError(_SSLError, request="TEST")

print a.message

System Information
$ python -m requests.help

{
  "chardet": {
    "version": "3.0.4"
  },
  "cryptography": {
    "version": "2.2.2"
  },
  "idna": {
    "version": "2.6"
  },
  "implementation": {
    "name": "CPython",
    "version": "2.7.12"
  },
  "platform": {
    "release": "4.15.0-33-generic",
    "system": "Linux"
  },
  "pyOpenSSL": {
    "openssl_version": "1010008f",
    "version": "18.0.0"
  },
  "requests": {
    "version": "2.18.4"
  },
  "system_ssl": {
    "version": "1000207f"
  },
  "urllib3": {
    "version": "1.22"
  },
  "using_pyopenssl": true
}

This command is only available on Requests v2.16.4 and greater. Otherwise,
please provide some basic information about your system (Python version,
operating system, &c).

Hi @NikosVlagoidis, I'm a little confused about what we're expecting here. All of our wrapped exceptions should return an instantiation of the exception that we're wrapped which is represented by the e variable in the code your referenced. When that exception is returned, you should be able to call the message attribute on it and get what you want.
The reproduction code you've provided is wrapping an exception with the SSLError class rather than an SSLError object instantiation. I think we'd expect the output to be the class reference at that point which matches your observed behaviour.
I'm going to close this out for now since it doesn't seem there's an issue here. If you have more information, please feel free to provide it hear and reopen the issue. Thanks!


Can't open Controller in new workflows ( and errors in groups.js and resize_manager.js )

Sometimes I have one of these errors when trying to load workflows.
Also, when I have these errors, some of the groups in the workflow are gone ( at least for the groups.js error ).
These can also happen when I switch to workflows with no controller enabled ( mostly the resize_manager.js error, I think ).
In this case a small empty Controller also shows up.

I also noticed that the Controller does not show up in new workflows.
I can add nodes to the Controller ( the pink dot is shown ), but nothing happens when I use the right click option to show the Controller.
The old Controller workflows still work.

In the new workflows (  where the Controller does not work ), I'm constantly having these warnings on the browser.
If I disable the Controller ( in the Manager ), they don't show up anymore.

Just pushed a small change, please try now

I also noticed that the Controller does not show up in new workflows.

That is expected behaviour

Seems fixed :

I don't have those errors when switching workflows.

And now the Controller can be enabled in new workflows, that had no Controller ( that's what I meant before ).

But I still have those warnings, In workflows without Controllers.  Is that normal ?


Investigate orms

we probably want some ORM. the ones i see so far are:

ormx - seems very lightweight, but also very easy to drop in. not that i have that much db code to worry about yet or anything.
diesel - seems very heavyweight. it's not async but i don't actually think that matters. also it seems like work to provide an async version is coming along.
sea orm - seems somewhere in between, weightclass wise. based on sqlx so probably an easier migration story - also actually has a migration story, or at least a "get started from an existing db" story: https://www.sea-ql.org/sea-orm-tutorial/ch01-04-entity-generation.html. this doesn't seem that great. just like aesthetically, or ergonomically, the queries and stuff look gross to work with
rbatis - this looks extremely non-ergonomic

i guess i'm using diesel?


Change images for StatefulSets ?

What did you do?
Pulled all images to private onsite registry. Edited all yaml file to point to new image location and deployed kube-prometheus. Our K8s Nodes are currently  unable to download public images directly.
What did you expect to see?
A working kube-prometheus deployment.
What did you see instead? Under which circumstances?
Prometheus and Alertmanager pods in a crashloop status, unable to pull from quay.io.
Environment
Onsite, baremetal, CentOS7

Kubernetes version information:
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.0", GitCommit:"925c127ec6b946659ad0fd596fa959be43f0cc05", GitTreeState:"clean", BuildDate:"2017-12-15T21:07:38Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.1", GitCommit:"1dc5c66f5dd61da08412a74221ecc79208c2165b", GitTreeState:"clean", BuildDate:"2017-07-14T01:48:01Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:
From scratch.

Workaround
Pull the images manually to each node and retag as:
quay.io/prometheus/alertmanager:v0.9.1
quay.io/prometheus/prometheus:v2.0.0

Those are exactly the images that would be pulled by default. Can you share more of your setup? Did you adapt any flags or options in the Prometheus/Alertmanager manifests?

Yes, those are the images pulled by default. I want to pull them from:
<my_registry>/alertmanager:v0.9.1
<my_registry>/prometheus:v2.0.0
instead. I've modified every manifiest file replacing every image reference as indicated above for every image, but I can't find where these 2 images are referenced for the given statefulsets.
Where are these defined so I can modify the pull location?
I only see the following references for those 2 images in the following files:
/prometheus-operator/helm/alertmanager/values.yaml
/prometheus-operator/helm/kube-prometheus/values.yaml
/prometheus-operator/test/framework/alertmanager.go
/prometheus-operator/helm/kube-prometheus/values.yaml
/prometheus-operator/helm/prometheus/values.yaml
/prometheus-operator/test/framework/prometheus.go
I'm not using Helm for deployment.

The flags of the Prometheus Operator, that you are looking for are:
  -alertmanager-default-base-image string
        Alertmanager default base image (default "quay.io/prometheus/alertmanager")
  -config-reloader-image string
        Reload Image (default "quay.io/coreos/configmap-reload:v0.0.1")
  -prometheus-config-reloader string
        Config and rule reload image (default "quay.io/coreos/prometheus-config-reloader:v0.0.2")
  -prometheus-default-base-image string
        Prometheus default base image (default "quay.io/prometheus/prometheus")

Let me know if this is what you were looking for.

Thanks brancz - This looks like it should be it. My apologies if this was documented somewhere and I just missed it. I am looking over the prometheus-operator deployment yaml now, will add these flags and test this week. Appreciate it -

Chiming back in to state this indeed was what I was looking for. Thanks @brancz.

Hi, @brancz
I'm using helm and pull the images from quay.io and re-tag it.  In the values.yaml file
the image is setup like below the deployment.yaml is unchanged.  The alertmanager deployment failed with CrashLoopBack and prometheus does not even deploy to k8s dashboard.  What am missing?
image:
repository: private_registry_path
tag: some_arbitrary_value
quay.io/prometheus/alertmanager:v0.14.0
quay.io/prometheus/prometheus:v2.1.1
Thanks.

the tag can't be an arbitrary value, it's what decides the version, so it must be a valid semver tag
    tag: some_arbitrary_value

the error you are getting is likely because the wrong version is selected due to not being able to decide the version

Hi @brancz
Is there a constraint restriction for the semver tag?
Try it with an arbitrary value but with prefix.  For example:  v<IP_ADDRESS>-master-0056-180504002721

anything that's an actually valid semver string works, the library we use is https://github.com/blang/semver you can test with that to find out if your string does what you think


Added option to override GrpcChannelOptions when adding DaprWorkflow (#7218)

Description
You can now use custom GrpcChannelOptions when using DaprWorkflow, in the same manner as was already the case when creating the DaprClient:
builder.Services.AddDaprWorkflow(options =>
{
    options.UseGrpcChannelOptions(new GrpcChannelOptions
    {
        MaxReceiveMessageSize = 32 * 1024 * 1024,
        MaxSendMessageSize = 32 * 1024 * 1024
    });
});

Issue reference
See issue: GRPC data receive limits (#7218)

@humandigital-ruud Are you still interested in pursuing this PR?

@humandigital-ruud Are you still interested in pursuing this PR?

I will discuss this with my co-worker to see if he can take this over from me and spend some more time on it to get it right

@humandigital-ruud Are you still interested in pursuing this PR?

I will discuss this with my co-worker to see if he can take this over from me and spend some more time on it to get it right

Hi!

hi @philliphoff i made some adjustments based on your feedback. One of my first contributions to dapr.

@humandigital-michiel This looks good on my end, but I'm showing the branch is out of date. Could you please merge the latest from master so I can complete this PR?
Thanks for putting this together!

Thank you for your contribution @humandigital-michiel and @humandigital-ruud !

@holopin-bot @humandigital-ruud Thanks Ruud! 👋

@holopin-bot @humandigital-michiel Thanks Michiel! 💪


Backgammon Notation

Changes to use Backgammon standard narrative formats for human readable notation, as follows:

Always show the numbering going from Bar->24->0->Off, irrespective of which player is moving.
Show the start position followed by end position, instead of start position, number of moves. E.g. 24/22 10/8
Show hits with an asterisk, e.g. 9/7*.
Order the moves by highest number first, e.g. 22/7 10/8 not 10/8 22/7. Not an official requirement, but seems to be standard convention.
Show duplicate moves as 10/8(2) instead of 10/8 10/8.
Show moves on a single piece as 10/8/5 not 10/8 8/5
Also introduced tests to check for the above scenarios.

Files changed - backgammon.cc, backgammon_test.cc and backgammon.txt (for the playthrough tests)

Ok, @jamesdfrost , I've started to import it. Should go in on the next update.


[Display news] 2d and 3d news block is moved down in the 'Eco news' section on the Home page on 1053-1025px resolutions

Environment: Windows 10 x64, Mozilla Firefox 76.0 (64-bit)
Reproducable: always
Build found: commit 8629873
Steps to reproduce

Go to GreenCity https://ita-social-projects.github.io/GreenCityClient/#/welcome
Set browser window width to 1054px.
Scroll down to 'Eco news' section.
Pay attention to second and third news block.
Set browser window width to 1053px.
Pay attention to second and third news block.
Set browser window width to 1024px.
Pay attention to second and third news block.

Actual result
Second and third news block is moved down in the 'Eco news' section on the Home page on 1053-1025px window width while first news block remains in the same place.

Expected result
Second, third and first news block remains in the same place on 1440-1024px display resolutions or window width.

User story #351
Test case

Can't recreate the bug. Please, check it again.

Bug is not reproducible now after last merged commits.


[TODO] Outdated dependencies.

Description
The project's dependencies, e.g. AGP,  seem to be outdated. Any plans on updating these?

First of all thank @ziSo12 for your ticket, definitely there was more than a year without updating the dependencies and unfortunately I didn't have the time until now to make these changes. That required several changes on the code to adapt to breaking changes for different libraries


Prevalence runs failing

Our daily prevalence updates have failed the last four days (11/23-11/26).  This is an example log, which is unfortunately hidden to folks who aren't part of the org:
13s
Run yarn prevalence -b -c -k *** -v /home/runner/.virtualenvs/.venv
yarn run v[1](https://github.com/microCOVID/microCOVID/actions/runs/3532758468/jobs/5927512982#step:10:1).22.19
$ ./scripts/prevalence_helper.sh -b -c -k *** -v /home/runner/.virtualenvs/.venv
Using a manual virtualenv directory: /home/runner/.virtualenvs/.venv
Branch will be based on the currently checked out branch
Switched to a new branch 'auto-update-prevalence-2022-11-23--14-0[7](https://github.com/microCOVID/microCOVID/actions/runs/3532758468/jobs/5927512982#step:10:8)-30'
remote:
remote: Create a pull request for 'auto-update-prevalence-2022-11-23--14-07-30' on GitHub by visiting:
remote:      https://github.com/microCOVID/microCOVID/pull/new/auto-update-prevalence-2022-11-23--14-07-30
remote:
To https://github.com/microCOVID/microCOVID
 * [new branch]          auto-update-prevalence-2022-11-23--14-07-30 -> auto-update-prevalence-2022-11-23--14-07-30
branch 'auto-update-prevalence-2022-11-23--14-07-30' set up to track 'origin/auto-update-prevalence-2022-11-23--14-07-30'.
Created branch auto-update-prevalence-2022-11-23--14-07-30
Activating the virtualenv
Activating virtulenv: /home/runner/.virtualenvs/.venv/bin/activate
Running prevalence script
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/UID_ISO_FIPS_LookUp_Table.csv...
read 4322 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-22-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-21-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-20-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-19-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-1[8](https://github.com/microCOVID/microCOVID/actions/runs/3532758468/jobs/5927512982#step:10:9)-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-1[9](https://github.com/microCOVID/microCOVID/actions/runs/3532758468/jobs/5927512982#step:10:10)/master/csse_covid_19_data/csse_covid_19_daily_reports/11-17-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-16-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-15-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-14-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-13-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-12-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-11-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-[10](https://github.com/microCOVID/microCOVID/actions/runs/3532758468/jobs/5927512982#step:10:11)-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/[11](https://github.com/microCOVID/microCOVID/actions/runs/3532758468/jobs/5927512982#step:10:12)-09-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-08-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-07-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/11-06-2022.csv...
read 4017 objects
Fetching https://raw.githubusercontent.com/govex/COVID-19/master/data_tables/vaccine_data/global_data/time_series_covid19_vaccine_global.csv...
read [12](https://github.com/microCOVID/microCOVID/actions/runs/3532758468/jobs/5927512982#step:10:13)3105 objects
Traceback (most recent call last):
  File "update_prevalence.py", line 1863, in <module>
    main()
  File "update_prevalence.py", line 1746, in main
    parse_jhu_vaccines_global(cache, data)
  File "update_prevalence.py", line [14](https://github.com/microCOVID/microCOVID/actions/runs/3532758468/jobs/5927512982#step:10:15)57, in parse_jhu_vaccines_global
    raise ValueError(f"Not able to gain data from {JHUVaccinesTimeseriesGlobal.SOURCE}")
ValueError: Not able to gain data from https://raw.githubusercontent.com/govex/COVID-[19](https://github.com/microCOVID/microCOVID/actions/runs/3532758468/jobs/5927512982#step:10:20)/master/data_tables/vaccine_data/global_data/time_series_covid19_vaccine_global.csv
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.

If anyone thinks they could take a crack on figuring out some Python code and would like to pair on fixing this, please reach out, or just book some time with me.
There's some information on setting up local development in our README to get started.

Eyeballing it, it looks like the world vaccine data (https://raw.githubusercontent.com/govex/COVID-19/master/data_tables/vaccine_data/global_data/time_series_covid19_vaccine_global.csv) has not been updated since the 21st.
For issues like this is it typical to followup with the source to figure out why it hasn't been updated? (changes in release cadence, no longer maintained). Or moreso just make the script handle the lack of data and move on?

Yeah, I've made a practice of following up with the upstream source when things like this happen, which has been pretty effective in general.
Note that population vaccination numbers currently don't affect the risk values in the model much, because it's easy to catch and spread Omicron even when you're vaccinated.
Given that, I wouldn't have a problem making changes to the safety check, especially if it's done in a way that balances the risk of things failing silently as a result.  We've encountered data feeds being retired, data formats radically changing, upstream providers having issues they don't fix until we talk to them, etc...having something to tell us about those is useful.
Ideally we'd have a low-noise way to publish warnings about things like this without failing prevalence entirely.  We don't today - the Sentry references in the code aren't configured to go to an account I have access to.  I've thought about adding a Sentry Slack integration or even just a direct Slack integration from the Python script, so we can at least get those piped into places that active contributors can see.

Left a github issue comment for the upstream source but given the state of the other issues I'm not expecting a near term response 🤞
Gotcha, makes sense. Sentry does allow open source projects to apply for a free account via https://sentry.io/for/open-source if a new account for current contributors is needed. I'm assuming the slack you refer to is an instance used for contributors?

Left a github issue comment for the upstream source but given the state of the other issues I'm not expecting a near term response 🤞

Thanks for filing that!
They don't provide source code or logs for their data ingestion pipeline.  That said, I notice in their README they list three sources for the upstream data:

US Centers for Disease Control and Prevention (CDC): https://covid.cdc.gov/covid-data-tracker/#vaccinations
Our World in Data (OWiD): https://ourworldindata.org/covid-vaccinations
World Health Organization (WHO): https://covid19.who.int/who-data/vaccination-data.csv

Wonder if there's an obvious point where things are stuck upstream.

Sentry does allow open source projects to apply for a free account via https://sentry.io/for/open-source if a new account for current contributors is needed. I'm assuming the slack you refer to is an instance used for contributors?

Right on.  Be aware that their free plan does have a 50k monthly error limit, which I suspect we'd blow through with the current configuration on what gets logged.  Maybe the open source plan has a higher limit...
Yeah, we have a Slack instance we can use - I can get you access if you like.  It's a ghost town in terms of actual discussion, but may be useful for integrations like this to post into.

I'm happy to take a look. I'm not a python expert, but I know my way around well enough. I only took a cursory look, but I didn't see any try/catch action going on. @apiology I'm going to grab some time on calendly with you for later this week to get better aquatinted with the code. I also know actions FWIW.

Fixed upstream--thanks to @shawnbiesan2 for alerting folks!


Android Basics: Collections

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-collections?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-collections#4
In which task and step of the codelab can this issue be found?
unit 3, task 2 codelab, section 5, step 2, just above step 3

Describe the problem
this text is not supposed to be formated as code but as normal paragprah part of step 2
The  startsWith() function returns true if a string starts with the specified string. You can also tell it to ignore case, so "b" will match "b" or "B".

This should now be fixed, thanks for filing!


g-helper: Add version 0.63

Closes #11306.

[x] I have read the Contributing Guide.

/verify

https://github.com/seerge/g-helper#requirements-mandatory
suggests dotnet-sdk, and hints about Asus System Control Interface v3+ in notes.

closing in favor of #11837.


[Jira] Error management can be improved

Extension
https://www.raycast.com/raycast/jira
Description
I'm unable to create an issue after fill of the form (I did before successfully ), likely due to something tied to my workflow in Jira. However, I'm unsure about the specific problem because the information I'm receiving is limited. Failed creating issue
It will be great to be able to see the response from the server.
Who will benefit from this feature?
Every user?
Anything else?
Observe that the app is functioning well. I can view my tasks and the entire sprints and filters. Actually, the app is very impressive.

Could you share a recording? It'll make it easier to see what's happening.

Indeed! Something is likely missing here. Do you want to take a look at it? 🙂


Format buttons (e.g. bold/italic) don’t respond.

I’m on Mac using Chrome 80 on a Retina display, but reproducible for FF 74.0 and Safari 13.0.5.
To reproduce, hop onto the Trumbowyg Demo page and start typing text in the default editor. Then click [B] or [I] to continue typing in bold or italic—nothing happens. The buttons don’t toggle, and typing remains normal.
However, select the last few letters and then click [B] and the selection turns bold and I can continue typing in bold. But when I try to switch from bold to normal again, the [B] button stays selected. Same behavior with other format buttons. If this is intended behavior then it’s really confusing and a deviation to other editors…
There are no errors in the console.

Already reported multiple times. I can't fix that fin v2. I hope to fix that with v3, see #875.

I have created a (really) dirty workaround to allow toggling bold and italic with help of a temporary element:
https://github.com/StrathCole/Trumbowyg/commit/98aa16a4963b5a136f51bb94afcbf4d80c8cbeea


Better error message when a package version is not found

This changes the error message when a package is found but there's no
matching version to be a little more helpful.
Old: "no matching package named <dep name>"
New: "no matching version <version> found for package <dep name>"
Fixes #2997

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@bors: r+
Looks great, thanks!

:pushpin: Commit f2b7fd7 has been approved by alexcrichton

:hourglass: Testing commit f2b7fd7 with merge 770512b...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 770512b08fb2985aed6f06311f1c58ed587fa259 to master...


Clean up gitignore

Now that output files are moved to tmp, can clean up gitignore.

Sounds like a good idea.


Crashing in MP (py alternative energy)

Mod source
Factorio Mod Portal
Operating system
GNU/Linux
What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[X] Crash
[ ] Progression
[ ] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
random crash with full set of py
Steps to reproduce
N/A
Additional context

Log file
No response

Would you be willing to provide a save so I can test the fix?

Would you be willing to provide a save so I can test the fix?

https://gofile.io/d/cuhRyM

Perfect, thanks. Fix is working.


dataset source

Hello there,
From the blog it says the dataset is publicly available. But this seems to self-referencing and where the dataset originally collected? I'm developing academic work and hope to site the data.
Thanks & regards

Hi there,
The dataset can be found here and here.
Hope it helps.


Initialization of get_trellis dynamic programming

🐛 Describe the bug
This line
trellis[1:, 0] = torch.cumsum(emission[:, 0], 0)

is based on blank_id=0. If the prediction does not start with 0, the aligner gets the starting frame wrong. For example, when blank_id=29([PAD]), and the model outputs pred_id=[29,29,29,1,29]. Then the trellis will be liketrellis[0]=[0, -inf, -inf, -inf, -inf, -inf] and trellis[1]=[emission[1,0], emission[1,1], -inf, -inf, -inf] where emission[1,1] might be greater than emission[1,0] because 0 is not the starting id. In this way, the aligner assumes label 1 starts at frame 0 when it actually starts at frame 3.
Changing the line to
trellis[1:, 0] = torch.cumsum(emission[:, blank_id], 0)

works for me.
Versions
Collecting environment information...
PyTorch version: 1.13.1+cu117
Is debug build: False
CUDA used to build PyTorch: 11.7
ROCM used to build PyTorch: N/A
OS: Arch Linux (x86_64)
GCC version: (GCC) 12.2.1 20230201
Clang version: 15.0.7
CMake version: version 3.25.2
Libc version: glibc-2.17
Python version: 3.7.13 (default, Mar 29 2022, 02:18:16)  [GCC 7.5.0] (64-bit runtime)
Python platform: Linux-5.15.94-1-lts-x86_64-with-arch
Is CUDA available: True
CUDA runtime version: 11.8.89
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA GeForce RTX 2080 Ti
GPU 1: NVIDIA GeForce RTX 2080 Ti
GPU 2: NVIDIA GeForce RTX 2080 Ti
GPU 3: NVIDIA GeForce RTX 2080 Ti
GPU 4: NVIDIA GeForce GTX 1080 Ti
GPU 5: NVIDIA GeForce GTX 1080 Ti
GPU 6: NVIDIA GeForce GTX 1080 Ti
GPU 7: NVIDIA GeForce GTX 1080 Ti
Nvidia driver version: 525.89.02
cuDNN version: Probably one of the following:
/usr/lib/libcudnn.so.8.6.0
/usr/lib/libcudnn_adv_infer.so.8.6.0
/usr/lib/libcudnn_adv_train.so.8.6.0
/usr/lib/libcudnn_cnn_infer.so.8.6.0
/usr/lib/libcudnn_cnn_train.so.8.6.0
/usr/lib/libcudnn_ops_infer.so.8.6.0
/usr/lib/libcudnn_ops_train.so.8.6.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Address sizes:                   46 bits physical, 48 bits virtual
Byte Order:                      Little Endian
CPU(s):                          48
On-line CPU(s) list:             0-47
Vendor ID:                       GenuineIntel
Model name:                      Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHz
CPU family:                      6
Model:                           85
Thread(s) per core:              2
Core(s) per socket:              12
Socket(s):                       2
Stepping:                        4
CPU(s) scaling MHz:              80%
CPU max MHz:                     3200.0000
CPU min MHz:                     1000.0000
BogoMIPS:                        4600.00
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti intel_ppin ssbd mba ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req pku ospke flush_l1d
Virtualization:                  VT-x
L1d cache:                       768 KiB (24 instances)
L1i cache:                       768 KiB (24 instances)
L2 cache:                        24 MiB (24 instances)
L3 cache:                        33 MiB (2 instances)
NUMA node(s):                    2
NUMA node0 CPU(s):               0-11,24-35
NUMA node1 CPU(s):               12-23,36-47
Vulnerability Itlb multihit:     KVM: Mitigation: VMX disabled
Vulnerability L1tf:              Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
Vulnerability Mds:               Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Mmio stale data:   Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
Vulnerability Retbleed:          Mitigation; IBRS
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
Versions of relevant libraries:
[pip3] numpy==1.21.6
[pip3] torch==1.13.1
[pip3] torchaudio==0.13.1
[conda] numpy                     1.21.6                   pypi_0    pypi
[conda] torch                     1.13.1                   pypi_0    pypi
[conda] torchaudio                0.13.1                   pypi_0    pypi

Hi @jiyuntu, the suggestion LGTM. Are you interested in opening a PR for fixing it?


feat: add rn collapse component

Coverage increased (+15.8%) to 24.49% when pulling 2564044a795eca738ae9df957ae0b9317795a7a2 on zhiyingzzhou:dev into c251f69c96b4227fdeae6fb5a92ac2f3dd622493 on ZhonganTechENG:dev.


Add variable to log which TLS certificate was used

When using multiple ssl_ciphers (usually: RSA + ECDSA), it seems ot me that's impossible to know (and/or log) which was was used for a specific connection or, at least, I cannot find a variable reporting that value.
This is because it seems to me that nowadays most client just support ECC and having RSA+ECDSA dual certificates is overkill, but before dropping them altogether I'd prefer to keep as is for a few more months and log the data, to veryfy how often the RSA one is actually used.

You can determine this indirectly. Just log $ssl_cipher variable, it should be TLS_*_ECDSA or TLS_*_RSA depending on certificate actually used.

Mhh, doesn't seem like so: I'm currently logging $ssl_protocol/$ssl_cipher and the output I get is like this:
% egrep -o 'TLSv[^ ]*' access.log | sort | uniq -c | sort -rn | column -t
156144  TLSv1.3/TLS_AES_128_GCM_SHA256
57316   TLSv1.3/TLS_AES_256_GCM_SHA384
4263    TLSv1.2/ECDHE-ECDSA-AES128-GCM-SHA256
3942    TLSv1.2/ECDHE-RSA-AES128-GCM-SHA256
3385    TLSv1.2/ECDHE-RSA-AES256-GCM-SHA384
859     TLSv1.3/TLS_CHACHA20_POLY1305_SHA256
539     TLSv1.2/ECDHE-ECDSA-AES256-GCM-SHA384
390     TLSv1.2/ECDHE-RSA-CHACHA20-POLY1305

Or rather: partially… seems like it can be deduced in TLSv1.2, but not in TLSv1.3?

Indeed, modern ciphers use the certificate for authencity check only but not for keys exchange (so both types can be used).
I agree that introducing dedicated variable makes sense.


Add test coverage stats on PRs

It'd be nice to see coverage stats on PRs, particularly a comparison of coverage between the main branch and the PR branch. One idea is to have a github action workflow that adds a comment with coverage stats

Proof of concept: https://github.com/navapbc/template-application-nextjs/pull/180

Thinking about this a little more... the concept of reporting a diff in coverage between the PR and the main/base branch has its merits, but there would be a downside. Unless we script something such that we store the base branch coverage, any of these actions will likely necessitate a separate run of the tests for the main branch as well as the PR branch. And because a PR may well include a change of dependencies, we'd have to have the coverage run on the main branch do a separate npm install for that as well.
I'm not certain how concerned to be about performance, but wanted to flag this as a consideration. (This project is still fairly small, and both install and full suite of tests don't take all that long at the moment; however, obviously that could change over time.)

@jcq great points. Storing and updating the coverage adds some complexity so there's a tradeoff but I'm not against the idea altgother.
Another idea is to report coverage on any added and modified lines (potentially in addition to reporting coverage for the whole codebase)


Unit test for ethereum/transaction in cmd/indexer

Is your feature request related to a problem? Please describe.
cmd/indexer has a processor for Ethereum transactions, it does not have unit test against ethereum transactions.
Describe the solution you'd like
To create core.Transaction structs in go-ethereum the rlp.Decode method can be used to decode a raw hex string, this though is difficult to read compared to a json doc. Ideally there is the possibility to UnmarshalJSON

[ ] create cmd/indexer/internal/ethereum/testdata/[TestName] folder to store json docs for this case
[ ] create separate file for each test case named the same as the test case name.
[ ] For each test case load the file either:

[ ] Use Transaction.UnmarshalJSON() to decode a JSON file most readable Note: the result element may be root rather than child.
[ ] Use rlp to decode the bytes to Transaction with rlp.DecodeBytes().

[ ] Use object for test

Create test expected ethereum transactions cases:

[ ] Mailchain transation
[ ] non Mailchain transaction
[ ] Invalid transaction data
[ ] Transaction not in block ref #
[ ] tx.AsMessage fail
[ ] other relevant cases

Additional context

[ ] goerli Mailchain transaction
[ ] goerli Mailchain transaction JSON RPC response

{
    "jsonrpc": "2.0",
    "id": 24,
    "result": {
        "blockHash": "0xf0549ccfe817e6345e44b9a48f80ce2f104c0686be2e58e95c095a2947f2a6f7",
        "blockNumber": "0x15a536",
        "from": "0xd5ab4ce3605cd590db609b6b5c8901fdb2ef7fe6",
        "gas": "0x77c4",
        "gasPrice": "0x6fc23ac00",
        "hash": "0x4f5e4e5a97784e2dedcb1a72feab4620575f84c51515ae891640be4976400cdc",
        "input": "0x6d61696c636861696e010a82012e5f6c8056cd51b4b720059e8f04f1bc1e0327e5853bf10a6bc499e7e90bd94e3118150e3a0403a697306199535a491e1bd07ef5680c19c5f21a6e88f915c78194dd8f96cefdcb2b6216095b17dd7242c0a5f3ad0b6a00e73b3ce7bd5053dca89508a95e4e0b731961f13c828620f073be8eb9dad42bcfc8c28475b04a80384ab8da",
        "nonce": "0x2",
        "to": "0x92d8f10248c6a3953cc3692a894655ad05d61efb",
        "transactionIndex": "0x0",
        "value": "0x0",
        "v": "0x2d",
        "r": "0x364784d84bb524cb0bb45cd45319297da4f1b73d31ab55b5582d5b2d77b3dff8",
        "s": "0x4beb398c0edfa11bb45e7becd0589c6c7619058186fcd9811969e398a780039e"
    }
}

[ ] goerli Mailchain block
[ ] goerli Mailchain block JSON RPC response

{
    "jsonrpc": "2.0",
    "id": 24,
    "result": {
        "difficulty": "0x2",
        "extraData": "0x4e65746865726d696e6400000000000000000000000000000000000000000000ef17789ce738e9acc2c961197915545b664f0ab9bbbcb31c34f727366610749864d37ba0c4a25651dc2462298abd0ee592e26a869145ce59e87019744da0b6e801",
        "gasLimit": "0x7a1200",
        "gasUsed": "0x77c4",
        "hash": "0xf0549ccfe817e6345e44b9a48f80ce2f104c0686be2e58e95c095a2947f2a6f7",
        "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "miner": "0x0000000000000000000000000000000000000000",
        "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x0000000000000000",
        "number": "0x15a536",
        "parentHash": "0x1a4e0fc9fdf184cabedb6b22be07a36320bfcbec48e94f11aed4d8c83067072e",
        "receiptsRoot": "0xf05694b46a4793735662a04f5cc5e6ec312779df7b475cb6aedb44ab3ee1c63d",
        "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
        "size": "0x35a",
        "stateRoot": "0xf38768c5358f66c94c037b52f6b4696511cf49e5d82aa5df4cfe53287636305e",
        "timestamp": "0x5d98d413",
        "totalDifficulty": "0x218d81",
        "transactions": [
            {
                "blockHash": "0xf0549ccfe817e6345e44b9a48f80ce2f104c0686be2e58e95c095a2947f2a6f7",
                "blockNumber": "0x15a536",
                "from": "0xd5ab4ce3605cd590db609b6b5c8901fdb2ef7fe6",
                "gas": "0x77c4",
                "gasPrice": "0x6fc23ac00",
                "hash": "0x4f5e4e5a97784e2dedcb1a72feab4620575f84c51515ae891640be4976400cdc",
                "input": "0x6d61696c636861696e010a82012e5f6c8056cd51b4b720059e8f04f1bc1e0327e5853bf10a6bc499e7e90bd94e3118150e3a0403a697306199535a491e1bd07ef5680c19c5f21a6e88f915c78194dd8f96cefdcb2b6216095b17dd7242c0a5f3ad0b6a00e73b3ce7bd5053dca89508a95e4e0b731961f13c828620f073be8eb9dad42bcfc8c28475b04a80384ab8da",
                "nonce": "0x2",
                "to": "0x92d8f10248c6a3953cc3692a894655ad05d61efb",
                "transactionIndex": "0x0",
                "value": "0x0",
                "v": "0x2d",
                "r": "0x364784d84bb524cb0bb45cd45319297da4f1b73d31ab55b5582d5b2d77b3dff8",
                "s": "0x4beb398c0edfa11bb45e7becd0589c6c7619058186fcd9811969e398a780039e"
            }
        ],
        "transactionsRoot": "0x4d1cac93f706a23d1cf9f81740ca4a8b97a309a0ff5ade5e66e50f217d000f59",
        "uncles": []
    }
}

ref #512


Non linear ads failed to play the content even after click (iOS / Android)

When loading a non linear advertisment see example vast tag with the same issue an unhandled promise is thrown failing to start the

https://pubads.g.doubleclick.net/gampad/ads?sz=480x70&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dnonlinear&correlator=[random]

See for live example:
http://mol-clan.nl/videojs-test/?vasttag=8
Please make sure to load Non Linear Ads
Desktop, Linear ads (like preroll video's) and even failed ads are working fine. The only working solution is to mute the original source..

Please not currently the example tags always returns empty on Chrome...

Hi,
I was able to reproduce the behavior running the test page you shared on an iPhone X device. However, the issue seem to be with your implementation, I was not able to reproduce the behavior using our VJS-IMA-AdvancedExample sample. We would recommend you to review your implementation and debug against our VJS-IMA-AdvancedExample.

Thank you for your response...
On the example page the video player is working according it should be but no ad is visible.
How ever incase you increase the video size to for example 900px  width / 510px height the following errors are visible
http://mol-clan.nl/videojs-test/browser.png
http://mol-clan.nl/videojs-test/webinspector.png
Currently testing with iPad with 13.3.1

Found the issue on iPad
If you disable the settings (default) Request the Desktop it works as it should be
navigator.userAgent.match('/iPad/') does not work due to the fact Apple thinks iPad is good enough that it can handle the "Desktop" site.
When I use console.log(navigator.userAgent);
it returns:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15


Add support for Kubernetes 1.26

What would you like to be added:
Since OCI CCM released v1.26 we will need to update our configs. See https://github.com/oracle/cluster-api-provider-oci/pull/220 as example
Why is this needed:

I believe we may have encountered a bug with CCM v<IP_ADDRESS> https://github.com/oracle/oci-cloud-controller-manager/issues/430


enhancement request

Please consider adding a SYMBOL_CLOUD to the fonts.

(cc @kisvegabor)
We use GitHub issues for development related discussions.
In the future, please use the forum to ask questions or suggest enhancements.

Personally, I don't think that a Cloud symbol would be commonly used on embedded systems. Anyway, please move this request to the forum. If others will find it useful too we can add it.


Recovering files

Bring them to light!!! ❤🔥

?

?

I was unable to upload the file unfortunately.

I don't understand, what are you trying to do.


issue 59: getlink doesn't prevent parameter from being eliminated by optimization

Thanks for the code!


To have a button in eventyay-ticket link to eventyay-video for the schedule

From the eventyay-ticket button, there's no schedule info of the event, expect to have a button link to schedule info of eventyay-video

closed as this should be implement in eventyay-ticket


¯_(ツ)_/¯

325595
325596
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/Users/toadkicker/.pyenv/versions/3.6.1/lib/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/Users/toadkicker/.pyenv/versions/3.6.1/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "/Users/toadkicker/Projects/ethdrain/ethdrain.py", line 106, in setup_process
    loop.run_until_complete(future)
  File "/Users/toadkicker/.pyenv/versions/3.6.1/lib/python3.6/asyncio/base_events.py", line 466, in run_until_complete
    return future.result()
  File "/Users/toadkicker/Projects/ethdrain/ethdrain.py", line 65, in run
    await asyncio.gather(*tasks)
  File "/Users/toadkicker/Projects/ethdrain/ethdrain.py", line 50, in sema_fetch
    await fetch(url, session, blockNb, fn, actions)
  File "/Users/toadkicker/Projects/ethdrain/ethdrain.py", line 45, in fetch
    if data:
UnboundLocalError: local variable 'data' referenced before assignment
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/toadkicker/Projects/ethdrain/ethdrain.py", line 132, in <module>
    p.map(setup_process, chks)
  File "/Users/toadkicker/.pyenv/versions/3.6.1/lib/python3.6/multiprocessing/pool.py", line 260, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/Users/toadkicker/.pyenv/versions/3.6.1/lib/python3.6/multiprocessing/pool.py", line 608, in get
    raise self._value
UnboundLocalError: local variable 'data' referenced before assignment

Seems that data is in fact called before the blockchain client responds

Fixed with commit 01f72d94a6fea8ed669c5a8256f5fb7fd5a0ef56


The latest build displays context menu arrows on all icons

The latest build (Alpha 78) displays the arrows on all icons. Since only the session selection button (for shell selection) has a menu it should be the only one which displays this arrow.

Running on Windows 10

This is an issue with the custom themes - relaxed and altair. The standard theme does not have this issue

Fixed it for now by adding .dropdown-toggle:after { display: none !IMPORTANT; } to Custom CSS


feat: Parse templates in _answers_file setting

Closes #866
Since #882 seems to have been abandoned and the tests weren't actually working, I've opened up this PR instead.

Great! Would be nice if this feature is added!

@yajo Would you mind taking a look and approving the workflow runs?

@sisp Are you able to trigger the workflow runs for this PR?

I don't think I can help because I have no permissions for this project.

@yajo Sorry for the bump but wondering if you can approve these workflow runs?

Triggered! No concerns, just I had 120 emails from copier 😂


Notifications bar blocks tab access

When Storage Explorer displays a message, the message is displayed directly over the top of the tabs at the top of the app. There doesn't appear to be any way to move it or to configure it. It shows up whenever the app has a message to display and will show up again repeatedly if you close the message.
The messages are extremely intrusive. It would be ideal if there were a small notifications icon similar to the way Visual Studio tells you there is a message to be read. Put it up in the menu bar and highlight it when there are messages versus popping it right on top of the work surface.
In the image below, hiding underneath the message about an updated version is a tab with query results. If there is more than one tab, you wouldn't know because you can't see them.

@ahippie you can dismiss the bar using "Close" or by choosing to update (which is what I'd prefer 😋). Is there some reason you don't want to upgrade?

This was one example. I actually selected Install on Close in this case. There are various popups that display. The most intrusive are related to the case where I have added access to items that require a login I don't typically use. When the login expires, there is a popup displayed. It displays multiple times in a session prompting me to login to that account. The point is that the messages is intrusive and demands attention in order for me to do my work. I keep having to hit close or some other action. Messages shouldn't demand and prevent work unless you take an action.

Install on Close

Good stuff.

The point is that the messages are intrusive and demand attention in order for me to do my work. I keep having to hit close or some other action. Messages shouldn't demand and prevent work unless you take an action.

That's actually why we use that style of notification for certain things (though I will admit, maybe some stuff which is using it today shouldn't be). We currently have three ways of letting users know about things, and how we use them depends on how critical we deem the message:

If we think the thing is something the user needs to know about but maybe not handle literally right that second, we'll put it up there. The bar doesn't block you from doing everything, but since it's up at the top, and covers up some of the UI, chances are the user will notice it, read it, and decide what they want to do about it.
If the thing is something which the user probably doesn't need to take action on immediately or even ever, or if it is purely the result of some user initiated action, then we'll put it in the Activities panel. That let's the user get to it when they're ready, which isn't a big deal given what the thing is.
If it's critical that the user does something about the thing, we'll put it in a blocking dialog. This forces the user to have to deal with it now.

For your example of "When the login expires, there is a popup displayed", for most people, that's something they would want to take action on right away. We need to make sure they notice that the credentials have expired. If it they miss that, then they might get confused about why things aren't working.
For you, if you aren't actively using a login and you don't want to reenter your credentials, then I'd recommend logging out of that account. If it is that the credentials have only expired for one of the account's tenant, a tenant you don't really care about....then I'll admit I don't have a good answer for you right now. 😐 I'll try to think some more about what you've said though.


Fix bad import in colors.util pkg

Fixes bad relative import in util package, and confirms basic color_transition functionality with a test
@iamh2o Should I increment the version number in this PR as well?

Hey!  Thanks for he PR.  I'll get to it this w/e.  I'm still getting my tooling in order with distributed FS using Atom, so there i a bit of junk I accrued from that process.  Will tidy up along with the PR. Thanks again!

Thanks-  version change is a good idea


Merge createActor overloads into one

fixes https://github.com/statelyai/xstate/pull/4416/files#r1407630794
Before the final release, we might consider removing all those AreAllImplementationsAssumedToBeProvided code paths. For the time being though this is kinda a bug so let's fix it and then bikeshed that removal.

Before the final release, we might consider removing all those AreAllImplementationsAssumedToBeProvided code paths

Let's do this


DBZ-6767 Add missing type name

https://issues.redhat.com/browse/DBZ-6767

@novotnyJiri Second round ready

@novotnyJiri Thanks for the review!

Glad I could help!


scheduler Use signed int as number of cores

Proposed changes
Issue Number: close #xxx

run buildall

run buildall

run buildall

run buildall


Poor Integration with Extension Themes

First of all, just wanted to say thanks for creating such a sweet extension. I really thought something like this would face performance issues but it worked really well on my machine.
Anyways, after testing this with an extension theme I noticed that some parts weren't affected by the color scheme. You can replicate this behavior by installing a theme and opening the tab. It would be nice if this could be resolved.
This definitely seems like it can become one of the most popular extensions on VSCode :)

I've just uploaded a new version of the extension to the marketplace. All elements of the UI should use current vs code theme styles.

New UI looks great! Closing this issue.


Fix Camera Permission Failing Even With Runtime Permission Checking

Fixes #126 (hopefully for good this time!)

Well this seemed to only happen on my phone and when I put in this change I stopped noticing this weird exception, so I'm just going to merge this. Those two manifest items can't really do any harm anyways.


[11.x] Change order of composite morphable index members

Morphable columns are built with a composite index on (morphable_type, morphable_id) which is fine if queries most commonly target the type OR if there are more types than there are unique IDs.
However, in my experience, it's more common that applications query for items that belong to a specific model. From what I understand about database indexing, a composite index is most useful if the first member has a lower cardinality than the next member.

Hey, did you make any benchmark results?

I did not. This is my first time opening a PR for Laravel, and to be honest, I had no idea what was expected of me for it.
Will gladly provide a benchmark (and fix the failing tests) if I can get some guidance on what maintainers would like to see. It would be great if there was an accepted PR to maybe take a look at to see how they were benchmarking.

I don't expect any performance difference. And you're breaking the behaviour of dopping morph indexes as you now need to know whether the index was create with Laravel >= 11.x or before and need to drop completely different indexes.

A production database I work on has millions of rows in a media table (from spatie/media-library) and querying for media that belongs to an individual user (or other entity) is more costly than it needs to be.

And your task is to find out why. And like you said before you didn't even benchmark whether the change makes any difference any at all. That is not how performance optimization are made. You change only something because of perf when you can prove it is effective.

And your task is to find out why. And like you said before you didn't even benchmark whether the change makes any difference any at all. That is not how performance optimization are made. You change only something because of perf when you can prove it is effective.

I don't have benchmarks from my production DB (because I think that violates privacy).
But yes it does seem to be effective from my tests. Going to spin up an instance for testing with two tables with matching data but different indices. That is data I can share publicly.

I am out.

Wow what a friendly place.


add contribution-drivers-kmod-ebpf-libraries.md

Add  contribution-drivers-kmod-ebpf-libraries.md Chinese file.
Signed-off-by: qinzhiben<EMAIL_ADDRESS>

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: qinzhiben11
To complete the pull request process, please assign mfdii after the PR has been reviewed.
You can assign the PR to them by writing /assign @mfdii in a comment when ready.
The full list of commands accepted by this bot can be found 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

@Issif @radhikapc hello,
The submission is contribution-drivers-kmod-ebpf-libraries.md translated Chinese documents, please help review.
thank you !!


ekf2: Added airspeed to rpl logging

This have been hand held tested, will update here as soon as I make a test flight

This have been flight tested and shall work.
Plots: http://logs.uaventure.com/view/tcw4wSjdA88TufVx6chMFn
Log: http://logs.uaventure.com/logmuncher/charts/tcw4wSjdA88TufVx6chMFn/logmuncher.log
(The airspeed data is unfortunately again rubbish due to problems with the pitot tube but the logging itself shall be fine)
Would be great to have it merged as soon as possible so we can do a subtree update and fly it on our system. @LorenzMeier

Rebased and applied.


Swatch library for Adobe Illustrator

Hello! I took all the theme colors and composed them into a swatch library so they can be used in Adobe Illustrator.
You'll probably want to change the link from
github.com/Kondenko/dracula-theme/raw/master/Dracula.ase
to
github.com/dracula/dracula-theme/raw/master/Dracula.ase

It took forever, but this is now available at: https://github.com/dracula/adobe
Thanks @Kondenko!


moor_generator support build 2.0.0

I am using some different generators. kiwi_generator, retrofit_generator, json_serializable.
They are all using build 2.0.0 so for now I am stuck because the moor_generator is not yet supported to work with build 2.0.0
[WARNING] stderr: ../../../../.pub-cache/hosted/pub.dartlang.org/moor_generator-4.1.0/lib/src/backends/build/preprocess_builder.dart:74:51: Error: The argument type 'String' can't be assigned to the parameter type 'Uri'.
[WARNING] stderr:  - 'Uri' is from 'dart:core'.
[WARNING] stderr:               .map((stmt) => AssetId.resolve(stmt.importedFile, from: asset))
[WARNING] stderr:                                                   ^
[WARNING] stderr: ../../../../.pub-cache/hosted/pub.dartlang.org/moor_generator-4.1.0/lib/src/backends/build/build_backend.dart:23:39: Error: The argument type 'String' can't be assigned to the parameter type 'Uri'.
[WARNING] stderr:  - 'Uri' is from 'dart:core'.
[WARNING] stderr:     final from = AssetId.resolve(base.toString());
[WARNING] stderr:                                       ^
[WARNING] stderr: ../../../../.pub-cache/hosted/pub.dartlang.org/moor_generator-4.1.0/lib/src/backends/build/build_backend.dart:24:28: Error: The argument type 'String' can't be assigned to the parameter type 'Uri'.
[WARNING] stderr:  - 'Uri' is from 'dart:core'.
[WARNING] stderr:     return AssetId.resolve(import, from: from).uri;
[WARNING] stderr:                            ^
[WARNING] stderr: ../../../../.pub-cache/hosted/pub.dartlang.org/moor_generator-4.1.0/lib/src/backends/build/build_backend.dart:40:32: Error: The argument type 'String' can't be assigned to the parameter type 'Uri'.
[WARNING] stderr:  - 'Uri' is from 'dart:core'.
[WARNING] stderr:     return AssetId.resolve(uri.toString(), from: step.inputId);
[WARNING] stderr:                                ^
[WARNING] stderr: ../../../../.pub-cache/hosted/pub.dartlang.org/moor_generator-4.1.0/lib/src/backends/build/serialized_types.dart:134:67: Error: The argument type 'String' can't be assigned to the parameter type 'Uri'.
[WARNING] stderr:  - 'Uri' is from 'dart:core'.
[WARNING] stderr:           await buildStep.resolver.libraryFor(AssetId.resolve(uri.toString()));
[WARNING] stderr:

I got all the errors fixed except this one

I've already done some work to support the latest build version on my develop branch. I'll try to release that this week.

Ah damn I just added support for the latest build version

I will use my branch for now. No problem

Also besides that it would be really helpful to also upgrade the other dependencies which interact with build like json_annotations. That actually shouldn't be a problem since json_annotations >= 4.0.0 already depend on the new build 2.0.0. So once build is updated it would be really nice if you could update json_annotations too.
Anyways thanks for your great work and this cool package :)

Yeah that is required as well indeed

Wow thanks for that really quick response.

The power of mobile application with push notifications 😀😀

I've already done some work to support the latest build version on my develop branch. I'll try to release that this week.

Can I use that branch until it's release on master and pub.dev?

I tried this in my pubspec.yaml
moor_generator:
    git:
      url: https://github.com/simolus3/moor.git
      ref: develop
      path: moor/moor_generator

but then I got this error

pub get failed (1; Could not find a file named "moor/moor_generator/pubspec.yaml" in https://github.com/simolus3/moor.git 1d08b73ed442910774638440f9d9d0277559179b.)

any suggestion please?

moor_generator:     git:       url: https://github.com/simolus3/moor.git       ref: develop       path: moor_generator

I've just published moor_generator version 4.2.0 (nice!), which supports the latest build, source_gen, analyzer and dart_style packages.


Add Aircraft Carrier Accessories from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of flywlyx, to add Aircraft Carrier Accessories to CKAN.
Mod details:
name = /mod/1068/Aircraft%20Carrier%20Accessories
author = flywlyx
abstract = ACA
license = MIT
Homepage =
description = ArrestWire, drop your hook to catch your wire!
Still in development, forum page will be built soon.
Please direct questions about this pull request to flywlyx.

#rebuild

How do I make the Jenkins build what I want rather than rebuilding the already failed thing?

LGTM, merging with thanks!


Please update the examples on the root ReadMe with latest implementations and examples

With all the recent changes, the main ReadMe has not been kept up to date, as such, none of the examples provided are functional and require additional parameters.

Nothing has really changed much since your large refactor in #65/#66. If you'd like to open a PR to update the docs with the refactor changes you made there, you are more than welcome.
I've only updated logging string outputs and fixes a few concurrency bugs.
I did update Rest.DownloadAudioClipAsync but only added optional stream and compression parameters.

Essentially, although a single "RestParameters" example has been added, NONE of the other examples have been updated to include it, hence NONE of them are functional out of the box.
But I will do a PR to correct this.


Add documentation for the shared resources

What
Adding documentation on what resources we share with
other apps.
Why
As we are moving into public beta, we need to be sure we
do not impact other GOV.UK applications.
Trello: https://trello.com/c/JORX2M6Z/1326-identify-shared-resources-with-govuk-platform-time-box-1-day
Review Checklist

[ ] Changes in scope.
[ ] Added/updated unit tests.
[ ] Added/updated feature tests.
[ ] Added/updated relevant documentation.
[ ] Added to Trello card.

 Identify shared resources with GOV.UK platform (time box 1 day)

Moved to Google doc.


Crossbows

I have tried using this pack but i doesnt work with CITResewn I have tried it with Optifine and everything worked great.
https://faithfulpack.net/addons/loaded-crossbows
https://cdn.discordapp.com/attachments/1124459983468253304/1124462232852504727/LoadedCrossbowsForCompliance.zip

I had the same problem.
Through a bunch of trial and error, I've found that the last version it works on is 1.18.2. I've tested 1.19 with versions 1.1.0-1.1.2 of the mod, doesn't seem to have any effect. 1.18.2 works fine on 1.1.1 so it must be a change in 1.19 of how the game processes the pack.
I have some ideas on ways to maybe fix this, will update if I find a solution.

Loaded_Crossbows_For_Compliance.zip
sorry that took a while, things happened and stuff
I moved all of the textures into the main CIT folder, updated the paths in the .properties files, and it fixed things. I'm still not sure what happened in the game code that broke this, but at least it's fixed now.


Implement backend login authetication logic

Implement logic for Login functionalities. Consider using Flask extensions/libraries for added security.
https://realpython.com/using-flask-login-for-user-management-with-flask/#:~:text=Flask-login is a Flask,and a few simple functions.

Interested

Would be interested in working on this issue

Interested

Interested in working on this one

Interested

interested

Completed this issue. The user authentication logic is located in auth.py.


[Bug] Does not work at all, wrong import statement for cjs library picocolor

Describe the bug
The basic example (see below) does not work. Picocolor can not be imported form the gulp-5-sass-plugin index.js file

SyntaxError: Named export 'underline' not found. The requested module 'picocolors' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'picocolors';

You should change the import statement i guess

Yeah, same here. Probably works when transpiled as in testing, but not with the native node loader.

Fixed in v2.0.4