Structure all aliases (one PR per command group)

Add new several aliases where each alias consists of first two letters of each word.
List of existing aliases

[ ] ag
[ ] ansible
[ ] apt
[ ] atom
[ ] bash-it
[ ] bolt
[ ] bundler
[ ] clipboard
[ ] composer
[ ] curl
[ ] dnf
[ ] docker
[ ] docker-compose
[ ] emacs
[ ] fuck
[ ] general
[ ] git
[ ] gitsvn
[ ] heroku
[ ] hg
[ ] homebrew
[ ] homebrew-cask
[ ] homesick
[ ] jitsu
[ ] kubectl
[ ] laravel
[ ] maven
[ ] msys2
[ ] node
[ ] npm
[ ] osx
[ ] phoenix
[ ] puppet
[ ] pyrocms
[ ] rails
[ ] svn
[ ] systemd
[ ] terraform
[ ] terragrunt
[ ] textmate
[ ] tmux
[ ] todo.txt-cli
[ ] uuidgen
[ ] vagrant
[ ] vault
[ ] vim
[ ] yarn

List of new aliases

[ ] echo, printf
[ ] if, for, while, until, select
[ ] declare, local, typeset, let

Sorry, I'm generally against adding aliases that are not obviously useful to the intended audience. (Obviously they don't need to be useful to everyone!) Aliases are captured by functions, so adding unneeded aliases increases unforeseen risks in entirely unrelated code.
for example:
alias gs='git stash'

function Ghostscript-something-something() {
    # some stuff...
    gs --silent --sss=blah
}

type Ghostscript-something-something

Notice that my function definitions mentions git absolutely nowhere, but notice alsö that when I ask for it's definition it absolutely does say git stash right there.

I want make alises easy to memorize. I can't find any naming rules for them now. But also I don't want make breaking change (rename aliases) because they may be in use now. That's why I add new aliases instead of renaming. After a while I am going to remove old aliases.
Here is an example:
alias yaa='yarn add' # YArn Add
alias yapa='yarn pack' # YArn PAck, but not YArn Pack

How to remember which aliases use just first letter of the second word and what use two or more letters? There are many such examples.


GBA SP support ?

Hi, is it supposed to work with GBA SP ?
Because I can't get past "Waiting for a GBA on port 2...". I tried v1.6, then 1.2 and 1.3 (with almost no hope it would be different).
The controller in port 1 is recognized (exit is working).

I exclusively tested it with a gba sp, you sure your link cable is properly plugged in and you booted it without any game inserted? also some cables simply seem to not work properly for some reason so it may just be your cable having issues.

Yep, even tried to start it before or after the homebrew is launched, and at first I tried with the Select+Start technique.
The cable is (as far as I can remember) an official (and I used it in the past on Wind Waker).
There's another Wii I'll be able to try it on so I'll do that (and write a feedback if I don't forget), otherwise I may use https://www.insidegadgets.com/projects/gbxcart-rw/.
As the main question is answered, I close, thank you :)

For reference, it is this one https://commons.wikimedia.org/wiki/File:Gamecube_-GBA_cable_adapter-_Third_Party.JPG, and it seems not to be an official one (plus no marking on it) :(


Error when trying to merge when use type is function

Check the version of webpack-merge you are using. If it's not the newest version, update and try again (see changelog while updating!). 4.1.4
If the issue is still there, write a minimal script showing the problem and expected output. You can also set up a repository (even better).
Include the script to the issue. Mention Node version(Node 12) and OS in your report.

I am using webpack merge to merge my common configuration to my dev configuration.
In my common block I am adding rule for svg which uses use block as an array. Example:
{
         test: /\.svg$/,
         use: [
           {
             loader: require.resolve("url-loader"),
             options: {
               // some options
             },
           },
         ]
}

In my dev file I wanted to override it and wanted to use function signature of use section. This documented here
My code example:
{
         test: /\.svg$/,
         use: function (info) {
             return [
                 { loader: "babel-loader", }
                 {
                     loader: require.resolve("react-svg-loader"),
                     options: {
                         // some options
                     },
                 },
              ];
         }
}

I expect my final output to be the one containing the function and completely remove the older one.
Merge strategy: "smart"
But current code doesn't understand the function data type yet. And is raising error when trying to merge arrays smartly.

Note: I am using function because I wanted to override not merge this specific section. And I can't change the merge strategy because I need loaders merging in other blocks of my configuration.

I think this is probably a duplicate of this issue.

I think this is different as the issue you mentioned @onetrev is for enabling the input configuration as function but, this is about allowing the use property in rules to be a method.

I'll drop the support for smart merging in v5 (see #135) as there are lots of corner cases like this that aren't easy to support. The recommendation is to move to use the regular merge function and then use the utilities included for anything special.


Android - Chat - The input field jumps when editing

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the App
Login with any account
Go to any chat
Sent any message
Tap and hold to view the action menu
Tap on the Pencil icon to activate the edit message box

Expected Result:
The input field NOT jumps
Actual Result:
The input field jumps
Workaround:
unknown
Platform:

Where is this issue occurring?

Mobile Web

Version Number: v1.2.38-0
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/206919612-42ef305e-ba08-440b-93f6-2aad36d3f07d.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
View all open jobs on GitHub

Seems the keyboard is being dismissed when it shouldn't be. I can help manage this after BZ checks

I am heading ooo so need to reassign -  Reapplying the bug label

Isn't this a dupe of https://github.com/Expensify/App/issues/11048?

100% looks like a dupe to me, closing this one in favor of #11048


[Minor]Override toString of KeyValueGroupedDataset

What changes were proposed in this pull request?
before
scala> val words = spark.read.textFile("README.md").flatMap(_.split(" "))
words: org.apache.spark.sql.Dataset[String] = [value: string]

scala> val grouped = words.groupByKey(identity)
grouped: org.apache.spark.sql.KeyValueGroupedDataset[String,String] = org.apache.spark.sql.KeyValueGroupedDataset@65214862

after
scala> val words = spark.read.textFile("README.md").flatMap(_.split(" "))
words: org.apache.spark.sql.Dataset[String] = [value: string]

scala> val grouped = words.groupByKey(identity)
grouped: org.apache.spark.sql.KeyValueGroupedDataset[String,String] = [key: [value: string], value: [value: string]]

How was this patch tested?
existing ut
cc @gatorsmile @cloud-fan

Can one of the admins verify this patch?

ok to test

Test build #82238 has started for PR 19363 at commit a9b30bd.

Test build #82238 has finished for PR 19363 at commit a9b30bd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82238/
Test PASSed.

Test build #82259 has started for PR 19363 at commit 289b23d.

Test build #82259 has finished for PR 19363 at commit 289b23d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82259/
Test PASSed.

Merged build finished. Test PASSed.

cc again @cloud-fan @gatorsmile

cc @viirya Could you review this PR?

Maybe add a simple test?

Although this toString in scala-shell looks good, when you print out directly, it might look weird because you just see:
[key: [value: string], value: [value: string]]

It's better to add prefix of the class name, like.
KeyValueGroupedDataset: [key: [value: string], value: [value: string]]

Btw, I think this might need a minor/trivial JIRA ticket.

shall we fix RelationalGroupedDataset too?

Ok，i will add a jira tgt and fix RelationalGroupedDataset

Test build #82548 has started for PR 19363 at commit 7e7ed19.

Test build #82548 has finished for PR 19363 at commit 7e7ed19.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82548/
Test PASSed.

Test build #82549 has started for PR 19363 at commit f051c10.

Test build #82549 has finished for PR 19363 at commit f051c10.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82549/
Test PASSed.

Test build #82574 has started for PR 19363 at commit fe0d64a.

Test build #82574 has finished for PR 19363 at commit fe0d64a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82574/
Test PASSed.

Merged build finished. Test PASSed.

Test build #82619 has started for PR 19363 at commit c02f633.

Test build #82619 has finished for PR 19363 at commit c02f633.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82619/
Test PASSed.

Please replace [Minor] with [SQL].

cc @viirya @cloud-fan @gatorsmile

Test build #82776 has started for PR 19363 at commit 9166640.

Test build #82776 has finished for PR 19363 at commit 9166640.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82776/
Test PASSed.

Test build #82786 has started for PR 19363 at commit 1c0a6d0.

Test build #82786 has finished for PR 19363 at commit 1c0a6d0.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82786/
Test FAILed.

retest this please

Test build #82828 has started for PR 19363 at commit 955e3c9.

LGTM, pending jenkins

Test build #82828 has finished for PR 19363 at commit 955e3c9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82828/
Test PASSed.

hi @cloud-fan jenkins ok

merging to master!


Panic using coed from web socket test

Just wondering if this interface has been tested lately as if I replicate the test code for web socket in my code:
bmx.bc.On(bitmex.BitmexWSOrderBookL2, func(m bitmex.OrderBook) {
	fmt.Printf("\rOrderbook Asks: %#v Bids: %#v                            ", m.Asks[0], m.Bids[0])
})

Then it aborts as soon as it sees the first orderbook update. I can try the tests included but I think that perhaps things are out of date because not all the dependencies are using modules?
2019/06/06 15:25:10 sendAuth
2019/06/06 15:25:10 {"op":"authKey","args":["vq8piOYJ-8a-IvY_XInMimBr",1559806322,"339d10bac5e548ac269f4e9d33d853eeb38f84afe96a36c5d213c91693a9a9c2"]}
2019/06/06 15:25:12 Dial: connection was successfully established with wss://www.bitmex.com/realtime
2019/06/06 15:25:12 sendAuth
2019/06/06 15:25:12 {"op":"authKey","args":["vq8piOYJ-8a-IvY_XInMimBr",1559806324,"8368ac8808c5f1c6be801e5a1652114cee906f11d4bd32278f6f341c470995be"]}
2019/06/06 15:25:12 subscribe {subscribe [orderBookL2:XBTUSD]}
2019/06/06 15:25:12 {"op":"subscribe","args":["orderBookL2:XBTUSD"]}
2019/06/06 15:25:12 Dial: connect handler was successfully established with wss://www.bitmex.com/realtime
2019/06/06 15:25:12 Unknown message Msg=bitmex.Response{Success:false, Subscribe:"", Request:interface {}(nil), Table:"", Action:"", Data:interface {}(nil)}
2019/06/06 15:25:12 resp: {"info":"Welcome to the BitMEX Realtime API.","version":"2019-06-03T22:18:06.000Z","timestamp":"2019-06-06T07:25:11.977Z","docs":"https://www.bitmex.com/app/wsAPI","limit":{"remaining":39}}
2019/06/06 15:25:12 {"success":true,"request":{"op":"authKey","args":["vq8piOYJ-8a-IvY_XInMimBr",1559806324,"8368ac8808c5f1c6be801e5a1652114cee906f11d4bd32278f6f341c470995be"]}}
2019/06/06 15:25:12 {"success":true,"subscribe":"orderBookL2:XBTUSD","request":
panic: reflect: Call with too many input arguments

goroutine 1121 [running]:
reflect.Value.call(0x17eba20, 0x196d7c0, 0x13, 0x1912449, 0x4, 0xc00096e0c0, 0x2, 0x2, 0x2, 0xc00096e0c0, ...)
	/usr/local/opt/go/libexec/src/reflect/value.go:367 +0x151d
reflect.Value.Call(0x17eba20, 0x196d7c0, 0x13, 0xc00096e0c0, 0x2, 0x2, 0x1, 0x2, 0x105a446)
	/usr/local/opt/go/libexec/src/reflect/value.go:308 +0xa4
github.com/chuckpreslar/emission.(*Emitter).Emit.func1(0xc0012c44b0, 0xc0004ca600, 0x17ee0e0, 0x1a6db50, 0xc000940400, 0x2, 0x2, 0x17eba20, 0x196d7c0, 0x13)
	/Users/jimi/go/pkg/mod/github.com/chuckpreslar/emission@v0.0.0-20170206194824-a7ddd980baf9/emitter.go:209 +0x3ef
created by github.com/chuckpreslar/emission.(*Emitter).Emit
	/Users/jimi/go/pkg/mod/github.com/chuckpreslar/emission@v0.0.0-20170206194824-a7ddd980baf9/emitter.go:184 +0x1b3

Sorry, the Api has updated.
Code like this:
b.On(BitmexWSOrderBookL2, func(ob OrderBookDataL2) {
m := ob.OrderBook()
fmt.Printf("\rOrderbook Asks: %#v Bids: %#v                            ", m.Asks[0], m.Bids[0])
})


Applied some of FALLTHROUGH macro usage from #30122

I am not sure how to deal with third party libraries as the macro is not defined there....and afaik thirdparty libraries usages should be 1 way only.

I think you should remove the // fallthrough comments.

Thanks!

Cherry-picked for 3.1.2.


Fix clippy and update .gitignore

All of the exported constants had the 'static lifetime specified, which is not necessary.
I also added the /.idea folder to make this project easier to work on for users of JetBrains' IDEs.

looks good, thanks!


Macos 12.7 Monteray python3.11 requirements installation issue

Requirement already satisfied: setuptools in /usr/local/lib/python3.11/site-packages (from imageio-ffmpeg==0.4.9->-r MAC-requirements.txt (line 73)) (70.3.0)
INFO: pip is looking at multiple versions of numba to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r MAC-requirements.txt (line 107), -r MAC-requirements.txt (line 15), -r MAC-requirements.txt (line 2), -r MAC-requirements.txt (line 24), -r MAC-requirements.txt (line 29), -r MAC-requirements.txt (line 37), -r MAC-requirements.txt (line 43), -r MAC-requirements.txt (line 59), -r MAC-requirements.txt (line 72), -r MAC-requirements.txt (line 90), -r MAC-requirements.txt (line 96), -r MAC-requirements.txt (line 98) and numpy==1.26.4 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested numpy==1.26.4
    accelerate 0.24.1 depends on numpy>=1.17
    blis 0.7.11 depends on numpy>=1.19.0; python_version >= "3.9"
    clean-fid 0.1.35 depends on numpy>=1.14.3
    contourpy 1.2.0 depends on numpy<2.0 and >=1.20
    deepspeed 0.8.3 depends on numpy
    encodec 0.1.1 depends on numpy
    gruut 2.2.3 depends on numpy<2.0.0 and >=1.19.0
    imageio 2.32.0 depends on numpy
    librosa 0.10.0 depends on numpy>=1.20.3
    matplotlib 3.7.3 depends on numpy<2 and >=1.20
    moviepy 1.0.3 depends on numpy>=1.17.3; python_version != "2.7"
    moviepy 1.0.3 depends on numpy; python_version >= "2.7"
    numba 0.57.0 depends on numpy<1.25 and >=1.21

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

[notice] A new release of pip is available: 24.1.2 -> 24.2
[notice] To update, run: python3.11 -m pip install --upgrade pip

Did anyone see the same issue? I will post updates in comments if I find something on the internet.

Install pyenv


Remove the old TTS engine

@kevmo314 Does more need to be done here other than what I did on tts.dart with this merge https://github.com/muxable/rtchat/pull/1195


ping ubuntu-flutter-community

Hello @Feichtmeier and @bittin, would this app fit ubuntu-flutter-community? I would like to join.

Yes, I'm open for moving firstlogon-tour from Floflis' org to ubuntu-flutter-community.
So whenever I need something Floflis-exclusive, I should fork it and merge upstream or not.

hello, there is this official ubuntu welcome repo now https://github.com/canonical/ubuntu-welcome
But if your app fullfills other tasks I would recommend also to make use of yaru.dart and yaru_icons.dart :) eventually also yaru_widgets if needed
if this is an active app sure we could take it into our orga
Just some important notes:

we are not canonical
man power really changes from week to week
no promises that I can help you with your project
best regards

@Feichtmeier, some things have changed since this comment's time.
The app now supports other distros (as shown in README.md's new screenshots) and now run a custom backend for applying settings personally according to the distro.
There's also some font size improvements.
But the most important: the current release being worked on is r3, and I plan to introduce GNOME/Yaru design/widgets only at r4.
So, I don't feel me confident (despite the recent improvements) at the moment, until r4, to submit this app to your org.
Although since now, you could add me to the org so I'll have the permission to move the repo once I feel it is ready (so no need to ping you twice).

Offtopic: Feichmeier, are you aware about a flutter yaru widget that can replace Material's cards for imaged option choosing?
Kinda like seem here:


Operator(objects.include)

In GitLab by @evanplaice on Jan 18, 2019, 23:07
objects.include
Filters an object by key to only include properties whitelisted by the second arg
Milestones

[ ] implemented
[ ] documented
[ ] tested
[ ] check style

Details
To accomplish this, the object needs to be:

converted to an 2D array using Object.Entries()
filtered by key
converted back to an object

Due to the reliance on Object.entries() this function may not be compatible with some browsers.
References

Object.entries()
object.filterByKey

In GitLab by @evanplaice on Jan 18, 2019, 23:47
changed title from {-5-} to {+Operator(objects.include)+}

In GitLab by @evanplaice on Jan 18, 2019, 23:47
changed the description

Added in 0.29


Correction in example in readme.md

sql.js:20 Uncaught (in promise) Error: table "games" has more than one primary key
    at Database../node_modules/sql.js/js/sql.js.Database.handleError (sql.js:20)
    at Database../node_modules/sql.js/js/sql.js.Database.run (sql.js:20)
    at trilogy.js:278
    at <anonymous>

Primary key duped in table "game". It is needed to remove one.

Thanks @YagoLopez, I noticed and fixed this on next but tie goes to the user 😄

hehe 😄 no problem 👍


Added houses wear-tear filter

Added new filter for housed wear-tear.
Set values of distribution and colors on my own - wanna know if they are okay or should be changed.

LGTM!


Lens error after fresh install on Windows

Describe the bug
I just installed Lens Desktop on my machine and it fails when opening with "ERROR!!
No matching route for the current path: /extension/lensapp--lenscloud-lens-extension/welcomepage which is the welcomeUrl. This is a bug."
To Reproduce
Steps to reproduce the behavior:

Fresh install Lens Desktop on Windows 11
After opening the application I see the error

Expected behavior
The application should work without any errors as it's just installed.
Screenshots

Environment (please complete the following information):

Lens Version: 2024.1.300751-latest
OS: Windows 11 Pro 23H2
Installation method (e.g. snap or AppImage in Linux): Installed using Lens Setup 2024.1.300751-latest.exe

Kubeconfig:
I didn't use any kubeconfig yet

It can't create a folder for this extension. Is there enough disk space? Or maybe are there some file permissions problems?

I have full permissions over this application. There is also no problem with disk space

I had the same error on Ubuntu with the same Lens Desktop version as yours.
I removed Lens Desktop from my Ubuntu and deleted the Lens directory that was located in the config directory. It solved the issue.
I did the following commands:
apt remove lens
apt purge lens
rm -rf ~/.config/Lens
And then I installed the Lens and logged in again.
Translate the commands for Windows and I believe you will solve it.


installer: catch errors in all command and shell tasks

roles to do:

[ ] api

no ansible build in commands for hasura
shell script apache_create_server_cert.sh is still executed
no ansible module for enabling apache2 sites

[x] common
[x] database
[x] docker
[x] frontend-php
[x] importer
[x] lib
[ ] middleware

we need command: ldapmodify
one issue: The goal is to replace debian specific commands. For now this is a collection
1. In auth_install_dot_net.yml
    name: install ms package list
    command: "dpkg -i {{ auth_server_base_dir }}/{{ dotnet_deb_name }}"

2. In ui_install_dot_net.yml
    name: install ms package list
    command: "dpkg -i {{ ui_dir }}/{{ dotnet_deb_name }}"

[ ] openldap-server - single     shell: "slappasswd -T {{ fworch_home }}/etc/secrets/ldap_manager_pw.txt"
[ ] sample-auth-data

we need command: ldapmodify

[ ] sample-data

we need command: ldapmodify

[x] sample-data-connect-sting
[ ] test
[ ] ui roles/ui/tasks/ui_apache_install_and_setup.yml
"dotnet publish -c {{ dotnet_mode }}" --> add error handling

      command: "a2ensite {{ product_name }}-ui"
      register: testoutput

    - name: test
      debug:
        var: testoutput

--> there currently is no ansible module for enabling apache2 sites (not modules), so we need to use command and add error handling

[x] upgrade-completion
[x] webhook

From Ansible Documentation:
Error handling in playbooks
When Ansible receives a non-zero return code from a command or a failure from a module, by default it stops executing on that host and continues on other hosts.
This means, that we have to decide for the remaining commands whether non-zero return codes should be treated as succes


Is there a way to print a node to string?

Is there a way to convert a node (e.g. MethodDeclaration) into a string, either pretty-print (aka, reformatting) or print the original code?
I didn't find such methods in javalang. I had experiences with Roslyn in .net and javaparse. Both support this functionality.

If I understand correctly you need to retrieve the name of the method being declared. In that case check the attributes:

node.name
node.children

No. I meant the entire code of a method in string. For example, javaparser even supports two types: one that pretty prints the code and one that preserves the original spaces.

Unfortunately there is no (easy) way to do this at the moment. There are a couple related issues which would address this if someone was up to attempting them and submitting a PR, #37 and #14

Thanks for the response :-)

This is very old but this is the solution I came up with for my problem.
def get_code_snippet (lines, index):
            openingBrackets = 0;
            closingBrackets = 0;

            # Resulting snippet
            snippet = ""

            # loop until we find the final closing bracket, or go over the limit
            while index < len(lines):
                line = lines[index]
                for letter in line:
                    if letter == '}':
                        closingBrackets += 1
                    elif letter == '{':
                        openingBrackets += 1

                    # Early end if we have reached last bracket
                    if closingBrackets == openingBrackets and openingBrackets != 0:
                        return snippet

                    snippet += letter
                index += 1

            return snippet

I called the method in this way:
lines = code.split("\n")
for child in node.body:
    get_code_snippet (lines, child.position[0] - 1)

how to use your code ? ( what is node ?) @leviv


DNS Lookup when adding host

Is your feature request related to a problem? Please describe.
Add option to do a dns lookup, whether DNS entry is already created when adding a host
Describe the solution you'd like

When adding a host add a button, that does dns resolution.
Also, we can check with current public ip and match provide additional information
Describe alternatives you've considered

Additional context

I could work on this and submit a PR


Use zenodo to get a DOI

I need to calculate the hillas parameters in a experimental analysis framework as part of a masters thesis. The routines in ctapipe would be very handy, since they allow arbitrary camera geometries and are conveniently written in python. The thesis itself is not directly connected to CTA.
The routines in question are implemented in:
https://github.com/cta-observatory/ctapipe/blob/39cf9af6df8ffed682982aa40a0581d722db76a3/ctapipe/image/hillas.py#L37
https://github.com/cta-observatory/ctapipe/blob/39cf9af6df8ffed682982aa40a0581d722db76a3/ctapipe/image/hillas.py#L162
https://github.com/cta-observatory/ctapipe/blob/39cf9af6df8ffed682982aa40a0581d722db76a3/ctapipe/image/hillas.py#L317
https://github.com/cta-observatory/ctapipe/blob/39cf9af6df8ffed682982aa40a0581d722db76a3/ctapipe/image/hillas.py#L488
How do I properly reference the work? Is it enough to include BSD-3?
And as a bonus: Which of the four implementations would you suggest to use?

Since we don't have a publication yet, I'd say you can reference CTA Observatory and link to this github site (not sure if you need to mention the license, but it can't hurt).  You should also reference one of the papers that the algorithms are based on probably, which are listed in the docstrings.

We should get a doi for this repo: https://guides.github.com/activities/citable-code/

Which of the four implementations would you suggest to use?

I assume this might answer your question. At least I interpreted these lines as a recommendation by the original author which version to use...
https://github.com/cta-observatory/ctapipe/blob/39cf9af6df8ffed682982aa40a0581d722db76a3/ctapipe/image/hillas.py#L661-L662

Done


Check that SA_RC is set properly

It's set in libexec/sysstat.sh and used also in libexec/slackware.sh. Is it set properly when calling stuff from libexec/slackware.sh?

#44 will take care of this.


[cfe] Report a compile-time error when an expression of type void is used

This is the CFE specific issue for https://github.com/dart-lang/sdk/issues/54889, which has the details.

This turns out to potentially need a breaking change process, so please do not proceed to work on the implementation at this time.
I've added a 'status-blocked' label to make this situation visible. I'll remove it again if and when the breaking change is approved. The description of the changes may be modified during this breaking change process. I hope this bad ordering of events did not disrupt your work.

Various adjustments of the test (including corrections of mistakes introduced by the migration from a //# ... multi test to a modern // ^^^ test) have eliminated all test failures with the CFE except 3, and they are all concerned with expressions of the form e += 1 where e has static type void.
The issue is still on the agenda of the language team, but I expect that it will be considered as a non-breaking bug fix to start reporting an error in those cases. I'll unblock the issue and follow up when we have some input from the language team.

OK, the language team accepted that this is not a breaking change. Removing the 'status-blocked' label.


ValueError

Have you solved this problem? I have a similar problem, but I don't know how to solve it.


Add testing module

@msimberg I'll have a look. Please give me a day or so.

@aurianer, @msimberg I took the liberty to push a couple of changes to this branch. Please feel free to roll back whatever you feel is not the way you'd like it:

flyby: reformat files using clang-format (sorry)
flyby: replace BOOST_CURRENT_FUNCTION with HPX_ASSERT_CURRENT_FUNCTION, add missing #include
flyby: move assertion tests into module folder

Exporting the symbols is required however, except if we decided to not change the way the testing infrastructure code is linked. Before, it was linked directly with the application (if necessary, it was part of hpx_init.lib). Now, the testing code is part of the core library.

@aurianer, @msimberg As said before, this PR changes the way the testing infrastructure is linked. It is now part of the core HPX library while before it was linked statically to tests only. While this is a not a significant change I would like to understand the rationale behind this decision.

@hkaiser ignorance on my part. Thanks for pointing it out! Was it not implicitly linked to all users of HPX? In any case, I think it should be separate from hpx_init at least. As a module we'll eventually be able to optionally link it to executables that need it (tests...), but having it in the core library wouldn't hurt now, would it? I don't have any strong preference, I just didn't realize that it used to be part of hpx_init before. Sorry for the confusion.
Also, thanks for the fixes!


Change the target to es5 to support IE11

This change is needed so that the library works on IE11. A bug was reported for this - https://github.com/microsoft/botbuilder-js/issues/1670

Small update, we're currently planning on doing a multi-target approach where we support browser@es6, node.js, and es5.

Closing in favor of #1764


CLI flag to override target dir

Description:
Have a flag to change target dir location and name, when running bal build and other tasks from a package.
caution: need to decide what to do when both this flag and --output are given at the same time.
Describe your problem(s)
When ballerina build is run from an external build tool like cmake or gradle, we should redirect ballerina build dir to tool specific location.
Describe your solution(s)
Have a CLI flag eg: bal build --output-dir ../build, this should write all the files to ../build (not to ../build/target).

Probably we can repurpose --output flag here. Currently --output flag is not supported for projects hence we can use it to point to build directory.

Unfortunately, we have another issue for the same topic. https://github.com/ballerina-platform/ballerina-lang/issues/32295
It has up-to-date details. I am closing this one.


Docs about custom compliation are confusing

Followed instructions for building sqlite3 from source, they read Any desired compile time options must be defined directly within sqlite3.c. I'm dogshit with c, and I was bashing my head against the wall trying to impact the sqlite macros from the c file. I needed to def/undef the options in sqlite3.h, instead.
I'm happy to open a pr if you're amenable, its just a 1 char doc change. If I'm very wrong and being dumb here, all apologies.

If I'm not just being a dummy, I can also provide example snippets in the doc. just lmk if you're amenable to a pr.

I'm not aware of any compile-time options that can be modified from the sqlite3.h file. Adding a compile-time option to sqlite3.c is as simple as adding them to the very top of the file, like this:
#define SQLITE_ENABLE_FTS5 1
#define SQLITE_ENABLE_JSON1 1
#define SQLITE_DEFAULT_CACHE_SIZE 16000
// etc...


Avoid duplicate az login(s) + ssh key downloads from vault

Resolves # . (This is applicable only if this pull request relates to a GitHub issue, delete the line otherwise)
[AB#1049]
Notes:
*
*
*

the original approach should work too, and would give everyone benefits i would think

the original approach should work too, and would give everyone benefits i would think

I thought so initially ... but I am having second thoughts as it's riskier

The files class will likely only run on the master

fileExists is not executing in the right docker container so I gave it a try, but yeah that did not help either


05/21/2018 18:11 : Create Pull Request for branch prTesting_2018052118 -> master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

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


4xx call throws DioError which exposes implementation details

The lib uses dio internally which forces consumers to catch the error if an unsuccessful call throws a DioError.
We currently use this helper method to map unsuccessful calls to own exception/other exception types.
// Some calls fail because Dio is used internally and this will throw instead
  // of returning a 4xx response.
  Future<R> _catchApiErrors<R>(FutureOr<R> Function() call) async {
    try {
      return await call();
    } on DioError catch (error) {
      if (error.response.statusCode == 401) {
        throw ApiException.unauthorized(); // own exception type

      }
      rethrow;
    }
  }

I just want to point out that this is not an issue atm, but it might be a nice thing to improve.
Feel free to close this issue 👍

@lohanidamodar let me know if you see any reason why not to add an "Appwrite" Exception to the Flutter SDK. Personally I don't see any, but I guess it would be nice to add this feature to all supported SDKs

@lohanidamodar let me know if you see any reason why not to add an "Appwrite" Exception to the Flutter SDK. Personally I don't see any, but I guess it would be nice to add this feature to all supported SDKs

why not to add an "Appwrite" Exception to the Flutter SDK

Can you maybe explain what this exactly means? 🤔

why not to add an "Appwrite" Exception to the Flutter SDK

Can you maybe explain what this exactly means? 🤔

@JulianBissekkou I was thinking we can detect the Appwrite-related DIO error at the Appwrite SDK itself and then throw an instance of an Appwrite custom exception for easier detection of the different exception. Did I miss something?

@JulianBissekkou I was thinking we can detect the Appwrite-related DIO error at the Appwrite SDK itself and then throw an instance of an Appwrite custom exception for easier detection of the different exception. Did I miss something?

@eldadfux Yes I believe it's best to introduce Appwrite exception to all our SDKs including Flutter.

@eldadfux Yes I believe it's best to introduce Appwrite exception to all our SDKs including Flutter.

Appwrite-related DIO error at the Appwrite SDK itself and then throw an instance of an Appwrite custom exception for easier detection of the different exception. Did I miss something?

Perfect!
@lohanidamodar
Sounds good.
Maybe it makes sense to introduce different exceptions extending the appwrite exception. For example rate limits can throw a specific exception. 🤔

Appwrite-related DIO error at the Appwrite SDK itself and then throw an instance of an Appwrite custom exception for easier detection of the different exception. Did I miss something?

Perfect!
@lohanidamodar
Sounds good.
Maybe it makes sense to introduce different exceptions extending the appwrite exception. For example rate limits can throw a specific exception. 🤔

@JulianBissekkou yes love the idea, it should definitely be multiple exceptions based on a base exception.

@JulianBissekkou yes love the idea, it should definitely be multiple exceptions based on a base exception.

Great!
Side question: Why did you choose dio for network calls? I see many flutter devs that use dio for really basic http stuff and I always think that the default http client can do all of that as well 🤔
What feature were you missing?

Great!
Side question: Why did you choose dio for network calls? I see many flutter devs that use dio for really basic http stuff and I always think that the default http client can do all of that as well 🤔
What feature were you missing?

@JulianBissekkou The first versions of the SDK were contributed by a few of the community members. I don't remember exactly what was missing at the time. If native HTTP client can do multipart/form request and handle cookies we might be able to drop it and reduce the dependency tree.

@JulianBissekkou The first versions of the SDK were contributed by a few of the community members. I don't remember exactly what was missing at the time. If native HTTP client can do multipart/form request and handle cookies we might be able to drop it and reduce the dependency tree.

Multipart will work, cookies probably not. But dio is fine, I was just curious ☺

Multipart will work, cookies probably not. But dio is fine, I was just curious ☺

@JulianBissekkou We really appreciate your feedback. And here we have been working with throwing custom exceptions from our SDKs and Have a RFC and started working.

RFC
Work on Flutter SDK
Please provide us with your valuable comments, feedback on whether or not it meets your expectation

For Flutter SDK, the SDK will throw an instance of AppwriteException which will have following information

message: Actual error message from server response, if server response is null, the error message will mostly be Dio error message
response: actual response data from the server
code: the error code received from the server, mostly will be Http status code

I quickly checked out the flutter SDK branch and dropped a few comments. 👍
What about specific error codes? For example, I want to display a message if the account is blocked.
The AppWrite server will provide a 401 or 403 (not sure) but the information that the account is blocked is not included.
An additional code would be helpful in this case.
I am not sure if this is already implemented, but I couldn't find it in the "Create Account Session" Docs.

The extra info would be provided as part of the exception message.

A new Appwrite exception has been added to v0.4.0 which is now out of dev channel


Multiple directories

Any way, on a single serve instance, to serve multiple directories. IE /public and /otherassets as an example, without serving all the folders/files in a common parent directory that contains them both? Thanks

You'd have to run serve twice for this, once for each directory. Otherwise they would both be available under the same port, which means under the same parent directory, speaking in terms of the path within the browser.

@edencorbin I would suggest using the concurrently npm package to run two instances at the same time. 😁


README: the CoreOS way

This is an attempt at incorporating @polvi's original PR (#12) into master.

lgtm

Couple nits but otherwise, lgtm


Good example of parallel objective evaluation

This issue that surfaced from conversation with @henrymoss .
If you wanted to do parallel evaluations of your objective, you might be able to do that with Emukit, but it isn't obvious how to get started. A good tutorial would be nice to help people out.

Seems like a producer-consumer architecture with two channels might fit:

Producer generates batch suggestions and fills a channel1=queue.Queue()  with those suggestions
Producer initializes channel2=queue.Queue() for results
Consumers take my_suggestion=channel1.pop() and run the expensive objective on that suggestion
Consumers return results to channel2
Producer blocks on new_result=channel2.pop() until a result is available
When new_result is available, the producer updates the surrogate model, generates a new batch of suggestions new_suggestions=emukit.get_next_points(), and replaces the contents of the suggestions channel with channel1.lock: channel1.clear(); channel1.put(new_suggestions)


correct 20 token definitions' location in dict

Improvements split into 2 commits for clarity:

reformat whitespace only (no changes to dictionary structure) for consistency and clarity
move ~20 token definitions into the tokens list element (were mistakenly added one level too high starting with BPCoin)

Hi @keone ,
First of all, I truely appreciate to your work on token-list.

May I trouble you to update my logoURI from ".svg" into ".png"?
Token Mint: HDiA4quoMibAGeJQzvxajp3Z9cvnkNng99oVrnuNj6px
Currently, it doesn't seem like solana.tokenlist.json file has corrently ended.
Best Regards!


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-20-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 671

Questions ?
Please refer to the Backport tool documentation


It interferes with "ShaguTweaks" addon's worldmap coordinates option making them not visible

Fixed overlap of world map frame and detail frame. Coordinates don't work for no apparent reason.


Only allow Login with Plex

I want to disable allowing a username / password to login and just want a Login with Plex button visible.

It's required for local users, what's the reasoning to remove it other than preference?

I don't have any "local users". I assume its for people who have managed users, but in my case, I just want people to login with plex and right now the login page is confusing to those users.
At least redesign it so the Login with plex button is at top and the login form is separated, similar to how a lot of login pages are done these days. I want to direct them to "Login with Plex"

Local users within Petio are actually custom users that are bound to Petio itself, they are not to be confused with managed users in Plex.

I went into the container and deleted the form objects for local login within /app/views/frontend/static/js/main.94d1d4b9.chunk.js. Now I just get a nice title and "Log in with Plex" button.
This is very much preferable for anyone using my Plex server--one login for everything

@beingforthebenefit that is not the best approach, since you'd need to perform that every time the container was deleted. Also that file is a chunk, meaning it contains more then just login data, so deleting it will have other issues.

@ADRFranklin Well yes, it is a very hacky way to do it. I thought about writing a bash script using sed to make the changes for me, or branching from the source code as well, or writing some JavaScript that modifies the DOM (this was my first idea, but it didn't work right away), but those sound like more work than I'd like to do.
Do you suppose there's a better way that what I've mentioned?


divide Language page groups into separate pages

The problem
Language page is too long and is growing.
Suggestions
Split groups into separate pages with links from the Language page.
The change should be done after issue #2185 is closed.

Or we could have multi column flow.

#2185 is already closed...

Are we still interested in this? It's easier to do now...

The first step here is not, IMO, doing the tech work to split it out, but to curate new section names and decide which pages go in which section.


[WIP] Install Linux executable on Git Bash for Windows

Closes #965
This PR is my attempt to download and install pixi in a Git Bash shell on Windows. I've updated install.sh to properly download the Linux executable. However, the command chmod +x "$BIN_DIR/pixi" doesn't work on Windows, so I can't run pixi after downloading it. Any ideas?
bash install/install.sh
## This script will automatically download and install Pixi (latest) for you.
## Getting it from this url: https://github.com/prefix-dev/pixi/releases/latest/download/pixi-x86_64-unknown-linux-musl.tar.gz
## ################################################################################################################ 100.0%
## The 'pixi' binary is installed into '/c/Users/john/.pixi/bin'
## Updating '/c/Users/john/.bash_profile'
## Please restart or source your shell.

# In a new shell
pixi --version
## bash: /c/Users/john/.pixi/bin/pixi: cannot execute binary file: Exec format error

ls -l ~/.pixi/bin/
## total 29932
## -rw-r--r-- 1 john<PHONE_NUMBER>9152 Mar 11 09:07 pixi

chmod +x ~/.pixi/bin/pixi

ls -l ~/.pixi/bin/
## total 29932
## -rw-r--r-- 1 john<PHONE_NUMBER>9152 Mar 11 09:07 pixi

Hmm, when you are on Windows, you should download the Windows binary. Or do I misunderstand something?

The chmod stuff can likely be skipped on Windows.

Hmm, when you are on Windows, you should download the Windows binary. Or do I misunderstand something?

Doh. Good point. I was the one misunderstanding something. Now I understand how this can work. I'll test and push an update

Ok, now I've got it working in Git Bash
bash install/install.sh
## This script will automatically download and install Pixi (latest) for you.
## Getting it from this url: https://github.com/prefix-dev/pixi/releases/latest/download/pixi-x86_64-pc-windows-msvc.zip
## ################################################################################################################ 100.0%
## Archive:  /tmp/.pixi_install.uZMw2jaz
##   inflating: /c/Users/john/.pixi/bin/pixi.exe
## The 'pixi' binary is installed into '/c/Users/john/.pixi/bin'
## Updating '/c/Users/john/.bash_profile'
## Please restart or source your shell.

# in a new shell
pixi --version
## pixi 0.16.1

ls -l ~/.pixi/bin/
## total 26624
## -rwxr-xr-x 1 john<PHONE_NUMBER>0928 Mar 11 13:21 pixi.exe*

Cool! Then we just need to fix pixi shell next :)

I also confirmed that my updates to support Git Bash did not break a standard installation in Ubuntu:
bash install/install.sh
## This script will automatically download and install Pixi (latest) for you.
## Getting it from this url: https://github.com/prefix-dev/pixi/releases/latest/download/pixi-x86_64-unknown-linux-musl.tar.gz
## ####################################################################################################### 100.0%
## The 'pixi' binary is installed into '/home/wsl/.pixi/bin'
## Updating '/home/wsl/.bashrc'
## Please restart or source your shell.

# In a new shell
pixi --version
## pixi 0.16.1

CI is green. Ready for review. Please let me know if you'd like me to rebase onto main

Looks good, one small comment

Thank you @jdblischak and @wolfv, this is much appreciated.
I left a comment here that might offer a solution to the pixi shell issue, via the pixi shell-hook --shell bash method: https://github.com/prefix-dev/pixi/issues/417#issuecomment-2140735844


the error of paper

First of all, thank you very much for your excellent work. I have a question about which accuracy rate was chosen in your paper to calculate the error? Closed acc or Overall acc? I look forward to your answer. I will be very grateful！

I have the same problem, did you solve it please?


DBZ-6670 Replace error handler instead of recreate in order to keep retry counter

Relates to https://github.com/debezium/debezium/pull/4678

Local test passed. Initial run resulted in the failure/error in
Db2ConnectorIT#restartInTheMiddleOfTxAfterCompletedTx
IncrementalSnapshotIT#testNotification

Running these tests in isolation passed.


Fix pos fixed

Fix item with 'position:fixed' scroll with parent.
The reason of this bug is 'fixed' view will add to root node's view. So when the root is 'scroller','fixed' not working.
Testcase: http://dotwe.org/weex/a281d7db58ba73ef0a143535d3703bc4

@zshshr


Setting a gopass remote fails when defaultBranch = main

Summary
Gopass assumes the main branch to be named master which is becoming less and less common (both Github and Gitlab use main as the default branch name).
Steps To Reproduce
Set the default branch name to main (requires Git v2.28+) and run gopass setup
$ git config --global init.defaultBranch main
$ gopass setup
...
❓ Do you want to add a git remote? [y/N/q]: y
Configuring the git remote ...
Please enter the git remote for your shared store []: git@github.com:myorg/passdb.git
2021/06/21 14:38:37 failed to setup git remote: failed to push to git remote: exit status 1: error: src refspec master does not match any
error: failed to push some refs to 'git@github.com:myorg/passdb.git'

Environment

OS: Ubuntu 20.04 LTS
gopass Version: gopass 1.12.6+8d7a311b9273846bbb618e4bd9ddbae51b1db7b8  go1.16.3 linux amd64
Installation method: binary release, amd64

Mhhh, that's a bit annoying since main is becoming common. We'll look into it.

So, for those of us with 'main' as our default branch, how do we work around this?
It seems like a show-stopper?

I have no plans to work on this. But you can use any branch name even if the default is different.

@dominikschulz sorry, I am obviously not that familiar with the code base, but isn't the fix as simple as changing these 2 lines https://github.com/gopasspw/gopass/blob/master/internal/action/setup.go#L208-L211 by replacing "master" with an empty string ""? Wouldn't gitfs then do the right thing via https://github.com/gopasspw/gopass/blob/master/internal/backend/storage/gitfs/git.go#L271?

@dim That actually looks like it. Do you want to submit a PR or shall I?
In the meantime you can still setup your password store using git manually:
mkdir -p /path/to/your/new/store
cd /path/to/your/new/store
git init
gopass config path /path/to/your/new/store

Maybe that's all it takes. But IIRC this assumption is hard coded in a few places and I sonst l didn't want to hunt them down.

@dominikschulz I briefly grepped the code, it only seems to be used in:

helpers/postrel/main.go - relates to github.com/gopasspw/gopass#master?
helpers/release/main.go - relates to github.com/gopasspw/gopass#master?
internal/backend/storage/gitfs/git_test.go - using it in tests is fine
internal/store/leaf/rcs_test.go - using it in tests is fine
internal/action/setup.go - THAT's the only place I found that needs fixing

@dim Ok, let's try it. But I won't have too much time to spend on this going forward. If there is more to this someone else would need to take care.


Remove shell from default install list

Codecov Report

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

@@           Coverage Diff           @@
##           master    #3066   +/-   ##
=======================================
  Coverage   70.72%   70.72%
=======================================
  Files         357      357
  Lines       22906    22906
  Branches     3526     3526
=======================================
  Hits        16201    16201
  Misses       5607     5607
  Partials     1098     1098

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 89b8091...138bf1f. Read the comment docs.


Probably improper interpretation of inclusions and exclusions.

Hi,
There is probably an error in Sgml.SgmlReader.ValidateContent(Node node)
Elements are "Element '{0}' not allowed inside '{1}', closing {2}." even if there are "active" inclusions in one of it's ancestors.
I've patched this (see attachement) but it could be done in better, more optimal way.
Best regards,
SgmlReader - fix for misinterpreted dtd inclusions.zip

Super cool, I'll checkout your proposed changes, thanks for doing this!

You are welcome.
Thanks for the Library :)

In the attachment you will find proposition of optimized changes - inclusions are verfified in the main loop.
Best regards
SgmlReader - fix for misinterpreted dtd inclusions - optimized.zip

Ok, I did a bunch of work on this and added some new tests to make sure inclusion/exclusion is working properly.  I also properly implemented general support for SGML optional start tags.  So when you parse html "test" you will get back the valid HTML document "test" and this works now for any SGML DTD and not just HTML.

Hi, it is great that you are working on it.
I was planing to refernece your code again, but I think "inclusions" are not working properly yet.
As I can undestand SGML DTD inclusions (if not excluded):
`

`
means that included elements are allowed ANYWHERE inside "root" - so "descendantA" can be a descendant of ANY LEVEL of "root".
Current implementation allows included elements only in elements they are defined in.
for example for the definition above proper SGML could be:
<root>   <descendantA />   <childA><descendantA/></childA>   <childB><descendantA><descendantA><descendantB></descendantA></descendantA></childB> </root>
Best regards

Looking at http://sgmljs.net/docs/sgmlrefman.html it seems you are right, it says:

inclusions is a single element or a name group (a list of elements) allowed to occur anywhere and arbitrarily often in descendant content in addition to elements specified in the content model

Implementing this efficiently will be a bit of a pain, I'll have to think about it.

"[SgmlReader - fix for misinterpreted dtd inclusions - optimized.zip]"
Seems to work in case of big SGML files (300MB+)  that complains with quite complex iSpec2200 specification. There are inclusions used in its dtd.
I'm not sure it can be more optimized in a simple way.
The strange thing is, that having aditional loop it is processing 333 165KB file in about 13,95s while current, git, version of library 15,58s (the result is wrong). I think it is due to processing errors and "autoclosing" tags. For proper sgml with no inclusions  git version would be faster I guess.
Best regards
Łukasz Sokołowski

Ok, I pushed some fixes so include and exclude should inherit properly now.
See d5928270ef11838e64029119dde06da6eac8459f.
I also did some work to make sure this new implementation is more efficient.

Please reopen if you find any more bugs in this area, thanks.


Develop games: Dripless Brandon

Made Dripless Brandon
scratch.mit.edu/projects/943278865/

Game completed.


Data model improvements: It has rough edges

ISSUE 1:-
We should have all core.network nested under the same category
  # Network category
  - category: Core.Network
    description: Ability to access Windows container IP by pod IP
    focus:
    - 'should have stable networking for Linux and Windows pods'
    skip:
    - ''
  - category: Core.Network
    description: Ability to expose windows pods by creating the service ClusterIP
    focus:
    - 'should be able to up and down services'
    skip:
    - ''

ISSUE 2:-
These don't appear to map to data model in the KEP
--category=Core.Network --category=Sub.NetworkPolicy

/assign @tzifudzi

Thanks for creating the issue @pramitagautam.
Issue 1
We can go for this structure that we discussed.
Folder structure

/e2e

/networking

README.md
/basic

testcases.yaml

/advanced

testcases.yaml

/storage

README.md
/basic
/advanced

...

File structure
Same as before but now without the category.
...
testCases:
    description: Ability to access Windows container IP by pod IP
    focus:
    - 'should have stable networking for Linux and Windows pods'
    skip:
    - ''

Issue 2
Will look into creating mappings that align with the KEP and Kubernetes e2e tests

Closing this in favour of tracking through https://github.com/kubernetes-sigs/windows-operational-readiness/issues/56

/close

/close
This issue has been fixed in #83 and can now be closed


Add CONTRIBUTING.md

Projects and project maintainers vary, so the best way to contribute will also vary. Keep your eye open for a doc labeled CONTRIBUTING. Contributing docs detail the specifics about how a project’s maintainer would like to see patches or features contributed. This can include what tests to write, code syntax style or areas to focus on for patches.
Contributing to Open Source on GitHub

Fixed in #351

Fixed in #355


connection quality api

looks good! Question: how do we surface this event to client apps? Wouldn't we need listeners?

I'm thinking we'll need to move to an event bus similar to the js sdk, given the number of events and locations these changes are coming from.


Improve Multi-Picker Modal UX

When users are selecting new rows for the "add pure and binary" feature, we're showing a multi-picker modal. The current UI is cluttered and confusing. The following are list of issues that I could think of:

When the facet panel is open, since the focus of the page is not on selecting the main rows anymore, it might be confusing what is the main action of the page.
The list of "selected rows" is almost identical to the list of "selected filters". There's no indication of which is which.
We're showing multiple "spinner" and loading indicators.
There are two vertical scroll bars. One for the table and one for the modal (so you can see the full list of facets and next/previous buttons).

I'm not sure how we should go about improving this and after discussion with @hongsudt we decided that we should at least create an issue and document this.

The following 2 cases should be considered together:

When the facet panel is open, since the focus of the page is not on selecting the main rows anymore, it might be confusing what is the main action of the page.

The list of "selected rows" is almost identical to the list of "selected filters". There's no indication of which is which.

This has distracted me from the purpose I was opening a modal for. There have been times I have selected a filter instead of an option because the set is only size 4 and a similar filter was open by default. It was user error, but I can imagine some users would not realize how they goofed up thinking one selection was the other one.

It's the same as  #1603  and #1815 issues, therefore we closed this.


document omit query option

Ah was gonna rename today, thanks for beating me to it 😛 🙏 @jharrell

Overall looks good to me so far, but could we also document the behavior of omit together with result extensions? I mentioned it here

@SevInf I've followed up with you on the thread to clarify

I would also (personally) expect this to be documented next to select instead of next to include. Is there a reason we have it there?

Thanks for fixing table format @jharrell. Also, we had a discussion around ordering and decided on ordering by frequency of usage. Quoting @Weakky (Flavian)'s message here:

My 2cts - I see two ways to organize/sort this:
By “similarity”: select, exclude, include
By frequency of usage: select, include, exclude (this is just a hunch, I don’t know yet how much ppl are gonna use exclude)
I think I’d go with frequency of usage.
select, include, exclude may also be more aligned with the progression of needs of a user. What I mean is, you just installed the PrismaClient, you wanna know how to select data. Then you think about how to fetch relations. Then, maybe, you start wondering how to exclude data-sensitive columns.
I’m not opinionated on this though, choose whatever you think is best based on these 2cts. The sorting by similarity is just as fine. (edited)

@grpatel @Weakky
totally makes sense. What about a mix of the two? Similar "groups" organized by usage.
In that way, I would expect Select/Omit to be grouped, etc etc
I'm not going to block based on that though. It was just my first thought as I was looking at the list.


Snapcraft link error 404

"https://snapcraft.io/stickynotes" does not exist.

is there any update on this? I've running into issues trying to build it myself.


Downscroll for chart editor

What feature do you want to get added on the base engine?

To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

You mean, test chart menu?

this

You mean, test chart menu?

i meant this

I don't think he will add this

Why is this necessary?

Why is this necessary?

Because it is a basic feature that is more of a preference type of setting. I’d really like it to be ingame because as a mania charter, on osu! its downscroll anyways, so yeah

I am not doing it because I did not make the editor with that in mind so it would take a lot of rework to do that

If every rhythm game including the Vortex editor (ArrowVortex), it might as well have downscroll tbh. Alot of rhythm game mappers would love to try charting on here if it were to exist but sadly it won't be a thing.


Feature Request: add timeout parameter to the .fit() method

Adding the timeout parameter to the .fit() method, that should force the library to return best known solution found so far as soon as provided number of seconds since the start of training are passed, will allow to satisfy training SLAs, when a user has only a limited time budget to finish certain model training. Also, this will make possible fair comparison of different hyperparameters.
Reaching the timeout should have the same effect as reaching max iterations, maybe with additional warning and/or attribute set so that the training job's finishing reason is clear to the end user.

Can you achieve this with a custom callback?

I did not realize it can be used to solve this problem. If I, while using early stopping, return True from my custom callback to stop the training, will the best iteration be set correctly by xgboost, or there will be some training progress loss?

Can you achieve this with a custom callback?

Just to connect these 2 conversations... that is what I suggested in the feature request opened in LightGBM at the same time: https://github.com/microsoft/LightGBM/issues/6596#issuecomment-2275855955

Right, it seemed very natural to me to use direct timeout instead of (or along with) n_estimators, and I ideally would like to have an universal parameter for that (similar to n_estimators) in the major gradient boosting libraries. Most of the cases I'd say exact max number of trees is not important to the user, it's actually max time spent that matters. And some hyperparameters combinations can lead to vastly different runtimes even with the same n_estimators. The timeout parameter would solve this problem.

Last but not least, imagine that aliens have attacked the Earth and we only have one minute to compute trajectories of their missiles with ML. If this feature request is approved, responsible person just sets timeout=60, we intervene, and survive.

Last but not least, imagine that aliens have attacked the Earth and we only have one minute to compute trajectories of their missiles with ML. If this feature request is approved, responsible person just sets timeout=60, we intervene, and survive.


Notes on inheriting from wagtail textract document

Factor out transcription field in Mixin model.
Document how to use wagtail_textract with an existing customized Document model.
Set blank=True to allow an empty transcription field when editing the Document (with modified admin_form_fields to also see transcription).

@zerolab Is this something you could work with?

Looks pretty good.
We were looking at this with @kaedroho and were wondering why not move the save() in the mixin.
It could use a few inline comments as to the order/reason it is doing it this way. Also, the convention is to use the mixin before the model. So moving the save in the mixin will have the desired effect.
Karl was also suggesting you can simplify the whole thing by calling async_transcribe_document() directly in save() and do away with the signals all together.
D

@zerolab Thanks for these comments! See the last two commits.
Do you feel this can be merged, or is something still missing?

LGTM. @kaedroho is casting an eye as well.

:shipit:
Nice one!

Thanks for the feedback!


Fixes toggle-left & toggle-right

Maybe we can also make an icon with to switches stacked on each other. 🤔 What do you think?

Due to the smaller size of the inner circle it doesn't give a proper visual representation of the toggle.
@karsa-mistmere Can you please try to increase the height of the toggle, that will give more space for the inner circle to grow in both height/width.

Here's a comparison:
(1st column original, 2nd column PR version, 3rd column @mittalyashu's proposal, 4th column an alternate proposal)

1st or 3rd column looks good.

I also like the 4th option

I like the 4th one as well. Maybe change it?


compatible with<EMAIL_ADDRESS>?

<EMAIL_ADDRESS>
import RadialProgressBar from 'vue-radial-progress';
webpack

When I executed the webpack command, I got the following error:

How can I solve this problem? thank you ~

I had the same error, but with es2015 instead. It's because "main" in the package.json is pointing at src/main.js, which is uncompiled. The solution is to directly route to the compiled script:
import RadialProgressBar from 'vue-radial-progress/dist/vue-radial-progress.min.js'

@mccallofthewild Right, and pointing to the minified version would alternatively break for others who have the runtime only of Vue. The trick is trying to get all possible environments playing well: Vue 1.0, Vue 2.0 runtime, Vue 2.0 standalone. I'm not sure it is totally possible, but I will try, otherwise will be forced to just create separate branches for both which I wanted to avoid.

@jrenton any news on this issues? I'm also having the same issue.

Hi all.  I kept getting the es2015 version of the error that @mccallofthewild mentioned during my build process.  I found these steps as a temp workaround to make it work.  I have not had the time to look at why it works.
After npm install or yarn add of the vue-radial-progress package
Go to the package directory ( node_modules/vue-radial-progress )
Run npm install to build ( or rebuild) the package and it's dependencies within the vue-radial-progress directory.
After that my auto builds work.
Hope this helps as a work around or for someone who may want to troubleshoot the issue.

This should be resolved in the latest version.


Several (solved) issues on installing RTL [CLN, dev-branch]

Don't know if this helps, not yet a github pro t write a PR but solved some issues (for me) with the RTL and cl.rest scripts.
I was trying to update RTL to 13.6 on my proxmox debian 11 VM
First cl.rest.sh off sent an error on mkdir and cp the directory, which has already been there (started on 1.9rc1)
https://github.com/rootzoll/raspiblitz/blob/6a677a6baacc98a89d99bf93cf9e7053dabfebd5/home.admin/config.scripts/cl.rest.sh#L166
I had to delete the directory manually.
Further the RTL script was not able to replace my RTL 13.0beta installation. I had to remove /home/rtl/RTL as well.
Lastly I had an error on npm install --omit=dev
https://github.com/rootzoll/raspiblitz/blob/6a677a6baacc98a89d99bf93cf9e7053dabfebd5/home.admin/config.scripts/bonus.rtl.sh#L165
I needed to add --legacy-peer-deps as provided here.
Removing c-lightning-REST and RTL again, calling the modified script made RTL 13.6 install eventually.
Hope this helps

👀 @openoms

Thanks for these @Surenic!
cl.rest.sh off has a purge option as well to remove everythin, now added to be used with bonus.rtl.sh off purge


Docker 1.9.0 support

Issue with docker 1.9.0
Docker::Error::ConflictError
          ----------------------------
          Conflicting options: -h and the network mode (--net)

          Cookbook Trace:
          ---------------
          /tmp/kitchen/cookbooks/docker/files/default/vendor/gems/docker-api-1.22.4/lib/docker/connection.rb:48:in `rescue in
request'
          /tmp/kitchen/cookbooks/docker/files/default/vendor/gems/docker-api-1.22.4/lib/docker/connection.rb:38:in `request'
          /tmp/kitchen/cookbooks/docker/files/default/vendor/gems/docker-api-1.22.4/lib/docker/connection.rb:65:in `block (2 l
evels) in <class:Connection>'
          /tmp/kitchen/cookbooks/docker/files/default/vendor/gems/docker-api-1.22.4/lib/docker/container.rb:234:in `create'
          /tmp/kitchen/cookbooks/docker/libraries/docker_container.rb:181:in `block (3 levels) in <class:DockerContainer>'
          /tmp/kitchen/cookbooks/docker/libraries/helpers_base.rb:67:in `call'
          /tmp/kitchen/cookbooks/docker/libraries/helpers_base.rb:67:in `with_retries'
          /tmp/kitchen/cookbooks/docker/libraries/docker_container.rb:180:in `block (2 levels) in <class:DockerContainer>'
          /tmp/kitchen/cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider.rb:50:in `converge_if_ch
anged'
          /tmp/kitchen/cookbooks/docker/libraries/docker_container.rb:177:in `block in <class:DockerContainer>'
          /tmp/kitchen/cookbooks/docker/libraries/docker_container.rb:159:in `call_action'
          /tmp/kitchen/cookbooks/docker/libraries/docker_container.rb:272:in `block in <class:DockerContainer>'

  docker_container("sample-app") do
            action [:run]
            updated true
            retries 0
            retry_delay 2
            default_guard_interpreter :default
            declared_type :docker_container
            cookbook_name :"cd-docker"
            recipe_name "default"
            repo "cloudesire/sample-app"
            tag "0.0.1"
            container_name "sample-app"
            detach true
            network_mode "host"
            env ["CLOUDESIRE_VHOST=test-cd-docker.appstaging.cloudesire.local", "DEFAULT_PORT_5000_TCP_PORT=3333", "DEFAULT_PO
RT_5000_TCP_ADDRESS=localhost"]
            connection #<Docker::Connection:0x00000007845970 @url="unix:///", @options={:socket=>"/var/run/docker.sock", "read
_timeout"=>60}>
            log_driver "json-file"
            restart_policy "no"
            security_opts [""]
            signal "SIGKILL"
          end

Does this still happen in v2.2.6?
If so, let's come up with a failing resource to put in here:
https://github.com/someara/chef-docker/blob/1c738b5c72ea7ec9f6c98f7aefe9bc25c8718c59/test/cookbooks/docker_test/recipes/container.rb

when using NetworkMode, Hostname and MacAddress aren't allowed to be set. Before 1.9.0 the api just ignored it while the cli complained about it.

Closing this here, referencing #557.

The relative resource is
docker_container "logstash-forwarder" do
    detach true
    container_name "logstash-forwarder"
    repo "digitalwonderland/logstash-forwarder"
    tag "latest"
    env ["THEENVS=blabla"]
    network_mode "host"
    timeout 15
    restart_policy 'always'
    restart_maximum_retry_count 2
    action [:run]
  end

I've found something strange.
The container logstash-forwarder already exists on the machine, provisioned with the old docker 1.7.1.
docker inspect shows the Hostname populated with staging-nxt.
When chef run it stop, delete and recreate the container and fails with the errore above.
But if I manually delete the container docker rm -f logstash-forwarder and the run chef, the container is created successfully.
socat log If the container already exists:
> 2015/12/18 11:43:34.471134  length=230 from=0 to=229
POST /v1.16/containers/960efd2ef3b6c95752f7bde63e339a6103146b7b983fa044bbbf3a7462516828/stop?t=-1 HTTP/1.1\r
User-Agent: Swipely/Docker-API 1.24.1\r
Content-Type: application/json\r
Host: /var/run/docker.sock\r
Content-Length: 2\r
\r
{}< 2015/12/18 11:43:34.557059  length=94 from=0 to=93
HTTP/1.1 204 No Content\r
Server: Docker/1.9.1 (linux)\r
Date: Fri, 18 Dec 2015 11:43:34 GMT\r
\r
> 2015/12/18 11:43:34.559080  length=144 from=0 to=143
GET /v1.16/containers/registrator/json HTTP/1.1\r
User-Agent: Swipely/Docker-API 1.24.1\r
Content-Type: text/plain\r
Host: /var/run/docker.sock\r
\r
< 2015/12/18 11:43:34.560239  length=3391 from=0 to=3390
HTTP/1.1 200 OK\r
Content-Type: application/json\r
Server: Docker/1.9.1 (linux)\r
Date: Fri, 18 Dec 2015 11:43:34 GMT\r
Transfer-Encoding: chunked\r
\r
ca1\r
{"Id":"960efd2ef3b6c95752f7bde63e339a6103146b7b983fa044bbbf3a7462516828","Created":"2015-12-18T11:38:25.00331065Z","Path":"/bin/registrator","Args":["consul://<IP_ADDRESS>:8500","-resync","60"],"State":{"Status":"e
xited","Running":false,"Paused":false,"Restarting":false,"OOMKilled":false,"Dead":false,"Pid":0,"ExitCode":2,"Error":"","StartedAt":"2015-12-18T11:38:25.13916787Z","FinishedAt":"2015-12-18T11:43:34.516800311Z"},
"Image":"6ecdc1a91b084be73daf850b7938ab2819b1aab75579f26bf40fd97d97b90d3c","ResolvConfPath":"/var/lib/docker/containers/960efd2ef3b6c95752f7bde63e339a6103146b7b983fa044bbbf3a7462516828/resolv.conf","HostnamePath
":"/var/lib/docker/containers/960efd2ef3b6c95752f7bde63e339a6103146b7b983fa044bbbf3a7462516828/hostname","HostsPath":"/var/lib/docker/containers/960efd2ef3b6c95752f7bde63e339a6103146b7b983fa044bbbf3a7462516828/h
osts","LogPath":"/var/lib/docker/containers/960efd2ef3b6c95752f7bde63e339a6103146b7b983fa044bbbf3a7462516828/960efd2ef3b6c95752f7bde63e339a6103146b7b983fa044bbbf3a7462516828-json.log","Name":"/registrator","Rest
artCount":0,"Driver":"aufs","ExecDriver":"native-0.2","MountLabel":"","ProcessLabel":"","AppArmorProfile":"","ExecIDs":null,"HostConfig":{"Binds":["/var/run/docker.sock:/tmp/docker.sock"],"ContainerIDFile":"","L
xcConf":null,"Memory":0,"MemoryReservation":0,"MemorySwap":-1,"KernelMemory":0,"CpuShares":0,"CpuPeriod":0,"CpusetCpus":"","CpusetMems":"","CpuQuota":0,"BlkioWeight":0,"OomKillDisable":false,"MemorySwappiness":n
ull,"Privileged":false,"PortBindings":{},"Links":null,"PublishAllPorts":false,"Dns":null,"DnsOptions":null,"DnsSearch":null,"ExtraHosts":null,"VolumesFrom":null,"Devices":null,"NetworkMode":"host","IpcMode":"","
PidMode":"","UTSMode":"","CapAdd":null,"CapDrop":null,"GroupAdd":null,"RestartPolicy":{"Name":"always","MaximumRetryCount":2},"SecurityOpt":null,"ReadonlyRootfs":false,"Ulimits":null,"LogConfig":{"Type":"json-fi
le","Config":{}},"CgroupParent":"","ConsoleSize":[0,0],"VolumeDriver":""},"GraphDriver":{"Name":"aufs","Data":null},"Volumes":{"/tmp/docker.sock":"/var/run/docker.sock","/var/run/docker.sock:/tmp/docker.sock":"/
var/lib/docker/volumes/d237d11dc65fb81e06469909aac5d372fc4c124bcedebc1a21ff883ee85ac069/_data"},"VolumesRW":{"/tmp/docker.sock":true,"/var/run/docker.sock:/tmp/docker.sock":true},"Config":{"Hostname":"staging-nx
t","Domainname":"","User":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bi
n"],"Cmd":["consul://<IP_ADDRESS>:8500","-resync","60"],"Image":"gliderlabs/registrator:v6","Volumes":{"/var/run/docker.sock:/tmp/docker.sock":{}},"WorkingDir":"","Entrypoint":["/bin/registrator"],"OnBuild":null,"L
abels":{},"MacAddress":"","NetworkDisabled":false,"ExposedPorts":null,"VolumeDriver":"","Memory":0,"MemorySwap":-1,"CpuShares":0,"Cpuset":""},"NetworkSettings":{"Bridge":"","SandboxID":"","HairpinMode":false,"Li
nkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"Ports":null,"SandboxKey":"","SecondaryIPAddresses":null,"SecondaryIPv6Addresses":null,"EndpointID":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":
0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","MacAddress":""}}
\r
0\r
\r
> 2015/12/18 11:43:34.581718  length=234 from=0 to=233
DELETE /v1.16/containers/960efd2ef3b6c95752f7bde63e339a6103146b7b983fa044bbbf3a7462516828?force=false&v=false HTTP/1.1\r
User-Agent: Swipely/Docker-API 1.24.1\r
Content-Type: text/plain\r
Host: /var/run/docker.sock\r
Content-Length: 0\r
\r
< 2015/12/18 11:43:34.628799  length=94 from=0 to=93
HTTP/1.1 204 No Content\r
Server: Docker/1.9.1 (linux)\r
Date: Fri, 18 Dec 2015 11:43:34 GMT\r
\r
> 2015/12/18 11:43:34.633074  length=888 from=0 to=887
POST /v1.16/containers/create?name=registrator HTTP/1.1\r
User-Agent: Swipely/Docker-API 1.24.1\r
Content-Type: application/json\r
Host: /var/run/docker.sock\r
Content-Length: 709\r
\r
{"Image":"gliderlabs/registrator:v6","Labels":{},"Cmd":["consul://<IP_ADDRESS>:8500","-resync","60"],"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Domainname":"","Entrypoint":["/bin/registrator"],"
Env":[],"ExposedPorts":{},"Hostname":"staging-nxt","MacAddress":"","NetworkDisabled":false,"OpenStdin":false,"StdinOnce":false,"Tty":false,"User":"","Volumes":{"/var/run/docker.sock:/tmp/docker.sock":{}},"Workin
gDir":"","HostConfig":{"Binds":["/var/run/docker.sock:/tmp/docker.sock"],"CgroupParent":"","CpuShares":0,"CpusetCpus":"","Memory":0,"MemorySwap":-1,"NetworkMode":"host","Privileged":false,"PortBindings":{},"Publ
ishAllPorts":false,"RestartPolicy":{"Name":"always","MaximumRetryCount":2}}}< 2015/12/18 11:43:34.636012  length=206 from=0 to=205
HTTP/1.1 409 Conflict\r
Content-Type: text/plain; charset=utf-8\r
Server: Docker/1.9.1 (linux)\r
Date: Fri, 18 Dec 2015 11:43:34 GMT\r
Content-Length: 53\r
\r
Conflicting options: -h and the network mode (--net)

socat log If the container doesn't exists:
> 2015/12/18 11:50:23.962284  length=144 from=0 to=143
GET /v1.16/containers/registrator/json HTTP/1.1\r
User-Agent: Swipely/Docker-API 1.24.1\r
Content-Type: text/plain\r
Host: /var/run/docker.sock\r
\r
< 2015/12/18 11:50:23.963440  length=178 from=0 to=177
HTTP/1.1 404 Not Found\r
Content-Type: text/plain; charset=utf-8\r
Server: Docker/1.9.1 (linux)\r
Date: Fri, 18 Dec 2015 11:50:23 GMT\r
Content-Length: 24\r
\r
no such id: registrator
> 2015/12/18 11:50:23.965219  length=144 from=0 to=143
GET /v1.16/containers/registrator/json HTTP/1.1\r
User-Agent: Swipely/Docker-API 1.24.1\r
Content-Type: text/plain\r
Host: /var/run/docker.sock\r
\r
< 2015/12/18 11:50:23.966358  length=178 from=0 to=177
HTTP/1.1 404 Not Found\r
Content-Type: text/plain; charset=utf-8\r
Server: Docker/1.9.1 (linux)\r
Date: Fri, 18 Dec 2015 11:50:23 GMT\r
Content-Length: 24\r
\r
no such id: registrator
> 2015/12/18 11:50:23.968056  length=144 from=0 to=143
GET /v1.16/containers/registrator/json HTTP/1.1\r
User-Agent: Swipely/Docker-API 1.24.1\r
Content-Type: text/plain\r
Host: /var/run/docker.sock\r
\r
< 2015/12/18 11:50:23.969073  length=178 from=0 to=177
HTTP/1.1 404 Not Found\r
Content-Type: text/plain; charset=utf-8\r
Server: Docker/1.9.1 (linux)\r
Date: Fri, 18 Dec 2015 11:50:23 GMT\r
Content-Length: 24\r
\r
no such id: registrator
> 2015/12/18 11:50:23.970491  length=144 from=0 to=143
GET /v1.16/containers/registrator/json HTTP/1.1\r
User-Agent: Swipely/Docker-API 1.24.1\r
Content-Type: text/plain\r
Host: /var/run/docker.sock\r
\r
< 2015/12/18 11:50:23.971779  length=178 from=0 to=177                                                                                [1087/1473]
HTTP/1.1 404 Not Found\r
Content-Type: text/plain; charset=utf-8\r
Server: Docker/1.9.1 (linux)\r
Date: Fri, 18 Dec 2015 11:50:23 GMT\r
Content-Length: 24\r
\r
no such id: registrator
> 2015/12/18 11:50:23.990336  length=818 from=0 to=817
POST /v1.16/containers/create?name=registrator HTTP/1.1\r
User-Agent: Swipely/Docker-API 1.24.1\r
Content-Type: application/json\r
Host: /var/run/docker.sock\r
Content-Length: 639\r
\r
{"Image":"gliderlabs/registrator:v6","Cmd":["consul://<IP_ADDRESS>:8500","-resync","60"],"AttachStderr":false,"AttachStdin":false,"AttachStdout":false,"Domainname":"","Env":[],"ExposedPorts":{},"NetworkDisabled":fa
lse,"OpenStdin":false,"StdinOnce":false,"Tty":false,"User":"","Volumes":{"/var/run/docker.sock:/tmp/docker.sock":{}},"HostConfig":{"Binds":["/var/run/docker.sock:/tmp/docker.sock"],"CgroupParent":"","CpuShares":
0,"CpusetCpus":"","LogConfig":{"Type":"json-file"},"Memory":0,"MemorySwap":-1,"NetworkMode":"host","Privileged":false,"PortBindings":{},"PublishAllPorts":false,"RestartPolicy":{"Name":"always","MaximumRetryCount
":2}}}< 2015/12/18 11:50:24.054790  length=233 from=0 to=232
HTTP/1.1 201 Created\r
Content-Type: application/json\r
Server: Docker/1.9.1 (linux)\r
Date: Fri, 18 Dec 2015 11:50:24 GMT\r
Content-Length: 90\r
\r
{"Id":"a2e6fa6f91501e7f5b6e68a533345d5bd0a789dbe2a7d41c4c33307899821611","Warnings":null}

Ahhh! This all makes perfect sense now.
Since a docker container with the same name already exists, https://github.com/chef-cookbooks/docker/blob/master/libraries/docker_container.rb#L117-L142, load_current_value is actually pulling in the running container's config and setting the values for the docker_container resource.
Because hostname is not set on the docker_container and there is no default property, the setting from load_current_value persists. I think the correct fix here is to only set the resource property if the resource property_is_set? evals true.
I'll see if I can get this replicated in test-kitchen and if this idea fixes your issue.

Just an update. I am able to replicate what I posted above. Working out the best way to implement a fix in the load_current_resource. Will pick it back up on Monday.

Thank you @chasebolt
But, as you can see from the socat logs, a DELETE action arrives and docker's answer is 204 no content so the container is actualy removed and then recreated, isn't it ?
Why this behaviour even if the container is being deleted ?

load_current_value runs at the very first part of creating the docker_container resource. So before it does anything, it looks for a container with the name name as the docker_container and then loads in all the config values. After that it overwrites the values with the properties on the resource. Then it runs through the actions, delete/create/etc.

@chasebolt any updates?
btw happy holidays

Verified with pry - https://gist.github.com/someara/2a7a06e2459a75f3612d#file-gistfile1-txt-L25
Adding coerce_hostname in a12066c58bbe6ab921db54754565b447018f1a9e
Released as 2.3.20

had to revert that commit.. this is still busted as of 2.3.21.
this is a dupe with #572 ... reopening there.

I guess it would only be the properties

Added a "parsed_hostname" to hack around this in #572... leaving this open until we handle the rest of the network_mode related properties dns, dns_search, mac_address, and extra_hosts

2.3.22 version works fine, thanks


multiscale qc adjustments

nnz, dataset, varying atlas

[x] nnz / nroi, spartsity, nnz for y
[x] x axis should be nroi not labels
[x] linearly regress nrois for both the ds set and the full set

multimetric plot

[ ] density plot with histogram for nnz when only one x value

vector versions

[x] degree on log scale (in general)

Decided on moving to plotly; only plot I've not fully updated is the multimetric density plot. Closing this issue and moving that to a new issue.


CDN Stylesheet contains globally matching styles

The css contains several styles that match html tags such as img html body which can break styles on existing webpages which forces it to be put in an iframe to protect the rest of the page.
Ideally all styles would be prepended with some class or id to prevent leakage.

This has been fixed as of version 0.2.10


Crash when using id "fab"

When using the attribute android:id="@+id/fab" on a FabSpeedDial element, the app won't compile:

java.lang.ClassCastException: io.github.yavski.fabspeeddial.FabSpeedDial cannot be cast to android.support.design.widget.FloatingActionButton
at io.github.yavski.fabspeeddial.FabSpeedDial.onAttachedToWindow(FabSpeedDial.java:239)

At least this should be mentioned somewhere.

Hello,
You should use next code:
FabSpeedDial fab = (FabSpeedDial) findViewById(R.id.fab);
because FabSpeedDial and FloatingActionButton different view types

Wrong
In FabSpeedDial class is this piece of code
// Set up the client's FAB
fab = (FloatingActionButton) findViewById(R.id.fab);

Means if i use (FabSpeedDial) findViewById(R.id.fab) I'll get this exception. Since It will try to Cast FloatingActionButton (defined by lib) into FabSpeedDial (defined by me)
Solution is just to use other id


Question

can it be used as a real-life e-commerce store?

u can use it for small shops at villages tho.


I wish that fix had been backported, but you should at least have a look at the logic behind:
https://godoc.org/github.com/kr/text
(I assume godoc.org is backed by you)

It also breaks pre Go 1.6 go get, so I'm not sure if we should encourage
that.
What's the rationale behind deleting the master branch?

What's the rationale behind deleting the master branch?

Vanity? But it sure gets people to look hard at vendoring.

Please see https://github.com/golang/gddo/issues/405

@kr not sure what point you are trying to make here ...
... but if you can confirm that you have no intention to reintroduce the master branch, I will have to fork your repo and try to patch up my stuff.

It seems reasonable that tools should use the default branch even if it's not master. Since the go tool already does and there's a separate gddo issue, I think there's nothing to be done here and this issue should be closed.


Fixing policy delete root

There's some edges to clean in the 07-performance.sh and I would like to see this as a PR check, like WARN: 5% drop performance, any suggestions?
With the first 2 commits I was able to get:
Time gained against master (higher is better):
real 39.3188%
user -12.9412%
sys 11.1111%

master
real 62.54
user 0.85
sys 0.09

this PR
real 37.95
user 0.96
sys 0.08

[ ]   File: tests/07-performance.sh:L1-77
 This is pretty brutal. I totally get where you want to go an this data is very useful. I'm not sure we can stash/pop an just bluntly run make install in a test. People may run this outside of vagrant inside their dev environment. I'll think about this.
 Yeah, I got problems myself when there was nothing to stash and when cleaning up I was blindly doing git stash pop
[ ]   General Comment
 Can we split this into two PRs. One which introduces the parallel build and one which adds the test? We could use the parallel builds for the released version.
 >Can we split this into two PRs. One which introduces the parallel build and one which adds the test? We could use the parallel builds for the released version.
Done #436
 @aanm Can you fix the unit test? This looks ready to be merged otherwise.

This pull request is now managed with CodeReviewHub. Refresh.

Can we split this into two PRs. One which introduces the parallel build and one which adds the test? We could use the parallel builds for the released version.

Can we split this into two PRs. One which introduces the parallel build and one which adds the test? We could use the parallel builds for the released version.

Done #436

@tgraf I wasn't aware of the unit tests, I'm still working on this ;-)

@tgraf l7 proxy demo doesn't work.

Other than the mutex related comment, this looks good to go otherwise.

BTW, please add an entry to NEWS.rst file to describe this big enhacement

@tgraf the news.rst sounds good?


translate to Japanese

translate to Japanese
add additional comment for japan environment

Thank you for consideration of timezone issue. LGTM.


Added Contributors in Readme.md file

@arbazalam01 good work, but as stated in the CONTRIBUTING.md, you are supposed to do a PR on Development branch. So please close this PR and do another PR on Development branch.


[source selector] group by source, rather than import name

Import name is an implementation detail which we shouldn't expose to users
Can we downplay that detail, and instead group by the displayed source  (we could still leave it under each option in gray).
So in the screenshot below:
NASA_NEXGDDP_CMIP6_Subnational --> nccs.nasa.gov
[NASA_NEXGDDP_CMIP6_Subnational]NASA_Mean_CMIP6_MPI-ESM1-2-HR, P1M, Celsius --> NASA_Mean_CMIP6_MPI-ESM1-2-HR, P1M, Celsius

relatedly, what's the difference between these two import groups (cc @pradh)

These are different datasets. DCP30 (finer resolution US only) is from https://www.nccs.nasa.gov/services/data-collections/land-based-products/nex-dcp30, while GDDP (coarser res than DCP30, worldwide) is from https://www.nccs.nasa.gov/services/data-collections/land-based-products/nex-gddp.
The corresponding urls in Provenance node should have these e.g., https://datacommons.org/browser/dc/17mxl62, https://datacommons.org/browser/dc/zq39qv3

thanks, that makes sense. perhaps we should put friendlier names now that we are using it more in the UI, and returning it in the API?

we should think about whether to change the import-name itself, or introduce a different display name for provenance that references the dataset (or introduce a node for Dataset referenced from Provenances?).  Because an import doesn't 1:1 map to a dataset, can be arbitrary depending on aggregation type, and referenced in different places (like here).

+1 for adding a linking Dataset with a nice display name

Adriana, check this one out.


Issus92-  Issue - Task conversion

Please add a description in PR and attach the issue for reviewer and future refer purposes.
If development is still going on, then convert it into a draft PR.

Closing this, as this feature has been implemented


Should we leave "Require Secret for Refresh Token Flow" ticked or not?

Issue in ./help/marketo/product-docs/crm-sync/salesforce-sync/log-in-using-oauth-2-0.md
There is now a new setting in the App Manager when we click to Enable OAuth Settings which isn't included in this image from the instructions:
https://experienceleague.adobe.com/docs/marketo/assets/setting-up-oauth-2-3.png?lang=en

The new setting is "Require Secret for Refresh Token Flow". Should this be ticked or not? Please updates the instructions accordingly.
Salesforce ticks it by default.
See screenshot

I've unticked this when setting up the sync. Let me know if you think this will cause issue?
Also note that the help text for: Require Secret for Refresh Token Flow is:
If you select this option, include the connected app’s client secret in the authorization request of the refresh token flow. If you don’t select this option and a connected app sends the client secret in the authorization request, Salesforce still validates it.


Request to add the extension to the Open VSX Registry

Gitpod can only load extensions from the Open VSX registry.
https://www.gitpod.io/docs/vscode-extensions#where-do-i-find-extensions
It would be nice if Nextflow syntax highlighting could also be used with VScode in Gitpod too.
The instructions are here: https://github.com/eclipse/openvsx/wiki/Publishing-Extensions
Open VSX Registry: https://open-vsx.org/

https://github.com/HaaLeo/publish-vscode-extension#readme
This could help with this effort.

https://github.com/HaaLeo/publish-vscode-extension#readme
This could help with this effort.


installation failed

Problem 1
- symfony/console v4.1.1 requires php ^7.1.3 -> your PHP version (7.1.17-0ubuntu<IP_ADDRESS>) overridden by "config.platform.php" version (7.1) does not satisfy that requirement.
- symfony/console v4.1.0 requires php ^7.1.3 -> your PHP version (7.1.17-0ubuntu<IP_ADDRESS>) overridden by "config.platform.php" version (7.1) does not satisfy that requirement.
- symfony/console v4.0.9 requires php ^7.1.3 -> your PHP version (7.1.17-0ubuntu<IP_ADDRESS>) overridden by "config.platform.php" version (7.1) does not satisfy that requirement.
- symfony/console v4.0.8 requires php ^7.1.3 -> your PHP version (7.1.17-0ubuntu<IP_ADDRESS>) overridden by "config.platform.php" version (7.1) does not satisfy that requirement.
- symfony/console v4.0.12 requires php ^7.1.3 -> your PHP version (7.1.17-0ubuntu<IP_ADDRESS>) overridden by "config.platform.php" version (7.1) does not satisfy that requirement.
- symfony/console v4.0.11 requires php ^7.1.3 -> your PHP version (7.1.17-0ubuntu<IP_ADDRESS>) overridden by "config.platform.php" version (7.1) does not satisfy that requirement.
- symfony/console v4.0.10 requires php ^7.1.3 -> your PHP version (7.1.17-0ubuntu<IP_ADDRESS>) overridden by "config.platform.php" version (7.1) does not satisfy that requirement.
- nettrine/orm v0.2.1 requires symfony/console ^4.0.8 -> satisfiable by symfony/console[v4.0.10, v4.0.11, v4.0.12, v4.0.8, v4.0.9, v4.1.0, v4.1.1].
- Installation request for nettrine/orm ^0.2.1 -> satisfiable by nettrine/orm[v0.2.1]

works if set project dependency php 7.1.3

Hi, thanks for an issue. I dont see any problem on nettrine’s side. What behaviour do you expect?

@f3l1x We should not probably require so specific versions of symfony/console if package work with lower versions (^4.0.0 at least)
@xpackal5 config.platform.php do almost the same as composer.lock. I recommend you prefer lock file.
config.platform.php literally deny you install newer dependencies then for php version defined in platform config (7.1.0 in your case)


Update OPENSSL_NEXT to 3.1.2

Fixes #7350.
OpenSSL 1.1.1 is reaching EOL in September so all the docker images are updated to use the latest available OpenSSL version as OPENSSL_NEXT.

OpenCI:
Development - https://mbedtls.trustedfirmware.org/job/mbedtls-release-ci-testing/48/
2.28 - https://mbedtls.trustedfirmware.org/job/mbedtls-release-ci-testing/49/
Internal:
Development - https://jenkins-mbedtls.oss.arm.com/job/mbedtls-release-ci-testing/525/
2.28 - https://jenkins-mbedtls.oss.arm.com/job/mbedtls-release-ci-testing/526/

Superseded by https://github.com/Mbed-TLS/mbedtls-test/pull/122


Adds way to allow additional environment variables from secretKeyRef

First-off: Thanks for the great work here!
Problem
We are using a CSI-provder to sync secrets between AWS and EKS. The way that secrets are bound into the controller deployment doesn't really fit our workflow, so I'd be happy to specify my own environment variables from secrets, kind of the same way as I can specify additional volumes and mounts.
This PR would allow something like this:
env:
  - name: GITHUB_APP_ID
    valueFrom:
      secretKeyRef:
        key: PROD_GHA-CONTROLLER_APP-ID
        name: prod-gha-controller-app-id
        optional: true
  - name: GITHUB_APP_INSTALLATION_ID
    valueFrom:
      secretKeyRef:
        key: PROD_GHA-CONTROLLER_APP-INSTALLATION-ID
        name: prod-gha-controller-app-installation-id
        optional: true
  - name: GITHUB_APP_PRIVATE_KEY
    valueFrom:
      secretKeyRef:
        key: PROD_GHA-CONTROLLER_APP-PRIVATE-KEY
        name: prod-gha-controller-app-private-key
        optional: true

Since i didn't want to break the existing env prop I've added a new one. The name is not perfect, maybe there're other suggestions :)

@mumoshu should we add an example somewhere, so people understand that i'ts possible without reading the templates?

@jonathanwiemers Thanks a lot for the fix! Regarding the example, I think it might be nice if it's covered in the default values.yaml as a comment

@mumoshu i've added an example, thanks for the quick answering here!

@mumoshu pls review once more :)


Option to fetch mic data

Feature request:
In my music visualization app I use NatDevice to access the microphone and process the audio data to finally visualize it (FFT …). I also use the same audio data to feed NatCorder, so it can record the microphone audio and include it in the video. Is the same possible using VideoKit (commit audio data from NatDevice)?
Your response on discord: “ Not yet; the current API doesn't expose a way to extract the audio data while recording. I recommend opening an issue for this; we can pretty easily expose an API to allow you to receive mic audio while it's being streamed.https://github.com/natmlx/VideoKit”
It would be great to have this feature - thanks!

This is in the works 😄

We've added the VideoKitAudioManager component, which exposes an OnSampleBuffer event that can be plugged into. Docs incoming.


unexpected behavior

Microsoft PowerToys version
0.76.2
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
the home page of power toys not appearing
✔ Expected Behavior
the home page of power toys should appear
❌ Actual Behavior
power toys closes
Other Software
windows 10

need a fix

Hi @Posiperu, do you still see this issue in the latest version of PowerToys?
If you still see this issue, could you send us a GIF or image of what the error is?


Maven error

Hello! :D, I have a question, does this project still work for use in maven? I don't know why it doesn't work for me :(

not anymore. the maven artifact server was taken down more than a year ago at this point. sorry.


feat: hashrate chart

Description
fixes #694
Demo
@Liubov-crypto to check all charts in app

Checklist:

[x] I have read and followed the Contributing Guide
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

Mainnet - LGTM.
Testnet isn't working:

Mainnet - LGTM.
Testnet isn't working:

That should be fine for this one


Error thene running ./oshi_run.pl

I have followed the guide but this error com then I run ./oshi_run.pl
Can't locate Short/URL.pm in @INC (you may need to install the Short::URL module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at ./functions.pm line 9.
BEGIN failed--compilation aborted at ./functions.pm line 9.
Compilation failed in require at ./oshi_run.pl line 11.

Short::URL module seem to be not installed on your system. This module is not in Debian packages and should be installed separately. The easiest way is to install it from cpan, so this command should work:
cpan -i Short::URL

Ooh thanks I will try that

Next release will include Short::URL to avoid confusion with this module when using perl modules from the OS distribution.


Fedora .rpm version

Hello, would you mind providing Fedora .rpm version for version 22.10.28?
Thank you very much

请稍等，暂时还不太方便编译rpm版。

已更新


feat: add pprof example

What type of PR is this?
feat: add pprof example

What this PR does / why we need it (English/Chinese):
en: add pprof example
zh: 增加pprof示例代码

Which issue(s) this PR fixes:

refer to https://github.com/cloudwego/hertz-examples/pull/36

LGTM


Add icones for prev next training

Looks like this now:

Before sending your pull-request 💌 make sure :

[x] The tests are up-to-date and your code is tested

Much better than my quick and dirty <> 😃


Enable skipLibCheck: true in tsconfig

...oops
https://twitter.com/mattpocockuk/status/1547486287443140614

I think we have this enabled.

In our code: https://github.com/t3-oss/create-t3-app/blob/main/tsconfig.json#L44
In the template: https://github.com/t3-oss/create-t3-app/blob/main/template/base/tsconfig.json#L6

nvm it's enabled my bad. Hrm.