Fastboot, Sideload, and Flashing ROMs

Read also #36 and the official document

The Sophisticated Three-"System" Device
Informally, one can treat an Android devices as a three-"system" device, i.e., the bootloader, the recovery, and the normal Android system

bootloader: bootloader is the first "system" that typically presents to ROM users, and is the loader program which helps to load recovery or Android; it is mainly responsible for managing all data and bootable partitions on the device, e.g., flash a new partition, flash a new recovery, etc. And one can use adb reboot bootloader to boot into it (on some devices, one can hold volume up + volume down + power  to boot into it)

for bootloader to function normally, one need to unlock it firstly by
(1) in developer options, check the "OEM lock"
(2) boot into bootloader via abd reboot bootloader
(3) after bootloader is started, use fastboot flashing unlock to unlock the bootloader (or fastboot oem unlock for old devices)
(4) after (3), if one see the "Device Status" becomes "unlocked", it succeeded;
but note,
(1) the first time one unlocks the bootloader, everything on data partition will be wiped
(2) not all bootloaders can be unlocked, some OEM (e.g., MeiZu) locks their bootloader and forbit anyone from unlocking

recovery: recovery is the second "system" that typically presents to ROM users, and is the program which is responsible to backup/recover data, or renew/reinstall an Android ROM (see #51 for more information); one can use adb reboot recovery to boot into it, or firstly boot into bootloader, then ask bootloader to load recovery (on some devices, one can hold volume down + power  to boot into it)

users who like to play devices often replace the default recovery to TWRP or LineageOS Recovery

Android: this is the last and actual system that present to normal users, providing all kinds of functionalities; it presents to user because the bootloader by default load it instead of recovery

users who like to play devices often install new ROMs to replace the original OEM ROM, e.g., LineageOS

Normally, the device boots into the Android system either when use the power button or type adb reboot. However, one can also reboot into the other two systems:

bootloader: adb reboot bootloader
recovery: adb reboot recovery
Android: adb reboot

In real world, the partitions and booting sequences of Android is much more complicate than aforementioned. Read also #36 and Android booting shenanigans for further information.
fastboot, sideload
fastboot
fastboot is a protocol and tool that is used to interact with bootloader via USB cable; it can do anything that bootloader allows, e.g., lock/unlock bootloader, erase/format/flash partitions, boot from a ramdisk (see #52 to know more about image disks), etc. So the device need to reboot to bootloader first (someone also use the term "reboot into fastboot mode").

to list all bootloader devices (-l list the device paths)

$ fastboot devices -l

Note, this command shows nothing when you haven't rebooted into fastboot mode. All following commands also wait for a device to reboot into bootloader before do anything.

to lock/unlock bootloader

$ fastboot flashing lock
$ fastboot flashing unlock

# for old devices
$ fastboot oem lock
$ fastboot oem unlock

to erase, format a partition

# PARTITION can be boot, data, cache, ...
$ fastboot erase PARTITION
$ fastboot format[:FS_TYPE[:SIZE]]

to flash new images to a partition

# PARTITION can be boot, and RAMDISK can be for example
$ fastboot flash PARTITION RAMDISK

Typically on A/B update devices (see #51), flash new images to boot send the images to boot_b slot, the following is the output of fastboot flash boot lineage-17.1-20200602-recovery-fajita.img on OnePlus6T
$ fastboot flash boot lineage-17.1-20200602-recovery-fajita.img
Sending 'boot_b' (65536 KB)                        OKAY [  1.820s]
Writing 'boot_b'                                   OKAY [  0.288s]
Finished. Total time: 2.116s

to boot from a ramdisk

# RAMDISK can be any ramdisk made, e.g., twrp recovery ramdisk
$ fastboot boot RAMDISK

sideload
Sideloading is a mechanism of recovery that makes it easy to manually install a new ROM.zip to the device from PC instead of via the over-the-air system or SD card. This mechanism is by default disabled, and can be enabled in recovery (but disabled immediately the ROM is sideloaded)
Also sideload is a subcommand of adb, but a separate mode of adb, note:

sideload works only by USB cable
when such mode is enabled from recovery, common adb commands (logcat, reboot, shell, push, pull) don't work

To use sideload, one have to
(1) boot to recovery via adb reboot recovery
(2) in recovery, enable adb-sideload. For example, in TWRP goto "Advanced" then "ADB Sideload", in LineageOS goto "Apply Updates" then "Apply from ADB"
(3) use adb sideload ROMZIP to sideload the rom (copying the zip from PC to device), and the updater script in ROMZIP (META-INF/com/google/android/updater-script) will be executed

the updater script is not a bash script, but an edify script language, see references for how to write it

References

https://source.android.com/devices/tech/ota/nonab/device_code#sideloading
https://twrp.me/faq/ADBSideload.html
https://android.stackexchange.com/questions/66828/what-does-the-command-adb-sideload-file-do
https://forum.xda-developers.com/showthread.php?t=936175
https://forum.xda-developers.com/showthread.php?t=1669489
https://androidforums.com/threads/edify-script-language-reference-updater-script.557602/

Steps to Flash New ROMs
A typical steps to flash and install new ROMs involves the following steps:

unlock the bootloader if locked
if necessary, flash a temporary recovery
reboot to recovery
wipe data and cache (双清)
sideload a new ROM
reboot to the new system

See references for a detailed step of "Installing LineageOS 17 to OnePlus 6T"
References

https://wiki.lineageos.org/devices/fajita/install

The following bligs also provides a very clean, clear, and easy-to-underatanding introduction to Bootloader, and root, from an end-users perspective.

当我们谈论解锁 BootLoader 时，我们在谈论什么？
何为 root？


Add Transpose exercise

Add Transpose exercise

Note that this implementation works correctly for the test examples, but is not Unicode-correct (for example, it would not work correctly with emoji).

@masters3d


Energy data interval

Is it possible to get the energy data in 5 minute intervals instead of hourly?

AFAIK it's not possible. The Tapo API threw an error when I tried to use a lower interval than 60 minutes.


Status message when doing cache network operations

See original issue on GitLab
In GitLab by [Gitlab user @sstriker] on Aug 4, 2017, 16:40
When doing a build and a remote cache is configured, print a status message that the cache is being contacted.  This helps identify issues with the network or cache configuration.  Currently the only clue is a 30s timeout.

In GitLab by [Gitlab user @juergbi] on Aug 10, 2017, 08:46
mentioned in commit bac5cd55134e27041c65137e7f71357df3099e7c

In GitLab by [Gitlab user @juergbi] on Aug 10, 2017, 08:48
mentioned in merge request !74

In GitLab by [Gitlab user @juergbi] on Aug 10, 2017, 08:48
assigned to [Gitlab user @juergbi]

In GitLab by [Gitlab user @juergbi] on Aug 15, 2017, 10:31
mentioned in commit 4b9f0d256c1cc15bb19221cb775e5a62e815ae9d

In GitLab by [Gitlab user @samthursfield] on Aug 15, 2017, 10:50
closed via merge request !74

In GitLab by [Gitlab user @juergbi] on Aug 15, 2017, 10:50
closed via commit 4b9f0d256c1cc15bb19221cb775e5a62e815ae9d


circular dependency

when i run brew leaves, i do get the formulas that i directly installed (without their dependencies, which are being installed automatically when executing brew install).
but when i execute brew bundle dump --brews i get a message saying

Error: Formulae dependency graph sorting failed (likely due to a circular dependency): ...

i thought that brew bundle dump --brews should coincide with brew leaves. that is, i would expect that the output of brew bundle dump --brews will be brew <LEAF> for each LEAF, where LEAF is a leaf in brew leaves output.
if that is not the case, could you please explain why would i care to store formula dependencies in my Brewfile?
$ brew --version
Homebrew 2.1.16-87-gd65ad9f

I don't really understand your question but the output message explains how to resolve your circular dependency issue.

@MikeMcQuaid: there should not be a circular dependency, since only leafs should be present in the Brewfile. if there are leafs, there is no circular dependency by definition.
am i missing anything?

brew bundle does not use brew leaves or the same algorithm.

@MikeMcQuaid: i could deduce it, that is why it was totally strange that the outcome of the two are different. don't you think the need to be aligned?

@MikeMcQuaid: i want to contribute to the project, but you marked the issue as closed without having any discussion.
kinda funny that on your profile it is writter

Rude people blocker
a camel does not see his own hump

don't you think the commands need to be aligned (i.e. have corresponding output)?

No. They do different things for different use-cases. To change either to match exactly the other would render uses of the other to be broken.

i want to contribute to the project

https://github.com/homebrew/brew/#contributing details how to do that. In short: submit pull requests. Issues asking questions are not contributions and are better done in our Discourse (https://discourse.brew.sh).

but you marked the issue as closed

We only keep issues open if they are bugs or features that need or we wish to be worked on. This is consistent in the Homebrew organisation and across all open source projects I run.

a camel does not see his own hump

I have not made anything resembling a personal attack on you in this issue and you have jumped to an insult (I take it as so regardless whether it is intended). I would like to ask you to retract that, please.

@MikeMcQuaid: you acted as a bully and only after i noted that, you have given explanation which you should have done before marking the issue as close. with that being said, i truly respect and admire your work.
i wanted to contribute to make the two command correspond to each other and was asking for your blessing.

you have jumped to an insult

an allegory is not an insult and this discussion is way out of topic and unbeneficial.


Translation to Georgian - chapter0/0 Done.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Animeler changed their domain

Source information
Animeler 14.9
Source language
Turkish
Source new URL
https://animeler.co/
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL is not updated yet.
[X] I will fill out all of the requested information in this form.

uhhhhhh......... no, the domain didn't change, the extension is broken because the api changed. Also, animeler.co redirects to animeler.me (the domain that the extension is using).


Path issues on startup

Executing Cmder 1.2 (Windows 7SP1) results in the following message:
PS C:\Windows\system32> C:\Users\wwinfrey\Applications\cmder\vendor\profile.ps1
Join-Path : Cannot bind argument to parameter 'Path' because it is null.
At C:\Users\wwinfrey\Applications\cmder\vendor\profile.ps1:2 char:29
+ $CmderModulePath = Join-path <<<<  $PSScriptRoot "psmodules/"
    + CategoryInfo          : InvalidData: (:) [Join-Path], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.JoinPathCommand

WARNING: Missing git support, install posh-git with 'Install-Module posh-git' and restart cmder

Got the exact same problem after using Set-ExecutionPolicy -ExecutionPolicy Bypass to fix issue #483.
I have the feeling that this shouldn't have been released as a stable build yet. A development/beta branch could've made sure it's not confusing and/or unusable as a released build.

Running into the same issue here, any idea on how to workaround it?

The issue is that PowerShell 2 and below doesn't support $PSScriptRoot, I'm working on something that should let those with PS2 to work, though if you don't want to wait, install PowerShell 3 or above.

c15e29ecb30e450c295f08651f4446fc026ea2a2 Should fix this.
@Jackbennett

Very neat Marti. I found the bug report for $PSScriptRoot so I'm seing how moving our PS code into a (airquotes) proper "cmder" module will work out.

Upgrading my PowerShell version from 2.0 to 4.0 fixed this.

MartiUK solves the problem


Error Compounding In Most Writers.

while(stitches)
    {
        dx = stitches->stitch.xx * 10.0 - xx;
        dy = stitches->stitch.yy * 10.0 - yy;
        xx = stitches->stitch.xx * 10.0;
        yy = stitches->stitch.yy * 10.0;
        flags = stitches->stitch.flags;
        jefEncode(b, (char)roundDouble(dx), (char)roundDouble(dy), flags);
...

This mechanism doesn't work. The error is introduced during the rounding of the dx, dy and that isn't tracked. The values of xx, yy, need to be the needle position given the summation of the actual dx, dy values given.
It needs to have the value of xx, yy the sum of the dx, dy values. And to round at the calculation of dx, dy.

        while(stitches) {
            x = stitches->stitch.xx * 10.0;
            y - stitches->stitch.yy * 10.0;
            dx = roundDouble(x - xx); //Or whatever rounding ops are needed.
            dy = roundDouble(y - yy);
            xx += dx;
            yy += dy;
            flags = stitches->stitch.flags;
            blahEncode(b, (char)dx, (char)dy, flags);

This mechanism would fix it. Do the conversion from global to local, find the change, do the rounding. Then implement xx, yy as the sum of the rounded values. You also don't need to keep converting from mm to tenths.

See, inkstitch/inkstitch#231 for discussions of the bugs in the wild. With the exception of .dst it will affect most of the writers. Exp, Jef, Hus at a minimum.


fix: update unzip package

This PR replaces the unzip package with adm-zip and updates the code to avoid bug in node 18. The previous package unzipper was not compatible with node >= 18.16, which caused the bug "This version of xxx\Microsoft.DataApiBuilder.exe is not compatible with the version of Windows you're running" when using database connection. Refs: #700

Any chance this will be in an upcoming release? Looking forward to the fix landing :)

Yes, this will be in the next release.
If you want to apply this change now, here is an easy way to download and test it from GitHub:

git clone https://github.com/Azure/static-web-apps-cli.git
cd into the folder "static-web-apps-cli"
run "npm install", then "npm run build"
run "npm link ./", which allows you to use this version of swa-cli globally.

if you want to update the version of swa-cli, just delete this local folder "static-web-apps-cli" and run "npm install -g @azure/static-web-apps-cli" to reinstall the official version.

Any chance this will be in an upcoming release? Looking forward to the fix landing :)

Yes, this will be in the next release.
If you want to apply this change now, here is an easy way to download and test it from GitHub:

git clone https://github.com/Azure/static-web-apps-cli.git
cd into the folder "static-web-apps-cli"
run "npm install", then "npm run build"
run "npm link ./", which allows you to use this version of swa-cli package globally.
* if you want to update the version of swa-cli, just delete this local folder "static-web-apps-cli" and run "npm install -g @azure/static-web-apps-cli" to reinstall the official version.

This release has just been published to npm! 🎉


Install VS Code extension to standalone PC

Hi Alessandro,
I'm trying to use your Ada plugin for VS Code, but I either work on a PC behind a company firewall or on a stand-alone PC (no internet connection). I was wondering if you could assist me in installing the extension, I see that I should be able to install it from a vsix file, but I can't seem to locate one.
Thanks,
Joe

Hi, thanks for your interest. This repository contains the source code for an upcoming eBook called Visual Studio Code Succinctly, so until the book is out I can't share much content.
The ADA language extension can be downloaded from VS Code directly, but if you can't, please place the source code into one folder and follow these docs:
https://code.visualstudio.com/docs/customization/colorizer
https://code.visualstudio.com/docs/extensions/install-extension


What is this cmake error

CMake Error: The source directory "/home/lucas/wrk/bf-ext" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

ur mom


Added PHP 7.3 support - updated Travis CI configuration

I am not sure what do to here, as there is merged PR with drop HHVM support into develop, and if I rebase that branch against master it will be conflicted. I would keep it as PR into develop for the next minor release.


Collect PR review rules for documentation and automation

When a chart PR is reviewed there are common items reviewers check for. I would like to collect those to document and try to automate them. Can we get a list?
/cc @unguiculus @viglesiasce

You should start looking at best practices.
https://github.com/kubernetes/helm/tree/master/docs/chart_best_practices
One of the first things I look at is resource names and standard labels.

For me:

Version bump for updates to existing charts
Chart.yaml has a github ID for name (in transition)
Images are all configurable
NOTES.txt is present and accurate/useful

Also:
https://github.com/kubernetes/charts/blob/master/CONTRIBUTING.md#technical-requirements

There are a couple of things we can add to Helm lint, and other things that are more specific to k8s/charts, so we should figure out what fits where. Off the top of my head:
Linter:

naming conventions for chart names, resources, namespaced template names etc.
semver versions (I believe this is already implemented)
YAML formatting (e.g. 2 space indentation)
Images are all configurable
Chart.yaml fields (should fail on "strict"): home, sources, icons, appVersion

k8s/charts specific:

ensure version bump
GitHub ID for maintainer name
NOTES.txt present
check that requirements.yaml only references charts in the stable repo (or also incubator only if the chart itself is in incubator)

Not sure:

Labels - whilst the chart best practices define a set of standard labels, I'm not sure that the linter should necessarily enforce this. I think we have the choice here of whether it's a "strict" linter rule (Info/Warning) or whether we only implement this as a check for k8s/charts only.

Things that probably still need to be manual:

Version bump appropriate
NOTES.txt accurate/useful

@unguiculus @viglesiasce @prydonius For charts in the stable directory, should their chart version be > 0. Note, the semver spec makes note of versions starting with 0.x.y at http://semver.org/#spec-item-4.

Maybe we should work on a clear definition for stable and incubator first.

Now that https://github.com/kubernetes/helm/pull/2845 has been merged, I'd suggest to check for namespaced templates for new charts once Helm 2.7 is out. However, helm lint is not configurable. What about making it configurable with linting rules as other linters do? This would allow us to apply different rules for new and for existing charts.

@unguiculus isn't everything in the stable directory supposed to be stable? And stable in SemVer gets a >=1.0.0 version. Are there things in stable that aren't considered stable.
I understand a lack of formal definition. But, from the perspective of a consumer... stable is stable.

Folks, any thoughts on #2528? I could automate some of those.


Remove waiters in favor of pre and post hooks

Closes #197
This PR removes waiters in favor of hooks. It implements a way of adding pre and post hooks to the groups apply step (non deleting).
Instead of adding a custom way of waiting, we give explicitly give all the power to the user, having this power is dangerous but at least we make it explicit and the user should know that side effects can have bad outcomes.
In the end, we can't be sure a wait script is read-only or doesn't have side effects.
Example of hooks usage:
# Groups configuration.
groups:
  - id: ns
    priority: 100
    hooks:
      post:
        cmd: ["sleep", "2"]

  - id: root
    priority: 200
    hooks:
      pre:
        cmd: ["./tests/manual/hooks/root-pre.sh"]
      post:
        cmd: ["./tests/manual/hooks/root-post.sh"]

  - id: group-a/group-c/group-d
    priority: 200
    hooks:
      pre:
        cmd: ["./tests/manual/hooks/group-d-pre.sh"]
        timeout: 1m

  - id: group-b/group-e
    priority: 550

TODO: Docs.

Codecov Report

Merging #199 (a28f52c) into master (5d8b283) will increase coverage by 0.26%.
The diff coverage is 79.16%.

@@            Coverage Diff             @@
##           master     #199      +/-   ##
==========================================
+ Coverage   75.88%   76.15%   +0.26%
==========================================
  Files          28       28
  Lines        1360     1455      +95
==========================================
+ Hits         1032     1108      +76
- Misses        245      260      +15
- Partials       83       87       +4

Impacted Files
Coverage Δ

internal/model/app.go
100.00% <ø> (ø)

internal/resource/manage/hook/hook.go
72.22% <72.22%> (ø)

internal/configuration/v1.go
100.00% <100.00%> (ø)

internal/model/resource.go
96.49% <100.00%> (+0.33%)
:arrow_up:

Continue to review full report at Codecov.

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


Bump version to 1.0.0

Is there going to be a pypi.org updated release later today so I can just pip install faster-whisper 1.0?


There is no "rebase" branch

Summary
There is no branch named rebase even though in the desc of 1.9.2 it says there is.
Reproduction Steps
Title
Code
* Silence *

Expected Results
A branch named rebase should be there.
Actual Results
There is no branch named rebase.
System Information

Silence *

Checklist

[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).

Additional Information
No response

Rebase was merged into the master branch, use that for the alpha.


fix json output for AWS::Logs::Destination

use correct base class for Destination. needs to be AWSObject

the output for destination should be nested under Property, using the correct base class achieves this.
issue cloudtools/troposphere#481

Duplicate fix.

Reopening if you want to rebase and add the new test.

@markpeek rebased

Thanks!


Not an issue... more of a collaboration request to assist all...

Hey y'all... I love all your up to...
New to AppImage... I've been collecting them all and making new ones... The latest being Mednafen... and  Mednaffe... For this is the next steps in transforming games into portable Linux packages... Efficiently... as in size matters and smaller AppImages are key... Thankfully my AppImages work and have got a few trials done... Yet need some assistance on getting Mednafen to load settings inside the Appimage or an AppImage that will copy the settings to the home directory before the rom launch...
Been working on a Chromebook distro... with coding and programming, not my thing... Yet with a little help, I wish to bring hundreds of legal games to the table in AppImage format and potentially start an AppImage Deb Repo, as combining the two is what Linux needs... So all the New apps and Games can be Unified into Synaptic and most importantly... Into the Gnone Software Center and K-Discover....
Looking forward to working and assisting, on bringing hundreds to thousands of "New" packages into an updated Repo....
First thing first... Getting Mednafen into the flow... As that brings over 300 "new" legal games to the platform...
Thanks again...
Bartman

Hey there, thanks for the willingness to help! Currently these are the projects I mostly work with:

Gameimage
Application Root Subsystem (Still a WIP)

If you wish to discuss something in detail, here is my email<EMAIL_ADDRESS>


fix: npm package name resolution when using require with file paths from npm modules.

To get npm package names for installing during first time from require statements with file paths.
Example
require('mathjax-full/es5/tex-svg.js')

This actually could cause problems with scoped packages
https://docs.npmjs.com/about-scopes


GitHub Project Stuff

@dodexahedron says:

A fair amount of important stuff is already here, but yes there are some tweaks that might make life better.

I would also strongly suggest we have a public project, because a big part of the value of projects is the visibility this all enables. Or we can just make the existing one public and optionally make a private one for internal junk if we want/need to, and even optionally a private repository if we ever need to for whatever.

Done - https://github.com/orgs/gui-cs/projects

An issue can be a member of more than one project, too, which can be used to keep things shown in public cleaner and more relevant to a consumer's needs/desires for tracking progress. Things like workflows (automatic as well as custom) also can apply regardless of project, and the default/built-in workflows like closing an issue when a PR is merged already do that by default without having to set it up.

We have examples of this now.

It would also be nice, both for us and the public, to have some more specific but still general milestones defined for general work areas as well as when any large task comes along. Basically, exactly how I've got it in the project I showed you in the V2 discussion thread. The V2 project is the whole enchilada, and things like "True Color Support," "Cut Curses Crap," and other stuff belong as milestones the issues can also be associated with. That then not only gives a better idea of where effort is going (both for our and consumers' benefit), but can be used in project views, as well, when desired, which I put as notes on the cards in the first 3 tabs of my project and used as an actual grouping for the "All Linked Items" tab, which is basically a big consolidated project work listing, for all statuses.  Milestones actually belong to a repository, though (they are a sub-tab in the issues tab), so they can be used independently or in conjunction with projects, at will, which is pretty nice.

Done. E.g.

Also, does the gui-cs organization have at least a GitHub Teams subscription? If not, I'm willing to front the bill for that for 4 seats (@tig, @BDisp, @tznind, and myself, unless any one of the crew doesn't want/need the extra goodies). Being able to set everyone up as team members with appropriate roles and branch protection would be a nice quality of life win for all of us, among plenty of other little bells and whistles that open up with a paid license level. And we can evaluate how many paid seats are actually still required after the first year, but I'm also willing to do 4 for a second year, too. Though I bet github would be willing to work out a deal, if you haven't already tried that, for at least the owner seat. I don't need any kind of public recognition or mention or anything for that, either. Just want to make life as easy as possible. :)

No.

Oh, and license levels for org members can be mixed, with it just affecting which features they can and can't use.

As for actual stuff to do to this project, specifically, I think a good way to approach that is for me to copy the project layout and make a dummy example on my account to use as a sample/proposal/sandbox before actually doing anything significant that would be destructive to what's currently here.

@dodexahedron edit to add:

Oh yeah - since replies aren't possible on a draft item, and issues aren't private, I guess just edit this and add input at the bottom for now. A private repository would be handy for that sort of thing but requires Teams licensing. Private issues would be great, too, but github still doesn't have that feature and just tells you to make a private issues-only repository to fake it. 🙄

But, projects can have issues from multiple repositories, so private issues could still be placed in a public project whenever they need to exist, and wouldn't be visible to anyone who doesn't have access to the private repo, making it mostly seamless after the actual repo is created. There's the private security bug reporting thing, but that's ephemeral and not really the same anyway.

Also... ugh... don't try to use this interface from a phone browser. It's very difficult to NOT accidentally drag cards...

Other than the gui-cs org account, all of this is now done, I think...

@dodexahedron  can I close this?

Yep, good to go I think.
Can always fire up anither if the need arises.


atc crashes with "too many open files"

Hi,
we are running Concourse 0.74 and our atc jobs on the "web" nodes are crashing often with:
failed to enable connection keepalive: file tcp <IP_ADDRESS>:33296-><IP_ADDRESS>:7777: fcntl: too many open files
failed to enable connection keepalive: file tcp <IP_ADDRESS>:33297-><IP_ADDRESS>:7777: fcntl: too many open files
failed to enable connection keepalive: file tcp <IP_ADDRESS>:33299-><IP_ADDRESS>:7777: fcntl: too many open files
failed to enable connection keepalive: file tcp <IP_ADDRESS>:33303-><IP_ADDRESS>:7777: fcntl: too many open files
failed to enable connection keepalive: file tcp <IP_ADDRESS>:33314-><IP_ADDRESS>:7777: fcntl: too many open files
failed to enable connection keepalive: file tcp <IP_ADDRESS>:35453-><IP_ADDRESS>:7777: fcntl: too many open files
failed to enable connection keepalive: file tcp <IP_ADDRESS>:35455-><IP_ADDRESS>:7777: fcntl: too many open files
failed to enable connection keepalive: file tcp <IP_ADDRESS>:35456-><IP_ADDRESS>:7777: fcntl: too many open files
failed to enable connection keepalive: file tcp <IP_ADDRESS>:35457-><IP_ADDRESS>:7777: fcntl: too many open files
failed to enable connection keepalive: file tcp <IP_ADDRESS>:35458-><IP_ADDRESS>:7777: fcntl: too many open files
As a workaround, we call "monit restart atc". Do you know the root cause of this problem? Please tell us if you need more system information for analysis.
Thanks and Best Regards,
Jochen.

it's been quite a while since this was opened and there's little hope of us diagnosing the exact issue, so I'll just close this.
this should at least get better with in-flight work to redo how we manage containers and volumes, as it looks like it ran out of FDs talking to Garden

Hey @vito,
Just as a datapoint, we'd like to let you know that this is also happening on BOSH CPI's Concourse approximately every 2 days and we fix it by monit restart all. Typical entry in /var/vcap/sys/log/atc/atc.stderr.log
2016/11/03 00:51:31 http: Accept error: accept tcp [::]:8080: accept4: too many open files; retrying in 20ms
2016/11/03 00:52:01 http: Accept error: accept tcp [::]:8080: accept4: too many open files; retrying in 5ms
2016/11/03 00:52:01 http: Accept error: accept tcp [::]:8080: accept4: too many open files; retrying in 10ms
2016/11/03 00:52:01 http: Accept error: accept tcp [::]:8080: accept4: too many open files; retrying in 20ms
2016/11/03 00:52:01 http: Accept error: accept tcp [::]:8080: accept4: too many open files; retrying in 40ms

We created a release that fixes this issue by changing the ulimit open files for monit which atc inherits.
Here's the release


Use Project's namespace instead of SpecFlow.GeneratedTests

I would like the generated Feature.cs files to be in the namespace of the current project and not the fake SpecFlow.GeneratedTests.

Sounds reasonable. I'm happy to take a PR.

https://github.com/stajs/SpecFlow.NetCore/issues/85#issuecomment-550567940


OutputWindow appearing at the start of pipelines

To reproduce:
Pipelines wkspc, VT pipeline, CT image, drop a CT image.
After clicking on OK, an "OuputWindow" pops-up saying "WARNING in .../itkMetaImageIO ...". Can't copy paste, since I cannot interact with the window.
Appears on Windows.

I do not have a pop up, but in QtCreator (clin d'oeil) i've got messages such as:
WARN  - lun. oct. 10 14:52:19 2016 - WARNING: In /home/mathildemerle/Dev/medinria-superproject/ITK/Modules/IO/Meta/src/itkMetaImageIO.cxx, line 640
MetaImageIO (0x7fffa800de60): Unsupported or empty metaData item XSpacing of type NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEfound, won't be written to image file

Do you still have this problem (even with https://github.com/Inria-Asclepios/medInria-public/pull/178 ) ?

I still have this pb.


Mention maintenance status for platforms in the readme

I'm not sure if the readme is the right place for that but I think there should be some metric for a user to know what they can expect

Putting this information somewhere around the first mention of a platform should be appropriate IMHO.


Add Memoria Logo to Main Asset File

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

Please change the Logo URI for Memoria (5XiE2JApnDwGc24PSY7y7stD4JxStkYPAH5tFVKAcrow) from this link:
"logoURI": "https://github.com/Memoria-ORIA/Assets/blob/main/MemoriaLogo.png"
To this link:
"logoURI": "https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/5XiE2JApnDwGc24PSY7y7stD4JxStkYPAH5tFVKAcrow/logo.png"
Thank you!

please submit that change to logoURI in this PR by editing solana.tokenlist.json and committing the change

added in https://github.com/solana-labs/token-list/commit/105084238294a4e8652582dc3634841b5c893860


Update Prompts UI (enhanced with client last used action sorting)

Part of https://linear.app/sourcegraph/issue/SRCH-1103/update-prompts-ui-welcome-screen
This PR does a few things (TL;DR I suggest checking the loom)

Improve prompts and commands list UI (you can find the latest designs for it here)
Adds smart last-used prompts/commands sorting

So this PR is another attempt to bring commands and prompts closer and smooth transition from commands to prompts, so in this PR

There is no separation between commands and prompts it is basically one list
on the welcome screen we show only the last 4 used actions (action here means prompts or commands)
By default, we show out-of-the-box actions
If we have custom commands or custom prompts we shift the list to show the last created prompts or commands
If you used some prompts or commands it will show up on top of the list on the welcome screen

This is a crucial improvement for customers with a possible high count of prompts because it helps with discoverability and we don't bombard the welcome screen with a big set of items in the suggestion list
Future follow-ups

In designs, we have a Search Prompt button below the action list on the welcome screen, for simplicity now it's just a link to the prompt tab but in future, we should open in place modal UI with a search prompt UI
The last used action is currently implemented with local storage, later we should track usage on the backend

Test plan

Check that you can see only 4 items max on the welcome screen
Check that you can find prompts that you have on prompts tab or prompts toolbar
Check that last used prompts/commands can be found on the welcome screen right after you used them

This is looking great! Good job @vovakulikov and @jasonhawkharris.

Chat help should use the updated design from Jason's PR.
Prompt/command labels should be slightly less bold
We can knock down the icon sizes for prompts/commands down a bit (if they're 20x20, make them 16x16)
If we're able to do some sort of sorting by last used, we should use that on the dropdown list from the prompts menu, and not the welcome area prompts (which should be sorted by last created by org (and published, not drafted)), if possible.
I should not be able to see other peoples' drafted prompts anywhere, at all
I should be able to see my drafted prompts in the library and last used dropdown only
Edit Code needs to always exist on the upfront welcome area

Chat help should use the updated design from Jason's PR.

Not a part of this PR will do as follow-up, or @jasonhawkharris will merge it as part of his PR

Prompt/command labels should be slightly less bold, even tone of the color a bit like from Jason's PR

Set it to 500 now, let me know if it look ok.

We can knock down the icon/avatar sizes for prompts/commands down a bit (if they're 20x20, make them 16x16)

16px seemed a bit off IMO. I reduced size down to 20 and 22 on the icon, should be ok now, also let me know

If we're able to do some sort of sorting by last used, we should use that on the dropdown list from the prompts menu, and not the welcome area prompts (which should be sorted by last created by org (and published, not drafted)), if possible.

Ok, I turned off smart sorting on the prompt tab, but the welcome page seems like a good spot to have this functionality. This is based on what @rrhyne highly suggested last week and I agree with him here, any concerns about welcome page with sorting on?

I should not be able to see other peoples' drafted prompts anywhere, at all (@aramaraju only exception to this might be an admin?)

The problem here is that there is no API to turn off drafts from other users and keep your created drafts. I included drafts from everyone for now, but would be happy to turn off drafts completely if it's better (while we don't have behaviour about viewing only your drafts)

Edit Code needs to always exist on the upfront welcome area

Fixed, wonder if we need to show 5 items on the welcome area, because edit command will always be taking one spot from the list

We can change the "Create Prompt' and "Prompt Library" links on the Prompts tab submenu to: "Create" and "Manage".

Would stick for now with prompt suffix, because we still have commands in place, Create and manage are too generic at the moment

The "Find Code Smells" prompt should use the text-search icon from Lucide

Fixed

Chat help should use the updated design from Jason's PR.

Not a part of this PR will do as follow-up, or @jasonhawkharris will merge it as part of his PR

Cool.

Prompt/command labels should be slightly less bold, even tone of the color a bit like from Jason's PR

Set it to 500 now, let me know if it look ok.

Looks much better 👍

We can knock down the icon/avatar sizes for prompts/commands down a bit (if they're 20x20, make them 16x16)

16px seemed a bit off IMO. I reduced size down to 20 and 22 on the icon, should be ok now, also let me know

Feel free to knock down the avatars too. They should all be the same size and aligned.

If we're able to do some sort of sorting by last used, we should use that on the dropdown list from the prompts menu, and not the welcome area prompts (which should be sorted by last created by org (and published, not drafted)), if possible.

Ok, I turned off smart sorting on the prompt tab, but the welcome page seems like a good spot to have this functionality. This is based on what @rrhyne highly suggested last week and I agree with him here, any concerns about welcome page with sorting on?

If we can only have ordered by recently used in the dropdown, that would be ideal. Welcome area needs to be reserved for discoverability of new prompts (not accessing ones that you're already using).

I should not be able to see other peoples' drafted prompts anywhere, at all (@aramaraju only exception to this might be an admin?)

The problem here is that there is no API to turn off drafts from other users and keep your created drafts. I included drafts from everyone for now, but would be happy to turn off drafts completely if it's better (while we don't have behaviour about viewing only your drafts)

I'm happy to switch them all off in terms of visibility for now -- I assume we can keep them visible on the web to compensate, and so I can access drafted prompts whilst I'm drafting them via the web?

Edit Code needs to always exist on the upfront welcome area

Fixed, wonder if we need to show 5 items on the welcome area, because edit command will always be taking one spot from the list

That would be OK for now. FYI, I'm not seeing Edit Code option when checking out your branch locally and authed to S2.

We can change the "Create Prompt' and "Prompt Library" links on the Prompts tab submenu to: "Create" and "Manage".

Would stick for now with prompt suffix, because we still have commands in place, Create and manage are too generic at the moment

That's fine.

The "Find Code Smells" prompt should use the text-search icon from Lucide

Fixed

Sweet.

cc @danielmarquespt @taylorsperry for visibility

We can change the "Prompt Library" link at the bottom of the welcome area list to "All prompts"


[FEEDBACK] Tutorial 04 and configInfo{} : Brendan Galea

Encapsulating the instance of PipelineConfigInfo configInfo{};  within PipelineConfigInfo LvePipeline::defaultPipelineConfigInfo(uint32_t width, uint32_t height)

will result in an C2065 error as the compiler can't detect configInfo

Is this supposed to happen?
Thank you.

hmmm I'm not sure what exactly is going on here, do you not have config info declared above? also a comment on the youtube video for the specific tutorial is preferable. I check the youtube comments more often, and the issues here are really for problems with the codebase, and less so the tutorial content.


Ignore existing venv dir when PIPENV_VENV_IN_PROJECT is false

Hi !
The issue
I have a project installed on my host (macOS) which use the PIPENV_VENV_IN_PROJECT=1 env vars to install pipenv deps into my_project/.venv folder. Now I am working on a docker-compose setup, which has another Python version, with the local project bind mounted into the container.
In the Dockerfile, I am only copying Pipfiles and running pipenv install with PIPENV_VENV_IN_PROJECT=0 so that the venv is built specifically for this container env and embedded in the docker image.
With my local code mounted inside the container, alongside the host .venv, I was expecting pipenv commands to follow PIPENV_VENV_IN_PROJECT=0 set inside the container context and ignore the mounted .venv.
Turns out, it is not working even though the documentation clearly states:
self.PIPENV_VENV_IN_PROJECT = get_from_env("VENV_IN_PROJECT")
""" When set True, will create or use the ``.venv`` in your project directory.
When Set False, will ignore the .venv in your project directory even if it exists.
If unset (default), will use the .venv of project directory should it exist, otherwise
will create new virtual environments in a global location.
"""

This issue was already raised in this comment https://github.com/pypa/pipenv/issues/2763#issuecomment-1083715772
The fix
Tweaked the get_location_for_virtualenv function to adjust loading priorities based on the expected behavior and added an integration test

Please add a behavior news fragment since this is technically a behavior change.

Hello @matteius, sorry for the delay. I was about to add the fragment today. Anyway, thanks for the merge


What's your terminal emulator?

Hi! I love your theme but I'm using iTerm2 as my terminal emulator and it doesn't look half as nice as yours, what are you using?

This is Ubuntu's default terminal (gnome terminal). I'm using a darker version of Paraiso theme. For iTerm2, check  out.

@halfo Nice! thank you very much!


Change header at top of README to new repo description

added in https://github.com/inttter/md-badges/commit/6d9b5e4c76b7dbb0431eab296f940e78f1874019


Where is save<PHONE_NUMBER>000010?

Sorry to keep asking questions, but I wasn't able to find save<PHONE_NUMBER>000010 in goldleaf, only<PHONE_NUMBER>000001 and<PHONE_NUMBER>000011. Do you know where I could find and read it? Thank you.

I managed to obtain it via TegraExplorer and HacTool.


Support prepared statement parameter type inference

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
When implementing FlightSQL, it was observed that the prepare ... syntax that our prepared statement code expects is not present. This is problematic, because there is no syntax from which to find type declarations. When comparing to how the JDBC client behaves, it appears to expect parameter types to be inferred.
Describe the solution you'd like

Don't require prepare ... syntax (just allow a regular query to be prepared as a statement)
Infer the parameter types
Add a method to return inferred types

Describe alternatives you've considered

Have all existing JDBC code rewritten to support the model as present in DataFusion today
Do not support prepared statements
Always return a generic type like "String" or "Object" and coerce

Accidental duplicate of https://github.com/apache/arrow-datafusion/issues/4683


:sparkles: Adds basic support for stm's lis3dhtr imu

Adds read functionality
Adds power on and off functionality
Adds ability to configure the full scale of the sensor
Adds ability to configure the frequency the sensor will produce data at
Adds working demo

Use present tense when you write your commits. So added would become Add and adds becomes Add


Fix "Back" button so that when the button is clicked it only closes the most recently opened window.

So I was able to fix the issue in the new code I created on a separate py file.


Change puzzle/sheet/chat links to a softer color

Trying to stick with Bootstrap colors for now. I think this makes them less prominent/so they don't compete for attention with the big answer/solve buttons. Still underlines & changes color on hover so it still looks like a link.
Old:
This version (.text-info):

Alternate (text-secondary):

Alternate (text-dark); I don't like this one since it doesn't look like a link:

I slightly prefer the original default blue link color (as I'm just used to links being blue) but I'm fine with this change if you guys prefer the greener color.

I wouldn't say I love it but I do think having the three blue links right next to the two blue buttons is too much blue. Maybe changing the button color is an alternate solution, I haven't played with that yet.

Also, something else I noticed from the screenshot that might be a nice visual fix is to make the SOLVING/SOLVED/STUCK/etc. dropdown always the same width so visually the Status column looks uniform. Right now, the dropdown box width varies so there is a jagged right edge when you look down that column.

Oh yeah that's a good idea.

Closing this since we're switching them to icons instead (much better lol)


Handling minor buggy issue: tools name shouldn't contain space for OpenAI

As per (https://github.com/langchain-ai/langchain/pull/16395), OpenAI functions don't accept tool names with space. Therefore, I added an exception handling snippet to raise an issue if a custom tool name has a space.

Thanks, good catch!

Glad you found it helpful. Happy to help!


No module named 'tinycudann'

Sorry to bother you in your busy schedule. I wanna ask how to install 'tinycudann',  I cannot install it successfully, please help me... Thanks a lot!!!

I have the same problem. Is there any solution here?

I have the same problem. Is there any solution here?

Not yet... Still debugging...

You can build tinycudann from git.
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch


Conda Environment Install Issue

Trying to get DeepSpeed installed for local use with a Conda environment, but it seems that DeepSpeed in not installing to the environment itself. After building the wheel DeepSpeed is not installing into the proper Conda conda environment location. Apex is installing in the proper environment location. Unclear why DeepSpeed is not working but Apex is.

Hi there! We're in the process of rewriting our installation scripts (that were previously only used within Docker containers) and hoping to also release a conda package in short time. These sorts of issues should be fixed at that point.

The installation scripts perform sudo -H pip installs, which install system wide. I replaced those with normal pip installs and it installed into the current environment without problems.

When I installed it I did that in the install script (for both the deep speed, apex and requirements). However, there were still issues in that DeepSpeed would not install to the right environment location. Looking at the installation a little more, this seemed more likely an issue with the wheel created for DeepSpeed in the install.sh file. I was able to get it working by forcing pip to install DeepSpeed into the correct location (the same location that Apex was correctly installed to).

We have a now have a conda package uploaded and we appreciate any feedback!
We have versions compiled for cudatoolkit versions 10.0 and 10.1 To install along with pytorch and other dependencies that are in the conda-forge channel:
conda install deepspeed cudatoolkit=10.1 -c deepspeed -c pytorch -c conda-forge

The repo's install.sh should respect the environment by default now (sudo is opt-in). Please let me know if the issue persists.

Using the conda install, deepspeed shows up when I run conda list but it is not available when trying to import in python.

Hi @kleingeo, thanks for the report. I can see that on my end now as well. Not sure what happened...I'm looking into it.
Interestingly, the deepspeed entry point looks fine and is found in my $PATH after installation. And I can see the DeepSpeed library installed under ~/miniconda3/envs/test/lib/python3.7/site-packages/deepspeed/ (where test is my conda environment name), and also see the expected ~/miniconda3/lib/python3.7/site-packages in my sys.path...so I'm not sure why the deepspeed library is not importable.

Yes, I remember having this problem a lot when trying to install deepspeed normally with the install.sh file. With a normal python virtual env it works, but for some reason with Conda, it consistently tries to install to another location. The only thing I found to work was to force pip (when using conda) to force the install location to where the install.sh file installs Apex.

@ShadenSmith , it is easier to install deepspeed via your conda command than 'install.sh' (prone to fail).  In the deepspeed channel, only early-version deepspeed exists.
conda search -f deepspeed -c deepspeed
Loading channels: done
Name                       Version           Build  Channel
deepspeed                      0.1.0 py3.6_cuda10.0.130_0  deepspeed
deepspeed                      0.1.0 py3.6_cuda10.1.243_0  deepspeed
deepspeed                      0.1.0 py3.7_cuda10.0.130_0  deepspeed
deepspeed                      0.1.0 py3.7_cuda10.1.243_0  deepspeed
When do you plan to release new conda version of deepspeed with Zero2?
Thanks

Hi @jdongca2003, I have some time to dedicate to the DeepSpeed's conda infrastructure now that the v0.2 release is complete. I'm looking at improved packages (per the above bug report) and automating the package build process.

@ShadenSmith Thanks. I tested your conda deepspeed package onhttps://github.com/microsoft/DeepSpeedExamples/tree/master/cifar.  It failed on Tesla K80 and I got the following error mesage:
"
THCudaCheck FAIL file=csrc/fused_adam_cuda_kernel.cu line=135 error=209 : no kernel image is available for execution on the device
Traceback (most recent call last):
File "cifar10_deepspeed.py", line 178, in
model_engine.step()
File "/home/dong/miniconda3/envs/deepspeed/lib/python3.7/site-packages/deepspeed/pt/deepspeed_light.py", line 692, in step
self.optimizer.step()
File "/home/dong/miniconda3/envs/deepspeed/lib/python3.7/site-packages/apex/optimizers/fused_adam.py", line 146, in step
group['weight_decay'])
RuntimeError: cuda runtime error (209) : no kernel image is available for execution on the device at csrc/fused_adam_cuda_kernel.cu:135"
But it worked well on Tesla P4. Probably deepspeed does not support old GPU architecture.

In V100, Same error with THCudaChecker happens!!

@ShadenSmith Thanks. I tested your conda deepspeed package on https://github.com/microsoft/DeepSpeedExamples/tree/master/cifar.
It failed on Tesla K80 and I got the following error mesage:
"
THCudaCheck FAIL file=csrc/fused_adam_cuda_kernel.cu line=135 error=209 : no kernel image is available for execution on the device
Traceback (most recent call last):
File "cifar10_deepspeed.py", line 178, in
model_engine.step()
File "/home/dong/miniconda3/envs/deepspeed/lib/python3.7/site-packages/deepspeed/pt/deepspeed_light.py", line 692, in step
self.optimizer.step()
File "/home/dong/miniconda3/envs/deepspeed/lib/python3.7/site-packages/apex/optimizers/fused_adam.py", line 146, in step
group['weight_decay'])
RuntimeError: cuda runtime error (209) : no kernel image is available for execution on the device at csrc/fused_adam_cuda_kernel.cu:135"
But it worked well on Tesla P4. Probably deepspeed does not support old GPU architecture.

Hi @jdongca2003 ,
I encounter the same problem as  you describe when using Tesla K80. And I found it work normally when applying them on Tesla V100.  Have you solved this problem?
@ShadenSmith Could you please explain why this happen? Dose deepspeed not support Tesla K80?
Thanks.

Hi, closing this issue as it is stale with respect to Cuda/Torch/DeepSpeed versions.  However, we now provide an environment.yml for ease of building in conda, that is located at the root of our repo!


Add link checking

E.g. with https://github.com/remarkjs/remark-validate-links/ (see https://github.com/AMWA-TV/nmos-system/pull/13)

ac8355f538eaa2e88ac36eb51edf3bf92d8a4315 adds checking of local Markdown links (tested with nmos-template and nmos-system).
Next to try checking remote links with https://github.com/davidtheclark/remark-lint-no-dead-urls

Unfortunately remote link checking soon triggers an GitHub abuse mechanism* due to many many links to other repos so another approach may be needed
*I’ve had to send this from my phone :)

Because of the above (which I've seen before with my Chrome link checker) we may have to check remote links after rendering on github.io.

In the meantime, https://github.com/stevenvachon/broken-link-checker is useful for an offline check using blc -ro https://amwa-tv.github.io/nmos

@peterbrightwell The lint checking of local links is throwing up some false positives in nmos-parameter-registers... there are some links from the Capabilities register to e.g. Flow Attributes register which are written as e.g. ../flow-attributes/#transfer-characteristic. The checker doesn't like these, I guess because it doesn't explicitly include the file name README.md (or index.html as it ends up?). I wonder if we can educate the checker about default filename??

Ah, I just raised this again as https://github.com/AMWA-TV/nmos-parameter-registers/issues/52, oops.


CR-5155 - gracefully handle repo-not-exist during clone

CloneOptions Clone func will now handle both "repository not found" (and create the repo) and "remote repository is empty" (and will just init it locally)

@noam-codefresh what about updaing the docs about this change?
https://argocd-autopilot.readthedocs.io/en/stable/Getting-Started/#create-a-new-gitops-repository


Support Undo (Command/Ctrl Z)

This is a big issue when pasting (and overriding) multiple cells.
Is there any way to support Undo?

The data grid does not retain a copy of your data in any way, your data source itself would need to support an undo operation, you could do this by getting the newly pasted values in onPaste and then keeping a buffer of what is about to be overwritten and pushing that onto an undo stack.

Does it mean that I'll have to implement the onPaste logic myself?

the onPaste logic literally is just a loop over the data calling onCellEdited. So I guess in that sense yeah you would need to implement that, but it would be far more efficient to directly send that data to your data source without proxying it through a GridCell. You can be far more efficient that way.


ADTS and AVC create unusable fragmented MP4 file

I'm experiencing an issue passing NALU and ADTS data to the FragmentedMp4Writer wherein the resulting mp4 is basically unusable; no displayed video and audio is played back in "blips".
I've created a project encapsulating the entire runnable setup for easier debugging for anyone interested in helping out. @sannies streaming track classes for ADTS and AnnexB have been modified slightly for my use in the project (they are included).

I read my output file with the Elcard stream analyzer and it only includes the SPS, PPS, and a lot of AAC; so it would seem that one of the main issues is a lack of written video data.


getting TypeError: (void 0) is not a function

Hi,
I am using angular 2.x and<EMAIL_ADDRESS>with jspm for bundling. I get the error:
core.umd.min.js:31 EXCEPTION: Uncaught (in promise): TypeError: (void 0) is not a function
TypeError: (void 0) is not a function
is there fix for it?.

Same problem here.
https://github.com/500tech/angular-tree-component/issues/298

Same problem here.

Same problem here.

@rakeji Are you using SystemJS?

Yes. Downgrade fix this

@adamkleingit I am using jspm for bundling.

I solved this by downgrading. This is my package.json:
"@angular/common": "4.0.0",
"@angular/compiler": "4.0.0",
"@angular/core": "4.0.0",
"@angular/forms": "4.0.0",
"@angular/http": "4.0.0",
"@angular/platform-browser": "4.0.0",
"@angular/platform-browser-dynamic": "4.0.0",
"@angular/router": "4.1.1",
"@angular/upgrade": "4.0.0",
"angular-in-memory-web-api": "~0.1.15",
"angular-tree-component": "3.2.3",


Start SAMS implementation.

WIP

?

?

I'm going to start this again, I've started implementing at the wrong part of the code.

Either that, or @pgrinaway just confused me.

It's looking pretty good.
Did a quick test using tyrosine.
niterations = 5000 # number of dynamics/titration cycles to run
nsteps = 500 # number of timesteps of dynamics per iteration

No SAMS:

SAMS (eq 9):

Nice job, sir!

Still can't figure out why theorem2 isn't working.

@jchodera implemented your suggestions. I would like to test the method on a simple two state harmonic oscillator, though I'm not sure how to implement that. I would plug it into your ipython notebook, but I don't really know what that system is, so I don't really know how to modify it.

A simple harmonic oscillator system with q_j(x) = \exp[-(j+1) x^2 / 2] is all you need.  You can compute Z_j analytically then.
I would do this:

Generalize your code a little bit to use functions to do operations that query the current discrete state and compute log q_j(x) for the current sampler state.
Use some simple stand-in functions that compute these properties for the above harmonic oscillator system instead.

Still trying working on the harmonic oscillator, but so, as far as I can see, the difference in potential energy is so large, that q(x) is dominating the entire update regime toward one state:
q(x)_j = [  1.39168868e+26   6.20887831e+72]
u_j * beta = [ -60.19773031 -167.61210695]
So, perhaps the algorithm is correct, but it'll take really long to converge.

I added a harmonic oscillator as an example. I probably made a mistake in my implementation of the probability, because I don't get 50:50 sampling for either method. But both my implementations get the same answer in the end.

@jchodera I also added your suggestion for numerical stability.

Fixed the harmonic oscillator btw, so as you said, q(x) is calculated wrongly.

So basically, q(x) = exp(-  proton_count * (self.pH - pKref) * math.log(10) + beta * relative_energy) ?

Done, theorem 2 seems to converge to the same point as theorem 1 now. Thanks @jchodera! I can't believe I missed that.

So basically, q(x) = exp(- proton_count * (self.pH - pKref) *
math.log(10) + beta * relative_energy) ?

I think that is right.
We probably want to explicitly add a "reduced_potential()" method that
encapsulates the correct computation of the reduced potential so we have
all calls that need it go through one place.

In https://github.com/choderalab/openmm-constph/blob/sams/oscillator.py#L87
if you just use:
import scipy.stats as stats
    def _get_potential_energies(self, x):
        # beta * U(x)_j
        ub_j = np.empty(self.states.size)
        for j in range(self.states.size):
            sigma = np.sqrt(1.0 / (self.beta*self.force_constant))
            ub_j[j] = stats.norm.logpdf(x, 0, sigma)
        return ub_j

it works fine for me.

But isn't logpdf the negative of the reduced potential?

Actually, logpdf also includes the log normalizing constant too, which is not what we want.

Actually, logpdf also includes the log normalizing constant too, which is not what we want.

Hah, yes, no wonder it works then.

We probably want to explicitly add a "reduced_potential()" method that
encapsulates the correct computation of the reduced potential

Gotcha. On it.

@jchodera, will have to move it into the base class, but is this the kind of structure you were thinking of to use generally?

Yes!

This is good to merge, @jchodera.


:bug: test/e2e/scheduling: don't require kind for upsynced test

Summary
Upsynced test was created, requiring a real k8s cluster to run. This is not truly necessary so we can remove that requirement.

/test e2e-sharded


chore: check TS in the tests and enable strictNullChecks in there

adds a new NPM script called tsc-check-tests to run tsc --noEmit on all the project files including tests (except E2E tests)
runs this new check inside the tests workflow
enables strictNullChecks in the tests, since without that some things cannot work (namely the Result type in adaptive crawler, generally speaking, the narrowing of discriminated union types)
adds a lot of non-null assertion operators, the tests were initially written in JS and way too many places work with optional properties as if they were not optional
disables prefer-destructuring eslint rule, maybe its just my pet peeve, but I hate it

This was quite a ride, and it's still not entirely working. When the project is not built, there are some errors coming from the e2e tests, namely from those that use TS, most likely because they have their own tsconfig.json files. @vladfrangu could you please take a look at that?

As for E2E tests...it shouldn't have compile errors to begin with 😅, I can take a look

I'm torn, I understand why we wanna typecheck tests

We need to check tests to test that our types do what they should. There were never supposed to be type errors in there, and yet, we had quite a lot of them even without the strict null checks enabled.

but at the same, time, it can make it harder to write tests...

On the other hand, I don't mind using any or @ts-ignore in tests extensively, exactly for this reason.

As for E2E tests...it shouldn't have compile errors to begin with 😅, I can take a look

They were there only if executed via tsc --project test/tsconfig.json, my bet is its because they had their own tsconfig.json. I guess its fine now since I skipped the whole e2e folder from this. The last weird part is the dynamic import of got scraping (I've added @ts-ignore over those). It works only if the project is built, like if the paths mapping didn't work without that.


Move thunks out of Store

This moves thunks out of the main Store dispatch method and into a middleware; it fixes #14. The thunk middleware functions exactly as the original behavior did, and is exposed as Rodux.thunkMiddleware. It can be used directly:
Rodux.Store.new(reducer, initialState, { Rodux.thunkMiddleware })

Coverage increased (+0.01%) to 99.31% when pulling c010742c25d9b3d9c631abd541877788dbbc7e9a on AmaranthineCodices:thunk-middleware into 400422a146f00259540698b7405c6c0779f9d269 on Roblox:master.

Do you want to update the README in this PR as well to take out the mention of redux-thunk?
I definitely want to rewrite the README once we have proper documentation and all the dust from these changes has settled.

Sure, I've removed it. The README definitely needs to be revisited, but that's later down the line.

This looks good to me!


Support of Bouncy Castle JCE is not implementing yet

looks like here is chipper from Java JCE only not from BC JCE.
How I can use Cipher from BC?
aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/CipherHandler.java
private static Cipher buildCipherObject(final CryptoAlgorithm alg) {
try {
// Right now, just GCM is supported
return Cipher.getInstance("AES/GCM/NoPadding");
} catch (final GeneralSecurityException ex) {
throw new IllegalStateException("Java does not support the requested algorithm", ex);
}
}

Are you concerned that the AES-GCM implementation may not come from BouncyCastle but rather from Java's default provider? It is a perfectly acceptable implementation. We need to use BouncyCastle for RSA OAEP SHA-256 and ECDSA due to bugs or limited functionality in the default Java implementations, but for everything else, Java's defaults work just fine.
If you want to force BouncyCastle to be used for cryptography throughout your application, you should install it as your highest priority provider. This can be done using Security.insertProviderAt(int).

Thanks


PPA  fail with UBUNTU 16 LTS, does not have a Release file

I am using Debian instructions of http://www.zorba.io/download
after success with sudo add-apt-repository ppa:juan457/zorba
the command sudo apt-get update fineshes with
W: The repository 'http://ppa.launchpad.net/juan457/zorba/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: ... http://ppa.launchpad.net/juan457/zorba/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found

PPA auth:
gpg: chaveiro `/tmp/tmpscjfpx54/secring.gpg' criado
gpg: chaveiro `/tmp/tmpscjfpx54/pubring.gpg' criado
gpg: requisitando chave 680C821A de servidor hkp - keyserver.ubuntu.com
gpg: /tmp/tmpscjfpx54/trustdb.gpg: banco de dados de confiabilidade criado
gpg: chave 680C821A: chave pública "Launchpad PPA for Juan Zacarias" importada
gpg: Número total processado: 1
gpg:               importados: 1  (RSA: 1)

Peter,
The last packages are built for Ubuntu Trusty 14.04. Looks like you have a
newer version of Ubuntu.
For this we recommend doing a build from sources.
See doc page: http://www.zorba.io/documentation/latest/zorba/build
Or you might try to directly install from deb files:

zorba_3.0.0-1~ubuntu14.04.1_amd64.deb
https://launchpad.net/~juan457/+archive/ubuntu/zorba/+files/zorba_3.0.0-1~ubuntu14.04.1_amd64.deb
(8.7
MiB)
zorba_3.0.0-1~ubuntu14.04.1_i386.deb
https://launchpad.net/~juan457/+archive/ubuntu/zorba/+files/zorba_3.0.0-1~ubuntu14.04.1_i386.deb
(8.4
MiB)

Use this command for installing the deb file:
sudo apt install ./name.deb (or /path/to/package/name.deb)
Cezar
On Fri, Aug 25, 2017 at 9:35 AM, Peter<EMAIL_ADDRESS>wrote:

I am using Debian instructions of http://www.zorba.io/download
after success with sudo add-apt-repository ppa:juan457/zorba the command sudo
apt-get update fineshes with
W: The repository 'http://ppa.launchpad.net/juan457/zorba/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: ... http://ppa.launchpad.net/juan457/zorba/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zorba-processor/zorba/issues/10, or mute the thread
https://github.com/notifications/unsubscribe-auth/AApPXo17tIL-1At97U_cFNEjRMR6iBbXks5sbtu9gaJpZM4PCvsb
.

Thanks @cezarfx . Let's try....
wget -c https://launchpad.net/~juan457/+archive/ubuntu/zorba/+files/zorba_3.0.0-1~ubuntu14.04.1_amd64.deb

sudo apt install ./zorba_3.0.0-1~ubuntu14.04.1_amd64.deb

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'zorba' instead of './zorba_3.0.0-1~ubuntu14.04.1_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 zorba : Depends: libicu48 (>= 4.8-1) but it is not installable
E: Unable to correct problems, you have held broken packages.

Peter,
Thanks for trying it. There is always the option of building from sources.
Cezar
On Fri, Aug 25, 2017 at 5:09 PM, Peter<EMAIL_ADDRESS>wrote:

Thanks @cezarfx https://github.com/cezarfx . Let's try....
wget -c https://launchpad.net/~juan457/+archive/ubuntu/zorba/+files/zorba_3.0.0-1~ubuntu14.04.1_amd64.deb
sudo apt install ./zorba_3.0.0-1~ubuntu14.04.1_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'zorba' instead of './zorba_3.0.0-1~ubuntu14.04.1_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
zorba : Depends: libicu48 (>= 4.8-1) but it is not installable
E: Unable to correct problems, you have held broken packages.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zorba-processor/zorba/issues/10#issuecomment-325045227,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AApPXjYZZxDTgxWtDioh9uWbfaosQovaks5sb0Y2gaJpZM4PCvsb
.

... The instruction pages not works, not navigate (using chrome)... There are a simple TXT summary, README or script for it?

The links in the overview page are missing the href, apparently the
generating script has a bug. There might be others link having this problem.
Use this page to navigate directly to the instruction pages.
http://www.zorba.io/documentation/latest/zorba/build
Cezar
On Fri, Aug 25, 2017 at 5:36 PM, Peter<EMAIL_ADDRESS>wrote:

... The instruction pages
http://www.zorba.io/documentation/latest/zorba/build/build not works,
not navigate (using chrome)... There are a simple TXT summary, README or
script for it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zorba-processor/zorba/issues/10#issuecomment-325049085,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AApPXnWQ8PgZiCLwSt9Eyb4FMbp0TTiaks5sb0xwgaJpZM4PCvsb
.


storing images on server

if I want to store captured images on the server and while training images, I will fetch images from the server and then do recognition. For this what should I do and How?

Hi @dhruvi0209
I am also using this library and want to store my faces on server
do yo have any idea or solution for that?
Or anyone else can help?
Thanks


[feature] for each master its own dns

Feature Request
Feature
each master should have its own dns, according to best practice https://kubernetes.io/blog/page/2/
Tradeoffs
one dns ist not enough, https://kubernetes.io/blog/page/2/
update: i managed to get around by applied k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.2.0 with
coredns-autoscaler.yaml.txt

Release notes mentioned this during the switch from kube-dns to CoreDNS. https://github.com/poseidon/typhoon/blob/master/CHANGES.md#v1110

CoreDNS doesn't use a resizer. For large clusters, scaling may be required.

If you're not happy with 1, you can either add your own autoscaler or scale it
kubectl scale deployment coredns -n kube-system --replicas=2


WIP: 3.0.0

(Don't merge this yet)

This is the work in progress rewrite to become compatible with babel6.
Todo:

[x] type alias support (type foo = string;)
[x] type parameters support (Array<string>)
[x] array-tuple support (Array<string, number, boolean>)
[x] Return type guards
[x] Argument guards
[x] Generics support (partial)
[x] Import / export types
[x] Variable declarations (var foo: string = "string")
[x] Static analysis
[x] Descriptive error messages
[x] Rest args support
[ ] New docs
[x] Figure out plugin ordering
[x] Type casting
[x] Assignment checks
[ ] Support Map<string, number>
[ ] Support Set<string>
[x] Support function foo (): RegExp { return /a/; }
[ ] Support proper tuples const foo: [string, number] = ["bar", 123]
[ ] Support InterfaceDeclaration and InterfaceExtends
[ ] Support intersection types
[ ] Support TypeofTypeAnnotation
[ ] Support ObjectTypeIndexer
[ ] Support ObjectTypeCallProperty

Fixes #42
Fixes #39
Fixes #16
Fixes #13
Fixes #10
Fixes #3
Fixes #2
for reference: https://gist.github.com/hzoo/e3a7db9be7a3b0c2094e

@fixplz @motiz88 @STRML this is getting pretty close now, it'd be awesome if you could try it out.

Yeah, will do @phpnode , thanks for the great work!


about "window_size" in train.yaml

hi!
It seems that I didn`t fully understand the paper and the code
In section 4.1 the paper said for kinetics the length of the video is always padded to 300
So in kinetics_gendata.py the data are loaded as [3 300 2 18] for each sample
But in training phase the data is than loaded as [batch 3 150 1 18], which 150 is the window size given in train.yaml
Did I just miss something?
What does the window size in train.yaml mean? Which one is the true video length for training?

Also I found the code in feeder.feeder.Feeder, getitem function, there will be a random choose in the input 300 sequences to pack a 150 length data.
Does it mean, you always pad the origin video to 300 frames, and in training phase in every batch you random choose 150 frames to feed every iter?

Yes, we random choose 150 successive frames  from 300 frames.


How to do single tap using coordinates x,y

Hi,
I tried method singleTap(Coordinates where) i.e. Allows the execution of single tap on the screen, analogous to click using a Mouse.
Parameters:where The location on the screen. Typically a WebElement,
But is there any way to singleTab inside a web element with coordinates.
e.g. i want to click inside a webelement on the coordinates x-20,y-50
Thanks
Anudeep

@anudeepsinghpatelgithub
How you solved the above problem ?
I am also looking for the same.
Thanks,
Yosuva A

Hi,
You can follow this
http://grepcode.com/file/repo1.maven.org/maven2/io.selendroid/selendroid-server/0.4.2/io/selendroid/server/model/TouchScreen.java
Thanks
Anudeep
On Dec 17, 2016 18:01, "ayosuva"<EMAIL_ADDRESS>wrote:

@anudeepsinghpatelgithub https://github.com/anudeepsinghpatelgithub
How you solved the above problem ?
I am also looking for the same.
Thanks,
Yosuva A
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/selendroid/selendroid/issues/429#issuecomment-267760311,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE7Qx03TUwmCN_M3rcr_BAG8DwywglOCks5rI9YogaJpZM4CBVSc
.


Feature Request - Support for Delegate Functions

Delegate functions are not currently picked up by Codeception, would be useful from an opsec and anti analysis point of view if they were obfuscated in line with the rest of Codeceptions actions. In the below example CreateFiber and SwitchToFiber are not obsfucated by Codeception thus end up as strings in the compiled binary giving a pretty clear indication of what the malware is doing.
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
public delegate IntPtr CreateFiber(uint dwStackSize, IntPtr lpStartAddress, uint lpParameter);

[UnmanagedFunctionPointer(CallingConvention.StdCall)]
public delegate IntPtr SwitchToFiber(IntPtr fiberAddress);

Is this from a public project you can link to? Only asking cause sometimes how renames are handled are depended on the entire solution.

Just pushed v1.0.3 and fixing the delegate functions.
If it's still not working please re-open this issue.


Bring back support for Ruby 2.1

Following the discussion in https://github.com/backus/rubocop-rspec/pull/131 where several (more than one) people expressed their wanting to use the newest version of rubocop-rspec with Ruby 2.1.
cc @backus

Thanks. I'll have to push your commit since right now it halts the build if people other than me change the build steps for security reasons.

@bquorning thanks. I'll finish up this branch since I have to add 2.1 to the dockerfile :smile:

Sounds good. You’ll rebase as well? Those #fetch/#[] specs we fixed in #214 are still failing here.

Yup I'll rebase as well

Looks like I'll have to fix one issue with building the native json gem in ruby 2.1. I'll look into it soon

Thanks @bquorning


Add support for receiving events from javascript

This will I think be an OK way to talk with javascript.  DirectedEvents can also return calls to javascript, Receivers can be sent messages.
The final piece to the puzzle!

Not too bad!
component count = div
  [ receiver "incrementReceiver" (const "increment")
  , class' "counter-display" $ div [ text (show count) ]
  ]

countHandler = handler' [] (0 :: Int) reducer
  where
    reducer "increment" state = (state + 1, [])
    reducer "decrement" state = (state - 1, [])

render = countHandler component

jsCounter = [r|
  const startCount = () => {
    window.setInterval(() => {
      sendEvent("incrementReceiver", "increment")
    }, 1000)
  }
  startCount()
|]

getTest = (defaultConfiguration { eventProducers=[jsCounter] }, render)

Might want to allow receiver to take a continuation as well, seems pretty natural you'd want to have an event handler -> receiver -> rest instead of having to stick it there a little awkwardly

Part of #26


GEODE-3937:Fix NPE when executing removeFromDisk

Fix NPE when executing removeFromDisk
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ X] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ X] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ X] Is your initial contribution a single, squashed commit?

[ X] Does gradlew build run cleanly?

[ X] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

Hello Kirk,
I made the changes as per review comments

I added several additional reviewers for the asynceventqueue and wan code.

any comment?

Hi
There are a few things going on in this PR…
First it looks like you are attempting to add a lot of test code to clear a bucket region queue, this in turn ends up with an NPE thrown in DiskEntry.
However, Geode does not currently support clearing the bucket region queue and so this PR introduces some “test” product code.  The regression test then calls this “test” code to do the clear.  The NPE is then thrown.  The NPE itself looks like it would be a product issue, however it turns out that the remove you have attempted to call on the bucketRegion is not the correct remove when it comes to a bucketRegionQueue.  What should have been called is destroyKey from the bucket region queue.  Whenever clear is added to the product, it would have to handle this special case.
The fix to ignore the null in DiskEntry should not be added at this time.  If it were added with this test, the underlying entries would still probably reside in the queue.  The resume sender at the end of the test is why the queue ends up getting cleared.
I don’t think we should be adding this product code or the related “test” code.  It is hiliting a problem that does not currently exist in Geode.  The NPE is due to invalid test code.
here is are the entry that is removed when removing from a BucketRegionQueue:
[vm4] mapDestroy:EntryEventImpl[op=DESTROY;region=/__PR/_B__ln__PARALLEL__GATEWAY__SENDER__QUEUE_0;key=100;oldValue=null;newValue=null;callbackArg=null;originRemote=false;originMember=<IP_ADDRESS>(30103):32773;id=EventIDid=18bytes;threadID=2;sequenceID=0]]
Compared to the entry the test code attempts to remove:
[vm4] mapDestroy:EntryEventImpl[op=DESTROY;region=/ln_PARALLEL_GATEWAY_SENDER_QUEUE;key=100;oldValue=null;newValue=null;callbackArg=null;originRemote=false;originMember=<IP_ADDRESS>(30117):32773;id=EventIDid=18bytes;threadID=1;sequenceID=51]]
The BucketRegionQueue explicitly sets itself as the region to remove from, whereas the remove that was called in the test code does not do this.

i need to use
BucketRegionQueue q=   this.getBucketRegionQueueByBucketId(partitionedRegion, bucketId);
q.destroyKey(key);
??

You would need to do that if you want to remove a key from a bucketRegionQueue. Based on your test code it would be:
private void clearBucketRegionTestOnly(BucketRegion bucketRegion) {
Set keySet = bucketRegion.keySet();
for (Iterator iterator = keySet.iterator(); iterator.hasNext();) {
Object key = iterator.next();
((BucketRegionQueue) bucketRegion).destroyKey(key);
}
}
However this pull request is about an NPE that does not exist in the product at this time, so I don't think this pull request should be committed

destroyKey it will remove the key & value. i am trying to clear the queue which meas. it will remove key & value holding inside a region which hold by async-queue.
can i add clear method in ParallelGatewaySenderQueue.java and create another pull request??

I think if you plan on adding a new api you would have to start a discuss topic on the dev list.  I would think you would want to add clear to all the gateway sender queues at that point but the change would have to be pretty thoroughly tested.  The change to call destroyKey was just a way to show you that the way that it was currently coded in the test code was not correct.  I am not sure if it is enough to just call that or if there is other book keeping that needs to be done.

thanks. i will start discussion on this  for adding the clear api.

will open another


Add Marko to the developers declared in the root pom.xml

This is long overdue :).

Absolutely :) /CC @marko-bekhta

Thanks! :)


Addressing bugs with tooltip

Found one minor issue that's cross platform, need to call updatetooltip on app load so it shows up immediately instead of after 10 seconds.
Do not want to merge this just yet, figured could leave this pull request open so that this branch can also be used to address https://github.com/hovancik/stretchly/issues/98

Codecov Report

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

@@           Coverage Diff           @@
##           master      #99   +/-   ##
=======================================
  Coverage   88.59%   88.59%
=======================================
  Files           6        6
  Lines         114      114
  Branches       18       18
=======================================
  Hits          101      101
  Misses         13       13

Continue to review full report at Codecov.

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


Update Auto_Driving--Sensor_calibration_cn.md

ant → 天线

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


Update

⚠ Most likely you want to create a request from your branch to the main branch of your fork, but not to the original repository.
👉 A request to the original repository is only needed when you want to contribute to the assessment: add new skills or change the automatic analysis.

Read autogenerated message in your PR: https://github.com/HowProgrammingWorks/SelfAssessment/pull/164


webp conversion no longer working

Example image: https://cdn.statically.io/img/solar-assistance.be/wp-content/uploads/2020/06/bg-hp-2195x1233-c-default.jpg?quality=70&f=auto&quality=70&f=auto
Response headers:

accept-ranges: bytes
access-control-allow-origin: *
access-control-expose-headers: *
age: 991
alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400
cache-control: public, max-age=31536000, immutable
cf-bgj: imgq:100,h2pri,csam-hash
cf-cache-status: HIT
cf-polished: status=not_needed
cf-ray: 5d017aece9cefa18-AMS
cf-request-id: 0514cb280e0000fa18943dc200000001
content-length: 187430
content-type: image/jpeg
date: Wed, 09 Sep 2020 14:08:14 GMT
etag: "stlystlycf4oUxeVtyMMPPe1UcRTsMRg:3776d-5ac35b9c148b5"
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
link: https://solar-assistance.be/wp-content/uploads/2020/06/bg-hp-2195x1233-c-default.jpg; rel="canonical"
server: cloudflare
status: 200
strict-transport-security: max-age=31536000; includeSubDomains; preload
timing-allow-origin: *
vary: Accept, Accept-Encoding
x-cache: HIT
x-content-type-options: nosniff
x-served-by: cache-ams21064-AMS

Is this a temporary outage? I've been told Cloudflare in some cases decides to not serve webp images but all of them?
Thanks in advance.

Hey @bobhuf you can learn about this behavior here https://statically.discourse.group/t/82


sfproj issue

If i move any of the sfproj projects to a subdirectory it creates an Output path error this makes it hard transitioning the samples ( eg remove the sfproj , create a sub dir , move it in and re add to solution ) .,

Yep, seeing the exact same issue, same scenario.

That's probably because you didn't update the relative paths for the  elements in the .sfproj file.  Be sure to update both the Project and Condition attributes of those elements.  And, of course, you'd also need to update the relative paths of the references to your service projects.

That's probably because you didn't update the relative paths for the &ltImport> elements in the .sfproj file. Be sure to update both the Project and Condition attributes of those elements. And, of course, you'd also need to update the relative paths of the references to your service projects.


Docker Build attestations

📚 Context
Problem:
Currently, there is a lack of visibility into the build process and contents of Docker images used in the project. This makes it challenging to assess the security risks associated with using open source and third-party packages.
Relevance:
With the widespread use of open source and third-party packages, ensuring the security and integrity of the images we use is crucial for maintaining the security of our project. By implementing attestation in the Docker building process, we can enhance transparency and make informed decisions about the images we use.
Benefits:

Enhanced supply chain security: Attestations provide visibility into the build process and contents of Docker images, enabling us to assess and mitigate security risks.
Compliance and auditability: Attestations serve as a record of how images were built, aiding in compliance with security standards and regulations.
Informed decision-making: With attestation, we can make informed decisions about the images we use, based on their provenance and contents.

✔ Solution
Implement attestation in the Docker building process to generate build attestations, including Software Bill of Material (SBOM) and Provenance.
📈 Subtasks
Use existing Bake files to implement attestation in the Docker workflows:

[ ] Implement Software Bill of Material (SBOM) --> list of software artifacts that an image contains, or that were used to build the image.
[ ] Implement Provenance --> how an image was built.

Useful resources :
https://github.com/actions/attest-sbom


Spy, tool, Debugging stores

Hi friend, did RES have a way to get all stores debug in developperTools ?
Any specific plugins or did you have natively something to spy All stores when a app run ?

How you guys perform debugging with this library ?
Only with console.log ?

Hi! We don't have any official debug tools yet. It's on the roadmap but not for the next release, unfortunately. For now, the best way to debug is:

console.log
exposing the buggy store on the window (window.debugStore = myStore) and mutating/logging it from the browsers developer console to trigger/see state changes and how the views update

@solkimicreb is there a way to attach console.log to the proxies of the store to log every single mutation it happens?
I remember to have used something similar in some old version but can't find it now

@ciaoben Not in the current version (it was an undocumented thing so we removed it without any announcement). It is coming back in the next version in a more generic and powerful way though.
The API will be something like
const myStore = store({}, {
  proxyHandlers: {
    get: () => {},
    ....
  },
})

You will be able to intercept/overwrite any operation in a store with the proxyHandlers. It is intended to be a low level API for further changes but it will be public and available for anyone to use.

thank you for this clarification.
Otherwise on my side I improvise an alternative with nwjs and electron.
https://nwjs.io/
For who dev desktop app, i just open a new context window and share a global stores with ref of all child's stores.
Similar to this demo.
https://github.com/RisingStack/react-easy-state/issues/182
Work but not perfect! You can add a onChange to make FX when a store change.
It limited design but work fine.


"server responded with a status of 404" /l10n/en.json

I have same problem described here: https://www.traccar.org/forums/topic/login-window-wont-load-remotely/
When I load the website using https:// (even locally on the server) - the background image is loaded, the spinning wheel is showing.
Console window shows /l10n/en.json 404 (Not Found).
The server is Windows Server 2008, IIS 7.
I checked, the file exists, permissions are fine.

Update: after a bit of Googling and some fiddling now I get error 502.3

How is this related to Traccar? Why is there IIS involved? Traccar has its own web server.

Ok, I must be in the wrong place?
Yeah, Anton, you are right, it's not a Traccar problem, it's a problem with my installation of Traccar.


link NSPR dynamically

As we are trying to build epiClassifier for Debian 9, we might as well link dynamically to the existing NSPR library: libnspr4-dev (2:4.12-6) https://packages.debian.org/stretch/libnspr4-dev
proposed change:
-#include "prtime.h"
+#include <nspr/prtime.h>

Done.


Pinochle: Feedback on bot's passing

Playing Pinochle, the bots frequently keep Trump in their hand when they have 2, 3, or 4 cards of Trump to pass. For example, my friend and I were playing as we frequently do and I called for Diamonds as trump for my bot to send me. The bot had an Ace, Ten, and 2 Jacks of Diamonds in its hand. Bot sent me the Ace, Ten, and 1 Jack of Diamonds and a Jack of Hearts. I had doubles of Aces, Tens, Kings, and Queens of Diamonds in my hand. I would have had a double run had the bot sent all diamonds to me. The bot kept 1 Jack of Diamonds so that it could meld Jacks around! The bot should always give all the trump it has and not keep any so that it could have Aces, Kings, Queens, or Jacks around! If the bot has 5 or more of the suit called for, then it should Ace, marriages, Kings, Queens, Tens, and Jacks. Of course, this would be a more difficult program to write. But it happens to us frequently that the bots keep a needed trump so that it could meld an “around” when if it had submitted all 4 of its Trump cards, our score would have been much higher than the score we had when it kept 1 of the Trump cards so it could score an "around".

Last night in a game started at 10:53 EST, with SnikSnak as my partner vs Duck Squad and Brindabella, Brindabella had a hand where the bot passed his meld and shredded his meld, including torching queens in a pass back to Brindabella’s partner. Something in programming hierarchy is destroying melds in certain situations.


Devmodel add usb

devmodelcommon.proto: Add types for USB devices
Unfortunately I forgot to add these types before and
one commercial controller started using the IDs
13 and 14, therefore we<EMAIL_ADDRESS>and I) decided
to squeeze in these types and increase the IDs for CAN
as they're not used yet.

Yetus fails:

yetus: proto/evecommon/devmodelcommon.proto#L27
bufcompat:Enum value "13" on enum "PhyIoType" changed name from "PhyIoCAN" to "PhyIoUSBController".
yetus: proto/evecommon/devmodelcommon.proto#L27
buflint:Enum value name "PhyIoUSBController" should be prefixed with "PHY_IO_TYPE_".
yetus: proto/evecommon/devmodelcommon.proto#L27
buflint:Enum value name "PhyIoUSBController" should be UPPER_SNAKE_CASE, such as "PHY_IO_USB_CONTROLLER".
yetus: proto/evecommon/devmodelcommon.proto#L28
bufcompat:Enum value "14" on enum "PhyIoType" changed name from "PhyIoVCAN" to "PhyIoUSBDevice".
yetus: proto/evecommon/devmodelcommon.proto#L28
buflint:Enum value name "PhyIoUSBDevice" should be prefixed with "PHY_IO_TYPE_".
yetus: proto/evecommon/devmodelcommon.proto#L28
buflint:Enum value name "PhyIoUSBDevice" should be UPPER_SNAKE_CASE, such as "PHY_IO_USB_DEVICE".
yetus: proto/evecommon/devmodelcommon.proto#L29
bufcompat:Enum value "15" on enum "PhyIoType" changed name from "PhyIoLCAN" to "PhyIoCAN".

It complains about changing the IDs, which is expected and it complains about UPPER_SNAKE_CASE, but we want to keep the style.


Add link to Creating a Bing Maps Account article

Docs Build status updates of commit a043832:
:warning: Validation status: warnings

File
Status
Preview URL
Details

BingMaps/v8-web-control/developer-resources.md
:warning:Warning
View
Details

BingMaps/v8-web-control/TOC.yml
:white_check_mark:Succeeded
View

BingMaps/v8-web-control/developer-resources.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'bing-maps'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Ability to disable background dim

Is there a functionality to disable the background dim?

Hi raylee4204,
No, unfortunately it is not possible to modify the background dim with the current version.

Do you have plans to add it ?


[C++][Parquet] Parquet/WriterProperties class to chose serialization options

We need a class similar to ParquetProperties in parquet-column where we define the basic settings on a global and per-column basis like compression, encodings, page size, ... that will be used during serialization. At the moment we have hard-coded defaults that will not suit everyone's needs.
Reporter: Uwe Korn / @xhochy
Assignee: Deepak Majeti](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mdeepak) / @majetideepak
Note: This issue was originally created as PARQUET-590. Please see the migration documentation for further details.

Deepak Majeti / @majetideepak:
Issue resolved by pull request 89
https://github.com/apache/parquet-cpp/pull/89

Mark Schaefer:
That pull request did not fix the issue: This block of code is still there:
// TODO(PARQUET-590): Encodings are hard-coded
int64_t bytes_written = pager_->WriteDataPage(num_buffered_values_,
num_buffered_encoded_values_, definition_levels, Encoding::RLE, repetition_levels,
Encoding::RLE, values, Encoding::PLAIN);

Deepak Majeti / @majetideepak:
Issue resolved by pull request 142
https://github.com/apache/parquet-cpp/pull/142

Deepak Majeti / @majetideepak:
Looks like there are some more hard coded properties. Re-opening this JIRA.


remove systemd notify as systemd is not used for management anymore

also needed to remove direct dependency in microshift https://github.com/openshift/microshift/blob/main/go.mod#L6

/retest

/label docs-approved
/label qe-approved
/label px-approved

/retest

/lgtm


Update PyMongo to version 4.3.3

What type of PR is this?

[x] Dependency update

Description
Just a simple dependency update, so we can see if PyMongo 4.3.3 builds without breaking
How is this tested?

[x] Unit tests (pytest, jest)
[x] E2E Tests (Cypress)

Related Tickets & Documents
#59 - Unsupported OP_QUERY command

The updated PyMongo dependency passed the existing Redash test suite, so I'll merge this.