How big should a controlnet dataset be for training?

The training docs use a 50,000 base image dataset zipped.
The example involves something simple as circles, in a real training setting you might want to create a control for more complex things such as noses or eyes.
It would take months if not years if i tried to manually draw noses outlines for 50,000 images to use to train, without mention find 50,000 good photos.
Just how big should the average dataset be for a non-example controlnet training, realistically?

I think the fun and creativity in machine learning comes exactly from finding a way to get this training dataset WITHOUT having to manually draw 50000 noses. Read the paper and look how they synthetized the scribble ControlNet for example: 1. hed-filter an image to get outlines of different strengths, 2. remove the thin ones, 3. redraw the thickest ones with scribble brush, done. that's incredible! Or read the Midas paper on how the synthetized images for depth maps: where do you get thousands of realistic 3D images from? well... 3D movies! that's ingenious! Or read the paper on how the created Instruct Pix2Pix: how do you get from a caption describing a image to caption describing a CHANGE of the image and then actually have an image that incorporates this exact meaningful change? they also didn't manually inpaint thousands of images :)

I think the fun and creativity in machine learning comes exactly from finding a way to get this training dataset WITHOUT having to manually draw 50000 noses. Read the paper and look how they synthetized the scribble ControlNet for example: 1. hed-filter an image to get outlines of different strengths, 2. remove the thin ones, 3. redraw the thickest ones with scribble brush, done. that's incredible! Or read the Midas paper on how they synthetized images for depth maps: where do you get thousands of realistic 3D images from? well... 3D movies! that's ingenious! Or read the paper on how they created Instruct Pix2Pix: how do you get from a caption describing a image to caption describing a CHANGE of the image and then actually have an image that incorporates this exact meaningful change? they didn't manually inpaint thousands of images ;) there are already a few ControlNets for facial recognition and pose and they all made use of other machine learning models to predict and estimate faces and poses.
to your actual question. read my article https://civitai.com/articles/2078 and my report on a different edge ControlNet #318 (comment) where I have a few numbers. it all depends on your

batchsize: higher requires more images, but you get bettter quality
learning rate: higher means you require less images, but your CN could explode
epochs: you can train on the same images multiple times, but quality decreases
concept: simpler condition images converge earlier
number of images: if you look at my article, for the test ControlNet I still required 18000a4 images to see some effect
(you can find a few more numbers at the QA section below)

all in all, you will need thousand of images and you won't get around finding a way to automatically synthesize those images (plus captions!)

Hi, I am new to Computer Vision and still learning everyday and have a similar question.
I am going to extract frames from video(s) to train the model. However, the images will look familiar. For example, a plane flying from point A to point B in the video, background unchanged. Do you think it is the good idea to use all the frames for training.  If we need to choose images, how many is enough.
Please noted that the frames are different but similar in background.
Appreciate your opinion on this.

if you are going to train for video generation then you would need each frame. if you are just using the frames as an image source it's essentially a duplicate image which you want to avoid.

if you are going to train for video generation then you would need each frame. if you are just using the frames as an image source it's essentially a duplicate image which you want to avoid.

Will it make different if I added another drone, move the drone around?
My project is similar to the control net "circles" data set. Very simple drone with different background and positions

please provide some example images. i don't know what you mean by "drone"

please provide some example images. i don't know what you mean by "drone."

Sorry for the confusing.
Let's start with the fill50k dataset that ControlNet used as example. In the prompt, if you search for the sentence: "corn silk circle with green background" you will see there are two images have that same prompt: 48653.png, 18394.png. The only difference between two images is the size of the circle and position.
In my project, that is exactly what I need. I just want to generate simple object (drone, plane or bird) and simple background (clear sky,...) with different size and/or position.
Therefore, my plan is that I extract a video which has the same background with different object size and position for training. My question is: for my purpose, will a similar background effect the result?


java: Robustness improvements, round 2

Description
This PR improves the robustness of the Java profiler in several aspects:

We now handle processes where AP was already loaded & started - for example, of gProfiler is brutally stopped while profiling a Java process, AP remains running and the next time gProfiler runs, we can't start AP again. We now identify that case, stop AP and re-start it.
We no longer load AP from multiple paths - there is a single path /tmp/gprofiler_tmp/async-profiler/libasyncProfiler.so (per namespace, ofc) where AP resides.
We no longer store multiple copies of AP on-disk - previously we'd store 1 copy per process, now we store 1 copy per namespace.
... to be added

It also improves the code by adding the AsyncProfiledProcess helper class, so we avoid long methods with large amount of parameters.
Motivation and Context
Improve robustness of the Java profiler.
How Has This Been Tested?

Ran gProfiler, killed it (kill -9), ran it again and verified that it restarts AP.
Stressed it on >100 Java processes to ensure that the AP copying logic works (injected random sleeps in it)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have updated the relevant documentation.
[ ] I have added tests for new logic.

[x] AP already started in a container
[x] AP already started on host
[ ] stress test with >100 java processes?

Not clear, passes on my box w/ Python 3.9.5

Welp, now the tests do pass

Uhh last commit now breaks the executable tests

Unrelated error


doc: getting_started: Modernize macOS instructions

Modernize macOS instructions to fit the latest packages offered by
Homebrew and macOS High Sierra.
Signed-off-by: Carles Cufi<EMAIL_ADDRESS>

hmm #6934?

@nashif oh sorry, I didn't realize.

Codecov Report

Merging #6949 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6949      +/-   ##
==========================================
+ Coverage   55.63%   55.63%   +<.01%
==========================================
  Files         462      462
  Lines       44568    44568
  Branches     8296     8296
==========================================
+ Hits        24795    24796       +1
+ Misses      16381    16380       -1
  Partials     3392     3392

Impacted Files
Coverage Δ

kernel/posix/pthread.c
70% <0%> (+0.5%)
: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 77bbc42...6139a61. Read the comment docs.

@nashif oh sorry, I didn't realize. Can you take my changes, or do you want me to take yours?

i was first :)

@nashif ok! let's merge your PR and  then I will rebase mine :)

no i am fine with this...


7-Zip Update

Can the 7-Zip.sfx file please be updated to a newer version? Also, it would be great if documentation would be provided on how the file is re-compiled so we can update it ourselves in case there are any vulnerabilities.
Thanks!

I second this, it would be nice to be able to update the 7-Zip.sfx file.

The issue is not with the sfx file.
There is a filter added to the 23+ versions of 7-zip:
https://sourceforge.net/p/sevenzip/bugs/2423/
If there is a way to add the -mf- to DAT?

Line 20262 in DriverAutomationTool.ps1 v7.2.3
$7ZipArgs = "a -sfx7z.sfx DriverPackage.exe -r " + ' "' + $DriverExtractDest + '"'
I don't know if disabling all filters would cause additional issues, since it might leverage the better compression ratio from "BJC2 filter improvements."  The issue with Lenovo driver packs is the power management ARM64 folders, I just cleared them in the extracted source files, deleted the completed archive in source, deleted the SCCM object and exe in the destination folder and triggered another Import.
This explains why that actually worked, since the filter wouldn't detect ARM64 executables and wouldn't apply any ARM64 optimizations.  Didn't really understand why Lenovo would just randomly plug ARM64 drivers into an enterprise package of models that only had Intel CPUs.


Support older xarray versions or require minimal xarray version

Due to some compatibility issues that were reported by users, I deep dove into dfm_tools minimal requirements. There was one where xugrid popped up. With xarray<=2022.10.0 I get this ImportError:
ImportError while importing test module 'c:\DATA\dfm_tools\tests\test_xugrid_helpers.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Users\veenstra\Anaconda3\envs\dfm_tools_env\lib\importlib\__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests\test_xugrid_helpers.py:10: in <module>
    import xugrid as xu
C:\Users\veenstra\Anaconda3\envs\dfm_tools_env\lib\site-packages\xugrid\__init__.py:15: in <module>
    from xugrid.core.dataarray_accessor import UgridDataArrayAccessor
C:\Users\veenstra\Anaconda3\envs\dfm_tools_env\lib\site-packages\xugrid\core\dataarray_accessor.py:11: in <module>
    from xugrid.plot.plot import _PlotMethods
C:\Users\veenstra\Anaconda3\envs\dfm_tools_env\lib\site-packages\xugrid\plot\__init__.py:1: in <module>
    from xugrid.plot.plot import (
C:\Users\veenstra\Anaconda3\envs\dfm_tools_env\lib\site-packages\xugrid\plot\plot.py:9: in <module>
    from xugrid.plot.utils import (
C:\Users\veenstra\Anaconda3\envs\dfm_tools_env\lib\site-packages\xugrid\plot\utils.py:31: in <module>
    from xarray.core.utils import is_scalar, module_available
E   ImportError: cannot import name 'module_available' from 'xarray.core.utils' (C:\Users\veenstra\Anaconda3\envs\dfm_tools_env\lib\site-packages\xarray\core\utils.py)

It is fine to not support these older versions (xarray>=2022.11.0 work), but in that case it should be documented in the xugrid package requirements so it automatically updates xarray if needed.

This is already solved in the main branch, so I will close this issue again. I have now tested with xarray 2022.6.0, so over a year old, and it works fine.


#19 Configuring Dockerfile and npm script to build and execute deveopment env

It's working.
Just execute npm run docker-build and then npm run docker-run and you will have everything installed and running that is necessary to execute enqueuer.

This is awesome!!!
Thank you very much!


How to prevent Auto-Capture?

Hello! I've tried implementing even the pure example, and from what I read in another response you gave in other issue, even though you add the manual capture, it always makes an auto capture after detecting rectangles, and it is too fast.
I found in an issue that setting: manualOnly={true}  does it but when setting that prop, rectangle detection stops working, so it becomes a regular camera.
How can we stop it from auto capturing a picture? So we can let the user take it with the manual function and keep the rectangle detection.

On android I simply set the detectionCountBeforeCapture to -1 and on iOS I set it to a really high number so that the user would most likely capture the image before the number of detections for automatic capture is reached

You can also add the manualOnly prop to the DocumentScanner

@ribeirogabriel I don't see manualOnly prop in the documentation. I tried giving DocumentScanner a prop called manualOnly={true} but didn't work. Can you please mention the value of manualOnly prop? thanks.

try detectionCountBeforeCapture={-1}


jamf custom schema mismatch

In the script items 5.1.7 and 5.1.8 relate to world writable files.
in the custom schema these are items 5.1.3 and 5.1.4

I found that the sample json file provided is not up to date at all. You should instead run:
Assemble.sh -j which will create the Custom Schema based on the fragments and make sure it is always 100% accurate.
Do not use the current pre-compiled json file as it has many many more issues than just this one.


Host IP Variable

Hello,
I am using Terraform to create an EC2 instance and Ansible to provision.  I would like to use pm2 deploy as part of that process, but that would require being able to set a host IP as a variable, because I do not know the IP before spinning up the box.  Is that possible to do, or do I always need to hard-code a host IP?

@Unitech Is this project abandoned?  I don't see much of any activity in the issues or commits.   :-/

Hello IanVS,
It's true that we do not maintain pm2-deploy a lot as PM2 and Keymetrics are taking us lot of time, we are still looking for contributors to pm2-deploy.
Alex


Refactor Muckrock Scraper

Supports https://github.com/Police-Data-Accessibility-Project/data-source-identification/issues/105
Refactors Muckrock Scraper, getting rid of redundant code, modularizing, and otherwise doing quality of life improvements.

Closing this as I'm working it into #122 !


Youtube embedded videos are very small

Youtube videos are rendering very small on the desktop app:

I tried fiddling with settings, but could not find anything to change that. And if I recall right, this was not happening a few days ago.

This has been fixed and will be in 5.0.3.


pretty printing

Fixes #99, among other things

Codecov Report

Merging #101 (036680f) into main (78bc79e) will decrease coverage by 4.86%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
- Coverage   85.61%   80.75%   -4.87%
==========================================
  Files          12       12
  Lines         299      317      +18
==========================================
  Hits          256      256
- Misses         43       61      +18

Impacted Files
Coverage Δ

src/atoms/atomgraph.jl
74.19% <0.00%> (ø)

src/featurizations/graphnodefeaturization.jl
75.00% <0.00%> (-15.70%)
:arrow_down:

src/featurizedatoms.jl
33.33% <0.00%> (-50.01%)
:arrow_down:

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 78bc79e...036680f. Read the comment docs.


Declaring a GalaxyCluster cannot deal with an extended source inside another extended

With no intersection of the lines.
This seems unlikely (but not impossible) to come about naturally, but I discovered it because of my modification of an existing ObsID specific region that made it so that one copy of it was the original size and one was much larger.

An extended source entirely within another extended source should be superseded by the larger one.
Should be easy enough to check - look for two extended matches and no intersection between the regions boundaries.


[Bug] Cannot read property 'pathPrefix' of undefined

What happened?
Running a fresh install of the latest (1.1.0) results in the following error:
Cannot read property 'pathPrefix' of undefined
Steps To Reproduce

Clean install of shopware-pwa using npx @shopware-pwa/cli init
Clean install of Shopware production template v<IP_ADDRESS> => shopware/production
fetch domains npx @shopware-pwa/cli domains => domains.json is created and set correctly
Run npm run dev or yarn dev
Open in browser, open console and the error appears

Is there an existing issue for this?

[X] I have searched the existing issues

Version
Latest stable (generated by CLI)
Which element is affected?
nuxt-module
Environment
- OS: macOs
- Node: 14
- Shopware API: <IP_ADDRESS>
- Shopware PWA version: 1.1.0 (assuming we're talking about `@shopware-pwa/nuxt-module`)

Relevant log output
No response

@mkucmus I've created a pr as well to have this fixed

I'm not sure why some of the checks are failing btw?

I'm not sure why some of the checks are failing btw?

Don't worry, the publishing step is failing due to not having credentials for our docker registry :) the previous steps are fine - it's enough here. We need to do some additional checks manually in this case 👍🏻

I'm getting the same error (Also on macOS using node 14).

@manuelschroederdev you can edit domain.js as created in the pr yourself if you want to continue dev-ing for now

@mmeester Perfect, thanks a lot for the quick fix and pr!


Release Google.Shopping.Merchant.Notifications.V1Beta version 1.0.0-beta01

Changes in this release:
Initial release.

Created release for Google.Shopping.Merchant.Notifications.V1Beta-1.0.0-beta01


Test Perl before Turing when running heuristics

I'm rewriting the Perl 5 grammar from scratch, and I noticed one of the test-files was being misclassified as Turing. The file in question contains numerous blocks of code from other languages in order to stress-test embedded highlighting. So the Turing heuristic probably matched a line of foreign code by mistake.
Perl supports here-docs, embedded documentation, and virtually every text-processing trick known to man. The odds of Turing's heuristic testing positive against embedded content is pretty high, so we simply test Turing last. Turing is pretty vanilla in terms of syntax, so there's nothing lto worry about. =)
Before:
λ language-perl5 (master): $LING/bin/linguist t/6.2.pod.embeds.t
6.2.pod.embeds.t: 128 lines (84 sloc)
  type:      Text
  mime type: application/x-troff
  language:  Turing

After:
λ language-perl5 (master): $LING/bin/linguist t/6.2.pod.embeds.t
6.2.pod.embeds.t: 128 lines (84 sloc)
  type:      Text
  mime type: application/x-troff
  language:  Perl

I just noticed that a problem could happen here, similar to #3860. Since Perl 5 may contain module or class, a documented or Moose-style Perl 5 .t has a high risk of being considered Perl 6.
Can I suggest the order to be changed to Perl, Perl 6, Touring instead?
After searching heuristics.rb for other similar cases, I notice the only other related test is already in the correct order (Perl 6 last):
https://github.com/github/linguist/blob/21babbceb1532793695ee903d7e5e4ec7c98ba39/lib/linguist/heuristics.rb#L350-L358

Thanks @Alhadis, now I think we've got the Perl 5/6 thing fully dealt with. Hopefully 😄

This might be worth adding a unit test for. @tessarin, you seem to know much more about Moose-related stuff in Perl (I've never ventured that far out). If you could find me a nasty case of Perl 5/6 ambiguity that this PR's (hopefully) solved, I'll add it and include it with our regression tests. =)

you seem to know much more about Moose-related stuff in Perl (I've never ventured that far out)

I highly doubt that...I'm just a musician

I forgot that Perl 6 runs in strict mode by default, whereas Perl 5 has to opt in with the use strict pragma

Yes, and yes for code using use strict is likely never going to be Perl 6. However it is important to remember this is not the only way to enable strict. Version 5.12 made strict automatically enabled when you use the version (delta ref. here) and some modules such as Moose itself do enable strict by default.
Regarding Moose, it's not very complicated to understand —it's just a module designed to facilitate the OO features. And I'd say Moose alone may not cause problems with the current regex used in disambiguation. The problem begins with its extensions such as MooseX::Declare. It enables the class keyword just like in Perl 6. It's all obviously inspired by it, so the ambiguity is natural. The module is considered deprecated in recent versions of Perl because of the easier internals to support a new keyword. There is the more recent Moops following the same idea. These modules allow code like this:
use 5.027;
use Moops;
class MyClass { }

This is Perl 5 and would match as 6 due to the /^class/ regex, had the order of tests not been swapped.
Disambiguating this all can be complicated. On top of that there is the whole POD thing. Virtually any file can contain POD with for example the words class or module at the beginning of a line (that's how I found this bug by the way, explaining about "this↩module" in my POD).
Also, in my example above the first line is technically not necessary and if left out it would still be Perl 5, although very hard to distinguish unless Linguist starts parsing used modules. My conclusions:

If it has ^use\s+v?5 it's Perl 5
Similarly, v6 for Perl 6
If it has use strict very likely to be Perl 5
If it has ^class depends on the presence of MooseX::Declare, Moops, or others that may exist.

Searching GitHub for language:"Perl 6" moosex declare returns currently ~3k mismatched Perl 5 files, for instance.
Now, bringing this to the real world and closer to what generally may happen, the test swap should solve cases like my example above. Dealing with POD and these modules would require a different strategy.
I have a question about Linguist internals: if the heuristics test fails to disambiguate, how is the final decision made? If you check for example briandfoy/cpan-packagedetails all of the files considered Perl 6 are .t Perl 5 code. And if I understood the v6 regex properly, it should not match there.
https://github.com/github/linguist/blob/1f5ed3b3fe7c8f0ef377ca2e6b6dee8b321dda8b/lib/linguist/heuristics.rb#L464-L465
I'm sorry that I keep expanding on this subject...

I'm sorry that I keep expanding on this subject...

Well, you're helping to elevate my Perl knowledge past the level of "seasoned apprentice". ;-) The more Perl I learn, the more I love it and realise just how much there is to learn in this language.

On top of that there is the whole POD thing

Right, yeah. Well, we could always rip out the Pod blocks with a regex or three, but as I learned recently, it's more complicated than a s/^=.+^=cut//gms:
=pod

Text, text text
=cut

Yet more pod text

=cut

And, of course, let's not forget embedded code samples:
=begin roff
=cut Ignored because =begin requires a blank line before its content.

.TH ATOM-ROFF 1
.  de XS \\n(.X \" etc
.
Yes, that’s a fantastic example to describe the problems of parsing such grammar with regex!
By the way, since you’re working on the grammar, here goes something for your leisure:
https://github.com/Perl/perl5/blob/blead/perly.y

@Alhadis do you plan to address https://github.com/github/linguist/issues/3906 as part of this PR? Just checking before rubber stamping this.

Aye, I do! :-) I'll come back to this soon-ish; just trying to tie up loose ends here.

@lildude Alrighty, taken care of. Have done the smart thing by using variables. ;)
/cc @zoffixznet


XSD as a string

It would be awesome if there would be an option for validating against XSD stored in a string. For now I have to store my XSD in temporary text file 😕

A pull request that contributes this is welcome!


Plot a graph or chart / interactive code

Currently there's no way to create visualizations
Expected: A sandbox to play with
(Can we do something like Wolfram Alpha?)
Question: How does something like datacamp/code academy do data visualization?

I agree we need this, but was this inspired by the board discussion? Because I interpreted them as saying "add more pictures to the content".


Improve capvcd manager logs

capvcd manager prints everything to logs. We should improve it.

check if there are log levels, set them appropriate or introduce them if not existing

What is this issue? How would we improve logging? Upstream PR?

⬆cc @erkanerol @jkremser

The logs are not readable easily. It prints almost everything while provisioning machines. There is no proper log levels.
The change will be in upstream side at first. We can add this into next CAPVCD meeting topics.

I don't think we'll have the bandwidth for this and we can live with the logs in the current state.


[RESTEASY-2874] Web Target Proxy not overriding content type header

https://issues.redhat.com/browse/RESTEASY-2874

@ronsigal @jamezp this looks good. Can it be merged?

Thank you for the contribution. We are cleaning up older PR's that seem to be stale. If you feel this is still an issue please feel free to re-open.

@crankydillo Let me think about this. That example seems explicit to me that the user would want to set the Content-Type header. However, the entity value should win IMO. It does seem like we should file an issue for this.

I went ahead and wrote it up here, primarily so we'll have something to track.  I probably should have done that initially, but I always have to dig out my JIRA account info:P


Development

Description
merge development to master branch for code climate review.

Merging to staging then to master to check codeclimate score


cmake error: Setupcgltf.cmake

cmake .
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.19045.
-- The CXX compiler identification is MSVC 19.39.33522.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Downloading DXC from https://github.com/microsoft/DirectXShaderCompiler/releases/download/v1.8.2403/dxc_2024_03_07.zip...
-- Downloading ImGui 1.90 from https://github.com/ocornut/imgui/archive/refs/tags/v1.90.zip...
-- Downloading ImPlot 0.15 from https://github.com/epezent/implot/archive/refs/tags/v0.15.zip...
-- Downloading imnodes from https://github.com/Nelarius/imnodes/archive/d88f99125bb72cdb71b4c27ff6eb7f318d89a4c5.zip...
-- Downloading WinPixEventRuntime from https://www.nuget.org/api/v2/package/WinPixEventRuntime/1.0.231030001...
-- Downloading xxHash 0.8.1 from https://github.com/Cyan4973/xxHash/archive/refs/tags/v0.8.1.zip...
-- Downloading cgltf 1.13 from https://github.com/jkuhlmann/cgltf/archive/refs/tags/v1.13.zip...
CMake Error at CMake/Setupcgltf.cmake:20 (message):
  Setting up cgltf failed.
Call Stack (most recent call first):
  Source/ZetaCore/CMakeLists.txt:72 (Setupcgltf)

-- Configuring incomplete, errors occurred!

I can't reproduce the issue on my end. Could you try deleting the "./External/cgltf" folder and running CMake again?

After a fresh clone, this problem is no more


Do a prototype of the parity UI

I use Figma for the Prototype.

Status Page Prototype

Home Page Prototype

Closing this issue for now as we have a good frame of what we want to do for the future. We can re-open if needed.


Doby based tests manager

Doby has the potential to provide a testing framework that Make does not. Can we improve on cargo test?

doby test [directories]
# default based directory = ./tests
# file.lm  (a test)
# file.lm.config (special built/test configuration to test this file)
# file.lm.ignore (ignore this file)
# file.lm.stdout (expected stdout)
# file.lm.stderr (expected stdout)
# file.lm.exitno (expected process return code)


Enable image and pod placement configuration via values in helm chart

It is currently not possible to define:
a) custom registries for the curl image used in the namespace metadata job, hindering deployments on clusters with custom container registry requirements.
b) define pod assignments for the deployment and the job, hindering deployments on clusters that require them.
I defined values and variables to customize the aforementioned configuration
a) I added helm values for the curl image setting the default values to the current static values.
b) I added values for pod placements, leaving them empty by default, i.e. keeping the default behaviour as before.
Once merged the it should be possible to customize the curl image & set pod assignments. The default values should produce the same outcome as before.
Signed-off-by: Benjamin Vogler<EMAIL_ADDRESS>

Looking forward to the fix. Many thanks!

Sorry for not having reviewed this earlier. Most of the changes here have already been addressed elsewhere, so I'm closing this one.


co19/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/detach_A01_t03 crash

Said test causes a crash on the following configurations:
dartkp-strong-linux-release-x64
dartkp-weak-asserts-linux-release-x64
dartkp-strong-linux-debug-x64
dartkp-weak-asserts-linux-debug-x64
dartk-strong-win-release-x64
dartk-weak-asserts-win-release-x64
dartk-strong-linux-release-x64
dartk-weak-asserts-linux-release-x64
dartk-strong-linux-debug-x64
dartk-weak-asserts-linux-debug-x64

Here is an example stack trace (dartkp-strong-linux-release-x64):
Unhandled exception:
UnimplementedError: Finalizer
#0      new Finalizer (dart:core-patch/expando_patch.dart:198)
#1      finalizer (file:///b/s/w/ir/tests/co19/src/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/detach_A01_t03.dart:28)
#2      new _List.filled (dart:core-patch/array.dart)
#3      attachAndDetach (file:///b/s/w/ir/tests/co19/src/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/detach_A01_t03.dart:37)
#4      main (file:///b/s/w/ir/tests/co19/src/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/detach_A01_t03.dart:51)
#5      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297)
#6      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192)

Same behavior occurs with co19/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/detach_A01_t02.

Same behavior occurs with co19/LanguageFeatures/FinalizationRegistry/ffi/Finalizer/detach_A01_t01.

We haven't landed the implementation in the VM yet.

Does this issue need the 'March Release' milestone ?


Context update does not travel from DOM to Pixi renderer

Description
When you create a context outside of the Pixi Stage, its value does not update inside the Pixi Stage.
Steps to reproduce

Go to https://codesandbox.io/s/react-pixi-context-example-eky26

Expected
PixiComponent should render Context value: 15.
Currently
PixiComponent renders Context value: undefined.
More info
Compare PixiComponent with PixiComponentWithMiddleContext.
PixiComponentWithMiddleContext does render the context value because it has a middleware MyPixiContext inside the stage.
Without this, any component inside Stage can't access MyContext latest value and only receives the value used when it was instantiated.

Duplicate of #77


[No QA] [TS Migration] Migrate EReceiptThumbnail.js component to TypeScript

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/31956
PROPOSAL: N/A
Tests

I wasn't able to test this PR without modifying the code (it's probably possible but I didn't know how to achieve it), that's why I added the No QA label
Prequisites: Edit line 57 in ReportActionItemImage.js to look like this:
if (true) {

Log into the app
Navigate to a chat (between two accounts of your own)
Create a money request
Pay it with the other account
Go back to the account that created the request
Click on the request to navigate to see the history
Click on the request to see it's details (see screenshots)

[x] Verify that no errors appear in the JS console

Offline tests

N/A
QA Steps

N/A

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

@0xmiroslav checklist fixed!

Oh, also, please do add QA tests. I would suggest looking through the git blame to find when the feature was implemented and see how it was originally QAed. That might give you some insight into how to test it.

@JKobrynski Bump for once you are back 😄

@tgolen this is the PR that introduced this component, it also describes quite a tricky way of testing it 😅 do you think we should do the same for this one?

Thanks for finding that. I am pretty worried that we have a flow that isn't covered by any QA tests or regression tests. There would be no way for us to know whether this is working or not until we hear about it from our customers. @grgia Could you please help write up some QA tests that Applause can perform for testing e-receipts?

@tgolen
I think the best way to QA this in DEV is to test the component in the storybook build and look at the EReceiptThumbnail, EReceipt, and ReportPreview stories.
As for production QA tests that cover the EReceiptThumbnail,
We can:
1 . Create a report with 1 - 3 Expensify Card Transactions
- Note: you can do this in OldDot or NewDot. If done in OldDot, use the reportID from the URL and paste it into NewDot to access the report r/<reportID>
2. Ensure that the ReportPreview in the parent chat displays the 1-3 EReceipt Previews ✅
3. Click on the ReportPreview to open the Expense Report.
4. Ensure that each expense displays the correct MCC logo ✅
5. Click on each expense -> Opens MoneyRequest Page -> Click on EReceipt Preview -> Opens EReceipt Page
6.  Ensure that the color and MCC logo is consistent on all pages ✅

Thanks, Georgia! @JKobrynski Can you work those into the QA tests, please?

Thanks for adding the QA tests. Can you please clean them up a little?

Put the local testing steps in the "Test" section
Put the production testing steps in the "QA Steps" section

@tgolen done!

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/tgolen in version: 1.4.24-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.24-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


add new scopes

also modify doc a bit

bors r+

bors ping
hello?

bors r+
bors cancel
bors r+

interesting, the audit workflow was disabled, and needed to be reenabled manually and was not triggered again
this should fix that
bors cancel
bors r+


1.2.0-beta4

Updated version (I don't know if you have to add or correct something)

Add link for zip archive

for the 1.2.0-beta4?


Endpoint returns a 400 error but no error object

Describe the bug
The standard stipulates that if a http error code 400 is returned the body should contain an error object.
To Reproduce
Steps to reproduce the behavior:

Follow the setup instructions as per ReadME file, then Run the mock-data-holder, mock-register, mock-data-recipient as Docker container
Start at https://localhost:9001 and go through the process of "Discover Data Holders", "Get SSA", "Dynamic Client Registration", "Consent and Authorisation"
Click on the Authorisation URI, login, verify, and then get an access token
In the Postman collection run the Get Common Customer person request with the access token in the header. This will return an Http code 400 with an empty error object.

Expected behaviour
If a 400 code is returned the body should have an error object
Screenshots

Additional context
If you hit this endpoint and change the x-v version to a higher number, the result is as expected. That is a 406 is returned with an appropriate error message. If you hit that endpoint with an invalid access token, the result is as expected, ie a 401 is returned

The fix for this issue has now been merged in to the main branch. https://github.com/ConsumerDataRight/mock-data-holder/pull/37


Publish to Pub

Hello!
This package works like a charm. Can you publish it to https://pub.dartlang.org/ ?
That would be helpful for other developers out there looking for a reliable solution to connect to socket.io

Oh! I am developing apps for both iOS and Android. It would be more helpful if this works on iOS devices too.
Anyhow, its a better to publish the package mentioning current compatibility and road-map, and publish updates as you have more developments.

Okay, I'll publish the package when I'll finish the iOS version.

Awesome. Super Excited. It would help if you can share a tentative schedule for iOS version release?

I'll try to finish it in 1-2 weeks.

That's great. Thanks @AlexeySemigradsky

@AlexeySemigradsky  you could check the version that I "cloned" from the package flutter_socket_io it contains an implementation on ios and a guide might be of great help to you (or not) anyway here is the tip. ;)

@vinicioslc Yes, I already saw it. Thank you :)

@Alexy it's really awesome. It solved a major roadblock in our project development. Will be grateful if you can share the same for iOS.
Thanks for it.

@AlexeySemigradsky im busy now and dont have a Mac or time to contribute with ios comunication but i will help with Dart Interface or Android comunication in my free time  c:

Hi @AlexeySemigradsky we are excited about the iOS version of this package. When can we expect it to be available?

Is this plugin support custom path?

I dont test but i think you could do something like this.
const uri = 'http://<IP_ADDRESS>:8080/my/custom/path';
final socket = await SocketIO.createNewInstance(uri);
await socket.on(SocketIOEvent.connecting, () async {
  print('Connecting...');
});
await socket.on(SocketIOEvent.connect, () async {
  print('Connected.');

  final id = await socket.id;
  print('Client SocketID: $id');
});
await socket.on(SocketIOEvent.connectError, (error) {
  print('Error: $error');
});
await socket.on('sayHello', (greeting) {
  print('Hello, ${greeting['Hello']}');
});
await socket.connect();
await socket.emit('sayHello', [
  {'Hello': 'world!'},
]);```

@AlexeySemigradsky you could check the version that I "cloned" from the package flutter_socket_io it contains an implementation on ios and a guide might be of great help to you (or not) anyway here is the tip. ;)

i have followed those still that is not working in the ios.When i followed the above steps i got errors even  during building the app, a file not found exception.

I have taken inspiration from this repo and developed a plugin myself that works seamlessly on both Android and iOS
Here is the pub link
https://pub.dartlang.org/packages/adhara_socket_io
Thanks :)


Server node handles reconnect flex-server doesn't

I'm submitting a ...  (check one with "x")
Support/Advice

support/advice request => Please do not submit support requests here, instead use the link to our support page, please!

Feature

( ) feature request

What is the motivation / use case for changing the behavior?

Simple question to get some hint

( ) simple question => please visit the Wiki, the YouTube tutorials and the Info tab by clicking on the node inside Node-RED before
( ) help wanted => you read all information and watched relevant YouTube tutorials, but you need more help

Problem

(X) bug report => please search github for a similar issue or PR and test Modbus problems with the modbus-serial package before submitting
( ) unexpected behavior => please visit the Wiki before

Current behavior

Using an external Modbus sleve tool to connect to the server examples. At disconnect/reconnect the flex-server nodeds won't respond but the server nodes will..
Expected behavior

The flex-server should accept disconnect/reconnect
Minimal reproduction of the problem with instructions

Your Environment
Please tell us about your environment:

(X) I am using just the Node-RED package and got modbus-serial package installed with it
( ) I have installed modbus-serial package global from source (using git clone)
( ) I have installed modbus-serial as a global package (using npm i -g)

Yes, modbus-serial is the name but it does all, TCP and Serial.
The node-modbus package is just for the Modbus Server node.

Device :

( ) macOS: v
(X) Linux: Mint 19
( ) Windows: v
( ) Raspbian: v
( ) Other:

Name:
Version:

Description of the connecting Modbus system:

Name   : modpoll and others as well
Version:
Vendor :
Link   : https://www.modbusdriver.com/modpoll.html

node-red-contrib-modbus version: v5.14.0

Node: (v14.x)
node --version = v12.20.2

Hello,
I'm encountering the same problem as you, trying to use the flex server node. Did you find any way to make it works ? I was supposed to automatize a communication between sensors from sigfox and the send the datas through a modbus server to a wit redy automaton. Each time I deploy my flows, the automaton try to reconnect but can't.
If there is no way, would you have an idea on how to use modbus server node ? As there is no unit-Id, I'm not sure if it can be use in the same way than modbus flex server.
Sorry for my lame english, I'm not really familiar with it. I hope that it was still understandable.

Hi,
I ended up using a function node to include the modbus-serial NPM package directly. Then instantiate variables from the examples in the 'on start' as context, delete them (calling  close() on the server) in 'On Stop'.
It works ok, for now.
Regards Peter

should be done from PR in 5.14.1

reopen if there are more issues


How can i make a dialog

I would like to ask you how  How can i make a dialog for pwa.
I have implemented the installation of PWA from the button next to the URL in the package.
Next, I want to allow the user to decide whether to install the PWA from the dialog display. How should I proceed if I want to use the package you created to do the above?

Check the examples folder in this repo. You cannot install the pwa from js, you can only intercept browser event (when supported) to replace default behavior (right now mobile only) and fire deferred prompt to install the pwa.

https://github.com/vite-pwa/nuxt/blob/main/playground/layouts/default.vue#L35

Thank you


remove need for __init__.py files

As of python 3.3 we don't need to have __init__.py files. Pop is explicitly using these files for plugin location detection, but we should be able to figure out how to not need them.

Done


Multiple comments combined together for single client login

using the API we are noticing an issue with adding comments. We see that multiple comments are being combined into a single comment and updated into the ticket when using the same login
Reproduction steps:

Create a bugzilla object(client)
login using username and password
Call client.addBugComment(Bug number, comment) multiple times

Output:
some comments are combined and posted as a single comment.
``

Code is using bugzilla api for each comment.


fix Fix long string casting to decimalv2

Proposed changes

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Fix oslc assertion on type constructor for unknown struct

The assertion was not needed, errors issue before this code is reached.

LGTM!


decrypt data encrypted with encfs

hi there,
in the past i have sent on google drive and amazon cloud drive some data encrypted with encfs for privacy.
then i found rclone, and it was pretty convenient to mount the remote data as local.
i also tried to decrypt on the fly encfs encrypted data on a mounted path with rclone, and it works fine.
this morning reading rclone documentation i found that there is also a crypt support, so i am wondering if i am acting silly using both encfs and rclone, when maybe rclone is enough, but i can't understand what kind of encryption/decription rclone supports and if it is compatible with the the encryption i made with encfs.
can someone point me in the right direction?
thanks a lot

No, they are not compatible. How the crypt storage works is explained here: http://rclone.org/crypt/

thanks for your answer.
i don't want to use both, i agree it's overkill in general and in my case in particular: my data are not nuke launch codes, nobody gives a damn.
i just wanted to understand if i could remove the encfs step and rely only on rclone for the data already encrypted with encfs. i had already read the info at the link you gave me, but i have short experience with compression so i could not be sure if enfs and rclone use the same standards and, sadly, from your answer i understand they are not.
thanks again

They are not, so you will have to reupload the data to only use rclone crypt and not encfs.

This was answered. Closing out.


Removing * from .cf selector before zoom property

I have removed an asterisk(*) that was before zoom property in .cf class in tachyons.css and _clears.css. And Rebuild The normal and minified CSS Files.

yas, please merge this. *zoom is not valid css -- it's only there b/c of a typo in the original blog that explained the IE6 hack.


issue: 4197123: Add Pytest to the workflow of the LogAnalyzer + issue: 4197133: Add Pytest

What
Add pytest to log analyzer workflow and add some basics tests for this plugin.
Why ?
In order to test the plugin.
How ?
Pytest session was added to ufm_log_analyzer_ci_workflow.yml
unit_tesst directory was added with two simple unit tests.
Testing ?
Ensure tests passed.
Special triggers
Use the following phrases as comments to trigger different runs

bot:retest rerun Jenkins CI (to rerun GitHub CI, use "Checks" tab on PR page and rerun all jobs)
bot:upgrade run additional update tests

@drorlevy , these are only unit tests and do not test the entire flow.


[Event Request] Database::"Sales Line" - Function ValidateLineDiscountPercent - OnValidateLineDiscountPercentOnAfterUpdateAmounts

We like to request the following Event:
Object: Database::"Sales Line"
Function: ValidateLineDiscountPercent
Publisher Event: OnValidateLineDiscountPercentOnAfterUpdateAmounts
Reason: To implement custom business logic
Where is the event placed:
[Scope('OnPrem')]
procedure ValidateLineDiscountPercent(DropInvoiceDiscountAmount: Boolean)
begin
TestJobPlanningLine();
TestStatusOpen();
"Line Discount Amount" :=
Round(
Round(Quantity * "Unit Price", Currency."Amount Rounding Precision") *
"Line Discount %" / 100, Currency."Amount Rounding Precision");
if DropInvoiceDiscountAmount then begin
"Inv. Discount Amount" := 0;
"Inv. Disc. Amount to Invoice" := 0;
end;
OnValidateLineDiscountPercentOnBeforeUpdateAmounts(Rec);
UpdateAmounts();
OnValidateLineDiscountPercentOnAfterUpdateAmounts(Rec, CurrFieldNo)
end;
Event Code:
[IntegrationEvent(false, false)]
local procedure OnValidateLineDiscountPercentOnAfterUpdateAmounts(var SalesLine: Record "Sales Line"; CurrFieldNo: Integer)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Use julia-actions/cache

Also make all the files in .github/workflows start with a capital letter for consistency.

What is the benefit of using .github/workflows/register.yml by the way?

What is the benefit of using .github/workflows/register.yml by the way?

Don't know. Came with the PkgTemplates.jl. But let's keep it just until we register the package.


'rviz/franka_description.rviz' missing

franka_visualization/launch/franka_visualization.launch tries to load a franka_description/rviz/franka_description.rviz (here), but the file isn't part of the package.

Launch files in franka_example_controllers also refer to the file.

franka_description is currently a submodule in franka_ros so if you clone the latter with --recursive into your catkin workspace, the package should be found.
Just a warning, we plan to move franka_description back into franka_ros (as subfolder) because of easier maintenance on the ros binary releases.

Ah, sry.. misunderstood your comment. The rviz config was removed from the description package when extracting it from franka_ros we'll fix it. Thanks for reporting it!

Ok. Figured as much. Thanks for fixing it.


Added image dimensions to info panel

Full disclosure, I didn't see the dimensions listed in the "Other Parameters" until after I made this change. Though, this makes them easier to track when moving through images.
I added the dimensions to the bottom of the Info window next to the date. I was finding it a pain to look through and determine normal images from the Hi-Res ones. They will not show if either of the dimensions is 0 or non-existent.

the latest version now has separate iamge dimensions in the info panel. Thanks!


API URL Changed?

This plugin has been working just fine for some time.  However, both of my Neato Robots have recently vanished from the Home app.  In looking at the logs, I see what looks like an HTTP Status 404 (Resource Not Found):
[3/9/2022, 5:23:26 PM] [homebridge-neato] Launched child bridge with PID 447038
[3/9/2022, 5:23:26 PM] Registering platform 'homebridge-neato.NeatoVacuumRobot'
[3/9/2022, 5:23:26 PM] [homebridge-neato] Loaded homebridge-neato v0.7.3 child bridge successfully
[3/9/2022, 5:23:26 PM] Loaded 0 cached accessories from cachedAccessories.0E35681B3E87.
[3/9/2022, 5:23:26 PM] [homebridge-neato] Refresh is set to: auto
[3/9/2022, 5:23:27 PM] [homebridge-neato] Error getting robot meta information: Error: Request failed with status code 404: null
[3/9/2022, 5:23:27 PM] Homebridge v1.4.0 (HAP v0.10.0) (homebridge-neato) is running on port 52219.

Please advise.

I'm getting the same message


Host not responding to commands

Rancher Version:
1.1.13
Docker Version:
1.11.2
OS and where are the hosts located? (cloud, bare metal, etc):
Ubuntu 14.04, bare metal.
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Rancher HA, external DB, haproxy load balancer.
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
This happens intermittently to hosts, no way to predictably reproduce.
Hosts are marked "Active", rancher agent on host is not throwing any errors, but when I create a container directly on the host i get "Error (Scheduling failed: No candidates available" and commands don't seem to be sent to the agent (nothing is logged in agent.log). Also while it appears (in the UI) that I can shut down services, they don't actually end the docker instance on the host. The only reliable way to fix it is to remove all containers delete, purge and readd the host. This happens fairly frequently for me though, even on the same hosts.
Results:
Expected:
At the very least if rancher at lost connection to the host, the mark is a reconnecting. Ideally this shouldn't happen at all under normal operation.

Don't know if this will help, but here's the rancher-ha-cattle output:
2016-09-05 08:51:02,325 ERROR [6b951551-571f-474b-8450-ed6757966f8d:3995441] [instance:31466] [instance.start->(InstanceStart)->instance.allocate->(InstanceAllocate)] [] [cutorService-22] [c.p.a.e.i.AllocatorEventListenerImpl] No allocator handled [EventVO [id=176062c7-9bb3-4d33-b2d6-3ddddaa7b4d4, name=instance.allocate, previousNames=null, replyTo=reply.5706388647079530152, resourceId=31466, resourceType=instance, publisher=null, transitioning=null, transitioningMessage=null, transitioningInternalMessage=null, previousIds=null, data={}, time=Mon Sep 05 08:51:01 UTC 2016, listenerKey=instance.allocate, transitioningProgress=null]]
2016-09-05 08:51:02,356 ERROR [6b951551-571f-474b-8450-ed6757966f8d:3995441] [instance:31466] [instance.start->(InstanceStart)->instance.allocate] [] [utorService-167] [c.p.e.p.i.DefaultProcessInstanceImpl] Unknown exception io.cattle.platform.eventing.exception.EventExecutionException: Scheduling failed: No candidates available
	at io.cattle.platform.eventing.exception.EventExecutionException.fromEvent(EventExecutionException.java:53) ~[cattle-framework-eventing-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.eventing.impl.AbstractEventService.callSync(AbstractEventService.java:258) ~[cattle-framework-eventing-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.process.common.handler.EventBasedProcessHandler.handle(EventBasedProcessHandler.java:109) ~[cattle-iaas-logic-common-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.process.instance.InstanceAllocate.handle(InstanceAllocate.java:48) ~[cattle-iaas-logic-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runHandler(DefaultProcessInstanceImpl.java:424) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$4.execute(DefaultProcessInstanceImpl.java:375) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$4.execute(DefaultProcessInstanceImpl.java:369) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.idempotent.Idempotent.execute(Idempotent.java:42) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runHandlers(DefaultProcessInstanceImpl.java:369) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runLogic(DefaultProcessInstanceImpl.java:471) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runWithProcessLock(DefaultProcessInstanceImpl.java:305) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$2.doWithLockNoResult(DefaultProcessInstanceImpl.java:245) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:7) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:3) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.acquireLockAndRun(DefaultProcessInstanceImpl.java:242) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runDelegateLoop(DefaultProcessInstanceImpl.java:184) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.executeWithProcessInstanceLock(DefaultProcessInstanceImpl.java:157) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$1.doWithLock(DefaultProcessInstanceImpl.java:107) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$1.doWithLock(DefaultProcessInstanceImpl.java:104) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.execute(DefaultProcessInstanceImpl.java:104) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.process.common.handler.AbstractObjectProcessLogic.execute(AbstractObjectProcessLogic.java:131) [cattle-iaas-logic-common-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.process.instance.InstanceStart.allocate(InstanceStart.java:283) [cattle-iaas-logic-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.process.instance.InstanceStart.handle(InstanceStart.java:84) [cattle-iaas-logic-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runHandler(DefaultProcessInstanceImpl.java:424) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$4.execute(DefaultProcessInstanceImpl.java:375) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$4.execute(DefaultProcessInstanceImpl.java:369) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.idempotent.Idempotent.execute(Idempotent.java:42) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runHandlers(DefaultProcessInstanceImpl.java:369) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runLogic(DefaultProcessInstanceImpl.java:471) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runWithProcessLock(DefaultProcessInstanceImpl.java:305) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$2.doWithLockNoResult(DefaultProcessInstanceImpl.java:245) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:7) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:3) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.acquireLockAndRun(DefaultProcessInstanceImpl.java:242) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runDelegateLoop(DefaultProcessInstanceImpl.java:184) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.executeWithProcessInstanceLock(DefaultProcessInstanceImpl.java:157) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$1.doWithLock(DefaultProcessInstanceImpl.java:107) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$1.doWithLock(DefaultProcessInstanceImpl.java:104) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.execute(DefaultProcessInstanceImpl.java:104) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.eventing.impl.ProcessEventListenerImpl.processExecute(ProcessEventListenerImpl.java:74) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.engine.eventing.impl.ProcessEventListenerImpl.processExecute(ProcessEventListenerImpl.java:56) [cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
	at sun.reflect.GeneratedMethodAccessor416.invoke(Unknown Source) ~[na:na]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_101]
	at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_101]
	at io.cattle.platform.eventing.annotation.MethodInvokingListener$1.doWithLockNoResult(MethodInvokingListener.java:76) [cattle-framework-eventing-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:7) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:3) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37) [cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.eventing.annotation.MethodInvokingListener.onEvent(MethodInvokingListener.java:72) [cattle-framework-eventing-0.5.0-SNAPSHOT.jar:na]
	at io.cattle.platform.eventing.impl.AbstractThreadPoolingEventService$2.doRun(AbstractThreadPoolingEventService.java:135) [cattle-framework-eventing-0.5.0-SNAPSHOT.jar:na]
	at org.apache.cloudstack.managed.context.NoExceptionRunnable.runInContext(NoExceptionRunnable.java:15) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
	at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:108) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
	at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_101]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_101]
	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_101]

2016-09-05 08:51:02,358 ERROR [6b951551-571f-474b-8450-ed6757966f8d:3995441] [instance:31466] [instance.start->(InstanceStart)] [] [utorService-167] [i.c.p.process.instance.InstanceStart] Failed to Scheduling for instance [31466]

There was a mismatch in the DB between host.agent_state (which I believe is used in the UI) and agent.state (as joined by host.agent_id = agent.id), only the latter was set to 'reconnecting'. Updating the agent.state to 'active' and restarting the agent docker instance on the host seemed to bright it back. There must be some kind of deadlock whenever agent.state is 'reconnecting' and the instance of rancher agent is trying to reconnect

This happens repeatedly on our installation. Any ideas? @deniseschannon

Just to confirm, this is on hosts that are not part of the HA setup. So they aren't running rancher/server, right?
And what do you mean by "container directly on the host"? Are you using the docker CLI to launch the container or are you using the UI and selecitng "host network"

The hosts are part of the "normal" environments, not running rancher. I'm using the UI to create a container instance directly on the host through the "Intrastructure" screen.
As far as I can tell the rancher-agent running on my hosts deadlocks when agent.state is 'reconnecting', and without fail changing that column back to 'active' and running docker restart rancher-agent on the host fixes the issue. The only way to see the problem (through the UI) is to either open the host and observe the graphs not loading or starting an instance and getting the scheduling error.

Are there any containers on your host or does it happen the first time you try and add a container? Is the network agent stuck in restarting?

It happens after the host has been fully working and quite a few containers started, then at some random time (after weeks of use) it falls into the described state. There's no errors on the rancher-agent.

@lkm have you managed to overcome this issue. There were issues with the host(agent) state machine where they become inconsistent. I'd normally advise to remove the host from rancher, and re-add a new one.

@aemneina Thanks for getting back to me. No, still happens for time to time, now I just edit the database manually to fix it (as described). Removing and readding the server makes no difference.

@lkm do you remove '/var/lib/rancher' on the host before readding? that might help here.

@lkm also do you know if the ip address of the host has changed during this period?

The same problem happened to two of my hosts in two different clusters managed by the same rancher server (1.1.2). Manually reconciling the agent state in DB did it.

Can you provide the output of 'docker info' as well as docker daemon logs from the bad hosts? Rancher agent logs would be helpful as well.

@aemneina I've tried removing the '/var/lib/rancher' dir as well, it still occurred after that. Also, it's an inconvenient fix as it recreates the host in rancher and you have remove the "old" host and stop all containers running on it. That can be avoided with the db update. I'm afraid I don't have the rancher logs on hand, I will copy it next time it happens.
Surely the code shouldn't allow for inconsistencies between those two states? That is, of course, if it is a denormalized column or whether it has different meaning on agent and host?
It happened numerous times on this host:
Containers: 25
 Running: 22
 Paused: 0
 Stopped: 3
Images: 19
Server Version: 1.12.3
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 236
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null overlay host bridge
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 4.4.0-45-generic
Operating System: Ubuntu 14.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 24
Total Memory: 78.62 GiB
Name: X
ID: X
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

@lkm agreed, this PR #2099 seems to help the state machine deal with hosts stuck in reconnecting. That should be going in to 1.2.0. I'll close this out for now, if you happen to see this in 1.2.0+ we could revisit the issue.

Cheers @aemneina! Is there any indication when you expect to finalize v1.2.0?

We're expecting 1.2.0 to GA at the end of Nov/Dec.


Add support for .{get,set}Query() on both Atoms and Bonds to SWIG wrappers.

This will require exposing at least part of the Query infrastructure.

There has been no discussion or further requests for this enhancement in the past 5 years. Closing as "won't fix"

@d-b-w actually I was meaning to bring that up this meeting. I had a use case a few weeks ago where I wanted to be able to change the way a query bond was drawn and the obvious thing to do was to change the bond query properties. There didn’t seem to be a way in Python to do this in the same way you can amend atom queries.


[20.03] nixos/tools: adapt for renamed console options

Motivation for this change
Backport of  #85643
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Thanks, I could of swore this happened, but I guess it didn't.


Propose Upgrading to Mattermost v5.23.1

Hi @magicknot!
Mattermost v5.23.1 release is officially out.
You can find download links with hash numbers here. Changelog with notes on patch releases is available here.
Thanks!

Changed this to reflect a dot release,


create stacks of atlas maps subset

Question from a user:
I'm new to using QuickNII and am working to try to align some whole-brain mouse vasculature datasets that I've generated with the brain atlas.
I'm working on a small machine, so I've just extracted a small region of the vasculature to test alignment. I'm able to get the alignment prepared quite nicely, but when I go to export the images, the series that I create is exported in different resolutions. This prevents me from creating a stack of the images so that they can be overlaid with the original vasculature volume.
Can you inform me if QuickNII will allow me to export a series of the rainbow images that are all of the same resolution, such that they can be stacked in a series?
Regards,
Jacob

hi @Majpuc  the (python) link is not working. Do you have access to it?


Updates configuration for MkDocs

Sorry, bug in PhpStorm. The application selects the wrong base fork. 🤦♂


Jenkinsfile create service before deployment

Fixes #154

@googlebot I signed it!

Thank you @keisei803!


A coule of questions

Hi! Cone seems a pretty interesting language and I would like to make some questions if you don't mind.

What's the compilation speed of Cone compared to other compilers like GCC, LDC, Rust, Vox, TCC etc. I'm talking about compilation with full optimizations on.
What's the runtime performance compared to "gcc -O3"? How many times slower in the worse, average and best cases? Well maybe worse case is enough...
How would you call the future of Cone? Do you plan on supporting the project and make it into a fully industry scale language that will be used be millions or you may abandon it sooner or later?
Cone targets 3D and promotes how good it is in the 3D scene, does this mean that Cone will be weak in general tasks like Desktop apps, embedded, webapps (non-3D), AI etc.? Do you recommend against the use of Cone in everything non-3D?

Don't get my wrong, I really care about all that, it's not some random questions I made to waste your time. Of course, feel free to not answer to any of them or even to all of them and close my issue if you want. In that case, I wish you good luck with the project!

Hi rempas.  Appreciate the kind words.

The front-half of the Cone compiler is blazingly fast.  The backend is slower, being LLVM. Put together, this means Cone compiles faster than Rust, but (I am guessing) slower than Vox which has its own backend.
Runtime perf should be as fast as any systems language generated by gcc/llvm, and thus competitive with C.
Cone is more than a hobby project. I am investing towards an industrial scale language, appropriately funded and with a broad base of contributors. I cannot promise it will reach that goal, but I am in it for the long haul.
Although 3D is important to me and to Cone, Cone is a high-level, lean, safe, high performance, general-purpose programming language. It should serve well anywhere a professional programmer wants to build maintainable, perf-scalable programs. The features that make it well suited to 3d, will serve it well in less demanding environments. Its biggest "weakness" is the unfamiliar sophistication of its reference types, which may well cause heartache for people looking for a dynamically-typed or easy-to-learn language.

That's awesome!!! I first found Vox and tried to play with it but I wasn't able to enjoy it and stay around as a lot of features I'm missing and there is no library and also we cannot generate object files and use the existing C libraries, only system calls. So yeah I have to re-implement the wheel. Just learned Cone from a comment the maintainer did about memory management and how Cone does it. I want to ask another thing, does Cone have a standard runtime or I should use C libraries?

Cone has no substantive runtime at this time, and just leverages C runtime. Cone does support the use of extern to enable the use of C libraries, so you can define and then link in whatever you want.
I prefer Python-style for readability, but if you prefer to use semi-colons and curly brackets, it supports them as well.

I prefer Python-style for readability, but if you prefer to use semi-colons and curly brackets, it supports them as well.

Oh, I don't mean that I prefer semi-colons and curly brackets. I just said that while I don't like Python-like syntax, I don't like ANY syntax so at least Pyton-like is faster to type. Thanks a lot for you time!


Added Fido Machine Learning Library

Adds Fido, a C++ machine learning and reinforcement learning library for embedded electronics and robotics, to the machine learning category. Github: https://github.com/FidoProject/Fido. Website: http://fidoproject.github.io/.
I am a maintainer of the library and would be happy to answer any questions.

The patch should specify the license: [MIT] at the end of the line, similar to other entries.

@jpetso. Added.

@fffaraz. What do you think?

@jpetso @fffaraz We now have ~230 stars

Well, I like it, but @fffaraz is the curator :)


ButtonRectangle scroll glitch

when i touch the button and scroll it leave glitch that won't go if you don't click on the button
image : http://imgur.com/sZHShFP

Hi, in the last version of the library, that bug is fixed

thanks


Question: 3070?

Sorry if this has been asked before, but when will support for the 3070 come? Will it be before the launch so I can actually get one when it comes out? If not, then I don't know how I'm gonna get one, the 3070 will probably be the worst of the 3 because it's the cheapest and half the people who couldn't get a 3080 will probably be going for it. Again, sorry if this has been asked before.

#43

@chronicsynergy #43


hand update role.yaml

Couldn't figure out how to get controller-gen to do this for me so I did it by hand.

Needed for operator.


OpenID Connect support

Open ID 2.0 is deprecated for google single-sign on, and support will be shut-down in april.
They recommand to use Open ID connect 1.0
http://openid.net/connect/
Are there any plan to move to OpenID connect ?

See https://github.com/boylesoftware/tomcat8-oidcauth.


feat: typed errors for templates use cases

Typed errors when dealing with both embedded and external template repositories.

I like the typed errors. That's a nice addition. I want to make sure we're in agreement on a repository/package namespacing.

Sounds good.  Our agreed-upon solution is in #384


Plugin config validation service

Add a validation service that we call to validate plugin config
Chainlink PR: https://github.com/smartcontractkit/chainlink/pull/12430

@krehermann The reason for starting the plugin twice and doing it like this instead of a one-time start is that job validation and job starts are done in different places (before job creation, when starting job services), the goal of this validation is to:
a) do static checks like does the binary exists, and if the known configuration required to start the plugin is present and valid(OCR version, provider, etc), these are done before the binary is started
b) plugin-specific config, for example, a plugin could require multiple pipeline specs or any arbitrary, plugin-specific configuration. The core node does not know about these requirements so the solution is to start the binary and let it validate that the config is valid and all requirements are met.
Doing this inside the validation method has the benefit of not creating a job, if we did it when the LOOPP is started for real then we would have to delete the job if it's impropered configuration, this is what we have right now and it's confusing, the job is created successfully but you start seeing errors in the logs and you have just created a job that will never run because it does not have the required configuration fields

@krehermann To summarise, this is more about checking if the plugin config inside the job spec is valid not necessarily about ensuring that the LOOPP will start, as you pointed out in your comment, this cannot be guaranteed as we depend on external resources

@krehermann could you expand on why starting and stopping a LOOPP and the register-unregister is bad, I don't get why it would be a problem, we free the Prometheus port when we unregister it. I can understand that it's not efficient but I don't get why it's a problem

Because you can pass validation and then fail to start. Thats not reasonable behavior.


Filter out large distances in test_linspace

Resolves #125

I suppose this is different from https://github.com/numpy/numpy/issues/18881.
This looks good. One could probably get more fine grained by allowing large start and stop as long as they are themselves close to one another (look at the ratio start/stop), but it's probably not a huge deal either way.

I suppose this is different from numpy/numpy#18881.

Ayup, this relates to https://github.com/numpy/numpy/issues/21585

This looks good. One could probably get more fine grained by allowing large start and stop as long as they are themselves close to one another (look at the ratio start/stop), but it's probably not a huge deal either way.

I think this does still generate such cases. Only the distance between start and stop is checked (after-the-fact), rather than having limits on start and stop.

Seems uncontroversial and is nice for our CI, so merging.


Please release v0.10.5

Thanks for the great product. I have been using it conveniently.
Now, why don't you release the latest version?
I would love to use the features added in this contribution.

Big +1. It's been over one year since the last release.

+1, too.


adding 'KEEP_PACKAGE_SOURCES' to hunter_config after the fact doesn't re-trigger the build

work-around is to either nuke the .hunter/ folder or manually add a dummy cmake arguments like so:
CMAKE_ARGS DUMMY=1

i'm wondering if adding some kind of ALWAYS_REBUILD keyword to hunter_config would be a good solution for this, where you can remove both KEEP_PACKAGE_SOURCES and ALWAYS_REBUILD when you're done without needing to nuke the .hunter/ in the end

Closing inactive discussion.


dynamicConfigReload should use deep copy for Object.assign()

Summary
If I use dynamicConfigReload to extend existing and nested config values (like in config.storeViews) the current config = Object.assign(config, loadedConfig) method will overwrite all nested values with the new array. It would be better to use the deep-copy util of node-config in vue-storefront/core/scripts/server.js:215 to prevent this and make it more powerful.
Motivation
In my case I added kind of a new level of config file order like local-{deployment}-{instance}-storeview-de.EXT to exclude store-view specific configs like Facebook-Id for each store view into a own JSON file. This is necessary in our case to make the config files more readable in the future when more and more values on store-view base will appear.
Guide-level explanation
I just replaced the line in vue-storefront/core/scripts/server.js:215 like and it instantly worked without problems:
config = config.util.extendDeep(config, loadedConfig)

My custom configProvider
Just to explain my usecase a bit more: this is my configProvider in src/server/index.js:
module.exports.configProvider = (req) => {
  const fs = require('fs')
  const path = require('path')

  let storeViews = {}

  const configPath = path.resolve(__dirname, '../../config')
  const { NODE_APP_INSTANCE: man } = process.env

  const regex = new RegExp('local-(' + man + ')-storeview-(\\w*)\\.json', 'i')

  return new Promise((resolve, reject) => {
    try {
      fs.readdirSync(configPath).forEach(file => {
        if (regex.test(file)) {
          const [fileName, mandant, storeCode] = regex.exec(file)
          storeViews[storeCode] = require(path.resolve(configPath, fileName))
        }
      })

      resolve({ storeViews })
    } catch (error) {
      reject(error)
    }
  })
}

I opened a PR with my proposal: https://github.com/DivanteLtd/vue-storefront/pull/3373

Hi Christian! Thanks, interesting case and thanks for the time spent on explaining it; you’ve convicted me :)


failed to compile mini_racer_extension.cc on CentOS 6.10 without errors

I had tried to install mini_racer on my CentOS 6.10 server but it has failed without any error output(or of what I seen).
It does output some warnings but I didn't see any error on the mini_racer side. Any instructions and help to find out what is causing the installation to fail is welcome.
$ gem install mini_racer -v '0.2.6' --source 'https://rubygems.org/'
Fetching: libv8-7.3.492.27.1-x86_64-linux.gem (100%)
Successfully installed libv8-7.3.492.27.1-x86_64-linux
Building native extensions.  This could take a while...
ERROR:  Error installing mini_racer:
	ERROR: Failed to build gem native extension.

    current directory: /home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/mini_racer-0.2.6/ext/mini_racer_extension
/home/myserver/.rbenv/versions/2.4.5/bin/ruby -r ./siteconf20190708-14928-1x1ox1.rb extconf.rb
checking for -lpthread... yes
SETTING CXX
creating Makefile

current directory: /home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/mini_racer-0.2.6/ext/mini_racer_extension
make "DESTDIR=" clean

current directory: /home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/mini_racer-0.2.6/ext/mini_racer_extension
make "DESTDIR="
compiling mini_racer_extension.cc
cc1plus: warning: command line option '-Wimplicit-int' is valid for C/ObjC but not for C++ [enabled by default]
In file included from mini_racer_extension.cc:5:0:
/home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1-x86_64-linux/vendor/v8/include/v8.h:2681:5: error: looser throw specifier for 'virtual v8::String::ExternalStringResource::~ExternalStringResource()'
/home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1-x86_64-linux/vendor/v8/include/v8.h:2616:13: error:   overriding 'virtual v8::String::ExternalStringResourceBase::~ExternalStringResourceBase() noexcept (true)'
/home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1-x86_64-linux/vendor/v8/include/v8.h:2714:5: error: looser throw specifier for 'virtual v8::String::ExternalOneByteStringResource::~ExternalOneByteStringResource()'
/home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1-x86_64-linux/vendor/v8/include/v8.h:2616:13: error:   overriding 'virtual v8::String::ExternalStringResourceBase::~ExternalStringResourceBase() noexcept (true)'
In file included from /home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1-x86_64-linux/vendor/v8/include/libplatform/libplatform.h:9:0,
                 from mini_racer_extension.cc:7:
/home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1-x86_64-linux/vendor/v8/include/libplatform/v8-tracing.h:240:3: error: looser throw specifier for 'virtual v8::platform::tracing::TracingController::~TracingController()'
In file included from /home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1-x86_64-linux/vendor/v8/include/libplatform/v8-tracing.h:14:0,
                 from /home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1-x86_64-linux/vendor/v8/include/libplatform/libplatform.h:9,
                 from mini_racer_extension.cc:7:
/home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/libv8-7.3.492.27.1-x86_64-linux/vendor/v8/include/v8-platform.h:124:11: error:   overriding 'virtual v8::TracingController::~TracingController() noexcept (true)'
cc1plus: warning: unrecognized command line option "-Wno-self-assign" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-constant-logical-operand" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-parentheses-equality" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
make: *** [mini_racer_extension.o] Error 1

make failed, exit code 2

Gem files will remain installed in /home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/mini_racer-0.2.6 for inspection.
Results logged to /home/myserver/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/extensions/x86_64-linux/2.4.0-static/mini_racer-0.2.6/gem_make.out

From the README:

Note using v8.h and compiling MiniRacer requires a C++11 standard compiler, more specifically clang 3.5 (or later) or gcc 4.8 (or later).

Does CentOS 6.10 offer such a compiler?

From the README:

Note using v8.h and compiling MiniRacer requires a C++11 standard compiler, more specifically clang 3.5 (or later) or gcc 4.8 (or later).

Does CentOS 6.10 offer such a compiler?

Maybe not but I have compiled and installed gcc 7.3.0 on the server manually and tried to compiling MiniRacer again but it also shows the same errors.
Guess it doesn't use the newer version even if we have it manually compiled and installed. Or maybe there is a need to specify the version to use which I'm not aware of.
I ended up moving my deploy server to a new server running CentOS 7. Problem solved for my side.

you probably needed to pass a CXX environment variable with the name of the new compiler as by default the compiler used to compile Ruby is used... no matter glad to hear you solved your issue


[22.11] dotnet-sdk_6: 6.0.406 -> 6.0.410, dotnet-sdk_7: 7.0.201 -> 7.0.304

Description of changes
Quasi-backport of https://github.com/NixOS/nixpkgs/pull/237602.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.


Calculating Distance 3D for new setup

@tyle8552 update this sample for the new build, works on beta-2 but not the build the new setup is set to.
Original PR: https://github.com/Esri/arcgis-runtime-samples-java/pull/74

@john0005 Is this ready for review with the new structure?

Yea, one problem that I have come across is that you need to pan or zoom for the graphics to move.


Homebridge error log

LG Air Conditioner Model
A/C Model : FQ18VAWWAN
Homekit model : PAC_910604_WW
Describe the bug
Symptom check

Does your unit appear in the Home app? Yes
Is the current on/off state, temperature, and mode being reported? Yes
Does your unit respond to the controls? Yes

Relevant logs
[LgThinqAirConditioner] Unsupported model: PAC_910604_WW. Please open a GitHub issue at https://github.com/sman591/homebridge-lg-thinq-ac/issues to request support for your model. Falling back to default "POT_056905_WW" model instead.
[LgThinqAirConditioner] SwingModeCharacteristic: Error parsing state Error: Unsupported API value: undefined
[LgThinqAirConditioner] SwingModeCharacteristic: Error parsing state Error: Unsupported API value: undefined

snapshot: {
'airState.quality.PM1': 0,
'airState.quality.PM2': 0,
'airState.lightingState.signal': 1,
'airState.reservation.targetTimeToStart': 0,
'airState.opMode': 0,
'airState.voice.feedbackSound': 0,
'airState.tempState.target': 26,
'airState.smartCare.status': 0,
'airState.quality.PM10': 0,
'airState.lightingState.magicBrightness': 3,
'airState.quality.odor': 0,
'airState.voice.sensitivity': 0,
'airState.windStrength': 4,
static: [Object],
'airState.wDir.right': 0,
'airState.wMode.flowForest': 0,
'airState.operation': 1,
'airState.miscFuncState.autoDry': 1,
'airState.filterMngStates.useTime': 635,
'airState.wMode.jet': 0,
'airState.wMode.smartCare': 0,
'airState.energy.onCurrent': 357,
'airState.wDir.left': 0,
'airState.humidity.current': 60,
'airState.aroma.color': 0,
'airState.reservation.sleepTime': 0,
'airState.wMode.flowShower': 0,
'airState.filterMngStates.maxTime': 720,
'airState.voice.recog': 0,
'airState.quality.sensorMon': 0,
'airState.wMode.humanCare': 0,
'airState.powerSave.basic': 0,
meta: [Object],
online: true,
timestamp:<PHONE_NUMBER>456,
'airState.energy.accumulated': 0,
'airState.lightingState.magicColor': 0,
'airState.aroma.sound': 0,
'airState.quality.overall': 0,
'airState.wDir.leftRight': 0,
'airState.voice.volume': 0,
'airState.wMode.airClean': 0,
'airState.tempState.current': 26,
'airState.wMode.iceValley': 0,
'airState.voice.QVoiceOption': 0,
'airState.wMode.flowLongPower': 0,
'airState.energy.accumulatedTime': 0,
'airState.reservation.targetTimeToStop': 0,
'airState.miscFuncState.watertankLight': 0,
'airState.aroma.state': 0,
'airState.lightingState.displayControl': 1,
mid: 122061027,
'airState.diagCode': 0,
'airState.wDir.upDown': 0
},
[6/27/2020, 4:56:07 PM] [LgThinqAirConditioner] ActiveCharacteristic: handleUpdatedSnapshot 1
[6/27/2020, 4:56:07 PM] [LgThinqAirConditioner] SwingModeCharacteristic: handleUpdatedSnapshot undefined
[6/27/2020, 4:56:07 PM] [LgThinqAirConditioner] SwingModeCharacteristic: Error parsing state Error: Unsupported API value: undefined
[6/27/2020, 4:56:07 PM] [LgThinqAirConditioner] RotationSpeedCharacteristic: handleUpdatedSnapshot 2
[6/27/2020, 4:56:07 PM] [LgThinqAirConditioner] CoolingThresholdCharacteristic: handleUpdatedSnapshot 26
[6/27/2020, 4:56:07 PM] [LgThinqAirConditioner] HeatingThresholdCharacteristic: Target state is not "heat", ignoring snapshot update
this model not have Swing, Heat

Select Heating in Homekit -> drying in ThinQ


webpack4.28.1 css modules not work

{
test: /.css$/,
use: [{
loader: 'style-loader'
}, {
loader: 'css-loader',
options: {
modules: true,
}
}]
}

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please either update the issue with the template and reopen, or open a new issue.


Make insert_before reference node optional

Fixes #77

It seems this PR will help me to simplify VDom here: https://github.com/DenisKolodin/yew/blob/master/src/virtual_dom/vtext.rs#L84

@DenisKolodin Yup, but there's an alternative proposal: https://github.com/koute/stdweb/issues/77#issuecomment-357535191
We haven't decided yet which proposal we want to do.

@Pauan I expect it will work like Node.insertBefore():

The Node.insertBefore() method inserts a node before the reference node as a child of a specified parent node. If the reference node is null, the specified node is added to the end of the list of children of the specified parent node.

Other alternatives are suitable too. I need a method to insert a node before another or append it to the tail.

@DenisKolodin Yes, we know this is a pain point, we just haven't decided on which alternative to use for the Rust API.

Closing - no activity


1.13-pre3

Why don't you merge this pull request @MylesIsCool ? :D

Looking into some further changes to make this much cleaner

Ty for all the work here, really clean <3