Claim account

sorrki

Ok, so we talked it through and came up with an idea to make it simpler and easier for users. The flow will be like that:

On the first visit, user creates an account with "username". It is saved as their account as long as they have refresh token in LocalStorage.
1a. On revisit, if refresh token is no longer valid or doesn't exist, user can create an account with "username", same as on the first visit.

User can "claim" an account by providing an email address. Account is validated by a link in the first email.
2a. Claimed account is valid, only when the user clicked the link in the first email message.
2b. If the user didn't click the link, they can still use their account as long as they have valid refresh token.

When user has validated their account, they can use "send a magic link" button to send them a link to login to their personal account.

We will not use passwords at all, just magic links. We can always add "regular" registration later if needed.
For now we only want magic links.
@m4m3m2m1m0 if you need any advice on that, we can talk it through, also you can ask Kamil L. for help.

PS. Sorrki.


@export var n: Node3D breaks when changing the type of the set value in the scene editor

Godot version
4.1.1
System information
linux
Issue description
As seen in this clip, if you change the type of the node, it invalidates the export. (printing its value in that state shows <Object#null>.
If the new node type is compatible, it should keep the value clean.
If the new node type is incompatible, it should display a warning somehow (maybe a node configuration warning?).
https://github.com/godotengine/godot/assets/71937306/7f58c879-74dd-41b2-b387-c82a45824758
Steps to reproduce
extends Node3D

@export var n: Node3D

func _ready() -> void:
    print(n)

fill out that variable in a scene and change the node type.
Minimal reproduction project
any

It looks like this is a duplicate of #78299, which should be fixed in 4.2 by the looks (fixed in #78300).

Thanks for the report! Consolidating in https://github.com/godotengine/godot/issues/78299, which is fixed in 4.2.dev6.


Oct 18

Stop data stream via a key press,
blocking = True vs not True threading,
set telemetry rate

Implemented functionality to stop telemetry-stream via Ctrl+C.


filters: add initial support for bridged filters

Description: Adds support for platform-bridged filter implementations at the common and bridge layers of the library. Includes a stub implementation hardcoded into configuration. Dynamic configuration and data support, with platform-specific presentations, to come.
Risk Level: Moderate
Testing: Local end-to-end
Signed-off-by: Mike Schore<EMAIL_ADDRESS>

Note: this requires upstream Envoy update, and will need to be rebased when that merges. See: https://github.com/lyft/envoy-mobile/pull/923

Note: pending completed stub implementation.

This update adds an optimized path for no-op filter callbacks, as well as allowing calloc to trivially create a no-op filter - utilized here as a PlatformStub implementation.
It also factors out common callback logic on the request and response path for headers.

With this the PR should be functionally green, once upstream can be updated.

Finally rebased on upstream Envoy update.

CI is green; proceeding with merge (with previous approvals).


Remove drud-go usage from ddev

What happened (or feature request):
drud-go is becoming private, and will be decommissioned per https://github.com/drud/general/issues/110 - We should stop using it.
So... Remove usages of drud-go from ddev, and copy them into appropriate places in ddev where needed. But consider using other tools that have a better lineage.

I did a quick test and it looks like we are fine for removal except for the following packages:

github.com/drud/drud-go/utils/try
github.com/drud/drud-go/utils/system
github.com/drud/drud-go/utils/stringutil

Note that system.DownloadFile() has a very naive failure that dogs us all the time and it should not be copied - would be better to fix https://github.com/drud/ddev/issues/157

We should probably just take on #157 before this, then?

github.com/drud/drud-go/utils/stringutil
Only used for util.RandomString(). I'd say we should just copy it in.
github.com/drud/drud-go/utils/try
Only used in dockerutils.GetPodPort(). We could either bring it over, or just vendor https://github.com/matryer/try/blob/master/try.go which looks to b the original source. I'd probably just vendor it

It seems like step 1 is to fix our system.DownloadFile issues, and then the rest of this should be trivial.

stringutil and try are removed in #277.

With the PR closed, can we close this issue @beeradb? Or is there more work to do?

No, there are still references to drud-go in the vendor directory:
$ grep -r drud-go *
vendor.json:			"path": "github.com/drud/drud-go/utils/cache",
vendor.json:			"path": "github.com/drud/drud-go/utils/network",
vendor.json:			"path": "github.com/drud/drud-go/utils/stringutil",
vendor.json:			"path": "github.com/drud/drud-go/utils/try",

Ty. Moving from needs review to indicate it's still actionable!

There are two open PRs which complete the remainder of this. #304 and #285.
Once those are merged we're done here! 🎈

#304 and #285 have both been merged! closing this out.


[ENG-4407] Refactored the Collection Submission bootstrap

Ticket: ENG-4407
Feature flag: n/a

Purpose
Refactor the bootstrap grid to be native css
Summary of Changes
Removed all the bootstrap grid to be native css
Screenshot(s)
Contributors Before

Contributors After

Metadata - Before

Metadata - After

Side Effects
Mass css chaos
QA Notes
Either browse to the pages or review the screen shots

Yeah, that was my fault, because I didn't want another global class defined in our global css. I wanted to try to keep usage of that class as isolated as possible.

Yea, I didn't see that comment! So nix my suggestion of adding yet another global css rule, and just change each class='text-left' and :global(.text-left) to local-class='text-left' and .text-left in the template and scss files respectively


Fix to not log message context with explicitly LogEntry constructed when Structured Logging conf is off

What changes were proposed in this pull request?

To use structured logging developers usually do
logInfo(log"Lost executor ${MDC(LogKeys.EXECUTOR_ID, "1")}."),

When the structured logging conf is off, the context is not logged.
However if explicitly constructing the LogEntry and calling the public API,
logInfo(
  MessageWithContext(
    "Lost executor 1.",
    new java.util.HashMap[String, String] { put(LogKeys.EXECUTOR_ID.name, "1") }
  )
)

the conf does not take effect and even when it is off, the context is still logged.
This PR creates a fix for both cases to observe the conf, by toggling in the withLogContext function.
This PR also adds a extra small test on explicitly setting MDC.
Why are the changes needed?
To keep consistency between APIs.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Added new unit tests.
Was this patch authored or co-authored using generative AI tooling?

@gengliangwang

Thanks, merging to master


Skeleton client, host and supporting packages

Add skeleton macro client, host and supporting packages.
Separately I sent a doc with a diagram and notes explaining how it all fits together.
This is not enough to run anything, but perhaps enough to start sending small+meaningful CLs filling in the blanks.

I do think it would be good to get some more comments on the classes and also some extended package descriptions (or maybe readme files)

Thanks! Yes, definitely in need of more comments+docs, my plan was to get this in so we can shard discussion on those bits as they are added :)

Jake is on vacation, as agreed last week I'll merge this in with comments addressed. Closing here as the actual target repo in dart-lang/macros.


new searchBox option: queryHook

searchBox({
  // called everytime we would do a search request
  queryHook: function(inputValue, search) {
    return true; // do the search request
    // return false; // don't do the search request
    // search(); // you can call this to do the search with the provided query that would have done a search request
  }
});

This will solve #776.
@hkdobrev I am not sure to get the use case of being able to replace the query when calling search() as you proposed in https://github.com/algolia/instantsearch.js/issues/776#issuecomment-173373658.
Can you tell us more about the use case? I am not talking about https://github.com/algolia/instantsearch.js/issues/4#issuecomment-173337033

@vvo I may need to implement something with instant search which is not set in stone yet, but here is an overview:

A visitor searches with the term "chair" typed in.
Then they search for a brand by appending the brand name "Acme".
The search term is "chair Acme" now.
We can detect that and recognise it as a brand name and trigger a search for the term "chair", but filtered by the "Acme" brand.

This way we would filter by the brand with certainty instead of showing chairs not from the Acme brand down the search results when these results include the "Acme" word in the description. We have the unfortunate scenario where search by brand name is pretty important, but at the same time we have a lot of brands named after objects, colours and materials such as "wood", "blank", "red" etc. and the word - one-letter brand names.

Ok so for this particular use case, do you think #823 could do it more easily?

Do we even need to return anything ? (I find it weird to mix both return values and callbacks)
return inputValue.length > 3;

vs
if (inputValue.length > 3) search();

I find it weird to mix both return values and callbacks

Me too!
Indeed your solution is better, thanks!

@vvo Yes, #823 would be great!
However I think queryHook and beforeSearch hooks could be combined. They would be triggered at the same stage, correct? So we could have only one hook which could either cancel or modify the search or do nothing.

I think they are somehow different, queryHook allows you to decide to do or to not do a search given a keypress.
beforeSearch allows you to modify the search state before it is sent, but you can't cancel the search completely.
If we make beforeSearch able to decide to not do any request then it would mean that as soon as you use beforeSearch, you wil be responsible for calling helper.search(). That's doable but wonder if it's easier. What do you think?


Research: User Misery UX Signals

rage clicks
dead clicks
etc.
etc.

could even do this server side since we're already decompressing the replay.

figure out rrweb schema, framework or passing, etc.


Why not Rust and nrf52840 ?

Why not written in rust bro, cuz Rust is thread safe and syntax is much cleaner, C++ is DEAD!!
Oh also why didn't you use a nRF52840 module ?

For anyone ever seeing this issue it's just sarcasm.


New 3D shower model

This is just a draft for now to review some ideas.
This approach is based on this paper.
The shower is basically a 3D Gaussian distribution with a width  $\sigma_t $ and length $\sigma_l$.
The orientation is given by the azimuthal and polar angle. Those are used to rotate the covariance matrix.
The barycentre of the shower is calculated using the height of the first interaction in the atmosphere and the length of the shower. The centre is shifted according to the intersection of the shower axis on ground.
The next step is to write an ImagePredictor class which will take a subarray, goes through each telescope and integrates the 3D distribution as it can be seen for each pixel in the camera. This could be done with scipy's tplquad but this is computationally very expensive. A better solution is to use the analytical solution provided by the paper (see Appendix).

Appendix to be found where?

@vuillaut Sry, I meant the appendix of the paper, p.29

@vuillaut Sry, I meant the appendix of the paper, p.29

Ha yes thanks !
Please include reference to the paper in the docstring of thhe function as well.

If reminds me of a forgotten package 😄
https://github.com/vuillaut/pschitt

If reminds me of a forgotten package 😄
https://github.com/vuillaut/pschitt

I remember remarking once when you presented Pschitt that it could be used for reconstruction!

Predictor now generates telescope images for a given shower model and some input parameters for the telescopes/subarray. It's a little bit slow because of some loops (I'm sure this can be done faster :D).
Looks ok for me so far:

NominalFrame of 4 LSTs:

I changed the parameter names to more recognizable ones as recommended by Karl. The _photons function of the Predictor is now vectorized and takes an array of pixels as input :)

We also need to add an energy estimator to the model since we only get the number of photons. The paper recommends obtaining a relation from simulations based on number of photons, the telescope multiplicity, the telescope pointing and the direction of the shower axis. If I understand them correctly they interpolate their data to get a relation $E(N_{photons}, \vec{\theta})$ with $\vec{\theta}$ being the other parameters mentioned.
I think another approach would be to use the EnergyRegressor with the number of photons given as a feature, but I'm not sure. What do you think @kosack @maxnoe ?

another approach would be to use the EnergyRegressor with the number of photons given as a feature, but I'm not sure. What do you think @kosack @maxnoe ?

It think using an EnergyRegressor is a better idea than using a lookup table as they do. It makes it the same sort of training as for other reconstructions, and we avoid the usual problems with binning and edge cases.

If we'd really want to use a lookup table, my approach would be to implement one as a custom scikit learn regressor and then we can use the machine learning module structure the same way.

If we'd really want to use a lookup table, my approach would be to implement one as a custom scikit learn regressor and then we can use the machine learning module structure the same way.

This reminds me that we might want to also think about merging the ImPACT models and training with the ML module eventually - they are basically the same thing: a model that predicts an image, and should be trainable using the same mechanism. I'll open an issue to remind us

The reconstructor seems to work now. The images show the reconstruction of a 4 LST event. Upper image is the reconstruction and the lower image is the true one.

in the name since it should be able to also reconstruct the energy

I discussed this yesterday with Karl and we came to the conclusion that, no, this does not predict energy. Rather you'd use the number of photons this reconstructor produces as input feature for the machine learning EnergyRegressor.

Rather you'd use the number of photons this reconstructor produces as input feature for the machine learning EnergyRegressor.

ok great, but this leaves question where to store this number. The ReconstructedGeometryContainer only provides average_intensity.

Test now takes ~8s instead of 6min

ok great, but this leaves the question where to store this number. The ReconstructedGeometryContainer only provides average_intensity.

One option is to do what we do with telescopes: you make a subclass of ReconstructedGeometryContainer called Model3DReconstructedGeometryContainer that adds a field for the photon density, and then you just return that (it will then automatically be written to the output files and can be used as a feature of an ML algorithm).

This should get also much faster if instead of using mappings of single numpy arrays, you put everything upfront into unit-less numpy array of shape (n_telescopes, ...), e.g. have one array for images and predictions of shape (n_telescopes, n_pixels).
This should even broadcast (or if not we should implement that) with the pixel_likelihood function. Having the likelihood perform well is key in these fits and that means usually:

units should not be used inside. Transform once upfront into well-known units and re-attach units to the results afterwards.
use arrays of packed information instead of mappings, what I wrote above. E.g. see this PR for the changes made to the other recnostructor: https://github.com/cta-observatory/ctapipe/pull/2036

So for now the big time consuming parts remaining are the neg_log_likelihood_approx, emission_probability, np.clip, spherical_to_cartesian (inside _vec_los).
Nevertheless it's 5-6 times faster now.
@maxnoe I'm not sure how to construct something like an image numpy array (n_telescopes, n_pixels) since the cameras can have a different number pixels

You can take a look at some images like this now:
from ctapipe.io import EventSource
from ctapipe.reco import HillasReconstructor, Model3DGeometryReconstructor

source = EventSource("/Users/stefan/Downloads/gamma_20deg_180deg_run3___cta-prod6-paranal-2147m-Paranal-dark.dl2.h5", max_events=10)
events = list(source)

hillas_reco = HillasReconstructor(source.subarray)
shower_reco = Model3DGeometryReconstructor(source.subarray)

for event in events:
    hillas_reco(event)
    shower_reco(event)
    shower_reco.peek(event)


Write a Haskell program to convert hours to minutes

Description
Write a Haskell program to convert hours to minutes
1 hour = 60 minutes
Input  : 5
Output : 300

How to contribute

Save the solution in program/convert_hours_to_minutes.hs file
Add convert_hours_to_minutes.hs file in convert-hours-to-minutes folder

!assign


Use of undefined constant LARAVEL_START - assumed 'LARAVEL_START' (this will throw an Error in a future version of PHP)

Hey,
after adding the package as describe I've tested it locally and it was working like a charm.
Now I did deploy it with Laravel Vapor onto AWS and we are getting the following errors:

@timestamp |<PHONE_NUMBER>921

channel | development

context.exception.class | ErrorException

context.exception.code | 0

context.exception.file | /var/task/vendor/arkaitzgarro/elastic-apm-laravel/src/Collectors/FrameworkCollector.php:22

context.exception.message | Use of undefined constant LARAVEL_START - assumed 'LARAVEL_START' (this will throw an Error in a
future version of PHP)

datetime | 2021-05-20T17:22:49.808326+02:00

level | 400

level_name | ERROR

message | Use of undefined constant LARAVEL_START - assumed 'LARAVEL_START' (this will throw an Error in a future version of PHP)

and the following (but I would assume, they are related).

@timestamp |<PHONE_NUMBER>979

channel | development

context.exception.class | Symfony\Component\ErrorHandler\Error\FatalError

context.exception.code | 0

context.exception.file | /var/task/vendor/laravel/framework/src/Illuminate/Container/Container.php:835

context.exception.message | Uncaught ReflectionException: Class translator does not exist in
/var/task/vendor/laravel/framework/src/Illuminate/Container/Container.php:833Stack trace:#0 /var/task/vendor/laravel/framework/src/Illuminate/Container/Container.php(833): ReflectionClass->__construct('translator')#1 /var/task/vendor/laravel/framework/src/Illuminate/Container/Container.php(714): Illuminate\Container\Container->build('translator')#2 /var/task/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(841): Illuminate\Container\Container->resolve('translator', Array, true)#3 /var/task/vendor/laravel/framework/src/Illuminate/Container/Container.php(652): Illuminate\Foundation\Application->resolve('translator', Array)#4 /var/task/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(826): Illuminate\Container\Container->make('translator', Array)#5 /var/task/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(119): Illuminate\Foundation\Application->make('translator', Array)#6 /var/task/vendor/

datetime | 2021-05-20T17:22:49.979624+02:00

level | 400

level_name | ERROR

message | Uncaught ReflectionException: Class translator does not exist in /var/task/vendor/laravel/framework/src/Illuminate/Container/Container.php:833Stack trace:#0 /var/task/vendor/laravel/framework/src/Illuminate/Container/Container.php(833): ReflectionClass->__construct('translator')#1 /var/task/vendor/laravel/framework/src/Illuminate/Container/Container.php(714): Illuminate\Container\Container->build('translator')#2 /var/task/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(841): Illuminate\Container\Container->resolve('translator', Array, true)#3 /var/task/vendor/laravel/framework/src/Illuminate/Container/Container.php(652): Illuminate\Foundation\Application->resolve('translator', Array)#4 /var/task/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(826): Illuminate\Container\Container->make('translator', Array)#5 /var/task/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(119): Illuminate\Foundation\Application->make('translator', Array)#6 /var/task/vendor/

In case anybody has experienced the same issue, I would be happy to hear your opinion on how we can solve that. My current assumption is, that due to the fact that the entry point is changing when using Laravel Vapor, the constant LARAVEL_START is not set.
Regards,
Frederik

My current assumption is, that due to the fact that the entry point is changing when using Laravel Vapor, the constant LARAVEL_START is not set.

I think your assumption is correct. The constant is defined in Laravel's index.php file, which I also assume is not called in Vapor (I don't have experience with the platform). We also had this issue when running the application with Octane.
I'm going to make "a fix" and set the value if the constant is not defined. The timing might not be exact, but better than making the app crash.

@fr3ddy I've just released the fix. Could you install the new v3.0.6 version and try again?

Greate support. Thank you. Works like a charm!


Optimization: Reduce number of places we use uncompressed textures. (such as glb)

Duplicates https://github.com/V-Sekai/V-Sekai.github.io/issues/359.


flatbuffer related

The preprocessing stage generates the sender_db file with Flatbuffer. In the online stage, the sender_db must be loaded beforehand and it takes a while for long labels. I am wondering if there is a faster way to read sender_db, maybe saving sender_db with Redis or else?

That might be a good idea and shouldn't be very hard to do. I think a lot of people would benefit from improved performance in the SenderDB serialization. :)


[Android] Copy button in the redbox should also support Windows and Linux platforms

This is not a bug report but Help Wanted!
I have added a new feature of adding copy button in the redbox for RN Android, which copies the error message and stack trace to the host (your laptop's) clipboard. Please see Add Copy and Dismiss Button in RN Android Red Box and have a try on it!
However it's only supported on Mac OS for now. The reason is just that I don't have available Windows or Linux computers to test this feature on. So I appreciate anyone's help to add this feature on these two platforms.
Actually I already have the code for you, which I think should work.
Please see https://github.com/facebook/react-native/blob/master/local-cli/server/util/copyToClipBoard.js
/**
 * Copyright (c) 2015-present, Facebook, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 */
'use strict';

var child_process = require('child_process');
// Changes begin.
var iconv = require('iconv-lite');
// Changes end.
var spawn = child_process.spawn;

/**
 * Copy the content to host system clipboard.
 * This is only supported on Mac for now.
 */
function copyToClipBoard(content) {
  switch (process.platform) {
  case 'darwin':
    var child = spawn('pbcopy', []);
    child.stdin.end(new Buffer(content, 'utf8'));
    return true;
  // Changes begin.
  case 'linux':
    var child = spawn('xclip', ['-selection', 'clipboard']);
    child.stdin.end(new Buffer(content, 'utf8'));
    return true;
  case 'win32':
    var child = spawn('clip', []);
    child.stdin.end(iconv.encode(content, 'utf16le'));
    return true;
  // Changes end.
  default:
    return false;
  }
}

module.exports = copyToClipBoard;

The code between // Changes begin. and // Changes end. are the only things to be added by you. (Don't forget to add the dependency for iconv at the beginning.)
Hope this will work on Windows and Linux!
If anyone needs more information on this, feel free to contact me.

@lebronJ
  case 'win32':
    var child = spawn('clip', []);

clip not exists on Windows

It does in some versions @leeight https://technet.microsoft.com/en-us/library/cc754731(v=ws.11).aspx

I'm running windows 10 and I'm interested in helping test this feature, but I'm new to working with react native and I'm not sure how to go about using this feature. Any guidance would be welcome, thanks!

@jrodiger Thanks for your interest! This feature is extremely easy for you to test and enable on Windows. Here are some steps as follows:
(1) Make a mistake and trigger a red box, where I believe there will be a copy button on the bottom.
(2) Pressing the copy button should behave the same as on Mac OS (copy the red box information onto your host PC clipboard), however it's not enabled on Windows as I described in this issue.
What you could help is to follow my guidance in this issue above and try to enable this feature at https://github.com/facebook/react-native/blob/master/local-cli/server/util/copyToClipBoard.js
Hope this will help and this feature will be enabled with your effort and help!

@lebronJ Is it necessary for us to build from source when we are testing this out? Or can we just change the copyToClipBoard.js file react-native directory of the node_modules of the project?
I am having some trouble building from source and was wondering if this method is appropriate.

This is almost a month old. Are you still looking for help? I'm home two to three days per week specifically to contribute and essentially build my portfolio, but I'm new at contributing. I know how to fork and clone but I I've never actually submitted anything to an existing project.

@lebronJ I tested the proposed code on Windows 10, and received this output from my packager. I am now going to test the other section of the proposed code on a Ubuntu virtual machine, and share the results. Please let me know where to go from here regarding the Windows 10 code, and what you or anyone else recommends trying next. Thanks!

@lebronJ Just noticed that I left out "var iconv = require('iconv-lite');". With this correction the feature works on Windows 10. https://github.com/facebook/react-native/pull/11959 Also saw this pull request with the fix so I believe this should be included in the next version. Currently in the process of testing on Linux now

@lebronJ I tested your code on Linux on React Native 0.41, and pressing the copy button causes an error. If anyone has any recommendations of what to try next please let me know, otherwise I'm going to continue to research this feature on my own. The error message I received is as follows:

@lebronJ We tested your code once again on Ubuntu with RN 0.41 and got the copy button to work after installing xclip with sudo apt-get install xclip.
Is it possible to add xclip as one of the dependencies when installing react-native on Linux?

@lebronJ This thread can be closed now that the functionality has been implemented for Windows: https://github.com/facebook/react-native/commit/10a29aa95438d1f65739fa91b608f29779c2d5c1 and Linux: https://github.com/facebook/react-native/commit/0fe0fc038b1cbc0f3be29f1e3a752c2feb153285

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/android-copy-button-in-the-redbox-should-also-support-windows-and-linux-platform


Interact button

Where are we redirected when we click on "Interact" ?
Option 1 : Discord server
Option 2 : https://linktr.ee/okp4
Option 3 : No redirection
Option 4 : we remove the button

I propose to redirect on the channel chat of the OKP4 server
https://discord.com/channels/946759919678406696/968040263006179358
@henigh @LucasPzn is it ok for you ?

To go faster, I think it's ok 👍
But I think we should absolutely change this if the context is different from a Demo.
I mean if its for OKP4 Server, why not simply call it Discord ?

@henigh you're right and @ErikssonJoakim is integrating the discord logo in the footer.
It will be redundant but it is better than option 3.
We agree that it is only for the MVP demonstration.


Connection Dialog - Saved Connection group isn't updated

Azure Data Studio Version:

Steps to Reproduce:

Add a connection to a group.
Open Connection Dialog to see the Saved Connections.

Expected - Connection should be updated inside the Connection Dialog
Actual - Connection Dialog still shows the connection out of the group

I couldn't repro on the latest build.  All the groups and connections appeared as expected in the Save Connections folder.  Please reactive if the issue is still impacting your use case.


Browser integration tests provide no insights

We had integration test failures (like https://github.com/microsoft/vscode/issues/125665) that only occur on the build machines and when running on the browser. When this happens you are in the dark because there is no way to inspect logs or anything similar. This usually means that these integration tests are disabled in browser - which defeats the purpose and eventually means we don't run any test in the browser anymore.
/cc @rebornix @mjbvz

there is no way to inspect logs or anything similar

@jrieken what would you expect? and what do the native integration tests provide that the browser ones don't?

Provide access to log files

maybe you could advise, is there a way to pass a CLI option to tell VSCode where to persist logs?

There is not. It can be done but since logs location is scoped to VS Code and passing the log location from CLI when vscode is already open can be a no-op.

Yeah that is fine, we do the same with the crash-reporter-directory which will also only work if no other instance is running


Fix many things reported by JET

Resolve https://github.com/QuantumSavory/QuantumSavory.jl/issues/130.

[n/a] The code is properly formatted and commented.
[n/a] Substantial new functionality is documented within the docs.
[n/a] All new functionality is tested.
[x] All of the automated tests on github pass.
[x] We recently started enforcing formatting checks. If formatting issues are reported in the new code you have written, please correct them.

I was able to bring the number of reports down to 33 on julia 1.10. On julia 1.11.0-rc3, there are only 19 left. Many of the remaining things are due to some iterator collection magic in julia base, where I at some point gave up trying to understand it.
What will certainly help with the JET report and type stability in general, but what I see out of scope of this small project:

Use some type for time and restrict many of the type signatures for it to Union{Nothing, TimeType}. It really does not matter if one uses Float64 or DateTime or whatever for it, but this would help the compiler in some places.
Resumable functions currently don't allow the compiler to do small union splitting. Consider the following function

function foo(x::Union{Nothing, Int})
  if isnothing(x)
    error("x is nothing")
  end
  # x gets inferred as Int
  ...
end

If we now tag this function as resumable, x will still be referred as Union{Nothing, Int} there. For the places that came up I circumvented this by introducing a new variable that just has type Int.

Thank you so much! Please send me an email at<EMAIL_ADDRESS>with your name and email and a link to the bounty, so I can set up your reimbursement process with NumFOCUS (it might take a few weeks as we do them in batches and they are still setting everything up for their first batch).


Problems with Boss Rebirth

I have been trying to use the "Bosses" rebirth type, but it doesnt work right, it rebirth before the number of bosses I input, I'm doing it wrong or it's something in the code?.
Here is the input Im using:
"Rebirth": {
"Type": bosses,
"Target": {
"10"
}
},
Also few examples of rebirth types could help a lot, Im trying to figure it out how this one works as with the numbers one too.

    "Type": "Bosses",
    "Target": 5,
    "Challenges": []
  },```


feat: Preview badge for Prices

Hi everyone!
In the product page, there is now a small badge to highlight the feature is new.

I've also added two new icons for the future (sparkles and magic wand for AI-related features)

Codecov Report
Attention: Patch coverage is 6.66667% with 14 lines in your changes missing coverage. Please review.

Project coverage is 7.44%. Comparing base (4d9c7fc) to head (de38c2c).
Report is 184 commits behind head on develop.

Files
Patch %
Lines

...kages/smooth_app/lib/pages/prices/prices_card.dart
0.00%
9 Missing :warning:

packages/smooth_app/lib/resources/app_icons.dart
16.66%
5 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #5368      +/-   ##
==========================================
- Coverage     9.54%   7.44%   -2.11%
==========================================
  Files          325     380      +55
  Lines        16411   19466    +3055
==========================================
- Hits          1567    1449     -118
- Misses       14844   18017    +3173

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Why does RN SVG not use OS level SVG support

Question
Does anyone have any idea why this library seems to build out the SVGs manually in Core Graphics and Android graphics? Both Android and iOS support SVGs as of XCode 12 is it not possible to leverage that support? I worry a little that the amount of work going behind the scenes to render all the SVGs in everyone's RN apps is going to harm performance as most people tend to use them over PNGs. Is that worry unfounded?

Android builds it manually and does not support effects.  Xcode renders the svg to PNG when building the app bundle.

Also, if you need any state dependent rendering you need something like this library

That's interesting thanks for the information. I keep working on projects where react-native-svg is used to allow developers to use SVGs as they would on the web. All images that are simple enough become an SVG, so normally around 80% - 90% of the images use react-native-svg. Is this a good idea in regards to performance or should react-native-svg only be used where state-dependent rendering is needed?

I guess it depends on the content, it's probably fine to use for most things. Performance issues are likely to be due to other causes. But if measurements show it to be the costliest part of an app, and the usual ways of optimizing / memoizing react code doesn't fix it, at that point it probably makes sense to look into rendering expensive parts as static raster images, assuming it's fine to loose the fidelity of vector graphics for the app / use case in question.


Add support for new readonly keyword syntax for arrays and types in typescript 3.4

It seems typescript 3.4 adds more support for the readonly keyword regarding arrays and tuples :-). See the release notes.
So the readonly-keyword rule probably needs to be updated to support these scenarios:
function foo(arr: readonly string[]) {
    arr.slice();        // okay
    arr.push("hello!"); // error!
}

function foo(pair: readonly [string, string]) {
    console.log(pair[0]);   // okay
    pair[1] = "hello!";     // error
}

With regard to the readonly-array rule and automatic fixes for it, should
function foo(arr: string[]) {
}

continue to be fixed to
function foo(arr: ReadonlyArray<string>) {
}

or should it now fix to
function foo(arr: readonly string[]) {
}

?
Same question with
function foo(arr: Array<string>) {
}

I'm feeling the fix for Array<string> should continue to be ReadonlyArray<string> and the fix for string[] should change to readonly string[].

For nested array, the syntax looks like this:
function foo(arr: readonly (readonly string[])[]) {
    arr[0] = [1];     // error!
    arr[0][0] = 1;    // error!
}

I agree on the Array<T> -> ReadonlyArray<T>, and T[] -> readonly T[] fixes. If you have opted for one syntax you probably want to fix to that same syntax. Another way would be to have multiple fix options and let the user choose, but I'm not sure if that is possible.


Flaky test: TestGatewayWithGatewayClassReconciliation

=== FAIL: test/envtest  (0.00s)
panic: test timed out after 10m0s
running tests:
	TestGatewayWithGatewayClassReconciliation (9m19s)

goroutine 4872 [running]:
testing.(*M).startAlarm.func1()
	/opt/hostedtoolcache/go/1.20.6/x64/src/testing/testing.go:2241 +0x219
created by time.goFunc
	/opt/hostedtoolcache/go/1.20.6/x64/src/time/sleep.go:176 +0x48

goroutine 1 [chan receive, 9 minutes]:
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.20.6/x64/src/testing/testing.go:1542 +0x8eb
testing.tRunner(0xc00030eb60, 0xc000171b40)
	/opt/hostedtoolcache/go/1.20.6/x64/src/testing/testing.go:1582 +0x255
testing.runTests(0xc0001d0c80?, {0x44a2c40, 0x8, 0x8}, {0x1c?, 0x4ac9f9?, 0x44c0be0?})
	/opt/hostedtoolcache/go/1.20.6/x64/src/testing/testing.go:2034 +0x87d
testing.(*M).Run(0xc0001d0c80)
	/opt/hostedtoolcache/go/1.20.6/x64/src/testing/testing.go:1906 +0xb45
main.main()
	_testmain.go:92 +0x2fd

goroutine 446 [semacquire]:
sync.runtime_Semacquire(0xc000cf1928?)
	/opt/hostedtoolcache/go/1.20.6/x64/src/runtime/sema.go:62 +0x27
sync.(*WaitGroup).Wait(0xc000cf1920)
	/opt/hostedtoolcache/go/1.20.6/x64/src/sync/waitgroup.go:116 +0xa5
github.com/kong/kubernetes-ingress-controller/v2/test/envtest.Setup.func2()
	/home/runner/work/kubernetes-ingress-controller/kubernetes-ingress-controller/test/envtest/setup.go:104 +0xc5
testing.(*common).Cleanup.func1()
	/opt/hostedtoolcache/go/1.20.6/x64/src/testing/testing.go:1150 +0x194
testing.(*common).runCleanup(0xc000f45520, 0x1)
	/opt/hostedtoolcache/go/1.20.6/x64/src/testing/testing.go:1328 +0x1ea
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.20.6/x64/src/testing/testing.go:1545 +0x936
testing.tRunner(0xc000f45520, 0x30ed190)
	/opt/hostedtoolcache/go/1.20.6/x64/src/testing/testing.go:1582 +0x255
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.20.6/x64/src/testing/testing.go:1629 +0x806

goroutine 1496 [select]:
github.com/gammazero/workerpool.(*WorkerPool).dispatch(0xc000dea400)
	/home/runner/go/pkg/mod/github.com/gammazero/workerpool@v1.1.3/workerpool.go:185 +0x225
created by github.com/gammazero/workerpool.New
	/opt/hostedtoolcache/go/1.20.6/x64/src/syscall/syscall_linux.go:91 +0x45
os.(*Process).blockUntilWaitable(0xc000b27ad0)
	/opt/hostedtoolcache/go/1.20.6/x64/src/os/wait_waitid.go:32 +0x9f
os.(*Process).wait(0xc000b27ad0)
	/opt/hostedtoolcache/go/1.20.6/x64/src/os/exec_unix.go:22 +0x53
os.(*Process).Wait(...)
	/opt/hostedtoolcache/go/1.20.6/x64/src/os/exec.go:132
os/exec.(*Cmd).Wait(0xc00120e6e0)
	/opt/hostedtoolcache/go/1.20.6/x64/src/os/exec/exec.go:890 +0xc5
sigs.k8s.io/controller-runtime/pkg/internal/testing/process.(*State).Start.func1()
	/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/testing/process/process.go:174 +0xc5
created by sigs.k8s.io/controller-runtime/pkg/internal/testing/process.(*State).Start
	/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.15.0/pkg/internal/testing/process/process.go:172 +0x6db
FAIL	github.com/kong/kubernetes-ingress-controller/v2/test/envtest	600.674s

=== FAIL: test/envtest TestGatewayWithGatewayClassReconciliation/unmanaged_gateway_class (553.81s)
    gatewayclass_envtest_test.go:327: deploying gateway 257ca6d4-a193-42cf-b1f6-8e15007f9619 using unmanaged-gateway-class gateway class
    gatewayclass_envtest_test.go:216: verifying that the Gateway 257ca6d4-a193-42cf-b1f6-8e15007f9619 does not get scheduled by the controller due to missing its GatewayClass
    gatewayclass_envtest_test.go:237: deploying gateway class unmanaged-gateway-class
    gatewayclass_envtest_test.go:241: now that the GatewayClass exists, verifying that the Gateway 257ca6d4-a193-42cf-b1f6-8e15007f9619 gets Accepted and Programmed
    gatewayclass_envtest_test.go:258:
        	Error Trace:	/home/runner/work/kubernetes-ingress-controller/kubernetes-ingress-controller/test/envtest/gatewayclass_envtest_test.go:258
        	            				/home/runner/work/kubernetes-ingress-controller/kubernetes-ingress-controller/test/envtest/gatewayclass_envtest_test.go:333
        	Error:      	Received unexpected error:
        	            	client rate limiter Wait returned an error: context deadline exceeded
        	Test:       	TestGatewayWithGatewayClassReconciliation/unmanaged_gateway_class
    controller.go:58: Test TestGatewayWithGatewayClassReconciliation/unmanaged_gateway_class failed: dumping controller logs
        time="2023-07-27T10:53:50Z" level=info msg="Starting EventSource" source="kind source: *v1beta1.Gateway"
        time="2023-07-27T10:53:50Z" level=info msg="Starting EventSource" source="kind source: *v1beta1.GatewayClass"
        time="2023-07-27T10:53:50Z" level=info msg="Starting EventSource" source="kind source: *v1.Service"
        time="2023-07-27T10:53:50Z" level=info msg="Starting EventSource" source="kind source: *v1beta1.HTTPRoute"
        time="2023-07-27T10:53:50Z" level=info msg="Starting EventSource" source="kind source: *v1beta1.ReferenceGrant"
        time="2023-07-27T10:53:50Z" level=info msg="Starting Controller"
        time="2023-07-27T10:53:50Z" level=info msg="Starting EventSource" logger=V1Beta1GatewayClass source="kind source: *v1beta1.GatewayClass"
        time="2023-07-27T10:53:50Z" level=info msg="Starting Controller" logger=V1Beta1GatewayClass
        time="2023-07-27T10:53:50Z" level=info msg="Starting workers" logger=V1Beta1GatewayClass worker count=1
        time="2023-07-27T10:53:50Z" level=info msg="Starting workers" worker count=1
        time="2023-07-27T10:53:52Z" level=error msg="could not retrieve gatewayclass" error="gatewayclasses.gateway.networking.k8s.io \"unmanaged-gateway-class\" not found" gatewayclass="\"unmanaged-gateway-class\""
        time="2023-07-27T10:53:52Z" level=error msg="Reconciler error" error="Operation cannot be fulfilled on gateways.gateway.networking.k8s.io \"257ca6d4-a193-42cf-b1f6-8e15007f9619\": the object has been modified; please apply your changes to the latest version and try again" reconcileID="\"e8a8aba8-b4b5-4495-85df-8049b50dbe33\""
        time="2023-07-27T10:53:52Z" level=error msg="could not determine service for gateway" GatewayV1Beta1Gateway="{\"Namespace\":\"63a44541-5a19-4208-916b-85bd6ee162d9\",\"Name\":\"257ca6d4-a193-42cf-b1f6-8e15007f9619\"}" error="service ref 22a3865c-6f80-4347-a869-b2d4d5b165f9/publish-svc did not match controller manager ref 63a44541-5a19-4208-916b-85bd6ee162d9/publish-svc or /" name=257ca6d4-a193-42cf-b1f6-8e15007f9619 namespace=63a44541-5a19-4208-916b-85bd6ee162d9
        time="2023-07-27T10:53:52Z" level=error msg="Reconciler error" error="service ref 22a3865c-6f80-4347-a869-b2d4d5b165f9/publish-svc did not match controller manager ref 63a44541-5a19-4208-916b-85bd6ee162d9/publish-svc or /" reconcileID="\"823f6328-ca8d-4629-b44b-54a732aad555\""
        time="2023-07-27T10:53:52Z" level=error msg="could not determine service for gateway" GatewayV1Beta1Gateway="{\"Namespace\":\"63a44541-5a19-4208-916b-85bd6ee162d9\",\"Name\":\"257ca6d4-a193-42cf-b1f6-8e15007f9619\"}" error="service ref 22a3865c-6f80-4347-a869-b2d4d5b165f9/publish-svc did not match controller manager ref 63a44541-5a19-4208-916b-85bd6ee162d9/publish-svc or /" name=257ca6d4-a193-42cf-b1f6-8e15007f9619 namespace=63a44541-5a19-4208-916b-85bd6ee162d9
        time="2023-07-27T10:53:52Z" level=error msg="Reconciler error" error="service ref 22a3865c-6f80-4347-a869-b2d4d5b165f9/publish-svc did not match controller manager ref 63a44541-5a19-4208-916b-85bd6ee162d9/publish-svc or /" reconcileID="\"b9716ef6-7e02-4c9f-9f96-d45c37067de8\""

Failed CI run: https://github.com/Kong/kubernetes-ingress-controller/actions/runs/5679611421/job/15392099121

This is still failing 😒
https://github.com/Kong/kubernetes-ingress-controller/actions/runs/6746633276/job/18340995074
      gatewayclass_envtest_test.go:368: deploying gateway 3c654eb9-4aed-4802-ae72-b130ac454575 using unmanaged-gateway-class gateway class
      gatewayclass_envtest_test.go:246: verifying that the Gateway 3c654eb9-4aed-4802-ae72-b130ac454575 does not get scheduled by the controller due to missing its GatewayClass
      gatewayclass_envtest_test.go:279: deploying gateway class unmanaged-gateway-class
      gatewayclass_envtest_test.go:283: now that the GatewayClass exists, verifying that the Gateway 3c654eb9-4aed-4802-ae72-b130ac454575 gets Accepted and Programmed
      gatewayclass_envtest_test.go:305: Gateway 3c654eb9-4aed-4802-ae72-b130ac454575 still doesn't have the Programmed condition with Status True
      gatewayclass_envtest_test.go:305: Gateway 3c654eb9-4aed-4802-ae72-b130ac454575 still doesn't have the Programmed condition with Status True
      gatewayclass_envtest_test.go:305: Gateway 3c654eb9-4aed-4802-ae72-b130ac454575 still doesn't have the Programmed condition with Status True
      gatewayclass_envtest_test.go:299: context got cancelled: context deadline exceeded
      controller.go:55: Test TestGatewayWithGatewayClassReconciliation/unmanaged_gateway_class failed: dumping controller logs
      controller.go:55: 2023-11-03T14:45:40Z	info	Starting EventSource	{"source": "kind source: *v1.Gateway"}
      controller.go:55: 2023-11-03T14:45:40Z	info	V1Beta1GatewayClass	Starting EventSource	{"source": "kind source: *v1.GatewayClass"}
      controller.go:55: 2023-11-03T14:45:40Z	info	Starting EventSource	{"source": "kind source: *v1.GatewayClass"}
      controller.go:55: 2023-11-03T14:45:40Z	info	V1Beta1GatewayClass	Starting Controller
      controller.go:55: 2023-11-03T14:45:40Z	info	Starting EventSource	{"source": "kind source: *v1.Service"}
      controller.go:55: 2023-11-03T14:45:40Z	info	Starting EventSource	{"source": "kind source: *v1.HTTPRoute"}
      controller.go:55: 2023-11-03T14:45:40Z	info	Starting EventSource	{"source": "kind source: *v1beta1.ReferenceGrant"}
      controller.go:55: 2023-11-03T14:45:40Z	info	Starting Controller
      controller.go:55: 2023-11-03T14:45:40Z	info	V1Beta1GatewayClass	Starting workers	{"worker count": 1}
      controller.go:55: 2023-11-03T14:45:40Z	error	Could not retrieve gatewayclass	{"gatewayclass": "unmanaged-gateway-class", "error": "gatewayclasses.gateway.networking.k8s.io \"unmanaged-gateway-class\" not found"}
      controller.go:55: 2023-11-03T14:45:40Z	info	Starting workers	{"worker count": 1}
      controller.go:55: 2023-11-03T14:45:40Z	error	Failed to retrieve gateway class in watch predicates	{"gatewayclass": "unmanaged-gateway-class", "error": "gatewayclasses.gateway.networking.k8s.io \"unmanaged-gateway-class\" not found"}
      controller.go:55: 2023-11-03T14:45:43Z	debug	V1Beta1GatewayClass	Processing gatewayclass	{"GatewayV1GatewayClass": {"name":"unmanaged-gateway-class"}, "name": "unmanaged-gateway-class"}
      controller.go:55: 2023-11-03T14:45:43Z	debug	Processing gateway	{"GatewayV1Gateway": {"name":"3c654eb9-4aed-4802-ae72-b130ac454575","namespace":"6b9008fe-ad53-467b-9a21-7e8eda9ad9b0"}, "namespace": "6b9008fe-ad53-467b-9a21-7e8eda9ad9b0", "name": "3c654eb9-4aed-4802-ae72-b130ac454575"}

Does not show up in BuildPulse anymore: https://app.buildpulse.io/@Kong/kubernetes-ingress-controller?q=TestGatewayWithGatewayClassReconciliation&select[]=&show_type=default&sort=disruptiveness&daterange=September+1+-+December+31&starting_at="2024-05-31T22%3A00%3A00.000Z"&ending_at="2024-12-31T22%3A59%3A59.999Z"&user_time_zone=Europe%2FWarsaw
Closing.


How do I revoke user that has been connected to my app?

this is the case when user want to unlink spotify from my app, how do I do it?

The user can revoke the app rights here : https://www.spotify.com/account/apps/


Select all Files in a Group

What feature or improvement do you think would benefit Files?
In Windows explorer you can select all files in a group by clicking the group name.
Requirements

Can you add button to collapse and expand
Ability to select all files in group
Select all files in multiple groups

Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.2134
Comments
No response

Thanks for the feedback, Merging with #9528. You can check there or click subscribe in the right sidebar for updates.


comment update

Coverage decreased (-0.1%) to 50.904% when pulling 0fe2221fa68eeeee9d9756a20e8c900c7fd1ae77 on lcestou:patch-22 into 1a140d21e2b9403b54ed0d793608c817f9f6c15d on TimothyLuke:master.


there is an error...

===> Loading datasets
===> Building model
/home/amax/hao/DBPN-Pytorch-master/dbpn_v1.py:53: UserWarning: nn.init.kaiming_normal is now deprecated in favor of nn.init.kaiming_normal_.
torch.nn.init.kaiming_normal(m.weight)
/home/amax/hao/DBPN-Pytorch-master/dbpn_v1.py:57: UserWarning: nn.init.kaiming_normal is now deprecated in favor of nn.init.kaiming_normal_.
torch.nn.init.kaiming_normal(m.weight)
Pre-trained SR model is loaded.
Do you know this error when I run eval.py

This code runs on PyTorch 0.3.1
Usually this warning happen when you use newer version


Backend and Dust UTXO error templates

@CedrikNikita please review and let me know if there is something to be added or updated.
Acceptance criteria:

Implement error modals for cases of backend failure and dust UTXO error.
Update the texts of different connection/network status modals and wallet bottom status bar according to suggested design and wording.
For the question mark icon use the same component as for info popups above the input fields (recently updated by Bart to have a hover effect applied).

Design for dust UTXO error template:

Figma reference: https://www.figma.com/design/3oGLWzSH0oJljo4RETZtur/Superhero-Wallet-UI-(✔Updated)?node-id=31920-206931&t=KHqeIfjPkOOoqorB-0
...............................................................................................
Consider 3 cases of backend failure:

Superhero backend is down (Multisig backend is OK): Status: "Temporary backend failure." + question mark button opening "Backend failure" modal. Wording and design:

Both backends are down (Superhero and Multisig are DOWN): Status: "Temporary backend failure." + question mark button opening "Backend failure" modal. Wording and design:

Multisig backend is down: Status: "Temporary backend failure." + question mark button opening "Multisig backend failure" modal. Other features such as sending, transactions, names etc. will not be affected so the status message should be displayed only on the Superhero Wallet dashboard. Wording and design:

Design for different connection/network statuses and modals:

Figma reference: https://www.figma.com/design/3oGLWzSH0oJljo4RETZtur/Superhero-Wallet-UI-(✔Updated)?node-id=21484-310195&t=KHqeIfjPkOOoqorB-0
Prototype:
https://github.com/user-attachments/assets/9e8d02ca-4c6f-449b-9ea9-ae7062dd92af

I was not able to get UTXO error to check this modal.
Also I'm getting a little bit different text about backend error: "Temporary aeternity backend failure" instead of "Temporary  backend failure". Is it acceptable @onvisions ?


add docstrings so users can know what datatype to expect from events

mostly done at least there's a template if it's not documented well as of now


Allow users with CHANGE_METER permission to choose which meter to apply to the current poem.

Everyone starts with the default scansion of a poem, but when logged in is able to edit it.

Candidates for user control:

The meter of a line,
The rhyme (forcing a weak rhyme?)
Choosing between pronunciations of a word.

Will start with just choosing which meter to apply to the entire poem.

Note that this has since changed, and that anonymous users are allowed to change the meter on the poem page, while the CHANGE_METER permission controls whether the user can change the default meter.


Add year to sidebar

add possibility to show or hide year in sidebars date

Could you test again, I just merged https://github.com/matt8707/ha-fusion/pull/291 and I dont think year will behave properly

Open a new PR without lang inside your commits


[Zone Decommission] Removal of nodes in decommissioned zone

Design Proposal
https://github.com/opensearch-project/OpenSearch/issues/3402
Feature Proposal
https://github.com/opensearch-project/OpenSearch/issues/3917
Describe the solution you'd like

Remove all the nodes in  decommissioned zone.
Make sure that they don't join back again . We can add one more Join Validator in here to reject joins coming from nodes in decommissioned zone and Kill-Switch for Decommission is Off.

Implemented as part of https://github.com/opensearch-project/OpenSearch/pull/4084 . Can close the issue now


doc/user: Add metrics and service-monitor docs

Description of the change:
Basic documentation for monitoring. This PR is a companion PR to the https://github.com/operator-framework/operator-sdk/pull/715.
Note: https://github.com/operator-framework/operator-sdk/pull/715 needs to be merged first before this hence the WIP.

As agreed offline: we want to also a doc.go file to the pkg/metrics.

@shawn-hurley You mentioned you wanted me to add a doc.go file to the pkg/metrics/, tried doing that but think I would just duplicate what it says here. Ideas welcome!

Blocked until https://github.com/operator-framework/operator-sdk/pull/1037 is merged, but ready for review.

Happy with all the suggestions here, docs are not my strong point. :)

Renamed the file as well to service-monitor.md We have mixed file names but managed to find a style guide that mentions file naming conventions for markdown, and according to that hyphens are the way to go -> http://www.cirosantilli.com/markdown-style-guide/#file-name

@joelanford Made some adjustments, can you please have another look.

Also, should we link to these from the user guide?

Yes, was thinking the same but wasn't sure where it should be placed, if you have any suggestions?

Yes, was thinking the same but wasn't sure where it should be placed, if you have any suggestions?

@LiliC I'd say under the "Advanced Topics" section would be a good spot. WDYT?
https://github.com/operator-framework/operator-sdk/blob/master/doc/user-guide.md#advanced-topics

I'd say under the "Advanced Topics" section would be a good spot. WDYT?

Done, also addressed the rest of the comments, PTALA, thanks!

LGTM :+1:

Pinging again for another review :) @AlexNPavel @hasbro17 @theishshah @estroz

Done, PTALA @hasbro17

Perhaps this is outside the scope of this PR and we can do a follow up but I don't see any documentation on what the actual metrics being exposed are.
Should we list out what exactly are the controller related metrics being recorded by the controller-runtime? And perhaps give an example of querying the endpoint to see these metrics in an example?
https://godoc.org/github.com/kubernetes-sigs/controller-runtime/pkg/internal/controller/metrics
https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/internal/controller/metrics/metrics.go#L50-L58

Number of reconciliations
Number of reconciliation errors per controller
Reconciliation duration
Resource metrics like CPU, memory usage, file descriptor usage
Go runtime metrics like number of Go routines, GC duration

@hasbro17 Done, addressed the comments. I opened issue for the above suggestion to tackle in a follow up PR, when I am back from vacation. PTALA, thanks!


Vector patch fails with NullPointerException

When I run the following, it fails:
(patch [1 2 3] (diff [1 2 3] [1 2 3 4])) ;; => Null Pointer Exception, no trace
However, it succeeds as long as the top-level structure is a map:
(patch {:a [1 2 3]} (diff {:a [1 2 3]} {:a [1 2 3 4]}))  ;; => {:a [1 2 3 4]}

Did you mean (patch [1 2] [3]) ?
(patch 1 2 3) should fail (wrong arity) and (patch 1 2) should always return 2.

(patch  1 2 3) is not valid use of the function.
patch takes the structure to patch, and a vector containing alterations and removals.

I assume you meant (patch [1 2 3] (diff [1 2 3] [1 2 3 4])) which does trigger a NPE.

Yeah, that's what I meant.  I think the bbcode messed me up.


Support Array casting

@alexknvl pointed out that it's possible to encode newtypes in such a way that casting Arrays with asInstanceOf will work (which means Coercible can work too).
Here's a simple adaptation from his solution to demonstrate a failing test case.
object Example {

  class Foo[A](val a: Array[A])

  val foo = new Foo(Array(1, 2, 3))

  def subst[F[_], T](fa: F[Int]): F[T] = fa.asInstanceOf[F[T]]

  type Good = Good.Type
  object Good {
    type Base <: Any
    trait Tag extends Any
    type Type <: Base with Tag
  }

  def good() = println(subst[Foo, Good](foo).a.head)

  @newtype case class Bad(value: Int)

  def bad() = println(subst[Foo, Bad](foo).a.head)

  def main(args: Array[String]): Unit = {
    good()
    bad()
  }
}

/cc @joroKr21
The encoding of the newtype macros in v0.4.0 now allow for asInstanceOf casting by having the Base and Tag types extend Any, but of course this must be done with caution. Any time you use asInstanceOf you lose type safety, so it's important that you understand what you're doing.
scala> Array(1,2,3).asInstanceOf[Array[Foo]]
res0: Array[Foo] = Array(1, 2, 3)

scala> res0.getClass
res1: Class[_ <: Array[Foo]] = class [I

scala> res0.head
res2: Foo = 1

I have also started work on the 10-as-array branch which introduces the AsArray type class.
scala> import io.estatico.newtype.macros._, io.estatico.newtype.arrays._

scala> @newtype case class Foo(x: Int)

scala> AsArray(Foo(1), Foo(2))
res0: Array[Foo] = Array(1, 2)

scala> res0.getClass
res1: Class[_ <: Array[Foo]] = class [I

scala> res0.head
res2: Foo = 1

scala> AsArray.empty[Foo]
res3: Array[Foo] = Array()

scala> res3.getClass
res4: Class[_ <: Array[Foo]] = class [I

scala> AsArray.downcast(res0)
res8: Array[Int] = Array(1, 2)

scala> res8.head
res9: Int = 1

scala> Array(1,2,3)
res10: Array[Int] = Array(1, 2, 3)

scala> AsArray.upcast(res10): Array[Foo]
res12: Array[Foo] = Array(1, 2, 3)

scala> AsArray.upcast[Foo](res10)
res13: Array[Foo] = Array(1, 2, 3)

I think we might be able to now support .coerce for Arrays. Should probably do extensive testing to ensure the current encoding won't blow up on us. If that's the case, then we should be able to omit the upcast and downcast methods on AsArray, leaving only the need for empty and apply.


[http] Failing to Install http to Tauri

Hello all, I'm fairly new to the Tauri Ecosystem (and rust in general) so maybe this is just a skill issue on my end. I'm trying to install the http plugin for tauri and have tried to install via git and through cargo directly. Seems to be a package issue so if there's a simple fix I'd be eternally grateful.
Versions
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.6.3", features = ["api-all"] }
Error when adding via Git in Cargo.toml
tauri-plugin-http = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
error: failed to select a version for `http`.
    ... required by package `tauri v2.0.0-beta.17`
    ... which satisfies dependency `tauri = "^2.0.0-beta.17"` of package `tauri-plugin-http v2.0.0-beta.7 (https://github.com/tauri-apps/plugins-workspace?branch=v2#22410881)`
    ... which satisfies git dependency `tauri-plugin-http` of package `app v0.1.0 (C:\Users\Arya\Documents\Code\soundcloud-desktop\src-tauri)`
versions that meet the requirements `^1.1` are: 1.1.0

all possible versions conflict with previously selected packages.

  previously selected package `http v1.0.0`
    ... which satisfies dependency `http = "^1"` of package `tauri-plugin-http v2.0.0-beta.7 (https://github.com/tauri-apps/plugins-workspace?branch=v2#22410881)`
    ... which satisfies git dependency `tauri-plugin-http` of package `app v0.1.0 (C:\Users\Arya\Documents\Code\soundcloud-desktop\src-tauri)`

failed to select a version for `http` which could resolve this conflict

Similarily with the crate directly
tauri-plugin-http = "2.0.0-beta"
error: failed to select a version for `webkit2gtk-sys`.
    ... required by package `webkit2gtk v2.0.1`
    ... which satisfies dependency `webkit2gtk = "=2.0.1"` of package `tauri v2.0.0-beta.1`
    ... which satisfies dependency `tauri = "^2.0.0-beta.1"` of package `tauri-plugin-http v2.0.0-beta.0`
    ... which satisfies dependency `tauri-plugin-http = "^2.0.0-beta"` of package `app v0.1.0 (C:\Users\Arya\Documents\Code\soundcloud-desktop\src-tauri)`
versions that meet the requirements `^2.0.1` are: 2.0.1

the package `webkit2gtk-sys` links to the native library `web_kit2`, but it conflicts with a previous package which links to `web_kit2` as well:
package `webkit2gtk-sys v0.18.0`
    ... which satisfies dependency `ffi = "^0.18"` of package `webkit2gtk v0.18.2`
    ... which satisfies dependency `webkit2gtk = "^0.18.2"` of package `tauri v1.6.3`
    ... which satisfies dependency `tauri = "^1.6.3"` of package `app v0.1.0 (C:\Users\Arya\Documents\Code\soundcloud-desktop\src-tauri)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so
that only one package uses the `links = "web_kit2"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

failed to select a version for `webkit2gtk-sys` which could resolve this conflict

The http plugin (and most other plugins) only work with tauri v2. For a list of plugins for v1, check out the v1 branch of this repo.
In v1 the http plugin is part of tauri directly (the http module).


regex not working

regex simply does not work,
ive tried everything, enabled off on restart reset, does not work,
yaml or not yaml
im doing the most simple regex search for tag ever
the simple tag thing does work (the one in the middle). but i need regex (third one)
the regex works fine in obsidian search:
/#tag1\s*#tag2|#tag2\s*#tag1\xs/
wont work in auto move
not even this:
^#tag1$

nevermind, figured it out.. it had to be put in the middle field


change docker images to test images

This PR is test for https://github.com/apache/airflow/pull/3115, which need R in environment variable in CI test. And the CI test docker image base on https://github.com/apache/airflow-ci

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@240138f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   73.24%
=========================================
  Files             ?      431
  Lines             ?    28044
  Branches          ?        0
=========================================
  Hits              ?    20541
  Misses            ?     7503
  Partials          ?        0

Continue to review full report at Codecov.

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


How to install??

Hi,
The first line in the wiki: 'Install FireQuery'. But how??? I've downloaded the zip. What should I do with this? Copy the contents somewhere? Could you please explain?
Arjen Haayman

Hi you need to generate .xpi file. Consequently if you drag-drop the .xpi file onto a Firefox window you'll see and add-on installation dialog.
I don't know how familiar you are with JPM, but you can follow these instructions:
https://github.com/firebug/firequery/wiki/Developer-Guide
and generate the .xpi file by executing jpm xpi in step 4.
If the instructions don't work for you I can generate the xpi for you.
Honza

Hi Honza,
Is it not possible to make the xpi available directly?
I have no idea where to issue those commands. In a linux shell? I have no
npm or Mozilla development environment.
Arjen
On Fri, Jul 3, 2015 at 1:37 PM, Jan Odvarko<EMAIL_ADDRESS>wrote:

Hi you need to generate .xpi file. Consequently if you drag-drop the .xpi
file onto a Firefox window you'll see and add-on installation dialog.
I don't know how familiar you are with JPM, but you can follow these
instructions:
https://github.com/firebug/firequery/wiki/Developer-Guide
and generate the .xpi file by executing jpm xpi in step 4.
If the instructions don't work for you I can generate the xpi for you.
Honza
—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-118323856.

--
[image: Linkedin] http://nl.linkedin.com/in/haayman [image: Twitter]
https://twitter,com/haayman [image: Facebook]
http://www.facebook.com/haayman [image: Telegram]
http://telegram.me/haayman

Sure.
I've made a new beta 2 release, see here:
https://github.com/firebug/firequery/releases
The download link under the release will be live in 20-30 min.
(let me know if not)
Honza

The installation worked fine, but I don't see any 'data' attached to the elements like in the screenshots?

I updated the screenshot.
https://github.com/firebug/firequery/wiki
The data are not rendered directly within the panel, but you should see a little icon (an envelope) that indicates its presence. Clicking on the icon shows details...
Does it work for you?
Honza

I will let you know next Tuesday when I open up my laptop again :-)
Thanx so far
Op 3 jul. 2015 15:48 schreef "Jan Odvarko"<EMAIL_ADDRESS>
I updated the screenshot.
https://github.com/firebug/firequery/wiki
The data are not rendered directly within the panel, but you should see a
little icon (an envelope) that indicates its presence. Clicking on the icon
shows details...
Does it work for you?
Honza
—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-118356615.

Alright then,
have a nice weekend :-)
Honza

Hi Jan,
Alas, no envelopes. There is an options-page, so the plugin is active.
Otherwise I don't see any presence of the plugin. Is there some place where
I can see log-messages?

There is an options-page, so the plugin is active.

What options page do you have in mind?
To check whether the plugin is properly installed open about:addons page
(Firefox Menu -> Tools -> Add-ons)
The plugin should be in the list and enabled.
What Firefox version and OS do you use?
Also here is my test page:
http://softwareishard.com/temp/firequery/test1/index.html
If you load the page and select the Inspector panel, you should see an envelop next to e.g. "#my-span" element.
If you select the Console panel and click the "Log data" button on the page you should see jQuery log in the console.
If none of those things work open the Browser Console and let me know if you see any errors.
Btw. you don't need Firebug installed.
Honza

The options page belonging to the addon. Where you cat set things like
jQueryURL or useLint.
I'm running FF 39 on windows 8.1
Nope, no envelopes on the elements. No error-messages in the console.
Nothing.
Maybe you can take a look using teamviewer?
Arjen

Maybe you can take a look using teamviewer?

Yeah, let's try it. Tomorrow would be fine for you?
What time zone are you based  in?
Honza
On Mon, Jul 6, 2015 at 9:48 AM, haayman<EMAIL_ADDRESS>wrote:

The options page belonging to the addon. Where you cat set things like
jQueryURL or useLint.
I'm running FF 39 on windows 8.1
Nope, no envelopes on the elements. No error-messages in the console.
Nothing.
Maybe you can take a look using teamviewer?
Arjen

—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-118761527.

Tomorrow is fine. I'm in Europe/Amsterdam
Op 7 jul. 2015 17:54 schreef "Jan Odvarko"<EMAIL_ADDRESS>

Maybe you can take a look using teamviewer?

Yeah, let's try it. Tomorrow would be fine for you?
What time zone are you based in?
Honza
On Mon, Jul 6, 2015 at 9:48 AM, haayman<EMAIL_ADDRESS>wrote:

The options page belonging to the addon. Where you cat set things like
jQueryURL or useLint.
I'm running FF 39 on windows 8.1
Nope, no envelopes on the elements. No error-messages in the console.
Nothing.
Maybe you can take a look using teamviewer?
Arjen

—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-118761527.

—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-119247082.

Hi,
can we use G+ hangout?
I don't have teamviewer....
Honza
On Tue, Jul 7, 2015 at 5:58 PM, haayman<EMAIL_ADDRESS>wrote:

Tomorrow is fine. I'm in Europe/Amsterdam
Op 7 jul. 2015 17:54 schreef "Jan Odvarko"<EMAIL_ADDRESS>

Maybe you can take a look using teamviewer?

Yeah, let's try it. Tomorrow would be fine for you?
What time zone are you based in?
Honza
On Mon, Jul 6, 2015 at 9:48 AM, haayman<EMAIL_ADDRESS>wrote:

The options page belonging to the addon. Where you cat set things like
jQueryURL or useLint.
I'm running FF 39 on windows 8.1
Nope, no envelopes on the elements. No error-messages in the console.
Nothing.
Maybe you can take a look using teamviewer?
Arjen

—
Reply to this email directly or view it on GitHub
<https://github.com/firebug/firequery/issues/23#issuecomment-118761527
.

—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-119247082.

—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-119248214.

Is it possible to share screen?
On Wed, Jul 8, 2015 at 3:04 PM, Jan Odvarko<EMAIL_ADDRESS>wrote:

Hi,
can we use G+ hangout?
I don't have teamviewer....
Honza
On Tue, Jul 7, 2015 at 5:58 PM, haayman<EMAIL_ADDRESS>wrote:

Tomorrow is fine. I'm in Europe/Amsterdam
Op 7 jul. 2015 17:54 schreef "Jan Odvarko"<EMAIL_ADDRESS>

Maybe you can take a look using teamviewer?

Yeah, let's try it. Tomorrow would be fine for you?
What time zone are you based in?
Honza
On Mon, Jul 6, 2015 at 9:48 AM, haayman<EMAIL_ADDRESS>wrote:

The options page belonging to the addon. Where you cat set things
like
jQueryURL or useLint.
I'm running FF 39 on windows 8.1
Nope, no envelopes on the elements. No error-messages in the console.
Nothing.
Maybe you can take a look using teamviewer?
Arjen

—
Reply to this email directly or view it on GitHub
<
https://github.com/firebug/firequery/issues/23#issuecomment-118761527
.

—
Reply to this email directly or view it on GitHub
<https://github.com/firebug/firequery/issues/23#issuecomment-119247082
.

—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-119248214.

—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-119571260.

--
[image: Linkedin] http://nl.linkedin.com/in/haayman [image: Twitter]
https://twitter,com/haayman [image: Facebook]
http://www.facebook.com/haayman [image: Telegram]
http://telegram.me/haayman

yes

On 08 Jul 2015, at 15:12, haayman<EMAIL_ADDRESS>wrote:
Is it possible to share screen?
On Wed, Jul 8, 2015 at 3:04 PM, Jan Odvarko<EMAIL_ADDRESS>wrote:

Hi,
can we use G+ hangout?
I don't have teamviewer....
Honza
On Tue, Jul 7, 2015 at 5:58 PM, haayman<EMAIL_ADDRESS>wrote:

Tomorrow is fine. I'm in Europe/Amsterdam
Op 7 jul. 2015 17:54 schreef "Jan Odvarko"<EMAIL_ADDRESS>

Maybe you can take a look using teamviewer?

Yeah, let's try it. Tomorrow would be fine for you?
What time zone are you based in?
Honza
On Mon, Jul 6, 2015 at 9:48 AM, haayman<EMAIL_ADDRESS>wrote:

The options page belonging to the addon. Where you cat set things
like
jQueryURL or useLint.
I'm running FF 39 on windows 8.1
Nope, no envelopes on the elements. No error-messages in the console.
Nothing.
Maybe you can take a look using teamviewer?
Arjen

—
Reply to this email directly or view it on GitHub
<
https://github.com/firebug/firequery/issues/23#issuecomment-118761527
.

—
Reply to this email directly or view it on GitHub
<https://github.com/firebug/firequery/issues/23#issuecomment-119247082
.

—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-119248214.

—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-119571260.

--
[image: Linkedin] http://nl.linkedin.com/in/haayman [image: Twitter]
https://twitter,com/haayman [image: Facebook]
http://www.facebook.com/haayman [image: Telegram]
http://telegram.me/haayman
—
Reply to this email directly or view it on GitHub https://github.com/firebug/firequery/issues/23#issuecomment-119574235.

<EMAIL_ADDRESS>On Wed, Jul 8, 2015 at 3:13 PM, Jan Odvarko<EMAIL_ADDRESS>wrote:

yes

On 08 Jul 2015, at 15:12, haayman<EMAIL_ADDRESS>wrote:
Is it possible to share screen?
On Wed, Jul 8, 2015 at 3:04 PM, Jan Odvarko<EMAIL_ADDRESS>wrote:

Hi,
can we use G+ hangout?
I don't have teamviewer....
Honza
On Tue, Jul 7, 2015 at 5:58 PM, haayman<EMAIL_ADDRESS>wrote:

Tomorrow is fine. I'm in Europe/Amsterdam
Op 7 jul. 2015 17:54 schreef "Jan Odvarko"<EMAIL_ADDRESS>:

Maybe you can take a look using teamviewer?

Yeah, let's try it. Tomorrow would be fine for you?
What time zone are you based in?
Honza
On Mon, Jul 6, 2015 at 9:48 AM, haayman<EMAIL_ADDRESS>wrote:

The options page belonging to the addon. Where you cat set things
like
jQueryURL or useLint.
I'm running FF 39 on windows 8.1
Nope, no envelopes on the elements. No error-messages in the
console.
Nothing.
Maybe you can take a look using teamviewer?
Arjen

—
Reply to this email directly or view it on GitHub
<
https://github.com/firebug/firequery/issues/23#issuecomment-118761527
.

—
Reply to this email directly or view it on GitHub
<
https://github.com/firebug/firequery/issues/23#issuecomment-119247082
.

—
Reply to this email directly or view it on GitHub
<
https://github.com/firebug/firequery/issues/23#issuecomment-119248214>.

—
Reply to this email directly or view it on GitHub
<https://github.com/firebug/firequery/issues/23#issuecomment-119571260
.

--
[image: Linkedin] http://nl.linkedin.com/in/haayman [image: Twitter]
https://twitter,com/haayman [image: Facebook]
http://www.facebook.com/haayman [image: Telegram]
http://telegram.me/haayman
—
Reply to this email directly or view it on GitHub <
https://github.com/firebug/firequery/issues/23#issuecomment-119574235>.

—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-119574413.

--
[image: Linkedin] http://nl.linkedin.com/in/haayman [image: Twitter]
https://twitter,com/haayman [image: Facebook]
http://www.facebook.com/haayman [image: Telegram]
http://telegram.me/haayman

@janodvarko I can join too if you need me

Problem solved, closing this report.
Just for the record: FireQuery 2.0 is for "Native Firefox Developer Tools"
not for Firebug 2.0
Honza
On Wed, Jul 8, 2015 at 3:16 PM, Alistair Laing<EMAIL_ADDRESS>wrote:

@janodvarko https://github.com/janodvarko I can join too if you need me
—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-119575171.

Hi Jan,
Is see an envelope in version 3, but there's no popup anymore when I hover it.

Do you see a popup if you click on the envelope?
Honza

Nope
Op 9 jul. 2015 14:44 schreef "Jan Odvarko"<EMAIL_ADDRESS>
Do you see a popup if you click on the envelope?
Honza
—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-119949133.

What version of Firefox do you use?
Honza

Ah, 39, correct?

yup
On Thu, Jul 9, 2015 at 2:48 PM, Jan Odvarko<EMAIL_ADDRESS>wrote:

Ah, 39, correct?
—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-119950788.

--
[image: Linkedin] http://nl.linkedin.com/in/haayman [image: Twitter]
https://twitter,com/haayman [image: Facebook]
http://www.facebook.com/haayman [image: Telegram]
http://telegram.me/haayman

I have fixed one backward compatibility problem with Fx39 couple of hours ago.
Can you install the following version (it'll soon become beta 4) and let me know if it helps?
http://softwareishard.com/temp/firequery/firequery-2.0.0-beta.3.issue23.xpi
Honza

Yes. Fixed. Thanks!
On Thu, Jul 9, 2015 at 2:54 PM, Jan Odvarko<EMAIL_ADDRESS>wrote:

I have fixed one backward compatibility problem with Fx39 couple of hours
ago.
Can you install the following version (it'll soon become beta 4) and let
me know if it helps?
http://softwareishard.com/temp/firequery/firequery-2.0.0-beta.3.issue23.xpi
Honza
—
Reply to this email directly or view it on GitHub
https://github.com/firebug/firequery/issues/23#issuecomment-119952395.

--
[image: Linkedin] http://nl.linkedin.com/in/haayman [image: Twitter]
https://twitter,com/haayman [image: Facebook]
http://www.facebook.com/haayman [image: Telegram]
http://telegram.me/haayman


[Keyvault] Merging preview branch KvDevPsSdkJson back into psSdkJson6 for release

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] Please add REST spec PR link to the SDK PR
[ ] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

Closing as these changes will be merged in from PR https://github.com/Azure/azure-sdk-for-net/pull/4501 where these changes have been rebased and squashed to psSdkJson6


ConnectionError: HTTPConnectionPool( Max retries exceeded with url) [Errno -2] Name or service not known

Hey,guys!
Maybe I did not ask the right place,i follow this project:https://github.com/jiehua233/phoneregion,then run command 'python main.py --scrapy',but always get error like this:
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gevent/greenlet.py", line 534, in run
result = self._run(_self.args, *_self.kwargs)
File "/home/zjhxmjl/Documents/phoneregion/scrapy.py", line 55, in worker
info = self.validate(phone)
File "/home/zjhxmjl/Documents/phoneregion/scrapy.py", line 62, in validate
r = requests.get(url)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 70, in get
return request('get', url, params=params, *_kwargs)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, *_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 475, in request
resp = self.send(prep, *_send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 596, in send
r = adapter.send(request, *_kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 487, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='www.ip138.com', port=8080): Max retries exceeded with url: /search.asp?mobile=1459626&action=mobile (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x14663d0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
<Greenlet at 0x140d0f0: <bound method Scrapy.worker of <scrapy.Scrapy instance at 0x12dcf38>>(['1450000', '1450001', '1450002', '1450003', '1450)> failed with ConnectionError
i check the number "1459626" from  here which i need but can't store in the file "phonenum.dat",thks for advance.

this is requirements.txt which i had install
requirements.txt

This error says that we are unable to resolve the domain name www.ip138.com. Can you confirm that that domain name is valid?

@Lukasa thks for reply,i confirm the domain name is valid,because i can get some datas.but sometimes i get the error "ConnectionError".
some error info:
`[zjhxmjl@localhost phoneregion]$ python main.py --scrapy > log.txt
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gevent/greenlet.py", line 534, in run
result = self._run(*self.args, **self.kwargs)
File "/home/zjhxmjl/Documents/phoneregion/scrapy.py", line 55, in worker
info = self.validate(phone)
File "/home/zjhxmjl/Documents/phoneregion/scrapy.py", line 62, in validate
r = requests.get(url)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 70, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 475, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 596, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 487, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='www.ip138.com', port=8080): Max retries exceeded with url: /search.asp?mobile=1459772&action=mobile (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x3970d90>: Failed to establish a new connection: [Errno -2] Name or service not known',))
<Greenlet at 0x31ae0f0: <bound method Scrapy.worker of <scrapy.Scrapy instance at 0x307ef38>>(['1450000', '1450001', '1450002', '1450003', '1450)> failed with ConnectionError
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gevent/greenlet.py", line 534, in run
result = self._run(*self.args, **self.kwargs)
File "/home/zjhxmjl/Documents/phoneregion/scrapy.py", line 55, in worker
info = self.validate(phone)
File "/home/zjhxmjl/Documents/phoneregion/scrapy.py", line 62, in validate
r = requests.get(url)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 70, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 475, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 596, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 487, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='www.ip138.com', port=8080): Max retries exceeded with url: /search.asp?mobile=1459728&action=mobile (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x34df390>: Failed to establish a new connection: [Errno -2] Name or service not known',))
<Greenlet at 0x31aef50: <bound method Scrapy.worker of <scrapy.Scrapy instance at 0x307ef38>>(['1450000', '1450001', '1450002', '1450003', '1450)> failed with ConnectionError
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gevent/greenlet.py", line 534, in run
result = self._run(*self.args, **self.kwargs)
File "/home/zjhxmjl/Documents/phoneregion/scrapy.py", line 55, in worker
info = self.validate(phone)
File "/home/zjhxmjl/Documents/phoneregion/scrapy.py", line 62, in validate
r = requests.get(url)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 70, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 56, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 475, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 596, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 487, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='www.ip138.com', port=8080): Max retries exceeded with url: /search.asp?mobile=1459727&action=mobile (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x361c210>: Failed to establish a new connection: [Errno -2] Name or service not known',))
<Greenlet at 0x306b4b0: <bound method Scrapy.worker of <scrapy.Scrapy instance at 0x307ef38>>(['1450000', '1450001', '1450002', '1450003', '1450)> failed with ConnectionError
`
this is log.txt
log.txt

So that exception means that the DNS lookup has failed. There's very little we can do about that other than simply to retry, so I recommend adding some error handling around that block.

We just saw this with multiple domains at the same time on 2 different servers on the same network.  The weird thing is that all other processes could connect to the domains without any problem and DNS was working fine at the time we attempted to diagnose this.  The above error continued until the process was restarted it, it did not recover even when we knew the DNS was working properly.  I'm guessing somewhere either in requests or python that the failed DNS lookup was cached and it never attempted to resolve the domain again.

So, Requests does not cache DNS lookups. That means that this must be a Python or OS level issue.

When i tried to configure HTTP/HTTPS proxy for iPython notebook server  i am getting error like below. No idea what to do. Any help is appreciated.
ProxyError: HTTPConnectionPool(host='proxy.example.com', port=80): Max retries exceeded with url: http://google.com/ (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0B9B95D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)))


Federation TODO

#786 piled up a few TODOs for federation:

honor_labels sufficient as final configuration option? Are there other things then label handling that should differentiate a federation target from a regular scrape target?
Sorting relevant except for debugging via text protocol?
Versioning of federation endpoint? As part of the regular API?

@juliusv If we can agree on the last point I'd close this one.
You suggested to include it into the API, I was for keeping it separated from the API. Do you have a stronger tendency so far?
For reference, my reasoning was that version bumps for the API endpoints and federation are unlikely to line up or be related at all. Plus the fundamentally different output format. I don't think an API client package should be required to interact with /federate to be complete.

I think some versioning would be wise, but not tied to the regular API. On the other hand it's only the arguments that should change over time, and that can probably be done in a backwards-compatible way.

I don't feel strongly... if we start with it outside of the API, we can still decide to move it into the API later (whereas the opposite would be more breaking).

I don't think there's anything more to be done here?


Can't remove the image from field

After insert an image, i can't remove from field.
The only option i have is delete the image from FileManager.
Screenshots:
http://www.clipular.com/posts/5827487813337088?k=5_5YKF7MDfGD8bPy1-mHvyL3J8M
http://www.clipular.com/posts/4505571471130624?k=5IAZpB8P9O9fv6K1lrz_aL7Ebs0

Yes not yet. You can remove it from the tools instead.
Maybe in the next release.
Thanks!

@bcoelhonqda try the new v1.1.1 release.
Regards


job['infoQueue']['estimatedTimeInQueue']

running samples qiskit the job object has not "estimatedTimeInQueue" but it has got a position label
it should be changed

Known issue. They changed the api. Fix is in #71

Fix is merged into master.


[Bug]: textArea is not cleared after submitting feedback

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
whenever user submits a feedback the textarea is remains as it is .
it should be empty after successfully submiting the feedback.

Expected behavior
text field should be empty after submitting the feedback
Add ScreenShots/Videos
No response
On which device are you experiencing this bug?
No response
Record

[X] I have read the Contributing Guidelines
[ ] I'm a WOB'24(Winter Of Blockchain) contributor
[X] I'm a GSSOC'24 Extended contributor
[X] I'm a Hacktoberfest'24  contributor
[X] I have starred the repository

@Amnyadav  this issue is already present in the repo previously & already been assigned to another contributor . sorry to close this issue . but u can still make new issues on which u want to work on


Fix broken meetings searches

Purpose
A recent deprecation fix caused meetings searches to break. This should fix that.
Summary of Changes

Add target string to on actions

Yeah, Keyboard Events were being passed instead. With the {{on}} helper passes events rather than values because it's a generic helper rather than something specific to an input control.


Fix text containing wrong item names

The game very often "hardcodes" item names in strings, for instance when obtaining a NPC reward.
This includes:

All 6 casino rewards
King Snow item (several strings in King Snow dialogue + Get item text)
Inoa shop lines
Lurvy shop lines
(Nirude's reward?)

Fixing this will require having a full control over map text, which is the last sector of each map's data (and probably the easiest one to edit).

Fixed in 7f055c8


Entropy coding

First of all, thank you for your work.
I trained a model (cheng2020-attn) on my own dataset and then tried to do some tests with your evaluation script
python3 train.py -d $DATASET --epochs 100 -lr 1e-4 --batch-size 16 --cuda --save
python -m compressai.utils.update_model --architecture cheng2020-attn weight/cheng2020-attn/checkpoint_best_loss.pth.tar
python -m compressai.utils.eval_model checkpoint crop_img -a cheng2020-attn -p weight/cheng2020-attn/checkpoint_best_loss.pth.tar
next，I want to do Entropy coding, save the result of compression and decompression.
By default CompressAI uses a range Asymmetric Numeral Systems (ANS) entropy coder. You can use compressai.available_entropy_coders() to get a list of the implemented entropy coders and change the default entropy coder via compressai.set_entropy_coder().
The code in your document is as follows：
x = torch.rand(1, 3, 64, 64)
y = net.encode(x)
strings = net.entropy_bottleneck.compress(y)
shape = y.size()[2:]
y_hat = net.entropy_bottleneck.decompress(strings, shape)
x_hat = net.decode(y_hat)
I want to know, do I need to redefine net myself? How to implement Entropy coding？

Hi, I'm not sure I understand your question.
Is you example working? Do you want to implement another range coder?

In fact, I want to get a visualization of the encoding and decoding results of a picture and the resulting bitstream file. Also, after training, I use the default codec and the test time is 0.4s/1s, which is not up to the real-time requirement, so I want to know where the codec is set.


HDDS-6480. Add missing CleanupTableInfo to OM responses

What changes were proposed in this pull request?
The CleanupTableInfo for subclasses of OmKeyResponse is missing some tables.
Especially for the BUCKET_TABLE when bucket usedBytes were updated.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6480
How was this patch tested?
Existing CI

Thanks for the review and thanks for creating follow up task @errose28.

Thanks @kaijchen for adding this, and thanks @errose28 for the review. I had merged this PR.


Add end-to-end tests

We currently have unit and integration tests, we need to add end-to-end tests too that actually create a cluster and deploy lws.
See jobset example https://github.com/kubernetes-sigs/jobset/issues/46

@liurupeng

/assign

Looks good now.
/close
Nice work @kerthcet, @Bslabe123 and @liurupeng