Handle custom exceptions with Angular HttpClient

Possibly also fixes #1070 #1071 #1072 #1059
Unfortunately Release v11.12.10 didn't fix the handling of the status codes and returning of custom exceptions for my Angular client. So I manually edited the generated code and found the following below.
It would take me too long to understand the in's and out's of the NSwag project itself and set it up locally to create a PR myself so hopefully you can review my code below and adopt this into your code for the next release so this can be automated.
First I think there is some regression in commit  a3bdb16f702d5654af9ac7d73700ead2c92337a3.
The catch is checking for the instance of HttpResponseBase https://github.com/RSuter/NSwag/blob/a3bdb16f702d5654af9ac7d73700ead2c92337a3/src/NSwag.CodeGeneration.TypeScript/Templates/AngularClient.liquid#L82
After that, the response is casted toany
https://github.com/RSuter/NSwag/blob/a3bdb16f702d5654af9ac7d73700ead2c92337a3/src/NSwag.CodeGeneration.TypeScript/Templates/AngularClient.liquid#L87
But the protected process{{... method accepts a HttpResponse<Blob> and I think this should actually be of type HttpResponseBase so the cast as mentioned above could be avoided.
https://github.com/RSuter/NSwag/blob/a3bdb16f702d5654af9ac7d73700ead2c92337a3/src/NSwag.CodeGeneration.TypeScript/Templates/AngularClient.liquid#L97
The actual type checking should occur inside the body of the protected process{{... method because the parameter passed-in could be of type HttpResponse<Blob> or HttpErrorResponse.
The class HttpErrorResponse doesn't have a property body but has an error property instead. So we need a way to determine the right content for the parameter to pass to the blobToText function. If we would use blobToText(response.body) on a response of type HttpErrorResponse an empty string will be returned resulting in not passing the actual error message/object back to the caller.
I tested the code below for status === 409 and it seems to work.
Example:
// Global function at same level as function blobToText
function responseToBlob(response: HttpResponseBase): any {
    if (response instanceof HttpResponse) {
        return response.body;
    }
    else if (response instanceof HttpErrorResponse) {
        return response.error;
    }
}

// Changes are:
// response: HttpResponseBase
// let blob: any = responseToBlob(response);
// Replace `response.body` with `blob`
protected processTest(response: HttpResponseBase): Observable<SwaggerResponse<void>> {
    const status = response.status;

    let blob: any = responseToBlob(response);

    let _headers: any = {}; if (response.headers) { for (let key of response.headers.keys()) { _headers[key] = response.headers.get(key); }};
    if (status === 202) {
        return blobToText(blob).flatMap(_responseText => {
        return Observable.of<SwaggerResponse<void>>(new SwaggerResponse(status, _headers, <any>null));
        });
    } else if (status === 404) {
        return blobToText(blob).flatMap(_responseText => {
        return throwException("A server error occurred.", status, _responseText, _headers);
        });
    } else if (status === 400) {
        return blobToText(blob).flatMap(_responseText => {
        return throwException("A server error occurred.", status, _responseText, _headers);
        });
    } else if (status === 409) {
        return blobToText(blob).flatMap(_responseText => {
        let result409: any = null;
        let resultData409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
        result409 = resultData409 ? ErrorResponseModelOfSignUpError.fromJS(resultData409) : <any>null;
        return throwException("A server error occurred.", status, _responseText, _headers, result409);
        });
    } else if (status !== 200 && status !== 204) {
        return blobToText(blob).flatMap(_responseText => {
        return throwException("An unexpected server error occurred.", status, _responseText, _headers);
        });
    }
    return Observable.of<SwaggerResponse<void>>(new SwaggerResponse(status, _headers, <any>null));
}

I've updated the templates, please retest with the latest CI artifacts: https://ci.appveyor.com/project/rsuter/nswag-25x6o/build/artifacts

I didn't know how to make use of the nuget packages from above link in VS2017 so I've regenerated my code with the artifact of NSwagStudio. The propagation of the exceptions now works out of the box. Perfect, and thanks for the quick (re)action.

Using the ci nuget packages is a little bit tricky because they have the same version as the latest released packages, this why you should use the studio - as you did... thanks for testing


Update readme

[ ] installation section
[ ] usage
[ ] data references
[ ] contributing

example:
https://github.com/I-Bouros/seqgibbs/blob/main/README.md


Icon theme

It would be very cool if on Linux Cerebro will use app icons from active theme, not default.

This is not that hard.
theme is chosen on this line of code https://github.com/KELiON/cerebro/blob/master/app/main/plugins/core/basic-apps/linux.js#L49
You can get default icon theme for gnome for example this way: THEME=$(gsettings get org.gnome.desktop.interface icon-theme | tr -d "'"). This just get you currently enabled theme and not path, so you would have to figure out whether it's in /usr/share/ or in home directory.
But I doubt that developers would accept pull request which works just for gnome.

To be fair this command returns a correct GTK theme even on my ArchLinux ("Adwaita" in my case).
However, I can also see that on my linux none of the installed apps placed their icons in the /usr/share/icons/Adwaita/**/apps/, they only placed them in /usr/share/icons/hicolor/**/apps/ folder.
I think it makes sense to accept a pull request which will look in the theme's folder in addition to the default hicolor one. Just add the line to look in the theme's folder above the line mentioned by @pkajaba, so that it is considered first, but there is still a fallback to the default hicolor.

@maximbaz that command is not about distribution but desktop. I doubt that gsettings would work under KDE or anything what is not gnome.
It makes for all applications put their icons into hicolor folder since it's default theme defined by freedesktop: https://specifications.freedesktop.org/icon-theme-spec/latest/ar01s03.html
This is quite funny thing since Settings applications does not have icons inside hicolor folder so it does not match anything.

Thanks for the hints, it was interesting to read about this. As it happens, I don't have gnome desktop environment installed, but I do have some bits and pieces of it on my box that were installed by other apps as dependencies (like gtk2, gtk3, and specifically glib2 which provides gsettings binary).
In any case, if there will be a pull request, I would be happy to test it.

Ok, summarizing: looks like we can use gsettings get org.gnome.desktop.interface icon-theme | tr -d "'" to get theme and after that look up for app icon in the same folders, that we use now + replace hicolor with current theme.
Should be easy change! Thanks @pkajaba

@KELiON hicolor should not be replaced, like I mentioned earlier all my app icons are in hicolor despite the fact that my reported theme is Adwaita. Just look in the theme folder first, and if the icon is not there, look in hicolor.

It's bit messy, but to summarize it:

hicolor is default by standard, it should everywhere.
gsettings get org.gnome.desktop.interface icon-theme | tr -d "'" will work just when you have some gnome packages installed (won't work everywhere)
icon theme does not have to be installed in /usr/share but it can be also in ~/.icons

The proper way how to tackle this is do some research how KDE or other alternatives handle this and try all possible paths and when icon is not found fallback to 'hicolor'

Up

I'm upvoting actually, would be nice to see current theme' icons instead of default ones.

@KELiON, please :D

Hi all,
I would love, love, love to see this feature in cerebro. if anyone would be able to make cerebro use the theme of my choice, that would make me switch to cerebro as my go to app for starting, searching, and everything else.
Now, I still sort of switch between the system stuff (I'm using Linux Mint, cinnamon desktop) and cerebro.
Is there anything I could do to implement this feature?


Puro Puro, impling spaces will not despawn

I'm looking at a series of 35 impling spawns from across worlds that aren't dissapearing. Is this intended?

Duplicate of #2913. Was fixed in <IP_ADDRESS>.

This is an ongoing issue in <IP_ADDRESS>. Going from one world, to another world does not remove previous world's markers, every new "tile" (I think thats what the world is divided into) the player enters, the spaces reload, based on the player's position. So if there is a dragon impling 10 spaces north in one world, you change, the dragon impling's marker will still be there. Then you can teleport, and wherever you teleport to, there will still be a marker there.

If you click the info panel.. what version is listed there?


tests: Flask-SQLAlchemy model signal connection in 2.2

Flask-SQLAlchemy 2.2 changed the way it picks a sender for the model signals so changes need to be done in tests/test_utils.py so test can pass with this version.
Moreover, this problem was hard to detect because the test case for record_indexer.process_bulk_queue() (https://github.com/inveniosoftware/invenio-indexer/blob/master/tests/test_utils.py#L88) is wrong, it should check the result content instead of its length.

Closed via #61


Add CI support for waiting on active BOSH tasks

When CI deploys, you can configure the pipeline to
wait for existing BOSH tasks to finish before deploying,
by setting meta.pause_for_existing_bosh_tasks in ci/settings.yml
The CI task will wait up to 100 seconds for BOSH to finish tasks
before bailing out.

The purpose of unsetting the DIRECTOR_URL is to work around any caching that may have been done in ask_bosh/need_a_bosh calls prior/after querying the to-be-deployed bosh for its task status. if DIRECTOR_URL is set, need_a_bosh won't re-generate the URL based off the currently targeted bosh


added base orientdb sql support for wicket-console

maybe not so cool, but it works

update in other PR


Seperate I/O from Telnet Parsing & Formatting

Similar to #14, I would like to use this package with tokio to read and write to a telnet stream asynchronously.
I was going to offer a tokio implementation for this library, but realised that doing so, while also providing the existing or similar synchronous implementation, would require either extensive reworking or a parallel implementation due to the Read & Write traits of each system being incompatible. That is on top of the fact that in rust there are a large number of ways to read and write data such as blocking, non-blocking, futures, tokio, mio, etc. Telnet is an application layer protocol so the implementation of the underlying stream shouldn't matter.
So my suggestion is to provide an API in this package that simply parses incoming telenet data into events, and formats outgoing data, by passing buffers rather than reading or writing to the underlying stream. That way the application can use its own method for reading and writing.
From there we could:

replace the existing API in this package with the suggested API. This would allow for the removal of most if not all I/O from this package.
reimplement a similar API to the existing one using the suggested API as its base (to reduce redundant code and the number of tests). This would provide a low level and high level API to different applications.
create a new synchronous API more in line with #7 (splits reads and writes) which also uses the suggested API as its base. This would allow for full-duplex connections.
do something else. I am open to suggestions.

I have made a rough implementation of the suggested API as well as a synchronous reader and writer here to get an idea of what I am proposing.
Is this something you would be interested in pursuing?

Great suggestion! I agree that it would be better to separate I/O out of the implementation. I will take a look at your code in a few days, and then we can discuss how we proceed.

No worries, I hope you enjoyed your break.
Currently there are quite a few options for the functionality that the final lib could provide. I was thinking if we can get an initial direction on some of these I can then rewrite what I have done in a clearer way (separating the new code into files, removing redundant existing code, etc.). I can then submit that as the PR and we can refine it from there.
Below is a list of a few of the key decisions I can think of:

In my original post I listed a few protentional options for how we could provide a synchronous API (or none at all). Do you have any thoughts on these? Maybe we could just start with no synchronous API (just the parser and formatter) then add from there.
I haven't put any thought into stream compression for my initial implementation. If we are to provide a synchronous API, this will need to be considered.
I have been playing around with providing std::io::Write and tokio::io::AsyncWrite trait implementations. However these traits require their implementations to write to the underlying stream at most once per call [1]. This combined with the need to escape IAC bytes makes a generic implementation tricky. What I was able to come up with here requires the user wrap the "write" call they are using inside a closure. It's not super clear but maybe that would be helped with some documentation. Do you have any thoughts on this?

I will also write docs and tests but I was thinking of leaving that until we have a better idea on what the final lib looks like.

Hi, thank you for your understanding.
Here are my thoughts:

I think the best option for users is to provide both high level synchronous APIs with split reads and writes and low level APIs for parsing telnet commands like what you said in the original post. This should be the most flexible option for users. Of course, we can start from just the parser and the formater. Once everything works fine with test cases, we can then start implementing high level APIs.
I think we can leave the compression streams alone for now. After the main components work, we can then go back to check how to integrate the compression streams in the new APIs.
I am thinking maybe it means that we should not implement Write for the telnet writer. Since the telnet protocol is an application layer protocol, it is inevitable to add some other bytes when writing data. I check a few other libraries such as hyper. They also do not implement Write for their high level write APIs. I believe it is because they are treating the user data as 'objects' instead of 'bytes' so they do not need to implement Write to handle 'bytes' for users. However, if you thought it would be better to implement Write for the telnet writer, we could first check if there is any other library encountering the same issue like us.

If you are ok with these, we can start from making a check list and open a branch for maintaining the new implementation.


279: super-resolution based on Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural  Network

Status
READY
Description
An implementation of the network mentioned in the title, and in ticket 279. Provides a means of upsampling tensors through a purely convolutional (sub-) network. Cannot be trained or used for inference with NiftyNet, directly, and is therefore only usable as a network building block.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] My code follows the code style of this project.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Impacted Areas in Application
List general components of the application that this PR will affect:

niftynet.layer (new layer class, does not break or otherwise interfere with anything).

I know Ryutaro Tanno has the EPSCN network already implemented as part of his work on "Bayesian Image Quality Transfer with CNNs: Exploring Uncertainty in dMRI Super-Resolution". I can talk to him about and see if I can port his own TF implementation to NiftyNet.


Add "defineContextVariable" build in helper

Hello @nolimits4web,
could you please add a new build in helper to define context variables.
Thanks :)

@nolimits4web
Could you please have a look at this, it would be an amazing feature :)

@nolimits4web
Could you please have a look at this, it would be an amazing feature :)

It is already possible by using {{#objectName}} .... {{/objectName}}, e.g.:
var obj = {
  foo: 'bar',
};

{{#obj}}
<p>{{foo}}</p>
{{/obj}}

@nolimits4web
Great!
Thank you very much!!!


feat-pagerduty - added conversion for pagerduty plugin

pagerduty go-conversion:
Added "Pagerduty " support to go-convert specific to jenkins migration.
Pager Duty Jenkins Trace:
test-pager-duty.json
go run main.go jenkinsjson --downgrade ~/go/test-pager-duty.json
pagerduty step:
- step:
    identifier: pagerduty51d22b
    name: Pagerduty
    spec:
      image: plugins/pagerduty
      settings:
        dedup_key: E54EC853A59A3815EF3632D5F854CF26
        incident_severity: critical
        incident_source: test-pager-duty
        incident_summary: Build Failed for test-pager-duty
        job_status: failure
        log_level: debug
        resolve: 'false'
        routing_key: a666ad1326f34605d06c0dbd4d87c1cb
    timeout: ''
    type: Plugin

pagerdutyChangeEvent step:
- step:
    identifier: pagerdutychangeevent499434
    name: Pagerduty_Change_Event
    spec:
      image: plugins/pagerduty
      settings:
        custom_details: '{"buildNumber":"22","jobName":"test-pager-duty","jobURL":"http://localhost:8080/job/test-pager-duty/22/"}'
        incident_source: ''
        incident_summary: Job test-pager-duty completed with status SUCCESS
        log_level: debug
        routing_key: a666ad1326f34605d06c0dbd4d87c1cb
        create_change_event: "true"
    timeout: ''
    type: Plugin

@Ompragash Added the pagerduty and pagerdutyChangeEvent support to go-convert, Could you please review it and confirm the changes?
Thanks,

@Ompragash Addressed all the above comments, could you please review them and confirm?

@Ompragash, Please find the LINK for pagerduty conversion test pipeline.

@Ompragash, Added IntegrationKey for PagerdutyChangeEvent, please find the below test pipelines.
Pagerduty Test Release Pipeline
Pagerduty test pipeline
Could you please review them and confirm the changes?


Delete manifests/j/Jackett/Jackett/0.20.662.0 directory

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.1 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run


print date shows only in final print

As per sir, remove print date from this page and it should show only in the final print


Can't see anything on JIRA Get Started Page

Hi! I can't install JIRA add on. I've stared process from JIRA didn't work, started from GitHub, same. I have error on Get Started Page in JIRA - I see empty page.
This is what I see in Firefox debugging tools, 404 error while loading APP from jira-integration-production.herokuapp.com

I've already tried reinstalling a couple of times and it didn't help

I am also facing the same issue. Tried reinstalling many times. Didn't work!

@abichandani I've written to support using marketplace https://marketplace.atlassian.com/apps/1219592/github-for-jira?hosting=cloud&tab=support and they have resolved my issue pretty quickly, although I am not aware if it was a general fix or only my case.

Hi @nrafal. I'm from a team at Atlassian that is currently in the process of migrating the ownership over to us from GitHub. As a part of this, we're currently going through the backlog of issues and prs to see what can still be addressed and what should be closed.
This is an issue our team is actively looking into. It's proving to be a hard issue to reproduce but will continue to be something we work towards resolving. Stay tuned.

Just wanted to chime in on this - my organization is currently facing the same issue. Symptomatically this seems to be a 404 response from Github when requests are made from Jira (OP's screenshot shows this). Atlassian had responded to me saying there might be a null OAuth ID on Github's side.
I have contacted both Atlassian and Github - they both pointed the finger at each other and said to ask the other party. I have also tried revoking permissions and reinstalling, none of that seemed to work.
I will say this did work at one point in the past - probably going back to October of 2020 or earlier. Don't know what's changed since then.

For those having the issue, are you using GitHub Enterprise? The only other reason I can think of is that the app doesn't have the permissions needed to do its job. Could you please get your GitHub org admin to check that the permissions are up to date for the app?
Thanks.

Hey @JadedEvan, @nrafal and @abichandani. Given that there hasn't been any activity on this issue for a few months I'm going to go ahead and close this. Please feel free to reopen and reach out again if you are still having issues.

I have this problem as well in Jira cloud. It never even gets to a stage where it will ask me about github at all, but if it matters we use regular GitHub. I am using it in private browsing because I am forced to (don't ask). The errors that appear to be unique to the getting started page are as follows in the screenshot.

The problem from the prior post is probably going to become more widespread as google clamps down on cross domain operations, especially with the demise of 3rd party cookies next year. Probably needs a rewrite of this part. I also found a problem when using Chrome on android in desktop browsing mode (a place where I can get access to my company SSO in regular browsing mode)... it fails after hitting authorize in github when it loads this type of url:
https://github.atlassian.com/rest/app/cloud/github-callback?code=REDACTED&state=REDACTED

@ChrisChiasson
This seems to be a browser settings issue. In private mode, the option Block third-party cookies and site data is checked by default and that blocks the usage of localStorage. That explains why it wasn't working for you in private mode, but worked in non-private mode.
We'll push out a fix for this soon.

@ChrisChiasson
This seems to be a browser settings issue. In private mode, the option Block third-party cookies and site data is checked by default and that blocks the usage of localStorage. That explains why it wasn't working for you in private mode, but worked in non-private mode.
We'll push out a fix for this soon.

100% concur, and thank you @krazziekay


vim+urxvt loses keypresses at exit, stoptermcap stuck

When run with the urxvt terminal, vim will unnecessarily wait 0.1s when quitting. Any characters typed during this time will be flushed/consumed; key sequences like :wq<return>something<return> if typed fast enough can result in a truncated mething being executed in the underlying shell.
To Reproduce

xrdb -merge <<< 'URxvt*background: rgba:4444/4444/4444/eeee'
urxvt -e sh -i
In the new terminal, vim --clean '+set t_RC='
type :q<return>asdf<return> rather quickly
observe your prompt/shell; you might get a disk space usage report!
re-run with an alpha of ffff and observe that it resolves the issue
Now try vim --clean (without clearing t_RC), it's back :(

Expected behavior
vim should quit immediately and not eat keypresses that were not intended for vim.
Environment (please complete the following information):

Vim 8.1.1186-1
OS: Arch Linux and others
Terminal: rxvt-unicode v9.22

Additional context
There are two bugs/issues here:

vim acknowledges that CSI 11;? can return rgba:, but is unable to parse the result. It will consume the result so it is not output to the user/terminal, but rbg_status/rfg_status will remain STATUS_SENT. This later on results in vim waiting for a message that will never arrive.

There seems to be no obvious STATUS_INVALID type option, and I'm not familiar enough with the context these values are used in or what minimal impact fix would be appropriate, so I'm filing this as an issue rather than a PR. I believe ideally vim would be able to parse urxvt's rgba: response (ignoring the alpha should be reasonable?), but am not sure whether a patch introducing this behaviour would be welcome?

urxvt appears to not support T_CRC? The characters do not get echo'd to the screen (as the note says about gnome terminal), but as far as I can tell it does not seem to respond at all, and thus causes vim to wait at quit.

When run with the urxvt terminal, vim will unnecessarily wait 0.1s
when
quitting.
Any characters typed during this time will be flushed/consumed; key
sequences like :wq<return>something<return> if typed fast enough can
result in a truncated mething being executed in the underlying
shell.
To Reproduce

xrdb -merge <<< 'URxvt*background: rgba:4444/4444/4444/eeee'
urxvt -e sh -i
In the new terminal, vim --clean '+set t_RC='
type :q<return>asdf<return> rather quickly
observe your prompt/shell; you might get a disk space usage report!
re-run with an alpha of ffff and observe that it resolves the issue
Now try vim --clean (without clearing t_RC), it's back :(

Expected behavior
vim should quit immediately and not eat keypresses that were not intended for vim.
Environment (please complete the following information):

Vim 8.1.1186-1
OS: Arch Linux and others
Terminal: rxvt-unicode v9.22

Additional context
There are two bugs/issues here:

vim acknowledges that CSI 11;? can return
rgba:,
but is unable to parse the result. It will consume the result so it is
not output to the user/terminal, but rbg_status/rfg_status will
remain STATUS_SENT. This later on results in vim waiting for a
message that will never arrive.

There seems to be no obvious STATUS_INVALID type option, and I'm
not familiar enough with the context these values are used in or
what minimal impact fix would be appropriate, so I'm filing this as
an issue rather than a PR. I believe ideally vim would be able to
parse urxvt's rgba: response, but am not sure whether a patch
introducing this behaviour would be welcome?

urxvt appears to not support
T_CRC? The
characters do not get echo'd to the screen (as the note says about
gnome terminal), but as far as I can tell it does not seem to respond
at all, and thus causes vim to wait at quit.

It would be possible to figure out that a response to a foreground or
background request has been received that we can't parse.  But there is
a more general problem: For any of the requests, if the terminal does
not respond for any reason, then the STATUS_SENT will be maintained
forever.
It's probably best to remember when the request was sent, and assume the
response will never come after some time, e.g. two seconds.
--
A fool must search for a greater fool to find admiration.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

there is a more general problem: For any of the requests, if the terminal does not respond for any reason, then the STATUS_SENT will be maintained forever. It's probably best to remember when the request was sent, and assume the response will never come after some time, e.g. two seconds.

Though I'm now personally content working around this in vimrc, this would be a welcome change! It did take some digging to find the cause to begin with, so anything that resolves this on its own would've been nice.

It would be possible to figure out that a response to a foreground or background request has been received that we can't parse. But

Considering that the code already does this (handles a 11/10 response, eats it until the terminating \7, then only ignores the contents because it doesn't start with rgb:), it seems reasonable to do so even with the timeout behaviour as a fallback? There is currently no STATUS_ value to represent such a "received but unhandled" state which makes it harder to suggest a simple else to fix this, but I suppose having a status for timeouts would enable that.

there is a more general problem: For any of the requests, if the
terminal does not respond for any reason, then the STATUS_SENT will
be maintained forever. It's probably best to remember when the
request was sent, and assume the response will never come after some
time, e.g. two seconds.

Though I'm now personally content working around this in vimrc, this
would be a welcome change! It did take some digging to find the cause
to begin with, so anything that resolves this on its own would've been
nice.

It would be possible to figure out that a response to a foreground
or background request has been received that we can't parse. But

Considering that the code already does this (handles a 11/10 response,
eats it until the terminating \7, then only ignores the contents
because it doesn't start with rgb:), it seems reasonable to do so
even with the timeout behaviour as a fallback? There is currently no
STATUS_ value to represent such a "received but unhandled" state
which makes it harder to suggest a simple else to fix this, but I
suppose having a status for timeouts would enable that.

The terminal might respond with several escape sequences.  Reacting on
one we don't recognize would not help for when another follows that we
can use.  Setting the status to another value won't change what happens.
The patch is out, give it a try.
--
To keep milk from turning sour: Keep it in the cow.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

The terminal might respond with several escape sequences.  Reacting on one we don't recognize would not help for when another follows that we can use.  Setting the status to another value won't change what happens.

I'm not sure that's quite true as the current implementation seems to react to any messages it can parse, regardless of the status or whether it even requested the message? There are interactions here but maybe not worth exploring given the timeout patch and ability to disable codes that aren't supported.
My real question anyway here regarding the 11/10 response is whether a patch parsing the rgba: variant is something that could be considered/accepted.

The patch is out, give it a try.

Seems to work as expected, thanks! (I'm away from my usual machine for the week and having an issue where can_get_termresponse() is false and preventing the requests from being made at all, but that seems to just be something up with the build environment on this laptop unrelated to the patch)

closing then.


End Ores are not breakable by player

is there a config for this mod anywhere? i can't seem to find one generated. for some reason the Ores from this mod won't let people mine them in the end.
The nether version works fine but we did have this issue before
Minecraft 1.19.2
Forge 43.1.2
BEO - 1.19.2 3.2.0
If you need anymore info let me know
I do not have any mods that change range of block or ore breaking. I don't have any recipe changes or anything

Thanks yes updated data generation for the tags to identify mineable blocks didn't properly run.  Updated in newest 3.2.1.


Update X.txt

Added Slice, Pepsi, Appo, Z initial starting companies

Looks good! Dont forget to follow https://twitter.com/NextBigThingBot


Call super in relevant_file? for InternalAffairs cops

This overwritten relevant_file? methods are preventing Exclude from working for these cops, since the behaviour is defined in the parent class RuboCop::Cop::Base.
You can verify this bug by applying the following patch and running bundle exec rubocop:
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 8c0c585df..27293b8ff 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -10,6 +10,10 @@
 InternalAffairs/NodeDestructuring:
   Enabled: false

+InternalAffairs/CopDescription:
+  Exclude:
+    - 'lib/rubocop/cop/internal_affairs/cop_description.rb'
+
 # Offense count: 55
 # Configuration parameters: CountComments, CountAsOne.
 Metrics/ClassLength:
diff --git a/lib/rubocop/cop/internal_affairs/cop_description.rb b/lib/rubocop/cop/internal_affairs/cop_description.rb
index d5097d4d3..bf1814d90 100644
--- a/lib/rubocop/cop/internal_affairs/cop_description.rb
+++ b/lib/rubocop/cop/internal_affairs/cop_description.rb
@@ -3,6 +3,7 @@
 module RuboCop
   module Cop
     module InternalAffairs
+      #
       # Enforces the cop description to start with a word such as verb.
       #
       # @example

You'll notice that on my branch it's green, whilst on master there is an offense which should have been ignored.
Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[ ] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

I don't believe this is needed since it only affects internal affairs cops.

Thanks!

Thanks for the review @koic :slightly_smiling_face:
@splattael, yeah that all sounds good!

I also wonder if we should move the configuration for the InternalAffairs department from .rubocop.yml to internal_affairs.yml config

I think that would be nice. There are a few cops that either only apply to tests or library code (or something else) but currently they run through the whole codebase anyways, even here.

https://gitlab.com/gitlab-org/ruby/gems/gitlab-styles/-/merge_requests/238/diffs#779d8015085a503ca370502f8d28b7dd367027fa_98_97 to demonstrate how Include could work.


Rename some modules

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (305bb5f) 100.00% compared to head (c25e839) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #188   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        12    +1
  Lines          880       884    +4
  Branches       187       187
=========================================
+ Hits           880       884    +4

Impacted Files
Coverage Δ

src/coola/__init__.py
100.00% <ø> (ø)

src/coola/numpy_.py
100.00% <ø> (ø)

src/coola/pandas_.py
100.00% <ø> (ø)

src/coola/polars_.py
100.00% <ø> (ø)

src/coola/torch_.py
100.00% <ø> (ø)

src/coola/xarray_.py
100.00% <ø> (ø)

src/coola/utils/__init__.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


need help for CSPs

Hi Andreas,
first, your repository is amazing.
I try to allow bootstrap from cdn.jsdelivr.net, unfortunately without success.
Could you please help me to allow these two files: file1, file2.
Thanks.
Best regards
Vinko

Sorry got it done myself.

Don't worry - thanks for the praise anyway!


ffmpeg443: error while loading shared libraries: libmvec.so.1: cannot open shared object file: No such file or directory

ffmpeg443: error while loading shared libraries: libmvec.so.1: cannot open shared object file: No such file or directory

http://events.jianshu.io/p/825dc205227d

可能需要升级glibc

What distribution are you using?
As per the Readme, the minimum glibc requirements are:

linux64 (x86_64 Linux, glibc>=2.23, linux>=4.4)
linuxarm64 (arm64 (aarch64) Linux, glibc>=2.27, linux>=4.15)


Create a nice view for newsletter archives and signup

Describe the solution you'd like
Currently, the newsletter is displayed as a basic HTML list on the homepage. We should have a separate page (embark.dev/newsletter) that shows recent newsletters in a nice way, and allows users to sign up. (this is currently done through the basic mailchimp page)

This issue has been resolved with PR #69 🤓

This issue has been resolved with PR #69 🤓


How to get component instances?

To get a component instance, you must access it by a method, hook, or computed property by using this.

I can set the main Moon instance's data by app.set('someData', 1) in the console, but how can I set the component's data in the console?

Well Moon has no way of knowing which component instance you are referencing. For each component in the DOM, a new instance is created.
You can do something like:
window.component = undefined;

Moon.component("example", {
  template: "
Example
",
  hooks: {
    mounted: function() {
      component = this;
    }
  }
});

After the component is initialized, a reference will be available through the console (component). Keep in mind this will reference to one component instance, as each component in the DOM has a corresponding instance.

Mybe assigning a reference ID to the child component is a good solution.
https://vuejs.org/v2/guide/components.html#Child-Component-Refs

  <example ref="exp1"></example>
  <example ref="exp2"></example>
  <example ref="exp3"></example>

then reference component like app.$refs.exp1


Command sequence

This PR:

Introduces two new events for command substitutions: CommandSplit (one -> many) and CommandTransformed (one -> one).
Deprecates the CommandRouted event and migrates to new quantity-specific events.
Introduces CommandSequence and two specific sub-types corresponding to one->many (Split) and one->one (Transform) transformations.
Migrates ProcessManager to using CommandSequencees instead of CommandRouter.

Spine version advances to 0.10.53-SNAPSHOT.

@armiol, PTAL.


primaries_test.dart:13-18: when all primary colores are...

The puzzle 24-579eeefa from #24 has to be resolved:
https://github.com/dartoos-dev/eo_color/blob/fa61fc3d1fb4b410ee7349bc77abc14dae7b7ddc/test/material/primaries_test.dart#L13-L18
The puzzle was created by @rafamizes on 17-May-21.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 24-579eeefa has disappeared from the source code, that's why I closed this issue.


Failed to publish valid song because of different type of Spotify link

@caller: api/callback.go:158
@error: invalid user input for Spotify URI
@input: https://spotify.link/8qo05dnCrDb
@level: error

I need to update this. I didn't expect them to update this

So first of all, lol at the song they tried to queue up. The problem now is that the ID is not what I want. It's something opaque. The actual song ID is 0RM0BeXRRIz1LExEl83GhA, which is not derivable from the URL. I'll have to look into this

Sigh.. https://community.spotify.com/t5/Spotify-for-Developers/How-to-see-through-shortened-https-spotify-link-links/m-p/5521244 looks like this is just not going to work

Just tested this out with my own stream and it worked. We're good now. Whew.


Replace obsolete integration example with Angular 2 page

This PR will require some changes (at least to paths in Gulp tasks) after https://github.com/vaadin/vaadin-core-elements/pull/42 is merged.
Creating the pull request now in order to get review comments from @magi42 as soon as possible.

This change is

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Closed with https://github.com/vaadin/vaadin-core-elements/commit/f35b9e1f978c62e8cb5ef317cda97d917b0fe12e


add check about the file size limit

Signed-off-by: Batuhan Apaydın<EMAIL_ADDRESS>PTAL @itaysk @knqyf263

The limit size in Rekor is configurable. I don't think we want to check it on our end. We use the official Rekor client. What if adding this check in the library? All tools using this library will benefit from that.
https://github.com/aquasecurity/trivy-plugin-attest/blob/69bc1b773e657abbd0b33511bedb802c04796b92/main.go#L72


fix kmesh http parse header bug

What type of PR is this?
/kind bug

What this PR does / why we need it:
Fixed an issue with Kmesh failing to parse HTTP headers. When a field in the HTTP header has an empty value, Kmesh would fail to parse it, leading to routing issues.
Which issue(s) this PR fixes:
Fixes #https://github.com/kmesh-net/kmesh/issues/186
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/lgtm

/lgtm

/lgtm
/approve


Bug:  Load balancers stuck in "Initializing" state

Since upgrade to 0.56.1 we are noticing that some of our load balancers are staying stuck in the "initializing" state.   It seems that the they are functioning, but just show as yellow in the UI.

Here is the log from the LB
1/29/2016 9:56:52 AMINFO: Downloading agent http://rancherdev.ezesoft.net:8080/v1/configcontent/configscripts
1/29/2016 9:56:52 AMINFO: Updating configscripts
1/29/2016 9:56:52 AMINFO: Downloading http://rancherdev.ezesoft.net:8080/v1//configcontent//configscripts current=
1/29/2016 9:56:52 AMINFO: Running /var/lib/cattle/download/configscripts/configscripts-1-f0f3fb2e1110b5ada7c441705981f93a480313a324294321cff467f0c3e12319/apply.sh
1/29/2016 9:56:52 AMINFO: Sending configscripts applied 1-f0f3fb2e1110b5ada7c441705981f93a480313a324294321cff467f0c3e12319
1/29/2016 9:56:52 AMINFO: Updating agent-instance-startup
1/29/2016 9:56:52 AMINFO: Downloading http://rancherdev.ezesoft.net:8080/v1//configcontent//agent-instance-startup current=
1/29/2016 9:56:53 AMINFO: Running /var/lib/cattle/download/agent-instance-startup/agent-instance-startup-1-13b77b6b2958f4f7ddf0a3f929209bd3b041ba6474835abd5b4e8cb8ed26e829/apply.sh
1/29/2016 9:56:53 AMINFO: Updating services
1/29/2016 9:56:53 AMINFO: Downloading http://rancherdev.ezesoft.net:8080/v1//configcontent//services current=
1/29/2016 9:56:53 AMINFO: Running /var/lib/cattle/download/services/services-1-061405f3edd960bfdfe1cfb8447be40eab5b4b608731608e224cc51c5dc30b91/apply.sh
1/29/2016 9:56:53 AMINFO: HOME -> ./
1/29/2016 9:56:53 AMINFO: HOME -> ./services
1/29/2016 9:56:53 AMINFO: Sending services applied 1-061405f3edd960bfdfe1cfb8447be40eab5b4b608731608e224cc51c5dc30b91
1/29/2016 9:56:53 AMINFO: Getting agent-instance-scripts
1/29/2016 9:56:53 AMINFO: Updating agent-instance-scripts
1/29/2016 9:56:53 AMINFO: Downloading http://rancherdev.ezesoft.net:8080/v1//configcontent//agent-instance-scripts current=
1/29/2016 9:56:53 AMINFO: Running /var/lib/cattle/download/agent-instance-scripts/agent-instance-scripts-1-4b5124bd74cd423f98d57550b481ec77ec3a7135c6a650886ab95c043305d642/apply.sh
1/29/2016 9:56:53 AMINFO: HOME -> ./
1/29/2016 9:56:53 AMINFO: HOME -> ./events/
1/29/2016 9:56:53 AMINFO: HOME -> ./events/config.update
1/29/2016 9:56:53 AMINFO: HOME -> ./events/ping
1/29/2016 9:56:53 AMINFO: Sending agent-instance-scripts applied 1-4b5124bd74cd423f98d57550b481ec77ec3a7135c6a650886ab95c043305d642
1/29/2016 9:56:53 AMINFO: Getting monit
1/29/2016 9:56:53 AMINFO: Updating monit
1/29/2016 9:56:53 AMINFO: Downloading http://rancherdev.ezesoft.net:8080/v1//configcontent//monit current=
1/29/2016 9:56:53 AMINFO: Running /var/lib/cattle/download/monit/monit-1-4bf21eaa37373e2770bfb922848a07f801e32826d5a1048c98e5c2b8e7ff2dcc/apply.sh
1/29/2016 9:56:53 AMINFO: ROOT -> ./
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/logrotate.d/
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/logrotate.d/rancher-logs
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/monit/
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/monit/conf.d/
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/monit/conf.d/logrotate
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/monit/monitrc
1/29/2016 9:56:53 AMINFO: Sending monit applied 1-4bf21eaa37373e2770bfb922848a07f801e32826d5a1048c98e5c2b8e7ff2dcc
1/29/2016 9:56:53 AMINFO: Getting haproxy
1/29/2016 9:56:53 AMINFO: Updating haproxy
1/29/2016 9:56:53 AMINFO: Downloading http://rancherdev.ezesoft.net:8080/v1//configcontent//haproxy current=
1/29/2016 9:56:53 AMINFO: Running /var/lib/cattle/download/haproxy/haproxy-3-3e0d61c5cd2851e80416ea7bdd7aa59b417a3f11fa7852d0f0f91a26a6cdadb9/apply.sh
1/29/2016 9:56:53 AMINFO: ROOT -> ./
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/haproxy/
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/haproxy/certs/
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/haproxy/certs/certs.pem
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/haproxy/certs/default.pem
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/haproxy/haproxy.cfg
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/default/
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/default/haproxy
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/monit/
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/monit/conf.d/
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/monit/conf.d/haproxy
1/29/2016 9:56:53 AMINFO: Sending haproxy applied 3-3e0d61c5cd2851e80416ea7bdd7aa59b417a3f11fa7852d0f0f91a26a6cdadb9
1/29/2016 9:56:53 AMINFO: HOME -> ./
1/29/2016 9:56:53 AMINFO: HOME -> ./etc/
1/29/2016 9:56:53 AMINFO: HOME -> ./etc/cattle/
1/29/2016 9:56:53 AMINFO: HOME -> ./etc/cattle/startup-env
1/29/2016 9:56:53 AMINFO: ROOT -> ./
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/init.d/
1/29/2016 9:56:53 AMINFO: ROOT -> ./etc/init.d/agent-instance-startup
1/29/2016 9:56:53 AMINFO: Sending agent-instance-startup applied 1-13b77b6b2958f4f7ddf0a3f929209bd3b041ba6474835abd5b4e8cb8ed26e829
1/29/2016 9:56:53 AMmonit: generated unique Monit id 0fdc20a7309dc47ced770790155f9996 and stored to '/var/lib/monit/id'
1/29/2016 9:56:53 AMStarting monit daemon with http interface at [localhost:2812]

It sounds like your issue is around host connectivity. This was a duplicate issue: https://github.com/rancher/rancher/issues/3413
Everyone in the issue had gotten it resolved once their cross host communication was fixed.
I saw you comment on the other ipsec issues, can you try the recommended fixes?

@wundram If you are still having issues, please re-open with more details on if your host connectivity is working.

@deniseschannon I am experiencing this issue on Rancher v1.0.1. At first it was indeed host connectivity (had aws security groups for a box misconfigured so the IPSec network didn't allow traffic). After I resolved that, the LB is working correctly but still says Initializing on the interface. I've tried restarting the LB. All of the services it is proxying for are healthy.

@deniseschannon having this issue with v1.1.0-dev2-rc4. all hosts can reach each other and all connected services are healthy

@defunctzombie @mattapperson Have you both confirmed that IPsec is working?
You would need to exec into the network agent of 1 host and ping the network agent IP (i.e. 10.42.x.x) on another host.
Typically a load balancer stuck in initializing is due to health checks not working, which is due to IPsec not working.

@deniseschannon my issue was fixed after I realized 2 of my network agent containers never updated and docker versions were not the same on all servers. After forcing upgrades they all worked

Is there a way to see some diagnostics about which particular health check is failing? Seems strange that all traffic on the load balancer works but it itself is not initialized.

Same problem with LBs. Also if the LB ist running on the same host as rancher server (tested with latest and dev build).
Following here...

After reinstall my hosts (3 hosts, one additional with Rancher Server) with latest images the LB at the host with RancherServer stucks with "Initializing" state. Both other hosts work fine.

Same issue here. I only have one host even - worked before, but i had to remake the load balancer due to certificates, now it stucks on initialize

There are multiple comments in this zombie thread. If you're facing issues with RancherHA check here for a comprehensive troubleshooting guide.
If after following that, open a new issue. Make sure the environment configuration is in place before launching, after making a change, delete containers and relaunch.

@aemneina i am not using rancherHA at all, i cannot see how this is related. I have 2 LB, one for a TCP connection - works. The other, i had before and recreating now, stucked in initialize

@EugenMayer sorry, misread the issue completely.


Uses assimp for loading bvh animations

Signed-off-by: Onur Berk Tore<EMAIL_ADDRESS>
🦟 Bug fix
Fixes #393
Summary
Uses assimp for loading bvh animations.
Checklist

[X] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

From what I understand for all loaders we introduced an environment variable to denote whether to use assimp or not, should we adopt the same approach here rather than always overriding the previous one?

Can this be closed?


Integration Test - Release - 2021/09/15 12:21:20

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign PRMergerTest2

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#reassign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#please-close


update to 1.3.1

Change-Id: Iea614ec9783055e5ae62c61ca9f9ebd3862b101a

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


Align setup steps

In automated steps we assume installation in the current working directory. In manual steps we suggest %USERPROFILE% dir. we should align these instructions to be consistent.
Based on feedback from @alexandair

Waiting for release


docs: in english

Many docs are written in Japanese or Chinese.
I understand that the maintainer feels comfortable with Japanese as it's his mother-tongue language.
But open source is good to be beneficial to as many people as possible.
I don't know either Japanese or Chinese, unable to translate.
(I can use a translator, but some parts become weird, and I cannot have confidence if it's really right or not.)
Would you please write docs in English by default?
Thanks a lot.

https://github.com/darkstorm2150/sd-scripts#links-to-usage-documentation
This is a non problem.

@ScionoicS Thank you. But far from ideal.

It's ChatGPT-translated. Not guaranteed to be accurate. Even if it's currently tolerable quality, in the future, AI may make a critical mistake.
It's forked, and not in sync. For example, it doesn't contain SDXL docs.
Not conventional way. People just don't even know the existence of the repo. It's not an expected way. Just hosting Eng docs in the original repo here is the obvious way to go.

+1! Having all the docs in English would be awesome. Congrats on the repo either way!


[Windows] Add Microsoft Reporting Services Projects support

Description
Add Microsoft Reporting Services to Windows 2022 image
Related issue:
https://github.com/actions/virtual-environments/issues/5340
Check list

[x] Related issue / work item is attached
[x] Tests are written (if applicable)
[x] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

Hi. I tried implementing this myself in a fork, but simply adding the vsix in the toolset list will not work - the marketplace page doesn't contain necessary details for the installation PowerShell script to work (like filename).

Hi. I tried implementing this myself in a fork, but simply adding the vsix in the toolset list will not work - the marketplace page doesn't contain necessary details for the installation PowerShell script to work (like filename). I think Install-VsixExtension and Get-VsixExtenstionFromMarketplace functions will need to be adjusted for that

We will check how to fix it.

Hi @al-cheb
Are they any news about this?

Hi @al-cheb Are they any news about this?

Currently, no updates.


[Question] Weight init for lm_head

Hi t5x community,
I am trying to align the HF transformers implementation of T5 with MTF and T5X, such that it can be relied upon for pretraining.
Could you possibly confirm whether what I've found here regarding HF's pretraining weight initialization, is a difference compared to the official T5X or MTF implementations?
https://github.com/huggingface/transformers/pull/26441
HF initialize their (untied) lm_head with std=1:
https://github.com/huggingface/transformers/blob/3b7675b2b844b02d4821b827871a21ad16dd446c/src/transformers/models/t5/modeling_t5.py#L831
I suspect this is a mistake. I think they are approaching its initialization as though the lm_head were to be tied to the embedding layer (though in this code path, it is not).
Perhaps they could compensate for its increased variance by scaling the logits down before giving them to the lm_head:
https://github.com/huggingface/transformers/blob/3b7675b2b844b02d4821b827871a21ad16dd446c/src/transformers/models/t5/modeling_t5.py#L1769
…but they are not applying this compensation in the untied case.
Consequently, I see that the lm_head initially outputs huge activations with variance ~= hidden_dim, and results in initial cross-entropy loss of ~110.
I see that nanoT5 copied the same convention, and empirically exhibits the same behaviour: huge initial loss.
https://github.com/PiotrNawrot/nanoT5/issues/25
I think this will have had consequences for the paper they wrote around pretraining on HF code.
As for the fix…
I think I found evidence in t5x that the lm_head initializiation needs to be changed to std=hidden_dim**-.5:
https://github.com/huggingface/transformers/pull/26441#issuecomment-1743477649
though there is a competing theory (based on MTF) that lm_head ought to be initialized to std=0.05:
https://github.com/huggingface/transformers/pull/26441#issuecomment-1741840284
I do note though that 0.05 is of a very similar magnitude to hidden_dim**-.5, so perhaps it could work similarly well:
512**-.5
0.044
768**-.5
0.036

Does this sound about right? Should an untied lm_head be initialized with std=hidden_dim**-.5 normally-distributed noise?
Bonus question: are any of HF's other layers initialized incorrectly?
https://github.com/huggingface/transformers/blob/3b7675b2b844b02d4821b827871a21ad16dd446c/src/transformers/models/t5/modeling_t5.py#L818
Thanks!

Thanks @Birch-san for opening this issue. I’m an interested observer who is anxious to hear the response. This would mean a lot to those of us who want to pre-train T5 the “correct” way.


[entropy_src/rtl] Add boot phase done state

The main state machine will now hang in a boot phase done state instead
of moving on to the startup state.
This now requires software intervention after the boot phase runs.
Fixes #9853.
Signed-off-by: Mark Branstad<EMAIL_ADDRESS>

Hi @mwbranstad, Nice work closing this off! This is a big change, but I'm glad it is in. However it does have some ripple effects for SW and DV. I still need to go through the scoreboard, and all the DV stuff and close that off. My one beef is with the THRESHOLD_SCOPE stuff. I'm not sure what it is for, and it seems that you are adding a lot of unused code for it. I don't see how it will be used. If it really just applies to the threshold's, that could be a problem when you pair it with the SHA conditioning. I don't think we should separate those two, but there's nothing in the FSM documentation about the effects of THRESHOLD_SCOPE. So in summary I'd recommend saving that for a future PR until all the ramifications are worked out. (I can help you disentangle that all into a separate commit/branch if you like). I'll also take a look at the SW and DV stuff now. Thanks again for finishing this!

The THRESHOLD_SCOPE is the name mentioned in issue #9759, so I grabbed that name as the switch field for that issue. I replaced the now dead field of BOOT_BYPASS_DISABLE with this field. The idea was do a small bit of prep work before implementing #9759 and debug all software issue with this PR. I was hesitant on this change but decided to go with it. However, if it is deemed to be cleaner and clearer to leave the old now deprecated field, I am fine with that, and would be happy to revert the code to that state. Please state preference.

Oh! Thanks for starting that here.  That is really helpful.  While I'm cleaning up the CI, I can move that to another branch, but yeah, that is great.


Send diffs for presence

WIP

Main functionality is working. Two more things:

[ ] I do want to build a demo that logs everything so I can check that what I think is happening is actually happening
[ ] Clean up old in-memory impl (might be a separate PR)


contourf option for 2d plots

General

pyfar version: 0.4.0

Description
Currently, the 2d plot functions work with matplotlib's pcolormesh in the background. For some applications contourf might be the better option. Let's elaborate, if it makes sense to add parameter for that to the plot functions (e.g., backend=pcolormesh). A basis for the discussion could be this example, which illustrates the possible implementation of a levels parameter.

Issue #290 might be relevant with respect to the compatibility of the underlying grids.

After #290 is closed, the grids should be compatible and I would be in favor of adding this option. The only tricky thing might be the handling in interaction.


PMID:29424342

Hi Midori,
requesting
RNA mislocalized to cytoplasm during vegetative growth
for PMID:29424342
cheers

included a grouping term
mislocalized RNA during vegetative growth FYPO:0006861
RNA mislocalized to cytoplasm during vegetative growth FYPO:0006862
edit file: cf889d8891b925a84fa38cd3db6af4e243d91bfe
release: 8cd67ce848ef787dc7c827b8d6d3656486dbba3a


feat(view): Option to show/hide completed tasks

Closes #52
TODO:

[x] Update migration

I think for this, having the hide completed chip add a filter to the view would be a better option, since the user would expect completed cards to always not show, regardless of which grouping option is set.

I think for this, having the hide completed chip add a filter to the view would be a better option, since the user would expect completed cards to always not show, regardless of which grouping option is set.

Do you mean that we don't need a toggle for 'hide completed,' but we should add it to the filter chip instead?

I think for this, having the hide completed chip add a filter to the view would be a better option, since the user would expect completed cards to always not show, regardless of which grouping option is set.

Do you mean that we don't need a toggle for 'hide completed,' but we should add it to the filter chip instead?

No we need a toggle for it, but the toggle should affect the cards data not just the list data. with the current solution, if I group cards by assignee how will we know which cards are completed? Since the groups don't have the isCompleted flag. Don't you think it would be better to have it as a param for the cardsService findAll function in the backend?

Don't you think it would be better to have it as a param for the cardsService findAll function in the backend?

Since the isCompleted flag is currently embedded in the ListStage table,
If we add it as a parameter in the CardsService, how should we manage it?
Should our concern primarily be within the ListStage context?

I'd like to discuss our approach to handling this function.
Currently, we use ListGroupSModule for this purpose. However, I'm considering whether it would be more effective to manage this in a ListSModule.
What do you think about this approach?
For example, we can pass a group as a parameter then it will be processed further in the ListGroupModule.

Don't you think it would be better to have it as a param for the cardsService findAll function in the backend?

I've just understood your point, and I've implemented it in this commit 6ce31cf
Thank you

Hi, although users can include completed tasks into the view, I think we need to differentiate them more clearly.
Do you have any suggestions on how we can make it easier to distinguish completed tasks from others?

Hi, although users can include completed tasks into the view, I think we need to differentiate them more clearly. Do you have any suggestions on how we can make it easier to distinguish completed tasks from others?

I agree on this point, can you open a new issue for this?

Can you open a new issue for this?

I will create it now
Additionally, could you advise me on the criteria that should determine when to split a current issue instead of working on it as is? :)

Can you open a new issue for this?

I will create it now
Additionally, could you advise me on the criteria that should determine when to split a current issue instead of working on it as is? :)

Basically if the issue is not directly related to the current working issue, we split it. Usually PRs or issues should only tackle 1 topic only, there are exceptions of course for larger features but this is generally what we do 😄


No documentation on how to create functions on Serverless Sql

The page for CREATE FUNCTION in Synapse , https://docs.microsoft.com/en-us/sql/t-sql/statements/create-function-sql-data-warehouse?view=aps-pdw-2016-au7 there is a note that the syntax does not work on Serverless SQL. It in unclear which syntax is unsupported, and does not provide a link to documentation on what is supported on Serverless Sql.

@gfree76 -- Geoffrey, thank you for your feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@LitKnd -- Kendra, please look into this issue.

Hi @gfree76 ,
Thank you for getting in touch.
I believe that the intended meaning is that the scalar function Transact-SQL reference just above the note is not supported in serverless SQL pool.
In the T-SQL support section on the page for serverless SQL pools, it mentions that the "workload can be organized using familiar concepts" which include:

Views, stored procedures, inline table value functions

It does not mention scalar functions.
However, I can see how this is unclear to you and other readers. I'm going to reach out to other team members to confirm if I am interpreting this correctly, and if so to check if we can update this article to be more clear.
Thanks,
Kendra from the Database Docs team

Hey Kendra,
I'm pretty sure you're correct, from playing around with the functionality on Serverless. But yes, it would be nice to have it more explicit somewhere.
Thanks for taking a look!
Geoff

From: Kendra Little @.>
Sent: Tuesday, March 8, 2022 1:48 PM
To: MicrosoftDocs/sql-docs @.>
Cc: Geoffrey Freeman @.>; Mention @.>
Subject: Re: [MicrosoftDocs/sql-docs] No documentation on how to create functions on Serverless Sql (Issue #7372)
Hi @gfree76https://github.com/gfree76 ,
Thank you for getting in touch.
I believe that the intended meaning is that the scalar function Transact-SQL reference just above the note is not supported in serverless SQL pool.
In the T-SQL supporthttps://docs.microsoft.com/en-us/azure/synapse-analytics/sql/on-demand-workspace-overview#t-sql-support section on the page for serverless SQL pools, it mentions that the "workload can be organized using familiar concepts" which include:
Views, stored procedures, inline table value functions
It does not mention scalar functions.
However, I can see how this is unclear to you and other readers. I'm going to reach out to other team members to confirm if I am interpreting this correctly, and if so to check if we can update this article to be more clear.
Thanks,
Kendra from the Database Docs team
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/issues/7372#issuecomment-1062245140, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALVX6G2V7DEWDQNI4IOJOD3U67DJRANCNFSM5QHNPTZQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @gfree76 ,
Changes have now been merged to clarify this: the note will now read, "Scalar functions are not available in the serverless SQL pools."
Some further clarifications have been added to the article, such as "Inline table-value functions are available in the serverless SQL pools, but in preview in the dedicated SQL pools."
These changes should go live in our next publish cycle, so you should be able to see them within the current business day. Since this change has merged, I'm going to go ahead and close out this issue.
Thanks for bringing this to our attention and for making the docs better!
Kendra from the Database Docs team
#please-close


samples: net: socket: fix twister building error

Fix the following twister error for building:
west twister -p qemu_x86 -s samples/net/sockets/echo_client/sample .net.sockets.echo_client.userspace
Too many thread objects (17)
Increase CONFIG_MAX_THREAD_BYTES to 3
ninja: build stopped: subcommand failed.

The change is good. There is already a similar fix in #71966 which is already approved.

okay, let's decline this one.


The host IP always appears to be <IP_ADDRESS>

In every event notification, the host IP always appears to be [<IP_ADDRESS>]
For example:

Is this a configuration issue?

Hi @TeletKeith,
I did some tests here with Zabbix 6.0 and the IP address appears according to the IP address configured on the host interface in Zabbix.
When configuring the media type, the parameter that defines this value is "host_ip". You can confirm that its value is set to the default value "{HOST.IP}".
If everything appears to be OK, could you share some details so I can try to support you?

What version of Zabbix are you using;
How is the interface configuration of this host (dev-dra1) in Zabbix;
Which version of the media type did you import from this repository (v5.0, v6.0, v6.4 or v7.0).

Thanks !

OK, I understand the situation better now, thanks.


Install fails with cert_management: vault

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT

Environment:

Cloud provider or hardware configuration:
Bare metal
OS (printf "$(uname -srm)\n$(cat /etc/os-release)\n"):
Linux 4.4.0-116-generic x86_64
NAME="Ubuntu"
VERSION="16.04.4 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.4 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
Version of Ansible (ansible --version):
ansible 2.5.0
config file = /kubespray/ansible.cfg
configured module search path = [u'/kubespray/library']
ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
executable location = /usr/local/bin/ansible
python version = 2.7.12 (default, Dec  4 2017, 14:50:18) [GCC 5.4.0 20160609]

Kubespray version (commit) (git rev-parse --short HEAD):
270d21f5
Network plugin used:
flannel
Copy of your inventory file:
[all]
node1 	 ansible_host=<IP_ADDRESS> ip=<IP_ADDRESS>
node2 	 ansible_host=<IP_ADDRESS> ip=<IP_ADDRESS>
node3 	 ansible_host=<IP_ADDRESS> ip=<IP_ADDRESS>
[kube-master]
node1
node2
[kube-node]
node1
node2
node3
[etcd]
node1
node2
node3
[k8s-cluster:children]
kube-node
kube-master
[calico-rr]
[vault]
node1
node2
node3
Command used to invoke ansible:
ansible-playbook -i inventory/mycluster/hosts.ini cluster.yml -u root --key-file ~/key
Output of ansible run:

TASK [vault : check_etcd | Check if etcd is up and reachable] **********************************************************************************************************************************************************************************
Thursday 29 March 2018  14:20:31 +0000 (0:00:01.702)       0:17:00.087 ********
fatal: [node1]: FAILED! => {"msg": "The conditional check 'vault_etcd_health_check.status == 200 or vault_etcd_health_check.status == 401' failed. The error was: error while evaluating conditional (vault_etcd_health_check.status == 200 or vault_etcd_health_check.status == 401): 'dict object' has no attribute 'status'"}
Anything else do we need to know:

install fail with cert_management: vault
even with much older commits, error is same.

I'm having same issue
What I can't understand is why vault status is checked when previous tasks are vault : stop vault-temp container and vault : check_vault | Attempt to pull local https Vault health
fatal: [node1]: FAILED! => {"changed": false, "content": "", "msg": "Status code was -1 and not [200, 429, 500, 501, 503]: Request failed: <urlopen error [Errno 111] Connection refused>", "redirected": false, "status": -1, "url": "https://localhost:8200/v1/sys/health"}
...ignoring

Seems related to https://github.com/kubernetes-incubator/kubespray/issues/2712


Can't run admin_config: build broken?

Hi, I was following the instructions in the readme and got blocked at the admin_config step.
gcastle@sax-admin:~/saxml$ git log -1
commit 7122f1e502fa5c6b012fa2dfa9ed4fa63c939f81 (HEAD -> main, origin/main, origin/HEAD)
Author: Daniel Freeman<EMAIL_ADDRESS>Date:   Mon Aug 14 16:16:37 2023 -0700

    adds support for persistent compilation cache

    PiperOrigin-RevId: 556942452
    Change-Id: I7342061514e57fdea41b2bcb1eb82cfecd0389c3

gcastle@sax-admin:~/saxml$ bazel run saxml/bin:admin_config --   --sax_cell=/sax/test   --sax_root=gs://${GSBUCKET}/sax-root   --fs_root=gs://${GSBUCKET}/sax-fs-root   --alsologtostderr
ERROR: /home/gcastle_google_com/saxml/saxml/protobuf/BUILD:387:14: //saxml/protobuf:multimodal_proto: no such attribute 'use_java_stubby_library' in 'proto_library' rule
ERROR: /home/gcastle_google_com/saxml/saxml/common/BUILD:136:11: Target '//saxml/protobuf:admin_go_proto_grpc' contains an error and its package is in error and referenced by '//saxml/common:config'
ERROR: Analysis of target '//saxml/bin:admin_config' failed; build aborted:
INFO: Elapsed time: 0.185s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
ERROR: Build failed. Not running target

Hi Greg, Could you try building with new HEAD (72697a00e09ecf117088943aaa9473ac7a6ccd98)? It should be fixed.


project-management-api - in python doc + implement sphynx

Docstring and Sphinx documentation have been implemented
Sphinx available at: https://project-management-api.web.app

Now you have to write...


Image metadata not making it to  V2 or saved to metadata files

Need to make sure image metadata makes to the render system and stored files.

@bjschwa2 is this resolved?

I have validated that correct metadata is saved in the saveMCamFrame. I
believe this could segfault if you don't have write permission to the
directory, I will work on debugging this today. The V2 part is a separate
issue. I have not been aware of this issue.
On May 4, 2017 7:50 AM, "Cameron Givler"<EMAIL_ADDRESS>wrote:

@bjschwa2 https://github.com/bjschwa2 is this resolved?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Aqueti/mantis_examples/issues/4#issuecomment-299163390,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANcXE3JbtpWtvCO5xOD0nY1FFL_j_5ogks5r2btwgaJpZM4NOe9b
.

metadata is definitely reaching V2 because it is used to generate the keys to store images in the datamanager. If we were not receiving the metadata, then we would see a lot of errors that keys already exists, because multiple keys would be generated from the default uninitialized metadata values.
If you mean that you are expecting to see JSON files for the metadata of images in the folders with the HContainers, that's just not a thing that the storage manager does because we would have a huge number of files in each directory. The metadata is in the images inside the HContainers and can be accessed through the API.

OK, it sounds like we can close this. Let me know if I need to reopen


Added Quora Bug Bounty and Removed Broken Leetfiles Bounty

Added Quora Bug Bounty present on Hackerone

Removed Leetfiles Bug Bounty as it not available now

Thanks 👍


JavaScript Callbacks?

Dear @winsoft666 , I kindly ask you if it would be possible to implement JS Callbacks as described here:
https://bitbucket.org/chromiumembedded/cef/wiki/JavaScriptIntegration

yes, QCefWidget has implemented JS callback like this wiki.
-------- 原始信息 --------
发件人： Shelley Lake @.>
日期: 2021/3/18 07:03 (GMT+08:00)
收件人： winsoft666/QCefWidget @.>
抄送： winsoft666 @.>, Mention @.>
主题： [winsoft666/QCefWidget] JavaScript Callbacks? (#4)
Dear @winsoft666https://github.com/winsoft666 , I kindly ask you if it would be possible to implement JS Callbacks as described here:
https://bitbucket.org/chromiumembedded/cef/wiki/JavaScriptIntegration
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/winsoft666/QCefWidget/issues/4, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALFCWZ2OPBDPJRIPGZLDZELTEEYN3ANCNFSM4ZLQD2VQ.

If I see correctly, you've implemented "ExecuteJavaScript" which can call a Javascript function from C++...
...but is there a way to get back a value from Javascript to C++?
As stated by the documentation: The ExecuteJavaScript() function can be used to interact with functions and variables in the frame's JS context. In order to return values from JS to the client application consider using Window Binding or Extensions.
Do you have a way, and maybe an example how to trigger a JS function and get its value back to c++?
Many thank.

"QCefWidget\test\QCefWidgetTest" is a full sample, include C++ / JavaScript call each other.
In CefWnd.cpp search follow key string:
onCefQueryRequest
triggerEvent

triggerEvent is an async function, if you want to get response from JavaScript, you can wrapper custom protocol by using triggerEvent  and invokeMethodNotify.

triggerEvent : C++ call JS.
invokeMethodNotify: JS call C++.
cefQueryRequest: JS call C++, but it can send a response to C++.

Thank you very much.
I'll have a try!


Fixes #2235. Manages logical information in shady distribution more d…

…irectly by capturing it explicitly when needed and not whenever distribution is run.

LGTM


Numerology Calculator

Fixes Issue🛠
Closes #1587
Closes #
Description👨💻
Discover your core numerology numbers and insights into personality, life purpose, and future outcomes.
Type of Change📄

[ ] Bug fix (non-breaking change which fixes a bug)
[X] New feature (non-breaking change which adds functionality)
[ ] Style (non-breaking change which improves website style or formatting)
[ ] Documentation (non-breaking change which updates or adds documentation)
[ ] Responsiveness (non-breaking change which improves UI/UX on different screen sizes)

Checklist✅

[X] I am an Open Source contributor
[X] I have performed a self-review of my code
[X] My code follows the style guidelines of this project
[X] I have commented on my code, particularly in hard-to-understand areas

Screenshots/GIF📷

This PR is reviewed & can me merged.

@Rakesh9100 can you please review this


How to make consul command available to sudo?

I see that there is a task that appends the executable onto $PATH, but if I run sudu su and then try and run consul I get consul: command not found.
Might be a simple question, but is there a way to make the executable available to sudo without changing the consul user?
Thanks!

sudo su - consul ?

sorry, I guess I didn't explain very well. I mean, how can I run consul cli as root?


Use dynamic aggregation also for raster tiles

Context: [PROJECT] Deprecate raster overviews
In order to keep current performance when dropping the overviews feature, it's desirable to activate dynamic aggregation also for raster tiles.

Context: Dynamic Aggregations [WIP]
All the dynamic aggregation magic takes place in the Aggregation MapConfig Adapter that is initialized and added to de MapConfig adapters chain in the API router:
adapters = [
                new MapConfigNamedLayersAdapter(templateMaps, pgConnection),
                new MapConfigBufferSizeAdapter(),
                new SqlWrapMapConfigAdapter(),
                new DataviewsWidgetsAdapter(),
                new AnalysisMapConfigAdapter(analysisBackend),
                new VectorMapConfigAdapter(pgConnection),
                new AggregationMapConfigAdapter(pgConnection), // <<<====
                new TurboCartoAdapter()
            ];

This adapters getMapConfig function checks if the MapConfig should be adapted to use dynamic aggregation. If not, it returns the current adapted MapConfig without adding aggregation:
getMapConfig(user, requestMapConfig, params, context, callback) {
  ...
  if (!this._shouldAdapt(mapConfig, params)) {
      return callback(null, requestMapConfig);
  }
  ...
  this._adaptLayers(connection, mapConfig, requestMapConfig, context, callback);
}

The _shouldAdapt function checks if the param aggregation is true and if the mapConfig is aggregable
_shouldAdapt (mapConfig, params) {
    const { aggregation } = params;

    if (aggregation === 'false') {
        return false;
    }

    if (aggregation === 'true' || mapConfig.isAggregationMapConfig()) {
        return true;
    }

    return false;
}

The isAggregationMapConfig function is defined in the Aggregation Mapconfig model:
class AggregationMapConfig extends MapConfig {
  //...

  isAggregationMapConfig () {
      return this.isVectorOnlyMapConfig() || this.hasAnyLayerAggregation();
  }

  isAggregationLayer (index) {
      return this.isVectorOnlyMapConfig() || this.hasLayerAggregation(index);
  }

  //...
}

The function isVectorOnlyMapConfig is placed in Windshaft and checks that all the MapConfig layers are vector layers (isVectorLayer)
    MapConfig.prototype.isVectorLayer = function (index) {
    const layer = this.getLayer(index);
    const type =  getType(layer.type);
    const sql = this.getLayerOption(index, 'sql');
    const cartocss = this.getLayerOption(index, 'cartocss');
    const cartocssVersion = this.getLayerOption(index, 'cartocss_version');

    return type === 'mapnik' && typeof sql === 'string' && cartocss === undefined && cartocssVersion === undefined;
};

PR: https://github.com/CartoDB/Windshaft-cartodb/pull/1038


Colors changed

Thank you for your contribution to the KodaDot NFT gallery.
👇 Do a quick check before the merge.
PR type

[ ] Bugfix
[ ] Feature
[x] Refactoring

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted screenshot of demonstrated change in this PR

Optional

[ ] I've tested PR on mobile and everything works
[ ] I found edge cases

What's new?

[x] PR closes #1034
[x] First release, if you see any issues or something doesn't seem right, do let me know.

Had issue bounty label ?

[x] Fill up your KSM address:
Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI, a screenshot for others, is best to understand changes.

amazing, I guess most of the stuff is there
payout sent https://kusama.subscan.io/extrinsic/0xb1b524113306e198e260df99d473846a576cb68f619e65ca7b95246c86741e14


cursorSmoothCaretAnimation seems to be always on even if I turn off

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

VS Code Version: Version: 1.75.0-insider (Universal) Commit: 1a908707b491de77cc8408ca6d5bf626cf435736
OS Version: 12.6（21G115）

Steps to Reproduce:

turn "editor.cursorSmoothCaretAnimation" off
type something...

https://user-images.githubusercontent.com/1955233/207800885-1cc387ba-ad45-4b03-8740-c70a26330279.mov

I'm seeing this as well, at a very quick glance I suspect the problematic line is ('off' evaluates as true?)
https://github.com/microsoft/vscode/blob/8b939ad54bcd614386e16ee0a84f858356ceb036/src/vs/editor/browser/viewParts/viewCursors/viewCursors.ts#L321

/duplicate of #169171

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


How to use TfRecordDataset   DatasetToTfRecord tf.io.tfRecordReader

tensorflow-java  0.4
spark 3.1
java 11
Hi :
Now I use tensorflow-java to read tfrecord  file ,but can not get the data, and our not have example for it ,the  TfRecordDataset   DatasetToTfRecord tf.io.tfRecordReader java class  have not same api like python ,could we give some example  for how to use them. thank

    import org.tensorflow.{Operand, Session,EagerSession}
    import org.tensorflow.op.Ops
    import org.tensorflow.op.data.TfRecordDataset
    import org.tensorflow.op.data.{DatasetToTfRecord, TfRecordDataset}
    val session = EagerSession.create
    val tf = Ops.create(session)
    val  scope = tf.scope()
//    val fileName  =tf.constant( "/Users/zhanghaining/Downloads/tfrecord-kk2-test/")
    val fileName = tf.constant("/Users/zhanghaining/Downloads/BigDL/spark/dl/src/test/resources/tf/mnist_train.tfrecord")
    val compress = tf.constant("")
    val bufferSize = tf.constant(0l)
    val recordDataSet = TfRecordDataset.create(scope,fileName,compress,bufferSize)

    val record = DatasetToTfRecord.create(scope, recordDataSet,fileName,compress)

    val reader =  tf.io.tfRecordReader()

    println(record.op().name() )
    println(record.op().`type`())
    println(recordDataSet.op().numOutputs() )
    println(recordDataSet.asOutput().dataType())

Hi @mullerhai ,
Is your goal to iterate through that dataset? If so, you need to create an iterator (e.g. by calling tf.data.makeIterator). Also in your example here, the DatasetToTfRecord is writing to the same file as the dataset you've loaded so I'm not sure what is the expected behavior here, you should try writing to a different file.
If you don't mind adding org.tensorflow:tensorflow-framework to your dependencies, we do have utilities to simplify the usage of dataset, take a look at this one. You can then iterate through the element of the dataset in eager mode like this :
    Dataset dataset = Dataset.tfRecordDataset(tf, "yourfile.tfrecord", "", 0L).batchSize(10);
    for (List<Operand<?>> components : dataset) {
         Operand<?> featureBatch = components.get(0);
         Operand<?> labelBatch = components.get(1);

         ... operate on the batches directly
    }

Eager mode tends to be slow though so if you can provide more details of what is your specific use cases, maybe we can give you better examples on how to do it.

    for (List<Operand<?>> components : dataset) {
         Operand<?> featureBatch = components.get(0);
         Operand<?> labelBatch = components.get(1);

         ... operate on the batches directly
    }

Great ,Thanks ,
but also I want to know how to convert Dataset to ByteNdArray ,or tfrecord to ByteNdArray,or  convert Dataset to  example
->org.tensorflow.example.example.{Example, SequenceExample}, Because of I need  like this code style
NdArrays.wrap(Shape.of(dimSizes: _*), DataBuffers.of(bytes, true, false))

to make tensor for  model train

Maybe you can do this via parseExampleDataset? There are also a bunch of utilities for parsing examples in the IO package, like this one.

Hi @mullerhai ,
Is your goal to iterate through that dataset? If so, you need to create an iterator (e.g. by calling tf.data.makeIterator). Also in your example here, the DatasetToTfRecord is writing to the same file as the dataset you've loaded so I'm not sure what is the expected behavior here, you should try writing to a different file.
If you don't mind adding org.tensorflow:tensorflow-framework to your dependencies, we do have utilities to simplify the usage of dataset, take a look at this one. You can then iterate through the element of the dataset in eager mode like this :
    Dataset dataset = Dataset.tfRecordDataset(tf, "yourfile.tfrecord", "", 0L).batchSize(10);
    for (List<Operand<?>> components : dataset) {
         Operand<?> featureBatch = components.get(0);
         Operand<?> labelBatch = components.get(1);

         ... operate on the batches directly
    }

Eager mode tends to be slow though so if you can provide more details of what is your specific use cases, maybe we can give you better examples on how to do it.

in tensorflow-java 0.5.0-SNAPSHOT ,  EagerSession model, iter the element in dataset ,I find the element class type is OptionalGetValue or  some type, I want to print the real value ,but failed

parseExampleDataset

    val fp = tf.constant("/Volumes/Pink4T/transfer/code/github/stanford-tensorflow-tutorials/2017/data/friday.tfrecord")
    val compress = tf.constant("")
    val bufferSize = tf.constant(0l)
    val datazs  =tf.data.tfRecordDataset( fileNamec, compress, bufferSize)
    println(datazs.asTensor())

I get the error:
No tensor type has been registered for data type DT_VARIANT

We don't map (yet) DT_VARIANT tensors in the Java space. Can you please provide the full stacktrace? I want to see where such tensor is being accessed from the JVM.

Hi @mullerhai ,
Is your goal to iterate through that dataset? If so, you need to create an iterator (e.g. by calling tf.data.makeIterator). Also in your example here, the DatasetToTfRecord is writing to the same file as the dataset you've loaded so I'm not sure what is the expected behavior here, you should try writing to a different file.
If you don't mind adding org.tensorflow:tensorflow-framework to your dependencies, we do have utilities to simplify the usage of dataset, take a look at this one. You can then iterate through the element of the dataset in eager mode like this :
    Dataset dataset = Dataset.tfRecordDataset(tf, "yourfile.tfrecord", "", 0L).batchSize(10);
    for (List<Operand<?>> components : dataset) {
         Operand<?> featureBatch = components.get(0);
         Operand<?> labelBatch = components.get(1);

         ... operate on the batches directly
    }

Eager mode tends to be slow though so if you can provide more details of what is your specific use cases, maybe we can give you better examples on how to do it.

Hello, is there any way in which you could run this code outside eager mode? I need to access the binary representation of the example to hit a ParseExample node within a graph.
thanks!

Hi @mullerhai ,
Is your goal to iterate through that dataset? If so, you need to create an iterator (e.g. by calling tf.data.makeIterator). Also in your example here, the DatasetToTfRecord is writing to the same file as the dataset you've loaded so I'm not sure what is the expected behavior here, you should try writing to a different file.
If you don't mind adding org.tensorflow:tensorflow-framework to your dependencies, we do have utilities to simplify the usage of dataset, take a look at this one. You can then iterate through the element of the dataset in eager mode like this :
    Dataset dataset = Dataset.tfRecordDataset(tf, "yourfile.tfrecord", "", 0L).batchSize(10);
    for (List<Operand<?>> components : dataset) {
         Operand<?> featureBatch = components.get(0);
         Operand<?> labelBatch = components.get(1);

         ... operate on the batches directly
    }

Eager mode tends to be slow though so if you can provide more details of what is your specific use cases, maybe we can give you better examples on how to do it.

Hello, is there any way in which you could run this code outside eager mode? I need to access the binary representation of the example to hit a ParseExample node within a graph.
thanks!

No ,I have not make it real

Hello, is there any way in which you could run this code outside eager mode? I need to access the binary representation of the example to hit a ParseExample node within a graph.
thanks!

Sure, that will work in Graph mode as well, you just need to make sure that the tf instance you are passing to Dataset.tfRecordDataset is executing in a graph environment i.e. var tf = Ops.create(graph);
You won't be able to use a Java for loop though so you'll need to rely on other TF ops and methods exposed by the datasets/iterators to iterate through the examples within your graph.


Breaks with AWS Amplify Console

I don't really know why, but my Create-React-App build breaks on AWS Amplify Console (a continuous integration environment) with this library. I'm sorry, I don't have the time to write a more detailed ticket, but just thought I would post this here. Removing the package fixed the issue, and my build worked and deployed.

@mikhael28 Did you solve this eventually?

Nah I ditched it entirely - just made a custom ui component myself. I wanted to take the first letter of the first and last name for the avatar. Took like 20 minutes. Just make an array of hex-code colors that you want, then parse the first letter from the first and last name using something like this pseudocode fName[0].toUpperCase() and lName. Create a round border around the text (p, h2, doesn't matter) with the background color being randomly picked from the array of hex codes. Bam, you are good.

Awesome, glad you found a solution that works for you.
I'll close this issue then.


iOS app not visible on default branch

Hi,
the link to the iOS app is currently not visible on the default branch (develop) but only on master.
So this should either change the default branch to master or backport the merged PR to develop to provide greater visibility to the iOS release :)
I was looking for it for quite some time.
Thank you for the work!

ups that is a mistake on my side sorry.

I Just fought with the styling of the button, but it is now done! Thanks for the heads up!


Remove undefined when using mantra generate collection

The initial lib/collections/index.js looks like this:
export {
  undefined
};

So, after running mantra generate collection posts, it did add posts to the export object, but undefined was still there:
import posts from "./posts";

export {
  undefined
  posts
}

We need a way to remove that undefined when generating the first collection.

undefined is there because of a babel issue see https://github.com/meteor/meteor/issues/6281. It will be removed when the issue is resolved. Therefore it is not a high priority. You can still do a PR.


errors with chefdk v1.2.20

With any knife rackspace commands we now see..
`Ignoring eventmachine-1.2.1 because its extensions are not built.  Try: gem pristine eventmachine --version 1.2.1
Ignoring eventmachine-<IP_ADDRESS> because its extensions are not built.  Try: gem pristine eventmachine --version <IP_ADDRESS>
Ignoring io-console-0.4.6 because its extensions are not built.  Try: gem pristine io-console --version 0.4.6
Ignoring json-2.0.2 because its extensions are not built.  Try: gem pristine json --version 2.0.2
Ignoring psych-2.2.2 because its extensions are not built.  Try: gem pristine psych --version 2.2.2`

Nuked my chefdk and re-installed errors gone.


Enable Native 4x Upscaling

I see the option in a number of implementations of Waifu2x, including Caffee and Metal. It would be nice to include 4x as a native upscale without needing to enter a custom value.

Hi @ColonelGerdauf,
if you enter x4 in custom scale, it will saved after you close program unless you change value again.
also, if you set custom scale like 2.3 or x4 or something, it works as native value that you enter x4 in converter it self.
Instead of add x4 menu as native, I will consider add toggle dialog feature about custom scale to make custom value menu works like native scale button.
The reason why waifu2x_snowshell only includes x1~x2 for menu is if menu has too many items, it does not looks simple..
Second, waifu2x is actually only works at x2 value, but most of converter implements bigger value by internal loop to do x2 for several time. For example, if you run waifu2x as x4, converter actually run x2 twice to make x4, if you run x5, converter actually runs x2 for 3times to make image x16, and resize image to make image x5.

I figured out adding toggle menu will cause undermine of consistency.
Instead, I moved custom scale dialog to mouse position to click save button easier.
It will be much easier to select custom scale menu than before.
This feature is available from Snowshell v2.3


Change node factory to pass Multiaddr to the api instead of string

This PR will comform with<EMAIL_ADDRESS>which changed the .apiAddr to be a Multiaddr instead of a string.
We return that apiAddr from the node factory and due to SocketIO not handling objects and buffers successfully, we return a string. That string then gets converted back to Multiaddr in the client factory which attaches the Multiaddr to the ipfs api (like ipfsd-ctl does).
I also added a test for the constructor to accept Multiaddr both as a string and as a proper Multiaddr type.

Oh, and this PR will make js-ipfs-api work again with ipfsd-ctl (0.19.0)

@haadcode I think ipfsd-ctl was released, can you update the PR so CI gets happy?

I see you did that in #526. Can we put these two PRs together, or is there a reason for them being seperate?

Sure! Added it to this PR. Now pulling in<EMAIL_ADDRESS>

CI is now erroring on the name tests which are fixed in https://github.com/ipfs/js-ipfs-api/pull/524 and https://github.com/ipfs/js-ipfs-api/pull/493. I'm gonna add the fixed tests to this PR.

Squashed the commits and updated the commit message for changelog.

Code lgtm, lets get travis happy

I don't quite understand what/why the Travis errors are. There seems to be Syntax Errors coming from webpack, and I see an OOM at the end. @dignifiedquire can you take a quick look and see if you know what the problem is?

This PR was originally made to update ipfsd-ctl to 0.19.0 (go-ipfs 0.4.5). We have since merged go-ipfs 0.4.7 to master with ipfsd-ctl 0.20.0. I believe this PR is not needed anymore.
@diasdavid is there anything we need from this PR that is not already in master (eg. tests)? If not, let's go ahead and close this PR.

Yeah, seems it is all good. Thank you either way :)


ESP32 Wifi connection

I can see a new protected SkyeTracker wifi access point after booting the ESP32, but what is the user/password? Where is this defined?

It should be
SkyeTracker
SkyeTracker
You have to set the password when saving (can reuse SkyeTracker)
library used is https://github.com/prampec/IotWebConf
On Sun, Mar 22, 2020 at 12:57 PM Thijs Triemstra<EMAIL_ADDRESS>wrote:

I can see a new protected SkyeTracker wifi access point after booting the
ESP32, but what is the user/password? Where is this defined?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/graham22/SkyeTracker/issues/18, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIYATNMVKNCR4MNNSZBVH3RIY7PFANCNFSM4LRLO4AA
.

--
Graham A. Ross
(613) 769-1331

thanks, I will document this.

Documented it in the wiki: https://github.com/graham22/SkyeTracker/wiki/WIFI


add fpv2 values from 2015 audi a3 tdi

this should remove the need for fpv1 on the a3

Can you add the A3 to the IGNORED_FINGERPRINTS list?


genre class

Hello @Booze33 / @Metaverse-Nabeel
for this milestone a make theses changes:
-Create Genre class with an association to the Item class (in a separate .rb file).
-Implement methods:
-add_item method in the Genre class

should take an instance of the Item class as an input
should add the input item to the collection of items
should add self as a property of the item object (by using the correct setter from the item object)

bug on commits


Replace avro with json-schema-validator

Supports context and payload as string
Hopefully provides more easier to read messages (when the inputs are valid jsons)

[$.bundle: is missing but it is required]
[$.application: is missing but it is required]
[$.event_type: is missing but it is required]
[$.timestamp: is missing but it is required]
[$.account_id: is missing but it is required]
[$.events: is missing but it is required]
[$.events[0].payload: is missing but it is required]

I guess notifications-gw would still work the same ?

Yes - notifications-gw, policies-engine and notifications-backend code all depends on this lib, would need to update these repos.

@josejulio i just removed obsolete junit jupiter dependencies with the last commit.

Hopefully addressed all review comments by now :-D

Is the Parser only used by tests?

It's part of the API used by the dependent projects. See https://github.com/RedHatInsights/notifications-backend/pull/1159.

Is the Parser only used by tests?

It's part of the API used by the dependent projects. See RedHatsights/notifications-backend#1159.

So encode and decode are used by others, but not validate()

So encode and decode are used by others, but not validate()

Validate is not yet used, I'm unsure if it will be used :thinking:
I want to create a validating page on the admin ui and still unsure how it's going to consume this API.

So encode and decode are used by others, but not validate()

Validate is not yet used, I'm unsure if it will be used thinking I want to create a validating page on the admin ui and still unsure how it's going to consume this API.

ok, then Just leave it there.