multiple modals are not shown properly

when triggering a modal from within a modal the z-index is not properly set on the new modal. this results in the second modal showing below the first and the backdrop covering both.
http://plnkr.co/edit/go9iUrVN7pcbRpOUbv2u?p=preview
Angular: 1.5.8
UIBS: 2.0.0
Bootstrap: 3.3.6

@jessehart, please be respectful of our time by searching both open and closed issues before entering a new one.  Not only was this reported in the last few days but a PR fix was already submitted and accepted.


Override to avoid using smartcase

I like using smartcase for standard searching but am not keen on it for my f (etc.) behaviour, so would like to avoid this. I have ignorecase = false for leap, but I'm still getting the behaviour of ff moving me to the next F.
Is there a way to override this or change this behaviour?
If not, I'm not against submitting a PR to add this functionality if you can point me to where it's occurring in the code and if it's not too complex; I couldn't see it.

I have ignorecase = false for leap

Flit uses Leap's search function (get-match-positions), but feeds it with its own pattern, so Leap's setting is irrelevant here. (The option name is  case_sensitive btw.)
Replace '\\V' with '\\V\\C' here, to force case sensitivity:
https://github.com/ggandor/flit.nvim/blob/be110f9814a45788d10537fd59b3c76d956bb7ad/lua/flit.lua#L52

If not, I'm not against submitting a PR to add this functionality

The problem is not the implementation, but we'd need to decide on the API then. (Just an ignorecase flag? One for forcing smartcase too? An additional one to follow vim.o.ignorecase|smartcase? There are many possible combinations.)

Makes sense. Thanks for pointing me to the right place.
There could be two flags, one for ignorecase and one for smartcase, with true and false values setting the value as an override and nil defaulting to vim.opt values?

@ggandor If you give the thumbs up on this API, I'm happy to look into throwing in a PR. I just want to avoid putting in the effort if you wouldn't be happy with the solution.


ISerializable support for NetStandard 1.3

I've made some changes for ISerializable usage on NetStandard 1.3.
The build script ran successfully: runbuild.txt

Tests updated for NetStandard 1.3
The build script ran successfully: runbuild.txt

Latest build script output: runbuild.txt

I've flatten commits and rebased to latest upstream commits.

@JamesNK I need to improve something to get this PR merged?

I've rebased and reviewed latest changes for NetStandard 1.3 support.

I want to wait until after VS2017 is out and move from project.json to csproj before adding new builds.

I've rebased and fixed some compiler conditions.
@JamesNK The build script is ready and testings are passing. I don't know any other impediment.
This change will not affect future migration to 2017 csproj.

@JamesNK That is your final answer? If so, this pull can be closed.


The check results report should be divided in sections per font

Right now, when reading the markdown report for more than one files it is very hard to tell what font each error or warning is about.

Yes, I agree.
We already have the ability to distringuish that, by looking at the JSON output. Each entry has a "target" attribute that specifies which fontfile, METADATA.pb file or folder the check result refers to.
I can use that info to sort the check results and format the markdown output with the requested sections.

I suggest an efficient way to get the output you want is to mock it up by
taking current output and editing it to be what you would ideally see as
the output. Then Felipe can work on it to match.

The approach suggested by dave would be great!

Something like:
# Fontbakery check results
## Mada-Black.ttf
### Checking OS/2 achVendID
* Warning: OS/2 VendorID is 'BLQ ' but this is not registered with Microsoft. You should register it at https://www.microsoft.com/typography/links/vendorlist.aspx

### substitute copyright, registered and trademark symbols in name table entries
* ERROR: NAMEID #0 contains symbol that should be replaced by '(c)'
* No need to substitute copyright, registered and trademark symbols in name table entries of this font.

### Checking fsSelection REGULAR bit
* ERROR: fsSelection REGULAR bit Changes that must be applied to this font: OS/2 fsSelection from 192 to 128

## Mada-Bold.ttf
### Checking OS/2 achVendID
* Warning: OS/2 VendorID is 'BLQ ' but this is not registered with Microsoft. You should register it at https://www.microsoft.com/typography/links/vendorlist.aspx

### substitute copyright, registered and trademark symbols in name table entries
* ERROR: NAMEID #0 contains symbol that should be replaced by '(c)'
* No need to substitute copyright, registered and trademark symbols in name table entries of this font.

### StyleName recommendation
* ERROR: Mada-Bold.ttf: Warning: Windows-only Opentype-specific StyleName should be set to "Regular".

looks good!

"No need to substitute copyright," is an OK message. I think the markdown report should include only ERROR and INFO messages. The OK messages would clutter the output making it harder to read. What do you think?

Agree about verbose mode for ok messages


Documentation update

This improves the documentation significantly.
(PS: We might want to consider a seperate repository for documentations as downloading this with the project is wasting bandwidth)

What's the theme for these changes? What were you going for here?
This PR also includes edits to the ion setup. Please separate this from the PR (and create a second one for that code as necessary).

https://github.com/MultiAgentLearning/playground/issues/171#issuecomment-435407535 mostly sums it up
It's because I had to squash it with the previous commit. If you'd cross reference the changes with #172 you'd see it's doing the exact same changes. I have no idea as to why it's even showing them in Files Changed.

If they're the same, can you extricate those changes please?

No idea how I can do this ?

I would have to see the git branch closer. Did you rebase in master?
Another possibility is that you just start a new branch from master and then copy in the relevant changes.

Did some black magic and now it's fixed :)

cool, lgtm.


Add the management of a deployment settings file in "import-solution" actions in the GitHub workflows of this repository

Tests in progress but I have an issue in the pack of canvas apps in the "workspace-initialization-when-issue-assigned" GitHub workflow: https://github.com/rpothin/PowerPlatform-ALM-With-GitHub-Template-Demo/runs/5032209560?check_suite_focus=true


Refactor ModuleDefine#initializeOtherContext

Make coder much easier to read.

This is replaced by #547 . So closing this.


Agenda search doesn't work with TODO states

Describe the bug
I'm trying to use the agenda search to find all the WAITING todo items.
Steps to reproduce

Make the temporal directory /tmp/tmp.ITyANcLp6W
Create a file test.org with the next content:

* TODO element 1
* WAITING element 2

Press ga to go to the agenda, then s to do a text search by element and see that both elements show up.
Press ga to go to the agenda , then m to do a Match a TAGS/PROP/TODO query, enter WAITING or waiting
The element 2 doesn't show up

Expected behavior
WAITING elements should show up in the agenda view
Emacs functionality
No response
Minimal init.lua
vim.cmd([[set runtimepath=$VIMRUNTIME]])
vim.cmd([[set packpath=/tmp/nvim/site]])

local package_root = '/tmp/nvim/site/pack'
local install_path = package_root .. '/packer/start/packer.nvim'

local function load_plugins()
  require('packer').startup({
    {
      'wbthomason/packer.nvim',
      { 'nvim-treesitter/nvim-treesitter' },
      { 'kristijanhusak/orgmode.nvim', branch = 'master' },
    },
    config = {
      package_root = package_root,
      compile_path = install_path .. '/plugin/packer_compiled.lua',
    },
  })
end

_G.load_config = function()
  require('orgmode').setup_ts_grammar()
  require('nvim-treesitter.configs').setup({
    highlight = {
      enable = true,
      additional_vim_regex_highlighting = { 'org' },
    },
  })

  vim.cmd([[packadd nvim-treesitter]])
  vim.cmd([[runtime plugin/nvim-treesitter.lua]])
  vim.cmd([[TSUpdateSync org]])

  -- Close packer after install
  if vim.bo.filetype == 'packer' then
    vim.api.nvim_win_close(0, true)
  end

  require('orgmode').setup(
  {
	  org_agenda_files = {'/tmp/tmp.ITyANcLp6W/*'},
  }

  )

  -- Reload current file if it's org file to reload tree-sitter
  if vim.bo.filetype == 'org' then
    vim.cmd([[edit!]])
  end
end

if vim.fn.isdirectory(install_path) == 0 then
  vim.fn.system({ 'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path })
  load_plugins()
  require('packer').sync()
  vim.cmd([[autocmd User PackerCompileDone ++once lua load_config()]])
else
  load_plugins()
  load_config()
end

Screenshots and recordings
No response
OS / Distro
Debian
Neovim version/commit
NVIM v0.8.3
Additional context
Even a text search gas with waiting or WAITING doesn't show the expected elements.

If I'm not mistaken, you shouldn't be able to find element 2 with a \oam search, because you didn't specify that WAITING is a TODO-keyword. And I also find the line with a text search, \oas. If you add org_todo_keywords = { 'TODO', 'WAITING', '|', 'DONE' }, you can find it with /WAITING. The leading slash is required.

My bad pasting the minimal.lua, I indeed had the org_todo_keywords, but I didn't understand well the syntax of the \oam search. Adding the leading slash made this work thanks!
Does this mean that if you want to search by a property you have to use /Title/? I tried that to find the next element but didn't show up anything, maybe I'm doing it wrong again :S
* CD collection
** Classic
*** Goldberg Variations
    :PROPERTIES:
    :Title:     Goldberg Variations
    :Composer:  J.S. Bach
    :Publisher: Deutsche Grammophon
    :NDisks:    1
    :END:

The syntax is PROP_NAME="prop_value. See here. But keep in mind, that we are not feature complete yet and there might be things that are in emacs orgmode and not yet in nvim orgmode. If you find something, feel free to open an issue :+1:


Restyle code blocks

This pull request restyles the code blocks.
Here is how it looks for day and night themes:

Arf my bad, it includes the changes from another pull requests, but if the new style suits you, you can still cherry-pick the last commit

@tipyy Looking great... Do you think HE PR is ready? I can do full review and merge, we can do few days of test on alpha.ecency.com

Yep I think it can be merged.
There is still no actions (like stake/unstake tokens) but I use it on a daily basis


QUIC server requires SNI but Chromium does not provide it.

When using QUIC (over localhost with self-signed certificate) the Caddy server aborts a connection setup with response "SNI required". However this not a required parameter for the QUIC protocol (from what I found, I'm not an expert) and chromium does not send the SNI for certain urls (pure IP and urls without top level domain (eg localhost)).
SNI:

SNI
Server Name Indication (optional): the fully qualified DNS name of the server, canonicalised to lowercase with no trailing period. Internationalized domain names need to be encoded as A-labels defined in RFC 5890. The value of the SNI tag must not be an IP address literal.

Fyi: this was all over localhost, but with an entry in /etc/hosts to have a specific url (which is in the certificate)
Client Hello:

QUIC (Quick UDP Internet Connections)
Public Flags: 0x0d
.... ...1 = Version: Yes
.... ..0. = Reset: No
.... .1.. = Diversification nonce: Yes
.... 1... = CID Length: 8 Bytes
..00 .... = Packet Number Length: 1 Byte (0x0)
.0.. .... = Multipath: No
0... .... = Reserved: 0x0
CID:<PHONE_NUMBER>3100437260
Version: Q035
Packet Number: 1
Message Authentication Hash: 1a57f56c70180a74870cde48
STREAM (Special Frame Type) Stream ID:1, Type: CHLO (Client Hello)
Frame Type: STREAM (Special Frame Type) (0xa0)
1... .... = Stream: True
.0.. .... = FIN: False
..1. .... = Data Length: 2 Bytes
...0 00.. = Offset Length: 0 Byte (0)
.... ..00 = Stream Length: 1 Byte (0)
Stream ID: 1
Data Length: 1300
Tag: CHLO (Client Hello)
Tag Number: 18
Padding: 0000
Tag/value: PAD (Padding) (l=974)
Tag Type: PAD (Padding)
Tag offset end: 974
[Tag length: 974]
Tag/value: 2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d...
Padding: 2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d2d...
Tag/value: VER (Version) (l=4) Q035
Tag Type: VER (Version)
Tag offset end: 978
[Tag length: 4]
Tag/value: 51303335
Version: Q035
Tag/value: CCS (Common Certificate Sets) (l=16)
Tag Type: CCS (Common Certificate Sets)
Tag offset end: 994
[Tag length: 16]
Tag/value: 01e8816092921ae87eed8086a2158291
Common certificate sets: 0x01e8816092921ae8
Common certificate sets: 0x7eed8086a2158291
Tag/value: MSPC (Max streams per connection) (l=4): 100
Tag Type: MSPC (Max streams per connection)
Tag offset end: 998
[Tag length: 4]
Tag/value: 64000000
Max streams per connection: 100
Tag/value: UAID (Client's User Agent ID) (l=74): Built on Ubuntu , running on Ubuntu 17.04 Chrome/58.0.3029.81 Linux x86_64
Tag Type: UAID (Client's User Agent ID)
Tag offset end: 1072
[Tag length: 74]
Tag/value: 4275696c74206f6e205562756e7475202c2072756e6e696e...
Client's User Agent ID: Built on Ubuntu , running on Ubuntu 17.04 Chrome/58.0.3029.81 Linux x86_64
Tag/value: TCID (Connection ID truncation) (l=4)
Tag Type: TCID (Connection ID truncation)
Tag offset end: 1076
[Tag length: 4]
Tag/value: 00000000
Connection ID truncation: 0 (0x00000000)
Tag/value: PDMD (Proof Demand) (l=4): X509
Tag Type: PDMD (Proof Demand)
Tag offset end: 1080
[Tag length: 4]
Tag/value: 58353039
Proof demand: X509
Tag/value: SRBF (Socket receive buffer) (l=4)
Tag Type: SRBF (Socket receive buffer)
Tag offset end: 1084
[Tag length: 4]
Tag/value: 00001000
Socket receive buffer: 1048576 (0x00100000)
Tag/value: SMHL (Unknown) (l=4)
Tag Type: SMHL (Unknown)
Tag offset end: 1088
[Tag length: 4]
Tag/value: 01000000
Unknown tag: 01000000
[Expert Info (Note/Undecoded): Dissector for QUIC Tag SMHL (Unknown) code not implemented, Contact Wireshark developers if you want this supported]
[Dissector for QUIC Tag SMHL (Unknown) code not implemented, Contact Wireshark developers if you want this supported]
[Severity level: Note]
[Group: Undecoded]
Tag/value: ICSL (Idle connection state) (l=4)
Tag Type: ICSL (Idle connection state)
Tag offset end: 1092
[Tag length: 4]
Tag/value: 1e000000
Idle connection state: 30 (0x0000001e)
Tag/value: CTIM (Client Timestamp) (l=8)
Tag Type: CTIM (Client Timestamp)
Tag offset end: 1100
[Tag length: 8]
Tag/value: 002e105900000000
Client Timestamp: Feb  4, 1970 22:34:01.000000000 UTC
Tag/value: NONP (Client Proof Nonce) (l=32)
Tag Type: NONP (Client Proof Nonce)
Tag offset end: 1132
[Tag length: 32]
Tag/value: 2ef90efdd9954e51685c345496b6ae9fb2f8282dca751efb...
Client Proof nonce: 2ef90efdd9954e51685c345496b6ae9fb2f8282dca751efb...
Tag/value: MIDS (Unknown) (l=4)
Tag Type: MIDS (Unknown)
Tag offset end: 1136
[Tag length: 4]
Tag/value: 64000000
Unknown tag: 64000000
[Expert Info (Note/Undecoded): Dissector for QUIC Tag MIDS (Unknown) code not implemented, Contact Wireshark developers if you want this supported]
[Dissector for QUIC Tag MIDS (Unknown) code not implemented, Contact Wireshark developers if you want this supported]
[Severity level: Note]
[Group: Undecoded]
Tag/value: SCLS (Silently close on timeout) (l=4)
Tag Type: SCLS (Silently close on timeout)
Tag offset end: 1140
[Tag length: 4]
Tag/value: 01000000
Silently close on timeout: 1 (0x00000001)
Tag/value: CSCT (Signed cert timestamp (RFC6962) of leaf cert) (l=0)
Tag Type: CSCT (Signed cert timestamp (RFC6962) of leaf cert)
Tag offset end: 1140
[Tag length: 0]
Tag/value:
Signed cert timestamp:
Tag/value: COPT (Connection options) (l=0)
Tag Type: COPT (Connection options)
Tag offset end: 1140
[Tag length: 0]
Tag/value:
Tag/value: CFCW (Initial session/connection) (l=4): 15728640
Tag Type: CFCW (Initial session/connection)
Tag offset end: 1144
[Tag length: 4]
Tag/value: 0000f000
Initial session/connection: 15728640
Tag/value: SFCW (Initial stream flow control) (l=4): 6291456
Tag Type: SFCW (Initial stream flow control)
Tag offset end: 1148
[Tag length: 4]
Tag/value: 00006000
Initial stream flow control: 6291456
PADDING Length: 19
Frame Type: PADDING (0x00)
[Padding Length: 19]
Padding:<PHONE_NUMBER>0000000000000000000000000000

Server Response:

QUIC (Quick UDP Internet Connections)
Public Flags: 0x18
.... ...0 = Version: No
.... ..0. = Reset: No
.... .0.. = Diversification nonce: No
.... 1... = CID Length: 8 Bytes
..01 .... = Packet Number Length: 2 Bytes (0x1)
.0.. .... = Multipath: No
0... .... = Reserved: 0x0
CID:<PHONE_NUMBER>3100437260
Packet Number: 2
Message Authentication Hash: cf989ca6609c04e6212365ee
CONNECTION_CLOSE Error code: A crypto message was received with a mandatory parameter missing
Frame Type: CONNECTION_CLOSE (0x02)
Error code: A crypto message was received with a mandatory parameter missing (35)
Reason phrase Length: 12
Reason phrase: SNI required

Without an SNI, no certificate can be selected. This is the same with the quic_server.

Strictly speaking you are right and QUIC doesn't require SNI right now (though it will in the future when TLS 1.3 is adopted). However, we decided to require SNIs, as that makes some implementation details simpler (and is, as you found out, only an issue for somewhat "artificial" setups). So no, we don't support IPs and "https://localhost".
What confuses me is that you mentioned adding an entry to /etc/hosts. If you do that and it's a normal domain for that your cert is valid, then everything should work. If that's the case, please feel free to reopen this issue :)

Yes, I use /etc/hosts but with a hostname of the form "foo" instead of "foo.bar"
I changed it too the second form (and changes all the certificates) and now it works!
Thanks for the fast responses


Perhaps error in example

https://github.com/riker-rs/riker/blob/7c06e29bb0f717df9ab969501e905c6b4d019716/src/actor/props.rs#L33
Shouldn't it be Box::new(User {})?
And the same problem in README.md

Hi @vchekan thanks for checking. In this case it's not an error. User is a unit struct defined using struct User; without any fields and an instance can be created using just let x = User.


docs: fix v6 documentation

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
docs update
Other information:
ngx-formly: v6

Thank you @FritzHerbers!


Call mobile elements with MELT

Background

MELT helps us find these: https://en.wikipedia.org/wiki/Mobile_genetic_elements
People are usually interested in these ones in particular: https://en.wikipedia.org/wiki/Alu_element
and https://en.wikipedia.org/wiki/LINE1
Download MELT: https://melt.igs.umaryland.edu/downloads.php
MELT documentation: https://melt.igs.umaryland.edu/manual.php

# How MELT works
Whole genome sequencing data is made by sequencing short fragments of DNA, usually somewhere around 400-500 bases in length. You only sequence the ends of the fragments, and you usually sequence both ends, so the reads come in pairs. You align these pairs to the genome. MELT starts from these alignments, collecting all of the pairs that are marked as discordant from the alignment. Discordant pairs are pairs where one read of the pair maps to a different chromosome, or doesn't map or maps really far away from the first read. The idea is that if there if one end of the read is in the genome and the other is in a mobile element, the mobile element one won't map properly, so the pair will be discordant. MELT uses these possible-mobile-element discordard reads as a starting point.
It then has a database of mobile elements which it tries to align the read that was discordant to, keeping track of where in the genome the properly mapping read came from. Then it looks for spots on the genome where many of those reads came from, and infers a mobile element must be at that spot.
Tasks
Does MELT run on their example data?
The documentation section 2.3 has an example dataset you can use to see if it
will run properly along with how to do it. Here we are just asking does this
actually work at all? We will be running it using MELT-SINGLE, see section 7.4
for how that works.
Does MELT run with non-example data?
I recommend using this whole genome trio
as an example dataset because it is very well studied, everyone sequences NA12878 when they are
testing things. The other datasets will help us see if works on non-NA12878 data and when we look at the
results, if they over-tuned their algorithm for it. It happens more than you might thinkg.
If you set up and run through the trio, at the end you will have BAM files you can use with MELT.
## does MELT give reasonable results?
This is the validation part we do before adding a tool to bcbio. NA12878 has MEI
calls done by the 1000 genomes project, for example
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5796560/ mentions it. If we can
track these down then we can use these to validate the calls from MELT.
pull a validation set

wrap up MELT in bcbio
Once we know MELT works and and that it gives reasonable results, we can add it to bcbio. This will
have a bunch of sub tasks associated with it, but not worth it to write them out until we know
if it actually works or not.
Writeup the validation of MELT
We already did the validation above, so then we need to write it out and add it
to the documenation and to the bcbio-validations repository.

I pinged the authors to see if we could get the crazy draconian "you can't install this on a shared cluster without everyone individually signing the license" restriction removed. But I'm thinking it is not going to happen. https://github.com/GeneDx/scramble has a commerical only-license, but its the CC commercial-only license so it isn't as bad AFAIK. We might have to switch to that to do mobile element calling.

Do any of you all have experience with running mobile element callers and have some recommendations? The gnomAD-SV project used MELT but it is looking like we aren't going to be able to add support for it. SCRAMBLE has a non-commerical license, which isn't ideal but we could at least work with that.

Hi Folks,
I was pinged by @roryk on the MELT help website. I agree that the license is very draconian and outdated and was written prior to the recent increase in the use of cloud compute. I have personally tried to get the license changed to a CC-variant to enable cloud compute use-cases but have been rebuked each time. I have contacted the senior author who ultimately controls the license on your behalf but it might be worthwhile reaching out yourselves to try and pressure.


ERROR  Makefile:123  OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target

I have a up to date WIN 10 system with
VM Player 12 running on an INTEL 4 CORE CPU N3520
With both iso of ubuntu 12 and mint 18 I got that sam ERROR 123 while installing torch 7 ....
First I thougt it was a torch problem and in the torch readme was nothing to be found about 123 error
Then I found a reference here in the issues with a solution using the version 0.2.9.rc2
But that regards a mac pro problem and I have windows 10 and Intel CPU.
Tested it on 2 machines with both ISO Files.
How can I set that CPU Target to what value?
Thanks a lot

N3520 appears to belong to the "Bay Trail" core series of "ATOM" type CPU, so please try building with "make TARGET=ATOM".
If you could post the output of "cat /proc/cpuinfo" from your VM (or at least the "cpu family" and "model" numbers from it) the relevant data could be added to the cpu detection code of the OpenBLAS build system. (Though with a VM it is also possible that the virtual machine does not receive all cpu features of the actual hardware, which might mislead the build system even if it "knows" that type of cpu already)

sorry, had a problem cause first I thought that "cat/proc/cpuinfo" would mean a path I could not find but than I copied the string and while inserting I recogniced the "SPACE" and that this is a COMMAND
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 55
model name	: Intel(R) Pentium(R) CPU  N3520  @ 2.16GHz
stepping	: 3
microcode	: 0x320
cpu MHz		: 2166.663
cache size	: 1024 KB
physical id	: 0
siblings	: 1
core id		: 0
cpu cores	: 1
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer rdrand hypervisor lahf_lm 3dnowprefetch epb tsc_adjust smep dtherm ida arat
bugs		:
bogomips	: 4333.32
clflush size	: 64
cache_alignment	: 64
address sizes	: 42 bits physical, 48 bits virtual
power management:
Sorry, but I am completly "Linux" blind / newbie and I just can imagine that your
"make TARGET=ATOM"
should be a parameter , but I am just aware of what I have to do to install torch7 by this
git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
./install.sh
I think the error occured by the last step so it might be necessary to change the last script / batchfile  install.sh

Here is what I found in the torch install.sh regarding openblas
if [[ uname == 'Linux' ]]; then
export CMAKE_LIBRARY_PATH=/opt/OpenBLAS/include:/opt/OpenBLAS/lib:$CMAKE_LI$
fi

NO, it happened earlier while executing
bash install-deps
`#!/usr/bin/env bash
set -e
######################################################################
This script installs required dependencies for Torch7
######################################################################
{
install_openblas() {
# Get and build OpenBlas (Torch is much better with a decent Blas)
cd /tmp/
rm -rf OpenBLAS
git clone https://github.com/xianyi/OpenBLAS.git
cd OpenBLAS
if [ $(getconf _NPROCESSORS_ONLN) == 1 ]; then
make NO_AFFINITY=1 USE_OPENMP=0 USE_THREAD=0
else
make NO_AFFINITY=1 USE_OPENMP=1
fi
RET=$?;
if [ $RET -ne 0 ]; then
echo "Error. OpenBLAS could not be compiled";
exit $RET;
fi
sudo make install
RET=$?;
if [ $RET -ne 0 ]; then
echo "Error. OpenBLAS could not be installed";
exit $RET;
fi
}
install_openblas_AUR() {
# build and install an OpenBLAS package for Archlinux
cd /tmp &&
curl https://aur.archlinux.org/cgit/aur.git/snapshot/openblas-lapack.tar.gz | tar zxf - &&
cd openblas-lapack
makepkg -csi --noconfirm
RET=$?;
if [ $RET -ne 0 ]; then
echo "Error. OpenBLAS could not be installed";
exit $RET;
fi
}
checkupdates_archlinux() {
# checks if archlinux is up to date
if [[ -n $(checkupdates) ]]; then
echo "It seems that your system is not up to date."
echo "It is recommended to update your system before going any further."
read -p "Continue installation ? [y/N] " yn
case $yn in
Y|y ) echo "Continuing...";;
* ) echo "Installation aborted."
echo "Relaunch this script after updating your system with 'pacman -Syu'."
exit 0
esac
fi
}
Based on Platform:
if [[ uname == 'Darwin' ]]; then
# GCC?
if [[ which gcc == '' ]]; then
echo "MacOS doesn't come with GCC: please install XCode and the command line tools."
exit 1
fi
# Install Homebrew (pkg manager):
if [[ `which brew` == '' ]]; then
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi

# Install dependencies:
brew update
brew install git readline cmake wget qt
brew install libjpeg imagemagick zeromq graphicsmagick openssl
brew link readline --force
brew cask install xquartz
brew list -1 | grep -q "^gnuplot\$" && brew remove gnuplot
brew install gnuplot --with-wxmac --with-cairo --with-pdflib-lite --with-x11 --without-lua

elif [[ "$(uname)" == 'Linux' ]]; then
if [[ -r /etc/os-release ]]; then
    # this will get the required information without dirtying any env state
    DIST_VERS="$( ( . /etc/os-release &>/dev/null
                    echo "$ID $VERSION_ID") )"
    DISTRO="${DIST_VERS%% *}" # get our distro name
    VERSION="${DIST_VERS##* }" # get our version number
elif [[ -r /etc/redhat-release ]]; then
    DIST_VERS=( $( cat /etc/redhat-release ) ) # make the file an array
    DISTRO="${DIST_VERS[0],,}" # get the first element and get lcase
    VERSION="${DIST_VERS[2]}" # get the third element (version)
elif [[ -r /etc/lsb-release ]]; then
    DIST_VERS="$( ( . /etc/lsb-release &>/dev/null
                    echo "${DISTRIB_ID,,} $DISTRIB_RELEASE") )"
    DISTRO="${DIST_VERS%% *}" # get our distro name
    VERSION="${DIST_VERS##* }" # get our version number
else # well, I'm out of ideas for now
    echo '==> Failed to determine distro and version.'
    exit 1
fi

# Detect fedora
if [[ "$DISTRO" = "fedora" ]]; then
    distribution="fedora"
    fedora_major_version="$VERSION"
# Detect archlinux
elif [[ "$DISTRO" = "arch" ]]; then
    distribution="archlinux"
# Detect Ubuntu
elif [[ "$DISTRO" = "ubuntu" ]]; then
    export DEBIAN_FRONTEND=noninteractive
    distribution="ubuntu"
    ubuntu_major_version="${VERSION%%.*}"
# Detect elementary OS
elif [[ "$DISTRO" = "elementary" ]]; then
    export DEBIAN_FRONTEND=noninteractive
    distribution="elementary"
    elementary_version="${VERSION%.*}"
# Detect CentOS
elif [[ "$DISTRO" = "centos" ]]; then
    distribution="centos"
    centos_major_version="$VERSION"
# Detect AWS
elif [[ "$DISTRO" = "amzn" ]]; then
    distribution="amzn"
    amzn_major_version="$VERSION"
elif [[ "$DISTRO" == "raspbian" ]]; then
    distribution="raspbian"
    debian_major_version="$VERSION"
else
    echo '==> Only Ubuntu, elementary OS, Fedora, Archlinux and CentOS distributions are supported.'
    exit 1
fi

# Install dependencies for Torch:
if [[ $distribution == 'ubuntu' ]]; then
    if sudo apt-get update ; then
        echo "Updated successfully."
    else
        echo "Some portion of the update is failed"
    fi
    # python-software-properties is required for apt-add-repository
    sudo apt-get install -y python-software-properties
    echo "==> Found Ubuntu version ${ubuntu_major_version}.xx"
    if [[ $ubuntu_major_version -lt '12' ]]; then
        echo '==> Ubuntu version not supported.'
        exit 1
    elif [[ $ubuntu_major_version -lt '14' ]]; then # 12.xx
        sudo -E add-apt-repository -y ppa:chris-lea/zeromq
    elif [[ $ubuntu_major_version -lt '15' ]]; then # 14.xx
    sudo -E apt-get install -y software-properties-common
        sudo -E add-apt-repository -y ppa:jtaylor/ipython
    else
        sudo apt-get install -y software-properties-common \
            libgraphicsmagick1-dev libfftw3-dev sox libsox-dev \
            libsox-fmt-all
    fi

    if sudo apt-get update ; then
        echo "Updated successfully."
    else
        echo "Some portion of the update is failed"
    fi
    sudo apt-get install -y build-essential gcc g++ curl \
        cmake libreadline-dev git-core libqt4-dev libjpeg-dev \
        libpng-dev ncurses-dev imagemagick libzmq3-dev gfortran \
        unzip gnuplot gnuplot-x11 ipython

    gcc_major_version=$(gcc --version | grep ^gcc | awk '{print $4}' | \
                        cut -c 1)
    if [[ $gcc_major_version == '5' ]]; then
        echo '==> Found GCC 5, installing GCC 4.9.'
        sudo apt-get install -y gcc-4.9 libgfortran-4.9-dev g++-4.9
    fi

    if [[ $ubuntu_major_version -lt '15' ]]; then
        sudo apt-get install libqt4-core libqt4-gui
    fi

    install_openblas || true

elif [[ $distribution == 'raspbian' ]]; then
    echo "==> Found Raspbian version ${debian_major_version}.xx"
    if sudo apt-get update ; then
        echo "Updated successfully."
    else
        echo "Some portion of the update is failed"
    fi
    sudo apt-get install -y build-essential gcc g++ curl \
        cmake libreadline-dev git-core libqt4-dev libjpeg-dev \
        libpng-dev ncurses-dev imagemagick libzmq3-dev gfortran \
        unzip gnuplot gnuplot-x11 ipython

    install_openblas || true

elif [[ $distribution == 'elementary' ]]; then
    declare -a target_pkgs
    target_pkgs=( build-essential gcc g++ curl \
                  cmake libreadline-dev git-core libqt4-core libqt4-gui \
                  libqt4-dev libjpeg-dev libpng-dev ncurses-dev \
                  imagemagick libzmq3-dev gfortran unzip gnuplot \
                  gnuplot-x11 ipython )
    if sudo apt-get update ; then
        echo "Updated successfully."
    else
        echo "Some portion of the update is failed"
    fi
    # python-software-properties is required for apt-add-repository
    sudo apt-get install -y python-software-properties
    if [[ $elementary_version == '0.3' ]]; then
        echo '==> Found Ubuntu version 14.xx based elementary installation, installing dependencies'
        sudo apt-get install -y software-properties-common \
            libgraphicsmagick1-dev libfftw3-dev sox libsox-dev \
            libsox-fmt-all

        sudo -E add-apt-repository -y ppa:jtaylor/ipython
    else
        sudo -E add-apt-repository -y ppa:chris-lea/zeromq
    fi
    if sudo apt-get update ; then
        echo "Updated successfully."
    else
        echo "Some portion of the update is failed"
    fi
    sudo apt-get install -y "${target_pkgs[@]}"

    install_openblas || true

elif [[ $distribution == 'archlinux' ]]; then
    echo "Archlinux installation"
    checkupdates_archlinux
    sudo pacman -S --quiet --noconfirm --needed \
        cmake curl readline ncurses git \
        gnuplot unzip libjpeg-turbo libpng libpng \
        imagemagick graphicsmagick fftw sox zeromq \
        ipython qt4 qtwebkit || exit 1
    pacman -Sl multilib &>/dev/null
    if [[ $? -ne 0 ]]; then
        gcc_package="gcc"
    else
        gcc_package="gcc-multilib"
    fi
    sudo pacman -S --quiet --noconfirm --needed \
        ${gcc_package} gcc-fortran || exit 1
    # if openblas is not installed yet
    pacman -Qs openblas &> /dev/null
    if [[ $? -ne 0 ]]; then
        install_openblas_AUR || true
    else
        echo "OpenBLAS is already installed"
    fi

elif [[ $distribution == 'fedora' ]]; then
    if [[ $fedora_major_version == '20' ]]; then
        sudo yum install -y cmake curl readline-devel ncurses-devel \
                            gcc-c++ gcc-gfortran git gnuplot unzip \
                            libjpeg-turbo-devel libpng-devel \
                            ImageMagick GraphicsMagick-devel fftw-devel \
                            sox-devel sox zeromq3-devel \
                            qt-devel qtwebkit-devel sox-plugins-freeworld \
                            ipython
        install_openblas || true
    elif [[ $fedora_major_version == '22' ||  $fedora_major_version == '23' ]]; then
        #using dnf - since yum has been deprecated
        #sox-plugins-freeworld is not yet available in repos for F22
        sudo dnf install -y make cmake curl readline-devel ncurses-devel \
                            gcc-c++ gcc-gfortran git gnuplot unzip \
                            libjpeg-turbo-devel libpng-devel \
                            ImageMagick GraphicsMagick-devel fftw-devel \
                            sox-devel sox qt-devel qtwebkit-devel \
                            python-ipython czmq czmq-devel
        install_openblas || true
    elif [[ $fedora_major_version == '24' ]]; then
        sudo dnf install -y make cmake curl readline-devel ncurses-devel \
                            gcc-c++ gcc-gfortran git gnuplot unzip \
                            libjpeg-turbo-devel libpng-devel \
                            ImageMagick GraphicsMagick-devel fftw-devel \
                            sox-devel sox qt-devel qtwebkit-devel \
                            python-ipython czmq czmq-devel
        install_openblas || true
    else
        echo "Only Fedora 20-24 are supported for now, aborting."
        exit 1
    fi
elif [[ $distribution == 'centos' ]]; then
    if [[ $centos_major_version == '7' ]]; then
        sudo yum install -y epel-release # a lot of things live in EPEL
        sudo yum install -y make cmake curl readline-devel ncurses-devel \
                            gcc-c++ gcc-gfortran git gnuplot unzip \
                            libjpeg-turbo-devel libpng-devel \
                            ImageMagick GraphicsMagick-devel fftw-devel \
                            sox-devel sox zeromq3-devel \
                            qt-devel qtwebkit-devel sox-plugins-freeworld
        sudo yum install -y python-ipython
        install_openblas || true
    else
        echo "Only CentOS 7 is supported for now, aborting."
        exit 1
    fi
elif [[ $distribution == 'amzn' ]]; then
    sudo yum install -y cmake curl readline-devel ncurses-devel \
                        gcc-c++ gcc-gfortran git gnuplot unzip \
                        libjpeg-turbo-devel libpng-devel \
                        ImageMagick GraphicsMagick-devel fftw-devel \
                        libgfortran python27-pip git openssl-devel

    #
    # These libraries are missing from amzn linux
    # sox-devel sox sox-plugins-freeworld qt-devel qtwebkit-devel
    #

    sudo yum --enablerepo=epel install -y zeromq3-devel
    sudo pip install ipython

    install_openblas || true
fi

elif [[ "$(uname)" == 'FreeBSD' ]]; then
pkg install ImageMagick cmake curl fftw3 git gnuplot libjpeg-turbo
libzmq3 ncurses openblas openssl png py27-ipython
py27-pip qt4-corelib qt4-gui readline unzip
else
# Unsupported
echo '==> platform not supported, aborting'
exit 1
fi
ipython_exists=$(command -v ipython) || true
if [[ $ipython_exists ]]; then {
ipython_version=$(ipython --version|cut -f1 -d'.')
if [[ $ipython_version -lt 2 ]]; then {
echo 'WARNING: Your ipython version is too old.  Type "ipython --version" to see this.  Should be at least version 2'
} fi
} fi
Done.
echo "==> Torch7's dependencies have been installed"
}`
And here is the echo of that script and the way to that error
Reading package lists... Done                                                   Updated successfully. Reading package lists... Done Building dependency tree        Reading state information... Done Note, selecting 'libpng12-dev' instead of 'libpng-dev' Note, selecting 'libncurses5-dev' instead of 'ncurses-dev' build-essential is already the newest version. cmake is already the newest version. g++ is already the newest version. gcc is already the newest version. gfortran is already the newest version. libjpeg-dev is already the newest version. libncurses5-dev is already the newest version. libreadline-dev is already the newest version. gnuplot is already the newest version. gnuplot-x11 is already the newest version. libzmq3-dev is already the newest version. curl is already the newest version. git-core is already the newest version. imagemagick is already the newest version. libpng12-dev is already the newest version. libqt4-dev is already the newest version. unzip is already the newest version. ipython is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree        Reading state information... Done libqt4-core is already the newest version. libqt4-gui is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Cloning into 'OpenBLAS'... remote: Counting objects: 22940, done. remote: Compressing objects: 100% (14/14), done. remote: Total 22940 (delta 3), reused 0 (delta 0), pack-reused 22926 Receiving objects: 100% (22940/22940), 17.78 MiB | 58.00 KiB/s, done. Resolving deltas: 100% (16841/16841), done. Checking connectivity... done. Checking out files: 100% (8249/8249), done. getarch_2nd.c: In function ‘main’: getarch_2nd.c:12:35: error: ‘SGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)      printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M);                                    ^ getarch_2nd.c:12:35: note: each undeclared identifier is reported only once for each function it appears in getarch_2nd.c:13:35: error: ‘SGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)      printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N);                                    ^ getarch_2nd.c:14:35: error: ‘DGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)      printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M);                                    ^ getarch_2nd.c:15:35: error: ‘DGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)      printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N);                                    ^ getarch_2nd.c:19:35: error: ‘CGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)      printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M);                                    ^ getarch_2nd.c:20:35: error: ‘CGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)      printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N);                                    ^ getarch_2nd.c:21:35: error: ‘ZGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)      printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M);                                    ^ getarch_2nd.c:22:35: error: ‘ZGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)      printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N);                                    ^ getarch_2nd.c:69:50: error: ‘SGEMM_DEFAULT_Q’ undeclared (first use in this function)      printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 *  sizeof(float)));                                                   ^ getarch_2nd.c:70:50: error: ‘DGEMM_DEFAULT_Q’ undeclared (first use in this function)      printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 *  sizeof(double)));                                                   ^ getarch_2nd.c:71:50: error: ‘CGEMM_DEFAULT_Q’ undeclared (first use in this function)      printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 *  sizeof(float)));                                                   ^ getarch_2nd.c:72:50: error: ‘ZGEMM_DEFAULT_Q’ undeclared (first use in this function)      printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 *  sizeof(double)));                                                   ^ make: *** [getarch_2nd] Error 1 Makefile:123: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail..  Stop. Error. OpenBLAS could not be compiled
Hope that will help to find where I have to insert / change what.
Thanks a lot
WOLF

Alright then, try adding the "TARGET=ATOM" to the end of the line
make NO_AFFINITY=1 USE_OPENMP=1
in the install_openblas() function (top of first script you posted) and rerun the whole thing...

Hey,
I edited the install-deps
here in the last line
install_openblas() {
    # Get and build OpenBlas (Torch is much better with a decent Blas)
    cd /tmp/
    rm -rf OpenBLAS
    git clone https://github.com/xianyi/OpenBLAS.git
    cd OpenBLAS
    if [ $(getconf _NPROCESSORS_ONLN) == 1 ]; then
        make NO_AFFINITY=1 USE_OPENMP=0 USE_THREAD=0
    else
#       make NO_AFFINITY=1 USE_OPENMP=1
        make NO_AFFINITY=1 USE_OPENMP=1 "TARGET=ATOM"

I still got the same error

Yes, sorry for that - no quotation marks around the TARGET=ATOM

Sorry, even with no quoatation marks I still got the same error

In that function there is question for processors = 1
So I was wondering why I have to put that "Arguments" not into the first option
cause I remembered that the ubuntu settings in my VM Player were 1
So I looked there again under  Menu
#1 PLAYER
#2 MANAGE
#3 VIRTUAL MACHINE SETTINGS
There I found
MEMORY: 2 GB
PROCESSORS: 1
.......
If I click on processor then I get more information like
Number of cores 1
I did not change anything here - it's just the ubuntu iso image I downloaded.
If TARGET=ATOM shall work in my environment doesn't the TARGET=ATOM in the 2 line here for processors = 1 ?
    if [ $(getconf _NPROCESSORS_ONLN) == 1 ]; then
        make NO_AFFINITY=1 USE_OPENMP=0 USE_THREAD=0 TARGET=ATOM
    else
#       make NO_AFFINITY=1 USE_OPENMP=1
        make NO_AFFINITY=1 USE_OPENMP=1 TARGET=ATOM

Shall I try that?
I don't want to mix things and codes... while dicussing

Now the system is still running but I see a lot of messages I did not see before.
Seems to be that the script is using the first line ...
Maybe I have to move the TARGET=ATOM in the line ?

I canceled the previous run .
during the  next run I canceled while crossing the former "error barrier"
Reading package lists... Done
Updated successfully.
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-software-properties is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
==> Found Ubuntu version 14.xx
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
gpg: keyring `/tmp/tmpq48vptms/secring.gpg' created
gpg: keyring `/tmp/tmpq48vptms/pubring.gpg' created
gpg: requesting key 58B80F90 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpq48vptms/trustdb.gpg: trustdb created
gpg: key 58B80F90: public key "Launchpad PPA for Julian Taylor" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

Right now it is running again and I will let it run through .... and see what happens

Yep. Did not really think through about the implications of the VM, i.e. that you might have just one core assigned to it, and only edited what I wrote earlier instead of creating a new message so you probably did not see it in time. Think it will run to completion now that you found out yourself what needed to be changed. (I'll see if I get around to creating a patch to recognize intel cpu code 55 - 37 in hexadecimal meaning extended model 3, model 7 - similar to  https://github.com/xianyi/OpenBLAS/commit/52eba814ce5a9847b7e9db4a64239fd79ba5bffd )

I got tons of lines on the screens - some warnings ... it is running and running
BUT: Is it really only a question of cores that if
if [ $(getconf _NPROCESSORS_ONLN) == 1 ]; then
Then I will change my ubuntu settings from 1 core to 2 cores and see what will happen - maybe / hopefully without all these warnings

The tons of lines of output are harmless - OpenBLAS is quite a big library and this is mostly just the normal feedback from compiling each of the many source files. You may get an occasional warning about some unused local variable, and towards the end of the build process it will also build and run some automated tests to check its accuracy, but as long as it does not terminate with an error message everything should be alright.

Hey,
finally I stopped the 1 processor virtual ubuntu machine and started a new run as 2 processor machine
That is still running ...
The vm player ubuntu system settings regarding processor always means CORES.
After I changed the core to 2 the VM Player displays now 2 PROCESSORS.
Let's wait and see ... at least much better than the last 2 or 3 days regarding progress and feelings.

DID IT
but what does this mean - appeared shortly before the end
  Library Name     ... libopenblas_atom-r0.2.20.dev.a (Single threaded)
To install the library, you can run "make PREFIX=/path/to/your/installation install".

Seems the build went through correctly (the "make install" step is a few lines below the one we edited and will probably not have generated any output except perhaps asking for the system password), but the script still recognized only a single core. Depending on what torch and/or that siggraph code does, a single-threaded openblas may actually be all you need.
If you want to try a multithreaded version for comparison, you could edit that "if" block so that it has the USE_OPENMP=1 USE_THREAD=1 in both cases.


fix(vue-shape): remove deprecated Vue from import

Description

Direct import markRaw, Fragment and Teleport from vue-demi
Motivation and Context
fix #4096

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Enhancement (changes that improvement of current feature or performance)
[ ] Refactoring (changes that neither fixes a bug nor adds a feature)
[ ] Test Case (changes that add missing tests or correct existing tests)
[ ] Code style optimization (changes that do not affect the meaning of the code)
[ ] Docs (changes that only update documentation)
[ ] Chore (changes that don't modify src or test files)

Self Check before Merge

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@NewByVector @kingyue737  可以发布新版本吗？

@XeniaLu  you can use patch-package or https://pnpm.io/cli/patch if you use pnpm to manually apply this fix before the maintainer has time to release it.


[BUG] optional extensions for shapefiles are disappeared in supported format page

Bug Description
because these extensions are now commented in the below code
https://github.com/UNDP-Data/geohub/blob/develop/sites/geohub/src/lib/config/AppConfig/AcceptedExtensions.ts#L34-L55
@Thuhaa Please fix them
Bug Reproduction

Bug Impact
No response
Bug Screenshots
No response
Bug References
No response
Bug System Information

OS: [e.g. Windows 10]
Browser: [e.g. Google Chrome, Firefox]

┆Issue is synchronized with this Wrike task by Unito

@Thuhaa Please also fix the issue of file geodatabase which was mentioned in the below PR
https://github.com/UNDP-Data/geohub/pull/2300


Clouds are not centered

Using render distance of 32, one cloud layer with an offset of 400 and scale 1.5
On a side note: Idk if its possible, but it would be great if we could have a higher cloud render distance than the chunk render distance. I like to have clouds pretty far up but they get cut off so I barely see them

On a side note: Idk if its possible, but it would be great if we could have a higher cloud render distance than the chunk render distance. I like to have clouds pretty far up but they get cut off so I barely see them

You are literally reading my mind! +1 to this feature as this is so annoying in vanilla.


Remove counter

errcount.com seems to be down, and the script blocks the page load.

By the way, is there anything I need to do to update the site? None of the changes since 3be8a16d0 seem to be live on gitready.com.

Ah, I see -- very cool!

Most likely all of the subdomains will need that script removed.

Sure. I cherry-picked the commit onto all branches (minus de and pt-br, they had it removed already), and pushed and published.
Eventually, it's perhaps easiest to judiciously overwrite non-content stuff on all the i18n branches (like layouts etc.) to get them back in sync. Or something.

I can hook up gaug.es for this and invite you (and anyone else who's curious) this weekend.

That sounds awesome!
Out of curiosity, is there a reason you prefer Gauges over GA (besides it being developed by awesome people)? I tried it a while back and while it wasn't bad, I didn't see anything that might've compelled me to switch.


BUG - Search box overlaps Guided Answers title on reducing width

Related Feature
Feature request: https://github.com/SAP/guided-answers-extension/issues/89
Description
Search box overlaps on SAP Guided Answers on reducing width
Steps to Reproduce
Steps to reproduce the behavior:

Launch Guided Answers
In Home Screen, reduce the width of extension window
You will notice that Search box overlaps on the Guided Answers (See Snapshot)

Expected results
its responsive and adjust to new screen size gracefully
Actual results
Search box overlaps
Screenshots

Version/Components/Environment
GA Version: 0.3.0
https://github.com/SAP/guided-answers-extension/releases/download/sap-guided-answers-extension%400.3.0/sap-guided-answers-extension-0.3.0.vsix
OS:

[X] Mac OS
[ ] Windows
[ ] Other

Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we don’t want to see this type of issues anymore what we should do to prevent}

Hi @sanat-thukral Can you please look into this?

So this is what should happen. We can let the search box come 20px close to the Guided Answers logo, and below that it drops into the new row. I'm not sure at which viewport size this happens, since we have search box defined in %, but we can test it a bit and figure out the cut off point.


Django hosting

Please does anyone know, how I can host my django project???

Hey @PeaceOloruntoba there are multiple ways to host django projects:
Shared Hosting:
Heroko
AWS
Azure
Google cloudl and much ways Juest search on ther internet for more details


Uno.Material NuGet is not available at Nuget package manager.

On which page?
https://github.com/unoplatform/Uno.Material
What's wrong?
Getting Started=>Step 1. Install the NuGet package, Uno.Material - This NuGet is not available at Nuget package manager. https://www.nuget.org/packages?q=Uno.Material
Any feedback?
Please publish Uno.Material NuGet, It is difficult to maintain using DLL.

@avikeid2007 You are correct the readme is misleading, we'll fix this.
We haven't reached a point for a v1.0, we're still in early development phase. But if you want to try it out and even contribute feel free to use our dev nuget feed.
https://pkgs.dev.azure.com/uno-platform/1dd81cbd-cb35-41de-a570-b0df3571a196/_packaging/unoplatformdev/nuget/v3/index.json


Adjusted guild role getter table, added 204 error to more functions

Adjusted the GetGuildRoleList function to put the role names and ids into a key value table so that each role name and role id is listed under the keys "name" and "id". This allows for easier looping of these values.
Added the and member.code ~= 204 to the AddRole and RemoveRole functions to eliminate Ok- No Content error code returns on these

Why did you close it? @GrandpaRex -- I don't think this would speed up the code though. A dictionary type of table seems to be faster than looping through and looking for a value

I've got to adjust a few functions to reflect the changes. I noticed the issue last night when I was testing will resubmit it when I've made the changes

I've got to adjust a few functions to reflect the changes. I noticed the issue last night when I was testing will resubmit it when I've made the changes

I would also prove out that your changes actually are quicker. In my experience, looping through a table for a value is much more inefficient than having a key-value pair in a table. Thanks for trying to improve the codebase though :)

Gotcha, I haven't thought about speedo more it was easier to loop a search of id key against value. It could be my inexperience in coding but I will run benchmarks on both


Added TC that add/remove disk/nic to running VM, added VM, VMI models

Implemented following test cases:
https://polarion.engineering.redhat.com/polarion/redirect/project/CNV/workitem?id=CNV-1502
https://polarion.engineering.redhat.com/polarion/redirect/project/CNV/workitem?id=CNV-1501
Added models for VM and VM with required functionality to add/remove resources and navigate between tabs.
There is a caveat though, which is checking the YAML manifest - I haven't found a way to obtain the whole manifest file from UI. From the yaml tab page, it is only possible to get content that is visible, as it is dynamically generated when scrolling.
For checking disk on VMI instance, I have used the overview page and for checking NIC I have used the yaml page as nics are located at the top and therefore visible.
But other ideas are welcome, maybe it would be better to use oc command to query the yaml.

@rhrazdil LGTM, could you please run the PR in your test job to see if it's PASS.

https://cnv-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/test-ocp-3.11-cnv-1.4-integration-web-ui-rhrazdil/124/console


[TEVA-4506] add reminder page for publishers with incomplete profiles

https://dfedigital.atlassian.net/browse/TEVA-4506
banners have already been added in another task

@alexbowen I can't see the interstitial for trust or school users
Testing as a school user:

Sign in as Bexleyheath
Taken to active jobs page - Missing the interstitial page
In school profile can see missing fields

Testing as a trust user

Sign in and taken to the active jobs page
Incomplete organisation profile

@alexbowen This looks good now
Signing in as a trust, this is no longer shown when all fields are completed 👍

Signing in as a school, this is no longer shown when all fields are completed 👍


Check and Init commands fails - SmartFileSystem & LoadedCheckersGuard is NULL

Hi! I tried to install and run ECS, via the composer require symplify/easy-coding-standard --dev command, and the first time something is soo wrong with a check and init commands.
Enviromnent
PHP 7.4
Docker
ECS: "symplify/easy-coding-standard": "9.3.27"
OS: MacOS
ecs.php file:
<?php

use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Symplify\EasyCodingStandard\ValueObject\Set\SetList;

return static function (ContainerConfigurator $containerConfigurator): void {
    $containerConfigurator->import(SetList::PSR_12);
};

Problem

The vendor/bin/ecs init command fails and gives the stack trace below on the line:

$rectorConfigFiles = $this->smartFileSystem->exists(\getcwd() . '/ecs.php');

PHP Fatal error:  Uncaught Error: Call to a member function exists() on null in /app/vendor/symplify/easy-coding-standard/src/Console/Command/InitCommand.php:21
Stack trace:
#0 /app/vendor/symplify/easy-coding-standard/vendor/symfony/console/Command/Command.php(262): Symplify\EasyCodingStandard\Console\Command\InitCommand->execute()
#1 /app/vendor/symplify/easy-coding-standard/vendor/symfony/console/Application.php(834): ECSPrefix20210626\Symfony\Component\Console\Command\Command->run()
#2 /app/vendor/symplify/easy-coding-standard/vendor/symfony/console/Application.php(255): ECSPrefix20210626\Symfony\Component\Console\Application->doRunCommand()
#3 /app/vendor/symplify/easy-coding-standard/src/Console/EasyCodingStandardConsoleApplication.php(48): ECSPrefix20210626\Symfony\Component\Console\Application->doRun()
#4 /app/vendor/symplify/easy-coding-standard/vendor/symfony/console/Application.php(153): Symplify\EasyCodingStandard\Console\EasyCodingStandardConsoleApplication->doRun()
#5 /app/vendor/symplify/easy-coding-standard/bin in /app/vendor/symplify/easy-coding-standard/src/Console/Command/InitCommand.php on line 21

The vendor/bin/ecs check command fails and gives the stack trace below on the line:

if (!$this->loadedCheckersGuard->areSomeCheckersRegistered()) {

PHP Fatal error:  Uncaught Error: Call to a member function areSomeCheckersRegistered() on null in /app/vendor/symplify/easy-coding-standard/src/Console/Command/CheckCommand.php:31
Stack trace:
#0 /app/vendor/symplify/easy-coding-standard/vendor/symfony/console/Command/Command.php(262): Symplify\EasyCodingStandard\Console\Command\CheckCommand->execute()
#1 /app/vendor/symplify/easy-coding-standard/vendor/symfony/console/Application.php(834): ECSPrefix20210626\Symfony\Component\Console\Command\Command->run()
#2 /app/vendor/symplify/easy-coding-standard/vendor/symfony/console/Application.php(255): ECSPrefix20210626\Symfony\Component\Console\Application->doRunCommand()
#3 /app/vendor/symplify/easy-coding-standard/src/Console/EasyCodingStandardConsoleApplication.php(48): ECSPrefix20210626\Symfony\Component\Console\Application->doRun()
#4 /app/vendor/symplify/easy-coding-standard/vendor/symfony/console/Application.php(153): Symplify\EasyCodingStandard\Console\EasyCodingStandardConsoleApplication->doRun()
#5 /app/vendor/symplify/eas in /app/vendor/symplify/easy-coding-standard/src/Console/Command/CheckCommand.php on line 31

Seems like it cannot init properly:

Symplify\SmartFileSystem\SmartFileSystem
Symplify\EasyCodingStandard\Guard\LoadedCheckersGuard

Hi, thanks for report. This looks very weird.
I have a few question to narrow the issue:

How does previous version behave?
How does it behave outside Docker?
How does it behave on completelyl new empty project?

@TomasVotruba Hi

I tried the 9.2 version and got the error:

Class 'Symplify\SymplifyKernel\Console\AbstractSymplifyConsoleApplication' not found

I will also try to use other versions. like minor changes.. 9.3.26 etc

No matter what. Outside or inside Docker the result is the same.

It is a new project. Generated Symfony 5.3 skeleton and then I installed ECS

Soo, I tried the 9.3.26 version, and then it works fine. I should have tested it earlier. So there might be some problem in 9.3.27 version.

I've just tried 9.3.27 and it works on my machine.

I would try to remove cache dir, on Linux it's /tmp/easy_coding_standard_*

Could you create reproducible repository on Github?

Well, now I got the same issue on the Travis pipeline. Completely another project.
There are logs.
log.txt

Logs are hard to debug. We'll need a reproducible repository to be able to fix it

ecs-bug.zip
There you go! There is a full project with var and vendor that triggers the error. With steps what I did in README.

@Ferror Thanks! Sending zips back and forth proven to be stresful way to debug open-source project.
The repository must be on Github, so we see CI failing and then passing. Otherwise we might fix something that passes for us locally, but still fails for you. Like the one above.

In the meantime @WesleyKlop found a solution in https://github.com/symplify/symplify/issues/3355#issuecomment-869640777
Closing as duplicate of https://github.com/symplify/symplify/issues/3355


initial makefile automation

for https://github.com/oligo/gioview/issues/3
just to get things going

Hi, I saw there's a target building the examples. I don't think it's necessary to do this, as Gioview is just a GUI lib, it should just release source code. The example bins seems useless for others. Would you please remove it from the build workflow?

sure will remove :)

I will delete it all as psr email
regarding nats I will do it in a different repo as we spoke about in email
the intent is for there to be a provider pattern so a guivirw user can pick different providers .

ok everything is not delete :)


How create owner for a Task?

I'm using the 2007 exchange server.
It's possible to create Owner by webservices for a Task?
And how display to task ?
Thanks

EWS sets the owner of the task to the request user. If the user you're using for authentication has impersonation privileges, you could impersonate the user that you want to make the owner. If you don't have impersonation privileges a quick google search presented some possible options: http://www.infinitec.de/post/2009/03/19/Setting-the-Task-owner-on-new-items-using-Exchange-WebServices.aspx, http://stackoverflow.com/questions/3209030/creating-tasks-for-other-users-using-exchange-web-services-ews-managed-api. I don't have access to a system where I could test either of these methods, but you may be able to get them to work yourself.
You can get an existing task by using either a FindItem or GetItem operation.


Allow multiple instances on a page

because ID "search" is hardcoded, only 1 search box per page will attach.
The underlying pagefind library allows one to specify the id, so that multiple searches are available on the page.
This would be useful in the situations where a search bar in a global header gives truncated results, while a dedicated search page handles longer queries (which itself would have the global header available).

Hi @bcullman, thanks for bringing this use case.
ID attribute is in fact overridable.
However, you're right that multiple differently configured search boxes are currently not supported due to this component passing a hardcoded data selector to the underlying library.
I will see if I can make it work once I have some time. Feel free to submit a PR for it as well.

Fixed in https://github.com/shishkin/astro-pagefind/commit/48edc2ac4e927b207e68ac898d40933727378ec6 and available in v1.1.0. Please let me know if it works for you.


Can't find TdApi$AuthenticationCodeTypeFirebaseAndroid

Hi.
I have problem with my tdlib initialization using Java 17 and linux ubuntu 18
Steps to reproduce:

cloning td.git
building /td dir inside my project
compiling and generating TdApi.java
starting app > invoke LoadLibrary("tdjni")
then my error:

FATAL ERROR in native method: Can't find class [com/company/tdlib/TdApi$AuthenticationCodeTypeFirebaseAndroid]
I even didn't found this class in my TdApi.java, why is native library requests this Class
I assume that this may be a problem with maven, which could somehow cache the previous assembly on the old one tdjni compile stage

yeah looks like the problem was with maven


build script failed

Hi, im trying to use your build script as recommended here https://github.com/micro-manager/micro-manager/issues/573 but it looks like it's failing during compilation. I also tried installing using ubuntu dependency for boost but that failed also.  I'm on 18.04.  Do you have any suggestions? Thanks!
here is the last part:
MMClearVolume.compile:
    [mkdir] Created dir: /home/couguser/Applications/mm_scripts/micro-manager/plugins/build/MMClearVolume
 [mm-javac] Compiling 14 source files to /home/couguser/Applications/mm_scripts/micro-manager/plugins/build/MMClearVolume
 [mm-javac] warning: [options] bootstrap class path not set in conjunction with -source 8
 [mm-javac] warning: Supported source version 'RELEASE_6' from annotation processor 'com.jogamp.gluegen.structgen.CStructAnnotationProcessor' less than -source '8'
 [mm-javac] warning: No processor claimed any of these annotations: org.scijava.plugin.Plugin,com.google.common.eventbus.Subscribe
 [mm-javac] /home/couguser/Applications/mm_scripts/micro-manager/plugins/MMClearVolumePlugin/src/main/java/edu/ucsf/valelab/mmclearvolumeplugin/CVViewer.java:24: error: package com.jogamp.newt.awt does not exist
 [mm-javac] import com.jogamp.newt.awt.NewtCanvasAWT;
 [mm-javac]                           ^
 [mm-javac] /home/couguser/Applications/mm_scripts/micro-manager/plugins/MMClearVolumePlugin/src/main/java/edu/ucsf/valelab/mmclearvolumeplugin/CVViewer.java:28: error: package com.jogamp.newt does not exist
 [mm-javac] import com.jogamp.newt.NewtFactory;
 [mm-javac]                       ^
 [mm-javac] /home/couguser/Applications/mm_scripts/micro-manager/plugins/MMClearVolumePlugin/src/main/java/edu/ucsf/valelab/mmclearvolumeplugin/recorder/CVVideoRecorder.java:5: error: package com.jogamp.opengl does not exist
 [mm-javac] import com.jogamp.opengl.GL;
 [mm-javac]                         ^
 [mm-javac] /home/couguser/Applications/mm_scripts/micro-manager/plugins/MMClearVolumePlugin/src/main/java/edu/ucsf/valelab/mmclearvolumeplugin/recorder/CVVideoRecorder.java:6: error: package com.jogamp.opengl does not exist
 [mm-javac] import com.jogamp.opengl.GLAutoDrawable;
 [mm-javac]                         ^
 [mm-javac] /home/couguser/Applications/mm_scripts/micro-manager/plugins/MMClearVolumePlugin/src/main/java/edu/ucsf/valelab/mmclearvolumeplugin/recorder/CVVideoRecorder.java:23: error: cannot find symbol
 [mm-javac]    public boolean screenshot(GLAutoDrawable pGLAutoDrawable,
 [mm-javac]                              ^
 [mm-javac]   symbol:   class GLAutoDrawable
 [mm-javac]   location: class CVVideoRecorder
 [mm-javac] /home/couguser/Applications/mm_scripts/micro-manager/plugins/MMClearVolumePlugin/src/main/java/edu/ucsf/valelab/mmclearvolumeplugin/recorder/CVSnapshot.java:5: error: package com.jogamp.opengl does not exist
 [mm-javac] import com.jogamp.opengl.GL;
 [mm-javac]                         ^
 [mm-javac] /home/couguser/Applications/mm_scripts/micro-manager/plugins/MMClearVolumePlugin/src/main/java/edu/ucsf/valelab/mmclearvolumeplugin/recorder/CVSnapshot.java:25: error: cannot find symbol
 [mm-javac]    public boolean screenshot(GLAutoDrawable pGLAutoDrawable,
 [mm-javac]                              ^
 [mm-javac]   symbol:   class GLAutoDrawable
 [mm-javac]   location: class CVSnapshot
 [mm-javac] 7 errors
 [mm-javac] 3 warnings

BUILD FAILED
/home/couguser/Applications/mm_scripts/micro-manager/plugins/build.xml:23: The following error occurred while executing this line:
/home/couguser/Applications/mm_scripts/micro-manager/plugins/build.xml:7: The following error occurred while executing this line:
/home/couguser/Applications/mm_scripts/micro-manager/buildscripts/javabuild.xml:112: Compile failed; see the compiler error output for details.

Total time: 11 seconds
Makefile:579: recipe for target 'plugins.stamp' failed
make[1]: *** [plugins.stamp] Error 1
make[1]: Leaving directory '/home/couguser/Applications/mm_scripts/micro-manager/plugins'
Makefile:521: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

see github.com/CougPhenomics/mm_scripts for resolution


Remove raise Exception(..)

Many of these should be AstNotImplementedError.
raise() related ones could possibly be merged into a helper, and if it is absolutely only catching coding errors, a new exception type might be more appropriate, e.g. AstInvalidBuiltinInvocation.  But IMO we shouldnt be detecting bad code except in very limited scenarios (e.g. ctypes integer bounds we are doing, but mypy rejects those anyway per https://github.com/adsharma/py2many/issues/359 ).  If we're detecting bad code, we need to somehow create that bad code in order to test that part of the code, and such bad code  cant be run on Python to demo that the test case is valid, and that seems like lots of brittle busy-work.
❯ GIT_PAGER=cat git grep -n --after-context=1 'raise.*Exception'
py2many/clike.py:610:        raise Exception("Unimplemented")
py2many/clike.py-611-
--
py2many/clike.py:613:        raise Exception("Unimplemented")
py2many/clike.py-614-
--
py2many/clike.py:616:        raise Exception("Unimplemented")
py2many/clike.py-617-
--
pydart/plugins.py:105:            raise Exception(
pydart/plugins.py-106-                "encountered range() call with unknown parameters: range({})".format(
--
pygo/plugins.py:103:        raise Exception(
pygo/plugins.py-104-            "encountered range() call with unknown parameters: range({})".format(vargs)
--
pyjl/plugins.py:99:        raise Exception(
pyjl/plugins.py-100-            "encountered range() call with unknown parameters: range({})".format(vargs)
--
pyjl/transpiler.py:177:        raise Exception(
pyjl/transpiler.py-178-            "encountered range() call with unknown parameters: range({})".format(vargs)
--
pykt/plugins.py:101:        raise Exception(
pykt/plugins.py-102-            "encountered range() call with unknown parameters: range({})".format(vargs)
--
pynim/plugins.py:47:        raise Exception(
pynim/plugins.py-48-            "encountered range() call with unknown parameters: range({})".format(vargs)
--
pyrs/plugins.py:84:        raise Exception("read() with more than one argument")
pyrs/plugins.py-85-
--
pyrs/plugins.py:93:        raise Exception("write() with more than one argument")
pyrs/plugins.py-94-
--
pyrs/plugins.py:120:        raise Exception(
pyrs/plugins.py-121-            "encountered range() call with unknown parameters: range({})".format(vargs)

Wrong number of arguments for builtins:
>>> f.read(1,2,3,4,5,6)
TypeError: read expected at most 1 argument, got 6

Unknown parameters:
>>> f = open("/etc/passwd", foo=2)
TypeError: 'foo' is an invalid keyword argument for open()

Based on this, AstTypeError may be more appropriate for some of these cases.

py2many isnt a Python code bug detector.  We shouldnt have code for invalid Python.  It is unreachable by any half-sane test code.

py2many isnt a Python code bug detector. We shouldnt have code for invalid Python. It is unreachable by any half-sane test code.

py2many is a transpiler. A transpiler is a compiler and it's reasonable to expect that the compiler will produce good error messages. When possible, we should to the error messages python runtime produces:
def read1(a):
    return 42

def read2(a, b, c):
    return 42 + 42

try:
    read2("foo", "bar")
    read = read2
except TypeError:
    read = read1

assert read == read1

This isn't the most important thing from an end user point of view. But I'm sure there is python code out there like this which expects a specific exception and breaks when a different one (AssertionError) is thrown.
Am I correct in understanding that your goal is to advance the self transpilation in languages != dart, since that's the only backend that supports exceptions right now?
Having a larger user base would help us make the right decisions here.

 So the code in the example above is not supported. So we don't have to transpile the code to rust and expect the same behavior.

I'm assuming that this is not a v0.3 blocker.

This is not a v0.3 blocker.

But I'm sure there is python code out there like this which expects a specific exception and breaks when a different one (AssertionError) is thrown.

This is completely irrelevant, and only demonstrates precisely why we should not throw errors at all.  The code you have given is run-able on Python, and produces fallbacks.  By putting those constraints into the compiler, the compilation fails, and no output exists.  No fallback occurs.  Replicating a Python runtime exception as a static analysis error prevents the transpiler from being able to replicate Python behaviour.
If you wanted to keep these, instead of raising an exception during transpilation, we'd need to transpile to code that include these checks and produces exceptions at runtime, so that they can be caught at runtime, and for that to be useful then we'd first need to implement exception support in all the languages.  That seems very silly in these cases, as the input code is invalid Python 3 code.
Wrt c_intX, the Python behaviour of ignoring the size of the int is Python behaviour you've decided to not replicate, and there is a definite feature in static checking them.
My goal wrt the removal of these range/read/write exceptions is to not have dead code.  self-transpilation is irrelevant here.  py2many still has quite a bit of junk copy&paste code which was never correct, and not tested.

My goal wrt the removal of these range/read/write exceptions is to not have dead code.

Thank you that's helpful.
- if 0 < len(node.args) < 4: raise AstTypeError("range() with unexpected arguments")
+ assert 0 < len(node.args) < 4, "range() call with unexpected arguments"

They both raise exceptions (AssertionError vs AstTypeError). I'm not sure that the dead code situation is any different.
I like tracking code coverage metrics. But replacing a raise with an assert improves the metric, without changing the fundamentals - i.e. code quality didn't improve for this narrow case, even if code coverage metrics did, because people typically put raise on a different line.
I think we're saying the same thing in not having to support dynamic dispatch. We will stick with static dispatch.
My preference for raise vs assert comes from having finer control over which exception is raised. You're right that this exception isn't propagated to user code at runtime. It's likely a matter of transpiler internals - to suppress a particular class of errors or catching it and having a fallback transpilation strategy etc.
If you accept that raise and assert do the same thing, but raise provides more flexibility - the next question becomes what exception do you raise. I like the strategy you've laid out in py2many/exceptions.py. Inherit from AstErrorBase and a well known python exception for the given error condition. I was merely pointing out that the next python programmer looking at this code might naturally expect TypeError. We could also do a more specific: IncorrectNumberOfArguments. My suggestion was to take inspiration from python runtime on what exception to raise, but deviate when it helps to be more specific.

- if 0 < len(node.args) < 4: raise AstTypeError("range() with unexpected arguments")
+ assert 0 < len(node.args) < 4, "range() call with unexpected arguments"

The assert always executed being at the first line of the function, except when __debug__ is disabled but that is irrelevant to this.  It has no body; only a string which is statically checked.  It has test coverage.
The body of the if is never executed.  It is dead code.  It may only be a raise, but there still can be errors in that raise statement that go unnoticed, and there is little chance it will be maintained properly over time as it has no test coverage.  The only way to make it active code is to start writing tests for unrunnable Python code.
If these bits of dead code are allowed, more of the same will enter the codebase with the same goal of being a linter, and preventing parsing of legitimate Python code.  py2many should limit itself to exceptions during transpilation where pyflakes or mypy determines there is an error.  If those projects dont accept a kind of static analysis error detection, we shouldnt.  Anything else is biting off more than py2many can feasibly chew.
I would prefer that the assert wasnt included either, as it also breaks parsing of valid Python, but that can be revisited when the Rust transpiler has implemented Python exceptions.  The assert approach is at least not contributing the the dead code, which I hope to drive to zero(0) in the next release cycle.

It has no body; only a string which is statically checked. It has test coverage.

This is a great example of metrics not improving quality. The two lines do the same thing, one is more flexible and yet our metrics tell a different story.
My concern is that by focusing our energy on the metrics, we drop the ball on a more direct user facing metric - the number of real world programs that are correctly transpiled by py2many and produce the same output as the python source.
I do agree that we should pay attention to the metrics, make sure that they're improved over time.
Re: test coverage of these exceptions, which are really compiler diagnostic error messages
Here's what rust seems to be doing: https://github.com/dtolnay/trybuild
I don't expect us to be able to maintain such a test suite in the near future, not because the approach is brittle, but because we have limited developer cycles and there are probably more pressing things to do.
For the PR attached, I'm ok with rearranging the code to improve code coverage. But I'm not convinced that replacing exceptions with asserts has an end user benefit or code quality benefit.

I would prefer that the assert wasnt included either, as it also breaks parsing of valid Python

I think this is a separate orthogonal topic. We could certainly have a mode where we are more generous in accepting the input, even when we know the generated code will fail.


Ports error log

Hi
I'm installing a few Ports that I know require extra files. like Doom2, TombRaider1, etc.
In all of them the error log reports "Failed to create secure directory (/run/user/1000//pulse): ..."
is this a symptom of missing files and will be fixed automatically, or is a different issue?
Thanks

Portmaster port issues should be reported to the portmaster group.  I have no idea what those issues could be.  Their Discord link is https://discord.gg/JxYBp9HTAY


Correct data types for connection counts

fixes https://github.com/moby/ipvs/issues/25

These values are emitted as 32 bit unsigned integers from the kernel. See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/netfilter/ipvs/ip_vs_ctl.c#n2999 and https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/netfilter/ipvs/ip_vs_ctl.c#n3317.

/cc @dims

@thaJeztah @ns-jtenberge cut a v1.0.2 tag


removed k2 reference and added link to helmConfigs

fixes https://github.com/samsung-cnct/chart-logging/issues/6


Only void and foreign elements can be self closed "ng-datepicker"

I don't know why.. nothing works!!! so frustrating...
On the screen it says:

ERROR in [at-loader] ./node_modules/ng2-datepicker/src/ng-datepicker/ng-datepicker.component.ts:186:31
TS2345: Argument of type 'Date | undefined' is not assignable to parameter of type 'Date | DatepickerOptions'.
Type 'undefined' is not assignable to type 'Date | DatepickerOptions'.

On the console it says:

Only void and foreign elements can be self closed "ng-datepicker"

I use it as follows:
 <ng-datepicker [(ngModel)]="lastvisited" />
lastvisited is a date variable:
@Input() lastvisited: Date;

The example on the home page of the repo says:
Example
  <ng-datepicker [(ngModel)]="date" />
Which is not correct

Is there any resolution to this issue? I am getting the same issue as mentioned at the top. I use Angular 4.

Angular does not allow self-closing for components selectors in default namespace for an unknown reason. But if you change namespace then it works. try this
<ns:ng-datepicker [(ngModel)]="date" />
where ns is the name of the custom/foreign namespace.


content.text should never be null

Agent always sends request.content.text and response.content.text. They should be omitted if text doesn't exist.

no, this is wrong. current behaviour is correct.

As discussed with Ahmad previously, this is how it works:

If replays on the agent/proxy are enabled, there must be a Content object.
If there is a Content object, the text field must be set.
In case of an empty body, the text field will contain an empty string.

There is never any null. ever. ever. ever.
ever.

Just discussed with Ahmad. Null means the agent failed to process the body.

I don't understand how it could fail to base64-encode a string in the first place, but ok. It just seems like a hack to me.


Node - Add prependText and appendText methods

As title. This would add text at the start position and end position respectively.

These methods are too general and it's too complicated to come up with a solution that would work well for multiple situations.  It would be better to add specific methods for specific actions. My main motivation for adding this was for prepending or appending whitespace so I'm going to add those methods instead (ex. preprendWhitespace/appendWhitespace)


Test account and branch names in cross-repo CI in PR.

Empty commit for testing purposes. Close now.


fix(deps): update astro for Node 18.18 compatibility

Fixes https://github.com/stackblitz/tutorialkit/issues/157

Astro v4.12.0 includes fix for #157. https://github.com/withastro/astro/releases/tag/astro%404.12.0

From TutorialKit's side we'll need to publish new release so that lockfiles of template are updated. Currently the lockfiles have boxen@8 there<EMAIL_ADDRESS>


[fix] [broker] Make LeastResourceUsageWithWeight thread safe

fix #20160
Motivation
LeastResourceUsageWithWeight is an stateful object and current code will be accessed by multithread.
thread 1: is execute https://github.com/apache/pulsar/blob/2b41e4eafb1cba0e548dd90df60e8cdbb24cd490/pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/extensions/strategy/LeastResourceUsageWithWeight.java#L89-L91
and thread 2: is execute https://github.com/apache/pulsar/blob/2b41e4eafb1cba0e548dd90df60e8cdbb24cd490/pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/extensions/strategy/LeastResourceUsageWithWeight.java#L147-L150
so an IndexOutOfBound occurs.
Modifications
change the state to ThreadLocal
Verifying this change
Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

@heesung-sn @Demogorgon314 can you take a look ? thank you ：- ）


Pixi tab completion should include runnable tasks under pixi run <tab>

Problem description
Good tab completion is an important part of both productivity and discoverabillity in task-runners.  The fact that we can't tab complete on runnable tasks makes this a harder sell on migrating over from just.
Unfortunately this doesn't come for free out of clap (yet... https://github.com/clap-rs/clap/issues/1232).
I took a look at how just handles this and it looks like a mixture of clap completions with some hand-crafted patches.
See:

https://github.com/casey/just/blob/b31be27f2da63684c75e7dad7e89461ebba78944/src/completions.rs#L169
https://github.com/casey/just/blob/b31be27f2da63684c75e7dad7e89461ebba78944/src/subcommand.rs#L303

This same approach seems plausible (though somewhat annoying) to map to pixi.

Related to #372


[5.1] [PropertyWrappers] Fix a bug with property type being overwritten with wrong type

Cherry pick of #27226.
Explanation:
In some cases, we were incorrectly setting the type of the property wrapper's value. For example:
@propertyWrapper
struct Foo<T> {
  init(wrappedValue: T) {}
  var wrappedValue: T {
    fatalError()
  }
}

struct Bar {
  @Foo var property: Int = nil // we are overwriting the type of 'property' to 'Int?'
}

Scope: Property wrappers
Issue: SR-10900, SR-11381 & SR-11443 | rdar://problem/55229986
Testing: Swift CI
Risk: Low. We were incorrectly rewriting the type of a property when the types didn't match, instead of rejecting it.
Reviewed by: @DougGregor

@swift-ci please test

@swift-ci please test source compatibility

Build failed
Swift Test OS X Platform
Git Sha - 1eebe58dc9005d27d48c487307fffe3018bc824d

Build failed
Swift Test Linux Platform
Git Sha - 1eebe58dc9005d27d48c487307fffe3018bc824d

@swift-ci please test

@swift-ci please test source compatibility

Build failed
Swift Test Linux Platform
Git Sha - 1eebe58dc9005d27d48c487307fffe3018bc824d

Build failed
Swift Test OS X Platform
Git Sha - 1eebe58dc9005d27d48c487307fffe3018bc824d

@swift-ci please nominate


Force user to insert device at first login

@leonardojoao Please add a prefix in the commit message indicating which component you changed (ui)


Frustum Culling Tools

LÖVR should give you the tools you need to do frustum culling (without actually trying to do it for you).
This is an interesting problem for VR because there are two cameras and each one has a frustum.  Some magic math will need to be used to combine the two frusta into a single one.  That combined frustum can be exposed by lovr.headset.  I'm not sure what format is best to represent a frustum: mat4?  6 planes?  How are planes represented?
From there, there's probably something in lovr.math like mat4:contains or lovr.math.testFrustum that is able to test things against frusta.  You could use your own or the one returned from lovr.headset.
When doing the actual tests, need to think about:

What sorts of shapes can you test?  Points, spheres, AABBs, OBBs?
Does it return In/Out or In/Out/Intersects?  The latter can be used to optimize certain spatial hashes.

i've got more around somewhere, but here's the aabb-frustum test i use in my games https://github.com/excessive/ludum-dare-43/blob/master/src/math/Intersect.hx#L41

lovr.graphics.frustum to render a frustum?  Mostly for debugging probably.

lovr.graphics can just frustum cull primitives internally because it knows the camera and knows the AABBs of its primitives (can also use AABBs of Models/Meshes when they are provided).  It needs to be configurable in case you have a weird vertex shader.  Not sure if culling each primitive individually as it's about to be drawn isn't too slow/awful compared to something more fancy.
But also the new physics stuff will also have some kind of Frustum object in case you want to do custom tests/culling/clustering.  Headset still ought to expose getFrustum that returns data for one of these objects.


Allow specifying content for new files via url query params

I'd like to create a bookmarklet or Chrome extensions to make 1-click publishing for Jekyll blogs easy. If I could just point a request to prose.io/#{account}/{repo}/new/master/_posts?content={content}&metadata={metadata} , this would be awesome. Digging around, I'm not sure it's even possible without support in app, as it would require injecting code that interfaces with CodeMirror.
Thoughts?

Since #437 was close as wontfix, recommending to close this issue too


Error when build

go build -v -x tor.go

go version 1.20.5 / Linux
# github.com/ipsn/go-libtor/libtor
In file included from ../go/pkg/mod/github.com/ipsn/go-libtor@v1.0.380/libtor/../libevent/compat/../evutil_rand.c:134,
                 from ../go/pkg/mod/github.com/ipsn/go-libtor@v1.0.380/libtor/libevent_evutil_rand.go:8:
../go/pkg/mod/github.com/ipsn/go-libtor@v1.0.380/libtor/../libevent/compat/.././arc4random.c:467:1: error: static declaration of ‘arc4random_buf’ follows non-static declaration
  467 | arc4random_buf(void *buf_, size_t n)
      | ^~~~~~~~~~~~~~
In file included from ../go/pkg/mod/github.com/ipsn/go-libtor@v1.0.380/libtor/../libevent/compat/../util-internal.h:37,
                 from ../go/pkg/mod/github.com/ipsn/go-libtor@v1.0.380/libtor/../libevent/compat/../evutil_rand.c:40:
/usr/include/stdlib.h:542:13: note: previous declaration of ‘arc4random_buf’ with type ‘void(void *, size_t)’ {aka ‘void(void *, long unsigned int)’}
  542 | extern void arc4random_buf (void *__buf, size_t __size)

same

any fixs?

Edit the file with arc4random_buf() this will be in the go-libtor/libevent/arc4random.c file.
Just rename arc4random_buf to arc4random_buf_old
This shall fix it.