Add cluster resource federation page

Adds a page in Federation resources list describing
clusters.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For 1.7 Features: set Milestone to 1.7 and Base Branch to release-1.7
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
NOTE: Please check the “Allow edits from maintainers” box below to allow
reviewers fix problems on your patch and speed up the review process.
Please delete this note before submitting the pull request.

This change is

Review status: 0 of 3 files reviewed at latest revision, 8 unresolved discussions, some commit checks failed.

docs/tasks/administer-federation/cluster.md, line 10 at r1 (raw file):
Previously, chenopis (Andrew Chen) wrote…
add "a": "...use Cluster in a Federation control plane."

Done.

docs/tasks/administer-federation/cluster.md, line 12 at r1 (raw file):
Previously, chenopis (Andrew Chen) wrote…
"of" -> "than"

Done.

docs/tasks/administer-federation/cluster.md, line 26 at r1 (raw file):
Previously, chenopis (Andrew Chen) wrote…
{% capture steps %} was not closed. Looks like you need an {% endcapture %} at the end of the section.

Done.

docs/tasks/administer-federation/cluster.md, line 42 at r1 (raw file):
Previously, chenopis (Andrew Chen) wrote…
"...but the command above," -> "...but received the error message above,"

Done.

docs/tasks/administer-federation/cluster.md, line 56 at r1 (raw file):
Previously, chenopis (Andrew Chen) wrote…
"in" instead of "at": "...on how to do that in the respective section in the..."

Done.

docs/tasks/administer-federation/cluster.md, line 61 at r1 (raw file):
Previously, chenopis (Andrew Chen) wrote…
suggested edit: "Converse to creating a cluster, deleting a cluster means..."

Done.

docs/tasks/administer-federation/cluster.md, line 68 at r1 (raw file):
Previously, chenopis (Andrew Chen) wrote…
"at" -> "in"

Done.

docs/tasks/administer-federation/cluster.md, line 73 at r1 (raw file):
Previously, chenopis (Andrew Chen) wrote…
suggested edits: "The full cluster API reference is currently in federation/v1beta1, and more details can be found in the Federation API reference page."

Done.

Comments from Reviewable

@chenopis looks like you need to mark the discussions as resolved

Reviewed 3 of 3 files at r2.
Review status: all files reviewed at latest revision, 8 unresolved discussions, some commit checks failed.

Comments from Reviewable

@henriquetruta Ok, I still need a tech review on this though.

@csbell Can you take a quick look at this when you get a chance? Thx

cc @madhusudancs

thanks Madhu! All your concerns are addressed

Review status: all files reviewed at latest revision, 6 unresolved discussions, some commit checks failed.

docs/tasks/administer-federation/cluster.md, line 10 at r2 (raw file):
Previously, madhusudancs (Madhusudan.C.S) wrote…
Clusters API resource or Clusters API type

Done.

docs/tasks/administer-federation/cluster.md, line 34 at r2 (raw file):
Previously, madhusudancs (Madhusudan.C.S) wrote…
We are trying to avoid using federation-cluster as a context in other docs as well. See new kubefed docs for example. Can we just say federation or my-federation or something like that?

Done.

docs/tasks/administer-federation/cluster.md, line 43 at r2 (raw file):
Previously, madhusudancs (Madhusudan.C.S) wrote…
Is this true? If you are hitting the federation endpoint and if you don't have any clusters, you should get No resources found.

That's true. I'll rephrase

docs/tasks/administer-federation/cluster.md, line 49 at r2 (raw file):
Previously, madhusudancs (Madhusudan.C.S) wrote…
"context that corresponds to a cluster that hosts the federation" or something like that.

Done.

docs/tasks/administer-federation/cluster.md, line 57 at r2 (raw file):
Previously, madhusudancs (Madhusudan.C.S) wrote…
s/federation admin guide/kubefed guide/

Done.

docs/tasks/administer-federation/cluster.md, line 69 at r2 (raw file):
Previously, madhusudancs (Madhusudan.C.S) wrote…
s/federation admin guide/kubefed guide/

Done.

Comments from Reviewable

@chenopis can you please merge this?

Reviewed 2 of 3 files at r2, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Make aframe-ar work properly with aframe-physics

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
aframe-ar and aframe-physics-system are not behaving well together. Here is an example (try with hiro marker) and the code.
I have a <a-scene physics> within a <a-marker preset="hiro">, the goal is to have a gravity applied to the objects of the scene, scene that is relative to the marker AND NOT relative to the outer <a-scene embedded arjs> scene. Thus, when I flip the marker 90degrees, objects are not "falling",  unlike in this example.
It kinda work but the fact of having 2  with one camera result in an initial error message and a lot of instability, the camera seemingly jumping from one scene to another when the hiro marker is not visible.
If the current behavior is a bug, please provide the steps to reproduce.

Please mention other relevant information such as the browser version, Operating System and Device Name
Same behavior in Mobile (Safari) and Mac (Safari, Chrome)
What is the expected behavior?
There is no error message and the AR objects disappear when the marker is not visible.
If this is a feature request, what is motivation or use case for changing the behavior?
Having Physics will open a full new range of possibilities for aframe-ar: new games, new interactive applications,... I feel it would be a beautiful addition to the current framework.

@yannklein this is a real cool and awesome idea! I would try your code, See you again when i have some news!

@yannklein  thanks for your reply.
(The examples link is not working online.) It is just what i was looking for!
I didn't know if it was already a feature, as Im new to those librairies and find it difficult to understand the dependancies, is what is the ARjs part of A-Frame? and ammo.js, cannon.js? many of them are working under the hood it seems.
May i suggest you share a link to your tutorial? It is difficult to dinf one up to date, your example helps a lot.

@ventoline sorry for the broken links! I fixed them.

I got only half of it to work, It's probably a logics issue, I want to use the marker floor to tilt the objects around, and use it as a controller. The rotations seemto happen to the marker itself, so  the children objects are not affected by movements.  hiw can i fix this? can i apply another scene's gravity to the objects? or retrive the position and rotation  of the marker to add  them to a child directly?


Tooling support for PostgreSQL

Description:
Add Tooling support for the PostgreSQL connector.
Following tooling support must be implemented,

[ ] Diagnostics
[ ] Code completions
[ ] Code actions
[ ] Formatting
[ ] Hover

Diagnostics,

[ ] int, decimal options in Options record needs to be validated for negative values.


Flow server restarting when using Visual Studio 2017

There's a problem using flow with Visual Studio. After changing file(.js or .jsx extension) with flow and save it, process flow.exe have been killed. Probably it's because of saving file by editor itself. Visual Studio create temporary file when changing something and after save it deleteting old one and replace it by temporary.
The issue with that is long time to wait , because everytime flow must restart and initialize new server over again.  In other editors issue not detected.

Confirmed in VS2015 and VS2017.

When Visual Studio save file (which is under flow server observation) flow save exception to log:
Unhandled exception: Unix.Unix_error(Unix.EPIPE, "write", "")
Raised at file "src/core/lwt.ml", line 3008, characters 20-29
Called from file "src/unix/lwt_main.ml", line 42, characters 8-18
Called from file "src/server/server.ml", line 259, characters 6-54

Same here, but didn't use VS2017, I was working with VS Code

Unhandled exception: Unix.Unix_error(Unix.EPIPE, "write", "")
Raised by primitive operation at file "src/unix/lwt_unix.cppo.ml", line 648, characters 38-65
Called from file "src/unix/lwt_unix.cppo.ml", line 563, characters 17-28
Re-raised at file "src/server/server.ml", line 246, characters 6-77
Re-raised at file "src/server/server.ml", line 197, characters 2-191
Re-raised at file "src/server/server.ml", line 243, characters 4-363
Re-raised at file "src/core/lwt.ml", line 3008, characters 20-29
Called from file "src/unix/lwt_main.ml", line 42, characters 8-18
Called from file "src/server/server.ml", line 259, characters 6-54

We have decent support in VSCode now. We don't plan any Visual Studio specific integration


Fix #547 Add callback for components discovered.

Add the ability to register a callback so the application can be notified when individual components are added.
See example/takeoff_land for usage example.

@julianoes @JonasVautherin comments addressed :)

Testing right now, will merge ASAP.


Execution Context fuzzer is relatively slow

Execution Context fuzzer has a low cycle rate making it inefficient at finding bugs.
Execution Context fuzzer currently completely initializes and terminates the runtime, which is relatively slow. It would be better to keep the runtime around and instead just close all outstanding handles.

#3989 fixes this issue.


Merge remote-tracking branch 'refs/remotes/pwnwiki/master'

Initial round of updates from https://github.com/madhuakula/wincmdfu. Gotten up to "Export wireless connection profiles"

Not sure how but it doesn't look like a single file was changed here. @tekwizz123 can we close this?

Yeah this is old now. Feel free to close it.


Refreshing subreddit will only load limited numbers of posts

Build 1.0.3.
Iphone 7 plus
IOS 11.4.1

This has happened to me a few times when browsing the frontpage. Here’s a screencast of it happening to me. I don’t know if it’s related, but after that I went to r/all and after scrolling down it a lot the app crashed, and when I reopened the app, the problem was gone

Screencast of my issue.


CI: Issue Triage Bot

Repo: https://github.com/fluttercandies/triage_bot_for_flutter_photo_manager/tree/main/pkgs/issue_triage_bot

CC @AlexV525


--smart-case or --ignore-case doesn't seem to be honoured when paired with -g

I can't seem to search all files, with a word in the file names in varying case.

This is still relevant.  Can we hope for a fix?

Related to #724. This was fixed in commit 347d33690e44602afb5bc6838abc2e1340065fe3.


Added baggage support

without this change there is no support for context propagation
with this change whenever you pass the baggage-... for http or baggage_ for messaging headers then such a value will be propagated through your system
fixes #237

Current coverage is 74.38% (diff: 84.78%)

Merging #440 into master will increase coverage by 0.05%

@@             master       #440   diff @@
==========================================
  Files           140        140
  Lines          2950       2991    +41
  Methods           0          0
  Messages          0          0
  Branches        406        414     +8
==========================================
+ Hits           2193       2225    +32
- Misses          578        583     +5
- Partials        179        183     +4

Powered by Codecov. Last update 6f24c88...064b415


[SNAP-1202] Reduce serialization overheads of biggest contributors in queries

What changes were proposed in this pull request?
Optimizes the biggest contributors to serialization overhead in simple queries.

Properties serialization in Task now walks through the properties and writes to same buffer
instead of using java serialization writeObject on a separate buffer
Cloning of properties uses SerializationUtils which is inefficient. Instead added
Utils.cloneProperties that will clone by walking all its entries (including defaults if requested)
Separate out WholeStageCodegenExec closure invocation into its own WholeStageCodegenRDD
for optimal serialization of its components including base RDD and CodeAndComment.
This RDD also removes the limitation of having a max of only 2 RDDs in inputRDDs().

How was this patch tested?
snappydata precheckin

Merging now. Will take care of any comments subsequently.


arcface(s=64,m=0.5) Accuracy is worse than Softmax

train data:
glint360Datasets(https://github.com/deepinsight/insightface/blob/master/recognition/partial_fc/README.md);
1、 First，train baseline model with R50-Softmax
2、Second，Train ArcFace-Softmax by finetune the backbone using Step1 Backbone model . the acc is lower then origin softmax;

I have not finetuned using arcface, but the result does not seem reasonable.

I have not finetuned using arcface, but the result does not seem reasonable.
train stretch using arcface has a better performance ?

training from scratch using arcface is better than softmax. i think properly finetune on softmax with arcface should better softmax


Move ValidationError from consensus to block validator

The ValidationError in consensus is probably better situated in the block validator.

Tech debt. Refactoring ticket.


fix: remove whitespace and line breaks from map keys

I've come across an issue using this package with the latest version of postcss-cli (6.1.3) where map keys can not be found due to line breaks and whitespace being present within the map.

Hi, thanks for take time to fix the issue.
I have few concerns:

There is a potential bug inside your code.
You are removing all spaces inside a map string which can cause errors if user use value with spaces: map-get((borderInfo: solid #FFF), borderInfo).
I'm ok for removing \n and friends characters, but space should remain at least inside value.
Could you please add unit test to check this scenario?

Pull Request Test Coverage Report for Build 68

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 65:
0.0%

Covered Lines:
128

Relevant Lines:
128

💛  - Coveralls

Pull Request Test Coverage Report for Build 68

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 65:
0.0%

Covered Lines:
128

Relevant Lines:
128

💛  - Coveralls

Hey @marcalexiei nice one! I've pushed up those changes. How's it looking now?


Provide a pretty printer type class for network traces

For various traces we abuse the 'Show' instance by providing a show which
does pretty printing.  Instead, we should declare a seprate type class for
pretty printing traces and use that one instead.  Quite often for debugging
purposes it is much easier to work with a default 'Show' instance.

Duplicate of #3883.


Fix couch_jobs to be less flaky

It turns out fabric is dependent on couch_jobs because of db expiration module.
So when couch_jobs was restarted multiple times per test case it could have
brought down fabric. However, since couch_jobs needs fabric for transactional
stuff it ended up brining couch_jobs app down as well.
To fix it:

Switch to explicitly starting/stopping fabric and couch_jobs together

Break apart bad_messages* tests to individually test each type of message
as app restarts in the middle of the tests kept killing fabric and
intermittently killing couch_jobs a well.

Also make the tests look nicer by re-using ?TDEF_FE macros from
fabric2_test, this we can avoid the ?_test(begin... end). pattern.

Remove meck:unload since we don't really meck anything in the module

Don't need to spend time cleaning out database as we don't really create
that many dbs (just one) and that one gets cleaned out in its own test.

To test run:
  make eunit apps=couch_jobs

Or just observer the jenkins CI tests
(It might be easier to inspect the diff by doing a split view and also ignore whitespace changes)

Thank you for this PR, @nickva !
I'm getting some fails on my machine: https://gist.github.com/bessbd/906e50015a8ace1432f11538a08151e1 (I got Failed: 8. on a previous run.)
Do you have them all passing when you run them locally?

@bessbd thanks for taking a look! Good find.
They should be passing yeah. I saw the passed in Jenkins and locally for me so I submitted the PR. But there is still some flakiness in there it seems.
Could you share more about your environment so I can reproduce the issue (Erlang version? Do you use docker?)

Could you share more about your environment so I can reproduce the issue (Erlang version? Do you use docker?)

[donat:~/couchdb] 23a2d3709* 24m44s ±  erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().'  -noshell "21"
No docker.
Please let me know if you need any further info.

@bessbd thank you!
Would you be able to fetch the logs in src/couch_views/.eunit/couch.log and share in gist or txt attachment.

@bessbd thank you!
Would you be able to fetch the logs in src/couch_views/.eunit/couch.log and share in gist or txt attachment.

[donat:~/couchdb] 23a2d3709* 7h45m25s ± ls -la  src/couch_views/.eunit
ls: src/couch_views/.eunit: No such file or directory

I got a src/couch_jobs/.eunit/couch.log though if that's what you meant: https://gist.github.com/bessbd/d34d94f9888993d07b149ce88684428d

@bessbd sorry, I mean couch_jobs, thanks for the logs.
No obvious errors based on the failures so far.  I can probably update few places to do the test_util:wait(...) pattern to wait for the value to change.

To see if the db_expiration circular dependency on couch_jobs is messing up the tests would you mind trying running the tests with this diff:
diff --git a/src/fabric/src/fabric2_db_expiration.erl b/src/fabric/src/fabric2_db_expiration.erl
index 92f22e749..4a79e5474 100644
--- a/src/fabric/src/fabric2_db_expiration.erl
+++ b/src/fabric/src/fabric2_db_expiration.erl
@@ -56,7 +56,7 @@ start_link() ->

 init(_) ->
     process_flag(trap_exit, true),
-    {ok, #st{job = undefined}, 0}.
+    {ok, #st{job = undefined}, 99999999}.

We are basically disabling db expiration from initialization and using couch_jobs, so then when it restart, it doesn't bring fabric application down. Wonder if you'd see a different set of failures with that or no difference at all.

(git diff && make eunit apps=couch_jobs 2>&1) |pbcopy

If we get a consistent green in CI, then I think we should merge this and let's figure out what could be wrong later.

I'll merge then and make a new issue to keep track of the failure @bessbd found

New issue https://github.com/apache/couchdb/issues/3417


Error reading template "root_url" not defined

After fetching the latests changes, I am getting the following error:

Error reading templates template: stories/views/sitemap.xml.got:4: function "root_url" not defined

Do I miss anything ? What is the purpose of root_url ?

For this particular problem, the definition of the function is just this:
view.Helpers["root_url"] = func() string {
		return server.Config("root_url")
	}

So you need this key in your fragmenta.json file, and you need this helper defined (I think it is currently in app/setup.go - just add it with the url you want to use for the server and it should work fine.
The purpose of this is to remove hard-coded refs to Golang News or related urls from the code so that the software can be used for other sites.  If you're actively using it, it might be best to lock to a slightly earlier version and upgrade once v2 comes out (I'd also be interested to hear what you're using it for).
I'm in the middle of a large change to the project to move it to a newer router (most of those changes are not yet checked in to master, but they're coming soon in a v2.0). That will include breaking changes to handlers (new handler signature), and extensive tests which are long overdue. It will have breaking changes though as it's a move to a version 2 of the forum, and will include a few other improvements.

Ok, thanks, I fixed it.
That is a great idea and I cannot wait for the v2! I am not using it actively yet. I just have a project which is simply a social news aggregator website targeted to the startup ecosystem in London. I was planning to deploy it soon, but as you are thinking about releasing some breaking changes, I may postpone it (again..) until the release of the v2.


Work Flow

can anyone tell me how the control flows from .html file in any application of hyper ledger fabrics

the readme goes through this.

look at the Application Communication Flow section for the high level view + picture
next look at the readme again, but the code structure section to learn where the code lives
next back to the readme and follow the actual code path with the Marbles Deeper Dive section

closing, inactivity


Remove dependency from metrics to serializer

What does this PR do?
Remove the dependency from metrics package to serializer.
This PR moves the metrics serialization logic to the new package metricsserializer.
This is a big PR but there is no code change. Functions were moved from the metrics package to the  metricsserializer package. The content of the functions did not changed.
It is recommend to review commit by commit.
Note: The content of metricsserializer will be moved to pkg/serializer/metrics in a later PR.

Motivation
serializer package must depend on metrics and not the opposite.
One of the drawback of having metrics depends on serializer is that is require to have many interfaces: https://github.com/DataDog/datadog-agent/blob/df965be7ee8bb02173efb0a6ae308bd304a4613b/pkg/serializer/marshaler/marshaler.go#L15-L53 Another PR will remove these interfaces.

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] The appropriate team/.. label has been applied, if known.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

The macos needs a rebase, I think


fixed broken link to react toolbox homepage

Link to homepage is broken, fixed it.

sorry, i don't have a clue why travis fails here. it was basically just a broken link I fixed :). are there any configuration needs i have to send with the pr?

Travis failing was my bad. It's ok, thanks!


fix: show correct asset name for staking info

Description

this was hardcoded to osmo - this now uses a selector to get the correct asset name from the assetId param
Notice

[ ] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

n/a - found in release testing
Risk

low - asset name should appear correctly
Testing

follow the same steps used to discover this bug
Screenshots (if applicable)

merging as this passes CI locally and will pass CI on the release branch before going to prod


externalRootDirectory returning internal path

I'm using this plugin to make a file browser based on the sdcard folders, but when using the externalRootDirectory string it returns the internal fs not the sdcard.
Regards
André

After some research i've started using the diagnostics plugin to get the SDCard real path,
now when using:
Test 1
checkdir("file:///storage/0123-4567/Android/data/<my-app>/files" , "")
returns 57 directories

Test 2
checkdir("file:///storage/0123-4567/" , "Android/data/<my-app>/files") // returns returns {"code":1,"message":"NOT_FOUND_ERR"}
How can i list the folders inside an SDCard folder?
Regards
André


Compile Error with LOG_LEVEL lower than LOG_INFO

I encountered an unused variable error when trying to compile with LOG_LEVEL_WARNING flag.
The bug comes from(https://github.com/cmu-db/peloton/blob/6b154b312e57aa10b573ce596ed95c3b51c566a2/src/brain/index_tuner.cpp#L438), where the valid_index_count is used only to print the log. When LOG_LEVEL is lower, it becomes useless.
The whole error is:
/home/tianyic1/peloton/src/brain/index_tuner.cpp: In function ‘void peloton::brain::PrintIndexInformation(peloton::storage::DataTable*)’:
/home/tianyic1/peloton/src/brain/index_tuner.cpp:438:9: error: unused variable ‘valid_index_count’ [-Werror=unused-variable]
   oid_t valid_index_count = table->GetValidIndexCount();

This was fixed in #693.


Failed to fetch info for package apr-util-ldap.x86_64

Hi,
I've got a centos 8.5.2111 ed I'd like to migrate it to rocky linux.
It's in a virtualized environment, so may be there are more repository than expected, but it seems to fail on a standard package, isn't it?
Can You please report expected repo to be active, so I can try to disable the other one?
Attached report log.
Thanks a lot!
M.
migrate2rocky.log

The problem is that you have a 3rd-party repository enabled that dnf cannot access.  The problematic repository is "qubes-vm-r4.1-current".  If you fix that reposotory (by perhaps pointing to a different mirror that works) or disable that repository then migrate2rocky should work at that point.

Hi,
thanks for your suggestion.
Indeed after disabled 3rd-party repo, I still got no luck.
Thanks,
M.
migrate2rocky.log

I will need some more info to find out exactly what is happening here:
Can you find the following line in migrate2rocky (should be line 689):
infomsg $'\n'"Getting system package names for $PRETTY_NAME"
...and following it add:
set -x
Then run migrate2rocky again and attach the new log here for me to review.

Hi,
thanks for your support.
Attached extended log.
Cheers,
M.
migrate2rocky.log

I see what the issue is.  Can you issue the following command and then try again:
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Linux-Base.repo
...if it works then it means that I need to tweak migrate2rocky to recognize that older filename.

Hi,
may be that all repos have to be moved?
Attached new log.
Thanks,
M.
migrate2rocky.log

Hi,
also after moved all repo, still no luck.
Thanks,
M.
migrate2rocky.log


'Self' does not have a member

'Self' does not have a member type named 'Generator'; did you mean 'Generator'?

@gitCommitLit Did you still have this issue? I was able to fix it in code but I had issues running the app on Mojave and just haven't had a chance to look at it again.


Add passcode hashing

Description
This PR hashes passcodes before saving them to the database. This is an added security measure.
Changes

Use bcryptjs to hash passcodes before saving a new URL to the database
Decode hashed passcodes on the server-side when checking if submitted passcode matches

Closes #19
BREAKING: Introduces change to saved DB values. Old URLs created before this change will need to be purged.


search the : from the end in region specifications

@jwbargsten just curious could you mention the reference assembly motivating this?

@mlin anyone using hs38DH will likely run into this as it has contigs for all the HLA alleles, named like HLA-A*01:01:01:01, so a region would confusingly look like HLA-A*01:01:01:01:1-100.

@mlin I work in plants. Here much less stuff is standardized. In my case I received an assembly from the sequencing company with colons in the IDs. But you can also see it in publicly available genomes, if you e.g. have a look at the gene names of Micromonas pusilla CCMP1545 v3.0.
For sure I could have converted it, but first of all I would have to remap IDs every time and, secondly, I thought: perhaps other people have this problem, too. So why not solve it at the source. I had a look at samtools, there the colon is also searched from the back.

I think this is no longer relevant now that #383 has been merged


[Tests]Cascading --pull to build.sh

When e2e test scripts call build-antrea-linux-all.sh with --pull, it actually doesn't pass this option to build.sh for base images building. Fix it by cascading --pull to build.sh in build/images/ovs and build/images/base folder, which can help to reduce image building time.

/test-multicluster-e2e

/test-ipv6-e2e

@antoninbas do you mean we didn't pass --pull with purpose? we want to build antrea/openvswitch image every time?

@antoninbas do you mean we didn't pass --pull with purpose? we want to build antrea/openvswitch image every time?

Yes, it is intentional. The point of this script is to ensure the freshness of the final image, and to ensure build consistency.
For example, if a new ubuntu:22.04 image is available with security updates, we want to make sure that the security updates are included in the final image, which means that base images need to be rebuilt. Similarly, if a script or Dockerfile has changes for a base image, it needs to be rebuilt and used to produce the final antrea image.
I just checked a CI job and caching is working correctly. See this job for example: https://github.com/antrea-io/antrea/actions/runs/4670605748/jobs/8270558842. It completes in about 5 minutes and the cache is used for all base / intermediate images. Docker correctly detects that everything is the same (ubuntu:22.04 base image, Dockerfiles, etc) and that it is not actually necessary to rebuild the image.
2023-04-11T18:06:22.7586095Z Step 1/5 : FROM ubuntu:22.04 as ovs-debs
...
2023-04-11T18:06:25.3852489Z Step 15/15 : COPY --from=cni-binaries /opt/cni/bin /opt/cni/bin
2023-04-11T18:06:25.6034483Z  ---> Using cache
2023-04-11T18:06:25.6059530Z  ---> 78c9f5fcf3cc
2023-04-11T18:06:25.6060486Z Successfully built 78c9f5fcf3cc
2023-04-11T18:06:25.6072016Z Successfully tagged antrea/base-ubuntu:antrea-v1.12

Based on the above, it takes 3 seconds to "re-build" all intermediate images.
You write "which can help to reduce image building time.". This would only apply if the intermediate images need to be re-built, indicating that something has changed and that a new build is necessary. It can also indicate that there is a bug in the script / caching.


Code Coverage - TypeScript

https://github.com/vladwulf/nestjs-api-tutorial . .stores('userAt', 'access_token'); and in another test .withHeaders({ Authorization: 'Bearer $S{userAt}', }) doesn't work. E.g the pactum doesn't store access_token correctly to the userAt variable????


BADGE REQUEST [USERNAME#0001]

What is your Discord Tag?
FValentine#0881
What is your UID (User ID)?
452802233277612052
What is the image for the badge that you want? Please make sure that the image is hosted on a trusted domain, such as i.imgur or cdn.discordapp.

Additional Confirmation:

[x] My badge does not contain any NSFW material.
[x] My badge is not a badge that signifies that I am an official developer / staff for Discord or client mod communities.

Added!


[WIP]test

@irisdingbj: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
db143680f5491ae9f0bb82803dc1ff74747419f6
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Test 1.39.0

--- Releases ---
Android release: https://appdistribution.firebase.google.com/testerapps/1:305132849030:android:6cf0cd5ec064fad3ffce07/releases/2273q121e82hg
iOS release: https://appdistribution.firebase.google.com/testerapps/1:305132849030:ios:06ea33a95a2e0d42ffce07/releases/5073jatc6tn0o

Tested and verified the issue on ghost folders. Closing this one.


Add final touch

[x] Added styling for each odd number of listItems.

@laiifuu Thanks for the review. 😄


Hide send-to-kindle-button when printing

It makes no sense to print the button.
I suggest using:
@media print { .mercury-send-to-kindle-button {display: none;} }

Nobody agrees?


Typewriter Effect for Name

I can add a typewriter effect on the name. It will enhance the UI and make the site more fun!
Please assign me this issue under Hacktoberfest2024.

I believe we should keep the contents static, as this gives a sleek appearance and appeals to a variety of use cases. Therefore, I will close it.


Feature Request: IO Write Literal with Interpolation

IO Write Literal with Interpolation
Would it be possible to add an IO literal syntax that functions identically to the String literal syntax except writes to an arbitrary IO instead of a new StringBuilder?
Motivation:
I am generating large text files. Currently if I use String literals it creates a String which is then immediately dumped into an IO (File Descriptor/STDOUT/Socket). This would cause a chunk of memory to be acquired, filled, copied to, copied from, and then deleted. Instead I have written some helper functions which take in a tuple and then writes each entry directly to the IO device. I am sure I am not the only one who has had to do similar. Something like an IO write literal would could dramatically reduce the complexity and improve the readability.

I proposed this in https://github.com/crystal-lang/crystal/issues/1267 . It wasn't very liked (I like it, though).
Duplicate of #1267

Sorry for the duplicate, I looked but didn't find it. Thanks.


Support for Apple Silicon?

Is this planned? Is any help that can be offered to enable this?

That's really easy. Slack-term is written in golang, so just build it yourself.


WIP: [all] Support REPO_LOCATION in Makefile

What this PR does / why we need it:
Support REPO_LOCATION argument in Makefile. Because dockerhub can't be used in openlab, we need to support another container registry location for CI jobs.
Which issue this PR fixes(if applicable):
fixes #
Special notes for reviewers:

Release note:

NONE

/test cloud-provider-openstack-acceptance-test-lb-octavia

/test cloud-provider-openstack-acceptance-test-lb-octavia


New Preload Breaks Existing Config

Any existing project which has overridden the default config will break when upgrading to 1.3.0 due to the new preload flag not having a value and defaulting to null when it is required to be a bool.
TypeError: Spatie\GoogleFonts\GoogleFonts::__construct(): Argument #7 ($preload) must be of type bool, null given, called in //vendor/spatie/laravel-google-fonts/src/GoogleFontsServiceProvider.php on line 25

Updating the project config to include the preload key fixes this. Suggest adding a default false value for this new key

Pushed a hotfix to fall back to a boolean when the setting is not provided. Thanks for the heads up!


Drop redis pub sub and use lists instead

@davydovanton Can you please explain the reason of this?

Of course!
I see two different problems with redis pub-sub.
The first: event persistence
Imagin situation: we have one instance with broadcaster and one with a subscriber. If an instance with subscriber will down, we lose all events which will broadcast at this time.
With redis list, we can save all events in one place and process it at any time
The second: call event only one time
Imagin situation: we have one instance with broadcaster and two with a subscriber. We broadcast user.created event and all instances get it and process. In this case, we'll send notifications to user two or more times. Other examples: we broadcast order.refund event and our order will refund two or more times, and we lost money or something else.
Redis list has atomic push and pull. It's mean that only one instance can get event and process it.

@davydovanton Thanks for the quick reply.

Is this somehow related to #32 ?
Do you plan to use https://redis.io/commands/rpoplpush#pattern-reliable-queue ?

@jodosha

yep
you're right. Sidekiq use it for working with queue. And I think that we should use it too


Ping ball game score keeper

Issue Type:

[ ] Bug Report
[x] Feature Request
[ ] Documentaion

**Ping Pong Ball Score Keeper **

A website where a user can keep score for their game and restart the game again.

Screenshots
 Counting Scores

I WANT TO WORK ON THIS ISSUE UNDER GSSOC'22.


Pin TLSv1.2

A workaround for https://github.com/napstr/Magma/issues/29

Cleaning up my PR Github tab, this has been open long enough and there appears to be no interest.


OBS Studio (exit code 6) another program using this

If we can confirm exit code 6 is returned because another program is using OBS Studio, we should add the appropriate expected return code to the manifest.
 i had this problem with  Exitcode: 6 and obsstudio through winget upgrade obsproject.obsstudio. i found out it was because of skype. used powershell. winget upgrade obsproject.obsstudio didn't work. used cmd as admin. winget upgrade obsproject.obsstudio didn't work. restarted. winget upgrade obsproject.obsstudio didn't work. deinstalled obsstudio. winget install obsproject.obsstudio didn't work. downloaded the exe from obsstudio-site, executed it and surprisingly it said, it can't be installed because of ... SKYPE? maybe skype used obsproject as webcam, idk. killed skype. started winget install obsproject.obsstudio. worked.

Originally posted by @hueldoeu in https://github.com/microsoft/winget-cli/issues/245#issuecomment-1535125237

closing skype wasn't difficult. i am satisfied so far with ms products. what really is annoying is e. g.
Microsoft Visual C++ 2005 Redistributable                  Microsoft.VCRedist.2005.x86 8.0.59193    8.0.61001    winget
Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.30… Microsoft.VCRedist.2013.x86 12.0.30501.0 12.0.40664.0 winget
i can't winget upgrade them (wingen't upgrade). the thunderbirds are my problem. i f*ed up my windows 10. next pc won't have this problem. what really is strange is that microsoft doesn't have control on it's own products like i said these Microsoft Visual C++ Redistributable OR MS Teams! doesn't microsoft want to be the better zoom? i have been at so many online-seminars. teams is a pain in the a. even skype wasn't too bad. teams is difficult to use. difficult to handle. first version of zoom was SUPER! winget upgrade teams isn't also possible. thats why i will delete it soon on this pc and use the browser-version of teams. the android version of teams is also BAD.
winget.txt

If we can confirm exit code 6 is returned because another program is using OBS Studio, we should add the appropriate expected return code to the manifest.

The code is already in the manifest -
https://github.com/microsoft/winget-pkgs/blob/9079fe0d5924279749c00f0cbbc4d80d26dfdfb1/manifests/o/OBSProject/OBSStudio/29.1.0/OBSProject.OBSStudio.installer.yaml#L14-L16

the thunderbirds are my problem.

Based on the file you provided, it seems like the Thunderbird issues may be happening because there are two separate versions of Thunderbird installed. I know that winget uninstall Mozilla.Thunderbird -v 78.5.1 won't work in your scenario, but perhaps winget uninstall 'Mozilla Thunderbird 78.5.1 (x64 de)' will work. Then you will have only one version of Thunderbird which should allow you to run the upgrade

the thunderbirds are my problem.

Based on the file you provided, it seems like the Thunderbird issues may be happening because there are two separate versions of Thunderbird installed. I know that winget uninstall Mozilla.Thunderbird -v 78.5.1 won't work in your scenario, but perhaps winget uninstall 'Mozilla Thunderbird 78.5.1 (x64 de)' will work. Then you will have only one version of Thunderbird which should allow you to run the upgrade

well ....... you have to emphasise MY and not the word problem. the thunderbird is my own problem and shouldn't stress anybody besides me. it's my own fault and was just an experiment. i have a mail-adress similar to gmail but i pay for it and it's from my country. i access the mails via imap and i wanted to have a mail-client like thunderbird which starts from my SOHO-server so that every client-pc can access the mails. i failed. i lost. i have installed thunderbird on the server, i have set up the target of where the mails will be downloaded (server is better because huge free storage and centralized). didn't really pay out and then i have installed thunderbird on each client-PC and access on the data and save the data on the server. this also didn't work so well. so i decided to just connect windows mail and calender (soon called one outlook or sth like that) and thunderbird on every client-PC directly with the mail-server over imap smtp and yes, this works. sadly the data will be downloaded on every pc simultanously, so i decided to create an extra partition on an extra drive and yes thunderbird is downloading and uploading everything on the extra partition, where it's installed.
i am very sure that with a new installation the thunderbird-problem will be solved. i learned from my mistakes and that maybe in the future there will be a software for collaborative working on one mail-adress via imap and smtp but not now.
i have to buy new PCs for my office since windows 11 isn't supported so the thunderbird problem will be solved.
i really wish a revolution for e-mail like i can easily set up a mail server with postfix, but it will not be accepted by the most freemails like gmail or yahoo mail or outlook and i wish something like i have set up a mail adress by some company, university,  something like that and they have some extra software because it's not hard using email-clients en masse but the data will be stored multiple times each on a client-PC. why not stored on a server, which gets the mail via imap and WAN and the client-PCs  just communicate with the SOHO-server in LAN and the data is only saved on the SOHO-server and ofcourse the e-mail server.

Morning,
Stumbled upon this issue and thanks to Process Monitor I was able to determine why the installer was failing with the message:
"Installer failed with exit code: 6"
Found OBS Studio [OBSProject.OBSStudio] Version 29.1.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
Installer failed with exit code: 6
Files modified by the installer are currently in use by a different application. Exit the applications then try again.

Turns out that Microsoft Teams (Teams.exe) was somehow interfering with the installer. Closing it solved the issue.

OBS has built-in functionality to mimic a webcam as an output device. So it's about every messaging app that may use it. I have succesfully updated after closing Discord and Telegram. Thanks for the tip

closing the Microsoft Edge works for me

I found another blocker, LogiTune, an app by Logitech to manage certain Logitech hardware.

OBS has built-in functionality to mimic a webcam as an output device. So it's about every messaging app that may use it. I have succesfully updated after closing Discord and Telegram. Thanks for the tip

This statement is holding up. For me, it was Nvidia Broadcast blocking the installation.

For whatever reason, but in my case it was "Podman Desktop" which was blocking the installation.
Is it possible to enforce it?

Garmin Express and Deepl also seem to block upgrading.

How do you guys figure out which program is preventing it from upgrading? are you just trial and erroring by disabling certain apps through your terminal? Especially keen to know how you got to that screenshot page @kristapsesterlins

exclusion principle through task manager

How do you guys figure out which program is preventing it from upgrading? are you just trial and erroring by disabling certain apps through your terminal? Especially keen to know how you got to that screenshot page @kristapsesterlins

Hi,
The tool in the screenshot is Process Monitor - https://learn.microsoft.com/en-us/sysinternals/downloads/procmon

even edge wants to be an attention-guy

the problem is now that i can't deactivate edge. restarting the computer didn't help.

even edge wants to be an attention-guy  the problem is now that i can't deactivate edge. restarting the computer didn't help.

Technically you could remove it if by using christitustech his window utility in an elevated powershell type: irm christitus.com/win | iex  > head to tweaks > advanced tweaks and remove it from there. if you are heavily invested into office365, Onedrive and MS teams I wouldn't recommend this as it can break things. but if you don't its a safe option to do so

even edge wants to be an attention-guy  the problem is now that i can't deactivate edge. restarting the computer didn't help.

Technically you could remove it by using christitustech his window utility in an elevated powershell type: irm christitus.com/win | iex > head to tweaks > advanced tweaks > select remove ms edge and run the tweaks > edge should now be removed. If you are heavily invested into Office365, Onedrive and MS teams I wouldn't recommend this as it can break things. but if you don't its a safe option to do so

had to cmd =>
tasklist
taskkill /f /im msedge.exe
taskkill /f /im msedgewebview2.exe
https://www.youtube.com/watch?v=WeJNOypsWDM
one task was very nasty (msedgewebview2) and when i have killed it in the task manager, it killed other msedgewebview2's too and revived them instantly. i looked for the path and renamen the file msedgewebview2.exe in
C:\Program Files (x86)\Microsoft\EdgeWebView\Application\122.0.2365.92
to msedgewebview22.exe. then i killed msedgewebview2 in the task manager again. it didn't appear again. then cmd => winget upgrade obsproject.obsstudio and upgrade was successful.
i rerenamed msedgewebview22 back to msedgewebview2, but doubleclick on it or opening edge didn't allow it to come back to task manager, it was missing.
restarting helped to revive msedgewebview2.exe.

I encountered this problem as well, and found that Facebook's Messenger app was using OBS for some reason.

I have the same problem
For me it was Playnite

The response code has been updated for a while now, so WinGet should show the correct error message.
Close with reason: Resolved;

Another for the list:  Samsung Magician

Another for the list: Nvidia Broadcast (C:\Program Files\NVIDIA Corporation\NVIDIA Broadcast\NvVirtualCamera\NVIDIA Broadcast.exe)

When I run %Temp%\WinGet\OBSProject.OBSStudio.30.2.3 >OBS-Studio-30.2.3-Windows-Installer.exe manually, this pops up:
---------------------------
OBS Studio 30.2.3 Setup
---------------------------
OBS files are being used by the following applications:

Intel(R) Arc(TM) Control Assist

Please close these applications to continue setup.
---------------------------
Retry   Cancel
---------------------------

i think the in-built update function of obs works quite well

sometimes i use cmd => winget search OBSProject.OBSStudio on specific PCs or Laptops with windows 10/11 and as everyone knows it doesn't work become some programs are using obs as a virtual webcam but on some specific PCs or Laptops it can be over 7 programs which are running in background and running in RAM like zoom, skype, edge, asus armoury, nvidia broadcast, ...
but since the last few times where obs itself asked me to upgrade, i used the update function of obs itself (instead of cmd => winget upgrade or unigetUI) and it took more time to be honest but it never caused any problems and i've never had to close any programs which prevent the update of obs.


Adds virtualworkspaceurls-controller

Summary
This PR adds a new controller (virtualworkspaceurls) that populates a new status field in the WorkloadCluster resource: syncerVirtualWorkspaceURLs.
The SyncerVirtualWorkspaceURLs are built by concatenating several fields:
"http://external-host/services/syncer/demo:root:yourworkspace/test-cluster"

'http://external-host': ClusterWorkspaceShard external-url
'/services': virtualworkspacesoptions.DefaultRootPathPrefix
'/syncer': synceroptions.SyncerVirtualWorkspaceName
'demo:root:yourworkspace': WorkloadCluster ClusterName.
'/test-cluster': WorkloadCluster Name.

The controller will look for changes in the ClusterWorkspaceShards and WorkloadClusters resource in all KCP workspaces.
Related issue(s)
https://github.com/kcp-dev/kcp/issues/1012

few nits. Otherwise, looks good.


Please share a trained model

It would greatly help researchers if you could share a trained model for testing purposes. Thank you.

Sorry, no plans for model release.


Update scripts and snapshot

I added a variable in here that you don't use, but I have a diff strategy for start scripts. Working on updating the ansible-generation of those soon.

Hi, @bensig
The .gitignore you removed is in place to stop individuals from adding private/personal configs to the public repo.
Please separate the snapshot handler fix into a separate pull request.
I will review your alternative start script proposal separately when it is complete.
Thank you for contributing to Nodesuite!


tools/autopep8.sh has changed its format scheme in recent environements

I noticed this when I switched my dev environment yesterday from fedora:38 to fedora:39. It seems with my fedora:39 environment, the cmake --build build --target autopep8 target changes many (or all?) of the .py file's format. This is obviously terrible as we can't have different dev environments formatting differently between them.
I'm not sure what the issue is yet. The pip freeze is identical between them:
fedora:38:
╰─➤  pip freeze
autopep8==1.5.3
pycodestyle==2.6.0
toml==0.10.2

fedora:39:
╰─➤  pip freeze
autopep8==1.5.3
pycodestyle==2.6.0
toml==0.10.2

I suppose this is likely due with the upgrade from Python 3.11 in fedora:38 to Python 3.12 in fedora:39. I'm not sure yet however.

I think the following autopep8 issue is the cause:
https://github.com/hhatto/autopep8/issues/712
Looking at the diffs generated with Python 3.12 locally, it seems like they do indeed relate to format strings.

We addressed this issue by moving to yapf from autopep8:
https://github.com/apache/trafficserver/pull/10860


Objects are being invalidated for no reason.

!!! MANDATORY TO FILL OUT !!!

Goals

Use realm object inside AFNetworking Block
Expected Results

Object should not be invalidated in between the start of the AFNetworking call and the completion of it.
Actual Results

Object was invalidated even though I have 0 "deletion" code in the entire project.
Steps to Reproduce

Call a POST request using AFNetworking and check the object in the completion block.
Code Sample

- (void)uploadImage:(Image *)image completion:(void(^)(Image *doneImage))callback {
    Image *i = [[JTFRealmManager sharedJTFRealmManager] getImageForUUID:image.uuid];
    //Confirmed, i exists here. No problems
    NSMutableURLRequest *request = [[AFHTTPRequestSerializer serializer] multipartFormRequestWithMethod:@"POST" URLString:BACKENDIMAGEUPLOAD parameters:nil constructingBodyWithBlock:^(id<AFMultipartFormData> formData) {
        [formData appendPartWithFileURL:[NSURL fileURLWithPath:i.filePath] name:@"image" fileName:i.fileName mimeType:@"image/jpeg" error:nil];
    } error:nil];

    NSURLSessionUploadTask *uploadTask;
    uploadTask = [self.manager
                  uploadTaskWithStreamedRequest:request
                  progress:^(NSProgress * _Nonnull uploadProgress) {

                  }
                  completionHandler:^(NSURLResponse * _Nonnull response, id  _Nullable responseObject, NSError * _Nullable error) {

                      if (error) {
                          NSLog(@"Error: %@", error);
                          dispatch_async(dispatch_get_main_queue(), ^{
                               //i is magically invalidated here. No objects exist in realm suddenly
                              self.currentImage = nil;
                              self.currentTask = nil;
                              [self.queue addObject:i];
                              callback(nil);
                          });
                      } else {
                          dispatch_async(dispatch_get_main_queue(), ^{
                             //i is magically invalidated here. No objects exist in realm suddenly
                              [[JTFRealmManager sharedJTFRealmManager] updateImage:i url:[[responseObject objectForKey:@"link"] stringByRemovingPercentEncoding]];
                              self.currentImage = nil;
                              self.currentTask = nil;
                              callback(image);
                          });
                      }
                  }];
    [uploadTask resume];

    self.currentImage = i;
    self.currentTask = uploadTask;
}

Version of Realm and Tooling

ProductName:	Mac OS X
ProductVersion:	10.13.6
BuildVersion:	17G2208
/Applications/Xcode.app/Contents/Developer
Xcode 9.4.1
Build version 9F2000
/usr/local/bin/pod
1.5.3
Realm (3.7.6)
/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
(not in use here)
/usr/bin/git
git version 2.15.2 (Apple Git-101.1)

I guess a reboot fixed this issue.  Closing.


version: change version to 0.8.1-SNAPSHOT

Signed-off-by: slievrly<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
version: change version to 0.8.1-SNAPSHOT
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1488 into develop will decrease coverage by <.01%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #1488      +/-   ##
=============================================
- Coverage      45.75%   45.74%   -0.01%
  Complexity      1667     1667
=============================================
  Files            347      347
  Lines          12713    12713
  Branches        1589     1589
=============================================
- Hits            5817     5816       -1
  Misses          6253     6253
- Partials         643      644       +1

Impacted Files
Coverage Δ
Complexity Δ

.../src/main/java/io/seata/core/protocol/Version.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...server/store/file/FileTransactionStoreManager.java
45.99% <0%> (-0.35%)
19% <0%> (ø)

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 c0150b1...69e0753. Read the comment docs.


[BYO LLVM] dynamic module does not define moudle export function (PyInit_runtime) error

Hi,
I tried to bring my own llvm using iree/build_tools/llvm/byo_llvm.sh, and completed build (install) without any errors. After that when I tried to run a SHARK-Turbine aot example, I got following error.
(iree) ➜  aot_mlp git:(main) ✗ python3 mlp_export_simple.py
Traceback (most recent call last):
  File "/home/peter/github/SHARK-Turbine/examples/aot_mlp/mlp_export_simple.py", line 12, in <module>
    import shark_turbine.aot as aot
  File "/home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/shark_turbine-0.9.4.dev1-py3.10.egg/shark_turbine/aot/__init__.py", line 7, in <module>
    from .compiled_module import CompiledModule
  File "/home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/shark_turbine-0.9.4.dev1-py3.10.egg/shark_turbine/aot/compiled_module.py", line 18, in <module>
    from . import builtins
  File "/home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/shark_turbine-0.9.4.dev1-py3.10.egg/shark_turbine/aot/builtins/__init__.py", line 7, in <module>
    from .globals import *
  File "/home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/shark_turbine-0.9.4.dev1-py3.10.egg/shark_turbine/aot/builtins/globals.py", line 12, in <module>
    from ..support.procedural import (
  File "/home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/shark_turbine-0.9.4.dev1-py3.10.egg/shark_turbine/aot/support/procedural/__init__.py", line 13, in <module>
    from .base import *
  File "/home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/shark_turbine-0.9.4.dev1-py3.10.egg/shark_turbine/aot/support/procedural/base.py", line 32, in <module>
    from ..ir_utils import (
  File "/home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/shark_turbine-0.9.4.dev1-py3.10.egg/shark_turbine/aot/support/ir_utils.py", line 24, in <module>
    from ...dynamo.type_conversion import (
  File "/home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/shark_turbine-0.9.4.dev1-py3.10.egg/shark_turbine/dynamo/__init__.py", line 8, in <module>
    from .tensor import (
  File "/home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/shark_turbine-0.9.4.dev1-py3.10.egg/shark_turbine/dynamo/tensor.py", line 24, in <module>
    from ..runtime.device import (
  File "/home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/shark_turbine-0.9.4.dev1-py3.10.egg/shark_turbine/runtime/__init__.py", line 7, in <module>
    from .device import *
  File "/home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/shark_turbine-0.9.4.dev1-py3.10.egg/shark_turbine/runtime/device.py", line 13, in <module>
    from iree.runtime import (
  File "/home/peter/github/iree-byollvm-build/iree/runtime/bindings/python/iree/runtime/__init__.py", line 13, in <module>
    from . import _binding
  File "/home/peter/github/iree-byollvm-build/iree/runtime/bindings/python/iree/runtime/_binding.py", line 19, in <module>
    from .._runtime.libs import _runtime
ImportError: dynamic module does not define module export function (PyInit__runtime)

Could anyone point me out the reason why it doesn't work?
BTW: In the same environment, I can run the AOT example well with the one located https://github.com/openxla/iree/tree/main/third_party.
Thanks

cc @ScottTodd who was in the loop of the discussion

The error message here matches https://github.com/openxla/iree/issues/14644. You could try turning lld off here: https://github.com/openxla/iree/blob/6aa3a8b5ed69fe10186bb86628b8afca24cd5913/build_tools/llvm/byo_llvm.sh#L179-L181

I wonder if this has anything at all to do with byo llvm vs just being a gcc/lld issue with the python runtime.
The specific error is interesting: that is built by nanobind, which does a fair number of toolchain specific optimizations as part of its build. Would I wouldn't expect a problem, if there was a subtle incompatibility, it doesn't surprise me that it would surface in this bit.

This hypothesis could easily be tested by only building the runtime. It has no dependency on llvm and should be invariant to byo llvm vs an in tree build.

The error message here matches #14644. You could try turning lld off here:
https://github.com/openxla/iree/blob/6aa3a8b5ed69fe10186bb86628b8afca24cd5913/build_tools/llvm/byo_llvm.sh#L179-L181

Seems like this solution doesn't work ?
(iree) ➜  llvm git:(tmp) python3 ~/github/SHARK-Turbine/examples/aot_mlp/mlp_export_simple.py
module @MLP {
  func.func @main(%arg0: tensor<1x2xf32>) -> tensor<1x2xf32> attributes {torch.args_schema = "[1, {\22type\22: \22builtins.tuple\22, \22context\22: \22null\22, \22children_spec\22: [{\22type\22: \22builtins.list\22, \22context\22: \22null\22, \22children_spec\22: [{\22type\22: null, \22context\22: null, \22children_spec\22: []}]}, {\22type\22: \22builtins.dict\22, \22context\22: \22[]\22, \22children_spec\22: []}]}]", torch.return_schema = "[1, {\22type\22: null, \22context\22: null, \22children_spec\22: []}]"} {
    %0 = torch_c.from_builtin_tensor %arg0 : tensor<1x2xf32> -> !torch.vtensor<[1,2],f32>
    %1 = call @forward(%0) : (!torch.vtensor<[1,2],f32>) -> !torch.vtensor<[1,2],f32>
    %2 = torch_c.to_builtin_tensor %1 : !torch.vtensor<[1,2],f32> -> tensor<1x2xf32>
    return %2 : tensor<1x2xf32>
  }
  func.func private @forward(%arg0: !torch.vtensor<[1,2],f32>) -> !torch.vtensor<[1,2],f32> {
    %int1 = torch.constant.int 1
    %0 = torch.aten.add.Tensor %arg0, %arg0, %int1 : !torch.vtensor<[1,2],f32>, !torch.vtensor<[1,2],f32>, !torch.int -> !torch.vtensor<[1,2],f32>
    return %0 : !torch.vtensor<[1,2],f32>
  }
}
IREE was not built with support for LLD
Linking failed; escaped command line returned exit code 256:

LLD_VERSION=IREE /home/peter/github/iree-byollvm-build/iree/compiler/bindings/python/iree/compiler/_mlir_libs/iree-lld -flavor gnu -o /tmp/main_dispatch_0-3bf6f6.so --build-id=none -nostdlib -static -shared --no-undefined --no-allow-shlib-undefined --allow-multiple-definition --gc-sections -z now -z relro --discard-all --icf=all --ignore-data-address-equality --ignore-function-address-equality --hash-style=sysv /tmp/main_dispatch_0-3bf6f6.o

loc("<eval_with_key>.0 from /home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/torch/fx/experimental/proxy_tensor.py:477 in wrapped":5:0): error: failed to link executable and generate target dylib (check above for more specific error messages)
loc("<eval_with_key>.0 from /home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/torch/fx/experimental/proxy_tensor.py:477 in wrapped":5:0): error: failed to serialize executable for target backend llvm-cpu
loc("<eval_with_key>.0 from /home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/torch/fx/experimental/proxy_tensor.py:477 in wrapped":5:0): error: failed to serialize executables
Traceback (most recent call last):
  File "/home/peter/github/SHARK-Turbine/examples/aot_mlp/mlp_export_simple.py", line 52, in <module>
    compiled_binary = exported.compile(save_to=None)
  File "/home/peter/miniconda3/envs/iree/lib/python3.10/site-packages/shark_turbine-0.9.4.dev1-py3.10.egg/shark_turbine/aot/exporter.py", line 139, in compile
    raise RuntimeError("Compilation failed: See diagnostics")
RuntimeError: Compilation failed: See diagnostics

I wonder if this has anything at all to do with byo llvm vs just being a gcc/lld issue with the python runtime.
The specific error is interesting: that is built by nanobind, which does a fair number of toolchain specific optimizations as part of its build. Would I wouldn't expect a problem, if there was a subtle incompatibility, it doesn't surprise me that it would surface in this bit.

So if I choose clang for all (llvm + mlir + iree), then this issue won't happen. I'll try this one.

Might be worth taking a step back and hearing more about what problem you're actually trying to solve. Using the Python bindings (and SHARK-Turbine) with the BYO LLVM path is a tricky combination that I'm not sure if anyone else has tried before. The AOT workflows in particular could be decoupled - use stock SHARK-Turbine (with IREE's LLVM) to generate input .mlir/.mlirbc files and then feed those in to your own native tool builds (iree-compile with BYO LLVM or some custom compiler tool).

Might be worth taking a step back and hearing more about what problem you're actually trying to solve. Using the Python bindings (and SHARK-Turbine) with the BYO LLVM path is a tricky combination that I'm not sure if anyone else has tried before. The AOT workflows in particular could be decoupled - use stock SHARK-Turbine (with IREE's LLVM) to generate input .mlir/.mlirbc files and then feed those in to your own native tool builds (iree-compile with BYO LLVM or some custom compiler tool).

Yeah, you might be right. Neither of above solutions doesn't work for me. So far I don't have a real problem to solve, just a preparation for bring our own compiler into IREE + SHARK-Turbine combination.
If as you said the BYO LLVM + SHARK-Turbine is a tricky one, how about just replace iree/third_party/llvm-project with my own one?

I'm not saying what you are doing can't work, but I'm not aware of any core devs who have tried it. Do know through the grapevine of folks who have.
If you're able to talk more about what you are trying, we could try to chat at an upcoming community meeting and see if anyone has free advice on which paths are the least likely to encounter monsters...

I'm not saying what you are doing can't work, but I'm not aware of any core devs who have tried it. Do know through the grapevine of folks who have.
If you're able to talk more about what you are trying, we could try to chat at an upcoming community meeting and see if anyone has free advice on which paths are the least likely to encounter monsters...

Thanks @stellaraccident. Let me put it this way. I want to adapt IREE + SHAKR Turbine + PyTorch on our own gpGPU. As we have already had a full software stack which is quite similar to CUDA, I think it'll not be as hard as creating a new MLIR based inference tool from zero.
I've already tested that the IREE runtime part works as I imagined on our software stack. Now I'm trying to bring our own compiler which is also LLVM based into IREE. Obviously we have two options, one is replace iree/thrid_party/llvm-project with ours, the other one is using BYO LLVM tool. That's the whole story, and I'm fine with the first solution, but it'll be neater to have solution 2 worked for me.

Nice. I am reasonably certain that what you encountered with the runtime is incidental in some way. It can almost certainly be fixed and it's a bug in the build system having to do with how symbols are exported from a nanobind extension.
Smashing two llvm based compilers together is not something to be undertaken lightly. If you're not coupled to the exact tooling flow that the cuda backend uses, I might be looking for a lighter weight way to interface the frontend to backend, possibly even by invoking your backend compiler at the NVVM equiv level as a cl tool before going for a complete one-llvm solution.


Add Vision College

@Wulingoh lib/domains/nz/ac/visioncollege: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@Wulingoh Thank you for your patience while waiting for a review and processing your request. Pull request merged. Thank you!


New version: DiffResults v1.0.0

Registering package: DiffResults
Repository: https://github.com/JuliaDiff/DiffResults.jl
Created by: @andreasnoack
Version: v1.0.0
Commit: 41e3a16f52c08af4e65359a09d59d4e863320a46
Reviewed by: @andreasnoack
Reference: https://github.com/JuliaDiff/DiffResults.jl/commit/41e3a16f52c08af4e65359a09d59d4e863320a46#commitcomment-36261073

Whats breaking in https://github.com/JuliaDiff/DiffResults.jl/compare/v0.0.4...master ?

Dropping Julia 0.6 and 0.7 and bumping StaticArrays from 0.5 to 0.8.

Neither of those can break usercode though, right?

I don't think so but I think the bot here asks me to make it a minor release and since that is breaking when < 1.0.0 I thought I'd make it 1.0.0. I'm fine just bumping the patch number if you'll merge it.

I think that is best, the bot is a bit confused with old Julia versions like that.

On the other hand, it is easier in the future to have 3 version numbers to play with, so maybe we can just merge this and let packages update.

But shouldn't this version at least support newer staticarrays?

Indeed. What is the process for updating the release proposal?


updated copyrights in comments

fixes issue #482

Can one of the admins verify this patch?

Can one of the admins verify this patch?

[ ] Is it mergable?
[ ] Did it pass the tests?
[ ] If it introduces new functionality in scripts/ is it tested?
Check for code coverage.
[ ] Is it well formatted? Look at make pep8, make diff_pylint_report,
make cppcheck, and make doc output. Use make format and manual
fixing as needed.
[ ] Did it change the command-line interface? Only additions are allowed
without a major version increment. Changing file formats also requires a
major version number increment.
[ ] Is it documented in the ChangeLog?
[ ] Was a spellchecker run on the source code and documentation after
changes were made?

Jenkins, ok to test

Hi @Magentashades is this ready for review? If so please fill out the checklist (above) and ping us. thx!


as a developer i need to setup the initial project

a frontend folder, containing a deno2 react template project, with relevant gitignore
a backend folder, containing a  dotnet 8 api template project, with relevant gitignore

branch has been created


how to use? can i use this in some embed v8 env to support wrtc?

can you provide a wasm file? and a demo?  thank you !

Hi, this project actually provides the reverse use case: it allows accessing an existing WebRTC JavaScript API from wasm code. It is meant for wasm code running in a browser.

I would also like to see a demo and also a pre built wasm file so that i don't have to build or install any additional complicated emscripten stuff.

A pre-build wasm file does not make much sense, because the wrapper has to be linked statically by an external C++ project, which will built the wasm file.


Add support for Laravel 10

Support for Laravel 10 would be greatly appreciated.

Apologies for a years delay - I wasn't using the package and had no time to update.
Support has been added for Laravel 10 and 11 today with Version 3.1.0


Include app tracking transparency from AppLovin Max

AppLovin Max by default provide tracking transparency, It will be really helpful for people to use it if we can include it in our easy ads plugin
https://dash.applovin.com/documentation/mediation/flutter/getting-started/consent-flow#consent-flow

it doesn;t give us callback


Added OpenDaylight barclamp

Moved OpenDaylight barclamp from crowbar-opendaylight to crowbar-nfv.

The code in the old crowbar-opendaylight and this pull request is not the same. Please double check

Why not just a simple rename?

@rsalevsky: That makes sense to me. @hwoarang, @nkukreja: Can we do that ?

fine by me.

Closing the pull request. Renaming the original opendaylight barclamp will fix this.


DNS inside overlay network not working (CentOS 7)

This is a repost of https://github.com/docker/docker/issues/20026.
It got closed, the topic died. However, the issue seems to still be here.
Output of docker version:
Client:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 16:16:33 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 16:16:33 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 4
 Running: 4
 Paused: 0
 Stopped: 0
Images: 4
Server Version: 1.10.2
Storage Driver: devicemapper
 Pool Name: docker-253:3-17700697-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 1.601 GB
 Data Space Total: 107.4 GB
 Data Space Available: 22.19 GB
 Metadata Space Used: 3.092 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.144 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.107-RHEL7 (2015-12-01)
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: overlay bridge null host
Kernel Version: 3.10.0-327.10.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 6
Total Memory: 7.797 GiB
Name: n1
ID: WP23:YQON:7YTL:WFXI:WFWM:JL65:7GOA:FUKP:PISL:3IQ3:S3AH:VPBZ
WARNING: bridge-nf-call-ip6tables is disabled
Labels:
 role=node
Cluster store: consul://<IP_ADDRESS>:8500
Cluster advertise: x.x.x.x:2375

Additional environment details (AWS, VirtualBox, physical, etc.):
In my environment, all Swarm members are VSphere VMs within a single VLAN.
Steps to reproduce the issue:

Get a bunch of CentOS 7 boxes
yum -y update; service firewalld disable; echo 'setenforce 0' >> /etc/rc.d/rc.local; chmod +x /etc/rc.d/rc.local; reboot
Create a Swarm cluster on top of the setup
Create a single overlay network
Run some explicitly named containers attached to the overlay network during creation (docker -H ... run.... --name=container --net=somenet ...)
Check name resolution inside the overlay network

Describe the results you received:
Containers inside the overlay network are reachable only by IP address.
This is taken straight from my environment:
# docker -H :3375 inspect nginx
(...)
"Networks": {
                "back": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "d19de8c0c094736867cc31bef04835ff5c7bdca60e9718e742bb0fdd20c3a0ab",
                    "EndpointID": "cc80db1d3f4344199ae1aad935af5e407f037078458dbf912e873a34ef6e8746",
                    "Gateway": "",
                    "IPAddress": "<IP_ADDRESS>",
                    "IPPrefixLen": 24,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:0a:00:00:02"
                }

# docker -H :3375 inspect test2
(...)
 "Networks": {
                "back": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "d19de8c0c094736867cc31bef04835ff5c7bdca60e9718e742bb0fdd20c3a0ab",
                    "EndpointID": "4e42570aff2a6b9a0501f29aa3d65814c40baa57505c474c30db0ad941f7c71b",
                    "Gateway": "",
                    "IPAddress": "<IP_ADDRESS>",
                    "IPPrefixLen": 24,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:0a:00:00:04"
                }

[root@nginx /]# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.777 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=0.389 ms`
[root@nginx /]# ping test2
ping: unknown host test2

Describe the results you expected:
Containers should be mutually reachable by their given names. (<IP_ADDRESS> seems somewhat wrong (?))
Additional information you deem important (e.g. issue happens only occasionally):
Disabled SElinux and firewalld as suggested in the previous thread - no success.
Any advice is welcome.

<IP_ADDRESS> is the embedded DNS IP address that is used to resolve the container names.
can you also share the details :

docker network ls
docker network inspect back
docker run commands that you used to run the containers

@Garreat Can you also run the daemon in debug mode (-D flag) and send the logs when you try to resolve a name ?
In one case with the VSphere created VMs I have seen the queries having .localdomain suffixed resulting in resolution failure.

Thank you for your replies.
@mavenugo
# docker network ls
NETWORK ID          NAME                DRIVER
d19de8c0c094        back                overlay
ea93c074f83f        docker_gwbridge     bridge
a9736e0ed732        bridge              bridge
8c9288bc0640        none                null
91defff87752        host                host

I have checked all nodes, looks good.
# docker -H :3375 network inspect back
[
    {
        "Name": "back",
        "Id": "d19de8c0c094736867cc31bef04835ff5c7bdca60e9718e742bb0fdd20c3a0ab",
        "Scope": "global",
        "Driver": "overlay",
        "IPAM": {
            "Driver": "default",
            "Options": null,
            "Config": [
                {
                    "Subnet": "<IP_ADDRESS>/24",
                    "Gateway": "<IP_ADDRESS>/24"
                }
            ]
        },
        "Containers": {
            "2d0ff82c3743d81d0f66f39c4dcee036d76e6a77d7a6dc2c713549cbc79aeb3a": {
                "Name": "nginx",
                "EndpointID": "cc80db1d3f4344199ae1aad935af5e407f037078458dbf912e873a34ef6e8746",
                "MacAddress": "02:42:0a:00:00:02",
                "IPv4Address": "<IP_ADDRESS>/24",
                "IPv6Address": ""
            },
            "3e3d80734e1267254a7f649b5519f94c29e672a317866756468d478a82e58664": {
                "Name": "test4",
                "EndpointID": "d68a022bc7083e4c8eab2186353bd9ee89eec170aba1466ec3d805347df1c5a7",
                "MacAddress": "02:42:0a:00:00:05",
                "IPv4Address": "<IP_ADDRESS>/24",
                "IPv6Address": ""
            },
            "5ed769faf2a72148c5ef46f4f4d4f6676e87d0242b9fe72b81542a8764dec452": {
                "Name": "test3",
                "EndpointID": "d56318845a403ae3eb5e78b5d7fe466c15c417bf3d1b588ea34a5cbc3c18cdac",
                "MacAddress": "02:42:0a:00:00:03",
                "IPv4Address": "<IP_ADDRESS>/24",
                "IPv6Address": ""
            },
            "66b224242f382e2d164ae17d1a566a27b568526fb9cc5532c95812bfa51ce35c": {
                "Name": "test2",
                "EndpointID": "4e42570aff2a6b9a0501f29aa3d65814c40baa57505c474c30db0ad941f7c71b",
                "MacAddress": "02:42:0a:00:00:04",
                "IPv4Address": "<IP_ADDRESS>/24",
                "IPv6Address": ""
            }
        },
        "Options": {}
    }
]

Queried Swarm master (-H :3375) to show that some containers actually are there.
The run commands were:
docker -H :3375 run -d --hostname test2 --name test2 --net=back -e constraint:role==node test-image
docker -H :3375 run --hostname nginx --name nginx -d --net=back -e constraint:role==front ngx2
Constraint ensures separate nodes.
@sanimej
The suffix could be an interesting trace... well I didn't expect a reply from <IP_ADDRESS>:
[root@nginx /]# ping test2.localhost
PING localhost (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from localhost (<IP_ADDRESS>): icmp_seq=1 ttl=64 time=0.028 ms
64 bytes from localhost (<IP_ADDRESS>): icmp_seq=2 ttl=64 time=0.033 ms
^C
--- localhost ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.028/0.030/0.033/0.006 ms
[root@nginx /]# ping test2.localdomain
PING localhost (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from localhost (<IP_ADDRESS>): icmp_seq=1 ttl=64 time=0.028 ms
64 bytes from localhost (<IP_ADDRESS>): icmp_seq=2 ttl=64 time=0.034 ms

However...
[root@nginx /]# ping does-not-exist.localdomain
PING localhost (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from localhost (<IP_ADDRESS>): icmp_seq=1 ttl=64 time=0.026 ms
64 bytes from localhost (<IP_ADDRESS>): icmp_seq=2 ttl=64 time=0.047 ms
64 bytes from localhost (<IP_ADDRESS>): icmp_seq=3 ttl=64 time=0.036 ms
64 bytes from localhost (<IP_ADDRESS>): icmp_seq=4 ttl=64 time=0.042 ms

Then I rebuilt the Swarm with (-D) for each engine, re-created 'back' network:
docker -H :3375 network create back
and re-launched the containers:
docker -H :3375 run -d --hostname test2 --name test2 --net=back -e constraint:role==node test-image
docker -H :3375 run --hostname nginx --name nginx -d --net=back -e constraint:role==front ngx2
IPs:
# docker -H :3375 inspect nginx
(...)
"IPAddress": "<IP_ADDRESS>"

# docker -H :3375 inspect test2
(...)
"IPAddress": "<IP_ADDRESS>"

Same result:
[root@nginx /]# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.394 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=0.329 ms
^C
--- <IP_ADDRESS> ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.329/0.361/0.394/0.037 ms
[root@nginx /]# ping test2
ping: unknown host test2

I track the logfile on nginx container's host, but nothing specific to DNS stuff...
Mar 29 17:25:21 dockgw1 docker: time="2016-03-29T17:25:21.293496968+02:00" level=debug msg="Watch triggered with 5 nodes" discovery=consul
Mar 29 17:25:22 dockgw1 docker: time="2016-03-29T17:25:22.368150635+02:00" level=debug msg="Calling GET /v1.15/containers/json"
Mar 29 17:25:22 dockgw1 docker: time="2016-03-29T17:25:22.368211591+02:00" level=debug msg="GET /v1.15/containers/json?all=1&size=0"
Mar 29 17:25:22 dockgw1 docker: time="2016-03-29T17:25:22.370804571+02:00" level=debug msg="Calling GET /v1.15/volumes"
Mar 29 17:25:22 dockgw1 docker: time="2016-03-29T17:25:22.370850646+02:00" level=debug msg="GET /v1.15/volumes"
Mar 29 17:25:22 dockgw1 docker: time="2016-03-29T17:25:22.373628612+02:00" level=debug msg="Calling GET /v1.15/networks"
Mar 29 17:25:22 dockgw1 docker: time="2016-03-29T17:25:22.373673735+02:00" level=debug msg="GET /v1.15/networks"
Mar 29 17:25:22 dockgw1 docker: time="2016-03-29T17:25:22.435626195+02:00" level=debug msg="Calling GET /v1.15/images/json"
Mar 29 17:25:22 dockgw1 docker: time="2016-03-29T17:25:22.435676739+02:00" level=debug msg="GET /v1.15/images/json?all=1"
Mar 29 17:25:24 dockgw1 docker: time="2016-03-29T17:25:24.211709784+02:00" level=debug msg="2016/03/29 17:25:24 [DEBUG] memberlist: Responding to push/pull sync with: <IP_ADDRESS>:44873\n"
Mar 29 17:25:26 dockgw1 docker: time="2016-03-29T17:25:26.210274819+02:00" level=debug msg="2016/03/29 17:25:26 [DEBUG] memberlist: Initiating push/pull sync with: <IP_ADDRESS>:7946\n"
Mar 29 17:25:29 dockgw1 docker: time="2016-03-29T17:25:29.990918935+02:00" level=debug msg="2016/03/29 17:25:29 [DEBUG] memberlist: Responding to push/pull sync with: <IP_ADDRESS>:42670\n"

I'm rebuilding my nginx container now to include stuff like host, dig etc.
In the meantime, feel free to comment.

@Garreat we are looking for the docker daemon logs. Please start the daemon with -D flag and pass on the daemon logs when the problem happens.

The above is a grep from /var/log/messages.
Should I look elsewhere? Check this out:
# cat /lib/systemd/system/docker.service; ls /var/log
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network.target docker.socket
Requires=docker.socket

[Service]
Type=notify
ExecStart=/usr/bin/docker daemon -D -H fd:// -H tcp://<IP_ADDRESS>:2375 --insecure-registry <IP_ADDRESS>:5000 --cluster-store consul://<IP_ADDRESS>:8500 --cluster-advertise eno16780032:2375 --label role=front
MountFlags=slave
LimitNOFILE=1048576
LimitNPROC=1048576
LimitCORE=infinity
TasksMax=1048576
TimeoutStartSec=0

[Install]
WantedBy=multi-user.target
anaconda       cron-20160314  lastlog           messages-20160306  secure-20160314   spooler-20160328
audit          cron-20160320  maillog           messages-20160314  secure-20160320   tallylog
boot.log       cron-20160328  maillog-20160306  messages-20160320  secure-20160328   tuned
btmp           dmesg          maillog-20160314  messages-20160328  spooler           wpa_supplicant.log
btmp-20160302  dmesg.old      maillog-20160320  ppp                spooler-20160306  wtmp
cron           firewalld      maillog-20160328  secure             spooler-20160314  yum.log
cron-20160306  grubby         messages          secure-20160306    spooler-20160320

journalctl --follow -u docker.service gives me the same exact output (nothing DNS related), and the level=debug and [DEBUG] appear so I guess the logging itself is fine (?).
Maybe I will start the daemon manually, skipping systemd.

@Garreat fully qualified name of a container in the docker domain is conatiner_name.network_name; in your case its test2.back. Can you try ping test2.back ?

[root@nginx /]# ping test2.back
ping: unknown host test2.back

@Garreat I think this is something to do with the container. Can you please share the details on the nginx container and how you run it ?. Do you have any script in that container that cleans up the iptables or modifies the rules by any chance

The Dockerfile is:
FROM centos:7
EXPOSE 80 443
(...nginx built from source...)
CMD ["nginx", "-g", "daemon off;"]

Nothing much customized there, iptables/firewalld are not present in centos:7.
docker build -t ngx2
docker -H :3375 run --hostname nginx --name nginx -d --net=back -e constraint:role==front ngx2
Not experiencing any problem with this process.
[root@nginx /]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  51732  3136 ?        Ss   15:06   0:00 nginx: master process nginx -g daemon off;
nobody       8  0.0  0.0  52160  1776 ?        S    15:06   0:00 nginx: worker process
root        76  0.0  0.0  13372  1936 ?        S    18:15   0:00 -bash
root        89  0.0  0.0  49020  1756 ?        R+   18:15   0:00 ps aux

Eh...
firewalld somehow got enabled on nginx container's node (was off on test2 container's host).
Disabled it, restarted the engine, removed all containers (without contacting Swarm master), rejoined node to the Swarm. Surprisingly I wasn't able to run the nginx container again:
# docker -H :3375 run --hostname nginx --name nginx -d --net=back -e constraint:role==front ngx2
dae7cfe6830fbd57287cf173ab13d95723133aedfdd3192ada18f718ae4e603e
docker: Error response from daemon: 500 Internal Server Error: service endpoint with name nginx already exists.

When entered:
docker -H :3375 network inspect back
I saw that the network 'back' still has nginx container registered, although the container itself was long gone (lost the terminal output, sorry).
So I tried:
docker -H :3375 network disconnect back nginx
But still received docker: Error response from daemon: 500 Internal Server Error: service endpoint with name nginx already exists..
Could be somewhat related to https://github.com/docker/docker/issues/20398 - but I'm not using compose or recent restart policies here.
Anyway, I rebuilt the Swarm from scratch...
[root@nginx /]# ping -c2 test2
PING test2 (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from test2.back (<IP_ADDRESS>): icmp_seq=1 ttl=64 time=0.445 ms
64 bytes from test2.back (<IP_ADDRESS>): icmp_seq=2 ttl=64 time=0.402 ms

--- test2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.402/0.423/0.445/0.029 ms

That's it.
Sorry for wasting your time... looking forward for some nice firewalld integration!


os syscalls: add getifaddrs to singleton

Commit Message: os syscalls - add getifaddrs to singleton
Additional Description: this PR reverts #18566 and adjusts code in order to be able to compile against android in Envoy Mobile
Risk Level: low, new API. Also tested against existing code.
Testing: existing UT.
Signed-off-by: Jose Nino<EMAIL_ADDRESS>

@mattklein123 still not done updating. I will ping you when this is ready for review.


lodash 4.x findWhere calls failing in latest build from master.

lodash 4.x findWhere calls are failing in latest build from master.

@satishc1 @tabladrum  - Fix for this issue is available in PR https://github.com/capitalone/Hygieia/pull/1397
Lodash change log reference - https://github.com/lodash/lodash/wiki/Changelog#compatibility-warnings


Some Content is covered by BottomNavigationBar

Some Content(Green Color) is covered by BottomNavigationBar. Not work NestedScrollView, ScrollView...

add paading to your recyclerview/nested scroll view : and set cliptoPadding property as false


Feature: CD-122 Import with keyphrase and set password

Summary (Please recap what you changed or fixed)

Partially reuse createWallet reducer
Create common CreatePasswordPage in web-extension/Common folder
Each module (Create Wallet, Import Keyphrase) will have its own CreatePasswordPage component as the container for specific logic. E.g:
Import Keyphrase: should import and render CreatePasswordPage

Checklist (If you won't pass this checklist please comment why)

[x] I removed all commented or unnecessary code.
[ ] Provide the screenshots due to UI changed or bug fixed
[ ] My code has covered these test cases (please list down your tested cases):

hi @hoailinh1210 ,
There's a minor bug in Heading when User is in Password entering page. The root cause is previously we manually updated the heading when User was re-checking words in Creating new Wallet mode.
Actual:

Expected:

Solution:

In common/CreatePasswordPage , there are still logics related to Creating Wallet. (E.g: setHeader(generateCWHeader(currentStep));)
Create a new component inside web-extension/CreateWallet, called CreatePasswordContainerPage

// CreatePasswordContainerPage.js
import CreatePasswordPage from "@cd/common/CreatePasswordPage";

const CreatePasswordContainerPage = () => {
  // Move heading logic into this component
  const [, setHeader] = useOutletContext();

  /**
   * Reset header so OuterHeader can show correct name
   */
  useEffect(() => {
    setHeader(generateCWHeader(currentStep));
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, []);

   return <CreatePasswordPage />
}

Let me know if you need any addition support,
Cheers

One minor thing, make sure ESLint is running correctly in your VSCode. There should be some warning highlights like this:

Thanks,

There's a minor bug in Heading when User is in Password entering page. The root cause is previously we manually updated

Hi @duc-q ,
Can we refactor CreatePasswordPage and create props with headerTitle with the default Enter password?

@hoailinh1210
I moved the heading logic into its own parent component. Please see this commit for further info:
https://github.com/CasperDash/casperdash-client/pull/130/commits/e80f29dede9c40be4ea138f5bb0f64012d09285e
Please review and recheck overall, otherwise this PR looks good to me.
Cheers

There's a minor bug in Heading when User is in Password entering page. The root cause is previously we manually updated

Hi @duc-q , Can we refactor CreatePasswordPage and create props that have headerTitle with the default Enter password?

@hoailinh1210
I moved the heading logic into its own parent component. Please see this commit for further info:
https://github.com/CasperDash/casperdash-client/commit/e80f29dede9c40be4ea138f5bb0f64012d09285e
Please review and recheck overall, otherwise this PR looks good to me.
Cheers

@hoailinh1210 @duc-q we have to clear state after create/import wallet, as some sensitive info e.g recovery phase still there.
Please help to check

@hoailinh1210 @duc-q we have to clear state after create/import wallet, as some sensitive info e.g recovery phase still there. Please help to check

@djhahe
Updated in this PR: https://github.com/CasperDash/casperdash-client/pull/134
The clearing state is already embedded,
Thanks,


left/right eye only behavior on quad layers

I have been using UEVR with VDXR and have been loving it.  There is a "2D mode" on UEVR that will toggle the game out of full VR to a stereoscopic version in theater mode.  On Oculus Link it is stereoscopic while it is a flat, overlapping left and right eye in VD.  I asked Praydog about this and he thinks that "VDXR may not be implementing the left/right eye only behavior for the quad layers"
Is this something that can be implemented?
There are some games that look better and all the elements show up in "2D mode" currently and not in VR mode, so I switch to Oculus Link for that, which I would prefer not to since VD is a lot better.

Not going to be supported, this is too significant of an effort for a very uncommon feature only used by 1 app.

Reopening for further assessment.

I did take a closer look and prototyped some code, and while this is achievable, the use case is still too uncommon to justify the full effort of releasing then maintaining the new code.


Show count for Object #241

Please check my PR

#240
#241

Please check my PR

#240
#241

The author doesn't seem to be updated. Maybe you can release a new Chrome extension. I think your PR is very helpful.

@SharidaLi
hi
I want to your opinion,
but, I can't ...
because I think that's wrong.
I wait for @tulios
thanks you @SharidaLi


05 controllers specs

Hello dear reviewer. I hope you are having a great day.
Description
In this project, I have set up tests for the controllers recently added to the Blog app. This involved creating Request spec files for all controllers and ensuring good test coverage for each controller action.
General Requirements

Ensured no linter errors are present.
Implemented the correct Gitflow.
Documented the work in a professional and clear manner.

Ruby Requirements

Adhered to the provided list of best practices for Ruby.

Project Requirements

Added RSpec as a gem to the project.
Created Request spec files for the PostsController and UsersController.
In each Request spec, the following checks were implemented for each action:

Verified that the response status was correct.
Ensured the correct template was rendered.
Checked that the response body included the correct placeholder text.

Key Highlights

Controller Tests: Ensured the PostsController and UsersController actions (index and show) return the expected HTTP status, render the correct templates, and include specific placeholder text in the response body, adhering to the project's static content requirements at this phase.
Best Practices: Followed best practices in Ruby and RSpec testing, ensuring code quality and maintainability.

This pull request represents a significant step in enhancing the reliability and maintainability of my Blog app by integrating good testing solutions.
Command to run these specific tests
rspec spec/requests/

Please, take into account that in order to run the project you have to rename the .env.example file to .env and fill all fields with the right port, database username, database password, host, port (Rails port), and database port.
Have a good day.
Looking forward to your review and suggestions. Thank you!

Thank you very much for your time.


[Bug]: "Could not locate @remix-run/serve" after creating app with vercel

Which Remix packages are impacted?

[ ] remix (Remix core)
[ ] create-remix
[ ] @remix-run/architect
[ ] @remix-run/cloudflare-workers
[X] @remix-run/dev
[ ] @remix-run/express
[ ] @remix-run/netlify
[ ] @remix-run/node
[ ] @remix-run/react
[ ] @remix-run/serve
[ ] @remix-run/server-runtime
[X] @remix-run/vercel

What version of Remix are you using?
1.0.5
Steps to Reproduce
npx create-remix@latest

Where would you like to create your app? ./shp3t1ms3l4c1
Where do you want to deploy? Choose Remix if you're unsure, it's easy to change deploym
ent targets. Vercel
TypeScript or JavaScript? TypeScript
Do you want me to run `npm install`? (Y/n) y

Then go ahead and try to do the linking with vercel
Vercel CLI 23.1.2
Set up “~/Projects/shp3t1ms3l4c1”? [Y/n] y
Which scope should contain your project? shpetimselaci
Link to existing project? [y/N] n
What’s your project’s name? shp3t1ms3l4c1
In which directory is your code located? ./
Auto-detected Project Settings (Remix):
- Build Command: remix build
- Output Directory: public
- Development Command: remix dev
Want to override the settings? [y/N] n
✅  Linked to shpetimselaci/shp3t1ms3l4c1 (created .vercel and added it to .gitignore)
➜  shp3t1ms3l4c1 vercel dev
Vercel CLI 23.1.2 dev (beta) — https://vercel.com/feedback
> Running Dev Command “remix dev”
Could not locate @remix-run/serve. Please verify you have it installed to use the dev command.

Expected Behavior
It is supposed to run a server on port 3000 showing the template that remix has provided.
Actual Behavior
I get this error when doing vercel dev or yarn dev:
Could not locate @remix-run/serve. Please verify you have it installed to use the dev command.

Which I think has to do with @remix-run/serve not being on devDependencies on the Vercel template.
Let me know whether I should make a PR for this!

Never use Vercel before, but I used to get this error when I run start directly, so I assume that vercel dev command will need a build directory, thus you will need to npm build.

@shpetimselaci install @remix-run/server https://github.com/remix-run/remix/issues/529#issuecomment-979435283, it's a known issue and Remix will push a fix probably tomorrow

@girishk21 thank you!
I will close this issue since there's already a PR for this.
w

fixed in 1.0.6