text:
How to setup custom user for embedded-elasticsearch?

I want to use embedded-elasticsearch in my integration tests and when running them from IDE everything is Okay. But, when I'm trying to build my project on Teamcity the exception is thrown:

org.elasticsearch.bootstrap.StartupException: java.lang.RuntimeException: can not run elasticsearch as root
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:134) ~[elasticsearch-6.0.1.jar:6.0.1]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:121) ~[elasticsearch-6.0.1.jar:6.0.1]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:69) ~[elasticsearch-6.0.1.jar:6.0.1]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134) ~[elasticsearch-6.0.1.jar:6.0.1]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-6.0.1.jar:6.0.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-6.0.1.jar:6.0.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85) ~[elasticsearch-6.0.1.jar:6.0.1]
Caused by: java.lang.RuntimeException: can not run elasticsearch as root
at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:104) ~[elasticsearch-6.0.1.jar:6.0.1]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:171) ~[elasticsearch-6.0.1.jar:6.0.1]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:322) ~[elasticsearch-6.0.1.jar:6.0.1]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:130) ~[elasticsearch-6.0.1.jar:6.0.1]

What is correct way to configure custom user?

@gaczm thanks for quick answer

source: gharchive/issue

repo: allegro/embedded-elasticsearch


text:
train in gpu error

这个代码在训练的时候使用CUDA_VISIBLE_DEVICES=2 python train.py这种方式指定为什么一直在gpu0上运行

这个代码在gpu上跑一直报 Fail to find the dnn implementation.
这个错误

repo: allenai/document-qa

license_type: permissive

license_source: bigquery


text:
Inference on Single Image

Hi Piper, It's great to see such an amazing work is publicly available. However, When I run inference on test_set provded it worked perfectly. However, when I downloaded a single sentinel 2 L1C image, and running the inference on it using the weights provided for single image. I am getting.
Running inference on  0  images.
infer_example.yml.txt

Hello! Thanks for your interest in our work. If the code is not finding any images, that likely means your filepath structure is not the same as the provided test set. Could you add some print statements to your code so we can see what your filepath is versus what the code expects?

Hi, Kindly find the screenshot of the output. Is there are any other pre-prcoessing steps involved which i may have missed which can cause this issue.

My input File after passing it through, https://github.com/allenai/satlas-super-resolution#how-to-process-raw-sentinel-2-data

However, as it was pesudocode, i modified it, here i am also attaching that for the reference
`import rasterio
import numpy as np
from rasterio.warp import reproject, Resampling
Path to the Sentinel-2 JP2 file
tci_jp2_path = './delhi_test.jp2'
Open the Sentinel-2 image
with rasterio.open(tci_jp2_path) as src:
# Read the entire image as numpy array
img = src.read()
meta = src.meta.copy()
# Define target CRS and resolution
dst_crs = rasterio.crs.CRS.from_epsg(3857)
dst_resolution = (9.555, 9.555)

# Reproject the image
img_rep = np.zeros((src.count, int(meta['height']), int(meta['width'])), dtype=img.dtype)
for band_idx in range(src.count):
    reproject(
        source=rasterio.band(src, band_idx + 1),
        destination=img_rep[band_idx],
        src_transform=src.transform,
        src_crs=src.crs,
        dst_transform=src.transform,
        dst_crs=dst_crs,
        resampling=Resampling.bilinear
    )

Update metadata with new CRS and resolution
meta.update({
'crs': dst_crs,
'transform': rasterio.transform.from_origin(src.bounds.left, src.bounds.top, dst_resolution[0], dst_resolution[1])
})
Write the reprojected image to a new JP2 file
output_path = tci_jp2_path.replace('.jp2', '_rep.jp2')
with rasterio.open(output_path, 'w', **meta) as dst:
dst.write(img_rep)
print(f"Reprojected image saved: {output_path}")
`

Ah, I see. That section of code is just meant to document how to project raw Sentinel-2 images to Web-Mercator projection. Then you need to format the imagery as described here. So the imagery should be saved as [num_s2_images * 32, 32, 3] shaped pngs.
I will make the documentation clearer.

Hi,
This is my code to format the image as you mentioned:
  import skimage.io
  import numpy as np
  import glob
  import os

  # Path to the directory containing images
  image_dir = '/home/rd/Documents/projects/SATLAS/testing/'  # Replace with your folder path

  # Get a list of all image files in the directory
  image_paths = glob.glob(os.path.join(image_dir, '*.png'))  # You can adjust the file extension if needed

  # Read each image and convert it to a NumPy array
  images = []
  for image_path in image_paths:
      image = skimage.io.imread(image_path)
      image_np = np.array(image)
      images.append(image_np)

  # Stack all images along a new axis to create a single 4D array
  images_array = np.stack(images, axis=0)

  # Print the shape of the combined array
  print(f"Combined images array shape: {images_array.shape[0]}")
  reshape_arr = np.reshape(images_array, (images_array.shape[0]*32, 32, 3))   # reshape this array so we can save it as a png
  skimage.io.imsave('testing.png', reshape_arr)

I have tried with 2 images as well, and the stacked output generated by the code is as follows:

I also played around i.e. tested all permutations of N_LR, N_CH, and model weights in Infer_Example.yml, such as: N_LR: 1 or 2, N_CH, 3 or 6, Model_Weights: esrgan_1S2.pth or esrgan_2S2.pth .
However, When I run the inference I am still getting: Running inference on 0 images

The reason the code would print out "Running inference on 0 images" is the glob statement here. This means that your directory structure is not as this glob statement expects and/or your image filepaths do not match the expected ".png".
You want to edit the code or edit your data directory structure so that pngs is a list of filepaths of your Sentinel-2 images. Does that make sense?

Hi,
Yeah I figured it out, Sorry I forgot to update over here. The code is working now. Thanks for your quick responses. :) . However, when i run inference on URBAN Areas, the model is unable to generate satisfactory results.

However, the linear features are getting worked out.
Lodz where model worked great.

However, when I tried another area of lodz it again kind of hallucinated.

Could you shed some light on it. And what all the steps will be required to re-train the model on Sentinel Vs SKYSAT.

How many Sentinel-2 images did you use as input for these outputs? I have seen plenty of hallucinations in places that look far different from the USA and/or when I only us 1-4 images as input. There is certainly room for improvement in locations that the model has never seen before.
To re-train the model on SKYSAT, you will want to structure a dataset in the same way as our S2NAIP, write a dataset file to replace s2-naip_dataset.py that will load in your intended inputs and outputs ideally in the same format as S2NAIP, write a config file with updated paths to your data and any other variables that need to be changed, and finally start training with python -m ssr.train -config your_config.
I found that using the pretrained satlas-super-res weights transferred to other datasets improved performance, so might be worth trying to start your training from there.

Hi @piperwolters and @lokeshsk
Could you check my issue https://github.com/allenai/satlas-super-resolution/issues/45?
Thanks

authors: lokeshsk piperwolters rose-jinyang

repo: allenai/satlas-super-resolution

license_source: github-api


text:
🛑 Indian Creek is down

In 672cef9, Indian Creek (https://indiancreekcommunity.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Indian Creek is back up in 0be32cc.

repo: alliancewebteam/Uptime

license: MIT


text:
nginx log_format for NCSA w/ Virtual Host

I'm using the default nginx log_format currently:
log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

What needs to be added to this (I tried adding $host at the start before $remote_addr but it still didn't like it) in order to use the NCSA /w Virtual Host option? Thanks! :)

Please post a few lines from your access log in order to determine goaccess log format. You can also try this script to find this out.

00.000.000.00 - - [14/Oct/2017:18:53:16 -0400] "GET REDACTED HTTP/2.0" 200 905 "REMOVED REFERRER" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"

This is my current format. :)

Ah, I've resolved the issue just now myself, was missing the expected : after the VHOST. :)

authors: allinurl kawaii

repo: allinurl/goaccess

license: mit


text:
Support for 3d party middleware

It looks like Starlette's middleware that is designed to be framework agnostic. It would be interesting to see if we can fit that in Asgish somehow. Perhaps @tomchristie has some remarks/tips?

See https://www.starlette.io/middleware/#using-asgi-middleware-without-starlette
Example:
import asgish
from starlette.middleware.trustedhost import TrustedHostMiddleware

@asgish.to_asgi
async def main(request):
    return f"You requested {request.path}"

main = TrustedHostMiddleware(main, allowed_hosts=['example.com'])

if __name__ == '__main__':
    asgish.run(main, 'uvicorn', 'localhost:8080')

In starlette we also add some syntactic sugar if you're adding middleware to an Starlette application instance, so we have...
app = Starlette()
app.add_middleware(TrustedHostMiddleware, allowed_hosts=['example.com'])

You could do something similar in asgish if you wanted, eg...
import asgish
from starlette.middleware.trustedhost import TrustedHostMiddleware
@asgish.middleware(TrustedHostMiddleware, allowed_hosts=['example.com'])
@asgish.to_asgi
async def main(request):
return f"You requested {request.path}"
if name == 'main':
asgish.run(main, 'uvicorn', 'localhost:8080')

Thanks for that! I will have a stab at this soon :)

This was easy: https://github.com/almarklein/asgish/blob/master/examples/example_middleware.py

👍

authors: almarklein tomchristie

repo: almarklein/asgish


text:
Update containers.go

Added a new label tsdproxy.container_host. This should be the same as the container name, and Docker DNS will resolve it. If this label is present then it overrides the value of container.TargetHostname. Doing this way makes sure that the dashboard works when this label is not present. Both containers must be under the same network. Tested and works.
Solves https://github.com/almeidapaulopt/tsdproxy/issues/18 and implements https://github.com/almeidapaulopt/tsdproxy/pull/32#pullrequestreview-2433318049

This looks like the cleanest solution for me, thanks!

Tested and working for me too!

I've made a different approach with in next branch. If you want you can try using:    image: almeidapaulopt/tsdproxy:next .

I've made a different approach with in next branch. If you want you can try using: image: almeidapaulopt/tsdproxy:next .

Do you have instructions on how this could be tested?

source: gharchive/pull-request

repo: almeidapaulopt/tsdproxy


text:
Add Company to user profile

RHD profiles have an optional field Company, could we add that to the User profile we store please?

/cc @VineetReynolds could you shepard this through the various stages please?

We currently don't receive this field from RHD. So, it will require RHD to start mapping this field to a claim in the access token, so we can re-use it. I will ask RHD team if this is something they can do for us.

Thanks, @alexeykazakov - we will need this in or around May.

We now have "company" claim in our KC tokens + in userinfo payload. It Initially comes from RHD.
It's not critical right now but @sbose78 please add this to our user profile when you done with critical issues/tasks. We also need to make sure it's updated well on our side and not overridden by RHD when re-login.

Thanks @alexeykazakov ,

We also need to make sure it's updated well on our side and not overridden by RHD when re-login.

I think this is where fullName,email gets updated from the claims info.
https://github.com/almighty/almighty-core/blob/master/login/service.go#L640
In that case, should we not let the same to happen for company as well?

@sbose78 yes. Just make sure we sync company attributes in our DB and KC properly as we do for others.

authors: alexeykazakov pmuir sbose78

repo: almighty/almighty-core


text:
Add support for High Power

Support high power variant
Support power level settings by user

I've been working on the high power stuff for a couple days, I'll eventually send out a pull request. I also managed to get my rfm69 fork to to communicate with a Feather M0 (the Feather is using RadioHead).

If you wanna take a look it's over here, I'm sure it'll need to be cleaned up a little. Just tell me what you want done and I'll correct it.

Hello,
thank you for working on this. I will definitely take a look. What is required in addition to have it communicate with Feather M0?
If it is just matter of settings I was planning to have RadioHead defaults the same way as there is already low_power_labs_defaults.

The spacing is off, but here's what I'm using. I believe the only difference is RadioHead sets the FIFO level to 15. So it's basically the sync words, node and broadcast addresses.

Looks pretty good, if you don't mind would you open PR for that as well?

Sure, it'll be a few days. I also saw a couple warnings that I need to fix.

I haven't forgotten about this, just need a bit more time. Also what do you think about merging in the packet thing you wrote in one of the examples?, maybe we could add it as a feature?

I haven't forgotten about this, just need a bit more time.

No worries we don't have to rush it.

Also what do you think about merging in the packet thing you wrote in one of the examples?, maybe we could add it as a feature?

I haven't really thought about that, but if someone finds it useful why not.

Once again I'm still gonna finish that pull request. Off-topic: I just ordered an RC airplane. I'm gonna see if I can use the RFM69HCW to control it. From what I've read I should be able to get ~500m or so which would be great.

Once again I'm still gonna finish that pull request. Off-topic: I just ordered an RC airplane. I'm gonna see if I can use the RFM69HCW to control it. From what I've read I should be able to get ~500m or so which would be great.

Ok I accidentally closed the pull request, but I am done minus actually testing the physical devices. I'll do another pull request once I confirm everything works.

Did this ever get merged? I'd be interested in leveraging the high power mode if it's already been implemented, or I could also help to finish the implementation, if it still needs some work.

Did this ever get merged? I'd be interested in leveraging the high power mode if it's already been implemented, or I could also help to finish the implementation, if it still needs some work.

Hi,
there is no PR to merge. And the high power is not currently implemented.

I would be interested in adding this, if you're open to a contribution for this. I think it could work the same way the API for the radiohead library works. Like this
...
    fn set_tx_power(power_level: u8, is_high_power: bool) {
        // Validate if this is a high power model?
        // Set the power level
    }
...

I don't have a hw to test it out, however I'm open to any contribution.

authors: Cightline almusil whatisbyandby


text:
🛑 my portfolio is down

In eb4754c, my portfolio (https://design.beloglazkin.online) was down:

HTTP code: 0
Response time: 0 ms

Resolved: my portfolio is back up in 4ad33f7.


text:
Refactor on_page_search_rate

As suggested in this comment
Use metric values to stop us from needing to format the human readable
version of them before using for calculations.

 (1) Page data - fix % of users searched the page in the at a glance metrics

repo: alphagov/content-data-admin


text:
Make modals less verbose for screen readers

In #1300 we enabled aria-label on modal dialogue component to make it less verbose. Because in Content Publisher we generate the modal dialogue content dynamically we'll need to set this property via JavaScript as part of the modalWorkflow logic.
Trello card

@ChrisBAshton I tried to address all your comments – good for a second review whenever you have time.

Only thing that strikes me is we're guarding against one DOM query failing (if (this.$multiSectionViewer.querySelector('h1')), but not the other (this.$modal.querySelector('dialog')). Do we expect h1 to sometimes be missing, but dialog to always be present? If not I'd stick to one approach (though I'm not sure which I'd prefer!).

The difference between them is that the <dialog> element is part of the component, so we have control over it, whereas the <h1> is retrieved via fetch from a view. In theory all of our templates should provide an <h1> but if for some reason it doesn't have one I'd like to avoid failing with a hard error.

repo: alphagov/content-publisher


text:
Convoluted approach to changing local transaction error message copy

Trello: https://trello.com/c/BgI9a1t3/205-local-lookup-says-no-create-better-were-not-sure-if-this-council-offers-this-service-copy
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
This PR changes the renderings of errors when a local authority doesn't have a service, while also cleaning up some things to make this simple change possible.
Before:

After:

The other things this PR does is:

It removes the usage of LocationError to handle cases where a local authority is missing a service. This made making changes harder and already seemed a rather uneasy fit as the conditionals were somewhat bent around it
Removes an ActiveSuport::Notifier event for logging postcode errors, it hadn't worked since 201

More details in the commits

Thanks for the review @Rosa-Fox, I've addressed the comments.

repo: alphagov/frontend


text:
Add an RDS replica to Transition PostgreSQL database

Bouncer uses the database secondary (here, standby) to read its data, so we set one up.

This seems to plan correctly.

This seems to create a full new RDS instance rather than a secondary. See here for setting up a standby.

I did the thing in the link first, following your PR to add replicas to app-postgresql, and then wondered why there were so many more options and thought I'd done it wrong so started again. I'll do it again again. 😪

@surminus I just re-did this. :-)

repo: alphagov/govuk-aws


text:
Arrange accommodation for non gov speakers

What
Accommodation for 1 day for speakers if required
Why
To keep our costs down and within budget, we will organise accommodation for non-gov speakers
Who needs to work on this
Ciandelle, Nora
Who needs to review this
Done when

[ ] Contact non-gov speakers for accommodation requirements
[ ] Book accommodation via Nora
[ ] notify individuals of booking

Ciandelle will send emails to non-gov speakers if accommodation required
Alexandra & 3rd panel member

Booked for Chikako Masuda

Emails sent to Alessandra Ballina and Chris Lightfoot, asking if they want accommodation for one night

1 night booked Chika Masuda £88
1 night booked Chris Lightfoot £88
1 night booked Alessandra Balliana £132

@NoraGDS to change Chris Lightfoot's accommodation for Zainab Daodu

all non-gov speakers are now booked

authors: Ciandelle Kam-Nijjar

repo: alphagov/govuk-design-system


text:
Add ability to override or remove Open Graph meta tag in Template

At the moment meta property="og:image" in Template has a hardcoded image path, user should be able to override the image path in the meta tag.
User need explained here:

https://github.com/alphagov/govuk_template/issues/137

Split from: https://github.com/alphagov/govuk-frontend/issues/971
Part of https://github.com/alphagov/govuk-design-system/issues/777
Who needs to know about this
Developer, Mark to review

Needed as part of https://github.com/alphagov/govuk-design-system-backlog/issues/185

Needed as part of https://github.com/alphagov/govuk-design-system-backlog/issues/185

Proposed solution
I think we should solve this with a breaking change:
{% if openGraphImageUrl %}
  <meta property="og:image" content="{{ openGraphImageUrl }}">
{% endif %}

We would only set the Open Graph image meta tag if user passes through their own absolute URL - we obviously can't know if the URL is absolute but the requirement should be made clear in the guidance. Whilst the current code allows assetUrl to fall back to using assetPath, this will only work if the assetPath happens to be an absolute URL. It's not clear this happens and going by the discussion in https://github.com/alphagov/govuk-frontend/pull/847, this was mostly implemented so that we could avoid making a breaking change.
This would also allow for the removal of the meta tag entirely if openGraphImageUrl is not set.
This would also be a good chance to make assetUrl a bit more descriptive and call it something like openGraphImageUrl.
Alternative non-breaking solution
  <meta property="og:image" content="{{ assetUrl | default('/assets') }}/{{ opengraphImagePath | default('images/govuk-opengraph-image.png') }}">

This would add a new option opengraphImagePath whilst retaining assetUrl allow the user to do one of the following options:

Set the entire absolute url eg. https://domain.com/my-images/article-image-2019.png
Set only the domain url https://domain.com, which gets combined with 'images/govuk-opengraph-image.png'
Setting assetPath to an absolute URL which cascades to assetUrl and is combined with ‘'images/govuk-opengraph-image.png’

But it feels confusing to have to use two variables to set one thing, making it harder to explain in the guidance. The naming is also a bit weird since assetUrl is not very descriptive so it wouldn't be clear how it works with something like opengraphImagePath.
This approach also wouldn't allow the removal of the meta tag entirely so we'd have to consider another boolean option that would remove the meta tag which wouldn't be ideal.

I really like your investigation and the options are super clear thanks for doing that Hanna.
I believe that GOV.UK does override this meta tag by making use of the head block since the first instance of the metatag is what is used.
You can see this change in the original GOV.UK Template project:
https://github.com/alphagov/govuk_template/commit/204ee88e2c87e7e6db2aa61bf10659c8fdee2c69
With this in mind I would suggest we close this for now and see if anyone runs into any problems with using this approach:
{% block head %}
   {{ super() }}
   <meta property="og:image" content="path/to/my/custom/image.png">
{% endblock %}

Thanks @nickcolley 👍 It's possible to include the meta tag in the head block but I think this is now slightly hacky for the current Design System since we already have a documented option assetUrl which is used to "Specify an absolute URL for the <meta property="og:image"> tag image asset." We haven't documented having to use the head block to override the meta tag there and there isn't a clear way for users to discover this option.
I think the cleanest and from the user's point of view clearest thing to do would be to do a breaking change. It would also allow for the removal of the meta tag by the user which is a requirement of this card and which can't be achieved cleanly by using the head block (unless you include the meta tag in head but leave the URL empty which feels messy and could have its own problems).

Okay I’ve tried to document this in https://github.com/alphagov/govuk-design-system/pull/1072. I still think that having two different ways of dealing with the tag (use assetUrl or set in head) depending on what you need to do could be confusing but will ask Mark to have a look at helping us to write this for the docs. We still won’t be a able to remove the Open Graph tag but let’s address that if it comes up.

authors: aliuk2012 hannalaakso nickcolley

repo: alphagov/govuk-frontend


text:
[WIP] [SPIKE] Replace header with GOV.UK One Login header

This provides a base to work off.
Still to be done

Get the JS working
Make everything fit in with govuk-frontend standards a bit more?

I have started to look at the accessibility of the kitchen sink header. I haven't done any testing yet but have looked through the code. (I will do the testing either later today or on Wednesday and then add the results here.)
As this is not production code yet, none of the below needs to necessarily be fixed before the working group review. But it would be good to make them aware of them.
Language switcher

The language switcher should be a button (or have a role=button with the corresponding JavaScript).
The language switcher doesn't say what it is and what it does. It's label is currently just "English" (or "Current language: English" for screen reader users, plus that it's expandable). I'd say that doesn't describe "topic or purpose" well enough. We should think about adding something that says it's about the language (icon and/or words), especially for users with cognitive impairments. The fact that it's expandable is probably conveyed well enough with the chevron and aria-expanded. It would be good to confirm with user research.
I wonder if it might be worth calling the language switcher area out as its own landmark. But I'm not sure about that.

Main navigation

The active item in the main navigation should have an aria-current attribute. If it should be set to 'page' or just 'true' depends on if the active item is active because we're on that exact page or if we're on a child page that is under that parent page. (Do we know that already? I suspect we'll give guidance for both cases?) Although that could also be solved by adding a visually hidden "Current page: " or similar before the item.
Something not necessary as I seem to be the only person on this planet doing this, but I like to add strong around an active item (just in the code, not visually) just so that people who use userstyles (or don't use styles at all, like Lynx users) also get the benefit of visually understanding that it's an active item.
The label of the landmark is currently just "Menu". From what I understand this will pretty much always be the main menu? I would make the label more specific then, so "Main menu" or "Service menu".

One Login navigation

In the mobile view or when zoomed in, the trigger is very far away from the dropdown. This is likely to get missed by some magnification users.
The mobile One Login trigger doesn't make it very clear what it is either. The label adds the word "menu" for screen reader users. But for visual users it looks nearly the same as the desktop version. The visual chevron might make it clear enough. That's maybe something to explore in user research as well.

My thoughts. Notwithstanding any further changes, just rather how it ended up as it is.
Language switcher

The language switcher should be a button (or have a role=button with the corresponding JavaScript).

Agreed. This was just a corner that was cut for the purposes of the spike.
My thinking is that this will probably have to fallback to being a link for no-JS scenarios anyway, as the dropdown menu just won't work in that situation, similar to how GOV.UK's mega-menu works; but doing that also requires the service to provide a dedicated page to fall back to, which I feel very iffy about generally.

The language switcher doesn't say what it is and what it does. Its label is currently just "English" (or "Current language: English" for screen reader users, plus that it's expandable). I'd say that doesn't describe "topic or purpose" well enough. We should think about adding something that says it's about the language (icon and/or words), especially for users with cognitive impairments. The fact that it's expandable is probably conveyed well enough with the chevron and aria-expanded. It would be good to confirm with user research.

Also agree. It seems commonplace for language switcher interfaces (including virtually all of them on GOV.UK and other public service websites) to display the currently in-use language (or alternate language, in the case of toggles) rather than using explicit labelling like "Select language", so I tried to stay within that kind of wheelhouse.
I considered making the screen reader text be something like "Change language. Current language: English" but was worried about that being too verbose.
I also considered using iconography to make it more visually distinct, but Frontend's general 'phobia' of using icons, plus there being (in my experience) no universally accepted icon representing languages or translations meant I didn't pursue it.

I wonder if it might be worth calling the language switcher area out as its own landmark. But I'm not sure about that.

Can do! I assume this is a use case for role="region" (probably needing an aria-label too, as we have no distinct heading to reference?)
Main navigation

The active item in the main navigation should have an aria-current attribute. If it should be set to 'page' or just 'true' depends on if the active item is active because we're on that exact page or if we're on a child page that is under that parent page. (Do we know that already? I suspect we'll give guidance for both cases?) Although that could also be solved by adding a visually hidden "Current page: " or similar before the item.

I omitted adding aria-current as I was unsure whether it could be used for child pages of the navigation item.
If using true is allowed for that situation, I can default to that, though I'm not sure how easy it will be to know whether it should be true or page. It will probably have to be up to authors to decide which one is the correct one to use for the current situation.

Something not necessary as I seem to be the only person on this planet doing this, but I like to add strong around an active item (just in the code, not visually) just so that people who use userstyles (or don't use styles at all, like Lynx users) also get the benefit of visually understanding that it's an active item.

We can probably do that without too much faff, sure.

The label of the landmark is currently just "Menu". From what I understand this will pretty much always be the main menu? I would make the label more specific then, so "Main menu" or "Service menu".

This is carried over from the existing header component, which just uses "Menu". I guess if we also have the One Login menu we'd want to differentiate it from that?
One Login navigation

In the mobile view or when zoomed in, the dropdown is very far away from the trigger. This is likely to get missed by some magnification users.

This is carried over from the One Login header, though this is also true of the present Design System header component. Having the toggle on the right and menu items on the left seems a common enough pattern across responsive websites that I'm curious if it actually does present an issue to magnification users or is at worst an annoyance.
I'm a little hesitant to change anything with that, if just that I'm not sure what 'better' would look like in this case (Move the menu dropdown to below the logo? Make the navigation items right-aligned? Use visuals to connect them together somehow?)

The mobile One Login trigger doesn't make it very clear what it is either. The label adds the word "menu" for screen reader users. But for visual users it looks nearly the same as the desktop version. The visual chevron might make it clear enough. That's maybe something to explore in user research as well.

Also carried over from the One Login header, and also not sure what might be an improvement here. There is unfortunately not a lot of free space here on mobile screens, so any visible label longer than "One Login" isn't guaranteed to fit on those narrow viewports.
Unrelatedly, I find it very weird that One Login opted to place the chevron to the left of the label here, when these are pretty much universally on the right otherwise. I'd like to know what the reasoning behind that was.

Header kitchen sink made me burst out laughing, bravo 👏👏👏

Closing this spike as it's now served its purpose. We'll be iterating upon this concept in a new branch.

Sorry, I know this is over 3 weeks old. I just wanted to comment on one particular thing. And doing it here (even though the PR is closed) seems to fit better than doing it elsewhere without the context.

I omitted adding aria-current as I was unsure whether it could be used for child pages of the navigation item.
If using true is allowed for that situation, I can default to that, though I'm not sure how easy it will be to know whether it should be true or page. It will probably have to be up to authors to decide which one is the correct one to use for the current situation.

I'm actually not too sure about the use of aria-current myself. The ARIA spec definitely doesn't make any distinction between being on the current page or within sub pages of the current page. I assume when aria-current was created that this was not thought about.
That means the main question is what users expect when they encounter it. I tried to search for an answer to that (3 weeks ago) and couldn't find anything. I will try to dig a bit deeper.
But my assumption is that having something that is sort of the ARIA equivalent of that visual highlighting is better than having no equivalent, even if that might not be 100% correct because the actual equivalent is missing from the ARIA spec.

authors: domoscargin querkmachine selfthinker stevenjmesser


text:
Update date input component

This PR:

Extends the input width classes to cover 2 to 5 characters so it can be reused for the date-input component

defines a relationship between the number of characters and maximum ex width of an input
keeps the extra space for safari prefill icon on large inputs (10, 20, 30)

Updates the date-input component to:

decouple item name from style (fixes #836)
decouple the component name from the item name and item id (covers the work proposed by @lhokktyn in #826)

Adds default date-input items if no items are being specified (fixes #468)

awesome work! 🎆
I wonder if input changes and date input changes could be separate PR's (dependency)?

@igloosi: I didn't want to introduce dependencies between the PRs, but if that makes more sense I can split them up

true, if we we're going breaking at some point should be fine, as this PR has both new features and breaking changes

authors: alex-ju igloosi


text:
Rename check-your-answers.html to check-answers.html

Fixes #804.
This PR changes the file title of our check-your-answers.html template to check-answers.html. This is to mirror the name of the pattern in the Design System.

Closing this as it dupes #1088.

repo: alphagov/govuk-prototype-kit


text:
Update deprecation_message.html

Updating the deprecation notice to include information about accessibility updates.

can we also update the message in the README file?


text:
Version 20.2.1

20.2.1

Improve chevron banner component (PR #1098)
Add input style override override (PR #1099)

Snap! No worries, I'll close mine

authors: andysellick vanitabarrett


text:
Changes required when there are only one "part of" step by step navs

Adds styling for singular related step by step navs
Changes

Increase size of font to be the same size as the step by step headings
Increase the margin-top for the "part of" text to $gutter-two-third
Decrease the margin-bottom for the "part of" text to $gutter-one-quarter
Decrease the margin-bottom of step by step title to $gutter-one-third + 3

Notes:
Change number 4 is being done as there is a padding of 7px on the show all button which makes the margin-bottom seem much larger.
This should not affect cases where there are multiple step by steps.
Ticket: https://trello.com/c/zlQ0Go3P/700-fix-the-step-by-step-title-sizing-and-spacing-on-mobile-when-it-appears-as-a-footer-s
Screenshot

Component guide for this PR:
https://govuk-publishing-compon-pr-458.herokuapp.com/component-guide/step_by_step_nav_related

@andysellick - updated


text:
Clear environment before running PR specs.

What
Without this the tests will fail if you have GITHUB_API_TOKEN set in
your environment as the test expectations won't match the requests that
are actually made.
How to review
Ensure that the Travis build passes.
Set GITHUB_API_TOKEN to something in your local environment, and verify that the tests still pass.
Who can review
Anyone but myself.

works...

authors: alext mtekel

repo: alphagov/paas-cf


text:
[CLOSED] Add script to rename content design manual

 Issue by kalleth
Friday 03 October 2014 at 11:04 GMT
Originally opened as https://github.com/alphagov/specialist-publisher/pull/267

This migration depends on the old content design manual having been removed first.
Once it has been and the slug is available, the migration can be run to rename the content-design-manual's slug.
TODO before merge

[x] Deploy https://github.com/alphagov/specialist-publisher/pull/265
[x] Run script to remove current guidance/content-design manual.

kalleth included the following code: https://github.com/alphagov/specialist-publisher/pull/267/commits

 Comment by evilstreak
Friday 03 October 2014 at 12:06 GMT

Since this is a one shot thing, why not do it as a migration?

 Comment by kalleth
Friday 03 October 2014 at 12:07 GMT

Could do, I guess. I figured the same reasoning applied -- didn't want to do it as part of a deploy then it get rolled back and re-run if the deploy had to be rolled back for any reason.

 Comment by kalleth
Friday 03 October 2014 at 13:40 GMT

@evilstreak I've converted it to a migration in 12ac2c2 -- I'll rebase the commits together if you think this is a better approach. I have no strong feelings either way.

 Comment by evilstreak
Friday 03 October 2014 at 15:30 GMT

:+1: Good to merge once the checklist is done

repo: alphagov/specialist-publisher-rebuild


text:
Change how the Emergency Banner is deployed

Trello cards:

https://trello.com/c/2D0KFQZP
https://trello.com/c/EPTEOgHJ
https://trello.com/c/EPTEOgHJ
https://trello.com/c/3eq0AeHA

Related PRs:

https://github.com/alphagov/govuk-puppet/pull/5734
https://github.com/alphagov/govuk-puppet/pull/5760
https://github.com/alphagov/frontend/pull/1208

Context
The emergency banner implementation has been re-written so that instead of using a fabric script to add content to some partials in Frontend and Static, we will instead populate a hash in Redis with the values needed for the emergency banner.
This will mean that should we need to deploy an emergency banner, Static and Frontend deploys are no longer blocked.
We have chosen to store the values in Redis rather than another datastore because all applications can access the same Redis environment, so Frontend and Static don't need to keep separate stores for the Emergency Banner values, they can share the same ones.
The Implementation

Add the Redis gem to both Frontend and Static
Static retrieves a emergency_banner hash from Redis and uses it to determine whether to display the emergency banner
Create two emergency banner partial templates, one for the homepage and the other for all other pages. Populate them with the contents of the emergency_banner hash from Redis.
Create two tasks, one to set values in the emergency_banner hash in Redis and the other to delete the hash

Future work
Future work will remove the current implementation of the emergency banner code which relies on empty partials that are populated by a fabric task.

Can i ask what alternative approaches to this where thought of for this?

We looked at using ESI in Fastly but it doesn't support including from outside our infrastructure, which would have been the main benefit. There will be a writeup after the blitz of the other options we discussed.

authors: boffbowsh leenagupte mcgoooo

repo: alphagov/static


text:
No dataset found for examples

Hey Maruan, when I call gp_lstm_actuator.py from the examples directory, I get:
"Cannot find DATA_PATH variable in the environment. "
Exception: Cannot find DATA_PATH variable in the environment. DATA_PATH should be the folder that contains `sysid/` directory with the data. Please export DATA_PATH before loading the data.

which I take to mean either 1. I didn't download the actuator data and need to, or 2. The setup script downloaded the data but didn't set the DATA_PATH
In any case, can you comment on where this data might reside, and what the folder structure should look like to run the examples?
Thanks!

Hi the following worked for me

get actuator.mat from http://www.iau.dtu.dk/nnbook/systems.html
make sysid directory in kgp/kgp/datasets/ ( i.e. kgp/kgp/datasets/sysid/)
load the mat file in python and save it as actuator.pkl (I have to save 'u' as 'X' and 'p' as 'Y') in this directory kgp/datasets/sysid/
set your environment variable DATA_PATH to point to kgp/kgp/datasets (full path)

Thanks!  I wrote a little script to transform the mat file, but it is trivial:
import scipy.io as sio
import cPickle

data = sio.loadmat('actuator.mat')
X = data['u']
Y = data['p']
newdata = {}
newdata['X'] = X
newdata['Y'] = Y
f = file('actuator.pkl', 'wb')
cPickle.dump(newdata, f, protocol=cPickle.HIGHEST_PROTOCOL)
f.close()

but that (of course) just dumps to the local directory (so you have to mkdir the sysid folder structure first and use it there).
Better yet would be to use something like the above and also get the data automatically:
import urllib
urllib.urlretrieve("http://www.iau.dtu.dk/nnbook/Files/actuator.mat","actuator.mat")

and run this in the setup file (with constructing the directory folder structure).
Let me know if you'd think this would be helpful (I could write a PR for it).
Also, I am currently running the example on my mac (10.11.6 El Capitan), so if you'd like setup instructions for doing so, I could provide them in the PR.
Dan

Dan, Alexis, thanks for bringing this up. Sorry for the DATA_PATH-related issue -- on my machines, I usually keep all the data in a dedicated folder to which DATA_PATH is pointing. I agree that for the examples such a set up is an overkill and shouldn't be a requirement.
Dan, thanks for the code snippets. Similarly to what you suggested, I will update the data utils to allow automatic data retrieving in case it is not found. It's a little bit trickier when you want to support both Python 2 and 3, since pickle formats differ. I will push the updates during the coming week.
You are more than welcome to open a PR with the setup instructions for mac.

Hey Maruan,  I run the programs in example directory, the same error occurs in each program

"Cannot find DATA_PATH variable in the environment. DATA_PATH should be the folder that contains kin40k/ directory with the data. Please export DATA_PATH before loading the data "

i cannot download any data from the example, could you tell where and how can i get those needed data?

@XYLee01, examples that use sysid data should run (they automatically retrieve and preprocess the data). If you want to run examples on kin40k, the data loader assumes that you already have that dataset (and DATA_PATH should correctly point to it). You can download kin40k data from Andrew Wilson's page (also, follow the instructions there on how to preprocess the dataset).
Of course, it would be nice to have an automatic data loader for kin40k that takes care of all preprocessing. I very much welcome contributions!

authors: XYLee01 alexisylchan alshedivat mathDR

repo: alshedivat/keras-gp


text:
🛑 roothouse-2 is down

In 1f9fe3e, roothouse-2 (https://rhstatus-proxy.alterine0101.id/?deviceId=roothouse-2) was down:

HTTP code: 404
Response time: 183 ms

Resolved: roothouse-2 is back up in 17c4086.


text:
🛑 GMS MSJ Admin Bot (@caps_gms_msj_bot) is down

In 6ce8d0f, GMS MSJ Admin Bot (@caps_gms_msj_bot) (https://rhstatus-proxy.alterine0101.id/?deviceId=gms-msj-telegram-bot) was down:

HTTP code: 0
Response time: 0 ms

Resolved: GMS MSJ Admin Bot (@caps_gms_msj_bot) is back up in 89c8eb8.


text:
Add validation to Age and AgeNullable

Closes #877

I think we can also include AgeFractional in this PR

repo: alteryx/woodwork


text:
Если добавить фото в описание Блога

Спасибо. Проверю чуть позже.

repo: altocms/altocms


text:
Отвал BLE

Андрей, поставил от 8.03. с  IDF v4.4-dev-4-g73db14240, стабильный отвал BLE раз в сутки. Одновременно улучшил качество wifi. не помогло.
Ребут досочки помогает. Может сделать "ночные ребуты" по расписанию ?

У меня пока все нормально. Wifi правил в 9.03.2020. Если отвалы остались, придется поставить птичку в  "BLE monitoring".

Понял тебя. Я сегодня 9.03 поставил. Пока сутки не прошли. Отпишусь.

А сколько устройств определено и подключено? У меня 3 и 2 на одном, 2 и 2 на другом. То есть скан постоянно не бегает, все соединилось и скан остановился. Может в этом дело.

1 устройство. 201 чайник, есть еще мультиварка но она кардинально не совпадает с твоей :)
Только что залипла предыдущая версия с галкой BLE monitoring
сейчас поставлю  2021.03.14.
скажи как лог снять, сделаю. Если уарт слушать, то на таком удалении у меня не получится. чайник далеко от компа.

Пока ничего не нужео. Нашли один баг в новой в4рсии. Может поможет. И добавил строку состояния скана, видна до соединения.

По кинетикам, второй шлюз стоить в паре метров по за стеной. Знаю о том что можно указывать точку в меше, установил принудительно ближнего. Мультиварка SkyCooker M223S

Андрей, последняя версия похуже будет в стабильности, 2 суток подряд отвалы.

Версия от 25.03? В чем проблема, зависание бле, перезагрузка? Что показывает ble activity, scanning, idle? Пока жалоб на отвал бле не было. У меня 9 суток аптайм без отвалов, причем ble monitoring выключен. Код в последних версиях я не менял, только опции сборки.

значит так совпало. Но галка стоит, чайник на базе, чайника не видит. Самая последняя, которая выложена сейчас. сейчас сутки вроде норм

authors: alutov exotsk


text:
ALVR Dashboard fails to start: Segmentation fault (core dumped)

Description
When trying to launch the alvr_dashboard binary it shows up for a second and then crashes returning in the console "Segmentation fault (core dumped)" the alvr dashboard used to do this all the time but i just had to start it multiple times back to back and then it worked but since I last updated ALVR it has stopped working for me. I've tested it with the latest nightly build and stable build both showing the same error. I have also tried building the packages from the AUR both stable and nightly and the same issue occurs

General Troubleshooting

[x] I carefully followed the instructions in the README and successfully completed the setup wizard
[x] I read the ALVR GitHub Wiki

Environment
This is a Arch Linux system running the latest as of writting KDE desktop environment on Wayland
Hardware
Hardware
the NVIDIA GPU with no driver is for my Windows virtual machine
Installation
ALVR Version:v20.9.1 and v21.0.0-dev01+nightly.2024.07.16
ALVR Settings File: I was unable to find my setting file
SteamVR Version: 2.6.2
Install Type:
I have tried compiling from source(from the AUR) i have tried to use the binaries on the github and I have tried the ALVR launcher. all with nightly and stable
OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions): Arch Linux
Backtraces
I got these with the RUST_BACKTRACE=1 variable using the ALVR launcher
Stable
stable.log
Nightly
nightly.log
Feel free to ask me if there is any more information you require
Edit: I have been able to build both packages from the AUR (because I forgot to remove the debug version of alvr) but the same error still occurs and the main text has been updated to reflect that

I have now been able to build the alvr-git package from the AUR without any problems occuring but it still fails to launch with the same "Segmentation fault (core dumped)" error

(resolved in discord)
Issue was related to some vulkan-radeon-git package, which forced alvr dashboard to launch through llvmpipe and fail to do so, dumping core.

repo: alvr-org/ALVR


text:
README supports dynamic documentation

Context
jsii has a really cool feature where the example Typescript code in README is transformed into the target language at package/publish time. This mean NPM and PyPi will respectively show working TS and Python code examples.
We need to play around that to ensure coherent installation steps and code samples are shown in the packages homepages.
Tasks

[x] Remove Typescript header
[x] Have both npm and pip install
[ ] GitHub README will still show default README, so we need to include a statement for specific python example

Alternatives
Have both TS and Python install/code samples. Will clutter README.
Notes
N/A

re-opening because I missed the last step.


text:
Возможность проброса дополнительных настроек курла

Вот здесь, где устанавливаются настройки курла, нет возможности передать что-то своё. А это не гуд, мне например потребовалось установить CURLOPT_FOLLOWLOCATION. Предлагаю сделать проброс дополнительных настроек, код уже есть, ты как на это смотришь?

Положительно, но решение из #3 считаю не правильным, потому что curl - это транспорт, и привязывать параметры транспорта к классу запроса кажется мне некрасивым

Согласен, было бы более правильно, если бы в объект запроса передавался бы объект транспорта (с проставленными опциями). Но сейчас передается лишь константа для фабричного метода выбора используемого транспорта. Да и в целом, кроме курла ничего на данный момент не поддерживается. Так что как быстрый вариант - выбрал именно такой. Если все же когда-то появится второй транспорт - можно будет отрефакторить как я описал выше.

Хотя, я так подумал, можно сделать лучше, без сильного рефакторинга. Давай я в класс запроса добавлю геттер для транспорта, тогда можно будет вызывать метод у самого транспорта.

Да, так будет попизже

Ребейзить?

Я не против

Готово

v1.1.1

authors: Aliance alxmsl

repo: alxmsl/Network

license: WTFPL


text:
🛑 fxkyss.com is down

In e06f885, fxkyss.com (https://fxkyss.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: fxkyss.com is back up in 6ba5b9b.

repo: alzee/up


text:
🛑 m.syzszz.cn is down

In 8be4f61, m.syzszz.cn (https://m.syzszz.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: m.syzszz.cn is back up in 04a8814.


text:
🛑 m.syzszz.cn is down

In 09531e6, m.syzszz.cn (https://m.syzszz.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: m.syzszz.cn is back up in aee3c69.


text:
git-checkout-pull-merge.sh does not run git submodules

Describe the bug
git-checkout-pull-merge.sh does not run submodule installations
Opposed to - git-checkout-pull.sh
To Reproduce
Use Pullrequest environments for projects that have submodules
Expected behavior
Submodules are installed after the merge of the source branch

@Schnitzel is the git submodule --init not in there by accident or is this by design?

Fix: https://github.com/amazeeio/lagoon/pull/558

Looked at changing it and moving the git submodule operation outside the two git files but that makes the whole thing a bit harder to understand. whereas now we have all the git operations in the files that run trough.

repo: amazeeio/lagoon


text:
made Console protected in menus

Not really sure what to do with empty .ctors

TBF making Layout protected in this PR is kinda pointless since it's only used in ModInputCombinationMenu

repo: amazingalek/owml


text:
Outbound call!

Hi,
I have an embedded CCP inside my app and I want to make an outbound call by clicking a number in the page. I was able to do this by calling Amazon Connect API. I also tried to do this with amazon-connect-streams but it didn't work. here is my code
    `connect.agent(function (agent){
           const endpoint = "+81XXXXXXXX";
           agent.connect(endpoint , {
                 queueARN : "arn:aws:connect:ap-southeast-2:XX:instance/XXX/queue/XXXX",
                 success : function(){console.log("Success call!!!!!!")},
                 failure : function(){console.log("Call failed!!!!!!!")}
          });
    });`

Output:
Call failed!!!!!!!
[ERROR]: 'createOutboundContact' API request failed: [object Object]
Can anyone help me with this issue? Thank-you

Hi.
endpoint is object, not phone number string.  So you have to make endpoint
by utility function before you call agent.connect()
example)
var endpoint = connect.Endpoint.byPhoneNumber('+81********');
hope this would be help.
2018年8月15日(水) 17:50 aliatry1 notifications@github.com:

Hi,
I have an embedded CCP inside my app and I want to make an outbound call
by clicking a number in the page. I was able to do this by calling Amazon
Connect API. I also tried to do this with amazon-connect-streams but it
didn't work. here is my code
`connect.agent(function (agent){
       const endpoint = "+81XXXXXXXX";
       agent.connect(endpoint , {
             queueARN : "arn:aws:connect:ap-southeast-2:XX:instance/XXX/queue/XXXX",
             success : function(){console.log("Success call!!!!!!")},
             failure : function(){console.log("Call failed!!!!!!!")}
      });
});`

Output:
Call failed!!!!!!!
[ERROR]: 'createOutboundContact' API request failed: [object Object]
Can anyone help me with this issue? Thank-you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aws/amazon-connect-streams/issues/77, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ANHMELkuBgBSUyHlKk2VFbQF3FyOdVKeks5uQ-DRgaJpZM4V9xaJ
.

Awesome! Thank-you!!

Hi I'm also having the same issue. It worked for a while but then all of a sudden it stopped.
Below is our code.
const endpoint = this.connect.Endpoint.byPhoneNumber(phoneNumber);
    agent.connect(endpoint, {
      success: () => {console.log('success')},
      failure: () => {console.log('failures')}
    })

Hi, I'm trying to make an outbound call (Agent to Agent) using quick connect. In my amazon connect dial panel, I am not able to see any quick connect agent but it is available when transferring existing contact. Can anyone help on this.
window.myCPP.agent.connect(data.endpoints[qcAgentID], {
success: function(data) {
console.log("dial to quick connect - success "+data);
},
failure: function(data) {
console.log("dial to quick connect - failed");
}
});
And below is the error log.
connect-streams-min.85524545.js:1 [2020-11-26T10:51:49.585Z] [ERROR]: 'createOutboundContact' API request failed
connect-streams-min.85524545.js:1 [2020-11-26T10:51:49.586Z] [ERROR]: Failed to handle AWS API request for method createOutboundContact
amazon-connect-1.5.1-2-g1037b86.js:21229 [2020-11-26T10:51:49.585Z] [ERROR]: 'createOutboundContact' API request failed
connect-streams-min.85524545.js:1 [2020-11-26T10:51:49.586Z] [ERROR]: Failed to handle AWS API request for method createOutboundContact
amazon-connect-1.5.1-2-g1037b86.js:21229 [2020-11-26T10:51:49.586Z] [ERROR]: Failed to handle AWS API request for method createOutboundContact

@Selva-Guru - if you console.log(data) in your failure handler it will give you a bit more information about why the failure is happening.

repo: amazon-connect/amazon-connect-streams


text:
Channel generators need to respect new handle_message method signature

Description
Generated channels need to respect the new form of handle_message
Steps to Reproduce

Generate a channel
Notice that handle_message should include socket now and doesn't

Expected behavior: A properly generated channel with respect to the new form of handle_message callback.
Actual behavior: Old style channel with old style handle_message gets generated
Reproduces how often: 100%
Versions
Amber CMD (ambercr.io) - v0.2.2
Additional Information
None, just generate a web socket channel.

@mixflame I believe #228 fixed this issue.  Can you confirm you are still having issues?

That pull request is correct, feel free to close. Thanks.
On Wed, Sep 6, 2017 at 7:22 AM, Dru Jensen notifications@github.com wrote:

@mixflame https://github.com/mixflame I believe #228
https://github.com/amber-crystal/amber/pull/228 fixed this issue. Can
you confirm you are still having issues?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/amber-crystal/amber/issues/236#issuecomment-327481394,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABo96zwqrwpiUKNdZjWSi67PdotkbitTks5sfpyagaJpZM4PNr0a
.

--
Jonathan Silverman
tel: 720.935.6645

authors: drujensen mixflame

repo: amber-crystal/amber


text:
boris.toml / master.toml

/cc @nhibberd @thumphries

/cc @tranma

viva la boris revolucion 💂

authors: jystic tranma

repo: ambiata/mafia


text:
csv-table align option is ignored

The csv-table directive always produce a table with left-aligned cells, regardless of the :align: option being set to center or right. I would expect the resulting table to respect the alignement option attached with the csv-table directive, and default to left if none is provided.

As far as I know, :align: option does not have effect for cell alignment also in other builders.
In my opinion, this is a job of a style file.
I will add the feature to apply different style for each tables in next release.

@ghisvail
I add the feature to apply user defined style in docxbuilder 1.2.0.
Please update docxbuilder.
See documents (https://docxbuilder.readthedocs.io/en/latest/customization.html#user-defined-styles) for details


text:
Master-Standby swap has to be robust

There is a possibility under current implementation that when partition becomes a Master there are still messages in the change log from the previous Master that have not been consumed. This is because under the current prototype, the master naively stops tailing the topic on receiving BecomeMaster message but this needs to be analysed statically and proven that it can't happen or put in place mechanism that guarantees all messages by previous Master have been Consumed.

Another problem with the current implementation is that the cluster router doesn't keep the standbys in the list of routees and on master failure there will be a brief period when the partition is not represented by any region master. There are 2 ways how to go about this one:
First, instead of ask provide io.amient.affinity.core.ask which catches the IllegalStateException and retries in few short intervals.
Second, map all the standbys into the routees and on failure use next available routee for that partition effectively pre-empting the outcome of the election.

repo: amient/affinity


text:
Schematic Help

Hello,
I'm trying to complete a schematic since it was never released.  I think I have everything except for 5 wires.  Can anyone (preferably the author) ensure i am correct and give me the last 5 wires (boxes in purple with "?").  Thank you!

Edit:  I Just noticed the R3 wasn't finished and should be the same as r4,r5,r6. (1, GND)

Figured it out... here is a schematic via excel and kicad.  I think everything is correct.

repo: amilkovich/snes-rd


text:
Use readme.md file in nuget readme

It's better to use the readme file content in nuget description.
To achieve this we should create a HttpClientToCurlGenerator.nuspec file in the project like this:
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
    <metadata>
        <!-- Required elements-->
        <id>HttpClientToCurlGenerator</id>
        <version>2.0.3</version>
        <description>An extension for generating Curl script of HttpClient</description>
        <authors>Amin</authors>
        <summary>
          This extension will help you to see whatever is set in HttpClient in the form of a curl script.
        </summary>
        <releaseNotes>
          ...
        </releaseNotes>

        <projectUrl>https://github.com/amingolmahalle/HttpClientToCurlGenerator</projectUrl>
        <repository type="git" url="https://github.com/amingolmahalle/HttpClientToCurlGenerator.git" branch="main" />

        <license type="expression">MIT</license>
        <requireLicenseAcceptance>false</requireLicenseAcceptance>
        <tags>csharp HTTP httpclient curl</tags>
        <icon>icon.png</icon>
        <readme>README.md</readme>
    </metadata>
    <!-- Optional 'files' node -->

    <files>
        <file src="README.md" />
    </files>
</package>

Nice idea. I will do it.

@thanks dear @naeemaei

closed

authors: amingolmahalle naeemaei


text:
Reduce risks of clashes with package identifiers

Running CompileBot failed for me in a package which exports a function
named data. Resolve this by renaming the global variable data used
by CompileBot to __the_data__ which should minimize the risk of clashes.
Also changed some more quoted code to use let to avoid similar problems
for pc and packageSym.

Codecov Report

Merging #48 (5c0d0dd) into master (dd0c0cf) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master      #48   +/-   ##
=======================================
  Coverage   70.68%   70.68%
=======================================
  Files           7        7
  Lines         440      440
=======================================
  Hits          311      311
  Misses        129      129

Impacted Files
Coverage Δ

src/snoop_bench.jl
65.30% <ø> (ø)

src/snoop_bot.jl
75.34% <0.00%> (ø)

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 d2c8578...5c0d0dd. Read the comment docs.

authors: codecov-commenter fingolfin


text:
Link to pypa docs for pip installation instructions

Right now the Readme has a lot of information about installing pip, this can be replaced with a link to https://pip.pypa.io/en/latest/installing.html

e1311fc892bbcca6486e91e43bca4c6927f40156

repo: amjith/pgcli


text:
mock an attendance for this test and make it work.

The puzzle 51-58882287 from #51 has to be resolved:
https://github.com/ammaratef45/Attendance/blob/fbdba811a613eddf24735e47ac232e93e71c179b/attendance/test/api_test.dart#L41-L41
The puzzle was created by Ammar Atef on 12-May-19.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@ammaratef45/z please, pay attention to this issue


text:
remove litems and uitems and get them from user as future.

The puzzle 102-6eee6dfd from #102 has to be resolved:
https://github.com/ammaratef45/Attendance/blob/fbdba811a613eddf24735e47ac232e93e71c179b/attendance/lib/homePage/home_page_viewmodel.dart#L119-L119
The puzzle was created by Ammar Atef on 12-May-19.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@ammaratef45/z please, pay attention to this issue


text:
#79 refactored the code to match the required in issue

PR for #79

Job #87 is now in scope, role is REV

This pull request #87 is assigned to @bahaaib/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @ammaratef45/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; @bahaaib/z is not a member of this project yet, but they can request to join, as §1 explains; there will be no monetary reward for this job

Manual assignment of issues is discouraged, see §19: -5 point(s) just awarded to @ammaratef45/z

@Bahaaib Okay, It's because of the const constructor
Which is prefered for immutable classes.

@rultor merge

@rultor merge

@bahaaib Thanks for your request. @ammaratef45 Please confirm this.

@rultor merge

@rultor merge

@ammaratef45 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@ammaratef45 Done! FYI, the full log is here (took me 6min)

Quality is low, no payment, see §31:

Job was finished in 7 hours, bonus for fast delivery is possible (see §36)

The job #87 is now out of scope

Payment to ARC for a closed pull request, as in §28: +10 point(s) just awarded to @ammaratef45/z


text:
Keep getting "Uncaught TypeError: Cannot read property 'replaceChild' of null".

Original version of index.html(not minified) works without problem, but after I minify index.html with html-webpack-plugin, I keep getting "Uncaught TypeError: Cannot read property 'replaceChild' of null". Note that my web app is working well regardless, but this error is driving me crazy.
Part of my webpack config:

  new HtmlWebpackPlugin({

    template: 'app/main.html',
    filename: 'index.html',
    minify: {
      collapseWhitespace: true,
      removeComments: true,
      removeRedundantAttributes: true,
      removeScriptTypeAttributes: true,
      removeStyleLinkTypeAttributes: true,
    },
  })

I found the problem.
Every time I minify the html file, it produces two script tags, which is strange because there is only one script tag in the original html file.
Original one only has <script src="./app.js"></script> while the minified version produces <script src="./app.js"></script><script src="app.js"></script>.
There is an redundant <script src="app.js"></script>.
Any idea how to solve this?

I solved the problem.
Docs:

The plugin will generate an HTML5 file for you that includes all your webpack bundles in the body using script tags.

So, I can remove <script src="./app.js"></script> from template.

Yes you could also set inject:false if you want to add them by yourself.

authors: jantimon tetsushiomi

repo: ampedandwired/html-webpack-plugin


text:
[TACHYON-794] Added test coverage for Master

https://tachyon.atlassian.net/browse/TACHYON-794
Added test coverage for InodeDirectory

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/4272/
Test PASSed.

repo: amplab/tachyon


text:
Implement safe persistence of logs in ES

Added two commands to disco_elasticsearch.py:

archive: Archive the indices that are older than yesterday's date to S3. It also has a --groom flag, which would delete enough indices from the cluster to bring down disk usage to the archive threshold.
restore: Restore the indices within a date range from S3 to any cluster

Associated story: https://amplify-litco.atlassian.net/browse/AS-184
TODO:

[x] Write unit tests
[x] Update readme

+1

build

+1

repo: amplifylitco/asiaq


text:
AMP Access & Subscriptions WG call for members

We'd like to expand the WG membership to include people developing or maintaining amp-access vendor extensions and CMS or publisher developers working with amp-access, amp-subscriptions and amp-subscriptions-google
The If you are interested in membership please respond to this issue.
cc @chenshay @mpaw @sjparkinson @merwan7 @gmajoulet @enzo-giancola @davidsteeb @wigth @dackmin @rodrigues @kushal @dbow

I'm interested. :)

get me on board ⛵

Definitely interested!

I'm curious, but I'd be keen to know what is involved. And if not me, I'd like to make sure we have someone from @Financial-Times if that's okay.

✋

Thanks for responding,  I'll post something ext week with an outline of what's involved.  @sjparkinson  regarding specific membership, if there is somebody in your org who is a better fit that's fine.

I'm interested too and can represent @dowjones for The Wall Street Journal and Barrons.

A little late to the party, was offline for a few days, but I'm interested.
On Sun, 5 May 2019 at 21:24, Marcin Pawelek notifications@github.com
wrote:

I'm interested too and can represent @dowjones
https://github.com/dowjones for The Wall Street Journal and Barrons.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ampproject/wg-access-subscriptions/issues/3#issuecomment-489455701,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5O7656NTXDKCNGI6BJQWLPT4X7TANCNFSM4HJVFYKA
.

--
b13 GmbH
Breitscheidstraße 65 :: 70176 Stuttgart :: Germany
Telefon +49 711 46058970 :: Telefax +49 711 46058979
Sitz der Gesellschaft: Stuttgart
Handelsregister Amtsgericht Stuttgart HRB 733314
Geschäftsführer: Benjamin Mack, David Steeb
b13 ist TYPO3 Agency Enterprise Partner
b13 ist TYPO3 Platinum Member

The amp contributor summit this year is October 9 and 10 in NY.  If you'd like to go please apply here and indicate you are a prospective WG member.
https://events.withgoogle.com/ampcs2019/registrations/new/details/

Can you all let me know what time zones you are in?   Best time for a meeting appears to be early AM California time / late in the day in Europe.  Do we have an APAC folks that would not work for?

@jpettitt I'm in EDT timezone

I'm a maintainer for amp-access-scroll ( https://github.com/ampproject/amphtml/pull/21528 ), I'd love to be involved

authors: dackmin davidsteeb gmajoulet jpettitt junoatscroll kushal merwan7 mpaw sjparkinson

repo: ampproject/wg-access-subscriptions


text:
wg-performance Status Update 2021-09-27

cc @ampproject/wg-performance
What was accomplished
Lessons Learned
What's Next

What was accomplished

Cleanup of unused performance metrics (1, 2)
esbuild exp_c: https://github.com/ampproject/amphtml/pull/36163, https://github.com/ampproject/amphtml/pull/36105
Removed CC header from worker-dom: https://github.com/ampproject/worker-dom/pull/1097
Added benchmarking to bento-compiler 1, identified most expensive piece as being worker-dom.createElement, identified 3x speedup 2
bento-compiler integration fixes: https://github.com/ampproject/bento-compiler/pull/20
relanded build-system amp_config simplification: https://github.com/ampproject/amphtml/pull/36008

Lessons Learned

Class fields are much slower than setting values in the ctor, even though they are algorithmically faster (O(1) vs O(prototype chain)). See this benchmark. bench

What's Next

Removing fid-polyfill from AMP Cache

What was accomplished

automated rollouts of Bento Compiler service (google3)
various related compliance and security dances for above
performance debugging with @samouri

Lessons Learned

verifiable build-deploy-release systems are extremely complicated

What's Next

continue trying to satisfy security requirements for rollout
possibly some core/type-checking work

cc @ampproject/wg-performance
What was accomplished

get baseline performance numbers for simple amp-story examples. This allows us to interpret possible performance gains per environment (origin vs origin + optimizer vs cache vs plain html)

Lessons Learned
What's Next

finish amp geo SSR work
write doc on amp story css inlining
write doc on changes needed to the nodeJS amp toolbox optimizer for amp story optimizations

What was accomplished

Update CLS metric to 5s-window and 1s-session-gap: https://github.com/ampproject/amphtml/pull/36147
Fix adblock CLS regerssion: https://github.com/ampproject/amphtml/pull/36157

Lessons Learned
What's Next

Finishing abstract ops for Jolt
Image metadata

authors: erwinmombay jridgewell rcebulko samouri

repo: ampproject/wg-performance


text:
Muti children

I have two children(sections, parts) in json, how can I supposed to do?
Thank you
{
"id": "jxk2ahca",
"unit": "1",
"name": "",
"nameEn": "Stationery",
"sections": [
{
"section": "1",
"name": "",
"nameEn": "",
"file": "",
"type": "folder",
"icon": "",
"parts": [
{
"part": "1",
"name": "",
"nameEn": "",
"file": "",
"type": "file",
"icon": ""
}
]
}
}

Hi! It might help you: https://amsik.github.io/liquor-tree/#Redefine-Structure-Example

How can I set for children?
treeOptions: {
propertyNames: {
text: 'name',
children: 'sections' || 'parts'
}
},
it does not work

It will not work. You have to transform your data recursively before use tree.

authors: amsik yulunyang

repo: amsik/liquor-tree


text:
feat: Making notices more general

Summary of Changes
Added wildcard functionality to notices (ie if we wanted to add a notice to every table in the shadow schema, could do that with ..shadow.*) and dynamic HTML messages (ie if we wanted to have each of those notices have a different message depending on which table it was)
Why
Part of the follow up work for the Notices feature detailed on the RFC: https://github.com/amundsen-io/rfcs/blob/master/rfcs/029-resource-notices.md#future-possibilities
Mentioned on the original PR: https://github.com/amundsen-io/amundsenfrontendlibrary/pull/957#issuecomment-802943900
Tests
Added notices tests to test the functionality of the wildcard and the dynamic message.

/ptal @itstemo @Golodhros #persistence-dev

remade pr here: https://github.com/amundsen-io/amundsen/pull/1280

repo: amundsen-io/amundsen


text:
Update README.md

Describe your changes
added readme badges
Screenshots - If Any (Optional)

Issue ticket number and link - If Any
Closes #108
Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] Starred the repository.
[x] Added My Name to the Contributor's List.
[x] Followed the repository's Contributing Guidelines.
[x] I ran the app and tested it locally to verify that it works as expected.

Thanks @S-ishita. Nice

authors: S-ishita anmode


text:
what should is_none test for?

is_none currently results in true for none_unit or directly derived, but is sometimes used
where one really wants to test: unit.base == none.base ( instead of unit.is_none() )
(this arises when testing e.g. units.rad and units.deg)

should be revisted

lets close; if it a real reason to change it comes up its easier to fix

repo: amusecode/amuse


text:
bugfix: in the preferential batch BO example the acquisition function…

…s were previously minimized, not maximized
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #304   +/-   ##
=======================================
  Coverage   89.26%   89.26%
=======================================
  Files         120      120
  Lines        3932     3932
  Branches      454      454
=======================================
  Hits         3510     3510
  Misses        329      329
  Partials       93       93

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 2db676b...fe23f04. Read the comment docs.

Hi Eero, are you sure this is happening? GradientAcquisitionOptimizer flips the sign of the acquisition function  in its _optimize method.

Dear Maren. Thank you for taking a look! I am positive about the bugfix being the right thing to do. GradientAcquisitionOptimizer flips the sign and then minimizes the flipped function (= maximizes the original function). In the preferential batch Bayesian optimization example, all acquisition function evaluations were ALREADY returned as flipped versions (negative qEI) so we ended up minimizing the acquisition functions, which is not what we want.
Before building the wrapper for emukit, I was performing the optimization of the acquisition myself using "acq_fun_optimizer"-function (https://github.com/esiivola/emukit/blob/fe23f046b7e4b92d065bb71212a5e6f082432451/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/expectation_acquisition.py#L235), which minimized the "evaluate"-function (https://github.com/esiivola/emukit/blob/fe23f046b7e4b92d065bb71212a5e6f082432451/emukit/examples/preferential_batch_bayesian_optimization/pbbo/acquisitions/expectation_acquisition.py#L287).
However, this "evaluate" function is maximized by emukit. The bugfix flips this function inside the emukit wrapper.

I see, thanks for the explanation!

authors: codecov-commenter esiivola mmahsereci

repo: amzn/emukit


text:
Cannot find package '@ngtools/webpack' On MacOs when starting the project

Please provide the environment you discovered this bug in.
MacOs 14.4.1
NodeJs v20.11.0
Which area/package is the issue in?
create-analog
Description
I follow the Getting started guide.

yarn create analog
Go in the directory
yarn
yarn start

Please provide the exception or error you saw
failed to load config from /Users/thierryleveque/Documents/dev/testProject/analog-project/vite.config.ts
An unhandled exception occurred: Cannot find package '@ngtools/webpack' imported from /Users/thierryleveque/Documents/dev/testProject/analog-project/node_modules/@analogjs/vite-plugin-angular/src/lib/host.js

Other information
No response
I would be willing to submit a PR to fix this issue

[ ] Yes
[X] No

Only when using yarn, you have to explicitly add the @ngtools/webpack package to the package.json.
yarn add @ngtools/webpack --dev

We could maybe detect this when generating a new app, but I don't want to add it for everyone

And then now it is @angular-devkit/build-angular that is missing...
Adding it also fix the problem.
But this should be added in the documentation. On the getting started page.

repo: analogjs/analog


text:
Add F# tools Fantomas and ionide-analyzers

[x] I have not changed the README.md directly.

Much appreciated. Thanks!

authors: dawedawe mre

repo: analysis-tools-dev/static-analysis


text:
Array indexing with a variable

function githubExample(value) {
  return request.resource.data[value];
}

The plugin highlights the "value" indexer with: '[' or number expected, got 'value'

@Artelis thanks for testing, issue will be fixed on version: 2.5.3

authors: Artelis dalgarins


text:
🛑 Linux Handbook is down

In 8773e48, Linux Handbook (https://linuxhandbook.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Linux Handbook is back up in 9a99376 after 17 minutes.

repo: andanotherusername/upptime-test


text:
.Net Core 3.1  LoadUserDict 下，會出現 Unhandled exception. System.UnauthorizedAccessException: Access to the path

在.net core console 下

segmenter.LoadUserDict(AppDomain.CurrentDomain.BaseDirectory + @"custom_dict");

會出現
Unhandled exception. System.UnauthorizedAccessException: Access to the path 'C:\Users\donma\source\repos\JiebaPrac\JiebaPrac\bin\Debug\netcoreapp3.1\custom_dict' is denied.
   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Encoding encoding)
   at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
   at System.IO.File.ReadAllLines(String path, Encoding encoding)
   at JiebaNet.Segmenter.JiebaSegmenter.LoadUserDict(String userDictFile)
   at JiebaPrac.Program.Main(String[] args) in C:\Users\donma\source\repos\JiebaPrac\JiebaPrac\Program.cs:line 17

如果是我用 .net framework 4.7 ASP.net Webform 下會正常
麻煩了，感謝幫助..

代码贴出来

代码贴出来

抱歉 是我自己犯蠢 已經解決了
感謝您的回應 👍

抱歉 是我自己犯蠢 已經解決了
感謝您的回應 👍

authors: donma suichuan


text:
clone parler translations -> IntegrityError: Key (language_code, master_id) already exists.

I get the a IntegrityError like:
duplicate key value violates unique constraint "news_news_translation_language_code_37dcef35ba6d4d72_uniq"
DETAIL:  Key (language_code, master_id)=(de, 43) already exists.

while "publish" action. Code point is here:
File "django-model-publisher-ai/publisher/models.py" in publish
  122.         self.clone_translations(draft_obj, publish_obj)
File "django-model-publisher-ai/publisher/models.py" in clone_translations
  216.                 translation.save()

Any idea?

Ah! It's related to aldryn_translation_tools.models.TranslatedAutoSlugifyMixin !
The error comes if TranslatedAutoSlugifyMixin is before PublisherModel ...
Working order seems to be:
class MyModel(TranslatableModelMixin, PublisherModel, TranslatedAutoSlugifyMixin):

Sounds like you got it fixed? Closing.

Yes. I also working on a PublisherParlerManager() and PublisherParlerModel() for easier usage...

Hm. No it's not fixed :(
The slug will not set correctly if TranslatedAutoSlugifyMixin after PublisherModel ...
Any idea?

authors: JsseL jedie

repo: andersinno/django-model-publisher-ai


text:
Close pool

Add method to close a pool, properly disposing of each pooled object, and releasing any resources associated with the pool (e.g. background timer threads).
Fixes #11.

Coverage increased (+2.2%) to 89.431% when pulling 3a2743bf316f0cc2096b63885fe0606f601a8e49 on close-pool into 9401aa0b825d0ba729d936b0f9c471976383b53c on master.

Coverage decreased (-0.7%) to 86.555% when pulling ef0c0c075c7fb20cdd6ee156752b94e8dea33925 on close-pool into 9401aa0b825d0ba729d936b0f9c471976383b53c on master.

authors: andrebeat coveralls

repo: andrebeat/scala-pool


text:
🛑 Archief Roermond is down

In 1897b9f, Archief Roermond (https://www.archiefroermond.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Archief Roermond is back up in 69cac0b.

repo: andreesg/intk-upptime


text:
🛑 Het Markiezenhof is down

In e18ac31, Het Markiezenhof (https://www.markiezenhof.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Het Markiezenhof is back up in 075a7c6.


text:
🛑 Paraiso Caipira is down

In d95f278, Paraiso Caipira (https://paraisocaipira.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Paraiso Caipira is back up in d7dd890.

repo: andrelug/uptime


text:
Adjust Zooz ZSE42 battery types

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
Zooz has multiple versions of the ZSE42. Older models use the CR2032 battery. Newer models use the CR2450 battery. This seems to be getting changed regularly in the device listing as people with different models fill out new device requests.
Most recently this was changed in https://github.com/andrew-codechimp/HA-Battery-Notes/issues/1496
Describe the solution you'd like
I'd like there to be a way to either differentiate between the two devices (and store both in the device listing) or to prevent updates to this device from being populated automatically into the device listing. In the current architecture, this device needs to be kept at "MANUAL"
Related discussions have happened in #1266, https://github.com/andrew-codechimp/HA-Battery-Notes/pull/1228#issuecomment-1978201980
Describe alternatives you've considered
Alternatively, users can maintain their own device listing, but that seems like a bad idea.
Additional context
N/A

This device was recently discussed here
At the moment if the make, model and hardware version are identical I cannot have the library differentiate.
I have set it to MANUAL and will keep it like that until perhaps the integration owner is able to make a differentiation with the new Model ID coming in 2024.8 of Home Assistant.
Battery Notes can only work with the data presented, raise this with the integration owner and see if you can get them to use the new Model ID, or at least have a suffix to the existing model.

Thanks for the link to the discussion section (the one place I didn't check).
Does setting it to manual prevent it from being updated automatically by a new device request issue?
The reason I opened this issue is that it used to work in manual mode for me for the past couple of months and then recently I got a new ZSE42 and it was suggesting an incorrect battery again. Maybe my library version was out of date since I see the current main branch has it set correctly.

It was changed back to Manual only a few days ago, you should get the library updated daily unless there was a problem the last time it tried to update.
I try to pay attention to device updates to sanity check them but occasionally they slip through, I may have to think about auto discarding changes to manual devices if this happens often.

I may have to think about auto discarding changes to manual devices if this happens often.
That was my suggestion with this feature request.

Thanks for the explanation!

authors: andrew-codechimp rohankapoorcom

repo: andrew-codechimp/HA-Battery-Notes


text:
🛑 nhcam is down

In c2280e8, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 28677e9.

repo: andrewdavies-net/upptime


text:
🛑 nhcam is down

In 3a9e0e1, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 1fd6c34.


text:
🛑 nhcam is down

In 970f3ed, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in c4305dd.


text:
🛑 plex is down

In 81624ec, plex ($PLEX) was down:

HTTP code: 0
Response time: 0 ms

Resolved: plex is back up in 0248e21.


text:
🛑 Gioia News is down

In 33863f6, Gioia News (https://gioia.news) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Gioia News is back up in a55e5dc after 17 minutes.

repo: andrewgioia/status


text:
New release with recent changes

Can we have a release that would include recent changes?
Thank you!

I second this. Is there any housekeeping needed for a new release that someone would be able to contribute toward?

+1

+1 :pray:

@andrewjroth ping, releasing shouldn't take too much time 🙏🏼

authors: Jmennius andykingit ari-gen-x maddocker


text:
Is there any possibility of a group dimmer custom control?

I have a number of lights which comprise of multiple bulbs such as this:

Umm.. Don't know why it rotated 90 degrees.. Imagine them hanging off the ceiling rather than a wall :P

Is there any possibility of a light group dimming custom control that works in the same manner as the individual light controls do?

Handing this in Custom UI would be complicated.

Currently HA only supports custom state-cards, not custom cards.
The functionality is also not present in the more-info window.

What should the non-dimmable switches do when a group slider is moved?
What should the slider show if the slights have different value?

I think the best solution for this is a custom backend component.
Or maybe a new light platform that controls and optionally hides other lights.

Actually I see that more-info already has this:
If all group members are of the same domains it shows controls for the first member and changing them affects all members.

Because the more-info already has this, is this something that can be implemented?

Like I allow a single slider on a light state-card to control brightness - you would like a single slider on a group state-card to control brightness of all group members?

Correct, I just discovered that I can have lights I have grouped in hue show up as a light instead of a group.. But for rooms that have multiple lights from different sources this option is still available in the more info area.

authors: andrey-git joshluster mihalski

repo: andrey-git/home-assistant-custom-ui


text:
Can Androguard generate CFG for a pure java method directly?

Given the source code of a java method, can Androguard generate the cfg of the method directly?

short answer: no
long answer: probably... The CFG is generated using the basic blocks - which are generated from the AST. So, if you manage to create a AST for the Java code, you can probably generate the CFG from it.

authors: Ken-HUST reox

repo: androguard/androguard


text:
enhancement: Retrofit with jake wharton's coroutines adapter

very simple
try/catch http exception/catch regular exception would be super nice
it is so nice
https://github.com/JakeWharton/retrofit2-kotlin-coroutines-adapter

This demo loads local data, however, I am also looking forward a remote data feature in the future.

i see your point... But Jake is there at google, Retrofit is in jetpack guide, and coroutines are leaving experimental in 1.3, and there's several  articles about the merit of moving from Rx to Coroutines, even (i think) from Chris Banes.. I think..

@neiljaywarner Yeah, RX should be replaced by coroutine in the future Android development which is a point of my view. Actually, there's a corner of the current codebase which can be used with coroutine.
https://github.com/googlesamples/android-sunflower/blob/master/app/src/main/java/com/google/samples/apps/sunflower/utilities/AppExecutors.kt#L27

@neiljaywarner yes, there are plans to incorporate retrofit and coroutines into Sunflower.  Keep an eye on #208

Added in #625

authors: XinyueZ neiljaywarner tiembo

repo: android/sunflower