Prometheus 2.41 and above cannot discover EC2 SD via a proxy when using instance/task credentials

What did you do?
In Prometheus 2.40.7 and below, launching Prometheus with the environment variables HTTP_PROXY=http://myproxy:3128, HTTPS_PROXY=http://myproxy:3128, and NO_PROXY=<IP_ADDRESS>/16,<IP_ADDRESS>/12,<IP_ADDRESS>/16,*.myprivatedomain and configuration like:
scrape_configs:
  - job_name: example
    ec2_sd_configs:
      - region: us-west-2

resulted in Prometheus fetching its own IAM credentials from the EC2 metadata service http://<IP_ADDRESS> (or from the ECS task metadata service http://<IP_ADDRESS>), and then using the HTTP proxy http://myproxy:3128 to connect to the EC2 API.
After upgrading to Prometheus 2.41.0 or 2.42.0, this no longer works. There is a new proxy_url field in ec2_sd_configs, so I attempted the following configuration:
scrape_configs:
  - job_name: example
    ec2_sd_configs:
      - region: us-west-2
        proxy_url: http://myproxy:3128

What did you expect to see?
Setting the proxy_url for EC2 SD configs should use that proxy for connecting to the EC2 API (and probably for connecting to the STS API when assuming roles), but it should not use this proxy when connecting to link-local services such as the EC2 metadata API or ECS task API.
This should either happen automatically (e.g. Prometheus could hardcode knowledge of the EC2/ECS metadata endpoints to bypass the proxy) or via configuration similar to the NO_PROXY environment variable
What did you see instead? Under which circumstances?
Prometheus attempts to connect to the link-local API http://<IP_ADDRESS> via the HTTP proxy when one is specified in proxy_url for an EC2 SD config. The proxy correctly rejects the attempt for Prometheus to read the proxy's IAM credentials, and Prometheus fails to discover instances in EC2 with an error about not having credentials.
System information
Linux 5.10.165-143.735.amzn2.x86_64 x86_64
Prometheus version
prometheus, version 2.42.0 (branch: HEAD, revision: 225c61122d88b01d1f0eaaee0e05b6f3e0567ac0)
  build user:       root@c67d48967507
  build date:       20230201-07:53:32
  go version:       go1.19.5
  platform:         linux/amd64

prometheus, version 2.41.0 (branch: HEAD, revision: c0d8a56c69014279464c0e15d8bfb0e153af0dab)
  build user:       root@d20a03e77067
  build date:       20221220-10:40:45
  go version:       go1.19.4
  platform:         linux/amd64

Prometheus configuration file
scrape_configs:
  - job_name: example
    ec2_sd_configs:
      - region: us-west-2
        proxy_url: http://myproxy:3128

Alertmanager version
No response
Alertmanager configuration file
No response
Logs
ts=2023-02-19T23:18:54.812Z caller=refresh.go:80 level=error component="discovery manager scrape" discovery=ec2 msg="Unable to refresh target groups" err="could not describe instances: NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors"
ts=2023-02-19T23:19:06.257Z caller=refresh.go:80 level=error component="discovery manager scrape" discovery=ec2 config=example msg="Unable to refresh target groups" err="could not describe instances: NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors"
ts=2023-02-19T23:20:06.260Z caller=refresh.go:99 level=error component="discovery manager scrape" discovery=ec2 config=example msg="Unable to refresh target groups" err="could not describe instances: NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors"

I'm also affected by this. It broken our proxy setup using ENV variables when upgrading to v2.42.0.

@roidelapluie you seem to know how to fix this; do you know why it broke when going from 2.40 to 2.41?

Yes we have added regular proxy support. I have a pull request open in common to enable the use of proxies again.

https://github.com/prometheus/prometheus/pull/11611 is the PR

Thanks, I feel I'm still missing something.  To match the symptoms at the top there must be some code in Prometheus 2.41 that reads HTTP_PROXY and does not read NO_PROXY.  Where is that code?

The code in 2.41 does not read HTTP PROXY and NO PROXY. before it was read automatically by Go.

In older versions, Prometheus does not configure the proxy on the HTTP client so the golang default behavioue is used which automatically uses HTTP_PROXY and NO_PROXY.
In the current version, Prometheus always uses the proxy from its config (or forces no proxy if no proxy is in its YAML), overriding the default behavior of reading environment variables. Currently nothing in Prometheus reads HTTP_PROXY.

Thanks for clarification.
I think I was confused that this issue asks for proxy_url to work, but the fix makes HTTP_PROXY work.

Prometheus 2.43 adds 2 new settings that will enable you to fine tune proxy behavior:
# Comma-separated string that can contain IPs, CIDR notation, domain names
# that should be excluded from proxying. IP and domain names can
# contain port numbers.
[ no_proxy: <string> ]
# Use proxy URL indicated by environment variables (HTTP_PROXY, https_proxy, HTTPs_PROXY, https_proxy, and no_proxy)
[ proxy_from_environment: <boolean> | default: false ]


Android 9 or below, the camera does not work properly

Issue Description:
When working on Android 9 or below, the camera does not work properly. It takes time to initialize, and sometimes it only displays a black screen. Additionally, when we click on capture, the loader keeps loading indefinitely.
Calling:
  imagePicker
            .allowCrop(false)
            .allowCompress(true, 80)
            .allowGalleryOnly(false)
            .allowCameraOnly(true)
            .start()

Logs:
getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
17:23:12.957  D  getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
17:23:12.961  D  Resolved dynamic range for use case androidx.camera.core.Preview-d84b7d05-7c44-48dd-9669-cd32da2863d0 to no compatible HDR
                 dynamic ranges.
                 DynamicRange@4f4abb8{encoding=UNSPECIFIED, bitDepth=0}
                 ->
                 DynamicRange@2994e1b{encoding=SDR, bitDepth=8}
17:23:12.965  D  getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
17:23:12.965  D  Surface created[total_surfaces=1, used_surfaces=0](androidx.camera.core.processing.SurfaceEdge$SettableSurface@b43ce60}
17:23:12.966  D  Surface created[total_surfaces=2, used_surfaces=0](androidx.camera.core.SurfaceRequest$2@f87708c}
17:23:12.967  D  New surface in use[total_surfaces=2, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@f87708c}
17:23:12.967  D  use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@f87708c
17:23:12.968  D  getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
17:23:12.970  D  createPipeline(cameraId: 0, streamSpec: StreamSpec{resolution=1280x960, dynamicRange=DynamicRange@2994e1b{encoding=SDR, bitDepth=8}, expectedFrameRateRange=[0, 0], implementationOptions=androidx.camera.camera2.impl.Camera2ImplConfig@a810978})
17:23:12.972  D  Surface created[total_surfaces=3, used_surfaces=1](androidx.camera.core.impl.ImmediateSurface@4a3c851}
17:23:12.983  D  {Camera@462271f[id=0]} Use case androidx.camera.core.ImageCapture-399fd3eb-8049-4d40-9378-60c5597582b4166587933 ACTIVE
17:23:12.983  D  Active and attached use case: [] for camera: 0
17:23:12.985  D  {Camera@462271f[id=0]} Use case androidx.camera.core.Preview-d84b7d05-7c44-48dd-9669-cd32da2863d0165689076 ACTIVE
17:23:12.985  D  Active and attached use case: [] for camera: 0
17:23:12.988  D  {Camera@462271f[id=0]} Use case androidx.camera.core.ImageCapture-399fd3eb-8049-4d40-9378-60c5597582b4166587933 ACTIVE
17:23:12.988  D  Active and attached use case: [] for camera: 0
17:23:12.988  D  Active and attached use case: [] for camera: 0
17:23:12.989  D  {Camera@462271f[id=0]} Use cases
                 [androidx.camera.core.Preview-d84b7d05-7c44-48dd-9669-cd32da2863d0165689076, androidx.camera.core.ImageCapture-399fd3eb-8049-4d40-9378-60c5597582b4166587933] now
                 ATTACHED
17:23:12.990  D  All use
                 case: [androidx.camera.core.ImageCapture-399fd3eb-8049-4d40-9378-60c5597582b4166587933, androidx.camera.core.Preview-d84b7d05-7c44-48dd-9669-cd32da2863d0165689076] for
                 camera: 0
17:23:12.990  D  mMeteringRepeating is ATTACHED, SessionConfig Surfaces: 2, CaptureConfig Surfaces: 1
17:23:12.991  D  Active and attached use
                 case: [androidx.camera.core.ImageCapture-399fd3eb-8049-4d40-9378-60c5597582b4166587933, androidx.camera.core.Preview-d84b7d05-7c44-48dd-9669-cd32da2863d0165689076] for
                 camera: 0
17:23:12.999  D  {Camera@462271f[id=0]} Resetting Capture Session
17:23:13.001  D  {Camera@462271f[id=0]} Releasing session in state INITIALIZED
17:23:13.004  D  {Camera@462271f[id=0]} Attempting to force open the camera.
17:23:13.005  D  tryOpenCamera(Camera@462271f[id=0]) [Available Cameras: 1, Already Open: false (Previous state: CLOSED)] --> SUCCESS
17:23:13.005  D  Recalculating open cameras:
                 Camera                                       State
                 -------------------------------------------------------------------
                 Camera@5b23396[id=1]                         UNKNOWN
                 Camera@462271f[id=0]                         OPENING
                 -------------------------------------------------------------------
                 Open count: 1 (Max allowed: 1)

Please investigate and resolve this issue.
https://imgur.com/n93ch5w

is this repository still active?

Hi shaikhaquib
It's nice to hear that you found an issue. I have checked it in the applications and made some corrections. It's working fine on all the devices in which I have tested. I request you to check the latest version of the library, which is "com.github.colourmoon:image-picker:v1.0.3".
If you continue to face this issue, just let me know here, or you can contact me. My GitHub and email details are available publicly.
I hope I have rectified your issue.


Update front end download modal to include option to download genesets for a dataset

See figma -  https://www.figma.com/file/TKV4sJ00zWobEFkaNgklC3/Gene-Sets?node-id=364%3A0
This option should only be available if there are genesets linked to the dataset

Closing. Per the 2022 Q1 plan, the design would embed gene sets in datasets.


redux template: automatically infer FetchData's new props type

After being connected to redux's store the props type isn't the same anymore since WeatherForecastsState gets filled by the store.
The template worked because when using the FetchData component within the Route component it seems like its type doesn't get checked accurately. However using the component as <FetchData ... /> generates an error since the properties of WeatherForecastsState were seemingly missing.
The type definition of redux's connect has been built in such a way, that the new props type gets automatically infered.

Thanks for submitting this PR! As it happens, the next version of the React-Redux template will be based around create-react-app output and this change won't be applicable to it (nor will the original issue). I'll close this because it doesn't apply to the newer template. Hope that's OK!

That is nice to hear!


Add State.All state to retry

Is your feature request related to a problem? Please describe.
The retry is only working for the TaskFailure, but not States.ALL

Working on this


Working with boxed streams

It's likely that I am missing something, but I cannot really use Box<Stream<..>>, since the self-consuming methods don't work with it. I got a Box<Stream<Item = u8, Error = io::Error>> and I would just like to transform it into Result<Vec<u8>, io::Error>. How would I do that?

Would fold or collect work for your use case?

That's what I tried, but Self needs to be Sized.

Does use futures::Stream; help? See https://github.com/rust-lang/rust/issues/35976.

@dwrensha Yes, it does. Thank you!


Exception: Response status code is not 200. Response Status is 404

my code :
from bardapi import Bard
token = '......'
bard = Bard(token=token)
bard.get_answer("hello")['content']
my problem  :
Traceback (most recent call last):
File "c:\Users\neveu\OneDrive\Bureau\ay\test.py", line 4, in
bard = Bard(token=token)
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\bardapi\core.py", line 78, in init
self.SNlM0e = self._get_snim0e()
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\bardapi\core.py", line 149, in _get_snim0e
raise Exception(
Exception: Response status code is not 200. Response Status is 404

i've fixed the problem but i have another problem
code :
from bardapi import Bard
import os
import requests
Get your proxy url at crawlbase https://crawlbase.com/docs/smart-proxy/get/
proxy_url = "...@smartproxy.crawlbase.com:8012"
proxies = {"http": proxy_url, "https": proxy_url}
bard = Bard(token='...', proxies=proxies, timeout=30)
bard.get_answer("hello")['content']
problem :
Traceback (most recent call last):
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 711, in urlopen
self._prepare_proxy(conn)
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 1007, in prepare_proxy
conn.connect()
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connection.py", line 419, in connect
self.sock = ssl_wrap_socket(
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\util\ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\util\ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 513, in wrap_socket
return self.sslsocket_class._create(
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1071, in _create
self.do_handshake()
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\ssl.py", line 1342, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: EE certificate key too weak (_ssl.c:997)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\connectionpool.py", line 798, in urlopen
retries = retries.increment(
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\util\retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='bard.google.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: EE certificate key too weak (_ssl.c:997)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\neveu\OneDrive\Bureau\ay\test.py", line 10, in
bard = Bard(token='cwi5OPgUf7KEaHnG8v7_CvyITY4GN_u5qumIkZDuEGJrm9vO35j7VRwSW4NhUIwnxMmWjw.', proxies=proxies, timeout=30)
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\bardapi\core.py", line 78, in init
self.SNlM0e = self._get_snim0e()
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\bardapi\core.py", line 145, in _get_snim0e
resp = self.session.get(
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "C:\Users\neveu\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\adapters.py", line 517, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='bard.google.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: EE certificate key too weak (_ssl.c:997)')))

how did you fix the "Exception: Response status code is not 200. Response Status is 404"? I am having the same issue

how did you fix the "Exception: Response status code is not 200. Response Status is 404"? I am having the same issue

The HTTP 404 Not Found response status code indicates that the server cannot find the requested resource. Links that lead to a 404 page are often called broken or dead links and can be subject to link rot. A 404 status code only indicates that the resource is missing: not whether the absence is temporary or permanent.
The HTTP 409 Conflict response status code indicates a request conflict with the current state of the target resource. Conflicts are most likely to occur in response to a PUT request.
It seems there is a conflict with the local resources designated as a proxy server because the local server is unable to act as a proxy. I recommend using an appropriate proxy server.

It looks like the problem is in the cookies: __Secure-1PSIDTS and __Secure-1PSIDCC values. It needs for usage and often changes it.

This solved my problem (i.e., create a cookie dictionary and add values for __Secure-1PSIDTS and __Secure-1PSIDCC in addition to __Secure-1PSID)
from bardapi import BardCookies

cookie_dict = {
    "__Secure-1PSID": "xxxxxxxxx",
    "__Secure-1PSIDTS": "xxxxxxxxx",
    "__Secure-1PSIDCC":"xxxxxxxxx"
}

bard = BardCookies(cookie_dict=cookie_dict)

print(bard.get_answer("Hello"))

This solved my problem (i.e., create a cookie dictionary and add values for __Secure-1PSIDTS and __Secure-1PSIDCC in addition to __Secure-1PSID)
from bardapi import BardCookies

cookie_dict = {
    "__Secure-1PSID": "xxxxxxxxx",
    "__Secure-1PSIDTS": "xxxxxxxxx",
    "__Secure-1PSIDCC":"xxxxxxxxx"
}

bard = BardCookies(cookie_dict=cookie_dict)

print(bard.get_answer("Hello"))

I just tried this but I get an error indicating too many requests:

Exception: Response status code is not 200. Response Status is 429

Any idea how I can get the API working?

This solved my problem (i.e., create a cookie dictionary and add values for __Secure-1PSIDTS and __Secure-1PSIDCC in addition to __Secure-1PSID)
from bardapi import BardCookies

cookie_dict = {
    "__Secure-1PSID": "xxxxxxxxx",
    "__Secure-1PSIDTS": "xxxxxxxxx",
    "__Secure-1PSIDCC":"xxxxxxxxx"
}

bard = BardCookies(cookie_dict=cookie_dict)

print(bard.get_answer("Hello"))

This works, but just temporarily, because __Secure-1PSIDTS and __Secure-1PSIDCC are frequently changing.
You should fetch the cookies every once in a while.

Not sure if this is helpful but I found the thing that gave the 404 error:
`Request sent to https://consent.google.com/m
{
http.fragment: ,
http.method: GET,
http.query: continue=https://bard.google.com/?hl%3Den&gl=DE&m=0&pc=bard&cm=2&hl=en&src=1,
http.response.status_code: 404,
reason: Not Found
}
```

Please referes #112, #229, #248, #259 and FAQ.


[Bug]: FnAPI Java SDK Harness doesn't update user counters in OnTimer callback functions

What happened?
This can be re-produced with simple DoFn with user counters, the updates in counters in processElement are populated properly to MointoringInfos when sending back ProcessBundleInstructionResponse, however the counters in onTimer callback are not recorded.
DoFn<KV<String, Long>, KV<Long, Instant>> fn =
          new DoFn<KV<String, Long>, KV<Long, Instant>>() {

            @TimerId(timerId)
            private final TimerSpec spec = TimerSpecs.timer(TimeDomain.EVENT_TIME);

            final Counter startTimers = Metrics.counter("timers", "started_timers_count");
            final Counter firedTimers = Metrics.counter("timers", "fired_timers_count");

            @ProcessElement
            public void processElement(
                @TimerId(timerId) Timer timer,
                @Timestamp Instant timestamp,
                OutputReceiver<KV<Long, Instant>> r) {
              timer
                  .align(Duration.standardMinutes(1))
                  .offset(Duration.standardSeconds(1))
                  .setRelative();
              LOG.info("started timer");
              startTimers.inc();
              r.output(KV.of(3L, timestamp));
            }

            @OnTimer(timerId)
            public void onTimer(@Timestamp Instant timestamp, OutputReceiver<KV<Long, Instant>> r) {
              LOG.info("fired timer");
              firedTimers.inc();
              r.output(KV.of(42L, timestamp));
            }
          };

Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components

[ ] Component: Python SDK
[X] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[X] Component: Google Cloud Dataflow Runner

Changing to P1 since this sounds like a potential correctness issue.
@y1chi @kennknowles any idea regarding the fix ?

Agree with P1. I don't immediately know the fix. Was it just forgotten in the implementation?

The Counter logic seems pretty complicated. I suspect there is a missing piece in FnApiDoFnRunner to update the counter containers when the onTimer invocation happens https://github.com/apache/beam/blob/ffb43321a0a4a646c6568336b8fba5787b1b64a0/sdks/java/harness/src/main/java/org/apache/beam/fn/harness/FnApiDoFnRunner.java#L1743

Not 100% sure this is related, but with my pipeline I have a problem where @OnTimer("loopingTimer") is not triggered when upgraded to 2.52.0.
my pipeline is pretty similar in logic to: https://beam.apache.org/blog/looping-timers/ , while it is working on 2.51.0.

@yardenbm I don't think it is related. This bug is much older than that, and the execution does not depend on counters. Can you file a new bug for your issue so we can get details and track it?


_posts/0000-01-02-ElenicePedrosa.md.

layout: slide
title: "Welcome to our second slide!"
Your text
Use the left arrow to go back!

layout:
título de slides: "Bem-vindo ao nosso segundo slide!"
Seu
texto Use a seta esquerda para voltar!

Step 7: Respond to a review
Your pull request is looking great!
Let’s add some content to your file. Replace line 5 of your file with a quotation or meme and witty caption. Remember: Markdown is supported.
⌨ Activity: Change your file

Click the Files Changed tab in this pull request
Edit your newly added file
Replace line 5 with something new
Scroll to the bottom and click Commit Changes

Note : Can't find the button to edit the file? It may look like a pencil, or it may look like three dots.
I'll respond when I detect a commit on this branch.


directionalLight: color difference when using number/string instead of THREE.Color

Consider this code:
<directionalLight
      color={new THREE.Color().setHSL(0.1, 0.7, 0.5)}
      intensity={0.1}
      position={[0, -1, 0]}
 />

If I replace the color with what the getHexString() method returns (in this case d89126, so it's either "#d89126" or 0xd89126), or what getHex() returns (14192934), the color is darker.

If you have a canvas with the colorManagement fish it will automatically cover colors to srgb. But this can't work if you put objects in it, which I wouldn't recommend since it would recreate these on every render. See https://github.com/react-spring/react-three-fiber/blob/master/api.md#objects-and-properties

If you have a canvas with the colorManagement flag it will automatically covert colors to srgb. But this can't work if you put objects in it, which I wouldn't recommend since it would recreate these on every render. See https://github.com/react-spring/react-three-fiber/blob/master/api.md#objects-and-properties
If you must work with objects use useMemo and if you want correct colors in threejs you must call convertLinearToSrgb on it or something like that.

Thank you for your answer. The thing is colorManagement was enabled and it was working fine with objects, but apparently not with numbers/strings

When you pass a number or a string it calls the set method of the underlying object, in this case three.color. that's why it can auto correct it, because there's a static reference. If you pass an object it would have to mutate it, and that's a no go.


[question] Sign Change of Normalized Advantage Function in PPO2

The line 269 of the code "stable_baselines/ppo2/ppo2.py" normalizes the advantage as below
advs = (advs - advs.mean()) / (advs.std() + 1e-8)
My concern is this normalization method may change the sign of the original advantage value. Say the positive advantage value can become negative, if the value is less than the mean. Does this have an impact on the loss function? At this stage, I am not sure about the impact. Maybe this is fine.

This is the de-facto way of doing normalization. It is true half of the "advantage mass" will then have negative sign (and thus discourage taking those actions), but the overall effect is helpful for learning or sometimes outright necessary, especially if magnitudes of advantages are high (and thus the variance of losses is high, which quickly makes training unstable).
For a very-roughly-related topic on RL, check out "baselines" for policy gradients (e.g. this Spinning Up section). GAE paper also touches the topic tangentially by writing out different forms of advantages/returns you could use.


Required Additional Component

-JMS Message Listeners for push/pull to/from MQ

email
Rolling log mechanism
UI

One of the requirements is that the message consumption and the service execution should be part of the same transaction. This can be achieved if we use an MDB that is managed by the container. It is possible for the onMessage() method of the MDB to invoke Simplity service using a simple method.
With this approach, we do not need any additional component. However, in a given project, if we observe any boiler-plate codes, we will come-up with a project-specific component that can eliminate such code.
Rolling-log mechanism is an aspect that is handled by the logger. Simplity works with the logger of your choice. (log4J, slf4J-simple, logback or jcl)

This is now available in the latest source


cross-database and fixed database errors

Removing the cross-database from the insert since it's not possible to do this in PostgreSQL, and in the update, I removed the fixed database, replacing it with the database schema logic.

Thank you for your contribution.


Improved developer experience

[Updated 2023/11/24 - by harshula]
We need a good standard method for using spack to build software at NCI, ideally with the following attributes
A general user (read-only):

[x] Don't need to git clone spack
[x] ACCESS-NRI spack_packages are available

An advanced user (in addition to a general user's requirements, also needs to be able to write/create new packages):

[ ] System libraries are available and easy to use
[x] Built packages are installed in the users own /g/data/ space
[ ] Read-only build cache available to speed up development time

Currently the steps to use spack require a number of steps, including cloning spack
https://github.com/ACCESS-NRI/ACCESS-OM/issues/6#issuecomment-1637387506

An example, and possible starting point:
https://forum.access-hive.org.au/t/shared-access-spack-configuration/227

V2 of the Spack config has been merged and should help improve the developer experience: PR https://github.com/ACCESS-NRI/spack_config/pull/6

Improved documentation in PR https://github.com/ACCESS-NRI/spack_config/pull/10

According to the Spack documentation, chaining may not be applicable to us because we have an install_tree outside of the Spack base directory:
https://spack.readthedocs.io/en/latest/chain.html

You can point your Spack installation to another installation to use any packages that are installed there. To register the other Spack instance, you can add it as an entry to upstreams.yaml:

upstreams:
  spack-instance-1:
    install_tree: /path/to/other/spack/opt/spack
  spack-instance-2:
    install_tree: /path/to/another/spack/opt/spack

install_tree must point to the opt/spack directory inside of the Spack base directory.

Instructions for general users on Gadi v1
[30/11/2023: first version]

Login to Gadi:

ssh<EMAIL_ADDRESS>

Set Spack environment variables:

. /g/data/vk83/apps/spack/0.20/spack-config/spack-start.bash

Display pre-built packages:

spack find

Installation instructions for model developers on Gadi v3
[27/11/2023: Updated to use spack-config]

Login to Gadi:

ssh<EMAIL_ADDRESS>

Clone the relevant git repositories:

git clone -c feature.manyFiles=true https://github.com/spack/spack.git --branch releases/v0.20 --single-branch --depth=1
git clone https://github.com/ACCESS-NRI/spack-packages.git --branch main
git clone https://github.com/ACCESS-NRI/spack-config.git --branch main

Link spack-config configurations files to the Spack instance:

ln -s -r -v spack-config/v0.20/gadi/* spack/etc/spack/

Set Spack environment variables (required after each login):

. spack-config/spack-start.bash

Build ACCESS-OM2 (initialisation may take a long time without any output):

spack install access-om2<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Notes
I've noticed a subtle difference between spack dev-build and spack install. dev-build appears to obtain a stale path for the Spack instance. It's not from ~/.spack.


Freeze issues with "ultrapolling" mouse

Issue details
Some of the gaming mouses have "ultrapolling" feature, with 1ms response time.
Apparently, with this feature enabled, Libgdx experiences 200-500ms freezes over time, if the mouse gets moved.
In order to find out why, I did some profiling

In the images below, the first number in max delta time (600ms freeze), the second one is the average (100ms).
But after detailed research, I found the problem is not really in the game itself. I put following profiling code in the mainLoop (at this line):
while (running) {
    ...
    _profiling.start();
    Display.processMessages();
    _profiling.end();
    ...
}

And got this:

As you can see here, messages graph is almost equal to the dt. In this example, messages is Display.processMessages() and dt is just delta time.
I understand that processMessages is lwjgl zone, but I was simply unable to google anything like this. Taking into account that first lwjgl is dead, I decided to discuss this issue here instead.
Also, I understand that you simple may not have such mouse, but yet any information regarding this issue would be highly appreciated!
Thoughts
Probably, that's because lwjgl Mouse readBuffer gets quickly overflowed.
Reproduction steps/code
The issue is reproducible on Windows/lwjgl using ultrapolling mouse (for example, "Razer mouse abyssus") with ultrapolling mode enabled (1000hz).
Version of LibGDX and/or relevant dependencies
1.9.6
Please select the affected platforms

[ ] Android
[ ] iOS (robovm)
[ ] iOS (MOE)
[ ] HTML/GWT
[x] Windows
[ ] Linux
[ ] MacOS

Is it known if LWJGL3 is affected by this? If LWJGL3 is unaffected and LWJGL2 isn't easy to fix, I vote to close the issue, since that's being retired as the default backend and it's been so long with there never being any activity here.

I can confirm that this happens on LWJGL3 backend as well. 1000hz mouse rapid movement -> massive lag spikes. Set to 125hz and its fine.
As far as I can tell this is a problem on GLFW side, as commenting out GLFW.glfwSetCursorPosCallback(window.getWindowHandle(), cursorPosCallback); in DefaultLwjgl3Input makes little difference. Tho GDX InputEventQueue being filled with skip events slow things down a bit as well.
Might be windows specific as well.
Perhaps running render on separate thread help? Eg https://github.com/LWJGL/lwjgl3-demos/blob/main/src/org/lwjgl/demo/opengl/glfw/Multithreaded.java


mongosh : execute js script on a bind mounted volume

My aim is to execute a script located in a local git repository.
image :  mongo:6.0.1-focal   (d34d21a9eb5b)
Using MongoDB:          4.0.0
Using Mongosh:          1.5.4
I execute the container this way :
docker run -it \
--mount src=/c/Users/myuser/PROJECTS/my-git-project,target=/project,type=bind \
--rm mongo mongosh \
"mongodb://***************************************"  \
"/project/test/test.js"

Error is :
Loading file: C:/Users/my-user/AppData/Local/Programs/Git/project/test/test.js
Error: ENOENT: no such file or directory, open '/C:/Users/my-user/AppData/Local/Programs/Git/project/test/test.js'

When opening a shell on the container, I can verify that the mountpoint /project is populated and contain the simple script and want to execute
However, it works if I execute it interactively :
docker run -it \
--mount src=/c/Users/myuser/PROJECTS/my-git-project,target=/project,type=bind \
--rm mongo mongosh \
"mongodb://***************************************"  \

globaldb [primary] test> load("/project/script/test.js")
The mongodb version is: 4.0.0
true

Why does it prefix this windows path /C:/Users/my-user/AppData/Local/Programs/Git to the mountpoint` ?

Are you using Docker Desktop? No idea why it'd be modifying the path like that but it's not something the image is doing.
There are Windows variants for this image that might suit your environment better https://github.com/docker-library/docs/tree/master/mongo#shared-tags

Loading file: C:/Users/my-user/AppData/Local/Programs/Git/project/test/test.js

That looks kind of like git-for-windows Bash auto adjusting paths; try "//project/test/test.js"


Switch to using scala 2.9.2

Compiled and used fine. I had issues with the tests though.

This is no longer relevant (new build system and 2.9.2 is supported). Can you please close this (we cannot close it ourselves with raising a ticket to Apache Infra, unfortunately)?

Compiled and used fine. I had issues with the tests though.

Compiled and used fine. I had issues with the tests though.

Compiled and used fine. I had issues with the tests though.

Compiled and used fine. I had issues with the tests though.

Compiled and used fine. I had issues with the tests though.

Compiled and used fine. I had issues with the tests though.

Compiled and used fine. I had issues with the tests though.

Compiled and used fine. I had issues with the tests though.


Update login link for passkeys feature preview

Why:
Closes: #27342

What's being changed (if available, include any code snippets, screenshots, or gifs):

As per the discussions page (https://github.com/orgs/community/discussions/54450), this change includes the ?passkey=true feature flag, so that the Sign-in with Passkey button appears.
This change should be reverted once the feature is out of preview, and the button appears by default.
Check off the following:

[ ] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

Hmmm.... it appears the staging environment build is broken, am I able to tick that box without actually having reviewed the change in staging?

I have decided to establish a company or brand and with the idea that I will pay a loan with an interest rate of 2% from the profit obtained in the next 5 years to the present time and be included in the block chain collection like Bitcoin and that's it.  To do the company's transactions with that currency.
My question is how and where to start?
With this goal, Bitcoin launched a new currency that would help the poor in society and allow everyone to exploit the available resources at the same scale.
I want to lend myself a new cryptocurrency unit, so that I can now start a business, be an entrepreneur, and be useful to humanity.
With this method, all mankind can pursue their goals and dreams and start their own businesses with pleasure and move forward purposefully.
And very easily, the global stock market can be circulated and organized through artificial intelligence so that all societies and businesses of the world can have financial exchanges without restrictions.
And of course, it helped the development of developing countries further and developed and promoted the level of free global knowledge.
I guarantee myself and guarantee that in the year the amount of income from financial transactions and the annual statement and taking into account the relevant tax, the company will still achieve a significant profit and the repayment of the received loan will have two years of breathing space.  And after that, annual or even monthly repayments will be paid.
My company will offer shares to those who are interested in participating for a salary during the loan repayment period to attract experts and start the project.
I expect humanity to reach a point in the near future, where each brand and company, company or any organization can offer its own unique and exclusive currency or cryptocurrency, while maintaining privacy and policy rules and regulations.
I believe that artificial intelligence will advance the ability to create and manage global progress in the future if it can be made open source, and then the learning and education of the whole world will be transformed and changed, and the entire ecosystem from  It will take root quickly.
The company that I plan to start can be public and open source and related to all different issues, and my ultimate goal is that by using the highest level of artificial intelligence knowledge, we can achieve technology and technology that can simultaneously  All the challenges and demands of humanity should be given the best answer by any possible method and a world without borders will become a reality.
These thoughts and ideas of mine may be funny and silly now, but I believe that nothing is impossible and that human beings are always progressing without limits, and the more they exchange ideas and share the same thoughts, the faster they are.  This progress will continue.

@jlaundry Thank you for opening a PR and linking it to your issue! ✨
I'll get this triaged for review! :zap:
And welcome to the community! 🎉


restore-bower-components target flaky

We have started seeing failures in MusicStore.SPA project on CI where bower installation fails. For reference I'm copying the bower install logs in success vs failure case. I’m able to see a difference while the bower fails to install. On a working bower installation the command executed is cmd with npm install. Whereas on failing cases the program executed is node throwing this error.
Working bower install:
[09:29:09][restore-bower-components] 'bower' is not recognized as an internal or external command,
[09:29:09][restore-bower-components]    command not found (non-0 exit code)
[09:29:09][restore-bower-components] operable program or batch file.
[09:29:09][restore-bower-components] Testing for command: npm --version
[09:29:10][restore-bower-components] 1.4.14
[09:29:10][restore-bower-components]    command found (0 exit code)
[09:29:10][restore-bower-components] Exec
[09:29:10][restore-bower-components]   program: cmd
[09:29:10][restore-bower-components]   commandline: /C npm install --prefix C:\BuildAgent\work\6feb55fcd711693a\bin\nodejs bower
[09:29:10][restore-bower-components]   workingdir: C:\BuildAgent\work\6feb55fcd711693a
[09:29:30][restore-bower-components]<EMAIL_ADDRESS>bin\nodejs\node_modules\bower

Failing bower install:
[13:57:44][restore-bower-components] 'bower' is not recognized as an internal or external command,
[13:57:44][restore-bower-components] operable program or batch file.
[13:57:44][restore-bower-components]    command not found (non-0 exit code)
[13:57:44][restore-bower-components] Testing for command: node --version
[13:57:44][restore-bower-components] v0.10.29
[13:57:44][restore-bower-components]    command found (0 exit code)
[13:57:44][restore-bower-components] Exec
[13:57:44][restore-bower-components]   program: node
[13:57:44][restore-bower-components]   commandline: C:\BuildAgent\work\6feb55fcd711693a\bin\nodejs\node_modules\bower\bin\bower install
[13:57:44][restore-bower-components]   workingdir: C:\BuildAgent\work\6feb55fcd711693a\src\MusicStore.Spa
[13:57:44][restore-bower-components]
[13:57:44][restore-bower-components] module.js:340
[13:57:44][restore-bower-components]     throw err;
[13:57:44][restore-bower-components]           ^
[13:57:44][restore-bower-components] Error: Cannot find module 'C:\BuildAgent\work\6feb55fcd711693a\bin\nodejs\node_modules\bower\bin\bower'
[13:57:44][restore-bower-components]     at Function.Module._resolveFilename (module.js:338:15)
[13:57:44][restore-bower-components]     at Function.Module._load (module.js:280:25)
[13:57:44][restore-bower-components]     at Function.Module.runMain (module.js:497:10)
[13:57:44][restore-bower-components]     at startup (node.js:119:16)
[13:57:44][restore-bower-components]     at node.js:906:3
[13:57:44][restore-bower-components] Exit code 8 from node

@pranavkm @DamianEdwards

this issue has started showing up in the MVC repo as well.
the underlying problem appears to be the target directory for the bower installation doesn't exist.  example scenario in MVC repo:

install node globally (but don't run npm install --global --quiet bower)
clean repo (git clean -dfx -e .vs/)
.\build.cmd --quiet default
see errors in comments above

a small change in _npm.shade to create the target directory avoids this problem.  will send a PR shortly.

Doesn't seem to be an issue currently.


Use eager factory optimization only in production env (close #442)

As discussed in #442.

We don't care about propTypes check anymore since it's already no-op in prod env.
Notice few shallow → mount changes in tests – that's actually the confusion which I described in corresponding issue.

:v:

Codecov Report

Merging #473 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #473   +/-   ##
=======================================
  Coverage   88.86%   88.86%
=======================================
  Files          53       53
  Lines         386      386
=======================================
  Hits          343      343
  Misses         43       43

Impacted Files
Coverage Δ

...ose/isReferentiallyTransparentFunctionComponent.js
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

The title of this PR and the commit should be "Use eager factory optimization only in production env ".

@wuct oops, fixed.

Looks good to me, thanks!

Hmmm, actually I think we should move the env check out of isReferentiallyTransparentFunctionComponent(), otherwise there is an abstraction leak.

Agreed. So both to createEagerFactory and createEagerElement?

Hm, looks like createEagerElementUtil  is the right place.

Done.
I returned check for propTypes back because it's actually a part of abstraction, so this way it's not related to any env and concepts are divided. But optimization will not work even in production env if you have propTypes.
Options:

Remove check for propTypes from isReferentiallyTransparentFunctionComponent at all.
I'd like to work on something similar to babel-plugin-transform-react-remove-prop-types but for setPropTypes, I think it's a more proper way to achieve prod-only optimization.

WDYT?

IMO option 1 is preferred, having that it is fully compatible with previous behaviour.

Done.

isReferentiallyTransparentFunctionComponent returns true for functions that use propTypes

Thank you


Default translation in the markup

Hello,
I am looking for a way to do default translation in the markup itself. For example, below code
Close
will output i18n.label.Close
if the configured locale is not available, I would like to use the supplied value Close as default. It doesn't make sense to replace the current content with the translation id.
thanks.

@PascalPrecht, @knalli  - I have the following scenario. I have locale file available but if keys are not available in that locale, i would like to use default/fallback language values. Does angular translate support this scenario ?

@sureshvsvb  Please have a look at "fallback languages" http://angular-translate.github.io/docs/#/guide/08_fallback-languages


refine

What do these changes do?

Related issue number

Fixes

Codecov Report

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

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   87.78%
=========================================
  Files             ?       48
  Lines             ?     3161
  Branches          ?        0
=========================================
  Hits              ?     2775
  Misses            ?      386
  Partials          ?        0

Flag
Coverage Δ

#app_tests
87.78% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


feat: adding better logging on iOS build command when generate shorebird file is not found.

A few issues are reporting a similar error:
Exception: Cannot find shorebird.yaml

https://github.com/shorebirdtech/shorebird/issues/2206
https://github.com/shorebirdtech/shorebird/issues/1914
https://github.com/shorebirdtech/shorebird/issues/2212
https://github.com/shorebirdtech/shorebird/issues/2131

That log doesn't tell us much though. This PR doesn't solve that issue, but adds better logging when this is happens so we can try troubleshoot this better.

lgtm, do we need a test?

I would love to add a test for this, but unfortunately I still am not able to reproduce the issue. I am hopping that with this log, we might be able to get better information.

Example of output:
[   +1 ms] [shorebird] failed to generate shorebird configuration.
           Exception: Cannot find shorebird.yaml in /Users/erick/projects/shorebird/supports/gh_2212/dashes-are-fun/build/ios/archive/Super.xcarchive/Products/Applications/Super.Pato.app/Frameworks/App.framework/flutter_assets/shorebird.yaml.
           Resolved app name: Super.Pato.app

           Closest existing parent:
             PATH: /Users/erick/projects/shorebird/supports/gh_2212/dashes-are-fun/build/ios/archive
             CHILDREN: Super.Pato.xcarchive

           Please file an issue at: https://github.com/shorebirdtech/shorebird/issues/new
           ```


Enable advanced search query

Turned resolution into a property of advanced query object for Google search.
Thus you can now search for a specific image type, such as "photo".
This allows you to to exclude clipart, lineart, etc.

Thanks again!

Thank you for creating it and accepting the PR!


add emergency=disaster_response preset

recently approved https://wiki.openstreetmap.org/wiki/Tag:emergency=disaster_response with existing usage https://taginfo.openstreetmap.org/tags/emergency=disaster_response#overview
the two terms added are the abbreviations used in Australia and Germany, although not sure if we should omit these and instead rely on the translations to localise their naming :shrug:
https://github.com/osmlab/name-suggestion-index/pull/9221/ adds brand presets for Australia.

Thanks!


sometimes need to manual reload app, after first run

Please see https://github.com/Aluxian/Facebook-Messenger-Desktop/issues/458
Should be resolved


make use of max_number_of_devices on sign_in

Hi everybody,
The create_new_auth_token method in DeviseTokenAuth::Concerns::User actually maintains the maximum count of tokens per user according to the max_number_of_devices parameter.
But create method of DeviseTokenAuth::SessionsController does not use create_new_auth_token so a new token is added on each login.
Is this something that needs to be fixed?
Thanks, Hasan.

Hi there @Hasan-a-ayar    ,
In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if it's the right time or this was done in error!
If you are still having the issue (especially if it's a bug report) please refer to our new Issue Template to provide some more details to help us solve it.
Hope all is well.


Update czim/laravel-paperclip to ^4.0

And
http://<IP_ADDRESS>:8000/storage/App/Models/ProductVersionImage/000/000/001/image/original/meal.jpg
Seems to work just fine with the new Major release for Paperclip (I created the PR for the major release for PHP 8.1)

Related to https://github.com/daniel-de-wit/lighthouse-paperclip/issues/5

Thank you!


Add support of PostgreSQL types in PostgreSQL array

For example, there is a following DTO in PostgreSQL:
create table email
(
    account_id varchar(100),
    id varchar(100),
    recipients recipient[],
    subject varchar(100),
    content varchar(100)
);
create type recipient as
(
    email text,
    name  text
);

There is an option to use PostgreSQL array:
https://vladmihalcea.com/postgresql-array-java-list/
But there is no option to use in PostgreSQL array custom types.
With Regards

I've never used custom PostgreSQL Types. If you figure out how to do it, send me a Pull Request, and I'll review it when I have some time.

I am not so good at Hibernate to make PR to fix it.
But using plain SQL it works in a following way:
INSERT INTO public.email (account_id, id, recipients, subject, content) VALUES ('qwerty', 'aa12345', '{(frank@example.com,"frank"),(john@example.com,"john")}', 'mysubject', 'mycontent');

That's a good start. Now, you need to check out how to fo that with a JDBC PreparedStatement and send that with a bind parameter value.

This would be much easier if pgjdbc had support for structs. Unfortunately they abandoned the idea for probably the same reasons this should not be implemented as part of hibernate-types: https://github.com/pgjdbc/pgjdbc/issues/381.


unable to control deconz group switch

Issue
In an attempt to simplify my homekit setup, I am exposing groups of lights from deconz to homekit, and blacklisting the individual lights. The groups show up in home kit as expected, but I can't turn on/off the group. After a restart of homebridge (with the lights turned on), the light icon in the home app shows as on. If I tap it, it goes to off, but nothing happens to the lights. If I tap it again, the icon shows as on, the lights slowly flash a few times, and the icon goes back to off again. I have a number of groups defined like this, same behavior.
If I set the brightness of the group by long pressing the icon, the group responds accordingly. But once the new brightness has been set, the switch goes to off again.
Debug Files
homebridge.log.gz
homebridge-hue.json.gz

I cannot find any debug logging of the interaction with the groups.  Did you turn on debugging with homebridge -D after interacting with the exposed groups?
Without the debug log of the interaction, I can only guess what's happening.  Could you un-blacklist the lights of one group (so I can also see what happens with the lights) and then flip that group's switch a couple of times (while running homebridge -D) and post the log?

If I set the brightness of the group by long pressing the icon, the group responds accordingly. But once the new brightness has been set, the switch goes to off again.

That would suggest a hiccup in the communication between the deCONZ gateway and one of the lights in the group.  You have a lot of IKEA lights, so I wouldn't be surprised if this were the case.
Some other observations from the log:
[2018-3-17 08:54:46] [Hue] deconz: /sensors/23: warning: unknown ZHAPresence sensor {"config":{"battery":100,"duration":60,"on":true,"reachable":false,"temperature":2800},"ep":1,"etag":"42a51aebfc4f7504c74b92bce346fb4d","manufacturername":"LUMI","modelid":"lumi.sensor_wleak.aq1","name":"lumi.sensor_wleak.aq1","state":{"lastupdated":"2018-03-16T20:23:44","lowbattery":false,"presence":false,"tampered":false},"type":"ZHAPresence","uniqueid":"00:15:8d:00:02:13:05:63-01-0500"}

You might want to delete and re-pair the leak sensor, so it appears as a ZHAWater sensor.  homebridge-hue will then expose it properly.
[2018-3-17 08:54:47] [Hue] deconz: /sensors/28: Daylight "Daylight"
[2018-3-17 08:54:47] [Hue] deconz: /sensors/28: warning: Daylight sensor not configured
...
HAP Warning: Characteristic 00000027-0000-1000-8000-656261617577 not in required or optional characteristics for service 00000084-0000-1000-8000-0026BB765291. Adding anyway.

deCONZ should configure the Daylight sensor automatically, but this can take some time (hours?).  The HAP Warning is caused by homebridge-hue not handling the unconfigured Daylight sensor correctly.  It can be ignored.  I'll get rid of this warning in the next version of homebridge-hue.

Thanks for the elaborate answer! I didn't get a notification for some reason, hence my slowish response.
I removed the 'Eethoek' lights from the blacklist, and had a look at the logs (homebridge is running in -D mode). Here's the only thing I can see when I flip the switch on the group:
Mar 18 09:16:06 raspy3 homebridge[12091]: [2018-3-18 09:16:06] [Hue] deconz: gateway request 27: put /groups/37/action {"alert":"select"}
Mar 18 09:16:06 raspy3 homebridge[12091]: [2018-3-18 09:16:06] [Hue] deconz: gateway request 27: ok
All group lights turn on shortly, seem to flash slightly, then turn off again. Just did a quick look at the deconz rest api docs, and that seems to be the correct behavior. Question is, why does it only send the select alert action to the group?
If I turn on an individual light, it looks like this, and the light turns on as expected:
Mar 18 09:21:14 raspy3 homebridge[12091]: [2018-3-18 09:21:14] [Hue] Eethoek - Spot 1: homekit on changed from 0 to 1
Mar 18 09:21:14 raspy3 homebridge[12091]: [2018-3-18 09:21:14] [Hue] deconz: gateway request 70: put /lights/48/state {"on":true}
Mar 18 09:21:14 raspy3 homebridge[12091]: [2018-3-18 09:21:14] [Hue] deconz: gateway request 70: ok
Mar 18 09:21:14 raspy3 homebridge[12091]: [2018-3-18 09:21:14] [Hue] Eethoek - Spot 1: state changed event
Mar 18 09:21:14 raspy3 homebridge[12091]: [2018-3-18 09:21:14] [Hue] Eethoek: state changed event
Mar 18 09:21:14 raspy3 homebridge[12091]: [2018-3-18 09:21:14] [Hue] Eethoek: group any_on changed from false to true
Mar 18 09:21:14 raspy3 homebridge[12091]: [2018-3-18 09:21:14] [Hue] Eethoek: set homekit any on from 0 to 1

That’s a bug in homebridge-hue allright, probably introduced while adding support for the Heiman Siren.  homebridge-hue should put {“on”: true}.

That seems to be the case. Commented out line 968-970 from HueLight.js and the groups behave as expected.

The issue is that this.config.on wasn't set for groups.  Neither were this.config.bri, etc.  Because of this, the HomeKit characteristics for the group weren't updated when the group was changed from another Hue app.  Also found that /groups/0 would always be exposed.

I found the same problem here using the hue bridge, nit deCONZ. All group-Commands will produce "funny" light effects and don't work.

Yeah, it's a bug in homebridge-hue, irrespective of whether it connects to deCONZ or to a Hue bridge.  Will be fixed in next version due later today.

Released v0.8.7.


Hanna

Started working on the responsiveness of the profile page. Would love to hear feedback and discuss resolving the conflicts with others' modifications

Looks a lot better! I think we should finish making the profile image responsive before we merge. We should also take care of aligning all the boxes.

I'm working on the profile image right now, as well as the general margins between the cards. Trying to make sure that everything looks fine on wider screens as well.


[A11y] Better accessibility: checkboxes, buttons & links, visible/invisible content toggles

Closes #95.
Closes #96.
Closes #97.
Closes #98.
Closes #69.

@joachimesque this is unbelievable, can't believe how thorough this is! Really wonderful attention to detail, and this is just overall so much nicer to use the site now. 💜💜💜💜💜

Is this ready to ship @joachimesque ?

Thanks ! Yes it's ready to ship, today I learned the existence of useRef, that should explain the late fix to reverse my initial change from a functional component to a Class :)

Amazing work - let's get this live!


Simpler ssync with log fixes

@yasker

Need to fix golint.
At least you can ignore the error from fiemap.go, like what did here: https://github.com/rancher/sparse-tools/blob/master/scripts/validate#L14

Also, put log improvement in a separate PR and we can merge it first.


Update examples doc

Description
adding examples for train spacy NER and similarity entity linking.
Checklist
Addressing some of https://github.com/wellcometrust/WellcomeML/issues/79

Codecov Report

Merging #124 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #124   +/-   ##
=======================================
  Coverage   76.73%   76.73%
=======================================
  Files          38       38
  Lines        1655     1655
=======================================
  Hits         1270     1270
  Misses        385      385

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 2afcd74...0115de9. Read the comment docs.

You might have to re-generate the docs, as per in the README.md (2.2) - ignore me if you have done this already:
2.2 Contributing to the docs
Make changes to the .rst files in /docs (please do not change the ones starting by wellcomeml as those are generated automatically)
Navigate to the root repository and run
make update-docs

@aCampello make update-docs did more than I expected! does it look correct? (I personally only made changes to examples.rst)

Yes, it picks up the new classes/methods we developed as well.
Then you can just verify that _build/html/index.html has generated correctly and looks OK.


Bug: Not showing the orders on my profile page once I finish the payment And remove extra 404 on favorites

User story
Who: As a developer
What: I want to be show the orders on my profile page and remove extra 404 on favorites page
Why: so that user can view his orders not test user orders and clean response on favorites page
Acceptance criteria
User should see his orders on profile Page .. If he does not have ... it shows no orders available
Favorites page has to show only "message" not 404page
Implementation details
Fetch user orders
Display in purchases component
remove 404 component on favorites page

Please split this into 2 issues.


Provide access to cloudbees_security_members for security help

Description

@Wadeck @daniel-beck as declared maintainers for all of these.
Plugins:

[ ] https://github.com/jenkinsci/bouncycastle-api-plugin
[ ] https://github.com/jenkinsci/credentials-binding-plugin
[ ] https://github.com/jenkinsci/credentials-plugin
[ ] https://github.com/jenkinsci/matrix-auth-plugin
[ ] https://github.com/jenkinsci/pam-auth-plugin
[ ] https://github.com/jenkinsci/plain-credentials-plugin
[ ] https://github.com/jenkinsci/secure-requester-whitelist-plugin
[ ] https://github.com/jenkinsci/ssh-credentials-plugin

Submitter checklist for adding or changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[ ] Make sure the file is created in permissions/ directory
[ ] artifactId (pom.xml) is used for name (permissions YAML file).
[ ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[ ] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[ ] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[ ] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[ ] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[ ] All newly added users have logged in to Artifactory at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[x] If security contacts are changed (this includes add/remove), ping the security officer (currently @daniel-beck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

I would still like to return to this at some point, but for now, given its staleness, it's just cleaner to close.


Extended 'spo app deploy' to support specifying  app using its name #404

Extended 'spo app deploy' to support specifying  app using its name #404

Coverage remained the same at 100.0% when pulling c6d613096fb7cecc5c390d94e8d5677e283efaa6 on waldekmastykarz:ext-spo-app-deploy into 86d58ab45a84f911a3ccd528a0a5a0cd7b6406f4 on SharePoint:dev.


MINOR: Remove some unused code

More detailed description of your change
Remove 2 classes no longer used.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Hello @showuon  , PTAL, Thanks.

@dengziming , could you rebase to the latest trunk to trigger the jenkins build again? Thanks.

@dengziming , could you rebase to the latest trunk to trigger the jenkins build again? Thanks.
Done!

The latest jenkins build has no failed tests.
https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-11935/6/


Uncaught TypeError: Cannot read property 'top' of undefined

[Enter steps to reproduce below:]

...
...

Atom Version: 0.175.0
System: Mac OS X 10.10.2
Thrown From: minimap package, v3.3.4
Stack Trace
Uncaught TypeError: Cannot read property 'top' of undefined
At /Users/Shekhar/.atom/packages/minimap/lib/minimap-view.coffee:353

TypeError: Cannot read property 'top' of undefined
  at MinimapView.module.exports.MinimapView.updateScrollY (/Users/Shekhar/.atom/packages/minimap/lib/minimap-view.coffee:353:64)
  at MinimapView.updateScrollY (/Users/Shekhar/.atom/packages/minimap/lib/minimap-view.coffee:1:1)
  at MinimapView.module.exports.MinimapView.updateScroll (/Users/Shekhar/.atom/packages/minimap/lib/minimap-view.coffee:368:6)
  at MinimapView.updateScroll (/Users/Shekhar/.atom/packages/minimap/lib/minimap-view.coffee:1:1)
  at /Users/Shekhar/.atom/packages/minimap/lib/minimap-view.coffee:268:8

Commands

Config
{
  "core": {
    "themes": [
      "seti-ui",
      "seti-syntax"
    ]
  }
}

Installed Packages
# User
No installed packages

# Dev
No dev packages

/cc @atom/core

Same as #254


Switched to org.immutables for the POJOs

Not really important but I like the simplicity of org.immutables :-)

Can you please have a look ? @BarDweller

I can't help but wonder what these would look like using Java Records instead, they are also immutable, and require minimal declarative syntax, although they would mean a minimum jvm level that supports them.

I can't help

Why do you say that ? @BarDweller

I can't help

Why do you say that ? @BarDweller

I said 'I can't help but wonder' not 'I can't help' .. very different meanings =)
And my thinking here is that if we're moving from one way of defining an immutable used as a read-only pojo, to another way of doing the same with a different library, that it would be interesting to see how the new Java built in way of doing that compares.
This mostly comes off the back of experimenting with records as data objects during advent of code, where they really went up in my estimation of how useful they are. But those usages were less real world, and that's what makes me think when looking at this changeset, about how it might look if it used records. Immediate thought go to the construction pattern.. records don't use a builder style pattern, but I suspect that could be emulated.. but I think there's probably a balance point where the more you try to do that, the more boilerplate you end up adding back to something you were trying to avoid being verbose.
I think my longterm view here is that having used Records, and read some amazing code that used them too, I suspect that may become the direction for future immutable pojo type usage in Java.. I mean, you don't need lombok anymore if you just want an easily defined compound map key, a Record does it, and does it without a dependency being added to a project.
Anyways, that's what was running through my head as I read the changes =)

@BarDweller I definitely agree with you on the records, and that was actually what I started out with, but I ran into problems where some of the tooling didn't support it yet, so I decided to keep the changes as minimal as possible.
But if we can get it to work and if we can be sure that having Java 14 as a minimum version is acceptable then I would be all for using records. If not then I think this is a good alternative (until the moment we can safely switch to Java 14+)

PS: Actually Java 16, I thought it was 14 but records were only a preview feature back then.

but I ran into problems where some of the tooling didn't support it yet

Just checked again and it was basically because there wasn't an official UBI container image yet for Java 16+ at that time, but there's a Java 17 image now so let me try again and see if we can get records to work :-)

Another issue back then was that the builder library sundrio didn't work with records either, but that was implemented in the meantime: https://github.com/sundrio/sundrio/issues/259
So I created a different PR using records: #10


[Bundle] Adds anchor tags for headings and bullets

Signed-off-by: Rob Dolin<EMAIL_ADDRESS>

See related PR #614

@opencontainers/runtime-spec-maintainers Per discussion on today's OCI Dev ConCall, please merge this PR.  Thanks.

LGTM

LGTM


IL071 MOD - T First

I've been trying to display temperature as the main tile instead of motion, to no avail. I found 2-3 discussions but not solutions.
Jimmy - Do you think you can modify the handler to display T first, as the primary?

I haven't messed with the new CLI for modifying the display in the new app at all :( Unfortunately it's not as easy for the new app as it was for Classic.

I haven't messed with the new CLI for modifying the display in the new app at all :( Unfortunately it's not as easy for the new app as it was for Classic.

Yeah, I miss the classic. The thing is, smarttiles can do it without any code changes. I feel like there's an easy but well hidden solution, maybe a new groovy function or something.
It's an issue with a bunch of other multi capability sensors, not limited to iris.
Anyhow, it was worth a shot. Thanks for the response.
PS: For others who may be reading this, I was able to achieve the same functionality by creating a simulated zigbee temperature sensor, pulling the data from the sensor. But, it cannot be used for much else. I have never been able to create a reliable 2 way communication thru a simulated sensor.

Yeah, I miss the classic. The thing is, smarttiles can do it without any code changes. I feel like there's an easy but well hidden solution, maybe a new groovy function or something.
It's an issue with a bunch of other multi capability sensors, not limited to iris.
Anyhow, it was worth a shot. Thanks for the response.
PS: For others who may be reading this, I was able to achieve the same functionality by creating a simulated zigbee temperature sensor, pulling the data from the sensor. But, it cannot be used for much else. I have never been able to create a reliable 2 way communication thru a simulated sensor.


feature: save format

rather than having to parse a date before save, a save format would be a very nice attribute to have.
datepicker-saveFormat="MM/dd/yyyy" would actually bind that format of the date to the model.

Something like this would be a step in the right direction - currently the datepicker needs to be untangled from its hard dependency on the Date constructor.

Thinking about this, we would rather this option be on the user's side, as adding an extra configuration value and $watcher adds more complexity and performance pressure on the datepicker. We also would have a difficult time predicting use cases for the dates.
Closing as won't support.


Can we retrieve links from a site like O365 SharePoint sites that require authentification?

Thank you for a great tool.
I can retrieve links from non-authentification sites,
but I cannot retrieve links from O365 SharePoint sites that require authentification.
Is there any way to retrieve links from sites that require authentification?
Environment:

OS and version: Windows 10
broken-link-checker version:12.13.0 LTS

Best Regards,
Tak

Input : blc https:....com -ro
Output :Getting links from: https:....com
Error: HTML could not be retrieved

Have you ever found a tool to check O365 Links?  Im still looking for one too.


Go where I tell you to go!

I enter a location in the config, but the bot jumps to the last location. I turned it off for hours, so making the jump should be no issue, but now it starts up right where it left off. WTF.  And, its not even heading in the right direction.


allow rewriting target prefix

This change allows applications to that bind their HTTP endpoints normally to /index for example, but it can be served with a reverse proxy under /myapp/index, with /myapp being trimmed by the oauth2_proxy.
This is particularly useful when applications behind the ingress point talk to the upstream application, and the internal applications therefore don't need to prefix their communication.
Reverse proxies often allow more generic rewriting, which we could enable here as well, but I imagined this to be one of the most common use cases, and if necessary this is open to be extended in the future.

/cc @jehiah

/cc @hlhendy @talam


merge branch S2X to develop

Append package net.sansa_stack.query.spark.graph to SANSA_Query develop branch

Add resources and append unit tests for graph queries.


[FEATURE REQUEST] Force recursion when directory listing is detected

Is your feature request related to a problem? Please describe.
As far as I can tell, there is no way to bruteforce under a certain path when a Directory Listing has been detected for that path. This is problematic because a reverse proxy could very well route a path to a backend server that does directory listing, but route another path under that path to a completely different backend that does something else. Feroxbuster will never find that route.
For example, I'm looking at a server right now that returns an empty directory listing for /. As a result feroxbuster will just stop there and don't do any bruteforcing at all, even when --force-recursion is set. There could be an /api route for example leading to a different backend, but feroxbuster would never find it.
Describe the solution you'd like
There should be a way to either disable detection of directory listings, or still allow normal bruteforcing when a directory listing has been detected. I feel like this is what --force-recursion should do, but maybe another flag could be added.

Howdy!
It sounds like you have --extract-links or --smart or --thorough turned on. If you remove those flags (most specifically --extract-links), things should behave the way you're describing.

I don't have any other flags, just -w and -u. Using feroxbuster 2.9.1.

any chance it's a public target that i can take a look at?
If not, can you show me the response for the directory in burp or similar (can redact host etc)

it sounds like it's just simply not meeting criteria for recursion. in which case --force-recursion should work, but seeing the response would be helpful

also, to rule it out, you don't have a ferox-config.toml lying around (silently setting options), right?

I don't have any options set through config files.
I can't share this particular target, but the problem can be seen on any server with directory listing. For example, this empty directory on mirrors.edge.kernel.org:
echo -e 'aaa\nbbb' | feroxbuster --force-recursion -w /dev/stdin -u 'http://mirrors.edge.kernel.org/alpine/latest-stable/releases/x86_64/netboot/dtbs-lts'

pushed a fix to main; if you want to try it out, just make sure to build with --release.
i tested it briefly, but may have missed something somewhere. will put a few checks in place before pushing a new release, but it should work for you as-is right now

--force-recursion wasn't overriding the directory listing test; nice catch!

@all-contributors add @acut3 for bugs


Could not find com.crashlytics.sdk.android:crashlytics:2.5.5@aar

The build failed and this is what the error shows. Anyone know how to solve this?

Can you post a screenshot or a more detailed error message, hard to tell what the issue is

Put these lines above the dependencies block:
repositories {
    maven { url 'https://maven.fabric.io/public' }
}

Added that above dependencies and it worked and allowed me to compile but now I am getting this error on startup:
Must Initialize fabric before using singleton()
I have tried to follow some answers but they are not directly related to react-native.
http://stackoverflow.com/questions/26535438/how-to-initialize-crashlytics-in-fabric-io

Did you end up getting this working? Going to close this as its a Fabric setup issue, can reopen if necessary

Nope, adding above allowed me to compile build but running js code through error above. For android I am just not using fabric atm :(

@labithiotis Check out the code that @bastiRe posted on the bottom of #20, you seem to be missing a bunch of the Fabric installation steps. Did you go through installing Fabric with the Android Studio plugin?

Did not work for me, when I went to copy/paste that maven snippet above the dependency block, i noticed that the maven snippet above was already pre-existing in my code, so no need to paste was necessary, which means this issue still exists even with that maven snippet.

To anyone dealing with this error, this comment might be really helpful: https://github.com/corymsmith/react-native-fabric/issues/10#issuecomment-249282998!

@rkostrab please tell me where i should add this,
repositories {
maven { url 'https://maven.fabric.io/public' }
}
I tried some build.gradle,still has the error. I really don't know where.could tell me in more detail,thanks!

@sunny635533  You should add this to android/app/build.gradle. I was getting the same error and this fixed it.
apply plugin: 'io.fabric'
repositories {
maven { url 'https://maven.fabric.io/public' }
}
and compile project(':react-native-fabric') in dependencies.

@macashok81 thanks. you are right!

hey guys,
I get Plugin with id 'io.fabric' not found.
Any idea why ?

i

hey guys,
I get Plugin with id 'io.fabric' not found.
Any idea why ?

same for me


IObit.Unlocker version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.1 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hello, the scan says "Error information: BlockingDetectionFound". From what I understood from the article, the scan thinks it is a virus. The article also says: "Microsoft will first attempt to verify that the flagged software is not a false positive with the antivirus vendors". Do I have to do anything to make this happen? Thank you in advance for your answer. NiniKo.

@wingetbot run

@wingetbot run

It doesn't change anything. Should I consider that this program is detected as a virus and will never be accepted?

@wingetbot run

@ItzLevvie
I don't need a recheck, I need an answer:  Should I consider that this program is detected as a virus and will never be accepted?
Sorry if I sound annoyed but that's not my intention I just want to know if we should close this PR.
And thank you very much for your work.

Should I consider that this program is detected as a virus and will never be accepted?

Yes because it's flagged as either a malware or a PUA by anti-virus software.

I close the PR. See #56584 (comment) for more explanations.

@wingetbot run


Design More Options for Audio with Jukebox and Soundboard

Right now, all sound effects and music are managed with the AudioController.  AudioController works in the following way:
AudioController Assumptions

Music - Only one music track plays at a time.  It either plays once, or loops forever (depending on the loop bool that was set at load time).  Starting a different music track would stop the currently playing one suddenly.  (Starting the currently running one if it is already playing will do nothing).
Sound Effects - Different sound effects can be played at the same time, but the same sound effect will only have one instance playing at a time.  If an instance of a sound effect is called multiple times very quickly, then the sound effect will repeat at minimum after a 0.1 second delay, "interrupting" the previous play of the sound effect until all calls have been played.

(note: currently, music and sound effects cannot be stopped through this interface. Issue here)
Problem
The above are good defaults for quick game making, but there are cases where more elaborate preferences are desired.  Consider the following features:

Playing atmospheric ambiences behind music (note: can be done as a looped sound effect)
Music track layering, or atmospheric layering
Crossfading in and out layers
Crossfading out music
Being notified when a music track has finished playing (e.g. ALLEGRO_FLARE_EVENT_MUSIC_TRACK_HAS_STOPPED)
Sync layers to specific time points or audio time markers
Positioned audio sources in 2d or 3d space
Environment filters to sound effects
Starting a "sound effect repeat stream" (for example, when tallying a high score but it needs to stop once the tallying has completed).
Configurable sound effect repeat rate
Variable sound effect speed playback
One "sound effect" plays randomly from a set of n sound effects, not repeating the previously played sound effect, or n-previously played sound effects.
"pausing" music (opening another window) but then resuming it from the same point when returning
lowering current music volume (for example during pause)

Proposed Solution
Basic idea is to create new Jukebox And Soundboard classes, each could be used to handle these more elaborate scenarios. AudioController would remain the same.

Additional ideas listed in https://github.com/allegroflare/allegro_flare/issues/228


⚠ Samsung has degraded performance

In 72563a6, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 6680 ms

Resolved: Samsung performance has improved in 2c4cd61.


chore: Update readmes

Reworks the readmes in the gapic-generator, gapic-generator-cloud, and gapic-generator-ads directories, so that:

They are up to date for current usage
They no longer reference rakefiles or other tools that are no longer present
They make sense for the gem releases

Closes #1033.

I guess we may have to update README in the shared folder too. https://github.com/googleapis/gapic-generator-ruby/blob/main/shared/README.md


oEmbed: Add support of Tumblr

Tumblr allows to embed posts using oEmbed standard. See Tumblr API.

Updated. @BertrandBordage thanks for the code review

Merged in 5f651299df80db441e14be1c122e8e963fd00cd1


Profile location > country

A user profile MUST have a location > country (mandatory).
It must also work and be usable by the MC fields to fill up the country value. (user account > profile > location > country. It already works for first&last name).
Reminder, on LP, users accounts have:

a link to MC Users list (status field seems borken)
a link to MC LP Newsletter list
a profile with a Location > country, first/last name (for MC)
a mail, username or hybridauth account linked, password

all good now


Licensing of this application

Hey guys,
Awesome work you did with this, but would you please add a license to it? I plan to evaluate your software implementation to a problem I currently have and, if the group decide to adopt it, the license will be important.

Hi duca! We will add MIT license to it.

thank you


[SPARK-27922][SQL][PYTHON] Convert and port 'natural-join.sql' into U…

…DF test base
What changes were proposed in this pull request?
This PR adds some tests converted from natural-join.sql to test UDFs following the combination guide in  SPARK-27921.
Diff results comparing to `natural-join.sql`

diff --git a/sql/core/src/test/resources/sql-tests/results/udf/udf-natural-join.sql.out b/sql/core/src/test/resources/sql-tests/results/udf/udf-natural-join.
sql.out
index 43f2f9a..53ef177 100644
--- a/sql/core/src/test/resources/sql-tests/results/udf/udf-natural-join.sql.out
+++ b/sql/core/src/test/resources/sql-tests/results/udf/udf-natural-join.sql.out
@@ -27,7 +27,7 @@ struct<>

 -- !query 2
-SELECT * FROM nt1 natural join nt2 where k = "one"
+SELECT * FROM nt1 natural join nt2 where udf(k) = "one"
 -- !query 2 schema
 struct<k:string,v1:int,v2:int>
 -- !query 2 output
@@ -36,7 +36,7 @@ one   1       5

 -- !query 3
-SELECT * FROM nt1 natural left join nt2 order by v1, v2
+SELECT * FROM nt1 natural left join nt2 where k <> udf("") order by v1, v2
 -- !query 3 schema
diff --git a/sql/core/src/test/resources/sql-tests/results/udf/udf-natural-join.sql.out b/sql/core/src/test/resources/sql-tests/results/udf/udf-natural-join.
sql.out
index 43f2f9a..53ef177 100644
--- a/sql/core/src/test/resources/sql-tests/results/udf/udf-natural-join.sql.out
+++ b/sql/core/src/test/resources/sql-tests/results/udf/udf-natural-join.sql.out
@@ -27,7 +27,7 @@ struct<>

 -- !query 2
-SELECT * FROM nt1 natural join nt2 where k = "one"
+SELECT * FROM nt1 natural join nt2 where udf(k) = "one"
 -- !query 2 schema
 struct<k:string,v1:int,v2:int>
 -- !query 2 output
@@ -36,7 +36,7 @@ one   1       5

 -- !query 3
-SELECT * FROM nt1 natural left join nt2 order by v1, v2
+SELECT * FROM nt1 natural left join nt2 where k <> udf("") order by v1, v2
 -- !query 3 schema
 struct<k:string,v1:int,v2:int>

How was this patch tested?
Tested as guided in SPARK-27921.

Can one of the admins verify this patch?

@ HyukjinKwon please help review

ok to test

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Test build #107420 has started for PR 25088 at commit a20eff0.

Test build #107420 has finished for PR 25088 at commit a20eff0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/107420/
Test PASSed.

Merged to master.


Question when PDFViewerApplication.eventBus becomes available?

Is there a way to find out when the eventBus object is available in the viewer?
I would like to listen to any of these events using my own callback function.
Or does PDF.JS throw some event when the eventBus object is available?

You should be able to listen for the webviewerloaded event, which is emitted when all viewer files are loaded (see https://github.com/mozilla/pdf.js/blob/c91f437eaaff79b660805e020f4fa9d4a2a7fe65/web/viewer.js#L208-L213). Alternatively, there is the documentinit/documentload event.

Alternatively, there is the documentinit/documentload event.

In case the loading/initialization of the viewer itself, rather than a PDF document, is what matters here then the localized event is probably what you want; see https://github.com/mozilla/pdf.js/blob/de56518799b869d1cb4d313c7628a8aa956966f8/web/app.js#L168-L170

there does not seem to be any webviewerloaded in the stable version v2.0.943.
also, localized is incorrect because i am interested in getting the eventBus object. if it is not available, i cannot listen to it.
i tried document.addEventListener('localized') and the PDFViewerApplication.eventBus object is undefined.

i also have the same problem - i want to set custom listener at pagesloaded event, but i can do that only after eventBus will be not null. And there is the bad way to check eventBus by setTimeout (and then you may lost your pagesloaded event ) . Is there is some way to get a moment when eventBus will be available to work with me?


How to get Stream Key to start a live?

Issue Template Requirements
Issue must be of the specified template and follow these requirements or it will be ignored.

Please do not post screenshots of code output
Wrap code in a codeblock
exhibiting spam behavior or "evil" behavior will have the issue ignored
Please make sure your issue hasn't been asked before
Please complete the checklist below (mark boxes [ ] with [x])

Pre-Checklist
I made sure...

[x] I read the README.md
[x] I looked over the examples and wiki
[x] my issue hasn't been asked or solved before

Question
Hello. Thanks for great work. How can I get Stream Key to start a live ?

See this request from a sample app using instagram4j to start a livestream from CLI:
https://github.com/instagram4j/i4jlive/blob/daccf826c6a5beb7d11afe8703a383bbfe17ae3c/src/main/java/i4jlive/LiveBroadcastProcess.java#L18


[Task]: Implement opening and closing transmission key

What needs to be done?
No response
Who is responsible?
No response
Due date (optional)
No response
Additional notes
Implement opening and closing transmission key

Implemented opening and closing tone


System State Backup

I would mention in the Manageability Section that it is recommended to use Azure MARS Backups installed within each Domain Controller to back up System State.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 65f26361-0def-4ae9-e28a-8a8d4f97b87f
Version Independent ID: ef55eb02-6543-88ad-4f89-5a553848bc67
Content: Extend your on-premises Active Directory domain to Azure - Azure Reference Architectures
Content Source: docs/reference-architectures/identity/adds-extend-domain.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @telmosampaio
Microsoft Alias: pnp

@eshudnow Thank you for your feedback! We will review and provide an update as appropriate.

@eshudnow I believe Azure MARS Backup would indeed be the ideal candidate but will leave it to the content author to review and update this information.

We've got a pretty comprehensive update being worked on here and I've included this note in our backlog. Going to close for now but you should see some updates pretty soon!


saveData and getData don't work

i'm following the example and the saveData and getData don't work .
can i get help ㅠㅠ

Confirm it's not working +++

For me it is working the first time. But then i do a stopForegroundService() and a restartForegroundService() and it does not work anymore after that.

For me it is working the first time. But then i do a stopForegroundService() and a restartForegroundService() and it does not work anymore after that.

I use this way to walk around the problem:

call stopService() first.
delay a little while.(I don't like this way, but it is needed.)
saveData and startService(not restart service).

if (await FlutterForegroundTask.isRunningService) {
      await FlutterForegroundTask.stopService();
      await Future.delayed(Duration(milliseconds: 100));
    }
..........
await FlutterForegroundTask.saveData(
        key: 'json', value: json.encode(data.toJson()));

bool reqResult = await FlutterForegroundTask.startService(
      notificationTitle: '${data.name}',
      notificationText: '${formatSeconds(data.value)}',
      callback: startCallback,
    );

For me it is working the first time. But then i do a stopForegroundService() and a restartForegroundService() and it does not work anymore after that.

I use this way to walk around the problem:
1. call stopService() first.

2. delay a little while.(I don't like this way, but it is needed.)

3. saveData and startService(not restart service).

if (await FlutterForegroundTask.isRunningService) {
      await FlutterForegroundTask.stopService();
      await Future.delayed(Duration(milliseconds: 100));
    }
..........
await FlutterForegroundTask.saveData(
        key: 'json', value: json.encode(data.toJson()));

bool reqResult = await FlutterForegroundTask.startService(
      notificationTitle: '${data.name}',
      notificationText: '${formatSeconds(data.value)}',
      callback: startCallback,
    );

Thanks for the tips ! :)


Modal title style override not working

What package has an issue
@svelteuidev/core
A clear and concise description of what the bug is
The style API override is not working correctly for Modal (for title and other non-root classes). It might not be working correctly for other components, it's important to check.
In which browser(s) did the problem occur?
Firefox
Steps To Reproduce
Go to https://stackblitz.com/edit/vitejs-vite-e1k378?file=src%2FApp.svelte
Check that the color red is not being applied to the style.
Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Relevant Assets
No response

This will probably not be solved for now since we are exploring another CSS in JS solution


Blender package for OSX

[ ] No OSX package for Blender in 0install
[ ] Watch for new versions of Blender and automatically update 0install feed

https://github.com/0install/apps/issues/40


Add slide to BioBlend/API tutorial about FastAPI

This adds a new slide to the Scripting Galaxy using the API and BioBlend tutorial with a bit of information about the Galaxy API modernization using FastAPI.
Ping @nsoranzo for review :)

Sorry wrong repo targeted 😅


Mouse wheel scrolls pages (not lines) after  click

Steps to reproduce

Run vim --clean
:set mouse=a
Open a file.
Click somewhere in the text while pressing Ctrl key.
Scroll using mouse wheel (Ctrl and other keys are not pressed).
The file is scrolled by pages.

Expected behaviour
Scrolling using mouse wheel should be done by lines when no Ctrl/Shift keys are pressed.
Version of Vim
Vim 8.2 Included patches: 1-3995
Vim 9.0 Included patches: 1-135
Environment
OS: Ubuntu 22.04.1
Terminal: GNOME Terminal 3.44.0 / Kitty
TERM=xterm-256color
Shell: bash
Logs and stack traces
Checked for Vim 8.2:

the issue doesn't appear in gvim.
the issue is observed also when <C-LeftMouse> is mapped to some custom command.

That was amazingly fast! Thank you!


WHY

well... why the limited regional availability? Why so many chat applications int he Office 365 world?

Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2033900c-d18a-cdd3-313c-7efed2ceb4ec
Version Independent ID: 87b1f4a4-abb8-f3f6-241e-ca8b9b3d5015
Content: Kaizala regional availability
Content Source: Office365-Kaizala/regional-availability.md
Service: kaizala
GitHub Login: @chuckedmonson
Microsoft Alias: chucked

@nplima Thank you for this feedback.
I am not sure how to answers these questions but Support will be able to answer them.
I think the best way forward is if you can open a service ticket in your tenant so this can get resolved ASAP. Based on outcome let me know if it is something that can be called out in the docs.
Here is a quick video on opening a ticket: https://www.youtube.com/watch?v=puuOy0sEg1Y
If you don't mind please keep us posted here on the resolution and I really want to get this information you are discovering back into the docs.


add team member

final checks for genensis

Codecov Report

Merging #267 (046d04c) into main (8542e52) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #267      +/-   ##
==========================================
- Coverage   83.46%   83.45%   -0.02%
==========================================
  Files          69       69
  Lines        7397     7398       +1
==========================================
  Hits         6174     6174
- Misses       1223     1224       +1

Impacted Files
Coverage Δ

node/src/chain_spec.rs
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


CallSuperProcessor throws NPE when overriding method is declared abstract

Calling getBody() on abstract method returns null.
I would fix it myself, but there is a decision to make. When there is an abstract method in chain of overriding methods, the upper half the chain is not accessible from bottom. So @CallSuper makes sense for all overriding methods until you hit abstract one. Maybe I would simply issue a warning for any overriding method below the abstract method, or you may want to handle it as compilation error.
If you handle it as compilation error, then @OverrideCallSuper on the abstract method would be good way to suppress the error.
class A {
    void doSomething() {
    }
}

abstract class B extends A {
    @Override
    abstract void doSomething();
}

class C extends B {
    @Override
    void doSomething() {
        super.doSomething(); // you cant call abstract methods
    }
}

I think this should be treated as compile error, after all purpose of this annotation is to ensure that super methods gets called and this is kinda tricky way to ignore it. I agree, @OverrideCallSuper could be used to suppress it.
Would you like to send PR for this, #7 and #5? If you want I can add you to collaborates and give you push access here because I don't have time to actively maintain this project.


Subtitles show up twice for SRT text tracks

Current Behavior:
I added a srt file url as a text track on the demo webpage. The srt is available here: https://media-uploads-tessact.s3.amazonaws.com/subtitles/55af846d-6211-447d-8222-a5ac09b08975/english/55af846d-6211-447d-8222-a5ac09b08975_english.srt
I checked if the cues are correctly detected with the following code:
const activeCaptions = useActiveTextTrack(['captions']),
  // Returns active `VTTCue[]` objects.
  activeCues = useActiveTextCues(activeCaptions);

activeCues is also showing duplicated subtitles for the same timestamp.

Expected Behavior:
Show subtitles correctly.
Steps To Reproduce:
Reproduction Link:
https://www.vidstack.io/player/demo?framework=react&view=player&config={"player"%3A{"src"%3A"https%3A%2F%2Ffiles.vidstack.io%2Fsprite-fight%2F720p.mp4"%2C"viewType"%3A"video"%2C"streamType"%3A"on-demand"%2C"logLevel"%3A"warn"%2C"crossOrigin"%3Atrue%2C"playsInline"%3Atrue%2C"title"%3A"Sprite+Fight"%2C"poster"%3A"https%3A%2F%2Ffiles.vidstack.io%2Fsprite-fight%2Fposter.webp"%2C"textTracks"%3A[{"src"%3A"https%3A%2F%2Fmedia-uploads-tessact.s3.amazonaws.com%2Fsubtitles%2F55af846d-6211-447d-8222-a5ac09b08975%2Fenglish%2F55af846d-6211-447d-8222-a5ac09b08975_english.srt"%2C"label"%3A"English"%2C"language"%3A"en-US"%2C"kind"%3A"subtitles"%2C"type"%3A"srt"%2C"default"%3Atrue}%2C{"src"%3A"https%3A%2F%2Ffiles.vidstack.io%2Fsprite-fight%2Fsubs%2Fspanish.vtt"%2C"label"%3A"Spanish"%2C"language"%3A"es-ES"%2C"kind"%3A"subtitles"%2C"type"%3A"vtt"}%2C{"src"%3A"https%3A%2F%2Ffiles.vidstack.io%2Fsprite-fight%2Fchapters.vtt"%2C"language"%3A"en-US"%2C"kind"%3A"chapters"%2C"type"%3A"vtt"%2C"default"%3Atrue}]}%2C"layout"%3A{"type"%3A"default"%2C"thumbnails"%3A"https%3A%2F%2Ffiles.vidstack.io%2Fsprite-fight%2Fthumbnails.vtt"}%2C"hls"%3A{}%2C"dash"%3A{}%2C"events"%3A["can-play"]}
Environment:
Chrome 130.0.6723, Windows 11

My bad, the SRT had the subtitles twice.