9 Tests failing

Maybe add Travis-CI?

Hi, thanks for trying out the SDK.
Tests are not failing if the setup is done well, please read carefully the README before opening an issue.
Can you post the reason of the failure here?
As stated in the README, you need to specify the different variables in order to have the live tests running correctly and I believe that you didn't do this. If you check the console you'll see "failed - Missing values for required constants. Replace them in secret.plist or pass them as environment variables.".
Regarding the CI system, we will be integrating Jenkins soon. We already have it setup for the core elixir API and will use it for our SDKs.
Lastly, there is a template for issues, please use it!

Got it, will check it out again and post the reasons if I can't make it work.

Ok, closing the issue for now.
Reopen it if you still have the same problem.


Add a convenience method to log in and remember url that the user returned from

Is your feature request related to a problem? Please describe.
It would be nice to have a convenience method that redirects the user to the identity server and remembers the url the user was redirected from in the state param when we return to the angular app.
Describe the solution you'd like
I would like that loadDiscoveryDocumentAndLogin to expose the additionalState parameter when it calls initImplicitFlow
Describe alternatives you've considered
I have just used copied the contents of loadDiscoveryDocumentAndLogin in my app so that I have control to set the state when I call initImplicitFlow. This works, but it would be nice to have a overload on loadDiscoveryDocumentAndLogin so that I wouldn't need to do this myself.
authService.loadDiscoveryDocumentAndTryLogin().then(() => {
    if (!authService.hasValidAccessToken()) {
        authService.initImplicitFlow(location.pathname + location.search + location.hash);
    } else {
        if (authService.state) {
            history.replaceState(null, '', decodeURIComponent(authService.state));
        }
    }
});

I would prefer to be able to do something like this:
authService.loadDiscoveryDocumentAndLogin(null, location.pathname + location.search + location.hash).then((ok) => {
    if(ok && authService.state) {
        history.replaceState(null, '', decodeURIComponent(authService.state));
    }
});

I can create a pull request for this if you think this is a reasonable request

Sounds like a decent feature request to me. I'm not so sure about introducing a second argument to the method though, it feels a bit "stringly typed" and it feels odd to having to pass null as a first argument just to "get to" the second one. Would you agree?
PS. In then end though it'll be up to the maintainer to make the call on whether it's ready for a PR, will need to wait for him to chip in.

I think the state argument have to be a string, since that is what we pass on in the url to the OAuth server, but I agree that passing null as the first argument is a bit silly.
Perhaps we could introduce a new type that extends LoginOptions like so
class ImplicitFlowLoginOptions extends LoginOptions {
    additionalState?: string
}

public loadDiscoveryDocumentAndLogin(options: ImplicitFlowLoginOptions = null): Promise<boolean> {
    return this.loadDiscoveryDocumentAndTryLogin(options).then(_ => {
        if (!this.hasValidIdToken() || !this.hasValidAccessToken()) {
            this.initImplicitFlow(options && options.additionalState);
            return false;
        } else {
            return true;
        }
    });
}


Tailwindcss instead of bootstrap?

I would love to use tailwindcss instead of bootstrap. How can I preset tailwindcss?

See https://github.com/cretueusebiu/laravel-nuxt/issues/70


add OpenAPIAnnotation params to add info to simple Annotated type

this is rather a complex solution to fix the issue we have with FastAPI 0.95 (see https://github.com/tiangolo/fastapi/discussions/9278).
With >=0.95, a param of type Path(defined in the route) cannot be use as a param of type Query (defined in the endpoint function). This was something not officially documented but mentioned couple times (https://github.com/tiangolo/fastapi/issues/945#issuecomment-585993501)
Enabling a mix of Query/Path, is pretty useful when you have a multi routes endpoint with optional parameters
from fastapi import FastAPI, Query

app = FastAPI()

@app.get("/test/{val}")
@app.get("/test")
def endpoint(val: str = Query("yo", description="a value")):
    return val

☝ This code won't work with >=0.95 and give
File fastapi/dependencies/utils.py:461, in analyze_param(param_name, annotation, value, is_path_param)
    458 if field_info is not None:
    459     if is_path_param:
    460         assert isinstance(field_info, params.Path), (
--> 461             f"Cannot use `{field_info.__class__.__name__}` for path param"
    462             f" {param_name!r}"
    463         )
    464     elif (
    465         isinstance(field_info, params.Param)
    466         and getattr(field_info, "in_", None) is None
    467     ):
    468         field_info.in_ = params.ParamTypes.query

AssertionError: Cannot use `Query` for path param 'val'

2 Solutions:

The first solution as proposed in https://github.com/tiangolo/fastapi/discussions/9278 is to not use any FieldInfo class (Path or Query), because FastAPI will be smart enough to assign either a param.Query or param.Path here

from fastapi import FastAPI, Query

app = FastAPI()

@app.get("/test/{val}")
@app.get("/test")
def endpoint(val: str = "yo"):
    return val

But then we can't have anything forwarded to the OpenAPI doc (title, description, ...) which is one of the nice feature of the FastAPI Query/Path param 😭

The second solution (as introduced by this PR) is to hypothetically use a neutral class (has no direct influence on how the code is run) which only purpose is to forward information to the OpenAPI doc:

from fastapi import FastAPI
from fastapi.params import OpenAPIAnnotation

@app.get("/description/{foo}")
@app.get("/description")
async def description(
    foo: Annotated[
        str,
        OpenAPIAnnotation(title="get a description", description="description")
    ]
) = None:
    return {"foo": foo}

I totally agree that adding a new class might not be the best solution but it's the only thing I could think off 😅
I really appreciate any help/comment 🙏

from fastapi import FastAPI
from fastapi.params import OpenAPIAnnotation

@app.get("/description/{foo}")
@app.get("/description")
async def description(
   foo: Annotated[
       str,
       OpenAPIAnnotation(title="get a description", description="description")
   ]
) = None:
   return {"foo": foo}

@vincentsarago missing from typing import Annotated


Clarification For Empty Struct Handling in C++

This issue is about my interpretation of the ABI and GCC's implementation of the ABI.  GCC is definitely broken in one specific case, but what the fix is depends on the ABI, and it's not obvious to me exactly what the existing text means.
Lets start with an example of what GCC does wrong, this is actually a C++ test, not C, that is important:
#define MAKE_STRUCT_PASSING_TEST(type,val)                              \
  static struct struct_ ## type ## _t                                   \
  {                                                                     \
    struct { } e;                                                       \
    struct { type f; } s;                                               \
  } global_struct_ ## type = { {}, { val } };                           \
                                                                        \
  static bool                                                           \
  check_struct_ ## type (struct_ ## type ## _t obj)                     \
  {                                                                     \
    return (obj.s.f == global_struct_ ## type .s.f);                    \
  }                                                                     \
                                                                        \
  int                                                                   \
  main ()                                                               \
  {                                                                     \
    bool result = check_struct_ ## type ( global_struct_ ## type );     \
    return result ? 0 : 1;                                              \
  }

MAKE_STRUCT_PASSING_TEST(float,2.5)

The relevant part of the ABI document is this:

Empty structs or union arguments or return values are ignored by C compilers which support them as a non-standard extension. This is not the case for C++, which requires them to be sized types.

As I said, this is a C++ test, so the empty sub-struct will have size 1-byte, but with trailing padding will account for 4-bytes in the containing struct.
Currently GCC is a bit of a mess in its handling of these cases.  In the example above with a float argument GCC tries to ignore the empty struct, but then incorrectly passes the float field (it actually passes the empty struct instead).  If the above example is changed to contain an integer field then GCC correctly passes the full struct, including the empty part and the integer field using two integer registers.
The quoted part of the ABI document doesn't really say what should happen with empty C++ structs, it seems to me the ABI document simply states that such structures are non-zero sized, which is true.
However, as far as I understand it, the content of that non-zero sized space is undefined, and as such a compiler could ignore the empty structure in C++ just as it does in C.
In the above case the caller could pass the non-empty fields and the callee can simply make up content with which to fill the non-zero sized empty struct, this feels just as valid as passing over some undefined bytes.
I currently see two routes forward, one would be we change the above quoted part to read something like:

Empty structs or union arguments or return values are ignored by C compilers which support them as a non-standard extension. In C++ empty structs and unions are required to be sized types, however, as their content is undefined, they are similarly ignored when passing arguments.

We then fix GCC  to correctly ignore the empty structs in C++, this would fix the float case which is just broken, but would be ABI breaking in GCC for the case of passing an empty struct and an integer.
Alternatively, we make the intention of the ABI clearer by changing the above quoted text to read something like:

Empty structs or union arguments or return values are ignored by C compilers which support them as a non-standard extension. This is not the case for C++, which requires them to be sized types, and these are passed as integer arguments.

We then fix GCC to correctly pass over the empty structs in C++, this would fix the float case which is currently just broken, and would maintain the existing ABI in GCC for the integer case.  However, the final ABI would be slightly less efficient in this case (which is probably an edge case anyway, so we probably don't care too much about efficiency).

The main problem with gcc for the testcase is that we assume the in-struct offset is always zero when we have a single float arg.  Though now that I look at the issue, I see you already came to the same conclusion and wrote a similar patch.
I think the handling for empty structs should stay the same, as there is no bug there.  The text you quoted only applies to an empty struct.  It does not apply to an empty struct inside another struct.
If there is an issue, it would be in the text for flattening structures.  However, this text already says
Fields containing empty structs or unions are ignored while flattening, even in C++, unless they have nontrivial copy constructors or destructors.
So gcc does seem to be implementing this correctly.
We only flatten an aggregate when it contains at least one float field, and an empty struct plus an integer doesn't qualify, so we don't need any change to the ABI for this case.
Thus all we need to fix is a gcc bug where it is getting the float field offset wrong when we have empty struct plus float.  Since this case is already broken, it isn't really an ABI change, it is just a bug fix, and doesn't need any special handling.

Jim, thanks for the explanation.  I admit I hadn't spotted that the flattening only happens when passing floats.  I can imagine how that situation has arrived.  I'll post a patch for GCC shortly to fix the float offset case.
I wonder if it is worth adding some words to the "Integer Calling Convention" explicitly stating that empty structures are never flattened in the integer only case, and thus when using C++ this will result in empty space being passed around.  Though its correct that with no words this should be the assumed default, this makes the integer ABI slightly less efficient than the float ABI, and so isn't (to me anyway) the "obvious" choice.

The Floating Point ABI (see below) describes a strategy for flattening structures in order to more efficiently pass values in floating point registers.  Any structure not covered by the Float Point ABI flattening rules is not flattened, and is passed as a standard structure.  When considering empty sub-structures in C++, this means that the space associated with the empty structure can be passed in a register.

I don't see the need to clarify the int docs.  The int docs don't do flattening, so we don't need to document that.  They also don't use FP regs, and we don't document that either.  You usually don't need to document something that doesn't exist.
The int docs say "Aggregates whose total size is no more than XLEN bits are passed in a register, with the fields laid out as though they were passed in memory. "  Whether or not one of the fields is an empty structure is irrelevant.  It doesn't change how the aggregate is passed.
I don't feel strongly about this though.  If other people think this is helpful we can add it into the docs.

I don't feel particularly strongly about this either. The fact that flattening doesn't happen for the integer ABI seemed clear to me, but once you've spent long enough with the spec it becomes pretty hard to judge what is obvious/non-obvious.
I think something along the lines of the clarification suggested seems ok. I question if it's needed but like Jim don't feel strongly about it.

I'd suggest erring on the side of parsimony.

FYI we now coincidentally have a FSF GCC bug report.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89627
Unlike Andrew's testcase, this one looks like real code.

No one seems in favor of extending the docs here, so I propose closing this.


:open_book: Docs: Improve Commands part

What should be changed?
We currently support many commands, but the docs only describes some of them. Better docs would help users to use dtm faster.
Submit new issues as subtasks to improve our docs! 👏
Requirements: Machine translation can be used, but the mechanism of dtm must be understood and the translation results must be corrected manually as necessary. Doc translation is important and difficult, so please take it seriously.
Note: Please start translating after the issue has been assigned! This helps us keep track of the documentation work. PR without corresponding assignee may be closed directly.
Missing docs:

show.md & show.zh.md
list.md & list.zh.md
apply.zh.md
autocomplete.zh.md
delete.zh.md
destroy.zh.md
init.zh.md
verify.zh.md

assgin me

Assign to me

@mfordjody

Submit new issues as subtasks to improve our docs! 👏

This Issue is just an overview, like #833.


Multi-Carets in the editor will forcibly unselect after the first character if Find / Find+Replace is open

Godot version
v4.0.beta14.official
System information
Windows 11 22H2
Issue description
There's not much to it, simply noticed that if you have Find or Find+Replace opened in the Script Editor, the Multi-Caret functionality seems to stop working -- forcibly removing all other carets after the first character is typed. I'd expect the Multi-Caret to remain until unselected by clicking elsewhere.
The content of what's in "Find" doesn't matter, it happens regardless.
https://user-images.githubusercontent.com/8159582/214234069-cbcc1681-3f09-4b10-9a90-857cc91d41a7.mp4
Steps to reproduce

Open the Find or Find+Replace tool in the Script Editor (nothing has to be inputted)
Add multiple mouse cursors with Ctrl+Alt+Click OR highlight something and then highlight additional duplicates with Ctrl+D (or synonymous keyboard shortcuts depending on OS).
Start typing as if going to add or replace in all locations where the multi-caret is

Minimal reproduction project
N/A

I can confirm this on 4.0.beta 4fa6edc88 (Linux).


nushell: 0.27.0 -> 0.27.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/nushell/nushell/releases.
meta.description for nushell is: "A modern shell written in Rust"
meta.homepage for nushell is: "https://www.nushell.sh/"
meta.changelog for nushell is: ""
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.27.1 with grep in /nix/store/g8pmjcf603xq29m04bvknzskk2cd17p0-nushell-0.27.1

directory tree listing: https://gist.github.com/0e4da2b2c1ad4d0cc0c0eb1a326f30ab

du listing: https://gist.github.com/ebe35f915a273718cc37639b075367f2

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
nushell

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/g8pmjcf603xq29m04bvknzskk2cd17p0-nushell-0.27.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A nushell https://github.com/r-ryantm/nixpkgs/archive/9358bdff63fe0888360633efbda728b67790373e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/g8pmjcf603xq29m04bvknzskk2cd17p0-nushell-0.27.1
ls -la /nix/store/g8pmjcf603xq29m04bvknzskk2cd17p0-nushell-0.27.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

nushell

Maintainer pings
cc @Br1ght0ne @JohnTitor @marsam for testing.

Result of nixpkgs-review pr 113858 at 9358bdff run on aarch64-linux 1

1 package failed to build:

nushell


Weak hardware message at Macbook Pro 2019

Hello, the plugin works really well and our pagespeed score improved a lot, but the infolayer with the weak hardware message appears really fast. Even at a normal Macbook Pro from 2019.
I tried to set hardwareConcurrency and deviceMemory at the lowest value, but the message is still showing.
performanceMetrics: {
      device: {
        hardwareConcurrency: { min: 1, max: 48 },
        deviceMemory: { min: 1 }
      }
 }

Is is possible to set the hardware requirements lower? Or if not, is it possible to force initialize the page at all devices?
Thanks!

Hello @dennisgroot,
suspect the message directly when matching the requestAnimationFrame and requestIdleCallback duration. It is calculated average based on the respective trigger times on a duration of 1000ms, if that falls below a threshold, the message comes.
I have two options at the moment :)

do you have a video or something that could interfere initially?

I had a problem with a video before the DOM replacement. Then I set the sources only in the client, so after the initialization.

there is the option runOptions.threshold, there you can test to reduce the threshold in small steps.

Keep in mind that this can break the pagespeed test.
{
  speedkit: {
    runOptions: { maxTime: 1000, threshold: 0.65 }
  }
}

Hi @ThornWalli
Thanks for the quick answer!
Yes I use some videos on the page, but they are all lazyloaded.  Check out the site here > https://raadhuis.com/
Maybe you have an other suggestion if you check the site in action.
I tried also the second option, but as you said it breaks the pagespeed score.
Thank you so much for your time!

Strange, generally looks quite good :)
Do you have the possibility to activate gtm-script in the client first?
So script tag disappears on the SSR.
<script data-n-head="ssr" data-hid="gtm-script">if(!window._gtm_init){window._gtm_init=1;(function(w,n,d,m,e,p){w[d]=(w[d]==1||n[d]=='yes'||n[d]==1||n[m]==1||(w[e]&&w[e][p]&&w[e][p]()))? 1:0})(window,navigator,'doNotTrack','msDoNotTrack','external','msTrackingProtectionEnabled');(function(w,d,s,l,x,y){w[x]={};w._gtm_inject=function(i){if(w. doNotTrack||w[x][i])return;w[x][i]=1;w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s);j.defer=true;j. src='https://www.googletagmanager.com/gtm.js?id='+i;f.parentNode.insertBefore(j,f);};w[y]('xxx')})(window,document,'script','dataLayer','_gtm_ids','_gtm_inject')}</script>

@ThornWalli
GTM is added via @nuxtjs/gtm. I don't know if that's possible.

@ThornWalli Thanks, made some progress!

@dennisgroot Did it work?


ArrayIndexOutOfBoundsException for jdk9

Probably we just need a dropwizard update
java.lang.ArrayIndexOutOfBoundsException: 1
	at org.hibernate.validator.internal.util.Version.getJavaRelease(Version.java:36)

Should be in 1.3.0 https://github.com/dropwizard/dropwizard/pull/2197

Could you clarify how this error is reproducible? I just tried with javac 10.0.2 from java-1.11.0-openjdk. The tests and a regular server start with a geocoding request is working.
Or maybe this was fixed here: https://github.com/graphhopper/geocoder-converter/commit/58846e956d626eb00f04ebe44bf77f14ac8750e4

Or is this only happening with jdk9?

We could update Dropwizard to 1.3.X anyway?

I think I used jdk11. Is dropwizard 1.3 already released (?)

It looks like it would be.

Ah, ok. Then sure.
I probably mixed this up with 2.0.0 (https://github.com/graphhopper/graphhopper/issues/1558)

Ok, I created #56. I am not sure if we should close this issues afterwards?

We close it and I will reopen if I still see the problem


XMonad.Hooks.Modal.logMode used in XMonad.Hooks.StatusBar.statusBarProp issue

Problem Description
When I use the XMonad.Hooks.Modal.logMode in the ppExtras field of xmobar pretty-printer,
it works flawlessly.
However, if I use ppOrder:

the ordering is properly applied
it works as soon as I enter the new mode, the mode string is printed to xmobar
I can perform actions in the current mode

But:

But I cannot exit the mode anymore
The mode string is still in xmobar (though I can't tell if it is a cache issue in xmobar)
No other Xmonad keybindings works

The only way to solve the issue is to restart Xmonad. It can be very tedious if there is no way to do it without using any Xmonad keybinding.
Steps to Reproduce

[Optional] Open a terminal (to be able to restart Xmonad easily)
Press M-g to enter the example mode
Press Escape to exit the example mode

No Xmonad keybinding should be working at this point.
Configuration File
import XMonad
import XMonad.Hooks.StatusBar
import XMonad.Hooks.StatusBar.PP
import XMonad.Util.EZConfig
import XMonad.Hooks.Modal

main :: IO ()
main = xmonad
     . modal [noModMode, sayHelloMode]
     . withEasySB (statusBarProp "xmobar" (pure myXmobarPP)) defToggleStrutsKey
     $ def
  `additionalKeysP`
    [ ("M-g"  , setMode "Hello")   ]

myXmobarPP :: PP
myXmobarPP = def
    { ppOrder           = \[ws, l, title, mode] -> [ws, l, mode, title]
    , ppExtras          = [logMode]
    }

    -- { ppExtras          = [logMode] }

sayHelloMode :: Mode
sayHelloMode = mode "Hello" $ mkKeysEz
  [ ("g", xmessage "Hello, World!")
There's no longer an active mode, so logMode produces Nothing.
Hence the list that ppOrder takes shrinks to length 3.
ppOrder doesn't cover the case; pattern match failure kills dynamicLogString, dynamicLogWithPP, and hence the logHook.
Flowing on, the logHook kills refreshMode, which kills setMode and exitMode.

In short exitMode becomes a self-destruct button. XMonad recovers from bad keybindings like this by pretending they never happened.
The solution is to write ppOrder as a total function:
    { ppOrder           = \case { [ws, l, title, mode] -> [ws, l, mode, title]; xs -> xs }

We should probably wrap ppOrder in userCodeDef so it doesn't cause as much carnage on failure.

https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Hooks/StatusBar/PP.hs#L202

The actual error is in pure code, so it's a pain to catch without letting it kill all the code that eventually evaluates it. Though we already depend on deepseq, so I guess something like the below (untested) should work.
  let pps = [ws, ppLayout pp ld, ppTitle pp $ ppTitleSanitize pp wt]
         ++ catMaybes extras
  sepBy (ppSep pp) <$> userCodeDef pps (io . evaluate . force $ ppOrder pp pps)

Frankly I'd rather just change whatever documentation suggests writing a partial function there and call it user error from then on, but that won't fix all the broken configs in the wild.

I'd agree in the ideal case, but when it allows something like this bug report it seems like something we should try to deal with. And it's going to get forced shortly anyway, so I see no problem with deepseq there.

Actually, I now wonder if the userCode belongs on dynamicLogPP or StatusBar equivalent, since nothing but convention stops this from happening in any other of the PP functions.

I grepped for dynamicLogString in contrib and it seemed to be used in several places, but I don't know the details of these modules, so I'll leave it up to people who do.

A sequence of events:
1. You run `exitMode`.

2. There's no longer an active mode, so `logMode` produces `Nothing`.

3. Hence the list that `ppOrder` takes shrinks to length 3.

4. `ppOrder` doesn't cover the case; pattern match failure kills `dynamicLogString`, `dynamicLogWithPP`, and hence the `logHook`.

5. Flowing on, the `logHook` kills `refreshMode`, which kills `setMode` and `exitMode`.

In short exitMode becomes a self-destruct button. XMonad recovers from bad keybindings like this by pretending they never happened.
The solution is to write ppOrder as a total function:
    { ppOrder           = \case { [ws, l, title, mode] -> [ws, l, mode, title]; xs -> xs }

Well that's a fast answer with a solution to my problem.
Thank you very much :)

I grepped for dynamicLogString in contrib and it seemed to be used in several places, but I don't know the details of these modules, so I'll leave it up to people who do.

Looks to me like what I'd expect. It should be easy enough, since it's in X String, to use userCodeDef (pure "_|_") in front or `catchX` pure "_|_" at the end.

PR #802 opened.


pinning dependency versions

Priam-pull-requests #157 FAILURE
Looks like there's a problem with this pull request


[Bug] Bundle apply ignores --force

> timoni bundle apply --force --context <redacted> -f deploy.bundle.cue
[...]
10:25AM ERR IAMPolicyMember/google-cloud/ci-container-build-wli dry-run failed, reason: the IAMPolicyMember's spec is immutable: admission webhook "deny-immutable-field-updates.cnrm.cloud.google.com" denied the request: the IAMPolicyMember's spec is immutable
exit status 1

Will get a look into that as soon as I get some bandwidth

> timoni version
api: timoni.sh/v1alpha1
client: 0.0.0-5d5064d.1689867267
cue: 0.5.0

Maybe that error is not conformant with Kubernetes errors package. The code is here: https://github.com/fluxcd/pkg/blob/2a323d771e17af02dee2ccbbb9b445b78ab048e5/ssa/utils.go#L288


Error setting theme based configuration from extension

If you try and write a theme overwrite into settings, it gives you an error:
  const customisations =
      vscode.workspace.getConfiguration('workbench.colorCustomizations');

  customisations.update('[My Theme]', config, vscode.ConfigurationTarget.Global);

Unable to write to User Settings because workbench.colorCustomizations.[My Theme] is not a registered configuration.

The code that checks this is the following which does imply that override identifiers should be allowed as an exception to this rule:
		/**
		 * Key to update must be a known setting from the registry unless
		 * 	- the key is standalone configuration (eg: tasks, debug)
		 * 	- the key is an override identifier
		 * 	- the operation is to delete the key
		 */
		if (!operation.workspaceStandAloneConfigurationKey) {
			const validKeys = this.configurationService.keys().default;
			if (validKeys.indexOf(operation.key) < 0 && !OVERRIDE_PROPERTY_REGEX.test(operation.key) && operation.value !== undefined) {
				throw this.toConfigurationEditingError(ConfigurationEditingErrorCode.ERROR_UNKNOWN_KEY, target, operation);
			}
		}

Overwrite property is defined as:
const OVERRIDE_IDENTIFIER_PATTERN = `\\[([^\\]]+)\\]`;
const OVERRIDE_IDENTIFIER_REGEX = new RegExp(OVERRIDE_IDENTIFIER_PATTERN, 'g');
export const OVERRIDE_PROPERTY_PATTERN = `^(${OVERRIDE_IDENTIFIER_PATTERN})+$`;
export const OVERRIDE_PROPERTY_REGEX = new RegExp(OVERRIDE_PROPERTY_PATTERN);

I was wondering if perhaps this should be tweaked a bit, eg to:
export const OVERRIDE_PROPERTY_PATTERN = `(?:\\.|^)(${OVERRIDE_IDENTIFIER_PATTERN})+(?:\\.|$)`;

This would allow for override properties which aren't at the root?

customisations.update('[My Theme]', config, vscode.ConfigurationTarget.Global);
This gets converted to following
customisations.update('workbench.colorCustomizations.[My Theme]', config, vscode.ConfigurationTarget.Global);
And as reported, workbench.colorCustomizations.[My Theme] is not a registered setting. Your intention is to update the value of workbench.colorCustomizations setting.
The right way to do it is following:
const configuration = vscode.workspace.getConfiguration();
const value = configuration.get('workbench.colorCustomizations');
value['[My Theme]'] = { /* your updates */ }
configuration.update('workbench.colorCustomizations', value, vscode.ConfigurationTarget.Global);


Backend: fix api structure

Backend:

Make api lowercase with dashes between words
Split up facilities

closed by #185


[jax2tf] Control on which TF device the TF converted code runs.

The device should match the device on which the JAX code runs,
otherwise the numerical comparisons don't make sense.

This code requires some build-file changes in Google3 to properly
run on GPU and TPU.

Merging, because I need to update the google3 build rules.


karate v. 1.4.1 + Cucumber reporting: logging misbehaving

test-karate-logging.zip
Using the new version of Karate 1.4.1, it seems that there're some problems in printing request/responses in logs when using Cucumber reporting (https://github.com/damianszczepanik/cucumber-reporting). This issue do no appear using karate v.1.4.0.
All details and the instructions to replicate the issue are in the README file in the attached code.

not strictly related to Karate, since it's due to combination with a not necessary external dependency, but worth to mention.

see if using the "fatjar" helps: https://github.com/karatelabs/karate#karate-core-fat-jar
tagging as help-wanted. worth checking if karate 1.5.0 is ok, 1.5.0.RC1 is available.

I'll try later ;-)

still to have time to try but the RC1 of 1.5.0 is not published in https://repo1.maven.org/maven2/com/intuit/karate/karate-junit5/

@forlixdev maven groupId has changed to io.karatelabs: https://central.sonatype.com/artifact/io.karatelabs/karate-junit5
related issue: #2401

Ok. Since the problem seems related to log4j in included in cucumber-reporting, excluding it as dependency seems not breaking the build and correctly generating the cucumber reports
 <dependency>
            <groupId>net.masterthought</groupId>
            <artifactId>cucumber-reporting</artifactId>
            <version>${cucumber-reporting.version}</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

this is more tricky than expecting, since that logging library is widely used, no way to exclude from every package in pom. I'll check with fatjar

@ptrthomas I feel like not only logging but also parallel execution does not work in 1.4.1 which is not the case for 1.4.0.
No matter how many threads set in the runner, it still runs in 1 thread

Is it something you are aware of need to create a new issue?

@bondar-artem no one has reported that and I also just tried locally. you will need to help us replicate this: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue

@forlixdev Hi! did you have any luck with this?

@forlixdev we faced a similar issue. Adding these 2 dependencies to our POM resolved it.

com.fasterxml.jackson.core
jackson-core
${jackson-core-version}

org.slf4j
slf4j-api
${slf4j-api-version}

Reference-
https://stackoverflow.com/questions/30367045/java-lang-noclassdeffounderror-com-fasterxml-jackson-core-jsonfactory
https://stackoverflow.com/questions/7421612/slf4j-failed-to-load-class-org-slf4j-impl-staticloggerbinder

Thanks for the tip. I remember I tried adding slf4j (not only api) and I remember that it did not work at that time, but retrying it now only with this seems working, even if it's not the cleanest solution imho.
<dependency>
	<groupId>org.slf4j</groupId>
	<artifactId>slf4j-api</artifactId>
	<version>${slf4j-api-version}</version>
</dependency>

PS Ihad some issues doing it with fatjar; I'll have to look into.

some related information for our reference those coming across this issue in the future: https://stackoverflow.com/a/76887529/143475

I don't know if this helps anyone, but for some reason without slf4j in POM I get this error:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
I put org.slf4j in the dependencies and fix this failed message, but logs still don't work. After removing cucumber and slf4j the problem gone.

@RuiGuilherme it would help if you confirm if the problem is fixed in 1.5.0.RC3

Adding my experience:
I was in a similar situation. I was facing the error - No SLF4J providers were found.
I had cucumber dependencies in my POM as well.
I went through the link https://www.slf4j.org/codes.html#noProviders.
In my case, I added the logback version 1.3.x and later and it solved my issue.


navigateToTask (G): doesn't switch to upcoming view

As reported here

Thanks for reporting!  Fixed in version 125

Thanks for reporting!  Fixed in version 125


Create a project on Clerk for use with CricketManager

Created an Organisation on clerk and discord and google auth based login page created


go install promtool not working

What did you do?
GO111MODULE=on go install github.com/prometheus/prometheus/cmd/promtool@latest

What did you expect to see?
Successful installation of promtool.
What did you see instead? Under which circumstances?
go: finding module for package github.com/prometheus/client_golang/api
go: finding module for package gopkg.in/alecthomas/kingpin.v2
go: finding module for package github.com/google/pprof/profile
go: finding module for package github.com/prometheus/common/model
go: finding module for package github.com/prometheus/client_golang/api/prometheus/v1
go: finding module for package github.com/prometheus/common/config
go: finding module for package gopkg.in/yaml.v2
go: finding module for package github.com/prometheus/common/version
go: finding module for package github.com/cespare/xxhash
go: finding module for package github.com/pkg/errors
go: finding module for package github.com/go-kit/kit/log
go: finding module for package github.com/go-kit/kit/log/level
go: finding module for package github.com/opentracing/opentracing-go
go: finding module for package github.com/prometheus/client_golang/prometheus
go: finding module for package github.com/prometheus/client_model/go
go: finding module for package github.com/prometheus/common/expfmt
go: finding module for package github.com/Azure/azure-sdk-for-go/arm/compute
go: finding module for package github.com/Azure/azure-sdk-for-go/arm/network
go: finding module for package github.com/Azure/go-autorest/autorest
go: finding module for package github.com/Azure/go-autorest/autorest/adal
go: finding module for package github.com/Azure/go-autorest/autorest/azure
go: finding module for package github.com/hashicorp/consul/api
go: finding module for package github.com/mwitkow/go-conntrack
go: finding module for package github.com/miekg/dns
go: finding module for package github.com/aws/aws-sdk-go/aws
go: finding module for package github.com/aws/aws-sdk-go/aws/credentials
go: finding module for package github.com/aws/aws-sdk-go/aws/credentials/stscreds
go: finding module for package github.com/aws/aws-sdk-go/aws/ec2metadata
go: finding module for package github.com/aws/aws-sdk-go/aws/session
go: finding module for package github.com/aws/aws-sdk-go/service/ec2
go: finding module for package gopkg.in/fsnotify/fsnotify.v1
go: finding module for package golang.org/x/oauth2
go: finding module for package golang.org/x/oauth2/google
go: finding module for package google.golang.org/api/compute/v1
go: finding module for package k8s.io/api/core/v1
go: finding module for package k8s.io/api/extensions/v1beta1
go: finding module for package k8s.io/apimachinery/pkg/apis/meta/v1
go: finding module for package k8s.io/apimachinery/pkg/runtime
go: finding module for package k8s.io/apimachinery/pkg/watch
go: finding module for package k8s.io/client-go/kubernetes
go: finding module for package k8s.io/client-go/rest
go: finding module for package k8s.io/client-go/tools/cache
go: finding module for package k8s.io/client-go/tools/metrics
go: finding module for package k8s.io/client-go/util/workqueue
go: finding module for package github.com/gophercloud/gophercloud
go: finding module for package github.com/gophercloud/gophercloud/openstack
go: finding module for package github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/floatingips
go: finding module for package github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/hypervisors
go: finding module for package github.com/gophercloud/gophercloud/openstack/compute/v2/servers
go: finding module for package github.com/gophercloud/gophercloud/pagination
go: finding module for package github.com/samuel/go-zookeeper/zk
go: finding module for package github.com/prometheus/tsdb
go: finding module for package github.com/prometheus/tsdb/labels
go: found github.com/google/pprof/profile in github.com/google/pprof v0.0.0-20211204230040-2007db6d4f53
go: found github.com/prometheus/client_golang/api in github.com/prometheus/client_golang v1.11.0
go: found github.com/prometheus/client_golang/api/prometheus/v1 in github.com/prometheus/client_golang v1.11.0
go: found github.com/prometheus/common/config in github.com/prometheus/common v0.32.1
go: found github.com/prometheus/common/model in github.com/prometheus/common v0.32.1
go: found github.com/prometheus/common/version in github.com/prometheus/common v0.32.1
go: found gopkg.in/alecthomas/kingpin.v2 in gopkg.in/alecthomas/kingpin.v2 v2.2.6
go: found gopkg.in/yaml.v2 in gopkg.in/yaml.v2 v2.4.0
go: found github.com/cespare/xxhash in github.com/cespare/xxhash v1.1.0
go: found github.com/pkg/errors in github.com/pkg/errors v0.9.1
go: found github.com/go-kit/kit/log in github.com/go-kit/kit v0.12.0
go: found github.com/go-kit/kit/log/level in github.com/go-kit/kit v0.12.0
go: found github.com/opentracing/opentracing-go in github.com/opentracing/opentracing-go v1.2.0
go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.11.0
go: found github.com/prometheus/client_model/go in github.com/prometheus/client_model v0.2.0
go: found github.com/prometheus/common/expfmt in github.com/prometheus/common v0.32.1
go: found github.com/Azure/go-autorest/autorest in github.com/Azure/go-autorest/autorest v0.11.22
go: found github.com/Azure/go-autorest/autorest/adal in github.com/Azure/go-autorest/autorest/adal v0.9.17
go: found github.com/Azure/go-autorest/autorest/azure in github.com/Azure/go-autorest/autorest v0.11.22
go: found github.com/hashicorp/consul/api in github.com/hashicorp/consul/api v1.11.0
go: found github.com/mwitkow/go-conntrack in github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
go: found github.com/miekg/dns in github.com/miekg/dns v1.1.43
go: found github.com/aws/aws-sdk-go/aws in github.com/aws/aws-sdk-go v1.42.20
go: found github.com/aws/aws-sdk-go/aws/credentials in github.com/aws/aws-sdk-go v1.42.20
go: found github.com/aws/aws-sdk-go/aws/credentials/stscreds in github.com/aws/aws-sdk-go v1.42.20
go: found github.com/aws/aws-sdk-go/aws/ec2metadata in github.com/aws/aws-sdk-go v1.42.20
go: found github.com/aws/aws-sdk-go/aws/session in github.com/aws/aws-sdk-go v1.42.20
go: found github.com/aws/aws-sdk-go/service/ec2 in github.com/aws/aws-sdk-go v1.42.20
go: found gopkg.in/fsnotify/fsnotify.v1 in gopkg.in/fsnotify/fsnotify.v1 v1.4.7
go: found golang.org/x/oauth2 in golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
go: found golang.org/x/oauth2/google in golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
go: found google.golang.org/api/compute/v1 in google.golang.org/api v0.61.0
go: found k8s.io/api/core/v1 in k8s.io/api v0.22.4
go: found k8s.io/api/extensions/v1beta1 in k8s.io/api v0.22.4
go: found k8s.io/apimachinery/pkg/apis/meta/v1 in k8s.io/apimachinery v0.22.4
go: found k8s.io/apimachinery/pkg/runtime in k8s.io/apimachinery v0.22.4
go: found k8s.io/apimachinery/pkg/watch in k8s.io/apimachinery v0.22.4
go: found k8s.io/client-go/kubernetes in k8s.io/client-go v0.22.4
go: found k8s.io/client-go/rest in k8s.io/client-go v0.22.4
go: found k8s.io/client-go/tools/cache in k8s.io/client-go v0.22.4
go: found k8s.io/client-go/tools/metrics in k8s.io/client-go v0.22.4
go: found k8s.io/client-go/util/workqueue in k8s.io/client-go v0.22.4
go: found github.com/gophercloud/gophercloud in github.com/gophercloud/gophercloud v0.23.0
go: found github.com/gophercloud/gophercloud/openstack in github.com/gophercloud/gophercloud v0.23.0
go: found github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/floatingips in github.com/gophercloud/gophercloud v0.23.0
go: found github.com/gophercloud/gophercloud/openstack/compute/v2/extensions/hypervisors in github.com/gophercloud/gophercloud v0.23.0
go: found github.com/gophercloud/gophercloud/openstack/compute/v2/servers in github.com/gophercloud/gophercloud v0.23.0
go: found github.com/gophercloud/gophercloud/pagination in github.com/gophercloud/gophercloud v0.23.0
go: found github.com/samuel/go-zookeeper/zk in github.com/samuel/go-zookeeper v0.0.0-20201211165307-7117e9ea2414
go: found github.com/prometheus/tsdb in github.com/prometheus/tsdb v0.10.0
go: found github.com/prometheus/tsdb/labels in github.com/prometheus/tsdb v0.10.0
go: finding module for package github.com/Azure/azure-sdk-for-go/arm/compute
go: finding module for package github.com/Azure/azure-sdk-for-go/arm/network
../../../../workspace/pkg/mod/github.com/prometheus/prometheus@v2.5.0+incompatible/discovery/azure/azure.go:24:2: module github.com/Azure/azure-sdk-for-go@latest found (v60.0.0+incompatible), but does not contain package github.com/Azure/azure-sdk-for-go/arm/compute
../../../../workspace/pkg/mod/github.com/prometheus/prometheus@v2.5.0+incompatible/discovery/azure/azure.go:25:2: module github.com/Azure/azure-sdk-for-go@latest found (v60.0.0+incompatible), but does not contain package github.com/Azure/azure-sdk-for-go/arm/network

Environment
go version go1.17.2 darwin/amd64

System information:

Darwin 21.1.0 x86_64

Also seeing this issue with environment go version go1.17.3 darwin/amd64 and system information Darwin 20.6.0 x86_64

Could you try GO111MODULE=on go install github.com/prometheus/prometheus/cmd/promtool@main ?

Could you try GO111MODULE=on go install github.com/prometheus/prometheus/cmd/promtool@main ?

go install github.com/prometheus/prometheus/cmd/promtool@main: <EMAIL_ADDRESS>	The go.mod file for the module providing named packages contains one or
	more replace directives. It must not contain directives that would cause
	it to be interpreted differently than if it were the main module.

This is a warning, I expect.

This is a warning, I expect.

@roidelapluie but not able to install promtool with above command. Return code by the go install is 1.

Has anyone found a fix for this yet? I'm getting the same error.

I am trying to find a solution at #10881. @roidelapluie can you help me checking out if that's still keeping the features form the log replacement?

i am automating by using promtool in our build system, and seeing this issue. Any updates anyone has for this issue ? Thanks in advance.

Not possible to fix this issue without getting rid of all the replace clauses in in go.mod file. And it's not easy to get rid of those replaces, they are needed to patch k8s' logging system.
This limitation of go install is a common issue that annoys people: https://github.com/golang/go/issues/44840
There's a proposal to improve it: https://github.com/golang/go/issues/50278

This is becoming more urgent now that go 1.18 refuses to install via go get, which is the workaround we've been using (e.g. GO111MODULE="on" go get github.com/prometheus/prometheus/cmd/promtool). Unless I'm missing an alternative, we are effectively locked onto go 1.17 for certain operations as long as this remains unfixed.

Hello from the bug scrub!
We discussed the current state of this. The following replace directives are still in our go.mod:
replace (
        k8s.io/klog => github.com/simonpasquier/klog-gokit v0.3.0
        k8s.io/klog/v2 => github.com/simonpasquier/klog-gokit/v3 v3.3.0
)

Presumably, if everything is using klog/v2, we can remove them. @simonpasquier could you tell what is required to take out the replace directives? (You put them in in the first place :smile: )


Chrome Dino Game

i want to add chrome dino game. please assign this under this project to me under GSSoc'23 tag

Hi @DEVANSHUKEJRIWAL , could you please elaborate on the features of the Crossword game with full details, demo / mock UI sample/Video, and tech stack? better share details documentation.

Can i work upon this??


How to get UIImageView in cell message

Hi guys, I have problem. I need getting UIImageView in cell of PhotoMessage. Thanks for reading

Yup I was also trying to access UIImageView so that I don't have to download every single image.
But sadly they do not have DIRECT access.


fix(base-cluster/monitoring): 🤦

This slipped through the review; https://github.com/teutonet/teutonet-helm-charts/pull/1000/files#diff-80f2ffd71023a346532f2d1a6a590f3c277944b097de89a02d496b461d0075c9L176-L176 ............


Readium-js-viewer not loading on iOS correctly

I have been dealing with an issue with the readium-js-viewer being installed as an iOS app on the iPad.
It appears to start loading an epub (tried many different unzipped epubs in the epub_content dir.) and will display the title correctly, but then will continue indefinitely spinning with a blank page.
In some initial debug, I do not see any event being triggered for ReadiumSDK.Events.CONTENT_DOCUMENT_LOADED for the reader. This works on a desktop, but not on my iPad. I working with release 0.15 and have tried the others as well with the same result. The app is a Cordova app and I am using the InAppBrowser (but have also tried Safari with the same result) Any idea on what I not doing correctly or if this is a known problem?

Duplicate: https://github.com/readium/readium-js-viewer/issues/352


stopScrollPropagation breaking on Chrome 73

Just a notice, on Chrome Versión 73.0.3683.75 stopScrollPropagation stopped working. They seem to be introducing some new scrolling features. Can anyone else confirm the bug?
Console displays error: [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive.

Fixed in version v0.5.5


chore: remove extra the article in docs sentence

Description
This PR deletes an unnecessary the article in a sentence.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for catching this @andresroberto 👍


Add testing use case (web service?) to report which Translator SmartAPI Registry entries do not yet report a 'test_data_location' x-trapi tag for for sample data

This situation is likely already captured by logging, but the log itself needs to be made more visible?


I appreciate the module! Are you able to add embeds?

I love the module, however, I am trying to get it to display embeds too. Is this possible?
Thanks!

What kinds of embeds? Photos/videos/gifs? There's no support for that yet, but I can take a look at it.

What kinds of embeds? Photos/videos/gifs? There's no support for that yet, but I can take a look at it.

I have a bot that displays my current tasks for the day so if it could grab the 'description' and 'fields' for the embed that would be nice

Okay, I can take a look at it if I find an hour free at some point. If you're in a rush pull requests are also accepted.
Maybe this weekend I'm free, but can't promise much.

No rush! Thanks again

What if there is a template property which you can use to customize the message with available parameters. Something like:
"template": "${msg.title}: ${msg.fields[0].name}  ${msg.fields[0].value} | ${msg.url}"

And the default value is just the message text. That way there are more possibilities for customization.

That sounds like a great idea


support absolute location workspaces

We need to support creating workload clusters in location workspaces directly under the root, and we may not have access to read the clusterworkspaces in the root workspace. With this PR, we allow the user to specify an absolute location (e.g., "root:my-location-workspace") or relative location as before. Currently I am checking if it is absolute by comparing it to the kcp config URL, so it's only allowing absolute locations equal to the kcp config current context or a child of that. We could change it to just check for "root" too to decide if it's relative, but I think what's here works well for our short term goals and this will all be reworked when we implement the compute service.

/lgtm

/retest-required


feat: nwaku interop test for peer-exchange

The interop test for locally run nwaku nodes was blocked on nwaku v0.13.
Nwaku 0.14 was released and this PR adds an interop test between js-waku<>nwaku for peer-exchange queries.
This PR

assumes the upgrade of nwaku to 0.14 on js-waku master
replaces --listen-address=<IP_ADDRESS> with --nat:extip:<IP_ADDRESS> for NAT traversal issues while connecting to an nwaku node (https://discord.com/channels/864066763682218004/865466680129880074/1065960693733544016)
has a workaround for https://github.com/waku-org/nwaku/issues/915 until solved
has the base as danisharora-fix-peer-exchange and will be changed to master once the original is merged

assumes the upgrade of nwaku to 0.14 on js-waku master

Tracked with https://github.com/waku-org/js-waku/pull/1128

Unfortunately the test cannot be merged/enabled until nwaku 0.15.0 is released. Maybe worth splitting the PR, holding on the tests and introducing the changes to the protocol?


zendesk api is ssl only when trying to pass in a URL from a config file

Similiar to this: https://github.com/zendesk/zendesk_api_client_rb/issues/244, but my syntax is correct as I can get it working.
I'm trying to load my settings from a separate file

require 'yaml'
require 'zendesk_api'
client = ZendeskAPI::Client.new do |config|
configobject = YAML.load_file("config.yml")
config.url = configobject['url']
config.username = configobject['username']
config.token = configobject['token']
config.retry = true
end

and the yaml:

#config.yml
url : "https://urltomyzendesk/api/v2"
username : "username"
token : "token"

This doesn't work, it doesn't like the URL, I get the "zendesk api is ssl only".
Now if I hard code the URL so it becomes

client = ZendeskAPI::Client.new do |config|
configobject = YAML.load_file("config.yml")
config.url = "https://myzendeskurl/api/v2"
config.username = configobject['username']
config.token = configobject['token']
config.retry = true
end

it works.

I have the same issue, even when I hard code the URL

Hello @rfdunn and @drop-ivan!
could it be possible that you are passing an empty string or nil to the config? if that's the case, the check_url method will raise an exception:
https://github.com/zendesk/zendesk_api_client_rb/blob/master/lib/zendesk_api/client.rb#L195-L199
@rfdunn  Could you please print out the content of configobject? as it's returned from YAML.load_file("config.yml")

I found out my issue was that the YAML wasn't loading properly. I don't know if this was a side product of Linux on Windows as a subsystem or something else but after numerous reboots (for other purposes) this started working. So not satisfactory but a result nonetheless.

I am glad that is working now! I am going to close this issue since seems resolved, but do not hesitate to add more comments if you have more questions.


Some keywords are not highlighted in Ballerina by Examples

Description:
Some keywords like foreach, in are not highlighted in Ballerina by Examples.

Created https://github.com/ballerina-platform/ballerina-examples/issues/807 to track this


i have a strange problem in vs code. I receive errors related to rows that are deleted or commented.

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.76.2
OS Version: Windows 10

Steps to Reproduce:
in order to solve this problem I used the following:

Cleared cache
Deleted settings.json
Checked for updates

/needsMoreInfo
/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!


Preflight Checklist

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Problem Description
问题地址：https://iast.io/deploy

Proposed Solution
建议把”自动安装“ 改为“探针安装”。
Alternatives Considered
No response
Additional Information
No response

Thanks for the suggestion, we will discuss it, and then solve it

We expect to fix this issue in version 1.0.4


Added a new section and link to the CNCF Hosted Projects w/signoff

Signed-off-by: AnshumanDhiman<EMAIL_ADDRESS>Description
This PR fixes #549
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Heyy @AnshumanDhiman . Good work ! Just wanted to confirm, Is this PR doing the same work as done in #553 ? If it is, Could you please close that other PR and we can focus on this. Also it would be great if you can update the description of this PR to attach Screenshot of the work you've done. ( Something like the other PRs description.)

@warunicorn19 , Also, I was just wondering that since no of group members are mentioned in the image, Is it a good choice to have a image with that number there ? ( The number is gonna remain static there, and so someday we would have to keep changing it again. ) . What are your opinions ? @AnshumanDhiman  @warunicorn19

@Zain-Muiz yes good catch🤔. We wouldn't want the no. Of member to be shown. Okay we need to figure this one out.

This should not be added to the main page. @AnshumanDhiman let's start getting your proposed updates into Figma for review before implementation so that:

we can give holistic consideration as to the layout of the site
we avoid churn

oopsie my bad @leecalcote 😅 let me come with another idea on how to fit this into the page

oopsie my bad @leecalcote 😅 let me come with another idea on how to fit this into the page

Sounds real good, @AnshumanDhiman 👍

@AnshumanDhiman considering our page is already too long right now, and there's already a callout for this CNCF group, I'll close this PR. Sorry for the miscommunication.


feat: injective bilinear pairing V→W* with V f.d. induces surjective W→V*

From the Hairer challenge

also add consequence for SeparatingDual from the projective space thread (cc @smorel394)

add two lemmas: toDual_injective and finite_dual_iff

golf several proofs in LinearAlgebra/Dual

Co-authored-by: Kyle Miller<EMAIL_ADDRESS>

I've now spun out another PR #9124 based on this one. If everything looks good can we merge this soon?


Safely remove dotMarker from super view

Fixed in https://github.com/Mozharovsky/CVCalendar/pull/180


{AzureNetwork} fixes Azure/azure-rest-api-specs#20256

fixes Azure/azure-rest-api-specs#20256
This swagger definition is defining property applicationGatewayIpConfigurations,
"applicationGatewayIpConfigurations": {
          "type": "array",
          "items": {
            "$ref": "./applicationGateway.json#/definitions/ApplicationGatewayIPConfiguration"
          },
          "description": "Application gateway IP configurations of virtual network resource."
        }

but actual rest api returned applicationGatewayIPConfigurations, the P is upper case while in swagger it is lower case
{
  "name": "subnet-agw",
  "id": "/subscriptions/<sub-id>/resourceGroups/<rg-name>/providers/Microsoft.Network/virtualNetworks/<vnet-name>/subnets/subnet-agw",
  "properties": {
      "applicationGatewayIPConfigurations": [
          {
              "id": "/subscriptions/<sub-id>/resourceGroups/<rg-name>/providers/Microsoft.Network/applicationGateways/<agw-name>/gatewayIPConfigurations/appGatewayIpConfig"
          }
      ]
  },
  "type": "Microsoft.Network/virtualNetworks/subnets"
}

please update correspondingly
ARM API Information (Control Plane)
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

@navba-MSFT, could you also fix the modeling validation errors?
For breaking change, please follow our process:
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.

Filing a breaking change request

Discussing with the Service team to review this

Waiting for the review from Service team

Creating a new PR to fix it in latest version 2022-09-01 . So closing this PR as a duplicate of https://github.com/Azure/azure-rest-api-specs/pull/22875


Format Large Numbers into short like 1k, 1M ..etc

Format Large Numbers into short like 1k, 1M ..etc

Fixed


Guide to running common neural networks on Yocto

Hi,
Is there a guide to running common pretrained neural networks (YOLOv3, RCNN etc) on Yocto, Jetson boards? I know a few guides exist for Ubuntu on Jetson boards, but I would like to evaluate them on Yocto-based OS. If such guides or recipes exist, it would be good -imho- to compile them in the Wiki section.
Thanks,

I don't know of one... contributions are welcome!
As a short cut to getting started, you should be able to run the Jetson-compatible containers in the NVIDIA NGC catalog on a Yocto-based build that includes nvidia-docker support. But recipes for building the various frameworks don't seem to be readily available.


Forcing format on save

Little modification that will allow us to specify format on \Intervention\Image\Image::save() like it's possible with \Intervention\Image\Image::encode()

You force the format, by providing an corresponding filename.
// save as jpeg
$image->save('foo.jpg');

// save as png
$image->save('foo.png');

In some cases it's not possible. Eg. in my current project files are saved in somename.data format.

I suggest, to use encode() to get the image data and save it manually (file_put_contents or Laravel's great Filesystem) or even better save with an appropriate file extension.


Remove "Managed Dependencies" from MavenCentral

Remove "managed dependency" from lib because there are some libraries that have CVE issues.

I released v6.0.1 to maven central.
I am waiting to appear in central and will check that this block won't exist. If I judge the result as correct, I will also mark the release on GitHub.


Out of memory with KroneckerEK0 using 50K dimensions

Hi!
I tried running the KroneckerEK0 with the Lorenz96 ODE and 50000 dimensions. Using the Kronecker factorization I should be able to get linear complexity in the dimensions. I am using adaptive step-size with 4 derivatives. I tried running the following code:
import jax.numpy as jnp
from tornadox import ek0, ivp

solver = ek0.KroneckerEK0(num_derivatives=4)

# Solve an IVP
lorenz96 = ivp.lorenz96(tmax=0.6, num_variables=50000)

# Full solve
print(solver)
solver.solve(lorenz96)

print()

But I get the following error:
No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)
KroneckerEK0(num_derivatives=4, steprule=AdaptiveSteps(abstol=0.0001, reltol=0.01), initialization=TaylorMode())
Traceback (most recent call last):
  File "/home/santillan/pykf/probdiffeq_test.py", line 19, in <module>
    solver.solve(vdp)
  File "/home/santillan/pykf/venv/lib/python3.10/site-packages/tornadox/odefilter.py", line 62, in solve
    cov_sqrtms.append(state.y.dense_cov_sqrtm())
  File "/home/santillan/pykf/venv/lib/python3.10/site-packages/tornadox/rv.py", line 73, in dense_cov_sqrtm
    return jnp.kron(self.cov_sqrtm_1, self.cov_sqrtm_2)
  File "/graphics/opt/opt_Ubuntu22.04/python/3.10/opt-packages/local/lib/python3.10/dist-packages/jax/_src/traceback_util.py", line 166, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)
  File "/graphics/opt/opt_Ubuntu22.04/python/3.10/opt-packages/local/lib/python3.10/dist-packages/jax/_src/pjit.py", line 250, in cache_miss
    outs, out_flat, out_tree, args_flat, jaxpr = _python_pjit_helper(
  File "/graphics/opt/opt_Ubuntu22.04/python/3.10/opt-packages/local/lib/python3.10/dist-packages/jax/_src/pjit.py", line 163, in _python_pjit_helper
    out_flat = pjit_p.bind(*args_flat, **params)
  File "/graphics/opt/opt_Ubuntu22.04/python/3.10/opt-packages/local/lib/python3.10/dist-packages/jax/_src/core.py", line 2677, in bind
    return self.bind_with_trace(top_trace, args, params)
  File "/graphics/opt/opt_Ubuntu22.04/python/3.10/opt-packages/local/lib/python3.10/dist-packages/jax/_src/core.py", line 383, in bind_with_trace
    out = trace.process_primitive(self, map(trace.full_raise, args), params)
  File "/graphics/opt/opt_Ubuntu22.04/python/3.10/opt-packages/local/lib/python3.10/dist-packages/jax/_src/core.py", line 815, in process_primitive
    return primitive.impl(*tracers, **params)
  File "/graphics/opt/opt_Ubuntu22.04/python/3.10/opt-packages/local/lib/python3.10/dist-packages/jax/_src/pjit.py", line 1203, in _pjit_call_impl
    return xc._xla.pjit(name, f, call_impl_cache_miss, [], [], donated_argnums,
  File "/graphics/opt/opt_Ubuntu22.04/python/3.10/opt-packages/local/lib/python3.10/dist-packages/jax/_src/pjit.py", line 1187, in call_impl_cache_miss
    out_flat, compiled = _pjit_call_impl_python(
  File "/graphics/opt/opt_Ubuntu22.04/python/3.10/opt-packages/local/lib/python3.10/dist-packages/jax/_src/pjit.py", line 1143, in _pjit_call_impl_python
    return compiled.unsafe_call(*args), compiled
  File "/graphics/opt/opt_Ubuntu22.04/python/3.10/opt-packages/local/lib/python3.10/dist-packages/jax/_src/profiler.py", line 314, in wrapper
    return func(*args, **kwargs)
  File "/graphics/opt/opt_Ubuntu22.04/python/3.10/opt-packages/local/lib/python3.10/dist-packages/jax/_src/interpreters/pxla.py", line 1349, in __call__
    results = self.xla_executable.execute_sharded(input_bufs)
jax._src.traceback_util.UnfilteredStackTrace: jaxlib.xla_extension.XlaRuntimeError: RESOURCE_EXHAUSTED: Out of memory allocating<PHONE_NUMBER>00 bytes.

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/santillan/pykf/probdiffeq_test.py", line 19, in <module>
    solver.solve(vdp)
  File "/home/santillan/pykf/venv/lib/python3.10/site-packages/tornadox/odefilter.py", line 62, in solve
    cov_sqrtms.append(state.y.dense_cov_sqrtm())
  File "/home/santillan/pykf/venv/lib/python3.10/site-packages/tornadox/rv.py", line 73, in dense_cov_sqrtm
    return jnp.kron(self.cov_sqrtm_1, self.cov_sqrtm_2)
jaxlib.xla_extension.XlaRuntimeError: RESOURCE_EXHAUSTED: Out of memory allocating<PHONE_NUMBER>00 bytes.

It tries to allocate 500GB of data. Am I implicitly computing the full covariance matrix at some point?

Hi,
Thanks for reaching out!
I am a bit confused because your error message does not seem to match the code snippet: it complains about solver.solve(vdp), but your example should run solver.solve(lorenz). Maybe you mixed something up there, and maybe this mix-up is the reason for your error?
P.S.:
Also, as indicated in Tornadox's readme, we don't really work on tornadox anymore. Other libraries can do what Tornadox does (and more). There is https://github.com/pnkraemer/probdiffeq for JAX code or https://github.com/nathanaelbosch/ProbNumDiffEq.jl for Julia code, and you might enjoy working with these libraries more than working with Tornadox :blush:  What do you think?

In addition to the above:
You might be looking for solver.solution_generator() or solver.simulate_final_state() because solver.solve() is more of a convenience function to plot solutions etc. solver.solve() indeed materialises the full covariance matrices.
Have a look at tornadox/odefilter.py to see how these functions compare, and let me know if you need further assistance.
Does this help? :)

Ops, you are correct. The error message indeed referred to another code snippet.  Problem's the same though. However just using
simulate_final_state(lorenz96)

works! So I was previously materializing the full covariance matrix.
Thanks! I've also checked out probdiffeq and it works like charm :)
P.S. The only reason I am looking at Tornadox is that I am trying to implement the probabilistic solver in PyTorch and Tornadox seemed easier to translate w.r.t. probdiffeq (I am using the Probabilistic ODE Solutions in Millions of Dimensions paper as reference). Again, thank you so much!

That's great to hear! Thanks for following up :)

P.S. The only reason I am looking at Tornadox is that I am trying to implement the probabilistic solver in PyTorch and Tornadox seemed easier to translate w.r.t. probdiffeq (I am using the Probabilistic ODE Solutions in Millions of Dimensions paper as reference). Again, thank you so much!

Oh, that sounds super interesting, and I agree that Tornadox could be a better reference for this process -- at least at this point in time. If you use the million-dimensions paper as a reference, you might also be interested in this.
Let me know if you have more questions :+1:


How to use the Pretrained data2vec 2.0?

After download the data2vec Base and Large, how to use them?
When I used the below code:
cp_path = '/home/m11113013/ProjectCode/Others/base_libri.pt'
models, cfg, task = fairseq.checkpoint_utils.load_model_ensemble_and_task([cp_path], strict=False)
It showed the below errors:
發生例外狀況: ConfigKeyError
Key 'rebuild_batches' not in 'AudioPretrainingConfig'
full_key: rebuild_batches
reference_type=Optional[AudioPretrainingConfig]
object_type=AudioPretrainingConfig
File "/home/m11113013/ProjectCode/Others/input_speech_categories.py", line 71, in
models, cfg, task = fairseq.checkpoint_utils.load_model_ensemble_and_task([cp_path], strict=False)
omegaconf.errors.ConfigKeyError: Key 'rebuild_batches' not in 'AudioPretrainingConfig'
full_key: rebuild_batches
reference_type=Optional[AudioPretrainingConfig]
object_type=AudioPretrainingConfig

I had the same error as you. Did you fix it？


Adds order button and custom answer fields to service compare modal

Compare modal now supports displaying the contents of a products "answers" object and will properly align answers of similar names.  Additional, when the compare modal is accessed from the "add service" button on a project page, the order button will appear.  This presently redirect the user to the orders state.
closes #965

The three prices should come last after the answers.

Oh, an easy change to make, I had no idea.
On Oct 29, 2015 4:47 PM, "Michael Stack"<EMAIL_ADDRESS>wrote:

The three prices should come last after the answers.
—
Reply to this email directly or view it on GitHub
https://github.com/projectjellyfish/api/pull/1005#issuecomment-152316687
.

all pr feedback addressed, pictures updated to reflect changes.

:+1:


"Păușești" , "Barcanele " , "Buzdugan " , "Cernelele " , "Păușești-Otăsău" , "Șerbănești " , "Șolicești " , "Văleni" are listed in the drop-down menu

The villages are listed in the drop-down menu alongside its corresponding county and city, according to the law
Preconditions : the  website is up and runing. After every step delete the text you typed from the search bar.

Step 1
Write in the search bar "Păușești"

Expected results
The location appears in the drop-down menu as "Sat Păușești, VÂLCEA (Păușești)"

Step 2
Write in the search bar "Barcanele "

Expected results
The location appears in the drop-down menu as "Sat Barcanele , VÂLCEA (Păușești)"

Step 3
Write in the search bar "Buzdugan "

Expected results
The location appears in the drop-down menu as "Sat Buzdugan , VÂLCEA (Păușești)"

Step 4
Write in the search bar "Cernelele "

Expected results
The location appears in the drop-down menu as "Sat Cernelele , VÂLCEA (Păușești)"

Step 5
Write in the search bar "Păușești-Otăsău"

Expected results
The location appears in the drop-down menu as "Sat Păușești-Otăsău, VÂLCEA (Păușești)"

Step 6
Write in the search bar "Șerbănești "

Expected results
The location appears in the drop-down menu as "Sat Șerbănești , VÂLCEA (Păușești)"

Step 7
Write in the search bar "Șolicești "

Expected results
The location appears in the drop-down menu as "Sat Șolicești , VÂLCEA (Păușești)"


GFLOPs and params

Hi, Dr. Zhang,
We found <Re-mine, Learn and Reason: Exploring the Cross-modal Semantic Correlations for Language-guided HOI detection> reports the following:

We are puzzled by the scoring of MACs (G): UPT contains DETR and interaction head, but MACs (G) are very close. What is causing this?
We compared the number of parameters and GFLOPs for QPIC and UPT. The image size is [3,887,1055] and the test results are as follows:
QPIC: Parameters: 41.462M GFLOPs: 91.82
UPT: Parameters: 54.763M (interaction head 13.241M) GFLOPs: 91.91
(test with GeForce GTX 1080)
This seems similar to the table, can you tell me what is causing this?

Hi @yaoyaosanqi,
Good observation. The computational cost of UPT is indeed heavily centred on the first stage. The second stage, i.e., the interaction head, only processes a small number of tokens, be it unary or pairwise. Normally, you'd have about 10 detected humans and objects in each image after the filtering. That's a very small number of unary tokens. Similarly, the pairwise layer didn't need to process a lot of tokens, either.
On the other hand, the unary and pairwise layers are both self-attention layers, with higher dimensions than what was in DETR (256). So the parameter count does go up disproportionally.
Fred.


Add $destroy event listener.

Following Angular best practices to always destroy a directive and (possibly) unbind
any watcher to avoid leaks

I merged your PR. It will be included in the next release. Thank you.

Thanks @beradrian!


Updating Country

Brief Description: Country to United Kingdom in error. I later corrected it to United States. It has updated correctly in Open Bazaar, however Duo and other search engines still show United Kingdom after a few days. They believe the problem is on your side.
I believe other users have the same problem. Can you please fix this as it is misleading to customers wanting to buy.
OpenBazaar version 1.1.7
Reproducible (Always)
Steps to reproduce:
Just look at the attached images.
Additional info (links, images, etc go here):

Thank You

@emgra your country cannot be read by 3rd parties. It's only available via the settings API, which only your own client and node can use.
We don't know what data 3rd parties are using to determine your country. If they are using the depreciated location value in the profile API, they will need to remove that, since that value isn't used any more.

I'm closing this issue, as the data involved has been depreciated. Duosearch is aware of that, and will be adjusting how they detect nodes' country of origin.


Add OffMeshLink, Add Runtime support

compatible offMeshLink
add runtime support

the runtime methods work great with my NavMeshComponents use case. thanks for creating it!

the runtime methods work great with my NavMeshComponents use case. thanks for creating it!

Thank for you like it! a clear version is commit.

Request: eDimitry's version has a "Cheat Offset Value" to prevent the links from cutting through the edge of ledges since NavMesh often starts farther in than the edge of the geo. Relevant snippet from eDimitry's version is in CheckPlacePosHorizontal method.

I appreciate the enthusiasm, but as I said in #4 and #5, I think navgen at runtime is better handled by the code changing your geo and I don't want to maintain support for legacy components.
Additionally, this PR has a bunch of extra stuff in it: a KinematicCharacterController package, the unity-navgen example branch, and 620 changed files! I don't want to ask you to clean it up and then decline your PR, so I'll close this PR.
holomatt: I was intentionally trying to avoid copying eDimitry's code so I could post a solution with a clear license. However, I think it's be a great idea to take eDimitry's solution and make a new project that pulls in any improvements I have here or that orangeagain made.


incompatible babel-eslint versions causing frontend to crash

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Checkout PR #586
npm i
npm start
See error

Screenshots

@Harjot1Singh please tell me what you want me to do to fix this

Can you try merging current dev in that branch because that branch is outdated and I fixed this in #605

That is what I did
Should I try deleting node_modules, package-lock.json etc? I'd really rather avoid all that again lol

Should I try deleting node_modules, package-lock.json etc?

yes please  : )

deleting node_modules and package-lock.json files did not work
uninstalling babel-eslint and re-installing it brings it up to correct version
going to commit the new package.json and package-locks


Could not install Mythrill on ubuntu

Description
Installed Rust also and all the required ubuntu packages.
How to Reproduce
ubuntu@ip-10-0-1-162:~$ pip3 install mythril
Defaulting to user installation because normal site-packages is not writeable
Collecting mythril
  Using cached mythril-0.23.8.tar.gz (4.5 MB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: MarkupSafe<2.1.0 in /usr/lib/python3/dist-packages (from mythril) (2.0.1)
Collecting asn1crypto>=0.22.0
  Using cached asn1crypto-1.5.1-py2.py3-none-any.whl (105 kB)
Collecting blake2b-py
  Using cached blake2b_py-0.1.3.tar.gz (14 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-g69c06p1 --interpreter /usr/bin/python3`
      Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
        File "/tmp/pip-build-env-kqrtpesb/overlay/local/lib/python3.10/dist-packages/maturin/__init__.py", line 174, in prepare_metadata_for_build_wheel
          output = subprocess.check_output(command)
        File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
        File "/usr/lib/python3.10/subprocess.py", line 501, in run
          with Popen(*popenargs, **kwargs) as process:
        File "/usr/lib/python3.10/subprocess.py", line 966, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "/usr/lib/python3.10/subprocess.py", line 1842, in _execute_child
          raise child_exception_type(errno_num, err_msg, err_filename)
      FileNotFoundError: [Errno 2] No such file or directory: 'maturin'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Expected behavior
I expected it to install.
Environment

Python version: python -V  3.10
OS and Version: [e.g. Mac OS High Sierra] ubuntu 22.06

Additional Environment or Context

Try switching to python 3.9. It should work

Just install maturin
sudo pip3 install maturin

Sure It works well on 3.9. :confetti_ball:
You may also need to install PIL

u need to install maturin and the nightly build of rust .. worked for me

there is also wheel something..

Same issue here.

Try installing rust and the missing python modules


Add UVBeam object

Add UVBeam object and support for reading & writing uniformly gridded power and e-field beams.

This branch now has a reasonably well-developed and tested read/write method for regularly gridded beams, either efield or power beams.
The testing includes reading in and writing out an exported CASA beam, with the caveat that the CASA beam is really in RA/Dec sine projection and the test treats it as if it were in az/za sine projection.
It currently lacks any read/write methods for healpix format beams.
It also currently lacks support for phased_array type antennas.

This branch now supports reading & writing healpix beam fits files using a custom fits format (rather than the standard healpix fits format which does not support a frequency axis).

Ok, I think this PR is ready for some external eyes on it. @adampbeardsley @dannyjacobs @jpober
Some existing limitations that should be addressed in the future:
-- The only data file I have to test with is a CASA power beam from Chris. In order to fully exercise the code, I'm making up dummy test data. It'd be better to base tests on some actual data files. Of course this is limited by the current set of read/write methods (only FITs is supported currently).
-- There is no support yet for phased-array beams in the FITs format
-- There are no import/export methods yet for standard Healpix FITs files (as Danny requested), but the select and add methods they would require do exist.
-- There are no coordinate conversion methods yet to move between different pixel_coordinate_systems (e.g. az_za and healpix).
-- There is no method yet to convert E-field beams to power beams.
-- We need read methods for native model files
I'm not sure how many of these should be addressed before this PR gets merged, I think that should be part of the discussion.


[CHALLENGE SUBMISSION] Challenge 6 - Azure Functions and Durable Entities in TypeScript

Please provide the following information for your submission:
What is your name? (First, Last)
Christian Lechner
Where is your GitHub Repo ?(Link to your challenge solution)
https://github.com/lechnerc77/SeasonOfServerlessWeek6
What Challenge is this for? (Challenge number between 1 and 7)
6
(Optional) Anything else we should know? e.g., language used, location, blog post, tell us how you solved this solution, including any challenges you faced solving it.
This is a solution for the challenge of week 6 using TypeScript. The solution is a combination of Azure Functions 8serving as durableClients and Azure Durable Entities for storing the state:

Azure Durable Entity ChocolateBoxEntity: This entity stores the available amount of chocolate per chocolate type. It constraints the maximum amount of chocolate per type to two pieces.

Azure Durable Entity ReservationEntity: This entity stores the reservation of chocolate per person.

Azure Function ReserveChocolate: This functions offer a POST endpoint for reserving chocolate for a person. You must provide the input parameters via JSON e. g.
{
  "name": "Christian",
  "type": "Rocher Noir"
}

Azure Function ChocolateReservationStatus: This functions offer an endpoint available to GET and DELETE. It accepts the query parameter name.

GET fetches the current status of a reservation for the person handed over via the query parameter
DELETE removes the reservation for the person handed over via the query parameter.

The details and "story line" of the solution are described in the repo in the section Internal Design

thank you for this submission!

thank you for this submission!


avoid unnecessary calls when files are not downloadable on iis

I discovered that on iis requesting a certificate fails when ASP.Net Core is involved.
To avoid unnecessary calls and prevent getting "blacklistenend" by letsencrypt I suppose to check wheter it is possible to reach the files under the .well-known folder.

There is already a very similar function which is --warmup. Its use is optional but it works for all plugins generating http challenges. It logs errors but doesn't do anything else with them. I would propose changing that instead of adding another hook into the already overly complicated plugin system.

This has fallen far behind master and shown no activity in the past half year, so I'm going to close it. Please feel free to create a new PR though if you still plan to implement this.


Write advanced usage documentation

Currently, only basic usage is outlined in the README.md file. There needs to be more documentation for the usage of various StatementVisitors

It looks like this is good to go for the version 1.1.0 release, #9.
Closing this issue.


is this thing working?

I got this after installing terminalizer with npm install -g terminalizer:
$ terminalizer
/usr/local/lib/node_modules/terminalizer/node_modules/yargs/lib/command.js:22
    globalMiddleware.push(...middlewares)
                          ^^^

SyntaxError: Unexpected token ...
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/terminalizer/node_modules/yargs/lib/argsert.js:2:17)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)

um, help ?

@sokoow What version of Node.js do you use ?

I got it working on ubuntu bionic, that was a nodejs version from ubuntu xenial that was problematic

That would be appreciated if you mentioned your nodejs version so the world could recognize and check the problem.

I'm on ubuntu Xenial so it's v4.2.6


Switch over to rustc's tracing crate instead of using our own log crate

disadvantage: to turn on debug/trace logging, you need a rustc built with it
advantage: sharing our logging scheme with rustc, so our logs get nested correctly.

disadvantage: to turn on debug/trace logging, you need a rustc built with it

Hm, that is unfortunate... but probably worth it to get the proper nesting.
Are there docs that need/should be updated for this?

:umbrella: The latest upstream changes (presumably #2970) made this pull request unmergeable. Please resolve the merge conflicts.

@rustbot author

@oli-obk what is the status of this PR? Is it worth keeping it open?
If you don't plan to get back to it in the near future, IMO it'd be better to close (and then reopen if/when you have time again).

Thanks. :)
@bors r+

:pushpin: Commit e6bc750cb39a68805748dc205aae929befbd97ca has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit e6bc750cb39a68805748dc205aae929befbd97ca with merge d5c2feb95aedc6643bfdba85768ad82348950a1e...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing d5c2feb95aedc6643bfdba85768ad82348950a1e to master...


fix(handler): allow CORS for /ping, /health and /ready, enable Content-Encoding, HEAD

Part of https://github.com/influxdata/influxdb-client-dart/issues/24

Allow to use CORS with  /ping, /health and /ready
Allow to use Content-Encoding header - useful for gzipped writes
Allow to use HEAD method - useful for /ping endpoint

[x] Well-formatted commit messages
[x] Rebased/mergeable
[x] Tests pass
[x] Signed CLA (if not already signed)

Security-wise this all looks good, although this seems to enable CORS for all of the legacy endpoints (including the v1 InfluxQL query endpoint and v1 /write.) Was that intended?

@jay-influx thanks for comment.
Yes, the ping endpoint is part of legacy handler so the enabling CORS is the intention. I think that /query and /write should work same as /ping.
Regards

I'm not sure that I completely understand the need for this change, or how it relates to the linked issue:

This change is for OSS master, and the linked issue is for a 1.x version

We discovered this problem when we tried the dart client in web mode - using the client to develop web applications.

How would these changes resolve the problem reported in the issue? Seems like that is talking about client-side issues?

This fix does not resolve the reported issue but allows the client to be used in a web environment.
For example the /ping should supports CORS because is used by - https://pub.dev/documentation/influxdb_client/latest/influxdb_client_api/PingApi/getPing.html.

Beyond that I don't understand why we would need CORS enabled on these specific endpoints, and not others?

This PR only targets the endpoints that are used in most cases in clients.

Closing for staleness.


Flovis: Fix unhandled "Socket already closed" errors.

We have an observed problem with Flovis where the socket is sometimes closed without any other errors, and then trying to use the socket triggers a WebSocketConnectionClosedException error.
This may be because we don't have a mechanism to reinitialize the Flovis socket on these errors.
This PR includes my proposed changes to the Flovis code so that if we stage something to Flovis, we don't get a crash, or rather, reinit the websocket and retry if the Flovis socket is already down.
We could probably expand this to fix the SSL problem as well, but that's a different issue for a different time.

Coverage remained the same at 65.13% when pulling 8ff8c42eb6a91cde5525417a34641765d8d3af9b on flovis_ws_reinits into 0c02b5a3edfd4d08477c179368b3408ace2b226d on master.


Can no longer use regex strings for ExcludedPaths

I used to supply a regex string for path exclusion, eg:
excludedPaths: ^(.swagger.|.jfree.|.wms.chart.|.service/info.|.*/healthcheck)$
After updating dropwizard-pac4j, I tried to convert this to a list, eg
excludedPaths: [.swagger. , .jfree. , .wms.chart. , /.service/info. , .*/healthcheck]
but am now gettng an exception thrown:
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Excluded path must begin with a / (through reference chain: com.ibm.itsm.topology.service.config.Config["pac4j"]->org.pac4j.dropwizard.Pac4jFactory["matchers"]->java.util.LinkedHashMap["excludeUserSession"]->org.pac4j.core.matching.PathMatcher["excludedPaths"])
Caused by: org.pac4j.core.exception.TechnicalException: Excluded path must begin with a /

Does this mean that regex is no longer valid and only full paths can be defined? I have hundreds of swagger pages so it's really not a nice solution to have to specify the full path.

A list is expected now. See: https://github.com/pac4j/dropwizard-pac4j/issues/52


Block comments in TSDoc @example sections not (practically) usable

Issue Type: Feature Request
Currently it's not (practically) possible to use block comments in @example sections in TSDoc comment blocks.
To use a block comment in an example section one has to escape the closing */ with a backslash. The problem is that this backslash is still rendered in the tooltip showing the example which is very ugly:

Ideally, I'd expect the backslash escape character not to appear in the rendered tooltip, neither in a plain example section nor if it's wrapped with ```.
Current workaround: I use line comments in example sections but this makes larger example outputs harder to read.
VS Code version: Code - Insiders 1.34.0-insider (750680d2f7ae563529501f8ec419d83ccf8ec325, 2019-04-19T19:59:19.092Z)
OS version: Darwin x64 18.5.0

This is not supported by syntax highlighters or by the jsdoc tool itself either:

That's not a great argument. You can do better than jsdoc. Also, this limitation just discourages code examples in doc comments, which I guess is the opposite of what you want with VS Code.

@sindresorhus @mjbvz Does VS Code use TSDoc? Seems that all tooling around TS should standardize on one thing, if it hasn't already.


"Cannot animate to the given "to" prop, because the current value has a different type"

🐛 Bug Report
Basically on every Trail animation init there's an error thrown somewhere deep in the library (either index.js or SpringValue.ts), even though everything animates properly.
The error being thrown is Cannot animate to the given "to" prop, because the current value has a different type. Can be found in both SpringValue.ts:606 and index.js:1213
To Reproduce
Create a Trail animation on a page and in the console you can see that there are multiple errors.
Expected behavior
Well, obviously not having that error.
Link to repro (highly encouraged)
https://codesandbox.io/s/restless-pine-nkdeb (open Chrome's console, because the built-in is not showing it).
Environment

react-spring v9.0.0-canary.808.11.4be2ac3
react v16.10.2

Found out it was this particular line:
https://github.com/react-spring/react-spring/blob/652955e67f56595176e70c08a2d777eaccd35be6/packages/core/src/SpringValue.ts#L476
The type comparison when you animate between string values becomes a nodeType: AnimatedValue compared to node.constructor: AnimatedString. The workaround is to not use string types at all, but this definitely is not the ideal scenario. _getNodeType probably needs updating, but I'm not familiar enough with the codebase to figure this one out.

We had to downgrade to 9.0.0-beta.34 due to this bug. Sadly it appears in all browsers. It also makes IE11 crash due to the flooding of error when the console is open, but it's IE... so I guess it would have been expected.

@aleclarson - do you have any ETA the fix? I'm asking because it's flooding our Sentry instance badly everyday.

@aleclarson I'm still seeing the error with 9.0.0-canary.808.17.55c5691.
Error: Cannot animate to the given "to" prop, because the current value has a different type
Will try to provide a way to repro. Isn't clear what started it or is causing it as the error originates from FrameLoop.update.update and only happens occasionally on initial render.

Update: Believe I resolved my issue — I was using a useRef with useEffect to measure an element incorrectly such that I believe the ref was null when the animation was called, causing the error.
For others, the proper way to set a ref for measuring is to use useCallback.


Update training data

This PR removes some of the references callout from the training data as of #148

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 25.051%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1702

Relevant Lines:
6303

💛  - Coveralls


change browser target to build target

[ ] Test anyOf with required in schema.json

superseeded by #104


pqObjectNaming: list all available object as a last resort

If there are not hints, just list everything that is available. It makes
debugging why things weren't found when widget-private internal
containers are involved vastly easier.

@utkarshayachit

Ping?

Looks innocuous enough.

Ben, this seems to be too verbose: https://open.cdash.org/testDetails.php?test=383106830&build=4064577

Why? I don't think iterating a hundred times to drill down one level at a time is any good. If the elements that far up the stack aren't available, things have gone very wrong already.

Exactly. I am not sure this listing is adding much to the test except making it even harder to spot where things failed if you run this on a command line. Maybe you limit the number of widgets printed? It's fine the way it is, but not convinced it's more useful than before. Now, as before, I am simply going to be rerecording the test.