Health Bar Problem

Describe your problem here.
I was trying to make a custom healthbar, where the edges are circular, but the colors are over the bg. Is there a fix to this?

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

Move the healthbarBG code to below the healthBar code.

it crashes the game when i load a song when i do that

Move the healthbarBG code to below the healthBar code.

it crashes the game when i do that.

UPDATE: i fixed it. thank you!


Center Script Editor when jumping to bookmarks/breakpoints

Basically #5737 for bookmarks and breakpoints.

Thanks!


python311Packages.aiovlc: 0.3.0 -> 0.3.2

Diff: https://github.com/MartinHjelmare/aiovlc/compare/refs/tags/v0.3.0...v0.3.2
Changelog: https://github.com/MartinHjelmare/aiovlc/blob/v0.3.2/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 261347 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.vlc_telnet
python310Packages.aiovlc
python310Packages.aiovlc.dist
python311Packages.aiovlc
python311Packages.aiovlc.dist


Change Clubs Update Remarks

The app does not retain previous club information when a badge holder switches to a new club. This is important when reviewing Violation data.

like a comment in remarks?

Yes, like the club name that is removed from Club. Has to do with violation
tracking...I don't understand it.
On Fri, Oct 13, 2023 at 10:14 AM Shark @.***> wrote:

like a comment in remarks?
—
Reply to this email directly, view it on GitHub
https://github.com/sharkbit/BadgeApp/issues/258#issuecomment-1761595433,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQAZBWH2M4KAMFTEUXLAIU3X7FEERANCNFSM6AAAAAA53B744A
.
You are receiving this because you authored the thread.Message ID:
@.***>


Update http-mock to work with jeremeamia/SuperClosure v2

dependent lib jeremeamia/SuperClosure was updated to v2, and your code stopped to work(
PHP Fatal error:  Class 'Jeremeamia\SuperClosure\SerializableClosure' not found in /work/www/tsw/vendor/internations/http-mock/src/InterNations/Component/HttpMock/Matcher/AbstractMatcher.php on line 32

Forked and working on this. PR coming soon.

Hmmm...was this addressed in https://github.com/InterNations/http-mock/commit/203f6ef1277ed61571e4026134261ea5db5c619e ?

Yep, 203f6ef1277ed61571e4026134261ea5db5c619e should resolve it.

This hit me too. It'd be nice to do a release with this fix.


iPhone X - Banner

Does the plugin require updating to support the iPhone X?
24 October 2017: Prepare your ads for iPhone X
iPhone X Ad Rendering

Not sure as I have no iPhone X to test, would you try the latest version and report the result?

FWIW, if your app only uses a banner at the bottom of the screen, this change to CDVAdMob.m is enough to lift the banner out of the safe area:
% diff -c CDVAdMob.m CDVAdMob2.m
*** CDVAdMob.m  2017-11-26 13:47:35.404006769 +0000
--- CDVAdMob2.m 2017-11-26 13:48:29.406648265 +0000
***************
*** 718,723 ****
--- 718,727 ----

              bf.origin.x = (pr.size.width - bf.size.width) * 0.5f;

+             if (@available(iOS 11.0, *)) {
+                 bf.origin.y -= self.webView.superview.safeAreaInsets.bottom;
+             }
+
              self.bannerView.frame = bf;

              //NSLog(@"x,y,w,h = %d,%d,%d,%d", (int) bf.origin.x, (int) bf.origin.y, (int) bf.size.width, (int) bf.size.height );

Any solution?

Removing statusbar plugin solved the issue.
ionic cordova plugin rm cordova-plugin-statusbar

I am not able to see the banner at all on an iPhone X. Anyone find a solution to this?

@anacierdem Would you be able to post your solution? I am running into the issue of the banner not displaying at the bottom of an iPhone X but on all other iPhones.

I have changed resizeViews function in CDVAdMob.m as follows;
`- (void)resizeViews {
// Frame of the main container view that holds the Cordova webview.
CGRect pr = self.webView.superview.bounds, wf = pr;
//NSLog(@"super view: %d x %d", (int)pr.size.width, (int)pr.size.height);
// iOS7 Hack, handle the Statusbar
BOOL isIOS7 = ([[UIDevice currentDevice].systemVersion floatValue] >= 7);
BOOL isIOS11 = ([[UIDevice currentDevice].systemVersion floatValue] >= 11);
CGRect sf = [[UIApplication sharedApplication] statusBarFrame];
CGFloat top = isIOS7 ? MIN(sf.size.height, sf.size.width) : 0.0;

CGFloat bottom = 0.0;

if (@available(ios 11.0, *)) {
    bottom = self.webView.superview.safeAreaInsets.bottom;
}

if(! self.offsetTopBar) top = 0.0;

wf.origin.y = top;
wf.size.height = pr.size.height - top;

if( self.bannerView ) {
    if( pr.size.width > pr.size.height ) {
        if(GADAdSizeEqualToSize(self.bannerView.adSize, kGADAdSizeSmartBannerPortrait)) {
            self.bannerView.adSize = kGADAdSizeSmartBannerLandscape;
        }
    } else {
        if(GADAdSizeEqualToSize(self.bannerView.adSize, kGADAdSizeSmartBannerLandscape)) {
            self.bannerView.adSize = kGADAdSizeSmartBannerPortrait;
        }
    }

    CGRect bf = self.bannerView.frame;

    // If the ad is not showing or the ad is hidden, we don't want to resize anything.
    UIView* parentView = self.bannerOverlap ? self.webView : [self.webView superview];
    BOOL adIsShowing = ([self.bannerView isDescendantOfView:parentView]) && (! self.bannerView.hidden);

    if( adIsShowing ) {
        //NSLog( @"banner visible" );
        if( bannerAtTop ) {
            if(bannerOverlap) {
                wf.origin.y = top;
                bf.origin.y = 0; // banner is subview of webview
            } else {
                bf.origin.y = top;
                wf.origin.y = bf.origin.y + bf.size.height;
            }

        } else {
            // move webview to top
            wf.origin.y = top;

            if( bannerOverlap ) {
                bf.origin.y = wf.size.height - bf.size.height - bottom; // banner is subview of webview
            } else {
                bf.origin.y = pr.size.height - bf.size.height - bottom;
            }
        }

        if(! bannerOverlap) wf.size.height -= bf.size.height;

        bf.origin.x = (pr.size.width - bf.size.width) * 0.5f;

        self.bannerView.frame = bf;

        //NSLog(@"x,y,w,h = %d,%d,%d,%d", (int) bf.origin.x, (int) bf.origin.y, (int) bf.size.width, (int) bf.size.height );
    }
}

self.webView.frame = wf;

//NSLog(@"superview: %d x %d, webview: %d x %d", (int) pr.size.width, (int) pr.size.height, (int) wf.size.width, (int) wf.size.height );

}`
This is not covering all the cases but working nicely on portrait iphoneX for me.

@anacierdem Thank you for sharing. I have made the changes to that file but they are not getting called. Do I need to do something special to get this code to be complied and used?

Doing cordova prepare should update the code in the xcode project. If that doesn't work, you may try removing and adding the ios platform. Or just update the files inside platforms/ios/plugins.

Yeah, I figured out I had to edit the files in Xcode instead of a different editor. Thanks for the reply! Your update is working nicely in pushing the ad up. It just disappears when I rotate the phone from portrait to landscape. It doesn't come back when I flip it back either. Very odd.

That does not cover rotation, let alone landscape mode.

Oh jeez, okay I did not realize the complications I guess. Still trying to learn/figure out all this app business.

https://github.com/ratson/cordova-plugin-admob-free/pull/186 should address this, free feel to reopen if it does not.


Allow hiding id column without breaking links to child pages

It would be nice to be able to hide id columns from the table view without breaking the links to child pages. The workaround for now is just to move the id column to the end, which is fine.
Actual Behavior:

De-select ID column

Click on a row in the table

End up on a 404 page (note the URL)

Expected Behavior:
De-selecting the ID column should hide it from the table, but still use it for creating the links to individual record pages

@swrobel thanks for reporting this - it has been fixed in the newest version:
https://rubygems.org/gems/motor-admin/versions/0.2.33

Wow @omohokcoj thanks so much for the quick fixes! 🙌🏼


[LikeCoin] Proposal votes mismatch

Bug description

Last checked likecoin's latest proposal had 69 votes but bdjuno was only able to log 9 of those. Would we be able to run a script that runs through the blocks and log only msgVote so that the proposal is correctly caught up?
Steps to reproduce

Expected behavior

@RiccardoM  will the current proposals on LikCcoin be updated to fix the mismatch?

@ryuash Yes, we can upgrade Likecoin to use the new version that includes the following command:
bdjuno fix gov proposal [id]

Once the new version is installed, we simply have to run that command and the whole data about that proposal should be re-fetched from the node and re-stored inside the database fixing any problem


Change tracking on components holding handles to assets don't trigger when the asset handle transitions from the loading to the loaded state

Bevy version
0.5
Operating system & version
Windows 10
What you did
Have a component hold a Handle<T> of some asset. In my case, I'm working on integration with the Synthizer audio library and have Sound components which take in a handle to the Buffer of audio to use.
When the asset finishes loading, then the behaviour I wanted is for the sound to e.g start playing
Hence, I have a query on Changed<Sound> to know when Sound components have been changed and logic should be rerun.
What you expected to happen
Change tracking work for resource handles on components when they transition from loading to loaded states.
What actually happened
Change tracking doesn't work in this case.
Additional information
Any additional information you would like to add such as screenshots, logs, etc.

Yup this is a known issue...
In Bevy there's one place where this happens, as a ColorMaterial has an Handle<Texture>.
Workaround is here:https://github.com/bevyengine/bevy/blob/73f4a9d18f609e52d28e2963635560e0b78a2f9f/crates/bevy_sprite/src/color_material.rs#L60-L63
A more general solution would be nice 👍

Yeah I'm open to alternatives to the current "asset change events", but I don't want to overload the semantics of Handle<T> changing. That should only indicate that the "handle component value" has changed, not the asset it points to.

That should only indicate that the "handle component value" has changed, not the asset it points to.

Hmm. I kind of like the idea of a specialized AssetChanged query filter (and corresponding .is_asset_changed method) in order to allow users to opt-in to this information. That should be fairly easy to implement.
There are two possible designs here:

Returns true if the underlying asset data changed, returns false if only the address stored in the handle changed.
Returns true if the underlying asset data changed or the address stored in the handle changed.

The first one is properly disjoint from Changed, but I can't imagine this behavior would be commonly wanted.
The second design would push us towards adding a Not query filter again, but that's easy. I think this is my preferred approach.

@mockersf Thanks for that link. There's one part which I don't understand, why the use of the ManualEventReader vs a normal EventReader for material_events_reader? What's the difference?


Can't preload associations using custom primary keys

Elixir version
1.17.2
Database and Version
PostgreSQL 15.5
Ecto Versions
3.11.2
Database Adapter and Versions (postgrex, myxql, etc)
0.18.0
Current behavior
i have 2 entities on a already working database, so i can't change the primary key to the default id on the cliente
defmodule ExCraw.Cliente do
  use Ecto.Schema

  @primary_key {:id_cliente, :integer, []}
  schema "clientes" do
    field(:name, :string)
    has_many(:words, ExCraw.Word, foreign_key: :id_cliente)
  end
end

defmodule ExCraw.Word do
  use Ecto.Schema

  @primary_key {:id, :integer, []}
  schema "words" do
    belongs_to(:cliente, ExCraw.Cliente, foreign_key: :id_cliente)
    field(:word, :string)
  end
end

then when trying to query like this:
words =
      ExCraw.Word
      |> ExCraw.Repo.all()
      |> ExCraw.Repo.preload(:cliente)
      |> Enum.map(fn x ->
        %{
          word: x.word,
          id_cliente: x.id_cliente,
          cliente: x.cliente.name
        }
      end)

i get this error:
19:00:09.492 [error] GenServer #PID<0.492.0> terminating
** (Ecto.QueryError) deps/ecto/lib/ecto/association.ex:1226: field `id` in `where` does not exist in schema ExCraw.Cliente in query:

from c0 in ExCraw.Cliente,
  where: c0.id in ^[
  5,
  51,
  17,
  29,
  4,
  20,
  13,
  41,
  49,
  50,
  7,
  8,
  48,
  42,
  3,
  1,
  47,
  46,
  12,
  45,
  43,
  39,
  40,
  32,
  28,
  27,
  30,
  25,
  44,
  15,
  2,
  19,
  31,
  38,
  16,
  21,
  37,
  35,
  36,
  34,
  33,
  26,
  23,
  9,
  24,
  22,
  18,
  14,
  11,
  10,
  6
],
  select: {c0.id, c0}

    (elixir 1.17.2) lib/enum.ex:2531: Enum."-reduce/3-lists^foldl/2-0-"/3
    (elixir 1.17.2) lib/enum.ex:1829: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
Last message: {:continue, {:startup, [crawl_id: "13fa812e-5376-11ef-8f9a-be46a4acf2ac"]}}
State: %{name: ExCraw.StackExchange, workers: [ok: #PID<0.495.0>, ok: #PID<0.496.0>, ok: #PID<0.497.0>, ok: #PID<0.498.0>, ok: #PID<0.499.0>, ok: #PID<0.500.0>, ok: #PID<0.501.0>, ok: #PID<0.502.0>], itemcount_limit: 100, crawl_id: "13fa812e-5376-11ef-8f9a-be46a4acf2ac", tref: #Reference<0.843542996.2263089155.215353>, prev_scraped_cnt: 0, closespider_timeout_limit: 10}

when querying individually for the Cliente, then it works:
words =
      ExCraw.Word
      |> ExCraw.Repo.all()
      |> Enum.map(fn x ->
        %{
          word: x.word,
          id_cliente: x.id_cliente,
          cliente: ExCraw.Cliente |> ExCraw.Repo.get!(x.id_cliente)
        }
      end)

(output example)
19:09:09.393 [debug] QUERY OK source="clientes" db=67.9ms idle=618.2ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [40]

19:09:09.462 [debug] QUERY OK source="clientes" db=68.9ms queue=0.1ms idle=617.9ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [40]

19:09:09.530 [debug] QUERY OK source="clientes" db=67.7ms idle=615.9ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:09.598 [debug] QUERY OK source="clientes" db=67.8ms idle=616.4ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:09.668 [debug] QUERY OK source="clientes" db=69.9ms idle=615.4ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:09.736 [debug] QUERY OK source="clientes" db=67.4ms queue=0.1ms idle=618.1ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:09.804 [debug] QUERY OK source="clientes" db=67.3ms idle=617.1ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:09.874 [debug] QUERY OK source="clientes" db=70.4ms idle=617.3ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:09.943 [debug] QUERY OK source="clientes" db=68.4ms idle=618.5ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.012 [debug] QUERY OK source="clientes" db=68.4ms idle=618.9ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.083 [debug] QUERY OK source="clientes" db=70.6ms idle=619.3ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.151 [debug] QUERY OK source="clientes" db=68.0ms idle=620.9ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.219 [debug] QUERY OK source="clientes" db=67.5ms idle=621.3ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.289 [debug] QUERY OK source="clientes" db=69.3ms idle=621.1ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.358 [debug] QUERY OK source="clientes" db=69.2ms idle=620.4ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.427 [debug] QUERY OK source="clientes" db=68.9ms idle=622.0ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.495 [debug] QUERY OK source="clientes" db=67.6ms idle=623.9ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.564 [debug] QUERY OK source="clientes" db=67.5ms idle=621.4ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.635 [debug] QUERY OK source="clientes" db=71.3ms queue=0.1ms idle=620.9ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.705 [debug] QUERY OK source="clientes" db=68.8ms queue=0.1ms idle=624.1ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.774 [debug] QUERY OK source="clientes" db=68.8ms queue=0.1ms idle=622.6ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.842 [debug] QUERY OK source="clientes" db=67.3ms queue=0.1ms idle=623.7ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

19:09:10.909 [debug] QUERY OK source="clientes" db=67.1ms idle=623.4ms
SELECT c0."id_cliente", c0."client_name" FROM "clientes" AS c0 WHERE (c0."id_cliente" = $1) [19]

but as you would expect, with SEVERE performance degradation
so, this looks like a bug, or just a edge case for a not so common situation :')
Expected behavior
I think it should had preloaded the association using the custom primary key instead of the default :id one :')

Hi @raiomarco ,
:foreign_key means the name of the field on the current schema while :references means the name of the field on the associated schema. :references defaults to :id. If you put references: :id_clientle in ExCraw.Word it should work.

To be more precise, the foreign key is always the foreign key in the database. The references points to the primary key. So you need to swap them accordingly on each schema.

ohhh, my bad, it worked...
sorry for bothering with this :')
and thanks for helping me with this


The application doesn't respect the username specified in the chart values

From the pod logs:

org.postgresql.util.PSQLException: FATAL: password authentication failed for user "plugin-health-scoring"

Release values in the corresponding secret (sops encrypted file, in a private repo):
database:
    username: plugin_health
    password: XXXXXXXXXXXXXXX
    server: public.postgres.database.azure.com
    name: plugin_health

Secret passed as values of the chart: https://github.com/jenkins-infra/kubernetes-management/blob/4da71ea7204cb1f862f304c4981c7a8b447370d6/clusters/prodpublick8s.yaml#L287
Expected result:
The app use the values specified via the chart.
Suggestion: retrieve the username (and all other parameters) from the environment variable POSTGRE_USER: https://github.com/jenkins-infra/helm-charts/blob/b7e23c32ddfb15e620aa3428ad61847f183dd719/charts/plugin-health-scoring/templates/deployment.yaml#L57
Related to: https://github.com/jenkins-infra/helpdesk/issues/3114

Nevermind, the error comes from the chart, I've aligned database parameters names but missed database.user


Rename nvidia.com/accelerator-memory extended resource

Addresses - https://github.com/openshift/instaslice-operator/issues/33 and https://github.com/openshift/instaslice-operator/issues/124
nvidia.com/accelerator-memory :arrow_right: org.instaslice/accelerator-memory-quota

/cc @sairameshv


PEX error

Spark link
https://spark.lucko.me/iFP6NTIolM
Expected behavior
No console errors for PEX (like when using Paper & Spigot)
Observed/Actual behavior
[19:26:39] [pool-60-thread-1/WARN]: java.io.IOException: Server returned HTTP response code: 403 for URL: https://api.github.com/gists
[19:26:39] [pool-60-thread-1/WARN]: 	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1998)
[19:26:39] [pool-60-thread-1/WARN]: 	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1599)
[19:26:39] [pool-60-thread-1/WARN]: 	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:223)
[19:26:39] [pool-60-thread-1/WARN]: 	at PermissionsEx-1.23.4.jar//ru.tehkode.permissions.bukkit.ErrorReport.gistText(ErrorReport.java:120)
[19:26:39] [pool-60-thread-1/WARN]: 	at PermissionsEx-1.23.4.jar//ru.tehkode.permissions.bukkit.ErrorReport$Builder.build(ErrorReport.java:374)
[19:26:39] [pool-60-thread-1/WARN]: 	at PermissionsEx-1.23.4.jar//ru.tehkode.permissions.bukkit.ErrorReport.withException(ErrorReport.java:330)
[19:26:39] [pool-60-thread-1/WARN]: 	at PermissionsEx-1.23.4.jar//ru.tehkode.permissions.bukkit.ErrorReport$2.run(ErrorReport.java:193)
[19:26:39] [pool-60-thread-1/WARN]: 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
[19:26:39] [pool-60-thread-1/WARN]: 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[19:26:39] [pool-60-thread-1/WARN]: 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[19:26:39] [pool-60-thread-1/WARN]: 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[19:26:39] [pool-60-thread-1/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:1583)
[19:26:39] [pool-60-thread-1/ERROR]: [PermissionsEx] Error occurred with PermissionsEx! Please post it to http://git.io/. Full error:
java.lang.NullPointerException
Steps/models to reproduce
PEX v1.23.4
Every few seconds console throws this error.
Purpur version
1.21.1-2321-2eaea6a (MC: 1.21.1)*
Agreements

[X] I am running the latest version of Purpur available from https://purpurmc.org/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[ ] I ticked all the boxes without actually reading them
[X] My version of Minecraft is supported by Purpur.

Other
No response

Forgive me if this is the wrong place, I'm new to Purpur and trying to sort out this new error as I've not seen this before. Thanks!

Not a Purpur issue, but you can join our discord server for help with your problem in the #help-and-support channel. https://purpurmc.org/discord


Doesn't seem to work behind a corporate proxy?

I followed the installation instructions on the README.
Then, when I try to run the tool, I get an error:
λ npm-windows-upgrade
npm-windows-upgrade 0.3.2
? This tool will upgrade npm. Do you want to continue? Yes
R:\java\tools\npm\node_modules\npm-windows-upgrade\bin\npm-windows-upgrade:294
                return console.err(chalk.bold.red('We have trouble connecting
                               ^
TypeError: undefined is not a function
    at R:\java\tools\npm\node_modules\npm-windows-upgrade\bin\npm-windows-upgrade:294:32
    at R:\java\tools\npm\node_modules\npm-windows-upgrade\bin\npm-windows-upgrade:55:13
    at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:81:16)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:94:17)

There seems to be two problems.

Re: the "We have trouble connecting to the Internet..." error message seems to indicate that npm-windows-upgrade seems to have trouble connecting to the Internet and I'm not sure why.
I'm in a corporate environment behind a proxy but npm is configured correctly to use the proxy and it has no problem doing downloading packages from npmjs.org example.
Maybe this is happening because I'm behind a  corporate proxy and the script does not correctly pick up the proxy settings like npm does?

npm-windows-upgrade then crashes trying to report the above issue.

I'm using node v0.12.7 and npm 2.11.3. behing a proxy

Hey, thanks for reporting! I didn't really consider corporate proxies, so this one is on me - I'll add an option to override the usual Internet check (which is just a DNS ping to microsoft.com).

Thanks again! This feature is now in 0.4.0 (as --no-dns-check), which was just published :+1:

Fantastic!
Thanks for fixing this so quickly.
I'll test the fix on Monday.

I can confirm that both issues are corrected in 4.0 :+1:.

Error message correctly displayed in case of Internet connection failure
--no-dns-checkoption works as advertise.

Thanks again for the enhancement!


Add current source to branch sb-324

Spring AI

Java 21
SpringBoot 3.2.4
LangChain4J 0.2.0

This code base is getting updated with the latest versions of

Java 23
SpringBoot 3.3.4
LangChain4J 1.0.0


Move Tailwind CSS variables from JS to CSS files

We have a number of constants that contain TailwindCSS styles. These constants should be converted to CSS classes.
These styles can be found in AddWord.js and AddExample.js. They should all be converted into CSS classes and applied in the appropriate locations in JS.

Closed by #225


Limiting dragging area

I'd like to be able to limit the draggable area when the popup is open. For instance, a small strip at the top of the popup will respond to dragging, but the rest of the view will not. Right now, with  .popupInteractionStyle(.drag), the entire popup view is draggable.
Is there a way to limit the draggable area, either on the library side or the app side?

Hello, can you please explain further what you are looking to do? This library uses my LNPopupFramewotk under the hood, which might have a solution. I just need to think how to integrate it with LNPopupUI.

If I understand correctly, this is what would be useful in LNPopupController:
https://github.com/LeoNatan/LNPopupController/blob/c9683ef4da534a83cb9fe2481360a9c6ecf9b91f/LNPopupController/LNPopupController/UIViewController%2BLNPopupSupport.h#L96
Now the question is, how to design the SwiftUI API.

Hello @LeoNatan ,
I don't think so.
@svenoaks would like to be able to limit the draggable area when the popup is open.
So I think he must be able to answer at:
gestureRecognizerShouldBegin(_:)

It's possible to add a view and designate that for popup interaction. That sounds much more convenient to me than doing calculation in the gesture recognizer delegate.

Hi, yes it would something like designate a view in the popup as the only one for interaction. As a workaround, I was trying to block the dragging from happening by adding highPriorityGestures to some views in the popup, but without success.
I have attached a screenshot of exactly what I mean.

Suggestions for SwiftUI API are welcome.

As an iOS noob, I'm not sure how possible or convenient it is, but could it just as simple as a View modifier that we place on one of the children of the popup? Like .popupInteractionView()

@svenoaks That's what I was thinking too. I will give it a go, and see if can be made to work.

Implemented in 1.2.12

Just make sure to read the note in the API header. You should set the interaction container to be a view that is at the back of the hierarchy, to prevent issues with blocking views underneath.

Hi, thanks for doing it so quick. I can't get it to work though, it seems to either stop the interaction in the popup completely or not limit it at all depending on where I put the .popupInteractionContainer()
For example, here the entire popup is still able to be interacted with.

Please provide a small demo project where it fails. It could be a limitation of the background modifier in SwiftUI, and so you might need to move the popup interaction container to the bottom or top of the call.

I’ll try to see what’s going on soon.

Hi, any progress on this? 🙏

Sorry, not yet. Will look soon.

Please test now. After my fix in 1.2.13, your example code behaves as expected.

Thank you for continuing to work on this, I know you are probably busy with other things. If you wanted some compensation for your time for continuing to perfect this feature and also #8 you can email me at the email in my profile, let me know what your hourly rate would be.
A couple things I noticed:

In the [demo app] I added a ScrollView to the player, when the ScrollView is at the top, the popup will be dragged back to the collapsed state, even though the popupInteractionContainer() on the View at the top of the screen should prevent this from happening.

When popupInteractionContainer() is used, the popupBar no longer responds to dragging (except on the very bottom of it for some reason, possibly it's receiving gestures from the popupInteractionContainer below it). I feel like most use cases that use popupInteractionContainer() would still want the popupBar to be draggable.

(https://github.com/svenoaks/LNPopupUI/blob/c6a69d7f643127b0de612470daca8ad8b63f5862/LNPopupUIExample/LNPopupUIExample/MusicScene/PlayerView.swift#L36)

Edited the above  demo app so the popupInteractionContainer() is no longer within the ScrollView to make the intention more clear.

Regarding 1, I will not make a change. Scroll views are meant to interact with the framework. If your interaction view is inside a scroll view, it will not work as expected with the current implementation. It's a limitation with SwiftUI. Maybe will look to improve this in the future.
2 sounds like a bug. Does it reproduce in the above linked project?

Regarding 1, I will not make a change. Scroll views are meant to interact with the framework. If your interaction view is inside a scroll view, it will not work as expected with the current implementation. It's a limitation with SwiftUI. Maybe will look to improve this in the future.
2 sounds like a bug. Does it reproduce in the above linked project?

In 1, the interaction view is not inside the ScrollView, the ScrollView is below the interaction view in the VStack. Not sure if it makes a difference for what you're saying about the limitation with SwiftUI, but wanted to point that out.
Yes 2, is happening with the demo app linked above.

I changed the implementation recently so that the view is just a hint for the system where to limit the interaction area. The gesture recognizer is not actually added to that view. The reason is that in some cases the system does not send the gestures to the interaction view. So right now, I calculate where the interaction view's frame is in relation to the topmost content view, and limit interaction to that view only. You can see why this approach wouldn't work if the interaction view is in a scroll view.
Will take a look soon.

2 should be fixed with latest LNPopupController.


feat: add contracts feature flag to arbiter-core

Moves contracts/ into arbiter-core and adds a feature flag to the crate to include the contracts.
Resolves #573

Nice work!

Feel free to squash


When can't acquire lock file, we should trace the lock info

This helps with investigation.   When we can't acquire lock file, we should trace out the lock info (containing who owned it and when acquired etc).

I started looking into this.  Currently when the lock is taken, we will write the stack trace of the owning thread to the lock file.  The intention is, to investigate when lock could not be acquired, one could look into this file and figure out what stack has the lock and when it was taken.
There are rooms for improvement.

When the lock can't be acquired, we should trace the lock owner info to the kudu trace file directly.  This would help with diagnostic the issue (no need to understand where the lock file is and know that one has to read it to get such info).

We should return more info to caller why lock can't be taken (not just vague conflict operation, try later).  Ideally, it would be The operation conflicts with pending Delete Repository operation started on 05/12/16 22:34 UTC.  Please try again later.   To achieve this, I propose we enhance IOperationLock.Lock and IOperationLock.LockAsync to take addition info.   For instance, _lock.Lock("Delete Reporitoy") to indicate that lock is taken for this specific operation.  This info will be written to lock file once acquired.  Any subsequent conflicting operations can then return a meaningful error to user.

Thought?

Sounds like good improvements if you think it's worth the investment. Have you run into several cases where having that would have helped?


Vite HMR is returning a 404 Page not Found when proxied

Thanks for this awesome fork! If it works, it makes my live much easier for local development with Hot Module Reloading.
So my Problem is as follows:
I expose two virtual Hosts, www.domain.test, hmr.domain.test:8001.
www.domain.test works as expected with the standart http Port 80
But the hmr.domain.test returns a 404 Page not Found.
The default.conf says the following:
# hmr.domain.test
upstream hmr.domain.test_8001 {
      # Cannot connect to network 'domain' of this container
      ## Can be connected with "nginx-proxy" network
      # domain-http
      server <IP_ADDRESS>:8001;
}

server {
	server_name hmr.domain.test;
	listen 80  ;
	access_log /var/log/nginx/access.log vhost;
	# Do not HTTPS redirect Let'sEncrypt ACME challenge
	location ^~ /.well-known/acme-challenge/ {
		auth_basic off;
		auth_request off;
		allow all;
		root /usr/share/nginx/html;
		try_files $uri =404;
		break;
	}
	location / {
		return 301 https://$host$request_uri;
	}
}

that seems to be fine so far.
My VIRTUAL_HOST is this: events.domain.test, www.domain.test
And i am using a Wildcard Certificate for the Domain but this is working for www.domain.test
Do you have any idea what could be wrong?
The hmr.domain.test should be exposed on Port 80 right?
Thank you a lot!

Sorry, i got it to work!


About OPLSAA example of hexadecane

I ran the file on the OPLSAA force field for n-hexadecane.However, there are a few questions that I am not quite sure about. Firstly, regarding the creation speed, the annotation is 300K, but the actual creation speed is 900K.Secondly, why is there a sudden temperature drop and then a rapid increase to equilibrium in the command "fix fxlan all langevin  900.0 900.0  120 48279 fix fxnve all nve"output,Like in the picture.Finally, I really don't quite understand your comment on NPT balance, # At the very end of the previous simulation, the temperature dropped below#The boiling point Run the simulation for longer at these conditions to#Give it a chance for the vapor ->liquid transition to complete#We will also slowly decrease the pressure to 1 bar. Why is there a gas-liquid phase transition? Although high temperatures (900K)were initially used, the output pressure at high temperatures（900） was particularly high, and n-hexadecane is a liquid. Isn't this high pressure going to convert into a gas first

The annotation most likely comes from a previous example. The actual velocity command is the one executed and it sets the temperature to 900 K.
To understand the behaviour of the energy at the beginning of the simulation, it is useful to visualise the trajectory.
The initial guess of the system is created with the Moltemplate command:
molecules = new Hexadecane [12].move(0, 0, 5.2)
                           [12].move(0, 5.2, 0)
                           [2].move(31.2, 0, 0)

which creates an orthogonal grid. The molecules are separated at the beginning of the simulation as if they were in the gas phase. Then, they collapse into clusters, thus decreasing the total energy (and temperature). Then, the Langevin thermostat pumps energy into the system to reach the target temperature, thus increasing the temperature to its equilibrium value.

Why is there a gas-liquid phase transition?

The initial structure of the sample is created at low density to avoid bad contacts, but the molecules are oriented on a lattice by construction. The strategy of this simulation is to first relax the structure at high temperature and fixed volume to disrupt the order of the initial structure, which is not expected in a real system with low density. Then the box vectors are relaxed at high pressure as the sample is cooled, to ensure that the sample ends up a liquid. In the last step, the pressure is decreased at room temperature, at which point the sample should remain liquid.
I appreciate that this example is a bit convoluted. I will prepare a tidied-up version of the same simulation which will be delivered in the next update. I hope this answers your questions.

I could not have answered this better myself.  Thank you Otello!
Yes.  Unless you use packmol (or some other geometry generation program), the initial geometry created by moltemplate using a lattice is extremely unrealistic for a liquid, and likely to put the system a kinetic trap (local minimum).  So this example uses high temperatures to completely obliterate any memory of that initial lattice shape.  Then it uses a combination of high pressures and cooling to bring the system back down to a temperature and density of a liquid at 1atm, 300K.  There are many moltemplate examples which use this strategy.  (I did the same thing for the packmol examples, even though I probably didn't need to.)
Thanks for the feedback.  I will take a look at the README files for these examples to see if they can be clarified (in light of your questions).  (But it might be a week or two.)

Thank you @jewettaij.Your explanation made it clear to me that it would be great if the in file description provided in moltemplate could be a little clearer

I updated the confusing run.in.npt files for all the hexadecane examples.  (092e533)
Thanks for posting your question.


EFNavigationBar

迫于本项目目前较多 Bug 且长期无人维护，遂基于 WRNavigationBar_swift 代码建立了项目 EFNavigationBar，可由 WRNavigationBar_swift 无缝切换，且支持通过 CocoaPods 进行依赖，目前已发布 0.1.0 版本，欢迎有需求的同学使用和提意见，感兴趣的同学也可共同参与开发 / 维护工作。
同时在此对 WRNavigationBar_swift 原作者  wangrui460 所做的工作表示感谢。

Due to the fact that there are many bugs in this project now and no maintenance for a long time, the project EFNavigationBar has been established based on WRNavigationBar_swift. It can be seamlessly switched from WRNavigationBar_swift to EFNavigationBar, and supports dependence through CocoaPods. Currently, version 0.1.0 has been released. Who need it are welcome to use and comment with interest, you can also participate in development / maintenance work.
At the same time, thanks to the original author of `WRNavigationBar_swift' wangrui460 for his work.


Update to the Releases

I'm trying to use this package and I need the reqDur to be HistogramVec but in the current release(v0.1.0), it is a Summary. Can you fast track the next release?
My point being versions should be moving. The first and last version came two years back..

@zsais I also need this, can you release a new version?


updates to regions_yaml_to_csv.ipynb

The updates to regions_yaml_to_csv.ipynb added the other names field as well as the corresponding iso_alpha_3 country code for subregions of countries.
regions_new_merged.csv was added and later removed to add to the epimodel-covid-data repo. regions_new_merged.csv contains the information from the old regions.csv file as well as the information from regions.yaml. There were some country inconsistencies between the two files, so some countries were removed from the old csv file to make the merge possible.

Thanks! :+1:


Fix GitHub releases descriptions

This is about https://github.com/sirupsen/logrus/releases
The following releases have broken changelog:

v1.7.0 is not formatted like other releases
v1.6.0 says nothing
v1.4.2 says nothing

The source of truth is supposed to be in this file
https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md
Does its content sounds clear enough ?

I don't have time to fix past releases descriptions, we'll try to keep think consistent for the next ones


trouble with rkt-metadata unitfiles on fedora (SELinux)

I have a scratch build of rkt 0.15.0 for fedora rawhide here if anybody wants to try: https://koji.fedoraproject.org/koji/taskinfo?taskID=12548936
I see this when running rkt via the rpm
$ sudo rkt run --insecure-options=image --interactive --mds-register docker://busybox
rkt: using image from local store for image name coreos.com/rkt/stage1-host:0.15.0-4.git5988b72.fc24
rkt: using image from local store for url docker://busybox
2016/01/14 18:01:26 Put http://unixsock/pods/dfdc89b9-2cca-4cac-a2ce-acc67720e483?token=1c5015d0ca5f6eb5ae732c8a14241d95: dial unix /run/rkt/metadata-svc.sock: connect: no such file or directory
2016/01/14 18:01:27 Put http://unixsock/pods/dfdc89b9-2cca-4cac-a2ce-acc67720e483?token=1c5015d0ca5f6eb5ae732c8a14241d95: dial unix /run/rkt/metadata-svc.sock: connect: no such file or directory
2016/01/14 18:01:28 Put http://unixsock/pods/dfdc89b9-2cca-4cac-a2ce-acc67720e483?token=1c5015d0ca5f6eb5ae732c8a14241d95: dial unix /run/rkt/metadata-svc.sock: connect: no such file or directory
2016/01/14 18:01:29 failed to register the pod: failed to register pod with metadata svc: could not reach the metadata service.
Make sure metadata service is currently running or use
"rkt run --mds-register=false" to skip pod registration.
For more information on running metadata service,
see https://github.com/coreos/rkt/blob/master/Documentation/subcommands/metadata-service.md

Also, this:
$ systemctl status rkt-metadata
● rkt-metadata.service - rkt metadata service
   Loaded: loaded (/usr/lib/systemd/system/rkt-metadata.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: http://github.com/coreos/rkt

Jan 14 16:56:38 rawhide.os1.phx2.redhat.com systemd[1]: Dependency failed for rkt metadata service.
Jan 14 16:56:38 rawhide.os1.phx2.redhat.com systemd[1]: rkt-metadata.service: Job rkt-metadata.service/start failed with result 'dependency'.
Jan 14 16:57:03 rawhide.os1.phx2.redhat.com systemd[1]: Stopped rkt metadata service.
Jan 14 16:57:03 rawhide.os1.phx2.redhat.com systemd[1]: Dependency failed for rkt metadata service.
Jan 14 16:57:03 rawhide.os1.phx2.redhat.com systemd[1]: rkt-metadata.service: Job rkt-metadata.service/start failed with result 'dependency'.

$ systemctl status rkt-metadata.socket
● rkt-metadata.socket - rkt metadata service socket
   Loaded: loaded (/usr/lib/systemd/system/rkt-metadata.socket; disabled; vendor preset: disabled)
   Active: failed (Result: resources)
   Listen: /run/rkt/metadata-svc.sock (Stream)

Jan 14 16:56:33 rawhide.os1.phx2.redhat.com systemd[1]: rkt-metadata.socket: Failed to listen on sockets: Permission denied
Jan 14 16:56:33 rawhide.os1.phx2.redhat.com systemd[1]: Failed to listen on rkt metadata service socket.
Jan 14 16:56:33 rawhide.os1.phx2.redhat.com systemd[1]: rkt-metadata.socket: Unit entered failed state.
Jan 14 16:56:38 rawhide.os1.phx2.redhat.com systemd[1]: rkt-metadata.socket: Failed to listen on sockets: Permission denied
Jan 14 16:56:38 rawhide.os1.phx2.redhat.com systemd[1]: Failed to listen on rkt metadata service socket.
Jan 14 16:57:03 rawhide.os1.phx2.redhat.com systemd[1]: rkt-metadata.socket: Failed to listen on sockets: Permission denied
Jan 14 16:57:03 rawhide.os1.phx2.redhat.com systemd[1]: Failed to listen on rkt metadata service socket.
Jan 14 17:12:33 rawhide.os1.phx2.redhat.com systemd[1]: rkt-metadata.socket: Failed to listen on sockets: Permission denied
Jan 14 17:12:33 rawhide.os1.phx2.redhat.com systemd[1]: Failed to listen on rkt metadata service socket.

@lsm5 any idea if this is because of SELinux?

@jonboulle you're right. I had to totally disable selinux in /etc/selinux/config to get this working. Earlier, all I did was a setenforce 0 which didn't help. So that's 1 more in the list of selinux issues.

It should be tested again after the following issues are fixed:
https://github.com/systemd/systemd/pull/2816
https://bugzilla.redhat.com/show_bug.cgi?id=1317928
https://github.com/coreos/rkt/pull/2262
https://github.com/coreos/rkt/pull/2247
https://github.com/fedora-selinux/selinux-policy/pull/108
Moving to next milestone.

All the issues above have been fixed, so I am closing this issue.
@lsm5 If this bug happens again, please reopen and specify the version of systemd-nspawn and selinux-policy.


🐛 Bug Report: techdocs-cli publish does not persists case-sensitive entity flag using aws s3

📜 Description
When we publish our documentation to awsS3 using npx @techdocs/cli publish --publisher-type awsS3 --storage-name example-bucket --entity default/Component/my-entity --directory ./site, the upper case C of Component is not respected, resulting in a file path in aws S3: default/component/my-entity
👍 Expected behavior
Publishing techdocs should publish respecting Case, as the path is case sensitive,
👎 Actual Behavior with Screenshots
Publishing techdocs created a path with lower case c resulting in default/component/my-entity

👟 Reproduction steps

npx @techdocs/cli generate --no-docker --source-dir ./ --output-dir ./site
npx @techdocs/cli publish --publisher-type awsS3 --storage-name example-bucket --entity default/Component/my-entity --directory ./site

📃 Provide the context for the Bug.
Docs state that this is case-sensitive, so we cannot use techdocs...
🖥 Your Environment
Running this in CircleCI with a cimg/node:16.18
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Ah, I just noticed this flag legacyUseCaseSensitiveTripletPaths


Cannot publish Error : System.IO.PathTooLongException

I am running RC 2015 Enterprise.
This is the error I am getting when trying to publish
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.DNX.Publishing.targets(145,5): Error : System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
These are my project.json excludes btw
'''
"exclude": [
"wwwroot",
"node_modules",
"bower_components"
],
"publishExclude": [
"node_modules",
"bower_components",
".xproj",
".user",
"**.vspscc"
],
'''
What I need to do to make publish happen, thanks?

Btw this was working fine in CPT 6. I did not do anything special, project is located in the default folder, and is published to go under c:\wwwroot, so I am no doing anything out of ordinary...

I went and created another project, this published fine, so something along the way broke in the project. So as I will merge the projects together, slowly but surely I might figure out what broke in the publishing scheme, regardless if I find it or not I will report it here.

No longer an issue.


Make client requests by URI

Make the uri object for endpoints first class.
Add a class ApiUri that handles putting together the full endpoint
urls. This includes GET params.
Modify the client class to accept these full uri objects when making
requests.

CR :+1:

Mergin' it.


Map Activity

Started working on this now @peter-tackage

@maritoast OK, feel free to push anything you have to a work in progress PR to get some early feedback.


Why don't see the exported CV module in the pipeline json at https://raw.githubusercontent.com/Azure/video-analyzer/main/pipelines/live/topologies/httpExtension/topology.json

In this section of generate and deploy... of this tutorial there is a topology.json file quoted at https://raw.githubusercontent.com/Azure/video-analyzer/main/pipelines/live/topologies/httpExtension/topology.json  However, since the cv model which is used for inferencing is exported and deployed as module in edge device, why the section of this code {         "name": "inferencingUrl",         "type": "String",         "description": "inferencing Url",         "default": "http://yolov3/score"       },       {         "name": "inferencingUserName",         "type": "String",         "description": "inferencing endpoint user name.",         "default": "dummyUserName"       },       {         "name": "inferencingPassword",         "type": "String",         "description": "inferencing endpoint password.",         "default": "dummyPassword"       }, is url like http://yolov3/score and not like container registry. Please comment.

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

ID: a5d4d03d-f715-ae1b-7da2-cffe38f6df6f
Version Independent ID: ee762337-0ccc-8b63-e9d1-86c5b0b98612
Content: Get started with Azure Video Analyzer - Azure Video Analyzer
Content Source: articles/azure-video-analyzer/video-analyzer-docs/analyze-live-video-custom-vision.md
Service: azure-video-analyzer
Sub-service: video-analyzer-subservice
GitHub Login: @Juliako
Microsoft Alias: juliako

See https://docs.microsoft.com/en-us/azure/azure-video-analyzer/video-analyzer-docs/transition-from-video-analyzer #please-close


About metrics generation

About the issue mentioned here:
I'm considering leveraging an open-source (oss) database specifically for metrics collection and analytics, such as InfluxDB or Prometheus. My initial idea was to collect metrics in these databases while using the Assessment Result Collector, provide a simpler snapshot to MongoDB, such as failed jobs, successful attestations, etc. From there, the Dashboard API could run simple queries to offer critical data.
If more detailed or drill-down-enabled analytics are needed, database-specific tools like Grafana or Chronograf could be used (though I'm not entirely sure about the latter).

for me there is an issue with granularity here, that we've seen during the PoC. On the PoC, the metrics were produced at the Attestation Level - which is fine. However, from the attestation level, it was very hard to produce a view per Control or per Component, because we don't know how many attestations there are per assessment, or how many assessments per control (yes, we could just get it all and filter by labels, but then we lose the ability to see which assessment failed).
The question that I wanted to bring is, from a given raw metrics on the Job Spec, how would we keep track that a given Component is compliant/not-compliant ? Or that a Given assessment for a given control on a given component failed?
On the PoC, we "solved" this by having metrics generated from the raw metrics
Component -> generates from raw componentControl
ComponentControl -> generates from raw componentAssessment
ComponentAssessment -> generates from Raw componentAttestation
ComponentAttestation -> Actual raw metrics


add plugin helpers section

Add automatic helpers section for plugin.
Fixes https://github.com/mattermost/mattermost-server/issues/12264

@hanzei oups sorry your question was out of my radar :D English is not my first tongue, I have started some doc (when I dev to see the result of course) locally but never push. I think a fluent dev or a doc-writer will be better for this job ;)

No problems @manland. Still, this is an awesome addition :+1:


No "edit" button

I just installed FlexDash in a fresh Node Red installation in Windows 10, put a couple of FlexDash widgets in a flow, but I do not see the "Edit" toggle, so can't enter edit mode. The rest of it works fine - widgets work as expected, the toggle "Dark mode" is there and works.
I feel like I'm missing something obvious...
Thanks!

Yup! The editing now all happens in the Node-RED flow editor.
If you have issues, please post to the Node-RED forum, lots more help there.

Ah, thanks !!! :)


Bug:

Description

I'm getting this error:
Exception has occurred: TypeError
style() got an unexpected keyword argument 'end'

when hitting this line:
https://github.com/hedythedev/starcli/blob/57ae9cdce0b3bddd27a1bbdb3b665a641c627fc7/starcli/__main__.py#L134
Python version
$ python --version
Python 3.7.0

your operating system (and terminal type of needed)
$ pip freeze | grep click
click==7.1.2

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.15.5
BuildVersion:   19F101

$ bash --version
GNU bash, version 5.0.18(1)-release (x86_64-apple-darwin19.5.0)

starcli version

57ae9cd
any suggestions to the cause of the problem? (if possible)
What is this line for? I can't find any documentation for it in click.secho or click.style.

It seems we have to use nl=True instead, because it had initially been print, then I changed it to secho

nl – if set to True (the default) a newline is printed afterwards.

But according to that we could just remove it completely.


Node marker length of 25 characters is insufficient

The eregs_core.RegNode model's marker field is defined with max_length=25. This prevents loading of RegML with markers that exceed that length, for example the content
<paragraph label="1026-38-c-1-ii" marker="(ii1026-38-c-11026-38-c-1)">
which exists in this large Reg Z file (26 characters).
Current behavior
RegML with large markers cannot be loaded.
Expected behavior
RegML with large markers can be loaded.
Steps to replicate behavior (include URLs)
$ ./manage.py import_xml ../regulations-xml/regulation/1026/2016-14782_20170101.xml
...
django.db.utils.DataError: (1406, "Data too long for column 'marker' at row 47")

I thought I had fixed this. That label is a typo.
On Sep 1, 2017 2:59 PM, "Andy Chosak"<EMAIL_ADDRESS>wrote:
The eregs_core.RegNode model's marker field is defined with
https://github.com/cfpb/eregs-2.0/blob/master/eregs_core/models.py#L186
max_length=25. This prevents loading of RegML with markers that exceed that
length, for example the content

which exists in this
https://github.com/cfpb/regulations-xml/blob/master/regulation/1026/2016-14782_20170101.xml
large Reg Z file (26 characters).
Current behavior
RegML with large markers cannot be loaded.
Expected behavior
RegML with large markers can be loaded.
Steps to replicate behavior (include URLs)
$ ./manage.py import_xml
../regulations-xml/regulation/1026/2016-14782_20170101.xml
...
django.db.utils.DataError: (1406, "Data too long for column 'marker' at row 47")
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cfpb/eregs-2.0/issues/66, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABpLYYQYzQfF91atqXmD2xImIHtx0-0Cks5seFQCgaJpZM4PKhII
.


remove old-styled fontAw. from theme

https://caniuse.com/?search=woff

These lines doesn't hurt and they are for the browsers having the remaining 3% market share


Warn command not working in my  server.

.warn, .warnclear & .warnlog don't work on my server anymore. The only warn command that works is .warnpunish.
I tried it on another server I was admin on and the warn command still workers there but not on my server.

Your using the public NadekoBot? Also, you might wanna check your permissions. Maybe it's not configured right. Perhapes the guys @ Help in the server could help you out future if the above didn't worked out for you.

I'm using public NadekoBot and I have the Nadeko role+ I'm admin. The bot also has admin and I've reset all the perms for the bot 3 times...

Mhm strange.. Could you try to kick and re-add it?

Did that about 4 times. :/

@FrostedWolf DM me server invite. Google#1696

@MaybeGoogle https://gyazo.com/cb79528fb141cd727186a074eb7c4ea7

Just join nadekolog and shoot me a dm.
discord.gg/nadekolog
On Dec 3, 2017 12:57 PM, "FrostedWolf"<EMAIL_ADDRESS>wrote:

@MaybeGoogle https://github.com/maybegoogle https://gyazo.com/
cb79528fb141cd727186a074eb7c4ea7
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Kwoth/NadekoBot/issues/1891#issuecomment-348805470,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Acngw46hPuAFhMMQwAesFjvr3HNpWVmHks5s8u8bgaJpZM4QzYT7
.

another #1535 problem. tell them to hurry up and fix it 😈

We'll track it over there.


Add quic and hq directories to README

After #3831 is merged, we should add quic/ and hq/.

It's merged. 89189f319df71dee759b7ac0d2f6f083520dd0c3

Done. d537cf28193a564bcfa5328757be54d63dd97e99


Wrong syntax for functions in docs?

Hope this is not me being silly, but it looks like a couple of funs on index.html need to be changed to lets. Under the Function section:
fun greet name => "Hello " ^ name;

/* - : 'a => string => string = <fun> (definitely not what you want) */

fun greetMore name => {
  let part1 = "Hello";
  part1 ^ " " ^ name
};

/* - : 'a => string => string = <fun> (again not what you want)

As the docs explain in the next section, functions in reason are first class, meaning you can pass them around like any other value.  I think the intention here was to show how to create a function.  The following section shows how to assign one of these functions to a name using a let binding.
ie
fun x y => x + y is a value
let add = fun x y => x + y assigns this value to the name increment
A little further down the page, the docs give an example of a commonly-used piece of sugar for defining functions and binding them to a name.
let add x y => x + y;
Hope that helps a little!

Thanks for the examples, @Schmavery. The first example of a function in the docs, reason fun greet name => "Hello " ^ name;, is not a function that greets the user (as its name might suggest and the author probably intended). Rather, it takes a greet of time 'a and a string. This looks like an error to me.

Yeah I screwed up, sorry. cc @bsansouci
Thanks for pointing this out!

No worries, @chenglou,  glad I could help. At any rate, I think this is a bit of an odd introduction to functions since no invocations are shown here, which would confuse the hell out of someone without a functional background. It is kind of awkward to add examples, too:
(fun name => "Hello " ^ name) "world!";

Perhaps this would work better (then you explain the syntactic sugar ...):
let greet name => "Hello " ^ name;
greet "world"; /* "Hello world"

Just my two cents.

@hessammehr thanks for the feedback. I've modified the docs to stay concise while addressing your point. Hope the new one works well!

@chenglou thanks, looks great!


Pylance support for Jupyter

Issue Type: Feature Request
It would be great if Pylance would work with Jupyter notebooks.
Extension version: 2021.2.2
VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:04.245Z)
OS version: Windows_NT x64 10.0.19042

Can you clarify what you mean? The Jupyter extension uses Pylance to offer completions, hovers, etc, already.

It does?
Does the Jupyter or Pylance expansion need to be configurated for it to work?

My current notebook doesn't seem to use it, at least not like .py files.

I know that the Jupyter extension has a few bugs around this that will be fixed in their next release (unsure when that is). It could be that hover is broken.
Can you try performing a completion, like in pd. and showing the output? If Pylance is working, the stubs we ship for pandas should mean type info shows in the tooltip that gets generated.
If you enable trace logging, you should also see activity as you perform certain actions in Jupyter.

The completion seems to work, but the hover text and colour coding seems to be broken in Jupyter for now.

As far as I am aware, to get those features you need to enable their new "native notebooks" preview, where VS Code provides all of the different features natively and things work.

Yea, that seems to have done the trick.
Thank you for the help.


Group Member Management

Is there an API Endpoint in Accessmanagement to add and remove User from a group?
The only thing i found so far is to make a request to group update Enpoint with all Userids in the Members Part of the request.
In you have a lot of users 20.000+ this request is not the best way in my opinion.
It would be nice to have an endpoint with group Id and userid to add or remove just one user

Hi @noob3lite, indeed currently the only way to add/remove group members is to update the whole group object.

It would be nice to have an endpoint with group Id and userid to add or remove just one user

You are absolutely right !


Consider how we use the PoN in Mutect2

In particular, we filter a variant if the PoN has any variants at the same site, regardless of whether the variants are different.

Superceded by issue #700.


Merged PR is gone

I cannot find the merged PR #1754 in the latest master. There is no history regarding neither merge nor revert of the PR. I suspect it is somehow rebased. Or, what am I missing? Any idea?

The PR is still there. Only the branch is gone -- Brandon deleted it after the merge. There's usually no point in keeping merged branches around. What do you need it for?

Seem like github added a "Restore branch" button -- see towards the end of #1754.

What I'm saying is that the PR was merged into master, but the change is not found in the current master.
I'm trying to find who reverted the change, but I cannot find the attempt to revert in history. Even, I cannot find the merge history neither. That's why I suspect someone accidently rebased it, but I have no idea how to find it.
Sent from my iPhone

On Dec 13, 2015, at 9:53 AM, Cosmin Radoi<EMAIL_ADDRESS>wrote:
Seem like github added a "Restore branch" button -- see towards the end of #1754.
—
Reply to this email directly or view it on GitHub.

This is indeed strange. I'll look into it.

It might be something like this:
http://stackoverflow.com/questions/13468027/the-mystery-of-the-missing-commit-across-merges

@daejunpark, it's of your own making: https://github.com/kframework/k/commit/daa1978488c3f9c7c0a040c22462e8d5c784bc7a
:)

@cos Oh, it was due to me. Thanks a lot!
What happened is that I cherry-picked commits from a pending PR, but reverted them later because the pending PR had not been merged before my PR was merged. I thought that merging the pending PR will bring the changes back, but it didn't.
This is counter-intuitive because my reverting the commits preceded merging the pending PR. That is, merging a PR could have no effect. Is there any way to prevent this kind of mistakes later?
But, still the strange thing is that 'git log' didn't show such a history. For example, the following directory history does not show the 'merge-revert' history:
https://github.com/kframework/k/commits/master/k-distribution/tests/regression/kore-cell-fragments

This is counter-intuitive because my reverting the commits preceded merging the pending PR. That is, merging a PR could have no effect. Is there any way to prevent this kind of mistakes later?

I don't think so. I think the principle is that git prioritizes the latest commits. If you don't make explicit commits that re-add the content, git considers the reverts as authoritative.

But, still the strange thing is that 'git log' didn't show such a history. For example, the following directory history does not show the 'merge-revert' history:
https://github.com/kframework/k/commits/master/k-distribution/tests/regression/kore-cell-fragments

I had some trouble finding it also. I don't know why they disappear. I eventually found them with gitk.

What happened is that I cherry-picked commits from a pending PR, but reverted them later because the pending PR had not been merged before my PR was merged. I thought that merging the pending PR will bring the changes back, but it didn't.

If cherry-pick actually made a new commit, and then the pr was merged like with the merge command, that's exactly how it should have worked. Other things like rebase (and pull may use merge or rebase depending on settings) might act differently.

For education purposes, understand that the tip of a branch and its history
are different things. Thus there is a distinction between rebasing a commit
out of the history, and reverting it. Both lead to the same working copy,
but one preserves history and adds a new revert commit, the other refactors
history and removes the existing commit. When you merge changes, what
actually happens is that the changes of both branches are combined using a
merge strategy to create a new commit that is the child of both commits.
Changes (deltas) applied in both parents are simply redundant and merge
cleanly. So what actually happened was you took one branch with the feature
commits and one branch with both those commits and the revert commits, and
created a new commit that also had both and thus was the reverted form.
Something to bear in mind in the future so you can avoid this happening
again...
On Dec 14, 2015 9:35 PM, "bmmoore"<EMAIL_ADDRESS>wrote:

What happened is that I cherry-picked commits from a pending PR, but
reverted them later because the pending PR had not been merged before my PR
was merged. I thought that merging the pending PR will bring the changes
back, but it didn't.
If cherry-pick actually made a new commit, and then the pr was merged
like with the merge command, that's exactly how it should have worked.
Other things like rebase (and pull may use merge or rebase depending on
settings) might act differently.
—
Reply to this email directly or view it on GitHub
https://github.com/kframework/k/issues/1905#issuecomment-164635184.

Merges generally only take into account the state at the tip of the tree and at the common ancestor.
In particular, cherry-picking a commit onto master, reverting the cherry-picked commit, and then merging the pull request should result in the change being applied:
$ git init
Initialized empty Git repository in /home/brandon/test/git/.git/
$ echo 'Hello' > foo
$ git add foo
$ git commit -a -m starting
$ git checkout -b feature
Switched to a new branch 'feature'
$ echo 'Goodbye' > bar
$ git add bar
$ git commit -a -m "Feature work"
[feature 1db360b] Feature work
 1 file changed, 1 insertion(+)
 create mode 100644 bar
$ git checkout master
Switched to branch 'master'
$ git cherry-pick 1db360b
[master d0f1caf] Feature work
 Date: Tue Dec 15 12:37:22 2015 -0600
 1 file changed, 1 insertion(+)
 create mode 100644 bar
$ echo ' World' >> foo
$ git commit -a -m 'More master work'
[master edbddf1] More master work
 1 file changed, 1 insertion(+)
$ git revert --no-edit d0f1caf
[master 0121bf6] Revert "Feature work"
 1 file changed, 1 deletion(-)
 delete mode 100644 bar
$ git merge --no-edit feature
Merge made by the 'recursive' strategy.
 bar | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 bar
$ cat foo bar
Hello
 World
Goodbye
$ git log --graph --oneline
*   ec3522c Merge branch 'feature'
|\
| * 1db360b Feature work
* | 0121bf6 Revert "Feature work"
* | edbddf1 More master work
* | d0f1caf Feature work
|/
* 49e44dd starting

The revert would only take precedence in a merge if the reverted commit was already part of the common ancestor of the two commits.

understand that the tip of a branch and its history are different things.

That's certainly true, but git merges are only interested at the state of the code at the tips of branches and at certain common ancestor points, not at all in how they got to that state (as opposed to VCS like darcs which consider sets of changes primitive instead of tree states).


Document is not up to date?

Document says: "Windows Server Containers are blocked from starting when the build number between the container host and the container image are different - for example 10.0.14393.* (Windows Server 2016) and 10.0.16299.* (Windows Server version 1709)."
I have a Windows Server 2016 host and I running on it Docker EE image with "process" isolation and having container image OS Windows Server 1709. Container does starts and no evidence for "blocked from starting" behavior.

Can u help me

Thanks for the feedback.  @PatrickLang

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Markdown Best Practice Styling is not Supported

I wanted to know why does gauge won't work with formatted markdown files that are best practice compliant.
Example: http://www.cirosantilli.com/markdown-style-guide/
This is what gauge perceives as correct.
## Use is Cloud Project Members
* Following users are part of the  Project
  | First Name | Lat Name | ID | Email |
  | ---------- | -------- | -------- | --------------------------- |
  | Mr. | T | ABV |<EMAIL_ADDRESS>|
  | Master | of | Desaster |<EMAIL_ADDRESS>|

This is what is best practice.
## Use is Cloud Project Members
- Following users are part of the  Project
  | First Name | Lat Name | ID | Email |
  | ---------- | -------- | -------- | --------------------------- |
  | Mr. | T | ABV |<EMAIL_ADDRESS>|
  | Master | of | Desaster |<EMAIL_ADDRESS>|

As you see it is considered best practice tu use - for lists instead of * however gauge can't cope with this setup.
I am using https://prettier.io to check , however any other formatter or linter should produce the same result.

Gauge uses Github flavor Markdown, but uses Markdown's syntax to identify scenario's and steps. Right now we use the * syntax for lists to identify steps.
Github flavored markdown also allows - and + for unordered lists, but for now we want to keep this open for adding some feature in the future.
If you are looking to format Gauge specs we recommend using gauge format

Its pitty that  gauge claims to support Markdown but it actually doesn't. Point is we have quite extensive specification that are also documentation.  For uniformity we try to comply with markdown best practice formatting rules.


port affine tests

cc @vfdev-5

Can we do anything to reduce the duration of these tests?

A significant portion of these tests are tests that:

are extremely unlikely to be go red once we've checked that they're green
do not need to be checked on every single PR. We probably don't even need to check them every single day.

I'm thinking in particular about tests like check_dispatcher*(), check_transform(), and probably others.
Should we start thinking of a test job that would run those on a regular basis, but not on PRs byt default? Something similar to test_dataset_download.py? We can also add some kind of GH label that woud trigger those tests on a PR, if explicitly requested.

Regarding the long test time for this class: test_kernel_image_tensor contributes the largest part with its massive parametrization:
❯ pytest --co -q test/test_transforms_v2_refactored.py::TestAffine | tail -n1
40899 tests collected in 3.50s
❯ pytest --co -q test/test_transforms_v2_refactored.py::TestAffine::test_kernel_image_tensor | tail -n1
35200 tests collected in 2.74s
❯ pytest -q test/test_transforms_v2_refactored.py::TestAffine::test_kernel_image_tensor | tail -n1
35200 passed in 104.84s (0:01:44)
❯ pytest -q test/test_transforms_v2_refactored.py::TestAffine -k "not test_kernel_image_tensor" | tail -n1
5699 passed, 35200 deselected in 19.33s

Second to that is test_kernel_bounding_box:
❯ pytest -q --co test/test_transforms_v2_refactored.py::TestAffine::test_kernel_bounding_box | tail -n1
4800 tests collected in 2.09s
❯ pytest -q test/test_transforms_v2_refactored.py::TestAffine::test_kernel_bounding_box | tail -n1
4800 passed in 17.18s

If we can bring both tests down to a more reasonable duration, the total time of TestAffine is not too bad in general:
❯ pytest -q test/test_transforms_v2_refactored.py::TestAffine -k "not test_kernel_image_tensor and not test_kernel_bounding_box" | tail -n1
899 passed, 40000 deselected in 6.10s
❯ pytest -q test/test_transforms_v2_refactored.py::TestResize | tail -n1
767 passed in 3.23s

To achieve that, we could move away from the full matrix of parameters. Meaning, we will fix most of the parameters and only parametrize over one or a few at the same time. This will drastically cut down the overall amount of tests, while only leaving minimal gaps that will likely never result in a bug. I'll send a commit to implement this strategy.
None of that is orthogonal to running test on a schedule. However, implementing that will take more time and thus I'll go for the low hanging fruit first.

After 39b91c881797956ee8cb57566631b8784c1e5ecf
❯ pytest -q --co test/test_transforms_v2_refactored.py::TestAffine | tail -n1
1287 tests collected in 0.25s
❯ pytest -q test/test_transforms_v2_refactored.py::TestAffine | tail -n1
1287 passed in 4.32s
❯ pytest -q test/test_transforms_v2_refactored.py::TestAffine -k "not cuda" | tail -n1
1087 passed, 200 deselected in 3.28s
❯ pytest -q test/test_transforms_v2_refactored.py::TestAffine -k "cuda" | tail -n1
200 passed, 1087 deselected in 2.76s

I can live with that without going for a schedule solution for now.


BlockDestroyEvent

BlockDestroyEvent isnt Firing.
Prior to this update i was using the event and logging the data and now
its saying its a valid event but its not throwing any output.

BlockDestroyEvent, PlayerLeftEvent are fixed. thanks.
commit: c863007abebde84f7cd0c1e7d0d63e2d2a434a50


Synchronize parallel calls to Conn.Close and Conn.handshake

Description
Reference issue
Fixes #...

Overall LGTM @Danielius1922!
Looks like a different race was found in CI. Once you can get it all to go green happy to test and can fix up any nits myself :)

Overall LGTM @Danielius1922!
Looks like a different race was found in CI. Once you can get it all to go green happy to test and can fix up any nits myself :)

Yeah the issue is that c.handshakeLoopsFinished.Wait() (from Conn.Close) and c.handshakeLoopsFinished.Add(2) (from Conn.handshake) are called from different goroutines. Since Close can be called from a different goroutine, the calls on c.handshakeLoopsFinished need to be synchronized.
I think the idea in Conn.Close is that it calls the internal Conn.close method, which might interrupt an ongoing handshake and then we wait using c.handshakeLoopsFinished.Wait(), so there is no ongoing handshake after the call to Conn.Close.
Handshakes themselves are serialized using Conn.handshakeMutex. I could try locking it in Conn.Close, I'm afraid of causing a deadlock if Conn.handshake on some code path invokes Conn.Close.
Better safe than sorry here I think, so I'm gonna introduce a channel, assign/get it under a lock and wait on it outside the lock.

Tagged v3.0.2
@Danielius1922 I added you to the org! Feel free to make branches and tags.
I think the concurrency of Conn can be cleaned up a lot. If you want to take a hack at it I am fully in support :)


Problems with free-drift test cases

Investigating some issues in the BBM implementation, I created some free drift test cases, only to find more issues. The test cases re-use the geometry of Mehlmann benchmark, but here we have constant wind and ocean forcing and only a small patch of low concentration ice (with cracks) that's advected under wind and ocean currents. We expect the patch to drift undeformed along a diagonal x=y (if we turn off Coriolis). See the branch freedrift_tests.
Using the mEVP rheology we get strange features along the downwind side of the ice patch while using the BBM rheology we get strange features at the bottom of the patch. This also happens if I comment out the StressUpdateHighOrder functions, so the problem is not there.

To clarify: I get the same results even without the stress update in StressUpdateHighOrder. This means that the two functions MEBStep and MEVPStep don't give the same results for either the stress update commented out or with very low concentration (which gives very low stress, as expected).

To get the same results for MEBStep and MEVPStep for MEB time stepping, you need a smaller timestep than MEVP.
I verified it with a function VP, which I will find and commit back.
I'll check free drift and get back to @einola.

I didn't think about the time stepping, to be honest. But my feeling is that with very low concentration internal stress is zero and we should get the same results for all time steps shorter than some stability limit - which I expect to be quite large. I'll think about this more though.

I've made some progress with this in the freedrift_tests branch. See commit 009058a8d68ae019f6cac625dad56f5407fbfa0a. This replaces the explicit solver with an exact copy of what I did in the old neXtSIM (see the BBM paper and Hunke and Dukowicz (1997).

I now looked at what you’re doing. It took some time to understand it :-) You’ve implemented the EVP-iteration, we had the mEVP iteration, which is rather different. The EVP iteration is a subcyling with a smaller time step size. mEVP still does one step with the large step size but uses an iteration towards it.
I found a mistake in the old mEVP - iteration (that I already fixed for the paper) but this was not the problem. Although looking severe (a wrongly set bracket) it had no effect.
There’s one thing in your formulation: For the wind-forcing, shouldn’t it be | a | * a, so the norm of the wind-velocity should be there. But I think you do not have it.
At the moment I do not understand, why the agreement to other results is perfect for the benchmark, but why the free drift is indeed not looking good. It could really have to do with the convective term. I will further look into it.
Thomas

| Prof. Dr. Thomas Richter
| Numerische Mathematik in den Anwendungen
| Otto-von-Guericke Universität Magdeburg
| numerics.ovgu.de
| +49 391 67-57162  +49 176 615 612 26 (mobil)

On 18. Nov 2022, at 07:24, Einar Örn Ólason @.***> wrote:
I've made some progress with this in the freedrift_tests branch. See commit 009058a. This replaces the explicit solver with an exact copy of what I did in the old neXtSIM (see the BBM paper and Hunke and Dukowicz (1997).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.

Finally I found the problem. It is something with the mEVP iteration and how it is usually used.
It is basically a question of parameters and how they are usually chosen. If one slightly modifies the mEVP iteration is all looks good in the free drift case. But this does not mean that the iteration also makes sense :-) I will need to read a bit and can explain it on Wednesday.
Thomas

| Prof. Dr. Thomas Richter
| Numerische Mathematik in den Anwendungen
| Otto-von-Guericke Universität Magdeburg
| numerics.ovgu.de
| +49 391 67-57162  +49 176 615 612 26 (mobil)

On 18. Nov 2022, at 07:24, Einar Örn Ólason @.***> wrote:
I've made some progress with this in the freedrift_tests branch. See commit 009058a. This replaces the explicit solver with an exact copy of what I did in the old neXtSIM (see the BBM paper and Hunke and Dukowicz (1997).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.

I look forwards to Wednesday then :)
I'll also check the norm that seems to be missing. I now also get "waves" at the bottom of the ice floe. It's strange, but I'll try to figure it out soon. Unfortunately, today and Monday are largely reserved for less interesting things :(


TAD Export 1 - Expose API

Context
As part of #5979 TAD also require an endpoint that they can call in order to receive the export.
Changes proposed in this pull request
Adding the following endpoint:
/tad-data-exports/subjects-by-route-and-outcome

Guidance to review

Link to Trello card
https://trello.com/c/hJ6FoPJ0
Things to check

[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] API release notes have been updated if necessary
[ ] Required environment variables have been updated added to the Azure KeyVault

I think the URL structure here is now a bit confusing. we have tad-data-exports/latest but now also a nested path to subjects-by-route-and-outcome, which doesn't have a /latest path. I think this should be a sibling of tad-data-exports, including a /latest, and we should consider renaming tad-data-exports to whatever it is (TAD applications export?).


help: Add "Do not mark messages as read" section.

Adds a section to describe why someone would want to set the setting to Never mark messages as read on mobile.

Screenshots and screen captures:

https://zulip.com/help/marking-messages-as-read

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability

Communicate decisions, questions, and potential concerns.

[x] Automated tests.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Links.

@alya This PR is ready for you.

I updated the intro and the screenshot in the PR description.

Works for me! @timabbott please take a look.

Merged, thanks @drrosa!


Added Rust basics in italian

Kindly add it for italiano speakers and techies.
Contributing
If you want to add a project to this list, please make sure that:

[x] You read the contributing guide
[x] The repository has hacktoberfest as topic and counts for hacktoberfest event
[x] The project can't be just an "add your name" or simply + 1 contribution to hacktoberfest
[x] Place them in alphabetical order
[x] One repository per PR/contribution - avoid conflicts and simplify review
[x] Your pull request is not spammy just adding an empty line, otherwise it will be marked as invalid and not count to hacktoberfest.

If they meet the requirements above, feel free to create a PR. Happy Hacking! :sparkles:

Kindly add it


fix to work in python 3

in python 3, visual_default.keys() return a dict_keys object which does not have the 'remove' method. .iteritems() does not exist in Python3 anymore.

thanks, I really need to get this tested on travis!


Is javascript Client work on web browser with websocket?

i did not see any websocket code for js code.
is it support work with websocket?

You can use https://github.com/hprose/hprose-html5 instead of hprose-js.

@andot thanks a lot

@zj8487 you are welcome :smile:


Documentation update + Nan wrapper

Added VecCheckNan wrapper
Added Nan and inf guide
Updated vec_env doc

CI still failing... (but for a different reason)

Sorry, had a dense weekend. Fixed the bug in vec_check_nan.

Good, btw, @MartinSmeyer pointed that tf documentation page to me, it may be good to include it in the guide too.

Oh yeah, tf.add_check_numerics_ops(). It needs to be run with the graph with sess.run(), I remember trying to add it to PPO2 as a proof of concept, but it added other issues so I scrapped it.
I'll add a paragraph to on this 👍

Referencing all related issues:
#340 #279 #257 #36 #229

While writing the TF nan guide, I noticed we could actually implement this in the models relatively easily:
class CheckNaNTensorFlow:
    def __init__(self):
        self.check_nan_ops = []
        self.old_ops = set()

    def __enter__(self):
        self.old_ops = set(tf.get_default_graph().get_operations())

    def __exit__(self):
        for op in set(tf.get_default_graph().get_operations()) - self.old_ops:
            try:
                self.check_nan_ops.append(tf.check_numerics(op, ""))
            except TypeError:
                pass

with CheckNaNTensorFlow() as tf_nan:

    ...   # define the TF graph you want to check here

sess.run([val_1, val_2] + tf_nan.check_nan_ops, td_map)  # add to run

add CheckNaNTensorFlow to the losses, and use tf.add_check_numerics_ops in the policies, like that the check_numerics does not wrap over evey operation in the graph (which was my issue when I tried this in the past, as then it requires all placeholders to be given)

noticed we could actually implement this in the models relatively easily

Maybe open an issue with that. We need also to check how much overhead this adds.


update MapboxImageryProvider example mapId

Hi~ I have signed the individual CLA.
When I used MapboxImageryProvider the mapId "mapbox.streets" got the message "Classic styles are no longer supported; see https://blog.mapbox.com/deprecating-studio-classic-styles-d8892ac38cb4 for more information", so i updated the
MapboxImageryProvider example.
This is my first contribute for cesiumjs, if I was something wrong, I'm sorry to bring extra works for yours.

Thanks for the pull request @L-hikari!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Hi @L-hikari! Thanks for bringing this to our attention. I've also opened https://github.com/CesiumGS/cesium/issues/11178 to track updating the default url since the legacy style has been depreciated.


[Experiment - do not merge] Use local file: relative link for dialogflow

Codecov Report

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

@@          Coverage Diff          @@
##           master    #50   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines           4      4
=====================================
  Hits            4      4

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 6cdb8cb...f6d8ddf. Read the comment docs.

@jmdobry do you think this style of linking samples to the main package works for us, or do we want to link by version so that when users run samples, they have the same setup as a real package user?

@rarkins Can you also remove all calls to npm link in .circleci/config.yml in this branch then? Otherwise, with npm link in place, I suspect npm could ignore whatever is written in samples/package.json for dialogflow, and just use the linked package, so the CI might not notice any difference at all.

Links removed and tests are passing

@jmdobry ping - what do you think? The current way of having samples package pinned to a main package and npm linked in CI makes both Greenkeeper and Renovate unable to update package locks properly :(

Greetings!  We have this fixed more generally now 👍


Minor documentation update

Just found this function really helpful, I wish I would've seen it sooner.

thanks!


created a progress observer

not implemented in core yet
TODO: tests and TestIo class
ready to merge

Coverage decreased (-5.3%) to 66.148% when pulling b98357b2ed2164fbda316d4df738c671b9e74e3b on prog-observer into 9801de959dc8cd778f698add0c4551aedaf97fba on master.

Coverage decreased (-5.3%) to 66.148% when pulling b98357b2ed2164fbda316d4df738c671b9e74e3b on prog-observer into 9801de959dc8cd778f698add0c4551aedaf97fba on master.

Coverage decreased (-5.3%) to 66.148% when pulling 3ad8ac9c71d659330650be277f921729105a37ff on prog-observer into 9801de959dc8cd778f698add0c4551aedaf97fba on master.

LGTM.


Added mention about manual browser tab opening after compilation

Added mention that tab will not open automatically, you need to open it manually

Q
A

Fixed Issues?
81

Patch: Bug Fix?
No

Major: Breaking Change?
No

Minor: New Feature?
No

Minor: Docs update?
Yes

Tests Added + Pass?
Yes

Any Dependency Changes?
No

Btw, I'm not native in English. So if there are gramatical/orphographical mistakes, then fix them please :)

@neurosnap , sorry, but there are still old version in site


Adding ability to run external router

This PR adds the ability to stand up a router outside of the docker quickstart environment.
The script does not use the ziti.env configuration file and requires on first run that all required variables are passed through on first run.
To use
create a docker-compose file including the following configuration:
  ziti-edge-router:
    environment:
      - ZITI_EDGE_ROUTER_RAWNAME_OVERRIDE=*URL or IP clients connect to router*
      - ZITI_EDGE_ROUTER_ROLES=*roles to assign*
      - ZITI_EDGE_ROUTER_PORT=*normally 3022*
      - ZITI_EDGE_ROUTER_LISTENER_BIND_PORT=*router fabric port*
      - ZITI_CTRL_PORT=*controller management port*
      - ZITI_EDGE_CONTROLLER_PORT_OVERRIDE=*normally 1280*
      - ZITI_CTRL_ADVERTISED_ADDRESS_OVERRIDE=*controller_FQDN_Name or IP*
      - ZITI_USER_OVERRIDE=*admin username*
      - ZITI_PWD_OVERRIDE=*admin password*
    command: "/var/openziti/scripts/run-router-external.sh edge"

when you start the container, a new router configuration is created and then started.  As per other scripts, the type of router created is specified in the command option (in this case edge).
Once the router is up and going, then all environment variables except the ZITI_EDGE_ROUTER_RAWNAME_OVERRIDE can be removed, as the other variables are only required for the generation of the configuration.

Not sure how to link to the issue, but here it is here: https://github.com/openziti/ziti/issues/967

Note that there are new configuration directives with _OVERRIDE in the name.  This was necessary as when you log into bash it loads the ziti.env file automatically.  This will then clobber any similar named variables that are passed in the from the container.
I didn't want to use the ziti-env file as:

It contains a large number of variables which is difficult to understand what ones are required to be changed
Requires that the ziti.env file is bind mounted into the container, or manually copied in
More secure as without a ziti.env file they only have the .yaml file with configuration (assuming you drop the other environment variables)

Just issued another commit.  This allows for the name to be defined within the controller.  I have added an additional variable: ZITI_EDGE_ROUTER_HOSTNAME.  This variable defines the name that will appear in the console.
So, list of variables now:
  ziti-edge-router:
    environment:
      - ZITI_EDGE_ROUTER_RAWNAME_OVERRIDE=*URL or IP clients connect to router*
      - ZITI_EDGE_ROUTER_HOSTNAME=*name to show in the console*
      - ZITI_EDGE_ROUTER_ROLES=*roles to assign*
      - ZITI_EDGE_ROUTER_PORT=*normally 3022*
      - ZITI_EDGE_ROUTER_LISTENER_BIND_PORT=*router fabric port*
      - ZITI_CTRL_PORT=*controller management port*
      - ZITI_EDGE_CONTROLLER_PORT_OVERRIDE=*normally 1280*
      - ZITI_CTRL_ADVERTISED_ADDRESS_OVERRIDE=*controller_FQDN_Name or IP*
      - ZITI_USER_OVERRIDE=*admin username*
      - ZITI_PWD_OVERRIDE=*admin password*
    command: "/var/openziti/scripts/run-router-external.sh edge"

Once the configuration is all up and going, then it is not just the ZITI_EDGE_ROUTER_HOSTNAME variable that needs to stay.

Not sure how to link to the issue, but here it is here: #967

Use any of the keywords followed by #id, see the keywords here
closes #967

This looks good, would you mind creating a ziti-doc PR and adding some instructions on how you would use this? @dovholuknf might have an opinion here but I think tacking the usage of this onto the end of the "Quickstart with Docker" and/or "Quickstart Docker Compose".
I'm not sure how familiar with docker you are but docker profiles could also help here. We could have two profiles, one for the "local docker compose" and another for the "external" so when you run docker-compose up it only starts up the external router when using the "external" profile and create a "local" profile.
As an example, you would run this to start up the controller, router(s) and such on the controller's host machine
docker compose --profile local up
And run this on machine with the external router
docker compose --profile external up
In any case, we may want to consider updating the topic from "Local - With Docker" and "Local - Docker Compose" to just simply remove the "Local -" prefix since we're moving toward allowing docker-compose to work in external environments. Any thoughts on this would be helpful.

I will create docs for it but was waiting to find out if this makes it in and what changes are requested to be done.  Didn’t want doc accepted before code is their :-).
Haven’t played with profiles before so will look into that.   I normally just cut down the compose file to only the required sections for readability.
As for doc location I was thinking making a guide regarding standing up and external router and have both docker and standard commands in the one document.

@gooseleggs sorry about bouncing around, but we are planning on making some changes in the architecture of the docker files so you can skip the doc and profile stuff for now as it will inevitably change.
So, I think this looks good as is.

When are you looking at changing the files? I think it is still worthwhile to create the doc as then something is available to all.  That said it will be next week before I can look at it.

We are still in the midst of changing them. There have been new container images posted to docker hub that make no assumptions about setup, don't "do" anything on your behalf, and just run the provided config file. you might find those useful @gooseleggs .
I plan to get back to using those in a 'quickstart' fashion soon but if not me I'd think @gberl002 would be... I'd like to say "a week or two" but it might be longer.

@gberl002 can you take a look at this pr and let's decide if it's in the direction we're looking at going next? thanks!

I like easy.  Will wait for the hopefully setup like this PR provides across the containers.  I have a few to set up in the following weeks, so will look to use the current docker containers, and use this PR where required. Hopefully any changes wont be catastrophic to migrate too.  Would do testing and feedback if required.  Let me know if I can help in any way.
Hopefully doing this, we can sort out the variable names as well?

@gberl002 has been working on cleaning up the env variable names. so hopefully. i'll let him comment on that, i know he's making progress but haven't seen anything just yet

Sorry, I kind of dropped the ball here. I was expecting to merge this in and then was hesitant with all the quickstart changes coming soon.
I'll take a closer look at this tomorrow now that I'm mostly done with the cleanup. I'll see how it aligns with the current work.


Dataset link is gone.

The Dropbox and Google Drive links of FlatCam are gone, could you please provide a new one?

same here

me too


Format not working

As I mentioned in my previous comment, go format wasn't working. I managed to fix it on my machine, and there were two issues:

gofmt and gofumpt is only checked for in $GOPATH/bin/, but on my system they were installed on /usr/bin/. I symlinked them to $GOPATH/bin/ and that fixed it
the default format arguments --max-len and --base-formatter didn't exist in my gofumpt binary. I commented them out and replaced them with {}.

After these two fixes it now works.

I also found the check below to cause reliability issues. It often refused to format the buffer stating it was already formatted, while it wasn't. By commenting out the if statement my :Gofmt now always works
https://github.com/ray-x/go.nvim/blob/6ac87551428c1d5570ffd1b5190793a8ae2380f0/lua/go/format.lua#L31-L37


Vue: made URL building path-sensitive

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Tests pass?
yes

License
MIT

When generating a Vue.js client app for an API instance living under a non-empty path, e.g.:
generate-api-platform-client -g vue http://localhost:8000/api

Some of the generated store modules (e.g. show) call the provided fetch utility function as follows:
fetch('/api/books/1') // resource id

...which, with http://localhost:8000/api as the entrypoint, successfully results in http://localhost:8000/api/books/1.
However, some other generated store modules (e.g. list) call it as follows:
fetch('books') // generic resource name

...which, with http://localhost:8000/api as the entrypoint, errouneously results in http://localhost:8000/books.
This contribution brings in some userland code to correctly build these URLs in every case, especially regarding path segment deduping in situations such as the aforementioned one.
I did not provide unit tests as there aren't any for the generated code (which makes sense) but I wrote some locally to test-drive this implementation's development, so feel free to ask for them if you can tell me where to put them.

Hi, thanks for the report and the PR, and sorry for the delay, I missed this PR in the first time.
This problem shouldn't occur because we enforce that the entry point finishes by a slash here: https://github.com/api-platform/client-generator/blob/master/src/index.js#L51
If the generated code doesn’t contain the trailing slash, it’s a bug we need to fix. Do you think you can test this?
Best regards

My generated config/entrypoint.js file is as follows:
export const ENTRYPOINT = "http://localhost:8000/api";

As you can see, a trailing slash wasn't appended. However, appending it manually does fix the issue! Thanks.

@dunglas Do you believe there is still something to take care of here?

Honestly I don't think it's the good patch. It is a big too big for generated code. I'm sure there are simpler way to handle this.

Closing then