Huge delay(~15 mts) observed in controller in removing replicas in "ERR" and adding the new replica.

Rancher Server version - Build from master
Longhorn image - cjellick/longhorn:dev-147d83f
Steps to reproduce the problem:
Start a VM with ROOT and DATA disk (10 gb) using longhorn.
Used the following command to write ~7gb data to data disk:
dd if=/dev/zero of=f_test-266633 count=14000000 bs=512
When write is still in progress , kill one of the replica processes.
This resulted in the existing replica containers (and sidekicks) being deleted and recreated.
In controller (longhorn ls) , continued to report the destroyed replica in "ERR" state for almost 15 mts.
After that I see it getting deleted and the new replica that was added being added in "WO" mode to the controller.
5/23/2016 5:02:27 PMtime="2016-05-24T00:02:27Z" level=info msg="Using replica tcp://<IP_ADDRESS>:9502 as the target for rebuild "
5/23/2016 5:02:27 PMtime="2016-05-24T00:02:27Z" level=fatal msg="Error running add replica command: Post http://<IP_ADDRESS>:9504/v1/processes: dial tcp <IP_ADDRESS>:9504: getsockopt: connection refused"
5/23/2016 5:02:27 PMtime="2016-05-24T00:02:27Z" level=warning msg="longhorn add cli returned error exit status 1 while adding replica tcp://<IP_ADDRESS>:9502. Attempting to clean up."
5/23/2016 5:02:27 PMtime="2016-05-24T00:02:27Z" level=info msg="Removing replica tcp://<IP_ADDRESS>:9502 after having failed to add it. Add failure: exit status 1"
5/23/2016 5:02:27 PMtime="2016-05-24T00:02:27Z" level=error msg="Failed to sync replicas: Error adding replica tcp://<IP_ADDRESS>:9502: Error executing add command &{/usr/bin/longhorn [longhorn add tcp://<IP_ADDRESS>:9502] []  <nil> 0xc820028010 0xc820028018 [] <nil> 0xc820180840 exit status 1 <nil> true [0xc820028038 0xc820028010 0xc820028018] [0xc820028038] [] [] 0xc82005f680}: exit status 1"
5/23/2016 5:02:32 PMtime="2016-05-24T00:02:32Z" level=debug msg="Syncing replicas."
5/23/2016 5:02:32 PMtime="2016-05-24T00:02:32Z" level=info msg="Adding replica tcp://<IP_ADDRESS>:9502 because it isn't in controller."
5/23/2016 5:02:32 PMtime="2016-05-24T00:02:32Z" level=info msg="Calling longhorn add cli for replica tcp://<IP_ADDRESS>:9502."
5/23/2016 5:02:32 PMtime="2016-05-24T00:02:32Z" level=info msg="Adding replica tcp://<IP_ADDRESS>:9502 in WO mode"
5/23/2016 5:02:32 PMtime="2016-05-24T00:02:32Z" level=info msg="Using replica tcp://<IP_ADDRESS>:9502 as the source for rebuild "
5/23/2016 5:02:32 PMtime="2016-05-24T00:02:32Z" level=info msg="Using replica tcp://<IP_ADDRESS>:9502 as the target for rebuild "
5/23/2016 5:02:32 PMtime="2016-05-24T00:02:32Z" level=info msg="Synchronizing volume-snap-7ccc8a2b-10f8-4917-ad7b-e87f5cf9f7d0.img to volume-snap-7ccc8a2b-10f8-4917-ad7b-e87f5cf9f7d0.img@<IP_ADDRESS>:9700"
5/23/2016 5:02:52 PMtime="2016-05-24T00:02:52Z" level=info msg="Done synchronizing volume-snap-7ccc8a2b-10f8-4917-ad7b-e87f5cf9f7d0.img to volume-snap-7ccc8a2b-10f8-4917-ad7b-e87f5cf9f7d0.img@<IP_ADDRESS>:9700"
5/23/2016 5:02:52 PMtime="2016-05-24T00:02:52Z" level=info msg="Synchronizing volume-snap-7ccc8a2b-10f8-4917-ad7b-e87f5cf9f7d0.img.meta to volume-snap-7ccc8a2b-10f8-4917-ad7b-e87f5cf9f7d0.img.meta@<IP_ADDRESS>:9701"
5/23/2016 5:02:52 PMtime="2016-05-24T00:02:52Z" level=info msg="Done synchronizing volume-snap-7ccc8a2b-10f8-4917-ad7b-e87f5cf9f7d0.img.meta to volume-snap-7ccc8a2b-10f8-4917-ad7b-e87f5cf9f7d0.img.meta@<IP_ADDRESS>:9701"
5/23/2016 5:02:52 PMtime="2016-05-24T00:02:52Z" level=info msg="Synchronizing volume-snap-697c1d86-6c43-44e7-849f-ae75ff1e95b2.img to volume-snap-697c1d86-6c43-44e7-849f-ae75ff1e95b2.img@<IP_ADDRESS>:9702"
5/23/2016 5:18:23 PMtime="2016-05-24T00:18:23Z" level=info msg="Failed synchronizing volume-snap-697c1d86-6c43-44e7-849f-ae75ff1e95b2.img to volume-snap-697c1d86-6c43-44e7-849f-ae75ff1e95b2.img@<IP_ADDRESS>:9702: ExitCode: 1"
5/23/2016 5:18:23 PMtime="2016-05-24T00:18:23Z" level=fatal msg="Error running add replica command: ExitCode: 1"
5/23/2016 5:18:23 PMtime="2016-05-24T00:18:23Z" level=warning msg="longhorn add cli returned error exit status 1 while adding replica tcp://<IP_ADDRESS>:9502. Attempting to clean up."
5/23/2016 5:18:23 PMtime="2016-05-24T00:18:23Z" level=info msg="Removing replica tcp://<IP_ADDRESS>:9502 after having failed to add it. Add failure: exit status 1"
5/23/2016 5:18:26 PMtime="2016-05-24T00:18:26Z" level=error msg="Failed to sync replicas: Error adding replica tcp://<IP_ADDRESS>:9502: Error executing add command &{/usr/bin/longhorn [longhorn add tcp://<IP_ADDRESS>:9502] []  <nil> 0xc820028010 0xc820028018 [] <nil> 0xc820457540 exit status 1 <nil> true [0xc820132010 0xc820028010 0xc820028018] [0xc820132010] [] [] 0xc82027ccc0}: exit status 1"
5/23/2016 5:18:31 PMtime="2016-05-24T00:18:31Z" level=debug msg="Syncing replicas."
5/23/2016 5:18:31 PMtime="2016-05-24T00:18:31Z" level=info msg="Adding replica tcp://<IP_ADDRESS>:9502 because it isn't in controller."
5/23/2016 5:18:31 PMtime="2016-05-24T00:18:31Z" level=debug msg="POST http://<IP_ADDRESS>:9502/v1/replicas/1?action=create"
5/23/2016 5:18:31 PMtime="2016-05-24T00:18:31Z" level=info msg="Calling longhorn add cli for replica tcp://<IP_ADDRESS>:9502."
5/23/2016 5:18:31 PMtime="2016-05-24T00:18:31Z" level=info msg="Adding replica tcp://<IP_ADDRESS>:9502 in WO mode"
5/23/2016 5:18:31 PMtime="2016-05-24T00:18:31Z" level=info msg="Using replica tcp://<IP_ADDRESS>:9502 as the source for rebuild "
5/23/2016 5:18:31 PMtime="2016-05-24T00:18:31Z" level=info msg="Using replica tcp://<IP_ADDRESS>:9502 as the target for rebuild "
5/23/2016 5:18:31 PMtime="2016-05-24T00:18:31Z" level=info msg="Synchronizing volume-snap-8bfcfcf4-94f8-4a93-8e3b-e3f86fcf9d00.img to volume-snap-8bfcfcf4-94f8-4a93-8e3b-e3f86fcf9d00.img@<IP_ADDRESS>:9700"
5/23/2016 5:18:43 PMtime="2016-05-24T00:18:43Z" level=info msg="Done synchronizing volume-snap-8bfcfcf4-94f8-4a93-8e3b-e3f86fcf9d00.img to volume-snap-8bfcfcf4-94f8-4a93-8e3b-e3f86fcf9d00.img@<IP_ADDRESS>:9700"
5/23/2016 5:18:43 PMtime="2016-05-24T00:18:43Z" level=info msg="Synchronizing volume-snap-8bfcfcf4-94f8-4a93-8e3b-e3f86fcf9d00.img.meta to volume-snap-8bfcfcf4-94f8-4a93-8e3b-e3f86fcf9d00.img.meta@<IP_ADDRESS>:9701"
5/23/2016 5:18:44 PMtime="2016-05-24T00:18:44Z" level=info msg="Done synchronizing volume-snap-8bfcfcf4-94f8-4a93-8e3b-e3f86fcf9d00.img.meta to volume-snap-8bfcfcf4-94f8-4a93-8e3b-e3f86fcf9d00.img.meta@<IP_ADDRESS>:9701"
5/23/2016 5:18:44 PMtime="2016-05-24T00:18:44Z" level=info msg="Synchronizing volume-snap-7ccc8a2b-10f8-4917-ad7b-e87f5cf9f7d0.img to volume-snap-7ccc8a2b-10f8-4917-ad7b-e87f5cf9f7d0.img@<IP_ADDRESS>:9702"

@sangeethah I wonder if there was more in the log prior to the first line?
And what was the address of the replica you killed?
From what I see it looks like no attempt was made to remove the replica you killed. Does that make sense?

@kp6 From what I remember , the replica reported in "ERR" state is the replica I killed.

@cjellick

it looks like the control plane never asked the controller to remove the replica in the error state
I wonder what could be the reason for the control plane to not try the removal first?
or the recovery protocol does not always start with the removal?
do you think this is related to #147?


libgomp.so.1 error

Can not import library lightgbm.
Investigative information
Please provide the following:

Timestamp:2019-08-12T06:42:41.172606204Z
Function App name: http://predictcrimeinboston.azurewebsites.net
Function name(s) (as appropriate): hello_world
Core Tools version:

Repro steps
Provide the steps required to reproduce the problem:
Run the app

Expected behavior
The app should run

Actual behavior
It doesn't run.

Known workarounds
No

Related information
requirements.txt:
numpy
pandas
pymongo[srv]
requests
scikit-learn
bs4
holidays
lightgbm

@ahmelsayed, looks to be another case we are missing some system dependencies. libgomp1 in this case.

Yes, looks like it.
It would help to have a code repro of the issue.

If this is a case of libgomp1, this is same as https://github.com/Azure/azure-functions-python-worker/issues/493

I have the same issue
It's as simple as importing azureml.train
automl and you'll see this in your python web app which what I see.

I confirmed that importing lightgbm( xgboost and azureml.train.automl also) is succeeded by including libgomp.so.1 into a deployment package, loading it before the importing as following in python code and deploying with --build-native.
__init__.py
import ctypes
ctypes.CDLL('/PATH/TO/libgomp.so.1')

import lightgbm
import xgboost
from azureml.train.automl import AutoMLConfig

Note:
All I confirmed are just importing those pip packages, without executing any those methods, because I'm not a python expert.

Just FYI:
In order to get native libraries (i.e. libgomp.so.1), I used my repository with some editing.
https://github.com/horihiro/azure-functions-python-opencv-example
./utils/additional_packages.txt:
libgomp1

./utils/necessary_libraries.txt:
libgomp.so.1


separate column for date

Just like location, date can be added in a separate column.

Also filtering can be added for location & date.

Just like location, date can be added in a separate column.

I had it that way at first, but then changed it to a joint name/date column to save space on mobile, that's more than 60% of traffic and the space is very limited:

Also filtering can be added for location & date.

The locations are a bit of a mess right now so I'll have to standardize it before filtering will be possible and I was planning to add filtering by year once I have conferences for multiple years (probably beginning of 2025).
I want to add both of the filters at some point, but it's not a high priority right now since there isn't all that many conferences yet!


Release testnet 54: Europa

Testnet Release
Testnet name: Europa
Release date: June 12, 2023
Testnet release manager: @redshiftzero
Testnet Release Manager Checklist
Preceding Friday (sprint planning day):

[x] Create GitHub project column, work with team to populate the milestone with tickets targeted for the release.

Tuesday (or after release of previous testnet):

[x] Construct the genesis data for the release:

[x] Create new testnet directory with initial genesis allocations for this testnet by running cd testnets && ./new-testnet.sh

This genesis data will be used for testnet-preview with a randomized version of the future testnet's chain ID.

Thursday:

[x] Check in with team again in a release meeting and update the GitHub milestone to ensure it represents what will make it into the testnet.
[x] Draft an announcement for peer review to ensure major changes included are comprehensive.

Following Monday (release day):

[x] Verify that testnet-preview.penumbra.zone is operational; it is redeployed on every push to main, and is an exact preview of what is about to be deployed.
[x] Bump the version number and push its tag, via cargo-release.

[x] Run cargo release minor for a new testnet, or cargo release patch for a bugfix. For the latter, make sure you're on a dedicated release branch.
[x] Push the commit and newly generated tag, e.g. v0.51.0, to the remote.

[x] Wait for the "Release" workflow to complete: it'll take ~90m, most of which is the macOS builds.
[x] Edit the newly created (and published) release object, then click "Generate release notes." Cut and paste the generated text from the bottom to the top of the post, then save it.
[x] You must manually review the Waiting deployment in the GitHub Action UI before the deployment will begin. Monitor the GitHub action to ensure it completes after it is approved.
[x] Delegate to the Penumbra Labs CI validators; use amounts of ~200k penumbra per validator.
[ ] Update the User Guide to mention the newly created git tag.
[ ] Update Galileo deployment, following docs.
[ ] Make GitHub release object and include the announcement
[ ] Make the announcement to Discord! 🎉🎉🎉

See comment in https://github.com/penumbra-zone/penumbra/issues/2586#issuecomment-1582858590. We decided today to move up the release of Testnet 54, so we have a working chain for folks to interact with. Rather than releasing on Monday, we'll ship what we have on main today, 2023-06-08.

Update: postponing announcement until we pull in https://github.com/penumbra-zone/penumbra/pull/2698 and tag as v0.54.1.

Since Europa was released early by @conorsch, opened #2700 to track the next regular release (55).


Chinese garbled

Terminal console, Chinese garbled problem

Please provide a screenshot or a gif illustrating the problem (attaching images won't work via email, you need to go to github.com). See this wiki page for more general info on how to report actionable terminal issues.
/label "needs more info" terminal


Added a few more events to Dialog's overlay

I make an image croper using dialog component, and I need to registrate onMouseUp event on the all visible part of the document, so overlay takes it.  That's why i decided to add a few event to overlay which allow me to complete it. It may be helpful for someone.

It makes sense! Can you also add to the documentation the new props?

Done.

Thanks!


Add an unsignedDecimal method to Laravel Schema Blueprint

… along with a unit test for it. Improves solution offered to Issue 875.

Did you test that on MySQL, PostgreSQL and SqlServer?

It will not work on PostgreSQL and SQL Server because they follow the sql standard, and there's no such thing as unsigned numerics. If you want to force non-negative values you use constraints, not data types.

Exact numeric types hold numeric values without digits after the decimal or with a firm number of digits after the decimal. All exact numeric types are signed.

Source: https://en.wikibooks.org/wiki/Structured_Query_Language/Data_Types#Exact_Numeric

Approximate numeric types hold numeric values with an implementation defined precision (after the decimal). All approximate numeric types are signed. Their primary use cases are scientific computations.

Source: https://en.wikibooks.org/wiki/Structured_Query_Language/Data_Types#Approximate_Numeric
All the data types in PostgreSQL: Documentation: 9.5: Data Types are signed,
there are no unsigned versions.
On the other hand, this PR makes sense to bring consistency to the schema builder api even if the underlying database doesn't support the result.

Did you test that on MySQL, PostgreSQL and SqlServer?

I did not test on PostgreSQL nor SqlServer, however I did test with provided additional PHPunit test and verified it passes the test and the code works against MySQL.

to bring consistency to the schema builder api even if the underlying database
doesn't support the result.

The "unsigned[NumericType]" methods are convenience wrappers. I've merely added one that seemed oddly missing.

@sisve thanks.

In MySQL 8.0.17
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-17.html
"The UNSIGNED attribute is deprecated for columns of type FLOAT, DOUBLE, and DECIMAL (and any synonyms) and support for it will be removed in a future MySQL version. Consider using a simple CHECK constraint instead for such columns."


This app is incompatible with your device

Describe the bug
When looking at my play store page it says the app is incompatible with my device. It's a Samsung Galaxy S8, which I feel should work. Model is samsung SM-G950F
To Reproduce
Steps to reproduce the behavior:

Follow the steps on the readme. deploy apk to app store. look at app store page

Expected behavior
The app to be available for my device
Screenshots

Desktop (please complete the following information):
all of them
Smartphone (please complete the following information):
Samsum Galazy S8, Android Version 9, Kernel 4.4.111
Additional context
I love this project so much <3

Would you have a link to the application on the Play Store?

Actually it says I can install it now... I had contacted Google support earlier about the app not showing up in the play store and it seems to be searchable now as well. Maybe they flipped a switch? I don't think it's an issue with the project now. Sorry!!


New term glutathione import into mitochondrion. Fixes #22352

@raymond91125 I think this is fine to merge.


SEO

meta tags
keywords
external org links ?
robots.txt
sitemap for submission to google search console on golive

@arthurHarding @neefrehman @lewis-conroy
Any suggestions for keywords etc?  I can get the basic tags added into the site header but they'll need populating
Based on the info I can get from search console on the current site volunteer seems to be a big one.
Will also help if some links to other organisations in Hull that have a good web presence can be included in the content.
Even better if we can get other organisations to put in links to ours on their sites!

Basics of SEO have been done so I'm closing this one.


pythonPackages.dufte: 0.2.9 -> 0.2.12

Motivation for this change
Bump.
Things done

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

[x] NixOS
[x] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] 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.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111354 run on x86_64-darwin 1

6 packages built:

python37Packages.dufte
python37Packages.perfplot
python38Packages.dufte
python38Packages.perfplot
python39Packages.dufte
python39Packages.perfplot

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111354 run on x86_64-darwin 1

6 packages built:

python37Packages.dufte
python37Packages.perfplot
python38Packages.dufte
python38Packages.perfplot
python39Packages.dufte
python39Packages.perfplot

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111354 run on x86_64-linux 1

5 packages built:

python37Packages.dufte
python37Packages.perfplot
python38Packages.dufte
python38Packages.perfplot
python39Packages.dufte

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 111354 run on x86_64-linux 1

5 packages built:

python37Packages.dufte
python37Packages.perfplot
python38Packages.dufte
python38Packages.perfplot
python39Packages.dufte


fixes for test_wcs

@kelle - for test_wcs the problem also seemed to be that one cannot use get_pkg_data_filenames inside a pytest.mark.parametrize decorator. With this PR, test -P wcs now passes...

Ok, so get_pkg_data_contents works inside parametrize, but not get_pkg_data_filenames? Geez. How the heck did you figure that out?
Also, I really appreciate the comments you added in test_wcs! Much more readable now that it was!

Sheer trial and error, I fear. Indeed, both work fine under python3, but get_pkg_data_filenames does not seem to work under python2 in parametrize. Bizarre.


Fails with JPG input file for VideoThumbGenerator service

These 2 additions to
src/Video/VideoThumbGenerator.php
Makes thumbgenerator silently fail with JPG as input file...
I find this library extremely useful and potentially a universal goto solution for high quality filters for BOTH image files (tested with JPG worked fine before) would be great if compatibility with jpg as input could be kept ..  Thanks a lot for a great tool..
Additions that lead to failing output of thumbnail..:
line 73 $timeParams = (new VideoConvertParams())->withSeekStart(
$thumbParams->getParam(VideoThumbParamsInterface::PARAM_SEEK_TIME)
);
line 108 $adapter->getMappedConversionParams($timeParams)

Interesting... I've never imagined such an use.
Out of curiosity, do you have an example with filters you could use ?
Getting late here, but I'll try to find a solution very soon

Just use a jpg file for input and set time (0)
version <=0.76 .. add filter or chained filters..

wow, incredible ;)
You're right the time is required...  I need a good sleep on that, but what you're doing with filters looks great !
For now, I've just added a functional case based on VideoConversionService which will do the job.
<?php
$convertParams = (new VideoConvertParams())
    ->withVideoCodec('mjpeg')
    ->withVideoFilter(new VideoFilterChain(
        [
            new ScaleFilter(320, 200),
            new Hqdn3DVideoFilter()
        ]
    ))
    ->withVideoQualityScale(2);

$this->videoConvert->convert($this->imgFile, $outputFile, $convertParams);

You can have a look: https://github.com/soluble-io/soluble-mediatools/commit/5f16b8b64446dc1ff8d46076d0b39b1381e69899
Thanks a lot... Let's keep in touch.

After a good night, here's some thoughts:
I would like to keep VideoThumbGenerator as specific as possible. I must admit I'm not happy with it's current API. I would love to add support for strategies (see here, multiple thumbnails, scene selection...), but I need time to figure out how to architect it (use of facade, helpers, presets ?) I will publish an RFC soon asking for reviews.
So I suggest to use the VideoConverter service with the mjpeg encoder for now. Note also that I'll probably simplify the seektime param soon (a float looks better to me) add support for grepping the console output and document how logger works.
Let me know if it's fine for you and thanks !
FYI: video filter doc update; https://soluble-io.github.io/soluble-mediatools/video-filters/

Closed in favour of using VideoConverter service with mjpeg filter... Feel free to reopen


Remove linebreak-style eslint rule

The eslint linebreak-style rule won't stop anyone from commiting non-CLRF linesbreaks. In fact pretty much the whole project uses LF instead of CLRF.
This messes with non-Windows people because default mode for autocrlf is false (checkout as is commit as is) on Linux resulting in the whole project being flagged for wrong linefeed style on checkout. I think the windows git installer sets it to true by default (checkout as CRLF, commit as LF).
As a result the whole repo is using LF despite dictating CRLF which trips up Linux users (and probably also Mac users) because eslint flags every line. But when they actually try to commit CRLF the every file they edit will end up editing every single line. One could say the other's should just use autocrlf but why would a Linux user need to checkout CRLF when they would have to commit LF in the end anyway.

I think I should do a general sweep and cleanup of the lint config (and include this), I noticed some rules that were missing and need to be added


Create Sysl Syntax documentation

Closing this in favour of breaking this into some more detailed issues, now that we have some basic syntax documentation up and running https://sysl.io/docs/byexample/


Minor accessibility fixes

Ran Chrome's Lightbox audits on the site while killing time at the last event and noticed a couple of super quick fixes that I could make:

Lack of alt text on homepage logos
Insufficient contrast between the footer nav anchor colors and the background

The latter fix may deserve broader style updates as the footer nav anchor color is now nearly the same as each group's heading, but I figure it would be preferable to fix the immediate issue while that discussion takes place.
Note: Lightbox audits indicated several other issues that should be easy fixes, but I couldn't move on them as I was unable to find documentation for the pre-1.0 version of Gatsby the site is using. I'll make a couple issues for them.

This looks awesome. Merging and deploying now. Thanks, Sean!


[community][upstream] Add alm-examples to federation

Add CR examples to federation operator based on CSV and sample1
from operator repo: https://github.com/kubernetes-sigs/federation-v2/tree/v0.0.7/example/sample1

/cc @robszumski @pmorie
Please let me know if these examples are okay.

Dupe of https://github.com/openshift/federation-v2-operator/pull/65/files?

/hold
The following PR should be merged first: https://github.com/openshift/federation-v2-operator/pull/65

Superseeded by follow-up PRs that split into respective categories: #379 and #380


Navigation using hand instrument isn't working at acceptance

Hello!
Yesterday I found out that there is no possible to move picture while zooming at delayed acceptance mode. I attach gif with screencast of this bug.

@mihbort, thank you for you report!
As I have mentioned in the comment to the isssue #21, at the moment we are considering whether delayed acceptance users will need to perform minor fixes of (possibly extremely complex) markup submitted by Mechanical Turks, and, consequently, will need to use the full specter of markup functionality, or, if no functionality besides viewing the markup with objects classes and parameters is actually useful for the Researchers (a.k.a. Requesters).
We will either fix the described functionality of disable it for the delayed acceptance.

@AlNedorezov, during delayed acceptance this functionality is very useful. I can precisely check position of each point, so I prefer not to disable zoom.

@mihbort, thank you for such a rapid reply. We'll take your opinion into account.


Merge changes from v2.5.0-next.1 into main

Merge changes from v2.5.0-next.1 into main.
Details regarding the included changes are provided in the release notes and the CHANGELOG.

:tada: This PR is included in version 2.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


clustering results lose part of non-ground points?

Hi VincentCheungM,Thanks for your fantastic work!
I run the codes with KITTI dataset, and the following figure shows all the non-ground points(different colors represent different rings):

But after clustering, some of them are missing:

do you have any idea? Is it because the parameters need to be adjusted ?
Thank you very much and looking forward to your reply.

Sorry for replying you late. It seems that I use some kind of trick before the clustering process. I just simply re-organize all the spare point cloud into matrix-like dense format, e.g.:
I've got points {p1, p2, p3} from LiDAR, and I transform them from (x, y, z) into Sphere coordinates (\theta, \phi). And then it could be some 2D matrix like data. In this case, some items in the matrix are not occupied, i.e., none of points from point cloud P is transform into this (\theta_hat, \phi_hat), so I use the intensity property to mark these items are not occupied and not interested.
------------------ Original ------------------
From<EMAIL_ADDRESS>Date:  Sun, Mar 3, 2019 11:12 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS>Subject:  [VincentCheungM/Run_based_segmentation] clustering results lose partof non-ground points? (#9)
Hi VincentCheungM,Thanks for your fantastic work!
I run the codes with KITTI dataset, and the following figure shows all the non-ground points:
But after clustering, some of them are missing:
do you have any idea? Is it because the parameters need to be adjusted ? or because there are some points whose intensity is 0  in KITTI ?
Thank you very much and looking forward to your reply.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Wow, when I saw this project, I felt excited.

Wow, when I saw this project, I felt excited. The decorators it provides are almost identical to what I used in NestJS, and it indeed takes Medusa to a whole new level! I really dislike the way routes are organized in medusa-starter-default; it makes me feel like I'm writing a loose script. However, this project is now deprecated. Is there any other way to organize my routes similar to NestJS?

You can use @sgftech/medusa-extender interim
Best Regards
Govind Diwakar
On Sun, 16 Jul, 2023, 14:30 microCloudCode, @.***>
wrote:

Wow, when I saw this project, I felt excited. The decorators it provides
are almost identical to what I used in NestJS, and it indeed takes Medusa
to a whole new level! I really dislike the way routes are organized in
medusa-starter-default; it makes me feel like I'm writing a loose script.
However, this project is now deprecated. Is there any other way to organize
my routes similar to NestJS?
—
Reply to this email directly, view it on GitHub
https://github.com/adrien2p/medusa-extender/issues/202, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXEQJHBROZZFIAIPRYBMHPLXQOURJANCNFSM6AAAAAA2LZ6XB4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
This message (including any attachments) may contain confidential,
proprietary, privileged and/or private
information. The information is
intended to be for the use of the individual or entity designated above. If
you are not the intended recipient of this message, please notify the
sender immediately, and delete the
message and any attachments. Any
disclosure, reproduction, distribution or other use of this message or
any
attachments by an individual or entity other than the intended recipient is
prohibited.

We will profile a file base router as well as part of medusa, it will simplify route building. I hope you will like it, you can already look at the pr i ve opened for it if you select me as the creator to filter. Thanks a lot for your kind words

@adrien2p Thank you for your response! I have checked your pull request, but it doesn't seem to be what I was looking for. It would be great if we could define routes in Medusa just like we do in NestJS.

I understand and i didn't meant to say that it would be similar. But an improvement of the way it is now. We won't do it just like nestjs does, and i know very well how nestjs works as i was a contributor.

Thank you! You've been very helpful, and I'll try to reference your package to achieve the effect I want.


is_ulid(x)

Hello, is there a validation / checking method provided with the library? Thank you.

was looking for that, would you mind give the answer if you found it?
basically want to check if a string match the ulid specs

is myString.replace(/[^a-z0-9]/gmi, '').length === 26 a correct way to detect ULID?

sorry nope, I suppose the reason there is no validation, because there is nothing to validate as long as the length is matching. There are some libraries on npm to extract time from the hash itself, but I think the reason people don't put much emphasis on these things is because it's not really required. From what I understand, the ulids are made to aid sorted db indexes mostly.


Traccar Group - Cycle in group hierarchy - IllegalArgumentException (DeviceManager:353 < *:361 < GroupResource:63 < ...)

Hi Tananev,
I have several group on my traccar server. Everything is working fine till yesterday. But today, when i am trying to create a new group - it raising an error - Cycle in group hierarchy - IllegalArgumentException (DeviceManager:353 < *:361 < GroupResource:63 < ...). I would appreciate helping fix this error.

Well, the problem is that you are trying to create a cycle with groups. Don't create a cycle and it will work just fine.

I deleted all the entries that are entered from yesterday
even when i tried creating a group like this
post /api/groups
{
"name" : "Tananev"
}
It raising the same error. I couldn't able to find where i have created a cycle with groups. Could you please help me.

I have double-checked everything and it can only happen if you have a parent group.

I have two groups with groupId = 0; when i deleted the unwanted one, it works like a charm.
Thanks


Not able to delete or update connection string of dataset using Azure analysis services server as data source

I have issue in deleting dataset with live connection to data source. Is there any work around to solve this issue?

If you do not have any other datasets within workspace?

i have other datasets in workspace and i am using azure analysis services server as data source..if anybodt can help with connection string using azure analysis services server as data source

Power BI Embedded is not yet supported in preview, so make sure that you are using GA version.

Regarding the origin issue you mentioned I have had the same issue.
I solved it by this workaround.

Create a new workspace collection
Create a new workspace and upload pbix file with Direct query( so I have one dataset within workspace)
Use ProvisionSample tool (remove first all configuration for app config) to update the connection string.
3.1 Enter user name
3.2 Enter user password
3.3 Enter connection string in the format : Data Source=xxxx.database.windows.net;Initial Catalog=dbName;User ID=xxx;Password=xxx

Let me know if it work on your side.


🐛 [FirebaseAuth] cant get or set photoUrl on iOS

Bug report
Describe the bug
FirebaseAuth photoUrl is always null on IOS devices.
I'm trying to use photoUrl with anonymous and password authorization.
On android device can set and get correct values, on IOS photoUrl is always null even after is setted up on android.
Steps to reproduce
Steps to reproduce the behavior:
await FirebaseAuth.instance.currentUser!.updatePhotoURL("aa||bb||cc");
await FirebaseAuth.instance.currentUser!.reload();
print(FirebaseAuth.instance.currentUser);
print(FirebaseAuth.instance.currentUser!.providerData);
This is only on ios, on android everything works as expected.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 3.7.3, on macOS 13.0.1 22A400 darwin-x64, locale en-BG)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.75.0)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
dependencies:
  assets_audio_player: ^3.0.6
  beep_player: ^0.0.1
  cloud_firestore: ^4.3.1
  firebase_auth: ^4.2.6
  firebase_core: ^2.4.1
  firebase_messaging: ^14.2.1
  firebase_ui_firestore: ^1.2.3
  flutter_colorpicker: ^1.0.3
  flutter_local_notifications: ^13.0.0
  flutter_speed_dial: ^6.2.0
  flutter_svg: ^2.0.0+1
  google_mobile_ads: ^2.3.0
  intl: ^0.17.0
  provider: ^6.0.5
  random_color: 1.0.6-nullsafety
  shared_preferences: ^2.0.17
  uuid: ^3.0.7
  vibration: ^1.7.5

Thanks for the report @yostrokon
Using the code snippet provided, I am seeing same behavior as reported.

It works without issue on my end using this url.
@darshankawar Which url did you use to reproduce the issue?

@Lyokone
I had tried with https://fastly.picsum.photos/id/9/250/250.jpg?hmac=tqDH5wEWHDN76mBIWEPzg1in6egMl49qZeguSaH9_VI taken from https://docs.flutter.dev/cookbook/images/network-image
From the url you shared, it is http and the one I tried above is https. Wondering if that's the case ?

It works without any issue with your picture too 🤔 Maybe it was a temporary bug from Firebase backend? Do you still reproduce @yostrokon ?


Bk/readme

Update README to a current format. Information will need to be updated, proofread, added, etc. The main focus was formatting and getting README up to the project's current state.

Added the MIT license as it's the most simple and permissive. But for more information: https://choosealicense.com/

Looks good. We'll decide when we meet next what we'll do license-wise. I did some proofreading, updated the roadmap, modified text to link to the learning source's website and removed logo until pending the higher ups' decision to green light using our project after we present it to Kylie.


RKE1 cluster edit screen allows saving invalid configuration

Setup

Rancher version: First seen on 2.6.3, re-tested on 2.7-head
Browser type & version: n/a

Describe the bug
When editing an existing RKE1 cluster, it is possible to save a configuration where no etcd roles are defined. This can done once the cluster has been created, and only occurs for etcd roles. The UI will properly prevent you from saving a configuration with no control-plane or worker nodes defined. If there is a particular reason why this is possible let me know, otherwise it looks like a bug.
To Reproduce

Create an RKE1 cluster with three node pools, each containing one node with one role (1 worker node-pool, 1 control-plane node-pool, one etcd node-pool)
Create the cluster and wait for it to provision
Edit the config of the cluster and change the node quantity for the etcd node-pool to zero

this can be done by manually typing in 0 into the quantity box

Save the updated cluster configuration

Result
The cluster begins to delete the only etcd node available to the cluster, even though other aspects of the UI say that this should not be possible / allowed. This results in data-loss and forces the user to restore their cluster from a backup.
Expected Result
The UI prevents the cluster configuration from being updated if no nodes with an etcd role are defined, which is the behavior seen when initially creating the cluster.
Screenshots
This is what the UI shows before saving the updated configuration, however these warnings / errors do not prevent you from saving the configuration.

This is what the cluster looks like after saving the invalid configuration. The cluster cannot be recovered at this point, and a backup must be applied.

Additional context
Similar behavior to this has also been seen for RKE2, and a separate ticket has been filed for that issue: https://github.com/rancher/dashboard/issues/6763

Closing this ticket as its a duplicate of https://github.com/rancher/dashboard/issues/5774


0 mbit/s Upload speed

Hello
I get wrong values when testing my upload speed:
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from M-net Telekommunikations GmbH (188.x.x.x)...
Selecting best server based on latency...
Hosted by süc//dacor GmbH (Coburg) [173.67 km]: 33.899 ms
Testing download speed........................................
Download: 11.16 Mbit/s
Testing upload speed..................................................
Upload: 0.00 Mbit/s

I tried different setups:

windows/cygwin
Mac Yosemite
Ubuntu
debian

All with the same result.
Any Idea whats wrong? How can i debug this any further?
greetings

Does this help at all?  https://github.com/sivel/speedtest-cli/issues/137#issuecomment-78623413

Nope. I Don't use any kind of VPN.
Just plain PC => switch => router => internet.
I don't see anything, which might limit the POST request size.

I have the same problem, but only in Windows 7. OSX is OK.

Same problem here, with WindowsXPsp3 and Python 2.7

Same problem with Windows 7 and Ptython 2.5.1
Test OK with OSX
There is no solution ?

Same here. Python 3.4.3. Windows 8. speedtest-cli 0.3.4. Sporadically (around 50% of time) getting upload speed 0.00 Mbit/s.


handle on component when click on element of plugin.

Hi, can someone help me.
I want to handle click event on EditPage component when i click on "Edit Device" of IotDevice Plugin. Here is my code.
---EditPage component which is integrated ory editor---
---IotDevice Plugin----
return { Component: Device, IconComponent: , name: 'IotDevice', version: '0.0.1', text: 'IoT Device', reducer: reducer };
---Device component---
class Device extends Component {
componentDidMount() {
    const {pluginActions, item} = this.props;
    pluginActions.onSubscribeTopic(item.topic);
}

onChange = (value) => {
    const {item, pluginActions} = this.props;
    pluginActions.onDeviceChange({topic: item.topic, value: value});
}

onClickEdit = () => {
    const {pluginActions} = this.props;
    pluginActions.onClickEdit(true)
}

render() {
    const {state: {
            deviceStatus
        }, isEditMode} = this.props;

    const {item, controlType} = this.props;

    const statusKey = item.topic;

    const deviceValue = (deviceStatus && deviceStatus[statusKey])
        ? deviceStatus[statusKey]
        : false;

    if (controlType == 'slider') {
        let sliderValue = isNaN(deviceValue)
            ? 0
            : Number(deviceValue);
        let sliderLowValue = isNaN(item.lowValue)
            ? 0
            : Number(item.lowValue);
        let sliderHightValue = isNaN(item.highValue)
            ? 0
            : Number(item.highValue);

        return (<AntdSlider
            step={0.1}
            value={sliderValue}
            onChange={this.onChange}
            tipFormatter={(value) => {
            return `${value} ${item.unit}`;
        }}
            min={sliderLowValue}
            max={sliderHightValue}
            defaultValue={24}/>);
    }

    if (controlType == 'value') {
        return (

                {deviceValue}

        );
    }

    return (

            {isEditMode
                ? Edit Device
                : null}
            <Switch
                checked={deviceValue == 'true'}
                defaultChecked={deviceValue == 'true'}
                onChange={this.onChange}/>

    );
}

`
Thank all.

and how can i use reducer in global app (not only in plugin) ?

I'm still not sure exactly what you're trying to do. Do you want to detect in the plugin that wraps your react component that something has been clicked?

i have EditPage component
i have IoTPlugin
i want to detect in EditPage component when i click on something of IoTPlugin's component

And EditPage wraps the Editor component?

yes, EditPage wraps ory editor

I see, in that case, you will need a bit of trickery. The idea is to wrap the component inside the plugin creator:
export default (callback) => {
  const Component = () => (

  )

  return {
    name: "foo",
    version: "bar",
    Component
  }
}

That way you can pass a callback when instantiating the plugin:
const callback = () => console.log('I was called')
const plugin = myPlugin(callback)

And can thus pass that callback also to your component.
Hope it helps

thank you so much.

Glad to be of help!


duplicate entry: io/branch/indexing/AppIndexingHelper$1.class

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: io/branch/indexing/AppIndexingHelper$1.class

same here

Run "cd android && ./gradlew clean" solved this issue

I'm getting similar problem:
Execution failed for task ':app:transformClassesWithDexForDebug'.
 com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/iid/zzc;

@jaimecorrea @wenbinf Did the suggestion above help? cd android && ./gradlew clean
I think I've seen this error more than once in Android Studio. I always just do Build > Rebuild Project to fix it. That basically just does the equivalent of gradlew clean and then rebuilds.
If you're still having the problem, what version of react-native-branch are you using?

Hi @jdee ,
Using "react-native-branch": "^2.0.0-beta.7" and getting the same error as the OP here even after the trying the posted solution.

UPDATE:
had to remove compile 'io.branch.sdk.android:library:2.+' and then cd android && ./gradlew clean to fix it. I am noticing that this issue can reoccur, but just have clean gradle and it works.

Apparently there were no Android instructions for updating to 2.0.0, only iOS instructions. I've updated them here: https://github.com/BranchMetrics/react-native-branch-deep-linking/blob/master/docs/Release-2.0.0.md#update-your-appbuildgradle-android. Thanks for finding the issue @jnrepo.

Thanks @minhtc that works for me !

In our case (for a temporary fix) we had to change the build.gradle file of  every library in node_modules that uses the "com.google.android.gms:*". Here is  an example (I have commented out what has been before) of the react-native-google-analytics-bridge library :
apply plugin: 'com.android.library'

// def DEFAULT_GOOGLE_PLAY_SERVICES_VERSION    = "+"
def DEFAULT_GOOGLE_PLAY_SERVICES_VERSION    = "11.8.0"

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.1"

    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
    }

    lintOptions {
        warning 'InvalidPackage' // prevent error: https://github.com/square/okio/issues/58
    }
}

dependencies {
  def googlePlayServicesVersion = project.hasProperty('googlePlayServicesVersion') ? project.googlePlayServicesVersion : DEFAULT_GOOGLE_PLAY_SERVICES_VERSION
    compile 'com.facebook.react:react-native:+'
    compile "com.google.android.gms:play-services-analytics:$googlePlayServicesVersion"

}

I'm getting this every time I run react-native run-android. I fix it by doing cd android && ./gradlew clean, but it's still a massive waste of time. The clean command is not exactly fast and even then I have to re-run react-native run-android from scratch, which takes a while. There should be a more permanent solution than cleaning every time you re-run the build.


s/atom-shell/electron in ./tasks

Not sure if this is sufficient, did it quick and dirty because there's breakage after renaming the repos.

Can we please get this fixed? I'm stuck trying to upgrade atom :(

Any tips on a workaround if this doesn't get merged soon?

I did the same change in order to download electron and it works.

I'm sure you don't need a whole pile of +1s, but in case it's not reported elsewhere, this is breaking the install of the entire atom-editor package from Arch Linux's User Repository.

Hey guys, I found a quick fix for arch users
pacman -R atom-editor
yaourt -S atom-editor-bin

Worked for me just fine.

It be nice if this of #24 got merged.
Atom build script is broken without this.

How about just publishing a new repo: grunt-download-electron

:clap: :clap: :clap:
@thedaniel: thanks for fixing this! Looks good to me, but I think we should rename the file as well.
There shouldn't be any further work to do here, therefore :shipit: after renaming!
:fireworks: :fireworks: :fireworks:


Upgrade the maven-dependency-plugin from 3.1.1 to 3.1.2

Task Description
We need to upgrade maven-dependency-plugin:3.1.1 to version 3.1.2.
Tasks
The following tasks will need to be carried out:

[ ] Update the version in the strongbox-parent project.
[ ] Apply any required code changes, or dependency excludes.
[ ] Test and confirm that there are no issues with the core projects (strongbox, strongbox-web-integration-tests, etc) after upgrading.

Help

Check our article on how to upgrade dependencies and plugins.
Our chat
Points of contact:

@carlspring
@sbespalov
@steve-todorov

Hi @carlspring ,
If that is alright with you, I can take this one, as it's very similar to the one I just completed.

Hey, @SolangeUG !
I actually did this one earlier in strongbox/strongbox-parent#127.

Cool, thanks! I will pick up another one! 😄

Thanks and sorry about that! I've sent you a few you might be interested in in the chat.


Invert HSL gradient axes

Description
This inverts the HSL gradient x/y axes, to have more room for variance on the lightness axis which makes HSL mode more useful in my opinion.
Before:

After:

For comparison, HSV mode:

Check List

[x] respect code conventions and usages
[x] tests and 100% coverage
[x] well documented
[x] self review

This is unrelated but @mikbry, could you please make a new release ? https://github.com/mikbry/material-ui-color/issues/141 makes v1.1.0 unusable for me.

@unusual-thoughts  thanks ! I push a release today


Python flask wont run

Expected Behavior

A normal python script with the starter code, wont run. I think that it's the library that causes the error.
Script:
from flask import Flask

app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello, World!'

if __name__ == "__main__":
	app.run(host="<IP_ADDRESS>", port=8080, debug=True)

Actual Behavior

It crashed with this traceback
Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Users\fredr\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 926, in _bootstrap_inner
    self.run()
  File "C:\Users\fredr\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\fredr\AppData\Local\Programs\Python\Python37-32\lib\site-packages\werkzeug\serving.py", line 963, in inner
    fd=fd,
  File "C:\Users\fredr\AppData\Local\Programs\Python\Python37-32\lib\site-packages\werkzeug\serving.py", line 806, in make_server
    host, port, app, request_handler, passthrough_errors, ssl_context, fd=fd
  File "C:\Users\fredr\AppData\Local\Programs\Python\Python37-32\lib\site-packages\werkzeug\serving.py", line 699, in __init__
    HTTPServer.__init__(self, server_address, handler)
  File "C:\Users\fredr\AppData\Local\Programs\Python\Python37-32\lib\socketserver.py", line 452, in __init__
    self.server_bind()
  File "C:\Users\fredr\AppData\Local\Programs\Python\Python37-32\lib\http\server.py", line 139, in server_bind
    self.server_name = socket.getfqdn(host)
  File "C:\Users\fredr\AppData\Local\Programs\Python\Python37-32\lib\socket.py", line 676, in getfqdn
    hostname, aliases, ipaddrs = gethostbyaddr(name)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 9: invalid continuation byte

Environment

Python version: Python 3.7.4
Flask version: 1.1.1
Werkzeug version: Don't know

What's the output of hostname in a terminal?

What do you mean of the hostname in the terminal? I did set the hostname to <IP_ADDRESS> in the script

This is an issue with Python when your windows username contains Unicode. I don't remember what the fix is, but searching stack overflow will bring it up.

Thanks for the info @davidism! I edited my PC's name and that fixed it. It contained some characters that was not allowed.


New term: PBG1–7.s-FB‘2.s-LAL.b-cre.b/PB1-glomerulus-FBe->IDFPHB-latera

From FBrf0227801, the neuron called PBG1–7.s-FB‘2.s-LAL.b-cre.b/PB1-glomerulus-FBe->IDFPHB-lateralHB needs added to the ontology
Summarised:
Table 3A - line 12
Table 4
The synonym for SPS-PB neuron needs fixed - should be PBG1/2-9.b-SPSi.s neuron NOT PBG1/2-9.b-SPS.s neuron
The synonym for CCP-VMP-PB neuron needs fixed - should be PBG2-9.b-IB.s.SPS.s neuron NOT PBG2-9.b-IB.s-SPS.s neuron

I think this is FBbt:00111433
This has synonyms 'PB1-glomerulus-FBe>IDFPL-HB-lateral' and 'PB1-glomerulus-FBe>IDFPL-HB-lateral'
I will add the general (non-L/R) synonym and the Wolff synonym.

Guessing that this is no longer a priority since no new terms

thanks, looks like it


Create (or obtain) Google Analytics Account and plumb in

Put details of Analytics Account on private Slack channel - it is a gmail account with username George.Dan1996


node x86 artifact build is broken (caused by c-ares?)

https://grpc-testing.appspot.com/view/Artifacts/job/gRPC_build_artifacts/3204/architecture=x86,language=node,platform=linux/console
collect2: error: ld returned 1 exit status
make: *** [Release/obj.target/deps/cares/cares.so] Error 1
deps/cares/cares.target.mk:179: recipe for target 'Release/obj.target/deps/cares/cares.so' failed
make: Leaving directory '/var/local/git/grpc/node_modules/cares/build'

CC @y-zeng

grpc node is using the cares library from https://www.npmjs.com/package/cares. It has a modified version of ares.h, which defines:
typedef int ares_socklen_t;

This might be the cause of the -Wpointer-sign warning. I'm guessing this package is using the pre-defined types to get rid of the generated ares_build.h. @murgatroid99 Should we silence this warning?

It looks to me like the failure actually comes from attempting to install that npm package on 32 bit Linux. That's before we even start any gRPC compilation.

The actual error there is this part
  SOLINK(target) Release/obj.target/deps/cares/cares.so
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i586-linux-gnu/4.9/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i586-linux-gnu/4.9/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status

This seems to be fixed by #10744.


Exception if run test on chrome using remote webdriver with desired_capabilities

Hi,
I did some tests on browser chrome using remote webdriver with desired_capabilities. However, it always through exception:
Starting test: Demo.Testsuite1.Test1 20190401 18:10:56.961 : INFO : Opening browser 'chrome' to base url 'https://github.com/nokia/RED' through remote server at 'http://xx.xxx.xxx.xx:4444/wd/hub'. 20190401 18:10:57.133 : INFO : Cannot capture screenshot because no browser is open. 20190401 18:10:57.144 : FAIL : SessionNotCreatedException: Message: Unable to create session from {   "desiredCapabilities": {     "server:CONFIG_UUID": "4a579b2d-cc49-464f-9354-2babea3630e2",     "platform": "WINDOWS"   },   "capabilities": {     "firstMatch": [       {         "platformName": "windows",         "server:CONFIG_UUID": "4a579b2d-cc49-464f-9354-2babea3630e2"       }     ]   } } Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System info: host: 'PC', ip: 'xx.xxx.xxx.xx', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_171' Driver info: driver.version: unknown Stacktrace:     at org.openqa.selenium.remote.server.NewSessionPipeline.lambda$null$4 (NewSessionPipeline.java:76)     at java.util.Optional.orElseThrow (Optional.java:290)     at org.openqa.selenium.remote.server.NewSessionPipeline.lambda$createNewSession$5 (NewSessionPipeline.java:75)     at java.util.Optional.orElseGet (Optional.java:267)     at org.openqa.selenium.remote.server.NewSessionPipeline.createNewSession (NewSessionPipeline.java:73)     at org.openqa.selenium.remote.server.commandhandler.BeginSession.execute (BeginSession.java:65)     at org.openqa.selenium.remote.server.WebDriverServlet.lambda$handle$0 (WebDriverServlet.java:235)     at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:511)     at java.util.concurrent.FutureTask.run (FutureTask.java:266)     at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)     at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)     at java.lang.Thread.run (Thread.java:748) Ending test: Demo.Testsuite1.Test1
Setup:
PC1: Start selenium hub and node (this node for local chrome test)
PC2: Start selenium node
Both node & hub: Use standalone selenium-server-standalone-3.141.59.jar
On node: Chrome version 73, use chromedriver for chrome v73 (https://chromedriver.storage.googleapis.com/index.html?path=73.0.3683.68/)
Robotframework version: 3.1.1
This is my test:
`*** Settings ***
Library    SeleniumLibrary
Suite Teardown    Close Browser
*** Variables ***
${desired caps} =     Create Dictionary    platform:WINDOWS
${hub_url} =     http://xx.xxx.xxx.xx:4444/wd/hub
*** Test Cases ***
##Original test case
Test1
Open Browser    https://github.com/nokia/RED    browser=chrome    remote_url=${hub_url}    desired_capabilities=${desired caps}
##Test with other browsers: firefox, safari, edge
Test2
Open Browser    https://github.com/nokia/RED    browser=firefox    remote_url=${hub_url}    desired_capabilities=${desired caps}
##Remove desired_cap
Test3
Open Browser    https://github.com/nokia/RED    browser=chrome    remote_url=${hub_url}
##Test chrome locally
Test4
Open Browser    https://github.com/nokia/RED    browser=chrome      desired_capabilities=${desired caps}`
Test results:
Test 1: FAIL --> exception SessionNotCreatedException: Message: Unable to create session from
Test 2: PASS. Also pass with safari, edge
Test 3: PASS
Test 4: PASS
Summary: This issue only happens on chrome and with remote driver. The test will PASS if run locally or using other browsers.
I've searched this issue whole day but not found any clue. Please help to check if this issue robot framework issue, chrome issue or my setup issue. Thanks!

This issue tracker is reserved only for reporting bugs or submitting enhancement proposal for Robot Framework core. You are requesting support for SeleniumLibrary and support for SeleniumLibrary is explained in here https://github.com/robotframework/SeleniumLibrary/blob/master/README.rst#support Because of the above, I am closing this issue.

Hi @aaltat,
Yes, it's likely an selenium/selenium grid issue. I found a workaround by adding 1 more desired_cap: browserName:chrome. Therefore, the desired_cap should be desired_capabilities=platform:WINDOWS,browserName:chrome
Hope it helps others who have the same issue.


Updating Solutions with data connector description

Required items, please complete
Change(s):

See guidance below

Reason for Change(s):

See guidance below

Version Updated:

Required only for Detections/Analytic Rule templates
See guidance below

Testing Completed:

See guidance below

Checked that the validations are passing and have addressed any issues that are present:

See guidance below

Guidance <- remove section before submitting

Before submitting this PR please ensure that you have read the following sections and filled out the changes, reason for change and testing complete sections:
Thank you for your contribution to the Microsoft Sentinel Github repo.

Details of the code changes in your submitted PR.  Providing descriptions for pull requests ensures there is context to changes being made and greatly enhances the code review process.  Providing associated Issues that this resolves also easily connects the reason.

Change(s):

Updated syntax for XYZ.yaml

Reason for Change(s):

New schema used for XYZ.yaml
Resolves ISSUE #1234

Version updated:

Yes
Detections/Analytic Rule templates are required to have the version updated

The code should have been tested in a Microsoft Sentinel environment that does not have any custom parsers, functions or tables, so that you validate no incorrect syntax and execution functions properly.  If your submission requires a custom parser or function, it must be submitted with the PR.

Testing Completed:

Yes/No/Need Help

Note: If updating a detection, you must update the version field.

Before the submission has been made, please look at running the KQL and Yaml Validation Checks locally.
https://github.com/Azure/Azure-Sentinel#run-kql-validation-locally

Checked that the validations are passing and have addressed any issues that are present:

Yes/No/Need Help

Note: Let us know if you have tried fixing the validation error and need help.

References:

Guidance for Detection checks
General contribution guidance
PR validation troubleshooting

Hi @v-sabiraj, validations are failing please check.

Hi @v-sabiraj, please check with validations.

Hi @v-sabiraj, validations are failing please check.

Hi @v-sabiraj, do you have any update on above?

Hi @v-sabiraj, please check with validations. Thanks

closing this as raised this PR


Bits and bobs

Added a Gemfile as per the GitHub Pages instructions.
Copied over the vagrant provisioning stuff I use for my own GitHub Pages site.

Cool cool, will give you access to merge.

should have permission now

:D Thanks.


Update zio, zio-test, zio-test-sbt to 2.1.9

About this PR
📦 Updates

dev.zio:zio
dev.zio:zio-test
dev.zio:zio-test-sbt

from 1.0.18 to 2.1.9 ⚠
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #306.

Superseded by #311.


docs(angular): translate angular home to PT-BR

This PR translates Angular guide home to PT-BR

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

@ricardo-mello Thank you for  creating this PR.  However, since it was created, the underlying document has changed.  Can you please review and resolve the current merge conflicts?  It could be the changes to the underlying document are so significant that your changes are no longer relevant.  If the latter is the case, it might be easier to just close this PR and create a new PR with any changes you still feel are important to make.
If you need any assistance or have questions about resolving the merge conflicts, please reply back or contact someone in the Contributors Room on Gitter.
Thank you.

We are restructuring a lot of the code and learning resources referenced in your pull request, so for now I am going to go ahead and close this pull request. Thanks again for opening this pull request and for contributing to the community.


Run-AlPipeline fails when including bcptTestFolders to include running performance tests

Describe the issue
When trying to create a W1 sandbox container,  including the performance toolkit, the script fails due to the protection level error as shown in the screenshot below. This isn't an issue in an OnPrem container.
Scripts used to create container and cause the issue
Run-AlPipeline -pipelineName 'current' `
               -auth NavUserPassword `
               -artifact ///w1/Current `
               -containerName bcpt `
               -outputFolder Extension `
               -baseFolder $baseFolder `
               -sharedFolder '' `
               -memoryLimit 16Gb `
               -credential $credential `
               -licenseFile $licenseFileUri `
               -appFolders app `
               -testFolders '' `
               -bcptTestFolders perfTest `
               -appBuild 29894 `
               -bcptTestResultsFile bcptresults.xml `
               -AppSourceCopMandatoryAffixes TWM `
               -enableCodeCop:$false `
               -enableAppSourceCop:$true `
               -enableUICop:$false `
               -installTestLibraries `
               -installPerformanceToolkit

Screenshots

Additional context

It happens all the time

What Business Central version are you using?

At the time of running this, it was 19.3. I just re-ran it and it's 19.4.35398.36261

Must have been a bug back then have not been able to repro, 3.0.9 works (shipped this morning)
Just build support for bcpt tests into AL-Go for GitHub and tested Run-AlPipeline (which is used in AL-Go)

Hi Freddy,
I can confirm that the issue has been resolved.
Thanks for your help.


Default UI to blueocean

This commit is a simple change that switches the displayprovider to use blueocean as a redirect instead of the classic UI. This provides a more up-to-date and streamlined view for viewing pipelines.
It would be nice to configure this - but talking to @rawlingsj and @jstrachan this seemed like a good default.
In order to run this and see it for yourself - you can edit ~/.jx/cloud-environments/env-gke/myvalues.yaml to be this gist (shoutout to @rawlingsj for providing this!). Then rerun jx install -- this is still a little rough and you might have to address this issue.
But once done your PR builds should -> blue ocean!

Another benefit to this approach is that this will just work for all git providers, no needed to make plugin changes per provider integration.

thanks!


Test of v0.13.0 docs

What this PR does / why we need it:
Which issue(s) this PR fixes

Fixes #

Special notes for your reviewer:
Release note:
release-note

Partly there:
TIL:

there is a versioned field that has to be set to true
below that is a list of versions we manually specify; it does not just read the directories

TODO:

add other versions we want to support (back to v0.13.0 I think is fine)
figure out the problem with rendering. When going back to the v0.13.0 version (or even the master version) then the dropdown disappears and the width seems to change. Not the typical docs look.

Codecov Report

Merging #756 into master will increase coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #756      +/-   ##
==========================================
+ Coverage   42.59%   42.71%   +0.12%
==========================================
  Files          70       70
  Lines        4029     4029
==========================================
+ Hits         1716     1721       +5
+ Misses       2208     2205       -3
+ Partials      105      103       -2

Impacted Files
Coverage Δ

pkg/plugin/aggregation/aggregator.go
82.92% <0%> (+4.06%)
: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 985c071...71e9bd7. Read the comment docs.

Layout info is passed via a section like this; right above the list of versions:
https://github.com/heptio/velero/blob/bbb11a8d23b2f730004a7f36569c75cf4566e94d/site/_config.yml#L70-L87

@jonasrosland I seem to have hit a snag and I'm not sure if it is on my end, the css, site generation, etc
If you look at the preview for the v0.13.0 docs https://deploy-preview-756--sonobuoy-live.netlify.com/docs/v0.13.0/ (from this PR) you can see that the content gets put into a div that is a sibling to to the LHS menu and the RHS notice about being a snapshot.
Compare that to the Velero site https://velero.io/docs/v0.3.0/ where the content gets put into the same div that the RHS warning is in.
Any idea if this is a problem in the Sonobuoy site or if it is just a difference between the preview and what will actually go live?

I'll dig in to this, thanks for letting me know.

There's an extra </div> at the end of https://github.com/heptio/sonobuoy/blob/6c522c85f4b3ba936101eb2e0ae3a3d0935d7f0a/site/_includes/version-warning.html#L3, if you remove that I think it should work.

Awesome, thanks for looking into this.
Sent from my iPhone

On Jun 18, 2019, at 4:47 PM, Jonas Rosland<EMAIL_ADDRESS>wrote:
There's an extra  at the end of https://github.com/heptio/sonobuoy/blob/6c522c85f4b3ba936101eb2e0ae3a3d0935d7f0a/site/_includes/version-warning.html#L3, if you remove that I think it should work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

TIL: We also need to update the table of content mapping for each version (otherwise we'll get the same menu/links on the LHS). That is not autogenerated from the files in the folder or something like that.

TIL: We also need to update the table of content mapping for each version (otherwise we'll get the same menu/links on the LHS). That is not autogenerated from the files in the folder or something like that.

I've worked on proper redirects for Velero, and just yesterday figured out how to manage them easily. So now we can replicate that for Contour. I'll add another PR with those changes. You'll be able to use projectcontour.io/docs as a pointer to the latest docs. You can go ahead with this one in the meantime and I can make all the changes needed to make it happen after merge.

I think this is ready for review; I am not aware of any outstanding issues so anything remaining is an actual oversight that another pair of eyes may be able to see for me.


Multiple Engine types

support multiple different engine types for a plane, for example see De Havilland 9

engine is now an array of options


Make import symbol limit configurable

Hello, thanks for this useful tool.
I came across a scenario where delvewheel-repair does not include all necessary DLLs.  This was caused by pefile returning a truncated list of imports due to a limit on the number of imports parsed.  I observe in https://github.com/CadQuery/cadquery/issues/1048#issuecomment-1112356278 that increasing pefile.MAX_IMPORT_SYMBOLS at least partially resolves some issues.
My ideas for delvewheel are:

Allow MAX_IMPORT_SYMBOLS to be specified at the command-line, e.g. delvewheel repair --max_import_symbols=1000000 leads to pefile.MAX_IMPORT_SYMBOLS = 1000000 before parsing;

Display all pefile warnings to the user.  Warning messages are accumulated on the PE object (example) and can be retrieved by PE.get_warnings().

I have fixed this issue and #29 and in the newly released version 0.0.22.
I added an option to display warnings from pefile.
I fixed the issue of exceeding the number of imported symbols by using the import_dllnames_only parameter at https://github.com/erocarrera/pefile/blob/9addb08b9906266ad8835a5ac80c7ec623cff758/pefile.py#L3513. When this is set to True, we avoid parsing the symbols that are imported from each DLL and thus don't go over the pefile.MAX_IMPORT_SYMBOLS limit.
I ran a quick test against a copy of OCP.cp310-win_amd64.pyd from https://github.com/roipoussiere/OCP/actions/runs/2173754949, and it looks like delvewheel is able to list out all its dependencies now.

Thank you very much for the exceedingly quick and helpful changes.  Using import_dllnames_only brings the loading of data directories from around two minutes to under 10 ms.  Also thanks for testing against OCP and making the new release - that will make our builds very convenient.


Add colored stack traces

Because this:

is easier to read than this:

CC @thatch, @karlodwyer
Closes #235

This looks good from the Pygments side -- there doesn't appear to be a test that forces color to exercise this code path though.
Note that if Pygments can't parse the line (without context) it's possible that it will output text on a red background corresponding to pygments.token.Error when it doesn't match the known patterns.  Can you try with a SyntaxError like the line !! and make sure it's not shown as red using the api you have?

@thatch  tkz for the review! So, it does not blow up:

I'm updating the PR to catch the colored output.

(looks like there's a missing newline there though?)

Where?

The missing newline is after the !!; was the SyntaxError-generating file itself missing the newline?

I added the !! to break the parser on purpose, and it simply lost the colors, but didn't blew up.

@thatch  I'm merging this now, but if you feel like there are pending things, comment here I can do another PR on top :-D


Feature Request

Now, it creates only for the main.yaml file in the playbook or roles., any possiblities to include_tasks playbooks as well?
it would be nice to have

Do you mean that you also want to output tasks that are read from include_tasks in the playbook?
If you use import_tasks for static loading, it is possible, but not for include_tasks, which is a dynamic loading.

Sorry @teramako I missed your message, Yes, roles/ROLE_NAME/tasks folder has other tasks, which are called based on condition, can those be included?

@teramako have moved from include_tasks to import_tasks, it looks good.
Thanks
Vasanth


Add tests for static and update document

Notice there is a call to arms on community discussion, so here I am.
This PR mainly add tests for sanic/static.py in Sanic. The current coverage of sanic/static.py is 67.19%(from here), after adding some tests, it should up to a better number now.
And, this PR also add two example about use app.static() with host and stream_large_files arguments.

Codecov Report

Merging #1416 into master will increase coverage by 1.17%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1416      +/-   ##
==========================================
+ Coverage   83.45%   84.62%   +1.17%
==========================================
  Files          17       17
  Lines        1704     1704
  Branches      322      322
==========================================
+ Hits         1422     1442      +20
+ Misses        217      203      -14
+ Partials       65       59       -6

Impacted Files
Coverage Δ

sanic/static.py
93.75% <100%> (+26.56%)
:arrow_up:

sanic/exceptions.py
98.76% <0%> (+3.7%)
: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 f7adc5f...1a59614. Read the comment docs.

@chenjr0719 you rock!


badges in readme are broken

Describe the bug
The badges in the readme are broken.
To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/digipolisantwerp/acpaas-ui_angular
See the badges in the ecosystem part of the readme
they show "invalid response data" errors

Picked up by ACPaaS frontend team

Fixed.


Automated Package Upgrade

:tada: This PR is included in version 2.2.175 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


getting "AVAssetReaderOutput does not currently support compressed output" Exception

I am using Xcode 7 beta 5 and am getting a strange error with code that follows the realm and a sample in stack overflow. I am getting:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[AVAssetReaderVideoCompositionOutput initWithVideoTracks:videoSettings:] AVAssetReaderOutput does not currently support compressed output'
Anyone see this or have any idea what is going on? I tried playing with the options but no solution.
Thanks

Try using options like this:
[NSDictionary dictionaryWithObject:[NSNumber numberWithInt:kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange] forKey:(id)kCVPixelBufferPixelFormatTypeKey];
instead of a compressed format like:
    NSDictionary *videoSettings = [NSDictionary dictionaryWithObjectsAndKeys:
                                                    AVVideoCodecH264, AVVideoCodecKey,
                                                [NSNumber numberWithInt:_size.width], AVVideoWidthKey,
                                                [NSNumber numberWithInt:_size.height], AVVideoHeightKey,
                                                nil];

That was my issue


vulnfeeds: Get list of upstream versions and correlate extracted versions.

Extract a list of upstream versions and use this to correlate with the
versions we extract from the CVE to ensure accuracy.
Currently just prints if we get a mismatch.

Adding @asraa team member for review mix, please feel free to assign back if code is confusing. This code is for generating python vulnerability database from cve data feed.


unable to set syncErrors in connect mapStateToProps

bug report
What is the current behavior?
unable to set syncErrors in connect mapStateToProps
syncErrors will lost in component props.
It works if I change the prop name to other than 'syncErrors'
export default connect(state => ({
  syncErrors: getFormSyncErrors('syncValidation')(state), // not working
  formSyncErrors: getFormSyncErrors('syncValidation')(state), // working
}))(SyncValidationForm);

What is the expected behavior?
able to set syncErrors in connect mapStateToProps
Sandbox Link
https://codesandbox.io/s/qjm0V2n7y
What's your environment?
tried on https://github.com/erikras/redux-form/tree/master/examples/syncValidation
redux-form 6.6.3

Yes, this is because syncErrors is the key that redux-form uses internally. You'll have to call your prop something else.

Me too! I was following instructions here https://redux-form.com/7.0.1/docs/api/selectors.md/ and they used syncErrors as the key! should change documentation. Glad I found this issue.


有vcpkg端口？

Search before asking

[ ] I searched the issues and found no similar issues.

What happened + What you expected to happen
Reproduction way
Anything else
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

目前还没有支持vcpkg

vcpkg has support async_simple.

非常好，希望尽快支持

已经支持了，非常好


Add in support for types decoded from arrays and objects

Currently type array always decodes to an array of strings. It would be nice to indicate that a data type is an array of numbers, or an array of dates and have the decode work accordingly. Simplest is probably providing top-level types like numberArray, booleanArray, dateArray. But I think a more general approach involving maybe shape could be done that would also have it work with objects.
For instance of you have type array and shape number you get an array of numbers back. If you have type object and shape { key1: number, key2: string } you get back the properly decoded object with key1 as a number and key2 as a string.

A simple update would just be to make these smarter by default. On each entry:

try decodeBoolean
if undefined, try decodeNumber
if undefined, treat as a string

Could try decoding as date as well?

Not going to do this for now, but in the future it could happen in https://github.com/pbeshai/serialize-query-params


Possibility of having a single ItemStack to merge for larger than normal item stacks on the ground

For excessively large amounts of Item entities being spawned when chests are broken (think about having over 10k cobblestone worth of items) on the ground, there's a lot of lag that ensues for clients, and usually some minor server degradation due to the excessive requests to merge the entities. It would be feasible to merge the items into one super item entity such that nearby players would still be unable to pick up more than the max stack size, but the entity would be perfectly safe to treat as the merged result, and heavily reduces lag all around.
This is more of a thought that I've had for a while to implement but never bothered.

I'm assuming this would be a disableable optimisation mixin?

It would be disabled by default I'd imagine as people would be complaining about it being "broken" ;)

Closing as we're looking into removing item-stack merging as it causes way too many headaches than it fixes.


[Add Model] Better-PairRM + Relative path

Added Better-PairRM support
Change result saving path to relative.
Benchmark Result
model:"mightbe/Better-PairRM"
model_type:"Custom Classifier"
chat_template:"tulu"
alpacaeval-easy:0.98
alpacaeval-hard:1
alpacaeval-length:0.8631578947368421
donotanswer:0.5220588235294118
hep-cpp:0.6463414634146342
hep-go:0.7134146341463414
hep-java:0.7012195121951219
hep-js:0.7073170731707317
hep-python:0.7134146341463414
hep-rust:0.725609756097561
llmbar-adver-GPTInst:0.14130434782608695
llmbar-adver-GPTOut:0.44680851063829785
llmbar-adver-manual:0.2608695652173913
llmbar-adver-neighbor:0.27611940298507465
llmbar-natural:0.72
math-prm:0.2930648769574944
mt-bench-easy:0.9285714285714286
mt-bench-hard:0.7027027027027027
mt-bench-med:1
refusals-dangerous:0.73
refusals-offensive:0.94
xstest-should-refuse:0.9675324675324676
xstest-should-respond:0.876

This is great @StableFluffy  -- can you run
make style
make quality

and fix any minor things :)

Done !

Ah I think I found the issue, could be with the redirects and how configs were defined.

Another issue is
AssertionError: <source> id not in input_ids

When trying to run on --pref_sets


awscli and other deployment tools request

I saw in the doc that you're awaiting signaling from users before adding deploy tools like awscli to the container. It would be great for these deploy tools to come packaged with the build containers as it would prevent us from building our own containers just to add these tools, seeing as most, if not everything else is provided for us in those language containers.

Until AWS CLI is included adding these steps to the config.yml will let you continue to use circleci images in builds, which seems a bit faster than building your own:
version: 2
jobs:
  build:
    docker:
      - image: circleci/node:latest
    working_directory: ~/my-app
    steps:
      - checkout

      # Run local steps before AWS is required so if they
      # fail you don't waste build time installing AWS CLI

      # Install AWS CLI
      # - include aws cli ci docker:
      #     https://github.com/circleci/circleci-images/issues/53
      # - use global install for aws and pip instead of --user:
      #     https://discuss.circleci.com/t/how-to-add-a-path-to-path-in-circle-2-0/11554
      - run: sudo apt-get update && sudo apt-get install -qq -y python-pip libpython-dev
      - run: curl -O https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py
      - run: sudo pip install -q awscli --upgrade

      # Do stuff with AWS CLI

The problem with installing awscli on every container is the large Python dependencies. It's definitely worth consideration, though.

Alternatively, would it be possible to get individual images for the deployment tools that we can use in the same way as the language containers?
We can use the workspace to share deployable artefacts between workflow jobs, and separate the concerns of building/testing and deploying.
Something like:
version: 2
jobs:
  build:
    docker:
      - image: circleci/node:latest
    working_directory: ~/my-app
    steps:
      - checkout
      - run:
          name: Build
          command: scripts/build.sh
      - persist_to_workspace:
          root: /tmp/workspace
          paths:
            - dist
  deploy:
    docker:
      # Image with awscli
      - image: circleci/awscli:latest
    working_directory: ~/my-app
    steps:
    - attach_workspace:
        at: /tmp/workspace
    - run:
        name: Deploy
        command: scripts/deploy.sh

workflows:
  version: 2
  build-deploy:
    jobs:
      - build
      - deploy:
          requires:
            - build

I agree that this would be ideal: -image: circleci/awscli:latest

We don't want to install the large Python dependencies in all the language images. There are some third-party images, like Ricardo's, that will do the trick.

Could you not have a separate aws-cli image? If inside our builds all we're wanting to do is do tasks via the aws-cli it means we have to build our own

Agreed it would be cool to have things like circleci/node-awscli:9.11 w/o having to maintain our own custom image.  It would save  ~ 20 seconds off our builds.

Its a pretty huge breaker to a lot of deployment scripts - the lack of official support for something this is a clear break of backwards compatibility added 8 months to when I would have moved my stuff to version 2.0.

One thing I don’t understand in this thread: with workflows, we are free to split the work in jobs with their own docker image and environment, so what is the need to add awscli to every language image?
I have projects with jobs that that use a python or nodejs image to run tests or build a package, and other jobs use images with awscli or even rsync to deploy in various ways.

@merwok AFAIK, you need a combination of docker cli/docker-compose and awscli because of the remote docker execution environment. CircleCI doesn't guarantee that you get the same remote docker engine across jobs (even if you pay for layer cache feature). That means you are not able to build image with docker in job A (from circleci/buildpack-deps) and then push image to AWS ECR in job B (from your custom primary image), because they may refer to different docker engines and their image regestries. At least that was last time I checked this 6 months ago, maybe something has been changed from that time. I'd be happy if someone from @circleci correct me if I'm wrong.

Indeed, in the projects I’m looking at there is a job with nodejs image to install dependencies and build, and another job uses a python image (with docker and awscli) to run steps that build then push the docker image.

@merwok You share not images from local registry, but awscli within CircleCI workspaces, isn't it? 🤔  From that point of view it makes sense. Job A builds from circleci/python image awscli, then passes AWS CLI within the workspace persistence feature to the job B, which runs docker image build and push to ECR from circleci/buildpack-deps in turn. Is it correct?

Not sure what you mean with the question «you share not images».
I’m building a docker image and pushing it to ECR or Docker Hub, in two steps of the same job.

@ryanwohara, Are you plan to create official pre-build image with awscli (kinda circleci/awscli:latest)? AWS ECR is one of the primary used registries in the wood, not only my company requires it. Of course we all move with our custome primary images, but I find it'd be nice to have it out of the box.

I was agreeing with you that the same job needs to build and push the image.
In my projects we think it’s fine.

I can't believe the amount of time I spent trying to upgrade awscli to the latest version. It doesn't matter what I add to config.yml, the node:9 image always shows an old version of awscli:
$ aws --version
aws-cli/1.11.165 Python/2.7.6 Linux/4.4.0-96-generic botocore/1.7.23

I tried upgrading using pip:
default_node_image: &default_node_image
    docker:
      - image: circleci/node:9
    working_directory: ~/repo
    steps:
      - run: sudo apt-get update && sudo apt-get install -qq -y python-pip libpython-dev
      - run: curl -O https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py
      - run: sudo pip install -q awscli --upgrade

But that didn't work either, CircleCI still shows:
$ aws --version
aws-cli/1.11.165 Python/2.7.6 Linux/4.4.0-96-generic botocore/1.7.23

It's impossible to upgrade to aws-cli/1.15.20 in order to take advantage of the latest AWS services.
I'm blocked.

I spent a lot of time trying to upgrade awscli to the latest version. It doesn't matter what I add to config.yml, the node:9 image always shows an old version of awscli:
$ aws --version
aws-cli/1.11.165 Python/2.7.6 Linux/4.4.0-96-generic botocore/1.7.23

I tried upgrading using pip:
default_node_image: &default_node_image
    docker:
      - image: circleci/node:9
    working_directory: ~/repo
    steps:
      - run: sudo apt-get update && sudo apt-get install -qq -y python-pip libpython-dev
      - run: curl -O https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py
      - run: sudo pip install -q awscli --upgrade

But that didn't work either, CircleCI still shows:
$ aws --version
aws-cli/1.11.165 Python/2.7.6 Linux/4.4.0-96-generic botocore/1.7.23

It's impossible to upgrade to aws-cli/1.15.20 in order to take advantage of the latest AWS services.

why is this closed? this is still an ongoing issue. especially now that the stretch and jessie images configurations are out of date and you can't install python/pip/awscli in other images.

Are you just optimising for image size? I'm not sure why you'd want to do that, when all of your prebuilt images will not need pulling down 99% of the time - I'd imagine they'll be cached on the machine?
Surely it would be better to optimise for customer satisfaction ¯_(ツ)_/¯


Add attribution for the shader equations, also some misc cleanup

Rename the "normal matrix" to better reflect its usage as a transform from model -> world
Don't modify the gl context, instead store information about extensions in the state
move the camera/view calculations outside of the per-mesh loop
Add information about which papers the different lighting information came from to the shader.

Thanks @snagy!


How to modify the code to call both Print and Say (ie. write and speak in unison)?

ollama.chat(model: 'llama3.1', stream: true, messages:, &Print)

The lambda version of it would be
messages = { role: 'user', content: 'Why is the sky blue (no markdown)?' }
say = Say.new
print_say = -> r { Print.(r); say.(r) }
ollama.chat(model: 'llama3.1', stream: true, messages:, &print_say)

A more elaborate example that includes the Handlers::Concern is the FollowChat class in the  ollama_chat executable: https://github.com/flori/ollama-ruby/blob/master/bin/ollama_chat#L110

Thanks! Though Print is blocking before Say gets a chance. I assume syncing them is not trivial, as Say needs the text to be generated (JiT) before it can speak it, and the words are generated at their own pace. Does the software offer this combination in any form or what is this ETA way into the future?

There seems to be an interactive mode in the macos say command, that marks the words that are currently spoken in a sentence. It can now be enabled by passing interactive: true like this https://github.com/flori/ollama-ruby/blob/master/spec/ollama/handlers/say_spec.rb#L28 for reverse video and this for arbitrary colors or terminfo capabilities by passing a string like https://github.com/flori/ollama-ruby/blob/master/spec/ollama/handlers/say_spec.rb#L41 in the Say handler.

Bit confused here... Does Ollama use the macOS say command to speak...?
(Is the Ollama Say class analogous with the macOS say command?)
Thought it had its own speech engine, with no relation to the (legacy, but maybe due for a comeback) macOS say.

This library interacts with a local ollama server, that provides access to various LLMs via its API running them on llama.cpp returning the output, which is text. The Say handler can be used to speak the returned text.


MessageHandler for Actors?

Brilliant piece of code, thank you. I can't figure out though how to initialise message handler for Actors on server side. The client is passing the headers, however where do I place the code in Actor implementation to pick them up similar to CreateServiceInstanceListeners() in reliable services?

You can override the CreateServiceReplicaListeners() method of ActorService to add the message handler like this
class MyActorService : ActorService
{
    public MyActorService(
        StatefulServiceContext context,
        ActorTypeInformation actorTypeInfo,
        Func<ActorService, ActorId, ActorBase> actorFactory = null,
        Func<ActorBase, IActorStateProvider, IActorStateManager> stateManagerFactory = null,
        IActorStateProvider stateProvider = null,
        ActorServiceSettings settings = null)
    : base(context, actorTypeInfo, actorFactory, stateManagerFactory, stateProvider, settings)
    {
    }

    protected override IEnumerable<ServiceReplicaListener> CreateServiceReplicaListeners()
    {
        return new[]
        {
            new ServiceReplicaListener(
                context => new FabricTransportActorServiceRemotingListener(
                    context,
                    new CorrelatingRemotingMessageHandler(this),
                    new FabricTransportRemotingListenerSettings()))
        };
    }
}

And host your actor using this service
ActorRuntime.RegisterActorAsync<SomeActor>(
                    (context, actorType) => new MyActorService(context, actorType)).GetAwaiter().GetResult();

works like a charm, thank you!


adjust token unit: uakt

The units we store are micro-akt; akt * 10^-6.
In all config files in this repo and elsewhere (github.com/ovrclk/docs, github.com/ovrclk/operations), change the unit from akash to uakt.
@jackzampolin is the cosmos unit ucosmos?  Will apps "just know" how to deal with u?

The cosmos unit is uatom and lunie et al expect this and can deal with it.

I've looked through ovrclk/akash and I'm not seeing many references to this deprecated unit. I'm checking the other projects now.

After looking through the repos you indicated I am only seeing this one file still using "akt" and it is a test
https://github.com/ovrclk/akash/blob/master/sdl/coin_test.go
When I looked through the docs everywhere I found coins being used it showed "uakt"


ArangoDB 3.2alpha4 Many web-interface issues

ArangoDB 3.2alpha4
I met some web issues.

Collection tab 'Info' has not info for any collection.

Collection tab 'Settings' has empty fields 'Journal size' and 'Index buckets'. Info buttons don't show popup infos.

Click on button to change database always redirects to login form with message 'You do not have permission to a database.'

@DeShadow : Did you use the default configuration or have you adjusted the storage engine?

@jsteemann I use RocksDB engine.
Collections were created from my script with arangojs.

@jsteemann I can confirm the third point but not points one and two.
Seems that 1. and 2. have a different cause than 3.
My scenario was an upgrade from a previous 3.2 alpha (don't remember which one, I think it was 3.2a2 or a3)
Using Default configuration. (mmfiles)
BTW, what level of granularity is there for choosing a storage engine and where does this happen in the GUI? Couldn't find any docs on this, besides the help of arangod

@frankmayer https://www.arangodb.com/download-technical-preview/
The alpha4 features
– pluggable storage engine: RocksDB
If you want to test ArangoDB with the new RocksDB engine, use the following:
– stop the currently running ArangoDB server
– create a new directory, for example /tmp/rocksdb
– start arangodb --server.storage-engine=rocksdb /tmp/rocksdb

@frankmayer: we're currently writing the docs for setting up the storage engine.
The granularity for selecting the storage engine is per server. That means it's not as in MySQL, where the storage engine can be different per table.

@DeShadow I definitely want to test it! ;) Thanks for the detailed info.
@jsteemann Also thanks for the info. Are there any plans in making it possible to define that per Database or Collection? (Not that I expect it to be, but flexibility comes to mind ;) )

@frankmayer: we initially thought about making the setting per collection or per database, but this would have caused too many issues.
For example, if it's per collection, then we would need to have written all changes to our WAL (to keep writes to multiple different storage engines crash-safe and consistent) and also to the storage engine. RocksDB has its own WAL however, so this would have meant lots of unnecessary writes even in the general case even if only a single storage engine is used.
Crash recovery is also much more complicated when there are multiple sources of truth and the global WAL and the engines have different versions of the data.
So we decided against it for simplicity and performance.

@jsteemann thanks for the clarification. :+1:

Thanks for the report. ( 1 ) , ( 2 ) and ( 3 ) fixed.

@hkernbach Thanks! :) When will the changes be?

@DeShadow : they will become available with the next 3.2 release (which will probably be the beta). It is expect to be released within the next two weeks.
It may become available earlier via a nightly build though.

Just got You do not have permission to a database.
on 3.2.dev nightly 2017-05-02

We apologize for any inconvenience. Sadly the frontend part is currently not part of the nightly builds. I've just added the frontent build manually d856a33f3a8a1b91cbb3054bffe9c6ffb99091d2 to the repo. So the code changes/fixes will appear in the next nightly build.

@hkernbach Thanks!

Since 3.2 Beta1 containing this fix is available, I will close this now.


Provider example

With the support of the new Provider library (as shown here), I think a new example would be worthwhile. It might help others weigh the pros and cons of it versus BLoC or Scoped Model.
Relevant docs: https://pub.dev/packages/provider

Yep, makes sense! Overall, the example will be almost Identical to the scoped_model example.
Instead of extending the Model class, you'll either mixin or extend the ChangeNotifier class.
Instead of ScopedModel / ScopedModelDescendant, you'd use ChangeNotifierProvider & Consumer.

I already created a similar app with provider here. I will submit a PR after making necessary changes.

@shakib609 Thanks for the example using Provider, but after running the app, I see your app doesn't follow the app specification. It's better if you make it consistent with the spec.

@tuanbs I modified the ScopedModel example app to use Provider as @brianegan suggested.
Did you by any chance checked this app?

@shakib609 Yes I checked and run that app but the UI is different from the app spec. I also checked the scoped_model example but I see it doesn't use provider in pubspec.yaml. Also, I'm able to run the scoped_model example on Android, but it doesn't work on iOS.

@tuanbs The app in my profile was not intended for this PR. Please check this one.

Hi @shakib609, thanks for this, it works now. I have to download the zip file (NOT the git clone ... cli) from here to get the provider example.
Also, I found you have the tutorial for this provider-example, but it's about your old app. So I think you should update this tutorial with the new one.
@brianegan It's better if you could include the tutorial for each example in the README file. For example, I found the flutter_bloc example has this tutorial as well.
Anyway, thank you very much for your great jobs guys. I learned a lot from it. Cheers.