Broken top navigation links at 404 page

Go to non existing page, for example - https://reactjs.org/component-api.md (I get it from react native docs "React.Component API" https://facebook.github.io/react-native/docs/state.html)
Click on any top navigation link "Docs", "Tutorial", etc.

Errors in console

Tried in latest chrome and safari.

Looks related to https://github.com/reactjs/reactjs.org/issues/365.
cc @KyleAMathews

Yeah, sounds like the same thing I'm describing in this comment. ☹
Thanks for reporting. We'll try to dig into this soon.

Unfortunately this can't be repro'd in dev mode because Gatsby handles 404s very different in dev vs prod. Shortest path to repro locally is yarn build && serve ./public.
The error is from trying to push to window.___history which doesn't exist.
My current guess is that Gatsby isn't properly executing this code which sets window.___history = history in the event of a 404.

Just as a proof-of-concept, I added a line to this short-circuit that sets a stub window.___history object:
window.___history = history = {};

This seems to unbreak navigation links.

Just as a proof-of-concept, I added a line to this short-circuit that sets a stub window.___history object:
if (!page) {
  console.log(`A page wasn't found for "${path}"`)
  window.___history = []; // TEST
  return
}

This prevents the undefined runtime error (but doesn't "fix" things since this isn't the react-router history object).

It's interesting to note that this defect doesn't seem to impact the Gatsby site.

Sorry for not being able to jump on this :-( in a gazillion meetings today but I'll get on this tonight and look into why it could be undefined.

No problem Kyle. I started digging into it before I realized that it wasn't happening on the Gatsby site, at which point I updated all of the Gatsby plugins and now it doesn't happen on the React site either. 😄
We could bisect to find out when it was fixed, if it's important to know.

@ataylorme reported this on a site he's building where it's happening on every initial page load — with that I was able to dive into the issue and make this PR https://github.com/gatsbyjs/gatsby/pull/3313
It's out in the latest gatsby release.

🎉 Nice!


Fix broken "pass multiple translations to components" link in docs

At the bottom of the Getting Started page

Thanks @marc-ed-raffalli . Confirmed fix in #48.


Cannot Go to Next Page from The signature Pad. The App Crush.

I add extra button and go to another form from signature pad. It work but after a few seconds it crush. Can advise?
from here

to there and show like this. don't know how

Code
newA[the Activity of New Form]
public class newA extends Activity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.layout);}
}
Code from MainActivity
private void View(){
    Button Test= (Button) (findViewById(R.id.Test_button));
    Test.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            onAddRecord();
        }
    });

}

private void onAddRecord() {
    Intent intent = new Intent(MainActivity.this, newA.class);
    startActivity(intent);
}

Hello,
could you please provide a stack trace of your app when it crashes?

03-14 14:26:53.037 23003-23003/com.example.kyilintun.surveysoftware E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.kyilintun.surveysoftware, PID: 23003
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.github.gcacace.signaturepad.views.SignaturePad.setOnSignedListener(com.github.gcacace.signaturepad.views.SignaturePad$OnSignedListener)' on a null object reference

sry for late reply. and thanks the issues still open!

The issue already solved by my self, i use different approach and i am currently able to use the signature pad thanks!

@kyilintun2017 Would your code share? Now I am seeing the same errors.

Use the below property in your SignaturePad view. In my case, it was working.
android:saveEnabled="false"


API resources loads a model's accessor when using when(), whenLoaded(), mergeWhen(), etc.

Laravel Version: 6.15.0
PHP Version: 7.2.26

Description:
I have an issue with API resources where it will load my custom attribute/accessor, which loads a relationship causing unnecessary additional database queries, even when using conditional attribute loading in the API resource.
This may not be a "bug" per se, but is a major performance problem. I'm not sure if it just boils down to poor implementation, but I've tried many many different solutions and the only ones that did the job were workarounds that are not satisfactory (ie. checking if the relationship is loaded on the accessor itself.)
Steps To Reproduce:
API Resource example:
<?php

namespace App\Http\Resources;

use Illuminate\Http\Resources\Json\JsonResource;

class PostResource extends JsonResource
{
    public function toArray($request)
    {
        return [
            'created_by' => UserResource::make($this->whenLoaded('activity', $this->created_by)),
        ];
    }
}

Post model with custom attribute:
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use App\Activity;

class Post extends Model
{
    public function activity()
    {
        return $this->morphMany(Activity::class, 'model');
    }

    public function getCreatedByAttribute()
    {
        $created = $this->activity()->with('user')->where('action', 'created')->orderBy('created_at')->first();

        if ($created && $created->user) {
            return $created->user;
        }

        return null;
    }
}

The resource will still query the activity relationship, even though the condition wasn't met. This causes massive amounts of queries when using a resource collection for example.

Best workaround solution I could come up with:
 UserResource::make($this->whenLoaded('activity',
                ($this->relationLoaded('activity') || array_key_exists('created_by', $this->getAttributes()))
                    ? $this->created_by : null)),
        ];
    }
}

That code snippet is the equivalent of:
public function toArray($request)
{
    $createdBy = $this->created_by; // runs database queries

    return [
        'created_by' => UserResource::make($this->whenLoaded('activity', $createdBy)),
    ];
}

You need to wrap the computed result in a PHP Closure to lazyload the result.
public function toArray($request)
{
    return [
        'created_by' => UserResource::make($this->whenLoaded('activity', function () {
            return $this->created_by;
        })),
    ];
}

Either way, the example computed get mutator will always run extra database queries since $this->activity() starts a new query builder. Changing the implementation to work on the $post->activity Collection object will prevent N+1 queries when fetching many posts.
public function getCreatedByAttribute()
{
    return $this->activity->sortBy('created_at')->firstWhere('action', 'created')
        ->user ?? null;
}

PostResource::collection(
    Post::with('activity.user')->latest()->take(10)->get()
);

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.

Thanks @derekmd - I don't know why I never thought of using a closure. D'oh!


gitian: Debian doesn't ship with ifconfig

The instructions here won't work if ifconfig is not present:
https://github.com/bitcoin-core/docs/blob/master/gitian-building/gitian-building-setup-gitian-debian.md#setting-up-debian-for-gitian-building
Solution is to tell user to sudo apt-get install net-tools or change the instructions to use the ip command.
That still doesn't work for me. I had to sudo -s and then source /etc/rc.local.
(also, there's some inconsistency between this user being called debian vs gitianuser, but that creates a clear error message. However gitian-builder/var/lxc.config assumes debian)

also, there's some inconsistency between this user being called debian vs gitianuser

See #20

This is a Debian 9 issue. It works fine in Debian 8.
Probably still worth addressing at some point. Can we get a "Debian 9" label? cc @fivepiece @laanwj @MarcoFalke.

We could use
brctl addbr br0
ip addr add <IP_ADDRESS>/24 brd <IP_ADDRESS> dev br0
ip link set br0 up

to set up the bridge instead of ifconfig.  I haven't tested it on a NAT'd host VM though.

See #22 for something that seems to work for me.

Fixed through #22.


Which version of Pillow-SIMD works with Pilbox 1.3.4?

Is there a recommended version of Pillow-SIMD that works with Pilbox 1.3.4? They don't have a tag for 5.2.0 - I tried 5.1.1.post0 (the latest) but it caused errors:
ImportError: The _imaging extension was built for another version of Pillow or PIL:

Looks like it doesn't support 5.2.0 yet. I'd have to make a new version that used an earlier Pillow version.

It looks like they released their 5.2.0 version: https://pypi.org/project/Pillow-SIMD/5.2.0.post0/

Cool, thank you for the tip!


Mismatch of data for some locations

Hi, I have been using your API for a project and i have noticed for some location the data doesn't match with the data displayed on their official sites.
Here i have given West Bengal data, If you check the official site, the numbers are different.

The same data is coming for last couple of days as well.
are the scrappers for some sites not working?

I am also facing the same issue. Now the API is not working. Do you find any alternative API?


Lightning - calculated field showing previous cached value

I believe this is a Lightning issue rather than a DLRS issue.
Commented this on Chatter:
"Has anyone seen a properly weird Lightning issue that I'm getting. It may be unrelated to DLRS, but I've only noted it happen so far on DLRS updated fields.
I'm on a record, in Lightning, I'm looking at the field where something should be rolled up to. They are blank when they should be populated.
If I switch to Classic, the fields are populated. If I report on it, they are populated.
Another user views the fields in lightning, they are populated.
A weirdly inconsistent spread of visibility. I've tried the old SHIFT F5 to no avail here and it is a frankly weird situation to troubleshoot. The data is clearly there."
Known issue points to here:
https://success.salesforce.com/issues_view?id=a1p3A0000001C8QQAU

Are you using Chrome? If so update your Version and Relaunch your browser

Thanks for providing this issue so others may find it!  Since it's not a DLRS issue I am closing it out though.


0.0.11, FutureStates - "name" and "url" are now both required?

In 0.0.10, it was possible to specify either url or name when defining a future state - a fact which my application depends on.
With 0.0.11 it appears that the futureState() method of $futureStateProvider makes assumptions that 'name' and 'url' will always be specified.
It appears that 'name' is required in order to resolve the parent state relationship, and 'url' is required to support urls being built up from appended parent urls. Unfortunately most of my "parent" states are abstract and therefore have no url. Am I correct in assuming that FutureStates doesn't support abstract states?
This wasn't an issue with 0.0.10 because it appeared that didn't need to specify the "name" - as futurestates wasn't trying to resolve the parent<>child relationships - just specifying "url" worked fine for me.

@maximumduncan name (stateName) and url (urlPrefix) have always been considered required.  It was just luck that it worked for you with one or the other in 0.0.10.  May I ask why you object to providing the future state name?

The other half of your question, I haven't tested future states as substates to abstract states.  I will look into that.

I think this commit: 31ca73bdc07ac80b53e9ec76f7f4eca268461fa2 allows abstract parent state.  I added a test for this scenario and it's passing.

@christopherthielen - thanks for commenting on this, I will have a look at that commit and get back to you.

May I ask why you object to providing the future state name?

Essentially because there may be many states loaded (a hierarchy where some are abstract) at a single URL. If I need to specify a "name" in $futureStates, then I also need to specify that state's parent, and the parent's parent etc. Essentially it seems that my whole state hierarchy needs to be duplicated into $futureStates - whereas before a single URL would've sufficed.

I've had a look at that commit and it's associated test, and it appears that this approach will work if the abstract states are declared statically (in $stateProvider) when the application is loaded. I can't see this working if the abstract states themselves are also considered "future" states.
This is what I have in my app - the whole hierarchy of states, including the abstract ones, shouldn't be defined at application load time; I'd like all those states to be future states and therefore it seems they all have to be defined in $futureStateProvider. Even if I was to try and do that (which would lead to quite a bit of duplication) I think that $futureStateProvider will complain as it doesn't look like it supports abstract states because it each state requires a url.

@maximumduncan in order to support $state.go('some.future.state.nested.deeply') [as opposed to $location.url('/some/url/nested/deeply')], future states must have names.
These bullet points may help you find a working solution:

abstract states may have urls
you may define future states which lazy load to abstract states
you may register a single future state placeholder which, when realized via its factory, lazy loads to an entire hierarchy of full states (i.e., a module)
you may register a future state hierarchy and also register nested sub-hierarchies or sub-states; they will be chained and lazy loaded in the correct order when the nested url or state is requested.  (https://github.com/christopherthielen/ui-router-extras/blob/master/src/futureState.js#L120)

A nested chained future state may be a deeply nested grandchild of a parent future state, not necessarily a direct child
Chained future states will concatenate their future urls together, so define your urls wisely (https://github.com/christopherthielen/ui-router-extras/blob/master/src/futureState.js#L57)

Future state urls may be declared using "^" for absolute url matching (https://github.com/christopherthielen/ui-router-extras/blob/master/src/futureState.js#L61)

I'm having similar issue and your fix gets us halfway there. I believe that future states should always have names, so no issue there. And the fix for optional URLs works in half the cases. Here's my situation:
$futureStateProvider
	.futureState( {
		name: 'auth',
	} )
	.futureState( {
		name: 'auth.login',
		url: '/login',
	} );

// The states that will be lazy loaded.
$stateProvider
	.state( 'auth', {
	    abstract: true,
	} )
	.state( 'auth.login', {
		url: '/login',
	} );

Basically, I don't have a "top" state like in the tests. I have a bunch of auth related states that are nested to include the template and various other resolves, etc. The issue is that I don't want to have a top-level URL so that I can keep login/join URLS short and clean. However, I want to lazy load the whole section of states.
It almost works. It seems what is happening is that when registering the auth state with future states it fails at the line with futureState.url.charAt(0). I believe that's what @maximumduncan was saying. It would only work if I had set auth as a non-future-state through $stateProvider, since then it wouldn't try to find the URL for it.
What would be ideal is that it just skips the URL generation for it if possible. $state.go would work since the name is registered just fine.

@hworld can you speecify url: "" on your url-less future states?

When I did that, it was attempting to load in the auth future state any time there was a state not found. I think since the URL of '' matched any URL. I'm thinking that any time a state wasn't found, it would attempt to load all my abstract states in.

Thanks for everyone's help.
I've had some time to go back to this and I've managed to make it work with one minor change to the library. I've created a pull request with this change in it (https://github.com/christopherthielen/ui-router-extras/pull/167) for your review.


Documentation translations

I like the style and advanced use of your component library very much. Provide a translation method and I would be happy to translate the document into Chinese.

Thanks! I'm a little late to reply but I have it in my backlog to add some i18n features, I'll get back to you when they are ready.


ENH Support of background tasks

Is your feature request related to a problem? Please describe.
It seems not possible to run tasks in the background.
Describe the solution you'd like
I would like to run the tasks in the background so it can do other stuff in the meantime.
Describe alternatives you've considered
I use APScheduler right now but besides it supports background tasks I feel like Rocketry would be way more convenient if it supports this feature.

Do you mean that to run a (Rocketry) task permanently alongside the rest of the scheduler? If so, Rocketry indeed fully supports it using permanent_task. Possibly not well documented yet.
@app.task(on_startup=True, permanent_task=True, execution="async")
async def do_background():
    while True:
        ...

The permanent_task=True is nothing super special. It just means that the task cannot be timeouted and when the scheduler shuts down, the engine will not wait for it to finish and it will terminate it outright. It supports all of the execution methods.
Or did you mean something else?

Actually it should be the other way around like APScheduler is doing with their BackgroundScheduler().
So the scheduler should be in the background. Not other tasks. I tried above method but it doesn't seem to start my web app, it's just hanging.

Rocketry's scheduler does not make assumptions on which application runs on top of it. It's the responsibility of the main application to inform Rocketry's scheduler to quit scheduling. You can use the shut_cond or the shut_down method. There are various ways to signal for exit and Rocketry should not make assumptions regarding this or force you to use specific one.
Perhaps there could be a collection of conditions for most common kill signals but it should be easy to create your own condition and add that as a shut_cond.
I can later elaborate a bit more (on phone). What technologies are you using for the web app?
If you embed your web app to Rocketry's task, you probably need to do the reverse: ask the web app to exit from the Rocketry task. And it depends on the web library how its shutdown mechanism works.

Without further information, I'll close this issue.
Feel free to open another one if this was not solved but include the web technology that was used so we can see whether the issue is in Rocketry or in the web technology (like does it support adding callbacks for shutdown sequence).
By design Rocketry is well suitable to be embedded in other applications. I have demonstrated it with FastAPI: https://github.com/Miksus/rocketry-with-fastapi


Double-ended-iterator-for-stores

This PR implements DoubleEndedIterator for two structs: StoreFieldKeyedIter and StoreFieldIter

The code looks good, and I tested these both out and they seem to work well -- Very nice, thanks!


:robot: lint

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Lint passed and I cancelled the other jobs as they made no sense


buildRustPackage: allow patches to fix Cargo.lock

Motivation for this change
Version that should work of https://github.com/NixOS/nixpkgs/pull/44967
I have checked building a package that requires it (https://github.com/NixOS/nixpkgs/pull/44968) and a project that uses dynamic patches (rustracer). rustracer's hashes appear to not have changed, so I guess it's alright :)
cc @Mic92 @LnL7
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Did you verify with --check?

Thanks! fixed :)


Https可以访问，玩家在线功能统计正常，但幻兽列表和物品列表 与游戏不同步

https://<IP_ADDRESS>:8081/  可以访问
玩家最后在线时间统计正常，玩家上线正常
管理员密码可以正常使用
存档自动备份正常
问题：
<幻兽列表 和 物品列表> 在website中和游戏中不同步，    <幻兽列表 和 物品列表 >是很久之前的老数据了。
观察日志发现有报错：
[SAV-CLI] 2024/03/12 - 09:40:27 | INFO | Converting...
[SAV-CLI] 2024/03/12 - 09:40:28 | INFO | Structuring players...
[SAV-CLI] 2024/03/12 - 09:40:29 | INFO | Structuring guilds...
[SAV-CLI] 2024/03/12 - 09:40:29 | INFO | Put players to player with Players: 5
Traceback (most recent call last):
File "sav_cli.py", line 60, in
File "requests/api.py", line 130, in put
File "requests/api.py", line 59, in request
File "requests/sessions.py", line 575, in request
File "requests/sessions.py", line 486, in prepare_request
File "requests/models.py", line 368, in prepare
File "requests/models.py", line 439, in prepare_url
requests.exceptions.MissingSchema: Invalid URL 'player': No scheme supplied. Perhaps you meant https://player?
[1952] Failed to execute script 'sav_cli' due to unhandled exception!
2024/03/12 - 09:40:29 | ERROR | task/task.go:68 | error waiting for command: exit status 1
2024/03/12 - 09:40:29 | INFO | task/task.go:70 | Sav sync done
以下是配置文件
web:
password: "略"
port: 8081
tls: true
cert_path: "/home/song/pst/xxxxxx.crt"
key_path: "/home/song/pst/xxxxxx.key"
public_url: "略"
rcon:
address: "<IP_ADDRESS>:7770"
password: "略"
timeout: 5
sync_interval: 60
save:
path: "/home/steam/Steam/steamapps/common/PalServer/Pal/Saved"
decode_path: ""
sync_interval: 120
backup_interval: 14400
manage:
kick_non_whitelist: false

补充： 切换回http之后，就没这问题了。 好像只有https才有这问题

关键点在于你public_url填写的内容...

从日志中的
[SAV-CLI] 2024/03/12 - 09:40:29 | INFO | Put players to player with Players: 5

可以看出，你的public_url应该是没有填写正确？


Upgrade baseline to 0.41.0

Need to figure out how to merge the checkstyles because otherwise we will end up with a lot of mess

Spark themselves doesn't checkstyle indentation. When they turn it on we can figure out how to merge the styles but for now we can go with ours for this one plugin

👍


Could org.jitsi:ice4j:3.0-SNAPSHOT drop off redundant dependencies?

Hi! I found the pom file of project org.jitsi:ice4j:3.0-SNAPSHOT introduced 68 dependencies. However, among them, 10 libraries (14%) are not used by your project. I list the redundant dependencies below (labelled as red ones in the figure):
Redundant dependencies
com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
com.google.j2objc:j2objc-annotations:jar:1.3:compile
io.mockk:mockk-dsl:jar:1.10.0:test
net.java.dev.jna:jna:jar:5.9.0:compile
com.google.errorprone:error_prone_annotations:jar:2.7.1:compile
com.google.code.findbugs:jsr305:jar:3.0.2:compile
org.apiguardian:apiguardian-api:jar:1.1.2:test
org.junit.platform:junit-platform-suite-api:jar:1.6.2:test
org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.5.31:compile
io.mockk:mockk-common:jar:1.10.0:test

Removing the redundant dependencies can reduce the size of project and prevent potential dependency conflict issues (i.e., multiple versions of the same library). More importantly, one of the redundant dependencies org.junit.platform:junit-platform-suite-api:jar:1.6.2:test incorporates an incompatible license ECLIPSE PUBLIC LICENSE V2.0 (ECLIPSE PUBLIC LICENSE V2.0 cannot be used by the project with license Apache-2.0). 2 of the redundant dependencies io.mockk:mockk-dsl:jar:1.10.0:test, org.apiguardian:apiguardian-api:jar:1.1.2:test induced dependency conflict in the dependency graph. As such, I suggest a refactoring operation for org.jitsi:ice4j:3.0-SNAPSHOT’s pom file.
The attached PR helps resolve the reported problem. It is safe to remove the unused libraries (we considered Java reflection relations when analyzing the dependencies). These changes have passed org.jitsi:ice4j:3.0-SNAPSHOT’s maven tests.
Best regards

Hi, thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

Hi, thanks for your contribution! If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

Thank you, I have already finished it.

Hi, @Celebrate-future,
Thanks for your contribution! I confirm the CLA has been received.
Did you use an automated tool to find the redundant dependencies? I see a lot of them come from jitsi-utils. Do you think they could be removed there instead?

Jenkins please test this

Some of these are only "test"-scope dependencies, and as such shouldn't introduce any issues of version conflicts, project size, or license issues for consumers of the library.  (mvn dependency:tree -Dscope=compile will show you only non-test-scope dependencies.)
The guava dependency is used by the org.jitsi.utils.logging2 package, which ice4j does use - the fact that the tests pass without using it might mean that the unit tests aren't giving the coverage we should have, but I don't think it's safe to remove it.  Some others are recursive dependencies of guava.
kotlin-stdlib is similarly used by logging2.
The remaining one is JNA.  This is used by jitsi-utils, but not by a portion of jitsi-utils that ice4j uses.  As such it can probably be safely excluded.

We removed the guava dependency from jitsi-utils

We removed the guava dependency from jitsi-utils

OK，thanks for your attention.


 Should we just disable any tests that fail like this? https://github.com/tenstorrent/tt-metal/actions/runs/9352480375/job/25740974650
@tarafdarTT @abhullar-tt @tt-aho

does it also hang locally?

You can try on a CI VM, maybe it shows w/ host side resource constraints

curious about this as well

does it also hang locally?

Was able to see it hang locally on N150 <IP_ADDRESS>, running
pytest $TT_METAL_HOME/tests/ttnn/unit_tests -xv --splits 2 --group 1 -m "not disable_fast_runtime_mode
It hangs at a different test: tests/ttnn/unit_tests/operations/test_conv2d.py
From my device pool CI triage, I've found that the tests in test_conv2d.py and group_norm.py tend to have random hangs if we try to clean up python memory usage...

do you think its worth making device track buffers rather than using the gc collect?

do you think its worth making device track buffers rather than using the gc collect?
I'm trying to narrow down what is causing a hang, it should just be some device init and close thing, because all these tests that "hang" should just be skipped. If this is not going anywhere, then I'll try to have device track buffers

This was a hack PR, ended up checking DevicePool with bug fixes instead. Closing


Website not built properly after running 'nuxt generate'

Hi guys, first of all let me say thanks for the amazing framework!
I'm building a personal website with nuxtJS these days. I have finished the development work however when I run nuxt generate and host the dist folder on my server, the website is not complete and something is different from how it looks in development mode.
I have four pages in the site, and I put all of the images under /static/img folder. When I host the dist folder, it is trying to search image under /{pagename}/img folder for each page, which is causing the images to break.Must I separate the images based on what page they belong to?
Also, it seems that the files are not loaded correctly. The screenshot below is the first load of the site

Any ideas?
P.S. Url for the project: https://github.com/rockcs1992/Personal-Website

This question is available on Nuxt.js community (#c2292)

How to fix this if using push-dir? I'm encountered this issue too.

@IlhamWahabiGX You mean push-dir ignore .nojekyll file?

@limichange nope, I mean same  error when this issue created.

Looks like I should open new issue?

ok here it is

@NicoPennec, Thank you for the fix using dotfiles you provided above helped me through it!
@IlhamWahabiGX! Thanks for the favicon fix you provided above and opening https://github.com/nuxt-community/create-nuxt-app/issues/52


Number of leaf nodes in binary tree

Binary Tree

Number of leaf nodes in binary tree, issue number #656

I added an algorithms to find:
-Number of leaf nodes in the binary tree
Some outputs with screenshots are given down below.
Checklist

[x] ✅ My code follows the code style of this project.
[ ] 📝 My change requires a change to the README.
[ ] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[ ] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[ ] 🌟 ed the repo

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Output Screenshots
Output 1:
               30
         /              \
      20                40
   /    \             /      \
10       25          35      45

No. of leaf nodes in tree: 4

Output 2:
100
  \
   120
      \
      130
         \
         140
            \
            150
              \
              160
                 \
                 170

No. of leaf nodes of tree: 1

@Lakhankumawat @miraj0507 sir, please check my pull request.

@miraj0507 sir, please check the pr i have made the changes

You need to follow particular guidelines for your README , please follow
these guidelines click here
also you can see how your README should look like see here
for more please go through these here

Instead of output screenshot in README add working images

Instead of output screenshot in README add working images

what is mean of working images? can you please elaborate it

Try to link the table of contents to actual headings. You can refer other prs !

@siddhi-244 please review, i have done the editing & mam "what is working images?". If it mean about inputs so for that instead of photos, i have already put in it in words because i think that won't look good if i illustrate my example on a paper.

@all-contributors please add @Purvak-10 code ,


Add handy out-of-the-box ways to filter request

Sometimes (very often indeed) you need to retrieve only one or two $_POST / $_GET variables.
Introdusing model for that purpose is unnesessary overhead.
Would be nice to have something like this:
$somevar = Yii::$app->request->post('somevar', null, ['int', 'max' => 100];

$somevar = Yii::$app->request->get('somevar', null, ['int', 'max' => 100];

Or in controller:
public function actionDosomething($id)
{
    $id = Yii::filter($id, 'int', null, ['max' => 100]);
    ...
}

Maybe the first step could at least be to implement a basic filter to the current functionality of the Request object:
$id = $request->get('id');
// equivalent to: $id = isset($_GET['id']) ? $_GET['id'] : null;

which could work similar to the extenstions which were used in Yii 1.1.x
http://www.yiiframework.com/extension/input/

this looks like too much magic and complexity. Less arguments to functions is better.


error: 'const' enums are not supported

Trying to run iOS I get the following error:

error<EMAIL_ADDRESS><EMAIL_ADDRESS>'const' enums are not supported.

https://github.com/stripe/stripe-react-native/blob/a50a806075e37ab73ab9a76e95782044851d94e1/src/types/Errors.ts#L88
If my understanding is correct, this is because babel only supports const enums since 7.15 and you are on 7.13.

Great! added a lint rule to prevent this from happening again, thanks for the issue!


registerRequestFilter for iOS with useNativeHlsOnSafari: false

Have you read the Tutorials?
yes
Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
3.3.0
Please ask your question
I'm able to register a request filter on an instance of the player in chrome and safari, but for some reason the registration isn't happening for the player in iOS (though it is in iPadOS). I tried setting useNativeHlsOnSafari to false, but that doesn't seem to have made a difference. I added logging and it appears that the function that I register is never called in iOS when the player loads.
Just some context: I'm trying to access content that is on a CloudFront CDN that requires signed urls. The src for the video is signed, but the underlying .m3u8 file just references the child manifests which aren't signed, so I'm trying to replace those uris with signed urls that I already have. As I said this process is working fine in other contexts, but I'm not sure what I'm missing to make it work for iOS devices.
Here's the relevant code:
if (shaka.Player.isBrowserSupported()) {
  // Install built-in polyfills
  shaka.polyfill.installAll();
  this.shakaInstance = new shaka.Player(video);
  this.shakaInstance.configure({
    abr: {
       defaultBandwidthEstimate: 800000
    },
    streaming: {
       useNativeHlsOnSafari: false
     }
   });
   if (!this.unsignedUrl) { // hls manifest doesn't include signedUrls, so we need to replace them with the signedUrls on-the-fly
     let videoUrls = this.signedUrls.videos;
     let manifests = this.signedUrls.manifests;
     console.log('signed url needed, registring request filters'); // this never logs on iOS
     this.shakaInstance.getNetworkingEngine().registerRequestFilter((type, request) => {
        const uri = request.uris[0];
        if (type === shaka.net.NetworkingEngine.RequestType.MANIFEST && uri.indexOf('Key-Pair-Id') === -1) { // missing signature
          let url;
          const vidQuality = uri.substring(uri.length - 9);
          if (vidQuality === '_low.m3u8') url = manifests[1];
          else if (vidQuality === '_med.m3u8') url = manifests[2];
          else url = manifests[3];
          request.uris[0] = url;
        } else if (type == shaka.net.NetworkingEngine.RequestType.SEGMENT) {
          let url;
          const vidQuality = uri.substring(uri.length - 7);
          if (vidQuality === '_low.ts') url = videoUrls[0];
          else if (vidQuality === '_med.ts') url = videoUrls[1];
          else url = videoUrls[2];
          request.uris[0] = url;
         }
       });
     }
     this.shakaInstance.load(this.src);
   } else {
     console.log('Browser is not supported!');
}

I'm assuming that I'm missing something required for HLS in iOS.
Thank you!

On iOS, outside of iPad, native HLS is the only option.  With Apple's native HLS, requests for playlists and segments are made by the native HLS implementation, not by JavaScript.  Therefore, network filters are not feasible in Shaka on iOS.
If Apple ever decides to ship full MSE support on iOS, everything will be able to work the same across platforms.  Until then, we apologize for the inconvenience!

@joeyparrish thanks for the quick response! I think the best path forward will be for me to rethink the signed url pattern to avoid needing to use the network filters in the first place.


Clowder user roles

What privileges should we provide users? They should be able to use the system, add metadata, create tools and collections but not delete or modify existing information.
To prevent accidental corruption of the data stream, would it be worthwhile to give anyone who has delete / edit permissions two accounts, one for editing / deleting and the other for viewing / annotating?  (is there ever a case where someone should be able to edit or delete a dataset from the web interface? perhaps one that they created, but not for the data products that we provide ...)
I created a new 'role' called "Add, Annotate, Aggregate". Are these appropriate permissions for the TERRA community of alpha-testers?

Space: View
Dataset: View | Create
Collection: View | Create
File: Add | View | Download
Section: View
Metadata: Add | View
Tag: Add | View
Comment: Add | View
Sensor: View
Geo Stream: Add | View
Datapoint: Add
Relation: View
User: View

in general you can only delete that which you are the owner of. So you can not delete something that I did (unless you have super powers see https://opensource.ncsa.illinois.edu/jira/browse/CATS-486)

There's also a separate permission for being able to launch analysis tools - seems like anyone who can view the files ought to be able to do that?
but we should probably also flesh out the management piece of those tool instances so people can't launch 400 tools and forget about them for 6 months - there's nothing of that nature in the code right now.


should be searchable

Either a single page version of documentation should be provided or the documentation should be made searchable – its pain having to check all the pages which could be at least remotely useful.

this is gonna end up being an upstream bug https://github.com/azerupi/mdBook/issues/51

The upstream issue has been closed and the their documentation has a search https://rust-lang-nursery.github.io/mdBook/.
Maybe the cargo documentation https://doc.rust-lang.org/cargo/ has to be regenerated using the newest version?

The beta (https://doc.rust-lang.org/beta/cargo/) or nightly (https://doc.rust-lang.org/nightly/cargo/) docs have search.  The stable docs should pick up the change during the next release (~6 weeks).

Thanks!


add LocalMagSystem & 'csp' magsystem built-in

This supersedes #117 (commits squashed). Could still use some slight fixes, but this is the general idea.
I've removed the CSP reader from this PR because it seems to dataset specific. It's still useful, but it might be better as part of kbarbary/sndatasets, e.g., the future sncosmo.datasets module.

did you squash all the commits from #117 into 1 and then squash some new commits onto those to make this pr?
On Fri, Nov 20, 2015 at 11:50 PM, Kyle Barbary<EMAIL_ADDRESS>wrote:

This supersedes #117 (commits squashed). Could still use some slight fixes, but this is the general idea.
I've removed the CSP reader from this PR because it seems to dataset specific. It's still useful, but it might be better as part of kbarbary/sndatasets, e.g., the future sncosmo.datasets module.
You can view, comment on, or merge this pull request online at:
https://github.com/sncosmo/sncosmo/pull/126
-- Commit Summary --

add LocalMagSystem & 'csp' magsystem built-in
-- File Changes --
M sncosmo/builtins.py (28)
M sncosmo/spectral.py (63)
M sncosmo/tests/test_spectral.py (40)
-- Patch Links --
https://github.com/sncosmo/sncosmo/pull/126.patch
https://github.com/sncosmo/sncosmo/pull/126.diff

Reply to this email directly or view it on GitHub:
https://github.com/sncosmo/sncosmo/pull/126

Yes.

probably should make the sndatasets repository part of the sncosmo organization
On Sat, Nov 21, 2015 at 1:22 PM, Kyle Barbary<EMAIL_ADDRESS>wrote:

Yes.
Reply to this email directly or view it on GitHub:
https://github.com/sncosmo/sncosmo/pull/126#issuecomment-158683091

I think we should just make it part of sncosmo. To make it really useful, we'll have to integrate pretty tightly with sncosmo conventions for bandpass names and zeropoints anyway.

One remaining issue here is that LocalMagSystem isn't a great name. Perhaps CompositeMagSystem since it represents a system where the fundamental standard is (or can be) different for each bandpass?


Inline optimization helpers

Although it's something of a major feature, and I don't know if you'll have time to get to it,
One of the primary uses to which I put your planner, is figuring out the answer to a question like “how many of  will most-fully-utilize ”, or associatedly, “how much of  do I need to satisfy ”?
A couple examples:

Let's say I'm producing science packs. I can look at that planner, and see that my naïve consumption-rate entries (0.33 red and green, 0.25 blue and military) have produced a need for 1.054 assembler's worth of electronic circuits.
This is obviously not ideal: I could build 2.0 assemblers' worth of circuit-production, and then just allow the capacity to go unused, or stored, or something similar; but that's not why I open up the Planner, is it?
In this situation, I'd manually scan through the list of non-shared consumers,¹ looking for the an ideal consumer to reduce ever-so-slightly, to reduce my planned consumption to a precise integer usage of circuit-assemblers (producing this, or similar).

How about belts and inserters?
In addition to precisely the issue described above with electronic circuits, here, I have the inverse issue as well: I'm utilising 2.9 blue assemblers to produce gears, shared amongst a whole host of consumers down-stream.
In this case, basically all of the consumers are also not fully utilized — the Inserter assembler is only at 0.3, the Belt at 0.125, and Fast Underground Belt at 0.017 … you get the idea. Here, the ideal situation would simply be to place all three Assemblers for gears, and then feed them enough iron plates to run at full speed.

In both of the above cases, the Planner is basically lying to me, because it can't fully understand the situation. Making it smart enough to solve for the above situations is almost certainly out-of-scope for the project,² so here's what I'd suggest instead:
Add an inline optimization button to each line-item, that when clicked, will add additional information to the rest of the production-schedule, detailing the effects of maximizing/minimizing the selected line-item.

For instance: clicking ⤓ next to the shared Electronic Circuits in that first situation, might produce something like this, on the production-schedule below:

And in the second situation, ⤒ next to the shared Gears assembler would show corresponding additional “what-if” values (that I'm way too lazy to calculate by hand and smush into the HTML output for a screenshot 🤣), which would indicate to me how much more steel and copper and such I could feed the overall production-line to maximise its output, before I'd need an additional Gear assembler to satisfy all the downstream consumers.

Footnotes

№. 1. See #20, it's very relevant — there's a reason I'm opening these two at the same time, hah!) ↩
№. 2 Unless you feel like assaulting the algorithmic of that — probably exposing some weighting-adjustments to the user? I dunno, but have fun, if so! ↩

Phew! I hope this monster of an Issue came across clearly. I'm a big GitHub user, so I'll definitely be active in this thread, if you wish to clarify my thoughts.
Your (unpaid, under-appreciated) work on this tool is greatly appreciated; keep up the good work! (Also, you should consider soliciting donations in the helptext. 😇)

Thanks for such a well-presented post! I especially appreciate the screenshots, they really help to understand :)
I like the idea of presenting two scenarios next to each other, and I like the idea of clicking a button to quickly create a scenario by rounding up or down. Then it's just a matter of combining the two, if I understand correctly.
It might clutter the tool a little bit though, and it's not very easy to implement. If anybody reads this, please comment on whether you would find this helpful :)
I assume you are aware that you can query for, say, "b1" science packs so that the planner computes the production such that you use exactly one blue assembly machine? ("b" stands for "the second best machine") It may not be as friendly as clicking an arrow, though.

So, the problem with that, is that that's additive — if the recipe requires 1.09 level-2 assemblers producing gears, and I use b2 as input, then I've now got a production-schedule suggesting 3.09 level-2 assemblers for gears. 🤣
That does suggest another implementation for the second situation though (“ceiling” instead of “floor”) — something like a second checkbox next to each ‘shared’ resource, indicating whether the inputted value is intended to be additive, or total (i.e. whether b2 in the text-field for a shared resource means “add two more blue assemblers' worth” or “add enough to existing inputs to make the total exactly two blue assemblers”.)
That'd almost certainly be easier to implement, so I'm all for it — although it doesn't solve the opposite situation, when you want to floor / restrict the input; and it doesn't provide the other benefits of the dual-planning/realtime-feedback functionality described above, so if that's something you want to do, maybe it needs a new Issue?
(Oh, and voting-style feedback on GitHub is easiest if visitors use the +😀 button to leave a :+1: — that saves everyone an e-mail! Some projects use a “waiting on community feedback” or “needs voting” label on open issues that are out-of-scope or awaiting further input, too.)

Oh I see! You're right, "b2" is not very useful for shared resources. Adding a checkbox would probably complexify the interface too much. Maybe if a shared resources contains "b2" the planner should just consider that the shared total value should be "b2". That would need modifying the algorithm because now we would probably need to solve some kind of equation system. So probably your original idea is better ;)
Thanks for the remark about GitHub, I'll try that!


Extension issue

Issue Type: Bug
Extension Name: html-css-class-completion
Extension Version: 1.19.0
OS Version: Windows_NT x64 10.0.18363
VSCode version: 1.46.1

:warning: We have written the needed data into your clipboard. Please paste! :warning:
{
	"messages": [],
	"activationTimes": {
		"codeLoadingTime": 6919,
		"activateCallTime": 4,
		"activateResolvedTime": 713,
		"activationReason": {
			"startup": true,
			"extensionId": {
				"value": "Zignd.html-css-class-completion",
				"_lower": "zignd.html-css-class-completion"
			},
			"activationEvent": "*"
		}
	},
	"runtimeErrors": []
}

Already reported here: https://github.com/zignd/HTML-CSS-Class-Completion/issues/155


Login icons

Login buttons now have icons.

Changed the icons to react-feather like @ajmnz suggested.
Now it looks like this:

Changed the icons to react-feather like @ajmnz suggested.

They match the current icon style used across the app, but thought react-feather had a solid version.
Not sure if I like how they look. What do you think?

I like the solid ones more, but the website uses mostly outline icons.

I think consistency is more important

Here is how that would look though:

Added brand colors while I'm still at it:

Added brand colors while I'm still at it:

Looking good!
Should Twitter be more prominent than GitHub? Maybe they should have the same background (light one, not blue). Look how on my concept all the buttons look consistent and contribute to maintain a visual balance and symmetry.

@ajmnz That is a really cool design!
I agree that the Twitter sticks out a little bit, I was going for more of a Vercel look.

I think if you're going to change the background color of those, you would have to do that to all the buttons.
Also, I'm gonna change back the icons to the initial ones 😅. I do think consistency is important, but I think brand buttons are a good exception. Vercel also uses that exception.

I agree that the Twitter button sticks out a little bit, I was going for more of a Vercel look.

Vercel really nailed it! If you prefer going the branded color way, make sure to dim them a bit (just like Vercel did!). This way they won't stick out that much and will blend better with the current color scheme.

Vercel really nailed it! If you prefer going the branded color way, make sure to dim them a bit.

Won't dimming it change the brand color though? 🤔

Won't dimming it change the brand color though? 🤔

Yep, but big brands are strongly associated with a certain color to the point where dimming it won't make it difficult to recognize it. As an example, Vercel used #8367D3 for GitLab, but its real purple brand color is #9B51E0.

Vercel used #8367D3 for GitLab, but its real purple brand color is #9B51E0.

Cool! I didn't know that.
What about one of these then? I personally like the middle one.

What about one of these then? I personally like the middle one.

Middle one looks good to me!

Current look:

Added brand colors while I'm still at it:

Looking good!
Should Twitter be more prominent than GitHub? Maybe they should have the same background. Look how on my concept all the buttons look consistent and contribute to maintain a visual balance and symmetry.

Same applies for the current case. I think they should be either all blue or all dark gray.

Let me know what you think! @RazerMoon

when this is coming to truth


Add a wrapLongitude option to the contourFeature.

I am defaulting this to true, such that if stride positioning is used (x0, y0, dx, dy), if the data spans 180 degrees (plus or minus), it will be wrapped around so that part of the contour is at negative longitude and part is at positive longitude.  If the grid appears to span 360 degrees, join the ends (but only if wrapping was necessary).
In the general case, we might want to check the map coordinate system and only default to true if the x coordinate system is degree based (or even adjust it to the coordinate system so you could use gradians).
Added a jasmine test to make sure wrapping behaves as expected.
This fixes issue #427.

LGTM!


Better site availability during data import

Per this comment, we get:

Inconsistent data during imports (e.g. some measures will have the most recent month's data, some won't)
Duff data following imports (e.g. when the data format has changed, etc)

The expedient fix is a site banner during import. Something like:  "We are currently importing data for  . Until , the site may be slower than normal, and you may see inconsistent data for the most recent month."
The "correct" fix is a staging database to which we write the latest data.  This is then reviewed, and then the relevant tables are copied across atomically following QA (preferably at night time).
The problem with the "correct" fix is cost: we'd at least need to spend an extra $500 / month (from memory) on storage.  If we were to do this, I'd be tempted to separate out our DB server from the OP web server at the same time.

The expedient fix (banner) is implemented - do we plan to do the complete fix at any point?

Yes this should be reviewed when the matrix data store is complete. Adding a "matrix" label for such things. cc @inglesp @evansd


Add functionality to save initials and score

Need to add javascript code to save (and clear) the score and initials of the user to be displayed when called and cleared when called.

These changes were made, but currently not working as expected. Results show as soon as user saves the score. Shouldn't show till button is clicked.

changes made so now saves and shows results, sorted. BUT clear results doesn't work

Clear results now works (simple line of code: localStorage.setItem("allScores", JSON.stringify(storedResults)) was added to clearResults function and it works!


Configure server parameters pgFlexible Server via ARM Templates

@lfittl-msft Is there a way to set  server parameters via ARM templates?
I'm currently getting

Code="DeploymentFailed"
Message="At least one resource deployment operation failed.
Please list deployment operations for details.
Please see https://aka.ms/DeployOperations for usage details."
Details=
[{"code":"MethodNotAllowed",
"message":"{\r\n  "error": {\r\n    "code": "MethodNotAllowed",\r\n
"message": "The HTTP method 'PUT' is not supported on the resource 'subscriptions/XXXXX/resourcegroups/XXXXX/providers/Microsoft.DBforPostgreSQL/flexibleServers/XXXXX/configurations/configName'."\

while deploying with
{
  "$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
  "contentVersion": "<IP_ADDRESS>",
  "parameters": {
      "serverName": {
          "type": "String"
      },
      "configuration": {
          "defaultValue": {},
          "type": "Object"
      }
  },
  "variables": {
      "api": "2020-02-14-privatepreview",
      "configuration": "[parameters('configuration')]"
  },
  "resources": [
    {
      "type": "Microsoft.Resources/deployments",
      "apiVersion": "2019-08-01",
      "name": "[concat('cfg-deploy-', variables('configuration').name)]",
      "properties": {
        "mode": "Incremental",
        "template": {
          "$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
          "contentVersion": "<IP_ADDRESS>",
          "resources": [
            {
                "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations",
                "name": "[concat(parameters('serverName'),'/',variables('configuration').name)]",
                "apiVersion": "[variables('api')]",
                "properties": {
                    "value": "[variables('configuration').value]"
                }
            }
          ]
        }
      }
    }
  ]
}

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

ID: 357ab5a9-05c1-96b5-c25b-ab13268ac648
Version Independent ID: 0951164f-1571-7fdf-516a-fc627d2970ae
Content: Configure server parameters - Azure portal - Azure Database for PostgreSQL - Flexible Server
Content Source: articles/postgresql/flexible-server/howto-configure-server-parameters-using-portal.md
Service: postgresql
GitHub Login: @lfittl-msft
Microsoft Alias: lufittl

@evertonmc Thank you for the feedback. We are actively investigating and will get back to you soon.
@lfittl-msft

@evertonmc Thanks for reaching out - I'll check with the team.
For future reference, you can also email our mailing list as well for questions<EMAIL_ADDRESS>

@evertonmc Looks like this is currently not supported - we are looking into fixing this. For now I would recommend using the CLI for automating parameter configuration.
Hope that helps!

@lfittl-msft Thank you for the details provided.
@evertonmc Please let us know if you have any other query for the same.

@evertonmc We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

@evertonmc Thanks for reaching out - I'll check with the team.
For future reference, you can also email our mailing list as well for questions<EMAIL_ADDRESS>
Thanks @lfittl-msft, I've done that, but got no responses for more than 10 days.

@evertonmc Thanks for reaching out - I'll check with the team.
For future reference, you can also email our mailing list as well for questions<EMAIL_ADDRESS>
Thanks @lfittl-msft, I've done that, but got no responses for more than 10 days.

Acknowledged - thats a miss on our end, apologies for that. We generally intend to answer these as they come in.


add popup customisation part in README

Coverage remained the same at 37.732% when pulling 77ed78bd6245f2c9ebcff962f588fb7887cb6fc3 on kud:patch-1 into ab4ab664b3573e27e19d87a8fe0a9ea25b1ba86d on tomv564:master.

Thank you!


generate executables for all rmw_implementation

replaces https://github.com/ros2/examples/pull/127
connects to #4

Closing this now that typesupport refactor has been merged


Hey I'm very excited to join this community!!!

Invitation sent. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your github profile for everyone else to see, you can do this by finding your name in the github organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people


Defer renaming procedures during workspace load

From the forum: Procedures with default names (i.e., procedure, procedure2, ...) can sometimes have their calling blocks point to different procedures during the loading of a workspace. This causes the semantics of the program to change unexpectedly.

@jisqyv This was the previous instance where a procedure named procedure broke project loading.

@ewpatton Thanks.


Figure out a city based on the series

For Pyvo the city fills the role of series; it was Brno Pyvo even if
was actually in Bratislava. The series name on Lanyrd isn't very useful,
because the meetup name changes through time as we join forces with
other communities.

:snake:


Ability to Add Scripts to run in MASTER-SETTTINGS.ahk

Bring over the method of adding apps to run in BPTV-LAUNCHER to the scripts to run part of MASTER-SETTINGS.ahk

done


Disposed containers are again getting called

This issue is in version 5.11.3.
In my application i am using default implementation of containers and life time managers. Application level we have one single container and in that we multiple instances and classes registered. Some of the class are configured as singleton by having container lifetime manager passed through its constructor. This particular application as User authentication and when the application is logged to clear all used data,etc we are resetting the container by disposing it and creating a new one. All the instances and classes are registered again on the new instance of container including singleton instances.
Now sometimes when we are getting instances of some of the classes we are seeing the Unity logic is trying to access the disposed container and getting following exception.
_Unity.ResolutionFailedException: Resolution failed with error: Cannot access a disposed object.
Object name: 'Container[0]'.
For more detailed information run Unity in debug mode: new UnityContainer(ModeFlags.Diagnostic) ---> System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Container[0]'.
at Unity.UnityContainer.b__59_0(Type type, String name, Type policyInterface)
at Unity.Builder.BuilderContext.Get(Type type, String name, Type policyInterface)
at Unity.Strategies.LifetimeStrategy.PreBuildUp(BuilderContext& context)
at Unity.UnityContainer.<>c.<.ctor>b__73_1(BuilderContext& context)
--- End of inner exception stack trace ---
at Unity.UnityContainer.<>c.<.ctor>b__73_1(BuilderContext& context)
at Unity.UnityContainer.Unity.IUnityContainer.Resolve(Type type, String name, ResolverOverride[] overrides)
at Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, ResolverOverride[] overrides)_
Tried having a root container and creating child containers per session. So Logout time child container is disposed and new child container is created. root container is kept intact. In this case as well it is observed that the disposed child container is used.

Hi,
I tried reproducing it with a Unit test and didn't succeed.
After good amount analysis on last two days, I was able to figure out that from my application we are making a call to old unity container.
So this is not an issue anymore.
Regards
Gopan P


feat: add pre-commit hooks, linting, and formatting to CI workflow

This pull request includes several updates and improvements across multiple files in the repository. The most important changes include updates to the .Rbuildignore file, enhancements to the .github/workflows/R-CMD-check.yaml workflow, and updates to the .pre-commit-config.yaml file.
Updates to ignore files:

.Rbuildignore: Added several new entries to ignore additional files and directories.

Workflow enhancements:

.github/workflows/R-CMD-check.yaml: Added steps to install required R packages, set up Python for pre-commit, install and run pre-commit hooks, run R CMD check, run test coverage, and perform linting and code formatting checks. [1] [2]

Pre-commit configuration updates:

.pre-commit-config.yaml: Updated versions of pre-commit hooks for blacken-docs, pre-commit-hooks, ruff-pre-commit, mypy, validate-pyproject, and check-jsonschema. Removed the shellcheck-py hook and the sp-repo-review hook. [1] [2] [3] [4]

Typo corrections:

data-raw/wget_script_2024-10-30_11-24-11.sh: Corrected several typos in echo statements and comments. [1] [2] [3] [4] [5] [6] [7]

Documentation updates:

NAMESPACE: Added export and import statements for the pipe operator from magrittr.
man/biodiversityhorizons-package.Rd: Added new package documentation generated by roxygen2.
man/pipe.Rd: Added new documentation for the pipe operator generated by roxygen2.

Just need to get the tests passing


Simplify SSH key handling.

Might help with https://github.com/Azure/azure-cli/issues/2612
Judging by:
http://docs.paramiko.org/en/2.1/api/client.html
the 'connect' call will load $HOME/.ssh/id_rsa if it exists anyway, so don't default it everywhere...

Codecov Report

Merging #2966 into master will decrease coverage by 0.02%.
The diff coverage is 23.52%.

@@            Coverage Diff             @@
##           master    #2966      +/-   ##
==========================================
- Coverage   63.39%   63.37%   -0.03%
==========================================
  Files         463      463
  Lines       26586    26596      +10
  Branches     4083     4087       +4
==========================================
  Hits        16854    16854
- Misses       8615     8625      +10
  Partials     1117     1117

Impacted Files
Coverage Δ

...li-acs/azure/cli/command_modules/acs/acs_client.py
50% <7.69%> (-4.91%)
:arrow_down:

...re-cli-acs/azure/cli/command_modules/acs/custom.py
38.49% <75%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add intel mkl search path

Add some paths in find_blas.cmake with new Intel mkl library.
From here: https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl.html
Tested on dnn_imagenet_ex.

Sweet, thanks :)


As a receptionist I can update patient information such as contact number

the patient database stays up-to-date

closed as feature is completed


Not an Issue, but a quick question

Is it possible to change the network structure here without any adverse effects? I was curious if I can make it a structure similar to that of tiny-YoloV2.
Please let me know!
Thanks

Yes, you can create your version of yolo based on Object Detection API.
For me, I made my yolo v2 based on SSD Structure by adding & modifying some code.
I'm not sure about adverse effect, At the first time when i wrote this code, the result was not so good, after many debugs / training / testing, I got good result.
But I really like the approach, after made once, There are many benefit.
Good luck to you !

Thank you for your help!
On Mon, Jun 17, 2019 at 10:00 PM GYOUNG-YOON RYOO<EMAIL_ADDRESS>wrote:

Yes, you can create your version of yolo based on Object Detection API.
For me, I made my yolo v2 based on SSD Structure by adding & modifying
some code.
I'm not sure about adverse effect, At the first time when i wrote this
code, the result was not so good, after many debugs / training / testing, I
got good result.
But I really like the approach, after made once, There are many benefit.
Good luck to you !
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rky0930/yolo_v2/issues/7?email_source=notifications&email_token=AJVSO2BAL3MIMTSJAXRWLNLP3A6QFA5CNFSM4HYZ5EZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX46BFA#issuecomment-502915220,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJVSO2EHLQQPAFU5FCU5AQDP3A6QFANCNFSM4HYZ5EZA
.

I actually wanted to ask another question regarding how you ultimately implemented the network with training. I ran the train.py script on my slightly modified yolo_v2_darknet_tiny.config file and found that I had errors associated with an yolo_meta_arch.py script that I did not include in my model_builder.py. I know this was awhile ago, but I was wondering if you could recall anything else outside of the "Added or Updated file list" which I should tack on to what I have like that meta architecture?
Thanks!

@ltorlay I think that's all files i added or modified.
If you share your code to me. I will check.

Sorry for the delayed response, but I ended up figuring it out. It was just
a typo I mistakenly made while editing a file.
Thanks!
On Thu, Jun 20, 2019 at 8:32 PM, GYOUNG-YOON RYOO<EMAIL_ADDRESS>wrote:

@ltorlay https://github.com/ltorlay I think that's all files i added or
modified.
If you share your code to me. I will check.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rky0930/yolo_v2/issues/7?email_source=notifications&email_token=AJVSO2G7UU3ICJKHBUNRYGDP3QOSRA5CNFSM4HYZ5EZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYHC5SA#issuecomment-504245960,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJVSO2CQ3KZ2YVWKFJDI6ZDP3QOSRANCNFSM4HYZ5EZA
.


fixed the nav btn on home page slider

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #374

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Explain the Testing instructions
Test Configuration:

Operating system:
Version:
Text-editors used:

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

ATTACH SCREEN-SHOTS

@himanshu007-creator  Please have a look


mxnet(mxnet-full_2.11-linux-x86_64-gpu-1.5.0-SNAPSHOT) cannot support cuda10.1?

mxnet(mxnet-full_2.11-linux-x86_64-gpu-1.5.0-SNAPSHOT) cannot support cuda10.1?

i'm used mxnet-full_2.11-linux-x86_64-gpu-1.5.0-SNAPSHOT maven packages and check it

ENV

Java version:

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

Maven version:

Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-05T03:00:29+08:00)
Maven home: /usr/local/maven
Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: /usr/local/jdk1.8.0_191/jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-51-generic", arch: "amd64", family: "unix"

cuda version:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Fri_Feb__8_19:08:17_PST_2019
Cuda compilation tools, release 10.1, V10.1.105

nvidia version:

Sun Jun 16 15:25:08 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.09       Driver Version: 430.09       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 166...  Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   45C    P0     3W /  N/A |      0MiB /  5944MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

os:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.6 LTS"

Check and Test
    @Test
    public void testGPU(){
        System.out.println(System.getenv().containsKey("SCALA_TEST_ON_GPU"));
    }
    //  result is false.

for errors: why find libcudart.so.9.2 ?:

15:32:05.129 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.infer.MXNetThreadPoolHandler - threadId: 18
15:32:05.150 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] INFO MXNetJVM - Try loading mxnet-scala from native path.
15:32:05.150 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] WARN MXNetJVM - MXNet Scala native library not found in path. Copying native library from the archive. Consider installing the library somewhere in the path (for Windows: PATH, for Linux: LD_LIBRARY_PATH), or specifying by Java cmd option -Djava.library.path=[lib path].
15:32:05.151 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] WARN MXNetJVM - LD_LIBRARY_PATH=/usr/local/cuda-10.1/lib64:
15:32:05.151 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] WARN MXNetJVM - java.library.path=/usr/local/cuda-10.1/lib64::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
15:32:05.159 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - Attempting to load libmxnet-scala.so
15:32:05.160 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - tempfile.getPath() = /tmp/mxnet7650335975263211746/libmxnet.so
15:32:10.770 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - Copying libmxnet.so took 5.61 seconds.
15:32:10.771 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - tempfile.getPath() = /tmp/mxnet7650335975263211746/libgfortran.so.3
15:32:10.776 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - Copying libgfortran.so.3 took 0.005 seconds.
15:32:10.776 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - tempfile.getPath() = /tmp/mxnet7650335975263211746/libquadmath.so.0
15:32:10.779 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - Copying libquadmath.so.0 took 0.002 seconds.
15:32:10.779 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - tempfile.getPath() = /tmp/mxnet7650335975263211746/libiomp5.so
15:32:10.789 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - Copying libiomp5.so took 0.01 seconds.
15:32:10.789 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - tempfile.getPath() = /tmp/mxnet7650335975263211746/libmklml_intel.so
15:32:11.290 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - Copying libmklml_intel.so took 0.501 seconds.
15:32:11.291 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - tempfile.getPath() = /tmp/mxnet7650335975263211746/libmkldnn.so.0
15:32:11.341 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - Copying libmkldnn.so.0 took 0.05 seconds.
15:32:11.342 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - tempfile.getPath() = /tmp/mxnet7650335975263211746/mxnet-scala
15:32:11.343 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - Copying mxnet-scala took 0.001 seconds.
15:32:11.343 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] DEBUG org.apache.mxnet.util.NativeLibraryLoader - Loading library from /tmp/mxnet7650335975263211746/mxnet-scala
15:32:11.343 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] ERROR org.apache.mxnet.util.NativeLibraryLoader - Couldn't load copied link file: java.lang.UnsatisfiedLinkError: /tmp/mxnet7650335975263211746/mxnet-scala: libcudart.so.9.2: 无法打开共享对象文件: 没有那个文件或目录
15:32:11.343 [org.apache.mxnet.infer.MXNetThreadPoolHandler-0] ERROR MXNetJVM - Couldn't find native library mxnet-scala
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/mxnet7650335975263211746/mxnet-scala: libcudart.so.9.2: 无法打开共享对象文件: 没有那个文件或目录
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
	at java.lang.Runtime.load0(Runtime.java:809)
	at java.lang.System.load(System.java:1086)
	at org.apache.mxnet.util.NativeLibraryLoader$.loadLibraryFromFile(NativeLibraryLoader.scala:131)
	at org.apache.mxnet.util.NativeLibraryLoader$.loadLibrary(NativeLibraryLoader.scala:99)
	at org.apache.mxnet.Base$.<init>(Base.scala:77)
	at org.apache.mxnet.Base$.<clinit>(Base.scala)
	at org.apache.mxnet.Symbol$.initSymbolModule(Symbol.scala:1134)
	at org.apache.mxnet.Symbol$.<init>(Symbol.scala:925)
	at org.apache.mxnet.Symbol$.<clinit>(Symbol.scala)
	at org.apache.mxnet.Model$.loadCheckpoint(Model.scala:70)
	at org.apache.mxnet.module.Module$.loadCheckpoint(Module.scala:644)
	at org.apache.mxnet.infer.Predictor$$anonfun$14.apply(Predictor.scala:256)
	at org.apache.mxnet.infer.Predictor$$anonfun$14.apply(Predictor.scala:256)
	at org.apache.mxnet.infer.MXNetThreadPoolHandler$$anon$4.call(MXNetHandler.scala:83)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

for my compute:

tomoncle@test:/usr/local/cuda-10.1/lib64$ ls |grep libcuda
libcudadevrt.a
libcudart.so
libcudart.so.10.1
libcudart.so.10.1.105
libcudart_static.a

@mxnet-label-bot add [Installation, Scala, Cuda]

Thank you all. I lowered the CUDA version(9.2), and now it's OK.
But my code can't use GPU. Do you have any suggestions?
@Test
public void testGPU(){
     System.out.println(System.getenv().containsKey("SCALA_TEST_ON_GPU"));
}

 //  result is false.

Thank you all. I lowered the CUDA version(9.2), and now it's OK. But my code can't use GPU. Do you have any suggestions?
@Test
public void testGPU(){
     System.out.println(System.getenv().containsKey("SCALA_TEST_ON_GPU"));
}

 //  result is false.

@tomoncle This is merely an environment variable that is used for test/debugging purposes.
In order to make the package use GPU, you need to set the context to use GPU.
      context.add(Context.gpu());

@piyushghai  Thank you very much for your explanation, this has solved my problem.

I'm testing a small example of using mxnet to detect entities and then tag specific locations. The specific processing logic is as follows:

Use OpenCV to read the video of each frame and save it as a picture stream

Then the pictures are processed by mxnet to be pictures with position and object labeled.

Then it is echoed to the screen through opencv.

Question :  Processing speed is general, there is no change in the use of GPU. I wonder if there is something wrong with my processing logic. Do you have any good suggestions?
Sample code click this

@tomoncle I had a look at your code processing code. It seems like the OpenCV operations are running on CPU only.
I'm not sure of how to run OpenCV on GPUs though.
Maybe @lanking520 can provide some suggestions here ?

For image preprocessing, you can use your personal processing toolkit. MXNet provide built-in OpenCV image conversion op. For high-performance computing, I recommend to use Java Image toolkit which is considerably supporting multi-threading that can help you get more throughput.

Thank you all so much for your warm support, including many constructive advice.

@tomoncle I am closing this issue because it seems like all the problems were addressed. Please reopen if there are remaining problems


Add android project idea

Adds new idea in android project.
@timabbott Review this. :)

Tweaked and merged, thanks @saketkumar95!!


Osd arrange two up

Not for merging (obvz!).

Closing because two-up view isn't prioritised for initial viewer release.


Improve resource URL and remove duplicates

I noticed a URL existed twice in the same file, so I edited the title of that URL in a section and deleted the duplicate.

You're welcome, @joeblankenship1 !


How to install triton for python 3.9

File "C:\Users\SHREE\anaconda3\envs\animatelcm_svd\lib\site-packages\xformers_init_.py", line 55, in _is_triton_available
from xformers.triton.softmax import softmax as triton_softmax  # noqa
File "C:\Users\SHREE\anaconda3\envs\animatelcm_svd\lib\site-packages\xformers\triton\softmax.py", line 11, in
import triton
ModuleNotFoundError: No module named 'triton'
please tell me how to install triton on python 3.9

Why not ask GPT?

To install the "triton" package for Python 3.9, you can use pip, Python's package installer. Since "triton" is not a standard Python package, you need to make sure it's available for your Python version and platform. Here are the steps:

Check Compatibility: Ensure that "triton" is compatible with Python 3.9. You can usually find this information on the package's documentation or its PyPI page.

Install via pip: Open your command line or terminal and run the following command:
pip install triton

This command will attempt to download and install the "triton" package and its dependencies. If successful, you should be able to import it into your Python environment.

Verify Installation: After installation, you can verify that "triton" is installed correctly by launching Python in your terminal and attempting to import it:
python
>>> import triton

If there are no errors, the installation was successful, and you can use "triton" in your projects.

Additional Notes: Sometimes, packages may have additional requirements or dependencies. Make sure you fulfill those requirements if specified.

Following these steps should help you install the "triton" package for Python 3.9. Let me know if you encounter any issues along the way!


tile certain windows in float layout

i've realized that there are more apps i don't want to tile than ones that i do, and there does not seem to be an option to tile only specific apps
is there a way to tile windows in a space with the "float" layout? adding manage=on rules does not seem to work
scoured through issues and documentation, did not find solution

yup, this works, thanks!


Remove usage of deprecated Error API (description and cause).

Both description() and cause() on std::error::Error have been deprecated for a bit now (since rust 1.42 and 1.33 respectively). This patch removes description() to simply rely on the Display implementation and simply changes the cause() implementation to be source().
Since the Display and description() implementations were different, I wasn't sure which version you'd prefer to keep. I started with the just removing description() to keep the number of diffs down and if you decided you wanted this PR I can update as you so desire. :)

These changes are subsumed by #70.  Thanks for the submission; we completely agree with the update.


Update all scripts to use launcher instead of runner

Make sure that everything else is working after transition to sf2.

Made a fresh installation. Everything works well. (small bugs like 'runner' haven't been renamed to 'launcher'. Already fixed that.)


Detection of unused resources

Once we have finished the refactoring of the media/resource management (JSON, maps, textures, models, ...) we can implement an auto detection mechanism for unused resources (like "apt-get autoremove" in debian). Also we can count how often a resource is used (popular textures / models) which could be useful in the edit UI.

Even we only provide a minimalist package of default content, it can happen that we don't use every texture of a texture pack, but still delivering it, to offer some choice to map builders, who don't have anything, but our default package.
To sum it up, I'm not sure how helpful this is, but as long as nobody just remove anything, which don't get used, it should be okay.

Agree.

Considering last/most used content in the ui is a great aspect to consider.  Last servers, textures, maps. Etc..

@MartinMuzatko I guess you are talking about how often something is actually getting played, but this issue is about how often textures, models and other resources are actually included in local maps.


Add bitwarden provider

New Provider Request
Add bitwarden provider
Details

Name: bitwarden
URL: https://bitwarden.com/
Modes: (read/write/read+write)
GitHub projects:
API Documentation:  https://bitwarden.com/help/public-api/, https://bitwarden.com/help/api/

This would be outstanding to use in combination with https://github.com/dani-garcia/vaultwarden

Disappointing to see this closed. I guess this is not a priority? I recently switched from lastpass to bitwarden and I've been pretty happy so far.

Hello @dstengle, at the moment, we do not have any immediate plans to integrate the bitwarden provider. However, we highly appreciate and encourage contributions from the community if you are interested.
I am available to assist you with anything you may need.


[v0.15.0] Can't connect to Selendroid server, assuming it is not running.

Eclipse project, selendroid v0.15.0
During all day digging and googling, found out that you had same issue in some of the previous versions.
SCENARIO:

Deploy the app on device through code
Start selendroid server

EXPECTED RESULT:
Once the app is being deployed on the device and server is up and running, tests should be executed one by one. This was the behavior 3-5 months ago.
ACTUAL RESULT:
Right now I'm facing the following error:
Can't connect to Selendroid server, assuming it is not running.
NOTE:

Could it be related with port on which server is running ?
In very first logs it says that server runs on port 4444, but below following entry could be found:
INFO: Checking if the Selendroid server is running: http://localhost:8080/wd/hub/status
Please check attached file:
log.txt

Issue has been resolved, but the cause remains unknown.
Assume that phone factory reset helped resolving the problem. Other than that did a few other actions such as: removed .m2 repository and did force project update, restarted laptop in order to drop all unneeded processes because I kept my laptop on sleep mode more than two weeks ...
Hope this will help.


Aliases - Added basic support for "raw" parameter passing via $*N syntax

This lets you use $*1, $*2, etc to pass parameters with their .toString() output instead of their JSON form. I wanted to be able to use integers in parameters without having to parseInt on the other side of it, and this resolves that constraint.

Great! Thanks for implementing this.


Make it possible to switch levels using the tablet

[ ] Make the tablet work
[ ] Make button(s) on the tablet screen that allows switching between levels

Since the data structure to the tablet is being reworked, a temporary solution is now:

[x] Two buttons for level 1 and 2 that switches to their respective level

For now, out of scope.


InvalidInputException: An error occurred (InvalidInputException) when calling the TagResource operation: You provided a value that does not match the required pattern.

Terraform Version : 0.15.1
AFT Version: 1.3.5
Bug Description
Error (InvalidInputException: An error occurred (InvalidInputException) when calling the TagResource operation: You provided a value that does not match the required pattern.)
when i create/update an account with tag value with URL syntax : https://test.com/l/c/19%3A256e9d76c6.144c8/not?gr=1234-56&test2=abcd-ef
To Reproduce
Steps to reproduce the behavior:

Create/Update an Account and in the tag value for account_tags add "https://test.com/l/c/19%3A256e9d76c6.144c8/not?gr=1234-56&test2=abcd-ef"
See error after few minutes on Step Functions

Expected behavior
Accept that syntax or document the authorized syntax for the tag on account_tags block
Related Logs
[ERROR] InvalidInputException: An error occurred (InvalidInputException) when calling the TagResource operation: You provided a value that does not match the required pattern.
Traceback (most recent call last):
  File "/var/task/aft_account_provisioning_framework_tag_account.py", line 33, in lambda_handler
    tag_account(payload, account_info, ct_management_session, rollback)
  File "/opt/python/lib/python3.8/site-packages/aft_common/account_provisioning_framework.py", line 263, in tag_account
    utils.tag_org_resource(
  File "/opt/python/lib/python3.8/site-packages/aft_common/aft_utils.py", line 652, in tag_org_resource
    client.tag_resource(ResourceId=resource, Tags=tags)
  File "/opt/python/lib/python3.8/site-packages/botocore/client.py", line 386, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/opt/python/lib/python3.8/site-packages/botocore/client.py", line 705, in _make_api_call
    raise error_class(parsed_response, operation_name)

Hi @Menahem1,
AFT doesn't enforce any additional restrictions on tagging - the allowed syntax is the same as the underlying AWS API. Per the documentation, the URL you provided is not a valid tag value.


create issue with 400 error, msg: gh.epic.error.not.found

Describe the bug
~/code/open-source/jira-cli (main) » jira issue create
? Issue type Task
? Parent issue key parent-151
? Summary test
? Description <Received>
? What's next? Submit

Error:
  - gh.epic.error.not.found

jira: Received unexpected response '400 '.
Please check the parameters you supplied and try again.

Please provide following details

JiraCLI Version:Version="main", GitCommit="da5082c56c8ca5d10d3e96210d7f6cf9978e2b4e", CommitDate="2022-03-01T19:31:59+00:00", GoVersion="go1.17.7", Compiler="gc", Platform="linux/amd64"

Are you using Jira cloud or on-premise jira server? Also mention the version for on-premise installation.Please type your answer here. eg: on-premise jira server v8.20.6

What operating system are you using? Also mention version.

   Linux 5.13.0-30-generic #33~20.04.1-Ubuntu SMP Mon Feb 7 14:25:10 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

What terminal are you using? Also mention version.windows terminal , ssh to linux.

To Reproduce
Steps to reproduce the behavior:

jira issue create
fillup with type,parent id,  summary, and then summit.
gh.epic.error.not.found

Expected behavior

Screenshots

Additional context
board:
  id: 11111
  name:
  type: kanban
epic:
  name: 51411
  link: 51410
installation: Local
issue:
  types:
  - id: "7"
    name: Epic
    handle: ""
    subtask: false
  - id: "11"
    name: User Story
    handle: ""
    subtask: false
  - id: "6"
    name: Backlog Item
    handle: ""
    subtask: false
  - id: "10"
    name: Impediment
    handle: ""
    subtask: false
  - id: "5"
    name: Task
    handle: ""
    subtask: true
  - id: "1"
    name: Bug
    handle: ""
    subtask: false
  - id: "8"
    name: Business Case
    handle: ""
    subtask: false
  - id: "9"
    name: Roadmap Item
    handle: ""
    subtask: false
  - id: "12"
    name: Activity
    handle: ""
    subtask: false
login: username
project:
  key: abc
  type: ""
server: https://my.domain.com

Hi @NagleZhang, the error says that epic doesn't exist. Are you sure that the epic exist and is accessible to you? I could only get this error if I try to assign epic that doesn't exist, which is legit.

HI @ankitpokhrel .
This epic is not configured by my self. it is generated by using jira init
But seems the epic is not accessiable to me. because I tried using jira epic list. the epic name not shows.
it could be a authorization issue. I'll verify it.
Big Thanks :)

Hi @NagleZhang , did you find out where the problem was?
I'm facing the same problem.


Flag to disable points

What was this again?

#28 adds hide_points flag to GradescopeRubricFormatter to conceal all point values both for individual test cases and the overall test result.


@error directive with custom bag name

I want to use @error('name') directive with custom ErrorBag
so I proposed defining ErrorBag name by passing 2 parameters to @error directive
@error('custom_bag`, 'name')
    {{ $message }}
@enderror

Hi @therour!
This repository is not being tracked by the framework developers. You'll want to close this pull request here and submit it in the https://github.com/laravel/framework repository instead. The source code for this repository is in src/Illuminate/View directory there.


[BUG] Event hub consumer stops processing event hub messages for a specific period

Library name and version
Azure.Messaging.EventHubs.Processor version 5.10.0
Describe the bug
We have an event hub namespace on dev with a few event hubs. Messages are being populated to the event hub with ~1 message per minute per each event hub. For each event hub we have a service with an event consumer. The problem is that almost each night (usually happens around 23:00 - 02:00 UTC), consumers stop processing new messages from event hub for ~1-2 hours, then resume processing.
We're using PluggableCheckpointStoreEventProcessor and store checkpoints to a blob storage. We've also added a custom health checker to monitor the events processing.
Expected behavior
No interruptions in events processing.
Actual behavior
Almost each night (usually happens around 23:00 - 02:00 UTC), consumers stop processing new messages from event hub for ~1-2 hours, then resume processing.
Reproduction Steps

Create an event hub namespace;
Create and connect an event hub processor using PluggableCheckpointStoreEventProcessor;
Monitor events processing per partition.

Environment
AKS hosted service, .net6.

Hi @YNauholnykh.  Thank you for reaching out and we regret that you're experiencing difficulties.   Please refer to this section of the Event Hubs Troubleshooting Guide for common causes and suggested mitigations.
If those do not solve the issue, answer the questions from this section and capture a 5-10 minute slice of verbose SDK logs filtered to the events listed there for analysis.  Additional information for capturing logs can be found in this sample.  It would also be quite helpful to share code snippets to illustrate how the processor is being created/configured and how it is being used within the application.

@jsquire I've checked the documentation you've provided. Here are my findings so far:

Exceptions being thrown in the event processing handler - not our case, we catch exceptions on a top level.
"Soft Delete" or "Blob versioning" is enabled for a Blob Storage checkpoint store - also not our case, they are disabled.
The "LoadBalancingUpdateInterval" and "PartitionOwnershipExpirationInterval" options are set too close together - we use default values, so also not our case.
Too many partitions are owned - need a bit more time to check this one. Will reach out to you in case I have any questions.

@jsquire I think I've found a potential reason. According to Too many partitions are owned, it's suggested to not have more than 3 partitions per cpu core. We have 32 partitions and only 2 cpu cores per pod on that environment, so that might be our problem.
I'll try to reduce the number of partitions and will monitor the situation. Will update you with the results.

@jsquire I have a question about Too many partitions are owned. When it says Each partition owned by the processor is hosted by a dedicated background task., does it concern PartitionProcessor in particular or EventProcessor?

@YNauholnykh :  For each partition that an event processor owns, it uses a persistent, stateful, dedicated background thread to process it.  That processing is, essentially, a giant while loop that reads from the service and then dispatches events to your code for processing.  In addition, the processor has another dedicated background thread running at all times for load balancing and health monitoring.
For illustration, let's assume that you've got 32 partitions in your Event Hub and you're running 4 processors pointed at the same consumer group.   Each processor will own 8 partitions (32 / 4) and will start 9 persistent background threads to do the work.  Each of these is highly asynchronous, requiring the async continuations to be scheduled and run in a timely manner to make consistent forward progress.
If your host has 2 cores, then each of those 9 background threads is continually fighting for time to run.  The host/scheduler time slice things - particularly when there are awaits in the code - so that work is constantly context switching.  The .NET thread pool has no fairness when scheduling.  Since you've got more work constantly waiting than you have resources to process it, depending on how the work gets scheduled, you may see every partition stutter or you may see some partitions stall entirely because they're not being scheduled consistently and, therefore, can't make forward progress.
The challenge is that this kind of behavior is non-deterministic; things can be moving along for hours with everything making slow but reasonable forward progress and then you get unlucky with the scheduler and a partition just hangs.   It may get lucky and start again quickly or it may be unlucky for a while - there's no way to predict it accurately.   Load balancing is often a good "tell" in this scenario because the loop is sensitive to running on a consistent schedule and if it does not, there is obvious behavior that manifests.  Likewise, the processor controls all of the work done for load balancing, so it can raise warnings if the loop runs too slowly.    For partitions, we hand control over to your code and you're allowed to run for as long as you'd like - so the processor can't make any judgements about "what is too slow for one iteration of the read/process loop."
Implementation details
Since you asked, the answer is - both.  PartitionProcessor is the encapsulation of that while loop to read and dispatch events.  When the processor takes ownership of a partition, it creates one of these and launches it in a Task explicitly marked as long running.  That hints to the thread pool that it should start a new thread for it, as the work isn't going to borrow a thread and return it to the pool in a reasonable amount of time.  We encapsulate partitions in this to allow them to more easily track partition-level state and because we're calling untrusted code (the app) so we cannot assume that error handling guidance is followed, so we want to ensure enough isolation that we can restart a faulted partition without causing issues for other parts of the processor.
The processor also kicks off load balancing in a long-running Task.  This is not a PartitionProcessor instance, because we can reason about how it behaves and know explicitly where failure points occur and handle them in a way that ensures we don't corrupt state and that it is safe to recover.

@jsquire thank you for such a comprehensive answer!
So basically if I increase a number of consumer instances to e.g. 5, I'll have 10 cores working with 32 partitions, which sounds like it should be enough (based on the 3 partitions per core recommendation). Not sure this will be a final solution, but at least I can confirm if this is the issue without recreating event hub instances. Will update you with the results.

@jsquire thank you for such a comprehensive answer! So basically if I increase a number of consumer instances to e.g. 5, I'll have 10 cores working with 32 partitions, which sounds like it should be enough (based on the 3 partitions per core recommendation). Not sure this will be a final solution, but at least I can confirm if this is the issue without recreating event hub instances. Will update you with the results.

That sounds like a good next step.   32 / 10 = 3.2, so you'll end up with 4 processors owning 3 partitions and 1 that owns 4.   Depending on your processing, event structure, host/network environment, you may be able to collapse that down to 4 hosts - which would give you a consistent 4 partitions owned per node.   That would be reasonable for many applications.   I'd advise testing thoroughly just to be sure.
I'll leave this in a "needs feedback" state for now.  That'll keep things open for a couple of weeks, in case you want to discuss further or share how things are going.

Hi @jsquire, an update from my end.
After I've increasd a number of replicas to 5, the issue was still reproducible. And even when increasing to 6.
After that I've noticed that there's a setting which limits a number of concurrent event processings. I've reduced it to 6 and then it was not reproducible for almost a week.
After that I though maybe just limiting a number of concurrent processings will help. But turns out it doesn't
So basically we have the following options:

Keep a number of pods 6 and a number of concurrent processings 6. But for dev environments it seems too much.
Reduce a number of partitions and a number of concurrent processings to 6. Not that costy, but might have problems with the high load.
Keep as it is with a workaround (restarting the event hub processing when the issue is detected).

We're discussing it within the team now. Will update you with the results.

Hi @YNauholnykh:  Thanks for the update.  The recommended ratio is very much a generalization, as it depends on a number of factors, such as the host environment, workload of the app, event size, and rate of incoming events.   It's hard to say for sure whether it represents a problem, but having to scale above a 3:1 ratio is unusual.
It may be worth capturing some Azure SDK logs and letting us take a look at what patterns we see there.  A 5-10-minute slice of verbose logs, filtered to the set described in this section of the Troubleshooting Guide should give us an idea of what the processor is seeing.   This sample demonstrates how to capture and filter.

Hi @jsquire, could you please share an email where I can send you the logs?

I've sent the logs to your mail, hope I used the correct one. Please let me know whether you received it or not.

Confirming receipt.   I'll take a look at these today and let you know what I find.

Discussion has moved to another format for log review, as there may be non-public information discussed.   Marking this as waiting for feedback to allow the issue to remain open in case there are any outcomes that would be helpful to share for general awareness.