Migrate UToronto hub to our pilot-hubs repository

Problem statement
We currently deploy the University of Toronto hub via a dedicated GitHub organization and repository (https://github.com/utoronto-2i2c/jupyterhub-deploy/), using hubploy for deployment. This pre-dates our pilot-hubs/ infrastructure which is why it is special-cased.
The problem is that, because it is on a dedicated repository / deployment infrastructure, it:

doesn't run the same infrastructure setup as our main CI/CD, which makes it harder to understand
is a duplication of some machinery which means we have more code to maintain
is an information and access silo (e.g., only @yuvipanda and @GeorgianaElena could resolve issues #637 currently

Solution
We should move this infrastructure to be deployed from pilot-hubs/, the same as any other Azure deployment (see the #288 for one example). This will involve a few steps, described below
Step 1: Setup new hub Infra and prepare
We now have Azure terraform support in this repo (https://github.com/2i2c-org/infrastructure/issues/800) and can set up a new hub infra with that, to run in parallel with current setup. The primary infra difference will be the use of Azure File for home directories rather than the hand-spun NFS VM we have there right now - I think this is a big positive change.
Step 1 is all the things we can do that don't involve any downtime, and can be done early on.

[x] https://github.com/2i2c-org/infrastructure/issues/854
[x] https://github.com/2i2c-org/infrastructure/issues/853
[x] #867
[x] https://github.com/2i2c-org/infrastructure/issues/851
[x] https://github.com/2i2c-org/infrastructure/issues/876

When these tasks are completed, I think we should have a staging hub that can be used by UToronto, but runs out of this cluster.
Step 2: Migrate production hub
This should be done between Dec 13-15.

[x] #868

TADA! New hub!
Step 3: Clean up any loose ends

[x] https://github.com/2i2c-org/infrastructure/issues/873
[x] https://github.com/2i2c-org/infrastructure/issues/877
[x] Copy the old jupyterhub.log :arrow_right: gzip it, and leave it in the new hub db dir. We can do usage analysis on this later, just gotta save it.
[x] Figure out what to do about user placeholders :arrow_right: let's discuss this here https://github.com/2i2c-org/infrastructure/issues/643?
[x] Update docs on how to migrate a hub
[x] Merge code that parallelizes rsync for copying user folders
[x] Setup CI/CD for UToronto hub from this repo
[x] Reduce the size of the UToronto Azure FIle instance, as we don't need high performance anymore
[x] Cleanup the old cluster and NFS VM, preserving anything we want from there

Appetite
2 sprints
The final hub transition should be completed on Dec 13th or so, which means that we should do all of the prep work needed before then. It is hard to know exactly how much work this will entail until we dig into the current U. Toronto hub setup and see what is different from our infrastructure/ setup, so we'll give 2 sprints to this process.
Information

Champion: @GeorgianaElena
Assistant: @yuvipanda

Issues board for this project

We've had another incident on this hub, that reminded us again that we have an imbalance of team access to this infrastructure. I think we should try and make this move ASAP or this will keep on happening.
I've added some to-dos to the top, and we can prioritize this on the backlog.
I've also reached out to the U.T people to ask if there's a time window when there will be reduced activity where we could try to make the switch.

I've heard back from U. Toronto, they said that Canadian Thanksgiving is on October 11th (a Monday), so if we wanted to, we could plan a migration at that time. Otherwise we can wait until later
They had a few questions:

will there be a service interruption?

I think the answer is "yes", but likely not for long.

how long will the work take to perform?

I suspect the answer is "it will take a day or two to get set up properly, but that can be front-loaded before an actual migration begins"

what time of day works for you? It's obviously easier for us (less disruptive) if work can happen early morning or late evening (or night) eastern time.

We should try to do this early in the morning Toronto time, since that's when most of our team will be awake.

So two questions for you all:

Are my answers above correct?
Should we shoot for migrating this hub on or around October 11th? Or should we post-pone to later in the semester?

I've updated this issue with some new migration steps, as well as some things that we could do sooner than later since they likely won't be as disruptive.

Update: preferred date for migration
Just FYI, it sounds like the preferred date for migration (if we assume there will be down time) would be between December 13th and 15th.

Just FYI, it sounds like the preferred date for migration (if we assume there will be down time) would be between December 13th and 15th.

This is pretty close to the "winter break" I presume a lot of @2i2c-org/tech-team members will take. We should keep that in mind at the time to execute on this one, IMHO.

@damianavila similar for UofT. We want to get the updated sorted before most of our staff take their winter break as well. Hope the timing lines up.

I think that if we can take some baby steps in this direction before doing a full migration (like setting up a repo2docker image repository) it might also reduce the uncertainty and effort around the hub migration itself)

I've went through the old repo's config, and figured out a more concrete set of actions. I've updated the issue with a task list, one that can be done before Dec 13 and then a migration during that time.

@GeorgianaElena is going to give deploying the Azure infra a shot in this sprint
@yuvipanda will take on the nbgitpuller for private repositories aspect and write a nice blog post :)

The migration happened this morning :tada:
There are still a few boxes that need to checked and I also added some additional ones in the Step 3: Clean up and loose ends section in the original issue :arrow_up: as per @yuvipanda's suggestion.

Amazing - thanks for the update @GeorgianaElena and bravo on all of the progress we've made on migration already!
Do you think we are on track to have all of these done before next Wednesday? Trying to figure out if our original sprint estimate is reasonable.
I also opened up https://github.com/2i2c-org/team-compass/issues/331 to track some blog post / docs that I'd like to work on that will pull from the stuff we did here as well, so I may ask y'all for some help giving me guidance there!

I also opened up 2i2c-org/team-compass#331 to track some blog post / docs that I'd like to work on that will pull from the stuff we did here as well, so I may ask y'all for some help giving me guidance there!

This is so great @choldgraf! Happy to help with anything I can.

Do you think we are on track to have all of these done before next Wednesday? Trying to figure out if our original sprint estimate is reasonable.

My response comes a bit late, sorry about that. But I believe the only things remaining to do now are these two items:

Figure out what to do about user placeholders
Cleanup the old cluster and NFS VM, preserving anything we want from there

I was thinking that maybe the placeholder discussion can happen as part of https://github.com/2i2c-org/infrastructure/issues/643 so we can close this issue once we've deleted the old cluster and NFS VM. What do you think?

Question: are we still running the old cluster VMs?
We got some feedback from the U.Toronto folks that they saw a noticeable increase in cloud costs after the migration. I looked at the grafana but don't see anything out of the ordinary there. To that extent, a few questions:

Could the increase in costs be because we haven't yet shut down some of the old cluster?
Is there any reason not to just shut down all the old stuff? (e.g., as part of #917)?
Any other reason that their costs might have gone up?

I think there are two possible causes for the cost increase:

Old cluster and NFS VM + disks still being up
Azure File maybe more expensive than our NFS VM + disks setup

(2) is hopefully not a huge component, and we can get by with just finishing up (1)

@yuvipanda, are you aware of anything important that we'd need to save before destroying the cluster and NFS VM?
I remember copying over the hub logs before the winter break, but was wondering if there's anything else important left to back up?

@GeorgianaElena nah let's bust it

Thanks @yuvipanda! I will hit delete on the cluster in a few mins then the NFS VM :rocket:

I believe that the old cluster has now been deleted, and I've updated the Toronto team with this information. If so, can we consider this project complete??? 🚀

Yes! I just deleted the last remaining bit of the original Azure resource group! So let's close this :tada: :rocket:

congrats @GeorgianaElena :-)

Indeed, huge congratulations @GeorgianaElena!


Implement version command

What does this do / why do we need it?
Gives users the possibility to print the current version of the m1-terraform-provider-helper.
Check lists

[ ] Test passed
[ ] Coding style (indentation, etc)

Which issue(s) does this PR fix?
fixes #42

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 59.933%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
178

Relevant Lines:
297

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 59.933%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
178

Relevant Lines:
297

💛  - Coveralls


Chapter 3: gradient-based methods

Copied the initial text from my slides, many details/clarifications/examples/figures still to be added

Hi @amal-ghamdi , just passed the initial text as discussed today. Now you can take over this branch to finalize organizing the text. We can keep building upon it once the first version gets into the main

Hi @furibec, Super! many thanks for adding this great content and formatting it! I will add interactive CUQIpy exercises for this part and let's keep building :).


Food Availability: RSVP count not updating

Time Tracking: MA-78
The RSVP availability count for Free Food attendance tracking failed testing on 7.2.15 PROD-TEST. Clicking the "I'm Going" button does not increase or decrease the attendance count. Investigate and fix.
This is done when:

[x] Checking the RSVP "I'm Going" button increases "n students are going" by 1
[x] Unchecking the RSVP "I'm Going" button decreases "n students are going" by 1
[ ] Testing PASS in QA
[ ] Testing PASS in PROD-TEST

Ready for testing in QA - Build 1208 (7.4) and 1223 (7.5) available


Feature: Usage metrics

Added the telemetry events following our discussion yesterday.

@kburtram Fixed.

@abist I don't think this change needs new automated tests.  Mostly I was commenting that the code logic didn't look correct in a few cases in previous iterations, so I think additional testing to make sure it's working as expected in all cases would be good prior to merging.  It looks fine now best  I can tell.

@kburtram I tried local tests but not sure how to add them to the test suite. I'll merge these changes and get those tests added in near future.


[cdc] optimize database sync table filter logic

Purpose

Linked issue: close #3654

Tests

API and Format

Documentation

recommended to use flink-cdc Paimon Pipeline Connector first


Exception: Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install tensorflow

Rasa NLU version: 0.13.8
Operating system (windows, osx, ...): MacOs Mojave version 10.14
Content of model configuration file:
language: en
pipeline: tensorflow_embedding

Contents in nlu.md file
intent:greet

hey
hello
hi
good morning
good evening
hey there

intent:restaurant_search

i'm looking for a place to eat
I want to grab lunch
I am searching for a dinner spot
i'm looking for a place in the north of town
show me chinese restaurants
show me a mexican place in this area
i am looking for an indian spot
search for restaurants in the center
anywhere in the west
anywhere near 18328
I am looking for asian fusion food
I am looking a restaurant in 29432

synonym: indian

Desi
spicy
Bharath

synonym: center

central
midtown
middle

intent:thankyou

thanks!
thank you
thx
thanks very much

intent:behavioral_greet

how are you
how is it going
What is up
What is going on

intent:mood_great

I am doing great
I am absolutely alright
I am fine
great
doing great

intent:mood_unhappy

I am not good
I am so sad
I am not happy
I am sick

intent:mood_deny

No it didn't help
I am not satisfied
not okay

Issue: Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install tensorflow. But I have already installed tensorflow. I am attaching my .md file and .yml file as well.

Did you run pip install rasa_nlu[tensorflow]?

Hii @akelad  my issue has got solved. Thanks for responding.

Hii @akelad my issue has got solved. Thanks for responding.

How? please T.T
I'm having the same issue, but tensorflow and rasa_nlu are installed...

I'm encountering the same issue as above, although I've been following all the steps mentioned.

C:\rasax\sara>nlu_model.py
Traceback (most recent call last):
File "C:\rasax\sara\nlu_model.py", line 18, in
train_nlu('./data/data_rest2.json', 'config.yml', './models/nlu')
File "C:\rasax\sara\nlu_model.py", line 8, in train_nlu
trainer = Trainer(config.load(configs))
File "C:\Users\Pritesh\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_nlu\model.py", line 147, in init
components.validate_requirements(cfg.component_names)
File "C:\Users\Pritesh\AppData\Local\Programs\Python\Python36\lib\site-packages\rasa_nlu\components.py", line 46, in validate_requirements
"Please install {}".format(", ".join(failed_imports)))
Exception: Not all required packages are installed. To use this pipeline, you need to install the missing dependencies. Please install tensorflow


Backtesting speed improvements

Merged in: https://github.com/QuantConnect/Lean/commit/2a752f84dfc4752d3c90ecebcf4c309a0b07c6ae, https://github.com/QuantConnect/Lean/commit/05e620eb35a333655cd97b2032fd5fff8e11b968, https://github.com/QuantConnect/Lean/commit/19496fdaffc191011f104e1c15de305883e999e7, https://github.com/QuantConnect/Lean/commit/34653b998129e4bf5b0e474bc00e3f884ee194a4


Update CONTRIBUTING.md

What this PR does / why we need it:
This PR correct the typing error of CONTRIBUTING.md.
Instead of "Open Source" it is written like "OpenSource" in CONTRIBUTING.md.
Which issue this PR fixes
It fixes issue #1496

If you ask me a more appropriate version would be open-source. Also, the sign off is missing. I recommend using the command git commit -s -m "Whatever git message" to include a sign-off in your commits to pass the checks.

@vipulgupta2048  How can I make it correct now since I have sent PR. ?

@vipulgupta2048  Since I have seen that you have send many PRs in openebs, so can you send me the whole command snapshot on slack  means what to do after forking repo because I have tried to do this from last two days but cannot do.

@NisantaSahoo @utkarshmani1997  According to my PR #1511, I am already fixing this and it's aimed at fixing and improving the documentation as a whole. I would request to hold off or close this PR, as it would create a bunch of merge conflicts in the work I am currently doing. With no real gains.

@Rupeshiya Please review if your changes are incorporated by #1511. Also DCO commit is a must for the PRs. The sign-off should be in the commit messages.


Can I start rancher server as a service?

Can we start rancher server and agent as a service using "docker service create" command?

In theory this should be possible, since docker service does the same as docker run, but with the additional orchestration mindset.
My question is: why do you want to do it? What would you like to solve of achieve?

@toughIQ If i start rancher as a service. Can  I manage it in rancher web UI itself. If so, I can manage all containers including rancher itself as services in rancher web UI which will offer a uniform view to manage services.

Short answer, no.  You can make it almost work but if the whole cluster goes down you will end up in a circular dependent situation where you can't start the containers because there's no hosts and can't add hosts because there's no running API because there's no hosts.
What you can easily do is run a simple rancher installation which then manages the containers of a separate, possibly HA installation.

@vincent99 Thanks. Deploy rancher in HA mode with 'docker run' command should be a good choice.


Typescript type definitions

any idea why this hasn't been merged?

cc @kenny-hibino, @AAllport
not sure, almost forgot about this PR, it's very handy for Typescript users.

Almost started writing the defs, then thought. Hmm, should probably check the pr's

@AAllport @Artur-A Hey guys! Thank you for using this component library.
I have personally never used TypeScript and not sure if I'm the right person to code review this pull request. I'll try to find time to take a look at all pending pull requests sometime in the next few months. But in the meantime, please use @Artur-A 's fork to use this in TypeScript 👍

@Artur-A any reason why you have removed the dist folder from gitignore?

Closing this issue/PR in an effort to clean up the repo. Please let us know if you think that it should be re-opened. #325
(Happy to revisit this if anyone would like to update the PR and revert the change to gitignore that removes the dist folder)


⚠ Jurnal has degraded performance

In 89950a2, Jurnal (https://jurnal.unmer.ac.id) experienced degraded performance:

HTTP code: 200
Response time: 10549 ms

Resolved: Jurnal performance has improved in 1a64b4a.


Update the default value for the dbt_root_path

This has been throwing a lot of customers off ever since we changed the dbt parent to be within /dags. Proposing that we change the default to match our docs.

Nice! Do we need any docs changes here?

Nice! Do we need any docs changes here?

I don't think so!


k3s on equinix metal docs don't describe $EIP

https://kube-vip.io/hybrid/daemonset/#k3s-overview-on-equinix-metal mentions a export EIP=x.x.x.x, but it's very unclear what this should point to.
Is that meant to be the (elastic) address of kube-apiserver?
As far as I understand the Equinix Metal CCM, it look it looks up the external IP via some tag, does some manual healthchecking and plans announcing it from that node.
I don't really understand what happens after that - and how kube-vip knows which ip(s) to announce from which nodes.

So $EIP /is/ actually a (previously created) elastic IP in EQXM, that's announced as a control plane IP.

I did some more observations - it seems the --controlPlane mode:

Enables kube-vip control-plane functionality

…does try to ping whatever's on ${address}:${port}, and if it's reachable, announce ${vip_address} (and add the address to ${vip_interface}.
It should probably documented how "kube-vip control-plane functionality" actually looks like.
The port and vip_address environment variables probably shouldn't be in the generated manifest, and the CLI complain if you set it, without setting --controlPlane?

This documentation was all re-written a long time ago. Closing this one for now.


Alt screen does not move cursor same amount as primary screen for some emoji

Contour Terminal version
contour-git from AUR
Installer source
something else (please specify below)
Operating System
Arch linux
Architecture
x86-64
Other Software
No response
Steps to reproduce
#!/bin/sh

echo "primary screen:"
echo "|--|"
echo "|🏳🌈|"
echo "|📎|"
echo "|📡|"
sleep 5

echo -e "\x1b[?1049h\x1b[?2027h" # enter alt screen and turn on 2027
echo "alternate screen:"
echo "|--|"
echo "|🏳🌈|"
echo "|📎|"
echo "|📡|"

sleep 5

echo -e "\x1b[?1049l"

Expected Behavior
In the alt screen, the cursor only moves one cell for some emoji
Actual Behavior
The cursor should move the same (correct) amount in the primary screen and alt screen
Additional notes
No response

Cursor movement mistakes are most likely a bug in unicode grapheme cluster's width handling.
I wonder why it's only happening on alt screen and not on primary. Will figure it out. Many thanks for your report, @rockorager :)

Okay, this is a dup of #1375 - technically speaking. I am having a PR open over at libunicode that attempts to fix this (with better API and implementation). this should be fixed by the next major Contour release :)


chore: release main

:rocket: Automated Release
dev-dependencies-types: 2.0.3
2.0.3 (2024-12-11)
Bug Fixes

revert to react 18.x types (#480) (273662b)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

dev-dependencies-types-v2.0.3
:sunflower:


Added Global ban stuff

it works
maybe :3

fking 666

EVERYTHING IS FIXED AND SHOULD BE WOKRING NOW UWU

loving the branch name :trollface:

loving the branch name :trollface:

XD

As stated in discussion on Discord I'm not to fond of having a "single source of truth" banlist due anyone finding themselves on that list pointing fingers at core Northstar contributors. Instead we should somehow/somewhere provide a public list of known offenders that contains their category of offence as well as other metadata (a sort of list of shame) and then enable server hosters to use a specific list using some commandline flag with the default being none.
The idea to this being that instead of having to blame core Northstar contributors, any offenders would have to instead complain to server hosters of which there are more of and as such the offenders do not have a single point of blame.
Additionally I'm growing increasingly found of "soft-bans" where offenders get nerfed based on their offence.

So cheaters with aimbot would get massive damage reductions so that anyone attacked by them would have more then enough time to react and counteract.
Speedhackers would get slowed down by being rubber-banded to a previous location.
Chat spammers would get shadow-banned, so all their messages would never reach any other player.
etc.

Hi gecko! Thanks for the reply! :3
Initially I used json for the job, but later I realize for me I only need the uid part cuz we usually don't encounter other hacks than regular aimbots that should have 100% being banned.
The other reason for parsing raw text stream is that I think json is kinda slow if it gets massive, thus I made it extremely fast and simple.
If we move this to json and make a soft ban system base on that, it's better to also make a visual backend for editing the json file. (Which is actually one more reason for me to not use json here, I have to manually construct json string with my human hand if I wanna ban someone xDD)
But seriously speaking, I really like the softban idea. We can also do stuff like "ppl being punished can only see the servers that are meant for them to play(like a ttk extremely long, unsatisfying game.)"
For me , all I can do is to move this back to json format, make a callback in squirrel( which was actually done but removed) so you can have easier access to the ban informations.
But I'm not any good at programming so whether this will finish really depends on my luck and free time uwu

I'm not sure if JSON is needed specifically but any form of "banlist" we provide (again I'd argue server hosters need to enable it specifically) should be fine grained so that server hosters can make informed decisions (compared to just listing UIDs) and follow some clearly defined standards so that others can create and host their own banlists, allowing server hosters to get the content from other/multiple sources. ^^

personally, i think the best idea would just be to fail authentication for particularly aggregious cases, where there's pretty much no doubt that the person should get a full ban, i don't personally see much of a reason to provide a global banlist that's enforced on gameserver, if the assumption is that most servers will be using that banlist anyway

As stated in discussion on Discord I'm not to fond of having a "single source of truth" banlist due anyone finding themselves on that list pointing fingers at core Northstar contributors. Instead we should somehow/somewhere provide a public list of known offenders that contains their category of offence as well as other metadata (a sort of list of shame) and then enable server hosters to use a specific list using some commandline flag with the default being none.
The idea to this being that instead of having to blame core Northstar contributors, any offenders would have to instead complain to server hosters of which there are more of and as such the offenders do not have a single point of blame.
Additionally I'm growing increasingly found of "soft-bans" where offenders get nerfed based on their offence.
* So cheaters with aimbot would get massive damage reductions so that anyone attacked by them would have more then enough time to react and counteract.

* Speedhackers would get slowed down by being rubber-banded to a previous location.

* Chat spammers would get shadow-banned, so all their messages would never reach any other player.

* etc.

i'm not sure softbans would be such a good idea to be honest, while stuff like rubberbanding speedhackers is a good idea (though, not entirely sure it falls within the realm of softbans really, more just exploit prevention)
however, stuff like reducing damage i think should be left more to mods, rather than being shipped with northstar by default

Closing cause we decided (a while back) to not do global bans but instead want to make it easier to "import" bans. ^^


[Feature Request]: "Go to Location/Coordinates" Quest Task

Is your feature request related to a problem?
Adding a quest task that is completed when reaching a certain area specified with position coordinates and its size (similar to FTBQuests' Location task) can be helpful when making map specific quests.
Solution(s)
No response
Describe alternatives you've considered
No response
Mod Version
1.1.13
Mod Loader Version
1.20.1 - 47.2.32
Mod Loader
Forge
Additional context
No response

This already exists just has to be done via the json, its type is heracles:location and takes a predicate field of this

I suggest for autocomplete in json to use this: https://marketplace.visualstudio.com/items?itemName=FooterMan.heracles-support

This already exists just has to be done via the json, its type is heracles:location and takes a predicate field of this  I suggest for autocomplete in json to use this: https://marketplace.visualstudio.com/items?itemName=FooterMan.heracles-support

hello, for some reason it still doesn't seem to appear in the task screen or do anything. It seems that reloading the quest file will just delete the task. Ive confirmed it should be correct since I used your ftb quest importing tool and does the same thing in the quest file


How to flash using esptool?

For reasons i dont know, the web serial interface you provide cant recognize my cyd on two linux computers.
can you provide the command for esptool to flash the cyd (esp32-wroom)?
I'm not exactly sure; last time i did that with cyd, the process of flashing went well, but the display was black and the backwards LED stayed red...

This should work, let me know.
cd ~
git clone https://github.com/Fr4nkFletcher/Adafruit_WebSerial_ESPTool
esptool.py --port /dev/YOURSERIALPORT write_flash 0x1000 ~/Adafruit_WebSerial_ESPTool/resources/STATIC/M/CYD/esp32_marauder.ino.bootloader.bin 0x8000 ~/Adafruit_WebSerial_ESPTool/resources/STATIC/M/CYD/esp32_marauder.ino.partitions.bin 0x10000 ~/Adafruit_WebSerial_ESPTool/resources/CURRENT/esp32_marauder_v0_13_10_20240428_cyd_nogpspwn.bin

Wow, works like a charm! Thank you!

Good to hear!


Map showing relevant recipient-country

This was a nice to have.

Looks like we’d use geojson from here:
https://github.com/datasets/geo-countries
Would first need to replace ISO3166-1-Alpha-3 with ISO3166-1-Alpha-2.

Actually, this was super handy: https://geojson-maps.ash.ms/


sample_tree.html example broken.

The example file has broken logic. This broken logic was also copied into another person's example that I was working with and it took a while to track down.
In sample_tree.html:
{% ifchanged comment.parent_id %}{% else %}

{% endifchanged %}

This makes no sense and results in broken output, for example:

Name: tester Title: test Body:
test

Name: VeryGood Tester Title: This should not break Body:
I think I got the bastard!

Name: TesterFester Title: A new thread Body:
This is a good test.

                   WHAT IS THIS??

Name: Another... Title: I think I fixed it! Body:
Testing the fix!

                     AND THIS???

Name: FinalTest Title: If this doesn't work.... Body:
Then screw it...

Name: AnotherReply Title: The Test Body:
blah blah blah

Name: Bottom One Title: Test Entry Body:
testing down here!

I can't get Github to format the code in any reasonable way, sorry.

That example (from fivethreeo) does not appear to exist any more.
Looking for a working example with reply forms.  Used to be one in older versions of Pinax, but those were also the older version of ThreadedComments. Working on my own example, which I will post when finished. The threadedcomments app really needs a fully working example.  If anybody knows anything else, please let me know.
I'll post a new issue to focus on this problem.


kernel: move some stuff in cstart() to SYS_INIT

Removed the stack canary stuff, it actually has to be where it is due to the way stack canaries work


Issues with messages (including a crash)

Hi @42wim, I see you are actively refactoring the code, thanks for that firstly! It's glad to see this great project getting improved =)
So, this issue is a mix of some small issues (and a crash) I'm seeing when dealing with mattermost messages using matterircd; I suspect/feel that all of those have the same root cause, so I'll list the issues and my reasoning about them:

If I go to the webclient and send a message to myself, matterircd crashes...after it's back (i.e., when I restart matterircd), the message is replayed back to me as coming from "mattermost" user!

If I'm talking with my colleague Mr. X in matterircd, through messages, and go to web-client to send him a message (like a code or something), it shows in matterircd as coming from myself, even the channel/window of my conversation with Mr. X being opened in my IRC client.

If we’re on a message/conversation “channel” on IRC and the mattermost user edits a message, irc-user does not receive the (edited) message (though in a regular channel it works).

So, specially for (1) and (2), it seems there's a kind of "indirection" on how matterircd handles messages. If I send a message to some user in web client matterircd handles that as a message to myself. If I indeed send a message to myself, it crashes - it's a like a dereference that got NIL due to this indirection!
I'm not sure if (3) is related or not, but I guess worth the report. Thanks again for the great piece of software =)

@guilhermepiccoli are those reports based on current master? because a lot of those should be fixed in master.

That's great news @42wim , thank you! I'm not running master from today (I guess my build was like 10 days ago). I will rebuild now and start to test, thanks!

master contains the refactor and fixes, also be sure to read the changelog.md some things have changed

Issues (1) and (2) still exists.
Issue (3) seems to be fixed! Thanks.
But I've noticed something odd; I've sent a message to a friend and he didn't got (didn't show in the web client). Then I've sent a test message in the web client and the message that didn't go before, went with my test, as if it was "stuck" in a buffer or anything like that. After this event, it seems I'm being able to use the messages again, normally...

If I'm talking with my colleague Mr. X in matterircd, through messages, and go to web-client to send him a message (like a code or something), it shows in matterircd as coming from myself, even the channel/window of my conversation with Mr. X being opened in my IRC client.

That's normal because it is coming from yourself?

If I'm talking with my colleague Mr. X in matterircd, through messages, and go to web-client to send him a message (like a code or something), it shows in matterircd as coming from myself, even the channel/window of my conversation with Mr. X being opened in my IRC client.

That's normal because it is coming from yourself?

Hmm..not sure! Imagine I'm talking with mr. X in IRC, so there's a channel/window open with our talk. I assume this channel has an id or something like that...that's the way the channel was created in the first message between me and mr. X. Then I go on web client for some reason and send like a code...it opens a different window on IRC, like the message was from me, to me! It completely messes the logs and whatnot, I feel it should dump that message in the same channel/window I was talking with mr. X, right?

oh no, that's not correct, it should dump it in the same window as your chat with mr X.. I thought this was fixed.
what irc client are you using and what mattermost version?

Thank you @42wim =)
I'm using matterircd from today's master, znc connected to it and hexchat connected to ZNC.
Checking company's "about mattermost" , I see the following info:
Mattermost Version: 5.23.1
Database Schema Version: 5.23.0
Database: postgres

could you try with irssi+matterircd? just to be sure that's not your client (I can't test right now)

Very interesting, testing with weechat+matterircd directly, issue (2) seems to be solved. But issue (1) the crash is reproducible.
This is the backtrace from issue (1):
DEBU[0535] MMUser WsReceiver: &model.WebSocketEvent{Event:"posted", Data:map[string]interface {}{"channel_display_name":"@gpiccoli", "channel_name":"hz8pyxhqup83dn939ogjx1yufh__hz8pyxhqup83dn939ogjx1yufh", "channel_type":"D", "post":"{"id":"qnixf6db1fyobb8wtikzf6wkfo","create_at":1597182513845,"update_at":1597182513845,"edit_at":0,"delete_at":0,"is_pinned":false,"user_id":"hz8pyxhqup83dn939ogjx1yufh","channel_id":"fhu9myrpktbj8c874zuu65bewe","root_id":"","parent_id":"","original_id":"","message":"whohoo","type":"","props":{"disable_group_highlight":true},"hashtags":"","pending_post_id":"hz8pyxhqup83dn939ogjx1yufh:1597182513726","reply_count":0,"metadata":{}}", "sender_name":"@gpiccoli", "team_id":""}, Broadcast:(*model.WebsocketBroadcast)(0xc0008222c0), Sequence:0, precomputedJSON:(*model.precomputedWebSocketEventJSON)(nil)}
DEBU[0535] handleWsActionPost() receiving userid hz8pyxhqup83dn939ogjx1yufh
panic: interface conversion: interface {} is nil, not string
goroutine 146 [running]:
github.com/42wim/matterircd/bridge/mattermost.(*Mattermost).handleWsActionPost(0xc000169f10, 0xc000917290)
/home/guilherme/src/matterircd/bridge/mattermost/mattermost.go:651 +0x1f6b
github.com/42wim/matterircd/bridge/mattermost.(*Mattermost).handleWsMessage(0xc000169f10)
/home/guilherme/src/matterircd/bridge/mattermost/mattermost.go:121 +0x2ff
created by github.com/42wim/matterircd/bridge/mattermost.(*Mattermost).loginToMattermost
/home/guilherme/src/matterircd/bridge/mattermost/mattermost.go:87 +0x311

Issue 1 is now fixed too in master, as are probably other weird DM issues

Thanks, tested and indeed it's fixed! Appreciate your promptness =)


Add documentation to generated stryker.conf.js

Add feature #1212
Initial setup providing fetching the URL from the response and displaying it in the comment property of the stryker.conf.json.

Released in v6.3 🎉
https://github.com/stryker-mutator/stryker-js/releases/tag/v6.3.0


Is there a way we can run exporter using non-root user ?

The K8's cluster we use is enabled with PSS (Pod security standard) in restricted mode. We will not be able to run the exporter using root ID 0. Is there a way to run this using non-root user ?

Just run it, I think so. You can setup listerner port which is greater than 1000 (port below 1000 require root permission)


dendrogram Tree line and cells are not alligned in the plot

Hello! Thank you for this great package!
I have an issue while running the dendrogram, not sure why the cells are not aligned with the tree line, could I ask how to troubleshoot this?...
Thank you so much!

Sorry for bugging, after I restart the kernel, everything works. Close the issue.

It happens again, and seems happening in #7 issue as well.
https://github.com/LouisFaure/scFates/issues/7#issuecomment-1213420148
Thank you!

Could you send an anonymized anndata file so I can have a look myself?

Sorry! Today a couple of hours ago I tried to debug and just find out what happened. I used Arch Linux and it keeps showing this issue. Not sure exactly why, today after I tried to run all the analysis on Ubuntu 22 with new installed conda/scfates, everything works perfectly.
Thank you so much! I think installing on a fresh system will make it work! Thank you again for this great package!


Cast exception after upgrading to 6.0

In Xam.Mac project, binding a command results in cast exception.
Binding code:
this.BindCommand(ViewModel, vm => vm.AcceptSelectedCommand, controller => controller.AcceptSelectedButton);
Exception:
Cannot cast from source type to destination type.
  at (wrapper castclass) object:__castclass_with_cache (object,intptr,intptr)
  at ReactiveUI.ReactiveNotifyPropertyChangedMixin+<SubscribeToExpressionChain>c__AnonStorey3`2[XTractor.UI.ViewModels.ReviewStringsTaskViewModel,System.IObservable`1[ReactiveUI.IObservedChange`2[XTractor.UI.Models.SelectableNode,System.Object]]].<>m__1 (IObservedChange`2 x) [0x00000] in /Users/paul/code/reactiveui/ReactiveUI/ReactiveUI/ReactiveNotifyPropertyChangedMixin.cs:113
  at System.Reactive.Linq.ObservableImpl.Select`2+_[ReactiveUI.IObservedChange`2[System.Object,System.Object],ReactiveUI.ObservedChange`2[XTractor.UI.ViewModels.ReviewStringsTaskViewModel,System.IObservable`1[ReactiveUI.IObservedChange`2[XTractor.UI.Models.SelectableNode,System.Object]]]].OnNext (IObservedChange`2 value) [0x00000] in <filename unknown>:0

@mteper any chance you could test this with the new RxCommand stuff coming in 7? PR is #971.

This was actually fixed back in 6.5.x timeframe.


Hey! I am learning to code in school.

Hey! I am learning to code in school and i wanted one of my projects to be a bot which would upload videso for me. I was wondering if you wanted to go through how your code works and how to use it?!
Br, Dylan
Contact info
dyl#2854 on discord

@dylshie this bot can upload to YouTube but videos will be locked automatically, it might work for demonstration in school, but not as an actual bot, if you are stuck somewhere in tutorial, I can help, thank you.

Yes please do! Also is the bot able to input specific youtube urls for example? Like ones i choose myself? If so, would there be a way to upgrade the code to not lock the channel right away?

@dylshie no way way to prevent video from getting locked, you can input your own videos, not youtube links, but download links to any video will work.


[QUERY] Is there a way to get Sql Database connection strings with the SDK?

Query/Question
Is there a way to get Sql Database connection strings with the SDK? I see that I can get SQL Server Keys with the SDK, but I'm not seeing any properties or methods that would get me the SQL DB connection string. Is this only available through the portal?
Environment:

Name and version of the Library package used: [Microsoft.Azure.Management.Fluent 1.37.0]
Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): [.NET Core 3.1]
IDE and version : [Visual Studio 16.4]

k you for your feedback.  Tagging and routing to the team member best able to assist.

add @weidongxu-microsoft to help on this

@coppercosmo
There is no connection string from SDK. You had to make your connection string, based on server endpoint, authentication info etc., and for the application that consumes it.


Fix for knife failing if $HOME is not set.

Don't try to load user-specific knife plugins if we don't know what the user's home directory is.

Related ticket: http://tickets.opscode.com/browse/CHEF-2646

Thank you for taking the time to help make Chef better! We require a Contributor License Agreement (CLA) from contributors to help protect all Chef users. It is easy to complete one online. Instructions to do so are on our wiki, which is linked below.
http://wiki.opscode.com/display/chef/How+to+Contribute

I should actually be on the Dell corporate license agreement.
On Nov 16, 2011 2:05 PM, "Bryan McLellan" <
<EMAIL_ADDRESS>wrote:

Thank you for taking the time to help make Chef better! We require a
Contributor License Agreement (CLA) from contributors to help protect all
Chef users. It is easy to complete one online. Instructions to do so are on
our wiki, which is linked below.
http://wiki.opscode.com/display/chef/How+to+Contribute

Reply to this email directly or view it on GitHub:
https://github.com/opscode/chef/pull/156#issuecomment-2767073

You should check with Scott Jensen, who I believe is on your team. He is now familiar with the process of updating Dell's CCLA and needs to express specifically that you should be added to that CCLA.

Looks like we worked out the CCLA issues. I've updated the ticket so we will review it at triage next week.

Mostly fixed, will open specific pull requests.


Rename project to ruv

In keeping with the r-prefix for ruff based tools, I suggest you rename uv to ruv.

Sorry I don't think we're going to consider changing the name at this time.


Maven install documentation added

Description
Documentation updated with instructions how to clone project and install local artifacts before executing archetype command.
Fixes # 26
Type of change
Please delete options that are not relevant.

[ ] 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)
[x] This change requires a documentation update

How Has This Been Tested?

Delete everything from .m2\repository\de\ikor\sip directory
Execute all commands described added with this PR
Run archetype command with version 1.0.0
Expected: archetype generates new adapter

Checklist:

[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] New and existing (regression) unit tests pass locally with my changes

@vladiIkor we have the same issues with the docs in archetype.md maybe we want to only mention its usage in one location, if not then it has to be fixed in the other place, too

@vladiIkor we have the same issues with the docs in archetype.md maybe we want to only mention its usage in one location, if not then it has to be fixed in the other place, too

Thanks @stieglma
Your comment makes sense.
However, I still wouldn't copy this entry because it's not strictly related to archetype, but for all other SIP artifacts as well. Also it is not about archetype usage but about how to get wanted artifact. I think that installation.md is perfect location for such entry.
Plus, it's a temporary measurement and copying would just make it harder to maintain.
Would you agree?

@vladiIkor we have the same issues with the docs in archetype.md maybe we want to only mention its usage in one location, if not then it has to be fixed in the other place, too

Thanks @stieglma Your comment makes sense. However, I still wouldn't copy this entry because it's not strictly related to archetype, but for all other SIP artifacts as well. Also it is not about archetype usage but about how to get wanted artifact. I think that installation.md is perfect location for such entry. Plus, it's a temporary measurement and copying would just make it harder to maintain.
Would you agree?

I had a closer look again, and I think I don't agree, IMHO on the installation page there should be a link to the archetype page, and the details should be there. At the moment the installation page basically only contains information about system requirements and archetype.
Also I think that the installation page should additionally contain information what to do, if the archetype is not / cannot be used. But I wouldn't do that on this PR and rather in a new one.

@vladiIkor we just got all the approvals and access to maven central. Version 1.0.0 is now deplyoed there, too: https://repo1.maven.org/maven2/de/ikor/sip/foundation/
So I guess documentation should just be updated to not have duplicates, but referring to github packages is no longer necessary

SIP artifacts are now available on maven central


extensible components

private access specifiers replaced by protected, more in #1148

Current coverage is 85.62% (diff: 80.00%)

Merging #1186 into development will not change coverage

@@           development      #1186   diff @@
=============================================
  Files               35         35
  Lines             1280       1280
  Methods            228        228
  Messages             0          0
  Branches           213        213
=============================================
  Hits              1096       1096
  Misses             184        184
  Partials             0          0

Powered by Codecov. Last update eaba9ca...4c4e8a4

Awesome! Perfectly correlates with ng2-bootstrap plans ;)
Thanks!


Add compressed requests

This option allows compression of the uploading files and/or data.
Examples:
http --form --compress POST https://localhost/upload<EMAIL_ADDRESS>
http -x -x POST https://localhost/upload foo=bar

cat /var/log/system.log | http -x POST https://localhost/upload

Coverage increased (+0.1%) to 93.649% when pulling ff331dbda6665ddffdc94d925cf67a0abf675a1b on aleksandr-vin:add-compressed-requests-n into c591a3810dcbfe541aa17326c40bbce35444fcd2 on jakubroztocil:master.

Thanks @aleksandr-vin!


Fix Catalyst Flaky Test

#no-changelog

They're still failing locally too. Fixed one of the issues but still have to figure out another.

Fixed some of the flakes but there may be more work to do in the existing report manager tests.


How to compile it.

Hello, @Wyliemaster I delighted to you idea. But i`m don`t know how to compile it?

Hello, @Wyliemaster I delighted to you idea. But i`m don`t know how to compile it?

I didn't set it up to be compiled, its here mainly for reference when people want to make mods. They can easily look at the code of the function they're hooking and then they can work with that


Generating documentation

Hi,
amazing upgrade to PropTypes.
I was wondering what do you use to generate documentation.
I guess possible react-docgen version with custom handlers but that might not be enough?
Thanks in advance
Alex

We don't generate documentation; I believe docs should always be hand-written. If that's too tedious or complex, then that's a useful indicator that the thing you're documenting is too big or complex.


Use percentFullyVaccinated for UI warning

Fixes #1817.

I'm not sure if this change is the right one. It does cause the warning to go away when vaccination percentage is applied, but the value of the vaccination doesn't seem to have any effect on the calculator, so I wonder if the vaccine percentage should be eliminated altogether.

@justinhaaheim Can you take a peek and see if this change makes sense from a technical point of view (is this variable not the correct one to use for the warning message)? Also, according to the failed check, this line isn't covered by any tests. Could you devise a test that covers this behavior or do you recommend to bypass the failed check?

This change will likely be superseded by an effort to remove percent vaccinated from the inputs (#1826).


[odb, rcx]: Adding mask color support to bench_wires

Now when OpenROAD comes across colored layers in bench_wires it will make sure to write shapes with mask colors.

@antonblanchard @osamahammad21 This would let us start implementing color support in the router.

Please don't force push after review

You've got 4 rcx failures to clean up


Add Docker 19.03.15 and 20.10.3 + docker-compose 1.28.2 to v1.9.0

I will publish v1.9.1 soon which defaults to 19.03.15 but let's make those available for v1.9.0 too (on v1.9.1-rc1 they are already I tested that those works).
https://docs.docker.com/engine/release-notes/19.03/#190315
https://docs.docker.com/engine/release-notes/#20103

You could check the changes, the autobuild threw an error in the dapper
https://github.com/burmilla/os-services/pull/14/checks#step:3:613

Good catch. I totally forgot that there is test build on PRs too so I needed to include https://github.com/burmilla/os-services/pull/14/commits/bca33af4a000c7d0982c79cd995aae5766419bcd commit (which was already on master) to here too.


/students and /student endpoint not secure

Anyone can get the whole database of students [You don't have to be connected to IITK network] . This is a major security issue.

This issue was due to an incorrect nginx configuration, introduced a couple of months ago when we were investigating why Student Search was down. This has been fixed now. Thanks for notifying us.


Lower bound on tf adjustments

Option to set a min term frequency so that very low freq don't get excessive weight
For instance, imagine two different people called John have a typo in their name 'Jonh'.  That typo may appear only twice in the whole dataset, and thus the two different people could be matched incorrectly.  The term frequency of 'Jonh' would be 2, but i we set a lower bound of 10 or 100, then this would mitigate the effect of this edge case.

This was implemented in #395


Phone verification system not working

Subject: Phone verification system not working
Description:
I just tried to add my phone but It didn’t work
Results:
Backend version: develop-4abbe8c9
Frontend version: develop-4abbe8c9
User Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 15_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Mobile/15E148 Safari/604.1
Page: https://couchers.org/preview
User: beratclxn (12275)

CAn't reproduce


Can't get new project or even example project to build.

Is this a bug report?
Yes
Have you read the Installation Instructions?
Yes
Environment
react-native: 0.51.0
react: 16.0.0
react-native-maps: 0.20.1

Steps to Reproduce
1. git clone https://github.com/react-community/react-native-maps.git
2. cd react-native-maps/example
3. gem install bundler
4. npm install
5. npm run build:ios

Expected Behavior
I expect the project to at least finish building and show up on the emulator.
Actual Behavior

Reproducible Demo
The bug occurred trying to build this repo's own example app.
(Paste the link to an example project and exact instructions to reproduce the issue.)

Try using the latest code from github. In you package.json:
"react-native-maps": "github:react-community/react-native-maps"

Hi,
Here is my podfile. I did an install the last tuesday:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'FolloowMobileApp' do
  rn_path = '../node_modules/react-native'
  rn_maps_path = '../node_modules/react-native-maps'

  pod 'yoga', path: "#{rn_path}/ReactCommon/yoga/yoga.podspec"
  pod 'React', path: rn_path, subspecs: [
    'Core',
    'RCTActionSheet',
    'RCTAnimation',
    'RCTGeolocation',
    'RCTImage',
    'RCTLinkingIOS',
    'RCTNetwork',
    'RCTSettings',
    'RCTText',
    'RCTVibration',
    'RCTWebSocket'
  ]

  pod 'react-native-maps', path: '../node_modules/react-native-maps'
  pod 'react-native-google-maps', path: '../node_modules/react-native-maps'  # Remove this line if you don't want to support Google Maps on iOS
  pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'

end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.name == 'react-native-google-maps'
      target.build_configurations.each do |config|
        config.build_settings['CLANG_ENABLE_MODULES'] = 'No'
      end
    end
    if target.name == "React"
      target.remove_from_project
    end
  end
end

And in my package.json I've reference the code from github (as ujwal said):
Remember to run pod install from the ios folder before run your project.
Hope it helps.

Hi there, the current example Podfile is broken. I have a PR open that should fix this. https://github.com/react-community/react-native-maps/pull/2094
With the changes from that PR you should be able to follow https://github.com/react-community/react-native-maps/blob/master/docs/examples-setup.md to get the example set up :)

Hi @ehutchllew, this should be working now.
If you still get the same error, try deleting the file example/ios/Podfile.lock.

@lachenmayer
Hey, so the only way I could get this to even build was by using RN 0.47.0, and react-native-maps on 0.15.2.
I can render something now, but it only shows a grid, not an actual map. So not sure why that might be, I have initialRegion set.


Update mypy CI to python 3.12

xref #9315

Well, the ignores just show that the operators are not properly typed.
Maybe once 3.9 support is dropped I can try to improve this and get it working properly again...

once 3.9 support is dropped

Let's do this now!

Could it be linked to https://github.com/pydata/xarray/issues/9365?


'SceneNode' refers to a value, but is being used as a type here ts(2749)

I'm getting this message after importing the new type defs directory (today Sept 28).

'SceneNode' refers to a value, but is being used as a type here.ts(2749)

And this error:

Property 'SceneNode' does not exist on type 'typeof import("/Users/user/Library/Application Support/Adobe/Adobe XD/develop/myplugin/types/scenegraph")'.ts(2339)

It happens on the const line and the @param line:
// there's a red underline under scene node
const {SceneNode} = require("scenegraph");

/**
 * Adds interaction
 * @param {SceneNode} item
 **/
function addInteractions(item, model) {

}

Have you tried
import { SceneNode } from "scenegraph";

Hi @velara3.
May I ask in which "context" you're experiencing this issue? What I mean is: Do you use it with JS in VSCode, in another IDE or editor, with a TS compiler?
Thank you very much in advance :slightly_smiling_face:

It's working now. It was an issue on my side.

Still have an issue. I see this in the release notes for #59 :

Interesting. Is it possible for me to revert this locally? I have a lot of:
 /** @param {SceneNode} */

Can I comment out a line and get old behavior back? Or can I import it?
const {SceneNode} = require("scenegraph").SceneNode // doesn't work

@velara3 You can do one of the following:
Cleanest Approach
const scenegraph = require("scenegraph");

//...

/** @param {scenegraph.SceneNode} */

Clean Approach
/** @param {import("scenegraph").SceneNode} */

Find-and-replace would be your friend for that second ("Clean Approach") option. The first option, however, only requires that you refer to the imported scenegraph module before the SceneNode.
Global Approach
If you're really that keen on maintaining a generic SceneNode there, you  can also create your own .d.ts file in the types directory (something like "custom.d.ts") with the following line in it:
declare type SceneNode = import('scenegraph').SceneNode;

That will make it so that the definition of the SceneNode type is global for your project - no need to do any require or import.

I've created a custom .d.ts and it's working now.
But I'm still having issues with other elements:
// Argument of type 'SceneNodeList' is not assignable to parameter of type 'Selection'.ts(2345)
async function updateMethod() {
	const { selection, root } = require("scenegraph");
	showDialog(selection, root); // error here
}

/**
 * Show dialog
 * @param {Selection} selection Selection
 **/
async function showDialog(selection, rootNode, showingPanel = false, showLabels = true) {
   ...

}

Yes, sorry, that is a typo on my end (making the scenegraph.selection a SceneNodeList). Unfortunately, when trying to use Selection, which is declared as a global interface, it is a basically a guessing game whether it uses the correct Selection interface or a class from the dom typings...
As discussed in #65, it is (currently) not feasible to provide own declarations for the DOM, meaning I currently see no elegant way around that. @ericdrobinson Any thoughts? The only thing I can think of right now (which I've done in 261fb02bae14220e862da0ca35ec430dc808a15d in the branch where I've just fixed this mistake) is to add some sort of "wrapper" for Selection with a unique name (in this case, XDSelection)...

"But professor, where would we ever need namespaces?"
So the DOM typings and the XD typings with the same names are conflicting.
Does ES6 or ES7 provide namespaces?

Does ES6 or ES7 provide namespaces?

How would this help? What type of solution do you have in mind?

I like your suggestions but what I meant was maybe writing the classes in ES6? XD plugins are written in JavaScript.
https://adobexdplatform.com/plugin-docs/reference/javascript/javascript-support.html
You could simply create an ES6 class and code hinting and code complete will work from that but if there are name collisions then namespaces would help if they are supported.
The local ES6 classes might override the global types but I'll have to check.

You could simply create an ES6 class and code hinting and code complete will work

This isn't possible for type declarations. As a plugin author you can definitely write using ES6 classes and the like. The Type Declarations, however, cannot be written in ES6, they must be written using TypeScript (and, more specifically, as Type Declaration files).
The Type Declaration files are descriptions of the environment. The Selection type is provided by Adobe. It's a type only (and not a class) because you cannot do "let sel = new Selection()". TypeScript declaration files are ambient - they do not affect output, but help the VSCode JavaScript language service understand what options are available for a value of a given type.
If you're familiar with C/C++, the Type Declaration files are similar to Header Files for those languages. A simple way to think of Type Declaration files is that they define the shape of available APIs without actually declaring the APIs themselves.
In this case, as with browsers, the environment has a built-in Selection type. It is not something that you can create, but you can obtain values of that type. Unfortunately, the DOM lib defines the Selection type in the global namespace. Currently, the XD typings do the same exact thing, which causes the conflict.

The local ES6 classes might override the global types but I'll have to check.

TypeScript declaration files allow you to declare class types. This will add both a Type Name and Value Name to IntelliSense. Example:
class Selection { /** ... **/ }

This adds both a Type called Selection and a Value called Selection (the thing you can use directly in the code to call, say, new Selection().
interface Selection { /** ... **/ }

This adds only a Type called Selection. If you try to type new S, the Selection name won't show up. This is what we expect with XD as writing new Selection() in XD results in an error.
Make sense?


How to force reload page if hmr could not update

How to force webpack hmr to reload page in this case

It looks like you just deleted/ignored our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please open a new issue with filled issue template. Also make sure your issue is not a question. Questions should be posted on Stack Overflow.


Retrieve links

Description
Add to the rendered template sent via email when job successful, the links to download the data, in case the jobResults.result is an object of HTTP URLs. Also, the additional message can be as well moved to the results section, making it more customisable.
Changes:

jobResults.result can be transformed to array of links
additionalMessage is avoided and it can be part of results

Tests included/Docs Updated?

[x] Included for each change/fix?
[x] Passing? (Merge will not be approved unless this is checked)
[ ] Docs updated?
[ ] New packages used/requires npm install?
[ ] Toggle added for new features?

That requires the additional message to come from the system sending the URLs . That is verry flexible but may be asking for too much from the sender. Shouldnt that text rather be in a configuration file ?

indeed. This would be one "general" solution, before following the route of allowing more custom templates

superseded by #715


controller-gen 0.15.0

controller-gen 0.14.0 -> 0.15.0 + make manifests diff

Thanks for contribution!


Use es6 default parameters

I've made some test to use the es6 default parameters in the library.
For example for the constrainRotation function in ol/View:
-  constrainRotation(rotation, opt_delta) {
-    const delta = opt_delta || 0;
+  constrainRotation(rotation, delta = 0) {
     return this.constraints_.rotation(rotation, delta);
   }

This feature is supported by Bublé and the transformed function is:
  View.prototype.constrainRotation = function constrainRotation (rotation, delta) {
    if ( delta === void 0 ) delta = 0;
    return this.constraints_.rotation(rotation, delta);
  };

JSDoc also supports it and adds a Default column in the parameters's description:

What do you think of this?

:+1: Looks good. So we're sure documented default value is correct.


RuntimeError: generator raised StopIteration in PyLS

Description
What steps will reproduce the problem?

crashed during autocompletion of class method.
example code:
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtCore import Qt, pyqtSignal
from PyQt5.QtWidgets import QGraphicsView, QGraphicsScene, QMainWindow, QMenu
from PyQt5.QtGui import QPixmap, QTransform

class MainWindow(QMainWindow):

    def __init__(self):
        super().__init__()

        self.viewer = QViewer()
        self.viewer.loadImage("img/bender.png")
        self.setCentralWidget(self.viewer)

The problem occurs when I start typing 'self.' inside the class
Traceback
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pyls_jsonrpc/endpoint.py", line 113, in consume
    self._handle_request(message['id'], message['method'], message.get('params'))
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pyls_jsonrpc/endpoint.py", line 182, in _handle_request
    handler_result = handler(params)
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pyls_jsonrpc/dispatchers.py", line 23, in handler
    return method(**(params or {}))
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pyls/python_ls.py", line 293, in m_text_document__completion
    return self.completions(textDocument['uri'], position)
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pyls/python_ls.py", line 214, in completions
    completions = self._hook('pyls_completions', doc_uri, position=position)
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pyls/python_ls.py", line 130, in _hook
    return hook_handlers(config=self.config, workspace=workspace, document=doc, **kwargs)
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pluggy/hooks.py", line 289, in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pluggy/manager.py", line 68, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pluggy/_tracing.py", line 80, in __call__
    return outcome.get_result()
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pluggy/callers.py", line 80, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pluggy/callers.py", line 52, in from_call
    result = func()
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pluggy/_tracing.py", line 78, in <lambda>
    outcome = _Result.from_call(lambda: self.oldcall(hook, hook_impls, kwargs))
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pluggy/manager.py", line 62, in <lambda>
    firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pluggy/callers.py", line 208, in _multicall
    return outcome.get_result()
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pluggy/callers.py", line 80, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pluggy/callers.py", line 187, in _multicall
    res = hook_impl.function(*args)
  File "/home/jev/anaconda3/lib/python3.7/site-packages/pyls/plugins/jedi_completion.py", line 44, in pyls_completions
    definitions = document.jedi_script(position).completions()
  File "/home/jev/anaconda3/lib/python3.7/site-packages/jedi/api/__init__.py", line 179, in completions
    completions = completion.completions()
  File "/home/jev/anaconda3/lib/python3.7/site-packages/jedi/api/completion.py", line 103, in completions
    return sorted(completions, key=lambda x: (x.name.startswith('__'),

RuntimeError: generator raised StopIterationWARNING:spyder.widgets.github.backend:Failed to send bug report on Github. response={'code': 401, 'json': {'message': 'Bad credentials', 'documentation_url': 'https://developer.github.com/v3'}}

Versions

Spyder version: 4.0.0b4
Python version: 3.7.3
Qt version: 5.9.6
PyQt5 version: 5.9.2
Operating System: Linux 4.13.0-45-generic

Dependencies
pygments >=2.0    :  2.3.1 (OK)
qdarkstyle >=2.6.4:  2.7 (OK)
sphinx >=0.6.6    :  1.8.5 (OK)
psutil >=0.3      :  5.6.1 (OK)
pyls >=0.27.0     :  0.28.0 (OK)
nbconvert >=4.0   :  5.4.1 (OK)
pandas >=0.13.1   :  0.24.2 (OK)
numpy >=1.7       :  1.16.2 (OK)
sympy >=0.7.3     :  1.3 (OK)
cython >=0.21     :  0.29.6 (OK)
qtconsole >=4.5.2 :  4.5.2 (OK)
IPython >=4.0     :  7.4.0 (OK)
matplotlib >=2.0.0:  3.0.3 (OK)
pylint >=0.25     :  2.3.1 (OK)

crashed during autocompletion of class method.
The problem occurs when I start typing 'self.v'

This is not enough. Please give a us a self-contained and simple code example that generates the error above. Thanks!

crashed during autocompletion of class method.
The problem occurs when I start typing 'self.v'

This is not enough. Please give a us a self-contained and simple code example that generates the error above. Thanks!

Done, added to problem description.

Thanks!

Please run
conda install -c spyder-ide jedi=0.14.1

to fix this.


Implemented basic save and load classes

Added saving of player attributes (camera, uid, position). Still need to add inventory, codeProgress and patchProgress. Also added call from GameController.

Sweet, fixed minor error in the gameloop that was rendering uncollidable entities.


Stack overflow causes hanging.

Challenge Factorialize a number has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
I accidentally caused a stack overflow and now the edit page hangs, so I can't fix it.

@samdoj try this http://forum.freecodecamp.com/t/free-code-camp-infinite-loop-protection/19550


same issue with hardware acceleration

OS: Win 11
Thorium Version: 121.0.6167.204

Same issue: https://github.com/Alex313031/Thorium-Win/issues/141#event-11868493296
Maybe i installed the wrong .exe idk

Update all graphics card drivers on your computer
@lukeea12

all drivers are up to date (nvidia 551.52)

I have this issue too I hope it gets fixed

issue got fixed (for now at least) for doing nothing (i did a clean nvidia drivers install, maybe it has something to do with it.


Question: View raw HTML

Is there a way or a workaround to toggle between raw and formatted HTML for the whole editable area like you can in the CKEditor?

There is no built-in support for raw html editing. Personally I added a tool which opens a dialog and integrated codemirror for html editing. It's part of a larger commercial project but I can separate out the relevant code if you want to use it.

@bananenklops - @etal2 is correct, the editor doesn't provide an editor for the HTML it generates.
You can change the HTML within some elements you edit (such as li, p, pre, td) using the tag bar (bottom left) and the code tab in the properties box.

@etal2 thank you for your reply. I would like to view the code of your solution.

Code uploaded to https://github.com/etal2/ContentTools-Codemirror

This sounds handy! Could I see a screen shot of how this looks in action by any chance? :D

Added screenshot although it's just a text editor in a dialog box nothing fancy.


⚠ Samsung has degraded performance

In 489de2a, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2428 ms

Resolved: Samsung performance has improved in 4d54f52.


Not triggering onClick from inside Draggable component

onClick events are not being triggered from inside Draggable component
<a> elements do not trigger clicks
but <button> does.
It is impacting components like Gatsby Link, that generates an <a> component but also uses click under the hood.
Reproducible example:
https://codesandbox.io/s/peaceful-northcutt-eghv8?file=/src/App.js

I've got a similar issue but not even the button is registering an onClick event.

Same issue here, button element with an onClick event not trigger, I tried to select the button by press TAB until the button is selected and then ENTER and the onClick event get triggered.

You may note, that the onClick handler is not triggered outside of the <Draggable>, either.
Removing the trailing / from the href fixes the issue. This is not a <Draggable> bug.


Fill gradient below one of the two line graphs

I have to show a multiline chart, I think it can be easily achieved by SwiftCharts. The only tricky part for me is - I have to fill gradient below one of the two drawn lines.
Something like this:

Is the desired behavior achievable? Please suggest. Any code pointer would be of great help.

Check out his response here: https://github.com/i-schuetz/SwiftCharts/issues/202
I actually would like to implement gradients in my chart. If I figure it out I'll let you know and make a pull request.

I just made a pull request to add this feature: https://github.com/i-schuetz/SwiftCharts/pull/237


NonUniqueResource

WIP implementation of #10789.
Objective
Consider generic code connecting two systems:
// Pseudocode
fn connect<V>(a: impl System<Out = V>, b: impl System<In = V>) -> (impl System, impl System) {
  let resource = ???
  let a = a.pipe(|v| resource.write(v));
  let b = (|| resource.read()).pipe(b);
  (a, b)
}

Currently it is not trivial to implement, because as far as I understand there's no API to allocate such resource. Such resource can be allocated outside of bevy, and some mutex can be used to make access safe.
But it would be nicer if there was some API in Bevy to implement it.
What solution would you like?
Public API:
#[derive(Clone, Copy)]
struct NonUniqueResourceRef<T> { ... }

impl World {
  fn new_non_unique_resource<T>(&mut self) -> NonUniqueResourceRef<T> { ... }
}

impl NonUniqueResourceRef<T> {
  fn write_system(&self) -> impl System<In = T, Out = ()> { ... }
  fn read_system(&self) -> impl System<In = (), Out = T> { ... }
}

TODO

[x] implement more operations

[x] .read_shared_system() (return &T) (Edit: I think it is not possible)
[x] .read_opt_system() (return Option<T>, None if resource was not written)
[x] .read_opt_shared_system() (return Option<&T> if resource was not written)
[x] .remove_system() (reset to None)
[x] .read_copy_opt_system()
[x] .read_copy_system()

[ ] implement tracking of changes
[ ] test that writing the same instance of resource is not allowed concurrently
[ ] test that writing two different instances of the same resource is allowed concurrently

Help

Is idea good?
Implementation approach?
How to write tests for concurrency?
Naming?

CC @ZBemo #8857

I don't understand how this could be used, or why it's a useful addition.
Questions:

In what way is it non-unique?
What motivated your code snippet?
How else might this be used?
How does the code added here help resolve the problem added in your snippet?
In your code snippet, how would the resource defined by resource be accessed? It's accesses weren't declared in the function parameters at all.

In what way is it non-unique?

Non-unique by T. Multiple resources of T are allowed.

What motivated your code snippet?

Exploring various options for implementing issue described in #8857.
First code snippet in this PR description. It cannot use resource, because multiple pair of systems can use the same passed value type.

How else might this be used?

For example, for binding Bevy to dynamically typed language like Python. All "resources" will be the same PyObject or something like that.

How does the code added here help resolve the problem added in your snippet?

fn connect<V>(
  world: &mut World,
  a: impl System<(), V>,
  b: impl System<V, ()>
) -> (impl System<(), (), impl System<(), ()> {
  let res = world.new_non_unique_resource::<V>();
  let a = a.pipe(res.write_system());
  let b = res.read_system(b);
  (a, b)
}

In your code snippet, how would the resource defined by resource be accessed? It's accesses weren't declared in the function parameters at all.

Resource can mainly be accessed through systems exposed as functions on the NonUniqueResource.
(We can also add direct accessors from World to initialize from plugins for example, but this is not needed for initial version.)

In what way is it non-unique?

Non-unique by T. Multiple resources of T are allowed.

What motivated your code snippet?

Exploring various options for implementing issue described in #8857.
First code snippet in this PR description. It cannot use resource, because multiple pair of systems can use the same passed value type.

How else might this be used?

For example, for binding Bevy to dynamically typed language like Python. All "resources" will be the same PyObject or something like that.

How does the code added here help resolve the problem added in your snippet?

fn connect<V>(
  world: &mut World,
  a: impl System<(), V>,
  b: impl System<V, ()>
) -> (impl System<(), (), impl System<(), ()> {
  let res = world.new_non_unique_resource::<V>();
  let a = a.pipe(res.write_system());
  let b = res.read_system(b);
  (a, b)
}

In your code snippet, how would the resource defined by resource be accessed? It's accesses weren't declared in the function parameters at all.

Resource can mainly be accessed through systems exposed as functions on the NonUniqueResource.
(We can also add direct accessors from World to initialize from plugins for example, but this is not needed for initial version.)

I completely forgot why I wanted to add it in the first place. Another use case.
This utility can also be used as replacement for conditions.
Currently conditions can be configured only when SystemSet is provided, which is fixed (can only be initialized from tuples, and generally inflexible, which does not allow fully implement automatic system linking as described ).
Also I'd want to convert conditions to normal systems. Ideally remove conditions builtin from bevy_ecs core and make conditions normal systems writing to non-unique resources.
While implementing second approach described in this comment https://github.com/bevyengine/bevy/issues/8857#issuecomment-1827258730 I found current condition API does not allow this automatic system linking with conditions, because run_if requires <(), ()> system and returns SystemSet. I need a variant of run_if which gives me back the system.
So the idea is
Each new condition (or non-builtin condition) is a system which writes to a bool resource.
Each run_if implementation takes that bool condition resource as input, depends on the condition system, and executes the system only if condition is true.
Using proposed API, these custom conditions can be implemented like this:
let mut app = ...

// Set up condition
let condition_res = app.new_non_unique_resource::<bool>();
let condition_set = AnonymousSet::new();
app.add_systems(
  Update,
  (|| true).pipe(condition_res.write_system()).in_set(condition_set)
);

// Set up some systems depending on condition
for i in 0..10 {
  // My system I want to run conditionally
  let my_system = |local: Local<u32>, query: Query<&mut Something>| { }
  // Setup dynamic condition and dependency using builtin condition
  app.add_systems(
    Update,
    condition_res.read_system().and_then(my_system).after(condition_set)
  );
}

(CC #10757 for AnonymousSet::new)

First: I think should have been presented with some clearer motivation, expressed up front (either in the issue or in the pr, ideally both). I was in the process of writing this off in my head when it finally clicked.
The motivation here: is "being able express value producer and consumer graphs in the schedule, where the 'value' is a unique piece of data that the scheduler can reason about".
This does seem like an interesting (and likely useful concept), but before adding a new "foundational building block", I think we need a bit more holistic discussion about:

What are actual "real world" motivating use cases? Do we actually want this? When would users want to reach for this over the existing tools we provide?
What is the right way to present this to the user? I'm personally not yet convinced that the API as exposed is the correct interface, especially given that it requires doing operations that are (1)  outside of the add_systems / SystemConfig api and (2) possible to infer based on input/output types.

I think this is a good candidate for an RFC.
I also have some concerns about this implementation, such as storing the table row directly in the NonUniqueResourceRef, as that would mean we could never clean up NonUniqueResources. But that something to discuss after (1) and (2) are answered / we have buy-in from ECS SMEs.

I think should have been presented with some clearer motivation, expressed up front

My bad.
I'm thinking about it this way. Resource is analogous to rwlock, basic building block in many libraries working with threads. NonUniqueResource lift the restriction of having single Resource instance per T.
It is lower level API not meant to be used directly, but can be used to implement higher level primitives:

reimplement Resource using NonUniqueResource
reimplement conditions
as a building block to implement piping as described in #8857
implement resources for dynamically typed setups (e.g. implement plugins in Lua)

I think this is a good candidate for an RFC.

I'll try to write one if that's what you suggest.

I'm personally not yet convinced that the API as exposed is the correct interface

This is meant to be low level API, higher level utilities can be built upon.

Thanks :) There's a good template; please submit it to https://github.com/bevyengine/rfcs

https://github.com/bevyengine/rfcs/pull/73

One more potential application of non-unique resources: fix concurrency of EventWriter (or implement similar higher level primitives).
All EventWriter<T> must hold ResMut of something, currently it is Events<T>, the same for every resource instance.
Instead, the design could be this:

each EventWriter<T> gets own shard of events

writes only to own shard
requires exclusive access only to own shard

EventReader<T> stores all the shards

EventReader<T> requests shared access to all the shards
iterates over all the shards at read

For simplicity let's assume that Events<T> stores Vec<T>.
// current "Events"
struct EventsShard<T> {
  events: Vec<T>,
}

// New events: just stores the list of shards.
pub struct Events<T> {
  shards: Vec<NonUniqueResourceRef<EventsShard<T>>>,
}

pub struct EventWriter<T> {
  shard: NonUniqueResourceRef<EventsShard<T>>,
}

impl SystemParam for EventWriter<T> {
  type State = NonUniqueResourceRef<EventsShard<T>>;
  fn init_state(world) -> Self::State {
    let shard = world.new_non_unique_resource::<EventsShard<T>>();
    let events = world.init_resource::<Events<T>>();
    events.shards.push(shard);
    shard
  }

  fn new_archetype(state) {
    // I want exclusive access to my shard
  }
}

pub struct EventWriter<T> {
  shard: Vec<NonUniqueResourceRef<EventsShard<T>>>,
}

...

It is a bit more complicated than this (all the readers must be initialized after all the writers).
But the issue is that currently Bevy lacks basic building blocks to solve this issue (and other similar issues). This is not something can be worked around in third-party library or some undocumented API.
The problem is: shared/exclusive access to anything can be only controlled by types in current Bevy. NonUniqueResource makes it more flexible.


Error during the documentation's "compiling substrate" section i.e. the make build command.

Hi,
I am receiving an error when executing the make build command at the following Substrate Developer Hub documentation < https://substrate.dev/docs/en/tutorials/create-your-first-substrate-chain/setup#compiling-substrate >
Compiling static_assertions v1.1.0
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`)
   --> /Users/tpmccallum/.cargo/registry/src/github.com-1ecc6299db9ec823/subtle-2.4.0/src/lib.rs:513:1
    |
513 | impl<T> From<CtOption<T>> for Option<T> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type
    |
    = note: only traits defined in the current crate can be implemented for a type parameter

error: aborting due to previous error

For more information about this error, try `rustc --explain E0210`.
error: could not compile `subtle`.
warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [build] Error 101

I am on macOS Big Sur, and all other steps have succeeded to this point.
Thank you
Tim

Tim - try to start with v3 template, the documentation is being updated for this presently, the makefile will go away, so instead, try running cargo build with a completely fresh v3 git clone 🙏🏼

@tomsik68 #911 closes this, as the v3 create your first chain tutorial is now confirmed working 😁

Hi @NukeManDan,
Sorry to bother you, I am still getting the same error :(
Here are the details
# Install Homebrew if necessary https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

# Make sure Homebrew is up-to-date, install openssl and cmake
brew update
brew install openssl cmake

# Install Rust
curl https://sh.rustup.rs -sSf | sh

# Configure Rust
source ~/.cargo/env

# Configure toolchain
rustup default stable
rustup update nightly
rustup update stable
rustup target add wasm32-unknown-unknown --toolchain nightly

Get substrate node template
git clone -b v3.0.0 https://github.com/substrate-developer-hub/substrate-node-template.git

Use Rust's cargo command to build and launch
cd substrate-node-template
cargo run --release -- --dev --tmp

At present, the above results in error: build failed. See below
Error
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`)
   --> /Users/tpmccallum/.cargo/registry/src/github.com-1ecc6299db9ec823/subtle-2.4.0/src/lib.rs:513:1
    |
513 | impl<T> From<CtOption<T>> for Option<T> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type
    |
    = note: only traits defined in the current crate can be implemented for a type parameter

error: aborting due to previous error

For more information about this error, try `rustc --explain E0210`.
   Compiling block-padding v0.2.1
error: could not compile `subtle`.
warning: build failed, waiting for other jobs to finish...
error: build failed

I tried using a fresh git clone of v3 based on this help/feedback, however I am still getting the above error.
I can confirm that we are using v3.0.0 by issuing the following command.
tag=$(git describe --tags `git rev-list --tags --max-count=1`)
echo $tag

Result
v3.0.0

Bummer! I will try to confirm this behavior but don't have a Mac, and all reports of Linux builds seem to work.
Can you share your machine spec?

So just to reconfirm, I tried the installation from this URL also < https://substrate.dev/docs/en/tutorials/create-your-first-substrate-chain/setup >
Specifically, these steps ...
git clone -b v3.0.0 --depth 1 https://github.com/substrate-developer-hub/substrate-node-template
cd substrate-node-template
cargo build --release

Achieved same outcome, as shown below.
   Compiling libc v0.2.82
   Compiling proc-macro2 v1.0.24
   Compiling unicode-xid v0.2.1
   Compiling syn v1.0.58
   Compiling cfg-if v1.0.0
   Compiling cfg-if v0.1.10
   Compiling autocfg v1.0.1
   Compiling log v0.4.13
   Compiling serde_derive v1.0.119
   Compiling serde v1.0.119
   Compiling byteorder v1.4.2
   Compiling lazy_static v1.4.0
   Compiling scopeguard v1.1.0
   Compiling smallvec v1.6.1
   Compiling version_check v0.9.2
   Compiling memchr v2.3.4
   Compiling typenum v1.12.0
   Compiling ppv-lite86 v0.2.10
   Compiling ahash v0.4.7
   Compiling futures v0.1.30
   Compiling either v1.6.1
   Compiling slab v0.4.2
   Compiling getrandom v0.2.1
   Compiling futures-core v0.3.11
   Compiling pin-project-lite v0.2.4
   Compiling anyhow v1.0.38
   Compiling getrandom v0.1.16
   Compiling futures-io v0.3.11
   Compiling proc-macro-hack v0.5.19
   Compiling futures-sink v0.3.11
   Compiling arrayvec v0.5.2
   Compiling proc-macro-nested v0.1.7
   Compiling subtle v2.4.0
   Compiling pin-utils v0.1.0
   Compiling opaque-debug v0.3.0
error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`)
   --> /Users/tpmccallum/.cargo/registry/src/github.com-1ecc6299db9ec823/subtle-2.4.0/src/lib.rs:513:1
    |
513 | impl<T> From<CtOption<T>> for Option<T> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type
    |
    = note: only traits defined in the current crate can be implemented for a type parameter

error: aborting due to previous error

For more information about this error, try `rustc --explain E0210`.
error: could not compile `subtle`.
warning: build failed, waiting for other jobs to finish...
error: build failed

Oh snap @NukeManDan it is working now.
I installed the following
brew install<EMAIL_ADDRESS>protobuf

And then was able to run the following successfully
cargo build --release

The solution was thanks to this article which is actually linked to from the official substrate development documentation.
Perhaps we could add the brew install<EMAIL_ADDRESS>protobuf to the macOS doc section at v3's macOS section
Thanks so much, sorry to use up your valuable time.
Tim

Glad this worked! I see your rust toolchain is very old though, are you sure this could not have lead to the issue? rustc 1.5 and up is what we are suggesting
rustup update

I will also inquire to ask other Mac users to confirm the brew deps required 🙏🏼

Hi @NukeManDan
A thousand apologies ... I fired up a new MacBook which has rustc 1.50.0 and it worked. It seems that you are correct in saying that the toolchain etc need to be fresh in order for the compilation to work.
I could have sworn that I performed the following commands on that other system where the error occured i.e.
rustup update nightly
rustup update stable

This makes me wonder if rustup update (as a stand-alone command) performs a different action to either rustup update nightly and/or rustup update stable. I have since returned to the other system and run rustup update and now the issues is fixed on that other system.
I would need to get a brand new fresh system to test this out. For now just letting you know that everything is working as expected.

It seems this issue can be closed. Thanks Dan for the help.


change mkdir -p to npm.im/mkdirp (windows compat)

substack's excellent https://npmjs.com/mkdirp helps npm scripts work crossplatform.
This patch lets npm start work on my Windows 8 x64 machine.

Nice, thanks!


[Saas Connectors] Configure Ignore Non-200 Responses [#307]

❗ End-to-end testing will be completed with #256
Purpose
Currently, a non-200 status code from a third party Saas integration causes the entire traversal to fail.  However, there are use cases where a non-200 status code is expected, and we should just ignore this response.
For example, with Sentry, searching project users with an email query param will return a 404 if that email does not exist.
Changes
Allow setting ignore_errors: true on individual requests, with a default value of False.  If this is True, and the request fails, an empty Response will be returned instead.
This can be extended in the future to have more granular handling of different response codes.
saas_config:
  fides_key: saas_connector_example
  name: SaaS Example Config
  description: A sample schema representing a SaaS connector for Fidesops
  version: 0.0.1

...

  endpoints:
  - name: conversations
    requests:
      read:
        ignore_errors: true
        path: /3.0/conversations
        request_params:
          - name: count
            type: query
            default_value: 1000
          - name: offset
            type: query
            default_value: 0
          - name: placeholder
            type: query
            identity: email
        postprocessors:
          - strategy: unwrap
            configuration:
              data_path: conversations

Checklist

[ ] Applicable documentation updated (guides, quickstart, postman collections, tutorial, fidesdemo, database diagram)
[x] Good unit test/integration test coverage
[ ] This PR contains a DB migration. If checked, the reviewer should confirm with the author that the down_revision correctly references the previous migration before merging
[ ] The Run Unsafe PR Checks label has been applied, and checks have passed, if this PR touches any external services

Ticket
Fixes #307

Getting this up-to-date after saas config headers merge ^


Add a requirements.txt for contributors

As a contributor to this package, right now the way I install python requirements for contributing is copying each requirement from the table in the contributing guidelines. Any thoughts on dumping the pip requirements into a file called requirements.txt and instructing contributors to install that?
Requirements.txt files are a familiar way for python developers to install dependencies.
cd rosdistro
python3 -m pip install -r requirements.txt

-Ryan

@RFRIEDM-Trimble This would be a helpful addition.  If you have a chance to contribute, I would be happy to review.

Yes, I can do this. Please assign it to me.

Since python-nose apt package does not exist in Ubuntu Jammy, it's now python3-nose, are you ok with using pip for everything I can?

This can be closed.


Hey

does this still work, might be useful for me. Just seeing that you haven't worked on it for a while.

Yes, it still works.
But I think it is better to use GCP batch than to use this, because it is better managed.

thanks mate, I figured, actually I plan to use vertex pipelines now


Move links directly into a storage account to aka.ms

We had a bunch of very old links to an old version of the design guidelines that will go away soon.

API change check
API changes are not detected in this pull request.

/check-enforcer override


upgrade to latest expo-crypt to support expo sdk50 builds

java17 vs. java11

Hi @uffe,
Thank you for your pull request.
Do you have experience with whether or not expo follows SEMVER to the letter, i.e. can we expect this package not to break any builds using previous versions of expo SDKs?

I have in my 5 years experience with expo not seen them break SEMVER convention once, despite the speedy evolution.

I have in my 5 years experience with expo not seen them break SEMVER convention once, despite the speedy evolution.

@uffe Understood, thank you.

Released in v1.1.11


Pause and play

This is really nice but can we have a pause button ? And resume button  .

Hey @meetmec12! We are combining some of our repositories to enable us to triage pull requests and issues more effectively. Therefore, this specific repository will be merged into the more prominent dom-examples repository. If you would like to contribute to this example and add the functionality you mentioned, please feel free to open a new issue once this repo is moved. Thank you.


continuation of deep populate

here is continuation of PR
relink conversations:
https://github.com/balderdashy/sails-mysql/issues/292
https://github.com/balderdashy/sails-mysql/issues/291
https://github.com/particlebanana/waterline-query-docs/issues/2
https://github.com/balderdashy/waterline/issues/308
https://github.com/balderdashy/sails/issues/3429
https://github.com/balderdashy/waterline-docs/issues/98
https://github.com/balderdashy/sails-mongo/issues/108
https://github.com/balderdashy/waterline/issues/1157
https://github.com/balderdashy/sails/issues/3105
https://github.com/balderdashy/waterline/issues/484
https://github.com/balderdashy/waterline/issues/266

@mikermcneil

The issue with this approach is specifically when dealing with bidirectional "hasMany" associations that stretch across different databases, and combining that behavior with sort. In order to do that, you have to fetch all records in the junction table/collection -- the in-between model storing the records associating both sides of the bidirectional collection ("hasMany") association. It's a perfectly fine solution unless your database(s) are large. But for certain production use cases (i.e. where you have millions of records), this is not okay; it can overflow RAM and kills your Node process.

where have you seen this deep code ? has i explained you:

this code will
1 - compagyn.find(id).populate('driver')
2 - the deepCursor will collect all drivers pk and index reference to driver objects.
3 - driver.find([cursor previously collected drivers pk]).populate('taxi')
4 - cursor link results in compagny.driver previously indexed
which database doesn't suport this ?

this code will never fetch all records in the junction table/collection and crash node process...
if it does, this is the original waterline populate who do this...
sorry if you can't lock this conversation but be sure i'll don't !

i have some implementation, but i saw this in the issues of waterline: go thru it in waterline.


Made AppVeyor and TravisCI use similar code

redirect mc messages to stderr which occur even on success to stdout
Removed travis-ci branch restriction now that we are using forks ( makes it easier to use your own instance of travis-ci)

Hi @TravisEz13, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Travis Plunk). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Verified AppVeyor fails when tests fails here:  https://ci.appveyor.com/project/TravisEz13/powershell/build/6.0.0-alpha.9-37

Verified Travis-CI fails when tests fails here:
https://travis-ci.org/TravisEz13/PowerShell/builds/156109750

:shipit:


Check transitive dependencies

Example: if your project depends on ecto and ecto depends on :decimal, verify them both.
This info is in mix.lock, but we're currently discarding it

I think this already being done now, but some packages are still skipped based on the build tool(s). Still needs to be looked at carefully.

Superseded by #20 and #15, which are more specific


Error when trying to start the bot

command in question:
cd src
python -m bot YOUR_DISCORD_BOT_TOKEN -g YOUR_GUILD_ID
trying to deploy in docker

You are running Python 2.7. You should be running Python 3.10+.

Still get an error with python3.10.8

did you pip install requirements.txt?

yes i did that still doesnt work it gives me the same error and says already satisfied

You should have a folder inside the env virtual environment folder called discord after pip installing it, at env/lib/python3.10/site-packages/discord. Do you see this folder in the yasd-discord-bot directory?


Can't seem to retrieve the URL fragment

Hi,
I'm currently creating a asp.net core web application that can use Google to login and I'm using gapi to sign in. Basically, when the user is logged in, Google redirects him to an URL like: http://server.com/route#id_token=XXX&client_id=YYY.
Now I'd like to create a middleware that intercepts the path "/route" and then retrieves the "id_token", however, in don't find in the "context.Request" object a property that would contain either the fragments or even the full URL.
I also tried using "Microsoft.AspNetCore.Http.Extensions.UriHelper.GetDisplayUrl(context.Request);" but this returns me the URL without the "#".
I have the same behaviour when I directly type an URL with a "#" (so the issue is not in the way that Google redirects the user).
Finally, I don't kniow whether it's possible for Google to returns a "?" instead of a "#" or not, but even if it is, I think that it should be possible to retrieve the fragment of the URL (except if this is an intended behaviour, but in that case, I'd like to know why :-))
(I'm using ASP.NET Core 2.0)

Browsers don't send the fragment to the server.
https://en.wikipedia.org/wiki/Fragment_identifier

Clients are not supposed to send URI-fragments to servers when they retrieve a document, and without help from a local application (see below) fragments do not participate in HTTP redirections.[1]

/cc @javiercn

All right! Kind of wondering why google decided to use fragments instead of query string then but your answer satisfies me :-)
I close the issue.
Thanks

My guess is that they don't want you (on the server) to have the token.