Getting 403 again

Describe the bug
Am getting 403 as of yesterday (?), perhaps the day before. Anyone else experienced this?
// Some code from my repo
  const info = await ytdl.getInfo(videoId);

  const format = ytdl.chooseFormat(info.formats, {
    quality: "lowestvideo",
  });

  const readableStream = ytdl.downloadFromInfo(info, { format });

// MinigetError: Status code: 403

This happens for every video that I've tried, maybe 20 so far.
Debug File

Environment

@distube/ytdl-core version: 4.13.5
Node.js version: 20
Operating system: Alpine Linux

Do you not use agents?

Do you not use agents?

I don't! Care to elaborate how that helps?
And do you think that helps this functionality from breaking?

Do you not use agents?

I don't! Care to elaborate how that helps?
And do you think that helps this functionality from breaking?

readme.md

Please upload your file, this bug should be fixed on latest version (4.13.5)

403 mostly due to not using cookies, it is required due to youtube recent changes.
Anyway, duplicated of #31

Do you not use agents?

I don't! Care to elaborate how that helps?
And do you think that helps this functionality from breaking?

readme.md

To be fair, I've read the README several times, and it mentions proxies, cookies and agents, but not in which way that helps the project to not break. Maybe I'm missing something...
Also, did you just post this and followed up by reacting to your own post? That's funny 😍
In any case, I'll try to see what I can do with cookies and agents. Thanks.

Exactly the same issue here. With agent and cookies credentials.
Error message I get:
Please report this issue with the "1722448515528-base.js" file on https://github.com/distubejs/ytdl-core/issues.

[Nest] 78967  - 07/31/2024, 7:55:15 PM   ERROR Error: Status code: 403

@skick1234 I've started using a generated cookie (same one since a couple days back), and it worked for a while, but now it's broken 100% of the time it seems.
export async function downloadVideo(videoId: string, outputDir: string) {
  const agent = ytdl.createAgent([YT_LOGIN_INFO_COOKIE]);
  const info = await ytdl.getInfo(videoId, { agent });

  const format = ytdl.chooseFormat(info.formats, {
    quality: "lowestvideo",
  });

  const readableStream = ytdl.downloadFromInfo(info, { agent, format });

  const videoPath = path.join(outputDir, `video.${format.container}`);
  await fs.writeFile(videoPath, readableStream);
  return videoPath;
}

Is there anything else I can do to make this more robust? Because otherwise I'll probably nuke this part of my app.
Disclaimer: I'm using the stream to generate thumbnails.

@dhakan Same problem. Using cookies/proxy is not resolve. most videos still 403.
@skick1234 Learn issue deeper. Full working example https://github.com/LuanRT/YouTube.js


Verify the signature in the PP

Verification in the PP of the signature that comes with the CDK submission (batch_header aka multi_batch_header aka certificate)

Closed by #211


[Feature] [Agent] pull public domain from agent to agent common

Description
pull public domain from agent to agent common
Use case
No response
Are you willing to submit PR?

[X] Yes, I am willing to submit a PR!

Code of Conduct

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

Due to structural changes，the issue is no need


Added Netduino 3 Wifi onboard blue LED

Verified and tested as of today. Had to look for a while, finally found the pin through Abstract.IO which helped a ton: https://github.com/steffalk/AbstractIO

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


x/pkgsite: document links extraction feature

What is the URL of the page with the issue?
<EMAIL_ADDRESS>What did you do?
See a Links section in the package godoc https://gitlab.com/cznic/fsm/-/blob/v1.1.2/nfa.go#L20
What did you expect to see?
Links section in the rendered documentation
What did you see instead?
No links and no sidebar
Additional Info
This was reported in slack: https://gophers.slack.com/archives/C0166L4QGJV/p1682761965985609
CL 274958 added support for extracting links to show in the sidebar as part of #42968 .
But it's not really documented anywhere
and it silently drops the entire section if the format doesn't match

Here is the section of the documentation that should be enhanced: https://go.dev/doc/comment#links

@seankhliao The list of links should probably not be indented.


Rework abstraction between endpoints and handlers

Only handlers should 'talk' http ; Endpoints should only take POJO/record in parameters
Right now, endpoints still expect an HttpRequest as input, meaning unit testing is hard

Already done.


Add run_exports

Checklist

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

@conda-forge-admin, please rerender

The run_exports feature can be used to specify the versions that are ABI compatible with the built version. Here I assume that 0.49.0 is ABI compatible to 0.49.X and so on. https://conda-forge.org/docs/maintainer/pinning_deps.html#specifying-run-exports

Here I assume that 0.49.0 is ABI compatible to 0.49.X and so on

In practice we have much better ABI compatibility than that (meaning a program compiled against an older libflux-core will usually work with a newer version), however, flux-core exports a very large C and Python API so your choice here may be safest.


Updated Events list

Information about GSoD'23.

Note, your pull request was still badly formatted JSON, I ended up making the necessary changes, and I'll merge it.
Tips: You don't need to close the pull request when you have any changes, just push.


CBS.com not working

E:\apps\mh>youtube-dl --verbose http://www.cbs.com/shows/the-late-show-with-stephen-colbert/video/U6B47sA7bcL1OliOF9n_i6_llXVZLM6r/the-late-show-3-17-2016-william-h-macy-melissa-rauch-isaac-mizrahi-/
[debug] System config: []
[debug] User config: [u'--no-continue', u'-f', u'best', u'--all-subs', u'--call-home']
[debug] Command-line args: [u'--verbose', u'http://www.cbs.com/shows/the-late-show-with-stephen-colbert/video/U6B47sA7bcL1OliOF9n_i6_llXVZLM6r/the-late-show-3-17-2016-william-h-macy-melissa-rauch-isaac-mizrahi-/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.03.14
[debug] Python version 2.7.10 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-76419-gdee7440, rtmpdump 2.5
[debug] Proxy map: {}
[debug] Public IP address: <IP_ADDRESS>
[CBS] the-late-show-3-17-2016-william-h-macy-melissa-rauch-isaac-mizrahi-: Downloading webpage
[ThePlatform] of9zYH1kUpJS: Downloading SMIL data
Traceback (most recent call last):
File "main.py", line 19, in
File "youtube_dl_init_.pyo", line 412, in main
File "youtube_dl_init_.pyo", line 402, in _real_main
File "youtube_dl\YoutubeDL.pyo", line 1719, in download
File "youtube_dl\YoutubeDL.pyo", line 679, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 736, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 668, in extract_info
File "youtube_dl\extractor\common.pyo", line 320, in extract
File "youtube_dl\extractor\theplatform.pyo", line 234, in _real_extract
File "youtube_dl\extractor\theplatform.pyo", line 34, in _extract_theplatform_smil
File "youtube_dl\extractor\common.pyo", line 501, in _download_xml
File "youtube_dl\compat.pyo", line 248, in compat_etree_fromstring
File "youtube_dl\compat.pyo", line 237, in _XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
xml.etree.ElementTree.ParseError: syntax error: line 1, column 0
E:\apps\mh>youtube-dl -U
youtube-dl is up-to-date (2016.03.14)

will be fixed in the next version(4c92fd2e835cde89866d3dfb1fc05d23196b19db).


[Issue#35] Move from Node Express jade template to static index html file

Node Express Jade template system is being replaced with static html files.
Update Gulp tasks to build and watch accordingly
New Favicon
https://github.com/crowbar/crowbar-angular/issues/35

LGTM +1

Good to go.


[MWPW-147975]Wayfinder

Describe your specific features or fixes
Adds the wayfinder block as outlined below.
Resolves: https://jira.corp.adobe.com/projects/MWPW/issues/MWPW-147975?filter=myopenissues
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/
After: https://wayfinder--express--adobecom.hlx.page/drafts/echen/wayfinder

I know it doesn't mean much for a block like this, but let's still create some unit tests and if not enough time, create a tech debt ticket to add tests.


"fieldProps" exposed from "onChange" method handler are one step behind

What
It seems that fieldProps Object of a custom field inside onChange handler is one step behind the actual state of the field. The issue may be relative to fields Object as well.
Why
This issue is caused by the sequence of method within Form.handleFieldChange:
const { nextFieldProps } = await this.updateField();

appropriateValidation();

onChange({ fieldProps: nextFieldProps });

What is required is for onChange callback to accepts the props after the appropriateValidation() finished.

It is troublesome right now to await the debounced validation, as that is a sync function which doesn't return the same payload as Form.validateField().

The changelog is listed in the pull request to this issue.
Merged and published under 0.19.4. Closing.


Controls should be read-only

The Summary Report currently gives the impression that values can be edited, because it appears that  values can be changed on the widget panel:

These controls should be read-only so that users aren't tempted to change values or confused by the impression that it is possible to do so.

Being able to make temp edits to the values for the duration of the session was supported in the previous WPF release. It should work here now as well. There was an issue with pulling the local updates for non-Note fields that is handled in the commit referenced above.


React component only allows getting specific discussion number

Describe the bug A clear and concise description of what the bug is.
Trying to use the React component. All attempted mappings fail with "discussion not found" even though I know it exists.
Posting a new comment creates a new discussion but even that does not show up on refresh.
To Reproduce Steps to reproduce the behavior:

Add react component
Use any mapping aside from number

Expected behavior Should work
Desktop (please complete the following information):

OS: MacOS Big Sur
Browser: Chrome
Version: Version 92.0.4515.131 (Official Build) (x86_64)

Hey, sorry for getting back so late, for some reason I wasn't subscribed to the repo.
Could you try checking the Network tab in your browser's DevTools and see the query sent to the API? What's the term in the query?

Hey @laymonage, I think I ran into a similar problem. The React component wasn't even creating a comment, so no discussion.
In the end, I took a look at how you implemented it on your own website and applied it to mine, which works.
In my case the term was technos%2Farticles%2Fdeno but I'm not sure that the problem comes from it, as it works with a vanilla JS version.
(thanks for Giscus BTW, using GH Discussions as a DB is smart)

I just tested latest version (v1.1.0) using a freshly-generated React project with Vite and everything seems to work. Could you confirm?

Please try with v2.0.0 and report back if the issue still happens.


BF: set $USER to output of whoami if env var USER is not defined

Current use case is a singularity image, which is ran with -e to avoid side
effects from env vars on the host box.  But USER variable is often used/relied
upon different tools. Immediate use case - FSL 6.0.1
$ DISPLAY=:0 fsl
Error in startup script: can't read "env(USER)": no such variable
    while executing
"set USER       $env(USER)"
    (file "/opt/fsl-6.0.1/tcl/fslstart.tcl" line 6)
    invoked from within
"source [ file dirname [ info script ] ]/fslstart.tcl"
    (file "/opt/fsl-6.0.1/tcl/fsl.tcl" line 71)
    invoked from within
"source ${FSLDIR}/tcl/${origname}.tcl"
    (file "/opt/fsl-6.0.1/bin/fsl" line 22)

but I thought it would generally be useful and should not have
side-effects, that is why added to the generic startup script.
The only concern I just got is reprozip minimized images -- would they
have whoami?  But even then, the situation should not be grave since
whoami seems to be not executed if USER is defined, so should generally
work ;)

actually hold on -- not good enough. will adjust

Codecov Report

Merging #270 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #270   +/-   ##
=======================================
  Coverage   81.15%   81.15%
=======================================
  Files          33       33
  Lines        1555     1555
  Branches      167      167
=======================================
  Hits         1262     1262
  Misses        214      214
  Partials       79       79

Continue to review full report at Codecov.

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

Codecov Report

Merging #270 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #270   +/-   ##
=======================================
  Coverage   81.15%   81.15%
=======================================
  Files          33       33
  Lines        1555     1555
  Branches      167      167
=======================================
  Hits         1262     1262
  Misses        214      214
  Partials       79       79

Continue to review full report at Codecov.

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

thanks, @yarikoptic!


Rotation and flipping custom tile collision shape

Version

Phaser Version: 3.16.1
Tiled Version: 1.2.2
Operating system: Windows 10
Browser: Opera

Description
When tile that have custom collision shape (applied by Tiled collision editor), rotated or flipped (with Tiled map editing or maybe even in code), it is not affected on Matter body shape.
Example Test Code
handling tile map created in Tiled, and applied Matter physics to it:
const map = this.make.tilemap({key: 'level'})
const tilesetMain = map.addTilesetImage('main')
const main = map.createStaticLayer('main', tilesetMain, 0, 0)
main.setCollisionByExclusion(-1)
this.matter.world.convertTilemapLayer(main)

Additional Information
As a temporary solution I use this code for rotating:
main.layer.data.forEach((row) => {
    row.filter((tile) => tile.physics.matterBody && tile.physics.matterBody.body.label === 'Body') // Tiles with editing collision
        .filter((tile) => tile.rotation > 0)
        .forEach((tile) => {
            const matterBody = tile.physics.matterBody.body
            const angle = tile.rotation
            const rotationPoint = {
                x: tile.pixelX + tile.width / 2,
                y: tile.pixelY + tile.height / 2,
            }
            Phaser.Physics.Matter.Matter.Body.rotate(matterBody, angle, rotationPoint)
        })
})

But I'm not sure how correctly to flip Matter tile body shape.

Hi,
Thanks for the rotation tip! Here is how you can fix the Flipping:
if (tile.flipX || tile.flipY) {
  let rotationPoint = {x: tile.getCenterX(),
                       y: tile.getCenterY()}
  let scaleX = 1;
  let scaleY = 1;
  if (tile.flipX) {scaleX = -1}
  if (tile.flipY) {scaleY = -1}
  Phaser.Physics.Matter.Matter.Body.scale(matterBody,
                                          scaleX,
                                          scaleY,
                                          rotationPoint);
}

Of course, the scale workaround! I guess I should have realized it.
Thank you @phaserhelp!

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.


proper fix needed for duplicate endpoints / multipleobjects returned

As described in #3612 multiple endpoint objects can be returned during re_import. This was somewhat fixed in #3531 But only for UI reimports and not for the API. And it would be better to find out / fix the issue at the core, i.e. more db constraints at the EndPoint model and/or better create/insert logic.

This was fixed in #4473. But please double-check.

Can we close this issue?


Limit number of agents shown in agent pick rate table

Make expandable? ("view more")

Implemented in https://github.com/ericljiang/premier-playoff-helper/commit/de4a3a5fe3f392e92a58842142aae3b924b3c143


[#860] gke terraform

Infrastracture provisioning at GCP with terraform

bot, test gcp infra

bot, test app


World Gen Cube Tweaks/Cleanup

This PR does the following:
-Removes duplicate fields/methods from CC and uses the vanilla variants instead.
-Some optimizations(faster light engine iteration & fewer sections in the Noise/Surface/Carver stage cubes (NoiseAndSurfaceBuilderHelper)
-Implements some missing methods properly
WIP at this time

To be done in https://github.com/OpenCubicChunks/CubicChunks2


Fix menu dropdown for mobiles

Added Darren's CSS to fix menu drop down bug for mobile views
New PR for master instead of feature branch
https://regulatorydelivery.atlassian.net/browse/PSD-1298

Happy with the SCSS fix, will approve once the underlying issue with the smoke test/deployments is resolved.


Add all extension images

@GarboMuffin Here are the images COMPLETED.

Extension thumbnails need to be 600x300 SVGs. Furthermore it's preferred that you don't put the name of the extension in the thumbnail, since you only need to look an inch down to see it.

I will do this on my own


Update documentation

@kdheepak sent link to HELICS development team. Provides Sphinx high-level info and Docygen for API


Update Docker ELK build instructions

Current instructions are outdated relying on virtual box or hyper-v, not internal docker vm managers.

Updated


Callback exception handling

This adds several unit-tests around subscribe() handling, simplifies the callback-invoking code, handles an error-case with duplicate subscription IDs and suggests a way to handle exceptions coming from "user"/callback code (but only covers the case of such an error in a publish() callback).
Note this is a re-squashed version of #352 after I got Travis-CI to be happy.

Cool!! Most of the patch looks good and I'd like to merge ...

Okay, I'll fix the fact that subscription IDs should be the same for the same topic.
For logging, what if I just put "traceback.print_exc" as the default implementation of onUserError (better name here?) and then only Twisted gets a custom override?

Not sure why the timestamps are old on that last commit.
Want me to re-squash?


Use CUE to describe a Definition

Background
Currently, the Definition object is a pure YAML file but blended with CUE raw string:
https://github.com/oam-dev/kubevela/blob/b124873fd73b8c1ca02a351fc8d4dbb2ee00fca1/charts/vela-core/templates/defwithtemplate/webservice.yaml#L2-L19
This is not very user-friendly. We shouldn't let user write such YAML.
Proposal
We should use CUE to describe a Definition, and then provide CLI tool to parse them into k8s object.
Here's an example. In user's IDE, a definition would be a folder:
definitions/
|
|-- webservice/
    |
    |-- kube.cue # Optional. We can still infer from folder name.
    |-- schema.cue

kube.cue would look like:
metadata: kube.metadata & {
  name: "webservice"
}

spec: kube.definitionSpec & {
  workload:
    apiVersion: "apps/v1"
    kind: "Deployment"
}

schema.cue would look like:
output: {
	apiVersion: "apps/v1"
	kind:       "Deployment"
	spec: {
		selector: matchLabels: {
			"app.oam.dev/component": context.name
			if parameter.addRevisionLabel {
				"app.oam.dev/appRevision": context.appRevision
			}
		}
...
}

parameter: {
	// +usage=Which image would you like to use for your service
	// +short=i
	image: string

	// +usage=Commands to run in the container
	cmd?: [...string]
...
}

Then provide CLI or script to blend them together to generate definition object.

Seems the way how our built-in templates are assembled is more friendly

├── cue
│   ├── annotations.cue
│   ├── cpuscaler.cue
│   ├── expose.cue
│   ├── ingress.cue
│   ├── labels.cue
│   ├── scaler.cue
│   ├── service-binding.cue
│   ├── sidecar.cue
│   ├── task.cue
│   ├── webservice.cue
│   └── worker.cue
├── definitions
│   ├── annotations.yaml
│   ├── cpuscaler.yaml
│   ├── expose.yaml
│   ├── ingress.yaml
│   ├── labels.yaml
│   ├── scaler.yaml
│   ├── service-binding.yaml
│   ├── sidecar.yaml
│   ├── task.yaml
│   ├── webservice.yaml
│   └── worker.yaml

Everyone is familiar with the yaml section.

Should definitions like helm or Terraform use CUE?

This is a ComponentDefinition of Terraform OSS, currently it has nothing to do with CUE.
apiVersion: core.oam.dev/v1alpha2
kind: ComponentDefinition
metadata:
  name: alibaba-oss
  annotations:
    definition.oam.dev/description: Terraform configuration for Alibaba Cloud OSS object
    type: terraform
spec:
  workload:
    definition:
      apiVersion: terraform.core.oam.dev/v1beta1
      kind: Configuration
  schematic:
    terraform:
      configuration: |
        resource "alicloud_oss_bucket" "bucket-acl" {
          bucket = var.bucket
          acl = var.acl
        }

        output "BUCKET_NAME" {
          value = "${alicloud_oss_bucket.bucket-acl.bucket}.${alicloud_oss_bucket.bucket-acl.extranet_endpoint}"
        }

        variable "bucket" {
          description = "OSS bucket name"
          default = "vela-website"
          type = string
        }

        variable "acl" {
          description = "OSS bucket ACL, supported 'private', 'public-read', 'public-read-write'"
          default = "private"
          type = string
        }

It is good idea that Use cue to manage the definition through the command line
Solution 1:
The ‘definition’ sub-command should be supported, for example
// get definition from vela
vela definition get componentDefinition/webservice  --format=cue

// generate definition
vela definition apply ./

// validate...and output the rendered result
vela definition validate --input-file=./params.cue

Solution 2:
Users can extend the capabilities of vela command line by customizing tasks
---tasks/comp.cue---
import (
    "vela/op"
 )

     loadmeta: op.#Load & {
           source: "./meta.cue"
           format: "CUE"
           out: {}
     }
    loadSchema: op.#Load & {
           source: "./schema.cue"
           format: "Text"
           out: string
   }
   validate: op.#Script & {
           base: loadmeta.#validate
           script:  loadSchema.out
           out: loadmeta.#validate.except
  }
   export: op.#Export & {
          apiVersion: "core.oam.dev/v1beta1"
          kind: "ComponentDefinition"
          metadata:  name: loadmeta.out.name
         spec: workload: definition:  loadmeta.out.spec.workload
         schematic:
            cue:
                template: "\(loadSchema.out)"
  }

---schema.cue---
context: _

output: {
	apiVersion: "apps/v1"
	kind:       "Deployment"
	spec: {
		selector: matchLabels: {
			"app.oam.dev/component": context.name
			if parameter.addRevisionLabel {
				"app.oam.dev/appRevision": context.appRevision
			}
		}
...
}

parameter: {
	// +usage=Which image would you like to use for your service
	// +short=i
	image: string

	// +usage=Commands to run in the container
	cmd?: [...string]
...
}

----./meta.cue----
 #metadata:  {
    name: "webservice"
    workload: {
         apiVersion: "apps/v1"
         kind: "Deployment"
   }
}

#validate: {
  context: {...}
  paramter: {...}
  except: {...}
}

 webservice/
    |
    |-- meta.cue
    |-- schema.cue

vela task  run --name=comp

@wonderflow , @zzxwill follow up comments regarding to your thoughts on Terraform components:

Should definitions like helm or Terraform use CUE?

Yes, exactly. All components, traits, workflow steps should be CUE modules, and I don't even think a K8s entity wrapper is needed for X-Definitions (could be fixed later of course).
Also, I don't think embedding  HCL in ComponentDefinition is a reasonable approach for long run. The Terraform component should also be a generic definition like what I proposed for Helm component: it should reference Terraform modules from registry or GitHub repo. Users should be able to compose, debug, test their Terraform modules like how they do today, and when they want to deploy the whole unit (i.e. the full app + infra), they go to KubeVela. They should not be exposed to another layer of complex like defining ComponentDefinition for given cloud service.
I noticed this issue is still focusing on web service etc - they will become niche features in upcoming v1.1~1.2 releases, more like toy demos to show how to glue raw k8s resources together w/o helm or kustomize.

There have been some offline discussion I had with @Somefive . Let me sum it up here:

Previously we want to unify them in a single format, and we think CUE can do that. But over time we found users have difficulty in understanding CUE well enough to do anything. We think that using CUE is a bad way to unify it.
There are two parts in a Definition: CUE glue code and the metadata.
The CUE compartment is flexible for any user input, and we couldn't predefine it. We should keep this part as is and let user provide text or file input.
The metadata part is static. For this part, we can provide a better interface for users. For example, in UI, we can provide forms; in CLI, we can use flags or questions.


feat: Make pile_load_uls optional

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
44 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.01%) to 86.324%

Files with Coverage Reduction
New Missed Lines
%

results/post_processing.py
6
91.53%

results/grouper_result.py
14
88.0%

input/grouper_properties.py
24
21.74%

Totals

Change from base Build<PHONE_NUMBER>2:
0.01%

Covered Lines:
2001

Relevant Lines:
2318

💛  - Coveralls


Bundle docker into the kpt image

Ref #226, bundle docker into the kpt image to enable kpt fn run in containers.

@mortent @Liujingfang1 @monopole @frankfarzan


Add ability to swap Wilderness Obelisk options

For those that have completed the Wilderness hard diaries you might want to be able to left-click "Set destination" or "Teleport to destination".

Added in external plugin Menu Swapper Extended


Variables: location - improve estimation

When the GPS signal is missing for a sample (>30% of time) currently the location (home, not home) is assumed to be same as the last non-missing GPS signal. This imputation procedure could be greatly improved by using a probabilistic model of location taking into account previous and future known locations, time, charging current, etc.

May need to revisit home/not-home coding - @raffertyparker seems to be seeing some fast charging 'at home'?

Yes, issues with GPS data and code that have to do work on.


(fix) campaign_retval type error

campaign_retval sometimes is str or None.
Before submitting this PR, please make sure:

[ ] Your code builds clean without any errors or warnings
[ ] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
2021-07-30 07:20:33,632 - 5266 - hummingbot.connector.parrot - ERROR - Unexpected error while requesting data from Hummingbot API.
Traceback (most recent call last):
File "/home/clint_g/hb-general/hummingbot/connector/parrot.py", line 32, in get_campaign_summary
campaigns = await get_active_campaigns(exchange, trading_pairs)
File "/home/clint_g/hb-general/hummingbot/connector/parrot.py", line 70, in get_active_campaigns
for market in campaign_retval["markets"]:
TypeError: string indices must be integers
campaign_retval sometimes is str or None. By adding campaign_retval type detection to prevent errors during operation
Tests performed by the developer:
During operation, the above prompt will no longer appear
Tips for QA testing:
┆Issue is synchronized with this Clickup task by Unito

This seems to be a fix for this bug https://github.com/CoinAlpha/hummingbot/issues/3823
@KimChow thanks for contributing. We have other pull requests from the community that are under code review now then we'll look into this. For now, please add unit tests coverage as part of the contribution requirements.

This test coverage, I don't know how it should be. In actual tests, it is found that sometimes the returned result may only be characters or other types that cause errors. The way I can think of is to separate the request and specify the data type separately for unit testing during testing.

Hello @KimChow
The Hummingbot Foundation just started the governance process for the community to approve or reject Pull Requests through Pull Request Proposals.
For more information about how PRP votes work, check this page: https://hummingbot.org/governance/prp/
We want to know if you still have interest in having your Pull Request merged into the main codebase.
If so, please check the following on your Pull Request for our team to be able to open it for community voting:

Your Pull Request is targeted to the development branch
Your branch is up to date with the current development branch
All GitHub checks have passed
There is no merging conflicts

If you have any questions or need any help, feel free to reach us out on the #dev-general channel on our Discord (https://discord.gg/HAgZ79nzU4)

If you have no interest in merging this PR to our code-base or don't reply to this comment in 30 days, the Foundation team will close this PR.
You can still create a new PR any time you want!
Thank you for contributing to Hummingbot Client!

Closing this PR as the developer has not responded and created a PRP.


Remove duplicate setup keys for IcepakSteadyState.

@MaxJPRey @SMoraisAnsys
I think we need to keep them.
They are there because Icepak has 3 different setups fro Transient (36,37,38)

@Samuelopez-ansys @lorenzovecchietti OK, got it.


MNT: Re-rendered with conda-build 3.17.8, conda-smithy 3.3.2, and con…

…da-forge-pinning 2019.03.17

Checklist

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

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


Investigate and implement protobuf tree shaking on apps

We have seen reduction in app sizes from 40MB to 6MB on certain apps when protobuf tree shaking is enabled, need to investigate if the same tree shaking can be enabled for all apps.

https://dart-review.googlesource.com/c/sdk/+/98781 from @alexmarkov has integrated the protobuf tree shaker functionality.


Add rtl prop to the ContextMenu Component

This PR will

Fix https://github.com/vkbansal/react-contextmenu/issues/100
Add the rtl boolean prop to the ContextMenu component. This will cause the ContextMenu to prefer rendering on the left side of the cursor.
Amend the rtl example to demo this behaviour.

Anything that you feel is blocking merging this one @vkbansal ? I see codeclimate check is not passing but it seems it hasn't been for other PRs in a while!

Sorry, I'm busy with my day job.

I completely understand, thank you for taking the time to maintain this project!


lastModifiedDateTime is getting showing incorrect data incremented with ~7hrs for /recent API

Category

[ ] Question
[ ] Documentation issue
[x] Bug

Expected or Desired Behavior
lastModifiedDateTime should not be getting updated for any number of API request if file has not been updated.
Observed Behavior
We found out that lastModifiedDateTime is getting incremented with ~7hrs in the Recent API response for some files leading to incorrect data in the API response.
Correct JSON response::
{
<EMAIL_ADDRESS>"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)",
  "value": [
   {
<EMAIL_ADDRESS>"#microsoft.graph.driveItem",
      "createdDateTime": "2021-06-10T07:50:01Z",
      "id": "01MXPHU765UBVKR3XTVVGKCBO7UXQZXLZP",
      "lastModifiedDateTime": "2021-06-14T09:50:11Z",
      "name": "https_168 1 2 3 17 15 1_compressed.pdf",
      "size": 27078,
      "webUrl": "https://example-my.sharepoint.com/personal/example/Documents/https_168%201%202%203%2017%2015%201_compressed.pdf",
      "createdBy": {
        "user": {
          "displayName": "Alex Martin",
          "email"<EMAIL_ADDRESS>        }
      },
      "lastModifiedBy": {
        "user": {
          "displayName": "Alex Martin",
          "email"<EMAIL_ADDRESS>        }
      },
      "parentReference": {
        "driveId": "b!o1n07zWl-0uQ4XP5n4IP1EMRefWvsQzFCqBBTKM-Jc1AG70eFLLQoRoItdlCQU0IC",
        "driveType": "business",
        "id": "01MXPHU756Y2GOVW7725BZO354PWSELRRZ"
      },
      "file": {
        "mimeType": "application/pdf"
      },
      "fileSystemInfo": {
        "createdDateTime": "2021-06-10T07:50:01Z",
        "lastModifiedDateTime": "2021-06-14T09:50:11Z",
        "lastAccessedDateTime": "2021-06-14T13:50:58Z"
      },
      "remoteItem": {
        "createdDateTime": "2021-06-10T07:50:01Z",
        "id": "01MXPHU765UBVKR3XTVVGKCBO7UXQZXLZP",
        "lastModifiedDateTime": "2021-06-14T09:50:11Z",
        "name": "https_168 1 2 3 17 15 1_compressed.pdf",
        "size": 27078,
        "webDavUrl": "https://example-my.sharepoint.com/personal/example/Documents/https_168%201%202%203%2017%2015%201_compressed.pdf",
        "webUrl": "https://example-my.sharepoint.com/personal/example/Documents/https_168%201%202%203%2017%2015%201_compressed.pdf",
        "createdBy": {
          "user": {
            "displayName": "Alex Martin",
            "email"<EMAIL_ADDRESS>          }
        },
        "file": {
          "mimeType": "application/pdf"
        },
        "fileSystemInfo": {
          "createdDateTime": "2021-06-10T07:50:01Z",
          "lastModifiedDateTime": "2021-06-14T09:50:11Z",
          "lastAccessedDateTime": "2021-06-14T13:50:58Z"
        },
        "lastModifiedBy": {
          "user": {
            "displayName": "Alex Martin,
            "email"<EMAIL_ADDRESS>          }
        },
        "parentReference": {
          "driveId": "b!o1n07zWl-0uQ4XP5n4IPEMRefWvsQzFCqBBTKM-Jc1AG70eFLLQoRoItdlCQU0IC",
          "driveType": "business",
          "id": "01MXPHU756Y2GOVW7725BZO354PWSELRRZ"
        },
        "sharepointIds": {
          "listId": "8547ef06-b42c-4628-822d-765090534202",
          "listItemId": "3043",
          "listItemUniqueId": "a86aa0dd-f3ee-4cad-a105-dfa5e19baf2f",
          "siteId": "eff459a3-a535-4bfb-90e1-73f99f820f10",
          "siteUrl": "https://example-my.sharepoint.com/personal/example",
          "webId": "6b7d5ec4-43ec-4231-a810-5328cf897350"
        }
      }
    }
  ]
}

Cache-Control: no-cache
client-request-id: ee083e3b-41d6-463d-94cc-20a62530be39
Content-Encoding: gzip
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Mon, 14 Jun 2021 14:30:05 GMT
OData-Version: 4.0
request-id: bf55a78a-5c04-4f2a-8359-1c6efe256560
Strict-Transport-Security: max-age=31536000
Transfer-Encoding: chunked
Vary: Accept-Encoding
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"South India","Slice":"E","Ring":"2","ScaleUnit":"001","RoleInstance":"MA1PEPF0000146C"}}

Accept: */*
Accept-Encoding: gzip
Authorization: Bearer [PII REDACTED]
client-request-id: ee083e3b-41d6-463d-94cc-20a62530be39
Connection: Keep-Alive
Host: graph.microsoft.com
SdkVersion: graph-java/v2.10.0; graph-java-core/v1.0.9 (featureUsage=0), android/29
User-Agent: okhttp/3.14.9

InCorrect JSON response for same DriveID:
{
<EMAIL_ADDRESS>"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)",
  "value": [
    {
<EMAIL_ADDRESS>"#microsoft.graph.driveItem",
      "createdDateTime": "2021-06-10T14:50:01Z",
      "id": "01MXPHU765UBVKR3XTVVGKCBO7UXQZXLZP",
      "lastModifiedDateTime": "2021-06-14T16:50:11Z",
      "name": "https_168 1 2 3 17 15 1_compressed.pdf",
      "size": 27078,
      "webUrl": "https://example-my.sharepoint.com/personal/example/Documents/https_168%201%202%203%2017%2015%201_compressed.pdf",
      "createdBy": {
        "user": {
          "displayName": "Alex Martin",
          "email"<EMAIL_ADDRESS>        }
      },
      "lastModifiedBy": {
        "user": {
          "displayName": "Alex Martin,
          "email"<EMAIL_ADDRESS>        }
      },
      "parentReference": {
        "driveId": "b!o1n07zWl-0uQ4XP5n4IPEMRefWvsQzFCqBBTKM-Jc1AG70eFLLQoRoItdlCQU0IC",
        "driveType": "business",
        "id": "01MXPHU756Y2GOVW7725BZO354PWSELRRZ"
      },
      "file": {
        "mimeType": "application/pdf"
      },
      "fileSystemInfo": {
        "createdDateTime": "2021-06-10T14:50:01Z",
        "lastModifiedDateTime": "2021-06-14T16:50:11Z",
        "lastAccessedDateTime": "2021-06-14T14:38:13Z"
      },
      "remoteItem": {
        "createdDateTime": "2021-06-10T14:50:01Z",
        "id": "01MXPHU765UBVKR3XTVVGKCBO7UXQZXLZP",
        "lastModifiedDateTime": "2021-06-14T16:50:11Z",
        "name": "https_168 1 2 3 17 15 1_compressed.pdf",
        "size": 27078,
        "webDavUrl": "https://example-my.sharepoint.com/personal/example/Documents/https_168%201%202%203%2017%2015%201_compressed.pdf",
        "webUrl": "https://example-my.sharepoint.com/personal/example/Documents/https_168%201%202%203%2017%2015%201_compressed.pdf",
        "createdBy": {
          "user": {
            "displayName": "Alex Martin",
            "email"<EMAIL_ADDRESS>          }
        },
        "file": {
          "mimeType": "application/pdf"
        },
        "fileSystemInfo": {
          "createdDateTime": "2021-06-10T14:50:01Z",
          "lastModifiedDateTime": "2021-06-14T16:50:11Z",
          "lastAccessedDateTime": "2021-06-14T14:38:13Z"
        },
        "lastModifiedBy": {
          "user": {
            "displayName": "Alex Martin",
            "email"<EMAIL_ADDRESS>          }
        },
        "parentReference": {
          "driveId": "b!o1n07zWl-0uQ4XP5n4IPEMRefWvsQzFCqBBTKM-Jc1AG70eFLLQoRoItdlCQU0IC",
          "driveType": "business",
          "id": "01MXPHU756Y2GOVW7725BZO354PWSELRRZ"
        },
        "sharepointIds": {
          "listId": "8547ef06-b42c-4628-822d-765090534202",
          "listItemId": "3043",
          "listItemUniqueId": "a86aa0dd-f3ee-4cad-a105-dfa5e19baf2f",
          "siteId": "eff459a3-a535-4bfb-90e1-73f99f820f10",
          "siteUrl": "https://example-my.sharepoint.com/personal/example",
          "webId": "6b7d5ec4-43ec-4231-a810-5328cf897350"
        }
      }
    }
 ]
}

Cache-Control: no-cache
client-request-id: ee083e3b-41d6-463d-94cc-20a62530be39
Content-Encoding: gzip
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Date: Mon, 14 Jun 2021 14:30:05 GMT
OData-Version: 4.0
request-id: bf55a78a-5c04-4f2a-8359-1c6efe256560
Strict-Transport-Security: max-age=31536000
Transfer-Encoding: chunked
Vary: Accept-Encoding
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"South India","Slice":"E","Ring":"2","ScaleUnit":"001","RoleInstance":"MA1PEPF0000146C"}}

Accept: */*
Accept-Encoding: gzip
Authorization: Bearer [PII REDACTED]
client-request-id: ee083e3b-41d6-463d-94cc-20a62530be39
Connection: Keep-Alive
Host: graph.microsoft.com
SdkVersion: graph-java/v2.10.0; graph-java-core/v1.0.9 (featureUsage=0), android/29
User-Agent: okhttp/3.14.9

In the response it can be seen for driveItem  id:01MXPHU765UBVKR3XTVVGKCBO7UXQZXLZP, lastModifiedDateTime is "2021-06-14T09:50:11Z" and for the same driveItem this value is getting updated to "2021-06-14T16:50:11Z"(increase of ~7hrs) which is causing issue at our end.
These responses are taken within minutes which could not have caused an increase of ~7hrs in the timestamp.
Steps to Reproduce
Its happening most of the time after 4-5 API calls for 'https://graph.microsoft.com/v1.0/me/drive/recent' API.
For my Android Application, these are the following details:
ms_graph_version = '2.10.0'
android_gradle_plugin = '4.0.2'
Android Studio version = '4.1.1'
Thank you.
[ ]: http://aka.ms/onedrive-api-issues
[x]: http://aka.ms/onedrive-api-issues

@tusharaina92
Thanks for contacting us.
This appears to require more investigation.
If you have a support contact could you please work through them to file a support case for us to do further investigation on this issue.


Update keyvault recording path and proxy docs

Update the recording path in keyvault proxy start to the location including the assets.json config
Update test docs to show correct usage of recording.StartTestProxy

/azp run prepare-pipelines

/azp run go - azcertificates - ci

Not sure why the pipelines aren't auto-running here

/azp run go - keys - ci

/azp run go - azkeys - ci

/azp run go - azsecrets - ci

Not sure why the pipelines aren't auto-running here

Same thing happened with this pull request. Is there something wrong with the pipelines?

/azp run go - azkeys - ci


Support data types for different kinds of toric varieties

Say: AffineToricVariety, ProjectiveToricVariety, NormalToricVariety, ...

This was (at least in part) addressed in https://github.com/oscar-system/JToric.jl/pull/55.


Required project_id when in Control Center Enable Module

Issue: Can not enable Module
History: Enabled a module, went to two projects and enable the module in each project. Then I used the Control Center "Disable Module" to globally disable the module.   The module was disabled.  Went to enable module again in Control Center (not in project).  Error message is displayed:

Exception while enabling module: No project_id provided!
This module requests the following permissions:

The line of code that is executing is below in this function indicated by asterisks:
	public static function getData()
	{
		global $salt, $lang, $user_rights, $redcap_version, $edoc_storage_option,
			   $record_data_tmp_file, $record_data_tmp_filename, $record_data_tmp_line, $record_data_tmp_line_num;
		// Get function arguments
		$args = func_get_args();
		// Make sure we have a project_id
		**if (!is_numeric($args[0]) && !defined("PROJECT_ID")) throw new Exception('No project_id provided!');**

Yet I am in the control center: redcap/external_modules/manager/control_center.php
There should be no project ID in the URL in the control center at this point.
redcap_v7.6.10
The JSON for this external file does NOT have "system-settings": [ {"key": "system-project"
Final Issue: Unable to re-enable external module.

Within the custom external module is a call to REDCap::getData.
    private function get_data() {
        // Get the data
        $this->data = REDCap::getData($this->nih_pid, 'array', null, $this->get_fields, null);
    }

This method is called during the __construct() abbreviated below:
class NIHAnnualReport extends \ExternalModules\AbstractExternalModule {
  __construct() {
        $this->get_data();
         //  more methods called
    }
}

I think the module is trying to execute when it is enabled at the system level.  Since it is at the system level, it is missing a pid.  Unfortunately adding pid=58 to the url hides the external module from the list of modules to enable.  Commenting out the line causes other errors to be thrown.
Below is the csv from the table Module Settings:
external_module_id,project_id,key,type,value
1,NULL,version,string,v0.1
2,NULL,version,string,v1.0
3,NULL,enabled,boolean,false
3,NULL,discoverable-in-project,boolean,true
3,58,enabled,boolean,true
3,49,enabled,boolean,true
3,49,report_title,string,"Cumulative Inclusion Enrollment Report"
3,49,report_footer,string,"Study Title: Exploring Cognitive Aging Using Reference Ability Neural Networks"
4,NULL,version,string,v1.1
3,58,report_title,string,"Ha ha ha over-rided."
3,58,report_sub_title,string,"Study Title: Exploring Cognitive Aging ' .                 'Using Reference Ability Neural Networks"
3,58,report_footer,string,"Custom report Footer"
3,58,sex,string,sex
3,58,race,string,r1
3,58,ethnicity,string,r1
3,58,male,string,1
3,58,female,string,2
2,58,enabled,boolean,true

ps: What should I change in the MySQL table to work around this as I can't figure out another work around to enable the module and continue development/testing.

I think there is room here for a 'faq/wiki' about how to use the __constructor in the main extended abstract module.  I started down the path of trying to use the __constructor and then just backed away for fear of potential side-effects...  Any musings, @mmcev106, on the role of constructors?

In this case I'm guessing the problem is just that the parent::__constructor() is not being called.
I personally have not encountered a need for using a module's constructor yet, so I haven't spent too much time thinking about this.  My initial thought is that putting code in a module's constructor is odd since the timing for calling a constructor is undefined.  In general, we view the entry points of a module being the hook methods, since the timing of hook calls are clearly defined, and variables passed into each hook method are typically needed to perform significant actions anyway.

Note: there is already a section on the documentation page in the testing branch about using the constructor.


fix: unable to import PyEVMBackend from fresh upgrade

What was wrong?
fixes: #212
How was it fixed?
Check version when checking if py-evm installed
To-Do:

[x] Add entry to the CHANGELOG

Cute Animal Picture

here

I think what I would do then is change to the error messages to indicate pyevm >= 5.0.0 is not installed and maybe change the method name to is_supported_pyevm_version_available(). I think that would be easier because we will always have to check both anyway.

@unparalleled-js - This is ready to go, right?

Yeah, unless you know a way to dynamically get the min supported version. I tried to see if we could do that but couldn't find a way.

For this line/error messages? Is it set somewhere else?

I felt bad for breaking your CHANGELOG again and again, so I added towncrier to eth-tester. So now there will be newsfragments like our other repos, and less merge conflicts :tada:. You can pull in master to get that update. I'm happy to add the snippet from the CHANGELOG in this PR to a newsfragment if you want, just let me know!

I felt bad for breaking your CHANGELOG again and again, so I added towncrier to eth-tester. So now there will be newsfragments like our other repos, and less merge conflicts 🎉. You can pull in master to get that update. I'm happy to add the snippet from the CHANGELOG in this PR to a newsfragment if you want, just let me know!

I think I upgraded to the newsfragments approach correctly!


Half of the workspace is unusable

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
The workspace only reaches the middle of the screen, in the empty half can not take any action.
This problem has only affected large projects like this.
Steps to Reproduce

Be on Windows 10 Home
Open a large project on Atom

Expected behavior: Open the project without problems
Actual behavior: Half of the workspace is unusable
Reproduces how often: Always in these last 3 weeks
Versions
OS: Windows 10 Home v.1703
Atom: 1.19.0
Electron: 1.6.9
Chrome: 56.0.2924.87
Node: 7.4.0
apm  1.18.2
npm  3.10.10
node 6.9.5 x64
python
git 2.8.1.windows.1
visual studio

@Saul-BT please reupload your image; it doesn't look like it was uploaded correctly.

updated

Hmm...it looks like you may have accidentally changed the pane size.  Try pressing Ctrl+Alt+= a few times.

It has been solved, Thank you very much.

Glad to hear that it's fixed @Saul-BT!


Fix logic to figure out existence of containers on Azure

Codecov Report

Merging #91 (5b289a5) into develop (64ac56b) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop      #91   +/-   ##
========================================
  Coverage    62.06%   62.06%
========================================
  Files           56       56
  Lines        17385    17385
========================================
  Hits         10790    10790
  Misses        6595     6595

Impacted Files
Coverage Δ

core/src/storage_manager/storage_azure_blob.cc
73.12% <100.00%> (ø)

Continue to review full report at Codecov.

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

Added processing of AZURE_STORAGE_SAS_TOKEN and refactoring of member variables with a trailing underscore to make the code a bit more readable.


Modern font stack

Is your feature request related to a problem? Please describe.
The current font stack :
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
features old fonts with few font-weights.
While still relying on native/system fonts we could achieve way better results using modern fonts.
Describe the solution you'd like
We could use a more modern font stack, using system fonts.
For example the font stack used by github :
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
Or bootstrap :
https://getbootstrap.com/docs/4.0/content/reboot/#native-font-stack
I can make a pull request if you're interested.
Thanks,
You can read more about it here :
https://bitsofco.de/the-new-system-font-stack/

Thank you, that is great suggestion. 👍
We will consider (or implement) in our next major version. See this blog post for the official roadmap: https://protonmail.com/blog/2018-recap-future-roadmap/
Anyway, you may use it in a custom theme ;) (as far as we can see in our tests, this works like a charm)


Prevent navigation in some stories?

Is there a way prevent navigation in some stories? I have a language picker component (renders an HTML <select>) which sets window.location when an option is chosen. I'd like to prevent navigation in these stories, but not in others. I'm using react, but not react-router.

@storybook/react 4.1.11
react 16.7.0

Hey @ZebraFlesh,
I'm not sure there's an easy way without refactoring the component. I think it's good practice to do so anyway -- typically I would pass onNavigate or something as a prop to the component, then you can use an action to mock it out in Storybook.
If you need the component to be "self contained", you can export both a Pure version that uses onNavigate and a wrapper that sets onNavigate to window.location = .... (If that makes sense)

Yep, that makes sense. Thank you!


Export drupal-ready press release or press release component

For example, to be added into the new PR Drupal: https://www.usgs.gov/news/widespread-plastic-pollution-found-great-lakes-tributaries

We will bring this up in our meeting w/ OCAP this fall.

@eread-usgs - any updates on this?

Is this feature still a good idea for vizlab?
Is this a near-term need? If not, when is this functionality likely to become important?
Are those Drupal requirements now available somewhere on the web or in your notes?

I think the Drupal platform OCAP has developed does not accept embedded graphics, like we produce. I can bring it up as a request later on. In the mean time, we can close this @aappling-usgs

Thanks, @eread-usgs !


Update the YAML schema

PR Summary
Updated the schema as per the discussion
PR Context

I removed the summary property.
Are you sure parameterValueGroup is used for accepted values? From the link you provided I could not infer that.
valueFrom seems like it is accepted values. Example: Authentication parameter here: https://docs.microsoft.com/en-us/powershell/module/cimcmdlets/new-cimsession?view=powershell-7.2#parameters

I am pushing a change to remove summary and valueFrom. We added parameterSetName to capture the string which has the list of parameter sets the parameter belongs to.


Misleading error about higher order effects when using reinterpret in wrong way

Polysemy itself compiles, but when I copy/paste this code from Polysemy into my library it fails with an obscure error:
runFoldMapOutput
    :: forall o m r a
     . Monoid m
    => (o -> m)
    -> Sem (Output o ': r) a
    -> Sem r (m, a)
runFoldMapOutput f = runState mempty . reinterpret $ \case
  Output o -> modify (<> f o)

src/Effects/Queue.hs:50:40: error:
    • 'e10' is higher-order, but 'reinterpret' can help only
      with first-order effects.
      Fix:
        use 'reinterpretH' instead.
    • Probable cause: ‘reinterpret’ is applied to too few arguments
      In the second argument of ‘(.)’, namely ‘reinterpret’
      In the expression: runState mempty . reinterpret
      In the expression:
        runState mempty . reinterpret $ \case Output o -> modify (<> f o)
   |
50 | runFoldMapOutput f = runState mempty . reinterpret $ \case
   |                                        ^^^^^^^^^^^

src/Effects/Queue.hs:51:15: error:
    • Ambiguous use of effect 'State'
      Possible fix:
        add (Member (State m) r2) to the context of
          the type signature
      If you already have the constraint you want, instead
        add a type application to specify
          'm' directly, or activate polysemy-plugin which
            can usually infer the type correctly.
    • In the expression: modify (<> f o)
      In a case alternative: Output o -> modify (<> f o)
      In the second argument of ‘($)’, namely
        ‘\case Output o -> modify (<> f o)’
   |
51 |   Output o -> modify (<> f o)

I have polysemy-plugin enabled (or disabled, it doesn't make a difference).
The following extensions are enabled in the .cabal file:
OverloadedStrings
DataKinds
DeriveFunctor
FlexibleContexts
GADTs
LambdaCase
PolyKinds
RankNTypes
ScopedTypeVariables
StandaloneDeriving
TypeApplications
TypeOperators
TypeFamilies
UnicodeSyntax

It feels like there is it is something silly with my project setup, please help! :)

Wow - reason seems to be ($) - if I replace it with -XBlockArguments, it works. But it's not your fault, you found a bug :smile:.

But that error really isn't very helpful - let's see if we can do something about this.

I'm starting to think that the custom type errors are more trouble than they're worth. When they're turned off, you get a useful error in this case:

/home/sandy/prj/polysemy/src/Polysemy/Output.hs:38:40: error:
    • Couldn't match type ‘Sem (e10 : r0) a0 -> Sem (e20 : r0) a0’
                     with ‘Sem (State s0 : r1) a1’
      Expected type: (Output o0 m0 a2 -> p0) -> Sem (State s0 : r1) a1
        Actual type: (forall (m :: * -> *) x.
                      e10 m x -> Sem (e20 : r0) x)
                     -> Sem (e10 : r0) a0 -> Sem (e20 : r0) a0
    • Probable cause: ‘reinterpret’ is applied to too few arguments
      In the second argument of ‘(.)’, namely ‘reinterpret’
      In the expression: runState mempty . reinterpret
      In the expression:
        runState mempty . reinterpret $ \case Output o -> modify (<> f o)
   |
38 | runFoldMapOutput f = runState mempty . reinterpret $ \case
   |

It really depends on context of type error - e.g. instance of Member for empty list with is predictable and helpful for beginners - while at the same time there are cases like this one that are nearly impossible to detect properly without use of e.g. plugin. Some middle ground - trying to "not be dumb" instead of trying to "be clever" would maybe be a good compromise.

@TheMatten I'm all for it, if we can figure out how to not be dumb!

I've added a test for this in #113, and the solution is pretty easy.


Add Future Developments in DG

Fixes #184

Codecov Report

Merging #214 (b93be41) into master (abef1c2) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head b93be41 differs from pull request most recent head a63a8ab. Consider uploading reports for the commit a63a8ab to get more accurate results

@@            Coverage Diff            @@
##             master     #214   +/-   ##
=========================================
  Coverage     69.74%   69.74%
  Complexity      630      630
=========================================
  Files            94       94
  Lines          1970     1970
  Branches        264      264
=========================================
  Hits           1374     1374
  Misses          495      495
  Partials        101      101

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Standardize feature names with the non-hyphenated "Lombiq Hosting - Tenants" prefix (OSOE-697)

Some of the features currently use a hyphen in their name after "Lombiq Hosting - Tenants" (e.g. Lombiq Hosting - Tenants - Email Quota Management), some (most) not (e.g. Lombiq Hosting - Tenants Admin Login). Standardize this with the non-hyphenated version.
Change these texts everywhere, including, but not necessarily limited to, the UI, Readmes, csprojs, manifests.
Jira issue

What should be the case when the hyphen is for extending the module name so that the feature name can be properly separated?


SchemaError / NotImplementedError: The python type string is not implemented (yet)

Hello every one
I start to use dask- sql  (originally I put this post in dask-sql but seems like there is much less activity there) but I cant make any simple query, I can just make a total selection with select * from df;.  Beside this query I cant do anything else, in every query I get the samme error:  SchemaError.
Like the following example:
import pandas as pd
import dask.dataframe as dd
from dask_sql import Context

# Crear un pandas DF
test = {"Nombre":["Orlando", "Fernando", "Rosario", "Cuah", "Verónica"],
        "Sexo":["M", "M","F","M","F"],
        "Edad":[30,40,50,60,56]}

test=pd.DataFrame(data=test)

# Creamos un dask df a partir de un pandas df
test= dd.from_pandas(data=test, npartitions=2)
print("Tipo de objeto:", type(test))
test.head()

#  Crea un contexto para dask-sql
c = Context()

# Registra el DataFrame de Dask en el contexto para poder referenciarlo en las consultas SQL
c.create_table(table_name="test", input_table=test)

result = c.sql("""
    SELECT
        Nombre,
    FROM test
""")
result.compute()

Then I get this error: ParsingException: SchemaError(FieldNotFound { field: Column { relation: None, name: "nombre" }, valid_fields: [] })
I get the same error in more complex dataframes that I am using. Can some one help me understand why this happen?

Hello !
I just solve this problem. For some reason which I would love to have some information from you comunity this code can run perfectly if I create my DF with the name of the columns in lowercase. If I create this df in lowercase and query it in lowercase all works perfect.


Measurement in raster result descriptor

 Units von Layern anfragen/mitliefern

Pull Request Test Coverage Report for Build 541137765

60 of 78 (76.92%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.006%) to 80.891%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

operators/src/source/gdal_source.rs
3
4
75.0%

services/src/handlers/workflows.rs
32
33
96.97%

operators/src/engine/result_descriptor.rs
8
14
57.14%

operators/src/processing/expression.rs
16
26
61.54%

Totals

Change from base Build 540354204:
-0.006%

Covered Lines:
12826

Relevant Lines:
15856

💛  - Coveralls


from_file breaks when filenames have periods over than the extension

I don't know if this is the best fix, but I usually grab the file extension like this:
fext = fname.split('.')[-1]

@scottito

Nevermind, pilot error on my part. The existing implementation works with or without extra periods in the filename.


add docker plugin

Hello, I've added a docker plugin to show the docker version in the line like this:

👍

Close this in favor of #87


Windows 10/11 - il2cpp support (not working in il2cpp builds)

Plugin Version or Commit ID
v0.8.2
Unity Version
2021.2.10f1 or higher
Your Host OS
Windows 10 and 11
Target Platform
Windows Standalone
Target Device
Windows Desktop Devices
[Windows Only] Visual Studio C++ and Windows SDK Version
Visual Studio C++ : 14.29.30133
Windows SDK : 10.0.18362.0
Build Command
python build.py build --desktop cpu --opencv cmake -vv
Bug Description
When building the project to Windows build target, only mono builds work, in some projects we are using il2cpp for performance in build runtime and build compile time optimizations. Is there any possibility of il2cpp support?
Steps to Reproduce the Bug

Open the repo on Windows in any Unity Editor Version with windows il2cpp module installed with Unity
Make sure build target is windows desktop
Edit>Project Settings>Player>Other Settings> Configuration> Scripting Backend> il2cpp
Build and run, see build doesn't work, use a build console log tool like this to see the error

Log
DllNotFoundException: Unable to load DLL 'mediapipe_c'. Tried the load the following dynamic libraries: Unable to load dynamic library 'mediapipe_c' because of 'Failed to open the requested dynamic library (0x06000000) - The specified module could not be found.  (WinError:0000007e)
Mediapipe.Glog.set_Logtostderr (System.Boolean value) (at <00000000000000000000000000000000>:0)
Mediapipe.Unity.GlobalConfigManager.SetFlags () (at <00000000000000000000000000000000>:0)
Mediapipe.Unity.Bootstrap+<Start>d__17.MoveNext () (at <00000000000000000000000000000000>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <00000000000000000000000000000000>:0)

Screenshot/Video

I think it is fixed by #455 and #459.
Will you try again with the latest commit?


just use github.com/spf13/viper

You seem to be spending a lot of time recreating a command parsing structure... Viper already does this and is well regarded. I suggest just using viper and making PRs as needed if it doesn't do quite what you want.

We don't use an external library because I don't want to be reliant on it (see the whole rant about go get not being deterministic). At some point gb will move to be self hosting, see #14, but there will have to be a significant payoff for the cost of loosing the go get install story.

There are many fixes to the dependency problem.  The easiest of which is to simply fork viper and import your (effectively frozen) copy.  I understand the impetus to limit your dependencies, but the user experience of an application is very important, and getting it just right requires a lot of annoying tweaking that the Viper developers have already done for you.

I don't think it's that big of a problem.

On 30 May 2015, at 00:00, Nate Finch<EMAIL_ADDRESS>wrote:
There are many fixes to the dependency problem. The easiest of which is to simply fork viper and import your (effectively frozen) copy. I understand the impetus to limit your dependencies, but the user experience of an application is very important, and getting it just right requires a lot of annoying tweaking that the Viper developers have already done for you.
—
Reply to this email directly or view it on GitHub.

Closing for the moment. Not that viper is bad, but I'm not just ready to pull the trigger on #14

:+1:


Only SetPeerNodeId in DeviceControlServer is used by general-commisioning cluster,

Problem
Only SetPeerNodeId in DeviceControlServer is used by general-commisioning cluster, need to check if this is needed.
inline NodeId GetPeerNodeId() { return mPeerNodeId; }
inline void SetPeerNodeId(NodeId peerNodeId) { mPeerNodeId = peerNodeId; }

Proposed Solution
<suggested fix, suggested enhancement>

This is the follow-up of https://github.com/project-chip/connectedhomeip/issues/15237, so set it to 1.0


Automated cherry pick of #5194: Fix IPv4 group containing IPv6 endpoints in dual-stack

Cherry pick of #5194 on release-1.11.
#5194: Fix IPv4 group containing IPv6 endpoints in dual-stack
For details on the cherry pick process, see the cherry pick requests page.

/skip-all


%s bug in macros

This code exhibits odd behaviour. It creates a temporary variable for %s for no apparent reason:
macro requires(command)
  puts "Require command %s." % {{command}}
  {{ debug() }}
end
requires "crystal"

As a workaround:
macro requires(command)
  puts {{"Require command %s."}} % {{command}}
end
requires "crystal"

https://play.crystal-lang.org/#/r/w8o

Or, y'know....fix it. Just sayin' ;)


Give all EC2 managed resources a 3 minute creation grace period

Description of your changes

Fixes #802
This means we'll wait three minutes from the time a resource was most recently created before we trust the EC2 API if/when it indicates the resource doesn't exist. The crossplane-runtime bump should also make our controllers more resilient to stale controller-runtime cache reads.
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

I tested this change extensively as part of crossplane/crossplane-runtime#283. I've run a cursory version of the same test on this specific PR (i.e. spun a composition of EC2 resources up and down once).

@negz Looks like this is ready to merge?


Add gitignore Fixes #3

New state machine diagram for serial reception of commands.  New docs folder.  New gitignore file.

Okay.


FirebaseApp.configure(options: FirebaseOptions) crashes app

Xcode version: 9.4 (9F1027a)
Firebase SDK version: 5.0.0
Firebase Component: Core
Component version: 5.0.0

I am using FirebaseApp.configure(options: FirebaseOptions) since I don't want to use the GoogleService-Info.plist file. Instead, the necessary keys to configure Firebase come from my host server. If the keys received are valid there is no problem at all. However, a slight change to any key crashes the app with the following reason:
*** Terminating app due to uncaught exception 'com.firebase.core', reason: 'Configuration fails. It may be caused by an invalid GOOGLE_APP_ID in GoogleService-Info.plist or set in the customised options.'
How is it possible to avoid crashing the app and instead skip Firebase configuration in that case of an error/exception?

It's currently not possible to conditionally skip Firebase configuration. You also shouldn't be modifying the keys used to configure Firebase. Waiting for a network request will delay Firebase configuration as well, which may cause you to lose some Analytics data. What's your use case for this?

I see your point but let me rephrase my question. Is it possible to catch the exceptions thrown by Firebase? I assume a delegate should be available to allow each user to choose how to handle these exceptions. Being unable to configure/initialise Firebase shouldn't lead to app crash.

This is currently unsupported by Firebase.

I see...Thank you for your help!


Update branches to run tests against prod and prod-preview

This PR updates branches for jobs -

devtools-test-e2e-prod-preview.openshift.io-planner-functional-tests
devtools-test-e2e-openshift.io-planner-functional-tests

And also updates jobs -

devtools-test-e2e-openshift.io-planner
devtools-test-e2e-prod-preview.openshift.io-planner

Why?
Sometimes production/prod-preview is behind the master branch and tests start failing.

/test

[test]


Scope of QualityOnDemand for Fall24 CAMARA release

This issue shall define which issues are within scope of both APIs of the Sub Project for the Fall24 release and will be regularly updated based on the decision within the QoD meetings.
Split into quality-on-demand and qos-profiles

#265

Duration, extendDuration & Co

#291

includes #249, #266, #280, #281, #288

Enhancements

#244
#166
#101

Smaller issues

#286
#257
#298

New API (added as discussed in QoD meeting May 31st)

#268 (PR #299)

Added #298 to the list above.

Added #268 and linked PR #299 as discussed in QoD meeting May 31st.

Added #305, #309 (done), and #313 as discussed in QoD meeting June 28th.

Restructured the scope, added new issues #315, #316, #321, added "Release Assets" #245, #320, #322 for discussion within QoD meeting July 12th (further updates after the meeting)

Updates based on the QoD Meeting July 12th: removed #286 from scope, moved #322 into smaller issues.

Added #332 which need to done to be compliant with Commonalities 0.4.0

Added the corrections of #333 and #338 to the scope

Collected the (currently) remaining issues and PR to be done before M4 in the issue description. Added issues

#342
#345
#352

Release r1.2 created, all issues within scope done.


cannot recognize gcc

Type: Feature Request
i have folllowed all the steps after downloading the mingw files but  whenever i type #include<stdio.h> i get squiggles and on running says cannot recognize gcc ... i have followed all the steps to the dot including ensurin the presence of it's path in the system environment changes
VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z)
OS version: Windows_NT x64 10.0.22631
Modes:

Yes I found help there, thank you
On Fri, 2 Aug 2024, 09:18 vs-code-engineering[bot], <
@.***> wrote:

We closed this issue because it is a question about using VS Code rather
than an issue or feature request. Please search for help on StackOverflow
https://aka.ms/vscodestackoverflow, where the community has already
answered thousands of similar questions. You may find their guide on
asking a new question https://aka.ms/vscodestackoverflowquestion
helpful if your question has not already been asked. See also our issue
reporting guidelines https://aka.ms/vscodeissuereporting.
Happy Coding!
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/224530#issuecomment-2264644118,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BI6QDBOLSP7UJGZIJF7RRMTZPMQDDAVCNFSM6AAAAABL3NR6N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRUGY2DIMJRHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


[Code Chef] ICPC BALLONS Problem

Aim

Code chef's ICPC BALLONS Problem
https://www.codechef.com/problems/BALLOON

Details

What features will your script have

Programming language

[ ] C
[ ] C++
[ ] Java
.Python

I want to solve the above Problem in Python, please assign me.

@Saurabh4626 @ravikr126 @Ayush7614 Please Assign me this issue. I will solve it in C++.
LGM-SOC'21

Hi,
I want to implement this in java as apart of LGM-SOC'21.
@ravikr126  @Ayush7614 Please assign it to me. Thankyou!!

Start your work @rakesh419s


Fix publishing

Avoid publishing step when following https://github.com/androidx/media#locally for a local checkout.
#Fixes https://github.com/androidx/media/issues/117

I think the CLA check ran before I changed the target branch to main from release.

(Assigning to @marcbaechinger as #117 is assigned to him as well)


Adds support for extra source extensions via CLI arguments

What existing problem does the pull request solve?

Hi there, I want to use TypeScript with React Native ( https://github.com/orta/systems-theory/issues/1  )
All of the current techniques for this resolves around a two-step building process, wherein you have two toolchains running and watching for changes.
For example you would have TypeScript parsing a file, which would drop a JS file into a build folder, where react-packager would then pick it up and do the usual babel work. I'd like to simplify and unify that toolchain process.
I felt that this was reasonable because of the getTransformModulePath option inside the CLI, a developer can use a custom transform function to handle different source types before handing off the results to Babel to ensure the rest of the process acts like it does right now.
Test plan (required)
I have used this locally, and amended a test to use the updated syntax, but with some guidance I can add some more tests to this PR 👍
Code formatting
:1st_place_medal: (I think...)
Sidenote
I expected that putting a rn-cli.config.js inside the root of my project would have it's variables reflected by default, but instead I need to run with --config rn-cli.config.js - is this expected behavior?

Note: This doesn't attempt to handle some of the trickier source map issues, I think as long as I have access to a transform module function, I should be able to handle that.

Thanks for the PR! Will wait for @davidaurelio to take a look.

@davidaurelio - I'm happy to rebase, and make changes if the conceptual idea is :+1: ( that adding a CLI flag / config setting is a good way to do this? )

Rebased this on top of 0.42.0-rc.3 for now.

Existing product pains issue https://react-native.canny.io/feature-requests/p/packager-add-option-to-configure-extensions-dependencygraph

Is there still interest in having this feature? I wouldn't mind doing to work to bring it up to date.

unless you can suggest another, non-hacky way to add typescript to the build process (without just having a separate build workflow), i would say this is still very useful.

Yes. I suppose I'm asking for someone at FB to express interest in this feature though. No point putting the work in if it is just going to be ignored.

is there any recommended work-around for now?
i have been struggling to get typescript as part of the build process. right now im having to run two separate build tasks each time (to compile TS, then react-native run). I did try using asset extensions config but it doesn't seem to work.

I think, maybe depending on which version of react-native you use, assetExts + custom transformer should work as long as you require TypeScript files with their extensions like import {blah} from 'blub.tsx'
You could also try using https://github.com/callstack-io/haul, which is very easy to set up for TypeScript.
Failing that, the only option I know of is to fork and patch react-native.

Alright, I think it is time to ship this thing. @orta would you be able to make this change more incremental with many smaller PRs? As it is, it is quite hard to review and ship with confidence; it also doesn't add any tests ;)

@cpojer This pr is out-of-date and so the diff with master looks funky. The actual changes made by @orta are fairly minimal: https://github.com/facebook/react-native/pull/11932/commits/6dca2ae920cbc8b3b1ce164f7eea49238d08569d
But they still need to be re-done for 0.43 since some significant changes have been made to the packager code. Also, yes, needs tests :)
As mentioned before, I'm happy to do this too, if @orta is busy.

Awesome, I'm basically OOO for the rest of this week - so @ds300 you're welcome to update it ( I just gave you commit access to my fork, or you can create your own PR)

Yep, rebasing and making it minimal/incremental + adding tests seems like a good first start. CC me.

@orta I made a new PR to avoid the mess, since so much had changed. It's over at #13689

I'll close this one and take a look at the other one tomorrow :)


Add TOTP attached with password

Currently, If we want to save a password and TOTP we have to add 2 accounts.
New feature:
In account add option to add TOTP with the password, so easy to maintain.

I second this!


Help find you pkg

@phloe Hi, I am a posthtml package maintainer, I found your package because you have a posthtml package in dependencies. I think it will be easier for people to find your package if you add it to the list of plugins here and here, and of course the first thing to do in the posthtml organization itself - I can move your package to the posthtml organization for more popularity, for this it will be necessary to add me to this repository and then I will transfer it. The package itself will remain under your control.
let me know about any decision you make, i will understand if you are not interested

It was actually added to a list in posthml docs a while back: https://github.com/posthtml/posthtml/commit/c2fc65207529abfb1f712eb5e3132cd59ed6fd74
I didn't think it was a plugin as such - more a utility/helper function... but if it fits in your definition of plugin I have no objections :)
I'm willing to move the repo to the posthtml org - no problem :)

It was actually added to a list in posthml docs a while back: https://github.com/posthtml/posthtml/commit/c2fc65207529abfb1f712eb5e3132cd59ed6fd74
I didn't think it was a plugin as such - more a utility/helper function... but if it fits in your definition of plugin I have no objections :)
I'm willing to move the repo to the posthtml org - no problem :)

for this it is necessary that I have rights like ‘owner’ or do a plug-in transfer to my account

I received an invitation to collaborate, but unfortunately this is not enough to have access to the movement, it requires rights owner

Hmmm, I was assuming I would get more options to grant additional access right once you were added as a collaborator. I don't see how I can add you as an "owner" as is... without straight out transferring the repo to you.

@phloe welcome aboard, check access rights

Looks good :)


Food Inspection Predictive Analytics Algorithm

Solid project idea for Sacramento County:
https://github.com/chicago/food-inspections-evaluation/
Chicago taps social media for restaurant inspections:
https://youtu.be/2kxAc59_o14

This looks like a great project! Are health inspections public record in Sacramento?

Hi @masyukun, yes they are public record. Check out the food safety project I did for the hack4sacco event which includes the powerpoint presentation used for the judging presentations (which references chicago's data science application for this purpose).

According to the README, the following datasets are needed to power the algorithm:

[ ] Business Licenses
[ ] Food Inspections
[ ] Crime
[ ] Garbage Cart Complaints
[ ] Sanitation Complaints
[ ] Weather
[ ] Sanitarian Information


StyledFirebaseAuth cannot be used as a JSX component

The code:
return (
    <StyledFirebaseAuth
        uiConfig={firebaseAuthConfig}
        firebaseAuth={auth}
    />
);

Gives the error:

Its instance type 'StyledFirebaseAuth' is not a valid JSX element.
    The types returned by 'render()' are incompatible between these types.
      Type '{}' is not assignable to type 'ReactNode'

However, FirebaseAuth does not rise this error.

I'm using:
"dependencies": {
    "bootstrap": "^4.6.0",
    "firebase": "^9.1.3",
    "firebase-admin": "^10.0.0",
    "js-cookie": "^2.2.1",
    "next": "12",
    "react": "^17.0.2",
    "react-bootstrap": "^1.5.2",
    "react-dom": "^17.0.2",
    "react-firebaseui": "^6.0.0"
  }

Suddenly I'm not able to reproduce this anymore.
Sorry for the inconvenience...


[TASK] Blueprint Registration Custom Configuration

Description
Implement optional views that allows operators to configure custom settings during the registration process for certain Blueprints. Some Blueprints may require operators to input specific parameters or configurations based on the service's requirements. These custom configurations should be presented to the operator before the finalization of the Blueprint registration step.
Screenshots

Figma Link

@AtelyPham we shouldn't need this beyond multi-selecting blueprints to register for (really pre-register) and calling the pre registration extrinsic for all of them (no configuration necessary for now).


implemented PatchBase defaults and some scouting perks

show last namespace in Applied/Skipped message
PatchBase default implementation
PartySpeedPatch & friends
steward: make LogisticsExpert PartySpeedSubPatch for example
scouting: Pathfinder, TorchCarriers (aka Night Vision), Navigator
scouting: Investigator, Farsighted, Ambusher (aka Eye For Ambush)

sync to dev
missed that one might want to override GetMethodsChecked() but still use default IsApplicable()
missed that PerkPatchBase has IsApplicable() now

"to override GetMethodsChecked() but still use default IsApplicable()" was a bad idea because it broke existing patches w/o Hashes field
better declaringType finder in InvestigatorPatch
Think it's ready for review :)


Local installation of GIVE

Dear all: I followed the tutorial on local installation of GIVE (the installation of docker failed on my CentOS server). However I am left with a directory full of subdirs, html and scripts..is there something missing to properly start the browser ?
Many Thanks,
Alessandro

| Name | Last modified | Size | Description
-- | -- | -- | -- | --
| OLD.index.html | 2017-09-13 13:53 | 51 |
  | _config.yml | 2018-09-10 17:40 | 26 |
  | bower.json | 2018-09-10 17:30 | 2.8K |
  | bower_components/ | 2018-09-10 16:58 | - |
  | components/ | 2018-09-10 16:59 | - |
  | data-hub.html | 2018-09-10 17:30 | 4.8K |
  | demo/ | 2018-09-10 17:31 | - |
  | encode-index.html | 2018-09-10 17:31 | 1.6K |
  | favicon.ico | 2018-09-10 17:31 | 32K |
  | genemo-assets/ | 2018-09-10 17:31 | - |
  | genemo-index.html | 2018-09-10 17:31 | 6.3K |
  | getDemoUser.html | 2018-09-10 17:31 | 1.4K |
  | giv-index.html | 2018-09-10 17:31 | 1.5K |
  | givdata/ | 2018-09-10 16:41 | - |
  | js/ | 2018-09-10 17:32 | - |
  | langTable.json | 2018-09-10 17:32 | 2.7K |
  | language plan.txt | 2018-09-10 17:32 | 287 |
  | margi-index.html | 2018-09-10 17:32 | 1.6K |
  | mcf7-index.html | 2018-09-10 17:32 | 1.8K |
  | sample/ | 2018-09-10 17:32 | - |
  | singlecell.html | 2018-09-10 17:32 | 4.8K |
  | test-index.html | 2018-09-10 17:32 | 3.9K |

Could you please be more specific about how you installed GIVE locally?
If your local GIVE installation is under your web server path (assume you have MySQL and a web server like Apache or nginx installed, with PHP support), then you might want to visit one of the *-index.html files (for example, giv-index.html) on the path to see if the browser works.

Thanks - I followed entirely your instructions.
Only the GENEMO Search works; the other *html result in blank pages. I
don't see a specific error in the error log
Keep in touch,
Alessandro
On 11/09/2018, Xiaoyi Cao<EMAIL_ADDRESS>wrote:

Could you please be more specific about how you installed GIVE locally?
If your local GIVE installation is under your web server path (assume you
have MySQL and a web server like Apache or nginx installed, with PHP
support), then you might want to visit one of the *-index.html files (for
example, giv-index.html) on the path to see if the browser works.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/Zhong-Lab-UCSD/Genomic-Interactive-Visualization-Engine/issues/79#issuecomment-420085373

Have you changed the settings under <your web components path>/html/components/basic-func/constants.js? You may change the settings following this paragraph in 2.2 Custom Installation of GIVE

After installation, please make a copy of <web_components_path>/basic-func/constants-template.js to indicate the server-side components' location:
give.Host = '<give_host>'
give.ServerPath = '<give_server_path>'

Rename your copy to constants.js under the name path to apply the settings.


Unable to launch Safari on real iPad

I am trying to use Appium to test Selenium webdriver C# scripts on real iPad device.
Getting error that
Result StackTrace:
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(Uri remoteAddress, ICapabilities desiredCapabilities)
at UnitTestProject2.UnitTest1.TestMethod1() in C:\ED\TestAutomation\Ed.LMS\Main\UnitTestProject2\UnitTestProject2\UnitTest1.cs:line 29
Result Message:
Test method UnitTestProject2.UnitTest1.TestMethod1 threw exception:
System.InvalidOperationException: A new session could not be created. (Original error: ENOENT, stat '/Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip') (33)
Tried looking for this folder on mac and found it doesn't exist there. Came across this post and tried running ./reset.sh but unable to run ./reset.sh on mac. I already have safarilauncher installed on ipad.
Appium is under Applications and I looked into its content using Show package contents but no clue how to get to this folder contents from Terminal and how to run that command to have a SafariLauncher folder in Appium.../build.
Please help.
I have a valid development profile, provisioning profile on apple developer and my device is registered there too.
I tried updating to Appium1.5, couldn't get the app , so installed it using npm and launch it in Terminal using Appium. Script is giving following error with Appium 1.5
[iOS] Error: Command 'xcodebuild -sdk iphoneos9.2 clean' errored out: Error: spawn xcodebuild ENOENT
at exports._errnoException (util.js:856:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:475:9)
at process._tickCallback (node.js:389:17)
at ChildProcess. (lib/teen_process.js:31:14)
at emitOne (events.js:90:13)
at ChildProcess.emit (events.js:182:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:475:9)
at process._tickCallback (node.js:389:17)
[Error: Command 'xcodebuild -sdk iphoneos9.2 clean' errored out: Error: spawn xcodebuild ENOENT
at exports._errnoException (util.js:856:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:475:9)
at process._tickCallback (node.js:389:17)]
[iOS] Bad app: '/usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app'. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name.
[MJSONWP] Encountered internal error running command: Error: Bad app: /usr/local/lib/node_modules/appium/node_modules/appium-ios-driver/build/SafariLauncher/SafariLauncher.app. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name.
at IosDriver.configureApp$ (lib/driver.js:229:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/usr/local/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:104:47)
at /usr/local/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:115:28
at flush (/usr/local/lib/node_modules/appium/node_modules/core-js/library/modules/$.microtask.js:19:5)
at nextTickCallbackWith0Args (node.js:453:9)
at process._tickCallback (node.js:382:13)
Please help.
Thanks in advance

Hi @pshilpa1
It is not clear what happens.
Could you provide client code sample and server output as links to gists?
https://help.github.com/articles/creating-gists/
Did it work with old nodes/iOS 8.x?
Do you work on Windows?
I'm suspecting that it may be the server side problem. The supporting of iOS 9.x has appered since server node v1.5.0. Something may be raw yet.
I would advice you to report a bug here too: https://github.com/appium/appium/issues

I tried it with Appium1.4.13 and was getting issues with launching safari on ipad , got a suggestion to upgrade to Appium1.5 , I downloaded the source code as couldn't find Appium app for 1.5 and started it from terminal.
I am using Mac , what do you mean by server node v1.5.0? is it to refer Appium on mac.
Having hard time to figure it out, if there is a work around to launch safari on real ipad  with Appium1.4.13 please let me know.
My test script is on Windows machine in VS as following
//AppiumDriver driver;
RemoteWebDriver driver;
DesiredCapabilities capability = new DesiredCapabilities();
//capability.SetCapability("platform", "iOS");
capability.SetCapability(MobileCapabilityType.AppiumVersion, "1.5");
capability.SetCapability(MobileCapabilityType.DeviceName, "iPad4");
capability.SetCapability("browserName", "safari");
capability.SetCapability("udid", "e33e369b28dc9Ca48f2e107C15fa75e9399649bf");
//capability.SetCapability("appPackage", "io.appium.SafariLauncher");
capability.SetCapability("platformName", "iOS");
//driver = new IOSDriver(new Uri("http://<IP_ADDRESS>:4723/wd/hub/"),capability);
driver = new RemoteWebDriver(new Uri("http://<IP_ADDRESS>:4723/wd/hub/"), capability);
//driver = new RemoteWebDriver(new Uri("http://<IP_ADDRESS>:4723/wd/hub/"), capability);
driver.Navigate().GoToUrl("https://test4.ple2.plato.com/");
:

@pshilpa1
Have you tried to set target iOS version:
capabilities.SetCapability(MobileCapabilityType.PlatformVersion, "8.2");

tried that but still getting exception for SafariLauncher.zip
Result StackTrace:
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary2 parameters)    at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)    at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)    at OpenQA.Selenium.Appium.AppiumDriver1..ctor(Uri remoteAddress, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Appium.iOS.IOSDriver`1..ctor(Uri remoteAddress, DesiredCapabilities desiredCapabilities)
at UnitTestProject2.UnitTest1.TestMethod1() in C:\ED\TestAutomation\Ed.LMS\Main\UnitTestProject2\UnitTestProject2\AppiumIpad.cs:line 27
Result Message:
Test method UnitTestProject2.UnitTest1.TestMethod1 threw exception:
System.InvalidOperationException: A new session could not be created. (Original error: ENOENT, stat '/Applications/Appium.app/Contents/Resources/node_modules/appium/build/SafariLauncher/SafariLauncher.zip') (33)

Unfortunately, running Safari on a real device is an involved process, because of the need to use SafariLauncher to launch it, and the need to build SafariLauncher with your developer identity. The instructions are here for 1.4.
Appium 1.5 automated the building and installing much more seemlessly, in most cases. However there is not yet a bundled Mac app for it.

I could install safari Launcher on ipad once but when trying to run my Selenium web driver script its failing with above error.
Safari Launcher is on ipad but not sure when I launch the appium server and run the script from VS2015, does it try to reinstall the SafariLauncher?
Do I need  to specify the path for SafariLauncher.app in Appium App GUI >apple icon> Basic Settings app path? Or Do I need to check mobile safari to run scripts on ipad?
Please help.
Thanks

@pshilpa1
This problem is not related to .Net client. It is most likely the problem of the server.
I think you are facing this issue: https://github.com/appium/appium/issues/6230
Thanks for the report. But it can't be resolved on the client side.

I tried it with appium 1.5 too but no luck it gives error for bad app for safariLauncher , could you please be more detailed for how to  resolve  it on client side,

@pshilpa1, were you able to fix this issue? I have the bad path issue in appium 1.5.


TODO Feature: add register user endpoint with auth

Feature :
This feature needs to be added to the project.
Breakdown

[x] Implement the register user feature
[x] Completion of the task

Done

source : https://github.com/canmertinyo/memo-pal/commit/4422fb79b745a002196e17764d0a5b080eb21f72


v0.2.0

This issue collects improvements to be added in v0.2.0 and beyond.

[ ] Add getting started guide to readme and docs
[ ] Add simple experiment results on standard env
[x] Add UI/visualisation of SolarBatteryHouse-v0

Replaced by #3


make UI look great (again)

The reports in the media about bad UI in this repository are wrong. They're fake news. The open fixture library is the best website that has ever been built. That's a fact. Period.


Support command shorthands

It's a common practice for a CLI tool to support shorthands, e.g. kubectl get services is the same as kubectl get svc, nats context is the same as nats ctx and so on.
It'd be nice for zed to support shorthands as well, so zed permission can be just zed perm for example.

I think this is as simple as filling out the Alias field in the corresponding cobra.Command. Seems like a great first issue (once all the shorthand names have been bikeshedded 🤣)


Automator: update<EMAIL_ADDRESS>dependency in<EMAIL_ADDRESS>

Generated by Automator - 2023-03-22T18:41:53+00:00

/retest


AnimatedContainer isn't an AnimatedComponent.

Turns out it gets nothing out of inheriting from AnimatedComponent.

LGTM


The submodule of devel branch had been deleted

kicad-randoms @ e5ce080
BTW, thanks for your amazing work, I love it.

Not deleted, but I forgot to push it :) Thanks for noticing.


Question: Can I run tslint on git staged changes?

Question

TSLint version: 5.12.1
TypeScript version: 3.3.1
Running TSLint via: CLI

Hey guys, just want to know, can I run tslint on git staged changes? I can run tslint on git staged files with this command:
git diff --staged --name-only | xargs tslint -c test_project/tslint.json -p test_project/
But I cannot sort out how to run tslint only on changes. Сan you suggest something?
p.s. I know about lint-staged, but I cannot use this tool.

Do you mean run tslint only on the changed lines? No, that's not possible, TSlint only runs on full files.

@adidahiya, thank you!

What about on changed files? (All lines in the file)

I have the same question as @elie222
I am trying to use lint-staged to lint only changed files (not lines). But it appears that once any file has changed the linter runs on ALL files not just the staged files.

Based on another post I found online I included a new command in my scripts for changed only and use that as my lintstaged command:
"tslint": "tslint './src/**/*.ts'",   "tslintstaged": "git diff --name-only develop... | grep -E '\\\\.ts?$' | xargs yarn tslint",

This does what you want: https://www.npmjs.com/package/tslint-staged

🤖 Beep boop! 👉  TSLint is deprecated 👈  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


Migrate Next.js to 14 to ESLint to 9

Next.js 14: https://nextjs.org/blog/next-14
ESLint 9: https://eslint.org/blog/2024/04/eslint-v9.0.0-released/

May have to address #39.

Seems not required anymore because of #45, will re-open or create a new issue if we were to migrate back to Next.js.