error-prone release schedule

Description of the problem / feature request:
Is there an error-prone release schedule? The documentation at https://errorprone.info/bugpatterns references patterns from master that do not exist in any published release.
In particular I'm keen to try InterruptedExceptionSwallowed.
Feature requests: what underlying problem are you trying to solve with this feature?
I'd really appreciate a structured release schedule, perhaps once a month?
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Open https://github.com/google/error-prone/releases or check maven central.
What version of Error Prone are you using?
2.3.3.
Have you found anything relevant by searching the web?
No, neither https://groups.google.com/forum/#!forum/error-prone-discuss nor this project document a release schedule or roadmap.
Thanks for your help!

On the same day that you opened this issue, a commit was tagged as 2.3.4 (note the missing leading v, hopefully this doesn't break anything in the release process).
So the next release seems to be right around the corner. Unfortunately I have no idea how long it will take for the maintainers to release. For 2.3.3 they needed almost one month from pushing the git-tag to publishing the release, for 2.3.2 they needed less than 48 hours.

Sorry for not responding here sooner. (There have at least been releases since this was filed, so it it should be possible to try out InterruptedExceptionSwallowed :)
We had been trying to do releases roughly every two months, but we obviouslybviously haven't been keeping to that schedule. I'm not sure we'll be able to promise a monthly cadence, but I am going to try to make more releases happen this year than last year.

Sorry for not responding here sooner. (There have at least been releases since this was filed, so it it should be possible to try out InterruptedExceptionSwallowed :)
We had been trying to do releases roughly every two months, but we obviouslybviously haven't been keeping to that schedule. I'm not sure we'll be able to promise a monthly cadence, but I am going to try to make more releases happen this year than last year.


Common translation

I'm adding Polish provider, and I think that it would be nice to have some global translation table in form of shortName => [locale => transaltion, locale => translation, ...] that will be used if no translation is provided in Holiday constructor.
What do you think?

Absolutely! Since Yasumi is in it's early stage, I decided first to put in the constructor. However that's not really flexible :). Let me think about how to do the translations.

@Furgas I have been looking into the translation and there are some considerations here. First of all, since holidays are loaded dynamically, it would mean translations have to be reloaded if a new holiday (with its translations) is added. That might not benefit performance, also because currently you can add holidays at runtime. One way to avoid that is to disable the adding of holidays runtime (i.e. make 'addHoliday' not a public method).
Secondly, the structure of the translation files. We can have all translations in a single file representing a locale, or a single file per holiday containing all translations of one or more locales. I tend to have a single locale file (e.g. 'en_US', 'de_DE') for translation purposes (when a translator is doing one language). However, performance could be an issue here as well as all files need to be processed.
What do you think.?


common: MSVC workaround for VA_ARGS

Commit Message: This adds PASS_ON macro to fix warning C4003 for MSVC. https://godbolt.org/z/M4zZNG.
Additional Description: Relevant error logs: https://dev.azure.com/cncf/4684fb3d-0389-4e0b-8251-221942316e06/_apis/build/builds/43383/logs/31
Risk Level: Low
Testing: Existing
Docs Changes: N/A
Release Notes: N/A
Signed-off-by: Dhi Aurrahman<EMAIL_ADDRESS>

Can get passed the assert failure, now:
//test/common/event:file_event_impl_test                                 FAILED in 15.1s


Remove Mean aggregation

Discussion is available at https://github.com/census-instrumentation/opencensus-specs/issues/56.

I think this is done in https://github.com/census-instrumentation/opencensus-go/pull/638?

Few more mentions of mean aggregation is left. Sending a PR soon.


toJson is not  working?

Sails version: 1.0.2
Node version: 8.12.0
NPM version: 6.4.1
DB adapter name:  sails-mysql
DB adapter version: N/A
Operating system: windows 10

Hello,
I am using sails version 1.0.2. It encounted an error when i add my toJson function in model. I have already searched to fix this issue. But i don't find any solution. And i am very new to nodejs and sailsjs. Here is the code:
module.exports = {

  attributes: {
      name:{
        type: "string",
        required: true
      },
      title:{
        type: "string",
      },

      email:{
        type: "string",
//        email: true,
        required: true,
        unique: true
      },
      encryptedPassword:{
        type: "string",
      },

      toJson: function(){
          var obj = this.toObject();
          delete obj.password;
          delete obj.confirmation;
          delete obj.encryptedPassword;
          delete obj._csrf;
          return obj;
      }
  }
};

In the toJson attribute of model users:
Model instance methods are no longer supported in Sails v1.
Please refactor the logic from this instance method into
a static method, model method or helper.

The function I'm guessing you're trying to implement should be added as a property to the 'module.exports' object named 'customToJSON' (instead of 'toJson'). In you're code you're actually trying to define it in the same object as your attributes (/ columns).
Please refactor the logic from this instance method into
a static method, model method or helper.
--------------------------------
still i am getting the same error! Did i miss to import any extentions? sorry i am new to sails! so i started my practice project.

-------------------------------- In the customToJSON attribute of model users: Model instance methods are no longer supported in Sails v1. Please refactor the logic from this instance method into a static method, model method or helper. --------------------------------
still i am getting the same error! Did i miss to import any extentions? sorry i am new to sails! so i started my practice project.

The error makes it seem like you still define 'customToJSON' inside the 'attributes' of your model. Make sure you define it outside of the attributes.
module.exports = {
  attributes: {
    // ... your attributes
  },
  customToJSON: function(){
      var obj = this.toObject();
      delete obj.password;
      delete obj.confirmation;
      delete obj.encryptedPassword;
      delete obj._csrf;
      return obj;
  }
};

Hi @nino-vrijman thanks for helping out a fellow sailor!
@devkbsc Are you still experiencing this problem?

here I am using "1.1.0" and the problem still exist.
when I tried it, in console this is a plain object {} and this.toObject() is not a function.

@thg303: Thanks for the help, I was using arrow functions and it was causing all the troubles.
My working solution -
module.exports = {
  attributes: {
    ...
  },
  customToJSON: function() {
    return _.omit(this, ['password', 'confirmation', 'encryptedPassword', '_csrf']);
  },
  // This won't work -
  // customToJSON: () => _.omit(this, ['password', 'confirmation', 'encryptedPassword', '_csrf']),
};

SO: Arrow functions and this

customToJSON is not even calling for me, created an issue - https://github.com/balderdashy/sails/issues/6865


Exported projects are quite large

Godot version: 3.0.6, 3.1
Exported Godot projects are quite large; a GDscript project is around 30MB. A Godot/C# project is around 42MB. A GDscript Android project is around 33MB; I imagine when Android/C# is a thing, the binaries will be larger.
These project sizes are quite large. Is there any way to shrink them at all?
For Windows, I tend to zip the .exe and pck file, which usually compress well.

You can shrink the export size, by compiling your own export templates optimized for size: https://docs.godotengine.org/en/latest/development/compiling/optimizing_for_size.html
For Android, the new template builder probably helps.

Are APKs compressed on Android?
This size comes down to the engine itself and all the features it has.

Compared to Unity I'd say that exported projects are rather small

You can shrink the export size, by compiling your own export templates optimized for size: https://docs.godotengine.org/en/latest/development/compiling/optimizing_for_size.html
For Android, the new template builder probably helps.

Very useful, thanks for sharing the link. Can you post a link for the new template builder? This is the first I've heard of it.

@Zylann APKs are just ZIP archives, so they're compressed.

In previous versions of Godot, or at least with version 1.0 it was possible to compile the engine without some "components", like 3D part of the engine, gamepad support (ex. gamepad=no option), or some audio or gfx formats.
By eliminating things I did not need, I remember I was able to get as low as 7.8 Mb taken by the engine in 2D android app.
Is it possible to build stripped version of the engine with Godot 3.1 and up?

@freemanfromgodotengine This is still possible, as described in Optimizing for size in the documentation :slightly_smiling_face:

It sounds like this is a known problem with a known solution that is well-documented. Since that's the case, I'm going to go ahead and close this. If anyone has any serious issues with this, please let me know and I can re-open it.
Thanks for the good discussion, I learned a lot.

I had a project that was around 120 mb when exported for android.
I enabled the setting to import all the images with Lossy compression. The quality of the images in the game wasn't reduced at all.
When compiled for Android, the app was 25 mb.


Added separate .NET Standard 2.0 solution and project. Connected to #3

Begin/End APM methods in class Resolver use AsyncResult class from System.Runtime.Remoting.Messaging namespace. Since .NET Remoting is not available on .NET Standard, these methods are excluded from the .NET Standard project.

Found that another fork is providing .NET Standard support, including up-to-date NuGet packages. Therefore this PR becomes redundant and can be closed.


Research using aws source plugin or making Flickr source plugin for photo galleries

This is obsolete because the site has been over to SquareSpace.


mysql taking long time with mariadb driver

https://mariadb.com/kb/en/about-mariadb-connector-j/
rewriteBatchedStatements
when active, the useServerPrepStmts option is set to false
Default: false. Since 1.1.8, removed in 3.0.0

use 2.x series


Some charm builds break due to NodeJS v12 in Jammy-based runners

Bug Description
The charmcraft templates use pyright for running static type checks on the charm.
However, pyright >= 1.1.352 does not work with NodeJS v12, that ships with Ubuntu 22.04. See: https://github.com/microsoft/pyright/issues/7365
The workaround we found is pinning pyright in tox.ini:
deps =
    pyright==1.1.351

But that's unfortunately not a viable long-term solution, since NodeJS v12 has been unsupported for a long time now.
We did not install NodeJS in our workflows, so I'm assuming it's coming from the runners setup by this charm, correct?
Would it be possible to source NodeJS in the runners from a different, more up-to-date source (e.g., a snap)?
To Reproduce
Try to run tox on any charm that follows the charmcraft templates or uses pyright.
Environment
Official IS-maintained GitHub runners.
Relevant log output
-

Additional context
No response

It seems we have to update node on the image to match the gh hosted ones: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#language-and-runtime

@jdkandersson What is your opinion, I think we should add packages if there is a high demand from multiple users, so I would advise @alnvdl-work to continue with his workflow approach.

Yes I think that is reasonable for now


Glyph Set Definition: Low Hanging Fruit Languages

https://twitter.com/jenskutilek/status/1287420376998449157 shared this 5 line snippet for GlyphshApp to

print a list of names of all glyphs that can be built from existing components in the current font.

g = Glyphs.font.glyphs
for i in GSGlyphsInfo.alloc().init().glyphInfos():
    if i.components and http://i.name not in g and all(http://c.name in g for c in i.components):
        print i.name

If we run this across all the .glyphs source files in the library and tabulate the results, cross referenced against language support character lists, we might find some 'low hanging fruit' language targets.

g = Glyphs.font.glyphs
for i in GSGlyphsInfo.alloc().init().glyphInfos():
    if i.components and i.name not in g and all(c.name in g for c in i.components):
        print i.name

i.e. no http://

And here is the missing explanation about what it actually is supposed to do:

This prints a list of names of all glyphs that can be built from existing components in the current font.
-- Jens Kutílek @jenskutilek


Update samples to use repo analysis options, Fix sample templates and a ton of analyzer issues

Description
This updates the samples to conform to the Flutter repo's analysis_options.yaml file, so that we can catch coding and style issues in the samples before they end up on DartPad.
In https://github.com/dart-lang/dart-services/pull/669, I fixed the DartPad analysis options to be those that are in the packages/flutter/analysis_options_user.yaml, so that it will use a predictable set of analysis options, but while that provides some protection, it doesn't help with consistent style and readability much. The Flutter repo options are designed for readability, even if they are a bit onerous at times. However, they happen to be a superset of what is now required on DartPad, so the DartPad analyzer warnings that are currently occurring for samples will go away.
In this PR, I also updated the sample templates to be more canonical (and to conform to the analysis options).
This process uncovered several major errors, incorrect code, and some cases where we were doing some very non-standard things.

Very strange that only some shards of framework tests failed, I would expect Windows framework_tests to fail if Mac framework_tests and Linux framework_tests failed due to sample code.

Oh! I know why CI is failing.  I'll fix it.

The analyzer does not concur, it looks like checkbox.dart needs a sample update.


[Bug]: Navigation Banner Appears in Media Details Screen

Summary
When clicking on any of our contributions, the Navigation Banner appears and disappears after a few seconds.
Steps to reproduce

Open the contributions screen and click on any contribution
It'll take you to the media details of your contribution
You'll see the Nearby Navigation Banner on the Media Details screen

Expected behaviour
The nearby banner shouldn't show up.
Actual behaviour
The Navigation Banner shows up for a few seconds.
Device name
Samsung A14
Android version
Android 14
Commons app version
main and prodDebug
Device logs
No response
Screen-shots

Would you like to work on the issue?
None

Can I be assigned this issue?


NetExport - HAR parsererror

Hi all,
First off - thank you very much for ShowSlow - an awesome tool!
Running into a snag with sending HAR info to HAR Viewer. When I click on "view in HAR viewer" I am only given a "parsererror" within where you would normally load in a .har file. I see in the URL that it is: http://MYDOMAIN.COM/speed/harviewer/?inputUrl=http%3A%2F%2FMYDOMAIN.COM%2Fspeed%2Fshowslow%2Fdetails%2Fhar.php%3Fid%3D2callback%3DonInputData
Anything I should be looking for? HAR is properly enabled in ShowSlow per the docs and installed HAR Viewer per the Google Code Wiki http://code.google.com/p/harviewer/wiki/Installation
Thanks!

Hi Sergey,
It was actually a timezone issue. Apparently ShowSlow was trying to reference the server's timezone, I had to add in:
date_default_timezone_set('GMT');

to set it correctly. Not sure if this is ShowSlow specific, but I haven't had any error like that in the past. This same PHP error popped up a few times throughout the ShowSlow app which I needed to manually correct. Thanks!

It seems to be a problem with PHPs in general, but I want to try minimizing
the set up problem.
More over, I realized that my config files have that set too so I've added
time zone setup code to config.sample.php
https://github.com/sergeychernyshev/showslow/commit/5bf3fdccfb3440e5b3c221ede8990ea8d049af2b
     Sergey

--
Sergey Chernyshev
http://www.sergeychernyshev.com/
http://www.meetup.com/Web-Performance-NY/
http://www.showslow.com/
On Mon, Jan 16, 2012 at 12:31 PM, Zach Schnackel <
<EMAIL_ADDRESS>wrote:

Hi Sergey,
It was actually a timezone issue. Apparently ShowSlow was trying to
reference the server's timezone, I had to add in:
date_default_timezone_set('GMT');
to set it correctly. Not sure if this is ShowSlow specific, but I haven't
had any error like that in the past. This same PHP error popped up a few
times throughout the ShowSlow app which I needed to manually correct.
Thanks!

Reply to this email directly or view it on GitHub:

https://github.com/sergeychernyshev/showslow/issues/65#issuecomment-3517635
--
Thank you,
     Sergey

--
Sergey Chernyshev
http://www.sergeychernyshev.com/
http://www.meetup.com/Web-Performance-NY/
http://www.showslow.com/

Ah, great to hear! Thanks!


fix(vue-app): align client fetch key with server

Types of changes

[x] Bug fix (a non-breaking change which fixes an issue)

Description
fixes a mismatch between server/client fetch keys
Checklist:

[ ] I have added tests to cover my changes
[x] All new and existing tests are passing.

Codecov Report

Merging #8809 (7f5cfd1) into dev (d0e7dd1) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev    #8809      +/-   ##
==========================================
+ Coverage   66.16%   66.21%   +0.04%
==========================================
  Files          93       93
  Lines        4026     4026
  Branches     1103     1102       -1
==========================================
+ Hits         2664     2666       +2
+ Misses       1100     1099       -1
+ Partials      262      261       -1

Flag
Coverage Δ

unittests
66.21% <ø> (+0.04%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

packages/generator/src/generator.js
82.24% <0.00%> (+0.93%)
:arrow_up:

Continue to review full report at Codecov.

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


10.0.26100.2605 Not Supported

Hello everyone,
Thank you to the RDPWrap team!
I've fully updated RDPWrap and it shows "fully supported" with all indicators normal. It works perfectly when tested with RDPCheck. However, when I try to connect via remote access, it fails to connect.
I’ve tried formatting and reinstalling, but the issue reoccurs right after I update Windows. Has anyone else experienced this issue or found a solution?
Thank you in advance!

Thank you for your answer.
When I checked, it was a problem caused by not entering the port, and when I opened the port and entered it, it worked normally. Thank you again.

If it works with RDPCheck, then it's not RDP Wrapper problem, investigate your firewall and gateway settings.

Thank you for your answer.
When I checked, it was a problem caused by not entering the port, and when I opened the port and entered it, it worked normally. Thank you again.


Create rio-tiler logger

https://github.com/cogeotiff/rio-tiler/blob/c11db1b43cbf586f4c874a4930f2d61d313ea598/rio_tiler/tasks.py#L11

done in https://github.com/cogeotiff/rio-tiler/commit/5cd3ab81a056c68da25d9dc78c966971e44032fb


Allow Label autowrap to cut words when they exceed line width

Prevents long words to overflow the label's rect when autowrap is on.
Fixes #30832

I've fixed the issue with the editor sinking down at startup. The label in Node dock panel was first initialized with a width of 1, so autowrap was causing the panel to grow vertically, and it didn't shrink back when the size was back to normal.

Thanks!


Incorrect gamma parameterization

In R, the gamma has 3rd argument rate, but you are inputing the scale. Thus, when increasing the parameter in the app, the distribution shifts to the left, but should shift to the right with the pdf that you state.
To maintain consistency with the exponential distribution, I suggest you just change the gamma pdf to the version with the rate.

Sorry for the late reply.
I fixed it.
Thanks!


Possible to create multiple projects from single repo?

I have some Gettext translations all in a single repo, under /docs in my project. I can create a separate config file for every language, so that every language setup is essentially a translation of the original project, but is there a way to add multiple RTD projects via a single repository? I need this in order to not have to make a separate github repo for every one of the included languages - they have abstracted common parts and work fantastically in this single-repo setup, allowing all my users to update any language they see fit without leaving the repo. If I had to separate out all those languages into separate repos just to make new RTD projects and declare them as transactions, that'd be too much of a dealbreaker.
I saw some people did this, but I'm unclear on how they implemented it in RTD.

You can point RTD to the specific conf.py file for Sphinx in the Advanced
Settings of the project Admin. This will use that specific conf.py,
allowing multiple projects that live in a repo.
We are hoping to add support for multiple translations within 1 project at
some point, but it's a low priority since it already works currently,
though it's a bit more effort.
On Tue, Aug 11, 2015 at 3:57 PM, Bruno Škvorc<EMAIL_ADDRESS>wrote:

I have some Gettext translations all in a single repo, under /docs in my
project. I can create a separate config file for every language, so that
every language setup is essentially a translation of the original project,
but is there a way to add multiple RTD projects via a single repository? I
need this in order to not have to make a separate github repo for every one
of the included languages - they have abstracted common parts and work
fantastically in this single-repo setup, allowing all my users to update
any language they see fit without leaving the repo. If I had to separate
out all those languages into separate repos just to make new RTD projects
and declare them as transactions, that'd be too much of a dealbreaker.
I saw some people did this
https://github.com/effektif/user-docs/tree/master/docs/de, but I'm
unclear on how they implemented it in RTD.
—
Reply to this email directly or view it on GitHub
https://github.com/rtfd/readthedocs.org/issues/1554.

--
Eric Holscher
Maker of the internet residing in Portland, Oregon
http://ericholscher.com

You can point RTD to the specific conf.py file for Sphinx in the Advanced
Settings of the project Admin. This will use that specific conf.py,
allowing multiple projects that live in a repo.

That was the original idea, yes, but as I can only set up one project from a single repo, I don't get the change to set up several projects, each pointing to its own conf.py. Or am I missing something.

@Swader I think you can create a new project that uses the same repository url. You will have two distinct projects on RTD with different names that use the same repository.

Ah, correct. So that worked and I have everything running smoothly on my local machine.
My builds on RTD are failing, though - any help would be much appreciated.
It keeps looking for the master file in the location of the custom conf.py file, specific to the language. How do I make it look for the sources two folders above the current file's location? I tried appending paths, to no avail. See here.
Full build error here.

Resolved via #1573 and in this project


make: *** [Make:55: release_build] Error 255

Device: Win 11; RTX 4090
When I run:  make -C docker release_build it fails with the error below.
make: Entering directory '/home/mustapham/TensorRT-LLM/docker'
Building docker image: tensorrt_llm/release:latest
DOCKER_BUILDKIT=1 docker build --pull  \
        --progress auto \
         --build-arg BASE_IMAGE=nvcr.io/nvidia/pytorch \
         --build-arg BASE_TAG=23.12-py3 \
         --build-arg BUILD_WHEEL_ARGS="--clean --trt_root /usr/local/tensorrt --python_bindings --benchmarks" \
         --build-arg TORCH_INSTALL_TYPE="skip" \
         \
         \
         \
         \
         \
         --build-arg TRT_LLM_VER="0.8.0.dev20240123" \
         \
         --build-arg GIT_COMMIT="b57221b764bc579cbb2490154916a871f620e2c4" \
         --target release \
        --file Dockerfile.multi \
        --tag tensorrt_llm/release:latest \
        ..
[+] Building 738.0s (28/39)                                                                              docker:default
 => CACHED [devel  3/14] COPY docker/common/install_cmake.sh install_cmake.sh                                      0.0s
 => CACHED [devel  4/14] RUN bash ./install_cmake.sh && rm install_cmake.sh                                        0.0s
 => CACHED [devel  5/14] COPY docker/common/install_ccache.sh install_ccache.sh                                    0.0s
 => CACHED [devel  6/14] RUN bash ./install_ccache.sh && rm install_ccache.sh                                      0.0s
 => CACHED [devel  7/14] COPY docker/common/install_tensorrt.sh install_tensorrt.sh                                0.0s
 => CACHED [devel  8/14] RUN bash ./install_tensorrt.sh     --TRT_VER=${TRT_VER}     --CUDA_VER=${CUDA_VER}     -  0.0s
 => CACHED [devel  9/14] COPY docker/common/install_polygraphy.sh install_polygraphy.sh                            0.0s
 => CACHED [devel 10/14] RUN bash ./install_polygraphy.sh && rm install_polygraphy.sh                              0.0s
 => CACHED [devel 11/14] COPY docker/common/install_mpi4py.sh install_mpi4py.sh                                    0.0s
 => CACHED [devel 12/14] RUN bash ./install_mpi4py.sh && rm install_mpi4py.sh                                      0.0s
 => CACHED [devel 13/14] COPY docker/common/install_pytorch.sh install_pytorch.sh                                  0.0s
 => CACHED [devel 14/14] RUN bash ./install_pytorch.sh skip && rm install_pytorch.sh                               0.0s
 => CACHED [release  1/11] WORKDIR /app/tensorrt_llm                                                               0.0s
 => CACHED [wheel 1/9] WORKDIR /src/tensorrt_llm                                                                   0.0s
 => CACHED [wheel 2/9] COPY benchmarks benchmarks                                                                  0.0s
 => CACHED [wheel 3/9] COPY cpp cpp                                                                                0.0s
 => CACHED [wheel 4/9] COPY benchmarks benchmarks                                                                  0.0s
 => CACHED [wheel 5/9] COPY scripts scripts                                                                        0.0s
 => CACHED [wheel 6/9] COPY tensorrt_llm tensorrt_llm                                                              0.0s
 => CACHED [wheel 7/9] COPY 3rdparty 3rdparty                                                                      0.0s
 => CACHED [wheel 8/9] COPY setup.py requirements.txt requirements-dev.txt ./                                      0.0s
 => [wheel 9/9] RUN python3 scripts/build_wheel.py --clean --trt_root /usr/local/tensorrt --python_bindings --b  736.3s
 => => # [ 94%] Building CUDA object tensorrt_llm/kernels/CMakeFiles/kernels_src.dir/decoderMaskedMultiheadAttention/de
 => => # coderMaskedMultiheadAttention64_half.cu.o
 => => # [ 94%] Building CUDA object tensorrt_llm/kernels/CMakeFiles/kernels_src.dir/decoderMaskedMultiheadAttention/de
 => => # coderMaskedMultiheadAttention80_bf16.cu.o
 => => # [ 94%] Building CUDA object tensorrt_llm/kernels/CMakeFiles/kernels_src.dir/decoderMaskedMultiheadAttention/de
 => => # coderMaskedMultiheadAttention80_float.cu.o
make: *** [Makefile:55: release_build] Error 255

Please try changing an environment with more RAM. Thanks!

Please try changing an environment with more RAM. Thanks!

Thanks @Shixiaowei02 My system specs are: Win 11: 64G RAM, and 24G VRAM (4090). Isn't this enough?

Please use BUILD_WHEEL_ARGS to specify the number of build threads and try again. Thanks!

Thanks @Shixiaowei02 I was able to build with docker on windows. Will close the issue now.


Use api-elasticsearch for need-api in all envs

This is working in integration so let's do it everywhere.
/cc @ikennaokpala

@alexmuller thanks for raising this PR.


add gdal to build image requirements

Fix's @alexrichey issue of no gdal in the build containers. They do currently install dcpy's reqs in addition to their own req.txts, but I had to take gdal out of dcpy's reqs for some weirdness - to get this install working, I use piptools to compile dcpy's reqs using our constraints.txt. However, this fails if gdal binary isn't installed (if we did it outside of the build images before building them in an action), and for some reason hangs indefinitely when done as part of the docker image build (3+ hours). Simple enough to just have all dcpy reqs defined except gdal, and have the build images explicitly install it. Just weird

@alexrichey I published images from this branch, so you want to rerun one of your failed jobs to make sure? Don't quite see how it couldn't be fixed, but just to be sure


Toasts should disappear on unmount

There are toasts that are not set to close on success that are not closing on unmount. For Example if you Delegate and start the transaction and then navigate away you notice that the toast will remain.

Will the toast eventually close once the transaction completes, regardless of where the user has navigated to?

You are right. I'm gonna remove the bug label but not close just yet. I have seen this somewhere during the QA I did a week ago and just remembered about it. I'll follow up and close this if this was an older bug with routing.

Can no longer reproduce, closing issue


mtcnn Multi process operation error

[TensorRT] ERROR: ../rtSafe/cuda/reformat.cu (925) - Cuda Error in NCHWToNCHHW2: 400 (invalid resource handle)
[TensorRT] ERROR: FAILED_EXECUTION: std::exception
Hope to give advice. thanks!

Did you create TrtMtcnn objects separately inside each individual process which does inference with the specific context (object instance)?

Close due to no response.


RDBC-472 First part of features and passing tests for them

Part 1/x
Issues link: https://issues.hibernatingrhinos.com/issue/RDBC-472
The list of migrated tests below

moved to #107


refactor: reduce redundant event fetching

Please read contributing guidelines and remove this line.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#8628  👈
#8599
#8598
#8578
master

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

Join @LHerskind and the rest of your teammates on  Graphite


Error on opening the script

You saved the file from the GitHub pre-formatted interface, didn't you? :-D Copy-paste? I hope you found the "Download ZIP" button already.


Update to .net standard 2.0 or newer

Hi,
Would it be feasible to get the package upgraded to .net standard 2.0 or newer?
Any chance any new wind will be blown into this project? It's at least a dependency that's blocking upgrade to .net standard 2.0 + in https://github.com/microsoft/sourcemap-toolkit.

This project is no longer being maintained.


[BUG] Don't Rely on bodyParser.json() Being Uncalled

Describe the bug
Stemming from #24, we do not need to rely on the verify option in bodyParser.json() to have a buffer available for signature verification.  This way, we can eliminate common interference with existing parsing middleware by calling that without options and using a custom middleware which converts the JSON body to a buffer instead.
To Reproduce
Steps to reproduce the behavior:

same as #24

Expected behavior
Any request which has or has not been parsed should still go through without issue.
Additional context
Looking at the source code of body-parser, we can see that if the req._body flag has been set, the parsers skip to the next middleware.  This means that no matter what, if we call bodyParser.json() in the TESjs route, the next middleware will have a parsed body guaranteed.

The only drawback to implementing this is making sure the body has been parsed correctly.  If the req._body flag has been set, the body can be one of four types:

Buffer
URL Encoded String
Text String
JSON Object

If it is anything aside from a JSON Object, it must be ensured that the body is in the correct format for the rest of the route handler to work correctly.  The conversion should be made in this middleware as well.


Duplicate paragraph tags

Informations
Chrome 60.0.3112.101 x64:
OS: Windows 10:
1920x1080:
How to reproduce the bug?
Edit text with Trumbowyg, placed on a textarea with default value and use <strong> or <em> button.
Each time you add a new style, it add a new set of <p> around the content.
Expected behavior ?
The text should be only once encompassed by <p> tags.

Should be fixed by adding contents() to this line: t.$ed.html(safe.html()); in trumbowyg.js
The above line should look like this: t.$ed.html(safe.contents().html());
Unfortunately I don't know how to work this gulp and node thing so I hope someone can put it on the code instead of me O:-)

@vsindylek As you can see above, I mirrored suggested changes in a new fork. Hope you don't mind I did it for you...
As for yourself, you can always made the change into node_modules, but it this isn't included in the next release of Trumbowyg, the change will be lost when using npm update.
Anyway, thanks, it seems to work nicely.

Thank you @FrancoisH! I'm happy others can use the solution also ;-)

I've merge your fix. It will be in the next release soon :)

Awesome, thanks! ;-)

v2.7.2 published now :)


Certificate forwarding options and Azure Web Apps

Is there a contradiction between these two sections or is it just a difference between ASP.NET Core 3 and 3.1?
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/proxy-load-balancer?view=aspnetcore-3.0#azure
(explicitly setting the header name)
https://docs.microsoft.com/en-us/aspnet/core/security/authentication/certauth?view=aspnetcore-3.1#use-certificate-authentication-in-azure-web-apps
(implicitly with middleware)

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

ID: e548cd16-b06c-5802-a1a7-c627167857ae
Version Independent ID: c48abb08-bea3-dcff-c067-2edf5dc9b3a6
Content: Configure ASP.NET Core to work with proxy servers and load balancers
Content Source: aspnetcore/host-and-deploy/proxy-load-balancer.md
Product: aspnet-core
Technology: aspnetcore-hostdeploy
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

ASP.NET Core 3 and 3.1?
There is no 3.0 version.

I was looking at the urls of the two docs

Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog manageable. If you believe there is a concern which hasn't been addressed, please file a new issue.


A reference arg in the constructor causes a compile error

If you define the constructor like
pub fn init(&mut self, value: &U256) {

}

It raises a compile error

#387 resolves the issue


Unable to load your database

Am having an Issue.Am migrating from the legacy console to the new console.But after the migration I keep getting Unable to load your database.Am I doing something wrong.Pls help.Thanks

GOOGLE *.  .


Arrange Widgets Feature

What's the Problem?
Currently I can't find an option to arrange widgets in home. for ex. make drivers widget above folders widget.
Solution/Idea
Add an option for this either in settings or in manage widgets dropdown.
Alternatives
N/A
Priorities
No response
Files Version
2.0.34
Windows Version
Win11 21H2
Comments
No response

Merging with #2263


Remember preferred package manager

This PR synchronises all Installation-Blocks when the user chooses a preferred package manager, making the browsing-experience in the docs nicer. The preference is also persisted to localStorage for subsequent visits.

@LorisSigrist Thank you. That's very helpful 🙏🏼.
However, I discover in the Visit Preview that if you do a page refresh, the code variant loads correctly, but for some reason the actual code content isn't updated.
https://github.com/vnphanquang/svelte-put/assets/25895844/3a88de4c-9dca-4635-b270-e219d4df4fe0
I'll look into it.

Added a commit to improve upon your idea but with cookie, for even better experience (no flash on mount), which conveniently resolved the issue I reported above.
Will leave the PR open for a while in case you have any other input @LorisSigrist

Looks great to me! Glad to be able to help. The idea with the cookie is clever, I really should have thought of that!


EC2: Inconsistency between --amazonec2-vpc-id and --amazonec2-subnet-id

Problem
In EC2 a number of assets have an ID and a Name. It appears that these can be interchanged in some cases but not others, eg.
--amazonec2-vpc-id name OR Id, eg, alvin-dockercon or vpc-346b7651
--amazonec2-subnet-id Id ONLY, e.g. subnet-26df460d

Reproduce
You get an error if you try the following
docker-machine create -d amazonec2 --amazonec2-vpc-id alvin-dockercon --amazonec2-subnet-id alvin-test-subnet2  foo
Launching instance...
Error creating machine: Error launching instance: Problem with AWS API call: Non-200 API response: code=400 message=The subnet ID 'alvin-test-subnet2' does not exist

Solution
Make the handling of Name and Id consistent. I would vote for making Name AND Id both acceptable.
Workaround
Use the ID associated with the asset. The parameter name does indicate that its the "subnet-id", but "vpc-id" uses the same naming convention but has better usability.
Environment
uname -a
Darwin vero.local 14.4.0 Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64

docker-machine --version
docker-machine version 0.3.0 (0a251fe)

It will be useful to have both options (name and id) for more AWS options:
--amazonec2-security-group (at the moment it's the name only)
--amazonec2-ami (at the moment it's the id only)
The use cases:

We have a few VPCs, each one has a "default" security group. When I tried to use "default" security group to create a new machine, it failed with error that security group doesn't much the subnet (VPC and subnet were passed as arguments as well). I had to create another security group with special name for using with docker-machine. Using security-group-id will solve it.

I have a basic AMI I need to update once in a while with latest images -> then update the script that creates/updates/stop/terminates machines using docker machines withe new AMI ID.
Using ami-id (which can stay the same) will solve it.


Construction Price Adjustments

About the PR
Goes through everything in the construction menu and adjusts it's price to be non-exploitable.
New Pricing List;
-air injector: $22
-air scrubber: $22
-air vent: $22
-bar stool: $10
-broken disposal pipe: $22
-chair: $10
-comfy chair: $10
-connector port: $22
-dark office chair: $10
-disposal bend: $22
-disposal junction: $22
-disposal pipe: $22
-disposal router: $22
-disposal tagger: $22
-disposal trunk: $22
-disposal unit: $62
-disposal y-junction: $22
-dual-port air vent: $22
-folding chair: $10
-gas filter: $22
-gas mixer: $22
-gas pipe bend: $22
-gas pipe fourway: $22
-gas pipe half: $22
-gas pipe straight: $22
-gas pipe t-junction: $22
-gas pump: $22
-manual valve: $22
-office chair: $10
-passive gate: $22
-passive vent: $22
-pilot chair: $10
-plastic crate: $80
-plastic flaps: $83
-pneumatic valve: $22
-rack: $22
-reinforced plasma glass: $40
-signal valve: $22
-stool: $10
-toilet: $25
-volumetric gas pump: $22
-wallmount apu: $138
-wallmount generator: $114
Media

[x] This PR does not require an ingame showcase

Changelog
:cl:

tweak: Changed the price of most objects found in the construction menu.

Arbitrage needs fixing.

Hopefully that'll fix it.


How to use XDG paths for the package?

Hey I'm new to NixOS and I'm wondering how I can make the doom emacs package use the XDG path (so instead of placing the files in directly in my home folder, it goes into the ~/.config/emacs)? I have Home-manager setup as a standalone installation with flakes
flake.nix
{
  description = "Your new nix config";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
    home-manager = {
      url = "github:nix-community/home-manager/release-23.05";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
  };

  outputs = { nixpkgs, home-manager, nix-doom-emacs, ... }:
    let
      system = "x86_64-linux";
      pkgs = nixpkgs.legacyPackages.${system};
    in {
      nixosConfigurations = {
        ryzennova = nixpkgs.lib.nixosSystem {
          modules = [
            ./nixos/ryzennova.nix
          ];
        };
        thinknova = nixpkgs.lib.nixosSystem {
          modules = [
            ./nixos/thinknova.nix
          ];
        };
      };
      homeConfigurations = {
        novaviper = home-manager.lib.homeManagerConfiguration {
          inherit pkgs;
          modules = [
            ./home-manager/home.nix
            # Add custom programs
            {
              imports = [ nix-doom-emacs.hmModule ];
              programs.doom-emacs = {
                enable = true;
                doomPrivateDir = ./doom; # Directory containing your config.el, init.el and packages.el files
                emacsPackage = pkgs.emacsPackages;
              };
            }
          ];
        };
      };
    };
}

home.nix
{ config, pkgs, ... }:

{
  imports = [
    ./apps/zsh.nix
    ./apps/doom-emacs.nix
  #  ./apps/git.nix
  ];

  # Home Manager needs a bit of information about you and the paths it should
  # manage.
  home.username = "novaviper";
  home.homeDirectory = "/home/novaviper";
  xdg.cacheHome = "/home/novaviper/.cache";
  xdg.configHome = "/home/novaviper/.config";
  xdg.dataHome = "/home/novaviper/.local/share";
  xdg.stateHome = "/home/novaviper/.local/state";

  # This value determines the Home Manager release that your configuration is
  # compatible with. This helps avoid breakage when a new Home Manager release
  # introduces backwards incompatible changes.
  #
  # You should not change this value, even if you update Home Manager. If you do
  # want to update the value, then make sure to first check the Home Manager
  # release notes.
  home.stateVersion = "23.05"; # Please read the comment before changing.

  # Allow unfree packages
  nixpkgs.config.allowUnfreePredicate = (pkg: true);

  # The home.packages option allows you to install Nix packages into your
  # environment.
  home.packages = with pkgs; [
    vivaldi
    firefox
    kate
    keepassxc
    discord
    btop

    # # Adds the 'hello' command to your environment. It prints a friendly
    # # "Hello, world!" when run.
    # pkgs.hello

    # # It is sometimes useful to fine-tune packages, for example, by applying
    # # overrides. You can do that directly here, just don't forget the
    # # parentheses. Maybe you want to install Nerd Fonts with a limited number of
    # # fonts?
    # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })

    # # You can also create simple shell scripts directly inside your
    # # configuration. For example, this adds a command 'my-hello' to your
    # # environment:
    # (pkgs.writeShellScriptBin "my-hello" ''
    #   echo "Hello, ${config.home.username}!"
    # '')
  ];

  # Home Manager is pretty good at managing dotfiles. The primary way to manage
  # plain files is through 'home.file'.
  home.file = {
    # # Building this configuration will create a copy of 'dotfiles/screenrc' in
    # # the Nix store. Activating the configuration will then make '~/.screenrc' a
    # # symlink to the Nix store copy.
    # ".screenrc".source = dotfiles/screenrc;

    # # You can also set the file content immediately.
    # ".gradle/gradle.properties".text = ''
    #   org.gradle.console=verbose
    #   org.gradle.daemon.idletimeout=3600000
    # '';
  };

  xdg.configFile = {
    "git/config".source = apps/config/gitrc;
  };

  # You can also manage environment variables but you will have to manually
  # source
  #
  #  ~/.nix-profile/etc/profile.d/hm-session-vars.sh
  #
  # or
  #
  #  /etc/profiles/per-user/novaviper/etc/profile.d/hm-session-vars.sh
  #
  # if you don't want to manage your shell through Home Manager.
  home.sessionVariables = {
    # EDITOR = "emacs";
  };

  # Let Home Manager install and manage itself.
  programs.home-manager.enable = true;
}

This might make sense. It seems that emacs does indeed look for the init.el file in different places (see https://www.gnu.org/software/emacs/manual/html_node/emacs/Find-Init.html ), so perhaps being able to change this path isn't such a bad idea.


Sourcemap is likely to be incorrect: a plugin (vike:env) was used to transform files, but didn't generate a sourcemap for the transformation.

Description
When creating production builds with source maps (external) the following warning shows up on the console:
(vike:env plugin) Sourcemap is likely to be incorrect: a plugin (vike:env) was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help

Versions:
"vite": "4.3.9",
"vike": "0.4.153",

I've a couple of ideas for how to get rid of that (false) warning, can you publish a reproduction? It doesn't have to be minimal.

I'll re-open if I can get me hands on a reproduction.


Windows 8.1

Have you sam tip haw implement on windows ?
I have all important class and msys32, mingw .... visual expres studio etc, but
node-pre-gyp with msbuild cannot find glib.h and girepository.h

../src/loop.cc(4): fatal error C1083: Cannot open include file: 'glib.h': No such file or directory [C:\Users\Marian\AppData\Roaming\npm\node_modules\node-gtk\build\node-gtk.vcxproj]

I think you need to have a running Gtk+ first in there:
http://www.gtk.org/download/windows.php
The idea is to create pre-built modules once we move forward a little bit. There will be hopefully both 64 and 32 bit modules but right now it's a bit early for this ... it doesn't even build on OSX so maybe you want to wait a little bit for this.
I'll keep it open for now unless @magcius wants to keep the bug-log clean of "distractions"

FYI I've started adjusting and verifying things here and there in order to make this build on Windows too.
Here the current error status: https://github.com/WebReflection/node-gtk/issues/24
Here instructions on how to try building on Windows:
https://github.com/WebReflection/node-gtk#how-to-build-on-windows-experimental


Move an sr-iov config file to the proper place

This is a follow-up to the structure update done in PR #6

@MarSik my only comment is that this CR is not a must and I can see the path that is in the required folder

@SchSeba better?

/lgtm


Sourcing script: .bashrc, or .profile

Why nvm places sourcing script to .bashrc, when .profile sourcing makes shell runs faster at startup?

Primarily because more people have a bashrc file than a profile file, I'd assume. Can you provide any links that talk about that?

It's only empirical.
Opening new terminal tab with .bashrc takes nearly ~2 secs, with .profile new tab opens instantly

Shell startup times are anything but empirical - they vary widely based on what you have in your profile files, what you've got installed in your system, etc.
If moving the sourcing lines from .bashrc to .profile speeds up your system, and allows nvm to continue working, great! If you can provide some more information, like the contents of your bashrc/profile files, and the output of nvm debug and nvm ls, that would be great too.

Oh! My fault
placing init script to .profile just made nvm unavailable :((
I tried to find other ways to make initialization faster and found this
init_nvm()
{
    if [[ $BASH_COMMAND =~ nvm* && -z $NVM_DIR ]]; then
        export NVM_DIR="/home/alex0007/.nvm"
        [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm
    fi
}
preexec_functions+=(init_nvm)

It uses bash-preexec

Gotcha - that's a great technique, but not something general enough to include in nvm itself.
If you can provide more information about your specific performance issues, I'll be happy to try to make improvements!

But why not to include something like this to nvm. It removes waitings when terminal is opened. They are really annoying

nvm supports many shells: bash, sh, dash, zsh, ksh, and ideally anything POSIX-compliant. The only thing you need to have installed to make it work is curl or wget. preexec isn't included in most shells by default.
If you wanted to repurpose this PR to detect when it was available, and use it in install.sh instead of the current approach, and added tests that would install it, and then exercise that code? Then I'm all for it.


Add media video preload article

This is my WIP (not ready at all) article for video preload. Let's use it to get feedback.
Live preview at https://pr-4744-dot-web-central.appspot.com/web/fundamentals/media/fast-playback-with-video-preload

@beaufortfrancois Is this ready to go?

@jpmedley I've asked @johnpallett to have a look. As soon as it looks good to him, I'll definitely ping you. Thank you!

@mounirlamouri I'll add intro and conclusion this week.

@beaufortfrancois Is this ready to go? Has John looked at this?

I've left some comments. Please make sure the video is update (NOT YouTube) before publishing.

I've addressed feedback from @wolenetz, @dalecurtis, and @johnpallett at  https://github.com/google/WebFundamentals/pull/4744/commits/8facba7eddc163038efc7a7979566d7af4a42b22 and https://github.com/google/WebFundamentals/pull/4744/commits/deb68a6573199bebb660e730412976946965c91d
@jpmedley As soon as @jakearchibald has a chance to look at it, you may want to have a look at it.

Thank you so much @jakearchibald! I've addressed most of your feedback at https://github.com/google/WebFundamentals/pull/4744/commits/7e2fe1adcdc1f36fe1ccc9049f9a8911bbb3ff40. I'm now waiting for @yoavweiss on https://github.com/google/WebFundamentals/pull/4744#pullrequestreview-52364950 and https://github.com/google/WebFundamentals/pull/4744#pullrequestreview-52363535

@jakearchibald If my latest patches look good to you, I'd like @jpmedley to have a final look.

@beaufortfrancois There are only a few things you need to change, though you might also review my typo fixes

Is this still waiting on me for something? (It's not clear from the comments)

Yes. Please add {# wf_blink_components: Blink>Media #}

@yoavweiss We're good now I believe.

@petele Using <script> instead of <script> is wrong. What can I do there to bypass these critical errors?

**ERRORS**
[`src/content/en/fundamentals/media/fast-playback-with-video-preload.md#L124`](https://github.com/Google/WebFundamentals/blame/99434dcea5807c03b7ec9a8a29189d2691dded89/src/content/en/fundamentals/media/fast-playback-with-video-preload.md#L124) - Unescaped script tag in markdown document, use <script...
[`src/content/en/fundamentals/media/fast-playback-with-video-preload.md#L141`](https://github.com/Google/WebFundamentals/blame/99434dcea5807c03b7ec9a8a29189d2691dded89/src/content/en/fundamentals/media/fast-playback-with-video-preload.md#L141) - Unescaped script tag in markdown document, use <script...
[`src/content/en/fundamentals/media/fast-playback-with-video-preload.md#L199`](https://github.com/Google/WebFundamentals/blame/99434dcea5807c03b7ec9a8a29189d2691dded89/src/content/en/fundamentals/media/fast-playback-with-video-preload.md#L199) - Unescaped script tag in markdown document, use <script...
[`src/content/en/fundamentals/media/fast-playback-with-video-preload.md#L229`](https://github.com/Google/WebFundamentals/blame/99434dcea5807c03b7ec9a8a29189d2691dded89/src/content/en/fundamentals/media/fast-playback-with-video-preload.md#L229) - Unescaped script tag in markdown document, use <script...
[`src/content/en/fundamentals/media/fast-playback-with-video-preload.md#L290`](https://github.com/Google/WebFundamentals/blame/99434dcea5807c03b7ec9a8a29189d2691dded89/src/content/en/fundamentals/media/fast-playback-with-video-preload.md#L290) - Unescaped script tag in markdown document, use <script...

@beaufortfrancois - I've changed the behaviour of the script test (#4949) to warn when it finds a script tag. They're allowed in a limited number of scenarios, including code samples. In this case, your use is fine.

please remove the DO NOT MERGE tag when this is ready to go.

@petele We're ready to go.

I still get [19:52:09] ERROR: src/content/en/fundamentals/media/fast-playback-with-video-preload.md An exception occurred in testMarkdown: ReferenceError: logWarn is not defined error though

Merged and also fixed the logWarn issue. Will push live tomorrow.


Setting up in ES6 appliction

Hi guys,
Can you guys give me any instruction to set it up inside es6 angular application??
Thanks,
Guy,
Cheers.

This is designed to work with angular 1.x only. There are no plans at the moment to create another project or update this one to angular 2+.
Sorry!


Missing React API docs

The Readme for the React integration links to https://milkdown.dev/docs/api/react but there is no such page.
In fact, any gibberish slug e.g. https://milkdown.dev/docs/api/fsajgsa will simply render /docs/api
So two suggestions:

Unknown slugs should 404. It would at least be clearer that it's a dead link
Add docs for React API (useEditor, MilkdownProvider, etc.) or at least remove the link from the readme

The correct link is https://milkdown.dev/docs/recipes/react. Will update soon.


RoI Tanh-polar Transformer Network for Face Parsing ONNX conversion

Issue Type
Feature Request
OS
Ubuntu
OS architecture
x86_64
Programming Language
Python
Framework
ONNX
Model name and Weights/Checkpoints URL
rtnet50-fcn-11.torch
rtnet50-fcn-14.torch
rtnet101-fcn-14.torch
resnet50-fcn-14.torch
deeplabv3plus-14.torch
Description
Would be nice to port this pytorch Face-Parsing Model to modelzoo as onnx.
Relevant Log Output
No response
URL or source code for simple inference testing code
https://github.com/hhj1897/face_parsing/blob/master/ibug/face_parsing/parser.py

WIP
https://github.com/PINTO0309/face_parsing

Tanh-polar is quite difficult to convert to ONNX; many operations cannot be exported to ONNX. It is very easy to convert the part except for tanh-polar.

Ok. Thanks for trying

Hi, are there any new possibilities to transform the tanh-polar op after one year?


TypeError: either n300 or nobjects must be specified on some maps

Yo, getting some error reports to my ezpp! analytics with this data:
{
    "version": "1.5.5",
    "url": "https://osu.ppy.sh/beatmapsets/150945/#osu/372245",
    "calculationSettings": {
        "modifiers": 2,
        "accuracy": 0,
        "combo": 6368,
        "misses": 6368
    },
    "pageInfo": {
        "isOldSite": false,
        "isBeatmap": false,
        "beatmapSetId": "150945",
        "beatmapId": "372245",
        "isUnranked": null
    },
    "error": {
        "message": "either n300 or nobjects must be specified",
        "name": "TypeError",
        "stack": "TypeError: either n300 or nobjects must be specified
 at std_accuracy.value (chrome-extension://aimihpobjpagjiakhcpijibnaafdniol/popup.js:1942:23)
 at std_ppv2.calc (chrome-extension://aimihpobjpagjiakhcpijibnaafdniol/popup.js:2090:47)
 at Object.ppv2 (chrome-extension://aimihpobjpagjiakhcpijibnaafdniol/popup.js:2218:39)
 at calculate (chrome-extension://aimihpobjpagjiakhcpijibnaafdniol/popup.js:335:31)"
    },
    "navigator": {
        "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36"
    }
}

the stack trace points to https://github.com/Francesco149/ojsama/blob/master/ojsama.js#L1554
could take a look but going to Japan vacation for three weeks

some other cases with the same error:
    "url": "https://osu.ppy.sh/beatmapsets/325158#osu/741477",
    "calculationSettings": {
        "modifiers": 258,
        "accuracy": 0,
        "combo": 197,
        "misses": 197
    },

    "url": "https://osu.ppy.sh/beatmapsets/325158#osu/741477",
    "calculationSettings": {
        "modifiers": 258,
        "accuracy": 0,
        "combo": 197,
        "misses": 50
    },

hmm I'm guessing there's an edge case somewhere with 0% accuracy, maybe the n300 calculation goes negative somehow
ill take a look when I can, I should have some time in the next 2 days


[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.

I have plugs and lamps (from LSC), once I take them from power, the homebridge plugin cannot find them and starts overloads the search attempts to find these devices on the network, leading to all devices running over homebridge not to respond anymore in HK.
The only solution is restarting homebridge manually.
Is there a way to slow the search attempts the plugin does for irresponsive devices?

I have the same issue. The plugin fails to connect to devices sometimes which results in it locking up Homebridge and a 100% CPU load. I run Homebridge on a Raspberry Pi Zero W so there isn't much CPU to begin with. Would love it if this didn't happen so much.
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)

I have the same issue. The plugin fails to connect to devices sometimes which results in it locking up Homebridge and a 100% CPU load. I run Homebridge on a Raspberry Pi Zero W so there isn't much CPU to begin with. Would love it if this didn't happen so much.
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)
[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to <accessory name> (Error: ERR_CONNECTION_TIMED_OUT)

Try to update to the newest node.js version. I didn't experience any new issues since then.
Let me know if the problem persists.


[To rel/0.12][IOTDB-1731]Fix sync error between different os

origin from discussion#4001(https://github.com/apache/iotdb/discussions/4001)
if we want to sync one computer with windows os data to another computer with unix os,
the sync process will stop, and a error is thrown like this:
-receiver/<IP_ADDRESS>_0583441c495b416d95c9945631bc3eff/data/root.industry.w9/root.industry.w9\0\0\1631930688647-1-0-0.tsfile, type=ADD}
java.io.IOException: Can not load new tsfile /data/local/iotdb-server/./sbin/../data/data/sync-receiver/<IP_ADDRESS>_0583441c495b416d95c9945631bc3eff/data/root.industry.w9/root.industry.w9\0\0\1631930688647-1-0-0.tsfile
at org.apache.iotdb.db.sync.receiver.load.FileLoader.loadNewTsfile(FileLoader.java:148)
at org.apache.iotdb.db.sync.receiver.load.FileLoader.handleLoadTask(FileLoader.java:120)
at org.apache.iotdb.db.sync.receiver.load.FileLoader.lambda$new$0(FileLoader.java:87)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.iotdb.db.exception.StorageEngineException: org.apache.iotdb.db.exception.metadata.IllegalPathException: <IP_ADDRESS>_0583441c495b416d95c9945631bc3eff is not a legal path
at org.apache.iotdb.db.engine.StorageEngine.getProcessorDirectly(StorageEngine.java:391)
at org.apache.iotdb.db.engine.StorageEngine.loadNewTsFileForSync(StorageEngine.java:820)
at org.apache.iotdb.db.sync.receiver.load.FileLoader.loadNewTsfile(FileLoader.java:143)
... 7 common frames omitted
Caused by: org.apache.iotdb.db.exception.metadata.IllegalPathException: <IP_ADDRESS>_0583441c495b416d95c9945631bc3eff is not a legal path
at org.apache.iotdb.db.metadata.MTree.getStorageGroupNodeByPath(MTree.java:560)
at org.apache.iotdb.db.metadata.MManager.getStorageGroupNodeByPath(MManager.java:1055)
at org.apache.iotdb.db.engine.StorageEngine.getProcessorDirectly(StorageEngine.java:387)
... 9 common frames omitted
2021-09-18 10:09:03,790 [pool-9-IoTDB-Load-TsFile-1] INFO o.a.i.d.s.r.l.FileLoader:177 - Sync loading process for <IP_ADDRESS>_0583441c495b416d95c9945631bc3eff has finished.
the reason is:

file path was generated by sender
file path was send to receiver
because of File.seperator is different between windows and unix, the file path was recognized to a file name
file path can not be set correct in receiver

solution is:

reprogramming the transfer string
receiver will rebuild the file path by transfer string

Test needed...


Feature request: add a full file patch in the search results

Can we add a full file path, not only the filename in the search results?
It can be really convenient to see the exact file if you find several files with the same file name in different locations.
Thanks a lot!

Is this referring to the GUI?

yes, It's related to vs code GUI.
After searching a new item I see the file name only, not a full path.

@galaxyraiser Feature implemented in codequery4vscode version 0.8.0.

@galaxyraiser Feature implemented in codequery4vscode version 0.8.1.

Thanks!


New blog newsroom

Introduces the new Blog and Newsroom page types
Additions

BlogPage and NewsroomPage
Article Subheader

Changes

Changes some templates around
Fixes some bugs
Learn, DocDetail, Blog, Newsroom pages have an option to add an Article Subheader for blog introductory paragraphs
Full Width Text now has a Media option for images

Testing

cfgov/manage.py migrate (make sure you have the local.py database settings configured, if not see Notes)
Go under the blog page and create a new blog post!
Add Article Subheader to the Header streamfield
Add the media option in the Content streamfield
Add some sidefoot content
Preview it, Save it, Publish, Check it out on the site!
Repeat for NewsroomPage

Review

@kave
@jimmynotjim
@richaagarwal
@rosskarchner

Screenshots

Notes

local.py settings for database

DATABASES = {
    'default': {
        'ENGINE': MYSQL_ENGINE,
        'NAME': os.environ.get('MYSQL_NAME'),
        'USER': os.environ.get('MYSQL_USER'),
        'PASSWORD': os.environ.get('MYSQL_PW', ''),
        'HOST': os.environ.get('MYSQL_HOST', ''),  # empty string == localhost
        'PORT': os.environ.get('MYSQL_PORT', ''),  # empty string == default
        'OPTIONS': {
               "init_command": "SET storage_engine=MYISAM",
        }
    },
}

fixed

Random blog post with categories assigned that aren’t showing in “eyebrow” above the title

👍 after comments

All acceptance tests pass

Our blogs would be better if they involved more dog photos.

Gotta love Australian Shepards ❤


Feature Request: Variables in mainContentText

Can we use variable like "days remaining to update" or "deferred count" in mainContentText?
That way, we could tell the users what will happen after X days.

Second this.  @erikng, what's the burden to implement something like this?  Do you need some ideas for variables that could be included?  Would you prefer to write your own library of built-in variables like $DATE or $COMPUTERNAME or $SERIAL etc?

Unsure really. We dynamically create our json structure through chef so can do all of this style of things if we were inclined to (we're not).
it's simply a matter of time. I haven't been a macadmin for 2+ years now and while Uber uses nudge, it's technically not my charter. I continue to support nudge out of the kindness of my heart and nothing more.


Cutover to osm2lanes

This is far from ready, but figured it'd be better to track progress here instead of https://github.com/a-b-street/osm2lanes/issues/71. My workflow right now (which assumes the dev env is setup) is:
# Reimport a sample map
./import.sh --raw --map montlake
# Load the UI in a mode where ctrl+tab switches between old/new version of the map
./data/diff_changed_map.sh data/system/us/seattle/maps/montlake.bin

Lane width is the main difference that jumps out. Even a service=alley looks super wide. I'll start looking at ways of specifying different values in Locale.
CC @droogmic

Thanks, I see the issue now. I need to look for some national road building standards to get a good defaults for these.

I made some more progress, continuing the strategy of fudging the input and output of osm2lanes to match current behavior a bit better. Some of the changes:

Found a bug in prior abst code where bus lanes on most roads had the wrong width value!
Some roads lose shoulders on one side, which is closer to reality. I'll just need to check carefully in places like North Seattle; shoulders were added previously to make sure the walking graph is reasonable
highway=footway, bicycle=dismount becomes just a walkable lane. I'm happy to "lose" a few of those previous bike trails; they were always a hack.
Patching around living streets, oneway=reversible, few other things
Bidirectional cycletracks are transformed into two separate lanes; the simulation layer further down the chain doesn't understand bidi lanes except for sidewalks
Attempting to hack around multiple bus schemas. Some attempts in Bristol, a map I need to be very careful about right now, have confusing results

I kind of want to wrap this up quickly instead of leaving it hanging, but it's really taking time to crunch through all the issues. :\

| I kind of want to wrap this up quickly instead of leaving it hanging, but it's really taking time to crunch through all the issues. :\
I think osm2lanes is still a little bit immature to avoid having to deal with lots of issues.

I rebased against A/B Street changes and also updated osm2lanes. I left off looking at changes in Bristol particularly, as I have a work project centered there. ./import.sh --raw --map --city=gb/bristol
Main problem was... oh hey, it's gone, Bristol's actually looking better with osm2lanes now! Bus lanes at https://www.openstreetmap.org/way/987715676 showing up now.

any opinion on what the next most problematic thing is for you?
cyclist=dismount, more bus stuff, or road widths?

Probably road widths.
But based on my quick diff yesterday, I bet we could do the cutover soon. I'll try to dedicate a few hours tomorrow to trying it and at least seeing what other problems come up. Once we get past this initial hump, subsequent improvements (removing overrides on the A/B Street side and trusting osm2lanes I/O more directly) can be done gradually. And osm2lanes can keep evolving at whatever speed; I'll re-import everything and repeat validation every so often.

https://www.openstreetmap.org/way/22772836
cycleway=opposite without oneway=yes oneway:bicycle=no
This is the most common error affecting a hi-pri map. I'll probably hack around it for the moment...

Ignore above.
@droogmic, I think I'm getting close -- I'm checking some last things, then I'll attempt a full reimport. Once I get that to a point where I'm happy, I'd prefer to upload the changed data and merge quickly to avoid hassle in my other work. (Branching code is easy, but not for data.) Are you interested in reviewing the code here? I don't expect it to be particularly understandable without lots of context.
Once this first cutover is done, iterating on smaller fixes will be much easier on my end, though I'll still probably batch the full reimports and validation on my end. Cleanup like:

removing is_road
doing less transformation of tags
doing less transformation of osm2lanes output (like trusting widths)
cleaning up all the places that insert an inferred sidewalk or parking tag (a weird old technical decision that's no longer valid and is mostly just confusing)

Are you interested in reviewing the code here?

not particularly,  unless you either, want me to understand it generally, understand the workarounds you are still doing, or want me to find defects

not particularly, unless you either, want me to understand it generally, understand the workarounds you are still doing, or want me to find defects

Alright, feel free to ignore this PR then.
I imported everything and managed to provoke a few crashes. I'll track down where when I get some time and file + fix bugs:

somewhere in london, newcastle, auckland: "capacity overflow" in osm2lanes::transform::tags_to_lanes::road::RoadBuilder::from -- I suspect something's trying to allocate a huge vector. If I had to blindly guess, there's a "-1" we're parsing as a usize
somewhere in seatle: unexpected speed 3025 mph', /home/dabreegster/.cargo/git/checkouts/osm2lanes-0a9401f46878d04a/df0e7bb/osm2lanes/src/transform/tags_to_lanes/separator/semantic.rs:27:18

Is it hard for you to find the way ID associated with the failures?


selscan's norm function for iHS expects 6 entries of input

selscan_ihs now gives left and right ancestral/derived iHH scores as part of output (which is awesome!) but selscan_norm_ihs does not anticipate this, and throws the following error:
ERROR: line 2 has 10 columns, but expected 6 columns.
(these scores themselves do not need to be normalized, selscan_norm_ihs just needs to ignore them)

I can make this change to have norm ignore the four extra columns of left/right ancestral/derived that are included when the flag --ihs-detail is specified. Stay tuned for a commit on my branch of selscan and then a pull request on szpiech/selscan.

Addressed in https://github.com/szpiech/selscan/pull/14


question - validate decisions dynamically based on values of other decisions

Hi!
First of all, thank you for the great library and all your work around spreading knowledge about mathematical planning. It is amazing.
I am struggling with modeling my problem, and I wonder if the problem is not a great fit for flips, or am I missing something. It would be great if you could give me a hint about the direction I should go.
Here is the problem:
I have a list of desks and a list of people. I want to assign desks to people. One person can be assigned to one desk, one desk can be assigned max to one person. People are grouped into teams. Desks are grouped into "desk groups" and have specific order so we can say which desk is next to another. We also know what desk was assigned to the person during the previous assignment. I am trying to optimize the way desks are assigned, so as many people as possible are sitting together with the rest of the team (the main objective), and, if possible, people are not changing desks compared to the previous assignment (secondary objective).
My domain looks like this (I will eventually ad single case discriminated unions)
type Desk = { Id: string; OrderId: int }

type DeskGroup = { Desks: List<Desk> }

type Person =
    { Id: string
      Team: string
      LastDayDesk: Desk option}

type Team = { Members: List<Person>; Name: string }

My input is

people // []
desks // []

Decision
let assignments =
    DecisionBuilder "DeskAssignment" {
        for team in people do
        for person in team.Members do
        for deskGroup in desks do
        for desk in deskGroup.Desks ->
            Boolean
    } |> SMap4

Constraints
let deskAssignmentConstraint =
    ConstraintBuilder "OnePersonssignedExactlyToOneDesk" {
        for team in people do
        for person in team.Members ->
            sum assignments.[All, person, All, All] == 1.0
    }

let daskAssignmentConstrainDesks =
    ConstraintBuilder "OneDeskAssignedToOnePersonOrNone" {
        for dg in desks do
        for desk in dg.Desks ->
            sum assignments.[All, All, All, desk] <== 1.0
    }

Linear expression for checking for the secondary objective
let isDeskChanged  person desk =
    match person.LastDayDesk with
    | Some ld -> desk.OrderId <> ld.OrderId
    | None -> false

let linearExpressionWhoChangedDesk =
    assignments
    |> SMap4.toList
    |> List.filter (fun ((t, p, dg, d), dec) -> printfn $"checking if desk was changed for person {p.Id}: {isDeskChanged p d}";isDeskChanged p d)
    |> SMap4.ofList
    |> sum

So far so good. I have meaningful assignments, and I can optimize for the secondary objective. But now I am trying to create the linear expression for the main objective - do teams sit together. I can check this only in the context of all decisions. My first idea was to filter positive decisions and check assigned desks, but I am not sure if this is doable. I was trying to start with something like this:
let positiveDecisionsByTeams =
    assignments
    |> SMap4.toList
    |> List.filter (fun ((team, person, desksGroup, desc), decision) -> decision = 1.0)
    |> List.map (fun ((t, p, dg, d), dec) -> {Person=p;Team=t;Desk=d;DeskGroup=dg})
    |> List.groupBy (fun d -> d.Team)

Which obviously won't work, because the comparation  decision = 1.0 doesn't make any sense from types perspective.
Is there a way I can filter positive decisions? Does it even make sense? Is there a way to validate decisions based on the value of other decisions? In my example, I can validate the given decision only knowing other results, so I can say if team members were assigned to the desks next to each other.
It would be great if anyone has any idea in what direction I could move with my problem.
Thank!

Ah, yes. This is doable by using indicator variables. Would you be alright if I turned this into a blog post?

Hi Matthew! Sure, it would be great. Please let me know if you need more input about the domain.
By the way, your blog is a really amazing learning resource!

Here's the post: https://matthewcrews.com/blog/2021/11/team-desk-assignments/
Sorry for the delay.

Thank you, Matthew! This is super helpful. I believe that the idea of indicator variables will be useful for many developers out there. Your responsiveness is amazing!


Add a trajectory component to hybrid planning message

Description
This modifies hybrid planning to accept a trajectory that is already time-parameterized, so that TOTG does not need to be run again.

Apparently, Github does not allow commenting on unchanged lines (that are not within some line amount of changed lines) which is ridiculous. Looks like there is a feature request here though that hopefully gets done soon.
Other comments I'd like to add are:

L147 - This should be
const auto& joint_positions = first_waypoint.positions;
L149 - This should be
std::fabs(angles::shortest_angular_distance(current_joint_values.at(joint_idx), joint_positions.at(joint_idx)));


Merge pull request #1 from chartjs/master

merge
Please consider the following before submitting a pull request:
Guidelines for contributing: https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md
Example of changes on an interactive website such as the following:

http://jsbin.com/
http://jsfiddle.net/
http://codepen.io/pen/
Premade template: http://codepen.io/pen?template=JXVYzq

Closing because I think this was opened in error as there are no changes

Sorry ,this is a mistake.


Can't insert tabs after spaces

It seems this extension assumes that tabs are only valid before other characters. If you have a non-tab character, then you cannot insert further tabs on the line. I don't believe this behaviour is entirely correct.
Here's my simplified example scenario:
____var x = foo({
____........____bar
____........});

In the above, tabs are represented by _ and spaces are represented by ..
The problem is on the middle line:

First we use tabs for indentation, to match indentation with the current block (i.e. the first line).

Then we use spaces for alignment, as we want to align with the above line, matching a certain number of characters until we reach the indentation point for the nested block.

Finally, we want to indent at this point, using a tab stop. The extension makes this impossible, as it inserts spaces instead.

Am I missing something?
(Perhaps not the best example now I think of it, as you might just do a simple one-level indentation here without any alignment — but I do keep running into more complicated cases where I want to do it like this.)

Indeed it does. According to this extension, Tabs are for indentation (only!) and spaces are for alignment. Indentation only has meaning at the start of the line, so tabs are only allowed at the start.
In your example, you'll find that changing the tab size does not properly change the depth of the indentation. Instead, the indent will vary from as little as 1 space up to your configured tab size.
Instead, you probably want that tab at the start of the line as indentation, so something like:
____var x = foo({
________........bar
____........});

Ideally the extension would do this automatically when the user wants to indent anywhere within the active line (i.e. outside the indentation), unfortunately Tab within a line is more commonly used to quickly insert spaces for alignment, and there is no way to tell that the user actually wants to indent the entire line.
This extension currently assumes the (imo more common) case of wanting to insert aligning spaces. I suppose a configuration option would be a possibility if you think you would really prefer using the Tab key only to indent the entire line.

Thanks for the explanation.

Instead, you probably want that tab at the start of the line as indentation

That makes sense. I don't know why I didn't think of doing it that way. I suppose it's not quite as intuitive to put the extra tab there. It would be nice if the extension could do this automatically.

unfortunately Tab within a line is more commonly used to quickly insert spaces for alignment, and there is no way to tell that the user actually wants to indent the entire line.

Personally I've never used tab for this. I press tab if I want indentation, and press/hold spacebar if I want alignment. I think a configuration option would be useful.


Fix reference to SystemEvents class

In a recent commit for #21 SystemEvents was being referred to as SystemEventsPlugin, which broke ovos-PHAL-plugin-system.
This fix unbreaks it.

Actually, it needs changed here instead
https://github.com/OpenVoiceOS/ovos-PHAL-plugin-system/blob/3735ab3318d9abc7fe0eba1c803cff1ac7806d35/setup.py#L59

I am closing this because it was fixed with this commit.
https://github.com/OpenVoiceOS/ovos-PHAL-plugin-system/commit/bdfcac424feb43fe685cf7decb55e9090987132d


Starting slave on demoted master from graceful failover broken for MariaDB in GTID strict mode

I can provide more output if needed, to start here's the simple report:

Following graceful takeover instructions at https://github.com/openark/orchestrator/blob/master/docs/topology-recovery.md#graceful-master-promotion
MariaDB, using GTID with strict mode set
After executing a graceful takeover in orchestrator, I run start slave on the demoted master
slave show status on the demoted master shows this error message: An attempt was made to binlog GTID 1-1-1 which would create an out-of-order sequence number with existing GTID 1-2-830, and gtid strict mode is enabled

However, if I run the following manually (or in the PostGracefulTakeoverProcesses hook), the failover works:
CHANGE MASTER TO MASTER_CONNECT_RETRY=1, MASTER_USE_GTID=current_pos;
START SLAVE;

I ran into this working on the documentation enhancements proposal at #1134
Should this be regarded as a bug in orchestrator, or should we simply provide some extra documentation for the MariaDB GTID strict mode case?

Should this be regarded as a bug in orchestrator

A parallel discussion with @sjmudd exposed the fact that for MariaDB GTID, orchestrator always uses:
CHANGE MASTER TO ... master_use_gtid=slave_pos

In your PostGracefulTakeoverProcesses, what happens if you run
CHANGE MASTER TO MASTER_CONNECT_RETRY=1, MASTER_USE_GTID=slave_pos;
START SLAVE;

?
At this time I don't have personal experience with MariaDB GTID and the differences between the various MASTER_USE_GTID flavors. I will need to dig in.
Related: https://github.com/openark/orchestrator/issues/1133

This is a quite succinct summary of the difference between slave_pos and current_pos: https://dba.stackexchange.com/a/234323
In my experimentation, what's mentioned in that comment holds true:

For new slave or rejoining slave slave_pos
For a master turning into a slave current_pos

I'm pretty sure your suggestion won't work in the graceful failover scenario, as the old master will almost assuredly have a slave_pos that is behind its last transaction before the switchover.
What I mentioned in my first comment is what's worked well for me in the PostGracefulTakeoverProcesses hook:
CHANGE MASTER TO MASTER_CONNECT_RETRY=1, MASTER_USE_GTID=current_pos;
START SLAVE;

It's not the end of the world if in the MariaDB GTID case, I have to use that extra line instead of just START SLAVE;, but it would be nice if orchestrator could figure that out and do the right thing when it reconnects to the new master. In either case, I'd like to document it accurately!

Addressed by https://github.com/openark/orchestrator/commit/fc05b377b4f728012cafc338eaf02326d510cfa9 as part of #1165

@thehunmonkgroup can you please try this binary: https://github.com/openark/orchestrator/suites/689941869/artifacts/6490910, built by the #1165 CI:

It should correctly CHANGE MASTER TO MASTER_CONNECT_RETRY=1, MASTER_USE_GTID=current_pos in the case of a graceful master takeover (in fact, in any case of a MariaDB server that'c turning from being a master into a replica)
use graceful-master-takeover-auto to also have replication auto-start at the end of the takeover. So you can remove the code from your PostGracefulTakeoverProcesses.

Can you please let me know how this works for you?

Works beautifully! I've attached the log of one full cycle of invoking graceful-master-takeover-auto in case you want to review -- upon my review everything looks good.
graceful-master-takeover-auto.log

#1165 is merged; closing this issue.


cmake: Add support for -zkp modules

Supersedes #275.

@lightyear15 Can you test if this does the right thing for you?

@real-or-random
I did a quick test and it seems to be working
Thanks


What to do about Apple rejecting device frames generated by frameit?

Question Checklist

[X] Updated fastlane to the latest version
[X] I read the Contribution Guidelines
[X] I read docs.fastlane.tools
[X] I searched for existing GitHub issues

Question Subject
 Frameit
 No
 No
Question Description

I've used frameit successfully in the past, however Apple just rejected my binary for this reason:
Guideline 2.3.4 - Performance - Accurate Metadata

Your app preview includes content that does not sufficiently reflect the app in use. Specifically, your preview:

- Includes device images and/or device frames.

What do people do about this?
I've seen other apps use "flat" iPhone device frames (Uber, AirBnB, Kijiji are examples). Is there a way I could use this kind of device frame with frameit? I couldn't find a documented way to customize the frames.

Does this rejection refer to the screenshots or a preview video?
I am not sure if there is a proper way to customize the device frames. But I know the files are downloaded to ~/.fastlane/frameit/latest and loaded from there. Messing with a picture should probably tell you if it is still used for framing - I think so.

@janpio my preview video has no device frame, so it must be the screenshots.
Thanks for the tip. If it’s that hacky I may need to find a different tool.

Gosh, I missed that I have a brief photo of someone holding an iPhone in a news article in my preview video. That must be it.

Ha, great I could nudge you in the right direction.

If it’s that hacky I may need to find a different tool.

That would not have been that hacky even, replacing the images should be pretty easy. (Actually something that frameit could/should support out of the box...)


adding functions to control runner in copy mode

these functions allow entering copy mode without switching panes/windows
they also allow sending keystrokes to control the copy mode buffer

Oh this looks interesting! Give us some time to have a look and we'll get back to it :)

Don't think this will be useful for others? Don't use VIM or TMUX any more? Just don't have the bandwidth to document?

@alerque no bandwidth.