Flex gap breaks flex-grow and flex-shrink behaviour of children

Platform: desktop web
Gestalt version: 21.17.13.
Steps to reproduce:
Use the following code
<Flex width={400} alignItems="end" gap={2}>
  <Box flex="grow">
    <TextField id="pinId" label="Pin ID" onChange={() => {}} />
  </Box>
  <Box flex="shrink">
    <Button text="Add Pin ID" />
  </Box>
</Flex>

Expected:

Actual:

Root issue seems to be that using gap will add wrapper divs around <Box flex="grow"> and <Box flex="shrink"> which disables flex-grow and flex-shrink behaviour. Instead of using wrapper divs to implement gap I think there could be a css approach to this like using the gap css property. Alternatively, we could intersperse whitespace divs instead of wrapping the divs.
This is a pretty unfortunate gotcha which makes it hard for me to recommend Flex.gap to developers not willing to put in the time to understand and debug HTML/CSS.
Workaround
The workaround is to avoid using Flex and gap but instead use Box and margins.
<Box width={400} display="flex" alignItems="end">
  <Box flex="grow" marginEnd={2}>
    <TextField id="pinId" label="Pin ID" onChange={() => {}} />
  </Box>
  <Box flex="shrink">
    <Button text="Add Pin ID" />
  </Box>
</Box>

@keyworks is another solution to use Flex.Item?
<Flex width={400} alignItems="end" gap={2}>
  <Flex.Item flex="grow">
    <TextField id="pinId" label="Pin ID" onChange={() => {}} />
  </Flex.Item>
  <Flex.Item flex="shrink">
    <Button text="Add Pin ID" />
  </Flex.Item>
</Flex>

https://codesandbox.io/s/example-flex-item-qwtwh?file=/example.js
/cc @dangerismycat

Agreed, this is why we added Flex.Item. We do plan to add additional props to that child component eventually, but I believe the flex prop should accomplish what you're looking for here.

Thanks, that works for me. I missed Flex.Item in the documentation.
Suggestion: It could be helpful if these components appeared in the navigation so that they are easier to discover. Something like this:


UITOOL-996/merge next in master

Proposed Changes
Merging Next in Master to get React 18 in the release 🎉
Potential Breaking Changes
React 18 is now mandatory to use Plasma
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

Also make sure to change the message when you merge to include the BREAKING CHANGE


Query blocks take up a lot of visual realestate

When the query blocks are not being edited, they still render the text inside of them, which makes them take up a lot of space. For more complicated queries, this can be quite a few lines. I propose that they are collapsed/hidden when not being edited. I have personally applied the following css rule to mitigate this issue on my end:
  .sb-directive-start-outside {
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
  }

I'll play a bit with your suggestion, but I sense this is just the consequence of solving this issue: https://github.com/silverbulletmd/silverbullet/issues/208
I'm not sure we can have both.

On mobile (or technically: narrow screens of 600px or less) this implemented: the height of the "directive bar" is always the same, on wider screen (likely desktops, tablets) this is not the case to avoid vertical jumping as you walk your cursor through the document or click places. It's a compromise, a trade-off. Closing this for now.


Make it possible to build FIPS authservice image.

Authservice uses boringssl for several purpose. For a FIPS compliant consumer, this needs to be compiled with FIPS compliant way as well. This is to track all the necessary work.

Now the build process is ready for FIPS. I am not so familiar with the release process. I took a quick glance but didn't see much info about the CI job or doc on releases.
@Shikugawa @ZackButcher Any pointers on how the release is managed and created? e.g. how is 0.4.1 created? Or  it's just: local dev machine build & push & release creation on Github?

retitled, and release work will be tracked in https://github.com/istio-ecosystem/authservice/issues/197


Configurable shortcut for close a single tab

Hi, thank you for sharing this plugin. I think it'll make Joplin much more suitable for my usage with multiple tab features:)
According to your documentation, we can configure a shortcut to close "all" tabs (ie. tabClear option), but I was wondering if there is an option assigned to close just the current tab?
I rarely want to close all tabs, but often need to close just the current one. It'd be nice to be able to configure a keymap for that.
Thank you!

@cocoaaa the tabsUnpinNote (mapped to the usual Ctrl + W KB shortcut) does just that.


Define browser support

We should probably define some level of browser support.
Our applications currently support the following browsers: Chrome, Safari and Firefox.
Maybe we can extend this with Microsoft Edge support.

Since “new Edge” uses the Chromium engine it seems reasonable to support it.
I would not support older browsers like IE11, although we could probably test and apply some fixes at some point to make it render reasonably well. So I would label that as “Partial support” (With guideline: avoid using CSS grid style components when you need legacy support / Remove animations by flagging a variable in the globals)
I would support Chrome (Desktop), Chrome (Android), Safari, Mobile Safari, Firefox and new Edge. I think that covers most usage.


Add content to Keras

i would like to work on this issue

@VIDYA1980
Ok , you can start working on it.


Checking JS types does not accept @implements or @augments on constructor functions

TypeScript Version:  3.9.5 (also tested on 3.9.3 initially)
Search Terms: @implements, jsdoc
Code
/**
 * @param {string} name
 * @implements {EventTarget}
 * @constructor
 */
function Foo (name) {
  this.name = name
}

/**
 * @param {string} type
 * @param {EventListenerOrEventListenerObject} listener
 * @param {boolean | AddEventListenerOptions} [options]
 */
Foo.prototype.addEventListener = function (type, listener, options) {}

Then run tsc --noEmit --checkJS --allowJS reproducer.js
Expected behavior:
According to https://www.typescriptlang.org/docs/handbook/type-checking-javascript-files.html#constructor-functions-are-equivalent-to-classes, constructor functions are treated like classes. So using @implements or @augments on them should be possible. It used to work in the past.
Actual behavior:
reproducer.js:6:10 - error TS8022: JSDoc '@implements' is not attached to a class.

6 function Foo (name) {
           ~~~

Found 1 error.

Playground Link: I was not able to reproduce this in the playground (but it does not have the latest 3.9 versions available)
Related Issues:

I'm having the same issue. I'm following the JSDocs example (https://jsdoc.app/tags-implements.html) and I'm using version 4.2.3 of typescript in VSCode.

Related Question on Stack Overflow: The TS Language Server in various IDEs doesn't take in account the existence of a property on a child-class, when defined via prototypal inheritance (ie.it is defined in the constructor of the base-class).
https://stackoverflow.com/questions/77072761/properties-defined-in-prototypal-base-classs-ctor-are-not-identified-as-own-pro
Example:
/**
 * @constructor fooBase
 */
const FooBase = function() {
   this.myProp = 0;
}

/**
 * @constructor FooChild
 * @implements FooBase
 */
const FooChild = function() {

}
FooChild.prototype = Object.create(FooBase.prototype);
FooChild.prototype.myMethod = function() {
    this.myProp += 1;
}

Errors from the TS Language Server:
'@implements' is not attached to a class
Property 'myProp' doesn't exist on type 'FooChild'

Having the ability to type-check a "owned" property on a constructor function (aka a"class") without support of inherited properties doesn't make sense.
I can imagine there are complex cases of prototypal inheritance, but at least, we could manage complex cases by our own. Having support for simple cases of prototypal inheritance would give a meaning to the argument "--allowJS".
It's weird to discover that a language that transpiles to JS doesn't support the most classical patterns of that language.


Point to latest non-olm .yml file for operator.yml in docs/usage/1.md

In section "1.2 Setup with mig-operator"
where it states A manifest for deploying mig-operator to OpenShift 3.x and 4.x has been made available as operator.yml
the operator.yaml is a link to https://raw.githubusercontent.com/fusor/mig-operator/master/deploy/non-olm/v1.0.0/operator.yml
This should be changed to reflect https://raw.githubusercontent.com/fusor/mig-operator/master/deploy/non-olm/v1.1.0/operator.yml
version 1.0.0 of the operator.yml has issues with deploying the MigController in section 1.3

Thank you for the issue.
In addition to addressing in upstream docs, similar issue with downstream published docs,
Tracked in:
https://bugzilla.redhat.com/show_bug.cgi?id=1801465
Downstream docs fixed in
https://github.com/openshift/openshift-docs/pull/19652


Overflow of .jspsych-display-element can't be scrolled to

When creating e.g. a very long instruction that needs to be scrolled to be read completely, the flexbox centering algorithm will cause the top part of the content to be hidden. This part can't be reached by scrolling.
Problem and solution are described in detail at MDN.
In short, those lines on the container elements (.jspsych-display-element and .jspsych-content-wrapper):
align-items: center;
justify-content: center;

have to be replaced by margin: auto on the child elements (.jspsych-content-wrapper and .jspsych-content).

I think uncommenting this line fixes the problem:
https://github.com/jodeleeuw/jsPsych/blob/master/css/jspsych.css#L31
I have this fixed on my local copy of the repo but I haven't synced some changes yet.


Add constructor for VerificationMethod in TS

Fixes https://github.com/iotaledger/identity.rs/issues/1320

@UMR1352 can you please take a look at this?


How stable is the csi-v1.0 implementation currently?

I was using the external-storage/ceph/rbd provisioner but in the PR to move it to kubernetes-sigs I saw that this repo will deprecate that provisioner.
So I am trying to switch to the new cis-v1.0 plugin since that seems to be the way forward but PR's like #280 and #288 keep showing up which raise concerns about compatibility when I deploy it now.
Is backwards compatibility something to be concerned about?
Who can shine a light on this? For new users like me it might be nice to write something about the current (alpha?) state of this plugin. Also a roadmap of some sort would be nice :)

@ShyamsundarR Thanks for the response, a ROADMAP.md would be really helpful!
Closing this in favor of #314


Fix CI by temporarily pinning ruff < 0.5.0

As a hotfix for CI, temporarily pin ruff upper version < 0.5.0.
Fix #7006.
Revert once root cause is fixed.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Updated to ARCore 1.1.

Removed outdated ARCore Unity assets and updated to ARCore 1.1. Updated code in ARSurface.cs and ARSurfaceManager.cs to work with ARCore 1.1.

Fantastic!
I don't have time to look through the changes right now as the SDK 1.1 touched a lot of files. But I'll accept this pull request to let people give it a go. I've been thinking about having the SDK out-of-repo to minimize the changes on upgrade.
High five!

Great! Yea, SDK out-of-repo isn't a bad idea.

Right, I'm gonna think about that. It was like that in the beginning but
people had a hard time to get going. Having the demo scene and the SDK is
instant for trying it out. Anyway, gonna think more about it.
On Wed, Apr 11, 2018, 21:15 eisenbruch<EMAIL_ADDRESS>wrote:

Great! Yea, SDK out-of-repo isn't a bad idea.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/jonas-johansson/ARCoreUtils/pull/4#issuecomment-380564459,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIt3CG8utvYrHDT6fCp5DY8N2EFMHdKSks5tnlXogaJpZM4TP6S-
.


Migrate the development flow description to the user guide.

The development flow described in "Try It" https://metal3.io/try-it.html  should be updated with correct information and migrated to the user guide under the Developer Environment section

/assign @SafeEHA @hroyrh

/triage accepted

PR #339 in metal3-docs


Cannot actually collaborate despite joining session

Issue Type: Bug
I am apparently able to join the student's LiveShare session,  but when I try to edit a remote file, the remote file content is perpetually loading without the editor ever showing me the content or allowing me to edit it. No amount of reloading window or leaving and rejoining helps.
Extension version: 1.0.4631
VS Code version: Code - Insiders 1.59.0-insider (ba0df885e9d6b0f0ccf2cc714c3fa31423572205, 2021-07-31T00:41:55.692Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3540M CPU @ 3.00GHz (4 x 2990)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.91GB (4.26GB free)

Process Argv
--crash-reporter-id 5fbb05cc-8424-46f5-a920-45fc0475991e

Screen Reader
no

VM
0%

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291487
pythontb:30258533
vsc_aacf:30263846
pythonptprofiler:30281269
vsdfh931cf:30280410
vshan820:30294714
pythondataviewer:30285072
pythonvsuse255:30319630
vscod805cf:30301675
pythonvspyt200:30323110
vsccppwt:30312692
pythonvssor306:30340298
bridge0708:30335490
dockerwalkthru:30344901

@mavaddat could you try reverting to the last release of the Live Share extension and seeing if that fixes the issue? You can right-click on the extension from the extensions panel and select "Install Another Version." Try 1.0.4583.

I can try next time I have a class with this student, which will be on Thursday.
I share the following logs from the session:

Log (Extension Host)
Log (Window)
Developer Tools Console

logs.zip

I had the same problem. We were 3 people. One hosting and the first one who joined had no problem but the second one got this bug. As soon as the first collaborator left, the second ones session started working. However reverting from 1.0.4631 back to 1.0.4583 seem to have solved it for now.

We just pushed a release that should have this fixed. Thanks for the help!

I tried both rewinding the version and using the latest version. This issue is not fixed for me — I still have the same problem. I am seemingly able to join the student's LiveShare session (I get the loading animation in the Explorer), but none of the student's files appear in the Explorer. No amount of reloading window or leaving and rejoining helps.
 Just wanted to confirm.

Hey @mavaddat , it looks like you've managed to fix this issue for yourself? Just wanted to confirm.

I thought that I had, but it seems I have more issues now.
I am getting issues with all my extensions now including liveshare. Liveshare doesn't work at all (not even what it would do previously), and when I try to upgrade VS Code, it gives be this old EPERM issue. https://github.com/microsoft/vscode/issues/112846
I am going to try uninstalling and reinstalling VS Code to see if that helps.
$tempForExt = New-TemporaryFile # Prepare a file to store the
$vsCodeCmd = Get-Command -Name code*cmd -CommandType Application -TotalCount 1
&($vscodeCmd) --list-extensions |  Out-File -FilePath $tempForExt
Move-Item -Path $tempForExt -Destination "$env:OneDriveConsumer\$($VSCodeCMD.Name.TrimEnd('.cmd')).extensions"
$VSCodeRoamingPath =  Resolve-Path "$env:APPDATA\Code*"
$VSCodeProgramFilesPath = Resolve-Path "$env:ProgramFiles*\Microsoft VS Code*"
Copy-Item -Path $VSCodeRoamingPath -Recurse -Destination "$env:OneDriveConsumer\"
Remove-Item -Path $VSCodeProgramFilesPath -Confirm -Recurse -Force
Remove-Item -Path $VSCodeRoamingPath -Confirm -Recurse  -Force
choco uninstall vscode-insiders -pre -y
choco install vscode-insiders -pre -y


Fixed issue that bamtolist() does not keep association between file a…

…nd sample names.
Firstly, thank you very much for maintaining this great tool!
I have just realized that name_samples option in bamtolist() is not working as described. It does not seem to consider sample name - file name association given by the named vector. Instead, it names the list using the vector in an order-dependent manner. I have fixed this issue and added some related modifications:

name_samples had to have the same length as the number of the .bam files in bamfolder. Now it can be a part of .bam files in  bamfolder. I believe this way is more flexible because one may have extra .bam files which should not be loaded.
For confirmation, added output messages showing the name of the loaded file and the sample name assigned to it.

I would be grateful if you could have a look at this edit because unintended sample labeling may cause critical issue.
Thanks,
Sotta

Hi Sotta,
thank you for pointing out this issue.
You are absolutely right, the assignment of the names is still order-dependent. I introduced vector names for name_samples but I forgot to change the following lines accordingly.
Thanks also for giving the possibility to read only a subset of .bam files and for the additional message.
I only left a comment about the expression in one of the if statement. Everything else is just fine.
Bests,
Fabio

Hi Fabio,
Thank you for merging this.
Cheers,
Sotta


[Panic] check and --fix crash when called on a nested file next to an __init__.py

Minimal file structure
tmp/ruff-dbg $ tree -a

.
├── rest_api
│   ├── __init__.py
│   └── views
│       ├── __init__.py
│       └── tag.py
└── ruff.toml

3 directories, 4 files

Both of the __init__.pys are empty.
# ruff.toml

exclude = [
    ".git",
    ".tox",
    "dist",
]
ignore = ["E501"]
select = [
    "E",
    "F",
    "W",
]

# tag.py
class Binary:
    authentication = None

tag.py has some error/warning (i tested with W291 trailing whitespace after None and W292 no newline at end of file).
Errors
Calling ruff check <file> or ruff --fix <file> crashes ruff; calling ruff check . or ruff --fix . works as expected. Happens with --isolated as well.
$ RUST_BACKTRACE=full ruff check rest_api/views/tag.py

error: `ruff` crashed. This indicates a bug in `ruff`. If you could open an issue at:

https://github.com/astral-sh/ruff/issues/new?title=%5BPanic%5D

quoting the executed command, along with the relevant file contents and `pyproject.toml` settings, we'd be very appreciative!

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', crates/ruff_cli/src/commands/run.rs:112:65
stack backtrace:
   0:        0x1012eaa40 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf56058dac04a8100
   1:        0x100d478a0 - core::fmt::write::h887ee594c50d2f6b
   2:        0x10130028c - std::io::Write::write_fmt::h8e068fbe7ba944b7
   3:        0x1012ea848 - std::sys_common::backtrace::print::hefee1a8be582057a
   4:        0x1012fbe84 - std::panicking::default_hook::{{closure}}::h7ba479390a999ae5
   5:        0x1012fbb60 - std::panicking::default_hook::hc4ff20421fd3aa8b
   6:        0x1011b4a9c - ruff_cli::run::{{closure}}::h263f8a459341438f
   7:        0x1012fc774 - std::panicking::rust_panic_with_hook::h97e5266e8ce2f24f
   8:        0x1012ead84 - std::panicking::begin_panic_handler::{{closure}}::h5c38d4c71a65b53e
   9:        0x1012ead18 - std::sys_common::backtrace::__rust_end_short_backtrace::h9c79ccffe3575672
  10:        0x1012fc2c0 - _rust_begin_unwind
  11:        0x10137f754 - core::panicking::panic_fmt::h8d86c61b68da2636
  12:        0x10137f7dc - core::panicking::panic::h6860fe84587621e0
  13:        0x10119e1cc - rayon::iter::plumbing::bridge_producer_consumer::helper::h3304d33f31889e31
  14:        0x101185a60 - ruff_cli::commands::run::run::h555b6a056bc5d1dd
  15:        0x101163470 - ruff_cli::check::hef3a5701c3b81251
  16:        0x10115b754 - ruff_cli::run::h1bb63e1856dc6568
  17:        0x100cc70e4 - ruff::main::h0a10441f674e37c2
  18:        0x100cc3978 - std::sys_common::backtrace::__rust_begin_short_backtrace::h96b0964bb5bd6d72
  19:        0x100cc83e8 - _main

$ RUST_BACKTRACE=full ruff --fix rest_api/views/tag.py

error: `ruff` crashed. This indicates a bug in `ruff`. If you could open an issue at:

https://github.com/astral-sh/ruff/issues/new?title=%5BPanic%5D

quoting the executed command, along with the relevant file contents and `pyproject.toml` settings, we'd be very appreciative!

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', crates/ruff_cli/src/commands/run.rs:112:65
stack backtrace:
   0:        0x1026faa40 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf56058dac04a8100
   1:        0x1021578a0 - core::fmt::write::h887ee594c50d2f6b
   2:        0x10271028c - std::io::Write::write_fmt::h8e068fbe7ba944b7
   3:        0x1026fa848 - std::sys_common::backtrace::print::hefee1a8be582057a
   4:        0x10270be84 - std::panicking::default_hook::{{closure}}::h7ba479390a999ae5
   5:        0x10270bb60 - std::panicking::default_hook::hc4ff20421fd3aa8b
   6:        0x1025c4a9c - ruff_cli::run::{{closure}}::h263f8a459341438f
   7:        0x10270c774 - std::panicking::rust_panic_with_hook::h97e5266e8ce2f24f
   8:        0x1026fad84 - std::panicking::begin_panic_handler::{{closure}}::h5c38d4c71a65b53e
   9:        0x1026fad18 - std::sys_common::backtrace::__rust_end_short_backtrace::h9c79ccffe3575672
  10:        0x10270c2c0 - _rust_begin_unwind
  11:        0x10278f754 - core::panicking::panic_fmt::h8d86c61b68da2636
  12:        0x10278f7dc - core::panicking::panic::h6860fe84587621e0
  13:        0x1025ae1cc - rayon::iter::plumbing::bridge_producer_consumer::helper::h3304d33f31889e31
  14:        0x102595a60 - ruff_cli::commands::run::run::h555b6a056bc5d1dd
  15:        0x102573470 - ruff_cli::check::hef3a5701c3b81251
  16:        0x10256b754 - ruff_cli::run::h1bb63e1856dc6568
  17:        0x1020d70e4 - ruff::main::h0a10441f674e37c2
  18:        0x1020d3978 - std::sys_common::backtrace::__rust_begin_short_backtrace::h96b0964bb5bd6d72
  19:        0x1020d83e8 - _main

$  RUST_BACKTRACE=full ruff --isolated check rest_api/views/tag.py

error: `ruff` crashed. This indicates a bug in `ruff`. If you could open an issue at:

https://github.com/astral-sh/ruff/issues/new?title=%5BPanic%5D

quoting the executed command, along with the relevant file contents and `pyproject.toml` settings, we'd be very appreciative!

thread '<unnamed>error' panicked at 'called `Option::unwrap()` on a `None` value', : Failed to lint check: crates/ruff_cli/src/commands/run.rsNo such file or directory (os error 2):
112:65
stack backtrace:
   0:        0x10521ea40 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf56058dac04a8100
   1:        0x104c7b8a0 - core::fmt::write::h887ee594c50d2f6b
   2:        0x10523428c - std::io::Write::write_fmt::h8e068fbe7ba944b7
   3:        0x10521e848 - std::sys_common::backtrace::print::hefee1a8be582057a
   4:        0x10522fe84 - std::panicking::default_hook::{{closure}}::h7ba479390a999ae5
   5:        0x10522fb60 - std::panicking::default_hook::hc4ff20421fd3aa8b
   6:        0x1050e8a9c - ruff_cli::run::{{closure}}::h263f8a459341438f
   7:        0x105230774 - std::panicking::rust_panic_with_hook::h97e5266e8ce2f24f
   8:        0x10521ed84 - std::panicking::begin_panic_handler::{{closure}}::h5c38d4c71a65b53e
   9:        0x10521ed18 - std::sys_common::backtrace::__rust_end_short_backtrace::h9c79ccffe3575672
  10:        0x1052302c0 - _rust_begin_unwind
  11:        0x1052b3754 - core::panicking::panic_fmt::h8d86c61b68da2636
  12:        0x1052b37dc - core::panicking::panic::h6860fe84587621e0
  13:        0x1050d21cc - rayon::iter::plumbing::bridge_producer_consumer::helper::h3304d33f31889e31
  14:        0x1050dd0a8 - <rayon_core::job::StackJob<L,F,R> as rayon_core::job::Job>::execute::h133bec64b0c41269
  15:        0x1052bb1e0 - rayon_core::registry::WorkerThread::wait_until_cold::hf26be6610b8e2b07
  16:        0x104d98584 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha3ea6fda9d4e1206
  17:        0x104d9838c - core::ops::function::FnOnce::call_once{{vtable.shim}}::hfe1f6dc4c31547b1
  18:        0x10521f52c - std::sys::unix::thread::Thread::new::thread_start::h26d49c46532d1c2b
  19:        0x183b2bfa8 - __pthread_joiner_wake

$ ruff check .

rest_api/views/tag.py:2:26: W291 [*] Trailing whitespace
Found 1 error.
[*] 1 potentially fixable with the --fix option.

$ ruff --fix .

Found 1 error (1 fixed, 0 remaining).

Versions

ruff --version: ruff 0.0.273

installed by homebrew

as a note this project is using python3.8 (but there are no version-specific files, such as .python-version, in the minimal example)
OS: macOS (m1) Ventura 13.4
architecture uname -m: arm64

Fixes (hacks?)
I can "fix" this locally by removing either or both of the __init__.py files (under rest_api or views). Leaving both of them results in the above failure. Panic still occurs if i cd into rest_api/views and call ruff check tag.py. Tested both with and without .ruff_cache/

My bad, thanks! Now I'm just extremely confused why brew outdated didn't tell me that ruff was outdated (but brew uninstall ruff && brew install ruff did) 🤷

No worries! Maybe it wasn't up yet, I'm not sure!


Add Future.block()

There currently exists Future.get(), which is close to what I want, but will throw a NoSuchElementException instead of the underlying exception in the event of a failed future. I'd like an easy way to block on a Future, and force it to throw any exception that might have terminated its run.

Hi, thank you for your suggestion. Currently (2.0.5) there is an ugly workaround:
future.await();    // blocks until completed and returns the future instance
future.getValue() // returns Option<Try<T>>
      .get()      // returns a Try<T> because we know that the Option is a Some
      .get();     // returns a Value of type T or throws a NonFatalException that wraps the original exception

With Javaslang 2.1.0 await() will return the Future instance.
Value sits at the top of the Javaslang type hierarchy. Currently it defines an abstract get() that throws NoSuchElementException in the empty case. However, Try extends Value and Try.get() throws a NonFatalException (which can be considered as a bug, it should throw a NoSuchElementException).
However, in 3.0.0 there will be some changes. I think we should allow get() to throw an arbitrary (non-fatal?) exception in the empty case. Additionally we will get rid of the NonFatalException wrapper by sneaky throwing arbitrary exceptions at runtime.
Then your wish could be expressed like this:
// a future Javaslang 3.0.0
future.get();

Until that you could use this helper:
import javaslang.concurrent.Future;
import javaslang.control.Try;

public class Test {

    public static void main(String[] args) {

        Future<String> future1 = Future.successful("ok");
        System.out.println(block(future1));

        Future<String> future2 = Future.<String> failed(new Exception("error"));
        System.out.println(block(future2));

    }

    static <T> T block(Future<T> future) {
        future.await();
        final Try<T> result = future.getValue().get();
        if (result.isEmpty()) {
            sneakyThrow(result.getCause());
        }
        return result.get();
    }

    @SuppressWarnings("unchecked")
    static <T extends Throwable> void sneakyThrow(Throwable t) throws T {
        throw (T) t;
    }

}

Adding an additional block() method is currently no option for us because we want to keep the API as thin and simple as possible, await().get() will do the job. But it will take some time until 3.0.0 will be released... Too much to do, too few time.

Fixed with #1976


[Docs] Policies filled with 404 towards https://github.com/kyverno/policies

Is your feature request related to a problem? Please describe current state:
2 weeks ago almost all policies were placed in their own subdirectory by this commit https://github.com/kyverno/policies/commit/b74f24030db59eaed64435dd10abbcda90eacff2
Describe the solution you'd like:
URLs to be updated :-)
example:
https://kyverno.io/policies/other/restrict_automount_sa_token/ links to:
https://github.com/kyverno/policies/raw/main//other/restrict_automount_sa_token.yaml
which should be:
https://github.com/kyverno/policies/raw/main/other/restrict_automount_sa_token/restrict_automount_sa_token.yaml
Describe alternatives you've considered:
N/A
Additional context
I'll get started on a PR!
Contributor Resources

Contributing Guidelines

See linked PR, but these updates happen via a separate rendering program which updates links.


RPC command decoderawtransaction doesn't accept any param

Hello,
Because of row :

https://github.com/VeriumReserve/verium/blob/master/src/rpc/rawtransaction.cpp#L425

This command will never accept any params and will never work.
We need to decomment the row to make it work again.
Regards

The following line need to have his value change to true too:

https://github.com/VeriumReserve/verium/blob/master/src/rpc/rawtransaction.cpp#L489


tetragon: better identification of kernel threads

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem?
No response
Describe the feature you would like
Better identification of  kernel threads in generated process events
Describe your proposed solution

[ ] Document that pid 0 is auto generated to note kernel context
[ ] Generate a test case to trigger kernel threads
[ ] Ensure that all kernel threads have the auditd uid set to -1

[x] Generated pid 0 https://github.com/cilium/tetragon/pull/2400
[ ] All the rest kernel threads

[ ] Maybe add a flag to note kthread
[ ] Ensure to collect comm for kernel threads and set it as binary name
[ ] Investigate kernel threads hierarchy and note if we keep the hierarchy or if we should do something special

Code of Conduct

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

I would love to work on this issue!


[Snyk] Security upgrade org.springframework:spring-web from 6.0.13 to 6.0.18

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

641/1000  Why? Recently disclosed, Has a fix available, CVSS 7.1
Open Redirect SNYK-JAVA-ORGSPRINGFRAMEWORK-6444790
org.springframework:spring-web:  6.0.13 -> 6.0.18
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Open Redirect

Fixed the snyk issue in this PR:
https://github.com/contentstack/contentstack-utils-java/pull/58


Fix dispose value still update

We need to dispose the webViewController. Or the javascript callback will keeping execute even thought the widget already disposed.

The PR is related to this issue
https://github.com/sarbagyastha/youtube_player_flutter/issues/871

@sarbagyastha thanks for the lib. Could you please help me to review? 🙇

Any ETA when this is going to be merged? Thanks

Not work with me 😟

Can this be merged please?

Fixed with v9.0.2


Fails with Mojolicious 6.0 and later

As per subject. Sample fail report:
http://www.cpantesters.org/cpan/report/52071858
HTH&&Thanks,
(Disclaimer: this was discovered by statistical analysis, I'm not speaking as a user)

Thanks for report, but this report for Test::Mojo::Session version 1.02.
In version 1.04 this was fixed: https://metacpan.org/changes/distribution/Test-Mojo-Session#L3

Sorry for the noise. I suppose the different capitalization (test-mojo-session vs Test-Mojo-Session) confused me. I'll try to prevent that his pops up again.


set-namespace: Simplify the logic

Description
This change allows set-namespace to be used with more flexibility and users are no longer required to be aware of the original namespace value they plan to update.
Changes

Remove the validation for original namespaces.
Update all namespace values to the new value whatever its original value is.
Remove the 3 update Mode since all namespaces are squashed to the new one.
Remove the namespaceMatcher feature, users won't be able to only update a specific namespace value to a new value.
Add post transformation validation check to detect duplicate GVKNN resources, which can be a common resource error when squashing all namespaces into a new one.
Delete 3 update Mode examples
Add e2e tests to cover new behavior
Added two WYSIWYG e2e tests to cover the scenarios shown in the WYSIWYG Configuration as Data demo.

wysiwyg-add-blueprint-resource
wysiwyg-authroing-blueprint-from-basens

Added two WYSIWYG e2e tests to cover the scenarios shown in the WYSIWYG Configuration as Data demo.
wysiwyg-add-blueprint-resource
wysiwyg-authroing-blueprint-from-basens

Thanks. I think this should be less error-prone for now. We can discuss what the long-term behavior should be in the future. kustomize name transforms record the original names. We will need to do similarly.
I don't have time to do a thorough review, but I did look at the test inputs / outputs, and this looks like it will do what I need.


When I run poetry build I receive this error:   [AttributeError]   '_Printer' object has no attribute 'id'

Hi :)
I am trying to build a package using poetry and I am receiving and error, the steps to reproduce it are these:
poetry new example
cd example
poetry build
and it returns [AttributeError]   '_Printer' object has no attribute 'id'
Do you know how to fix this error?
Is there any documentarion about the pyproject.toml and its options?
Could be great if the default pyproject.toml includes more default options

I found the issue, seems like the license field is required I just added it to the pyproject.toml file and it worked

Could you please either add this field as optional or add it by default to the pyproject.toml file?

@oca159 That's strange. If it is indeed the case then it's a bug since the license field is not mandatory and you should be able to build a project without it.
I will investigate.

1

For me this had to do with my environment.  For some reason my environment + pycharm doesn't put git.exe in my path.
>poetry build -vvv
Building qwatch (0.2.0)
 - Building sdist

  [FileNotFoundError]
  [WinError 2] The system cannot find the file specified

Exception trace:
 c:\users\rgilmore\python36\lib\site-packages\poetry\_vendor\cleo\application.py in run() at line 94
   status_code = self.do_run(input_, output_)
 c:\users\rgilmore\python36\lib\site-packages\poetry\console\application.py in do_run() at line 71
   return super().do_run(i, o)
 c:\users\rgilmore\python36\lib\site-packages\poetry\_vendor\cleo\application.py in do_run() at line 197
   status_code = command.run(input_, output_)
 c:\users\rgilmore\python36\lib\site-packages\poetry\console\commands\command.py in run() at line 22
   return super(BaseCommand, self).run(i, o)
 c:\users\rgilmore\python36\lib\site-packages\poetry\_vendor\cleo\commands\base_command.py in run() at line 146
   status_code = self.execute(input_, output_)
 c:\users\rgilmore\python36\lib\site-packages\poetry\_vendor\cleo\commands\command.py in execute() at line 107
   return self.handle()
 c:\users\rgilmore\python36\lib\site-packages\poetry\console\commands\build.py in handle() at line 26
   builder.build(fmt)
 c:\users\rgilmore\python36\lib\site-packages\poetry\masonry\builder.py in build() at line 25
   return builder.build()
 c:\users\rgilmore\python36\lib\site-packages\poetry\masonry\builders\complete.py in build() at line 21
   sdist_file = sdist_builder.build()
 c:\users\rgilmore\python36\lib\site-packages\poetry\masonry\builders\sdist.py in build() at line 74
   files_to_add = self.find_files_to_add(exclude_build=False)
 c:\users\rgilmore\python36\lib\site-packages\poetry\masonry\builders\builder.py in find_files_to_add() at line 67
   excluded = self.find_excluded_files()
 c:\users\rgilmore\python36\lib\site-packages\poetry\masonry\builders\builder.py in find_excluded_files() at line 44
   vcs = get_vcs(self._path)
 c:\users\rgilmore\python36\lib\site-packages\poetry\vcs\__init__.py in get_vcs() at line 11
   return Git(p)
 c:\users\rgilmore\python36\lib\site-packages\poetry\vcs\git.py in __init__() at line 30
   self._config = GitConfig()
 c:\users\rgilmore\python36\lib\site-packages\poetry\vcs\git.py in __init__() at line 10
   stderr=subprocess.STDOUT
 c:\users\rgilmore\python36\lib\subprocess.py in check_output() at line 336
   **kwargs).stdout
 c:\users\rgilmore\python36\lib\subprocess.py in run() at line 403
   with Popen(*popenargs, **kwargs) as process:
 c:\users\rgilmore\python36\lib\subprocess.py in __init__() at line 707
   restore_signals, start_new_session)
 c:\users\rgilmore\python36\lib\subprocess.py in _execute_child() at line 990
   startupinfo)

build [-f|--format FORMAT]

After following this guide:
https://stackoverflow.com/a/26180050/7351746
...And issuing the same command, I successfully built my project.


Add random sort

Please describe the problem you're trying to solve
I'd like to be able to list the file in random order. This is useful when browsing a large library folder without specific target.
Would you be willing to contribute this feature?

[ ] Yes, I'll give it a shot

Describe the solution you'd like
List file and folder in randomize order. Remember the randomize order within session.
Additional context
No response

Sounds good to me, anyone want to give it a go?
We need to add a new SortBy::Random sorting type here:
https://github.com/sxyazi/yazi/blob/f5598ebb8adf13b78e24b9456c9ae32605687817/yazi-core/src/folder/sorter.rs#L33-L38
And generate a random number for sorting purposes, almost like what SortBy::Modified does but not involve any file metadata just a random factor

Hi I've been using yazi for a long time, and wishing to contribute. I would like to have a try

Nice, thank you! @zooeywm

Added in #1291, thanks for review ; )

Done in https://github.com/sxyazi/yazi/pull/1291, thanks!


Is it intentional that function signatures don't include generic constraints?

Search terms
function signature, generic constraints, extends
Question
I recently updated to 0.24.1 and noticed this:

I only read the function signature at first and wondered how T["parent"] is valid TS. After all, T could be any type, so there might not be a parent field. Only after looking at the Type Parameters section did I see the constraint.
So I wanted to ask whether this was intentional.
I can see the appeal of saving precious screen space, but generic constraints can be necessary for the signature to make sense.

This is intentional, I'm not sure how much I agree with it though, it was a decision made before I started maintaining typedoc... could argue that if that type is omitted, shouldn't parameters be as well?

I just thought that this might be a problem for function overloads. What if 2 functions overloads most meaningfully differ in constraints of their type parameters? Example:
function foo<T extends string>(arg: T): `${T}!`;
function foo<T extends number>(arg: T): T;
function foo(arg: string | number): string | number {
	if (typeof arg === "number") {
		return arg
	}
	return arg + "!"
}

const a = foo("abc") // type: "abc!"
const b = foo(42)    // type: 42

If typedoc only displays the following, then it'll be quite confusing to readers.
foo<T>(arg: T): `${T}!`
foo<T>(arg: T): T

Of course, those are edge cases. I don't know whether making them unambiguous is worth the screen space. The type of constraints might be quite long, and signatures can get very long even without them.

I should have made --hideParameterTypesInTitle also change this, repurposing this issue to make that change

Thank you @Gerrit0!


Editor not respecting rmarkdown with automatic formatting

Hello,
I'm not sure this isn't a vscode issue rather than vscode-R, but...
When I'm writing an rmarkdown file the text parts experience some automatic formatting. I mean within the editor, not the preview. For example, if I type some text in *italic* then the word "italic" is italicised. But it seems to be using a different flavour of markdown because when I use rmarkdown's subscript (e.g.  if I type this is H~2~O) it puts a strikethrough the 2 as though it's a different markdown (e.g. I see "this is H~2~O"). As far as I can tell the editor knows its an rmarkdown file because all the chunks are syntax highlighted correctly, and the chunk options are present.
Here's a more elaborate example:

I disabled all other markdown extensions so I don't think it's a conflict with one of those, and they don't pick up .Rmd files anyway. Maybe something built into vscode? Everything else in vscode / vscode-r are in default settings (except I'm using radian but I think that's irrelevant).
It's not the end of the world because the knitted document comes out with subscripts correctly, but it can be a bit jarring as you're writing.
Is there a way to either get the editor to respect rmarkdown flavour instead of whatever other flavour it's using, when the file is an .Rmd, or is there a way to turn off this formatting entirely?
Thanks.

OS: Windows 10
VSCode Version: 1.64.2
R Version: 4.1.2
vscode-R version: 2.3.8

I only see the formatting of *hello* but not H~2~O. What if you start vscode with all extensions disabled?

If I turn them all off then I get no formatting at all. I turned back on only this extension and I see the same problem of H~2~O with a strikethrough. Weird!


fix(customPropTypes): itemsShorthand -> collectionShorthand

This prop type checker was renamed in all components, but the customPropType method itself somehow remained with the old name.  Fixes these issues:

Where:
    /** Shorthand array of props for Menu. */
    items: customPropTypes.collectionShorthand,

/cc @jcarbo can you double check me here, am I renaming this in the right direction or should the components have been updated?  From the latest PR comments at https://github.com/Semantic-Org/Semantic-UI-React/pull/618 I think this is correct.

You're right. Not sure how I missed that.

No worries, you and I both ;)


Log Task Executor

In order to launch shell executions and store the result in a log file we have added a new Task Executor to the collection.

In a different PR, we have to set up Travis - it is not configured yet


Final cherry pick integration

Summary
This commit finalizes the integration of the cherrypicker code with the new git and GitHub modules. It is now working. Still to do are the mocks and integration tests but the first unit tests are already in.
Ticket Link
Part of: https://mattermost.atlassian.net/browse/DOPS-685

Nits, done. THis will be iterating quite a lot in the next few week :+1:


search selection dropdown calls onChange on blur

I've been getting duplicate onChange callbacks from dropdown and managed to trace it back to at least one reproducible test case:
https://jsfiddle.net/0da7ru98/8/
To reproduce:

Click on the resulting dropdown.
Choose "Male"
Click anywhere else to defocus (e.g. in the HTML area).
Observe how a second "onchange event Male" message gets logged in the console.

I would expect to get only one onChange callback, when the contents has actually been changed.

This is a duplicate and has been fixed in next #1916


link is broken

FYI I noticed that the link 'the-react-way' was broken (404):
http://blog.risingstack.com/the-react-way-getting-started

Here it is: http://blog.risingstack.com/the-react-way-getting-started-tutorial/

thanks, fixed!


kitchen test for centos 66 failing

It looks like Varnish fails to be restarted when using the libraries and vendor repo's on CentOS 6.6. To reproduce, run the following against master:
kitchen test vendor-libraries-centos-66
Trace:
           - enable service service[varnish]

           ================================================================================
           Error executing action `restart` on resource 'service[varnish]'
           ================================================================================

           Mixlib::ShellOut::ShellCommandFailed
           ------------------------------------
           Expected process to exit with [0], but received '1'
           ---- Begin output of /sbin/service varnish restart ----
           STDOUT: Stopping Varnish Cache: [FAILED]
           Starting Varnish Cache: [FAILED]
           STDERR:
           ---- End output of /sbin/service varnish restart ----
           Ran /sbin/service varnish restart returned 1

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/varnish/libraries/varnish_install.rb

            62:         service 'varnish' do
            63:           supports restart: true, reload: true
            64:           action 'nothing'
            65:         end
            66:       end

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/varnish/libraries/varnish_install.rb:62:in `install_varnish'

           service("varnish") do
             action [:nothing]
             updated true
             supports {:restart=>true, :reload=>true, :status=>true}
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             service_name "varnish"
             enabled true
             pattern "varnish"
             declared_type :service
             cookbook_name "install_varnish"
           end

         * service[varnish] action restart

           ================================================================================
           Error executing action `restart` on resource 'service[varnish]'
           ================================================================================

           Mixlib::ShellOut::ShellCommandFailed
           ------------------------------------
           Expected process to exit with [0], but received '1'
           ---- Begin output of /sbin/service varnish restart ----
           STDOUT: Stopping Varnish Cache: [FAILED]
           Starting Varnish Cache: [FAILED]
           STDERR:
           ---- End output of /sbin/service varnish restart ----
           Ran /sbin/service varnish restart returned 1

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/varnish/libraries/varnish_install.rb

            62:         service 'varnish' do
            63:           supports restart: true, reload: true
            64:           action 'nothing'
            65:         end
            66:       end

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/varnish/libraries/varnish_install.rb:62:in `install_varnish'

           service("varnish") do
             action [:nothing]
             updated true
             supports {:restart=>true, :reload=>true, :status=>true}
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             service_name "varnish"
             enabled true
             pattern "varnish"
             declared_type :service
             cookbook_name "install_varnish"
           end

         * service[varnish] action reload (up to date)

           - restart service service[varnishlog]
         * service[varnishncsa] action restart
           - restart service service[varnishncsa]

       Running handlers:
       [2015-09-04T20:06:50+00:00] ERROR: Running exception handlers
       Running handlers complete
       [2015-09-04T20:06:50+00:00] ERROR: Exception handlers complete
       Chef Client failed. 27 resources updated in<PHONE_NUMBER>97 seconds
       [2015-09-04T20:06:50+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       [2015-09-04T20:06:50+00:00] ERROR: Chef::Exceptions::MultipleFailures
       [2015-09-04T20:06:50+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
>>>>>> Converge failed on instance <vendor-libraries-centos-66>.
>>>>>> Please see .kitchen/logs/vendor-libraries-centos-66.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sh -c '

sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889
']
>>>>>> ----------------------

This should be fixed using #83 and #86. I just retested in vagrant and rackspace, and it passed. I'm going to mark this closed/fixed.


More reasons (and discussion links) added

More reasons (and discussion links) added to the things we do and don't tolerate.

Are the failing checks a problem?!

@pa9ey no worries about the CI issues, I'll fix them a bit later. Thanks!


@this results in a DASM dump

Is @this a valid construct in xcbasic3? Code like this...
type test_type
	x as int
	y as int

	sub set(x as int, y as int)
		this.x=x:this.y=y
	end sub

	function equals as byte(tt as test_type)
		if @this = @tt then
			print "this ";0;" = ";@tt;"!"
			return 1
		end if
		return 0
	end function
end type

dim t1 as test_type:call t1.set(cint(0),cint(0))
dim t2 as test_type:call t2.set(cint(1),cint(1))

print "t1=t2:";t1.equals(t2)

t1=t2

print "t1=t2:";t1.equals(t2)

...gives me a DASM dump:
** ERROR ** There has been an error while trying to execute DASM, please see the bellow message.
Tried to execute: "dasm.exe" "C:\Users\chris\AppData\Local\Temp\xcbtmp_E3DEC93.asm" -o"test_equals3k.prg" -sC:\Users\chris\AppData\Local\Temp\xcbtmp_E3DEC93.sym
--- Unresolved Symbol List
I_STRREAD_IMPORTED       0000 ????         (R )
I_BINREAD_IMPORTED       0000 ????         (R )
I_LTOF_IMPORTED          0000 ????         (R )
...
I_STRWRITE_IMPORTED      0000 ????         (R )
I_RND_IMPORTED           0000 ????         (R )
--- 49 Unresolved Symbols

Fixed now.
Although, I think your code will not do what you expect it to do.
Function parameters are always passed by value (rather than by reference). This means that @tt will return the address of a local variable (an address on the function stack) rather than the address of what was given during the function call.


TILA-1054: Use a Duration scalar for duration fields

This PR changes the GraphQL types for mutations and queries so that duration fields will use a new Duration scalar type instead of String for mutations and Float for query responses in the GraphQL schema.
After these changes, durations like bufferTimeBefore and minDuration should be set as integers in mutations:
mutation {
  updateReservationUnit(input: {
    pk: 1
    bufferTimeBefore: 900
    maxReservationDuration: 1800
  }) {
    bufferTimeBefore
    maxReservationDuration
  }
}

Response:
{
  "data": {
    "updateReservationUnit": {
      "bufferTimeBefore": 900,
      "maxReservationDuration": 1800
    }
  }
}

Queries will also return integers:
{
  reservationUnits {
    edges {
      node {
        bufferTimeBefore
        maxReservationDuration
      }
    }
  }
}

Response:
{
  "data": {
    "reservationUnits": {
      "edges": [
        {
          "node": {
            "bufferTimeBefore": 900,
            "maxReservationDuration": 1800
          }
        }
      ]
    }
  }
}

The schema will change like this:

There will be a new scalar called Duration:

Acts like Int
Represents a duration in seconds
Accepts integer values parseable as timedelta(seconds=<value>)

Reservations:

Queries:

bufferTimeBefore: Float → Duration
bufferTimeAfter: Float → Duration

Mutations:

bufferTimeBefore: String → Duration
bufferTimeAfter: String → Duration

Resources:

Queries:

bufferTimeBefore: Float → Duration
bufferTimeAfter: Float → Duration

Mutations:

bufferTimeBefore: String → Duration
bufferTimeAfter: String → Duration

Reservation units:

Queries:

maxReservationDuration: Time → Duration
minReservationDuration: Time → Duration
bufferTimeBefore: Time → Duration
bufferTimeAfter: Time → Duration

Mutations:

maxReservationDuration: String → Duration
minReservationDuration: String → Duration
bufferTimeBefore: String → Duration
bufferTimeAfter: String → Duration

Let's wait UI before merging this.


[zh] sync /debug-application/debug-pods.md

Sync with en text:
content/zh-cn/docs/tasks/debug/debug-application/debug-pods.md

See preview please.

Thanks.
/lgtm
/approve


Completion items ordering fine tuning

Completion items with more words in them, should come later in the ordering.
For example:
"count_disntict" should come after "count".
Changing sortText value with affects the initial ordering of the results.

@yambtz please take a look. I'd like to discuss if we can try to add some unit tests here.


Upgraded Docs site

Uses Tabs instead of an App Bar, cleaned up code and implemented new Inkbar color.

@hai-cea Updated the home logo's size in the left hand corner of the app-bar. Let me know if you think the positioning and size are ok.

Thanks @Zadielerick !


NodeAgentService instance stops during uncertain time

Hello!
I have a standalone cluster with some microservices and have the POA installed so that it makes my life easier and does the Windows Updates monthly for me.
What I figure out was that for some reason, some instances of NodeAgentService just stop for an indefinite time, and this month I noticed that only half of the Repair Jobs were created.
Does someone have any idea of what happened?

Hi @joaofpereira which version of POA are you using ? Can you try the latest one ?
NodeAgentService is a Windows NT service which is supposed to run on all nodes, at all times. Can you check your eventvwr traces to check if there were any errors ? Also, if you can share POA parameters and node count on which this is deployed.


create squash service account

it needs the ability to create pods, granting this ability to squash must not grant the ability to all other default service accounts
https://github.com/solo-io/squash/blob/master/pkg/install/agent.go#L126

this has been implemented


Tensorflow lite c++ shared library build steps.

Hi ,
I like to know steps to build shared/static  c++ tensorflow lite library+ headers WITHOUT JNI for Android armeabi-v7a/arm64-v8a.
I search for this problem through all issues here , found couple relevant topics but all of them without complete answer.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Ubuntu 16
TensorFlow installed from (source or binary):
Source
TensorFlow version (use command below):
Master
Python version:
2.7
Bazel version (if compiling from source):
0.10.1
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
None
GPU model and memory:
None

Thanks

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Exact command to reproduce

updated

@dimitryn any news on this?

add this to BUILD file in contrib/lite
cc_binary(
name = "libtensorflowLite.so",

linkopts=["-shared", "-Wl"],
linkshared=1,
copts = tflite_copts(),
deps = [
    ":framework",
],

)

bazel build  //tensorflow/contrib/lite:libtensorflowLite.so --crosstool_top=//external:android/crosstool --cpu=arm64-v8a --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --cxxopt="-std=c++11"

Is this still functional for Tensorflow 2.2.0?


Update arf.json

Remove

DeepDotWeb (RIP)
https://dnstats.net/ (RIP)
/r/darknetmarkets (Suspended by reddit admins)

Add

/r/darknet
/r/onions

Tor Search.
Add the following popular .onion search engines.

Candle
Not Evil
Dark.fail
Tor66

Thanks for the suggestions!


Test on OSX and Windows

I think we should keep tutorials accessible from all the three systems.

Yup, travis support all of them now I think. The only downside is that builds usually take forever on windows and osx

Maybe we restrict windows and OSX to a single julia version?

Yes agreed, the 1.0? since this is the LTS that we are more likely to break

1.0 sounds good

Closing because I'm going to archive this repository.


add proxy support to REST and Streaming clients

@sferik this is pending some testing (see #639), but assuming all goes well, this should be good to merge. Thankfully, it was fairly easy to add support in both places.
Note: I needed to disable rubocop's ClassLength check on Twitter::REST::Request. I hope that's ok. I tried reducing by using ternary operators in a few places (which I typically don't like to do), but couldn't squeeze it down to <100. It seems like there could be an opportunity to reduce the number of lines once http.rb supports multipart requests.

Awesome work on this, Steve. It appears the tests failed because YARD documentation coverage went down. Specifically, the Twitter::REST::Request methods http_client, net_http_client, and proxy don’t have any inline documentation. Are these all supposed to be public methods? The tests don’t seem to consume any of them directly. Please either mark them as private or add documentation and I will merge after testing is complete.

Coverage increased (+0.35%) to 99.63% when pulling 58475bd50757c34b4a2c9dcd95290735fb8e96be on proxy-support into 2d4aca61efba5ed9cf370e83f91e5b28f6f939bf on master.

:+1:

@sferik wow, I waited and waited for the build to run on Travis. The methods were private but I think the number of lines tipped the doc coverage ratio so I just added docs to get the build passing. I also updated the configuration example to mention the proxy config.
Btw, what are the blockers on doing multipart requests with http.rb?

@stve Since https://github.com/httprb/http.rb/pull/167 has been merged and released, there are no remaining blockers for making multipart requests with http.rb. I just need to get around to implementing it in.

@stve :boom: https://github.com/sferik/twitter/commit/115e80010962c56172acc7bc1b6d6670ba90a769. That hardly took any time to implement. Very nice job by @ixti on the form_data.rb interface (however, I found some errors in the documentation).
That said, the twitter v6 release is still blocked by https://github.com/httprb/http.rb/issues/121.

@sferik :metal: I was looking at that last night, figured I'd work on it after we merged this but you beat me to the punch :smile_cat:
I'll rebase this branch as it was based off multipart requests being sent via Net::HTTP

@stve You may need to rebase again. I just updated it to use the http-form_data gem, which is the new name for the form_data gem.

:ok_hand: rebased, good to go

@stve FYI, v6 is no longer blocked by https://github.com/httprb/http.rb/issues/121, which was resolved in https://github.com/httprb/http.rb/pull/184. Now it’s just blocked by a http 0.8.0 gem release, which is currently scheduled for April 1.

@sferik ok, looks like i might become the blocker on v6 then :grin: The last few weeks have been tough on me but i'll try to pick this back up to get through the remaining items.
Do you still want to consider switching the objects to use Values or virtus as we discussed in #651? I recently built out an API client for an internal API we have and Virtus worked out better than Values in that case. In particular, it's value object support was top notch. While they didn't fit my use-case, custom coercions are a nice feature too. I think this would add a lot of clarity to the top-level Twitter response objects. While I'd :heart: to focus on that, i'll keep at the streaming changes, just food for thought.

:+1: for using Virtus. You should feel welcome to work on that instead of streaming, if you prefer. There’s no big rush to ship v6. As I discussed here, there may even be some advantages to waiting (e.g. the ability to drop Ruby 1.9.3 support without losing JRuby users). The milestone has no due date. It should ship when it’s ready. There are lots of exciting features left to work on (streaming improvements, GZip compression, Ads API, TON, etc.) I suppose at some point, people will start demanding a release but, as long as tests remain passing on the master branch, the most eager users can live on the edge.

I've just tried this branch and I'm receiving error Unknown MIME type: text/html on line client.search("foo").take(1).collect do |tweet| when using a proxy. Has anyone else experienced this issue?

@56yards That sounds like an issue with your proxy server not passing through the correct Content-Type from the source. Another possibility is that your proxy is inserting some sort of HTML interstitial into your request (e.g. a page where you must click “I agree” before it lets you make any further requests). Can you please try making the same request via twurl and include the full response body?

Weighing in here, this branch needs to move its HTTP dependency to > 0.8.4 to fully test. That release included a pull request adding HTTPS proxy support. https://github.com/httprb/http.rb/pull/186
As Twitter requires you to connect via HTTPS without this pull request the client isn't sending the correct request to the proxy (hence the error mentioned by @56yards).
Essentially when you're connecting via a Proxy to an HTTPS end point the client needs to issue a CONNECT request first rather than a standard GET which was only introduced in v0.8.4.

I just rebased this branch against master, so it should have picked up the http ~> 0.8.4 dependency. Please test branch this again? If it’s working, I think we can merge it into master. :smile:

Right now the search method returns  "HTTP::Error: Unknown MIME type: text/html"

I'm seeing the same error using one of our proxies but I believe its an issue with the underlying HTTP gem.
If you try running this from irb  (using an anonymous, free HTTP proxy taken from http://proxylist.hidemyass.com/search-1297445#listable)
HTTP.via("<IP_ADDRESS>", 8080).get("https://www.google.com/")

Then it just hangs forever.
Running the same thing from curl on the command line works instantly:
curl --proxy http://<IP_ADDRESS>:8080 -k https://www.google.co.uk/

I'll file an issue over on the http repo and see what they come back with.

HTTP have fixed their bug and released as 0.8.8. Can you update the dependency on this branch and then I'll test?

The dependency on the branch should be good. Just be sure to bundle update before you test it.

Hmm. I'm still getting the same error.

I've verified this works for me now so am happy to sign off on it.
Jay - I think something might still be off with your dependencies but we'll work through that offline.

Thanks everyone!


Discord bot issue thread

Twitter scraper status: OK
Database status: OK
Custom embed modules: OK
Discord bot status: commands OK; an issue emerged after several reminders - hourly reminder discord thread terminated without user's prompt.

Consider ctx,  async / asyncio, await inspection.
TBA in ver. 1.1.
Issued by @michalspano

Possible solution(s) to the issued thread

sleep module instance issue in a looped thread
bot.run(TOKEN) client instance multi-threading issue threading
Inefficient 'googleapi' read module (optional)

Possible solution(s) to the issued thread

sleep module instance issue in a looped thread
bot.run(TOKEN) client instance multi-threading issue link
Inefficient 'googleapi' read module (optional)

Possible solution(s) to the issued thread

sleep module instance issue in a looped thread
bot.run(TOKEN) client instance multi-threading issue link
Inefficient googleapi read module (optional)

Initial fix (custom query): a790b8e0b505e0190137ec6fabb6b5e24ae4b831

Testing period: 3-5 days
Docs

Fixed (preparation for ver. 1.1): 776e8d8a4f9779ce4a1ee9e4a81140b1122ca85f
Note: issue shall be reopened in case new issues emerge.
Closed temporarily by @michalspano


qx serve or qx compile --watch failes with ENOSPC nodejs error

Running 'qx compile --watch' ...
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: watch /home/scu/qooxdoo-sdk/framework/source/resource/qx/icon/Oxygen/48/actions/application-exit.png ENOSPC
    at _errnoException (util.js:1024:11)
    at FSWatcher.start (fs.js:1374:19)
    at Object.fs.watch (fs.js:1400:11)
    at createFsWatchInstance (/home/scu/node_modules/chokidar/lib/nodefs-handler.js:37:15)
    at setFsWatchListener (/home/scu/node_modules/chokidar/lib/nodefs-handler.js:80:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/home/scu/node_modules/chokidar/lib/nodefs-handler.js:228:14)
    at FSWatcher.NodeFsHandler._handleFile (/home/scu/node_modules/chokidar/lib/nodefs-handler.js:255:21)
    at FSWatcher.<anonymous> (/home/scu/node_modules/chokidar/lib/nodefs-handler.js:473:21)
    at FSReqWrap.oncomplete (fs.js:153:5)
'

Configuration
Description:	Ubuntu 18.04 LTS
Release:	18.04
Codename:	bionic
node v8.11.3
npm 6.1.0
qooxdoo-compiler: v0.2.13
qooxdoo-sdk : 6.0.0-alpha
Workaround
Seems to be related with the fact that the limits of files to watch reached a limit and not the lack of disk space. Here and explanation of technical details. This command set a new limit and made it permanent:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

I wonder if there is a way to handle this better so it does not require increasing the max_user_watches or at least produce a error message that would point you to the actual issue.

@johnspackman How should this be handled?

@pcrespov is correct - the user has to enter the command to increase fs.inotify.max_user_watches above it's paltry default.  I'll trap the message and give a proper warning


Clicking "continue" from interactive tutorial creates pop-up warning about leaving the page

Which scenario do you see this on?

All of them.  Steps to reproduce:
https://containersolutions.github.io/kubernetes-bootcamp/1-2.html
On a Chrome browser:

Go to the interactive tutorial
Click minikube version
Click Module 1 quiz
Pop comes up asking if you want to leave the page

Also, after clicking this, I get a page where my only action is to click 'begin'.  I would expect to be taken straight into the quiz.

@craigbox that's the agreed workflow/design: that you shouldn't jump directly into the quiz, but have an intermediate screen.

@pwittrock This is by design. It's to stop users mid-way from accidentally closing the tab. I'll let @jocatalin decide if it should be disabled or not.

@pwittrock re. the jumping into the quiz - what purpose is the intermediate screen supposed to serve?  It could be enhanced by adding some text and/or having a "Skip" button?
(I was further surprised there was only one question in the quiz)

Looks like if you move past the last step (click the arrow after "Step X of X") to the "Congrats" screen, you don't get the popup.
Is there a way to add a "Continue" button to the last step that moves to the "Congrats" screen? This could solve this issue, however #22 would be a bigger issue

@craigbox I created a separate issue for your comment #25

There's no longer a quiz.
/close


Color Override not applied

The updater is working great, however I cannot get the colorOverrrides.css to be properly integrated.  internal_UUIDs.txt, userChrome_customization.css, and userContent_customization.css are being properly, so it is not an issue where the updater cannot find the customization files.  I only have the following in my colorOverrides.css but when running the updater it used the default color.
--grey-70: #333333;

--grey-70 is actually a variable set by Firefox.  If you want to override that one, you'll have to append !important:
--grey-70: #333333 !important;
I tested this and it seems to works, but I would recommend altering the tone values instead.  See the example here:
https://github.com/overdodactyl/ShadowFox/wiki/Customization

I am able to set --grey-70: #333333; manually within userChrome and userContent and it has the desired effect.
I guess I'm a little confused on how the updater modifies userChrome and userContent.  I was assuming (and maybe incorrectly) that the updater downloads the latest version of userChrome.css and userContent.css form your GitHub repo and then basically does a find/replace of the variables in the first 128 lines and replaces it with what the user has in colorOverrides.css.
Looking at it further it looks like it is adding the user-defined colors to the bottom of the list rather than replacing what is already in the list.  I'm wondering if this will cause an issue since the the --tone variables are set before you reach the end of the list where the user colors are added.  Regardless I'm wondering how the css will handle the variable being set to two different values.
As for the caveat you mentioned, that sounds like a very specific case that I hadn't thought of.

CSS will always pick the rule at the bottom if a rule is duplicated, so by inserting the custom colors at the bottom it works correctly.

Thanks for clarifying.  I've been able to confirm that the color changes I've made are working correctly.
The only other thing I've noticed is that the following code needs to be added to userChrome.css unless it was purposefully left out.
@-moz-document url-prefix(chrome://){ window{     background-color: var(--in-content-page-background)!important;     color: var(--in-content-page-color)!important } }

Glad it's working for you!

The only other thing I've noticed is that the following code needs to be added to userChrome.css unless it was purposefully left out...

What would this style that's not currently?

It styles the header of the window background as you can see in the attached screenshots.  The only way I can get the window to be dark is if I add that code to the userChrome_customization.css file.

Thanks for the screenshots - do you have the default dark theme selected?
The default one should style that, but maybe your OS theme or somethings is overriding it?

Thanks for the screenshots - do you have the default dark theme selected?
The default one should style that, but maybe your OS theme or somethings is overriding it?

Yes, I have the dark theme applied within Firefox.
As far as OS theming, I have the default Windows 7 theme applied and unfortunately I cannot change it from the standard ones built into Windows because I do not have Admin rights to the computer to be able to modify the dll's to be able to use custom themes.

I've moved the issue over to https://github.com/overdodactyl/ShadowFox/issues/198.
I think it's fixed, so feel free to close that one or let me know if it doesn't work :)


Feature: Chrome and Edge plugins

What is the problem this feature will solve?
Chrome and Edge plugins It can be achieved by directly clicking the button to jump to the Github repository or creating an application directly
If you have solution，please describe it
No response
What alternatives have you considered?
No response

Chrome and Edge plugins：This can be added with a one click deployment button in the GitHub repository.
import yaml file can easy to Quickly share with others.


Make roc-obj-* utilities PATH insensitive

These utilities (when calling one another) expect that all of them are on the PATH. This is problematic if the user doesn't add /opt/rocm/bin to the PATH (as the APT packages don't by default) and is also problematic in multi-version scenarios.
Please make them PATH insensitive.

@david-salinas, @kzhuravl, @MathiasMagnus, has the issue been fixed?  If fixed, can we close this ticket?  Thanks.

There have been no changes for this issue.  But I'd like to discuss it.  @MathiasMagnus do you have an example situation/case that demonstrates the issue you're experiencing?  I just want to make sure I understand the issue clearly.
Of the three tools, really only "roc-obj" calls the other two (roc-obj-ls and roc-obj-extract).  And looking at the function/routine code here: https://github.com/ROCm/clr/blob/8ff39a54fc790454b95b325eb2d9cdfa06ba7968/hipamd/bin/roc-obj#L136  the tool should be using HIP_CLANG_PATH (if set) as a basis for its search first.  And this env var will usually be set based on the current location of the script/tool being called.

Closing the ticket as it is stale.


Some applications display the latest version incorrectly

As shown below, an update is prompted within the application, but the CLI still shows the current version as the latest.

I don't know if this is an issue with "homebrew-cask-upgrade" or if some applications are not uploading the latest version to the website

By the way, what does "A / U" mean? I don't see the relevant documentation.

Is it an auto-update?
If "Y" is displayed, the application will ask you if you want to upgrade while the application is running.

Am I getting this right?

Hello @liby , thank you for letting us know. The version update is a manual process in Homebrew Cask repo, therefore it is updated hours (sometimes days) after the new version is released. Is it not something we can do here 🙂
Regarding the A / U column, that means Auto-Update and indicates if that application has auto-update capabilities. You can also see the [  PASS  ] result on those apps -> if you would like to update them, you need to add -a or --all parameter to the command (brew cu -a).
Hope that answers your questions 🙂

Thank you for your concise, understandable and timely reply.
One last question before we close. I hope you can answer me.
The user himself clicks the upgrade within the application, can homebrew-cask-upgrade gets the version number of the program after it has been updated, and it shows up in [ Pass ] result.
Have you considered supporting this feature?


How to get pre-trained model and annotation db_file for mouse mm39 ?

You only provided them for human hg38 https://github.com/christear/APAIQ_release/issues/5
Thanks.

Sorry for the late reply. Based on what we have tested, there is no obvious difference between using the model trained from mouse data and using the model trained from the human data. We will add the function for training the customized model in the updated version. For the db_file, we united the annotation from GENCODE and PAS from polyA_db. I will also update a db_file for mice (mm10) and you might use 'liftOver' to convert it to mm39.

OK.


Views should be handled like tables

CREATE VIEW some_view AS ...

should give you the same IDE benefits of declaring a table (autocomplete, refactoring, etc.)
Ideally we resolve the query after the AS and learn about the columns it shows too. Somewhat related to #36

Do you also plan to handle views like tables in regards to generated code? So that instead of just having the create statement we'll get an interface containing VIEW_NAME and the column names? I know that there is #36 but that wouldn't include those two.

the only planned support at the moment is the generated mappers issue you linked. I'm curious though, when would the table name/column names come in handy for a view?

I've done a quick check and haven't found a spot where I'd use them after query mappers exist. I'll check again after you add them, so ignore my request for now :)


Iam changes deploying on cloud

Supporting IAM authentication while deploying on cloud

@dalmago just that fix won't fix the IAM issue. The way the token was used before has to changed too.  I have changes that fixes all of these in earlier PR #22 . You can check it out.

I've seen PR #22, but those just change when running the application locally. Don't you have to change also inside the if 'VCAP_SERVICES' in os.environ:?
Besides, this PR is to the branch iam-changes, which also includes PR #22 already.

I merged #22 and deleted the base branch there, which apparently deleted the branch here as a side-effect. @sanjeevghimire didn't see your last message. Going to try to revive this!

@dalmago LGTM and merging. I didn't realize this was for vcap when pushing to ibm cloud


Improve exporters documentation

I can't seem to find any documentation from devos side of things on these exporters - the only docs there are part of the code - I think usage example should be added and double-checking formatting is kinda needed (there are some weird comment indentations)
@blaggacao @Pacman99 - Does devos have some docs on this that I could steal that I have not noticed? (Of course in nice, legal, MIT manner :D )
If not - It would be great if you guys could take care of it since you guys built em
Also, there might be a bug (or maybe a missing feature) with fromOverlays exporter. Need to do some investigation. Not related to this issue

Currently in devos docs, we just explain the fact that your overlays and packages get exported by default. In pretty much all of the outputs docs we explain how things get exported.
And it makes much more sense to include usage examples in this repo. I think the 'how it works" info is already pretty well explained in the code. The weird comment indentations from me were because of nixpkgs-fmt flattening out all comments to one indent.
I can add some more comments and explanations on how to use them in https://github.com/gytis-ivaskevicius/flake-utils-plus/blob/staging/examples/exporters/flake.nix.
I don't mind adding a doc file for them or adding a section to the README, but that might be a bit of an overkill. The exporters are pretty simple to use, each just has one or two arguments and try their best to export as many things as possible.


Broken autolink when - (dash) used in the title

Autolinking generates wrong TOC when dash (- ) used in the title.
How can the issue be reproduced
# One title

# Second - title

What was expected

- [One title](#one-title)
- [Second - title](#second-title)

What actually occurred

- [One title](#one-title)
- [Second - title](#second---title)

What was the version of the involved component
MarkdownTOC v3.0.5 and Sublime 3.2.2 build 3211

Hi @ig-vb
What does the anchored ID look like? does it match the generated autolink with the consecutive  dashes:

or is it different?
Do the links work even though they do not resemble the titles exactly.


Vulnerability roundup 57: libsass-3.5.5: 1 advisory

search, files

[ ] CVE-2018-19797 (nixos-unstable)

Scanned versions: nixos-unstable: 44b02b52ea6. May contain false positives.

There is no new libsass release past 3.5.5.
The only available patch is https://github.com/sass/libsass/pull/2780 and it does not apply to 3.5.5
I have asked upstream for a backport.

nixos-19.09 has libsass-3.6.1 which is not listed as vulnerable in the CVE. Can we close this ticket now?

yes


Changed the value in secret to base64 encoded value.

Signed-off-by: Shubham Kuchhal<EMAIL_ADDRESS>Modified the the values in keda2.2.0 and keda 2.3.0
Fix: #435

Hi @ahmelsayed @jeffhollan @tomkerkhove @zroubalik
PTAL
Thanks!


download file cannot reach 100%

I download file using progress bar:
/* progress bar */
    let bar;
    const totalLength = parseInt(res.headers['content-length'], 10);
    if (this.withProgress && totalLength > 0) {
      const barStyle = 'downloading [:bar] :current/:total :percent';
      bar = new Progress(barStyle, {
        complete: '=',
        incomplete: '-',
        width: 60,
        total: totalLength,
      });
      console.log();
    }
    const ws = fse.createWriteStream(dst);
    res.on('data', (chunk) => {
      ws.write(chunk);
      if (bar) {
        bar.tick(chunk.length);
      }
    });
    res.on('end', () => {
      ws.end();
      if (done) {
        done();
      }
    });

but the progress bar can not reach 100%:

Anyone have idea about this?

This is because I set res.setEncoding('utf8'). So this issue is invalid.:joy:

I had to reduce the renderThrottle value so that the progress bar renders to 100%:
const progressBar = new ProgressBar('-> downloading [:bar] :percent :etas', {
  width: 40,
  complete: '=',
  incomplete: ' ',
  renderThrottle: 1,
  total: parseInt(response.headers['content-length'])
})

Hope that helps if you run into this issue :)


NUTCH-2819 Move spotbugs "installation" directory to avoid that spotbugs is shipped in Nutch runtime

install spotbugs into to ivy/spotbugs-x.x.x/
upgrade to Spotbugs 4.2.0
move task definition into spotbugs target, otherwise running download/installation and bug spotting together fails

added ivy/spotbugs-*/ to .gitignore

added ivy/spotbugs-*/ to .gitignore

+1 LGTM, the build passes and tests passes as well.

+1 LGTM, the build passes and tests passes as well.

+1

+1


Add repository deletion button to Git tool

Similar to the deletion to classes and packages in Coder, Git should have a button for deletion of repositories.
Cheers

And that should have undo or a confirmation, I presume?

As of now, it just has a confirmation button:

If we realize that that isn’t enough, we can definitely iterate on it! Does that sound reasonable?

Now with the option to keep the local copy of the repository!


add handling of split editors which use JBSplitter

Thanks for the PR, ill do a bit of testing over the weekend and get a release out.

@Vektah, just realized that I needed to do the same for un-injection code, which I missed.


fix: [MSSQL] object reassignment when binding is deleted

#185100152
Related PRs:

https://github.com/cloudfoundry/csb-brokerpak-azure/pull/591

I was expecting these tests to fail but they aren't. We should understand why tests are not failing, and implement some which fail, otherwise we can't be sure whether we have fixed the issue or not.
Checklist:

[ ] Have you added Release Notes in the docs repositories?
[x] Have you followed the Conventional Commits specification?

This PR's purpose was to better understand changes in #591
In this PR, first I made the tests fail (which was not easy to do in #591 because there were many changes).
Afterwards, I added the minimum amount of code I could think of to make the tests pass.
During standup we decided that it was worth keeping the original PR #591
introducing any fixes and improvements identified while working in this PR.
Closing this PR.


Sound

Hello sir thank you for the open core update
Describe the bug
There is no sound from built in speaker
To Reproduce
Steps to reproduce the behavior:

Boot macos
Play audio

Expected behavior
I expected to hear sound
Screenshots
N/A
macOS Info:

OS: Monterey
Version 12.0
Laptop Model: T450
Additional context
Add any other context about the problem here.

Have you followed the post install for alc? There's a new alc_fix, try installing it

Was using an external keyboard, didn’t notice mute button was enabled on built in keyboard

Was using an external keyboard, didn’t notice mute button was enabled on built in keyboard

Ok no problem. Are there any other bugs?
Also report back if you loose sound after putting the laptop to sleep for a long time.
I have disabled the codeccommander kext in favor of a new layout id and new alc_fix.

Not that I know if thank you


Is it possible group rx object to with operations like CombineLatest, merge, zip in rx dart?

Hi
I understand that obs is your own rx implementation with some limitations.
Is it possible group obs rx object in operations like CombineLatest, merge, zip in rx dart?
Thank you

You can use .stream transform obs to stream, and .bindStream() transform stream to obs. but if you don't want to distinct the obs value, you can write sth like
final RxBool pause;
final time = 0.obs;

.......
.......
                    Stream<int> s = useMemoized(
                      () => Rx.combineLatest2<int, bool, int>(
                        Stream<int>.periodic(1.seconds, (i) => 1),
                        pause.stream,
                        (a, b) => b ? 0 : a,
                      ),
                    );
                    useEffect(() => s.listen((event) => time.value += event).cancel);
                    return Obx(() => Text('${time.value}'));


⚠ Bofrost.de has degraded performance

In 1a93615, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 969 ms

Resolved: Bofrost.de performance has improved in 08d5618.


Rename snapshot to summarize, inline relevant code to build ISummarizeResult

As outlined here, this PR renames snapshot to summarize and changes the result to output an ISummarizeResult rather than an ITree.
I've added the relevant code from convertToSummaryTreeWithStats() to build the result to facilitate the removal of convertToSummaryTreeWithStats() and convertToSummaryTree(). I'm unsure if this was the desired approach, so please let me know if it wasn't and I can change it.

Realized that I broke some tests with my initial PR so have been looking into them. The remaining failing tests appear to be compatibility tests where summarize() doesn't exist . Do I need to go through the steps outlined here for this change?

Tests fail, because "loads from snapshot" reaches out in the guts of container runtime, and this structure changed over versions.
This test is wrapped with describeFullCompat, which runs it against multiple versions (including previous versions) of runtime, and previous version of runtime does not have summarize() method on blobManager.
I think the right fix here is either

Make this test not depend on internals, and only use public API (unlikely)
move this test out into its own (top-level) describe() section (i.e. not under describeFullCompat). There are probably other ways to make single test to run only latest version of runtime, but I'm not sure


Add the ability to download trained models

So people can actually run custom NLP servers (for privacy / latency) without going through the whole Genie dance.
Note that we do not allow downloading datasets yet. Datasets will be released on a case-by-case basis.
Fixes #432

Pull Request Test Coverage Report for Build 2054

38 of 71 (53.52%)  changed or added relevant lines in 7 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.04%) to 67.492%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

util/fsutils.js
11
13
84.62%

util/local_fs.js
11
14
78.57%

routes/luinet_models.js
10
38
26.32%

Files with Coverage Reduction
New Missed Lines
%

training/job_specs.js
1
89.47%

Totals

Change from base Build 2042:
0.04%

Covered Lines:
6980

Relevant Lines:
9703

💛  - Coveralls


Improve unique identification of Linux, Mac and Windows computers

When reporting security events it is important to accurately identify the associated endpoints. This identification can be more valuable if it enables merging of information referencing the same endpoint from tools produced by different vendors. The OCSF Device object includes a Unique ID  field (device.uid) that can aid in this goal. However, that field lacks specific guidance today so its usage varies among implementors. There are other fields such as network interface identifiers (e.g., IP address, MAC address) and hardware serial numbers. However, they each have drawbacks such as being dynamically assigned, being tied to a removable hardware component, or assigned based on vendor specific schemes. The computer hardware industry does not offer a one-size-fits-all solution for uniquely identifying endpoints. Furthermore, virtual machine which report generated “fake” hardware identifiers further complicates the problem. The OCSF schema should offer event publishers the ability to report more industry-recognized device identifiers. The additional information can then be used to improve endpoint identification accuracy.
Three common identifiers found in Linux, Mac and Windows computers that are worth considering are:

Hardware UUID: This is a device manufacturer assigned universally unique hardware identifier. It is often associated with device's main board. On PC devices it is the System Management BIOS UUID whereas on Mac devices, it is the IOPlatformUUID.
Windows Machine GUID: Machine unique identifier generated by Microsoft Windows during installation. This corresponds to the value stored in the Windows registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid.
Linux Machine ID: Machine unique identifier set on a Linux system during installation or boot. This corresponds to the value stored in the file /etc/machine-id

We can also consider adding a boolean field indicating when the device is known to be a virtual machine. This communicates the hardware identifiers are likely generated and should be treated accordingly. If used in conjunction with the existing Hypervisor (device.hypervisor) field it can aid in correlating telemetry referencing the same virtual machine.

Completed in ff3cdb9


Improved label, updating navigateTo default prams when action type is changed to navigateTo in JS actions

Description
Resolution for Issues with NavigateTo functionality

Changed label to improve clarity that the input can be either page name or external URL
Added default string '{}' to Query Params field since without it if navigation target is selected

Fixes #3125
Type of change

Bug fix (non-breaking change which fixes an issue)

Checklist:

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

Test coverage results :test_tube:
:red_circle: Total coverage has decreased
// Code coverage diff between base branch:release and head branch: fix/3125-adding-default-values-for-navigateTo-action

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
total
54.06 (-0.01)
36.08 (-0.01)
32.57 (0)
54.61 (-0.01)

:red_circle:
app/client/src/components/editorComponents/ActionCreator/Fields.tsx
28.47 (-0.53)
25.53 (-0.56)
7.69 (0)
27.61 (-0.53)

The name would also need a default since now the function is invalid with a default in the second parameter onwards
Should I set the default as Page1? I was thinking of setting it but then felt it was out of place in the rest of the system.

The format of query parameters is wrong. It is "{}" but it should be {}
I tested it with how it is being saved before this. It copied how the system is storing it. Also, I am storing it with single quotes

@hetunandu for the requested changes

Adding hashbang as the default value works as intended
I changed the default value of query params to {} but didn't remove the extra curly braces because they were causing confusion and autocomplete was not working


[Feature Request]: Support additional protocols syntax for Azure imports, e.g. abfss://

Currently importing from Azure Blob storage or ADLS only supports paths using https:// protocol.
However, for many Azure applications, the abfss:// protocol is preferred and has a different syntax (or even wasbs://)
It would be great if it could be possible to use the abfss:// syntax for creating repositories, underlying Azure paths, ot import paths.
Even if lakefs still uses https:// underneath, it would be very convenient to be able to copy-paste an abfss:// path into the import UI or in lakectl and not having to edit it manually, as it's not just changing the protocol prefix, the path syntax is quite different.
Maybe a path translator functionality from abfss:// to https:// could make this work easily.
The only thing I can think of that could give problems is the adls prefix needed for ADLS Gen2 imports, which I think is non-standard Azure syntax and I don't know if that could be explicitly expressed in an abfss:// path

@MigQ2 Thanks for the suggestion. We will definitely look into supporting the abfs[s] scheme.
Please note the wasb was deprecated by Azure - so we are not planning on supporting this scheme.
Regarding the important note you added about the import hint in lakeFS - from the Azure documentation if I understand correctly, this scheme is only available for ADLS Gen2. If that's the case, we can assume that when given this scheme we are always dealing with an ADLS Gen2 account

@ozkatz please prioritize

@talSofer @ozkatz needs prioritization


v2

This PR is for tracking a v1 release of hypercomponent. 🎉
Features include:

Reduced lines of code, and thus code complexity overall.
Revised lifecycle hook naming convention onload -> load and onunload -> unload
Component constructor ensures each new component is backed by a unique instance, meaning calls to hyperHTML.wire now get passed the instance: eg. hyperHTML.wire(this) HT @WebReflection https://github.com/joshgillies/hypercomponent/pull/1#issuecomment-290632662
We use joshgillies/hyperrender under the hood, which abstracts WebReflection/viperHTML enabling server and client side rendering, and offers a unified rendering interface for html and svg components eg:

const svg = component(({ svg }) => svg`<svg></svg>`)
const html = component(({ html }) => html`<div></div>`)

TODO:

[ ] Add tests
[ ] Add examples
[ ] Update docs

Doh, pushed the wrong brach... oh well I guess this is v1-ish *cough* v2 *cough*...

merging, will action TODO's against their respective issues.


Sea level sensor not updating

Hi,
I noticed that the sea level sensor is not updating in Home Assistant.  It updates values on restart / initialisation, but the values that the component update pulls from FMI every 30mins don't seem to make their way all the way to be displayed in Home Assistant, so the sensor remains at the initial values.
I got the updating working by editing sensor.py, so that if the 'update(self)' function for the sea level sensor replaces 'self.mareo_data' with 'self._fmi.mareo_data.sea_levels' then it works, e.g. self._state = self._fmi.mareo_data.sea_levels[0][1]

@TheStork239 Good catch! Looks like self.mareo_data is a local variable that gets its value only at init. If we need to update the sensor data periodically, we should use the coordinator object directly, just like you suggested in your solution. Looks like the other sensors are using it this way already. I have fixed this in master branch and tested it. Looks good. Please try it and let me know. This is the latest release.


support-v4 conversions and extensions are empty

Maybe it's just IntelliJ fooling me, but also when I clone and compile the repo, the generated v4 package objects are empty.

Yeah, result of the missing classes debacle. I'll publish a new version shortly. Thanks.

1.4

Did you publish 1.4 to sonatype? Can't find it.
https://oss.sonatype.org/#nexus-search;quick~scala-conversion

Sorry, I forgot to release it from sonatype staging. It should be available
shortly.
On Tue, Jul 28, 2015 at 1:13 AM, Niklas Klein<EMAIL_ADDRESS>wrote:

Did you publish 1.4 to sonatype? Can't find it.
https://oss.sonatype.org/#nexus-search;quick~scala-conversion
—
Reply to this email directly or view it on GitHub
https://github.com/pfn/android-conversions/issues/3#issuecomment-125494036
.


Support auto SSO

Hello! I am added new argument data-auto-sso for disable popup login block (auto redirect) if you are using only SSO method authentication.
Demo:
https://user-images.githubusercontent.com/9078504/115989833-ee995300-a5c8-11eb-9c53-a02fdd70fb2a.mp4

I think argument probably useless, what do u think?

@r3ap3r2004 glad to hear :)

Hey, sorry for the delay in getting back to you! This is a great idea; the current commits in this pull request have a lot of additional unneccessary changes so I have integrated the key lines into the latest commit at aa0bf77 :)


Support user-specified aliases for dependencies

This allows the dependency list passed to the Injector to have two parts:

Regular container identifiers, as per the existing behaviour (e.g. "namespace.one", "namespace.two")
Followed by a hash of aliases and their full identifiers (e.g. "namespace.one", special_alias: "namespace.two")

This makes the auto-inject support much more flexible, since equally named dependencies from different namespaces (e.g. "somewhere.one" and "somewhere_else.one") can now be more easily used. It also gives the user the option to give their dependencies more meaningful names for use in the class’s local context.

@jeremyf I noticed you worked on this in #3 too, so I'd love your feedback here. Does this approach cover everything you need?

@timriley first of all, just started converting a small piece of code based on your excellent article effective-ruby-dependency-injection-at-scale and so far it has been a real breath of fresh air.. great work.
One of the things you mention is that fact lib/articles/validate_article.rb can be resolved with articles.validate_article am I right in thinking we need this pull request to allow us to do this:
include AutoInject.hash[ foo_bar: "foo.bar" ]

def call
   foo_bar.call
end

Otherwise I have to result to the following:
include AutoInject.hash["foo.bar" ]

def call
  container.resolve('foo.bar')
end

Hi @DangerDawson, great to hear you're giving these techniques a go!
Your understanding of is PR is exactly right: it will allow you to pass a hash as the final argument to the injector so you can provide your own custom local names for each of the dependencies.
As for your last two code snippets, they're actually a bit off. The existing behavior of dry-auto_inject is to make the dependencies available based on the last section of any dot-separated name. So, if you include AutoInject.hash["foo.bar"], then hat dependency will be available in your object as bar. Let me know if that all makes sense.
BTW, this PR is functional, so you can feel free to give it a try. I just need to make a few cleanup  sand get CI passing again before I can merge.

@timriley thanks for your quick reply
One other alternative, although you have probably dismissed this for very good reasons is to setup proxy objects based on the namespace e.g.include AutoInject.hash["foo.bar"] foo.bar.call


Emmet Extension to Brackets on Ubuntu 18.04 LTS

Dear all,
I have an Ubuntu 18.04 LTS server and I am trying to install the Emmet extension for Brackets.
I am doing the following in Brackets:
File -> Extension Manager...-> Install from URL
I copied the URL
and Install button
The installation is successful, but after restarting Brackets, the main menu bar does not show the tab Emmet.
Any help on that will be very appreciated
Kind regards

The URL: https://github.com/emmetio/brackets-emmet/archive/master.zip

@indeOWS Even after the successful installation, it doesn't show or work in Brackets ? Please help.