Threaded attachments on post

add attachment table for cms-post

There shouldn't be any need for this as I don't see that it does anything different to the existing doc_document resource?
This is already a component via the doc_id super_key

Than what should to do in this
https://github.com/flavour/eden/blob/master/modules/s3db/cms.py#L515
On Tue, Feb 24, 2015 at 12:46 PM, Fran Boon<EMAIL_ADDRESS>wrote:

Closed #1071 https://github.com/flavour/eden/pull/1071.
—
Reply to this email directly or view it on GitHub
https://github.com/flavour/eden/pull/1071#event-240721215.

Comments don't yet have attachments, which might be useful

In  this task
https://github.com/flavour/eden/blob/master/modules/s3db/cms.py#L211
can't we just add a new field like this
s3_datetime ("expireson",
default = "now",
label = T("Expireson"),
),
On Tue, Feb 24, 2015 at 9:28 PM, Fran Boon<EMAIL_ADDRESS>wrote:

Comments don't yet have attachments, which might be useful
—
Reply to this email directly or view it on GitHub
https://github.com/flavour/eden/pull/1071#issuecomment-75783543.

Field name should probably be "expires_on", and the default ideally not "now" ;)

move gis_location to link table and add expires_on field on cms_post
please have a look
https://github.com/yashpalsaini/eden/commit/5bb99e98cb9937d9950e2135883989c6585fb8e9
On Thu, Feb 26, 2015 at 12:36 AM, Dominic König<EMAIL_ADDRESS>wrote:

Field name should probably be "expires_on", and the default ideally not
"now" ;)
—
Reply to this email directly or view it on GitHub
https://github.com/flavour/eden/pull/1071#issuecomment-76032237.

Your new commit looks good - but changing the model is only half of the work required for this ToDo.
There is a bunch of dependent functionality in templates (e.g. MCOP, DRMP) that would break unless you adapt it. Without adapting them, I'm afraid this change cannot easily be merged.
Also note that both templates are in active use (i.e. with existing databases!) - and without migration script they would loose all the existing location links of any cms_post entries, so such a migration script would be a nice addition to your change (although not a hard requirement, as usually a task for the server admin).

NB there may be more templates using the newsfeed, and there is also a general newsfeed list layout involving the location_id - so there is still a fair bit of work to do.

so is it ok if i make out change out in MCOP, DRMP according to new location table

move on doing some work on newsfeed in cms controllers for location_id

try to write  lazy table for pr_image table
please have a look
https://github.com/yashpalsaini/eden/commit/6f6f7c828d269ffaa5a781f4d66a1a76c72044db
but i am getting error while executing it
please let me know if i am doing it wrong
On Fri, Feb 27, 2015 at 12:57 AM, Dominic König<EMAIL_ADDRESS>wrote:

NB there may be more templates using the newsfeed, and there is also a
general newsfeed list layout involving the location_id - so there is still
a fair bit of work to do.
—
Reply to this email directly or view it on GitHub
https://github.com/flavour/eden/pull/1071#issuecomment-76249218.

make changes in controllers/cms.py and modules/s3db/cms.py for adapting
changes made in location_id(basically create Posts <> Locations Link Table).
please let me know me if i am moving in right way.
Their still some work to do in some templates
On Sun, Mar 1, 2015 at 2:26 PM, yashpal saini<EMAIL_ADDRESS>wrote:

try to write  lazy table for pr_image table
please have a look
https://github.com/yashpalsaini/eden/commit/6f6f7c828d269ffaa5a781f4d66a1a76c72044db
but i am getting error while executing it
please let me know if i am doing it wrong
On Fri, Feb 27, 2015 at 12:57 AM, Dominic König<EMAIL_ADDRESS>wrote:

NB there may be more templates using the newsfeed, and there is also a
general newsfeed list layout involving the location_id - so there is still
a fair bit of work to do.
—
Reply to this email directly or view it on GitHub
https://github.com/flavour/eden/pull/1071#issuecomment-76249218.

oops link
https://github.com/yashpalsaini/eden/commit/eec51a8e4a12ae054ffc994fdd868cd27d5e1084
On Mon, Mar 2, 2015 at 8:35 PM, yashpal saini<EMAIL_ADDRESS>wrote:

make changes in controllers/cms.py and modules/s3db/cms.py for adapting
changes made in location_id(basically create Posts <> Locations Link Table).
please let me know me if i am moving in right way.
Their still some work to do in some templates
On Sun, Mar 1, 2015 at 2:26 PM, yashpal saini<EMAIL_ADDRESS>wrote:

try to write  lazy table for pr_image table
please have a look
https://github.com/yashpalsaini/eden/commit/6f6f7c828d269ffaa5a781f4d66a1a76c72044db
but i am getting error while executing it
please let me know if i am doing it wrong
On Fri, Feb 27, 2015 at 12:57 AM, Dominic König<EMAIL_ADDRESS>
wrote:

NB there may be more templates using the newsfeed, and there is also a
general newsfeed list layout involving the location_id - so there is still
a fair bit of work to do.
—
Reply to this email directly or view it on GitHub
https://github.com/flavour/eden/pull/1071#issuecomment-76249218.

please have a look over changes so that i move on to some other templates
https://github.com/yashpalsaini/eden/commit/eec51a8e4a12ae054ffc994fdd868cd27d5e1084
On Mon, Mar 2, 2015 at 8:36 PM, yashpal saini<EMAIL_ADDRESS>wrote:

oops link
https://github.com/yashpalsaini/eden/commit/eec51a8e4a12ae054ffc994fdd868cd27d5e1084
On Mon, Mar 2, 2015 at 8:35 PM, yashpal saini<EMAIL_ADDRESS>wrote:

make changes in controllers/cms.py and modules/s3db/cms.py for adapting
changes made in location_id(basically create Posts <> Locations Link Table).
please let me know me if i am moving in right way.
Their still some work to do in some templates
On Sun, Mar 1, 2015 at 2:26 PM, yashpal saini<EMAIL_ADDRESS>wrote:

try to write  lazy table for pr_image table
please have a look
https://github.com/yashpalsaini/eden/commit/6f6f7c828d269ffaa5a781f4d66a1a76c72044db
but i am getting error while executing it
please let me know if i am doing it wrong
On Fri, Feb 27, 2015 at 12:57 AM, Dominic König <
<EMAIL_ADDRESS>wrote:

NB there may be more templates using the newsfeed, and there is also a
general newsfeed list layout involving the location_id - so there is still
a fair bit of work to do.
—
Reply to this email directly or view it on GitHub
https://github.com/flavour/eden/pull/1071#issuecomment-76249218.


fix: Trigger blur after onSelect is called

This is probably hard to test? Seems nuanced so would be great to have regression coverage but fine if it's a PITA.

Yea, it needs to be in conjunction with formState's auto save. Which we can do, but will probably do it in a follow up in order to get this fix out there... blew up bug bashing.


Backup/recovery mechanisms.

https://www.linode.com/docs/databases/postgresql/how-to-back-up-your-postgresql-database/

https://hub.docker.com/_/postgres -> Where to Store Data

resolved here https://github.com/fredrikhgrelland/terraform-nomad-postgres/pull/17


Does Clipper support multiple workers?

I have 4 GPUs on my PC and I want to use them to serve one model in a load-balanced way. Does Clipper support that?

Yes it does. You can create multiple replicas of a model and Clipper will automatically load-balance requests between them. However, Clipper does not yet support deploying models on GPUs automatically. You can instead do this manually by starting the Docker containers yourself using nvidia-docker after registering your model. You can look at the function that Clipper calls to start containers to see which labels and environment variables are normally set.

I may be wrong, but instead of starting the docker containers yourself manually, you can simply make the nvidia-docker runtime the default docker runtime
I haven't tested it, but presumably this would make every docker container started on your system have GPU access.


Slack Notify on Star - slack.yml

Description
This PR fixes #127
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

sorry i made PR without any permission so, i am  closing this PR.


write content for an Updates concept page

this page, will be a child of Concepts and. be listed after Resource options
the update plans page would be a child of this new page
we have docs on updates spread throughout other concepts pages but this would be a page dedicated to users understanding updates
some things to consider including on this page

what are updates
what are the different types of updates
what happens when you run an update
different available options when running updates
what to do when you get errors when running an update
.. etc etc

Thanks, we plan to close down this issue as part of grooming. We have pulumi up documented as part of cli docs here: https://www.pulumi.com/docs/iac/cli/commands/pulumi_up/


Image needs to be updated

When I pull your image, I am getting the following error:
docker.io/kiwenlau/hadoop-master: this image was pulled from a legacy registry.  Important: This registry version will not be supported in future versions of docker.```

I think this is gonna fix it: https://github.com/ansible/ansible-modules-core/issues/2351

Its strange.  I don't have this problem when I run:
sudo docker pull kiwenlau/hadoop-master:0.1.0

@kiwenlau What's your docker version?


Can't install in project using Laravel 5.3-RC1 - please update to support 5.3

sofa/eloquence 5.2.x-dev requires illuminate/database 5.2.* -> satisfiable by illuminate/database[5.2.x-dev, blah blah blah]
Please update to allow installation into Laravel 5.3 projects.

It's been already done and seems fine:
just did:
// composer
    "require": {
        "php": ">=5.6.4",
        "laravel/framework": "5.3.*"
    },
    "require-dev": {
      ....
        "sofa/eloquence": "~5.3"
...
}

// tinker
>>> $cl = new class extends \Illuminate\Database\Eloquent\Model { use \Sofa\Eloquence\Eloquence, Sofa\Eloquence\Mappable; }
=> Illuminate\Database\Eloquent\Model@anonymous {#664}
>>> $model = new $cl
=> Illuminate\Database\Eloquent\Model@anonymous {#676}
>>>

it needs some tweaks for the ne wJoinClause however , so leaving it open

done
https://travis-ci.org/jarektkaczyk/eloquence/builds/154930836


OptionButton does not allow middle mouse scrolling

Godot version
3.6.beta1
System information
Windows 11, GLES3
Issue description
OptionButton no longer supports mouse scrolling which is problem with longer lists.
Everything worked fine in 3.5
Steps to reproduce

Create OptionButton
Put in like 120 items
Press F5
Select OptionButton and try to scroll it

Minimal reproduction project
N/A

Looking for possible candidates:
#66711

This is likely due to the maximum height not being set automatically (the scrolling behavior is now handled by the ScrollContainer containing the popup). This is how it's done on 4.0:
https://github.com/godotengine/godot/blob/6101240231600c871f5c5473872532c68ea3268c/scene/gui/popup_menu.cpp#L120-L123
However there's no get_usable_parent_rect() equivalent on 3.x. Knowing that there are no separate windows on this version, maybe it's enough to just fetch the editor window's height and use that?

Knowing that there are no separate windows on this version, maybe it's enough to just fetch the editor window's height and use that?

Yes, that sounds sensible, can you make a PR to fix?

Fixed by #77691.


NTR proteinogenic amino acid and non-proteinogenic amino acid process…

… terms; Fixes #23268 and fixes #23269

I had to add 'amino acid metabolic process' as SubClass for 'non-proteinogenic amino acid metabolic process.' Even though 'non-proteinogenic amino acid' is_a 'amino acid', 'amino acid metabolic process' has primary input or output some 'amino-acid anion', so 'amino acid metabolic process' was not inferred by the reasoner

I had to add 'amino acid metabolic process' as SubClass for 'non-proteinogenic amino acid metabolic process.' Even though 'non-proteinogenic amino acid' is_a 'amino acid', 'amino acid metabolic process' has primary input or output some 'amino-acid anion', so 'amino acid metabolic process' was not inferred by the reasoner

That "anion" bit should be referring to a property shared by proteinogenic and non-proteinogenic amino acids, so shouldn't all of these (sub)classes have the same ionization state under physiological conditions? Or am I missing something here?

Hi @edwong57
I removed some unnecessary asserted superclasses in your branch - you can do "git pull aa-issue" to get these changes locally.
@deustp01 is right, we'd need the same ionization state for the inferences to work. As far as I know, for amino acids it's 'zwitterion' (not anion). We need to request 'proteinogenic amino acid zwitterion' and 'non-proteinogenic amino acid zwitterion'. And for now it's OK to assert 'amino acid metabolic process' on the 2 metabolic process terms you have created, this seems to result in the classification we want.
I think you can merge the PR.


Not working with JQuery 3

Not working with JQuery 3

The size() function seems to have been removed in JQuery 3.0.0, so the datetimepicker fails upon instantiation

Seems only changing the "size()" to "length" still not enough, there is no calendar popup after clicking the small calendar icon.
It seems the "widget.show()" at around line 1213 not adding "display:block" to the "widget" so I have to change it to "widget.css('display', 'block')" to workaround it.
if (component && component.hasClass('btn')) {
component.toggleClass('active');
}
//widget.show();
widget.css('display', 'block'); // at line around 1214
place();

patch seemed to work for me


some operations for Loan did not deduct balance

https://github.com/ldbc/ldbc_finbench_datagen/blob/main/src/main/java/ldbc/finbench/datagen/entities/edges/Deposit.java#L28

Thanks for reporting. Will be fixed in the next iteration!


List index out of range error

Hey, I was trying to use the library and encountered the following error when I did a python gsmarena_scraping.py
  File "gsmarena_scraping.py", line 154, in <module>
    obj.save_specification_to_file()
  File "gsmarena_scraping.py", line 120, in save_specification_to_file
    phone_brand = self.crawl_phone_brands()
  File "gsmarena_scraping.py", line 44, in crawl_phone_brands
    table = soup.find_all('table')[0]
IndexError: list index out of range

I'm new to web scraping (and python in general), any pointers would be super helpful, thanks!

Are you already solved the issues? could you guide me?

'pwd' is not recognized as an internal or external command,
operable program or batch file.
GSMArenaDataset directory already exists
Traceback (most recent call last):
File "gsmarena_scraping.py", line 134, in
obj.save_specification_to_file()
File "gsmarena_scraping.py", line 107, in save_specification_to_file
files_list = self.check_file_exists()
File "gsmarena_scraping.py", line 102, in check_file_exists
return os.listdir(self.absolute_path)
FileNotFoundError: [WinError 3] The system cannot find the path specified: '/GSMArenaDataset'
i tried the history version of the gsmarena_scraping.py still cannot run the code ,can you helme to solve the problem? thanks.

@ksskskksks I think this code was made to run on linux as I got same error in case of running on windows and for case of linux there was no such error.

Just use 'cd' instead of pwd for windows

'pwd' is not recognized as an internal or external command,
operable program or batch file.
GSMArenaDataset directory already exists
Traceback (most recent call last):
File "gsmarena_scraping.py", line 134, in
obj.save_specification_to_file()
File "gsmarena_scraping.py", line 107, in save_specification_to_file
files_list = self.check_file_exists()
File "gsmarena_scraping.py", line 102, in check_file_exists
return os.listdir(self.absolute_path)
FileNotFoundError: [WinError 3] The system cannot find the path specified: '/GSMArenaDataset'
i tried the history version of the gsmarena_scraping.py still cannot run the code ,can you helme to solve the problem? i am new in the python. thanks.

Use 'cd' instead of pwd for windows


AZ-800 updates related to VM image creation

Module: All
Lab/Demo: All
Fixes # All

Lab instructions updated and tested to allow for update to base images.


Nuxt3

Is there a way to install it on nuxt3? Make it global and not need to import all components?

@henriquemarba2 Not atm, will have a look at it.


When loading content which includes tabs in a modal from Ajax, tabs are not responsive

when clicking a link, I open a modal and load the content of a remote page in the modal.
This remote page contains some tabs. When clicking on tabs, the tabs themselves change, but not the content.
using the same code, but not loaded remotely (and not in a modal either), it works.
Using the same code, loaded before the document is ready (jQuery.isReady == false) in a modal, then the content doesn't change when i switch tabs.
In a nutshell, it appears that if you create tabs in a modal after the document is ready, you cannot switch to the content of another tab.
any idea?

that's definitely not the case - are you using data attributes or javascript?

this isn't reproducible, feel free to reopen with a non working jsfiddle - thanks!

My bad. it turns out I had a second modal on the same page. All my calls targeted classes so I hit both modals. Targeting IDs instead fixed the issue. thanks.


variable length inputs

Hi, thanks a lot for your code. Haven't had a chance to look through it in detail yet but it seems like a pretty solid implementation. A question though: in your to do, I see an item:
"Add support for variable length inputs"
Just wanted to clarify what this means since in general a pointer net could deal with arbitrary size inputs, so what inputs is it referring to which apparently have a fixed length?
Thanks!

What I mean by variable length inputs is just support for sequences of different length within a single minibatch. Right now, the code only supports minibatches containing sequences of equal length.


[8] Proof of Concept Form

Description
This is meant to represent the Site Details and Location Form (first tab/section). It integrates MUI,  React Hook Form, and Yup validation.
Fixes # (8)
Type of change
Please delete options that are not relevant.

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

Instructions

Npm i
Npm start
Test out filling out form
should see validation messaging for required sections

How Has This Been Tested?
Fill out each section of the form, miss required section, and try toggling project start/end date
Checklist:

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

so I've been stuck on the same issue for a while and hoping I can get a second pair of eyes on this!
the project end date section should be hidden when 'Does the project have an end date?' has a value of 'false'.  This works in the initial load (it is hidden), and the default value is false. When you switch to true, it appears, however, if you try to switch back to false, it remains in the UI.
I am using the react hook form watch  function and logging the output which confirms the value is switching from true to false. I followed this example.
I also found this code sandbox which demonstrates a similar example.
on line 39, I have const watchHasProjectEndDate = watch('hasProjectEndDate', false) and a conditional JSX section here:

I am stumped why the section remains, even when the 'Does the project have an end date?' section is set to false.
@JBurkinshaw - maybe you can take a look with a fresh set of eyes!

stuck on a new issue - having trouble getting the controller wrap for autocomplete to work properly. Seeing this error when I click on a country now :

the code below... it fails with the controller, but works on it's own (without being registered through the controller) in the commented out code.

been trying things out for an hour. Going to take a look at the api issue for some context change. If you get some time, maybe you can take a look @JBurkinshaw ?

I set this to ready for review since I believe it meets the requirements of the current task. It integrates Yup, React hook form, and MUI for all the questions of the first section excluding the map.
It does not include an API call, which will be added in the next section. It would be good to test the validation here for each part. The submit button console logs all the form data.


build - undefined reference to ceres

During the installation of cartographer ros using catkin I got this error:
Here the complete error.
but the installation of ceres seems to be fine.
I am using Ubuntu 16.04.1 LTS + kinetic ROS.

https://github.com/googlecartographer/cartographer_ros/issues/176 ;)

My fault... I was reading the google group and I forgot to check github's issues! :)
https://groups.google.com/forum/#!topic/google-cartographer/Kfx-Uizu_VY

#176


wasm-pack finds wasm-opt, then looks for it in the wrong place

🐛 Bug description
I'm having intermittent problems running wasm-pack on my system. The key part of the logs is below
[INFO]: ⬇  Installing wasm-bindgen...
[INFO]: found wasm-opt at "/usr/bin/wasm-opt"
Error: /usr/bin/bin/wasm-opt binary does not exist
To disable `wasm-opt`, add `wasm-opt = false` to your package metadata in your `Cargo.toml`.
Caused by: /usr/bin/bin/wasm-opt binary does not exist
To disable `wasm-opt`, add `wasm-opt = false` to your package metadata in your `Cargo.toml`.

It seems that wasm-pack finds the binary, but then tries to run it at a different location.
🤔 Expected Behavior
wasm-opt should be run correctly
👟 Steps to reproduce
Difficult to reproduce because it may depend on my system. I can't share the code I'm writing but I think it's unlikely to be related to code in any case. I'm happy to provide any information that would be useful.
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.11.0
rustc version: rustc 1.71.0-nightly (d0f204e4d 2023-04-16)

I am having the same problem, on Ubuntu 20.04.6 LTS with rustc 1.69.0 (84c898d65 2023-04-16).

For me, uninstalling the binaryen package solved the issue because wasm-pack then used a downloaded version of wasm-opt.


Feature/neuralynxio

Hello @JuliaSprenger and @carloscanova,
I'm a practicant working with @ktakagaki
He asked me to look into using neo, and I added support for Windows systems to the neuralynxio.py file by making the file separators system independent. The changes are tested both in Windows and on Linux, and should work.
Thanks!

Thanks for the contribution, it seems to work. I will merge the pull request.


Lw/swift 3

I'm starting some of the swift 3 work and updating to new api design guidelines. Let's not merge this until Swift-3 is officially out. Until then, people can point to my fork and use tag 2.0.0

I think according to the new guideline, it should be JSON over Json. I think this should be discussed.

👀
I agree with s/Json/JSON/.

BTW, would you like to have the ownership of the repository? If so, I'll transfer the repo to your account.

How can I use the swift 3 branch with the swift package manager?


772, constant retry examples using incorrect maxInterval option

Signed-off-by: LordMsz<EMAIL_ADDRESS>Description
Fixed incorrectly used "maxInterval" option in resiliency.yaml files for constant policy retries. This option is not valid for constant policy, only for exponential policy.
Issue reference
#772
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] The quickstart code compiles correctly
[x] You've tested new builds of the quickstart if you changed quickstart code
[x] You've updated the quickstart's README if necessary
[x] If you have changed the steps for a quickstart be sure that you have updated the automated validation accordingly. All of our quickstarts have annotations that allow them to be executed automatically as code. For more information see mechanical-markdown. For user guide with examples see Examples.

@LordMsz - Really appreciate you pushing this PR fix


Bug: uBlock Origin breaks certain javascript challenges

Affected page
Various challenges in "Basic javascript" lessons.
First fully-broken lesson I encountered: https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/return-early-pattern-for-functions
Previous lessons gave same error, but were passable without disabling uBlock.
Your code
Copy and paste the code from the editor that you used in between the back-ticks below:
Have uBlock Origin addon active and try correct solution for https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/return-early-pattern-for-functions
Interestingly, I tried replicating the issue by re-enabling uBlock and trying the code again, and it passed subsequent times with uBlock enabled.
// Setup
function abTest(a, b) {
  // Only change code below this line

if (a < 0 || b < 0) {
  return undefined;
}

  // Only change code above this line

  return Math.round(Math.pow(Math.sqrt(a) + Math.sqrt(b), 2));
}

abTest(2,2);

Expected behavior
Add a clear and concise description of what you expected to happen.
Correct solution passes test.
Screenshots
If applicable, add screenshots to help explain your problem. you can drag and drop, png, jpg, gif, etc. in this box.
Top banner error message that said something along the lines of " Something went wrong, a report has been filed for this issue"
System (please complete the following information):

Device: [desktop]
OS: [e.g. Windows 10]
Browser: [Firefox, uBlock Origin addon]
Version: [e.g. 22]

Additional context
Add any other context about the problem here.
Yeah, it appears uBlock is breaking something with javascript. My understanding is uBlock utilizes different injection methods to heuristically sanitize ad scripts.
However, re-enabling uBlock and running the test again with the same correct code passes the test.
Solution that has worked for me so far is just add freecodecamp.org to the allowlist.

Hi there,
Thanks for reporting this.
Yes - We use some non-traditional ways to evaluate user code (text from the editor) within the browser's context with a eval and DOM snapshots.
This is typically the behavior that trips most extensions including like ad-blockers like uBlock Origin. Theres just not too much we can do about these factors that we do not control, unfortunately.
Glad to know that adding freecodecamp.org to the allowlist resolved the issue you are facing. But I would like to clarify and give a fair warning that we do use Google Analytics for our metrics.

Thanks for the heads up about the google analytics. I can see how some people may take offense and it's not a cut-and-dry "disable adblocker" notification solution.
I personally don't care about google analytics for quality open resources like freecodecamp and plan on finishing the rest of the Javascript course material, so which would be most-helpful feedback data?

Keep strict ublock and report hard-breaks.
Just enable google analytics
doesn't really matter either way.

Hmm, I would say for now it really does not matter. Our implementation is limited in certain ways.
We put up a warning on some challenges (in the CSS section) I believe asking users to disable the extensions. We do not do a good job of explaining "why" because it's too complicated to explain how it works in a succinct way.
We have been exploring some ways to mitigate this:

One way would be bundle and deliver the code execution logic separate from the website bundles. That way using ad-blockers would probably not trip the crucial code. However, it's somewhat of a maybe and not too different than what we do right now already.
The other way would be to rewrite all of the current logic with something that is more secure, that does not have an overlap with the regular JS code like GA, etc.

That said we do not have an ETA on both approaches, because the time and efforts into those somewhat out-weigh asking users with a "Hey! Could you try disabling the extensions?" - not the most virtuous way but helps reduce their frustration.
As for your question: I think you should still leave feedback here if you so please. I am going to add this to the roadmap for doing some hard-thinking.

So with #42091 merged, do we still need to keep this issue open?

Yes - see https://github.com/freeCodeCamp/freeCodeCamp/issues/41995#issuecomment-832707706

Going to close this as stale - something we can ideally fix with Oliver's mega-rewrite of our client/curriculum logic.


STIP CLIC implementation note for issue #222

For issue #222 Write a note with an example of how m-mode software can deliver timer interrupts to s-mode by setting clicintattr.trig to positive-edge-triggered.
Signed-off-by: Dan Smathers<EMAIL_ADDRESS>

note added manually to spec during TG meeting due to merge conflicts.  closing this pull.


chore: Ci improvements

Introduces some improvements to the CI, to align it with other OMEC projects
Fixes licenses to make the project compliant with version 3.0 of the REUSE Specification

@Gmerold @thakurajayL, why not having this content (which is a single function Decode) in the util repo? instead of having a repo for a single file/function?

The single function (Decode) in this repo is only used by the nrf. So, I moved the code there instead of having to maintain this repository


Idea: Run a JSON linter over the output (as a hook)

To gutcheck devcontainer.json in particular.
I know there's a pre-commit hook to do that, so we could check what that uses.
It'd be neat if MS had one specific for devcontainer.json too, whatever the extension uses.

@tonybaloney apparently has a GHA for devcontainer checking!


feature(manager): Added the ability to stop the scylla manager agent

@fruch Please backport to manager 2.1, I don't seem to have the permission to create a label


Rebuild for Python 3.11

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

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

This requires astropy to be migrated, which needs some work.


Keycloak Onboarding Documentation

Description
This PR includes the following proposed change(s):
FLA-365
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Not tested.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] New and existing unit tests pass locally with my changes

@sdevalapurkar-bcgov tyty


Test token needs the url on 0.9.9 though it wasn't on 0.9.5

@skokorin Can you please more explicit. What url do you mean? What error/stacktrace do you experience when 'missing url' was not set?

No response for a long time.
Please reopen if you think this problem still exists.


Add query ASN Support

Hello,
I am a beginner for Golang.
I'm happy you make this project!
And I found a problem. It does not support queries for ASN.
If whois query for ASN, It should recursive query, but it didn't do it.
So I add a code to check if it is ASN.
Please check it.
if !strings.Contains(domain, "as") && !strings.Contains(domain, "AS") {
	if !strings.Contains(domain, ".") && !strings.Contains(domain, ":") {
		checkASN := strings.Replace(strings.ToUpper(domain), "AS", "", -1)
		_, err := strconv.ParseFloat(checkASN, 64)
		if err != nil {
			return query(domain, IANA_WHOIS_SERVER)
		}
	}
}

Thank You!

Hello @steveyiyo
Thanks for your PR.

Hello @steveyiyo
Thanks for your PR.


micro_speech train example broken

@tensorflow/micro
System information

Windows 10
tensorflow 1.x
Arduino Nano 33

The training portion of the micro_speech example appears to be broken.  The only modification I have made is to train for the words "up,down,on,off" instead of "yes,no".  I ran all of the code cells except for the code cell that skips the training.  The following code cell generates an error:
with tf.Session() as sess:
float_converter = tf.lite.TFLiteConverter.from_saved_model(SAVED_MODEL)
float_tflite_model = float_converter.convert()
float_tflite_model_size = open(FLOAT_MODEL_TFLITE, "wb").write(float_tflite_model)
print("Float model is %d bytes" % float_tflite_model_size)
converter = tf.lite.TFLiteConverter.from_saved_model(SAVED_MODEL)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.inference_input_type = tf.lite.constants.INT8
converter.inference_output_type = tf.lite.constants.INT8
def representative_dataset_gen():
for i in range(100):
data, _ = audio_processor.get_data(1, i*1, model_settings,
BACKGROUND_FREQUENCY,
BACKGROUND_VOLUME_RANGE,
TIME_SHIFT_MS,
'testing',
sess)
flattened_data = np.array(data.flatten(), dtype=np.float32).reshape(1, 1960)
yield [flattened_data]
converter.representative_dataset = representative_dataset_gen
tflite_model = converter.convert()
tflite_model_size = open(MODEL_TFLITE, "wb").write(tflite_model)
print("Quantized model is %d bytes" % tflite_model_size)
Error generated below:

InvalidArgumentError                      Traceback (most recent call last)
/tensorflow-1.15.2/python3.6/tensorflow_core/python/client/session.py in _do_call(self, fn, *args)
1364     try:
-> 1365       return fn(*args)
1366     except errors.OpError as e:
11 frames
InvalidArgumentError: You must feed a value for placeholder tensor 'data/background_data' with dtype float and shape [16000,1]
[[{{node data/background_data}}]]
During handling of the above exception, another exception occurred:
InvalidArgumentError                      Traceback (most recent call last)
/tensorflow-1.15.2/python3.6/tensorflow_core/python/client/session.py in _do_call(self, fn, *args)
1382                     '\nsession_config.graph_options.rewrite_options.'
1383                     'disable_meta_optimizer = True')
-> 1384       raise type(e)(node_def, op, message)
1385
1386   def _extend_graph(self):
InvalidArgumentError: You must feed a value for placeholder tensor 'data/background_data' with dtype float and shape [16000,1]
[[node data/background_data (defined at /tensorflow-1.15.2/python3.6/tensorflow_core/python/framework/ops.py:1748) ]]

@envy1400 Can you please check this similar issue and let us know whether it helped or not? Thanks!

The link to a google colab page in there seemed to work.  I don't know how it's different or if it's been updated.  I guess this is resolved

@envy1400 Yes, that colab was updated recently.
I am closing this issue as you confirmed that this was resolved. But, feel free to reopen if this persists again later. Thanks!


Pyrealsense2 RuntimeError:

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
D435i

Firmware Version
not sure (default)

Operating System & Version
Win 10

Platform
PC

IDE
Pycharm

SDK Version
2.33.

Language
python

Segment
object detection

Issue Description
<Describe your issue / question / feature request / etc..>
Hi everyone!
I have install pyrealsense2 using pip. But I try to use Pycharm to read the data captured by Intel D435i. I always get error as follows:
Traceback (most recent call last):
File "D:/PycharmProject/IntelCamera/test.py", line 12, in
pipeline.start(config)
RuntimeError:
Failed to resolve the request:
Format: Z16, width: 848, height: 480
The python codes is shown as follows;
import pyrealsense2 as rs
import numpy as np
import cv2
Configure depth and color streams
pipeline = rs.pipeline()
config = rs.config()
config.enable_stream(rs.stream.depth, 640, 480, rs.format.z16, 30)
config.enable_stream(rs.stream.color, 640, 480, rs.format.bgr8, 30)
Start streaming
pipeline.start(config)
try:
while True:
    # Wait for a coherent pair of frames: depth and color
    frames = pipeline.wait_for_frames()
    depth_frame = frames.get_depth_frame()
    color_frame = frames.get_color_frame()
    if not depth_frame or not color_frame:
        continue

    # Convert images to numpy arrays
    depth_image = np.asanyarray(depth_frame.get_data())
    color_image = np.asanyarray(color_frame.get_data())

    # Apply colormap on depth image (image must be converted to 8-bit per pixel first)
    depth_colormap = cv2.applyColorMap(cv2.convertScaleAbs(depth_image, alpha=0.03), cv2.COLORMAP_JET)

    # Stack both images horizontally
    images = np.hstack((color_image, depth_colormap))

    # Show images
    cv2.namedWindow('RealSense', cv2.WINDOW_AUTOSIZE)
    cv2.imshow('RealSense', images)

    key = cv2.waitKey(1)
    # Press esc or 'q' to close the image window
    if key & 0xFF == ord('q') or key == 27:
        cv2.destroyAllWindows()
        break

finally:
# Stop streaming
pipeline.stop()

I am new to this field. So I don't know how to solve this problem. Thanks for your assistance.

"Failed to resolve the request" may indicate that the SDK has been asked to perform an action that is does not understand.  An example of such a request may be defining a resolution or stream format that is not supported.  Your stream definition statements look correct though.
Could you try changing pipeline.start(config) to this please:
profile = pipeline.start(config)

Dear Sir or Madam, I have try your code.  But it returns the same error. What should I try? Thanks a lot.

"Failed to resolve the request" may indicate that the SDK has been asked to perform an action that is does not understand. An example of such a request may be defining a resolution or stream format that is not supported or has a spelling mistake. Your stream definition statements look correct though.
Could you try changing pipeline.start(config) to this please:
profile = pipeline.start(config)

Dear Sir or Madam, I have try your code. But it returns the same error. What should I try? Thanks a lot.

I researched the issue further.  There was a past case of a Python Pycharm user who experienced the same error with a similar script.  They were advised that the defined stream configuration may have been valid on a USB3 connection but not supported on USB2.
https://github.com/IntelRealSense/librealsense/issues/1656#issuecomment-389136061
Is your camera in a USB 3 port please, and if so, is it detected as USB 3?

I have double checked. I can confirm that the USB is 3 and the Intel Viewer displays as USB 3.2. But it returns the result. Thanks.

I wonder if you could try a simpler test script that uses config and see if the error still occurs.
import pyrealsense2 as rs
pipeline = rs.pipeline()
config = rs.config()
config.enable_stream(rs.stream.depth, 640, 480, rs.format.z16, 30)
pipeline.start(config)

Sorry for the delay.  I have tested your simple codes. It returns the same error"Failed to resolve the request"
And I have checked Intel Viewer.  The resolutions of stereo module and RGB camera are 848480, 1280720 respectively. I don't know do these resolution have certain effects?

Higher resolutions may make streaming lag on some computers, but all supported resolutions should be recognised if the camera is on a USB 3 connection.
The absolute most basic state that the test script can be reduced to is a one-line script to test whether the pyrealsense2 module can be detected:
import pyrealsense2 as rs
If you still get an error from that then it may indicate a more fundamental prob;lem with the pyrealsense2 installation than just a stream configuration issue.

There is no error when only run "import pyrealsense2 as rs". I think that I have successfully installed pyrealsense using pip. But when run the previous codes. It causes same error. Thanks.

Let's test the camera with a couple more test scripts to confirm that pyrealsense2 is streaming properly.
First there is this simple example from the PyPi pip site:

import pyrealsense2 as rs
pipe = rs.pipeline()
profile = pipe.start()
try:
for i in range(0, 100):
frames = pipe.wait_for_frames()
for f in frames:
print(f.profile)
finally:
pipe.stop()

And here is a more complex beginner script called tutorial_1_depth that renders the depth stream on-screen in the form of ASCII text-character art.
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/python-tutorial-1-depth.py

Dear Sir or Madam, I have tested the tutorial_1_depth script. But it still returns the same error‘Failed to resolve the request:
Format: Z16, width: 848, height: 480
Into:
Formats:
Z16‘
Does this means that the pyrealsense2 is streaming inproperly? Some scripts have been tested and the results/error are the same. I have no idea about that. Thnaks.

The same error has occurred for others, even when only streaming infrared:
https://github.com/IntelRealSense/librealsense/issues/3885
Have you tried updating the firmware driver of your D435i please?

Dear MartyG, I hvae checked the specification which is shown as follows:

Name: Intel RealSense D435I, serial number:<PHONE_NUMBER>34, update serial number:<PHONE_NUMBER>36, firmware version: <IP_ADDRESS>, USB type: 3.2
I think the firmware is up to date. Thanks.

Thanks.  Yes, your firmware is up to date.
Did you find anything helpful in https://github.com/IntelRealSense/librealsense/issues/3885

I think I have no such issues which are presented in the link. I have no progress on this error.  Thanks.

Since the simple example scripts did not work for you, the problem is unlikely to be caused by your custom config stream configuration.
Researching further, I came across a past case I had handled where the 'could not resolve request' error disappeared after using the Dynamic Calibrator software of the SDK to recalibrate the camera.
The Dynamic Calibrator tool can be downloaded from here:
https://downloadcenter.intel.com/download/29618/Intel-RealSense-D400-Series-Dynamic-Calibration-Tool

Dear MartyG, I have tried Dynamic Calibrator tool. But it returens 'Failed to start calibration' and consequently the python script fails again.Thanks.

"Failed to start calibration" can be a symptom of being on a USB 2 connection.  This is because the Dynamic Calibrator tool needs the camera to be on a USB 3 connection.
A number of RealSense users have experienced problems with a failed calibration on the Dynamic Calibrator though even when plugged into USB 3.
https://github.com/IntelRealSense/librealsense/issues/3990
It also currently has problems with running on Ubuntu PCs that have the '5.3' kernel version.  You listed in your information at the start of the case that you were using Windows.  Can you confirm please that you ran the Dynamic Calibrator program on Windows?

I can confirm that I ran Dynamic Calibrator on Window 10 and the USB is 3. But it fails. Thanks.

Assuming that you are using Windows 10 and not Windows 7 (as your provided information at the top of the case says Win 10):
One thing we have not considered is if the problem might be with Pycharm, and if using a different Python compiler might make a difference.

Dear MartyG， I have tried several compiler such as Pycharm, Jupiter and Visual Studio. But the same result "Failed to resolve the request" appear.
So I consider whether the SDK version will affect this? My SDK version is 2.33.1. And could you please give me a guide on installing liberealsense and pyrealsense step by step?  I am wondering if I lost one step, which causes this error.

The Librealsense version should not matter.  There does not need to be a close match between the SDK version and the Pyrealsense2 version.  The Python version that you are using (2.7 or one of the 3.x versions) has a strong influence on how the Pyrealsense2 wrapper should be installed though.
I checked this discussion and found that the Python version number that you are using has not been mentioned before.  Which Python version are you using, please?

The Python version is 3.6.5（By Anaconda）. Thanks

I have some notes from when I installed pyrealsense2 on Python 3.7 using the pip install method, so I will try to recreate what I did.  I based my method on the instructions in the link below.
https://www.liquidweb.com/kb/install-pip-windows/

Download the file get-pip.py.   This is to install the pip file installation system that is necessary to use the pip install pyrealsense2 method of setting up pyrealsense2.

Right-click on the link below and select 'Save link as' from the menu to download the file to your Windows computer:
https://bootstrap.pypa.io/get-pip.py

Move the downloaded file to the root folder of your Python installation (e.g 'Python36' if you have Python 3.6 installed).

Open a Windows command prompt window.  You can do this by typing 'command' into the text box at the bottom your Windows screen, next to the button in the corner where you shut down the PC.

Change directory in the command prompt window to the location of the Python root folder where you placed the downloaded file, using the cd command.

Input this command into the command prompt window to run the python get-pip.py file:

python get-pip.py
Running this file should install the pip installation system (not pyrealsense2).

Use the cd command to change the command prompt directory to the folder where the command prompt says that Pyrealsense2 was installed to.  On Python 3.6 it will probably be Python36 > Scripts

Input pip into the Command Prompt window to check whether pip has been installed successfully.

If it has, then input pip install pyrealsense2 to install Pyrealsense2.

Thanks for your reply.  I will try it. Thanks.

Dear MartyG, I have tired to update all the versions of python, opencv, opecv-contrib and pyrealsense.  But it still returns the same error. How can I fix this error? Sorry for bothering you during weekend. Thanks.

Next, try inserting this line directly before your pipeline start instruction:
profile = config.resolve(pipeline)
This tries to 'resolve' the configuration to find a matching device and stream profiles, testing for conflicts.
So the script would look like this:
profile = config.resolve(pipeline)
pipeline.start(config)
More information about testing the config can be found here:
https://intelrealsense.github.io/librealsense/python_docs/_generated/pyrealsense2.config.html

Thanks for your reply. However, it deosn't work. It returns the same result 'Failed to resolve the request'. I have no idea on this error. Thanks again.

Let's eliminate another possibility by checking if Advanced Mode is enabled on your camera.  Please go into the RealSense Viewer with your camera plugged in and click on the 'More' option at the top of the options side-panel.  Then click on the menu item called 'Advanced Mode'.  If Advanced Mode on your camera is turned off, a pop-up window will ask if you want to turn it on.  Say yes.
Then run your Pyrealsense2 script and see if anything has changed.
Once Advanced Mode is set to On, the camera should stay like that even when the Viewer has been closed.

It still returns the same result. Thanks.

Have you got the files realsense2.dll and pyrealsense2.pyd in the same folder as your test.py script, please?

Sorry I don't hear of the two files. And where can I check the location of the two files. Thanks.

They can both be found on Windows inside the Librealsense folder location below:
C: > Program Files (x86) > Intel RealSense SDK 2.0 > bin > x64

If you do not have this folder, it can be installed on Windows by installing the pre-built binary version of Librealsense from the 'Releases' web-page.

Dear MartyG, Thanks for your reply. When I copy the two files into the same folder of my test.py, it causes another error  ''import pyrealsense2 as rs
ImportError: DLL load failed: The specified module could not be found.''  I have tried several ways which is provided by Google. However, I fail to solve this problem. Thanks again.

Checking the Windows installation instructions, I see what my mistake may be.   If the two DLL files are obtained from the folders created with the Windows pre-built installer from the Releases page then they create DLLs that are compatible with Python 2.7, and will cause the DLL load failed error if used with Python 3.  I do apologise.

As you have already installed pyrealsense2 with pip install pyrealsense2, the pyrealsense2.pyd file that will work with Python 3 should already be on your computer now, though it is a little awkward to find.

Go to your Python36 folder.

In the directory window's search box, put in this exact search word:

pyrealsense2.pyd

Python 3 has an unusual naming system for the pyd file compared to Python 2.7, where it is just called pyrealsense2.pyd.  On Python 3 it will appear in the search with a longer name.

Right-click on the file in the search results and select Copy from the menu to copy the pyd file.

Go to the folder where your script is, right-click inside the folder and select Paste to paste a copy of the file into the folder.  Delete the pyrealsense2.pyd file that we were using earlier.

See if your Pyrealsense2 script will now run.

I am away for 7 hours from the time of writing this now as it is the end of my day.  I will pick up your next comment when I return.  Good luck!

We are experiencing the exact same problem described in this thread, however the error occurs randomly, ~ 25% of the time.

EvanZouQ , I am curious to know what calibration methods you attempted prior to encountering this message.   In our case, we have tried to use several of the calibration tools provided by Intel, on a Win 10 machine, prior to installing the camera on our Ubuntu platform.   Perhaps we can find something in common between our initial setup efforts that is causing the problem (eg: some residual in the calibration parameters / flags of the camera)?

Dear 3773nothview, I have no idea if I lost something during installation. I followed the instruction. But I doesn't work. Therefore, the hareware of my PC maybe the main reason. So I gave up and try to do offline manipulation.Thanks

Hi @EvanZouQ   Do you require further assistance with this case please, or is it okay to close it?  Thanks!

It's remarkable to me, how many issues I've encountered trying to get realsense to work.  I can often find numerous threads discussing very similar issues, but the vast majority never seem to be resolved, because many people, myself included,  simply don't have days or even weeks  to burn trying to debug the platform.  So these tickets just get closed.   I think Intel could do more to proactively look at these collective setup / configuration issues and find the root cause(s).

There are installation shortcuts for librealsense, pyrealsense and ROS.  It can admittedly take some research to find them on your own though.
For librealsense, use the backend installation method to install the SDK over an internet connection without dependency on Linux version, kernel version or patching.
For Python, including the BUILD_PYTHON_BINDINGS term in the librealsense CMake build statement so that pyrealsense2 is built along with the SDK.
For ROS, choosing the installation method that installs librealsense and ROS together (though the SDK version installed may be older than the most recent one).
https://github.com/IntelRealSense/realsense-ros#method-1-the-ros-distribution

@3773nothview issues are not closed without investigation and response. I can ensure you this issue is not common.
For this issue, @EvanZouQ - could you please add rs.log_to_console(rs.log_severity.debug) before creating the pipeline? Also, if its possible to attach output of rs-enumerate-devices from SDK package it can help us understand what is different about this platform.

Case closed due to no further comments received.

I am sorry that I forgot to reply.  This can be closed. Thanks for your effort.


why you choose 7e-4 instead of 512 ** -0.5 as the learning rate

I found in the pytorch version transformer, you use the 7e-4 as the lr. Could you tell me why do you choose this intead of 512 ** -0.5 as the learning rate. Thanks!

In original implementation, the maximum learning rate for Transformer Base is
hidden_size ** -0.5 * (warmup_steps ** -0.5).
Given hidden_size = 512 and warmup_steps = 4000, the learning rate is 0.000698, which nears 7e-4.


Program freezes when on windows 10 in split view

I love using Atom for the core features and packages it comes with off the start but recently two project files that are both over 30 mb have been experiencing freezing up when dragging the program to the side and split viewing it with a web browser. Once I split view atom with chrome, i cannot click the code and change or highlight it at all. Because of this issue I am left using Sublime Text 3 or Brackets when Atom does this. Is there any news on when this issue may be fixed, because I have a samsung evo 840 sdd, i7, and 16 gb ddr3 so hardware should not be an issue.

Hi @AnthonyMichaelc, sorry to see that you're having difficulties.  This has already been reported, so please subscribe to #9901 for updates.


Update zip dependency to fix GCC14 build error

The zip submodule is built with -Wextra -Werror. At the very least with GCC14, this results in an error raised by calloc-transposed-args due to a call to calloc where the arguments are swapped around. I've fixed this upstream, and this is pulling the update in. At the time of writing, this means jumping to latest master, involving a jump from 0.2.x to 0.3.x. The minor bump seems to be due to the addition of some new functions.
It should be noted that I'm unable to successfully run ctest since I end up with
The following tests FAILED:
         17 - TreeView (Failed)
         18 - Submodule (Subprocess aborted)
         23 - fileContextMenu (Failed)

This is potentially connected with #546, but in my case I'm just trying to build it locally on my Fedora 40 installation. Additionally, test 17 (but not 18 or 23) fails on my Fedora 38 virtual machine both before and after updating this dependency.
Merge request created anyway since there's clearly a need to either update the zip dependency, or build with different settings for GCC14.

Can you delete all zip files and adding the zip repository as submodule?
https://github.com/richgel999/miniz

Can you delete all zip files and adding the zip repository as submodule? https://github.com/richgel999/miniz

Sorry, I'm a bit confused here now. This is updating the existing zip submodule to point to latest (right now) master in https://github.com/kuba--/zip, so from what I can tell there's no files added or removed here, just the submodule reference is updated. GitHub does make it look like there's files change though, but it's just the diff between the previous and new commit used from the submodule.
Maybe there's a misunderstanding here somewhere?

Can you delete all zip files and adding the zip repository as submodule? https://github.com/richgel999/miniz

Sorry, I'm a bit confused here now. This is updating the existing zip submodule to point to latest (right now) master in https://github.com/kuba--/zip, so from what I can tell there's no files added or removed here, just the submodule reference is updated. GitHub does make it look like there's files change though, but it's just the diff between the previous and new commit used from the submodule.
Maybe there's a misunderstanding here somewhere?

Ah thanks for the hint. It was a missubderstanding on my side :)

Does this fix #766? If so can merging and releasing a minor patch release be made a priority so distro packaging has any chance of being possible?

Does this fix #766? If so can merging and releasing a minor patch release be made a priority so distro packaging has any chance of being possible?

It indeed fixes the error in #766.
I'll add that this builds and passes all tests on Arch Linux, at least if done in a chroot environment.


[AutoPR redis/resource-manager] chore: jsonfmt redis

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6225

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/5698


Taxonomy: Enable Feature Flag

Context
Enables the taxonomy feature flag (tags and categories in the editor)
Summary
You should see 'categories & tags' displayed in the document panel by default now in the editor.
If you are an admin or an editor you should be able to add new categories or tags as well as assign them to stories.
If you are an author or contributor you should be able to assign existing terms to stories.
Relevant Technical Choices

To-do

User-facing changes
The taxonomy panel is now visible:

Testing Instructions
Try adding and removing tags and categories from stories. They should pretty much work just like adding categories and tags in a post would work with Gutenberg.

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

Reviews
Does this PR have a security-related impact?
No
Does this PR change what data or activity we track or use?
No
Does this PR have a legal-related impact?
No
Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This code is covered by automated tests (unit, integration, and/or e2e) to verify it works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #8833

IMO this is still blocked by some in-progress bug fixes and enhancements that have not even been implemented yet.

IMO this is still blocked by some in-progress bug fixes and enhancements that have not even been implemented yet.

I agree, when i thought maybe we could make bug bash tomorrow I was trying to be proactive to have this prepped to handle after outstanding work was through. I'll close it to avoid confusion.


New MyInfo V3 API

Hey! Big thanks for the library!
Correct me if I'm wrong, but according to this documentation, the
V2 API implemented in this library will be deprecated
Any chance this will be updated to the new V3 API? :)
Cheers,
Sam

Hello @sbycrosz, and thanks for pointing this out! At this point in time, it might make sense to make use of singpass-myinfo-oidc-helper, maintained by our GovTech colleagues in Government Digital Services (GDS). Afaict, they support v3


Include documentation in README.md

If the complete documentation is included within the README.md file then the documentation is associated with the revision of code and can be updated as code developed and when released documentation is updated.
To see the README.md formatted see:

https://github.com/ttz642/ewelink-api

BTW: Never contributed to github before so learning my way around it.
--
Steve

Hey @ttz642
Thanks for all your work.
I'm not very fan of the idea to add all this text to the README file, we already have a nice organized docs site.
I agree on the original problem about documentation by package version.
I think i prefer to keep different versions of the docs uploaded and one master with the current state.
Also, i'm gonna make a public repo with the docs site so everyone can suggest changes and make improvements.

I'm not very fan of the idea to add all this text to the README file, we already have a nice organized docs site. Maintaining docs on multiple places will be difficult.
This is how many (if not all) packages are documented on github.

I agree on the original problem about documentation by package version.
Having the documentation separate means users using old or newer packages are not documented. Only the official release is documented,

I think i prefer to keep different versions of the docs uploaded and one master with the current state.
Where are you proposing the documentation by version?

Also, i'm gonna make a public repo with the docs site so everyone can suggest changes and make improvements.
A wiki site rather than a bulletin board?

Don't get me wrong your documentation site is nice to read and clean but I still think we should have the original in the README.md and you can sync your website with the master released branch.
Just my thoughts...
Steve

Hey @ttz642
In version 2.0, docs will be part of the repo but separated by documents.
Will close this PR.
Thanks for the help and the idea..

Martin,

In version 2.0, docs will be part of the repo but separated by documents.

If your putting documents in multiple files perhaps it would make sense to put them in the same directory as the code?
eg:
/docs/available-methods/getdevice.md   ==>>   /mixins/devices/getdevice.md
May encourage updates to docs as you don't have to look elsewhere to see them and if your looking at the code no searching.
--
Steve


Batching support

Looks like ggml supports batching
Can it be supported here too
Will it gain some performance?

Batching is already supported with the batch_size parameter (see docs):
llm(prompt, batch_size=8)

Batching is only used for evaluating prompt, so it can improve performance for large prompts but consumes more memory.

Thanks
I saw that batching multiple prompts isn't supported by ggml yeat
Only for llama.cpp

The name of batch_size here may mislead the user. At first I was very confused about this parameter. I thought the parameter of batch_size means that multiple sentences can be inferred at the same time to get the result in one inference. But actually I read the code and found that batch_size refers to the number of tokens read in one step decoding.

batch_size here is not correctly used term

I will update the README to clarify it is for evaluating tokens in a single prompt.

More clarification is helpful. Even with the updated README, I was still confused.


Getting error while running main.go file

Hi
I am trying to setup the datadog nozzle to push the metrics from firehose to Datadog
As per the configuration we only need to change UAA prperties in cloudfoundry manifest and then change the config.json file.
But when i am trying to run the main.go file with below command
go run main.go -config config/datadog-firehose-nozzle.json
I am getting below error
command-line-arguments
./main.go:49: syntax error: unexpected range, expecting {
./main.go:55: syntax error: unexpected }
Kindly help me on the same

Hey @vineetbadola,
I wasn't able to reproduce your output.  Please check your username and password.
exit status 1

All I did was:

cd $GOPATH
go get github.com/cloudfoundry-incubator/datadog-firehose-nozzle
go run main.go -config config/datadog-firehose-nozzle.json

From what you have shown, it does seem you have a syntax error in main.go which probably means the file was modified.
Here are some tips to get this to work:

Make sure your GOPATH is set correctly
Make sure you have the latest noaa library in your GOPATH.
Apart from the username and password, please add your datadog api key and make sure json is valid.

Please let us know if you continue to see this issue.
Thanks.

@vineetbadola Also check your version of go. We looked at the line on which you are getting your syntax error and it could be that the for range syntax might not be supported in earlier versions of golang.
Thanks.

This has been resolved, problem was an older version of go. @vineetbadola please mark as closed.


Remove legacy hints module, rewrite the hints to the newer module

Phew, renewed the hints. I didn't do the unit tests. I tried to, but I get some compilation problems with them and the test wont work. This should be looked into in the future. This is anyway kind of major deprecation removal.
https://platform.netbeans.org/tutorials/nbm-java-hint.html
If you just do them by the instructions, a unit test is added. Looks totally worth writing, as the manual testing is rather tedious.
Also the ReadOnly hint was broken I think. It didn't trigger on "set" method as it should. However, both ReadOnly and Internal are not in use in JME currently (Internal is but not on a method). I tested them with custom classes.

Test class
package mygame;

import com.jme3.app.SimpleApplication;
import com.jme3.material.Material;
import com.jme3.math.ColorRGBA;
import com.jme3.math.Vector3f;
import com.jme3.renderer.RenderManager;
import com.jme3.scene.Geometry;
import com.jme3.scene.Node;
import com.jme3.scene.shape.Box;
import com.jme3.system.Annotations;
import com.jme3.util.BufferAllocatorFactory;
import com.jme3.util.TempVars;
import javax.swing.JOptionPane;

/**
 * This is the Main Class of your Game. You should only do initialization here.
 * Move your Logic into AppStates or Controls
 * @author normenhansen
 */
public class Main extends SimpleApplication {

    public static void main(String[] args) {
        Main app = new Main();
        app.start();
    }

    @Override
    public void simpleInitApp() {
        Box b = new Box(1, 1, 1);
        Geometry geom = new Geometry("Box", b);

        Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
        mat.setColor("Color", ColorRGBA.Blue);
        geom.setMaterial(mat);

        rootNode.updateModelBound();
        TempVars derp = TempVars.get();

        TempVars derpy = TempVars.get();
                JOptionPane.showMessageDialog(null, null);
               // com.jme3.scene.Node.updateGeometricState();
rootNode.getLocalTranslation().set(Vector3f.ZERO);
        String derpf = BufferAllocatorFactory.PROPERTY_BUFFER_ALLOCATOR_IMPLEMENTATION;

        ReadOnlyNode ghfgh = new ReadOnlyNode();
        ghfgh.set(null);
        ghfgh.setKey(null);

        ghfgh.get();
        rootNode.attachChild(geom);
    }

    @Override
    public void simpleUpdate(float tpf) {
        //TODO: add update code
    }

    @Override
    public void simpleRender(RenderManager rm) {
        //TODO: add render code
    }

    @Annotations.ReadOnly
    protected class ReadOnlyNode extends Node {

        @Annotations.ReadOnly
        public void set(String string) {

        }

        @Annotations.Internal
        public void get() {

        }

    }
}

This fixes #37 if I understand correctly?

It looks to me that it very much does solve the issue. Finally.
On Thu, 2 Jan 2020, 00:25 grizeldi<EMAIL_ADDRESS>wrote:

This fixes #37 https://github.com/jMonkeyEngine/sdk/issues/37 if I
understand correctly?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jMonkeyEngine/sdk/pull/221?email_source=notifications&email_token=AB7VJPVAKAFC3OXEWTQY4BTQ3UJ7HA5CNFSM4KB4MONKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH5NY4Q#issuecomment-570088562,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB7VJPWB5SUEX6VBSNDM6KDQ3UJ7HANCNFSM4KB4MONA
.

There, good to go!
As I said, does what it used to. Except ReadOnlyPrimitiveHint was also fixed as the old failed to check the "set", it looked for it from the wrong place.


Direct search via URL (?q=) seems broken

Describe the bug
Searching directly via a URL (e.g. https://perplexica.example.com/?q=search term) seems broken in the latest release. It loads the page with the term as the title, but no search seems to be performed, and no output is generated.
To Reproduce
Steps to reproduce the behavior:

Go to URL of Perplexica server with ?q= appended to the query string.

Expected behavior
Results to load as normal.

I'll try to reproduce

Also https://github.com/ItzCrazyKns/Perplexica/issues/199

Bit more info based on browser console:

The page loads, and the websocket connection is established.
This JSON gets sent up: {"type":"message","message":{"chatId":"2882b84d8632c0e40a7e1083f130817728d807a4","content":"testing"},"focusMode":"webSearch","history":[["human","testing"]]} (for /?q=testing).
But nothing ever comes back.
WebSocket connection eventually dies.

Default logging configuration of the Docker images doesn't show any messages printed out, so I am unsure of what's going on on the server.

This issue has been fixed in a recent update


Upgrade to non-vulnerable request, upgrade semistandard

Upgrading the request module, in the current version it pulls in known vulnerable versions of the qs and hawk modules
See:

https://nodesecurity.io/advisories/28
https://nodesecurity.io/advisories/29
https://nodesecurity.io/advisories/77

Additionally, semistandard prior to 7.0.3 has an issue with the eslint-plugin-react modules: https://github.com/Flet/semistandard/pull/37

Changes look good. Seems like the CI failures are due to the tests or library, not your package upgrades.
Merging this and will look into test failures today.

Thank you for the quick merge @Whoaa512 ! :+1:


[FEAT] Simple MIG controller Python API

Is your feature request related to a problem? Please describe.
Control the enable MIG, create MIG instance, destroy MIG instance, and disable MIG involved in the shell script.
Describe the solution you'd like
Control the behavior of MIG in Python fashion would be in favor:

we have better programmatic control over MIG
we can further benchmark the performance over different MIG setups

A draft version of MIG Controller APIs
from migperf import MIGController

MIGController.enable()

MIGController.check_mig_status()

MIGController.create_gpu_instance(gpu=0, profiles='3g.20gb', ci=True)

MIGController.create_compute_instance(gi=1, profiles='0,0,0')

MIGController.destroy_compute_instance(gi=1)

MIGController.destroy_gpu_instance(gpu=0)

MIGController.disable()

Describe alternatives you've considered
Still control the MIG in a shell script manner, but not very elegant
Additional context
N.A.

Closed as #36 merged.


Only pass -Zincremental to nightly rustc.

-Z can only be used on nightly builds; other builds complain loudly. Since incremental builds only work on nightly anyway, we should silently ignore CARGO_INCREMENTAL on anything but nightly. This allows users to always have CARGO_INCREMENTAL set without getting unexpected errors on stable/beta builds.
Fixes #3835.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@bors: r? @alexcrichton

@bors: r+
Thanks @jonhoo!

:pushpin: Commit 357bb2d has been approved by alexcrichton

:hourglass: Testing commit 357bb2d with merge 216db85...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 216db852555fcadecb363aabe2c74e13dcd0ed9b to master...

Out of curiosity, when are new nightly versions of cargo released? Doesn't seem to actually be nightly like rustc?

Oh right now it's still somewhat manual, there's a Cargo submodule in the main rust-lang/rust repo which is what's used for Cargo nightlies. Want to send a PR to rust-lang/rust updating the Cargo submodule to pull in these changes?

@alexcrichton filed as https://github.com/rust-lang/rust/pull/41830


Overhaul Predicate simplifier: Equals

Fixes #2570

Review checklist
The author performs the actions on the checklist. The reviewer evaluates the work and checks the boxes as they are completed.

[ ] Summary. Write a summary of the changes. Explain what you did to fix the issue, and why you did it. Present the changes in a logical order. Instead of writing a summary in the pull request, you may push a clean Git history.
[ ] Documentation. Write documentation for new functions. Update documentation for functions that changed, or complete documentation where it is missing.
[ ] Tests. Write unit tests for every change. Write the unit tests that were missing before the changes. Include any examples from the reported issue as integration tests.
[ ] Clean up. The changes are already clean. Clean up anything near the changes that you noticed while working. This does not mean only spatially near the changes, but logically near: any code that interacts with the changes!

We can't easily remove the calls to the condition simplifier (from the makeEvaluateCeil functions) without making major changes to the entire simplifier. Note that the Ceil simplifier also calls the Equals simplifier, resulting in more error-prone recursion.


Use deep links in navigation

Use deep links for navigation instead of dynamically setting the start destination.
This way the navigation library will handle extracting arguments from the Intent's data property instead of us having to fetch them manually, then pass the arguments along (see https://github.com/thundernest/k-9/pull/7182/commits/b24d284f51df18a6176e183b09a8a291e972e11c#diff-8e45623ed780e40d9a9cf52f612d43890b66fe3d4382b761732f0e2fa8de2bafR24-R30).

This helps to circumvent the issue with Compose Navigation that dynamic start destinations are not working and you need to inject a start parameter to pass data in.


Generated Code not working

I've got a problem with the generated code for the internationalization.
Localizations.of<I18n>(context, I18n);
This line return an nullable object, but the generated class returns an not nullable object.
static I18n of(BuildContext context) {     return Localizations.of<I18n>(context, I18n);   }
This is code from the generated file "l10n.dart"
The second error I got in this file is the static current variable that is not initialized yet.
static I18n current;
And the last error is in the "messages_all.dart"
you return null in a not nullable context.
MessageLookupByLibrary _findExact(String localeName) {   switch (localeName) {     case 'de':       return messages_de.messages;     case 'en':       return messages_en.messages;     default:       return null;   } }
MessageLookupByLibrary _findGeneratedMessagesFor(String locale) {   var actualLocale = Intl.verifiedLocale(locale, _messagesExistFor,       onFailure: (_) => null);   if (actualLocale == null) return null;   return _findExact(actualLocale); }
This seems to be not null-sound-safety yet. It would be nice if this would be made possible because I love your plugin.
(I use the android studio plugin by the way)
Here are my infos:

Android Studio 2020.3.1 Patch 2
Flutter 2.5.0
Dart 2.14.0

Hi @DevHachi,
The null-safety is already supported.
The Flutter Intl plugin checks an environment sdk version within the pubspec.yaml file and installs the appropriate version of the intl_utils package that later generates localization files.
environment:
  sdk: ">=2.12.0 <3.0.0" # this will generate null-safety code

Thx for the fast answer but this is already set.
environment:
  sdk: '>=2.12.0 <3.0.0'

Interesting...

Could you check if you are using the latest version of the Flutter Intl plugin?
I assume that it should be the 1.15.0-2020.3 version according to your IDE version.

Could you check the version of the globally activated intl_utils package?
It should be 2.4.0 (you can check it by running flutter pub global list).

Could you trigger a re-generation of the localization code to be sure that generated code is not null-safe?
Update one of the arb files and save it, or manually run flutter pub global run intl_utils:generate command in the console from the project's root.

Thx that was the right hint.
For all who want to know what did help me was to run this command in an terminal
flutter pub global activate intl_utils 2.4.0
This can be closed.

Thx that was the right hint.
For all who want to know what did help me was to run this command in an terminal flutter pub global activate intl_utils 2.4.0
This can be closed.

Hi! In case it can be useful to someone else, I've had the same issue (Visual Studio Code plugin) and it was clearly something with the IDE. Disable or reinstall the plugin did not work nor deleting and regenerating the language files. Neither the flutter pub global activate intl_utils...
And I know it may sound stupid as it's usually something that you would try first, but the error was solved running first  flutter pub global deactivate intl_utils and after that, executing again the flutter pub global activate intl_utils. Hope it helps if you're here struggling with what more to do! 😊
Thanks guys for all the work with this!


Updates sendgrid django backend library to a more up-to-date version

The old library (https://github.com/elbuo8/sendgrid-django) is no longer compatible with v4+ of the sendgrid-python API and hasn't been updated since January.  I am maintaining this new library, am currently using it in production, and plan on maintaining it in the future.
@ksigler7

I will wait for approval before merging

@sklarsa Thanks for the update! Currently, you have this pull request set up to go from one branch to another in your personal fork. This is fine, but in order for it to be published on our docs website, you need to open a pull request that merges it into the develop branch of the sendgrid/docs fork. You do this by opening the pull request, click compare across forks, select sendgrid/docs as the base fork, with the develop branch as the base, and then the head fork your personal fork, and the head whichever branch you want to merge from. Here's what it looks like when I do it for my personal fork:

Whoops... doing that now


Proposal: allow md-sidenav to align to the bottom|top of md-sidenav-container

Bug, feature request, or proposal:
feature request
What is the expected behavior?
md-sidenav should be able to align to the bottom and top of a md-sidenav-container, in addition aligning to the start or end (right or left) of a md-sidenav-container. I imagine, to simplify implementation, it will be necessary to limit a specific instance of md-sidenav-container to either containing md-sidenav's in bottom / top alignment or start / end alignment.
What is the current behavior?
md-sidenav can only align to the start or end (right or left) of the md-sidenav-container.
What is the use-case or motivation for changing an existing behavior?
Greater flexibility in using md-sidenav to hold website content / app tools.
Is there anything else we should know?
Personally, I'm only looking for the bottom alignment functionality, but it seems like the component might as well gain top alignment functionality as well.

Sound like bottom sheet. It's on the README as a future component but isn't being tracked by any issues.

@willshowell yes, it looks like bottom-sheet would supply the bottom alignment part of this functionality.

I'm assigned to create the bottom-sheet at some point. Should we use this as the issue?

@DevVersion, I imagine that question isn't directed at me, but sure.
It's unclear from the material design spec for bottom sheet, but I'd like to put in a request for bottom sheet to support mode="'push'". Also, I imagine you've chosen to separate out md-sidenav and md-bottom-sheet because that's what the material design spec does, but, imho,
A) having separate components for bottom vs side panel positioning is unintuitive. Seems like its the same component, you're just putting it in different places. They should just be combined into one component.
B) md-sidenav isn't a great name. I've been using the component more as an md-sidepanel. i.e. its way more useful than just navigation. md-bottomsheet doesn't seem like a great name either, especially if the component also supports top positioning (and why wouldn't it). It general, it seems like component names shouldn't be tied with one, specific usage of the component (when there are more possible uses available).
This being said, it's obviously not a big deal. Both components will be super useful whatever they're called.

The question was indeed directed to you.
As Angular Material follows the Material specifications we mostly follow the names that have been specified there.
A bottom-sheet can be only opened from the bottom and I don't think that a sidenav will have that functionality at some point.
So I really think that this issue is for the bottom-sheet.

hmm are you guys sure that it´s not https://material.io/guidelines/components/bottom-navigation.html that you are looking for?

This is the tracking issue for the bottom-nav https://github.com/angular/material2/issues/408. But bottom-sheet is different to bottom-navigation.

Very nice to have - currently in need of such a feature. :(

@mwent-cray Depending on what your needs are, the Angular Split library might help you out. I found it after putting up this issue and it actually addresses my needs better than a bottom sheet.
What you can't do with it is easily build an overlay pane. If you want to push content aside though, it's great. You can disable the ability to resize and you can also animate on open/close.

@thefliik That's a nice package, quite useful but for a different use-case (which coincidentally I also need) I was hoping this issue would be more geared toward the bottom navigation @mackelito mentioned.

Have been googling around for something like this as well.
My use case is that I want the sidenav to basically slide open from the side of the screen a button was clicked.  So on landscape it could open from left or the right, and on portrait the buttons would be on the top and bottom.
Any ideas even as a workaround?  I briefly looked at the CSS but it seems like it might not be straightforward to write a couple lines of CSS to change the way it opens.

We're in the process of cleaning up our issue backlog. I'm closing this issue, because it's unlikely that we'll implement the feature as proposed. While the Material Design spec has a bottom navigation, it's not the same as a sidenav positioned at the bottom.


Specify pulse size per year

Currently, the pulse size the user has to specify as input is in terms of total Mt of emitted CO2 in the specific PAGE timestep.
It would be more intuitive, especially when using different pulse years (with different period lengths) if this was changed to per year input. (Admittedly, this does make it less explicit that the actual pulse will be bigger, scaled with the length of the period.)

I actually think your parenthetical point is why it's not done this way. What we care about is the total pulse, not the pulse per year. Ideally, the pulse would always be over a single year anyway, so enshrining a concept of "pulse per year" seems counterproductive.

Alright - I agree with that this prevents it from misinterpreting what the model is doing.
So let's close this issue and just take it as a note for future PAGE development.


Binary Search

Added the Binary Search Algorithm

binary search algo. is already there in c++ folder.


Fix/getting owned security tokens

:tada: This PR is included in version 2.0.1-beta.122 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Unschedulable volume

longhorn-support-bundle_90aacc4d-8541-4696-b13f-8cdaeb4c3031_2020-08-26T06-30-42Z.zip
When dynamically creating a PV/PVC the new storage shows as being unschedulable and can't even be manually attached to a node. Please let me know what you need other than the support bundle to look in to why this is happening.

Version: v1.0.2

Found the following error message from longhorn-manager-stq76:
2020-08-26T06:28:08.947501942Z time="2020-08-26T06:28:08Z" level=error msg="There's no available disk for replica pv-victoriametrics-storage-r-e7dcece1, size<PHONE_NUMBER>00" 2020-08-26T06:28:08.947565666Z time="2020-08-26T06:28:08Z" level=error msg="unable to schedule replica pv-victoriametrics-storage-r-e7dcece1 of volume pv-victoriametrics-storage"
With this node level soft anti-affinity default is false, and default 3 replicas, longhorn needs 3 nodes to schedule the 3 replicas.
You can either change the replica number smaller or enable the node level soft anti-affinity.
Please let us know if there is any other problem.

Activating that setting resolved the issue. Thanks!


Provide an ergonomic way to test interceptors

Is your feature request related to a problem? Please describe.
It seems that it is currently required to start a http server to test middleware that is dependent on the req.Spec or req.Peer. This in turn makes it very hard to test contextual values (because now they need to be carried from the client to the sever, over the wire). I propose that it should be easy to:

Test interceptors that have conditional logic on the .Spec member (e.g: isClient, isServer, authorization based on .Procedure)
Test interceptors that have conditional logic on the Peer member (e.g: authorization based on network addresses)
Test interceptors that have conditional logic what is based on the context (e.g: use a JWT set earlier in the middleware chain)

Ideally it would be something like this
var interceptor := NewInterceptor(...) // connect.UnaryInterceptorFunc

// setup the request
req := connect.NewRequest(&rpcv1.WhoAmIRequest{})
req.Spec = connect.Spec{} // set the spec for this test

// add something to the context
ctx :=  context.WithValue(ctx, "some jwt")

// test the middleware
resp, err := interceptor.WrapUnary(func(ctx context.Context, ar connect.AnyRequest) (connect.AnyResponse, error) {

    return connect.NewResponse(&rpcv1.WhoAmIResponse{}), nil
})(ctx, req)

Describe alternatives you've considered
It seems the only alternatives art:

to start a httptest.Server. But then how do I easily get my contextual values in the handler. And how to I set Peer values to the values I need to test in this case?
Another solution is to just use connect.NewRequest() and call it in-memory. But then  I can't specify the .Spec or .Peer
Another issue proposes to use an in-memory server, this library has it, but doesn't expose it. instead asking to do it ourselves.
Another option is to write a custom Request type that embed the AnyRequest. This new request can expose Spec and Peer. This is the most elegant solution but I still wonder if every library should have to do this. Can't we have a connecttest package that mirrors the httptest in the standard library for something like this.

None of this is ideal and it prevents people from creating well-testing interceptors that the ecosystem can benefit from.

The current recommend workaround to test interceptors in isolation is to create the AnyRequest and set the required fields. See this discussion: https://github.com/connectrpc/connect-go/discussions/708#discussioncomment-8777134
Also see this related issue: https://github.com/connectrpc/connect-go/issues/719 which is blocked on API discussions.

Right, then this can be considered a duplicate (sorry did search).


guard against nullable value

I noticed that trace sometimes causes an unexpected crash because of an unchecked property access on undefined/null values

Nice catch!


Extension not starting

Issue Type: Bug
The extention fails to start.
Extension version: 0.2.3
VS Code version: Code - OSS 1.29.1 (bc24f98b5f70467bc689abf41cc5550ca637088e, 2018-12-06T23:12:09.502Z)
OS version: Linux x64 4.19.8-2-MANJARO

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (8 x 2457)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: enabledwebgl2: enabled

Load (avg)
0, 0, 0

Memory (System)
15.36GB (12.07GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

I have included the log files
1.log
2.log
Let me know if you need any more information.

@blackHatMonkey Thanks for the logs! This looks like the same issue as https://github.com/Microsoft/vscode-pull-request-github/issues/525#issuecomment-429972858. Can you try launching VSCode with the flag --enable-proposed-api GitHub.vscode-pull-request-github?

@RMacfarlane Thanks. The extension did start properly with the --enable-proposed-api GitHub.vscode-pull-request-github but I'm wondering is this is going to be fixed in the future?

Yes, this should eventually be fixed. Right now some of the VSCode commenting APIs are still under development, but once they have been promoted to stable, the extension won't need the flag anymore. But I think it will take on the order of months to reach that point, unfortunately


Create a Steward Node redistribution plan

Use the spreadsheet created here #329 to define what Stewards will be moved between networks.

Parameters:

Set a target for for the counts of Stewards per network — e.g. 22, remainder, 9 for the three networks MainNet, TestNet, BuilderNet.
Highest rated stewards go to MainNet such that we get Geographic Diversity (first) and Hosting diversity (second).
Track notes for why or why not to move Stewards.


change add to publish?

Would it be more consistent with sbot and ssb behaviors to change the name of feed.add to feed.publish?

This confused me a bit as well.

fixed in 2.1.0, backwards compatible (add still works)
On Sun, Jan 17, 2016 at 6:19 AM, kristoffer<EMAIL_ADDRESS>wrote:

This confused me a bit as well.
—
Reply to this email directly or view it on GitHub
https://github.com/ssbc/ssb-feed/issues/1#issuecomment-172231864.

:+1: I'll update docs


Cannot enable the chat related services to send Teams messages

Hi,
I'm trying to link my personal Office 365 account (M365 Business Premium so technically a "work" account) with Home Assistant to be able to send notifications to my actual work account.
This integration creates the chat sensor, but when setting enable_updates to true under the chat_sensors section, the integration no longer loads with the following error logged:
Logger: homeassistant.setup
Source: setup.py:398
First occurred: 13:17:19 (1 occurrences)
Last logged: 13:17:19

Error during setup of component o365
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/o365/coordinator.py", line 230, in _async_update_data
    await self._async_teams_chat_update(key)
  File "/config/custom_components/o365/coordinator.py", line 280, in _async_teams_chat_update
    ATTR_MEMBERS: ",".join(memberlist),
                  ^^^^^^^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, NoneType found

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 398, in _async_setup_component
    result = await task
             ^^^^^^^^^^
  File "/config/custom_components/o365/__init__.py", line 50, in async_setup
    await _async_setup_account(hass, account, conf_type)
  File "/config/custom_components/o365/__init__.py", line 98, in _async_setup_account
    await do_setup(hass, account_conf, account, account_name, conf_type, perms)
  File "/config/custom_components/o365/setup.py", line 60, in do_setup
    await sensor_coordinator.async_config_entry_first_refresh()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 287, in async_config_entry_first_refresh
    raise ex
homeassistant.exceptions.ConfigEntryNotReady: sequence item 0: expected str instance, NoneType found

What is needed to enable the o365.send_chat_message service (https://rogerselwyn.github.io/O365-HomeAssistant/services.html#o365send_chat_message)?
Thanks

I would delete your token (which you will need to do  anyway) and re-authenticate, since you will need to give HA the authority to send messages as well.

Thanks, just tried that, no luck:
This error originated from a custom integration.

Logger: custom_components.o365.coordinator
Source: helpers/update_coordinator.py:315
integration: Office 365 (documentation, issues)
First occurred: 13:52:12 (1 occurrences)
Last logged: 13:52:12

Unexpected error fetching O365 Sensors data: sequence item 0: expected str instance, NoneType found
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/o365/coordinator.py", line 230, in _async_update_data
    await self._async_teams_chat_update(key)
  File "/config/custom_components/o365/coordinator.py", line 280, in _async_teams_chat_update
    ATTR_MEMBERS: ",".join(memberlist),
                  ^^^^^^^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, NoneType found

Ok. I’ll look into it. Unfortunately I won’t be able to look at it until next week. Just disable the update until then.

Thanks, I've just spotted something that I think a few users on the forum might be interested in (https://community.home-assistant.io/t/microsoft-teams-status/202388/1). There's an endpoint to get external user presences (I think as long as they are a member of some description in a different tenant) - /communications/getPresencesByUserId which accepts a post request like so:
{
"ids": [...str array of guids...]
}

I'll see if I can find some time to add the functionality to python-o365 so it could then be used as part of this integration which if I can figure out, I'd be happy to open up a PR 👍

Thanks, I've just spotted something that I think a few users on the forum might be interested in (https://community.home-assistant.io/t/microsoft-teams-status/202388/1). There's an endpoint to get external user presences (I think as long as they are a member of some description in a different tenant) - /communications/getPresencesByUserId which accepts a post request like so:
{
"ids": [...str array of guids...]
}

I'll see if I can find some time to add the functionality to python-o365 so it could then be used as part of this integration which if I can figure out, I'd be happy to open up a PR 👍

Just a thought, the integration already gets current user teams status. Are you trying to add the ability to get another users status?

Yes, in this case from an external directory (work disabled the ability to create app registrations and won't approve this without good business justification).

Something to think about for python-o365, how do people supply a guid when probably what they know is an email address.

Logger: homeassistant.setup
Source: setup.py:398
First occurred: 13:17:19 (1 occurrences)
Last logged: 13:17:19

Error during setup of component o365
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/o365/coordinator.py", line 230, in _async_update_data
    await self._async_teams_chat_update(key)
  File "/config/custom_components/o365/coordinator.py", line 280, in _async_teams_chat_update
    ATTR_MEMBERS: ",".join(memberlist),
                  ^^^^^^^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, NoneType found
homeassistant.exceptions.ConfigEntryNotReady: sequence item 0: expected str instance, NoneType found

This error seems to be because one of the members of the chat group has no DisplayName. I'm adding a fallback to email address

Issue should be fixed with v4.7.2

Thanks, all is working now :1st_place_medal:


feat/version 18.0.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

You did everything correctly here; the problem is that you merged a PR where all checks are failing. Please only merge PRs that are successful.
In order to fix this, you can create a new PR from your personal fork (just update the fork first) and make sure that the checks pass. Once that is merged, the other version will be published.
Don't worry about the feedstock failing because the newest version was already uploaded and isn't affected.

@BastianZim Thanks for taking a look.
Sorry, I saw the green checkmark and merged, but failed to notice that only the first check had run and the builds had not been triggered yet


Add dvc to manage ROOT data

Switching to dvc to manage test ROOT data files.

I think we should add all the files and have dvc pull <target> in the just file to only pull a limited number of files and a just download-all-test-data to get it all.


fix: http url in workspace

There is an http URL in the WORKSPACE; probably copypasta 🍝
Fixes and closes bazel-contrib/bcr-ui#101

Hmm, strange, I've never had an issue with that (and neither does CI), but if that fixes it for you, sure why not 😅


Could I parse to json/[object]?

I have excel file like this
// Sheet1
Column 1,Column 2,Column 3
1-1,1-2,1-3
2-1,2-2,2-3

I would like to parse to Json/[Object]
[
  {Column 1: 1-1, Column 2: 1-2, Column 3: 1-3},
  {Column 1: 2-1, Column 2: 2-2, Column 3: 2-3},
]

Please help me

No there's no direct way but you can do it using row.value(). It'll return array of cell values. You can then map those to object.
You can also use sheet.range().value() to do it. It'll return array[row] of array[cell].
ex.

sheet.range(fromRowPosition, 1, toRowPosition, numberOfCells ).value();

// [Array(11), Array(11), Array(11), Array(11), Array(11), Array(11), Array(11)]

Yep. And you can use something like lodash to transform the output.