Problems setting up multiple sub domains for Meteor using mupx

Hi,
I have a question over on stackoverflow I'm hoping you could help me with?
http://stackoverflow.com/questions/16283045/trouble-with-nginx-and-multiple-meteor-nodejs-apps?rq=1
I have mupx working great, thank you for this! And I have deployed the same Meteor app twice on the same digital ocean server. I can access both apps using the digital ocean IP address and the port specified but I want to setup sub-domains and use nginx to route to the correct app but I'm struggling to set this up. I have installed and configured nginx but it doesn't look to be working. Both my apps are still accessible via the IP address and the sub-domains aren't working.
I read somewhere that nginx has to be installed inside a docker? I'm fairly new to this and would really apprieate some help.
Your documentation mentions Multiple Deployments using nginx (https://github.com/arunoda/meteor-up/tree/mupx#multiple-deployments) so it must be possible.
Any help would be much appreciated.
Thanks, Matt.

I've resolved this now by following jwilder's nginx-proxy docker article...
https://hub.docker.com/r/jwilder/nginx-proxy/
Works perfectly without changing anything with mupx except for the addition of the VIRTUAL_HOST environment variable.


Allow multiple instantiations in the same account

[x] Set up filtering such that the module only listens to changes for specific state machines
[x] Use unique name for CloudWatch Event Rule to avoid it being overwritten in the same account

Fixed in https://github.com/nsbno/terraform-stepfunction-status-slack/pull/8


update packages

:white_check_mark: Build TheIdServer 4.3.2-fix-dependencies1-0018 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/24a6fa5136 by @)


No such file or directory

Description
What steps will reproduce the problem?

run a script by pressing F5

What is the expected output? What do you see instead?
The script runs normaly after it finishes I get an error message from Spyder
Please provide any additional information below
File "c:\python27\lib\site-packages\spyder\plugins\ipythonconsole.py", line 898, in set_working_directory
refresh_console=False)
File "c:\python27\lib\site-packages\spyder\plugins\workingdirectory.py", line 287, in chdir
self.refresh_plugin()
File "c:\python27\lib\site-packages\spyder\plugins\workingdirectory.py", line 203, in refresh_plugin
self.save_wdhistory()
File "c:\python27\lib\site-packages\spyder\plugins\workingdirectory.py", line 233, in save_wdhistory
encoding.writelines(text, self.LOG_PATH)
File "c:\python27\lib\site-packages\spyder\utils\encoding.py", line 236, in writelines
return write(os.linesep.join(lines), filename, encoding, mode)
File "c:\python27\lib\site-packages\spyder\utils\encoding.py", line 227, in write
with open(filename, mode) as textfile:
IOError: [Errno 2] No such file or directory: u'\Users\xxx\.spyder\workingdir'
Version and main components

Spyder Version: 3.2.1
Python Version: 2.7.10
Qt Versions: 4.8.6, PyQt4 (API v2) 4.11.3 on Windows

Dependencies
pyflakes >=0.5.0  :  1.6.0 (OK)
pycodestyle >=2.3 :  2.3.1 (OK)
pygments >=2.0    :  2.2.0 (OK)
pandas >=

Please run
spyder --reset

in a system terminal (cmd.exe) and try again.

spyder --reset did not help
I narrowred it further down:
What steps will reproduce the problem?

I did spyder --reset

I started spyder from a terminal in folder A

I loaded a script from folder A, I ran it

When I was asked for the configuration to run the script I chose:
Console:

Execute in current console

General settings:

noting selected

Working Directory settings:

The current directory of the file being executed

Other Settings:

nothing selected

When I run a scipt from folder A it's fine

When I run a script from an other folder I get the error message

I have no idea why this is happening, sorry. We'll try to take a look at this in a future release.

(base) C:\Users\Daniyal\Anaconda3>spyder
Traceback (most recent call last):
File "C:\Users\Daniyal\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3126, in main
mainwindow = run_spyder(app, options, args)
File "C:\Users\Daniyal\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3023, in run_spyder
main.setup()
File "C:\Users\Daniyal\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 840, in setup
self.workingdirectory = WorkingDirectory(self, self.init_workdir, main=self)
File "C:\Users\Daniyal\Anaconda3\lib\site-packages\spyder\plugins\workingdirectory.py", line 159, in init
self.chdir(workdir)
File "C:\Users\Daniyal\Anaconda3\lib\site-packages\spyder\plugins\workingdirectory.py", line 296, in chdir
self.refresh_plugin()
File "C:\Users\Daniyal\Anaconda3\lib\site-packages\spyder\plugins\workingdirectory.py", line 204, in refresh_plugin
self.save_wdhistory()
File "C:\Users\Daniyal\Anaconda3\lib\site-packages\spyder\plugins\workingdirectory.py", line 234, in save_wdhistory
encoding.writelines(text, self.LOG_PATH)
File "C:\Users\Daniyal\Anaconda3\lib\site-packages\spyder\utils\encoding.py", line 236, in writelines
return write(os.linesep.join(lines), filename, encoding, mode)
File "C:\Users\Daniyal\Anaconda3\lib\site-packages\spyder\utils\encoding.py", line 227, in write
with open(filename, mode) as textfile:
FileNotFoundError: [Errno 2] No such file or directory: '%DANIYAL\.spyder-py3\workingdir'

This is fixed now.

Wow, another closed and unresolved issue, The anaconda team are pretty slack it seems, going off anaconda big time

this issue is fixed
#-------------------------------------------------------------------------------------------------------------------
CODE
/home/ak/Desktop/automate_access
/home/ak/Desktop/automate_access
Traceback (most recent call last):
File "/home/ak/.config/spyder-py3/temp.py", line 7, in
file1 = open(r'api_key.txt')
FileNotFoundError: [Errno 2] No such file or directory: 'api_key.txt'

Hello all,
I am not able to open a file :( My Spyder version: Spyder 4.1.3
FileNotFoundError: [Errno 2] No such file or directory: 'devices'
Can somebody please help?


mapper input labels to be homogenuous

Less dependent on the user knowing the layout of both the SNES and PS3/4 controller.
Uses the same co-ordinate system for face buttons as used throughout the rest of Batocera:

Replaces L1/R1 with Left shoulder/Right shoulder and L2/R2 with Left trigger/Right trigger.
Replaces L3/R3 with Left stick press/Right stick press.
Specifies the "up/down/left/right" are for the D-pad.

I can understand ( and agree ) with the North/Sound thing, but I personnaly hate the "[...] ON SNES" thing.

To be honest, I just kept that there in case you wanted to keep the original abxy. I would prefer to not have the "... ON SNES" too, so I'll just remove them?

Now it looks like this:

Tested and ready to merge.

Any reason this hasn't been merged yet?

Hi, is it possible that this generated inconsistency between A & B buttons.
Now if we configure controllers according to the layout, EAST becomes the selection/validation button, and SOUTH brings you back from gamelist to system view.
Which is inconsistent with what is displayed at the bottom of the theme.
This is without A & B inversion set in developers options.

@Tartifless  That would be strange, as the only things I changed were the label strings, not any functionality.
Considering the time difference between "when this PR was made" and "when it was merged" was half a year, it is possible that ES now behaves differently. I will investigate, thank you.

I've just tested the latest build, and yes it works fine for me.
It's still possible that there was an issue, which fabrice has seemingly already made a fix for: https://github.com/batocera-linux/batocera-emulationstation/commit/a5dfcd0c85629b6906f2788c2404878dfe7576e4 so check that out when it gets built.

works fine for you because you did'nt test with Windows. A/B Buttons display & are inverted with Windows build
I fixed this.


Fix structure class names

👍Great job! But I suggest to use the CSS Naming Conventions will make your work looks more professional and easier to maintain.

Thanks a lot for your suggestion, It helps me a lot to improve my skills.
Thank you


Can't use font-awesome i tag as handle

I've just discovered this library today, and i really like it.
A couple of issues i'm encountering though, first with the use of a font-awesome styled , either within a span or not, this won't take it as the handle.
it will work ok with an empty span for instance, but as soon as i set the  tag inside the span, it stops working.
same thing with the  tag also holding the handle class

I'll need a demo with the bug please, could you put one up on codepen?

http://codepen.io/anon/pen/RPbXba
as requested, i've set up a codepen.
You will see i added 3 elements, one with a span with the font-awesome i tag inside, which works, one with only the i with both classes handle and font-awesome, which does not work, and one with only the span, that does work as well.
note sure why with no span, it does not work

One question relating to the codepen example: why does the element size changes will dragging, although it has fixed width from css?

you can ignore this post, the issue with the font-awesome was coming from the moves function, where the check was done on exact same class rather than has the handle class
the other question was due to the css being assigned via the container and not directly to the element, so when moving its style would change as well.


excluding schema-engine for prisma v5

Hello.
I'm sorry for the late reply as I haven't been able to spend a lot of time on open source due to my personal business.
The pull request merge went well and v1.2.0 has been released.
thank you


THRIFT-5358: Add go.mod file to root directory

Client: go
This unblocks the development under go 1.16+, which starts to complain
when there's no go.mod file in any of the directories.
The current approach is certainly not the best solution ever, for
example it does not run the tests under lib/go/test/tests but copy them
into lib/go/test/gopath/src/sometest and run them there instead, but
those improvements can be done in the future in follow up PRs and this
should be a good enough first step to unblock developments.

[x] Did you create an Apache Jira ticket?  (not required for trivial changes)
[x] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[x] Did you squash your changes to a single commit?  (not required, but preferred)
[x] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

It's ready for review now.
Note that I choose to add a single go.mod file at the root directory instead. As a result doing prefixed tagging (e.g. lib/go/thrift/v0.15.0) is no longer needed and it continue to be no extra steps for go releases.


Bug: hmr cause runtime error when add/delete title

reproduce:
change md file from an empty file into:
# t1

case the error

Do the opposite (delete the only title) also cause error.

https://github.com/mdx-js/mdx/issues/2444


Bug/add regex validation ouuid form

Q
A

Bug fix?
Y

New feature?
N

BC breaks?
N

Deprecations?
N

Fixed tickets
N

More characters are unauthorized in url => need to validate authorized character in Ouuid field

Hello,
Travis is blocking, it worked on your first branch (master) but the one on "develop" is not working. I am closing the PR, can you open a new one?

Reopening is not working as the same build of travis is reactivated...


Name File Scanner doesn't work on .ASI

Hello, the mpq editor is able to open the asi in post #217 https://drive.google.com/u/0/uc?id=1EHMjX2PmQK-NG--Fk07wzAHsJzS6CyeR&export=download
However, when using name file scanner on it, nothing shows up.

Did you try Live Scanner? Because Name Scanner kinda expects W3 map-like MPQs.

I have but it doesn't work on it as it says I'm missing game dlls.

There was a bug in current build of MPQ Editor - the ASI file was copied to the Maps subfolder of the game, instead of to the game root folder. I fixed it, get the latest build from my webpage.

First of all, you need a copy of older Warcraft III (1.26a)
Then, open the ASI file in MPQ Editor.
Go to Tools \ W3X Name Scanner
Make sure that there is proper path to Warcraft III in the Game path edit field
Check [x] I'll load the map manually from the game
Click Scan (the lower one)
In the game, you should see the mouse cursor with a trail. That's a proof that the ASI file is there properly. Alternatively, you can check whether the ASI file is placed to the game root folder.
Load a map that actually uses files from the ASI file and play for a while.

Note that an MIX/ASI files are like a data banks, containing many files that may or may not be used by the map. Name scanner can only see files that are actually demanded by the game.

Also: If you simply open the ASI file with one of the map listfiles available online, you will see many files in MPQ Editor without scanning the name:

Thanks for the guide and your great work!
Do you have a link to this listfile?

Would the listfile on your website work for this?

Yep.


fix publishing

add missing VERSION_FILE environment variable
add check for the environment variable

@devkral since I needed to fix the tests, I will also add this bit here. No worries and thank you

@devkral I couldn't checkout your branch and do the fix so I needed to create a new one, do fixing and bring these changes in.


Throw MisconfigurationException when ([], 0, "0") is passed to devices or device specific flags

What does this PR do?

Fixes #12638
Related PR #12410
Before
# Fallback to `CPUAccelerator`
Trainer(gpus=0/"0"/[])

After this PR
# Raises Misconfiguration to be consistent with `(accelerator="gpu", devices=0/"0"/[])`
Trainer(gpus=0/"0"/[])

Without the updates in this PR and when the accelerator is available, the user gets the following error for
Trainer(accelerator="gpu", devices=0/"0"/[])

    self._parallel_devices = self.accelerator.get_parallel_devices(self._devices_flag)
  File "/home/jovyan/pytorch-lightning/pytorch_lightning/accelerators/gpu.py", line 82, in get_parallel_devices
    return [torch.device("cuda", i) for i in devices]
TypeError: 'NoneType' object is not iterable

Does your PR introduce any breaking changes? If yes, please list them.

Throws MisconfigurationException when ([], 0, "0") is passed to devices or device specific flags (gpus, tpu_cores, ipus)
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Nvm, not a breaking change because the user gets an error anyways :+1:

Nvm, not a breaking change because the user gets an error anyways

This is a breaking change, since before it falls back to CPU and now it throws errors.
I think it might be more common to use Trainer(gpus=0) compared to using Trainer(accelerator="gpu", devices=0).  Here are some examples I see. It's also in lightning-tutorials. Since gpus are going to be deprecated in Trainer args, I agree with the change. But let's still highlight it's a breaking change.

@DuYicong515 If I'm not mistaken, #12410 (included in 1.6) was the breaking change (and tagged as such) but missed raising a proper exception for devices=0.
However it does still raise an exception (TypeError), so in that sense, this is not a breaking change but a UX improvement.

@carmocca This PR has 2 changes
1/ Trainer(accelerator=xpu, devices=0/"0"/[]) The PR improves the exceptions being raised, which is an UX improvements
2/ Trainer(gpus/ipus/tpu_cores=0/"0"/[]) It used to fall back to CPU. After this PR, it starts to throw exceptions. And that's a breaking change.

Closing as it's stale, keeping the linked issue open


Using expired token for parallel calls

How can we have parallel calls?  For instance a user opens a page which initiates a request.  Before the response comes back, the app is ready to make another request and needs to send it to the server. In the current expired token use case, it seems that the app (iOS) request would have to wait in queue until the first request is done.
I was told that it would be coercive to try and make them batch requests.

@ACPK - this is explained in detail here.

@lynndylanhurley  I read that but my iOS developer (Guy from Palo Alto who got his masters from Stanford) said that:
"Specially for our app where we might get very slim windows of time to run (at least on iOS), we can’t afford not to have parallel requests."
"I would still not recommend that. 1) because it limits parallel requests 2) if batch all requests coming from the app, it effectively becomes the scenario where the same token can be used for multiple requests."


Update CONTRIBUTING.md

Is there an existing issue for this?
I have searched the existing issues
Feature Description
I would like to learn more about the contributing guidelines such as:

Code Style
Testing
Pull Request Process
Community Guidelines
Resources for Guidance
Code Review
Feature Requests
Contributing Guidelines
Code of Conduct

Priority
High
Record
I have read the Contributing Guidelines
I'm a GSSOC'24 contributor
I have starred the repository
@Anushkabh , Please assign me this issue.

Hello @1754riya!
You can start working on this issue.
Happy Coding @1754riya

@1754riya  are you still interested in working on this issue. If not, this issue will be closed in 2 days.

Hey @1754riya !
You need to create a PR to oour main branch repo not yourself.


Can't bind to 'validationMessage' since it isn't a known property of 'mdc-text-field'

Hi, I tried to import TextField to my project and I had error.
I imported MdcTextFieldModule and added it to the import array into NgModule
my-module.ts
...
import { MdcFormFieldModule } from '@angular-mdc/web/form-field';
import { MdcTextFieldModule } from '@angular-mdc/web/textfield';
...

@NgModule({
  imports: [
    CommonModule,
    ReactiveFormsModule,
    MdcFormFieldModule,
    MdcTextFieldModule,
    ...
  ],

I used a validationMessage directive in html. I added this directive into mdc-text-field.
my-component.html
<form [formGroup]="demoForm" (ngSubmit)="submit(demoForm)">
 <mdc-form-field>
  <mdc-text-field
    formControlName="username"
    label="Username"
    outlined
    [errorStateMatcher]="matcher"
    [validationMessage]="validationMessage"
    ></mdc-text-field>
 </mdc-form-field>
 <button mdc-button type="submit">Submit</button>
</form>

I used methods from example at official your site: https://trimox.github.io/angular-mdc-web/#/angular-mdc-web/text-field/examples
my-component.ts
import { Component, OnInit } from "@angular/core";
import { FormGroup, FormControl, Validators, FormGroupDirective, NgForm } from '@angular/forms';
import { ErrorStateMatcher } from '@angular-mdc/web/form-field/typings/error-state-matcher';

export class APErrorStateMatcher implements ErrorStateMatcher {
  isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean {
    const isSubmitted = form && form.submitted;
    return !!(control && control.invalid && (control.dirty || control.touched || isSubmitted));
  }
}

@Component({
  templateUrl: './my-component.html'
})
export class MyComponent implements OnInit {
  matcher = new APErrorStateMatcher();
  demoForm: FormGroup;

  ngOnInit(): void {
    this.demoForm = new FormGroup({
      username: new FormControl(
        { value: null, disabled: false },
        [Validators.required, Validators.minLength(3), Validators.maxLength(11)]
      )
    });
  }

  get validationMessage(): string {
    if (this.demoForm.controls['username'].hasError('minlength')) {
      return 'Username is not long enough';
    } else if (this.demoForm.controls['username'].hasError('maxlength')) {
      return 'Username is max length is 11';
    } else if (this.demoForm.controls['username'].hasError('required')) {
      return 'Field is required';
    }
    return undefined;
  }

  submit(f: NgForm | FormGroup) {
    if (f.invalid) { return; }
  }

But I had error:
Can't bind to 'validationMessage' since it isn't a known property of 'mdc-text-field'
I thought that your documentation is not full and I did not imported this directive or I incorrect imported textfiled. Can you help me please?

It seems the documentation and examples were updated before release. They're on 6.0.0 while release is on 5.1.1
Check out the examples available during last release https://github.com/trimox/angular-mdc-web/tree/fe306e0b2320e1a0dee131ef132949bd583f8835/demos/src/app/components.
In your case, you should use the following:
<mdc-form-field>
  <mdc-text-field
    formControlName="username"
    label="Username"
    outlined
    [errorStateMatcher]="matcher"
    >
  </mdc-text-field>
    <mdc-helper-text validation>{{validationMessage}}</mdc-helper-text->
</mdc-form-field>


Add validation to DgsWebMvcConfigurationProperties (manual approach)

This adds validation to the DgsWebMvcConfigurationProperties config props.
ℹ this uses a manual set of checks implemented inside a @PostConstruct method on the config props.
pros/cons

(+) simple, no new deps required
(-) not extensible, will have to implement each new validation we add to the config props

ℹ an alternate approach using JSR-303 annotations is #179
Startup failure looks like this:

@paulbakker @berngp - which approach are you in favor of?

@paulbakker @berngp I removed the WIP since we closed #179 in favor of this approach.


Nullability on logical deletion

I add logical deletion for example test:
@Entity
interface Course {
    @LogicalDeleted("true")
    val deleted: Boolean
}

@Entity
interface LearningLink {
    @ManyToOne
    @OnDissociate(DissociateAction.DELETE)
    val course: Course
}

Test fails on AbstractDataLoader:167:
org.babyfish.jimmer.sql.runtime.ExecutionException: Cannot apply filter "ExportedCacheableFilter{filters=[org.babyfish.jimmer.sql.filter.impl.LogicalDeletedFilterProvider$DefaultFilter@178f268a]}"
for "org.babyfish.jimmer.sql.kt.model.link.LearningLink.course" because that property is not nullable

I'm guessing that the sub-entity should be deleted while the root entity is being deleted, so the link cannot exist without a course, so nullability is not required.

Of course, No problem.
Even if the foreign key in data base is non-null, but the associated object still may be hidden by filter, so filtered associated object must be nullable.

What do you think of this patch?:
AbstractDataLoader:167
< if (prop.isReference(TargetLevel.ENTITY) && !prop.isNullable()) {
> if (prop.isReference(TargetLevel.ENTITY) && !prop.isNullable() && prop.isInputNotNull()) {

inputNotNull describes exactly the case you cited.

No, input not-null means validation of writing, like non-null constraint of foreign key.
For reading, it still may be nullable.

What is filter? To hide data.
There is non-null reference, but it is invisible, so I can still see nothing.


Support Multi Tenancy out of the box

Lots of guys out there build multi tenant apps. This is a feature, that should be part of a modern identity framework.
Maybe the mechanism could be similar to roles. A user can be a member of one or more tenants.
This would allow to easily set permissions, change the frontend theme or control data access by tenant.
I'm thinking on a quite easy way to access this info like
if(User.IsInTenant('microsoft')) {
// do some thing tenant specific
}
or
User.GetTenants();
Also this could be coupled with azure ad multi tenant apps in a nice way.

This should be revisited!

Absolutely needed - shame on ASP TEAM for leaving this out. From the ASP home page, the goals are to support large enterprises and saas apps, but if you leave this out... you're inherently leaving this implementation open to flaws and more vulnerabilities, thus ignoring security
+1 for @mbeckenbach @papyr for calling this out.

I just implemented this recently, and it was not that difficult. It did require a good understanding of the inner working of the framework. I agree it should be better integrated/supported by the ASP.NET Identity framework itself, though.

Any chance you can share your efforts Brock?
On Thu, Jan 12, 2017 at 10:59 PM Brock Allen<EMAIL_ADDRESS>wrote:

I just implemented this recently, and it was not that difficult. It did
require a good understanding of the inner working of the framework. I agree
it should be better integrated/supported by the ASP.NET Identity
framework itself, though.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/Identity/issues/266#issuecomment-272340815,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkinRpHDUm_CZHs-KYiE921pgPaIoXRks5rRtqLgaJpZM4C_erG
.

iirc, here's the short list of what i did: delete the 2 username and email indexes the built-in stuff creates. add a tenant column to the user table. add new indexes for username/tenant and email/tenant. add a tenant to the store and change the IQueryable users property to filter on tenant.

also, in the store overload create and set the tenant on the user.

the most painful part of all of this is the base DbContext creating the 2 indexes on username and email and EF not providing an easy way for a derived DbContext to undo base class OnModelCreating stuff. better support would be in EF to delete an index on the ModelBuilder, or in ASP.NET Identity to have virtuals for pieces of this so you can override some of them rather than having to replace all of OnModelCreating and copy 95% of their default code. // @HaoK @rowanmiller

Thanks! We have an Identity v2 customized for Multitenancy based on a
GitHub Jskimmer library. As we couldn't understand how to make it work on
v3 we have a bigger migration on hold. We'll investigate on your guidance.
On Thu, Jan 12, 2017 at 11:03 PM Brock Allen<EMAIL_ADDRESS>wrote:

iirc, here's the short list of what i did: delete the 2 username and email
indexes the built-in stuff creates. add a tenant column to the user table.
add new indexes for username/tenant and email/tenant. add a tenant to the
store and change the IQueryable users property to filter on tenant.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/Identity/issues/266#issuecomment-272341418,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkinRNH2h7AjOWSF5R4dGoM8vtrQq4Bks5rRtt_gaJpZM4C_erG
.

feel free to fund me working on an OSS version of it for AspId3 :)

Sure thing!
On Thu, Jan 12, 2017 at 11:10 PM Brock Allen<EMAIL_ADDRESS>wrote:

feel free to fund me working on an OSS version of it for AspId3 :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/Identity/issues/266#issuecomment-272342365,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkinWtIW13UJgdY35j9YMg_8wVjhrnEks5rRt0PgaJpZM4C_erG
.

While it seems fun and just, the fact is for the average developer or small businesses/devs this is an absolute pain. 3rd party options/flavors as OSS are great; however, a basic default implementation MUST BE part of the templating option during the creating of the initial project.
This is not trivial for the average developer and the version that @luisgizirian is referring to - is over 2 yrs old, missing (user lock outs, SMS verification, host tenants, super admin, user impersonation, skinning, redirects, handlers, etc.. the list is long) - clearly not for the faint of heart, a serious detour from the core business logic and work I do as a developer.
More importantly, until the core team tries the implementation on their own - they will not realize to flush out how under the current framework simply not geared to support tenants easily.
Case in point - a peek into orchard, music store, umbarco, skimming and others biggies implementation reveals how very complicated, extensive and different they all are just to implement the core multi tenants.
@blowdart @rustd - ASP TEAM devs please get your act together if you're serious about helping the developer community!!

Putting each tenant's identity data into a different database would accomplish that unless I am missing something. That way you can pretty much use all of the identity implementations out there within your multi tenant app.
To my experience, it's mostly a good idea to keep the database(s) single tenant whereas you keep the application level multi-tenant. This increases the operational costs (e.g. monitor more databases, backups of all, updating more database (if your database has schema), etc.). This approach would also allow you to allocate different level of resources for your each tenant. In identity case here, each tenant can have customized database resources (e.g. Tenant A's identity database is on a SQL Azure Premium database since it has 10 million users, Tenant B's identity database is on a SQL Azure Basic database since it has 1000 users, etc.).

We're using AspNet Identity v.2 with Mutitenancy support using @jskimming library (https://github.com/JSkimming/AspNet.Identity.EntityFramework.Multitenant).
Following on @tugberkugurlu comments, on the DB side of our evolution plan, we'd like to use an Azure Elastic Pool for SQL. Here, the sharding key would be the TenantId.
Without Identity's v3 supporting multitenancy the way we do with v2, we can't find a way to move to v3, so it forces us to keep doing v2 on MVC5.
To clarify what I said earlier on this thread, this is also stopping us from a bigger move on porting all our platform to AspNet Core and being able to run our workloads into Azure Service Fabric.

we'd like to use an Azure Elastic Pool for SQL. Here, the sharding key would be the TenantId.

AFAIK, you can put multiple databases into the pool with Azure Elastic Pool, no?

Sorry @tugberkugurlu, can't see your point (feel free to write me directly). Lets please not deviate the discussion from the main issue here. :)

@luisgizirian I've been somewhat negating that library I created, I don't have the time and I don't use it myself (the project for which it was written never took off).
I'd happily review any pull requests should someone submit one, also happy to consider freelance work 😃

#https://github.com/aspnet/Identity/issues/569
So many others here have this need!

@luisgizirian I don't mean to deviate from the issue. I talking about something related which you originally brought up.
The point I am trying to make is that storing the identity data in one database for all of your tenants is a not a good idea at all. There are so many things that can go wrong if you architecture your system in this way. See https://ayende.com/blog/3497/multi-tenancy-the-physical-data-model for a few of those scenarios.
Even if you are OK with this architecture, a generic library like ASP.NET Identity should not encourage you to adopt this pattern. In fact, clearly, it's not hard to do this w/o having an explicit support from this library if you really want to shoot yourself in the foot.

I also can see @tugberkugurlu point of view, and how the tenant is configured for storage can be a simple option during install during setup. A check box of whether sotred in same tables, different tables or different db's all together
How can we get this issue re-opened.


chore: release main

:robot: I have created a release beep boop
ui5-cc-spreadsheetimporter: 0.33.3
0.33.3 (2024-04-18)
Bug Fixes

design improvements (#527) (af21d7b)
make sure payload in changeBeforeCreate is used (#528) (89f3292)
reset context on server error (#525) (d1dd033)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/releases/tag/ui5-cc-spreadsheetimporter-v0.33.3 :sunflower:


Using UK spelling for licence in UI

What is it and who's it for?
Anyone using our site who wonders why US spellings have crept in.
Thanks to the Americans in the team 🤷♀ , the word 'Licence' has been spelled incorrectly all these years.
Correct all instances of license to licence.
Where
Three places that need fixing:
Work page:

Item page sidebar:

Download modal:

A couple more instances: we have "Open Government License" and "Open Parliament License" in both the API and filters, even though the URLs we point to use the British spelling.


[BUG] - AutoComplete component sets the input value to the label

NextUI Version
2.2.9
Describe the bug
-Next14

App Router
Client Form component using a server action for submit
FormData on the server action comes with the label not the value of an AutoComplete component. I can also see in the browser that when I select an item the input in the html gets given the label as value

Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

Create a Client form and add to a page:

"use client";

export function Form() {
  return (
    <form action={create}>
      <Autocomplete name="voice" label="Select a voice">
        {[
          { value: "a", label: "Label A },
          { value: "b", label: "Label B" },
        ].map((voice) => (
          <AutocompleteItem key={voice.value} value={voice.value}>
            {voice.label}
          </AutocompleteItem>
        ))}
      </Autocomplete>
      <Submit />
    </form>
  );
}

in Chrome select an option and then inspect the element you will see the input has Label A or Label B as value

Expected behavior
The value should be A or B (the value given to the Item component)
Screenshots or Videos

Operating System Version
MacOS
Browser
Chrome

@ybwai I believe this is the expected behaviour. The value you captured is the value of the input, i.e. the input value you see in UI. If you want to capture the form value (e.g. a or b), then you may need to use controlled one.

I have the same issue... this is anoying. the value returned is the label instead the value of the input

@GVALFER we'll revisit this issue. Let's track in the issue you created.

same

Yea this is kinda weird. I was expecting it to be like a Select component but with autocomplete/filtering, where the value set in the value attribute of the Select component is the one that gets returned and not the label that you see in the UI


Getting message Cannot attach private Aks cluster in Basic Sku. Please upgrade to enterprise sku.

When trying to attach a private AKS cluster to the service, getting the message above.  From the limitations section, I cannot find any info on this limitation.  Can this be added for future reference?  Thanks!

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

ID: d9132512-d322-6455-b458-f629337e15f6
Version Independent ID: 2d9e6319-8c7e-113d-a241-2d093b73897f
Content: Create and attach Azure Kubernetes Service - Azure Machine Learning
Content Source: articles/machine-learning/how-to-create-attach-kubernetes.md
Service: machine-learning
Sub-service: core
GitHub Login: @jpe316
Microsoft Alias: jordane

@danhlee329 Thanks for the feedback. We are investigating the issue and will update you shortly.
@jpe316 @PeterCLu FYI

Thank you, this work has been added to our backlog. Thanks. #please-close


implement state.value change in componentWillReceiveProps

Fixes #126. It updates inner input value on components value change. Useful when you want to do some validation on onPhoneNumberChange or onSelectFlag

Coverage increased (+0.02%) to 94.281% when pulling 09eae7ec7132ab70fb34ffc1a2ff26becfe6424a on pwlmaciejewski:master into 90b32a839a4d67479f030c60d1e480a8f83b30e2 on patw0929:master.


Possible to add dexdump?

First of all, thanks a lot for publishing this binaries.
If possible, can you add dexdump to Android 11 build-tools. I am trying to use this on on aarch64 linux. I have already tried using dexdump in Android 9 build folder, but that's giving the following error. I think it is built for Android phones?
 -bash: ./dexdump: /system/bin/linker64: bad ELF interpreter: No such file or directory

I tried building myself, but getting the following error when running mmm /frameworks/base/tools. Don't know how to resolve it.
 [ 19% 733/3701] //frameworks/base/tools/dump-coverage:libdumpcoverage lipo libdumpcoverage.dylib [darwin]
 FAILED: out/soong/.intermediates/frameworks/base/tools/dump-
 coverage/libdumpcoverage/darwin_x86_64_shared/libdumpcoverage.dylib
 echo "module libdumpcoverage missing dependencies: libopenjdkjvmti_headers" && false
 module libdumpcoverage missing dependencies: libopenjdkjvmti_headers
 03:14:24 ninja failed with: exit status 1

 #### failed to build some targets (08:38 (mm:ss)) ####

Hi @sriteja777 , I am not sure this will work due to the different tool chain Android uses.  Android uses bionic (C runtime) which won't work on Linux as far as I know.  If you want dexdump for aarch64 Linux, you might want to try the one packaged in Debian distribution.
https://debian.pkgs.org/11/debian-main-arm64/dexdump_10.0.0+r36-3_arm64.deb.html
This should work on a Linux machine assuming all the dependency packages are installed.


add prometheus metrics to the hotrod example app

This is a request to add /metrics endpoint exposing prometheus metrics, to make this a complete demo of logs, tracing and metrics.

Metrics are already available: https://github.com/jaegertracing/jaeger/blob/master/examples/hotrod/README.md#metrics

Oh thanks! I was expecting them to be on the 8080 port


BioMart RESTful access Query ERROR: not well-formed (invalid token)

I'm trying to test out a wget+XML command to pull gene location information for Drosophila melanogaster from BioMart, but I keep getting errors that I don't quite understand.
System: Attempted on both MacOS Big Sur 11.7.10 and Linux Rocky release 8.6 (Green Obsidian)
Example of what I'm doing:
Input gene IDs: FBgn0261560, FBgn0263846, FBgn0034474, FBgn0036448, FBgn0021750, FBgn0023083
Output attributes: chromosome, start, end, strand, and gene ID
When I get the XML from the web browser, it shows me:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Query>
<Query  virtualSchemaName = "metazoa_mart" formatter = "HTML" header = "0" uniqueRows = "0" count = "" datasetConfigVersion = "0.6" >

	<Dataset name = "dmelanogaster_eg_gene" interface = "default" >
		<Filter name = "ensembl_gene_id" value = "FBgn0261560,FBgn0263846,FBgn0034474,FBgn0036448,FBgn0021750,FBgn0023083"/>
		<Attribute name = "chromosome_name" />
		<Attribute name = "start_position" />
		<Attribute name = "end_position" />
		<Attribute name = "strand" />
		<Attribute name = "ensembl_gene_id" />
	</Dataset>
</Query>

But when I run
wget -O test 'http://www.ensembl.org/biomart/martservice?query=<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE Query><Query virtualSchemaName = "metazoa_mart" formatter = "HTML" header = "0" uniqueRows = "0" count = "" datasetConfigVersion = "0.6" ><Dataset name = "dmelanogaster_eg_gene" interface = "default" ><Filter name = "ensembl_gene_id" value = "FBgn0261560,FBgn0263846,FBgn0034474,FBgn0036448,FBgn0021750,FBgn0023083"/><Attribute name = "chromosome_name" /><Attribute name = "start_position" /><Attribute name = "end_position" /><Attribute name = "strand" /><Attribute name = "ensembl_metazoa" /></Dataset></Query>\'

The test.txt file has only this error:
Query ERROR: caught BioMart::Exception: non-BioMart die():
not well-formed (invalid token) at line 1, column 560, byte 560 at /nfs/public/ro/ensweb-software/sharedsw/2022_01_17_ct7/linuxbrew/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0/x86_64-linux-thread-multi/XML/Parser.pm line 187.
XML::Simple called at /nfs/public/ro/ensweb/live/mart/www_111/biomart-perl/lib/BioMart/Query.pm line 1935.

I attempted a couple of variations on that wget call, but they all failed so I suspect I'm not understanding the true nature of the issue.

Dear @ossmith ,
Thanks for reaching out and for your patience.
This repository is about the Ensembl REST API and not about Biomart, although also the latter one provides RESTful interface. Apologies for the confusion.
For such enquiries, I'd suggest you to join our developers mailing list or - possibly better in your case - contact our Helpdesk. You can find instructions about how to do either of these HERE
This said, I tried myself and could successfully retrieve data from Biomart.
There are 2 issues with your command:

There is an unwanted backslash at the end just before the final single quote \'. This escapes the final single quote, which is something we do not want, and it's the cause of the "malformed error".
You are using the metazoan mart ... which makes sense in general, but for some reasons we put Drosophila M. among vertebrates and the "link" from Metazoa does not work 😞 . And this is definitely not anything you can fix. I am flagging this up internally.

As temporary solution - after having removed the offending \ - you may want to use the Drosophila melanogaster mart from the vertebrates HERE.
The cmd line I used was
wget -O result.txt 'http://www.ensembl.org/biomart/martservice?query=<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE Query><Query  virtualSchemaName = "default" formatter = "TSV" header = "0" uniqueRows = "0" count = "" datasetConfigVersion = "0.6" ><Dataset name = "dmelanogaster_gene_ensembl" interface = "default" ><Filter name = "ensembl_gene_id" value = "FBgn0261560,FBgn0263846,FBgn0034474"/><Attribute name = "ensembl_gene_id" /><Attribute name = "chromosome_name" /><Attribute name = "start_position" /><Attribute name = "end_position" /><Attribute name = "strand" /></Dataset></Query>'

and the XML was
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Query>
<Query  virtualSchemaName = "default" formatter = "TSV" header = "0" uniqueRows = "0" count = "" datasetConfigVersion = "0.6" >
	<Dataset name = "dmelanogaster_gene_ensembl" interface = "default" >
		<Filter name = "ensembl_gene_id" value = "FBgn0261560,FBgn0263846,FBgn0034474"/>
		<Attribute name = "ensembl_gene_id" />
		<Attribute name = "chromosome_name" />
		<Attribute name = "start_position" />
		<Attribute name = "end_position" />
		<Attribute name = "strand" />
	</Dataset>
</Query>

Closing this issue as it's not pertinent to this repository.
Any further questions, please do not hesitate to ask our Helpdesk, and feel free to mention me ... this might expedite my involvement, if needed 😄

@sgiorgetti Thanks very much! Both for the command help and for flagging the Metazoa mismatch.


settings (admin/org): Disable org's logo hover behavior when the user doesn't have permission to edit/delete org's logo.

Disable org's logo hover behavior when the user doesn't have
permission to edit/delete org's logo.
In "realm_icon.js" hide "delete" button, "upload image" button and
background.

Fixes: https://chat.zulip.org/#narrow/stream/9-issues/topic/deactivate.20bot.20in.20place.20of.20delete.20bot
GIFs or screenshots:
https://user-images.githubusercontent.com/85362194/160253786-01dbd3db-8b27-4ca0-b8a2-bbfbcd39ee4d.mov

@sahil839 I have addressed your comments in the updated PR. Please review.

LGTM.

Looks good to me!

@laurynmm Can this PR be closed now?

Yes, this was fixed in #23964. Closing this PR. Thanks @NerdyLucifer.


Fix the Probot Stale configuration

Lines 14 and 43 were commented out, creating an invalid YAML file. This may be the cause to Probot not running on your repository.
Fixes https://github.com/probot/stale/issues/216.

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

Thanks!


opencensus: add sleep to make sure all latency updates are exported

The example records latency every second and expects to report all the updates to stackdriver backend by calling Flush at the end. The Flush is only meant to flush the exporter buffer. The actual metrics are read periodically and exported.
Hence update the example to sleep for reporting interval to make sure at least one additional export is performed.
So update includes.

Reduce the ReportingInterval to 10 seconds (default is 60 sec).
Remove Flush (as it is not working as expected).
Add sleep equal to ReportingInterval.

@tbpg can you please review this?

Marking do not merge per our conversation -- some updates needed for the exporter.

Closing this for now, but we can reopen when ready.


allocate correct space for results before native callback is run

Allocate space for results before invoking the native function in wasm_runtime_invoke_c_api_native()
fixes #746

@saju Thanks for reporting the issue!


add defaultHeight, defaultWidth props on WindowScroller

Fixed: #891
When I run server-side rendering, browser prints below warning and fail initial rendering.
Warning: Expected server HTML to contain a matching <div> in <div>
I added defaultHeight and defaultWidth props like AutoSizer.
I checked There is no warning with the props.

+1
I too am using WindowScroller and need server-side rendering to work for me. Looking forward to see this change merged.


fix: handle synchronous back pressure during subscribing the inner sub

Description:
Some operators create inner subscriptions on next(). But during subscribing to the inner sub, some side effects may trigger another next() on this operator synchronously, i.e. putting back pressure, leading to a new inner subscription to be created. However the previous inner subscription is not yet set on the operator, which would cause unexpected behavior for some operators. It's clear to us that switchMap and exhaustMap behaves unexpectedly under this setting, because their correct behaviors are defined by the order of messages being received.
This PR is trying to address these unexpected behaviors so that:

switchMap should unsubscribe previous inner sub when getting back pressured synchronously during subscribing the inner sub
exhaustMap should ignore subsequent synchronous back pressure during subscribing the inner sub

Related issue (if exists):
It's yet to be determined if other operators' behaviors under this setting should be considered unexpected.

For me added test cases
const e = new BehaviorSubject(1);
const results: Array<number> = [];

e.pipe(
      take(3),
      exhaustMap(value => new Observable<number>(subscriber => {
        e.next(value+1);

are a direct example of synchronous reentrant, which is known to not supported and caller should schedule appropriately. Any specific reason do you think this is a bug to be fixed?

ref: https://github.com/ReactiveX/rxjs/issues/5174#issuecomment-561303690 / https://github.com/ReactiveX/rxjs/issues/5173 etcs.

@kwonoj From the definition of switchMap for example:

emitting values only from the most recently projected Observable.

It's not limited to asynchronous values, or has any restrictions on synchronous reentrant. The order of messages received doesn't have anything to do with async or not. Unless specified, we should expect it to be supported, otherwise it's an exception to the definition and should be well documented.
There are legitimate use case for synchronous reentrant. switchMap for example can be used for the central building block for a state machine where state transition is done by switch-mapping to different state Observables. In this case, a state Observable can decide to synchronously switching to another state upon subscription. This is where the unexpected behavior can be considered a bug. Of course you can say a "workaround" is to schedule the state transition asynchronously, but just trying to understand why it failed in the first place can cost a lot. And adhering to a workaround is adding another learning barrier and "gotcha" to developers in the team.

I agree we may need some documentation about reentrant behavior. This was brought up couple of times.

If this behavior can happen without reentrant, I'd like to see and example and I believe this should be included as test case instead.

Whole rxjs v5, and beyond by design to not honor synchronous reentrant. I do not agree with core we should able to support all possible cases of synchronous reentrant. Scheduling reentrant is not a workaround, it is intended per current design of core behaves. Moreover, core team generally recommend avoiding reentrant itself: not only for this synchronous behavior, there are a lot of possible catch around reentrant behavior can cause unexpected behavior: it's due to several reasons that rx core does not support some / does not define some / and possible some unexpected bug lastly.

for 3, not specifically for this operator but https://github.com/ReactiveX/rxjs/issues/1759#issuecomment-227575178 explains early decision why we did it:
Protecting against re-entrency without throwing errors or dropping values would necessitate introducing unbounded buffers, which was a conscious design trade-off we made in the early days.

Until (if) we make other breaking design decisions, I doubt we'll offer official support for reentrant for all edge cases.

It's not like "if we support any reentrant edge cases our future plans would be blocked" right? I think the core team should view it case by case, breaking down the cost and benefits of supporting some reentrant usages. Of course, if core thinks a proposal is too intrusive to the design such that some future planning is affected, we can discuss about that in more extends. But to dismiss it just because not supporting any reentrant edge case is just unfortunate.

As you said we may visit per each cases: but if fix is limited to synchronous reentrant, it's likely not able to be picked up. That's reason I was sugesting in 2 if test case can be replaced doesn't involve synchronous reentrant.

@naiweizheng is right, this is a fix, and it actually fixes a regression. This worked as expected in past versions and was broken by recent changes: https://codesandbox.io/s/gracious-visvesvaraya-3503j?file=/src/index.ts
I'm not sure about the method for fixing this yet... I still need to review it and think about it. But this bug is legit.

@naiweizheng thank you for catching this, and MOST importantly, acting on it and adding tests!

Nice! Thank you for your efforts, @naiweizheng!


Responsive design in "Artist profile" does not work properly

What happened?
The responsive design in the "Artist profile" is not working properly. Statistics are displayed in a chaotic way.
Please reproduce in steps
Screenshot Samsung internet browser

Expected Behavior
Test on my profile
https://kodadot.xyz/rmrk/u/FqCJeGcPidYSsvvmT17fHVaYdE2nXMYgPsBn3CP9gugvZR5
What browsers are you seeing the problem on?
Mobile Android Chrome
Are you logged in?
No response
At which address did you encounter bug?
kodadot.xyz
Screenshots
Paste from your clipboard or upload screenshots/video
Relevant log output
No response
Payment link for reward
https://kodadot.xyz/transfer?target=FqCJeGcPidYSsvvmT17fHVaYdE2nXMYgPsBn3CP9gugvZR5&usdamount=0&donation=true
Code of Conduct

[X] I agree to follow this project's Code of Conduct

👋


Change standard flat button style to match accent.

Changes

Adjusted standard Flat style button to match the Accent one.
Fixed weird naming of a converter.

I'm still not that happy with the implementation of the busy button spinner suddenly taking up unreserved space, it's especially weird looking in the new icon button when it just pushes the icon out.
I'm not sure there's a way to implement it in a tidy way though, so I guess it is what it is.

@sirdoombox How about it be the other way around, i.e.:

static: SukiPrimaryColor
pointerover: SukiPrimaryColor75
pressed: SukiPrimaryColor50

(the :pressed state can also remain on SukiPrimaryColor75)


DevToys always stucked

It doesn't show me any window. How can I get log about this?

@op06072
We apologize for any inconvenience.
Is the app itself running? (Does the app's icon stay in the Dock?)

@op06072
We apologize for any inconvenience.
Is the app itself running? (Does the app's icon stay in the Dock?)

yes. It still running.

@op06072 OK. Let's find out. What is the version of macOS you are using?

@op06072 OK. Let's find out. What is the version of macOS you are using?

I'm using Monterey 12.2.1

Hi,
DevToysMac is now archived and deprecated. We just released DevToys 2.0 for Windows, Mac and Linux. This issue may or may have not been addressed in the new version. If the issue persist, we encourage to open a new issue on https://github.com/DevToys-app/DevToys or https://github.com/DevToys-app/DevToys.Tools
See more information about DevToys 2.0 here: https://devtoys.app/blog/announcing-devtoys-2.0-preview


Documentation updates

This PR fixes a few of the documentation updates - resolving #76, #75, and #59.

@NickDubelman you should look at this and check it against your list. There are probably still changes that I missed (this is just some of the more complicated things like the module index).


Example config for LAN access

I'd love to use this stack but just can't figure out how to get LAN access to the web interface. I was able to setup an SSH tunnel but, short of that, I wasn't able to get to the transmission webui. I've tried traefik as configured below without success. The compose file is exactly like the sample otherwise.
  wireguard:
    image: ghcr.io/linuxserver/wireguard
    ports:
      - 9091:9091/tcp
...
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.transmission.rule=Host(`transmission.example.com`)"
      - "traefik.http.routers.transmission.tls.certresolver=cloudflare"
      - "traefik.http.routers.transmission.entrypoints=websecure"
      - "traefik.http.services.transmission.loadbalancer.server.port=9091"

I don't believe you can use Traefik via labels since transmission is routed through service:wireguard. This should work though...
Change Traefik to "network_mode: host"

This comes with it's own issues though if you run a lot of services.

I'd love to use this stack but just can't figure out how to get LAN access to the web interface. I was able to setup an SSH tunnel but, short of that, I wasn't able to get to the transmission webui. I've tried traefik as configured below without success. The compose file is exactly like the sample otherwise.
  wireguard:
    image: ghcr.io/linuxserver/wireguard
    ports:
      - 9091:9091/tcp
...
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.transmission.rule=Host(`transmission.example.com`)"
      - "traefik.http.routers.transmission.tls.certresolver=cloudflare"
      - "traefik.http.routers.transmission.entrypoints=websecure"
      - "traefik.http.services.transmission.loadbalancer.server.port=9091"

Just like @netfxtech, I run Traefik with network_mode: host.


[BUG]  WebPresenter: Stream Settings BROKEN...

WebPresenter Sofware Version: 3.4
When using the WebPresenter: Stream Settings to set specific stream settings does nothing..
NONE of the stream settings seems to take effect.. the unit keeps current settings after action..
Also, the "custom h.265"  does not support SRT..   for example there is no "key", but could have optional "passphrase"

Firmware version 3.4 is not currently supported. If you downgrade to 3.3 it will work.

Did the protocol change between 3.3 and 3.4?

I have the same problem.... Downgrading to 3.3 did not fix the issue :( Any thing i might be missing?

Could you show the action you are sending to the web presenter that isn't working?

[image: Screenshot 2024-02-25 065102.png]
On Sun, Feb 25, 2024 at 6:48 AM Peter @.***> wrote:

Could you show the action you are sending to the web presenter that isn't
working?
—
Reply to this email directly, view it on GitHub
https://github.com/bitfocus/companion-module-bmd-webpresenter/issues/17#issuecomment-1962996847,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGOD6M7IA2RNATQWN2EAUP3YVNTMRAVCNFSM6AAAAABBBJG25GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSHE4TMOBUG4
.
You are receiving this because you commented.Message ID:
@.***
com>

Hi, I don't think images can be sent to GitHub by email, I can only see text.

Try typing "Default" in the Server field.

I just tested it and it works for me. Did you put a capital 'D' at the start of 'Default' in the server field?
https://github.com/bitfocus/companion-module-bmd-webpresenter/assets/17852298/a8d48b68-7492-4f9e-b9d0-1be1f9936173

Also, the "custom h.265" does not support SRT.. for example there is no "key", but could have optional "passphrase"

In the WebPresenter app it is the same, the passphrase is box is disabled for Custom H265


gpu-video-wallpaper: command not found

From readme.md:

You can either run the application through its GUI or via the command line.

CLI usage: video-wallpaper.sh [--start] [--stop] [--startup true|false] "video_path.mp4"

--start Start playback of video wallpaper.

--stop  Stop active playback.

--startup  Start/disable playback of video file on system startup."

same issue. same error with video-wallpaper.sh too !

Nope not working, am I doing something wrong?


flag provided but not defined: --format

docker ps --format "{{.Names}}"
flag provided but not defined: --format
See 'docker ps --help'.

The flag appeared in 1.8.0 https://github.com/docker/docker/blob/master/CHANGELOG.md#180-2015-08-11
Seems you are using older client?

@navinas33 can you give us more info?
Can you copy paste the output of
docker version

docker info

Thanks

@ AkihiroSuda
@gianarb
Thanks for reply ya i use older docker version so that it not supported .
Thanks..

Le me close this issue, as it's not a bug; for your other question, I suggest asking on forums.docker.com or the Docker community slack channel, which are better suited for that


Use a separate mock server for benchmarks

This has two good outcomes:

Because we've removed a lot of logic, it's less likely that we'll be inadvertently benchmarking the server instead of the client.
We don't have to worry about performance as much for the mock server we use for testing; this frees us to write code that is clearer and simpler (and ideally more likely to be correct), but maybe a little slower.

Would anybody like this benchmark server to live in the main pushy module (as opposed to the benchmark module)? I'm inclined to leave it out to keep the number of public classes small, but could certainly be persuaded otherwise if "send notifications to a thing that always says yes" is a common use case in integration testing.

👍  :-)
Yup, will certainly be helpful for us to have a sink in order to load test our own code.
Thx!

To really make this public in a non-crazy way, I think we need to abstract out some of the existing mock server stuff and refactor some things. For now, I'm going to merge this as-is to clear the way for #451, but with the understanding that we'll revisit the public benchmark server thing once that's under control.
I've filed #459 so we don't lose track of the idea.

I'm not sure what's going wrong with test status reporting; the build certainly passed, so I'm going to merge this and figure out what's up with Travis as a separate effort.


raft: Deduplicate node-level options

The Node structure has too many fields. One small step in the right
direction is removing fields that are directly copied from the
NewNodeOptions struct, which is also referenced in Node. There is less
potential for error if there is a single source of truth for these
options rather than storing the values in two places.
Rename NewNodeOpts to NodeOpts, since it's really used for more than
NewNode.

Current coverage is 54.14% (diff: 82.60%)

Merging #1582 into master will increase coverage by 0.16%

@@             master      #1582   diff @@
==========================================
  Files            84         83     -1
  Lines         13833      13616   -217
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           7467       7373    -94
+ Misses         5354       5244   -110
+ Partials       1012        999    -13

Powered by Codecov. Last update 4cf6f72...dd3c848

Needs a rebase

Rebased

LGTM


log Basic Auth username in accesslog

Do you want to request a feature or report a bug?
Yes ;-)
I don't know whether the behaviour is already expected to work....
What did you do?

configured traefik to perform Basic Auth on the default entrypoint.
enabled access logging.
started traefik:

docker run --rm -i -p 10080:80 -p 18080:8080 -v $(pwd)/traefik.toml:/etc/traefik/traefik.toml traefik:1.4.0-rc1

I performed a authenticated request with curl:
curl -H "Host: httpbin.org" --user test:test http://localhost:10080/headers

What did you expect to see?
In the ClientUsername field of the access log I expect to see the user 'test' logged. E.g.
<IP_ADDRESS> - test [05/Sep/2017:09:14:16 +0000] "GET /headers HTTP/1.1" 200 292 - "curl/7.51.0" 1 "frontend1" "http://httpbin.org:80" 241ms

What did you see instead?
I see a dash instead:
<IP_ADDRESS> - - [05/Sep/2017:09:14:16 +0000] "GET /headers HTTP/1.1" 200 292 - "curl/7.51.0" 1 "frontend1" "http://httpbin.org:80" 241ms

Output of traefik version: (What version of Traefik are you using?)
Version:      v1.4.0-rc1
Codename:     roquefort
Go version:   go1.9
Built:        2017-08-29_08:35:24AM
OS/Arch:      linux/amd64

Same results with Traefik 1.3.7
What is your environment & configuration (arguments, toml, provider, platform, ...)?

configuration
{
 "GraceTimeOut":<PHONE_NUMBER>0,
 "Debug": false,
 "CheckNewVersion": true,
 "AccessLogsFile": "/dev/stdout",
 "AccessLog": null,
 "TraefikLogsFile": "",
 "LogLevel": "ERROR",
 "EntryPoints": {
  "http": {
   "Network": "",
   "Address": ":80",
   "TLS": null,
   "Redirect": null,
   "Auth": {
    "Basic": {
     "Users": [
      "test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/",
      "test2:$apr1$d9hr9HBB$4HxwgUir3HP4EsggP/QNo0"
     ],
     "UsersFile": ""
    },
    "Digest": null,
    "Forward": null,
    "HeaderField": ""
   },
   "WhitelistSourceRange": null,
   "Compress": false,
   "ProxyProtocol": false
  }
 },
 "Cluster": null,
 "Constraints": [],
 "ACME": null,
 "DefaultEntryPoints": [
  "http"
 ],
 "ProvidersThrottleDuration":<PHONE_NUMBER>,
 "MaxIdleConnsPerHost": 200,
 "IdleTimeout": 0,
 "InsecureSkipVerify": false,
 "RootCAs": null,
 "Retry": null,
 "HealthCheck": {
  "Interval":<PHONE_NUMBER>0
 },
 "RespondingTimeouts": {
  "ReadTimeout": 0,
  "WriteTimeout": 0,
  "IdleTimeout":<PHONE_NUMBER>00
 },
 "ForwardingTimeouts": {
  "DialTimeout":<PHONE_NUMBER>0,
  "ResponseHeaderTimeout": 0
 },
 "Docker": null,
 "File": {
  "Watch": true,
  "Filename": "",
  "Constraints": null,
  "Trace": false,
  "DebugLogGeneratedTemplate": false,
  "Directory": ""
 },
 "Web": {
  "Address": ":8080",
  "CertFile": "",
  "KeyFile": "",
  "ReadOnly": false,
  "Statistics": null,
  "Metrics": null,
  "Path": "",
  "Auth": null,
  "Debug": false,
  "CurrentConfigurations": null,
  "Stats": null,
  "StatsRecorder": null
 },
 "Marathon": null,
 "Consul": null,
 "ConsulCatalog": null,
 "Etcd": null,
 "Zookeeper": null,
 "Boltdb": null,
 "Kubernetes": null,
 "Mesos": null,
 "Eureka": null,
 "ECS": null,
 "Rancher": null,
 "DynamoDB": null,
 "ConfigFile": "/etc/traefik/traefik.toml"
}

accesslogsfile = "/dev/stdout"
defaultEntryPoints = ["http"]
[accessLogs]
  format = "JSON"
  filepath = "/dev/stdout"
[entryPoints]
  [entryPoints.http]
  address = ":80"
  [entryPoints.http.auth.basic]
    users = ["test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/", "test2:$apr1$d9hr9HBB$4HxwgUir3HP4EsggP/QNo0"]

[file]

[backends]
  [backends.backend1]
    [backends.backend1.servers.server1]
      url = "http://httpbin.org:80"

[frontends]
  [frontends.frontend1]
    backend = "backend1"
    passHostHeader = true
    [frontends.frontend1.routes.test_1]
      rule = "PathPrefix:/"

[web]
  address = ":8080"

If applicable, please paste the log output in debug mode (--debug switch)
time="2017-09-05T09:17:15Z" level=debug msg="Basic auth success..."
time="2017-09-05T09:17:15Z" level=debug msg="Round trip: http://httpbin.org:80, code: 200, duration: 233.084177ms"
<IP_ADDRESS> - - [05/Sep/2017:09:17:15 +0000] "GET /headers HTTP/1.1" 200 292 - "curl/7.51.0" 1 "frontend1" "http://httpbin.org:80" 233ms

As dicussed on Slack:
One option to implement would be to set the username in req.URL after authentication.
Another would be to extend the logging code to obtain the username from both sources.

I've tried to implement this by setting r.URL.User in the authenticator.handler, but apparently it does not get logged.
Interestingly the same function sets X-Webauth-User (or what you have defined as auth headerField).


v1.1.0

Adds support for stepping 1-time functions

Codecov Report

Merging #17 (ddf5281) into master (f3d8378) will increase coverage by 2.20%.
The diff coverage is 91.30%.

@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
+ Coverage   71.79%   74.00%   +2.20%
==========================================
  Files           6        6
  Lines         273      300      +27
==========================================
+ Hits          196      222      +26
- Misses         77       78       +1

Impacted Files
Coverage Δ

src/gf.jl
42.85% <0.00%> (-0.78%)
:arrow_down:

src/wigner.jl
0.00% <0.00%> (ø)

src/kb.jl
96.92% <100.00%> (+1.17%)
:arrow_up:

src/vcabm.jl
100.00% <100.00%> (ø)

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 f3d8378...ddf5281. Read the comment docs.

TODO:

Removed wigner_transform_itp because now there are other alternatives to interpolate 2D data beyond Interpolations.jl, namely DataInterpolations.jl. It is hence necessary to update the notebooks & documentation that make use of this function. Also possibly adding a check in wigner_transform to make sure the data is equidistant.


compile tensorflow r1.8 occured error

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): N
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 17.10
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): r1.8
Python version:  python 3.6
Bazel version (if compiling from source): 0.11.1
GCC/Compiler version (if compiling from source): GCC-6，G++-6
CUDA/cuDNN version: CUDA 9.1（include patch1/2/3），cuDNN 7.1
GPU model and memory: gtx 1060ti，6GB； gtx 1080ti，11GB
Exact command to reproduce:
bazel build --config=opt --config=cuda --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" //tensorflow/tools/pip_package:build_pip_package

Describe the problem
lately，I had try install tensorflow r1.8 from source but unsuccessful，then I tryed to compile tf r1.6 it is normal, and my friend also try to install tensorflow r1.8 from source was successful, which difference enviroment between us are CUDA/cuDNN and gcc/g++, he use CUDA 8.0/cuDNN 5.0 and gcc-5/g++5.
compile tf r1.8 occured error log as below：
/usr/include/c++/6/tuple:484:1: error: body of constexpr function 'static constexpr bool std::_TC<<anonymous>, _Elements>::_MoveConstructibleTuple() [with _UElements = {std::tuple<int, int, int>}; bool <anonymous> = true; _Elements = {int, int, int}]' not a return-statement
     }
 ^
/usr/include/c++/6/tuple: In instantiation of 'static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<int, int, int>}; bool <anonymous> = true; _Elements = {int, int, int}]':
/usr/include/c++/6/tuple:626:362:   required by substitution of 'template<class ... _UElements, typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), int, int, int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {std::tuple<int, int, int>}; typename std::enable_if<(((std::_TC<(sizeof... (_UElements) == 1), int, int, int>::_NotSameTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>()) && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && (3ul >= 1)), bool>::type <anonymous> = <missing>]'
./tensorflow/stream_executor/dnn.h:891:91:   required from here
/usr/include/c++/6/tuple:489:65: error: mismatched argument pack lengths while expanding 'std::is_convertible<_UElements&&, _Elements>'
       return __and_<is_convertible<_UElements&&, _Elements>...>::value;
                                                                 ^~~~~
/usr/include/c++/6/tuple:490:1: error: body of constexpr function 'static constexpr bool std::_TC<<anonymous>, _Elements>::_ImplicitlyMoveConvertibleTuple() [with _UElements = {std::tuple<int, int, int>}; bool <anonymous> = true; _Elements = {int, int, int}]' not a return-statement
     }
 ^
/usr/include/c++/6/tuple: In instantiation of 'static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<int, int, int>&&; bool <anonymous> = true; _Elements = {int, int, int}]':
/usr/include/c++/6/tuple:686:422:   required by substitution of 'template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), int, int, int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> > constexpr std::tuple< <template-parameter-1-1> >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {int, int, int}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), int, int, int>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), int, int, int>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type <anonymous> = <missing>]'
./tensorflow/stream_executor/dnn.h:891:91:   required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
       return  __and_<__not_<is_same<tuple<_Elements...>,
                                                                                ^
/usr/include/c++/6/type_traits:1558:8: note: provided for 'template<class _From, class _To> struct std::is_convertible'
     struct is_convertible
        ^~~~~~~~~~~~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function 'static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<int, int, int>&&; bool <anonymous> = true; _Elements = {int, int, int}]' not a return-statement
     }
 ^
ERROR: /home/andy/TF/tensorflow/tensorflow/contrib/nccl/BUILD:23:1: output 'tensorflow/contrib/nccl/_objs/python/ops/_nccl_ops_gpu/tensorflow/contrib/nccl/kernels/nccl_ops.pic.o' was not created
ERROR: /home/andy/TF/tensorflow/tensorflow/contrib/nccl/BUILD:23:1: not all outputs were created or valid
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1037.698s, Critical Path: 28.30s
FAILED: Build did NOT complete successfully

my configure of r1.7 and r1.8 is below:
(python3) andy@andy:~/TF/tensorflow$ ./configure
WARNING: Running Bazel server needs to be killed, because the startup options are different.
You have bazel 0.11.1 installed.
Please specify the location of python. [Default is /home/andy/python3/bin/python]:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'site' has no attribute 'getsitepackages'
Found possible Python library paths:
  /home/andy/python3/lib/python3.6/site-packages
Please input the desired Python library path to use.  Default is [/home/andy/python3/lib/python3.6/site-packages]

Do you wish to build TensorFlow with jemalloc as malloc support? [Y/n]:
jemalloc as malloc support will be enabled for TensorFlow.

Do you wish to build TensorFlow with Google Cloud Platform support? [Y/n]: n
No Google Cloud Platform support will be enabled for TensorFlow.

Do you wish to build TensorFlow with Hadoop File System support? [Y/n]: n
No Hadoop File System support will be enabled for TensorFlow.

Do you wish to build TensorFlow with Amazon S3 File System support? [Y/n]: n
No Amazon S3 File System support will be enabled for TensorFlow.

Do you wish to build TensorFlow with Apache Kafka Platform support? [Y/n]: n
No Apache Kafka Platform support will be enabled for TensorFlow.

Do you wish to build TensorFlow with XLA JIT support? [y/N]:
No XLA JIT support will be enabled for TensorFlow.

Do you wish to build TensorFlow with GDR support? [y/N]:
No GDR support will be enabled for TensorFlow.

Do you wish to build TensorFlow with VERBS support? [y/N]:
No VERBS support will be enabled for TensorFlow.

Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]:
No OpenCL SYCL support will be enabled for TensorFlow.

Do you wish to build TensorFlow with CUDA support? [y/N]: y
CUDA support will be enabled for TensorFlow.

Please specify the CUDA SDK version you want to use, e.g. 7.0. [Leave empty to default to CUDA 9.0]: 9.1

Please specify the location where CUDA 9.1 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:

Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7.0]: 7

Please specify the location where cuDNN 7 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:

Do you wish to build TensorFlow with TensorRT support? [y/N]:
No TensorRT support will be enabled for TensorFlow.

Please specify the NCCL version you want to use. [Leave empty to default to NCCL 1.3]:

Please specify a list of comma-separated Cuda compute capabilities you want to build with.
You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus.
Please note that each additional compute capability significantly increases your build time and binary size. [Default is: 6.1]

Do you want to use clang as CUDA compiler? [y/N]:
nvcc will be used as CUDA compiler.

Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/x86_64-linux-gnu-gcc-6]:

Do you wish to build TensorFlow with MPI support? [y/N]:
No MPI support will be enabled for TensorFlow.

Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]:

Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]:
Not configuring the WORKSPACE for Android builds.

Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See tools/bazel.rc for more details.
	--config=mkl         	# Build with MKL support.
	--config=monolithic  	# Config for mostly static monolithic build.
Configuration finished

Also experiencing this error on Ubuntu 18.04 using gcc-6

I believe this is resolved

The error is still printed. Easy fix would be to redirect stderr in the respective run_shell command in configure.py. For myself, I added sys.stderr.write('*** The above error message can be safely ignored. ***\n') in the except block.


Entity Cleanup on Z-Wave node removal

Description:
Currently, when a Z-Wave node is removed, entities are left in Home Assistant until a restart, and entries are left orphaned in the entity registry and must be manually cleaned up.
This PR will update the node removal process so that when a node is removed, all entities associated with that node are removed, and their entries are purged from the entity registry.
Removal logic is in place, I just need to finish adding the code to run the remove command when it receives a node removed notification from OZW.
Related issue (if applicable): fixes #18795
Checklist:

[x] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

Would like to get a quick review to make sure I'm on the right path before I dive into writing tests.

If I'm reading the codecov report right, most of the missing tests are areas unrelated to this PR. Do I need to do anything with those?

No, no need to do anything to those

does this cleanup the zwave entity as well? It doesn't look like it.

@jurgenweber Please don't comment on merged merge requests. If you suspect an issue, please let us know by creating a new issue on the GitHub repository. Thanks! 👍


Laravel 7 support

Are you aware of anything preventing this from working with Laravel 7? I'm upgrading a project right now and have to remove your package so that I can, and I really don't want to! Once I get everything upgraded I can test it out with Laravel 7 and submit a PR, if you'd prefer.
Thanks!

Hi.
There has been some progress in getting this feature added to the main ide-helper package, and I think it'll probably happen soon. You can follow the discussion here: https://github.com/barryvdh/laravel-ide-helper/pull/842.
I'm not aware of anything new in Laravel 7 that should cause any issues, so it should be enough to just bump the dependencies. I don't have the time right now, but you're welcome to submit a PR if you like. Just be aware that this package will be abandoned when the upstream package gets a feature update.


Don't include core/io/image.h in core/os/os.h

core/os/os.h doesn't use core/io/image.h
It just brings to the code base transitive dependencies. Lots of dependencies because core/os/os.h is transitively included in almost every file of godot
How numbers were obtained. First of all thanks to this message in chat I knew about --tree=linedraw. So after compiling I run scons --tree=linedraw > /tmpt/godot.linedraw after that I needed to get actual number of includes of tested files. By running grep "<file>" /tmp/godot.linedraw | wc -l you get a number of files which directly or transitively depend on <file>

core/os/os.h
core/io/image.h

Master
3040
3073

PR
3040
2650

Summary. With this PR compiler will need to process core/io/image.h 423 times less. Numbers were obtained on linux and will differ a little on different platforms because they doesn't share files inside platform folder.
It definitely should improve compilation speed but how much.... Maybe several microseconds, maybe several minutes. I can't check. One full build build from clean state takes 1.5~ hours on my machine so if you have a more powerful machine, could you please test if there is difference in compile times?
This PR also contains one minor change. core/core_bind.h didn't use core/io/image.h in any way as like all who includes it so this change doesn't depend core/os/os.h file

This include is likely an old one from 3.x, a bunch of Ref<Image> function were in OS, but now are in DisplatyServer.

The issue is explained here https://github.com/godotengine/godot/pull/80330#issuecomment-1666840873

Honestly I can't say that I really understand Ref problem.
I removed forward declaration of Image inside display_server.h because it already included os.h which included image.h so IIUC there couldn't be problem with that forward declaration because the full definition also was pulled through os.h. Now there is no forward declaration at all so I want to believe there shouldn't be problem you describe

Are you sure there are no places that used to include this that have Ref<Image> and don't include the header? If yes then there's no problem, otherwise it is a risk and should have an include in the header as a replacement

Are you sure there are no places that used to include this that have Ref<Image> and don't include the header? If yes then there's no problem, otherwise it is a risk and should have an include in the header as a replacement

It looks like there is some places where the potential problem exist. I am almost found an easy way to find them with grep and etc so I think I will solve them tomorrow. Thank you for explanations  :smiley:

Are you sure there are no places that used to include this that have Ref<Image> and don't include the header? If yes then there's no problem, otherwise it is a risk and should have an include in the header as a replacement

Now I am sure. I didn't add it to the files which include core/io/image.h or core/io/image_loader.h directly inside .cpp or in corresponding .h file

Thanks!


Improve TreeNode and LogicalPlan APIs to accept owned closures, deprecate transform_down_mut() and transform_up_mut()

Which issue does this PR close?
Closes https://github.com/apache/arrow-datafusion/issues/10097, part of: https://github.com/apache/arrow-datafusion/issues/10121.
Rationale for this change

Currently the only difference between TreeNode::transform_down()  and TreeNode::transform_down_mut() is that transform_down() accepts an &Fn, while transform_down_mut() accepts an &mut FnMut closure.
As Fn is subtrait of FnMut, it is possible to use transform_down_mut() instead of transform_down() everywhere. But because transform_down() has a better name, let's fix transform_down() and get rid of transform_down_mut().
The same applies to TreeNode::transform_up()  vs. TreeNode::transform_up_mut() as well.
Currently TreeNode::apply(), TreeNode::transform(), TreeNode::transform_down(), TreeNode::transform_up(), TreeNode::transform_down_up() and their LogicalPlan::...with_subqueries() variants use &Fn or &mut FnMut closures, which is a bit cumbersome for the API users. This PR proposes to change these APIs to accept owned FnMut closures.

Please note that this is an API breaking change but the fix is straightforward.
What changes are included in this PR?
This PR:

Modifies TreeNode::apply(), TreeNode::transform(), TreeNode::transform_down(), TreeNode::transform_up(), TreeNode::transform_down_up() and their LogicalPlan::...with_subqueries() variants to use owned FnMut closures.
Changes all transform_down_mut() calls to transform_down() and transform_up_mut() calls to transform_up().
Deprecates transform_down_mut() and transform_up_mut().
Removes LogicalPlan::transform_down_mut_with_subqueries() and LogicalPlan::transform_up_mut_with_subqueries() to keep LogicalPlan::..._with_subqueries() APIs in sync with TreeNode APIs. (Please note that  transform_down_mut_with_subqueries() and transform_up_mut_with_subqueries() haven't been released yet so we can freely remove them.)

Are these changes tested?
Yes, with existing UTs.
Are there any user-facing changes?
No.

@alamb this PR might conflict with https://github.com/apache/arrow-datafusion/pull/10035, but I can update mine if yours gets merged first.

Thanks, @peter-toth—this really simplifies things. I'm wondering if there's an option to avoid changing the transform's Fn to FnMut (thus not requiring &mut for closures) by using the rewrite API for passes that need mutability inevitably. AFAIK rewrite can handle that for the transform_up and transform_down cases.

Thanks, @peter-toth—this really simplifies things. I'm wondering if there's an option to avoid changing the transform's Fn to FnMut (thus not requiring &mut for closures) by using the rewrite API for passes that need mutability inevitably. AFAIK rewrite can handle that for the transform_up and transform_down cases.

My concern is that it would require to refactor all current transform_down_mut() and transform_up_mut() usecases to use the rewrite() API, which is a bigger change required from the API users than just change to transform_down() (or transform_up()) and & to &mut.

I plan to merge this PR on Monday unless anyone else would like additional time to review or has additional comments

Thanks again @peter-toth  -- epic work


Adding the ability to support large file uploads with intermediate saving checkpoints

Made the following changes

deleted local.py and upload.py since I don't think they're needed now
refactored out some of the logic into helper functions so that it reads a bit more easily
Cleaned up the vars in main.py so that config and constants variables are all capitalised by default
cleaned up download.py and removed the useless functions.

Also added an example of how to use the Modal cli volume feature with an example for ls and rm inside the Readme file.


How do I specify which external clock I'm using?

I am using an ATMega168A-PU with a 16 MHz external clock.
I was able to upload the bootloader using the ATMega168/168p board.
Do I need to manually modify the fuse bits in boards.txt to configure my microcontroller to use a 16 MHz crystal? Thanks!

By uploading the bootloader you mean "burn bootloader" from the IDE menu, with one of my configurations selected?
The 168A looks functionally equivalent to the 168/168p, so the same fuses should apply to it (0xff, 0xdd, 0xf9 for an external 16MHz clock).


is nuxt ssr?

pls add ssr.
i nead ssr for nuxt .
Can you tell me how to add ssr for this extation?

@MirzaeiDev I have the same problem. Did you find a solution? If not, any similar plugin to recommend?

in nuxt.config.js
.....
plugins: [
{ src: '~/plugins/[mypath]', ssr: false }
],

in nuxt.config.js
.....
plugins: [
{ src: '~/plugins/[mypath]', ssr: false }
],


PayPal do not answer with error

Description
Making query to PayPal with wrong URL just hungs up
Steps to reproduce
curl -v -X GET https://api.sandbox.paypal.com/notifications/webhooks-events/WH-2YK56274DW464652K-38041688MS2505840 -H "Content-Type:application/json" -H "Authorization: Bearer <TOKEN>"
Here /v1 is missed at URL
Affected browsers
Any
EXPECTED
PayPal should return 404 Not Found error

Thanks for the report. Unfortunately this repo is for the client side checkout.js integration only. I'll pass on the report to the right team.

thank you. May you supply URL so I can track progress. thank you.

Also, please give me a link where I can report bugs and/or feature requests

@trainerbill do we have a portal for external folk to raise bugs/issues for anything other than checkout.js?

You can submit rest related issues here:
https://github.com/paypal/PayPal-REST-API-issues

Ok. thank you. Also I got some troubles in dashboard


Problem when evaluation

Hi here,
when I run the command "torchpack dist-run -np 1 python tools/test.py configs/nuscenes/det/transfusion/secfpn/camera+lidar/swint_v0p075/convfuser.yaml pretrained/bevfusion-det.pth --eval bbox"
It encounter a problem as mentioned below:
RuntimeError: CUDA error: no kernel image is available for execution on the deviceCUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
I used the A100 , cuda version is 11.1 , pytorch 1.10.0
By using the python -c "import torch; print(torch.cuda.is_available()" it return True
So I try edit the setup.py by adding a new line "-gencode=arch=compute_80,code=sm_80"
but it didn't work, could you help me fix this problem？thanks

Hi @linyanAI,
Would you mind helping us locate the exact line of code that causes the error? Is that in the SparseConv backbone or in the view transformer?
Best,
Haotian

File "/mnt/cache/huanglinyan/miniconda3/envs/fusion/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 214, in new_func
output = old_func(*new_args, **new_kwargs)  File "/mnt/cache/huanglinyan/project/bevfusion/mmdet3d/models/vtransforms/base.py", line 167, in bev_pool
x = bev_pool(x, geom_feats, B, self.nx[2], self.nx[0], self.nx[1])
File "/mnt/cache/huanglinyan/project/bevfusion/mmdet3d/ops/bev_pool/bev_pool.py", line 96, in bev_pool
x = x.permute(0, 4, 1, 2, 3).contiguous()
RuntimeError: CUDA error: no kernel image is available for execution on the device
It seems in the view transformer, and I check the version in this codebase twice but still got this problem

Hi @linyanAI,
Thanks for the information. Just to confirm, everything before the BEV pooling kernel (especially the sparse convolution backbone) runs correctly on your machine, right? You can insert a piece of code here:
print(spatial_features)

Best,
Haotian

Hi, It didn't return any things. After I check the order of the code, maybe it execute the camera backbone, and then Lidar backbone, but the error happens in the camera stage, so may not return things in lidar stage.

Hi @linyanAI,
Oh that makes sense to me. I think it might be possible to switch the order of execution here first like:
for sensor in ["lidar", "camera"]:

Let's first make sure whether it is the BEV pooling kernel that cannot run on your device or it is all customized CUDA kernels cannot run on your device.
Best,
Haotian

  File "tools/test.py", line 230, in <module>     main()   File "tools/test.py", line 203, in main     outputs = multi_gpu_test(model, data_loader, args.tmpdir, args.gpu_collect)   File "/mnt/cache/huanglinyan/miniconda3/envs/fusion/lib/python3.8/site-packages/mmdet/apis/test.py", line 98, in multi_gpu_test     result = model(return_loss=False, rescale=True, **data)   File "/mnt/cache/huanglinyan/miniconda3/envs/fusion/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call _impl     return forward_call(*input, **kwargs)   File "/mnt/cache/huanglinyan/miniconda3/envs/fusion/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 886, in  forward     output = self.module(*inputs[0], **kwargs[0])   File "/mnt/cache/huanglinyan/miniconda3/envs/fusion/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call _impl     return forward_call(*input, **kwargs)   File "/mnt/cache/huanglinyan/miniconda3/envs/fusion/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 128, in new_fun c     output = old_func(*new_args, **new_kwargs)   File "/mnt/cache/huanglinyan/project/bevfusion/mmdet3d/models/fusion_models/bevfusion.py", line 182, in forward     feature = self.extract_lidar_features(points)   File "/mnt/cache/huanglinyan/project/bevfusion/mmdet3d/models/fusion_models/bevfusion.py", line 123, in extract_lidar_features     feats, coords, sizes = self.voxelize(x)   File "/mnt/cache/huanglinyan/miniconda3/envs/fusion/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 28, in decora te_context     return func(*args, **kwargs)   File "/mnt/cache/huanglinyan/miniconda3/envs/fusion/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 214, in new_fun c     output = old_func(*new_args, **new_kwargs)   File "/mnt/cache/huanglinyan/project/bevfusion/mmdet3d/models/fusion_models/bevfusion.py", line 133, in voxelize     f, c, n = self.encoders["lidar"]["voxelize"](res)   File "/mnt/cache/huanglinyan/miniconda3/envs/fusion/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1102, in _call _impl     return forward_call(*input, **kwargs)   File "/mnt/cache/huanglinyan/project/bevfusion/mmdet3d/ops/voxel/voxelize.py", line 131, in forward     return voxelization(   File "/mnt/cache/huanglinyan/project/bevfusion/mmdet3d/ops/voxel/voxelize.py", line 55, in forward     voxel_num = hard_voxelize( RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
The same problem encounters in the lidar stage which before the sparse encoder exactly in the voxelize stage.

Yes, it looks like none of the customized kernels run successfully on your device. I'm also thinking about removing -gencode=arch=compute_80,code=sm_80 in the setup.py in your case. Would you mind giving it a try?

Yes, i can try it, but maybe 7 hours later. And my pytorch install command is as follows:
pip install torch==1.10.0+cu111 torchvision==0.11.0+cu111 torchaudio==0.10.0 -f https://download.pytorch.org/whl/torch_stable.html

Got it. Let me know if that does not work.

Thanks for your prompt response! I have solved it by rerun python setup.py develop just as you said before.

same problem, but I use aarch64 cpu with A100
slove by:
rm -rf build
vi setup.py
change line22 to
"-gencode=arch=compute_80,code=sm_80",


Simple exmaple of joined two workflows

I have added simple example of joining two workflows using shell pipe | command.

I have implemented JSON communication between the workflows as a protocol. I will update this request for that but first I would like to set up the communication way using file.

Done. I used JSON support in workflows for communication between them. For now a .json file is used for that so option -q is not required. Also the workflows are launched one after another.

Thanks for your PR but I'm not merging it because this repository is meant to show core language features. You technique it's an interesting approach that deserve to be publish in a blog post or even a separate GitHub project. In that case I will be happy to link it in the awesome-nextflow page.


Add support for hub SSL (HTTPS)

This PR adds a toggle in HPM settings to enable support for hub SSL. When enabled, it changes all hub requests to use HTTPS and port 8443. With the toggle enabled, all functions of HPM now work properly even with hub SSL.

Manually merged as v1.8.11


Pod install error

Analyzing dependencies [!] Unable to find a specification for PoseKit (~> 0.5.0)`
You have either:

mistyped the name or version.
not added the source repo that hosts the Podspec to your Podfile.

`

sorry, right now it doesn't work with cocoa pods, it's possibly an issue with realityKit, but I'm not sure.
Anyway, you can still use by dragging/copying only the posekit/core folder and adding into your project, it will work as a bunch of "normal" classes in your project


There is not an image in clipboard!

I can't paste from clipboard and command, I use Macbook Pro 16 2019

Please run step1-3.
step1, uninstall extension Paste Image(mushan.vscode-paste-image).
step2, install extension Paste Image from local pc(sakamoto66.vscode-paste-image).
step3, install pngpaste

brew install pngpaste

brew install pngpaste
Hi @sakamoto66 , I have the same problem, and even following your steps does not work.
After following your steps I get a new error tho.

i have the same porblem when use remote ssh when the server is ubuntu

Follow below steps to copy paste images in vscode for macOS

There are different shortcut keys to take the screenshot and copy the screenshot to the clipboard in macOS.

To copy the image to the clipboard hold control along with the snippet/screenshot keyboard shortcut. For example control + shift + command + 3/4

Then you can use the keyboard shortcut key option + command + v to paste the image in vscode.

you can update the shortcut keys at SystemPreferences > KeyBoard > ShortCuts > ScreenShots
Similarly you can update the paste shortcut key in vscode at Preferences > KeyBoard shortCuts > editor.action.clipboardPasteAction

I have the same problem when using remote ssh in Ubuntu

same behavior like @iris0329 ; started code in WSL, on a Ubuntu on Windows

same problem when using github codespace
command + V -> OK
command + option + V -> NG(error message: There is not a image in clipboard.)