Keyboard input disabled after paste

I updated oh_my_zsh this morning to SHA a9c8820.  If I try to paste into the terminal, the paste does not work and all keyboard input is disabled for that session.  I have to create a new session to be able to type again.  This was all working before the update.  I have duplicated the behavior on both iTerm and the OSX Terminal App.  OSX version: 10.10.5  ZSH version: 5.1.1
~/.zshrc
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh

# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="lmauldin"

# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"

# Uncomment this to disable bi-weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"

# Uncomment to change how often before auto-updates occur? (in days)
# export UPDATE_ZSH_DAYS=13

# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"

# Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment following line if you want to disable command autocorrection
# DISABLE_CORRECTION="true"

# Uncomment following line if you want red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true"

# Uncomment following line if you want to disable marking untracked files under
# VCS as dirty. This makes repository status check for large repositories much,
# much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment following line if you want to  shown in the command execution time stamp
# in the history command output. The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|
# yyyy-mm-dd
# HIST_STAMPS="mm/dd/yyyy"

# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
#plugins=(git osx bower brew composer golang laravel sublime)

source $ZSH/oh-my-zsh.sh

# User configuration

export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/lmauldin/dev/lmauldin/codenvy-cli/assembly/target/codenvy-cli-2.3.0/codenvy-cli-2.3.0/bin"
# export MANPATH="/usr/local/man:$MANPATH"

# # Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# ssh
# export SSH_KEY_PATH="~/.ssh/dsa_id"

#custom configuration
source $HOME/.aliases
export HOMEBREW_BUILD_FROM_SOURCE=1
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)

### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"

#Add golang path
export GOPATH=/Users/lmauldin/dev/goexternal
export PATH="$GOPATH/bin:/Users/lmauldin/dev/gosrc/bin:$PATH"
export GOROOT=/Users/lmauldin/dev/gosrc
#export GOROOT=/usr/local/opt/google-cloud-sdk/platform/google_appengine/goroot/
export GO15VENDOREXPERIMENT=1

#Add dartlang to path
export PATH="/usr/local/opt/dart-sdk/bin:$PATH"

#Add play path
export PATH="/usr/local/opt/play-2:$PATH"

#Add composer to path
export PATH="$PATH:$HOME/.composer/vendor/bin"

# The next line updates PATH for the Google Cloud SDK.
#source /usr/local/opt/google-cloud-sdk/path.bash.inc
export PATH="/usr/local/opt/google-cloud-sdk/bin:$PATH"

# The next line enables bash completion for gcloud.
#source /usr/local/opt/google-cloud-sdk/completion.bash.inc

#Set Java GAE path (needed for GAE Gradle plugin)
export APPENGINE_HOME="/usr/local/opt/google-cloud-sdk/platform/appengine-java-sdk"

# Source PHPBrew
source $HOME/.phpbrew/bashrc

# Add aliases for Emacs
alias e='emacsclient -t'
alias ec='emacsclient -c'

# Add env variables for apps
export PMHOME="/Users/lmauldin/dev/pe/apps/pmtool"
export ERP408HOME="/Users/lmauldin/dev/pe/apps/pmtool/erp-extender/pms408"
export ERP420HOME="/Users/lmauldin/dev/pe/apps/pmtool/erp-extender/pms420"

 eval $(ssh-agent)

function cleanup {
   echo "Killing SSH-Agent"
   kill -9 $SSH_AGENT_PID
 }

trap cleanup EXIT

Possibly related to #4337. I'm unable reproduce on 10.9.5 or 10.11 beta, though, and don't have a 10.10 box around for testing.

I did notice that I had to start putting quotes around the urls when using youtube-dl recently.  That was before zsh input broke entirely after doing a paste.  I did reboot my machine but the behavior is the same.

Well, that's not good.
Could you run omz_diagnostic_dump and post the results as a gist, so we have full diagnostic info? If we can't reproduce it based on that, I'll set up a 10.10 testing box.

https://gist.github.com/LukeMauldin/33f95073b63745cd612a

Hmmm. Something's not quite right. I don't see anything obvious in that gist. (The "core commands redefined" is a false alarm; omz_diagnostic_dump just doesn't understand the 5.1.1 implementations yet.) But with zsh 5.1.1 and the current OMZ, the url-quote-magic should be working to auto-escape those pasted YouTube URLs, even with no plugins loaded.
Could you add your lmauldin.zsh-theme file to the gist so we can see it, too? Looks like there's some terminal escape sequences in there; maybe they're interacting with something. (I'd also suggest moving that theme to custom/themes or an external $ZSH_CUSTOM directory, so it doesn't show up as a spurious untracked file in your OMZ installation.)

FWIW, I'm also seeing issues with bracketed paste in vim on OS X 10.9. (It ends up "smart indenting" stuff when it shouldn't.) Something is really not quite right here, but I can't figure out what it is yet.

FWIW, I can also reproduce this issue. ZSH 5.1.1, OS X 10.10.5. Let me know if I can help debug - alternatively, any idea of mitigation steps ?

For mitigation, you could copy lib/misc.zsh to your $ZSH_CUSTOM and comment out this section to disable the url quoting and bracketed paste support. You'd lose safe pasting but it might keep things from locking up.

Got another report that sounds like this: #4452. And it's not just OMZ, I just saw a similar bug report on the Zsh developers list: "[BUG] bracketed-paste-magic breaks pasting of CJK payload".
This is common enough we might need to add an option to disable bracketed paste, or detect zsh versions where it's buggy and turn it off there. Let's see what comes out on the Zsh list thread. In the mean time, knocking it out in lib/misc.zsh should mitigate it.

Happens without OMZ loaded, too. Pretty clear this is an upstream zsh bug in zsh 5.1.1.
This is enough to reproduce:
zsh -f
autoload -Uz bracketed-paste-magic
zle -N bracketed-paste bracketed-paste-magic
echo  # and then paste 惷惼誃 here

(zsh -f runs zsh without any of the startup files, so is an easy way to test behavior in a stock non-OMZ zsh.)

From the zsh developers mailing list:

Known issue, fixed Sept. 11 by workers/36496 plus 36525 on Sept. 12.

Sounds like maybe we should not enable bracketed-paste-magic when running under zsh 5.1.1. Or just advise users to use a different version of zsh if they work with non-English text regularly. Thoughts?

The latest oh-my-zsh update resolved my problem without pasting.  Do you want me to close this issue?

That's a surprise. We didn't check in any fixes for it as far as I know, and it is still broken for me after updating to the current OMZ.
Let's leave this open until we have a confirmed fix, because I bet other people are still experiencing it.
Any ideas what in particular fixed it for you in this last update?

The last time I ran update-oh-my-zsh, I saw that lib/misc.zsh was updated so I just figured that fixed it.  If you have anything you want me to try, just let me know.

Hmmmm... the last two commits were for ack-grep, which is totally unrelated. Last update before that was on Sep 10, and that's what (I think) would have caused this problem in the first place: it was the one that enabled bracketed-paste-magic support. There's no fix in recent updates.
Glad it's resolved for you! But it's still busted for other users. Your report here is the best description of the issue, so I'd like to leave it open until we understand it and have a fix for everyone. Would you mind not closing this until we have a confirmed fix, or a well-understood and documented workaround? If you don't want to get notification emails from GitHub, I think you can click the "Unscubscribe" button over that way. ------->

This is still broken for me on latest .oh-my-zsh and 5.1.1

I have the same issue. Pasting from clipboard with any characters (only english too) pastes nothing and breaks keyboard input until ctrl+c. When I comment source "$ZSH/oh-my-zsh.sh" clipboard pasting works fine. Turning off all zsh plugins has no effect.
OMZ commit f3fa41834d9c954ee2d352c6c5b60d72f7a93593
OS X 10.11 (on 10.10 I had this issue too)
zsh 5.1.1 (x86_64-apple-darwin14.5.0)

Hi folks, here's a workaround that just doesn't enable bracketed-paste or url-quote under 5.1.1. Works for me. Give it a try and let me know if it fixes it for you.
https://github.com/apjanke/oh-my-zsh/tree/5_1_1-bracketed-paste-hack
To try this out locally:
cd ~/.oh-my-zsh
git remote add apjanke https://github.com/apjanke/oh-my-zsh.git
git fetch apjanke
git checkout apjanke/5_1_1-bracketed-paste-hack

and then launch a new terminal session.

@apjanke Hi. Your workaround works for me too. I've just deleted smart urls block and clipboard pasting now works fine. Thank you. PR?

PR: #4473

Actually, since bracketed paste mode is now the default in zsh 5.1.1, maybe the real fix is to tweak url-quote-magic to work with it, and not require bracketed-paste-magic.

PR is merged. Update OMZ and give it another try, folks...

bracketed-paste-magic is still broken on Mac 10.12 and 10.13, which translate to zsh 5.2 and zsh 5.3.


Capacitor flush by timer

Capcitor should sync. with storage by timer (period eq. write window size+const)

BOOST have timer lib.


Update README.md

Updating header

Can one of the admins verify this patch?

@markdeed can you tell me more about this change? Which branch are you referring to?

Hi Please disregard my request. I was lost in the azure tutorials, and
thought I was downloading a tutorial code example.
regards
Mark Deed
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, 11 Jun 2019 at 14:22, Alex Ghiondea<EMAIL_ADDRESS>wrote:

@markdeed https://github.com/markdeed can you tell me more about this
change? Which branch are you referring to?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-sdk-for-net/pull/6531?email_source=notifications&email_token=AJL7WE3F6TZ66H324MFOAFLPZ4SBXA5CNFSM4HW2ITU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXL4TJI#issuecomment-500681125,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJL7WEYUC2Y6ZKRDF2HDYJTPZ4SBXANCNFSM4HW2ITUQ
.

The opener thinks this should be closed.  I agree.  It appears to have been a misunderstanding.


[Enhancement] Create a new awesome editor!

Create a new, updated version of our editor.
You can follow the progress here: https://editor.travja.dev/class/crusader/edit
Description:
Make a new editor and make it awesome!

Lol


cmus: on macOS, CoreAudio support is broken because AudioUnit dependency is not provided; @oxij

Describe the bug
No audio. Error message in cmus status bar:
Error: opening audio device: couldn't initialize required output plugin
To Reproduce

Install CMUS on macOS (I tested BigSur 11.2)
Try to play any audio.

Expected behavior
Obvious.
Additional context

tested on macOS version 11.2 (BigSur)

Notify maintainers
@oxij
Metadata
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-darwin"`
 - host os: `Darwin 20.3.0, macOS 10.16`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.3.10`
 - channels(root): `"nixpkgs-21.03pre268255.e5b478271ea"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

NOTE: host os is reported as macOS 10.16, but I am running 11.2
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: cmus

I believe this was closed by #112461


how  to  control  the  robot  to move ?

bro,  after I run roslaunch unitree_gazebo robot_simulation.launch ,  gazebo  run well  , but    how to  control  the   robot   to  move    by   12  joints  ?

After that, run below examples:
scripts/example_torque.py or scripts/example_torque(lowlevel).py


Update references to codegangsta to urfave (new org name)

Also add notice to README

:clap: yay!
On Sun, May 22, 2016, 17:42 Jesse Szwedko<EMAIL_ADDRESS>wrote:

Also add notice to README
You can view, comment on, or merge this pull request online at:
https://github.com/urfave/cli/pull/422
Commit Summary

Update references to codegangsta to urfave (new org name)

File Changes

M CHANGELOG.md
https://github.com/urfave/cli/pull/422/files#diff-0 (52)
M README.md https://github.com/urfave/cli/pull/422/files#diff-1
(52)
M altsrc/flag.go
https://github.com/urfave/cli/pull/422/files#diff-2 (2)
M altsrc/flag_test.go
https://github.com/urfave/cli/pull/422/files#diff-3 (2)
M altsrc/input_source_context.go
https://github.com/urfave/cli/pull/422/files#diff-4 (2)
M altsrc/map_input_source.go
https://github.com/urfave/cli/pull/422/files#diff-5 (2)
M altsrc/yaml_command_test.go
https://github.com/urfave/cli/pull/422/files#diff-6 (2)
M altsrc/yaml_file_loader.go
https://github.com/urfave/cli/pull/422/files#diff-7 (2)
M app.go https://github.com/urfave/cli/pull/422/files#diff-8 (2)
M runtests https://github.com/urfave/cli/pull/422/files#diff-9
(2)

Patch Links:

https://github.com/urfave/cli/pull/422.patch
https://github.com/urfave/cli/pull/422.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/urfave/cli/pull/422


Updates for operator syntax

It looks I made a couple of errors there previously, sorry.
It should be fixed now, i tested it manually.
But there are no automated tests for free functions right now. Should we add them?
Thank you,
Grigoriy

Looks good! Thanks!

@gchudnov yes, I would like to have tests for the operator | () usage for all the operators. I was avoiding active use of that pattern in the beginning, but the rangev3 library has made the switch from .operator() to | operator() inevitable.


Arg tweaks to match MSBuild

A minor grab-bag.

I generated a csproj for every framework and dumped the debug output from MSBuild. These are the easy (relevant) differences. The rest are in the default references (see #41).

Leading zeroes in the minor version don't change the version, but trailing zeroes do. For example, 6.1 and 6.01 refer to the same version, but 6.10 refers to a different version. We recommend expressing the minor version as two digits to avoid confusion.

🤣

Wow wtf


Move App out of src root and into components/App.

All the App.* files don't belong in the root. Let's put them in their own directory since it will only grow.

actually... travis failed. Css needs to be regenerated I guess

Superseded by #39
@mtho11 ok to close?


Added solution of Positive Prefixes.

Related Issue
#153
Describe the changes you've made
Added solution of Positive Prefixes.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Language used for coding
C++
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

Your comments in your code is very less, always try to maximize comments in your code for easy understanding of code.

Ok.

I will add more comments in my programs from the next time.

Add comments to all your code, this pull request and all next pull request.

Ok

Please check it now.

Please check it now.


Password parameter not supported

It is not possible to provide a password parameter as required by the service and described in the specification.
Ref: https://github.com/DK-Hostmaster/dsu-service-specification#the-ds-update-service

Addressed in release 1.1.1


Exec: Don't add cd $working_dir as that is set when the process is

started, so it isn't required and would be incorrect.

I'm not sure whether this should be changed too.

LGTM. The pushd command should not be changed; it's being used for a side effect: when you pushd \\some\shared\folder this has the side effect of "mounting" the share to a drive letter, which is required to set the working directory in CMD. I'll clarify the comment to make that more explicit.


Check on compile time that nexploit-cli is available

On the lines of
 HAS_NEXPLOT = {{ system("which nexploit-cli") }}

Done via: https://github.com/NeuraLegion/sec_tester/commit/b935e292ba92cce57b34921864b425aa23233c2c


DO NOT MERGE! Fast Forward stable to 4da8b5ab7f4477976568312dcb23bcf9cb7466bd.

This PR will be merged automatically once checks are successful.

Jenkins job manager/postsubmit passed

Jenkins job manager/e2e-suite passed


[Key Request] - ValueEntry.Table.al - Key7

We would like to request the following key change:
Object: ValueEntry.Table.al
Reason: There is one missing field for Key7, which will slow down the performance on large databases for the procedure SumCostsTillValuationDate on ValueEntry.Table.
Those fields are defined as SumIndexFields:
"Cost Amount (Expected)", "Cost Amount (Actual)", "Cost Amount (Expected) (ACY)", "Cost Amount (Actual) (ACY)", "Item Ledger Entry Quantity"
Those fields are used for the CalcSums:
"Cost Amount (Expected)", "Cost Amount (Actual)", "Cost Amount (Expected) (ACY)", "Cost Amount (Actual) (ACY)", "Item Ledger Entry Quantity", "Invoiced Quantity"
procedure SumCostsTillValuationDate(var ValueEntry: Record "Value Entry")
var
    ...
begin
    ...
        SetCurrentKey("Item No.", "Valuation Date", "Location Code", "Variant Code");
        ...
        CalcSums(
          "Item Ledger Entry Quantity", "Invoiced Quantity",
          "Cost Amount (Actual)", "Cost Amount (Actual) (ACY)",
          "Cost Amount (Expected)", "Cost Amount (Expected) (ACY)");
        OnSumCostsTillValuationDateOnAfterCalcSums(Rec);
        ...
end;

New Key configuration:
key(Key7; "Item No.", "Valuation Date", "Location Code", "Variant Code")
{
    SumIndexFields = "Cost Amount (Expected)", "Cost Amount (Actual)", "Cost Amount (Expected) (ACY)", "Cost Amount (Actual) (ACY)", "Item Ledger Entry Quantity", "Invoiced Quantity";
}

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Availability update: We will publish a fix for this issue in the next update for release 19.


Updated 3dv-19b with links

👷 Deploy Preview for gladia processing.

Name
Link

🔨 Latest commit
6c6c0b39207aeab47e86d0fef7719fa6e55867b7

🔍 Latest deploy log
https://app.netlify.com/sites/gladia/deploys/643555c36c41020008757faa


Not reciving messages with Microsoft.AspNet.SignalR.Client in client .Net Core 2.0

Hi,
I have a SingalR server with .Net Framework 4.5.2, and a SignalR Client ( Console Application)  with .Net Framework 4.5.2 using:
Server:

Client:

All of them are working fine since months ago.
But currently I have another SignalR client in a .Net Core 2.0 Console Application using the same version of  Microsoft.AspNet.SignalR.Client. It is connecting fine, but is not reciving messages from the hub connection. Is there any issue with this nuget in .Net Core?
This is the code:
        var hubProxy = hubConnection.CreateHubProxy("MyHub");

        hubProxy.On("created", data =>
        {
            Console.WriteLine("Incoming Created  data: {0}", data);
        });

        hubProxy.On("deleted", data =>
        {
            Console.WriteLine("Incoming Deleted data: {0}", data);
        });

        hubConnection.Start().ContinueWith(x =>
        {
            hubProxy.Invoke("subscribe", "firstFeature", "secontFeature");
        }).Wait();

        Console.WriteLine("Connected to {0}", hubConnection.Url.ToString());

Thanks!

Closing this as the issue belongs on github.com/SignalR/SignalR


[New game]: GSSOC '23: 3D Car Racing Game

🎮 Game Request
Game logic and basic description:
It is a 3D racing game using HTML, CSS, and JavaScript. It sets up event listeners for keyboard input, initializes game variables and objects, and updates the game state in a loop. The game involves driving a car on a road,avoiding obstacles and other cars, and trying to complete laps as quickly as possible. The code also includes functionality for displaying a high score table and playing sound effects.
Point down the features
Game points:
It is basically a normal race game where we see a screen in front of us and instructions below the screen  describing about how to play the game. It has all the sounds which a race game should have. The race begins on a track where there are multiple cars and we have to race against them. When we come infront of any other car our car's speed becomes zero and the car honks.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @sujanrupu !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hello @sujanrupu, Time's Uppp!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @sujanrupu ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Added trust anchor rfc

Added RFC for Trust Anchor feature in DRG.

There a couple of points that needs some more design before starting to implement things :

Spec out the payload for the cert in the app spec section.
Same as above but for the device spec section
If we allow pushing device private key and cert to the cloud it MUST be encrypted, so there are some metadata going along, the payload needs specification as well


PR for 05 -- monday - review+preview

New PR for 05 branch including NestedAccordion, FullWidthTabs, and QuotesRotator directories/files.

Kinda looks like there are too many commits in this PR. Did you create your WIP Branch from an updated master (i.e. after merging your last PR) or from your previous WIP Branch...?

I think it was from my previous WIP Branch before I started merging my pull requests after each homework.


[BUG] Nitro gift button toggle not working

Nitro gift toggle not working for me on version 1.7.0
BD version Core 1.10.2
Discord Stable 342968
Windows 10

also experiencing this

Same

Fixed in 1.7.1

Fixed in 1.7.1

You forgot to update the version number fyi

Fixed in 1.7.1

You forgot to update the version number fyi

Totally right, I updated it in the changelog but not the actual script. Just pushed a fix right now.


question: how to not count backup slides, or slides after the end of presentation

I have some slides after the end of presentation and I don't want to count them, how can I do this?

What do you mean by "count"?

page count or page numbers

Like after a slide page numbers reset

I guess I solved it by hardcoding the entire footer myself like
#let footer={
  let cell(fill: none, it) = rect(
      width: 100%, height: 100%, inset: 1mm, outset: 0mm, fill: fill, stroke: none,
      align(horizon, text(fill: white, it))
    )

    locate( loc => {
        let colors = uni-colors.at(loc)

        show: block.with(width: 100%, height: auto, fill: colors.b)
        grid(
          columns: (25%, 1fr, 15%, 10%),
          rows: (1.5em, auto),
          cell(fill: colors.a, uni-short-author.display()),
          cell(uni-short-title.display()),
          cell(uni-short-date.display()),
          cell(logic.logical-slide.display() + [~/~] + [33])//hardcoded
        )
      })}
      ```

Okay I think I understand what you mean now. There is no built-in way to achieve this, yet. It should be easy to implement though, so expect to have this in version 0.4.0 :)

Hello, I am also interested in having this feature.
I might be able to try to do it if you think this could be a good fit for a first contribution.

How's the state? :)

It's never been worked on so far, I think.


QR code scanner in a small div or component

I Need the QR code like the below example

The camera view itself will always be fullscreen. The webview background is made transparent to show it. But you can just put a non-transparent div in your app to block parts of the camera view.

@ChandAbdullah did this work for you? We know that currently codes can be scanned outside of the div you are defining, unfortunately this is kinda hard to achieve with the current state of the project. We are working on a solution for this problem, but it might take a while and it will require some work on your side as well once it is done.

@ChandAbdullah since I have not heard anything I will close this issue. If you still having troubles feel free to reopen it!

Similar problem, i'm making a view for a price checker. So i need just the view camera on the top of the screen so i can show the products on the bottom of the screen. The problem is if put a div in front of the camera view, the top part doesn't recognize de code bar because of the scan area

Yeah, this is currently not possible. I am working on a version which would allow things like this, but unfortunately I am not able to provide a date when it might be ready.
The iOS version is nearly ready, but the Android version might take a while if I have to do it all by myself...
Sorry for not being able to provide you better news ;)

Hello @thegnuu . Is there any update on this? Will we be able to use the plugin as shown in screenshots?

We will yes, someone is currently working on the Android implementation of MLKit and as far as I am informed the results are quite promising there as well. With this you will be able to get the x, y, width and height values of the scanned barcode, therefore you will be able to only accept codes scanned in your defined area.
Unfortunately there is still no timeline...

+1

+1


Type: Ephemeral

Please note that the client.succNormal() function, when used with the type: 'ephemeral' parameter, is not functioning correctly.

it needs to be reply or ephemeralReply If I'm right. It is possible that i made a typo


wip: this is just to test travis configuration.

test test test

CIs with GitHub Actions have been introduced.
https://github.com/google/mozc/commit/3aa19b0c65024d4e27431e7cedeb9d84b838642b
Thanks,


Forcefully add some classes (like sap/ui/core/ComponentSupport) to a self-contained build

Expected Behavior
Only the sap-ui-custom.js boostrap JavaScript should be loaded when a self-contained build is chosen. The boostrap should contain all classes needed to run the application.
Current Behavior
Some files are anyways loaded seperately, such as the sap/ui/core/ComponentSupport in case the data-sap-ui-oninit boostrap option is chosen to load a component.
Steps to reproduce the issue

Change the index.html file of the samle application to load the ComponentContainer via the data-sap-ui-oninit="module:sap/ui/core/ComponentSupport" method
Build & serve the sample app self-contained

Context

OS/Platform: Windows
Node.js Version: 10.11.0
npm Version: 6.4.1
Browser (if relevant): Chrome Dev.
Other information: Tested on 1.59.0

Affected components

[x] ui5-builder
[ ] ui5-server
[ ] ui5-cli
[ ] ui5-fs
[ ] ui5-project
[ ] ui5-logger

Until we have worked out a solution, a workaround would be to manually add the dependency e.g. the Component.js module:
sap.ui.define([
  "sap/ui/core/UIComponent",
  "sap/ui/core/ComponentSupport"
], function(UIComponent) {
  "use strict";
  return UIComponent.extend("sap.ui.demo.todo.Component", {
    metadata: {
      manifest: "json"
    }
  });
});


An 1980/improving sushi tables

Major improvements in this PR:
1- adding collateral info to the borrow model
2- replacing event_inputs with  Topics/data


fix: null client_id when init lsp

E5108: Error executing lua ...ack/packer/start/plenary.nvim/lua/plenary/popup/init.lua:408: Vim(append):Error executing lua callback: ...r/neovim/HEAD-8f95f3e/share/nvim/runtime/lua/vim/lsp.lua:1217: client_id: expected number, got nil
stack traceback:
[C]: in function 'error'
vim/shared.lua: in function 'validate'
...r/neovim/HEAD-8f95f3e/share/nvim/runtime/lua/vim/lsp.lua:1217: in function 'buf_attach_client'
...im/site/pack/packer/opt/copilot.lua/lua/copilot/util.lua:33: in function 'attach_copilot'
...k/packer/opt/copilot.lua/lua/copilot/copilot_handler.lua:19: in function <...k/packer/opt/copilot.lua/lua/copilot/copilot_handler.lua:18>
[C]: in function 'nvim_set_current_win'
...ack/packer/start/plenary.nvim/lua/plenary/popup/init.lua:408: in function 'create'
...ck/packer/start/telescope.nvim/lua/telescope/pickers.lua:318: in function '_create_window'
...ck/packer/start/telescope.nvim/lua/telescope/pickers.lua:390: in function 'find'
...ker/start/telescope.nvim/lua/telescope/builtin/files.lua:246: in function 'v'
...ker/start/telescope.nvim/lua/telescope/builtin/files.lua:467: in function 'v'
...cker/start/telescope.nvim/lua/telescope/builtin/init.lua:481: in function 'find_files'
[string ":lua"]:1: in main chunk
stack traceback:
[C]: in function 'nvim_set_current_win'
...ack/packer/start/plenary.nvim/lua/plenary/popup/init.lua:408: in function 'create'
...ck/packer/start/telescope.nvim/lua/telescope/pickers.lua:318: in function '_create_window'
...ck/packer/start/telescope.nvim/lua/telescope/pickers.lua:390: in function 'find'
...ker/start/telescope.nvim/lua/telescope/builtin/files.lua:246: in function 'v'
...ker/start/telescope.nvim/lua/telescope/builtin/files.lua:467: in function 'v'
...cker/start/telescope.nvim/lua/telescope/builtin/init.lua:481: in function 'find_files'
[string ":lua"]:1: in main chunk

I'll merge this but before I do I need some more context. I want to make sure that this isn't a bandage over a root issue that needs to be addressed, as I am confused about how the client id is null after initialization. If it is, ill just build a commit on top of this one, or send you the relevant changes so it can be included in one patch. Can you give me a set of actions that reliably reproduces this?

Sure, so the whole process is that I use Session manager to load sessions and switch different sessions, then project.nvim will update the cwd. When I toggle Telescope(find_files) to open files, the error shows up.
I saw copilot will act as a lsp client and attach, so i don't really know how it happened:(


Error with race and sync Observables

RxJS version:
5.0.0-beta.6
Code to reproduce:
At the Node (v5.0.0) console:
rx.Observable.race(rx.Observable.of(true), rx.Observable.of(false).delay(1500)).subscribe(console.log.bind(console))

Expected behavior:
true

Actual behavior:
true
TypeError: Cannot read property 'push' of null
    at RaceSubscriber._complete (/.../node_modules/@reactivex/rxjs/dist/cjs/operator/race.js:86:35)
    at RaceSubscriber.Subscriber.complete (/.../node_modules/@reactivex/rxjs/dist/cjs/Subscriber.js:113:18)
    at ArrayObservable._subscribe (/.../node_modules/@reactivex/rxjs/dist/cjs/observable/ArrayObservable.js:116:24)
    at ArrayObservable.Observable.subscribe (/.../node_modules/@reactivex/rxjs/dist/cjs/Observable.js:52:62)
    at Observable._subscribe (/.../node_modules/@reactivex/rxjs/dist/cjs/Observable.js:109:28)
    at RaceOperator.call (/.../node_modules/@reactivex/rxjs/dist/cjs/operator/race.js:55:23)
    at Observable.subscribe (/.../node_modules/@reactivex/rxjs/dist/cjs/Observable.js:52:38)
    at repl:1:81
    at REPLServer.defaultEval (repl.js:248:27)
    at bound (domain.js:280:14)

Additional information:
If I delay both, I don't get the TypeError. If I use toPromise and then .then it, rather than calling subscribe I don't get the TypeError.
It seems clear that it's a result of one of the Observables being synchronous. However if this is expected behavior I have two questions: (1) What should I do instead, if I receive Observables that may or may not be sync? (2) Why does the error appear to be an internal error, rather than a user-facing error?
cc @matthewwithanm

I don't think this is expected behavior, Observable should not throw in this case. Let me try look into to see what's happening.

I was mildly excited when I thought @matthewwithanm was "Matthew with ham". Then I reread it. Can't win 'em all.


Bump framework version

Purpose

$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/10021711827

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/10021711827
Status: failure


[Proposal][Fixes #4187] Get rid of DNX services

We don't need IAssemblyProvider anymore as we have application parts, this commit removes support for IAssemblyProvider from MVC and DNX assembly provider. For customers running on RC1 using DNX that want to use nightly bits, the alternative is to add their assemblies manually to the IMvcBuilder.ApplicationPartManager during startup.

@javiercn - do they have to add the 'entry' assembly or do they get that for free?

@rynowak https://github.com/aspnet/Mvc/pull/4379/files#diff-163fbc17d95ee0fb70308a33731c7766R49

:shipit:

059ec0f3531cbbd04258c6ea5b4951ca27eecc92


Fix DataViewer functional tests

For #8992

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Has a news entry file (remember to thank yourself!)
[ ] Appropriate comments and documentation strings in the code
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[x] Unit tests & system/integration tests are added/updated
[ ] Test plan is updated as appropriate
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed)
[ ] The wiki is updated with any design decisions/details.

Codecov Report

Merging #8994 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8994      +/-   ##
==========================================
- Coverage   57.63%   57.62%   -0.01%
==========================================
  Files         530      530
  Lines       27657    27657
  Branches     4183     4183
==========================================
- Hits        15939    15938       -1
- Misses      10824    10825       +1
  Partials      894      894

Impacted Files
Coverage Δ

src/client/common/utils/platform.ts
70.58% <0%> (-5.89%)
:arrow_down:

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 141f44e...c9587b2. Read the comment docs.


Uncaught ReferenceError: EasyMDE is not defined

was trying the fancy editor for the first time, got this (this is the latest docker pull i think)

Hmm... The fancy editor is unique in that it tries to save some space by using brotli-compression for its js and css. Copyparty is not able to decompress brotli, so the browser won't be able to load the resources if the browser (or proxy) didn't include br in the list of accepted transfer compressions. So I'm guessing it's the reverse-proxy that expects all responses from copyparty to be uncompressed.
Since I'm fairly certain this is the issue, I've pushed new docker images which uses gzip compression instead. Hope this fixes it :>
Out of curiosity, what reverse-proxy are you using?


doc: Add octodiff-docker.sh

Currently:
PuppetDB Username: krinkle
PuppetDB Password:
The octocatalog-diff command is now ready for use!

root@ac4aaaa39725:/infrastructure-puppet# octocatalog-diff -n codeorigin-02.stage.ops.jquery.net
#<Thread:0x00007f03a4a00218 /usr/lib/ruby/3.1.0/open3.rb:296 run> terminated with exception
	(report_on_exception is true):
/usr/lib/ruby/3.1.0/open3.rb:296:in `read': stream closed in another thread (IOError)
	from /usr/lib/ruby/3.1.0/open3.rb:296:in `block (2 levels) in capture3'
#<Thread:0x00007f03a4a00088 /usr/lib/ruby/3.1.0/open3.rb:297 run> terminated with exception
	(report_on_exception is true):
/usr/lib/ruby/3.1.0/open3.rb:297:in `read': stream closed in another thread (IOError)
	from /usr/lib/ruby/3.1.0/open3.rb:297:in `block (2 levels) in capture3'
/usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog-util/bootstrap.rb:150:in `run_bootstrap':
	bootstrap failed for /tmp/ocd-ipc-20230402-3978-ovvf8x/ocd-bootstrap-checkout-20230402-3979-fu3b95:
		/tmp/ocd-ipc-20230402-3978-ovvf8x/ocd-bootstrap-checkout-20230402-3979-fu3b95
		/test_data/bootstrap.sh: line 4: g10k: command not found (OctocatalogDiff::Errors::BootstrapError)

	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog-util/bootstrap.rb:96:in `bootstrap_directory'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog/computed.rb:96:in `bootstrap'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog/computed.rb:113:in `build_catalog'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog.rb:96:in `build'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:241:in `build_catalog'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:34:in `call'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:34:in `execute'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:197:in `execute_task'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:119:in `block (2 levels) in run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `fork'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:117:in `block in run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `each_with_index'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:114:in `run_tasks_parallel'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/parallel.rb:94:in `run_tasks'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:92:in `build_catalog_parallelizer'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/util/catalogs.rb:29:in `catalogs'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1/catalog-diff.rb:34:in `catalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/api/v1.rb:19:in `catalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:152:in `run_octocatalog_diff'
	from /usr/lib/ruby/vendor_ruby/octocatalog-diff/cli.rb:126:in `cli'
	from /usr/bin/octocatalog-diff:34:in `<main>'

Looks like we're missing g10k from the container and the list of required packages.

@supertassu It's getting a bit further but still doesn't appear to work correctly.  Tried three different ways, got three different errors. 😬
root@78f186ba3de3:/infrastructure-puppet# octocatalog-diff -n codeorigin-02.stage.ops.jquery.net
W, [2023-04-11T05:18:41.621540 #4340]  WARN -- : Puppet command failed: STDOUT:
STDERR:
  Error: Evaluation Error: Error while evaluating a Resource Statement, Could not find declared class apt (file: /tmp/ocd-ipc-20230411-4338-j618bx/ocd-builddir-20230411-4340-emubnx/environments/staging/modules/profile/manifests/base/apt.pp, line: 5, column: 3) on node codeorigin-02.stage.ops.jquery.net
  Error: Evaluation Error: Error while evaluating a Resource Statement, Could not find declared class apt (file: /tmp/ocd-ipc-20230411-4338-j618bx/ocd-builddir-20230411-4340-emubnx/environments/staging/modules/profile/manifests/base/apt.pp, line: 5, column: 3) on node codeorigin-02.stage.ops.jquery.net

root@78f186ba3de3:/infrastructure-puppet# octocatalog-diff --environment production -n puppet-03.ops.jquery.net
W, [2023-04-11T05:19:03.317895 #4401]  WARN -- : Puppet command failed: STDOUT:
STDERR:
  Error: Execution of config_version command `/tmp/ocd-ipc-20230411-4399-wh9gzl/ocd-builddir-20230411-4401-z7y1pl/environments/production/bin/config-version.sh production` failed: Execution of '/tmp/ocd-ipc-20230411-4399-wh9gzl/ocd-builddir-20230411-4401-z7y1pl/environments/production/bin/config-version.sh production' returned 128: fatal: ambiguous argument 'production': unknown revision or path not in the working tree.
  Use '--' to separate paths from revisions, like this:
  'git <command> [<revision>...] -- [<file>...]' on node puppet-03.ops.jquery.net
  Error: Execution of config_version command `/tmp/ocd-ipc-20230411-4399-wh9gzl/ocd-builddir-20230411-4401-z7y1pl/environments/production/bin/config-version.sh production` failed: Execution of '/tmp/ocd-ipc-20230411-4399-wh9gzl/ocd-builddir-20230411-4401-z7y1pl/environments/production/bin/config-version.sh production' returned 128: fatal: ambiguous argument 'production': unknown revision or path not in the working tree.

root@78f186ba3de3:/infrastructure-puppet# octocatalog-diff -f production -t staging -n search-02.ops.jquery.net
E, [2023-04-11T05:19:23.846424 #4452] ERROR -- : Git checkout error: Git archive production->/tmp/ocd-ipc-20230411-4451-adf01/ocd-bootstrap-checkout-20230411-4452-n8ljxt failed: STDOUT:
STDERR:
  fatal: not a valid object name: production
  tar: This does not look like a tar archive
  tar: Exiting with failure status due to previous errors
#<Thread:0x00007f2e188e74c8 /usr/lib/ruby/3.1.0/open3.rb:296 run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/3.1.0/open3.rb:296:in `read': stream closed in another thread (IOError)
	from /usr/lib/ruby/3.1.0/open3.rb:296:in `block (2 levels) in capture3'
#<Thread:0x00007f2e188e7360 /usr/lib/ruby/3.1.0/open3.rb:297 run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/3.1.0/open3.rb:297:in `read': stream closed in another thread (IOError)
	from /usr/lib/ruby/3.1.0/open3.rb:297:in `block (2 levels) in capture3'
/usr/lib/ruby/vendor_ruby/octocatalog-diff/catalog-util/bootstrap.rb:109:in `rescue in git_checkout': Git archive production->/tmp/ocd-ipc-20230411-4451-adf01/ocd-bootstrap-checkout-20230411-4452-n8ljxt failed: STDOUT: (OctocatalogDiff::Errors::BootstrapError)
STDERR:
  fatal: not a valid object name: production
  tar: This does not look like a tar archive
  tar: Exiting with failure status due to previous errors

As long as you run g10k -puppetfile beforehand (to download the vendor_modules/ directory) this seems to roughly work as I'd expect:
PuppetDB Username: taavi
PuppetDB Password:
The octocatalog-diff command is now ready for use!

root@e337d92b3c25:/infrastructure-puppet# git diff
diff --git a/modules/profile/manifests/typesense.pp b/modules/profile/manifests/typesense.pp
index d40f8ff..be0d77c 100644
--- a/modules/profile/manifests/typesense.pp
+++ b/modules/profile/manifests/typesense.pp
@@ -12,6 +12,11 @@ class profile::typesense (
     dport => 443,
   }

+  file { '/etc/test':
+    ensure  => file,
+    content => 'test',
+  }
+
   $backend_port = 8108
   $tls_config = nginx::tls_config()

root@e337d92b3c25:/infrastructure-puppet# git status
On branch octodiff-docker
Your branch and 'origin/octodiff-docker' have diverged,
and have 135 and 1 different commits each, respectively.
  (use "git pull" to merge the remote branch into yours)

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   modules/profile/manifests/typesense.pp

no changes added to commit (use "git add" and/or "git commit -a")
root@e337d92b3c25:/infrastructure-puppet# octocatalog-diff -n search-02.ops.jquery.net
I, [2023-08-04T16:31:22.087298 #3978]  INFO -- : Catalogs compiled for search-02.ops.jquery.net
I, [2023-08-04T16:31:22.117871 #3978]  INFO -- : Diffs computed for search-02.ops.jquery.net
I, [2023-08-04T16:31:22.118046 #3978]  INFO -- : Note: you can use --display-detail-add to view details of added resources
+ File[/etc/test]
*******************************************

@supertassu Thanks, that got me a step further.
After that, there were two more issues:

vendor_modules/ not writable by g10k (I mount the git repo as read-only).
/tmp and and git repo are on different file systems, wheraas g10k requires hard links between cachedir and vendordir.

I fixed those by ensuring the directories exist ahead of time, and mounting them separately overtop (can't let docker lazy-create the vendor_modules directory because creating a new directory isn't allowed in a readonly dir).
Merged in https://github.com/jquery/infrastructure-puppet/commit/864f5844b2e01e0a76102a02c1a8af9bd8b36dd4.


Better code compatibility with TypeScript

Here is a list of problem we would have if we switch the code to typescript:
Property 'moveend' does not exist on type 'Events'
https://github.com/openglobus/openglobus/blob/master/src/og/camera/Camera.js#L183
Property 'viewchange' does not exist on type 'Events'
https://github.com/openglobus/openglobus/blob/master/src/og/camera/Camera.js#L280

FYI @pavletto

...I'd say get closer to a kind of code which suits for ts hadlers:)

Replaced to https://github.com/openglobus/openglobus/issues/657


Update Coracle

You changed the line endings. What software did you use? Maybe it's better to use CRLF for CSV files?

Ugh line endings. I used Numbers on mac. Updated with a different editor.

Thanks!

Where do I find the NIP-11 metadata for relays? I can only find notes and reviews.

I see the descriptions now, under "Browse Relays". Thanks


Add Cool Dark Mode feature to your Website

Please add Hactoberfest labels

hey, I want to try ...

Hey Bro can you assign me this, I will make the PULL REQUEST in just few minutes after you assign me the issue

You can make your pull request!

I want to contribute

Sure go ahead!

I  can work on this issue under gssoc 23 contribution ?

hii i have already assigned to @Aishika3

I'm a contributor for GSSoC '23, I want to work on this issue. Please assign me.


Ctrl+A selects all items in single-selection listbox

Hi, it's me again bringing you yet another listbox issue (I have a talent). As the title says, pressing Ctrl+A when a listbox has the keyboard focus selects all items, even if the listbox is single-selection. I imagine this isn't intended behavior.

Thank you for reporting this issue, a fix has been checked into hotfix branch.


Debug cell not working on macOS

Issue Type: Bug
Debug cell launches the debugger but won't stop at breakpoint or show any signs of any execution. Trying to access the variables before the first breakpoint in debug console throws an error which probably means it is not just a UI issue. The debugger works just fine in interactive python files, but not in notebooks. This issue reproduces in the Insiders version. A gif will be attached.
Extension version: 2022.1.1001775990
VS Code version: Code 1.64.0 (5554b12acf27056905806867f251c859323ff7e9, 2022-02-03T04:20:22.135Z)
OS version: Darwin arm64 20.6.0
Restricted Mode: No

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.22GB free)

Process Argv
--crash-reporter-id 9c18ce9b-c0c7-4fa0-a5c2-eecd7b2d0261

Screen Reader
no

VM
0%

A/B Experiments
![vscode-debug-cell-issue](https://user-images.githubusercontent.com/28503057/152713735-6e439523-0586-4677-9ffc-227c838e64f9.gif)
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30425749
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30433059
pythonvs932:30410667
wslgetstarted:30433507
vscop940:30404999
vsrem710cf:30416617

Can confirm the same behavior on Windows.
Environment data

VS Code version: 1.64.0
Jupyter Extension version: v2022.1.1001775990
Python Extension version: v2022.0.1786462952
OS Windows and version: Windows 10 21H2 Build 19044.1503
Python and/or Anaconda version: Python 3.10.1
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): poetry / virtualenv
Jupyter server running: Local

As an addition, I found that if you add the breakpoint in the first line it works, while a breakpoint in any other line is ignored.

After some testings, it seems that the issue is linked to ipykernel version 6.4.1
I have downgraded to ipykernel 6.4.0 and it works perfectly

Duplicate of https://github.com/microsoft/vscode-jupyter/issues/8803


Compatibility with Coq 8.10

Hi all,
Since 8.10+beta1 is out and SProp is included in this release, it's probably time to start porting MetaCoq to support Coq 8.10 (which adds SProp to MetaCoq as well).
I've added support of SProp to MetaCoq at some point https://github.com/annenkov/template-coq/tree/master but now it is out of sync with master branch of the main MetaCoq repo.
What do you think, how should we approach this?

We also need a roadmap to 8.9 compatibility with the most recent features.

I can reuse your commits once I move 8.8 to 8.9 and master. I think we'll not handle Ints for now, and give proper support for SProp in the master version only (e.g. MetaCoq 8.10 will have a different interface from 8.9, following Coq). We could try being more clever and make things optional but that would be a lot of work I think.

Hi @mattam82 Matthieu,
Great! My SProp-compatible version is in a separate repo, once you are ready to use it, could you please tell me how to proceed? Should I do a pull request or something?

Hi @annenkov, a PR would be great indeed

Note, that 8.10 was released and pushed to opam.

Updating metacoq is not the same as updating any other contrib since we need to reflect changes in the kernel into our own representation. This takes time, please be patient.

with 8.11 around the corner, 8.10 support would be great

With 8.11 released, projects depending on MetaCoq are now stuck with Coq 8.9 which is 2 versions old (8.9).

Yep,  I'm on it

The coq-8.11 branch should also build now. Note that SProp and Primitives are not supported yet, but hopefully 8.11 and 8.10 will both be updated with it soonish. Time to put MetaCoq in Coq's CI too :)

What about coq-metacoq-template OPAM package? Can we expect an updated version?
Current one requires coq < 8.10

Yep, it’s coming


Real time reloading for writing APIs and seeing changes in real time.

Real time reloading
To reload the server on every change in files of the directory, you may find entr convenient, e.g.:
$ ls -d * | entr sh -c "killall endpoints; endpoints --prefix=mycontroller --host=localhost:8000 &"

Could add this or something comparable to readme.

We mostly use tests that start and stop the server on each test run, so we've never investigated how to do this, but I think this is a great solution for this problem and I had never heard of entr before. I've updated the readme. Thanks


How does this effort relate to biicode?

biicode appears to address many of the same issues as Hunter.  How is it different?  How is it the same?

In short Hunter try to be a thin wrapper for existing techniques and biicode try to be a stand-alone project just using CMake under the hood. This is what I see for now with my little experience. I will add some examples of what I mean later.

Diff A (binary vs CMake module)
You've already ask me about why Hunter is not binary executable so now we can compare it on practice :)
Let's see how regular CMake's users build projects (instead of wget *.tar.gz may be git clone, svn checkout, etc.):
CMake workflow (without 3rd party dependencies)
1. Install CMake (`apt-get install cmake`)
2. Download project (`wget https://github.com/.../awesome-project.tar.gz`)
3. Generate project (`cmake -Hawesome-project -B_builds`)
4. Build project (`cmake --build _builds`)

CMake workflow (with 3rd party dependencies)
1. Install CMake (`apt-get install cmake`)
1a. Install dependencies (like `apt-get install libboost-dev` or `brew install boost`)
2. Download project (`wget https://github.com/.../awesome-project.tar.gz`)
3. Generate project (`cmake -Hawesome-project -B_builds`)
4. Build project (`cmake --build _builds`)

Using Hunter package manager build commands are quite the same:
Hunter workflow (with or without dependencies)
1. Install CMake (`apt-get install cmake`)
1a. *Not needed*
2. Download project (`wget https://github.com/.../awesome-project.tar.gz`)
3. Generate project (`cmake -Hawesome-project -B_builds`) (dependencies installed automatically)
4. Build project (`cmake --build _builds`)

Actually you can disable Hunter by HUNTER_ENABLED=OFF and workflow remains the same:
CMake workflow (with 3rd party dependencies)
1. Install CMake (`apt-get install cmake`)
1a. Install dependencies (like `apt-get install libboost-dev` or `brew install boost`)
2. Download project (`wget https://github.com/.../awesome-project.tar.gz`)
3. Generate project (`cmake -Hawesome-project -B_builds -DHUNTER_ENABLED=OFF`)
4. Build project (`cmake --build _builds`)

Biicode workflow
0. Install biicode (`apt-get install biicode`)
1. Install CMake (`apt-get install cmake` or `bii setup:cpp`)
2. Download project (`wget https://github.com/.../awesome-project.tar.gz`)
3. Generate project (`bii cpp:configure`) # not needed if using default CMake arguments
4. Build project (`bii cpp:build`)

Also some extra work needs to be done to use other tools. For example to open CMake GUI you still need to use Biicode explicitly from command line:
Biicode workflow (CMake GUI)
0. Install biicode (`apt-get install biicode`)
1. Install CMake (`apt-get install cmake` or `bii setup:cpp`)
2. Download project (`wget https://github.com/.../awesome-project.tar.gz`)
3. Generate project (`bii cpp:configure`) # you must create master CMakeLists.txt file
3a. Open myprojects/cmake/CMakeLists.txt in CMake GUI and run "Generate"
4. Run "Build"

Same with Qt Creator, but on step 3a hit "Run CMake" button.
Well I understand that it's just a matter of habit but anyway. Also binary can cause some unpredictable surprises. For example after I've downloaded Biicode I found out that it doesn't work on os x 10.8, though my build tools like Xcode, clang, CMake (and hence Hunter) works fine.
Probably one of the reasons that Biicode is binary is that you can generate CMake project without actually having CMakeLists.txt, but in this case it matters only for "Hello world" application. If you project is big enough and have some build options you must know how to work with CMake commands. Also Biicode can be used not only for CMake/C++ projects (?).
Note: I know that sometimes CMake doesn't have enough flexibility/simplicity. I personally have CMake-build wrapper too: https://github.com/ruslo/polly. But I'm looking at this project as an experimental stuff that can be moved after testing to other products like Hunter (build-in toolchains) or CMake (there is a bug/discussion in CMake mailing list about functionality similar to --open option)

Diff B (ini format vs CMake code)
As you can see here biicode.conf is ini-like configuration file. This is probably inspired by the existent package managers like npm or cocoa pods, but in fact I think it have no benefits against simple CMake code. Actually since CMake used to build stuff it fit much better. So assume we have some package dependency only for windows. CMake code:
if(WIN32)
  find_package(WinSpecific REQUIRED)
  target_compile_definitions(... WITH_WIN_SPECIFIC=1)
endif()

Using Hunter package manager it can be solved by:
if(WIN32)
  hunter_add_package(WinSpecific)
  find_package(WinSpecific REQUIRED)
  target_compile_definitions(... WITH_WIN_SPECIFIC=1)
endif()

I don't know if there is an option in Biicode for such job, but I assume it will be looked like this:
[requirements]
  [windows]
    author/WinSpecific

I think logical connection is discarded here, see CMake code remained:
if(WIN32)
  target_compile_definitions(... WITH_WIN_SPECIFIC=1)
endif()

Now think about some widely-used pattern like this:
if(FOO_TESTS)
  find_package(GTest REQUIRED)
endif()

if(FOO_DOCUMENTATION)
  find_package(Doxygen REQUIRED)
endif()

if(FOO_SECURED)
  find_package(OpenSSL REQUIRED)
endif()

in terms of Hunter package manager it's quite transparent:
if(FOO_TESTS)
  hunter_add_package(GTest)
  find_package(GTest REQUIRED)
endif()

if(FOO_DOCUMENTATION)
  hunter_add_package(Doxygen)
  find_package(Doxygen REQUIRED)
endif()

if(FOO_SECURED)
  hunter_add_package(OpenSSL)
  find_package(OpenSSL REQUIRED)
endif()

Diff C (adaptation overhead)
Note that if you have CMake project without dependency you can add it to Hunter without changing any code at all. And for the non-CMake project without dependencies there is no need to change the package code, you only need to use custom build scheme.
Example 1:

Hunter GTest only diffs from official release in adding install target (it's out of this discussion why GTest have no install target by default): https://github.com/hunter-packages/gtest/commit/79bd2ae98ab0c24859c4cbc89355804fa31ae98e
As you can see here extra code needed to integrate GTest into Biicode: https://github.com/davidsanfal/gtest/blob/57d6ad126b73ce3e059d0b49a745c92d750e30d6/CMakeLists.txt#L32

Example 2:

OpenSSL used as is. I think it's kind of imporant for security reason to not to change any code, even if it's only build-related: https://github.com/ruslo/hunter/blob/master/cmake/projects/OpenSSL/hunter.cmake#L28:

hunter_add_version(
    PACKAGE_NAME
    OpenSSL
    VERSION
    "1.0.1d"
    URL
    "https://github.com/openssl/openssl/archive/OpenSSL_1_0_1d.tar.gz"
    SHA1
    d427eaf3e7e399f7f5562e00eebd6f2412903339
)

As far as I can see Biicode use patched version: https://www.biicode.com/lasote/lasote/openssl/master/3/biicode.conf

For project with dependencies you only need to add one HunterGate command and hunter_add_package command for each dependency (example):
project(Foo)
HunterGate(
    URL ....
    SHA1 ...
)

hunter_add_package(Roo)
find_package(Roo REQUIRED)

hunter_add_package(Bar)
find_package(Bar REQUIRED)

for Biicode you need to rewrite your code in terms of BII_BLOCK_TARGET. As far as I see in example in documentation:
IF(BIICODE)
  ADD_BIICODE_TARGETS()
  TARGET_LINK_LIBRARIES(${BII_BLOCK_TARGET} INTERFACE pthread)
  TARGET_LINK_LIBRARIES(${BII_LIB_TARGET} PUBLIC pthread)
ELSE()
   # Your regular project configuration here
ENDIF()

Diff D (Code is not shared)
If I create two projects that depend on GTest:
> bii init project1
> bii init project2

and run bii cpp:build for each of them - GTest will be built twice. Hunter store resulting library in kind of root location, like system: /usr/lib/libgtest.a, but customizable: <root-id>/lib/libgtest.a. So any number of packages can reuse this library. Probably you can orginize your Biicode layout like this:
blocks/ruslo/-
             - foo # use GTest
             - boo # reused!

but you sometimes have no control of project location. For example jenkins-ci configuration result next project layout for matrix {Debug,Release}x{A,B}:
workspace/<proj-name>/CONFIG/Debug/TOOLCHAIN/A
workspace/<proj-name>/CONFIG/Debug/TOOLCHAIN/B
workspace/<proj-name>/CONFIG/Release/TOOLCHAIN/A
workspace/<proj-name>/CONFIG/Release/TOOLCHAIN/B

For the small projects like GTest it doesn't matter in practice but if you have a huge project I think it definitely will be the problem.

Diff E (backward compatibility)
If you're planning sometimes use your old build manager (like apt-get, brew or may be CMake super-build) or you plan to experiment a little bit, you can set HUNTER_ENABLED=OFF and all HunterGate and hunter_add_package commands will be ignored. In case of Biicode in fact as far as I understand you need to support two types of build - CMake and Biicode. From documentation:
if(BIICODE)
  ADD_BIICODE_TARGETS()
  SET_TARGET_PROPERTIES(${BII_BLOCK_TARGET} PROPERTIES COMPILE_DEFINITIONS "IOV_MAX=255")
else()
  add_executable(foo source1.cpp source2.cpp) # DRY violation, source files listed in biicode.conf already (?)
  SET_TARGET_PROPERTIES(foo PROPERTIES COMPILE_DEFINITIONS "IOV_MAX=255")
  TARGET_INCLUDE_LIBRARIES(foo "./include") # DRY violation, already in [include] section (?)
endif()

Actually I'm kind of confused here since I'm not sure how I can build two targets, like two libraries (?)
As a result Biicode have a totally different target after install. E.g. GTest build produces target libgoogle_gtest.a. Usually GTest have libgtest.a and libgtest_main.a. So I can't adapt my regular testing since GTest missing library with main function.

Diff F (File based dependency manager)

http://blog.biicode.com/file-based-cpp-dependency-manager/

This is feature of Biicode and Hunter is not designed to manage any of such activity, but I want to mention it. Well this is a great idea in general, but I'm kind of pessimistic about can it be implemented in near future correctly without c++ standard support (hence support of compilers; well, all of the major compilers if you want to be cross-platformic). Back to the GTest, simple example:
#if defined(_WIN32)
# include <google/gtest/gtest.h>
#endif

> uname
Darwin
> bii find
...
Find resolved new dependencies:
    google/gtest: 10
...
> bii cpp:build
# GTest built but not used actually

Same with CMake build option:
if(USE_CURL)
  add_definitions(-DUSE_CURL=1)
elseif(USE_ASIO)
  add_definitions(-DUSE_ASIO=1)
else()
  ...
endif()

#if (USE_CURL)
# include <curl/curl.h>
#elif (USE_ASIO)
# include <asio/asio.hpp>
#else
# include <...>
#endif

so I think only compiler knows what is the dependency exactly in this case.
More of this some dependencies have the same include path:
#include <iostream> // libc++ or libstdc++ ?
#include <mpi.h> // Open MPI or MPICH2 ?

so it's only 3rd party manager responsibility to decide what to load exactly.

Diff G (Toolchain build)
Both Hunter and Biicode support custom toolchain build: http://docs.biicode.com/c++/building.html#using-a-custom-tool-chain. But in case of Biicode you need to create separate project to use different toolchain without overwriting each other. So let's guess we have two toolchains: libcxx and libstdcxx. I have a project, want to hack it a little bit and test:
> git clone https://myproject/location/project.git
> bii init --somehow
> # hack the code
> bii cpp:configure -t libcxx
> bii cpp:build
> bii cpp:configure -t libstdcxx # now old build lost and will be rebuild on new '-t libcxx' configure from scratch

Hunter workflow can use both builds simultaneously from the same source code (note that source code is "dirty"/"experimental"):
> cmake -H. -B_builds/libcxx -DCMAKE_TOOLCHAIN_FILE=libcxx.cmake
> cmake --build _builds/libcxx
> cmake -H. -B_builds/libstdcxx -DCMAKE_TOOLCHAIN_FILE=libstdcxx.cmake
> cmake --build _builds/libstdcxx

By the way I don't see how I can build Debug/Release with Biicode from the same directory.
Also flags from toolchain must be forwarded to non-CMake projects too. Here is Biicode bug:
bii cpp:configure -t libcxx -DCMAKE_VERBOSE_MAKEFILE=ON
bii cpp:build
/.../.biicode/boost/1.57.0/stage/lib/libboost_filesystem-clang-darwin42-mt-1_57.a

bii cpp:configure -t libstdcxx -DCMAKE_VERBOSE_MAKEFILE=ON
bii cpp:build
/.../.biicode/boost/1.57.0/stage/lib/libboost_filesystem-clang-darwin42-mt-1_57.a

which lead to undefined symbols linker errors:
  Undefined symbols for architecture x86_64:
    "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::find_last_of(char const*, unsigned long, unsigned long) const", referenced from:

Hunter builds two versions of boost for both toolchains and works correctly:
> cmake --build _builds/libcxx
... -std=c++11 -stdlib=libc++ /.../_Base/264a0bd/78005b3/Install/libcxx/lib/libboost_filesystem-mt.a
> cmake --build _builds/libstdcxx
... -std=c++11 -stdlib=libstdc++ /.../_Base/264a0bd/78005b3/Install/libstdcxx/lib/libboost_filesystem-mt.a

biicode is off:

https://twitter.com/biicode/status/697196264774103040
http://blog.biicode.com/biicode-just-the-company-post-mortem/index.html

As far as I understand there are some guys from biicode that continue similar work in this project:

https://www.conan.io/

From the brief overview I see that they are using quite the same approach as biicode, so the difference will be quite the same, e.g. Diff B: ini vs CMake.

Seems that could be some integration between Conan and Cmake.

Seems that could be some integration between Conan and Cmake

@bhack Not sure I understand what you're trying to say here.

Just that you can use conan feature trougth Cmake generators.

Just that you can use conan feature trougth Cmake generators

This discussion was about biicode originally. I just noted that now it's conan, however some diffs remain the same like Diff B. As far as I understand conan use conanfile.txt to hold information about dependencies so it's still valid, right?
@bhack you're trying to add some new diff or trying to say that some diff is obsolete, or what?


forceRTL(false) is not working on when device language is set to Arabic or RTL language. (iOS + Android)

Description
forceRTL to false does not work if the device language is set to Arabic which leads the layout to be always RTL even if the user wants to change to LTR. When the device language is set to Arabic the phone layout obviously turns to RTL. However, the app is always forced to RTL. I tried to do forceRTL(false) and restart the app but it does not work. It remains as RTL.
I found the same problem on android and ios 14 versions as well.
Version
0.66.4
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 12.0.1
CPU: (8) arm64 Apple M1
Memory: 362.33 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 17.3.1 - /opt/homebrew/bin/node
Yarn: 1.22.17 - ~/Workspace/swiftorder-reactnative/node_modules/.bin/yarn
npm: 8.3.0 - /opt/homebrew/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.2 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
Android SDK:
API Levels: 28, 29, 30, 31, 32
Build Tools: 29.0.3, 30.0.2, 32.0.0
System Images: android-32 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7935034
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_292 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.66.4 => 0.66.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce

Set the device language to Arabic
set forceRTL(false) in react native app.

Still remains as RTL.
Snack, code example, screenshot, or link to a repository
No response

Seems like for android I need to call I18nManager.allowRTL(false) before restarting.


Support Vue3

Thanks for the plugin!
I needed it on a project with Vue3, and I did the migration.
Maybe I allowed myself a lot indicating the version of the plugin, but I think you will fix it.
Thanks again for the plugin! Good luck.

Oh, I would love to see this in the official repo so I can easily install it via npm... @danieldiekmeier can you approve this PR?


Threading improvements

Updated the way threading is handled for Counter, Gauge, and Histogram so that locks are not required as Prometheus discourages the use of mutex pattern for client libraries. Adding some missing capabilities recommended by Prometheus.

Prolific. Thanks for the improvements! These are now part of 1.2-rc on nuget.


Chunker: Bedrock biomes aren't converted correctly

My world has a mushroom island center and parts of the island are incorrectly converted as ocean and plains. some parts are successfully converted as mushroom fields. The incorrectly converted parts are somehow y level dependent, i can be around my chest area (which is mushroom fields (correct) and fly up 20 blocks to reach a plains biome in the air as well as an ocean biome a few blocks futher in the y axis. then goes ocean up to around 140 Y and after that its plains again onwards

Could you clarify what version and edition your world is? And the destination format?
Screenshots are also appreciated if possible with F3 on Java.

its a Bedrock World on 1.20.1 (which was originally created around 1.15) converted to Java 1.19.3 (I apologize, i should've realized that this is probs a side affect of going back some versions)

If you're able to send a copy of the map to<EMAIL_ADDRESS>(feel free to use something like OneDrive if it's a big world) with coordinates and we'll get this investigated when we can. There is indeed a loss in biomes going backward in versions, but I don't believe what you've described should be impacted.

Thank you for submitting the world, we've reviewed the world and the biome issues come down to a few things:

Java uses biome blobs of 4x4x4 whereas Bedrock can have a biome per block.
Java does various blending, you can turn off Biome Blend in the settings, and in Chunker in Advanced you can use "Prevent Y Biome Blending"
When a Chunk isn't present in the Java world, you'll see the plains biome (as it's the default biome).
There was a bug in Chunker that led to biomes being incorrectly converted in some cases, this would be the reason you would see the ocean biome sometimes in the air. This should be fixed as of our latest update.


Viewing Heaps for suspended UWP apps causes PH to crash (0xc0000005)

When I use the new Heap View, PH first hangs and later crashes if I try to view heaps for a suspended UWP app.
Win10 2004 (19041.331), 32Bit, PH3.0.3146

On 64 Bit 18362 I have no issues.
Here is windbg output:
FAULTING_SOURCE_FILE:  D:\processhacker\phlib\native.c

FAULTING_SOURCE_LINE_NUMBER:  8964

FAULTING_SOURCE_CODE:
  8960:         RtlDestroyQueryDebugBuffer(debugBuffer);
  8961:         return status;
  8962:     }
  8963:
> 8964:     heapDebugInfo = PhAllocateZero(sizeof(PH_PROCESS_DEBUG_HEAP_INFORMATION) + debugBuffer->Heaps->NumberOfHeaps * sizeof(PH_PROCESS_DEBUG_HEAP_ENTRY));
  8965:     heapDebugInfo->NumberOfHeaps = debugBuffer->Heaps->NumberOfHeaps;
  8966:     heapDebugInfo->DefaultHeap = debugBuffer->ProcessHeap;
  8967:
  8968:     for (ULONG i = 0; i < heapDebugInfo->NumberOfHeaps; i++)
  8969:     {

SYMBOL_NAME:  ProcessHacker!PhQueryProcessHeapInformation+8d

MODULE_NAME: ProcessHacker

IMAGE_NAME:  ProcessHacker.exe

STACK_COMMAND:  ~0s ; .ecxr ; kb

FAILURE_BUCKET_ID:  NULL_POINTER_READ_c0000005_ProcessHacker.exe!PhQueryProcessHeapInformation

OS_VERSION:  10.0.19041.1

BUILDLAB_STR:  vb_release

OSPLATFORM_TYPE:  x86

OSNAME:  Windows 10

Fixed in latest nightly build 👍

Fixed in latest nightly build 👍

ok, I get the messagebox now, but as said it works in 190x, so maybe check debugBuffer for NULL so that we can still query it on 190x

so maybe check debugBuffer for NULL

This is how I fixed the crash.

we can still query it on 190x

It still needs some work. I'll enable querying UWP in a day or two.

It still needs some work. I'll enable querying UWP in a day or two.

ok

so maybe check debugBuffer for NULL

This is how I fixed the crash.

you skip the call by checking is process is immersive and return . So the code is not executed. I just tested 1709 and 1809 with old version and here I can view the data for suspended apps (shell is suspended as I use StartIsBack++)

The new code also blocks viewing heap for store apps on my mainly used Windows 8.1.
So maybe MS broke the API in 2004 or changed it a bit which caused the error.

you skip the call by checking is process is immersive and return

I fixed the crash by checking if the buffer is null:
https://github.com/processhacker/processhacker/blob/d69943514418ad41f0e62899e7c9b2edf24a5cc8/phlib/native.c#L8968-L8977

The new code also blocks viewing heap for store apps

This is temporary. Querying store apps can still deadlock the entire process when it gets automatically suspended while we're querying heaps. I've been testing various methods to enable the process and disabled the query while working on that issue.


refactor: add scan area button disabled state

Description
When clicked scan area button, stores router.query params component's state and compares equality between old query params and new query params. The button is disabled if both param objects have same value.
discord username: Tolga#1490
**closes #1164 **
Please describe your changes. Also describe your aim and content. Do not forget to list the dependencies required caused by those changes.
## Things to check before creating a PR

[ ] I have inspected my topic, checked.
[ ] If it is a core feature, executed detailed tests.

Creating PR rules

[ ] PR must be created for an issue with approved tag. Otherwise PR will be rejected.
[ ] Relevant issue number: The issue number related to PR must be attached to head of PR header, after prefix after prefix # must be attached in parenthesis. A header like this could be used "prefix(#issue_number): PR header" .
[ ] A descriptive and understandable title: The PR title should clearly describe the nature and purpose of the changes. The PR title should be the first thing displayed when the PR is opened. And it should follow the semantic commit rules. For example, a title like "docs(#issueId): Add README.md" can be used.
[ ] Related file selection: Only relevant files should be touched and no other files should be affected.
[ ] Format and Lint Suitability : The code should be made in accordance with a certain format standard and examined according to the lint rules.
[ ] Clean commit history: The commits where the changes are made should be clear and organized.
[ ] Opening PR when job is completed: PR should be opened when job is completed and sent for review by other team members.

Changes

[ ] A new feature (a change that adds a new feature, not a breaking change)
[ ] A new refactor (a change that is not a breaking change, that improves the readability or performance of the code)
[ ] A breaking change
[ ] Documentation change

How were these changes tested?
Please describe the tests you did to test the changes you made. Please also specify your test configuration.
Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

I tested this one on the feature branch both for mobile and web. It ıs working as expected as far as I can see. The button is disabled when the query parameters are equal. @sevilayerkan Can you please edit the tags since I do not have the persmission.


BI-2127 Position Information missing from exp download file

Description
BI-2127 Position Information missing from exp download file
There were 2 separate problems:

The row and column fields would only populate if there was data for both row and column.  If a record only had data for row but not column or If a record only had data for column but not row, then the data for neither row or columnwould appear for that record.
The data for Lat, 'Long, Elevation, and RTK` was not being added to the download spreadsheet.

Testing

Import an experiment with row data but not column data.
Import an experiment with column data but not row data.
In the above two import files, include data for Lat, 'Long, Elevation, and RTK`
Download the experiments

EXPECTED RESULTS
The download data should match the import data.
Checklist:

[x] I have performed a self-review of my own code
[x] I have tested my code and ensured it meets the acceptance criteria of the story
[ ] I have tested that my code works with both the brapi-java-server and BreedBase
[ ] I have create/modified unit tests to cover this change
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to documentation
[ ] I have run TAF: <please include a link to TAF run>

Sample file for testing
short_noCol_exp.xlsx
short_noRow_exp.xlsx
short_noRowOrCol_exp.xlsx
short_RowAndCol_exp.xlsx


RELATED: RAIL-4012 Fix proxy issues on tiger, fix tiger readme

Fix the proxy according to the new needs of the Tiger setup.
Fix the regex for the protocol to only mathc the start of the string.
Unify naming of the REACT_APP_DEV_TIGER_API_TOKEN variable in README.

JIRA: RAIL-4012

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-create-gooddata-react-app-unit-tests-zuul-docker-el7/330/ : SUCCESS in 48s
https://checklist.intgdc.com/job/compliance/job/gooddata-create-gooddata-react-app-oss-check/263/ : SUCCESS in 6s

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/compliance/job/gooddata-create-gooddata-react-app-merge-compliance-check/134/ : SUCCESS in 20s
https://checklist.intgdc.com/job/client-libs/job/gooddata-create-gooddata-react-app-unit-tests-zuul-docker-el7/331/ : SUCCESS in 51s
https://checklist.intgdc.com/job/compliance/job/gooddata-create-gooddata-react-app-fossa-scanning-zuul-el7/99/ : FAILURE in 5m 48s (non-voting)


[CI] Refactor CI jobs

I think a structure like this might be nice:

In parallel, build all C/C++ drivers, Go drivers, and Java drivers
In parallel, build GLib/Ruby code and CGo drivers (using outputs of previous stages as inputs)

That way we can get some more parallelism out of CI, but also, we don't have to redo all the work from scratch for each configuration. This will matter more now that we have things like a Go Flight SQL driver that can be used in C/C++ - we either have to duplicate build configs, or have a single very long job.

It will work.
I can help GLib/Ruby parts.

Thanks. #354 takes care of it, hopefully it looks alright. It also enables the PostgreSQL tests in CI for once.
#355 needs updating but shows the motivation: a Go driver is being built into a Python package. Eventually I'd like to get Dremio running in CI as a container to test the Flight SQL driver. (@zeroshade has mostly figured this out, I believe.)

@lidavidm @kou Yup, I've figured it out because I've done it before. I'm just setting up the tests and everything that I'll use against dremio (using an env var to specify the URI) first and then i'll introduce the CI changes to get it running as a container in CI on top of this refactor.


Optionally disable touch gestures on the header

First of all, thank you for this great project!
This may be a niche use case, but it is as follows:

I want to use tabs inside a sheet;
I want the tab navigation to be fixed, like a header;
I want the tab navigation to overflow horizontally, with the user needing to scroll it to see all the tabs;
If I put the tab navigation in the header prop, it will be hard for the user to interact with it since it supports touch gestures. If the user does not scroll the tab navigation perfectly horizontally, the sheet goes slightly up and down, which is annoying.

After many failed attempts to make it work without opening an issue, I've come to the conclusion that there is only two possible solutions:

The enableTouchOnHeader prop, which optionally disables touch gestures on the header;
The beforeContent prop, which inserts a div between [data-rsbs-header] and [data-rsbs-scroll].

The names are up for debate, of course. And if we add this for the header, I think the footer should have it too (enableTouchOnFooter/afterContent).
Here's an example of what I want to achieve:

I'll be happy to open a pull request once this is discussed.

Hi  @henriqemalheiros I also came across this case and not able to do this. Do you mind share how did you make this header disabled

Hi @henriqemalheiros I also came across this case and not able to do this. Do you mind share how did you make this header disabled

Hey, @kpnaveen! I've ended up implementing our sheets from scratch. There was a lot of other UI/UX requirements and I couldn't find anything that met them.


setup.cfg: update install_requires deprecated to use == instead of ~=

This is necessary to use pip with --require-hashes.
The motivation for this is: https://github.com/GoogleChromeLabs/chromium-bidi/pull/1283#issuecomment-1714658021
The latest version of Deprecated is 1.2.14 as per https://pypi.org/project/Deprecated/.

I refuse to pin dependency versions in a library; doing so would just lead to version conflicts and installation failures if anyone ever tries to install anys alongside a package that pins Deprecated v1.2.13 or v1.2.15 or any other version which anys is perfectly capable of working with but which you want anys to reject for the sake of your CI setup.
If pip's --require-hashes refuses to work with perfectly cromulent version specifiers, either file a bug report with pip or stop using --require-hashes.

However, I'm not entirely unreasonable; I figure now's as good a time as any to remove the deprecated function API, which means the dependency on Deprecated will go away entirely.  Does #4 work for you?

Hi John, thanks for your quick response here, and for suggesting an alternative. Yes, #4 works as well. Thanks!

anys v0.3.0 is out now.


sherpa-onnx-alsa Failed to set number of channels to 1 or Failed to set sample rate to 16000

When u are using sherpa-onnx-alsa & encounter issues with using the microphone as input, u can try changing hw:0,0 to plughw:0,0

Note: Please use the arecord -l command to check your sound card devices & replace plughw:0,0 with you own. This command will display a list of available sound card devices

Thanks! We have updated the code and doc to use plughw.


Frequent core dumps

Frequent core dumps
25452 is pid of nginx worker
pidstat -r -p 25452 5
Linux 3.10.0-514.26.2.el7.x86_64 (web-jianmenguan03) 02/22/2019 _x86_64_ (2 CPU)
03:47:56 PM UID PID minflt/s majflt/s VSZ RSS %MEM Command
03:48:01 PM 99 25452 0.60 0.00<PHONE_NUMBER>8 0.86 nginx
03:48:06 PM 99 25452 1.60 0.00<PHONE_NUMBER>8 0.86 nginx
03:48:11 PM 99 25452 1.00 0.00<PHONE_NUMBER>8 0.86 nginx
03:48:16 PM 99 25452 0.40 0.00<PHONE_NUMBER>8 0.86 nginx
03:48:21 PM 99 25452 0.40 0.00<PHONE_NUMBER>8 0.86 nginx
03:48:26 PM 99 25452 0.60 0.00<PHONE_NUMBER>8 0.86 nginx
03:48:31 PM 99 25452 0.40 0.00<PHONE_NUMBER>8 0.86 nginx
03:48:36 PM 99 25452 0.40 0.00<PHONE_NUMBER>8 0.86 nginx
03:48:41 PM 99 25452 0.40 0.00<PHONE_NUMBER>8 0.86 nginx
03:48:46 PM 99 25452 67.80 0.00<PHONE_NUMBER>4 0.90 nginx
03:48:51 PM 99 25452 65.40 0.00<PHONE_NUMBER>2 0.93 nginx
03:48:56 PM 99 25452 71.20 0.00<PHONE_NUMBER>0 0.96 nginx
03:49:01 PM 99 25452 63.20 0.00<PHONE_NUMBER>4 1.00 nginx
03:49:06 PM 99 25452 43.80 0.00<PHONE_NUMBER>6 1.02 nginx
03:49:11 PM 99 25452 38.40 0.00<PHONE_NUMBER>6 1.04 nginx
03:49:16 PM 99 25452 58.00 0.00<PHONE_NUMBER>6 1.07 nginx
...
then 25452 was killed

open core file with openresty-gdb-utils
There are many function was found

lj_str_new
gc_sweep
lj_alloc_free
...

use valgrind testing openrest/nginx
valgrind-out.txt
==32488== 352 bytes in 2 blocks are possibly lost in loss record 784 of 859
==32488==    at 0x4C29BC3: malloc (vg_replace_malloc.c:299)
==32488==    by 0x5D9E17: CRYPTO_malloc (in /usr/local/openresty/nginx/sbin/nginx)
==32488==    by 0x6101BD: lh_new (in /usr/local/openresty/nginx/sbin/nginx)
==32488==    by 0x5AA3B8: SSL_CTX_new (in /usr/local/openresty/nginx/sbin/nginx)
==32488==    by 0x47B2B9: ngx_ssl_create (ngx_event_openssl.c:235)
==32488==    by 0x5095FD: ngx_http_lua_set_ssl (ngx_http_lua_module.c:1222)
==32488==    by 0x5095FD: ngx_http_lua_merge_loc_conf (ngx_http_lua_module.c:1166)
==32488==    by 0x4814F2: ngx_http_merge_locations (ngx_http.c:652)
==32488==    by 0x4822E2: ngx_http_merge_servers (ngx_http.c:609)
==32488==    by 0x4822E2: ngx_http_block (ngx_http.c:269)
==32488==    by 0x4666E2: ngx_conf_handler (ngx_conf_file.c:463)
==32488==    by 0x4666E2: ngx_conf_parse (ngx_conf_file.c:319)
==32488==    by 0x463E58: ngx_init_cycle (ngx_cycle.c:275)
==32488==    by 0x452282: main (nginx.c:293)

Additional Details & Logs

Kong version  -  0.14.1
Kong error logs  -  no available logs
Kong configuration - Defaule config with PostgreSQL config
Operating system - Contos7

Please post the Kong config file as well as a core dump itself. Are you using the CentOS rpm provided for Kong on Bintray, or are you compiling from source?

@p0pr0ck5  github not support file suffix of .cnfig , so renamed with .txt.
kong.conf.txt

@p0pr0ck5  Hi, Robert! Please give me some ideas to solve this problem.

Would be great to have a core dump, can you store it in s3 or somewhere similar?

@jiancaiHub  It's just one of those.
core.23776.zip

@jiancaiHub thank you for the report!
@james-callahan, does this ring any bells with you (I mean that could it be related to that preread socket problem?)

@p0pr0ck5  @bungle   I found this warning from the log.
2019/02/25 12:09:14 [warn] ulimit is currently set to "1024". For better performance set it to at least "4096" using "ulimit -n"

@bungle how's preread relevant on 0.14.1?

@p0pr0ck5, it is C code / patch, it might trigger issues elsewhere too. I certainly can repeat issues sometimes in preread, and I have written tests on it, but it could be triggering issues elsewhere too. What I mean is that we now have a lot of patches in Nginx that may trigger core dumps. Perhpas the question could be rephrased so that if @jiancaiHub runs plain openresty, do he still see the same problem. What I mean is that it could be that 0.14.1 binaries have been build with these: https://github.com/Kong/openresty-patches/tree/master/patches/<IP_ADDRESS> (and one of those can be the source of the issue).

This rather seems like an issue with LuaJIT's memory allocator. I took a look at the core dump, but I'd love to get a more complete one.
@jiancaiHub

What is the architecture you are seeing these core dumps on? uname -a
Please share the output of nginx -V and ldd $(which nginx)
Are there any details we need to be aware of when trying to replicate this issue? Nginx configuration changes, enabled plugins, amount of traffic received by Kong (plain text vs. HTTPs?). The output of kong start --vv may be helpful here.
Would you be willing to compile OpenResty and LuaJIT yourself with some additional debugging options? Those options should suffice: --with-cc-opt="-O0 -g -DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC" --with-no-pool-patch --with-luajit-xcflags="-O0 -g -DLUA_USE_APICHECK -DLUA_USE_ASSERT -DLUAJIT_ENABLE_LUA52COMPAT"
We should also try to compile LuaJIT with the system allocator (--with-luajit-xcflags="-O0 -g -DLUAJIT_USE_SYSMALLOC") and with the GC64 mode: (--with-luajit-xcflags="-O0 -g -DLUAJIT_ENABLE_GC64").
And finally, if you get to reproduce this behavior with the above options, it'd be great to obtain an rr record, and probably the most straightforward way for us to help you track this down :) If not, then we can try to replicate it on our side if we get the information requested above.

Thank you!

@thibaultcha
Thank you very much for your comments.
We recompile out Openresy and Luajit with the above options, but  issue is still reproducible. and how can we obtain an rr record?

3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
nginx version: openresty/<IP_ADDRESS>

dd $(which nginx)
	linux-vdso.so.1 =>  (0x00007ffcefdfb000)
	/usr/local/lib/libsnoopy.so (0x00007f0acffe2000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f0acfdd5000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0acfbb9000)
	libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f0acf982000)
	libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f0acf720000)
	libssl.so.10 => /lib64/libssl.so.10 (0x00007f0acf4ad000)
	libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f0acf04c000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f0acee36000)
	libprofiler.so.0 => /lib64/libprofiler.so.0 (0x00007f0acec21000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f0ace85e000)
	/lib64/ld-linux-x86-64.so.2 (0x0000561b28519000)
	libfreebl3.so => /lib64/libfreebl3.so (0x00007f0ace65b000)
	libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f0ace40d000)
	libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f0ace124000)
	libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f0acdf20000)
	libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f0acdcec000)
	libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f0acd9e5000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f0acd6e3000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f0acd4cc000)
	libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f0acd2bc000)
	libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f0acd0b8000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f0acce9d000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f0accc76000)

 kong start --vv

2019/03/08 15:43:20 [verbose] Kong: 0.14.1
2019/03/08 15:43:20 [debug] ngx_lua: 10013
2019/03/08 15:43:20 [debug] nginx: 1013006
2019/03/08 15:43:20 [debug] Lua: LuaJIT 2.1.0-beta3
2019/03/08 15:43:20 [verbose] reading config file at /etc/kong/kong.conf
2019/03/08 15:43:20 [debug] reading environment variables
2019/03/08 15:43:20 [debug] admin_access_log = "logs/admin_access.log"
2019/03/08 15:43:20 [debug] admin_error_log = "logs/error.log"
2019/03/08 15:43:20 [debug] admin_listen = {"<IP_ADDRESS>:8001","<IP_ADDRESS>:8444 ssl"}
2019/03/08 15:43:20 [debug] anonymous_reports = true
2019/03/08 15:43:20 [debug] cassandra_consistency = "ONE"
2019/03/08 15:43:20 [debug] cassandra_contact_points = {"<IP_ADDRESS>"}
2019/03/08 15:43:20 [debug] cassandra_data_centers = {"dc1:2","dc2:3"}
2019/03/08 15:43:20 [debug] cassandra_keyspace = "kong"
2019/03/08 15:43:20 [debug] cassandra_lb_policy = "RoundRobin"
2019/03/08 15:43:20 [debug] cassandra_port = 9042
2019/03/08 15:43:20 [debug] cassandra_repl_factor = 1
2019/03/08 15:43:20 [debug] cassandra_repl_strategy = "SimpleStrategy"
2019/03/08 15:43:20 [debug] cassandra_schema_consensus_timeout = 10000
2019/03/08 15:43:20 [debug] cassandra_ssl = false
2019/03/08 15:43:20 [debug] cassandra_ssl_verify = false
2019/03/08 15:43:20 [debug] cassandra_timeout = 5000
2019/03/08 15:43:20 [debug] cassandra_username = "kong"
2019/03/08 15:43:20 [debug] client_body_buffer_size = "8k"
2019/03/08 15:43:20 [debug] client_max_body_size = "0"
2019/03/08 15:43:20 [debug] client_ssl = false
2019/03/08 15:43:20 [debug] custom_plugins = {}
2019/03/08 15:43:20 [debug] database = "postgres"
2019/03/08 15:43:20 [debug] db_cache_ttl = 0
2019/03/08 15:43:20 [debug] db_resurrect_ttl = 30
2019/03/08 15:43:20 [debug] db_update_frequency = 5
2019/03/08 15:43:20 [debug] db_update_propagation = 0
2019/03/08 15:43:20 [debug] dns_error_ttl = 1
2019/03/08 15:43:20 [debug] dns_hostsfile = "/etc/hosts"
2019/03/08 15:43:20 [debug] dns_no_sync = false
2019/03/08 15:43:20 [debug] dns_not_found_ttl = 30
2019/03/08 15:43:20 [debug] dns_order = {"LAST","SRV","A","CNAME"}
2019/03/08 15:43:20 [debug] dns_resolver = {}
2019/03/08 15:43:20 [debug] dns_stale_ttl = 4
2019/03/08 15:43:20 [debug] error_default_type = "text/plain"
2019/03/08 15:43:20 [debug] headers = {"server_tokens","latency_tokens"}
2019/03/08 15:43:20 [debug] log_level = "debug"
2019/03/08 15:43:20 [debug] lua_package_cpath = ""
2019/03/08 15:43:20 [debug] lua_package_path = "./?.lua;./?/init.lua;"
2019/03/08 15:43:20 [debug] lua_socket_pool_size = 30
2019/03/08 15:43:20 [debug] lua_ssl_verify_depth = 1
2019/03/08 15:43:20 [debug] mem_cache_size = "128m"
2019/03/08 15:43:20 [debug] nginx_admin_directives = {}
2019/03/08 15:43:20 [debug] nginx_daemon = "on"
2019/03/08 15:43:20 [debug] nginx_http_directives = {}
2019/03/08 15:43:20 [debug] nginx_optimizations = true
2019/03/08 15:43:20 [debug] nginx_proxy_directives = {}
2019/03/08 15:43:20 [debug] nginx_user = "nobody nobody"
2019/03/08 15:43:20 [debug] nginx_worker_processes = "auto"
2019/03/08 15:43:20 [debug] pg_database = "kong"
2019/03/08 15:43:20 [debug] pg_host = "<IP_ADDRESS>"
2019/03/08 15:43:20 [debug] pg_password = "******"
2019/03/08 15:43:20 [debug] pg_port = 5432
2019/03/08 15:43:20 [debug] pg_ssl = false
2019/03/08 15:43:20 [debug] pg_ssl_verify = false
2019/03/08 15:43:20 [debug] pg_user = "kong"
2019/03/08 15:43:20 [debug] plugins = {"bundled","multi-tenant-plugin"}
2019/03/08 15:43:20 [debug] prefix = "/usr/local/kong/"
2019/03/08 15:43:20 [debug] proxy_access_log = "logs/access.log"
2019/03/08 15:43:20 [debug] proxy_error_log = "logs/error.log"
2019/03/08 15:43:20 [debug] proxy_listen = {"<IP_ADDRESS>:8000","<IP_ADDRESS>:8443 ssl"}
2019/03/08 15:43:20 [debug] real_ip_header = "X-Real-IP"
2019/03/08 15:43:20 [debug] real_ip_recursive = "off"
2019/03/08 15:43:20 [debug] ssl_cipher_suite = "modern"
2019/03/08 15:43:20 [debug] ssl_ciphers = "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256"
2019/03/08 15:43:20 [debug] trusted_ips = {}
2019/03/08 15:43:20 [debug] upstream_keepalive = 60
2019/03/08 15:43:20 [verbose] prefix in use: /usr/local/kong
2019/03/08 15:43:20 [verbose] preparing nginx prefix directory at /usr/local/kong
2019/03/08 15:43:20 [verbose] SSL enabled, no custom certificate set: using default certificate
2019/03/08 15:43:20 [verbose] default SSL certificate found at /usr/local/kong/ssl/kong-default.crt
2019/03/08 15:43:20 [verbose] Admin SSL enabled, no custom certificate set: using default certificate
2019/03/08 15:43:20 [verbose] admin SSL certificate found at /usr/local/kong/ssl/admin-kong-default.crt
2019/03/08 15:43:20 [debug] searching for OpenResty 'nginx' executable
2019/03/08 15:43:20 [debug] /usr/local/openresty/nginx/sbin/nginx -v: 'nginx version: openresty/<IP_ADDRESS>'
2019/03/08 15:43:20 [debug] found OpenResty 'nginx' executable at /usr/local/openresty/nginx/sbin/nginx
2019/03/08 15:43:20 [debug] testing nginx configuration: KONG_NGINX_CONF_CHECK=true /usr/local/openresty/nginx/sbin/nginx -t -p /usr/local/kong -c nginx.conf
2019/03/08 15:43:20 [debug] searching for OpenResty 'nginx' executable
2019/03/08 15:43:20 [debug] /usr/local/openresty/nginx/sbin/nginx -v: 'nginx version: openresty/<IP_ADDRESS>'
2019/03/08 15:43:20 [debug] found OpenResty 'nginx' executable at /usr/local/openresty/nginx/sbin/nginx
2019/03/08 15:43:20 [debug] sending signal to pid at: /usr/local/kong/pids/nginx.pid
2019/03/08 15:43:20 [debug] kill -0 `cat /usr/local/kong/pids/nginx.pid` >/dev/null 2>&1
2019/03/08 15:43:20 [debug] starting nginx: /usr/local/openresty/nginx/sbin/nginx -p /usr/local/kong -c nginx.conf
2019/03/08 15:43:20 [debug] nginx started
2019/03/08 15:43:20 [info] Kong started

we find this code will break kong down, Maybe this is the reason！
https://github.com/lilien1010/lua-resty-des/blob/master/resty/des.lua
    local des = require "resty.des"
    --local salt =nil
    local des_default = des:new(key)

    local ok, decrypt = pcall(des_default.decrypt, des_default, s)
    if not ok then
        logger:debug("des解密失败")
        return responses.send_HTTP_UNAUTHORIZED(err, nil, 304011)
    end

We recompile out Openresy and Luajit with the above options, but issue is still reproducible.

Of course, the options are here to obtain a more complete core dump, they won't make the issue disappear. Are you able to provide us with a new core dump (with the above options), especially now that you have a reproducible example? Remember that there are two sets of options (4. and 5.). Thanks!

compile openresty
/path/to/openresty-<IP_ADDRESS>
./configure --with-cc-opt="-O0 -g -DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC" --with-no-pool-patch --with-luajit-xcflags="-O0 -g -DLUA_USE_APICHECK -DLUA_USE_ASSERT -DLUAJIT_ENABLE_LUA52COMPAT" --prefix=/usr/local/nginx
compile Luajit
/path/to/LuaJIT-2.1.0-beta3 and modify src/Makefile

# Enable GC64 mode for x64.
XCFLAGS+= -DLUAJIT_ENABLE_GC64
# Use the system provided memory allocator (realloc) instead of the
# bundled memory allocator.
XCFLAGS+= -DLUAJIT_USE_SYSMALLOC

and new core dump
core.12098.tar.gz

befor
    local des = require "resty.des"
    --local salt =nil
    local des_default = des:new(key)

    local ok, decrypt = pcall(des_default.decrypt, des_default, s)
    if not ok then
        logger:debug("des解密失败")
        return responses.send_HTTP_UNAUTHORIZED(err, nil, 304011)
    end

after
    -- _GLOBAL_DES is  a local table  that be cached ds func.
    local ds = _GLOBAL_DES[key]
    if ds == nil then
        ds = des:new(key)
        _GLOBAL_DES[key] = ds
    end
    local ok, decrypt = pcall(ds.decrypt, ds, decode)
    if not ok then
        local err = "des解密失败"
        logger:debug(err)
        return responses.send_HTTP_UNAUTHORIZED(err, nil, 304011)
    end

Now that  issue is not reproducible.  Guess that there are too many stacks of ffi over the limit.


Mention TSX index file requirement in README

I was stuck getting Storybook working with TypeScript following the steps here. My components weren't showing up in the Storybook index.
Issue:
Following the instructions for integrating Storybook with TypeScript in a project started with the create-react-app script, the components I added in my stories/index were not showing up on the storybook index page.
What I did
Diffed my project with the demo repo, realized that my index file had a different name. Not sure where this requirement comes from, but stories won't show up in the index if it has the name stories/index.tsx, which is the likeliest name the user is going to give this file since the default is stories/index.js.
How to test

Is this testable with Jest or Chromatic screenshots?
No

Does this need a new example in the kitchen sink apps?
No

Does this need an update to the documentation?
No, it is an update to the documentation

I made this change using the web UI, and submitting against the next branch pulled in a ton of other commits. I'm happy to resubmit by cherry-picking onto next, but saw that documentation changes get moved onto master anyway.


how to properly shutdown elm-reactor?

I try cltr + z to shut down elm-reactor, the prompt then becomes available again. But the process is still running and i have to go into htop to send SIGKILL (normal end does not work) before i can restart the server

I think you're asking a general UNIX question -- nothing specific to elm-reactor. ctrl-z sends SIGSTP, which only suspends the process (doesn't kill it), so I think what you're seeing is normal UNIX behaviour.
You might want ctrl-c instead?

Sorry i thought it was specific to the reactor. Thank you.


I want to confirm whether the code supports multi-line recognition？

I want to use this code to do multi-line recognition. The maximum length of multi-line text may be 200 to 400. There are many Chinese characters in the text. After the dataset was completed, it was directly killed when training is started.