Surelog doesn't set Ranges in the logic_net objects for wire commands

This Verilog code:
module top (y, wire1, wire2);
        input wire [7:0] wire1;
        input wire [7:0] wire2;
        output wire [15:0] y;

        wire signed [15:0] wire_merged;
        assign wire_merged = {wire1, wire2};

        assign y = wire_merged;
endmodule

has wire_merged defined with the range 15:0.
However, the surelog command surelog this.sv -parse -noelab -d uhdm prints the logic_net section for wire_merged that is missing the range specification:
  |vpiNet:
  \_logic_net: (work@top.wire_merged), line:6:21, endln:6:32
    |vpiParent:
    \_module_inst: work@top (work@top), file:/usr/home/yuri/nn-trainer/surelog-experiments/my-wire-before-use.sv, line:1:1, endln:10:10
    |vpiName:wire_merged
<EMAIL_ADDRESS>    |vpiNetType:1

The generated UHDM file has the logic_net object for wire_merged, for which the Ranges() function returns null. This matches the fact that the above Surelog printout doesn't have the range.
The whole Surelog printout doesn't have the number 15 anywhere outside of the port specifications.

@timkpaine
Surelog loses ranges information for all wire [N1:N2] xx; statements.
Do you know what might be a fix or workaround for this?
This makes Surelog unusable as a convertor to the UHDM format.

The -d uhdm  in combination with -noelab switch are a little bit miss leading.
-noelab ask for no elaboration : the uhdm db is not completed with additional information deduce collected from the source code : typically the uhdmtopmodules part is not produce/
On an other hand, It seems to me that the -d uhdm print only partial information of the uhdmallModules section.
It ends up you are not observing what you expect in the uhdm db.
By removing the -noelab switch you should observe what you are looking for in the  uhdmtopModules.
I would expect that if you perform your own walk of the allmodule uhdm. I would expect that you can observe non null return value of vpiRange.
What I think is a bug is that wire signed [15:0] wire_merged; does not record the sign (vpiSign is absent in vpiNet)
surelog -nobuiltin -nocache -parse -d uhdm test_module.sv
module tb();

wire signed [15:0] test1;

endmodule

[...]
|uhdmtopModules:
\_module_inst: work@tb (work@tb), file:/home/tom/prog/git/Surelog/dbuild/test_module.sv, line:1:1, endln:5:10
  |vpiName:work@tb
  |vpiDefName:work@tb
  |vpiTop:1
  |vpiNet:
  \_logic_net: (work@tb.test1), line:3:20, endln:3:25
    |vpiParent:
    \_module_inst: work@tb (work@tb), file:/home/tom/prog/git/Surelog/dbuild/test_module.sv, line:1:1, endln:5:10
    |vpiTypespec:
    \_logic_typespec: , line:3:1, endln:3:19
      |vpiRange:
      \_range: , line:3:13, endln:3:19
        |vpiLeftRange:
        \_constant: , line:3:14, endln:3:16
          |vpiParent:
          \_range: , line:3:13, endln:3:19
          |vpiDecompile:15
          |vpiSize:64
          |UINT:15
          |vpiConstType:9
        |vpiRightRange:
        \_constant: , line:3:17, endln:3:18
          |vpiParent:
          \_range: , line:3:13, endln:3:19
          |vpiDecompile:0
          |vpiSize:64
          |UINT:0
          |vpiConstType:9
    |vpiName:test1
<EMAIL_ADDRESS>    |vpiNetType:1
  |vpiTopModule:1

@yurivict I'll work on this shortly. But as @Thomasb81 said, most of it is already correct, remove the -noelab, you need elab and look at the uhdmTopModules tree, not the uhdmAllModules, elaboration and sizing happens only in the elab tree.

The -d uhdm in combination with -noelab switch are a little bit miss leading.

If -d uhdm can't produce a valid UHDM file w/out -noelab - it should just fail with a message that would lead the user in the right direction. For example:

error: can't write a valid UHDM file without Verilog elaboration, please consider using the -noelab argument.

This would have resolved this confusion early on.

The uhdm db is just a container. To judge the content is no valid you should prove that data recorded inside does not respect systemVerilog LRM.
Not all tool need a complete uhdm db.

@Thomasb81

By removing the -noelab switch you should observe what you are looking for in the uhdmtopModules.

On a side note, UHDM's VpiListener::listenDesigns() interface isn't flexible enough to allow to traverse only selected subtrees, like uhdmtopModules. It just always goes through all objects.

I understand that.
I guess  the default behavior of the VpiListener  class is there to explore exhaustively the database for demonstration and test purpose. It would be very efficient to visit details that does not interest you ...
What is preventing you to implement your own walk-through mechanism or derive VpiListener class and customize VpiListener::listenDesign to walk only through  top module ?
You  can look at listenDesign_ to only keep the part that interest you :
  if (vpiHandle itr = vpi_iterate(uhdmtopModules, handle)) {
    while (vpiHandle obj = vpi_scan(itr)) {
      listenAny(obj);
      vpi_free_object(obj);
    }
    vpi_free_object(itr);
  }

This way you skip all the top element of the uhdm db that do not interest you.

@yurivict also, to add to @Thomasb81 perfectly valid approach,
the class VpiListener has a member: isInUhdmAllIterator() that will let you know if you are in one of the "all" vs "top" objects.
Check the void VpiListener::listenDesign_(vpiHandle handle) method body in the generated code to pick and choose what you want to listen to.

I'm working on fixing the "signed" property.

Fixed by #3573


Find a way to install the package when gphoto2 or cups is not installed

As it is very long and optional to have them it shall be possible to install pibooth via pip without them.

Ok for workaround or I remove the dependencies

workaround it is

https://github.com/werdeil/pibooth/commit/1ee5b8569bab82e712ff3043fac513e19d03f64d


question about the demo implementation

Hi, thanks for the outstanding work!
I have downloaded the model files for llava-next-interleave-7b and siglip-so400m-patch14-384 When I try to run "python playground/demo/interleave_demo.py --model_path XXX/LLaVA-NeXT/checkpoints/llava-next-interleave-7b", it is noticed that "ValueError: Model llava-next-interleave-7b not supported".
I go into the code and find that the model we initialize does not match the params in the model files:

Then I find in the code that

In this builder function, it turns to initialize the model with ClipVisionTower, but what we want is the SigLipVisionTower; thus I mannually choose to set up as SigLipVisionTower, leading to new problems:

In the corresponding code, I find that the shape of output_ids[0, -keyword_id.shape[0] :] and keyword_id are different, with 2 for output_ids[0, -keyword_id.shape[0] :] and 3 for keyword_id. I have no idea how to solve this or the previous problem with SigLipVisionTower; Could you please help?
Thanks a lot!!

You should change the model path from llava-next-interleave-7b to llava-next-interleave-qwen-7b and try again.

Hi @HaoZhang534 I don't think change the model path change this issue, the code meets is_absolute_path_exists=True and use CLIPVisionTower. So I have to put the siglip condition first and fixed the problem.
BTW change to qwen helps in another place.


Button relative to another button (left, right)

Is there a common way to place a button relative to another button. So for example if the user clicks on a tools button in the top-left corner, 4 other buttons with tool functionalities right to the tools button appear. Something like a pop-up button group. When the user clicks the tool button for a second time, all the other buttons dissapear

http://leafletjs.com/plugins.html#user-interface , https://github.com/Leaflet/Leaflet.toolbar
In the future, please use this bug tracker only for bugs.

Thank you! I will!


NameError: name 'INVALID_TRANS' is not defined

https://github.com/Arthur151/ROMP/blob/31baa5b0d89111d7b33c963657b8dfd71bf875b6/romp/lib/utils/projection.py#L84

Thanks for bug report!
just set it to:
INVALID_TRANS=np.ones(3)*-1
I have fixed it.
Best,
Yu

THX


Statement crashes server connection org.apache.thrift.transport.TTransportException

see description at
https://community.mapd.com/t/statement-crashes-server-connection-org-apache-thrift-transport-ttransportexception/899

Closing in lieu of #171


chore: bump up Kong to 0.14.1

Codecov Report

Merging #116 into next will increase coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             next     #116      +/-   ##
==========================================
+ Coverage   32.08%   32.22%   +0.13%
==========================================
  Files          33       33
  Lines        2880     2880
==========================================
+ Hits          924      928       +4
+ Misses       1843     1839       -4
  Partials      113      113

Impacted Files
Coverage Δ

cli/ingress-controller/main.go
22.22% <0%> (+2.61%)
:arrow_up:

Continue to review full report at Codecov.

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


Understand how to use RegEx Groups in the Replace Function

Today, I have a case opened to understand why my use of the "Replace" function failed. I followed the documentation, specifically this section:
"When regexPattern, regexGroupName, replacementValue are provided:
The function applies the regexPattern to the source string and replaces all values matching regexGroupName with replacementValue"
Even though I used the function with the regexPattern, regexGroupName and replacement Value, parameters my function failed. So I was told by the Product Group that to use the RegEx Group function, I did not need to use the "regexGroupName". So I asked the Support Engineer how to use it and her response was to submit an Issue here. Essentially, I need to understand how to use the "regexGroupName" parameter.
However, in light of the fact I am writing this issue, I might as well add that I did find it difficult to understand how to use the RegEx Group patterns in the Replace function since the documentation for this section was challenging to apply to this particular function. It would be useful if examples were given. I found it hard to understand how to use "regexGroupName", "replacementAttributeName" and "template"
A more detailed explanation along with examples of how to use these, would benefit users new to these functions.
Thanks
Anthony

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

ID: c8685339-06af-5bb1-64da-80c16878b0bf
Version Independent ID: 1ee0d812-00de-90cc-f5e2-d53e3b610bf0
Content: Reference for writing expressions for attribute mappings in Azure Active Directory Application Provisioning
Content Source: articles/active-directory/app-provisioning/functions-for-customizing-application-data.md
Service: active-directory
Sub-service: app-provisioning
GitHub Login: @kenwith
Microsoft Alias: kenwith

@anthony-gregg
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Hello team! Can we please get an update here? @kenwith  @JamesTran-MSFT

@anthony-gregg
Thank you for following up on this!
When it comes to troubleshooting or implementation issues, you'll have to leverage our Q&A forum by posting your issue details there. This way our community, and MVPs can further assist you in troubleshooting or finding potential workarounds.
As for adding a more detailed explanation, along with examples of how to use the regexGroupName parameter, please allow some time for the author to look into this and update the docs as appropriate.

Thank you for opening the issue and the idea on improvements. The article was updated with examples. #please-close


[macOS] RawKeyboardDataMacos properly handles multi-char characters

This PR changes the logicalKey value of a RawKeyboardEvent that has a multi-char character.
Previously its logical key is a unicode key, whose 32-bit value part is the concatenation of the two characters. This is inproper because:

The resulting value is not a proper UniCode value. In fact, it will trigger an exception when being converted to keyLabel.
It incorrectly assumes that there won't be more than 2 characters, and every character can fit in the 16-bit BMP area.

With this PR, its logical key is its key code mapped to the macOS plane.
This fixes the macOS-channel part of https://github.com/flutter/flutter/issues/82673.
Pre-launch Checklist

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

I agree that the two character limit isn't right, but doesn't this disable all multi-char input, like emojis?

This change only affects the logical key's value (and consequently, the keyLabel of the logical key). It doesn't affect the event's character.
And if that's the concern, yes, a multi-char emoji event (if that's a thing) will have a minted logical key. What else can we give for this event?

Got it.  Makes sense.


Need to stay further away from people 2x larger

Even more extreme measures need to be taken to increase the buffer between the AI and other players who are twice as large (and, therefore, can shoot out at you). The current added distance is not enough.

Make it bigger then!

Done: #35

Should scale based on enemy size.

Also, buffers need to be reworked a LOT:
http://prntscr.com/7myj58

Yeah, I just stuck with how the buffers were earlier. I'll see if I can work on buffers at some point.

Fixed in bufferless.


Can't see the location that i entered

Hello
i tried building your project but it seems it does not work as i expected, it keeps searching for surfaces and then when i hit in any surface it shows a message saying "Bearing adjustment:" and it does not show any arrows for the location that i entered next to me. i even tried debugging and putting a breakpoint where it should add annotation for the location but it does not enter that particular line which is weird.
Can anybody help ?

I had the same problem.
Adding precision mediump float; to the fragment shader in the annotationRenderer solved the problem for me.

can you please share your code @jguinaud

I just made a PR with the fix @DanialKhan777 https://github.com/appoly/ARCore-Location/pull/2

Thanks for the fix @jguinaud


Refresh token error

We need to be able to catch refresh token errors, as that indicates the integration is down until client reauthenticates and we get a new refresh token.
We get a generic ApiException:
RingCentral.Http.ApiException: refresh token is wrong!
   at RingCentral.Http.ApiResponse..ctor(HttpResponseMessage response, HttpRequestMessage request)
   at RingCentral.Platform.AuthCall(Request request)
   at RingCentral.Platform.Refresh()

Preferably, this could be a RefreshTokenInvalid exception or similar.

P.s. am looking at the code what's the best approach here.

Currently there is only one general exception class named ApiException. And the exception reason is included in the exception message. I think most of the time it's enough. That being said, it is nice to have more specific exceptions.

@tylerlong , yes, that's what I though - i have the error in the message, it might be enough to just look into that.

The error message associated with Exception is prepared for human. It is pain for the code to deal with exception which only has error message. I think specific exceptions should be provided in future release.

@LingForCC I guess we need to look case by case:

throw new Exception("Refresh Token has Expired"); from Refresh() method
throw new Exception("Access has Expired"); from  Send
 if (!string.IsNullOrEmpty((string)(data["error_description"]))) From ApiResponse.Error property

Actually, slightly related is the error 429 which I am pretty sure we will hitting. We'd like to be able to properly catch this, look up into the header and suspend our operations. So thats another thing to consider.

Actually, the biggest issue I see with current exception handling is that generic Exception objects are thrown, instead of specific. This essentially prevents us from capturing genuine issues that we might see, and instead we have to provide a catch-all clause, to catch refresh token errors.  This must definitely be addressed. Options:

Throw ApiException would be better. Better than throwin Exception
Throw AuthException
Create hierarchy AuthException and 2 subclasses: RefreshTokenInvalid and AccessTokenInvalid.

I'm leaning towards the third option.

quick question: AccessTokenInvalid, sdk will try to Refresh if refreshToken is valid. https://github.com/ringcentral/ringcentral-csharp/blob/master/RingCentral/Platform/Platform.cs#L222
Is it necessary to throw exception in such case?

@tylerlong, good point, actually no, it would not make sense to throw AccessTokenInvalid if refresh token is still valid. So maybe perhaps just throwing AuthException would be enough.
By the way, we still need to incorporate into the "grand design" how we can deal with 429 exceptions.

Several options regarding to exception handling

Don't throw exception if non 20x resposne returned - move this responsibility to client. Breaking change.
Throw exceptions for each type of http code - overkill to implement
Throw ApiException but pass in response and request message.

IMO, the third option is least change, and aligns best with what you currently do. Plus with C#6 exception filter feature, clients will be able to handle different statuses nicely (or you can do that with an if statement now)
try {
  // Do stuff
}
catch (ApiException e) when (e.Response.Status == HttpStatus.TooManyRequests) { // handle this }
catch (ApiException e) when (e.Response.Status == HttpStatus.Forbidden) { // handle this }

Actually, if a refresh_token is expired, which HTTP status is that?

Good ideas. I agree that #3 is the easiest to implement. Maybe I will do it on Monday.

Actually, if a refresh_token is expired, which HTTP status is that?

I think it is the same as an invalid refresh_token, so you can have a try.
Another thing is: actually we don't talk to the server when checking refresh_token. We just compare the expiration time when current time. So there is no HTTP. I am not sure if this is the ideal way.  https://github.com/ringcentral/ringcentral-csharp/blob/master/RingCentral/Platform/Auth.cs#L222
Maybe we just maintain two exceptions: AuthException (which doesn't talk to server) and ApiException (which talks to server and response is not 20x, request and response message will be passed in).

@tylerlong Btw, just to be clear, we don't need the fix ASAP for this, we have forked your repo, and published our own nuget. But if you do make changes, we can just pull them from whatever branch you are making these and test them out. So no rush from our side, we've got things moving on our end.

We just compare the expiration time with current time. So there is no HTTP. I am not sure if this is the ideal way.

a) RingCentral also implements token revocation. That is, an access_token and refresh_token can be revoked by ring central authorization server. In that case, checking only tokens TTL values will not tell whether token is still valid or not.
b) Using refresh_token to obtain new token pairs invalides previously issued tokens (see docs). This actually does have an interesting implication about how RC implements resource servers - i.e. each operation needs to call authorization server to validate bearer token. This is a huge performance implication, but perhaps there are some architectural decisions that required this.
So basically checking TTL to determine if any of the token is still valid is not enough.

I updated ApiException in this commit so it contains ApiResponse.  Request object is not contained by exception object because it is already contained by response object: apiException.response.request.

ApiException is provided with version 1.0.1. You can get detailed request and response information by inspect the exception instance. So it should be sufficient for programmers to do troubleshooting.
For authorization exceptions. I didn't create any special exceptions classes. Because as long as the authorization expires new requests will be rejected by server and thus you can get an exception to investigate.
Close it for now. Feel free to reopen it or create a new issue.


test_auth_backends: Remove deprecated match_querystring argument

match_querystring is irrelevant in these cases. Fixes this warning:
/srv/zulip-py3-venv/lib/python3.7/site-packages/responses/__init__.py:340: DeprecationWarning: Argument 'match_querystring' is deprecated. Use 'responses.matchers.query_param_matcher' or 'responses.matchers.query_string_matcher'

Merged, after confirming that match_querystring should have the default value of False here since the requests are not query strings.


Option to not process get_context_data on post request

I'm currently making a long API call in the get_context_data method. I only need to make this call on GET requests and I noticed that POST requests are trying to make the same call and are becoming very slow. If it is unnecessary or unwanted, I propose a way to 'turn off' get_context_data on POST requests.

There is right now an attribute for get_view_context. if False it does not call get context data from the view

The issue is the get_context_data from the hx_request. Is that also included?


Original error code is not available on OAuthError object

Describe the problem you'd like to have solved
I've tried to use machine-readable error code (for example, access_denied) that comes from Auth0 server in the URL. Unfortunately, only the error description is available as error message. I see that the error code is ignored when description is available - https://github.com/auth0/auth0-react/blob/master/src/errors.tsx#L9
Describe the ideal solution
It would be nice to have error.code with the actual error code (for example, access_denied) available.
Alternatives and current work-arounds
Currently we have to parse URL for query string parameters, which is not ideal.

Hi @khitrenovich - yeah, good point.
Will add this to our backlog and happy to accept a PR to add this if you'd like it done sooner

Thank you for the quick response!
After digging deeper into the code I realized the error code is actually available on the error object as error property along with error_description property - they are just not immediately visible for TS users since useAuth0 exposes error object as generic Error and not as OAuthError.
There are probably ways to improve the typings, but I think we can close the ticket.


installation with vignettes fails

> install_github('neurodata/mgc', build_vignettes=TRUE)  # install MGC with the vignettes
Downloading GitHub repo neurodata/mgc@master
from URL https://api.github.com/repos/neurodata/mgc/zipball/master
Installing MGC
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD build  \
  '/private/var/folders/qb/5wvt890j747c03m0_fg63wch0000gn/T/RtmpwFYD07/devtools220f7b442d29/neurodata-mgc-94e181e'  \
  --no-resave-data --no-manual

* checking for file ‘/private/var/folders/qb/5wvt890j747c03m0_fg63wch0000gn/T/RtmpwFYD07/devtools220f7b442d29/neurodata-mgc-94e181e/DESCRIPTION’ ... OK
* preparing ‘MGC’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
Quitting from lines 51-54 (Discriminability.Rmd)
Error: processing vignette 'Discriminability.Rmd' failed with diagnostics:
could not find function "TeX"
Execution halted
Installation failed: Command failed (1)
>

i'm on osx 10.12.6 and
> R.version
               _
platform       x86_64-apple-darwin15.6.0
arch           x86_64
os             darwin15.6.0
system         x86_64, darwin15.6.0
status
major          3
minor          4.1
year           2017
month          06
day            30
svn rev        72865
language       R
version.string R version 3.4.1 (2017-06-30)
nickname       Single Candle

have to sequentially install the package once without the vignette, and
again with the vignette and forced override. Also, updated a package
requirement to add latex2exp.
On Thu, Nov 2, 2017 at 10:24 PM, joshua vogelstein<EMAIL_ADDRESS>
wrote:

Assigned #14 https://github.com/neurodata/mgc/issues/14 to @ebridge2
https://github.com/ebridge2.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/14#event-1324225899, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIeNWwlm6W46w42gkKNXiTNJKL5evt78ks5synl7gaJpZM4QQlVg
.

--
Eric Bridgeford
ericwb.me

ok, it works!
what is the point of giving them the option of not installing the vignettes?
when it is on CRAN, isn't the default to install with vignettes?
On Thu, Nov 2, 2017 at 10:38 PM, Eric Bridgeford<EMAIL_ADDRESS>wrote:

have to sequentially install the package once without the vignette, and
again with the vignette and forced override. Also, updated a package
requirement to add latex2exp.
On Thu, Nov 2, 2017 at 10:24 PM, joshua vogelstein <
<EMAIL_ADDRESS>
wrote:

Assigned #14 https://github.com/neurodata/mgc/issues/14 to @ebridge2
https://github.com/ebridge2.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/14#event-1324225899, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/
AIeNWwlm6W46w42gkKNXiTNJKL5evt78ks5synl7gaJpZM4QQlVg>
.

--
Eric Bridgeford
ericwb.me
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/14#issuecomment-341610744, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACjckYH2QqfbdrzO_oit7gJHAvEYJQhks5synyfgaJpZM4QQlVg
.

--
the glass is all full:  half water, half air.
neurodata.io
ps - i am committed to responding to my emails,
it often takes about a week.  thank you for understanding.

hmm, unclear. i would always use with vignettes, but maybe others wouldn't.
should we just make them all hard requirements then?
On Thu, Nov 2, 2017 at 10:44 PM, joshua vogelstein<EMAIL_ADDRESS>
wrote:

ok, it works!
what is the point of giving them the option of not installing the
vignettes?
when it is on CRAN, isn't the default to install with vignettes?
On Thu, Nov 2, 2017 at 10:38 PM, Eric Bridgeford<EMAIL_ADDRESS>
wrote:

have to sequentially install the package once without the vignette, and
again with the vignette and forced override. Also, updated a package
requirement to add latex2exp.
On Thu, Nov 2, 2017 at 10:24 PM, joshua vogelstein <
<EMAIL_ADDRESS>
wrote:

Assigned #14 https://github.com/neurodata/mgc/issues/14 to @ebridge2
https://github.com/ebridge2.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/14#event-1324225899, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/
AIeNWwlm6W46w42gkKNXiTNJKL5evt78ks5synl7gaJpZM4QQlVg>
.

--
Eric Bridgeford
ericwb.me
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/14#issuecomment-341610744, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/AACjckYH2QqfbdrzO_
oit7gJHAvEYJQhks5synyfgaJpZM4QQlVg>
.

--
the glass is all full: half water, half air.
neurodata.io
ps - i am committed to responding to my emails,
it often takes about a week. thank you for understanding.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/14#issuecomment-341611361, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIeNW6w5VB3MZssJEWRA_fpmhF5Li9H0ks5syn4BgaJpZM4QQlVg
.

--
Eric Bridgeford
ericwb.me

i've never seen the option to not have vignettes before, so i think let's
just make it the default,
if people are savvy enough to not want them, they can figure it out.
currently, it is more complicated to install for the less sophisticated
users, which seems like bad design.
On Thu, Nov 2, 2017 at 10:53 PM, Eric Bridgeford<EMAIL_ADDRESS>wrote:

hmm, unclear. i would always use with vignettes, but maybe others wouldn't.
should we just make them all hard requirements then?
On Thu, Nov 2, 2017 at 10:44 PM, joshua vogelstein <
<EMAIL_ADDRESS>
wrote:

ok, it works!
what is the point of giving them the option of not installing the
vignettes?
when it is on CRAN, isn't the default to install with vignettes?
On Thu, Nov 2, 2017 at 10:38 PM, Eric Bridgeford <
<EMAIL_ADDRESS>
wrote:

have to sequentially install the package once without the vignette, and
again with the vignette and forced override. Also, updated a package
requirement to add latex2exp.
On Thu, Nov 2, 2017 at 10:24 PM, joshua vogelstein <
<EMAIL_ADDRESS>
wrote:

Assigned #14 https://github.com/neurodata/mgc/issues/14 to
@ebridge2
https://github.com/ebridge2.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/14#event-1324225899, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/
AIeNWwlm6W46w42gkKNXiTNJKL5evt78ks5synl7gaJpZM4QQlVg>
.

--
Eric Bridgeford
ericwb.me
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/14#issuecomment-341610744,
or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/AACjckYH2QqfbdrzO_
oit7gJHAvEYJQhks5synyfgaJpZM4QQlVg>
.

--
the glass is all full: half water, half air.
neurodata.io
ps - i am committed to responding to my emails,
it often takes about a week. thank you for understanding.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/14#issuecomment-341611361, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/AIeNW6w5VB3MZssJEWRA_
fpmhF5Li9H0ks5syn4BgaJpZM4QQlVg>
.

--
Eric Bridgeford
ericwb.me
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/mgc/issues/14#issuecomment-341612223, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AACjcpTiCyo7vmFoS8jXuJiCxpimlk9Dks5syoAPgaJpZM4QQlVg
.

--
the glass is all full:  half water, half air.
neurodata.io
ps - i am committed to responding to my emails,
it often takes about a week.  thank you for understanding.


chore: add language to profile labels

Fixes #196
This change also removes some unused variables from test-profiler.ts.

@nolanmar511 the Kokoro build failed?

Kokoro build failed on Node10, because the program did not finish profiling before the the tests timed out.
I'm re-running the test, but may also need to look more into why the test timed out on node10.


Run Spring4MVC with Angular 2 application on a single server

I am new to angular2, I want to know what is the possible file structure for SpringMVC4 with angular 2?

As shown in image, it will work for Angular 1.x but file structure of Angular 2 is quite different and its component driven, and I am using angular 2 file structure as given below

I searched a lot and I found that we can use Front end(using angular2) and back end(server- using spring/springboot) separately, but we need 2 server to run application. For example, Frontend : <IP_ADDRESS>:4200 And Backend : <IP_ADDRESS>:8080
So is there any way or general file structure to run both angular2 and spring4MVC on same server (like <IP_ADDRESS>:8080)?
Thanks in advance. Answers will be appreciated!

Hi,
The issues section is for bugs and feature requests.
We would like to use the issues section for issues only, this will allow us to maintain a clean list of issues and be able to track and manage them efficiently.
for support questions, please use one of these channels:** Chat: AngularClass.slack or Twitter: @AngularClass
Thank you


Only set has changed for field if value changed

Summary
We've encountered a similar issue to that reported in #725 where the inclusion of a relation widget in the editor page causes an article to require hitting the save button twice to save the article.  This seems to be because the setting of metadata in the a DRAFT_CHANGE_FIELD signal is changing hasChanged attribute in the entry state to be true even though the value has not changed at all.
I'm new to the internals of Netlify CMS and various logic flows, but I'm wondering whether the metadata changing should really be indicating that entry has changed, or whether this meta data is just used for the CMS interface.  Any guidance on any side effects of this PR would be appreciated to help me steer to the correct solution.
Test plan
Unit tests added.
Functional testing, before fix
Given GitHub backend & editorial workflow enabled (in case that makes a difference)
And article with Relation widget in place
When I create new article
And click save
Then article saves, but the "unsaved changes" message appears and I need to save the changes
After this fix in this PR
When I create new article
And click save
Then article saves and the message remains as "changes saved" allowing me to continue with the workflow.
A picture of a cute animal (not mandatory but encouraged)

BTW - I can rebase and squash if I'm on the right track ...

Thanks for this! I'm not totally certain about side effects - the associated code paths need some attention. I hesitate on this PR due to the unknowns and also because the main occurrences of this issue are still present in the deploy preview. The general test is to open a new post in the demo and see if there are unsaved changes: https://deploy-preview-2377--cms-demo.netlify.com/#/collections/posts/new

but I'm wondering whether the metadata changing should really be indicating that entry has changed, or whether this meta data is just used for the CMS interface.

The relation widget metadata is only used for the editor preview AFIAK. The issue this PR is trying to address is also caused by the date widget that is why we can still the issue here  https://deploy-preview-2377--cms-demo.netlify.com/#/collections/posts/new

thanks for the feedback - you're right, this PR is actually fixing a different issue to that reported in #725 - I'll have a look at the cause of #725 and see if I can fix that too.

Not entirely sure this is the right way to crack this ... however I've allowed a widget control to define a static method called "createDefaultValue" that is loaded as a defaultValue function as the config is loaded.  Then when we createEmptyDraftData I can call this function to get the default value.
Initial quick testing seems to fix #725 in that when I create a new post with a date field then 1) the current date set as the initial value for the date 2) "unsaved changes" is only set when I make an explicit change 3) I can click away without any pop up if I've made no changes.

Note I've updated the test content, since a few (required) date / datetime fields were empty in the test content which was leading to react date control setting them to moment() on load and triggering a content change signal on loading that article in the CMS editor.

Preview at https://deploy-preview-2377--cms-demo.netlify.com now allows us to load the following without flipping the unsaved changes flag

new post
new kitchen sink
edit existing kitchen sink

@barthc can you give this a quick look? Might conflict with or impact your recent work on default values.

@ianhomer friendly ping. This PR fixes the only blocking issue for me adopting Netlify CMS for an internal project. :)

@ahlgorithm it looks like https://github.com/netlify/netlify-cms/pull/2576 is going address some of what is covered in this PR.  When that merges I'll take a look at this again to see if there's any further value in this PR.

Closing as work is ongoing to create an improved solution with some API additions - see https://github.com/netlify/netlify-cms/issues/725#issuecomment-528495484

@ianworth  if you can extract the metadata fix from this PR, we can merge that.


Added config option to delay start until keypress

I am not sure I like this idea, so could you maybe explain your rationale for this? A few objections:

I have not seen this feature in other test runners, so how would people usually do this with those tools?
If the developer would like to debug a test, could they simply insert debugger; in that test?

I've seen debugger lines in the past, but never used them myself. I didn't think to try one in this case.... much simpler than what I did...


improve animated sticker support

Fixes issue #452

Hi @YellowOnion, thanks for the PR!
Please add the frame_count variable to the class with the value attr.ib(None), along with a comment explaining it's usage (so that it'll show up in the documentation).

Linking #452 to avoid replication

I took the liberty of adding the frame_count to the Sticker class myself 😉


Question about KL Divergence loss function 关于KL散度的损失函数的问题

English and Chinese are translations to each other.

This is loss function for KL Divergence. Specifically, for these formulas:
以下是KL散度的损失函数，特别是这段公式：

they are acutally calculating kl divergence for gaussian distribution
他们其实是计算高斯分布的KL散度

But I find out it omits one term, which is $σ_1^2$
但是我发现他漏了一项$σ_1^2$
I don't know why it didn't write this term, if we include this term, the fomula should looked like this:
我不知道为什么他没写这一项，如果加上了这一项，这个公式应该长下面这样：

Sincerey hoping for Answer.

You can also post this issue to
https://github.com/jaywalnut310/vits

You can also post this issue to https://github.com/jaywalnut310/vits

Yeah, but I think there is no contributor maintaining that repo, so I want to try if some repos based on vits can answer it.

Very curious too. At first glance I thought about optimizations given the KL characteristics, but after scrambling over some papers about KL optimization and approximation I didn't find anything describing this case, or at least nothing that caught my attention.
Has anyone tried inserting the missing variance and comparing performance?

Very curious too. At first glance I thought about optimizations given the KL characteristics, but after scrambling over some papers about KL optimization and approximation I didn't find anything describing this case, or at least nothing that caught my attention. Has anyone tried inserting the missing variance and comparing performance?

I tried, and the performance is about the same. But the pretrained model must be trained on the version without that term. So I want to try training from the beginning, but I think it takes really long time.

Very curious too. At first glance I thought about optimizations given the KL characteristics, but after scrambling over some papers about KL optimization and approximation I didn't find anything describing this case, or at least nothing that caught my attention. Has anyone tried inserting the missing variance and comparing performance?

In addition, it calculate KL divergence by z_p, m_p, logs_q, logs_p, but z_p is the output of flow. In calculating KL divergence, it should be the mean of a distribution, but z_p definitely not a mean calculated by posterior encoder. (The mean of posterior encoder should be m_q, but not z_p)

Hi @JunityZhan, sorry for the ping. Did you learn something new regarding this issue from the other VITS based repos?

Hi @JunityZhan, sorry for the ping. Did you learn something new regarding this issue from the other VITS based repos?

Still no, I didn't find any related information and I think it is better to ask a professor but I can't because I am not a university student yet.😢

I think the KL divergence may be with respect to a standard Gaussian so s_q is just 1?

I have found this topic, where author discusses KL divergence in detail:
Please refer: #6

The KL divergence that author uses is correct. If you want to know more about it, please tag me or ping me on discord (p0p4k). I can explain it for anyone who is interested.


App usage analytics:- Opt-in.

We need to give users the option to opt-in to us collecting aggregated data and basic usage events for analytics and application crashes.

https://xd.adobe.com/view/f1543c84-c25a-4ad6-81ca-1e0c540e956e-a407/screen/3f6c0678-7313-409c-a7b7-ca66692fa3e3/
@Deveshshankar need content

Verified this issue on keeper app v 1.1.12(299)


Make sure the website is served under HTTPS

https://docs.github.com/pt/pages/getting-started-with-github-pages/securing-your-github-pages-site-with-https

Done!


MAINT: deal with cases in minimize for `(bounds.lb == bounds.ub).any() (alternate for #12889)

This is an alternate approach to #12889
@nmayorov, @larsoner

Closed (but branch not deleted) because I consider #12889 a better option.


Update Pharas.yaml

Added profile0 and presentation0 as well as the litreview8

:sweet_potato: :swimmer:


Add functions to train new word2vec model and loggers

Add code to simply building a word2vec model suitable for spec2vec.

train_new_word2vec_model function with set default parameters and more intuitive handling of learning rate decay.
Callback function for logging (not pretty yet, I tried adding a tqdm progress bar but that gave me a whole bunch of Gensim errors).
Callback function for saving the model at specified epochs.
Tests.

@sverhoeven Thanks for the review so far. I just also extended the readme with a more extensive code example (wasn't part of this PR before... but it seemed to fit).

Thanks a lot for the review!


JPEG:exit parse when no more data

Signed-off-by: Yu, Linda<EMAIL_ADDRESS>

@xuguangxin , please help to review this patch.
I found in Android env,
320         match = std::find(current, end, 0xFF);
coredump happens when end < current, so add check before std::find().

updated!

thanks, Linda and U.Artie


Colormaps improvements

A couple of colormaps improvements:

Added several perceptually uniform colormaps turbo, viridis, plasma, fusion, iceburn, viola, pride and ocean from

Google AI
Matplotlib
CMasher

Added the ability to discretize a palette, i.e. to use just a prescribed number of its colors, see the new "number of colors" input of the F6 key.

Replaced the deep sea palette with ocean.

Resolves #100

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#103
@tzanio
@v-dobrev
@v-dobrev + @pazner
06/17/20
⌛due 07/01/20
⌛due 07/08/20

The new colormaps in action:

Any feedback on this?

The new colormaps look really good and the ability to discretize a palette is also nice. Perhaps it makes sense for the discretization option to come after selecting the palette in the F6 menu (otherwise the the denominator in the displayed number of colors won't reflect the new choice).
While testing, I somehow got into a state where the first two prompts in the F6 menu would be skipped, but I haven't been able to reproduce this.

Looks good to me -- very nice addition.
I have not tested it myself, but it looks like @pazner already did that, so I think the PR is good to go.
@pazner, I think the issue with the palette menu may be related to how the input is processed in https://github.com/GLVis/glvis/blob/dd707f765c909a1579af36a5c8f0d3784e8428ed/lib/palettes.cpp#L7522
It is done differently to allow you to just hit enter to confirm the current value. However, it assumes one thing: there a newline symbol (optionally preceded by other unprocessed non-newline characters) in the input buffer that was not processed -- this is typically left there after input like this: cin >> i where i is say an integer. Such newline symbols are typically skipped by the next call to cin >> j but in Select_New_RGB_Palette it is skipped with the first call to cin.getline(). This way, if the next cin.getline() returns an empty string, we know to reuse the current value. I'm not sure what sequence of inputs lead to the issue you noticed but it is probably related to this specific way of processing the input.

Thanks guys!
Veselin, do you think we should move the question for how many colors to use before or after the palette selection? Currently it looks like this:
Palette is repeated 1 times.
(Negative value means the palette is flipped.)
Enter new value: 1
Palette will be repeated 1 times now.

Palette is using 2/31 colors.
Enter new value (0=original): 20
Palette will be using 20/31 colors now.

Choose a palette:
   1) 5-color      2) red          3) jet-like     4) coldhot      5) bone
   6) hot          7) pink         8) cool         9) summer      10) hsv
  11) copper      12) white       13) vivid       14) aluminum    15) sunrise
  16) horizon     17) byr         18) ocean       19) pastel      20) tropical
  21) wood        22) mars        23) rainbow     24) cmyk        25) calewhite
  26) haxby       27) manga       28) drywet      29) gfdl        30) wbgyr
  31) seq25       32) terrain     33) bwor        34) 19-lev      35) lithology
  36) gray        37) turbo       38) viridis     39) plasma      40) fusion
  41) iceburn     42) viola       43) pride
 ---> [24]

Oh, hmm. It seems more appropriate to move the "number of colors" question after choosing the palette.

Also the 21/30 message might be somewhat confusing -- it can be interpreted that we will be using the first 21 out of the 30 overall colors.

Ok, I'll make the change

Perhaps it makes sense for the discretization option to come after selecting the palette in the F6 menu (otherwise the the denominator in the displayed number of colors won't reflect the new choice).

Done in 17493e1.
Had to split Select_New_RGB_Palette() in two for that.

@pazner, did 17493e1 address your concerns?

Merged in next for testing...


Removed unused method AfterRender from GradientRenderer

I have a refactoring in mind that would make all derived classes immutable and also handle all the rendering from the outside, but doing everything in a single go would make the changes hard to review.

I'm not clear why all the BeforeRender() calls were being removed too? The gradient tool is broken when I test it out, so I assume that was accidental?

You are right, @cameronwhite . They should not have been removed. It was a mistake where I mistook BeforeRender for another virtual method whose base implementation was empty.


💬 RFC: Component Composability in Frontend Plugins

🔖 Need
This RFC is designed to address the topic of being able to configure / replace components deeply nested inside plugins without the additions of props to a public facing component that gets drilled all the way down to where it needs to be.
There's been a few issues and PR's that have popped up that have tried to capture this need like #11819 and #11404, and it might be that one of these ways are what we want to achieve but let's try and collect it all here to come up with a standard or a new system for doing this.
The problem
As the amount of adoption grows, so does requirements for different plugins to do different things, and this sometimes exceeds the capabilities of what the plugin does today. Let's take a few examples from the last few weeks

https://github.com/backstage/backstage/pull/16633
https://github.com/backstage/backstage/pull/16629
https://github.com/backstage/backstage/issues/16053
https://github.com/backstage/backstage/issues/16714
https://github.com/backstage/backstage/pull/16873

The list goes on, but the story is the same, contributors want to be able to replace components deeply nested in plugins that aren't accessible to them.
Our solution until this point has been to provide an API for developers to customise these components using props in React components. This then leads to pollution of the API surface for these props.
Let's take a look at the @backstage/plugin-scaffolder Router component, you have these props which all do replacing of some content or component inside the plugin:
export type RouterProps = {
  // This replaces components deep inside the plugin
  components?: {
    ReviewStepComponent?: ComponentType<ReviewStepProps>;
    TemplateCardComponent?:
      | ComponentType<{
          template: TemplateEntityV1beta3;
        }>
      | undefined;
    TaskPageComponent?: ComponentType<{}>;
  };
  groups?: Array<{
    title?: React_2.ReactNode;
    filter: (entity: Entity) => boolean;
  }>;
  // This replaces some Text Component
  defaultPreviewTemplate?: string;
  // This also replaces some Components or Text inside the headers
  headerOptions?: {
    pageTitleOverride?: string;
    title?: string;
    subtitle?: string;
  };
  contextMenu?: {
    editor?: boolean;
    actions?: boolean;
  };
};

Let's take a different plugin, let's take some of the @backstage/plugin-catalog API surface. This plugin is basically engineered for composability in the first place, so that you can provide you own EntityPage component to drive your Entity views inside Backstage. There was an entire epic around Composability specifically around the Widgets and Cards for the Catalog plugin #1536, but as the needs grow, so does the API surface.
export interface EntityLayoutProps {
  children?: React_2.ReactNode;
  // Here's a component that gets replaced
  NotFoundComponent?: React_2.ReactNode;
  // Here's something to show and hide different options
  UNSTABLE_contextMenuOptions?: EntityContextMenuOptions;
  // Here's something to provide additional items
  UNSTABLE_extraContextMenuItems?: ExtraContextMenuItem[];
}

It could be argued that the UNSTABLE_* API's from the EntityLayoutProps could be solved differently by using #11404 to be able to configure new options, but I'm also highlighting the fact that we don't have a standard for what is a prop and what is not.
These additions of props to override components or text deep inside components promotes propdrilling and messy code of passing components through components and bloats the API surface, making evolvability and maintainability harder in the long run.
🎉 Proposal
I want to preface this by saying :shrug: I don't think we know what this looks like yet, and we want to explore along with the community some form of solution or standard to help us clarify the approach.
From looking through the codebase and some of the requests that we get for customisation, it's simple things like text overrides, to more complex things like replacing entire components with something more custom.
I think that the text example is quite interesting, as #4454 could be a part solution for this. i18n in general is something that would allow us to provide default strings, that you could override with your own locale which could replace the text contents of the things that you're trying to configure or override.
The Component approach is something that's a little more difficult. There's some approaches from other projects like Docusaurus using swizzling, there's also approaches like Adaptable Components #11819, or there could be something entirely new that we come up with here.

@angeliski Your initial proposal has been referenced.
How much can we, as a local community (Brazil), corroborate?

Hi, @padupe I am trying to get back in this RFC but other priorities are blocking me.
I think you can try to solve those points in this comment.
I started to experiment a little with lazy loading translations but I didn't do enough to get a good result yet.

Hi! Just wanted to keep an eye on this RFC, also we did some first few steps to this direction in the Playlist plugin
https://github.com/backstage/backstage/pull/16955

Wondering if there are any ideas form this that could be used here, maybe it's already been mentioned not sure: https://engineering.atspotify.com/2023/05/multiple-layers-of-abstraction-in-design-systems/

Linking in #18372 for context, tangentially related

There's a lot added towards this in both #19545 and #17436. Most likely the solution here will be to add extensions in the new system as needed to achieve the right level of customizability. We are also experimenting with components refs in the new system that allows for replacement of more widely used components, but it remains to be seen exactly what that will look like in the end.

Hey!
We would also be interested in adding customization to the AboutCard.
In our case, we would like to add a button that otherwise would have been a plugin and maybe some links that should be the same on every Catalog Entity.
Thank you! :slightly_smiling_face:

@knowacki23 it's on our radar as part of the new frontend system, but it'll be a little while longer.


Player always mute, no sound

I follow your step to setup test environment,and test.boundle.js file.
I create html5 file and use the following url for test.
rtsp://<IP_ADDRESS>/vod/mp4:BigBuckBunny_115k.mov
It works, player can play the video, but the player always mute, I can't hear any sound,any suggestion?

Hello
Player supports MP4A-LATM  for now.
In your stream format is  AAC-hbr  - player that I put on github don't
support it.
29.07.2016 9:51, ucomdemo пишет:

I follow your step to setup test environment,and test.boundle.js file.
I create html5 file and use the following url for test.
rtsp://<IP_ADDRESS>/vod/mp4:BigBuckBunny_115k.mov
It works, player can play the video, but the player always mute, I
can't hear any sound,any suggestion?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SpecForge/html5_rtsp_player/issues/8, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AQqMKSyF1db5orFCy4ICQ62YtVMgiu-0ks5qaWqngaJpZM4JX1B_.

Any further plan to support other type of audio, like AAC-hbr ? or do you hava a paid version can support it?

RTP-payload for audio mpeg4-generic (AAC-hbr / AAC-lbr) has been supported in new version.
It will be posted on GitHub as soon as all current problems with proxy infrastructure will be solved,
because new version works with proxy, backward incompatible that now is in repository.
Authorization of flows (to proxy side and player) is also supported in new version and will be available after publication.

Hi,
Even I face the same problem on my end. There is no audio only video.
Could you mention the supported payloads for audio in the new version? And also when the new version will be available.


Some Fidimag examples not running

Hi,
I just installed Fidimag 0.2 on an Ubuntu 16.04 system.
When I try to run the 'relax_system.py' script in the 'examples/micromagnetic/baryakhtar' folder, I get the following error:
Traceback (most recent call last):
File "relax_system.py", line 47, in
relax_system(mesh)
File "relax_system.py", line 15, in relax_system
sim = Sim(mesh, chi=1e-3, name='relax', driver='llbar_full')
TypeError: init() got an unexpected keyword argument 'chi'
When I try to run the 'temperature.py' in the 'examples/atomic/heat/' folder, I get the error
Traceback (most recent call last):
File "temperature.py", line 2, in
from pc import *
ImportError: No module named pc
Are these part of a more recent version of Fidimag?

Hi,
yes, a few examples are a bit outdated. For the baryakhtar case, the chi parameter should be specified from the driver and not as an argument in the Sim class
sim = Sim(mesh, name='relax', driver='llbar_full')
sim.driver.chi=1e-3

For the heat example, pc no longer exists so the script should say
from fidimag import *

but we still need to check if the rest of the script works properly

Thanks for the suggestions.
When I change the baryakhtar code, to
sim = Sim(mesh, name='relax', driver='llbar_full')
sim.driver.chi=1e-3
I now get the error

Traceback (most recent call last):
File "relax_system.py", line 48, in
relax_system(mesh)
File "relax_system.py", line 15, in relax_system
sim = Sim(mesh, name='relax', driver='llbar_full')
File "/home/guru/workspace/fidimag/fidimag/micro/sim.py", line 78, in init
use_jac=use_jac
TypeError: init() takes at least 10 arguments (11 given)

This happens only with the drivers 'llbar' and 'llbar_full'.
The heat example will need more time to sort through. Will let you know my experience from it soon.

Hi,
thanks for checking the Baryakhtar code. I started fixing some issues but there is a major problem after the refactoring we did for version 2.0, which requires some time and discussion with the team. I will open an issue on Fidimag so we will hopefully fix this in the future.

Hi,
When running dmi_1d.py:
1-I got the message: init() got an unexpected keyword argument 'pbc'. This is fixed by replacing the line with "pbc" by    mesh = CuboidMesh(nx=20, ny=1, nz=1,periodicity=(False, False, False)) (found in [http://fidimag.readthedocs.io/en/latest/ipynb/spin-waves-in-periodic-system.html] ).
2- sim.run_until(t) does not work. Replacing it by sim.driver.run_until(t) does.
3-just a small thing. I am using python 3.6 and get errors if print arguments are not inside parentheses.

Thanks. We will try to update some of the examples, which do not work after the Fidimag 2.0 release


Updated ControlsTestWebPart

Q
A

Bug fix?
[ ]

New feature?
[ ]

New sample?
[ x ]

What's in this Pull Request?
Updated the ControlsTestWebPart to show the controls filtered by control type to avoid display everything all at once.

@GuidoZam Many thanks for this!
There is a PR that was submitted earlier to add a new control that I aim to review before this one as it adds a new control to the page. We will try to get to this one soon

@GuidoZam I really like it! So much better than the pile of controls we have at the moment 🤩

Ready to merge, just waiting for #1526 so we can add the new control here as well

Thanks @joelfmrodrigues, I'm happy that you like it 😄


compatibility issue with php8.2

Here are some obvious ones:
dynamic properties in Tumblr\API\RequestHandler
dynamic properties in Tumblr\API\Client
dynamic properties in Tumblr\API\RequestException
Also in a dependency:
dynamic properties in Eher\OAuth\Consumer


MasterKeys Pro M not lighting up

What are you experiencing an issue with?

[ ] Aurora
[ ] Aurora supported game, (Fill in the game)
[ ] Aurora Wrapper
[ ] Aurora Profile
[x] Aurora supported device, (CoolerMaster MasterKeys Pro M)
[ ] Aurora Scripts
[ ] Aurora Updater
[x] Aurora Lighting issue
[ ] Other, (Fill in another issue here)

What kind of an issue is it?

[ ] Crash
[ ] Performance problems
[ ] Visual bug
[ ] Localization issue
[ ] Enhancement suggestion
[x] Device issue
[ ] Other, (Fill in another type of issue here)

Expected behavior:
I expect the keys to light up.
Actual behavior:
None of the keys light up.
How often does this problem occur?

This problem occurs... (Every time)
Please describe the steps to reproduce this issue:
The issue can be reproduced by doing following steps:

Start Aurora.
Try to light up any key.
None of the keys light up.

What is the version of Aurora you are experiencing this issue with?

My version is... (v0.6.1-dev4-308)
Does the previous version of Aurora have this issue?
The previous version, (v0.6.1-dev4), did not have this issue.

Could you try on the latest build and let me know if it still occurs?

It's still not lighting up.
Latest log

@hsalsdnas Can you try this build? The build you ended up using was from a PR that isn't fully up to date with the latest changes on the dev branch.

Okay, could you try out this build for the commit above?

Build 323 fixed it, thanks.

Awesome! Sorry for the confusion


In TC 4, we used to have a way, based on JMX to kill the server
We could also keep a PID file, or use exec to start the VM , and then consider the script process the process to destroy to stop Voltron
Anyway, we need a stop-tc-server.sh !

bump.
We cannot use the script within the kit for system tests because it does not use "exec" to start the java process. Exec replaces the current execution by the launched process, keeping the same PID.
I would flag it as a bug because system tests are not possible with such script if we want to make sure the child process is killed with its parent process at the end.
http://stackoverflow.com/questions/18351198/what-are-the-uses-of-the-exec-command-in-shell-scripts

The approach that I am using in the testing system, for the moment, is just to manually add the exec to the start script.  This is a work-around but also gives me the ability to test if there are unexpected problems with doing this, since it is a change from previous versions.
Going forward, however, we need a solution which will work on both Windows and Unix systems.  This might mean that we need a way to discover what the command line should be so that we can start it, directly, from test harnesses and other tools.  Either that, or we need a better understanding of what options we have on Windows.

One quick fix that would work for everybody would be to have 2 scripts:

start-tc-server.sh
start-and-wait-tc-server.sh

I will be exactly like the current script, except that it won't have the while loop, but it will have the exec as the last sentence. Thus, the process exit code would be thrown to the caller.
The second script would only contain the while loop, but will call start-tc-server.sh instead of running a java command.
System tests would be able to use start-tc-server.sh
If it is an acceptable solution for you, I can do the PR today.

Fixed in issue #115


Research if a caching solution can benefit ReportStream

Need content
Can a caching solution help improve our performance. This is a research effort that I think the next ticket is to write a proposal.

Not enough information. Will close.


acknowledge the robocom++ fundings

Hi,
This PR acknowledges the fundings from robocom++, and especially @proyan's recent works, while paid by this project.
If there is any other preferred way to acknowledge a project, please let me know :)

In this spirit, a lot of projects are missing: ERC Leap (Inria), ERC Actanthrope, H2020 Memmo. @nim65s Could you add them too?

Sure. Do you want a particular order ? Chronological or alphabetical ? With a distinction between national / european ?

I didn't find a logo or a home page for the ERC Leap.

No, you can use the logo of the ERC, such as for Actanthrope. I think historical order is a good option.

done :)


[BugFix] Make MVActiveChecker run all fe node

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Make MVActiveChecker run all fe node
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:disappointed: fail : 2 / 5 (40.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
1
4
25.00%
[183, 188, 189]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
1
1
100.00%
[]

run starrocks_admit_test


Function to redraw all Lines

I wasn't happy calling the internal functions of L.tooltipLayout after my data has changed. So I made an internal redrawLines() function and used it also on the event listeners.

LGTM


command-line underline

I have a question. I want "data-output" to appear under the line from command-line. as seen in the attachment. but how? thanks..

I also want this feature. Very useful since this is how a user actually see in a shell.

Alternatively, we can have a new syntax highlight like the “Shell Session” provided by Highlight.js.


Update docs with info on displaying images

As pointed out by the ECVL team during the DeepHealth Winter School, if users want to display images that have been converted to numpy arrays, some transformations are likely required. This is due to the fact that python libraries that display numpy arrays as images use different conventions than those used by ECVL: the formers expect an RGB image in yxc layout, while ECVL, by default, uses BGR and xyc. We should add a note to the docs, suggesting to apply ChangeColorSpace and RearrangeChannels to the image.
NOTE:
I initially suspected this had something to do with the fact that ECVL images -- and thus numpy arrays obtained by converting them -- have a column-major (aka fortran-style) internal memory layout (see strides computation), while numpy arrays by default have a row-major (or c-style) layout:
>>> import numpy as np
>>> import pyecvl.ecvl as ecvl
>>> img = ecvl.Image([2, 3, 4], ecvl.DataType.uint8, "xyc", ecvl.ColorType.RGB)
>>> img_a = np.array(img)
>>> img_a.shape
(2, 3, 4)
>>> img_a.strides
(1, 2, 6)
>>> np.isfortran(img_a)
True
>>> a = np.ones([2, 3, 4], dtype=np.uint8)
>>> a.strides
(12, 4, 1)
>>> np.isfortran(a)
False

However, this is actually not an issue, since numpy also supports column-major layouts (as shown above) and that's internal: the contents of the array don't change, but only how N-dimensional indices are internally handled to address the elements. The reason for rotated / flipped images is the difference in the channel order convention, as stated above.
CC: @prittt @lauracanalini

Thank you very much @simleo for the update.


Use default runner and GFortran 10

Feature or improvement description
This pull request reconfigures GitHub Actions to use the default GitHub-hosted runner (Ubuntu 20.04) and drops the need to use Docker images with OpenFAST preinstalled. This pull request also updates the GNU baselines with GFortran 10.
Related issue, if one exists
None
Impacted areas of the software
This primarily impacts the test suite. However, other pull requests will benefit from the improved build time from upgrading the GFortran version. The Docker-dependent pipeline also had a memory limitation when compiling the FAST Library, so that may be fixed here.
Test results, if applicable

Thanks! This should also now allow regression tests PR #607 to run in GH actions (memory issues with gcc-7.4).

Thanks! This should also now allow regression tests PR #607 to run in GH actions (memory issues with gcc-7.4).


⚠ ClamAV has degraded performance

In d7fd2c7, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 71 ms

Resolved: ClamAV performance has improved in a7177a7 after 5 minutes.


Requests delayed

A small subsets of requests are taking longer than expected to navigate the pipeline.  This results in requests timing out.  Currently only being observed on Windows with libcurl.

@Jinming-Hu @EmmaZhu can you help us with the repro for this issue.

@Jinming-Hu @EmmaZhu please try reproduce again after pulling latest master with the leak-socket fix applied.

Closing based on email conversation:
Hi Victor,
I was suspecting that the issue was caused by No enough memory to allocate. In our testing application, there’s a memory cache which occupies large size of memory (almost the same with VM’s physical memory). I set the memory cache size limitation to a smaller value (2GB) and restarted the test again. The issue is not reproduced again yet.
Thanks
Emma
Feel free to re-open if see it again


Option.args mochaOpts tagging tests

I have tried to run my tests with in-line args, but it seems i cant find right syntax for it.
My cmd command for calling the test is:
grunt e2e:cert:ed:regression_part_3
and am trying to add tagging args something like this:
grunt protractor --mochaOpts={tags: "myTag"} e2e:cert:ed:regression_part_3
but it doesn't seem to work ...
any ideas ?

Hi @djordje-mmilovanovic,
Sorry about the late reply -- Mocha doesn't have a built-in tagging feature or a tags option, nor is this style of Mocha options part of the "vanilla" library, so this probably has to do with Protractor or the Grunt plugin you're using, and you'll probably get more specific guidance from either or both of those projects.
I can tell you just at a glance that you probably need to quote the whole argument containing { and } as those tend to be interpreted specially by shells. Hope that helps at least.


some black fixes

What does this pull request do?
some non-black code made it into the repo, this should fix all cases.

@basepi oh, didn't see #1523. I'm not sure what the additional changes in this PR are about, I just ran black . with the same version of black that is configured in .pre-commit-config.yaml... weird.

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-04-11T07:11:49.303+0000

Duration: 24 min 31 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
4829

Skipped
3293

Total
8122

:green_heart: Flaky test report
Tests succeeded.
:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

/test linters : Run the Python linters only.

/test full : Run the full matrix of tests.

/test benchmark : Run the APM Agent Python benchmarks tests.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

We've definitely upgraded our black version over time, and I think the tests only tests changed files, not the whole repo. Perhaps that's something we should fix so it looks at all files?

@basepi that makes sense! I think for the pre-commit check that is run when linting PRs, only checking updated files makes sense. But maybe we could change it so that the linters run on the full repo for the nightly build. Not sure how to achieve that while still re-using pre-commit on Jenkins, though...


A follow-up to issue 8539

Issue #8539 was raised against 1.1.1 but still reproducible with 3.1.1 (and I think, newer versions)
Code:
/*
 * Certificate request creation. Demonstrates some request related
 * operations.
 */

#include <stdio.h>
#include <stdlib.h>

#include <openssl/pem.h>
#include <openssl/conf.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#ifndef OPENSSL_NO_ENGINE
# include <openssl/engine.h>
#endif

int mkreq(X509_REQ **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days);
int add_ext(STACK_OF(X509_EXTENSION) *sk, int nid, char *value);

int main(int argc, char **argv)
{
    BIO *bio_err;
    X509_REQ *req = NULL;
    EVP_PKEY *pkey = NULL;

    CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);

    bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);

    mkreq(&req, &pkey, 512, 0, 365);

    RSA_print_fp(stdout, pkey->pkey.rsa, 0);
    X509_REQ_print_fp(stdout, req);

    PEM_write_X509_REQ(stdout, req);

    X509_REQ_free(req);
    EVP_PKEY_free(pkey);

#ifndef OPENSSL_NO_ENGINE
    ENGINE_cleanup();
#endif
    CRYPTO_cleanup_all_ex_data();

    CRYPTO_mem_leaks(bio_err);
    BIO_free(bio_err);
    return (0);
}

static void callback(int p, int n, void *arg)
{
    char c = 'B';

    if (p == 0)
        c = '.';
    if (p == 1)
        c = '+';
    if (p == 2)
        c = '*';
    if (p == 3)
        c = '\n';
    fputc(c, stderr);
}

int mkreq(X509_REQ **req, EVP_PKEY **pkeyp, int bits, int serial, int days)
{
    X509_REQ *x;
    EVP_PKEY *pk;
    RSA *rsa;
    X509_NAME *name = NULL;
    STACK_OF(X509_EXTENSION) *exts = NULL;

    if ((pk = EVP_PKEY_new()) == NULL)
        goto err;

    if ((x = X509_REQ_new()) == NULL)
        goto err;

    rsa = RSA_generate_key(bits, RSA_F4, callback, NULL);
    if (!EVP_PKEY_assign_RSA(pk, rsa))
        goto err;

    rsa = NULL;

    X509_REQ_set_pubkey(x, pk);

    name = X509_REQ_get_subject_name(x);

    /*
     * This function creates and adds the entry, working out the correct
     * string type and performing checks on its length. Normally we'd check
     * the return value for errors...
     */
    X509_NAME_add_entry_by_txt(name, "C", MBSTRING_ASC, "UK", -1, -1, 0);
    X509_NAME_add_entry_by_txt(name, "CN",
                               MBSTRING_ASC, "OpenSSL Group", -1, -1, 0);

    /*
     * Certificate requests can contain extensions, which can be used to
     * indicate the extensions the requestor would like added to their
     * certificate. CAs might ignore them however or even choke if they are
     * present.
     */

    /*
     * For request extensions they are all packed in a single attribute. We
     * save them in a STACK and add them all at once later...
     */

    exts = sk_X509_EXTENSION_new_null();
    /* Standard extenions */

    add_ext(exts, NID_key_usage, "critical,digitalSignature,keyEncipherment");

    /*
     * This is a typical use for request extensions: requesting a value for
     * subject alternative name.
     */

    add_ext(exts, NID_subject_alt_name, "email:steve@openssl.org");
    add_ext(exts, NID_subject_alt_name, "dirName:\\C=UK");

    /* Some Netscape specific extensions */
    add_ext(exts, NID_netscape_cert_type, "client,email");

# ifdef CUSTOM_EXT
    /* Maybe even add our own extension based on existing */
    {
        int nid;
        nid = OBJ_create("<IP_ADDRESS>", "MyAlias", "My Test Alias Extension");
        X509V3_EXT_add_alias(nid, NID_netscape_comment);
        add_ext(x, nid, "example comment alias");
    }
# endif

    /* Now we've created the extensions we add them to the request */

    X509_REQ_add_extensions(x, exts);

    sk_X509_EXTENSION_pop_free(exts, X509_EXTENSION_free);

    if (!X509_REQ_sign(x, pk, EVP_sha1()))
        goto err;

    *req = x;
    *pkeyp = pk;
    return (1);
 err:
    return (0);
}

/*
 * Add extension using V3 code: we can set the config file as NULL because we
 * wont reference any other sections.
 */

int add_ext(STACK_OF(X509_EXTENSION) *sk, int nid, char *value)
{
    X509_EXTENSION *ex;
    ex = X509V3_EXT_conf_nid(NULL, NULL, nid, value);
    if (!ex)
        return 0;
    sk_X509_EXTENSION_push(sk, ex);

    return 1;
}

Compilation:
gcc test.c -ggdb -lcrypto -o bug
Running:
$ ./bug
...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.........................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Segmentation fault (core dumped)

Stack trace:
Using host libthread_db library "/lib64/libthread_db.so.1".
...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
....................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7c1e0d4 in X509V3_get_section () from /lib64/libcrypto.so.3
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.38-16.fc39.x86_64 openssl-libs-3.1.1-4.fc39.x86_64 zlib-1.2.13-4.fc39.x86_64
(gdb) bt
#0  0x00007ffff7c1e0d4 in X509V3_get_section () from /lib64/libcrypto.so.3
#1  0x00007ffff7c30150 in a2i_GENERAL_NAME () from /lib64/libcrypto.so.3
#2  0x00007ffff7c30ae4 in v2i_subject_alt.lto_priv () from /lib64/libcrypto.so.3
#3  0x00007ffff7c26571 in do_ext_nconf () from /lib64/libcrypto.so.3
#4  0x00007ffff7c26d32 in X509V3_EXT_nconf_nid () from /lib64/libcrypto.so.3
#5  0x00007ffff7c26dcc in X509V3_EXT_conf_nid () from /lib64/libcrypto.so.3
#6  0x00000000004015d8 in add_ext (sk=0x4470b0, nid=85, value=0x40206a "dirName:\\C=UK") at test.c:161
#7  0x000000000040150b in mkreq (req=0x7fffffffdc30, pkeyp=0x7fffffffdc28, bits=512, serial=0, days=365) at test.c:121
#8  0x00000000004012f7 in main (argc=1, argv=0x7fffffffdd68) at test.c:30

I believe it will also be a bug for later versions

Hmm, there are numerous other NID values where a crash happens without at least a dummy ctx,
e.g. NID_proxyCertInfo,  NID_certificate_policies,  NID_crl_distribution_points, etc. etc...
The only safe way to call X509_V3_EXT_conf_nid, is as follows:
--- test.c.orig	2024-02-23 09:42:01.924391965 +0100
+++ test.c	2024-02-23 09:56:49.344419047 +0100
@@ -23,13 +23,11 @@
     X509_REQ *req = NULL;
     EVP_PKEY *pkey = NULL;

-    CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
-
     bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);

     mkreq(&req, &pkey, 512, 0, 365);

-    RSA_print_fp(stdout, pkey->pkey.rsa, 0);
+    RSA_print_fp(stdout, EVP_PKEY_get0_RSA(pkey), 0);
     X509_REQ_print_fp(stdout, req);

     PEM_write_X509_REQ(stdout, req);
@@ -42,7 +40,6 @@
 #endif
     CRYPTO_cleanup_all_ex_data();

-    CRYPTO_mem_leaks(bio_err);
     BIO_free(bio_err);
     return (0);
 }
@@ -118,7 +115,10 @@
      */

     add_ext(exts, NID_subject_alt_name, "email:steve@openssl.org");
-    add_ext(exts, NID_subject_alt_name, "dirName:\\C=UK");
+    add_ext(exts, NID_subject_alt_name, "dirName:dir_sect");
+    add_ext(exts, NID_proxyCertInfo, "xxx");
+    add_ext(exts, NID_certificate_policies, "xxx");
+    add_ext(exts, NID_crl_distribution_points, "xxx");

     /* Some Netscape specific extensions */
     add_ext(exts, NID_netscape_cert_type, "client,email");
@@ -158,7 +158,10 @@
 int add_ext(STACK_OF(X509_EXTENSION) *sk, int nid, char *value)
 {
     X509_EXTENSION *ex;
-    ex = X509V3_EXT_conf_nid(NULL, NULL, nid, value);
+    X509V3_CTX ctx;
+    X509V3_set_ctx_test(&ctx);
+    X509V3_set_nconf(&ctx, NULL);
+    ex = X509V3_EXT_conf_nid(NULL, &ctx, nid, value);
     if (!ex)
         return 0;
     sk_X509_EXTENSION_push(sk, ex);

Note however that those NIDs refer to a section in the configuration file and therefore
none of those extension object can be created without a configuration file.

X509V3_get_section crashes when ctx is NULL. So it's a yet another incarnation of parameters validation in the public API discussions.


Deploy feature

We need to document the deploy feature, as is, and let's label it in either alpha - so no strings attached.
We need to document:

Configuration files and their references
Available/related commands
Kool Cloud introduction/instructions to sign up

This should be a continuous effort in the coming weeks to get to a public beta state.

Beyond documentation, I am gonna propose here a few improvements/changes:

How about we create a new sub-command umbrella kool cloud to scope all of the Kool Cloud related commands? Currently we have:

kool deploy - deploys or updates an environment
kool deploy exec - executes a command in a container in a deployed environment
kool deploy destroy - destroys the environment

With this proposal we would have then:

kool cloud - Umbrella command with help description, and some common parameters (like --token, --domain)
kool cloud deploy - deploys or updates an environment
kool cloud exec - executes a command in a container in a deployed environment
kool cloud destroy - destroys the environment

This sets the ground for future expansions:
- `kool cloud logs` - display logs from a deployed container (under active development)
- `kool cloud db:import`
- `kool cloud db:dump`  ...

We need to increse safety on the deploy usage. Since we depend on a token that may give access to several environments, and then another simple flag (KOOL_DEPLOY_DOMAIN) to identify the target environment, we are prone to someone deploying the wrong application to the wrong domain, overriding it, which would be very bad.

In order to improve behaviour here, we could:

When under a TTY, for kool deploy, interactively ask confirmation on for the deployment, telling whether it will be created or updated, and the exact environment that will be affected. Add a --force or --no-interactive flag as well, to skip the interactive prompt.
When under a TTY, for kool deploy destroy, create the same confirmation. Also should have the --no-interactive/--force flag.

I full-heartedly support this new kool cloud namespace (umbrella). As discussed on our call yesterday, it's easier to understand because cloud references a remote "location" or environment (vs. a local environment), whereas deploy is an action (and one of many - i.e. exec, destroy, logs). And it reinforces the branding of KoolCloud.

This is about to go public soon, closing this old reference.


Use active/passive probes where required

Is your feature request related to a problem? Please describe.
Right now we're splitting off some jobs from instance groups, because they are active/passive.
The CF Operator now supports this capability, so we no longer have to do that.
Describe the solution you'd like
Use the cf-operator active passive probes to support this scenario.
See this document for more details.
Describe alternatives you've considered
Keeping the current solution.
This takes us away from our goal of being as close as possible to cf-deployment.
Additional context
n/a

Development happens here: https://github.com/jimmykarily/cf-operator/tree/aduffeck/active-passive-probes (Since I don't have push access to teh cf-operator repo).

Added code to parse the active/passive probe form the deployment manifest.
Fixed bug to only run the probe on the correct pods (not every pod).
Added a selector to the generated services to only route traffic to the pods that are marked as "active".

We are now testing the changes on kubecf.


Try fixing the error when updating translations

l find that the update translation workflow has gone wrong recently, so l try to add -t to fix it. l have tested on my own project and it seems to work well.
Here is the previous error.

This happened because https://github.com/transifex/cli/pull/96

We should also look into locking the transifex cli version instead of always grabbing the latest version.

We should also look into locking the transifex cli version instead of always grabbing the latest version.

That makse sense, l also think it should be the problem of the update of transifex cli.


Search bar gives results in empty collections

Debug ID: CPLW6TPB
To reproduce, make a new empty collection and select it, change the search bar to search "All fields and tags" or "everything", and enter a simple search term. The empty list of items will populate with results from other collections (although not the entire library it seems).
It's not at all obvious to me why this is related to BBT, but it goes away if I disable the extension.

Yeah, and I see why this happens. Damn. I'm not sure there's a way to fix this. Certainly not a quicky-fix.

Hmm, well Advanced Search at least works as a workaround, although it's not the most convenient.

I'm disabling citekey search until I've figured out (whether there is) a way to do this. Zotero search doesn't really lend itself to being extended. Thought I had found a way, but that turned out to be wrong.

There's no way to hook into the search right now. Shame.

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>76 ("citekey search")
Install in Zotero by downloading test build <IP_ADDRESS>76, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

I think this works.

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>77 ("also search pane")
Install in Zotero by downloading test build <IP_ADDRESS>77, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>79 ("auto-add citekey in search only for quicksearch")
Install in Zotero by downloading test build <IP_ADDRESS>79, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>80 ("return localized name")
Install in Zotero by downloading test build <IP_ADDRESS>80, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".


Capitalst not to build roads

[QUOTE="Solfall, post: 22758566, member: 922976"]That I do not know.[/QUOTE]
[QUOTE="fudd_bopo, post: 22758874, member: 25732"]I'm guessing that's the "can_build = yes" line in poptypes/capitalists.txt. However that would affect factories as well.[/QUOTE]
[QUOTE="fudd_bopo, post: 22759184, member: 25732"]This seems like a much better solution.[/QUOTE]
Tnx, yes it is moddable by setting pop_build_factory = yes for railroad. Even if you have a laissez_faire policy to a large extent governments still finance infrastructure.

reverting, after feedback...
Kunarian
I mean that's literally not true. A massive amount of infrastructure nowadays is funded jointly by the state and by private investors and is built by private companies. Even if it becomes public infrastructure after building. In fact I'd say that it's essential nowadays to have private investors otherwise the state would be spending an insane amount to build all the new infrastructure necessary.
If you want to simulate infrastructure correctly, it should be a LOT more expensive. It really isn't cheap at all.


Analyze the requirements of "Registration"  module

https://github.com/ita-social-projects/what-front/wiki/SRS-Registration


Is the code in Blobs-DANN.ipynb suitable for Cross-domain sentiment classification work

I am trying to implement DANN for cross-domain sentiment classification (CDSC), which is also reported in the host paper. However, it seems that there is not a specific ipynb file to meet the CDSC task. I wonder whether the DANN structure of CDSC is same with Blobs-DANN? Many thanks.

Blobs-DANN is a toy problem to illustrate the algorithm in a very simple context. The setup for other tasks should be roughly the same.


Mega Evolving shinies out of battle causes Sprite issues

Have tested with regular gard vs shiny gard, and also tested with beedrill & Pidgeot

This is due to their being no sprites atm for the shiny megas

Originally reported here. #29


question with ie9

I found that after component initialization in ie9, I wrote "SCRIPT5022: script block raised exception but not caught (1895) (1,13098)".The picture is loaded, but the cropping box is not loaded. Is there any problem?

Did you include the cropper.css file?

Hi I want to use jquery-cropper in a rails application, I was wondering if there is a CDN with the proper versions vis-a-vis the specific version of jquery it works with. I have tried to get from cdnjs and it doesn't seem to be working.

@mabidenengma Try the latest version of Cropper.js or set the checkOrientation option to false.

@Owohlet
<script<EMAIL_ADDRESS><script<EMAIL_ADDRESS><script<EMAIL_ADDRESS>


sys: Update to linux 6.2

There are currently no API changes, so there is no need to release a new version. Unless you will be adding an API to expose IORING_SEND_ZC_REPORT_USAGE. :)


Dropwizard fails reading config.yml with Retrofit2 converter-jackson

I'm on dropwizard 0.8 (1.0 has some sort of circular Jersey/Guice startup race condition) and I'm adding Retrofit2 as a way to talk to another REST service.
If I add in the dependency for Retrofit's jackson support to Gradle I'll see the following error. Not even using anything from it, just having added that dependency. Presumably some sort of low level initialization with yml->object mapping gets hosed and that's why it's failing to read the config.yml?
Hoping for something I can change at startup, a way to tell Dropwizard not to look at the Retrofit classes?
If I take out that convert-jackson dependency line, the config.yml parsing works just fine again.
    compile group: 'com.squareup.retrofit2', name: 'retrofit', version: '2.1.0'
    compile group: 'com.squareup.retrofit2', name: 'converter-jackson', version: '2.1.0'

src/dist/config.yml has an error:
  * Unrecognized field at: server.requestLog
    Did you mean?:
      - adminConnectors
      - adminContextPath
      - adminMaxThreads
      - adminMinThreads
      - applicationConnectors
        [1 more]

Hi @chriskessel,
Sorry for a late reply. Could you try to exclude the jackson-databind dependency from com.squareup.retrofit2:converter-jackson? Dropwizard 0.8.* uses Jackson 2.5.1, but converter-jackson uses 2.7.2. Depending how your application is packaged, different versions of Jackson could be included in the jar distribution. I think there could be issues if the 2.7.2 version is included, because Dropwizard 0.8.* doesn't support it.

Excluding jackson-databind does seem to solve the problem:
   compile ('com.squareup.retrofit2:converter-jackson:2.1.0') {
        exclude module: 'jackson-databind'
    }

Closing as it the issue seems resolved.


Update code snippets to pull from sample code for Blobs

Please also update the Batch changelog/breaking changes to note the rename of Batch to Batching "for consistency with other platforms"

Also remove edit your READMEs to remove the version from the "install" section so it's just dotnet add package Azure.Storage.Blobs


[Release Task] Deploy Azure App Service: XML Substitution unable to parse config

In the release task for azure app service deployment using the 3.0 template (in preview), the newly added XML substitution isn't able to parse the web.config.
Task: https://github.com/Microsoft/vsts-tasks/tree/master/Tasks/AzureRmWebAppDeployment
Here's the trace from the release logs after enabling system.debug:
Initiated variable substitution in config file : E:\agent_work\r69\a\temp_web_package_1627581922803074\Content\C\agent_work\157\s\src\project\obj\Release\Package\PackageTmp\Web.config
Detecting file encoding using BOM
Unable to parse file : E:\agent_work\r69\a\temp_web_package_1627581922803074\Content\C\agent_work\157\s\src\project\obj\Release\Package\PackageTmp\Web.config
TypeError: listOfNodes.push is not a function
Task Version:
Task         : Azure App Service Deploy
Description  : Update Azure App Service using Web Deploy / Kudu REST APIs
Version      : 3.0.5

Hi degant, can you please share your web.config file with<EMAIL_ADDRESS>

Sure will share it right away. Thanks!

@degant , the issue is resolved and the fix will be available in upcoming deployment.

@vincentdass, @arjgupta What version will this be fixed in? And when will it be available?

Hey I'm still waiting for a response. The fix is still not available in the preview. Do you have an ETA?

@degant  A fix for this issue has been deployed. Can you please verify if XMl substitution if working for you now.

Hi @arjgupta thanks for the confirmation. After our conversation on mail I was under the impression that the fix is already deployed. Will check again in a week or two since the task is still showing up as 3.1.0 in our VSO.


fix chroma api rest api bug

fix chroma rest api request param bug

Thanks, I've added a test as well.  Merged in f461bd603d554e15139add55c9029e551ec1c828

ok


Fix create duplicate records in *GroupHandler

Fix create duplicate records in *GroupHandler when there is more than one Processor.

Closing as #1281 is going to be merged into master


Update documentation and examples to Node.js 8 async/await

Type of issue
Feature request
It's kinda hard to understand where to use async/await in code

@k-miras could you send us the link of which documentation is confusing? There's a lot of documentation, so it's hard to know which one is causing you trouble.

I realize this is a very old bug/help request, but I have the same issue, essentially. What I'm trying to wrap my head around is how to make sure that something in my writing() section is fully executed before my install() section runs, because in this case I'm editing package.json, but it's running npm install before I've finished updating it.