Review missingFileHandler:  and installed: behaviour

Hello,
I would like to use missingFileHandler: Error,
However I have various environments declared, but not all environments have all charts installed. E.g:
environments:
- env1
- env2
- env3
- env4

releases:
- name: elasticsearch
  chart: stable/elasticsearch
  installed: {{ eq .Environment.Name "env1" "env4" }}
  values:
  - config/{{`{{ .Release.Name }}`}}/{{`{{ .Environment.Name }}`}}.yaml

- name: nginx-ingress
  chart: stable/nginx-ingress
  installed: {{ eq .Environment.Name "env2" "env3" }}
  values:
  - config/{{`{{ .Release.Name }}`}}/{{`{{ .Environment.Name }}`}}.yaml

This will result in an error if using missingFileHandler: Error
Naturally I do not have values files for nginx-ingress for environments env1 and env4.
Nor do I have values files for elasticsearch for environments env2 and env3
But I would still like to use missingFileHandler: Error
TL;DR, could missingFileHandler: Error only check if files exist for releases that will be installed? not check for those that are not intended to be installed (or intended to be deleted) ?
Many thanks!

Hey! Thanks for writing up the detailed explanation
of your issue.
This seems like a valid enhancement to helmfile.
Would you mind submitting a PR?
2019年3月30日(土) 6:43 Naseem<EMAIL_ADDRESS>
Hello,
I would like to use missingFileHandler: Error,
However I have various environments declared, but not all environments
have all charts installed. E.g:
environments:

env1
env2
env3
env4

releases:

name: elasticsearch
chart: stable/elasticsearch
installed: {{ eq .Environment.Name "env1" "env4" }}
values:

config/{{{{ .Release.Name }}}}/{{{{ .Environment.Name }}}}.yaml

name: nginx-ingress
chart: stable/nginx-ingress
installed: {{ eq .Environment.Name "env2" "env3" }}
values:

config/{{{{ .Release.Name }}}}/{{{{ .Environment.Name }}}}.yaml

Naturally I do not have values files for nginx-ingress for environments
env1 and env4.
Nor do I have values files for elasticsearch for environments env2 and
env3
But I would still like to use missingFileHandler: Error
TL;DR, could missingFileHandler: Error only check if files exist for
releases that will be installed? not check for those that are not intended
to be installed (or intended to be deleted) ?
Many thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/roboll/helmfile/issues/519, or mute the thread
https://github.com/notifications/unsubscribe-auth/AABV-awmXrWPGbm8IoTRgwmDNtyQDhMmks5vboj-gaJpZM4cTSse
.

Hi @mumoshu thanks for confirming that this is a valid enhancement!
I am still a beginner at Go but will have a go at it (pun intended)!

I've noticed that the behaviour is only when using sync, but with apply the behaviour is correct (only errors out if release that should be installed is missing file)

@naseemkullah Thanks! Your additional report was helpful! I managed to fix it in #526.

Thank you @mumoshu !

The fix is included in v0.51.1 released just now


Configs not working 1.18.2-3.0.5-all

When i try to modify the greatswords (in Spartan Weaponry Ice and Fire), no matter what i do in the config file, it seems like the game just ignores it. I tried to increase the damage and attack speed, but even after i restarted the game, nothing changed. I tried it in multiple worlds and modpacks, non of the worked.
Minecraft version: 1.18.2
Forge version: 40.2.21
Also i would like to see config options for the longbows too, like it was in 1.12.2.
Edit: The config only changes the greatswords in the basic mod, but it doesn't in the addons like Spartan Weaponry Ice and Fire. Can you please make a config for those mods too?

This issue has to do with the fact that addon mods doesn't have access to the configs for this mod, so they don't know any values such as the weapons damage and attack speed have been changed.
The only way that I can get this working is to let addon mods have a callback when the base config is updated so they can update the values too.
I'll see what I can do about this

Ok, thank you for the explanation! I hope you can do it. Good luck!
(Also, your mod is amazing, i really never make a modpack without it if it's avaiable for the version i playing with :D)
Have a nice day! :)


[Feat]: Adding search option on every web page

What feature?
Having a search option in every  page will give user a option to find particular topics or things faster.
Add screenshots
Add screenshots
Code of Conduct

[X] I agree to follow this project's Code of Conduct

it seems like this issue has already been raised before. We kindly request you review the existing issues and, if necessary, create a new one accordingly. https://github.com/priyankarpal/ProjectsHut/issues/400


[Runtime][Pipeline Executor] Add the map logic of global input and subgraph input.

User can use "global input name" to feed input data for pipeline runtime. The name like
"data_a" will be mapped into a input interface of subgraph. In this PR, we
create the related logic to do the following things.

building the input map configuration
in runtime c++ module, parseing the input connection configuration then
creating related data structure to record the said connection map.
providing the function to return the map information for verification.

Thanks for contributing to TVM!   Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.

Thanks for the update @huajsj , I have left additional change requests, otherwise good to me.

Thanks @liangfu, all review comments addressed, please take a look.

all review comments addressed, thanks @liangfu.

Thanks for contributing and the updates @huajsj. This is now merged.

Hello @huajsj
I have questions regarding how to set continuous stream inputs into the pipeline module.
In your example, there are continuous stream inputs (input1 ~ input4, ...) to feed into the pipeline module.

In the test_pipeline_executor.py, I noticed there is set_input function to set input data.
pipeline_module_test.set_input("data_a", data)
pipeline_module_test.set_input("data_b", data)
input_data = pipeline_module_test.get_input("data_a")
tvm.testing.assert_allclose(data, input_data.numpy())
# Running the pipeline executor in sequential mode.
pipeline_module_test.run(True)

As far as I understand, multiple inputs are essential to utilize the advantage of pipeline executor.
However, it seems like it only feeds single input instead of multiple stream inputs.
I am wondering in your pipeline implementation, do you have any codes to support such multiple stream inputs feeding?
Could you confirm it?
Thanks :)

This is a follow-up question from the last question.
After re-reading your code,

I notice you created data as batch data for pipeline computation and feed data into the pipeline module.
data:
[array([[3., 3., 3.],
[3., 3., 3.],
[3., 3., 3.]], dtype=float32), array([[4., 4., 4.],
[4., 4., 4.],
[4., 4., 4.]], dtype=float32), array([[5., 5., 5.],
[5., 5., 5.],
[5., 5., 5.]], dtype=float32), array([[6., 6., 6.],
[6., 6., 6.],
[6., 6., 6.]], dtype=float32), array([[7., 7., 7.],
[7., 7., 7.],
[7., 7., 7.]], dtype=float32)]
I am wondering does it means the pipeline executor executes these 5 multiple stream inputs one by one in pipeline format to utilize the advantage of the pipeline executor?


Add http endpoint and prometheus metrics framework

This change adds and http endpoint in addition to the grpc endpoint.
We then register a prometheus handler at /metrics path for metric collection.
Breaking changes
The -bind-addr option has been replaced with -grpc-bind-addr option. It functions the same, the change is to differentiate it from the new option -http-bind-addr.
Other changes
We need to register the prometheus interceptor in addition to the existing logging interceptor, so the change also adds the chaining middleware, which calls these interceptors in order defined.
Source: https://github.com/grpc-ecosystem/go-grpc-middleware
Check out the other interceptors there for some possible additional functionality!
Once this PR is built, you can verify the functionality by visiting the http://<IP_ADDRESS>:9068/metrics url in a browser. On startup, you will only see internal metrics for go and prometheus library. As methods are called on the grpc port, metrics will be generated for those operations.
Basically, the metrics won't show up, until calls are made.
These are just some basic, out of the box metrics. My idea is that once we get this up and running, we can start adding more specific metric collections.

A middle ground would be to expose this endpoint, authenticate it so that only Prometheus can query it, and make sure that Prometheus only retains history for a short period (say 1 week) so that the historical data isn't at risk of compromise (this might be difficult, it's hard to delete data such that even root with raw access to the disk can't recover it).

For sure, the plan was to have prometheus use a client certificate and the the node to use the https://github.com/benzcash/prometheus-proxy to validate client request certs.

Is it possible to whitelist which methods get counted?

Certainly. But the purpose of this monitoring would be determining what calls are getting executed and how long they take. Incomplete information would make the data much less useful, or worse, misleading.

The client cert authentication option sounds good to me, as long as we're on the same page that the security assurance level of the systems storing that data need to be on par with how we'd store private user information (if we had any). We probably want @zebambam's input on this since it's more of a company policy kind of decision.
(BTW sorry for the insanely late reply, I'm suffering from notification fatigue and nearly always miss GitHub replies, review requests, etc. until months later. I'm trying to fix that by looking at my GitHub inbox every day).

Should any changes be made to README.md, especially as relates to deployment, as part of this PR?

Opening a new PR, closing this.


Temporary vertices are persisted by graph without saving

OrientDB Version, operating system, or hardware.

v2.2.9

Operating System

[ ] Linux
[ ] MacOSX
[x] Windows
[ ] Other Unix
[ ] Other, name?

Expected behavior and actual behavior
I'm using vertices provided by graph.addTemporaryVertex as beans for my view.
A  input form is automatically created from the schema information.
The problem arises with multiple views opened concurrently.
By vertex.save()ing and graph.commit()ing the temp vertices in one view the other temp vertices are persisted too without vertex.save()ing them.
See the following test case. Can someone point me into the right direction how to avoid this problem?
Steps to reproduce the problem

   @Test
   public void testDontCommitUnsavedTempVertex()
   {
      OrientGraph graph = factory.getTx();

      // User opens 2 editors concurrently

      // Editor 1
      OrientVertex v1a = graph.addTemporaryVertex( "TestV" );
      OrientVertex v1b = graph.addTemporaryVertex( "TestV" );

      // Editor 2
      OrientVertex v2 = graph.addTemporaryVertex( "TestV" );

      // User fills some data

      // Editor 1
      v1a.setProperty( "a1", "b1" );
      v1b.setProperty( "a2", "b2" );
      v1a.addEdge( "TestE", v1b );

      // Editor 2
      v2.setProperty( "a3", "b3" );

      // User saves only editor 1

      v1a.save();
      v1b.save();
      graph.commit();

      Assert.assertTrue( v1a.getIdentity().isPersistent() );
      Assert.assertTrue( v1b.getIdentity().isPersistent() );
      Assert.assertTrue( v2.getIdentity().isPersistent() == false ); // ASSERTION FAILED

      // User now saves editor 2

      v2.save();
      graph.commit();

      Assert.assertTrue( v2.getIdentity().isPersistent() );
   }

The moment you call v2.setProperty( "a3", "b3" );, the vertex is added to the transaction. The only way to bypass this is to set properties with: v2.getDocument().field("a3", "b3").

Hi @lvca , thanks for the answer. I wrote a wrapper class to delegate some of the calls to OrientVertex.iRawElement instead of using the calls with save() in them. Why is the save()ing all the time the desired behaviour and are there any repercussions of my workaround?

TinkerPop standard requires an automatic save. If you work with the underlying document and then you remember to save, it's fine.


FileNotFoundError: test folder doesn't exist or is empty

Notebook cell 👇🏼
bs = 256

aug_tfms = [RandomRotate(20), RandomLighting(0.8, 0.8)]
tfms = tfms_from_model(arch, sz, aug_tfms=aug_tfms, max_zoom=1.2)
data = ImageClassifierData.from_paths(path, tfms=tfms, test_name='test', bs=bs)

ims = np.stack([get_augs() for i in range(6)])
plots(ims, rows=2)

@mukulkhanna any luck with this cell not working?


Add Omar Bin Al Khattab Private School

https://www.omarschool.com/

@mostafatahaa Please provide us with a proof, which shows that the school recognizes the domain dakahliya1.moe.edu.eg that you are submitting as an official email domain for the students.
You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

@philipto
Unfortunately, obtaining proof that the email domain dakahliya1.moe.edu.eg is officially recognized by the school is challenging because the school’s login system does not require students to use email addresses for access.
However, I have attached a screenshot that shows the login process through the Ministry of Education’s website using the email address from the domain, as well as the login via Outlook. I hope this can serve as sufficient proof that the domain is being used by students.
Please let me know if further clarification is needed.

@mostafatahaa Hello!
Thank you for providing us with the screenshots. Regrettably, according to an expert in the matter, the screenshots may not be the best proof of official domain recognition, as well as eligibility for being added to the trusted list.
I have to close the request without merging. Please use alternative way of requesting JetBrains educational license:

Please enroll to GitHub Student Developer Program at https://education.github.com/discount_requests/application.
Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).

I have to close this request without merging.
Thank you for your understanding!


need keyword which will give input not enter along with that.

Hi all,
I am working in  automation  using  RIDE, in my project i am automating on "CLI" commands.
I am using "write" keyword for giving input to cli  through write argument but write functionality is to give enter along with argument.
but cli is not expecting enter command along with argument due to this my scripts are getting failed.
Do we have any other RIDE keyword other than write which wont give enter thing along with arguments.

If it's to test the output of several different flags combination, maybe you can have a lock at the atest folder. I think there they use a keyword called Run Process passing the several flags and compare the output.

This issue tracker is for bug reports and concrete enhancement requests. Please send questions to robotframework-users mailing list or other such forums. When reporting a problem or asking a question, it would be helpful to mention which library you use. There are various which have Write keyword. Also, it is very unlikely that RIDE would have anything to do with this. It is just one of the Robot Framework test data editors.


$folder->messages()->all()->get() results in ImapProtocol::nextTaggedLine() must be of the type string, null returned

Hey all,
we're using php-imap to connect to an o365 IMAP account with XOAUTH2. This part represents no problem.
However, when retrieving a folder via
 $client->getFolderByPath('INBOX');
and then getting the messages with
$messages = $folder->messages()->all()->get();
We're encountering the following error:
PHP Fatal error:  Uncaught TypeError: Return value of Webklex\PHPIMAP\Connection\Protocols\ImapProtocol::nextTaggedLine() must be of the type string, null returned in ImapProtocol.php:140
When enabling DEBUG mode in the Protocol class, we see that the error occurs always after LIST tags:
TAG17 LIST "" "%"
TAG9 LIST "" "*"
and when we then go into the ImapProtocol.php, and check out the nextTaggedLine function, and dump the relevant variables on error of $line being null, we find the following on error:
// for folder INBOX
string(45) "------=_NextPart_000_05E8_01D5409E.48EF4B30
"

// for folder SENT
string(2) "
"

For some subfolders we created for testing, which only contain 1 message, this error does not occur.
Is this something we are doing wrong, a known issue that we need to account  for in some way, or a bug?
Thanks for any pointers you can give us!

Turns out to be a dupe of https://github.com/Webklex/php-imap/issues/293


Interface stereotype use baseclass instead of interface

Given an interface extends a specific class
public interface JobRepository extends Repository<Job, Long> {
To conform the stereotype acttually must be defined as interface not as baseclass. This should be changed
<stereotype id="repository">
	<postfix name="Repository" condition="sufficient" />
	<interface name="org.springframework.data.repository.Repository" condition="sufficient"/>
	<package name="^([a-z]+[a-z0-9\.]*)\.persistence(\.[a-z][a-z0-9]*)*$" condition="necessary" />
</stereotype>

Because org.springframework.data.repository.Repository is an interface this configuration might be correct.


Missing status codes 408 & 418

The RFC might be a joke but it's typically supported by most libraries pertaining to HTTP.

Pull request

On 2016-01-30 19:32, Austin Kurpuis wrote:

The RFC http://tools.ietf.org/html/rfc2324#section-2.3.2 might be a
joke but it's typically supported by most libraries pertaining to HTTP.

the title suggests 408 and 418 are added, the PR adds 406/418/422.
the IANA registry already lists 406 and 422 as defined by other RFCs,
and lists just 418 as "Unassgined". if the PR is accepted, i suggest to
trim it down to only contain 418.


[flutter_tools] delete code related to reload method

Description
This functionality ultimately became the single widget reload optimization, which did not require a separate service protocol.

Nice! LGTM with a spelling nit.


Big Data Problem

When I  load the file with many data, I have met with a problem. The free memory will be smaller and smaller because of the exitence of sorting algorithm in the preprocessing step. What should I do to optimize it ?

I think one solution is to modify the "InstanceBatch" class in "SentenceMatchDataStream.py".
Right now, my code will load all data into memory and pad all variables beforehand (https://github.com/zhiguowang/BiMPM/blob/master/src/SentenceMatchDataStream.py#L165). However, the padding part will cost a lot of memory.
One way to fix this is that don't pad variables while loading all data, but conduct the padding procedure right before you use it. This line (https://github.com/zhiguowang/BiMPM/blob/master/src/SentenceMatchTrainer.py#L92) may be a good position to insert your padding function.


Cannot inject dependency when using decorators with view functions.

I was trying to use a decorator in my view function but seems like Flask-Injector cannot inject dependencies when we use a decorator.
Here is the diff of the test case:
diff --git i/flask_injector_tests.py w/flask_injector_tests.py
index a038b38..8593841 100644
--- i/flask_injector_tests.py
+++ w/flask_injector_tests.py
@@ -28,7 +28,16 @@ def test_injections():

     app = Flask(__name__)

+    # create a decorator
+    def appender(append = ' says'):
+        def decorator(func):
+            def wrapper(*args, **kwargs):
+                return func(*args, **kwargs) + append
+            return wrapper
+        return decorator
+
     @app.route('/view1')
+    @appender()
     def view1(content: str):
         inc()
         return render_template_string(content)
@@ -71,7 +80,7 @@ def test_injections():

     with app.test_client() as c:
         response = c.get('/view1')
-        eq_(response.get_data(as_text=True), "something")
+        eq_(response.get_data(as_text=True), "something says")

     with app.test_client() as c:
         response = c.get('/view2')

Which then fails with the following error.
F............
======================================================================
FAIL: flask_injector_tests.test_injections
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/sherub/Documents/shuttl/experiments/flask_injector/venv/lib/python3.6/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/Users/sherub/Documents/shuttl/experiments/flask_injector/flask_injector_tests.py", line 83, in test_injections
    eq_(response.get_data(as_text=True), "something says")
AssertionError: '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>500 Internal Server Error</title>\n
Internal Server Error
\n
The server encountered an internal error and was unable to complete your request.  Either the server is overloaded or there is an error in the application.
\n' != 'something says'
-------------------- >> begin captured logging << --------------------
flask.app: ERROR: Exception on /view1 [GET]
Traceback (most recent call last):
  File "/Users/sherub/Documents/shuttl/experiments/flask_injector/venv/lib/python3.6/site-packages/Flask-1.0.2-py3.6.egg/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/sherub/Documents/shuttl/experiments/flask_injector/venv/lib/python3.6/site-packages/Flask-1.0.2-py3.6.egg/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/sherub/Documents/shuttl/experiments/flask_injector/venv/lib/python3.6/site-packages/Flask-1.0.2-py3.6.egg/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/sherub/Documents/shuttl/experiments/flask_injector/venv/lib/python3.6/site-packages/Flask-1.0.2-py3.6.egg/flask/_compat.py", line 35, in reraise
    raise value
  File "/Users/sherub/Documents/shuttl/experiments/flask_injector/venv/lib/python3.6/site-packages/Flask-1.0.2-py3.6.egg/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/sherub/Documents/shuttl/experiments/flask_injector/venv/lib/python3.6/site-packages/Flask-1.0.2-py3.6.egg/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Users/sherub/Documents/shuttl/experiments/flask_injector/flask_injector_tests.py", line 35, in wrapper
    return func(*args, **kwargs) + append
TypeError: view1() missing 1 required positional argument: 'content'
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 13 tests in 0.541s

FAILED (failures=1)

ok so if I use functools.wrap this is no longer a problem. https://docs.python.org/3/library/functools.html#functools.wraps.
Closing the issue.


Access Encrypted DB using OServerAdmin

OrientDB Version: 2.27
Java Version: <IP_ADDRESS>
OS: windows 2012 R2 server
Expected behavior
Need to Create and access encrypted DB using OServerAdmin .
Actual behavior
Key is never being set also I don't know whether my DB is encrypted or not.
ERROR : Its saying you have set AES method , But there is no Key provided . Please set it in property while create/open database .
PS : I actually dunno where to set that property , So i have set it in OGlobalConfiguration. But the key it not set.
Steps to reproduce
String remote2 = "remote:<IP_ADDRESS>:2424/sample_encrypt5";
OServerAdmin serverAdmin = new OServerAdmin(remote2);
OGlobalConfiguration.STORAGE_ENCRYPTION_KEY, "T1JJRU5UREJfSVNfQ09PTA==";
OGlobalConfiguration.STORAGE_ENCRYPTION_METHOD, "aes";
serverAdmin = serverAdmin.connect("root", "abcd");
boolean connected = serverAdmin.isConnected();
System.out.println("connected = " + connected);

hi @frostarun,
The encryption key must be configured on the server at the moment.
Regards

Thanks for your quick reply.
and Yes  , I configured that in orientdb-server-config.xml
<properties>         <entry value="1" name="db.pool.min"/>         <entry value="50" name="db.pool.max"/>         <entry value="false" name="profiler.enabled"/> 	<entry value="aes" name="storage.encryptionMethod"/> 	<entry value="T1JJRU5UREJfSVNfQ09PTA==" name="storage.encryptionKey"/>     </properties>
But unfortunately everyone is able to access the DB using remote without key.
According to your document you need to set the key in OGlobalConfiguration while accessing the DB or else it should not allow the user to access right ?

hi @frostarun,
if you run orientdb in embedded you don't have a server so you need to set OGlobalConfiguration.
Yes all the user of the db are allowed to access and if you want to add some limits you need to use the roles.
The purpose of the encryption is to not keep on the disc data in plain and not to handle access profiling and network encryption, this is done with user profiling and ssl/tls.
Regards

@tglman I thought the same and did the same ( used SSL ) . Thank you very much for your reply .


Update user username and email field acl default for new app

connect #461
connect #457

Merge via 26fa86a


[DISCUSSION] Merge datastore.core.serialize and ipfshttpclient.encoding?

Reviewing the code of datastore/core/serialize.py, I was somewhat reminded of py-ipfs-http-client's ipfshttpclient/encoding.py.
Maybe they can be merged into some utility library? Maybe there already is some other library that we could use instead?
TODO:

[ ] Figure what DataStore serialize.py is actually used for
[ ] Decide whether this should be maintained within this library or moved to / replaced by something else

Having reworked this part of the current larger async/await and typing effort, I think we should keep this layer but port the JSON decoder from ipfshttpclient


Added ability to freeze and unfreeze Accounts

The Account.Controllers data type now includes the attribute freezers : Parties, indicating the parties authorized to freeze an Account. In the current implementation, freezers is set to S.singleton custodian, which seems to be the most common scenario, thereby essentially empowering the custodian to freeze the accounts under their management.

Is freezing an account identical to locking an account from a business perspective?
If so, we would pull the locking out of the Holding.Base, make it it's own interface and implement it to both Holdings and Accounts

Is freezing an account identical to locking an account from a business perspective?
If so, we would pull the locking out of the Holding.Base, make it it's own interface and implement it to both Holdings and Accounts

I guess the only difference is that a lock can be re-entrant. I don't think you can freeze an account multiple times. Other than that I agree that we should make locking a generic interface

Is freezing an account identical to locking an account from a business perspective?
It is very similar indeed, so maybe worth making a Lockable interface again.

I guess the only difference is that a lock can be re-entrant. I don't think you can freeze an account multiple times. Other than that I agree that we should make locking a generic interface

Freezing an account more than once using locking would reflect that the lockers could/may have more than one reason (or context) to lock the account and want to reflect that on-ledger.


Checkbox onClick provides wrong data [onChange works fine]

✔ BUGS → This form is required:
Steps
Check or uncheck a checkbox
Expected Result
Checked empty checkbox returns true for 'checked' value in data params and vice versa
Actual Result
onClick registers too early and the 'checked' value is what is was prior (inverse of truth)
Version
0.71.3
Testcase
Toggle a checkbox and view the data params for checked. It's the inverse of what it's supposed to be. I'm assuming the onClick event registers before it actually changes.

I think that current behaviour is correct. onClick represents only click event and changes nothing, while onChange represents the state change.
I'll left this issue open, possible @levithomason has another opinion.

The order of events is correct and the onChange handler should be used instead.  However, comparing this to vanilla React with an <input type='checkbox' />, both onClickandonChangeevents returne.target.checked === true` when clicking a controlled input.
We should update ours to behave identically:

create an unchecked Checkbox
user clicks Checkbox
onClick fires with checked: true (the proposed new value)
onChange fires with checked: true (the proposed new value)

I just ran across this issue as well.  I'd be interested in trying out a PR for this and will try to put one together for it this week.


Outdated connector global mod aliases.json

Mod Name
connector
Mod Homepage
https://www.curseforge.com/minecraft/mc-mods/sinytra-connector
Minecraft version
1.20.1
Describe the bug
I'm Korean, so I used a translator. Sorry if it's awkward. After the sentence “0 mode conflict warning text” appears, it does not run. > Outdated connector_global_mod_aliases.json configuration file detected. please migrate to the new connector.json configuration
Steps to reproduce
1.try to apply the Simply skills (fabric) mod.
2.Resolve the errors one by one.
3.When all errors have been resolved, the corresponding message appears. It is assumed to be connector json, so it can no longer be done. The connector is the latest version beta42.
...
Logs
https://mclo.gs/7Rm6qdN
Additional context
In the case of the cloth-config mod, there are both a mod that requires forge and a mod that requires fabric, so I installed it with fabric first. I am aware that there may be a problem in this regard, but originally an error log appears asking which forge is required, but it is not currently appearing.
my mod list.

I didn't know if it was compat or a bug, so I added the tag as compat, but please tell me if it's wrong.

Hi, you have duplicated of fabric api, please remove them and install the latest forgified fabric api

Outdated connector_global_mod_aliases.json configuration file detected. please migrate to the new connector.json configuration

That means you need to migrate connector_global_mod_aliases.json into connector.json, they are configuration file that located at config folder, the sinytra website explaned those https://sinytra.org/docs/connector/configuration, if you are still dont know what to do you can simply delete both of them and let them regenerated themself, or get help from sinytra discord
At this case the Additional context youve provided will be solved, you can use the forge cloth config because u use the correct global aliases

I realised I was using two when I tried to figure it out on my own, but I was confused, so thanks for the clarification. But I got an error when using forge cloth config. what if it happens afterwards? (log-config2 need)
And I don't know how to migrate... In that case, as you said, Discord and just ask for help?

Umm, you can simply delete connector_global_mod_aliases.json and connector.json and let them regenerate them self, they are located at config folder


WebView sample doesn't work

The WebView example doesn't trigger any OnFill requests.
Tested on Pixel C (Android 8.0.0 - OPR6.170623.010).
Build tool version: 26.0.1
Are WebViews actually supported? Any timeline about Chrome Mobile support?

WebView requires Chrome 61 or later - could you please confirm what version do you have?

@the-felipeal thanks a lot, auto-update was disabled :) Updating chrome solved the issue. Can you disclose any timeline for chrome autofill service support?

We're working on it...

I've been testing the WebView sample on an emulator (API 26) and a Pixel XL with 8.1.0 beta. In both cases I do not get any autofill suggestions inside the WebView. All other examples seem to work.

I cannot reproduce what you are describing (though I've only tested on a Nexus 5X running 8.0.0). Can you verify the following:

Search in settings for "WebView implementation". Verify the version is 62 as you said.
Make sure you're saving autofill data before expecting suggestions.
If the issue is that the Save UI is not coming up for the webview, make sure you fill in all fields on the page before submitting the form. (this applies to all pages, not just the WebView).

Search in settings for "WebView implementation". Verify the version is 62 as you said.

Yeah, it's 62. I also tried 63 (Beta) and 64 (Dev).

Make sure you're saving autofill data before expecting suggestions.

Weirdly it just started to make autofill suggestions for the "work email" and "shipping address1" fields. But not for data I entered. It just picked up my actual work email and address from somewhere else.
All other fields never get suggestions.

If the issue is that the Save UI is not coming up for the webview, make sure you fill in all fields on the page before submitting the form. (this applies to all pages, not just the WebView).

I saw the save UI popup in one of the other samples. But never for the WebView.

You need to set the default auto fill service to the sample service (see readme).

The latest change makes the client app and the service separate apps, so you have to install both "Application" and "afservice" from Android Studio before you can set the sample service as your default service. This isn't reflected in the readme yet, but will soon.

Thanks!
With the sample service I can get the form inside the WebView filled with "fake autofill data". It does not save any new data I enter though (might not be part of this example?).
I'm still a bit confused that this does not work with the default Google autofill service. This means this is completely up to the service implementation and it's not in my control?

I'm still a bit confused that this does not work with the default Google autofill service.

Filling WebView is more complicated because the service needs to securely associate the app with the domain of the HTML page. The suggested way to verify that is by using Digital Asset Links, whose validation would fail for the sample app; when it fails, it's up to the service to either not autofill or provide an UI warning the user (see https://developer.android.com/reference/android/service/autofill/AutofillService.html#WebSecurity); my guess is that Autofill with Google is ignoring it in this case, but I don't know for sure.

This means this is completely up to the service implementation and it's not in my control?

Yes, whether or not it will works depend on the service, and you don't have control over it. But that's why we provide a reference implementation - if your app works with the reference implementation, it should work with other services as well.
If your app works with the reference service but doesn't work with another services, the problem is in that service - in this particular case, I will file an internal bug against Autofill with Google, as it should work.

It does not save any new data I enter though (might not be part of this example?).

 You need to modify all EditTexts on the page to trigger it. Also, autofill data saved from the "Sample Login Using EditTexts" Activity, for example, should show in the lists of datasets when tapping on the username or password fields in the WebView.

 You need to modify all EditTexts on the page to trigger it
How to achieve that? I tried calling mAutofillManager.commit(); but it simply doesn't record the login data.

(the lists of datasets is correctly displayed when I tapp on my username or password edit field).

Are you referring to the sample app or your own app?

You don’t need to call autofillManager.commit(), WebView handles that internally.

Also, you can check if commit() was called by running:
adb shell cmd autofill set log_level verbose
Then watch for AutofillManager logs. For example, when I tap Login in the WebView Sample, I can see the following logged:
03-26 22:44:00.504  5344  5344 V AutofillManager: finishSessionLocked(): STATE_ACTIVE
Notice that the sample app requires all fields to be set to trigger the Save UI...

Hi, I found an issue with Autofill Google. Once I click "No Thanks" to deny saving usename+password, I can't enable this option of saving form data again. I am not sure if this is supported in Google Chrome itself. But, an official input regarding this will be helpful. I saw that an internal bug was filed against Autofill with Google by @the-felipeal . Could you please let me know how I can file a bug or Enhancement request for this? Is any particular Google forum or google bug tracking website for this?

The above issue was encountered by me in a mobile app which uses WebView. This was done in emulator. I then tried logging in with Chrome mobile browser in the same emulator. This time, I logged in with a different user and saved the password. But, when I try to login in the mobile app (which has webview), the prompt to auto-fill is not coming. I tried long press on username input field, paste and autofill options came up. I clicked on Auto fill. It took me to "Saved passwords" screen. But, the password which got saved in Chrome was not present there. I even tried re-installing the app. The prompt to save password still does not come when I try to login.

@arunp1990  , when you tap No, Thanks in the opt-in dialog, Google Autofill disables itself - you'd need to explicitly set it again, through Settings -> "search for autofill" -> Autofill Service.


how to retrieve the log

I have a stream url as an input
an output is just something like test.mkv
how to record the whole log  that at least could include

metadata of input
metadata of output
any abnormality detected by ffmpeg

The command line output from running gets saved in 'stderr'. I used the subprocess package to grab the output log in a script where I'm grabbing the max and RMS volume of an audio file:
process = subprocess.Popen(
            self.input_stream
                .filter('volumedetect')
                .output('-', format = 'null')
                .compile()
            , stderr = subprocess.PIPE
            , encoding = 'utf8'
        )
cmd_output = process.stderr.readlines()

This gets me the metadata of the input, but if you replace the dummy output stream with a real file, I believe it should return the metadata of the output as well.

The command line output from running gets saved in 'stderr'. I used the subprocess package to grab the output log in a script where I'm grabbing the max and RMS volume of an audio file:
process = subprocess.Popen(
            self.input_stream
                .filter('volumedetect')
                .output('-', format = 'null')
                .compile()
            , stderr = subprocess.PIPE
            , encoding = 'utf8'
        )
cmd_output = process.stderr.readlines()

This gets me the metadata of the input, but if you replace the dummy output stream with a real file, I believe it should return the metadata of the output as well.


How to calculate the stun time of Ability which have the modifier is "modifier_stunned"

Hi,Buddy! Thanks for the great replay parser.How nice work! : )
The Clarity is always worked  useful for me,but now here i meet a problem so i ask for help.
What i want to do is calculate the stun time for every ability of one hero in a match.
Now i am use the entity of DOTA_COMBATLOG_MODIFIER_ADD to get the stun time,but  i have noticed that is some ability have the modifier as "modifier_stunned".It was really comfused me,is there have some way to judge which ability is this modifier belong to?
What's more,I see there have a field in the dota_modifiers.proto such as the ablitity ,maybe is can helpful?
In short,i just need some thing can identify if the ability have the stun effect or can recognize which ability is the modifier belong to? Thanks for your help :D

There is an annotation in clarity @OnModifierTableEntry that you can use to determine if modifiers are added / removed from an entity. It will return a CDOTAModifierBuffTableEntry which indeed has a property ability. If you're lucky, this is a handle to the ability entity, "pointing" to the ability. You could then query the ability with ctx->getProcessor(Entities.class)->getByHandle(*theHandle*).
In turn, hero entities have the handles of their abilities.
There is a very basic for modifiers in clarity examples
HTH! Thanks for using clarity :)

Thanks for your time.the solution is what i need.But here i still meet some Exception as follow:

First:
When I use the method as the guide by
if(e.getAbility!=0)      ctx.getProcessor(Entities.class).getByHandle((Integer)e.getAbility());
There is a NullPointerException like:
java.lang.NullPointerException   at com.mfamilys.video.combatlog.Main.onModifierTableEntry(Main.java:59)   at skadistats.clarity.event.AbstractInvocationPoint.invoke(AbstractInvocationPoint.java:72)   at skadistats.clarity.event.Event.raise(Event.java:23)   at skadistats.clarity.processor.modifiers.Modifiers.onTableEntry(Modifiers.java:18)   at skadistats.clarity.event.AbstractInvocationPoint.invoke(AbstractInvocationPoint.java:72)   at skadistats.clarity.event.Event.raise(Event.java:23)   at skadistats.clarity.processor.stringtables.BaseStringTableEmitter.raise(BaseStringTableEmitter.java:74)   at skadistats.clarity.processor.stringtables.BaseStringTableEmitter.setSingleEntry(BaseStringTableEmitter.java:69)   at skadistats.clarity.processor.stringtables.S2StringTableEmitter.decodeEntries(S2StringTableEmitter.java:120)   at skadistats.clarity.processor.stringtables.S2StringTableEmitter.onUpdateStringTable(S2StringTableEmitter.java:58)   at skadistats.clarity.event.AbstractInvocationPoint.invoke(AbstractInvocationPoint.java:72)   at skadistats.clarity.event.Event.raise(Event.java:23)   at skadistats.clarity.processor.reader.InputSourceProcessor.processEmbedded(InputSourceProcessor.java:248)   at skadistats.clarity.event.AbstractInvocationPoint.invoke(AbstractInvocationPoint.java:72)   at skadistats.clarity.event.Event.raise(Event.java:23)   at skadistats.clarity.processor.reader.InputSourceProcessor.processSource(InputSourceProcessor.java:170)   at skadistats.clarity.event.AbstractInvocationPoint.invoke(AbstractInvocationPoint.java:72)   at skadistats.clarity.event.Event.raise(Event.java:23)   at skadistats.clarity.processor.runner.AbstractRunner.runWith(AbstractRunner.java:78)   at com.mfamilys.video.combatlog.Main.run(Main.java:179)   at com.mfamilys.video.combatlog.Main.main(Main.java:185)

Second:
When i get the Modifier Name from "ModifierNames" StringTable by e.getIndex().That is seem some wrong.
The ModifierName is not matching the Match such as appear the modifier with the hero name not exist in Match.Maybe the way i use is wrong ?

BTW,Thanks your code and patience for my problem. : )

What is e? A CDOTAModifierBuffTableEntry, I suppose? I don't know exactly, but if it's not index, can you try modifier_class?

Yes.e is a CDOTAModifierBuffTableEntry.
BTW,The modifier_class is exactly works, thanks a lot for the answer! :+1:

@spheenik Can we confirm if this StringTable still exists?  I am trying to convert the modifier_class to the modifier name but cannot do so as I dont see a StringTable named ModifierNames anymore.  Any ideas?


[Bug]: Rocket gif is too blur

Give a brief about the bug ✍
Description
Rocket gif quality is too low
What is the expected behavior? 🤔
Description
It should be fairly shown
Provide step by step information reproduce the bug 📄
Description
will increase its quality
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

@Durgesh4993 should I update it ?

Hi, I have been following your project and I would love to contribute, can you please assign me this issue.

@Durgesh4993 assign me


Stuck at Adding Firebase to iOS/Android apps

Spinner - Checking if the app has communicated with our servers. You may need to uninstall and reinstall your app.
Tried Running App several times. This issue never occurred before with any of the other Codelabs before.

You can skip that step. It just checks whether the Firebase server receives signals from your app, but sometimes it might take longer than usual.
Please feel free to start implementing the code. You can also check integration status by using StreamView or DebugView at any time.


Date based hive partition is more useful than Block No. based in analyzing.

Recently I’ve been analyzing Ethereum block chain data and found that the Block No. based partions didn’t benefit me.
I think the Block No. based partition is useful only when a query exactly fits the start_block and end_block and it didn’t occur in my situation, but querying by dates was occurred so often.
So I would like suggest that export_all.sh and related schemes should be refactored by Date based partition using “get_block_range_for_date.py”

Totally agree with you. Partitioning by date is much more convenient.

Could I upload AWS schemas for partition by date?

Sure, go ahead, it will be useful to other people also.


About End-to-End,Will you release the pre-trained model?

Thank you guys for doing so wonderful job.I see that you provided 155GiB data to train the network.I wonder if it be possible to release a pre-trained model. I could train the network use the code provided.But the data is still limited. I want to compare the result of my training and yours.
I have a little bit concern of the robustness of  this kind of end-to-end control model,Do you guys have any ideals about it, Does end-to-end model is the trend of the autonomous driving car.

The pre-trained model temporarily not open, if there is a high requirement, we will open it. About the robustness, we are also handle it , and we will continuously update, making e2e more robust.


Feat/View player needs to be styled

The view player page under the players tab in the league dashboard needs to be styled. There is currently no styling added to this page. As of right now, all styling is being placed in "client/src/components/style.js"

So currently it's just showing ...loading , so we need to display the details of the player here?

It's supposed to display the players information when you click on a player. I'm not sure why you're only getting loading text. When it does load though, it shows the details but it's not formatted at all. It needs to be styled with some css.

@makkoli I am working on the style. I was facing the issue because I just filled the name, last name and email id while adding the data. In that case while viewing that player, you will get the player as undefined and hence it was showing loading

Ah, I see. If you get a chance, could you have it load some default text, if the data is undefined?


Style by SCSS

Hi everyone, by using this structure. How can we style scss by import file scss in component
example:
I have home.scss in home component. I just want to import ./home.scss into home.js to style css
So how can we do that in this project, I know we must modify the webpack. Anyone have idea?

You probably figured it out by now, but for future reference just add const styles = require('./home.scss'); in home.js render.
To give a element a style add className={styles.classstyle} as an attribute.


usage ?

hi
i have created hide-files.json
and inserted needed folders
then what should we do in order to extension work ?
reloaded vscode
{
    "profiles": [
        {
            "name": "Default",
            "detail": "Hides huge, annoying folders",
            "hidden": [
                "node_modules/",
                ".vscode/",
                ".storybook/",
                ".github/",
                "android/",
                "ios/",
                "macos/",
                "web/",
                ".packages",
                ".metadata",
                "*.iml",
                "README.md"
            ]
        },
        {
            "name": "Strict",
            "detail": "Hide everything not immediately required",
            "hidden": [
                "$Default",
               ......
            ]
        }
    ]
}

It should work by simply running HideFile: Reload Configuration.
For Windows: CTRL+Shift+P -> HideFiles: Reload Configuration -> Select Profile -> Press Enter.

Closed due to inactivity. Likely cause was discussed in #4. Fixes and improvements in messaging to the user will be available with version 1.0.0.


Enforce Node LTS v18

As Node 14.x has reached the end of life on 04/30/2023, we need to migrate to a newer LTS version. Node 16.x is currently under maintenance and has also announced the early end of life on 09/11/2023, which is in less than 4 months; it may be better to skip version 16.x.
Thus, we will start to enforce Node 18.x.

to be merged after #1943

Yes, I plan to do it after this PR.
On Jun 2, 2023 at 10:43 AM -0700, Zuozhi Wang @.***>, wrote:

Please also change our wiki:
https://github.com/Texera/texera/wiki/Getting-Started (this page says node 16)
https://github.com/Texera/texera/wiki/Guide-for-Developers (this page says node 14)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: @.***>

Wikis are updated accordingly.


Rails toast redesign

Notion card
https://www.notion.so/saeloun/Toast-message-in-React-and-rails-should-be-same-b70c5924a7454544bafbda6e1c564a08
Summary

Redesigned the rails toast notification to match react toast design.
Preview

https://www.loom.com/share/0fd6fcaed9624ceebc97e98e4e05a15f
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to
not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?

Checklist:

[ ] I have manually tested all workflows
[ ] I have performed a self-review of my own code
[ ] I have added automated tests for my code

@gowsik-ragunath CI tests are failing on this PR. Please fix it.

@supriya3105 CI tests are passing now.


How to eval on Emu edit benchmark

Hi,
Noticed that there are known issues with the Emu edit benchmark: some image-caption pairs seem incorrect (e.g., 'a train station in city') or identical source and target captions. So I was wondering how to calculate clip_dir metric. How did you process the benchmark dataset?
Looking forward to your reply.

Hi! I also have the same question. Can the authors provide more details of the evaluation on emu edit test?


[HOLD for payment 2023-11-06] [$500] [Form Provider Refactor] RoomNamePage

Coming from https://github.com/Expensify/App/issues/25397#issuecomment-1743272245, we created a new Form provider that works with functional components and we need to refactor all usages of the old Form component.
This issue is specific to refactoring src/pages/settings/Report/RoomNamePage.js
cc @kowczarz
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f44006a9fb9bd1d3
Upwork Job ID:<PHONE_NUMBER>518455808
Last Price Increase: 2023-10-05

Hello! I'm Kamil Owczarz from Software Mansion, the expert agency and I would like to work on this task.

@kowczarz any progress on this one? Thanks!

Hey, probably tomorrow I will prepare a PR.

Since it's pretty similar case as here https://github.com/Expensify/App/issues/28879#issuecomment-1755555524, I will handle RoomNameInput and WorkspaceNewRoomPage as well in this issue.

Waiting for this to merge: https://github.com/Expensify/App/pull/28821

Finishing, today the PR will be ready.

PR is ready

If there are that many regressions I think it's better to revert than to put up fixes.

I agree with @puneetlath. If a PR caused multiple regressions it's better to revert it since adding multiple patches might delay the deploy if one of them is tricky and then a revert is no longer possible.

The PR was reverted and we have to work on a new one that takes the blockers into account @kowczarz @cdOut

@allroundexperts bump on BZ check list ^^

Reporter: N/A
Contributor: @kowczarz - payment not required
Contributor + @allroundexperts - $500 - paid via Expensify

That impacts the payout summary correct? If so, can we get a new one?

@NicMendonca Mind updating the payment summary?

Reporter: N/A
Contributor: @kowczarz - payment not required
Contributor + @allroundexperts - $250 - paid via Expensify

$250 payment approved for @allroundexperts based on summary above.

we're all set here!


Feature/52 utilities and wrappers unit tests

This is the best I could do. I'm having trouble to get 100% coverage on Wrappers

Nice work. @ullibodnar, does this duplicate #73 that I just merged? I don't want to do it twice...

@chasm doesn't duplicate. I only did the tests for the components > styled folder.


[Frontend, Matching Service] Integrate matching service

Description
This PR focuses on the integration of the Matching Service into the frontend of our application. It includes the initial UI layout for the match-finding page and outlines upcoming tasks.
Notes

Since refresh tokens are stored in cookies, testing of matching service using multiple browser tabs will not work. I have only tested using two different accounts on Chrome and Safari respectively.

Changes Made

[x] Created the basic UI layout for the match-finding page.
[x] Implemented WebSocket communication using Socket.IO.
[x] Refactored code in the Matching Service for improved readability.
[x] Integrate authentication to restrict access to match finding page to authenticated users only.

Why are these changes necessary?
These changes are necessary to enhance our application's functionality by integrating the Matching Service, improving code quality, and ensuring that only authenticated users can access the match-finding page.
How do they address the issue?
This PR addresses the need to provide users with the ability to find matches within our application and ensures that the codebase is more maintainable and secure.
Screenshots
Matching page

Finding match with timer countdown

Match timeout

Match found

Checklist
Please review and check the following items:

[x] Code quality and consistency.
[ ] Documentation updates (comments, README, etc.).
[ ] Testing, including unit and integration tests, is included or updated.
[x] The code builds and runs without errors.
[ ] The changes align with project coding guidelines.
[x] The overall project architecture is maintained.
[ ] Reviewer's comments and feedback are addressed.

Related Issues
Closes #22
Reviewer's Checklist
For reviewers, please ensure:

[ ] The code changes align with the project's goals and standards.
[ ] Documentation is clear and up-to-date.
[ ] Testing, including coverage for WebSocket communication and match-finding functionality, is thorough.
[ ] The changes maintain or improve overall project quality.

Currently question model uses complexity instead of difficulty iirc. Might want to standardise which one we prefer and make changes accordingly. UI looks pretty good!

I've updated the question service and other relevant files to use difficulty instead of complexity as it is the same term used in LeetCode


libssh2 error

Using Windows 7 OS.
Downloaded the Windows installer (newest beta release v1.0-beta.3).
Ran installer, installed the program in default location ( C:\Program Files (x86)\gtm ).
Navigated to the .exe program file in my new gtm folder, double-clicked to run.
Command Prompt window opened and error message popped up:

Darn, I was hoping that was not going to be an issue.  GTM does not technically need libssh2 but we have been unable to get it to build without it on the Windows platform.  You can see this in the AppVeyor build.  So the solution should be for us to fix the build process.
Can you tell me a little bit about how Git is installed on your system and how you use it?  Do you use Git via the command line or a Git Windows client?  Are you using Git Bash?

I was able to reproduce this issue with a fresh install of Windows.  Stay tuned for the fix.

This issue should now be resolved.  The build process has been updated to eliminate the need for libssh2.  Please download the latest release for this fix.  Let us know if you have any further issues.


v-slot directive is not working now but still exist in English document

In the Named slots section.
Chinese document is right while English document still says use "v-slot:name" to set slot name.

v-slot should be working now. If you’ve encountered any problem please file a bug report (with runnable reproduction) in the vuejs/vue repo. Thanks.


Update Quick Start and Associated docs

What
As part of implementing distributed DNS, we will also need to update the quick start and follow on walkthrough for multi-cluster to use this setup.

[ ] Update multi-cluster quickstart and scripts https://docs.kuadrant.io/getting-started-multi-cluster/
[ ] Add a new multi-cluster walkthrough similar to https://docs.kuadrant.io/multicluster-gateway-controller/docs/how-to/multicluster-gateways-walkthrough/

@david-martin I am going to assign you and I to this one

I am looking at the walkthrough doc and I believe you are on the quickstart?


CHEF-3839 Call osc_user_create from configure_initial

This is an obvious fix that keeps configure-initial working until it is updated to work with the new user-create.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@achakraborty-zulily

Please sign the CLA here.


Building camps: Not removing HR or FIA cash

The building camps option is FREE, no HR or cash is removed from FIA
P.S. Tested with ACE in DEVELOP branch in MP

Fixed by 8ec0c1e1cdfff5a63582b03d39fefcc11c1879fd


feat: [M3-7169, M3-7193, M3-7211, M3-7255, M3-7258] - VPC UX feedback

Description 📝
Address UX feedback for VPC
Changes  🔄

Updated VPC empty landing text
New VPC icon
Minor UI changes to Assign Linode to Subnet drawer
Updated tooltip text for the Auto-assign a VPC IPv4 address checkbox
Minor text UI changes to VPC details page

Preview 📷

VPC empty landing before
VPC empty landing after

VPC side/create menu icon before
VPC side/create menu after

Assign Linode to Subnet drawer before
Assign Linode to Subnet drawer after

VPC detail Safari before
VPC detail Safari after

How to test 🧪
Prerequisites
(How to setup test environment)

Point to the dev env and ensure your account has vpc customer tags

Verification steps
Verify the ticket changes requested and check these flows:

VPC empty landing (set line 87 to true in VPCLanding)
VPC side menu and create menu icons
Assign Linode to Subnet drawer
VPC details page (changes are more noticeable in Safari)

As an Author I have considered 🤔
Check all that apply

[x] 👀 Doing a self review
[x] ❔ Our contribution guidelines
[x] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[x] 🧪 Providing/Improving test coverage
[x] 🔐 Removing all sensitive information from the code and PR description
[x] 🚩 Using a feature flag to protect the release
[x] 👣 Providing comprehensive reproduction steps
[x] 📑 Providing or updating our documentation
[x] 🕛 Scheduling a pair reviewing session
[x] 📱 Providing mobile support
[x] ♿  Providing accessibility support

@hana-linode Relevant unit test failure:

Just had a look at the CI run and it looks like vpc-landing-page.spec.ts and vpc-details-page.spec.ts need the copy updates too - those are relevant failures.

@mjac0bs merged develop in and the nested table should be loading again. I tried looking into the overflow issue but was not able to find an easy solution, so I created M3-7331 to track that

Confirmed @abailly-akamai's pr #9843 fixes the font weight on safari for the Subnet Assign Linodes drawer!


Configure project for pip packaging

Setup bot to be installed via pip.

Will be migrating to Poetry instead


Chore / Upgrade Example Project

Upgrade Example Project to Latest React Native and React Pair Version
This PR Introduces

Upgrades example project to React Native 0.71.8
Upgrades react native in project dev dependencies to 0.71.8
Upgrades react in project dev dependencies to 18.2.0

How To Test

Switch to branch chode/upgrade-example-project
Run npm install on project folder.
Run npm run localPublish in project folder.
cd into example project.
run npm install in example project.
cd into ios in the example folder and run pod install
cd back to the example folder.
Run npm run ios or npm run android to run on iOS or Android respectively.

Expected Result

The project should run and launch successfully.
Tapping on any of the buttons shown should work correctly.
You should be able to run the project on your Android device.

This works as expected both on simulator and android device


Add reference counting to tsi_ssl_handshaker_factories

This is a WIP. Still need to integrate with pending tsi testing framework.

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

[trickle] No significant performance differences

Corrupt JSON data (indicates timeout or crash):
    bm_fullstack_streaming_ping_pong.BM_StreamingPingPongWithCoalescingApi_MinInProcessCHTTP2_NoOpMutator_NoOpMutator__2M_2_0.counters.old: 1

[microbenchmarks] No significant performance differences

Comments should be addressed. PTAL.

[trickle] No significant performance differences

Corrupt JSON data (indicates timeout or crash):
    bm_fullstack_streaming_ping_pong.BM_StreamingPingPongWithCoalescingApi_InProcessCHTTP2_NoOpMutator_NoOpMutator__2M_2_0.opt.old: 1

[microbenchmarks] No significant performance differences

@jboeuf Fixed the nit and rebased to squash commit history. PTAL.

pushed.

[trickle] No significant performance differences

[microbenchmarks] Performance differences noted:
Benchmark                                                                                atm_cas_per_iteration    cpu_time    real_time
----------------------------------------------------------------------------------------------------  -----------------------  ----------  -----------
BM_ErrorCreateAndSetIntLoop                                                                                +4%         +5%
BM_ErrorCreateFromStatic                                                                                +4%         +4%
BM_HpackParserParseHeader<IndexedSingleStaticElem>                                                                             +6%         +7%
BM_IsolatedFilter<LoadReportingFilter, SendEmptyMetadata>                                                                      +7%         +7%
BM_PumpStreamServerToClient<SockPair>/2M                                                                                +5%
BM_SingleThreadPollOneFd                                                                                +4%
BM_StreamingPingPong<InProcess, NoOpMutator, NoOpMutator>/4k/1                                                                 +7%         +7%
BM_StreamingPingPong<MinInProcess, NoOpMutator, NoOpMutator>/1/2                                                               +8%         +9%
BM_StreamingPingPong<MinInProcessCHTTP2, NoOpMutator, NoOpMutator>/4k/1                                                                    +4%
BM_StreamingPingPong<TCP, NoOpMutator, NoOpMutator>/16M/1                                                                                +4%
BM_StreamingPingPongMsgs<InProcessCHTTP2, NoOpMutator, NoOpMutator>/64                                                         +4%         +5%
BM_StreamingPingPongWithCoalescingApi<InProcessCHTTP2, NoOpMutator, NoOpMutator>/0/2/1                                                     +4%
BM_StreamingPingPongWithCoalescingApi<InProcessCHTTP2, NoOpMutator, NoOpMutator>/2M/1/0                                        +7%         +5%
BM_StreamingPingPongWithCoalescingApi<MinInProcess, NoOpMutator, NoOpMutator>/2M/1/0                  +11%
BM_TransportStreamRecv/0                                                                                +6%         +6%
BM_TransportStreamRecv/1                                                                                +4%         +4%
BM_UnaryPingPong<InProcess, NoOpMutator, Server_AddInitialMetadata<RandomAsciiMetadata<100>, 1>>/0/0                           +4%         +4%
BM_UnaryPingPong<InProcessCHTTP2, NoOpMutator, NoOpMutator>/0/0                                                                +4%         +4%

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

hi @justinburke , any luck with the failing tests? :)

@cauthu Took a while to go through, but the test failures don't appear to have been related to this PR.

ah cool! i see it's been merged!
how do we proceed with the next PR? anything i need to do on my end?


tsx watch --ignore ... causes ERR_MODULE_NOT_FOUND errors

Precheck

[X] I searched existing issues before opening this one to avoid duplicates
[X] I'm able to reproduce this issue and prove it with a minimal reproduction
[X] I understand this is not a place to ask for free debugging support

Problem
Ignoring files with --ignore ./../pkg-a/.next/**/* causes ERR_MODULE_NOT_FOUND error:
$ cd pkg-b

$ pnpm i
Lockfile is up to date, resolution step is skipped
Packages: +2
++
Done in 492ms

~/projects/node-d5jut7/pkg-b
$ pnpm tsx watch --clear-screen=false --ignore ./../pkg-a/.next/**/* index.ts

(node:77) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/projects/node-d5jut7/pkg-a/.next/cache/webpack' imported from /home/projects/node-d5jut7/pkg-b/
    at __node_internal_ (https://noded5jut7-fpux.w-credentialless.staticblitz.com/blitz.6843a59c.js:36:5406)
    at new <anonymous> (https://noded5jut7-fpux.w-credentialless.staticblitz.com/blitz.6843a59c.js:36:4168)
    at https://noded5jut7-fpux.w-credentialless.staticblitz.com/blitz.6843a59c.js:114:12002
    at https://noded5jut7-fpux.w-credentialless.staticblitz.com/blitz.6843a59c.js:114:12159
    at defaultResolve (https://noded5jut7-fpux.w-credentialless.staticblitz.com/blitz.6843a59c.js:114:12167)
    at nextResolve (https://noded5jut7-fpux.w-credentialless.staticblitz.com/blitz.6843a59c.js:248:2120)
    at h (file:///home/projects/node-d5jut7/pkg-b/node_modules/.pnpm/@esbuild-kit+esm-loader@2.5.0/node_modules/@esbuild-kit/esm-loader/dist/index.js:19:2612)
    at U (file:///home/projects/node-d5jut7/pkg-b/node_modules/.pnpm/@esbuild-kit+esm-loader@2.5.0/node_modules/@esbuild-kit/esm-loader/dist/index.js:19:1536)
    at N (file:///home/projects/node-d5jut7/pkg-b/node_modules/.pnpm/@esbuild-kit+esm-loader@2.5.0/node_modules/@esbuild-kit/esm-loader/dist/index.js:19:1766)
    at h (file:///home/projects/node-d5jut7/pkg-b/node_modules/.pnpm/@esbuild-kit+esm-loader@2.5.0/node_modules/@esbuild-kit/esm-loader/dist/index.js:19:2711)
    at async nextResolve (https://noded5jut7-fpux.w-credentialless.staticblitz.com/blitz.6843a59c.js:248:2114)
    at async ESMLoader.resolve (https://noded5jut7-fpux.w-credentialless.staticblitz.com/blitz.6843a59c.js:248:7550)
    at async ESMLoader.getModuleJob (https://noded5jut7-fpux.w-credentialless.staticblitz.com/blitz.6843a59c.js:248:4376) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Removing the --ignore option causes the program to run through:
$ pnpm tsx watch index.ts
a 1

Expected behavior
Imported modules / packages / files can still be located if they are a part of the --ignore specifier
Minimal reproduction URL
https://stackblitz.com/edit/node-d5jut7?file=pkg-b%2Findex.ts&file=pkg-a%2F.next%2Fcache%2Fwebpack%2Ffile.ts
Version
v4.5.0
Node.js version
v18.18.0
Package manager
pnpm
Operating system
Linux
Contributions

[ ] I plan to open a pull request for this issue
[ ] I plan to make a financial contribution to this project

Bump - having the same issue

Digging deeper, this happens due to glob expansion.
What happens with the ignore flag above is that bash matches the files and expanded the arguments.
For example:
pnpm tsx watch --clear-screen=false --ignore ./../pkg-a/.next/**/* index.ts

Became
pnpm tsx watch --clear-screen=false --ignore ./../pkg-a/.next/path/path1 ./../pkg-a/.next/path/path2 ./../pkg-a/.next/path/path3 index.ts

To specify the ignore pattern without triggering that expansion, you only need to pass it as a string. So adding '' around it should fix the problem.
pnpm tsx watch --clear-screen=false --ignore './../pkg-a/.next/**/*' index.ts

This is what I'm using now. I reckon the docs should be updated to include the quotes

@Vija02 Appreciate it! I updated the docs: https://tsx.is/watch-mode


Questions to master binary search

Description
This documentation will include list of some questions of leetcode which will help you to understand the concept of binary search
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

Closing as #4501 got merged


Update README.md

👋 Request from @colindembovsky for deployment received using deploy to test :rocket:


Add doc for auto-generated code

RUSTFLAGS='-D missing_docs' cargo build doesn't work with anything that uses substrate-wasm-builder-runner because there isn't a top-level documentation for the auto-generated code and this PR only adds a placeholder to make the lint happy.

bot merge


Modified common fixtures to handle ingress scaling better.

@sangeethah : Modified test cases to use single dimensional array for ingress lb ips
All test cases passed.

LGTM


Unknown exporter Make sure you have the correct dependencies installed For gif install lottie.exporters.cairo For video install lottie.exporters.cairo

Describe the bug
I know this issue will never be solved because maintainer is dead but I still would like to open this issue in case someone else stumble upon this bug
To Reproduce
Steps to reproduce the behavior:

Get macos
Download tgs default animated sticker
Install opencv-python, lottie, cairo
Export to webp or webm or mp4 or gif: ./lottie_convert.py /Users/VITA/Downloads/telegram-animoji.tgs output_file.webp

Expected behavior
Exported as stated in documentation
Environment (please complete the following information):

OS: macos Monterey
Matterbridge version: idk what is this
If self compiled: downloaded from website

Solved by installing
pip3 install cairosvg
pip3 install Pillow


Negative subcool-temperature, missing heating-liquid-line-temperature

First of all, thanks so much for all of your work on this, really nice documentation and install recipe!
I dedicated an old Raspberry Pi model B for this running Raspbian 10 (buster) with the following adapter (the adapter you linked was out of stock at the time) and it worked right away. Uses only 3% CPU on average and very little memory. The Pi gets wired network and power from a POE adapter at my furnace, no need for an outlet and I have the POE switch on a UPS.
https://www.amazon.com/gp/product/B081MB6PN2
A couple of minor items I noticed:
/compressor/subcool-temperature (register 1135) is publishing a negative value. The register value from aurora_fetch is negative, the number is correct based on register 1134 - register 1109 (Subcool = High Pressure Saturation Temp - Liquid Line Temperature) , just the wrong sign?
/compressor/heating-liquid-line-temperature is missing, I see it listed as register 1109, can this be added to the published values?

Thanks for adding the LLT value. I don't have an AID tool, does yours display a negative value for SubCool?
From section 9 of page 57 of the 700A11 installation manual (it says 49 on the PDF page looks like they missed renumbering) :
https://www.waterfurnace.com/literature/7series/im2700ana.pdf
SubCool = High Pressure Saturation Temp - Liquid Line Temperature
High Pressure Saturation Temp is /compressor/saturated-condensor-discharge-temperature
The LLT sensor is shown on the diagram on page 55, it is the temperature after exiting the air coil. Nice heating cycle diagram on page 56 too. It should be lower than the discharge temperature and a bit higher than the leaving air temperature.
In the Subcooling column of Operating Parameters on page 53, all of the subcooling values are positive.

This is a view of my system as of a minute ago.
I've had some issues with my system lately and had a tech out twice. He definitely looked at the SubCool intently, and was not phased at all by it being negative.

Very interesting, well if the AID tool shows it as negative then best to leave it that way. Maybe both of our systems have similar issues. I'll try to remember to ask my tech about the negative number next time he is here.

I'm closing for now. Feel free to re-open if you find additional evidence.


Querying large number of entities via primary key criteria

We have a problem querying a large number (i.e. more than 1000) of entities via criteria on their primary key which fields due to expanding list parameters with more than 1000 expressions, i.e. it yields the Oracle error
ORA-01795: maximum number of expressions in a list is 1000

We would have expected that DBAL takes care of this, but it looks like this is considered to much of a corner case. Hence we tried too implement a workaround on the repository level by issuing several calls to the underlying repositories findBy method and merging their results after chunking up the list parameters, e.g.:
public function findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
{
    $repository = $this->getRepository();
    return self::chunkListParameters($criteria, function ($clause) use ($repository, $orderBy, $limit, $offset) {
        return $repository->findBy($clause, $orderBy, $limit, $offset);
    });
}

private static function chunkListParameters(array $criteria, callable $query, $size = 1000)
{
    $clauses = [[]];
    $newClauses = [];
    foreach ($criteria as $parameter => $values) {
        foreach ($clauses as $clause) {
            if (is_array($values) && count($values) > $size) {
                foreach (array_chunk($values, $size) as $chunk) {
                    $newClause = $clause;
                    $newClause[$parameter] = $chunk;
                    $newClauses[] = $newClause;
                }
            } else {
                $clause[$parameter] = $values;
                $newClauses[] = $clause;
            }
        }
        $clauses = $newClauses;
        $newClauses = [];
    }

    if (count($clauses) == 1) {
        return $query($clauses[0]);
    } else {
        return array_reduce(array_map($query, $clauses), "array_merge", []);
    }
}

Do think that something like this could become part of the upstream implementation?

Closing as duplicate of https://github.com/doctrine/dbal/pull/2699


[stable/osclass] Fix issue with OSCLASS_HOST

Signed-off-by: Javier J. Salmeron Garcia<EMAIL_ADDRESS>
What this PR does / why we need it:
We were adding an extra }} in OSCLASS_HOST. This PR fixes it
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/ok-to-test
/lgtm


Error fetching image metadata: HTTP code: 404

I' am trying to create app from private docker registry:
ltc create my-redis <IP_ADDRESS>.xip.io:5000/my-redis

and getting an error:
Error fetching image metadata: HTTP code: 404
There are steps I've done:

Launch an ubuntu instance on AWS and install docker there.
Certificates

# generate (on server):
openssl req -x509 -nodes -newkey rsa:2048 -keyout certs/domain.key -out certs/domain.crt

# add to system (the same on client machine):
cp certs/domain.crt /usr/share/ca-certificates
dpkg-reconfigure ca-certificates

Run registry

docker run -p 5000:5000 --restart=always --name registry \
    -v `pwd`/certs:/certs \
    -e SEARCH_BACKEND=sqlalchemy \
    -e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt \
    -e REGISTRY_HTTP_TLS_KEY=/certs/domain.key \
    registry:2.0

And I can push/pull images to this registry by docker:
docker push <IP_ADDRESS>.xip.io:5000/my-redis
docker pull <IP_ADDRESS>.xip.io:5000/my-redis

So why I can't do ltc create?
I can add, there are an errors in registry:
http: TLS handshake error from <IP_ADDRESS>:56516: remote error: bad certificate
From time to time there is also this error (when pushing image for example):
http: TLS handshake error from MY_IP:51350: remote error: unknown certificate authority

I think you ran into a problem with the default redis image that was pushed to DockerHub on 09/10/2015.  We're not sure about the underlying root cause yet, but for the time being, we advised people to deploy redis:3.0.1 (See  troubleshooting page).  However, I re-tested it and it seems to be working (without any change on our end and the push date remaining the same).
To respond to this, we documented a temporary workaround with [#103257172], but we have [#103738400] scheduled to remove the workaround now that it seems to be working again.
Can you try again and let us know what you experience?

Hmm... I think you didn't understand my problem...
I cannot create app from private registry.
But this private registry seems to be good because I can pull the image with docker.
Creating apps from Docker Hub is working, only from private registry not.
I did what you suggest, I pushed redis:3.0.1 to private registry and problem is the same.

Sorry about that - I thought the error message was related to another issue.
Okay, I hadn't tried following our private docker registry instructions in some time, and noticed it was out of date.  We just finished [#103737020] and our private docker registry instructions should be better now.
I haven't tested it myself, but take a look and give us any feedback you may have.
@davidwadden

Hmm... Looks like I forgot to add that my lattice is deployed by terraform :(
But even if I change garden-linux.conf on each lattice cell and restart garden (or even whole machine), problem is the same:
Error fetching image metadata: HTTP code: 404
One more important thing: certificate is added to the system, so I can pull image without changing any flags for docker daemon. So... Lattice should be able to do the same without adding -insecureDockerRegistryList flag to garden-linux.conf

Okay so I think the error you're seeing is wholly unrelated to the cluster configuration.  It would help to see more of the command you're trying to do.  Is this public code you have on Github I could try to reproduce with?  The error is likely ltc attempting to connect to your Docker Registry to fetch the image metadata and maybe having issues.
If you're willing, contact me via email and let me try to connect to your terraform cluster to reproduce this issue.  This is not functionality we've explicitly tested with although I think it should work.

First off, Lattice running against a self-signed registry in Terraform is not a supported thing yet.  But, we're discussing how to improve the local docker experience and private registries will be better supported in some time.  The document I gave you earlier specifically applies to vagrant deployments.  I did test it this morning with [#103737020] and that does work.
However, with your help, I was able to narrow it down to docker_metadata_fetcher.go:60 throwing the error.  This means we're not even getting far enough to submit this back to the cluster for garden-linux to attempt to pull the layers and bring up the container.  This is failing when the CLI attempts to determine metadata about the docker image, specifically the EXPOSE, WORKDIR and ENTRYPOINT directives.
I don't think we're getting far enough to even submit this back to the cluster to pull the layers.  The Lattice CLI (ltc) queries the registry using the
I ran docker logs <registry_container> and saw the following from the ltc attempting to fetch the metadata from the registry:
<IP_ADDRESS> - - [23/Sep/2015:21:57:29 +0000] "GET /v2/ HTTP/1.1" 200 2 "" "Go 1.1 package http"
time="2015-09-23T21:57:29Z" level=info msg="response completed" http.request.host="<IP_ADDRESS>.xip.io:5000" http.request.id=c4a07e5a-71f6-4f31-b03d-2dede6344e7a http.request.method=GET http.request.remoteaddr="<IP_ADDRESS>:58335" http.request.uri="/v2/" http.request.useragent="Go 1.1 package http" http.response.contenttype="application/json; charset=utf-8" http.response.duration=1.934526ms http.response.status=200 http.response.written=2 instance.id=fac7c236-3d72-4324-96b7-4d4ec83f0b1b version=v2.1.1
<IP_ADDRESS> - - [23/Sep/2015:21:57:29 +0000] "GET /v2/ HTTP/1.1" 200 2 "" "Go 1.1 package http"
<IP_ADDRESS> - - [23/Sep/2015:21:57:29 +0000] "GET /v1/repositories/my-redis/images HTTP/1.1" 404 19 "" "Go 1.1 package http"
time="2015-09-23T21:58:37Z" level=info msg="response completed" http.request.host="<IP_ADDRESS>.xip.io:5000" http.request.id=fb820435-fca1-4507-aab0-2eb9f3350005 http.request.method=GET http.request.remoteaddr="<IP_ADDRESS>:58983" http.request.uri="/v2/" http.request.useragent="Go 1.1 package http" http.response.contenttype="application/json; charset=utf-8" http.response.duration=1.854472ms http.response.status=200 http.response.written=2 instance.id=fac7c236-3d72-4324-96b7-4d4ec83f0b1b version=v2.1.1

I hacked around the ltc code by subbing in:
imageMetadata := &docker_metadata_fetcher.ImageMetadata{}
And then trying to create with the below command (passing the metadata explicitly):
○ → ltc create my-redis <IP_ADDRESS>.xip.io:5000/my-redis -w /data -p 6379 -- /entrypoint.sh redis-server
Monitoring the app on port 6379...
Creating App: my-redis
........09/23 17:23:12.37 [APP|0] Successfully created container
09/23 17:23:13.26 [APP|0] Creating container
......09/23 17:23:19.33 [APP|0] Successfully created container
09/23 17:23:18.90 [APP|0] Creating container
.09/23 17:23:19.30 [APP|0] Successfully created container
..................................................09/23 17:24:12.49 [APP|0] Creating container
.09/23 17:24:12.91 [APP|0] Successfully created container
..............^C

garden-linux reports some of the following through the logs:
[rep|cell-1]           [ERROR]   09/23 17:23:19.49 4.1<IP_ADDRESS>   rep.depot-client.run-container.run.setup.download-step.fetch-failed
                                                                  Download failed: Status code 404
                                                                  {"cacheKey":"","guid":"my-redis-bd769ebf-a345-47de-45a4-c9f3658584a4","to":"/tmp","user":"vcap"}

What's weird is when I do get the cluster to attempt to download the docker image, garden-linux reports getting 404s but I don't see the equivalent error in the registry logs:
time="2015-09-23T23:00:52Z" level=info msg="response completed" http.request.host="<IP_ADDRESS>.xip.io:5000" http.request.id=17300c1b-da17-4576-b8eb-391dde7e75ed http.request.method=GET http.request.remoteaddr="<IP_ADDRESS>:58071" http.request.uri="/v2/" http.request.useragent="docker/1.7.0 go/go1.4.2 git-commit/f07f542 kernel/3.13.0-61-generic os/linux arch/amd64" http.response.contenttype="application/json; charset=utf-8" http.response.duration=1.955342ms http.response.status=200 http.response.written=2 instance.id=fac7c236-3d72-4324-96b7-4d4ec83f0b1b version=v2.1.1
<IP_ADDRESS> - - [23/Sep/2015:23:00:52 +0000] "GET /v2/ HTTP/1.1" 200 2 "" "docker/1.7.0 go/go1.4.2 git-commit/f07f542 kernel/3.13.0-61-generic os/linux arch/amd64"
time="2015-09-23T23:00:52Z" level=info msg="response completed" http.request.host="<IP_ADDRESS>.xip.io:5000" http.request.id=adafcb39-0123-4178-979a-df249dc25d46 http.request.method=GET http.request.remoteaddr="<IP_ADDRESS>:58072" http.request.uri="/v2/" http.request.useragent="docker/1.7.0 go/go1.4.2 git-commit/f07f542 kernel/3.13.0-61-generic os/linux arch/amd64" http.response.contenttype="application/json; charset=utf-8" http.response.duration=2.027375ms http.response.status=200 http.response.written=2 instance.id=fac7c236-3d72-4324-96b7-4d4ec83f0b1b version=v2.1.1

I saved off the logs from the registry at https://gist.github.com/davidwadden/56a5f5923c3b53b44fcb
Notable times:
23/Sep/2015:21:54-23/Sep/2015:21:58 - ltc with metadata lookup
I took a step back here and made sure the problem was related to the self-signed certs as I suspect.  I ran an insecure registry on your AWS registry (on port 5001), and configured garden-linux to allow insecure communication with that.  I ran into the same 404 from the normal ltc:
○ → ltc create my-redis3 <IP_ADDRESS>:5001/my-redis -r -w /data -p 6379 -- /entrypoint.sh redis-server
Error fetching image metadata: HTTP code: 404

But had success using the hacked version without the metadata lookup:
○ → ltc create my-redis2 <IP_ADDRESS>:5001/my-redis -r -w /data -p 6379 -- /entrypoint.sh redis-server
Monitoring the app on port 6379...
Creating App: my-redis2
.09/23 17:45:35.74 [APP|0] Successfully created container
.09/23 17:45:36.09 [APP|0] 14:C 23 Sep 22:45:36.093 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
09/23 17:45:36.09 [APP|0] 14:M 23 Sep 22:45:36.093 * Increased maximum number of open files to 10032 (it was originally set to 1024).
09/23 17:45:36.09 [APP|0]                 _._
09/23 17:45:36.09 [APP|0]            _.-``__ ''-._
09/23 17:45:36.09 [APP|0]       _.-``    `.  `_.  ''-._           Redis 3.0.1 (00000000/0) 64 bit
09/23 17:45:36.09 [APP|0]   .-`` .-```.  ```\/    _.,_ ''-._
09/23 17:45:36.09 [APP|0]  (    '      ,       .-`  | `,    )     Running in standalone mode
09/23 17:45:36.09 [APP|0]  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
09/23 17:45:36.09 [APP|0]  |    `-._   `._    /     _.-'    |     PID: 14
09/23 17:45:36.09 [APP|0]   `-._    `-._  `-./  _.-'    _.-'
09/23 17:45:36.09 [APP|0]  |`-._`-._    `-.__.-'    _.-'_.-'|
09/23 17:45:36.09 [APP|0]  |    `-._`-._        _.-'_.-'    |           http://redis.io
09/23 17:45:36.09 [APP|0]   `-._    `-._`-.__.-'_.-'    _.-'
09/23 17:45:36.09 [APP|0]  |`-._`-._    `-.__.-'    _.-'_.-'|
09/23 17:45:36.09 [APP|0]  |    `-._`-._        _.-'_.-'    |
09/23 17:45:36.09 [APP|0]   `-._    `-._`-.__.-'_.-'    _.-'
09/23 17:45:36.09 [APP|0]       `-._    `-.__.-'    _.-'
09/23 17:45:36.09 [APP|0]           `-._        _.-'
09/23 17:45:36.09 [APP|0]               `-.__.-'
09/23 17:45:36.09 [APP|0] 14:M 23 Sep 22:45:36.094 # Server started, Redis version 3.0.1
09/23 17:45:36.09 [APP|0] 14:M 23 Sep 22:45:36.094 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
09/23 17:45:36.09 [APP|0] 14:M 23 Sep 22:45:36.094 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
09/23 17:45:36.09 [APP|0] 14:M 23 Sep 22:45:36.094 * The server is now ready to accept connections on port 6379
09/23 17:45:36.19 [APP|0] {"timestamp":"1443048336.196844816","source":"sshd","message":"sshd.started","log_level":1,"data":{}}
09/23 17:45:36.54 [HEALTH|0] healthcheck passed
09/23 17:45:36.55 [HEALTH|0] Exit status 0

my-redis2 is now running.

So, generally, I don't think I have a quick workaround for you to make this work.  We'll need to do some work on our end to support self-signed certificates.  I didn't test an insecure registry running on AWS, but you may have better luck getting an unsigned registry to work.
I don't have a timeline when we might be able to perform this feature request yet.  But, this was very educational for me to learn about self-signed registries and I'll work on trying to bring this functionality to Lattice.
@davidwadden

Thanks a lot for debug this.
I hope that this will be working soon:)

I just ran into this issue, FYI. not sure what it means or what to do

Lattice was a Cloud Foundry project focused on delivering the Diego application scheduler into the hands of users as quickly as possible before Diego was fully integrated to Cloud Foundry. Lattice served that purpose well, but now Diego is available as the application scheduler for Cloud Foundry, and Cloud Foundry is the best way to use Diego. Therefore, Lattice is no longer actively maintained.
Apologies for not continuing to address your issue.
-Stephen


chore(packages): Update s3 to point at master

s3 is a dead project, this needs to be switched over to use aws sdk directly since we already use it for cloudfront. This will temporarily unblock #43 until that point

@d3viant0ne  thoughts?

While we are at it, it would also be useful to drop the packages in #78 which aren't well maintained which resolved a few of the security issues and unblocks the defaults upgrade.
We could also just slam all that into the defaults branch and keep it to a single major release.

@d3viant0ne That's a nice idea and all, but currently the s3 version is preventing people from deploying to S3 in certain situations. Could we get this minor change forward first? :)


NVIDIA docker apt

Custom conf package to add the NVIDIA docker package sources for Debian 9.

Merging.
I'll just replace curl stanza by wget (for APT key retrieval) since the latter is Debian default (available on a minimal vanilla install, IIRC)
Thanks


[🐞] Outdated lint warning for routeAction$/routeLoader

Which component is affected?
Qwik Runtime
Describe the bug
import { component$ } from<EMAIL_ADDRESS>import {
  routeLoader$,
  Form,
  routeAction$,
  server$,
} from<EMAIL_ADDRESS>
// WARNING: The return of `routeLoader$()` needs to be exported in the same module, like this
const useDadJoke = routeLoader$(async () => {
});

// WARNING: The return of `routeAction$()` needs to be exported in the same module, like this
const useJokeVoteAction = routeAction$((props) => {
});

export default component$(() => {
  const dadJokeSignal = useDadJoke();
  const favoriteJokeAction = useJokeVoteAction();
  return ...;
});

Reproduction
above
Steps to reproduce
No response
System Info
n/a

Additional Information
No response

it needs to be exported! the lint is correct! this is a different reason as the $() routeAction and routeLoader, must be exported!


ActiveMQ connection factory is shutdown before Camel routes are stopped

I am using Wildly-Camel to manage routes that publish and consume from an ActiveMQ broker. I have configured resource adapter as per the wildfly-camel ActiveMQ documentation and everything is working as expected.
The problem occurs when shutting down wildfly. The ActiveMQ connection factory is shutdown before the camel routes which results in a number or warnings and errors in the log as the routes continue to try and use the connection factory until they are shut down. While this does not cause any issues as far as I can see it does result in a number or warnings, errors and stack-traces in the Wildfly logs which is not ideal.
Environment
Wildfly 9.0.2.Final
Wildfly-Camel 3.3.0.Final

Adding some notes that demonstrate the problem (see ERROR level log message):
15:52:38,718 INFO  [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested.
15:52:38,738 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-5) WFLYJCA0011: Unbound JCA AdminObject [java:/OrdersQueue]
15:52:38,739 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-6) WFLYJCA0011: Unbound JCA ConnectionFactory [java:/ActiveMQConnectionFactory]
15:52:38,740 INFO  [org.jboss.gravia.runtime] (MSC service thread 1-4) Stopped: Module[gravia-container-wildfly-extension:1.3.1]
15:52:38,741 INFO  [org.jboss.gravia.runtime] (MSC service thread 1-4) Uninstalled: Module[gravia-container-wildfly-extension:1.3.1]
15:52:38,748 INFO  [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool -- 75) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory
15:52:38,749 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 13) WFLYUT0022: Unregistered web context: /hawtio
15:52:38,751 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 14) WFLYUT0022: Unregistered web context: /example-camel-activemq
15:52:38,754 WARN  [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (ServerService Thread Pool -- 25) IJ000615: Destroying active connection in pool: QueueConnectionFactory ([org.apache.activemq.ra.ActiveMQManagedConnection@39796ca7,ActiveMQConnection {id=ID:worklaptop-33996-1459435952223-1:1,clientId=ID:worklaptop-33996-1459435952223-0:1,started=true}])
15:52:38,756 WARN  [org.apache.camel.component.jms.DefaultJmsMessageListenerContainer] (Camel (camel-1) thread #1 - JmsConsumer[OrdersQueue]) Setup of JMS message listener invoker failed for destination 'OrdersQueue' - trying to recover. Cause: The Session is closed
15:52:38,763 ERROR [org.apache.camel.component.jms.DefaultJmsMessageListenerContainer] (Camel (camel-1) thread #1 - JmsConsumer[OrdersQueue]) Could not refresh JMS Connection for destination 'OrdersQueue' - retrying using FixedBackOff{interval=5000, currentAttempts=0, maxAttempts=unlimited}. Cause: IJ000470: You are trying to use a connection factory that has been shut down: java:/ActiveMQConnectionFactory
15:52:38,764 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0019: Host default-host stopping
15:52:38,765 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0010: Stopping weld service for deployment example-camel-activemq-4.0.0-SNAPSHOT.war
15:52:38,773 INFO  [org.apache.camel.cdi.CamelContextProducer] (MSC service thread 1-1) Camel CDI is stopping Camel context [camel-1]
15:52:38,774 INFO  [org.apache.camel.impl.DefaultCamelContext] (MSC service thread 1-1) Apache Camel 2.17.0 (CamelContext: camel-1) is shutting down
15:52:38,775 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (MSC service thread 1-1) Starting to graceful shutdown 2 routes (timeout 300 seconds)
15:52:38,790 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028: Stopped deployment activemq-rar.rar (runtime-name: activemq-rar.rar) in 65ms
15:52:38,845 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028: Stopped deployment hawtio-wildfly-1.4.60.war (runtime-name: hawtio-wildfly-1.4.60.war) in 120ms
15:52:43,767 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-1) thread #2 - ShutdownTask) Route: route2 shutdown complete, was consuming from: Endpoint[activemq://queue:OrdersQueue]
15:52:43,768 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (camel-1) thread #2 - ShutdownTask) Route: route1 shutdown complete, was consuming from: Endpoint[file:///home/james/Projects/demo/wildfly-10.0.0.Final/standalone/data/orders]
15:52:43,768 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (MSC service thread 1-1) Graceful shutdown of 2 routes completed in 4 seconds
15:52:43,772 INFO  [org.wildfly.extension.camel] (MSC service thread 1-1) Camel context stopped: camel-1
15:52:43,777 INFO  [org.apache.camel.impl.DefaultCamelContext] (MSC service thread 1-1) Apache Camel 2.17.0 (CamelContext: camel-1) uptime 11.935 seconds
15:52:43,777 INFO  [org.apache.camel.impl.DefaultCamelContext] (MSC service thread 1-1) Apache Camel 2.17.0 (CamelContext: camel-1) is shutdown in 5.003 seconds
15:52:43,784 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-1) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:jboss/DefaultJMSConnectionFactory
15:52:43,784 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-5) WFLYJCA0011: Unbound JCA ConnectionFactory [java:/JmsXA]
15:52:43,786 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) WFLYJCA0019: Stopped Driver service with driver-name = h2
15:52:43,784 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
15:52:43,788 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment example-camel-activemq-4.0.0-SNAPSHOT.war (runtime-name: example-camel-activemq-4.0.0-SNAPSHOT.war) in 5063ms
15:52:43,790 INFO  [org.jboss.gravia.runtime] (Thread-118) Stopped: Module[org.apache.felix.configadmin:1.8.8]
15:52:43,790 INFO  [org.jboss.gravia.runtime] (Thread-118) Uninstalled: Module[org.apache.felix.configadmin:1.8.8]
15:52:43,790 INFO  [org.jboss.gravia.runtime] (Thread-118) Stopped: Module[org.apache.felix.scr:1.6.2]
15:52:43,790 INFO  [org.jboss.gravia.runtime] (Thread-118) Uninstalled: Module[org.apache.felix.scr:1.6.2]
15:52:43,791 INFO  [org.jboss.gravia.runtime] (MSC service thread 1-8) Runtime released: org.wildfly.extension.gravia.service.WildFlyRuntime@f6037e2
15:52:43,793 INFO  [org.apache.activemq.artemis.ra] (ServerService Thread Pool -- 25) AMQ151003: resource adaptor stopped
15:52:43,820 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 25) AMQ221002: Apache ActiveMQ Artemis Message Broker version 1.1.0.wildfly-011 [4761b958-f74c-11e5-9b7c-6b01121479be] stopped
15:52:43,821 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008: Undertow HTTP listener default suspending
15:52:43,821 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0007: Undertow HTTP listener default stopped, was bound to <IP_ADDRESS>:8080
15:52:43,822 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0004: Undertow 1.3.15.Final stopping
15:52:43,826 INFO  [org.jboss.as] (MSC service thread 1-5) WFLYSRV0050: WildFly Full 10.0.0.Final (WildFly Core 2.0.10.Final) stopped in 5101ms

Moved to https://github.com/wildfly-extras/wildfly-camel-examples/issues/55.