How to create the Backup and Restore the verticadb?

I am trying to find the backup files inside the vertica operator CRD files, But it is not presented the backup parameter in the CRD,
How can i create the backup and restore and give the process,
I have already read the documentation of the vertica backup and i don't understood clearly?

Are you looking for the in-database backup and restore operations? You can create archives inside the db first, and then

retrieve the saved restore points with VerticaRestorePointsQuery CR, and
revive to a specific restore point with restorePoint related parameters in the VerticaDB CR

Refer to this doc for detailed steps:
https://docs.vertica.com/latest/en/containerized/custom-resource-definitions/vertica-restorepoints-query/
Note that versions 24.1.0-0 and higher do not support backup and restore with vbr as it's removed from the image.
https://docs.vertica.com/latest/en/containerized/backup-restore/

Hi Qin,
Firstly, i am created the vericadb operator, and then created the vertica
cluster with 3 subcluster using the CRD files,
I want the backup and restore process and how to create the YAML file, for
the Vertica Database?
On Tue, Aug 6, 2024 at 4:11 PM Qin Guan @.***> wrote:

Are you looking for the in-database backup and restore operations? You can
create archives inside the db first, and then

retrieve the saved restore points with VerticaRestorePointsQuery CR,
and
revive to a specific restore point with restorePoint related
parameters in the VerticaDB CR

Refer to this doc for detailed steps:
https://docs.vertica.com/latest/en/containerized/custom-resource-definitions/vertica-restorepoints-query/
Note that versions 24.1.0-0 and higher do not support backup and restore
with vbr as it's removed from the image.
https://docs.vertica.com/latest/en/containerized/backup-restore/
—
Reply to this email directly, view it on GitHub
https://github.com/vertica/vertica-kubernetes/issues/887#issuecomment-2270965455,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3YHVBPBWWHC7WLNKCQPM73ZQCR5BAVCNFSM6AAAAABL2GLDUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZQHE3DKNBVGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

What are your operator and Vertica versions? You can use YAML file to restore/revive the DB, but backup is supported only with in-database SQL.
Here is an example:
Steps 1: backup with in-database SQL statements (replace restorepoints-primary1-0 and password accordingly):
 kubectl exec -it restorepoints-primary1-0 -c server -- vsql -w password -c "CREATE ARCHIVE nightly;"  kubectl exec -it restorepoints-primary1-0 -c server -- vsql -w password -c "SAVE RESTORE POINT TO ARCHIVE nightly";
Step 2: query the restore point with VerticaRestorePointsQuery CR (set verticaDBName to your vertica DB name):
$ cat vrpq.yaml apiVersion: vertica.com/v1beta1 kind: VerticaRestorePointsQuery metadata:   name: restorepoints-query spec:   verticaDBName: restorepoints   filterOptions:     archiveName: "nightly"
You should be able to view the saved restore points
kubectl apply -f vrpq.yaml kubectl describe vrpq restorepoints-query
Step 3: revive from the saved restore point with initPolicy: Revive and restorePoint.archive: "nightly":
`
$ cat vdb-demo-revive.yaml
apiVersion: vertica.com/v1
kind: VerticaDB
metadata:
name: vdb-revive
spec:
initPolicy: Revive
restorePoint:
archive: "nightly"
index: 1
communal:
path: "s3://bucket-name/path/to/communal/storage/location"
endpoint: http://path/to/endpoint
credentialSecret: s3-creds
subclusters:

name: primary
size: 3
`

Most of the steps can be found on this page:
https://docs.vertica.com/latest/en/containerized/custom-resource-definitions/vertica-restorepoints-query/

@ saibattula93, could you let me know if your problem has been resolved?

Yes @qindotguan, Thank you for helping


Move to Python 3... Python 2 is EOL

I know their is an open pr for this migration
Instructions for installation and setup are only for Python 2.

Its supported 2 and 3 for a long time now, all the docker containers are python 3


Replicate winrt::make<> changes in ScratchIslandApp SampleAppLib

Summary of the Pull Request
Sample scratch app would not compile. It does now using https://github.com/microsoft/terminal/pull/10335 but applied to App.base.h in the scratch app.

References
https://github.com/microsoft/terminal/pull/10335

PR Checklist

[ ] Closes #10493
[ ] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
[ ] Schema updated.
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed
Compiled successfully

THANKS! Ugh, I hate missing stuff like this. :smile:


[BUG]After setting FVM_HOME, the GUI download path remains unchanged

Did I do something wrong?

@qcdys The GUI does not respect the env vars. Not sure why. However, it should respect the cache-path
https://github.com/leoafarias/fvm#set-cache-path
Please let me know if that works.

@qcdys The GUI does not respect the env vars. Not sure why. However, it should respect the cache-path
https://github.com/leoafarias/fvm#set-cache-path
Please let me know if that works.

I tried set Cache-Path, but it didn't work. I wanted the GUI to customize the download path, which is important for OCD. Thank you, brother.

@qcdys ok, I will go ahead and add this to the backlog for the next version of the GUI.

@qcdys Was just going to work on this but I think I know what is the problem. You have to close the app and open it again after changing cache-path through the CLI.


Arduino: Extend button configuration block to work with the built-in pullup resistor

The current implementation of the button sensor only works correctly if the circuit looks like here: https://www.arduino.cc/en/tutorial/button
Describe the solution you'd like
As it is much easier to build the circuit without an external resistor it would be nice to configure the button in a way that the built-in pullup resistors are accessed by setting the pinMode() as INPUT_PULLUP. For this we should add a dropdown in the configuration block, that the user can choose either the VCC connection (with external resistor) or the 5V connection(with the built-in) pullup resistor.
To test this new feature please check this little program with different configuration and corresponding circuits of course. The outcome should always be true, if the button is pressed and false, if the button is not pressed.

Please also check other plugins, especially those who uses the button configuration block

solved


Error 422 without details

I'm trying to implement a Tavily search tool in my LangGraph graph, but it gives me an 422 error. So I tried a very basic stand alone version, but I still get this error. Unfortunately I don't get any specific information and looking at the API docs I have the feeling nothing is wrong with the input data. Btw I also get this error when adding the api_key parameter, which is required together with the query.
import { TavilySearchResults } from "@langchain/community/tools/tavily_search";

//Load environment variables
import * as dotenv from "dotenv";
dotenv.config();

const tool = new TavilySearchResults();

async function main() {
    const docs = await tool.invoke({
        query: "what is the weather in wailea?" });
}

main();

@guidorietbroek please reach out to<EMAIL_ADDRESS>with this. Thanks!


Sort function doesn't work on chapter view

Summary of the Bug
The table sorting buttons at the top of the members table on the chapter view page don't appear to work.
Steps to Reproduce the Behaviour
Go to https://agagd.usgo.org/chapter/NOVA/?sort=renewal_due.
Or:
Go to https://agagd.usgo.org/chapter/NOVA and click the triangle next to "Renewal due".
The Expected Behaviour
The table should be sorted (in ascending or descending order, it doesn't really matter) by the renewal_due field.
Desktop

OS: Windows 10
Browser: Tested on Firefox 81.0.1 and Chrome 85.0.4183.121

Hi, Please assign me this issue!

@annabunches
Could you please assign this to me ?

To reproduce the behaviour, I tried to open the links. But the links dont open.

@kkc-al I'm not sure why that would be. Just checked again, and they open fine for me in both Firefox and Chrome. (on Windows 10)

@somstrom I have removed you from being assigned on this issue as there has not been any progress or note of progress in the last month. Let us know if you would like to take this up again or are having any issues getting started.


Catch exceptions when attempting to load CLI entry points

[x] Closes #10379
[x] Tests added / passed
[x] Passes pre-commit run --all-files

the readthedocs failure appears unreleated to this PR (I'll open another issue there- looks related a docstring update in scipy that uses a scipy-made doi sphinx directive) so if you have nothing else to add I think this is good to go!

I intend to merge this on Monday if there are no further comments.

Thanks for merging @jrbourbeau


Restore filteredArray functionality

Adds array filtering that was removed in angularjs-portal #612.
The gratuitous logging is for testing purposes and should be removed before this goes to prod.

Coverage decreased (-0.3%) to 38.71% when pulling b06159faa3f10a62794a3434cb3a98c286d07e90 on thevoiceofzeke:filteredArray into d92f8457abc5fb884ddea25672eeaa5ecd316aee on UW-Madison-DoIT:master.


[FEATURE] Optionally accept manually-generated $RUNNER_TOKEN instead of $GITHUB_PAT

Is your feature request related to a problem? Please describe.
My GitHub account owns many repositories, and it would be safer to provide a token scoped to a single repo or organization, rather than a PAT with admin access to every repository/org. I'm referring to the token that is provided when going through these steps https://docs.github.com/en/actions/hosting-your-own-runners/adding-self-hosted-runners.
Describe the solution you'd like
Take advantage of the changes implemented in https://github.com/redhat-actions/openshift-actions-runners/pull/10, which may include resolving #9. Additionally, this would include a pre-install (and maybe pre-upgrade) hook in the chart to run registration.sh as a Job before creating the Deployment.
Describe alternatives you've considered
Currently, I could supply a bogus $GITHUB_PAT along with a valid $RUNNER_TOKEN, and everything would work until the Pod is recreated, at which point the runner would fail to authenticate because the RUNNER_TOKEN would have expired and the local creds file would be deleted.
Additional context
I should have time to make a PR for this in the next week or two, unless someone pipes up that this is actually impossible, or that it would not be merged for some reason.

@willhaines with your PR redhat-actions/openshift-actions-runners#10 merged into the runner image repository some time ago, are you interested in making this change in the chart, too?

@tetchel I would very much still like to see this implemented, but due to a shift in team priorities, likely will not have time to work on it until September. In planning this work, I think it will require some significant changes to the chart, but maybe you an see a simpler path?

Adding support for PV(s) in general, likely including logic to create one/them or accept a reference to existing PV(s).
Scaling up to multiple runners with persistent storage may require the use of a StatefulSet instead of a Deployment
Launch a Job using chart hooks to auth with RUNNER_TOKEN and initialize PV(s) before creating/updating Deployment or StatefulSet

1 & 2 should be implemented anyway. Then we can evaluate how to add 3.

I am very interested in this feature too :D


Restore missing dependencies

@MrMeison,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Replace the event bus with a global storage and a class.

Problem with the Event Bus:
We can see race conditions if one portal is removed (and calls clear()) and another portal is created (and calls sendUpdate()). If the latter component is updating before the former, clear() will remove the content of sendUpdate().
The solution is to queue these events, which the Event bus does not allow.

done


Filter annotations with negative causality?

If we make an annotation that GP1 enables MF1 and MF1 is 'causally upstream of or within, negative effect' BP1, the resulting process annotation will be  'acts upstream of or within, negative effect'. If we load this into a MOD database and it is represented in a gaf or exported in a gaf, the qualifier is not reported and the negative effect is lost. Therefore the annotation is misleading. Should we filter these annotations out of the GPAD file? In the past curators may have annotated these to negative regulation of x, but that was not accurate.
Model: http://noctua.geneontology.org/editor/graph/gomodel:5c4605cc00001638

Annotation: Bmp4 Mmus
acts_upstream_of_or_within_negative_effect
limb joint morphogenesis
PMID:1
mutant phenotype evidence used in manual assertion

20190304
MGI

noctua-model-id=gomodel:5c4605cc00001638|contributor=http://orcid.org/0000-0001-7476-6306|model-state=development

Sounds like a good idea to filter these out.

Or put the onus on the consuming groups? Ideally we would like to have the richer representation that is in the GPAD file and allow users to slice and dice the annotation sets they retrieve. So will it be the responsibility of the GOC to provide all of the data available and guide users with respect to its use, or do we want to provide different snapshots of the data as GOC products?  @kltm, what do you think?

@ukemi I think this is essentially saying that there would be different outputs from the GO that adhered to different GO Rule sets, which I think is probably a weird place to go. If the information is useful to somebody it should probably be included; if the information is useful to nobody it should be removed.

@kltm I talked about this with @hdrabkin this morning as well. We agreed with what you are saying. So if we do not have the ability to display the annotation qualifiers at this point and we think that the annotations would be misleading displayed as they appear in gafs, it would be up to us to filter them appropriately. We might want to touch base about this on a mangers' call. One consequence of this might be confusing Users as to why the annotation sets they are getting from resource X aren't exactly the same as the ones they are getting from the GOC.

I would argue against taking this (or any other correct and useful) information out of the GPAD output.  Why waste the curator's efforts that created these annotations when there is a clear, tab-delimited even.. way of expressing it ?
When GPADs are converted to GAF, there ought to be a rule that would prevent misleading information resulting from the inexpressiveness of the GAF format.  Such rules ought to be consolidated in a single library (e.g. ontobio) that can help keep things stable across resources.
But in the end, the real solution is very straightforward for once.  GAF must die.  It is wasting our time.

I added this to our proposal to create a simpler GAF (or whatever the format - a file that would be more straightforward to interpret for users)
https://github.com/geneontology/go-annotation/issues/1932
I suggest we close this ticket here.


Service Request - bodySite

How do we send the Anatomical Location Site QDM attribute on the UDS+ Service Request resource?
I don't see any element on the resource that matches that attribute, and it's also not mentioned on the QDM to FHIR crosswalk (https://fhir.org/guides/hrsa/uds-plus/dataelements.html).
Given that the information is irrelevant to the UDS outcomes calculation, I would recommend removing Body Site as Must Send.

Agree on removing the body Site and currently the Anatomical Location Site QDM attribute  is not used in Measures per the QI Core IG. So it looks like it is safe to remove.


bug/#1074 - cleaner memory management (from static to instance variables)

New class:

MapViewRepository: repository for a MapView, designed for "singleton-like" objects that need a clean detach

Impacted classes:

InfoWindow: explicitly added in the constructor the InfoWindow to the MapViewRepository
MapView: added a MapViewRepository member
Marker: added a MapViewRepository member; replaced static members mDefaultInfoWindow and mDefaultIcon with MapViewRepository.getDefaultMarkerInfoWindow and MapViewRepository.getDefaultMarkerIcon; deprecated static method cleanDefaults; gently refactored
Polygon: replaced static member mDefaultInfoWindow with MapViewRepository.getDefaultPolygonInfoWindow; gently refactored
Polyline: replaced static member mDefaultInfoWindow with MapViewRepository.getDefaultPolylineInfoWindow; gently refactored

@MKergall ?


"Dots" are not rendered in macOS Safari

Attach (recommended) or Link to PDF file here:
No_dots_in_built_in_viewer_MWE.pdf
Configuration:

Web browser and its version: Safari Version 13.0.3 (146<IP_ADDRESS>.1)
Operating system and its version: macOS Mojave Version 10.14.6 (18G1012)
PDF.js version: 2.4.163 (the one on https://mozilla.github.io/pdf.js/web/viewer.html as of today)
Is a browser extension: No

Steps to reproduce the problem:

Open Safari (Chrome and Firefox seem to work OK)
Go to https://mozilla.github.io/pdf.js/web/viewer.html
Open the attached PDF No_dots_in_built_in_viewer_MWE.pdf

What is the expected behavior? (add screenshot)
Dots are rendered (this is a Chrome screenshot)

What went wrong? (add screenshot)
Dots are not rendered in Safari (this is a Safari screenshot)

Web browser and its version: Safari Version 13.0.3 (146<IP_ADDRESS>.1)

This would suggest a <canvas>-related bug in browser itself, rather than a bug in the PDF.js library.

Is it really meaningful to keep this open, when everything points to a platform/browser bug (rather than a PDF.js one), since this doesn't seem like something that can be fixed here?


Not working validation for Checkbox Field

Current behavior
Since the Checkbox field uses mapEvent map for the props, only the onChange event is handled.
For some reason the blur event is not handled at all in the other browsers but Chrome. Chrome triggers  BLUR action on a form field in redux-form. The other browsers not.
Expected behavior
Triggering @@redux-form/BLUR action onBlur so the validation is working.
My solution
const mapping = customMap((mapProps, { input: { value, onChange, onBlur } }) => ({
    ...mapProps,
    checked: Boolean(value),
    onChange: e => {
        onChange(e.target.checked);
        onBlur(e.target.checked);
    },
}));

const CheckboxField = createComponent(Checkbox, mapping);

Here is my workaround but I don't know if it is correct. Any ideas?
Btw, the other thing is you have to use checked param since it is the thing triggering the change event.

Yeah, it's seems to be a bug, but It rather bug of antd checkbox. For me it looks like workaround so I would suggest you just use code you provided in your project without merging it to this lib. For now I'm not working with antd so I don't have enough time to investigate with this issue. But if you can check if onBlur works fine with regular antd fields then we can transfer this issue to rc-checkbox

Well, in the end the same problem is kinda in CheckboxGroupField too, it fails every time onBlur handler is called. The solution for the both CheckboxField and ChechboxField is to call the handler without inserting the event:
return {
        ...mapProps,
        onChange,
        onFocus: () => {
            onFocus();
        },
        onBlur: () => {
            onBlur();
        },
        value,
    };

Could help those who are having the same problems.


Could we support hash tag format (like #L54) in file search (Ctrl+P)?

It's common to see a hashtag format to navigate to a specific line of a file. Please consider supporting it for the Ctrl+P picker.

Original request:
We can share a file location with "Copy as GitHub link", so I guess pasting the link to the file search dialog (Ctrl+P) should be intuitive.
Particularly, the file search can navigate to the designated line of the file, but it does not support a format like #L54.

I would think that processing the entire link would be the responsibility of whichever extension provides the link (we don't want to overload the CTRL+P picker). However, I could make this a feature request to allow #L<line-num> to be supported by the picker.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

I would think that processing the entire link would be the responsibility of whichever extension provides the link (we don't want to overload the CTRL+P picker). However, I could make this a feature request to allow #L<line-num> to be supported by the picker.

Or could we make it more general: let the path match from the end to the start, so for example a path copied from some output like this ..._env/project_name/some_file.c could make a match.

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


⚠ Avatar API Endpoint has degraded performance

In 202d4b7, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 1535 ms

Resolved: Avatar API Endpoint performance has improved in 8fbbf01 after 13 minutes.


Colour modes mess histogram

Here is my .json, for testing purposes: hastebin.com.
Using colourmode none makes some of the histogram entries to vanish:
colourmode sector
Everything shows up with the configured colours.

colourmode project
Everything shows up, I have no configured colours for projects.

colourmode none
Here, you can see that some of the entries don't appear. 😢

So the entries aren't displayed in the chart but they're not being deleted, right?

That's right.

It seems the issue is already fixed here in the repo. The fix will be included in the next release


e2e testing

Maybe look into integrating cypress? https://www.cypress.io/

I could see how this would work in a peer project, e.g. the example site, and running some automated tests on the peer project before incrementing the version of govuk-react that is used.
But I'm unclear on the advantages of using it for a component library.
I did however find this https://medium.com/@mtiller/testing-react-components-using-storybook-and-cypress-1689a27f55aa

also see #65


added 'retro' soundtrack in the music folder

AdityaMK from Reddit
attempting to add my music to the repository (I'm new to GitHub but I think I did it right)
the only change I made was to add the mp3 file to the music folder.

you did it!


Fix Cutout memory leak

Description
Fixes #2814
Type of change

[x] Bug fix
[ ] New Tutorial
[ ] Updated or additional documentation
[ ] Additional Testing

Checklist:

[x] I've properly formatted my code according to the guidelines

[x] By running Black + Flake8
[x] By running pre-commit hooks

[x] This PR addresses an already submitted issue for TensorFlow Addons
[x] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] This PR contains modifications to C++ custom-ops

How Has This Been Tested?
By running the code from the issue reproducing the memory leak, here are the outputs now:
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.32 GB
1.33 GB

@fsx950223
You are owner of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.


Cannot reproduce kNN and linear evaluation result of ViT-small trained without multi-crop.

Hi, thanks for the excellent work! I have been running several experiments to reproduce the ViT-small results without multi-crop, i.e. kNN results claimed in Table 9 (59.9), and linear evaluation results claimed in Table 8 (67.8). I believe my settings as follows are identical to your instructions in paper and in this repo:
python -m torch.distributed.launch --nproc_per_node=8 main_dino.py --arch vit_small --data_path /my/path --output_dir /my/output --global_crops_scale 0.14 1.0

It was trained on a two 8-GPU machine. And I changed global_crops_scale as suggested in the code. However my kNN result is 58.28, my linear evaluation results is 64.16 (the log is provided here).
So maybe you guys can provide some suggestions of reproducing your results without multi-crop? (the results with multi-crop are solid) Or is there something missing in my settings?

Hi @YiF-Zhang
Thanks for your interest in this work. Let me share my config for the run without multi-crop:
arch: vit_small
batch_size_per_gpu: 64
clip_grad: 0
epochs: 300
freeze_last_layer: 1
global_crops_scale: [0.14, 1.0]
local_crops_number: 0
lr: 0.0005
min_lr: 1e-05
momentum_teacher: 0.996
use_bn_in_head: False
norm_last_layer: False
optimizer: adamw
out_dim: 65536
patch_size: 16
teacher_temp: 0.07
use_fp16: True
warmup_epochs: 10
warmup_teacher_temp: 0.04
warmup_teacher_temp_epochs: 30
weight_decay: 0.04
weight_decay_end: 0.4
world_size: 16
I think the main argument you're missing is --norm_last_layer false
Hope that helps

I can also share the checkpoint and logs if that helps.

Hi @mathildecaron31 thanks a lot for the reply! Indeed setting norm_last_layer to False improves performance. I found tuning teacher temperature also improves performance (without multi-crop). Setting
... --teacher_temp 0.07 --warmup_teacher_temp_epochs 30

yield 60.57 on kNN evaluation. Setting
... --teacher_temp 0.07 --warmup_teacher_temp_epochs 30 --norm_last_layer False

yield 61.28 on kNN evaluation.


Deploying on Heroku

Not an expert on Docker.
I managed to deploy graphql-faker to Heroku
heroku container:login
docker tag <IMAGEID> registry.heroku.com/ <APPNAME>/web
docker push registry.heroku.com/ <APPNAME>/web
heroku container:release web --app <APPNAME>
heroku ps:scale web=1

where APPNAME is the heroku app name and IMAGEID is the local graphql-faker Docker image you created with docker-compose up -d.
docker-compose.yml
version: '3.2'

services:
  graphql-faker:
    image: apisguru/graphql-faker
    ports:
      - '9002:9002'
    container_name: graphql_faker
    command: ./my-sdl-schema.sdl
    volumes:
      - ./src/apollo/remote:/workdir

However, my issue is deploying the sdl schema along with the image. Bc it's currently referenced locally for development but the image deploy doesn't include the schema and hence I get the default schema on Heroku.

Ok, I figured it out. Here's what you do.
Create a Dockerfile
FROM mhart/alpine-node:12

WORKDIR /usr/src/app

COPY ./src/apollo/remote/my-schema.sdl /usr/src/app

RUN npm install -g graphql-faker

EXPOSE 9002

CMD graphql-faker ./my-schema.sdl

Login to heroku on the command line
heroku container:login

We are now going to run the image locally and push it to heroku.
docker build .
docker run -d -p 9002:9002 <IMAGEID>
docker tag <IMAGEID> registry.heroku.com/<HEROKU PROJECT NAME>/web
docker push registry.heroku.com/<HEROKU PROJECT NAME>/web
heroku ps:scale web=1

And you're live at
https://.herokuapp.com/graphql
@IvanGoncharov recommend adding this to the docs.

@mschipperheyn Thanks for investigation, we should definitely include this into README 👍
Do you want to work on PR to add it?

FROM mhart/alpine-node:12

Can you use our official docker image as a base:
https://hub.docker.com/r/apisguru/graphql-faker
That way you can couple lines in you Dockerfile and have a faster build.

@IvanGoncharov Sure

https://github.com/APIs-guru/graphql-faker/pull/95

Hello All,  I tried the "docker" route and did not have much luck.  Mainly because I'm not up-to-speed with docker.
What did work for me was simply deploying an NPM project to my Heroku application and Heroku detects that it's an NPM app, performs the install of graphql-faker and runs the graphql-faker script.
Seriously, it's that easy.
Here are the steps:

create a directory to store your graphql-faker-deployment
create package.json file with these contents.

{
    "name": "graphql-faker-deploy",
    "version": "0.0.1",
    "description": "",
    "dependencies": {
        "graphql-faker": "^2.0.0-rc.23"
     },
    "devDependencies": {},
    "scripts": {
        "start": "graphql-faker -p ${PORT:=9002} --forward-headers Authorization --extend {URL_TO_YOUR_GRAPHQ_ ENDPOINT} ./temp.faker.graphql"
     },
    "author": "",
    "license": "ISC"
}

--- NOW just follow the standard Heroku deployment flow ---
3) Get init the directory
4) Set remote named Heroku to git URI of your Heroku app
5) Git push to Heroku remote


Removing providers

Removing providers and moving into definitions

@snkutlu recreated the PR because travis missed the old one. Lets see if this one gets triggered.

Well, travis has started but seems that it cannot reach the supermarket on app-supermarket-prod-i-c663c400.opscode.us :(
Think that @snkutlu will need to do all the testing...

@sbotman. I experienced the same and did some steps manually. Now kitchen can find all necessary cookbooks, testing continues..
Will report hopefully soon..

All tests passed. Can be merged..


README link is broken

The "A complete example using the GitHub GraphQL API is available" link in the README is broken.

Thanks for reporting this! PR to fix it: https://github.com/graphql-rust/graphql-client/pull/225


GrabPointer and PokePointer should have a unified FingerCursor

Describe the problem
When the hand visualization is turned off, the user relies on seeing the far and near cursor to understand if the hand tracking system is successfully tracking their hand, and to understand where the point of interaction will occur.  Currently, there are situations where hand tracking is successful, but no cursor is visible on the hand. For example, if the hand becomes close enough to a grab-interactable object, the far hand ray pointer is disabled because the near GrabPointer becomes active. This pointer does not have a cursor, and so no visual appears on the hand.  If the hand becomes close enough to a poke-interactable object, then the FingerCursor associated with the PokePointer shows up.
This problem has been directly observed to impact our customers as they try to use the app. Customers don't trust that the hand-tracking system is still tracking their hand. In addition, they have difficulty grabbing the edge of grab-interactable windows from directions where the PokePointer is not active.
Describe the solution you'd like
Ideally, a single FingerCursor would be enabled when either a PokePointer or GrabPointer are active on the hand, and would behave correctly (e.g. as the PokePointer approaches a surface that the FingerCursor can conform to facing). This would ensure that customers always see either the far hand ray cursor or the near finger cursor when hand tracking is working correctly for that hand.
Describe alternatives you've considered
Changing this behavior in-app without MRTK changes is not straightforward. Associating a separate cursor with the GrabPointer is possible, but it's not straightforward to have two cursors (one for FingerPointer and another for GrabPointer) that work in tandem correctly. The cursor ideally needs to know about both pointers so it can work correctly in all configurations (just Poke, just Grab, and both Poke and Grab).
We also considered enforcing that the PokePointer must be active any time a GrabPointer is active, but this is also not straightforward to achieve, as it requires a completely customized PokePointer that can both detect poke-interactable surfaces but also force itself to be enabled any time a GrabPointer exists on the same hand.
Additional context
Making this behavioral change will help the MRTK experience match the experience in the shell.

What is the behavior in the HoloLens shell? Would implementing this be a break from our shell parity effort?

What is the behavior in the HoloLens shell?

Looks like the PokePointer-equivalent visualization hangs around until a grab is detected. I wonder if we can update our pointer state machine to not disable the PokePointer when the GrabPointer is active without any regressions (and we might need to add an additional state when the GrabPointer is actively grabbing, to disable the PokePointer then

@RogPodge to work with @matthejo

An update on the progress made on this issue.
We currently have a near term fix which enables the Finger Cursor when near interactions are "enabled" i.e. when the grab pointer or poke pointer raises the IsNearObject flag. Unfortunately, getting the cursor to disappear when a grab event is currently active may take more engineering effort than comfortable for 2.6, so we probably need more time to refactor elements.

Closing and splitting this issue into 2 tracked parts:
#9287, #9288


Feat/answers enabled

Before opening the PR on the Discourse org which now owns our plugin, let's agree on the technical contribution here and on the PR's wording.
Features

[x] Added setting enabling Answers as a new option, defaulted to false
[x] Updated instructions on API Key permissions for the algoliaSearchApiKey
[x] Search for Posts with Answers when enabled, else still use the regular search

Implementation

Took care to ensure Answers is optional
To minimize changes to the front-end that could be frowned upon by current maintainers, I chose to patch the hit's _snippetResult.content.value with the Answers' extract when a hit has an Answer+extract. This allows the front-end to transparently handle both regular search and this Answers-enabled implementation.

PR Content for @discourse/discourse-algolia
PR Title: Allow using Algolia Answers for searching Posts
Everything below this line will be sent to the Discourse organisation in the PR description.

Hi there! We are releasing a new API called Algolia Answers. This API allows to perform semantic search over textual content, returning relevant matches beyond textual relevance.

This PR adds support for Algolia Answers when searching Posts.
For example, a search for "Cleaning spammer registrations" could return the post What about the spam problem.  The query's keywords are not present in the post, yet Answers finds a semantically relevant match within that post's content ([...] Even with all of the usual anti-spam measures (e.g. blacklists, captchas, custom q & a questions on sign-up, CloudFlare), I still get hundreds of registrations a day that manually have to get cleaned out.).
We've tested this new search experience on the data from Algolia's Discourse, and found that it improves the quality on 90% of the queries, while the remaining 10% remain as good as with the regular search.
This PR includes:

[x] Added setting enabling Answers as a new option, defaulted to false
[x] Updated instructions on API Key permissions for the algoliaSearchApiKey
[x] Search for Posts with Answers when enabled, else still use the regular search

Here are some screenshots:

Updated plugin settings

Searching for posts, using the regular textual search

Searching for posts, using Algolia Answers for semantic search
Notice how the most semantically relevant results are listed first, even if they have a lower textual relevance

Excellent PR PLN 👏 👏 👏
The only I'd remove the the .gitignore. If it's something your editor adds, it probably belongs in your gitignore global.

Thanks for the feedback @julienbourdeau! Fair enough for VSCode's .history :man_shrugging:


Rename App.js -> app.js

Fixes #875.
This issue was introduced in #863 because of renaming a require path, but not the file.
This is not a problem on Mac (and Windows?) since the filesystem is case-insensitive, and probably why it went undetected.

LGTM. I thought we lowercased all the file names earlier... guess not. My bad.


[testing][docs] How to mock apollo queries result

Describe the bug
There is no information about how to mock the result of a query made with apollo (using $apollo or the 'apollo' provider directly in the component).
Expected behavior
I expect to have a guide or an example of mocking apollo result of queries/mutations in order to see the component rendered with the mocked result of the queries and compare with a snapshot.
Versions
vue: ^2.6.11
vue-apollo: ^3.0.3
apollo-client: ^2.6.9
Additional context
I went to this part of the guide https://apollo.vuejs.org/guide/testing.html#simple-tests but if I use the setData method for the wrapper, the snapshot generated is empty, not showing me the data.

@dlumbrer did you find any way to do it?

@dlumbrer did you find any way to do it?

Yes, I found a way to do it putting an await in the setData statement: https://github.com/vuejs/vue-test-utils/issues/1562


Bug in unhandledrejection context of promise rejected in next tick

There's currently a bug with our spec text and the handling of unhandledrejection, where the global context will be incorrect (undefined?) in the cases we care about:
ctx.run(1, () => {
  Promise.resolve().then(() => {
    throw new Error('test');
  });
});

addEventLitener('unhandledrejection', () => {
  assert.equal(ctx.get(), undefined);
});

Following the stack:

Promise.prototype.then
Step 5:

PerformPromiseThen
Step 10.b

NewPromiseReactionJob
Step 1.e - 1.h

The problem is that we've specified the restore step only within a HostCallJobCallback call, which is called during 1.e. Which  means that by the time we get to 1.h.i to call the promiseCapability.[[Reject]], we've already restored the prior context. That prior context will be present when we finally call HostCallJobCallback, which calls HostPromiseRejectionTracker.
Re: https://github.com/tc39/proposal-async-context/issues/16, but I'm making a new issue because that one is specific to call/create time context and not the bug in our propagating.

It took me a bunch of staring but I'm convinced that this is a bug too :) . One simple (but arguably ugly) fix would be to use HostMakeJobCallback on Step 4 of NewPromiseReactionJob, and an associated HostCallJobCallback on the other side--I guess it's only needed for this particular purpose of unhandled rejections.
[Ultimately, if AsyncContext works, I think we might end up removing the host hook and using AsyncContext variables for the exact purpose that HTML needs those hooks in the first place. Maybe this would cause some observable changes and not actually be possible, but I'm not sure how interoperable browsers are in these edge cases anyway.]

It took me a bunch of staring but I'm convinced that this is a bug too :) . One simple (but arguably ugly) fix would be to use HostMakeJobCallback on Step 4 of NewPromiseReactionJob, and an associated HostCallJobCallback on the other side--I guess it's only needed for this particular purpose of unhandled rejections.

Currently we're not using the [[AsyncContextSnapshot]] field in JobCallback records in TC39 at all, we're only dictating that the host must set it and use it. What if we swap to that snapshot before calling reject and resolve in NewPromiseReactionJob, and then swap back?

We should probably maintain an HTML PR so that we can have a coherent understanding of what the hooks are for. For unhandled rejections, this HTML logic would need to save and restore the AsyncContextSnapshot between when the rejection initially occurs and when the event is triggered (after the microtask queue is drained).


Terminal Text Bg Fg should be different

The default black color  (terminal_color[0]) is set to the background color, hence every time black is written on the normal bg it is not visible please change it to something else.
the line causing the trouble
let g:terminal_color_0 = s:terminal.black[0]
Possible fixes are:
let g:terminal_color_0 = s:terminal.white[0]
or setting a different such that white and black don't conflict
let g:terminal_color_0 = '#e5c288'
or plain old black
let g:terminal_color_0 = s:colors.black[0]
let g:terminal_color_0 = "#0C1A1D"
the last color is my favorite

merged fix done


Kubernetes documentation search is not working

Kubernetes documentation search is not working at all since this morning ! When I launch a request the screen is fixed on "Fetching results..." Do you have the same issue ?
I tried it on both Chrome and Edge, but same issue...
Any ideas guys ?

Hello @mamadou-barry-project, I've just tried the website search, and it seems to be working smoothly on my end (screenshot below). Perhaps you could double-check to rule out any potential issues with your local network configuration.

/triage not-reproducible

Hello @dipesh-rawat, thank you for taking the time to respond ! I note that everything works well today from my home office! I was linked to a corporate network yesterday, which could explain why I had some troubles.


Mapping setting

We have a DictSetting and a NestedDictSetting, but we lack a setting which would define a dictionary with specific values, but various keys, such as CACHES and DATABASES.
I suggest a name MappingSetting, example:
class MySettings(appsettings.AppSettings):
    my_map = appsettings.MappingSetting(appsettings.StringSetting(), default=None)

MY_MAP = {
    'question': 'unknown',
    'answer': '42',
}

I think this is too similar to DictSetting. Why not just expand DictSetting to handle complex value types? It can already handle simple type check.

The complex type is another Setting, which has completely different interface than just generic type.
Or do you have any particular solution in mind?

The interface of the inner type is different, that's true. But I think we don't have to make the appsettings API more complicated. It seems to be quite confusing to have DictSetting and MappingSetting that do basically the same thing and differ only in their values types.

The MappingSetting is a form of a nested setting. It might be more adequate to modify NestedDictSetting instead, but it requires changes in the core anyway.

NestedDictSetting is different, because it restricts the key set, unlike the setting you want. On the other hand, DictSetting does not restrict the key set. DictSetting is much more similar to what you want from the API point of view (the implementation would need to change a lot, I agree).

NestedDictSetting unlike DictSetting is designed to contain another Setting within. In my opinion that's quite close also from the API point of view.


Autocomplete control bug

Problem description
Autocomplete control - keydown skips the first option
Steps to reproduce the problem reproduce the problem):
-Click on the control with mouse
** A list appears at the bottom
-Press down arrow key
** The text control looses focus
-Press down arrow key again
** Second option gets selected
How do I fix this so that it selects the first option in the list.
If I set openOnFocus to false the problem goes away.
Link to minimally-working code that reproduces the issue
See controlled example in demo (http://www.material-ui.com/#/components/auto-complete) to reproduce the problem
Versions

Material-UI: v0.17.0
React: 15.4.0
Browser: Chrome

I have noticed the same bug.
But it occurs only when option 'openOnFocus' is set to true and while entering the AutoComplete field with mouse. If I enter the field with Tab-key then the keydown is working as expected.
Examples:
http://www.material-ui.com/#/components/auto-complete
Section 'Data sources'. Examples number 2('showAllItems') and 3.
Versions
Material-UI: v^0.18.4
React: 15.4.2
Browser: Chrome, IE, Edge, Firefox

Closed by #4783


Issue 56: Add input data validation checks

See Issue #56 for a complete list of the checks that were implemented by file.
Summary of Added Functionality

Individual datasets (designs, results, etc) are now read in from a single XLSX file using the DataManager class with dataset-specific sub-classes. This enforces column names and data types in the input datasets.
All of the checks implemented are run when either a Designs or Investments class is instantiated.
If the input datasets have multiple errors, all of the errors are found at once and a list is printed out providing a summary of each failed check and identification of the input dataset that needs to change. (An alternative would be to have a single failed check terminate the validation process, but in the case that an input dataset needs many changes, the one-error-at-a-time approach would be tedious for the user.)
There's also a check on the technology model (.py) file itself, first that it is importable and second that it contains the necessary methods as defined in the input data.
Nothing downstream of the file I/O process has changed: the datasets look exactly as they did before and are used in the same way.

Suggested Procedure for Testing and Review
Pull the latest commit from branch issue-56. Pick your favorite technology (I used pv-residential-simple for testing, so don't use that one) and test that the analysis notebook runs completely without errors. If the data validation checks are working properly, you should see no additional messages, warnings, or errors.
Next, either introduce deliberate errors into that technology's dataset(s), or work with a dataset/technology that has known errors. See what, if any, checks fail when instantiating Designs or Investments. Are the resulting error messages what you expect? Do the error messages and other information provided make sense, and are they sufficiently informative?
Suggest any line-by-line changes as part of the PR review, or (for more complex changes or suspected bugs) as comments.
If you find that there are no necessary changes, mark this PR as approved and it'll be merged into dev shortly.
Review Timeline
Please try to complete your review by Wednesday December 7 and let me know sooner rather than later if this won't be possible.

Review 1: As the Designs.py and Type.py do not use the fixed type anywhere in the code, it was decided to drop that type from the indices table. I started out by testing the Simple_electrolysis code and it showed me a validation error - Unexpected type - {Fixed} That immediately helped me fix this issue. Good job!

Review 2: I removed different mandatory types from the indices table and found that they were being properly caught by the data validation checker!
Note - I ran a scenario where the data validation worked but there was inconsistencies in the technology model and the data provided.For example two input indices were required. I provided only one. These are not caught by the data validation check. But that is fine. These are modeling errors.

Review 3: Focusing on the designs table -
Removing input efficiency for water.
Data Validation: Technology-Scenario combination ('Simple electrolysis', 'Base Electrolysis') has missing Variable Indexes. Check in designs.
{('Input efficiency', 'Water')}.
Removing output efficiency for oxygen
Data Validation: Technology-Scenario combination ('Simple electrolysis', 'Base Electrolysis') has missing Variable Indexes. Check in designs.
{('Output efficiency', 'Oxygen')}
Note - something to add to the cheat sheet. Check below diagram. Even if scale does not an associated index, it actually is the catalyst. I guess both the life time and scale variable uses the capital index from the indices dataset which resolves this issue.

All checks for design dataset passed successfully

Review 4: Functions dataset
Data validation check does not catch the style = numpy missing data. Even if its not there, the model runs without any issues.
Removing other functions are properly diagnosed by the data validation check.

Review 5: Parameters dataset
Randomly changed offset values and was captured by the data validation checker.
Created duplicated offsets - Was captured by the data validation checker.

Review 6 : Results dataset

Changed cost name to cost1. Captured by DV checker.
Mistyped index - Oxygen was written as oxy1. Was not captured by the DVC. But code ran fine.
Deleted index oxygen. Was not captured by the DVC. But code ran fine.
Deleted cost metric. **Was not captured by the DVC.**But code ran fine.
Deleted a complete row in the results dataset. **Was not captured by the DVC.**But code ran fine.

Thank you @tjlca for the thorough review! I have one question, a couple notes/comments, and next steps (for me) at the bottom of this comment.
Question is - In Review 2, by "two input indices were required" do you mean that there were two Input Indexes in the designs dataset but only one in the indices dataset?
Notes/comments:

Re: Review 1, I completely forgot about the Type column in the indices dataset, but I'm leaning towards keeping it. The column is valuable for the user (person creating the dataset) and for enabling some of the cross-checks, even if it's not used directly by the analysis code. Plus, all the existing technology datasets still have it.
Re: Review 3, my understanding is that the Scale is for the entire "system" (how that's defined varies from technology to technology), and so there will only ever be one. See for instance the tutorial-biorefinery model, which has 4 types of capital but still only one scale (the "biorefinery" scale, in that case).
Re: Review 4, That numpy style thing is probably always going to be unused ... The original plan was to allow methods that can perform vector-based calculations with the numpy style or tensor-based calculations with the tensorflow style. At this point I'm not sure what that would even look like, much less how to implement it. I may just get rid of that column at some point.

Next steps:
I'm seeing the need for a few additional cross-checks, particularly in the results dataset, and will update the issue (#56) accordingly. I'll let you know when it's ready for another review.

Question is - In Review 2, by "two input indices were required" do you mean that there were two Input Indexes in the designs dataset but only one in the indices dataset?
This was actually a great question Rebecca. So here is the situation. The designs dataset has two inputs - Electricity and Water. The indices dataset thus has two input indices for water and electricity separately. Case 1:  I delete both of them, the DVC catches the error correctly - "No input indices". Case 2: I delete only water (which has the offset 0). DVC catches the error - " The offsets should start sequentially from 0". Case 3: I deleted only electricity (with offset 1). This was not captured by the DVC. It showed up as an issue when the technology model (py) file requested the entry for the second input and the array size mismatched resulting in modeling error.

Review 7 -

Made the tranches inconsistent between the tranches and the investment dataset. DVC indentified the error correctly.

Deleted scenarios from the tranches scenario column. This was not captured by the DVC but did not affect the code. Code ran fine.

Deleting tranches in investment data set is captured by the DVC.

Deleting items from the Investment column, is not captured by DVC but does not affect the code also.

Review on Bio refinery example:

Missing entry in Designs dataset was identified successfully.
Inconsistent function names in the technology model within the functions dataset was identified successfully.
Missing Tranche in investment dataset captured.
Results dataset issues are being captured by the DVC.


feat(pages): create new theme page examples

Related Ticket(s)
https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/6732
Description
Create Dark and White theme page examples.
Changelog
New

Dark and White theme example pages added

Working through white theme, but here is some feedback so far:
For the initial page:

"Page template" should be "Page examples"
"White theme page" should be "White theme example page".
"Gray 100 theme page" should be "Gray 100 theme example page".

White theme example page:
Lead Space

In the lead space, the "See components in action" CTA should use the arrow-down icon, not the arrow-right icon.
Right now, the "See components in action" button takes you instantly to the first section. Can this be smooth-scrolled to the destination?
The "See alternate template" button should navigate the user to the Gray100 theme example page.

Vertical ToC

The vertical ToC should be on the grid.
Missing items for "Content group banner", "Content group cards" and "Logo grid".

Content Block - Simple

The "Learn about Content block simple" card should navigate the user to https://www.ibm.com/standards/web/carbon-for-ibm-dotcom/components/content-block-simple. It should still open in a new tab as it does now.
It does not look like Content block simple is on the grid. The CTA card is also not on the grid.
Card should use expressive-heading-01 type token.
As the user scrolls down the page, the card component should animate in after the body text. Right now it appears on-load and never animates in.

Content block media

The image link under "Introduction to the media" is not rendering (it appears as a broken link.
The in-line text link "design specs" should open the link in a new tab.
Same with the "Storybook" link at the bottom of the "Scroll animations" paragraph.
For the card in the section, please update the "lorem ipsum dolor sit ametttt" to "Content block media". Have the link open this page in a new tab: https://www.ibm.com/standards/carbon/components/content-block-media
Card title should use expressive-heading-01.
Aside elements should align the text to the grid with 16px overhang from the horizontal rule.
As the user scrolls down the page, the aside element list should animate in after the body copy has animated in. Right now it appears on-load and never animates in.

Callout quote

In the Callout quote, the CTA link should be on the grid.
The CTA should also use the inverse-link color token.
The "See more about the Callout quote" CTA should open in a new tab.
The Callout quote background should extend 16 pixels from the grid on either side - right now it extends much further.

Content group pictograms

The "Content group pictograms" and "IBM Design language pictogram library" CTAs should both open in a new tab.
The second card's body copy should end with a period.
On breakpoints smaller than xlg, the content of this section goes off the grid.

Content group cards

The heading, body, and cards do not appear to be aligned to the grid.
As the user scrolls down the page, the card components should animate in after the body copy has animated. Right now, the cards appear on-load and never animate as the user scrolls. The individual logo grid items animate in separately - these cards should follow that pattern.

Logo grid

The heading and the logo cards should be updated to align with the grid. This includes smaller screen size breakpoints.

Content group banner

The "Content group banner" CTA should open in a new tab.
On md breakpoint, the content of this component hangs off the grid.

Card section

All cards in this component should navigate the user to this page in a new tab: https://www.ibm.com/standards/carbon/components/card-section
The "Card section" title should be aligned to the grid on the left-hand side.
The cards should also align to the grid.

Card section carousel

"See all components" CTA should open link in a new tab.
The "Card section carousel" title, the body copy, and CTA underneath it should align to the grid on the left-hand side. The cards should also align to the grid.
When I click on the carousel controls, the cards seem to pick up the fade-in-up animation style. This should only happen when the user scrolls the component into view. When the user clicks on the carousel controls, it should only animate side-to-side.

CTA section

The "See alternate template" CTA seems to be a broken link. Clicking it should open the Gray 100 theme example page.
The "Carbon for IBM.com" CTA should open this page in a new tab: https://www.ibm.com/standards/carbon/
The "Find a Partner" CTA should read as "More on CTA section". It should also open the link in a new tab.
The "More on CTA section" CTA under Usage should also open in a new tab.
This section should align to the grid.
As the user scrolls down this section, the individual elements should animate. Right now, only the heading and paragraph animate into view. The CTA buttons and subsections should also animate as the user scrolls further.

Gray 100 theme example page:
Horizontal ToC

The ToC overhangs the grid. Seems like the first text link is aligned right at the left-hand corner of the page.

Card section images

"Card section images" title overhangs off the grid - this should be aligned.
The text of the cards should be aligned with the columns. Right now, the second and fifth cards seem to be the only ones aligned on larger screen sizes. On md, it is only the right-hand cards that have their text aligned to the grid.
Clicking any of the cards should open the link in a new tab.

Feature card - large

Right-hand edge of card should overhang by 24 px instead of extending to right edge of the screen on max.
Clicking the Feature card - large should open the link in a new tab.

Content block segmented

The content for this component is off the grid. Both the main content and the Link list should have their text aligned to the grid.
The first item under Link list should be "Content block segmented design specs".
Link list items do not appear to be working. The first should link to this page in a new tab: https://ibm.ent.box.com/folder/99730444060?s=pkascpokk7ae4t3ixis98hmw4e5y1v56. The second should link to this page in a new tab: https://ibm.ent.box.com/folder/99730444060?s=pkascpokk7ae4t3ixis98hmw4e5y1v56.
The aside link list should animate in after the expressive-paragraph-01 copy has animated in. Right now, the link list appears on-load and does not animate at all.
The paragraph copy in the subsections does not currently animate. Each section body copy should animate in after the heading animates in, one after the other.
6.The card should also animate in once the user has scrolled down enough. Right now it does not animate at all.

Content block horizontal

The "Learn more" link should open in a new tab. "See design specs" link is working as intended.
The "See Web Component Storybook" CTA link should open in a new tab. "See React Storybook" link is working as intended.
Content for this section is off the grid:

The content sections do not animate in (although the heading does). Can each section animate in as the user scrolls down the page?

Tabs extended media

"Tabs extended with media" title should be aligned with the grid. Currently the title begins at the left-hand side of the window.
Double check the links for each tab in the Box note:
"Explore Tabs extended with media" should open this link in a new tab: https://www.ibm.com/standards/carbon/components/tabs-extended-media
"Learn about images" should open https://www.ibm.com/standards/carbon/components/video in a new tab.
"Explore Tabs extended with media" link should open link in a new tab.
"Learn about video" link should open in a new tab.
"Explore Tabs extended" link should open in a new tab.
The first time the user clicks on a tab, the content animates in with fade-in-up, as if the user were scrolling into view. Then the animation no longer applies the next time the user clicks that tab - this feels like a bug. Let's remove the animation when the user clicks a tab.

Link list

Each link in the link list should open in a new tab.
The title for this section should read "Link list section can display links to other resources"

Card section carousel

The section on the left with the title, body, and CTA overhang the grid. The cards also should have their text aligned with the grid.
"See all components" CTA should open link in a new tab.
Like the White theme version, when I click on the carousel controls, the cards seem to pick up the fade-in-up animation style. This should only happen when the user scrolls the component into view. When the user clicks on the carousel controls, it should only animate side-to-side.

CTA section

See comments on White theme version, except the CTA section on Gray 100 theme should have a link list instead of the subsections (see the design):

@IgnacioBecerra just checking status of this. Can you also create e2e tests for the new pages? (might have forgotten to check if they were added for NextJS as well).


Doesn't work with the latest Pion libs update

To look into this.
If you update Go modules it will hang on the WebRTC Ice exchange step.

Firefox is broken.


Energy grids and countries does not map one-to-one

In the code ISO 3166-1 alpha-2 is used to select the energy grid:
https://github.com/geocaml/carbon-intensity/blob/778fe7554b9df1dd282fe296aa534469568d15a1/src/carbon.mli#L33-L35
Some countries have multiple energy grids, for example Denmark (2), Sweden (4), Norway (5), USA (way too many). Even the UK has has one for Great Britain, one for Orkney Islands, one for Northern Ireland etc., and the ISO 3166-1 alpha-2 code GB includes Northern Ireland. For Denmark the difference is not insignificant. Right now the carbon intensity in West Denmark is 84g while in East Denmark it is 96g (according to https://app.electricitymaps.com/map).
I don't know what a good alternative is, and for many countries it's probably "close enough".

Hey @reynir,
Thanks for the issue, I agree this is a little confusing and I think I naively just went with what the API looked like it offered rather than digging any deeper. I've opened #10 which reconfigures to use the Zones that they provide.

the ISO 3166-1 alpha-2 code GB includes Northern Ireland.

Wow I had no idea ^^"

I don't know what a good alternative is, and for many countries it's probably "close enough".

The finer-grained the better I think. For example, we should really be using East England for machines in Cambridge if you take a look at the GB map here: https://carbonintensity.org.uk. The renewable energy in Scotland really skews the average for GB...

Very nice! I think that PR is excellent. The difference between Scotland and the rest of GB is quite chocking!


Update version to 0.10.0.

Path incremented as new feature was introduced (custom polyfills registration).

Coverage remained the same at 72.111% when pulling d698e820001d4a8a999d972276fca829cf8fdecb on scottmo/updateVersion into c75ac65faafd89924f2308f50200d0d4d881b22d on master.


build: release posthog hotfix

HOTFIX: chore: update posthog

:tada: This PR is included in version 1.18.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Usability issue Waypoint: Use Conditional Logic with IfElse Statements

Challenge http://www.freecodecamp.com/challenges/waypoint-use-conditional-logic-with-ifelse-statements has an issue.
the "code space" where students are meant to put their if/else code contains (by default) a closing bracket which is part of the test code and shouldn't be edited/removed:

I think this closing bracket should be moved under the // Only change code above this line. comment to avoid students using it inside their if/else statement (and breaking the function). (someone was stuck on this earlier today)

Thank you for reporting! :)


⚠ DDoS-Relay EU-C-fsn1-2 has degraded performance

In c1ac2fb, DDoS-Relay EU-C-fsn1-2 (http://<IP_ADDRESS>:42069/;csv) experienced degraded performance:

HTTP code: 200
Response time: 321 ms

Resolved: DDoS-Relay EU-C-fsn1-2 performance has improved in 90418e1 after 6 minutes.


Move development services into compose override file

Current Situation

We have both local_postgres and local_s3 set to spin up when the webserver is deployed. Neither of these are necessary in production, and end up getting stop after deployments.
Suggested Improvement

Move those two services out into the docker-compose.override.yml file, so they get spun up for local development but not for production.
Benefit

We only spin up the services that we need.
Alternatives

Additional context

Implementation

[ ] 🙋 I would be interested in implementing this feature.

This conflicts with #155 but I believe this is actually the correct approach: having production configs in docker-compose.yml and development configs in docker-compose.override.yml.
We should decide which one to keep. CC @zackkrida

@krysal I agree, and with just now it'll be easier to use the override files locally without confusion. I will update/close #155

Oops, I really should have checked the existing issues first before making all those :sweat_smile: Thanks for pointing that out @krysal


Add a way to prevent templates impacting remaining content

Something like <my_template/> which would resolve the template whilst preventing any tags inserted from bleeding into remaining strings.
Essentially shorthand for <my_template>, considering KyoriPowered/adventure-text-minimessage#178.

This should be easy with #672 -- it just depends on the value of Tag#allowsChildren(). We could incorporate the same logic into the parser in order to support / for self-closing tags.


Staff Check-In Admin App Error

Hi,
I'm facing an error when I'm trying to open the Staff Check-In Admin app in Teams.
StaffCheckinReports.Run failed: { "error": { "code": 502, "source": "asia-001.azure-apim.net", "clientRequestId": "070e9260-4b2f-4172-a3be-93aeba5303a4", "message": "BadGateway", "innerError": { "error": { "code": "NoResponse", "message": "The server did not receive a response from an upstream server. Request tracking id '08585848608506287191547506111CU05'." } } } }
Can you advise?
Thanks,
Herdyan

We are not able to reproduce this issue at our end.
Make sure in 'StaffCheckinReports flow', in 'Get items' step you have entered correct SharePoint site address and list name is updated. If that doesn’t help, then Navigate to the Power App and select scrnCheckInReport.
With scrnCheckInReport selected, choose OnVisible in the dropdown in the upper left corner. In the formula bar, copy the formula to notepad, remove the formula, then replace it all over again, then save and publish the app and try to run.
Let us know if issue still persists.


set tab margin-top to 25px

tabs were not even visible by default

should supersede #7 and #15.

turns out 15px wasn't sufficient as the active tab's "shadow" that floats above it wasn't visible.


There is a bug when it comes to require

Describe the bug
I was using a library called astro-icon but this is what I got. As you can see this is a bug that has something to do with this library.
require is not defined
C:\Users\louis\Desktop\web-projects\ui\press-cms-clone\C:\Users\louis\Desktop\web-projects\ui\press-cms-clone\node_modules\.pnpm\svgo@2.8.0\node_modules\svgo\lib\svgo-node.js:3:12
> 3 | const os = require('os');
    |            ^
  4 | const fs = require('fs');
  5 | const { pathToFileURL } = require('url');
  6 | const path = require('path');
ReferenceError: require is not defined
    at /node_modules/.pnpm/svgo@2.8.0/node_modules/svgo/lib/svgo-node.js:1:12
    at instantiateModule (file:///C:/Users/louis/Desktop/web-projects/ui/press-cms-clone/node_modules/.pnpm/vite@3

To Reproduce
Steps to reproduce the behavior:

Go to Example Astro icon Project With failed svg
Scroll down to <AstroIcon />
See error on the right side of the screen.

Expected behavior
I expected Astro Icon to work and make the SVG icon appear but it did not work.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

SVGO Version [e.g. 2.0.3]
NodeJs Version [e.g 18.12.1]
OS: [e.g. Windows]

Additional context
Add any other context about the problem here.

Hey
I can see the icon on stackblitz. No errors

Hey I can see the icon on stackblitz. No errors

So do I What do you think happened. I can't belive this. Well I'll close this issue then

This looks like vite is trying to bundle svgo for some reason. Though I don't think this should happen. Maybe some entry point of icon library is not right.


Request: Include Enum for Types of Data Flows in the Data Factory

Is your feature request related to a problem? Please describe.
Instead of needing to expose a protected list of Data Flow types in sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py because it's bad practice to access protected properties/methods.
Describe the solution you'd like
It would be nice if there was an enum that was accessible sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_data_factory_management_client_enums.py
Describe alternatives you've considered
Hardcoding the list is less desirable since things could change in the future and that's more code to update elsewhere.
Additional context
n/a

Hi @mindlessroman, you can import enum variable directly by from azure.mgmt.datafactory.models import AmazonRdsForOraclePartitionOption since it has been in __all__ of __init__.py:
https://github.com/Azure/azure-sdk-for-python/blob/b061c2864632a7fc827f5320cadc8c98d2dd0586/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/__init__.py#L728-L733

/unresolve

Hey @msyyc - I don't think that the enum exists right now.
https://raw.githubusercontent.com/Azure/azure-sdk-for-python/main/sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_models_py3.py Line 18938:

You probably want to use the sub-classes and not this class directly. Known sub-classes are:
Flowlet, MappingDataFlow, WranglingDataFlow

An enum that contains those subtypes does not exist in sdk/datafactory/azure-mgmt-datafactory/azure/mgmt/datafactory/models/_data_factory_management_client_enums.py
Having these be in an Enum would be helpful for changes I'm trying to support in https://github.com/Azure/azure-cli-extensions/pull/5407.

@mindlessroman SDK is generated with swagger. If you want to use these values as enum, there shall be relative enum definition in swagger. Unfortunately, I don't find it in swagger. So I advise you open an issue in https://github.com/Azure/azure-rest-api-specs/issues or make a PR to add it. (enum definition sample: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5105-L5110)


single repo or single place for issues?

This is a follow-up of the discussion started by @aseemk in #320. Should we consolidate the various repos (streamline-runtime, babel-plugin-streamline) into a single repo (this one)?
Thinking more about it I would prefer to keep separate repos but disable the GitHub issues features in the other repos. Issues would be centralized here.
I prefer separate repos for code tracking, especially for sensitive pieces like runtime and transform. On the other hand I don't like having issues scattered all over the place; I get lost and I'm probably not the only one.
Note: as @aseemk mentioned, this is just about GitHub, not NPM. We would keep the current package architecture in NPM.

A single place for issues would already be useful to consumers like myself.
You're the primary developer by far, so if your preference for the code is to have multiple repos, there's no reason you shouldn't do that! =)

Thanks @aseemk. I've disabled issues (and wiki) in the other repos. So I'm closing this.


Python 3 compatibility issue -- pickle.load(), encoding argument

Line 96 in predict.py:
model = pickle.load(f,encoding = 'latin1')
Error:
TypeError: load() got an unexpected keyword argument 'encoding'
Temporary work-around:
For Python 3, eliminate encoding = [] arg entirely. Documentation specifies that the optional args are only relevant for Python 2.x.

This breaks for Python 2.7 too. Pickle has no arguments on 2.x
$ /usr/local/anaconda2/bin/python cliner predict --txt data/examples/ex_doc.txt --out data/predictions --model models/silver.crf --format i2b2
Traceback (most recent call last):
File "cliner", line 60, in
main()
File "cliner", line 52, in main
predict.main()
File "/data/CliNER-master/code/predict.py", line 79, in main
predict(files, args.model, args.output, format=format)
File "/data/CliNER-master/code/predict.py", line 96, in predict
model = pickle.load(f,encoding = 'latin1')
TypeError: load() got an unexpected keyword argument 'encoding'
Removing the encoding argument results in a different error (same command):
File "/data/CliNER-master/code/machine_learning/crf.py", line 181, in predict
clf_byte = bytearray(clf, 'latin1')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf4 in position 6: ordinal not in range(128)
I'm not sure if this is a fault with the code or the encoding in the silver.crf pickle.

I am still having issues loading the supplied Silver CRF model.  Going through the verify installation process yields the following error when using the codebase as is:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf4 in position 6: ordinal not in range(128)

Then updating to enforce UTF-8 encoding on pickle.load results in the following issue:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf4 in position 6: invalid continuation byte

I think this may be an issue with the silver pre-trained model.

@simthyrearch - for python 3.7 this issue is still there.
(cliner) C:\Users\rgupta98\github\CliNER\code>python
Python 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

(cliner) C:\Users\rgupta98\github\CliNER\code>python ..\cliner predict --txt ../data/examples/ex_doc.txt --out ../data/p
redictions --model ../models/silver.crf --format i2b2
Traceback (most recent call last):
  File "..\cliner", line 60, in <module>
    main()
  File "..\cliner", line 52, in main
    predict.main()
  File "C:\Users\rgupta98\github\CliNER\code\predict.py", line 79, in main
    predict(files, args.model, args.output, format=format)
  File "C:\Users\rgupta98\github\CliNER\code\predict.py", line 96, in predict
    model = pickle.load(f, encoding='utf8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf4 in position 6: invalid continuation byte

(cliner) C:\Users\rgupta98\github\CliNER\code>python ..\cliner predict --txt ../data/examples/ex_doc.txt --out ../data/p
redictions --model ../models/silver.crf --format i2b2
C:\Users\rgupta98\AppData\Local\Continuum\anaconda3\envs\cliner\lib\site-packages\sklearn\base.py:251: UserWarning: Tryi
ng to unpickle estimator DictVectorizer from version 0.19.1 when using version 0.20.1. This might lead to breaking code
or invalid results. Use at your own risk.
  UserWarning)

        1 of 1
        ../data/examples/ex_doc.txt

        vectorizing words all
        predicting  labels all
Traceback (most recent call last):
  File "..\cliner", line 60, in <module>
    main()
  File "..\cliner", line 52, in main
    predict.main()
  File "C:\Users\rgupta98\github\CliNER\code\predict.py", line 79, in main
    predict(files, args.model, args.output, format=format)
  File "C:\Users\rgupta98\github\CliNER\code\predict.py", line 179, in predict
    labels = model.predict_classes_from_document(note)
  File "C:\Users\rgupta98\github\CliNER\code\model.py", line 282, in predict_classes_from_document
    return self.predict_classes(tokenized_sents)
  File "C:\Users\rgupta98\github\CliNER\code\model.py", line 313, in predict_classes
    hyperparams = hyperparams)
  File "C:\Users\rgupta98\github\CliNER\code\model.py", line 707, in generic_predict
    predictions =   crf.predict(clf, X)
  File "C:\Users\rgupta98\github\CliNER\code\machine_learning\crf.py", line 181, in predict
    clf_byte = bytearray(clf)
TypeError: string argument without an encoding

same here issue is still there


Powerline symbols on ends

I would like to use Powerline symbols such as U+E0BC/E0BC (upper left and right triangle) on the ends of the winline, to make it a trapezoid instead of rectangle. But these work poorly on a nontransparent background, and I don't know how to set the background to transparent without messing up the rest of the display. Any idea on how to do this?
Somewhat similar to #13, and might be implementable through it, by setting only left and right border and fiddling with hl-FloatBorder.

Is this along the lines of what you're trying to do?

incline.setup {
  render = function(props)
    local bg = '#A694ED'
    local fg = '#120433'
    local fname = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(props.buf), ':t')
    return {
      { '', guifg = bg },
      {
        ' ' .. fname .. ' ',
        guibg = bg,
        guifg = fg,
      },
      { '', guifg = bg },
    }
  end,
}

Yep, that turns out to be pretty much exactly what I'm looking for, thanks. Here's a lazy.nvim snippet that applies this style to an arbitrary render function.
    {
        "b0o/incline.nvim",
        opts = function(plug, opts)
            return vim.tbl_deep_extend("force", opts, {
                window = { padding = 0 },
                highlight = {
                    groups = {
                        InclineNormal = { guibg = "none" },
                        InclineNormalNC = { guibg = "none" },
                    }
                },
                render = function(params)
                    local content = opts.render(params)
                    local hl = vim.api.nvim_get_hl(0, { name = "NormalFloat", link = false })
                    local bg = string.format("#%06x", hl.bg);
                    return {
                        { '', guifg = bg },
                        {
                            {" ", content, " "},
                            guibg = bg,
                        },
                        { '', guifg = bg },
                    }
                end
            })
        end
    },

Didn't realize the markup was this nestable. That's super cool.


Can't add large URLEncoded Images

Hi,
I'm trying to add a large image (10MB, 32Mpx) to the PDF.  The image can't be added because this error:

Error while creating order RangeError: Maximum call stack size exceeded
at RegExp.exec (native)

The error is in de PDFImage.open method:
PDFImage.open = function(src, label) {
...
  if (match = /^data:.+;base64,(.*)$/.exec(src)) {
    data = new Buffer(match[1], 'base64');
  }
...
}

I've patched locally to the simpler solution (indexOf and substring) that is faster and requires less memory.
var idx = src.indexOf(";base64,");
if(idx!==-1){
   data = new Buffer(src.substring(idx+8), 'base64')
} else {

Any Imporvement in this issue? I face the similar problem.

The issue is resolved in my PR (#1349), so any user who encounters can use that.  Unfortunately, it does not appear to have been reviewed by a maintainer.


Tact logo vector

https://marketplace.visualstudio.com/items?itemName=KonVik.tact-lang-vscode

Please, please change the logo to Tact.

Updates with the new logo have been done.


Update mxnet_model_server.py

Fix issue where Flask handler fails to start when using non-default port. See #241

Hi @treske , thanks for the PR.
Please do none check before conversion.

Thanks for submitting the PR, it is fixed at #240


Add support for moderators only stream post policy in frontend.

This PR adds support for moderators only stream post policy in frontend.

The apparent typo isn't a typo -- it's a YAML feature that prettier introduces.  I found it really confusing too.

Yeah I noticed it just now after running the linter. Removed that commit.

The remaining commit lgtm; I'll let CI run and then merge.  Thanks @sahil839!


Add a way to make animations flipping through time (showing different spectra) or through wavelength (showing different light curves).

Closed by #23


Update to Video Codec SDK 9.1.23

It would be nice to have headers from the latest 9.1.23 release available.

You can download Video Codec SDK and they are in Interface folder

If you send a pull request I'll apply it immediately.


Skeleton Rider [PCSB00588]

Game summary

Game name: Skeleton Rider
Game serial: PCSB00588
Game version: 01.00

Vita3K summary

Version: v0.1
Build number: 1293
Commit hash: https://github.com/vita3k/vita3k/commit/164267b

Test environment summary

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

Issues
no idea what's happening in the second screenshot lol
Screenshots

Log
vita3k.log

Vita3K v0.1.5 2585-c167144f
playable no problems so far
vita3k.log


Update Announcements section with latest news

Update https://aws-otel.github.io/announcements and home page entry to include:
https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-ecs-new-integration-aws-distro-opentelemetry/

@JamesJHPark can you take a look at this and file a PR? Thx.

Completed.


Question?

Hi, I have the following JSONDecoder:
Optional({
AppUserId = "JSONJoy.JSONDecoder";
ContentToDisplay = "JSONJoy.JSONDecoder";
CreationDate = "JSONJoy.JSONDecoder";
ExiprationDate = "JSONJoy.JSONDecoder";
IsSeenByUser = "JSONJoy.JSONDecoder";
NotificationContent = "JSONJoy.JSONDecoder";
NotificationID = "JSONJoy.JSONDecoder";
NotificationType = "JSONJoy.JSONDecoder";
SISUserID = "JSONJoy.JSONDecoder";
SISUserNumber = "JSONJoy.JSONDecoder";
})
All keys return a value except for "NotificationContent" it returns another JSON. I was able to get all values by using: decoder["AppUserID"] for example, but for NotificationContent I had to read it as String, convert it to NSData then decode it using JSONDecoder, using decoder["NotificationContent"] just didn't work. Below is my full code, it would be great if you let me know what I'm doing wrong
 let resultDecoder = JSONDecoder(response)[resultKey];
        let serverResponse = ServerResponseModel(resultDecoder);
        if serverResponse.Result == 0 {
            var resultArray: Array<JSONDecoder>? = resultDecoder["OperationData"].array;
            if let arr = resultArray {
                for i in arr {
                    let jsonNotificationType = i["NotificationType"].integer!;
                    let jsonMessage: JSONDecoder = i["NotificationContent"]; // This did not work, it was treated like i["NotificationContent"] value was sent as a String and not NSData (if you recall my last issue I provided it's link below the code)
                    // For some reason we must decode NotificationContenet again like shown below
                    let x = (i["NotificationContent"].string! as NSString).dataUsingEncoding(NSUTF8StringEncoding);
                    switch jsonNotificationType{
                    case 0:
                        let messageModel = MessageModel(JSONDecoder(x!));
                    break;
                 }
               }

[Link to my previous issue in-case it can help] (https://github.com/daltoniam/JSONJoy-Swift/issues/18)

The notificationContent key has a string of JSON with it? Can you provide an example of what it looks like? JSONJoy uses the builtin NSJSONSerialization class, so if that parses it as an object and not a string, it should behave properly.

Here is a sample of NotificationContent:
"NotificationContent":"{\"Subject\":{\"SubjectTitle\":\"Physical Development\",\"ExamMark\":null,\"ClassTimeFrom\":null,\"ClassTimeTo\":null,\"SubjectID\":null,\"MaxGrade\":0}

And this is the JSON Object that I parse using JSONDecoder it includes NotificationContent:
{"AppUserId":"0000000-0000-0000-0000-000000000000","ContentToDisplay":null,"CreationDate":"\/Date(1436337714830+0300)\/","ExiprationDate":"\/Date(1437201714830+0300)\/","IsSeenByUser":false,"NotificationContent":"{\"Subject\":{\"SubjectTitle\":\"Language and Literacy Development\",\"ExamMark\":null,\"ClassTimeFrom\":null,\"ClassTimeTo\":null,\"SubjectID\":null,\"MaxGrade\":0},\"Homework\":{\"Title\":\"Quiz\",\"CreationDate\":\"08\/07\/2015 9:41:54 AM\",\"Description\":\"Quiz in chapter 10, pages 145 -> 200\"},\"TeacherNotes\":{\"TeacherName\":\"\",\"CreationDate\":\"08\/07\/2015 9:41:54 AM\",\"Content\":\"None\"},\"DueDate\":\"09\/07\/2015\",\"TimeFrom\":\"8:00 AM\",\"TimeTo\":\"9:30 AM\",\"child\":{\"FullName\":\"شهاب\",\"PersonID\":\"00000000-0000-0000-0000-000000000000\",\"SISNumber\":\"8136-1816103\"},\"Title\":\"Quiz\"}","NotificationID":"0000000-0000-0000-0000-000000000000","NotificationType":10,"SISUserID":"0000000-0000-0000-0000-000000000000","SISUserNumber":"0000-0000"}

By the way a side question, in my pod file I chose the platform to be IOS 7, am I good to go for both IOS 7 & 8? or are there any changes I need to do for both JSONJoy and SwiftHTTP?

Alright, yeah. I don't think NSJSONSerialization parses a JSON string with JSON. You will probably have to run that through the parser again (or a JSONDecoder), as JSONJoy uses the standard NSJSONSerialization API to do JSON parsing.
You should be able to set it to iOS7 for both. The code isn't any different for either target version. The only issue is iOS 7 doesn't support Swift dynamic frameworks. See this for more info:
https://github.com/CocoaPods/swift/issues/9


Update Jekyll ignores.

ignore twbsconfig.yml
remove vendor since 1) it doesn't work and 2) we actually need the folder
add a trailing slash for folders

You have a strange error : https://travis-ci.org/twbs/bootstrap/jobs/279852960#L635

Yeah, I don't know why this happens on Travis; locally everything is fine...

Should be fine now.


SIP.EventEmitter inherits from Node's EventEmitter

An alternative to https://github.com/onsip/SIP.js/pull/64
resolves #64

Rebased and merged.


[utils] HierarchicalPlot is not plotting

What happened + What you expected to happen

HierarchicalPlot is not plotting.

from hierarchicalforecast.utils import HierarchicalPlot

HierarchicalPlot(S, tags)

Based on recommendations from this issue and this issue have checked the versions of matplotlib (3.6.1) and pandas (2.0.3), but is the version that should be safe.

Versions / Dependencies
0.4.0
Reproduction script
from hierarchicalforecast.utils import HierarchicalPlot
HierarchicalPlot(S, tags)
Issue Severity
None

Sorry! It was my mistake!
After instantiating the class, need to call the appropriate functions, to plot them!
hplots = HierarchicalPlot(S=S, tags=tags)
hplots.plot_hierarchical_predictions_gap(
Y_df=Y_hat_df, models='ETS',
xlabel='Month', ylabel='Predictions',
)


Gene names problems on Metabolite Page

Some of the genes and cg numbers have wrong capitalisation (or oppsite)

This seems to be the 'display_name' from pyMultiOmics. Could change there or use a dict to get the gene/cg name from the gene_df as they seem to be in the correct format.


uniqBy function added

uniqBy function added for getting duplicate-free version of the array of objects

Coverage increased (+0.05%) to 96.812% when pulling fd95a89614b7bad130b9967951e5d47455551aa8 on gurhankokcu:master into 5c237a7c682fb68fd5378203f0bf22dce1624854 on jashkenas:master.

Nice function, but too specific for core Underscore — feel free to mix it in to your copy...


[Bug]Ark0.4.1 multi_gou_tutorial.py run error

Describe the bug
ark0.4.1: run multi_gou_tutorial.py fail in sched_default.cc
line393 in configure_gpu_buf, tensor.cc line246 in update_pads, errors as follow:
invalid padding detected. This is likely caused because one GPU buffer is used by multiple operators that require different padding. A possible workaround is to let each operator use a different buffer by creating a new tensor rather than overwriting an existing tensor op name:send.
To Reproduce
run multi_gou_tutorial.py in ark0.4.1
Expected behavior

explain why has the error;
what relationship "ldims, type_bytes, tile" between ref_tensor and this_tensor satisfy in updae_pads?

System (please complete the following information):

ark0.4.1
OS: [e.g. Ubuntu18.04]
GPU [A100]
Networking Environment [Single-node, Multi－gpu]

Additional context
Add any other context about the problem here.

@shenyanmei2020 Sorry for delayed response, and thank you for reporting. This is expected and we need to change the tutorial code. Let us response again with a fix soon.

@shenyanmei2020 Sorry for delayed response, and thank you for reporting. This is expected and we need to change the tutorial code. Let us response again with a fix soon.
Can you update the latency comparison between using ark and not using it in existing examples, e.g., Llama demo?


Project: WordDocCreateUpload

Project name
WordDocCreateUpload
Description
This is a console application which demonstrates creating and uploading a word document to OneDrive using Microsoft Graph.
From this app, you can browse the folders in your OneDrive directory to set an upload location. You can then create a word document with a single run and upload it to that destination.
The problem this application solves is my lack of knowledge with Microsoft Graph. I've learned a lot over the past two weeks and am grateful for the experience. Thank you!
Repo URL
https://github.com/MrMoo2000/WordDocCreateUpload
Team members
MrMoo2000

Thank you for your submission @MrMoo2000!


Signed-off-by: Viraj Jasani<EMAIL_ADDRESS>Signed-off-by: Sean Busbey<EMAIL_ADDRESS>(cherry picked from commit efa4fe901a3c050b0db087c45d47d250c7ca1039)

@busbey for branch-2, FYI.

thanks for the quick turn around @bharathv!

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
2m  3s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 7 new or modified test files.

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 17s
branch-2 passed

+1 :green_heart:
compile
1m 26s
branch-2 passed

+1 :green_heart:
checkstyle
1m 59s
branch-2 passed

+1 :green_heart:
shadedjars
4m 27s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m  3s
branch-2 passed

+0 :ok:
spotbugs
3m 33s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
4m 48s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m  3s
the patch passed

+1 :green_heart:
compile
1m 24s
the patch passed

+1 :green_heart:
javac
1m 24s
the patch passed

-1 :x:
checkstyle
1m 20s
hbase-server: The patch generated 1 new + 27 unchanged - 0 fixed = 28 total (was 27)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 22s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
15m 38s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
1m  0s
the patch passed

+1 :green_heart:
findbugs
4m 36s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
3m 34s
hbase-client in the patch passed.

+1 :green_heart:
unit
159m 56s
hbase-server in the patch passed.

+1 :green_heart:
asflicense
0m 51s
The patch does not generate ASF License warnings.

226m 43s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-940/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/940

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 594ec439ee1c 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-940/out/precommit/personality/provided.sh

git revision
branch-2 / f9abaee50c

Default Java
1.8.0_181

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-940/1/artifact/out/diff-checkstyle-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-940/1/testReport/

Max. process+thread count
4672 (vs. ulimit of 10000)

modules
C: hbase-client hbase-server U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-940/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 39s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 7 new or modified test files.

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 16s
branch-2 passed

+1 :green_heart:
compile
1m 19s
branch-2 passed

+1 :green_heart:
checkstyle
1m 58s
branch-2 passed

+1 :green_heart:
shadedjars
4m 14s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 59s
branch-2 passed

+0 :ok:
spotbugs
3m 24s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
4m 35s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 54s
the patch passed

+1 :green_heart:
compile
1m 22s
the patch passed

+1 :green_heart:
javac
1m 22s
the patch passed

+1 :green_heart:
checkstyle
0m 37s
The patch passed checkstyle in hbase-client

+1 :green_heart:
checkstyle
1m 18s
hbase-server: The patch generated 0 new + 26 unchanged - 1 fixed = 26 total (was 27)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 11s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
15m 19s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
1m  1s
the patch passed

+1 :green_heart:
findbugs
4m 46s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
3m 32s
hbase-client in the patch passed.

+1 :green_heart:
unit
158m  2s
hbase-server in the patch passed.

+1 :green_heart:
asflicense
1m  0s
The patch does not generate ASF License warnings.

222m  0s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-940/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/940

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux f7b1bc60c7b7 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-940/out/precommit/personality/provided.sh

git revision
branch-2 / acb6b7c1a9

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-940/2/testReport/

Max. process+thread count
4806 (vs. ulimit of 10000)

modules
C: hbase-client hbase-server U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-940/2/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

okay let me update the signed-off-by list and merge this to the last few branches.

Thanks for the reviews.


OpenExr Error

Hello I get following Error and cant fix it any ideas? thanks
Building wheel for OpenEXR (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
Looking for libOpenEXR...
cl : Command line warning D9002 : ignoring unknown option '-g'
OpenEXR.cpp
OpenEXR.cpp(36): fatal error C1083: Cannot open include file: 'ImfIO.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for OpenEXR
Running setup.py clean for OpenEXR
Failed to build OpenEXR
ERROR: Could not build wheels for OpenEXR, which is required to install pyproject.toml-based projects

It needs an OpenEXR to run.
I believe Conda should handle OpenEXR automatically.
Please follow our Getting started

But in case you are really out of luck with Conda. Another method is to use the pre-compiled library instead of install from the source.
pip install pipwin
pipwin install openexr

sudo apt-get install libopenexr-dev zlib1g-dev
pip install  OpenEXR
It works for me.

If you use conda environment, try
conda install -c conda-forge openexr openexr-python

im still getting an openexr error after all your suggestions
`Building wheels for collected packages: OpenEXR
Building wheel for OpenEXR (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [5 lines of output]
Looking for libOpenEXR...
cl : Command line warning D9002 : ignoring unknown option '-g'
OpenEXR.cpp
OpenEXR.cpp(36): fatal error C1083: Cannot open include file: 'ImfIO.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for OpenEXR
Running setup.py clean for OpenEXR
Failed to build OpenEXR
ERROR: Could not build wheels for OpenEXR, which is required to install pyproject.toml-based projects`

@Damojan  Please try pipwin or conda-forge that mention in the above comment
If you still cannot make it work, here is your solution
1. Using Linux
This repo is develop on Linux. probably less problematic than using Windows
2. Try Visions of Chaos
DiffusionLight added to Visions of Chaos. An easy-to-use interface for Generative AI. Once you have installed Visions of Chaos you can select Mode > Search and then type DiffusionLight
Download Visions of Chaos


update docs to include firefoxmobile/fenix, do release

done in https://github.com/seanbreckenridge/browserexport/commit/1aca06a742b753ef49cd4504ca9297f5b6f83730