Feature/add tags unmutable recurrence

Description

Added more informations to the task objects, including : tags, recurrence (on weekdays or years) and "unmovability"
Tags have their own CRUD endpoints
Jira Issue

https://etuduo.atlassian.net/browse/ETD-138
Motivation and Context

This is needed to implement the workflows, because the workflow may use tags to move some tasks, some might not be movable too, and a reccurent event avoids adding thousands of tasks when generating the workflow
How Has This Been Tested?

Using Postman (DevOps reaaaally need to be done fast)
Types of changes

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

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Pas tout beau, ngl, mais il faut avoir un truc fonctionnel pour le moment

Bien mieux qu'avant, peut-être un peu abusé sur les fonctionnalités par contre


Plugin to support Java projects

Plugin to support Java projects
Summary
Add plugin to have default settings for Java projects.
Description
It is good to have the default Java compiler options and SBT options to exclude any Scala specific libraries for Java projects (e.g. crossPaths and autoScalaLibrary).
crossPaths := false,
autoScalaLibrary := false,

It has

javaVersion setting
set crossPaths and autoScalaLibrary to false
default javacOptions: -source and -target set to the javaVersion above, -Xlint:unchecked, and set -encoding to UTF-8

  override lazy val projectSettings: Seq[Setting[_]] = Seq(
    javaVersion := "1.8"
  , crossPaths := false
  , autoScalaLibrary := false
  ,  javacOptions ++= Seq(
      "-source", javaVersion.value
    , "-target", javaVersion.value
    , "-Xlint:unchecked"
    , "-encoding", "UTF-8"
    )
  )


put the main app into a subfolder?

The folder structure can be confusing, if all is a subfolder it would not be much confusing.

Now it's not needed anymore, nobody should use this directly.


Remove @mrtnzlml from the code owners

I am opting out of being a code owner since I am moving to another project.

R. I. P. mobile in Kiwi 😢

@jaroslav-kubicek Don't worry. This project is in good hands... :)

R. I. P. mobile in Kiwi 😢

Probably you mean R. I. P react native in kiwi. We will strive to keep the project alive! There will be no funeral yet.


Vertical Scaling

I am experiencing an issue where when the webpage(s) are run in headless mode, the Screencast editor group does not shrink its rendering dimension vertically. The rendering dimensions will increase vertically as I increase the editor group's vertical size (shrinking any editor group(s) below it). However, when I need more space for a group below it (Console, DevTools, etc.), the Screencast editor group's height will shrink but not the dimensions it is rendered in. It continues to render the webpage at the greatest height it had been increased to across webpages, allowing the editor group below it to cut off the rest. This occurs until a new Edge instance is launched. I tested this with local files, local webpages, and public webpages (for example: Google or this GitHub page).
In short: Horizontal growing/shrinking works normally as the editor group's size is increased or decreased along that axis. The issue I have is the vertical size it renders in, where the editor group's vertical dimension will decrease, but will still render the webpage at whatever greatest height the editor group used to be at.
I can confirm this as the webpages get cut off (can't scroll any further) and when the editor group's dimensions are adjusted, the top right displays the dimensions the webpage is rendered in when updated.
The DevTools editor group (along with other VS Code editor groups) scales itself properly, as well as having it in a separate Edge window (headless disabled), just not the Screencast's rendering in VS Code.
I'm not sure if this is intended (perhaps for performance or technical reasons), but as I don't know how to launch DevTools instances (DevTools and Screencast) in a specific layout/size, I manually change it around. The webpages are cut off vertically. I'm new to this, so I don't know if there's an option/work around to resolve this, or if it's a bug. I apologize for wasting anyone's time if it's the former (or if it's intended to be this way).

For additional info:
Headless Mode: Enabled

Opens webpage in a separate Edge window (as intended)
Website's rendering dimensions are correctly adjusted both vertically and horizontally according to Edge's window
DevTools window correctly adjusts both vertically and horizontally according to window's dimensions

Headless Mode: Disabled

Website's rendering dimensions are correctly adjusted horizontally according to the Screencast window in the editor
Website's rendering dimensions will increase with the window, but not decrease with the Screencast window
Editor window below (for example, Terminal) will cover webpage's contents when vertically increased
DevTools window correctly adjusts both vertically and horizontally according to window's (tab) dimensions

Using DevTools Device Emulation in personal Edge window:

Website's rendering dimensions are correctly adjusted both vertically and horizontally, regardless whether it's adjusted within Edge's window or Edge's window itself is adjusted
DevTools window correctly adjusts both vertically and horizontally according to window's dimensions

Flavour: Tested: No selection, Default, Stable, Dev

No effect

User Data Dir: Any (true, false)

No effect

To do my best to convey this, here's a scenario with random page values:
Launched in: 559px x 462px
Renders webpage in: 559px x 462px
Resized to: 559px x 600px
Renders webpage in: 559px x 600px
Resized to: 559px x 462px
Renders webpage in: 559px x 600px
Resized to: 559px x 510px
Renders webpage in: 559px x 600px
Resized to: 650px x 650px
Renders webpage in: 650px x 650px
Resized to: 559px x 462px
Renders webpage in: 559px x 650px

Thank you for the input.
Since this has been marked as a bug, I figured I'd provide a bug report template filled out:

Environment (please complete the following information):

OS (e.g., Windows 10): Windows 11
Extension version (e.g., 1.2.3): 1.4.5

Describe the bug:
"Edge DevTools: Screencast" does not decrease the vertical dimension it renders a webpage in when the editor group's vertical dimension decreases.
Repro steps:

Launch instance of Edge DevTools with the Vscode-edge-devtools: Headless option enabled in the settings
Vertically shrink the "Edge DevTools: Screencast" editor group (for example, drag up VS Code's integrated console or resize the VS Code window)

Expected behavior:
The webpage will be rendered at the new lower vertical size of the editor group to allow the webpage to adjust to the dimensions and/or provide scrolling to what is now cut off. This would be similar behaviour to the already functional horizontal scaling.
Additional context:
This also does not scale when the size of the VS Code window itself is vertically decreased (or going from maximized to windowed mode).

Thanks again for the report @pot-of-coffee. We were able to figure this out and checked in a fix in #968. It should be available in our next update.


Enable support for all sound commands

Not totally satisfied with the solution for detecting whether we're running in Docker or not

Just realized there are no tests for _SoundEffect. Will update PR


[add] logo

Add a tentative logo and update README accordingly.

@pekasen GH actions are still not going through. Any ideas?


Micro: Convert all pkg/maps/ to use Map interface of pkg/bpf/

Allows to get rid of cgo usage in pkg/maps/

Is this referring to some other branch? Not seeing see that path on master.
$ ls pkg/maps/
ls: cannot access 'pkg/maps/': No such file or directory

I noticed this will working on #354, the path will exist after that PR is merged.

I'm going to rename this ticket to only cover ctmap, and then have other tickets for each map type to make the changes more modular, as the changes were ctmap were fairly extensive.


fix: Remove unused import to fix build

Description
We missed removing an unused import in https://github.com/microsoft/FluidFramework/pull/15900, this removes it to fix the build.

Build failure is understood, and the build is broken, so merging this despite test failures.


Remove log in validator

I'm removing a log in the validator which is not really needed and there's no way to deactivate it. It seems to be left there by mistake

Ah good catch! It is in fact an incorrect log that slipped through. Cheers!


SF should check that a disk base is a valid image format

Because you can't boot a 404 page, but it sure is confusing.

I think this one might be hard. qemu-img can tell us that a file is RAW (for example an HTML 404 page), but that is also a valid disk format. I am unsure how we test if it is bootable programmatically.

Maybe this is a naive approach?
Check for RAW images that are too small to be a realistic disk image, also check that it contains HTML tags (or maybe 'not found' text).


Adding Animated project

Description 📜
Please include a summary of the change and which issue is fixed.
Fixes #660

Type of change 📝
Please delete options that are not relevant.And in order to tick the check box just but x inside them for example [x] like this

[x] Add a new project

Domain of Contribution 📊
Please delete options that are not relevant.And in order to tick the check box just but x inside them for example [x] like this

[x] Project using only HTML & CSS
[x] Project using HTML, CSS & JS

Checklist ✅
Please delete options that are not relevant.And in order to tick the check box just but x inside them for example [x] like this

[x] I have performed a self-review of my own code or work.
[x] My changes generates no new warnings.
[x] I'm GSSoC'22 contributor

Screenshots / Gif (Optional) 📸
Add the screenshot of the changes you have made
https://user-images.githubusercontent.com/87573175/163313587-14d8f5c6-976e-4bd4-b410-0a7e2338c71a.mp4

This branch is 5 commits ahead, 70 commits behind khushi-purwar/WebDev-ProjectKart:master.


strange AEP result

There is a discontinuous jump in AEP = 0 for the muncie existing condition data. Investigate.

In the image above, it looks like the distribution is being slammed against a wall. We are truncating the distribution! This is a result of poor overlap. The discharge frequency function can get so small that the 85th percentile of the median function is the max of something close to the min function. When you increase the ERL to something huge, then you can describe the entire distribution:

when using graphical stage-frequency, the results are all kinds of messed up.

there is an implication of poor overlap in the graphical results, too

Intuitively the original result just means that the target stage is completely above the stage frequency function that percent of the time. A big bar on the right would be vice-versa (below).


Propose project for LuaJIT S390x maintenance

Signed-off-by: Siddhesh Poyarekar<EMAIL_ADDRESS>

Thanks! Can you also add a link to this project in https://github.com/openmainframeproject/tsc/blob/master/proposed.md


JSDoc issue: sap/ui/VersionInfo.load returns Promise instead of proper type description

Hey hey 👋🏻
the JSDoc of sap/ui/VersionInfo.load returns a promise of an object and thus the TypeScript type is also generated as such. Please adjust the return type so that a proper TypeScript type for sap-ui-version.json is being generated.
Thanks
Dominik

The type Object is intentional. We don't regard the schema of sap-ui-version.json as API.
But we maybe should at least specify parts of it, leaving out internal details. I'll discuss with @petermuessig.


fix: Add scope to Place & Story Model to filter out null coords (v2)

This PR adds a scope to the Place and Story Models to filter out any places that have null coordinates (primarily for the front end of TS Main and Explore).
Although we are currently requiring lat/long fields when creating a new Place in the CMS, the Importer currently permits the user to upload Places without lat/longs, hence introducing a bug where Places without lat/long are passed on to React.
We are now adding the stories associated with the communities when they are fetched, not when they are filtered.
In the future we need to rework the Importer as a whole, but that's a whole 'nother epic.

You'll need to ♻ rebase to resolve the conflicts

Ugh, gotta change my line ending settings for the repo -_-


Instrumentation statsbeat

We use a bit map for instrumentations just like for feature.
We update the instrumentation map only when we see a signal using the instrumentation (currently, there is only tracing signal so we only check for instrumentations generating span). In the future, we will also update the map when using logging (for logging instrumentation) and for metrics (for metric instrumentations like system-metrics.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-monitor-opentelemetry-exporter


B 18821 int

B-18821
Summary
added okta-office-group-id for each env
in addition to this code pr, also review chamber values as they match to the ids in the agility artifact
https://dp3.atlassian.net/wiki/spaces/MT/pages/1249542242/0030+How+to+Manage+Secrets+with+Chamber

Group ids aren't sensitive information to my knowledge, thoughts on putting them in the deployment vars so we don't have to worry about chamber?

Group ids aren't sensitive information to my knowledge, thoughts on putting them in the deployment vars so we don't have to worry about chamber?

not - completely sensitive, but for the production env, they are treating the office role as a highly privileged role, so we dont want to expose the ID to anyone, so they cant manually add themselves to the group

Group ids aren't sensitive information to my knowledge, thoughts on putting them in the deployment vars so we don't have to worry about chamber?

not - completely sensitive, but for the production env, they are treating the office role as a highly privileged role, so we dont want to expose the ID to anyone, so they cant manually add themselves to the group

Okta should offer the group management necessary to where you can't self-add yourself to a group, then even though the ID is exposed nobody can access it unless explicitly added by admins

If self adding is a thing we probably want to restrict that from office

Group ids aren't sensitive information to my knowledge, thoughts on putting them in the deployment vars so we don't have to worry about chamber?

one thing i will say about moving them, is that seperates where the okta_keys* would be kept.. and i lean toward consistency for things like this


Actors have a hat after loading a game

@Mac1512

Reyes appears with a hat if the game is loaded from the beginning, although this hat disappears as he speaks.

OK I found the problem, there are extra callbacks "postLoad" on actors, there is also a callback "postLoad" on rooms.


Datasets missing true_label column

Hello!  First of all, thanks for a great paper and dataset!
In the paper, Appendix A3 mentions that there is a true_label column with the gold response for the prompt, yet in both routerbench_0shot.pkl and routerbench_raw.pkl that column is missing (HF link). Thought I'd share in case others need the data in this columns as well.

As a follow up side question: could you confirm how the [0,1] performance values are calculated? Appendix A4 mentions that the performance number was computed using GPT-4 for evaluation, or normalizing ranking scores to [0,1], but I assume this was for the evaluation metrics and not the same as the value found in the dataset .pkl?
Thanks in advance!


Popup dialog

how can i create an popup in mauireactor?

like this: https://github.com/adospace/reactorui-maui/issues/34

something wrong i dont know, help me!

kind of u


Script error while importing ESM JS for module '../blueimp-md5/js/md5.js'

While importing amplitude-js in ES6 module, it throws error for blueimp-md5 module. Is there anything I'm missing?
import amplitude from "amplitude-js/amplitude.esm.js";

Current Behavior
Uncaught SyntaxError: The requested module '../blueimp-md5/js/md5.js' does not provide an export named 'default'

Environment

JS SDK Version: 7.4.3
Installation Method: yarn
Browser and Version or React Native and Device: Chrome Version 88.0.4324.192 (Official Build) (x86_64)

hey @ChetanGoti, I was able to use amplitude.esm.js through es modules in a create-react-app project. I think the problem may be in your project-specific code transpilation. How are you doing that?
https://github.com/blueimp/JavaScript-MD5/issues/38


My mingw-port branch - using mingw gcc to build, instead of visual studio.

The earlier changes are just building on case-sensitive file systems, the rest shouldn't break visual studio build either.
https://github.com/HinTak/VisualTrueType/tree/mingw-port
on the way to making it work on linux, I thought it is easier going via mingw first.

You just "cd src; make" to build, if you have mingw gcc.


Same as "Specify node version for netlify" but against main to trigger netlify CI

See https://github.com/nebari-dev/nebari-docs/pull/505

It did not work - closing. Another idea here could be cleaning the netlify cache but I do not have access to it.


app and client tracing params

Added
app and user for tracing fields in ingestion properties
Took those fields from KCSB and added them to ingestion Propeties in queued ingest client
Changed
Fixed
Removed
Security

Codecov Report
Attention: Patch coverage is 62.50000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 54.03%.  Consider uploading reports for the commit bd75c19 to get more accurate results

Files
Patch %
Lines

azkustoingest/internal/queued/queued.go
0.00%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #235      +/-   ##
==========================================
+ Coverage   54.01%   54.03%   +0.01%
==========================================
  Files          70       70
  Lines        5598     5604       +6
==========================================
+ Hits         3024     3028       +4
- Misses       2348     2350       +2
  Partials      226      226

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


TODO - Multi project: new welcome page

Work started here: https://github.com/marcanpilami/MAGE/tree/develop/new-welcome-page
Any feed back will be appreciated :)

Done in v6


Markdown and MD not loading with the helpers command.

I can't tell if it is intentional or not, but it gave me a lot of headaches. I had to load the file directly to get this to work, and had to reference the property directly, because the property is not enumerable.
In order for this to work better, and be auto-detected, the enumerable property should be set to true for these properties. Otherwise the experience given by helpers.markdown() is very awkward, since it doesn't give you anything.

I don't think it was intentional.
A PR would be great. Otherwise, we'll try to get it fixed soon. Thanks for taking the time to track down this bug.


Spain misses a lot of entries for the languages

https://github.com/countries/countries/blob/8d72392fda72071c88dff1545d94f4cc013dc537/lib/countries/data/countries/ES.yaml#L38-L39
There are many languages missing for Spain. Wikipedia has a list of these languages: https://en.wikipedia.org/wiki/Languages_of_Spain#Present-day_languages

Well spotted! I'll push a fix soon!


(everything) Embed package

http://www.voidtools.com/License.txt
Redistributions in binary form must reproduce the above copyright
	  notice, this list of conditions and the following disclaimer in the
	  documentation and/or other materials provided with the distribution.

Package is already embedded by me :S


Update Release Notes 21.11, adding Dyalog APL to interpreters

Motivation for this change
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[X] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Thank you for taking the time to review, I appreciate the comments. I believe I've made the requested changes, unfortunately I had a merge conflict after running ./nixos/doc/manual/md-to-db.sh which led to a redundant commit https://github.com/NixOS/nixpkgs/pull/137054/commits/573078fa1feae24e9edbe17f5db8ffdec53eb0cb.
Please let me know if anything else is needed, and thanks for the help.


Update RCTCameraManager.m

Camera crashes on iPhone when invoked a second time. This change seems to fix it.

The fix you removed should fix this issue. #380 f4bf30e17b78c89d834625514929956af9d0336f
@matejkriz Any thoughts?

@jakelaw311 the camera crashes every time for you with that condition? which iPhone and iOS?
I'm pretty sure, that my fix is not good, but I don't know enough Objective-C to make it properly.

is this still happening?


KAFKA-12862: Update Scala fmt library and apply fixes

Updates the scala fmt to the latest stable version
Applies all the style fixes (all source code changes are done by scala
fmt)
Removes setting about dangling parentheses as true is already the
default
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Sorry to almost always point at you @ijuma If you would have time, could you take a look at this one? Maybe it's worth change the scala fmt config instead of leaving these deafults.

Looks like the formatting changes are on the streams scala module. cc @mjsax @vvcephei @guozhangwang

Noted, I will ping them when touching that area.

Any chance any of you has time to check this? cc @mjsax @vvcephei @guozhangwang
Thanks!

@cadonna maybe you can look at this one if you have some time. Thanks!

Rebased to resolve conflicts

It looks like there's a new conflict. Hopefully, we can merge soon after you fix the conflict this time.
By the way, can you let me know the command you used to apply the format? I've been accustomed to using Spotless Scala in this repo; I didn't know about Scala fmt until just now.

Thanks for the review @vvcephei !
Actually, the spotless task executes the scalafmt in this gradle config, this means running ./gradlew spotlessScalaCheck will analyze all Scala files and complain about violations in the code. Then running ./gradlew :spotlessScalaApply will fix any formatting discrepancies.

As new code has been added I need to re-run scalafmt for those. Pushing those changes in a second.

Something went wrong during the build, can someone re-trigger the build in Jenkins?
Failure was:

[2021-07-27T14:23:53.802Z] FAILURE: Build failed with an exception.
[2021-07-27T14:23:53.802Z]
[2021-07-27T14:23:53.802Z] * What went wrong:
[2021-07-27T14:23:53.802Z] Execution failed for task ':storage:unitTest'.
[2021-07-27T14:23:53.802Z] > Process 'Gradle Test Executor 68' finished with non-zero exit value 1
[2021-07-27T14:23:53.802Z]   This problem might be caused by incorrect test process configuration.
[2021-07-27T14:23:53.802Z]   Please refer to the test execution section in the User Manual at https://docs.gradle.org/7.1.1/userguide/java_testing.html#sec:test_execution

Hi @vvcephei feel free to review the tiny commit to fix the code that has been committed since the PR was created.
Also test failure seems unrelated

I just closed and opened the PR to re-trigger Jenkins build.

Pinging @vvcephei
Would you be able to merger this before more commits get in the way and we need another rebase?
Thanks a ton!

Thanks @cadonna !


Skyline: clean up some language in the UI around spectral library ion…

… mobility usage - some was still in terms of drift time rather than a generalized IM sense

Okay. Sadly, I just updated those long tips in Japanese. Hopefully, they won't have too much trouble making the change from drift time to ion mobility in 4.2.


modify Chinese sentences

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: fleeto
If they are not already assigned, you can assign the PR to them by writing /assign @fleeto in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content_zh/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@yangchuansheng: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Hi @yangchuansheng. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


0.8: Cannot read property 'node' of null

I updated astroturf and got this error during test:
    TypeError: Cannot read property 'node' of null

      at importNodes.forEach.path (node_modules/astroturf/plugin.js:180:18)
          at Array.forEach (<anonymous>)
      at PluginPass.post (node_modules/astroturf/plugin.js:175:19)
      at transformFile (node_modules/@babel/core/lib/transformation/index.js:94:27)
      at runSync (node_modules/@babel/core/lib/transformation/index.js:45:3)
      at transformSync (node_modules/@babel/core/lib/transform.js:43:38)
      at transform (node_modules/@babel/core/lib/transform.js:22:38)

My Babel config:
{
  "presets": [
    [
      "@babel/preset-env",
      {
        "loose": true
      }
    ]
  ],
  "plugins": [
    "./builder/auto-import",
    "babel-plugin-transform-typograf",
    [
      "@babel/plugin-proposal-decorators",
      {
        "legacy": true
      }
    ],
    "@babel/plugin-syntax-dynamic-import",
    "@babel/plugin-proposal-class-properties",
    "@babel/plugin-proposal-object-rest-spread"
  ],
  "env": {
    "test": {
      "plugins": [
        "babel-plugin-dynamic-import-node",
        [
          "astroturf/plugin",
          {
            "allowGlobal": true,
            "writeFiles": false
          }
        ],
        [
          "babel-plugin-transform-rename-import",
          {
            "replacements": [
              {
                "original": "^.*\\.(css|less|sss)$",
                "replacement": "identity-obj-proxy"
              }
            ]
          }
        ]
      ]
    }
  }
}

Is it failing on a particular piece of code? Sounds like the import triing is missing an edge case perhaps

I see this error during run of any test, so I think it is not related with some specific code:
For most of the cases we have code like:
// Import will be added by ./builder/auto-import

let Container = styled.div`
  position: relative;
  font-size: 13px;
`

I think error can be the result of astroturf plugin options:
            "allowGlobal": true,
            "writeFiles": false

Unfortunately, it still doesn’t work. Tried to update to 0.8.2 and almost all the tests fail. There is no such error when a test doesn't contain styles, e.g., reducers or pure functions.
I tried to add
if (!decl) return

to node_modules/astroturf/plugin.js:182 — it works perfectly.
@jquense can I help you somehow?

@vrizo happy to take a PR we aren't hitting this error and i'm bit short on time to debug. My guess is that the import trimming logic probably assumes that the imports exist, conflict with the global option, probably just needs a guard somewhere as you noted

Yep, looks like you're right. But I think if (!decl) return hides a true cause, because I can't replicate the problem in your tests. Moreover, our test file includes components with astroturf imports. I'm going to debug a little bit more today

@jquense Hi! Sorry for the delay, too many bugs this week. I'm still trying to investigate the problem.
First of all, we have an auto import of styled if parser finds styled. in a code. But I need to import { css } manually.

If the file has no manual import, the test passes
If the file has { css } import, it fails

I tried to reproduce the issue in your tests but with no luck.
So I go further and debug the file with import { css }:
      // plugin.js L173
      const importNodes = file.get(IMPORTS);
      const imports = [];
      importNodes.forEach(path => {
        console.log('DEBUG: ', path.type, path.isImportDeclaration(), t.isImportDeclaration(path))

        const decl = !path.isImportDeclaration() ? path.findParent(p => p.isImportDeclaration()) : path;

Result in console:
DEBUG:  ImportDeclaration false true

In this case, path.type is ImportDeclaration, but it has no path.node. I have minimal experience in Babel, and I can't find why path doesn't include node. Is it correct behavior?

Ran into the exact same problem, with the exact same solution: bailing when !decl node_modules/astroturf/plugin.js:182 works normally. Same problem occurred for the webpack config for Storybook and 2 other packages.
So there are clearly cases where path doesn't have a node property but it's unclear what those cases are.

@jquense I found a reason and sent fix https://github.com/4Catalyzer/astroturf/pull/137


--rm for docker stop

I'd like to be able to remove the container from the "dormant container list" (docker ps -a or -l) as I stop them. It'd be quicker when testing & trying things out.
so just like we have
docker run or build  --rm
I'd like to have
docker stop --rm
thanks

There's docker rm -f already which accomplishes this.
Since this was a request for a feature which exists already, I'm going to close this issue. Please feel free to comment.

@unclejack: Thank you for cleaning up my redundant post (#12094). I had trouble with my ADSL so I ended up re-submitting it as I could not find it (in the mean time called the ISP provider for the issues etc. etc.). Apologies for this.
On the actual issue:  'm aware that I have the command
docker rm -f
My issue is slightly more subtle.
I do work with the:
docker stop (because I trap SIGTERM) and bring down cleanly the database.
but THEN
I have to run
docker rm
which as you can appreciate is another command and a pain to be perfectly honest when -if we had the flag available as suggested, would eliminate my complain and that of others and allow us to work more efficiently.
The --rm is available for build and run;
WHY should it not be available for stop?
DO you really think this in an un-reasonable request?
@runcom liked it and I'm sure others working in an iteration/agile/rebuild & test the quality of the container type environment would appreciate it.
Could we re-open this issue then?

The only adequate thing to do would be to add a flag like -s, --signal=KILL Signal to send to the container to docker rm to use it together with docker rm -f so that clean shutdown is possible.
The docker stop command has nothing to do with container removal and adding --rm to docker stop isn't going to happen.
The simplest solution today would be to issue docker kill -s TERM and docker rm.

@unclejack may I work on what you proposed or it's just in doing by someone else?

@runcom Please feel free to go ahead.

@unclejack I think we are not understanding each  other as I'm looking from a user ability and standardisation (other commands have the option)
Allow me to expand please:
When I run docker stop, if nobody trap it, it waits for 10 seconds and issues a SIGKILL so you flag -s does not have any meaning anyway an could be potentially confusing at least when you document it.
If I trap it (which I do, to run a shutdown) then I don't know exactly what happens. I guess you don't go into the 10 sec timeout and just make the container dormant.
All I'm saying is that -in order to be consistent, you'd be offering an extra consistent-same-name flag
which would just do what we've all come to expect from such flags (rm, rmi). It should not be difficult to implement it in Go with the defer command.
Alternatively I'd have to remember that when I use stop the flag is called -s. Why? Please let's keep the KISS principle
I think that this request still make sense; it is consistent to what you're offering with other commands (--rm, rmi) and does not introduce yet another flag to remember.
I understand your comment that stop has nothing to do with container removal. But then, by the same logic, shouldn't run be the same? Why do you have a run --rm=true?
Unless of course I'm missing something...
thank you for an attentive consideration.

@unclejack I think we are not understanding each other here :)
I'm looking at it from a user consistency point of you.
Please allow me to expand.
At the moment the stop command -if un-trapped, sends a straight SIGKILL after 10 seconds to the container so adding a -s flag could potentially be just confusing, at least when documenting it.
If one traps it (and runs an orderly app shutdown inside the container) then I presume there is no SIGKILL sent and you make the container dormant.
My argument is about consistency between the various command. Whys should I remember the -s flag for the stop?
I understand you statement that the stop has nothing to with container removal, but by the same logic, don't you think this should apply to the run command?
Why do we have something that has nothing to do with run flags (mem, cpu etc.) but think about the "afterlife" of the container? Flexibility it's my guessed answer.
Therefore, why can we not have the same flexibility & consistency (rm, rmi) vs inventing a new flag?
I would like to see Docker adhere to the KISS principle.
It should not be difficult to implement with Go defer or whatever.
Unless I'm missing something (possible!) I think my request still holds some value.


Update resource_handle.h

Changed access modifier to "private"
Fix for #50481

Why?

Hi Mihai,
Submitted pr on behalf on user as he did not want to contribute them self.
Please let me know if this is invalid, so i could close this pr and update the same to the user.

Looked through the history change and indeed it looks like a typo. Also, tests are passing, so let's go ahead with this one.
Thank you for the PR.


README claims it's broken, but it works great

The README is lying

I agree. Works perfectly for me.


Adding new card for OpenShift Level Program to the OpenShift Learning resources page

/ok-to-test

Following conversations with stakeholders, we will not merge this into the console. Thanks!

Closing PR


Destroyed ships will not be revived when bombed

Summary
Fixed bug: ships that were already destroyed will not be "revived" when bombed.
Details and comments
Implementation: updated the bomb array to mark destroyed ships. The relevant quantum operation then takes the ships state and number of bombs into consideration to calculate the ships current status.
If "reviving" already destroyed ships back to life when bombed was planned as a feature - feel free to ignore this suggested fix and close this PR.

 All committers have signed the CLA.

 All committers have signed the CLA.


Allow passing kwargs through host.run() into subprocess.run

Hello,
I have a use-case which doesn't quite work in testinfra as it stands.
host.run() on a local host eventually calls subprocess.run().  That's great, but I noticed it doesn't pass **kwargs.  The fix is trivial, but I've no idea:

if this implementation of the fix is acceptable
what it breaks outside my use case.

I added a test, which fails in docker (see below).  I haven't started digging in yet because I thought I'd check first if this whole idea was a non-starter?
test/test_modules.py::test_command_execution_in_chdir[docker://debian_stretch]
[gw1] [ 93%] FAILED test/test_modules.py::test_command_execution_in_chdir[docker://debian_stretch]

    def test_command_execution_in_chdir(host):
>       assert host.run("pwd", cwd='/tmp').stdout.strip() == '/tmp'
E       AssertionError: assert '/' == '/tmp'
E         - /
E         + /tmp

Hi, thanks for contributing !
I'm not sure all arguments of subprocess are useful here, but cwd definitively is. But the way you've implemented it only works with "local" backend. What about adding a new context manager cwd for this, which could enable it for all modules ? For instance:
with host.cwd('/opt/local/app'):
    assert host.file('./myapp').mode == 755
    assert host.run('./myapp --version') == '1.2.3'

Under the hood, all remote commands would change directory before running the command.
I think this code will be similar to host.sudo() context manager.
What do you think ?

@philpep
That sounds reasonable.  I'll change the title to reflect that and take a look at an implementation.
This is the file you're suggesting as a model, yes?  testinfra/modules/sudo.py


Avoid type casting 204 return types from API

PR #424 addressed an issue where the backend returns a Null type when the call is 204 (No Content). Our generated client doesn't take this into account (it assumes a successful request always returns the specified type). Therefore, the solution by the mentioned PR casts the return type into a nullable version of the expected return type.
A lot of our endpoints can potentially return 204, which means that our generated client could still potentially fail in cases not covered by #424. Therefore, we should fix the relevant issue https://github.com/AnalogIO/analog-core/issues/148, then revert the changes made by the PR #424.

No longer blocked, was solved in https://github.com/AnalogIO/analog-core/issues/148


ApplyPulidFlux.apply_pulid_flux() got an unexpected keyword argument 'prior_image'

ComfyUI Error Report
Error Details

Node Type: ApplyPulidFlux
Exception Type: TypeError
Exception Message: ApplyPulidFlux.apply_pulid_flux() got an unexpected keyword argument 'prior_image'

Stack Trace
  File "D:\ComfyUI_windows\ComfyUI\execution.py", line 317, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

## Additional Context
(Please add any additional context or steps to reproduce the error here)
Please help me solve it

Someone used another repository node that caused a similar problem. Maybe you should delete the node and connect a new one.


Taking screenshots on every Action

Is there a custom way to take screenshots on every earlgrey action or rather navigation. I am developing tests that would capture every page visited by scripts and was wondering if earlgrey had mechanisms similar to Selenium's WebDriverEventListener allowing me to capture screenshots after certain events
https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/events/WebDriverEventListener.html
Or really any guidance on this issue without having to manually screenshot at strategic points

Added workaround in my test suite. This might still be an interesting ask for someone else out there, but implemented a solution on our test suite level above the EG level

Added workaround in my test suite. This might still be an interesting ask for someone else out there, but implemented a solution on our test suite level above the EG level

You could add a grey_snapshot() call to your EG statement to do this as well.

You could add a grey_snapshot() call to your EG statement to do this as well.


Consider creating a new release now that Swift 4 support has been added

Just a house keeping issue...since a new release wasn't created when Swift 4 support was added back in May, integrating with CocoaPods requires referencing the master branch or the Swift 4 commit.

Ooh didn't know that was the case! I'll update it!


How do we tell Honest Achmed we're an existing customer?

In the current list of directives I don't see any way (short of maybe the email address which would be badly overloaded for this purpose) to signal to a CA that we're one of their existing customers.
ACME includes a method to bind the ACME account to some sort of per-CA customer account, see e.g. 7.3.5 "External Account Binding" in the most recent draft. We can expect that if ACME takes off with Commercial CAs they will want a simple way for sysadmins at a larger customer to bind all their machines to the company's account.
Ideally there'd be one directive to support this: to both specify a customer ID and to specify a MAC key which proves you're that customer, since it makes no sense to have one without the other, or for one to vary without the other. The documentation and preferably directive name should make clear that the latter is secret and not to be shared.
For Let's Encrypt obviously this is largely irrelevant, but for a commercial CA this is vital to distinguish random people with mod_md installed from legitimate paying customers and one customer from another.
I can imagine that I'd be able to tell a new Apache install, here's the URL for Honest Achmed, here's my customer ID 123456, and here's a gibberish ASCII-encoded MAC to prove I'm 123456. Then my certificates would get an EV OID and O="EXA Metal Pole Europe LTD" which I've paid Achmed $100 per year to verify with an extra $10 to pay every extra hundred certificates. DV would take place as usual for the specific names that Apache is configured with.

Well, that would be a feature of ACMEv2, not the version currently supported by mod_md. There are currently no ongoing activities to implement v2 of the procotol. Let's Encrypt will start that in January (I think), but plans to support the current services indefinitely, basically.


reduce quality of pdf

Is there a way to reduce the quality of the pdf? This is too good for me. 😆
Because of the big images I have the pdf gets quickly to 20mb.
Currently I add images to canvas and get base64 back with lowest quality, this works but isn't very comfortable.

You'll need to resize the images before embedding them in the pdf. Use something like gm for that.

I know, but what if I still want to get lower quality pdf..


Error on execution

Hello.
I try to execute this script on my Synology NAS DS920+.
My version of DSM is DSM 6.2.4-25556
I have this error on the execution
reconnect-vpn.sh: line 13: $'\r': command not found
reconnect-vpn.sh: line 17: $'\r': command not found
reconnect-vpn.sh: line 23: $'\r': command not found
reconnect-vpn.sh: line 27: $'\r': command not found
reconnect-vpn.sh: line 30: $'\r': command not found
reconnect-vpn.sh: line 33: $'\r': command not found
reconnect-vpn.sh: line 37: syntax error near unexpected token `elif'
'econnect-vpn.sh: line 37: `elif [[ $CONFIGS_QTY -gt 1 ]]; then
Someone can help me ?
Have a nice day

Any ideas ?

Windows style newline characters? Save with correct end of line encoding, see https://unix.stackexchange.com/questions/391223/why-am-i-getting-line-1-r-command-not-found

dos2unix
https://www.rdocumentation.org/packages/icesTAF/versions/3.6.0/topics/dos2unix

dos2unix
https://www.rdocumentation.org/packages/icesTAF/versions/3.6.0/topics/dos2unix

AFAIK not OOB on a Syno NAS

Yeah true, better to make sure that you use scp or in case of (s)ftp do a binary copy

Yeah true, better to make sure that you use scp or in case of (s)ftp do a binary copy

Or ssh, change dir and wget https://raw.githubusercontent.com/ianharrier/synology-scripts/master/reconnect-vpn.sh

I'm going to close this, as it doesn't appear to be an issue with the script itself.

Thank you for you help.
It was a issue with end of line.
With a wget it's better


Add short to integral types for long codec

case object LongCodec extends Codec {
  type C = Long

  /** Pattern for parsing `LongCodec` from string. */
  val Pattern = "long|int".r
...}

added short to the pattern


Add a way to reference an Animation resource by its name

Godot version:
master / ffe158ae8
OS/device including version:
Manjaro Linux 17.1
Issue description:
In Godot, animations (or animation resources, specifically) are identified by their names conceptually, like when you select them from a dropdown box in the animation view. The same goes for such APIs like AnimationPlayer.Play(String name).
However, there's no API to get the name of an animation currently, which makes it almost impossible to write an extendible animation system which involves dynamically adding or removing animations.
For instance, if you want to create an item scene which can define a custom animation to play when equipped, it won't be sufficient for the item to have a reference to an Animation type resource because there is no reliable way to know its name and almost all animation related APIs require the name of an animation to manipulate.
The closest thing I could find was Resource.ResourceName which returns an empty literal by default, or Resource.ResourcePath which needs to be parsed manually to extract the name part and can only be used when the resource is stored as a separate file.
This is not an ideal situation, so there should be a better way to manipulate animations from code to allow writing more complex animation related features (i.e. a modding system which allows custom animations).

As far as I toyed with animations so far, I saw that animation names match their file name always, so I end up using that when they are files. Sometimes I wish there could be a way to play animations by reference (you have a var with an animation in it and you just play that) but again the player wants a name^^"

@Zylann Me too. The old AnimationTreePlayer allowed specifying an animation resource instead of a name which was removed when the API was superceded by AnimationTree.
I wish this functionality to be restored someday, so I opened another issue for that matter (#19877).
At least, it seems that this issue could be resolved a lot sooner than I initially thought it would. (Thanks @DualMatrix!)

Some issues here:

There is not a concept of a unique resource names in Godot, and there will never be because it goes against the engine architecture (instancing and all that stuff would break).
If you want to add a new animation, adding to AnimationPlayer, using a string identifier and then use that identifier in AnimationTree
Adding resources directly to AnimationTree is too difficult, because all the validation is done by AnimationPlayer, as well as editing from UI. Maybe a function to add one via code directly in a node could be added though.


Unable to pass credentials in MemberCreateRequestBody

According to https://github.com/mxenabled/atrium-python/blob/master/atrium/api/members_api.py#L159 credentials are required to be passed through for as a part of any MemberCreateRequestBodys as an argument for create_member.
However, MemberCreateRequestBody does not have credentials as one of its necessary fields. So satisfying the criteria outlined at https://github.com/mxenabled/atrium-python/blob/master/atrium/api/members_api.py#L159 is impossible.
This will in turn cause a 400 from the Atrium api server, see some sample output below:
backend_1  | atrium.rest.ApiException: (400)
backend_1  | Reason: Bad Request
backend_1  | HTTP response headers: HTTPHeaderDict({'Server': 'nginx', 'Date': 'Sat, 07 Sep 2019 01:17:18 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'X-Frame-Options': 'SAMEORIGIN', 'X-XSS-Protection': '1; mode=block', 'X-Content-Type-Options': 'nosniff', 'Cache-Control': 'no-cache', 'X-Request-Id': 'fcda237be08bcb56db288cea7d27e5b4', 'X-Runtime': '0.062476'})
backend_1  | HTTP response body: {"error":{"message":"param is missing or the value is empty: credentials"}}

As of now it looks like it may not be possible to create a new member using this library - or at the very least there's a documentation mismatch. Hope that's descriptive enough, I appreciate the work you guys have put in here.

Thanks for reaching out @AlexMapley
Our documentation examples currently only show the top level object. So in the create_member example, the body attribute shows that an atrium.MemberCreateRequestBody() is required.
If you drill down in the create_member example by clicking on the MemberCreateRequestBody hyperlink in the Parameters table - you will be shown more objects/attributes you can drill down into.
So once you expand that object, a create_member example would look something like the following.
from __future__ import print_function
import time
import atrium
from atrium.rest import ApiException
from pprint import pprint

# create an instance of the AtriumClient
client = atrium.AtriumClient("YOUR_MX_API_KEY", "YOUR_MX_CLIENT_ID")

user_guid = "YOUR_USER_GUID" # str | The unique identifier for a `user`.

body = atrium.MemberCreateRequestBody(
    member = atrium.MemberCreateRequest(
        institution_code = "mxbank",
        credentials = [
            atrium.CredentialRequest(
                guid = "CRD-9f61fb4c-912c-bd1e-b175-ccc7f0275cc1",
                value = "test_atrium"
            ),
            atrium.CredentialRequest(
                guid = "CRD-e3d7ea81-aac7-05e9-fbdd-4b493c6e474d",
                value = "password"
            )
        ]
    )
)

try:
    # Create member
    response = client.members.create_member(user_guid, body)
    pprint(response)
except ApiException as e:
    print("Exception when calling MembersApi->create_member: %s\n" % e)

We understand this can be confusing, so we are currently working on expanding the objects in the documentation examples to make this more clear.
I'm going to close this issue for now, but please let us know if anything else comes up. Thanks again for reaching out 👍

Great! Thanks for this Brett, you explained everything very clearly. The issue I ran into was trying to pass in a member as object as opposed to a MemberCreateRequest as the member field. Using your code example as a reference, I was doing:
body = atrium.MemberCreateRequestBody(
    member = atrium.Member(
     ...
    )
)

instead of:
body = atrium.MemberCreateRequestBody(
    member = atrium.MemberCreateRequest(
      ...
    )
)

https://github.com/mxenabled/atrium-python/blob/master/docs/MemberCreateRequestBody.md Is a good link to clarify which class is needed.
I believe your documentation is sufficient and you guys are great, I just hadn't spent enough time digging through your API. Thanks again for the help!


bundles ignored when base-path is defined

Running polymer buld produces 3 bundles(esm, es5, es6) as desired. But when base-path is defined in CLI, instead only default bundle is generated:  polymer build --base-path /myapp.
It is a mystery what this 'default' is based on.
There is partial work around polymer build --preset es5-bundled --base-path /myapp which will render only es5 bundle. Unfortunately run with another preset will clear previously generated bundle folder so extra folders move is needed if you want to have all 3 bundles available.

Another work around is to define base path for bundle within polymer json


Code cleanup and cache refreshing

Removed meta information from JSON responses
Removed unused code (methods, classes)
Cleaned up code
Cache

Fully initialize cache on startup
Refresh the cache daily at 11am
Added refresh endpoint
Expire cache if it has not been refreshed for more than 3 days
refreshCache endpoint hidden in Swagger

NOTE: web/src/main/java/org/mskcc/oncotree/api/TumorTypesApi.java has two TODO items we should do something about.

I think that since we are going to deploy this code as ROOT.war in the oncotree-tomcat and then migrate to it, we can deploy now without breaking existing clients. I am removing the do-not-merge tag.


Update to xdg-open 1.1.1

I downloaded xdg-utils and built version 1.1.1.  The manual tests for node-open pass, though I did try running them as "sudo" as recommended.

I'd be happy to update to a new stable version of xdg-open. Can you please tell me the steps you took to build this, so I can verify the source?
Thank you very much!

Sure:

clone the xdg-utils repository (http://cgit.freedesktop.org/xdg/xdg-utils/ -- see links at the bottom) and check out version 1.1.1

edit scripts/xdg-utils-common.in to fix the version number string.  You'll see a line with echo "@NAME@ 1.1.0 rc3".  Change that to 1.1.1.  I filed a bugzilla report about that, and heard back that it will be fixed with the next version.

Ignore what the README says about not needing to run make.  The files in the scripts directory are not ready for running.

Run ./configure, and then make.  I can't remember if I had to run make install.  If you need to do that, when you run ./configure add --prefix=somewhere to set your installation path, so it doesn't try to put stuff in /usr/bin.  I do remember having to install a package for xmlto, and the lynx text browser to get make to run properly.

If you run into difficulty, you could also just copy opn's xdg-open, which also claims to be 1.1.0 rc3.  (It is not the same as 1.1.1, though, but should be at least 1.1.0 rc3.)


Fix for FutureWarning: Series.getitem treating keys as positions is deprecated.

Swap the call to __getitem__ for iloc.

Fix will be included in https://github.com/questdb/py-questdb-client/pull/59


Light theme

I have question related to jQuery Terminal

Hi,
Is there a quick way to get a white-based/light theme terminal?
Thanks!

Yes, you can use css variables (also called custom properties):
.terminal {
    --background: white;
    --color: black;
}

color need to be black because gray (even darkgray) is too white.

Cool, it works!
There is a way for specify colors using echo
e.g. [[!guib;;]some text]
Possible to make the BACKGROUND optional?
Thank you.

To answer my question, just leave the BACKGROUND color empty, e.g. [ib;#f00;].
Note: remember to leave the last semi-colon there, otherwise the format string gets echoed as text


Chromebook's flash used by firefox works on test but fails in real life

I have extracted and installed pepper flash from chrome os backup image. When I try http://drmtest2.adobe.com:8080/SVP/SampleVideoPlayer_FP.html# with http://drmtest2.adobe.com:8080/Content/anonymous.f4v everything works just fine and train video plays.
Here is log:
   Starts to get video metadata at Mon Jul 16 13:00:55 GMT+0200 2018
   DRMContentData received on Mon Jul 16 13:00:55 GMT+0200 2018
   authenticationMethod = anonymous
   ServerURL = http://drmtest2.adobe.com:8080
   license ID = 43345AEF-52FF-3F20-90FF-ABDC98A2E3E4
   Local voucher...
   Load local voucher complete event received on Mon Jul 16 13:00:56 GMT+0200 2018
   voucher not found in local voucher store.
   DownloadVoucherComplete event received on Mon Jul 16 13:00:56 GMT+0200 2018

   customPolicies :
   policies.Slippery = Slope_Let's_Fall_Down_It
   policies.playbackMode = all
   policies.Giant = SuperDuperPanda
   policies.Sound of one hand clapping =
   policies.DRMTEST2 =
   startDate = null
   endDate = null
   offlineLeaseStartDate = Mon Jul 16 13:00:56 GMT+0200 2018
   offlineLeaseEndDate = Mon Jul 16 14:00:56 GMT+0200 2018
   playbackTimeWindow = null
   -------------
   Start to play content on Mon Jul 16 13:00:56 GMT+0200 2018
   -------------

   DRMStatus event received on Mon Jul 16 13:00:57 GMT+0200 2018

   customPolicies :
   policies.Slippery = Slope_Let's_Fall_Down_It
   policies.playbackMode = all
   policies.Giant = SuperDuperPanda
   policies.Sound of one hand clapping =
   policies.DRMTEST2 =
   startDate = null
   endDate = null
   offlineLeaseStartDate = Mon Jul 16 13:00:56 GMT+0200 2018
   offlineLeaseEndDate = Mon Jul 16 14:00:56 GMT+0200 2018
   playbackTimeWindow = null

But when I try to play real life web service (wwe network) it seems like it wants to start but then it fails.
In console, firefox will output:
[Parent 21898, Gecko_IOThread] WARNING: pipe error (142): Connection reset by peer: file /build/firefox/src/mozilla-unified/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
NOT SANDBOXED
[fresh 22086] not implemented: PPB_OpenGLES2VertexArrayObject;1.0
[fresh 22086] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0
[fresh 22086] not implemented: PPB_BrokerTrusted;0.3
[ERROR:flash/platform/pepper/pep_shader_factory.cpp(408)] Compilation failed: 0:1(1): error: syntax error, unexpected $end

[ERROR:flash/platform/pepper/pep_shader_factory.cpp(408)] Compilation failed: 0:1(1): error: syntax error, unexpected $end

[fresh 22086] ppb_flash_drm_get_device_id, creating salt file
GlobalStateStoreSPIImpl::storeIndivResults
GlobalStateStoreSPIImpl::_init
GlobalStateStoreSPIImpl::_checkDeviceBinding
GlobalStateStoreSPIImpl::getMachinePrivateKey
GlobalStateStoreSPIImpl::getMachinePrivateKey
GlobalStateStoreSPIImpl::getMachinePrivateKey
[fresh 22086] not implemented: PPB_BrokerTrusted;0.3
[ERROR:flash/platform/pepper/pep_shader_factory.cpp(408)] Compilation failed: 0:1(1): error: syntax error, unexpected $end

[ERROR:flash/platform/pepper/pep_shader_factory.cpp(408)] Compilation failed: 0:1(1): error: syntax error, unexpected $end

and

".ARNING:flash/platform/pepper/pep_url_request_info.cpp(219)] Missing colon in HTTP header line "
[WARNING:flash/platform/pepper/pep_url_request_info.cpp(195)] Illegal HTTP header field: "User-Agent".
[WARNING:flash/platform/pepper/pep_url_request_info.cpp(195)] Illegal HTTP header field: "Connection".

over and over.

Maybe it needs not implemented: PPB_BrokerTrusted;0.3?

Missing colon in HTTP header line
Illegal HTTP header field: "User-Agent".

Those messages look mysterious. I remember similar messages, but that issue was fixed years ago. What version of freshplayerplugin do you use? Did you try the latest one from the repo?
Is there any other site with similar error, preferably without required regustrations?

Maybe it needs not implemented: PPB_BrokerTrusted;0.3?

That's unlikely. It's somehow related to privilege separation and sandboxing. (Also, I have no idea how to implement that from documentation only. It's to vague.)

This is with latest git build built from aur (arch linux user repository): https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=freshplayerplugin-git
Still not working and same set of messages.
[Parent 13164, Gecko_IOThread] WARNING: pipe error (145): Connection reset by peer: file /build/firefox/src/mozilla-unified/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 353
NOT SANDBOXED
[fresh 13317] not implemented: PPB_OpenGLES2VertexArrayObject;1.0
[fresh 13317] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0
[fresh 13317] not implemented: PPB_BrokerTrusted;0.3
[fresh 13317] not implemented: PPB_BrokerTrusted;0.3
[ERROR:flash/platform/pepper/pep_shader_factory.cpp(408)] Compilation failed: 0:1(1): error: syntax error, unexpected $end

[ERROR:flash/platform/pepper/pep_shader_factory.cpp(408)] Compilation failed: 0:1(1): error: syntax error, unexpected $end

This shows when loading video.
[WARNING:flash/platform/pepper/pep_url_request_info.cpp(195)] Illegal HTTP header field: "User-Agent".
[WARNING:flash/platform/pepper/pep_url_request_info.cpp(195)] Illegal HTTP header field: "Connection".
".ARNING:flash/platform/pepper/pep_url_request_info.cpp(219)] Missing colon in HTTP header line "
[WARNING:flash/platform/pepper/pep_url_request_info.cpp(195)] Illegal HTTP header field: "User-Agent".
[WARNING:flash/platform/pepper/pep_url_request_info.cpp(195)] Illegal HTTP header field: "Connection".
".ARNING:flash/platform/pepper/pep_url_request_info.cpp(219)] Missing colon in HTTP header line "
[WARNING:flash/platform/pepper/pep_url_request_info.cpp(195)] Illegal HTTP header field: "User-Agent".

Yeah, eventually.


Create Status.md

Update Status.md

@sweta-dotcom

Please rename the file as README.md
Update the file according to the template that was shared with you via mail.


disabled_client ... app not yet configured to make OAuth requests ... OAuth consent screen

The SDK instructions say fields are optional and also the consent screen says that I can save without publishing, but when I use the google-oauthlib-tool, the resulting link tells me that I still need to configure the consent screen.
 Error:  "disabled_client  This app is not yet configured to make OAuth requests. To do that, set up the app’s OAuth consent screen in the Google Cloud Console."
I want to use google assistant for home automation using the sample Google Assistant Library SDK and don't need to invite other users.  Can I use the API credentials with the SDK instead of OAUTH or will the API credentials also require the entire consent screen to be completed/published?

I managed to get this authorized without having to add the optional fields in the consent screen.  Possibly due to confusion in the instructions about which json credentials file to use in the instructions.  I believe it is the device credentials json file that is needed.  Unfortunately, the test command:
googlesamples-assistant-hotword --project-id my-dev-project --device-model-id my-model
now results in a segmentation fault.  I will create a new issue for that if I can't figure it out.

You need to generate OAuth credentials, which includes setting up the OAuth consent screen, then using the google-oauthlib-tool to generate credentials from the device credentials for your account

Thanks. In fact, I got authorized even without the optional fields in the consent screen.  The segfault went away when I invoked the program from within its library path.  :-)


Suggestions dropdown erratic

I am fetching suggestions from ajax every 2 char. Sometimes the suggestion shows up sometimes it doesn't then it show up after typing few more charts.

https://jsfiddle.net/dqo6vr57/280/
Tried it and it is really an annoying problem.
Did anyone find a solution?

I am experiencing the same issue on 1.0.2. Might be a race condition some where; pressing and holding the key down for a second and then releasing seems to mitigate at least one of the issues on my end. Still far too buggy for use in my project; will be replacing it with something else.

Welp all the other vuejs autocomplete / type ahead components are terrible or too specialized. I found setting
:suggestOnAllWords="true"
gave a more expected behavior. Perhaps setting this to enabled by default would being this component more in line with expected autocomplete behavior.

thanks @DevinWatson

@DevinWatson Yeah, many other autocomplete components lack functionality and freedom/customization.  That is why me and my friend have created a simple yet feature-rich component to fulfill our needs. Maybe you'll find it usefull, check it out :)

I think my PR fixes the problem, which is due to the reactive suggestions array being re-initialized improperly

Fixed.


When will the codes be release

Hello! I just read your impressive work! It solved one of my long-standing concerns: Do those "long-context" LLMs truly have real long context windows? I can't wait to test more models using your codebase!

Hello! I just read your impressive work! It solved one of my long-standing concerns: Do those "long-context" LLMs truly have real long context windows? I can't wait to test more models using your codebase!

Thanks for your interest! Our code release is still undergoing approval, but we'll release soon!

Eagerly awaiting the release :)

@Mooler0410 @danpadnos thanks for your patience. we just release our code.


SSH callhome authentication denied

Dear Team,
We are attempting to set up a call-home connection via SSH (IPV4). Both password and public key authentication methods have been tried, however, they are failing with the following errors:

:: NetConf Client ::
INFO "LN" Accepted a connection on <IP_ADDRESS>:4334 from <IP_ADDRESS>:58286.
ERROR "(null)" ERROR,3000E80002,du-rumgr-app,"Nr5gDuRuConThread[run] : SSH Call Home timeout failed."
INFO "LN" Interactive SSH authentication method was disabled.
INFO "LN" Password authentication (host "<IP_ADDRESS>", user "root").
WARNING "LN" Authentication denied.
INFO "LN" Publickey athentication.
INFO "LN" Trying to authenticate using pair "/opt/gNB/cfg/Netconf_SSH_Key" "/opt/gNB/cfg/Netconf_SSH_Key.pub".

:: NetConf Server ::
INFO "LN" Trying to connect via IPv4 to <IP_ADDRESS>:4334.
INFO "LN" Successfully connected to <IP_ADDRESS>:4334 over IPv4.
INFO "LN" Received an SSH message "request-service" of subtype "ssh-userauth".
INFO "LN" Received an SSH message "request-auth" of subtype "none".
INFO "LN" Received an SSH message "request-auth" of subtype "password".
INFO "LN" Failed user "root" authentication attempt (#1).
INFO "LN" Received an SSH message "request-auth" of subtype "publickey".
INFO "LN" User "root" tried to use an unknown (unauthorized) public key.
INFO "LN" Failed user "root" authentication attempt (#2).
ERROR "LN" Communication SSH socket unexpectedly closed.

I am uncertain where to correctly configure the credentials and keys on the Netconf server. However, added the public key from client "/opt/gNB/cfg/Netconf_SSH_Key.pub" to server "~/.ssh/authorized_keys". Could you please assist me with this?
The following is the client-server application code that we have written, provided for your information.
:: Client Application ::
char * getPassword(const char *username, const char *hostname, void *priv)
{
        char password[50] = "Welcome123";
        char *pass_to_return = malloc(strlen(password) + 1);
        strcpy(pass_to_return, password);
        return pass_to_return;
}

int getHostKey(const char *hostname, ssh_session session, void *priv)
{
        return 0;
}

main()
{
        nc_client_init();
        char *user = "root";
        unsigned short port = NC_PORT_CH_SSH;
        char *host = "<IP_ADDRESS>";

        nc_client_ssh_ch_set_username(user);
        nc_client_ssh_ch_add_bind_listen(host, port);
        nc_client_ssh_ch_set_auth_pref(NC_SSH_AUTH_PASSWORD, 1);
        nc_client_ssh_ch_set_auth_pref(NC_SSH_AUTH_PUBLICKEY, 1);
        nc_client_ssh_ch_set_auth_pref(NC_SSH_AUTH_INTERACTIVE, -1);
        nc_client_ssh_ch_set_auth_password_clb(getPassword, "DATA");
        nc_client_ssh_ch_set_auth_hostkey_check_clb(getHostKey, "DATA");

        /* Set private and public key pair of client, if PUBLICKEY auth preference is enabled */
        nc_client_ssh_ch_add_keypair("/opt/gNB/cfg/Netconf_SSH_Key.pub", "/opt/gNB/cfg/Netconf_SSH_Key");

        ret = nc_accept_callhome(timeout * 1000, NULL, &session);
}

:: Server Application ::
 nc_server_ssh_set_pubkey_auth_clb(np2srv_pubkey_auth_cb, NULL, NULL);

The client looks okay but you will need more function calls for the server. SSH password authentication works by default for the system user/password information. If you want to use something else, set the callback just like you did for the publickey authentication using nc_server_ssh_set_passwd_auth_clb(). Regarding publickey authentication method, based on the error printed, you need to set the client SSH keys as authorized, using nc_server_ssh_add_authkey_path(), for example. After these steps both methods should work, I think.


feat(preview): support outDir option

Description
Support vite preview --outDir other-dist to preview the build output for vite build --outDir other-dist.
Additional context

Raised on discord

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

It seems running pnpm preview --outDir dist in playground/assets doesn't work.

Ah, my bad. 🤦♂

Thank you for this! Perfect timing.


enhancement: improve token amount input

Summary

Please summarize your changes, describing what they are and why they were made.

...
Changelog
- reduce the fontsize if amount succeeds a certain length
- If a decimal point is the first thing inputted, a 0 is added before the decimal point
- block inputting a number which would be longer than available balance

Testing
Platforms

Please select any platforms where your changes have been tested.

Desktop

[ ] MacOS
[ ] Linux
[ ] Windows

Mobile

[ ] iOS
[ ] Android

Instructions

Please describe the specific instructions, configurations, and/or test cases necessary to test and verify that your changes work as intended.

...
Checklist

Please tick the following boxes that are relevant to your changes.

[ ] I have followed the contribution guidelines for this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or modified tests that prove my changes work as intended
[ ] I have verified that new and existing unit tests pass locally with my changes
[ ] I have verified that my latest changes pass CI workflows for testing and linting
[ ] I have made corresponding changes to the documentation

Regarding How do you think we should handle very large numbers? E.g. 1.11e40:
i think for now we shouldnt support these numbers in the send form, at least for now


Gene Wiki article creator broken

A user requested creation of a gene wiki page for FCHO1 (Entrez Gene 23149).  The Gene Wiki BioGPS plugin goes to http://genewiki.sulab.org/map/wiki/23149, which then redirects to http://genewiki.sulab.org/map/wiki/23149/genewiki.wiki.views.article_create which returns 404.
If @julialturner is still around it would be great if you can take a look and see if it's something simple.  If we don't hear back in a couple days, we should just take this one on ourselves...

On fix, someone should also create the FCHO1 page and/or follow up with this user https://en.wikipedia.org/w/index.php?title=User_talk%3AProteinBoxBot%2FPhase_3&type=revision&diff=780219122&oldid=653967701

@andrewsu I can create the page with my local copy of code and will see if there is an easy fix for the page creation.

It seems this is something to do with the server configuration.  Did it ever work after everything was moved over?

Thanks @julialturner -- not sure if we tested the article creation feature after migration.  Just want to confirm as we try to debug server-side, is the redirect to http://genewiki.sulab.org/map/wiki/23149/genewiki.wiki.views.article_create correct?  Or should that be mapping to another URL?

@andrewsu the redirect should be http://genewiki.sulab.org/wiki/article/create/23149/

@julialturner thanks for chiming in.  Could you confirm that this line is correct and matches your local situation?  (line 29 in mapping/views.py ) .  I believe thats the line that starts the redirect problem.
https://github.com/SuLab/GeneWikiCentral/blob/master/genewiki/genewiki/mapping/views.py#L29
Should go to http://genewiki.sulab.org/wiki/article/create/23149/ but instead goes to
http://genewiki.sulab.org/map/wiki/23149/genewiki.wiki.views.article_create
Seems like it needs some indication to go up to the root context to find the URL pattern with name = article_create ?  (here https://github.com/SuLab/GeneWikiCentral/blob/master/genewiki/genewiki/wiki/urls.py ) ??

@goodb yes my line 29 in mapping/views.py is the same

Okay thanks @julialturner .  @putmantime is looking into it.  Most likely something about the django/nginx server configuration I guess.

Update. multiple problems actually.  #1 python not importing gene wiki module.  Fixed by @putmantime .  #2 Looks like cross-origin request problem:  Safari:  "Refused to display 'http://genewiki.sulab.org/wiki/article/create/23150/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.  #3 its not actually reading any password file so once we get it to execute will fail to make the wikidata write.  Hopefully will cure these tomorrow...

@putmantime For the X-frame-options error I think this is a result of the latest django release being made 'safer' by default.  See https://docs.djangoproject.com/en/1.11/ref/clickjacking/#setting-x-frame-options-for-all-responses  .  Its defaulting to SAMEORIGIN, blocking all attempts to render the content in an iframe like biogps.  Looks like it needs the @xframe_options_exempt decorator added to the views that we want to be able to show in iframe.  (Tried fixing this at nginx conf level, but needs django-specific fix)

@goodb The decorator fixed it and the prompt to create a new article is now rendering in GPS.  I am now trying to fix the password issue.  Is there a different set of credentials for writing to wikipedia?

Update.  Article creator is now functional.
Fixes implemented:

Python import of article_create view  into mapping view.
-less than ideal Python path append to allow import
-restructuring of project for proper python path imports would be optimal
Cross origin request error for rendering in BioGPS;
-added '@xframe_options_exempt' decorator to article create view
password import for PBB:
-created a pbb_secret.py file with password and user name

imported into /wiki/views.py and wiki/textutils.py for wikipedia article and interwikilink creation.

created .gitignore file
-added django secret key to pbb_secret.py and imported into django settings.py
-added pbb_secret.py path to .gitignore

plugin functional once more.  closing.