.syntax does not maintain newlines on statements with a non-apply body

I wrote the following test (in SyntacticSuite.scala) to show this:
  test("newline should be preserved before bodies") {
    val src =
      """
      |object A {
      | def f(a: K) =
      |   a
      |}
      """.stripMargin

    assert(source(src).syntax == src)
  }

It fails with:
[info] - newline should be preserved before bodies *** FAILED ***
[info]   "[object A { def f(a: K) = a }]" did not equal "[
[info]   object A {
[info]    def f(a: K) =
[info]      a
[info]   }

Note that \n has been removed.

What happens if you add a comment in that test? Scalameta .syntax does not preserve any trivia.

Add a comment? Like a scaladoc to the func?

Adding a comment does remove it:
[info]   "[object A { def f(a: K) = a }]" did not equal "[
[info]   object A {
[info]    // some-comment
[info]    def f(a: K) =
[info]      a
[info]   }

Am I misunderstanding what .syntax is?

A tree parsed from an input will have an Origin that contains tokens. .syntax checks if those tokens exists, if they do it prints out the exact same string as the input, otherwise it runs TreeSyntax https://github.com/scalameta/scalameta/blob/11a66cb6476d62783bcad27845a2db2a9a5a0128/scalameta/trees/shared/src/main/scala/scala/meta/internal/prettyprinters/TreeSyntax.scala which is a tree printer that discards any trivia like formatting or comments.
I've made decent progress in https://github.com/olafurpg/scala-syntax to replace TreeSyntax, but there is still some remaining work to preserve comments/trivia.

Not sure I follow (don't know much about Origin or scalameta internals). Are you saying this is working as expected? If so, should I be trying a different method? toString did the same.

Yes it's working as intended and there is no workaround for it at the moment, except maybe run scalafmt on the string input. Note that SynctacticSuite removes the Origin in order to test TreeSyntax, if you .parse[Source] it will print the original input verbatim.

Oh, that did work. Now I'm confused though. You said there is no work around but doing .parse works.

I think I misunderstood what you were trying to accomplish. That test suite
is for TreeSyntax which is a pretty printer. With parse then syntax does
nothing except print the string input that was parsed.
On Thu, 14 Dec 2017 at 19:46, Pedro Rodriguez Tavarez <
<EMAIL_ADDRESS>wrote:

Oh, that did work. Now I'm confused though. You said there is no work
around but doing .parse works.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/scalameta/scalameta/issues/1198#issuecomment-351800727,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABV8XcExfCW1tNf28jO11vQEi-8cq7kCks5tAW0NgaJpZM4RCTBz
.

Good to hear .parse fixed the problem.

@olafurpg
Well this is really my issue. I am trying to parse the following in stags:
@someAnno
def f =
    2

I do the normal .parse when getting the AST. I then run a modifier function on it where I remove any annotations that f may have. However, after doing that, when I go to run .syntax or .tokens.mkString, I end up with
def f = 2

The \n gets removed. The test I made in SyntaticSuite doesn't seem to capture that. Maybe if I modify the tree I can get it to happen again.
Is there a more appropriate test suite for me to do this on?

@pjrt as soon as you transform the tree then .syntax falls back to TreeSyntax which does not preserve any trivia. Syntax preserving tree transforms is the holy grail of refactoring tools and is still an active research area https://github.com/camfort/reprinter (paper https://www.cs.kent.ac.uk/people/staff/dao7/publ/reprinter2017.pdf) They have this in ReasonML and with refmt and I want scalafmt v2 to also support tree transforms 😄

Is there a more appropriate test suite for me to do this on?

The latest progress on syntax preserving tree transforms is in https://github.com/olafurpg/scala-syntax, (in particular comments branch) which I hope to turn into scalafmt v2 once it's [more complete.


aur-chroot: use overlayfs for temp containers

Not sure if I should report it here or devtools instead, but current aurutils uses mkchrootpkg to create a temporary or permanent container, and it does this by rsyncing a large amount of files. Since linux 3.18, it supports overlayfs, which would allow to mount the existing prototype chroot as a read-only directory and have a separate directory for write data overlaid on top, which can be wiped separately. This should considerably speed-up the building of packages by removing a slow necessary step.

devtools issue. Patches welcome, but this has been on my todo for a while.

As an aside; unionfs (fuse) and bwrap is quite a potent combination as well.  It's not the best example of scripting as it was made quickly, but the concept is present: https://git.cloudef.pw/pacbox.git/tree/pacbox.sh#n30

I wouldn't mind an aur version of pacbox. If only to remove all traces (and with that, issues/reports) of devtools in aurutils.
I'm not going to write it myself but patches welcome.

Please add a report in https://gitlab.archlinux.org/archlinux/aurweb/-/issues
For a standalone version of aur-chroot, I've kept a note in #909.


Port Xcode 9 XCTAttachment API integration from FB repo

https://github.com/facebookarchive/ios-snapshot-test-case/pull/230#issuecomment-368635109
Author of original PR (@SiarheiFedartsou was Ok with delegating it to me 😄 )
===
I've signed CLA but it's taking a while to update it seems.

 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.

Not sure how much of these questions you can answer, since you weren't the original author. If you want, I can take this PR and make the change instead.

@alanzeino I suspect one of the reasons to move part of the code to objc was#if defined(__IPHONE_11_0) || defined(__TVOS_11_0) check, but as, you correctly pointed I am not the author of original PR.

@alanzeino any chance you can have a look at this PR? I appreciate you maintaining the lib and I think this PR is very useful addition to the upstream

@delebedev I was waiting on you to revert the changes to SwiftSupport.swift and to reimplement this as needed there (you can revert a change in a file in git using git checkout HEAD^ path/to/the/file.swift — assuming you only have one commit on the branch, otherwise replace HEAD^ with the base commit).
Would you like me to implement this feature? I think since the original author isn't around it would be better if I just take a look at this.

@alanzeino please do it, as I've written above in the comments I don't really know which parts of SwiftSupport should be reverted and which kept, better if you do it right yourself 👍

This feature was added by https://github.com/uber/ios-snapshot-test-case/pull/86


Create schema of same name when user is created

It common to have a schema that the same name as a user in a database. By default, postgres  includes such a schema in its search_path automatically, see "section 5.8.3" in the docs.
It would be ace to have an option in ldap2pg that would create a schema of the same name when a user is newly created.
Thanks

Hi @joshlk actually, you can already do this by hacking the ACL mechanism :-) Just think grant as create and revoke as drop. This should look like:
acls:
  user_schema:
    type: datacl
    inspect: |
      SELECT NULL as "schema", rolename
      FROM pg_namespace n
      JOIN pg_authid ON rolname = nspname
    grant: |
      CREATE SCHEMA {role};
      ALTER USER {role} SET search_path {role},public;

YMMV

I'm thinking of extending ldap2pg to help managing this case. Here is an idea:
- role:
    name: '{cn}'
    on_create: |
      CREATE SCHEMA {role};
    on_alter: |
      ALTER SCHEMA {old} RENAME TO {new};
    on_drop: |
      DROP SCHEMA {role} CASCADE;

What do you think of it ? Would you prefer global on_create, on_drop ? Thanks for the feedback.

Another solution would be the allows override of queries :
postgres:
  queries:
    role_create: |
      CREATE ROLE "{role}" WITH {options};
      COMMENT ON ROLE "{role}" IS '{comment}';
      CREATE SCHEMA "{role}";

I'm thinking of extending ldap2pg to help managing this case. Here is an idea:
- role:
    name: '{cn}'
    on_create: |
      CREATE SCHEMA {role};
    on_alter: |
      ALTER SCHEMA {old} RENAME TO {new};
    on_drop: |
      DROP SCHEMA {role} CASCADE;

@bersace, is it still considered ? This looks quite interesting. Would definitely be useful for me !

Would you prefer global on_create, on_drop ? Thanks for the feedback.

I would like to see both. Some queries might be useful on a global level, others just for specific roles.

Closing in favor of #565.


Unable to click button inside frame using selenium vba

I am beginner to vba selenium. i want to click a button which is inside a frame. i tried with below codes it didn't work. Can anyone help me? Thanks
VBA Code:
ch.SwitchToFrame (1)
ch.FindElementByXPath("//*[@id='ctl00_m_g_4407ef25_fbd3_4301_922c_f996c0f26235_FormControl0_V1_I1_B3']")
HTML Code:
<input style="text-align:center" onclick="return (Button.OnClick(this, event));" onfocus="return (Button.OnFocus(this, event));" id="ctl00_m_g_4407ef25_fbd3_4301_922c_f996c0f26235_FormControl0_V1_I1_B3" scriptclass="Button" class="i_lgkamPX909UfcKnV_3 a4_lgkamPX909UfcKnV_3 a2_lgkamPX909UfcKnV_3" wrapped="true" direction="ltr" viewdatanode="4" formid="ctl00_m_g_4407ef25_fbd3_4301_922c_f996c0f26235_FormControl0" originalid="V1_I1_B3" tabindex="0" title="" buttonid="CTRL2" value="Vendor" type="button">

Hello. Remember that switchtoframe uses a zero-based index. Try "switchtoFrame(0)".

@Juampa2 Thanks for your response. I tried that too. I get run-time error 7
NoSuchElementError
Element not found for XPath=//*[

Does it got anything to do with browser version and driver version?
Mine is chrome Version 63.0.3239.108

once the driver has started, pause the code just before ch.SwitchToFrame (1) and try to modify the frame id manually : in the developper tool of your browser (if you're using Chrome for example : F12). Find the  in which your id='ctl00_m_g_4407ef25_fbd3_4301_922c_f996c0f26235_FormControl0_V1_I1_B3' is and add something like .
Then, try : ch.SwitchToFrame("mytest")
just to make sure the driver is switching on the correct frame.
And then, once you're sure that the correct frame has been switched on, try ch.FindElementById("ctl00_m_g_4407ef25_fbd3_4301_922c_f996c0f26235_FormControl0_V1_I1_B3") instead of XPath.

if it works, then it means probably that you have many frames and switching to frame as you do does not ensure you that you've switched on the correct frame.

As a workaround, I try to open the frame separately, then access its elements.


[Enhancement] Method stores return result in local before immediately returning it [RegistryResponse]

Search before asking

[X] I had searched in the issues and found no similar issues.

Enhancement Request

located at:
eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/catalog/protos/RegistryResponse.java line 272
analysis and explanation:
This method stores the return result in a local variable, and then immediately returns the local variable. It would be simpler just to return the value that is assigned to the local variable.
Describe the solution you'd like
Returns the value of a local variable directly.
Are you willing to submit PR?

[x] Yes I am willing to submit a PR!

I want to fix it.


Request: Disable User Interaction For Scrolling

Hello everyone,
This calendar is still great, really loving the ease of use that comes with it! One request that I have for a specific use case is to disable user-interaction for scrolling. In this scenario, the only way to scroll the calendar would be via button press. Would it be possible to implement the option to disable this scrolling behavior? I should add that my calendar is oriented in the horizontal position.
Thanks!

Hey Zach,
Thinking through the API a bit: I think we'll want to make this a configurable property on CalendarViewContent. I'm wondering if this option makes sense for vertical and horizontal calendars, or if the UX really only makes sense for horizontal calendars. It seems really non-standard to have a vertical-layout calendar that can't be scrolled with a finger (and would instead rely on up / down arrows to manually paginate). I see the use-case for horizontal calendars, though. What do you think?

@bryankeller I do think this is more for a use-case for horizontal calendars (and could tie neatly into the work you're doing for pagination vs free scrolling) if I can chime in!

I agree with both of you, I think this is a feature mainly for horizontally-scrolling calendars. I do think the combination of this behavior plus the pagination feature would unlock a ton of additional use cases, as @saudeon mentioned.
The provided mockup is the only use-case I could see the vertical pagination being useful for. An additional one that I didn't create would be if there was a calendar embedded in something like a UICollectionView, where the act of vertically scrolling was already being used. However, I can't imagine a real world scenario in which someone does this.

Nice, thanks for the example @zachterrell57. I definitely see how this could apply to vertically-scrolling calendars, but I find that UX to be particularly non-standard for a native iOS app, so I'm leaning toward not allowing it to discourage people from doing the wrong thing 😝

@bryankeller
Totally agree. I was kinda of grasping at straws to find a vertical use case 😆. So would you only allow this behavior in the .horizontal mode then?

Yes, I think this should only be a feature of the horizontal-use-case. As a temporary workaround, you can disable scrolling on calendarView.subviews[0], and implement your button press functionality by calling scrollToMonth. I don't have near-term plans to start work on this as part of the API, but hopefully this hacky workaround can unblock you.

Yes, I think this should only be a feature of the horizontal-use-case. As a temporary workaround, you can disable scrolling on calendarView.subviews[0], and implement your button press functionality by calling scrollToMonth. I don't have near-term plans to start work on this as part of the API, but hopefully this hacky workaround can unblock you.

@bryankeller, I'm quite bit lost but how can we disable the scrolling of horizontal calendar using calendarView.subviews[0] that you mentioned?

Is there any workaround or estimate on when this will be available for SwiftUI implementation?


[React 17] Warning source maps are broken on a fresh create-react-app project

We've just updated to version 17 of React and the source maps of the material-ui warnings seem to be broken.
In the latest version 16 release stuff seems to work as expected, but it's broken when running React 17.
I'm not completely sure if this is a React bug or a Material UI library bug.
P.S. The bug is present in both version 4.11.0 and version 5.0.0-alpha.16 of @material-ui/core.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Warning source map looks like this:

Expected Behavior 🤔
Warning source map should look like this:

Steps to Reproduce 🕹
URL to a repo with a plain create-react-app that shows the issue: https://github.com/zewish/material-ui-react17-bug
Steps:

Use create-react-app to create a new project;
Install latest version of @material-ui/core;
Make a mistake that should show a warning;
Alternatively just clone my repo, run npm start and check the browser console.

Context 🔦
Trying to get proper error logs that can be traced using the source maps.
Your Environment 🌎

Tech
Version

Material-UI
v4.11.0

React
v17.0.1

Browser
Google Chrome/Firefox/Safari

TypeScript
3/4/Also an issue without TypeScript

Why is it an issue with Material-UI and not another part of the stack?

@oliviertassinari, I'm not saying that this absolutely is a material-ui issue. It might as well be a React issue.
If you think there's no issue with material-ui feel free to close this issue.

@zewish I honestly don't know for sure. So far, history would suggest that the probability for the issue to come from us is low. I hope you will figure it out :)


Add update workflow

Fixes #104

Pull Request Test Coverage Report for Build 950627736

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

Totals

Change from base Build 950598035:
0.0%

Covered Lines:
1504

Relevant Lines:
2253

💛  - Coveralls


Update scalameta to 4.4.34

Updates org.scalameta:scalameta from 4.4.33 to 4.4.34.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalameta" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Codecov Report

Merging #82 (c38cb56) into main (0f2d70b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #82   +/-   ##
=======================================
  Coverage   76.39%   76.39%
=======================================
  Files          17       17
  Lines         572      572
  Branches       20       20
=======================================
  Hits          437      437
  Misses        135      135

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 0f2d70b...c38cb56. Read the comment docs.


Add Endpoint PUT:/metadataset/{id}

Allows setting service fields of an existing metadataset given that this service has not yet been executed for this metadataset (check via ServiceExecution).
No other fields can be updated. Only unexecuted service fields for which the submitting account is service-associated can be updated.

@lkuchenb Does 'service fields' mean it should update fields in the services table if the given service is associated with a metadataset? Or does it mean it should 'add services to be run on a metadataset'?

This was implemented as `POST:/service-execution/{serviceId}/{metadatasetId}.

PR #410


Change Cable.status field from Boolean to Int type

Proposed Changes
The status field on the Cable model is the only status field across all models that is a Boolean type and not a Integer type. This makes it impossible to extend the status property on this model to include other statuses in the future. And it is not streamlined that all status fields is of the same type and works in the same way.
    status = models.BooleanField(
        choices=CONNECTION_STATUS_CHOICES,
        default=CONNECTION_STATUS_CONNECTED
    )

...

# Console/power/interface connection statuses
CONNECTION_STATUS_PLANNED = False
CONNECTION_STATUS_CONNECTED = True
CONNECTION_STATUS_CHOICES = [
    [CONNECTION_STATUS_PLANNED, 'Planned'],
    [CONNECTION_STATUS_CONNECTED, 'Connected'],
]

Justification
Streamline all status fields to the same type and make it possible to extend the status field.

Might be good to comment on this in https://github.com/digitalocean/netbox/issues/3145

This would be covered by #3145 if accepted.


Annotation Issues Related to Natural Language Processing

When HTML has thousands of lines and hundreds of tags, annotators may forget which tags they are when scrolling down, and shortcut keys may not be effective when facing hundreds of tags.
Is there a function similar to freezing the first line in Excel? I can fix which area of the page the tags are displayed in.

i known......
.top-content {
height: 25%;
width: 100%;
position: relative;
}
.bottom-container {
height: 75%;
width: 90%;
position: fixed;
bottom: 0;
overflow-y: auto;
}
.bottom-content {
height: 100%;
width: 100%;
}

@yanwenjie1 I'll take this feature request to the product team. Thanks for raising it!


further bug fixes when using context path

Description
further bug fixes when using context path
Checklist:

[x] I have read the Contribution Guidelines
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

Contributor License Agreement
By submitting this pull request, I acknowledge and agree that my contributions will be included in Stirling-PDF and that they can be relicensed in the future under the MPL 2.0 (Mozilla Public License Version 2.0) license.
(This does not change the general open-source nature of Stirling-PDF, simply moving from one license to another license)

before:

after:

I think it is also future-proof. If you do not agree, you can also reject the PR.

Seems valid :)
Just would want client to build path as much as possible Vs server building path
But I think it makes sense to be safe here

Will quickly test how it plays with nginx before merge

yeah all seems good! thanks as always


Validation error: Passing a large range to a function with Sequence annotation causes a crash

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
When a large range is passed to a function with a Sequence annotation using the validate_call decorator from Pydantic, the system encounters issues due to the validation process. Despite ranges being lazy sequences that do not require memory allocation for all elements, the validation process seems to handle it inefficiently, leading to crashes with extremely large ranges.
It happens with from collections.abc import Sequence and from typing import Sequence.

Example Code
from collections.abc import Sequence
from random import SystemRandom
from typing import Annotated, TypeVar

from pydantic import Field, validate_call

T = TypeVar('T')

@validate_call
def random_choice(sequence: Annotated[Sequence[T], Field(min_length=1)]) -> T:
    return SystemRandom().choice(seq=sequence)

print(isinstance(range(1, 2**31), Sequence))  # >>> True
print(random_choice(range(1, 2**31)))

Python, Pydantic & OS Version
Windows Machine
pydantic version: 2.8.2
pydantic-core version: 2.20.1
pydantic-core build: profile=release pgo=true
install path:
python version: 3.11.7 (tags/v3.11.7:fa7a6f2, Dec  4 2023, 19:24:49) [MSC v.1937 64 bit (AMD64)]
platform: Windows-10-10.0.22631-SP0
related packages: mypy-1.10.1 typing_extensions-4.12.2
commit: unknown

Linux Machine
pydantic version: 2.8.2
pydantic-core version: 2.20.1
pydantic-core build: profile=release pgo=true
install path:
python version: 3.11.9 (main, Apr  6 2024, 17:59:24) [GCC 11.4.0]
platform: Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35
related packages: typing_extensions-4.12.0
commit: unknown

Yeah we could probably handle this case better, bc a range is a valid sequence, and there's probably a clever way to validate the contents of the range without iterating through each item.

I think really this is more a task of "support efficient validation of ranges as sequences"

Do you want me to change the issue title?


Exporting the contents of folder from index.js

Fetching multiple files from the same folder requires multiple lines.
An index.js which exports such things would really help.

This was partially impletemted in #67


🐛 [Bug]: tinyPro Vue 菜单样式错乱

Version
latest
node-version
latest
Link to minimal reproduction
No response
Step to reproduce
@opentiny/vue升级到最新版本3.11.0版本之后，菜单样式错乱

What is expected
No response
What is actually happening
No response
Any additional comments (optional)
No response

已修复

the issue has been fixed by #114 , so closed it


chore: bump node to version 18 as 14 is nearing EOL

Required changes to bump nodejs from version 14 to 18. As of npm v7 the package lockfile has changed and is automatically updated when run.
Resolves PE1-250

:tada: This PR is included in version 2.2.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


I can't edit profile, this is what it shows, no form to even update

Please fix these issues ASAP!

Resolved


refactor: go1.16 required now, so drop support for go1.9 to go1.15

Coverage decreased (-0.0002%) to 99.859% when pulling a1c44b04db9a297435f85d1c7da4049fe582c2c5 on go116 into 725d6d2af9e1e8ca662e2b734ece032efa117616 on master.


Test: add test for health/check

Signed-off-by: Hu Keping<EMAIL_ADDRESS>

This test include checking for both file exists and not exists

@stevvooe  updated, PTAL


Usage with shims

Currently we rely quite heavily on shimming external dependencies for usage on our client side applications. This means that our require calls are sometimes to packages which are not available through package.json, and also may not have an entry point for CommonJS - flow cannot find the required modules.
A common package.json looks like this:
{
    "name": "package",
    "version": "0.0.0",
    "devDependencies": {
        "grunt": "~0.4.5",
        "grunt-bless": "~0.1",
        "grunt-contrib-copy": "~0.5.0",
        "grunt-contrib-cssmin": "~0.9.0",
        "grunt-contrib-clean": "~0.4.0",
        "grunt-contrib-watch": "~0.6.0",
        "grunt-contrib-jshint": "~0.9.0",
        "grunt-contrib-requirejs": "~0.4.0",
        "grunt-contrib-concat": "~0.3.0",
        "grunt-contrib-uglify": "~0.2.0",
        "grunt-contrib-less": "~0.11",
        "matchdep": "~0.1.2",
        "json5": "~0.2.0",
        "grunt-react": "~0.7.0",
        "grunt-browserify": "~3.1",
        "browserify-shim": "~3.8",
        "envify": "~0.2.0",
        "bootstrap": "3.2.0",
        "font-awesome": "4.2.0",
        "grunt-svgstore": "^0.3.3",
        "jquery": "~2.1",
        "parsleyjs": "~2.0"
    },
    "browser": {
        "entwine": "./source/lib/entwine/jquery.entwine-dist.js",
        "jquery": "./node_modules/jquery/dist/jquery.js",
        "modernizr": "./source/js/src/modernizr.js",
        "bootstrap": "./source/lib/bootstrap/bootstrap.js",
        "waypoints": "./source/lib/waypoints/waypoints.js",
        "selectfield": "./source/lib/jquery/jquery-ui-select/jquery-ui-select.js",
        "datepicker": "./source/lib/jquery/jquery-ui-datepicker/jquery-ui-datepicker.js",
        "autotab": "./source/lib/autotab/jquery.autotab.min.js",
        "chosen": "./source/lib/chosen/chosen.jquery.js"
    },
    "browserify": {
        "transform": [
            "browserify-shim"
        ]
    },
    "browserify-shim": {
        "jquery": {
            "exports": "$"
        },
        "entwine": {
            "exports": null,
            "depends": [ "jquery" ]
        },
        "modernizr": {
            "exports": "Modernizr"
        },
        "bootstrap": {
            "exports": "bootstrap"
        },
        "waypoints": {
            "exports": null
        },
        "selectfield": {
            "exports": null
        },
        "datepicker": {
            "exports": null
        },
        "autotab": {
            "exports": null
        },
        "chosen": {
            "exports": null
        }
    }
}

It would be great if there was a way to shim dependencies similar to how browserify does this, so that we can run flow on our codebase. Alternatively if there is a way to type hint that we don't want certain dependencies included that would probably also work :smile:

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

Closing this as we no longer use this pattern.


Creating a Spine object without adding it to the scene results in Spine atlas PNG being displayed

Version

Phaser Version: 3.60.0-beta.18

Operating system: MacOS

Browser: Chrome & Safari (only ones I've been able to test)

Description

IF an image is added as an image, sprite, or tile sprite
AND THEN, using setTimeout, a Spine game object is created but not added to the scene (via scene.make.spine with addToScene set to false),
THEN the Spine atlas PNG image will replace the initial image.
Note: This also happens for a frame when addToScene is set to true OR when using scene.add.spine instead of scene.make.spine.
Example Test Code

CodePen
Additional Information

Expected:

Current:

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.


Very confusing behavior when flushInterval is set to 0

I think I misunderstood what flushInterval was supposed to do in a TICK script for a UDF in Kapacitor.  My goal was to get processed results of raw events to propagate as quickly as possible to the output database.  I naively thought I could accomplish this by setting the flushInterval to 0, which would basically be an unbuffered dump from the UDF.
I did that, and some time later (after Kapacitor was restarted -- I'm not sure of the exact sequence of events that led to this error hitting), Kapacitor started dying.  It wasn't until I ran kapacitord directly from the shell where I found this output:
panic(0x1c834e0, 0xc420772010)
	/usr/local/go/src/runtime/panic.go:500 +0x1a1
time.NewTicker(0x0, 0x20ea170)
	/usr/local/go/src/time/tick.go:23 +0x18d
github.com/influxdata/kapacitor.(*writeBuffer).run(0xc4201eab60)
	/root/go/src/github.com/influxdata/kapacitor/influxdb_out.go:227 +0x9c
created by github.com/influxdata/kapacitor.(*writeBuffer).start
	/root/go/src/github.com/influxdata/kapacitor/influxdb_out.go:212 +0x5c

In version 1.3.3 of Kapacitor, that corresponds to these calls:
func (w *writeBuffer) start() {
	w.wg.Add(1)
	go w.run()
}

calling
func (w *writeBuffer) run() {
	defer w.wg.Done()
	flushTick := time.NewTicker(w.flushInterval)
	defer flushTick.Stop()
	var err error

Obviously if flushInterval is 0, time.NewTicker panics, which isn't protected here.  If I changed my tick script to set the flushInterval to 1s (or any duration greater than 0), kapacitord failed with the same error.  I tried running kapacitor define <task name> to refresh the task to no avail.
Ultimately, what I had to do was delete the task and redefine it (without changing the tick script).  But even that posed challenges, since I couldn't delete the existing task without starting kapacitor, but I couldn't start kapacitor without that task deleted.  The only way around that was to disable the influxdb binding in kapacitor.conf, start kapacitor, disable/delete the task, re-enable influxdb in kapacitor.conf, and restart kapacitor.
Then I was able to redefine the stream UDF with a non-zero flushInterval and it started working again.
Whew!  Is there anything that stands out that I'm just doing very wrong?  Is there a way to disable buffering of stream UDFs?
Thanks!

Bump.  Any insights here?


WIP: Upgrade cert-manager to v1.10.0

Codecov Report

Merging #5230 (f8eed51) into main (b4b7463) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #5230      +/-   ##
==========================================
- Coverage   67.08%   67.05%   -0.03%
==========================================
  Files         199      199
  Lines       16462    16462
==========================================
- Hits        11043    11039       -4
- Misses       5365     5369       +4
  Partials       54       54

Flag
Coverage Δ

unittests
67.05% <ø> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...icate/providers/certmanager/certificate_manager.go
29.83% <ø> (ø)

pkg/certificate/providers/certmanager/helpers.go
0.00% <ø> (ø)

pkg/certificate/providers/config.go
82.65% <ø> (ø)

pkg/ticker/ticker.go
82.66% <0.00%> (-4.00%)
:arrow_down:

pkg/certificate/manager.go
87.08% <0.00%> (-0.42%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


make error

c019020:clojupyter aidanrocke$ make
lein uberjar
make: lein: No such file or directory
make: *** [all] Error 1

I installed clojure as described here and I must note that I'm new to using clojure but the REPL works without a problem.

Have you installed Leiningen? The Clojure build tool?
Try

lein repl

And see if it works. Or follow this to install it

https://leiningen.org/#install


I see no way to add an XY stage position other than the default one to an AcquisitionEvent

It seems that the desired position of the default XY stage are set through the setX() and setY() functions.  The default Z stage can be set using setZ().  Other stages (also including the default Z Stage ?) can be set through setStageCoordinate(String, double). However, there is no corresponding setXYStageCoordinate(String, double, double).
How are non-default XY stages handled?  Also, what is the relation between setZ() and setStageCoordinate(String, double)?

setStageCoordinate(String, double) was added after setZ() to, as you say, support non-default z stages. Obviously there's a possibility of a collision when you setStageCoordinate on the default stage. I can't remember how I resolved this (should be easy to find in the code), but I remember being unsure about what the correct behavior should be.
You're right, there's no setXYStageCoordinate(String, double, double). I've never encountered a microscope with multiple XY stages, so I never had a reason to add it. You could add it if you want.
If you do want to add something or have an idea of what the correct default behavior should be for one of both of those, you should write a test in pycromanager  to ensure that it doesn't get broken in the future. Happy to advise more on how to do this.


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test

Docs Build status updates of commit f47a577:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-09-25-05-08-28 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-09-25-05-08-28

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Concurent  drag  and drop issue

When 2 persons make some few concurent  drag  and drop on the same board, only the 2nd wins and all his cards state is become the app's new state (not only the last card he moves but all the card state) and reset all the changes of the first user.
A way to avoid this is to hit the "F5" key before and after each card's Drag & Drop (but it is not very user friendly)
May be the update can be donne card by card, an not by the entire board's state ?

Unfortunatelly Ajax request every ten seconds produces another problem. If single person reorder card too fast process can go wrong. For example move card A and immediatelly start dragging card B there is chance to lose card's B changed state.

@fguillot I think Websockets are the best approach for this problem, do you have an implementation in mind?

Websockets are definitely the best approach, I didn't start to work on it. I'm not sure that PHP is the best programming language for that. I would probably use a websocket server in Golang that act as "notification bus". In any case, a proof of concept have to be done before.

@fguillot have you ever used Ratchet it seems promising. I think we should use the best tool for the job, but I think we can accomplish this with PHP using Ratchet which would make the code base more consistent IMO.

This issue has been closed automatically by a bot for inactivity after more than 1 year. If you still need this feature, you should consider contributing to this open-source project.


Cleanup database files after installation

Image size matters.
Ref:
https://github.com/oehrlis/oradba_init/blob/476d0915724fc298793bf0368b81563e866899a3/bin/10_setup_db.sh#L207-L237

Those stuff seeming useless.
/opt/oracle/app/product/11.2.0/dbhome_1/cfgtoollogs/oui/*.log
/opt/oracle/oraInventory/logs/*.log
/opt/oracle/app/product/11.2.0/dbhome_1/oc4j/.patch_storage


Added new linting package

Works on https://github.com/microsoft/dtslint/issues/300#issuecomment-904979821 by setting up a new @definitelytyped/linting package with the following utilities:

checkPackageJson
checkTsconfig
checkTslintJson
testDependencies

Once this package exists I'll be able to pull it into the scripts in DefinitelyTyped itself. That way DT won't need to rely on dtslint to call this logic.

Closing as this has aged away. If you the reader would like this code, feel free to take it and send your own PR. ❤


[TEST] Testing for flaky CI

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind cleanup
/kind deprecation
/kind design
/kind documentation
/kind feature

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Additional documentation e.g., usage docs, etc.:

Think I found the issue to be related to the 20.x version of the Black Python linter


libassimp

Hi,
Linux ubuntu (xenial) user here.
This project looks very interesting!
So I ran:
$ sudo apt install libsdl2-dev libsfml-dev libglew-dev libglm-dev libassimp-dev libgtk-3-dev

However I got:

Some more info:
[sqz@localhost~]  $ cat /etc/issue
Ubuntu 16.04.6 LTS \n \l

[sqz@localhost~]  $ find /usr/lib |grep assimp
/usr/lib/x86_64-linux-gnu/libassimp.so
/usr/lib/x86_64-linux-gnu/pkgconfig/assimp.pc
/usr/lib/x86_64-linux-gnu/libassimp.so.3
/usr/lib/x86_64-linux-gnu/cmake/assimp-3.2
/usr/lib/x86_64-linux-gnu/cmake/assimp-3.2/assimp-config.cmake
/usr/lib/x86_64-linux-gnu/cmake/assimp-3.2/assimp-config-version.cmake
/usr/lib/x86_64-linux-gnu/libassimp.so.3.2.0

[sqz@localhost~]  $ apt-cache search assimp
assimp-utils - 3D model import library (utilities)
libapache2-authcassimple-perl - Apache2 module to authenticate trough a CAS server
libassimp-dev - 3D model import library (development)
libassimp-doc - 3D model import library (documentation)
libassimp3v5 - 3D model import library
python-pyassimp - 3D model import library (Python bindings)
qt3d-assimpsceneparser-plugin - Qt 3D GL Transmission Format scene parser plugin

Next week I will pick up my new windows 10 laptop.
Will that be easier to run without OS plumbing?

Hi,
I assume you downloaded the third-party libraries and then tried running the Linux binary I provided? I don't link assimp (and other libraries) statically currently. I recommend compiling SHADERed on Linux yourself. It isn't that difficult.
Windows version of the SHADERed should work from the get-go without a single problem though. Compiling on Windows should also be quite easy if you use some kind of package manager (like Microsoft's vcpkg) to install all the needed libraries.


Add header fields to the header table on partial match

Previously we did not add header field to the header table if it is a
partial match against the current header table.  This commit changes
this scheme and adds header fields to the header table on partial
match.  hpack-test-cases data shows much better compressed result than
adding nothing.  We know from the experience that some header fields
are not effective and should not be indexed (e.g., :path), but this
commit does not incorporate that yet.

This is fantastic @tatsuhiro-t, thanks so much for contributing! It's great to get your insight on this library, especially as nghttp2 does such a fantastic job of HPACK compression. Any lessons learned there are always welcome here.
:cake: :sparkles:

Thank you for merging this stuff!


Remember last export path

Would be very useful to remember the last path exported to. Gets quite time consuming having to reapply the path manually.

I've moved to using the resources on this webpage to help speed up icon resource picking
https://materialdesignicons.com/


Fix readme for .expect(fn), fixes #253

Clarifies the current behavior of custom assertion functions.

There's actually a test that ensures the current documentation is wrong:
      it('ensures truthy non-errors returned from asserts are not promoted to errors',function(done){
        get
        .expect(function(res) {
          return "some descriptive error";
        })
        .end(function(err) {
          should.not.exist(err);
          done()
        });
      });

The behavior of returning an Error is implicitly covered by that test, so I assume that's also not allowed.

@ivanvpan, of course you are right when you are saying the code should be changed - but it is now a long time ago already and nobody fixed it, so it might be a makeshift to mention this in the readme. I would really like to see this pr merged :)

For what it's worth I spend an hour today trying to figure this out.
Supertest is so stable that I didn't even consider the documentation could be completely wrong like this.
Thanks!


Add Breadcrumb Tests. Add Decline ToS Url. Update unit tests.

Issue:
Description of changes:

Add Breadcrumb tests
Add Decline Terms of Service redirect URL
Update test dependencies/packages

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

/gcbrun

Temporary Url for review: https://strr-ui-dev--pr-144-b082r8ll.web.app

/gcbrun

Temporary Url for review: https://strr-ui-dev--pr-144-b082r8ll.web.app

The delimiters ">" are missing, according to Andy they were there before.

@rstens Re Breadcrumb delimiters, try refreshing? Is it persistent on actual Dev/Test env?

@rstens Re Breadcrumb delimiters, try refreshing? Is it persistent on actual Dev/Test env?

Yes, it persistent, tried incognito browser - same result.

@rstens icons not loading due to error below, will look into it

@rstens regarding the icons issue, it seems only in the preview mode they are not showing up (see below), in Dev it looks ok.

/gcbrun

Temporary Url for review: https://strr-ui-dev--pr-144-b082r8ll.web.app

@dimak1 Could you take a quick look at the new SonarCloud issues (6), they are all classified as medium or low that's why it is not failing. I am just thinking if this needs to be cleaned up or labeled "Accepted"

/gcbrun

Temporary Url for review: https://strr-ui-dev--pr-144-b082r8ll.web.app


Bug: Proxy Protocol CRC32C verification failure

Thank you again for all the work done on shipping proxy protocol. I know you had asked for people to test this out and report any issues. I did that on my local machine (everything worked as planned) but I neglected to do so in my staging environment. When I did so, I received the following error message:
"Failed CRC32C verification in PROXY protocol binary header. (PP 2.2)"

If we follow the error trail back to the code we find that the error is being raised here
https://github.com/ninenines/ranch/blob/master/src/ranch_proxy_header.erl#L501
I familiarized myself with this section of the docs (§ 2.2.3)
https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt
And http://erlang.org/doc/man/erlang.html#crc32-2
Based on my quick reading I think that the issue is that CRC32C remains a binary representation of a 32 bit integer instead of an integer, so it will never match properly. If that is indeed correct, I think the code should be changed to something like:
case erlang:crc32(1302506282, [Before, <<0:32>>, After]) of
  binary_to_integer(CRC32C) ->
      parse_tlv(Rest, Len, Info, Header);
  _ ->
    {error, 'Failed CRC32C verification in PROXY protocol binary header. (PP 2.2)'}
end;

I'm trying to get some more information from Amazon so that I can write a test to cover this case, but that may take a bit of time to process.

No CRC32C is converted to an integer properly, that's what the notation is showing.
If you could log a complete PROXY header I could take a look.

Note that there's a test for this at the end of the file, however I have not tested the checksum against another implementation because I did not know of any. So it's possible I did it wrong.

Ok so I spent a few hours digging into this issue and I believe the function call to erlang:crc32 is incorrect. This looks like an easy mistake to make since the naming is so similar. There are slight differences between crc32 and crc32c and it doesn't look like there is a built in solution for crc32c in erlang.
https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt (§ 2.2.3)
https://tools.ietf.org/html/rfc4960#section-6.8
https://tools.ietf.org/html/rfc4960#appendix-B
https://en.wikipedia.org/wiki/Cyclic_redundancy_check
I was able to test this using the test code provided by amazon here:
https://github.com/aws/elastic-load-balancing-tools/blob/8dd8a909ddabf4107bfabb2cc3e0144da6f1ec86/proprot/tst/com/amazonaws/proprot/Compatibility_AwsNetworkLoadBalancerTest.java
Here is a copy of the proxy protocol header provided in that test file suitable for testing in erlang.
Packet = <<13, 10, 13, 10, 0, 13, 10, 81, 85, 73, 84, 10, 33, 17, 0, 84, 172, 31, 7, 113, 172, 31, 10, 31, 200, 242, 0, 80, 3, 0, 4, 232, 214, 137, 45, 234, 0, 23, 1, 118, 112, 99, 101, 45, 48, 56, 100, 50, 98, 102, 49, 53, 102, 97, 99, 53, 48, 48, 49, 99, 57, 4, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0>>.

If you call ranch_proxy_header:parse(Packet) you should see the same error message as I printed above.
"Failed CRC32C verification in PROXY protocol binary header. (PP 2.2)"

I spent some time looking at the code in gen_sctp but I couldn't find anything related to crc32c.
I did some other searching and came across a C implementation by Mark Adler (of Adler32 and zlib fame) which may make sense for us to use as a NIF.
https://github.com/madler/brotli/blob/master/crc32c.c
Perhaps however we should petition the erlang maintainers on adding this as a BIF to the language as well. Let me know how you want to proceed.

@essen I did some more research and I don't think this will be too bad. Give me a few hours and I think I can cook something up.

Yes (https://github.com/sahlberg/libiscsi/blob/master/lib/crc32c.c). The table can be a tuple as well.

Ok so I wrote a working copy of this in elixir and I've attempted to port it over to erlang. Let me know if there are any syntax errors since I don't write in erlang particularly often.
Based on running the example header from AWS, we may need to update the data passed into the CRC32C check as I think it truncates the beginning of the header. (The check expects the "\r\n\r\n\0\r\nQUIT\n" info.)
https://gist.github.com/tomciopp/2d174f3960b6386e86167268b1a9875d

The beginning of the header is always the same, that's why it truncates it. Instead of starting with 16#FFFFFFFF it'll start with whatever the CRC32C of the beginning of the header is, basically. The code has syntax errors of course! But no worries I'll figure it out tomorrow.

I don't know if I communicated my previous point properly, I think we are on the same page but want to be 100% sure. Given the AWS packet mentioned in the above to pass the CRC32C check the data should be passed in as such. (imagine there is a erlang:crc32c function)
$:  erlang:crc32c(<<13, 10, 13, 10, 0, 13, 10, 81, 85, 73, 84, 10, 33, 17, 0, 84, 172,31,7,113,172,31,10,31,200,242,0,80,3,0,4, 0, 0, 0, 0, 234, 0, 23, 1, 118, 112, 99, 101, 45, 48, 56, 100, 50, 98, 102, 49, 53, 102, 97, 99, 53, 48, 48, 49, 99, 57, 4, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0>>)
=><PHONE_NUMBER>

$: <<232, 214, 137, 45>> == 0xE8D6892D ==<PHONE_NUMBER>

What I'll do is create a new module ranch_crc32c but I will not document it immediately because I don't want to increase the minor version number. I think it could be documented later on though.

I've pushed a commit fixing this. Please try it as soon as possible so I can issue a Ranch and Cowboy releases.

👍 I will run the changes on our staging box later today and make sure everything is working. I will report back after I'm done.

Everything looks good on my end!

I've released Ranch 1.7.1. I am now waiting for the Cowboy 2.6.1 build to finish and if successful (meaning no new errors compared to last release) I will tag: https://buildkite.com/ninenines/cowboy/builds/322
Closing, thanks!


Autocmd events

We should provide Autocmds such as BlinkCmpPostAccept for plugins to hook into

Can this be considered done by #389? If so I'll change blink.compat to use the autocmds instead of the janky monkeypatching I'm currently doing.

Yep, thanks for mentioning it


Add resource requests/limits

Please, let me know if you don't think these limits are reasonable.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok, let's leave it after weekend, will be looking forward to get better numbers for you. Thanks!

I've updated limits based on the graph from one of the comments..let me know what you think..

To give you an idea of the behavior of Keycloak, I collected yesterday the load generated by two pods while handling 450req/sec during 10min:

I am gonna get the same data for a single pod as in production:

@hectorj2f Check the last update

ping @alexeykazakov what do you think ?

Looks good to me for the current configuration. But we will need to tune it later.

[test]


C4-PlantUML export

After seeing a weird output on https://structurizr.com/workspace on a project, I looked into exporting my DSL to C4-PlantUML and saw that C4-PlantUML wasn't an option (the PlantUML one isn't suitable for me and seem to be generating something that doesn't look right, maybe a DSL error) although Simon says it is implemented (source: https://twitter.com/simonbrown/status/1363905041078358017?s=20) while I have the latest version at time of writing this (1.8.1).
Am I missing something?

The C4-PlantUML export is included in v1.8.1; see Export - options for more details. For example:
./structurizr.sh export -workspace getting-started.dsl -format plantuml/c4plantuml
Structurizr CLI v1.8.1
Exporting workspace from getting-started.dsl
 - loading workspace from DSL
 - writing /Users/simon/Downloads/structurizr-cli-1.8.1/structurizr-SystemContext.puml
 - finished

@startuml(id=SystemContext)
!includeurl https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4.puml
!includeurl https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml
!includeurl https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
!includeurl https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Component.puml
LAYOUT_WITH_LEGEND()

title Software System - System Context
caption An example of a System Context diagram.

Person(1, "User", "A user of my software system.")
System(2, "Software System", "My software system.")
Rel_D(1, 2, "Uses", "")
@enduml

I see, it's not mentioned in the CLI's help section for export.
Seems like something's wrong with my DSL as well 😕 (unless the system context rendering an "Enterprise" folder and stopping at two levels instead of 3 is normal given the way I did it).

It is mentioned...

Not in the CLI's help section (which I assumed was up-to-date and consistent with the docs, seems like I was wrong and should have checked the docs here):

Thank you 😀.


Upgrade http, http-serde, hyper crates to 1.x versions

This can't be done until tonic upgrades to hyper 1.0.

The tonic upgrade is tracked here: https://github.com/hyperium/tonic/issues/1307

Tonic was upgraded to hyper 1.0 in 0.12: https://github.com/hyperium/tonic/releases/tag/v0.12.0


Switch to Sphinx Ansible Theme

SUMMARY

sphinx-ansible-theme is used by other ansible project such as ansible-lint
let us switch to sphinx-ansible-theme for now
fixed tox -e docs in CI

Signed-off-by: Abhijeet Kasurde<EMAIL_ADDRESS>ISSUE TYPE

Docs Pull Request

COMPONENT NAME
docs/doc-requirements.txt
docs/source/api.rst
docs/source/conf.py

This will fix the doc build and readthedocs.org build.


Histogram view

I like that there's support for strings. There's some odd behavior with really big margins when there are a lot of categories (this is the cars dataset):

... but that's really minor. Outside the console stuff, it LGTM.

LGTM too.
I'm intending to create an image comparison testing infrastructure which would be used to add tests for components such as these.

@ronichoudhury I've fixed the console output.
@alex-r-bigelow I think that is due to rounding the bin sizes. If there are 1px bins things like that happen. If there are even more bins I've seen the whole thing disappear with just one line in the center.
I also snuck in axis titles. This is not controversial (hopefully) so I'll go ahead and merge.


clientcert=1 in pg_hba.conf is deprecated in PostgreSQL 14

XNAT supports PostgreSQL 10 - 14.
In our pg_hba.conf template, we set clientcert=1 if using SSL. However, this is deprecated in PosgreSQL 14 and should be either clientcert=verify-ca (equivalent to clientcert=1) or clientcert=verify-full (equivalent to clientcert=2).

fixed in #13


BLE: Calling esp_ble_gatts_send_indicate() always causes a confirmation to be returned.

In my testing when I invoked esp_ble_gatts_send_indicate() to submit a notification and specify the last parameter as false ... which should mean bool need_confirm I seem to be finding that I then receive the GATT event ESP_GATTS_CONF_EVT which I take to mean that a confirmation was received.  This surprises me as I had assumed that since I was not asking for a confirmation, one would not arrive.
I don't yet know whether this is a problem with the GATT controller (my Android phone) or my GATT peripheral (ESP32).  It could be that the ESP32 BLE stack is not sending the correct bit/flag in the notification or it could mean that the GATT controller (Android) is not honoring it correctly.  Either way, I wanted to raise the issue in case it is of value for a test / examination.

@nkolban Thanks for your question, this is normal state, our purpose of the design for gatts module is that each call of the gatts API should have a callback. So when you used the esp_ble_gatts_send_indicate API and set the need_confirm to false, then will callback by the bluedroid stack directly when you has success or fail to sent the message. If you set the need_confirm to ture, then will callback when the peer device has response the command or the timeout detected. Thanks. Hope this answer can help you.

Ahhh ... thank you my friend.  I understand now.  Again, thank you for the quick response.


support posts with multiple videos on sxyprn.com

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.12.12
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-vo', '/dev/null', 'https://sxyprn.com/post/5af15f6799de9.html']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.12.12
[debug] Lazy loading extractors enabled
[debug] Git HEAD: 222c704
[debug] Python version 3.8.5 (CPython) - Linux-5.9.14-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, rtmpdump 2.4
[debug] Proxy map: {}
[YourPorn] 5af15f6799de9: Downloading webpage
ERROR: An extractor error has occurred. (caused by KeyError('5af15f6799de9')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/nix/store/5kz4xxh3l3pvjza4vaynp4k0rnpsjh6d-python3.8-youtube-dl-2020.12.12/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/nix/store/5kz4xxh3l3pvjza4vaynp4k0rnpsjh6d-python3.8-youtube-dl-2020.12.12/lib/python3.8/site-packages/youtube_dl/extractor/yourporn.py", line 37, in _real_extract
    parts = self._parse_json(
KeyError: '5af15f6799de9'
Traceback (most recent call last):
  File "/nix/store/5kz4xxh3l3pvjza4vaynp4k0rnpsjh6d-python3.8-youtube-dl-2020.12.12/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/nix/store/5kz4xxh3l3pvjza4vaynp4k0rnpsjh6d-python3.8-youtube-dl-2020.12.12/lib/python3.8/site-packages/youtube_dl/extractor/yourporn.py", line 37, in _real_extract
    parts = self._parse_json(
KeyError: '5af15f6799de9'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/nix/store/5kz4xxh3l3pvjza4vaynp4k0rnpsjh6d-python3.8-youtube-dl-2020.12.12/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 803, in wrapper
    return func(self, *args, **kwargs)
  File "/nix/store/5kz4xxh3l3pvjza4vaynp4k0rnpsjh6d-python3.8-youtube-dl-2020.12.12/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 824, in __extract_info
    ie_result = ie.extract(url)
  File "/nix/store/5kz4xxh3l3pvjza4vaynp4k0rnpsjh6d-python3.8-youtube-dl-2020.12.12/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 545, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e)
youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('5af15f6799de9')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Posts containing multiple videos are not supported.

Is there a way to download all videos with a search tag? Like all 1349 vids here:?
https://sxyprn.com/VrSmartphone.html
Thanks!

@doubledave04
I added rudimentary support for that here but it's not polished enough for a pull request.

@doubledave04
I added rudimentary support for that here but it's not polished enough for a pull request.


Best way to debug hive

Hi, I am thinking that is there a better to debug hive database.
For example, we can browser the data in the hive, thought the data is saved in the mobile,

You can open any hive file in Hive studio, but that's about it I believe.

Thanks, marcelgarus, but how to download the hive file from iOS to my computer in order to open it

Can this support opening encrypted boxes? It says "Invalid file" when I try to open any of my boxes (which are all encrypted)

how search hive file in android mobile.

how search hive file in android mobile.

Check out this reply.


After login and authorization click for elk in mastodon it redirects to a not https site iE http

After login and authorization click for elk in mastodon it redirects to a not https site iE http failing to authorize and therfore the complete login fails. This is with ravenation.club server .

Hello,
I believe I have the problem. When I provide my credentials and authorize the access from the application to my account, I end up on a blank screen with only the text : "Redirection to URL with a scheme that is not HTTP(S)".
I use the desktop application, on a x86_64 architecture with a Debian 12.

That's not the only server it happens with. I've experienced the same issue with mine.

Hey! Just letting you know that elk-native is no longer maintained, much of the team has moved on or is busy with other projects (there's only so much time in a day 😅), so this issue will likely not be fixed.
Please use the actively maintained elk PWA instead.
Thanks so much for your support and understanding so far! ❤

Hey! Just letting you know that elk-native is no longer maintained, much of the team has moved on or is busy with other projects (there's only so much time in a day 😅), so this issue will likely not be fixed. Please use the actively maintained elk PWA instead.
Thanks so much for your support and understanding so far! ❤

Thank you all for the work so far!
Will you be willing to onboard new maintainers in the future? Is there a process for that?


Route group middleware always returns false and redirects to 403 error page!

my Route groups are like these :
Route::group(['middleware' => ['role:SuperAdmin|Admin|Clerk']], function() {
Route::GET('/dashboard', 'adminPanelController\pagesController@index');
Route::POST('/admin/getRoles', 'adminPanelController\pagesController@getroles');
Route::GET('/admin/createUser', 'adminPanelController\pagesController@createUser');
Route::POST('/admin/createUser', 'adminPanelController\pagesController@storeUser');
});
Route::group(['middleware' => ['role:SuperAdmin|Admin']], function() {
});
Route::group(['middleware' => ['role:SuperAdmin']], function() {
Route::GET('/admin/Roles', 'adminPanelController\pagesController@roles');
});
but allways returns false and redirects to 403 error page!

It happened me the same, maybe you change the names of the tables user, roles and permission? Or anyone of them?

+1, this is a real issue.

I too suffered from this nonsense. Looks like these are routes defined in your API? Include the "web" middleware, problem solved.
'middleware' => ['web', 'role:admin']]
The source of the issue here is that the auth stuff related to persistence of an authentication user (session) is handled by the web middleware. So without it, if you were to output '\Auth::guest()`, it would always be true. By including the web middleware, you bring session persistence in, and auth will succeed. This has nothing to do with Entrust, although noting this in the readme would be prudent.

Need help on this
, I have the same problem


[HELP NEEDED]

Hello Apollo!
I would like to remove cypress trees from regions unexplored old growth bayou biome and replace them with Wilder Wild's cypress trees because I like the old growth bayou biome but not the trees and I need an example on how to do it correctly. Also I have no clue how and where to put the worldgen modifier configuration file that we need to create.
Regions Unexplored biome list with tags: https://gist.github.com/catter1/1f90b77263e3746c20c1fd93a7393f69#old-growth-bayou
Regions Unexplored cypress tree: regions_unexplored:cypress_logs, regions_unexplored:cypress_leaves
Wilder Wild github: https://github.com/FrozenBlock/WilderWild/tree/1.20.1
Wilder Wild cypress tree: wilderwild:cypress_logs, wilderwild:cypress_leaves
Thank you in advance!

https://github.com/Apollounknowndev/lithostitched/wiki/Worldgen-Modifiers#redirect_feature
https://github.com/FrozenBlock/WilderWild/blob/1.20.1/src/main/generated/data/wilderwild/worldgen/configured_feature/cypress.json


Flickr

Display SomaFM Flickr images http://www.flickr.com/photos/somafm

that page doesn't exist anymore


Not loading on mac

The cursor just stays blinking. I'm running the latest macOS (sierra)

@M1314 same as you.

Same here. macOS Sierra 10.12.3 (16D32), Atom 1.14.1 x64. I didn't have node-gyp installed at first, but then I installed it and reinstalled terminal-plus and restarted Atom.
Too bad, looks very useful!

Same, both on macOS and Windows7.

@M1314 @emotiony @mkerley @Roland0511 I've got a working fork that's being actively maintained: https://atom.io/packages/termination
apm install termination
If it's not too your tastes there's also https://atom.io/packages/platformio-ide-terminal
Cheers!

Thanks for the link - Termination is working great for me!

Had the same problem as described. Tried termination. Works great!

@Fred-Barclay .  Have Tried the "Termination" , Awsome~

same here, not woring...

+1

Since this appears to be broken on Mac, you might wanna try:  https://github.com/platformio/platformio-atom-ide-terminal

Used termination and it works like a charm.

@cdancy Isn't Termination a replacement for this which appears to no longer be maintained? Last commit shows Oct. 14, 2016 https://github.com/jeremyramin/terminal-plus/commit/1e555ee3a49902b203134072ff079ae580fdff10 .  But thanks, I'll check out https://atom.io/packages/termination

@lacostenycoder last commit is from a couple weeks ago.
https://github.com/Fred-Barclay/Termination

@lacostenycoder (Termination maintainer here) Yup, Termination is a replacement for terminal-plus. We're still in active development and I don't plan on discontinuing it for a long, long time. :smile:
Cheers!

The linked commit in my last comment referenced terminal-plus, which has
not been updated recently. In any case thanks.
On Mar 13, 2017 7:04 PM, "Christopher Dancy"<EMAIL_ADDRESS>wrote:

@lacostenycoder https://github.com/lacostenycoder last commit is from a
couple weeks ago.
https://github.com/Fred-Barclay/Termination
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jeremyramin/terminal-plus/issues/446#issuecomment-286271090,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFy90ct5hu8btCQS_K3iPPb01XFcamQdks5rlcuKgaJpZM4MAF5y
.

Fred-Barclay you legend! Termination works a marvels


Doesn't satisfy Rule #1 of JSK13 compo!

While this is super rad, it doesn't satisfy rule #1 on JSK13 compo as it downloads the level/model geometry from your website when run. The packed JS is 12kb but the 'l' and 'm' files it downloads are ~7kb total, meaning that this would be closer to 19kb and therefore not satisfy the requirements of the compo.
Folk are trying to tell me I'm wrong, and that you've somehow packed that data into the JS itself, but then why doesn't it run without those files?

All your code and game assets should be smaller than or equal to 13 kilobytes [...] when zipped.
~ https://js13kgames.com/#rules

build.sh produces a ZIP that satisfies this rule. Yes, this rule is quite arbitrary, but all submission are judged against it.
Also worth noting: webservers typically employ gzip compression when serving html/js. So when loading the game in a browser, only about ~16kb (depending on the gzip level) go over the wire. If the binary files would be gzipped, too, it would be very close to the 13kb. E.g. for the server at https://phoboslab.org/q1k3/ (without gzip for the binary files):


Upgrade to Storybook 6.5

Merged in the latest changes (especially #598); now it seems to work under Node 14 again.

I don’t understand the CI error – npx lerna bootstrap --ci works locally, both under Node 14 and 16…

I don’t understand the CI error – npx lerna bootstrap --ci works locally, both under Node 14 and 16…

Mh, it says

lerna ERR! npm ci exited 1 in '@wmde/wikit-docs'

and

npm ERR! Missing<EMAIL_ADDRESS>from lock file

I had this error earlier too, and it went away when updating the dependencies in the docs/ directory
Also, I think I was only really able to reproduce the error when manually deleting the node_modules directory (but maybe that's spurioous, npm ci is supposed to do that)

Wait.
⌂4.21 [michael:~/workspace/wikit/docs]└3 next-storybook-6.5 ± npm ls typescript
<EMAIL_ADDRESS>/home/michael/workspace/wikit/docs
└─┬<EMAIL_ADDRESS>-> ./../vue-components
  ├─┬<EMAIL_ADDRESS>  │ └─┬<EMAIL_ADDRESS>  │   └──<EMAIL_ADDRESS>deduped
  ├─┬<EMAIL_ADDRESS>  │ └─┬<EMAIL_ADDRESS>  │   └──<EMAIL_ADDRESS>deduped
  ├─┬<EMAIL_ADDRESS>  │ └─┬<EMAIL_ADDRESS>  │   └──<EMAIL_ADDRESS>deduped
  ├─┬<EMAIL_ADDRESS>  │ └──<EMAIL_ADDRESS>deduped
  ├─┬<EMAIL_ADDRESS>  │ └──<EMAIL_ADDRESS>deduped
  ├─┬<EMAIL_ADDRESS>  │ └──<EMAIL_ADDRESS>deduped
  ├─┬<EMAIL_ADDRESS>  │ └──<EMAIL_ADDRESS>deduped
  ├─┬<EMAIL_ADDRESS>  │ └──<EMAIL_ADDRESS>deduped
  └──<EMAIL_ADDRESS>

Though it might be worth to run an npm upgrade and go to storybook 6.5.9 just for good measure

Hm, I sometimes get errors like this when messing with the packages:
I have no name!@211a2f0e173a:/wikit$ npm -C docs/ upgrade
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>|| ^17.0.0 || ^18.0.0" from<EMAIL_ADDRESS>npm ERR!   node_modules/@storybook/builder-webpack5
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-dom
npm ERR!   peer<EMAIL_ADDRESS>|| ^17.0.0 || ^18.0.0" from<EMAIL_ADDRESS>npm ERR!   node_modules/@storybook/builder-webpack5
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /cache/eresolve-report.txt for a full report.

npm ERR!  But I guess that might be related to the problems here…


Google Code-In 2018 - Print Statements

To be compatible with people who use Python 3 forward, print statements across many .py files (such as in Centrality.py and MultiGraph.py) need to have parentheses around what needs to be printed, since it is now a function. Otherwise, many files do not work.

Hi @simcard0000, Can you work on this and create a PR? :)

Sure! I'll be sending the PR around morning of Dec. 13th in my local time.

Sorry for the delay, here is my pull request: https://github.com/scorelab/BellyDynamic/pull/50

can i work on this issue ?

can i work on this issue ?


S1: Implement CI/CD for client

Removed myself from issue since @hannesmann will take over CI/CD for client.


Duplicate file paths not accepted by pkg_tar

When tar archives which contain duplicate file paths are assigned to deps of pkg_tar, the function removes all but the first occurring instance, and warns with "Duplicate file in archive picking first occurrence". This contrasts with the common GNU tar utility, where "tar allows you to have infinite number of files with the same name" according to document for --append under The Five Advanced tar Operations, where unpacking of the archive will yield the last occurring instance of the file path.
My use case involves doing tar archive augmentation through a series of build steps, where one of these operations is to overwrite files of an existing archive. It is not an option to unpack the archives, one over the other, and then repack the result, because new entries for parent directories of the files in the incoming archives will be created which state their permissions. This is because the state of the directories on the extraction target must be preserved, rather than set to those which were present in the environment where the augmentation took place. So if an archive with duplicate files is presented to pkg_tar where the one most recently added is meant to overwrite, it is actually the original, or first file, which is retained, and thus when unpacking the overwriting behavior is not achieved.
I feel that pkg_tar's behavior in this case should be compatible with GNU tar, in order to support interoperability and leverage from common understanding that it has probably established.

Compatibliy with gnutar is not a goal we have been aiming for. We've done a lot of work to explicitly detect duplicate files because they are generally a sign that you didn't lay out the inputs correctly.  Can you provide a more concrete example of what you are trying to with laying down multiple tar balls?
Also, can you explain how the allow_duplicates_with_different_content attribute does not address your use case.

What I am trying to do is combine two tar files, where one of them is regarded as having overwrite priority for all path conflicts. Before going into an example, my understanding of allow_duplicates_with_different_content is that the duplication corresponds to that occurring across dependencies, where the use case I consider is duplication within a pre-existing (dependency) archive. Also given that it's true default means that this option is being exercised when the problem occurs, it does not seem to be a solution.  Also given the document, it seems like this is a deprecated interface. However I have not analyzed it's behavior, and could be missing something.
I will try to illustrate the problem here. For some diversity in tar utilities, I also exemplify bsdtars behavior.
Example "conflicting" input archives
$ tar tvf archive_a.tar
drwxr-xr-x s0000184/linuxusers 0 2024-04-12 08:30 ./
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:30 ./jazz
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:30 ./rock
$ tar tvf archive_b.tar
drwxr-xr-x s0000184/linuxusers 0 2024-04-12 08:34 ./
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:34 ./rock
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:34 ./blues

Concatenate with gnutar
$ tar --concatenate --file=archive_b.tar archive_a.tar
$ tar tvf archive_b.tar
drwxr-xr-x s0000184/linuxusers 0 2024-04-12 08:34 ./
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:34 ./rock
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:34 ./blues
drwxr-xr-x s0000184/linuxusers 0 2024-04-12 08:30 ./
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:30 ./jazz
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:30 ./rock

Propagate concatenated archive through pkg_tar
BUILD
load("@rules_pkg//pkg:mappings.bzl", "pkg_files")
load("@rules_pkg//pkg:pkg.bzl", "pkg_tar")

pkg_files(
    name = "gnutar_concatenated_archive",
    srcs = [":archive_b.tar"],
)

pkg_tar(
    name = "duplicate_file_demo",
    deps = [":gnutar_concatenated_archive"],
)

Commands
$ bazel build //:duplicate_file_demo
$ tar tvf bazel-bin/duplicate_file_demo.tar
-rw-r--r--<PHONE_NUMBER>/1283478178 0 2024-04-12 08:34 ./rock
-rw-r--r--<PHONE_NUMBER>/1283478178 0 2024-04-12 08:34 ./blues
-rw-r--r--<PHONE_NUMBER>/1283478178 0 2024-04-12 08:30 ./jazz

Compare unpacked results of gnutar and pkg_tar
$ mkdir inspect_pkgtar_output inspect_gnutar_output
$ tar xvf archive_b.tar -C inspect_gnu_tar_output/
$ tar xvf duplicate_file_demo.tar -C inspect_pkg_tar_output/
$ ls -l inspect_gnu_tar_output/
total 8
drwxr-xr-x 2 s0000184 linuxusers 4096 Apr 12 08:30 ./
drwxr-xr-x 4 s0000184 linuxusers 4096 Apr 12 09:20 ../
-rw-r--r-- 1 s0000184 linuxusers    0 Apr 12 08:34 blues
-rw-r--r-- 1 s0000184 linuxusers    0 Apr 12 08:30 jazz
-rw-r--r-- 1 s0000184 linuxusers    0 Apr 12 08:30 rock
$ ls -l inspect_pkg_tar_output/
total 8
drwxr-xr-x 2 s0000184 linuxusers 4096 Apr 12 09:21 ./
drwxr-xr-x 4 s0000184 linuxusers 4096 Apr 12 09:20 ../
-rw-r--r-- 1 s0000184 linuxusers    0 Apr 12 08:34 blues
-rw-r--r-- 1 s0000184 linuxusers    0 Apr 12 08:30 jazz
-rw-r--r-- 1 s0000184 linuxusers    0 Apr 12 08:34 rock

When unpacking the archive created by tar --concatenate, for paths that are subject to conflict it is the last file, or most recently added file which prevails. This is what the overwrite use case requires. When unpacking the archive created by pkg_tar, the first file in the archive, or in other words the oldest prevails.
bsdtar concatenate and unpack behavior
While bsdtar is different from gnutar including it's CLI, the behavior is roughly the same. The same incoming archives are used in this example.
$ bsdtar c --file b_first.tar @archive_b.tar @archive_a.tar
$ tar tvf b_first.tar
drwxr-xr-x s0000184/linuxusers 0 2024-04-12 08:34 ./
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:34 ./rock
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:34 ./blues
drwxr-xr-x s0000184/linuxusers 0 2024-04-12 08:30 ./
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:30 ./jazz
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:30 ./rock
$ bsdtar c --file a_first.tar @archive_a.tar @archive_b.tar
$ tar tvf a_first.tar
drwxr-xr-x s0000184/linuxusers 0 2024-04-12 08:30 ./
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:30 ./jazz
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:30 ./rock
drwxr-xr-x s0000184/linuxusers 0 2024-04-12 08:34 ./
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:34 ./rock
-rw-r--r-- s0000184/linuxusers 0 2024-04-12 08:34 ./blues

$ mkdir extract_afirst extract_bfirst

$ bsdtar -x --file=b_first.tar -C extract_bfirst
$ ls -l extract_bfirst
total 0
-rw-r--r-- 1 s0000184 linuxusers 0 Apr 12 08:34 blues
-rw-r--r-- 1 s0000184 linuxusers 0 Apr 12 08:30 jazz
-rw-r--r-- 1 s0000184 linuxusers 0 Apr 12 08:30 rock

$ bsdtar -x --file=a_first.tar -C extract_afirst
$ ls -l extract_afirst/
total 0
-rw-r--r-- 1 s0000184 linuxusers 0 Apr 12 08:34 blues
-rw-r--r-- 1 s0000184 linuxusers 0 Apr 12 08:30 jazz
-rw-r--r-- 1 s0000184 linuxusers 0 Apr 12 08:34 rock

Thanks for those examples.   How about this proposed API
Add allow_dups_from_deps as an attribute to pkg_tar.

It works like concatenate from gnutar.
The comment should mention that deps are processed in order, so users might need the buildifer no-sort-list option to prevent it from reordering things.
default=False

With that behavior, all existing tests should pass without change. A new test could easily be added.
It would be best if you extended the verify_archive test with a content attribute. It would be a string keyed dict of path to content. Sort of like the verify_links parameter.  Then 'rock' could have different content in the order or not.
A possible future idea is an option to allow deps processing before srcs (implying allow_dups_from_deps). That way you could start with a baseline .tar from somewhere else and overlay your own srcs on top of it. WDYT?
FWIW.... this is the second time in a month where no-sort-list has come up in a context like this. buildozer needs fixing to shift that declaration to the rule author, not the end user. But this is beyond the scope here.

Yes that sounds like a good proposal, as it supports this new behavior and doesn't risk breaking the existing API. I don't know if it's a sensible use case for duplicates to be assigned to srcs (i.e. in the same pkg_tar instance). It's more likely that the contents change over time due to modifications. There your suggestion about processing deps first comes into play. This is also good.
FWIW, this behavior originates from the tape drive technology and specification, e.g.: tape archive duplicates.

Believed fixed by #850


Add Alpine to existing Nuxt App

I've already got a Nuxt app live. I want to add a blog to it.
After running npm install @nuxt/content, is there a way to install Alpine as well?
Thanks! :)

If you already have a live Nuxt app, you don't need to install Alpine. You can simply install the @nuxt/content module using the following command:
npm install @nuxt/content

For more information and documentation, you can visit the Content Nuxt website.
However, if you don't have an existing Nuxt app and want to start with a Nuxt app that includes the Alpine starter theme, you can use the following command:
npx nuxt@latest init -t themes/alpine

This will set up your project with the Alpine starter theme.

Is there an easy way to bring in the Alpine theme to an existing Nuxt app?

Is there an easy way to bring in the Alpine theme to an existing Nuxt app?

Unfortunately, if you're already using a Nuxt app, adding the Alpine theme directly isn't a straightforward process. Alpine is a theme built on top of the Nuxt Content Module, and it's typically designed to be used with a fresh Nuxt project.
However, you can achieve similar functionality by utilizing the Nuxt Content Module to handle content and blog-related features within your existing Nuxt app. This way, you can manage your content without the need for the Alpine theme.

I was hoping I could swap in and out themes instead of having to build one out myself. Kind of unfortunate.

I was hoping I could swap in and out themes instead of having to build one out myself. Kind of unfortunate.

This is what I was hoping too!

You should be able to add the Alpine theme to an existing Nuxt application using the layers system in Nuxt, like you would any other layers and themes.
If you look at the default "starter" app (which I believe is what you end up getting when you generate a new Nuxt app using the Alpine theme) you can notice a few added things on top of a base Nuxt app:

"@nuxt-themes/alpine": "latest", added to devDependencies in package.json.
extends: '@nuxt-themes/alpine', added to nuxt.config.ts.
A new app.config.ts file where you can configure certain aspects of the Alpine theme (as specified by Alpine).

I believe these are the only things you need to do in your existing Nuxt app to add Alpine as a theme.
Note a few caveats:

I haven't verified that the instructions above work, so there may well be extra steps needed (though I have integrated the Content Wind theme into an existing Nuxt app and followed similar steps).
You'd be using it as a black box with the only customisations being those that are provided by Alpine (e.g the app.config file mentioned above). See the Alpine docs for more info.
You may also be able to override / re-define components that are provided by Alpine, but that could be quite fragile to manage with future Alpine updates.
If you already use Nuxt Content then you might end up with some conflicts as Alpine internally uses document driven mode by default.
Alpine does a few more things under the hood that might conflict with any existing themes/capabilities you have in your app.
The Alpine default starter app also comes with ESLint integration, which you would need to add to your app by yourself (if you would like to / need it).

Let us know how you get on.


Set StartTimeZone  and EndTimeZone on an appointment

Hi,
I want to set the StartTimeZone and the EndTimeZone on an appointment.
With the old EWS Java API 1.2, it will be not possible.
Have you had problems with the new API version?
Thank you

We are using EWS 2.0 SNAPSHOT, we are facing issue while setting Start and End time zone.
Our code looks like:
TimeZoneDefinition st = new TimeZoneDefinition() {
{
setId("Etc/GMT+10");
// or by Name as : setName("GMT-12:00");
}
};
This is giving "InvalidOrUnsupportedTimeZoneDefinitionException".
We are unable to find any valid values for Id or Name. Please let us know the correct approach with some sample code.

Hi @buddha1990, you can have a look at my answer in #357.

I don't understand how the code in the link you provided is an answer to this problem if it too has the same problem.  Am I missing something?

Hi @jeremydstanton,

InvalidOrUnsupportedTimeZoneDefinitionException indicates about two possible problems:

First, Invalid TimeZoneDefinition.

Before writing time zone to Exchange server,  ews-java-api library does a validation of time zone definition.

In two words: TimeZone definition should contain information about Periods and Transitions. So, if you just create an instance of TimeZoneDefinition with ID, it will not pass the validation.

Second, UnsupportedTimeZoneDefinition

Exchange server operates with Microsoft time zone definitions and the code above tries to use Java time zone ID, which is not supported by server.

You can find full list of Microsoft Time Zone Index Values on following page: https://msdn.microsoft.com/en-us/library/ms912391(v=winembedded.11).aspx

To the question, how is my answer is related:

The code provided above will not work, because TimeZone Definition will not pass the validation, and will not be accepted by server.

The correct way will be to use  service.getServerTimeZones(), and then pick one you need.

To the question of Exchange2007_SP1.

According to https://msdn.microsoft.com/en-US/library/office/Dn789029(v=EXCHG.150).aspx, Exchange2007_SP1 does not support StartTimeZone and EndTimeZone, but a MeetingTimeZone.

In this case, you should get time zones with service.getServerTimeZones() and then specify only StartTimeZone (not EndTimeZone). ews-java-api library will change StartTimeZone to MeetingTimeZone automatically.

Please make sure you use the latest SNAPSHOT, because service.getServerTimeZones() was recently changed, in order to work correctly with Exchange servers.

Thanks for your prompt reply.  I pulled down your latest SNAPSHOT, recompiled and ran the code your link provided and am now getting this error "The service request GetServerTimeZones is only valid for Exchange version Exchange2010 or later."  So you're telling me that I need to use getServerTimeZones() to get the one I need but that's not valid for the server version I'm implementing this for.... So I am still in a position where I cannot create events in Exchange2007_SP1.

Could my problem be that I'm using the snapshots from oss-sonatype and I need to instead pull the code directly from github?

@jeremydstanton

Yes, you absolutely right, getServerTimeZones() work only for 2010+ version. The problem is, however, in the current implementation of ews-java-api.

Initially it was implemented to validate TimeZoneDefinition for correct Periods and Transitions, which is not necessary, if you use Exchange2007_SP1:
https://github.com/OfficeDev/ews-java-api/blob/master/src/main/java/microsoft/exchange/webservices/data/property/complex/time/TimeZoneDefinition.java#L335

Theoretically for Exchange 2007 SP1 your code should look like follows:

// init connection
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2007_SP1);
ExchangeCredentials credentials = new WebCredentials();

service.setCredentials(credentials);
service.setUrl(new URI("https://hostname/ews/Exchange.asmx"));

// Create new TimeZoneDefinition by using MS Time Zone ID
TimeZoneDefinition timeZoneDefinition = new TimeZoneDefinition();
timeZoneDefinition.setId("W. Europe Standard Time");

// Setting TimeZoneDefinition to appointment
Appointment appointment = new Appointment(service);
appointment.setSubject("TimeZoneTest");
appointment.setStart(new Date());
// setStartTimeZone will be automatically transformed into MeetingTimeZone
appointment.setStartTimeZone(timeZoneDefinition);
appointment.setEnd(new Date());

appointment.save(WellKnownFolderName.Calendar);

Code where StartTimeZone will be replaced by MeetingTimeZone
https://github.com/OfficeDev/ews-java-api/blob/master/src/main/java/microsoft/exchange/webservices/data/property/definition/StartTimeZonePropertyDefinition.java#L88

However, because of validation of TimeZoneDefinition, example above will not work. So its can be three ways to fix problem:

Notify core developers to fix validation problem

Get proper TZD from 2010+ server

Clone library and comment out validation code.

Shouldn't this issue still be open since the code doesnt currently work?  I mean technically the issue in the original request was fixed but it's simply been replaced with a different blocker.  Is the proper procedure to open another issue with this new blocker?

#357 has been reopened as first occurrence

@serious6 I suggest to change validation method in TimeZoneDefinition. Currently,

Just to let you know I resolved this by extending the TimeZoneDefinition class and overriding the validate method making sure the inherited/super validate method isn't called. I than use the Microsoft timezone id as suggested earlier and it works fine against 2007SP1. I just named it TimeZoneDefinition2007. No need to compile yourself.
Kind regards,
Jacob

I solved the problem without any code changes by querying the microsoft
endpoint for office365, fetching the timezone list that way, pulling out
the one I want, and using that. It's not a self contained solution but it
works well.
On Wed, Nov 4, 2015 at 5:49 PM, Jacob Hoeflaken<EMAIL_ADDRESS>wrote:

Just to let you know I resolved this by extending the TimeZoneDefinition
class and overriding the validate method making sure the inherited/super
validate method isn't called. I than use the Microsoft timezone id as
suggested earlier and it works fine against 2007SP1. I just named it
TimeZoneDefinition2007. No need to compile yourself.
Kind regards,
Jacob
—
Reply to this email directly or view it on GitHub
https://github.com/OfficeDev/ews-java-api/issues/360#issuecomment-153894676
.

@jeremydstanton That is certainly a smart solution too. Thanks for sharing.


Update Shopify to edge Case

As per #46 I'm updating the documentation to reflect this as an edge case. In the very, very vast majority of scenarios though, this won't be vulnerable any longer.

Closes #46


[URGENT] [IMPORTANT] GPG Issue?

git commit -m "hello"
error: cannot run gpg: No such file or directory
error: could not run gpg.
fatal: failed to write commit object
What is this and how do I get rid of this?
No, installing GPG won't help.
Yes, reformatting my computer was the only option after getting stuck with this for countless of hours.
Happens with OS X 10.12 Sierra after executing the following
git clone https://github.com/mathiasbynens/dotfiles.git && cd dotfiles && source bootstrap.sh

https://github.com/mathiasbynens/dotfiles/blob/2f0d5d65a87765875c3af71e258bd3e7b045b5eb/.gitconfig#L128-L131
Please do as the README says and fork/check/modify these dotfiles before installing them on your own system.

BLESS