Preliinary JupyterHub

Split the preliminary material for Jupyter Hub into a couple of components. First, I kept only the part of configuring the login to the Hub under the preliminary section. Also separated the Pangeo section to a dedicated page. Last, I moved the part of getting code up to the Hub to the tutorial section. Plan to hash this out some more, so folks have a quick reference specific to follow along tutorials.

Thanks @jomey, looks good to me! I also just noticed scrolling to the bottom of the files changed tab https://github.com/snowex-hackweek/website/pull/33/files shows a bunch of spelling errors in the SAR notebook that I missed :) The failing test is also a broken link in the SAR tutorial, so feel free to merge whenever you want

Would go ahead an merge, but it looks like all checks have to pass first before being able to do so. (Which I consider a good thing :wink: )
Want to create a new PR, fixing the SAR errors and I will approve those?

Would go ahead an merge, but it looks like all checks have to pass first before being able to do so. (Which I consider a good thing 😉 )

the link checking periodically fails due to network failures, you can select 're-run jobs' in the 'actions' tab (i did that and it passed this time). Because link checking fails pretty regularly I might just pull it into a separate step that can fail without preventing the merge.

@aaarendt , @scottyhq - Could you please approve this PR so it can be merged?


Create bubble_sort.c

Please review it!

@Mayankjha997 kindly put it like SortingAlgorithm/C++/YourAlgorithm.extension..
nd then update your PR


Complete documentation of some more classes

Sequel Follow up to #34962
I'm not sure about SpriteFrames.frames. It looks like some legacy property that could be removed.

Thanks!


Template not updating with class as data attribute

I'm trying out Moon as I like the small footprint over Vue but my view won't update if I call errors.get('title').
My data has a errors: new Errors() and on a ajax call I set the errors on the class.
Any idea how my view can auto update the error messages?

I'm confused, is Errors a Moon component? If it is, then calling get shouldn't update the view, as it is simply getting a value from the data and returning it. To set new data (and update the view), you can use set.
Please give me some more information, and I'll be glad to help you out.

No Errors is a simple Class with a get() and record() methods which holds all my errors from the AJAX response (if any). If an error is set for a specific input field I want to see the error-message.
With vue i use this.data.errors.record() which works and the view gets updated. Tried this.$data.errors.record() and the data is set, but view didn't update.
I presume I can't use the set() method or should I create a new Errors instance and replace the exising one with set()?

Ahh, got it. This is because Moon doesn't know you are updating the data, as it is observing only the errors attribute. Moon will only know to update the view if using .set. It is also generally unsafe and a bad practice to use this.$data in Moon, as it can be changed by the observer.
To use record, you can use:
this.get("errors").record();

To manually rebuild the view, you can use:
this.build();

Thanks man! Totally works!

No problem!


Update Idno -> Known in the sponsors at the bottom of the page

do you think it's appropriate to rename it, or add Known as a new one?

No clue! We should ask @benwerd @erinjo

I'd say this is up to the IndieWebCamp organizers - happy to go in either direction. Very happy to supply images and so on.
Thanks for bringing this up @kylewm!
cc @erinjo

Aaronpk brought it up in the IRC channel, I was just reminding him :)

The new wiki skin does not list sponsors in the footer of every page.


500 SERVER ERROR . The extensions does not work

[2024-07-03 14:27:20] production.ERROR: Class "App\Extensions\Events\InvoiceReminder\InvoiceReminder" not found {"userId":3,"exception":"[object] (Error(code: 0): Class "App\Extensions\Events\InvoiceReminder\InvoiceReminder" not found at /var/www/paymenter/app/Extensions/Extensions/InvoiceReminder/routes.php:20)
[stacktrace]
#0 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Routing/CallableDispatcher.php(40): Illuminate\Routing\RouteFileRegistrar->{closure}()
#1 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Routing/Route.php(237): Illuminate\Routing\CallableDispatcher->dispatch()
#2 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Routing/Route.php(208): Illuminate\Routing\Route->runCallable()
#3 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Routing/Router.php(806): Illuminate\Routing\Route->run()
#4 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#5 /var/www/paymenter/app/Http/Middleware/HasPermission.php(28): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#6 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\Http\Middleware\HasPermission->handle()
#7 /var/www/paymenter/app/Http/Middleware/SetLocale.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#8 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\Http\Middleware\SetLocale->handle()
#9 /var/www/paymenter/app/Http/Middleware/MustVerifyEmail.php(17): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#10 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\Http\Middleware\MustVerifyEmail->handle()
#11 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#12 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#13 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#14 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
#15 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#16 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#17 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#18 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#19 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Session\Middleware\StartSession->handle()
#20 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#21 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#22 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#23 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Cookie\Middleware\EncryptCookies->handle()
#24 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#25 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Routing/Router.php(805): Illuminate\Pipeline\Pipeline->then()
#26 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Routing/Router.php(784): Illuminate\Routing\Router->runRouteWithinStack()
#27 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Routing/Router.php(748): Illuminate\Routing\Router->runRoute()
#28 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Routing/Router.php(737): Illuminate\Routing\Router->dispatchToRoute()
#29 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\Routing\Router->dispatch()
#30 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#31 /var/www/paymenter/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#32 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle()
#33 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#34 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#35 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#36 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#37 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#38 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
#39 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#40 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
#41 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(99): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#42 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#43 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#44 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Http\Middleware\HandleCors->handle()
#45 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#46 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Http\Middleware\TrustProxies->handle()
#47 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#48 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\Pipeline\Pipeline->then()
#49 /var/www/paymenter/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#50 /var/www/paymenter/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle()
#51 {main}
"}

Did you install the extension from the marketplace?

Did you install the extension from the marketplace?

No via the extensions in the admin side, but i did do the command that was in the marketplace description


chore(vuln): bump gem activesupport

Fix https://github.com/alan-eu/react-native-fast-shadow/security/dependabot/6

Current dependencies on/for this PR:

main

PR #7   👈

This comment was auto-generated by Graphite.


Support unsafe function schemas

LLMs for code are capable of reasoning beyond just what is merely executable [^1][^2]. Therefore, I suggest allowing users to provide free-form function schemas that aren't necessarily strictly following the JSON Schema format.
[^1]: Souza, Beatriz, and Michael Pradel. "LExecutor: Learning-Guided Execution." arXiv preprint arXiv:2302.02343 (2023).
[^2]: https://www.youtube.com/watch?v=YIYlkCbIxqc&t=2664s

Function input implementation is handled by a model-by-model basis, which is why the current schema code is in chatgpt.py.

@minimaxir, what do you mean by "model-by-model basis"?

This implementation of structured I/O to ChatGPT is specific to ChatGPT.

Okay, but why not allow users to provide schemas that violate the JSON Schema format?

No point, unless there is evidence that it actually improves generation quality.
To keep the library simple, I am not adding things for the sake of adding things.


Ability to change keyboard appearance iOS

keyboardAppearance?: PropTypes.oneOf([
'default',
'light',
'dark',
])
https://facebook.github.io/react-native/docs/textinput.html

Hey @arberK, can you fix the conflicts so I can merge it? Thank you!


i cant passphrase right

What is your username and discriminator?
suomilanittaja
Why did you join Discord Linux?
becouse i use linux
Where did you hear about Discord Linux?
i found it from scanning internet
What is the passphrase that was assigned to you by the bot?
505696148070087517
maybe this i didnt understand what it really meaned

This form is for people who do not have a phone to verify with Discord.  Please read the embed that mentions you in the welcome channel.


WIP: Fix/node

Fixed node red:

Startup with local user
Install packages at startup

Open Tasks:

[ ] Rebase required.

Moved to another branch.

see #6 for new PR.


Iterative plotting

Is there a way of creating a plot per iteration and stacking them side by side during each iteration to then get one image of all of them?

Maybe:
using Compose
M = Array(Compose.Context, (4,2))

x = linspace(-2, 2, 11)
f(a::Float64) = a*x

a = 2.0
coord = Coord.cartesian(ymin=-50, ymax=50)
for i in 1:8
    a += 2.0
    p = plot(x=x, y=f(a), Geom.point, coord)
    M[i] = Compose.compose(render(p))
end

# Julia fills the array columnwise, so transpose
gridstack(M')

You could use vstack and hstack (e.g. https://dcjones.github.io/Gadfly.jl/index.html#stacking) to do this as well.


uname_os_check: internal error

I am having an issue with installing a project using this set of scripts and the error message says to file a bug here.
I am atempting to use goreleaser to install apex/up on windows 10 Home version: 1703 build: 15063.540
I haven't yet tried to replicate this issue on another windows machine as I am limited at the moment.
I did not have this issue on a virtual machine running ubuntu.
The error I am receiving is:
/usr/bin/sh: uname_os_check: internal error 'MSYS_NT-10.0' got converted to 'msys_nt-10.0' which is not a GOOS value. Please file bug
at https://github.com/client9/shlib

and the script I am attempting to use to install  apex/up is this:
curl -sfL "https://raw.githubusercontent.com/apex/up/master/install.sh" | sh

I have noticed that on my machine, uname returns:
C:\>uname
MSYS_NT-10.0

Whereas on an ubuntu virtual machine I happened to have running, uname returns:
vagrant@homestead:~$ uname
Linux

The uname_os_check script appears to be looking for the value "windows" on windows machines but it receives "MSYS_NT-10.0" instead, I am not sure if this is the desired behavior.
The administrator of apex/up believed that it might be a  goreleaser issue but I am coming here first.
P.S. I'm not sure if it is good etiquette to put a thank you at the bottom of a new issue but ill put it anyways,
Thank you for your time.

hmm just saw this.

@client9 Are you sure that commit fixes this issue? I'm seeing this error while installing golangci-lint on Windows on Travis CI:
golangci/golangci-lint crit uname_os_check 'MSYS_NT-10.0' got converted to 'msys_nt-10.0' which is not a GOOS value. Please file bug at https://github.com/client9/shlib

https://travis-ci.org/AlekSi/gosh/jobs/450423969
https://github.com/golangci/golangci-lint/blob/master/install.sh

Still met this issue while installing Antibody: https://getantibody.github.io/install/
└> > curl -sfL git.io/antibody | sh -s - -b /usr/bin
getantibody/antibody crit uname_os_check 'MSYS_NT-10.0-16299' got converted to 'msys_nt-10.0-16299' which is not a GOOS value. Please file bug at https://github.com/client9/shlib


Running Prezto from Emacs

Hi, I'm trying to run a prezto terminal session from Emacs, but when I execute M-shell, a normal ZSH gets loaded. How can I get prezto to kick in?
Bonus q: Also, how to avoid Completions buffer appearing and instead get autocomplete to execute like it does with ZSH or Prezto?

If Prezto is loaded when you open a terminal program, then it should load in Emacs.
I do not understand your second question.

If Prezto is loaded when you open a terminal program, then it should load in Emacs.

^ Doesn't seem to load it. What can I do to debug this further? Can you give some tips?
The second question I guess it's more of a Emacs question. If you type a folder name partially and you hit TAB, different folder names get autocompleted when running with ZSH + Presto in command line. But, in my current set up on Emacs, instead of autocompleting folder names, it opens a new buffer with completions suggestions which sucks.

I don't use Emacs. I don't know.

M-x shell creates an Emacs shell, to get Prezto, you need to run the terminal emulator, with M-x ansi-term. More information on the difference between them two here.


fix: default Dockerfile builds fails

mage uses git, so we should install git before run mage.
close #9261

 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.


In case of match cancel scenario.

Hi tejjo,
Thanks for one of the nice library.
In my case i want a scenario in which draw can be continued when any match cancelled.
Suppose both of the team did't came for the participation, then how can i handle this scenario via your library.
Please let me know about this.
Thanks
Thanks again.

Although i have done something for this scenario but its a hack only.
I want a proper solution.
Please help regarding this.

Hi! This use case is not currently supported.
Only workaround at the moment is to just give some kind of default 0-1 loss for both missing teams.

This is partly duplicate with #78. Closing.

HI Tejjo,
Thanks for the reply.
I have solved this thing by changing and managing some things in json and library.
Thanks again for the great library.


Increment version for cognitiveservices releases

Increment package version after release of com.microsoft.azure.cognitiveservices azure-cognitiveservices-faceapi

/check-enforcer override


chore: triggger

:rocket: This description was created by Ellipsis for commit a544c3113f2d9a666b3054b4dab135ef8e3d627a

Summary:
Updated test naming in redlog_test.go, modified GitHub Actions workflow and Makefile for improved test coverage reporting.
Key points:

Updated test case naming in TestTheme function in redlog_test.go from hyphen (-) to slash (/).
Changed GitHub Actions workflow name in .github/workflows/coverage.yml from 'test' to 'coverage'.
Added make coverage command in GitHub Actions workflow.
Modified Makefile to include directory creation for coverage reports.

Generated with :heart: by ellipsis.dev

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Adding users to a group  https://developer.mixpanel.com/docs/javascript#adding-users-to-a-group

As documented in the https://developer.mixpanel.com/docs/javascript#adding-users-to-a-group
//Assign Company A and Company B to a user
mixpanel.set_group(“company”, [“Company A”, “Company B”])

How can this be done in nodejs?

+1


[Feature Request] Hotkey for SSH connections

Please add a Hotkey to pull up "SSH Connections" pop up.

It seems that shortcut for ssh connections is available in config file.

Excellent! I actually didn't have hotkeys>ssh in my config file, but I added per your screenshot and it worked. Perhaps this can be added to Hotkeys settings tab?


Adding new column formatter sample

Q
A

Bug fix?
no

New sample?
yes

Related issues?
no

What's in this Pull Request?
Adding a new column formatter sample that utilizes deep links to Microsoft Teams messaging

Great petty we could not group by "Microsoft Teams deep links" the samples:
https://github.com/pnp/List-Formatting/tree/master/view-samples/teams-group-chat-links
https://github.com/pnp/List-Formatting/tree/abef5afe0a2cd739fba7116eee60678261441fcf/column-samples/generic-share-to-teams
https://github.com/pnp/List-Formatting/tree/abef5afe0a2cd739fba7116eee60678261441fcf/column-samples/generic-scheduling-link
https:/github.com/pnp/List-Formatting/tree/abef5afe0a2cd739fba7116eee60678261441fcf/column-samples/multi-person-teams-chat-link
https://github.com/pnp/List-Formatting/tree/abef5afe0a2cd739fba7116eee60678261441fcf/form-samples/teams-chat-task-owner-footer

I have done the merge! Please check out the following link and let me know if you have any questions. (I made some minor adjustments when merging.)
https://github.com/pnp/List-Formatting/tree/master/column-samples/person-teams-message-format
Thank you very much for awesome samples!!


Aligning APIs for consistency

The public APIs were using inconsistent parameters. Sometimes they'd use baseDir, and some would use todoStorageDir. This change realigns the public APIs to ensure they're consistent, which will help with usage.

Going to go ahead and merge this as it's largely just an API cleanup/realignment.


Add multi-currency support for Flow pallet

User Story
As a user, I want to create a campaign using different currencies so I can spend those tokens later using governance mechanisms.
Acceptance Criteria

Create a campaign with multiple currencies.
Contribute to a campaign with multiple currencies.
only stablecoins can be used to fund into campaigns

Additional Information

probably a list of tokens should be defined which contains lists allowed for payments. (today aUSD & PLAY)

How to test
TBD

a
b
c
d

Moved: https://github.com/playzero/zero-network/issues/186


Add Section Links

Add ids to headers for Purpose, Services, and future sections in the main content.

[ ] Add links with IDs next to headers
[ ] Check scroll-to-on-load functionality with HashRouter

Duplicated by #28


Add new ReadConfigAction auth action for reading config

This PR creates ReadConfigAction, a new auth action for reading config, instead of ListRepositoriesAction.
Closes #764

documentation under docs/reference/authorization.md (there's a table listing all available permission actions that needs to be updated)

Done!

under auth/setup.go - the built-in "Admins" group should probably come with the appropriate policy that allows to perform this action

AuthFullAccess already imports all auth actions (auth:*)


Keep slave program in sync with terminal

Since I got no anwser to https://github.com/sourcelair/xterm.js/issues/134#issuecomment-227474863 here is a PR addressing the out of sync problem of the slave program and the terminal emulator.
The problem boils down to the nonblocking websocket handling, which cant propagate back the "uhmm, I'm still busy, please wait" of the terminal emulator and buffers more and more bytes. In the result the emulator lacks far behind in data processing. Thus a long running output heavy task seems not to be interruptable (which is not the case, it is just the terminal emulator, which has to get through the big amount of data to the point where the interrupt happened).
This PR uses XON/XOFF flow control to keep the backend and frontend in sync.
You can test this with any long running output intensive task, e.g. ls -lR /
Related issues are #134 and https://github.com/Microsoft/vscode/issues/7801

While this does seem to work, and is quite snappy when sending SIGINT, I don't think we necessarily want to ensure that absolutely everything has been synced to the UI. While the frontend can be optimized further (as detailed in #134), this change negates the work that was done in https://github.com/sourcelair/xterm.js/pull/128 which allows as much data as possible through, we just only print the last page of it.
Consider this command with this change:
$ time ls -lR ~
...
real    3m21.946s
user    0m2.796s
sys     0m4.752s

And without the change:
$ time ls -lR ~
...
real    0m3.289s
user    0m1.124s
sys     0m2.056s

real is not actually accurate on the second output which is what is so awesome about this change, but the command only takes about 10 seconds to run.
Perhaps this could be hooked up somehow to refresh instead of write so that we can get the benefits of both the refresh throttling and XON/XOFF?

 Although the stops bind any keyboard action to the next websocket action (therfore feeling snappy and in sync) it is not suitable - the average websocket transfer buffer is about 1k to 3k even for output heavy tasks, that means the backend gets stopped every few thousand bytes. Bummer.
I created a new branch with a different approach: https://github.com/jerch/xterm.js/tree/flowcontrol_buffer
Here I use a high/low watermark buffer to trigger the flow control. The high mark is used to halt the backend (out of sync gap to big) and the low mark is used to avoid waiting time on the frontend for new data.
All settings are adjustable, the commit contains the settings where even my FF can handle it smoothly (which is not the case with just your fps patch). SIGINT gets through at the average max-min mark (the buffer state shows a sawtooth behavior).
Regarding the xon/xoff at refresh time:
Imho there is much room for rendering optimizations which should be applied first. (The switch to pre with span nearly doubled the throughput, same with fragments instead of HTML strings).

Sorry about the delay to get back on this, but finally I got my input. I am not quite fond of the idea of synchronizing the back-end with the front-end. IMO the best option is optimizing rendering as much as possible and maybe offering this feature as an add-on or a flag (sync?) to the attach add-on.
Also it would be great if you could provide us with a PR which swaps divs with pres, in order to try it out and see how does it perform.

Also it would be great if you could provide us with a PR which swaps divs with pres, in order to try it out and see how does it perform.

This would need an almost full rewrite of the refresh method. Gonna try it if I find some time for that.

Another thing we could do would be opening a GitHub issue, proposing a refactoring of the refresh method based on this principles, in order to create a place for discussion and make it available for anyone to take it over.
Do you think you could do that (creating a GitHub issue)?

Sure - feel free to add more ideas and discuss it here #150

Awesome, thanks!

Gonna close the PR since it is obsolete atm...


Selector returns empty array (react native)

Hi,
I'm struggling to retreive data with a selector in my react native app.
I'm using redux ORM 0.12.1
Here is my bootstrap :
// reducers/intentions.js
import {
  ORM, Model, fk, attr,
} from 'redux-orm';

export class Intention extends Model {
  static reducer(action, MyIntention) {
    switch (action.type) {
      ...
    }
  }
}
Intention.modelName = 'Intention';
Intention.fields = {
  id: attr(),
  title: attr(),
 ....
};

export const orm = new ORM();
orm.register(Intention);

export default orm;

My selector :
/selectors/intentions.js
import { createSelector } from 'redux-orm';
import { orm } from '../reducers/intentions';

const todayIntentions = createSelector(
  orm,
  state => state.orm,
  (session) => {
    console.log('Running intention selector');
    return session.Intention.all().toRefArray(); // Should show all intentions for the moment
  },
);

export default todayIntentions;

and finally, my React Native component where I would like to retreive data (see console.log in it) :
import React, { Component } from 'react';
import {
  FlatList, Animated, View, StyleSheet,
} from 'react-native';

import { connect } from 'react-redux';
import Globals from '../Globals';
import todayIntentions from '../../redux/selectors/intentions';

class MyComponent extends Component {
  constructor(props) {
    super(props);

    console.log('Today intentions in props:', this.props.todayIntentions); // ---> SHOWS AN EMPTY ARRAY
    console.log('Full data from store :', this.props.intentions); // ---> shows raw data from store
  }

  render() {
    return (
      <View style={styles.mainView}>
....
      </View>
    );
  }
}

const styles = StyleSheet.create({
  mainView: {
    flex: 1,
    backgroundColor: Globals.COLOR.BACKGROUND,
  },
});

// This function takes the Redux state, runs the
// selectors and returns the props passed to App.
function mapStateToProps(state) {
  return {
    intentions: state.intentions,
    todayIntentions: todayIntentions(state),
  };
}

export default connect(mapStateToProps)(MyComponent);

Important precision : data is loaded from redux-persist when app starts (with many Intentions in it)
Why do I have an empty Array from the selector ? I expect to have all intentions as an array I can use to show data.
Thanks

The only thing that seems strange to me about your code is that you're retrieving intentions as a direct child of state. In a Redux-ORM setup intentions would be a bit deeper in the hierarchy and should only be read via selectors. Please post your reducer setup (root reducer) and how exactly you are persisting and loading your state.
In theory it should be possible to persist the current state of a Redux-ORM session (persistedState = someSerializer(someSession.state)) and later load it back into the Redux tree using orm.session(someDeserializer(persistedState)) but it seems to me you are doing that all of this outside of Redux-ORM. However I haven't worked with redux-persist so I don't know how it would come into play with Redux-ORM or if the two libraries can function together at all.

Sure :slightly_smiling_face: Well, that clears things up a bit. Your selector todayIntentions does not do what it's supposed to because your ORM instance is actually stored in state.intentions (if state is your Redux store object). So the second argument to createSelector, i.e. state => state.orm, does not really return your ORM instance but null instead. There currently is no orm key in your store.
I recommend changing your root reducer as follows:
// if possible, move the creation of your ORM object and the registration of your models into a different file than intentions for clarity
import orm from './intentions';

const rootReducer = combineReducers({
  auth,
  orm: createReducer(orm),
});

And remove the intentions key from the object returned in mapStateToProps, you're actually just accessing the ORM instance there, which should not be exposed to React components.

Thank you that was pretty simple, but I'd never thought about that on my own.


add options to tracer

updated

@tc-wilson
So it looks like the indentation is still messed up.  I'm thinking this is an editor issue which we have solved before.  Try adding these two lines under the interpreter:
# -*- mode: sh; indent-tabs-mode: nil; sh-basic-offset: 4 -*-
# vim: autoindent tabstop=4 shiftwidth=4 expandtab softtabstop=4 filetype=bash

Then save and exit the file and reopen it.  Your editor should pickup the proper mode to use for editing the file and then you can fix your indentation.  I mostly know how this behaves from the emacs side, you may have to get some input from @atheurer on the vi side of things.  For example, for emacs I usually have to forceably update a whitespace formatting by modifying the line if I'm trying to fix it (emacs does not automatically fix all lines in the file).
See https://github.com/k-rister/crucible/blob/master/bin/_main for an example.


Update list_physical_devices and list_logical_devices Argument notes

At present both the APIs tf.config.list_physical_devices and tf.config.list_logical_devices has an optional argument named device_type which takes a string as an argument. But When we pass a numeric value or strings other than expected('CPU' or 'GPU') both returns an empty list instead of raising the error.The behaviour is ok but this is not documented well.Hence I proposed a note for same.
Also the default value of the argument device_type is None but with default value both the APIs returns available physical/logical devices. This is not intuitive as for value None the APIs returning the respective devices. This may create some confusion among users. Hence I am adding the note of same to the documentation explicitly to avoid any confusion.
Attaching the gist as reference for the above results.
The issue discussed in #57153 .

Hi @kenfranko Can you please review this PR ? Thank you!

Hi @SuryanarayanaY Can you please check @kenfranko's comments and keep us posted? Thank you!


workspacer: Update all links to workspacer organization

Change brought with https://github.com/workspacer/workspacer/issues/211

/verify


[BUG] Problem in Footer after Logging In

Description
According to Code in Footer.jsx, after successful login their should be "EVENTS" instead of "Join Us" But this is not happening.
Here I have logged in :-

I don't think I can solve this because it is related to authToken I guess but I feel that this needs to be solved.
Screenshots
No response
Browser 🥦
Brave
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[ ] I am willing to work on this issue (blank for no).

That makes sense, thanks for raising the issue. @ayushmangarg2003

Hi @venkadesh004 there are multiple things wrong with the PR as a result I had to close that. Please ask before raising the issue. Since this was related to cookies I needed to look this up first. Secondly please don't change the PR template.
You wrote Issue No: #1070 , whereas in the template it was mentioned that the issue must be linked in the format of Closes #1070
Please make a new PR to the beta branch.

Is this issue being resolved?

@YuvarajSingh-0 , this is not being worked upon, would you like to work on it ?

@tamalCodes sure.... But I need to discuss some things like... Data base access

@tamalCodes sure.... But I need to discuss some things like... Data base access

You don't need any kind of Database access, set up the frontend and the backend locally. You can spin up a local MongoDB connection which is free, and simply paste the URI in the .env of the Backend repo. Once the backend is up and running, start the Frontend too.
Once that is done make an account and signup. Look at the cookies section in the Application > Cookies tab, you will find a cookie called isLoggedIn which is set to be true. You can use that cookie directly in the Footer.
Use conditions like

{ Cookies.get("isLoggedIn") ? (Write the code) : (Write the code) }

@tamalCodes I found that there are some typos with the token name here and there and there is also an issue with the backend side of setting cookie. While setting cookie, the httpOnly property is set to false and secure to true for both cookies to true, otherwise the cookie is not accessible in the code. So, I fixed it.
There is also some issues with the logout it seems. Working on it.
Please tell me if there is something that bothers you. Thank You.

Fixed the backend code also, how do I reference this issue in the backend repo?

Is the Problem solved or may i look into it?


A way to set specific canvas size if VR isn't available?

I've just started experimenting with the boilerplate, and ran into the following issue. If VR is unavailable there may be good reasons to fall back to the mono 3d canvas, embedded within a DOM element on a 2d browser page. However, the resize always goes to window .innerWidth and .innerHeight. So, in other words boilerplate assumes you always want to fill the screen with the 3d canvas. Resizes via three.js get overridden.
Better Ux would allow graceful decay into a defined smaller size, as a child element in markup, instead of assuming it is the only thing in the page body. This is consistent with interfaces that follow "progressive enhancement" and use existing markup elements as the base for building the VR display. -pete

I think this might be implemented as an optional parameter to the
WebVRManager. Please submit a PR.
On Mon, Nov 16, 2015 at 5:14 PM Dr. Pete Markiewicz <
<EMAIL_ADDRESS>wrote:

I've just started experimenting with the boilerplate, and ran into the
following issue. If VR is unavailable there may be good reasons to fall
back to the mono 3d canvas, embedded within a DOM element on a 2d browser
page. However, the resize always goes to window .innerWidth and
.innerHeight. So, in other words boilerplate assumes you always want to
fill the screen with the 3d canvas. Resizes via three.js get overridden.
Better Ux would allow graceful decay into a defined smaller size, as a
child element in markup, instead of assuming it is the only thing in the
page body. This is consistent with interfaces that follow "progressive
enhancement" and use existing markup elements as the base for building the
VR display. -pete
—
Reply to this email directly or view it on GitHub
https://github.com/borismus/webvr-boilerplate/issues/66.

will do, thanks -pete
On Tue, Nov 17, 2015 at 9:17 AM, Boris Smus<EMAIL_ADDRESS>wrote:

I think this might be implemented as an optional parameter to the
WebVRManager. Please submit a PR.
On Mon, Nov 16, 2015 at 5:14 PM Dr. Pete Markiewicz <
<EMAIL_ADDRESS>wrote:

I've just started experimenting with the boilerplate, and ran into the
following issue. If VR is unavailable there may be good reasons to fall
back to the mono 3d canvas, embedded within a DOM element on a 2d browser
page. However, the resize always goes to window .innerWidth and
.innerHeight. So, in other words boilerplate assumes you always want to
fill the screen with the 3d canvas. Resizes via three.js get overridden.
Better Ux would allow graceful decay into a defined smaller size, as a
child element in markup, instead of assuming it is the only thing in the
page body. This is consistent with interfaces that follow "progressive
enhancement" and use existing markup elements as the base for building
the
VR display. -pete
—
Reply to this email directly or view it on GitHub
https://github.com/borismus/webvr-boilerplate/issues/66.

—
Reply to this email directly or view it on GitHub
https://github.com/borismus/webvr-boilerplate/issues/66#issuecomment-157441153
.

--
=================
Dr. Pete Markiewicz
Email<EMAIL_ADDRESS>Sustainable virtual design blog:
http://sustainablevirtualdesign.wordpress.com
Sustainability template: http://greenboilerplate.com
*Teaching site: *http://plyojump.com http://www.plyojump.com/
*Buy my book! *- Millennials and the Popular Culture
Lifecourse: http://www.lifecourse.com/store/catalog/lca/mpc.html

AmazonAuthor Page:*
http://www.amazon.com/Pete-Markiewicz/e/B0069VZ7BG/ref=ntt_athr_dp_pel_pop_2
On that page, see my DARPA Grand Challenge 2005 entry video, "Team
Robomonster":
*Team Robomonster *(DARPA 2005 Grand Challenge):
http://robotsthatjump.wordpress.com/category/team-robomonster/
*Indiespace *(1st to sell downloaded music, March 1994):
http://www.indiespace.com. Also see http://archive.org under
"Kspace.com" 1996 for our original site.
============================================================
=================

+1 for this change. Until a PR is accepted I have found the following to be adequate here,
    manager.resize_ = function () { // where "manager" is instance of WebVRManager
      this.effect.setSize(elemw, elemh);
    };

Buttons, however, are appended to the body of the document and do not appear in the element which parents the VR display https://github.com/borismus/webvr-boilerplate/issues/68

Working on the button issue, also a utility function seeing if element is attached to document.body or another element. Will submit PR later this week.

@pindiespace,
Thank you. Please consider making buttons and behaviour configurable. This would reduce responsibility of webvr scripts and give more control to its dependants, allowing them to do as they wish. Like this,
var manager = new WebVRManager(renderer, effect, {
 onRender : function (mngr) {
   var fullscreenlink = document.getElementById('fullscreenlink'),
       minscreenlink = document.getElementById('minscreenlink');
       previouslink = document.getElementById('previouslink');

   fullscreenlink.onclick = function (e) {
     mngr.showfullscreen();

     e.preventDefault();
   };

   minscreenlink.onclick = function (e) {
     mngr.showminscreen();

     e.preventDefault();
   };

   previouslink.onclick = function (e) {
     mngr.showprevious();

     e.preventDefault();
   };
 }
});

we've had a similar issues on vizor.io (embedding a mono 3d view in a container), and arrived at a solution that resizes the canvas to the already-computed dimensions of its container. I'll send a PR referencing this issue, as discussed with @borismus

I've added some ideas on putting canvas and buttons into my fork.

Thanks for this, I've added some comments. Please take a look.

Using a custom canvas size should be a lot easier if you use just the webvr-polyfill to achieve it.


add support for Deployments

Need to add support for new Kubernetes server-side deployments. http://kubernetes.io/v1.1/docs/user-guide/deployments.html

Any progress on this?

I have been kept away from this repo for a while, but I think for the next couple of days I can work on this one.


Add Azure Function API

Some ideas here:

Host the Function App in a consumption plan with a Windows subsystem as Linux does not presently allow for editing functions in the code editor in the Azure Portal.
Keep the function app simple: Two GET methods with and without parameters would illustrate the integration well. Lab participants know how REST APIs work and can extrapolate from this example how other HTTP Verbs such as PUT, POST, DELETE, etc. work.
Running in consumption means no VNet integration. That's ok for the lab. I consider VNet integration and network security a higher-level construct. Do ensure that we highlight how APIM can interact with the Azure Function via the function key to prevent unauthorized callers.

@odaibert & @ferantoMSFT, what do you think about my ideas above, please?

@simonkurtz-MSFT we have another APIM workshop with serverless focus. Maybe we can use the same function apps from it (that was the original idea).
You can find it here https://github.com/Azure-Samples/Serverless-APIs


Patch local storage exception

https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem#exceptions
setItem() may throw an exception if the storage is full. Particularly, in Mobile Safari (since iOS 5) it always throws when the user enters private mode. (Safari sets the quota to 0 bytes in private mode, unlike other browsers, which allow storage in private mode using separate data containers.) Hence developers should make sure to always catch possible exceptions from setItem().

This was merged in https://github.com/statsig-io/js-client/commit/145977b26526fedf49ac991b7472ea7a42d7fc29


Borderlands 2 [PCSF00570]

Game summary

Game name: Borderlands 2
Game serial: PCSF00570
Game version: 01.00

Vita3K summary

Version: v0.1
Build number: 1303
Commit hash: https://github.com/vita3k/vita3k/commit/fa6f5bf

Test environment summary

Tested by: IllusionMan1212
OS: Windows 10 Pro
CPU: AMD Ryzen 5 1600
GPU: NVIDIA GTX 1050Ti
RAM: 8 GB

Issues
Crashes because of multiple unimplemented functions
Screenshots
None at the moment
Log
vita3k.log

Vita3K v0.1.5 2594-4071eb35
crashes out on the loading screen
keeps spamming
[16:19:52.367] |C| [unprotect_inner]: VirtualAlloc failed: 0x1E7
[16:19:52.367] |C| [handle_access_violation]: Unhandled write protected region was valid. Address=0x145D4000
vita3k.log

I was able to get in game but as Claptraps dialog loops it is not playable

This game sould be get to ingame -

App summary

App name: Borderlands™ 2
App serial: PCSF00570
App version: 1.07

Vita3K summary

Version: v0.2.0
Build number: 3685
Commit hash: https://github.com/vita3k/vita3k/commit/5857acd8
CPU backend: Dynarmic
GPU backend: Vulkan

Test environment summary

Tested by: Slade
OS: Microsoft Windows 10 Professional (build 19045)
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
GPU: NVIDIA GeForce GTX 1060 6GB
RAM: 16 GB

Issues

The game plays well with no major issues.
Lack of touch screen controls does have some drawbacks (you can't press on the scrap piles to break them).
Frame rate dips when loading in new areas after fast travelling.

Screenshots

Log
vita3k.log
Recommended labels

Playable
touchscreen issues

Where can i download?


algorithm for root-key selection not clear

In the course of getting a notary infrastructure up and running, and playing around with a mix of notary client and docker content trust, I have ended up with a number of root keys, both on my laptop and on my Yubikey.  If I do a notary init, or push to a new repo with content trust enabled, one of these is being selected, but it's not clear how notary / content trust are determining which root key should be used (the one thing that is clear is that it will grab one from the Yubikey if it is inserted).

@lewiada Thank you for the suggestion - I will add the a comment to https://github.com/docker/notary/blob/master/docs/advanced_usage.md#initialize-a-trusted-collection about root key selection if there are multiple keys.
If there are keys in disk, it currently just grabs the first one it finds through listing the filesystem.  It should be deterministic per machine.  You can specify it by passing the --root-key flag on notary init, although there is no way to do this in docker.
As per https://github.com/docker/notary/pull/955/files#diff-b060354fe719f76e1c05c20d54fb2764R91, though the root key should generally be offline, and you can bring online any key you want when initializing a new repository, so notary or docker would only find the one key.

@lewiada How would you feel about repository initialization being interactive with appropriate flags that can allow scripting to bypass the interactivity by pre-providing the answers (i.e. the key ID of the key to use as root)?

Just to test it out, I created two root keys and tried to initialize a new collection, it seems to pick up one key randomly.
λ notary key list
ROLE       GUN       KEY ID                                                              LOCATION
----       ---       ------                                                              --------
root                 2c586eb6b991d9b2e3781f38f9e6f0f7f0ae79b3b8040c821ed1acd9f975c8eb    /home/ali/.notary/private
root                 c57de8d50cc57f191899c8f22431c7293a43c42dbe422deb285c28dd69567fb5    /home/ali/.notary/private
targets    alpine<PHONE_NUMBER>b4fcc95c8c30c0002cc1a20f5d1b47aa4964ad029160a2e8c7b488    /home/ali/.notary/private

λ notary init test-col
Root key found, using: 2c586eb6b991d9b2e3781f38f9e6f0f7f0ae79b3b8040c821ed1acd9f975c8eb
Enter passphrase for root key with ID 2c586eb: ⏎

λ notary init test-col
Root key found, using: 2c586eb6b991d9b2e3781f38f9e6f0f7f0ae79b3b8040c821ed1acd9f975c8eb
Enter passphrase for root key with ID 2c586eb: ⏎

λ notary init test-col
Root key found, using: c57de8d50cc57f191899c8f22431c7293a43c42dbe422deb285c28dd69567fb5
Enter passphrase for root key with ID c57de8d: ⏎

It takes quite a few tries, but it does pick one randomly. The reason for the behavior I believe is the use of range loop over a map, which doesn't guarantee the iteration order.
The notary key list seems to be sorting the list before printing it out, hence its the same order every time. But it doesn't sort the keys when initializing a collection.

The lazy initialization PR has merged and now allows one to notary key rotate <gun> root as the first operation on a repo. We should add fields/flags to this command that allow a specific key file or key ID to be provided. I'll file an issue to track that update.
I was hoping to eventually kill the explicit init command, but there have recently been good ideas raised about having some kind of repo "template" and that would probably necessitate the continued existence of some kind of init command.


Cooking/Baking/Boiling

So Ive been thinking about the current system in MC for cooking/baking food, simplistic but effective for common food stuffs, single ingredient foods.  Not sure how hard this would be, but have pots and pans with gui like any other machine, except they need a stove or oven as a power source/heat source.  For example, making an omelette in a pan.  The pan would have to go on the stove for a heat source and opening the pan gui offers several slot for input and an output slot, in the input slots place an egg mixture (egg, milk, salt and pepper made in a mixing bowl), pork (ham/bacon/pork chop), cheese, sliced mushroom (or whole) and depending on whether or not youve got mod support you could add other ingredients from whatever mods.  Once the recipe is in, the pan takes some time to heat, just like a furnace and BAM!!! (sorry Emeril) a bacon and cheese omelette.  This could be done for pots as well for soups, roasts, etc.  While all these things could be done separately in a furnace with a little premixing in the workbench, its just not as realistic.

More forms of preparing food will be added.

Thats cool, I just thought this would be kind of cool, just because I dont think anyone else has used a pot or pan as an actual machine/workbench, I mean Ive seen pots and pans, but they are just like the furnace, 1 item at  a time, looks cool, but still only as useful as the furnace.


BUG Issue #6421: scipy.linalg.solve_banded overwrites input 'b' when...

Updated the unit test to detect the bug reported in Issue #6421, then fixed the code in scipy.linalg.solve_banded to solve the issue.

Merged, thanks!

Many thanks to you!

backported in gh-6557


Git repo version and pub version isnt same

there might have been update problem,
If I download the package using pub version in my pubspes.yaml file it doent evaluate and isnt up to date ...
if I install it from github it works ,, kindly update it

Hi @EMIkram I will update the pub.dev version ASAP.

Please look into this issue


Mobile Style Adjustments

This isn't an all inclusive list.

[ ] Flag video when video is open. Also, regardless of the size added in the page builder the video should never be larger then the screen.

Closing for now, fixed page overflows, but left video dialog to overflow inside the dialog


Minor typo fix

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (962325d) 79.59% compared to head (c828933) 55.99%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #18963       +/-   ##
===========================================
- Coverage   79.59%   55.99%   -23.60%
===========================================
  Files         337      337
  Lines       35129    35129
  Branches     6882     6882
===========================================
- Hits        27960    19670     -8290
- Misses       5588    13995     +8407
+ Partials     1581     1464      -117

Flag
Coverage Δ

keras
55.99% <ø> (-23.46%)
:arrow_down:

keras-jax
?

keras-numpy
55.99% <ø> (ø)

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


feat(promtool): add push metrics command

Hello,
I want to add push metrics command in promtool, like
$ promtool push metrics https://my-prometheus-remote-write:9090/api/v1/push /tmp/metrics
Parsing metric file /tmp/metrics
Successfully pushed metric file /tmp/metrics

It could be usefull to quickly test the ability to ingest metrics from client perspective (test the connectivity, check tls and get the result in a graph) without setup a prometheus agent with config scrapping etc.
Initially I would add this feature in mimirtool https://github.com/grafana/mimir/pull/4715 but they redirect me here as it make more sense as it is remote write.

I could add tests and maybe the support of stdin to allow curl .. | promtool push metrics .. if you agree to add this feature.

Hello,
No comment about this feature ?

Thank you. It seems like when an histogram is pushed, values are zeroed. Please add support for all types of metrics known to Prometheus.

Thank you. It seems like when an histogram is pushed, values are zeroed. Please add support for all types of metrics known to Prometheus.

Yes, you right, missing summary and histogram types. I will add it.

@roidelapluie did you have time to review the last changes ?

Much of the code seems similar to that in https://github.com/prometheus-community/avalanche/blob/main/metrics/write.go; could we have a library that both projects use?

It will be nice..

Love this! I actually got here because I wanted to implement something similar, so thanks for taking care of it! :D
I think someone else is going to have to review the command and flags for convention since I never worked much on promtool, but the rest of the code looks good to me.

Thanks, before I was using a custom tool https://github.com/fgouteroux/prom-push-cli, but at the end I have too many tools to perform something which can be in one, promtool. So I was really not sure that it could be integrated to promtool.

Thanks!

Happy to make my 1rst contribution !


fix(amplify-headless-interface): added lambda auth type for headless api payloads

Description of changes
Added AWS_LAMBDA auth type to AddApiRequest.schema.json & UpdateApiRequest.schema.json

Issue #13728

Description of how you validated changes
Tested against the following -

Add API payload -
myAddApiRequest.json

{
    "version": 1,
    "serviceConfiguration": {
        "serviceName": "AppSync",
        "apiName": "newHeadlessApi",
        "transformSchema": "type Salary @model @auth(rules: [{ allow: custom }]) {\r\n  id: ID!\r\n  wage: Int\r\n  currency: String\r\n}",
        "defaultAuthType": {
            "mode": "AWS_LAMBDA",
            "lambdaFunction": "hello"
        }
    }
}

todo-backend % cat myAddApiRequest.json | jq -c | /<path>/amplify-dev add api --headless
GraphQL schema compiled successfully.

Edit your schema at /<path>/todo-backend/amplify/backend/api/newHeadlessApi/schema.graphql or place .graphql files in a directory at /<path>/todo-backend/amplify/backend/api/newHeadlessApi/schema

Update API payload -
myUpdateApiRequest.json

{
    "version": 1,
    "serviceModification": {
        "serviceName": "AppSync",
        "apiName": "newHeadlessApi",
        "defaultAuthType": {
            "mode": "AWS_LAMBDA",
            "lambdaFunction": "world"
        }
    }
}

todo-backend % cat myUpdateApiRequest.json | jq -c | /<path>/amplify-dev update api --headless
GraphQL schema compiled successfully.

Edit your schema at /<path>/todo-backend/amplify/backend/api/newHeadlessApi/schema.graphql or place .graphql files in a directory at /<path>/todo-backend/amplify/backend/api/newHeadlessApi/schema

Checklist

[x] PR description included
[x] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
[ ] Pull request labels are added

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

@vishal-dms the change looks good but you have to fix formatting.
Could you please run yarn prettier-write see here and amend the PR ?

@vishal-dms the change looks good but you have to fix formatting. Could you please run yarn prettier-write see here and amend the PR ?

I've run yarn prettier-write and amended the minor formatting changes in the same commit


[BUG]

Describe the bug
Cannot edit the peer configuration and the service fails to start.
To Reproduce
Could provice configuration regarding Wireguard if needed, but it was the same bug every time I rebooted.
Expected behavior
Open the peer configuration and make changes, the service wireguard should start and function as with the 0.1.3 version.
Screenshots
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ']' in /usr/local/www/wg/vpn_wg_peers_edit.php on line 221
Version information (please complete the following information):

PfSense: 2.5.1-RELEASE (amd64)
WireGuard-tools: wireguard-tools-lite-1.0.20210424
WireGuard-kmod: wireguard-kmod-0.0.20210606
pfSense-pkg-WireGuard:  pfSense-pkg-WireGuard-0.1.4_1

Additional context
Add any other context about the problem here.

Fixed in #129 I just kicked off a new build. should be built soon.


Website : Simplify / finish in progress content

[x] Rework https://www.goblinsatcode.xyz home page's content
[x] Finish https://www.goblinsatcode.xyz/about.html 's "bio" part
[x] Integrate https://github.com/Maeevick 's content on the website
[ ] Integrate "North Star" and "Evolution Path" on the website

North Star in progress


Prevent client from logging

Is there a way to prevent the client from logging? I want to conditionally log errors thrown by the client when they arise.
I.e these:
ERROR [2018-08-25 22:45:18,265] com.google.cloud.bigtable.hbase.AbstractBigtableTable: Encountered exception when executing put.
! com.google.bigtable.repackaged.io.grpc.StatusRuntimeException: NOT_FOUND: Table not found: <omitted-url-to-table>
! at com.google.bigtable.repackaged.io.grpc.Status.asRuntimeException(Status.java:517) ~[bigtable-hbase-1.x-shaded-1.5.0.jar:na]
! at com.google.bigtable.repackaged.com.google.cloud.bigtable.grpc.async.AbstractRetryingOperation.getBlockingResult(AbstractRetryingOperation.java:474) ~[bigtable-hbase-1.x-shaded-1.5.0.jar:na]
! at com.google.bigtable.repackaged.com.google.cloud.bigtable.grpc.BigtableDataGrpcClient.mutateRow(BigtableDataGrpcClient.java:236) ~[bigtable-hbase-1.x-shaded-1.5.0.jar:na]
! at com.google.cloud.bigtable.hbase.AbstractBigtableTable.put(AbstractBigtableTable.java:348) ~[bigtable-hbase-1.x-shaded-1.5.0.jar:na]
! at com.sift.db.bigtableloadtest.BigtableMirror.lambda$put$11(BigtableMirror.java:321) [classes/:na]

I know that the table is missing and this is actually not an error and is intentional.
Thanks!

Can you do this in Log4j settings?

Yeah, I tried, but perhaps I'm doing it wrong in our setup, I'm gonna close this until I have more confidence I'm setting things up correctly.


PyTorch implementation?

Hi,
Do you have the biLM codes in PyTorch? The readme says you have PyTorch implementations, but that points back to the allennlp homepage.
Thanks a lot,
Andy

See: https://allennlp.org/elmo
and https://github.com/allenai/allennlp/blob/master/tutorials/how_to/elmo.md
Training isn't yet supported but will be soon.

Hi @matt-peters, I wonder if training ELMo is supported in PyTorch version now?


Implement protobuf validation

Description:
Validation of the generated protobuf package is not yet implemented. let's change it. Right code should be placed heree.

https://github.com/pPrecel/cloudagent/commit/fda7146cf641d1400c03ce1813054373d81036de


Fix react example

Fix react example.
https://github.com/tomjs/vite-plugin-vscode/pull/12
There is double management with the code generated by @tomjs/create-app and the samples in this repository.
If possible, it would be better to have it automatically rewrite the other place when you change one place.
I didn't have the energy to go that far.😂
PS: The PR is just a summary of what I've tried, so if you want to organize the directory or automate the rewriting, you don't need to worry about it.

Multiple acquireVsCodeApi() instances will conflict, thanks to PR #12


beta 1.8 support

mc beta 1.8 had different worldgen to current versions although its not exciting terrain, some seeds that have been found are good for beta 1.8

Thanks for the suggestion, but I am not considering it at this time.


Add Linux icons

This PR adds various icon sizes in png format to resources/linux/icons/. It's part of https://github.com/atom/atom/pull/5339
@eestrada Feel free to rename and/or delete if not all sizes are needed.

@simurai, thanks!


How to add digital filter?

Hi, thank you so much for your work. It's awesome, I'm planning to add low pass filter in the ESP32_INMP441_BT_SERIAL_ARDUINO_IDE to remove the ambient/jittering noise, but I'm only a beginner and I'm not sure how and where to add the code for this. I don't have any idea how to start. If you could just point me in the right direction, maybe I'd manage.
Thank you again, keep up the good work!

@rmond18 I'd rather consider adding filtering in the app to handle it than adding filtering in ESP32. It's more restrictive in processing data in ESP32. If I have a chance, I'll try. Good luck!


Fix invalid call on set_status/3

Codecov Report

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

@@          Coverage Diff          @@
##           master    #10   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines          14     14
=====================================
  Hits           14     14

Impacted Files
Coverage Δ

lib/opencensus/plug/trace.ex
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Caught Exception

Does Fabric handled caught exception automatically like uncaught exception?

What issue you are facing?

The Fabric docs may be a better place to look for answers to this question. I use fabric to check for crashes, and it works great for that. I'm interested in adding logging for other output, but we don't have more detailed logging right now, if that's what you're seeking.


Documentation for Automation Tasks Stop VM and Deallocate

Can you provide documentation on the Stop VM and Deallocate Tasks? Were there changes to the behavior of Stop VM? Or is there a way to add logic to check VM State and if in Deallocated State, do not set it to Stopped state? Or maybe a warning that a deallocated VM can go into Stopped state and accrue charges.

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

ID: 72c9451e-ea33-b66f-ffe7-958f9725fdcf
Version Independent ID: 67b94bb9-c6a1-e6d9-0c2f-1eccc8f67dce
Content: Create automation tasks to manage and monitor Azure resources - Azure Logic Apps
Content Source: articles/logic-apps/create-automation-tasks-azure-resources.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

Hi @samyi001,
You can view the underlying workflow and steps for a task: Edit the task's underlying workflow.
For technical questions about the task's underlying behavior, please post your question in the Azure Logic Apps Q&A forum: https://docs.microsoft.com/en-us/answers/topics/azure-logic-apps.html

@samyi001: I've added your request to our work backlog.
@mike-urnun-msft: #please-close


Canceled navigation attempts add current route to history

When navigating to a route and a view model on the new route cancels the navigation using canActivate a navigation entry is still added to the history stack for the route you were trying to leave. This causes any bound places using router.navigateBack() to require the user to keep activating the number of times the previous route activation was canceled.
I've created a sample application which shows this in the particular setup I'm trying to use route canceling and navigate back functionality. The premise is a user selects an item from a list and can view the item details, while viewing the details they can choose to edit that item. If they edit an item, any attempts to select another item should be canceled until the user accepts or cancels editing.
https://gist.run/?id=8a0c33d8974da2271088
In my main application I realized I could get around this because of the tight coupling between the list and edit panels. But if I had any other elements on the page that triggered navigation and a resulting view model canceled the navigation I'd have this same problem.
Looking at the history object, it appears that the currently active route gets a new entry pushed onto the history stack when the routing is canceled.

Cancellation should be replacing the route with the previous route. We will need to investigate further since we haven't seen this before.

If it is still not fixed, why nobody else complains?
Maybe it is OK?

Today I stumbled upon this issue. Any suggested workarounds at the moment?


Fleet: Workspace filter "moves" workspace group to the top on Fleet Dashboard

Addresses Github issue: #5406
Addresses Zube issue: #5432

remove feature where workspace filter shifted the selected workspace information on fleet dashboard

CC @Shavindra @nwmac

LGTM.


Added options ngDisableOnChange, ngDisableOnKeyUp and ngDisableOnBlur…

… to control how changes in ckeditor is digested by angularjs.
We are having many ckeditors in one page and the data is pretty big. AngularJS digesting every key press makes the page really annoying and slow to edit. This change would allow controlling how the changes in ckeditor is digested by angularjs and helping to make our page usage smoother.

Made the release 0.2.2 to my fork, because we need this now and changed to use our fork, but will gladly come back if there is way to control that in ng-ckeditor. Doesn't need to be like I did, but functionality wise it should at least what this offers.

You could also debounce the setModelData function with a reasonable delay, such that is not fired as often and typically not when people are writing.
This has the added benefit, that the event will eventually fire, such that you will not have to wait for a blur event to update the model (if, for example you have other view components dependent on the model state, such as a Submit button which is only enabled when there is content).
I have fixed our performance issues by this little change.

Well delay is kind of bad in my case, as one can edit the text and press save directly and if angular haven't digested the edited text then save will send the old one.
I'm using that https://github.com/bestis/ng-ckeditor/commit/bd1e2c05c5bf1383122c2b94447b71f10899defc element.bind and still can sometimes fail, especially if browser seems to be on the slow side, but editing the text is nice.
Played with debounce, something like the documentation says "ng-model-options="{ updateOn: 'default blur', debounce: { 'default': 500, 'blur': 0 } }"", but the default action was still too slow for the users.. Can't remember did I try that only with blur and how would have that worked. But now I'm pretty happy with that. If someone can do it better and get that merged to ng-ckeditor, or have done better ng-ckeditor, happy to drop my fork and use it :)


Upgrade to Apache Datasketches 4.0.0

Upgrade to Apache Datasketches 4.0.0
The 4.0.0 release incorporates some of the following changes that are relevant to implementations within Pinot:

API changes within Quantile Sketches, including the "SortedView" which is iterable and makes analysis of the quantile distribution even easier.
Theta Sketches have been enhanced with an optional compress operation that makes the serialized theta sketch smaller.

Note that Theta compression is not yet enabled as this would require all clients using raw sketches to be upgraded.  Although the Pinot codebase uses the ClearSpring HLL sketch, the Datasketches 4.0.0 release includes major speed improvements to the Apache Datasketches HLL implementation.

Codecov Report

Merging #10878 (b0f4c25) into master (a75544f) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master   #10878     +/-   ##
=========================================
  Coverage    0.11%    0.11%
=========================================
  Files        2186     2132     -54
  Lines      117353   114850   -2503
  Branches    17730    17428    -302
=========================================
  Hits          137      137
+ Misses     117196   114693   -2503
  Partials       20       20

Flag
Coverage Δ

integration1temurin11
?

integration1temurin17
?

integration1temurin20
?

integration2temurin11
?

integration2temurin17
?

integration2temurin20
?

unittests1temurin11
?

unittests1temurin17
?

unittests1temurin20
0.00% <0.00%> (ø)

unittests2temurin11
0.11% <0.00%> (ø)

unittests2temurin17
0.11% <0.00%> (ø)

unittests2temurin20
0.11% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...AvgValueIntegerTupleSketchAggregationFunction.java
0.00% <0.00%> (ø)

...n/DistinctCountThetaSketchAggregationFunction.java
0.00% <0.00%> (ø)

...umValuesIntegerTupleSketchAggregationFunction.java
0.00% <0.00%> (ø)

... and 54 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

LGTM, thanks for the upgrade David. 👍


Change Campfire Icons

DanielGolan suggested to change the texture of the icons of the campfire and the soul campfire. To have no fire.
To differenciate them some red/yellow or blue/white particles should be added.

I Am DanielGolan, if somebody asks.

Fixed with an additional resource pack; https://www.curseforge.com/minecraft/texture-packs/unlit-campfire-icons


Links to streaming

Note: WIP. Discussion is encouraged. This does not target our wiki deployment and will instead be its own project.
Goals
Allow users to discover legal streaming links for anime
User Stories
A user shall be able to discover links to legal streaming when browsing themes.
A user shall be able to query for links to legal streaming in the API.
Functional requirements
(Needs research, will revisit)

Idea: Support links to both music streaming services like spotify and anime streaming services like crunchyroll.

Sites such as Kitsu and LiveChart also have this function of showing legal streaming sites. AniPlaylist also has links to music streaming services. This might be helpful on how to do it or if the function is needed.

MAL now shows streaming sites now as well. https://myanimelist.net/forum/?topicid=1990845 Maybe that will help.

Added Song-Resource Pivot (#602)
Added new resource sites as Spotify, YouTube Music, YouTube, Apple Music & Amazon Music (#603)


request: easy localization

I very much appreciate that you made this, as I'm very interested in setting up erpnext for our association, but it's quite the uphill climb due to how difficult it is to find fairly core features like this one.
That said, currently your conversion tool is only usable for german sourced camt053 files. Would you be willing to refactor it so that it becomes easier to provide or enter the field names into a file? German is very close to Dutch but the import tool still can't handle it if I try to convert them. :)

Feel free to contribute this feature or just copy the source and edit it for your purposes.
I'm currently working on EBICS support for ALYF Banking, where you'll be able to download and parse camt files from your bank, regardless of the language.


Discriminators is not working

app.js
const feathers = require('feathers');
const errorHandler = require('feathers-errors/handler');
const rest = require('feathers-rest');
const bodyParser = require('body-parser');
const mongoose = require('mongoose');
const service = require('feathers-mongoose');
const Post = require('./post');
const Model = require('./message-model');

// Tell mongoose to use native promises
// See http://mongoosejs.com/docs/promises.html
mongoose.Promise = global.Promise;

// Connect to your MongoDB instance(s)
mongoose.connect('mongodb://localhost:27017/feathers');

// Create a feathers instance.
const app = feathers()
  // Enable REST services
  .configure(rest())
  // Turn on JSON parser for REST services
  .use(bodyParser.json())
  // Turn on URL-encoded parser for REST services
  .use(bodyParser.urlencoded({ extended: true }))
  // Connect to the db, create and register a Feathers service.
  .use('/messages', service({
    Model,
    lean: true, // set to false if you want Mongoose documents returned
    paginate: {
      default: 2,
      max: 4
    }
  }))
  .use(errorHandler());

// Create a dummy Message
// app.service('messages').create({
//   text: 'Message created on server'
// }).then(function (message) {
//   console.log('Created message', message);
// });
var options = {
  discriminatorKey: '_type'
};

var TextPostSchema = new mongoose.Schema({
  text: { type: String, default: null }
}, options);

TextPostSchema.index({'updatedAt': -1, background: true});

// Note the use of `Post.discriminator` rather than `mongoose.discriminator`.
const TextPost = Post.discriminator('text', TextPostSchema);

// Using the discriminators option, let feathers know about any inherited models you may have
// for that service
app.use('/posts', service({
  Model: Post,
  discriminators: [TextPost]
}));

app.service('posts').create({
  text: 'Message created on server'
}).then(function (message) {
  console.log('Created message', message);
});

// Start the server.
const port = 3030;
app.listen(port, () => {
  console.log(`Feathers server listening on port ${port}`);
});

post.js
var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var options = {
  discriminatorKey: '_type'
};

var PostSchema = new Schema({
  createdAt: { type: Date, 'default': Date.now },
  updatedAt: { type: Date, 'default': Date.now }
}, options);

PostSchema.index({ 'updatedAt': -1, background: true });

var PostModel = mongoose.model('Post', PostSchema);

module.exports = PostModel;

message-model.js
const mongoose = require('mongoose');

const Schema = mongoose.Schema;
const MessageSchema = new Schema({
  text: {
    type: String,
    required: true
  }
});
const Model = mongoose.model('Message', MessageSchema);

module.exports = Model;

Results:

use feathers
switched to db feathers
show collections
posts
db.posts.find({});
{ "_id" : ObjectId("590b0de0b4c4db53d6fe27d5"), "updatedAt" : ISODate("2017-05-04T11:17:52.947Z"), "createdAt" : ISODate("2017-05-04T11:17:52.947Z"), "__v" : 0 }

Question is:
I expected that, there is a field name "text" when i run db.posts.find({});. But i follow by guide line, it's not work. Please help me

@dattq6 please wrap all code blocks in fences (trip back ticks)  .  You can also get highlighting by doing js on the opening code block.
```js
// insert code here
```

@marshallswain ,
Thank for reminding me, please take a look and please help me resolve my ploblem

Thanks for fixing those examples.  That's much easier to read.  I've not used the feature, so I'm not going to be much help.  Maybe @startupthekid will see something obvious going on in your code.

Hey @dattq6, sorry for the late response. I don't see anything immediately wrong with your code that sets up the discriminators. However, when you do a find using a feathers service:
const service = hook.app.service('posts')
service.find({
    query: {
        _type: 'text'
    }
});

you have to include the discriminator key in your query to specify what type you're looking for. In your case, I believe the syntax would look like:
db.posts.find({
    '_type': 'text'
})

That should return the model you're looking for.

I don't know if you already figured this out, but you must also send the discriminatorKey (in this case _type).
app.service('posts').create({
  _type: 'text',
  text: 'Message created on server'
});

Closing since it looks like it has been solved.


s3tests: modify test_get_object_ifmodifiedsince_failed

Use key's last_modified instead of local time
Signed-off-by: Yehuda Sadeh<EMAIL_ADDRESS>

@andrewgaul here's the modified test, how does this one look?

:+1:


There was an error while loading  App. Store

App Information

Name:
Short Description:
Official Website:
GitHub Repository:
Docker Image:

Why do you want this app?

Additional information?
Unable to download any application due to error when loading App Store

I have the same problem


suggest your papers here!

Trans-Unet https://arxiv.org/abs/2102.04306

U^2-Net https://arxiv.org/abs/2005.09007

Restormer https://arxiv.org/abs/2111.09881

it will also come complete with conditioning, so it can be used straightforwardly in DDPMs

"iUNets - Fully invertible U-Nets with Learnable Up- and Downsampling", https://arxiv.org/abs/2005.05220, https://github.com/cetmann/iunets
“Mask2Former - Masked-attention Mask Transformer for Universal Image Segmentation", https://bowenc0221.github.io/mask2former/
Looking forward to the code! :-)

Hi Micpie! 👋
Is Maskformer considered a unet?? I guess it does have downsamples and then upsample layers

Hi Phil,
yeah, Mask2Former is a little bit different from the standard UNet setup, which very likely makes it tricky to implement it in one abstraction (but I wanted to bring it up, because of the good results they achieved).
This is another interesting approach:
"CoTr: Efficiently Bridging CNN and Transformer for 3D Medical Image Segmentation", https://arxiv.org/abs/2103.03024, https://github.com/YtongXie/CoTr
I'm pretty excited of mixing convs + attn for UNets due to https://github.com/xxxnell/how-do-vits-work
I also recently rewrote your UNet code from https://github.com/lucidrains/denoising-diffusion-pytorch/blob/master/denoising_diffusion_pytorch/denoising_diffusion_pytorch.py#L180 to use it as "normal" UNet, but then had to postpone testing it due to other work coming up, but this is why I'm looking forward to your x-unet even more. :-)
Cheers,
Michael

@MicPie ok, let me figure out the main inductive bias behind maskformer and get back to you :)

@MicPie are you using any u-nets at your medical imaging workplace?

@MicPie are you using any u-nets for your AI medical imaging work?

Yeah, I would say UNets are still the standard there.
If I remember it correctly one of the nnUnet authors (https://github.com/MIC-DKFZ/nnUNet) once mentioned that a well trained UNet is hard to beat. (But training them properly can be of course tricky. ;-) )

@MicPie yea, even the transformers side seems to converge on the same structure (https://arxiv.org/abs/2110.13711 and https://arxiv.org/abs/2202.10890)
i'll see what i can do to push things forward :)

U-Net_and_Its_Variants_for_Medical_Image_Segmentation_A_Review_of_Theory_and_Applications.pdf
:eyes:

wow, unet++ looks pretty cool!

Thank you for sharing, I didn't know the "Hierarchical Perceiver" paper and the one about UNet variants. 🙏
UNet++ looks really fancy, the corresponding paper has also some nice figures with the setup: https://arxiv.org/abs/1807.10165
(There is also a PyTorch version out, but with a lot of hard coded connections in the forward: https://github.com/hellopipu/unet_plus/blob/master/model.py)

https://arxiv.org/abs/1906.06148

Hi @lucidrains, please check out our [CVPR2022-Oral] "MAXIM: Multi-Axis MLP for Image Processing", a multi-stage UNet with (standalone) multi-axis MLP layers. It is concurrent work with Restormer with similar performances on multiple low-level tasks.
We provide Jax code here: https://github.com/google-research/maxim
Paper: https://arxiv.org/abs/2201.02973

Imagen (needs no introduction) proposes some interesting improvements as a so-called "Efficient U-Net". Might be worth checking out Appendix B.1 for a summary.

UNet++: A Nested U-Net Architecture for Medical Image Segmentation
Attention U-Net: Learning Where to Look for the Pancreas
TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation
UNETR: Transformers for 3D Medical Image Segmentation
Swin-Unet: Unet-like Pure Transformer for Medical Image Segmentation
Swin UNETR: Swin Transformers for Semantic Segmentation of Brain Tumors in MRI Images

@vvvm23 i'll see if i can port over the logic in a clean manner

UNet++: A Nested U-Net Architecture for Medical Image Segmentation Attention U-Net: Learning Where to Look for the Pancreas TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation UNETR: Transformers for 3D Medical Image Segmentation Swin-Unet: Unet-like Pure Transformer for Medical Image Segmentation Swin UNETR: Swin Transformers for Semantic Segmentation of Brain Tumors in MRI Images

great list!

I think this paper is worth looking at

UCTransNet: Rethinking the Skip Connections in U-Net from a Channel-Wise
Perspective with Transformer

https://github.com/3dim-paper/website
Talks about X-Unet, based on imagen


Publish

Docs Build status updates of commit 96f9762:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/custom-functions-json.md
:white_check_mark:Succeeded
View

docs/overview/office-add-in-availability.md
:white_check_mark:Succeeded
View

docs/reference/requirement-sets/excel-api-requirement-sets.md
:white_check_mark:Succeeded
View

docs/reference/requirement-sets/excel-preview-apis.md
:white_check_mark:Succeeded
View

docs/reference/requirement-sets/powerpoint-api-requirement-sets.md
:white_check_mark:Succeeded
View

docs/reference/requirement-sets/powerpoint-preview-apis.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Update Composer dependencies (2021-07-04-00-11)

Visual regression test passed!
View the visual regression test report


Discontinue Code Coverage enable support for Ant builds

Cherry-pick commits from https://github.com/Microsoft/vsts-tasks/pull/2604

If this is a breaking change, the version should move to 2.0 and the preview flag should be true.  We are enabling that support in 107.  Follow up with Scott on my team.
https://github.com/Microsoft/vsts-tasks/blob/master/docs/stability.md
You should consider holding for 108.


javascript api code sample fails in firefox

re: the javascript code sample on the ipify home page:
<script` type="application/javascript">
  function getIP(json) {
    document.write("My public IP address is: ", json.ip);
  }
</script>

<script type="application/javascript" `src="https://api.ipify.org?format=jsonp&callback=getIP"></script>

that exact code works in edge, chrome, brave, and safari.  but i can't get it to generate anything in firefox. (i tested it in firefox on various PCs and i verified that javascript is enabled in the test firefox browsers.) it doesn't even output the "My public IP address is:" string; let alone the ip address.
any thoughts? fixes? thank you very much!!!!!

so, supposedly it might be that firefox is extra strict with async document.write()s.  unless i'm missing something, using document.getElementById instead seems to work in firefox and other browsers as well:
<script type="application/javascript">
   function getIP(json) {
     document.getElementById("ip-address").innerHTML = "My public IP address is: " + json.ip;
   }
 </script>

 <script type="application/javascript" src="https://api.ipify.org?format=jsonp&callback=getIP">


[WIP]raft store: follower replication for write-flow

What is changed and how it works?
Issue Number: ref #13269
What's Changed:

* Record and maintain availability zone information in Peer.
* Definition new PeerMsg that updates AZ information in Peer, when TiKV server resolves status from PD.
* Merge MsgAppend into MsgGroupBroadcast in the function that builds raft messages.

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

No code

Side effects

Performance regression

The peers receiving log entries from the agent follower have more latency than leader election.
If the agent follower is down or partitioned, the leader may not replicate data to other peers in this AZ in a short. This situation will recover quickly.

Breaking backward compatibility

Release note
This feature introduces a new mechanism in Raft algorithm which allows a follower to replicate log entries or snapshots to other followers and learners. This feature is mainly aimed to reduce cross-AZ (short for Availability Zones) traffic in data synchronization between TiKV instances and TiFlash instances via Raft consensus algorithm.

In the classical Raft protocol, a follower or learner can only receive new raft log entries and snapshots from the leader. It inevitably leads to a large amount of cross-AZ traffic, because the leader has to replicate data to every follower and learner even in different AZ.
With follower replication, the leader only needs to replicate data one follower in each AZ, and this follower will replicate data to other followers and learners in the same AZ, which avoids a lot of cross-AZ traffic.

Replaced by PR #13533.


[ODM] Add support for document reference

Add a @Document(path)
Originally posted by @CiriousJoker in https://github.com/FirebaseExtended/flutterfire/discussions/7475#discussioncomment-1795752

Hey. @rrousselGit  I believe that this is a different use case, but  I am looking for a solution for field type of Reference
As an example, a product document has a reference field called company
or an order that has multiple reference fields: user, product, company, etc.
How would I use firestore ODM to represent this?
I don't really have any good ideas to solve this.
Thanks for helping!

Ok. Upon further reading, and use, I think I now understand, that this @Document(path) would in fact solve my problem exactly.
and that my solution would look something like this when @Document(path) is available:
if I have these top level collections, users, companies, products, purchases
where a purchase doc has many document references.

doc ref to the user
doc ref to the company
an array of doc ref to many products. I assume this one may somehow use the @Collection annotation. but is that even possible yet?

@JsonSerializable()
class Purchase {
  Purchase({
    required this.price,
  }) {
    _$assertSubscription(this);
  }

  @Min(0)
  final int price;
}

@Collection<Purchase>('purchases')
@Document<User>('users/*', name: 'user')
@Document<Company>('companies/*', name: 'company')
@Collection<Product>('products', name: 'products') // <- this one is am unsure of. How could we reference an array of References?
final moviesRef = MovieCollectionReference();

@AirborneEagle this issue is unrelated to properties of type Reference

Moved here: https://github.com/FirebaseExtended/firestoreodm-flutter/issues/24


Parallel by default, unless the system doesn't support it

From https://code.google.com/p/ndmitchell/issues/detail?id=606
HLint should probably run in parallel by default, because there's no real reason not to.
The HLint Manual recommends running hlint -Nn, setting n manually to the number of processors on the computer.
In modern GHC, n is best omitted. -N with no options automatically uses the number of processors on the computer.
We could improve and simplify the manual at the same time by adhering to this best practice.

Using the maximum number of available processors is a very bad idea. HLint is not the only program on my machine and I do not want that it employs all processors automatically. Even more, my machine has only 4 independent cores but 2 hyperthreads on each core. That is, I have a total number of 8 hyperthreads and they are all considered processors by the system. This is somehow correct but I never observed any speedup when exceeding the number of my cores (i.e. 4). Most oftenly even 3 threads are more efficient than 4 ones. I urge you to keep the default number of threads to 1 and let the user explicitly choose required computing ressources.

I'm honestly not too fussed. I rarely run HLint on things which take long enough to justify parallelism - 3s at -j1 is sufficient to not bother caring. If people have different opinions, please do weigh in.

Why don't we use the half of the available cores by default? This avoids performance degradation with hyperthreaded cores and allows some decent speedups. I think we should by default use the strengths haskell provides.

On Sun, 10 Apr 2016, quxbar wrote:

Why don't we use the half of the available cores by default? This avoids
performance degradation with hyperthreaded cores and allows some decent
speedups. I think we should by default use the strengths haskell
provides.

Do we have to prove something to the non-Haskell-enthusiasts?

I don't understand your question. This issue is about defaults and I would argue, that there are more people which appreciate small speedups than people which are worried about that all cores are used on a machine.

On Sun, 10 Apr 2016, quxbar wrote:

I don't understand your question. This issue is about defaults and I
would argue, that there are more people which appreciate small speedups
than people which are worried about that all cores are used on a
machine.

I prefer to tell programs explicitly what to do. What is the problem with
telling HLint the number of cores to use? There is no universally good
number of cores to use.

On Sun, 10 Apr 2016, amigalemming wrote:

I prefer to tell programs explicitly what to do. What is the problem with
telling HLint the number of cores to use? There is no universally good number
of cores to use.

I also think that HLint's speed is really mostly determined by the speed
of the file access, that is, I expect more cores won't accelerate much but
instead may make processing even slower.

As I said, we're talking about defaults. That doesn't infer with your preference to tell programs explicitly what to do, you can always pass a -j1 or similar. Besides that, the question is not about a universally good number, but about a statistically good number.
Being bad for performance is a valid argument against it. Perhaps somebody has numbers of typical speedups?

HLint is mostly CPU bound - file access is a fairly minimal part of its job. I don't doubt that with properly chosen defaults it would take less wall time.


Use the latest OCP version as default

Signed-off-by: Yussuf Shaikh<EMAIL_ADDRESS>

/approve


for-merge-2

A second set of patches toward making the jobs more generic.
With the patch 'Use generic values for credential IDs' you'll need to create new Jenkins credentials with IDs GPG_SECRET_KEY_FILE, GOOGLE_APPLICATION_CREDENTIALS and MANIFEST_BUILDS_KEY.

Closing as a subset of #3.


How about Angular 2?

Hi Miliu, that's actually on my list of things to do :) which means that I will get to it eventually.
I have been asked to port this library to react, angular 2 will come soon after.

Hi, @g1eb any updates on when angular 2 version would be available?

Hi! Sadly no, it would depend on how much demand there is for it. Can't say for sure when I'd get to do this one.


 This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@pelson Don't quite understand why the build failed ...

Me neither... https://github.com/conda/conda-build/issues/2362#issuecomment-344603157 😉
I have pushed a fix. Let's see how that does.

@pelson So we don't trample on each other toes, I'll push the conda-build-all changes to it's feedstock ...

Thanks @bjlittle. I've cut the tag.

All good this end.

🤞  for downstream ... 😉

Just about to find that out ...

@pelson Downstream is good! 🍻


Default font style not applied on older platforms <4.0.4

I test the calligraphy styled application on a older android 4.0.4 (GT-P7100) with the result that the font is not applied. It seems that the default definition isn't applied which i have declared in this way:
    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="android:textAppearance">@style/LightTextAppearance</item>
    </style>

    <style name="LightTextAppearance" parent="android:TextAppearance">
        <item name="fontPath">fonts/LightWeb.ttf</item>
    </style>

This worked fine so far on other devices and api level. What can i do further solving this issue?

Here's what README.md says about this:
Define your default font using CalligraphyConfig, in your Application class in the #onCreate() method.
@Override
public void onCreate() {
    super.onCreate();
    CalligraphyConfig.initDefault(new CalligraphyConfig.Builder()
                            .setDefaultFontPath("fonts/Roboto-RobotoRegular.ttf")
                            .setFontAttrId(R.attr.fontPath)
                            .build()
            );
    //....
}

Note: You don't need to define CalligraphyConfig but the library will apply no default font and use the default attribute of R.id.fontPath.

I had exactly this set, but without effect. I changed the font right now, and now it works as expected. Seems the font is the problem. The font can just set in the styles to work.

OTF fonts are a pain they hardly work. And you need to use well formatted TTF, (Generally Webfonts work)

But what lets me wonder it seems there is a difference in handling the font. Then it works well when i set it in styles.xml, programmatically in application class has no effect. I have attached the font t let you confirm.
BrooklynSamuelsNo5-LightWeb.ttf.zip

Post a sample of how you are setting it too. Cheers.
On Wed, 20 Apr 2016, 06:38 Daniel Rindt<EMAIL_ADDRESS>wrote:

But what lets me wonder it seems there is a difference in handling the
font. Then it works well when i set it in styles.xml, programmatically in
application class has no effect. I have attached the font t let you
confirm.
BrooklynSamuelsNo5-LightWeb.ttf.zip
https://github.com/chrisjenx/Calligraphy/files/227261/BrooklynSamuelsNo5-LightWeb.ttf.zip
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/chrisjenx/Calligraphy/issues/277#issuecomment-212267293

    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
       ...
        <item name="android:textAppearance">@style/LightTextAppearance</item>
    </style>

    <style name="LightTextAppearance" parent="android:TextAppearance">
        <item name="fontPath">fonts/BrooklynSamuelsNo5-LightWeb.ttf</item>
    </style>
´´´

This is how i add it. And it works on platforms >4.0.4.
Applications onCreate:

CalligraphyConfig.initDefault(new Builder()
.setFontAttrId(R.attr.fontPath)
.build());
´´´
It makes no difference if i add this too:
.setDefaultFontPath("fonts/BrooklynSamuelsNo5-LightWeb.ttf")
´´´

If i set another ttf there it works.

Oh of interest what is the other TTF?

actadisplay-bold-webfont.ttf.zip

Yeah the fonts are loaded the same way, have a look. one one works through styles only pre 4.0.4 is bizzare...

Yes, thank you for caring!


Safari in iOS6 takes a while to display selected files

I'm not sure if this issue is specific to FineUploader mode, or if it is deeper.  I was able to reproduce this with 3.5 as well, so I'm wondering if there were some changes in iOS 6.1.4 that involved Safari.  If so, perhaps these changes introduced a bug, or Fine Uploader needs to make some adjustment to function a bit snappier in iOS.
I'll take a closer look at this on Tuesday.  I'm not sure this will hold up the release, but maybe.

This issue still exists in iOS 8.4.

Maybe change the title of this issue? It's not limited to Safari or iOS6. I see it happening with all browsers on all iOS versions.

That's because all browsers in iOS are Safari, for the most part. But Fine Uploader only explicitly supports Safari Safari anyway.


No need to turn ingressControllerMode=off manually

Based on https://github.com/maistra/istio/pull/390#issuecomment-874092691

This is going to build once https://github.com/maistra/istio-operator/pull/766 is merged.

/test istio-operator_gen-check

Why? Can you explain it in the commit message? Can you create a Jira for it?

@jwendell  Added JIRA for this https://issues.redhat.com/browse/MAISTRA-2493


New and changed eventsub subscription types

Following new eventsub subscription types need to be added on top of #103

Subgift
Re-Sub Message (when sharing)
Extension Bits Transaction Creation

After coming out of beta , the "channel.unsubscribe" event type was renamed to "channel.subscription.end"

Thanks! Could you squash or remove the merge merge commit? I'd like to keep the commit history clean by only allowing rebase merging 😄

Commits squashed.
Please check, if it is correct

Looks good, thanks 👍


Update google-cloud-bigquery to 1.127.5

Updates com.google.cloud:google-cloud-bigquery from 1.127.4 to 1.127.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-bigquery" } ]

labels: library-update, semver-patch

Superseded by #37.